@ckeditor/ckeditor5-comments 47.2.0-alpha.5 → 47.2.0-alpha.6

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 +18 -18
  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
- const _0xec45db=_0x2f0b;(function(_0x212ad4,_0x3a168a){const _0x1a6dac=_0x2f0b,_0x4faa55=_0x212ad4();while(!![]){try{const _0x32e4ee=parseInt(_0x1a6dac(0x141))/0x1*(-parseInt(_0x1a6dac(0x180))/0x2)+parseInt(_0x1a6dac(0x195))/0x3+-parseInt(_0x1a6dac(0x15c))/0x4*(parseInt(_0x1a6dac(0x1cd))/0x5)+parseInt(_0x1a6dac(0x160))/0x6+-parseInt(_0x1a6dac(0x13c))/0x7+parseInt(_0x1a6dac(0x1d1))/0x8+-parseInt(_0x1a6dac(0x17e))/0x9*(-parseInt(_0x1a6dac(0x18d))/0xa);if(_0x32e4ee===_0x3a168a)break;else _0x4faa55['push'](_0x4faa55['shift']());}catch(_0x33aab2){_0x4faa55['push'](_0x4faa55['shift']());}}}(_0x3484,0x73050));import{Plugin as _0x3c22ac}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x583935,scrollViewportToShowTarget as _0x5b2743,uid as _0x2ed2ca}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x804bc1}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x53b2ff}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x10a83e,getAllMarkersDomElementsSorted as _0x57b716,FOCUS_ANNOTATION_KEYSTROKE as _0x2e0f42,Users as _0x4c34b6}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x60d71d}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x252685}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x3b6a80}from'./integrations/importword.js';import{CommentsClipboard as _0x52edbc}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x159d77}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x300f12}from'../annotations/annotations.js';import{getTranslation as _0x54e2de}from'../utils/common-translations.js';function _0x2f0b(_0xb86344,_0x2e2c51){const _0x348404=_0x3484();return _0x2f0b=function(_0x2f0b03,_0x57b0a1){_0x2f0b03=_0x2f0b03-0x134;let _0x5578c6=_0x348404[_0x2f0b03];return _0x5578c6;},_0x2f0b(_0xb86344,_0x2e2c51);}import{splitMarkerName as _0x4b9013}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x3c22ac{static get[_0xec45db(0x1d5)](){return[_0x804bc1,_0x60d71d,_0x4c34b6,_0x252685,_0x3b6a80,_0x52edbc,_0x159d77];}static get[_0xec45db(0x17a)](){const _0x2f4acc=_0xec45db;return _0x2f4acc(0x1b6);}static get[_0xec45db(0x182)](){return!0x0;}static get[_0xec45db(0x19f)](){return!0x0;}constructor(_0x31ccd3){const _0x50bfad=_0xec45db;super(_0x31ccd3),this[_0x50bfad(0x14b)](_0x50bfad(0x19e),!0x0),_0x31ccd3[_0x50bfad(0x1c8)][_0x50bfad(0x143)](_0x50bfad(0x1b1),()=>this[_0x50bfad(0x19e)]=!0x1),this[_0x50bfad(0x14b)](_0x50bfad(0x176),null),this['on'](_0x50bfad(0x1ad),(_0xea7d07,_0x5b7f0f,_0x2f9c69,_0x114680)=>{const _0x2bb3ff=_0x50bfad,_0xe1dcc7=_0x31ccd3[_0x2bb3ff(0x173)][_0x2bb3ff(0x15a)](_0x804bc1),_0x13f9ff=_0x2f9c69?_0x4b9013(_0x2f9c69)['id']:null;_0x31ccd3[_0x2bb3ff(0x1ac)][_0x2bb3ff(0x16b)](()=>{const _0x3d96e4=_0x2bb3ff;if(_0x13f9ff){const _0x5f3816=this[_0x3d96e4(0x158)](_0x13f9ff);for(const _0x6191c8 of _0x5f3816)_0x31ccd3[_0x3d96e4(0x138)][_0x3d96e4(0x1bf)](_0x6191c8);}if(_0x114680){const {id:_0x3dfdd6}=_0x4b9013(_0x114680),_0x20554c=_0xe1dcc7[_0x3d96e4(0x19d)](_0x3dfdd6);if(_0x20554c&&_0x20554c[_0x3d96e4(0x136)])return;if(_0x20554c&&!_0x20554c[_0x3d96e4(0x1bb)])return;const _0x5a5d08=this[_0x3d96e4(0x158)](_0x3dfdd6);for(const _0x34aaae of _0x5a5d08)_0x31ccd3[_0x3d96e4(0x138)][_0x3d96e4(0x1bf)](_0x34aaae);}}),_0x13f9ff&&this[_0x2bb3ff(0x1ab)](_0x13f9ff);}),this[_0x50bfad(0x177)]();}[_0xec45db(0x181)](){const _0x356c1f=_0xec45db,_0x6b017a=this[_0x356c1f(0x199)],_0x535d96=_0x6b017a[_0x356c1f(0x173)][_0x356c1f(0x15a)](_0x804bc1),_0xf95597=_0x6b017a[_0x356c1f(0x164)][_0x356c1f(0x15a)](_0x356c1f(0x14f)),_0x988596=_0x535d96[_0x356c1f(0x1bc)]()[_0x356c1f(0x155)](_0x1d3a41=>_0x1d3a41[_0x356c1f(0x17c)]!==_0xf95597);_0x6b017a[_0x356c1f(0x1b4)][_0x356c1f(0x13e)](_0x356c1f(0x1a8),new _0x53b2ff(_0x6b017a)),this[_0x356c1f(0x191)](_0x6b017a,_0x356c1f(0x156),(_0x16e40e,_0xf4e773,_0x539afe)=>{const _0x50c52a=_0x356c1f;_0x535d96[_0x50c52a(0x1d7)](_0x539afe,_0x6b017a[_0x50c52a(0x164)][_0x50c52a(0x15a)](_0x50c52a(0x14f)));}),this[_0x356c1f(0x191)](_0x535d96,dt(_0x356c1f(0x1a8),_0xf95597),(_0x4a809e,{threadId:_0x6b1318})=>{const _0x47e554=_0x356c1f,_0x41636d=this[_0x47e554(0x199)][_0x47e554(0x173)][_0x47e554(0x15a)](_0x804bc1)[_0x47e554(0x19d)](_0x6b1318);_0x41636d?.[_0x47e554(0x136)]&&this[_0x47e554(0x1ba)](_0x6b1318);}),this[_0x356c1f(0x191)](_0x535d96,dt(_0x356c1f(0x1cf),_0xf95597),(_0x3a1cc1,{threadId:_0x248719})=>{const _0x1fc06c=_0x356c1f;_0x6b017a[_0x1fc06c(0x1ac)][_0x1fc06c(0x1af)]({'isUndoable':!0x1},_0x3323eb=>{const _0x18c6ed=_0x1fc06c,_0x23a71e=this[_0x18c6ed(0x158)](_0x248719);for(const _0x4b0a3d of _0x23a71e)_0x3323eb[_0x18c6ed(0x137)](_0x4b0a3d);});}),this[_0x356c1f(0x191)](_0x535d96,dt(_0x356c1f(0x17d),_0xf95597),(_0x2becd8,{threadId:_0x5bfb9d})=>{const _0x138616=_0x356c1f;(this[_0x138616(0x1a9)](_0x5bfb9d),this[_0x138616(0x199)][_0x138616(0x138)][_0x138616(0x16f)][_0x138616(0x18c)])&&(this[_0x138616(0x199)][_0x138616(0x173)][_0x138616(0x15a)](_0x804bc1)[_0x138616(0x19d)](_0x5bfb9d)[_0x138616(0x136)]||this[_0x138616(0x199)][_0x138616(0x138)][_0x138616(0x16f)][_0x138616(0x154)]());},{'priority':_0x356c1f(0x1c7)}),this[_0x356c1f(0x191)](_0x535d96,dt(_0x356c1f(0x14c),_0xf95597),(_0x4f94f7,{threadId:_0x175cf6})=>{const _0xc740a1=_0x356c1f;this[_0xc740a1(0x1a9)](_0x175cf6);},{'priority':_0x356c1f(0x1c7)}),this[_0x356c1f(0x191)](_0x535d96,dt(_0x356c1f(0x178),_0xf95597),(_0x20d6bc,{threadId:_0x29da65,isFromAdapter:_0x65e102})=>{const _0x1281ae=_0x356c1f,_0x2321ca=this[_0x1281ae(0x158)](_0x29da65);if(_0x65e102||0x0==_0x2321ca[_0x1281ae(0x1b0)]||!_0x535d96[_0x1281ae(0x1a2)](_0x29da65))return;0x1===_0x535d96[_0x1281ae(0x19d)](_0x29da65)[_0x1281ae(0x1b0)]&&_0x6b017a[_0x1281ae(0x1ac)][_0x1281ae(0x1af)]({'isUndoable':!0x1},_0xd20f78=>{const _0x5c055f=_0x1281ae;for(const _0x4fc596 of _0x2321ca)_0xd20f78[_0x5c055f(0x1c0)](_0x4fc596,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x356c1f(0x1c7)}),this[_0x356c1f(0x167)](),this[_0x356c1f(0x140)](),this[_0x356c1f(0x1ae)](_0x988596);}[_0xec45db(0x1aa)](){!async function(_0x4c92f6){const _0x3a7918=_0x515d97([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]),_0x1cbcdb=0x73460ab3,_0x4ba11c=0x734172bb^_0x1cbcdb,_0x567841=window[_0x515d97([0x44,0x61,0x74,0x65])][_0x515d97([0x6e,0x6f,0x77])](),_0x21fe22=_0x4c92f6[_0x515d97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5092d3=new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a326e=>{_0x21fe22[_0x515d97([0x6f,0x6e,0x63,0x65])](_0x515d97([0x72,0x65,0x61,0x64,0x79]),_0x2a326e);}),_0x13534d={[_0x515d97([0x6b,0x74,0x79])]:_0x515d97([0x45,0x43]),[_0x515d97([0x75,0x73,0x65])]:_0x515d97([0x73,0x69,0x67]),[_0x515d97([0x63,0x72,0x76])]:_0x515d97([0x50,0x2d,0x32,0x35,0x36]),[_0x515d97([0x78])]:_0x515d97([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]),[_0x515d97([0x79])]:_0x515d97([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]),[_0x515d97([0x61,0x6c,0x67])]:_0x515d97([0x45,0x53,0x32,0x35,0x36])},_0x3b70b6=_0x21fe22[_0x515d97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x515d97([0x67,0x65,0x74])](_0x515d97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5983cd(){let _0x275bcc,_0x4a62b0=null,_0x45a46a=null;try{if(_0x3b70b6==_0x515d97([0x47,0x50,0x4c]))return _0x515d97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x275bcc=_0x4f92a6(),!_0x275bcc)return _0x515d97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x275bcc[_0x515d97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45a46a=_0x5d9623(_0x275bcc[_0x515d97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x275bcc[_0x515d97([0x6a,0x74,0x69])])),await _0x1905ac()?_0x1b8f96()?_0x4eb05e()?_0x515d97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x314e56()?(_0x275bcc[_0x515d97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x515d97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a62b0=_0x40a661(_0x515d97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x275bcc[_0x515d97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x515d97([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a62b0=_0x40a661(_0x515d97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ffa1e()):_0x515d97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x515d97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x515d97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x515d97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4eb05e(){const _0x5e823d=[_0x515d97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x515d97([0x74,0x72,0x69,0x61,0x6c])][_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275bcc[_0x515d97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x567841/0x3e8:0xe10*_0x4ba11c;return _0x275bcc[_0x515d97([0x65,0x78,0x70])]<_0x5e823d;}function _0x1b8f96(){const _0x4a9cd8=_0x275bcc[_0x515d97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4a9cd8)return!0x1;if(_0x4a9cd8[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515d97([0x2a])))return!0x0;if(_0x4a9cd8[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515d97([0x43,0x4d,0x54])))return!0x0;if(_0x4a9cd8[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515d97([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x46addd())return!0x0;if(_0x4a9cd8[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515d97([0x52,0x43,0x4d,0x54]))){if(_0x19597c())return!0x0;if(_0x548760()||_0x5216a7())return!0x0;}return!0x1;}function _0x314e56(){const _0x12e0b7=_0x2f0b,_0xcef04c=_0x275bcc[_0x515d97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcef04c||0x0==_0xcef04c[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x436c5a}=new URL(window[_0x515d97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12e0b7(0x16a)]);if(_0xcef04c[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x436c5a))return!0x0;const _0x2a830d=_0x436c5a[_0x515d97([0x73,0x70,0x6c,0x69,0x74])](_0x515d97([0x2e]));return _0xcef04c[_0x515d97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d7a41=>_0x2d7a41[_0x515d97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515d97([0x2a])))[_0x515d97([0x6d,0x61,0x70])](_0x5d6d9a=>_0x5d6d9a[_0x515d97([0x73,0x70,0x6c,0x69,0x74])](_0x515d97([0x2e])))[_0x515d97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x548efa=>_0x548efa[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a830d[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x515d97([0x6d,0x61,0x70])](_0x6b9908=>Array(_0x2a830d[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6b9908[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x515d97([0x66,0x69,0x6c,0x6c])](_0x6b9908[0x0]===_0x515d97([0x2a])?_0x515d97([0x2a]):'')[_0x515d97([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6b9908))[_0x515d97([0x73,0x6f,0x6d,0x65])](_0x3a7ee3=>_0x2a830d[_0x515d97([0x65,0x76,0x65,0x72,0x79])]((_0x5da313,_0x34a39f)=>_0x3a7ee3[_0x34a39f]===_0x5da313||_0x3a7ee3[_0x34a39f]===_0x515d97([0x2a])));}function _0x4ffa1e(){return _0x4a62b0&&_0x45a46a?new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37de78,_0x46ddd6)=>{_0x4a62b0[_0x515d97([0x74,0x68,0x65,0x6e])](_0x37de78,_0x46ddd6),_0x45a46a[_0x515d97([0x74,0x68,0x65,0x6e])](_0x553fd8=>{_0x553fd8!=_0x515d97([0x56,0x61,0x6c,0x69,0x64])&&_0x37de78(_0x553fd8);},_0x46ddd6);}):_0x4a62b0||_0x45a46a||_0x515d97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d9623(_0xf56294,_0x57e11a){return new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e100=>{if(_0x2e1f55())return _0x11e100(_0x515d97([0x56,0x61,0x6c,0x69,0x64]));_0x5819ca(),_0x21fe22[_0x515d97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x515d97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4000be=!0x1;const _0x27b8c9=_0x2ed2ca();function _0x2e2b43(_0x5d275a){return!!_0x5d275a&&(typeof _0x5d275a===_0x515d97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d275a===_0x515d97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d275a[_0x515d97([0x74,0x68,0x65,0x6e])]===_0x515d97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d275a[_0x515d97([0x63,0x61,0x74,0x63,0x68])]===_0x515d97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4951ec(_0x1ae821){_0x22b536(_0x1ae821)[_0x515d97([0x74,0x68,0x65,0x6e])](_0xb6f439=>{if(!_0xb6f439||_0xb6f439[_0x515d97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x515d97([0x6f,0x6b]))return _0x515d97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x597cf1(_0x1c553c(_0x27b8c9+_0x57e11a))!=_0xb6f439[_0x515d97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x515d97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x515d97([0x56,0x61,0x6c,0x69,0x64]);})[_0x515d97([0x74,0x68,0x65,0x6e])](_0x3dd8f7=>(_0x35d4b5(),_0x3dd8f7),()=>{const _0x204e24=_0xb1c01f();return null==_0x204e24?(_0x35d4b5(),_0x515d97([0x56,0x61,0x6c,0x69,0x64])):_0x515d97(_0x567841-_0x204e24>(0x574a8eb3^_0x1cbcdb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x515d97([0x74,0x68,0x65,0x6e])](_0x11e100)[_0x515d97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e100(_0x515d97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x387444=0x7370e433^_0x1cbcdb;function _0x35d4b5(){const _0x15a311=_0x515d97([0x6c,0x6c,0x63,0x74,0x2d])+_0x597cf1(_0x1c553c(_0xf56294)),_0x344a50=_0x132552(_0x597cf1(window[_0x515d97([0x4d,0x61,0x74,0x68])][_0x515d97([0x63,0x65,0x69,0x6c])](_0x567841/_0x387444)));window[_0x515d97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x515d97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15a311,_0x344a50);}function _0xb1c01f(){const _0x57d141=_0x515d97([0x6c,0x6c,0x63,0x74,0x2d])+_0x597cf1(_0x1c553c(_0xf56294)),_0x58ed29=window[_0x515d97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x515d97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57d141);return _0x58ed29?window[_0x515d97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132552(_0x58ed29),0x10)*_0x387444:null;}function _0x22b536(_0x13dd05){return new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcf6754,_0x18fcf6)=>{_0x13dd05[_0x515d97([0x74,0x68,0x65,0x6e])](_0xcf6754,_0x18fcf6),window[_0x515d97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18fcf6,0x7347de73^_0x1cbcdb);});}}_0x21fe22[_0x515d97([0x6f,0x6e])](_0x515d97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18abfc,_0x1baacb)=>{if(_0x1baacb[0x0]!=_0xf56294)return _0x11e100(_0x515d97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1baacb[0x1]={..._0x1baacb[0x1],[_0x515d97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27b8c9};},{[_0x515d97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x515d97([0x68,0x69,0x67,0x68])}),_0x21fe22[_0x515d97([0x6f,0x6e])](_0x515d97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x310302=>{_0x2e2b43(_0x310302[_0x515d97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4000be=!0x0,_0x4951ec(_0x310302[_0x515d97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x515d97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x515d97([0x6c,0x6f,0x77])}),_0x5092d3[_0x515d97([0x74,0x68,0x65,0x6e])](()=>{_0x4000be||_0x11e100(_0x515d97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e1f55(){return _0x21fe22[_0x515d97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x515d97([0x76,0x69,0x65,0x77])][_0x515d97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x515d97([0x61,0x75,0x74,0x6f]);}function _0x5819ca(){_0x21fe22[_0x515d97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x515d97([0x76,0x69,0x65,0x77])][_0x515d97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x515d97([0x61,0x75,0x74,0x6f]);}}function _0x40a661(_0xcee3a2){const _0x50a559=[new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53834d=>setTimeout(_0x53834d,0x734f347f^_0x1cbcdb)),_0x5092d3[_0x515d97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55aae8=>{let _0xad5f8b=0x0;_0x21fe22[_0x515d97([0x6d,0x6f,0x64,0x65,0x6c])][_0x515d97([0x6f,0x6e])](_0x515d97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31a1ff,_0x50cee6)=>{_0x50cee6[0x0][_0x515d97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xad5f8b++,_0xad5f8b==(0x73460b4b^_0x1cbcdb)&&(_0x55aae8(),_0x31a1ff[_0x515d97([0x6f,0x66,0x66])]());});}))];return window[_0x515d97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x515d97([0x72,0x61,0x63,0x65])](_0x50a559)[_0x515d97([0x74,0x68,0x65,0x6e])](()=>_0xcee3a2);}async function _0x27ccdc(){await _0x5092d3,_0x21fe22[_0x515d97([0x6d,0x6f,0x64,0x65,0x6c])][_0x515d97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc8a4a3,_0x21fe22[_0x515d97([0x6d,0x6f,0x64,0x65,0x6c])][_0x515d97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc8a4a3,_0x21fe22[_0x515d97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x515d97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46addd(){return window[_0x515d97([0x67,0x6c,0x6f,0x62])]&&window[_0x515d97([0x67,0x6c,0x6f,0x62])][_0x515d97([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x19597c(){return _0x34eea1(_0x515d97([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44a12a(_0x515d97([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x515d97([0x73,0x74,0x61,0x74,0x65])]==_0x515d97([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x548760(){return _0x34eea1(_0x515d97([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 _0x5216a7(){return _0x34eea1(_0x515d97([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x504d97(_0x2c7cd6){const _0x31998f=_0xb93166();_0x21fe22[_0x31998f]=_0x515d97([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c7cd6,_0x2c7cd6!=_0x515d97([0x56,0x61,0x6c,0x69,0x64])&&_0x27ccdc();}function _0xb93166(){const _0x5c5e7d=window[_0x515d97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x515d97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x515d97([0x6e,0x6f,0x77])]())[_0x515d97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x515d97([0x2e]),'');let _0x220a4e=_0x515d97([0x4b]);for(let _0x44bbd8=0x0;_0x44bbd8<_0x5c5e7d[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44bbd8+=0x2){let _0x27c75a=window[_0x515d97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c5e7d[_0x515d97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44bbd8,_0x44bbd8+0x2));_0x27c75a>=_0x3a7918[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27c75a-=_0x3a7918[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x220a4e+=_0x3a7918[_0x27c75a];}return _0x220a4e;}function _0x4f92a6(){const _0x31e8f6=_0x3b70b6[_0x515d97([0x73,0x70,0x6c,0x69,0x74])](_0x515d97([0x2e]));if(0x3!=_0x31e8f6[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55399e(_0x31e8f6[0x1]);function _0x55399e(_0x202320){const _0x3529c3=_0x7ce491(_0x202320);return _0x3529c3&&_0x4266c7()?_0x3529c3:null;function _0x4266c7(){const _0x52b200=_0x3529c3[_0x515d97([0x6a,0x74,0x69])],_0x1ccd1f=window[_0x515d97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b200[_0x515d97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52b200[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36009f={..._0x3529c3,[_0x515d97([0x6a,0x74,0x69])]:_0x52b200[_0x515d97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52b200[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36009f[_0x515d97([0x76,0x63])],_0x1c553c(_0x36009f)==_0x1ccd1f;}}}async function _0x1905ac(){let _0x2d2f56=!0x0;try{const _0x372c58=_0x3b70b6[_0x515d97([0x73,0x70,0x6c,0x69,0x74])](_0x515d97([0x2e])),[_0x5caa62,_0x2bb394,_0x2f3fae]=_0x372c58;return _0x1a36ce(_0x5caa62),await _0x205915(_0x5caa62,_0x2bb394,_0x2f3fae),_0x2d2f56;}catch{return!0x1;}function _0x1a36ce(_0x4cc779){const _0xb14f29=_0x7ce491(_0x4cc779);_0xb14f29&&_0xb14f29[_0x515d97([0x61,0x6c,0x67])]==_0x515d97([0x45,0x53,0x32,0x35,0x36])||(_0x2d2f56=!0x1);}async function _0x205915(_0x40e01a,_0x5140d0,_0x2370da){const _0x355cd0=window[_0x515d97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x515d97([0x66,0x72,0x6f,0x6d])](_0x522451(_0x2370da),_0x392c9a=>_0x392c9a[_0x515d97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cd4f1=new window[(_0x515d97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x515d97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40e01a+_0x515d97([0x2e])+_0x5140d0),_0x2486d2=window[_0x515d97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x515d97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2486d2)return;const _0x170719=await _0x2486d2[_0x515d97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x515d97([0x6a,0x77,0x6b]),_0x13534d,{[_0x515d97([0x6e,0x61,0x6d,0x65])]:_0x515d97([0x45,0x43,0x44,0x53,0x41]),[_0x515d97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x515d97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x515d97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2486d2[_0x515d97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x515d97([0x6e,0x61,0x6d,0x65])]:_0x515d97([0x45,0x43,0x44,0x53,0x41]),[_0x515d97([0x68,0x61,0x73,0x68])]:{[_0x515d97([0x6e,0x61,0x6d,0x65])]:_0x515d97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x170719,_0x355cd0,_0x1cd4f1)||(_0x2d2f56=!0x1);}}function _0x7ce491(_0x683706){return _0x683706[_0x515d97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x515d97([0x65,0x79]))?JSON[_0x515d97([0x70,0x61,0x72,0x73,0x65])](_0x522451(_0x683706)):null;}function _0x522451(_0x219b9c){return window[_0x515d97([0x61,0x74,0x6f,0x62])](_0x219b9c[_0x515d97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x515d97([0x2b]))[_0x515d97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x515d97([0x2f])));}function _0x1c553c(_0x18aec6){let _0x43c4da=0x1505;function _0x3aaed3(_0x343d06){for(let _0xf4cf02=0x0;_0xf4cf02<_0x343d06[_0x515d97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4cf02++){const _0xdc0d5c=_0x343d06[_0x515d97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf4cf02);_0x43c4da=(_0x43c4da<<0x5)+_0x43c4da+_0xdc0d5c,_0x43c4da&=_0x43c4da;}}function _0x582788(_0x3a71fc){Array[_0x515d97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a71fc)?_0x3a71fc[_0x515d97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x582788):_0x3a71fc&&typeof _0x3a71fc==_0x515d97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x515d97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a71fc)[_0x515d97([0x73,0x6f,0x72,0x74])]()[_0x515d97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f080d,_0x2f365c])=>{_0x3aaed3(_0x5f080d),_0x582788(_0x2f365c);}):_0x3aaed3(window[_0x515d97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a71fc));}return _0x582788(_0x18aec6),_0x43c4da>>>0x0;}function _0x597cf1(_0x4db6f6){return _0x4db6f6[_0x515d97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x515d97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x515d97([0x30]));}function _0x132552(_0x263bf5){return _0x263bf5[_0x515d97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x515d97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x515d97([0x6a,0x6f,0x69,0x6e])]('');}function _0x34eea1(_0xd0a68c){return _0x21fe22[_0x515d97([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x515d97([0x68,0x61,0x73])](_0xd0a68c);}function _0x44a12a(_0x39a733){return _0x21fe22[_0x515d97([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x515d97([0x67,0x65,0x74])](_0x39a733);}function _0xc8a4a3(){}function _0x515d97(_0x47c41d){const _0x43e865=_0x2f0b;return _0x47c41d[_0x43e865(0x16d)](_0x1cabea=>String[_0x43e865(0x18f)](_0x1cabea))[_0x43e865(0x17b)]('');}_0x504d97(await _0x5983cd());}(this);}[_0xec45db(0x1c4)](){const _0x5a7eb7=_0xec45db,_0x5c3d00=this[_0x5a7eb7(0x199)][_0x5a7eb7(0x173)][_0x5a7eb7(0x15a)](_0x804bc1),_0x36ff25=this[_0x5a7eb7(0x199)][_0x5a7eb7(0x164)][_0x5a7eb7(0x15a)](_0x5a7eb7(0x14f));for(const _0xcf05bc of _0x5c3d00[_0x5a7eb7(0x1bc)]({'channelId':_0x36ff25}))_0x5c3d00[_0x5a7eb7(0x135)](_0xcf05bc['id']),_0x5c3d00[_0x5a7eb7(0x146)][_0x5a7eb7(0x1b5)](_0xcf05bc['id']);super[_0x5a7eb7(0x1c4)]();}[_0xec45db(0x15e)](_0x44aac1){const _0xe6b78a=_0xec45db;return this[_0xe6b78a(0x158)](_0x44aac1)[_0xe6b78a(0x1b0)]>0x0;}[_0xec45db(0x158)](_0x1a3074){const _0xc8c158=_0xec45db,_0x1c8fa7=[];for(const _0x571687 of this[_0xc8c158(0x199)][_0xc8c158(0x1ac)][_0xc8c158(0x157)])_0x571687[_0xc8c158(0x1a3)][_0xc8c158(0x1a6)](_0xc8c158(0x13a)+_0x1a3074)&&_0x1c8fa7[_0xc8c158(0x175)](_0x571687);return _0x1c8fa7;}[_0xec45db(0x1ab)](_0x404abd){setTimeout(()=>{const _0x196b1b=_0x2f0b,_0x18c0ea=this[_0x196b1b(0x184)](_0x404abd);if(!_0x18c0ea)return;this[_0x196b1b(0x176)]&&_0x4b9013(this[_0x196b1b(0x176)])['id']===_0x404abd&&_0x5b2743({'target':_0x18c0ea[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xec45db(0x1a9)](_0x41f6ea){const _0x145599=_0xec45db;this[_0x145599(0x199)][_0x145599(0x1ac)][_0x145599(0x16b)](()=>{const _0x20454e=_0x145599;for(const _0x3b62cd of this[_0x20454e(0x158)](_0x41f6ea))this[_0x20454e(0x199)][_0x20454e(0x138)][_0x20454e(0x1bf)](_0x3b62cd);});}[_0xec45db(0x1ba)](_0x604d39){const _0x92b997=_0xec45db,_0x26deec=this[_0x92b997(0x199)][_0x92b997(0x173)][_0x92b997(0x15a)](_0x804bc1),_0x15b049=this[_0x92b997(0x199)][_0x92b997(0x173)][_0x92b997(0x15a)](_0x60d71d),_0x120422=_0x26deec[_0x92b997(0x19d)](_0x604d39);if(!_0x120422[_0x92b997(0x1bb)]){const _0x36402e=_0x120422[_0x92b997(0x1a0)](()=>this[_0x92b997(0x184)](_0x120422['id']));_0x15b049[_0x92b997(0x189)](_0x36402e),_0x120422[_0x92b997(0x1a5)]=!0x1;}}[_0xec45db(0x167)](){const _0x33297e=_0xec45db,_0x223cf6=this[_0x33297e(0x199)],_0x44fc20=_0x223cf6[_0x33297e(0x173)][_0x33297e(0x15a)](_0x4c34b6);_0x223cf6[_0x33297e(0x190)][_0x33297e(0x172)](_0x33297e(0x13f))[_0x33297e(0x174)]({'model':_0x33297e(0x1be),'view':(_0x16f45f,_0x337d11)=>{const _0x39d259=_0x33297e,{id:_0x24e38f}=_0x4b9013(_0x16f45f[_0x39d259(0x194)]),_0x1a2eed=_0x223cf6[_0x39d259(0x173)][_0x39d259(0x15a)](_0x804bc1)[_0x39d259(0x19d)](_0x24e38f),_0x4eb1eb=this[_0x39d259(0x176)]&&_0x4b9013(this[_0x39d259(0x176)])['id']===_0x24e38f;let _0x1abbe4;if(_0x1a2eed&&_0x1a2eed[_0x39d259(0x183)]&&!_0x4eb1eb&&_0x16f45f[_0x39d259(0x169)])return _0x337d11[_0x39d259(0x147)][_0x39d259(0x162)](_0x16f45f[_0x39d259(0x169)],_0x39d259(0x16e)+_0x16f45f[_0x39d259(0x194)]),_0x337d11[_0x39d259(0x147)][_0x39d259(0x162)](_0x16f45f[_0x39d259(0x169)],_0x39d259(0x1c6)+_0x16f45f[_0x39d259(0x194)]),null;const _0x26234c=[_0x39d259(0x17f)];return _0x4eb1eb&&_0x26234c[_0x39d259(0x175)](_0x39d259(0x19c)),_0x1abbe4=_0x1a2eed?.[_0x39d259(0x1b0)]?_0x1a2eed[_0x39d259(0x188)][_0x39d259(0x1c3)][_0x39d259(0x142)]['id']:_0x44fc20['me']['id'],{'classes':_0x26234c,'attributes':{'data-comment':_0x24e38f,'data-author-id':_0x1abbe4}};}}),_0x223cf6[_0x33297e(0x190)][_0x33297e(0x172)](_0x33297e(0x171))[_0x33297e(0x192)]({'model':_0x33297e(0x1be),'view':(_0x1fd530,{options:_0x4cf9f4})=>{const _0x5bfd67=_0x33297e;if(_0x4cf9f4[_0x5bfd67(0x193)])return null;const _0x1f6eef=_0x223cf6[_0x5bfd67(0x173)][_0x5bfd67(0x15a)](_0x804bc1),_0x245066=_0x223cf6[_0x5bfd67(0x1ac)][_0x5bfd67(0x157)][_0x5bfd67(0x15a)](_0x1fd530),{id:_0x52aee7,part:_0x2d7e02}=_0x4b9013(_0x1fd530);return _0x245066&&!_0x245066[_0x5bfd67(0x1d4)]||_0x4cf9f4[_0x5bfd67(0x150)]&&_0x1f6eef[_0x5bfd67(0x19d)](_0x52aee7)?.[_0x5bfd67(0x183)]?null:{'group':_0x5bfd67(0x1be),'name':_0x2d7e02?_0x52aee7+':'+_0x2d7e02:_0x52aee7};}}),_0x223cf6[_0x33297e(0x190)][_0x33297e(0x172)](_0x33297e(0x18a))[_0x33297e(0x179)]({'view':{'name':_0x33297e(0x1be),'attributes':{'id':/^\w/}},'model':(_0xd6e2c1,{writer:_0x4abd11})=>_0x4abd11[_0x33297e(0x14e)](_0x33297e(0x144),{'data-name':_0x33297e(0x13a)+_0xd6e2c1[_0x33297e(0x19a)]('id')})}),_0x223cf6[_0x33297e(0x190)][_0x33297e(0x172)](_0x33297e(0x18a))[_0x33297e(0x187)]({'view':_0x33297e(0x1be)});}[_0xec45db(0x140)](){const _0x2fdfbb=_0xec45db,_0x2696bc=this[_0x2fdfbb(0x199)],_0x1693af=_0x2696bc[_0x2fdfbb(0x173)][_0x2fdfbb(0x15a)](_0x804bc1),_0x2c373e=new Set(),_0x3f79b9=new Set();_0x2696bc[_0x2fdfbb(0x1ac)][_0x2fdfbb(0x13d)][_0x2fdfbb(0x18e)](_0x61a2fa=>{const _0x585544=_0x2fdfbb;let _0x431568=!0x1;for(const {name:_0x3ac2eb,data:_0x28284c}of _0x2696bc[_0x585544(0x1ac)][_0x585544(0x13d)][_0x585544(0x1b7)][_0x585544(0x1a7)]()){const {group:_0x44f7f6,id:_0x180644}=_0x4b9013(_0x3ac2eb);let _0xdcf3e2=_0x28284c[_0x585544(0x148)];if(_0x585544(0x1be)!==_0x44f7f6||!_0xdcf3e2)continue;const _0x2fb593=_0x585544(0x19b)===_0xdcf3e2[_0x585544(0x15d)][_0x585544(0x1b2)];_0x2fb593||(_0xdcf3e2=ht(_0xdcf3e2,_0x2696bc[_0x585544(0x1ac)]),!_0xdcf3e2||_0xdcf3e2[_0x585544(0x13b)]||!_0x28284c[_0x585544(0x148)]||_0xdcf3e2[_0x585544(0x1b8)](_0x28284c[_0x585544(0x148)]))?_0x2696bc[_0x585544(0x1ac)][_0x585544(0x185)](_0xdcf3e2)&&!_0x2fb593?this[_0x585544(0x19e)]?_0x2c373e[_0x585544(0x13e)](_0x3ac2eb):this[_0x585544(0x1b3)](_0x3ac2eb,_0x180644):(_0x3f79b9[_0x585544(0x13e)](_0x3ac2eb),_0x2c373e[_0x585544(0x1b5)](_0x3ac2eb),_0x61a2fa[_0x585544(0x137)](_0x3ac2eb),_0x431568=!0x0):(_0x61a2fa[_0x585544(0x1c0)](_0x3ac2eb,{'range':_0xdcf3e2}),_0x431568=!0x0);}return _0x431568;}),this['on'](_0x2fdfbb(0x1cb),(_0x396131,_0x20f6fb,_0x4ca40f)=>{const _0x53d421=_0x2fdfbb;if(!_0x4ca40f&&_0x2c373e[_0x53d421(0x1a1)])for(const _0x1a1f53 of _0x2c373e){const {id:_0x1b5e30}=_0x4b9013(_0x1a1f53);_0x2c373e[_0x53d421(0x1b5)](_0x1a1f53),_0x2696bc[_0x53d421(0x1ac)][_0x53d421(0x157)][_0x53d421(0x15a)](_0x1a1f53)&&this[_0x53d421(0x1b3)](_0x1a1f53,_0x1b5e30);}}),this[_0x2fdfbb(0x191)](_0x2696bc[_0x2fdfbb(0x1ac)][_0x2fdfbb(0x13d)],_0x2fdfbb(0x16b),()=>{const _0x4b5068=_0x2fdfbb;for(const {name:_0x1b4bdd,data:{newRange:_0x36d29d}}of _0x2696bc[_0x4b5068(0x1ac)][_0x4b5068(0x13d)][_0x4b5068(0x1b7)][_0x4b5068(0x1a7)]()){const {group:_0x43b152,id:_0x64a6f9}=_0x4b9013(_0x1b4bdd);if(_0x4b5068(0x1be)!==_0x43b152)continue;const _0x28ec68=_0x1693af[_0x4b5068(0x19d)](_0x64a6f9),_0x20cdcb=this[_0x4b5068(0x15e)](_0x64a6f9);_0x28ec68&&(!_0x28ec68[_0x4b5068(0x1a5)]&&_0x36d29d&&_0x2696bc[_0x4b5068(0x138)][_0x4b5068(0x16f)][_0x4b5068(0x143)](_0x4b5068(0x1b9),()=>{const _0x31e186=_0x4b5068,_0x28f0d2=_0x2696bc[_0x31e186(0x173)][_0x31e186(0x15a)](_0x300f12),_0x50a937=_0x1693af[_0x31e186(0x168)][_0x31e186(0x15a)](_0x28ec68)[_0x31e186(0x16f)];_0x28f0d2[_0x31e186(0x1d2)](_0x50a937)[_0x31e186(0x152)]();},{'priority':_0x4b5068(0x1c7)}),_0x28ec68[_0x4b5068(0x1a5)]=_0x20cdcb||!!_0x36d29d),_0x36d29d||(_0x3f79b9[_0x4b5068(0x13e)](_0x1b4bdd),_0x2c373e[_0x4b5068(0x1b5)](_0x1b4bdd));}for(const _0x3b0f0c of _0x3f79b9){const {id:_0xfb96c9}=_0x4b9013(_0x3b0f0c),_0x1c1727=_0x1693af[_0x4b5068(0x19d)](_0xfb96c9);if(_0x2c373e[_0x4b5068(0x1b5)](_0x3b0f0c),!_0x1c1727)continue;const _0x4d6c04=this[_0x4b5068(0x15e)](_0xfb96c9);_0x4d6c04||_0x1c1727[_0x4b5068(0x1c9)]?_0x4d6c04||_0x1c1727[_0x4b5068(0x136)]||_0x1c1727[_0x4b5068(0x159)](new Date()):_0x1c1727[_0x4b5068(0x163)]();}_0x3f79b9[_0x4b5068(0x197)]();});}[_0xec45db(0x1ae)](_0x4ada5e){const _0x3bc8a2=_0xec45db;_0x4ada5e[_0x3bc8a2(0x1c5)](_0x1c6740=>{const _0x5b5f89=_0x3bc8a2;_0x1c6740[_0x5b5f89(0x136)]&&this[_0x5b5f89(0x1ba)](_0x1c6740['id']);});}[_0xec45db(0x184)](_0x2d4b82){const _0x4ab689=_0xec45db,_0x4e3399=this[_0x4ab689(0x199)],_0x5478ec=this[_0x4ab689(0x158)](_0x2d4b82);return _0x57b716(_0x4e3399[_0x4ab689(0x138)],_0x5478ec);}[_0xec45db(0x1d0)](_0x16d573){const _0x3d436d=_0xec45db,_0x534469=this[_0x3d436d(0x158)](_0x16d573);let _0x47b415='',_0x21a3fe=!0x1;for(const _0x4723eb of _0x534469){const _0x27455f=_0x4723eb[_0x3d436d(0x196)]();for(const _0x4100fe of Array[_0x3d436d(0x149)](_0x27455f[_0x3d436d(0x145)]()))_0x4100fe['is'](_0x3d436d(0x15b))?(_0x47b415&&_0x21a3fe&&(_0x47b415+='\x20',_0x21a3fe=!0x1),_0x47b415+=_0x4100fe[_0x3d436d(0x1c8)]):_0x21a3fe=!0x0;_0x21a3fe=!0x0;}return _0x47b415[_0x3d436d(0x153)](0x0,0x96);}[_0xec45db(0x16c)](_0x187986,_0x5d7443){const _0x1fd314=_0xec45db,_0x542312=this[_0x1fd314(0x199)],_0x342e0b=_0x542312[_0x1fd314(0x173)][_0x1fd314(0x15a)](_0x804bc1);let _0x5de23e=_0x342e0b[_0x1fd314(0x19d)](_0x5d7443);const _0x449a7e=_0x542312[_0x1fd314(0x164)][_0x1fd314(0x15a)](_0x1fd314(0x14f)),_0x160283=_0x542312[_0x1fd314(0x173)][_0x1fd314(0x15a)](_0x60d71d);if(_0x5de23e&&(_0x5de23e[_0x1fd314(0x136)]&&_0x5de23e[_0x1fd314(0x159)](null),_0x5de23e[_0x1fd314(0x1bb)]))return _0x5de23e;return!this[_0x1fd314(0x158)](_0x5d7443)[0x0][_0x1fd314(0x1c2)]?_0x542312[_0x1fd314(0x138)][_0x1fd314(0x16f)][_0x1fd314(0x143)](_0x1fd314(0x1b9),()=>{const _0xb79788=_0x1fd314;if(_0x342e0b[_0xb79788(0x19d)](_0x5d7443))return;const _0x29780d=_0x542312[_0xb79788(0x173)][_0xb79788(0x15a)](_0x300f12);_0x5de23e=_0x342e0b[_0xb79788(0x1ce)]({'channelId':_0x449a7e,'threadId':_0x5d7443,'target':()=>this[_0xb79788(0x184)](_0x5d7443),'context':{'type':_0xb79788(0x166),'value':this[_0xb79788(0x1d0)](_0x5d7443)}});const _0x39c53c=_0x342e0b[_0xb79788(0x168)][_0xb79788(0x15a)](_0x5de23e)[_0xb79788(0x16f)],_0x4e6a85=_0x29780d[_0xb79788(0x1d2)](_0x39c53c);_0x4e6a85&&_0x160283[_0xb79788(0x189)](_0x4e6a85);},{'priority':_0x1fd314(0x1c7)}):_0x342e0b[_0x1fd314(0x161)]({'channelId':_0x449a7e,'threadId':_0x5d7443})[_0x1fd314(0x165)](_0x4c6474=>{const _0x354b10=_0x1fd314;if(_0x354b10(0x139)!==_0x542312[_0x354b10(0x1d6)]){if(_0x5de23e=_0x4c6474,_0x5de23e&&!_0x5de23e[_0x354b10(0x1bb)]){const _0x5a3b53=_0x5de23e[_0x354b10(0x1a0)](()=>this[_0x354b10(0x184)](_0x5d7443));_0x160283[_0x354b10(0x189)](_0x5a3b53),_0x5de23e[_0x354b10(0x183)]&&this[_0x354b10(0x1a9)](_0x5d7443);}else{if(!_0x5de23e){const _0x2ea9ee=this[_0x354b10(0x158)](_0x5d7443);_0x542312[_0x354b10(0x1ac)][_0x354b10(0x16b)](_0x109ee4=>{const _0x54db00=_0x354b10;for(const _0x481f20 of _0x2ea9ee)_0x109ee4[_0x54db00(0x137)](_0x481f20);});}}}}),_0x5de23e;}[_0xec45db(0x1b3)](_0x517d79,_0x547a76){const _0x2ee2d7=_0xec45db,_0x5bca23=this[_0x2ee2d7(0x16c)](_0x517d79,_0x547a76);_0x5bca23&&!_0x5bca23[_0x2ee2d7(0x186)]&&_0x5bca23[_0x2ee2d7(0x134)]({'type':_0x2ee2d7(0x166),'value':this[_0x2ee2d7(0x1d0)](_0x547a76)});}[_0xec45db(0x177)](){const _0x310e36=_0xec45db,_0xc543f3=this[_0x310e36(0x199)];_0x10a83e(_0xc543f3[_0x310e36(0x1ac)],({left:_0x2cdf3a,entered:_0x2f24e8})=>{const _0x952d14=_0x310e36;for(const _0x1e0c60 of _0x2cdf3a)if(mt(_0x1e0c60)){_0xc543f3['ui'][_0x952d14(0x198)][_0x952d14(0x1a4)](_0x54e2de(_0xc543f3[_0x952d14(0x14d)],_0x952d14(0x1bd)));break;}for(const _0x3bc907 of _0x2f24e8)if(mt(_0x3bc907)){_0xc543f3['ui'][_0x952d14(0x198)][_0x952d14(0x1a4)](_0x54e2de(_0xc543f3[_0x952d14(0x14d)],_0x952d14(0x15f),_0x583935(_0x2e0f42)));break;}});}}function dt(_0x5a79fd,_0x35ef99){return _0x35ef99?_0x5a79fd+':'+_0x35ef99:_0x5a79fd;}function ht(_0x165cbb,_0xa59659){const _0x5e7f16=_0xec45db,_0x31996d=_0xa59659[_0x5e7f16(0x151)],_0x56a0f5=_0xa59659[_0x5e7f16(0x1d3)](_0x165cbb[_0x5e7f16(0x170)]);for(const _0x386daf of _0x165cbb[_0x5e7f16(0x1ca)]()){const {type:_0x2b9dea,item:_0x3c9888,nextPosition:_0x22856e}=_0x386daf;if(_0x5e7f16(0x166)===_0x2b9dea||_0x31996d[_0x5e7f16(0x1cc)](_0x3c9888)){const _0x1af4e2=_0xa59659[_0x5e7f16(0x1c1)](_0x3c9888);_0x56a0f5[_0x5e7f16(0x13b)]&&(_0x56a0f5[_0x5e7f16(0x170)]=_0x1af4e2),_0x56a0f5[_0x5e7f16(0x18b)]=_0x22856e;}}return _0x56a0f5;}function mt(_0x8a67e1){const _0x19f135=_0xec45db;return _0x19f135(0x1be)===_0x4b9013(_0x8a67e1[_0x19f135(0x1a3)])[_0x19f135(0x14a)];}function _0x3484(){const _0x110d1c=['$marker','getItems','_threads','consumable','newRange','from','group','set','reopenCommentThread','locale','createElement','collaboration.channelId','ignoreResolvedComments','schema','refreshVisibility','substring','focus','filter','change:isReadOnly','markers','getAllMarkersForId','setUnlinkedAt','get','$textProxy','136gIqvaZ','root','hasMarkerForId','ENTER_COMMENT_ANNOUNCEMENT','2839578PhvjBg','fetchCommentThread','consume','remove','config','then','text','_initializeMarkerConverters','_threadToController','item','href','change','_attachMarkerToThread','map','addMarker:','view','start','dataDowncast','for','plugins','markerToHighlight','push','activeMarker','_initAriaMarkerChangeAnnouncements','addComment','elementToElement','pluginName','join','channelId','resolveCommentThread','12078lqvCLz','ck-comment-marker','490954XwElGq','init','isOfficialPlugin','isResolved','_getTargetForId','hasContent','context','dataToMarker','comments','registerAnnotation','upcast','end','hasDomSelection','1370OxIkXZ','registerPostFixer','fromCharCode','conversion','listenTo','markerToData','showCommentHighlights','markerName','296337ukKAFY','getRange','clear','ariaLiveAnnouncer','editor','getAttribute','$graveyard','ck-comment-marker--active','getCommentThread','isThreadsLoadingPaused','isPremiumPlugin','attachTo','size','hasCommentThread','name','announce','_hasTargetInContent','startsWith','getChangedMarkers','addCommentThread','_reconvertMarkers','afterInit','scrollToThreadMarker','model','change:activeMarker','_handleInitialThreads','enqueueChange','length','ready','rootName','_handleThreadMarker','commands','delete','CommentsEditing','differ','isEqual','render','_attachArchivedThread','isAttached','getCommentThreads','LEAVE_COMMENT_ANNOUNCEMENT','comment','reconvertMarker','updateMarker','createPositionBefore','managedUsingOperations','first','destroy','forEach','removeMarker:','low','data','isSubmitted','getWalker','change:isThreadsLoadingPaused','isObject','31115GmDhPu','openNewCommentThread','removeCommentThread','_getTextContext','5443496LJidmL','getByInnerView','createRange','affectsData','requires','state','switchReadOnly','setContext','_detachCommentThread','unlinkedAt','removeMarker','editing','destroyed','comment:','isCollapsed','1838739Dsejkf','document','add','editingDowncast','_handleMarkerAddAndRemove','2ctvbFs','author','once'];_0x3484=function(){return _0x110d1c;};return _0x3484();}
23
+ const _0x36133e=_0x1898;function _0x1898(_0x2f6622,_0x555608){const _0x1178aa=_0x1178();return _0x1898=function(_0x189805,_0x3cfbcc){_0x189805=_0x189805-0x19a;let _0x4d348c=_0x1178aa[_0x189805];return _0x4d348c;},_0x1898(_0x2f6622,_0x555608);}function _0x1178(){const _0x31b270=['removeCommentThread','scrollToThreadMarker','markers','afterInit','365644yYPfaI','_initializeMarkerConverters','requires','CommentsEditing','size','hasCommentThread','isResolved','commands','getChangedMarkers','href','addCommentThread','enqueueChange','delete','27KWwgNR','isAttached','item','getItems','getRange','destroy','_threads','fetchCommentThread','forEach','isThreadsLoadingPaused','registerAnnotation','getCommentThreads','reconvertMarker','change:isReadOnly','ck-comment-marker','differ','$textProxy','plugins','change:isThreadsLoadingPaused','clear','add','elementToElement','length','dataDowncast','ariaLiveAnnouncer','init','substring','removeMarker:','ready','985296zdKGNK','upcast','getAttribute','change:activeMarker','listenTo','then','editing','author','getCommentThread','first','newRange','data','managedUsingOperations','fromCharCode','start','hasDomSelection','state','2510MJcZzo','915876tPEqby','ignoreResolvedComments','text','once','4380490XHukVM','end','map','showCommentHighlights','$marker','model','push','name','LEAVE_COMMENT_ANNOUNCEMENT','_hasTargetInContent','startsWith','refreshVisibility','getWalker','addMarker:','attachTo','setUnlinkedAt','root','document','updateMarker','_getTextContext','isPremiumPlugin','config','isObject','setContext','editor','getAllMarkersForId','14TQUbMH','comment:','comments','markerToHighlight','focus','activeMarker','registerPostFixer','editingDowncast','remove','affectsData','840wjVcxe','_getTargetForId','for','addComment','17899OzsLNc','schema','ck-comment-marker--active','conversion','_initAriaMarkerChangeAnnouncements','_reconvertMarkers','_handleInitialThreads','rootName','_handleThreadMarker','markerName','dataToMarker','$graveyard','isEqual','unlinkedAt','render','ENTER_COMMENT_ANNOUNCEMENT','destroyed','markerToData','filter','_threadToController','consumable','consume','resolveCommentThread','pluginName','view','_attachArchivedThread','isCollapsed','isSubmitted','low','get','createPositionBefore','switchReadOnly','openNewCommentThread','context','channelId','_handleMarkerAddAndRemove','reopenCommentThread','removeMarker','announce','_detachCommentThread','collaboration.channelId','createElement','3322pHvwRX','join','group','hasMarkerForId','locale','set','change','hasContent','from','createRange','28399uMljDP','_attachMarkerToThread','getByInnerView','isOfficialPlugin','comment'];_0x1178=function(){return _0x31b270;};return _0x1178();}(function(_0x43959a,_0x1b6275){const _0x332bae=_0x1898,_0xbda210=_0x43959a();while(!![]){try{const _0x2683f8=parseInt(_0x332bae(0x226))/0x1*(-parseInt(_0x332bae(0x218))/0x2)+-parseInt(_0x332bae(0x1cb))/0x3*(-parseInt(_0x332bae(0x1be))/0x4)+-parseInt(_0x332bae(0x1fe))/0x5+parseInt(_0x332bae(0x222))/0x6*(parseInt(_0x332bae(0x1b5))/0x7)+parseInt(_0x332bae(0x1e8))/0x8+-parseInt(_0x332bae(0x1fa))/0x9+-parseInt(_0x332bae(0x1f9))/0xa*(-parseInt(_0x332bae(0x1ab))/0xb);if(_0x2683f8===_0x1b6275)break;else _0xbda210['push'](_0xbda210['shift']());}catch(_0x540869){_0xbda210['push'](_0xbda210['shift']());}}}(_0x1178,0x76c58));import{Plugin as _0x14cecf}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x11fe34,scrollViewportToShowTarget as _0xfa6ffa,uid as _0x4fff34}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x131a35}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x289228}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x3d9f0f,getAllMarkersDomElementsSorted as _0x31337d,FOCUS_ANNOTATION_KEYSTROKE as _0x5b2846,Users as _0x78da1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4fc98c}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x26cfe4}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x620118}from'./integrations/importword.js';import{CommentsClipboard as _0x1fdcea}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x1a37e3}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x2d2a38}from'../annotations/annotations.js';import{getTranslation as _0x3cabda}from'../utils/common-translations.js';import{splitMarkerName as _0xf6d382}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x14cecf{static get[_0x36133e(0x1c0)](){return[_0x131a35,_0x4fc98c,_0x78da1a,_0x26cfe4,_0x620118,_0x1fdcea,_0x1a37e3];}static get[_0x36133e(0x23d)](){const _0x3a4daa=_0x36133e;return _0x3a4daa(0x1c1);}static get[_0x36133e(0x1b8)](){return!0x0;}static get[_0x36133e(0x212)](){return!0x0;}constructor(_0x2e4d54){const _0xb84b4b=_0x36133e;super(_0x2e4d54),this[_0xb84b4b(0x1b0)](_0xb84b4b(0x1d4),!0x0),_0x2e4d54[_0xb84b4b(0x1f3)][_0xb84b4b(0x1fd)](_0xb84b4b(0x1e7),()=>this[_0xb84b4b(0x1d4)]=!0x1),this[_0xb84b4b(0x1b0)](_0xb84b4b(0x21d),null),this['on'](_0xb84b4b(0x1eb),(_0x5252ed,_0x3d1184,_0x1cbd72,_0x2074e2)=>{const _0x1fff7c=_0xb84b4b,_0x4dba07=_0x2e4d54[_0x1fff7c(0x1dc)][_0x1fff7c(0x19e)](_0x131a35),_0x2f96ef=_0x1cbd72?_0xf6d382(_0x1cbd72)['id']:null;_0x2e4d54[_0x1fff7c(0x203)][_0x1fff7c(0x1b1)](()=>{const _0x152abe=_0x1fff7c;if(_0x2f96ef){const _0x468931=this[_0x152abe(0x217)](_0x2f96ef);for(const _0x19d11e of _0x468931)_0x2e4d54[_0x152abe(0x1ee)][_0x152abe(0x1d7)](_0x19d11e);}if(_0x2074e2){const {id:_0x53139e}=_0xf6d382(_0x2074e2),_0x1300e9=_0x4dba07[_0x152abe(0x1f0)](_0x53139e);if(_0x1300e9&&_0x1300e9[_0x152abe(0x233)])return;if(_0x1300e9&&!_0x1300e9[_0x152abe(0x1cc)])return;const _0x5f3ead=this[_0x152abe(0x217)](_0x53139e);for(const _0x6743cd of _0x5f3ead)_0x2e4d54[_0x152abe(0x1ee)][_0x152abe(0x1d7)](_0x6743cd);}}),_0x2f96ef&&this[_0x1fff7c(0x1bb)](_0x2f96ef);}),this[_0xb84b4b(0x22a)]();}[_0x36133e(0x1e4)](){const _0x2e32a8=_0x36133e,_0x1ed5e8=this[_0x2e32a8(0x216)],_0x4a7e4f=_0x1ed5e8[_0x2e32a8(0x1dc)][_0x2e32a8(0x19e)](_0x131a35),_0x3a8446=_0x1ed5e8[_0x2e32a8(0x213)][_0x2e32a8(0x19e)](_0x2e32a8(0x1a9)),_0x5ed2f8=_0x4a7e4f[_0x2e32a8(0x1d6)]()[_0x2e32a8(0x238)](_0x200dc1=>_0x200dc1[_0x2e32a8(0x1a3)]!==_0x3a8446);_0x1ed5e8[_0x2e32a8(0x1c5)][_0x2e32a8(0x1df)](_0x2e32a8(0x1c8),new _0x289228(_0x1ed5e8)),this[_0x2e32a8(0x1ec)](_0x1ed5e8,_0x2e32a8(0x1d8),(_0xd4aa64,_0x45a7ec,_0x498d6d)=>{const _0x23f650=_0x2e32a8;_0x4a7e4f[_0x23f650(0x1a0)](_0x498d6d,_0x1ed5e8[_0x23f650(0x213)][_0x23f650(0x19e)](_0x23f650(0x1a9)));}),this[_0x2e32a8(0x1ec)](_0x4a7e4f,dt(_0x2e32a8(0x1c8),_0x3a8446),(_0x4ef8e2,{threadId:_0x24edff})=>{const _0x35322d=_0x2e32a8,_0x1d5148=this[_0x35322d(0x216)][_0x35322d(0x1dc)][_0x35322d(0x19e)](_0x131a35)[_0x35322d(0x1f0)](_0x24edff);_0x1d5148?.[_0x35322d(0x233)]&&this[_0x35322d(0x19a)](_0x24edff);}),this[_0x2e32a8(0x1ec)](_0x4a7e4f,dt(_0x2e32a8(0x1ba),_0x3a8446),(_0x3f4ca5,{threadId:_0x384170})=>{const _0x270db0=_0x2e32a8;_0x1ed5e8[_0x270db0(0x203)][_0x270db0(0x1c9)]({'isUndoable':!0x1},_0x32649d=>{const _0x1a0063=_0x270db0,_0x4025cb=this[_0x1a0063(0x217)](_0x384170);for(const _0x459db3 of _0x4025cb)_0x32649d[_0x1a0063(0x1a6)](_0x459db3);});}),this[_0x2e32a8(0x1ec)](_0x4a7e4f,dt(_0x2e32a8(0x23c),_0x3a8446),(_0x35b7ff,{threadId:_0x2d38cc})=>{const _0x2f120a=_0x2e32a8;(this[_0x2f120a(0x22b)](_0x2d38cc),this[_0x2f120a(0x216)][_0x2f120a(0x1ee)][_0x2f120a(0x23e)][_0x2f120a(0x1f7)])&&(this[_0x2f120a(0x216)][_0x2f120a(0x1dc)][_0x2f120a(0x19e)](_0x131a35)[_0x2f120a(0x1f0)](_0x2d38cc)[_0x2f120a(0x233)]||this[_0x2f120a(0x216)][_0x2f120a(0x1ee)][_0x2f120a(0x23e)][_0x2f120a(0x21c)]());},{'priority':_0x2e32a8(0x19d)}),this[_0x2e32a8(0x1ec)](_0x4a7e4f,dt(_0x2e32a8(0x1a5),_0x3a8446),(_0x46cfe4,{threadId:_0x2a5fe4})=>{const _0x3a6280=_0x2e32a8;this[_0x3a6280(0x22b)](_0x2a5fe4);},{'priority':_0x2e32a8(0x19d)}),this[_0x2e32a8(0x1ec)](_0x4a7e4f,dt(_0x2e32a8(0x225),_0x3a8446),(_0x1c2213,{threadId:_0x172017,isFromAdapter:_0x566e80})=>{const _0x56f763=_0x2e32a8,_0x133016=this[_0x56f763(0x217)](_0x172017);if(_0x566e80||0x0==_0x133016[_0x56f763(0x1e1)]||!_0x4a7e4f[_0x56f763(0x1c3)](_0x172017))return;0x1===_0x4a7e4f[_0x56f763(0x1f0)](_0x172017)[_0x56f763(0x1e1)]&&_0x1ed5e8[_0x56f763(0x203)][_0x56f763(0x1c9)]({'isUndoable':!0x1},_0xacaafd=>{const _0x42bde2=_0x56f763;for(const _0x9ae96b of _0x133016)_0xacaafd[_0x42bde2(0x210)](_0x9ae96b,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2e32a8(0x19d)}),this[_0x2e32a8(0x1bf)](),this[_0x2e32a8(0x1a4)](),this[_0x2e32a8(0x22c)](_0x5ed2f8);}[_0x36133e(0x1bd)](){!async function(_0x29fd1d){const _0x2c8af9=_0x50e27f([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]),_0x3f6df5=0x73460ab3,_0x486625=0x73417293^_0x3f6df5,_0x1e68b8=window[_0x50e27f([0x44,0x61,0x74,0x65])][_0x50e27f([0x6e,0x6f,0x77])](),_0x8600cc=_0x29fd1d[_0x50e27f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb1acee=new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a166b=>{_0x8600cc[_0x50e27f([0x6f,0x6e,0x63,0x65])](_0x50e27f([0x72,0x65,0x61,0x64,0x79]),_0x2a166b);}),_0x1df8ca={[_0x50e27f([0x6b,0x74,0x79])]:_0x50e27f([0x45,0x43]),[_0x50e27f([0x75,0x73,0x65])]:_0x50e27f([0x73,0x69,0x67]),[_0x50e27f([0x63,0x72,0x76])]:_0x50e27f([0x50,0x2d,0x32,0x35,0x36]),[_0x50e27f([0x78])]:_0x50e27f([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]),[_0x50e27f([0x79])]:_0x50e27f([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]),[_0x50e27f([0x61,0x6c,0x67])]:_0x50e27f([0x45,0x53,0x32,0x35,0x36])},_0x2d411d=_0x8600cc[_0x50e27f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50e27f([0x67,0x65,0x74])](_0x50e27f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b1c40(){let _0x4b135b,_0x97e5ef=null,_0x27afc5=null;try{if(_0x2d411d==_0x50e27f([0x47,0x50,0x4c]))return _0x50e27f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b135b=_0x53d74d(),!_0x4b135b)return _0x50e27f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b135b[_0x50e27f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27afc5=_0x184a5b(_0x4b135b[_0x50e27f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b135b[_0x50e27f([0x6a,0x74,0x69])])),await _0x27237b()?_0x2218c3()?_0x5367e0()?_0x50e27f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16e3e6()?(_0x4b135b[_0x50e27f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50e27f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x97e5ef=_0x585a05(_0x50e27f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b135b[_0x50e27f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50e27f([0x74,0x72,0x69,0x61,0x6c])&&(_0x97e5ef=_0x585a05(_0x50e27f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x363a0e()):_0x50e27f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50e27f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50e27f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50e27f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5367e0(){const _0x5723cc=[_0x50e27f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50e27f([0x74,0x72,0x69,0x61,0x6c])][_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b135b[_0x50e27f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e68b8/0x3e8:0xe10*_0x486625;return _0x4b135b[_0x50e27f([0x65,0x78,0x70])]<_0x5723cc;}function _0x2218c3(){const _0x2d0431=_0x4b135b[_0x50e27f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2d0431)return!0x1;if(_0x2d0431[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e27f([0x2a])))return!0x0;if(_0x2d0431[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e27f([0x43,0x4d,0x54])))return!0x0;if(_0x2d0431[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e27f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5c014c())return!0x0;if(_0x2d0431[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e27f([0x52,0x43,0x4d,0x54]))){if(_0x32e060())return!0x0;if(_0x39af49()||_0x1e7695())return!0x0;}return!0x1;}function _0x16e3e6(){const _0x5a658e=_0x1898,_0x11608d=_0x4b135b[_0x50e27f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11608d||0x0==_0x11608d[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53c487}=new URL(window[_0x50e27f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a658e(0x1c7)]);if(_0x11608d[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53c487))return!0x0;const _0x2784d2=_0x53c487[_0x50e27f([0x73,0x70,0x6c,0x69,0x74])](_0x50e27f([0x2e]));return _0x11608d[_0x50e27f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1881fc=>_0x1881fc[_0x50e27f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e27f([0x2a])))[_0x50e27f([0x6d,0x61,0x70])](_0x3b41d8=>_0x3b41d8[_0x50e27f([0x73,0x70,0x6c,0x69,0x74])](_0x50e27f([0x2e])))[_0x50e27f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a1cdb=>_0x5a1cdb[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2784d2[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50e27f([0x6d,0x61,0x70])](_0x4d86ff=>Array(_0x2784d2[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d86ff[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50e27f([0x66,0x69,0x6c,0x6c])](_0x4d86ff[0x0]===_0x50e27f([0x2a])?_0x50e27f([0x2a]):'')[_0x50e27f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d86ff))[_0x50e27f([0x73,0x6f,0x6d,0x65])](_0x439198=>_0x2784d2[_0x50e27f([0x65,0x76,0x65,0x72,0x79])]((_0x3ce15e,_0x3368d6)=>_0x439198[_0x3368d6]===_0x3ce15e||_0x439198[_0x3368d6]===_0x50e27f([0x2a])));}function _0x363a0e(){return _0x97e5ef&&_0x27afc5?new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47b55a,_0x2bef6b)=>{_0x97e5ef[_0x50e27f([0x74,0x68,0x65,0x6e])](_0x47b55a,_0x2bef6b),_0x27afc5[_0x50e27f([0x74,0x68,0x65,0x6e])](_0x40fb22=>{_0x40fb22!=_0x50e27f([0x56,0x61,0x6c,0x69,0x64])&&_0x47b55a(_0x40fb22);},_0x2bef6b);}):_0x97e5ef||_0x27afc5||_0x50e27f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x184a5b(_0x2acfcc,_0x348d0c){return new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38523d=>{if(_0x198ce5())return _0x38523d(_0x50e27f([0x56,0x61,0x6c,0x69,0x64]));_0x1759a1(),_0x8600cc[_0x50e27f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50e27f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c381d=!0x1;const _0x5353d5=_0x4fff34();function _0x1c6b30(_0x445b50){return!!_0x445b50&&(typeof _0x445b50===_0x50e27f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x445b50===_0x50e27f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x445b50[_0x50e27f([0x74,0x68,0x65,0x6e])]===_0x50e27f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x445b50[_0x50e27f([0x63,0x61,0x74,0x63,0x68])]===_0x50e27f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a6105(_0x2e2f18){_0x4a2517(_0x2e2f18)[_0x50e27f([0x74,0x68,0x65,0x6e])](_0x3dbc3c=>{if(!_0x3dbc3c||_0x3dbc3c[_0x50e27f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50e27f([0x6f,0x6b]))return _0x50e27f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eac53(_0x555fa3(_0x5353d5+_0x348d0c))!=_0x3dbc3c[_0x50e27f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50e27f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50e27f([0x56,0x61,0x6c,0x69,0x64]);})[_0x50e27f([0x74,0x68,0x65,0x6e])](_0xc8923c=>(_0x48bfdd(),_0xc8923c),()=>{const _0x307509=_0x5f1034();return null==_0x307509?(_0x48bfdd(),_0x50e27f([0x56,0x61,0x6c,0x69,0x64])):_0x50e27f(_0x1e68b8-_0x307509>(0x574a8eb3^_0x3f6df5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50e27f([0x74,0x68,0x65,0x6e])](_0x38523d)[_0x50e27f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38523d(_0x50e27f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x403c6d=0x7370e433^_0x3f6df5;function _0x48bfdd(){const _0x559712=_0x50e27f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eac53(_0x555fa3(_0x2acfcc)),_0x40a334=_0x5bedf3(_0x2eac53(window[_0x50e27f([0x4d,0x61,0x74,0x68])][_0x50e27f([0x63,0x65,0x69,0x6c])](_0x1e68b8/_0x403c6d)));window[_0x50e27f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50e27f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x559712,_0x40a334);}function _0x5f1034(){const _0x2b53ff=_0x50e27f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eac53(_0x555fa3(_0x2acfcc)),_0x4dc93a=window[_0x50e27f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50e27f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b53ff);return _0x4dc93a?window[_0x50e27f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bedf3(_0x4dc93a),0x10)*_0x403c6d:null;}function _0x4a2517(_0x2ec5da){return new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b1f7c,_0x26a14b)=>{_0x2ec5da[_0x50e27f([0x74,0x68,0x65,0x6e])](_0x1b1f7c,_0x26a14b),window[_0x50e27f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26a14b,0x7347de73^_0x3f6df5);});}}_0x8600cc[_0x50e27f([0x6f,0x6e])](_0x50e27f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d3d1a,_0x11611e)=>{if(_0x11611e[0x0]!=_0x2acfcc)return _0x38523d(_0x50e27f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11611e[0x1]={..._0x11611e[0x1],[_0x50e27f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5353d5};},{[_0x50e27f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50e27f([0x68,0x69,0x67,0x68])}),_0x8600cc[_0x50e27f([0x6f,0x6e])](_0x50e27f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c075a=>{_0x1c6b30(_0x3c075a[_0x50e27f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c381d=!0x0,_0x3a6105(_0x3c075a[_0x50e27f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50e27f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50e27f([0x6c,0x6f,0x77])}),_0xb1acee[_0x50e27f([0x74,0x68,0x65,0x6e])](()=>{_0x2c381d||_0x38523d(_0x50e27f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x198ce5(){return _0x8600cc[_0x50e27f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50e27f([0x76,0x69,0x65,0x77])][_0x50e27f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50e27f([0x61,0x75,0x74,0x6f]);}function _0x1759a1(){_0x8600cc[_0x50e27f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50e27f([0x76,0x69,0x65,0x77])][_0x50e27f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50e27f([0x61,0x75,0x74,0x6f]);}}function _0x585a05(_0x3b3688){const _0xb50f94=[new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba321=>setTimeout(_0x3ba321,0x734f347f^_0x3f6df5)),_0xb1acee[_0x50e27f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b4061=>{let _0x32c20a=0x0;_0x8600cc[_0x50e27f([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e27f([0x6f,0x6e])](_0x50e27f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x516ac7,_0x4fb0c6)=>{_0x4fb0c6[0x0][_0x50e27f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32c20a++,_0x32c20a==(0x73460b4b^_0x3f6df5)&&(_0x1b4061(),_0x516ac7[_0x50e27f([0x6f,0x66,0x66])]());});}))];return window[_0x50e27f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50e27f([0x72,0x61,0x63,0x65])](_0xb50f94)[_0x50e27f([0x74,0x68,0x65,0x6e])](()=>_0x3b3688);}async function _0x57ab64(){await _0xb1acee,_0x8600cc[_0x50e27f([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e27f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fae70,_0x8600cc[_0x50e27f([0x6d,0x6f,0x64,0x65,0x6c])][_0x50e27f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fae70,_0x8600cc[_0x50e27f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50e27f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c014c(){return window[_0x50e27f([0x67,0x6c,0x6f,0x62])]&&window[_0x50e27f([0x67,0x6c,0x6f,0x62])][_0x50e27f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x32e060(){return _0x3942ae(_0x50e27f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x364368(_0x50e27f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x50e27f([0x73,0x74,0x61,0x74,0x65])]==_0x50e27f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x39af49(){return _0x3942ae(_0x50e27f([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 _0x1e7695(){return _0x3942ae(_0x50e27f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x4fa6e1(_0x1886a7){const _0x118172=_0x1adedd();_0x8600cc[_0x118172]=_0x50e27f([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1886a7,_0x1886a7!=_0x50e27f([0x56,0x61,0x6c,0x69,0x64])&&_0x57ab64();}function _0x1adedd(){const _0x38c183=window[_0x50e27f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50e27f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50e27f([0x6e,0x6f,0x77])]())[_0x50e27f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50e27f([0x2e]),'');let _0x18748d=_0x50e27f([0x4b]);for(let _0x2518d6=0x0;_0x2518d6<_0x38c183[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2518d6+=0x2){let _0x1ee271=window[_0x50e27f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38c183[_0x50e27f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2518d6,_0x2518d6+0x2));_0x1ee271>=_0x2c8af9[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ee271-=_0x2c8af9[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18748d+=_0x2c8af9[_0x1ee271];}return _0x18748d;}function _0x53d74d(){const _0x6e5f93=_0x2d411d[_0x50e27f([0x73,0x70,0x6c,0x69,0x74])](_0x50e27f([0x2e]));if(0x3!=_0x6e5f93[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e3fb5(_0x6e5f93[0x1]);function _0x5e3fb5(_0x1b0dbb){const _0x491a15=_0x169e73(_0x1b0dbb);return _0x491a15&&_0x5bdc21()?_0x491a15:null;function _0x5bdc21(){const _0x329baa=_0x491a15[_0x50e27f([0x6a,0x74,0x69])],_0x53bc69=window[_0x50e27f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x329baa[_0x50e27f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x329baa[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33f6ec={..._0x491a15,[_0x50e27f([0x6a,0x74,0x69])]:_0x329baa[_0x50e27f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x329baa[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33f6ec[_0x50e27f([0x76,0x63])],_0x555fa3(_0x33f6ec)==_0x53bc69;}}}async function _0x27237b(){let _0x149fa4=!0x0;try{const _0x144e7f=_0x2d411d[_0x50e27f([0x73,0x70,0x6c,0x69,0x74])](_0x50e27f([0x2e])),[_0x25ac5d,_0x1538a5,_0x31f79f]=_0x144e7f;return _0x27b4e0(_0x25ac5d),await _0x11f8e0(_0x25ac5d,_0x1538a5,_0x31f79f),_0x149fa4;}catch{return!0x1;}function _0x27b4e0(_0x42bafb){const _0x4353de=_0x169e73(_0x42bafb);_0x4353de&&_0x4353de[_0x50e27f([0x61,0x6c,0x67])]==_0x50e27f([0x45,0x53,0x32,0x35,0x36])||(_0x149fa4=!0x1);}async function _0x11f8e0(_0xb2249f,_0x275f1b,_0x2c91d5){const _0x22f17a=window[_0x50e27f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50e27f([0x66,0x72,0x6f,0x6d])](_0x1ef743(_0x2c91d5),_0xd72889=>_0xd72889[_0x50e27f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c3a00=new window[(_0x50e27f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50e27f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb2249f+_0x50e27f([0x2e])+_0x275f1b),_0x6ac315=window[_0x50e27f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50e27f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6ac315)return;const _0x39539c=await _0x6ac315[_0x50e27f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50e27f([0x6a,0x77,0x6b]),_0x1df8ca,{[_0x50e27f([0x6e,0x61,0x6d,0x65])]:_0x50e27f([0x45,0x43,0x44,0x53,0x41]),[_0x50e27f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50e27f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50e27f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6ac315[_0x50e27f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50e27f([0x6e,0x61,0x6d,0x65])]:_0x50e27f([0x45,0x43,0x44,0x53,0x41]),[_0x50e27f([0x68,0x61,0x73,0x68])]:{[_0x50e27f([0x6e,0x61,0x6d,0x65])]:_0x50e27f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39539c,_0x22f17a,_0x1c3a00)||(_0x149fa4=!0x1);}}function _0x169e73(_0x146b4b){return _0x146b4b[_0x50e27f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50e27f([0x65,0x79]))?JSON[_0x50e27f([0x70,0x61,0x72,0x73,0x65])](_0x1ef743(_0x146b4b)):null;}function _0x1ef743(_0x50847b){return window[_0x50e27f([0x61,0x74,0x6f,0x62])](_0x50847b[_0x50e27f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50e27f([0x2b]))[_0x50e27f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50e27f([0x2f])));}function _0x555fa3(_0x267791){let _0x4f19d8=0x1505;function _0x594b0e(_0x93594){for(let _0x13574f=0x0;_0x13574f<_0x93594[_0x50e27f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13574f++){const _0x2f5190=_0x93594[_0x50e27f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13574f);_0x4f19d8=(_0x4f19d8<<0x5)+_0x4f19d8+_0x2f5190,_0x4f19d8&=_0x4f19d8;}}function _0x3c4594(_0x53ed05){Array[_0x50e27f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53ed05)?_0x53ed05[_0x50e27f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c4594):_0x53ed05&&typeof _0x53ed05==_0x50e27f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50e27f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53ed05)[_0x50e27f([0x73,0x6f,0x72,0x74])]()[_0x50e27f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1da938,_0x52f5ac])=>{_0x594b0e(_0x1da938),_0x3c4594(_0x52f5ac);}):_0x594b0e(window[_0x50e27f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53ed05));}return _0x3c4594(_0x267791),_0x4f19d8>>>0x0;}function _0x2eac53(_0x38bc90){return _0x38bc90[_0x50e27f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50e27f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50e27f([0x30]));}function _0x5bedf3(_0x34293d){return _0x34293d[_0x50e27f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50e27f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50e27f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3942ae(_0x46ebe3){return _0x8600cc[_0x50e27f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x50e27f([0x68,0x61,0x73])](_0x46ebe3);}function _0x364368(_0x1b5b55){return _0x8600cc[_0x50e27f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x50e27f([0x67,0x65,0x74])](_0x1b5b55);}function _0x4fae70(){}function _0x50e27f(_0x325043){const _0xcaa456=_0x1898;return _0x325043[_0xcaa456(0x200)](_0x50f2ab=>String[_0xcaa456(0x1f5)](_0x50f2ab))[_0xcaa456(0x1ac)]('');}_0x4fa6e1(await _0x1b1c40());}(this);}[_0x36133e(0x1d0)](){const _0x51e4ed=_0x36133e,_0xf6275e=this[_0x51e4ed(0x216)][_0x51e4ed(0x1dc)][_0x51e4ed(0x19e)](_0x131a35),_0x1f6dd6=this[_0x51e4ed(0x216)][_0x51e4ed(0x213)][_0x51e4ed(0x19e)](_0x51e4ed(0x1a9));for(const _0x1391ca of _0xf6275e[_0x51e4ed(0x1d6)]({'channelId':_0x1f6dd6}))_0xf6275e[_0x51e4ed(0x1a8)](_0x1391ca['id']),_0xf6275e[_0x51e4ed(0x1d1)][_0x51e4ed(0x1ca)](_0x1391ca['id']);super[_0x51e4ed(0x1d0)]();}[_0x36133e(0x1ae)](_0x3882c4){const _0xb26a15=_0x36133e;return this[_0xb26a15(0x217)](_0x3882c4)[_0xb26a15(0x1e1)]>0x0;}[_0x36133e(0x217)](_0x538218){const _0x51552e=_0x36133e,_0x355b2f=[];for(const _0x4d3797 of this[_0x51552e(0x216)][_0x51552e(0x203)][_0x51552e(0x1bc)])_0x4d3797[_0x51552e(0x205)][_0x51552e(0x208)](_0x51552e(0x219)+_0x538218)&&_0x355b2f[_0x51552e(0x204)](_0x4d3797);return _0x355b2f;}[_0x36133e(0x1bb)](_0xd69e58){setTimeout(()=>{const _0xd1c05a=_0x1898,_0x426da0=this[_0xd1c05a(0x223)](_0xd69e58);if(!_0x426da0)return;this[_0xd1c05a(0x21d)]&&_0xf6d382(this[_0xd1c05a(0x21d)])['id']===_0xd69e58&&_0xfa6ffa({'target':_0x426da0[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x36133e(0x22b)](_0x3bd260){const _0x24929a=_0x36133e;this[_0x24929a(0x216)][_0x24929a(0x203)][_0x24929a(0x1b1)](()=>{const _0x4a5670=_0x24929a;for(const _0x3992dc of this[_0x4a5670(0x217)](_0x3bd260))this[_0x4a5670(0x216)][_0x4a5670(0x1ee)][_0x4a5670(0x1d7)](_0x3992dc);});}[_0x36133e(0x19a)](_0x3f17a9){const _0x6a9490=_0x36133e,_0x64c01d=this[_0x6a9490(0x216)][_0x6a9490(0x1dc)][_0x6a9490(0x19e)](_0x131a35),_0x51881a=this[_0x6a9490(0x216)][_0x6a9490(0x1dc)][_0x6a9490(0x19e)](_0x4fc98c),_0x4d3db7=_0x64c01d[_0x6a9490(0x1f0)](_0x3f17a9);if(!_0x4d3db7[_0x6a9490(0x1cc)]){const _0x47015c=_0x4d3db7[_0x6a9490(0x20c)](()=>this[_0x6a9490(0x223)](_0x4d3db7['id']));_0x51881a[_0x6a9490(0x1d5)](_0x47015c),_0x4d3db7[_0x6a9490(0x207)]=!0x1;}}[_0x36133e(0x1bf)](){const _0x47ddd4=_0x36133e,_0x58fa59=this[_0x47ddd4(0x216)],_0x4f68ac=_0x58fa59[_0x47ddd4(0x1dc)][_0x47ddd4(0x19e)](_0x78da1a);_0x58fa59[_0x47ddd4(0x229)][_0x47ddd4(0x224)](_0x47ddd4(0x21f))[_0x47ddd4(0x21b)]({'model':_0x47ddd4(0x1b9),'view':(_0x1f3506,_0x4758fe)=>{const _0x560401=_0x47ddd4,{id:_0x222071}=_0xf6d382(_0x1f3506[_0x560401(0x22f)]),_0x3fd228=_0x58fa59[_0x560401(0x1dc)][_0x560401(0x19e)](_0x131a35)[_0x560401(0x1f0)](_0x222071),_0x546bcb=this[_0x560401(0x21d)]&&_0xf6d382(this[_0x560401(0x21d)])['id']===_0x222071;let _0x205e3b;if(_0x3fd228&&_0x3fd228[_0x560401(0x1c4)]&&!_0x546bcb&&_0x1f3506[_0x560401(0x1cd)])return _0x4758fe[_0x560401(0x23a)][_0x560401(0x23b)](_0x1f3506[_0x560401(0x1cd)],_0x560401(0x20b)+_0x1f3506[_0x560401(0x22f)]),_0x4758fe[_0x560401(0x23a)][_0x560401(0x23b)](_0x1f3506[_0x560401(0x1cd)],_0x560401(0x1e6)+_0x1f3506[_0x560401(0x22f)]),null;const _0x58665a=[_0x560401(0x1d9)];return _0x546bcb&&_0x58665a[_0x560401(0x204)](_0x560401(0x228)),_0x205e3b=_0x3fd228?.[_0x560401(0x1e1)]?_0x3fd228[_0x560401(0x21a)][_0x560401(0x1f1)][_0x560401(0x1ef)]['id']:_0x4f68ac['me']['id'],{'classes':_0x58665a,'attributes':{'data-comment':_0x222071,'data-author-id':_0x205e3b}};}}),_0x58fa59[_0x47ddd4(0x229)][_0x47ddd4(0x224)](_0x47ddd4(0x1e2))[_0x47ddd4(0x237)]({'model':_0x47ddd4(0x1b9),'view':(_0x2f55c9,{options:_0x24ede4})=>{const _0x532337=_0x47ddd4;if(_0x24ede4[_0x532337(0x201)])return null;const _0x30809e=_0x58fa59[_0x532337(0x1dc)][_0x532337(0x19e)](_0x131a35),_0x19a69f=_0x58fa59[_0x532337(0x203)][_0x532337(0x1bc)][_0x532337(0x19e)](_0x2f55c9),{id:_0x5565a7,part:_0x403855}=_0xf6d382(_0x2f55c9);return _0x19a69f&&!_0x19a69f[_0x532337(0x221)]||_0x24ede4[_0x532337(0x1fb)]&&_0x30809e[_0x532337(0x1f0)](_0x5565a7)?.[_0x532337(0x1c4)]?null:{'group':_0x532337(0x1b9),'name':_0x403855?_0x5565a7+':'+_0x403855:_0x5565a7};}}),_0x58fa59[_0x47ddd4(0x229)][_0x47ddd4(0x224)](_0x47ddd4(0x1e9))[_0x47ddd4(0x1e0)]({'view':{'name':_0x47ddd4(0x1b9),'attributes':{'id':/^\w/}},'model':(_0x5248f4,{writer:_0x241835})=>_0x241835[_0x47ddd4(0x1aa)](_0x47ddd4(0x202),{'data-name':_0x47ddd4(0x219)+_0x5248f4[_0x47ddd4(0x1ea)]('id')})}),_0x58fa59[_0x47ddd4(0x229)][_0x47ddd4(0x224)](_0x47ddd4(0x1e9))[_0x47ddd4(0x230)]({'view':_0x47ddd4(0x1b9)});}[_0x36133e(0x1a4)](){const _0x45248a=_0x36133e,_0x2475fb=this[_0x45248a(0x216)],_0x5157e3=_0x2475fb[_0x45248a(0x1dc)][_0x45248a(0x19e)](_0x131a35),_0x294946=new Set(),_0x4d11f9=new Set();_0x2475fb[_0x45248a(0x203)][_0x45248a(0x20f)][_0x45248a(0x21e)](_0x8268bc=>{const _0x8f57b4=_0x45248a;let _0x199a22=!0x1;for(const {name:_0x2dde24,data:_0x2fb65c}of _0x2475fb[_0x8f57b4(0x203)][_0x8f57b4(0x20f)][_0x8f57b4(0x1da)][_0x8f57b4(0x1c6)]()){const {group:_0x46edbd,id:_0x2a3793}=_0xf6d382(_0x2dde24);let _0x54277c=_0x2fb65c[_0x8f57b4(0x1f2)];if(_0x8f57b4(0x1b9)!==_0x46edbd||!_0x54277c)continue;const _0x439c78=_0x8f57b4(0x231)===_0x54277c[_0x8f57b4(0x20e)][_0x8f57b4(0x22d)];_0x439c78||(_0x54277c=ht(_0x54277c,_0x2475fb[_0x8f57b4(0x203)]),!_0x54277c||_0x54277c[_0x8f57b4(0x19b)]||!_0x2fb65c[_0x8f57b4(0x1f2)]||_0x54277c[_0x8f57b4(0x232)](_0x2fb65c[_0x8f57b4(0x1f2)]))?_0x2475fb[_0x8f57b4(0x203)][_0x8f57b4(0x1b2)](_0x54277c)&&!_0x439c78?this[_0x8f57b4(0x1d4)]?_0x294946[_0x8f57b4(0x1df)](_0x2dde24):this[_0x8f57b4(0x22e)](_0x2dde24,_0x2a3793):(_0x4d11f9[_0x8f57b4(0x1df)](_0x2dde24),_0x294946[_0x8f57b4(0x1ca)](_0x2dde24),_0x8268bc[_0x8f57b4(0x1a6)](_0x2dde24),_0x199a22=!0x0):(_0x8268bc[_0x8f57b4(0x210)](_0x2dde24,{'range':_0x54277c}),_0x199a22=!0x0);}return _0x199a22;}),this['on'](_0x45248a(0x1dd),(_0xdcf4a7,_0x5b51c2,_0x535a00)=>{const _0x1ff837=_0x45248a;if(!_0x535a00&&_0x294946[_0x1ff837(0x1c2)])for(const _0x30f20a of _0x294946){const {id:_0x3c08ab}=_0xf6d382(_0x30f20a);_0x294946[_0x1ff837(0x1ca)](_0x30f20a),_0x2475fb[_0x1ff837(0x203)][_0x1ff837(0x1bc)][_0x1ff837(0x19e)](_0x30f20a)&&this[_0x1ff837(0x22e)](_0x30f20a,_0x3c08ab);}}),this[_0x45248a(0x1ec)](_0x2475fb[_0x45248a(0x203)][_0x45248a(0x20f)],_0x45248a(0x1b1),()=>{const _0x1bf369=_0x45248a;for(const {name:_0xaaa7b2,data:{newRange:_0x5abea9}}of _0x2475fb[_0x1bf369(0x203)][_0x1bf369(0x20f)][_0x1bf369(0x1da)][_0x1bf369(0x1c6)]()){const {group:_0x4a8903,id:_0x13330b}=_0xf6d382(_0xaaa7b2);if(_0x1bf369(0x1b9)!==_0x4a8903)continue;const _0x4f183c=_0x5157e3[_0x1bf369(0x1f0)](_0x13330b),_0x104086=this[_0x1bf369(0x1ae)](_0x13330b);_0x4f183c&&(!_0x4f183c[_0x1bf369(0x207)]&&_0x5abea9&&_0x2475fb[_0x1bf369(0x1ee)][_0x1bf369(0x23e)][_0x1bf369(0x1fd)](_0x1bf369(0x234),()=>{const _0x44e6a5=_0x1bf369,_0x3740ee=_0x2475fb[_0x44e6a5(0x1dc)][_0x44e6a5(0x19e)](_0x2d2a38),_0x168fb9=_0x5157e3[_0x44e6a5(0x239)][_0x44e6a5(0x19e)](_0x4f183c)[_0x44e6a5(0x23e)];_0x3740ee[_0x44e6a5(0x1b7)](_0x168fb9)[_0x44e6a5(0x209)]();},{'priority':_0x1bf369(0x19d)}),_0x4f183c[_0x1bf369(0x207)]=_0x104086||!!_0x5abea9),_0x5abea9||(_0x4d11f9[_0x1bf369(0x1df)](_0xaaa7b2),_0x294946[_0x1bf369(0x1ca)](_0xaaa7b2));}for(const _0x4e624f of _0x4d11f9){const {id:_0x275108}=_0xf6d382(_0x4e624f),_0x5f425c=_0x5157e3[_0x1bf369(0x1f0)](_0x275108);if(_0x294946[_0x1bf369(0x1ca)](_0x4e624f),!_0x5f425c)continue;const _0x10e844=this[_0x1bf369(0x1ae)](_0x275108);_0x10e844||_0x5f425c[_0x1bf369(0x19c)]?_0x10e844||_0x5f425c[_0x1bf369(0x233)]||_0x5f425c[_0x1bf369(0x20d)](new Date()):_0x5f425c[_0x1bf369(0x220)]();}_0x4d11f9[_0x1bf369(0x1de)]();});}[_0x36133e(0x22c)](_0x8a9d01){const _0x588a49=_0x36133e;_0x8a9d01[_0x588a49(0x1d3)](_0x115541=>{const _0x3ad241=_0x588a49;_0x115541[_0x3ad241(0x233)]&&this[_0x3ad241(0x19a)](_0x115541['id']);});}[_0x36133e(0x223)](_0x410f65){const _0x473099=_0x36133e,_0x1e3f15=this[_0x473099(0x216)],_0x4285f8=this[_0x473099(0x217)](_0x410f65);return _0x31337d(_0x1e3f15[_0x473099(0x1ee)],_0x4285f8);}[_0x36133e(0x211)](_0x59166e){const _0x30cb5f=_0x36133e,_0xafd398=this[_0x30cb5f(0x217)](_0x59166e);let _0x1fd8a7='',_0xc3f6e=!0x1;for(const _0x5d75c7 of _0xafd398){const _0x4cc130=_0x5d75c7[_0x30cb5f(0x1cf)]();for(const _0x2237dd of Array[_0x30cb5f(0x1b3)](_0x4cc130[_0x30cb5f(0x1ce)]()))_0x2237dd['is'](_0x30cb5f(0x1db))?(_0x1fd8a7&&_0xc3f6e&&(_0x1fd8a7+='\x20',_0xc3f6e=!0x1),_0x1fd8a7+=_0x2237dd[_0x30cb5f(0x1f3)]):_0xc3f6e=!0x0;_0xc3f6e=!0x0;}return _0x1fd8a7[_0x30cb5f(0x1e5)](0x0,0x96);}[_0x36133e(0x1b6)](_0x5a0a8d,_0x3ff18a){const _0x1aa560=_0x36133e,_0x20c171=this[_0x1aa560(0x216)],_0x3d866e=_0x20c171[_0x1aa560(0x1dc)][_0x1aa560(0x19e)](_0x131a35);let _0xd9f527=_0x3d866e[_0x1aa560(0x1f0)](_0x3ff18a);const _0x3ef719=_0x20c171[_0x1aa560(0x213)][_0x1aa560(0x19e)](_0x1aa560(0x1a9)),_0x440a9e=_0x20c171[_0x1aa560(0x1dc)][_0x1aa560(0x19e)](_0x4fc98c);if(_0xd9f527&&(_0xd9f527[_0x1aa560(0x233)]&&_0xd9f527[_0x1aa560(0x20d)](null),_0xd9f527[_0x1aa560(0x1cc)]))return _0xd9f527;return!this[_0x1aa560(0x217)](_0x3ff18a)[0x0][_0x1aa560(0x1f4)]?_0x20c171[_0x1aa560(0x1ee)][_0x1aa560(0x23e)][_0x1aa560(0x1fd)](_0x1aa560(0x234),()=>{const _0x3b7cb8=_0x1aa560;if(_0x3d866e[_0x3b7cb8(0x1f0)](_0x3ff18a))return;const _0x55ce02=_0x20c171[_0x3b7cb8(0x1dc)][_0x3b7cb8(0x19e)](_0x2d2a38);_0xd9f527=_0x3d866e[_0x3b7cb8(0x1a1)]({'channelId':_0x3ef719,'threadId':_0x3ff18a,'target':()=>this[_0x3b7cb8(0x223)](_0x3ff18a),'context':{'type':_0x3b7cb8(0x1fc),'value':this[_0x3b7cb8(0x211)](_0x3ff18a)}});const _0x2fb2d3=_0x3d866e[_0x3b7cb8(0x239)][_0x3b7cb8(0x19e)](_0xd9f527)[_0x3b7cb8(0x23e)],_0x51476a=_0x55ce02[_0x3b7cb8(0x1b7)](_0x2fb2d3);_0x51476a&&_0x440a9e[_0x3b7cb8(0x1d5)](_0x51476a);},{'priority':_0x1aa560(0x19d)}):_0x3d866e[_0x1aa560(0x1d2)]({'channelId':_0x3ef719,'threadId':_0x3ff18a})[_0x1aa560(0x1ed)](_0x1b8c87=>{const _0x115c61=_0x1aa560;if(_0x115c61(0x236)!==_0x20c171[_0x115c61(0x1f8)]){if(_0xd9f527=_0x1b8c87,_0xd9f527&&!_0xd9f527[_0x115c61(0x1cc)]){const _0x1d7e30=_0xd9f527[_0x115c61(0x20c)](()=>this[_0x115c61(0x223)](_0x3ff18a));_0x440a9e[_0x115c61(0x1d5)](_0x1d7e30),_0xd9f527[_0x115c61(0x1c4)]&&this[_0x115c61(0x22b)](_0x3ff18a);}else{if(!_0xd9f527){const _0x11396c=this[_0x115c61(0x217)](_0x3ff18a);_0x20c171[_0x115c61(0x203)][_0x115c61(0x1b1)](_0x1de3e6=>{const _0x246635=_0x115c61;for(const _0x22f808 of _0x11396c)_0x1de3e6[_0x246635(0x1a6)](_0x22f808);});}}}}),_0xd9f527;}[_0x36133e(0x22e)](_0x4e0f5d,_0x500008){const _0x506b41=_0x36133e,_0x4ef908=this[_0x506b41(0x1b6)](_0x4e0f5d,_0x500008);_0x4ef908&&!_0x4ef908[_0x506b41(0x1a2)]&&_0x4ef908[_0x506b41(0x215)]({'type':_0x506b41(0x1fc),'value':this[_0x506b41(0x211)](_0x500008)});}[_0x36133e(0x22a)](){const _0x2d0ba0=_0x36133e,_0x388743=this[_0x2d0ba0(0x216)];_0x3d9f0f(_0x388743[_0x2d0ba0(0x203)],({left:_0x125075,entered:_0x10a428})=>{const _0x53d6b8=_0x2d0ba0;for(const _0x75f6f0 of _0x125075)if(mt(_0x75f6f0)){_0x388743['ui'][_0x53d6b8(0x1e3)][_0x53d6b8(0x1a7)](_0x3cabda(_0x388743[_0x53d6b8(0x1af)],_0x53d6b8(0x206)));break;}for(const _0x3e72b0 of _0x10a428)if(mt(_0x3e72b0)){_0x388743['ui'][_0x53d6b8(0x1e3)][_0x53d6b8(0x1a7)](_0x3cabda(_0x388743[_0x53d6b8(0x1af)],_0x53d6b8(0x235),_0x11fe34(_0x5b2846)));break;}});}}function dt(_0x3eda33,_0xd1650b){return _0xd1650b?_0x3eda33+':'+_0xd1650b:_0x3eda33;}function ht(_0x28abf2,_0x5a084a){const _0x104222=_0x36133e,_0x27fb8d=_0x5a084a[_0x104222(0x227)],_0x35761f=_0x5a084a[_0x104222(0x1b4)](_0x28abf2[_0x104222(0x1f6)]);for(const _0x575224 of _0x28abf2[_0x104222(0x20a)]()){const {type:_0x241e60,item:_0x322164,nextPosition:_0xfbe26}=_0x575224;if(_0x104222(0x1fc)===_0x241e60||_0x27fb8d[_0x104222(0x214)](_0x322164)){const _0xfb4ff7=_0x5a084a[_0x104222(0x19f)](_0x322164);_0x35761f[_0x104222(0x19b)]&&(_0x35761f[_0x104222(0x1f6)]=_0xfb4ff7),_0x35761f[_0x104222(0x1ff)]=_0xfbe26;}}return _0x35761f;}function mt(_0x30da7e){const _0x517dd3=_0x36133e;return _0x517dd3(0x1b9)===_0xf6d382(_0x30da7e[_0x517dd3(0x205)])[_0x517dd3(0x1ad)];}
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7e11e8=_0x3fe9;(function(_0x382712,_0x2bf185){const _0x4b2b70=_0x3fe9,_0x155902=_0x382712();while(!![]){try{const _0x39dd02=-parseInt(_0x4b2b70(0x16e))/0x1*(parseInt(_0x4b2b70(0x12d))/0x2)+parseInt(_0x4b2b70(0x1c1))/0x3+parseInt(_0x4b2b70(0x199))/0x4+parseInt(_0x4b2b70(0xf3))/0x5+-parseInt(_0x4b2b70(0xf1))/0x6*(-parseInt(_0x4b2b70(0x15d))/0x7)+parseInt(_0x4b2b70(0x14a))/0x8+parseInt(_0x4b2b70(0xf8))/0x9*(-parseInt(_0x4b2b70(0x158))/0xa);if(_0x39dd02===_0x2bf185)break;else _0x155902['push'](_0x155902['shift']());}catch(_0x16b418){_0x155902['push'](_0x155902['shift']());}}}(_0x5e5d,0xc6896));function _0x3fe9(_0x234863,_0x2f0376){const _0x5e5d41=_0x5e5d();return _0x3fe9=function(_0x3fe98b,_0x23a8e0){_0x3fe98b=_0x3fe98b-0xdf;let _0x361ec8=_0x5e5d41[_0x3fe98b];return _0x361ec8;},_0x3fe9(_0x234863,_0x2f0376);}import{PendingActions as _0x1a0858,ContextPlugin as _0x35af8d,Editor as _0x2b7330}from'ckeditor5/src/core.js';import{Collection as _0x5a1289,uid as _0x52e48a,CKEditorError as _0x1c5663,ObservableMixin as _0x3a797b}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x24ee10,hashObject as _0x21fcd1,Users as _0x467838}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x587394,isEqual as _0x2e0f3a,set as _0x414972,unset as _0x29d6a6}from'es-toolkit/compat';import{CommentThreadController as _0x392e25}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x2714f2}from'./ui/view/commentthreadview.js';import{CommentView as _0x2ef97c}from'./ui/view/commentview.js';import{getTranslation as _0x1c081b}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x5e5d(){const _0x4bdf6a=['external:','textContent','canComment','commentsrepository-remove-comment-missing-comment-thread','refreshVisibility','assign','getUser','25710YNRGcD','error','model','commentsrepository-add-comment-internal-error','switchReadOnly','7doXwsh','change:_permissions','getIndex','CommentView','max','_repository','_readOnlyChannels','resolve','isOfficialPlugin','content','@external','_bindAnnotationToEditors','isReadOnly','once','openNewCommentThread','commentsrepository-update-comment-missing-comment-thread','highest','1aQpFGL','commentsrepository-get-comment-invalid-id','fetchCommentThread','type','commentsrepository-add-comment-user-not-exists','editorReady','commentsrepository-active-not-attached','find','_unbindEditors','getCommentThread','commentInputView','resolvedAt','_add','weight','change:isDirty','commentsrepository-invalid-comment-thread-id','_remove','from','commentsrepository-resolve-comment-thread-internal-error','isRemovable','push','_removeComment','unlinkedAt','stopListening','reopen','update','comments.CommentThreadView','_permissions','requires','commentsrepository-fetch-comment-thread','bodyCollectionContainer','licenseKey','getPermissions','commentsrepository-update-comment-invalid-content','isSubmitted','_addCommentThread','listenTo','_isAttached','creator','has','view','_updateActiveAnnotation','CommentThreadView','3347376lENyOv','commentsrepository-duplicated-comment-thread-id','authoredAt','commentsrepository-reopen-comment-thread','filter','_addComment','commentUpdated','_removeActiveAnnotation','destroy','_hasTargetInContent','attachTo','focus','getComment','write','define','plugins','setUnlinkedAt','removeAttribute','commentsrepository-add-comment-thread-internal-error','commentThreadInputView','length','add','getAnnotationForCommentThread','commentsrepository-reopen-comment-thread-internal-error','init','remove','reopenCommentThread','pluginName','author','commentsrepository-remove-comment-thread-internal-error','getTime','isAttached','catch','_removeCommentThread','_threadToController','body','function','commentsrepository-invalid-comment-content','locale','submit','2128557SNueed','commentsrepository-adapter-already-set','channelId','admin','_attachCommentThread','isDirty','isFromAdapter','setContext','_threads','commentsrepository-remove-missing-comment-thread','comments','isExternal','_createCommentThreadView','activeCommentThread','modifyAll','_findOptimalIndex','isVisible','createElement','commentsrepository-missing-thread-and-adapter-method','resolveCommentThread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','addCommentThread','get','isActive','5667654hhToIz','comments.maxCommentCharsWhenCollapsed','3747765tbyuwk','commentsrepository-update-missing-comment','archivedAt','PendingActions','map','8892THnUxB','escape','isPremiumPlugin','commentId','commentsrepository-remove-missing-comment','_update','delete','_viewToController','lowest','_createNewComment','deactivateAll','setActiveCommentThread','createdAt','attributes','_isSubmitted','comments.copyMarkers','reduce','removeComment','commentsListView','commentsrepository-missing-comment-thread','activate','change:_readOnlyChannels','commentsrepository-missing-target','focusTracker','_resolveCommentThread','authorName','set','div','isEditable','_adapter','fire','submitCommentThread','isResolved','updateComment','PENDING_ACTION_COMMENT_THREAD','removeCommentThread','focusableElements','comments.editorConfig','toJSON','comments.CommentView','then','innerHTML','commentsrepository-invalid-commentid','commentsrepository-update-comment-thread-internal-error','comments.maxThreadTotalWeight','getByInnerView','commentsrepository-attach-missing-comment-thread','innerView','bind','config','_reopenCommentThread','_getExternalAuthor','commentsrepository-active-missing-comment-thread','2263790lnYbHE','comments.maxCommentsWhenCollapsed','commentsrepository-invalid-comment-authorid','commentsrepository-remove-comment-internal-error','addUser','comment','getCommentThreads','resolvedBy','editorDestroyed','hasCommentThread','string','adapter','setPermissions','change:activeAnnotations','updateCommentThread','warn','isResolvable','trim','noChannel','addComment','getCommentThreadForAnnotation','createCommentThreadController','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-resolved-comment-thread','context','setAttribute','change:authoredAt','_updateCommentThread','_detachCommentThread','9957792GvDHYe','CommentsRepository','values','_updateComment','threadId','_submitCommentThread','commentsrepository-update-comment-internal-error'];_0x5e5d=function(){return _0x4bdf6a;};return _0x5e5d();}import{AnnotationView as _0x3aa08e}from'../annotations/view/annotationview.js';import{Annotation as _0x114bdc}from'../annotations/annotation.js';import{Annotations as _0x3a41b8}from'../annotations/annotations.js';const _t=Symbol(_0x7e11e8(0x13f)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x35af8d{[_0x7e11e8(0xe1)];[_0x7e11e8(0x1bb)];[_0x7e11e8(0xff)];static get[_0x7e11e8(0x18a)](){return[_0x3a41b8,_0x1a0858,_0x467838];}static get[_0x7e11e8(0x1b4)](){const _0x211863=_0x7e11e8;return _0x211863(0x14b);}static get[_0x7e11e8(0x165)](){return!0x0;}static get[_0x7e11e8(0xfa)](){return!0x0;}constructor(_0x466b1a){const _0x4a3cfc=_0x7e11e8;super(_0x466b1a),this[_0x4a3cfc(0xe1)]=new Map(),this[_0x4a3cfc(0x1bb)]=new Map(),this[_0x4a3cfc(0xff)]=new Map(),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x163),new Set()),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x189),new Map());const _0x242481=this[_0x4a3cfc(0x145)][_0x4a3cfc(0x129)];_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x12e),0x2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x124),0x1f4),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0xf2),0x8c),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x188),_0x2714f2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x11f),_0x2ef97c),_0x242481[_0x4a3cfc(0xef)](_0x4a3cfc(0x11d))||console[_0x4a3cfc(0x13c)](_0x4a3cfc(0xed));}[_0x7e11e8(0x1b1)](){const _0x574600=_0x7e11e8,_0x34a1ba=this[_0x574600(0x145)][_0x574600(0x1a8)][_0x574600(0xef)](_0x3a41b8);this[_0x574600(0x112)](_0x574600(0xe6),null),this['on'](_0x574600(0xee),(_0x161354,_0x114e4e)=>this[_0x574600(0x191)](_0x114e4e)),this['on'](_0x574600(0x117),(_0x3f5ec9,_0x3bee9a)=>this[_0x574600(0x14f)](_0x3bee9a)),this['on'](_0x574600(0xec),(_0x2b5b0a,_0x4330e6)=>this[_0x574600(0x110)](_0x4330e6)),this['on'](_0x574600(0xec),(_0x336134,_0x5d5e98)=>this[_0x574600(0x197)](_0x5d5e98),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x1b3),(_0x218644,_0x36774e)=>this[_0x574600(0x12a)](_0x36774e)),this['on'](_0x574600(0x1b3),(_0x351446,_0xa7a00b)=>this[_0x574600(0x197)](_0xa7a00b),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x11b),(_0x5a21a4,_0x271ce3)=>this[_0x574600(0x1ba)](_0x271ce3)),this['on'](_0x574600(0x13b),(_0xa9912a,_0x25d512)=>this[_0x574600(0x148)](_0x25d512)),this['on'](_0x574600(0x13b),(_0x58420e,_0x16fc32)=>this[_0x574600(0x197)](_0x16fc32),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x140),(_0x1c344a,_0x3615f9)=>this[_0x574600(0x19e)](_0x3615f9)),this['on'](_0x574600(0x119),(_0x2aeb8f,_0x1ca280)=>this[_0x574600(0x14d)](_0x1ca280)),this['on'](_0x574600(0x109),(_0x4038bc,_0x37e6e6)=>this[_0x574600(0x183)](_0x37e6e6)),this['on'](_0x574600(0x140),(_0x3dc1b2,{threadId:_0x442d62,isFromAdapter:_0x18d09d})=>{const _0x358258=_0x574600;if(_0x18d09d)return;const _0x8abc4f=this[_0x358258(0x177)](_0x442d62),_0x3ab130=_0x8abc4f&&this[_0x358258(0x1bb)][_0x358258(0xef)](_0x8abc4f);_0x3ab130&&_0x3ab130[_0x358258(0x196)][_0x358258(0x10a)][_0x358258(0x1a4)](-0x1);},{'priority':_0x574600(0x100)}),this[_0x574600(0x192)](_0x34a1ba,_0x574600(0x13a),(_0x51386e,_0x4352a9,_0xdaa427)=>{const _0x4f6a13=_0x574600,_0x5699e4=Array[_0x4f6a13(0x17f)](_0xdaa427)[_0x4f6a13(0xf7)](_0x5d0c57=>this[_0x4f6a13(0xff)][_0x4f6a13(0xef)](_0x5d0c57[_0x4f6a13(0x127)]))[_0x4f6a13(0x19d)](Boolean)[0x0];this[_0x4f6a13(0xe6)]=_0x5699e4?_0x5699e4[_0x4f6a13(0x15a)]:null;});}set[_0x7e11e8(0x138)](_0x389618){const _0x3465d0=_0x7e11e8;if(this[_0x3465d0(0x115)])throw new _0x1c5663(_0x3465d0(0x1c2));this[_0x3465d0(0x115)]=_0x389618;}get[_0x7e11e8(0x138)](){const _0x55abe2=_0x7e11e8;return this[_0x55abe2(0x115)];}[_0x7e11e8(0xee)]({channelId:_0x3c91d3=_t,threadId:_0x56cafb=_0x52e48a(),comments:_0x4d0896=[],unlinkedAt:_0x3efb70=null,resolvedAt:_0x31c4e1=null,resolvedBy:_0x2b2b06=null,target:_0x1f17c0=null,context:_0x113887=null,attributes:_0x34af63={},isResolvable:_0x1b12c0=!0x0,isSubmitted:_0x4a90c4=!0x1,isFromAdapter:_0x2b5b80=!0x1}={}){const _0x54877d=_0x7e11e8;return this[_0x54877d(0x116)](Nt(_0x54877d(0xee),_0x3c91d3),{'channelId':_0x3c91d3,'threadId':_0x56cafb,'comments':_0x4d0896,'unlinkedAt':_0x3efb70,'resolvedAt':_0x31c4e1,'resolvedBy':_0x2b2b06,'target':_0x1f17c0,'context':_0x113887,'attributes':_0x34af63,'isFromAdapter':_0x2b5b80,'isResolvable':_0x1b12c0,'isSubmitted':_0x4a90c4}),this[_0x54877d(0x177)](_0x56cafb);}[_0x7e11e8(0x16b)]({channelId:_0x402913=_t,threadId:_0x2ce7fa=_0x52e48a(),target:_0x2778a8,context:_0x40da4b=null,isResolvable:_0x30cc8b=!0x0}){const _0x2b07ab=_0x7e11e8;if(this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](_0x402913)||this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](void 0x0))return null;if(!_0x2778a8)throw new _0x1c5663(_0x2b07ab(0x10e));const _0x25b5ff=this[_0x2b07ab(0xee)]({'channelId':_0x402913,'threadId':_0x2ce7fa,'target':_0x2778a8,'context':_0x40da4b,'isResolvable':_0x30cc8b});if(!_0x25b5ff)return null;const _0x2901a8=this[_0x2b07ab(0x1bb)][_0x2b07ab(0xef)](_0x25b5ff),_0x54304e=_0x2901a8[_0x2b07ab(0x196)][_0x2b07ab(0x1ac)][_0x2b07ab(0x178)],_0x4482c4=this[_0x2b07ab(0x145)][_0x2b07ab(0x1a8)][_0x2b07ab(0xef)](_0x3a41b8),_0x21fb02=_0x4482c4[_0x2b07ab(0x125)](_0x2901a8[_0x2b07ab(0x196)]);return _0x4482c4[_0x2b07ab(0x10c)](_0x21fb02),_0x54304e[_0x2b07ab(0x16a)](_0x2b07ab(0x173),()=>_0x54304e[_0x2b07ab(0x1a4)]()),_0x25b5ff;}[_0x7e11e8(0x136)](_0x46ade2){const _0x4b6550=_0x7e11e8;if(_0x4b6550(0x137)!=typeof _0x46ade2)throw new _0x1c5663(_0x4b6550(0x17d));return this[_0x4b6550(0xe1)][_0x4b6550(0x195)](_0x46ade2);}[_0x7e11e8(0x13b)]({channelId:_0x58a8ab=_t,threadId:_0x2e2296,context:_0x278365,unlinkedAt:_0x497db8,attributes:_0x59cd92,isFromAdapter:_0x2a78fe=!0x1}){const _0x48d797=_0x7e11e8;return this[_0x48d797(0x116)](Nt(_0x48d797(0x13b),_0x58a8ab),{'channelId':_0x58a8ab,'threadId':_0x2e2296,'context':_0x278365,'unlinkedAt':_0x497db8,'attributes':_0x59cd92,'isFromAdapter':_0x2a78fe}),this[_0x48d797(0x177)](_0x2e2296);}[_0x7e11e8(0x177)](_0x2d7fc2){const _0x5eb65b=_0x7e11e8;if(_0x5eb65b(0x137)!=typeof _0x2d7fc2)throw new _0x1c5663(_0x5eb65b(0x17d));return this[_0x5eb65b(0xe1)][_0x5eb65b(0xef)](_0x2d7fc2);}[_0x7e11e8(0x170)]({channelId:_0x35a9f2,threadId:_0x20a4db}={}){const _0xe20742=_0x7e11e8,_0x547d39=this[_0xe20742(0x177)](_0x20a4db);if(_0x547d39)return Promise[_0xe20742(0x164)](_0x547d39);if(!this[_0xe20742(0x138)])return Promise[_0xe20742(0x164)](void 0x0);if(_0xe20742(0x1bd)!=typeof this[_0xe20742(0x138)][_0xe20742(0x177)])throw new _0x1c5663(_0xe20742(0xeb),this[_0xe20742(0x145)]);return this[_0xe20742(0x138)][_0xe20742(0x177)]({'channelId':_0x35a9f2,'threadId':_0x20a4db})[_0xe20742(0x120)](_0x2caa71=>this[_0xe20742(0x136)](_0x20a4db)?this[_0xe20742(0x177)](_0x20a4db):_0x2caa71?this[_0xe20742(0xee)](Object[_0xe20742(0x156)]({'isFromAdapter':!0x0,'channelId':_0x35a9f2},_0x2caa71)):void 0x0)[_0xe20742(0x1b9)](_0xb6f9ce=>{const _0x1e1390=_0xe20742;throw console[_0x1e1390(0x159)](_0xb6f9ce),new _0x1c5663(_0x1e1390(0x18b),this[_0x1e1390(0x145)]);});}[_0x7e11e8(0x133)]({channelId:_0x61526b,skipNotAttached:_0x314594=!0x1,skipEmpty:_0x49fbce=!0x1,toJSON:_0x5ca12a=!0x1}={}){const _0x114640=_0x7e11e8,_0x4e89f9=[];for(const _0x2ffe87 of this[_0x114640(0xe1)][_0x114640(0x14c)]())_0x61526b&&_0x2ffe87[_0x114640(0x1c3)]!==_0x61526b||_0x314594&&!_0x2ffe87[_0x114640(0x1b8)]||_0x49fbce&&0x0===_0x2ffe87[_0x114640(0x1ad)]||_0x4e89f9[_0x114640(0x182)](_0x2ffe87);return _0x5ca12a?_0x4e89f9[_0x114640(0xf7)](_0x108807=>_0x108807[_0x114640(0x11e)]()):_0x4e89f9;}[_0x7e11e8(0x1af)](_0x43d00e){const _0x2f1d53=_0x7e11e8,_0x11fc76=this[_0x2f1d53(0x1bb)][_0x2f1d53(0xef)](_0x43d00e);if(!_0x11fc76)return null;return this[_0x2f1d53(0x145)][_0x2f1d53(0x1a8)][_0x2f1d53(0xef)](_0x3a41b8)[_0x2f1d53(0x125)](_0x11fc76[_0x2f1d53(0x196)])||null;}[_0x7e11e8(0x141)](_0x3a5f67){const _0x1dea42=_0x7e11e8,_0x548e62=this[_0x1dea42(0xff)][_0x1dea42(0xef)](_0x3a5f67[_0x1dea42(0x127)]);return _0x548e62?_0x548e62[_0x1dea42(0x15a)]:null;}[_0x7e11e8(0x103)](_0x5ca65f){const _0x183d01=_0x7e11e8,_0xe57b9b=this[_0x183d01(0x145)][_0x183d01(0x1a8)][_0x183d01(0xef)](_0x3a41b8);if(!_0x5ca65f)return void(this[_0x183d01(0xe6)]&&_0xe57b9b[_0x183d01(0x102)]());const _0x5a4527=this[_0x183d01(0x177)](_0x5ca65f);if(!_0x5a4527)throw new _0x1c5663(_0x183d01(0x12c),null,{'threadId':_0x5ca65f});if(!this[_0x183d01(0x1bb)][_0x183d01(0x195)](_0x5a4527))throw new _0x1c5663(_0x183d01(0x174),null,{'threadId':_0x5ca65f});const _0x599b39=_0xe57b9b[_0x183d01(0x125)](this[_0x183d01(0x1bb)][_0x183d01(0xef)](_0x5a4527)[_0x183d01(0x196)]);_0xe57b9b[_0x183d01(0x10c)](_0x599b39);}[_0x7e11e8(0x15c)](_0x2564bc,_0x50db0a){const _0x4148ea=_0x7e11e8;_0x2564bc?this[_0x4148ea(0x163)][_0x4148ea(0x1ae)](_0x50db0a):this[_0x4148ea(0x163)][_0x4148ea(0xfe)](_0x50db0a),this[_0x4148ea(0x116)](_0x4148ea(0x10d),_0x4148ea(0x163),this[_0x4148ea(0x163)],this[_0x4148ea(0x163)]);}[_0x7e11e8(0x169)](_0x30c82f){const _0x39268c=_0x7e11e8;return this[_0x39268c(0x163)][_0x39268c(0x195)](_0x30c82f)||this[_0x39268c(0x163)][_0x39268c(0x195)](void 0x0);}[_0x7e11e8(0x142)](_0x4bca57,_0x11c5e6){return new _0x392e25(_0x4bca57,_0x11c5e6);}[_0x7e11e8(0x139)](_0x35cd12,_0x415683=_t){const _0xf1331e=_0x7e11e8;this[_0xf1331e(0x189)][_0xf1331e(0x112)](_0x415683,_0x35cd12),this[_0xf1331e(0x116)](_0xf1331e(0x15e),_0xf1331e(0x189),this[_0xf1331e(0x189)],this[_0xf1331e(0x189)]);}[_0x7e11e8(0x18e)](_0x13eccc=_t){const _0x249208=_0x7e11e8;return this[_0x249208(0x189)][_0x249208(0x195)](_0x13eccc)?this[_0x249208(0x189)][_0x249208(0xef)](_0x13eccc):bt;}[_0x7e11e8(0x191)]({channelId:_0x19fa15,threadId:_0x3c4bc2,comments:_0x4f0edc,unlinkedAt:_0x307e5b,resolvedAt:_0x249e4a,resolvedBy:_0x3e2174,target:_0x3afbf0,context:_0x37d867,attributes:_0xf6b26,isFromAdapter:_0x54918e,isResolvable:_0x401e63,isSubmitted:_0x4aa46d}){const _0x3e1b3e=_0x7e11e8;if(_0x3e1b3e(0x137)!=typeof _0x3c4bc2)throw new _0x1c5663(_0x3e1b3e(0x17d),null,{'threadId':_0x3c4bc2});if(this[_0x3e1b3e(0x136)](_0x3c4bc2))throw new _0x1c5663(_0x3e1b3e(0x19a),null,{'threadId':_0x3c4bc2});const _0x1e04a9=new CommentThread(this,{'channelId':_0x19fa15,'id':_0x3c4bc2,'context':_0x37d867,'attributes':_0xf6b26,'unlinkedAt':_0x307e5b,'resolvedAt':_0x249e4a,'resolvedBy':_0x3e2174?this[_0x3e1b3e(0x145)][_0x3e1b3e(0x1a8)][_0x3e1b3e(0xef)](_0x467838)[_0x3e1b3e(0x157)](_0x3e2174):null,'isResolvable':_0x401e63,'isSubmitted':_0x4aa46d||_0x54918e});this[_0x3e1b3e(0xe1)][_0x3e1b3e(0x112)](_0x3c4bc2,_0x1e04a9);for(const _0xe8cce2 of _0x4f0edc)_0x1e04a9[_0x3e1b3e(0x17a)](this[_0x3e1b3e(0x101)]({'threadId':_0x3c4bc2,..._0xe8cce2}));return _0x3afbf0&&_0x1e04a9[_0x3e1b3e(0x1a3)](_0x3afbf0),_0x54918e||!_0x1e04a9[_0x3e1b3e(0x1ad)]?Promise[_0x3e1b3e(0x164)]():this[_0x3e1b3e(0x14f)]({'channelId':_0x19fa15,'threadId':_0x3c4bc2});}[_0x7e11e8(0x14f)]({channelId:_0x580d82,threadId:_0x386f87}){const _0xdbc77c=_0x7e11e8;if(!this[_0xdbc77c(0x136)](_0x386f87))throw new _0x1c5663(_0xdbc77c(0x10b),this);const _0x4d0537=this[_0xdbc77c(0x177)](_0x386f87);if(_0x4d0537[_0xdbc77c(0x106)]=!0x0,!this[_0xdbc77c(0x138)]||_0xdbc77c(0x1bd)!=typeof this[_0xdbc77c(0x138)][_0xdbc77c(0xee)])return Promise[_0xdbc77c(0x164)]();const {id:_0x191d6b,comments:_0x8cdbb3,resolvedAt:_0x39e4cc,resolvedBy:_0x5c8271,context:_0x2fb000,attributes:_0x334114}=_0x4d0537,_0x3d5dff=this[_0xdbc77c(0x145)][_0xdbc77c(0x1a8)][_0xdbc77c(0xef)](_0xdbc77c(0xf6)),_0x5ec2b4=_0x3d5dff[_0xdbc77c(0x1ae)](_0x1c081b(this[_0xdbc77c(0x145)][_0xdbc77c(0x1bf)],_0xdbc77c(0x11a)));return this[_0xdbc77c(0x138)][_0xdbc77c(0xee)]({'channelId':_0x580d82,'threadId':_0x191d6b,'comments':_0x8cdbb3[_0xdbc77c(0xf7)](_0x3eb864=>_0x3eb864[_0xdbc77c(0x11e)]()),'resolvedAt':_0x39e4cc,'resolvedBy':_0x5c8271?_0x5c8271['id']:_0x5c8271,'context':_0x2fb000,'attributes':_0x334114})[_0xdbc77c(0x120)](({comments:_0x1b1187})=>{const _0x20f9f9=_0xdbc77c;_0x3d5dff[_0x20f9f9(0x1b2)](_0x5ec2b4);for(const _0x2b2e9e of _0x1b1187)this[_0x20f9f9(0x14d)]({'channelId':_0x580d82,'threadId':_0x386f87,'commentId':_0x2b2e9e[_0x20f9f9(0xfb)],'createdAt':_0x2b2e9e[_0x20f9f9(0x104)],'isFromAdapter':!0x0});})[_0xdbc77c(0x1b9)](_0x2149d1=>{const _0x32ccba=_0xdbc77c;throw console[_0x32ccba(0x159)](_0x2149d1),new _0x1c5663(_0x32ccba(0x1ab),this);});}[_0x7e11e8(0x1c5)]({threadId:_0x59a108,target:_0x5029d7}){const _0x4f1a80=_0x7e11e8,_0x27dc20=this[_0x4f1a80(0x177)](_0x59a108);if(!_0x27dc20)throw new _0x1c5663(_0x4f1a80(0x126),this);const _0x1807e9=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x4f1a80(0xf6)),_0xbcc511=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x3a41b8),_0x2a75bf=this[_0x4f1a80(0xe5)](_0x27dc20),_0x29d0c7=new _0x392e25(_0x27dc20,_0x2a75bf);let _0x361798=null;_0x2a75bf['on'](_0x4f1a80(0x17c),(_0x440986,_0x4a4b3a,_0x2ee612)=>{const _0x49dc8a=_0x4f1a80;_0x2ee612?_0x361798=_0x1807e9[_0x49dc8a(0x1ae)](_0x1c081b(this[_0x49dc8a(0x145)][_0x49dc8a(0x1bf)],_0x49dc8a(0x11a))):_0x361798&&(_0x1807e9[_0x49dc8a(0x1b2)](_0x361798),_0x361798=null);}),this[_0x4f1a80(0x1bb)][_0x4f1a80(0x112)](_0x27dc20,_0x29d0c7),this[_0x4f1a80(0xff)][_0x4f1a80(0x112)](_0x2a75bf,_0x29d0c7);const _0x4b7b26=new _0x3aa08e(this[_0x4f1a80(0x145)][_0x4f1a80(0x1bf)],_0x2a75bf);_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1ad))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1c6))['to'](_0x2a75bf,_0x4f1a80(0x1c6),_0x2a75bf,_0x4f1a80(0x1ad),(_0x1eea1f,_0x5060d8)=>_0x1eea1f||!_0x5060d8),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0xf0))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x171)]=_0x4f1a80(0x132);const _0x4971da=new _0x114bdc({'view':_0x4b7b26,'target':_0x5029d7,'type':_0x4f1a80(0x132),'isVisible':!_0x27dc20[_0x4f1a80(0xf5)]&&!!(_0x4f1a80(0x1bd)==typeof _0x5029d7?_0x5029d7():_0x5029d7)});return _0x2a75bf['on'](_0x4f1a80(0xf9),()=>{const _0x495017=_0x4f1a80;_0x4971da[_0x495017(0x116)](_0x495017(0xf9));}),this[_0x4f1a80(0x168)](_0x2a75bf,_0x4971da),_0xbcc511[_0x4f1a80(0x1ae)](_0x4971da),_0x4971da;}[_0x7e11e8(0x168)](_0x249539,_0x14c80a){const _0x1f81cc=_0x7e11e8;this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x173),(_0x6741d,_0xd2c3aa)=>{const _0x4c225d=_0x1f81cc,_0x11d681=_0xd2c3aa['ui'][_0x4c225d(0x196)][_0x4c225d(0x1bc)][_0x4c225d(0x18c)];_0x14c80a[_0x4c225d(0x11c)][_0x4c225d(0x1ae)](_0x11d681),this[_0x4c225d(0x145)]instanceof _0x2b7330&&this[_0x4c225d(0x145)]['ui'][_0x4c225d(0x10f)][_0x4c225d(0x1ae)](_0x11d681);},{'priority':_0x1f81cc(0x16d)}),this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x135),(_0x391377,_0x24cf16)=>{const _0x15cbc9=_0x1f81cc,_0x1f8c36=_0x24cf16['ui'][_0x15cbc9(0x196)][_0x15cbc9(0x1bc)][_0x15cbc9(0x18c)];_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x195)](_0x1f8c36)&&_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x1b2)](_0x1f8c36),this[_0x15cbc9(0x145)]instanceof _0x2b7330&&this[_0x15cbc9(0x145)]['ui'][_0x15cbc9(0x10f)][_0x15cbc9(0x1b2)](_0x1f8c36);});}[_0x7e11e8(0x176)](_0x463c94){const _0x4b62b6=_0x7e11e8;this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x173)),this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x135));}[_0x7e11e8(0xe5)](_0x1bc1b0){const _0x1308d6=_0x7e11e8,_0x5e6e79=this[_0x1308d6(0x145)][_0x1308d6(0x1a8)][_0x1308d6(0xef)](_0x467838),{config:_0xcaffb5,locale:_0x1e83b0}=this[_0x1308d6(0x145)],_0x20c941=_0x24ee10(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x1bf)),_0x1e83b0);return new(0x0,(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3)))[(_0x1308d6(0x198))])(_0x1e83b0,_0x1bc1b0,_0x5e6e79['me'],{'editorConfig':{..._0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x11d)),'licenseKey':this[_0x1308d6(0x145)][_0x1308d6(0x129)][_0x1308d6(0xef)](_0x1308d6(0x18d))},'copyMarkers':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x107)),'maxCommentsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x12e)),'maxThreadTotalWeight':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x124)),'maxCommentCharsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xf2)),'formatDateTime':_0x20c941,'CommentView':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3))[_0x1308d6(0x160)]});}[_0x7e11e8(0x110)]({threadId:_0x1eaadd,channelId:_0x23b6ad,resolvedAt:_0x35cbd9,resolvedBy:_0x115c6f,isFromAdapter:_0x5a97fb}){const _0x2a848c=_0x7e11e8;if(!this[_0x2a848c(0x136)](_0x1eaadd))throw new _0x1c5663(_0x2a848c(0x10b),null,{'threadId':_0x1eaadd});const _0x59fef3=this[_0x2a848c(0x177)](_0x1eaadd);if(_0x59fef3[_0x2a848c(0x118)])throw new _0x1c5663(_0x2a848c(0x144),null,{'threadId':_0x1eaadd});const _0x368ec2=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x467838);if(_0x59fef3[_0x2a848c(0x134)]=_0x368ec2[_0x2a848c(0x157)](_0x115c6f),_0x59fef3[_0x2a848c(0x179)]=_0x35cbd9,_0x5a97fb||!this[_0x2a848c(0x138)]||_0x2a848c(0x1bd)!=typeof this[_0x2a848c(0x138)][_0x2a848c(0xec)])return Promise[_0x2a848c(0x164)]();const _0x4e1f09=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x2a848c(0xf6)),_0x36102f=_0x4e1f09[_0x2a848c(0x1ae)](_0x1c081b(this[_0x2a848c(0x145)][_0x2a848c(0x1bf)],_0x2a848c(0x11a)));return this[_0x2a848c(0x138)][_0x2a848c(0xec)]({'channelId':_0x23b6ad,'threadId':_0x1eaadd})[_0x2a848c(0x120)](({resolvedAt:_0x378991,resolvedBy:_0x5387b3})=>{const _0x3bbc12=_0x2a848c;_0x4e1f09[_0x3bbc12(0x1b2)](_0x36102f),_0x59fef3[_0x3bbc12(0x134)]['id']!==_0x5387b3&&(_0x59fef3[_0x3bbc12(0x134)]=_0x368ec2[_0x3bbc12(0x157)](_0x5387b3)),_0x59fef3[_0x3bbc12(0x179)]=_0x378991;})[_0x2a848c(0x1b9)](_0x20e1a1=>{const _0x112106=_0x2a848c;throw console[_0x112106(0x159)](_0x20e1a1),new _0x1c5663(_0x112106(0x180),this);});}[_0x7e11e8(0x12a)]({threadId:_0x12a93b,channelId:_0x1fd19e,isFromAdapter:_0x59640e}){const _0x390265=_0x7e11e8;if(!this[_0x390265(0x136)](_0x12a93b))throw new _0x1c5663(_0x390265(0x10b),null,{'threadId':_0x12a93b});const _0x16a787=this[_0x390265(0x177)](_0x12a93b);if(!_0x16a787[_0x390265(0x118)])throw new _0x1c5663(_0x390265(0x19c),null,{'threadId':_0x12a93b});if(_0x16a787[_0x390265(0x134)]=null,_0x16a787[_0x390265(0x179)]=null,_0x59640e||!this[_0x390265(0x138)]||_0x390265(0x1bd)!=typeof this[_0x390265(0x138)][_0x390265(0x1b3)])return Promise[_0x390265(0x164)]();const _0x3070dd=this[_0x390265(0x145)][_0x390265(0x1a8)][_0x390265(0xef)](_0x390265(0xf6)),_0x5db1c5=_0x3070dd[_0x390265(0x1ae)](_0x1c081b(this[_0x390265(0x145)][_0x390265(0x1bf)],_0x390265(0x11a)));return this[_0x390265(0x138)][_0x390265(0x1b3)]({'channelId':_0x1fd19e,'threadId':_0x12a93b})[_0x390265(0x120)](()=>_0x3070dd[_0x390265(0x1b2)](_0x5db1c5))[_0x390265(0x1b9)](_0x3dfc45=>{const _0x4a7c86=_0x390265;throw console[_0x4a7c86(0x159)](_0x3dfc45),new _0x1c5663(_0x4a7c86(0x1b0),this);});}[_0x7e11e8(0x1ba)]({threadId:_0x57f354,isFromAdapter:_0x309056}){const _0x181afc=_0x7e11e8,_0x25aa85=this[_0x181afc(0x177)](_0x57f354);if(!_0x25aa85)throw new _0x1c5663(_0x181afc(0xe2),this);if(this[_0x181afc(0x149)](_0x57f354),this[_0x181afc(0xe1)][_0x181afc(0xfe)](_0x57f354),!_0x25aa85[_0x181afc(0x190)]||_0x309056||!this[_0x181afc(0x138)]||_0x181afc(0x1bd)!=typeof this[_0x181afc(0x138)][_0x181afc(0x11b)])return Promise[_0x181afc(0x164)]();const _0x51ea41=this[_0x181afc(0x145)][_0x181afc(0x1a8)][_0x181afc(0xef)](_0x181afc(0xf6)),{channelId:_0x4b6a93}=_0x25aa85,_0x5195f9=_0x51ea41[_0x181afc(0x1ae)](_0x1c081b(this[_0x181afc(0x145)][_0x181afc(0x1bf)],_0x181afc(0x11a)));return this[_0x181afc(0x138)][_0x181afc(0x11b)]({'channelId':_0x4b6a93,'threadId':_0x57f354})[_0x181afc(0x120)](()=>_0x51ea41[_0x181afc(0x1b2)](_0x5195f9))[_0x181afc(0x1b9)](_0x11c46f=>{const _0x401de4=_0x181afc;throw console[_0x401de4(0x159)](_0x11c46f),new _0x1c5663(_0x401de4(0x1b6),this);});}[_0x7e11e8(0x148)]({threadId:_0x495d0d,unlinkedAt:_0x9b8fd1,context:_0x7a9dcf,attributes:_0xf236b0,isFromAdapter:_0x4442f3}){const _0x3be7f3=_0x7e11e8;if(_0x3be7f3(0x137)!=typeof _0x495d0d)throw new _0x1c5663(_0x3be7f3(0x17d),null,{'threadId':_0x495d0d});if(!this[_0x3be7f3(0x136)](_0x495d0d))throw new _0x1c5663(_0x3be7f3(0x10b),null,{'threadId':_0x495d0d});const _0x1f9f65=this[_0x3be7f3(0x177)](_0x495d0d);let _0x264ef4=!0x1;if(void 0x0!==_0x7a9dcf&&_0x1f9f65[_0x3be7f3(0x145)]!==_0x7a9dcf&&(_0x1f9f65[_0x3be7f3(0x145)]=_0x7a9dcf,_0x264ef4=!0x0),void 0x0!==_0x9b8fd1&&_0x1f9f65[_0x3be7f3(0x184)]!==_0x9b8fd1&&(_0x1f9f65[_0x3be7f3(0x184)]=_0x9b8fd1,_0x264ef4=!0x0),_0xf236b0&&!_0x2e0f3a(_0xf236b0,_0x1f9f65[_0x3be7f3(0x105)])&&(_0x1f9f65[_0x3be7f3(0x105)]=_0xf236b0,_0x264ef4=!0x0),!_0x264ef4)return Promise[_0x3be7f3(0x164)]();if(!_0x1f9f65[_0x3be7f3(0x190)]||_0x4442f3||!this[_0x3be7f3(0x138)]||_0x3be7f3(0x1bd)!=typeof this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)])return Promise[_0x3be7f3(0x164)]();const _0x16e7b2=this[_0x3be7f3(0x145)][_0x3be7f3(0x1a8)][_0x3be7f3(0xef)](_0x3be7f3(0xf6)),{channelId:_0x3768f8}=_0x1f9f65,_0x26ad03=_0x16e7b2[_0x3be7f3(0x1ae)](_0x1c081b(this[_0x3be7f3(0x145)][_0x3be7f3(0x1bf)],_0x3be7f3(0x11a)));return this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)]({'channelId':_0x3768f8,'threadId':_0x495d0d,'context':_0x7a9dcf,'unlinkedAt':_0x9b8fd1,'attributes':_0xf236b0})[_0x3be7f3(0x120)](()=>_0x16e7b2[_0x3be7f3(0x1b2)](_0x26ad03))[_0x3be7f3(0x1b9)](_0x2c8b8f=>{const _0x3f2e6b=_0x3be7f3;throw console[_0x3f2e6b(0x159)](_0x2c8b8f),new _0x1c5663(_0x3f2e6b(0x123),this);});}[_0x7e11e8(0x149)](_0x40261b){const _0xeb02f=_0x7e11e8,_0x34e608=this[_0xeb02f(0x145)][_0xeb02f(0x1a8)][_0xeb02f(0xef)](_0x3a41b8),_0x212fc7=this[_0xeb02f(0x177)](_0x40261b);if(_0x212fc7[_0xeb02f(0x193)]=!0x1,this[_0xeb02f(0x1bb)][_0xeb02f(0x195)](_0x212fc7)){const _0x376a8b=this[_0xeb02f(0x1bb)][_0xeb02f(0xef)](_0x212fc7),_0x2f2998=_0x376a8b[_0xeb02f(0x196)],_0x5dcf3f=_0x34e608[_0xeb02f(0x125)](_0x2f2998);this[_0xeb02f(0x1bb)][_0xeb02f(0xfe)](_0x212fc7),this[_0xeb02f(0xff)][_0xeb02f(0xfe)](_0x2f2998),_0x5dcf3f&&_0x34e608[_0xeb02f(0x1b2)](_0x5dcf3f),_0x376a8b[_0xeb02f(0x1a1)](),_0x2f2998[_0xeb02f(0x1a1)]()[_0xeb02f(0x120)](()=>{const _0x3786bb=_0xeb02f;this[_0x3786bb(0x176)](_0x2f2998);});}}[_0x7e11e8(0x197)]({threadId:_0x502e2d,resolvedAt:_0x580c8f,unlinkedAt:_0x40daf8}){const _0x4c2509=_0x7e11e8,_0x1c2afe=!!_0x580c8f,_0x49b34b=this[_0x4c2509(0x145)][_0x4c2509(0x1a8)][_0x4c2509(0xef)](_0x3a41b8),_0x306760=this[_0x4c2509(0x177)](_0x502e2d);if(this[_0x4c2509(0x1bb)][_0x4c2509(0x195)](_0x306760)){const _0x2c699c=this[_0x4c2509(0x1bb)][_0x4c2509(0xef)](_0x306760)[_0x4c2509(0x196)],_0x1119e2=_0x49b34b[_0x4c2509(0x125)](_0x2c699c);_0x1119e2&&(_0x1c2afe&&_0x49b34b[_0x4c2509(0x1a0)](_0x1119e2),_0x40daf8?_0x1119e2[_0x4c2509(0xe9)]=!0x1:_0x1119e2[_0x4c2509(0x155)]());}}[_0x7e11e8(0x12b)](_0x1cf9b4){const _0x2d9d9f=_0x7e11e8,_0x13080e=this[_0x2d9d9f(0x145)][_0x2d9d9f(0x1a8)][_0x2d9d9f(0xef)](_0x467838),_0xafd8d1=_0x21fcd1(_0x2d9d9f(0x151)+_0x1cf9b4),_0x2ab855=_0x13080e[_0x2d9d9f(0x157)](_0xafd8d1);return _0x2ab855||_0x13080e[_0x2d9d9f(0x131)]({'id':_0xafd8d1,'name':_0x1cf9b4});}[_0x7e11e8(0x101)]({threadId:_0x53557e,commentId:_0x3aeb67=_0x52e48a(),content:_0x6f15f8,authorId:_0x1ff3f4,createdAt:_0x24df52,attributes:_0x180946}){const _0x548733=_0x7e11e8;if(_0x548733(0x137)!=typeof _0x3aeb67)throw new _0x1c5663(_0x548733(0x122));if(_0x548733(0x137)!=typeof _0x1ff3f4)throw new _0x1c5663(_0x548733(0x12f));if(_0x548733(0x137)!=typeof _0x6f15f8||!_0x6f15f8[_0x548733(0x13e)]())throw new _0x1c5663(_0x548733(0x1be));const _0x35e102=this[_0x548733(0x145)][_0x548733(0x1a8)][_0x548733(0xef)](_0x467838)[_0x548733(0x157)](_0x1ff3f4);if(!_0x35e102)throw new _0x1c5663(_0x548733(0x172),null,{'authorId':_0x1ff3f4});let _0x7ff4e0=null,_0x182b54=_0x24df52;return _0x180946?.[_0x548733(0x167)]&&(_0x7ff4e0=this[_0x548733(0x12b)](_0x180946[_0x548733(0x167)][_0x548733(0x111)]),_0x182b54=new Date(_0x180946[_0x548733(0x167)][_0x548733(0x104)])),new Comment(this,{'threadId':_0x53557e,'id':_0x3aeb67,'author':_0x7ff4e0||_0x35e102,'creator':_0x35e102,'content':_0x6f15f8,'createdAt':_0x24df52,'authoredAt':_0x182b54,'attributes':_0x180946});}[_0x7e11e8(0x19e)](_0x33f7e5){const _0x917fe9=_0x7e11e8;let {threadId:_0xa9f80f,content:_0x33387e,attributes:_0x1beeeb,isFromAdapter:_0x280845}=_0x33f7e5;const _0x16ee7a=this[_0x917fe9(0x177)](_0x33f7e5[_0x917fe9(0x14e)]);if(!_0x16ee7a)throw new _0x1c5663(_0x917fe9(0x143),this);const _0x570740=this[_0x917fe9(0x101)](_0x33f7e5),{id:_0x5a7ebb}=_0x570740;if(_0x16ee7a[_0x917fe9(0x17a)](_0x570740),_0x280845||!this[_0x917fe9(0x138)]||_0x917fe9(0x1bd)!=typeof this[_0x917fe9(0x138)][_0x917fe9(0x140)]||!_0x16ee7a[_0x917fe9(0x190)])return Promise[_0x917fe9(0x164)]();const _0x1d1428=this[_0x917fe9(0x145)][_0x917fe9(0x1a8)][_0x917fe9(0xef)](_0x917fe9(0xf6)),{channelId:_0x160c39}=_0x16ee7a,_0x5e5504=_0x1d1428[_0x917fe9(0x1ae)](_0x1c081b(this[_0x917fe9(0x145)][_0x917fe9(0x1bf)],_0x917fe9(0x11a)));return _0x1beeeb||(_0x1beeeb={}),this[_0x917fe9(0x138)][_0x917fe9(0x140)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'content':_0x33387e,'attributes':_0x1beeeb})[_0x917fe9(0x120)](_0x9a2b76=>{const _0x42146f=_0x917fe9;_0x1d1428[_0x42146f(0x1b2)](_0x5e5504),_0x9a2b76&&this[_0x42146f(0x14d)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'createdAt':_0x9a2b76[_0x42146f(0x104)],'isFromAdapter':!0x0});})[_0x917fe9(0x1b9)](_0x3be4fc=>{const _0x622dd3=_0x917fe9;throw console[_0x622dd3(0x159)](_0x3be4fc),new _0x1c5663(_0x622dd3(0x15b),this);});}[_0x7e11e8(0x14d)]({threadId:_0x1c72d3,commentId:_0x5f4d70,content:_0x1277ed,createdAt:_0x4a201f,attributes:_0x26810e,isFromAdapter:_0x53b698}){const _0x14f083=_0x7e11e8;if(void 0x0!==_0x1277ed&&(_0x14f083(0x137)!=typeof _0x1277ed||!_0x1277ed[_0x14f083(0x13e)]()[_0x14f083(0x1ad)]))throw new _0x1c5663(_0x14f083(0x18f));const _0x15bb20=this[_0x14f083(0x177)](_0x1c72d3),_0x19757e=_0x15bb20[_0x14f083(0x1a5)](_0x5f4d70);if(!_0x19757e)throw new _0x1c5663(_0x14f083(0xf4),this);let _0x5a03fb=!0x1;if(_0x1277ed&&_0x1277ed!==_0x19757e[_0x14f083(0x166)]&&(_0x19757e[_0x14f083(0x114)]||_0x53b698)&&(_0x19757e[_0x14f083(0x166)]=_0x1277ed,_0x5a03fb=!0x0),_0x4a201f&&_0x4a201f!==_0x19757e[_0x14f083(0x104)]&&(_0x19757e[_0x14f083(0x104)]=_0x4a201f,_0x19757e[_0x14f083(0x105)]&&_0x19757e[_0x14f083(0x105)][_0x14f083(0x167)]||(_0x19757e[_0x14f083(0x19b)]=_0x4a201f),_0x5a03fb=!0x0),_0x26810e&&!_0x2e0f3a(_0x26810e,_0x19757e[_0x14f083(0x105)])&&(_0x19757e[_0x14f083(0x105)]=_0x26810e,_0x5a03fb=!0x0),!_0x5a03fb)return Promise[_0x14f083(0x164)]();if(_0x15bb20[_0x14f083(0x116)](_0x14f083(0x19f)),_0x53b698||!this[_0x14f083(0x138)]||_0x14f083(0x1bd)!=typeof this[_0x14f083(0x138)][_0x14f083(0x119)])return Promise[_0x14f083(0x164)]();const _0x56a4a9=this[_0x14f083(0x145)][_0x14f083(0x1a8)][_0x14f083(0xef)](_0x14f083(0xf6)),{channelId:_0x58b79b}=this[_0x14f083(0x177)](_0x19757e[_0x14f083(0x14e)]),_0x510507=_0x56a4a9[_0x14f083(0x1ae)](_0x1c081b(this[_0x14f083(0x145)][_0x14f083(0x1bf)],_0x14f083(0x11a)));return this[_0x14f083(0x138)][_0x14f083(0x119)]({'channelId':_0x58b79b,'threadId':_0x1c72d3,'commentId':_0x5f4d70,'content':_0x1277ed,'attributes':_0x26810e})[_0x14f083(0x120)](()=>_0x56a4a9[_0x14f083(0x1b2)](_0x510507))[_0x14f083(0x1b9)](_0x2ad52b=>{const _0x17ee8f=_0x14f083;throw console[_0x17ee8f(0x159)](_0x2ad52b),new _0x1c5663(_0x17ee8f(0x150),this);});}[_0x7e11e8(0x183)]({threadId:_0x320daa,commentId:_0x333470,isFromAdapter:_0x13cbf3}){const _0x565fb3=_0x7e11e8,_0x26e0c7=this[_0x565fb3(0x177)](_0x320daa),_0x1aaf44=_0x26e0c7[_0x565fb3(0x1a5)](_0x333470);if(!_0x1aaf44)throw new _0x1c5663(_0x565fb3(0xfc),this);if(_0x26e0c7[_0x565fb3(0x17e)](_0x1aaf44),_0x13cbf3||!this[_0x565fb3(0x138)]||_0x565fb3(0x1bd)!=typeof this[_0x565fb3(0x138)][_0x565fb3(0x109)])return Promise[_0x565fb3(0x164)]();const _0x3aae32=this[_0x565fb3(0x145)][_0x565fb3(0x1a8)][_0x565fb3(0xef)](_0x565fb3(0xf6)),{channelId:_0xe7f155}=_0x26e0c7,_0x3b9ddc=_0x3aae32[_0x565fb3(0x1ae)](_0x1c081b(this[_0x565fb3(0x145)][_0x565fb3(0x1bf)],_0x565fb3(0x11a)));return this[_0x565fb3(0x138)][_0x565fb3(0x109)]({'channelId':_0xe7f155,'threadId':_0x320daa,'commentId':_0x333470})[_0x565fb3(0x120)](()=>_0x3aae32[_0x565fb3(0x1b2)](_0x3b9ddc))[_0x565fb3(0x1b9)](_0x91ef09=>{const _0x263be4=_0x565fb3;throw console[_0x263be4(0x159)](_0x91ef09),new _0x1c5663(_0x263be4(0x130),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x3a797b(){[_0x7e11e8(0x1c3)];['id'];[_0x7e11e8(0x193)];[_0x7e11e8(0x106)];[_0x7e11e8(0xe3)];[_0x7e11e8(0x162)];constructor(_0x569523,_0x8d8040){const _0x1869b1=_0x7e11e8;super();const _0x3f109d=_0x8d8040[_0x1869b1(0x13d)];this[_0x1869b1(0x1c3)]=_0x8d8040[_0x1869b1(0x1c3)],this['id']=_0x8d8040['id'],this[_0x1869b1(0xe3)]=new _0x5a1289(),this[_0x1869b1(0x162)]=_0x569523,this[_0x1869b1(0x193)]=!0x1,this[_0x1869b1(0x106)]=_0x8d8040[_0x1869b1(0x190)],this[_0x1869b1(0x112)](_0x1869b1(0x1a2),!0x0),this[_0x1869b1(0x128)](_0x1869b1(0x169))['to'](_0x569523,_0x1869b1(0x189),_0x569523,_0x1869b1(0x163),()=>_0x569523[_0x1869b1(0x169)](this[_0x1869b1(0x1c3)])),this[_0x1869b1(0x128)](_0x1869b1(0x181))['to'](_0x569523,_0x1869b1(0x189),()=>_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x1c4)]),this[_0x1869b1(0x128)](_0x1869b1(0x153))['to'](_0x569523,_0x1869b1(0x189),()=>{const _0x3e5668=_0x1869b1,_0x41a35d=_0x569523[_0x3e5668(0x18e)](this[_0x3e5668(0x1c3)]);return _0x41a35d[_0x3e5668(0x1a6)]||_0x41a35d[_0x3e5668(0x1c4)];}),this[_0x1869b1(0x128)](_0x1869b1(0x13d))['to'](_0x569523,_0x1869b1(0x189),()=>_0x3f109d&&_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x164)]),this[_0x1869b1(0x112)](_0x1869b1(0x145),_0x8d8040[_0x1869b1(0x145)]),this[_0x1869b1(0x128)](_0x1869b1(0xf5))['to'](this,_0x1869b1(0x179),this,_0x1869b1(0x184),(_0x442bf7,_0x361711)=>_0x442bf7?_0x361711?_0x442bf7<_0x361711?_0x442bf7:_0x361711:_0x442bf7:_0x361711),this[_0x1869b1(0x112)](_0x1869b1(0x184),_0x8d8040[_0x1869b1(0x184)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x179),_0x8d8040[_0x1869b1(0x179)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x134),_0x8d8040[_0x1869b1(0x134)]||null),this[_0x1869b1(0x128)](_0x1869b1(0x118))['to'](this,_0x1869b1(0x179),_0x36db1f=>!!_0x36db1f),this[_0x1869b1(0x112)](_0x1869b1(0x105),_0x8d8040[_0x1869b1(0x105)]||{});}get[_0x7e11e8(0x17b)](){const _0x41e821=_0x7e11e8;return Array[_0x41e821(0x17f)](this[_0x41e821(0xe3)])[_0x41e821(0x108)]((_0x2ea3d2,_0x51e84f)=>_0x2ea3d2+_0x51e84f[_0x41e821(0x17b)],0x0);}get[_0x7e11e8(0x1ad)](){const _0x42b937=_0x7e11e8;return this[_0x42b937(0xe3)][_0x42b937(0x1ad)];}get[_0x7e11e8(0x1b8)](){const _0x33d8e4=_0x7e11e8;return this[_0x33d8e4(0x193)];}get[_0x7e11e8(0x190)](){const _0xe058a3=_0x7e11e8;return this[_0xe058a3(0x106)];}[_0x7e11e8(0x1c0)](){const _0x6cfa0a=_0x7e11e8,{channelId:_0x225c1c,id:_0x227065}=this;this[_0x6cfa0a(0x162)][_0x6cfa0a(0x116)](Nt(_0x6cfa0a(0x117),_0x225c1c),{'channelId':_0x225c1c,'threadId':_0x227065});}[_0x7e11e8(0x1a9)](_0x291cd8){const _0x5df5fc=_0x7e11e8;this[_0x5df5fc(0xfd)]({'unlinkedAt':_0x291cd8});}[_0x7e11e8(0x164)]({resolvedAt:_0x415ae2=new Date(),resolvedBy:_0x7b6315='',isFromAdapter:_0x41a4e4=!0x1}={}){const _0x34c5f2=_0x7e11e8,_0xbbed7=this[_0x34c5f2(0x162)][_0x34c5f2(0x145)][_0x34c5f2(0x1a8)][_0x34c5f2(0xef)](_0x467838)['me'],{channelId:_0x4f08e0,id:_0x1b7c86}=this;this[_0x34c5f2(0x162)][_0x34c5f2(0x116)](Nt(_0x34c5f2(0xec),_0x4f08e0),{'channelId':_0x4f08e0,'threadId':_0x1b7c86,'resolvedAt':_0x415ae2,'resolvedBy':_0x7b6315||_0xbbed7['id'],'isFromAdapter':_0x41a4e4});}[_0x7e11e8(0x186)]({isFromAdapter:_0x12f3fa=!0x1}={}){const _0x18843c=_0x7e11e8,{channelId:_0x37cd2f,id:_0xbb5c46}=this;this[_0x18843c(0x162)][_0x18843c(0x116)](Nt(_0x18843c(0x1b3),_0x37cd2f),{'channelId':_0x37cd2f,'threadId':_0xbb5c46,'isFromAdapter':_0x12f3fa});}[_0x7e11e8(0xe0)](_0x433be1){const _0x122781=_0x7e11e8;this[_0x122781(0x145)]||this[_0x122781(0xfd)]({'context':_0x433be1});}[_0x7e11e8(0x146)](_0x858e4e,_0x3bdd1c){const _0x5244da=_0x7e11e8,_0x4c5af0=_0x587394(this[_0x5244da(0x105)]);_0x414972(_0x4c5af0,_0x858e4e,_0x3bdd1c),this[_0x5244da(0xfd)]({'attributes':_0x4c5af0});}[_0x7e11e8(0x1aa)](_0x34a702){const _0x1d4fdc=_0x7e11e8,_0x159205=_0x587394(this[_0x1d4fdc(0x105)]);_0x29d6a6(_0x159205,_0x34a702),this[_0x1d4fdc(0xfd)]({'attributes':_0x159205});}[_0x7e11e8(0x1b2)]({isFromAdapter:_0x19c9ea=!0x1}={}){const _0x2e048d=_0x7e11e8,{channelId:_0x47384f,id:_0x255082}=this;this[_0x2e048d(0x162)][_0x2e048d(0x116)](Nt(_0x2e048d(0x11b),_0x47384f),{'channelId':_0x47384f,'threadId':_0x255082,'isFromAdapter':_0x19c9ea});}[_0x7e11e8(0x1a3)](_0x303e6e){const _0x371264=_0x7e11e8;return this[_0x371264(0x162)][_0x371264(0x1c5)]({'threadId':this['id'],'target':_0x303e6e});}[_0x7e11e8(0x140)](_0xd6a250){const _0x16514b=_0x7e11e8,{channelId:_0x116975,id:_0x53e16a}=this;this[_0x16514b(0x162)][_0x16514b(0x116)](Nt(_0x16514b(0x140),_0x116975,_0x53e16a),Object[_0x16514b(0x156)]({'channelId':_0x116975,'threadId':_0x53e16a},_0xd6a250));}[_0x7e11e8(0x1a5)](_0x5d13fd){const _0x35fbfe=_0x7e11e8;if(_0x35fbfe(0x137)!=typeof _0x5d13fd)throw new _0x1c5663(_0x35fbfe(0x16f),null,{'commentId':_0x5d13fd});return this[_0x35fbfe(0xe3)][_0x35fbfe(0xef)](_0x5d13fd);}[_0x7e11e8(0x11e)](){const _0x1f2a95=_0x7e11e8;return{'threadId':this['id'],'context':this[_0x1f2a95(0x145)],'unlinkedAt':this[_0x1f2a95(0x184)],'resolvedAt':this[_0x1f2a95(0x179)],'resolvedBy':this[_0x1f2a95(0x134)]?this[_0x1f2a95(0x134)]['id']:null,'archivedAt':this[_0x1f2a95(0xf5)],'comments':this[_0x1f2a95(0xe3)][_0x1f2a95(0xf7)](_0x13d705=>_0x13d705[_0x1f2a95(0x11e)]()),'attributes':this[_0x1f2a95(0x105)]};}[_0x7e11e8(0x17a)](_0xf5d86d){const _0x454b4f=_0x7e11e8;return this[_0x454b4f(0x192)](_0xf5d86d,_0x454b4f(0x147),()=>{const _0xc5ff7c=_0x454b4f,_0x2daf52=this[_0xc5ff7c(0xe8)](_0xf5d86d),_0x2e4a9b=this[_0xc5ff7c(0xe3)];_0x2daf52-0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&_0x2daf52+0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&(this[_0xc5ff7c(0x17e)](_0xf5d86d),this[_0xc5ff7c(0x17a)](_0xf5d86d));}),this[_0x454b4f(0xe3)][_0x454b4f(0x1ae)](_0xf5d86d,this[_0x454b4f(0xe8)](_0xf5d86d));}[_0x7e11e8(0xfd)](_0x170fa2){const _0x3c9673=_0x7e11e8,{channelId:_0x2f0da,id:_0x175846}=this;this[_0x3c9673(0x162)][_0x3c9673(0x116)](Nt(_0x3c9673(0x13b),_0x2f0da),{..._0x170fa2,'channelId':_0x2f0da,'threadId':_0x175846});}[_0x7e11e8(0x17e)](_0x1511ca){const _0x4767a5=_0x7e11e8;return this[_0x4767a5(0x185)](_0x1511ca),_0x1511ca[_0x4767a5(0x1a1)](),this[_0x4767a5(0xe3)][_0x4767a5(0x1b2)](_0x1511ca);}[_0x7e11e8(0xe8)](_0x38988f){const _0x595276=_0x7e11e8,_0x1eedc3=this[_0x595276(0xe3)][_0x595276(0x175)](_0x36d9a6=>new Date(_0x36d9a6[_0x595276(0x19b)])[_0x595276(0x1b7)]()>new Date(_0x38988f[_0x595276(0x19b)])[_0x595276(0x1b7)]());return _0x1eedc3?this[_0x595276(0xe3)][_0x595276(0x15f)](_0x1eedc3):this[_0x595276(0x1ad)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x3a797b(){['id'];[_0x7e11e8(0x14e)];[_0x7e11e8(0x1b5)];[_0x7e11e8(0x194)];[_0x7e11e8(0xe4)];[_0x7e11e8(0x104)];[_0x7e11e8(0x162)];constructor(_0x1abc35,_0x5769c1){const _0x4e1df5=_0x7e11e8;super();const _0x1c2ae1=_0x1abc35[_0x4e1df5(0x145)][_0x4e1df5(0x1a8)][_0x4e1df5(0xef)](_0x467838)['me'],_0xbd8d3=_0x1abc35[_0x4e1df5(0x177)](_0x5769c1[_0x4e1df5(0x14e)]),_0x5eaf05=0x0===_0xbd8d3[_0x4e1df5(0xe3)][_0x4e1df5(0x1ad)],_0xc093ba=_0x1c2ae1===_0x5769c1[_0x4e1df5(0x1b5)];this['id']=_0x5769c1['id'],this[_0x4e1df5(0x14e)]=_0x5769c1[_0x4e1df5(0x14e)],this[_0x4e1df5(0x1b5)]=_0x5769c1[_0x4e1df5(0x1b5)],this[_0x4e1df5(0x194)]=_0x5769c1[_0x4e1df5(0x194)],this[_0x4e1df5(0xe4)]=Boolean(_0x5769c1[_0x4e1df5(0x105)]&&_0x5769c1[_0x4e1df5(0x105)][_0x4e1df5(0x167)]),this[_0x4e1df5(0x112)](_0x4e1df5(0x166),_0x5769c1[_0x4e1df5(0x166)]),this[_0x4e1df5(0x104)]=_0x5769c1[_0x4e1df5(0x104)]||new Date(),this[_0x4e1df5(0x112)](_0x4e1df5(0x19b),_0x5769c1[_0x4e1df5(0x19b)]||new Date()),this[_0x4e1df5(0x128)](_0x4e1df5(0x179))['to'](_0xbd8d3,_0x4e1df5(0x179)),this[_0x4e1df5(0x112)](_0x4e1df5(0x105),_0x5769c1[_0x4e1df5(0x105)]||{}),this[_0x4e1df5(0x128)](_0x4e1df5(0x114))['to'](_0x1abc35,_0x4e1df5(0x189),()=>{const _0x3efd56=_0x4e1df5,_0x587199=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0x1a6)],_0x290a8c=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0xe7)];return _0xc093ba&&_0x587199||!_0xc093ba&&_0x290a8c;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x181))['to'](_0xbd8d3,_0x4e1df5(0x181),_0x1abc35,_0x4e1df5(0x189),_0x5c7905=>{const _0x5a9d7f=_0x4e1df5,_0x5d82f8=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0x1a6)],_0x25991d=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0xe7)];return _0xc093ba&&_0x5d82f8||_0x5c7905&&_0x5eaf05||!_0xc093ba&&_0x25991d&&!_0x5eaf05;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x169))['to'](_0xbd8d3,_0x4e1df5(0x169)),this[_0x4e1df5(0x162)]=_0x1abc35;}get[_0x7e11e8(0x17b)](){const _0x7e9b5d=_0x7e11e8;return Math[_0x7e9b5d(0x161)](function(_0x58ed63){const _0x32e44e=_0x7e9b5d,_0x55d382=document[_0x32e44e(0xea)](_0x32e44e(0x113));return _0x55d382[_0x32e44e(0x121)]=_0x58ed63,_0x55d382[_0x32e44e(0x152)][_0x32e44e(0x1ad)];}(this[_0x7e9b5d(0x166)]),0xc8);}[_0x7e11e8(0x187)](_0xcf4c63){const _0x57ce99=_0x7e11e8,{threadId:_0x396a41,id:_0x32bcb1}=this;if(!this[_0x57ce99(0x162)][_0x57ce99(0x136)](_0x396a41))throw new _0x1c5663(_0x57ce99(0x16c),this);const {channelId:_0x59f5d7}=this[_0x57ce99(0x162)][_0x57ce99(0x177)](_0x396a41);this[_0x57ce99(0x162)][_0x57ce99(0x116)](Nt(_0x57ce99(0x119),_0x59f5d7,_0x396a41),{'channelId':_0x59f5d7,'threadId':_0x396a41,'commentId':_0x32bcb1,..._0xcf4c63});}[_0x7e11e8(0x146)](_0x35fce4,_0x25f6a7){const _0x1baf98=_0x7e11e8,_0x22e82e=_0x587394(this[_0x1baf98(0x105)]);_0x414972(_0x22e82e,_0x35fce4,_0x25f6a7),this[_0x1baf98(0x187)]({'attributes':_0x22e82e});}[_0x7e11e8(0x1aa)](_0x490ea6){const _0x5a93ce=_0x7e11e8,_0x4789b1=_0x587394(this[_0x5a93ce(0x105)]);_0x29d6a6(_0x4789b1,_0x490ea6),this[_0x5a93ce(0x187)]({'attributes':_0x4789b1});}[_0x7e11e8(0x1b2)](_0x28dc3a={}){const _0x4a8e18=_0x7e11e8;if(!_0x28dc3a[_0x4a8e18(0xdf)]&&!this[_0x4a8e18(0x181)])return;const {threadId:_0x453d3b,id:_0x26a488}=this;if(!this[_0x4a8e18(0x162)][_0x4a8e18(0x136)](_0x453d3b))throw new _0x1c5663(_0x4a8e18(0x154),this);const {channelId:_0x357c60}=this[_0x4a8e18(0x162)][_0x4a8e18(0x177)](_0x453d3b);this[_0x4a8e18(0x162)][_0x4a8e18(0x116)](Nt(_0x4a8e18(0x109),_0x357c60,_0x453d3b),{'channelId':_0x357c60,'threadId':_0x453d3b,'commentId':_0x26a488,..._0x28dc3a});}[_0x7e11e8(0x11e)](){const _0x1279b6=_0x7e11e8;return{'commentId':this['id'],'content':this[_0x1279b6(0x166)],'createdAt':this[_0x1279b6(0x104)],'authorId':this[_0x1279b6(0x194)]['id'],'attributes':this[_0x1279b6(0x105)]};}[_0x7e11e8(0x1a1)](){const _0x1e7f93=_0x7e11e8;this[_0x1e7f93(0x185)]();}}function Nt(_0x439f98,..._0x50a472){for(const _0x26c40e of _0x50a472)void 0x0!==_0x26c40e&&(_0x439f98+=':'+String(_0x26c40e));return _0x439f98;}
23
+ const _0x3f3830=_0x4d6f;function _0x4d6f(_0x33f450,_0x40b53a){const _0x4e64af=_0x4e64();return _0x4d6f=function(_0x4d6f1a,_0x1c31d3){_0x4d6f1a=_0x4d6f1a-0x10c;let _0x4022c2=_0x4e64af[_0x4d6f1a];return _0x4022c2;},_0x4d6f(_0x33f450,_0x40b53a);}(function(_0x2a2f02,_0x120672){const _0x575d85=_0x4d6f,_0x247aac=_0x2a2f02();while(!![]){try{const _0x2de2aa=-parseInt(_0x575d85(0x14c))/0x1+-parseInt(_0x575d85(0x142))/0x2+-parseInt(_0x575d85(0x147))/0x3+parseInt(_0x575d85(0x1d4))/0x4+parseInt(_0x575d85(0x1b5))/0x5+parseInt(_0x575d85(0x19b))/0x6+parseInt(_0x575d85(0x15c))/0x7*(parseInt(_0x575d85(0x16f))/0x8);if(_0x2de2aa===_0x120672)break;else _0x247aac['push'](_0x247aac['shift']());}catch(_0x4263a9){_0x247aac['push'](_0x247aac['shift']());}}}(_0x4e64,0xf38d0));import{PendingActions as _0x285462,ContextPlugin as _0xbc1c4c,Editor as _0x118a9f}from'ckeditor5/src/core.js';import{Collection as _0x583adc,uid as _0x468d9a,CKEditorError as _0x581dfd,ObservableMixin as _0x489fd1}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x55767b,hashObject as _0x53a653,Users as _0x1708aa}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1c4874,isEqual as _0x59965f,set as _0x3f8bba,unset as _0x115d9d}from'es-toolkit/compat';import{CommentThreadController as _0x5db5d5}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x4c5ef5}from'./ui/view/commentthreadview.js';import{CommentView as _0x4efd6a}from'./ui/view/commentview.js';import{getTranslation as _0x13e681}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x55f3d1}from'../annotations/view/annotationview.js';import{Annotation as _0x5efe2a}from'../annotations/annotation.js';import{Annotations as _0x4e88f4}from'../annotations/annotations.js';const _t=Symbol(_0x3f3830(0x151)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0xbc1c4c{[_0x3f3830(0x181)];[_0x3f3830(0x1b4)];[_0x3f3830(0x12c)];static get[_0x3f3830(0x1c8)](){return[_0x4e88f4,_0x285462,_0x1708aa];}static get[_0x3f3830(0x1c0)](){const _0x2afd91=_0x3f3830;return _0x2afd91(0x10c);}static get[_0x3f3830(0x1bb)](){return!0x0;}static get[_0x3f3830(0x186)](){return!0x0;}constructor(_0x21f941){const _0x53cd1f=_0x3f3830;super(_0x21f941),this[_0x53cd1f(0x181)]=new Map(),this[_0x53cd1f(0x1b4)]=new Map(),this[_0x53cd1f(0x12c)]=new Map(),this[_0x53cd1f(0x137)](_0x53cd1f(0x139),new Set()),this[_0x53cd1f(0x137)](_0x53cd1f(0x12a),new Map());const _0x5bb9d6=this[_0x53cd1f(0x1a1)][_0x53cd1f(0x1d0)];_0x5bb9d6[_0x53cd1f(0x1bf)](_0x53cd1f(0x1eb),0x2),_0x5bb9d6[_0x53cd1f(0x1bf)](_0x53cd1f(0x120),0x1f4),_0x5bb9d6[_0x53cd1f(0x1bf)](_0x53cd1f(0x1e7),0x8c),_0x5bb9d6[_0x53cd1f(0x1bf)](_0x53cd1f(0x11b),_0x4c5ef5),_0x5bb9d6[_0x53cd1f(0x1bf)](_0x53cd1f(0x1e2),_0x4efd6a),_0x5bb9d6[_0x53cd1f(0x152)](_0x53cd1f(0x188))||console[_0x53cd1f(0x1af)](_0x53cd1f(0x156));}[_0x3f3830(0x1ca)](){const _0x106a16=_0x3f3830,_0x64b3bf=this[_0x106a16(0x1a1)][_0x106a16(0x13d)][_0x106a16(0x152)](_0x4e88f4);this[_0x106a16(0x137)](_0x106a16(0x17c),null),this['on'](_0x106a16(0x18b),(_0x2e7bf9,_0x37f102)=>this[_0x106a16(0x1ef)](_0x37f102)),this['on'](_0x106a16(0x161),(_0x8ac237,_0x5a4598)=>this[_0x106a16(0x13f)](_0x5a4598)),this['on'](_0x106a16(0x18a),(_0x31af3c,_0x1a8e32)=>this[_0x106a16(0x15a)](_0x1a8e32)),this['on'](_0x106a16(0x18a),(_0x5e199a,_0xa76345)=>this[_0x106a16(0x11d)](_0xa76345),{'priority':_0x106a16(0x19a)}),this['on'](_0x106a16(0x169),(_0x36439c,_0x80988d)=>this[_0x106a16(0x136)](_0x80988d)),this['on'](_0x106a16(0x169),(_0x111169,_0x544ea0)=>this[_0x106a16(0x11d)](_0x544ea0),{'priority':_0x106a16(0x19a)}),this['on'](_0x106a16(0x117),(_0x1fe0ab,_0x16e53e)=>this[_0x106a16(0x1a5)](_0x16e53e)),this['on'](_0x106a16(0x1cf),(_0x4cd505,_0x3ee74d)=>this[_0x106a16(0x144)](_0x3ee74d)),this['on'](_0x106a16(0x1cf),(_0x1e4e02,_0x54f48b)=>this[_0x106a16(0x11d)](_0x54f48b),{'priority':_0x106a16(0x19a)}),this['on'](_0x106a16(0x1e6),(_0x4d46bf,_0x24d380)=>this[_0x106a16(0x16c)](_0x24d380)),this['on'](_0x106a16(0x195),(_0x45dbd3,_0x12121c)=>this[_0x106a16(0x167)](_0x12121c)),this['on'](_0x106a16(0x1a4),(_0x2f1338,_0x290750)=>this[_0x106a16(0x183)](_0x290750)),this['on'](_0x106a16(0x1e6),(_0x192938,{threadId:_0x21493e,isFromAdapter:_0x2146c4})=>{const _0x2819b1=_0x106a16;if(_0x2146c4)return;const _0xe3fe2a=this[_0x2819b1(0x145)](_0x21493e),_0x5d7e9d=_0xe3fe2a&&this[_0x2819b1(0x1b4)][_0x2819b1(0x152)](_0xe3fe2a);_0x5d7e9d&&_0x5d7e9d[_0x2819b1(0x1ea)][_0x2819b1(0x1ed)][_0x2819b1(0x138)](-0x1);},{'priority':_0x106a16(0x19a)}),this[_0x106a16(0x1b8)](_0x64b3bf,_0x106a16(0x1e9),(_0xb9b838,_0x429efe,_0x2e8ed7)=>{const _0x9f6410=_0x106a16,_0x28100b=Array[_0x9f6410(0x157)](_0x2e8ed7)[_0x9f6410(0x1db)](_0x2784de=>this[_0x9f6410(0x12c)][_0x9f6410(0x152)](_0x2784de[_0x9f6410(0x1ce)]))[_0x9f6410(0x11f)](Boolean)[0x0];this[_0x9f6410(0x17c)]=_0x28100b?_0x28100b[_0x9f6410(0x17b)]:null;});}set[_0x3f3830(0x11a)](_0x45cf0b){const _0x4db281=_0x3f3830;if(this[_0x4db281(0x127)])throw new _0x581dfd(_0x4db281(0x1b6));this[_0x4db281(0x127)]=_0x45cf0b;}get[_0x3f3830(0x11a)](){const _0x3fd43a=_0x3f3830;return this[_0x3fd43a(0x127)];}[_0x3f3830(0x18b)]({channelId:_0x174931=_t,threadId:_0x4118ed=_0x468d9a(),comments:_0x484c65=[],unlinkedAt:_0x2602df=null,resolvedAt:_0x22a428=null,resolvedBy:_0x12deeb=null,target:_0x33dc21=null,context:_0x32aae4=null,attributes:_0x3d4279={},isResolvable:_0x43de1d=!0x0,isSubmitted:_0x1676b1=!0x1,isFromAdapter:_0x14bf58=!0x1}={}){const _0x38a15a=_0x3f3830;return this[_0x38a15a(0x1c2)](Nt(_0x38a15a(0x18b),_0x174931),{'channelId':_0x174931,'threadId':_0x4118ed,'comments':_0x484c65,'unlinkedAt':_0x2602df,'resolvedAt':_0x22a428,'resolvedBy':_0x12deeb,'target':_0x33dc21,'context':_0x32aae4,'attributes':_0x3d4279,'isFromAdapter':_0x14bf58,'isResolvable':_0x43de1d,'isSubmitted':_0x1676b1}),this[_0x38a15a(0x145)](_0x4118ed);}[_0x3f3830(0x1c4)]({channelId:_0x422895=_t,threadId:_0x5e4179=_0x468d9a(),target:_0x4bcfa5,context:_0x3e7f88=null,isResolvable:_0x56dd46=!0x0}){const _0x1b9eab=_0x3f3830;if(this[_0x1b9eab(0x139)][_0x1b9eab(0x180)](_0x422895)||this[_0x1b9eab(0x139)][_0x1b9eab(0x180)](void 0x0))return null;if(!_0x4bcfa5)throw new _0x581dfd(_0x1b9eab(0x1b1));const _0x1adad0=this[_0x1b9eab(0x18b)]({'channelId':_0x422895,'threadId':_0x5e4179,'target':_0x4bcfa5,'context':_0x3e7f88,'isResolvable':_0x56dd46});if(!_0x1adad0)return null;const _0x40f76b=this[_0x1b9eab(0x1b4)][_0x1b9eab(0x152)](_0x1adad0),_0x5870c0=_0x40f76b[_0x1b9eab(0x1ea)][_0x1b9eab(0x13a)][_0x1b9eab(0x1a6)],_0x5c1b72=this[_0x1b9eab(0x1a1)][_0x1b9eab(0x13d)][_0x1b9eab(0x152)](_0x4e88f4),_0x5c7531=_0x5c1b72[_0x1b9eab(0x187)](_0x40f76b[_0x1b9eab(0x1ea)]);return _0x5c1b72[_0x1b9eab(0x189)](_0x5c7531),_0x5870c0[_0x1b9eab(0x1d7)](_0x1b9eab(0x118),()=>_0x5870c0[_0x1b9eab(0x138)]()),_0x1adad0;}[_0x3f3830(0x166)](_0x4ea594){const _0x2fb923=_0x3f3830;if(_0x2fb923(0x130)!=typeof _0x4ea594)throw new _0x581dfd(_0x2fb923(0x182));return this[_0x2fb923(0x181)][_0x2fb923(0x180)](_0x4ea594);}[_0x3f3830(0x1cf)]({channelId:_0x38e68d=_t,threadId:_0x18eaf7,context:_0x590cc6,unlinkedAt:_0x20263e,attributes:_0x42f92e,isFromAdapter:_0x5c6bf5=!0x1}){const _0x19597d=_0x3f3830;return this[_0x19597d(0x1c2)](Nt(_0x19597d(0x1cf),_0x38e68d),{'channelId':_0x38e68d,'threadId':_0x18eaf7,'context':_0x590cc6,'unlinkedAt':_0x20263e,'attributes':_0x42f92e,'isFromAdapter':_0x5c6bf5}),this[_0x19597d(0x145)](_0x18eaf7);}[_0x3f3830(0x145)](_0x156198){const _0x39fa3e=_0x3f3830;if(_0x39fa3e(0x130)!=typeof _0x156198)throw new _0x581dfd(_0x39fa3e(0x182));return this[_0x39fa3e(0x181)][_0x39fa3e(0x152)](_0x156198);}[_0x3f3830(0x122)]({channelId:_0x22bb3d,threadId:_0x3b5e8c}={}){const _0x2a2832=_0x3f3830,_0x33f16f=this[_0x2a2832(0x145)](_0x3b5e8c);if(_0x33f16f)return Promise[_0x2a2832(0x111)](_0x33f16f);if(!this[_0x2a2832(0x11a)])return Promise[_0x2a2832(0x111)](void 0x0);if(_0x2a2832(0x19f)!=typeof this[_0x2a2832(0x11a)][_0x2a2832(0x145)])throw new _0x581dfd(_0x2a2832(0x154),this[_0x2a2832(0x1a1)]);return this[_0x2a2832(0x11a)][_0x2a2832(0x145)]({'channelId':_0x22bb3d,'threadId':_0x3b5e8c})[_0x2a2832(0x16e)](_0x44bacf=>this[_0x2a2832(0x166)](_0x3b5e8c)?this[_0x2a2832(0x145)](_0x3b5e8c):_0x44bacf?this[_0x2a2832(0x18b)](Object[_0x2a2832(0x1cc)]({'isFromAdapter':!0x0,'channelId':_0x22bb3d},_0x44bacf)):void 0x0)[_0x2a2832(0x1ad)](_0xfdc5a5=>{const _0x444d45=_0x2a2832;throw console[_0x444d45(0x15e)](_0xfdc5a5),new _0x581dfd(_0x444d45(0x113),this[_0x444d45(0x1a1)]);});}[_0x3f3830(0x1b3)]({channelId:_0x3ce0be,skipNotAttached:_0x4b597a=!0x1,skipEmpty:_0x39eb9c=!0x1,toJSON:_0x2ff97d=!0x1}={}){const _0x50f531=_0x3f3830,_0x13aed7=[];for(const _0x3b4316 of this[_0x50f531(0x181)][_0x50f531(0x1f0)]())_0x3ce0be&&_0x3b4316[_0x50f531(0x135)]!==_0x3ce0be||_0x4b597a&&!_0x3b4316[_0x50f531(0x1c1)]||_0x39eb9c&&0x0===_0x3b4316[_0x50f531(0x168)]||_0x13aed7[_0x50f531(0x12f)](_0x3b4316);return _0x2ff97d?_0x13aed7[_0x50f531(0x1db)](_0xb6538a=>_0xb6538a[_0x50f531(0x10d)]()):_0x13aed7;}[_0x3f3830(0x177)](_0x1948b0){const _0x1c3172=_0x3f3830,_0x53531b=this[_0x1c3172(0x1b4)][_0x1c3172(0x152)](_0x1948b0);if(!_0x53531b)return null;return this[_0x1c3172(0x1a1)][_0x1c3172(0x13d)][_0x1c3172(0x152)](_0x4e88f4)[_0x1c3172(0x187)](_0x53531b[_0x1c3172(0x1ea)])||null;}[_0x3f3830(0x17d)](_0x3fef30){const _0x4c5bb0=_0x3f3830,_0x41997c=this[_0x4c5bb0(0x12c)][_0x4c5bb0(0x152)](_0x3fef30[_0x4c5bb0(0x1ce)]);return _0x41997c?_0x41997c[_0x4c5bb0(0x17b)]:null;}[_0x3f3830(0x171)](_0x2aed91){const _0x570f43=_0x3f3830,_0x56379b=this[_0x570f43(0x1a1)][_0x570f43(0x13d)][_0x570f43(0x152)](_0x4e88f4);if(!_0x2aed91)return void(this[_0x570f43(0x17c)]&&_0x56379b[_0x570f43(0x1a9)]());const _0x4f6118=this[_0x570f43(0x145)](_0x2aed91);if(!_0x4f6118)throw new _0x581dfd(_0x570f43(0x12b),null,{'threadId':_0x2aed91});if(!this[_0x570f43(0x1b4)][_0x570f43(0x180)](_0x4f6118))throw new _0x581dfd(_0x570f43(0x153),null,{'threadId':_0x2aed91});const _0x14cd45=_0x56379b[_0x570f43(0x187)](this[_0x570f43(0x1b4)][_0x570f43(0x152)](_0x4f6118)[_0x570f43(0x1ea)]);_0x56379b[_0x570f43(0x189)](_0x14cd45);}[_0x3f3830(0x143)](_0x2c2e28,_0x4fb914){const _0x373fa6=_0x3f3830;_0x2c2e28?this[_0x373fa6(0x139)][_0x373fa6(0x15d)](_0x4fb914):this[_0x373fa6(0x139)][_0x373fa6(0x17f)](_0x4fb914),this[_0x373fa6(0x1c2)](_0x373fa6(0x1ab),_0x373fa6(0x139),this[_0x373fa6(0x139)],this[_0x373fa6(0x139)]);}[_0x3f3830(0x129)](_0x2572dc){const _0x3e22af=_0x3f3830;return this[_0x3e22af(0x139)][_0x3e22af(0x180)](_0x2572dc)||this[_0x3e22af(0x139)][_0x3e22af(0x180)](void 0x0);}[_0x3f3830(0x14f)](_0x399443,_0x1f9152){return new _0x5db5d5(_0x399443,_0x1f9152);}[_0x3f3830(0x1c7)](_0x57a045,_0x3dc5aa=_t){const _0x2b3f0e=_0x3f3830;this[_0x2b3f0e(0x12a)][_0x2b3f0e(0x137)](_0x3dc5aa,_0x57a045),this[_0x2b3f0e(0x1c2)](_0x2b3f0e(0x1ac),_0x2b3f0e(0x12a),this[_0x2b3f0e(0x12a)],this[_0x2b3f0e(0x12a)]);}[_0x3f3830(0x1ae)](_0x5075cc=_t){const _0x14cdd2=_0x3f3830;return this[_0x14cdd2(0x12a)][_0x14cdd2(0x180)](_0x5075cc)?this[_0x14cdd2(0x12a)][_0x14cdd2(0x152)](_0x5075cc):bt;}[_0x3f3830(0x1ef)]({channelId:_0x30f63f,threadId:_0x3bf6fb,comments:_0x2d3ed5,unlinkedAt:_0xcb02b2,resolvedAt:_0x5a1c0e,resolvedBy:_0x56d754,target:_0x43ca54,context:_0x2ccbb0,attributes:_0x148844,isFromAdapter:_0x4a4bab,isResolvable:_0x1cce6b,isSubmitted:_0x399ed7}){const _0x5c4d7d=_0x3f3830;if(_0x5c4d7d(0x130)!=typeof _0x3bf6fb)throw new _0x581dfd(_0x5c4d7d(0x182),null,{'threadId':_0x3bf6fb});if(this[_0x5c4d7d(0x166)](_0x3bf6fb))throw new _0x581dfd(_0x5c4d7d(0x131),null,{'threadId':_0x3bf6fb});const _0x21d584=new CommentThread(this,{'channelId':_0x30f63f,'id':_0x3bf6fb,'context':_0x2ccbb0,'attributes':_0x148844,'unlinkedAt':_0xcb02b2,'resolvedAt':_0x5a1c0e,'resolvedBy':_0x56d754?this[_0x5c4d7d(0x1a1)][_0x5c4d7d(0x13d)][_0x5c4d7d(0x152)](_0x1708aa)[_0x5c4d7d(0x190)](_0x56d754):null,'isResolvable':_0x1cce6b,'isSubmitted':_0x399ed7||_0x4a4bab});this[_0x5c4d7d(0x181)][_0x5c4d7d(0x137)](_0x3bf6fb,_0x21d584);for(const _0x30031a of _0x2d3ed5)_0x21d584[_0x5c4d7d(0x172)](this[_0x5c4d7d(0x1ba)]({'threadId':_0x3bf6fb,..._0x30031a}));return _0x43ca54&&_0x21d584[_0x5c4d7d(0x158)](_0x43ca54),_0x4a4bab||!_0x21d584[_0x5c4d7d(0x168)]?Promise[_0x5c4d7d(0x111)]():this[_0x5c4d7d(0x13f)]({'channelId':_0x30f63f,'threadId':_0x3bf6fb});}[_0x3f3830(0x13f)]({channelId:_0x19effb,threadId:_0x31da79}){const _0x337c6f=_0x3f3830;if(!this[_0x337c6f(0x166)](_0x31da79))throw new _0x581dfd(_0x337c6f(0x16d),this);const _0x526640=this[_0x337c6f(0x145)](_0x31da79);if(_0x526640[_0x337c6f(0x178)]=!0x0,!this[_0x337c6f(0x11a)]||_0x337c6f(0x19f)!=typeof this[_0x337c6f(0x11a)][_0x337c6f(0x18b)])return Promise[_0x337c6f(0x111)]();const {id:_0x2448de,comments:_0x1bba58,resolvedAt:_0x3cdf74,resolvedBy:_0x56ed84,context:_0x17f105,attributes:_0x372734}=_0x526640,_0x535889=this[_0x337c6f(0x1a1)][_0x337c6f(0x13d)][_0x337c6f(0x152)](_0x337c6f(0x1ec)),_0x9255c0=_0x535889[_0x337c6f(0x15d)](_0x13e681(this[_0x337c6f(0x1a1)][_0x337c6f(0x1c6)],_0x337c6f(0x15f)));return this[_0x337c6f(0x11a)][_0x337c6f(0x18b)]({'channelId':_0x19effb,'threadId':_0x2448de,'comments':_0x1bba58[_0x337c6f(0x1db)](_0x450e73=>_0x450e73[_0x337c6f(0x10d)]()),'resolvedAt':_0x3cdf74,'resolvedBy':_0x56ed84?_0x56ed84['id']:_0x56ed84,'context':_0x17f105,'attributes':_0x372734})[_0x337c6f(0x16e)](({comments:_0x358c11})=>{const _0x40cac4=_0x337c6f;_0x535889[_0x40cac4(0x176)](_0x9255c0);for(const _0x3c6247 of _0x358c11)this[_0x40cac4(0x167)]({'channelId':_0x19effb,'threadId':_0x31da79,'commentId':_0x3c6247[_0x40cac4(0x114)],'createdAt':_0x3c6247[_0x40cac4(0x173)],'isFromAdapter':!0x0});})[_0x337c6f(0x1ad)](_0x5ca018=>{const _0x2cd8e9=_0x337c6f;throw console[_0x2cd8e9(0x15e)](_0x5ca018),new _0x581dfd(_0x2cd8e9(0x1a8),this);});}[_0x3f3830(0x1a7)]({threadId:_0x3362c1,target:_0x4b4e68}){const _0x2c220d=_0x3f3830,_0x330f24=this[_0x2c220d(0x145)](_0x3362c1);if(!_0x330f24)throw new _0x581dfd(_0x2c220d(0x128),this);const _0x4a9aff=this[_0x2c220d(0x1a1)][_0x2c220d(0x13d)][_0x2c220d(0x152)](_0x2c220d(0x1ec)),_0x321505=this[_0x2c220d(0x1a1)][_0x2c220d(0x13d)][_0x2c220d(0x152)](_0x4e88f4),_0x3071e8=this[_0x2c220d(0x1da)](_0x330f24),_0xeb811b=new _0x5db5d5(_0x330f24,_0x3071e8);let _0x30b831=null;_0x3071e8['on'](_0x2c220d(0x13e),(_0x44ab14,_0xb0d5ed,_0x56beba)=>{const _0x438537=_0x2c220d;_0x56beba?_0x30b831=_0x4a9aff[_0x438537(0x15d)](_0x13e681(this[_0x438537(0x1a1)][_0x438537(0x1c6)],_0x438537(0x15f))):_0x30b831&&(_0x4a9aff[_0x438537(0x176)](_0x30b831),_0x30b831=null);}),this[_0x2c220d(0x1b4)][_0x2c220d(0x137)](_0x330f24,_0xeb811b),this[_0x2c220d(0x12c)][_0x2c220d(0x137)](_0x3071e8,_0xeb811b);const _0x57eef7=new _0x55f3d1(this[_0x2c220d(0x1a1)][_0x2c220d(0x1c6)],_0x3071e8);_0x57eef7[_0x2c220d(0x1b7)](_0x2c220d(0x168))['to'](_0x3071e8),_0x57eef7[_0x2c220d(0x1b7)](_0x2c220d(0x125))['to'](_0x3071e8,_0x2c220d(0x125),_0x3071e8,_0x2c220d(0x168),(_0x3e9be6,_0x38eb2e)=>_0x3e9be6||!_0x38eb2e),_0x57eef7[_0x2c220d(0x1b7)](_0x2c220d(0x1dd))['to'](_0x3071e8),_0x57eef7[_0x2c220d(0x121)]=_0x2c220d(0x146);const _0x54e483=new _0x5efe2a({'view':_0x57eef7,'target':_0x4b4e68,'type':_0x2c220d(0x146),'isVisible':!_0x330f24[_0x2c220d(0x12d)]&&!!(_0x2c220d(0x19f)==typeof _0x4b4e68?_0x4b4e68():_0x4b4e68)});return _0x3071e8['on'](_0x2c220d(0x162),()=>{const _0x4700a7=_0x2c220d;_0x54e483[_0x4700a7(0x1c2)](_0x4700a7(0x162));}),this[_0x2c220d(0x141)](_0x3071e8,_0x54e483),_0x321505[_0x2c220d(0x15d)](_0x54e483),_0x54e483;}[_0x3f3830(0x141)](_0x54b3a3,_0x4f236a){const _0x45cbdc=_0x3f3830;this[_0x45cbdc(0x1b8)](_0x54b3a3,_0x45cbdc(0x118),(_0x3a2f4b,_0x1d467d)=>{const _0xbbc0c6=_0x45cbdc,_0x20bd3f=_0x1d467d['ui'][_0xbbc0c6(0x1ea)][_0xbbc0c6(0x13b)][_0xbbc0c6(0x196)];_0x4f236a[_0xbbc0c6(0x1e0)][_0xbbc0c6(0x15d)](_0x20bd3f),this[_0xbbc0c6(0x1a1)]instanceof _0x118a9f&&this[_0xbbc0c6(0x1a1)]['ui'][_0xbbc0c6(0x1a3)][_0xbbc0c6(0x15d)](_0x20bd3f);},{'priority':_0x45cbdc(0x1e4)}),this[_0x45cbdc(0x1b8)](_0x54b3a3,_0x45cbdc(0x175),(_0x37f71f,_0x1ab527)=>{const _0x4ace15=_0x45cbdc,_0x23770e=_0x1ab527['ui'][_0x4ace15(0x1ea)][_0x4ace15(0x13b)][_0x4ace15(0x196)];_0x4f236a[_0x4ace15(0x1e0)][_0x4ace15(0x180)](_0x23770e)&&_0x4f236a[_0x4ace15(0x1e0)][_0x4ace15(0x176)](_0x23770e),this[_0x4ace15(0x1a1)]instanceof _0x118a9f&&this[_0x4ace15(0x1a1)]['ui'][_0x4ace15(0x1a3)][_0x4ace15(0x176)](_0x23770e);});}[_0x3f3830(0x16a)](_0x1868a1){const _0x1b73eb=_0x3f3830;this[_0x1b73eb(0x10e)](_0x1868a1,_0x1b73eb(0x118)),this[_0x1b73eb(0x10e)](_0x1868a1,_0x1b73eb(0x175));}[_0x3f3830(0x1da)](_0x482cc8){const _0x42a916=_0x3f3830,_0x3677a4=this[_0x42a916(0x1a1)][_0x42a916(0x13d)][_0x42a916(0x152)](_0x1708aa),{config:_0x10c980,locale:_0x5a681d}=this[_0x42a916(0x1a1)],_0x4f229e=_0x55767b(_0x10c980[_0x42a916(0x152)](_0x42a916(0x1c6)),_0x5a681d);return new(0x0,(_0x10c980[_0x42a916(0x152)](_0x42a916(0x134)))[(_0x42a916(0x132))])(_0x5a681d,_0x482cc8,_0x3677a4['me'],{'editorConfig':{..._0x10c980[_0x42a916(0x152)](_0x42a916(0x188)),'licenseKey':this[_0x42a916(0x1a1)][_0x42a916(0x1d0)][_0x42a916(0x152)](_0x42a916(0x160))},'copyMarkers':_0x10c980[_0x42a916(0x152)](_0x42a916(0x1d5)),'maxCommentsWhenCollapsed':_0x10c980[_0x42a916(0x152)](_0x42a916(0x1eb)),'maxThreadTotalWeight':_0x10c980[_0x42a916(0x152)](_0x42a916(0x120)),'maxCommentCharsWhenCollapsed':_0x10c980[_0x42a916(0x152)](_0x42a916(0x1e7)),'formatDateTime':_0x4f229e,'CommentView':_0x10c980[_0x42a916(0x152)](_0x42a916(0x134))[_0x42a916(0x1cd)]});}[_0x3f3830(0x15a)]({threadId:_0x5ea3a7,channelId:_0x1ff86b,resolvedAt:_0x3a9fe2,resolvedBy:_0x2a6b40,isFromAdapter:_0x58e29c}){const _0x52ae23=_0x3f3830;if(!this[_0x52ae23(0x166)](_0x5ea3a7))throw new _0x581dfd(_0x52ae23(0x16d),null,{'threadId':_0x5ea3a7});const _0x4b91ee=this[_0x52ae23(0x145)](_0x5ea3a7);if(_0x4b91ee[_0x52ae23(0x13c)])throw new _0x581dfd(_0x52ae23(0x1aa),null,{'threadId':_0x5ea3a7});const _0x33b083=this[_0x52ae23(0x1a1)][_0x52ae23(0x13d)][_0x52ae23(0x152)](_0x1708aa);if(_0x4b91ee[_0x52ae23(0x1de)]=_0x33b083[_0x52ae23(0x190)](_0x2a6b40),_0x4b91ee[_0x52ae23(0x1bc)]=_0x3a9fe2,_0x58e29c||!this[_0x52ae23(0x11a)]||_0x52ae23(0x19f)!=typeof this[_0x52ae23(0x11a)][_0x52ae23(0x18a)])return Promise[_0x52ae23(0x111)]();const _0x486ebf=this[_0x52ae23(0x1a1)][_0x52ae23(0x13d)][_0x52ae23(0x152)](_0x52ae23(0x1ec)),_0x22cb6f=_0x486ebf[_0x52ae23(0x15d)](_0x13e681(this[_0x52ae23(0x1a1)][_0x52ae23(0x1c6)],_0x52ae23(0x15f)));return this[_0x52ae23(0x11a)][_0x52ae23(0x18a)]({'channelId':_0x1ff86b,'threadId':_0x5ea3a7})[_0x52ae23(0x16e)](({resolvedAt:_0x29656c,resolvedBy:_0x1c3561})=>{const _0x5d331c=_0x52ae23;_0x486ebf[_0x5d331c(0x176)](_0x22cb6f),_0x4b91ee[_0x5d331c(0x1de)]['id']!==_0x1c3561&&(_0x4b91ee[_0x5d331c(0x1de)]=_0x33b083[_0x5d331c(0x190)](_0x1c3561)),_0x4b91ee[_0x5d331c(0x1bc)]=_0x29656c;})[_0x52ae23(0x1ad)](_0x74d982=>{const _0x342804=_0x52ae23;throw console[_0x342804(0x15e)](_0x74d982),new _0x581dfd(_0x342804(0x17e),this);});}[_0x3f3830(0x136)]({threadId:_0x5d9530,channelId:_0x201f2d,isFromAdapter:_0x7967f3}){const _0x57efcc=_0x3f3830;if(!this[_0x57efcc(0x166)](_0x5d9530))throw new _0x581dfd(_0x57efcc(0x16d),null,{'threadId':_0x5d9530});const _0x8cf000=this[_0x57efcc(0x145)](_0x5d9530);if(!_0x8cf000[_0x57efcc(0x13c)])throw new _0x581dfd(_0x57efcc(0x1c5),null,{'threadId':_0x5d9530});if(_0x8cf000[_0x57efcc(0x1de)]=null,_0x8cf000[_0x57efcc(0x1bc)]=null,_0x7967f3||!this[_0x57efcc(0x11a)]||_0x57efcc(0x19f)!=typeof this[_0x57efcc(0x11a)][_0x57efcc(0x169)])return Promise[_0x57efcc(0x111)]();const _0x46f253=this[_0x57efcc(0x1a1)][_0x57efcc(0x13d)][_0x57efcc(0x152)](_0x57efcc(0x1ec)),_0x390088=_0x46f253[_0x57efcc(0x15d)](_0x13e681(this[_0x57efcc(0x1a1)][_0x57efcc(0x1c6)],_0x57efcc(0x15f)));return this[_0x57efcc(0x11a)][_0x57efcc(0x169)]({'channelId':_0x201f2d,'threadId':_0x5d9530})[_0x57efcc(0x16e)](()=>_0x46f253[_0x57efcc(0x176)](_0x390088))[_0x57efcc(0x1ad)](_0x44871b=>{const _0x5b3023=_0x57efcc;throw console[_0x5b3023(0x15e)](_0x44871b),new _0x581dfd(_0x5b3023(0x197),this);});}[_0x3f3830(0x1a5)]({threadId:_0x3a33cc,isFromAdapter:_0xe26f08}){const _0x1b1da5=_0x3f3830,_0x5868b5=this[_0x1b1da5(0x145)](_0x3a33cc);if(!_0x5868b5)throw new _0x581dfd(_0x1b1da5(0x193),this);if(this[_0x1b1da5(0x17a)](_0x3a33cc),this[_0x1b1da5(0x181)][_0x1b1da5(0x17f)](_0x3a33cc),!_0x5868b5[_0x1b1da5(0x123)]||_0xe26f08||!this[_0x1b1da5(0x11a)]||_0x1b1da5(0x19f)!=typeof this[_0x1b1da5(0x11a)][_0x1b1da5(0x117)])return Promise[_0x1b1da5(0x111)]();const _0x1b91ce=this[_0x1b1da5(0x1a1)][_0x1b1da5(0x13d)][_0x1b1da5(0x152)](_0x1b1da5(0x1ec)),{channelId:_0x7dedc7}=_0x5868b5,_0x3ca888=_0x1b91ce[_0x1b1da5(0x15d)](_0x13e681(this[_0x1b1da5(0x1a1)][_0x1b1da5(0x1c6)],_0x1b1da5(0x15f)));return this[_0x1b1da5(0x11a)][_0x1b1da5(0x117)]({'channelId':_0x7dedc7,'threadId':_0x3a33cc})[_0x1b1da5(0x16e)](()=>_0x1b91ce[_0x1b1da5(0x176)](_0x3ca888))[_0x1b1da5(0x1ad)](_0x2bf672=>{const _0x101a33=_0x1b1da5;throw console[_0x101a33(0x15e)](_0x2bf672),new _0x581dfd(_0x101a33(0x112),this);});}[_0x3f3830(0x144)]({threadId:_0x38104a,unlinkedAt:_0xa8046a,context:_0x298d9e,attributes:_0x171e2c,isFromAdapter:_0x1329cc}){const _0x15185c=_0x3f3830;if(_0x15185c(0x130)!=typeof _0x38104a)throw new _0x581dfd(_0x15185c(0x182),null,{'threadId':_0x38104a});if(!this[_0x15185c(0x166)](_0x38104a))throw new _0x581dfd(_0x15185c(0x16d),null,{'threadId':_0x38104a});const _0x21cd9e=this[_0x15185c(0x145)](_0x38104a);let _0x438521=!0x1;if(void 0x0!==_0x298d9e&&_0x21cd9e[_0x15185c(0x1a1)]!==_0x298d9e&&(_0x21cd9e[_0x15185c(0x1a1)]=_0x298d9e,_0x438521=!0x0),void 0x0!==_0xa8046a&&_0x21cd9e[_0x15185c(0x170)]!==_0xa8046a&&(_0x21cd9e[_0x15185c(0x170)]=_0xa8046a,_0x438521=!0x0),_0x171e2c&&!_0x59965f(_0x171e2c,_0x21cd9e[_0x15185c(0x1d6)])&&(_0x21cd9e[_0x15185c(0x1d6)]=_0x171e2c,_0x438521=!0x0),!_0x438521)return Promise[_0x15185c(0x111)]();if(!_0x21cd9e[_0x15185c(0x123)]||_0x1329cc||!this[_0x15185c(0x11a)]||_0x15185c(0x19f)!=typeof this[_0x15185c(0x11a)][_0x15185c(0x1cf)])return Promise[_0x15185c(0x111)]();const _0x12b58e=this[_0x15185c(0x1a1)][_0x15185c(0x13d)][_0x15185c(0x152)](_0x15185c(0x1ec)),{channelId:_0x1744b1}=_0x21cd9e,_0x4ecf76=_0x12b58e[_0x15185c(0x15d)](_0x13e681(this[_0x15185c(0x1a1)][_0x15185c(0x1c6)],_0x15185c(0x15f)));return this[_0x15185c(0x11a)][_0x15185c(0x1cf)]({'channelId':_0x1744b1,'threadId':_0x38104a,'context':_0x298d9e,'unlinkedAt':_0xa8046a,'attributes':_0x171e2c})[_0x15185c(0x16e)](()=>_0x12b58e[_0x15185c(0x176)](_0x4ecf76))[_0x15185c(0x1ad)](_0x4eba03=>{const _0xffc9a9=_0x15185c;throw console[_0xffc9a9(0x15e)](_0x4eba03),new _0x581dfd(_0xffc9a9(0x1dc),this);});}[_0x3f3830(0x17a)](_0x2d55ea){const _0x34ddb9=_0x3f3830,_0x247413=this[_0x34ddb9(0x1a1)][_0x34ddb9(0x13d)][_0x34ddb9(0x152)](_0x4e88f4),_0x3304a4=this[_0x34ddb9(0x145)](_0x2d55ea);if(_0x3304a4[_0x34ddb9(0x1e1)]=!0x1,this[_0x34ddb9(0x1b4)][_0x34ddb9(0x180)](_0x3304a4)){const _0x434326=this[_0x34ddb9(0x1b4)][_0x34ddb9(0x152)](_0x3304a4),_0x2b34c0=_0x434326[_0x34ddb9(0x1ea)],_0x298a4a=_0x247413[_0x34ddb9(0x187)](_0x2b34c0);this[_0x34ddb9(0x1b4)][_0x34ddb9(0x17f)](_0x3304a4),this[_0x34ddb9(0x12c)][_0x34ddb9(0x17f)](_0x2b34c0),_0x298a4a&&_0x247413[_0x34ddb9(0x176)](_0x298a4a),_0x434326[_0x34ddb9(0x198)](),_0x2b34c0[_0x34ddb9(0x198)]()[_0x34ddb9(0x16e)](()=>{const _0x68d319=_0x34ddb9;this[_0x68d319(0x16a)](_0x2b34c0);});}}[_0x3f3830(0x11d)]({threadId:_0x2a4d0b,resolvedAt:_0x5e7511,unlinkedAt:_0x180491}){const _0x21e572=_0x3f3830,_0x5f14a7=!!_0x5e7511,_0x2d087=this[_0x21e572(0x1a1)][_0x21e572(0x13d)][_0x21e572(0x152)](_0x4e88f4),_0x1250e1=this[_0x21e572(0x145)](_0x2a4d0b);if(this[_0x21e572(0x1b4)][_0x21e572(0x180)](_0x1250e1)){const _0x56802c=this[_0x21e572(0x1b4)][_0x21e572(0x152)](_0x1250e1)[_0x21e572(0x1ea)],_0x2def34=_0x2d087[_0x21e572(0x187)](_0x56802c);_0x2def34&&(_0x5f14a7&&_0x2d087[_0x21e572(0x14b)](_0x2def34),_0x180491?_0x2def34[_0x21e572(0x1d3)]=!0x1:_0x2def34[_0x21e572(0x12e)]());}}[_0x3f3830(0x191)](_0x2530a1){const _0x46b49a=_0x3f3830,_0x1bafe8=this[_0x46b49a(0x1a1)][_0x46b49a(0x13d)][_0x46b49a(0x152)](_0x1708aa),_0x102951=_0x53a653(_0x46b49a(0x1be)+_0x2530a1),_0x263811=_0x1bafe8[_0x46b49a(0x190)](_0x102951);return _0x263811||_0x1bafe8[_0x46b49a(0x1b2)]({'id':_0x102951,'name':_0x2530a1});}[_0x3f3830(0x1ba)]({threadId:_0x19ce35,commentId:_0x641ed4=_0x468d9a(),content:_0x55e2e9,authorId:_0x5a74c4,createdAt:_0x1e3631,attributes:_0x29914b}){const _0x47bb08=_0x3f3830;if(_0x47bb08(0x130)!=typeof _0x641ed4)throw new _0x581dfd(_0x47bb08(0x11e));if(_0x47bb08(0x130)!=typeof _0x5a74c4)throw new _0x581dfd(_0x47bb08(0x14e));if(_0x47bb08(0x130)!=typeof _0x55e2e9||!_0x55e2e9[_0x47bb08(0x1c3)]())throw new _0x581dfd(_0x47bb08(0x179));const _0xae288a=this[_0x47bb08(0x1a1)][_0x47bb08(0x13d)][_0x47bb08(0x152)](_0x1708aa)[_0x47bb08(0x190)](_0x5a74c4);if(!_0xae288a)throw new _0x581dfd(_0x47bb08(0x1cb),null,{'authorId':_0x5a74c4});let _0x2e2cce=null,_0x26104b=_0x1e3631;return _0x29914b?.[_0x47bb08(0x119)]&&(_0x2e2cce=this[_0x47bb08(0x191)](_0x29914b[_0x47bb08(0x119)][_0x47bb08(0x18e)]),_0x26104b=new Date(_0x29914b[_0x47bb08(0x119)][_0x47bb08(0x173)])),new Comment(this,{'threadId':_0x19ce35,'id':_0x641ed4,'author':_0x2e2cce||_0xae288a,'creator':_0xae288a,'content':_0x55e2e9,'createdAt':_0x1e3631,'authoredAt':_0x26104b,'attributes':_0x29914b});}[_0x3f3830(0x16c)](_0x4acec0){const _0x3cdcd1=_0x3f3830;let {threadId:_0xa931b9,content:_0x467b77,attributes:_0x1d1bd5,isFromAdapter:_0x278fb8}=_0x4acec0;const _0x1780e2=this[_0x3cdcd1(0x145)](_0x4acec0[_0x3cdcd1(0x150)]);if(!_0x1780e2)throw new _0x581dfd(_0x3cdcd1(0x1a2),this);const _0x37e586=this[_0x3cdcd1(0x1ba)](_0x4acec0),{id:_0x2eaaeb}=_0x37e586;if(_0x1780e2[_0x3cdcd1(0x172)](_0x37e586),_0x278fb8||!this[_0x3cdcd1(0x11a)]||_0x3cdcd1(0x19f)!=typeof this[_0x3cdcd1(0x11a)][_0x3cdcd1(0x1e6)]||!_0x1780e2[_0x3cdcd1(0x123)])return Promise[_0x3cdcd1(0x111)]();const _0x535242=this[_0x3cdcd1(0x1a1)][_0x3cdcd1(0x13d)][_0x3cdcd1(0x152)](_0x3cdcd1(0x1ec)),{channelId:_0x3f5456}=_0x1780e2,_0x5a1eaf=_0x535242[_0x3cdcd1(0x15d)](_0x13e681(this[_0x3cdcd1(0x1a1)][_0x3cdcd1(0x1c6)],_0x3cdcd1(0x15f)));return _0x1d1bd5||(_0x1d1bd5={}),this[_0x3cdcd1(0x11a)][_0x3cdcd1(0x1e6)]({'channelId':_0x3f5456,'threadId':_0xa931b9,'commentId':_0x2eaaeb,'content':_0x467b77,'attributes':_0x1d1bd5})[_0x3cdcd1(0x16e)](_0x3ba6fc=>{const _0x1b9587=_0x3cdcd1;_0x535242[_0x1b9587(0x176)](_0x5a1eaf),_0x3ba6fc&&this[_0x1b9587(0x167)]({'channelId':_0x3f5456,'threadId':_0xa931b9,'commentId':_0x2eaaeb,'createdAt':_0x3ba6fc[_0x1b9587(0x173)],'isFromAdapter':!0x0});})[_0x3cdcd1(0x1ad)](_0x5e7908=>{const _0x3212ad=_0x3cdcd1;throw console[_0x3212ad(0x15e)](_0x5e7908),new _0x581dfd(_0x3212ad(0x14a),this);});}[_0x3f3830(0x167)]({threadId:_0x9c4dc9,commentId:_0x296080,content:_0x20c310,createdAt:_0x4be309,attributes:_0x51444b,isFromAdapter:_0x481a01}){const _0x586df1=_0x3f3830;if(void 0x0!==_0x20c310&&(_0x586df1(0x130)!=typeof _0x20c310||!_0x20c310[_0x586df1(0x1c3)]()[_0x586df1(0x168)]))throw new _0x581dfd(_0x586df1(0x1bd));const _0x241cd4=this[_0x586df1(0x145)](_0x9c4dc9),_0x37117b=_0x241cd4[_0x586df1(0x18c)](_0x296080);if(!_0x37117b)throw new _0x581dfd(_0x586df1(0x1f1),this);let _0x16b6f5=!0x1;if(_0x20c310&&_0x20c310!==_0x37117b[_0x586df1(0x19e)]&&(_0x37117b[_0x586df1(0x185)]||_0x481a01)&&(_0x37117b[_0x586df1(0x19e)]=_0x20c310,_0x16b6f5=!0x0),_0x4be309&&_0x4be309!==_0x37117b[_0x586df1(0x173)]&&(_0x37117b[_0x586df1(0x173)]=_0x4be309,_0x37117b[_0x586df1(0x1d6)]&&_0x37117b[_0x586df1(0x1d6)][_0x586df1(0x119)]||(_0x37117b[_0x586df1(0x10f)]=_0x4be309),_0x16b6f5=!0x0),_0x51444b&&!_0x59965f(_0x51444b,_0x37117b[_0x586df1(0x1d6)])&&(_0x37117b[_0x586df1(0x1d6)]=_0x51444b,_0x16b6f5=!0x0),!_0x16b6f5)return Promise[_0x586df1(0x111)]();if(_0x241cd4[_0x586df1(0x1c2)](_0x586df1(0x1ee)),_0x481a01||!this[_0x586df1(0x11a)]||_0x586df1(0x19f)!=typeof this[_0x586df1(0x11a)][_0x586df1(0x195)])return Promise[_0x586df1(0x111)]();const _0x5bafdc=this[_0x586df1(0x1a1)][_0x586df1(0x13d)][_0x586df1(0x152)](_0x586df1(0x1ec)),{channelId:_0x10fafa}=this[_0x586df1(0x145)](_0x37117b[_0x586df1(0x150)]),_0x5d8f88=_0x5bafdc[_0x586df1(0x15d)](_0x13e681(this[_0x586df1(0x1a1)][_0x586df1(0x1c6)],_0x586df1(0x15f)));return this[_0x586df1(0x11a)][_0x586df1(0x195)]({'channelId':_0x10fafa,'threadId':_0x9c4dc9,'commentId':_0x296080,'content':_0x20c310,'attributes':_0x51444b})[_0x586df1(0x16e)](()=>_0x5bafdc[_0x586df1(0x176)](_0x5d8f88))[_0x586df1(0x1ad)](_0x3989ff=>{const _0x2e55cc=_0x586df1;throw console[_0x2e55cc(0x15e)](_0x3989ff),new _0x581dfd(_0x2e55cc(0x126),this);});}[_0x3f3830(0x183)]({threadId:_0x5d1115,commentId:_0x14db53,isFromAdapter:_0x2edfbb}){const _0x2e32e1=_0x3f3830,_0x164a7b=this[_0x2e32e1(0x145)](_0x5d1115),_0x89acd6=_0x164a7b[_0x2e32e1(0x18c)](_0x14db53);if(!_0x89acd6)throw new _0x581dfd(_0x2e32e1(0x115),this);if(_0x164a7b[_0x2e32e1(0x110)](_0x89acd6),_0x2edfbb||!this[_0x2e32e1(0x11a)]||_0x2e32e1(0x19f)!=typeof this[_0x2e32e1(0x11a)][_0x2e32e1(0x1a4)])return Promise[_0x2e32e1(0x111)]();const _0x532614=this[_0x2e32e1(0x1a1)][_0x2e32e1(0x13d)][_0x2e32e1(0x152)](_0x2e32e1(0x1ec)),{channelId:_0x5b7539}=_0x164a7b,_0x43a4d8=_0x532614[_0x2e32e1(0x15d)](_0x13e681(this[_0x2e32e1(0x1a1)][_0x2e32e1(0x1c6)],_0x2e32e1(0x15f)));return this[_0x2e32e1(0x11a)][_0x2e32e1(0x1a4)]({'channelId':_0x5b7539,'threadId':_0x5d1115,'commentId':_0x14db53})[_0x2e32e1(0x16e)](()=>_0x532614[_0x2e32e1(0x176)](_0x43a4d8))[_0x2e32e1(0x1ad)](_0x16faae=>{const _0x3a9886=_0x2e32e1;throw console[_0x3a9886(0x15e)](_0x16faae),new _0x581dfd(_0x3a9886(0x14d),this);});}}function _0x4e64(){const _0x34ed85=['body','isResolved','plugins','change:isDirty','_submitCommentThread','canComment','_bindAnnotationToEditors','2299328WgnKvj','switchReadOnly','_updateCommentThread','getCommentThread','comment','2429289oXAkYA','setAttribute','textContent','commentsrepository-add-comment-internal-error','_removeActiveAnnotation','546521PcRSYW','commentsrepository-remove-comment-internal-error','commentsrepository-invalid-comment-authorid','createCommentThreadController','threadId','noChannel','get','commentsrepository-active-not-attached','commentsrepository-missing-thread-and-adapter-method','commentsrepository-update-comment-missing-comment-thread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','from','attachTo','author','_resolveCommentThread','_findOptimalIndex','14JrEMdj','add','error','PENDING_ACTION_COMMENT_THREAD','licenseKey','submitCommentThread','escape','creator','reduce','submit','hasCommentThread','_updateComment','length','reopenCommentThread','_unbindEditors','commentsrepository-remove-comment-missing-comment-thread','_addComment','commentsrepository-missing-comment-thread','then','1981608jQvddw','unlinkedAt','setActiveCommentThread','_add','createdAt','isFromAdapter','editorDestroyed','remove','getAnnotationForCommentThread','_isSubmitted','commentsrepository-invalid-comment-content','_detachCommentThread','model','activeCommentThread','getCommentThreadForAnnotation','commentsrepository-resolve-comment-thread-internal-error','delete','has','_threads','commentsrepository-invalid-comment-thread-id','_removeComment','modifyAll','isEditable','isPremiumPlugin','getByInnerView','comments.editorConfig','activate','resolveCommentThread','addCommentThread','getComment','innerHTML','authorName','setContext','getUser','_getExternalAuthor','_hasTargetInContent','commentsrepository-remove-missing-comment-thread','weight','updateComment','bodyCollectionContainer','commentsrepository-reopen-comment-thread-internal-error','destroy','admin','lowest','5973048FHDpPA','find','change:authoredAt','content','function','reopen','context','commentsrepository-add-comment-to-missing-comment-thread','focusTracker','removeComment','_removeCommentThread','commentInputView','_attachCommentThread','commentsrepository-add-comment-thread-internal-error','deactivateAll','commentsrepository-resolved-comment-thread','change:_readOnlyChannels','change:_permissions','catch','getPermissions','warn','createElement','commentsrepository-missing-target','addUser','getCommentThreads','_threadToController','176300AZtnVN','commentsrepository-adapter-already-set','bind','listenTo','commentsrepository-get-comment-invalid-id','_createNewComment','isOfficialPlugin','resolvedAt','commentsrepository-update-comment-invalid-content','external:','define','pluginName','isAttached','fire','trim','openNewCommentThread','commentsrepository-reopen-comment-thread','locale','setPermissions','requires','removeAttribute','init','commentsrepository-add-comment-user-not-exists','assign','CommentView','innerView','updateCommentThread','config','write','isResolvable','isVisible','7909448KbrgKL','comments.copyMarkers','attributes','once','getIndex','isExternal','_createCommentThreadView','map','commentsrepository-update-comment-thread-internal-error','isActive','resolvedBy','update','focusableElements','_isAttached','comments.CommentView','div','highest','_update','addComment','comments.maxCommentCharsWhenCollapsed','max','change:activeAnnotations','view','comments.maxCommentsWhenCollapsed','PendingActions','commentsListView','commentUpdated','_addCommentThread','values','commentsrepository-update-missing-comment','CommentsRepository','toJSON','stopListening','authoredAt','_remove','resolve','commentsrepository-remove-comment-thread-internal-error','commentsrepository-fetch-comment-thread','commentId','commentsrepository-remove-missing-comment','getTime','removeCommentThread','editorReady','@external','adapter','comments.CommentThreadView','setUnlinkedAt','_updateActiveAnnotation','commentsrepository-invalid-commentid','filter','comments.maxThreadTotalWeight','type','fetchCommentThread','isSubmitted','isRemovable','isDirty','commentsrepository-update-comment-internal-error','_adapter','commentsrepository-attach-missing-comment-thread','isReadOnly','_permissions','commentsrepository-active-missing-comment-thread','_viewToController','archivedAt','refreshVisibility','push','string','commentsrepository-duplicated-comment-thread-id','CommentThreadView','_repository','comments','channelId','_reopenCommentThread','set','focus','_readOnlyChannels','commentThreadInputView'];_0x4e64=function(){return _0x34ed85;};return _0x4e64();}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x489fd1(){[_0x3f3830(0x135)];['id'];[_0x3f3830(0x1e1)];[_0x3f3830(0x178)];[_0x3f3830(0x134)];[_0x3f3830(0x133)];constructor(_0x2501cd,_0x877611){const _0x5aadfb=_0x3f3830;super();const _0x2429ef=_0x877611[_0x5aadfb(0x1d2)];this[_0x5aadfb(0x135)]=_0x877611[_0x5aadfb(0x135)],this['id']=_0x877611['id'],this[_0x5aadfb(0x134)]=new _0x583adc(),this[_0x5aadfb(0x133)]=_0x2501cd,this[_0x5aadfb(0x1e1)]=!0x1,this[_0x5aadfb(0x178)]=_0x877611[_0x5aadfb(0x123)],this[_0x5aadfb(0x137)](_0x5aadfb(0x192),!0x0),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x129))['to'](_0x2501cd,_0x5aadfb(0x12a),_0x2501cd,_0x5aadfb(0x139),()=>_0x2501cd[_0x5aadfb(0x129)](this[_0x5aadfb(0x135)])),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x124))['to'](_0x2501cd,_0x5aadfb(0x12a),()=>_0x2501cd[_0x5aadfb(0x1ae)](this[_0x5aadfb(0x135)])[_0x5aadfb(0x199)]),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x140))['to'](_0x2501cd,_0x5aadfb(0x12a),()=>{const _0x23faa7=_0x5aadfb,_0x3ee0c5=_0x2501cd[_0x23faa7(0x1ae)](this[_0x23faa7(0x135)]);return _0x3ee0c5[_0x23faa7(0x1d1)]||_0x3ee0c5[_0x23faa7(0x199)];}),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x1d2))['to'](_0x2501cd,_0x5aadfb(0x12a),()=>_0x2429ef&&_0x2501cd[_0x5aadfb(0x1ae)](this[_0x5aadfb(0x135)])[_0x5aadfb(0x111)]),this[_0x5aadfb(0x137)](_0x5aadfb(0x1a1),_0x877611[_0x5aadfb(0x1a1)]),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x12d))['to'](this,_0x5aadfb(0x1bc),this,_0x5aadfb(0x170),(_0x16cf7b,_0x540bb3)=>_0x16cf7b?_0x540bb3?_0x16cf7b<_0x540bb3?_0x16cf7b:_0x540bb3:_0x16cf7b:_0x540bb3),this[_0x5aadfb(0x137)](_0x5aadfb(0x170),_0x877611[_0x5aadfb(0x170)]||null),this[_0x5aadfb(0x137)](_0x5aadfb(0x1bc),_0x877611[_0x5aadfb(0x1bc)]||null),this[_0x5aadfb(0x137)](_0x5aadfb(0x1de),_0x877611[_0x5aadfb(0x1de)]||null),this[_0x5aadfb(0x1b7)](_0x5aadfb(0x13c))['to'](this,_0x5aadfb(0x1bc),_0x38ef8f=>!!_0x38ef8f),this[_0x5aadfb(0x137)](_0x5aadfb(0x1d6),_0x877611[_0x5aadfb(0x1d6)]||{});}get[_0x3f3830(0x194)](){const _0xeb14ae=_0x3f3830;return Array[_0xeb14ae(0x157)](this[_0xeb14ae(0x134)])[_0xeb14ae(0x164)]((_0x4b4403,_0x3e7413)=>_0x4b4403+_0x3e7413[_0xeb14ae(0x194)],0x0);}get[_0x3f3830(0x168)](){const _0x4aad9e=_0x3f3830;return this[_0x4aad9e(0x134)][_0x4aad9e(0x168)];}get[_0x3f3830(0x1c1)](){const _0x24732a=_0x3f3830;return this[_0x24732a(0x1e1)];}get[_0x3f3830(0x123)](){const _0x1cd8fb=_0x3f3830;return this[_0x1cd8fb(0x178)];}[_0x3f3830(0x165)](){const _0x181149=_0x3f3830,{channelId:_0xc251cc,id:_0x1fef62}=this;this[_0x181149(0x133)][_0x181149(0x1c2)](Nt(_0x181149(0x161),_0xc251cc),{'channelId':_0xc251cc,'threadId':_0x1fef62});}[_0x3f3830(0x11c)](_0x4213dc){const _0xde39f0=_0x3f3830;this[_0xde39f0(0x1e5)]({'unlinkedAt':_0x4213dc});}[_0x3f3830(0x111)]({resolvedAt:_0x239211=new Date(),resolvedBy:_0xc94430='',isFromAdapter:_0x24a2ba=!0x1}={}){const _0x2e8d86=_0x3f3830,_0x44562d=this[_0x2e8d86(0x133)][_0x2e8d86(0x1a1)][_0x2e8d86(0x13d)][_0x2e8d86(0x152)](_0x1708aa)['me'],{channelId:_0x5c9ace,id:_0x20a084}=this;this[_0x2e8d86(0x133)][_0x2e8d86(0x1c2)](Nt(_0x2e8d86(0x18a),_0x5c9ace),{'channelId':_0x5c9ace,'threadId':_0x20a084,'resolvedAt':_0x239211,'resolvedBy':_0xc94430||_0x44562d['id'],'isFromAdapter':_0x24a2ba});}[_0x3f3830(0x1a0)]({isFromAdapter:_0x3386d1=!0x1}={}){const _0x5715a0=_0x3f3830,{channelId:_0x5325fa,id:_0x3324b4}=this;this[_0x5715a0(0x133)][_0x5715a0(0x1c2)](Nt(_0x5715a0(0x169),_0x5325fa),{'channelId':_0x5325fa,'threadId':_0x3324b4,'isFromAdapter':_0x3386d1});}[_0x3f3830(0x18f)](_0x273857){const _0xcefa0b=_0x3f3830;this[_0xcefa0b(0x1a1)]||this[_0xcefa0b(0x1e5)]({'context':_0x273857});}[_0x3f3830(0x148)](_0x17bb24,_0x13e778){const _0x3a1282=_0x3f3830,_0x45971c=_0x1c4874(this[_0x3a1282(0x1d6)]);_0x3f8bba(_0x45971c,_0x17bb24,_0x13e778),this[_0x3a1282(0x1e5)]({'attributes':_0x45971c});}[_0x3f3830(0x1c9)](_0x6ffe02){const _0x46831a=_0x3f3830,_0x1f02a6=_0x1c4874(this[_0x46831a(0x1d6)]);_0x115d9d(_0x1f02a6,_0x6ffe02),this[_0x46831a(0x1e5)]({'attributes':_0x1f02a6});}[_0x3f3830(0x176)]({isFromAdapter:_0xa76017=!0x1}={}){const _0x5ceab8=_0x3f3830,{channelId:_0x4af59a,id:_0x2b393c}=this;this[_0x5ceab8(0x133)][_0x5ceab8(0x1c2)](Nt(_0x5ceab8(0x117),_0x4af59a),{'channelId':_0x4af59a,'threadId':_0x2b393c,'isFromAdapter':_0xa76017});}[_0x3f3830(0x158)](_0x3724b0){const _0x31fa2b=_0x3f3830;return this[_0x31fa2b(0x133)][_0x31fa2b(0x1a7)]({'threadId':this['id'],'target':_0x3724b0});}[_0x3f3830(0x1e6)](_0x4ead07){const _0x2d928c=_0x3f3830,{channelId:_0x46243d,id:_0x4e7290}=this;this[_0x2d928c(0x133)][_0x2d928c(0x1c2)](Nt(_0x2d928c(0x1e6),_0x46243d,_0x4e7290),Object[_0x2d928c(0x1cc)]({'channelId':_0x46243d,'threadId':_0x4e7290},_0x4ead07));}[_0x3f3830(0x18c)](_0x5dece0){const _0x285ca4=_0x3f3830;if(_0x285ca4(0x130)!=typeof _0x5dece0)throw new _0x581dfd(_0x285ca4(0x1b9),null,{'commentId':_0x5dece0});return this[_0x285ca4(0x134)][_0x285ca4(0x152)](_0x5dece0);}[_0x3f3830(0x10d)](){const _0x4e428a=_0x3f3830;return{'threadId':this['id'],'context':this[_0x4e428a(0x1a1)],'unlinkedAt':this[_0x4e428a(0x170)],'resolvedAt':this[_0x4e428a(0x1bc)],'resolvedBy':this[_0x4e428a(0x1de)]?this[_0x4e428a(0x1de)]['id']:null,'archivedAt':this[_0x4e428a(0x12d)],'comments':this[_0x4e428a(0x134)][_0x4e428a(0x1db)](_0x350115=>_0x350115[_0x4e428a(0x10d)]()),'attributes':this[_0x4e428a(0x1d6)]};}[_0x3f3830(0x172)](_0x3e0811){const _0x3e3bec=_0x3f3830;return this[_0x3e3bec(0x1b8)](_0x3e0811,_0x3e3bec(0x19d),()=>{const _0x1aa92f=_0x3e3bec,_0x47c54c=this[_0x1aa92f(0x15b)](_0x3e0811),_0x46e05e=this[_0x1aa92f(0x134)];_0x47c54c-0x1!=_0x46e05e[_0x1aa92f(0x1d8)](_0x3e0811)&&_0x47c54c+0x1!=_0x46e05e[_0x1aa92f(0x1d8)](_0x3e0811)&&(this[_0x1aa92f(0x110)](_0x3e0811),this[_0x1aa92f(0x172)](_0x3e0811));}),this[_0x3e3bec(0x134)][_0x3e3bec(0x15d)](_0x3e0811,this[_0x3e3bec(0x15b)](_0x3e0811));}[_0x3f3830(0x1e5)](_0xb40476){const _0x5d3335=_0x3f3830,{channelId:_0x1ba439,id:_0x4fe6cd}=this;this[_0x5d3335(0x133)][_0x5d3335(0x1c2)](Nt(_0x5d3335(0x1cf),_0x1ba439),{..._0xb40476,'channelId':_0x1ba439,'threadId':_0x4fe6cd});}[_0x3f3830(0x110)](_0x37f64a){const _0x16776d=_0x3f3830;return this[_0x16776d(0x10e)](_0x37f64a),_0x37f64a[_0x16776d(0x198)](),this[_0x16776d(0x134)][_0x16776d(0x176)](_0x37f64a);}[_0x3f3830(0x15b)](_0x136141){const _0xf2c776=_0x3f3830,_0x2b84da=this[_0xf2c776(0x134)][_0xf2c776(0x19c)](_0x9a572e=>new Date(_0x9a572e[_0xf2c776(0x10f)])[_0xf2c776(0x116)]()>new Date(_0x136141[_0xf2c776(0x10f)])[_0xf2c776(0x116)]());return _0x2b84da?this[_0xf2c776(0x134)][_0xf2c776(0x1d8)](_0x2b84da):this[_0xf2c776(0x168)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x489fd1(){['id'];[_0x3f3830(0x150)];[_0x3f3830(0x159)];[_0x3f3830(0x163)];[_0x3f3830(0x1d9)];[_0x3f3830(0x173)];[_0x3f3830(0x133)];constructor(_0x3921e7,_0x41185f){const _0x456c97=_0x3f3830;super();const _0x45cc4b=_0x3921e7[_0x456c97(0x1a1)][_0x456c97(0x13d)][_0x456c97(0x152)](_0x1708aa)['me'],_0x5a02fb=_0x3921e7[_0x456c97(0x145)](_0x41185f[_0x456c97(0x150)]),_0x1dd926=0x0===_0x5a02fb[_0x456c97(0x134)][_0x456c97(0x168)],_0x15afa6=_0x45cc4b===_0x41185f[_0x456c97(0x159)];this['id']=_0x41185f['id'],this[_0x456c97(0x150)]=_0x41185f[_0x456c97(0x150)],this[_0x456c97(0x159)]=_0x41185f[_0x456c97(0x159)],this[_0x456c97(0x163)]=_0x41185f[_0x456c97(0x163)],this[_0x456c97(0x1d9)]=Boolean(_0x41185f[_0x456c97(0x1d6)]&&_0x41185f[_0x456c97(0x1d6)][_0x456c97(0x119)]),this[_0x456c97(0x137)](_0x456c97(0x19e),_0x41185f[_0x456c97(0x19e)]),this[_0x456c97(0x173)]=_0x41185f[_0x456c97(0x173)]||new Date(),this[_0x456c97(0x137)](_0x456c97(0x10f),_0x41185f[_0x456c97(0x10f)]||new Date()),this[_0x456c97(0x1b7)](_0x456c97(0x1bc))['to'](_0x5a02fb,_0x456c97(0x1bc)),this[_0x456c97(0x137)](_0x456c97(0x1d6),_0x41185f[_0x456c97(0x1d6)]||{}),this[_0x456c97(0x1b7)](_0x456c97(0x185))['to'](_0x3921e7,_0x456c97(0x12a),()=>{const _0x178f31=_0x456c97,_0x2cf019=_0x3921e7[_0x178f31(0x1ae)](_0x5a02fb[_0x178f31(0x135)])[_0x178f31(0x1d1)],_0x2ff588=_0x3921e7[_0x178f31(0x1ae)](_0x5a02fb[_0x178f31(0x135)])[_0x178f31(0x184)];return _0x15afa6&&_0x2cf019||!_0x15afa6&&_0x2ff588;}),this[_0x456c97(0x1b7)](_0x456c97(0x124))['to'](_0x5a02fb,_0x456c97(0x124),_0x3921e7,_0x456c97(0x12a),_0x113a3f=>{const _0x4e4b5b=_0x456c97,_0x9a46f0=_0x3921e7[_0x4e4b5b(0x1ae)](_0x5a02fb[_0x4e4b5b(0x135)])[_0x4e4b5b(0x1d1)],_0x2c3a89=_0x3921e7[_0x4e4b5b(0x1ae)](_0x5a02fb[_0x4e4b5b(0x135)])[_0x4e4b5b(0x184)];return _0x15afa6&&_0x9a46f0||_0x113a3f&&_0x1dd926||!_0x15afa6&&_0x2c3a89&&!_0x1dd926;}),this[_0x456c97(0x1b7)](_0x456c97(0x129))['to'](_0x5a02fb,_0x456c97(0x129)),this[_0x456c97(0x133)]=_0x3921e7;}get[_0x3f3830(0x194)](){const _0x1acf3b=_0x3f3830;return Math[_0x1acf3b(0x1e8)](function(_0x149e02){const _0x59af09=_0x1acf3b,_0x22038e=document[_0x59af09(0x1b0)](_0x59af09(0x1e3));return _0x22038e[_0x59af09(0x18d)]=_0x149e02,_0x22038e[_0x59af09(0x149)][_0x59af09(0x168)];}(this[_0x1acf3b(0x19e)]),0xc8);}[_0x3f3830(0x1df)](_0x362bd0){const _0x3d04bd=_0x3f3830,{threadId:_0x119f38,id:_0x5900d2}=this;if(!this[_0x3d04bd(0x133)][_0x3d04bd(0x166)](_0x119f38))throw new _0x581dfd(_0x3d04bd(0x155),this);const {channelId:_0x56d42b}=this[_0x3d04bd(0x133)][_0x3d04bd(0x145)](_0x119f38);this[_0x3d04bd(0x133)][_0x3d04bd(0x1c2)](Nt(_0x3d04bd(0x195),_0x56d42b,_0x119f38),{'channelId':_0x56d42b,'threadId':_0x119f38,'commentId':_0x5900d2,..._0x362bd0});}[_0x3f3830(0x148)](_0x12d9b9,_0x37be6b){const _0x1ff52b=_0x3f3830,_0x14c267=_0x1c4874(this[_0x1ff52b(0x1d6)]);_0x3f8bba(_0x14c267,_0x12d9b9,_0x37be6b),this[_0x1ff52b(0x1df)]({'attributes':_0x14c267});}[_0x3f3830(0x1c9)](_0x148f15){const _0x2c205a=_0x3f3830,_0x860b8c=_0x1c4874(this[_0x2c205a(0x1d6)]);_0x115d9d(_0x860b8c,_0x148f15),this[_0x2c205a(0x1df)]({'attributes':_0x860b8c});}[_0x3f3830(0x176)](_0x53e6d9={}){const _0x48101a=_0x3f3830;if(!_0x53e6d9[_0x48101a(0x174)]&&!this[_0x48101a(0x124)])return;const {threadId:_0x3e02d1,id:_0x5d7b4e}=this;if(!this[_0x48101a(0x133)][_0x48101a(0x166)](_0x3e02d1))throw new _0x581dfd(_0x48101a(0x16b),this);const {channelId:_0x5479b1}=this[_0x48101a(0x133)][_0x48101a(0x145)](_0x3e02d1);this[_0x48101a(0x133)][_0x48101a(0x1c2)](Nt(_0x48101a(0x1a4),_0x5479b1,_0x3e02d1),{'channelId':_0x5479b1,'threadId':_0x3e02d1,'commentId':_0x5d7b4e,..._0x53e6d9});}[_0x3f3830(0x10d)](){const _0xeff3f0=_0x3f3830;return{'commentId':this['id'],'content':this[_0xeff3f0(0x19e)],'createdAt':this[_0xeff3f0(0x173)],'authorId':this[_0xeff3f0(0x163)]['id'],'attributes':this[_0xeff3f0(0x1d6)]};}[_0x3f3830(0x198)](){const _0x60e7e7=_0x3f3830;this[_0x60e7e7(0x10e)]();}}function Nt(_0x253a68,..._0x3e64ad){for(const _0x3fd4b9 of _0x3e64ad)void 0x0!==_0x3fd4b9&&(_0x253a68+=':'+String(_0x3fd4b9));return _0x253a68;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54b988=_0x24bf;(function(_0x378b89,_0x639429){const _0x33996b=_0x24bf,_0x50eda3=_0x378b89();while(!![]){try{const _0x4acceb=parseInt(_0x33996b(0x1ce))/0x1*(-parseInt(_0x33996b(0x1b4))/0x2)+parseInt(_0x33996b(0x19e))/0x3*(-parseInt(_0x33996b(0x19c))/0x4)+parseInt(_0x33996b(0x1a2))/0x5*(-parseInt(_0x33996b(0x18d))/0x6)+parseInt(_0x33996b(0x1a7))/0x7+-parseInt(_0x33996b(0x19b))/0x8+parseInt(_0x33996b(0x1aa))/0x9*(-parseInt(_0x33996b(0x1b5))/0xa)+parseInt(_0x33996b(0x1a0))/0xb*(parseInt(_0x33996b(0x1d8))/0xc);if(_0x4acceb===_0x639429)break;else _0x50eda3['push'](_0x50eda3['shift']());}catch(_0x115da9){_0x50eda3['push'](_0x50eda3['shift']());}}}(_0x1943,0x9fe87));import{Plugin as _0x497284}from'ckeditor5/src/core.js';function _0x24bf(_0x1a23ae,_0x58984f){const _0x1943b3=_0x1943();return _0x24bf=function(_0x24bff8,_0x4711c1){_0x24bff8=_0x24bff8-0x186;let _0x105b01=_0x1943b3[_0x24bff8];return _0x105b01;},_0x24bf(_0x1a23ae,_0x58984f);}import{IconAddComment as _0x11d848}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x351695}from'./commentsrepository.js';import{CommentsEditing as _0x45550a}from'./commentsediting.js';import{EditorAnnotations as _0x5a4b78}from'../annotations/editorannotations.js';import{ButtonView as _0xd283a5,MenuBarMenuListItemButtonView as _0x125d1c}from'ckeditor5/src/ui.js';import{Annotations as _0xbf2565}from'../annotations/annotations.js';import{CommentsListView as _0x5329bf}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x1d0525}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x311670}from'../utils/common-translations.js';function _0x1943(){const _0x54aa71=['config','listenTo','isOfficialPlugin','2bZCjBH','107230wWcOCF','length','commentsLicenseKeyUsageLimit','commentsLicenseKeyInvalid','hasMarkerForId','comment:','commentsLicenseKeyTrialLimit','addComment','focus','domainLimit','init','commands','evaluationLimit','expired','comment','activeMarker','_threadToController','find','CommentThreadInputView','locale','commentsLicenseKeyExpired','hasCommentThread','hasContent','menuBar:comment','push','574767eCGemT','_licenseKeyCheckInterval','change:activeAnnotations','getAllMarkersForId','featureNotAllowed','_showLicenseError','highest','requires','isEnabled','stop','348aVEnMg','CommentsUI','low','trialLimit','Comment','editor','getRange','componentFactory','commentsLicenseKeyDomainLimit','view','isPremiumPlugin','tooltip','licenseKey','map','66jGecjT','isFocused','getCommentThread','commentsLicenseKeyNotAllowed','innerView','_createUIButton','commentsLicenseKeyValid','Comments','focusTracker','pluginName','usageLimit','from','plugins','addCommentThread','4220312twEGzJ','20684VTguuH','_viewToController','150whihNz','commentsLicenseKeyEvaluationLimit','1093422uaPRmP','destroy','580390OXHZhG','model','addSourceCollector','removeCommentThread','add','3320639RIGYeC','set','has','54HnShPy','bind','CommentsListView','invalid','get','execute','editing'];_0x1943=function(){return _0x54aa71;};return _0x1943();}export class CommentsUI extends _0x497284{[_0x54b988(0x18b)];[_0x54b988(0x1cf)];static get[_0x54b988(0x196)](){const _0x141aa1=_0x54b988;return _0x141aa1(0x1d9);}static get[_0x54b988(0x1b3)](){return!0x0;}static get[_0x54b988(0x189)](){return!0x0;}static get[_0x54b988(0x1d5)](){return[_0x351695,_0x45550a,_0x5a4b78,_0xbf2565];}get[_0x54b988(0x1ac)](){return _0x5329bf;}get[_0x54b988(0x1c7)](){return _0x1d0525;}[_0x54b988(0x1bf)](){const _0x5340e8=_0x54b988,_0x319c75=this[_0x5340e8(0x1dd)],_0x2b6078=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x351695),_0x10d126=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x45550a),_0x4dfb19=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0xbf2565),_0x4aca02=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x5a4b78);_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1c3),()=>{const _0x491e21=_0x5340e8,_0x19b6c8=this[_0x491e21(0x192)](_0xd283a5);return _0x19b6c8[_0x491e21(0x18a)]=!0x0,_0x19b6c8;}),_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1cc),()=>this[_0x5340e8(0x192)](_0x125d1c)),_0x4aca02[_0x5340e8(0x1a4)](()=>{const _0x1d0391=_0x5340e8,_0x430ef4=[];for(const [_0x550b40,_0x465e52]of _0x2b6078[_0x1d0391(0x1c5)]){const _0x58bed9=_0x10d126[_0x1d0391(0x1d1)](_0x550b40['id']),_0x22a4f9=_0x58bed9[_0x1d0391(0x18c)](_0x35e12f=>_0x35e12f[_0x1d0391(0x1de)]());_0x58bed9[_0x1d0391(0x1b6)]>0x0&&_0x430ef4[_0x1d0391(0x1cd)]([_0x465e52[_0x1d0391(0x188)],_0x22a4f9]);}return _0x430ef4;}),this[_0x5340e8(0x1b2)](_0x4dfb19,_0x5340e8(0x1d0),(_0x4e45a5,_0x16445c,_0x224e19)=>{const _0x2fdf9c=_0x5340e8,_0x296608=Array[_0x2fdf9c(0x198)](_0x224e19)[_0x2fdf9c(0x18c)](_0x570a5c=>_0x570a5c[_0x2fdf9c(0x191)])[_0x2fdf9c(0x1c6)](_0x21c9f3=>_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1a9)](_0x21c9f3));if(!_0x296608)return void(_0x10d126[_0x2fdf9c(0x1c4)]=null);const _0x2e68f9=_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1ae)](_0x296608)[_0x2fdf9c(0x1a3)]['id'],_0x33592a=_0x2fdf9c(0x1ba)+_0x2e68f9;_0x2e68f9&&_0x10d126[_0x2fdf9c(0x1b9)](_0x2e68f9)?_0x10d126[_0x2fdf9c(0x1c4)]=_0x33592a:_0x10d126[_0x2fdf9c(0x1c4)]&&(_0x10d126[_0x2fdf9c(0x1c4)]=null);}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1a5),(_0x1c5068,{threadId:_0x5b418a,isFromAdapter:_0x39eb86})=>{const _0x4c350e=_0x5340e8;!_0x39eb86&&_0x319c75['ui'][_0x4c350e(0x195)][_0x4c350e(0x18e)]&&_0x10d126[_0x4c350e(0x1b9)](_0x5b418a)&&_0x319c75[_0x4c350e(0x1b0)][_0x4c350e(0x188)][_0x4c350e(0x1bd)]();},{'priority':_0x5340e8(0x1d4)}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1bc),(_0x396691,{threadId:_0x37caf0,isFromAdapter:_0x568c48})=>{const _0x2754c5=_0x5340e8;if(_0x568c48||!_0x10d126[_0x2754c5(0x1b9)](_0x37caf0)||!_0x2b6078[_0x2754c5(0x1ca)](_0x37caf0))return;0x1===_0x2b6078[_0x2754c5(0x18f)](_0x37caf0)[_0x2754c5(0x1b6)]&&(_0x319c75[_0x2754c5(0x1b0)][_0x2754c5(0x188)][_0x2754c5(0x1bd)](),_0x396691[_0x2754c5(0x1d7)]());},{'priority':_0x5340e8(0x1da)}),this[_0x5340e8(0x18b)]=this[_0x5340e8(0x1dd)][_0x5340e8(0x1b1)][_0x5340e8(0x1ae)](_0x5340e8(0x18b));const _0x106971=this[_0x5340e8(0x1dd)];this[_0x5340e8(0x1cf)]=setInterval(()=>{const _0x3d6b57=_0x5340e8;let _0x157e9f;for(const _0x2f4fee in _0x106971){const _0x3819ab=_0x2f4fee,_0x148450=_0x106971[_0x3819ab];if(_0x3d6b57(0x193)==_0x148450||_0x3d6b57(0x1b8)==_0x148450||_0x3d6b57(0x1c9)==_0x148450||_0x3d6b57(0x187)==_0x148450||_0x3d6b57(0x190)==_0x148450||_0x3d6b57(0x19f)==_0x148450||_0x3d6b57(0x1bb)==_0x148450||_0x3d6b57(0x1b7)==_0x148450){delete _0x106971[_0x3819ab],_0x157e9f=_0x148450,clearInterval(this[_0x3d6b57(0x1cf)]),this[_0x3d6b57(0x1cf)]=void 0x0;break;}}_0x3d6b57(0x1b8)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1ad)),_0x3d6b57(0x1c9)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c2)),_0x3d6b57(0x187)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1be)),_0x3d6b57(0x190)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1d2),_0x3d6b57(0x194)),_0x3d6b57(0x19f)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c1)),_0x3d6b57(0x1bb)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1db)),_0x3d6b57(0x1b7)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x197));},0x3e8);}[_0x54b988(0x1a1)](){const _0x43c13f=_0x54b988;super[_0x43c13f(0x1a1)](),this[_0x43c13f(0x1cf)]&&clearInterval(this[_0x43c13f(0x1cf)]);}[_0x54b988(0x192)](_0x41ebc6){const _0x2d6e83=_0x54b988,_0x1bcc4c=this[_0x2d6e83(0x1dd)],_0x4690e9=new _0x41ebc6(_0x1bcc4c[_0x2d6e83(0x1c8)]),_0x4b1f4a=_0x1bcc4c[_0x2d6e83(0x1c0)][_0x2d6e83(0x1ae)](_0x2d6e83(0x19a));return _0x4690e9[_0x2d6e83(0x1a8)]({'label':_0x311670(_0x1bcc4c[_0x2d6e83(0x1c8)],_0x2d6e83(0x1dc)),'icon':_0x11d848}),_0x4690e9[_0x2d6e83(0x1ab)](_0x2d6e83(0x1d6))['to'](_0x4b1f4a,_0x2d6e83(0x1cb)),this[_0x2d6e83(0x1b2)](_0x4690e9,_0x2d6e83(0x1af),()=>{const _0x8c0e85=_0x2d6e83;_0x4b1f4a[_0x8c0e85(0x1af)]();}),_0x4690e9;}}
23
+ function _0x52ae(){const _0x4d33cf=['_licenseKeyCheckInterval','getCommentThread','Comments','620056mJXOGL','301064quamVM','has','isPremiumPlugin','32170xmYDEi','commentsLicenseKeyDomainLimit','invalid','componentFactory','195249LiScMr','focusTracker','stop','comment:','licenseKey','model','featureNotAllowed','getRange','trialLimit','commentsLicenseKeyValid','1235624HrODzh','activeMarker','1606OTRJDT','commentsLicenseKeyInvalid','requires','map','_viewToController','evaluationLimit','menuBar:comment','isFocused','172195MUBRHv','isEnabled','set','66DiCnlM','getAllMarkersForId','isOfficialPlugin','Comment','from','hasContent','find','editor','tooltip','destroy','CommentsUI','locale','length','focus','commentsLicenseKeyNotAllowed','removeCommentThread','_createUIButton','commentsLicenseKeyTrialLimit','bind','commands','view','pluginName','_showLicenseError','hasMarkerForId','innerView','5210142DgDVrd','CommentThreadInputView','init','comment','get','highest','execute','usageLimit','low','_threadToController','addSourceCollector','addComment','commentsLicenseKeyExpired','81hUqmcA','expired','push','listenTo','commentsLicenseKeyUsageLimit','hasCommentThread','change:activeAnnotations','CommentsListView','add','domainLimit','editing','addCommentThread','plugins','commentsLicenseKeyEvaluationLimit','config','76jcIMUc'];_0x52ae=function(){return _0x4d33cf;};return _0x52ae();}const _0x4018ba=_0x385b;function _0x385b(_0x10dbe4,_0xa0d3fa){const _0x52ae67=_0x52ae();return _0x385b=function(_0x385b71,_0x5452a2){_0x385b71=_0x385b71-0x16b;let _0x15799a=_0x52ae67[_0x385b71];return _0x15799a;},_0x385b(_0x10dbe4,_0xa0d3fa);}(function(_0x2b0c26,_0x4553b5){const _0x4cc7da=_0x385b,_0x2ecbc6=_0x2b0c26();while(!![]){try{const _0x26027a=parseInt(_0x4cc7da(0x18a))/0x1+-parseInt(_0x4cc7da(0x178))/0x2+-parseInt(_0x4cc7da(0x180))/0x3*(parseInt(_0x4cc7da(0x174))/0x4)+parseInt(_0x4cc7da(0x194))/0x5*(parseInt(_0x4cc7da(0x197))/0x6)+parseInt(_0x4cc7da(0x1b0))/0x7+parseInt(_0x4cc7da(0x179))/0x8*(-parseInt(_0x4cc7da(0x1bd))/0x9)+parseInt(_0x4cc7da(0x17c))/0xa*(parseInt(_0x4cc7da(0x18c))/0xb);if(_0x26027a===_0x4553b5)break;else _0x2ecbc6['push'](_0x2ecbc6['shift']());}catch(_0x2ccd7f){_0x2ecbc6['push'](_0x2ecbc6['shift']());}}}(_0x52ae,0xe6423));import{Plugin as _0x47fd47}from'ckeditor5/src/core.js';import{IconAddComment as _0x317039}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x322151}from'./commentsrepository.js';import{CommentsEditing as _0x5dc331}from'./commentsediting.js';import{EditorAnnotations as _0x242958}from'../annotations/editorannotations.js';import{ButtonView as _0x4ce28a,MenuBarMenuListItemButtonView as _0x2dd0ce}from'ckeditor5/src/ui.js';import{Annotations as _0x34299c}from'../annotations/annotations.js';import{CommentsListView as _0xd7d930}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x2e30cc}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x3ceb65}from'../utils/common-translations.js';export class CommentsUI extends _0x47fd47{[_0x4018ba(0x184)];[_0x4018ba(0x175)];static get[_0x4018ba(0x1ac)](){const _0x39b9f0=_0x4018ba;return _0x39b9f0(0x1a1);}static get[_0x4018ba(0x199)](){return!0x0;}static get[_0x4018ba(0x17b)](){return!0x0;}static get[_0x4018ba(0x18e)](){return[_0x322151,_0x5dc331,_0x242958,_0x34299c];}get[_0x4018ba(0x16c)](){return _0xd7d930;}get[_0x4018ba(0x1b1)](){return _0x2e30cc;}[_0x4018ba(0x1b2)](){const _0x92f52a=_0x4018ba,_0x2e02db=this[_0x92f52a(0x19e)],_0x419796=_0x2e02db[_0x92f52a(0x171)][_0x92f52a(0x1b4)](_0x322151),_0x2ecced=_0x2e02db[_0x92f52a(0x171)][_0x92f52a(0x1b4)](_0x5dc331),_0x5340f4=_0x2e02db[_0x92f52a(0x171)][_0x92f52a(0x1b4)](_0x34299c),_0x5747b0=_0x2e02db[_0x92f52a(0x171)][_0x92f52a(0x1b4)](_0x242958);_0x2e02db['ui'][_0x92f52a(0x17f)][_0x92f52a(0x16d)](_0x92f52a(0x1b3),()=>{const _0x222af7=_0x92f52a,_0x183284=this[_0x222af7(0x1a7)](_0x4ce28a);return _0x183284[_0x222af7(0x19f)]=!0x0,_0x183284;}),_0x2e02db['ui'][_0x92f52a(0x17f)][_0x92f52a(0x16d)](_0x92f52a(0x192),()=>this[_0x92f52a(0x1a7)](_0x2dd0ce)),_0x5747b0[_0x92f52a(0x1ba)](()=>{const _0x100c97=_0x92f52a,_0xf52633=[];for(const [_0x231220,_0x467702]of _0x419796[_0x100c97(0x1b9)]){const _0x1ceed9=_0x2ecced[_0x100c97(0x198)](_0x231220['id']),_0x332cc2=_0x1ceed9[_0x100c97(0x18f)](_0x1a6507=>_0x1a6507[_0x100c97(0x187)]());_0x1ceed9[_0x100c97(0x1a3)]>0x0&&_0xf52633[_0x100c97(0x1bf)]([_0x467702[_0x100c97(0x1ab)],_0x332cc2]);}return _0xf52633;}),this[_0x92f52a(0x1c0)](_0x5340f4,_0x92f52a(0x16b),(_0x150ff1,_0x1a5666,_0x126f5a)=>{const _0x41d539=_0x92f52a,_0x2e1c21=Array[_0x41d539(0x19b)](_0x126f5a)[_0x41d539(0x18f)](_0x414063=>_0x414063[_0x41d539(0x1af)])[_0x41d539(0x19d)](_0x85a527=>_0x419796[_0x41d539(0x190)][_0x41d539(0x17a)](_0x85a527));if(!_0x2e1c21)return void(_0x2ecced[_0x41d539(0x18b)]=null);const _0x50e60f=_0x419796[_0x41d539(0x190)][_0x41d539(0x1b4)](_0x2e1c21)[_0x41d539(0x185)]['id'],_0x3c2298=_0x41d539(0x183)+_0x50e60f;_0x50e60f&&_0x2ecced[_0x41d539(0x1ae)](_0x50e60f)?_0x2ecced[_0x41d539(0x18b)]=_0x3c2298:_0x2ecced[_0x41d539(0x18b)]&&(_0x2ecced[_0x41d539(0x18b)]=null);}),this[_0x92f52a(0x1c0)](_0x419796,_0x92f52a(0x1a6),(_0x380502,{threadId:_0x5ad95e,isFromAdapter:_0x1c7175})=>{const _0x182aa1=_0x92f52a;!_0x1c7175&&_0x2e02db['ui'][_0x182aa1(0x181)][_0x182aa1(0x193)]&&_0x2ecced[_0x182aa1(0x1ae)](_0x5ad95e)&&_0x2e02db[_0x182aa1(0x16f)][_0x182aa1(0x1ab)][_0x182aa1(0x1a4)]();},{'priority':_0x92f52a(0x1b5)}),this[_0x92f52a(0x1c0)](_0x419796,_0x92f52a(0x1bb),(_0x5413ed,{threadId:_0x49ef62,isFromAdapter:_0x4719d8})=>{const _0x4f4ae4=_0x92f52a;if(_0x4719d8||!_0x2ecced[_0x4f4ae4(0x1ae)](_0x49ef62)||!_0x419796[_0x4f4ae4(0x1c2)](_0x49ef62))return;0x1===_0x419796[_0x4f4ae4(0x176)](_0x49ef62)[_0x4f4ae4(0x1a3)]&&(_0x2e02db[_0x4f4ae4(0x16f)][_0x4f4ae4(0x1ab)][_0x4f4ae4(0x1a4)](),_0x5413ed[_0x4f4ae4(0x182)]());},{'priority':_0x92f52a(0x1b8)}),this[_0x92f52a(0x184)]=this[_0x92f52a(0x19e)][_0x92f52a(0x173)][_0x92f52a(0x1b4)](_0x92f52a(0x184));const _0x5bfd06=this[_0x92f52a(0x19e)];this[_0x92f52a(0x175)]=setInterval(()=>{const _0x2ed4ad=_0x92f52a;let _0xbf34b2;for(const _0x59c008 in _0x5bfd06){const _0x2e9b56=_0x59c008,_0x58525e=_0x5bfd06[_0x2e9b56];if(_0x2ed4ad(0x189)==_0x58525e||_0x2ed4ad(0x18d)==_0x58525e||_0x2ed4ad(0x1bc)==_0x58525e||_0x2ed4ad(0x17d)==_0x58525e||_0x2ed4ad(0x1a5)==_0x58525e||_0x2ed4ad(0x172)==_0x58525e||_0x2ed4ad(0x1a8)==_0x58525e||_0x2ed4ad(0x1c1)==_0x58525e){delete _0x5bfd06[_0x2e9b56],_0xbf34b2=_0x58525e,clearInterval(this[_0x2ed4ad(0x175)]),this[_0x2ed4ad(0x175)]=void 0x0;break;}}_0x2ed4ad(0x18d)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x17e)),_0x2ed4ad(0x1bc)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x1be)),_0x2ed4ad(0x17d)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x16e)),_0x2ed4ad(0x1a5)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x186),_0x2ed4ad(0x177)),_0x2ed4ad(0x172)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x191)),_0x2ed4ad(0x1a8)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x188)),_0x2ed4ad(0x1c1)==_0xbf34b2&&_0x5bfd06[_0x2ed4ad(0x1ad)](_0x2ed4ad(0x1b7));},0x3e8);}[_0x4018ba(0x1a0)](){const _0x539653=_0x4018ba;super[_0x539653(0x1a0)](),this[_0x539653(0x175)]&&clearInterval(this[_0x539653(0x175)]);}[_0x4018ba(0x1a7)](_0x216e16){const _0x596bf7=_0x4018ba,_0x5427d7=this[_0x596bf7(0x19e)],_0x5b336d=new _0x216e16(_0x5427d7[_0x596bf7(0x1a2)]),_0x57b089=_0x5427d7[_0x596bf7(0x1aa)][_0x596bf7(0x1b4)](_0x596bf7(0x170));return _0x5b336d[_0x596bf7(0x196)]({'label':_0x3ceb65(_0x5427d7[_0x596bf7(0x1a2)],_0x596bf7(0x19a)),'icon':_0x317039}),_0x5b336d[_0x596bf7(0x1a9)](_0x596bf7(0x195))['to'](_0x57b089,_0x596bf7(0x19c)),this[_0x596bf7(0x1c0)](_0x5b336d,_0x596bf7(0x1b6),()=>{const _0x444363=_0x596bf7;_0x57b089[_0x444363(0x1b6)]();}),_0x5b336d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1acb28=_0x45de;(function(_0x30629d,_0x458480){const _0x244733=_0x45de,_0x513289=_0x30629d();while(!![]){try{const _0x2d890c=-parseInt(_0x244733(0xbd))/0x1*(-parseInt(_0x244733(0xcb))/0x2)+parseInt(_0x244733(0xcd))/0x3+-parseInt(_0x244733(0xb0))/0x4+parseInt(_0x244733(0xd3))/0x5*(parseInt(_0x244733(0xb9))/0x6)+-parseInt(_0x244733(0xca))/0x7+parseInt(_0x244733(0xad))/0x8+-parseInt(_0x244733(0xc0))/0x9;if(_0x2d890c===_0x458480)break;else _0x513289['push'](_0x513289['shift']());}catch(_0x1d8d0f){_0x513289['push'](_0x513289['shift']());}}}(_0x403b,0x820b7));import{Plugin as _0x344d55}from'ckeditor5/src/core.js';function _0x403b(){const _0x406b92=['never','listenTo','comments.copyMarkers','editor','15nqmyQJ','delete','default','4430888IiJFFl','ClipboardMarkersUtils','content','3705144XgfWio','_removeMarkersWithoutThreads','_registerMarkerToCopy','plugins','always','hasCommentThread','config','dragstart','all','226806wBOhBp','highest','split','comment','318485FKMLGS','_registerMarkerInClipboardPipeline','keys','1377801QnfJiN','has','define','markers','_mapCommentsCopyConfigToRegisterConfiguration','CommentsRepository','contentInsertion','ClipboardPipeline','afterInit','requires','67879EzhbsA','2mUBOhx','cut','1907958JtSNVt','get'];_0x403b=function(){return _0x406b92;};return _0x403b();}import{ClipboardPipeline as _0x3ddb3a,ClipboardMarkersUtils as _0x2226d1}from'ckeditor5/src/clipboard.js';function _0x45de(_0x512132,_0x3966a1){const _0x403b23=_0x403b();return _0x45de=function(_0x45de4f,_0x3c0cb3){_0x45de4f=_0x45de4f-0xac;let _0x4abd44=_0x403b23[_0x45de4f];return _0x4abd44;},_0x45de(_0x512132,_0x3966a1);}export class CommentsClipboard extends _0x344d55{constructor(_0x303943){const _0x2d4c02=_0x45de;super(_0x303943),this[_0x2d4c02(0xd2)][_0x2d4c02(0xb6)][_0x2d4c02(0xc2)](_0x2d4c02(0xd1),_0x2d4c02(0xac));}static get[_0x1acb28(0xc9)](){return[_0x2226d1,_0x3ddb3a];}[_0x1acb28(0xc8)](){const _0x250cf7=_0x1acb28,_0x342a77=this[_0x250cf7(0xd2)][_0x250cf7(0xb3)][_0x250cf7(0xce)](_0x250cf7(0xc7));this[_0x250cf7(0xbe)](),this[_0x250cf7(0xd0)](_0x342a77,_0x250cf7(0xc6),(_0x58b7a5,_0x4fed76)=>this[_0x250cf7(0xb1)](_0x4fed76[_0x250cf7(0xaf)][_0x250cf7(0xc3)]),{'priority':_0x250cf7(0xba)});}[_0x1acb28(0xb1)](_0x740446){const _0xd2d718=_0x1acb28;if(!this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xc1)](_0xd2d718(0xc5)))return _0x740446;const _0x225303=this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xce)](_0xd2d718(0xc5));for(const _0x24717d of _0x740446[_0xd2d718(0xbf)]()){const [_0x219c59,_0x2e8c53]=_0x24717d[_0xd2d718(0xbb)](':');_0xd2d718(0xbc)!=_0x219c59||_0x225303[_0xd2d718(0xb5)](_0x2e8c53)||_0x740446[_0xd2d718(0xd4)](_0x24717d);}return _0x740446;}[_0x1acb28(0xbe)](){const _0x3ad439=_0x1acb28,_0x4cff3a=this[_0x3ad439(0xd2)][_0x3ad439(0xb3)][_0x3ad439(0xce)](_0x3ad439(0xae)),_0x576dca=this[_0x3ad439(0xc4)](this[_0x3ad439(0xd2)][_0x3ad439(0xb6)][_0x3ad439(0xce)](_0x3ad439(0xd1)));_0x576dca&&_0x4cff3a[_0x3ad439(0xb2)](_0x3ad439(0xbc),_0x576dca);}[_0x1acb28(0xc4)](_0x16973c){const _0xac7df0=_0x1acb28;switch(_0x16973c){case _0xac7df0(0xb4):return{'allowedActions':_0xac7df0(0xb8),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0xac7df0(0xac):return{'allowedActions':[_0xac7df0(0xcc),_0xac7df0(0xb7)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0xac7df0(0xcf):return null;default:return null;}}}
23
+ const _0x50793b=_0x53ce;function _0x53ce(_0x46129e,_0x1329eb){const _0x181916=_0x1819();return _0x53ce=function(_0x53ceac,_0x4fcf90){_0x53ceac=_0x53ceac-0x11f;let _0x7e9282=_0x181916[_0x53ceac];return _0x7e9282;},_0x53ce(_0x46129e,_0x1329eb);}(function(_0x14739a,_0xf7898e){const _0x31b7f6=_0x53ce,_0x4335ad=_0x14739a();while(!![]){try{const _0x59f026=parseInt(_0x31b7f6(0x121))/0x1+parseInt(_0x31b7f6(0x13e))/0x2*(parseInt(_0x31b7f6(0x128))/0x3)+-parseInt(_0x31b7f6(0x143))/0x4+-parseInt(_0x31b7f6(0x147))/0x5+parseInt(_0x31b7f6(0x131))/0x6*(-parseInt(_0x31b7f6(0x12e))/0x7)+parseInt(_0x31b7f6(0x136))/0x8*(parseInt(_0x31b7f6(0x141))/0x9)+parseInt(_0x31b7f6(0x12b))/0xa;if(_0x59f026===_0xf7898e)break;else _0x4335ad['push'](_0x4335ad['shift']());}catch(_0x3b13ff){_0x4335ad['push'](_0x4335ad['shift']());}}}(_0x1819,0xc3075));import{Plugin as _0x3dd8ff}from'ckeditor5/src/core.js';function _0x1819(){const _0x494237=['377765kUFmjv','_registerMarkerInClipboardPipeline','contentInsertion','plugins','85971oXzZWQ','dragstart','define','editor','has','get','never','51dzhjCh','delete','_removeMarkersWithoutThreads','19078380KwZOgJ','config','cut','21539aZnBHI','listenTo','_registerMarkerToCopy','2730TWHkop','ClipboardPipeline','highest','hasCommentThread','comment','4300984BSALcb','afterInit','always','requires','comments.copyMarkers','keys','content','markers','87034vlAFeM','_mapCommentsCopyConfigToRegisterConfiguration','default','18oPQUCU','all','6137676noyEaN','ClipboardMarkersUtils','CommentsRepository','split'];_0x1819=function(){return _0x494237;};return _0x1819();}import{ClipboardPipeline as _0x4b2dc1,ClipboardMarkersUtils as _0x1118a2}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x3dd8ff{constructor(_0x20afde){const _0x56c566=_0x53ce;super(_0x20afde),this[_0x56c566(0x124)][_0x56c566(0x12c)][_0x56c566(0x123)](_0x56c566(0x13a),_0x56c566(0x140));}static get[_0x50793b(0x139)](){return[_0x1118a2,_0x4b2dc1];}[_0x50793b(0x137)](){const _0x38d06a=_0x50793b,_0x144688=this[_0x38d06a(0x124)][_0x38d06a(0x120)][_0x38d06a(0x126)](_0x38d06a(0x132));this[_0x38d06a(0x148)](),this[_0x38d06a(0x12f)](_0x144688,_0x38d06a(0x11f),(_0x5ed7df,_0x135674)=>this[_0x38d06a(0x12a)](_0x135674[_0x38d06a(0x13c)][_0x38d06a(0x13d)]),{'priority':_0x38d06a(0x133)});}[_0x50793b(0x12a)](_0x5b67d4){const _0x22c0ac=_0x50793b;if(!this[_0x22c0ac(0x124)][_0x22c0ac(0x120)][_0x22c0ac(0x125)](_0x22c0ac(0x145)))return _0x5b67d4;const _0x565a3c=this[_0x22c0ac(0x124)][_0x22c0ac(0x120)][_0x22c0ac(0x126)](_0x22c0ac(0x145));for(const _0xe2d8d7 of _0x5b67d4[_0x22c0ac(0x13b)]()){const [_0x41cf5b,_0x1875fb]=_0xe2d8d7[_0x22c0ac(0x146)](':');_0x22c0ac(0x135)!=_0x41cf5b||_0x565a3c[_0x22c0ac(0x134)](_0x1875fb)||_0x5b67d4[_0x22c0ac(0x129)](_0xe2d8d7);}return _0x5b67d4;}[_0x50793b(0x148)](){const _0x21cd33=_0x50793b,_0x778663=this[_0x21cd33(0x124)][_0x21cd33(0x120)][_0x21cd33(0x126)](_0x21cd33(0x144)),_0x1ebff2=this[_0x21cd33(0x13f)](this[_0x21cd33(0x124)][_0x21cd33(0x12c)][_0x21cd33(0x126)](_0x21cd33(0x13a)));_0x1ebff2&&_0x778663[_0x21cd33(0x130)](_0x21cd33(0x135),_0x1ebff2);}[_0x50793b(0x13f)](_0x50f8f0){const _0x486302=_0x50793b;switch(_0x50f8f0){case _0x486302(0x138):return{'allowedActions':_0x486302(0x142),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x486302(0x140):return{'allowedActions':[_0x486302(0x12d),_0x486302(0x122)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x486302(0x127):return null;default:return null;}}}