@ckeditor/ckeditor5-comments 32.0.0 → 33.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/comments.js +5 -0
  4. package/build/translations/bs.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de-ch.js +1 -0
  8. package/build/translations/de.js +1 -0
  9. package/build/translations/el.js +1 -0
  10. package/build/translations/en-au.js +1 -0
  11. package/build/translations/es.js +1 -0
  12. package/build/translations/et.js +1 -0
  13. package/build/translations/fr.js +1 -0
  14. package/build/translations/gl.js +1 -0
  15. package/build/translations/hi.js +1 -0
  16. package/build/translations/hr.js +1 -0
  17. package/build/translations/hu.js +1 -0
  18. package/build/translations/id.js +1 -0
  19. package/build/translations/it.js +1 -0
  20. package/build/translations/ja.js +1 -0
  21. package/build/translations/ko.js +1 -0
  22. package/build/translations/nl.js +1 -0
  23. package/build/translations/no.js +1 -0
  24. package/build/translations/pl.js +1 -0
  25. package/build/translations/pt-br.js +1 -0
  26. package/build/translations/ro.js +1 -0
  27. package/build/translations/ru.js +1 -0
  28. package/build/translations/sk.js +1 -0
  29. package/build/translations/sr-latn.js +1 -0
  30. package/build/translations/sr.js +1 -0
  31. package/build/translations/tk.js +1 -0
  32. package/build/translations/tr.js +1 -0
  33. package/build/translations/ug.js +1 -0
  34. package/build/translations/uk.js +1 -0
  35. package/build/translations/zh-cn.js +1 -0
  36. package/build/translations/zh.js +1 -0
  37. package/lang/translations/el.po +79 -0
  38. package/package.json +4 -9
  39. package/src/annotations/annotation.js +1 -1
  40. package/src/annotations/annotationcollection.js +1 -1
  41. package/src/annotations/annotations.js +1 -1
  42. package/src/annotations/annotationsuis.js +1 -1
  43. package/src/annotations/editorannotations.js +1 -1
  44. package/src/annotations/inlineannotations.js +1 -1
  45. package/src/annotations/narrowsidebar.js +1 -1
  46. package/src/annotations/sidebar.js +1 -1
  47. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  48. package/src/annotations/view/annotationview.js +1 -1
  49. package/src/annotations/view/sidebaritemview.js +1 -1
  50. package/src/annotations/view/sidebarview.js +1 -1
  51. package/src/annotations/widesidebar.js +1 -1
  52. package/src/comments/addcommentthreadcommand.js +1 -1
  53. package/src/comments/commentsediting.js +1 -1
  54. package/src/comments/commentsrepository.js +1 -1
  55. package/src/comments/commentsui.js +1 -1
  56. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  57. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  58. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  59. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  60. package/src/comments/ui/commentthreadcontroller.js +1 -1
  61. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  62. package/src/comments/ui/view/basecommentview.js +1 -1
  63. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  64. package/src/comments/ui/view/commentcontentview.js +1 -1
  65. package/src/comments/ui/view/commentinputview.js +1 -1
  66. package/src/comments/ui/view/commentslistview.js +1 -1
  67. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  68. package/src/comments/ui/view/commentthreadview.js +1 -1
  69. package/src/comments/ui/view/commentview.js +1 -1
  70. package/src/comments/ui/view/confirmmixin.js +1 -1
  71. package/src/comments/ui/view/confirmview.js +1 -1
  72. package/src/comments.js +1 -1
  73. package/src/commentsonly.js +1 -1
  74. package/src/{utils/getmarkerdomelement.js → index.js} +1 -1
  75. package/src/utils/common-translations.js +1 -1
  76. package/src/utils/createmutationobserver.js +1 -1
  77. package/theme/annotation-inline.css +1 -1
  78. package/theme/annotation.css +1 -1
  79. package/theme/comment.css +1 -1
  80. package/theme/commentinput.css +1 -1
  81. package/theme/commentmarker.css +1 -1
  82. package/theme/commentthread.css +1 -1
  83. package/theme/icons/add-comment.svg +1 -1
  84. package/theme/icons/edit-comment.svg +1 -1
  85. package/theme/icons/remove-comment.svg +1 -1
  86. package/theme/sidebar-narrow.css +1 -1
  87. package/theme/sidebar.css +1 -1
  88. package/src/utils/getdatetimeformatter.js +0 -23
  89. package/src/utils/trim-html.js +0 -23
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
5
- Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
5
+ Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
6
6
 
7
7
  CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
8
8
  For more details about available licensing options please contact us at sales@cksource.com.
package/README.md CHANGED
@@ -40,7 +40,7 @@ As a licensed CKEditor 5 comments user you can report bugs and request features
40
40
  ## License
41
41
 
42
42
  **CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
43
- Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
43
+ Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
44
44
 
45
45
  CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
46
46
  For more details about available licensing options please contact us at sales@cksource.com.
@@ -0,0 +1,5 @@
1
+ !function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Are you sure?":"Are you sure?",Comment:"Comment","Comment editor":"Comment editor","Delete comment thread?":"Delete comment thread?","Delete comment?":"Delete comment?",Edit:"Edit",No:"No",NUMBER_OF_COMMENTS:["%0 Comment","%0 Comments"],PENDING_ACTION_COMMENT_THREAD:"Unsaved change in comment thread.",Remove:"Remove","Reply...":"Reply...",Submit:"Submit",TOO_LONG_COMMENT_ALERT:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.","Write a comment...":"Write a comment...",Yes:"Yes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
2
+ /*!
3
+ * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
4
+ * For licensing, see LICENSE.md.
5
+ */(()=>{var t={722:t=>{t.exports='\x3c!--\n\n What you\'re currently looking at is the source code of a legally protected, proprietary software.\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\n\n Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 1.5h12A3.5 3.5 0 0 1 19.5 5v8l-.005.192a3.501 3.501 0 0 1-2.927 3.262l-.062.008v1.813a1.5 1.5 0 0 1-2.193 1.33l-.371-.193-.38-.212a13.452 13.452 0 0 1-3.271-2.63l-.062-.07H4A3.5 3.5 0 0 1 .5 13V5A3.5 3.5 0 0 1 4 1.5ZM4 3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h6.924a11.916 11.916 0 0 0 3.71 3.081l.372.194v-3.268L14.962 15H16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4Zm1.55 5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.5 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Zm4.5 0a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z"/></svg>\n'},632:t=>{t.exports='\x3c!--\n\n What you\'re currently looking at is the source code of a legally protected, proprietary software.\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\n\n Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.2 7h9.2c.6 0 1 .4 1 1v9.9c0 .5-.4 1-1 1H5.2a1 1 0 0 1-1-1V8c0-.6.4-1 1-1zm1 1.5c-.3 0-.5.2-.5.5v8c0 .3.2.5.5.5h.5c.2 0 .5-.2.5-.5V9c0-.3-.3-.5-.5-.5h-.5zm3.2 0c-.2 0-.5.2-.5.5v8c0 .3.3.5.5.5h.5c.3 0 .5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.4zm3.5 0c-.2 0-.5.2-.5.5v8c0 .3.3.5.5.5h.5c.3 0 .5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.5zm-1.4-7.1H8.3L6.5 3.6H3.8c-.5 0-.7.3-.7.8s.2.7.7.7h12c.6 0 .9-.2.9-.7 0-.5-.3-.8-1-.8h-2.4l-1.8-2.2z"/></svg>\n'},275:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,":root{--ck-inline-annotation-container-width:300px;--ck-inline-annotation-container-max-height:400px}.ck.ck-balloon-panel .ck-annotation-wrapper{position:static;width:var(--ck-inline-annotation-container-width);max-height:var(--ck-inline-annotation-container-max-height);overflow-y:auto;overscroll-behavior-y:contain;overflow-x:hidden}.ck.ck-balloon-panel .ck-annotation{animation:none}.ck.ck-balloon-panel .ck-annotation-wrapper *{white-space:normal}.ck.ck-balloon-panel .ck-annotation-wrapper strong{font-weight:700}.ck.ck-balloon-panel .ck-annotation-wrapper i{font-style:italic}.ck.ck-balloon-panel button.ck-suggestion--accept .ck-tooltip__text,.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text{text-align:center}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip{left:unset;right:0}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text{left:unset}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text:after{left:calc(100% - 10px)}",""]);const r=i},173:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,":root{--ck-color-annotation-icon:grey;--ck-color-annotation-info:#757575;--ck-annotation-button-size:0.85em}.ck .ck-annotation{--ck-user-avatar-size:28px;font-size:var(--ck-font-size-base);display:flex;position:relative;animation:fadeInLeft .3s;transition:background-color .3s ease;padding:var(--ck-spacing-standard)}.ck .ck-annotation .ck-button{background-color:transparent;min-width:unset;min-height:unset;cursor:pointer;color:var(--ck-color-annotation-icon);border-radius:var(--ck-border-radius);font-size:var(--ck-annotation-button-size)}.ck .ck-annotation__main{display:flex;flex-wrap:wrap;justify-content:space-between;width:calc(100% - var(--ck-user-avatar-size));transition:all .2s ease;border-radius:var(--ck-border-radius);padding-left:var(--ck-spacing-standard)}.ck .ck-annotation__main p{margin:0;white-space:normal;font-size:var(--ck-font-size-base);line-height:1.5em}.ck .ck-annotation__user{margin-top:var(--ck-spacing-small)}.ck .ck-annotation__info{display:flex;align-items:center;color:var(--ck-color-annotation-info);min-height:2.4em}.ck .ck-annotation__info-name,.ck .ck-annotation__info-time{font-weight:700;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ck-color-annotation-info);font-size:var(--ck-font-size-small)}.ck .ck-annotation__info-time{margin-left:var(--ck-spacing-large)}.ck .ck-annotation__actions{transition:opacity .2s ease;opacity:.5}.ck .ck-annotation__content-wrapper{width:100%}@keyframes fadeInLeft{0%{transform:translate3d(-5%,0,0);opacity:0}to{transform:translateZ(0);opacity:1}}",""]);const r=i},490:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,':root{--ck-color-comment-background:#f3f7fb;--ck-color-comment-separator:#cddeef;--ck-color-comment-remove-background:#fcc;--ck-color-comment-input-background:var(--ck-color-comment-background)}.ck .ck-comment__wrapper{font-size:var(--ck-font-size-base);position:relative;outline:0;transition:all .3s linear}.ck .ck-comment__wrapper.ck-comment--remove-confirmation{transform:translate3d(-100%,0,0)}.ck .ck-comment__wrapper:first-of-type{border-top-right-radius:var(--ck-border-radius);border-top-left-radius:var(--ck-border-radius)}.ck .ck-comment:after{content:"";display:block;position:absolute;opacity:1;top:calc(var(--ck-user-avatar-size) + var(--ck-spacing-small));left:calc(var(--ck-spacing-standard) + var(--ck-user-avatar-size)/2 - 2px);width:4px;height:100%;background-color:var(--ck-color-comment-separator)}.ck .ck-comment--remove{background-color:var(--ck-color-comment-remove-background)}.ck .ck-comment--remove:after{opacity:0}.ck .ck-comment--edit{background-color:var(--ck-color-comment-input-background)}.ck .ck-comment--edit:after{opacity:0}.ck .ck-comment__main .ck-comment__input-wrapper{display:flex;flex-direction:column;position:relative;transition:all .3s linear}.ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input{padding:0}.ck .ck-comment__content{word-break:break-word}.ck .ck-comment__user{z-index:var(--ck-z-default)}.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit{color:var(--ck-color-button-save)}.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel{color:var(--ck-color-button-cancel)}.ck .ck-comment__input p,.ck .ck-comment p{margin:0}.ck .ck-comment__input ol,.ck .ck-comment__input ul,.ck .ck-comment ol,.ck .ck-comment ul{padding-left:10px;margin-left:10px}.ck .ck-comment__input ul,.ck .ck-comment ul{list-style:disc;margin-bottom:5px;margin-top:0}.ck .ck-comment__input ul ul,.ck .ck-comment ul ul{list-style:circle}.ck .ck-comment__input ul ul ul,.ck .ck-comment ul ul ul{list-style:square}',""]);const r=i},424:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,".ck .ck-comment__input-container{--ck-user-avatar-size:28px;font-size:var(--ck-font-size-base);display:none;padding:var(--ck-spacing-standard);background:var(--ck-color-comment-background)}.ck .ck-comment__input-container--active{display:flex}.ck .ck-comment__input{padding:var(--ck-spacing-standard);padding-top:var(--ck-spacing-medium);color:var(--ck-color-base-text);border-width:0;resize:none;background-color:transparent;transition:color .3s ease-in-out}.ck .ck-comment__input:focus{outline:none}.ck .ck-comment__input .ck-editor__editable_inline{--ck-focus-ring:none;--ck-inner-shadow:none;padding:0;overflow:visible;border:0;background-color:transparent;word-break:break-word}.ck-comment__input-wrapper .ck.ck-editor__editable_inline :first-child{margin-top:0}.ck-comment__input-wrapper .ck.ck-editor__editable_inline :last-child{margin-bottom:0}.ck .ck-comment__input-actions{width:100%;text-align:right;display:none}.ck .ck-comment__input-actions.ck-comment__input-actions--active{display:block}.ck .ck-comment__input-actions .ck-button{background-color:transparent;min-width:unset;min-height:unset;cursor:pointer;color:var(--ck-color-annotations-icon);border-radius:var(--ck-border-radius);font-size:var(--ck-annotation-button-size)}.ck .ck-comment__input-actions .ck-button.ck-disabled{opacity:.3}.ck .ck-comment__input-textarea{display:block}",""]);const r=i},446:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,":root{--ck-color-comment-marker:#fef7a9;--ck-color-comment-marker-active:#fdf05d}.ck-comment-marker{background:var(--ck-color-comment-marker);border-top:3px solid transparent;border-bottom:3px solid transparent}.ck-comment-marker.ck-widget{background-color:transparent;border:3px solid var(--ck-color-comment-marker)}.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-comment-marker--active.ck-widget{border-color:var(--ck-color-comment-marker-active)}.ck-comment-marker--active.ck-widget .ck-comment-marker{background-color:var(--ck-color-comment-marker)}.ck-comment-marker--active .ck-comment-marker{background:var(--ck-color-comment-marker-active)}",""]);const r=i},227:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,':root{--ck-color-thread-remove-background:var(--ck-color-comment-remove-background);--ck-color-comment-count:#5891ca}.ck .ck-thread{width:100%;color:var(--ck-color-base-text);outline:0;background-color:var(--ck-color-base-background);overflow:hidden;transition:all .3s ease;border-radius:var(--ck-border-radius)}.ck .ck-thread__comments .ck-comment__wrapper:last-of-type .ck-comment:after{opacity:0}.ck .ck-thread__container{transition:transform .3s ease}.ck .ck-thread__comments{position:relative;z-index:var(--ck-z-default);list-style:none;margin:0;padding:0;border-radius:var(--ck-border-radius);overflow:hidden}.ck .ck-thread__comment-count{--ck-user-avatar-size:28px;padding-left:calc(var(--ck-user-avatar-size) + var(--ck-spacing-standard)*2);color:var(--ck-color-comment-count);font-size:var(--ck-font-size-base);font-weight:700;cursor:pointer;transition:background-color .3s ease}.ck .ck-thread__comment-count:before{content:"\\25BC";margin-right:var(--ck-spacing-small)}.ck .ck-thread--active .ck-comment__options.ck-dropdown{display:block}.ck .ck-thread--active .ck-thread__input{display:block;background-color:var(--ck-color-comment-background)}.ck .ck-thread--remove .ck-comment{background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread--remove .ck-thread__input--active{background-color:var(--ck-color-base-background)}.ck .ck-thread--remove .ck-thread__comment-count,.ck .ck-thread--remove .ck-thread__input--active.ck-thread__input{background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread--remove .ck-comment__wrapper .ck-comment:after{opacity:0}.ck .ck-thread--remove-confirmation .ck-thread__container{transform:translate3d(-100%,0,0)}.ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck .ck-thread__remove-confirm{font-size:var(--ck-font-size-base);position:absolute;display:flex;justify-content:flex-start;top:0;left:100%;width:100%;height:100%;background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:var(--ck-spacing-standard);height:100%;width:100%;max-height:400px}.ck .ck-thread__remove-confirm p{font-weight:700;margin:0}.ck .ck-thread__input{width:calc(100% - var(--ck-user-avatar-size));transition:background-color .2s ease-in-out;border-radius:var(--ck-border-radius)}',""]);const r=i},28:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,":root{--ck-annotation-counter-icon-size:16px;--ck-annotation-counter-number-size:10px;--ck-color-annotation-counter-comment:#f2de02;--ck-color-annotation-counter-suggestion-insertion:#5ad86b;--ck-color-annotation-counter-suggestion-deletion:#d85a79;--ck-color-annotation-counter-suggestion-format:#5ac1d8}.ck.ck-sidebar--narrow .ck-sidebar-item{display:flex;justify-content:center}.ck.ck-sidebar--narrow .ck-annotation-counter{font-size:var(--ck-annotation-counter-icon-size);min-height:unset;padding:0;cursor:pointer;color:grey}.ck.ck-sidebar--narrow .ck-annotation-counter:focus,.ck.ck-sidebar--narrow .ck-annotation-counter:hover{background:transparent;box-shadow:none;color:#4d4d4d}.ck.ck-sidebar--narrow .ck-annotation-counter__badge{border-radius:50%;position:absolute;width:16px;height:16px;background:#333;font-weight:700;color:#fff;font-size:var(--ck-annotation-counter-number-size);font-family:var(--ck-font-face);right:0;top:-6px;text-shadow:-1px 0 2px #444,1px 0 2px #444;display:flex;justify-content:center;line-height:16px;z-index:1}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode{line-height:1}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace{background:var(--ck-color-annotation-counter-suggestion-insertion)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion{background:var(--ck-color-annotation-counter-suggestion-deletion)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format{background:var(--ck-color-annotation-counter-suggestion-format)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment{background:var(--ck-color-annotation-counter-comment)}",""]);const r=i},100:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(758),i=n.n(o)()((function(t){return t[1]}));i.push([t.id,":root{--ck-color-annotation-wrapper-background:#fff;--ck-color-annotation-wrapper-drop-shadow:0 1px 1px 1px #e6e6e6}.ck.ck-sidebar{position:relative;transition:min-height .25s ease;outline:0}.ck-sidebar-item{position:absolute;width:100%;transition:top .3s ease,box-shadow .3s ease}.ck-sidebar-item--no-animation{transition:top 0s ease!important}.ck.ck-annotation-wrapper{outline:0;border-radius:var(--ck-border-radius);background:var(--ck-color-annotation-wrapper-background);box-shadow:var(--ck-color-annotation-wrapper-drop-shadow)}.ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover{box-shadow:var(--ck-drop-shadow)}.ck.ck-annotation-wrapper--active{box-shadow:var(--ck-drop-shadow-active)}.ck.ck-annotation-wrapper--active .ck-annotation__actions,.ck.ck-annotation-wrapper:hover .ck-annotation__actions{opacity:1}.ck.ck-annotation-wrapper--active .ck-suggestion--accept,.ck.ck-annotation-wrapper:hover .ck-suggestion--accept{color:var(--ck-color-button-save)}.ck.ck-annotation-wrapper--active .ck-suggestion--discard,.ck.ck-annotation-wrapper:hover .ck-suggestion--discard{color:var(--ck-color-button-cancel)}",""]);const r=i},758:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(o)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(i[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);o&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},278:(t,e,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n<s.length;n++)if(s[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},o=[],i=0;i<t.length;i++){var r=t[i],c=e.base?r[0]+e.base:r[0],h=n[c]||0,x="".concat(c," ").concat(h);n[c]=h+1;var d=a(x),l={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(s[d].references++,s[d].updater(l)):s.push({identifier:x,updater:p(l,e),references:1}),o.push(x)}return o}function h(t){var e=document.createElement("style"),o=t.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(t){e.setAttribute(t,o[t])})),"function"==typeof t.insert)t.insert(e);else{var s=r(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var x,d=(x=[],function(t,e){return x[t]=e,x.filter(Boolean).join("\n")});function l(t,e,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(t.styleSheet)t.styleSheet.cssText=d(e,i);else{var r=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}function u(t,e,n){var o=n.css,i=n.media,r=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}var m=null,f=0;function p(t,e){var n,o,i;if(e.singleton){var r=f++;n=m||(m=h(e)),o=l.bind(null,n,r,!1),i=l.bind(null,n,r,!0)}else n=h(e),o=u.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var o=0;o<n.length;o++){var i=a(n[o]);s[i].references--}for(var r=c(t,e),h=0;h<n.length;h++){var x=a(n[h]);0===s[x].references&&(s[x].updater(),s.splice(x,1))}n=r}}}},945:(t,e,n)=>{t.exports=n(79)("./src/clipboard.js")},417:(t,e,n)=>{t.exports=n(720)("./src/collaboration-core.js")},704:(t,e,n)=>{t.exports=n(79)("./src/core.js")},492:(t,e,n)=>{t.exports=n(79)("./src/engine.js")},331:(t,e,n)=>{t.exports=n(79)("./src/enter.js")},747:(t,e,n)=>{t.exports=n(79)("./src/paragraph.js")},468:(t,e,n)=>{t.exports=n(79)("./src/select-all.js")},181:(t,e,n)=>{t.exports=n(79)("./src/typing.js")},273:(t,e,n)=>{t.exports=n(79)("./src/ui.js")},254:(t,e,n)=>{t.exports=n(79)("./src/undo.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},720:t=>{"use strict";t.exports=CKEditor5.collaborationDll},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={id:o,exports:{}};return t[o](r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{Annotations:()=>vr,AnnotationsUIs:()=>ls,BaseCommentThreadView:()=>Go,BaseCommentView:()=>li,Comments:()=>aa,CommentsOnly:()=>aa,InlineAnnotations:()=>na,NarrowSidebar:()=>Gs,WideSidebar:()=>Ps});var t=n(704),e=n(209),i=n(417);const r=function(){this.__data__=[],this.size=0};const s=function(t,e){return t===e||t!=t&&e!=e};const a=function(t,e){for(var n=t.length;n--;)if(s(t[n][0],e))return n;return-1};var c=Array.prototype.splice;const h=function(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():c.call(e,n,1),--this.size,!0)};const x=function(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]};const d=function(t){return a(this.__data__,t)>-1};const l=function(t,e){var n=this.__data__,o=a(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this};function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}u.prototype.clear=r,u.prototype.delete=h,u.prototype.get=x,u.prototype.has=d,u.prototype.set=l;const m=u;const f=function(){this.__data__=new m,this.size=0};const p=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const g=function(t){return this.__data__.get(t)};const b=function(t){return this.__data__.has(t)};const v="object"==typeof global&&global&&global.Object===Object&&global;var _="object"==typeof self&&self&&self.Object===Object&&self;const w=v||_||Function("return this")();const k=w.Symbol;var y=Object.prototype,C=y.hasOwnProperty,A=y.toString,T=k?k.toStringTag:void 0;const I=function(t){var e=C.call(t,T),n=t[T];try{t[T]=void 0;var o=!0}catch(t){}var i=A.call(t);return o&&(e?t[T]=n:delete t[T]),i};var E=Object.prototype.toString;const j=function(t){return E.call(t)};var V=k?k.toStringTag:void 0;const O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":V&&V in Object(t)?I(t):j(t)};const S=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!S(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const B=w["__core-js_shared__"];var D,R=(D=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";const P=function(t){return!!R&&R in t};var N=Function.prototype.toString;const z=function(t){if(null!=t){try{return N.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var F=/^\[object .+?Constructor\]$/,L=Function.prototype,K=Object.prototype,U=L.toString,W=K.hasOwnProperty,H=RegExp("^"+U.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!S(t)||P(t))&&(M(t)?H:F).test(z(t))};const q=function(t,e){return null==t?void 0:t[e]};const $=function(t,e){var n=q(t,e);return Z(n)?n:void 0};const G=$(w,"Map");const Y=$(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const Q=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;if(Y){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return X.call(e,t)?e[t]:void 0};var et=Object.prototype.hasOwnProperty;const nt=function(t){var e=this.__data__;return Y?void 0!==e[t]:et.call(e,t)};const ot=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}it.prototype.clear=J,it.prototype.delete=Q,it.prototype.get=tt,it.prototype.has=nt,it.prototype.set=ot;const rt=it;const st=function(){this.size=0,this.__data__={hash:new rt,map:new(G||m),string:new rt}};const at=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ct=function(t,e){var n=t.__data__;return at(e)?n["string"==typeof e?"string":"hash"]:n.map};const ht=function(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e};const xt=function(t){return ct(this,t).get(t)};const dt=function(t){return ct(this,t).has(t)};const lt=function(t,e){var n=ct(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this};function ut(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}ut.prototype.clear=st,ut.prototype.delete=ht,ut.prototype.get=xt,ut.prototype.has=dt,ut.prototype.set=lt;const mt=ut;const ft=function(t,e){var n=this.__data__;if(n instanceof m){var o=n.__data__;if(!G||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new mt(o)}return n.set(t,e),this.size=n.size,this};function pt(t){var e=this.__data__=new m(t);this.size=e.size}pt.prototype.clear=f,pt.prototype.delete=p,pt.prototype.get=g,pt.prototype.has=b,pt.prototype.set=ft;const gt=pt;const bt=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const vt=function(t){return this.__data__.has(t)};function _t(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new mt;++e<n;)this.add(t[e])}_t.prototype.add=_t.prototype.push=bt,_t.prototype.has=vt;const wt=_t;const kt=function(t,e){for(var n=-1,o=null==t?0:t.length;++n<o;)if(e(t[n],n,t))return!0;return!1};const yt=function(t,e){return t.has(e)};const Ct=function(t,e,n,o,i,r){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var h=r.get(t),x=r.get(e);if(h&&x)return h==e&&x==t;var d=-1,l=!0,u=2&n?new wt:void 0;for(r.set(t,e),r.set(e,t);++d<a;){var m=t[d],f=e[d];if(o)var p=s?o(f,m,d,e,t,r):o(m,f,d,t,e,r);if(void 0!==p){if(p)continue;l=!1;break}if(u){if(!kt(e,(function(t,e){if(!yt(u,e)&&(m===t||i(m,t,n,o,r)))return u.push(e)}))){l=!1;break}}else if(m!==f&&!i(m,f,n,o,r)){l=!1;break}}return r.delete(t),r.delete(e),l};const At=w.Uint8Array;const Tt=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,o){n[++e]=[o,t]})),n};const It=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var Et=k?k.prototype:void 0,jt=Et?Et.valueOf:void 0;const Vt=function(t,e,n,o,i,r,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!r(new At(t),new At(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=Tt;case"[object Set]":var h=1&o;if(c||(c=It),t.size!=e.size&&!h)return!1;var x=a.get(t);if(x)return x==e;o|=2,a.set(t,e);var d=Ct(c(t),c(e),o,i,r,a);return a.delete(t),d;case"[object Symbol]":if(jt)return jt.call(t)==jt.call(e)}return!1};const Ot=function(t,e){for(var n=-1,o=e.length,i=t.length;++n<o;)t[i+n]=e[n];return t};const St=Array.isArray;const Mt=function(t,e,n){var o=e(t);return St(t)?o:Ot(o,n(t))};const Bt=function(t,e){for(var n=-1,o=null==t?0:t.length,i=0,r=[];++n<o;){var s=t[n];e(s,n,t)&&(r[i++]=s)}return r};const Dt=function(){return[]};var Rt=Object.prototype.propertyIsEnumerable,Pt=Object.getOwnPropertySymbols;const Nt=Pt?function(t){return null==t?[]:(t=Object(t),Bt(Pt(t),(function(e){return Rt.call(t,e)})))}:Dt;const zt=function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o};const Ft=function(t){return null!=t&&"object"==typeof t};const Lt=function(t){return Ft(t)&&"[object Arguments]"==O(t)};var Kt=Object.prototype,Ut=Kt.hasOwnProperty,Wt=Kt.propertyIsEnumerable;const Ht=Lt(function(){return arguments}())?Lt:function(t){return Ft(t)&&Ut.call(t,"callee")&&!Wt.call(t,"callee")};const Zt=function(){return!1};var qt="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=qt&&"object"==typeof module&&module&&!module.nodeType&&module,Gt=$t&&$t.exports===qt?w.Buffer:void 0;const Yt=(Gt?Gt.isBuffer:void 0)||Zt;var Jt=/^(?:0|[1-9]\d*)$/;const Qt=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Jt.test(t))&&t>-1&&t%1==0&&t<e};const Xt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var te={};te["[object Float32Array]"]=te["[object Float64Array]"]=te["[object Int8Array]"]=te["[object Int16Array]"]=te["[object Int32Array]"]=te["[object Uint8Array]"]=te["[object Uint8ClampedArray]"]=te["[object Uint16Array]"]=te["[object Uint32Array]"]=!0,te["[object Arguments]"]=te["[object Array]"]=te["[object ArrayBuffer]"]=te["[object Boolean]"]=te["[object DataView]"]=te["[object Date]"]=te["[object Error]"]=te["[object Function]"]=te["[object Map]"]=te["[object Number]"]=te["[object Object]"]=te["[object RegExp]"]=te["[object Set]"]=te["[object String]"]=te["[object WeakMap]"]=!1;const ee=function(t){return Ft(t)&&Xt(t.length)&&!!te[O(t)]};const ne=function(t){return function(e){return t(e)}};var oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,ie=oe&&"object"==typeof module&&module&&!module.nodeType&&module,re=ie&&ie.exports===oe&&v.process;const se=function(){try{var t=ie&&ie.require&&ie.require("util").types;return t||re&&re.binding&&re.binding("util")}catch(t){}}();var ae=se&&se.isTypedArray;const ce=ae?ne(ae):ee;var he=Object.prototype.hasOwnProperty;const xe=function(t,e){var n=St(t),o=!n&&Ht(t),i=!n&&!o&&Yt(t),r=!n&&!o&&!i&&ce(t),s=n||o||i||r,a=s?zt(t.length,String):[],c=a.length;for(var h in t)!e&&!he.call(t,h)||s&&("length"==h||i&&("offset"==h||"parent"==h)||r&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||Qt(h,c))||a.push(h);return a};var de=Object.prototype;const le=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||de)};const ue=function(t,e){return function(n){return t(e(n))}};const me=ue(Object.keys,Object);var fe=Object.prototype.hasOwnProperty;const pe=function(t){if(!le(t))return me(t);var e=[];for(var n in Object(t))fe.call(t,n)&&"constructor"!=n&&e.push(n);return e};const ge=function(t){return null!=t&&Xt(t.length)&&!M(t)};const be=function(t){return ge(t)?xe(t):pe(t)};const ve=function(t){return Mt(t,be,Nt)};var _e=Object.prototype.hasOwnProperty;const we=function(t,e,n,o,i,r){var s=1&n,a=ve(t),c=a.length;if(c!=ve(e).length&&!s)return!1;for(var h=c;h--;){var x=a[h];if(!(s?x in e:_e.call(e,x)))return!1}var d=r.get(t),l=r.get(e);if(d&&l)return d==e&&l==t;var u=!0;r.set(t,e),r.set(e,t);for(var m=s;++h<c;){var f=t[x=a[h]],p=e[x];if(o)var g=s?o(p,f,x,e,t,r):o(f,p,x,t,e,r);if(!(void 0===g?f===p||i(f,p,n,o,r):g)){u=!1;break}m||(m="constructor"==x)}if(u&&!m){var b=t.constructor,v=e.constructor;b==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(u=!1)}return r.delete(t),r.delete(e),u};const ke=$(w,"DataView");const ye=$(w,"Promise");const Ce=$(w,"Set");const Ae=$(w,"WeakMap");var Te="[object Map]",Ie="[object Promise]",Ee="[object Set]",je="[object WeakMap]",Ve="[object DataView]",Oe=z(ke),Se=z(G),Me=z(ye),Be=z(Ce),De=z(Ae),Re=O;(ke&&Re(new ke(new ArrayBuffer(1)))!=Ve||G&&Re(new G)!=Te||ye&&Re(ye.resolve())!=Ie||Ce&&Re(new Ce)!=Ee||Ae&&Re(new Ae)!=je)&&(Re=function(t){var e=O(t),n="[object Object]"==e?t.constructor:void 0,o=n?z(n):"";if(o)switch(o){case Oe:return Ve;case Se:return Te;case Me:return Ie;case Be:return Ee;case De:return je}return e});const Pe=Re;var Ne="[object Arguments]",ze="[object Array]",Fe="[object Object]",Le=Object.prototype.hasOwnProperty;const Ke=function(t,e,n,o,i,r){var s=St(t),a=St(e),c=s?ze:Pe(t),h=a?ze:Pe(e),x=(c=c==Ne?Fe:c)==Fe,d=(h=h==Ne?Fe:h)==Fe,l=c==h;if(l&&Yt(t)){if(!Yt(e))return!1;s=!0,x=!1}if(l&&!x)return r||(r=new gt),s||ce(t)?Ct(t,e,n,o,i,r):Vt(t,e,c,n,o,i,r);if(!(1&n)){var u=x&&Le.call(t,"__wrapped__"),m=d&&Le.call(e,"__wrapped__");if(u||m){var f=u?t.value():t,p=m?e.value():e;return r||(r=new gt),i(f,p,n,o,r)}}return!!l&&(r||(r=new gt),we(t,e,n,o,i,r))};const Ue=function t(e,n,o,i,r){return e===n||(null==e||null==n||!Ft(e)&&!Ft(n)?e!=e&&n!=n:Ke(e,n,o,i,t,r))};const We=function(t,e){return Ue(t,e)};const He=function(t,e){for(var n=-1,o=null==t?0:t.length;++n<o&&!1!==e(t[n],n,t););return t};const Ze=function(){try{var t=$(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const qe=function(t,e,n){"__proto__"==e&&Ze?Ze(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var $e=Object.prototype.hasOwnProperty;const Ge=function(t,e,n){var o=t[e];$e.call(t,e)&&s(o,n)&&(void 0!==n||e in t)||qe(t,e,n)};const Ye=function(t,e,n,o){var i=!n;n||(n={});for(var r=-1,s=e.length;++r<s;){var a=e[r],c=o?o(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),i?qe(n,a,c):Ge(n,a,c)}return n};const Je=function(t,e){return t&&Ye(e,be(e),t)};const Qe=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var Xe=Object.prototype.hasOwnProperty;const tn=function(t){if(!S(t))return Qe(t);var e=le(t),n=[];for(var o in t)("constructor"!=o||!e&&Xe.call(t,o))&&n.push(o);return n};const en=function(t){return ge(t)?xe(t,!0):tn(t)};const nn=function(t,e){return t&&Ye(e,en(e),t)};var on="object"==typeof exports&&exports&&!exports.nodeType&&exports,rn=on&&"object"==typeof module&&module&&!module.nodeType&&module,sn=rn&&rn.exports===on?w.Buffer:void 0,an=sn?sn.allocUnsafe:void 0;const cn=function(t,e){if(e)return t.slice();var n=t.length,o=an?an(n):new t.constructor(n);return t.copy(o),o};const hn=function(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n<o;)e[n]=t[n];return e};const xn=function(t,e){return Ye(t,Nt(t),e)};const dn=ue(Object.getPrototypeOf,Object);const ln=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ot(e,Nt(t)),t=dn(t);return e}:Dt;const un=function(t,e){return Ye(t,ln(t),e)};const mn=function(t){return Mt(t,en,ln)};var fn=Object.prototype.hasOwnProperty;const pn=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&fn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const gn=function(t){var e=new t.constructor(t.byteLength);return new At(e).set(new At(t)),e};const bn=function(t,e){var n=e?gn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var vn=/\w*$/;const _n=function(t){var e=new t.constructor(t.source,vn.exec(t));return e.lastIndex=t.lastIndex,e};var wn=k?k.prototype:void 0,kn=wn?wn.valueOf:void 0;const yn=function(t){return kn?Object(kn.call(t)):{}};const Cn=function(t,e){var n=e?gn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};const An=function(t,e,n){var o=t.constructor;switch(e){case"[object ArrayBuffer]":return gn(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return bn(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Cn(t,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return _n(t);case"[object Symbol]":return yn(t)}};var Tn=Object.create;const In=function(){function t(){}return function(e){if(!S(e))return{};if(Tn)return Tn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const En=function(t){return"function"!=typeof t.constructor||le(t)?{}:In(dn(t))};const jn=function(t){return Ft(t)&&"[object Map]"==Pe(t)};var Vn=se&&se.isMap;const On=Vn?ne(Vn):jn;const Sn=function(t){return Ft(t)&&"[object Set]"==Pe(t)};var Mn=se&&se.isSet;const Bn=Mn?ne(Mn):Sn;var Dn="[object Arguments]",Rn="[object Function]",Pn="[object Object]",Nn={};Nn[Dn]=Nn["[object Array]"]=Nn["[object ArrayBuffer]"]=Nn["[object DataView]"]=Nn["[object Boolean]"]=Nn["[object Date]"]=Nn["[object Float32Array]"]=Nn["[object Float64Array]"]=Nn["[object Int8Array]"]=Nn["[object Int16Array]"]=Nn["[object Int32Array]"]=Nn["[object Map]"]=Nn["[object Number]"]=Nn["[object Object]"]=Nn["[object RegExp]"]=Nn["[object Set]"]=Nn["[object String]"]=Nn["[object Symbol]"]=Nn["[object Uint8Array]"]=Nn["[object Uint8ClampedArray]"]=Nn["[object Uint16Array]"]=Nn["[object Uint32Array]"]=!0,Nn["[object Error]"]=Nn[Rn]=Nn["[object WeakMap]"]=!1;const zn=function t(e,n,o,i,r,s){var a,c=1&n,h=2&n,x=4&n;if(o&&(a=r?o(e,i,r,s):o(e)),void 0!==a)return a;if(!S(e))return e;var d=St(e);if(d){if(a=pn(e),!c)return hn(e,a)}else{var l=Pe(e),u=l==Rn||"[object GeneratorFunction]"==l;if(Yt(e))return cn(e,c);if(l==Pn||l==Dn||u&&!r){if(a=h||u?{}:En(e),!c)return h?un(e,nn(a,e)):xn(e,Je(a,e))}else{if(!Nn[l])return r?e:{};a=An(e,l,c)}}s||(s=new gt);var m=s.get(e);if(m)return m;s.set(e,a),Bn(e)?e.forEach((function(i){a.add(t(i,n,o,i,e,s))})):On(e)&&e.forEach((function(i,r){a.set(r,t(i,n,o,r,e,s))}));var f=d?void 0:(x?h?mn:ve:h?en:be)(e);return He(f||e,(function(i,r){f&&(i=e[r=i]),Ge(a,r,t(i,n,o,r,e,s))})),a};const Fn=function(t){return zn(t,5)};const Ln=function(t){return"symbol"==typeof t||Ft(t)&&"[object Symbol]"==O(t)};var Kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Un=/^\w*$/;const Wn=function(t,e){if(St(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ln(t))||(Un.test(t)||!Kn.test(t)||null!=e&&t in Object(e))};function Hn(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=e?e.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var s=t.apply(this,o);return n.cache=r.set(i,s)||r,s};return n.cache=new(Hn.Cache||mt),n}Hn.Cache=mt;const Zn=Hn;var qn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$n=/\\(\\)?/g;const Gn=function(t){var e=Zn(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(qn,(function(t,n,o,i){e.push(o?i.replace($n,"$1"):n||t)})),e}));const Yn=function(t,e){for(var n=-1,o=null==t?0:t.length,i=Array(o);++n<o;)i[n]=e(t[n],n,t);return i};var Jn=k?k.prototype:void 0,Qn=Jn?Jn.toString:void 0;const Xn=function t(e){if("string"==typeof e)return e;if(St(e))return Yn(e,t)+"";if(Ln(e))return Qn?Qn.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const to=function(t){return null==t?"":Xn(t)};const eo=function(t,e){return St(t)?t:Wn(t,e)?[t]:Gn(to(t))};const no=function(t){if("string"==typeof t||Ln(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};const oo=function(t,e,n,o){if(!S(t))return t;for(var i=-1,r=(e=eo(e,t)).length,s=r-1,a=t;null!=a&&++i<r;){var c=no(e[i]),h=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=s){var x=a[c];void 0===(h=o?o(x,c,a):void 0)&&(h=S(x)?x:Qt(e[i+1])?[]:{})}Ge(a,c,h),a=a[c]}return t};const io=function(t,e,n){return null==t?t:oo(t,e,n)};const ro=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const so=function(t,e){for(var n=0,o=(e=eo(e,t)).length;null!=t&&n<o;)t=t[no(e[n++])];return n&&n==o?t:void 0};const ao=function(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+e];return r};const co=function(t,e){return e.length<2?t:so(t,ao(e,0,-1))};const ho=function(t,e){return e=eo(e,t),null==(t=co(t,e))||delete t[no(ro(e))]};const xo=function(t,e){return null==t||ho(t,e)};var lo,uo,mo=["_localUser","listenTo","model","removeComment","stopListening","_isAttached","remove","getComment","view","removeCommentThread","destroy","addComment","updateComment"];lo=mo,uo=250,function(t){for(;--t;)lo.push(lo.shift())}(++uo);var fo=function(t,e){return mo[t-=0]};class po{constructor(t,e){this.model=t,this.model._isAttached=!0,this[fo("0x5")]=e,this[fo("0xb")](e,fo("0x6"),(()=>this.remove())),this.listenTo(e,fo("0x8"),((t,e)=>this[fo("0x8")](e))),this.listenTo(e,fo("0x9"),((t,e,n)=>this[fo("0x9")](e,n))),this.listenTo(e,fo("0x0"),((t,e)=>this[fo("0x0")](e)))}[fo("0x3")](){this[fo("0xc")][fo("0x3")]()}[fo("0x8")](t){this[fo("0xc")].addComment({content:t,authorId:this[fo("0x5")][fo("0xa")].id})}[fo("0x9")](t,e){this[fo("0xc")].getComment(t).update({content:e})}[fo("0x0")](t){this.model[fo("0x4")](t).remove()}[fo("0x7")](){this[fo("0x1")](),this[fo("0xc")][fo("0x2")]=!1}}(0,e.mix)(po,e.ObservableMixin);var go=n(273);class bo extends go.EditorUIView{constructor(t,n){super(t);const o=(0,e.uid)();this.main=this.createCollection(),this.editable=new go.InlineEditableUIView(t,n),this._voiceLabelView=this._createVoiceLabel(o,t),this.setTemplate({tag:"div",attributes:{class:["ck-reset","ck-editor","ck-rounded-corners","ck-comment__input"],role:"comment",dir:t.uiLanguageDirection,lang:t.uiLanguage,"aria-labelledby":"cke-editor__aria-label_"+o},children:[this._voiceLabelView,{tag:"div",attributes:{class:"ck-editor__main",role:"presentation"},children:this.main}]})}render(){super.render(),this.main.add(this.editable)}focus(){this.editable.element.focus()}_createVoiceLabel(t,e){const n=new go.LabelView,{t:o}=e;return n.text=o("Comment editor"),n.extendTemplate({attributes:{id:"ck-editor__aria-label_"+t,class:"ck-voice-label"}}),n}}const vo=["name","editable","fire","add","view","render","attachDomRoot","locale","ready","element","setEditableElement","focusTracker","bind","document","destroy","editor"];var _o,wo;_o=vo,wo=330,function(t){for(;--t;)_o.push(_o.shift())}(++wo);const ko=function(t,e){return vo[t-=0]};class yo extends t.EditorUI{constructor(t){super(t),this[ko("0xa")]=new bo(t[ko("0xd")],t.editing.view)}get element(){return this[ko("0xa")][ko("0xf")]}init(){const t=this[ko("0x5")].editing[ko("0xa")],e=this[ko("0xa")][ko("0x7")],n=t[ko("0x3")].getRoot();e[ko("0x6")]=n.rootName,this[ko("0xa")][ko("0xb")]();const o=e[ko("0xf")];this[ko("0x0")](e[ko("0x6")],o),this.focusTracker[ko("0x9")](o),this[ko("0xa")].editable[ko("0x2")]("isFocused").to(this[ko("0x1")]),t[ko("0xc")](o),this[ko("0x8")](ko("0xe"))}[ko("0x4")](){this[ko("0xa")][ko("0x4")](),super[ko("0x4")]()}}var Co=n(492),Ao=n(945),To=n(331),Io=n(468),Eo=n(181),jo=n(254),Vo=n(747);const Oo=["change","_updatePlaceholder","getRoot","createRoot","plugins","create","document","destroy","data","placeholderElement","defaultPlugins","view","initialData","model","childCount","assign","focus","editing","then","name","placeholder","end","set","init","getChild"];var So,Mo;So=Oo,Mo=195,function(t){for(;--t;)So.push(So.shift())}(++Mo);const Bo=function(t,e){return Oo[t-=0]};class Do extends t.Editor{constructor(t={}){(t=Object[Bo("0x14")]({},t))[Bo("0x9")]||(t[Bo("0x9")]=Do[Bo("0xf")]),super(t),this.ui=new yo(this),this[Bo("0x2")](Bo("0x0"),""),this[Bo("0x12")].document.on("change",(()=>this._updatePlaceholder()),{priority:"low"}),this.on("change:placeholder",(()=>this[Bo("0x6")]())),this[Bo("0x12")].document[Bo("0x8")]()}[Bo("0xa")](){const t=this.config.get(Bo("0x11"))||"";return this.initPlugins()[Bo("0x17")]((()=>this.ui[Bo("0x3")]()))[Bo("0x17")]((()=>this[Bo("0xd")][Bo("0x3")](t)))[Bo("0x17")]((()=>this.fire("ready")))}destroy(){return super[Bo("0xc")]()[Bo("0x17")]((()=>this.ui[Bo("0xc")]()))}[Bo("0x15")](){this[Bo("0x12")][Bo("0x5")]((t=>{const e=this[Bo("0x12")][Bo("0xb")][Bo("0x7")](),n=e[Bo("0x4")](e[Bo("0x13")]-1);t.setSelection(n,Bo("0x1")),this[Bo("0x16")][Bo("0x10")].focus()}))}_updatePlaceholder(){const t=this[Bo("0x16")][Bo("0x10")],e=t.document.getRoot(),n=e[Bo("0x4")](0);e.childCount>1||!n||"p"!=n[Bo("0x18")]?this.placeholderElement&&((0,Co.disablePlaceholder)(t,this[Bo("0xe")]),this[Bo("0xe")]=void 0):((0,Co.enablePlaceholder)({view:t,element:n,text:this[Bo("0x0")],keepOnFocus:!0}),this[Bo("0xe")]=n)}}(0,e.mix)(Do,e.ObservableMixin),(0,e.mix)(Do,t.DataApiMixin),Do[Bo("0xf")]=[Ao.Clipboard,To.Enter,To.ShiftEnter,Io.SelectAll,Eo.Typing,jo.Undo,Vo.Paragraph];class Ro extends go.View{constructor(t,n={}){super(t);const{t:o}=t;this.editor=new Do(n),this.keystrokes=new e.KeystrokeHandler,this.focusTracker=new e.FocusTracker,this.set("value",n.initialData||""),this.set("disabledSubmit",!1),this.set("showButtons",!0),this.set("placeholder",o("Reply...")),this.submitButtonView=this._createSubmitButton(),this.cancelButtonView=this._createCancelButton(),this.setTemplate({tag:"div",attributes:{class:["ck-comment__input-wrapper"]},children:[{tag:"div",attributes:{class:["ck-comment__input-actions",this.bindTemplate.if("showButtons","ck-comment__input-actions--active")]},children:[this.submitButtonView,this.cancelButtonView]}]}),this.keystrokes.set("Esc",((t,e)=>{this.cancelButtonView.fire("execute"),e()})),this.on("submit",((t,e)=>{e.length>65e3?(alert(o({string:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.",id:"TOO_LONG_COMMENT_ALERT"},[e.length,65e3])),t.stop()):this.editor.setData("")}),{priority:"high"})}render(){super.render();const{editor:t,element:e}=this;this.keystrokes.listenTo(e),this.focusTracker.add(e),this._editorCreationPromise=t.create().then((()=>{e.insertBefore(t.ui.element,e.firstChild),t.model.document.on("change",(()=>this.value=t.getData())),t.bind("placeholder").to(this),this._initializeFocusCycling(t),this.fire("editorReady")}))}focus(){this.editor.focus()}async destroy(){this._isDestroyed||(this._isDestroyed=!0,this.isRendered&&(await this._editorCreationPromise,await this.editor.destroy()),await super.destroy())}_createSubmitButton(){const e=new go.ButtonView(this.locale),{t:n}=this.locale;return e.extendTemplate({attributes:{class:["ck-comment__input-actions--submit"]}}),e.label=n("Submit"),e.icon=t.icons.check,e.on("execute",(()=>{this.fire("submit",this.value)})),e.bind("isEnabled").to(this,"value",this,"disabledSubmit",((t,e)=>!e&&!!t.trim())),e}_createCancelButton(){const e=new go.ButtonView(this.locale),{t:n}=this.locale;return e.extendTemplate({attributes:{class:["ck-comment__input-actions--cancel"]}}),e.label=n("Cancel"),e.icon=t.icons.cancel,e.on("execute",(()=>{this.editor.setData(""),this.fire("cancel")})),e}_initializeFocusCycling(t){const e=this.focusTracker,n=new go.ViewCollection;[t.ui.view,this.submitButtonView,this.cancelButtonView].forEach((t=>{n.add(t),e.add(t.element)}));const o=new go.FocusCycler({focusables:n,focusTracker:e});this.keystrokes.set("tab",((t,e)=>{o.focusNext(),e()}),{priority:"low"}),this.keystrokes.set("shift + tab",((t,e)=>{o.focusPrevious(),e()}),{priority:"low"})}}var Po,No,zo=["isFocused","bindTemplate","ck-comment__input-container--active","then","ck-thread__input","value","commentInputView","focusTracker","userView","showInput","destroy","extendTemplate"];Po=zo,No=352,function(t){for(;--t;)Po.push(Po.shift())}(++No);var Fo=function(t,e){return zo[t-=0]};class Lo extends go.View{constructor(t,e,n){super(t),this[Fo("0x2")]=new Ro(t,n),this[Fo("0x2")].bind("showButtons").to(this[Fo("0x2")][Fo("0x3")],Fo("0x8"),this[Fo("0x2")],Fo("0x1"),((t,e)=>t||!!e)),this.set(Fo("0x5"),!1),this[Fo("0x4")]=new i.UserView(t,e),this[Fo("0x4")][Fo("0x7")]({attributes:{class:"ck-thread__user"}}),this[Fo("0x2")].extendTemplate({attributes:{class:Fo("0x0")}}),this.setTemplate({tag:"div",attributes:{class:["ck-comment__input-container",this[Fo("0x9")].if(Fo("0x5"),Fo("0xa"))]},children:[this[Fo("0x4")],this.commentInputView]})}[Fo("0x6")](){return this.commentInputView[Fo("0x6")]()[Fo("0xb")]((()=>super[Fo("0x6")]()))}}class Ko extends go.View{constructor(t){super(t);const{t:e}=t,n=this.bindTemplate;this.set("count"),this.setTemplate({tag:"li",attributes:{class:"ck-thread__comment-count"},children:[{text:n.to("count",(t=>e({string:"%0 Comment",plural:"%0 Comments",id:"NUMBER_OF_COMMENTS"},t)))}]})}}const Uo=["createCollection","_updateHasDirtyComment","equal","length","listenTo","some","bind","expand","isEditMode","locale","remove","_config","collapse","stopListening","maxCommentsWhenCollapsed","comments","set","CommentView","visibleViews","hasDirtyComment","destroy","_shouldCollapse","count","focus","formatDateTime","weight","commentViews","maxCommentCharsWhenCollapsed","removeComment","get","insert","_handleRemoveCommentModel","viewUid","_handleNewCommentModel","_rearrangeCollapse","editorConfig","_collapsedCommentsView","add","commentUpdated","element","from","refreshVisibleViews","render","setTemplate","_rearrangeExpand","delegate","isActive"];var Wo,Ho;Wo=Uo,Ho=472,function(t){for(;--t;)Wo.push(Wo.shift())}(++Ho);const Zo=function(t,e){return Uo[t-=0]};class qo extends go.View{constructor(t,e,n){super(t),this.set(Zo("0x11"),!1),this[Zo("0xe")]("length",e[Zo("0xd")].length),this.set(Zo("0x2c"),!1),this._model=e,this[Zo("0x9")]=n,this.commentViews=this.createCollection(),this[Zo("0x10")]=this[Zo("0x2d")](),this[Zo("0x22")]=new Ko(t),this._collapsedCommentsView[Zo("0x4")](Zo("0x14")).to(this,Zo("0x1"),(t=>t-this[Zo("0x9")][Zo("0xc")]));for(const t of e.comments)this[Zo("0x1f")](t);this[Zo("0x2")](e[Zo("0xd")],Zo("0x23"),((t,e)=>{this.length++,this[Zo("0x1f")](e),this[Zo("0x27")]()})),this[Zo("0x2")](e[Zo("0xd")],"remove",((t,e)=>{this[Zo("0x1")]--,this[Zo("0x1d")](e),this.refreshVisibleViews()})),this.listenTo(e,Zo("0x24"),(()=>this[Zo("0x27")]())),this.on("change:isActive",(()=>this[Zo("0x27")]())),this.on("change:hasDirtyComment",(()=>this.refreshVisibleViews())),this[Zo("0x29")]({tag:"ul",attributes:{class:["ck-thread__comments"]},children:this[Zo("0x10")]})}get[Zo("0x13")](){return this._model[Zo("0x17")]>this[Zo("0x9")].maxThreadTotalWeight&&!this[Zo("0x2c")]&&!this.hasDirtyComment}render(){super[Zo("0x28")](),this[Zo("0x27")]()}focus(){this[Zo("0x25")][Zo("0x15")]()}[Zo("0x12")](){this[Zo("0x22")][Zo("0x12")]();for(const t of this[Zo("0x18")])t[Zo("0x12")]();super[Zo("0x12")]()}refreshVisibleViews(){this[Zo("0x13")]?this[Zo("0x20")]():this[Zo("0x2a")]()}[Zo("0x1f")](t){const e=new(this[Zo("0x9")][Zo("0xf")])(this[Zo("0x7")],t,{maxCommentCharsWhenCollapsed:this[Zo("0x9")][Zo("0x19")],formatDateTime:this[Zo("0x9")][Zo("0x16")],editorConfig:this[Zo("0x9")][Zo("0x21")]});e[Zo("0x1e")]=t.id,e.delegate(Zo("0x1a")).to(this),e[Zo("0x2b")]("updateComment").to(this),this[Zo("0x2")](e,"change:isEditMode",(()=>this[Zo("0x2e")]())),this.commentViews[Zo("0x23")](e)}_handleRemoveCommentModel(t){const e=this.commentViews[Zo("0x8")](t.id);this[Zo("0xb")](e),e[Zo("0x6")]&&this[Zo("0x2e")](),e.destroy()}[Zo("0x2e")](){this[Zo("0x11")]=Array.from(this[Zo("0x18")])[Zo("0x3")]((t=>t[Zo("0x6")]))}_rearrangeCollapse(){const t=function(t){const n=new e.Collection;for(const e of t)n[Zo("0x23")](e);return n}(this[Zo("0x18")]),n=this[Zo("0x22")][Zo("0x14")];for(let e=1;e<=n;e++)t.remove(1);for(const e of t)e[Zo("0xa")]();n>0&&t[Zo("0x23")](this._collapsedCommentsView,1),$o((0,e.diff)(Array[Zo("0x26")](this[Zo("0x10")]),Array[Zo("0x26")](t)),this[Zo("0x10")],t)}_rearrangeExpand(){$o((0,e.diff)(Array[Zo("0x26")](this[Zo("0x10")]),Array.from(this[Zo("0x18")])),this[Zo("0x10")],this[Zo("0x18")]);for(const t of this[Zo("0x10")])t[Zo("0x5")]()}}function $o(t,e,n){let o=0;for(const i of t)switch(i){case Zo("0x1c"):e.add(n[Zo("0x1b")](o),o),o++;break;case"delete":e[Zo("0x8")](o);break;case Zo("0x0"):o++}}class Go extends go.View{constructor(t,e,n,o){super(t),this.set("isActive",!1),this.set("isDirty",!1),this._model=e,this._localUser=n,this._config=o,this.commentsListView=new qo(t,e,Object.assign({CommentView:this._config.CommentView},o)),this.commentsListView.delegate("removeComment").to(this),this.commentsListView.delegate("updateComment").to(this),this.commentsListView.bind("isActive").to(this),this.set("length",this.commentsListView.length),this.bind("length").to(this.commentsListView,"length"),this.commentThreadInputView=this._createCommentThreadInputView(),this.on("removeComment",(()=>this.focus())),this.bind("isDirty").to(this.commentsListView,"hasDirtyComment",this.commentThreadInputView.commentInputView,"value",((t,e)=>t||!!e))}focus(){this.element.focus()}destroy(){this.isDirty=!1,this.commentsListView.destroy(),this.commentThreadInputView.destroy(),super.destroy()}_createCommentThreadInputView(){const{t}=this.locale,e=new Lo(this.locale,this._localUser,this._config.editorConfig),n=e.commentInputView;return e.bind("showInput").to(this,"isActive",this._model,"isReadOnly",n,"value",((t,e,n)=>!!n||t&&!e)),n.bind("placeholder").to(this,"length",(e=>t(e?"Reply...":"Write a comment..."))),n.on("submit",((t,e)=>{this.fire("addComment",e)})),n.on("cancel",(()=>{this.focus()})),n.bind("disabledSubmit").to(this._model,"isReadOnly"),n.on("cancel",(t=>{0==this.length&&(this.fire("removeCommentThread"),t.stop())})),this.on("change:isActive",((t,e,o)=>{o||this.length||n.value||this.fire("removeCommentThread")})),e}}class Yo extends go.View{constructor(e){super(e);const{t:n}=e,o=this.bindTemplate;this.submitView=this._createButtonView(e,n("Yes"),t.icons.check,"submit"),this.cancelView=this._createButtonView(e,n("No"),t.icons.cancel,"cancel"),this.set("message",n("Are you sure?")),this.setTemplate({tag:"div",attributes:{class:["ck-thread__remove-confirm"]},children:[{tag:"div",attributes:{class:"ck-thread__remove-confirm-inner"},children:[{tag:"p",children:[{text:o.to("message")}]},{tag:"div",attributes:{class:"ck-thread__remove-confirm-actions"},children:[this.submitView,this.cancelView]}]}]})}_createButtonView(t,e,n,o){const i=new go.ButtonView(t);return i.label=e,i.icon=n,i.extendTemplate({attributes:{class:"ck-thread__remove-confirm-"+o}}),i.on("execute",(()=>this.fire(o))),i}}var Jo,Qo,Xo=["fire","locale","element","set","destroy","cancel","confirmView","isConfirm","remove","message","submit","once","render","appendChild","_removeConfirm"];Jo=Xo,Qo=422,function(t){for(;--t;)Jo.push(Jo.shift())}(++Qo);var ti=function(t,e){return Xo[t-=0]};const ei={showConfirm(t,e){return this[ti("0x4")]=new Yo(this[ti("0xe")]),this[ti("0x4")][ti("0xa")](),this[ti("0x4")][ti("0x7")]=t,this[ti("0x4")][ti("0x9")]("cancel",(()=>{this._removeConfirm()})),this.confirmView[ti("0x9")](ti("0x8"),(()=>{this[ti("0xc")]()})),e[ti("0xb")](this[ti("0x4")][ti("0x0")]),this.registerChild(this.confirmView),this[ti("0x1")](ti("0x5"),!0),new Promise((t=>this.confirmView.on(ti("0x8"),t)))},cancelConfirm(){this[ti("0x5")]&&this[ti("0x4")][ti("0xd")](ti("0x3"))},_removeConfirm(){this.confirmView.element[ti("0x6")](),this.deregisterChild(this[ti("0x4")]),this[ti("0x5")]=!1,this[ti("0x4")][ti("0x2")](),delete this[ti("0x4")]}};class ni extends Go{constructor(t,e,n,o){super(t,e,n,o),this.set("actionIndicator",null),this.containerElement=null,this.locale=t,this.setTemplate(this.getTemplate()),this.on("change:isActive",((t,e,n)=>{n||this._cancelAllConfirms()})),this.listenTo(this._model,"change:isReadOnly",((t,e,n)=>{n&&this._cancelAllConfirms()})),this.length>0?this._bindFirstCommentView():this.listenTo(this.commentsListView.commentViews,"add",(t=>{this._bindFirstCommentView(),t.off()}))}getTemplate(){const t=this.bindTemplate;return{tag:"div",attributes:{class:["ck-thread",t.if("isActive","ck-thread--active"),t.if("isConfirm","ck-thread--remove-confirmation"),t.to("actionIndicator",(t=>t?"ck-thread--"+t:""))],"data-thread-id":this._model.id,tabindex:-1},children:[{tag:"div",attributes:{class:"ck-thread__container"},children:[this.commentsListView,this.commentThreadInputView]}]}}render(){super.render(),this.containerElement=this.element.querySelector(".ck-thread__container")}_cancelAllConfirms(){this.cancelConfirm();for(const t of this.commentsListView.commentViews)t.cancelConfirm()}_bindFirstCommentView(){const{t}=this.locale,e=this.commentsListView.commentViews.get(0);this.bind("actionIndicator").to(e,"actionIndicator",(t=>"remove"===t?"remove":null)),e.placeholder=t("Write a comment..."),e.removeButton.on("execute",(e=>{e.stop(),this.showConfirm(t("Delete comment thread?"),this.containerElement).then((()=>{this.fire("removeCommentThread")}))}),{priority:"high"})}}(0,e.mix)(ni,ei);var oi,ii,ri=["innerHTML","ck-annotation__content","element","setTemplate","change:content","content","ck-comment__content","render"];oi=ri,ii=246,function(t){for(;--t;)oi.push(oi.shift())}(++ii);var si=function(t,e){return ri[t-=0]};class ai extends go.View{constructor(t){super(t),this.set(si("0x7"),""),this[si("0x5")]({tag:"div",attributes:{class:[si("0x0"),si("0x3")]}})}render(){super[si("0x1")](),this.on(si("0x6"),((t,e,n)=>{this[si("0x4")][si("0x2")]=n})),this[si("0x4")][si("0x2")]=this[si("0x7")]}}const ci=["content","isCollapsed","remove","isReadOnly","fire","destroy","value","expand","_config","set","switchToDisplayMode","visibleView","add","once","_createCommentContentView","get","initialData","_createCommentInputView","disabledSubmit","createCollection","bind","submit","switchToEditMode","cancel","locale","editorReady","element","updateComment","isEditMode","focus","_model","collapse","editorConfig"];var hi,xi;hi=ci,xi=286,function(t){for(;--t;)hi.push(hi.shift())}(++xi);const di=function(t,e){return ci[t-=0]};class li extends go.View{constructor(t,e,n){super(t),this[di("0x8")]=e,this[di("0x13")]=n,this[di("0x14")](di("0x6"),!1),this[di("0x14")](di("0xc"),!0),this[di("0x16")]=this[di("0x1e")](),this[di("0x16")][di("0x17")](this._createCommentContentView())}[di("0x12")](){this[di("0xc")]=!1}[di("0x9")](){this[di("0x6")]||(this[di("0xc")]=!0)}[di("0x7")](){this[di("0x4")][di("0x7")]()}async destroy(){await this[di("0x16")][di("0x1a")](0)[di("0x10")](),super.destroy()}[di("0x0")](){this.isEditMode||(this[di("0x6")]=!0,this[di("0x16")].remove(0)[di("0x10")](),this[di("0x16")][di("0x17")](this._createCommentInputView()))}[di("0x15")](){this[di("0x6")]&&(this[di("0x6")]=!1,this[di("0x16")][di("0xd")](0)[di("0x10")](),this[di("0x16")][di("0x17")](this[di("0x19")]()))}[di("0x19")](){const t=new ai(this[di("0x2")]);return t.bind(di("0xb")).to(this[di("0x8")],"content",this,di("0xc"),((t,e)=>e?(0,i.trimHtml)(t,{limit:this[di("0x13")].maxCommentCharsWhenCollapsed}):t)),t}[di("0x1c")](){this._config.editorConfig||(this[di("0x13")].editorConfig={}),this[di("0x13")][di("0xa")][di("0x1b")]=this[di("0x8")].content;const t=new Ro(this[di("0x2")],this[di("0x13")].editorConfig);return t[di("0x11")]=this[di("0x8")][di("0xb")],t[di("0x1f")](di("0x1d")).to(this._model,di("0xe")),t.on(di("0x20"),((t,e)=>{this[di("0xf")](di("0x5"),this._model.id,e),this[di("0x15")](),this[di("0x7")]()})),t.on(di("0x1"),(()=>{this.switchToDisplayMode(),this[di("0x7")]()})),t[di("0x18")](di("0x3"),(()=>{t[di("0x7")]()})),t}}var ui=n(632),mi=n.n(ui);class fi extends li{constructor(t,e,n){super(t,e,n);const{t:o}=this.locale;this.set("actionIndicator",null),this.set("placeholder",o("Reply...")),this.set("createdAt",null),this.bind("createdAt").to(e),this.editButton=this._createEditButton(),this.removeButton=this._createRemoveButton(),this.userView=new i.UserView(t,e.author),this.userView.extendTemplate({attributes:{class:["ck-comment__user","ck-annotation__user"]}}),this.listenTo(e,"change:isRemovable",(()=>this.cancelConfirm())),this.setTemplate(this.getTemplate())}getTemplate(){const t=this.bindTemplate;return{tag:"li",attributes:{class:["ck-comment__wrapper",t.if("isConfirm","ck-comment--remove-confirmation")],tabindex:-1},children:[{tag:"div",attributes:{class:["ck-comment","ck-annotation",t.if("isEditMode","ck-comment--edit"),t.to("actionIndicator",(t=>t?"ck-comment--"+t:""))],"data-author-id":this._model.author.id,"data-comment-id":this._model.id},children:[this.userView,{tag:"div",attributes:{class:["ck-comment__main","ck-annotation__main"]},children:[{tag:"div",attributes:{class:["ck-comment__info","ck-annotation__info"]},children:[{tag:"span",children:[{text:this.userView.name}],attributes:{class:["ck-comment__info-name","ck-annotation__info-name"]}},{tag:"time",attributes:{datetime:t.to("createdAt"),class:["ck-comment__info-time","ck-annotation__info-time"]},children:[{text:t.to("createdAt",(t=>this._config.formatDateTime(t)))}]}]},{tag:"div",attributes:{class:["ck-comment__actions","ck-annotation__actions",t.if("isEditMode","ck-comment__actions--hidden"),t.if("isEditMode","ck-annotation__actions--hidden")]},children:[this.editButton,this.removeButton]},{tag:"div",attributes:{class:["ck-annotation__content-wrapper"]},children:this.visibleView}]}]}]}}_createEditButton(){const{t:e}=this.locale,n=new go.ButtonView(this.locale);return n.label=e("Edit"),n.icon=t.icons.pencil,n.extendTemplate({attributes:{class:"ck-comment--edit"}}),n.bind("isEnabled").to(this._model,"isReadOnly",(t=>!t)),n.bind("isVisible").to(this._model,"isEditable"),n.on("execute",(()=>this.switchToEditMode())),n}_createRemoveButton(){const{t}=this.locale,e=new go.ButtonView(this.locale);return e.label=t("Remove"),e.icon=mi(),e.extendTemplate({attributes:{class:"ck-comment--remove"}}),e.bind("isEnabled").to(this._model,"isReadOnly",(t=>!t)),e.bind("isVisible").to(this._model,"isRemovable"),e.on("execute",(()=>{this.showConfirm(t("Delete comment?"),this.element).then((()=>{this.fire("removeComment",this._model.id)}))})),e}_attachActions(t,e){this.listenTo(t,"mouseenter",(()=>this.actionIndicator=e)),this.listenTo(t,"focus",(()=>this.actionIndicator=e)),this.listenTo(t,"mouseleave",(()=>this.actionIndicator=null)),this.listenTo(t,"blur",(()=>this.actionIndicator=null))}_createCommentInputView(){const t=super._createCommentInputView();return t.bind("placeholder").to(this),t}render(){super.render(),this._attachActions(this.editButton.element,"edit"),this._attachActions(this.removeButton.element,"remove")}}function pi(t,e){const n=t.t;if("PENDING_ACTION_COMMENT_THREAD"==e)return n({string:"Unsaved change in comment thread.",id:"PENDING_ACTION_COMMENT_THREAD"})}(0,e.mix)(fi,ei);var gi=n(278),bi=n.n(gi),vi=n(490),_i={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(vi.Z,_i);vi.Z.locals;var wi=n(227),ki={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(wi.Z,ki);wi.Z.locals;var yi=n(424),Ci={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(yi.Z,Ci);yi.Z.locals;const Ai=function(){return w.Date.now()};var Ti=/\s/;const Ii=function(t){for(var e=t.length;e--&&Ti.test(t.charAt(e)););return e};var Ei=/^\s+/;const ji=function(t){return t?t.slice(0,Ii(t)+1).replace(Ei,""):t};var Vi=/^[-+]0x[0-9a-f]+$/i,Oi=/^0b[01]+$/i,Si=/^0o[0-7]+$/i,Mi=parseInt;const Bi=function(t){if("number"==typeof t)return t;if(Ln(t))return NaN;if(S(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=S(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ji(t);var n=Oi.test(t);return n||Si.test(t)?Mi(t.slice(2),n?2:8):Vi.test(t)?NaN:+t};var Di=Math.max,Ri=Math.min;const Pi=function(t,e,n){var o,i,r,s,a,c,h=0,x=!1,d=!1,l=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function u(e){var n=o,r=i;return o=i=void 0,h=e,s=t.apply(r,n)}function m(t){return h=t,a=setTimeout(p,e),x?u(t):s}function f(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-h>=r}function p(){var t=Ai();if(f(t))return g(t);a=setTimeout(p,function(t){var n=e-(t-c);return d?Ri(n,r-(t-h)):n}(t))}function g(t){return a=void 0,l&&o?u(t):(o=i=void 0,s)}function b(){var t=Ai(),n=f(t);if(o=arguments,i=this,c=t,n){if(void 0===a)return m(c);if(d)return clearTimeout(a),a=setTimeout(p,e),u(c)}return void 0===a&&(a=setTimeout(p,e)),s}return e=Bi(e)||0,S(n)&&(x=!!n.leading,r=(d="maxWait"in n)?Di(Bi(n.maxWait)||0,e):r,l="trailing"in n?!!n.trailing:l),b.cancel=function(){void 0!==a&&clearTimeout(a),h=0,o=c=i=a=void 0},b.flush=function(){return void 0===a?s:g(Ai())},b};const Ni=function(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return S(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),Pi(t,e,{leading:o,maxWait:e,trailing:i})},zi=["observe","cancel","type","attributes","attributeName"];var Fi,Li;Fi=zi,Li=229,function(t){for(;--t;)Fi.push(Fi.shift())}(++Li);const Ki=function(t,e){return zi[t-=0]};function Ui(t){const e=Ni(t,30),n=new MutationObserver((t=>{for(const n of t)(Ki("0x4")==n[Ki("0x3")]&&"class"==n[Ki("0x0")]||"childList"==n[Ki("0x3")])&&e()}));return{attach(t){n[Ki("0x1")](t,{attributes:!0,childList:!0,subtree:!0})},detach(){n.disconnect(),e[Ki("0x2")]()}}}var Wi=n(173),Hi={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(Wi.Z,Hi);Wi.Z.locals;const Zi=["add","height","ck-annotation-wrapper","element","isActive","mainView","clear","detach","keystrokes","Esc","targetRect","render","_mutationObserver","fire","listenTo","content","setTemplate","focus","_updateHeight","set","createCollection","bindTemplate","focusTracker","isDirty","destroy","length","ck-rounded-corners"];var qi,$i;qi=Zi,$i=448,function(t){for(;--t;)qi.push(qi.shift())}(++$i);const Gi=function(t,e){return Zi[t-=0]};class Yi extends go.View{constructor(t,n){super(t),this.id=(0,e.uid)(),this[Gi("0x6")]=new e.FocusTracker,this[Gi("0x13")]=new e.KeystrokeHandler,this[Gi("0x13")][Gi("0x3")](Gi("0x14"),((t,e)=>this[Gi("0x18")]("Esc",e))),this[Gi("0x3")](Gi("0x15"),{top:0,right:0,bottom:0,left:0}),this[Gi("0x3")](Gi("0xc"),0),this.set(Gi("0xf"),!1),this[Gi("0x3")](Gi("0x7"),!1),this.set(Gi("0x9"),0),this[Gi("0x3")]("type",""),this[Gi("0x17")]=Ui((()=>this[Gi("0x2")]())),this.content=this[Gi("0x4")](),this.content[Gi("0xb")](n),this[Gi("0x10")]=n;const o=this[Gi("0x5")];this[Gi("0x0")]({tag:"div",attributes:{class:["ck",Gi("0xd"),Gi("0xa"),o.if(Gi("0xf"),"ck-annotation-wrapper--active")],tabindex:-1},children:this[Gi("0x1a")]})}[Gi("0x16")](){super.render(),this[Gi("0x6")][Gi("0xb")](this[Gi("0xe")]),this[Gi("0x13")][Gi("0x19")](this[Gi("0xe")]),this[Gi("0x17")].attach(this[Gi("0xe")])}[Gi("0x8")](){this[Gi("0x1a")][Gi("0x11")](),this[Gi("0x13")][Gi("0x8")](),this[Gi("0x6")][Gi("0x8")](),this._mutationObserver[Gi("0x12")](),super[Gi("0x8")]()}[Gi("0x1")](){this[Gi("0xe")][Gi("0x1")]()}[Gi("0x2")](){const t=this[Gi("0xe")].clientHeight;t&&(this[Gi("0xc")]=t)}}var Ji=Function.prototype,Qi=Object.prototype,Xi=Ji.toString,tr=Qi.hasOwnProperty,er=Xi.call(Object);const nr=function(t){if(!Ft(t)||"[object Object]"!=O(t))return!1;var e=dn(t);if(null===e)return!0;var n=tr.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Xi.call(n)==er};const or=function(t){return Ft(t)&&1===t.nodeType&&!nr(t)},ir=["clear","isVisible","focusTracker","render","view","type","add","element","_type","_target","focusableElements","_isTargetElementVisible","targetRect","offsetParent","innerView","_assertCorrectTarget","refreshVisibility","getClientRects","target","_id","mainView","isActive","stopListening","set","annotation-invalid-target"];var rr,sr;rr=ir,sr=157,function(t){for(;--t;)rr.push(rr.shift())}(++sr);const ar=function(t,e){return ir[t-=0]};class cr{constructor({view:t,target:n,type:o,isVisible:i=!0}){this[ar("0x16")]=t,this[ar("0x16")][ar("0x0")]||this[ar("0x16")][ar("0x15")](),this[ar("0x1")]=o,this._target=n,this[ar("0x8")](),this[ar("0x3")]=new e.Collection([this.view[ar("0x0")]],{idProperty:ar("0xc")}),this[ar("0x3")].on(ar("0x18"),((t,e)=>{this[ar("0x16")][ar("0x14")].add(e)})),this[ar("0x3")].on("remove",((t,e)=>{this[ar("0x16")][ar("0x14")].remove(e)})),this[ar("0x10")](ar("0x13"),i)}get[ar("0x17")](){return"function"==typeof this[ar("0x1")]?this[ar("0x1")]():this._type}get[ar("0x7")](){return this[ar("0x16")].mainView}get target(){return"function"==typeof this[ar("0x2")]?this[ar("0x2")]():this._target}get[ar("0x5")](){const t=this.target;return this[ar("0x8")](),null!==t&&this._isTargetElementVisible()?new e.Rect(t):null}get isActive(){return this.view.isActive}set isActive(t){this[ar("0x16")].isActive=t,this[ar("0x16")][ar("0xd")][ar("0xe")]=t}updateTargetRect(){this[ar("0x16")][ar("0x5")]=this[ar("0x5")]}destroy(){this.focusableElements[ar("0xf")](),this[ar("0x3")][ar("0x12")](),this[ar("0xf")]()}[ar("0x9")](){this[ar("0x13")]=this[ar("0x4")]()}[ar("0x4")](){const t=this[ar("0xb")];if(or(t)){const e=t[ar("0xa")]().item(0),n=t[ar("0x6")];if(!e||!n)return!1}return!0}[ar("0x8")](){const t=this.target;if(!(null===t||t instanceof e.Rect||or(t)))throw new e.CKEditorError(ar("0x11"),null,{target:t})}}(0,e.mix)(cr,e.ObservableMixin);const hr=["change:isFocused","fire","_sort","blur","add","_innerViewToAnnotation","remove","getIndex","clear","updateTargetRect","_viewToAnnotation","refreshPositioning","focusTracker","_items","_focusTracker","view","destroy","left","stopListening","has","_getOrderInContent","set","targetRect","listenTo","focusableElements","from","delete","length","get","innerView","top"];var xr,dr;xr=hr,dr=311,function(t){for(;--t;)xr.push(xr.shift())}(++dr);const lr=function(t,e){return hr[t-=0]};class ur extends e.Collection{constructor(t=[]){super(),this[lr("0x4")]=new Map,this[lr("0x9")]=new Map,this[lr("0xd")]=new e.FocusTracker,this[lr("0xd")].on(lr("0x1e"),((t,e,n)=>{n||this[lr("0x0")](lr("0x2"))}));for(const e of t)this[lr("0x3")](e)}get isFocused(){return this[lr("0xd")].isFocused}[lr("0x3")](t){if(this.has(t))throw new e.CKEditorError("annotationcollection-duplicated-item",null);this[lr("0x4")][lr("0x14")](t[lr("0x1c")],t),this._viewToAnnotation[lr("0x14")](t[lr("0xe")],t);for(const e of t[lr("0x17")])this._focusTracker.add(e);this[lr("0x16")](t[lr("0x17")],lr("0x3"),((t,e)=>{this._focusTracker.add(e)})),this[lr("0x16")](t.focusableElements,"remove",((t,e)=>{this._focusTracker[lr("0x5")](e)})),this[lr("0x16")](t.view[lr("0xb")],"change:isFocused",((e,n,o)=>{o&&this[lr("0x0")]("focus",t)}));const n=this._getOrderInContent(t);super[lr("0x3")](t,n),t[lr("0x8")]()}[lr("0x5")](t){if(!this.has(t))throw new e.CKEditorError("annotationcollection-not-existing-item",null);this[lr("0x11")](t[lr("0xe")][lr("0xb")]),this[lr("0x11")](t[lr("0x17")]);for(const e of t[lr("0x17")])this[lr("0xd")][lr("0x5")](e);this._viewToAnnotation[lr("0x19")](t.view),this._innerViewToAnnotation[lr("0x19")](t[lr("0x1c")]),super.remove(t)}getByInnerView(t){return this[lr("0x4")][lr("0x1b")](t)}getByView(t){return this[lr("0x9")][lr("0x1b")](t)}destroy(){super.clear(),this[lr("0x11")](),this[lr("0x4")][lr("0x7")](),this[lr("0x9")][lr("0x7")](),this._focusTracker[lr("0xf")]()}[lr("0xa")](){for(const t of this)t[lr("0x8")]();this[lr("0x1")]()}[lr("0x1")](){const t=Array[lr("0x18")](this).sort(((t,e)=>mr(t[lr("0x15")],e[lr("0x15")])));for(let e=t.length-1;e>0;e--){const n=t[e];e!==this[lr("0x6")](n)&&(this[lr("0x5")](n),this[lr("0x3")](n,e))}}[lr("0x13")](t){let e=0;const n=t[lr("0x15")];if(!n)return this[lr("0xc")][lr("0x1a")];for(const t of this){const o=t[lr("0x15")];if(o){if(mr(n,o)<0)return e;e++}}return e}}function mr(t,e){if(null===t&&null===e)return 0;if(null===t)return-1;if(null===e)return 1;const n=t[lr("0x1d")]-e[lr("0x1d")];return 0==n?t[lr("0x10")]-e.left:n}const fr=["pluginName","delete","createAnnotation","refreshVisibility","stopListening","deactivateAll","destroy","has","activate","_visibleAnnotations","_bindAnnotationsToVisibleAnnotations","remove","add","getByInnerView","collection","fire","_addActiveAnnotation","change:isVisible","activeAnnotations","set","isVisible","refreshPositioning","source","listenTo"];var pr,gr;pr=fr,gr=117,function(t){for(;--t;)pr.push(pr.shift())}(++gr);const br=function(t,e){return fr[t-=0]};class vr extends t.ContextPlugin{static get[br("0x3")](){return"Annotations"}constructor(t){super(t),this.collection=new ur,this[br("0xc")]=new ur,this[br("0x16")]("activeAnnotations",new Set),this._bindAnnotationsToVisibleAnnotations()}add(t){this[br("0x11")][br("0xf")](t)}[br("0xe")](t){this[br("0x11")][br("0xe")](t),t.destroy()}[br("0x6")](){for(const t of this.collection)t[br("0x6")]()}refreshPositioning(){this[br("0xc")][br("0x0")]()}[br("0x10")](t){return this.collection[br("0x10")](t)}[br("0x8")](){this[br("0x12")]("_deactivateAllAnnotations")}[br("0x9")](){for(const t of this[br("0x11")])t[br("0x9")]();this._visibleAnnotations[br("0x9")](),this[br("0x11")][br("0x9")](),super[br("0x9")]()}[br("0xb")](t){this.fire("_activateAnnotation",t)}[br("0x5")](t){return new cr(t)}createAnnotationView(t,e){return new Yi(t,e)}[br("0x13")](t){const e=new Set(this.activeAnnotations);e[br("0xf")](t),this[br("0x15")]=e}_removeActiveAnnotation(t){const e=new Set(this[br("0x15")]);e[br("0x4")](t),this[br("0x15")]=e}[br("0xd")](){const t=this[br("0x11")],e=this[br("0xc")];function n(t){const n=t[br("0x1")];n[br("0x17")]&&!e[br("0xa")](n)?e[br("0xf")](n):!n[br("0x17")]&&e[br("0xa")](n)&&e[br("0xe")](n)}this[br("0x2")](t,br("0xf"),((t,o)=>{o[br("0x17")]&&e[br("0xf")](o),this.listenTo(o,"change:isVisible",n)})),this[br("0x2")](t,br("0xe"),((t,o)=>{e[br("0xa")](o)&&e.remove(o),this[br("0x7")](o,br("0x14"),n)}))}}const _r=["change:activeAnnotations","comments.maxCommentCharsWhenCollapsed","_detachCommentThread","switchReadOnly","get","content","pop","requires","locale","view","find","_addCommentThread","getCommentThread","CommentThreadView","focus","addComment","hasCommentThread","_isAttached","replace","commentsrepository-remove-comment-internal-error","_attachCommentThread","_updateComment","_findOptimalIndex","attributes","channelId","push","commentsrepository-remove-missing-comment","isRemovable","trim","listenTo","getByInnerView","string","updateComment","change:createdAt","afterInit","reduce","innerHTML","plugins","_addComment","join","update","PENDING_ACTION_COMMENT_THREAD","values","toJSON","openNewCommentThread","set","_createCommentThreadView","map","commentsrepository-active-missing-comment-thread","delete","commentsrepository-missing-thread-and-adapter","_threadToController","getCommentThreads","fetchCommentThread","commentsrepository-invalid-commentid","_adapter","commentsrepository-remove-comment-thread-internal-error","_removeComment","commentInputView","parse","comments.CommentView","_nonAdminChannels","setAdminPermissions","has","div","getComment","comments.editorConfig","_repository","PendingActions","addCommentThread","init","commentsrepository-attach-missing-comment-thread","commentsrepository-fetch-comment-thread","change:isDirty","licenseKey","removeCommentThread","removeComment","setAttribute","slice","CommentView","charCodeAt","setActiveCommentThread","commentsrepository-invalid-comment-authorid","assign","_viewToController","once","removeAttribute","createElement","adapter","config","_removeCommentThread","isFromAdapter","comment","stopListening","comments","isDirty","attachTo","comments.maxThreadTotalWeight","isReadOnly","commentsrepository-duplicated-comment-thread-id","fromCharCode","editorReady","remove","commentsrepository-invalid-comment-thread-id","comments.maxCommentsWhenCollapsed","fire","lowest","weight","createdAt","add","Users","commentsrepository-remove-missing-comment-thread","getTime","Missing comments editor configuration (`comments.editorConfig`). Default configuration will be used instead.","commentsrepository-remove-comment-missing-comment-thread","bind","_remove","getUser","activate","resolve","catch","from","CommentsRepository","destroy","author","_add","_readOnlyChannels","define","then","context","function","length","commentsrepository-invalid-comment-content","filter","commentsrepository-missing-thread-and-adapter-method","substring","_threads","error","activeCommentThread","getIndex"];var wr,kr;wr=_r,kr=163,function(t){for(;--t;)wr.push(wr.shift())}(++kr);const yr=function(t,e){return _r[t-=0]},Cr=Symbol("noChannel");class Ar extends t.ContextPlugin{static get[yr("0x7c")](){return[vr,t.PendingActions,i.Users]}static get pluginName(){return yr("0x63")}constructor(t){super(t),this[yr("0x71")]=new Map,this[yr("0x1c")]=new Map,this._viewToController=new Map,this[yr("0x67")]=new Set,this.set(yr("0x26"),new Set),this[yr("0x33")]=this[yr("0x6a")][yr("0x42")].get("licenseKey");const e=this[yr("0x6a")][yr("0x42")];e[yr("0x68")](yr("0x51"),2),e.define(yr("0x4a"),500),e.define(yr("0x76"),140),e[yr("0x68")]("comments.CommentThreadView",ni),e[yr("0x68")](yr("0x25"),fi),e[yr("0x79")](yr("0x2b"))||console.warn(yr("0x5a"))}[yr("0x2f")](){const t=this[yr("0x6a")][yr("0xe")][yr("0x79")](vr);this[yr("0x16")]("activeCommentThread",null),this.on("addCommentThread",((t,e)=>this[yr("0x80")](e))),this.on(yr("0x34"),((t,e)=>this[yr("0x43")](e))),this.on(yr("0x84"),((t,e)=>this._addComment(e))),this.on(yr("0x9"),((t,e)=>this._updateComment(e))),this.on(yr("0x35"),((t,e)=>this._removeComment(e))),this.on("addComment",((t,{threadId:e,isFromAdapter:n})=>{if(n)return;const o=this[yr("0x81")](e),i=this[yr("0x1c")][yr("0x79")](o);i&&i[yr("0x7e")][yr("0x83")]()}),{priority:yr("0x53")}),this[yr("0x6")](t,yr("0x75"),((t,e,n)=>{const o=Array.from(n)[yr("0x18")]((t=>this._viewToController.get(t.innerView)))[yr("0x6e")](Boolean)[0];this[yr("0x73")]=o?o.model:null}))}[yr("0xb")](){!function(e){const n=e instanceof t.Context,o=[1,85,78,115,198,255,50,112,83,87,161],i=l([52,48,52,52,48,54,49,56]),r=[127,34,6,211,167,86,146,199,132,160,18],s=l([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),a=function(t){if(e[l([112,108,117,103,105,110,115])][l([104,97,115])](l([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&e[l([112,108,117,103,105,110,115])][l([103,101,116])](l([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[l([115,116,97,116,101])]==l([99,111,110,110,101,99,116,101,100]))return c(l([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]));if(e[l([112,108,117,103,105,110,115])][l([104,97,115])](l([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))&&e[l([112,108,117,103,105,110,115])][l([103,101,116])](l([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[l([114,101,115,117,108,116])]==l([101,110,100]))return c(l([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]));try{const n=function(t){const e=[29,221,175,90,231,133,239,240,75,180];return function(t,e){const n=atob(t),o=Array[yr("0x62")](function(t){const e=new Uint8Array(t.length);for(let n=0;n<t[yr("0x6c")];n++)e[n]=t[yr("0x39")](n);return e}(n)),i=o[yr("0x7b")](),r=o[yr("0x7b")]();return function(t){let e="";for(const n of t)e+=String[yr("0x4d")](n);return e}(function(t,e,n){const o={};o[l([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[l([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[l([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[l([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[l([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[l([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[l([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[l([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[l([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[l([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[l([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const i=new Uint8Array(16);for(let t=15;t>=0;--t)i[t]=n%256,n=parseInt(n/256);let r=null,s=16;const a=new Uint8Array(e),c=[],h=[];m();for(let e=0;e<t[yr("0x6c")];e++)16===s&&(r=u(i),s=0,d(i)),t[e]^=r[s++];return t;function x(t){const e=[];for(let n=0;n<t[yr("0x6c")];n+=4)e.push(t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]);return e}function d(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function u(t){const e=c.length-1,n=[0,0,0,0];let i=x(t);for(let t=0;t<4;t++)i[t]^=c[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)n[e]=o[l([84,49])][i[e]>>24&255]^o[l([84,50])][i[(e+1)%4]>>16&255]^o[l([84,51])][i[(e+2)%4]>>8&255]^o[l([84,52])][255&i[(e+3)%4]]^c[t][e];i=n[yr("0x37")]()}const r=new Uint8Array(16);let s;for(let t=0;t<4;t++)s=c[e][t],r[4*t]=255&(o[l([83])][i[t]>>24&255]^s>>24),r[4*t+1]=255&(o[l([83])][i[(t+1)%4]>>16&255]^s>>16),r[4*t+2]=255&(o[l([83])][i[(t+2)%4]>>8&255]^s>>8),r[4*t+3]=255&(o[l([83])][255&i[(t+3)%4]]^s);return r}function m(){const t=o[l([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][a.length];for(let e=0;e<=t;e++)c[yr("0x2")]([0,0,0,0]),h.push([0,0,0,0]);const e=4*(t+1),n=a[yr("0x6c")]/4,i=x(a);let r;for(let e=0;e<n;e++)r=e>>2,c[r][e%4]=i[e],h[t-r][e%4]=i[e];let s,d=0,u=n;for(;u<e;){s=i[n-1],i[0]^=o[l([83])][s>>16&255]<<24^o[l([83])][s>>8&255]<<16^o[l([83])][255&s]<<8^o[l([83])][s>>24&255]^o[l([114,99,111,110])][d]<<24,d+=1;for(let t=1;t<n/2;t++)i[t]^=i[t-1];s=i[n/2-1],i[n/2]^=o[l([83])][255&s]^o[l([83])][s>>8&255]<<8^o[l([83])][s>>16&255]<<16^o[l([83])][s>>24&255]<<24;for(let t=n/2+1;t<n;t++)i[t]^=i[t-1];let r,a,x=0;for(;x<n&&u<e;)r=u>>2,a=u%4,c[r][a]=i[x],h[t-r][a]=i[x++],u++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)s=h[e][t],h[e][t]=o[l([85,49])][s>>24&255]^o[l([85,50])][s>>16&255]^o[l([85,51])][s>>8&255]^o[l([85,52])][255&s]}}(o,e,r+256*i))}(t,new(window[l([85,105,110,116,56,65,114,114,97,121])])([...o,...e,...r]))}(t),s=JSON[yr("0x24")](n),a=parseInt(s[l([49])]),h=parseInt(s[l([51])]),x=parseInt(s[l([52])])||0,d=parseInt(s[l([53])])||0,u=2;if(!(1&x)||e[l([112,108,117,103,105,110,115])][l([104,97,115])](l([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&!(x&u))return c(l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(d&&!window[l([111,112,101,110])][l([99,108,111,115,101,100])])return c(l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(parseInt(i)/2>a)return c(l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(e[l([112,108,117,103,105,110,115])][l([104,97,115])](l([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))){const t=e[l([112,108,117,103,105,110,115])][l([103,101,116])](l([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]));if(parseInt(t[l([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])])/2>a)return c(l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}return c(l(h?[108,105,99,101,110,115,101,75,101,121,84,114,105,97,108]:[108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]))}catch(t){return c(l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}}(e.config[yr("0x79")](l([108,105,99,101,110,115,101,75,101,121])));function c(t){const n=function(){const t=String(window[l([112,101,114,102,111,114,109,97,110,99,101])][l([110,111,119])]())[yr("0x87")](l([46]),"");let e="";for(let n=0;n<t[yr("0x6c")];n+=2){let o=parseInt(t[yr("0x70")](n,n+2));o>=s[yr("0x6c")]&&(o-=s[yr("0x6c")]),e+=s[o]}return e}();return e[n]=t,t}function h(t){for(const e of t[l([101,100,105,116,111,114,115])])x(e);t[l([112,108,117,103,105,110,115])][l([103,101,116])](l([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[l([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),t[l([112,108,117,103,105,110,115])][l([103,101,116])](l([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[l([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=d}function x(t){function e(){t[l([109,111,100,101,108])][l([99,104,97,110,103,101])]=d,t[l([109,111,100,101,108])][l([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,t[l([105,115,82,101,97,100,79,110,108,121])]=!0}t[l([115,116,97,116,101])]==l([114,101,97,100,121])?e():t[l([111,110,99,101])](l([114,101,97,100,121]),(()=>e()))}function d(){return null}function l(t){return t.map((t=>String.fromCharCode(t)))[yr("0x10")]("")}n?(a==l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100])?h(e):a==l([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108])&&window[l([115,101,116,84,105,109,101,111,117,116])]((()=>{h(e),c(l([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108,76,105,109,105,116]))}),r[6]*o[8]*o[6]),e[l([101,100,105,116,111,114,115])][l([111,110])](l([97,100,100]),((t,e)=>{a!=l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100])&&a!=l([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108,76,105,109,105,116])||x(e)}))):a==l([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100])?x(e):a==l([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108])&&e[l([111,110])](l([114,101,97,100,121]),(()=>{let t=0;e[l([109,111,100,101,108])][l([111,110])](l([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,o)=>{o[0][l([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(x(e),c(l([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108,76,105,109,105,116])),n[l([111,102,102])]())}),{priority:l([104,105,103,104,101,115,116])})}))}(this[yr("0x6a")])}set[yr("0x41")](t){if(this[yr("0x20")])throw new e.CKEditorError("commentsrepository-adapter-already-set");this[yr("0x20")]=t}get[yr("0x41")](){return this[yr("0x20")]}addCommentThread({channelId:t=Cr,threadId:n=(0,e.uid)(),comments:o=[],target:i,isFromAdapter:r}={}){return this[yr("0x52")](Er(yr("0x2e"),t),{channelId:t,threadId:n,comments:o,target:i,isFromAdapter:r}),this[yr("0x81")](n)}[yr("0x15")]({channelId:t=Cr,threadId:n=(0,e.uid)(),target:o}){if(this[yr("0x67")][yr("0x28")](t)||this[yr("0x67")][yr("0x28")](void 0))return;if(!o)throw new e.CKEditorError("commentsrepository-missing-target");const i=this[yr("0x2e")]({channelId:t,threadId:n,target:o});if(!i)return null;const r=this[yr("0x1c")].get(i),s=r.view.commentThreadInputView[yr("0x23")],a=this.context[yr("0xe")].get(vr),c=a[yr("0x7")](r[yr("0x7e")]);return a[yr("0x5f")](c),s[yr("0x3e")](yr("0x4e"),(()=>s[yr("0x83")]())),i}[yr("0x85")](t){if("string"!=typeof t)throw new e.CKEditorError(yr("0x50"));return this[yr("0x71")][yr("0x28")](t)}[yr("0x81")](t){if(yr("0x8")!=typeof t)throw new e.CKEditorError(yr("0x50"));return this._threads[yr("0x79")](t)}[yr("0x1e")]({channelId:t,threadId:n}={}){const o=this[yr("0x81")](n);if(o)return Promise[yr("0x60")](o);if(!this[yr("0x41")])throw new e.CKEditorError(yr("0x1b"),this[yr("0x6a")]);if("function"!=typeof this[yr("0x41")].getCommentThread)throw new e.CKEditorError(yr("0x6f"),this[yr("0x6a")]);return this[yr("0x41")].getCommentThread({channelId:t,threadId:n})[yr("0x69")]((e=>this[yr("0x85")](n)?this.getCommentThread(n):e?this[yr("0x2e")](Object[yr("0x3c")]({isFromAdapter:!0,channelId:t},e)):void 0))[yr("0x61")]((t=>{throw console[yr("0x72")](t),new e.CKEditorError(yr("0x31"),this[yr("0x6a")])}))}[yr("0x1d")]({channelId:t,skipNotAttached:e=!1,skipEmpty:n=!1,toJSON:o=!1}={}){const i=[];for(const o of this[yr("0x71")][yr("0x13")]())t&&o.channelId!==t||e&&!o.isAttached||n&&0===o.length||i[yr("0x2")](o);return o?i[yr("0x18")]((t=>t[yr("0x14")]())):i}[yr("0x3a")](t){const n=this[yr("0x6a")].plugins[yr("0x79")](vr);if(!t)return void(this[yr("0x73")]&&n.deactivateAll());const o=this.getCommentThread(t);if(!o)throw new e.CKEditorError(yr("0x19"),null,{threadId:t});if(!this[yr("0x1c")][yr("0x28")](o))throw new e.CKEditorError("commentsrepository-active-not-attached",null,{threadId:t});const i=n[yr("0x7")](this[yr("0x1c")][yr("0x79")](o)[yr("0x7e")]);n[yr("0x5f")](i)}[yr("0x78")](t,e){t?this._readOnlyChannels[yr("0x56")](e):this[yr("0x67")][yr("0x1a")](e);for(const n of this[yr("0x1d")]({channelId:e}))n[yr("0x4b")]=!!t}isReadOnly(t){return this[yr("0x67")][yr("0x28")](t)||this._readOnlyChannels[yr("0x28")](void 0)}createCommentThreadController(t,e){return new po(t,e)}[yr("0x27")](t,e=Cr){const n=!this[yr("0x26")].has(e),o=new Set(this._nonAdminChannels);n&&!t&&(o[yr("0x56")](e),this[yr("0x26")]=o),!n&&t&&(o.delete(e),this[yr("0x26")]=o)}[yr("0x80")]({channelId:t,threadId:n,comments:o,target:i,isFromAdapter:r}){if(yr("0x8")!=typeof n)throw new e.CKEditorError(yr("0x50"),null,{threadId:n});if(this[yr("0x85")](n))throw new e.CKEditorError(yr("0x4c"),null,{threadId:n});const s=new Tr(this,{channelId:t,id:n});(this[yr("0x67")][yr("0x28")](t)||this[yr("0x67")][yr("0x28")](void 0))&&(s.isReadOnly=!0),this[yr("0x71")][yr("0x16")](n,s);for(const t of o)s[yr("0x84")](Object[yr("0x3c")]({isFromAdapter:r},t));i&&s[yr("0x49")](i)}[yr("0x89")]({threadId:t,target:n}){const o=this[yr("0x81")](t);if(!o)throw new e.CKEditorError(yr("0x30"),this);const i=this.context[yr("0xe")][yr("0x79")](yr("0x2d")),r=this[yr("0x6a")][yr("0xe")][yr("0x79")](vr),s=this[yr("0x17")](o),a=new po(o,s);let c=null;s.on(yr("0x32"),((t,e,n)=>{n?c=i[yr("0x56")](pi(this[yr("0x6a")][yr("0x7d")],yr("0x12"))):(i.remove(c),c=null)})),this[yr("0x1c")].set(o,a),this[yr("0x3d")].set(s,a);const h=new Yi(this[yr("0x6a")][yr("0x7d")],s);h[yr("0x5c")](yr("0x6c")).to(s),h[yr("0x5c")]("isDirty").to(s,yr("0x48"),s,yr("0x6c"),((t,e)=>t||!e)),h.bind("isActive").to(s),h.type=yr("0x45");const x=new cr({view:h,target:n,type:"comment"});r.add(x)}[yr("0x17")](t){const e=this[yr("0x6a")][yr("0xe")][yr("0x79")](yr("0x57")),{config:n,locale:o}=this.context,r=(0,i.getDateTimeFormatter)(n.get(yr("0x7d")));return new(0,n[yr("0x79")]("comments")[yr("0x82")])(o,t,e.me,{editorConfig:n[yr("0x79")](yr("0x2b")),maxCommentsWhenCollapsed:n.get(yr("0x51")),maxThreadTotalWeight:n[yr("0x79")]("comments.maxThreadTotalWeight"),maxCommentCharsWhenCollapsed:n[yr("0x79")](yr("0x76")),formatDateTime:r,CommentView:n[yr("0x79")](yr("0x47"))[yr("0x38")]})}[yr("0x43")]({threadId:t,isFromAdapter:n}){const o=this.getCommentThread(t);if(!o)throw new e.CKEditorError(yr("0x58"),this);if(this[yr("0x77")](t),this[yr("0x71")][yr("0x1a")](t),!o[yr("0x6c")]||n||!this[yr("0x41")]||"function"!=typeof this.adapter[yr("0x34")])return Promise[yr("0x60")]();const i=this[yr("0x6a")].plugins.get(yr("0x2d")),{channelId:r}=o,s=i[yr("0x56")](pi(this[yr("0x6a")][yr("0x7d")],yr("0x12")));return this[yr("0x41")][yr("0x34")]({channelId:r,threadId:t})[yr("0x69")]((()=>i[yr("0x4f")](s)))[yr("0x61")]((t=>{throw console[yr("0x72")](t),new e.CKEditorError(yr("0x21"),this)}))}[yr("0x77")](t){const e=this.context[yr("0xe")].get(vr),n=this[yr("0x81")](t);if(this._threadToController[yr("0x28")](n)){const t=this._threadToController[yr("0x79")](n),o=t[yr("0x7e")],i=e[yr("0x7")](o);this[yr("0x1c")][yr("0x1a")](n),this[yr("0x3d")][yr("0x1a")](o),i&&e[yr("0x4f")](i),t.destroy(),o.destroy()}}[yr("0xf")]({threadId:t,commentId:n=(0,e.uid)(),content:o,authorId:r,createdAt:s,attributes:a,isFromAdapter:c}){if(yr("0x8")!=typeof n)throw new e.CKEditorError(yr("0x1f"));if(yr("0x8")!=typeof r)throw new e.CKEditorError(yr("0x3b"));if(yr("0x8")!=typeof o||!o[yr("0x5")]())throw new e.CKEditorError(yr("0x6d"));const h=this.getCommentThread(t);if(!h)throw new e.CKEditorError("commentsrepository-add-comment-to-missing-comment-thread",this);const x=this.context[yr("0xe")][yr("0x79")](i.Users)[yr("0x5e")](r);if(!x)throw new e.CKEditorError("commentsrepository-add-comment-user-not-exists",null,{authorId:r});const d=new Ir(this,{threadId:t,id:n,author:x,content:o,createdAt:s,attributes:a});if(h[yr("0x66")](d),c||!this.adapter||yr("0x6b")!=typeof this.adapter[yr("0x84")])return Promise.resolve();const l=this[yr("0x6a")][yr("0xe")][yr("0x79")](yr("0x2d")),{channelId:u}=h,m=l.add(pi(this[yr("0x6a")][yr("0x7d")],yr("0x12")));return a||(a={}),this[yr("0x41")][yr("0x84")]({channelId:u,threadId:t,commentId:n,content:o,attributes:a}).then((e=>{if(l.remove(m),this[yr("0x85")](t))e&&e[yr("0x55")]&&this[yr("0x8a")]({threadId:t,commentId:n,createdAt:e.createdAt,isFromAdapter:!0});else{const i={threadId:t,commentId:n,content:o,attributes:a,createdAt:e&&e[yr("0x55")]?e[yr("0x55")]:s,authorId:x.id};this[yr("0x2e")]({channelId:u,threadId:t,comments:[i],isFromAdapter:!0})}}))[yr("0x61")]((t=>{throw console[yr("0x72")](t),new e.CKEditorError("commentsrepository-add-comment-internal-error",this)}))}[yr("0x8a")]({threadId:t,commentId:n,content:o,createdAt:i,attributes:r,isFromAdapter:s}){if(void 0!==o&&("string"!=typeof o||!o[yr("0x5")]().length))throw new e.CKEditorError("commentsrepository-update-comment-invalid-content");const a=this[yr("0x81")](t),c=a[yr("0x2a")](n);if(!c)throw new e.CKEditorError("commentsrepository-update-missing-comment",this);let h=!1;if(o&&o!==c[yr("0x7a")]&&(c.isEditable||s)&&(c[yr("0x7a")]=o,h=!0),i&&i!==c[yr("0x55")]&&(c[yr("0x55")]=i,h=!0),r&&!We(r,c[yr("0x0")])&&(c[yr("0x0")]=r,h=!0),!h)return Promise.resolve();if(a[yr("0x52")]("commentUpdated"),s||!this[yr("0x41")]||"function"!=typeof this[yr("0x41")][yr("0x9")])return Promise[yr("0x60")]();const x=this[yr("0x6a")][yr("0xe")][yr("0x79")]("PendingActions"),{channelId:d}=this[yr("0x81")](c.threadId),l=x.add(pi(this[yr("0x6a")][yr("0x7d")],yr("0x12")));return this[yr("0x41")].updateComment({channelId:d,threadId:t,commentId:n,content:o,attributes:r})[yr("0x69")]((()=>x[yr("0x4f")](l))).catch((t=>{throw console[yr("0x72")](t),new e.CKEditorError("commentsrepository-update-comment-internal-error",this)}))}[yr("0x22")]({threadId:t,commentId:n,isFromAdapter:o}){const i=this[yr("0x81")](t),r=i[yr("0x2a")](n);if(!r)throw new e.CKEditorError(yr("0x3"),this);if(i._remove(r),o||!this[yr("0x41")]||yr("0x6b")!=typeof this.adapter[yr("0x35")])return Promise.resolve();const s=this.context[yr("0xe")].get(yr("0x2d")),{channelId:a}=i,c=s.add(pi(this[yr("0x6a")][yr("0x7d")],"PENDING_ACTION_COMMENT_THREAD"));return this[yr("0x41")][yr("0x35")]({channelId:a,threadId:t,commentId:n}).then((()=>s[yr("0x4f")](c)))[yr("0x61")]((t=>{throw console[yr("0x72")](t),new e.CKEditorError(yr("0x88"),this)}))}}class Tr{constructor(t,n){this[yr("0x1")]=n[yr("0x1")],this.id=n.id,this.set(yr("0x4b"),!1),this[yr("0x5c")](yr("0x4")).to(t,yr("0x26"),(t=>!t.has(this[yr("0x1")]))),this[yr("0x47")]=new e.Collection,this[yr("0x2c")]=t,this[yr("0x86")]=!1}get[yr("0x54")](){return Array[yr("0x62")](this[yr("0x47")])[yr("0xc")](((t,e)=>t+e[yr("0x54")]),0)}get[yr("0x6c")](){return this.comments[yr("0x6c")]}get isAttached(){return this._isAttached}remove({isFromAdapter:t=!1}={}){const{channelId:e,id:n}=this;this[yr("0x2c")].fire(Er(yr("0x34"),e),{channelId:e,threadId:n,isFromAdapter:t})}attachTo(t){this._repository[yr("0x89")]({threadId:this.id,target:t})}[yr("0x84")](t){const{channelId:e,id:n}=this;this._repository[yr("0x52")](Er(yr("0x84"),e,n),Object.assign({channelId:e,threadId:n},t))}[yr("0x2a")](t){if(yr("0x8")!=typeof t)throw new e.CKEditorError("commentsrepository-get-comment-invalid-id",null,{commentId:t});return this[yr("0x47")][yr("0x79")](t)}[yr("0x14")](){return{threadId:this.id,comments:this.comments[yr("0x18")]((t=>t[yr("0x14")]()))}}_add(t){return this[yr("0x6")](t,yr("0xa"),(()=>{const e=this[yr("0x8b")](t),n=this[yr("0x47")];e-1!=n.getIndex(t)&&e+1!=n[yr("0x74")](t)&&(this._remove(t),this._add(t))})),t.createdAt?this[yr("0x47")][yr("0x56")](t,this[yr("0x8b")](t)):this[yr("0x47")].add(t)}[yr("0x5d")](t){return this[yr("0x46")](t),t[yr("0x64")](),this.comments[yr("0x4f")](t)}[yr("0x8b")](t){const e=this[yr("0x47")][yr("0x7f")]((e=>new Date(e[yr("0x55")])[yr("0x59")]()>new Date(t[yr("0x55")])[yr("0x59")]()));return e?this[yr("0x47")][yr("0x74")](e):this[yr("0x6c")]}}(0,e.mix)(Tr,e.ObservableMixin);class Ir{constructor(t,e){const n=t[yr("0x6a")].plugins.get("Users").me,o=t.getCommentThread(e.threadId),i=0===o.comments[yr("0x6c")],r=n===e[yr("0x65")];this.id=e.id,this.threadId=e.threadId,this.author=e[yr("0x65")],this.set(yr("0x7a"),e[yr("0x7a")]),this[yr("0x16")]("createdAt",e.createdAt||new Date),this[yr("0x16")](yr("0x0"),e[yr("0x0")]||{}),this[yr("0x16")]("isEditable",r),this[yr("0x5c")](yr("0x4")).to(o,"isRemovable",(t=>t&&i||r)),this[yr("0x5c")]("isReadOnly").to(o,yr("0x4b")),this[yr("0x2c")]=t}get[yr("0x54")](){return Math.max(function(t){const e=document[yr("0x40")](yr("0x29"));return e[yr("0xd")]=t,e.textContent[yr("0x6c")]}(this[yr("0x7a")]),200)}[yr("0x11")](t){const{threadId:n,id:o}=this;if(!this._repository[yr("0x85")](n))throw new e.CKEditorError("commentsrepository-update-comment-missing-comment-thread",this);const{channelId:i}=this._repository[yr("0x81")](n);this._repository.fire(Er("updateComment",i,n),Object[yr("0x3c")]({channelId:i,threadId:n,commentId:o},t))}[yr("0x36")](t,e){const n=Fn(this[yr("0x0")]);io(n,t,e),this[yr("0x11")]({attributes:n})}[yr("0x3f")](t){const e=Fn(this[yr("0x0")]);xo(e,t),this.update({attributes:e})}remove(t={}){if(!t[yr("0x44")]&&!this[yr("0x4")])return;const{threadId:n,id:o}=this;if(!this._repository[yr("0x85")](n))throw new e.CKEditorError(yr("0x5b"),this);const{channelId:i}=this[yr("0x2c")][yr("0x81")](n);this[yr("0x2c")][yr("0x52")](Er(yr("0x35"),i,n),Object.assign({channelId:i,threadId:n,commentId:o},t))}[yr("0x14")](){return{commentId:this.id,content:this[yr("0x7a")],createdAt:this[yr("0x55")],authorId:this.author.id,attributes:this[yr("0x0")]}}[yr("0x64")](){this[yr("0x46")]()}}function Er(t,...e){for(const n of e)void 0!==n&&(t+=":"+String(n));return t}(0,e.mix)(Ir,e.ObservableMixin);const jr=["getLastMatchingPosition","start","_itemIsContent","selection","getRanges","backward","editor","end","tableCell","getItems","addMarker","textProxy","substr","_hasContent","document","isObject","model","change","push","schema","_trimToContent","createRange","element","isEnabled"];var Vr,Or;Vr=jr,Or=382,function(t){for(;--t;)Vr.push(Vr.shift())}(++Or);const Sr=function(t,e){return jr[t-=0]};class Mr extends t.Command{refresh(){const t=this.editor[Sr("0x12")].document.selection;for(const e of t[Sr("0x6")]())if(this[Sr("0xf")](e))return void(this[Sr("0x1")]=!0);this[Sr("0x1")]=!1}execute({threadId:t=(0,e.uid)()}={}){const n=this[Sr("0x8")][Sr("0x12")],o=[];for(const t of n[Sr("0x10")][Sr("0x5")].getRanges())this[Sr("0xf")](t)&&o[Sr("0x14")](this[Sr("0x16")](t));n[Sr("0x13")]((n=>{for(const i of o){const o=(0,e.uid)()[Sr("0xe")](1,5),r="comment:"+t+":"+o;n[Sr("0xc")](r,{range:i,usingOperation:!1,affectData:!1})}}))}[Sr("0xf")](t){for(const e of t[Sr("0xb")]())if(this[Sr("0x4")](e))return!0;return!1}[Sr("0x4")](t){return t.is(Sr("0xd"))||this[Sr("0x8")][Sr("0x12")][Sr("0x15")][Sr("0x11")](t)&&!t.is(Sr("0x0"),Sr("0xa"))}[Sr("0x16")](t){const e=t=>!this._itemIsContent(t.item),n=t[Sr("0x3")].getLastMatchingPosition(e),o=t[Sr("0x9")][Sr("0x2")](e,{direction:Sr("0x7")});return this[Sr("0x8")][Sr("0x12")][Sr("0x17")](n,o)}}const Br=["afterInit","get","addCommentThread","has","RestrictedEditingModeEditing","editor","enableCommand","plugins"];var Dr,Rr;Dr=Br,Rr=178,function(t){for(;--t;)Dr.push(Dr.shift())}(++Rr);const Pr=function(t,e){return Br[t-=0]};class Nr extends t.Plugin{[Pr("0x6")](){const t=this[Pr("0x3")];t[Pr("0x5")][Pr("0x1")](Pr("0x2"))&&t[Pr("0x5")][Pr("0x7")](Pr("0x2"))[Pr("0x4")](Pr("0x0"))}}var zr=n(446),Fr={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(zr.Z,Fr);zr.Z.locals;const Lr=["end","editing","getAllMarkersForId","root","hasMarkerForId","getMarkersGroup","editor","removeMarker","start","fetchCommentThread","dataToMarker","CommentsRepository","destroy","listenTo","get","createPositionBefore","config","_handleMarkerAddAndRemove","has","schema","getWalker","isThreadsLoadingPaused","_detachCommentThread","attachTo","state","markerToHighlight","markerName","hasCommentThread","view","ck-comment-marker--active","upcast","render","elementToElement","comment:","requires","getAttribute","from","data","$graveyard","map","markerToData","plugins","reconvertMarker","for","size","change:isThreadsLoadingPaused","registerPostFixer","updateMarker","change","openNewCommentThread","editingDowncast","name","getChangedMarkers","rootName","differ","low","managedUsingOperations","isEqual","delete","isObject","add","removeCommentThread","init","set","comment","length","ck-comment-marker","conversion","markers","activeMarker","push","high","createRange","model","once","_attachedThreads","getCommentThread","$marker","_initializeMarkerConverters","split","createElement","stop","_attachThreadToMarker","newRange","document","dataDowncast","pluginName","collaboration.channelId","then","isCollapsed","text","top","left","sort"];var Kr,Ur;Kr=Lr,Ur=428,function(t){for(;--t;)Kr.push(Kr.shift())}(++Ur);const Wr=function(t,e){return Lr[t-=0]};class Hr extends t.Plugin{static get[Wr("0x4c")](){return[Ar,Nr]}static get[Wr("0x22")](){return"CommentsEditing"}constructor(t){super(t),this[Wr("0xb")]("isThreadsLoadingPaused",!0),t[Wr("0x4f")][Wr("0x16")]("ready",(()=>this[Wr("0x3f")]=!1)),this[Wr("0xb")](Wr("0x11"),null),this.on("change:activeMarker",((e,n,o,i)=>{t[Wr("0x15")][Wr("0x5a")]((()=>{if(o){const{id:e}=qr(o),n=this[Wr("0x2c")](e);for(const e of n)t.editing[Wr("0x54")](e)}if(i){const{id:e}=qr(i),n=this[Wr("0x2c")](e);for(const e of n)t[Wr("0x2b")].reconvertMarker(e)}}))})),this._attachedThreads=new Set}[Wr("0xa")](){const t=this[Wr("0x30")],e=t[Wr("0x53")].get(Wr("0x35")),n=t[Wr("0x3a")][Wr("0x38")](Wr("0x23"));t.commands[Wr("0x8")]("addCommentThread",new Mr(t)),this.listenTo(t,"change:isReadOnly",((n,o,i)=>{e.switchReadOnly(i,t.config[Wr("0x38")](Wr("0x23")))})),this.listenTo(e,Zr(Wr("0x9"),n),((n,{threadId:o})=>{t[Wr("0x15")][Wr("0x5a")]((t=>{for(const e of this[Wr("0x2c")](o))t[Wr("0x31")](e)}));const i=e[Wr("0x18")](o);e.hasCommentThread(o)&&!i[Wr("0xd")]||n[Wr("0x1d")]()}),{priority:Wr("0x13")}),this.listenTo(e,Zr("addComment",n),((n,{threadId:o,isFromAdapter:i})=>{const r=this.getAllMarkersForId(o);!i&&0!=r[Wr("0xd")]&&e[Wr("0x45")](o)&&1===e[Wr("0x18")](o)[Wr("0xd")]&&t.model[Wr("0x5a")]((t=>{for(const e of r)t[Wr("0x59")](e,{usingOperation:!0,affectsData:!0})}))}),{priority:Wr("0x3")}),this._initializeMarkerConverters(),this[Wr("0x3b")]()}[Wr("0x36")](){const t=this[Wr("0x30")][Wr("0x53")][Wr("0x38")](Wr("0x35")),e=this.editor[Wr("0x3a")][Wr("0x38")](Wr("0x23"));for(const n of t.getCommentThreads({channelId:e}))t[Wr("0x40")](n.id),t._threads.delete(n.id);super[Wr("0x36")]()}hasMarkerForId(t){return this[Wr("0x2c")](t)[Wr("0xd")]>0}getAllMarkersForId(t){const e=this[Wr("0x30")].model.markers[Wr("0x38")](Wr("0x4b")+t);return e?[e]:Array[Wr("0x4e")](this.editor[Wr("0x15")][Wr("0x10")][Wr("0x2f")](Wr("0x4b")+t))}[Wr("0x1a")](){const t=this.editor;t[Wr("0xf")][Wr("0x55")](Wr("0x5c"))[Wr("0x43")]({model:Wr("0xc"),view:t=>{const{id:e}=qr(t[Wr("0x44")]),n=[Wr("0xe")];return this[Wr("0x11")]&&qr(this[Wr("0x11")]).id===e&&n[Wr("0x12")](Wr("0x47")),{classes:n,attributes:{"data-comment":e}}}}),t.conversion[Wr("0x55")](Wr("0x21"))[Wr("0x52")]({model:"comment",view:e=>{const n=t.model.markers[Wr("0x38")](e),{id:o,part:i}=qr(e);return n&&!n.affectsData?null:{group:"comment",name:i?o+":"+i:o}}}),t.conversion[Wr("0x55")](Wr("0x48"))[Wr("0x4a")]({view:{name:Wr("0xc"),attribute:{id:/^\w/}},model:(t,{writer:e})=>e[Wr("0x1c")](Wr("0x19"),{"data-name":Wr("0x4b")+t[Wr("0x4d")]("id")})}),t[Wr("0xf")][Wr("0x55")](Wr("0x48"))[Wr("0x34")]({view:"comment"})}[Wr("0x3b")](){const t=this[Wr("0x30")],e=t[Wr("0x53")][Wr("0x38")](Wr("0x35")),n=new Set;t.model[Wr("0x20")][Wr("0x58")]((e=>{let o=!1;for(const{name:i,data:r}of t[Wr("0x15")][Wr("0x20")][Wr("0x2")][Wr("0x0")]()){const{group:s,id:a}=qr(i);let c=r.newRange;if(Wr("0xc")!==s||!c)continue;const h=Wr("0x50")===c[Wr("0x2d")][Wr("0x1")];h||(c=$r(c,t[Wr("0x15")]),!c||c[Wr("0x5")](r[Wr("0x1f")]))?!c||!t[Wr("0x15")].hasContent(c)||this[Wr("0x17")][Wr("0x3c")](a)&&h?(e[Wr("0x31")](i),o=!0):h||(this[Wr("0x3f")]?n.add(a):this[Wr("0x1e")](a)):(e.updateMarker(i,{range:c}),o=!0)}return o})),this.on(Wr("0x57"),((t,e,o)=>{if(!o&&n[Wr("0x56")])for(const t of n)this._attachThreadToMarker(t),n[Wr("0x6")](t)})),this[Wr("0x37")](t[Wr("0x15")][Wr("0x10")],"update:comment",((o,i,r,s)=>{if(s)return;const{id:a}=qr(i[Wr("0x5d")]),c=t[Wr("0x53")].get(Wr("0x35"))[Wr("0x18")](a);n[Wr("0x6")](a),c&&!this[Wr("0x2e")](a)&&(this[Wr("0x17")].delete(a),e[Wr("0x40")](a))}))}_attachThreadToMarker(t){if(this[Wr("0x17")].has(t))return;this._attachedThreads[Wr("0x8")](t);const n=this[Wr("0x30")],o=n[Wr("0x53")].get(Wr("0x35")),r=n[Wr("0x3a")][Wr("0x38")](Wr("0x23")),s=()=>{const o=this.getAllMarkersForId(t);if(0==o[Wr("0xd")])return null;const r=o[Wr("0x51")]((t=>(0,i.getMarkerDomElement)(n.editing,t)));return r[Wr("0x29")](((t,n)=>{const o=new e.Rect(t),i=new e.Rect(n),r=o[Wr("0x27")]-i[Wr("0x27")];return 0==r?o[Wr("0x28")]-i.left:r})),r[0]};this[Wr("0x2c")](t)[0][Wr("0x4")]?o[Wr("0x33")]({channelId:r,threadId:t})[Wr("0x24")]((e=>{if("destroyed"!==n[Wr("0x42")])if(e)e[Wr("0x41")](s);else{const e=this[Wr("0x2c")](t);n[Wr("0x15")][Wr("0x5a")]((t=>{for(const n of e)t[Wr("0x31")](n)}))}})):n[Wr("0x2b")][Wr("0x46")][Wr("0x16")](Wr("0x49"),(()=>{o[Wr("0x5b")]({channelId:r,threadId:t,target:s})}),{priority:Wr("0x3")})}}function Zr(t,e){return e?t+":"+e:t}function qr(t){const e=t[Wr("0x1b")](":");return{group:e[0],id:e[1],part:e[2]}}function $r(t,e){const n=e[Wr("0x3d")],o=e[Wr("0x14")](t.start);for(const i of t[Wr("0x3e")]()){const{type:t,item:r,nextPosition:s}=i;if(Wr("0x26")===t||n[Wr("0x7")](r)){const t=e[Wr("0x39")](r);o[Wr("0x25")]&&(o[Wr("0x32")]=t),o[Wr("0x2a")]=s}}return o[Wr("0x25")]?null:o}const Gr=["annotation","remove","collection","editing","model","element","push","document","view","plugins","has","change:isFocused","getOrderedSelectedAnnotations","editorannotations-invalid-source-callback","refresh","sort","innerView","range","change:range","directChange","add","from","_dataCollectors","hasDomSelection","map","containsRange","refreshSelectedViews","isCollapsed","addSourceCollector","pluginName","getByInnerView","keys","init","get","editor","isReadOnly","listenTo","selection","delete","_editorAnnotationsData","fire","cancel","set","requires","focusTracker"];var Yr,Jr;Yr=Gr,Jr=327,function(t){for(;--t;)Yr.push(Yr.shift())}(++Jr);const Qr=function(t,e){return Gr[t-=0]};class Xr extends t.Plugin{static get[Qr("0x1f")](){return[vr]}static get[Qr("0x11")](){return"EditorAnnotations"}constructor(t){super(t),this._dataCollectors=new Set}[Qr("0x14")](){const t=this[Qr("0x16")],e=t[Qr("0x2a")][Qr("0x15")](vr),n=t[Qr("0x25")][Qr("0x28")].selection,o=Pi((()=>this[Qr("0xe")]()),10);n.on(Qr("0x6"),((t,e)=>{e[Qr("0x7")]&&(o[Qr("0x1d")](),this[Qr("0xe")]())})),this[Qr("0x18")](t[Qr("0x24")][Qr("0x29")][Qr("0x28")],"change:isFocused",((t,e,n)=>{n&&o()})),this[Qr("0x18")](t.ui.focusTracker,Qr("0x2c"),((e,n,o)=>{o||t[Qr("0x17")]||this[Qr("0x1c")]("blur",{isAnnotationTracked:t=>this[Qr("0x1b")][Qr("0x2b")](t[Qr("0x4")])})})),this[Qr("0x18")](this[Qr("0x16")].ui,"update",(()=>this[Qr("0x1c")]("uiUpdate")));const i=new Set;this[Qr("0x18")](e[Qr("0x23")],Qr("0x8"),((e,n)=>{for(const e of this[Qr("0x1b")][Qr("0x13")]())if(e===n.innerView){t.ui[Qr("0x20")][Qr("0x8")](n[Qr("0x29")][Qr("0x26")]),i.add(n.view);break}})),this[Qr("0x18")](e[Qr("0x23")],Qr("0x22"),((e,n)=>{i[Qr("0x2b")](n.view)&&(t.ui[Qr("0x20")].remove(n[Qr("0x29")].element),i[Qr("0x1a")](n.view))}))}[Qr("0xb")](){return this[Qr("0x16")][Qr("0x24")][Qr("0x29")].hasDomSelection}[Qr("0x10")](t){if("function"!=typeof t)throw new e.CKEditorError(Qr("0x1"));this._dataCollectors.add(t)}[Qr("0xe")](){this[Qr("0x1c")](Qr("0x2"))}[Qr("0x0")]({activeAnnotation:t,annotations:e}){const n=[],o=this[Qr("0x16")][Qr("0x25")].document[Qr("0x19")],i=Array[Qr("0x9")](o.getRanges());for(const[t,o]of this[Qr("0x1b")]){const i=r(o),s=e[Qr("0x12")](t);i&&s&&n[Qr("0x27")]({annotation:s,range:i})}function r(t){for(const e of t)for(const t of i)if(e[Qr("0xd")](t,!o[Qr("0xf")]))return e;return null}return n[Qr("0x3")](((e,n)=>{const o=e.range,i=n[Qr("0x5")];if(!o.isEqual(i)){if(o.containsRange(i,!0))return 1;if(i[Qr("0xd")](o,!0))return-1}return e[Qr("0x21")]==t?-1:n[Qr("0x21")]==t?1:0}))[Qr("0xc")]((t=>t[Qr("0x21")]))}get[Qr("0x1b")](){const t=new Map;for(const e of Array[Qr("0x9")](this[Qr("0xa")]))for(const[n,o]of e())t[Qr("0x1e")](n,o);return t}}var ts=n(722),es=n.n(ts);class ns extends t.Plugin{static get pluginName(){return"CommentsUI"}static get requires(){return[Ar,Hr,Xr,vr]}get CommentsListView(){return qo}get CommentThreadInputView(){return Lo}init(){const t=this.editor,e=t.plugins.get(Ar),n=t.plugins.get(Hr),o=t.plugins.get(vr),i=t.plugins.get(Xr);t.ui.componentFactory.add("comment",(()=>this._createUIButton())),i.addSourceCollector((()=>{const t=[];for(const[o,i]of e._threadToController){const e=n.getAllMarkersForId(o.id),r=e.map((t=>t.getRange()));e.length>0&&t.push([i.view,r])}return t})),this.listenTo(o,"change:activeAnnotations",((t,o,i)=>{const r=Array.from(i).map((t=>t.innerView)).find((t=>e._viewToController.has(t)));if(!r)return void(n.activeMarker=null);const s=e._viewToController.get(r).model.id,a="comment:"+s;n.hasMarkerForId(s)?n.activeMarker=a:n.activeMarker&&(n.activeMarker=null)})),this.listenTo(e,"removeCommentThread",((e,{threadId:o,isFromAdapter:i})=>{!i&&t.ui.focusTracker.isFocused&&n.hasMarkerForId(o)&&t.editing.view.focus()}),{priority:"highest"}),this.listenTo(e,"addComment",((o,{threadId:i,isFromAdapter:r})=>{!r&&n.hasMarkerForId(i)&&e.hasCommentThread(i)&&1===e.getCommentThread(i).length&&(t.editing.view.focus(),o.stop())}),{priority:"low"})}_createUIButton(){const t=this.editor,e=new go.ButtonView(t.locale),n=t.commands.get("addCommentThread"),{t:o}=this.editor.locale;return e.label=o("Comment"),e.tooltip=o("Comment"),e.icon=es(),e.bind("isEnabled").to(n),this.listenTo(e,"execute",(()=>n.execute())),e}}const os=["_enableCommentsOnlyMode","get","DragDrop","highest","cut","plugins","commands","commentsOnlyMode","stop","has","forceDisabled","affectsData","stopListening","requires","delete","commentsOnly","isEnabled","listenTo","document","view","clearForceDisabled","editing","pluginName","change:isEnabled","clipboardInput","editor","set","addCommentThread"];var is,rs;is=os,rs=451,function(t){for(;--t;)is.push(is.shift())}(++rs);const ss=function(t,e){return os[t-=0]};class as extends t.Plugin{static get[ss("0x13")](){return"CommentsOnly"}static get[ss("0xa")](){return[Hr]}constructor(t){super(t),this[ss("0x17")]("isEnabled",null),this.on(ss("0x14"),((t,e,n)=>{n?this[ss("0x19")]():this._disableCommentsOnlyMode()}))}afterInit(){null===this[ss("0xd")]&&(this.isEnabled=!!this[ss("0x16")].config[ss("0x1a")](ss("0xc")))}[ss("0x19")](){for(const[t,e]of this.editor[ss("0x3")])e.affectsData&&ss("0x18")!==t&&e[ss("0x7")](ss("0x4"));this[ss("0x16")][ss("0x2")][ss("0x6")](ss("0x1b"))&&this[ss("0x16")][ss("0x2")][ss("0x1a")](ss("0x1b"))[ss("0x7")]("commentsOnlyMode");const t=this[ss("0x16")].editing[ss("0x10")][ss("0xf")];this[ss("0xe")](t,ss("0x1"),(t=>t[ss("0x5")]()),{priority:"highest"}),this[ss("0xe")](t,ss("0x15"),(t=>t[ss("0x5")]()),{priority:"highest"}),this[ss("0xe")](t,ss("0xb"),(t=>t.stop()),{priority:ss("0x0")})}_disableCommentsOnlyMode(){for(const[t,e]of this[ss("0x16")][ss("0x3")])e[ss("0x8")]&&"addCommentThread"!==t&&e[ss("0x11")]("commentsOnlyMode");this[ss("0x9")](this[ss("0x16")][ss("0x12")].view[ss("0xf")])}}const cs=["switchTo","isActive","refilterAnnotations","attach","length","setActiveAnnotation","_uisData","get","hasActive","_uis","annotationsuis-register-invalid-interface","_activateAnnotation","annotationsuis-register-already-registered","from","size","context","register","_deactivateAllAnnotations","listenTo","activeUIs","plugins","_removeActiveAnnotation","_visibleAnnotations","requires","set","filter","function","_setSelectedAnnotations","detach","pluginName","has","destroy","annotationsuis-activate-missing-ui","add","collection","delete","AnnotationsUIs","deactivateAll","init","activeAnnotations","_assertAnnotationDoesNotBelongToMultipleUIs","deactivate","type","activate"];var hs,xs;hs=cs,xs=160,function(t){for(;--t;)hs.push(hs.shift())}(++xs);const ds=function(t,e){return cs[t-=0]};class ls extends t.ContextPlugin{static get[ds("0x27")](){return[vr]}static get[ds("0x1")](){return ds("0x8")}constructor(t){super(t),this[ds("0x23")]=new Set,this[ds("0x19")]=new Map,this[ds("0x16")]=new Map}[ds("0xa")](){const t=this[ds("0x1f")][ds("0x24")][ds("0x17")](vr);this[ds("0x22")](t,ds("0x1b"),((t,e)=>{for(const t of this[ds("0x23")]){const n=this[ds("0x19")][ds("0x17")](t);(0,this[ds("0x16")].get(t).filter)(e)&&n.setActiveAnnotation(e)}})),this[ds("0x22")](t,ds("0x21"),(()=>{for(const t of this[ds("0x23")])this[ds("0x19")][ds("0x17")](t)[ds("0x15")](null)})),this[ds("0x22")](t[ds("0x26")],ds("0x5"),((t,e)=>{this[ds("0xc")](e)}))}[ds("0x18")](){return this[ds("0x23")][ds("0x1e")]>0}[ds("0x11")](t){return this[ds("0x23")][ds("0x2")](t)}activate(t,n=(()=>!0)){const o=this[ds("0x1f")][ds("0x24")][ds("0x17")](vr);if(!this[ds("0x19")][ds("0x2")](t))throw new e.CKEditorError(ds("0x4"),this,{uiName:t});this[ds("0x11")](t)&&this[ds("0xd")](t),this[ds("0x23")][ds("0x5")](t);const i=new ur;(function({source:t,target:e,filter:n}){for(const o of t)n(o)&&e.add(o);e[lr("0x16")](t,lr("0x3"),((t,o)=>{n(o)&&e[lr("0x3")](o)})),e[lr("0x16")](t,lr("0x5"),((t,n)=>{e[lr("0x12")](n)&&e[lr("0x5")](n)}))})({source:o[ds("0x26")],target:i,filter:n}),this[ds("0x16")][ds("0x28")](t,{collection:i,filter:n});const r=this[ds("0x19")][ds("0x17")](t);r[ds("0x13")](i),this[ds("0x22")](r,"change:activeAnnotation",((t,e,n,i)=>{i&&o[ds("0x25")](i),n&&o._addActiveAnnotation(n)}))}[ds("0xd")](t){this[ds("0x23")][ds("0x7")](t);const e=this[ds("0x19")].get(t);e[ds("0x0")](),this.stopListening(e),this[ds("0x16")][ds("0x17")](t)[ds("0x6")][ds("0x3")](),this[ds("0x16")][ds("0x7")](t)}[ds("0x10")](t){const e=this.context[ds("0x24")][ds("0x17")](vr),n=Array[ds("0x1d")](e[ds("0xb")])[0]||null;this[ds("0x9")](),this[ds("0xf")](t);const o=this[ds("0x19")][ds("0x17")](t);o.setActiveAnnotation(n),o._setSelectedAnnotations&&n&&o[ds("0x2b")]([n])}[ds("0x9")](){for(const t of this[ds("0x23")])this[ds("0xd")](t)}[ds("0x20")](t,n){if(this[ds("0x19")].has(t))throw new e.CKEditorError(ds("0x1c"));if("function"!=typeof n[ds("0x13")]||"function"!=typeof n[ds("0x0")]||ds("0x2a")!=typeof n[ds("0x15")])throw new e.CKEditorError(ds("0x1a"),null);this[ds("0x19")][ds("0x28")](t,n)}[ds("0x12")](){const t=this.context[ds("0x24")][ds("0x17")](vr).collection,e=new Map,n=Array.from(this[ds("0x23")]);for(const t of this[ds("0x23")]){const n=this[ds("0x16")][ds("0x17")](t)[ds("0x6")];for(const o of n)e[ds("0x28")](o,t)}for(const o of t){const t=e[ds("0x17")](o);this._assertAnnotationDoesNotBelongToMultipleUIs(o);const i=n.find((t=>this[ds("0x16")][ds("0x17")](t)[ds("0x29")](o)));t!==i&&(t&&this[ds("0x16")][ds("0x17")](t)[ds("0x6")].remove(o),i&&this._uisData[ds("0x17")](i).collection.add(o))}}destroy(){this[ds("0x9")](),super[ds("0x3")]()}[ds("0xc")](t){const n=[];for(const e of this[ds("0x23")])(0,this[ds("0x16")][ds("0x17")](e)[ds("0x29")])(t)&&n.push(e);if(n[ds("0x14")]>1)throw new e.CKEditorError("annotationsuis-annotation-mismatch",null,{matchedUIs:n,annotationType:t[ds("0xe")]})}}var us=n(100),ms={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(us.Z,ms);us.Z.locals;const fs=["class","list","div","createCollection","bindTemplate","set","setTemplate"];var ps,gs;ps=fs,gs=458,function(t){for(;--t;)ps.push(ps.shift())}(++gs);const bs=function(t,e){return fs[t-=0]},vs=(0,e.toUnit)("px");class _s extends go.View{constructor(t){super(t);const e=this[bs("0x1")];this[bs("0x2")]("minHeight",0),this.set(bs("0x4"),""),this[bs("0x5")]=this[bs("0x0")](),this[bs("0x3")]({tag:bs("0x6"),attributes:{class:["ck","ck-sidebar","ck-reset",e.to(bs("0x4"))],style:{minHeight:e.to("minHeight",(t=>t?vs(t+10):null))}},children:this[bs("0x5")]})}}const ws=["render","content","ck-sidebar-item","height","set","div","_mutationObserver","_targetTop","detach","top","setTemplate","isAnimationDisabled","destroy","element","createCollection","clear","updateHeight","bottom"];var ks,ys;ks=ws,ys=365,function(t){for(;--t;)ks.push(ks.shift())}(++ys);const Cs=function(t,e){return ws[t-=0]},As=(0,e.toUnit)("px");class Ts extends go.View{constructor(t){super(t),this.set(Cs("0x4")),this[Cs("0x11")](Cs("0x10"),0),this.bind(Cs("0xc")).to(this,Cs("0x4"),this,"height",((t,e)=>(t||0)+e)),this.set(Cs("0x6"),!1),this[Cs("0x1")]=Ui((()=>this[Cs("0xb")]())),this[Cs("0x2")]=null,this.content=this[Cs("0x9")]();const e=this.bindTemplate;this[Cs("0x5")]({tag:Cs("0x0"),attributes:{class:[Cs("0xf"),e.to("isAnimationDisabled",(t=>t?"ck-sidebar-item--no-animation":""))],style:{top:e.to(Cs("0x4"),As)}},children:this.content})}[Cs("0xd")](){super[Cs("0xd")](),this[Cs("0x1")].attach(this[Cs("0x8")])}[Cs("0xb")](){const t=this.element.clientHeight;t&&(this[Cs("0x10")]=t)}[Cs("0x7")](){this[Cs("0xe")][Cs("0xa")](),this[Cs("0x1")][Cs("0x3")](),super[Cs("0x7")]()}}const Is=["isActive","getSidebarItemView","addAnnotation","_updateLastItem","config","element","bottom","max","minHeight","_sidebarItemViewToAnnotation","locale","_destroySidebarItemView","_annotationToSidebarItemView","getIndex","_targetTop","_getItemAfter","targetRect","_getItemBefore","refresh","change:top","_annotations","sidebar.container","_setItemTop","change:targetRect","unbind","list","height","sidebar-attachtocontainer-missing-container","appendChild","container","pluginName","define","_alignAfterItem","class","remove","destroy","_getTargetTop","target","init","Sidebar","updateHeight","delete","top","add","_alignBeforeItem","_activeAnnotation","sidebar.preventScrollOutOfView","set","stopListening","view","isAnimationDisabled","_spaceBetweenItems","listenTo","clear","get","content","length","_alignToTargetRect","setContainer","context","sidebar-setcontainer-invalid-element"];var Es,js;Es=Is,js=105,function(t){for(;--t;)Es.push(Es.shift())}(++js);const Vs=function(t,e){return Is[t-=0]};class Os extends t.ContextPlugin{static get[Vs("0x2f")](){return Vs("0x38")}constructor(t){super(t),this[Vs("0x3")]("_lastItem"),this[Vs("0x5")]=this._createSidebarView(),this[Vs("0x3")]("container",null),this._spaceBetweenItems=25,this[Vs("0x1a")]=new Map,this[Vs("0x1d")]=new Map,this.context[Vs("0x15")][Vs("0x30")](Vs("0x2"),!1),this._annotations=null,this._activeAnnotation=null}[Vs("0x37")](){const t=this[Vs("0xf")].config.get(Vs("0x26"));t&&this[Vs("0xe")](t)}setContainer(t){if(!or(t))throw new e.CKEditorError(Vs("0x10"));this[Vs("0x2e")]=t}_attachToContainer({viewClass:t="",spaceBetweenItems:n=25}={}){if(!or(this[Vs("0x2e")]))throw new e.CKEditorError(Vs("0x2c"),this);this[Vs("0x2e")][Vs("0x2d")](this[Vs("0x5")].element),this[Vs("0x5")][Vs("0x32")]=t,this[Vs("0x7")]=n}rearrange({removedAnnotation:t,previousAnnotation:e,nextAnnotation:n}){const o=this[Vs("0x12")](t);this[Vs("0x5")].list.remove(o),this[Vs("0x1c")](t),e&&this[Vs("0xd")](this[Vs("0x12")](e)),n&&this[Vs("0xd")](this[Vs("0x12")](n)),this[Vs("0x14")]()}[Vs("0x23")]({blurredAnnotation:t,activatedAnnotation:e,disableAnimationOnActivatedAnnotation:n}){if(this[Vs("0x1")]=e,t){t[Vs("0x11")]=!1;const e=this[Vs("0x12")](t);e&&n&&(e[Vs("0x6")]=!1)}if(e){const t=this[Vs("0x12")](e);t&&(e.isActive=!0,n&&(t[Vs("0x6")]=!0,t[Vs("0x3b")]+=1),this[Vs("0xd")](t))}}_detachFromContainer(t){this[Vs("0x4")](),this[Vs("0x5")][Vs("0x16")][Vs("0x33")]();for(const e of t)this[Vs("0x1c")](e);this.view.list[Vs("0x9")](),this[Vs("0x5")][Vs("0x32")]="",this._lastItem=null}[Vs("0x13")](t,e){e||(e=t[Vs("0x5")]);const n=new Ts(this.context.locale);this[Vs("0x1a")][Vs("0x3")](n,t),this[Vs("0x1d")].set(t,n),n[Vs("0xb")][Vs("0x3c")](e),this[Vs("0xd")](n),this[Vs("0x8")](t[Vs("0x5")],Vs("0x28"),(()=>{const t=this[Vs("0x35")](n);n[Vs("0x1f")]!=t&&(n[Vs("0x1f")]=t,this._setItemTop(n,t))})),this[Vs("0x8")](n,Vs("0x24"),Ni((()=>{if(!n[Vs("0xb")][Vs("0xc")])return;const t=this._getItemBefore(n);if(!t)return;const e=this[Vs("0x1a")][Vs("0xa")](t),o=this._activeAnnotation;o&&o===e?this[Vs("0x31")](t,n):this._alignBeforeItem(n,t)}),10,{leading:!1})),this[Vs("0x8")](n,"change:bottom",Ni((()=>{if(!n[Vs("0xb")][Vs("0xc")])return;const t=this[Vs("0x20")](n);if(!t)return;const e=this[Vs("0x1a")][Vs("0xa")](t),o=this[Vs("0xf")][Vs("0x15")][Vs("0xa")]("sidebar.preventScrollOutOfView"),i=this[Vs("0x1")];i&&i===e&&o?(this._alignBeforeItem(t,n),this[Vs("0x31")](n,t)):i&&i===e?this[Vs("0x0")](t,n):this[Vs("0x31")](n,t)}),10,{leading:!1}));const o=this[Vs("0x22")](n);return o&&this[Vs("0x31")](o,n)||this._alignToTargetRect(n),this._updateLastItem(),this[Vs("0x5")][Vs("0x2a")].add(n),n}[Vs("0x12")](t){return this[Vs("0x1d")][Vs("0xa")](t)}[Vs("0x34")](){this.view.destroy()}[Vs("0x1c")](t){const e=this[Vs("0x12")](t);this[Vs("0x4")](e),this[Vs("0x4")](t[Vs("0x5")]),e.destroy(),this._annotationToSidebarItemView.delete(t),this[Vs("0x1a")][Vs("0x3a")](e)}_createSidebarView(){const t=new _s(this[Vs("0xf")][Vs("0x1b")]);return t.render(),this.on("change:_lastItem",((e,n,o,i)=>{i&&t[Vs("0x29")](Vs("0x19")),o?t.bind("minHeight").to(o,Vs("0x17")):t[Vs("0x19")]=null})),t}[Vs("0x14")](){this._lastItem=this[Vs("0x12")](this[Vs("0x25")].last)}[Vs("0x22")](t){const e=this[Vs("0x1a")][Vs("0xa")](t),n=this._annotations[Vs("0xa")](this[Vs("0x25")][Vs("0x1e")](e)-1);return n&&this.getSidebarItemView(n)}[Vs("0x20")](t){const e=this[Vs("0x1a")][Vs("0xa")](t),n=this[Vs("0x25")].get(this[Vs("0x25")].getIndex(e)+1);return n&&this[Vs("0x12")](n)}[Vs("0x0")](t,e){t[Vs("0x39")]();const n=Ss(e.bottom+this._spaceBetweenItems,t[Vs("0x3b")]);return!!n&&(this[Vs("0x27")](e,e[Vs("0x3b")]-n),!0)}[Vs("0x31")](t,e){t[Vs("0x39")]();const n=Ss(t.bottom+this[Vs("0x7")],e.top);return!!n&&(this._setItemTop(e,e[Vs("0x3b")]+n,!1),!0)}[Vs("0xd")](t){const e=this[Vs("0x1a")][Vs("0xa")](t);if(!e||!e[Vs("0x36")])return;const n=this[Vs("0x35")](t);this[Vs("0x27")](t,n)}[Vs("0x35")](t){const n=this[Vs("0x1a")][Vs("0xa")](t);if(null===n.targetRect)return 0;if(n[Vs("0x36")]instanceof e.Rect)return n.targetRect[Vs("0x3b")];{const t=new e.Rect(this.view[Vs("0x16")])[Vs("0x3b")];return n[Vs("0x21")][Vs("0x3b")]-t}}[Vs("0x27")](t,e,n=this[Vs("0xf")].config[Vs("0xa")](Vs("0x2"))){n&&(e=Math[Vs("0x18")](e,this._getMaxAvailableTop(t))),t[Vs("0x3b")]=e}_getMaxAvailableTop(t){let e=this[Vs("0x22")](t),n=0;for(;e;)e[Vs("0x39")](),n+=this._spaceBetweenItems+e[Vs("0x2b")],e=this[Vs("0x22")](e);return n}}function Ss(t,e){return Math[Vs("0x18")](t-e,0)}const Ms=["blur","widesidebar-detach-not-attached","pluginName","rearrange","plugins","change:container","add","init","_integrateWithEditorAnnotations","refreshPositioning","attach","requires","_activeAnnotation","off","has","resize","destroy","isAttached","switchTo","_annotations","_detachFromContainer","removeEventListener","setActiveAnnotation","stopListening","editors","set","register","detach","addEventListener","_editorAnnotations","uiUpdate","_attachToContainer","getOrderedSelectedAnnotations","listenTo","_throttledPositioningRefresh","_destroyEditorAnnotationsIntegration","updateTargetRect","Sidebar","context","wideSidebar","from","get","refresh","remove","EditorAnnotations","addAnnotation","widesidebar-attach-already-attached","activeAnnotation","container","high"];var Bs,Ds;Bs=Ms,Ds=248,function(t){for(;--t;)Bs.push(Bs.shift())}(++Ds);const Rs=function(t,e){return Ms[t-=0]};class Ps extends t.ContextPlugin{static get[Rs("0xd")](){return[Os,ls]}static get[Rs("0x4")](){return"WideSidebar"}constructor(t){super(t),this[Rs("0x13")]=!1,this[Rs("0x1b")](Rs("0x31"),null),this[Rs("0x15")]=null,this[Rs("0x1f")]=new e.Collection,this[Rs("0x24")]=Ni((()=>{this._annotations[Rs("0xb")]()}),400,{leading:!1})}[Rs("0x9")](){const t=this[Rs("0x28")][Rs("0x6")].get(ls),e=this.context[Rs("0x6")].get(Os);t[Rs("0x1c")](Rs("0x29"),this),e[Rs("0x0")]&&t[Rs("0x14")](Rs("0x29"))}setActiveAnnotation(t){if(t===this[Rs("0x31")])return;const e=this[Rs("0x28")][Rs("0x6")].get(Os);e[Rs("0xe")]=t;const n=this[Rs("0x31")];this[Rs("0x31")]=t,e[Rs("0x2c")]({blurredAnnotation:n,activatedAnnotation:this[Rs("0x31")]})}[Rs("0xc")](t){this._annotations=t;const n=this[Rs("0x28")][Rs("0x6")][Rs("0x2b")](Rs("0x27"));if(n[Rs("0x15")]=t,this.isAttached)throw new e.CKEditorError(Rs("0x30"),this);this[Rs("0x13")]=!0,this.listenTo(n,"set:container",(()=>{this.detach(),this.listenTo(n,Rs("0x7"),(e=>{e[Rs("0xf")](),this[Rs("0xc")](t)}))})),n[Rs("0x21")]({viewClass:"ck-sidebar--wide"});const o=t=>{t[Rs("0x26")](),n[Rs("0x2f")](t)};for(const e of t)o(e);this[Rs("0x23")](t,Rs("0x8"),((t,e)=>{o(e)})),this[Rs("0x23")](t,Rs("0x2d"),((e,o,i)=>{n[Rs("0x5")]({removedAnnotation:o,previousAnnotation:t[Rs("0x2b")](i-1),nextAnnotation:t[Rs("0x2b")](i+1)}),o===this.activeAnnotation&&this[Rs("0x18")](null)}),{priority:Rs("0x1")}),this[Rs("0x23")](t,"focus",((t,e)=>{this[Rs("0x18")](e)})),this[Rs("0x23")](t,Rs("0x2"),(()=>{this.setActiveAnnotation(null)}));const i=this[Rs("0x28")][Rs("0x1a")]?this.context[Rs("0x1a")]:new e.Collection([this[Rs("0x28")]]);for(const t of i)this[Rs("0xa")](t);this.listenTo(i,Rs("0x8"),((t,e)=>{this[Rs("0x23")](e,"ready",(()=>{this[Rs("0xa")](e)}))})),this.listenTo(i,Rs("0x2d"),((t,e)=>{e[Rs("0x6")][Rs("0x10")](Rs("0x2e"))&&this[Rs("0x25")](e[Rs("0x6")].get(Rs("0x2e")))})),window[Rs("0x1e")](Rs("0x11"),this._throttledPositioningRefresh),this[Rs("0x15")][Rs("0xb")]()}detach(){if(!this.isAttached)throw new e.CKEditorError(Rs("0x3"),this);this[Rs("0x18")](null);const t=this.context[Rs("0x6")].get(Os);t[Rs("0x16")](this[Rs("0x15")]),this[Rs("0x19")](t),this[Rs("0x19")](this[Rs("0x15")]),this[Rs("0x19")](this.context[Rs("0x1a")]);for(const t of Array[Rs("0x2a")](this[Rs("0x1f")]))this[Rs("0x25")](t);window[Rs("0x17")](Rs("0x11"),this[Rs("0x24")]),this[Rs("0x24")].cancel(),this[Rs("0x31")]=null,this[Rs("0x13")]=!1}[Rs("0x12")](){this[Rs("0x13")]&&this[Rs("0x1d")]()}[Rs("0xa")](t){const e=t.plugins.get(Rs("0x2e"));if(!e)return;const n=()=>{const t=e[Rs("0x22")]({annotations:this[Rs("0x15")],activeAnnotation:this[Rs("0x31")]});this[Rs("0x18")](t[0]||null)};this.listenTo(e,"refresh",n),this.listenTo(e,Rs("0x2"),((t,{isAnnotationTracked:e})=>{this[Rs("0x31")]&&e(this[Rs("0x31")])&&this[Rs("0x18")](null)})),this[Rs("0x23")](e,Rs("0x20"),(()=>{this[Rs("0x15")][Rs("0xb")]()})),this[Rs("0x23")](this[Rs("0x15")],Rs("0x2"),(t=>{e.hasDomSelection()&&(n(),t.stop())}),{priority:Rs("0x1")}),this[Rs("0x1f")][Rs("0x8")](e)}[Rs("0x25")](t){t&&(this.stopListening(t),this[Rs("0x1f")][Rs("0x2d")](t))}}const Ns=["annotationType","add","setTemplate","ck-annotation-counter","isDirty","_badge","icon","...","ck-annotation-counter__badge","set","ck-annotation-counter__badge--edit-mode","bind","counterView","number","span"];var zs,Fs;zs=Ns,Fs=453,function(t){for(;--t;)zs.push(zs.shift())}(++Fs);const Ls=function(t,e){return Ns[t-=0]};class Ks extends go.ButtonView{constructor(t){super(t);const e=this.bindTemplate;this.set(Ls("0x1"),!1),this[Ls("0x6")](Ls("0xa"),0),this[Ls("0x8")](Ls("0x2")).to(this,Ls("0x1"),this,"number",((t,e)=>t?Ls("0x4"):e)),this[Ls("0x6")](Ls("0xc"),""),this[Ls("0x3")]=es(),this.extendTemplate({attributes:{class:[Ls("0x0")]}}),this[Ls("0x9")]=new go.View,this[Ls("0x9")][Ls("0xe")]({tag:Ls("0xb"),attributes:{class:[Ls("0x5"),e.to("annotationType",(t=>"ck-annotation-counter__badge--"+t)),e.if("isDirty",Ls("0x7"))]},children:[{text:e.to(Ls("0x2"))}]}),this.children[Ls("0xd")](this[Ls("0x9")])}}var Us=n(28),Ws={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(Us.Z,Ws);Us.Z.locals;const Hs=["refreshPositioning","attachToDom","_detachListeners","has","remove","detach","register","keydown","clear","NarrowSidebar","southArrowNorthWest","stopListening","isVisible","contains","unpin","_throttledRefreshPositioning","off","isDirty","preventDefault","_detachFromContainer","focus","_hideBalloon","target","get","element","_selectedAnnotations","listenTo","view","esc","destroy","context","ck-sidebar--narrow","resize","balloonPanelView","activeAnnotation","refresh","_annotations","values","length","high","preventClosingBalloon","setActiveAnnotation","bodyCollection","_attachToContainer","stop","locale","_manuallyClosedAnnotationViews","content","mousedown","northArrowSouthEast","plugins","narrowsidebar-detach-not-attached","cancel","_updateBalloonPosition","_attachListeners","Sidebar","requires","rearrange","blur","hasDomSelection","_refreshPositioning","set","change:container","narrowSidebar","detachFromDom","editors","addEventListener","getByView","pluginName","delete","_domEmitter","_annotationToNarrowView","_destroyEditorAnnotationsIntegration","addAnnotation","init","removeEventListener","first","narrowsidebar-attach-already-attached","attach","change:height","EditorAnnotations","isAttached","create","_showBalloon","_editorAnnotations","_setSelectedAnnotations","keyCode","_integrateWithEditorAnnotations","add","type"];var Zs,qs;Zs=Hs,qs=493,function(t){for(;--t;)Zs.push(Zs.shift())}(++qs);const $s=function(t,e){return Hs[t-=0]};class Gs extends t.ContextPlugin{static get[$s("0xd")](){return[Os,ls]}static get[$s("0x19")](){return $s("0x38")}constructor(t){super(t),this.isAttached=!1,this[$s("0x3")]=new Set,this[$s("0x1b")]=Object[$s("0x27")](e.DomEmitterMixin),this[$s("0x1c")]=new Map,this[$s("0x12")]($s("0x51"),null),this[$s("0x53")]=null,this[$s("0x48")]=[],this[$s("0x29")]=new e.Collection,this._throttledRefreshPositioning=Ni((()=>{this[$s("0x11")]()}),400,{leading:!1})}[$s("0x1f")](){this[$s("0x4d")][$s("0x7")][$s("0x46")](ls)[$s("0x35")]($s("0x14"),this),this[$s("0x59")]=new go.BodyCollection(this[$s("0x4d")][$s("0x2")]),this[$s("0x50")]=new go.BalloonPanelView(this[$s("0x4d")][$s("0x2")]),this[$s("0x59")][$s("0x30")](),this.bodyCollection[$s("0x2d")](this[$s("0x50")])}[$s("0x23")](t){this._annotations=t;const n=this.context.plugins[$s("0x46")](Os),o=this[$s("0x50")];if(n[$s("0x53")]=t,this.isAttached)throw new e.CKEditorError($s("0x22"),this);this[$s("0x26")]=!0,this[$s("0x49")](n,"set:container",(()=>{this[$s("0x34")](),this[$s("0x49")](n,$s("0x13"),(e=>{e[$s("0x3f")](),this[$s("0x23")](t)}))})),n[$s("0x0")]({viewClass:$s("0x4e"),spaceBetweenItems:5});const i=t=>{const e=new Ks(this[$s("0x4d")][$s("0x2")]);n[$s("0x1e")](t,e),this._annotationToNarrowView[$s("0x12")](t,e),e.bind("isDirty","annotationType","number").to(t[$s("0x4a")],$s("0x40"),$s("0x2e"),$s("0x55")),e.on("execute",(()=>{this[$s("0x3")].clear(),o[$s("0x4")][$s("0x21")]!==t.view?(this._showBalloon(t),t[$s("0x4a")].element.focus(),this.setActiveAnnotation(t)):this[$s("0x58")](null)}))};for(const e of t)i(e);this[$s("0x49")](t,"add",((t,e)=>{i(e)})),this[$s("0x49")](t,$s("0x33"),((e,o,i)=>{this._annotationToNarrowView[$s("0x46")](o).destroy(),this[$s("0x1c")][$s("0x1a")](o),n[$s("0xe")]({removedAnnotation:o,previousAnnotation:t[$s("0x46")](i-1),nextAnnotation:t[$s("0x46")](i+1)}),o===this[$s("0x51")]&&this[$s("0x58")](null)}),{priority:"low"}),this[$s("0x49")](t,$s("0x43"),((t,e)=>{this[$s("0x58")](e)})),this.listenTo(t,$s("0xf"),(()=>{this[$s("0x58")](null)})),this._domEmitter[$s("0x49")](document,$s("0x36"),((t,n)=>{n[$s("0x2b")]===e.keyCodes[$s("0x4b")]&&o[$s("0x3b")]&&(this[$s("0x3")][$s("0x2d")](o[$s("0x4")][$s("0x21")]),this._hideBalloon(),n.stopPropagation(),n[$s("0x41")]())})),this[$s("0x1b")][$s("0x49")](document,$s("0x5"),((t,e)=>{const i=e.target;o[$s("0x3b")]&&o.element[$s("0x3c")](i)||n[$s("0x4a")][$s("0x47")][$s("0x3c")](i)||t[$s("0x57")]||(this[$s("0x3")][$s("0x37")](),this[$s("0x44")](),this[$s("0x58")](null))}));const r=this[$s("0x4d")].editors?this[$s("0x4d")][$s("0x16")]:new e.Collection([this.context]);for(const t of r)this[$s("0x2c")](t);this[$s("0x49")](r,"add",((t,e)=>{this.listenTo(e,"ready",(()=>{this._integrateWithEditorAnnotations(e)}))})),this[$s("0x49")](r,$s("0x33"),((t,e)=>{e[$s("0x7")].has($s("0x25"))&&this[$s("0x1d")](e.plugins[$s("0x46")]($s("0x25")))})),window[$s("0x17")]($s("0x4f"),this[$s("0x3e")]),this[$s("0x11")]()}[$s("0x58")](t){if(t===this[$s("0x51")])return;const e=this[$s("0x4d")][$s("0x7")][$s("0x46")]($s("0xc"));e.refresh({blurredAnnotation:this[$s("0x51")],activatedAnnotation:t,disableAnimationOnActivatedAnnotation:!0}),t&&e.getSidebarItemView(t)?this._showBalloon(t):this[$s("0x44")](),this[$s("0x51")]=t}[$s("0x34")](){if(!this.isAttached)throw new e.CKEditorError($s("0x8"),this);this.setActiveAnnotation(null);const t=this[$s("0x4d")][$s("0x7")][$s("0x46")]($s("0xc"));this[$s("0x44")](),Array.from(this[$s("0x1c")][$s("0x54")](),(t=>t[$s("0x4c")]())),this[$s("0x1c")].clear(),t[$s("0x42")](this[$s("0x53")]),this[$s("0x3a")](),this[$s("0x1b")].stopListening(),this.stopListening(this[$s("0x4d")][$s("0x16")]);for(const t of Array.from(this._editorAnnotations))this._destroyEditorAnnotationsIntegration(t);window[$s("0x20")]($s("0x4f"),this[$s("0x3e")]),this[$s("0x3e")][$s("0x9")](),this[$s("0x48")]=[],this[$s("0x26")]=!1,this._annotations=null}[$s("0x4c")](){this[$s("0x26")]&&this.detach(),this[$s("0x59")][$s("0x15")]()}[$s("0x2c")](t){const e=t[$s("0x7")][$s("0x46")]($s("0x25")),n=this[$s("0x4d")][$s("0x7")][$s("0x46")](Os),o=this._annotations,i=this[$s("0x50")],r=()=>{const t=e.getOrderedSelectedAnnotations({activeAnnotation:this[$s("0x51")],annotations:this[$s("0x53")]});this._setSelectedAnnotations(t),this[$s("0x58")](t[0]||null)};this[$s("0x49")](e,$s("0x52"),r),this.listenTo(e,$s("0xf"),((t,{isAnnotationTracked:e})=>{this[$s("0x51")]&&e(this[$s("0x51")])&&(this._setSelectedAnnotations([]),this[$s("0x58")](null))})),this[$s("0x49")](e,"uiUpdate",(()=>{this[$s("0x3e")]()})),this[$s("0x49")](o,"blur",(t=>{e[$s("0x10")]()&&t[$s("0x1")]()}),{priority:$s("0x56")}),this[$s("0x1b")][$s("0x49")](document,$s("0x5"),((t,o)=>{const s=o[$s("0x45")];i[$s("0x3b")]&&i[$s("0x47")][$s("0x3c")](s)||n[$s("0x4a")][$s("0x47")].contains(s)||this[$s("0x51")]&&e.hasDomSelection()&&(r(),t[$s("0x57")]=!0)}),{priority:"high"}),this[$s("0x29")][$s("0x2d")](e)}_destroyEditorAnnotationsIntegration(t){t&&(this[$s("0x3a")](t),this[$s("0x29")].remove(t))}[$s("0x2a")](t){for(const e of this[$s("0x48")])t.includes(e)||this[$s("0x3")][$s("0x1a")](e[$s("0x4a")]);this[$s("0x48")]=t}_refreshPositioning(){const t=this[$s("0x50")];this[$s("0x53")][$s("0x2f")](),t[$s("0x3b")]&&this._updateBalloonPosition()}[$s("0x28")](t){if(this[$s("0x3")][$s("0x32")](t[$s("0x4a")]))return;const e=this[$s("0x50")].content[$s("0x21")];e!==t[$s("0x4a")]?(e&&this._detachListeners(e),this._attachListeners(t[$s("0x4a")]),this[$s("0x50")].content[$s("0x37")](),this[$s("0x50")][$s("0x4")][$s("0x2d")](t[$s("0x4a")]),this[$s("0xa")]()):this[$s("0xa")]()}[$s("0xa")](){const t=this[$s("0x50")][$s("0x4")].first,e=this._annotations[$s("0x18")](t);if(!this[$s("0x1c")].has(e))return;const n=this[$s("0x1c")].get(e)[$s("0x47")],o=function(){const t=go.BalloonPanelView.defaultPositions;return[t.southArrowNorthEast,t[$s("0x6")],t.southArrowNorth,t.northArrowSouth,t[$s("0x39")],t.northArrowSouthWest]}();this[$s("0x50")].pin({target:n,positions:o})}_hideBalloon(){const t=this[$s("0x50")],e=t[$s("0x4")][$s("0x21")];e&&(this[$s("0x31")](e),t[$s("0x3d")](),t.content.clear())}[$s("0xb")](t){this[$s("0x49")](t,$s("0x24"),(()=>this[$s("0xa")]())),this.listenTo(t,"Esc",((e,n)=>{this[$s("0x3")][$s("0x2d")](t),this[$s("0x44")](),n()}))}[$s("0x31")](t){this[$s("0x3a")](t)}}var Ys=n(275),Js={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};bi()(Ys.Z,Js);Ys.Z.locals;const Qs=["requires","pluginName","_selectedAnnotations","EditorAnnotations","attach","set","has","editor","inlineannotations-not-allowed-with-context","context","getSelection","focus","blur","keystrokes","destroy","change:height","setActiveAnnotation","update","inline","clear","editableElement","add","editing","Esc","inlineannotations-attach-already-attached","addObserver","get","_annotations","visibleView","remove","_manuallyClosed","_addedAnnotations","view","register","isAttached","plugins","change:visibleView","hasView","activeAnnotation","document","updatePosition","_setSelectedAnnotations","stopListening","targetRect","getByView","bind","_balloon","_removeAnnotationFromBalloon","focusTracker","selection","refresh","afterInit","InlineAnnotations","_addAnnotationToBalloon","mousedown","isFocused","change:isFocused","inlineannotations-detach-not-attached","switchTo","listenTo","detach","delete","isActive"];var Xs,ta;Xs=Qs,ta=456,function(t){for(;--t;)Xs.push(Xs.shift())}(++ta);const ea=function(t,e){return Qs[t-=0]};class na extends t.Plugin{static get[ea("0x30")](){return[Xr,go.ContextualBalloon,ls]}static get[ea("0x31")](){return ea("0x25")}constructor(t){super(t),t[ea("0x7")][ea("0x11")][ea("0xa")](Co.MouseObserver),this.isAttached=!1,this[ea("0x35")](ea("0x17"),null),this[ea("0xc")]=null,this[ea("0xf")]=new Set,this[ea("0x1f")]=t[ea("0x14")][ea("0xb")](go.ContextualBalloon),this._addedAnnotations=new Set,this[ea("0x32")]=[]}init(){const t=this[ea("0x37")].plugins[ea("0xb")](ls);t[ea("0x39")]===this[ea("0x37")]&&(t[ea("0x12")](ea("0x3"),this),this[ea("0x37")][ea("0x3d")][ea("0x35")](ea("0x8"),((t,e)=>{const n=this[ea("0x1f")];if(this[ea("0x13")]&&n.visibleView){const t=this[ea("0xc")][ea("0x1d")](n.visibleView);this[ea("0xf")].add(t),this[ea("0x20")](t),e()}})))}[ea("0x24")](){const t=this[ea("0x37")][ea("0x14")].get(ls);t.context===this[ea("0x37")]&&(t.hasActive()||t[ea("0x2b")]("inline"))}[ea("0x1")](t){t!==this[ea("0x17")]&&(this.activeAnnotation&&(this.activeAnnotation[ea("0x2f")]=!1),t&&this[ea("0x37")].ui[ea("0x21")][ea("0x28")]&&(this[ea("0x26")](t,!0),t[ea("0x2f")]=!0),t||this[ea("0x1a")]([]),this[ea("0x17")]=t)}[ea("0x34")](t){this[ea("0xc")]=t;const n=this[ea("0x37")][ea("0x14")].get(ls),o=this._balloon;if(this.isAttached)throw new e.CKEditorError(ea("0x9"),this);if(n[ea("0x39")]!==this.editor)throw new e.CKEditorError(ea("0x38"),this);const i=this[ea("0x37")][ea("0x14")].get(ea("0x33"));this[ea("0x2c")](i,ea("0x23"),function(){const t=i.getOrderedSelectedAnnotations({activeAnnotation:this.activeAnnotation,annotations:this[ea("0xc")]});this[ea("0x1a")](t),this.setActiveAnnotation(t[0]||null)}[ea("0x1e")](this)),this[ea("0x2c")](i,ea("0x3c"),((t,{isAnnotationTracked:e})=>{this.activeAnnotation&&e(this[ea("0x17")])&&(this._setSelectedAnnotations([]),this[ea("0x1")](null))})),this[ea("0x2c")](this.editor.ui[ea("0x21")],ea("0x29"),((t,e,n)=>{n||this[ea("0x1")](null)})),this[ea("0x2c")](t,ea("0xe"),((t,e)=>{this._removeAnnotationFromBalloon(e),e===this[ea("0x17")]&&this[ea("0x1")](null)})),this[ea("0x2c")](o,ea("0x15"),((e,n,i,r)=>{if(r&&this[ea("0x1b")](r),!i||!t.getByView(i))return;const s=t[ea("0x1d")](i);this[ea("0x2c")](i,ea("0x0"),(()=>{o[ea("0x19")]()})),this.listenTo(i,ea("0x8"),(()=>{this[ea("0xf")][ea("0x6")](s),this[ea("0x20")](s),this[ea("0x37")][ea("0x7")].view.focus()})),this[ea("0x17")]!==s&&this[ea("0x1")](s)})),this[ea("0x2c")](this[ea("0x37")].ui,ea("0x2"),(()=>{o[ea("0xd")]&&t.getByView(o.visibleView)&&o[ea("0x19")]()})),this.listenTo(this[ea("0x37")][ea("0x7")][ea("0x11")][ea("0x18")],ea("0x27"),(()=>{this._manuallyClosed[ea("0x4")]()})),this[ea("0x37")][ea("0x7")].view[ea("0x18")][ea("0x22")][ea("0x5")]&&this.editor[ea("0x7")].view[ea("0x3b")](),this[ea("0x13")]=!0}[ea("0x2d")](){if(!this[ea("0x13")])throw new e.CKEditorError(ea("0x2a"),this);this.setActiveAnnotation(null);for(const t of this[ea("0x10")])this[ea("0x20")](t);this[ea("0x1b")](),this.isAttached=!1}[ea("0x3e")](){this[ea("0x13")]&&this[ea("0x2d")]()}[ea("0x1a")](t){const e=this[ea("0x32")];for(const n of e)t.includes(n)||this[ea("0xf")][ea("0x2e")](n);for(const e of this[ea("0xc")])t.includes(e)||this[ea("0x20")](e);if(this[ea("0x37")].ui[ea("0x21")][ea("0x28")])for(const e of t)this._addAnnotationToBalloon(e);this._selectedAnnotations=t}[ea("0x26")](t,e){this._manuallyClosed.has(t)||(this[ea("0x10")][ea("0x36")](t)||this._balloon[ea("0x16")](t[ea("0x11")])||(this._addedAnnotations[ea("0x6")](t),this._balloon[ea("0x6")]({stackId:t.view.id,view:t[ea("0x11")],position:{target:()=>t.target||t[ea("0x1c")]||document[ea("0x3a")]().getRangeAt(0)}})),e&&this[ea("0x1f")].showStack(t[ea("0x11")].id))}[ea("0x20")](t){this[ea("0x10")][ea("0x36")](t)&&this[ea("0x1f")][ea("0x16")](t[ea("0x11")])&&(this._addedAnnotations[ea("0x2e")](t),this[ea("0x1f")].remove(t.view))}}var oa,ia,ra=["requires","pluginName","Comments"];oa=ra,ia=130,function(t){for(;--t;)oa.push(oa.shift())}(++ia);var sa=function(t,e){return ra[t-=0]};class aa extends t.Plugin{static get[sa("0x2")](){return[Ar,Hr,ns,as,Ps,Gs,na]}static get[sa("0x0")](){return sa("0x1")}}})(),(window.CKEditor5=window.CKEditor5||{}).comments=o})();
@@ -0,0 +1 @@
1
+ !function(e){const a=e.bs=e.bs||{};a.dictionary=Object.assign(a.dictionary||{},{"Are you sure?":"Da li ste sigurni?",Comment:"Komentar","Comment editor":"","Delete comment thread?":"Obriši niz komentara?","Delete comment?":"Obriši komentar?",Edit:"Uredi",No:"Ne",NUMBER_OF_COMMENTS:["%0 komentar","%0 komentara","%0 komentara"],PENDING_ACTION_COMMENT_THREAD:"Imate nesačuvane izmjene.",Remove:"Ukloni","Reply...":"Odgovori...",Submit:"",TOO_LONG_COMMENT_ALERT:"Sadržaj komentara je predug. Vaš komentar ima %0 znakova, a limit za unos je %1 znakova.","Write a comment...":"Napiši komentar...",Yes:"Da"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.cs=e.cs||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"Jste si jistý?",Comment:"Komentář","Comment editor":"Editor komentářů","Delete comment thread?":"Smazat vlákno komentáře?","Delete comment?":"Smazat komentář?",Edit:"Upravit",No:"Ne",NUMBER_OF_COMMENTS:["%0 Komentář","%0 Komentáře","%0 Komentářů","%0 Komentářů"],PENDING_ACTION_COMMENT_THREAD:"Ve vlákně komentáře jsou neuložené změny.",Remove:"Odstranit","Reply...":"Odpovědět...",Submit:"Potvrdit",TOO_LONG_COMMENT_ALERT:"Obsah komentáře je příliš dlouhý. Komentář má %0 znaků, limit je %1 znaků.","Write a comment...":"Vložit komentář...",Yes:"Ano"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.da=e.da||{};n.dictionary=Object.assign(n.dictionary||{},{"Are you sure?":"Er du sikker?",Comment:"Kommentar","Comment editor":"Kommentarer","Delete comment thread?":"Slet kommentartråd?","Delete comment?":"Slet kommentar?",Edit:"Rediger",No:"Nej",NUMBER_OF_COMMENTS:["%0 kommentar.","%0 kommentarer."],PENDING_ACTION_COMMENT_THREAD:"Ikke gemte ændringer i kommentartråd.",Remove:"Slet","Reply...":"Besvar...",Submit:"Send",TOO_LONG_COMMENT_ALERT:"Kommentar er for lang. Din kommentar indeholder %0 tegn, men grænsen er %1 tegn.","Write a comment...":"Skriv en kommentar...",Yes:"Ja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e["de-ch"]=e["de-ch"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Are you sure?":"Sind Sie sicher?",Comment:"Kommentar","Comment editor":"Kommentarbearbeitung","Delete comment thread?":"Kommentarverlauf löschen?","Delete comment?":"Kommentar löschen?",Edit:"Bearbeiten",No:"Nein",NUMBER_OF_COMMENTS:["%0 Kommentar","%0 Kommentare"],PENDING_ACTION_COMMENT_THREAD:"Ungesicherte Änderung im Kommentarverlauf.",Remove:"Löschen","Reply...":"Antworten…",Submit:"Senden",TOO_LONG_COMMENT_ALERT:"Kommentar ist zu lang. Ihr Kommentar hat %0 Zeichen, das Limit beträgt jedoch %1 Zeichen.","Write a comment...":"Kommentar schreiben…",Yes:"Ja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const n=e.de=e.de||{};n.dictionary=Object.assign(n.dictionary||{},{"Are you sure?":"Sind Sie sicher?",Comment:"Kommentar","Comment editor":"Kommentarbearbeitung","Delete comment thread?":"Kommentarverlauf löschen?","Delete comment?":"Kommentar löschen?",Edit:"Bearbeiten",No:"Nein",NUMBER_OF_COMMENTS:["1 Kommentar","%0 Kommentare"],PENDING_ACTION_COMMENT_THREAD:"Ungesicherte Änderung im Kommentarverlauf.",Remove:"Löschen","Reply...":"Antworten…",Submit:"Senden",TOO_LONG_COMMENT_ALERT:"Kommentar ist zu lang. Ihr Kommentar hat %0 Zeichen, das Limit beträgt jedoch %1 Zeichen.","Write a comment...":"Kommentar schreiben…",Yes:"Ja"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"Είστε σίγουροις",Comment:"Σχόλιο","Comment editor":"Επεξεργαστής σχολίου","Delete comment thread?":"Διαγραφή νήματος σχολίους","Delete comment?":"Διαγραφή σχολίου;",Edit:"Επεξεργασία",No:"Όχι",NUMBER_OF_COMMENTS:["%0 Σχόλια","%0 Σχόλια"],PENDING_ACTION_COMMENT_THREAD:"Μη αποθηκευμένη αλλαγή σε νήμα σχολίου.",Remove:"Απομάκρυνση","Reply...":"Απάντηση...",Submit:"Υποβολή",TOO_LONG_COMMENT_ALERT:"Το περιεχόμενο του σχολείου είναι μεγάλο. Το σχόλιό σας έχει %0 χαρακτήρες και το όριο είναι %1 χαρακτήρες.","Write a comment...":"Γράψτε ένα σχόλιο...",Yes:"Ναι"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e["en-au"]=e["en-au"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"Are you sure?",Comment:"Comment","Comment editor":"Comment editor","Delete comment thread?":"Delete comment thread?","Delete comment?":"Delete comment?",Edit:"Edit",No:"No",NUMBER_OF_COMMENTS:["%0 Comment","%0 Comments"],PENDING_ACTION_COMMENT_THREAD:"Unsaved change in comment thread.",Remove:"Remove","Reply...":"Reply...",Submit:"Submit",TOO_LONG_COMMENT_ALERT:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.","Write a comment...":"Write a comment...",Yes:"Yes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const o=e.es=e.es||{};o.dictionary=Object.assign(o.dictionary||{},{"Are you sure?":"¿Lo confirma?",Comment:"Comentario","Comment editor":"Editor de comentarios","Delete comment thread?":"¿Quiere eliminar el hilo de comentarios?","Delete comment?":"¿Quiere eliminar el comentario?",Edit:"Editar",No:"No",NUMBER_OF_COMMENTS:["%0 comentario","%0 comentarios"],PENDING_ACTION_COMMENT_THREAD:"Cambio no guardado en hilo de comentarios.",Remove:"Quitar","Reply...":"Responder…",Submit:"Enviar",TOO_LONG_COMMENT_ALERT:"El contenido del comentario es demasiado extenso. Su comentario tiene %0 caracteres, pero el límite es de %1.","Write a comment...":"Escribir un comentario…",Yes:"Sí"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const e=a.et=a.et||{};e.dictionary=Object.assign(e.dictionary||{},{"Are you sure?":"Oled sa kindel?",Comment:"Kommentaar","Comment editor":"Kommentaari redaktor","Delete comment thread?":"Kustutada kommentati lõim?","Delete comment?":"Kustutada kommentaar?",Edit:"Muuda",No:"Ei",NUMBER_OF_COMMENTS:["%0 kommentaar","%0 kommentaari"],PENDING_ACTION_COMMENT_THREAD:"Salvestamata muudatused kommentaaride lõimes.",Remove:"Eemalda","Reply...":"Vasta...",Submit:"Saada",TOO_LONG_COMMENT_ALERT:"Kommentaari sisu on liiga pikk. Sinu kommentaaris on %0 märki, aga maksimaalne märkide arv on %1.","Write a comment...":"Kirjuta kommentaar.",Yes:"Jah"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.fr=e.fr||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"Êtes-vous sûr ?",Comment:"Commenter","Comment editor":"Éditeur de commentaire","Delete comment thread?":"Supprimer le fil des commentaires ? ","Delete comment?":"Supprimer le commentaire ?",Edit:"Éditer",No:"Non",NUMBER_OF_COMMENTS:["%0 commentaire","%0 commentaires"],PENDING_ACTION_COMMENT_THREAD:"Changement non enregistré dans le fil des commentaires.",Remove:"Supprimer","Reply...":"Répondre...",Submit:"Soumettre",TOO_LONG_COMMENT_ALERT:"Le contenu du commentaire est trop long. Votre commentaire contient %0 caractères alors que la limite est de %1 caractères.","Write a comment...":"Écrire un commentaire...",Yes:"Oui"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const e=o.gl=o.gl||{};e.dictionary=Object.assign(e.dictionary||{},{"Are you sure?":"Esta seguro?",Comment:"Comentario","Comment editor":"Editor de comentarios","Delete comment thread?":"Eliminar o fío de comentarios?","Delete comment?":"Eliminar o comentario?",Edit:"Editar",No:"Non",NUMBER_OF_COMMENTS:["%0 comentario","%0 comentarios"],PENDING_ACTION_COMMENT_THREAD:"Cambio sen gardar no fío de comentarios.",Remove:"Retirar","Reply...":"Responder…",Submit:"Enviar",TOO_LONG_COMMENT_ALERT:"O contido dos comentarios é demasiado longo. O seu comentario ten %0 caracteres mais o límite é de %1 caracteres.","Write a comment...":"Escribir un comentario…",Yes:"Si"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.hi=e.hi||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"Are you sure?",Comment:"Comment","Comment editor":"Comment editor","Delete comment thread?":"Delete comment thread?","Delete comment?":"Delete comment?",Edit:"Edit",No:"No",NUMBER_OF_COMMENTS:["%0 Comment","%0 Comments"],PENDING_ACTION_COMMENT_THREAD:"Unsaved change in comment thread.",Remove:"Remove","Reply...":"Reply...",Submit:"Submit",TOO_LONG_COMMENT_ALERT:"Comment content is too long. Your comment has %0 characters but the limit is %1 characters.","Write a comment...":"Write a comment...",Yes:"Yes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const a=e.hr=e.hr||{};a.dictionary=Object.assign(a.dictionary||{},{"Are you sure?":"Jeste li sigurni?",Comment:"Komentar","Comment editor":"Editor komentara","Delete comment thread?":"Obriši granu komentara?","Delete comment?":"Obriši komentar?",Edit:"Promijeni",No:"Ne",NUMBER_OF_COMMENTS:["%0 komentar","0% komentara","%0 komentara"],PENDING_ACTION_COMMENT_THREAD:"Ne snimljene promjene u grani komentara.",Remove:"Ukloni","Reply...":"Odgovori...",Submit:"Pošalji",TOO_LONG_COMMENT_ALERT:"Sadržaj komentara je predugačak. Vaš komentar sadrži %0 znakova, a ograničenje je %1 znakova.","Write a comment...":"Napiši komentar...",Yes:"Da"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const s=e.hu=e.hu||{};s.dictionary=Object.assign(s.dictionary||{},{"Are you sure?":"Biztos vagy benn?",Comment:"Megjegyzés","Comment editor":"Megjegyzés szerkesztő","Delete comment thread?":"Megjegyzés szál törlése?","Delete comment?":"Megjegyzés törlése?",Edit:"Szerkesztés",No:"Nem",NUMBER_OF_COMMENTS:["%0 Megjegyzés","%0 Megjegyzés"],PENDING_ACTION_COMMENT_THREAD:"Mentetlen módosítás a megjegyzés szálban.",Remove:"Eltávolítás","Reply...":"Válasz",Submit:"Küldés",TOO_LONG_COMMENT_ALERT:"Megjegyzés túl hosszú. A megjegyzésed %0 karaktert tartalmaz, de max. %1 karakter lehetséges.","Write a comment...":"Megjegyzés írása",Yes:"Igen"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const e=a.id=a.id||{};e.dictionary=Object.assign(e.dictionary||{},{"Are you sure?":"Apakah Anda yakin?",Comment:"Komentar","Comment editor":"Editor komentar","Delete comment thread?":"Hapus utas komentar?","Delete comment?":"Hapus komentar?",Edit:"Ubah",No:"Tidak",NUMBER_OF_COMMENTS:"%0 Komentar",PENDING_ACTION_COMMENT_THREAD:"Perubahan tidak tersimpar di utas komentar",Remove:"Hapus","Reply...":"Balas...",Submit:"Kirim",TOO_LONG_COMMENT_ALERT:"Komentar terlalu panjang. Komentar Anda berisi %0 karakter tapi batas maksimalnya adalah %1 karakter.","Write a comment...":"Tulis sebuah komentar...",Yes:"Ya"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const o=e.it=e.it||{};o.dictionary=Object.assign(o.dictionary||{},{"Are you sure?":"Procedere?",Comment:"Commento","Comment editor":"Editor di commenti","Delete comment thread?":"Eliminare la conversazione del commento?","Delete comment?":"Eliminare il commento?",Edit:"Modifica",No:"No",NUMBER_OF_COMMENTS:["%0 commento","%0 commenti"],PENDING_ACTION_COMMENT_THREAD:"Modifica non salvata nella discussione dei commenti.",Remove:"Rimuovi","Reply...":"Rispondi...",Submit:"Invia",TOO_LONG_COMMENT_ALERT:"Il contenuto del commento è troppo lungo. Il commento è lungo %0 caratteri, mentre il limite è di %1 caratteri.","Write a comment...":"Scrivere un commento...",Yes:"Sì"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const t=e.ja=e.ja||{};t.dictionary=Object.assign(t.dictionary||{},{"Are you sure?":"よろしいですか?",Comment:"コメント","Comment editor":"コメントエディタ","Delete comment thread?":"スレッドを削除しますか?","Delete comment?":"コメントを削除しますか?",Edit:"編集",No:"いいえ",NUMBER_OF_COMMENTS:"",PENDING_ACTION_COMMENT_THREAD:"",Remove:"削除","Reply...":"返信",Submit:"送信",TOO_LONG_COMMENT_ALERT:"","Write a comment...":"コメントを書く",Yes:"はい"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const o=e.ko=e.ko||{};o.dictionary=Object.assign(o.dictionary||{},{"Are you sure?":"확실한가요?",Comment:"의견","Comment editor":"의견 편집기","Delete comment thread?":"의견 글타래를 삭제할까요?","Delete comment?":"의견을 삭제할까요?",Edit:"수정",No:"아니요",NUMBER_OF_COMMENTS:"%0개의 의견",PENDING_ACTION_COMMENT_THREAD:"의견 글타래에 저장되지 않은 변경 사항이 있습니다.",Remove:"삭제","Reply...":"답변 작성...",Submit:"작성",TOO_LONG_COMMENT_ALERT:"의견의 내용이 너무 깁니다. 작성하신 내용의 길이는 %0자이지만 제한은 %1자입니다.","Write a comment...":"새 의견 작성...",Yes:"예"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));