@ckeditor/ckeditor5-track-changes 41.0.0 → 41.2.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 (74) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/he.js +1 -1
  3. package/build/translations/pt.js +1 -1
  4. package/build/translations/ro.js +1 -1
  5. package/lang/translations/he.po +1 -4
  6. package/lang/translations/pt.po +26 -26
  7. package/lang/translations/ro.po +1 -1
  8. package/package.json +3 -3
  9. package/src/commands/acceptsuggestioncommand.js +1 -1
  10. package/src/commands/discardsuggestioncommand.js +1 -1
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.js +1 -1
  15. package/src/integrations/aiassistant.js +1 -1
  16. package/src/integrations/alignment.js +1 -1
  17. package/src/integrations/basicstyles.js +1 -1
  18. package/src/integrations/blockquote.js +1 -1
  19. package/src/integrations/casechange.js +1 -1
  20. package/src/integrations/ckbox.js +1 -1
  21. package/src/integrations/codeblock.js +1 -1
  22. package/src/integrations/comments.js +1 -1
  23. package/src/integrations/deletecommand.js +1 -1
  24. package/src/integrations/entercommand.js +1 -1
  25. package/src/integrations/findandreplace.js +1 -1
  26. package/src/integrations/font.js +1 -1
  27. package/src/integrations/formatpainter.js +1 -1
  28. package/src/integrations/heading.js +1 -1
  29. package/src/integrations/highlight.js +1 -1
  30. package/src/integrations/horizontalline.js +1 -1
  31. package/src/integrations/htmlembed.js +1 -1
  32. package/src/integrations/image.js +1 -1
  33. package/src/integrations/imagereplace.js +1 -1
  34. package/src/integrations/imagestyle.js +1 -1
  35. package/src/integrations/importword.js +1 -1
  36. package/src/integrations/indent.js +1 -1
  37. package/src/integrations/inputcommand.js +1 -1
  38. package/src/integrations/legacylist.js +1 -1
  39. package/src/integrations/legacylistproperties.js +1 -1
  40. package/src/integrations/link.js +1 -1
  41. package/src/integrations/list.js +1 -1
  42. package/src/integrations/listproperties.js +1 -1
  43. package/src/integrations/mediaembed.js +1 -1
  44. package/src/integrations/mention.js +1 -1
  45. package/src/integrations/pagebreak.js +1 -1
  46. package/src/integrations/paragraph.js +1 -1
  47. package/src/integrations/removeformat.js +1 -1
  48. package/src/integrations/restrictededitingmode.js +1 -1
  49. package/src/integrations/shiftentercommand.js +1 -1
  50. package/src/integrations/standardeditingmode.js +1 -1
  51. package/src/integrations/style.js +1 -1
  52. package/src/integrations/table.js +1 -1
  53. package/src/integrations/tablecaption.js +1 -1
  54. package/src/integrations/tableclipboard.js +1 -1
  55. package/src/integrations/tablecolumnresize.js +1 -1
  56. package/src/integrations/tableheadings.js +1 -1
  57. package/src/integrations/tablemergesplit.js +1 -1
  58. package/src/integrations/tableofcontents.js +1 -1
  59. package/src/integrations/tableproperties.js +1 -1
  60. package/src/integrations/template.js +1 -1
  61. package/src/integrations/title.js +1 -1
  62. package/src/integrations/undo.js +1 -1
  63. package/src/integrations/utils.js +1 -1
  64. package/src/suggestion.js +1 -1
  65. package/src/suggestiondescriptionfactory.js +1 -1
  66. package/src/trackchanges.js +1 -1
  67. package/src/trackchangesdata.js +1 -1
  68. package/src/trackchangesediting.js +1 -1
  69. package/src/trackchangesui.js +1 -1
  70. package/src/ui/suggestioncontroller.js +1 -1
  71. package/src/ui/view/basesuggestionthreadview.js +1 -1
  72. package/src/ui/view/suggestionthreadview.js +1 -1
  73. package/src/utils/common-translations.js +1 -1
  74. package/src/utils/utils.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={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")},181:(t,e,n)=>{t.exports=n(79)("./src/typing.js")},273:(t,e,n)=>{t.exports=n(79)("./src/ui.js")},209:(t,e,n)=>{t.exports=n(79)("./src/utils.js")},995:(t,e,n)=>{t.exports=n(79)("./src/widget.js")},720:t=>{"use strict";t.exports=CKEditor5.collaborationDll},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},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 i={};(()=>{"use strict";n.r(i),n.d(i,{BaseSuggestionThreadView:()=>Kc,TrackChanges:()=>cl,TrackChangesData:()=>hl,TrackChangesEditing:()=>Ac});var t=n(704),e=n(209),r=n(273),o=n(417),s=n(492),x=n(995);const a=["refresh","value","has","TrackChangesCommand","affectsData","_enableCommands","_isEnabledBasedOnSelection","execute","clearForceDisabled","_disableUnsupportedCommands","commands","_enabledCommands","forceDisabled","isEnabled"];var c,l;c=a,l=322,function(t){for(;--t;)c.push(c.shift())}(++l);const u=function(t,e){return a[t-=0]};class d extends t.Command{constructor(t,e){super(t),this._enabledCommands=e,this[u("0x1")]=!1,this[u("0x0")](),this[u("0x6")]=!1}[u("0x0")](){this[u("0xd")]=!0}[u("0x7")](){this[u("0x1")]=!this[u("0x1")],this.value?this[u("0x9")]():this[u("0x5")]()}_disableUnsupportedCommands(){for(const t of this.editor[u("0xa")][u("0xa")]())t.affectsData&&!this[u("0xb")][u("0x2")](t)&&t[u("0xc")](u("0x3"))}[u("0x5")](){for(const t of this.editor.commands[u("0xa")]())t[u("0x4")]&&!this._enabledCommands[u("0x2")](t)&&t[u("0x8")](u("0x3"))}}const g=["track-changes-accept-suggestion-not-found","editor","_isEnabledBasedOnSelection","model","plugins","execute","get","refresh","getRanges","_suggestions","acceptSuggestion"];var f,h;f=g,h=449,function(t){for(;--t;)f.push(f.shift())}(++h);const m=function(t,e){return g[t-=0]};class p extends t.Command{constructor(t,e){super(t),this[m("0x0")]=e,this[m("0x9")](),this[m("0x4")]=!1}[m("0x9")](){this.isEnabled=!0}[m("0x7")](t){const n=this[m("0x0")][m("0x8")](t);if(!n)throw new e.CKEditorError(m("0x2"),this);const i=n[m("0xa")]();this[m("0x3")][m("0x5")].canEditAt(i)&&this.editor[m("0x6")][m("0x8")]("TrackChangesEditing")[m("0x1")](n)}}const b=["isEnabled","refresh","discardSuggestion","get","plugins","_isEnabledBasedOnSelection","track-changes-discard-suggestion-not-found","_suggestions","TrackChangesEditing","getRanges","editor"];var E,_;E=b,_=197,function(t){for(;--t;)E.push(E.shift())}(++_);const T=function(t,e){return b[t-=0]};class y extends t.Command{constructor(t,e){super(t),this[T("0x8")]=e,this[T("0x2")](),this[T("0x6")]=!1}[T("0x2")](){this[T("0x1")]=!0}execute(t){const n=this[T("0x8")].get(t);if(!n)throw new e.CKEditorError(T("0x7"),this);const i=n[T("0xa")]();this[T("0x0")].model.canEditAt(i)&&this[T("0x0")][T("0x5")][T("0x4")](T("0x9"))[T("0x3")](n)}}const C=["map","value","push","change","isIntersecting","deletion","replace","length","isMultiRange","createPositionBefore","start","isArray","add","next","join"," [color ","createRange","end","getRanges","isObject","createPositionAfter","createPositionAt","isCollapsed","isTouching","content","from","sort","isInContent","color","type"];var A,k;A=C,k=270,function(t){for(;--t;)A.push(A.shift())}(++k);const I=function(t,e){return C[t-=0]};function R(t){return t[I("0x1a")](((t,e)=>I("0x5")==t[I("0x1d")]&&I("0x5")!=e[I("0x1d")]?-1:I("0x5")!=t[I("0x1d")]&&I("0x5")==e.type?1:0))}function v(t,e){let n,i=0;const r=[],o=e.schema;for(;i<t[I("0x7")];){const s=t[i],x=t[i+1];n||(n=e[I("0x9")](s)),S(e,s,x)||(r[I("0x2")](e[I("0x10")](n,o[I("0x13")](s)?e[I("0x14")](s):e[I("0x15")](s,I("0x11")))),n=null),i++}return r}function S(t,e,n){if(!n)return!1;const i=t[I("0x14")](e),r=t[I("0x9")](n);return i[I("0x17")](r)}function L(t,e,n){for(;n[I("0x7")];){const i=n.splice(0,100);t[I("0x3")]((()=>{for(const t of i)t.isInContent&&e.execute(t.id)}))}}const N=["execute","from","values","model","editor","refresh","canEditAt","isEnabled","_command","some","_isEnabledBasedOnSelection","_suggestions"];var M,w;M=N,w=403,function(t){for(;--t;)M.push(M.shift())}(++w);const O=function(t,e){return N[t-=0]};class F extends t.Command{constructor(t,e,n){super(t),this._command=e,this._suggestions=n,this[O("0xa")](),this[O("0x3")]=!1}[O("0xa")](){const t=Array.from(this[O("0x4")][O("0x7")]())[O("0x2")]((t=>t.isInContent));this.isEnabled=this._command[O("0x0")]&&t}[O("0x5")](){const t=R(Array[O("0x6")](this._suggestions.values()));for(const e of t){const t=e.getRanges();if(!this.editor[O("0x8")][O("0xb")](t))return}L(this[O("0x9")].model,this[O("0x1")],t)}}const D=["editor","_command","execute","_suggestions","_isEnabledBasedOnSelection","canEditAt","values","model","document","_selectedSuggestions","isEnabled","size","getRanges"];var B,P;B=D,P=168,function(t){for(;--t;)B.push(B.shift())}(++P);const U=function(t,e){return D[t-=0]};class j extends t.Command{constructor(t,e,n){super(t),this._command=e,this[U("0x4")]=n,this[U("0xa")]=new Set,this.refresh(),this[U("0x5")]=!1}refresh(){const t=this[U("0x1")][U("0x8")][U("0x9")].selection,e=Array.from(this._suggestions[U("0x7")]());this[U("0xa")]=function(t,e){const n=Array[I("0x19")](t[I("0x12")]()),i=new Set;for(const r of e)if(r[I("0x1b")])for(const e of n)for(const n of r.getRanges())(e[I("0x4")](n)||t[I("0x16")]&&!r[I("0x8")]&&r[I("0xd")]&&n.end[I("0x17")](e[I("0xa")]))&&i[I("0xc")](r);return i}(t,e),this[U("0xb")]=this[U("0x2")][U("0xb")]&&!!this[U("0xa")][U("0xc")]}[U("0x3")](){const t=R(Array.from(this[U("0xa")]));for(const e of t){const t=e[U("0x0")]();if(!this[U("0x1")][U("0x8")][U("0x6")](t))return}L(this[U("0x1")][U("0x8")],this._command,t)}}const G=function(){this.__data__=[],this.size=0};const V=function(t,e){return t===e||t!=t&&e!=e};const H=function(t,e){for(var n=t.length;n--;)if(V(t[n][0],e))return n;return-1};var z=Array.prototype.splice;const W=function(t){var e=this.__data__,n=H(e,t);return!(n<0)&&(n==e.length-1?e.pop():z.call(e,n,1),--this.size,!0)};const K=function(t){var e=this.__data__,n=H(e,t);return n<0?void 0:e[n][1]};const q=function(t){return H(this.__data__,t)>-1};const $=function(t,e){var n=this.__data__,i=H(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function X(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}X.prototype.clear=G,X.prototype.delete=W,X.prototype.get=K,X.prototype.has=q,X.prototype.set=$;const Z=X;const Y=function(){this.__data__=new Z,this.size=0};const J=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const Q=function(t){return this.__data__.get(t)};const tt=function(t){return this.__data__.has(t)};const et="object"==typeof global&&global&&global.Object===Object&&global;var nt="object"==typeof self&&self&&self.Object===Object&&self;const it=et||nt||Function("return this")();const rt=it.Symbol;var ot=Object.prototype,st=ot.hasOwnProperty,xt=ot.toString,at=rt?rt.toStringTag:void 0;const ct=function(t){var e=st.call(t,at),n=t[at];try{t[at]=void 0;var i=!0}catch(t){}var r=xt.call(t);return i&&(e?t[at]=n:delete t[at]),r};var lt=Object.prototype.toString;const ut=function(t){return lt.call(t)};var dt=rt?rt.toStringTag:void 0;const gt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":dt&&dt in Object(t)?ct(t):ut(t)};const ft=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ht=function(t){if(!ft(t))return!1;var e=gt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const mt=it["__core-js_shared__"];var pt,bt=(pt=/[^.]+$/.exec(mt&&mt.keys&&mt.keys.IE_PROTO||""))?"Symbol(src)_1."+pt:"";const Et=function(t){return!!bt&&bt in t};var _t=Function.prototype.toString;const Tt=function(t){if(null!=t){try{return _t.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var yt=/^\[object .+?Constructor\]$/,Ct=Function.prototype,At=Object.prototype,kt=Ct.toString,It=At.hasOwnProperty,Rt=RegExp("^"+kt.call(It).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const vt=function(t){return!(!ft(t)||Et(t))&&(ht(t)?Rt:yt).test(Tt(t))};const St=function(t,e){return null==t?void 0:t[e]};const Lt=function(t,e){var n=St(t,e);return vt(n)?n:void 0};const Nt=Lt(it,"Map");const Mt=Lt(Object,"create");const wt=function(){this.__data__=Mt?Mt(null):{},this.size=0};const Ot=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Ft=Object.prototype.hasOwnProperty;const Dt=function(t){var e=this.__data__;if(Mt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ft.call(e,t)?e[t]:void 0};var Bt=Object.prototype.hasOwnProperty;const Pt=function(t){var e=this.__data__;return Mt?void 0!==e[t]:Bt.call(e,t)};const Ut=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Mt&&void 0===e?"__lodash_hash_undefined__":e,this};function jt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}jt.prototype.clear=wt,jt.prototype.delete=Ot,jt.prototype.get=Dt,jt.prototype.has=Pt,jt.prototype.set=Ut;const Gt=jt;const Vt=function(){this.size=0,this.__data__={hash:new Gt,map:new(Nt||Z),string:new Gt}};const Ht=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const zt=function(t,e){var n=t.__data__;return Ht(e)?n["string"==typeof e?"string":"hash"]:n.map};const Wt=function(t){var e=zt(this,t).delete(t);return this.size-=e?1:0,e};const Kt=function(t){return zt(this,t).get(t)};const qt=function(t){return zt(this,t).has(t)};const $t=function(t,e){var n=zt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function Xt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Xt.prototype.clear=Vt,Xt.prototype.delete=Wt,Xt.prototype.get=Kt,Xt.prototype.has=qt,Xt.prototype.set=$t;const Zt=Xt;const Yt=function(t,e){var n=this.__data__;if(n instanceof Z){var i=n.__data__;if(!Nt||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Zt(i)}return n.set(t,e),this.size=n.size,this};function Jt(t){var e=this.__data__=new Z(t);this.size=e.size}Jt.prototype.clear=Y,Jt.prototype.delete=J,Jt.prototype.get=Q,Jt.prototype.has=tt,Jt.prototype.set=Yt;const Qt=Jt;const te=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t};const ee=function(){try{var t=Lt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const ne=function(t,e,n){"__proto__"==e&&ee?ee(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var ie=Object.prototype.hasOwnProperty;const re=function(t,e,n){var i=t[e];ie.call(t,e)&&V(i,n)&&(void 0!==n||e in t)||ne(t,e,n)};const oe=function(t,e,n,i){var r=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var x=e[o],a=i?i(n[x],t[x],x,n,t):void 0;void 0===a&&(a=t[x]),r?ne(n,x,a):re(n,x,a)}return n};const se=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i};const xe=function(t){return null!=t&&"object"==typeof t};const ae=function(t){return xe(t)&&"[object Arguments]"==gt(t)};var ce=Object.prototype,le=ce.hasOwnProperty,ue=ce.propertyIsEnumerable;const de=ae(function(){return arguments}())?ae:function(t){return xe(t)&&le.call(t,"callee")&&!ue.call(t,"callee")};const ge=Array.isArray;const fe=function(){return!1};var he="object"==typeof exports&&exports&&!exports.nodeType&&exports,me=he&&"object"==typeof module&&module&&!module.nodeType&&module,pe=me&&me.exports===he?it.Buffer:void 0;const be=(pe?pe.isBuffer:void 0)||fe;var Ee=/^(?:0|[1-9]\d*)$/;const _e=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Ee.test(t))&&t>-1&&t%1==0&&t<e};const Te=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var ye={};ye["[object Float32Array]"]=ye["[object Float64Array]"]=ye["[object Int8Array]"]=ye["[object Int16Array]"]=ye["[object Int32Array]"]=ye["[object Uint8Array]"]=ye["[object Uint8ClampedArray]"]=ye["[object Uint16Array]"]=ye["[object Uint32Array]"]=!0,ye["[object Arguments]"]=ye["[object Array]"]=ye["[object ArrayBuffer]"]=ye["[object Boolean]"]=ye["[object DataView]"]=ye["[object Date]"]=ye["[object Error]"]=ye["[object Function]"]=ye["[object Map]"]=ye["[object Number]"]=ye["[object Object]"]=ye["[object RegExp]"]=ye["[object Set]"]=ye["[object String]"]=ye["[object WeakMap]"]=!1;const Ce=function(t){return xe(t)&&Te(t.length)&&!!ye[gt(t)]};const Ae=function(t){return function(e){return t(e)}};var ke="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ie=ke&&"object"==typeof module&&module&&!module.nodeType&&module,Re=Ie&&Ie.exports===ke&&et.process;const ve=function(){try{var t=Ie&&Ie.require&&Ie.require("util").types;return t||Re&&Re.binding&&Re.binding("util")}catch(t){}}();var Se=ve&&ve.isTypedArray;const Le=Se?Ae(Se):Ce;var Ne=Object.prototype.hasOwnProperty;const Me=function(t,e){var n=ge(t),i=!n&&de(t),r=!n&&!i&&be(t),o=!n&&!i&&!r&&Le(t),s=n||i||r||o,x=s?se(t.length,String):[],a=x.length;for(var c in t)!e&&!Ne.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_e(c,a))||x.push(c);return x};var we=Object.prototype;const Oe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||we)};const Fe=function(t,e){return function(n){return t(e(n))}};const De=Fe(Object.keys,Object);var Be=Object.prototype.hasOwnProperty;const Pe=function(t){if(!Oe(t))return De(t);var e=[];for(var n in Object(t))Be.call(t,n)&&"constructor"!=n&&e.push(n);return e};const Ue=function(t){return null!=t&&Te(t.length)&&!ht(t)};const je=function(t){return Ue(t)?Me(t):Pe(t)};const Ge=function(t,e){return t&&oe(e,je(e),t)};const Ve=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var He=Object.prototype.hasOwnProperty;const ze=function(t){if(!ft(t))return Ve(t);var e=Oe(t),n=[];for(var i in t)("constructor"!=i||!e&&He.call(t,i))&&n.push(i);return n};const We=function(t){return Ue(t)?Me(t,!0):ze(t)};const Ke=function(t,e){return t&&oe(e,We(e),t)};var qe="object"==typeof exports&&exports&&!exports.nodeType&&exports,$e=qe&&"object"==typeof module&&module&&!module.nodeType&&module,Xe=$e&&$e.exports===qe?it.Buffer:void 0,Ze=Xe?Xe.allocUnsafe:void 0;const Ye=function(t,e){if(e)return t.slice();var n=t.length,i=Ze?Ze(n):new t.constructor(n);return t.copy(i),i};const Je=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e};const Qe=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var s=t[n];e(s,n,t)&&(o[r++]=s)}return o};const tn=function(){return[]};var en=Object.prototype.propertyIsEnumerable,nn=Object.getOwnPropertySymbols;const rn=nn?function(t){return null==t?[]:(t=Object(t),Qe(nn(t),(function(e){return en.call(t,e)})))}:tn;const on=function(t,e){return oe(t,rn(t),e)};const sn=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t};const xn=Fe(Object.getPrototypeOf,Object);const an=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)sn(e,rn(t)),t=xn(t);return e}:tn;const cn=function(t,e){return oe(t,an(t),e)};const ln=function(t,e,n){var i=e(t);return ge(t)?i:sn(i,n(t))};const un=function(t){return ln(t,je,rn)};const dn=function(t){return ln(t,We,an)};const gn=Lt(it,"DataView");const fn=Lt(it,"Promise");const hn=Lt(it,"Set");const mn=Lt(it,"WeakMap");var pn="[object Map]",bn="[object Promise]",En="[object Set]",_n="[object WeakMap]",Tn="[object DataView]",yn=Tt(gn),Cn=Tt(Nt),An=Tt(fn),kn=Tt(hn),In=Tt(mn),Rn=gt;(gn&&Rn(new gn(new ArrayBuffer(1)))!=Tn||Nt&&Rn(new Nt)!=pn||fn&&Rn(fn.resolve())!=bn||hn&&Rn(new hn)!=En||mn&&Rn(new mn)!=_n)&&(Rn=function(t){var e=gt(t),n="[object Object]"==e?t.constructor:void 0,i=n?Tt(n):"";if(i)switch(i){case yn:return Tn;case Cn:return pn;case An:return bn;case kn:return En;case In:return _n}return e});const vn=Rn;var Sn=Object.prototype.hasOwnProperty;const Ln=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Sn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const Nn=it.Uint8Array;const Mn=function(t){var e=new t.constructor(t.byteLength);return new Nn(e).set(new Nn(t)),e};const wn=function(t,e){var n=e?Mn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var On=/\w*$/;const Fn=function(t){var e=new t.constructor(t.source,On.exec(t));return e.lastIndex=t.lastIndex,e};var Dn=rt?rt.prototype:void 0,Bn=Dn?Dn.valueOf:void 0;const Pn=function(t){return Bn?Object(Bn.call(t)):{}};const Un=function(t,e){var n=e?Mn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};const jn=function(t,e,n){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return Mn(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return wn(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 Un(t,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return Fn(t);case"[object Symbol]":return Pn(t)}};var Gn=Object.create;const Vn=function(){function t(){}return function(e){if(!ft(e))return{};if(Gn)return Gn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const Hn=function(t){return"function"!=typeof t.constructor||Oe(t)?{}:Vn(xn(t))};const zn=function(t){return xe(t)&&"[object Map]"==vn(t)};var Wn=ve&&ve.isMap;const Kn=Wn?Ae(Wn):zn;const qn=function(t){return xe(t)&&"[object Set]"==vn(t)};var $n=ve&&ve.isSet;const Xn=$n?Ae($n):qn;var Zn="[object Arguments]",Yn="[object Function]",Jn="[object Object]",Qn={};Qn[Zn]=Qn["[object Array]"]=Qn["[object ArrayBuffer]"]=Qn["[object DataView]"]=Qn["[object Boolean]"]=Qn["[object Date]"]=Qn["[object Float32Array]"]=Qn["[object Float64Array]"]=Qn["[object Int8Array]"]=Qn["[object Int16Array]"]=Qn["[object Int32Array]"]=Qn["[object Map]"]=Qn["[object Number]"]=Qn[Jn]=Qn["[object RegExp]"]=Qn["[object Set]"]=Qn["[object String]"]=Qn["[object Symbol]"]=Qn["[object Uint8Array]"]=Qn["[object Uint8ClampedArray]"]=Qn["[object Uint16Array]"]=Qn["[object Uint32Array]"]=!0,Qn["[object Error]"]=Qn[Yn]=Qn["[object WeakMap]"]=!1;const ti=function t(e,n,i,r,o,s){var x,a=1&n,c=2&n,l=4&n;if(i&&(x=o?i(e,r,o,s):i(e)),void 0!==x)return x;if(!ft(e))return e;var u=ge(e);if(u){if(x=Ln(e),!a)return Je(e,x)}else{var d=vn(e),g=d==Yn||"[object GeneratorFunction]"==d;if(be(e))return Ye(e,a);if(d==Jn||d==Zn||g&&!o){if(x=c||g?{}:Hn(e),!a)return c?cn(e,Ke(x,e)):on(e,Ge(x,e))}else{if(!Qn[d])return o?e:{};x=jn(e,d,a)}}s||(s=new Qt);var f=s.get(e);if(f)return f;s.set(e,x),Xn(e)?e.forEach((function(r){x.add(t(r,n,i,r,e,s))})):Kn(e)&&e.forEach((function(r,o){x.set(o,t(r,n,i,o,e,s))}));var h=u?void 0:(l?c?dn:un:c?We:je)(e);return te(h||e,(function(r,o){h&&(r=e[o=r]),re(x,o,t(r,n,i,o,e,s))})),x};const ei=function(t){return ti(t,5)};const ni=function(t){return"symbol"==typeof t||xe(t)&&"[object Symbol]"==gt(t)};var ii=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ri=/^\w*$/;const oi=function(t,e){if(ge(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ni(t))||(ri.test(t)||!ii.test(t)||null!=e&&t in Object(e))};function si(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var s=t.apply(this,i);return n.cache=o.set(r,s)||o,s};return n.cache=new(si.Cache||Zt),n}si.Cache=Zt;const xi=si;var ai=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ci=/\\(\\)?/g;const li=function(t){var e=xi(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(ai,(function(t,n,i,r){e.push(i?r.replace(ci,"$1"):n||t)})),e}));const ui=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r};var di=rt?rt.prototype:void 0,gi=di?di.toString:void 0;const fi=function t(e){if("string"==typeof e)return e;if(ge(e))return ui(e,t)+"";if(ni(e))return gi?gi.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const hi=function(t){return null==t?"":fi(t)};const mi=function(t,e){return ge(t)?t:oi(t,e)?[t]:li(hi(t))};const pi=function(t){if("string"==typeof t||ni(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};const bi=function(t,e,n,i){if(!ft(t))return t;for(var r=-1,o=(e=mi(e,t)).length,s=o-1,x=t;null!=x&&++r<o;){var a=pi(e[r]),c=n;if("__proto__"===a||"constructor"===a||"prototype"===a)return t;if(r!=s){var l=x[a];void 0===(c=i?i(l,a,x):void 0)&&(c=ft(l)?l:_e(e[r+1])?[]:{})}re(x,a,c),x=x[a]}return t};const Ei=function(t,e,n){return null==t?t:bi(t,e,n)};const _i=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Ti=function(t){return this.__data__.has(t)};function yi(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Zt;++e<n;)this.add(t[e])}yi.prototype.add=yi.prototype.push=_i,yi.prototype.has=Ti;const Ci=yi;const Ai=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1};const ki=function(t,e){return t.has(e)};const Ii=function(t,e,n,i,r,o){var s=1&n,x=t.length,a=e.length;if(x!=a&&!(s&&a>x))return!1;var c=o.get(t),l=o.get(e);if(c&&l)return c==e&&l==t;var u=-1,d=!0,g=2&n?new Ci:void 0;for(o.set(t,e),o.set(e,t);++u<x;){var f=t[u],h=e[u];if(i)var m=s?i(h,f,u,e,t,o):i(f,h,u,t,e,o);if(void 0!==m){if(m)continue;d=!1;break}if(g){if(!Ai(e,(function(t,e){if(!ki(g,e)&&(f===t||r(f,t,n,i,o)))return g.push(e)}))){d=!1;break}}else if(f!==h&&!r(f,h,n,i,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const Ri=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n};const vi=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var Si=rt?rt.prototype:void 0,Li=Si?Si.valueOf:void 0;const Ni=function(t,e,n,i,r,o,s){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||!o(new Nn(t),new Nn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return V(+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 x=Ri;case"[object Set]":var a=1&i;if(x||(x=vi),t.size!=e.size&&!a)return!1;var c=s.get(t);if(c)return c==e;i|=2,s.set(t,e);var l=Ii(x(t),x(e),i,r,o,s);return s.delete(t),l;case"[object Symbol]":if(Li)return Li.call(t)==Li.call(e)}return!1};var Mi=Object.prototype.hasOwnProperty;const wi=function(t,e,n,i,r,o){var s=1&n,x=un(t),a=x.length;if(a!=un(e).length&&!s)return!1;for(var c=a;c--;){var l=x[c];if(!(s?l in e:Mi.call(e,l)))return!1}var u=o.get(t),d=o.get(e);if(u&&d)return u==e&&d==t;var g=!0;o.set(t,e),o.set(e,t);for(var f=s;++c<a;){var h=t[l=x[c]],m=e[l];if(i)var p=s?i(m,h,l,e,t,o):i(h,m,l,t,e,o);if(!(void 0===p?h===m||r(h,m,n,i,o):p)){g=!1;break}f||(f="constructor"==l)}if(g&&!f){var b=t.constructor,E=e.constructor;b==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof E&&E instanceof E||(g=!1)}return o.delete(t),o.delete(e),g};var Oi="[object Arguments]",Fi="[object Array]",Di="[object Object]",Bi=Object.prototype.hasOwnProperty;const Pi=function(t,e,n,i,r,o){var s=ge(t),x=ge(e),a=s?Fi:vn(t),c=x?Fi:vn(e),l=(a=a==Oi?Di:a)==Di,u=(c=c==Oi?Di:c)==Di,d=a==c;if(d&&be(t)){if(!be(e))return!1;s=!0,l=!1}if(d&&!l)return o||(o=new Qt),s||Le(t)?Ii(t,e,n,i,r,o):Ni(t,e,a,n,i,r,o);if(!(1&n)){var g=l&&Bi.call(t,"__wrapped__"),f=u&&Bi.call(e,"__wrapped__");if(g||f){var h=g?t.value():t,m=f?e.value():e;return o||(o=new Qt),r(h,m,n,i,o)}}return!!d&&(o||(o=new Qt),wi(t,e,n,i,r,o))};const Ui=function t(e,n,i,r,o){return e===n||(null==e||null==n||!xe(e)&&!xe(n)?e!=e&&n!=n:Pi(e,n,i,r,t,o))};const ji=function(t,e){return Ui(t,e)};const Gi=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Vi=function(t,e){for(var n=0,i=(e=mi(e,t)).length;null!=t&&n<i;)t=t[pi(e[n++])];return n&&n==i?t:void 0};const Hi=function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(r);++i<r;)o[i]=t[i+e];return o};const zi=function(t,e){return e.length<2?t:Vi(t,Hi(e,0,-1))};const Wi=function(t,e){return e=mi(e,t),null==(t=zi(t,e))||delete t[pi(Gi(e))]};const Ki=function(t,e){return null==t||Wi(t,e)},qi=["discard","delete","commentThread","getItems","getMultiRangeId","createdAt","getAllAdjacentSuggestions","split","isIntersecting","reduce","head","authoredAt","map","accept","previous","isInContent","getMarkerNames","author","removeAttribute","get","getRanges","removeMarkers","_onDiscard","getFirstMarker","type","end","size","onDiscard","creator","removeMarker","change","setAttribute","onAttributesChange","_model","_isDataLoaded","add","@external","getContainedElement","getMarkers","nodeBefore","isIntersectingWithRange","isMultiRange","clear","attributes","addRange","push","getRange","hasComments","set","from","addMarkerName","_markerNames","subType","_onAccept","_onAttributesChange","next","getFirstRange","length","markers","decorate","data","start"];var $i,Xi;$i=qi,Xi=164,function(t){for(;--t;)$i.push($i.shift())}(++Xi);const Zi=function(t,e){return qi[t-=0]};class Yi extends((0,e.ObservableMixin)()){constructor(t,e){super(),this[Zi("0x38")]=!1,this.id=e.id,this[Zi("0x2e")]=e[Zi("0x2e")],this[Zi("0xc")]=e[Zi("0xc")]||null,this.author=e[Zi("0x27")],this[Zi("0x32")]=e[Zi("0x32")]||e.author,this.isExternal=Boolean(e[Zi("0x3")]&&e[Zi("0x3")][Zi("0x3a")]),this[Zi("0x14")]=null,this[Zi("0x37")]=t,this[Zi("0xd")]=e.onAccept,this[Zi("0x2c")]=e[Zi("0x31")],this[Zi("0xe")]=e[Zi("0x36")],this._markerNames=new Set,this[Zi("0x1b")]=null,this.set(Zi("0x21"),null),this[Zi("0x8")]("attributes",e[Zi("0x3")]||{}),this[Zi("0x8")](Zi("0x24"),null),this[Zi("0x8")](Zi("0xf"),null),this[Zi("0x8")](Zi("0x18"),null),this.set("_saved",!1),this.decorate(Zi("0x23")),this[Zi("0x13")](Zi("0x16"))}get[Zi("0x20")](){let t=this;for(;t[Zi("0x24")];)t=t.previous;return t}get hasComments(){return!!this.commentThread&&this[Zi("0x18")].length>0}get[Zi("0x1")](){return 0!=this._markerNames[Zi("0x30")]&&6==Array[Zi("0x9")](this[Zi("0xb")])[0][Zi("0x1d")](":")[Zi("0x11")]}get[Zi("0x25")](){return null!==this[Zi("0x2d")]()}addMarkerName(t){this[Zi("0xb")][Zi("0x39")](t)}[Zi("0x26")](){return Array[Zi("0x9")](this[Zi("0xb")])}[Zi("0x3c")](){return this.getMarkerNames()[Zi("0x22")]((t=>this[Zi("0x37")][Zi("0x12")][Zi("0x29")](t))).filter((t=>t))}[Zi("0x2d")](){return this[Zi("0x3c")]()[0]||null}[Zi("0x2b")](){this[Zi("0x37")][Zi("0x34")]((t=>{for(const e of this[Zi("0x3c")]())t.removeMarker(e)})),this[Zi("0xb")][Zi("0x2")]()}removeMarker(t){this[Zi("0x37")][Zi("0x34")]((e=>{e[Zi("0x33")](t)})),this._markerNames[Zi("0x17")](t)}[Zi("0x4")](t){const e="suggestion:"+this[Zi("0x2e")]+":"+this[Zi("0xc")]+":"+this.id+":"+this[Zi("0x32")].id+":"+Yi[Zi("0x1a")]();this[Zi("0xa")](e),this._model[Zi("0x34")]((n=>{n.addMarker(e,{range:t,usingOperation:!0,affectsData:!0})}))}[Zi("0x0")](t){for(const e of this[Zi("0x2a")]())if(e[Zi("0x1e")](t))return!0;return!1}getRanges(){return this[Zi("0x3c")]()[Zi("0x22")]((t=>t[Zi("0x6")]()))}[Zi("0x19")](){return this[Zi("0x2a")]()[Zi("0x1f")](((t,e)=>[...t,...e[Zi("0x19")]()]),[])}[Zi("0x10")](){var t;return(null===(t=this[Zi("0x2d")]())||void 0===t?void 0:t[Zi("0x6")]())||null}[Zi("0x3b")](){const t=this[Zi("0x2a")]();if(1!=t[Zi("0x11")])return null;const e=t[0],n=e[Zi("0x15")].nodeAfter,i=e[Zi("0x2f")][Zi("0x3d")];return n instanceof s.Element?n!=i?null:n:null}[Zi("0x23")](){this._onAccept(this[Zi("0x2a")](),this.data,this.attributes),this[Zi("0x2b")]()}[Zi("0x16")](){this[Zi("0x2c")](this[Zi("0x2a")](),this.data,this[Zi("0x3")]),this[Zi("0x2b")]()}[Zi("0x1c")](){const t=[];let e=this[Zi("0x20")];for(;e;)t[Zi("0x5")](e),e=e[Zi("0xf")];return t}[Zi("0x35")](t,e){const n=ei(this.attributes);Ei(n,t,e),ji(n,this[Zi("0x3")])||(this[Zi("0x3")]=n,this[Zi("0xe")](n))}[Zi("0x28")](t){const e=ei(this[Zi("0x3")]);Ki(e,t),ji(e,this[Zi("0x3")])||(this.attributes=e,this._onAttributesChange(this[Zi("0x3")]))}toJSON(){return{id:this.id,type:this[Zi("0xc")]?this[Zi("0x2e")]+":"+this[Zi("0xc")]:this.type,authorId:this[Zi("0x32")].id,createdAt:this.createdAt,hasComments:this[Zi("0x7")],data:this[Zi("0x14")],attributes:this[Zi("0x3")]}}static[Zi("0x1a")](){return(0,e.uid)().substr(1,5)}}function Ji(t,e,n){const i=t.t;switch(e){case"Track changes":return i("Track changes");case"Accept suggestion":return i("Accept suggestion");case"Discard suggestion":return i("Discard suggestion");case"Accept all suggestions":return i("Accept all suggestions");case"Accept all selected suggestions":return i("Accept all selected suggestions");case"Discard all suggestions":return i("Discard all suggestions");case"Discard all selected suggestions":return i("Discard all selected suggestions");case"*Reset font size*":return i("*Reset font size*");case"*Reset font family*":return i("*Reset font family*");case"*Reset font color*":return i("*Reset font color*");case"*Reset font background color*":return i("*Reset font background color*");case"*Remove image text alternative*":return i("*Remove image text alternative*");case"*Reset image width*":return i("*Reset image width*");case"*Remove link*":return i("*Remove link*");case"*Check item*":return i("*Check item*");case"*Uncheck item*":return i("*Uncheck item*");case"*Remove all formatting*":return i("*Remove all formatting*");case"*Replace table cells*":return i("*Replace table cells*");case"*Merge cells*":return i("*Merge cells*");case"*Split cell:* vertically":return i("*Split cell:* vertically");case"*Split cell:* horizontally":return i("*Split cell:* horizontally");case"*Indent:* %0":return i("*Indent:* %0",n);case"*Outdent:* %0":return i("*Outdent:* %0",n);case"*Change to:* %0":return i("*Change to:* %0",n);case"*Insert:* %0":return i("*Insert:* %0",n);case"*Format:* %0":return i("*Format:* %0",n);case"*Format:* change table properties":return i("*Format:* change table properties");case"*Format:* change table cell properties":return i("*Format:* change table cell properties");case"*Format:* insert into %0":return i("*Format:* insert into %0",n);case"*Format:* remove from %0":return i("*Format:* remove from %0",n);case"*Replace image URL*":return i("*Replace image URL*");case"*Format:* resize table":return i("*Format:* resize table");case"*Format:* set order to reversed":return i("*Format:* set order to reversed");case"*Format:* set order to regular":return i("*Format:* set order to regular");case"*Format:* set start index to %0":return i("*Format:* set start index to %0",n);case"*Change %0 content*":return i("*Change %0 content*",n);case"*Remove:* %0":return i("*Remove:* %0",n);case"*Merge:* %0":return i("*Merge:* %0",n);case"*Split:* %0":return i("*Split:* %0",n);case"*Remove format:* %0":return i("*Remove format:* %0",n);case"*Set font size:* %0":return i("*Set font size:* %0",n);case"*Set font family:* %0":return i("*Set font family:* %0",n);case"*Set format to:* %0":return i("*Set format to:* %0",n);case"*Set font color:* %0":return i("*Set font color:* %0",n);case"*Set font background color:* %0":return i("*Set font background color:* %0",n);case"*Set format:* %0":return i("*Set format:* %0",n);case"*Set image text alternative:* %0":return i("*Set image text alternative:* %0",n);case"*Set image width:* %0":return i("*Set image width:* %0",n);case"*Set link:* %0":return i("*Set link:* %0",n);case"*Set highlight:* %0":return i("*Set highlight:* %0",n);case"*Remove highlight*":return i("*Remove highlight*");case"FORMAT_HIGHLIGHT":return i({string:"highlight",id:"FORMAT_HIGHLIGHT"});case"FORMAT_RESTRICTED_ENABLED":return i({string:"*Enable in restricted editing mode*",id:"FORMAT_RESTRICTED_ENABLED"});case"FORMAT_RESTRICTED_DISABLED":return i({string:"*Disable in restricted editing mode*",id:"FORMAT_RESTRICTED_DISABLED"});case"ELEMENT_TABLE":return i({string:"table",plural:"%0 tables",id:"ELEMENT_TABLE"},n);case"ELEMENT_PARAGRAPH":return i({string:"paragraph",plural:"%0 paragraphs",id:"ELEMENT_PARAGRAPH"},n);case"ELEMENT_PAGE_BREAK":return i({string:"page break",plural:"%0 page breaks",id:"ELEMENT_PAGE_BREAK"},n);case"ELEMENT_MEDIA":return i({string:"media item",plural:"%0 media items",id:"ELEMENT_MEDIA"},n);case"ELEMENT_IMAGE":return i({string:"image",plural:"%0 images",id:"ELEMENT_IMAGE"},n);case"ELEMENT_INLINE_IMAGE":return i({string:"image",plural:"%0 images",id:"ELEMENT_INLINE_IMAGE"},n);case"FORMAT_SIDE_IMAGE":return i({string:"side image",id:"FORMAT_SIDE_IMAGE"});case"ELEMENT_CAPTION":return i({string:"caption",id:"ELEMENT_CAPTION"});case"ELEMENT_HORIZONTAL_LINE":return i({string:"horizontal line",plural:"%0 horizontal lines",id:"ELEMENT_HORIZONTAL_LINE"},n);case"ELEMENT_HTML_EMBED":return i({string:"HTML embed",plural:"%0 HTML embeds",id:"ELEMENT_HTML_EMBED"},n);case"ELEMENT_HEADING":return i({string:"heading (level %1)",plural:"%0 headings (level %1)",id:"ELEMENT_HEADING"},n);case"ELEMENT_HEADING_CUSTOM":return i({string:"heading (%1)",plural:"%0 headings (%1)",id:"ELEMENT_HEADING_CUSTOM"},n);case"ELEMENT_LIST_ITEM":return i({string:"list item",plural:"%0 list items",id:"ELEMENT_LIST_ITEM"},n);case"ELEMENT_BULLETED_LIST":return i({string:"bulleted list",id:"ELEMENT_BULLETED_LIST"});case"ELEMENT_BULLETED_LIST_DEFAULT":return i({string:"bulleted list (default)",id:"ELEMENT_BULLETED_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST_CIRCLE":return i({string:"bulleted list (circle)",id:"ELEMENT_BULLETED_LIST_CIRCLE"});case"ELEMENT_BULLETED_LIST_DISC":return i({string:"bulleted list (disc)",id:"ELEMENT_BULLETED_LIST_DISC"});case"ELEMENT_BULLETED_LIST_SQUARE":return i({string:"bulleted list (square)",id:"ELEMENT_BULLETED_LIST_SQUARE"});case"ELEMENT_NUMBERED_LIST_DEFAULT":return i({string:"numbered list (default)",id:"ELEMENT_NUMBERED_LIST_DEFAULT"});case"ELEMENT_NUMBERED_LIST":return i({string:"numbered list",id:"ELEMENT_NUMBERED_LIST"});case"ELEMENT_NUMBERED_LIST_DECIMAL":return i({string:"numbered list (decimal)",id:"ELEMENT_NUMBERED_LIST_DECIMAL"});case"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO":return i({string:"numbered list (decimal with leading zero)",id:"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"});case"ELEMENT_NUMBERED_LIST_LOWER_LATIN":return i({string:"numbered list (lower-latin)",id:"ELEMENT_NUMBERED_LIST_LOWER_LATIN"});case"ELEMENT_NUMBERED_LIST_LOWER_ROMAN":return i({string:"numbered list (lower-roman)",id:"ELEMENT_NUMBERED_LIST_LOWER_ROMAN"});case"ELEMENT_NUMBERED_LIST_UPPER_LATIN":return i({string:"numbered list (upper-latin)",id:"ELEMENT_NUMBERED_LIST_UPPER_LATIN"});case"ELEMENT_NUMBERED_LIST_UPPER_ROMAN":return i({string:"numbered list (upper-roman)",id:"ELEMENT_NUMBERED_LIST_UPPER_ROMAN"});case"ELEMENT_TODO_LIST":return i({string:"to-do list",id:"ELEMENT_TODO_LIST"});case"REPLACE_TEXT":return i({string:"*Replace:* %0 *with* %1",id:"REPLACE_TEXT"},n);case"ELEMENT_SPACE":return i({string:"space",plural:"%0 spaces",id:"ELEMENT_SPACE"},n);case"FORMAT_ALIGNMENT":return i({string:"alignment",id:"FORMAT_ALIGNMENT"});case"FORMAT_ALIGN_TO_LEFT":return i({string:"align to left",id:"FORMAT_ALIGN_TO_LEFT"});case"FORMAT_ALIGN_TO_RIGHT":return i({string:"align to right",id:"FORMAT_ALIGN_TO_RIGHT"});case"FORMAT_ALIGN_TO_CENTER":return i({string:"align to center",id:"FORMAT_ALIGN_TO_CENTER"});case"FORMAT_JUSTIFY_TEXT":return i({string:"justify",id:"FORMAT_JUSTIFY_TEXT"});case"FORMAT_BOLD":return i({string:"bold",id:"FORMAT_BOLD"});case"FORMAT_ITALIC":return i({string:"italic",id:"FORMAT_ITALIC"});case"FORMAT_UNDERLINE":return i({string:"underline",id:"FORMAT_UNDERLINE"});case"FORMAT_CODE":return i({string:"code",id:"FORMAT_CODE"});case"FORMAT_STRIKETHROUGH":return i({string:"strikethrough",id:"FORMAT_STRIKETHROUGH"});case"FORMAT_SUBSCRIPT":return i({string:"subscript",id:"FORMAT_SUBSCRIPT"});case"FORMAT_SUPERSCRIPT":return i({string:"superscript",id:"FORMAT_SUPERSCRIPT"});case"ELEMENT_BLOCK_QUOTE":return i({string:"block quote",id:"ELEMENT_BLOCK_QUOTE"});case"ELEMENT_CODE_BLOCK":return i({string:"code block",plural:"%0 code blocks",id:"ELEMENT_CODE_BLOCK"},n);case"FORMAT_HEADER_COLUMN":return i({string:"header column",id:"FORMAT_HEADER_COLUMN"});case"FORMAT_REGULAR_COLUMN":return i({string:"regular column",id:"FORMAT_REGULAR_COLUMN"});case"FORMAT_HEADER_ROW":return i({string:"header row",id:"FORMAT_HEADER_ROW"});case"FORMAT_REGULAR_ROW":return i({string:"regular row",id:"FORMAT_REGULAR_ROW"});case"FORMAT_INDENT":return i({string:"indent",id:"FORMAT_INDENT"});case"FORMAT_LIST_REVERSED":return i({string:"list reversed",id:"FORMAT_LIST_REVERSED"});case"FORMAT_LIST_START":return i({string:"list start",id:"FORMAT_LIST_START"});case"FORMAT_FONT_SIZE":return i({string:"font size",id:"FORMAT_FONT_SIZE"});case"FORMAT_FONT_FAMILY":return i({string:"font family",id:"FORMAT_FONT_FAMILY"});case"FORMAT_FONT_COLOR":return i({string:"font color",id:"FORMAT_FONT_COLOR"});case"FORMAT_FONT_BACKGROUND":return i({string:"font background color",id:"FORMAT_FONT_BACKGROUND"});case"FORMAT_IMAGE_SIZE":return i({string:"image size",id:"FORMAT_IMAGE_SIZE"});case"FORMAT_STYLE":return i({string:"style",id:"FORMAT_STYLE"});case"PENDING_ACTION_SUGGESTION":return i({string:"Unsaved change in suggestion.",id:"PENDING_ACTION_SUGGESTION"});case"ELEMENT_TABLE_WITH_TEXT":return i({string:"table *with text* %0",id:"ELEMENT_TABLE_WITH_TEXT"},n);case"ELEMENT_TABLE_ROW":return i({string:"table row",plural:"%0 table rows",id:"ELEMENT_TABLE_ROW"},n);case"ELEMENT_TABLE_ROW_WITH_TEXT":return i({string:"table row *with text* %1",plural:"%0 table rows *with text* %1",id:"ELEMENT_TABLE_ROW_WITH_TEXT"},n);case"ELEMENT_TABLE_COLUMN":return i({string:"table column",plural:"%0 table columns",id:"ELEMENT_TABLE_COLUMN"},n);case"ELEMENT_TABLE_COLUMN_WITH_TEXT":return i({string:"table column *with text* %1",plural:"%0 table columns *with text* %1",id:"ELEMENT_TABLE_COLUMN_WITH_TEXT"},n);case"ELEMENT_TABLE_OF_CONTENTS":return i({string:"table of contents",plural:"%0 tables of contents",id:"ELEMENT_TABLE_OF_CONTENTS"},n);case"ELEMENT_LINE_BREAK":return i({id:"ELEMENT_LINE_BREAK",string:"line break",plural:"%0 line breaks"},n);case"ELEMENT_TITLE":return i({id:"ELEMENT_TITLE",string:"title"});case"EXTERNAL_SUGGESTION":return i({id:"EXTERNAL_SUGGESTION",string:"This suggestion comes from an external source."});case"EXTERNAL_IMPORT_WORD_SUGGESTION":return i({string:"This suggestion comes from an imported Word file.",id:"EXTERNAL_IMPORT_WORD_SUGGESTION"});case"EXTERNAL_AVATAR":return i({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return i({string:"Displayed author name comes from a Word document imported by %0",id:"EXTERNAL_IMPORT_WORD_AVATAR"},n);case"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT":return i({string:"Entering insertion suggestion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT":return i({string:"Leaving insertion suggestion.",id:"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT":return i({string:"Entering deletion suggestion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT":return i({string:"Leaving deletion suggestion.",id:"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT":return i({string:"Entering formatting suggestion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return i({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});default:return e}}const Qi=["removeFormat","pop","EmptyContainer","map","addEmptyContainer","*Set format:* %0","start","$1 $2","insertion","isInContent","_addDescriptionItems","isEqual","skip","newValue","_attributeLabels","_schema","key","length","type","_customCallbacks","*Change to:* %0","getDescriptions","push","nodeAfter","elementEnd","quantity","_locale","set","Container","*Merge:* %0","*Insert:* %0","normal","$text","indexOf","registerDescriptionCallback","subType","data","_itemLabels","isEmpty","_handleInsertRemoveSuggestionDescription","match","getWalker","item","addFormat","deletion","*Remove:* %0","removeObject","has","_handleRenameSuggestionDescription","join","format","$textProxy","getFirstRange","function","nextSibling","getItemLabel","text","_itemLabelsCallbacks","element","elementStart","REPLACE_TEXT","checkChild","replace","Object","previousSibling","softBreak","addContainer","*Remove format:* %0","end","get","isObject","name","remove","add","_resolveDescriptionItems"];var tr,er;tr=Qi,er=210,function(t){for(;--t;)tr.push(tr.shift())}(++er);const nr=function(t,e){return Qi[t-=0]};class ir{constructor(t,e){this[nr("0x22")]=[],this[nr("0x34")]=new Map,this[nr("0x48")]=[],this[nr("0x1d")]=new Map,this[nr("0x1e")]=t,this[nr("0x29")]=e}[nr("0x24")](t){const e=[],n=new Set,i=new Set;for(let r=0;r<t.length;r++){const o=t[r];if(!o[nr("0x18")])continue;const s=this._handleCustomCallbackDescription(o);if(s){if(null!=o.subType){if(n[nr("0x3e")](o[nr("0x32")]))continue;n[nr("0xd")](o[nr("0x32")])}e[nr("0x25")](s)}else if("attribute"!=o[nr("0x21")])nr("0x17")!=o[nr("0x21")]&&nr("0x3b")!=o[nr("0x21")]||this[nr("0x36")](e,o,t[r+1]);else{const t=o[nr("0x33")].key;if(i[nr("0x3e")](t))continue;i[nr("0xd")](o[nr("0x33")][nr("0x1f")]),t==Cc?this[nr("0x3f")](e,o):this._handleAttributeSuggestionDescription(e,o)}}return this[nr("0xe")](e)}[nr("0x31")](t){this[nr("0x22")][nr("0x25")](t)}registerElementLabel(t,n,i=e.priorities[nr("0x2e")]){nr("0x44")==typeof t?(0,e.insertToPriorityArray)(this[nr("0x48")],{matchingCallback:t,label:n,priority:i}):this._itemLabels[nr("0x2a")](t,n)}registerAttributeLabel(t,e){this[nr("0x1d")].set(t,e)}getItemLabel(t,e=1){let n;for(const e of this[nr("0x48")])if(e.matchingCallback(t)){n=e.label;break}return n||(n=this._itemLabels[nr("0x9")](t.name)),n?n(e):1!==e?e+" "+t.name+"s":""+t[nr("0xb")]}[nr("0x19")](t,e){const n=e.getFirstRange()[nr("0x38")](),i="insertion"==e[nr("0x21")]?nr("0xd"):nr("0xc");for(const e of n){const r=e[nr("0x39")],o=t[t[nr("0x20")]-1];if(r.is(nr("0x42")))o&&o[nr("0x21")][nr("0x30")]("Container")>-1&&t[nr("0x10")](),o&&nr("0x47")==o.type?o[i]+=r[nr("0x33")]:t[nr("0x25")]({type:nr("0x47"),add:nr("0xd")==i?r.data:"",remove:"remove"==i?r[nr("0x33")]:""});else if(this[nr("0x1e")][nr("0xa")](r)){const s=r;if(o&&o.type[nr("0x30")](nr("0x2b"))>-1&&t.pop(),"elementEnd"==e.type)continue;o&&o[nr("0x21")]==i+nr("0x3")&&o[nr("0x49")][nr("0xb")]==s[nr("0xb")]?o[nr("0x28")]++:t[nr("0x25")]({type:i+nr("0x3"),element:s,quantity:1}),n[nr("0x1b")]((t=>!(nr("0x27")==t[nr("0x21")]&&t[nr("0x39")]==r)))}else if(this._schema[nr("0x1")](r,nr("0x2f"))||r.is("element",nr("0x5"))){const n=r;if(nr("0xd")==i&&nr("0x4a")==e[nr("0x21")]||nr("0xc")==i&&nr("0x27")==e[nr("0x21")])continue;if(o&&-1==o[nr("0x21")][nr("0x30")]("Container")){nr("0x47")==o[nr("0x21")]&&(o[i]+="\n");continue}let s;if(s=nr("0xd")==i?n[nr("0x45")]&&!this[nr("0x1e")][nr("0xa")](n[nr("0x45")])?n[nr("0x45")]:null:n[nr("0x4")]&&!this[nr("0x1e")][nr("0xa")](n.previousSibling)?n.previousSibling:null,n[nr("0x35")]||s&&s[nr("0x35")]){const e=s&&s.isEmpty?s:n;o&&o[nr("0x21")]==i+nr("0x11")&&o[nr("0x49")][nr("0xb")]==e[nr("0xb")]?o[nr("0x28")]++:t[nr("0x25")]({type:i+nr("0x11"),element:e,quantity:1})}else t.push({type:i+nr("0x2b"),element:n})}}}[nr("0xe")](t){const e=this[nr("0x29")],n=[],i=[],r=[];for(const o of t)switch(o[nr("0x21")]){case nr("0x47"):if(o[nr("0xd")]=o[nr("0xd")][nr("0x2")](/(\S)\u000A+(\S)/g,nr("0x16"))[nr("0x2")](/\u000A/g,""),o.remove=o.remove[nr("0x2")](/(\S)\u000A+(\S)/g,nr("0x16")).replace(/\u000A/g,""),""!=o.add&&""!=o[nr("0xc")]){n.push({type:nr("0x2"),content:Ji(e,nr("0x0"),['"'+o[nr("0xc")]+'"','"'+o[nr("0xd")]+'"'])});continue}if(null!=o.add.match(/^ +$/)){n.push({type:nr("0x17"),content:Ji(e,"*Insert:* %0",Ji(e,"ELEMENT_SPACE",o[nr("0xd")][nr("0x20")]))});continue}if(null!=o[nr("0xc")][nr("0x37")](/^ +$/)){n[nr("0x25")]({type:"deletion",content:Ji(e,nr("0x3c"),Ji(e,"ELEMENT_SPACE",o[nr("0xc")].length))});continue}if(""!=o.add){n[nr("0x25")]({type:nr("0x17"),content:Ji(e,nr("0x2d"),'"'+o[nr("0xd")]+'"')});continue}n[nr("0x25")]({type:nr("0x3b"),content:Ji(e,"*Remove:* %0",'"'+o[nr("0xc")]+'"')});continue;case nr("0x13"):case"addObject":n[nr("0x25")]({type:nr("0x17"),content:Ji(e,nr("0x2d"),this[nr("0x46")](o.element,o[nr("0x28")]))});continue;case"removeEmptyContainer":case nr("0x3d"):n[nr("0x25")]({type:nr("0x3b"),content:Ji(e,nr("0x3c"),this[nr("0x46")](o[nr("0x49")],o[nr("0x28")]))});continue;case nr("0x6"):n[nr("0x25")]({type:nr("0x17"),content:Ji(e,"*Split:* %0",this[nr("0x46")](o.element,o.quantity))});continue;case"removeContainer":n[nr("0x25")]({type:nr("0x3b"),content:Ji(e,nr("0x2c"),this[nr("0x46")](o[nr("0x49")],o[nr("0x28")]))});continue;case nr("0x3a"):i[nr("0x25")](o[nr("0x1f")]);continue;case nr("0xf"):r[nr("0x25")](o[nr("0x1f")]);continue;default:n[nr("0x25")](o)}if(i[nr("0x20")]){const t=i[nr("0x12")]((t=>this[nr("0x1d")][nr("0x3e")](t)?this._attributeLabels[nr("0x9")](t):t))[nr("0x40")](", ");n[nr("0x25")]({type:nr("0x41"),content:Ji(this[nr("0x29")],nr("0x14"),t)})}if(r.length){const t=r.map((t=>this[nr("0x1d")][nr("0x3e")](t)?this[nr("0x1d")][nr("0x9")](t):t))[nr("0x40")](", ");n[nr("0x25")]({type:nr("0x41"),content:Ji(this[nr("0x29")],nr("0x7"),t)})}return n}_handleCustomCallbackDescription(t){for(const e of this[nr("0x22")]){const n=e(t);if(n&&nr("0x21")in n)return n}}_handleAttributeSuggestionDescription(t,e){const n=e.data,i=void 0===n[nr("0x1c")]?nr("0xf"):"addFormat";t[nr("0x25")]({type:i,key:n[nr("0x1f")]})}[nr("0x3f")](t,e){t[nr("0x25")]({type:nr("0x41"),content:Ji(this[nr("0x29")],nr("0x23"),this[nr("0x46")](e[nr("0x43")]()[nr("0x15")][nr("0x26")],1))})}[nr("0x36")](t,e,n){if(this[nr("0x19")](t,e),n&&n[nr("0x43")]()&&!e[nr("0x43")]()[nr("0x8")][nr("0x1a")](n[nr("0x43")]()[nr("0x15")])){const n=t[t[nr("0x20")]-1],i="insertion"==e[nr("0x21")]?nr("0xd"):nr("0xc");n&&"text"==n[nr("0x21")]&&(n[i]+="\n")}}}const rr=["editor","commands","showAIAssistant","get","plugins"];var or,sr;or=rr,sr=307,function(t){for(;--t;)or.push(or.shift())}(++sr);const xr=function(t,e){return rr[t-=0]};class ar extends t.Plugin{afterInit(){const t=this[xr("0x3")],e=t[xr("0x2")][xr("0x1")]("TrackChangesEditing");t[xr("0x4")][xr("0x1")](xr("0x0"))&&e.enableCommand("showAIAssistant")}}const cr=["FORMAT_ALIGN_TO_LEFT","alignment","TrackChangesEditing","FORMAT_JUSTIFY_TEXT","format","type","center","registerDescriptionCallback","*Format:* %0","has","commandName","FORMAT_ALIGN_TO_RIGHT","registerAttributeLabel","FORMAT_ALIGNMENT","locale","_enableDefaultAttributesIntegration","left","justify","plugins","value","get","FORMAT_ALIGN_TO_CENTER","editor","_registerLegacyDescription","afterInit"];var lr,ur;lr=cr,ur=475,function(t){for(;--t;)lr.push(lr.shift())}(++ur);const dr=function(t,e){return cr[t-=0]};class gr extends t.Plugin{[dr("0x18")](){const t=this[dr("0x16")],e=t.locale;if(!t[dr("0x12")][dr("0x9")]("AlignmentEditing"))return;const n=t[dr("0x12")][dr("0x14")](dr("0x2"));n[dr("0xf")](dr("0x1"),[],[dr("0x1")]),n._descriptionFactory[dr("0xc")](dr("0x1"),Ji(e,dr("0xd"))),this._registerLegacyDescription()}[dr("0x17")](){const t=this[dr("0x16")],e=t[dr("0xe")];t[dr("0x12")][dr("0x14")](dr("0x2"))._descriptionFactory[dr("0x7")]((t=>{if("formatBlock"!=t[dr("0x5")])return;const{data:n}=t;if(n&&"alignment"==n[dr("0xa")]){const t=n.commandParams[0][dr("0x13")];return{type:dr("0x4"),content:Ji(e,dr("0x8"),function(t){switch(t){case dr("0x10"):return Ji(e,dr("0x0"));case"right":return Ji(e,dr("0xb"));case dr("0x6"):return Ji(e,dr("0x15"));case dr("0x11"):return Ji(e,dr("0x3"))}}(t))}}}))}}const fr=["editor","superscript","strikethrough","plugins","_descriptionFactory","toLowerCase","FORMAT_BOLD","SuperscriptEditing","FORMAT_SUBSCRIPT","underline","CodeEditing","StrikethroughEditing","FORMAT_STRIKETHROUGH","forceValue","subscript","SubscriptEditing","code","ItalicEditing","locale","slice","*Format:* %0","_registerLegacyDescription","toUpperCase","FORMAT_","registerDescriptionCallback","UnderlineEditing","bold","commandName","_enableDefaultAttributesIntegration","italic","FORMAT_CODE","FORMAT_SUPERSCRIPT","commandParams","TrackChangesEditing","FORMAT_UNDERLINE","type"];var hr,mr;hr=fr,mr=139,function(t){for(;--t;)hr.push(hr.shift())}(++mr);const pr=function(t,e){return fr[t-=0]},br=["BoldEditing",pr("0x16"),pr("0x1e"),pr("0xf"),pr("0x10"),pr("0x14"),pr("0xc")];class Er extends t.Plugin{afterInit(){const t=this.editor,e=t.plugins.get("TrackChangesEditing"),n=t.locale;for(const i of br){if(!t[pr("0x8")].has(i))continue;const r=i[pr("0x18")](0,-7)[pr("0xa")](),o=pr("0x1c")+r[pr("0x1b")]();e[pr("0x21")](r,[r]),e[pr("0x9")].registerAttributeLabel(r,Ji(n,o))}this._registerLegacyDescription()}[pr("0x1a")](){const t=this[pr("0x5")],e=t[pr("0x17")],n=t.plugins.get(pr("0x2"));function i(t,i){n._descriptionFactory[pr("0x1d")]((n=>{if("formatInline"!=n[pr("0x4")])return;const{data:r}=n;return r&&r[pr("0x20")]===t?r[pr("0x1")][0][pr("0x12")]?{type:"format",content:Ji(e,pr("0x19"),i)}:{type:"format",content:Ji(e,"*Remove format:* %0",i)}:void 0}))}i(pr("0x1f"),Ji(e,pr("0xb"))),i(pr("0x22"),Ji(e,"FORMAT_ITALIC")),i(pr("0xe"),Ji(e,pr("0x3"))),i(pr("0x15"),Ji(e,pr("0x23"))),i(pr("0x7"),Ji(e,pr("0x11"))),i(pr("0x13"),Ji(e,pr("0xd"))),i(pr("0x6"),Ji(e,pr("0x0")))}}const _r=["commandName","value","commandParams","locale","afterInit","has","forceValue","*Remove format:* %0","change","format","ELEMENT_BLOCK_QUOTE","from","getSelectedBlocks","blockQuote","checkChild","commands","selection","editor","filter","registerDescriptionCallback","parent","_descriptionFactory","name","model","markBlockFormat","plugins"];var Tr,yr;Tr=_r,yr=476,function(t){for(;--t;)Tr.push(Tr.shift())}(++yr);const Cr=function(t,e){return _r[t-=0]};class Ar extends t.Plugin{[Cr("0x16")](){const t=this[Cr("0x9")],e=t[Cr("0x15")];if(!t.plugins[Cr("0x17")]("BlockQuoteEditing"))return;const n=t[Cr("0x11")].get("TrackChangesEditing"),i=this[Cr("0x9")][Cr("0x7")].get("blockQuote");n.enableCommand(Cr("0x5"),((e,r={})=>{const o=this.editor[Cr("0xf")].document[Cr("0x8")],s=r&&void 0!==r[Cr("0x18")]?r[Cr("0x18")]:!i[Cr("0x13")];let x=[];if(s){const e=Array[Cr("0x3")](o[Cr("0x4")]())[Cr("0xa")]((t=>kr(t)||function(t,e){const n=e[Cr("0x6")](t.parent,Cr("0x5")),i=e[Cr("0x6")](["$root",Cr("0x5")],t);return n&&i}(t,this[Cr("0x9")][Cr("0xf")].schema)));x=v(e,t.model)}else{const e=Array[Cr("0x3")](o[Cr("0x4")]())[Cr("0xa")]((t=>kr(t)));x=v(e,t[Cr("0xf")])}t[Cr("0xf")][Cr("0x0")]((()=>{for(const t of x)n[Cr("0x10")](t,{commandName:Cr("0x5"),commandParams:[{forceValue:s}]})}))})),n[Cr("0xd")][Cr("0xb")]((t=>{const{data:n}=t;if(n&&Cr("0x5")==n[Cr("0x12")]){const t=Ji(e,Cr("0x2"));return n[Cr("0x14")][0][Cr("0x18")]?{type:Cr("0x1"),content:Ji(e,"*Set format:* %0",t)}:{type:Cr("0x1"),content:Ji(e,Cr("0x19"),t)}}}))}}function kr(t){return Cr("0x5")==t[Cr("0xc")][Cr("0xe")]}const Ir=["afterInit","plugins","changeCaseUpper","get","has","TrackChangesEditing","changeCaseLower","editor","enableCommand","changeCaseTitle"];var Rr,vr;Rr=Ir,vr=434,function(t){for(;--t;)Rr.push(Rr.shift())}(++vr);const Sr=function(t,e){return Ir[t-=0]};class Lr extends t.Plugin{[Sr("0x6")](){const t=this[Sr("0x3")];t[Sr("0x7")][Sr("0x0")]("CaseChange")&&(t.plugins[Sr("0x9")](Sr("0x1"))[Sr("0x4")](Sr("0x8")),t[Sr("0x7")][Sr("0x9")](Sr("0x1"))[Sr("0x4")](Sr("0x2")),t[Sr("0x7")][Sr("0x9")](Sr("0x1"))[Sr("0x4")](Sr("0x5")))}}const Nr=["afterInit","TrackChangesEditing","editor","enableCommand","get","commands","ckbox","plugins"];var Mr,wr;Mr=Nr,wr=332,function(t){for(;--t;)Mr.push(Mr.shift())}(++wr);const Or=function(t,e){return Nr[t-=0]};class Fr extends t.Plugin{[Or("0x4")](){const t=this[Or("0x6")];t[Or("0x1")][Or("0x0")](Or("0x2"))&&t[Or("0x3")][Or("0x0")](Or("0x5"))[Or("0x7")](Or("0x2"))}}const Dr=["TrackChangesEditing","enableCommand","commandName","forceValue","format","outdentCodeBlock","*Remove format:* %0","has","language","name","checkChild","markBlockFormat","registerElementLabel","_descriptionFactory","from","schema","*Set format:* %0","change","document","value","registerDescriptionCallback","model","locale","find","ELEMENT_CODE_BLOCK","blockName","plugins","commands","formatBlock","afterInit","rootElement","commandParams","indentCodeBlock","get","codeBlock"];var Br,Pr;Br=Dr,Pr=276,function(t){for(;--t;)Br.push(Br.shift())}(++Pr);const Ur=function(t,e){return Dr[t-=0]};class jr extends t.Plugin{[Ur("0x21")](){const t=this.editor;if(!t[Ur("0x1e")][Ur("0xb")]("CodeBlock"))return;const e=t[Ur("0x1e")][Ur("0x2")](Ur("0x4")),n=t[Ur("0x1a")],i=t.config[Ur("0x2")](Ur("0x3")).languages,r=t[Ur("0x1f")][Ur("0x2")](Ur("0x3"));e[Ur("0x5")](Ur("0x1")),e[Ur("0x5")](Ur("0x9")),e[Ur("0x5")](Ur("0x3"),((n,o={})=>{const s=t[Ur("0x19")],x=t.model[Ur("0x16")].selection,a=o&&void 0!==o[Ur("0x7")]?o[Ur("0x7")]:!r[Ur("0x17")];let c;o[Ur("0xc")]||(o[Ur("0xc")]=i[0].language),c=a?Array[Ur("0x12")](x.getSelectedBlocks()).filter((t=>{return Gr(t)||(e=t,n=s[Ur("0x13")],!e.is(Ur("0x22"))&&!n.isLimit(e)&&n[Ur("0xe")](e.parent,Ur("0x3")));var e,n})):Array[Ur("0x12")](x.getSelectedBlocks()).filter((t=>Gr(t)));const l=v(c,s);s[Ur("0x15")]((()=>{for(const t of l)e[Ur("0xf")](t,{commandName:"codeBlock",commandParams:[{...o,forceValue:a}],formatGroupId:Ur("0x1d")})}))})),e._descriptionFactory[Ur("0x10")]("codeBlock",(t=>Ji(n,"ELEMENT_CODE_BLOCK",t))),e[Ur("0x11")][Ur("0x18")]((t=>{if(Ur("0x20")!=t.type)return;const e=n.t,{data:r}=t;if(!r||Ur("0x3")!=r[Ur("0x6")])return;const o=r[Ur("0x0")][0][Ur("0xc")],s=e(i[Ur("0x1b")]((t=>t.language===o)).label).toLowerCase();return r[Ur("0x0")][0].forceValue?{type:Ur("0x8"),content:Ji(n,Ur("0x14"),Ji(n,Ur("0x1c"),1)+" ("+s+")")}:{type:Ur("0x8"),content:Ji(n,Ur("0xa"),Ji(n,Ur("0x1c"),1))}}))}}function Gr(t){return"codeBlock"==t[Ur("0xd")]}const Vr=["TrackChangesEditing","CommentsEditing","plugins","has","editor"];var Hr,zr;Hr=Vr,zr=441,function(t){for(;--t;)Hr.push(Hr.shift())}(++zr);const Wr=function(t,e){return Vr[t-=0]};class Kr extends t.Plugin{afterInit(){const t=this[Wr("0x3")];t[Wr("0x1")][Wr("0x2")](Wr("0x0"))&&t[Wr("0x1")].get(Wr("0x4")).enableCommand("addCommentThread")}}var qr=n(181);const $r=["mapper","start","createUIElement","getAttribute","bindElementToMarker","previousPosition","getCustomProperty","activeMarkers","isContent","schema","parent","span","markerName","isLimit","ck-suggestion-marker-","TrackChangesEditing","test","push","addHighlight","isAtEnd","hasAttribute","writer","element","name","model","nextSibling","toViewElement","isBlock","markerRange","item","addClass","type","getItems","toViewPosition"];var Xr,Zr;Xr=$r,Zr=152,function(t){for(;--t;)Xr.push(Xr.shift())}(++Zr);const Yr=function(t,e){return $r[t-=0]};function Jr(t,e,n){const i=[];for(const r of e[Yr("0x10")]())r[Yr("0x4")](t)&&i[Yr("0x1")](n.createRangeOn(r));return i}function Qr(t,e,{showActiveMarker:n=!0}={}){const i=t.plugins.get(Yr("0x21"));return(r,o,s)=>{if(!s.consumable[Yr("0x0")](o[Yr("0xc")],r[Yr("0x7")]))return;const x=o[Yr("0xc")].getWalker(),a=o[Yr("0xc")][Yr("0x13")],c=t[Yr("0x8")][Yr("0x1b")];let l=null,u=null,d=!1,g=!1;for(const t of x){const e=t[Yr("0xd")];d=d||c[Yr("0x1a")](e);const n=s.mapper[Yr("0xa")](e);if(n&&n[Yr("0x18")](Yr("0x2")))return;"elementEnd"==t[Yr("0xf")]&&c[Yr("0xb")](e)&&!c[Yr("0x1f")](e)&&(e[Yr("0x9")]||a[Yr("0x3")]?l&&l[Yr("0x1c")]==e||(l=e,f(t[Yr("0x17")]),g=!0):u=u||t.previousPosition)}function f(t){const r=s[Yr("0x5")][Yr("0x14")](Yr("0x1d"),{class:Yr("0x20")+e}),x=s[Yr("0x12")][Yr("0x11")](t);n&&i[Yr("0x19")].includes(o.markerName)&&s[Yr("0x5")][Yr("0xe")]("ck-suggestion-marker--active",r),s[Yr("0x5")].insert(x,r),s[Yr("0x12")][Yr("0x16")](r,o[Yr("0x1e")])}d||g||!u||f(u)}}const to=["unit","forward","get","unlock","model","high","bind","batch","options","markerName","delete","fromRange","isCollapsed","enableCommand","getFirstRange","$graveyard","root","rootName","detach","markerNameToElements","TrackChangesEditing","data","removeMarker:suggestion:deletion","showSuggestionHighlights","start","createRange","uiElement","addMarker:suggestion:deletion","remove","end","editing","requires","merge","downcastDispatcher","unbindElementFromMarkerName","selection","buffer","commands","mapper","setSelection","writer"];var eo,no;eo=to,no=378,function(t){for(;--t;)eo.push(eo.shift())}(++no);const io=function(t,e){return to[t-=0]};class ro extends t.Plugin{static get[io("0x16")](){return[qr.Delete]}init(){const t=this.editor,e=t.plugins.get(io("0xb"));e.enableCommand(io("0x1"));const n=t[io("0x1c")][io("0x22")]("deleteForward");e[io("0x4")]("deleteForward",((e,i={})=>{const r=t[io("0x24")].createSelection(t[io("0x24")].document[io("0x1a")]);r[io("0x3")]&&t.model.modifySelection(r,{direction:io("0x21"),unit:i[io("0x20")]});const o=r[io("0x5")](),x=s.LiveRange[io("0x2")](o);let a;e(i),a=io("0x6")==x[io("0x7")][io("0x8")]?t[io("0x24")].createRange(o[io("0xf")]):t[io("0x24")][io("0x10")](x[io("0xf")],x[io("0x14")]),x[io("0x9")](),t[io("0x24")].enqueueChange(n[io("0x1b")][io("0x27")],(t=>{n[io("0x1b")].lock(),t[io("0x1e")](t[io("0x10")](a.end)),n[io("0x1b")][io("0x23")]()}))})),t[io("0x15")][io("0x18")].on("addMarker:suggestion:deletion",Qr(t,io("0x17")),{priority:"high"}),t[io("0xc")].downcastDispatcher.on(io("0x12"),((e,n,i)=>{i[io("0x28")][io("0xe")]&&Qr(t,io("0x17"),{showActiveMarker:!1})[io("0x26")](this)(e,n,i)}),{priority:"high"}),t.editing.downcastDispatcher.on(io("0xd"),((t,e,n)=>{const i=n.mapper[io("0xa")](e.markerName);if(i)for(const t of i)t.is(io("0x11"))&&(n[io("0x1d")][io("0x19")](t,e[io("0x0")]),n[io("0x1f")][io("0x13")](t))}),{priority:io("0x25")})}}const oo=["format","head","ELEMENT_TODO_LIST","find","splitListItemAfter","listItemIdFixer","execute","getFirstMarker","_getAttributeKey","differ","locale","*Format:* remove from %0","getSuggestions","getFirstRange","get","refresh","_findSuggestions","*Uncheck item*","outdentList","TodoListEditing","parent","isNextTo","getAttribute","*Format:* insert into %0","registerAttributeLabel","*Outdent:* %0","has","todoList","ELEMENT_LIST_ITEM","nodeAfter","mergeListItemBackward","filter","_suggestionFactory","listReversed","*Set format:* %0","createPositionAt","listStyle","forceValue","plugins","next","suggestion","assureChains","fromRange","listIndent","_supportLegacySuggestions","detach","meta","commands","numberedList","isLocal","ELEMENT_NUMBERED_LIST","commandName","nextSibling","todoListCheck","*Merge:* %0","afterInit","formatBlock","multipleBlocks","listItemId","from","setAttribute","createRange","indentList","_descriptionFactory","map","isUndo","includes","key","length","getChanges","removeMarker","list.multiBlock","checkTodoList","ListEditing","mergeListItemForward","containsItem","*Remove format:* %0","config","data","attributes","splitListItemBefore","bulleted","editor","end","getRanges","registerCustomCallback","groupId","*Indent:* %0","default","numbered","listStart","listType","accept","registerDescriptionCallback","isObject","deletion","model","change","*Check item*","TrackChangesEditing","bulletedList","batch","_enableDefaultAttributesIntegration","commandParams","trackChangesCommand","start","documentList","*Change to:* %0","FORMAT_INDENT","todo","previousSibling","document","value","setSelection","selection","oldValue","*Split:* list item","newValue","attribute","registerPostFixer","_LIST","type","todoListChecked","_registerLegacyDescription","ELEMENT_BULLETED_LIST"];var so,xo;so=oo,xo=363,function(t){for(;--t;)so.push(so.shift())}(++xo);const ao=function(t,e){return oo[t-=0]};class co extends t.Plugin{[ao("0x43")](){const t=this.editor;if(!t[ao("0x32")][ao("0x26")](ao("0x55")))return;const e=t.locale,n=t.plugins[ao("0x1a")](ao("0x6f")),i=t[ao("0x32")].has(ao("0x1f")),r=!!t[ao("0x59")][ao("0x1a")](ao("0x53"));function o(t){return{type:ao("0xc"),content:""+Ji(e,ao("0x2e"),t)}}function s(t){return{type:ao("0xc"),content:""+Ji(e,ao("0x58"),t)}}n._enableDefaultAttributesIntegration(ao("0x3c"),[],[ao("0x46"),ao("0x67"),ao("0x37")]),n[ao("0x72")](ao("0x70")),n[ao("0x72")]("indentList"),n[ao("0x72")](ao("0x1e")),n[ao("0x72")](ao("0x10")),n[ao("0x72")](ao("0x5c")),r&&(n[ao("0x72")]("mergeListItemBackward"),n[ao("0x72")](ao("0x56"))),i&&(n[ao("0x72")](ao("0x27")),n._enableDefaultAttributesIntegration(ao("0x54"),[],[ao("0x9")]),n[ao("0x4b")][ao("0x69")]((t=>{const{data:n}=t;if(n&&"todoListChecked"==n[ao("0x4f")])return{type:ao("0xc"),content:n.newValue?Ji(e,ao("0x6e")):Ji(e,ao("0x1d"))}})),this[ao("0x5e")][ao("0x6c")][ao("0x7b")].registerPostFixer((t=>{if(t[ao("0x71")][ao("0x4d")])return!1;let e=!1;const i=n[ao("0x18")]({skipNotAttached:!0}).filter((t=>ao("0x9")===n[ao("0x14")](t)));for(const r of i)ao("0x79")!=r[ao("0x19")]().start[ao("0x29")][ao("0x22")]("listType")&&(n[ao("0x1c")](r[ao("0x19")](),ao("0x5"))[ao("0xf")]((t=>"listType"===n[ao("0x14")](t[ao("0x34")])))||(t[ao("0x52")](r[ao("0x13")]()),e=!0));return e}))),n[ao("0x4b")][ao("0x24")]("listIndent",Ji(e,ao("0x78")));const x={type:ao("0xc"),content:""};n[ao("0x4b")][ao("0x69")]((t=>{const{data:n}=t;if(!n||ao("0x67")!=n[ao("0x4f")])return;let i=t.head;for(;i;){if(i.data&&(ao("0x30")==i[ao("0x5a")].key&&(i[ao("0x5a")][ao("0x4")]&&ao("0x64")!=i.data.newValue||"default"!=i.data.oldValue&&!n[ao("0x4")])||!r&&i[ao("0x5a")][ao("0x4f")]==Cc))return x;i=i.next}if(null==n[ao("0x4")])switch(n[ao("0x2")]){case ao("0x5d"):return s(Ji(e,ao("0xb")));case ao("0x65"):return s(Ji(e,ao("0x3e")));case"todo":return s(Ji(e,"ELEMENT_TODO_LIST"))}switch(n[ao("0x4")]){case ao("0x5d"):return o(Ji(e,"ELEMENT_BULLETED_LIST"));case ao("0x65"):return o(Ji(e,"ELEMENT_NUMBERED_LIST"));case"todo":return o(Ji(e,ao("0xe")))}})),n[ao("0x4b")][ao("0x69")]((t=>{const{data:e}=t;if(e&&ao("0x37")==e.key)return null==e[ao("0x4")]||null==e[ao("0x2")]&&0==e[ao("0x4")]?x:void 0})),n._descriptionFactory[ao("0x69")]((t=>{if(ao("0x5")!=t[ao("0x8")])return;const{data:n}=t;if(!n||ao("0x46")!=n.key)return;const i=lo(t);return i?"newValue"==i?{type:"format",content:Ji(e,"*Merge:* list item")}:"oldValue"==i?{type:ao("0xc"),content:Ji(e,ao("0x3"))}:x:x})),t[ao("0x6c")][ao("0x7b")][ao("0x6")]((t=>this[ao("0x11")](t))),t[ao("0x6c")][ao("0x7b")].registerPostFixer((t=>this.noTrackChangesFixer(t))),t[ao("0x6c")][ao("0x7b")][ao("0x6")]((t=>this[ao("0x35")](t))),this[ao("0x38")]()}[ao("0x11")](t){if(t.batch.isUndo||!t.batch.isLocal)return!1;let e=!1;const n=this[ao("0x5e")].plugins[ao("0x1a")](ao("0x6f")).getSuggestions({skipNotAttached:!0})[ao("0x2b")]((t=>t[ao("0x5a")]&&ao("0x46")==t.data[ao("0x4f")]))[ao("0x2b")]((t=>t.data[ao("0x4")]&&t.data[ao("0x2")]));for(const i of n)lo(i)||(t.removeMarker(i[ao("0x13")]()),e=!0);return e}noTrackChangesFixer(t){if(t[ao("0x71")].isUndo||!t[ao("0x71")].isLocal)return!1;const e=this[ao("0x5e")].plugins.get(ao("0x6f"));if(e[ao("0x74")][ao("0x7c")])return!1;let n=!1;const i=[ao("0x67"),"listStyle",ao("0x46"),ao("0x37"),ao("0x66"),"listReversed",ao("0x41")],r=this[ao("0x5e")][ao("0x6c")][ao("0x7b")][ao("0x15")][ao("0x51")]()[ao("0x2b")]((t=>"attribute"==t[ao("0x8")]))[ao("0x2b")]((t=>i[ao("0x4e")](t.attributeKey)));if(0==r[ao("0x50")])return n;for(const o of r){const r=e._findSuggestions(o.range,ao("0x5"))[ao("0x2b")]((t=>!t[ao("0x3a")][ao("0x21")]))[ao("0x4c")]((t=>t[ao("0x34")]))[ao("0x2b")]((t=>{const n=e[ao("0x14")](t);return i[ao("0x4e")](n)}));if(r[ao("0x50")]){for(const e of r)t[ao("0x52")](e[ao("0x13")]());n=!0}}return n}[ao("0x35")](t){if(t[ao("0x71")][ao("0x4d")]||!t[ao("0x71")][ao("0x3d")])return!1;const e=this[ao("0x5e")][ao("0x32")][ao("0x1a")](ao("0x6f"));let n=!1;const i=[ao("0x67"),ao("0x30"),ao("0x46"),ao("0x37"),"listStart",ao("0x2d"),ao("0x41")];for(const t of e[ao("0x18")]({skipNotAttached:!0})){const r=e[ao("0x1c")](t[ao("0x19")](),ao("0x5"))[ao("0x4c")]((t=>t.suggestion))[ao("0x2b")]((t=>t[ao("0x5a")]&&i[ao("0x4e")](t.data[ao("0x4f")])));if(!r[ao("0x50")])continue;const s=r[0][ao("0xd")][ao("0x5b")].groupId;if(!r.every((t=>t[ao("0x5b")][ao("0x62")]===s)))for(const t of r)o(t,s)&&(n=!0)}return n;function r(t,n){for(const i of e.getSuggestions({skipNotAttached:!0})[ao("0x2b")]((e=>ao("0x5")==e[ao("0x8")]&&e[ao("0x5b")][ao("0x62")]==t)))i[ao("0x48")](ao("0x62"),n)}function o(t,e){let n=t[ao("0xd")],i=!1;for(;n;)n[ao("0x5b")].groupId!=e&&(r(n[ao("0x5b")][ao("0x62")],e),n[ao("0x48")](ao("0x62"),e),i=!0),n=n[ao("0x33")];return i}}[ao("0x38")](){const t=this[ao("0x5e")],e=t[ao("0x16")],n=t[ao("0x32")][ao("0x1a")](ao("0x6f"));this[ao("0xa")](),n[ao("0x2c")][ao("0x61")](ao("0x44"),ao("0x76"),ao("0x68"),(function(e,n){const i=[];for(let n of e)n[ao("0x75")][ao("0x29")]===n[ao("0x5f")][ao("0x20")]&&(n=t[ao("0x6c")][ao("0x49")](t.model[ao("0x2f")](n[ao("0x75")].nodeAfter,0))),i.push(n);t[ao("0x6c")][ao("0x6d")]((e=>{const r=t[ao("0x6c")][ao("0x7b")][ao("0x1")],o=Array[ao("0x47")](r[ao("0x60")]())[ao("0x4c")]((t=>s.LiveRange[ao("0x36")](t)));e.setSelection(i),t[ao("0x3b")][ao("0x1a")](n[ao("0x3f")])[ao("0x1b")](),n[ao("0x73")].push({forceDefaultExecution:!0}),t[ao("0x12")](n[ao("0x3f")],...n[ao("0x73")]),e[ao("0x0")](o);for(const t of o)t[ao("0x39")]()}))})),n[ao("0x4b")].registerElementLabel((function(e){const n=!t.model.schema[ao("0x6a")](e),i=e[ao("0x7a")],r=e[ao("0x40")],o=e[ao("0x22")]("listItemId"),s=!i||i[ao("0x22")]("listItemId")!==o,x=!r||r[ao("0x22")](ao("0x46"))!==o;return n&&Boolean(o)&&s&&x}),(t=>Ji(e,ao("0x28"),t)))}[ao("0xa")](){const t=this[ao("0x5e")],e=t[ao("0x16")];function n(e){const n=t[ao("0x3b")].get(ao("0x70"))[ao("0x7c")],i=t[ao("0x3b")][ao("0x1a")](ao("0x3c"))[ao("0x7c")];return ao("0x3c")===e?n:i}t[ao("0x32")][ao("0x1a")](ao("0x6f"))[ao("0x4b")][ao("0x69")]((function(i){if("formatBlock"!=i[ao("0x8")])return;const{data:r}=i;if(!r)return;let o,s,x,a;switch(r[ao("0x3f")]){case"bulletedList":x=r[ao("0x73")][0][ao("0x31")],a=n(r[ao("0x3f")]),o=x?ao("0x23"):"*Format:* remove from %0",!a&&t[ao("0x59")].get(ao("0x53"))||(o=ao("0x77")),s={type:"format",content:Ji(e,o,Ji(e,ao("0xb")))};break;case ao("0x3c"):x=r.commandParams[0][ao("0x31")],a=n(r[ao("0x3f")]),o=x?ao("0x23"):"*Format:* remove from %0",!a&&t[ao("0x59")][ao("0x1a")]("list.multiBlock")||(o=ao("0x77")),s={type:ao("0xc"),content:Ji(e,o,Ji(e,ao("0x3e")))};break;case ao("0x4a"):o=ao("0x63"),s={type:ao("0xc"),content:Ji(e,o,Ji(e,ao("0x28")))};break;case ao("0x1e"):o=function(t){const e=t.getFirstRange();let n=e[ao("0x75")][ao("0x29")];for(;n&&e[ao("0x57")](n);){if(n[ao("0x22")](ao("0x37"))>0)return!1;n=n[ao("0x40")]}return!0}(i)?Ji(e,ao("0x17"),Ji(e,"ELEMENT_"+i[ao("0x19")]().start[ao("0x29")].getAttribute(ao("0x67")).toUpperCase()+ao("0x7"))):Ji(e,ao("0x25"),Ji(e,ao("0x28"))),s={type:ao("0xc"),content:o};break;case ao("0x2a"):case"mergeListItemForward":!1===r[ao("0x45")]&&(o=ao("0x42"),s={type:ao("0x6b"),content:Ji(e,o,Ji(e,ao("0x28")))})}return s}))}}function lo(t){let e=t[ao("0x19")]()[ao("0x75")][ao("0x29")][ao("0x7a")];for(;e;){const n=e[ao("0x22")](ao("0x46"));if(!n)return!1;if(n==t[ao("0x5a")].newValue)return ao("0x4");if(n==t[ao("0x5a")][ao("0x2")])return ao("0x2");e=e[ao("0x7a")]}return!1}const uo=["_registerLegacyDescription","square","filter","listStyle","*Format:* set order to regular","getSuggestions","listReversed","*Format:* set order to reversed","FORMAT_LIST_START","TrackChangesEditing","commandParams","suggestion","list.properties","styles","includes","_getTranslationKeyForListStyle","_LIST_","isUndo","registerPostFixer","registerAttributeLabel","getAttribute","oldValue","has","circle","decimal","next","listStart","batch","newValue","lower-latin","key","registerDescriptionCallback","handleDescriptions","data","removeMarker","ELEMENT_","getFirstMarker","model","_findSuggestions","_LIST_DEFAULT","default","type","*Remove format:* %0","upper-latin","formatBlock","disc","nodeAfter","_enableDefaultAttributesIntegration","getFirstRange","format","document","startIndex","reversed","_getAttributeKey","upper-roman","FORMAT_LIST_REVERSED","get","start","_descriptionFactory","toUpperCase","*Set format:* %0","numbered","listType","editor","plugins","decimal-leading-zero","locale","head"];var go,fo;go=uo,fo=341,function(t){for(;--t;)go.push(go.shift())}(++fo);const ho=function(t,e){return uo[t-=0]};class mo extends t.Plugin{afterInit(){if(!this[ho("0x3e")][ho("0x3f")][ho("0x15")]("ListPropertiesEditing"))return;const t=this.editor.config.get(ho("0xb")),e=this[ho("0x3e")][ho("0x3f")].get(ho("0x8"));t[ho("0xc")]&&e[ho("0x2e")](ho("0x2"),[],[ho("0x2")]),t.reversed&&e[ho("0x2e")](ho("0x5"),[],[ho("0x5")]),t[ho("0x32")]&&e._enableDefaultAttributesIntegration(ho("0x19"),[],[ho("0x19")]);const n={type:ho("0x30"),content:""};e[ho("0x39")][ho("0x1e")](this.handleDescriptions.bind(this));const i=this[ho("0x3e")][ho("0x41")];e[ho("0x39")][ho("0x12")](ho("0x5"),Ji(i,ho("0x36"))),e[ho("0x39")].registerDescriptionCallback((t=>{const{data:e}=t;if(e&&"listReversed"==e[ho("0x1d")])return null==e[ho("0x1b")]||0==e[ho("0x1b")]&&null==e[ho("0x14")]?n:void 0})),e[ho("0x39")].registerAttributeLabel(ho("0x19"),Ji(i,ho("0x7"))),e._descriptionFactory.registerDescriptionCallback((t=>{const{data:e}=t;if(e&&ho("0x19")==e[ho("0x1d")])return null==e[ho("0x1b")]||1==e[ho("0x1b")]&&null==e[ho("0x14")]?n:void 0})),this[ho("0x3e")][ho("0x24")][ho("0x31")][ho("0x11")]((t=>{if(t[ho("0x1a")][ho("0x10")])return!1;let n=!1;const i=e[ho("0x4")]({skipNotAttached:!0})[ho("0x1")]((t=>{const n=e._getAttributeKey(t);return ho("0x19")==n||ho("0x5")==n}));for(const r of i)ho("0x3c")!=r[ho("0x2f")]()[ho("0x38")][ho("0x2d")][ho("0x13")](ho("0x3d"))&&(e[ho("0x25")](r.getFirstRange(),"attribute").find((t=>ho("0x3d")==e[ho("0x34")](t[ho("0xa")])))||(t[ho("0x21")](r[ho("0x23")]()),n=!0));return n})),this[ho("0x43")]()}[ho("0x1f")](t){const e=this[ho("0x3e")].locale,{data:n}=t,i={type:ho("0x30"),content:""};if(!n||"listStyle"!=n[ho("0x1d")])return;if(!n[ho("0x14")])return ho("0x27")==n[ho("0x1b")]?i:{type:"format",content:""+Ji(e,ho("0x3b"),Ji(e,this[ho("0xe")](n[ho("0x1b")])))};if(!n[ho("0x1b")]){if("default"==n[ho("0x14")])return i;let r=t[ho("0x42")];for(;r;){if(r[ho("0x20")]&&ho("0x3d")==r[ho("0x20")][ho("0x1d")]&&r.data.newValue)return i;r=r[ho("0x18")]}return{type:"format",content:""+Ji(e,ho("0x29"),Ji(e,this[ho("0xe")](n[ho("0x14")])))}}if(ho("0x27")!=n[ho("0x1b")])return{type:"format",content:""+Ji(e,ho("0x3b"),Ji(e,this[ho("0xe")](n[ho("0x1b")])))};let r=t[ho("0x42")];for(;r;){if(r[ho("0x20")]&&"listType"==r[ho("0x20")][ho("0x1d")]&&r[ho("0x20")][ho("0x1b")]&&r[ho("0x20")].oldValue)return i;r=r[ho("0x18")]}const o=t.getFirstRange()[ho("0x38")][ho("0x2d")].getAttribute(ho("0x3d"));return{type:ho("0x30"),content:Ji(e,ho("0x3b"),Ji(e,ho("0x22")+o[ho("0x3a")]()+ho("0x26")))}}_registerLegacyDescription(){const t=this.editor,e=t[ho("0x41")];t.plugins[ho("0x37")](ho("0x8"))[ho("0x39")][ho("0x1e")]((t=>{if(ho("0x2b")!=t.type)return;const{data:n}=t;if(!n)return;let i,r;switch(n.commandName){case ho("0x2"):i="*Change to:* %0",r={type:ho("0x30"),content:Ji(e,i,Ji(e,this[ho("0xe")](n[ho("0x9")][0][ho("0x28")])))};break;case ho("0x5"):i=n[ho("0x9")][0][ho("0x33")]?ho("0x6"):ho("0x3"),r={type:ho("0x30"),content:Ji(e,i)};break;case ho("0x19"):i="*Format:* set start index to %0",r={type:ho("0x30"),content:Ji(e,i,n[ho("0x9")][0][ho("0x32")])}}return r}))}_getTranslationKeyForListStyle(t){return ho("0x22")+(e=t,po.includes(e)?"bulleted":bo[ho("0xd")](e)?ho("0x3c"):null)[ho("0x3a")]()+ho("0xf")+t[ho("0x3a")]().replace(/-/g,"_");var e}}const po=[ho("0x2c"),ho("0x16"),ho("0x0")],bo=[ho("0x17"),ho("0x40"),"lower-roman",ho("0x35"),ho("0x1c"),ho("0x2a")];var Eo=n(331);const _o=["createPositionAt","high","get","mapper","parent","addMarker:suggestion:insertion","model","end","markerNameToElements","writer","hasClass","change","nextSibling","TrackChangesEditing","downcastDispatcher","markerName","selection","data","markInsertion","getFirstRange","showSuggestionHighlights","fromRange","enableCommand","afterExecute","enter","plugins","createRange","bind","ck-suggestion-marker-split","options","document","init","commands","split","remove","removeMarker:suggestion:insertion"];var To,yo;To=_o,yo=352,function(t){for(;--t;)To.push(To.shift())}(++yo);const Co=function(t,e){return _o[t-=0]};class Ao extends t.Plugin{static get requires(){return[Eo.Enter]}[Co("0x3")](){const t=this.editor,e=t[Co("0x21")][Co("0xa")](Co("0x15")),n=t[Co("0x4")][Co("0xa")](Co("0x20"));e[Co("0x1e")](Co("0x20"),(()=>{t.model[Co("0x13")]((i=>{const r=t[Co("0xe")][Co("0x2")][Co("0x18")],o=r.getFirstPosition(),x=s.LiveRange[Co("0x1d")](r[Co("0x1b")]());if(n.enterBlock(i)){const n=t[Co("0xe")][Co("0x8")](o[Co("0xc")][Co("0x14")],0),r=i[Co("0x22")](o,n);e[Co("0x1a")](r)}else i.setSelection(i.createRange(x[Co("0xf")]));x.detach(),n.fire(Co("0x1f"),{writer:i})}))})),t.editing.downcastDispatcher.on("addMarker:suggestion:insertion",Qr(t,Co("0x5")),{priority:Co("0x9")}),t.editing[Co("0x16")].on(Co("0x7"),((t,e,n)=>{const i=n[Co("0xb")][Co("0x10")](e[Co("0x17")]);if(i)for(const t of i)t[Co("0x12")](Co("0x0"))&&(n[Co("0xb")].unbindElementFromMarkerName(t,e.markerName),n[Co("0x11")][Co("0x6")](t))}),{priority:Co("0x9")}),t[Co("0x19")][Co("0x16")].on(Co("0xd"),((e,n,i)=>{i[Co("0x1")][Co("0x1c")]&&Qr(t,Co("0x5"),{showActiveMarker:!1})[Co("0x23")](this)(e,n,i)}),{priority:Co("0x9")})}}const ko=["findNext","handleFindCommand","createRange","editor","getRange","createPositionAt","markers","filter","plugins","_isInDeletionRange","suggestion:deletion","start","find","TrackChangesEditing","bind","get","findPrevious","getIntersection","afterInit","model","findByTextCallback","replaceAll","has","end","getMarkersGroup","item","enableCommand"];var Io,Ro;Io=ko,Ro=461,function(t){for(;--t;)Io.push(Io.shift())}(++Ro);const vo=function(t,e){return ko[t-=0]};class So extends t.Plugin{[vo("0x10")](){if(!this[vo("0x1")][vo("0x6")][vo("0x14")]("FindAndReplaceEditing"))return;const t=this.editor.plugins[vo("0xd")](vo("0xb"));t[vo("0x18")](vo("0xa"),this[vo("0x1a")][vo("0xc")](this)),t[vo("0x18")](vo("0x19")),t[vo("0x18")](vo("0xe")),t[vo("0x18")]("replace"),t[vo("0x18")](vo("0x13"))}handleFindCommand(t,e,n={}){const i=this.editor[vo("0x6")].get("FindAndReplaceUtils");return t((t=>("string"==typeof e?i[vo("0x12")](e,n):e)(t)[vo("0x5")]((e=>!1===this[vo("0x7")](e,t[vo("0x17")])))),n)}[vo("0x7")](t,e){const n=this[vo("0x1")][vo("0x11")][vo("0x0")](this[vo("0x1")][vo("0x11")][vo("0x3")](e,t[vo("0x9")]),this[vo("0x1")][vo("0x11")][vo("0x3")](e,t[vo("0x15")]));for(const t of this.editor[vo("0x11")][vo("0x4")][vo("0x16")](vo("0x8")))if(null!==n[vo("0xf")](t[vo("0x2")]()))return!0;return!1}}const Lo=["fontSize","trim","registerDescriptionCallback","commandName","title","model","formatInline","commandParams","FORMAT_FONT_FAMILY","fontSize.options","label","*Reset font size*","type","config","find","_registerLegacyDescription","value","plugins","FontBackgroundColorEditing","_descriptionFactory","fontBackgroundColor","editor","_enableDefaultAttributesIntegration","get","FORMAT_FONT_SIZE","*Set font family:* %0","format","*Set font background color:* %0","FontFamilyEditing","afterInit","fontBackgroundColor.colors","toLowerCase","*Reset font family*","fontColor","locale","TrackChangesEditing","fontFamily","registerAttributeLabel","*Reset font background color*"];var No,Mo;No=Lo,Mo=441,function(t){for(;--t;)No.push(No.shift())}(++Mo);const wo=function(t,e){return Lo[t-=0]},Oo=[{pluginName:"FontSizeEditing",commandName:wo("0x1b")},{pluginName:wo("0x10"),commandName:wo("0x18")},{pluginName:"FontColorEditing",commandName:wo("0x15")},{pluginName:wo("0x6"),commandName:wo("0x8")}];class Fo extends t.Plugin{[wo("0x11")](){const t=this.editor[wo("0x16")],e=this[wo("0x9")][wo("0x5")][wo("0xb")](wo("0x17"));for(const{pluginName:t,commandName:n}of Oo)this[wo("0x9")][wo("0x5")].has(t)&&e[wo("0xa")](n,[n]);t.t,e._descriptionFactory[wo("0x19")](wo("0x1b"),Ji(t,wo("0xc"))),e[wo("0x7")][wo("0x19")](wo("0x18"),Ji(t,wo("0x23"))),e[wo("0x7")].registerAttributeLabel(wo("0x15"),Ji(t,"FORMAT_FONT_COLOR")),e[wo("0x7")].registerAttributeLabel(wo("0x8"),Ji(t,"FORMAT_FONT_BACKGROUND")),this[wo("0x3")]()}_registerLegacyDescription(){const t=this[wo("0x9")],e=t[wo("0x16")];t[wo("0x5")].get(wo("0x17"))._descriptionFactory[wo("0x1d")]((t=>{const n=e.t;if(wo("0x21")!=t[wo("0x0")])return;const{data:i}=t;if(null!=i){if(wo("0x1b")==i.commandName){const t=i.commandParams[0].value;if(t){const i=n(this[wo("0x9")][wo("0x5")][wo("0xb")]("FontSize").normalizeSizeOptions(this[wo("0x9")][wo("0x1")][wo("0xb")](wo("0x24")))[wo("0x2")]((e=>e[wo("0x20")]==t))[wo("0x1f")])[wo("0x13")]();return{type:wo("0xe"),content:Ji(e,"*Set font size:* %0",i)}}return{type:wo("0xe"),content:Ji(e,wo("0x26"))}}if(wo("0x18")==i[wo("0x1e")]){const t=i[wo("0x22")][0][wo("0x4")];return t?{type:wo("0xe"),content:Ji(e,wo("0xd"),t)}:{type:wo("0xe"),content:Ji(e,wo("0x14"))}}if(wo("0x15")==i.commandName){const t=i[wo("0x22")][0][wo("0x4")];if(t){const i=(0,r.normalizeColorOptions)(this[wo("0x9")][wo("0x1")][wo("0xb")]("fontColor.colors"))[wo("0x2")]((e=>e.model==t));let o=t,s="";return i&&(o=i[wo("0x25")],s=n(o)[wo("0x13")]()),{type:wo("0xe"),content:Ji(e,"*Set font color:* %0",s)[wo("0x1c")](),color:{value:t,title:s||o}}}return{type:wo("0xe"),content:Ji(e,"*Reset font color*")}}if(wo("0x8")==i[wo("0x1e")]){const t=i.commandParams[0][wo("0x4")];if(t){const i=(0,r.normalizeColorOptions)(this.editor[wo("0x1")][wo("0xb")](wo("0x12")))[wo("0x2")]((e=>e[wo("0x20")]==t));let o=t,s="";return i&&(o=i.label,s=n(o)[wo("0x13")]()),{type:"format",content:Ji(e,wo("0xf"),s)[wo("0x1c")](),color:{value:t,title:s||o}}}return{type:wo("0xe"),content:Ji(e,wo("0x1a"))}}}}))}}const Do=["formatBlock","commandName","fontColor.colors","toUpperCase","fontSize","join","toLowerCase","split","plugins","fontColor","length","find","config","_registerLegacyDescription","editor","format","_enableDefaultAttributesIntegration","pasteFormat","entries","FontSize","locale","boolean","get","_descriptionFactory","fontBackgroundColor","type","commands","model","copyFormat","title","push","registerDescriptionCallback"];var Bo,Po;Bo=Do,Po=184,function(t){for(;--t;)Bo.push(Bo.shift())}(++Po);const Uo=function(t,e){return Do[t-=0]};class jo extends t.Plugin{afterInit(){const t=this[Uo("0x16")],e=t.plugins.get("TrackChangesEditing"),n=t[Uo("0x2")][Uo("0x1e")]("copyFormat"),i=t[Uo("0x2")][Uo("0x1e")](Uo("0x19"));n&&i&&(e[Uo("0x18")](Uo("0x19")),e.enableCommand(Uo("0x4")),this[Uo("0x15")]())}_registerLegacyDescription(){const t=this[Uo("0x16")],e=t[Uo("0x1c")];t.plugins[Uo("0x1e")]("TrackChangesEditing")[Uo("0x1f")][Uo("0x7")]((n=>{if(Uo("0x8")!=n[Uo("0x1")]&&"formatInline"!=n[Uo("0x1")])return;const{data:i}=n;if(i&&Uo("0x19")===i[Uo("0x9")]){const n=[],r=i.commandParams[0];for(const[e,i]of Object[Uo("0x1a")](r))n[Uo("0x6")](Go(t,e,i));return n[Uo("0x12")]?{type:Uo("0x17"),content:Ji(e,"*Set format to:* %0",n[Uo("0xd")](", "))}:{type:Uo("0x17"),content:Ji(e,"*Remove all formatting*")}}}))}}function Go(t,e,n){const i=t[Uo("0x1c")].t,o=e[Uo("0xf")](/(?=[A-Z])/).join(" "),s=i(o.charAt(0)[Uo("0xb")]()+o.slice(1))[Uo("0xe")]();if(Uo("0x1d")==typeof n)return s;if(Uo("0x11")===e||Uo("0x0")===e){const e=(0,r.normalizeColorOptions)(t[Uo("0x14")][Uo("0x1e")](Uo("0xa")))[Uo("0x13")]((t=>t[Uo("0x3")]==n));return s+" ("+(e?i(e.label).toLowerCase():n)+")"}if(Uo("0xc")===e&&isNaN(parseFloat(n))){const e=t[Uo("0x10")][Uo("0x1e")](Uo("0x1b")).normalizeSizeOptions(t[Uo("0x14")].get("fontSize.options"))[Uo("0x13")]((t=>t[Uo("0x3")]==n));return s+" ("+(e?i(e[Uo("0x5")])[Uo("0xe")]():n)+")"}return s+" ("+n+")"}const Vo=["get","config","*Change to:* %0","commandParams","has","format","plugins","formatBlock","ELEMENT_HEADING","editor","ELEMENT_HEADING_CUSTOM","_getHeadingLevel","type","match","name","_registerLegacyDescription","_headingOptions","locale","registerDescriptionCallback","value","TrackChangesEditing","_descriptionFactory","title","HeadingEditing","model","view","commandName","find","registerElementLabel","heading","_enableDefaultAttributesIntegration"];var Ho,zo;Ho=Vo,zo=126,function(t){for(;--t;)Ho.push(Ho.shift())}(++zo);const Wo=function(t,e){return Vo[t-=0]};class Ko extends t.Plugin{afterInit(){const t=this.editor;if(!t[Wo("0x4")][Wo("0x2")](Wo("0x15")))return;this[Wo("0xe")]=t[Wo("0x1e")][Wo("0x1d")]("heading.options");const e=t[Wo("0xf")],n=t.plugins[Wo("0x1d")]("TrackChangesEditing");n[Wo("0x1c")](Wo("0x1b"));for(const t of this._headingOptions)"paragraph"!=t[Wo("0x16")]&&n[Wo("0x13")][Wo("0x1a")](t.model,(n=>{const i=this[Wo("0x9")](t.model);return null!==i?(s=n,x=i,Ji(e,Wo("0x6"),[s,x])):(r=n,o=t.title,Ji(e,"ELEMENT_HEADING_CUSTOM",[r,o]));var r,o,s,x}));this[Wo("0xd")]()}[Wo("0xd")](){const t=this[Wo("0x7")],e=t.locale;t[Wo("0x4")][Wo("0x1d")](Wo("0x12"))[Wo("0x13")][Wo("0x10")]((t=>{if(Wo("0x5")!=t[Wo("0xa")])return;const{data:n}=t;if(n&&"heading"==n[Wo("0x18")]){const t=n[Wo("0x1")][0][Wo("0x11")],s=this[Wo("0x9")](t);if(null!==s)return{type:Wo("0x3"),content:Ji(e,Wo("0x0"),(1,o=s,Ji(e,Wo("0x6"),[1,o])))};const x=this._headingOptions.find((e=>e[Wo("0x16")]===t))[Wo("0x14")];return{type:Wo("0x3"),content:Ji(e,Wo("0x0"),(i=1,r=x,Ji(e,Wo("0x8"),[i,r])))}}var i,r,o}))}[Wo("0x9")](t){var e,n;const i=t[Wo("0xb")](/^heading(\d+)/);if(i)return i[1];const r=null===(e=this._headingOptions)||void 0===e?void 0:e[Wo("0x19")]((e=>e[Wo("0x16")]==t));if(r&&r[Wo("0x17")]){const t=r[Wo("0x17")],e=(null!==(n=t[Wo("0xc")])&&void 0!==n?n:t)[Wo("0xb")](/^h(\d+)/);if(e)return e[1]}return null}}const qo=["_registerLegacyDescription","has","editor","HighlightEditing","highlight","FORMAT_HIGHLIGHT","color","title","locale","_enableDefaultAttributesIntegration","afterInit","value","*Remove highlight*","TrackChangesEditing","toLowerCase","registerDescriptionCallback","commandName","*Set highlight:* %0","format","registerAttributeLabel","plugins","highlight.options","get","commandParams"];var $o,Xo;$o=qo,Xo=472,function(t){for(;--t;)$o.push($o.shift())}(++Xo);const Zo=function(t,e){return qo[t-=0]};class Yo extends t.Plugin{[Zo("0x12")](){const t=this[Zo("0xa")];if(!t[Zo("0x4")][Zo("0x9")](Zo("0xb")))return;const e=t[Zo("0x4")][Zo("0x6")]("TrackChangesEditing"),n=t[Zo("0x10")];e[Zo("0x11")](Zo("0xc"),["highlight"]),e._descriptionFactory[Zo("0x3")](Zo("0xc"),Ji(n,Zo("0xd"))),this[Zo("0x8")]()}[Zo("0x8")](){const t=this[Zo("0xa")],e=t.locale;t[Zo("0x4")].get(Zo("0x15"))._descriptionFactory[Zo("0x17")]((n=>{if("formatInline"!=n.type)return;const{data:i}=n;if(i&&"highlight"==i[Zo("0x0")]){const n=e.t,r=i[Zo("0x7")][0][Zo("0x13")];if(r){const i=t.config.get(Zo("0x5")).find((t=>t.model==r)),o=n(i[Zo("0xf")])[Zo("0x16")]();return{type:"format",content:Ji(e,Zo("0x1"),o),color:{value:i[Zo("0xe")],title:i[Zo("0xf")]}}}return{type:Zo("0x2"),content:Ji(e,Zo("0x14"),Ji(e,Zo("0xd")))}}}))}}const Jo=["addClass","createEmptyElement","has","createContainerElement","horizontalLine","high","TrackChangesEditing","ELEMENT_HORIZONTAL_LINE","ck-horizontal-line","dataDowncast","conversion","plugins","HorizontalLineEditing","elementToStructure","showSuggestionHighlights","div","registerElementLabel","editor","insert","_descriptionFactory","for"];var Qo,ts;Qo=Jo,ts=382,function(t){for(;--t;)Qo.push(Qo.shift())}(++ts);const es=function(t,e){return Jo[t-=0]};class ns extends t.Plugin{afterInit(){const t=this[es("0xd")];if(!t[es("0x7")][es("0x13")](es("0x8")))return;t[es("0x7")].get(es("0x2")).enableCommand(es("0x0"));const e=t[es("0x7")].get(es("0x2")),n=t.locale;e[es("0xf")][es("0xc")](es("0x0"),(t=>Ji(n,es("0x3"),t))),t[es("0x6")][es("0x10")](es("0x5"))[es("0x9")]({model:"horizontalLine",view:(t,{writer:e,options:n})=>{if(!n[es("0xa")])return null;const i=e[es("0x14")](es("0xb")),r=e[es("0x12")]("hr");return e[es("0x11")](es("0x4"),i),e[es("0xe")](e.createPositionAt(i,0),r),i},converterPriority:es("0x1")})}}const is=["TrackChangesEditing","editor","locale","getFirstRange","rawHtml","key","start","_descriptionFactory","has","htmlEmbed","_enableDefaultAttributesIntegration","*Change %0 content*","format","value","formatBlock","type","afterInit","attribute","_registerLegacyDescription","registerElementLabel","ELEMENT_HTML_EMBED","plugins","commandName"];var rs,os;rs=is,os=282,function(t){for(;--t;)rs.push(rs.shift())}(++os);const ss=function(t,e){return is[t-=0]};class xs extends t.Plugin{[ss("0xa")](){const t=this[ss("0x12")];if(!t[ss("0xf")][ss("0x2")]("HtmlEmbed"))return;const e=t[ss("0xf")].get(ss("0x11")),n=t.locale;e._descriptionFactory[ss("0xd")](ss("0x15"),(t=>Ji(n,ss("0xe"),t))),e[ss("0x4")](ss("0x3"),[],[ss("0x7")]),e[ss("0x1")].registerDescriptionCallback((t=>{if(ss("0xb")!=t.type)return;const{data:e}=t;if(e&&ss("0x7")==e[ss("0x16")]&&t[ss("0x14")]()[ss("0x0")].nodeAfter.is("element",ss("0x15"))){const t=Ji(n,ss("0xe"));return{type:ss("0x6"),content:Ji(n,ss("0x5"),t)}}})),this[ss("0xc")]()}[ss("0xc")](){const t=this[ss("0x12")],e=t[ss("0x13")];t[ss("0xf")].get(ss("0x11"))[ss("0x1")].registerDescriptionCallback((t=>{if(ss("0x8")!=t[ss("0x9")])return;const{data:n}=t;if(n&&ss("0x3")==n[ss("0x10")]){const t=Ji(e,ss("0xe"));return{type:ss("0x6"),content:Ji(e,ss("0x5"),t)}}}))}}const as=["Inline image to block image","*Reset image width*","end","getNearestSelectionRange","convertBlockImageToInline","join","imageTextAlternative","isIntersecting","_registerLegacyDescription","schema","_suggestionFactory","addObject","markInsertion","createRange","document","convertInlineImageToBlock","ImageEditing","imageTypeInline","change","editor","detach","ELEMENT_INLINE_IMAGE","afterInit","imageTypeBlock","commandParams","formatBlock","previous","isBlockImage","enableCommand","TrackChangesEditing","imageStylePreApply","model","resizedWidth","get","registerDescriptionCallback","ImageCaptionEditing","getFirstRange","*Set image text alternative:* %0","getClosestSelectedImageElement","insertImage","element","*Remove image text alternative*","caption","ImageUtils","imageInline","locale","backward","discard","selection","isCollapsed","commandName","alt","markBlockFormat","start","resizeImage","nodeAfter","getSuggestionCallback","findIndex","chain","isEqual","fromPosition","ELEMENT_IMAGE","createRangeOn","_enableDefaultAttributesIntegration","ImageResize","plugins","deletion","*Set image width:* %0","isOwn","toPrevious","isBefore","registerAttributeLabel","ImageTextAlternativeEditing","registerElementLabel","accept","ImageInlineEditing","nodeBefore","filter","_findSuggestions","has","length","FORMAT_IMAGE_SIZE","width","type","subType","forceDefaultExecution","imageCaption","formatInline","newValue","registerCustomCallback","getContainedElement","_descriptionFactory","insertion","format"];var cs,ls;cs=as,ls=290,function(t){for(;--t;)cs.push(cs.shift())}(++ls);const us=function(t,e){return as[t-=0]};class ds extends t.Plugin{[us("0xe")](){const t=this.editor;if(!t[us("0x39")][us("0x47")](us("0x8")))return;const e=t[us("0x39")].get("TrackChangesEditing"),n=t[us("0x39")][us("0x19")](us("0x23")),i=t[us("0x25")];e[us("0x14")](us("0x1f")),e[us("0x53")][us("0x41")]("imageBlock",(t=>Ji(i,us("0x35"),t))),e[us("0x53")][us("0x41")](us("0x24"),(t=>Ji(i,us("0xd"),t))),e[us("0x53")].registerElementLabel(us("0x22"),(()=>Ji(i,"ELEMENT_CAPTION"))),t[us("0x39")][us("0x47")]("ImageUploadEditing")&&e[us("0x14")]("uploadImage"),t[us("0x39")].has("ImageBlockEditing")&&t[us("0x39")][us("0x47")](us("0x43"))&&(e[us("0x14")]("imageTypeInline",((i,r)=>{const o=n[us("0x1e")](t[us("0x17")].document.selection);t[us("0x17")][us("0xa")]((()=>{e.markBlockFormat(o,{commandName:"imageTypeInline",commandParams:[r]},[],us("0x5a"))}))})),e[us("0x14")](us("0xf"),((i,r)=>{t[us("0x17")][us("0xa")]((o=>{let x=n[us("0x1e")](t[us("0x17")].document[us("0x28")]),a=o[us("0x36")](x);const c=s.LivePosition.fromPosition(a.start,us("0x3d")),l=s.LivePosition[us("0x34")](a[us("0x58")],"toNext");e[us("0x4d")]((()=>i(r))),x=n[us("0x1e")](t.model[us("0x6")][us("0x28")]),a=o[us("0x36")](x);const u=o[us("0x5")](c,l);c[us("0xc")](),l.detach(),e[us("0x2c")](x,{commandName:us("0x9"),commandParams:[r]},[],"convertInlineImageToBlock"),u[us("0x2d")][us("0x3e")](a[us("0x2d")])&&e.markInsertion(o.createRange(u[us("0x2d")],a[us("0x2d")]),us("0x7")),a[us("0x58")][us("0x3e")](u.end)&&e[us("0x4")](o.createRange(a.end,u.end),us("0x7"))}))})),e._suggestionFactory[us("0x51")](us("0x11"),us("0x7"),us("0x5b"),(()=>!1)),e[us("0x2")][us("0x51")](us("0x11"),us("0x7"),us("0x42"),(()=>!1)),e[us("0x2")][us("0x51")](us("0x11"),"convertInlineImageToBlock",us("0x27"),e._suggestionFactory.getSuggestionCallback(us("0x11"),"","accept")),e[us("0x2")][us("0x51")](us("0x54"),"convertInlineImageToBlock","join",(()=>!1)),e._suggestionFactory[us("0x51")]("insertion",us("0x7"),us("0x27"),(([n])=>{const i=e[us("0x2")][us("0x30")]("insertion","","discard");let r=n.start,o=n[us("0x58")];const s=t.model[us("0x1")].getNearestSelectionRange(r,us("0x26")),x=t[us("0x17")][us("0x1")][us("0x59")](o,"forward");s[us("0x29")]&&(r=s.start),x[us("0x29")]&&(o=x[us("0x58")]),i([t[us("0x17")][us("0x5")](r,o)])})),e._suggestionFactory[us("0x51")](us("0x11"),us("0x7"),us("0x32"),x),e._suggestionFactory[us("0x51")](us("0x54"),us("0x7"),us("0x32"),x)),t[us("0x39")][us("0x47")](us("0x1b"))&&(e[us("0x14")]("toggleImageCaption",((i,r)=>{const o=t[us("0x39")].get("ImageCaptionUtils");let s=n[us("0x1e")](t[us("0x17")][us("0x6")][us("0x28")]),x=o.getCaptionFromImageModelElement(s);t[us("0x17")][us("0xa")]((()=>{if(x)return void e.markDeletion(t[us("0x17")][us("0x36")](x));const a=n[us("0x13")](s);i(r),s=n[us("0x1e")](t.model.document[us("0x28")]),x=o.getCaptionFromImageModelElement(s),e[us("0x4")](t.model.createRangeOn(x),a?null:us("0x4e"))}))})),e[us("0x2")].registerCustomCallback("insertion","imageCaption","chain",x));const r=[{type:us("0x11"),subType:us("0x16")},{type:us("0x54"),subType:us("0x4e")},{type:us("0x11"),subType:us("0x7")},{type:us("0x54"),subType:us("0x7")}];function o(t,i){const o=r[us("0x31")]((({type:e,subType:n})=>t.type==e&&t[us("0x4c")]==n)),s=r.findIndex((({type:t,subType:e})=>i.type==t&&i[us("0x4c")]==e));if(o<0||s<0)return!1;const x=t[us("0x1c")](),a=i[us("0x1c")]();if((0==o||1==o)&&2==s&&x[us("0x5d")](a))return!0;if(2==o&&3==s){const t=e[us("0x46")](x,us("0x54"))[us("0x45")]((({suggestion:t,meta:e})=>e[us("0x3c")]&&us("0x7")==t[us("0x4c")]));if(t[us("0x48")]>1&&a[us("0x58")][us("0x33")](x.start))return!0;if(1==t[us("0x48")]&&(x[us("0x2d")][us("0x33")](a[us("0x58")])||x[us("0x58")][us("0x33")](a[us("0x2d")])))return!0}if(3==o&&3==s&&x[us("0x2d")].isBefore(a.start)){const t=x[us("0x58")][us("0x2f")],e=a[us("0x2d")][us("0x44")];return n[us("0x13")](t)&&t===e}return!1}function x(t,e){return o(t,e)?[t,e]:o(e,t)?[e,t]:null}t[us("0x39")][us("0x47")](us("0x38"))&&(e[us("0x37")](us("0x2e"),[],["resizedWidth"]),e[us("0x53")][us("0x3f")](us("0x18"),Ji(i,us("0x49")))),t[us("0x39")][us("0x47")](us("0x40"))&&e[us("0x37")](us("0x5c"),[],["alt"]),e._descriptionFactory.registerDescriptionCallback((t=>{if(r.find((({type:e,subType:n})=>t[us("0x4b")]==e&&t[us("0x4c")]==n)))return t[us("0x12")]?{}:void 0})),e[us("0x53")][us("0x1a")]((t=>{if(us("0x54")==t[us("0x4b")]||us("0x3a")==t.type){const e=t[us("0x52")]();if(e&&e.is(us("0x20"),"caption"))return{type:"insertion"==t[us("0x4b")]?us("0x3"):"removeObject",element:e,quantity:1}}})),e[us("0x53")][us("0x1a")]((t=>"formatBlock"==t[us("0x4b")]&&"convertInlineImageToBlock"==t[us("0x4c")]?{type:us("0x55"),content:us("0x56")}:"formatBlock"==t[us("0x4b")]&&"convertBlockImageToInline"==t[us("0x4c")]?{type:us("0x55"),content:"Block image to inline image"}:void 0)),e[us("0x53")].registerDescriptionCallback((t=>{if("attribute"!=t[us("0x4b")])return;const{data:e}=t;if(!e||us("0x2b")!=e.key)return;const n=e.newValue;return n?{type:us("0x55"),content:Ji(i,us("0x1d"),'"'+n+'"')}:{type:"format",content:Ji(i,us("0x21"))}})),this[us("0x0")]()}_registerLegacyDescription(){const t=this[us("0xb")],e=t[us("0x25")];t.plugins.get(us("0x15"))[us("0x53")][us("0x1a")]((t=>{if(us("0x11")!=t.type&&us("0x4f")!=t[us("0x4b")])return;const{data:n}=t;if(n){if(us("0x5c")==n[us("0x2a")]){const t=n[us("0x10")][0][us("0x50")];return t?{type:us("0x55"),content:Ji(e,"*Set image text alternative:* %0",'"'+t+'"')}:{type:us("0x55"),content:Ji(e,"*Remove image text alternative*")}}if(us("0x2e")==n[us("0x2a")]){const t=n.commandParams[0][us("0x4a")];return t?{type:us("0x55"),content:Ji(e,us("0x3b"),t)}:{type:"format",content:Ji(e,us("0x57"))}}}}))}}const gs=["get","format","attribute","formatBlock","_descriptionFactory","_suggestionFactory","replaceImageSource","editor","getSuggestionCallback","commandName","type","_handleLegacySuggestions","registerCustomCallback","_enableDefaultAttributesIntegration","_registerLegacyDescription","newValue","afterInit","plugins","ImageEditing","formatInline","registerDescriptionCallback","*Format:* replace image URL","TrackChangesEditing","key","has","src","locale"];var fs,hs;fs=gs,hs=424,function(t){for(;--t;)fs.push(fs.shift())}(++hs);const ms=function(t,e){return gs[t-=0]};class ps extends t.Plugin{[ms("0x18")](){if(!this[ms("0xf")][ms("0x19")][ms("0x5")](ms("0x1a")))return;const t=this[ms("0xf")][ms("0x7")],e=this.editor[ms("0x19")].get("TrackChangesEditing");e[ms("0x15")](ms("0xe"),[],["src"]),e[ms("0xc")][ms("0x1")]((e=>{if(ms("0xa")!=e[ms("0x12")])return;const{data:n}=e;return n&&ms("0x6")==n[ms("0x4")]?n[ms("0x17")]&&n.oldValue?{type:ms("0x9"),content:Ji(t,"*Replace image URL*")}:{type:"format",content:""}:void 0})),this[ms("0x13")]()}[ms("0x13")](){const t=this.editor[ms("0x19")][ms("0x8")]("TrackChangesEditing");t[ms("0xd")][ms("0x14")](ms("0xb"),ms("0xe"),"accept",t._suggestionFactory[ms("0x10")](ms("0xb"),null,"discard")),t[ms("0xd")][ms("0x14")](ms("0xb"),"replaceImageSource","discard",t[ms("0xd")][ms("0x10")]("formatBlock",null,"accept")),this[ms("0x16")]()}[ms("0x16")](){const t=this[ms("0xf")],e=t.locale;t[ms("0x19")][ms("0x8")](ms("0x3"))[ms("0xc")][ms("0x1")]((t=>{if("formatBlock"!=t.type&&ms("0x0")!=t[ms("0x12")])return;const{data:n}=t;return n&&ms("0xe")==n[ms("0x11")]?{type:ms("0x9"),content:Ji(e,ms("0x2"))}:void 0}))}}const bs=["registerDescriptionCallback","isEqual","next","start","filter","suggestion","isBefore","head","accept","convertInlineImageToBlock","formatBlock","normalizedStyles","type","createRangeOn","commands","document","ImageStyleEditing","_splitMarkerName","end","_findSuggestions","registerPostFixer","formatInline","has","imageStylePostApply","side","commandReversedParams","editor","imageStylePreApply","isInContent","name","_descriptionFactory","commandParams","markBlockFormat","discard","nodeBefore","findIndex","getSuggestionCallback","join","model","_suggestionFactory","get","getSuggestions","discardSuggestion","Users","getChangedMarkers","format","refresh","isOwn","hasSuggestion","enableCommand","imageStyle","getContainedElement","isInlineImage","*Format:* %0","commandName","chain","nodeAfter","value","getFirstRange","isIntersecting","ImageUtils","insertion","imageTypeInline","selection","getSuggestion","forEach","getClosestSelectedImageElement","newRange","plugins","imageTypeBlock","imageCaption","isBlockImage","registerCustomCallback","TrackChangesEditing","subType"];var Es,_s;Es=bs,_s=319,function(t){for(;--t;)Es.push(Es.shift())}(++_s);const Ts=function(t,e){return bs[t-=0]};class ys extends t.Plugin{afterInit(){const t=this[Ts("0x7")];if(!t[Ts("0x31")][Ts("0x3")](Ts("0x48")))return;const n=t.plugins.get(Ts("0x36")),i=t.plugins[Ts("0x15")](Ts("0x29")),r={};n[Ts("0x1e")](Ts("0x1f"),((r,o)=>{const s=t.plugins[Ts("0x15")](Ts("0x18")).me,x=t[Ts("0x46")][Ts("0x15")](Ts("0x1f"));let a=i[Ts("0x2f")](t[Ts("0x13")][Ts("0x47")][Ts("0x2c")]),c=t.model.createRangeOn(a),l=x.value;if(l==o[Ts("0x26")])return;const u={commandName:Ts("0x1f"),commandParams:[o],formatGroupId:(0,e.uid)()};t[Ts("0x13")].change((()=>{if(n[Ts("0x16")]()[Ts("0x3c")]((t=>t[Ts("0x9")]&&s==t.author&&(Ts("0x42")==t[Ts("0x44")]||Ts("0x2")==t[Ts("0x44")])&&(Ts("0x8")==t[Ts("0x37")]||"imageStylePostApply"==t[Ts("0x37")])&&t[Ts("0x27")]()[Ts("0x39")](c)))[Ts("0x2e")]((t=>n[Ts("0x17")](t[Ts("0x3f")]))),a=i[Ts("0x2f")](t[Ts("0x13")][Ts("0x47")][Ts("0x2c")]),c=t[Ts("0x13")][Ts("0x45")](a),x[Ts("0x1b")](),t[Ts("0x46")].get(Ts("0x2b"))[Ts("0x1b")](),t[Ts("0x46")][Ts("0x15")](Ts("0x32"))[Ts("0x1b")](),l=x.value,l!=o[Ts("0x26")])return i[Ts("0x21")](a)&&x.shouldConvertImageType(o.value,a)?(r({...o,setImageSizes:!1}),a=i[Ts("0x2f")](t.model.document.selection),void n[Ts("0xd")](a,{...u,commandReversedParams:[{value:l||null,setImageSizes:!1}]},[],Ts("0x8"))):void(i.isBlockImage(a)?n[Ts("0xd")](a,u,[],Ts("0x4")):n.markInlineFormat(c,u,Ts("0x4")))}))}));for(const e of t.plugins.get(Ts("0x48"))[Ts("0x43")])r[e[Ts("0xa")]]=e.title.toLowerCase();n._suggestionFactory[Ts("0x35")]("formatBlock",Ts("0x8"),Ts("0x12"),(()=>!1)),n[Ts("0x14")][Ts("0x35")](Ts("0x42"),"imageStylePostApply","join",(()=>!1)),n[Ts("0x14")][Ts("0x35")](Ts("0x2"),Ts("0x4"),Ts("0x12"),(()=>!1)),n[Ts("0x14")][Ts("0x35")](Ts("0x42"),Ts("0x8"),"accept",(([t])=>{i.setImageNaturalSizeAttributes(t[Ts("0x20")]())})),n[Ts("0x14")][Ts("0x35")](Ts("0x42"),Ts("0x8"),Ts("0xe"),((t,e)=>{n[Ts("0x14")][Ts("0x11")](Ts("0x42"),"",Ts("0x40"))(t,{commandName:e.commandName,commandParams:e[Ts("0x6")]})})),n[Ts("0x14")][Ts("0x35")](Ts("0x42"),Ts("0x8"),Ts("0x24"),(function(t,e){return s(t,e)?[t,e]:s(e,t)?[e,t]:null}));const o=[{type:Ts("0x42"),subType:Ts("0x8")},{type:Ts("0x2a"),subType:"imageCaption"},{type:Ts("0x42"),subType:Ts("0x41")},{type:Ts("0x2a"),subType:Ts("0x41")}];function s(t,e){const r=o[Ts("0x10")]((({type:e,subType:n})=>t[Ts("0x44")]==e&&t[Ts("0x37")]==n)),s=o[Ts("0x10")]((({type:t,subType:n})=>e[Ts("0x44")]==t&&e.subType==n));if(r<0||s<0)return!1;const x=t[Ts("0x27")](),a=e[Ts("0x27")]();if((0==r||1==r)&&2==s&&x[Ts("0x28")](a))return!0;if(2==r&&3==s){const t=n[Ts("0x0")](x,"insertion")[Ts("0x3c")]((({suggestion:t,meta:e})=>e[Ts("0x1c")]&&Ts("0x41")==t.subType));if(t.length>1&&a[Ts("0x4a")].isEqual(x[Ts("0x3b")]))return!0;if(1==t.length&&(x[Ts("0x3b")].isEqual(a[Ts("0x4a")])||x[Ts("0x4a")].isEqual(a[Ts("0x3b")])))return!0}if(3==r&&3==s&&x[Ts("0x3b")][Ts("0x3e")](a.start)){const t=x[Ts("0x4a")][Ts("0x25")],e=a[Ts("0x3b")][Ts("0xf")];return i[Ts("0x34")](t)&&t===e}return!1}t.model.document[Ts("0x1")]((()=>{let e=!1;const r=Array.from(t[Ts("0x13")][Ts("0x47")].differ[Ts("0x19")]());for(const{name:t,data:o}of r){const{group:r,type:s,subType:x,id:a}=n[Ts("0x49")](t);if(Ts("0x3d")==r&&n[Ts("0x1d")](a)){if("formatBlock"==s&&(Ts("0x8")==x||"imageStylePostApply"==x)){const t=n[Ts("0x2d")](a);if(o[Ts("0x30")]){const r=t[Ts("0x27")]()[Ts("0x20")]();if(i[Ts("0x34")](r))continue;n[Ts("0x17")](t),e=!0}}if("insertion"==s&&Ts("0x33")==x&&!o.newRange){const t=n[Ts("0x2d")](a);t.next&&t[Ts("0x3a")][Ts("0x9")]&&(n[Ts("0x17")](t[Ts("0x3a")]),e=!0)}}}return e})),this._registerLegacyDescription(r)}_registerLegacyDescription(t){const e=this.editor,n=e.locale;e.plugins[Ts("0x15")](Ts("0x36"))[Ts("0xb")][Ts("0x38")]((e=>{if("formatBlock"!=e[Ts("0x44")]&&Ts("0x2")!=e[Ts("0x44")])return;const{data:i}=e;if(!i||Ts("0x1f")!=i[Ts("0x23")])return;const r=i[Ts("0xc")][0].value;return o=Ts("0x5")===r?Ji(n,"FORMAT_SIDE_IMAGE"):t[r]||r,{type:Ts("0x1a"),content:Ji(n,Ts("0x22"),o)};var o}))}}const Cs=["plugins","_handleImportedData","lowest","value","bind","commands","dataInsert","get","collaboration_features","_setSuggestionData","listenTo","importWord","enableCommand","forEach","_trackChangesExecuted","_trackChangesValueDuringImport","afterInit","TrackChangesEditing","track_changes","high","trackChanges"];var As,ks;As=Cs,ks=373,function(t){for(;--t;)As.push(As.shift())}(++ks);const Is=function(t,e){return Cs[t-=0]};class Rs extends t.Plugin{constructor(t){super(t),this[Is("0x14")]=!1,this._trackChangesExecuted=!1}[Is("0x0")](){const t=this.editor,e=t.commands[Is("0xc")]("importWord"),n=t.commands[Is("0xc")](Is("0x4"));e&&(e.on("execute",((t,[,e])=>{this[Is("0x14")]=n[Is("0x8")],e[Is("0xd")][Is("0x2")]=!this[Is("0x14")]}),{priority:Is("0x3")}),this[Is("0xf")](e,Is("0xb"),this._handleImportedData[Is("0x9")](this)),this[Is("0xf")](e,Is("0xb"),(()=>{this[Is("0x13")]&&(n.execute(),this._trackChangesExecuted=!1)}),{priority:Is("0x7")}),t.plugins.get(Is("0x1"))[Is("0x11")](Is("0x10")))}[Is("0x6")](t,e){const{suggestions:n}=e,i=this.editor[Is("0xa")].get(Is("0x4")),r=i[Is("0x8")];this[Is("0x14")]!==r&&(i.execute(),this[Is("0x13")]=!0),n&&n[Is("0x12")]((({id:t,type:e,author:n,created_at:i})=>{const r={id:t,type:e,authorId:this.editor[Is("0x5")][Is("0xc")]("Users").me.id,createdAt:new Date,data:null,hasComments:!1,attributes:{"@external":{authorName:n,createdAt:i?new Date(i):new Date,source:"importWord"}}};this.editor[Is("0x5")].get("TrackChangesEditing")[Is("0xe")](r)}))}}const vs=["format","indentBlock","locale","has","*Outdent:* %0","_registerBlockAttribute","commandName","registerAttributeLabel","FORMAT_INDENT","afterInit","_registerLegacyDescription","outdentBlock","blockIndent","enableCommand","_enableDefaultAttributesIntegration","formatBlock","getItems","plugins","TrackChangesEditing","indent","IndentEditing","_descriptionFactory","IndentBlock","type","get","outdent"];var Ss,Ls;Ss=vs,Ls=106,function(t){for(;--t;)Ss.push(Ss.shift())}(++Ls);const Ns=function(t,e){return vs[t-=0]};class Ms extends t.Plugin{[Ns("0x7")](){const t=this.editor,e=t[Ns("0xf")][Ns("0x16")](Ns("0x10"));if(t.plugins[Ns("0x1")](Ns("0x12"))&&(e[Ns("0xb")](Ns("0x11")),e[Ns("0xb")](Ns("0x17"))),t.plugins.has(Ns("0x14")))for(const t of[Ns("0x19"),Ns("0x9")])e[Ns("0xc")](t);const n=t[Ns("0x0")];e[Ns("0x3")](Ns("0xa")),e._descriptionFactory[Ns("0x5")](Ns("0xa"),Ji(n,Ns("0x6"))),this[Ns("0x8")]()}[Ns("0x8")](){const t=this.editor,e=t[Ns("0x0")],n=t[Ns("0xf")].get("TrackChangesEditing");n[Ns("0x13")].registerDescriptionCallback((t=>{if(Ns("0xd")!=t[Ns("0x15")])return;const{data:i}=t;if(!i)return;if(Ns("0x19")!=i[Ns("0x4")]&&"outdentBlock"!=i[Ns("0x4")])return;const r=t[Ns("0xe")]()[0],o=n._descriptionFactory.getItemLabel(r);return"indentBlock"==i[Ns("0x4")]?{type:Ns("0x18"),content:Ji(e,"*Indent:* %0",o)}:"outdentBlock"==i[Ns("0x4")]?{type:Ns("0x18"),content:Ji(e,Ns("0x2"),o)}:void 0}))}}var ws,Os,Fs=["input","init","editor","requires","plugins","enableCommand","TrackChangesEditing"];ws=Fs,Os=144,function(t){for(;--t;)ws.push(ws.shift())}(++Os);var Ds=function(t,e){return Fs[t-=0]};class Bs extends t.Plugin{static get[Ds("0x6")](){return[qr.Input]}[Ds("0x4")](){this[Ds("0x5")][Ds("0x0")].get(Ds("0x2"))[Ds("0x1")](Ds("0x3"))}}const Ps=["TrackChangesEditing","locale","key","manualDecorators","afterInit","has","commandName","_registerLegacyDescription","link (","link","*Remove link*","_descriptionFactory","type","newValue","get","format","LinkEditing","linkHref","*Set link:* %0","attribute","registerAttributeLabel","label","registerDescriptionCallback","plugins","map","editor","_enableDefaultAttributesIntegration","commands"];var Us,js;Us=Ps,js=227,function(t){for(;--t;)Us.push(Us.shift())}(++js);const Gs=function(t,e){return Ps[t-=0]};class Vs extends t.Plugin{[Gs("0x1")](){const t=this[Gs("0x16")];if(!t[Gs("0x14")][Gs("0x2")](Gs("0xd")))return;const e=t.plugins[Gs("0xb")](Gs("0x19")),n=t[Gs("0x18")].get("link");e._enableDefaultAttributesIntegration(Gs("0x6"),["linkHref",...n.manualDecorators[Gs("0x15")]((t=>t.id))]),e[Gs("0x17")]("unlink");for(const t of n[Gs("0x0")])e[Gs("0x8")][Gs("0x11")](t.id,Gs("0x5")+t[Gs("0x12")].toLowerCase()+")");e[Gs("0x8")][Gs("0x13")]((e=>{if(Gs("0x10")!=e[Gs("0x9")])return;const{data:n}=e;if(!n||Gs("0xe")!=n[Gs("0x1b")])return;const i=n[Gs("0xa")],r=t[Gs("0x1a")];return{type:Gs("0xc"),content:null==i?Ji(r,Gs("0x7")):Ji(r,Gs("0xf"),'"'+i+'"')}})),this[Gs("0x4")]()}[Gs("0x4")](){const t=this[Gs("0x16")],e=t[Gs("0x1a")];t[Gs("0x14")][Gs("0xb")](Gs("0x19"))[Gs("0x8")][Gs("0x13")]((t=>{if("formatInline"!=t[Gs("0x9")])return;const{data:n}=t;if(n){if("link"==n[Gs("0x3")]){const t=n.commandParams[0];return{type:Gs("0xc"),content:Ji(e,Gs("0xf"),'"'+t+'"')}}return"unlink"==n[Gs("0x3")]?{type:Gs("0xc"),content:Ji(e,Gs("0x7"))}:void 0}}))}}const Hs=["LegacyTodoListEditing","replace","afterInit","blockName","_selectedElements","bulleted","indentList","formatBlock","length","parent","slice","element","commandName","*Change to:* %0","*Uncheck item*","*Outdent:* %0","todo","document","getAttribute","model","nextSibling","TrackChangesEditing","ELEMENT_LIST_ITEM","get","schema","name","add","ELEMENT_NUMBERED_LIST","markBlockFormat","registerElementLabel","enableCommand","push","getSelectedBlocks","value","formatInline","type","numberedList","end","previousSibling","_descriptionFactory","selection","format","execute","listIndent","listItem","change","plugins","registerDescriptionCallback","*Check item*","numbered","outdentList","checkTodoList","List","todoListChecked","createPositionAt","from","isObject","filter","todoList","LegacyListEditing","findIndex","*Indent:* %0","has","locale","bulletedList","listType","commands"];var zs,Ws;zs=Hs,Ws=242,function(t){for(;--t;)zs.push(zs.shift())}(++Ws);const Ks=function(t,e){return Hs[t-=0]};class qs extends t.Plugin{[Ks("0x1c")](){const t=this.editor,e=t[Ks("0x16")];if(!t[Ks("0x5")][Ks("0x15")](Ks("0x12")))return;const n=t.plugins.get(Ks("0x2f")),i=t[Ks("0x5")][Ks("0x15")](Ks("0x1a"));function r(e){return()=>{const i=t[Ks("0x2d")][Ks("0x2b")][Ks("0x42")],r=t[Ks("0x19")][Ks("0x31")](e);if(r[Ks("0x3b")])return void t[Ks("0x1")]("paragraph",{});const o=e.slice(0,-4),s=function(t,e,n){let i=Array[Ks("0xe")](t)[Ks("0x10")]((t=>{return e=t,(i=n).checkChild(e[Ks("0x23")],Ks("0x3"))&&!i[Ks("0xf")](e);var e,i}));i=i.filter((t=>!t.is(Ks("0x25"),Ks("0x3"))||t[Ks("0x2c")](Ks("0x18"))!=e));const r=new Set;for(const t of i)t.is(Ks("0x25"),Ks("0x3"))?r[Ks("0x34")]($s(t)):r[Ks("0x34")](t);return Array.from(r)}(i[Ks("0x3a")](),o,t[Ks("0x2d")][Ks("0x32")]);t.model[Ks("0x4")]((()=>{for(const t of s)n[Ks("0x36")](t,{commandName:e,commandParams:[{forceValue:!r[Ks("0x3b")]}],formatGroupId:Ks("0x1d")},Xs(t))}))}}function o(e){return()=>{const i=function(t){let e=Array[Ks("0xe")](t);const n=e[Ks("0x13")]((t=>Ks("0x3")!=t[Ks("0x33")]));return n>-1&&(e=e[Ks("0x24")](0,n)),e}(t[Ks("0x2d")][Ks("0x2b")].selection[Ks("0x3a")]()),r=t.model.createRange(t.model[Ks("0xd")](i[0],"before"),t.model[Ks("0xd")](i[i[Ks("0x22")]-1],Ks("0x3f")));t[Ks("0x2d")][Ks("0x4")]((()=>{n[Ks("0x36")](r,{commandName:e,commandParams:[],formatGroupId:Ks("0x2")},function(t){const e=new Set;for(const n of t){let t=n[Ks("0x2e")];for(;t&&t[Ks("0x2c")](Ks("0x2"))>n[Ks("0x2c")](Ks("0x2"));)e[Ks("0x34")](t),t=t[Ks("0x2e")]}return Array.from(e)}(i))}))}}n.enableCommand(Ks("0x3e"),r("numberedList")),n[Ks("0x38")](Ks("0x17"),r(Ks("0x17"))),i&&n[Ks("0x38")](Ks("0x11"),r(Ks("0x11"))),n[Ks("0x38")](Ks("0x20"),o("indentList")),n.enableCommand(Ks("0x9"),o("outdentList")),i&&n[Ks("0x38")]("checkTodoList",(()=>{const e=t[Ks("0x19")][Ks("0x31")](Ks("0xa")),i=Array[Ks("0xe")](e[Ks("0x1e")]);i[Ks("0x10")]((t=>t[Ks("0x2c")](Ks("0xc"))!=e.value)),t[Ks("0x2d")][Ks("0x4")]((()=>{for(const t of i)n[Ks("0x36")](t,{commandName:"checkTodoList",commandParams:[{forceValue:!e[Ks("0x3b")]}]})}))})),n[Ks("0x41")][Ks("0x37")](Ks("0x3"),(t=>Ji(e,Ks("0x30"),t))),n._descriptionFactory[Ks("0x6")]((t=>{if(Ks("0x21")!=t.type&&Ks("0x3c")!=t[Ks("0x3d")])return;const{data:n}=t;if(n){if("numberedList"==n[Ks("0x26")]||Ks("0x17")==n[Ks("0x26")]||Ks("0x11")==n[Ks("0x26")])switch(n[Ks("0x26")][Ks("0x1b")](Ks("0xb"),"")){case Ks("0x1f"):return i(Ji(e,"ELEMENT_BULLETED_LIST"));case Ks("0x8"):return i(Ji(e,Ks("0x35")));case Ks("0x2a"):return i(Ji(e,"ELEMENT_TODO_LIST"))}if(Ks("0x20")==n[Ks("0x26")])return{type:Ks("0x0"),content:Ji(e,Ks("0x14"),Ji(e,"ELEMENT_LIST_ITEM"))};if("outdentList"==n.commandName)return{type:Ks("0x0"),content:Ji(e,Ks("0x29"),Ji(e,Ks("0x30")))};if(Ks("0xa")==n[Ks("0x26")])return n.commandParams[0].forceValue?{type:Ks("0x0"),content:Ji(e,Ks("0x7"))}:{type:"format",content:Ji(e,Ks("0x28"))}}function i(t){return{type:Ks("0x0"),content:Ji(e,Ks("0x27"),t)}}}))}}function $s(t){const e=t[Ks("0x2c")]("listIndent");if(0==e)return t;let n=t;for(;t[Ks("0x40")]&&t[Ks("0x40")].is("element",Ks("0x3"));){const i=t[Ks("0x40")].getAttribute("listIndent");if(i==e)n=t[Ks("0x40")];else if(i<e)break;t=t[Ks("0x40")]}return n}function Xs(t){const e=[];if(t.is("element",Ks("0x3"))&&t[Ks("0x2c")](Ks("0x2"))>0){let n=t[Ks("0x2e")];for(;n&&"listItem"==n[Ks("0x33")]&&n[Ks("0x2c")]("listIndent")==t[Ks("0x2c")](Ks("0x2"));)e[Ks("0x39")](n),n=n.nextSibling}return e}const Zs=["getSelectedBlocks","numbered","reversed","format","commandName","formatInline","locale","TrackChangesEditing","forward","listType","listStyle","registerDescriptionCallback","getSiblingNodes","LegacyListUtils","before","plugins","_getSuggestionBlocks","toUpperCase","_getTranslationKeyForListStyle","getFirstPosition","_getSuggestionBlocksForListStyle","type","listItem","*Format:* set start index to %0","listReversed","formatBlock","model","handleListStartCommand","from","length","listStart","backward","unshift","markMultiRangeBlockFormat","handleListStyleCommand","flat","document","*Format:* set order to regular","element","bind","getLastPosition","_LIST_","*Format:* set order to reversed","get","handleDescriptions","selection","styles","commandParams","map","enableCommand","replace","handleListReversedCommand","createRange","startIndex","change","afterInit","filter","push","editor","createPositionAt","getAttribute"];var Ys,Js;Ys=Zs,Js=309,function(t){for(;--t;)Ys.push(Ys.shift())}(++Js);const Qs=function(t,e){return Zs[t-=0]};class tx extends t.Plugin{[Qs("0x33")](){if(!this[Qs("0x36")][Qs("0xb")].has("LegacyListPropertiesEditing"))return;const t=this.editor.config[Qs("0x27")]("list.properties"),e=this[Qs("0x36")][Qs("0xb")][Qs("0x27")](Qs("0x3"));t[Qs("0x2a")]&&e[Qs("0x2d")](Qs("0x6"),this.handleListStyleCommand[Qs("0x23")](this)),t[Qs("0x3b")]&&e[Qs("0x2d")]("listReversed",this[Qs("0x2f")].bind(this)),t[Qs("0x31")]&&e[Qs("0x2d")](Qs("0x1a"),this[Qs("0x17")][Qs("0x23")](this)),e._descriptionFactory[Qs("0x7")](this.handleDescriptions.bind(this))}[Qs("0x1e")](t,e={}){const n=this[Qs("0x36")].plugins[Qs("0x27")]("TrackChangesEditing"),i=this[Qs("0x10")]();this[Qs("0x36")][Qs("0x16")][Qs("0x32")]((()=>{n[Qs("0x1d")](i,{commandName:Qs("0x6"),commandParams:[{type:e[Qs("0x11")]}],formatGroupId:"listStyle"})}))}handleListReversedCommand(t,e={}){const n=this[Qs("0x36")][Qs("0xb")].get(Qs("0x3")),i=this[Qs("0xc")]((t=>t.is("element",Qs("0x12"))&&Qs("0x3a")===t[Qs("0x38")](Qs("0x5"))));if(i.length<1)return;const r=i[Qs("0x2c")]((t=>this[Qs("0x36")].model[Qs("0x30")](this[Qs("0x36")][Qs("0x16")][Qs("0x37")](t,Qs("0xa")),this.editor[Qs("0x16")].createPositionAt(t,0))));this[Qs("0x36")][Qs("0x16")][Qs("0x32")]((()=>{n.markMultiRangeBlockFormat(r,{commandName:"listReversed",commandParams:[{reversed:e[Qs("0x3b")]}],formatGroupId:Qs("0x14")})}))}handleListStartCommand(t,e={}){const n=this[Qs("0x36")][Qs("0xb")].get(Qs("0x3")),i=this[Qs("0xc")]((t=>t.is(Qs("0x22"),Qs("0x12"))&&Qs("0x3a")===t.getAttribute(Qs("0x5"))));if(i[Qs("0x19")]<1)return;const r=i[Qs("0x2c")]((t=>this[Qs("0x36")][Qs("0x16")][Qs("0x30")](this[Qs("0x36")][Qs("0x16")][Qs("0x37")](t,Qs("0xa")),this[Qs("0x36")].model[Qs("0x37")](t,0))));this[Qs("0x36")][Qs("0x16")][Qs("0x32")]((()=>{n[Qs("0x1d")](r,{commandName:Qs("0x1a"),commandParams:[{startIndex:e[Qs("0x31")]}],formatGroupId:"listStart"})}))}[Qs("0x28")](t){if(Qs("0x15")!=t[Qs("0x11")]&&Qs("0x1")!=t[Qs("0x11")])return;const e=this[Qs("0x36")][Qs("0x2")],{data:n}=t;if(!n)return;let i,r;switch(n[Qs("0x0")]){case Qs("0x6"):i="*Change to:* %0",r={type:Qs("0x3c"),content:Ji(e,i,Ji(e,this[Qs("0xe")](n.commandParams[0][Qs("0x11")])))};break;case Qs("0x14"):i=n[Qs("0x2b")][0][Qs("0x3b")]?Qs("0x26"):Qs("0x21"),r={type:"format",content:Ji(e,i)};break;case Qs("0x1a"):i=Qs("0x13"),r={type:Qs("0x3c"),content:Ji(e,i,n[Qs("0x2b")][0][Qs("0x31")])}}return r}_getSuggestionBlocksForListStyle(){var t,e,n,i;const r=this[Qs("0x36")][Qs("0xb")][Qs("0x27")](Qs("0x9"));let o=Array.from(this[Qs("0x36")][Qs("0x16")].document[Qs("0x29")][Qs("0x39")]());return(null===(t=o[0])||void 0===t?void 0:t.is(Qs("0x22"),Qs("0x12")))&&o[Qs("0x1c")](...r[Qs("0x8")](this[Qs("0x36")].model[Qs("0x20")][Qs("0x29")][Qs("0xf")](),Qs("0x1b"))),(null===(e=o[o[Qs("0x19")]-1])||void 0===e?void 0:e.is(Qs("0x22"),Qs("0x12")))&&o[Qs("0x35")](...r[Qs("0x8")](this.editor[Qs("0x16")][Qs("0x20")][Qs("0x29")][Qs("0x24")](),Qs("0x4"))),o=[...new Set(o)],(null===(i=null===(n=this.editor[Qs("0x16")][Qs("0x20")][Qs("0x29")][Qs("0xf")]())||void 0===n?void 0:n.parent)||void 0===i?void 0:i.is("element",Qs("0x12")))&&(o=o[Qs("0x34")]((t=>t.is(Qs("0x22"),Qs("0x12"))))),o}[Qs("0xc")](t){const e=this.editor.plugins[Qs("0x27")](Qs("0x9"));let n=Array[Qs("0x18")](this[Qs("0x36")].model[Qs("0x20")][Qs("0x29")].getSelectedBlocks()).filter(t)[Qs("0x2c")]((t=>{const n=this[Qs("0x36")][Qs("0x16")][Qs("0x37")](t,0);return[...e[Qs("0x8")](n,Qs("0x1b")),...e[Qs("0x8")](n,"forward")]}))[Qs("0x1f")]();return n=[...new Set(n)],n}_getTranslationKeyForListStyle(t){return"ELEMENT_"+this[Qs("0x36")].plugins.get(Qs("0x9")).getListTypeFromListStyleType(t)[Qs("0xd")]()+Qs("0x25")+t[Qs("0xd")]()[Qs("0x2e")](/-/g,"_")}}const ex=["for","locale","downcastDispatcher","MediaEmbedEditing","afterInit","dataDowncast","editor","data","registerElementLabel","enableCommand","mediaEmbed","media","has","ELEMENT_MEDIA","plugins","conversion","attribute:url:media","showSuggestionHighlights","elementToElement","div","high"];var nx,ix;nx=ex,ix=231,function(t){for(;--t;)nx.push(nx.shift())}(++ix);const rx=function(t,e){return ex[t-=0]};class ox extends t.Plugin{[rx("0x4")](){const t=this[rx("0x6")];if(!t[rx("0xe")][rx("0xc")](rx("0x3")))return;const e=t[rx("0xe")].get("TrackChangesEditing"),n=t[rx("0x1")];e[rx("0x9")](rx("0xa")),e._descriptionFactory[rx("0x8")](rx("0xb"),(t=>Ji(n,rx("0xd"),t))),t[rx("0xf")][rx("0x0")](rx("0x5"))[rx("0x12")]({model:rx("0xb"),view:(t,{writer:e,options:n})=>{if(n.showSuggestionHighlights)return e.createEmptyElement(rx("0x13"))},converterPriority:rx("0x14")}),t[rx("0x7")][rx("0x2")].on(rx("0x10"),((t,e,n)=>{n.options[rx("0x11")]&&t.stop()}),{priority:rx("0x14")})}}const sx=["plugins","mention","MentionEditing","afterInit","enableCommand","TrackChangesEditing"];var xx,ax;xx=sx,ax=358,function(t){for(;--t;)xx.push(xx.shift())}(++ax);const cx=function(t,e){return sx[t-=0]};class lx extends t.Plugin{[cx("0x5")](){const t=this.editor;t[cx("0x2")].has(cx("0x4"))&&t[cx("0x2")].get(cx("0x1"))[cx("0x0")](cx("0x3"))}}const ux=["_descriptionFactory","get","TrackChangesEditing","afterInit","PageBreakEditing","pageBreak","ELEMENT_PAGE_BREAK","enableCommand","locale","editor","has","plugins"];var dx,gx;dx=ux,gx=219,function(t){for(;--t;)dx.push(dx.shift())}(++gx);const fx=function(t,e){return ux[t-=0]};class hx extends t.Plugin{[fx("0x0")](){const t=this[fx("0x6")];if(!t.plugins[fx("0x7")](fx("0x1")))return;t.plugins[fx("0xa")](fx("0xb"))[fx("0x4")](fx("0x2"));const e=t[fx("0x8")][fx("0xa")](fx("0xb")),n=t[fx("0x5")];e[fx("0x9")].registerElementLabel(fx("0x2"),(t=>Ji(n,fx("0x3"),t)))}}const mx=["isBlock","commandName","insertParagraph","_registerLegacyDescription","*Insert:* %0","enableCommand","mapper","Paragraph","getItemLabel","formatBlock","editor","schema","TrackChangesEditing","options","editing","locale","afterInit","$text","has","registerDescriptionCallback","get","data","markerRange","ck-suggestion-marker--active","activeMarkers","includes","getFirstRange","*Change to:* %0","addMarker:suggestion:insertion","consumable","end","insertion","isLimit","_descriptionFactory","showSuggestionHighlights","isTouching","markerName","consume","addClass","start","plugins","writer","highest","ELEMENT_PARAGRAPH","model","ck-suggestion-marker-split","nodeAfter","paragraph","name","type","bindElementToMarker","span"];var px,bx;px=mx,bx=200,function(t){for(;--t;)px.push(px.shift())}(++bx);const Ex=function(t,e){return mx[t-=0]};class _x extends t.Plugin{[Ex("0x18")](){const t=this[Ex("0x12")];if(!t[Ex("0x30")][Ex("0x1a")](Ex("0xf")))return;const e=t[Ex("0x17")],n=t[Ex("0x30")][Ex("0x1c")](Ex("0x14"));n[Ex("0x29")].registerElementLabel(Ex("0x3"),(t=>Ji(e,Ex("0x33"),t))),n._enableDefaultAttributesIntegration(Ex("0x3")),n[Ex("0xd")](Ex("0xa")),t[Ex("0x16")].downcastDispatcher.on("addMarker:suggestion:insertion",Tx(t),{priority:Ex("0x32")}),t[Ex("0x1d")].downcastDispatcher.on(Ex("0x24"),((e,n,i)=>{i[Ex("0x15")][Ex("0x2a")]&&Tx(t,{showActiveMarker:!1})(e,n,i)}),{priority:Ex("0x32")});const i=n[Ex("0x29")];i.registerDescriptionCallback((n=>{if(Ex("0x27")!==n[Ex("0x5")])return;const{start:r,end:o}=n[Ex("0x22")]();if(!r[Ex("0x2b")](o)||!r[Ex("0x2")])return;const s=t[Ex("0x0")][Ex("0x13")],x=r[Ex("0x2")];return s[Ex("0x8")](x)&&!s.isLimit(x)&&s.checkChild(x,Ex("0x19"))?{type:"insertion",content:Ji(e,Ex("0xc"),i[Ex("0x10")](x,1))}:void 0})),this[Ex("0xb")]()}[Ex("0xb")](){const t=this[Ex("0x12")],e=t[Ex("0x17")];t[Ex("0x30")][Ex("0x1c")](Ex("0x14"))._descriptionFactory[Ex("0x1b")]((t=>{if(Ex("0x11")!=t.type)return;const{data:n}=t;return n&&Ex("0x3")==n[Ex("0x9")]?{type:"format",content:Ji(e,Ex("0x23"),Ji(e,Ex("0x33")))}:void 0}))}}function Tx(t,{showActiveMarker:e=!0}={}){return(n,i,r)=>{const o=t[Ex("0x30")][Ex("0x1c")](Ex("0x14")),s=i[Ex("0x1e")][Ex("0x2f")],x=i[Ex("0x1e")][Ex("0x26")],a=t[Ex("0x0")][Ex("0x13")];if(!s[Ex("0x2b")](x)||!s[Ex("0x2")])return;const c=s[Ex("0x2")];if(a[Ex("0x8")](c)&&!a[Ex("0x28")](c)&&a.checkChild(c,"$text")){if(!r[Ex("0x25")][Ex("0x2d")](i[Ex("0x1e")],n[Ex("0x4")]))return;const t=r.writer.createUIElement(Ex("0x7"),{class:Ex("0x1")}),s=r[Ex("0xe")].toViewPosition(x);e&&o[Ex("0x20")][Ex("0x21")](i[Ex("0x2c")])&&r[Ex("0x31")][Ex("0x2e")](Ex("0x1f"),t),r.writer.insert(s,t),r[Ex("0xe")][Ex("0x6")](t,i.markerName)}}}const yx=["has","get","afterInit","formatInline","*Remove all formatting*","commandName","formatBlock","removeFormat","TrackChangesEditing","plugins","editor","type","registerDescriptionCallback","RemoveFormatEditing","format"];var Cx,Ax;Cx=yx,Ax=151,function(t){for(;--t;)Cx.push(Cx.shift())}(++Ax);const kx=function(t,e){return yx[t-=0]};class Ix extends t.Plugin{[kx("0x1")](){const t=this[kx("0x9")];t.plugins[kx("0xe")](kx("0xc"))&&(t[kx("0x8")][kx("0x0")](kx("0x7"))._enableDefaultAttributesIntegration(kx("0x6")),this._registerLegacyDescription())}_registerLegacyDescription(){const t=this[kx("0x9")];t[kx("0x8")][kx("0x0")](kx("0x7"))._descriptionFactory[kx("0xb")]((e=>{if(kx("0x5")!=e.type&&kx("0x2")!=e[kx("0xa")])return;const{data:n}=e;return n&&kx("0x6")==n[kx("0x4")]?{type:kx("0xd"),content:Ji(t.locale,kx("0x3"))}:void 0}))}}const Rx=["has","trackChanges","goToNextRestrictedEditingException","get","RestrictedEditingModeEditing","editor","discardSuggestion","goToPreviousRestrictedEditingException","afterInit","plugins","acceptSuggestion","discardSelectedSuggestions","enableCommand","TrackChangesEditing"];var vx,Sx;vx=Rx,Sx=186,function(t){for(;--t;)vx.push(vx.shift())}(++Sx);const Lx=function(t,e){return Rx[t-=0]};class Nx extends t.Plugin{[Lx("0x4")](){const t=this[Lx("0x1")];if(!t[Lx("0x5")][Lx("0xa")](Lx("0x0")))return;const e=t[Lx("0x5")].get(Lx("0x9"));e.enableCommand(Lx("0x3")),e[Lx("0x8")](Lx("0xc"));const n=t.plugins[Lx("0xd")]("RestrictedEditingModeEditing");n.enableCommand(Lx("0xb")),n.enableCommand(Lx("0x6")),n[Lx("0x8")](Lx("0x2")),n[Lx("0x8")]("acceptAllSuggestions"),n[Lx("0x8")]("discardAllSuggestions"),n[Lx("0x8")]("acceptSelectedSuggestions"),n[Lx("0x8")](Lx("0x7"))}}const Mx=["TrackChangesEditing","showSuggestionHighlights","createPositionBefore","addClass","span","requires","high","split","createUIElement","locale","downcastDispatcher","markerName","ck-suggestion-marker-","addMarker:suggestion:deletion","enableCommand","element","data","writer","addMarker:suggestion:insertion","bindElementToMarker","options","insert","test","softBreak","getItems","deletion","activeMarkers","shiftEnter","toViewPosition","markerRange","editor","editing","init","mapper","model","_descriptionFactory","ELEMENT_LINE_BREAK","includes"];var wx,Ox;wx=Mx,Ox=499,function(t){for(;--t;)wx.push(wx.shift())}(++Ox);const Fx=function(t,e){return Mx[t-=0]};class Dx extends t.Plugin{static get[Fx("0x0")](){return[Eo.ShiftEnter]}[Fx("0x1b")](){const t=this[Fx("0x19")],e=t.plugins.get("TrackChangesEditing");e[Fx("0x9")](Fx("0x16")),t[Fx("0x1a")][Fx("0x5")].on(Fx("0xd"),Bx(t),{priority:Fx("0x1")}),t.editing.downcastDispatcher.on(Fx("0x8"),Bx(t),{priority:Fx("0x1")}),t[Fx("0xb")][Fx("0x5")].on("addMarker:suggestion",((e,n,i)=>{i[Fx("0xf")][Fx("0x22")]&&Bx(t,{showActiveMarker:!1})(e,n,i)})),e[Fx("0x1e")].registerElementLabel(Fx("0x12"),(e=>Ji(t[Fx("0x4")],Fx("0x1f"),e)))}}function Bx(t,{showActiveMarker:e=!0}={}){return(n,i,r)=>{const o=t.plugins.get(Fx("0x21"));if(!r.consumable[Fx("0x11")](i[Fx("0x18")],n.name))return;const s=t[Fx("0x1d")];for(const t of i[Fx("0x18")][Fx("0x13")]()){if(!t.is(Fx("0xa"),Fx("0x12")))continue;const n=Fx("0x14")==i[Fx("0x6")][Fx("0x2")](":")[1]?"merge":Fx("0x2"),x=r[Fx("0xc")][Fx("0x3")](Fx("0x25"),{class:Fx("0x7")+n}),a=r[Fx("0x1c")][Fx("0x17")](s[Fx("0x23")](t));e&&o[Fx("0x15")][Fx("0x20")](i[Fx("0x6")])&&r.writer[Fx("0x24")]("ck-suggestion-marker--active",x),r.writer[Fx("0x10")](a,x),r[Fx("0x1c")][Fx("0xe")](x,i[Fx("0x6")])}}}const Px=["restrictedEditingException","getRanges","FORMAT_RESTRICTED_DISABLED","document","formatBlock","model","editor","type","format","_descriptionFactory","get","plugins","locale","commandName","commands","enableCommand","StandardEditingModeEditing","value","isCollapsed","change","forceValue","from","selection","FORMAT_RESTRICTED_ENABLED","commandParams","formatInline","registerDescriptionCallback","TrackChangesEditing"];var Ux,jx;Ux=Px,jx=361,function(t){for(;--t;)Ux.push(Ux.shift())}(++jx);const Gx=function(t,e){return Px[t-=0]};class Vx extends t.Plugin{afterInit(){const t=this[Gx("0x9")],e=t[Gx("0x8")],n=t[Gx("0xf")];if(!t[Gx("0xe")].has(Gx("0x13")))return;const i=t[Gx("0xe")][Gx("0xd")](Gx("0x2")),r=Gx("0x3"),o=t[Gx("0x11")][Gx("0xd")](r);i[Gx("0x12")](r,((t,n={})=>{const s=e[Gx("0x6")][Gx("0x19")];if(s[Gx("0x15")])return void t(n);const x=void 0!==n[Gx("0x17")]?n[Gx("0x17")]:!o[Gx("0x14")];e[Gx("0x16")]((()=>{const t=Array[Gx("0x18")](s[Gx("0x4")]());for(const n of t){const t=x?[n]:Jr(r,n,e);for(const e of t)i.markInlineFormat(e,{commandName:r,commandParams:[{forceValue:x}]})}}))})),i[Gx("0xc")][Gx("0x1")]((t=>{if(Gx("0x7")!=t[Gx("0xa")]&&Gx("0x0")!=t.type)return;const{data:e}=t;return e&&e[Gx("0x10")]==r?e[Gx("0x1b")][0].forceValue?{type:"format",content:Ji(n,Gx("0x1a"))}:{type:Gx("0xb"),content:Ji(n,Gx("0x5"))}:void 0}))}}const Hx=["ghsAttributes","locale","DataSchema","get","registerDescriptionCallback","has","commandName","normalizeConfig","type","block","FORMAT_STYLE","GeneralHtmlSupport","commandParams","toLowerCase","_registerLegacyDescription","_registerInlineAttribute","add","style","registerAttributeLabel","_enableDefaultAttributesIntegration","config","formatBlock","_descriptionFactory","inline","editor","TrackChangesEditing","element","styleName","plugins","definitions","forceValue","*Remove format:* %0","_registerBlockAttribute"];var zx,Wx;zx=Hx,Wx=264,function(t){for(;--t;)zx.push(zx.shift())}(++Wx);const Kx=function(t,e){return Hx[t-=0]};class qx extends t.Plugin{afterInit(){const t=this[Kx("0x18")];if(!t[Kx("0x1c")][Kx("0x5")]("Style")||!t.plugins[Kx("0x5")]("DataSchema"))return;const e=t[Kx("0x1c")][Kx("0x3")]("TrackChangesEditing"),n=t.locale,i=t[Kx("0x14")][Kx("0x3")]("style"),r=t[Kx("0x1c")].get(Kx("0xb")),o=t.plugins[Kx("0x3")]("StyleUtils")[Kx("0x7")](t[Kx("0x1c")][Kx("0x3")](Kx("0x2")),i[Kx("0x1d")]);e[Kx("0x13")]("style");const s=new Set;for(const t of o[Kx("0x9")]){const e=r.getGhsAttributeNameForElement(t[Kx("0x1a")]);s[Kx("0x10")](e)}const x=new Set;for(const t of o[Kx("0x17")]){const e=r.getGhsAttributeNameForElement(t[Kx("0x1a")]);x[Kx("0x10")](e);for(const e of t[Kx("0x0")])x[Kx("0x10")](e)}for(const t of s)e[Kx("0x20")](t),e[Kx("0x16")][Kx("0x12")](t,Ji(n,"FORMAT_STYLE"));for(const t of x)e[Kx("0xf")](t),e._descriptionFactory[Kx("0x12")](t,Ji(n,Kx("0xa")));this._registerLegacyDescription()}[Kx("0xe")](){const t=this[Kx("0x18")],e=t[Kx("0x1")];t[Kx("0x1c")][Kx("0x3")](Kx("0x19"))[Kx("0x16")][Kx("0x4")]((t=>{if(Kx("0x15")!=t.type&&"formatInline"!=t[Kx("0x8")])return;const{data:n}=t;return n&&Kx("0x11")===n[Kx("0x6")]?n[Kx("0xc")][0][Kx("0x1e")]?{type:"format",content:Ji(e,"*Set format:* %0",n[Kx("0xc")][0][Kx("0x1b")][Kx("0xd")]())}:{type:"format",content:Ji(e,Kx("0x1f"),n[Kx("0xc")][0][Kx("0x1b")][Kx("0xd")]())}:void 0}))}}const $x=["getRanges","insertTableColumnLeft","highest","options","push","includes","registerCustomCallback","afterInit","accept","item","registerDescriptionCallback","differ","MIN_SAFE_INTEGER","rowspan","values","order","model","selectTableColumn","has","startsWith","_suggestionFactory","createRangeIn","getSelectionAffectedTableCells","insertion","tableRow","deletion","nodeBefore","isEqual","TrackChangesEditing","last","getContainedElement","span","markMultiRangeInsertion","low","findAncestor","showSuggestionHighlights","$textProxy","some","end","name","enableCommand","join","tableCell","maxColumn","from","type","refresh","above","left","removeTableColumn","registerElementLabel","commands","execute","table","_splitMarkerName","max","discard","ELEMENT_TABLE_WITH_TEXT","getColumnIndexes","plugins","_getSuggestionCoords","getRowIndexes","TableUtils","ELEMENT_TABLE_COLUMN_WITH_TEXT","cell","getChanges","setSelection","root","getItems","hasAttribute","createRangeOn","min","nodeAfter","get","getFirstRange","_tableSuggestions","isArray","tableColumn","MAX_SAFE_INTEGER","locale","insertTableRowAbove","filter","getSuggestion","getChangedMarkers","forceValue","fromRange","length","classes","createTableWalker","selectTableRow","every","ELEMENT_TABLE_COLUMN","getChildren","_descriptionFactory","insertTable","start","rootName","isTouching","data","batch","substr","*Insert:* %0","_acceptFormatSuggestionCallbackFactory","registerPostFixer","first","enqueueChange","ELEMENT_TABLE_ROW","getCellLocation","_getCoordsForCells","ELEMENT_TABLE_ROW_WITH_TEXT","removeTableRow","position","insertTableRowBelow","*Remove:* %0","addRange","toLowerCase","oldRange","detach","document","map","$graveyard","downcastDispatcher","subType","_setupColumnsRowsFixing","getAttribute","editor","change","_tablePostFixingSubtypes","createPositionAt"];var Xx,Zx;Xx=$x,Zx=494,function(t){for(;--t;)Xx.push(Xx.shift())}(++Zx);const Yx=function(t,e){return $x[t-=0]};class Jx extends t.Plugin{constructor(t){super(t),this[Yx("0x14")]=[Yx("0x2e"),Yx("0x63")],this[Yx("0x61")]=new Set}[Yx("0x1d")](){const t=this[Yx("0x12")],e=t[Yx("0x26")][Yx("0xb")].selection;if(!t[Yx("0x51")][Yx("0x28")]("TableEditing"))return;const n=t[Yx("0x65")],i=t[Yx("0x51")].get(Yx("0x32")),r=t.plugins.get(Yx("0x54"));i._descriptionFactory[Yx("0x48")]("table",(t=>Ji(n,"ELEMENT_TABLE",t))),this._setupColumnsRowsFixing(),i[Yx("0x3e")](Yx("0x74")),i[Yx("0x3e")](Yx("0x6f")),i[Yx("0x3e")](Yx("0x27"));for(const n of[Yx("0x66"),Yx("0x5")]){const o=t[Yx("0x49")][Yx("0x5f")](n);i[Yx("0x3e")](n,(n=>{t.model[Yx("0x13")]((t=>{n();const s=Yx("0x45")===o[Yx("0x25")],x=r[Yx("0x2c")](e),a=r[Yx("0x53")](x),c=s?a.first-1:a[Yx("0x33")]+1,l=x[0][Yx("0x38")](Yx("0x4b")),u=r.createTableWalker(l,{startRow:c,endRow:c}),d=Array[Yx("0x42")](u)[Yx("0xc")]((e=>t[Yx("0x5c")](e[Yx("0x56")])));i[Yx("0x36")](d,Yx("0x2e"))}))}))}for(const n of[Yx("0x17"),"insertTableColumnRight"]){const o=t[Yx("0x49")][Yx("0x5f")](n);i[Yx("0x3e")](n,(n=>{t.model[Yx("0x13")]((t=>{n();const s=Yx("0x46")===o[Yx("0x25")],x=r.getSelectionAffectedTableCells(e),a=r.getColumnIndexes(x),c=s?a.first-1:a[Yx("0x33")]+1,l=x[0][Yx("0x38")](Yx("0x4b")),u=r[Yx("0x6e")](l,{startRow:0,column:c,includeAllSlots:!1}),d=Array[Yx("0x42")](u)[Yx("0xc")]((e=>t.createRangeOn(e[Yx("0x56")])));i[Yx("0x36")](d,"tableColumn")}))}))}for(const n of[Yx("0x3"),"removeTableColumn"]){const o=n[Yx("0x7a")](11),s=o[Yx("0x8")](),x=s[Yx("0x7a")](0,3)+"span",a=Yx("0x4b")+o,c=Yx("0x5d")+o,l="max"+o;i[Yx("0x3e")](n,(()=>{t[Yx("0x26")].change((t=>{const o=r[Yx("0x2c")](e),u=o[0].findAncestor("table");let d;if(Yx("0x3")==n){const t=r[Yx("0x53")](o);d={startRow:t[Yx("0x7e")],endRow:t[Yx("0x33")],includeAllSlots:!0}}else{const t=r[Yx("0x50")](o);d={startColumn:t[Yx("0x7e")],endColumn:t[Yx("0x33")],includeAllSlots:!0}}const g=r[Yx("0x6e")](u,d),f=Array[Yx("0x42")](g).map((({cell:t})=>t)),h=Qx(f[Yx("0x67")]((t=>t.hasAttribute(x)))),m=Qx(f[Yx("0x67")]((t=>!t[Yx("0x5b")](x))))[Yx("0xc")]((e=>t[Yx("0x5c")](e))),p=i.markMultiRangeDeletion(m,a);if(p&&(Yx("0x2e")==p[Yx("0xf")]||"tableColumn"==p.subType)){const e=this[Yx("0x52")](p);for(const n of h){const i=t[Yx("0x5c")](n),o=r[Yx("0x0")](n),a=n[Yx("0x11")](x)-1,u=e[c],d=e[l];u<=o[s]&&o[s]+a<=d&&p.addRange(i)}}}))}))}function o(n){const i=Array[Yx("0x42")](e[Yx("0x16")]())[Yx("0xc")]((t=>s.LiveRange.fromRange(t)));t[Yx("0x26")][Yx("0x13")]((e=>{const r=e[Yx("0x79")];n=n[Yx("0x67")]((t=>Yx("0xd")!=t[Yx("0x59")][Yx("0x76")])),e[Yx("0x58")](n),t[Yx("0x49")][Yx("0x5f")](Yx("0x3"))[Yx("0x44")](),t[Yx("0x4a")](Yx("0x3"),{forceDefaultExecution:!0}),t.model.enqueueChange((()=>{t.model[Yx("0x7f")](r,(t=>{const e=i[Yx("0x67")]((t=>"$graveyard"!=t.root[Yx("0x76")]));e[Yx("0x6c")]>0&&t[Yx("0x58")](e);for(const t of i)t.detach()}))}))}))}function a(n){t[Yx("0x26")][Yx("0x13")]((i=>{const r=Array.from(e[Yx("0x16")]()).map((t=>s.LiveRange[Yx("0x6b")](t))),o=[];for(const t of n)for(const e of t[Yx("0x5a")]({shallow:!0}))o[Yx("0x1a")](e);for(const e of o)Yx("0xd")!=e[Yx("0x59")].rootName&&(i[Yx("0x58")](i[Yx("0x15")](e,0)),t[Yx("0x49")][Yx("0x5f")]("removeTableColumn")[Yx("0x44")](),t.execute(Yx("0x47"),{forceDefaultExecution:!0}));const x=r[Yx("0x67")]((t=>Yx("0xd")!=t.root[Yx("0x76")]));x[Yx("0x6c")]>0&&i[Yx("0x58")](x);for(const t of r)t[Yx("0xa")]()}))}function c(t,e){return e[Yx("0x70")]((e=>t[Yx("0x3b")]((t=>t[Yx("0x3c")][Yx("0x31")](e.start)||e[Yx("0x3c")].isEqual(t[Yx("0x75")])))))}function l(t,e){return t[Yx("0x3b")]((t=>e[Yx("0x3b")]((e=>t[Yx("0x3c")][Yx("0x77")](e[Yx("0x75")])))))}t[Yx("0x78")][Yx("0xe")].on("addMarker:suggestion",((t,e,n)=>{if(!n[Yx("0x19")][Yx("0x39")])return;const i=e[Yx("0x1f")];if(!i)return;const r=n.mapper.toViewElement(i);function o(t){return Array[Yx("0x62")](t)?t:[t]}r&&Yx("0x40")===i[Yx("0x3d")]&&(0,x.setHighlightHandling)(r,n.writer,((t,e,n)=>n.addClass(o(e[Yx("0x6d")]),t)),((t,e,n)=>n.removeClass(o(e[Yx("0x6d")]),t)))}),{priority:Yx("0x18")}),i[Yx("0x73")][Yx("0x20")]((t=>{if(Yx("0x2d")!=t[Yx("0x43")]&&"deletion"!=t[Yx("0x43")])return;const e=t[Yx("0x34")]();if(null!=e&&e.is("element",Yx("0x4b"))){if(Yx("0x2d")==t[Yx("0x43")]){const e=t[Yx("0x5a")]()[Yx("0x67")]((t=>t.is(Yx("0x3a"))))[Yx("0xc")]((t=>t[Yx("0x78")]));if(e.length)return{type:"insertion",content:Ji(n,"*Insert:* %0",Ji(n,"ELEMENT_TABLE_WITH_TEXT",'"'+e.join(" ")+'"'))}}if(Yx("0x2f")==t.type){const e=t[Yx("0x5a")]()[Yx("0x67")]((t=>t.is(Yx("0x3a"))))[Yx("0xc")]((t=>t[Yx("0x78")]));if(e.length)return{type:"deletion",content:Ji(n,Yx("0x6"),Ji(n,Yx("0x4f"),'"'+e[Yx("0x3f")](" ")+'"'))}}}})),i[Yx("0x73")][Yx("0x20")]((t=>{if("tableRow"==t.subType){const e=t[Yx("0x5a")]().filter((t=>t.is(Yx("0x3a")))).map((t=>t[Yx("0x78")])),i=this._getSuggestionCoords(t),r=i.maxRow-i.minRow+1;if("insertion"==t[Yx("0x43")])return e.length?{type:Yx("0x2d"),content:Ji(n,Yx("0x7b"),Ji(n,Yx("0x2"),[r,'"'+e.join(" ")+'"']))}:{type:"insertion",content:Ji(n,Yx("0x7b"),Ji(n,Yx("0x80"),r))};if(Yx("0x2f")==t[Yx("0x43")])return e[Yx("0x6c")]?{type:"deletion",content:Ji(n,Yx("0x6"),Ji(n,Yx("0x2"),[r,'"'+e.join(" ")+'"']))}:{type:Yx("0x2f"),content:Ji(n,"*Remove:* %0",Ji(n,Yx("0x80"),r))}}if("tableColumn"==t[Yx("0xf")]){const e=t[Yx("0x5a")]()[Yx("0x67")]((t=>t.is(Yx("0x3a")))).map((t=>t.data)),i=this[Yx("0x52")](t),r=i[Yx("0x41")]-i.minColumn+1;if(Yx("0x2d")==t[Yx("0x43")])return e[Yx("0x6c")]?{type:Yx("0x2d"),content:Ji(n,Yx("0x7b"),Ji(n,Yx("0x55"),[r,'"'+e.join(" ")+'"']))}:{type:Yx("0x2d"),content:Ji(n,Yx("0x7b"),Ji(n,"ELEMENT_TABLE_COLUMN",r))};if("deletion"==t[Yx("0x43")])return e[Yx("0x6c")]?{type:Yx("0x2f"),content:Ji(n,Yx("0x6"),Ji(n,Yx("0x55"),[r,'"'+e[Yx("0x3f")](" ")+'"']))}:{type:Yx("0x2f"),content:Ji(n,Yx("0x6"),Ji(n,Yx("0x71"),r))}}})),i[Yx("0x2a")][Yx("0x1c")](Yx("0x2d"),"tableRow",Yx("0x4e"),o),i._suggestionFactory.registerCustomCallback("deletion","tableRow",Yx("0x1e"),o),i[Yx("0x2a")][Yx("0x1c")](Yx("0x2d"),"tableColumn","discard",a),i[Yx("0x2a")][Yx("0x1c")]("deletion",Yx("0x63"),Yx("0x1e"),a),i[Yx("0x2a")][Yx("0x1c")](Yx("0x2d"),Yx("0x63"),Yx("0x3f"),c),i[Yx("0x2a")][Yx("0x1c")](Yx("0x2f"),Yx("0x63"),Yx("0x3f"),c),i[Yx("0x2a")].registerCustomCallback("insertion",Yx("0x2e"),"join",l),i[Yx("0x2a")][Yx("0x1c")](Yx("0x2f"),Yx("0x2e"),Yx("0x3f"),l)}[Yx("0x7c")](){const t=this[Yx("0x12")],e=t.model[Yx("0xb")].selection;return(n,i)=>{t[Yx("0x26")].change((r=>{const{commandName:o,commandParams:x}=i;let a=n[0][Yx("0x3c")][Yx("0x30")];x&&x[0]&&!1===x[0][Yx("0x6a")]&&(a=n[0][Yx("0x75")][Yx("0x5e")]);const c=r[Yx("0x2b")](a);if("$graveyard"==c[Yx("0x59")].rootName)return;const l=Array.from(e[Yx("0x16")]()).map((t=>s.LiveRange.fromRange(t)));r[Yx("0x58")](c),t[Yx("0x49")].get(o)[Yx("0x44")](),x.push({forceDefaultExecution:!0}),t.execute(o,...x);const u=l[Yx("0x67")]((t=>"$graveyard"!=t[Yx("0x59")][Yx("0x76")]));u[Yx("0x6c")]>0&&r.setSelection(u);for(const t of l)t[Yx("0xa")]()}))}}_getCoordsForCells(t){const e=this[Yx("0x12")][Yx("0x51")][Yx("0x5f")](Yx("0x54"));let n=Number[Yx("0x64")],i=Number[Yx("0x22")],r=Number[Yx("0x64")],o=Number[Yx("0x22")];for(const s of t){if(Yx("0xd")==s.root[Yx("0x76")])continue;const{row:t,column:x}=e.getCellLocation(s),a=s[Yx("0x5b")](Yx("0x23"))?s[Yx("0x11")](Yx("0x23"))-1:0,c=s.hasAttribute("colspan")?s[Yx("0x11")]("colspan")-1:0;n=t<n?t:n,i=t+a>i?t+a:i,r=x<r?x:r,o=x+c>o?x+c:o}return{minRow:n,maxRow:i,minColumn:r,maxColumn:o}}[Yx("0x10")](){const t=this[Yx("0x12")],e=t[Yx("0x51")][Yx("0x5f")](Yx("0x32")),n=t.plugins[Yx("0x5f")]("TableUtils");t[Yx("0x26")][Yx("0xb")].on("change:data",(()=>{const n=Array[Yx("0x42")](t[Yx("0x26")][Yx("0xb")][Yx("0x21")][Yx("0x69")]());for(const{name:t,data:i}of n){const{group:n,id:r,subType:o}=e[Yx("0x4c")](t);if("suggestion"!=n)continue;if(null!=i[Yx("0x9")])continue;const s=e[Yx("0x68")](r);this._tablePostFixingSubtypes[Yx("0x1b")](o)&&this[Yx("0x61")].add(s)}}),{priority:Yx("0x37")});const i=(t,e)=>{let i=!1;const r=e[Yx("0x5c")](t),o=t.findAncestor("table"),s=n[Yx("0x0")](t);for(const e of this[Yx("0x61")]){const n=e[Yx("0xf")],x=n[Yx("0x29")]("tablePaste"),a=n[Yx("0x7a")](x?10:5),c=a[Yx("0x8")](),l=c[Yx("0x7a")](0,3)+Yx("0x35"),u="min"+a,d=Yx("0x4d")+a;if(!e.isInContent)continue;if(o!=e[Yx("0x60")]()[Yx("0x75")].findAncestor(Yx("0x4b")))continue;if(e.isIntersectingWithRange(r))continue;const g=t[Yx("0x5b")](l)?t.getAttribute(l)-1:0,f=this[Yx("0x52")](e),h=f[u],m=f[d];h<=s[c]&&s[c]+g<=m&&(e[Yx("0x7")](r),i=!0)}return i};t[Yx("0x26")].document[Yx("0x7d")]((e=>{let n=!1;for(const r of t[Yx("0x26")][Yx("0xb")][Yx("0x21")][Yx("0x57")]())if("insert"==r.type)if(Yx("0x2e")==r[Yx("0x3d")])for(const t of r[Yx("0x4")][Yx("0x5e")][Yx("0x72")]())n=n||i(t,e);else Yx("0x40")==r[Yx("0x3d")]&&(n=n||i(r.position[Yx("0x5e")],e));return n}))}[Yx("0x52")](t){return this[Yx("0x1")](t[Yx("0x16")]().map((t=>t[Yx("0x75")][Yx("0x5e")])))}}function Qx(t){return Array[Yx("0x42")](new Set(t)[Yx("0x24")]())}const ta=["accept","has","root","value","stop","push","selection","getCellLocation","getSuggestions","highest","splitTableCellHorizontally","_areSelectedCellsMergable","isInContent","registerDescriptionCallback","get","from","mergeTableCells","add","type","mergeTableCellLeft","forceDefaultExecution","getAncestors","subType","document","return","markMultiRangeBlockFormat","TrackChangesEditing","formatInline","_isForcedDefaultExecutionBlock","TableUtils","createRangeOn","direction","_areMergableCells","isEnabled","getFirstPosition","refresh","length","findAncestor","editor","containsRange","setSelection","registerCustomCallback","commandName","set:isEnabled","author","TableEditing","*Split cell:* vertically","table","format","createTableWalker","afterInit","rootName","enableCommand","getRanges","change","size","trackChanges","_acceptFormatSuggestionCallbackFactory","_suggestionFactory","tableCell","mergeTableCellUp","execute","*Split cell:* horizontally","plugins","element","low","map","commands","splitTableCellVertically","formatBlock","model","mergeTableCellDown","requires","$graveyard","insertion","cell","mergeTableCellRight","find","filter"];var ea,na;ea=ta,na=379,function(t){for(;--t;)ea.push(ea.shift())}(++na);const ia=function(t,e){return ta[t-=0]};class ra extends t.Plugin{static get[ia("0x9")](){return[Jx]}[ia("0x42")](){const t=this[ia("0x36")],e=t.model[ia("0x27")][ia("0x16")],n=t.locale;if(!t[ia("0x0")][ia("0x11")](ia("0x3d")))return;const i=t[ia("0x0")].get(ia("0x2a")),r=t[ia("0x0")].get(ia("0x2d")),o=t.plugins.get(Jx);o._tablePostFixingSubtypes[ia("0x15")](ia("0x20")),i[ia("0x44")](ia("0x20"),(()=>{const e=r.getSelectionAffectedTableCells(t[ia("0x7")][ia("0x27")][ia("0x16")]);t[ia("0x7")].change((()=>{i[ia("0x29")](e,{commandName:ia("0x20"),commandParams:[]},[],ia("0x20"))}))})),t[ia("0x4")][ia("0x1e")](ia("0x20")).on(ia("0x4d"),((e,n)=>{t[ia("0x4")][ia("0x1e")](ia("0x48"))[ia("0x13")]&&(n[ia("0x34")]>0&&n[n[ia("0x34")]-1]&&n[n[ia("0x34")]-1][ia("0x24")]||i[ia("0x2c")]||this._areSelectedCellsMergable()||e.stop())}),{priority:ia("0x19")});for(const e of[ia("0x4c"),ia("0xd"),ia("0x8"),ia("0x23")]){const n=t[ia("0x4")][ia("0x1e")](e);i[ia("0x44")](e,(()=>{const e=t[ia("0x7")][ia("0x27")][ia("0x16")][ia("0x32")]().getAncestors()[ia("0xe")]((t=>t.is(ia("0x1"),ia("0x4b")))),r=n[ia("0x13")];t[ia("0x7")][ia("0x46")]((()=>{i[ia("0x29")]([e,r],{commandName:ia("0x20"),commandParams:[]},[],ia("0x20"))}))}))}for(const e of[ia("0x5"),ia("0x1a")]){const n=t.commands[ia("0x1e")](e);i.enableCommand(e,(()=>{const o=r.getSelectionAffectedTableCells(t.model.document.selection)[0],s=o[ia("0x35")](ia("0x3f")),{column:x,row:a}=r[ia("0x17")](o);let c=[];if("horizontally"==n[ia("0x2f")]){const t=r.createTableWalker(s,{startRow:a,endRow:a,includeAllSlots:!0});c=Array[ia("0x1f")](t)[ia("0x3")]((t=>t[ia("0xc")]))}else{const t=r[ia("0x41")](s,{column:x,includeAllSlots:!0});c=Array[ia("0x1f")](t)[ia("0x3")]((t=>t[ia("0xc")]))}t[ia("0x7")][ia("0x46")]((t=>{i.markBlockFormat(t[ia("0x2e")](o),{commandName:e,commandParams:[]},c,e)}))}))}i._descriptionFactory[ia("0x1d")]((t=>{if(ia("0x6")!=t.type&&"formatInline"!=t[ia("0x22")])return;const{data:e}=t;return e&&"mergeTableCells"==e.commandName?{type:ia("0x40"),content:Ji(n,"*Merge cells*")}:void 0})),i._descriptionFactory[ia("0x1d")]((t=>{if(ia("0x6")!=t[ia("0x22")]&&ia("0x2b")!=t[ia("0x22")])return;const{data:e}=t;return e?ia("0x5")==e[ia("0x3a")]?{type:ia("0x40"),content:Ji(n,ia("0x3e"))}:ia("0x1a")==e[ia("0x3a")]?{type:ia("0x40"),content:Ji(n,ia("0x4e"))}:void 0:void 0}));const x=o[ia("0x49")]();for(const t of[ia("0x4c"),ia("0xd"),ia("0x8"),"mergeTableCellLeft"])i[ia("0x4a")][ia("0x39")]("formatBlock",t,ia("0x10"),x);for(const t of["splitTableCellVertically",ia("0x1a")])i._suggestionFactory[ia("0x39")](ia("0x6"),t,"accept",x);i._suggestionFactory[ia("0x39")]("formatBlock","mergeTableCells",ia("0x10"),(n=>{t.model.change((i=>{const r=Array.from(e.getRanges())[ia("0x3")]((t=>s.LiveRange.fromRange(t)));i[ia("0x38")](n),t[ia("0x4")][ia("0x1e")](ia("0x20"))[ia("0x33")](),t[ia("0x4d")](ia("0x20"),{forceDefaultExecution:!0});const o=r[ia("0xf")]((t=>ia("0xa")!=t[ia("0x12")][ia("0x43")]));o[ia("0x34")]>0&&i[ia("0x38")](o);for(const t of r)t.detach()}))}));for(const e of[ia("0x4c"),ia("0x8"),ia("0x23"),ia("0xd")]){const n=t[ia("0x4")].get(e);n.on(ia("0x3b"),((e,i,r)=>{if(r){const i=t[ia("0x7")][ia("0x27")][ia("0x16")][ia("0x32")]()[ia("0x25")]()[ia("0xe")]((t=>t.is(ia("0x1"),ia("0x4b"))));this._areMergableCells(n.value,i)||(e[ia("0x28")]=!1,e[ia("0x14")]())}}),{priority:ia("0x2")})}}[ia("0x1b")](){const t=this.editor[ia("0x4")].get(ia("0x20")),e=this[ia("0x36")].plugins[ia("0x1e")](ia("0x2d"));if(!t[ia("0x31")])return!1;const n=e.getSelectionAffectedTableCells(this.editor[ia("0x7")][ia("0x27")][ia("0x16")]);for(const t of n)for(const e of n)if(t!=e&&!this[ia("0x30")](t,e))return!1;return!0}_areMergableCells(t,e){const n=this[ia("0x36")].plugins[ia("0x1e")](ia("0x2a")),i=this[ia("0x36")][ia("0x7")][ia("0x2e")](t),r=this.editor[ia("0x7")][ia("0x2e")](e),o=new Set,s=new Set;for(const t of n[ia("0x18")]())if((ia("0xb")==t[ia("0x22")]||"deletion"==t[ia("0x22")]||ia("0x20")==t[ia("0x26")])&&t[ia("0x1c")])for(const e of t[ia("0x45")]())e[ia("0x37")](i,!0)&&o.add(t[ia("0x22")]+":"+t.author.id),e[ia("0x37")](r,!0)&&s[ia("0x21")](t[ia("0x22")]+":"+t[ia("0x3c")].id);if(o[ia("0x47")]!=s[ia("0x47")])return!1;for(const t of o)if(!s[ia("0x11")](t))return!1;return!0}}const oa=["stop","TableUtils","mapper","setTableRowHeader","editing","_acceptFormatSuggestionCallbackFactory","removeClass","requires","nodeAfter","bindElementToMarker","showSuggestionHighlights","getCellLocation","highest","removeAttribute","registerAttributeLabel","item","markerRange","_descriptionFactory","forceValue","writer","formatBlock","editor","consumable","includes","FORMAT_HEADER_ROW","has","name","*Format:* %0","format","TableEditing","type","TrackChangesEditing","data","parent","plugins","registerCustomCallback","locale","_registerLegacyDescription","_suggestionFactory","ck-suggestion-marker-","addMarker:suggestion","activeMarkers","commandParams","registerDescriptionCallback","afterInit","setAttribute","commandName","ck-suggestion-marker--active","data-suggestion","get","FORMAT_HEADER_COLUMN","setTableColumnHeader","downcastDispatcher","markerName","start","headingRows","removeMarker:suggestion","_splitMarkerName","unbindElementFromMarkerName","end","cell","nodeBefore","_enableDefaultAttributesIntegration","accept","consume","markerNameToElements"];var sa,xa;sa=oa,xa=456,function(t){for(;--t;)sa.push(sa.shift())}(++xa);const aa=function(t,e){return oa[t-=0]};class ca extends t.Plugin{static get[aa("0xd")](){return[Jx]}[aa("0x32")](){const t=this[aa("0x1b")];if(!t[aa("0x28")][aa("0x1f")](aa("0x23")))return;const e=t[aa("0x2a")],n=t[aa("0x28")][aa("0x37")]("TrackChangesEditing");n[aa("0x2")](aa("0x9"),[],[aa("0x3d")]),n[aa("0x2")]("setTableColumnHeader",[],["headingColumns"]),n._descriptionFactory[aa("0x14")](aa("0x3d"),Ji(e,aa("0x1e"))),n[aa("0x17")][aa("0x14")]("headingColumns",Ji(e,aa("0x38"))),this._handleLegacySuggestions()}_handleLegacySuggestions(){const t=this.editor[aa("0x28")][aa("0x37")](aa("0x25")),e=this[aa("0x1b")][aa("0x28")].get(aa("0x7")),n=this.editor[aa("0x28")][aa("0x37")](Jx)[aa("0xb")]();function i({showActiveMarker:n=!0,setDataAttribute:i=!0}={}){return(r,o,s)=>{const{type:x,id:a}=t[aa("0x3f")](o[aa("0x3b")]),c=t.getSuggestion(a),l=c[aa("0x26")];if(aa("0x1a")!=c.type||!l||"setTableColumnHeader"!=l.commandName)return;if(o[aa("0x15")])return void r[aa("0x6")]();if(!s[aa("0x1c")][aa("0x4")](o[aa("0x16")],r[aa("0x20")]))return;const u=o[aa("0x16")][aa("0x3c")][aa("0xe")],d=o[aa("0x16")][aa("0x41")][aa("0x1")],g=u[aa("0x27")][aa("0x27")],{column:f}=e[aa("0x11")](u),{column:h}=e[aa("0x11")](d);for(let r=f;r<=h;r++){const c=e.createTableWalker(g,{column:r,includeAllSlots:!1});for(const e of c){const r=e[aa("0x0")],c=s[aa("0x8")].toViewElement(r);s[aa("0x19")].addClass(aa("0x2d")+x,c),i&&s[aa("0x19")][aa("0x33")](aa("0x36"),a,c),s[aa("0x8")][aa("0xf")](c,o[aa("0x3b")]),n&&(t[aa("0x2f")][aa("0x1d")](o[aa("0x3b")])?s[aa("0x19")].addClass(aa("0x35"),c):s.writer[aa("0xc")](aa("0x35"),c))}}}}t[aa("0x2c")][aa("0x29")](aa("0x1a"),"setTableRowHeader","accept",n),t[aa("0x2c")][aa("0x29")](aa("0x1a"),aa("0x39"),aa("0x3"),n),this[aa("0x1b")].editing[aa("0x3a")].on("addMarker:suggestion",i(),{priority:"highest"}),this[aa("0x1b")][aa("0x26")][aa("0x3a")].on(aa("0x2e"),((t,e,n)=>{n.options[aa("0x10")]&&i({showActiveMarker:!1,setDataAttribute:!1})(t,e,n)}),{priority:aa("0x12")}),this[aa("0x1b")][aa("0xa")].downcastDispatcher.on(aa("0x3e"),((e,n,i)=>{const{type:r,id:o}=t[aa("0x3f")](n[aa("0x3b")]),s=t.getSuggestion(o),x=s[aa("0x26")];if("formatBlock"!=s[aa("0x24")]||!x||aa("0x39")!=x[aa("0x34")])return;const a=i.mapper[aa("0x5")](n.markerName);if(a)for(const t of a)i[aa("0x19")].removeClass(aa("0x2d")+r,t),i.writer[aa("0xc")](aa("0x35"),t),i[aa("0x19")][aa("0x13")]("data-suggestion",t),i[aa("0x8")][aa("0x40")](t,n[aa("0x3b")])}),{priority:aa("0x12")}),this[aa("0x2b")]()}[aa("0x2b")](){const t=this.editor,e=t[aa("0x2a")];function n(t){return{type:aa("0x22"),content:Ji(e,aa("0x21"),t)}}t[aa("0x28")][aa("0x37")]("TrackChangesEditing")[aa("0x17")][aa("0x31")]((t=>{if("formatBlock"!=t[aa("0x24")])return;const{data:i}=t;if(i){if(aa("0x9")==i[aa("0x34")]){const t=i[aa("0x30")][0][aa("0x18")];return n(Ji(e,t?aa("0x1e"):"FORMAT_REGULAR_ROW"))}if(aa("0x39")==i[aa("0x34")]){const t=i.commandParams[0][aa("0x18")];return n(Ji(e,t?aa("0x38"):"FORMAT_REGULAR_COLUMN"))}}}))}}const la=["previous","insertColumns","high","markerName","isEmpty","redo","end","locale","getSuggestionCallback","getChild","Users","getSuggestions","createRangeIn","_getCoordsForCells","createPositionBefore","document","removeMarkers","markerAttributes","plugins","markers","showSuggestionHighlights","getAttributes","low","getTableIfOnlyTableInContent","getAllAdjacentSuggestions","getSelectionAffectedTableCells","TableUtils","fromEntries","_suggestionFactory","createRange","markMultiRangeDeletion","registerCustomCallback","tableCellPadding","keys","requires","editingDowncast","tableCellSuggestion","add","markMultiRangeInsertion","getRows","remove","differ","conversion","createRangeOn","_tablePostFixingSubtypes","element","paragraph","getItems","updateMarker","tablePasteChainId","clipboardOutput","name","getChangedMarkers","removeRows","dataDowncast","rowInsertionRanges","for","reduce","columnInsertionRanges","getSuggestion","_splitMarkerName","rowInsertionIndexes","getColumnIndexes","getRange","model","insertContent","value","every","tableCellBorderWidth","cells","insertionRanges","deletionRanges","registerPostFixer","$graveyard","position","listenTo","insert","map","tableCellBorderStyle","tablePasteCell","some","previousSibling","removeColumns","join","suggestion:formatBlock:tablePasteCell","register","discard","_isForcedDefaultExecutionBlock","findAncestor","insertion","accept","createElement","getRanges","rootName","markerToHighlight","start","getChildren","elementToElement","root","content","getRowIndexes","attributes","unwrap","forceDefaultExecution","removeMarker","suggestion","editor","push","cell","getMarkers","commands","schema","nodeAfter","fill","subType","filter","containsRange","endColumn","tablePasteRow","*Replace table cells*","next","_replaceTableSlotCell","startsWith","stop","deletion","first","length","tableCellBackgroundColor","setAttribute","rows","selection","formatBlock","tablePasteColumn","hasSuggestion","tableCellVerticalAlignment","isInContent","afterInit","batch","author","tableCellBorderColor","set","columnInsertionIndexes","nextSibling","from","_descriptionFactory","get","tableCellHorizontalAlignment","newRange","column","TableClipboard","find","suggestionUnloaded","change","ck-suggestion-marker-insertion","oldRange","type","tablePaste","getContainedElement","row","suggestion-td","isEqual","includes","getChanges","tableCell","registerDescriptionCallback","ck-suggestion-marker","return","has","columns"];var ua,da;ua=la,da=169,function(t){for(;--t;)ua.push(ua.shift())}(++da);const ga=function(t,e){return la[t-=0]},fa=[ga("0x44"),ga("0x8b"),ga("0x4e"),ga("0x92"),ga("0x86"),ga("0x7f"),ga("0x20")],ha=Object[ga("0x1b")](fa.map((t=>[t,null])));class ma extends t.Plugin{static get[ga("0x22")](){return[Jx]}[ga("0x88")](){const t=this[ga("0x6a")];if(!t[ga("0x12")].has(ga("0x95")))return;const n=t[ga("0x12")][ga("0x91")]("TrackChangesEditing"),i=t[ga("0x12")][ga("0x91")](ga("0x1a")),r=t[ga("0x12")].get(Jx),o=t[ga("0x12")][ga("0x91")](ga("0x95"));r[ga("0x2c")].push(ga("0x76"),"tablePasteColumn"),t[ga("0x40")][ga("0x6f")][ga("0x55")](ga("0x24"),{allowIn:ga("0xa3"),allowContentOf:ga("0xa3"),isLimit:!0}),t[ga("0x2a")][ga("0x61")]({model:ga("0x24"),view:ga("0x9f")});let s=null;t[ga("0x40")].on(ga("0x41"),((r,x)=>{const[a,c]=x,l=x[x[ga("0x7e")]-1];l&&l[ga("0x67")]||n[ga("0x57")]||this.editor[ga("0x6e")].get("trackChanges")[ga("0x42")]&&function(t,e,n,i,r){if(e&&!e.is("documentSelection"))return!1;const o=r[ga("0x17")](t,n);if(!o||!ba(o,void 0,i))return!1;const s=i[ga("0x19")](n[ga("0xf")][ga("0x82")]);if(!s.length)return!1;const x=s[0].findAncestor("table"),a=i[ga("0x64")](s),c=i[ga("0x3e")](s),l={startRow:a[ga("0x7d")],endRow:a.last,startColumn:c.first,endColumn:c.last};return 1==s[ga("0x7e")]&&(l.endRow+=i[ga("0x27")](o)-1,l[ga("0x75")]+=i.getColumns(o)-1),ba(x,l,i)}(a,c,t[ga("0x40")],i,o)&&(r.stop(),s={cells:[],insertionRanges:[],deletionRanges:[],rowInsertionRanges:[],rowInsertionIndexes:[],columnInsertionRanges:[],columnInsertionIndexes:[]},t[ga("0x40")][ga("0x98")]((()=>{t[ga("0x40")][ga("0x41")](x[0],x[1],x[2],{forceDefaultExecution:!0});const i=(0,e.uid)(),{rowInsertionRanges:r,columnInsertionRanges:o,insertionRanges:a,deletionRanges:c,cells:l}=s;r[ga("0x7e")]&&n.markMultiRangeInsertion(r,ga("0x76"),{tablePasteChainId:i}),o[ga("0x7e")]&&n[ga("0x26")](o,"tablePasteColumn",{tablePasteChainId:i}),a[ga("0x7e")]&&n[ga("0x26")](a,ga("0x9c"),{tablePasteChainId:i,skipNestingCheck:!0}),c.length&&n[ga("0x1e")](c,"tablePaste",{tablePasteChainId:i,skipNestingCheck:!0});const u=n.markMultiRangeBlockFormat(l[ga("0x4d")]((({element:t})=>t)),{formatGroupId:(0,e.uid)()},[],"tablePasteCell",{tablePasteChainId:i});if(u){const e=u[ga("0x6d")](),n=[];for(const{element:i,attributes:r}of l){if(!r)continue;const o=t[ga("0x40")][ga("0x2b")](i),s=e[ga("0x96")]((t=>t[ga("0x3f")]()[ga("0xa0")](o)));s&&n[ga("0x6b")]([s[ga("0x33")],r])}n[ga("0x7e")]&&u[ga("0x80")](ga("0x11"),Object[ga("0x1b")](n))}s=null})))}),{priority:e.priorities[ga("0x2")]+10}),t[ga("0x12")][ga("0x91")](ga("0x95")).on(ga("0x79"),((t,e)=>{const[n,i,,r]=e;if(!s)return;t[ga("0x7b")]();const o=n[ga("0x6c")],x=i,a=pa(o),c=pa(x);t[ga("0xa6")]=o;let l=null,u=null;if(c||a)if(a&&!c){r[ga("0x28")](o[ga("0x9")](0));for(const t of Array.from(x[ga("0x60")]()))r[ga("0x4c")](t,o,ga("0x6"));const t=s.rowInsertionIndexes.includes(n[ga("0x9e")]),e=s[ga("0x8d")][ga("0xa1")](n[ga("0x94")]);t||e||(l=r[ga("0xc")](o))}else c&&!a&&(u=r.createRangeIn(o));else{const t=r.createElement(ga("0x24")),e=r[ga("0x5b")](ga("0x24"));r.wrap(r[ga("0xc")](o),e),r.insert(t,o,0);for(const e of Array[ga("0x8f")](x[ga("0x60")]()))r[ga("0x4c")](e,t,ga("0x6"));l=r[ga("0x2b")](t),u=r[ga("0x2b")](e)}const d=Array.from(x[ga("0x15")]())[ga("0x73")]((([t])=>fa[ga("0xa1")](t)));s[ga("0x45")][ga("0x6b")]({element:o,attributes:d.length?Object[ga("0x1b")](d):null}),l&&s[ga("0x46")][ga("0x6b")](l),u&&s[ga("0x47")].push(u)}),{priority:ga("0x2")}),i.on(ga("0x1"),((e,n)=>{const[r,o={}]=n;if(!s)return;const x=o.at||0,a=o[ga("0xa8")]||1;s[ga("0x8d")]=new Array(a)[ga("0x71")](x)[ga("0x4d")](((t,e)=>t+e));for(const{cell:e}of i.createTableWalker(r,{startColumn:x,endColumn:x+a-1}))s[ga("0x3a")][ga("0x6b")](t.model[ga("0x2b")](e))}),{priority:ga("0x16")}),i.on("insertRows",((e,n)=>{const[r,o={}]=n;if(!s)return;const x=o.at||0,a=o[ga("0x81")]||1;s[ga("0x3d")]=new Array(a)[ga("0x71")](x).map(((t,e)=>t+e));for(const{cell:e}of i.createTableWalker(r,{startRow:x,endRow:x+a-1}))s[ga("0x37")][ga("0x6b")](t[ga("0x40")][ga("0x2b")](e))}),{priority:ga("0x16")}),n[ga("0x90")][ga("0xa4")]((e=>{if(e.subType&&e[ga("0x72")].startsWith("tablePaste"))return e[ga("0x0")]?{}:{type:"insertion",content:Ji(t[ga("0x7")],ga("0x77"))}}));const x=()=>!1;for(const t of[ga("0x9c"),"tablePasteColumn",ga("0x76"),ga("0x4f")])n[ga("0x1c")][ga("0x1f")]("insertion",t,ga("0x53"),x),n[ga("0x1c")][ga("0x1f")](ga("0x7c"),t,ga("0x53"),x),n[ga("0x1c")].registerCustomCallback(ga("0x83"),t,ga("0x53"),x);n[ga("0x1c")][ga("0x1f")](ga("0x83"),ga("0x4f"),ga("0x56"),x),n[ga("0x1c")][ga("0x1f")](ga("0x83"),ga("0x4f"),ga("0x5a"),((e,n,i)=>{const r=e[ga("0x4d")]((t=>t[ga("0x9d")]()))[ga("0x73")]((t=>t)),o=new Map(r[ga("0x4d")]((t=>[t,null])));if(s)for(const{element:t,attributes:e}of s.cells)e&&o[ga("0x8c")](t,e);else if(i&&i[ga("0x11")])for(const[e,n]of Object.entries(i[ga("0x11")])){const i=t[ga("0x40")][ga("0x13")].get(e),r=i?i[ga("0x3f")]()[ga("0x9d")]():null;r&&o[ga("0x8c")](r,n)}t[ga("0x40")][ga("0x98")]((t=>{for(const[e,n]of o)t.setAttributes({...ha,...n},e)}))}));const a=(e,i)=>{n._suggestionFactory[ga("0x1f")](e,"tablePaste",i,((r,o,s)=>{t.model[ga("0x98")]((t=>{const x=[];for(const t of r){const e=t[ga("0x5f")][ga("0x70")];e.is(ga("0x2d"),"tableCellSuggestion")&&x[ga("0x6b")](e)}n._suggestionFactory[ga("0x8")](e,null,i)(r,o,s);for(const e of x)ga("0x49")!=e[ga("0x62")][ga("0x5d")]&&t[ga("0x66")](e)}))}))};a(ga("0x59"),ga("0x5a")),a(ga("0x59"),ga("0x56")),a(ga("0x7c"),ga("0x5a")),a(ga("0x7c"),ga("0x56")),n[ga("0x1c")][ga("0x1f")](ga("0x59"),ga("0x76"),ga("0x56"),(t=>{const e=t[ga("0x4d")]((t=>t.getContainedElement())),n=e[0].findAncestor("table"),{minRow:o,maxRow:s}=r[ga("0xd")](e);i[ga("0x35")](n,{at:o,rows:s-o+1})})),n[ga("0x1c")][ga("0x1f")](ga("0x59"),ga("0x84"),ga("0x56"),(t=>{const e=t[ga("0x4d")]((t=>t.getContainedElement())),n=e[0][ga("0x58")]("table"),{minColumn:o,maxColumn:s}=r[ga("0xd")](e);i[ga("0x52")](n,{at:o,columns:s-o+1})}));const c=(t,e)=>{if(!e.subType||!e[ga("0x72")].startsWith("tablePaste"))return;const i=e[ga("0x65")][ga("0x31")],r=n[ga("0xb")]()[ga("0x73")]((t=>t[ga("0x87")]&&t[ga("0x65")]&&t.attributes[ga("0x31")]==i));r[ga("0x7e")]&&e.getAllAdjacentSuggestions().length!=r[ga("0x7e")]&&r[ga("0x39")](((t,e)=>(t[ga("0x78")]=e,e.previous=t,e)))};function l(t,e=!0){const{id:i}=n._splitMarkerName(t[ga("0x3")]),r=[ga("0xa5"),ga("0x99")],o=n.activeMarkers[ga("0xa1")](t[ga("0x3")]);return o&&r[ga("0x6b")]("ck-suggestion-marker--active"),{classes:r,attributes:{"data-suggestion":i},priority:o&&e?3010:3e3}}n.on("suggestionLoaded",c,{priority:"high"}),n.on(ga("0x97"),c,{priority:ga("0x2")}),t[ga("0x40")][ga("0xf")][ga("0x48")]((()=>{let e=!1;const i=Array.from(t.model[ga("0xf")][ga("0x29")][ga("0x34")]());for(const{name:r,data:o}of i){const{group:i,type:s,id:x}=n[ga("0x3c")](r);if(ga("0x69")!=i||ga("0x7c")!=s||o[ga("0x9a")])continue;if(!n[ga("0x85")](x))continue;const a=n[ga("0x3b")](x).getRanges(),c=t[ga("0x12")][ga("0x91")](ga("0xa")).me;for(const t of n[ga("0xb")]())if(t[ga("0x87")]&&t[ga("0x8a")]==c&&ga("0x83")==t[ga("0x9b")]&&"tablePasteCell"==t[ga("0x72")]&&t[ga("0x5c")]()[ga("0x43")]((t=>a[ga("0x50")]((e=>e[ga("0x74")](t,!0))))))for(const n of t[ga("0x18")]())n[ga("0x87")]&&(n.discard(),e=!0)}return e})),t[ga("0x40")][ga("0xf")][ga("0x48")]((e=>{const i=t[ga("0x6e")][ga("0x91")](ga("0x5"));if(!i||!i._createdBatches.has(e[ga("0x89")]))return!1;let r=!1;const o=t.plugins[ga("0x91")]("Users").me,s=t.model.document[ga("0x29")][ga("0xa2")](),x=Array[ga("0x8f")](t[ga("0x40")][ga("0xf")][ga("0x29")][ga("0x34")]())[ga("0x73")]((({name:t,data:e})=>{const{group:i,subType:r,authorId:s}=n[ga("0x3c")](t);return"suggestion"==i&&ga("0x9c")==r&&s==o.id&&!e[ga("0x9a")]}));for(const t of s){if(ga("0x4c")!=t[ga("0x9b")]||ga("0x24")!=t.name||1!=t[ga("0x7e")])continue;const n=e[ga("0x1d")](t[ga("0x4a")],t[ga("0x4a")].getShiftedBy(1));if(!x.find((({data:t})=>t[ga("0x93")][ga("0xa0")](n))))for(const{name:t,data:i}of x)if(n[ga("0x74")](i[ga("0x93")])){e[ga("0x30")](t,{range:n}),r=!0;break}}return r})),t[ga("0x40")][ga("0xf")][ga("0x48")]((e=>{let i=!1;const r=t[ga("0x12")].get(ga("0xa")).me,o=n.getSuggestions()[ga("0x73")]((t=>t[ga("0x87")]&&t[ga("0x8a")]==r)),s=new Set,x=new Set;for(const t of o)if(ga("0x9c")==t[ga("0x72")])for(const e of t.getMarkers()){const n=e.getRange()[ga("0x9d")]();if(n)if(n.is("element",ga("0x24"))&&pa(n)){t.removeMarker(e.name),s.add(n),i=!0;const r=n[ga("0x8e")],o=n[ga("0x51")],a=r&&r.is(ga("0x2d"),ga("0x24")),c=o&&o.is("element",ga("0x24"));a&&!s.has(r)&&x[ga("0x25")](r),c&&!s[ga("0xa7")](o)&&x[ga("0x25")](o)}else n.is("element",ga("0x2e"))&&n[ga("0x4")]&&(t[ga("0x68")](e.name),i=!0)}else if(ga("0x4f")==t[ga("0x72")]){if(!t[ga("0x65")]||!t[ga("0x65")][ga("0x31")])continue;const e=t[ga("0x65")][ga("0x11")];if(e&&Object[ga("0x21")](e)[ga("0x7e")])continue;const n=t.attributes[ga("0x31")];let r=!0,s=!0;for(const e of o)if(e[ga("0x72")]&&e[ga("0x72")][ga("0x7a")](ga("0x9c"))){if(!e[ga("0x65")][ga("0x31")]){s=!1;break}if(e.id!=t.id&&e[ga("0x65")][ga("0x31")]==n){r=!1;break}}s&&r&&(t[ga("0x10")](),i=!0)}for(const t of s)e[ga("0x28")](t);for(const t of x)e[ga("0x66")](t);return i})),t[ga("0x2a")][ga("0x38")](ga("0x23"))[ga("0x5e")]({model:"suggestion:formatBlock:tablePasteCell",view:(t,e)=>l(t),converterPriority:ga("0x2")}),t[ga("0x2a")][ga("0x38")](ga("0x36")).markerToHighlight({model:ga("0x54"),view:(t,e)=>e.options[ga("0x14")]?l(t,!1):null,converterPriority:ga("0x2")});const u=t.editing.view;this[ga("0x4b")](u[ga("0xf")],ga("0x32"),((t,e)=>{const n=[];for(const t of u.createRangeIn(e[ga("0x63")])[ga("0x2f")]())t.is(ga("0x2d"),ga("0x9f"))&&n[ga("0x6b")](t);u.change((t=>{for(const e of n)t.move(t.createRangeIn(e),t[ga("0xe")](e)),t[ga("0x28")](e)}))}))}}function pa(t){if(t[ga("0x4")])return!0;const e=t.getChild(0);return e.is(ga("0x2d"),"paragraph")&&e[ga("0x4")]}function ba(t,e={},n){for(const{isAnchor:i,cellHeight:r,cellWidth:o}of n.createTableWalker(t,{includeAllSlots:!0,...e}))if(!i||1!=r||1!=o)return!1;return!0}const Ea=["selection","getSelectedElement","subType","resizeTable","getColumnGroupElement","getContainedElement","getTableColumnsWidths","editor","formatBlock","table","formatInline","getSuggestions","columnWidths","enableCommand","markBlockFormat","registerCustomCallback","bind","tableWidth","model","type","Users","get","document","handleResizeTableWidthCommand","registerDescriptionCallback","discard","_suggestionFactory","TrackChangesEditing","commandParams","TableColumnResizeEditing","afterInit","has","_descriptionFactory","resizeTableWidth","plugins","format","change","locale","handleSuggestionDescription","getAttribute"];var _a,Ta;_a=Ea,Ta=488,function(t){for(;--t;)_a.push(_a.shift())}(++Ta);const ya=function(t,e){return Ea[t-=0]};class Ca extends t.Plugin{[ya("0x16")](){if(!this.editor.plugins[ya("0x17")](ya("0x15")))return;const t=this[ya("0x27")][ya("0x1a")][ya("0xd")]("TrackChangesEditing");t[ya("0x5")]("resizeTableWidth",this[ya("0xf")][ya("0x8")](this)),t[ya("0x12")][ya("0x7")](ya("0x0"),"resizeTable","accept",t[ya("0x12")].getSuggestionCallback(ya("0x0"),null,ya("0x11"))),t[ya("0x12")].registerCustomCallback("formatBlock",ya("0x23"),ya("0x11"),t[ya("0x12")].getSuggestionCallback(ya("0x0"),null,"accept")),t[ya("0x18")][ya("0x10")](this.handleSuggestionDescription.bind(this))}handleResizeTableWidthCommand(t,e){const n=this[ya("0x27")].plugins[ya("0xd")](ya("0x13")),i=this[ya("0x27")].plugins[ya("0xd")]("TableColumnResizeEditing"),r=e[ya("0x1")]||this[ya("0x27")][ya("0xa")][ya("0xe")][ya("0x20")][ya("0x21")]();this.editor.model[ya("0x1c")]((()=>{const o=i[ya("0x24")](r);let s=o?i[ya("0x26")](o):null,x=r[ya("0x1f")](ya("0x9"))||null;const a=e[ya("0x9")]||x,c=e[ya("0x4")]||s,l=this[ya("0x27")].plugins[ya("0xd")](ya("0xc")).me;for(const t of n[ya("0x3")]()){const e=t[ya("0x25")]();if(ya("0x23")===t[ya("0x22")]&&e===r){t.author!==l&&t[ya("0x11")]();const e=t.data[ya("0x14")];x=e[0][ya("0x9")],s=e[0][ya("0x4")];break}}t({table:r,tableWidth:a,columnWidths:c}),n[ya("0x6")](r,{commandName:ya("0x19"),commandParams:[{tableWidth:x,columnWidths:s}],formatGroupId:ya("0x23")},[],ya("0x23"))}))}[ya("0x1e")](t){if("formatBlock"!=t[ya("0xb")]&&ya("0x2")!=t.type)return;const{data:e}=t;if(e&&ya("0x23")===e.formatGroupId){const t="*Format:* resize table";return{type:ya("0x1b"),content:Ji(this[ya("0x27")][ya("0x1d")],t)}}}}const Aa=["afterInit","get","plugins","has","editor","Template"];var ka,Ia;ka=Aa,Ia=484,function(t){for(;--t;)ka.push(ka.shift())}(++Ia);const Ra=function(t,e){return Aa[t-=0]};class va extends t.Plugin{[Ra("0x2")](){const t=this[Ra("0x0")];t[Ra("0x4")][Ra("0x5")](Ra("0x1"))&&t[Ra("0x4")][Ra("0x3")]("TrackChangesEditing").enableCommand("insertTemplate")}}const Sa=["TrackChangesEditing","get","ELEMENT_TABLE_OF_CONTENTS","afterInit","tableOfContents","plugins","commands","locale","enableCommand"];var La,Na;La=Sa,Na=331,function(t){for(;--t;)La.push(La.shift())}(++Na);const Ma=function(t,e){return Sa[t-=0]};class wa extends t.Plugin{[Ma("0x5")](){const t=this.editor;if(!t[Ma("0x8")][Ma("0x3")]("insertTableOfContents"))return;t[Ma("0x7")][Ma("0x3")](Ma("0x2"))[Ma("0x1")]("insertTableOfContents");const e=t[Ma("0x7")][Ma("0x3")](Ma("0x2")),n=t[Ma("0x0")];e._descriptionFactory.registerElementLabel(Ma("0x6"),(t=>Ji(n,Ma("0x4"),t)))}}const Oa=["suggestion","isTouching","isEqual","registerElementLabel","Title","forward","createRange","_descriptionFactory","newRange","plugins","getChangedMarkers","document","has","schema","get","end","nodeBefore","differ","title-content","element","getNearestSelectionRange","afterInit","removeMarker","model","_splitMarkerName","TrackChangesEditing","start","locale"];var Fa,Da;Fa=Oa,Da=161,function(t){for(;--t;)Fa.push(Fa.shift())}(++Da);const Ba=function(t,e){return Oa[t-=0]};class Pa extends t.Plugin{[Ba("0x0")](){const t=this.editor;if(!t[Ba("0x10")][Ba("0x13")](Ba("0xb")))return;const e=t.plugins[Ba("0x15")](Ba("0x4"));e[Ba("0xe")][Ba("0xa")](Ba("0x19"),(()=>Ji(t[Ba("0x6")],"ELEMENT_TITLE"))),t[Ba("0x2")][Ba("0x12")].registerPostFixer((n=>{let i=!1;const r=Array.from(t[Ba("0x2")][Ba("0x12")][Ba("0x18")][Ba("0x11")]());for(const{name:o,data:s}of r){const{group:r}=e[Ba("0x3")](o);if(Ba("0x7")!==r||!s[Ba("0xf")])continue;const x=s[Ba("0xf")],a=x.end[Ba("0x17")];if(!a||!a.is(Ba("0x1a"),Ba("0x19")))continue;if(!x[Ba("0x5")][Ba("0x8")](x.end))continue;const c=t[Ba("0x2")][Ba("0x14")][Ba("0x1b")](x[Ba("0x16")],Ba("0xc"));if(c&&c.isCollapsed){const t=n[Ba("0xd")](x[Ba("0x5")],c[Ba("0x5")]);t[Ba("0x9")](x)||(n.updateMarker(o,{range:t}),i=!0)}i||(n[Ba("0x1")](o),i=!0)}return i}))}}const Ua=["plugins","undo","has","TrackChangesEditing","afterInit","UndoEditing","enableCommand"];var ja,Ga;ja=Ua,Ga=302,function(t){for(;--t;)ja.push(ja.shift())}(++Ga);const Va=function(t,e){return Ua[t-=0]};class Ha extends t.Plugin{[Va("0x3")](){const t=this.editor,e=t[Va("0x6")].get(Va("0x2"));t[Va("0x6")][Va("0x1")](Va("0x4"))&&(e[Va("0x5")](Va("0x0")),e[Va("0x5")]("redo"))}}const za=["enableCommand","afterInit","editor","requires","toggleTableCaption","TrackChangesEditing","has","get"];var Wa,Ka;Wa=za,Ka=288,function(t){for(;--t;)Wa.push(Wa.shift())}(++Ka);const qa=function(t,e){return za[t-=0]};class $a extends t.Plugin{static get[qa("0x3")](){return[Jx]}[qa("0x1")](){const t=this[qa("0x2")];t.plugins[qa("0x6")]("TableCaptionEditing")&&t.plugins[qa("0x7")](qa("0x5"))[qa("0x0")](qa("0x4"))}}const Xa=["batch","tableBorderStyle","data","TableUtils","discard","markBlockFormat","tableProperties","TrackChangesTableProperties","model","getSuggestions","removeAttribute","subType","tableCellHorizontalAlignment","tableCellBorderColor","formatBlock","_suggestionFactory","tableCellBorderWidth","tableAlignment","locale","selection","TablePropertiesEditing","tableCellVerticalAlignment","handleSuggestionDescription","enableCommand","tableBackgroundColor","tableBorderColor","accept","getFirstPosition","has","document","_descriptionFactory","getSuggestionCallback","tableHeight","format","_handlePropertyChange","tableBorderWidth","registerCustomCallback","enqueueChange","getAttribute","get","handleDiscardAction","TrackChangesEditing","join","tableCellBackgroundColor","plugins","registerDescriptionCallback","TableCellPropertiesEditing","table","tableCellProperties","tableWidth","tableCellBorderStyle","change","editor","tableCellHeight","getSelectionAffectedTableCells","nodeAfter","_getSuggestion"];var Za,Ya;Za=Xa,Ya=453,function(t){for(;--t;)Za.push(Za.shift())}(++Ya);const Ja=function(t,e){return Xa[t-=0]};class Qa extends t.Plugin{constructor(t){super(t),this[Ja("0x9")]=[Ja("0x1c"),Ja("0x4"),Ja("0x26"),Ja("0x14"),Ja("0x34"),Ja("0x23"),Ja("0x1b")],this[Ja("0x33")]=[Ja("0x10"),Ja("0x35"),Ja("0x13"),"tableCellPadding","tableCellWidth",Ja("0x38"),Ja("0x2e"),Ja("0xf"),Ja("0x18")]}static get pluginName(){return Ja("0xa")}afterInit(){const t=this[Ja("0x37")].plugins[Ja("0x2a")](Ja("0x2c"));if(this[Ja("0x37")][Ja("0x2f")][Ja("0x1f")](Ja("0x17"))){for(const e of this.tableProperties)t[Ja("0x1a")](e,((t,n)=>{const i=this.editor.model[Ja("0x20")][Ja("0x16")][Ja("0x1e")]().findAncestor(Ja("0x32"));this._handlePropertyChange(e,[i],this[Ja("0x9")],Ja("0x9"),t,n)}));t[Ja("0x12")][Ja("0x27")]("formatBlock","tableProperties","accept",t[Ja("0x12")][Ja("0x22")](Ja("0x11"),null,"discard")),t[Ja("0x12")][Ja("0x27")](Ja("0x11"),Ja("0x9"),Ja("0x7"),((t,e)=>this[Ja("0x2b")](this[Ja("0x9")],t,e))),t._suggestionFactory[Ja("0x27")](Ja("0x11"),Ja("0x9"),Ja("0x2d"),(()=>!1))}if(this[Ja("0x37")][Ja("0x2f")][Ja("0x1f")](Ja("0x31"))){for(const e of this[Ja("0x33")])t[Ja("0x1a")](e,((t,n)=>{const i=this[Ja("0x37")].plugins[Ja("0x2a")](Ja("0x6"))[Ja("0x0")](this[Ja("0x37")][Ja("0xb")].document[Ja("0x16")]);this._handlePropertyChange(e,i,this[Ja("0x33")],"tableCellProperties",t,n)}));t._suggestionFactory[Ja("0x27")](Ja("0x11"),"tableCellProperties",Ja("0x1d"),t[Ja("0x12")][Ja("0x22")](Ja("0x11"),null,"discard")),t._suggestionFactory.registerCustomCallback(Ja("0x11"),Ja("0x33"),Ja("0x7"),((t,e)=>this[Ja("0x2b")](this[Ja("0x33")],t,e))),t._suggestionFactory[Ja("0x27")](Ja("0x11"),"tableCellProperties",Ja("0x2d"),(()=>!1))}t[Ja("0x21")][Ja("0x30")]((t=>this[Ja("0x19")](t)))}[Ja("0x25")](t,e,n,i,r,o){const s=this[Ja("0x37")][Ja("0x2f")][Ja("0x2a")]("TrackChangesEditing");this[Ja("0x37")][Ja("0xb")][Ja("0x28")](o[Ja("0x3")],(()=>{for(const t of e)if(this[Ja("0x2")](t,i))r(o);else{const e={};for(const i of n){const n=t[Ja("0x29")](i);void 0!==n&&(e[i]=n)}r(o),s[Ja("0x8")](t,{commandParams:[e]},[],i)}}))}[Ja("0x2b")](t,e,n){const i=e[0].start[Ja("0x1")],r=n.commandParams[0];this[Ja("0x37")][Ja("0xb")][Ja("0x36")]((e=>{for(const n of t)void 0!==r[n]?e.setAttribute(n,r[n],i):e[Ja("0xd")](n,i)}))}[Ja("0x19")](t){if(t[Ja("0x5")])switch(t.subType){case Ja("0x9"):return{type:Ja("0x24"),content:Ji(this[Ja("0x37")][Ja("0x15")],"*Format:* change table properties")};case Ja("0x33"):return{type:Ja("0x24"),content:Ji(this.editor[Ja("0x15")],"*Format:* change table cell properties")}}}[Ja("0x2")](t,e){const n=this[Ja("0x37")].plugins[Ja("0x2a")]("TrackChangesEditing");for(const i of n[Ja("0xc")]({skipNotAttached:!0})){const n=i.getContainedElement();if(i[Ja("0xe")]===e&&n===t)return i}return null}}var tc=Function.prototype,ec=Object.prototype,nc=tc.toString,ic=ec.hasOwnProperty,rc=nc.call(Object);const oc=function(t){if(!xe(t)||"[object Object]"!=gt(t))return!1;var e=xn(t);if(null===e)return!0;var n=ic.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&nc.call(n)==rc};const sc=function(t){return oc(t)?void 0:t};var xc=rt?rt.isConcatSpreadable:void 0;const ac=function(t){return ge(t)||de(t)||!!(xc&&t&&t[xc])};const cc=function t(e,n,i,r,o){var s=-1,x=e.length;for(i||(i=ac),o||(o=[]);++s<x;){var a=e[s];n>0&&i(a)?n>1?t(a,n-1,i,r,o):sn(o,a):r||(o[o.length]=a)}return o};const lc=function(t){return(null==t?0:t.length)?cc(t,1):[]};const uc=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var dc=Math.max;const gc=function(t,e,n){return e=dc(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=dc(i.length-e,0),s=Array(o);++r<o;)s[r]=i[e+r];r=-1;for(var x=Array(e+1);++r<e;)x[r]=i[r];return x[e]=n(s),uc(t,this,x)}};const fc=function(t){return function(){return t}};const hc=ee?function(t,e){return ee(t,"toString",{configurable:!0,enumerable:!1,value:fc(e),writable:!0})}:function(t){return t};var mc=Date.now;const pc=function(t){var e=0,n=0;return function(){var i=mc(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(hc);const bc=function(t){return pc(gc(t,void 0,lc),t+"")}((function(t,e){var n={};if(null==t)return n;var i=!1;e=ui(e,(function(e){return e=mi(e,t),i||(i=e.length>1),e})),oe(t,dn(t),n),i&&(n=ti(n,7,sc));for(var r=e.length;r--;)Wi(n,e[r]);return n})),Ec=["isEqual","attribute:accept","markers","buildSuggestion","ck-suggestion-marker","options","originalSuggestionId","rejected","formatBlock:chain","deletion:discard","getMultiRangeId","_reduceExistingSuggestions","getCustomProperty","removeMarker:suggestion:attribute","markInsertion","addSuggestionData","isAfter","substring","updateSuggestion","announce","_registerInlineAttribute","createRangeOn","deletion:","showSuggestionHighlights","fromRange","parent","suggestion","move","every","isIntersectingWithRange","creator","_registerDefaultCallbacks","_handleNewSuggestionMarker","formatInline:","_defaultCallbacks","createPositionAt","markAttributeChange","splitPosition","registerPostFixer","removeMarker:suggestion:formatBlock","containsPosition","addMarker","moveTargetPosition","activeMarkers","_addThreadToSuggestion","isTouching","multipleBlocks","getCommentThread","includes","attribute","getChanges","filter","add","_recordAttributeSuggestions","accepted","isInContent","forEach","createElement","open","howMany","normal","markerToData","writer","values","formatBlock:accept","_reduceSuggestionAttributeRange","rootName","deletion:chain","markerName","then","root","_initAriaMarkerChangeAnnouncements","ready","elementEnd","markMultiRangeInsertion","suggestionUnloaded","discardSelectedSuggestions","never","listenTo","isObject","collaboration.channelId","isCollapsed","documentSelection","consumable","acceptSelectedSuggestions","removeClass","isArray","_model","markMultiRangeDeletion","authoredAt","containerElement","track-changes-suggestion-data-mismatch","item","addMarker:suggestion","commands","join","multi","PendingActions","size","hasComments","discardSuggestion","_removeSuggestion","_refreshSuggestionsChain","isUndo","oldValue","editingDowncast","_rangeIsInLocalUserInsertion","config","newRange","formatBlock","_blockAttributeKeys","name","group","element","toViewElement","_onDiscard","_refreshAttributeSuggestionsChain","previous","_afterChanges","key","_findSuggestions","containsRange","addMarkerName","schema","_addSuggestionMarker","suggestion:attribute:","stopListening","hasCommentThread","unshift","_breakSuggestionMarker","isSelectable","splice","_getMarkerAnnouncementText","_suggestionState","_commentsRepository","range","commandName","addComment","high","selection","_recordAttributeChanges","reconvertMarker","fire","ck-suggestion-marker--active","track-changes-adapter-already-set","getShiftedBy","isRemovable","addUser","addRange","backward","_suggestionFactory","formatInline","updateMarker","attributeNewValue","addHighlight","forceDefaultExecution","attributeOldValue","stop","getMarkers","author","_suggestions","_isDataLoaded","from","change","formatBlock:discard","isMultiRange","_customCallbacks","createRangeIn","Users","$text","getChangedMarkers","resolve","insertion:chain","_getExternalAuthor","trackChanges.trackFormatChanges","accept","TrackChangesEditing","getRange","getSuggestionCallback","discardAllSuggestions","setSelection","isOwn","removeAttribute","fetchCommentThread","deletion","_getAttributeKey","startsWith","upcast","_processAttributeChanges","pop","createPositionAfter","hasSuggestion","map","batch","value","removeMarker","attribute:discard","oldRange","createRange","$graveyard","getIntersection","consume","toUpperCase","suggestionLoaded","widget","sort","next","enableCommand","enqueueChange","containsRangeInObject","concat","removeMarkers","groupId","discard","length","setTo","notReady","newValue","_updateSuggestionData","execute","nodeAfter","getAttribute","chain","marker-count","commentThread","isIntersecting","_saved","ENTER","_enabledCommands","unbindElementFromMarkerName","addSuggestion","insertContent","subType","find","_getAuthorFromId","getDifference","end","insertion:accept","catch","markerNameToElements","_enableDefaultAttributesIntegration","change:activeMarkers","createdAt","deletion:join","isLocal","fromCharCode","after","_adapter","insertion","_SUGGESTION_ANNOUNCEMENT","addClass","CommentsRepository","getFirstMarker","isBefore","conversion","get","mapper","has","getNearestSelectionRange","position","$marker","formatInline:join","low","_element","pluginName","PENDING_ACTION_SUGGESTION","applyOperation","default","data","getUser","clear","attribute:join","unbind","getAllAdjacentSuggestions","comments","addMarker:suggestion:formatBlock","_mergeNestedSuggestions","update:suggestion","some","acceptAllSuggestions","set","markerToHighlight","suggestion-type","attributeKey","define","attribute:","_inlineAttributeKeys","@external","isAtStart","insert","enableReadOnlyMode","targetPosition","getSuggestions","requires","_joinSuggestions","_joinWithAdjacentSuggestions","delete","split","deletion:accept","rename","head","FORMATTING","isBlock","error-saving-suggestion-data-suggestion-discarded","_setSuggestionRange","before","editor","getContainedElement","LEAVE","_isBlockAttribute","document","push","nodeBefore","keys","markDeletion","highest","_setSuggestionData","isLimit","_registerBlockAttribute","getLastMatchingPosition","createSelection","detach","isAtEnd","setAttribute","getSuggestion","forward","formatInline:discard","suggestionChanged","adapter","trackChangesCommand","_createSuggestion","start","warn","type","$elementName","_checkSuggestionCorrectness","createPositionBefore","insertion:join","model","_isForcedDefaultExecutionBlock","attributes","isDocumentOperation","_descriptionFactory","acceptSuggestion","markInlineFormat","removed","formatBlock:","track-changes-suggestion-not-found","_trackFormatChanges","addMarker:suggestion:attribute","getItems","plugins","locale","suggestion:","_isRegisteredAttribute","skipNestingCheck","data-suggestion","isNextTo","trackChanges","ck-suggestion-marker-formatBlock","insertion:","getFirstRange","assign","rethrowUnexpectedError","deleteContent","isInsideObject","containsItem","_getSuggestionData","ck-suggestion-marker-formatInline","always","return","markerReady","dataDowncast","_editor","markMultiRangeBlockFormat","remove","lowest","_splitMarkerName","_cutOutSuggestionMarker","getRanges","differ","external:","formatGroupId","formatInline:chain","for","format"];var _c,Tc;_c=Ec,Tc=211,function(t){for(;--t;)_c.push(_c.shift())}(++Tc);const yc=function(t,e){return Ec[t-=0]},Cc=yc("0x7b");class Ac extends t.Plugin{static get[yc("0x52")](){return["CommentsRepository",o.Users,t.PendingActions,ar,gr,Er,Ar,Fr,Lr,jr,Kr,ro,Ao,So,Fo,jo,Ko,Yo,ns,xs,ds,ys,ps,Rs,Ms,Bs,qs,tx,Vs,co,mo,ox,lx,hx,_x,Ix,Nx,Dx,Vx,qx,Jx,ra,ca,$a,ma,Ca,wa,Qa,va,Pa,Ha]}static get[yc("0x35")](){return yc("0x15f")}constructor(t){function e(t){return t[yc("0x16f")]((t=>String[yc("0x22")](t))).join("")}super(t),this._recordAttributeSuggestions=!1,this[yc("0x45")](yc("0xda"),[]),this.on(yc("0x1e"),((e,n,i,r)=>{this[yc("0x106")][yc("0x152")]((()=>{for(const e of[...r,...i])this[yc("0x106")][yc("0xb1")].has(e)&&t.editing[yc("0x13c")](e)}))})),this[yc("0x83")]=new ir(this[yc("0x5f")][yc("0x7f")][yc("0x12a")],this.editor.locale),this[yc("0x24")]=null,this._suggestionFactory=new kc(this.editor),this._suggestions=new Map,this[yc("0x135")]=t.plugins[yc("0x2c")](yc("0x28")),this._enabledCommands=new Set,this[yc("0x106")]=this[yc("0x5f")][yc("0x7f")],this[yc("0x134")]=new WeakMap,this._isForcedDefaultExecutionBlock=!1,this._blockAttributeKeys=new Set([yc("0x7b")]),this[yc("0x4b")]=new Set,t.config.define(yc("0x15d"),yc("0x38")),this[yc("0x89")]=t.config.get(yc("0x15d")),t[yc("0x11a")][yc("0x49")]("trackChanges.mergeNestedSuggestions",!0),this[yc("0x41")]=t[yc("0x11a")].get("trackChanges.mergeNestedSuggestions"),this.trackChangesCommand=new d(t,this[yc("0x11")]),this[yc("0xf6")](),this[e([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])]=e([52,48,52,56,48,50,51,52])}init(){const t=this[yc("0x5f")],n=(t,e)=>{if("attribute"!=t)return"ck-suggestion-marker-"+t;const n=e[yc("0x56")]("|")[0];return this[yc("0x62")](n)?"ck-suggestion-marker-formatBlock":yc("0x9d")};t[yc("0x2b")][yc("0xad")]("editingDowncast")[yc("0x46")]({model:"suggestion",view:t=>{const{id:e,type:i,subType:r}=this[yc("0xa6")](t[yc("0xf3")]),o=[yc("0xb3"),n(i,r)];let s=3e3;return this[yc("0xda")][yc("0xdf")](t[yc("0xf3")])&&(o[yc("0x64")](yc("0x13e")),s=3010),yc("0x167")==i&&(s+=5),{classes:o,attributes:{"data-suggestion":e},priority:s}}}),t[yc("0x2b")][yc("0xad")](yc("0xa1"))[yc("0xe3")]((e=>{e.on(yc("0x10c"),((e,n,i)=>{if(!i[yc("0xb4")][yc("0xc6")])return;const r=n[yc("0x10b")];if(!r)return;const o=i.mapper[yc("0x121")](r);t[yc("0x7f")][yc("0x12a")].isObject(r)&&o&&!o.getCustomProperty(yc("0x17b"))&&o.is(yc("0x109"))&&(0,x.toWidget)(o,i[yc("0xed")])}),{priority:yc("0x139")})})),t.conversion.for(yc("0xa1")).markerToHighlight({model:"suggestion",view:(t,e)=>{if(!e[yc("0xb4")][yc("0xc6")])return null;const{type:i,subType:r}=this[yc("0xa6")](t.markerName);return{classes:[yc("0xb3"),n(i,r)],priority:3e3}}});const i=({showActiveMarkers:e=!0,isAttributeSuggestion:n=!1}={})=>(i,r,o)=>{if(!r.item)return;const{id:s}=this._splitMarkerName(r.markerName);if(n){const t=this._suggestions.get(s),e=this[yc("0x168")](t);if(!this._isBlockAttribute(e))return}if(r[yc("0x10b")].is(yc("0x13a")))return void o[yc("0x102")][yc("0x178")](r[yc("0x10b")],i[yc("0x11e")]);const x=o[yc("0x2d")][yc("0x121")](r[yc("0x10b")]);if(r[yc("0x10b")].is(yc("0x120"))&&t[yc("0x7f")][yc("0x12a")][yc("0x5b")](r[yc("0x10b")])&&!x.getCustomProperty("addHighlight")){o[yc("0xed")][yc("0x27")]([yc("0xb3"),yc("0x94")],x),o[yc("0xed")].setAttribute(yc("0x91"),s,x),o[yc("0x2d")].bindElementToMarker(x,r[yc("0xf3")]),e&&(this[yc("0xda")][yc("0xdf")](r[yc("0xf3")])?o[yc("0xed")].addClass(yc("0x13e"),x):o[yc("0xed")][yc("0x104")]("ck-suggestion-marker--active",x));for(const e of t[yc("0x7f")][yc("0x156")](r[yc("0x10b")])[yc("0x8b")]())o[yc("0x102")][yc("0x178")](e,i.name);o[yc("0x102")][yc("0x178")](r[yc("0x10b")],i[yc("0x11e")])}};t.conversion.for(yc("0xa1"))[yc("0xe3")]((t=>{t.on(yc("0x40"),((t,e,n)=>{n[yc("0xb4")][yc("0xc6")]&&i({showActiveMarkers:!1})(t,e,n)}),{priority:"highest"})})),t[yc("0x2b")][yc("0xad")](yc("0xa1")).add((t=>{t.on(yc("0x8a"),((t,e,n)=>{n.options[yc("0xc6")]&&i({showActiveMarkers:!1,isAttributeSuggestion:!0})(t,e,n)}),{priority:yc("0x68")})})),t[yc("0x2b")][yc("0xad")](yc("0xa1"))[yc("0xec")]({model:yc("0xc9"),view:(t,e)=>e.options[yc("0xc6")]?null:{group:"suggestion",name:t.substr(11)}}),t.conversion.for(yc("0x16a")).elementToElement({view:{name:yc("0xc9"),attributes:{id:/^\w/,"suggestion-type":/^\w/}},model:(t,{writer:e})=>{let n=yc("0x8e")+t[yc("0xa")](yc("0x47"))+":"+t[yc("0xa")]("id");return t.getAttribute(yc("0xc"))&&(n+=":"+t.getAttribute(yc("0xc"))),e[yc("0xe8")](yc("0x31"),{"data-name":n})}}),t[yc("0x2b")].for(yc("0x16a")).dataToMarker({view:"suggestion"}),t[yc("0x2b")][yc("0xad")](yc("0x118")).add((t=>{t.on(yc("0x40"),i(),{priority:yc("0x139")})})),t[yc("0x2b")][yc("0xad")](yc("0x118"))[yc("0xe3")]((t=>{t.on(yc("0x8a"),i({isAttributeSuggestion:!0}),{priority:"high"})})),t.conversion[yc("0xad")](yc("0x118")).add((t=>{t.on(yc("0xd6"),((t,e,n)=>{const i=n[yc("0x2d")][yc("0x1c")](e[yc("0xf3")]);if(i)for(const t of i)t.getCustomProperty(yc("0x149"))||(n[yc("0xed")][yc("0x104")]([yc("0xb3"),yc("0x94"),yc("0x13e")],t),n[yc("0xed")][yc("0x165")](yc("0x91"),t),n[yc("0x2d")][yc("0x12")](t,e[yc("0xf3")]))}),{priority:yc("0x139")})})),t.conversion[yc("0xad")](yc("0x118"))[yc("0xe3")]((t=>{t.on(yc("0xbc"),((t,e,n)=>{const i=n[yc("0x2d")][yc("0x1c")](e[yc("0xf3")]);if(!i)return;const{id:r}=this[yc("0xa6")](e[yc("0xf3")]),o=this[yc("0x14f")][yc("0x2c")](r),s=this[yc("0x168")](o);if(this._isBlockAttribute(s))for(const t of i)t[yc("0xbb")](yc("0x149"))||(n.writer.removeClass(["ck-suggestion-marker","ck-suggestion-marker-formatBlock",yc("0x13e")],t),n[yc("0xed")][yc("0x165")](yc("0x91"),t),n[yc("0x2d")].unbindElementFromMarkerName(t,e[yc("0xf3")]))}),{priority:yc("0x139")})})),t[yc("0x7f")][yc("0x63")].registerPostFixer((e=>{let n=!1;const i=Array.from(t[yc("0x7f")][yc("0x63")][yc("0xa9")][yc("0x159")]()),r=new Set;for(const{name:x,data:a}of i){const{group:i,type:c,subType:l,id:u}=this[yc("0xa6")](x);if(yc("0xc9")!==i)continue;const d=this[yc("0x14f")][yc("0x2c")](u);if(null!=a.newRange){yc("0x146")==c&&(n=n||vc(a[yc("0x11b")],x,e,t[yc("0x7f")][yc("0x12a")]));const i="attribute"==c&&this._isBlockAttribute(l.split("|")[0]);if(a[yc("0x11b")][yc("0x100")]||yc("0x176")==a.newRange.root[yc("0xf1")]||yc("0x11c")==c&&!Lc(a[yc("0x11b")])||i&&!Lc(a[yc("0x11b")])||yc("0x167")==c&&(Rc(s=a[yc("0x11b")])||(o=s)[yc("0x78")][yc("0xc8")]==o.end[yc("0x65")]&&o[yc("0x78")][yc("0x6f")]))e[yc("0x172")](x),n=!0;else{if(!d||!d[yc("0xe6")])continue;r.add(d)}}}var o,s;return r[yc("0x111")]>0&&(n=!!this[yc("0x54")](r)||n),n})),t[yc("0x7f")].document.registerPostFixer((e=>{let n=!1;for(const i of t[yc("0x7f")][yc("0x63")][yc("0xa9")].getChanges())if(yc("0x4e")==i[yc("0x7a")])for(const i of this[yc("0x14f")][yc("0xee")]()){if(i.isMultiRange||!i.isInContent)continue;const r=yc("0x11c")==i[yc("0x7a")],o=this[yc("0x168")](i),s=o&&this[yc("0x62")](o);if(!r&&!s)continue;const x=i[yc("0x96")]();if(x[yc("0x78")].parent!=x[yc("0x19")][yc("0xc8")]&&!x[yc("0x19")].isAtEnd){const r=t[yc("0x7f")][yc("0xd2")](x[yc("0x78")][yc("0x9")],yc("0x19")),o=t[yc("0x7f")][yc("0x175")](x[yc("0x78")],r);e[yc("0x147")](i[yc("0x29")](),{range:o}),n=!0}}return n})),t[yc("0x7f")][yc("0x63")][yc("0xd5")]((t=>this[yc("0x16b")](t))),t[yc("0x7f")][yc("0x63")][yc("0xd5")]((t=>!t[yc("0x170")][yc("0x21")]&&this._processAttributeSuggestions(t))),t[yc("0x7f")].on(yc("0x125"),(()=>{this[yc("0xe4")]=!1})),t[yc("0x7f")][yc("0x63")].on("change:data",((n,i)=>{if(!i[yc("0x21")]||i.isUndo)return;if(!this[yc("0xe4")])return;const r=t.model[yc("0x63")][yc("0xa9")][yc("0xe1")]();if(0==r[yc("0x3")])return;const o=[],s=r[yc("0xe2")]((t=>yc("0xe0")==t[yc("0x7a")])),x=r[yc("0xe2")]((t=>yc("0x4e")==t[yc("0x7a")]&&yc("0x158")!=t[yc("0x11e")])),a=r[yc("0xe2")]((t=>yc("0xa4")==t[yc("0x7a")]&&"$text"!=t[yc("0x11e")]));for(const e of s)this[yc("0x8f")](e.attributeKey)&&o[yc("0x64")]({key:e.attributeKey,newValue:e[yc("0x148")],oldValue:e.attributeOldValue,range:Nc(e[yc("0x136")],t[yc("0x7f")])});for(const e of x){const n=a[yc("0x16")]((t=>t[yc("0x34")]===e[yc("0x34")]));if(n){const i=Mc(e.position.nodeAfter,t[yc("0x7f")]);n[yc("0x11e")]!==e[yc("0x11e")]&&o.push({key:yc("0x7b"),newValue:e[yc("0x11e")],oldValue:n[yc("0x11e")],range:i});for(const[t,r]of n[yc("0x81")]){if(!this[yc("0x8f")](t))continue;const n=e[yc("0x81")][yc("0x2c")](t);r!==n&&o[yc("0x64")]({key:t,newValue:n,oldValue:r,range:i})}for(const[t,r]of e.attributes)this[yc("0x8f")](t)&&(n[yc("0x81")][yc("0x2e")](t)||o[yc("0x64")]({key:t,newValue:r,oldValue:null,range:i}))}}0!=o[yc("0x3")]&&t[yc("0x7f")].enqueueChange(i,(t=>{const n=(0,e.uid)();for(const{range:t,key:e,oldValue:i,newValue:r}of o)this[yc("0xd3")](t,e,i,r,{groupId:n});this._reduceExistingSuggestions(t,o)}))}),{priority:yc("0xa5")}),t[yc("0x7f")][yc("0xb1")].on(yc("0x42"),((t,e,n)=>{if(null==n){const{id:t}=this[yc("0xa6")](e[yc("0x11e")]),n=this[yc("0x14f")][yc("0x2c")](t);n&&n[yc("0x129")](e[yc("0x11e")])}})),t[yc("0x7f")][yc("0x63")].on("change:data",(()=>{const e=Array[yc("0x151")](t[yc("0x7f")][yc("0x63")][yc("0xa9")][yc("0x159")]())[yc("0xe2")]((t=>"suggestion"===this[yc("0xa6")](t.name)[yc("0x11f")]));if(0===e.length)return;e[yc("0x17c")](((t,e)=>{const n=t[yc("0x39")].oldRange,i=e[yc("0x39")][yc("0x174")];return null===n&&null===i?0:null===n&&null!==i?-1:null!==n&&null===i?1:n[yc("0x78")][yc("0x2a")](i[yc("0x78")])?-1:1}));const n=new Set,i=new Set;for(const{name:t,data:r}of e){const{id:e}=this[yc("0xa6")](t);if(null===r[yc("0x174")]){const e=this[yc("0xcf")](t);i[yc("0xe3")](e)}else{const t=this[yc("0x14f")][yc("0x2c")](e);null!==r[yc("0x11b")]||t.isInContent?(n.add(t[yc("0x59")]),i.add(t)):this[yc("0x114")](t)}}i[yc("0x111")]>0&&this._refreshSuggestionsChain(i);for(const t of n)this.fire(yc("0x74"),t)})),t[yc("0x7f")].on(yc("0x37"),((e,n)=>{const i=n[0];if(!this[yc("0x14f")][yc("0x111")])return;if(!i[yc("0x82")])return;if(i.batch[yc("0x116")]||!i[yc("0x170")].isLocal)return;let r,o;switch(i.type){case yc("0x4e"):r=t[yc("0x7f")][yc("0xd2")](i[yc("0x30")]),o=r[yc("0x140")](i[yc("0xea")]);break;case yc("0x56"):r=t[yc("0x7f")][yc("0xd2")](i[yc("0xd4")]),o=t[yc("0x7f")].createPositionAt(i[yc("0xd9")]);break;case yc("0xca"):r=t[yc("0x7f")][yc("0xd2")](i[yc("0x50")]),o=r[yc("0x140")](i[yc("0xea")]);break;default:return}const s=t[yc("0x7f")].createRange(r,o);t.model[yc("0x152")]((()=>{for(const{suggestion:t,meta:e}of this[yc("0x127")](s)){if(t[yc("0x154")])continue;if(yc("0x146")==t[yc("0x7a")])continue;const n=this[yc("0x168")](t);if(n&&this[yc("0x62")](n)&&yc("0x56")!=i.type)continue;const x=t[yc("0x39")]&&t[yc("0x39")][yc("0xdd")];("formatBlock"!=t.type||yc("0x56")==i[yc("0x7a")]&&!x)&&(e[yc("0x180")]||"insertion"==t[yc("0x7a")]&&e[yc("0x164")]||t.getFirstRange()[yc("0x128")](s)&&this._breakSuggestionMarker(t,r,o))}}))}),{priority:yc("0xa5")}),t[yc("0x7f")].on(yc("0x99"),((e,n)=>{const i=n[0],r=n[1];if(r&&r.forceDefaultExecution)return;if(this[yc("0x80")])return;if(!this[yc("0x76")].value)return;if(i[yc("0x100")])return;const o=t[yc("0x7f")][yc("0x12a")],{start:s,end:x}=i[yc("0x96")](),a=s[yc("0x9")]&&o.isLimit(s.nodeAfter)?null:o[yc("0x2f")](s,yc("0x72")),c=x[yc("0x65")]&&o.isLimit(x[yc("0x65")])?null:o[yc("0x2f")](x,yc("0x144")),l=t[yc("0x7f")][yc("0x175")](a?a[yc("0x78")]:s,c?c.end:x);t[yc("0x7f")][yc("0x152")]((e=>{this[yc("0x67")](l);const n=t[yc("0x7f")][yc("0x12a")][yc("0x2f")](l[yc("0x78")]);i.is(yc("0x101"))?e[yc("0x163")](n):i[yc("0x4")](n)})),e.stop()}),{priority:e.priorities[yc("0xeb")]+10}),t[yc("0x7f")].on(yc("0x14"),((e,n)=>{const i=n[n[yc("0x3")]-1];i&&i[yc("0x14a")]||this[yc("0x80")]||this.trackChangesCommand[yc("0x171")]&&(t[yc("0x7f")].change((()=>{let i=t[yc("0x7f")][yc("0x14")](n[0],n[1],n[2],{forceDefaultExecution:!0});if(!i)return;e[yc("0x9f")]=i.clone();const r=i[yc("0x19")].nodeBefore,o=t.model[yc("0x12a")];r&&o[yc("0x5b")](r)&&!o[yc("0xfe")](r)&&(i=t.model[yc("0x175")](i.start,t[yc("0x7f")][yc("0xd2")](r,yc("0x19")))),this.markInsertion(i)})),e.stop())}),{priority:yc("0x139")}),this.editor[yc("0x10d")][yc("0xe3")](yc("0x93"),this[yc("0x76")]),this[yc("0x17e")]("trackChanges");const r=new p(t,this._suggestions);t.commands[yc("0xe3")]("acceptSuggestion",r),this[yc("0x17e")](yc("0x84"));const o=new y(t,this[yc("0x14f")]);t.commands.add(yc("0x113"),o),this[yc("0x17e")](yc("0x113")),t[yc("0x10d")][yc("0xe3")](yc("0x44"),new F(t,r,this[yc("0x14f")])),this[yc("0x17e")](yc("0x44")),t[yc("0x10d")].add(yc("0x162"),new F(t,o,this[yc("0x14f")])),this.enableCommand(yc("0x162")),t.commands[yc("0xe3")](yc("0x103"),new j(t,r,this[yc("0x14f")])),this.enableCommand("acceptSelectedSuggestions"),t[yc("0x10d")][yc("0xe3")](yc("0xfb"),new j(t,o,this[yc("0x14f")])),this[yc("0x17e")](yc("0xfb"));const s=t[yc("0x8c")][yc("0x2c")](yc("0x28"));this[yc("0xfd")](s,yc("0x138"),((t,{threadId:e})=>{const n=this._suggestions.get(e);n&&n[yc("0xd")]&&1===n[yc("0xd")][yc("0x3")]&&this[yc("0x7")](e,{hasComments:!0})}),{priority:yc("0x33")}),this[yc("0xfd")](s,"removeComment",((t,{threadId:e})=>{const n=this[yc("0x14f")].get(e);n&&n[yc("0xd")]&&!n[yc("0xd")].length&&this[yc("0x7")](e,{hasComments:!1})}),{priority:"low"})}set[yc("0x75")](t){if(this._adapter)throw new e.CKEditorError(yc("0x13f"),this);this._adapter=t}get adapter(){return this._adapter}[yc("0x51")]({skipNotAttached:t=!1,toJSON:e=!1}={}){const n=[];for(const e of this[yc("0x14f")][yc("0xee")]())t&&!e[yc("0xe6")]||n.push(e);return e?n[yc("0x16f")]((t=>t.toJSON())):n}[yc("0x71")](t){const n=this[yc("0x14f")][yc("0x2c")](t);if(!n)throw new e.CKEditorError(yc("0x88"),this);return n}[yc("0x16e")](t){return this._suggestions[yc("0x2e")](t)}[yc("0xbe")](t){const{authorId:e,id:n,attributes:i}=t,[r,o]=t.type.split(":"),s=this[yc("0x14f")].get(n)||this[yc("0x77")](r,o,n,e,i);if(this[yc("0xdb")](s),this[yc("0x7c")](s,r,o||null,e),s[yc("0x1f")]=t[yc("0x1f")],s[yc("0x150")]=!0,i&&i["@external"]){const t=i[yc("0x4c")],e=this[yc("0x15c")](t.authorName);s[yc("0x108")]=t[yc("0x1f")],s[yc("0x14e")]=e,s.isExternal=!0}else s[yc("0x108")]=t[yc("0x1f")];switch(t.data&&(s[yc("0x39")]=t[yc("0x39")]),t.attributes&&(s[yc("0x81")]=t[yc("0x81")]),this[yc("0x24")]&&this[yc("0x24")][yc("0x13")]||(s[yc("0xf")]=!0),this[yc("0x134")].get(s)){case yc("0x5"):this._suggestionState.set(s,"dataReady");break;case yc("0xa0"):s[yc("0xe6")]?(this[yc("0x54")](new Set([s])),this._refreshSuggestionsChain(new Set([s])),this._suggestionState.set(s,yc("0xf7")),this.fire(yc("0x17a"),s)):this[yc("0x134")][yc("0x45")](s,yc("0x86"))}return s}[yc("0x84")](t){this[yc("0x14a")]((()=>{this[yc("0x5f")][yc("0x7f")][yc("0x152")]((()=>{for(const e of t[yc("0x3e")]())e.accept()}))}))}[yc("0x113")](t){this[yc("0x14a")]((()=>{this.editor.model.change((()=>{for(const e of t[yc("0x3e")]())e[yc("0x2")]()}))}))}[yc("0x17e")](t,n){const i=this[yc("0x5f")][yc("0x10d")].get(t);if(!i)throw new e.CKEditorError("track-changes-command-not-found",this,{commandName:t});if(this._enabledCommands[yc("0x2e")](i))throw new e.CKEditorError("track-changes-enable-command-twice",this,{commandName:t});this[yc("0x11")][yc("0xe3")](i),n&&i.on(yc("0x8"),((t,e)=>{this[yc("0x76")][yc("0x171")]&&(this[yc("0x80")]||(e[yc("0x3")]>0&&e[e[yc("0x3")]-1]&&e[e[yc("0x3")]-1][yc("0x14a")]?e[yc("0x16c")]():(t[yc("0x9f")]=n(((...t)=>i.execute(...t,{forceDefaultExecution:!0})),...e),t[yc("0x14c")]())))}),{priority:yc("0x139")})}[yc("0x14a")](t){let n,i;const r=this[yc("0x80")];this[yc("0x80")]=!0;try{n=t()}catch(t){i=t}return r||(this._isForcedDefaultExecutionBlock=!1),i&&e.CKEditorError[yc("0x98")](i,this),n}[yc("0xbd")](t,n=null,i={}){if(t[yc("0x100")])return null;const r=this.editor.plugins[yc("0x2c")]("Users").me;for(const{suggestion:e,meta:r}of this[yc("0x127")](t,yc("0x25")))if(r[yc("0x164")]){if(!r[yc("0x92")]){if(r[yc("0x180")]){if(!this[yc("0x41")]||!Fc(e,i))continue;return e}if(Fc(e,i))return e;this[yc("0x130")](e,t[yc("0x78")],t[yc("0x19")]);break}if(n==e[yc("0x15")]&&Fc(e,i)){const n=e.getFirstRange();return n[yc("0x78")][yc("0xaf")](t[yc("0x19")])?this._setSuggestionRange(e,this[yc("0x106")].createRange(t[yc("0x78")],n.end)):this._setSuggestionRange(e,this._model[yc("0x175")](n[yc("0x78")],t[yc("0x19")])),e}}const o=(0,e.uid)(),s=r.id,x=n?"insertion:"+n:yc("0x25"),a=this[yc("0x69")]({id:o,type:x,createdAt:new Date,authorId:s,attributes:i});return this[yc("0x12b")](x,o,s,t),a}[yc("0xf9")](t,n=yc("0x10f"),i={}){const r=this[yc("0x5f")].plugins[yc("0x2c")](yc("0x157")).me,o=this[yc("0x145")].getSuggestionCallback(yc("0x25"),n,yc("0x10e"));for(const e of this[yc("0x51")]())if(e[yc("0x14e")].id==r.id&&"insertion"==e[yc("0x7a")]&&e.subType==n&&Fc(e,i)&&(o(e[yc("0xa8")](),t)||o(t,e[yc("0xa8")]()))){for(const n of t)e[yc("0x143")](n);return e}for(const{suggestion:e,meta:n}of this[yc("0x127")](t,yc("0x25"))){if(!n.isOwn)continue;if(!this[yc("0x41")]&&n[yc("0x180")])continue;if(!Fc(e,i))continue;let r=!0;for(const n of e.getRanges())for(const e of t)if(!n[yc("0x128")](e)){r=!1;break}if(r)return e}const s=(0,e.uid)(),x=r.id,a=yc("0x95")+n,c=this._setSuggestionData({id:s,type:a,createdAt:new Date,authorId:x,attributes:i});for(const e of t)this[yc("0x12b")](a,s,x,e,Yi[yc("0xb9")]());return c}[yc("0x85")](t,n,i=null,r={}){if(i=i||Sc(n),t.isCollapsed)return null;if(yc("0xfc")===this[yc("0x89")]){const e=this[yc("0x145")][yc("0x161")](yc("0x146"),i,"accept");return this[yc("0x14a")]((()=>e([t],n,r))),null}const o=this[yc("0x5f")][yc("0x8c")].get(yc("0x157")).me,s=[];if(yc("0x9e")!==this[yc("0x89")])for(const{suggestion:e,meta:n}of this._findSuggestions(t,yc("0x25")))n.isOwn&&!n[yc("0x9a")]&&s[yc("0x64")](...e[yc("0xa8")]());const x=function(t,e){const n=[];for(const i of e){const e=t[yc("0x177")](i);e&&n[yc("0x64")](e)}return n}(t,s),a=function(t,e){const n=[t];for(const t of e){let e=0;for(;e<n[yc("0x3")];){const i=n[e][yc("0x18")](t);n[yc("0x132")](e,1,...i),e+=i[yc("0x3")]}}return n}(t,s);x.length&&this[yc("0x106")][yc("0x152")]((()=>{for(const t of x){const e=this[yc("0x145")][yc("0x161")](yc("0x146"),i,yc("0x15e"));this[yc("0x14a")]((()=>e([t],n,r)))}}));for(const t of a){let s=null,x=t[yc("0x78")],a=t[yc("0x19")];for(const{suggestion:e,meta:n}of this[yc("0x127")](t,"formatInline")){if(!n.isOwn)continue;if(e[yc("0x15")]!=i)continue;if(!Fc(e,r))continue;const o=e[yc("0x96")]();if(o[yc("0x128")](t,!0))return null;x=x.isBefore(o[yc("0x78")])?x:o[yc("0x78")],a=a.isAfter(o[yc("0x19")])?a:o[yc("0x19")],s?o[yc("0x78")][yc("0x2a")](s[yc("0x96")]()[yc("0x78")])?(s[yc("0x0")](),s=e):e[yc("0x0")]():s=e}const c=this._model[yc("0x175")](x,a);if(s)this._setSuggestionRange(s,c);else{const t=(0,e.uid)(),s=o.id;this._setSuggestionData({id:t,type:yc("0xd0")+i,data:n,createdAt:new Date,authorId:s,attributes:r}),this[yc("0x12b")](yc("0xd0")+i,t,s,c)}}return null}markBlockFormat(t,n,i=[],r=null,o={}){n[yc("0xab")]||(n[yc("0xab")]=n.commandName),n.multipleBlocks=t.is(yc("0x136")),r=r||Sc(n);const s=i[yc("0x16f")]((t=>Mc(t,this[yc("0x106")]))),x=t.is(yc("0x136"))?t:Mc(t,this._model);if(yc("0xfc")===this._trackFormatChanges){const t=this[yc("0x145")][yc("0x161")](yc("0x11c"),r,yc("0x15e"));return this[yc("0x14a")]((()=>t([x],n,o))),null}s[yc("0x64")](x);let a=!0;for(const t of s)if(!this[yc("0x119")](t)){a=!1;break}if(a&&yc("0x9e")!==this[yc("0x89")]){const t=this[yc("0x145")][yc("0x161")](yc("0x11c"),r,yc("0x15e"));return this[yc("0x14a")]((()=>t([x],n,o))),null}let c=null,l=x[yc("0x78")],u=x[yc("0x19")];for(const{suggestion:t,meta:e}of this[yc("0x127")](x,yc("0x11c"))){if(!e.isOwn)continue;if(e[yc("0x92")]||e.containsRangeInObject||e[yc("0x9a")])continue;if(t[yc("0x39")].formatGroupId!=n.formatGroupId)continue;if(!Fc(t,o))continue;const i=t[yc("0x96")]();if(t[yc("0x15")]==r){if(i.containsRange(x,!0))return null;l=l[yc("0x2a")](i[yc("0x78")])?l:i[yc("0x78")],u=u[yc("0xbf")](i[yc("0x19")])?u:i[yc("0x19")],c?i.start[yc("0x2a")](c[yc("0x96")]()[yc("0x78")])?(c.removeMarkers(),c=t):t[yc("0x0")]():c=t}else{const e=x.getIntersection(i);this[yc("0xa7")](t,e)}}const d=this.editor[yc("0x8c")][yc("0x2c")](yc("0x157")).me,g=(0,e.uid)(),f=d.id;if(c)return this[yc("0x5d")](c,this._model.createRange(l,u)),c;{const t=this._setSuggestionData({id:g,type:"formatBlock:"+r,data:n,createdAt:new Date,authorId:f,attributes:o});return this[yc("0x12b")](yc("0x87")+r,g,f,this[yc("0x106")][yc("0x175")](l,u)),t}}[yc("0xa3")](t,n,i=[],r=null,o={}){n[yc("0xab")]||(n[yc("0xab")]=n[yc("0x137")]);const s=t[0];n[yc("0xdd")]=s.is(yc("0x136")),r=r||Sc(n);const x=i[yc("0x16f")]((t=>Mc(t,this[yc("0x106")]))),a=s.is("range")?t:t[yc("0x16f")]((t=>Mc(t,this[yc("0x106")])));if(yc("0xfc")===this[yc("0x89")]){const t=this[yc("0x145")][yc("0x161")](yc("0x11c"),r,yc("0x15e"));return this.forceDefaultExecution((()=>t(a,n,o))),null}x[yc("0x64")](...a);let c=!0;for(const t of x)if(!this[yc("0x119")](t)){c=!1;break}if(c&&yc("0x9e")!==this._trackFormatChanges){const t=this[yc("0x145")][yc("0x161")]("formatBlock",r,yc("0x15e"));return this[yc("0x14a")]((()=>t(a,n,o))),null}const l=this[yc("0x5f")][yc("0x8c")][yc("0x2c")](yc("0x157")).me;for(const t of this[yc("0x51")]()){if(t[yc("0x14e")].id!=l.id)continue;if("formatBlock"!=t.type||t.data.formatGroupId!=n[yc("0xab")])continue;if(!Fc(t,o))continue;const e=t.subType==r;for(let n=0;n<a.length;n++){const i=a[n];for(const r of t[yc("0x14d")]()){const o=r[yc("0x160")]();if(i[yc("0xaf")](o)){e?(a.splice(n,1),n--):t.removeMarker(r[yc("0x11e")]);break}}}}if(0==a[yc("0x3")])return null;const u=this._suggestionFactory[yc("0x161")]("formatBlock",r,yc("0x10e"));for(const t of this.getSuggestions())if(t[yc("0x14e")].id==l.id&&yc("0x11c")==t[yc("0x7a")]&&t.data.formatGroupId==n[yc("0xab")]&&t[yc("0x15")]==r&&Fc(t,o)&&(u(t[yc("0xa8")](),a)||u(a,t[yc("0xa8")]()))){for(const e of a)t[yc("0x143")](e);return t}const d=(0,e.uid)(),g=l.id,f=yc("0x87")+r,h=this[yc("0x69")]({id:d,type:f,data:n,createdAt:new Date,authorId:g,attributes:o});for(const t of a)this[yc("0x12b")](f,d,g,t,Yi[yc("0xb9")]());return h}[yc("0x67")](t,n=null,i={}){if(t[yc("0x100")])return null;const r=this[yc("0x5f")][yc("0x8c")][yc("0x2c")](yc("0x157")).me,o=new s.LiveRange(t.start,t[yc("0x19")]);for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x25")))if(e[yc("0x164")]&&!e[yc("0x92")])if(t[yc("0x154")]){const e=t[yc("0xa8")]().filter((t=>"$graveyard"!=t[yc("0xf5")].rootName));if(e[yc("0xcb")]((t=>o[yc("0x128")](t,!0)))&&t.discard(),e[yc("0x43")]((t=>t.containsRange(o,!0)))){const t=this[yc("0x145")][yc("0x161")](yc("0x167"),n,"accept");return this[yc("0x14a")]((()=>t([o],null,i))),null}}else{const e=o[yc("0x177")](t[yc("0x96")]());null!==e&&t[yc("0x122")]([e],null,i)}if(o.detach(),o[yc("0x100")]||yc("0x176")==o[yc("0xf5")][yc("0xf1")])return null;let x=null,a=o[yc("0x78")],c=o[yc("0x19")];const l=this[yc("0x127")](o,yc("0x167"));for(const{suggestion:t,meta:e}of l){const n=this[yc("0x106")][yc("0x175")](a,c);if(e[yc("0x164")]&&(this[yc("0x41")]||!e[yc("0x180")]&&!e[yc("0x9a")]))if(t.isMultiRange){if(!Fc(t,i))continue;let e=!0;for(const i of t[yc("0xa8")]()){if(i.containsRange(n,!0))return t;n[yc("0x128")](i)||(e=!1)}e&&t[yc("0x2")]()}else{const e=t[yc("0x96")]();if(e.containsRange(n,!0))return t;if(!Fc(t,i)){n[yc("0x128")](e)?t.removeMarkers():e.containsPosition(a)?a=e[yc("0x19")]:e.containsPosition(c)&&(c=e[yc("0x78")]);continue}a=a.isBefore(e[yc("0x78")])?a:e[yc("0x78")],c=c[yc("0xbf")](e.end)?c:e[yc("0x19")],i=Object[yc("0x97")]({},t[yc("0x81")]),x?e.start[yc("0x2a")](x[yc("0x96")]().start)?(x[yc("0x0")](),x=t):t.removeMarkers():x=t}}if(x)return this[yc("0x5d")](x,this._model[yc("0x175")](a,c)),x;{const t=(0,e.uid)(),o=this[yc("0x106")][yc("0x175")](a,c),s=r.id,x=n?yc("0xc5")+n:"deletion",l=this[yc("0x69")]({id:t,type:x,createdAt:new Date,authorId:s,attributes:i});return this[yc("0x12b")](x,t,s,o),l}}[yc("0x107")](t,n=yc("0x10f"),i={}){const r=this[yc("0x5f")][yc("0x8c")][yc("0x2c")]("Users").me,o=t[yc("0x16f")]((t=>new s.LiveRange(t[yc("0x78")],t[yc("0x19")]))),x=new Set;for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x25")))e[yc("0x164")]&&!e[yc("0x92")]&&x[yc("0xe3")](t);for(const e of x)if(e.isMultiRange){const r=e.getRanges();if((!e.attributes||!e[yc("0x81")][yc("0x90")])&&r[yc("0xcb")]((t=>o[yc("0x43")]((e=>e[yc("0x128")](t,!0)))))&&e.discard(),o[yc("0xcb")]((t=>r[yc("0x43")]((e=>e[yc("0x128")](t,!0)))))){const e=this[yc("0x145")][yc("0x161")](yc("0x167"),n,"accept");return this[yc("0x14a")]((()=>e(t,null,i))),null}}else{const t=e[yc("0x96")]();if(o[yc("0x43")]((e=>e[yc("0x128")](t,!0)))&&e[yc("0x2")](),o[yc("0xcb")]((e=>t[yc("0x128")](e,!0)))){const t=this[yc("0x145")][yc("0x161")](yc("0x167"),n,yc("0x15e"));return this.forceDefaultExecution((()=>t(o,null,i))),null}}const a=this._suggestionFactory[yc("0x161")](yc("0x167"),n,"join");let c=null;for(const t of this[yc("0x51")]())if(t.author.id==r.id&&t.isInContent&&yc("0x167")==t[yc("0x7a")]&&t.subType==n&&Fc(t,i)&&(a(t[yc("0xa8")](),o)||a(o,t[yc("0xa8")]())))if(c){if(t.commentThread&&t[yc("0xd")][yc("0x3")])continue;for(const e of t[yc("0xa8")]())c[yc("0xcc")](e)||c[yc("0x143")](e);t.removeMarkers()}else{c=t;for(const e of o)t.isIntersectingWithRange(e)||t[yc("0x143")](e)}if(c)return c;x[yc("0x3b")]();for(const{suggestion:t,meta:e}of this[yc("0x127")](o,"deletion"))e[yc("0x164")]&&(this._mergeNestedSuggestions||!e[yc("0x180")]&&!e[yc("0x9a")])&&Fc(t,i)&&x[yc("0xe3")](t);for(const t of x){const e=t[yc("0xa8")]();if((!i||!i[yc("0x90")])&&o[yc("0xcb")]((t=>e[yc("0x43")]((e=>e[yc("0x128")](t,!0))))))return t;(!t[yc("0x81")]||!t[yc("0x81")][yc("0x90")])&&e.every((t=>o[yc("0x43")]((e=>e[yc("0x128")](t,!0)))))&&t[yc("0x2")]()}const l=(0,e.uid)(),u=r.id,d=yc("0xc5")+n,g=this[yc("0x69")]({id:l,type:d,createdAt:new Date,authorId:u,attributes:i});for(const t of o)t[yc("0x6e")](),t[yc("0x100")]||yc("0x176")==t.root[yc("0xf1")]||this._addSuggestionMarker(d,l,u,t,Yi[yc("0xb9")]());return g}markAttributeChange(t,n,i,r,o){if(t[yc("0x100")])return[];if(yc("0xfc")===this[yc("0x89")])return[];const s=this.editor[yc("0x8c")].get(yc("0x157")).me.id,x=Array[yc("0x151")](this._suggestions.values())[yc("0xe2")]((e=>yc("0xe0")==e[yc("0x7a")]&&e[yc("0x39")].key==n&&e.isIntersectingWithRange(t)));if(yc("0x38")===this[yc("0x89")]){const e=this[yc("0x127")](t,yc("0x25"))[yc("0xe2")]((({meta:t})=>t[yc("0x164")]&&!t[yc("0x9a")]&&!t[yc("0x92")]))[yc("0x16f")]((({suggestion:t})=>t));x[yc("0x12f")](...e)}const a=new Map([[t,i]]);for(const t of x){const e=yc("0xe0")==t[yc("0x7a")]?t[yc("0x39")][yc("0x117")]:void 0,o=t[yc("0x96")](),s=Array[yc("0x151")](a[yc("0x66")]())[yc("0x16")]((t=>t[yc("0xe")](o)));if(!s)continue;const x=s[yc("0x18")](o);this[yc("0x62")](n)&&yc("0x25")==t[yc("0x7a")]&&0!=x.length||(a.delete(s),x[yc("0xe7")]((t=>{a[yc("0x45")](t,i)})),yc("0x25")!=t.type&&e!=r&&a[yc("0x45")](s[yc("0x177")](o),e))}const c=[];for(const[t,i]of a){const x=(0,e.uid)(),a={key:n,oldValue:i,newValue:r};n[yc("0x3")]>37&&console[yc("0x79")]("Creating a suggestion for attribute with too long attribute key. This may lead to errors. Change the attribute key to a value shorter than 37 characters.",{key:n});const l=(yc("0x4a")+(n+"|")+Sc({newValue:r}))[yc("0xc0")](0,60),u=this[yc("0x69")]({id:x,type:l,data:a,createdAt:new Date,authorId:s,attributes:o});c[yc("0x64")](u),this[yc("0x12b")](l,x,s,t)}return c}[yc("0x6b")](t){this[yc("0x11d")][yc("0xe3")](t)}[yc("0xc3")](t){this[yc("0x4b")].add(t)}[yc("0x1d")](t,e=[],n=[]){this[yc("0x17e")](t,((t,...e)=>{this[yc("0x13b")]((()=>{t(...e)}))}));for(const t of e)this._registerInlineAttribute(t);for(const t of n)this[yc("0x6b")](t)}[yc("0x168")](t){return yc("0xe0")==t.type?t.subType[yc("0x56")]("|")[0]:null}[yc("0x5d")](t,e){const n=t[yc("0x29")]();this[yc("0x106")][yc("0x152")]((t=>{t[yc("0x147")](n,{range:e})}))}[yc("0xdb")](t){const e=t.id,n=this.editor[yc("0x11a")][yc("0x2c")](yc("0xff"));this[yc("0x135")][yc("0x12e")](e)||this[yc("0x135")].addCommentThread({channelId:n,threadId:e,isResolvable:!1,isSubmitted:!0});const i=this._commentsRepository[yc("0xde")](e);i[yc("0x3d")](yc("0x141")),i[yc("0x141")]=!1,t[yc("0xd")]=i}[yc("0x7c")](t,n,i,r){if(t.type!=n||t[yc("0x15")]!=i||t[yc("0xcd")].id!=r)throw this.editor[yc("0x4f")](yc("0x10a")),new e.CKEditorError(yc("0x10a"),this)}[yc("0xa7")](t,n){const i=t[yc("0x96")]();if(n.isEqual(i))t[yc("0x0")]();else if(i[yc("0x128")](n)){const r=this[yc("0x106")][yc("0xd2")](n[yc("0x78")][yc("0x65")],"end");this[yc("0x5d")](t,this[yc("0x106")][yc("0x175")](i.start,r));const o=(0,e.uid)(),s=t[yc("0xcd")].id,x=t[yc("0x7a")]+":"+t.subType;this[yc("0x69")]({id:o,type:x,createdAt:new Date,authorId:s,data:t[yc("0x39")],attributes:t[yc("0x81")]});const a=this[yc("0x106")].createPositionAt(n[yc("0x19")][yc("0xc8")],yc("0x23")),c=this[yc("0x106")][yc("0x175")](a,i[yc("0x19")]);this[yc("0x12b")](x,o,s,c)}else if(i[yc("0xd7")](n[yc("0x78")])){const e=this[yc("0x106")][yc("0xd2")](n[yc("0x78")][yc("0x65")],yc("0x19"));this[yc("0x5d")](t,this[yc("0x106")][yc("0x175")](i[yc("0x78")],e))}else{const e=this[yc("0x106")][yc("0xd2")](n[yc("0x19")][yc("0xc8")],yc("0x23"));this[yc("0x5d")](t,this[yc("0x106")].createRange(e,i[yc("0x19")]))}}[yc("0x119")](t){for(const{suggestion:e,meta:n}of this._findSuggestions(t,yc("0x25"))){if(!n[yc("0x164")])continue;const i=e[yc("0xa8")]();for(const e of i)if(!t.getDifference(e).length)return!0}return!1}[yc("0x17")](t){const n=this[yc("0x5f")][yc("0x8c")][yc("0x2c")](yc("0x157"))[yc("0x3a")](t);if(!n)throw new e.CKEditorError("track-changes-user-not-found",this);return n}_getExternalAuthor(t){const e=this[yc("0x5f")][yc("0x8c")][yc("0x2c")]("Users"),n=(0,o.hashObject)(yc("0xaa")+t);return e[yc("0x3a")](n)||e[yc("0x142")]({id:n,name:t})}[yc("0x77")](t,e,n,i,r){const o=this[yc("0x17")](i),s=this[yc("0x145")][yc("0xb2")](t,e,n,o,r,(t=>{this[yc("0x7")](n,{attributes:t});const e=this[yc("0x71")](n);this[yc("0x54")](new Set([e])),this[yc("0x115")](new Set([e]))}));return this.listenTo(s,"accept",(()=>{this[yc("0x7")](n,{state:yc("0xe5")})}),{priority:"high"}),this[yc("0xfd")](s,"discard",(()=>{this[yc("0x7")](n,{state:yc("0xb6")})}),{priority:yc("0x139")}),this[yc("0x14f")].set(n,s),this[yc("0x134")][yc("0x45")](s,yc("0x5")),s}[yc("0xa6")](t){const e=t[yc("0x56")](":");return{group:e[0],type:e[1],subType:e[yc("0x3")]>=5?e[2]:null,id:e[yc("0x3")]<5?e[2]:e[3],authorId:e.length<5?e[3]:e[4],markerCount:6==e.length?e[5]:null}}[yc("0x130")](t,n,i){const r=t[yc("0x96")](),o=r[yc("0x78")],s=r.end;this[yc("0x5d")](t,this[yc("0x106")][yc("0x175")](o,n));const x=(0,e.uid)(),a=t[yc("0xcd")].id,c=t.type+(t[yc("0x15")]?":"+t[yc("0x15")]:"");this[yc("0x69")]({id:x,type:c,createdAt:new Date,authorId:a,originalSuggestionId:t.id,attributes:t.attributes,data:t.data});const l=this._getAttributeKey(t);(yc("0x11c")==t.type||l&&this[yc("0x62")](l))&&(i=this[yc("0x106")][yc("0x7d")](i.parent)),this[yc("0x12b")](c,x,a,this[yc("0x106")][yc("0x175")](i,s))}[yc("0x127")](t,e=null){const n=[],i=this[yc("0x5f")].plugins.get(yc("0x157")).me;Array[yc("0x105")](t)||(t=[t]);for(const r of this.getSuggestions()){if(!r.isInContent)continue;if(e&&r[yc("0x7a")]!=e)continue;let o=!1;for(const e of r[yc("0xa8")]()){for(const s of t){const t=s[yc("0x78")][yc("0xaf")](e[yc("0x19")])||s[yc("0x19")][yc("0xaf")](e[yc("0x78")]);if(t||s[yc("0x177")](e)){const x=s[yc("0x128")](e)&&Ic(this._model[yc("0x12a")],e[yc("0x78")],s),a=e[yc("0x128")](s)&&Ic(this[yc("0x106")][yc("0x12a")],s[yc("0x78")],e);n[yc("0x64")]({suggestion:r,meta:{isOwn:i==r[yc("0x14e")],isNextTo:t,isInsideObject:x,containsRangeInObject:a}}),o=!0;break}}if(o)break}}return n}[yc("0x12b")](t,e,n,i,r){this[yc("0x106")][yc("0x152")]((o=>{let s=yc("0x8e")+t+":"+e+":"+n;r&&(s=s+":"+r),o[yc("0xd8")](s,{range:i,usingOperation:!0,affectsData:!0})}))}[yc("0x114")](t){const e=t[yc("0x124")],n=t[yc("0x17d")];t.previous=null,t[yc("0x17d")]=null,null!=e&&e[yc("0x17d")]==t&&(e.next=n),null!=n&&n[yc("0x124")]==t&&(n.previous=e),yc("0xf7")==this[yc("0x134")][yc("0x2c")](t)&&(this[yc("0x134")][yc("0x45")](t,"removed"),this.fire(yc("0xfa"),t,e,n))}_setSuggestionData(t){const n=t.id,i=this.addSuggestionData(t);if(this._adapter&&this[yc("0x24")][yc("0x13")]){const r=this[yc("0x5f")][yc("0x8c")][yc("0x2c")]("PendingActions"),o=i.hasComments,s=i.subType?i[yc("0x7a")]+":"+i[yc("0x15")]:i[yc("0x7a")],x=this.editor[yc("0x8d")],a=r.add(Ji(x,yc("0x36"))),c={id:n,type:s,hasComments:o,data:t[yc("0x39")]||null,originalSuggestionId:t[yc("0xb5")]||null,attributes:i[yc("0x81")]};this._adapter[yc("0x13")](c)[yc("0xf4")]((t=>{i._saved=!0,r[yc("0xa4")](a),t&&t[yc("0x1f")]&&(this[yc("0x14f")].get(n).createdAt=t[yc("0x1f")])}))[yc("0x1b")]((t=>{throw(0,e.logWarning)(yc("0x5c")),this[yc("0x5f")].model[yc("0x17f")]({isUndoable:!1},(()=>{i[yc("0x2")]()})),i[yc("0x12d")](),this._suggestions[yc("0x55")](i.id),this[yc("0x134")][yc("0x55")](i),t}))}return i}[yc("0x62")](t){return this[yc("0x11d")][yc("0x2e")](t)}[yc("0x7")](t,e){const n=this[yc("0x5f")][yc("0x8c")][yc("0x2c")](yc("0x110")),i=this.getSuggestion(t);if(this[yc("0x24")]&&this[yc("0x24")][yc("0xc1")])if(i[yc("0xf")]){const i=n[yc("0xe3")](Ji(this.editor[yc("0x8d")],yc("0x36")));this[yc("0x24")][yc("0xc1")](t,e)[yc("0xf4")]((()=>{n[yc("0xa4")](i)}))}else i.on("change:_saved",(()=>{this[yc("0x7")](t,e)}))}[yc("0x9c")](t){if(!this[yc("0x24")]||!this[yc("0x24")].getSuggestion)throw new e.CKEditorError("track-changes-adapter-missing-getsuggestion",this);return this[yc("0x24")][yc("0x71")](t)}[yc("0xcf")](t){const{id:e,type:n,subType:i,authorId:r}=this[yc("0xa6")](t),o=this[yc("0x14f")][yc("0x2c")](e)||this[yc("0x77")](n,i,e,r,{});switch(this[yc("0x7c")](o,n,i,r),this[yc("0x134")][yc("0x2c")](o)){case"notReady":this[yc("0x9c")](e)[yc("0xf4")]((t=>{let n=Promise[yc("0x15a")]();t[yc("0x112")]&&(n=this[yc("0x135")][yc("0x166")]({channelId:this[yc("0x5f")].config[yc("0x2c")](yc("0xff")),threadId:e})),n[yc("0xf4")]((()=>{this[yc("0xbe")](t)[yc("0xf")]=!0}))})),this[yc("0x134")][yc("0x45")](o,"markerReady");break;case yc("0x86"):this[yc("0x7")](e,{state:yc("0xe9")});case"dataReady":this[yc("0x134")][yc("0x45")](o,yc("0xf7")),this[yc("0x13d")](yc("0x17a"),o);break;case yc("0xf7"):this[yc("0x13d")]("suggestionChanged",o)}return o.addMarkerName(t),o}[yc("0x115")](t){const e=Array.from(t),n=e.filter((t=>"attribute"==t[yc("0x7a")]));this._refreshAttributeSuggestionsChain(n);const i=e[yc("0xe2")]((t=>!t[yc("0x154")]&&yc("0xe0")!=t[yc("0x7a")])),r=this[yc("0x51")]({skipNotAttached:!0}).filter((t=>!t[yc("0x154")]&&yc("0xe0")!=t[yc("0x7a")])),o=r.filter((e=>!t.has(e))),s=new Map(r[yc("0x16f")]((t=>[t,this._suggestionFactory[yc("0x161")](t[yc("0x7a")],t[yc("0x15")],yc("0xb"))]))),x=new Map(r[yc("0x16f")]((t=>[t,t[yc("0x96")]()]))),a=new Set,c=new Set;for(let t=0;t<i[yc("0x3")];t++)u(i[t],i,t+1);for(let t=0;t<i[yc("0x3")];t++)u(i[t],o,0);const l=new Set;for(let t=0;t<i[yc("0x3")];t++){const e=i[t];!c.has(e)&&e[yc("0x124")]&&(l[yc("0xe3")](e.previous),e.previous[yc("0x17d")]===e&&(e.previous[yc("0x17d")]=null),e.previous=null),!a[yc("0x2e")](e)&&e[yc("0x17d")]&&(l[yc("0xe3")](e[yc("0x17d")]),e.next.previous===e&&(e.next[yc("0x124")]=null),e[yc("0x17d")]=null)}function u(t,e,n){for(let i=n;i<e[yc("0x3")];i++){const n=d(t,e[i]);n&&(n[0][yc("0x17d")]=n[1],n[1][yc("0x124")]=n[0],a[yc("0xe3")](n[0]),c.add(n[1]))}}function d(t,e){if(t[yc("0x14e")].id!==e[yc("0x14e")].id)return null;const n=s[yc("0x2c")](t)(t,e,x[yc("0x2c")](t),x[yc("0x2c")](e));return n&&s[yc("0x2c")](e)(t,e,x[yc("0x2c")](t),x[yc("0x2c")](e))?n[1].commentThread&&n[1][yc("0xd")][yc("0x3")]?null:n:null}l[yc("0x111")]&&this._refreshSuggestionsChain(l)}[yc("0x123")](t){if(0==t[yc("0x3")])return;const e=this[yc("0x51")]({skipNotAttached:!0})[yc("0xe2")]((t=>"attribute"==t[yc("0x7a")]&&t[yc("0x150")])),n=[],i=new Map;for(const t of e){const e=(0,o.hashObject)(t[yc("0x81")]);i[yc("0x2e")](e)||(i[yc("0x45")](e,n[yc("0x3")]),n[yc("0x64")]([]));const r=i[yc("0x2c")](e);n[r][yc("0x64")](t)}!function(){n.sort(((t,e)=>{const n=t[0][yc("0x1f")],i=e[0][yc("0x1f")];return n==i?t[0][yc("0x81")][yc("0x1")]<e[0][yc("0x81")][yc("0x1")]?-1:1:n<i?-1:1}));for(const t of n)t.sort(((t,e)=>t.id<e.id?-1:1))}();for(let t=0;t<n[yc("0x3")];t++){if(0==n[t].length)continue;const e=[];for(let i=t+1;i<n.length;i++)0!=n[i][yc("0x3")]&&r(n[t],n[i])&&e[yc("0x64")](i);for(const i of e)n[t]=n[t][yc("0x181")](n[i]),n[i]=[]}for(const t of n)for(let e=0;e<t[yc("0x3")];e++)t[e][yc("0x17d")]=t[e+1]||null;for(const t of n)for(let e=0;e<t.length;e++)t[e].previous=t[e-1]||null;function r(t,e){if(t[0][yc("0x81")][yc("0x1")]!==e[0][yc("0x81")][yc("0x1")]&&t[0].author!==e[0][yc("0x14e")])return!1;if(n=t[0],i=e[0],(n.hasComments||i.hasComments)&&(n.hasComments&&i[yc("0x112")]||!(n.hasComments&&i[yc("0x1f")]<n[yc("0xd")][yc("0x3f")].get(0)[yc("0x1f")]||i[yc("0x112")]&&n.createdAt<i[yc("0xd")][yc("0x3f")][yc("0x2c")](0)[yc("0x1f")])))return!1;var n,i;const r=bc(t[0][yc("0x81")],yc("0x1")),o=bc(e[0][yc("0x81")],"groupId");return!!ji(r,o)&&(!!t[yc("0xcb")]((t=>e.some((e=>t[yc("0x96")]().isEqual(e.getFirstRange())))))&&e[yc("0xcb")]((e=>t[yc("0x43")]((t=>e.getFirstRange()[yc("0xaf")](t.getFirstRange()))))))}}_joinWithAdjacentSuggestions(t){const e=Array[yc("0x151")](t),n=this[yc("0x51")]({skipNotAttached:!0}),i=n[yc("0xe2")]((e=>!t[yc("0x2e")](e))),r=new Map(e[yc("0x16f")]((t=>[t,this[yc("0x145")][yc("0x161")](t[yc("0x7a")],t[yc("0x15")],yc("0x10e"))]))),o=new Map(n.map((t=>[t,t[yc("0xa8")]()])));for(let t=0;t<e[yc("0x3")];t++)if(s(this,e[t],e,t+1))return!0;for(let t=0;t<e[yc("0x3")];t++)if(s(this,e[t],i,0))return!0;return!1;function s(t,e,n,i){for(let s=i;s<n[yc("0x3")];s++){const i=n[s];if(i[yc("0x7a")]!==e[yc("0x7a")]||i[yc("0x14e")].id!==e[yc("0x14e")].id||i[yc("0x15")]!==e[yc("0x15")])continue;if(!Oc(e,i,[yc("0x1")]))continue;if(yc("0xe0")==e.type&&e[yc("0x39")][yc("0x117")]!=i[yc("0x39")][yc("0x117")])continue;if(yc("0xe0")==e[yc("0x7a")]&&t[yc("0x62")](e.data[yc("0x126")]))continue;if("formatBlock"==e[yc("0x7a")]){const n=t[yc("0x5f")][yc("0x7f")],i=e[yc("0x60")]();if(i&&(n[yc("0x12a")][yc("0xfe")](i)||n[yc("0x12a")][yc("0x6a")](i)))continue}const x=r.get(e),a=o.get(e),c=o[yc("0x2c")](i),l=e.commentThread&&e.commentThread.length,u=i.commentThread&&i[yc("0xd")][yc("0x3")];if(!l&&x(c,a))return t[yc("0x53")](i,e),o[yc("0x55")](e),!0;if(!u&&x(a,c))return t[yc("0x53")](e,i),o[yc("0x55")](i),!0}return!1}}[yc("0x53")](t,e){if(t[yc("0x154")])for(const n of e.getRanges())t[yc("0x143")](n);else{const n=e.getFirstRange()[yc("0x19")];this[yc("0x5d")](t,this._model.createRange(t.getFirstRange()[yc("0x78")],n))}e[yc("0x0")]()}[yc("0x133")](t,e){const n=t.startsWith(yc("0xae"))||t[yc("0x169")](yc("0xe0"))?yc("0x5a"):t[yc("0x179")]();return Ji(this[yc("0x5f")][yc("0x8d")],e+"_"+n+yc("0x26"))}[yc("0xf6")](){const t=this[yc("0x5f")];(0,o.surroundingMarkersDetector)(this[yc("0x106")],(({left:e,entered:n})=>{const i=[];for(const t of e){const{group:e,type:n}=this[yc("0xa6")](t[yc("0x11e")]);if(yc("0xc9")===e){i.push(this[yc("0x133")](n,yc("0x61")));break}}for(const t of n){const{group:e,type:n}=this[yc("0xa6")](t[yc("0x11e")]);if(yc("0xc9")===e){i[yc("0x64")](this._getMarkerAnnouncementText(n,yc("0x10")));break}}i.length&&t.ui.ariaLiveAnnouncer[yc("0xc2")](yc("0x93"),i[yc("0x10e")](" "))}))}[yc("0x16b")](t){if(this[yc("0xe4")])return!1;const e=this[yc("0x5f")],n=e.model[yc("0x63")][yc("0xa9")][yc("0xe1")]();if(0==n[yc("0x3")])return!1;const i=[],r=n.filter((t=>yc("0xe0")==t[yc("0x7a")])),o=n[yc("0xe2")]((t=>"insert"==t[yc("0x7a")]&&yc("0x158")!=t[yc("0x11e")])),s=n[yc("0xe2")]((t=>yc("0xa4")==t.type&&"$text"!=t[yc("0x11e")]));for(const t of r)i[yc("0x64")]({key:t[yc("0x48")],newValue:t[yc("0x148")],oldValue:t[yc("0x14b")],range:Nc(t[yc("0x136")],e.model)});for(const t of o){const n=s[yc("0x16")]((e=>e[yc("0x30")].isEqual(t[yc("0x30")])));n&&i[yc("0x64")]({key:yc("0x7b"),newValue:t[yc("0x11e")],oldValue:n[yc("0x11e")],range:e[yc("0x7f")][yc("0xc4")](t[yc("0x30")][yc("0x9")])})}return 0!=i[yc("0x3")]&&this[yc("0xba")](t,i)}_processAttributeSuggestions(t){let e=!1;const n=this[yc("0x5f")].model[yc("0x63")].differ.getChangedMarkers()[yc("0xe2")]((t=>t[yc("0x39")][yc("0x11b")]&&t.name[yc("0x169")](yc("0x12c"))));for(const i of n){const{subType:n,id:r}=this[yc("0xa6")](i.name),o=n[yc("0x56")]("|")[0];for(const n of this[yc("0x51")]({skipNotAttached:!0}))n.id!=r&&yc("0xe0")==n[yc("0x7a")]&&n[yc("0x39")]&&n[yc("0x39")][yc("0x126")]==o&&n[yc("0x96")]()[yc("0xe")](i[yc("0x39")].newRange)&&(this[yc("0xf0")](n,i[yc("0x39")][yc("0x11b")],t),e=!0)}return e}_recordAttributeChanges(t){this[yc("0x5f")],this[yc("0xe4")]=!0,t()}[yc("0x8f")](t){const e=this[yc("0x62")](t),n=this[yc("0x4b")][yc("0x2e")](t);return e||n}_reduceExistingSuggestions(t,e){if(0==e.length)return!1;let n=!1;for(const i of e){const e=this[yc("0x127")](i[yc("0x136")],yc("0xe0"))[yc("0xe2")]((t=>!t.meta[yc("0x92")])).map((t=>t[yc("0xc9")])),r=(0,o.hashObject)({newValue:i[yc("0x6")]});e[yc("0xe2")]((t=>{const[e,n]=t[yc("0x15")][yc("0x56")]("|");return e==i[yc("0x126")]&&n!=r}))[yc("0xe7")]((e=>{this[yc("0xf0")](e,i.range,t),n=!0}))}return n}[yc("0xf0")](t,e,n){const i=t[yc("0x96")]()[yc("0x18")](e);0!==i[yc("0x3")]?1!==i.length?this[yc("0x130")](t,e[yc("0x78")],e[yc("0x19")]):this[yc("0x5d")](t,i[0]):n[yc("0x172")](t[yc("0x29")]())}}class kc{constructor(t){this[yc("0xa2")]=t,this[yc("0x106")]=t.model,this._customCallbacks=new Map,this._defaultCallbacks=new Map,this[yc("0xce")]()}[yc("0xb2")](t,e,n,i,r,o){return new Yi(this[yc("0x106")],{type:t,subType:e,id:n,author:i,creator:i,attributes:r,onAttributesChange:o,onAccept:(...n)=>this[yc("0x161")](t,e,yc("0x15e"))(...n),onDiscard:(...n)=>this[yc("0x161")](t,e,yc("0x2"))(...n)})}registerCustomCallback(t,e,n,i){const r=t+":"+e+":"+n;this[yc("0x155")][yc("0x45")](r,i)}[yc("0x161")](t,e,n){const i=t+":"+e+":"+n;return this[yc("0x155")][yc("0x2c")](i)||this[yc("0xd1")].get(t+":"+n)}[yc("0xce")](){const t=()=>!1,e=t=>{t[yc("0x17c")](((t,e)=>t.start[yc("0x2a")](e.start)?1:-1)),this[yc("0x106")][yc("0x152")]((e=>{for(const n of t){let t;t=n[yc("0x19")][yc("0x6f")]&&n.end[yc("0xc8")]==n[yc("0x78")][yc("0x9")]?e[yc("0x6d")](n.start[yc("0x9")],"on"):e[yc("0x6d")](n),this[yc("0x106")][yc("0x99")](t,{forceDefaultExecution:!0,doNotAutoparagraph:!0})}}))},n=(t,e)=>{e&&this._model[yc("0x152")]((n=>{const{commandName:i,commandParams:r=[]}=e,o=t[yc("0x16f")]((t=>(Rc(t)&&(t=this._model[yc("0x175")](t[yc("0x19")])),t)))[yc("0xe2")]((t=>yc("0x176")!==t.root[yc("0xf1")]));if(o[yc("0x3")]<1)return;const x=Array[yc("0x151")](this[yc("0x106")].document.selection[yc("0xa8")]())[yc("0x16f")]((t=>s.LiveRange[yc("0xc7")](t)));n.setSelection(o);for(const t of this[yc("0xa2")][yc("0x10d")].commands())t.refresh();r[yc("0x64")]({forceDefaultExecution:!0}),this[yc("0xa2")][yc("0x8")](i,...r);const a=x[yc("0xe2")]((t=>"$graveyard"!=t[yc("0xf5")].rootName));a[yc("0x3")]>0&&n.setSelection(a);for(const t of x)t[yc("0x6e")]()}))},i=(t,e)=>1==t[yc("0x3")]&&1==e.length&&t[0][yc("0x19")][yc("0xaf")](e[0][yc("0x78")]),r=(t,e,n,i)=>wc(t,e,n,i,this[yc("0x106")])?[t,e]:wc(e,t,i,n,this[yc("0x106")])?[e,t]:null;this._defaultCallbacks[yc("0x45")](yc("0x1a"),t),this[yc("0xd1")][yc("0x45")]("insertion:discard",e),this._defaultCallbacks[yc("0x45")](yc("0x7e"),i),this._defaultCallbacks[yc("0x45")](yc("0x15b"),r),this[yc("0xd1")].set(yc("0x57"),e),this[yc("0xd1")][yc("0x45")](yc("0xb8"),t),this[yc("0xd1")][yc("0x45")](yc("0x20"),i),this[yc("0xd1")][yc("0x45")](yc("0xf2"),r),this[yc("0xd1")][yc("0x45")]("formatInline:accept",n),this[yc("0xd1")][yc("0x45")](yc("0x73"),t),this[yc("0xd1")][yc("0x45")](yc("0x32"),i),this[yc("0xd1")][yc("0x45")](yc("0xac"),t),this[yc("0xd1")][yc("0x45")](yc("0xef"),n),this._defaultCallbacks.set(yc("0x153"),t),this[yc("0xd1")][yc("0x45")]("formatBlock:join",i),this._defaultCallbacks[yc("0x45")](yc("0xb7"),t),this[yc("0xd1")][yc("0x45")](yc("0xb0"),t),this[yc("0xd1")][yc("0x45")](yc("0x173"),((t,e)=>{if(!e)return;const n=this[yc("0xa2")][yc("0x8c")].get(Ac);this[yc("0x106")].change((i=>{if("$elementName"==e[yc("0x126")])for(const n of t){const t=n[yc("0x78")].nodeAfter,r=e[yc("0x117")];i[yc("0x58")](t,r)}else if(n[yc("0x62")](e[yc("0x126")]))for(const n of t)void 0!==e[yc("0x117")]?i[yc("0x70")](e[yc("0x126")],e[yc("0x117")],n[yc("0x78")][yc("0x9")]):i[yc("0x165")](e[yc("0x126")],n[yc("0x78")][yc("0x9")]);else for(const n of t)e[yc("0x117")]?i[yc("0x70")](e.key,e[yc("0x117")],n):i[yc("0x165")](e[yc("0x126")],n)}))})),this[yc("0xd1")][yc("0x45")](yc("0x3c"),i)}}function Ic(t,e,n){for(const i of e[yc("0xc8")].getAncestors({includeSelf:!0,parentFirst:!0})){if(i[yc("0xf5")]==i)return!1;if(!n[yc("0x9b")](i))return!1;if(t[yc("0xfe")](i)||t[yc("0x6a")](i))return!0}return!1}function Rc(t){return t.end[yc("0xc8")]==t.start[yc("0x9")]&&t[yc("0x19")][yc("0x4d")]}function vc(t,e,n,i){const r=t=>!t.item.is("$textProxy")&&!i[yc("0xfe")](t[yc("0x10b")]),o=t[yc("0x78")][yc("0x6c")](r),s=t.end[yc("0x6c")](r,{direction:yc("0x144")});return!(t[yc("0x78")][yc("0xaf")](o)&&t[yc("0x19")][yc("0xaf")](s)||(o[yc("0x2a")](s)?n.updateMarker(e,{range:n.createRange(o,s)}):n[yc("0x172")](e),0))}function Sc(t){return(0,o.hashObject)(t)}function Lc(t){const e=t[yc("0x78")][yc("0x9")];return e&&e.is(yc("0x120"))}function Nc(t,e){return null==t[yc("0x19")][yc("0x65")]&&t.end[yc("0xc8")]==t[yc("0x78")][yc("0x9")]?Mc(t[yc("0x78")][yc("0x9")],e):t}function Mc(t,e){const n=e[yc("0x12a")][yc("0xfe")](t)||e.schema[yc("0x131")](t);return e[yc("0x175")](e[yc("0xd2")](t,yc("0x5e")),n?e[yc("0x16d")](t):e[yc("0xd2")](t,yc("0x19")))}function wc(t,e,n,i,r){if(!Oc(t,e))return!1;if(n[yc("0x19")][yc("0xaf")](i.start))return!0;if(t[yc("0x7a")]!=e[yc("0x7a")])return!1;if(!n.end[yc("0xdc")](i.start))return!1;const o=r[yc("0x175")](n[yc("0x19")],i[yc("0x78")]).getWalker();for(const t of o)if(["elementStart",yc("0xf8")][yc("0xdf")](t[yc("0x7a")])&&r[yc("0x12a")].isLimit(t[yc("0x10b")]))return!1;return!0}function Oc(t,e,n=[]){return!(!t[yc("0x150")]||!e[yc("0x150")])&&ji(bc(t[yc("0x81")],n),bc(e.attributes,n))}function Fc(t,e){const n=Dc(t.attributes),i=Dc(e);if(!t[yc("0x150")])return!1;for(const t of Object[yc("0x66")](i))if(!ji(n[t],i[t]))return!1;return!0}function Dc(t){const e=Object[yc("0x97")]({},t);return delete e[yc("0x90")],delete e.tablePasteChainId,e}const Bc=["remove","_editor","locale","isEnabled","discardSuggestion","stopListening","_acceptCommand","get","commands","canAccept","_pendingAction","bind","destroy","isDirty","model","getRanges","_removePendingAction","canEditAt","_setPendingAction","plugins","listenTo","commentThreadController","change:isDirty","acceptSuggestion","_discardCommand","PendingActions","PENDING_ACTION_SUGGESTION","unbind","add","execute","view"];var Pc,Uc;Pc=Bc,Uc=161,function(t){for(;--t;)Pc.push(Pc.shift())}(++Uc);const jc=function(t,e){return Bc[t-=0]};class Gc extends((0,e.ObservableMixin)()){constructor(t,e,n,i){super(),this[jc("0x8")]=e,this.view=n,this.commentThreadController=i,this[jc("0x1a")]=t,this._acceptCommand=t[jc("0x2")].get("acceptSuggestion"),this[jc("0x12")]=t[jc("0x2")].get(jc("0x1d")),this[jc("0x18")][jc("0x5")]("isEnabled").to(this[jc("0x0")],this[jc("0x12")],((t,e)=>t||e)),this.view[jc("0x5")](jc("0x3")).to(this._acceptCommand,jc("0x1c"),(t=>t&&this._editor[jc("0x8")][jc("0xb")](e[jc("0x9")]()))),this[jc("0x18")].bind("canDiscard").to(this[jc("0x12")],jc("0x1c"),(t=>t&&this[jc("0x1a")].model[jc("0xb")](e[jc("0x9")]()))),this[jc("0x4")]=null,n[jc("0x7")]&&this[jc("0xc")](),this[jc("0xe")](n,jc("0x11"),(()=>this[jc("0x11")]())),this[jc("0xe")](n,jc("0x1d"),(()=>this[jc("0x1d")]())),this[jc("0xe")](n,jc("0x10"),(()=>{n.isDirty?this._setPendingAction():this._removePendingAction()}))}[jc("0x11")](){this[jc("0x0")][jc("0x17")](this[jc("0x8")].id)}[jc("0x1d")](){this[jc("0x12")][jc("0x17")](this[jc("0x8")].id)}[jc("0x6")](){this.view.unbind(jc("0x1c")),this.view[jc("0x15")](jc("0x3")),this[jc("0x18")][jc("0x15")]("canDiscard"),this[jc("0x1e")](),this[jc("0xf")][jc("0x6")](),this[jc("0x4")]&&this._removePendingAction()}[jc("0xc")](){const t=Ji(this[jc("0x1a")][jc("0x1b")],jc("0x14"));this[jc("0x4")]=this._editor[jc("0xd")][jc("0x1")](jc("0x13"))[jc("0x16")](t)}[jc("0xa")](){null!==this[jc("0x4")]&&this[jc("0x1a")].plugins[jc("0x1")](jc("0x13"))[jc("0x19")](this[jc("0x4")]),this[jc("0x4")]=null}}const Vc=["showInput","_model","_localUser","descriptionParts","fire","editorConfig","isReadOnly","length","cancel","locale","focus","setData","commentThread","element","assign","CommentView","isActive","commentInputView","delegate","editor","canDiscard","isEnabled","isDirty","removeComment","destroy","_createCommentViews","bind","commentThreadInputView","commentsListView","hasDirtyComment","canAccept","updateComment","authoredAt","_createCommentThreadInputView","submit","_config","set"];var Hc,zc;Hc=Vc,zc=185,function(t){for(;--t;)Hc.push(Hc.shift())}(++zc);const Wc=function(t,e){return Vc[t-=0]};class Kc extends r.View{constructor(t,e,n,i){super(t),this.commentsListView=null,this[Wc("0x1b")]=null,this[Wc("0x24")]("isActive",!1),this[Wc("0x24")](Wc("0x20"),e[Wc("0x20")]),this.bind(Wc("0x20")).to(e),this.set(Wc("0x3"),[]),this[Wc("0x24")](Wc("0x16"),!1),this[Wc("0x24")](Wc("0x15"),!1),this.set(Wc("0x1e"),!1),this[Wc("0x24")](Wc("0x14"),!1),this[Wc("0x1")]=e,this._localUser=n,this._config=i,i.disableComments?this[Wc("0x24")](Wc("0x7"),1):this[Wc("0x19")]()}[Wc("0xa")](){this[Wc("0xd")].focus()}[Wc("0x18")](){this[Wc("0x1c")]&&this[Wc("0x1c")][Wc("0x18")](),this[Wc("0x1b")]&&this[Wc("0x1b")][Wc("0x18")](),super.destroy()}[Wc("0x19")](){const{CommentsListView:t}=this[Wc("0x23")];this[Wc("0x1c")]=new t(this[Wc("0x9")],this[Wc("0x1")][Wc("0xc")],Object[Wc("0xe")]({CommentView:this._config[Wc("0xf")]},this._config)),this.commentsListView[Wc("0x12")](Wc("0x17")).to(this),this[Wc("0x1c")][Wc("0x12")](Wc("0x1f")).to(this),this.commentsListView.bind(Wc("0x10")).to(this),this.set(Wc("0x7"),this[Wc("0x1c")][Wc("0x7")]+1),this[Wc("0x1a")](Wc("0x7")).to(this.commentsListView,Wc("0x7"),(t=>t+1)),this[Wc("0x1b")]=this[Wc("0x21")](),this.on("removeComment",(()=>this[Wc("0xa")]())),this.bind(Wc("0x16")).to(this[Wc("0x1c")],Wc("0x1d"),this[Wc("0x1b")][Wc("0x11")],"value",((t,e)=>t||!!e))}[Wc("0x21")](){const{CommentThreadInputView:t}=this._config,e=new t(this.locale,this[Wc("0x2")],this[Wc("0x23")][Wc("0x5")]),n=e.commentInputView;return e[Wc("0x1a")](Wc("0x0")).to(this,"isActive",this[Wc("0x1")][Wc("0xc")],Wc("0x6"),n,"value",((t,e,n)=>!!n||t&&!e)),n.on(Wc("0x22"),((t,e)=>{this[Wc("0x4")]("addComment",e),n[Wc("0x13")][Wc("0xb")]("")})),n.on(Wc("0x8"),(()=>this.focus())),n[Wc("0x1a")]("disabledSubmit").to(this[Wc("0x1")].commentThread,Wc("0x6")),e}}const qc=["discardSuggestion",'<span class="ck-suggestion-color" style="background-color: ',"@external","content","discardButton","commentThreadInputView","<p>","isEnabled","ck-annotation__info","locale","fire","EXTERNAL_IMPORT_WORD_SUGGESTION","set","ck-suggestion","_config","source","editorReady","disableComments","isExternal","color","editorDestroyed","ck-annotation__content-wrapper","span","cancel","render","description","innerText","split",'"></span>',"ck-suggestion__info-name","userView","extendTemplate","ck-suggestion__actions","descriptionParts",'" title="',"author","ck-annotation","_model","creator","delegate","acceptButton","element","push","</p>","importWord","Discard suggestion",".ck-annotation__content-wrapper","children",'<span class="ck-suggestion-type">',"ck-suggestion-wrapper--active","ck-suggestion--accept","EXTERNAL_AVATAR","authoredAt","change:description","EXTERNAL_IMPORT_WORD_AVATAR","_createButton","</span>","value","time","Accept suggestion","join","commentsListView","EXTERNAL_SUGGESTION","bindTemplate","title","attributes","getExternalSuggestionNote","setTemplate","canDiscard","_descriptionElement","ck-annotation__info-name","div","type","ck-annotation__info-time","innerHTML","getTemplate","execute","isActive","bind","name","ck-annotation__actions","acceptSuggestion","formatDateTime"];var $c,Xc;$c=qc,Xc=221,function(t){for(;--t;)$c.push($c.shift())}(++Xc);const Zc=function(t,e){return qc[t-=0]};class Yc extends Kc{constructor(e,n,i,r){super(e,n,i,r),this[Zc("0x28")](Zc("0x11"),""),this[Zc("0x17")](Zc("0x11")).to(this,Zc("0x3d"),(t=>t&&t[0]?t[0][Zc("0x11")]:"")),this.bind(Zc("0x35")).to(this,Zc("0x3d"),this,"isActive",((t,e)=>{let n="";for(const e of t)n+=Zc("0x22")+Jc(e[Zc("0x1f")],e[Zc("0x2f")])+Zc("0x47");return e?n:(0,o.trimHtml)(n,{limit:140})})),this._descriptionElement=null,this[Zc("0x44")]=this[Zc("0x0")](Ji(e,Zc("0x4")),t.icons.check,Zc("0x4e"),Zc("0x1a"),"sw"),this.acceptButton[Zc("0x17")](Zc("0x23")).to(this,"canAccept"),this[Zc("0x20")]=this[Zc("0x0")](Ji(e,Zc("0x49")),t.icons[Zc("0x33")],"ck-suggestion--discard",Zc("0x1c"),"sw"),this.discardButton[Zc("0x17")]("isEnabled").to(this,Zc("0xd")),this[Zc("0x3a")]=new o.UserView(e,this._model[Zc("0x3f")],this.getUserViewNotificationText()),this[Zc("0x3a")][Zc("0x3b")]({attributes:{class:["ck-suggestion__user","ck-annotation__user"]}}),this[Zc("0xc")](this.getTemplate())}[Zc("0x14")](){const t=this[Zc("0x8")],e=[{tag:Zc("0x10"),attributes:{class:["ck-suggestion__info",Zc("0x24")]},children:[{tag:Zc("0x32"),children:[{text:this[Zc("0x3a")][Zc("0x18")]}],attributes:{class:[Zc("0x39"),Zc("0xf")]}},{tag:Zc("0x3"),attributes:{datetime:t.to(Zc("0x50")),class:["ck-comment__info-time",Zc("0x12")]},children:[{text:t.to(Zc("0x50"),(t=>this[Zc("0x2a")][Zc("0x1b")](t)))}]}]},{tag:Zc("0x10"),attributes:{class:[Zc("0x3c"),Zc("0x19")]},children:[this.acceptButton,this[Zc("0x20")]]},{tag:Zc("0x10"),attributes:{class:[Zc("0x31")]}}];this[Zc("0x41")][Zc("0x2e")]&&e[Zc("0x46")]({tag:"div",attributes:{class:["ck-comment__external"]},children:[{text:this.getExternalSuggestionNote()}]});const n={tag:"div",attributes:{class:["ck-suggestion-wrapper",t.if(Zc("0x16"),Zc("0x4d")),t.to(Zc("0x11"),(t=>"ck-suggestion-"+t)),this[Zc("0x2a")][Zc("0x2d")]&&"ck-suggestion--disabled-comments"],"data-suggestion-id":this[Zc("0x41")].id,"data-thread-id":this._model.commentThread.id,"data-author-id":this[Zc("0x41")][Zc("0x3f")].id,tabindex:-1},children:[{tag:Zc("0x10"),attributes:{class:[Zc("0x29"),Zc("0x40")]},children:[this[Zc("0x3a")],{tag:Zc("0x10"),attributes:{class:["ck-suggestion__main","ck-annotation__main"]},children:e}]}]};return this[Zc("0x6")]&&this[Zc("0x21")]&&(n[Zc("0x4b")][Zc("0x46")](this[Zc("0x6")],this[Zc("0x21")]),this[Zc("0x6")][Zc("0x43")](Zc("0x2c")).to(this),this[Zc("0x6")].delegate(Zc("0x30")).to(this),this.commentThreadInputView[Zc("0x43")](Zc("0x2c")).to(this),this[Zc("0x21")][Zc("0x43")](Zc("0x30")).to(this)),n}render(){super[Zc("0x34")](),this[Zc("0xe")]=this[Zc("0x45")].querySelector(Zc("0x4a")),this._descriptionElement.innerHTML=this[Zc("0x35")],this.on(Zc("0x51"),((t,e,n)=>{this[Zc("0xe")][Zc("0x13")]=n}))}_createButton(t,e,n,i,o){const s=new r.ButtonView(this[Zc("0x25")]);return s.set({label:t,icon:e,tooltip:!0,tooltipPosition:o}),s[Zc("0x3b")]({attributes:{class:n}}),s.on(Zc("0x15"),(()=>{this[Zc("0x26")](i,this[Zc("0x41")].id)})),s}[Zc("0xb")](){return Zc("0x48")===this[Zc("0x41")][Zc("0xa")][Zc("0x1e")][Zc("0x2b")]?Ji(this[Zc("0x25")],Zc("0x27")):Ji(this[Zc("0x25")],Zc("0x7"))}getUserViewNotificationText(){return this[Zc("0x41")][Zc("0x2e")]?Zc("0x48")===this[Zc("0x41")].attributes["@external"][Zc("0x2b")]?Ji(this[Zc("0x25")],Zc("0x52"),this[Zc("0x41")][Zc("0x42")][Zc("0x18")]):Ji(this.locale,Zc("0x4f"),this[Zc("0x41")][Zc("0x42")][Zc("0x18")]):null}}function Jc(t,e){let n="";return n+=t[Zc("0x37")]("*").map(((t,e)=>e%2!=0?Zc("0x4c")+Qc(t)+Zc("0x1"):Qc(t)))[Zc("0x5")](""),e&&(n+=Zc("0x1d")+e[Zc("0x2")]+Zc("0x3e")+e[Zc("0x9")]+Zc("0x38")),n}function Qc(t){const e=document.createElement("span");return e[Zc("0x36")]=t,e[Zc("0x13")]}const tl=["_destroyController","focus","head","_descriptionFactory","_handleControllerBuffer","lowest","value","editor","view","commands","_bindAnnotationToEditors","push","separator","map","isMultiRange","actionView","activeAnnotations","getByInnerView","addComment","comments.maxCommentCharsWhenCollapsed","filter","addSourceCollector","_createUIButton","length","isEnabled","keys","Accept all selected suggestions","editing","acceptAllSuggestions","trackChanges","model","Discard all selected suggestions","add","CommentsRepository","requires","_viewToController","delete","_initializeController","suggestionUnloaded","Track changes","TrackChangesEditing","Discard all suggestions","size","set","plugins","pluginName","_refreshActiveMarkers","EditorAnnotations","destroy","previous","_unbindEditors","_handleSuggestionControllerDelayed","switchbutton","descriptionParts","trackChanges.disableComments","change:activeAnnotations","execute","clear","createCommentThreadController","comments.maxThreadTotalWeight","reduce","from","button","getRanges","has","discardSelectedSuggestions","_suggestionToController","createAnnotation","hasSuggestion","listenTo","isDirty","isInContent","suggestion-","comments.editorConfig","get","mainView","CommentsUI","Accept all suggestions","getFirstRange","change:previous","values","activeMarkers","getSuggestion","define","innerView","bind","_disableComments","toMany","commandName","getAllAdjacentSuggestions","source","stopListening","suggestionChanged","getMarkerNames","some","_annotationViews","type","unbind","Annotations","buttonView","TrackChangesUI","config","remove","CommentView","isOn","_updateController","suggestionLoaded","arrowView"];var el,nl;el=tl,nl=241,function(t){for(;--t;)el.push(el.shift())}(++nl);const il=function(t,e){return tl[t-=0]};class rl extends t.Plugin{static get[il("0x9")](){return[Ac,o.Users,il("0x8"),il("0x49"),il("0x16")]}static get[il("0x14")](){return il("0x4b")}constructor(t){super(t),this[il("0x29")]=new Map,this[il("0xa")]=new Map,this[il("0x46")]=new Map,this[il("0x57")]=new Map;const e=this[il("0x5a")][il("0x4c")];e[il("0x3a")]("trackChanges.SuggestionThreadView",Yc),e.define(il("0x1d"),!1),this[il("0x3d")]=e[il("0x31")](il("0x1d"))}[il("0x1a")](t,e){0===this[il("0x57")][il("0x11")]&&setTimeout((()=>{for(const[t,e]of this._handleControllerBuffer){const n=this[il("0x29")].has(t);n||e?n&&e&&this[il("0x53")](t):this[il("0xc")](t)}this._handleControllerBuffer[il("0x20")](),this[il("0x5a")][il("0x13")][il("0x31")](il("0x16")).refreshSelectedViews(),this[il("0x15")]()}),10),this[il("0x57")].set(t,e)}init(){const t=this[il("0x5a")],e=t.plugins[il("0x31")]("TrackChangesEditing"),n=t.plugins[il("0x31")](il("0x49")),i=t[il("0x13")][il("0x31")](il("0x16")),r=t[il("0x13")][il("0x31")](il("0x8"));t.ui.componentFactory[il("0x7")](il("0x4"),(t=>this[il("0x69")](t))),i[il("0x68")]((()=>{const t=[];for(const[e,n]of Array[il("0x24")](this[il("0x29")])){const i=e.getAllAdjacentSuggestions(),r=[];for(const t of i){if(!t[il("0x2e")])continue;if(t[il("0x61")]){r[il("0x5e")](...t[il("0x26")]());continue}const e=t[il("0x35")]();if(r[il("0x6a")]>0){const t=r[0].getJoined(e);if(t){r[0]=t;continue}}r[il("0x5e")](e)}t[il("0x5e")]([n.view,r])}return t})),this.listenTo(e,il("0x51"),((t,e)=>{this[il("0x2c")](e,il("0x36"),((t,n,i,r)=>{e.isInContent&&(null==i?(this[il("0x50")](r[il("0x55")]),this[il("0x1a")](e,!1)):(this[il("0x50")](i.head),null==r&&this[il("0x1a")](e,!0)))})),null!==e[il("0x18")]?this._updateController(e[il("0x55")]):this[il("0x1a")](e,!1)})),this[il("0x2c")](e,il("0xd"),((t,e,n)=>{this[il("0x42")](e,il("0x36")),this[il("0x57")][il("0xb")](e),this[il("0x29")][il("0x27")](e)&&this._destroyController(e),n&&this[il("0x50")](n[il("0x55")])})),this[il("0x2c")](e,il("0x43"),((t,e)=>{this[il("0x50")](e)})),this.listenTo(n,il("0x1e"),(()=>{this[il("0x15")]()})),this[il("0x2c")](r,il("0x65"),((t,{threadId:n,isFromAdapter:i})=>{if(i||!e[il("0x2b")](n))return;const r=e[il("0x39")](n);this[il("0x29")].get(r)[il("0x5b")][il("0x54")]()}),{priority:il("0x58")})}[il("0x15")](){const t=this[il("0x5a")].plugins.get("Annotations"),e=this[il("0x5a")][il("0x13")][il("0x31")](il("0xf")),n=Array[il("0x24")](t[il("0x63")],(t=>t[il("0x3b")])).filter((t=>this[il("0xa")][il("0x27")](t))),i=[];for(const t of n){const e=this[il("0xa")][il("0x31")](t)[il("0x5")][il("0x40")]();i.push(...e[il("0x23")](((t,e)=>[...t,...e[il("0x44")]()]),[]))}e[il("0x38")]=i}_createUIButton(t){const n=(0,r.createDropdown)(t,r.SplitButtonView),i=this[il("0x5a")][il("0x5c")][il("0x31")](il("0x4")),o=Ji(t,il("0xe"));n[il("0x4a")].set({tooltip:o,label:o,icon:'\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-2024, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="M1 3.28C1 2.574 1.574 2 2.272 2h10.23c.703 0 1.272.573 1.272 1.28v12.768c0 .708-.574 1.281-1.271 1.281H2.272A1.276 1.276 0 0 1 1 16.049V3.28zm11.503 12.954c-.008 0-.006-12.77-.006-12.77 0-.003-10.225-.004-10.225-.004.007 0 .005 12.77.005 12.77 0 .003 10.226.004 10.226.004zm-8.31-9.58c0-.353.292-.64.636-.64h5.116c.351 0 .636.284.636.64a.641.641 0 0 1-.636.638H4.829a.636.636 0 0 1-.635-.639zm0 2.554c0-.352.292-.638.636-.638h5.116c.351 0 .636.283.636.638a.641.641 0 0 1-.636.639H4.829a.636.636 0 0 1-.635-.639zm0 2.555c0-.353.289-.639.633-.639h2.567c.35 0 .633.284.633.64a.639.639 0 0 1-.633.638H4.826a.634.634 0 0 1-.632-.639z"/><path d="M10.515 17.958l.154-.23c-.195-.099-.304-.193-.328-.28-.024-.09.001-.275.076-.552.062-.165.099-.296.111-.393.013-.159.013-.319 0-.478-.138-.41-.2-.686-.187-.83.013-.145.117-.335.313-.57l4.465-6.208c.356-.6 1.059-.56 2.11.119 1.051.68 1.443 1.271 1.177 1.771L14.53 17.14c-.105.271-.22.444-.347.516-.128.07-.399.118-.813.138a2.954 2.954 0 0 0-.487.21 2.044 2.044 0 0 0-.347.31c-.193.174-.332.262-.416.262-.064 0-.178-.05-.346-.15l-.204.27-1.056-.738h.001zm-.184.274l1.039.727-.259.34H9.614l.717-1.067z"/></g></svg>\n'}),n.buttonView[il("0x3c")](il("0x4f")).to(i,il("0x59")),n[il("0x4a")].on("execute",(()=>{i[il("0x1f")](),this[il("0x5a")].editing[il("0x5b")][il("0x54")]()}));const s=new e.Collection,x=[{type:il("0x1b"),model:{withText:!0,label:o,commandName:il("0x4")}},{type:il("0x5f")},{type:il("0x25"),model:{withText:!0,label:Ji(t,il("0x34")),commandName:il("0x3")}},{type:il("0x25"),model:{withText:!0,label:Ji(t,il("0x1")),commandName:"acceptSelectedSuggestions"}},{type:"button",model:{withText:!0,label:Ji(t,il("0x10")),commandName:"discardAllSuggestions"}},{type:il("0x25"),model:{withText:!0,label:Ji(t,il("0x6")),commandName:il("0x28")}}];for(const t of x){let e={type:il("0x5f")};if(t[il("0x5")]){const n=new r.ViewModel(t[il("0x5")]),i=this[il("0x5a")][il("0x5c")][il("0x31")](n.commandName);n[il("0x3c")]("isOn","isEnabled").to(i,il("0x59"),il("0x6b")),e={type:t[il("0x47")],model:n}}s.add(e)}(0,r.addListToDropdown)(n,s);const a=x[il("0x67")]((t=>null!=t[il("0x5")]))[il("0x60")]((t=>this.editor.commands[il("0x31")](t.model[il("0x3f")]))),c=n.buttonView;return c[il("0x62")][il("0x48")](il("0x6b")),c.arrowView[il("0x48")](il("0x6b")),c.actionView[il("0x3c")](il("0x6b")).to(i,il("0x6b")),c[il("0x52")].bind(il("0x6b"))[il("0x3e")](a,il("0x6b"),((...t)=>t[il("0x45")]((t=>t)))),n.on(il("0x1f"),(t=>{this.editor[il("0x1f")](t[il("0x41")].commandName),this[il("0x5a")].editing.view[il("0x54")]()})),n}_initializeController(t){const e=this[il("0x5a")],n=e[il("0x4c")],i=e[il("0x13")][il("0x31")](il("0x49")),r=e[il("0x13")][il("0x31")](il("0x8")),s=e[il("0x13")].get(il("0x16")),x=e.plugins[il("0x31")](o.Users).me,a=n[il("0x31")](il("0x4")).SuggestionThreadView,{CommentsListView:c,CommentThreadInputView:l}=e[il("0x13")][il("0x31")](il("0x33"));let u,d;this[il("0x46")][il("0x27")](t.id)?(d=this._annotationViews[il("0x31")](t.id),u=d[il("0x32")]):(u=new a(e.locale,t,x,{disableComments:this[il("0x3d")],editorConfig:n.get(il("0x30")),maxCommentsWhenCollapsed:n.get("comments.maxCommentsWhenCollapsed"),maxThreadTotalWeight:n[il("0x31")](il("0x22")),maxCommentCharsWhenCollapsed:n.get(il("0x66")),formatDateTime:(0,o.getDateTimeFormatter)(n[il("0x31")]("locale")),CommentView:n[il("0x31")]("comments")[il("0x4e")],CommentsListView:c,CommentThreadInputView:l}),u.acceptButton.on("execute",(()=>{e[il("0x2")].view[il("0x54")]()})),u.discardButton.on(il("0x1f"),(()=>{e[il("0x2")][il("0x5b")][il("0x54")]()})),d=i.createAnnotationView(this[il("0x5a")].locale,u),d[il("0x3c")](il("0x2d")).to(u,"isDirty"),d[il("0x3c")](il("0x6a")).to(u),d[il("0x3c")](il("0x47")).to(u,il("0x47"),(t=>il("0x2f")+t)),this[il("0x46")][il("0x12")](t.id,d));const g=r[il("0x21")](t.commentThread,u),f=new Gc(e,t,u,g),h=t[il("0x40")]()[il("0x67")]((t=>t[il("0x2e")]));u[il("0x1c")]=e.plugins[il("0x31")]("TrackChangesEditing")._descriptionFactory.getDescriptions(h),this[il("0x29")].set(t,f),this[il("0xa")][il("0x12")](u,f);const m=i[il("0x2a")]({view:d,target:()=>{const n=[],i=t[il("0x40")]()[il("0x67")]((t=>t[il("0x2e")]));for(const t of i)n[il("0x5e")](...t.getMarkers());return(0,o.getAllMarkersDomElementsSorted)(e[il("0x2")],n)},type:()=>"suggestion-"+f[il("0x5b")][il("0x47")]});r[il("0x5d")](u,m),i[il("0x7")](m),s.registerAnnotation(m)}_destroyController(t){const e=this[il("0x5a")][il("0x13")].get("CommentsRepository"),n=this[il("0x5a")][il("0x13")][il("0x31")](il("0x49")),i=this[il("0x29")][il("0x31")](t),r=i[il("0x5b")],o=n[il("0x64")](r);e[il("0x19")](r),o&&n[il("0x4d")](o),this._suggestionToController[il("0xb")](t),this[il("0xa")][il("0xb")](r),i.destroy()}[il("0x50")](t){if(!t.isInContent||!this[il("0x29")][il("0x27")](t))return;const e=this.editor[il("0x13")][il("0x31")]("TrackChangesEditing"),n=this._suggestionToController[il("0x31")](t),i=t[il("0x40")]();n[il("0x5b")][il("0x1c")]=e[il("0x56")].getDescriptions(i)}[il("0x17")](){for(const t of this._suggestionToController[il("0x0")]())this._destroyController(t);for(const t of this[il("0x46")][il("0x37")]())t.mainView.destroy();super[il("0x17")]()}}var ol,sl,xl=["addSuggestion","pluginName","adapter","getSuggestion","Comments","requires","editor","plugins","get","TrackChanges"];ol=xl,sl=137,function(t){for(;--t;)ol.push(ol.shift())}(++sl);var al=function(t,e){return xl[t-=0]};class cl extends t.Plugin{static get[al("0x8")](){return[Ac,rl,al("0x7")]}static get[al("0x4")](){return al("0x2")}set[al("0x5")](t){this.editor.plugins[al("0x1")](Ac).adapter=t}get adapter(){return this[al("0x9")][al("0x0")][al("0x1")](Ac)[al("0x5")]}[al("0x3")](t){return this[al("0x9")].plugins[al("0x1")](Ac).addSuggestionData(t)}getSuggestions({skipNotAttached:t=!1,toJSON:e=!1}={}){return this[al("0x9")][al("0x0")].get(Ac).getSuggestions({skipNotAttached:t,toJSON:e})}getSuggestion(t){return this[al("0x9")][al("0x0")].get(Ac)[al("0x6")](t)}}const ll=["addSuggestionData","push","set","requires","TrackChangesData","execute","map","init","getSuggestions","acceptAllSuggestions","TrackChangesEditing","CommentsRepository","trackChangesData","create","getDataWithDiscardedSuggestions","plugins","result","data","name","document","getDataWithAcceptedSuggestions","end","appendChild","addUser","users","config","getRootsAttributes","model","getFullData","getUser","pluginName","createDocumentFragment","track-changes-data-invalid-editor-creator","TrackChangesDataGetter","editor","getRootNames","useAnonymousUser","editorCreator","discardAllSuggestions","div","constructor","function","get","define","reduce","_adapter","Users","createElement","destroy"];var ul,dl;ul=ll,dl=119,function(t){for(;--t;)ul.push(ul.shift())}(++dl);const gl=function(t,e){return ll[t-=0]},fl=["Pagination"];class hl extends t.Plugin{static get[gl("0x1f")](){return[Ac]}static get[gl("0x9")](){return gl("0x20")}[gl("0x23")](){const t=this[gl("0xd")];if(t[gl("0x4")][gl("0x16")]("trackChangesData.editorCreator",(e=>{const n=t[gl("0x6")][gl("0x2f")].getRootNames()[gl("0x17")](((t,e)=>(t[e]="",t)),{});return t[gl("0x13")][gl("0x29")](n,e)})),gl("0x14")!=typeof t[gl("0x4")][gl("0x15")]("trackChangesData")[gl("0x10")])throw new e.CKEditorError(gl("0xb"))}[gl("0x30")](t){return bl(this.editor,!0,t)}[gl("0x2a")](t){return bl(this.editor,!1,t)}}class ml extends t.Plugin{static get pluginName(){return gl("0xc")}constructor(t){super(t),this[gl("0x2c")]=gl("0x0")}[gl("0x23")](){this[gl("0xd")][gl("0x2b")][gl("0x15")](gl("0x27"))[gl("0x18")]={addCommentThread:()=>new Promise((()=>{})),getCommentThread:()=>new Promise((()=>{})),updateCommentThread:()=>new Promise((()=>{})),resolveCommentThread:()=>new Promise((()=>{})),reopenCommentThread:()=>new Promise((()=>{})),removeCommentThread:()=>new Promise((()=>{})),addComment:()=>new Promise((()=>{})),updateComment:()=>new Promise((()=>{})),removeComment:()=>new Promise((()=>{}))},this[gl("0xd")][gl("0x2b")][gl("0x15")](gl("0x26"))._adapter=null}}function pl(t){return void 0!==t[gl("0x5")]}async function bl(t,e,n){const i=(0,o.sanitizeEditorConfig)(t,fl);i[gl("0x2b")][gl("0x1d")](Ac,ml),i.rootsAttributes=pl(t)?t[gl("0x5")]():void 0;const r=document[gl("0xa")](),s=t[gl("0x4")].get(gl("0x28"))[gl("0x10")],x=await s(i,(()=>function(t){const e=document[gl("0x1a")](gl("0x12"));return t[gl("0x1")](e),e}(r)));!function(t,e){const n=t.model[gl("0x2f")][gl("0xe")]().reduce(((e,n)=>(e[n]=t[gl("0x2d")][gl("0x15")]({rootName:n}),e)),{}),i=t[gl("0x2b")].get(gl("0x19"))[gl("0x3")][gl("0x22")]((t=>({id:t.id,name:t[gl("0x2e")]}))),r=t.plugins[gl("0x15")](gl("0x26"))[gl("0x24")]({skipNotAttached:!0,toJSON:!0}),o=e.plugins.get(gl("0x19")),s=e[gl("0x2b")].get(gl("0x26"));for(const t of i)o[gl("0x8")](t.id)||o[gl("0x2")](t);o.me||o[gl("0xf")]();for(const t of r)s[gl("0x1c")](t);e[gl("0x2d")][gl("0x1e")](n)}(t,x),x[gl("0x21")](gl(e?"0x25":"0x11"));const a=pl(x)?x[gl("0x7")](n):x[gl("0x2d")][gl("0x15")](n);return await x[gl("0x1b")](),a}})(),(window.CKEditor5=window.CKEditor5||{}).trackChanges=i})();
5
+ */(()=>{var t={211:(t,e,n)=>{t.exports=n(312)("./src/collaboration-core.js")},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},507:(t,e,n)=>{t.exports=n(237)("./src/enter.js")},834:(t,e,n)=>{t.exports=n(237)("./src/typing.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},901:(t,e,n)=>{t.exports=n(237)("./src/widget.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},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 r={};(()=>{"use strict";n.r(r),n.d(r,{BaseSuggestionThreadView:()=>xc,TrackChanges:()=>Qc,TrackChangesData:()=>ru,TrackChangesEditing:()=>Ec});var t=n(782),e=n(584),s=n(311),o=n(211),i=n(783),a=n(901);const c=l;function u(){const t=["5892993BDVuIf","value","212780OMHIds","5182135IZYrSf","8946120hiNlem","editor","commands","_isEnabledBasedOnSelection","4750924OQYgLL","affectsData","execute","_enableCommands","TrackChangesCommand","803589JajLYM","6yyWaPx","refresh","30hJYdqJ","_enabledCommands","_disableUnsupportedCommands","clearForceDisabled","isEnabled","8554565sVdULp","forceDisabled","has","10QWxBNB"];return(u=function(){return t})()}function l(t,e){const n=u();return(l=function(t,e){return n[t-=360]})(t,e)}!function(t,e){const n=l,r=t();for(;;)try{if(914342===parseInt(n(365))/1*(parseInt(n(362))/2)+parseInt(n(376))/3+parseInt(n(371))/4+parseInt(n(384))/5*(-parseInt(n(377))/6)+-parseInt(n(366))/7+-parseInt(n(367))/8+parseInt(n(363))/9*(parseInt(n(379))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(u);class f extends t.Command{constructor(t,e){const n=l;super(t),this[n(380)]=e,this[n(364)]=!1,this[n(378)](),this[n(370)]=!1}[c(378)](){this[c(383)]=!0}[c(373)](){const t=c;this[t(364)]=!this[t(364)],this[t(364)]?this[t(381)]():this[t(374)]()}[c(381)](){const t=c;for(const e of this[t(368)][t(369)][t(369)]())e[t(372)]&&!this[t(380)][t(361)](e)&&e[t(360)](t(375))}[c(374)](){const t=c;for(const e of this[t(368)][t(369)][t(369)]())e[t(372)]&&!this[t(380)][t(361)](e)&&e[t(382)](t(375))}}const h=g;function g(t,e){const n=d();return(g=function(t,e){return n[t-=467]})(t,e)}function d(){const t=["3162402WxmrJy","refresh","156553qSAAlV","canEditAt","_suggestions","execute","editor","796186tShdEC","_isEnabledBasedOnSelection","get","acceptSuggestion","track-changes-accept-suggestion-not-found","getRanges","981425dZcuqI","model","5347384epCbZk","isEnabled","TrackChangesEditing","811629nWOmRY","plugins","8762244CkLCoH"];return(d=function(){return t})()}!function(t,e){const n=g,r=t();for(;;)try{if(876208===-parseInt(n(472))/1+-parseInt(n(477))/2+-parseInt(n(470))/3+parseInt(n(485))/4+-parseInt(n(483))/5+parseInt(n(469))/6+-parseInt(n(467))/7)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class p extends t.Command{constructor(t,e){const n=g;super(t),this[n(474)]=e,this[n(471)](),this[n(478)]=!1}[h(471)](){this[h(486)]=!0}[h(475)](t){const n=h,r=this[n(474)][n(479)](t);if(!r)throw new e.CKEditorError(n(481),this);const s=r[n(482)]();this[n(476)][n(484)][n(473)](s)&&this[n(476)][n(468)][n(479)](n(487))[n(480)](r)}}function m(t,e){const n=b();return(m=function(t,e){return n[t-=355]})(t,e)}const I=m;!function(t,e){const n=m,r=t();for(;;)try{if(192003===parseInt(n(370))/1+-parseInt(n(368))/2+parseInt(n(373))/3+parseInt(n(361))/4+parseInt(n(360))/5+-parseInt(n(372))/6+parseInt(n(357))/7)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(b);class E extends t.Command{constructor(t,e){const n=m;super(t),this[n(367)]=e,this[n(366)](),this[n(356)]=!1}[I(366)](){this[I(371)]=!0}[I(364)](t){const n=I,r=this[n(367)][n(359)](t);if(!r)throw new e.CKEditorError(n(375),this);const s=r[n(363)]();this[n(374)][n(365)][n(355)](s)&&this[n(374)][n(369)][n(359)](n(362))[n(358)](r)}}function b(){const t=["discardSuggestion","get","1445760vOdsXI","139376qFrLpC","TrackChangesEditing","getRanges","execute","model","refresh","_suggestions","732770cojXsg","plugins","229611cPFDuR","isEnabled","1210890PndIuM","186330BlLnDN","editor","track-changes-discard-suggestion-not-found","canEditAt","_isEnabledBasedOnSelection","1011402gUkRZH"];return(b=function(){return t})()}function T(t){const e=A;return t[e(453)](((t,n)=>e(490)==t[e(469)]&&e(490)!=n[e(469)]?-1:e(490)!=t[e(469)]&&e(490)==n[e(469)]?1:0))}function _(t,e){const n=A;let r,s=0;const o=[],i=e[n(463)];for(;s<t[n(478)];){const a=t[s],c=t[s+1];r||(r=e[n(451)](a)),y(e,a,c)||(o[n(479)](e[n(482)](r,i[n(472)](a)?e[n(452)](a):e[n(483)](a,n(471)))),r=null),s++}return o}function y(t,e,n){const r=A;if(!n)return!1;const s=t[r(452)](e),o=t[r(451)](n);return s[r(458)](o)}!function(t,e){const n=A,r=t();for(;;)try{if(144594===parseInt(n(487))/1*(-parseInt(n(456))/2)+parseInt(n(454))/3*(parseInt(n(480))/4)+-parseInt(n(477))/5+-parseInt(n(457))/6+-parseInt(n(486))/7+parseInt(n(466))/8*(-parseInt(n(481))/9)+-parseInt(n(462))/10*(-parseInt(n(484))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k);function A(t,e){const n=k();return(A=function(t,e){return n[t-=451]})(t,e)}function C(t,e,n){const r=A;for(;n[r(478)];){const s=n[r(473)](0,100);t[r(465)]((()=>{const t=r;for(const n of s)n[t(460)]&&e[t(475)](n.id)}))}}function k(){const t=["start","isIntersecting","deletion","replace","isCollapsed","getRanges"," [color ","createPositionBefore","createPositionAfter","sort","792ONNghT","color","2NqLzwT","1197108qrpHMT","isTouching","add","isInContent","map","7816450nUtCUk","schema","from","change","344WIvRmR","isMultiRange","isArray","type","content","end","isObject","splice","next","execute","join","310185cjCZbA","length","push","2068dpjBZA","14292vSoZJS","createRange","createPositionAt","11iBvprL","value","1963661TDsDCF","163177EnINkX"];return(k=function(){return t})()}const N=R;function L(){const t=["2645085OZysRK","values","getRanges","999mNyGwK","some","117kwkQwh","_command","56FobmXJ","20328yrISjk","34CEjUFp","isEnabled","canEditAt","_isEnabledBasedOnSelection","editor","isInContent","323264cmCqdN","from","11848VlYije","2974653vTLfnR","execute","_suggestions","27737yizLTt","346300giKBcL","refresh","model"];return(L=function(){return t})()}function R(t,e){const n=L();return(R=function(t,e){return n[t-=108]})(t,e)}!function(t,e){const n=R,r=t();for(;;)try{if(537415===-parseInt(n(112))/1*(parseInt(n(125))/2)+-parseInt(n(119))/3*(-parseInt(n(108))/4)+parseInt(n(116))/5+-parseInt(n(124))/6+-parseInt(n(123))/7*(parseInt(n(131))/8)+parseInt(n(121))/9*(-parseInt(n(113))/10)+parseInt(n(109))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(L);class S extends t.Command{constructor(t,e,n){const r=R;super(t),this[r(122)]=e,this[r(111)]=n,this[r(114)](),this[r(128)]=!1}[N(114)](){const t=N,e=Array[t(132)](this[t(111)][t(117)]())[t(120)]((e=>e[t(130)]));this[t(126)]=this[t(122)][t(126)]&&e}[N(110)](){const t=N,e=T(Array[t(132)](this[t(111)][t(117)]()));for(const n of e){const e=n[t(118)]();if(!this[t(129)][t(115)][t(127)](e))return}C(this[t(129)][t(115)],this[t(122)],e)}}const v=M;function M(t,e){const n=w();return(M=function(t,e){return n[t-=339]})(t,e)}!function(t,e){const n=M,r=t();for(;;)try{if(688692===parseInt(n(344))/1+parseInt(n(341))/2*(parseInt(n(355))/3)+parseInt(n(346))/4+parseInt(n(352))/5*(parseInt(n(359))/6)+parseInt(n(339))/7+parseInt(n(356))/8+-parseInt(n(351))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class O extends t.Command{constructor(t,e,n){const r=M;super(t),this[r(348)]=e,this[r(358)]=n,this[r(353)]=new Set,this[r(362)](),this[r(343)]=!1}[v(362)](){const t=v,e=this[t(347)][t(361)][t(349)][t(340)],n=Array[t(350)](this[t(358)][t(357)]());this[t(353)]=function(t,e){const n=A,r=Array[n(464)](t[n(493)]()),s=new Set;for(const o of e)if(o[n(460)])for(const e of r)for(const r of o[n(493)]())(e[n(489)](r)||t[n(492)]&&!o[n(467)]&&o[n(474)]&&r[n(471)][n(458)](e[n(488)]))&&s[n(459)](o);return s}(e,n),this[t(345)]=this[t(348)][t(345)]&&!!this[t(353)][t(363)]}[v(360)](){const t=v,e=T(Array[t(350)](this[t(353)]));for(const n of e){const e=n[t(354)]();if(!this[t(347)][t(361)][t(342)](e))return}C(this[t(347)][t(361)],this[t(348)],e)}}function w(){const t=["1635848HQKmFR","canEditAt","_isEnabledBasedOnSelection","662967beazNM","isEnabled","3555996vmILLe","editor","_command","document","from","33765993jOTPKg","450445INWOPG","_selectedSuggestions","getRanges","3tRhdlH","9473280wKghNT","values","_suggestions","42Rddnon","execute","model","refresh","size","1790572taVPZc","selection"];return(w=function(){return t})()}const F=function(){this.__data__=[],this.size=0};const D=function(t,e){return t===e||t!=t&&e!=e};const P=function(t,e){for(var n=t.length;n--;)if(D(t[n][0],e))return n;return-1};var x=Array.prototype.splice;const B=function(t){var e=this.__data__,n=P(e,t);return!(n<0)&&(n==e.length-1?e.pop():x.call(e,n,1),--this.size,!0)};const U=function(t){var e=this.__data__,n=P(e,t);return n<0?void 0:e[n][1]};const j=function(t){return P(this.__data__,t)>-1};const G=function(t,e){var n=this.__data__,r=P(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function V(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}V.prototype.clear=F,V.prototype.delete=B,V.prototype.get=U,V.prototype.has=j,V.prototype.set=G;const H=V;const z=function(){this.__data__=new H,this.size=0};const W=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const K=function(t){return this.__data__.get(t)};const X=function(t){return this.__data__.has(t)};const q="object"==typeof global&&global&&global.Object===Object&&global;var Y="object"==typeof self&&self&&self.Object===Object&&self;const Q=q||Y||Function("return this")();const Z=Q.Symbol;var J=Object.prototype,$=J.hasOwnProperty,tt=J.toString,et=Z?Z.toStringTag:void 0;const nt=function(t){var e=$.call(t,et),n=t[et];try{t[et]=void 0;var r=!0}catch(t){}var s=tt.call(t);return r&&(e?t[et]=n:delete t[et]),s};var rt=Object.prototype.toString;const st=function(t){return rt.call(t)};var ot=Z?Z.toStringTag:void 0;const it=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ot&&ot in Object(t)?nt(t):st(t)};const at=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ct=function(t){if(!at(t))return!1;var e=it(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ut=Q["__core-js_shared__"];var lt,ft=(lt=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+lt:"";const ht=function(t){return!!ft&&ft in t};var gt=Function.prototype.toString;const dt=function(t){if(null!=t){try{return gt.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var pt=/^\[object .+?Constructor\]$/,mt=Function.prototype,It=Object.prototype,Et=mt.toString,bt=It.hasOwnProperty,Tt=RegExp("^"+Et.call(bt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const _t=function(t){return!(!at(t)||ht(t))&&(ct(t)?Tt:pt).test(dt(t))};const yt=function(t,e){return null==t?void 0:t[e]};const At=function(t,e){var n=yt(t,e);return _t(n)?n:void 0};const Ct=At(Q,"Map");const kt=At(Object,"create");const Nt=function(){this.__data__=kt?kt(null):{},this.size=0};const Lt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Rt=Object.prototype.hasOwnProperty;const St=function(t){var e=this.__data__;if(kt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Rt.call(e,t)?e[t]:void 0};var vt=Object.prototype.hasOwnProperty;const Mt=function(t){var e=this.__data__;return kt?void 0!==e[t]:vt.call(e,t)};const Ot=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=kt&&void 0===e?"__lodash_hash_undefined__":e,this};function wt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}wt.prototype.clear=Nt,wt.prototype.delete=Lt,wt.prototype.get=St,wt.prototype.has=Mt,wt.prototype.set=Ot;const Ft=wt;const Dt=function(){this.size=0,this.__data__={hash:new Ft,map:new(Ct||H),string:new Ft}};const Pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const xt=function(t,e){var n=t.__data__;return Pt(e)?n["string"==typeof e?"string":"hash"]:n.map};const Bt=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e};const Ut=function(t){return xt(this,t).get(t)};const jt=function(t){return xt(this,t).has(t)};const Gt=function(t,e){var n=xt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vt.prototype.clear=Dt,Vt.prototype.delete=Bt,Vt.prototype.get=Ut,Vt.prototype.has=jt,Vt.prototype.set=Gt;const Ht=Vt;const zt=function(t,e){var n=this.__data__;if(n instanceof H){var r=n.__data__;if(!Ct||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ht(r)}return n.set(t,e),this.size=n.size,this};function Wt(t){var e=this.__data__=new H(t);this.size=e.size}Wt.prototype.clear=z,Wt.prototype.delete=W,Wt.prototype.get=K,Wt.prototype.has=X,Wt.prototype.set=zt;const Kt=Wt;const Xt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};const qt=function(){try{var t=At(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const Yt=function(t,e,n){"__proto__"==e&&qt?qt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n};var Qt=Object.prototype.hasOwnProperty;const Zt=function(t,e,n){var r=t[e];Qt.call(t,e)&&D(r,n)&&(void 0!==n||e in t)||Yt(t,e,n)};const Jt=function(t,e,n,r){var s=!n;n||(n={});for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),s?Yt(n,a,c):Zt(n,a,c)}return n};const $t=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};const te=function(t){return null!=t&&"object"==typeof t};const ee=function(t){return te(t)&&"[object Arguments]"==it(t)};var ne=Object.prototype,re=ne.hasOwnProperty,se=ne.propertyIsEnumerable;const oe=ee(function(){return arguments}())?ee:function(t){return te(t)&&re.call(t,"callee")&&!se.call(t,"callee")};const ie=Array.isArray;const ae=function(){return!1};var ce="object"==typeof exports&&exports&&!exports.nodeType&&exports,ue=ce&&"object"==typeof module&&module&&!module.nodeType&&module,le=ue&&ue.exports===ce?Q.Buffer:void 0;const fe=(le?le.isBuffer:void 0)||ae;var he=/^(?:0|[1-9]\d*)$/;const ge=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&he.test(t))&&t>-1&&t%1==0&&t<e};const de=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var pe={};pe["[object Float32Array]"]=pe["[object Float64Array]"]=pe["[object Int8Array]"]=pe["[object Int16Array]"]=pe["[object Int32Array]"]=pe["[object Uint8Array]"]=pe["[object Uint8ClampedArray]"]=pe["[object Uint16Array]"]=pe["[object Uint32Array]"]=!0,pe["[object Arguments]"]=pe["[object Array]"]=pe["[object ArrayBuffer]"]=pe["[object Boolean]"]=pe["[object DataView]"]=pe["[object Date]"]=pe["[object Error]"]=pe["[object Function]"]=pe["[object Map]"]=pe["[object Number]"]=pe["[object Object]"]=pe["[object RegExp]"]=pe["[object Set]"]=pe["[object String]"]=pe["[object WeakMap]"]=!1;const me=function(t){return te(t)&&de(t.length)&&!!pe[it(t)]};const Ie=function(t){return function(e){return t(e)}};var Ee="object"==typeof exports&&exports&&!exports.nodeType&&exports,be=Ee&&"object"==typeof module&&module&&!module.nodeType&&module,Te=be&&be.exports===Ee&&q.process;const _e=function(){try{var t=be&&be.require&&be.require("util").types;return t||Te&&Te.binding&&Te.binding("util")}catch(t){}}();var ye=_e&&_e.isTypedArray;const Ae=ye?Ie(ye):me;var Ce=Object.prototype.hasOwnProperty;const ke=function(t,e){var n=ie(t),r=!n&&oe(t),s=!n&&!r&&fe(t),o=!n&&!r&&!s&&Ae(t),i=n||r||s||o,a=i?$t(t.length,String):[],c=a.length;for(var u in t)!e&&!Ce.call(t,u)||i&&("length"==u||s&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ge(u,c))||a.push(u);return a};var Ne=Object.prototype;const Le=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ne)};const Re=function(t,e){return function(n){return t(e(n))}};const Se=Re(Object.keys,Object);var ve=Object.prototype.hasOwnProperty;const Me=function(t){if(!Le(t))return Se(t);var e=[];for(var n in Object(t))ve.call(t,n)&&"constructor"!=n&&e.push(n);return e};const Oe=function(t){return null!=t&&de(t.length)&&!ct(t)};const we=function(t){return Oe(t)?ke(t):Me(t)};const Fe=function(t,e){return t&&Jt(e,we(e),t)};const De=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var Pe=Object.prototype.hasOwnProperty;const xe=function(t){if(!at(t))return De(t);var e=Le(t),n=[];for(var r in t)("constructor"!=r||!e&&Pe.call(t,r))&&n.push(r);return n};const Be=function(t){return Oe(t)?ke(t,!0):xe(t)};const Ue=function(t,e){return t&&Jt(e,Be(e),t)};var je="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ge=je&&"object"==typeof module&&module&&!module.nodeType&&module,Ve=Ge&&Ge.exports===je?Q.Buffer:void 0,He=Ve?Ve.allocUnsafe:void 0;const ze=function(t,e){if(e)return t.slice();var n=t.length,r=He?He(n):new t.constructor(n);return t.copy(r),r};const We=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};const Ke=function(t,e){for(var n=-1,r=null==t?0:t.length,s=0,o=[];++n<r;){var i=t[n];e(i,n,t)&&(o[s++]=i)}return o};const Xe=function(){return[]};var qe=Object.prototype.propertyIsEnumerable,Ye=Object.getOwnPropertySymbols;const Qe=Ye?function(t){return null==t?[]:(t=Object(t),Ke(Ye(t),(function(e){return qe.call(t,e)})))}:Xe;const Ze=function(t,e){return Jt(t,Qe(t),e)};const Je=function(t,e){for(var n=-1,r=e.length,s=t.length;++n<r;)t[s+n]=e[n];return t};const $e=Re(Object.getPrototypeOf,Object);const tn=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Je(e,Qe(t)),t=$e(t);return e}:Xe;const en=function(t,e){return Jt(t,tn(t),e)};const nn=function(t,e,n){var r=e(t);return ie(t)?r:Je(r,n(t))};const rn=function(t){return nn(t,we,Qe)};const sn=function(t){return nn(t,Be,tn)};const on=At(Q,"DataView");const an=At(Q,"Promise");const cn=At(Q,"Set");const un=At(Q,"WeakMap");var ln="[object Map]",fn="[object Promise]",hn="[object Set]",gn="[object WeakMap]",dn="[object DataView]",pn=dt(on),mn=dt(Ct),In=dt(an),En=dt(cn),bn=dt(un),Tn=it;(on&&Tn(new on(new ArrayBuffer(1)))!=dn||Ct&&Tn(new Ct)!=ln||an&&Tn(an.resolve())!=fn||cn&&Tn(new cn)!=hn||un&&Tn(new un)!=gn)&&(Tn=function(t){var e=it(t),n="[object Object]"==e?t.constructor:void 0,r=n?dt(n):"";if(r)switch(r){case pn:return dn;case mn:return ln;case In:return fn;case En:return hn;case bn:return gn}return e});const _n=Tn;var yn=Object.prototype.hasOwnProperty;const An=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&yn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const Cn=Q.Uint8Array;const kn=function(t){var e=new t.constructor(t.byteLength);return new Cn(e).set(new Cn(t)),e};const Nn=function(t,e){var n=e?kn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var Ln=/\w*$/;const Rn=function(t){var e=new t.constructor(t.source,Ln.exec(t));return e.lastIndex=t.lastIndex,e};var Sn=Z?Z.prototype:void 0,vn=Sn?Sn.valueOf:void 0;const Mn=function(t){return vn?Object(vn.call(t)):{}};const On=function(t,e){var n=e?kn(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};const wn=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return kn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return Nn(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 On(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Rn(t);case"[object Symbol]":return Mn(t)}};var Fn=Object.create;const Dn=function(){function t(){}return function(e){if(!at(e))return{};if(Fn)return Fn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const Pn=function(t){return"function"!=typeof t.constructor||Le(t)?{}:Dn($e(t))};const xn=function(t){return te(t)&&"[object Map]"==_n(t)};var Bn=_e&&_e.isMap;const Un=Bn?Ie(Bn):xn;const jn=function(t){return te(t)&&"[object Set]"==_n(t)};var Gn=_e&&_e.isSet;const Vn=Gn?Ie(Gn):jn;var Hn="[object Arguments]",zn="[object Function]",Wn="[object Object]",Kn={};Kn[Hn]=Kn["[object Array]"]=Kn["[object ArrayBuffer]"]=Kn["[object DataView]"]=Kn["[object Boolean]"]=Kn["[object Date]"]=Kn["[object Float32Array]"]=Kn["[object Float64Array]"]=Kn["[object Int8Array]"]=Kn["[object Int16Array]"]=Kn["[object Int32Array]"]=Kn["[object Map]"]=Kn["[object Number]"]=Kn[Wn]=Kn["[object RegExp]"]=Kn["[object Set]"]=Kn["[object String]"]=Kn["[object Symbol]"]=Kn["[object Uint8Array]"]=Kn["[object Uint8ClampedArray]"]=Kn["[object Uint16Array]"]=Kn["[object Uint32Array]"]=!0,Kn["[object Error]"]=Kn[zn]=Kn["[object WeakMap]"]=!1;const Xn=function t(e,n,r,s,o,i){var a,c=1&n,u=2&n,l=4&n;if(r&&(a=o?r(e,s,o,i):r(e)),void 0!==a)return a;if(!at(e))return e;var f=ie(e);if(f){if(a=An(e),!c)return We(e,a)}else{var h=_n(e),g=h==zn||"[object GeneratorFunction]"==h;if(fe(e))return ze(e,c);if(h==Wn||h==Hn||g&&!o){if(a=u||g?{}:Pn(e),!c)return u?en(e,Ue(a,e)):Ze(e,Fe(a,e))}else{if(!Kn[h])return o?e:{};a=wn(e,h,c)}}i||(i=new Kt);var d=i.get(e);if(d)return d;i.set(e,a),Vn(e)?e.forEach((function(s){a.add(t(s,n,r,s,e,i))})):Un(e)&&e.forEach((function(s,o){a.set(o,t(s,n,r,o,e,i))}));var p=f?void 0:(l?u?sn:rn:u?Be:we)(e);return Xt(p||e,(function(s,o){p&&(s=e[o=s]),Zt(a,o,t(s,n,r,o,e,i))})),a};const qn=function(t){return Xn(t,5)};const Yn=function(t){return"symbol"==typeof t||te(t)&&"[object Symbol]"==it(t)};var Qn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zn=/^\w*$/;const Jn=function(t,e){if(ie(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Yn(t))||(Zn.test(t)||!Qn.test(t)||null!=e&&t in Object(e))};function $n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,s=e?e.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=t.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new($n.Cache||Ht),n}$n.Cache=Ht;const tr=$n;var er=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nr=/\\(\\)?/g;const rr=function(t){var e=tr(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(er,(function(t,n,r,s){e.push(r?s.replace(nr,"$1"):n||t)})),e}));const sr=function(t,e){for(var n=-1,r=null==t?0:t.length,s=Array(r);++n<r;)s[n]=e(t[n],n,t);return s};var or=Z?Z.prototype:void 0,ir=or?or.toString:void 0;const ar=function t(e){if("string"==typeof e)return e;if(ie(e))return sr(e,t)+"";if(Yn(e))return ir?ir.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const cr=function(t){return null==t?"":ar(t)};const ur=function(t,e){return ie(t)?t:Jn(t,e)?[t]:rr(cr(t))};const lr=function(t){if("string"==typeof t||Yn(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};const fr=function(t,e,n,r){if(!at(t))return t;for(var s=-1,o=(e=ur(e,t)).length,i=o-1,a=t;null!=a&&++s<o;){var c=lr(e[s]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(s!=i){var l=a[c];void 0===(u=r?r(l,c,a):void 0)&&(u=at(l)?l:ge(e[s+1])?[]:{})}Zt(a,c,u),a=a[c]}return t};const hr=function(t,e,n){return null==t?t:fr(t,e,n)};const gr=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const dr=function(t){return this.__data__.has(t)};function pr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Ht;++e<n;)this.add(t[e])}pr.prototype.add=pr.prototype.push=gr,pr.prototype.has=dr;const mr=pr;const Ir=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};const Er=function(t,e){return t.has(e)};const br=function(t,e,n,r,s,o){var i=1&n,a=t.length,c=e.length;if(a!=c&&!(i&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,g=2&n?new mr:void 0;for(o.set(t,e),o.set(e,t);++f<a;){var d=t[f],p=e[f];if(r)var m=i?r(p,d,f,e,t,o):r(d,p,f,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(g){if(!Ir(e,(function(t,e){if(!Er(g,e)&&(d===t||s(d,t,n,r,o)))return g.push(e)}))){h=!1;break}}else if(d!==p&&!s(d,p,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h};const Tr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};const _r=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var yr=Z?Z.prototype:void 0,Ar=yr?yr.valueOf:void 0;const Cr=function(t,e,n,r,s,o,i){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||!o(new Cn(t),new Cn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return D(+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 a=Tr;case"[object Set]":var c=1&r;if(a||(a=_r),t.size!=e.size&&!c)return!1;var u=i.get(t);if(u)return u==e;r|=2,i.set(t,e);var l=br(a(t),a(e),r,s,o,i);return i.delete(t),l;case"[object Symbol]":if(Ar)return Ar.call(t)==Ar.call(e)}return!1};var kr=Object.prototype.hasOwnProperty;const Nr=function(t,e,n,r,s,o){var i=1&n,a=rn(t),c=a.length;if(c!=rn(e).length&&!i)return!1;for(var u=c;u--;){var l=a[u];if(!(i?l in e:kr.call(e,l)))return!1}var f=o.get(t),h=o.get(e);if(f&&h)return f==e&&h==t;var g=!0;o.set(t,e),o.set(e,t);for(var d=i;++u<c;){var p=t[l=a[u]],m=e[l];if(r)var I=i?r(m,p,l,e,t,o):r(p,m,l,t,e,o);if(!(void 0===I?p===m||s(p,m,n,r,o):I)){g=!1;break}d||(d="constructor"==l)}if(g&&!d){var E=t.constructor,b=e.constructor;E==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof E&&E instanceof E&&"function"==typeof b&&b instanceof b||(g=!1)}return o.delete(t),o.delete(e),g};var Lr="[object Arguments]",Rr="[object Array]",Sr="[object Object]",vr=Object.prototype.hasOwnProperty;const Mr=function(t,e,n,r,s,o){var i=ie(t),a=ie(e),c=i?Rr:_n(t),u=a?Rr:_n(e),l=(c=c==Lr?Sr:c)==Sr,f=(u=u==Lr?Sr:u)==Sr,h=c==u;if(h&&fe(t)){if(!fe(e))return!1;i=!0,l=!1}if(h&&!l)return o||(o=new Kt),i||Ae(t)?br(t,e,n,r,s,o):Cr(t,e,c,n,r,s,o);if(!(1&n)){var g=l&&vr.call(t,"__wrapped__"),d=f&&vr.call(e,"__wrapped__");if(g||d){var p=g?t.value():t,m=d?e.value():e;return o||(o=new Kt),s(p,m,n,r,o)}}return!!h&&(o||(o=new Kt),Nr(t,e,n,r,s,o))};const Or=function t(e,n,r,s,o){return e===n||(null==e||null==n||!te(e)&&!te(n)?e!=e&&n!=n:Mr(e,n,r,s,t,o))};const wr=function(t,e){return Or(t,e)};const Fr=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Dr=function(t,e){for(var n=0,r=(e=ur(e,t)).length;null!=t&&n<r;)t=t[lr(e[n++])];return n&&n==r?t:void 0};const Pr=function(t,e,n){var r=-1,s=t.length;e<0&&(e=-e>s?0:s+e),(n=n>s?s:n)<0&&(n+=s),s=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(s);++r<s;)o[r]=t[r+e];return o};const xr=function(t,e){return e.length<2?t:Dr(t,Pr(e,0,-1))};const Br=function(t,e){return e=ur(e,t),null==(t=xr(t,e))||delete t[lr(Fr(e))]};const Ur=function(t,e){return null==t||Br(t,e)},jr=Gr;function Gr(t,e){const n=Hr();return(Gr=function(t,e){return n[t-=262]})(t,e)}!function(t,e){const n=Gr,r=t();for(;;)try{if(140408===parseInt(n(308))/1+-parseInt(n(334))/2+-parseInt(n(263))/3*(-parseInt(n(274))/4)+-parseInt(n(327))/5+-parseInt(n(281))/6+parseInt(n(270))/7+-parseInt(n(273))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Hr);class Vr extends((0,e.ObservableMixin)()){constructor(t,e){const n=Gr;super(),this[n(275)]=!1,this.id=e.id,this[n(333)]=e[n(333)],this[n(320)]=e[n(320)]||null,this[n(292)]=e[n(292)],this[n(293)]=e[n(293)]||e[n(292)],this[n(314)]=Boolean(e[n(295)]&&e[n(295)][n(323)]),this[n(326)]=null,this[n(287)]=t,this[n(303)]=e[n(299)],this[n(279)]=e[n(332)],this[n(272)]=e[n(286)],this[n(340)]=new Set,this[n(298)]=null,this[n(318)](n(317),null),this[n(318)](n(295),e[n(295)]||{}),this[n(318)](n(309),null),this[n(318)](n(297),null),this[n(318)](n(313),null),this[n(318)](n(301),!1),this[n(330)](n(322)),this[n(330)](n(306))}get[jr(316)](){const t=jr;let e=this;for(;e[t(309)];)e=e[t(309)];return e}get[jr(331)](){const t=jr;return!!this[t(313)]&&this[t(313)][t(290)]>0}get[jr(284)](){const t=jr;return 0!=this[t(340)][t(282)]&&6==Array[t(337)](this[t(340)])[0][t(310)](":")[t(290)]}get[jr(264)](){return null!==this[jr(266)]()}[jr(278)](t){const e=jr;this[e(340)][e(321)](t)}[jr(339)](){const t=jr;return Array[t(337)](this[t(340)])}[jr(265)](){const t=jr;return this[t(339)]()[t(325)]((e=>this[t(287)][t(324)][t(307)](e)))[t(262)]((t=>t))}[jr(266)](){return this[jr(265)]()[0]||null}[jr(328)](){const t=jr;this[t(287)][t(305)]((e=>{const n=t;for(const t of this[n(265)]())e[n(276)](t)})),this[t(340)][t(300)]()}[jr(276)](t){const e=jr;this[e(287)][e(305)]((n=>{n[e(276)](t)})),this[e(340)][e(294)](t)}[jr(277)](t){const e=jr,n=e(283)+this[e(333)]+":"+this[e(320)]+":"+this.id+":"+this[e(293)].id+":"+Vr[e(329)]();this[e(278)](n),this[e(287)][e(305)]((r=>{r[e(268)](n,{range:t,usingOperation:!0,affectsData:!0})}))}[jr(267)](t){const e=jr;for(const n of this[e(285)]())if(n[e(315)](t))return!0;return!1}[jr(285)](){const t=jr;return this[t(265)]()[t(325)]((e=>e[t(319)]()))}[jr(271)](){const t=jr;return this[t(285)]()[t(269)](((e,n)=>[...e,...n[t(271)]()]),[])}[jr(291)](){const t=jr;var e;return(null===(e=this[t(266)]())||void 0===e?void 0:e[t(319)]())||null}[jr(336)](){const t=jr,e=this[t(285)]();if(1!=e[t(290)])return null;const n=e[0],r=n[t(311)][t(280)],s=n[t(335)][t(338)];return r instanceof i.Element?r!=s?null:r:null}[jr(322)](){const t=jr;this[t(303)](this[t(285)](),this[t(326)],this[t(295)]),this[t(328)]()}[jr(306)](){const t=jr;this[t(279)](this[t(285)](),this[t(326)],this[t(295)]),this[t(328)]()}[jr(289)](){const t=jr,e=[];let n=this[t(316)];for(;n;)e[t(296)](n),n=n[t(297)];return e}[jr(302)](t,e){const n=jr,r=qn(this[n(295)]);hr(r,t,e),wr(r,this[n(295)])||(this[n(295)]=r,this[n(272)](r))}[jr(312)](t){const e=jr,n=qn(this[e(295)]);Ur(n,t),wr(n,this[e(295)])||(this[e(295)]=n,this[e(272)](this[e(295)]))}[jr(304)](){const t=jr;return{id:this.id,type:this[t(320)]?this[t(333)]+":"+this[t(320)]:this[t(333)],authorId:this[t(293)].id,createdAt:this[t(298)],hasComments:this[t(331)],data:this[t(326)],attributes:this[t(295)]}}static[jr(329)](){const t=jr;return(0,e.uid)()[t(288)](1,5)}}function Hr(){const t=["discard","get","162284smyMGK","previous","split","start","removeAttribute","commentThread","isExternal","isIntersecting","head","authoredAt","set","getRange","subType","add","accept","@external","markers","map","data","324845yLGbjP","removeMarkers","getMultiRangeId","decorate","hasComments","onDiscard","type","92858vqwzoQ","end","getContainedElement","from","nodeBefore","getMarkerNames","_markerNames","filter","2199aGqKzb","isInContent","getMarkers","getFirstMarker","isIntersectingWithRange","addMarker","reduce","1518398csyhWN","getItems","_onAttributesChange","859264KIwGsb","1284PgzNrY","_isDataLoaded","removeMarker","addRange","addMarkerName","_onDiscard","nodeAfter","1531662EwBnVU","size","suggestion:","isMultiRange","getRanges","onAttributesChange","_model","substr","getAllAdjacentSuggestions","length","getFirstRange","author","creator","delete","attributes","push","next","createdAt","onAccept","clear","_saved","setAttribute","_onAccept","toJSON","change"];return(Hr=function(){return t})()}function zr(t,e,n){const r=t.t;switch(e){case"Track changes":return r("Track changes");case"Accept suggestion":return r("Accept suggestion");case"Discard suggestion":return r("Discard suggestion");case"Accept all suggestions":return r("Accept all suggestions");case"Accept all selected suggestions":return r("Accept all selected suggestions");case"Discard all suggestions":return r("Discard all suggestions");case"Discard all selected suggestions":return r("Discard all selected suggestions");case"*Reset font size*":return r("*Reset font size*");case"*Reset font family*":return r("*Reset font family*");case"*Reset font color*":return r("*Reset font color*");case"*Reset font background color*":return r("*Reset font background color*");case"*Remove image text alternative*":return r("*Remove image text alternative*");case"*Reset image width*":return r("*Reset image width*");case"*Remove link*":return r("*Remove link*");case"*Check item*":return r("*Check item*");case"*Uncheck item*":return r("*Uncheck item*");case"*Remove all formatting*":return r("*Remove all formatting*");case"*Replace table cells*":return r("*Replace table cells*");case"*Merge cells*":return r("*Merge cells*");case"*Split cell:* vertically":return r("*Split cell:* vertically");case"*Split cell:* horizontally":return r("*Split cell:* horizontally");case"*Indent:* %0":return r("*Indent:* %0",n);case"*Outdent:* %0":return r("*Outdent:* %0",n);case"*Change to:* %0":return r("*Change to:* %0",n);case"*Insert:* %0":return r("*Insert:* %0",n);case"*Format:* %0":return r("*Format:* %0",n);case"*Format:* change table properties":return r("*Format:* change table properties");case"*Format:* change table cell properties":return r("*Format:* change table cell properties");case"*Format:* insert into %0":return r("*Format:* insert into %0",n);case"*Format:* remove from %0":return r("*Format:* remove from %0",n);case"*Replace image URL*":return r("*Replace image URL*");case"*Format:* resize table":return r("*Format:* resize table");case"*Format:* set order to reversed":return r("*Format:* set order to reversed");case"*Format:* set order to regular":return r("*Format:* set order to regular");case"*Format:* set start index to %0":return r("*Format:* set start index to %0",n);case"*Change %0 content*":return r("*Change %0 content*",n);case"*Remove:* %0":return r("*Remove:* %0",n);case"*Merge:* %0":return r("*Merge:* %0",n);case"*Split:* %0":return r("*Split:* %0",n);case"*Remove format:* %0":return r("*Remove format:* %0",n);case"*Set font size:* %0":return r("*Set font size:* %0",n);case"*Set font family:* %0":return r("*Set font family:* %0",n);case"*Set format to:* %0":return r("*Set format to:* %0",n);case"*Set font color:* %0":return r("*Set font color:* %0",n);case"*Set font background color:* %0":return r("*Set font background color:* %0",n);case"*Set format:* %0":return r("*Set format:* %0",n);case"*Set image text alternative:* %0":return r("*Set image text alternative:* %0",n);case"*Set image width:* %0":return r("*Set image width:* %0",n);case"*Set link:* %0":return r("*Set link:* %0",n);case"*Set highlight:* %0":return r("*Set highlight:* %0",n);case"*Remove highlight*":return r("*Remove highlight*");case"FORMAT_HIGHLIGHT":return r({string:"highlight",id:"FORMAT_HIGHLIGHT"});case"FORMAT_RESTRICTED_ENABLED":return r({string:"*Enable in restricted editing mode*",id:"FORMAT_RESTRICTED_ENABLED"});case"FORMAT_RESTRICTED_DISABLED":return r({string:"*Disable in restricted editing mode*",id:"FORMAT_RESTRICTED_DISABLED"});case"ELEMENT_TABLE":return r({string:"table",plural:"%0 tables",id:"ELEMENT_TABLE"},n);case"ELEMENT_PARAGRAPH":return r({string:"paragraph",plural:"%0 paragraphs",id:"ELEMENT_PARAGRAPH"},n);case"ELEMENT_PAGE_BREAK":return r({string:"page break",plural:"%0 page breaks",id:"ELEMENT_PAGE_BREAK"},n);case"ELEMENT_MEDIA":return r({string:"media item",plural:"%0 media items",id:"ELEMENT_MEDIA"},n);case"ELEMENT_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_IMAGE"},n);case"ELEMENT_INLINE_IMAGE":return r({string:"image",plural:"%0 images",id:"ELEMENT_INLINE_IMAGE"},n);case"FORMAT_SIDE_IMAGE":return r({string:"side image",id:"FORMAT_SIDE_IMAGE"});case"ELEMENT_CAPTION":return r({string:"caption",id:"ELEMENT_CAPTION"});case"ELEMENT_HORIZONTAL_LINE":return r({string:"horizontal line",plural:"%0 horizontal lines",id:"ELEMENT_HORIZONTAL_LINE"},n);case"ELEMENT_HTML_EMBED":return r({string:"HTML embed",plural:"%0 HTML embeds",id:"ELEMENT_HTML_EMBED"},n);case"ELEMENT_HEADING":return r({string:"heading (level %1)",plural:"%0 headings (level %1)",id:"ELEMENT_HEADING"},n);case"ELEMENT_HEADING_CUSTOM":return r({string:"heading (%1)",plural:"%0 headings (%1)",id:"ELEMENT_HEADING_CUSTOM"},n);case"ELEMENT_LIST_ITEM":return r({string:"list item",plural:"%0 list items",id:"ELEMENT_LIST_ITEM"},n);case"ELEMENT_BULLETED_LIST":return r({string:"bulleted list",id:"ELEMENT_BULLETED_LIST"});case"ELEMENT_BULLETED_LIST_DEFAULT":return r({string:"bulleted list (default)",id:"ELEMENT_BULLETED_LIST_DEFAULT"});case"ELEMENT_BULLETED_LIST_CIRCLE":return r({string:"bulleted list (circle)",id:"ELEMENT_BULLETED_LIST_CIRCLE"});case"ELEMENT_BULLETED_LIST_DISC":return r({string:"bulleted list (disc)",id:"ELEMENT_BULLETED_LIST_DISC"});case"ELEMENT_BULLETED_LIST_SQUARE":return r({string:"bulleted list (square)",id:"ELEMENT_BULLETED_LIST_SQUARE"});case"ELEMENT_NUMBERED_LIST_DEFAULT":return r({string:"numbered list (default)",id:"ELEMENT_NUMBERED_LIST_DEFAULT"});case"ELEMENT_NUMBERED_LIST":return r({string:"numbered list",id:"ELEMENT_NUMBERED_LIST"});case"ELEMENT_NUMBERED_LIST_DECIMAL":return r({string:"numbered list (decimal)",id:"ELEMENT_NUMBERED_LIST_DECIMAL"});case"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO":return r({string:"numbered list (decimal with leading zero)",id:"ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO"});case"ELEMENT_NUMBERED_LIST_LOWER_LATIN":return r({string:"numbered list (lower-latin)",id:"ELEMENT_NUMBERED_LIST_LOWER_LATIN"});case"ELEMENT_NUMBERED_LIST_LOWER_ROMAN":return r({string:"numbered list (lower-roman)",id:"ELEMENT_NUMBERED_LIST_LOWER_ROMAN"});case"ELEMENT_NUMBERED_LIST_UPPER_LATIN":return r({string:"numbered list (upper-latin)",id:"ELEMENT_NUMBERED_LIST_UPPER_LATIN"});case"ELEMENT_NUMBERED_LIST_UPPER_ROMAN":return r({string:"numbered list (upper-roman)",id:"ELEMENT_NUMBERED_LIST_UPPER_ROMAN"});case"ELEMENT_TODO_LIST":return r({string:"to-do list",id:"ELEMENT_TODO_LIST"});case"REPLACE_TEXT":return r({string:"*Replace:* %0 *with* %1",id:"REPLACE_TEXT"},n);case"ELEMENT_SPACE":return r({string:"space",plural:"%0 spaces",id:"ELEMENT_SPACE"},n);case"FORMAT_ALIGNMENT":return r({string:"alignment",id:"FORMAT_ALIGNMENT"});case"FORMAT_ALIGN_TO_LEFT":return r({string:"align to left",id:"FORMAT_ALIGN_TO_LEFT"});case"FORMAT_ALIGN_TO_RIGHT":return r({string:"align to right",id:"FORMAT_ALIGN_TO_RIGHT"});case"FORMAT_ALIGN_TO_CENTER":return r({string:"align to center",id:"FORMAT_ALIGN_TO_CENTER"});case"FORMAT_JUSTIFY_TEXT":return r({string:"justify",id:"FORMAT_JUSTIFY_TEXT"});case"FORMAT_BOLD":return r({string:"bold",id:"FORMAT_BOLD"});case"FORMAT_ITALIC":return r({string:"italic",id:"FORMAT_ITALIC"});case"FORMAT_UNDERLINE":return r({string:"underline",id:"FORMAT_UNDERLINE"});case"FORMAT_CODE":return r({string:"code",id:"FORMAT_CODE"});case"FORMAT_STRIKETHROUGH":return r({string:"strikethrough",id:"FORMAT_STRIKETHROUGH"});case"FORMAT_SUBSCRIPT":return r({string:"subscript",id:"FORMAT_SUBSCRIPT"});case"FORMAT_SUPERSCRIPT":return r({string:"superscript",id:"FORMAT_SUPERSCRIPT"});case"ELEMENT_BLOCK_QUOTE":return r({string:"block quote",id:"ELEMENT_BLOCK_QUOTE"});case"ELEMENT_CODE_BLOCK":return r({string:"code block",plural:"%0 code blocks",id:"ELEMENT_CODE_BLOCK"},n);case"FORMAT_HEADER_COLUMN":return r({string:"header column",id:"FORMAT_HEADER_COLUMN"});case"FORMAT_REGULAR_COLUMN":return r({string:"regular column",id:"FORMAT_REGULAR_COLUMN"});case"FORMAT_HEADER_ROW":return r({string:"header row",id:"FORMAT_HEADER_ROW"});case"FORMAT_REGULAR_ROW":return r({string:"regular row",id:"FORMAT_REGULAR_ROW"});case"FORMAT_INDENT":return r({string:"indent",id:"FORMAT_INDENT"});case"FORMAT_LIST_REVERSED":return r({string:"list reversed",id:"FORMAT_LIST_REVERSED"});case"FORMAT_LIST_START":return r({string:"list start",id:"FORMAT_LIST_START"});case"FORMAT_FONT_SIZE":return r({string:"font size",id:"FORMAT_FONT_SIZE"});case"FORMAT_FONT_FAMILY":return r({string:"font family",id:"FORMAT_FONT_FAMILY"});case"FORMAT_FONT_COLOR":return r({string:"font color",id:"FORMAT_FONT_COLOR"});case"FORMAT_FONT_BACKGROUND":return r({string:"font background color",id:"FORMAT_FONT_BACKGROUND"});case"FORMAT_IMAGE_SIZE":return r({string:"image size",id:"FORMAT_IMAGE_SIZE"});case"FORMAT_STYLE":return r({string:"style",id:"FORMAT_STYLE"});case"PENDING_ACTION_SUGGESTION":return r({string:"Unsaved change in suggestion.",id:"PENDING_ACTION_SUGGESTION"});case"ELEMENT_TABLE_WITH_TEXT":return r({string:"table *with text* %0",id:"ELEMENT_TABLE_WITH_TEXT"},n);case"ELEMENT_TABLE_ROW":return r({string:"table row",plural:"%0 table rows",id:"ELEMENT_TABLE_ROW"},n);case"ELEMENT_TABLE_ROW_WITH_TEXT":return r({string:"table row *with text* %1",plural:"%0 table rows *with text* %1",id:"ELEMENT_TABLE_ROW_WITH_TEXT"},n);case"ELEMENT_TABLE_COLUMN":return r({string:"table column",plural:"%0 table columns",id:"ELEMENT_TABLE_COLUMN"},n);case"ELEMENT_TABLE_COLUMN_WITH_TEXT":return r({string:"table column *with text* %1",plural:"%0 table columns *with text* %1",id:"ELEMENT_TABLE_COLUMN_WITH_TEXT"},n);case"ELEMENT_TABLE_OF_CONTENTS":return r({string:"table of contents",plural:"%0 tables of contents",id:"ELEMENT_TABLE_OF_CONTENTS"},n);case"ELEMENT_LINE_BREAK":return r({id:"ELEMENT_LINE_BREAK",string:"line break",plural:"%0 line breaks"},n);case"ELEMENT_TITLE":return r({id:"ELEMENT_TITLE",string:"title"});case"EXTERNAL_SUGGESTION":return r({id:"EXTERNAL_SUGGESTION",string:"This suggestion comes from an external source."});case"EXTERNAL_IMPORT_WORD_SUGGESTION":return r({string:"This suggestion comes from an imported Word file.",id:"EXTERNAL_IMPORT_WORD_SUGGESTION"});case"EXTERNAL_AVATAR":return r({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return r({string:"Displayed author name comes from a Word document imported by %0",id:"EXTERNAL_IMPORT_WORD_AVATAR"},n);case"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering insertion suggestion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving insertion suggestion.",id:"LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering deletion suggestion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving deletion suggestion.",id:"LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"});case"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Entering formatting suggestion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});default:return e}}const Wr=Kr;function Kr(t,e){const n=Xr();return(Kr=function(t,e){return n[t-=225]})(t,e)}function Xr(){const t=["_handleAttributeSuggestionDescription","getItemLabel","_handleInsertRemoveSuggestionDescription","has","elementEnd","removeContainer","REPLACE_TEXT","key","previousSibling","_handleRenameSuggestionDescription","getDescriptions","*Change to:* %0","item","remove","format","32855dJCLJD","push","getFirstRange","quantity","ELEMENT_SPACE","indexOf","328jVpIZP","nodeAfter","52ZbDcfV","newValue","332244OuQtXw","data","addContainer","add","getWalker","EmptyContainer","element","map","insertion","join","addEmptyContainer","200YKtLSS","label","registerAttributeLabel","*Remove:* %0","registerDescriptionCallback","_customCallbacks","elementStart","11649996kLEkkA","replace","set","nextSibling","removeObject","isEqual","length","type","_itemLabels","_resolveDescriptionItems","text","registerElementLabel","removeFormat","isObject","subType","_locale","89537TXlkSi","23516160XsIuMD","_handleCustomCallbackDescription","isInContent","_attributeLabels","_addDescriptionItems","addFormat","attribute","Object","*Split:* %0","skip","name","checkChild","_schema","*Insert:* %0","1303007qJPpbU","match","*Merge:* %0","removeEmptyContainer","isEmpty","start","get","Container","*Remove format:* %0","$textProxy","deletion","softBreak","*Set format:* %0","matchingCallback","_itemLabelsCallbacks","30120lBTbsw","function","addObject","end","normal","$1 $2","$text","pop"];return(Xr=function(){return t})()}!function(t,e){const n=Kr,r=t();for(;;)try{if(673825===-parseInt(n(305))/1+parseInt(n(267))/2*(-parseInt(n(320))/3)+parseInt(n(254))/4*(-parseInt(n(246))/5)+-parseInt(n(256))/6+-parseInt(n(290))/7*(parseInt(n(252))/8)+parseInt(n(274))/9+parseInt(n(291))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Xr);class qr{constructor(t,e){const n=Kr;this[n(272)]=[],this[n(282)]=new Map,this[n(319)]=[],this[n(294)]=new Map,this[n(303)]=t,this[n(289)]=e}[Wr(241)](t){const e=Wr,n=[],r=new Set,s=new Set;for(let o=0;o<t[e(280)];o++){const i=t[o];if(!i[e(293)])continue;const a=this[e(292)](i);if(a){if(null!=i[e(288)]){if(r[e(234)](i[e(288)]))continue;r[e(259)](i[e(288)])}n[e(247)](a)}else if(e(297)!=i[e(281)])e(264)!=i[e(281)]&&e(315)!=i[e(281)]||this[e(233)](n,i,t[o+1]);else{const t=i[e(257)][e(238)];if(s[e(234)](t))continue;s[e(259)](i[e(257)][e(238)]),t==Ic?this[e(240)](n,i):this[e(231)](n,i)}}return this[e(283)](n)}[Wr(271)](t){const e=Wr;this[e(272)][e(247)](t)}[Wr(285)](t,n,r=e.priorities[Wr(227)]){const s=Wr;s(321)==typeof t?(0,e.insertToPriorityArray)(this[s(319)],{matchingCallback:t,label:n,priority:r}):this[s(282)][s(276)](t,n)}[Wr(269)](t,e){const n=Wr;this[n(294)][n(276)](t,e)}[Wr(232)](t,e=1){const n=Wr;let r;for(const e of this[n(319)])if(e[n(318)](t)){r=e[n(268)];break}return r||(r=this[n(282)][n(311)](t[n(301)])),r?r(e):1!==e?e+" "+t[n(301)]+"s":""+t[n(301)]}[Wr(295)](t,e){const n=Wr,r=e[n(248)]()[n(260)](),s=n(264)==e[n(281)]?n(259):n(244);for(const e of r){const o=e[n(243)],i=t[t[n(280)]-1];if(o.is(n(314)))i&&i[n(281)][n(251)](n(312))>-1&&t[n(230)](),i&&n(284)==i[n(281)]?i[s]+=o[n(257)]:t[n(247)]({type:n(284),add:n(259)==s?o[n(257)]:"",remove:n(244)==s?o[n(257)]:""});else if(this[n(303)][n(287)](o)){const a=o;if(i&&i[n(281)][n(251)](n(312))>-1&&t[n(230)](),n(235)==e[n(281)])continue;i&&i[n(281)]==s+n(298)&&i[n(262)][n(301)]==a[n(301)]?i[n(249)]++:t[n(247)]({type:s+n(298),element:a,quantity:1}),r[n(300)]((t=>!(n(235)==t[n(281)]&&t[n(243)]==o)))}else if(this[n(303)][n(302)](o,n(229))||o.is(n(262),n(316))){const r=o;if(n(259)==s&&n(273)==e[n(281)]||n(244)==s&&n(235)==e[n(281)])continue;if(i&&-1==i[n(281)][n(251)](n(312))){n(284)==i[n(281)]&&(i[s]+="\n");continue}let a;if(a=n(259)==s?r[n(277)]&&!this[n(303)][n(287)](r[n(277)])?r[n(277)]:null:r[n(239)]&&!this[n(303)][n(287)](r[n(239)])?r[n(239)]:null,r[n(309)]||a&&a[n(309)]){const e=a&&a[n(309)]?a:r;i&&i[n(281)]==s+n(261)&&i[n(262)][n(301)]==e[n(301)]?i[n(249)]++:t[n(247)]({type:s+n(261),element:e,quantity:1})}else t[n(247)]({type:s+n(312),element:r})}}}[Wr(283)](t){const e=Wr,n=this[e(289)],r=[],s=[],o=[];for(const i of t)switch(i[e(281)]){case e(284):if(i[e(259)]=i[e(259)][e(275)](/(\S)\u000A+(\S)/g,e(228))[e(275)](/\u000A/g,""),i[e(244)]=i[e(244)][e(275)](/(\S)\u000A+(\S)/g,e(228))[e(275)](/\u000A/g,""),""!=i[e(259)]&&""!=i[e(244)]){r[e(247)]({type:e(275),content:zr(n,e(237),['"'+i[e(244)]+'"','"'+i[e(259)]+'"'])});continue}if(null!=i[e(259)][e(306)](/^ +$/)){r[e(247)]({type:e(264),content:zr(n,e(304),zr(n,e(250),i[e(259)][e(280)]))});continue}if(null!=i[e(244)][e(306)](/^ +$/)){r[e(247)]({type:e(315),content:zr(n,e(270),zr(n,e(250),i[e(244)][e(280)]))});continue}if(""!=i[e(259)]){r[e(247)]({type:e(264),content:zr(n,e(304),'"'+i[e(259)]+'"')});continue}r[e(247)]({type:e(315),content:zr(n,e(270),'"'+i[e(244)]+'"')});continue;case e(266):case e(225):r[e(247)]({type:e(264),content:zr(n,e(304),this[e(232)](i[e(262)],i[e(249)]))});continue;case e(308):case e(278):r[e(247)]({type:e(315),content:zr(n,e(270),this[e(232)](i[e(262)],i[e(249)]))});continue;case e(258):r[e(247)]({type:e(264),content:zr(n,e(299),this[e(232)](i[e(262)],i[e(249)]))});continue;case e(236):r[e(247)]({type:e(315),content:zr(n,e(307),this[e(232)](i[e(262)],i[e(249)]))});continue;case e(296):s[e(247)](i[e(238)]);continue;case e(286):o[e(247)](i[e(238)]);continue;default:r[e(247)](i)}if(s[e(280)]){const t=s[e(263)]((t=>this[e(294)][e(234)](t)?this[e(294)][e(311)](t):t))[e(265)](", ");r[e(247)]({type:e(245),content:zr(this[e(289)],e(317),t)})}if(o[e(280)]){const t=o[e(263)]((t=>this[e(294)][e(234)](t)?this[e(294)][e(311)](t):t))[e(265)](", ");r[e(247)]({type:e(245),content:zr(this[e(289)],e(313),t)})}return r}[Wr(292)](t){const e=Wr;for(const n of this[e(272)]){const r=n(t);if(r&&e(281)in r)return r}}[Wr(231)](t,e){const n=Wr,r=e[n(257)],s=void 0===r[n(255)]?n(286):n(296);t[n(247)]({type:s,key:r[n(238)]})}[Wr(240)](t,e){const n=Wr;t[n(247)]({type:n(245),content:zr(this[n(289)],n(242),this[n(232)](e[n(248)]()[n(310)][n(253)],1))})}[Wr(233)](t,e,n){const r=Wr;if(this[r(295)](t,e),n&&n[r(248)]()&&!e[r(248)]()[r(226)][r(279)](n[r(248)]()[r(310)])){const n=t[t[r(280)]-1],s=r(264)==e[r(281)]?r(259):r(244);n&&r(284)==n[r(281)]&&(n[s]+="\n")}}}const Yr=Qr;function Qr(t,e){const n=Jr();return(Qr=function(t,e){return n[t-=173]})(t,e)}!function(t,e){const n=Qr,r=t();for(;;)try{if(222375===parseInt(n(187))/1+-parseInt(n(181))/2*(-parseInt(n(179))/3)+-parseInt(n(177))/4*(parseInt(n(190))/5)+-parseInt(n(185))/6+parseInt(n(186))/7+-parseInt(n(175))/8*(parseInt(n(184))/9)+-parseInt(n(183))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Jr);class Zr extends t.Plugin{[Yr(174)](){const t=Yr,e=this[t(180)],n=e[t(173)][t(188)](t(178));e[t(189)][t(188)](t(182))&&n[t(176)](t(182))}}function Jr(){const t=["8RcmDZa","enableCommand","12508YfkwXX","TrackChangesEditing","6evMMDm","editor","439862onGxLU","showAIAssistant","1316510qCqIIH","3514032eILhAj","961170EwPvoH","642257rRqneU","385564topOwp","get","commands","20VuSpLn","plugins","afterInit"];return(Jr=function(){return t})()}const $r=ts;function ts(t,e){const n=es();return(ts=function(t,e){return n[t-=334]})(t,e)}function es(){const t=["value","FORMAT_ALIGN_TO_RIGHT","FORMAT_ALIGN_TO_LEFT","commandName","AlignmentEditing","549CMolXK","has","right","formatBlock","FORMAT_JUSTIFY_TEXT","editor","119024QeSmIR","36Pulicu","25196nLImyd","center","get","817707wbHzxh","afterInit","registerAttributeLabel","_enableDefaultAttributesIntegration","type","2835123eBoiCl","29029KMcUbj","registerDescriptionCallback","_descriptionFactory","plugins","left","locale","FORMAT_ALIGNMENT","2470eFNzFN","115LzApCO","commandParams","_registerLegacyDescription","136dmYdMY","alignment","*Format:* %0","FORMAT_ALIGN_TO_CENTER","705236abGINr","TrackChangesEditing","format","justify"];return(es=function(){return t})()}!function(t,e){const n=ts,r=t();for(;;)try{if(546076===-parseInt(n(359))/1+parseInt(n(335))/2+-parseInt(n(364))/3+parseInt(n(356))/4*(parseInt(n(373))/5)+-parseInt(n(355))/6*(-parseInt(n(339))/7)+-parseInt(n(354))/8*(-parseInt(n(348))/9)+parseInt(n(372))/10*(parseInt(n(365))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(es);class ns extends t.Plugin{[$r(360)](){const t=$r,e=this[t(353)],n=e[t(370)];if(!e[t(368)][t(349)](t(347)))return;const r=e[t(368)][t(358)](t(340));r[t(362)](t(336),[],[t(336)]),r[t(367)][t(361)](t(336),zr(n,t(371))),this[t(334)]()}[$r(334)](){const t=$r,e=this[t(353)],n=e[t(370)];e[t(368)][t(358)](t(340))[t(367)][t(366)]((e=>{const r=t;if(r(351)!=e[r(363)])return;const{data:s}=e;if(s&&r(336)==s[r(346)]){const t=s[r(374)][0][r(343)];return{type:r(341),content:zr(n,r(337),function(t){const e=r;switch(t){case e(369):return zr(n,e(345));case e(350):return zr(n,e(344));case e(357):return zr(n,e(338));case e(342):return zr(n,e(352))}}(t))}}}))}}function rs(){const t=["1Qwsmak","bold","27UgSXrr","subscript","FORMAT_ITALIC","FORMAT_UNDERLINE","FORMAT_SUBSCRIPT","SuperscriptEditing","FORMAT_BOLD","7899108PovBta","4827550GGDbGO","format","get","UnderlineEditing","168qmDHki","plugins","FORMAT_SUPERSCRIPT","_descriptionFactory","italic","2528970MxuNlG","6755495aEuAuZ","*Format:* %0","SubscriptEditing","_enableDefaultAttributesIntegration","209230FqRHWc","FORMAT_CODE","BoldEditing","registerAttributeLabel","underline","registerDescriptionCallback","afterInit","type","12jyJwMN","toUpperCase","strikethrough","commandName","StrikethroughEditing","superscript","6BmHuoP","formatInline","CodeEditing","_registerLegacyDescription","TrackChangesEditing","toLowerCase","forceValue","*Remove format:* %0","editor","FORMAT_STRIKETHROUGH","8NLZUAm","FORMAT_","8sEFCny","locale","slice","commandParams","has","7908989AdbNMa","ItalicEditing","code","2100441cvVhMb"];return(rs=function(){return t})()}const ss=os;function os(t,e){const n=rs();return(os=function(t,e){return n[t-=109]})(t,e)}!function(t,e){const n=os,r=t();for(;;)try{if(786998===parseInt(n(157))/1*(-parseInt(n(117))/2)+-parseInt(n(156))/3*(parseInt(n(148))/4)+-parseInt(n(118))/5*(parseInt(n(136))/6)+parseInt(n(166))/7*(parseInt(n(146))/8)+-parseInt(n(159))/9*(parseInt(n(122))/10)+-parseInt(n(153))/11*(parseInt(n(130))/12)+-parseInt(n(167))/13*(-parseInt(n(112))/14))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(rs);const is=[ss(124),ss(154),ss(111),ss(138),ss(134),ss(120),ss(164)];class as extends t.Plugin{[ss(128)](){const t=ss,e=this[t(144)],n=e[t(113)][t(110)](t(140)),r=e[t(149)];for(const s of is){if(!e[t(113)][t(152)](s))continue;const o=s[t(150)](0,-7)[t(141)](),i=t(147)+o[t(131)]();n[t(121)](o,[o]),n[t(115)][t(125)](o,zr(r,i))}this[t(139)]()}[ss(139)](){const t=ss,e=this[t(144)],n=e[t(149)],r=e[t(113)][t(110)](t(140));function s(e,s){const o=t;r[o(115)][o(127)]((t=>{const r=o;if(r(137)!=t[r(129)])return;const{data:i}=t;return i&&i[r(133)]===e?i[r(151)][0][r(142)]?{type:r(109),content:zr(n,r(119),s)}:{type:r(109),content:zr(n,r(143),s)}:void 0}))}s(t(158),zr(n,t(165))),s(t(116),zr(n,t(161))),s(t(126),zr(n,t(162))),s(t(155),zr(n,t(123))),s(t(132),zr(n,t(145))),s(t(160),zr(n,t(163))),s(t(135),zr(n,t(114)))}}const cs=us;function us(t,e){const n=fs();return(us=function(t,e){return n[t-=478]})(t,e)}!function(t,e){const n=us,r=t();for(;;)try{if(635994===parseInt(n(516))/1*(parseInt(n(511))/2)+-parseInt(n(498))/3*(parseInt(n(519))/4)+-parseInt(n(499))/5+parseInt(n(492))/6*(parseInt(n(478))/7)+-parseInt(n(515))/8+-parseInt(n(483))/9*(-parseInt(n(522))/10)+parseInt(n(503))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(fs);class ls extends t.Plugin{[cs(517)](){const t=cs,e=this[t(487)],n=e[t(493)];if(!e[t(484)][t(500)](t(481)))return;const r=e[t(484)][t(488)](t(521)),s=this[t(487)][t(514)][t(488)](t(494));r[t(520)](t(494),((n,o={})=>{const i=t,a=this[i(487)][i(507)][i(486)][i(501)],c=o&&void 0!==o[i(495)]?o[i(495)]:!s[i(482)];let u=[];if(c){const t=Array[i(506)](a[i(513)]())[i(504)]((t=>hs(t)||function(t,e){const n=i,r=e[n(490)](t[n(509)],n(494)),s=e[n(490)]([n(496),n(494)],t);return r&&s}(t,this[i(487)][i(507)][i(480)])));u=_(t,e[i(507)])}else{const t=Array[i(506)](a[i(513)]())[i(504)]((t=>hs(t)));u=_(t,e[i(507)])}e[i(507)][i(502)]((()=>{const t=i;for(const e of u)r[t(505)](e,{commandName:t(494),commandParams:[{forceValue:c}]})}))})),r[t(518)][t(510)]((e=>{const r=t,{data:s}=e;if(s&&r(494)==s[r(512)]){const t=zr(n,r(485));return s[r(508)][0][r(495)]?{type:r(497),content:zr(n,r(479),t)}:{type:r(497),content:zr(n,r(491),t)}}}))}}function fs(){const t=["687YMOUVK","1073520heFDOa","has","selection","change","10374452mBxqyy","filter","markBlockFormat","from","model","commandParams","parent","registerDescriptionCallback","96818VHnlSy","commandName","getSelectedBlocks","commands","1518632wubikG","8TIsLYq","afterInit","_descriptionFactory","18988QCZlIO","enableCommand","TrackChangesEditing","10CeBdQX","7CRoAxw","*Set format:* %0","schema","BlockQuoteEditing","value","7080813reOcyf","plugins","ELEMENT_BLOCK_QUOTE","document","editor","get","name","checkChild","*Remove format:* %0","62574JtMLiO","locale","blockQuote","forceValue","$root","format"];return(fs=function(){return t})()}function hs(t){const e=cs;return e(494)==t[e(509)][e(489)]}function gs(){const t=["1588fWbgsa","52bhrJLd","afterInit","editor","1209775aAZcef","CaseChange","30cRDkOL","27992oocHgK","changeCaseUpper","12051dNllzW","changeCaseLower","3269VrPTrr","enableCommand","40085177jQgiCD","TrackChangesEditing","904SpBfuG","12RpxAWC","12083270WOMpRH","plugins","has","changeCaseTitle","12374190oTAiAC","get"];return(gs=function(){return t})()}const ds=ps;function ps(t,e){const n=gs();return(ps=function(t,e){return n[t-=305]})(t,e)}!function(t,e){const n=ps,r=t();for(;;)try{if(937529===-parseInt(n(314))/1*(parseInt(n(323))/2)+-parseInt(n(308))/3*(-parseInt(n(322))/4)+-parseInt(n(326))/5*(-parseInt(n(305))/6)+-parseInt(n(310))/7*(-parseInt(n(306))/8)+parseInt(n(320))/9+-parseInt(n(316))/10+-parseInt(n(312))/11*(parseInt(n(315))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(gs);class ms extends t.Plugin{[ds(324)](){const t=ds,e=this[t(325)];e[t(317)][t(318)](t(327))&&(e[t(317)][t(321)](t(313))[t(311)](t(307)),e[t(317)][t(321)](t(313))[t(311)](t(309)),e[t(317)][t(321)](t(313))[t(311)](t(319)))}}const Is=Es;function Es(t,e){const n=bs();return(Es=function(t,e){return n[t-=242]})(t,e)}function bs(){const t=["TrackChangesEditing","783700JAdGoo","2319SaOxVN","editor","plugins","1604XpAWNL","get","afterInit","50848nOYOQU","505078mCtheL","commands","enableCommand","6TcOaEh","3403064liBuyf","1522619PVmkCN","ckbox","138753vsOEXR"];return(bs=function(){return t})()}!function(t,e){const n=Es,r=t();for(;;)try{if(287072===parseInt(n(257))/1+parseInt(n(256))/2+parseInt(n(250))/3*(-parseInt(n(253))/4)+-parseInt(n(249))/5+-parseInt(n(243))/6*(parseInt(n(245))/7)+parseInt(n(244))/8+parseInt(n(247))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(bs);class Ts extends t.Plugin{[Is(255)](){const t=Is,e=this[t(251)];e[t(258)][t(254)](t(246))&&e[t(252)][t(254)](t(248))[t(242)](t(246))}}const _s=ys;function ys(t,e){const n=As();return(ys=function(t,e){return n[t-=183]})(t,e)}function As(){const t=["680745KBcUpf","indentCodeBlock","outdentCodeBlock","language","schema","checkChild","1101390oXlzNW","*Set format:* %0","document","registerDescriptionCallback","codeBlock","name","enableCommand","has","formatBlock","525GkFAia","parent","markBlockFormat","filter","get","plugins","locale","190JfsSRM","commands","languages","10943251gPPBvl","322551aiTiLn","blockName","isLimit","change","editor","4GhPjQV","afterInit","51912zLsZvT","commandParams","selection","find","registerElementLabel","value","getSelectedBlocks","label","3lrzuBN","rootElement","model","_descriptionFactory","73795TjsQsq","config","type","from","TrackChangesEditing","forceValue","commandName","format","ELEMENT_CODE_BLOCK","CodeBlock","toLowerCase","*Remove format:* %0","4028184fabZvZ"];return(As=function(){return t})()}!function(t,e){const n=ys,r=t();for(;;)try{if(343986===-parseInt(n(184))/1+parseInt(n(190))/2*(parseInt(n(225))/3)+parseInt(n(215))/4*(parseInt(n(229))/5)+-parseInt(n(217))/6*(-parseInt(n(199))/7)+-parseInt(n(183))/8+-parseInt(n(210))/9*(parseInt(n(206))/10)+parseInt(n(209))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(As);class Cs extends t.Plugin{[_s(216)](){const t=_s,e=this[t(214)];if(!e[t(204)][t(197)](t(238)))return;const n=e[t(204)][t(203)](t(233)),r=e[t(205)],s=e[t(230)][t(203)](t(194))[t(208)],o=e[t(207)][t(203)](t(194));n[t(196)](t(185)),n[t(196)](t(186)),n[t(196)](t(194),((r,i={})=>{const a=t,c=e[a(227)],u=e[a(227)][a(192)][a(219)],l=i&&void 0!==i[a(234)]?i[a(234)]:!o[a(222)];let f;i[a(187)]||(i[a(187)]=s[0][a(187)]),f=l?Array[a(232)](u[a(223)]())[a(202)]((t=>ks(t)||function(t,e){const n=a;return!t.is(n(226))&&!e[n(212)](t)&&e[n(189)](t[n(200)],n(194))}(t,c[a(188)]))):Array[a(232)](u[a(223)]())[a(202)]((t=>ks(t)));const h=_(f,c);c[a(213)]((()=>{const t=a;for(const e of h)n[t(201)](e,{commandName:t(194),commandParams:[{...i,forceValue:l}],formatGroupId:t(211)})}))})),n[t(228)][t(221)](t(194),(e=>zr(r,t(237),e))),n[t(228)][t(193)]((e=>{const n=t;if(n(198)!=e[n(231)])return;const o=r.t,{data:i}=e;if(!i||n(194)!=i[n(235)])return;const a=i[n(218)][0][n(187)],c=o(s[n(220)]((t=>t[n(187)]===a))[n(224)])[n(239)]();return i[n(218)][0][n(234)]?{type:n(236),content:zr(r,n(191),zr(r,n(237),1)+" ("+c+")")}:{type:n(236),content:zr(r,n(240),zr(r,n(237),1))}}))}}function ks(t){const e=_s;return e(194)==t[e(195)]}const Ns=Rs;!function(t,e){const n=Rs,r=t();for(;;)try{if(774911===parseInt(n(122))/1+-parseInt(n(121))/2*(-parseInt(n(120))/3)+parseInt(n(136))/4+parseInt(n(134))/5+-parseInt(n(132))/6*(parseInt(n(133))/7)+-parseInt(n(129))/8+-parseInt(n(127))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ss);class Ls extends t.Plugin{[Ns(119)](){const t=Ns,e=this[t(128)];e[t(124)][t(126)](t(135))&&e[t(124)][t(130)](t(131))[t(125)](t(123))}}function Rs(t,e){const n=Ss();return(Rs=function(t,e){return n[t-=119]})(t,e)}function Ss(){const t=["CommentsEditing","1088484gihKVh","afterInit","9YRWKKV","458558oyZsYm","104688nQPMjG","addCommentThread","plugins","enableCommand","has","3762720NcUdnO","editor","9190816HDhhqm","get","TrackChangesEditing","6ZLaAXW","1798573PabABA","7670680cfVxvE"];return(Ss=function(){return t})()}var vs=n(834);function Ms(){const t=["getWalker","getAttribute","addClass","listItem","parent","item","7SJHStZ","plugins","3949518oPJttF","markerRange","span","get","1905984vWtPoL","mapper","isBlock","addHighlight","model","isLimit","2849104YBMpLa","previousPosition","start","schema","896418iVHbeq","elementEnd","TrackChangesEditing","createRangeOn","nextSibling","270810UhkdsQ","activeMarkers","markerName","listIndent","includes","ck-suggestion-marker--active","getCustomProperty","isContent","insert","toViewElement","15416200xgpIlx","isAtEnd","bindElementToMarker","284932ykgYqE","type","name","consumable","push","getItems","element","createUIElement","writer","32bvKQKc","ck-suggestion-marker-","hasAttribute","test","3bruhTf","toViewPosition"];return(Ms=function(){return t})()}function Os(t,e,n){const r=ws,s=[];for(const o of e[r(314)]())o[r(320)](t)&&s[r(313)](n[r(294)](o));return s}function ws(t,e){const n=Ms();return(ws=function(t,e){return n[t-=286]})(t,e)}function Fs(t,e,{showActiveMarker:n=!0}={}){const r=ws,s=t[r(331)][r(335)](r(293));return(o,i,a)=>{const c=r;if(!a[c(312)][c(321)](i[c(333)],o[c(311)]))return;const u=i[c(333)][c(324)](),l=i[c(333)][c(289)],f=t[c(340)][c(290)];let h=null,g=null,d=!1,p=!1;for(const t of u){const e=t[c(329)];d=d||f[c(303)](e);const n=a[c(337)][c(305)](e);if(n&&n[c(302)](c(339)))return;c(292)==t[c(310)]&&f[c(338)](e)&&!f[c(286)](e)&&(e[c(295)]||l[c(307)]?h&&h[c(328)]==e||(h=e,m(t[c(288)]),p=!0):g=g||t[c(288)])}function m(t){const r=c,o=a[r(317)][r(316)](r(334),{class:r(319)+e}),u=a[r(337)][r(323)](t);n&&s[r(297)][r(300)](i[r(298)])&&a[r(317)][r(326)](r(301),o),a[r(317)][r(304)](u,o),a[r(337)][r(308)](o,i[r(298)])}d||p||!g||m(g)}}!function(t,e){const n=ws,r=t();for(;;)try{if(493259===-parseInt(n(322))/1*(parseInt(n(309))/2)+parseInt(n(291))/3+parseInt(n(287))/4+-parseInt(n(296))/5+-parseInt(n(332))/6*(-parseInt(n(330))/7)+-parseInt(n(318))/8*(-parseInt(n(336))/9)+-parseInt(n(306))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ms);const Ds=xs;!function(t,e){const n=xs,r=t();for(;;)try{if(535717===-parseInt(n(145))/1*(-parseInt(n(134))/2)+-parseInt(n(151))/3*(-parseInt(n(187))/4)+-parseInt(n(172))/5*(-parseInt(n(167))/6)+-parseInt(n(185))/7+-parseInt(n(184))/8*(parseInt(n(188))/9)+-parseInt(n(173))/10*(-parseInt(n(178))/11)+parseInt(n(150))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Bs);class Ps extends t.Plugin{static get[Ds(165)](){return[vs.Delete]}[Ds(146)](){const t=Ds,e=this[t(148)],n=e[t(168)][t(174)](t(137));n[t(139)](t(136));const r=e[t(163)][t(174)](t(162));n[t(139)](t(162),((n,s={})=>{const o=t,a=e[o(175)][o(155)](e[o(175)][o(180)][o(161)]);a[o(159)]&&e[o(175)][o(171)](a,{direction:o(192),unit:s[o(144)]});const c=a[o(153)](),u=i.LiveRange[o(157)](c);let l;n(s),l=o(195)==u[o(182)][o(177)]?e[o(175)][o(176)](c[o(140)]):e[o(175)][o(176)](u[o(140)],u[o(154)]),u[o(186)](),e[o(175)][o(149)](r[o(142)][o(147)],(t=>{const e=o;r[e(142)][e(160)](),t[e(169)](t[e(176)](l[e(154)])),r[e(142)][e(194)]()}))})),e[t(152)][t(166)].on(t(183),Fs(e,t(181)),{priority:t(156)}),e[t(190)][t(166)].on(t(183),((n,r,s)=>{const o=t;s[o(143)][o(189)]&&Fs(e,o(181),{showActiveMarker:!1})[o(179)](this)(n,r,s)}),{priority:t(156)}),e[t(152)][t(166)].on(t(193),((e,n,r)=>{const s=t,o=r[s(138)][s(135)](n[s(191)]);if(o)for(const t of o)t.is(s(141))&&(r[s(138)][s(170)](t,n[s(191)]),r[s(164)][s(158)](t))}),{priority:t(156)})}}function xs(t,e){const n=Bs();return(xs=function(t,e){return n[t-=134]})(t,e)}function Bs(){const t=["remove","isCollapsed","lock","selection","deleteForward","commands","writer","requires","downcastDispatcher","28968NKxVvw","plugins","setSelection","unbindElementFromMarkerName","modifySelection","250nOjxYz","10tiZWmr","get","model","createRange","rootName","4740483NJDjxJ","bind","document","merge","root","addMarker:suggestion:deletion","46664qohacC","3568138agVDqJ","detach","12kZZUfK","306kibxmF","showSuggestionHighlights","data","markerName","forward","removeMarker:suggestion:deletion","unlock","$graveyard","2KpUGOz","markerNameToElements","delete","TrackChangesEditing","mapper","enableCommand","start","uiElement","buffer","options","unit","138147KqgcUb","init","batch","editor","enqueueChange","1153164AkmnZk","337176cfhtag","editing","getFirstRange","end","createSelection","high","fromRange"];return(Bs=function(){return t})()}const Us=Gs;function js(){const t=["ELEMENT_LIST_ITEM","getSuggestions","bulleted","7676226ZWaNCY","listStart","ELEMENT_TODO_LIST","mergeListItemBackward","format","locale","ListEditing","*Change to:* %0","oldValue","execute","_suggestionFactory","numberedList","createRange","registerPostFixer","formatBlock","model","*Set format:* %0","selection","numbered","_registerLegacyDescription","isObject","_descriptionFactory","has","commands","trackChangesCommand","removeMarker","TodoListEditing","_LIST","commandName","parent","commandParams","30296GfQxih","forceValue","registerAttributeLabel","attributes","previousSibling","_supportLegacySuggestions","*Check item*","data","todoListCheck","noTrackChangesFixer","key","*Outdent:* %0","plugins","getAttribute","ELEMENT_BULLETED_LIST","*Uncheck item*","suggestion","653728vmTuCe","ELEMENT_","indentList","map","fromRange","containsItem","1377762CFnkoc","change","8416100CpjCmF","*Merge:* %0","value","head","list.multiBlock","type","*Merge:* list item","*Indent:* %0","document","2qSoHMo","_enableDefaultAttributesIntegration","registerDescriptionCallback","get","TrackChangesEditing","todoList","todoListChecked","todo","listItemIdFixer","isNextTo","ELEMENT_NUMBERED_LIST","documentList","registerCustomCallback","toUpperCase","listStyle","setAttribute","getFirstMarker","filter","*Remove format:* %0","meta","createPositionAt","includes","outdentList","94565bHgzBP","getFirstRange","checkTodoList","attribute","config","nodeAfter","mergeListItemForward","splitListItemBefore","assureChains","length","push","next","newValue","getChanges","listIndent","getRanges","from","*Split:* list item","listType","544blTAXb","4JuzUrW","splitListItemAfter","FORMAT_INDENT","accept","5839878mKwYFi","refresh","*Format:* insert into %0","*Format:* remove from %0","every","schema","setSelection","default","detach","range","bulletedList","_getAttributeKey","batch","afterInit","nextSibling","isUndo","editor","registerElementLabel","differ","groupId","listReversed","find","end","listItemId","start","deletion","isLocal","attributeKey","multipleBlocks","_findSuggestions"];return(js=function(){return t})()}function Gs(t,e){const n=js();return(Gs=function(t,e){return n[t-=372]})(t,e)}!function(t,e){const n=Gs,r=t();for(;;)try{if(492144===-parseInt(n(478))/1*(parseInt(n(495))/2)+parseInt(n(484))/3+parseInt(n(393))/4*(parseInt(n(373))/5)+parseInt(n(397))/6+parseInt(n(461))/7*(-parseInt(n(392))/8)+-parseInt(n(430))/9+parseInt(n(486))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(js);class Vs extends t.Plugin{[Us(410)](){const t=Us,e=this[t(413)];if(!e[t(473)][t(452)](t(436)))return;const n=e[t(435)],r=e[t(473)][t(498)](t(499)),s=e[t(473)][t(452)](t(456)),o=!!e[t(377)][t(498)](t(490));function i(e){const r=t;return{type:r(434),content:""+zr(n,r(446),e)}}function a(e){const r=t;return{type:r(434),content:""+zr(n,r(513),e)}}r[t(496)](t(441),[],[t(420),t(391),t(387)]),r[t(496)](t(407)),r[t(496)](t(480)),r[t(496)](t(372)),r[t(496)](t(394)),r[t(496)](t(380)),o&&(r[t(496)](t(433)),r[t(496)](t(379))),s&&(r[t(496)](t(500)),r[t(496)](t(375),[],[t(501)]),r[t(451)][t(497)]((e=>{const r=t,{data:s}=e;if(s&&r(501)==s[r(471)])return{type:r(434),content:s[r(385)]?zr(n,r(467)):zr(n,r(476))}})),this[t(413)][t(445)][t(494)][t(443)]((e=>{const n=t;if(e[n(409)][n(412)])return!1;let s=!1;const o=r[n(428)]({skipNotAttached:!0})[n(512)]((t=>n(501)===r[n(408)](t)));for(const t of o)n(502)!=t[n(374)]()[n(421)][n(378)][n(474)](n(391))&&(r[n(426)](t[n(374)](),n(376))[n(418)]((t=>n(391)===r[n(408)](t[n(477)])))||(e[n(455)](t[n(511)]()),s=!0));return s}))),r[t(451)][t(463)](t(387),zr(n,t(395)));const c={type:t(434),content:""};r[t(451)][t(497)]((e=>{const r=t,{data:s}=e;if(!s||r(391)!=s[r(471)])return;let u=e[r(489)];for(;u;){if(u[r(468)]&&(r(509)==u[r(468)][r(471)]&&(u[r(468)][r(385)]&&r(404)!=u[r(468)][r(385)]||r(404)!=u[r(468)][r(438)]&&!s[r(385)])||!o&&u[r(468)][r(471)]==Ic))return c;u=u[r(384)]}if(null==s[r(385)])switch(s[r(438)]){case r(429):return a(zr(n,r(475)));case r(448):return a(zr(n,r(505)));case r(502):return a(zr(n,r(432)))}switch(s[r(385)]){case r(429):return i(zr(n,r(475)));case r(448):return i(zr(n,r(505)));case r(502):return i(zr(n,r(432)))}})),r[t(451)][t(497)]((e=>{const n=t,{data:r}=e;if(r&&n(387)==r[n(471)])return null==r[n(385)]||null==r[n(438)]&&0==r[n(385)]?c:void 0})),r[t(451)][t(497)]((e=>{const r=t;if(r(376)!=e[r(491)])return;const{data:s}=e;if(!s||r(420)!=s[r(471)])return;const o=Hs(e);return o?r(385)==o?{type:r(434),content:zr(n,r(492))}:r(438)==o?{type:r(434),content:zr(n,r(390))}:c:c})),e[t(445)][t(494)][t(443)]((e=>this[t(503)](e))),e[t(445)][t(494)][t(443)]((e=>this[t(470)](e))),e[t(445)][t(494)][t(443)]((e=>this[t(381)](e))),this[t(466)]()}[Us(503)](t){const e=Us;if(t[e(409)][e(412)]||!t[e(409)][e(423)])return!1;let n=!1;const r=this[e(413)][e(473)][e(498)](e(499))[e(428)]({skipNotAttached:!0})[e(512)]((t=>t[e(468)]&&e(420)==t[e(468)][e(471)]))[e(512)]((t=>t[e(468)][e(385)]&&t[e(468)][e(438)]));for(const s of r)Hs(s)||(t[e(455)](s[e(511)]()),n=!0);return n}[Us(470)](t){const e=Us;if(t[e(409)][e(412)]||!t[e(409)][e(423)])return!1;const n=this[e(413)][e(473)][e(498)](e(499));if(n[e(454)][e(488)])return!1;let r=!1;const s=[e(391),e(509),e(420),e(387),e(431),e(417),e(469)],o=this[e(413)][e(445)][e(494)][e(415)][e(386)]()[e(512)]((t=>e(376)==t[e(491)]))[e(512)]((t=>s[e(516)](t[e(424)])));if(0==o[e(382)])return r;for(const i of o){const o=n[e(426)](i[e(406)],e(376))[e(512)]((t=>!t[e(514)][e(504)]))[e(481)]((t=>t[e(477)]))[e(512)]((t=>{const r=e,o=n[r(408)](t);return s[r(516)](o)}));if(o[e(382)]){for(const n of o)t[e(455)](n[e(511)]());r=!0}}return r}[Us(381)](t){const e=Us;if(t[e(409)][e(412)]||!t[e(409)][e(423)])return!1;const n=this[e(413)][e(473)][e(498)](e(499));let r=!1;const s=[e(391),e(509),e(420),e(387),e(431),e(417),e(469)];for(const t of n[e(428)]({skipNotAttached:!0})){const o=n[e(426)](t[e(374)](),e(376))[e(481)]((t=>t[e(477)]))[e(512)]((t=>t[e(468)]&&s[e(516)](t[e(468)][e(471)])));if(!o[e(382)])continue;const a=o[0][e(489)][e(464)][e(416)];if(!o[e(401)]((t=>t[e(464)][e(416)]===a)))for(const t of o)i(t,a)&&(r=!0)}return r;function o(t,r){const s=e;for(const e of n[s(428)]({skipNotAttached:!0})[s(512)]((e=>s(376)==e[s(491)]&&e[s(464)][s(416)]==t)))e[s(510)](s(416),r)}function i(t,n){const r=e;let s=t[r(489)],i=!1;for(;s;)s[r(464)][r(416)]!=n&&(o(s[r(464)][r(416)],n),s[r(510)](r(416),n),i=!0),s=s[r(384)];return i}}[Us(466)](){const t=Us,e=this[t(413)],n=e[t(435)],r=e[t(473)][t(498)](t(499));this[t(449)](),r[t(440)][t(507)](t(444),t(506),t(396),(function(n,r){const s=t,o=[];for(let t of n)t[s(421)][s(378)]===t[s(419)][s(459)]&&(t=e[s(445)][s(442)](e[s(445)][s(515)](t[s(421)][s(378)],0))),o[s(383)](t);e[s(445)][s(485)]((t=>{const n=s,a=e[n(445)][n(494)][n(447)],c=Array[n(389)](a[n(388)]())[n(481)]((t=>i.LiveRange[n(482)](t)));t[n(403)](o),e[n(453)][n(498)](r[n(458)])[n(398)](),r[n(460)][n(383)]({forceDefaultExecution:!0}),e[n(439)](r[n(458)],...r[n(460)]),t[n(403)](c);for(const t of c)t[n(405)]()}))})),r[t(451)][t(414)]((function(n){const r=t,s=!e[r(445)][r(402)][r(450)](n),o=n[r(465)],i=n[r(411)],a=n[r(474)](r(420)),c=!o||o[r(474)](r(420))!==a,u=!i||i[r(474)](r(420))!==a;return s&&Boolean(a)&&c&&u}),(e=>zr(n,t(427),e)))}[Us(449)](){const t=Us,e=this[t(413)],n=e[t(435)];function r(n){const r=t,s=e[r(453)][r(498)](r(407))[r(488)],o=e[r(453)][r(498)](r(441))[r(488)];return r(441)===n?s:o}e[t(473)][t(498)](t(499))[t(451)][t(497)]((function(s){const o=t;if(o(444)!=s[o(491)])return;const{data:i}=s;if(!i)return;let a,c,u,l;switch(i[o(458)]){case o(407):u=i[o(460)][0][o(462)],l=r(i[o(458)]),a=o(u?399:400),!l&&e[o(377)][o(498)](o(490))||(a=o(437)),c={type:o(434),content:zr(n,a,zr(n,o(475)))};break;case o(441):u=i[o(460)][0][o(462)],l=r(i[o(458)]),a=o(u?399:400),!l&&e[o(377)][o(498)](o(490))||(a=o(437)),c={type:o(434),content:zr(n,a,zr(n,o(505)))};break;case o(480):a=o(493),c={type:o(434),content:zr(n,a,zr(n,o(427)))};break;case o(372):a=function(t){const e=o,n=t[e(374)]();let r=n[e(421)][e(378)];for(;r&&n[e(483)](r);){if(r[e(474)](e(387))>0)return!1;r=r[e(411)]}return!0}(s)?zr(n,o(400),zr(n,function(t){const e=o;return e(479)+t[e(374)]()[e(421)][e(378)][e(474)](e(391))[e(508)]()+e(457)}(s))):zr(n,o(472),zr(n,o(427))),c={type:o(434),content:a};break;case o(433):case o(379):!1===i[o(425)]&&(a=o(487),c={type:o(422),content:zr(n,a,zr(n,o(427)))})}return c}))}}function Hs(t){const e=Us;let n=t[e(374)]()[e(421)][e(378)][e(465)];for(;n;){const r=n[e(474)](e(420));if(!r)return!1;if(r==t[e(468)][e(385)])return e(385);if(r==t[e(468)][e(438)])return e(438);n=n[e(465)]}return!1}const zs=Ws;function Ws(t,e){const n=Ks();return(Ws=function(t,e){return n[t-=217]})(t,e)}function Ks(){const t=["*Format:* set order to regular","2888OhJbFe","_findSuggestions","getFirstRange","_descriptionFactory","handleDescriptions","decimal","decimal-leading-zero","next","_enableDefaultAttributesIntegration","FORMAT_LIST_REVERSED","reversed","listType","registerPostFixer","bind","get","upper-roman","*Remove format:* %0","document","bulleted","listStyle","upper-latin","styles","61286zaCVyt","commandParams","commandName","_registerLegacyDescription","30762cxDQHc","attribute","8051688aJMnxf","5oTbgHO","15975756sQmqPP","model","listStart","locale","*Format:* set order to reversed","start","*Change to:* %0","startIndex","_getTranslationKeyForListStyle","toUpperCase","formatBlock","*Set format:* %0","has","format","removeMarker","editor","suggestion","default","replace","data","list.properties","registerAttributeLabel","1523711gtDuAk","nodeAfter","_LIST_","plugins","38YHdEHc","TrackChangesEditing","oldValue","find","registerDescriptionCallback","includes","lower-latin","key","ListPropertiesEditing","_getAttributeKey","496204KrrzNz","ELEMENT_","3EMdWeS","afterInit","FORMAT_LIST_START","type","isUndo","circle","filter","disc","numbered","lower-roman","batch","_LIST_DEFAULT","getFirstMarker","getAttribute","listReversed","newValue","*Format:* set start index to %0","33Ydyxnr","config","head","square","10369140YLdxXW","getSuggestions"];return(Ks=function(){return t})()}!function(t,e){const n=Ws,r=t();for(;;)try{if(689633===parseInt(n(257))/1*(parseInt(n(291))/2)+parseInt(n(303))/3*(parseInt(n(301))/4)+parseInt(n(264))/5*(parseInt(n(263))/6)+-parseInt(n(287))/7+-parseInt(n(235))/8*(-parseInt(n(261))/9)+parseInt(n(232))/10+parseInt(n(228))/11*(-parseInt(n(265))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ks);class Xs extends t.Plugin{[zs(304)](){const t=zs;if(!this[t(280)][t(290)][t(277)](t(299)))return;const e=this[t(280)][t(229)][t(249)](t(285)),n=this[t(280)][t(290)][t(249)](t(292));e[t(256)]&&n[t(243)](t(254),[],[t(254)]),e[t(245)]&&n[t(243)](t(225),[],[t(225)]),e[t(272)]&&n[t(243)](t(267),[],[t(267)]);const r={type:t(278),content:""};n[t(238)][t(295)](this[t(239)][t(248)](this));const s=this[t(280)][t(268)];n[t(238)][t(286)](t(225),zr(s,t(244))),n[t(238)][t(295)]((e=>{const n=t,{data:s}=e;if(s&&n(225)==s[n(298)])return null==s[n(226)]||0==s[n(226)]&&null==s[n(293)]?r:void 0})),n[t(238)][t(286)](t(267),zr(s,t(305))),n[t(238)][t(295)]((e=>{const n=t,{data:s}=e;if(s&&n(267)==s[n(298)])return null==s[n(226)]||1==s[n(226)]&&null==s[n(293)]?r:void 0})),this[t(280)][t(266)][t(252)][t(247)]((e=>{const r=t;if(e[r(221)][r(307)])return!1;let s=!1;const o=n[r(233)]({skipNotAttached:!0})[r(217)]((t=>{const e=r,s=n[e(300)](t);return e(267)==s||e(225)==s}));for(const t of o)r(219)!=t[r(237)]()[r(270)][r(288)][r(224)](r(246))&&(n[r(236)](t[r(237)](),r(262))[r(294)]((t=>r(246)==n[r(300)](t[r(281)])))||(e[r(279)](t[r(223)]()),s=!0));return s})),this[t(260)]()}[zs(239)](t){const e=zs,n=this[e(280)][e(268)],{data:r}=t,s={type:e(278),content:""};if(!r||e(254)!=r[e(298)])return;if(!r[e(293)])return e(282)==r[e(226)]?s:{type:e(278),content:""+zr(n,e(276),zr(n,this[e(273)](r[e(226)])))};if(!r[e(226)]){if(e(282)==r[e(293)])return s;let o=t[e(230)];for(;o;){if(o[e(284)]&&e(246)==o[e(284)][e(298)]&&o[e(284)][e(226)])return s;o=o[e(242)]}return{type:e(278),content:""+zr(n,e(251),zr(n,this[e(273)](r[e(293)])))}}if(e(282)!=r[e(226)])return{type:e(278),content:""+zr(n,e(276),zr(n,this[e(273)](r[e(226)])))};let o=t[e(230)];for(;o;){if(o[e(284)]&&e(246)==o[e(284)][e(298)]&&o[e(284)][e(226)]&&o[e(284)][e(293)])return s;o=o[e(242)]}const i=t[e(237)]()[e(270)][e(288)][e(224)](e(246));return{type:e(278),content:zr(n,e(276),zr(n,e(302)+i[e(274)]()+e(222)))}}[zs(260)](){const t=zs,e=this[t(280)],n=e[t(268)];e[t(290)][t(249)](t(292))[t(238)][t(295)]((e=>{const r=t;if(r(275)!=e[r(306)])return;const{data:s}=e;if(!s)return;let o,i;switch(s[r(259)]){case r(254):o=r(271),i={type:r(278),content:zr(n,o,zr(n,this[r(273)](s[r(258)][0][r(306)])))};break;case r(225):o=s[r(258)][0][r(245)]?r(269):r(234),i={type:r(278),content:zr(n,o)};break;case r(267):o=r(227),i={type:r(278),content:zr(n,o,s[r(258)][0][r(272)])}}return i}))}[zs(273)](t){const e=zs;return e(302)+function(t){const n=e;return qs[n(296)](t)?n(253):Ys[n(296)](t)?n(219):null}(t)[e(274)]()+e(289)+t[e(274)]()[e(283)](/-/g,"_")}}const qs=[zs(218),zs(308),zs(231)],Ys=[zs(240),zs(241),zs(220),zs(250),zs(297),zs(255)];var Qs=n(507);const Zs=Js;function Js(t,e){const n=to();return(Js=function(t,e){return n[t-=400]})(t,e)}!function(t,e){const n=Js,r=t();for(;;)try{if(424353===parseInt(n(427))/1*(parseInt(n(433))/2)+-parseInt(n(408))/3+parseInt(n(449))/4*(parseInt(n(447))/5)+-parseInt(n(435))/6*(parseInt(n(428))/7)+-parseInt(n(411))/8+parseInt(n(410))/9*(parseInt(n(401))/10)+parseInt(n(438))/11*(parseInt(n(439))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(to);class $s extends t.Plugin{static get[Zs(405)](){return[Qs.Enter]}[Zs(416)](){const t=Zs,e=this[t(418)],n=e[t(404)][t(444)](t(448)),r=e[t(400)][t(444)](t(450));n[t(403)](t(450),(()=>{const s=t;e[s(422)][s(406)]((t=>{const o=s,a=e[o(422)][o(446)][o(424)],c=a[o(419)](),u=i.LiveRange[o(432)](a[o(434)]());if(r[o(440)](t)){const r=e[o(422)][o(442)](c[o(402)][o(456)],0),s=t[o(426)](c,r);n[o(421)](s)}else t[o(409)](t[o(426)](u[o(423)]));u[o(451)](),r[o(415)](o(445),{writer:t})}))})),e[t(425)][t(414)].on(t(429),Fs(e,t(441)),{priority:t(430)}),e[t(425)][t(414)].on(t(417),((e,n,r)=>{const s=t,o=r[s(407)][s(437)](n[s(436)]);if(o)for(const t of o)t[s(453)](s(452))&&(r[s(407)][s(420)](t,n[s(436)]),r[s(443)][s(431)](t))}),{priority:t(430)}),e[t(455)][t(414)].on(t(429),((n,r,s)=>{const o=t;s[o(454)][o(412)]&&Fs(e,o(441),{showActiveMarker:!1})[o(413)](this)(n,r,s)}),{priority:t(430)})}}function to(){const t=["unbindElementFromMarkerName","markInsertion","model","end","selection","editing","createRange","659GvfLyJ","554204LBnFEs","addMarker:suggestion:insertion","high","remove","fromRange","1580YzBNSy","getFirstRange","30iFjhiz","markerName","markerNameToElements","3370202nNqWNI","24VOsVlU","enterBlock","split","createPositionAt","writer","get","afterExecute","document","5JyHZtQ","TrackChangesEditing","563372KQOXvP","enter","detach","ck-suggestion-marker-split","hasClass","options","data","nextSibling","commands","273450DLmsJg","parent","enableCommand","plugins","requires","change","mapper","981813PrWJkV","setSelection","171tyMrlH","5170304dcWkBo","showSuggestionHighlights","bind","downcastDispatcher","fire","init","removeMarker:suggestion:insertion","editor","getFirstPosition"];return(to=function(){return t})()}const eo=no;function no(t,e){const n=so();return(no=function(t,e){return n[t-=285]})(t,e)}!function(t,e){const n=no,r=t();for(;;)try{if(933839===parseInt(n(316))/1*(parseInt(n(309))/2)+parseInt(n(326))/3*(-parseInt(n(293))/4)+-parseInt(n(313))/5+parseInt(n(308))/6*(-parseInt(n(315))/7)+-parseInt(n(287))/8+parseInt(n(302))/9*(-parseInt(n(291))/10)+parseInt(n(317))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(so);class ro extends t.Plugin{[eo(298)](){const t=eo;if(!this[t(288)][t(322)][t(323)](t(310)))return;const e=this[t(288)][t(322)][t(305)](t(294));e[t(321)](t(318),this[t(301)][t(297)](this)),e[t(321)](t(311)),e[t(321)](t(307)),e[t(321)](t(324)),e[t(321)](t(295))}[eo(301)](t,e,n={}){const r=eo,s=this[r(288)][r(322)][r(305)](r(285));return t((t=>(r(314)==typeof e?s[r(286)](e,n):e)(t)[r(304)]((e=>!1===this[r(299)](e,t[r(300)])))),n)}[eo(299)](t,e){const n=eo,r=this[n(288)][n(303)][n(290)](this[n(288)][n(303)][n(312)](e,t[n(289)]),this[n(288)][n(303)][n(312)](e,t[n(296)]));for(const t of this[n(288)][n(303)][n(319)][n(325)](n(292)))if(null!==r[n(320)](t[n(306)]()))return!0;return!1}}function so(){const t=["67536IHLGVS","449814PGBkNO","FindAndReplaceEditing","findNext","createPositionAt","4191510aqFXrk","string","742EpycPf","1RZCJgV","52966881KpUQkg","find","markers","getIntersection","enableCommand","plugins","has","replace","getMarkersGroup","28911FYEUMf","FindAndReplaceUtils","findByTextCallback","1731072tTJOpe","editor","start","createRange","30zxiwQQ","suggestion:deletion","544HGOmxV","TrackChangesEditing","replaceAll","end","bind","afterInit","_isInDeletionRange","item","handleFindCommand","1643355AvsPtO","model","filter","get","getRange","findPrevious"];return(so=function(){return t})()}function oo(t,e){const n=ao();return(oo=function(t,e){return n[t-=340]})(t,e)}const io=oo;function ao(){const t=["formatInline","fontFamily","232uQpGIT","find","1275324DqBgYu","value","_descriptionFactory","54703OLGWBa","*Reset font color*","119061hCfgLC","_registerLegacyDescription","*Reset font background color*","FontSize","TrackChangesEditing","fontColor","FORMAT_FONT_BACKGROUND","670RvigWi","38ndOwGV","FontColorEditing","model","editor","*Reset font family*","7KRpKWw","fontBackgroundColor.colors","FontFamilyEditing","*Set font color:* %0","afterInit","FORMAT_FONT_COLOR","config","commandParams","FontSizeEditing","locale","*Set font background color:* %0","type","trim","24155cXYCVb","FORMAT_FONT_FAMILY","plugins","11850xjRsPw","*Set font size:* %0","9492228ONVifa","commandName","fontSize","normalizeSizeOptions","has","*Reset font size*","registerAttributeLabel","title","format","label","FontBackgroundColorEditing","_enableDefaultAttributesIntegration","156yPHAfW","fontColor.colors","*Set font family:* %0","toLowerCase","250761IPIKzA","fontSize.options","FORMAT_FONT_SIZE","get","fontBackgroundColor","registerDescriptionCallback"];return(ao=function(){return t})()}!function(t,e){const n=oo,r=t();for(;;)try{if(210405===-parseInt(n(385))/1*(-parseInt(n(344))/2)+parseInt(n(362))/3+-parseInt(n(358))/4*(-parseInt(n(341))/5)+-parseInt(n(372))/6*(parseInt(n(390))/7)+parseInt(n(370))/8*(parseInt(n(377))/9)+-parseInt(n(384))/10*(-parseInt(n(375))/11)+-parseInt(n(346))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ao);const co=[{pluginName:io(398),commandName:io(348)},{pluginName:io(392),commandName:io(369)},{pluginName:io(386),commandName:io(382)},{pluginName:io(356),commandName:io(366)}];class uo extends t.Plugin{[io(394)](){const t=io,e=this[t(388)][t(399)],n=this[t(388)][t(343)][t(365)](t(381));for(const{pluginName:e,commandName:r}of co)this[t(388)][t(343)][t(350)](e)&&n[t(357)](r,[r]);e.t,n[t(374)][t(352)](t(348),zr(e,t(364))),n[t(374)][t(352)](t(369),zr(e,t(342))),n[t(374)][t(352)](t(382),zr(e,t(395))),n[t(374)][t(352)](t(366),zr(e,t(383))),this[t(378)]()}[io(378)](){const t=io,e=this[t(388)],n=e[t(399)];e[t(343)][t(365)](t(381))[t(374)][t(367)]((e=>{const r=t,o=n.t;if(r(368)!=e[r(401)])return;const{data:i}=e;if(null!=i){if(r(348)==i[r(347)]){const t=i[r(397)][0][r(373)];if(t){const e=o(this[r(388)][r(343)][r(365)](r(380))[r(349)](this[r(388)][r(396)][r(365)](r(363)))[r(371)]((e=>e[r(387)]==t))[r(353)])[r(361)]();return{type:r(354),content:zr(n,r(345),e)}}return{type:r(354),content:zr(n,r(351))}}if(r(369)==i[r(347)]){const t=i[r(397)][0][r(373)];return t?{type:r(354),content:zr(n,r(360),t)}:{type:r(354),content:zr(n,r(389))}}if(r(382)==i[r(347)]){const t=i[r(397)][0][r(373)];if(t){const e=(0,s.normalizeColorOptions)(this[r(388)][r(396)][r(365)](r(359)))[r(371)]((e=>e[r(387)]==t));let i=t,a="";return e&&(i=e[r(355)],a=o(i)[r(361)]()),{type:r(354),content:zr(n,r(393),a)[r(340)](),color:{value:t,title:a||i}}}return{type:r(354),content:zr(n,r(376))}}if(r(366)==i[r(347)]){const t=i[r(397)][0][r(373)];if(t){const e=(0,s.normalizeColorOptions)(this[r(388)][r(396)][r(365)](r(391)))[r(371)]((e=>e[r(387)]==t));let i=t,a="";return e&&(i=e[r(355)],a=o(i)[r(361)]()),{type:r(354),content:zr(n,r(400),a)[r(340)](),color:{value:t,title:a||i}}}return{type:r(354),content:zr(n,r(379))}}}}))}}const lo=ho;function fo(){const t=["find","title","charAt","commands","3164890KaiSYt","TrackChangesEditing","3FWQKlb","toUpperCase","562428kkwbaz","split","entries","afterInit","_descriptionFactory","formatInline","commandName","533232wWnIyu","fontColor.colors","commandParams","boolean","length","FontSize","editor","fontColor","3027656dCdZoi","format","fontBackgroundColor","formatBlock","176hPlEtg","label","954064vyBNSz","*Set format to:* %0","enableCommand","_enableDefaultAttributesIntegration","pasteFormat","*Remove all formatting*","slice","config","fontSize","normalizeSizeOptions","model","locale","7971943uTKPfQ","1367051qgwiWZ","registerDescriptionCallback","_registerLegacyDescription","join","fontSize.options","copyFormat","plugins","push","toLowerCase","get","type"];return(fo=function(){return t})()}function ho(t,e){const n=fo();return(ho=function(t,e){return n[t-=317]})(t,e)}!function(t,e){const n=ho,r=t();for(;;)try{if(871168===-parseInt(n(366))/1+-parseInt(n(347))/2*(-parseInt(n(330))/3)+parseInt(n(353))/4+parseInt(n(328))/5+parseInt(n(339))/6+parseInt(n(365))/7+parseInt(n(351))/8*(-parseInt(n(332))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(fo);class go extends t.Plugin{[lo(335)](){const t=lo,e=this[t(345)],n=e[t(319)][t(322)](t(329)),r=e[t(327)][t(322)](t(318)),s=e[t(327)][t(322)](t(357));r&&s&&(n[t(356)](t(357)),n[t(355)](t(318)),this[t(368)]())}[lo(368)](){const t=lo,e=this[t(345)],n=e[t(364)];e[t(319)][t(322)](t(329))[t(336)][t(367)]((r=>{const s=t;if(s(350)!=r[s(323)]&&s(337)!=r[s(323)])return;const{data:o}=r;if(o&&s(357)===o[s(338)]){const t=[],r=o[s(341)][0];for(const[n,o]of Object[s(334)](r))t[s(320)](po(e,n,o));return t[s(343)]?{type:s(348),content:zr(n,s(354),t[s(369)](", "))}:{type:s(348),content:zr(n,s(358))}}}))}}function po(t,e,n){const r=lo,o=t[r(364)].t,i=e[r(333)](/(?=[A-Z])/)[r(369)](" "),a=o(i[r(326)](0)[r(331)]()+i[r(359)](1))[r(321)]();if(r(342)==typeof n)return a;if(r(346)===e||r(349)===e){const e=(0,s.normalizeColorOptions)(t[r(360)][r(322)](r(340)))[r(324)]((t=>t[r(363)]==n));return a+" ("+(e?o(e[r(352)])[r(321)]():n)+")"}if(r(361)===e&&isNaN(parseFloat(n))){const e=t[r(319)][r(322)](r(344))[r(362)](t[r(360)][r(322)](r(317)))[r(324)]((t=>t[r(363)]==n));return a+" ("+(e?o(e[r(325)])[r(321)]():n)+")"}return a+" ("+n+")"}const mo=Io;function Io(t,e){const n=bo();return(Io=function(t,e){return n[t-=312]})(t,e)}!function(t,e){const n=Io,r=t();for(;;)try{if(217630===-parseInt(n(325))/1+parseInt(n(326))/2+parseInt(n(315))/3+parseInt(n(333))/4+parseInt(n(353))/5*(-parseInt(n(354))/6)+-parseInt(n(339))/7*(-parseInt(n(347))/8)+parseInt(n(344))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(bo);class Eo extends t.Plugin{[mo(348)](){const t=mo,e=this[t(318)];if(!e[t(319)][t(321)](t(323)))return;this[t(336)]=e[t(329)][t(317)](t(349));const n=e[t(345)],r=e[t(319)][t(317)](t(352));r[t(334)](t(316));for(const e of this[t(336)])t(322)!=e[t(328)]&&r[t(331)][t(337)](e[t(328)],(n=>{const r=t,i=this[r(314)](e[r(328)]);return null!==i?s(n,i):o(n,e[r(330)])}));function s(e,r){return zr(n,t(327),[e,r])}function o(e,r){return zr(n,t(332),[e,r])}this[t(342)]()}[mo(342)](){const t=mo,e=this[t(318)],n=e[t(345)];e[t(319)][t(317)](t(352))[t(331)][t(335)]((e=>{const r=t;if(r(341)!=e[r(351)])return;const{data:s}=e;if(s&&r(316)==s[r(346)]){const e=s[r(338)][0][r(350)],c=this[r(314)](e);if(null!==c)return{type:r(343),content:zr(n,r(313),(1,a=c,zr(n,r(327),[1,a])))};const u=this[r(336)][r(320)]((t=>t[r(328)]===e))[r(330)];return{type:r(343),content:zr(n,r(313),(o=1,i=u,zr(n,t(332),[o,i])))}}var o,i,a}))}[mo(314)](t){const e=mo;var n,r;const s=t[e(340)](/^heading(\d+)/);if(s)return s[1];const o=null===(n=this[e(336)])||void 0===n?void 0:n[e(320)]((n=>n[e(328)]==t));if(o&&o[e(312)]){const t=o[e(312)],n=(null!==(r=t[e(324)])&&void 0!==r?r:t)[e(340)](/^h(\d+)/);if(n)return n[1]}return null}}function bo(){const t=["match","formatBlock","_registerLegacyDescription","format","1956978oGvEyA","locale","commandName","8bAvHpk","afterInit","heading.options","value","type","TrackChangesEditing","10fzuyte","1195566sqAFqC","view","*Change to:* %0","_getHeadingLevel","277443ehbJdt","heading","get","editor","plugins","find","has","paragraph","HeadingEditing","name","79519YYRYdi","82934neRaAA","ELEMENT_HEADING","model","config","title","_descriptionFactory","ELEMENT_HEADING_CUSTOM","1022252BpHOOS","_enableDefaultAttributesIntegration","registerDescriptionCallback","_headingOptions","registerElementLabel","commandParams","621026RiEQQo"];return(bo=function(){return t})()}function To(t,e){const n=yo();return(To=function(t,e){return n[t-=127]})(t,e)}const _o=To;function yo(){const t=["_registerLegacyDescription","registerDescriptionCallback","712079UOwtBL","*Remove highlight*","5ZrglVr","FORMAT_HIGHLIGHT","format","328YNAQFH","registerAttributeLabel","4418484mifCBi","has","1596750CMRiCW","type","editor","*Set highlight:* %0","title","187ksLsdV","get","formatInline","find","value","_descriptionFactory","TrackChangesEditing","plugins","model","HighlightEditing","_enableDefaultAttributesIntegration","highlight.options","toLowerCase","3998964dbxgMN","color","1359HJkESM","213794avtlxN","config","highlight","2RxmACP","commandName","4757240kPVkEt","95770zDhhcY","locale","afterInit","commandParams"];return(yo=function(){return t})()}!function(t,e){const n=To,r=t();for(;;)try{if(750666===-parseInt(n(160))/1*(-parseInt(n(151))/2)+-parseInt(n(167))/3+-parseInt(n(153))/4+-parseInt(n(162))/5*(parseInt(n(127))/6)+-parseInt(n(148))/7*(parseInt(n(165))/8)+-parseInt(n(147))/9*(parseInt(n(154))/10)+parseInt(n(132))/11*(parseInt(n(145))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(yo);class Ao extends t.Plugin{[_o(156)](){const t=_o,e=this[t(129)];if(!e[t(139)][t(168)](t(141)))return;const n=e[t(139)][t(133)](t(138)),r=e[t(155)];n[t(142)](t(150),[t(150)]),n[t(137)][t(166)](t(150),zr(r,t(163))),this[t(158)]()}[_o(158)](){const t=_o,e=this[t(129)],n=e[t(155)];e[t(139)][t(133)](t(138))[t(137)][t(159)]((r=>{const s=t;if(s(134)!=r[s(128)])return;const{data:o}=r;if(o&&s(150)==o[s(152)]){const t=n.t,r=o[s(157)][0][s(136)];if(r){const o=e[s(149)][s(133)](s(143))[s(135)]((t=>t[s(140)]==r)),i=t(o[s(131)])[s(144)]();return{type:s(164),content:zr(n,s(130),i),color:{value:o[s(146)],title:o[s(131)]}}}return{type:s(164),content:zr(n,s(161),zr(n,s(163)))}}}))}}const Co=ko;function ko(t,e){const n=No();return(ko=function(t,e){return n[t-=277]})(t,e)}function No(){const t=["ck-horizontal-line","dataDowncast","createPositionAt","createContainerElement","afterInit","createEmptyElement","showSuggestionHighlights","8847702kqLsIS","has","enableCommand","registerElementLabel","ELEMENT_HORIZONTAL_LINE","locale","8uSXWMg","26681CoTYEh","high","elementToStructure","TrackChangesEditing","HorizontalLineEditing","116ElLlvn","_descriptionFactory","insert","11ZwPEhv","12639730FrSWAl","9346851IxcXwD","5FvNhKC","horizontalLine","div","551112LLWflF","get","editor","plugins","3379369bfLNLp","conversion","4959356IvVceT","addClass","for"];return(No=function(){return t})()}!function(t,e){const n=ko,r=t();for(;;)try{if(890371===-parseInt(n(303))/1*(-parseInt(n(308))/2)+-parseInt(n(280))/3+parseInt(n(286))/4*(-parseInt(n(277))/5)+parseInt(n(296))/6+-parseInt(n(284))/7+parseInt(n(302))/8*(parseInt(n(313))/9)+parseInt(n(312))/10*(-parseInt(n(311))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(No);class Lo extends t.Plugin{[Co(293)](){const t=Co,e=this[t(282)];if(!e[t(283)][t(297)](t(307)))return;e[t(283)][t(281)](t(306))[t(298)](t(278));const n=e[t(283)][t(281)](t(306)),r=e[t(301)];n[t(309)][t(299)](t(278),(e=>zr(r,t(300),e))),e[t(285)][t(288)](t(290))[t(305)]({model:t(278),view:(e,{writer:n,options:r})=>{const s=t;if(!r[s(295)])return null;const o=n[s(292)](s(279)),i=n[s(294)]("hr");return n[s(287)](s(289),o),n[s(310)](n[s(291)](o,0),i),o},converterPriority:t(304)})}}function Ro(t,e){const n=vo();return(Ro=function(t,e){return n[t-=279]})(t,e)}const So=Ro;function vo(){const t=["start","locale","3dspNCT","has","commandName","rawHtml","8376kSRJoI","htmlEmbed","getFirstRange","TrackChangesEditing","afterInit","type","2oHoFSE","nodeAfter","11169056ICKyaB","plugins","20PRehOQ","119388VDmvvU","595296VISLJM","1742949gIwMsJ","_registerLegacyDescription","1793XCKryX","_descriptionFactory","formatBlock","key","ELEMENT_HTML_EMBED","HtmlEmbed","editor","get","4300pnrAkn","registerElementLabel","element","_enableDefaultAttributesIntegration","*Change %0 content*","registerDescriptionCallback","format","3634924tXrbjm","12793368pLLYTl","value","attribute"];return(vo=function(){return t})()}!function(t,e){const n=Ro,r=t();for(;;)try{if(956141===parseInt(n(286))/1*(parseInt(n(279))/2)+parseInt(n(309))/3*(-parseInt(n(303))/4)+-parseInt(n(296))/5*(parseInt(n(313))/6)+-parseInt(n(304))/7+parseInt(n(281))/8+parseInt(n(285))/9*(parseInt(n(283))/10)+-parseInt(n(288))/11*(-parseInt(n(284))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(vo);class Mo extends t.Plugin{[So(317)](){const t=So,e=this[t(294)];if(!e[t(282)][t(310)](t(293)))return;const n=e[t(282)][t(295)](t(316)),r=e[t(308)];n[t(289)][t(297)](t(312),(e=>zr(r,t(292),e))),n[t(299)](t(314),[],[t(305)]),n[t(289)][t(301)]((e=>{const n=t;if(n(306)!=e[n(318)])return;const{data:s}=e;if(s&&n(305)==s[n(291)]&&e[n(315)]()[n(307)][n(280)].is(n(298),n(312))){const t=zr(r,n(292));return{type:n(302),content:zr(r,n(300),t)}}})),this[t(287)]()}[So(287)](){const t=So,e=this[t(294)],n=e[t(308)];e[t(282)][t(295)](t(316))[t(289)][t(301)]((e=>{const r=t;if(r(290)!=e[r(318)])return;const{data:s}=e;if(s&&r(314)==s[r(311)]){const t=zr(n,r(292));return{type:r(302),content:zr(n,r(300),t)}}}))}}const Oo=wo;function wo(t,e){const n=Fo();return(wo=function(t,e){return n[t-=286]})(t,e)}function Fo(){const t=["markInsertion","registerDescriptionCallback","5152712GULmLs","ImageCaptionEditing","imageTypeInline","imageCaption","createRangeOn","isBefore","getClosestSelectedImageElement","imageTextAlternative","7RFisdN","alt","caption","deletion","removeObject","4853940hPADOG","1140NSGsMK","locale","6FqZJII","getCaptionFromImageModelElement","type","getSuggestionCallback","insertion","detach","markBlockFormat","end","insertImage","ImageEditing","schema","ELEMENT_INLINE_IMAGE","subType","1080080LeGnDH","2047536qUZYXT","ImageInlineEditing","1050030fIbTTU","change","forward","imageStylePreApply","chain","373681aaTtKh","element","toNext","isOwn","discard","Block image to inline image","accept","*Reset image width*","afterInit","markDeletion","_findSuggestions","toPrevious","Inline image to block image","toggleImageCaption","get","ELEMENT_IMAGE","_suggestionFactory","isIntersecting","createRange","convertInlineImageToBlock","has","registerCustomCallback","previous","TrackChangesEditing","fromPosition","registerElementLabel","findIndex","newValue","start","ImageCaptionUtils","_registerLegacyDescription","495671LnNLiS","_enableDefaultAttributesIntegration","getFirstRange","document","*Remove image text alternative*","isCollapsed","attribute","ImageTextAlternativeEditing","ImageBlockEditing","getContainedElement","width","imageBlock","imageTypeBlock","editor","getNearestSelectionRange","imageInline","_descriptionFactory","FORMAT_IMAGE_SIZE","commandParams","key","resizedWidth","model","backward","ImageUtils","addObject","enableCommand","*Set image width:* %0","*Set image text alternative:* %0","format","nodeAfter","ImageResize","ELEMENT_CAPTION","plugins","length","ImageUploadEditing","selection","isBlockImage","filter","commandName","registerAttributeLabel","2qWAVMV","nodeBefore","join","find","uploadImage","convertBlockImageToInline","forceDefaultExecution","isEqual","formatInline","resizeImage","formatBlock"];return(Fo=function(){return t})()}!function(t,e){const n=wo,r=t();for(;;)try{if(827436===parseInt(n(367))/1*(-parseInt(n(286))/2)+-parseInt(n(312))/3+-parseInt(n(328))/4+-parseInt(n(331))/5*(-parseInt(n(315))/6)+parseInt(n(307))/7*(-parseInt(n(299))/8)+-parseInt(n(329))/9+-parseInt(n(313))/10*(-parseInt(n(336))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Fo);class Do extends t.Plugin{[Oo(344)](){const t=Oo,e=this[t(380)];if(!e[t(399)][t(356)](t(324)))return;const n=e[t(399)][t(350)](t(359)),r=e[t(399)][t(350)](t(390)),s=e[t(314)];n[t(392)](t(323)),n[t(383)][t(361)](t(378),(e=>zr(s,t(351),e))),n[t(383)][t(361)](t(382),(e=>zr(s,t(326),e))),n[t(383)][t(361)](t(309),(()=>zr(s,t(398)))),e[t(399)][t(356)](t(401))&&n[t(392)](t(290)),e[t(399)][t(356)](t(375))&&e[t(399)][t(356)](t(330))&&(n[t(392)](t(301),((s,o)=>{const i=t,a=r[i(305)](e[i(388)][i(370)][i(402)]);e[i(388)][i(332)]((()=>{const t=i;n[t(321)](a,{commandName:t(301),commandParams:[o]},[],t(291))}))})),n[t(392)](t(379),((s,o)=>{const a=t;e[a(388)][a(332)]((t=>{const c=a;let u=r[c(305)](e[c(388)][c(370)][c(402)]),l=t[c(303)](u);const f=i.LivePosition[c(360)](l[c(364)],c(347)),h=i.LivePosition[c(360)](l[c(322)],c(338));n[c(292)]((()=>s(o))),u=r[c(305)](e[c(388)][c(370)][c(402)]),l=t[c(303)](u);const g=t[c(354)](f,h);f[c(320)](),h[c(320)](),n[c(321)](u,{commandName:c(301),commandParams:[o]},[],c(355)),g[c(364)][c(304)](l[c(364)])&&n[c(297)](t[c(354)](g[c(364)],l[c(364)]),c(355)),l[c(322)][c(304)](g[c(322)])&&n[c(297)](t[c(354)](l[c(322)],g[c(322)]),c(355))}))})),n[t(352)][t(357)](t(296),t(355),t(288),(()=>!1)),n[t(352)][t(357)](t(296),t(355),t(342),(()=>!1)),n[t(352)][t(357)](t(296),t(355),t(340),n[t(352)][t(318)](t(296),"",t(342))),n[t(352)][t(357)](t(319),t(355),t(288),(()=>!1)),n[t(352)][t(357)](t(319),t(355),t(340),(([r])=>{const s=t,o=n[s(352)][s(318)](s(319),"",s(340));let i=r[s(364)],a=r[s(322)];const c=e[s(388)][s(325)][s(381)](i,s(389)),u=e[s(388)][s(325)][s(381)](a,s(333));c[s(372)]&&(i=c[s(364)]),u[s(372)]&&(a=u[s(322)]),o([e[s(388)][s(354)](i,a)])})),n[t(352)][t(357)](t(296),t(355),t(335),c),n[t(352)][t(357)](t(319),t(355),t(335),c)),e[t(399)][t(356)](t(300))&&(n[t(392)](t(349),((s,o)=>{const i=t,a=e[i(399)][i(350)](i(365));let c=r[i(305)](e[i(388)][i(370)][i(402)]),u=a[i(316)](c);e[i(388)][i(332)]((()=>{const t=i;if(u)return void n[t(345)](e[t(388)][t(303)](u));const l=r[t(403)](c);s(o),c=r[t(305)](e[t(388)][t(370)][t(402)]),u=a[t(316)](c),n[t(297)](e[t(388)][t(303)](u),l?null:t(302))}))})),n[t(352)][t(357)](t(319),t(302),t(335),c));const o=[{type:t(296),subType:t(334)},{type:t(319),subType:t(302)},{type:t(296),subType:t(355)},{type:t(319),subType:t(355)}];function a(e,s){const i=t,a=o[i(362)]((({type:t,subType:n})=>e[i(317)]==t&&e[i(327)]==n)),c=o[i(362)]((({type:t,subType:e})=>s[i(317)]==t&&s[i(327)]==e));if(a<0||c<0)return!1;const u=e[i(369)](),l=s[i(369)]();if((0==a||1==a)&&2==c&&u[i(353)](l))return!0;if(2==a&&3==c){const t=n[i(346)](u,i(319))[i(404)]((({suggestion:t,meta:e})=>e[i(339)]&&i(355)==t[i(327)]));if(t[i(400)]>1&&l[i(322)][i(293)](u[i(364)]))return!0;if(1==t[i(400)]&&(u[i(364)][i(293)](l[i(322)])||u[i(322)][i(293)](l[i(364)])))return!0}if(3==a&&3==c&&u[i(364)][i(304)](l[i(364)])){const t=u[i(322)][i(396)],e=l[i(364)][i(287)];return r[i(403)](t)&&t===e}return!1}function c(t,e){return a(t,e)?[t,e]:a(e,t)?[e,t]:null}e[t(399)][t(356)](t(397))&&(n[t(368)](t(295),[],[t(387)]),n[t(383)][t(406)](t(387),zr(s,t(384)))),e[t(399)][t(356)](t(374))&&n[t(368)](t(306),[],[t(308)]),n[t(383)][t(298)]((e=>{const n=t;if(o[n(289)]((({type:t,subType:r})=>e[n(317)]==t&&e[n(327)]==r)))return e[n(358)]?{}:void 0})),n[t(383)][t(298)]((e=>{const n=t;if(n(319)==e[n(317)]||n(310)==e[n(317)]){const t=e[n(376)]();if(t&&t.is(n(337),n(309)))return{type:n(319)==e[n(317)]?n(391):n(311),element:t,quantity:1}}})),n[t(383)][t(298)]((e=>t(296)==e[t(317)]&&t(355)==e[t(327)]?{type:t(395),content:t(348)}:t(296)==e[t(317)]&&t(291)==e[t(327)]?{type:t(395),content:t(341)}:void 0)),n[t(383)][t(298)]((e=>{const n=t;if(n(373)!=e[n(317)])return;const{data:r}=e;if(!r||n(308)!=r[n(386)])return;const o=r[n(363)];return o?{type:n(395),content:zr(s,n(394),'"'+o+'"')}:{type:n(395),content:zr(s,n(371))}})),this[t(366)]()}[Oo(366)](){const t=Oo,e=this[t(380)],n=e[t(314)];e[t(399)][t(350)](t(359))[t(383)][t(298)]((e=>{const r=t;if(r(296)!=e[r(317)]&&r(294)!=e[r(317)])return;const{data:s}=e;if(s){if(r(306)==s[r(405)]){const t=s[r(385)][0][r(363)];return t?{type:r(395),content:zr(n,r(394),'"'+t+'"')}:{type:r(395),content:zr(n,r(371))}}if(r(295)==s[r(405)]){const t=s[r(385)][0][r(377)];return t?{type:r(395),content:zr(n,r(393),t)}:{type:r(395),content:zr(n,r(343))}}}}))}}function Po(){const t=["has","78748kWccEb","43469280ZvbMXp","66VecYgM","2247988AEUjPr","_suggestionFactory","formatBlock","ImageEditing","registerDescriptionCallback","24PkBRxL","plugins","_enableDefaultAttributesIntegration","12uGPosH","_registerLegacyDescription","3CGOpVV","*Replace image URL*","oldValue","replaceImageSource","10XwkUEM","editor","discard","get","type","attribute","accept","getSuggestionCallback","_descriptionFactory","747265mpOLvB","commandName","12932658vUQXWS","key","format","afterInit","newValue","4318270ANKnkf","TrackChangesEditing","16891MJsnaa","*Format:* replace image URL","_handleLegacySuggestions","formatInline","locale","registerCustomCallback","src"];return(Po=function(){return t})()}const xo=Bo;function Bo(t,e){const n=Po();return(Bo=function(t,e){return n[t-=433]})(t,e)}!function(t,e){const n=Bo,r=t();for(;;)try{if(851795===-parseInt(n(457))/1*(-parseInt(n(468))/2)+parseInt(n(470))/3*(-parseInt(n(460))/4)+parseInt(n(440))/5*(-parseInt(n(459))/6)+-parseInt(n(449))/7*(-parseInt(n(465))/8)+-parseInt(n(442))/9+parseInt(n(474))/10*(parseInt(n(447))/11)+parseInt(n(458))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Po);class Uo extends t.Plugin{[xo(445)](){const t=xo;if(!this[t(475)][t(466)][t(456)](t(463)))return;const e=this[t(475)][t(453)],n=this[t(475)][t(466)][t(434)](t(448));n[t(467)](t(473),[],[t(455)]),n[t(439)][t(464)]((n=>{const r=t;if(r(436)!=n[r(435)])return;const{data:s}=n;return s&&r(455)==s[r(443)]?s[r(446)]&&s[r(472)]?{type:r(444),content:zr(e,r(471))}:{type:r(444),content:""}:void 0})),this[t(451)]()}[xo(451)](){const t=xo,e=this[t(475)][t(466)][t(434)](t(448));e[t(461)][t(454)](t(462),t(473),t(437),e[t(461)][t(438)](t(462),null,t(433))),e[t(461)][t(454)](t(462),t(473),t(433),e[t(461)][t(438)](t(462),null,t(437))),this[t(469)]()}[xo(469)](){const t=xo,e=this[t(475)],n=e[t(453)];e[t(466)][t(434)](t(448))[t(439)][t(464)]((e=>{const r=t;if(r(462)!=e[r(435)]&&r(452)!=e[r(435)])return;const{data:s}=e;return s&&r(473)==s[r(441)]?{type:r(444),content:zr(n,r(450))}:void 0}))}}const jo=Vo;function Go(){const t=["_splitMarkerName","discard","document","ImageStyleEditing","1373888aTYePP","type","start","next","getClosestSelectedImageElement","getChangedMarkers","_suggestionFactory","differ","getSuggestionCallback","getContainedElement","*Format:* %0","formatInline","imageTypeInline","name","afterInit","Users","commandReversedParams","getFirstRange","isInContent","format","head","7CTTmjq","isInlineImage","13419765VFribq","6914298HcGeyy","shouldConvertImageType","newRange","hasSuggestion","end","value","chain","401256kJyUOi","findIndex","convertInlineImageToBlock","discardSuggestion","has","side","change","suggestion","_descriptionFactory","imageStyle","markInlineFormat","createRangeOn","plugins","TrackChangesEditing","isOwn","accept","author","model","nodeAfter","commandName","isBlockImage","imageStylePreApply","22sYBLcE","getSuggestions","FORMAT_SIDE_IMAGE","isEqual","join","_findSuggestions","markBlockFormat","filter","length","imageCaption","commands","66171dOORSI","get","commandParams","enableCommand","setImageNaturalSizeAttributes","normalizedStyles","registerDescriptionCallback","formatBlock","toLowerCase","registerPostFixer","nodeBefore","925HZyTYJ","ImageUtils","86dUeIQK","refresh","editor","imageStylePostApply","registerCustomCallback","selection","imageTypeBlock","getSuggestion","from","locale","insertion","11512NEBnXW","_registerLegacyDescription","8731700BziVXB","isBefore","isIntersecting","subType","title","forEach"];return(Go=function(){return t})()}function Vo(t,e){const n=Go();return(Vo=function(t,e){return n[t-=117]})(t,e)}!function(t,e){const n=Vo,r=t();for(;;)try{if(942938===parseInt(n(184))/1+-parseInt(n(161))/2*(-parseInt(n(148))/3)+parseInt(n(172))/4*(-parseInt(n(159))/5)+-parseInt(n(208))/6+parseInt(n(205))/7*(parseInt(n(215))/8)+-parseInt(n(207))/9+parseInt(n(174))/10*(parseInt(n(137))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Go);class Ho extends t.Plugin{[jo(198)](){const t=jo,n=this[t(163)];if(!n[t(127)][t(119)](t(183)))return;const r=n[t(127)][t(149)](t(128)),s=n[t(127)][t(149)](t(160)),o={};r[t(151)](t(124),((o,i)=>{const a=t,c=n[a(127)][a(149)](a(199)).me,u=n[a(147)][a(149)](a(124));let l=s[a(188)](n[a(132)][a(182)][a(166)]),f=n[a(132)][a(126)](l),h=u[a(213)];if(h==i[a(213)])return;const g={commandName:a(124),commandParams:[i],formatGroupId:(0,e.uid)()};n[a(132)][a(121)]((()=>{const t=a;if(r[t(138)]()[t(144)]((e=>e[t(202)]&&c==e[t(131)]&&(t(155)==e[t(185)]||t(195)==e[t(185)])&&(t(136)==e[t(177)]||t(164)==e[t(177)])&&e[t(201)]()[t(140)](f)))[t(179)]((e=>r[t(118)](e[t(204)]))),l=s[t(188)](n[t(132)][t(182)][t(166)]),f=n[t(132)][t(126)](l),u[t(162)](),n[t(147)][t(149)](t(196))[t(162)](),n[t(147)][t(149)](t(167))[t(162)](),h=u[t(213)],h!=i[t(213)])return s[t(206)](l)&&u[t(209)](i[t(213)],l)?(o({...i,setImageSizes:!1}),l=s[t(188)](n[t(132)][t(182)][t(166)]),void r[t(143)](l,{...g,commandReversedParams:[{value:h||null,setImageSizes:!1}]},[],t(136))):void(s[t(135)](l)?r[t(143)](l,g,[],t(164)):r[t(125)](f,g,t(164)))}))}));for(const e of n[t(127)][t(149)](t(183))[t(153)])o[e[t(197)]]=e[t(178)][t(156)]();r[t(190)][t(165)](t(155),t(136),t(141),(()=>!1)),r[t(190)][t(165)](t(155),t(164),t(141),(()=>!1)),r[t(190)][t(165)](t(195),t(164),t(141),(()=>!1)),r[t(190)][t(165)](t(155),t(136),t(130),(([e])=>{const n=t;s[n(152)](e[n(193)]())})),r[t(190)][t(165)](t(155),t(136),t(181),((e,n)=>{const s=t;r[s(190)][s(192)](s(155),"",s(130))(e,{commandName:n[s(134)],commandParams:n[s(200)]})})),r[t(190)][t(165)](t(155),t(136),t(214),(function(t,e){return a(t,e)?[t,e]:a(e,t)?[e,t]:null}));const i=[{type:t(155),subType:t(136)},{type:t(171),subType:t(146)},{type:t(155),subType:t(117)},{type:t(171),subType:t(117)}];function a(e,n){const o=t,a=i[o(216)]((({type:t,subType:n})=>e[o(185)]==t&&e[o(177)]==n)),c=i[o(216)]((({type:t,subType:e})=>n[o(185)]==t&&n[o(177)]==e));if(a<0||c<0)return!1;const u=e[o(201)](),l=n[o(201)]();if((0==a||1==a)&&2==c&&u[o(176)](l))return!0;if(2==a&&3==c){const t=r[o(142)](u,o(171))[o(144)]((({suggestion:t,meta:e})=>e[o(129)]&&o(117)==t[o(177)]));if(t[o(145)]>1&&l[o(212)][o(140)](u[o(186)]))return!0;if(1==t[o(145)]&&(u[o(186)][o(140)](l[o(212)])||u[o(212)][o(140)](l[o(186)])))return!0}if(3==a&&3==c&&u[o(186)][o(175)](l[o(186)])){const t=u[o(212)][o(133)],e=l[o(186)][o(158)];return s[o(135)](t)&&t===e}return!1}n[t(132)][t(182)][t(157)]((()=>{const e=t;let o=!1;const i=Array[e(169)](n[e(132)][e(182)][e(191)][e(189)]());for(const{name:t,data:n}of i){const{group:i,type:a,subType:c,id:u}=r[e(180)](t);if(e(122)==i&&r[e(211)](u)){if(e(155)==a&&(e(136)==c||e(164)==c)){const t=r[e(168)](u);if(n[e(210)]){const n=t[e(201)]()[e(193)]();if(s[e(135)](n))continue;r[e(118)](t),o=!0}}if(e(171)==a&&e(146)==c&&!n[e(210)]){const t=r[e(168)](u);t[e(187)]&&t[e(187)][e(202)]&&(r[e(118)](t[e(187)]),o=!0)}}}return o})),this[t(173)](o)}[jo(173)](t){const e=jo,n=this[e(163)],r=n[e(170)];n[e(127)][e(149)](e(128))[e(123)][e(154)]((n=>{const s=e;if(s(155)!=n[s(185)]&&s(195)!=n[s(185)])return;const{data:o}=n;if(!o||s(124)!=o[s(134)])return;const i=o[s(150)][0][s(213)];return function(t){const e=s;return{type:e(203),content:zr(r,e(194),t)}}(s(120)===i?zr(r,s(139)):t[i]||i)}))}}function zo(t,e){const n=Ko();return(zo=function(t,e){return n[t-=224]})(t,e)}const Wo=zo;function Ko(){const t=["4539704ZMtixC","value","lowest","Users","2MaRYCX","921810mIjdnd","_trackChangesExecuted","trackChanges","editor","collaboration_features","_setSuggestionData","4zaerao","11fAawlY","20cUffhw","2781DZdcAy","1007655grpKyO","forEach","afterInit","dataInsert","_trackChangesValueDuringImport","TrackChangesEditing","542922tEXSbu","271903tfyEOT","commands","track_changes","3288UEEDYs","plugins","listenTo","enableCommand","bind","775257DCicDq","_handleImportedData","get","importWord","high","execute","12YodlWb"];return(Ko=function(){return t})()}!function(t,e){const n=zo,r=t();for(;;)try{if(196811===-parseInt(n(240))/1*(parseInt(n(259))/2)+-parseInt(n(233))/3*(-parseInt(n(229))/4)+-parseInt(n(231))/5*(parseInt(n(239))/6)+parseInt(n(248))/7+parseInt(n(243))/8*(parseInt(n(232))/9)+parseInt(n(260))/10*(-parseInt(n(230))/11)+parseInt(n(254))/12*(parseInt(n(255))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ko);class Xo extends t.Plugin{constructor(t){const e=zo;super(t),this[e(237)]=!1,this[e(224)]=!1}[Wo(235)](){const t=Wo,e=this[t(226)],n=e[t(241)][t(250)](t(251)),r=e[t(241)][t(250)](t(225));n&&(n.on(t(253),((e,[,n])=>{const s=t;this[s(237)]=r[s(256)],n[s(227)][s(242)]=!this[s(237)]}),{priority:t(252)}),this[t(245)](n,t(236),this[t(249)][t(247)](this)),this[t(245)](n,t(236),(()=>{const e=t;this[e(224)]&&(r[e(253)](),this[e(224)]=!1)}),{priority:t(257)}),e[t(244)][t(250)](t(238))[t(246)](t(251)))}[Wo(249)](t,e){const n=Wo,{suggestions:r}=e,s=this[n(226)][n(241)][n(250)](n(225)),o=s[n(256)];this[n(237)]!==o&&(s[n(253)](),this[n(224)]=!0),r&&r[n(234)]((({id:t,type:e,author:r,created_at:s})=>{const o=n,i={id:t,type:e,authorId:this[o(226)][o(244)][o(250)](o(258)).me.id,createdAt:new Date,data:null,hasComments:!1,attributes:{"@external":{authorName:r,createdAt:s?new Date(s):new Date,source:o(251)}}};this[o(226)][o(244)][o(250)](o(238))[o(228)](i)}))}}const qo=Qo;function Yo(){const t=["_descriptionFactory","getItems","7553dptmUF","format","1748822CDwnJT","_registerBlockAttribute","FORMAT_INDENT","1975705mhjjLN","locale","outdent","commandName","indent","1208oVsNSi","blockIndent","54934rfdIKk","outdentBlock","_registerLegacyDescription","indentBlock","enableCommand","get","TrackChangesEditing","IndentEditing","11094lvUata","IndentBlock","27083727VkyNKC","4199634AIAgHx","getItemLabel","plugins","registerAttributeLabel","*Outdent:* %0","afterInit","formatBlock","registerDescriptionCallback","editor","*Indent:* %0","has","_enableDefaultAttributesIntegration","16ycIVYw","type"];return(Yo=function(){return t})()}function Qo(t,e){const n=Yo();return(Qo=function(t,e){return n[t-=484]})(t,e)}!function(t,e){const n=Qo,r=t();for(;;)try{if(807157===-parseInt(n(486))/1+-parseInt(n(515))/2+parseInt(n(494))/3*(-parseInt(n(509))/4)+-parseInt(n(518))/5+-parseInt(n(497))/6+parseInt(n(513))/7*(-parseInt(n(484))/8)+parseInt(n(496))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Yo);class Zo extends t.Plugin{[qo(502)](){const t=qo,e=this[t(505)],n=e[t(499)][t(491)](t(492));if(e[t(499)][t(507)](t(493))&&(n[t(490)](t(522)),n[t(490)](t(520))),e[t(499)][t(507)](t(495)))for(const e of[t(489),t(487)])n[t(508)](e);const r=e[t(519)];n[t(516)](t(485)),n[t(511)][t(500)](t(485),zr(r,t(517))),this[t(488)]()}[qo(488)](){const t=qo,e=this[t(505)],n=e[t(519)],r=e[t(499)][t(491)](t(492));r[t(511)][t(504)]((e=>{const s=t;if(s(503)!=e[s(510)])return;const{data:o}=e;if(!o)return;if(s(489)!=o[s(521)]&&s(487)!=o[s(521)])return;const i=e[s(512)]()[0],a=r[s(511)][s(498)](i);return s(489)==o[s(521)]?{type:s(514),content:zr(n,s(506),a)}:s(487)==o[s(521)]?{type:s(514),content:zr(n,s(501),a)}:void 0}))}}var Jo=ti;function $o(){var t=["input","117815zPOXNW","1925634LJvIEP","598804zTzkdH","TrackChangesEditing","plugins","108RDadty","1WfCAOv","767142ZFQRJq","413966MbwvlJ","56QyazyS","7752843YewPLv","editor","enableCommand","18328190DJETZk","init","11zlVSrN","requires","get"];return($o=function(){return t})()}function ti(t,e){var n=$o();return(ti=function(t,e){return n[t-=278]})(t,e)}!function(t,e){for(var n=ti,r=t();;)try{if(514980===-parseInt(n(289))/1*(parseInt(n(285))/2)+-parseInt(n(290))/3+-parseInt(n(288))/4*(parseInt(n(283))/5)+parseInt(n(284))/6+-parseInt(n(291))/7*(-parseInt(n(292))/8)+-parseInt(n(293))/9+-parseInt(n(296))/10*(-parseInt(n(279))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}($o);class ei extends t.Plugin{static get[Jo(280)](){return[vs.Input]}[Jo(278)](){var t=Jo;this[t(294)][t(287)][t(281)](t(286))[t(295)](t(282))}}const ni=ri;function ri(t,e){const n=si();return(ri=function(t,e){return n[t-=437]})(t,e)}function si(){const t=["afterInit","key","878KPVtNi","_descriptionFactory","commandParams","TrackChangesEditing","commands","1624322PYEPIh","1745892rvQVzN","registerAttributeLabel","has","LinkEditing","unlink","46460qMOLHx","1142980LxfUGR","type","linkHref","link (","newValue","*Set link:* %0","registerDescriptionCallback","editor","format","6MIFnpC","attribute","3784yPfjVJ","link","plugins","1381707whodZg","toLowerCase","8cnOGlX","manualDecorators","map","*Remove link*","get","_enableDefaultAttributesIntegration","formatInline","2151804QhaSPv","_registerLegacyDescription","632MtuqCV","commandName","locale","label"];return(si=function(){return t})()}!function(t,e){const n=ri,r=t();for(;;)try{if(332374===parseInt(n(439))/1*(parseInt(n(445))/2)+parseInt(n(471))/3+parseInt(n(437))/4+parseInt(n(457))/5+parseInt(n(466))/6*(parseInt(n(450))/7)+-parseInt(n(473))/8*(-parseInt(n(451))/9)+-parseInt(n(456))/10*(parseInt(n(468))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(si);class oi extends t.Plugin{[ni(443)](){const t=ni,e=this[t(464)];if(!e[t(470)][t(453)](t(454)))return;const n=e[t(470)][t(477)](t(448)),r=e[t(449)][t(477)](t(469));n[t(478)](t(469),[t(459),...r[t(474)][t(475)]((t=>t.id))]),n[t(478)](t(455));for(const e of r[t(474)])n[t(446)][t(452)](e.id,t(460)+e[t(442)][t(472)]()+")");n[t(446)][t(463)]((n=>{const r=t;if(r(467)!=n[r(458)])return;const{data:s}=n;if(!s||r(459)!=s[r(444)])return;const o=s[r(461)],i=e[r(441)];return{type:r(465),content:null==o?zr(i,r(476)):zr(i,r(462),'"'+o+'"')}})),this[t(438)]()}[ni(438)](){const t=ni,e=this[t(464)],n=e[t(441)];e[t(470)][t(477)](t(448))[t(446)][t(463)]((e=>{const r=t;if(r(479)!=e[r(458)])return;const{data:s}=e;if(s){if(r(469)==s[r(440)]){const t=s[r(447)][0];return{type:r(465),content:zr(n,r(462),'"'+t+'"')}}return r(455)==s[r(440)]?{type:r(465),content:zr(n,r(476))}:void 0}}))}}const ii=ci;function ai(){const t=["execute","get","parent","outdentList","List","ELEMENT_BULLETED_LIST","from","checkChild","before","bulleted","markBlockFormat","numbered","blockName","element","listType","commands","todoListChecked","commandName","has","91588LiAdFU","createPositionAt","*Uncheck item*","*Outdent:* %0","format","9gGPeJM","getAttribute","480045RJcDdS","numberedList","336TpMptn","582YbAMjD","formatInline","change","listItem","todoList","end","6XWVXrC","locale","LegacyTodoListEditing","11ZQBaRv","selection","enableCommand","_descriptionFactory","188420hUXmjW","*Indent:* %0","getSelectedBlocks","add","replace","schema","findIndex","_selectedElements","push","registerElementLabel","listIndent","indentList","slice","type","paragraph","15FUrivA","commandParams","ELEMENT_LIST_ITEM","filter","editor","*Check item*","todo","document","554632mRbiDw","881272WrVofw","afterInit","LegacyListEditing","forceValue","name","model","ELEMENT_TODO_LIST","isObject","485484TDpmPv","nextSibling","*Change to:* %0","previousSibling","formatBlock","TrackChangesEditing","plugins","ELEMENT_NUMBERED_LIST","createRange","checkTodoList","value","length","registerDescriptionCallback","bulletedList"];return(ai=function(){return t})()}function ci(t,e){const n=ai();return(ci=function(t,e){return n[t-=182]})(t,e)}!function(t,e){const n=ci,r=t();for(;;)try{if(109642===-parseInt(n(266))/1*(-parseInt(n(267))/2)+parseInt(n(264))/3+parseInt(n(257))/4*(parseInt(n(207))/5)+-parseInt(n(185))/6*(parseInt(n(216))/7)+-parseInt(n(215))/8*(parseInt(n(262))/9)+parseInt(n(192))/10*(parseInt(n(188))/11)+-parseInt(n(224))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ai);class ui extends t.Plugin{[ii(217)](){const t=ii,e=this[t(211)],n=e[t(186)];if(!e[t(230)][t(256)](t(218)))return;const r=e[t(230)][t(239)](t(229)),s=e[t(230)][t(256)](t(187));function o(t){return()=>{const n=ci,s=e[n(221)][n(214)][n(189)],o=e[n(253)][n(239)](t);if(o[n(234)])return void e[n(238)](n(206),{});const i=t[n(204)](0,-4),a=function(t,e,r){const s=n;let o=Array[s(244)](t)[s(210)]((t=>function(t,e){const n=s;return e[n(245)](t[n(240)],n(182))&&!e[n(223)](t)}(t,r)));o=o[s(210)]((t=>!t.is(s(251),s(182))||t[s(263)](s(252))!=e));const i=new Set;for(const t of o)t.is(s(251),s(182))?i[s(195)](li(t)):i[s(195)](t);return Array[s(244)](i)}(s[n(194)](),i,e[n(221)][n(197)]);e[n(221)][n(269)]((()=>{const e=n;for(const n of a)r[e(248)](n,{commandName:t,commandParams:[{forceValue:!o[e(234)]}],formatGroupId:e(250)},fi(n))}))}}function i(t){return()=>{const n=ci,s=function(t){const e=ci;let n=Array[e(244)](t);const r=n[e(198)]((t=>e(182)!=t[e(220)]));return r>-1&&(n=n[e(204)](0,r)),n}(e[n(221)][n(214)][n(189)][n(194)]()),o=e[n(221)][n(232)](e[n(221)][n(258)](s[0],n(246)),e[n(221)][n(258)](s[s[n(235)]-1],n(184)));e[n(221)][n(269)]((()=>{const e=n;r[e(248)](o,{commandName:t,commandParams:[],formatGroupId:e(202)},function(t){const n=e,r=new Set;for(const e of t){let t=e[n(225)];for(;t&&t[n(263)](n(202))>e[n(263)](n(202));)r[n(195)](t),t=t[n(225)]}return Array[n(244)](r)}(s))}))}}r[t(190)](t(265),o(t(265))),r[t(190)](t(237),o(t(237))),s&&r[t(190)](t(183),o(t(183))),r[t(190)](t(203),i(t(203))),r[t(190)](t(241),i(t(241))),s&&r[t(190)](t(233),(()=>{const n=t,s=e[n(253)][n(239)](n(233)),o=Array[n(244)](s[n(199)]);o[n(210)]((t=>t[n(263)](n(254))!=s[n(234)])),e[n(221)][n(269)]((()=>{const t=n;for(const e of o)r[t(248)](e,{commandName:t(233),commandParams:[{forceValue:!s[t(234)]}]})}))})),r[t(191)][t(201)](t(182),(e=>zr(n,t(209),e))),r[t(191)][t(236)]((e=>{const r=t;if(r(228)!=e[r(205)]&&r(268)!=e[r(205)])return;const{data:s}=e;if(s){if(r(265)==s[r(255)]||r(237)==s[r(255)]||r(183)==s[r(255)])switch(s[r(255)][r(196)](r(242),"")){case r(247):return o(zr(n,r(243)));case r(249):return o(zr(n,r(231)));case r(213):return o(zr(n,r(222)))}if(r(203)==s[r(255)])return{type:r(261),content:zr(n,r(193),zr(n,r(209)))};if(r(241)==s[r(255)])return{type:r(261),content:zr(n,r(260),zr(n,r(209)))};if(r(233)==s[r(255)])return s[r(208)][0][r(219)]?{type:r(261),content:zr(n,r(212))}:{type:r(261),content:zr(n,r(259))}}function o(t){const e=r;return{type:e(261),content:zr(n,e(226),t)}}}))}}function li(t){const e=ii,n=t[e(263)](e(202));if(0==n)return t;let r=t;for(;t[e(227)]&&t[e(227)].is(e(251),e(182));){const s=t[e(227)][e(263)](e(202));if(s==n)r=t[e(227)];else if(s<n)break;t=t[e(227)]}return r}function fi(t){const e=ii,n=[];if(t.is(e(251),e(182))&&t[e(263)](e(202))>0){let r=t[e(225)];for(;r&&e(182)==r[e(220)]&&r[e(263)](e(202))==t[e(263)](e(202));)n[e(200)](r),r=r[e(225)]}return n}const hi=gi;function gi(t,e){const n=di();return(gi=function(t,e){return n[t-=469]})(t,e)}function di(){const t=["reversed","createPositionAt","getSiblingNodes","replace","handleListStartCommand","editor","list.properties","commandName","commandParams","handleDescriptions","729NCiJlh","backward","toUpperCase","afterInit","map","*Format:* set order to reversed","_getSuggestionBlocks","_getTranslationKeyForListStyle","LegacyListUtils","push","formatBlock","formatInline","1340458Etwsci","40ECSrpS","listReversed","locale","getFirstPosition","format","getAttribute","plugins","parent","_LIST_","getSelectedBlocks","selection","bind","listStyle","startIndex","flat","2369275tmAXxS","has","type","from","listStart","89580QKzVVo","TrackChangesEditing","forward","ELEMENT_","enableCommand","change","2201232buZAYG","*Change to:* %0","get","6bZSNIl","before","markMultiRangeBlockFormat","registerDescriptionCallback","listItem","styles","_getSuggestionBlocksForListStyle","createRange","LegacyListPropertiesEditing","model","numbered","handleListStyleCommand","filter","_descriptionFactory","element","1183413bfPypR","*Format:* set start index to %0","2724639gTHgUR","2IJjXsE","unshift","892061btcdLy","listType","handleListReversedCommand","document","config","getLastPosition","length","getListTypeFromListStyleType","*Format:* set order to regular"];return(di=function(){return t})()}!function(t,e){const n=gi,r=t();for(;;)try{if(567474===parseInt(n(483))/1*(-parseInt(n(481))/2)+parseInt(n(480))/3+-parseInt(n(541))/4+parseInt(n(530))/5*(-parseInt(n(544))/6)+-parseInt(n(514))/7*(-parseInt(n(515))/8)+parseInt(n(502))/9*(parseInt(n(535))/10)+-parseInt(n(478))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(di);class pi extends t.Plugin{[hi(505)](){const t=hi;if(!this[t(497)][t(521)][t(531)](t(471)))return;const e=this[t(497)][t(487)][t(543)](t(498)),n=this[t(497)][t(521)][t(543)](t(536));e[t(549)]&&n[t(539)](t(527),this[t(474)][t(526)](this)),e[t(492)]&&n[t(539)](t(516),this[t(485)][t(526)](this)),e[t(528)]&&n[t(539)](t(534),this[t(496)][t(526)](this)),n[t(476)][t(547)](this[t(501)][t(526)](this))}[hi(474)](t,e={}){const n=hi,r=this[n(497)][n(521)][n(543)](n(536)),s=this[n(469)]();this[n(497)][n(472)][n(540)]((()=>{const t=n;r[t(546)](s,{commandName:t(527),commandParams:[{type:e[t(532)]}],formatGroupId:t(527)})}))}[hi(485)](t,e={}){const n=hi,r=this[n(497)][n(521)][n(543)](n(536)),s=this[n(508)]((t=>t.is(n(477),n(548))&&n(473)===t[n(520)](n(484))));if(s[n(489)]<1)return;const o=s[n(506)]((t=>this[n(497)][n(472)][n(470)](this[n(497)][n(472)][n(493)](t,n(545)),this[n(497)][n(472)][n(493)](t,0))));this[n(497)][n(472)][n(540)]((()=>{const t=n;r[t(546)](o,{commandName:t(516),commandParams:[{reversed:e[t(492)]}],formatGroupId:t(516)})}))}[hi(496)](t,e={}){const n=hi,r=this[n(497)][n(521)][n(543)](n(536)),s=this[n(508)]((t=>t.is(n(477),n(548))&&n(473)===t[n(520)](n(484))));if(s[n(489)]<1)return;const o=s[n(506)]((t=>this[n(497)][n(472)][n(470)](this[n(497)][n(472)][n(493)](t,n(545)),this[n(497)][n(472)][n(493)](t,0))));this[n(497)][n(472)][n(540)]((()=>{const t=n;r[t(546)](o,{commandName:t(534),commandParams:[{startIndex:e[t(528)]}],formatGroupId:t(534)})}))}[hi(501)](t){const e=hi;if(e(512)!=t[e(532)]&&e(513)!=t[e(532)])return;const n=this[e(497)][e(517)],{data:r}=t;if(!r)return;let s,o;switch(r[e(499)]){case e(527):s=e(542),o={type:e(519),content:zr(n,s,zr(n,this[e(509)](r[e(500)][0][e(532)])))};break;case e(516):s=r[e(500)][0][e(492)]?e(507):e(491),o={type:e(519),content:zr(n,s)};break;case e(534):s=e(479),o={type:e(519),content:zr(n,s,r[e(500)][0][e(528)])}}return o}[hi(469)](){const t=hi;var e,n,r,s;const o=this[t(497)][t(521)][t(543)](t(510));let i=Array[t(533)](this[t(497)][t(472)][t(486)][t(525)][t(524)]());return(null===(e=i[0])||void 0===e?void 0:e.is(t(477),t(548)))&&i[t(482)](...o[t(494)](this[t(497)][t(472)][t(486)][t(525)][t(518)](),t(503))),(null===(n=i[i[t(489)]-1])||void 0===n?void 0:n.is(t(477),t(548)))&&i[t(511)](...o[t(494)](this[t(497)][t(472)][t(486)][t(525)][t(488)](),t(537))),i=[...new Set(i)],(null===(s=null===(r=this[t(497)][t(472)][t(486)][t(525)][t(518)]())||void 0===r?void 0:r[t(522)])||void 0===s?void 0:s.is(t(477),t(548)))&&(i=i[t(475)]((e=>e.is(t(477),t(548))))),i}[hi(508)](t){const e=hi,n=this[e(497)][e(521)][e(543)](e(510));let r=Array[e(533)](this[e(497)][e(472)][e(486)][e(525)][e(524)]())[e(475)](t)[e(506)]((t=>{const r=e,s=this[r(497)][r(472)][r(493)](t,0);return[...n[r(494)](s,r(503)),...n[r(494)](s,r(537))]}))[e(529)]();return r=[...new Set(r)],r}[hi(509)](t){const e=hi;return e(538)+this[e(497)][e(521)][e(543)](e(510))[e(490)](t)[e(504)]()+e(523)+t[e(504)]()[e(495)](/-/g,"_")}}const mi=Ei;function Ii(){const t=["3516OGGVsn","enableCommand","plugins","div","has","locale","3LxNZAL","stop","attribute:url:media","createEmptyElement","registerElementLabel","elementToElement","afterInit","927909vYljIT","downcastDispatcher","for","_descriptionFactory","get","data","1413796IlrUOr","222968xakNKH","TrackChangesEditing","2595GSLMBG","media","editor","MediaEmbedEditing","6903648FniLRr","high","639430ZVzOnJ","3359629SarcbI","ELEMENT_MEDIA","conversion","showSuggestionHighlights","options","mediaEmbed","dataDowncast"];return(Ii=function(){return t})()}function Ei(t,e){const n=Ii();return(Ei=function(t,e){return n[t-=443]})(t,e)}!function(t,e){const n=Ei,r=t();for(;;)try{if(579441===parseInt(n(454))/1+parseInt(n(446))/2*(parseInt(n(468))/3)+-parseInt(n(445))/4+-parseInt(n(448))/5*(parseInt(n(462))/6)+-parseInt(n(455))/7+parseInt(n(452))/8+parseInt(n(475))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ii);class bi extends t.Plugin{[mi(474)](){const t=mi,e=this[t(450)];if(!e[t(464)][t(466)](t(451)))return;const n=e[t(464)][t(443)](t(447)),r=e[t(467)];n[t(463)](t(460)),n[t(478)][t(472)](t(449),(e=>zr(r,t(456),e))),e[t(457)][t(477)](t(461))[t(473)]({model:t(449),view:(e,{writer:n,options:r})=>{const s=t;if(r[s(458)])return n[s(471)](s(465))},converterPriority:t(453)}),e[t(444)][t(476)].on(t(470),((e,n,r)=>{const s=t;r[s(459)][s(458)]&&e[s(469)]()}),{priority:t(453)})}}function Ti(t,e){const n=yi();return(Ti=function(t,e){return n[t-=295]})(t,e)}const _i=Ti;function yi(){const t=["81775YorqPv","editor","mention","17013227qFgRgj","80sQWeXz","plugins","enableCommand","79490mJsuLy","has","6CaROAY","538368WevWBu","TrackChangesEditing","111216kFHOpw","afterInit","2385592hetpTA","get","399TMalxN","MentionEditing","5157TonDyD","9350droQRv"];return(yi=function(){return t})()}!function(t,e){const n=Ti,r=t();for(;;)try{if(983277===-parseInt(n(305))/1+-parseInt(n(302))/2*(-parseInt(n(304))/3)+-parseInt(n(299))/4*(parseInt(n(295))/5)+-parseInt(n(307))/6*(-parseInt(n(311))/7)+-parseInt(n(309))/8+parseInt(n(313))/9*(-parseInt(n(314))/10)+parseInt(n(298))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(yi);class Ai extends t.Plugin{[_i(308)](){const t=_i,e=this[t(296)];e[t(300)][t(303)](t(312))&&e[t(300)][t(310)](t(306))[t(301)](t(297))}}function Ci(){const t=["502024eltigy","editor","registerElementLabel","afterInit","TrackChangesEditing","117138kfdhlS","enableCommand","160fWHNBA","has","6JeYSFF","1820136CHYFBr","119538HONTob","locale","get","3ZcQScR","ELEMENT_PAGE_BREAK","PageBreakEditing","pageBreak","_descriptionFactory","plugins","94694XwIoeB","1707695NCtPTJ","336734vwALmx"];return(Ci=function(){return t})()}const ki=Ni;function Ni(t,e){const n=Ci();return(Ni=function(t,e){return n[t-=341]})(t,e)}!function(t,e){const n=Ni,r=t();for(;;)try{if(175929===-parseInt(n(346))/1+parseInt(n(344))/2*(parseInt(n(361))/3)+parseInt(n(347))/4+-parseInt(n(345))/5*(-parseInt(n(356))/6)+-parseInt(n(352))/7+parseInt(n(357))/8+-parseInt(n(358))/9*(parseInt(n(354))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ci);class Li extends t.Plugin{[ki(350)](){const t=ki,e=this[t(348)];if(!e[t(343)][t(355)](t(363)))return;e[t(343)][t(360)](t(351))[t(353)](t(341));const n=e[t(343)][t(360)](t(351)),r=e[t(359)];n[t(342)][t(349)](t(341),(e=>zr(r,t(362),e)))}}function Ri(t,e){const n=vi();return(Ri=function(t,e){return n[t-=133]})(t,e)}const Si=Ri;function vi(){const t=["model","plugins","5680570IcBlux","bindElementToMarker","$text","nodeAfter","41515mUixhA","markerName","_enableDefaultAttributesIntegration","insertParagraph","get","writer","addMarker:suggestion:insertion","has","insertion","afterInit","highest","editing","consumable","consume","showSuggestionHighlights","span","createUIElement","mapper","editor","type","Paragraph","793894dDwbhZ","isTouching","end","addClass","getItemLabel","data","ck-suggestion-marker-split","locale","paragraph","schema","options","enableCommand","603681CiOKmp","ck-suggestion-marker--active","registerElementLabel","name","_descriptionFactory","downcastDispatcher","insert","start","6537447TwmtQN","getFirstRange","TrackChangesEditing","activeMarkers","includes","92XFcQUl","markerRange","6KEvRYv","format","formatBlock","_registerLegacyDescription","isLimit","*Change to:* %0","5863256QstSWW","6315570axieoE","checkChild","ELEMENT_PARAGRAPH","commandName","*Insert:* %0","6roZcdb","isBlock","toViewPosition","registerDescriptionCallback"];return(vi=function(){return t})()}!function(t,e){const n=Ri,r=t();for(;;)try{if(593895===-parseInt(n(166))/1+parseInt(n(154))/2*(-parseInt(n(193))/3)+parseInt(n(179))/4*(parseInt(n(133))/5)+-parseInt(n(181))/6*(-parseInt(n(174))/7)+parseInt(n(187))/8+parseInt(n(188))/9+-parseInt(n(199))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(vi);class Mi extends t.Plugin{[Si(142)](){const t=Si,e=this[t(151)];if(!e[t(198)][t(140)](t(153)))return;const n=e[t(161)],r=e[t(198)][t(137)](t(176));r[t(170)][t(168)](t(162),(e=>zr(n,t(190),e))),r[t(135)](t(162)),r[t(165)](t(136)),e[t(144)][t(171)].on(t(139),Oi(e),{priority:t(143)}),e[t(159)][t(171)].on(t(139),((n,r,s)=>{const o=t;s[o(164)][o(147)]&&Oi(e,{showActiveMarker:!1})(n,r,s)}),{priority:t(143)});const s=r[t(170)];s[t(196)]((r=>{const o=t;if(o(141)!==r[o(152)])return;const{start:i,end:a}=r[o(175)]();if(!i[o(155)](a)||!i[o(202)])return;const c=e[o(197)][o(163)],u=i[o(202)];return c[o(194)](u)&&!c[o(185)](u)&&c[o(189)](u,o(201))?{type:o(141),content:zr(n,o(192),s[o(158)](u,1))}:void 0})),this[t(184)]()}[Si(184)](){const t=Si,e=this[t(151)],n=e[t(161)];e[t(198)][t(137)](t(176))[t(170)][t(196)]((e=>{const r=t;if(r(183)!=e[r(152)])return;const{data:s}=e;return s&&r(162)==s[r(191)]?{type:r(182),content:zr(n,r(186),zr(n,r(190)))}:void 0}))}}function Oi(t,{showActiveMarker:e=!0}={}){return(n,r,s)=>{const o=Ri,i=t[o(198)][o(137)](o(176)),a=r[o(180)][o(173)],c=r[o(180)][o(156)],u=t[o(197)][o(163)];if(!a[o(155)](c)||!a[o(202)])return;const l=a[o(202)];if(u[o(194)](l)&&!u[o(185)](l)&&u[o(189)](l,o(201))){if(!s[o(145)][o(146)](r[o(180)],n[o(169)]))return;const t=s[o(138)][o(149)](o(148),{class:o(160)}),a=s[o(150)][o(195)](c);e&&i[o(177)][o(178)](r[o(134)])&&s[o(138)][o(157)](o(167),t),s[o(138)][o(172)](a,t),s[o(150)][o(200)](t,r[o(134)])}}}function wi(t,e){const n=Fi();return(wi=function(t,e){return n[t-=359]})(t,e)}function Fi(){const t=["formatBlock","239900SQPAIP","commandName","114ompjMr","TrackChangesEditing","47ZYHDNU","104645JorkYa","10070710QYHJvX","11wakDmH","plugins","removeFormat","editor","_registerLegacyDescription","afterInit","*Remove all formatting*","_descriptionFactory","3293604HpfvSN","registerDescriptionCallback","type","locale","17624sBIzQx","formatInline","RemoveFormatEditing","get","3694AQTUEv","959152jydhDH","6JoMDlh","27zFliSz","_enableDefaultAttributesIntegration","203dnEMvd","has","format"];return(Fi=function(){return t})()}const Di=wi;!function(t,e){const n=wi,r=t();for(;;)try{if(327976===-parseInt(n(386))/1*(-parseInt(n(373))/2)+-parseInt(n(375))/3*(-parseInt(n(374))/4)+parseInt(n(387))/5*(parseInt(n(384))/6)+-parseInt(n(378))/7*(parseInt(n(369))/8)+-parseInt(n(376))/9*(parseInt(n(382))/10)+parseInt(n(389))/11*(parseInt(n(365))/12)+-parseInt(n(388))/13)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Fi);class Pi extends t.Plugin{[Di(362)](){const t=Di,e=this[t(360)];e[t(390)][t(379)](t(371))&&(e[t(390)][t(372)](t(385))[t(377)](t(359)),this[t(361)]())}[Di(361)](){const t=Di,e=this[t(360)];e[t(390)][t(372)](t(385))[t(364)][t(366)]((n=>{const r=t;if(r(381)!=n[r(367)]&&r(370)!=n[r(367)])return;const{data:s}=n;return s&&r(359)==s[r(383)]?{type:r(380),content:zr(e[r(368)],r(363))}:void 0}))}}const xi=Bi;function Bi(t,e){const n=ji();return(Bi=function(t,e){return n[t-=168]})(t,e)}!function(t,e){const n=Bi,r=t();for(;;)try{if(573487===parseInt(n(185))/1+parseInt(n(190))/2*(-parseInt(n(171))/3)+-parseInt(n(192))/4+-parseInt(n(170))/5+parseInt(n(180))/6*(parseInt(n(169))/7)+parseInt(n(174))/8+-parseInt(n(178))/9*(-parseInt(n(172))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ji);class Ui extends t.Plugin{[xi(187)](){const t=xi,e=this[t(186)];if(!e[t(168)][t(189)](t(193)))return;const n=e[t(168)][t(182)](t(188));n[t(183)](t(181)),n[t(183)](t(194));const r=e[t(168)][t(182)](t(193));r[t(183)](t(179)),r[t(183)](t(191)),r[t(183)](t(175)),r[t(183)](t(184)),r[t(183)](t(177)),r[t(183)](t(173)),r[t(183)](t(176))}}function ji(){const t=["23319RXiMYc","trackChanges","18cyPEHH","goToPreviousRestrictedEditingException","get","enableCommand","acceptAllSuggestions","422149cOztLW","editor","afterInit","TrackChangesEditing","has","2133288ocvLWs","acceptSuggestion","4036072wjvbgU","RestrictedEditingModeEditing","goToNextRestrictedEditingException","plugins","2098397KvkrbQ","4663425aACRQr","3jfuDXB","6850TpNSzh","acceptSelectedSuggestions","3884296UvFhsE","discardSuggestion","discardSelectedSuggestions","discardAllSuggestions"];return(ji=function(){return t})()}const Gi=Vi;function Vi(t,e){const n=Hi();return(Vi=function(t,e){return n[t-=242]})(t,e)}function Hi(){const t=["span","data","name","171508yjUdlu","deletion","markerRange","shiftEnter","toViewPosition","ck-suggestion-marker-","270260ubvqrd","requires","locale","get","77vlDrJS","addClass","1102077cQbORU","98421OEtNMF","627596TCxcgi","enableCommand","model","10BrPEXG","options","test","includes","softBreak","ck-suggestion-marker--active","getItems","bindElementToMarker","consumable","insert","addMarker:suggestion","createPositionBefore","315912iRPLTu","element","high","ELEMENT_LINE_BREAK","writer","activeMarkers","showSuggestionHighlights","addMarker:suggestion:insertion","8qGyOLa","createUIElement","downcastDispatcher","editor","editing","TrackChangesEditing","init","mapper","plugins","3hcqDOD","337414LbRdfs","registerElementLabel","_descriptionFactory","split","addMarker:suggestion:deletion","merge","markerName"];return(Hi=function(){return t})()}!function(t,e){const n=Vi,r=t();for(;;)try{if(120839===parseInt(n(276))/1+parseInt(n(263))/2+parseInt(n(252))/3*(parseInt(n(277))/4)+parseInt(n(280))/5*(-parseInt(n(292))/6)+-parseInt(n(253))/7+-parseInt(n(243))/8*(-parseInt(n(275))/9)+parseInt(n(269))/10*(-parseInt(n(273))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Hi);class zi extends t.Plugin{static get[Gi(270)](){return[Qs.ShiftEnter]}[Gi(249)](){const t=Gi,e=this[t(246)],n=e[t(251)][t(272)](t(248));n[t(278)](t(266)),e[t(247)][t(245)].on(t(242),Wi(e),{priority:t(294)}),e[t(247)][t(245)].on(t(257),Wi(e),{priority:t(294)}),e[t(261)][t(245)].on(t(290),((n,r,s)=>{const o=t;s[o(281)][o(298)]&&Wi(e,{showActiveMarker:!1})(n,r,s)})),n[t(255)][t(254)](t(284),(n=>zr(e[t(271)],t(295),n)))}}function Wi(t,{showActiveMarker:e=!0}={}){return(n,r,s)=>{const o=Vi,i=t[o(251)][o(272)](o(248));if(!s[o(288)][o(282)](r[o(265)],n[o(262)]))return;const a=t[o(279)];for(const t of r[o(265)][o(286)]()){if(!t.is(o(293),o(284)))continue;const n=o(264)==r[o(259)][o(256)](":")[1]?o(258):o(256),c=s[o(296)][o(244)](o(260),{class:o(268)+n}),u=s[o(250)][o(267)](a[o(291)](t));e&&i[o(297)][o(283)](r[o(259)])&&s[o(296)][o(274)](o(285),c),s[o(296)][o(289)](u,c),s[o(250)][o(287)](c,r[o(259)])}}}function Ki(t,e){const n=qi();return(Ki=function(t,e){return n[t-=333]})(t,e)}const Xi=Ki;function qi(){const t=["_descriptionFactory","formatInline","TrackChangesEditing","commandParams","StandardEditingModeEditing","enableCommand","getRanges","get","330085ibEhkI","formatBlock","7857058QxnLfO","194958zFIwlz","plugins","editor","selection","locale","13FJdsbp","type","registerDescriptionCallback","27587220jdWMgo","value","29514wyelPE","40LBjkmv","afterInit","has","commandName","restrictedEditingException","18GECPFC","8WFgyrt","210gFLAiw","forceValue","from","FORMAT_RESTRICTED_ENABLED","change","18prpEZK","37905sdoMCG","format","FORMAT_RESTRICTED_DISABLED","model","document","1053647zBiTyh","isCollapsed","markInlineFormat","commands"];return(qi=function(){return t})()}!function(t,e){const n=Ki,r=t();for(;;)try{if(538418===parseInt(n(362))/1*(-parseInt(n(354))/2)+parseInt(n(348))/3*(parseInt(n(349))/4)+-parseInt(n(335))/5*(parseInt(n(361))/6)+-parseInt(n(367))/7*(parseInt(n(355))/8)+-parseInt(n(338))/9*(parseInt(n(356))/10)+-parseInt(n(337))/11+-parseInt(n(346))/12*(-parseInt(n(343))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(qi);class Yi extends t.Plugin{[Xi(350)](){const t=Xi,e=this[t(340)],n=e[t(365)],r=e[t(342)];if(!e[t(339)][t(351)](t(375)))return;const s=e[t(339)][t(334)](t(373)),o=t(353),i=e[t(370)][t(334)](o);s[t(376)](o,((e,r={})=>{const a=t,c=n[a(366)][a(341)];if(c[a(368)])return void e(r);const u=void 0!==r[a(357)]?r[a(357)]:!i[a(347)];n[a(360)]((()=>{const t=a,e=Array[t(358)](c[t(333)]());for(const r of e){const e=u?[r]:Os(o,r,n);for(const n of e)s[t(369)](n,{commandName:o,commandParams:[{forceValue:u}]})}}))})),s[t(371)][t(345)]((e=>{const n=t;if(n(336)!=e[n(344)]&&n(372)!=e[n(344)])return;const{data:s}=e;return s&&s[n(352)]==o?s[n(374)][0][n(357)]?{type:n(363),content:zr(r,n(359))}:{type:n(363),content:zr(r,n(364))}:void 0}))}}const Qi=Ji;function Zi(){const t=["definitions","2203914kCMoFf","element","formatBlock","_enableDefaultAttributesIntegration","TrackChangesEditing","format","type","has","FORMAT_STYLE","13055sYRgAz","1002438EOUEOK","plugins","editor","_registerInlineAttribute","getGhsAttributeNameForElement","GeneralHtmlSupport","formatInline","afterInit","_registerBlockAttribute","commandParams","_descriptionFactory","_registerLegacyDescription","1166039TzXKsd","get","4790230KRiOhz","11TVpbrM","StyleUtils","*Remove format:* %0","styleName","add","inline","registerDescriptionCallback","Style","normalizeConfig","registerAttributeLabel","8dDNDNc","1zrDyah","ghsAttributes","config","forceValue","commandName","1254XItsXC","*Set format:* %0","block","DataSchema","1062158TCYsBD","2410684wFqOPv","locale","style","toLowerCase"];return(Zi=function(){return t})()}function Ji(t,e){const n=Zi();return(Ji=function(t,e){return n[t-=298]})(t,e)}!function(t,e){const n=Ji,r=t();for(;;)try{if(496451===-parseInt(n(325))/1*(-parseInt(n(334))/2)+-parseInt(n(340))/3+-parseInt(n(335))/4+parseInt(n(298))/5*(parseInt(n(330))/6)+-parseInt(n(311))/7*(-parseInt(n(324))/8)+parseInt(n(299))/9+parseInt(n(313))/10*(parseInt(n(314))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Zi);class $i extends t.Plugin{[Qi(306)](){const t=Qi,e=this[t(301)];if(!e[t(300)][t(347)](t(321))||!e[t(300)][t(347)](t(333)))return;const n=e[t(300)][t(312)](t(344)),r=e[t(336)],s=e[t(327)][t(312)](t(337))||{},o=e[t(300)][t(312)](t(304)),i=e[t(300)][t(312)](t(315))[t(322)](e[t(300)][t(312)](t(333)),s[t(339)]);n[t(343)](t(337));const a=new Set;for(const e of i[t(332)]){const n=o[t(303)](e[t(341)]);a[t(318)](n)}const c=new Set;for(const e of i[t(319)]){const n=o[t(303)](e[t(341)]);c[t(318)](n);for(const n of e[t(326)])c[t(318)](n)}for(const e of a)n[t(307)](e),n[t(309)][t(323)](e,zr(r,t(348)));for(const e of c)n[t(302)](e),n[t(309)][t(323)](e,zr(r,t(348)));this[t(310)]()}[Qi(310)](){const t=Qi,e=this[t(301)],n=e[t(336)];e[t(300)][t(312)](t(344))[t(309)][t(320)]((e=>{const r=t;if(r(342)!=e[r(346)]&&r(305)!=e[r(346)])return;const{data:s}=e;return s&&r(337)===s[r(329)]?s[r(308)][0][r(328)]?{type:r(345),content:zr(n,r(331),s[r(308)][0][r(317)][r(338)]())}:{type:r(345),content:zr(n,r(316),s[r(308)][0][r(317)][r(338)]())}:void 0}))}}function ta(){const t=["from","toViewElement","nodeAfter","MIN_SAFE_INTEGER","isArray","_descriptionFactory","change","12261389LlZCmz","tableCell","highest","refresh","ELEMENT_TABLE_COLUMN","nodeBefore","execute","isEqual","type","above","getItems","insertTableColumnRight","downcastDispatcher","writer","getContainedElement","detach","tableRow","oldRange","every","getSelectionAffectedTableCells","fromRange","insertTableColumnLeft","commands","showSuggestionHighlights","_setupColumnsRowsFixing","registerPostFixer","tablePaste","hasAttribute","batch","minColumn","_acceptFormatSuggestionCallbackFactory","discard","createRangeIn","insertTable","insertion","filter","enableCommand","has","change:data","markMultiRangeDeletion","map","order","createTableWalker","classes","getSuggestion","item","left","afterInit","*Remove:* %0","getRowIndexes","8DvYDSs","mapper","push","isIntersectingWithRange","locale","last","createPositionAt","ELEMENT_TABLE","tableColumn","_getSuggestionCoords","selectTableRow","24358444YoNkXA","addRange","table","$textProxy","model","registerElementLabel","getChildren","span","start","max","name","element","some","deletion","isInContent","minRow","registerCustomCallback","_tablePostFixingSubtypes","addMarker:suggestion","isTouching","toLowerCase","editor","selectTableColumn","ELEMENT_TABLE_ROW_WITH_TEXT","removeClass","position","suggestion","rootName","setSelection","min","_splitMarkerName","MAX_SAFE_INTEGER","colspan","removeTableRow","accept","first","data","11915704zEFQMg","11292NPZDqr","8254sMZgCj","ELEMENT_TABLE_ROW","TableUtils","*Insert:* %0","low","plugins","includes","_getCoordsForCells","registerDescriptionCallback","subType","$graveyard","enqueueChange","_tableSuggestions","substr","getChangedMarkers","getColumnIndexes","6936580lruAHY","insert","10pbDaXd","ELEMENT_TABLE_COLUMN_WITH_TEXT","getChanges","createRangeOn","get","TrackChangesEditing","selection","getFirstRange","options","maxColumn","removeTableColumn","add","end","length","6uPotHD","TableEditing","join","root","_suggestionFactory","forceValue","16224588kaloCJ","insertTableRowBelow","startsWith","getAttribute","cell","document","getRanges","rowspan","values","getCellLocation","addClass","findAncestor","differ","maxRow","markMultiRangeInsertion","ELEMENT_TABLE_WITH_TEXT","insertTableRowAbove","609GQDAGT"];return(ta=function(){return t})()}const ea=na;function na(t,e){const n=ta();return(na=function(t,e){return n[t-=145]})(t,e)}!function(t,e){const n=na,r=t();for(;;)try{if(902049===parseInt(n(173))/1*(parseInt(n(286))/2)+-parseInt(n(228))/3*(parseInt(n(172))/4)+-parseInt(n(189))/5+-parseInt(n(205))/6*(-parseInt(n(236))/7)+parseInt(n(171))/8+parseInt(n(211))/9+-parseInt(n(191))/10*(parseInt(n(297))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ta);class ra extends t.Plugin{constructor(t){const e=na;super(t),this[e(151)]=[e(252),e(294)],this[e(185)]=new Set}[ea(283)](){const t=ea,e=this[t(155)],n=e[t(301)][t(216)][t(197)];if(!e[t(178)][t(273)](t(206)))return;const r=e[t(290)],s=e[t(178)][t(195)](t(196)),o=e[t(178)][t(195)](t(175));s[t(234)][t(302)](t(299),(e=>zr(r,t(293),e))),this[t(260)](),s[t(272)](t(269)),s[t(272)](t(296)),s[t(272)](t(156));for(const r of[t(227),t(212)]){const i=e[t(258)][t(195)](r);s[t(272)](r,(r=>{const a=t;e[a(301)][a(235)]((t=>{const e=a;r();const c=e(245)===i[e(277)],u=o[e(255)](n),l=o[e(285)](u),f=c?l[e(169)]-1:l[e(291)]+1,h=u[0][e(222)](e(299)),g=o[e(278)](h,{startRow:f,endRow:f}),d=Array[e(229)](g)[e(276)]((n=>t[e(194)](n[e(215)])));s[e(225)](d,e(252))}))}))}for(const r of[t(257),t(247)]){const i=e[t(258)][t(195)](r);s[t(272)](r,(r=>{const a=t;e[a(301)][a(235)]((t=>{const e=a;r();const c=e(282)===i[e(277)],u=o[e(255)](n),l=o[e(188)](u),f=c?l[e(169)]-1:l[e(291)]+1,h=u[0][e(222)](e(299)),g=o[e(278)](h,{startRow:0,column:f,includeAllSlots:!1}),d=Array[e(229)](g)[e(276)]((n=>t[e(194)](n[e(215)])));s[e(225)](d,e(294))}))}))}for(const r of[t(167),t(201)]){const i=r[t(186)](11),a=i[t(154)](),c=a[t(186)](0,3)+t(304),u=t(299)+i,l=t(163)+i,f=t(306)+i;s[t(272)](r,(()=>{const i=t;e[i(301)][i(235)]((t=>{const e=i,h=o[e(255)](n),g=h[0][e(222)](e(299));let d;if(e(167)==r){const t=o[e(285)](h);d={startRow:t[e(169)],endRow:t[e(291)],includeAllSlots:!0}}else{const t=o[e(188)](h);d={startColumn:t[e(169)],endColumn:t[e(291)],includeAllSlots:!0}}const p=o[e(278)](g,d),m=Array[e(229)](p)[e(276)]((({cell:t})=>t)),I=sa(m[e(271)]((t=>t[e(263)](c)))),E=sa(m[e(271)]((t=>!t[e(263)](c))))[e(276)]((n=>t[e(194)](n))),b=s[e(275)](E,u);if(b&&(e(252)==b[e(182)]||e(294)==b[e(182)])){const n=this[e(295)](b);for(const r of I){const s=t[e(194)](r),i=o[e(220)](r),u=r[e(214)](c)-1,h=n[l],g=n[f];h<=i[a]&&i[a]+u<=g&&b[e(298)](s)}}}))}))}function c(r){const s=t,o=Array[s(229)](n[s(217)]())[s(276)]((t=>i.LiveRange[s(256)](t)));e[s(301)][s(235)]((t=>{const n=s,i=t[n(264)];r=r[n(271)]((t=>n(183)!=t[n(208)][n(161)])),t[n(162)](r),e[n(258)][n(195)](n(167))[n(239)](),e[n(242)](n(167),{forceDefaultExecution:!0}),e[n(301)][n(184)]((()=>{const t=n;e[t(301)][t(184)](i,(e=>{const n=t,r=o[n(271)]((t=>n(183)!=t[n(208)][n(161)]));r[n(204)]>0&&e[n(162)](r);for(const t of o)t[n(251)]()}))}))}))}function u(r){const s=t;e[s(301)][s(235)]((t=>{const o=s,a=Array[o(229)](n[o(217)]())[o(276)]((t=>i.LiveRange[o(256)](t))),c=[];for(const t of r)for(const e of t[o(246)]({shallow:!0}))c[o(288)](e);for(const n of c)o(183)!=n[o(208)][o(161)]&&(t[o(162)](t[o(292)](n,0)),e[o(258)][o(195)](o(201))[o(239)](),e[o(242)](o(201),{forceDefaultExecution:!0}));const u=a[o(271)]((t=>o(183)!=t[o(208)][o(161)]));u[o(204)]>0&&t[o(162)](u);for(const t of a)t[o(251)]()}))}function l(e,n){const r=t;return n[r(254)]((t=>e[r(146)]((e=>e[r(203)][r(243)](t[r(305)])||t[r(203)][r(243)](e[r(305)])))))}function f(e,n){const r=t;return e[r(146)]((t=>n[r(146)]((e=>t[r(203)][r(153)](e[r(305)])))))}e[t(170)][t(248)].on(t(152),((e,n,r)=>{const s=t;if(!r[s(199)][s(259)])return;const o=n[s(281)];if(!o)return;const i=r[s(287)][s(230)](o);function c(t){return Array[s(233)](t)?t:[t]}i&&s(237)===o[s(307)]&&(0,a.setHighlightHandling)(i,r[s(249)],((t,e,n)=>n[s(221)](c(e[s(279)]),t)),((t,e,n)=>n[s(158)](c(e[s(279)]),t)))}),{priority:t(238)}),s[t(234)][t(181)]((e=>{const n=t;if(n(270)!=e[n(244)]&&n(147)!=e[n(244)])return;const s=e[n(250)]();if(null!=s&&s.is(n(145),n(299))){if(n(270)==e[n(244)]){const t=e[n(246)]()[n(271)]((t=>t.is(n(300))))[n(276)]((t=>t[n(170)]));if(t[n(204)])return{type:n(270),content:zr(r,n(176),zr(r,n(226),'"'+t[n(207)](" ")+'"'))}}if(n(147)==e[n(244)]){const t=e[n(246)]()[n(271)]((t=>t.is(n(300))))[n(276)]((t=>t[n(170)]));if(t[n(204)])return{type:n(147),content:zr(r,n(284),zr(r,n(226),'"'+t[n(207)](" ")+'"'))}}}})),s[t(234)][t(181)]((e=>{const n=t;if(n(252)==e[n(182)]){const t=e[n(246)]()[n(271)]((t=>t.is(n(300))))[n(276)]((t=>t[n(170)])),s=this[n(295)](e),o=s[n(224)]-s[n(149)]+1;if(n(270)==e[n(244)])return t[n(204)]?{type:n(270),content:zr(r,n(176),zr(r,n(157),[o,'"'+t[n(207)](" ")+'"']))}:{type:n(270),content:zr(r,n(176),zr(r,n(174),o))};if(n(147)==e[n(244)])return t[n(204)]?{type:n(147),content:zr(r,n(284),zr(r,n(157),[o,'"'+t[n(207)](" ")+'"']))}:{type:n(147),content:zr(r,n(284),zr(r,n(174),o))}}if(n(294)==e[n(182)]){const t=e[n(246)]()[n(271)]((t=>t.is(n(300))))[n(276)]((t=>t[n(170)])),s=this[n(295)](e),o=s[n(200)]-s[n(265)]+1;if(n(270)==e[n(244)])return t[n(204)]?{type:n(270),content:zr(r,n(176),zr(r,n(192),[o,'"'+t[n(207)](" ")+'"']))}:{type:n(270),content:zr(r,n(176),zr(r,n(240),o))};if(n(147)==e[n(244)])return t[n(204)]?{type:n(147),content:zr(r,n(284),zr(r,n(192),[o,'"'+t[n(207)](" ")+'"']))}:{type:n(147),content:zr(r,n(284),zr(r,n(240),o))}}})),s[t(209)][t(150)](t(270),t(252),t(267),c),s[t(209)][t(150)](t(147),t(252),t(168),c),s[t(209)][t(150)](t(270),t(294),t(267),u),s[t(209)][t(150)](t(147),t(294),t(168),u),s[t(209)][t(150)](t(270),t(294),t(207),l),s[t(209)][t(150)](t(147),t(294),t(207),l),s[t(209)][t(150)](t(270),t(252),t(207),f),s[t(209)][t(150)](t(147),t(252),t(207),f)}[ea(266)](){const t=ea,e=this[t(155)],n=e[t(301)][t(216)][t(197)];return(r,s)=>{const o=t;e[o(301)][o(235)]((t=>{const a=o,{commandName:c,commandParams:u}=s;let l=r[0][a(203)][a(241)];u&&u[0]&&!1===u[0][a(210)]&&(l=r[0][a(305)][a(231)]);const f=t[a(268)](l);if(a(183)==f[a(208)][a(161)])return;const h=Array[a(229)](n[a(217)]())[a(276)]((t=>i.LiveRange[a(256)](t)));t[a(162)](f),e[a(258)][a(195)](c)[a(239)](),u[a(288)]({forceDefaultExecution:!0}),e[a(242)](c,...u);const g=h[a(271)]((t=>a(183)!=t[a(208)][a(161)]));g[a(204)]>0&&t[a(162)](g);for(const t of h)t[a(251)]()}))}}[ea(180)](t){const e=ea,n=this[e(155)][e(178)][e(195)](e(175));let r=Number[e(165)],s=Number[e(232)],o=Number[e(165)],i=Number[e(232)];for(const a of t){if(e(183)==a[e(208)][e(161)])continue;const{row:t,column:c}=n[e(220)](a),u=a[e(263)](e(218))?a[e(214)](e(218))-1:0,l=a[e(263)](e(166))?a[e(214)](e(166))-1:0;r=t<r?t:r,s=t+u>s?t+u:s,o=c<o?c:o,i=c+l>i?c+l:i}return{minRow:r,maxRow:s,minColumn:o,maxColumn:i}}[ea(260)](){const t=ea,e=this[t(155)],n=e[t(178)][t(195)](t(196)),r=e[t(178)][t(195)](t(175));e[t(301)][t(216)].on(t(274),(()=>{const r=t,s=Array[r(229)](e[r(301)][r(216)][r(223)][r(187)]());for(const{name:t,data:e}of s){const{group:s,id:o,subType:i}=n[r(164)](t);if(r(160)!=s)continue;if(null!=e[r(253)])continue;const a=n[r(280)](o);this[r(151)][r(179)](i)&&this[r(185)][r(202)](a)}}),{priority:t(177)});const s=(e,n)=>{const s=t;let o=!1;const i=n[s(194)](e),a=e[s(222)](s(299)),c=r[s(220)](e);for(const t of this[s(185)]){const n=t[s(182)],r=n[s(213)](s(262)),u=n[s(186)](r?10:5),l=u[s(154)](),f=l[s(186)](0,3)+s(304),h=s(163)+u,g=s(306)+u;if(!t[s(148)])continue;if(a!=t[s(198)]()[s(305)][s(222)](s(299)))continue;if(t[s(289)](i))continue;const d=e[s(263)](f)?e[s(214)](f)-1:0,p=this[s(295)](t),m=p[h],I=p[g];m<=c[l]&&c[l]+d<=I&&(t[s(298)](i),o=!0)}return o};e[t(301)][t(216)][t(261)]((n=>{const r=t;let o=!1;for(const t of e[r(301)][r(216)][r(223)][r(193)]())if(r(190)==t[r(244)])if(r(252)==t[r(307)])for(const e of t[r(159)][r(231)][r(303)]())o=o||s(e,n);else r(237)==t[r(307)]&&(o=o||s(t[r(159)][r(231)],n));return o}))}[ea(295)](t){const e=ea;return this[e(180)](t[e(217)]()[e(276)]((t=>t[e(305)][e(231)])))}}function sa(t){const e=ea;return Array[e(229)](new Set(t)[e(219)]())}const oa=ia;function ia(t,e){const n=aa();return(ia=function(t,e){return n[t-=440]})(t,e)}function aa(){const t=["findAncestor","from","element","refresh","afterInit","*Merge cells*","highest","set:isEnabled","getAncestors","_acceptFormatSuggestionCallbackFactory","execute","13974FRpdwD","mergeTableCellUp","plugins","direction","model","deletion","tableCell","394121GIgAgP","7570440zvNfYz","subType","createTableWalker","TrackChangesEditing","has","registerCustomCallback","length","insertion","7562376MURjKI","get","commandName","mergeTableCellDown","accept","author","map","filter","getSuggestions","value","_suggestionFactory","124JiCQgT","stop","size","isInContent","mergeTableCellRight","isEnabled","containsRange","getCellLocation","markMultiRangeBlockFormat","createRangeOn","TableEditing","horizontally","editor","cell","*Split cell:* horizontally","enableCommand","requires","getRanges","forceDefaultExecution","_areMergableCells","commands","getSelectionAffectedTableCells","14CSXxWX","_areSelectedCellsMergable","splitTableCellHorizontally","rootName","low","_descriptionFactory","push","trackChanges","document","formatBlock","177405WqPeTS","change","detach","table","530406qVjuEN","getFirstPosition","type","selection","_isForcedDefaultExecutionBlock","splitTableCellVertically","$graveyard","1953PBHDBo","TableUtils","format","find","add","mergeTableCells","return","registerDescriptionCallback","_tablePostFixingSubtypes","markBlockFormat","*Split cell:* vertically","locale","mergeTableCellLeft","833724khHjwQ","root","formatInline","fromRange","setSelection"];return(aa=function(){return t})()}!function(t,e){const n=ia,r=t();for(;;)try{if(625320===parseInt(n(455))/1+-parseInt(n(497))/2*(parseInt(n(511))/3)+parseInt(n(475))/4*(parseInt(n(507))/5)+-parseInt(n(448))/6*(-parseInt(n(518))/7)+-parseInt(n(464))/8+-parseInt(n(531))/9+parseInt(n(456))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(aa);class ca extends t.Plugin{static get[oa(491)](){return[ra]}[oa(441)](){const t=oa,e=this[t(487)],n=e[t(452)][t(505)][t(514)],r=e[t(529)];if(!e[t(450)][t(460)](t(485)))return;const s=e[t(450)][t(465)](t(459)),o=e[t(450)][t(465)](t(519)),a=e[t(450)][t(465)](ra);a[t(526)][t(503)](t(523)),s[t(490)](t(523),(()=>{const n=t,r=o[n(496)](e[n(452)][n(505)][n(514)]);e[n(452)][n(508)]((()=>{const t=n;s[t(483)](r,{commandName:t(523),commandParams:[]},[],t(523))}))})),e[t(495)][t(465)](t(523)).on(t(447),((n,r)=>{const o=t;e[o(495)][o(465)](o(504))[o(473)]&&(r[o(462)]>0&&r[r[o(462)]-1]&&r[r[o(462)]-1][o(493)]||s[o(515)]||this[o(498)]()||n[o(476)]())}),{priority:t(443)});for(const n of[t(449),t(479),t(467),t(530)]){const r=e[t(495)][t(465)](n);s[t(490)](n,(()=>{const n=t,o=e[n(452)][n(505)][n(514)][n(512)]()[n(445)]()[n(521)]((t=>t.is(n(538),n(454)))),i=r[n(473)];e[n(452)][n(508)]((()=>{const t=n;s[t(483)]([o,i],{commandName:t(523),commandParams:[]},[],t(523))}))}))}for(const n of[t(516),t(499)]){const r=e[t(495)][t(465)](n);s[t(490)](n,(()=>{const i=t,a=o[i(496)](e[i(452)][i(505)][i(514)])[0],c=a[i(536)](i(510)),{column:u,row:l}=o[i(482)](a);let f=[];if(i(486)==r[i(451)]){const t=o[i(458)](c,{startRow:l,endRow:l,includeAllSlots:!0});f=Array[i(537)](t)[i(470)]((t=>t[i(488)]))}else{const t=o[i(458)](c,{column:u,includeAllSlots:!0});f=Array[i(537)](t)[i(470)]((t=>t[i(488)]))}e[i(452)][i(508)]((t=>{const e=i;s[e(527)](t[e(484)](a),{commandName:n,commandParams:[]},f,n)}))}))}s[t(502)][t(525)]((e=>{const n=t;if(n(506)!=e[n(513)]&&n(533)!=e[n(513)])return;const{data:s}=e;return s&&n(523)==s[n(466)]?{type:n(520),content:zr(r,n(442))}:void 0})),s[t(502)][t(525)]((e=>{const n=t;if(n(506)!=e[n(513)]&&n(533)!=e[n(513)])return;const{data:s}=e;return s?n(516)==s[n(466)]?{type:n(520),content:zr(r,n(528))}:n(499)==s[n(466)]?{type:n(520),content:zr(r,n(489))}:void 0:void 0}));const c=a[t(446)]();for(const e of[t(449),t(479),t(467),t(530)])s[t(474)][t(461)](t(506),e,t(468),c);for(const e of[t(516),t(499)])s[t(474)][t(461)](t(506),e,t(468),c);s[t(474)][t(461)](t(506),t(523),t(468),(r=>{const s=t;e[s(452)][s(508)]((t=>{const o=s,a=Array[o(537)](n[o(492)]())[o(470)]((t=>i.LiveRange[o(534)](t)));t[o(535)](r),e[o(495)][o(465)](o(523))[o(440)](),e[o(447)](o(523),{forceDefaultExecution:!0});const c=a[o(471)]((t=>o(517)!=t[o(532)][o(500)]));c[o(462)]>0&&t[o(535)](c);for(const t of a)t[o(509)]()}))}));for(const n of[t(449),t(467),t(530),t(479)]){const r=e[t(495)][t(465)](n);r.on(t(444),((n,s,o)=>{const i=t;if(o){const t=e[i(452)][i(505)][i(514)][i(512)]()[i(445)]()[i(521)]((t=>t.is(i(538),i(454))));this[i(494)](r[i(473)],t)||(n[i(524)]=!1,n[i(476)]())}}),{priority:t(501)})}}[oa(498)](){const t=oa,e=this[t(487)][t(495)][t(465)](t(523)),n=this[t(487)][t(450)][t(465)](t(519));if(!e[t(480)])return!1;const r=n[t(496)](this[t(487)][t(452)][t(505)][t(514)]);for(const e of r)for(const n of r)if(e!=n&&!this[t(494)](e,n))return!1;return!0}[oa(494)](t,e){const n=oa,r=this[n(487)][n(450)][n(465)](n(459)),s=this[n(487)][n(452)][n(484)](t),o=this[n(487)][n(452)][n(484)](e),i=new Set,a=new Set;for(const t of r[n(472)]())if((n(463)==t[n(513)]||n(453)==t[n(513)]||n(523)==t[n(457)])&&t[n(478)])for(const e of t[n(492)]())e[n(481)](s,!0)&&i[n(522)](t[n(513)]+":"+t[n(469)].id),e[n(481)](o,!0)&&a[n(522)](t[n(513)]+":"+t[n(469)].id);if(i[n(477)]!=a[n(477)])return!1;for(const t of i)if(!a[n(460)](t))return!1;return!0}}const ua=la;function la(t,e){const n=fa();return(la=function(t,e){return n[t-=142]})(t,e)}function fa(){const t=["consumable","commandParams","setAttribute","FORMAT_REGULAR_COLUMN","_suggestionFactory","_enableDefaultAttributesIntegration","data","7VWKanK","headingRows","_registerLegacyDescription","_descriptionFactory","showSuggestionHighlights","_splitMarkerName","afterInit","locale","start","plugins","registerCustomCallback","stop","downcastDispatcher","end","createTableWalker","ck-suggestion-marker-","12BmVhEN","requires","data-suggestion","16489340NRQRHz","1227hFosjv","registerAttributeLabel","highest","format","forceValue","has","getCellLocation","removeClass","editor","activeMarkers","_acceptFormatSuggestionCallbackFactory","cell","1150040jiOIjS","get","ck-suggestion-marker--active","setTableRowHeader","addClass","getSuggestion","mapper","FORMAT_REGULAR_ROW","consume","options","setTableColumnHeader","580527yADPpm","272034EpKFZV","registerDescriptionCallback","name","bindElementToMarker","includes","commandName","80nlZjMa","addMarker:suggestion","nodeBefore","accept","7498hxNeKQ","FORMAT_HEADER_COLUMN","writer","FORMAT_HEADER_ROW","markerName","unbindElementFromMarkerName","removeMarker:suggestion","type","toViewElement","parent","nodeAfter","TableEditing","markerNameToElements","12VfnfqP","formatBlock","_handleLegacySuggestions","TableUtils","removeAttribute","68559238cxxUTa","item","473515ChSfxF","markerRange","*Format:* %0","headingColumns","editing","TrackChangesEditing"];return(fa=function(){return t})()}!function(t,e){const n=la,r=t();for(;;)try{if(925865===-parseInt(n(171))/1+parseInt(n(193))/2*(-parseInt(n(159))/3)+-parseInt(n(155))/4*(parseInt(n(213))/5)+-parseInt(n(183))/6*(parseInt(n(226))/7)+parseInt(n(189))/8*(-parseInt(n(182))/9)+-parseInt(n(158))/10+-parseInt(n(211))/11*(-parseInt(n(206))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(fa);class ha extends t.Plugin{static get[ua(156)](){return[ra]}[ua(145)](){const t=ua,e=this[t(167)];if(!e[t(148)][t(164)](t(204)))return;const n=e[t(146)],r=e[t(148)][t(172)](t(218));r[t(224)](t(174),[],[t(227)]),r[t(224)](t(181),[],[t(216)]),r[t(142)][t(160)](t(227),zr(n,t(196))),r[t(142)][t(160)](t(216),zr(n,t(194))),this[t(208)]()}[ua(208)](){const t=ua,e=this[t(167)][t(148)][t(172)](t(218)),n=this[t(167)][t(148)][t(172)](t(209)),r=this[t(167)][t(148)][t(172)](ra)[t(169)]();function s({showActiveMarker:t=!0,setDataAttribute:r=!0}={}){return(s,o,i)=>{const a=la,{type:c,id:u}=e[a(144)](o[a(197)]),l=e[a(176)](u),f=l[a(225)];if(a(207)!=l[a(200)]||!f||a(181)!=f[a(188)])return;if(o[a(212)])return void s[a(150)]();if(!i[a(219)][a(179)](o[a(214)],s[a(185)]))return;const h=o[a(214)][a(147)][a(203)],g=o[a(214)][a(152)][a(191)],d=h[a(202)][a(202)],{column:p}=n[a(165)](h),{column:m}=n[a(165)](g);for(let s=p;s<=m;s++){const l=n[a(153)](d,{column:s,includeAllSlots:!1});for(const n of l){const s=n[a(170)],l=i[a(177)][a(201)](s);i[a(195)][a(175)](a(154)+c,l),r&&i[a(195)][a(221)](a(157),u,l),i[a(177)][a(186)](l,o[a(197)]),t&&(e[a(168)][a(187)](o[a(197)])?i[a(195)][a(175)](a(173),l):i[a(195)][a(166)](a(173),l))}}}}e[t(223)][t(149)](t(207),t(174),t(192),r),e[t(223)][t(149)](t(207),t(181),t(192),r),this[t(167)][t(217)][t(151)].on(t(190),s(),{priority:t(161)}),this[t(167)][t(225)][t(151)].on(t(190),((e,n,r)=>{const o=t;r[o(180)][o(143)]&&s({showActiveMarker:!1,setDataAttribute:!1})(e,n,r)}),{priority:t(161)}),this[t(167)][t(217)][t(151)].on(t(199),((n,r,s)=>{const o=t,{type:i,id:a}=e[o(144)](r[o(197)]),c=e[o(176)](a),u=c[o(225)];if(o(207)!=c[o(200)]||!u||o(181)!=u[o(188)])return;const l=s[o(177)][o(205)](r[o(197)]);if(l)for(const t of l)s[o(195)][o(166)](o(154)+i,t),s[o(195)][o(166)](o(173),t),s[o(195)][o(210)](o(157),t),s[o(177)][o(198)](t,r[o(197)])}),{priority:t(161)}),this[t(228)]()}[ua(228)](){const t=ua,e=this[t(167)],n=e[t(146)];function r(e){const r=t;return{type:r(162),content:zr(n,r(215),e)}}e[t(148)][t(172)](t(218))[t(142)][t(184)]((e=>{const s=t;if(s(207)!=e[s(200)])return;const{data:o}=e;if(o){if(s(174)==o[s(188)]){const t=o[s(220)][0][s(163)];return r(zr(n,s(t?196:178)))}if(s(181)==o[s(188)]){const t=o[s(220)][0][s(163)];return r(zr(n,s(t?194:222)))}}}))}}function ga(){const t=["_suggestionFactory","rows","removeMarkers","end","14bQjunQ","TableClipboard","model","getChild","batch","createPositionBefore","tableCellHorizontalAlignment","has","markMultiRangeBlockFormat","some","insertionRanges","getChildren","902310OIzxnJ","ck-suggestion-marker--active","getSuggestionCallback","for","set","wrap","getRange","388860WocyYc","subType","getColumns","insertRows","tableCellBorderColor","forEach","deletionRanges","$graveyard","getTableIfOnlyTableInContent","suggestion-td","table","previousSibling","from","TableUtils","setAttributes","1524YuJiLA","change","getItems","ck-suggestion-marker","_splitMarkerName","2900028KrMbMT","columnInsertionRanges","includes","tablePasteChainId","element","move","suggestionUnloaded","dataDowncast","hasSuggestion","requires","suggestion","isEqual","markMultiRangeInsertion","_replaceTableSlotCell","tablePasteColumn","markerAttributes","showSuggestionHighlights","tablePasteRow","call","options","name","markerToHighlight","column","redo","ck-suggestion-marker-insertion","Users","root","getContainedElement","get","getSuggestion","endRow","map","clipboardOutput","tableCellBackgroundColor","insertion","deletion","*Replace table cells*","document","registerPostFixer","markers","_isForcedDefaultExecutionBlock","keys","_tablePostFixingSubtypes","editingDowncast","commands","createRange","updateMarker","suggestion:formatBlock:tablePasteCell","selection","tablePaste","author","insertContent","378CvWSza","accept","cells","removeRows","listenTo","insertColumns","find","_createdBatches","view","nodeAfter","createRangeIn","tableCell","_descriptionFactory","paragraph","getColumnIndexes","formatBlock","documentSelection","locale","editor","detach","endColumn","unwrap","fromEntries","register","activeMarkers","TrackChangesEditing","push","registerCustomCallback","columnInsertionIndexes","stop","setAttribute","getAttributes","oldRange","6203695YiKGxn","getMarkers","1568778FRYUWL","afterInit","tableCellPadding","type","tableCellVerticalAlignment","remove","isEmpty","getRows","return","rowInsertionIndexes","containsRange","previous","registerDescriptionCallback","removeColumns","nextSibling","join","tableCellBorderStyle","plugins","createTableWalker","7452fFvYJi","row","high","discard","last","getSelectionAffectedTableCells","getShiftedBy","differ","first","fromRange","markerName","value","createRangeOn","length","content","attributes","6272QABGbe","trackChanges","getSuggestions","getAllAdjacentSuggestions","findAncestor","insert","forceDefaultExecution","getRanges","next","schema","getRowIndexes","low","suggestionLoaded","rootName","position","editing","every","rowInsertionRanges","columns","tableCellSuggestion","newRange","getChanges","cell","conversion","isInContent","_getCoordsForCells","add","reduce","markMultiRangeDeletion","createElement","getChangedMarkers","entries","tableCellBorderWidth","fill","tablePasteCell","start","filter","elementToElement","startsWith","removeMarker"];return(ga=function(){return t})()}const da=pa;function pa(t,e){const n=ga();return(pa=function(t,e){return n[t-=311]})(t,e)}!function(t,e){const n=pa,r=t();for(;;)try{if(942428===parseInt(n(386))/1+parseInt(n(504))/2+parseInt(n(405))/3*(parseInt(n(499))/4)+-parseInt(n(384))/5+-parseInt(n(477))/6+-parseInt(n(465))/7*(-parseInt(n(421))/8)+-parseInt(n(351))/9*(parseInt(n(484))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(ga);const ma=[da(453),da(488),da(402),da(471),da(390),da(332),da(388)],Ia=Object[da(373)](ma[da(330)]((t=>[t,null])));class Ea extends t.Plugin{static get[da(513)](){return[ra]}[da(387)](){const t=da,n=this[t(369)];if(!n[t(403)][t(472)](t(466)))return;const r=n[t(403)][t(327)](t(376)),s=n[t(403)][t(327)](t(497)),o=n[t(403)][t(327)](ra),a=n[t(403)][t(327)](t(466));o[t(341)][t(377)](t(316),t(313)),n[t(467)][t(430)][t(374)](t(440),{allowIn:t(362),allowContentOf:t(362),isLimit:!0}),n[t(444)][t(458)]({model:t(440),view:t(493)});let c=null;n[t(467)].on(t(350),((o,i)=>{const u=t,[l,f]=i,h=i[i[u(418)]-1];h&&h[u(427)]||r[u(339)]||this[u(369)][u(343)][u(327)](u(422))[u(416)]&&function(t,e,n,r,s){const o=u;if(e&&!e.is(o(367)))return!1;const i=s[o(492)](t,n);if(!i||!Ta(i,void 0,r))return!1;const a=r[o(410)](n[o(336)][o(347)]);if(!a[o(418)])return!1;const c=a[0][o(425)](o(494)),l=r[o(431)](a),f=r[o(365)](a),h={startRow:l[o(413)],endRow:l[o(409)],startColumn:f[o(413)],endColumn:f[o(409)]};return 1==a[o(418)]&&(h[o(329)]+=r[o(393)](i)-1,h[o(371)]+=r[o(486)](i)-1),Ta(c,h,r)}(l,f,n[u(467)],s,a)&&(o[u(380)](),c={cells:[],insertionRanges:[],deletionRanges:[],rowInsertionRanges:[],rowInsertionIndexes:[],columnInsertionRanges:[],columnInsertionIndexes:[]},n[u(467)][u(500)]((()=>{const t=u;n[t(467)][t(350)](i[0],i[1],i[2],{forceDefaultExecution:!0});const s=(0,e.uid)(),{rowInsertionRanges:o,columnInsertionRanges:a,insertionRanges:l,deletionRanges:f,cells:h}=c;o[t(418)]&&r[t(311)](o,t(316),{tablePasteChainId:s}),a[t(418)]&&r[t(311)](a,t(313),{tablePasteChainId:s}),l[t(418)]&&(r[t(311)](l,t(348),{tablePasteChainId:s,skipNestingCheck:!0}),l[t(489)]((e=>{const n=t;var r;return null===(r=e[n(370)])||void 0===r?void 0:r[n(317)](e)}))),f[t(418)]&&(r[t(449)](f,t(348),{tablePasteChainId:s,skipNestingCheck:!0}),f[t(489)]((e=>{const n=t;var r;return null===(r=e[n(370)])||void 0===r?void 0:r[n(317)](e)})));const g=r[t(473)](h[t(330)]((({element:t})=>t)),{formatGroupId:(0,e.uid)()},[],t(455),{tablePasteChainId:s});if(g){const e=g[t(385)](),r=[];for(const{element:s,attributes:o}of h){if(!o)continue;const i=n[t(467)][t(417)](s),a=e[t(357)]((e=>e[t(483)]()[t(515)](i)));a&&r[t(377)]([a[t(319)],o])}r[t(418)]&&g[t(381)](t(314),Object[t(373)](r))}c=null})))}),{priority:e.priorities[t(407)]+10}),n[t(403)][t(327)](t(466)).on(t(312),((e,n)=>{const r=t,[s,o,,a]=n;if(!c)return;e[r(380)]();const u=s[r(443)],l=o,f=ba(u),h=ba(l);e[r(394)]=u;let g=null,d=null;if(h||f)if(f&&!h){a[r(391)](u[r(468)](0));for(const t of Array[r(496)](l[r(476)]()))a[r(426)](t,u,r(464));const t=c[r(395)][r(506)](s[r(406)]),e=c[r(379)][r(506)](s[r(321)]);t||e||(g=i.LiveRange[r(414)](a[r(361)](u)))}else h&&!f&&(d=a[r(361)](u));else{const t=a[r(450)](r(440)),e=a[r(450)](r(440));a[r(482)](a[r(361)](u),e),a[r(426)](t,u,0);for(const e of Array[r(496)](l[r(476)]()))a[r(426)](e,t,r(464));g=i.LiveRange[r(414)](a[r(417)](t)),d=i.LiveRange[r(414)](a[r(417)](e))}const p=Array[r(496)](l[r(382)]())[r(457)]((([t])=>ma[r(506)](t)));c[r(353)][r(377)]({element:u,attributes:p[r(418)]?Object[r(373)](p):null}),g&&c[r(475)][r(377)](g),d&&c[r(490)][r(377)](d)}),{priority:t(407)}),s.on(t(356),((e,r)=>{const o=t,[i,a={}]=r;if(!c)return;const u=a.at||0,l=a[o(439)]||1;c[o(379)]=new Array(l)[o(454)](u)[o(330)](((t,e)=>t+e));for(const{cell:t}of s[o(404)](i,{startColumn:u,endColumn:u+l-1}))c[o(505)][o(377)](n[o(467)][o(417)](t))}),{priority:t(432)}),s.on(t(487),((e,r)=>{const o=t,[i,a={}]=r;if(!c)return;const u=a.at||0,l=a[o(462)]||1;c[o(395)]=new Array(l)[o(454)](u)[o(330)](((t,e)=>t+e));for(const{cell:t}of s[o(404)](i,{startRow:u,endRow:u+l-1}))c[o(438)][o(377)](n[o(467)][o(417)](t))}),{priority:t(432)}),r[t(363)][t(398)]((e=>{const r=t;if(e[r(485)]&&e[r(485)][r(459)](r(348)))return e[r(397)]?{}:{type:r(333),content:zr(n[r(368)],r(335))}}));const u=()=>!1;for(const e of[t(348),t(313),t(316),t(455)])r[t(461)][t(378)](t(333),e,t(401),u),r[t(461)][t(378)](t(334),e,t(401),u),r[t(461)][t(378)](t(366),e,t(401),u);r[t(461)][t(378)](t(366),t(455),t(408),u),r[t(461)][t(378)](t(366),t(455),t(352),((e,r,s)=>{const o=t,i=e[o(330)]((t=>t[o(326)]()))[o(457)]((t=>t)),a=new Map(i[o(330)]((t=>[t,null])));if(c)for(const{element:t,attributes:e}of c[o(353)])e&&a[o(481)](t,e);else if(s&&s[o(314)])for(const[t,e]of Object[o(452)](s[o(314)])){const r=n[o(467)][o(338)][o(327)](t),s=r?r[o(483)]()[o(326)]():null;s&&a[o(481)](s,e)}n[o(467)][o(500)]((t=>{const e=o;for(const[n,r]of a)t[e(498)]({...Ia,...r},n)}))}));const l=(e,s)=>{const o=t;r[o(461)][o(378)](e,o(348),s,((t,i,a)=>{const c=o;n[c(467)][c(500)]((n=>{const o=c,u=[];for(const e of t){const t=e[o(456)][o(360)];t.is(o(508),o(440))&&u[o(377)](t)}r[o(461)][o(479)](e,null,s)(t,i,a);for(const t of u)o(491)!=t[o(325)][o(434)]&&n[o(372)](t)}))}))};l(t(333),t(352)),l(t(333),t(408)),l(t(334),t(352)),l(t(334),t(408)),r[t(461)][t(378)](t(333),t(316),t(408),(e=>{const n=t,r=e[n(330)]((t=>t[n(326)]())),i=r[0][n(425)](n(494)),{minRow:a,maxRow:c}=o[n(446)](r);s[n(354)](i,{at:a,rows:c-a+1})})),r[t(461)][t(378)](t(333),t(313),t(408),(e=>{const n=t,r=e[n(330)]((t=>t[n(326)]())),i=r[0][n(425)](n(494)),{minColumn:a,maxColumn:c}=o[n(446)](r);s[n(399)](i,{at:a,columns:c-a+1})}));const f=(e,n)=>{const s=t;if(!n[s(485)]||!n[s(485)][s(459)](s(348)))return;const o=n[s(420)][s(507)],i=r[s(423)]()[s(457)]((t=>t[s(445)]&&t[s(420)]&&t[s(420)][s(507)]==o));i[s(418)]&&n[s(424)]()[s(418)]!=i[s(418)]&&i[s(448)](((t,e)=>(t[s(429)]=e,e[s(397)]=t,e)))};function h(e,n=!0){const s=t,{id:o}=r[s(503)](e[s(415)]),i=[s(502),s(323)],a=r[s(375)][s(506)](e[s(415)]);return a&&i[s(377)](s(478)),{classes:i,attributes:{"data-suggestion":o},priority:a&&n?3010:3e3}}r.on(t(433),f,{priority:t(407)}),r.on(t(510),f,{priority:t(407)}),n[t(467)][t(336)][t(337)]((()=>{const e=t;let s=!1;const o=Array[e(496)](n[e(467)][e(336)][e(412)][e(451)]());for(const{name:t,data:i}of o){const{group:o,type:a,id:c}=r[e(503)](t);if(e(514)!=o||e(334)!=a||i[e(383)])continue;if(!r[e(512)](c))continue;const u=r[e(328)](c)[e(428)](),l=n[e(403)][e(327)](e(324)).me;for(const t of r[e(423)]())if(t[e(445)]&&t[e(349)]==l&&e(366)==t[e(389)]&&e(455)==t[e(485)]&&t[e(428)]()[e(437)]((t=>u[e(474)]((n=>n[e(396)](t,!0))))))for(const n of t[e(424)]())n[e(445)]&&(n[e(408)](),s=!0)}return s})),n[t(467)][t(336)][t(337)]((e=>{const s=t,o=n[s(343)][s(327)](s(322));if(!o||!o[s(358)][s(472)](e[s(469)]))return!1;let i=!1;const a=n[s(403)][s(327)](s(324)).me,c=n[s(467)][s(336)][s(412)][s(442)](),u=Array[s(496)](n[s(467)][s(336)][s(412)][s(451)]())[s(457)]((({name:t,data:e})=>{const n=s,{group:o,subType:i,authorId:c}=r[n(503)](t);return n(514)==o&&n(348)==i&&c==a.id&&!e[n(383)]}));for(const t of c){if(s(426)!=t[s(389)]||s(440)!=t[s(319)]||1!=t[s(418)])continue;const n=e[s(344)](t[s(435)],t[s(435)][s(411)](1));if(!u[s(357)]((({data:t})=>t[s(441)][s(515)](n))))for(const{name:t,data:r}of u)if(n[s(396)](r[s(441)])){e[s(345)](t,{range:n}),i=!0;break}}return i})),n[t(467)][t(336)][t(337)]((e=>{const s=t;let o=!1;const i=n[s(403)][s(327)](s(324)).me,a=r[s(423)]()[s(457)]((t=>t[s(445)]&&t[s(349)]==i)),c=new Set,u=new Set;for(const t of a)if(s(348)==t[s(485)])for(const e of t[s(385)]()){const n=e[s(483)]()[s(326)]();if(n)if(n.is(s(508),s(440))&&ba(n)){t[s(460)](e[s(319)]),c[s(447)](n),o=!0;const r=n[s(400)],i=n[s(495)],a=r&&r.is(s(508),s(440)),l=i&&i.is(s(508),s(440));a&&!c[s(472)](r)&&u[s(447)](r),l&&!c[s(472)](i)&&u[s(447)](i)}else n.is(s(508),s(364))&&n[s(392)]&&(t[s(460)](e[s(319)]),o=!0)}else if(s(455)==t[s(485)]){if(!t[s(420)]||!t[s(420)][s(507)])continue;const e=t[s(420)][s(314)];if(e&&Object[s(340)](e)[s(418)])continue;const n=t[s(420)][s(507)];let r=!0,i=!0;for(const e of a)if(e[s(485)]&&e[s(485)][s(459)](s(348))){if(!e[s(420)][s(507)]){i=!1;break}if(e.id!=t.id&&e[s(420)][s(507)]==n){r=!1;break}}i&&r&&(t[s(463)](),o=!0)}for(const t of c)e[s(391)](t);for(const t of u)e[s(372)](t);return o})),n[t(444)][t(480)](t(342))[t(320)]({model:t(346),view:(t,e)=>h(t),converterPriority:t(407)}),n[t(444)][t(480)](t(511))[t(320)]({model:t(346),view:(e,n)=>n[t(318)][t(315)]?h(e,!1):null,converterPriority:t(407)});const g=n[t(436)][t(359)];this[t(355)](g[t(336)],t(331),((e,n)=>{const r=t,s=[];for(const t of g[r(361)](n[r(419)])[r(501)]())t.is(r(508),r(493))&&s[r(377)](t);g[r(500)]((t=>{const e=r;for(const n of s)t[e(509)](t[e(361)](n),t[e(470)](n)),t[e(391)](n)}))}))}}function ba(t){const e=da;if(t[e(392)])return!0;const n=t[e(468)](0);return n.is(e(508),e(364))&&n[e(392)]}function Ta(t,e={},n){const r=da;for(const{isAnchor:s,cellHeight:o,cellWidth:i}of n[r(404)](t,{includeAllSlots:!0,...e}))if(!s||1!=o||1!=i)return!1;return!0}const _a=ya;function ya(t,e){const n=Aa();return(ya=function(t,e){return n[t-=289]})(t,e)}function Aa(){const t=["411576oSlnZx","accept","handleSuggestionDescription","handleResizeTableWidthCommand","resizeTable","columnWidths","339azkLZB","selection","format","14735qfxwYk","4961506rmQSPC","resizeTableWidth","bind","afterInit","has","116430GrrOjI","change","data","getSuggestionCallback","type","525000CXcbmQ","36KZdTWY","216CMhtfS","_descriptionFactory","model","getSuggestions","TableColumnResizeEditing","getColumnGroupElement","enableCommand","document","Users","tableWidth","getContainedElement","subType","formatBlock","table","editor","2bbyOAq","discard","_suggestionFactory","formatInline","getSelectedElement","markBlockFormat","get","getAttribute","123520cbopjX","registerDescriptionCallback","commandParams","*Format:* resize table","registerCustomCallback","locale","TrackChangesEditing","formatGroupId","5956BPwaqz","getTableColumnsWidths","plugins","author"];return(Aa=function(){return t})()}!function(t,e){const n=ya,r=t();for(;;)try{if(137382===parseInt(n(303))/1*(-parseInt(n(338))/2)+parseInt(n(329))/3*(-parseInt(n(319))/4)+-parseInt(n(343))/5+parseInt(n(323))/6+parseInt(n(332))/7*(parseInt(n(345))/8)+parseInt(n(344))/9*(-parseInt(n(311))/10)+parseInt(n(333))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Aa);class Ca extends t.Plugin{[_a(336)](){const t=_a;if(!this[t(302)][t(321)][t(337)](t(292)))return;const e=this[t(302)][t(321)][t(309)](t(317));e[t(294)](t(334),this[t(326)][t(335)](this)),e[t(305)][t(315)](t(300),t(327),t(324),e[t(305)][t(341)](t(300),null,t(304))),e[t(305)][t(315)](t(300),t(327),t(304),e[t(305)][t(341)](t(300),null,t(324))),e[t(289)][t(312)](this[t(325)][t(335)](this))}[_a(326)](t,e){const n=_a,r=this[n(302)][n(321)][n(309)](n(317)),s=this[n(302)][n(321)][n(309)](n(292)),o=e[n(301)]||this[n(302)][n(290)][n(295)][n(330)][n(307)]();this[n(302)][n(290)][n(339)]((()=>{const i=n,a=s[i(293)](o);let c=a?s[i(320)](a):null,u=o[i(310)](i(297))||null;const l=e[i(297)]||u,f=e[i(328)]||c,h=this[i(302)][i(321)][i(309)](i(296)).me;for(const t of r[i(291)]()){const e=t[i(298)]();if(i(327)===t[i(299)]&&e===o){t[i(322)]!==h&&t[i(304)]();const e=t[i(340)][i(313)];u=e[0][i(297)],c=e[0][i(328)];break}}t({table:o,tableWidth:l,columnWidths:f}),r[i(308)](o,{commandName:i(334),commandParams:[{tableWidth:u,columnWidths:c}],formatGroupId:i(327)},[],i(327))}))}[_a(325)](t){const e=_a;if(e(300)!=t[e(342)]&&e(306)!=t[e(342)])return;const{data:n}=t;if(n&&e(327)===n[e(318)]){const t=e(314);return{type:e(331),content:zr(this[e(302)][e(316)],t)}}}}const ka=La;function Na(){const t=["2401308xBNrxT","has","enableCommand","9373544XqiduM","insertTemplate","2IgbrDm","357815GESJwm","1262730vbMpMF","editor","afterInit","1824231Kjvguz","plugins","TrackChangesEditing","get","Template","3518664cTeaHj","732944hPCCIh"];return(Na=function(){return t})()}function La(t,e){const n=Na();return(La=function(t,e){return n[t-=378]})(t,e)}!function(t,e){const n=La,r=t();for(;;)try{if(407398===parseInt(n(378))/1+parseInt(n(384))/2*(parseInt(n(389))/3)+-parseInt(n(379))/4+parseInt(n(385))/5+parseInt(n(394))/6+parseInt(n(386))/7+-parseInt(n(382))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Na);class Ra extends t.Plugin{[ka(388)](){const t=ka,e=this[t(387)];e[t(390)][t(380)](t(393))&&e[t(390)][t(392)](t(391))[t(381)](t(383))}}function Sa(){const t=["30GiFfXV","locale","921756jtXlwT","afterInit","tableOfContents","editor","597415KfOpHJ","2220756sQCDpW","plugins","ELEMENT_TABLE_OF_CONTENTS","2598580kVwsPA","27gdsPQX","registerElementLabel","get","enableCommand","22fmmFkz","TrackChangesEditing","7nWWsdT","2425688OiqMfm","insertTableOfContents","_descriptionFactory","12110aydRUc","163470JWRfSB","commands","453aeDeLG"];return(Sa=function(){return t})()}const va=Ma;function Ma(t,e){const n=Sa();return(Ma=function(t,e){return n[t-=297]})(t,e)}!function(t,e){const n=Ma,r=t();for(;;)try{if(462738===parseInt(n(312))/1+-parseInt(n(302))/2*(parseInt(n(305))/3)+parseInt(n(308))/4+-parseInt(n(303))/5*(parseInt(n(306))/6)+parseInt(n(298))/7*(parseInt(n(299))/8)+parseInt(n(317))/9*(parseInt(n(316))/10)+parseInt(n(321))/11*(-parseInt(n(313))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Sa);class Oa extends t.Plugin{[va(309)](){const t=va,e=this[t(311)];if(!e[t(304)][t(319)](t(300)))return;e[t(314)][t(319)](t(297))[t(320)](t(300));const n=e[t(314)][t(319)](t(297)),r=e[t(307)];n[t(301)][t(318)](t(310),(e=>zr(r,t(315),e)))}}function wa(){const t=["newRange","isCollapsed","updateMarker","title-content","9208JjpWRv","46xqYGsv","getNearestSelectionRange","45czvDlp","37405VFJinT","1963302IfEbeT","isEqual","registerPostFixer","plugins","removeMarker","editor","forward","1758735XMUAIT","createRange","has","from","92388hAGRgA","_descriptionFactory","19021BmKPbX","model","end","getChangedMarkers","ELEMENT_TITLE","Title","TrackChangesEditing","start","afterInit","get","198OcaqMa","document","isTouching","suggestion","locale","_splitMarkerName","element","registerElementLabel","315zjrScj","1129050sGRqCX","schema","nodeBefore","differ"];return(wa=function(){return t})()}function Fa(t,e){const n=wa();return(Fa=function(t,e){return n[t-=318]})(t,e)}const Da=Fa;!function(t,e){const n=Fa,r=t();for(;;)try{if(303612===parseInt(n(357))/1*(-parseInt(n(340))/2)+parseInt(n(342))/3*(parseInt(n(355))/4)+parseInt(n(343))/5*(parseInt(n(322))/6)+parseInt(n(330))/7*(parseInt(n(339))/8)+-parseInt(n(351))/9+parseInt(n(331))/10+parseInt(n(344))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(wa);class Pa extends t.Plugin{[Da(320)](){const t=Da,e=this[t(349)];if(!e[t(347)][t(353)](t(362)))return;const n=e[t(347)][t(321)](t(318));n[t(356)][t(329)](t(338),(()=>zr(e[t(326)],t(361)))),e[t(358)][t(323)][t(346)]((r=>{const s=t;let o=!1;const i=Array[s(354)](e[s(358)][s(323)][s(334)][s(360)]());for(const{name:t,data:a}of i){const{group:i}=n[s(327)](t);if(s(325)!==i||!a[s(335)])continue;const c=a[s(335)],u=c[s(359)][s(333)];if(!u||!u.is(s(328),s(338)))continue;if(!c[s(319)][s(324)](c[s(359)]))continue;const l=e[s(358)][s(332)][s(341)](c[s(359)],s(350));if(l&&l[s(336)]){const e=r[s(352)](c[s(319)],l[s(319)]);e[s(345)](c)||(r[s(337)](t,{range:e}),o=!0)}o||(r[s(348)](t),o=!0)}return o}))}}const xa=Ba;function Ba(t,e){const n=Ua();return(Ba=function(t,e){return n[t-=395]})(t,e)}function Ua(){const t=["686871HaKgzU","TrackChangesEditing","has","enableCommand","1369200vnFCbs","get","7oHXsui","plugins","2DUSNoB","8pSodNq","afterInit","undo","redo","41975iGQEqd","editor","1127058efCvjG","154551JMbzte","806832oUsDeO","7766500sfGMUQ","UndoEditing"];return(Ua=function(){return t})()}!function(t,e){const n=Ba,r=t();for(;;)try{if(188191===-parseInt(n(411))/1*(parseInt(n(403))/2)+-parseInt(n(410))/3+-parseInt(n(412))/4+-parseInt(n(408))/5+-parseInt(n(399))/6*(-parseInt(n(401))/7)+-parseInt(n(404))/8*(parseInt(n(395))/9)+parseInt(n(413))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ua);class ja extends t.Plugin{[xa(405)](){const t=xa,e=this[t(409)],n=e[t(402)][t(400)](t(396));e[t(402)][t(397)](t(414))&&(n[t(398)](t(406)),n[t(398)](t(407)))}}const Ga=Va;function Va(t,e){const n=Ha();return(Va=function(t,e){return n[t-=103]})(t,e)}function Ha(){const t=["27150JkIEvp","plugins","364495roiQQD","2474205lWnLCt","TrackChangesEditing","requires","toggleTableCaption","4869DzfYZz","enableCommand","200064aDZjzE","210wETYtL","5597832AzgurU","2113764MMNmMn","has","TableCaptionEditing","get","826444FzcEZp","afterInit","editor","6gCwPbl"];return(Ha=function(){return t})()}!function(t,e){const n=Va,r=t();for(;;)try{if(672785===parseInt(n(109))/1*(-parseInt(n(106))/2)+-parseInt(n(119))/3+parseInt(n(103))/4+parseInt(n(110))/5+-parseInt(n(116))/6*(-parseInt(n(117))/7)+-parseInt(n(118))/8+parseInt(n(114))/9*(parseInt(n(107))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ha);class za extends t.Plugin{static get[Ga(112)](){return[ra]}[Ga(104)](){const t=Ga,e=this[t(105)];e[t(108)][t(120)](t(121))&&e[t(108)][t(122)](t(111))[t(115)](t(113))}}const Wa=Xa;function Ka(){const t=["1854822bnPfnG","_descriptionFactory","start","tableCellVerticalAlignment","tableWidth","format","getSuggestions","TrackChangesEditing","TablePropertiesEditing","enableCommand","editor","discard","enqueueChange","TableCellPropertiesEditing","TableUtils","tableCellHorizontalAlignment","tableCellBackgroundColor","30QWTPaM","getSuggestionCallback","tableAlignment","_handlePropertyChange","tableBorderWidth","505FPtlzE","get","batch","_getSuggestion","tableCellPadding","tableCellBorderColor","markBlockFormat","getSelectionAffectedTableCells","model","1249125gocpgw","49golLBg","change","join","registerDescriptionCallback","tableCellBorderStyle","has","accept","subType","254760aSMyfz","*Format:* change table properties","78230ROcXoF","table","77093yTPVjV","tableCellProperties","TrackChangesTableProperties","tableProperties","getAttribute","handleSuggestionDescription","tableBorderColor","nodeAfter","plugins","getContainedElement","*Format:* change table cell properties","1818qISVTS","28212rKfceH","1408336lixuXw","formatBlock","findAncestor","getFirstPosition","data","tableCellBorderWidth","tableBorderStyle","tableCellWidth","commandParams","locale","tableCellHeight","document","_suggestionFactory","registerCustomCallback","tableBackgroundColor","setAttribute","selection","handleDiscardAction","removeAttribute","pluginName","tableHeight","afterInit"];return(Ka=function(){return t})()}function Xa(t,e){const n=Ka();return(Xa=function(t,e){return n[t-=161]})(t,e)}!function(t,e){const n=Xa,r=t();for(;;)try{if(813394===parseInt(n(172))/1*(-parseInt(n(224))/2)+-parseInt(n(238))/3+-parseInt(n(184))/4*(parseInt(n(229))/5)+parseInt(n(207))/6+-parseInt(n(239))/7*(-parseInt(n(185))/8)+-parseInt(n(183))/9*(-parseInt(n(170))/10)+-parseInt(n(168))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Ka);class qa extends t.Plugin{constructor(t){const e=Xa;super(t),this[e(175)]=[e(178),e(191),e(228),e(226),e(211),e(205),e(199)],this[e(173)]=[e(234),e(164),e(190),e(233),e(192),e(195),e(223),e(222),e(210)]}static get[Wa(204)](){return Wa(174)}[Wa(206)](){const t=Wa,e=this[t(217)][t(180)][t(230)](t(214));if(this[t(217)][t(180)][t(165)](t(215))){for(const n of this[t(175)])e[t(216)](n,((e,r)=>{const s=t,o=this[s(217)][s(237)][s(196)][s(201)][s(188)]()[s(187)](s(171));this[s(227)](n,[o],this[s(175)],s(175),e,r)}));e[t(197)][t(198)](t(186),t(175),t(166),e[t(197)][t(225)](t(186),null,t(218))),e[t(197)][t(198)](t(186),t(175),t(218),((e,n)=>this[t(202)](this[t(175)],e,n))),e[t(197)][t(198)](t(186),t(175),t(162),(()=>!1))}if(this[t(217)][t(180)][t(165)](t(220))){for(const n of this[t(173)])e[t(216)](n,((e,r)=>{const s=t,o=this[s(217)][s(180)][s(230)](s(221))[s(236)](this[s(217)][s(237)][s(196)][s(201)]);this[s(227)](n,o,this[s(173)],s(173),e,r)}));e[t(197)][t(198)](t(186),t(173),t(166),e[t(197)][t(225)](t(186),null,t(218))),e[t(197)][t(198)](t(186),t(173),t(218),((e,n)=>this[t(202)](this[t(173)],e,n))),e[t(197)][t(198)](t(186),t(173),t(162),(()=>!1))}e[t(208)][t(163)]((e=>this[t(177)](e)))}[Wa(227)](t,e,n,r,s,o){const i=Wa,a=this[i(217)][i(180)][i(230)](i(214));this[i(217)][i(237)][i(219)](o[i(231)],(()=>{const t=i;for(const i of e)if(this[t(232)](i,r))s(o);else{const e={};for(const r of n){const n=i[t(176)](r);void 0!==n&&(e[r]=n)}s(o),a[t(235)](i,{commandParams:[e]},[],r)}}))}[Wa(202)](t,e,n){const r=Wa,s=e[0][r(209)][r(179)],o=n[r(193)][0];this[r(217)][r(237)][r(161)]((e=>{const n=r;for(const r of t)void 0!==o[r]?e[n(200)](r,o[r],s):e[n(203)](r,s)}))}[Wa(177)](t){const e=Wa;if(t[e(189)])switch(t[e(167)]){case e(175):return{type:e(212),content:zr(this[e(217)][e(194)],e(169))};case e(173):return{type:e(212),content:zr(this[e(217)][e(194)],e(182))}}}[Wa(232)](t,e){const n=Wa,r=this[n(217)][n(180)][n(230)](n(214));for(const s of r[n(213)]({skipNotAttached:!0})){const r=s[n(181)]();if(s[n(167)]===e&&r===t)return s}return null}}var Ya=Function.prototype,Qa=Object.prototype,Za=Ya.toString,Ja=Qa.hasOwnProperty,$a=Za.call(Object);const tc=function(t){if(!te(t)||"[object Object]"!=it(t))return!1;var e=$e(t);if(null===e)return!0;var n=Ja.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Za.call(n)==$a};const ec=function(t){return tc(t)?void 0:t};var nc=Z?Z.isConcatSpreadable:void 0;const rc=function(t){return ie(t)||oe(t)||!!(nc&&t&&t[nc])};const sc=function t(e,n,r,s,o){var i=-1,a=e.length;for(r||(r=rc),o||(o=[]);++i<a;){var c=e[i];n>0&&r(c)?n>1?t(c,n-1,r,s,o):Je(o,c):s||(o[o.length]=c)}return o};const oc=function(t){return(null==t?0:t.length)?sc(t,1):[]};const ic=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var ac=Math.max;const cc=function(t,e,n){return e=ac(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,o=ac(r.length-e,0),i=Array(o);++s<o;)i[s]=r[e+s];s=-1;for(var a=Array(e+1);++s<e;)a[s]=r[s];return a[e]=n(i),ic(t,this,a)}};const uc=function(t){return function(){return t}};const lc=qt?function(t,e){return qt(t,"toString",{configurable:!0,enumerable:!1,value:uc(e),writable:!0})}:function(t){return t};var fc=Date.now;const hc=function(t){var e=0,n=0;return function(){var r=fc(),s=16-(r-n);if(n=r,s>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(lc);const gc=function(t){return hc(cc(t,void 0,oc),t+"")}((function(t,e){var n={};if(null==t)return n;var r=!1;e=sr(e,(function(e){return e=ur(e,t),r||(r=e.length>1),e})),Jt(t,sn(t),n),r&&(n=Xn(n,7,ec));for(var s=e.length;s--;)Br(n,e[s]);return n})),dc=pc;function pc(t,e){const n=mc();return(pc=function(t,e){return n[t-=241]})(t,e)}function mc(){const t=["meta","isLimit","forEach","_refreshSuggestionsChain","define","formatBlock:accept","acceptSelectedSuggestions","selection","createSelection","editing","getShiftedBy","error-saving-suggestion-data-suggestion-discarded","_descriptionFactory","pop","applyOperation","_editor","accepted","LEAVE","high","_createSuggestion","6NBuFnk","containsRangeInObject","getItems","writer","track-changes-enable-command-twice","length","_enabledCommands","171uHMuhR","getChanges","document","newRange","acceptAllSuggestions","addRange","_initAriaMarkerChangeAnnouncements","suggestion:attribute:","getCommentThread","some","targetPosition","multipleBlocks","unbind","has","_customCallbacks","includes","never","suggestion-type","end","addMarkerName","markerReady","markInsertion","isAfter","removeMarker","plugins","activeMarkers","getWalker","removeComment","schema","getSuggestion","from","$text","multi","insertion:join","enqueueChange","markBlockFormat","buildSuggestion","getLastMatchingPosition","addMarker:suggestion","registerPostFixer","elementEnd","trackChangesCommand","_processAttributeSuggestions","join","_inlineAttributeKeys","marker-count","getSuggestionCallback","range","detach","attribute:discard","isIntersecting","formatInline:chain","containsItem","attribute:accept","split","_suggestions","_model","_isRegisteredAttribute","attributeKey","formatInline:accept","highest","tablePasteChainId","parent","trackChanges.trackFormatChanges","addUser","oldRange","_refreshAttributeSuggestionsChain","isIntersectingWithRange","formatBlock:","_findSuggestions","forward","isMultiRange","_joinSuggestions","assign","markerToHighlight","after","markInlineFormat","model","splice","deletion:accept","_splitMarkerName","element","markers","concat","authoredAt","ENTER","getMultiRangeId","warn","_SUGGESTION_ANNOUNCEMENT","change:data","removeClass","markerName","track-changes-suggestion-data-mismatch","elementStart","config","forceDefaultExecution","insertContent","createRangeIn","oldValue","addHighlight","refresh","default","reconvertMarker","markerToData","containerElement","rename","discardSuggestion","_updateSuggestionData","_isBlockAttribute","every","isArray","markMultiRangeDeletion","8918955dvyUrf","_element","editingDowncast","substring","getSuggestions","_defaultCallbacks","$textProxy","isAtStart","deleteContent","updateMarker","removed","addClass","announce","chain","getCustomProperty","hasComments","consume","add","Creating a suggestion for attribute with too long attribute key. This may lead to errors. Change the attribute key to a value shorter than 37 characters.","consumable","markMultiRangeBlockFormat","before","commandName","isObject","containsRange","nodeBefore","stop","getContainedElement","isExternal","_cutOutSuggestionMarker","_breakSuggestionMarker","15hZchbc","insertion:","$graveyard","deletion:join","backward","substr","_setSuggestionRange","move","item","_registerDefaultCallbacks","_afterChanges","discardSelectedSuggestions","containsPosition","suggestionChanged","lowest","_reduceExistingSuggestions","isUndo","addSuggestion","setAttribute","fetchCommentThread","_registerInlineAttribute","trackChanges.mergeNestedSuggestions","createPositionAfter","notReady","deletion:","isBefore","isNextTo","attribute","13492032emBUQa","getAncestors","attributes","head","_enableDefaultAttributesIntegration","hasCommentThread","formatInline:discard","12677700bPkqYb","attributeNewValue","setTo","next","insertion:discard","addMarker","then","PendingActions","TrackChangesEditing","map","listenTo","ck-suggestion-marker-formatInline","613958RBrJxl","commentThread","attribute:join","1GfhSkO","createRangeOn","catch","_joinWithAdjacentSuggestions","isOwn","formatGroupId","commands","isTouching","change:_saved","dataDowncast","277810SokHOm","ck-suggestion-marker-","moveTargetPosition","always","type","low","PENDING_ACTION_SUGGESTION","$elementName","key","ck-suggestion-marker-formatBlock","splitPosition","elementToElement","removeAttribute","addSuggestionData","formatBlock:discard","name","createdAt","markAttributeChange","ariaLiveAnnouncer","widget","getRange","_rangeIsInLocalUserInsertion","_suggestionFactory","updateSuggestion","addMarker:suggestion:formatBlock","isRemovable","formatInline:","attributeOldValue","suggestion","delete","markerNameToElements","createRange","_reduceSuggestionAttributeRange","ck-suggestion-marker","root","removeMarker:suggestion:formatBlock","trackChanges","editor","_adapter","_blockAttributeKeys","isInContent","insert","createElement","createPositionBefore","addComment","121ehAHTJ","_trackFormatChanges","update:suggestion","isLocal","getFirstMarker","getChangedMarkers","isEqual","dataReady","_recordAttributeSuggestions","isAtEnd","rejected","startsWith","hasSuggestion","fromCharCode","suggestion:","_saved","start","newValue","removeMarker:suggestion:attribute","_mergeNestedSuggestions","_handleNewSuggestionMarker","isBlock","init","track-changes-adapter-already-set","track-changes-command-not-found","_getMarkerAnnouncementText","registerCustomCallback","_getAttributeKey","subType","_setSuggestionData","$marker","getMarkers","originalSuggestionId","formatBlock:chain","_getExternalAuthor","_removeSuggestion","acceptSuggestion","_addSuggestionMarker","data","Users","requires","upcast","track-changes-user-not-found","@external","rootName","adapter","differ","creator","insertion:accept","track-changes-adapter-missing-getsuggestion","markDeletion","deletion:discard","_recordAttributeChanges","deletion:chain","getAllAdjacentSuggestions","getFirstRange","_onDiscard","_processAttributeChanges","getUser","_commentsRepository","bindElementToMarker","locale","getNearestSelectionRange","howMany","change:activeMarkers","unshift","suggestionLoaded","clear","dataToMarker","skipNestingCheck","toUpperCase","getRanges","_registerBlockAttribute","isSelectable","push","rethrowUnexpectedError","attribute:","_getAuthorFromId","insertion:chain","sort","formatInline:join","formatBlock:join","isInsideObject","enableCommand","fromRange","documentSelection","data-suggestion","unbindElementFromMarkerName","comments","markMultiRangeInsertion","_getSuggestionData","clone","pluginName","CommentsRepository","conversion","suggestionUnloaded","keys","options","_checkSuggestionCorrectness","groupId","addCommentThread","batch","filter","normal","get","formatInline","collaboration.channelId","return","set","mapper","accept","position","group","1071132QiCoeJ","previous","value","isDocumentOperation","external:","stopListening","track-changes-suggestion-not-found","find","ready","addMarker:suggestion:attribute","showSuggestionHighlights","insertion","toViewElement","size","613000FgQGuP","setSelection","discardAllSuggestions","isCollapsed","execute","getAttribute","resolve","_isForcedDefaultExecutionBlock","removeMarkers","change","getIntersection","getDifference","createPositionAt","format","_addThreadToSuggestion","nodeAfter","toJSON","author","values","enableReadOnlyMode","authorName","discard","FORMATTING","_isDataLoaded","for","deletion","remove","_suggestionState","ck-suggestion-marker--active","formatBlock","open","fire"];return(mc=function(){return t})()}!function(t,e){const n=pc,r=t();for(;;)try{if(923744===parseInt(n(468))/1*(parseInt(n(465))/2)+parseInt(n(418))/3*(parseInt(n(650))/4)+-parseInt(n(387))/5+parseInt(n(268))/6*(parseInt(n(453))/7)+-parseInt(n(446))/8+-parseInt(n(275))/9*(-parseInt(n(478))/10)+-parseInt(n(523))/11*(-parseInt(n(636))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(mc);const Ic=dc(485);class Ec extends t.Plugin{static get[dc(563)](){return[dc(616),o.Users,t.PendingActions,Zr,ns,as,ls,Ts,ms,Cs,Ls,Ps,$s,ro,uo,go,Eo,Ao,Lo,Mo,Do,Ho,Uo,Xo,Zo,ei,ui,pi,oi,Vs,Xs,bi,Ai,Li,Mi,Pi,Ui,zi,Yi,$i,ra,ca,ha,za,Ea,Ca,Oa,qa,Ra,Pa,ja]}static get[dc(615)](){return dc(461)}constructor(t){const e=dc;function n(t){const e=pc;return t[e(462)]((t=>String[e(536)](t)))[e(318)]("")}super(t),this[e(531)]=!1,this[e(631)](e(300),[]),this.on(e(587),((n,r,s,o)=>{const i=e;this[i(331)][i(659)]((()=>{const e=i;for(const n of[...o,...s])this[e(331)][e(357)][e(288)](n)&&t[e(257)][e(377)](n)}))})),this[e(260)]=new qr(this[e(515)][e(352)][e(303)],this[e(515)][e(584)]),this[e(516)]=null,this[e(500)]=new bc(this[e(515)]),this[e(330)]=new Map,this[e(582)]=t[e(299)][e(627)](e(616)),this[e(274)]=new Set,this[e(331)]=this[e(515)][e(352)],this[e(243)]=new WeakMap,this[e(657)]=!1,this[e(517)]=new Set([e(485)]),this[e(319)]=new Set,t[e(369)][e(252)](e(338),e(376)),this[e(524)]=t[e(369)][e(627)](e(338)),t[e(369)][e(252)](e(439),!0),this[e(542)]=t[e(369)][e(627)](e(439)),this[e(316)]=new f(t,this[e(274)]),this[e(281)](),this[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])]=n([52,48,52,56,48,54,49,50])}[dc(545)](){const t=dc,n=this[t(515)],r=(e,n)=>{const r=t;if(r(445)!=e)return r(479)+e;const s=n[r(329)]("|")[0];return this[r(383)](s)?r(487):r(464)};n[t(617)][t(674)](t(389))[t(349)]({model:t(506),view:e=>{const n=t,{id:s,type:o,subType:i}=this[n(355)](e[n(366)]),a=[n(511),r(o,i)];let c=3e3;return this[n(300)][n(290)](e[n(366)])&&(a[n(597)](n(244)),c=3010),n(241)==o&&(c+=5),{classes:a,attributes:{"data-suggestion":s},priority:c}}}),n[t(617)][t(674)](t(477))[t(404)]((e=>{const r=t;e.on(r(313),((t,e,s)=>{const o=r;if(!s[o(620)][o(646)])return;const i=e[o(426)];if(!i)return;const c=s[o(632)][o(648)](i);n[o(352)][o(303)][o(410)](i)&&c&&!c[o(401)](o(497))&&c.is(o(379))&&(0,a.toWidget)(c,s[o(271)])}),{priority:r(266)})})),n[t(617)][t(674)](t(477))[t(349)]({model:t(506),view:(e,n)=>{const s=t;if(!n[s(620)][s(646)])return null;const{type:o,subType:i}=this[s(355)](e[s(366)]);return{classes:[s(511),r(o,i)],priority:3e3}}});const s=({showActiveMarkers:e=!0,isAttributeSuggestion:r=!1}={})=>(s,o,i)=>{const a=t;if(!o[a(426)])return;const{id:c}=this[a(355)](o[a(366)]);if(r){const t=this[a(330)][a(627)](c),e=this[a(550)](t);if(!this[a(383)](e))return}if(o[a(426)].is(a(255)))return void i[a(406)][a(403)](o[a(426)],s[a(493)]);const u=i[a(632)][a(648)](o[a(426)]);if(o[a(426)].is(a(356))&&n[a(352)][a(303)][a(544)](o[a(426)])&&!u[a(401)](a(374))){i[a(271)][a(398)]([a(511),a(487)],u),i[a(271)][a(436)](a(609),c,u),i[a(632)][a(583)](u,o[a(366)]),e&&(this[a(300)][a(290)](o[a(366)])?i[a(271)][a(398)](a(244),u):i[a(271)][a(365)](a(244),u));for(const t of n[a(352)][a(372)](o[a(426)])[a(270)]())i[a(406)][a(403)](t,s[a(493)]);i[a(406)][a(403)](o[a(426)],s[a(493)])}};n[t(617)][t(674)](t(477))[t(404)]((e=>{const n=t;e.on(n(502),((t,e,r)=>{const o=n;r[o(620)][o(646)]&&s({showActiveMarkers:!1})(t,e,r)}),{priority:n(335)})})),n[t(617)][t(674)](t(477))[t(404)]((e=>{const n=t;e.on(n(645),((t,e,r)=>{const o=n;r[o(620)][o(646)]&&s({showActiveMarkers:!1,isAttributeSuggestion:!0})(t,e,r)}),{priority:n(335)})})),n[t(617)][t(674)](t(477))[t(378)]({model:t(506),view:(e,n)=>n[t(620)][t(646)]?null:{group:t(506),name:e[t(423)](11)}}),n[t(617)][t(674)](t(564))[t(489)]({view:{name:t(506),attributes:{id:/^\w/,"suggestion-type":/^\w/}},model:(e,{writer:n})=>{const r=t;let s=r(537)+e[r(655)](r(292))+":"+e[r(655)]("id");return e[r(655)](r(320))&&(s+=":"+e[r(655)](r(320))),n[r(520)](r(553),{"data-name":s})}}),n[t(617)][t(674)](t(564))[t(591)]({view:t(506)}),n[t(617)][t(674)](t(389))[t(404)]((e=>{const n=t;e.on(n(502),s(),{priority:n(266)})})),n[t(617)][t(674)](t(389))[t(404)]((e=>{const n=t;e.on(n(645),s({isAttributeSuggestion:!0}),{priority:n(266)})})),n[t(617)][t(674)](t(389))[t(404)]((e=>{const n=t;e.on(n(513),((t,e,r)=>{const s=n,o=r[s(632)][s(508)](e[s(366)]);if(o)for(const t of o)t[s(401)](s(374))||(r[s(271)][s(365)]([s(511),s(487),s(244)],t),r[s(271)][s(490)](s(609),t),r[s(632)][s(610)](t,e[s(366)]))}),{priority:n(266)})})),n[t(617)][t(674)](t(389))[t(404)]((e=>{const n=t;e.on(n(541),((t,e,r)=>{const s=n,o=r[s(632)][s(508)](e[s(366)]);if(!o)return;const{id:i}=this[s(355)](e[s(366)]),a=this[s(330)][s(627)](i),c=this[s(550)](a);if(this[s(383)](c))for(const t of o)t[s(401)](s(374))||(r[s(271)][s(365)]([s(511),s(487),s(244)],t),r[s(271)][s(490)](s(609),t),r[s(632)][s(610)](t,e[s(366)]))}),{priority:n(266)})})),n[t(352)][t(277)][t(314)]((e=>{const r=t;let s=!1;const o=Array[r(305)](n[r(352)][r(277)][r(569)][r(528)]()),i=new Set;for(const{name:t,data:c}of o){const{group:o,type:u,subType:l,id:f}=this[r(355)](t);if(r(506)!==o)continue;const h=this[r(330)][r(627)](f);if(null!=c[r(278)]){r(628)==u&&(s=s||yc(c[r(278)],t,e,n[r(352)][r(303)]));const o=r(445)==u&&this[r(383)](l[r(329)]("|")[0]);if(c[r(278)][r(653)]||r(420)==c[r(278)][r(512)][r(567)]||r(245)==u&&!Cc(c[r(278)])||o&&!Cc(c[r(278)])||r(241)==u&&(_c(a=c[r(278)])||function(t){const e=r;return t[e(539)][e(337)]==t[e(293)][e(412)]&&t[e(539)][e(532)]}(a)))e[r(298)](t),s=!0;else{if(!h||!h[r(518)])continue;i[r(404)](h)}}}var a;return i[r(649)]>0&&(s=!!this[r(471)](i)||s),s})),n[t(352)][t(277)][t(314)]((e=>{const r=t;let s=!1;for(const t of n[r(352)][r(277)][r(569)][r(276)]())if(r(519)==t[r(482)])for(const t of this[r(330)][r(668)]()){if(t[r(346)]||!t[r(518)])continue;const o=r(245)==t[r(482)],i=this[r(550)](t),a=i&&this[r(383)](i);if(!o&&!a)continue;const c=t[r(578)]();if(c[r(539)][r(337)]!=c[r(293)][r(337)]&&!c[r(293)][r(532)]){const o=n[r(352)][r(662)](c[r(539)][r(665)],r(293)),i=n[r(352)][r(509)](c[r(539)],o);e[r(396)](t[r(527)](),{range:i}),s=!0}}return s})),n[t(352)][t(277)][t(314)]((e=>this[t(580)](e))),n[t(352)][t(277)][t(314)]((e=>!e[t(624)][t(526)]&&this[t(317)](e))),n[t(352)].on(t(428),(()=>{this[t(531)]=!1})),n[t(352)][t(277)].on(t(364),((r,s)=>{const o=t;if(!s[o(526)]||s[o(434)])return;if(!this[o(531)])return;const i=n[o(352)][o(277)][o(569)][o(276)]();if(0==i[o(273)])return;const a=[],c=i[o(625)]((t=>o(445)==t[o(482)])),u=i[o(625)]((t=>o(519)==t[o(482)]&&o(306)!=t[o(493)])),l=i[o(625)]((t=>o(242)==t[o(482)]&&o(306)!=t[o(493)]));for(const t of c)this[o(332)](t[o(333)])&&a[o(597)]({key:t[o(333)],newValue:t[o(454)],oldValue:t[o(505)],range:kc(t[o(322)],n[o(352)])});for(const t of u){const e=l[o(643)]((e=>e[o(388)]===t[o(388)]));if(e){const r=Nc(t[o(634)][o(665)],n[o(352)]);e[o(493)]!==t[o(493)]&&a[o(597)]({key:o(485),newValue:t[o(493)],oldValue:e[o(493)],range:r});for(const[n,s]of e[o(448)]){if(!this[o(332)](n))continue;const e=t[o(448)][o(627)](n);s!==e&&a[o(597)]({key:n,newValue:e,oldValue:s,range:r})}for(const[n,s]of t[o(448)])this[o(332)](n)&&(e[o(448)][o(288)](n)||a[o(597)]({key:n,newValue:s,oldValue:null,range:r}))}}0!=a[o(273)]&&n[o(352)][o(309)](s,(t=>{const n=o,r=(0,e.uid)();for(const{range:t,key:e,oldValue:s,newValue:o}of a)this[n(495)](t,e,s,o,{groupId:r});this[n(433)](t,a)}))}),{priority:t(432)}),n[t(352)][t(357)].on(t(525),((e,n,r)=>{const s=t;if(null==r){const{id:t}=this[s(355)](n[s(493)]),e=this[s(330)][s(627)](t);e&&e[s(294)](n[s(493)])}})),n[t(352)][t(277)].on(t(364),(()=>{const e=t,r=Array[e(305)](n[e(352)][e(277)][e(569)][e(528)]())[e(625)]((t=>e(506)===this[e(355)](t[e(493)])[e(635)]));if(0===r[e(273)])return;r[e(602)](((t,n)=>{const r=e,s=t[r(561)][r(340)],o=n[r(561)][r(340)];return null===s&&null===o?0:null===s&&null!==o?-1:null!==s&&null===o?1:s[r(539)][r(443)](o[r(539)])?-1:1}));const s=new Set,o=new Set;for(const{name:t,data:n}of r){const{id:r}=this[e(355)](t);if(null===n[e(340)]){const n=this[e(543)](t);o[e(404)](n)}else{const t=this[e(330)][e(627)](r);null!==n[e(278)]||t[e(518)]?(s[e(404)](t[e(449)]),o[e(404)](t)):this[e(558)](t)}}o[e(649)]>0&&this[e(251)](o);for(const t of s)this[e(247)](e(431),t)})),n[t(352)].on(t(262),((e,r)=>{const s=t,o=r[0];if(!this[s(330)][s(649)])return;if(!o[s(639)])return;if(o[s(624)][s(434)]||!o[s(624)][s(526)])return;let i,a;switch(o[s(482)]){case s(519):i=n[s(352)][s(662)](o[s(634)]),a=i[s(258)](o[s(586)]);break;case s(329):i=n[s(352)][s(662)](o[s(488)]),a=n[s(352)][s(662)](o[s(480)]);break;case s(425):i=n[s(352)][s(662)](o[s(285)]),a=i[s(258)](o[s(586)]);break;default:return}const c=n[s(352)][s(509)](i,a);n[s(352)][s(659)]((()=>{const t=s;for(const{suggestion:e,meta:n}of this[t(344)](c)){if(e[t(346)])continue;if(t(628)==e[t(482)])continue;const r=this[t(550)](e);if(r&&this[t(383)](r)&&t(329)!=o[t(482)])continue;const s=e[t(561)]&&e[t(561)][t(286)];(t(245)!=e[t(482)]||t(329)==o[t(482)]&&!s)&&(n[t(269)]||t(647)==e[t(482)]&&n[t(472)]||e[t(578)]()[t(411)](c)&&this[t(417)](e,i,a))}}))}),{priority:t(432)}),n[t(352)].on(t(395),((e,r)=>{const s=t,o=r[0],i=r[1];if(i&&i[s(370)])return;if(this[s(657)])return;if(!this[s(316)][s(638)])return;if(o[s(653)])return;const a=n[s(352)][s(303)],{start:c,end:u}=o[s(578)](),l=c[s(665)]&&a[s(249)](c[s(665)])?null:a[s(585)](c,s(345)),f=u[s(412)]&&a[s(249)](u[s(412)])?null:a[s(585)](u,s(422)),h=n[s(352)][s(509)](l?l[s(539)]:c,f?f[s(293)]:u);n[s(352)][s(659)]((t=>{const e=s;this[e(573)](h);const r=n[e(352)][e(303)][e(585)](h[e(539)]);o.is(e(608))?t[e(651)](r):o[e(455)](r)})),e[s(413)]()}),{priority:e.priorities[t(626)]+10}),n[t(352)].on(t(371),((e,r)=>{const s=t,o=r[r[s(273)]-1];o&&o[s(370)]||this[s(657)]||this[s(316)][s(638)]&&(n[s(352)][s(659)]((()=>{const t=s;let o=n[t(352)][t(371)](r[0],r[1],r[2],{forceDefaultExecution:!0});if(!o)return;e[t(630)]=o[t(614)]();const i=o[t(293)][t(412)],a=n[t(352)][t(303)];i&&a[t(544)](i)&&!a[t(410)](i)&&(o=n[t(352)][t(509)](o[t(539)],n[t(352)][t(662)](i,t(293)))),this[t(296)](o)})),e[s(413)]())}),{priority:t(266)}),this[t(515)][t(474)][t(404)](t(514),this[t(316)]),this[t(606)](t(514));const o=new p(n,this[t(330)]);n[t(474)][t(404)](t(559),o),this[t(606)](t(559));const i=new E(n,this[t(330)]);n[t(474)][t(404)](t(381),i),this[t(606)](t(381)),n[t(474)][t(404)](t(279),new S(n,o,this[t(330)])),this[t(606)](t(279)),n[t(474)][t(404)](t(652),new S(n,i,this[t(330)])),this[t(606)](t(652)),n[t(474)][t(404)](t(254),new O(n,o,this[t(330)])),this[t(606)](t(254)),n[t(474)][t(404)](t(429),new O(n,i,this[t(330)])),this[t(606)](t(429));const c=n[t(299)][t(627)](t(616));this[t(463)](c,t(522),((e,{threadId:n})=>{const r=t,s=this[r(330)][r(627)](n);s&&s[r(466)]&&1===s[r(466)][r(273)]&&this[r(382)](n,{hasComments:!0})}),{priority:t(483)}),this[t(463)](c,t(302),((e,{threadId:n})=>{const r=t,s=this[r(330)][r(627)](n);s&&s[r(466)]&&!s[r(466)][r(273)]&&this[r(382)](n,{hasComments:!1})}),{priority:t(483)})}set[dc(568)](t){const n=dc;if(this[n(516)])throw new e.CKEditorError(n(546),this);this[n(516)]=t}get[dc(568)](){return this[dc(516)]}[dc(391)]({skipNotAttached:t=!1,toJSON:e=!1}={}){const n=dc,r=[];for(const e of this[n(330)][n(668)]())t&&!e[n(518)]||r[n(597)](e);return e?r[n(462)]((t=>t[n(666)]())):r}[dc(304)](t){const n=dc,r=this[n(330)][n(627)](t);if(!r)throw new e.CKEditorError(n(642),this);return r}[dc(535)](t){const e=dc;return this[e(330)][e(288)](t)}[dc(491)](t){const e=dc,{authorId:n,id:r,attributes:s}=t,[o,i]=t[e(482)][e(329)](":"),a=this[e(330)][e(627)](r)||this[e(267)](o,i,r,n,s);if(this[e(664)](a),this[e(621)](a,o,i||null,n),a[e(494)]=t[e(494)],a[e(673)]=!0,s&&s[e(566)]){const t=s[e(566)],n=this[e(557)](t[e(670)]);a[e(359)]=t[e(494)],a[e(667)]=n,a[e(415)]=!0}else a[e(359)]=t[e(494)];switch(t[e(561)]&&(a[e(561)]=t[e(561)]),t[e(448)]&&(a[e(448)]=t[e(448)]),this[e(516)]&&this[e(516)][e(435)]||(a[e(538)]=!0),this[e(243)][e(627)](a)){case e(441):this[e(243)][e(631)](a,e(530));break;case e(295):a[e(518)]?(this[e(471)](new Set([a])),this[e(251)](new Set([a])),this[e(243)][e(631)](a,e(644)),this[e(247)](e(589),a)):this[e(243)][e(631)](a,e(397))}return a}[dc(559)](t){const e=dc;this[e(370)]((()=>{const n=e;this[n(515)][n(352)][n(659)]((()=>{const e=n;for(const n of t[e(577)]())n[e(633)]()}))}))}[dc(381)](t){const e=dc;this[e(370)]((()=>{const n=e;this[n(515)][n(352)][n(659)]((()=>{const e=n;for(const n of t[e(577)]())n[e(671)]()}))}))}[dc(606)](t,n){const r=dc,s=this[r(515)][r(474)][r(627)](t);if(!s)throw new e.CKEditorError(r(547),this,{commandName:t});if(this[r(274)][r(288)](s))throw new e.CKEditorError(r(272),this,{commandName:t});this[r(274)][r(404)](s),n&&s.on(r(654),((t,e)=>{const o=r;this[o(316)][o(638)]&&(this[o(657)]||(e[o(273)]>0&&e[e[o(273)]-1]&&e[e[o(273)]-1][o(370)]?e[o(261)]():(t[o(630)]=n(((...t)=>s[o(654)](...t,{forceDefaultExecution:!0})),...e),t[o(413)]())))}),{priority:r(266)})}[dc(370)](t){const n=dc;let r,s;const o=this[n(657)];this[n(657)]=!0;try{r=t()}catch(t){s=t}return o||(this[n(657)]=!1),s&&e.CKEditorError[n(598)](s,this),r}[dc(296)](t,n=null,r={}){const s=dc;if(t[s(653)])return null;const o=this[s(515)][s(299)][s(627)](s(562)).me;for(const{suggestion:e,meta:o}of this[s(344)](t,s(647)))if(o[s(472)]){if(!o[s(444)]){if(o[s(269)]){if(!this[s(542)]||!Sc(e,r))continue;return e}if(Sc(e,r))return e;this[s(417)](e,t[s(539)],t[s(293)]);break}if(n==e[s(551)]&&Sc(e,r)){const n=e[s(578)]();return n[s(539)][s(529)](t[s(293)])?this[s(424)](e,this[s(331)][s(509)](t[s(539)],n[s(293)])):this[s(424)](e,this[s(331)][s(509)](n[s(539)],t[s(293)])),e}}const i=(0,e.uid)(),a=o.id,c=n?s(419)+n:s(647),u=this[s(552)]({id:i,type:c,createdAt:new Date,authorId:a,attributes:r});return this[s(560)](c,i,a,t),u}[dc(612)](t,n=dc(307),r={}){const s=dc,o=this[s(515)][s(299)][s(627)](s(562)).me,i=this[s(500)][s(321)](s(647),n,s(318));for(const e of this[s(391)]())if(e[s(667)].id==o.id&&s(647)==e[s(482)]&&e[s(551)]==n&&Sc(e,r)&&(i(e[s(594)](),t)||i(t,e[s(594)]()))){for(const n of t)e[s(280)](n);return e}for(const{suggestion:e,meta:n}of this[s(344)](t,s(647))){if(!n[s(472)])continue;if(!this[s(542)]&&n[s(269)])continue;if(!Sc(e,r))continue;let o=!0;for(const n of e[s(594)]())for(const e of t)if(!n[s(411)](e)){o=!1;break}if(o)return e}const a=(0,e.uid)(),c=o.id,u=s(419)+n,l=this[s(552)]({id:a,type:u,createdAt:new Date,authorId:c,attributes:r});for(const e of t)this[s(560)](u,a,c,e,Vr[s(361)]());return l}[dc(351)](t,n,r=null,s={}){const o=dc;if(r=r||Ac(n),t[o(653)])return null;if(o(291)===this[o(524)]){const e=this[o(500)][o(321)](o(628),r,o(633));return this[o(370)]((()=>e([t],n,s))),null}const i=this[o(515)][o(299)][o(627)](o(562)).me,a=[];if(o(481)!==this[o(524)])for(const{suggestion:e,meta:n}of this[o(344)](t,o(647)))n[o(472)]&&!n[o(605)]&&a[o(597)](...e[o(594)]());const c=function(t,e){const n=o,r=[];for(const s of e){const e=t[n(660)](s);e&&r[n(597)](e)}return r}(t,a),u=function(t,e){const n=o,r=[t];for(const t of e){let e=0;for(;e<r[n(273)];){const s=r[e][n(661)](t);r[n(353)](e,1,...s),e+=s[n(273)]}}return r}(t,a);c[o(273)]&&this[o(331)][o(659)]((()=>{const t=o;for(const e of c){const o=this[t(500)][t(321)](t(628),r,t(633));this[t(370)]((()=>o([e],n,s)))}}));for(const t of u){let a=null,c=t[o(539)],u=t[o(293)];for(const{suggestion:e,meta:n}of this[o(344)](t,o(628))){if(!n[o(472)])continue;if(e[o(551)]!=r)continue;if(!Sc(e,s))continue;const i=e[o(578)]();if(i[o(411)](t,!0))return null;c=c[o(443)](i[o(539)])?c:i[o(539)],u=u[o(297)](i[o(293)])?u:i[o(293)],a?i[o(539)][o(443)](a[o(578)]()[o(539)])?(a[o(658)](),a=e):e[o(658)]():a=e}const l=this[o(331)][o(509)](c,u);if(a)this[o(424)](a,l);else{const t=(0,e.uid)(),a=i.id;this[o(552)]({id:t,type:o(504)+r,data:n,createdAt:new Date,authorId:a,attributes:s}),this[o(560)](o(504)+r,t,a,l)}}return null}[dc(310)](t,n,r=[],s=null,o={}){const i=dc;n[i(473)]||(n[i(473)]=n[i(409)]),n[i(286)]=t.is(i(322)),s=s||Ac(n);const a=r[i(462)]((t=>Nc(t,this[i(331)]))),c=t.is(i(322))?t:Nc(t,this[i(331)]);if(i(291)===this[i(524)]){const t=this[i(500)][i(321)](i(245),s,i(633));return this[i(370)]((()=>t([c],n,o))),null}a[i(597)](c);let u=!0;for(const t of a)if(!this[i(499)](t)){u=!1;break}if(u&&i(481)!==this[i(524)]){const t=this[i(500)][i(321)](i(245),s,i(633));return this[i(370)]((()=>t([c],n,o))),null}let l=null,f=c[i(539)],h=c[i(293)];for(const{suggestion:t,meta:e}of this[i(344)](c,i(245))){if(!e[i(472)])continue;if(e[i(444)]||e[i(269)]||e[i(605)])continue;if(t[i(561)][i(473)]!=n[i(473)])continue;if(!Sc(t,o))continue;const r=t[i(578)]();if(t[i(551)]==s){if(r[i(411)](c,!0))return null;f=f[i(443)](r[i(539)])?f:r[i(539)],h=h[i(297)](r[i(293)])?h:r[i(293)],l?r[i(539)][i(443)](l[i(578)]()[i(539)])?(l[i(658)](),l=t):t[i(658)]():l=t}else{const e=c[i(660)](r);this[i(416)](t,e)}}const g=this[i(515)][i(299)][i(627)](i(562)).me,d=(0,e.uid)(),p=g.id;if(l)return this[i(424)](l,this[i(331)][i(509)](f,h)),l;{const t=this[i(552)]({id:d,type:i(343)+s,data:n,createdAt:new Date,authorId:p,attributes:o});return this[i(560)](i(343)+s,d,p,this[i(331)][i(509)](f,h)),t}}[dc(407)](t,n,r=[],s=null,o={}){const i=dc;n[i(473)]||(n[i(473)]=n[i(409)]);const a=t[0];n[i(286)]=a.is(i(322)),s=s||Ac(n);const c=r[i(462)]((t=>Nc(t,this[i(331)]))),u=a.is(i(322))?t:t[i(462)]((t=>Nc(t,this[i(331)])));if(i(291)===this[i(524)]){const t=this[i(500)][i(321)](i(245),s,i(633));return this[i(370)]((()=>t(u,n,o))),null}c[i(597)](...u);let l=!0;for(const t of c)if(!this[i(499)](t)){l=!1;break}if(l&&i(481)!==this[i(524)]){const t=this[i(500)][i(321)](i(245),s,i(633));return this[i(370)]((()=>t(u,n,o))),null}const f=this[i(515)][i(299)][i(627)](i(562)).me;for(const t of this[i(391)]()){if(t[i(667)].id!=f.id)continue;if(i(245)!=t[i(482)]||t[i(561)][i(473)]!=n[i(473)])continue;if(!Sc(t,o))continue;const e=t[i(551)]==s;for(let n=0;n<u[i(273)];n++){const r=u[n];for(const s of t[i(554)]()){const o=s[i(498)]();if(r[i(529)](o)){e?(u[i(353)](n,1),n--):t[i(298)](s[i(493)]);break}}}}if(0==u[i(273)])return null;const h=this[i(500)][i(321)](i(245),s,i(318));for(const t of this[i(391)]())if(t[i(667)].id==f.id&&i(245)==t[i(482)]&&t[i(561)][i(473)]==n[i(473)]&&t[i(551)]==s&&Sc(t,o)&&(h(t[i(594)](),u)||h(u,t[i(594)]()))){for(const e of u)t[i(280)](e);return t}const g=(0,e.uid)(),d=f.id,p=i(343)+s,m=this[i(552)]({id:g,type:p,data:n,createdAt:new Date,authorId:d,attributes:o});for(const t of u)this[i(560)](p,g,d,t,Vr[i(361)]());return m}[dc(573)](t,n=null,r={}){const s=dc;if(t[s(653)])return null;const o=this[s(515)][s(299)][s(627)](s(562)).me,a=new i.LiveRange(t[s(539)],t[s(293)]);for(const{suggestion:t,meta:e}of this[s(344)](a,s(647)))if(e[s(472)]&&!e[s(444)])if(t[s(346)]){const e=t[s(594)]()[s(625)]((t=>s(420)!=t[s(512)][s(567)]));if(e[s(384)]((t=>a[s(411)](t,!0)))&&t[s(671)](),e[s(284)]((t=>t[s(411)](a,!0)))){const t=this[s(500)][s(321)](s(241),n,s(633));return this[s(370)]((()=>t([a],null,r))),null}}else{const e=a[s(660)](t[s(578)]());null!==e&&t[s(579)]([e],null,r)}if(a[s(323)](),a[s(653)]||s(420)==a[s(512)][s(567)])return null;let c=null,u=a[s(539)],l=a[s(293)];const f=this[s(344)](a,s(241));for(const{suggestion:t,meta:e}of f){const n=this[s(331)][s(509)](u,l);if(e[s(472)]&&(this[s(542)]||!e[s(269)]&&!e[s(605)]))if(t[s(346)]){if(!Sc(t,r))continue;let e=!0;for(const r of t[s(594)]()){if(r[s(411)](n,!0))return t;n[s(411)](r)||(e=!1)}e&&t[s(671)]()}else{const e=t[s(578)]();if(e[s(411)](n,!0))return t;if(!Sc(t,r)){n[s(411)](e)?t[s(658)]():e[s(430)](u)?u=e[s(293)]:e[s(430)](l)&&(l=e[s(539)]);continue}u=u[s(443)](e[s(539)])?u:e[s(539)],l=l[s(297)](e[s(293)])?l:e[s(293)],r=Object[s(348)]({},t[s(448)]),c?e[s(539)][s(443)](c[s(578)]()[s(539)])?(c[s(658)](),c=t):t[s(658)]():c=t}}if(c)return this[s(424)](c,this[s(331)][s(509)](u,l)),c;{const t=(0,e.uid)(),i=this[s(331)][s(509)](u,l),a=o.id,c=n?s(442)+n:s(241),f=this[s(552)]({id:t,type:c,createdAt:new Date,authorId:a,attributes:r});return this[s(560)](c,t,a,i),f}}[dc(386)](t,n=dc(307),r={}){const s=dc,o=this[s(515)][s(299)][s(627)](s(562)).me,a=t[s(462)]((t=>new i.LiveRange(t[s(539)],t[s(293)]))),c=new Set;for(const{suggestion:t,meta:e}of this[s(344)](a,s(647)))e[s(472)]&&!e[s(444)]&&c[s(404)](t);for(const e of c)if(e[s(346)]){const o=e[s(594)]();if((!e[s(448)]||!e[s(448)][s(592)])&&o[s(384)]((t=>a[s(284)]((e=>e[s(411)](t,!0)))))&&e[s(671)](),a[s(384)]((t=>o[s(284)]((e=>e[s(411)](t,!0)))))){const e=this[s(500)][s(321)](s(241),n,s(633));return this[s(370)]((()=>e(t,null,r))),null}}else{const t=e[s(578)]();if(a[s(284)]((e=>e[s(411)](t,!0)))&&e[s(671)](),a[s(384)]((e=>t[s(411)](e,!0)))){const t=this[s(500)][s(321)](s(241),n,s(633));return this[s(370)]((()=>t(a,null,r))),null}}const u=this[s(500)][s(321)](s(241),n,s(318));let l=null;for(const t of this[s(391)]())if(t[s(667)].id==o.id&&t[s(518)]&&s(241)==t[s(482)]&&t[s(551)]==n&&Sc(t,r)&&(u(t[s(594)](),a)||u(a,t[s(594)]())))if(l){if(t[s(466)]&&t[s(466)][s(273)])continue;for(const e of t[s(594)]())l[s(342)](e)||l[s(280)](e);t[s(658)]()}else{l=t;for(const e of a)t[s(342)](e)||t[s(280)](e)}if(l)return l;c[s(590)]();for(const{suggestion:t,meta:e}of this[s(344)](a,s(241)))e[s(472)]&&(this[s(542)]||!e[s(269)]&&!e[s(605)])&&Sc(t,r)&&c[s(404)](t);for(const t of c){const e=t[s(594)]();if((!r||!r[s(592)])&&a[s(384)]((t=>e[s(284)]((e=>e[s(411)](t,!0))))))return t;(!t[s(448)]||!t[s(448)][s(592)])&&e[s(384)]((t=>a[s(284)]((e=>e[s(411)](t,!0)))))&&t[s(671)]()}const f=(0,e.uid)(),h=o.id,g=s(442)+n,d=this[s(552)]({id:f,type:g,createdAt:new Date,authorId:h,attributes:r});for(const t of a)t[s(323)](),t[s(653)]||s(420)==t[s(512)][s(567)]||this[s(560)](g,f,h,t,Vr[s(361)]());return d}[dc(495)](t,n,r,s,o){const i=dc;if(t[i(653)])return[];if(i(291)===this[i(524)])return[];const a=this[i(515)][i(299)][i(627)](i(562)).me.id,c=Array[i(305)](this[i(330)][i(668)]())[i(625)]((e=>i(445)==e[i(482)]&&e[i(561)][i(486)]==n&&e[i(342)](t)));if(i(376)===this[i(524)]){const e=this[i(344)](t,i(647))[i(625)]((({meta:t})=>t[i(472)]&&!t[i(605)]&&!t[i(444)]))[i(462)]((({suggestion:t})=>t));c[i(588)](...e)}const u=new Map([[t,r]]);for(const t of c){const e=i(445)==t[i(482)]?t[i(561)][i(373)]:void 0,o=t[i(578)](),a=Array[i(305)](u[i(619)]())[i(643)]((t=>t[i(325)](o)));if(!a)continue;const c=a[i(661)](o);this[i(383)](n)&&i(647)==t[i(482)]&&0!=c[i(273)]||(u[i(507)](a),c[i(250)]((t=>{u[i(631)](t,r)})),i(647)!=t[i(482)]&&e!=s&&u[i(631)](a[i(660)](o),e))}const l=[];for(const[t,r]of u){const c=(0,e.uid)(),u={key:n,oldValue:r,newValue:s};n[i(273)]>37&&console[i(362)](i(405),{key:n});const f=(i(599)+(n+"|")+Ac({newValue:s}))[i(390)](0,60),h=this[i(552)]({id:c,type:f,data:u,createdAt:new Date,authorId:a,attributes:o});l[i(597)](h),this[i(560)](f,c,a,t)}return l}[dc(595)](t){const e=dc;this[e(517)][e(404)](t)}[dc(438)](t){const e=dc;this[e(319)][e(404)](t)}[dc(450)](t,e=[],n=[]){const r=dc;this[r(606)](t,((t,...e)=>{this[r(575)]((()=>{t(...e)}))}));for(const t of e)this[r(438)](t);for(const t of n)this[r(595)](t)}[dc(550)](t){const e=dc;return e(445)==t[e(482)]?t[e(551)][e(329)]("|")[0]:null}[dc(424)](t,e){const n=dc,r=t[n(527)]();this[n(331)][n(659)]((t=>{t[n(396)](r,{range:e})}))}[dc(664)](t){const e=dc,n=t.id,r=this[e(515)][e(369)][e(627)](e(629));this[e(582)][e(451)](n)||this[e(582)][e(623)]({channelId:r,threadId:n,isResolvable:!1,isSubmitted:!0});const s=this[e(582)][e(283)](n);s[e(287)](e(503)),s[e(503)]=!1,t[e(466)]=s}[dc(621)](t,n,r,s){const o=dc;if(t[o(482)]!=n||t[o(551)]!=r||t[o(570)].id!=s)throw this[o(515)][o(669)](o(367)),new e.CKEditorError(o(367),this)}[dc(416)](t,n){const r=dc,s=t[r(578)]();if(n[r(529)](s))t[r(658)]();else if(s[r(411)](n)){const o=this[r(331)][r(662)](n[r(539)][r(412)],r(293));this[r(424)](t,this[r(331)][r(509)](s[r(539)],o));const i=(0,e.uid)(),a=t[r(570)].id,c=t[r(482)]+":"+t[r(551)];this[r(552)]({id:i,type:c,createdAt:new Date,authorId:a,data:t[r(561)],attributes:t[r(448)]});const u=this[r(331)][r(662)](n[r(293)][r(337)],r(350)),l=this[r(331)][r(509)](u,s[r(293)]);this[r(560)](c,i,a,l)}else if(s[r(430)](n[r(539)])){const e=this[r(331)][r(662)](n[r(539)][r(412)],r(293));this[r(424)](t,this[r(331)][r(509)](s[r(539)],e))}else{const e=this[r(331)][r(662)](n[r(293)][r(337)],r(350));this[r(424)](t,this[r(331)][r(509)](e,s[r(293)]))}}[dc(499)](t){const e=dc;for(const{suggestion:n,meta:r}of this[e(344)](t,e(647))){if(!r[e(472)])continue;const s=n[e(594)]();for(const n of s)if(!t[e(661)](n)[e(273)])return!0}return!1}[dc(600)](t){const n=dc,r=this[n(515)][n(299)][n(627)](n(562))[n(581)](t);if(!r)throw new e.CKEditorError(n(565),this);return r}[dc(557)](t){const e=dc,n=this[e(515)][e(299)][e(627)](e(562)),r=(0,o.hashObject)(e(640)+t);return n[e(581)](r)||n[e(339)]({id:r,name:t})}[dc(267)](t,e,n,r,s){const o=dc,i=this[o(600)](r),a=this[o(500)][o(311)](t,e,n,i,s,(t=>{const e=o;this[e(382)](n,{attributes:t});const r=this[e(304)](n);this[e(471)](new Set([r])),this[e(251)](new Set([r]))}));return this[o(463)](a,o(633),(()=>{const t=o;this[t(382)](n,{state:t(264)})}),{priority:o(266)}),this[o(463)](a,o(671),(()=>{const t=o;this[t(382)](n,{state:t(533)})}),{priority:o(266)}),this[o(330)][o(631)](n,a),this[o(243)][o(631)](a,o(441)),a}[dc(355)](t){const e=dc,n=t[e(329)](":");return{group:n[0],type:n[1],subType:n[e(273)]>=5?n[2]:null,id:n[e(273)]<5?n[2]:n[3],authorId:n[e(273)]<5?n[3]:n[4],markerCount:6==n[e(273)]?n[5]:null}}[dc(417)](t,n,r){const s=dc,o=t[s(578)](),i=o[s(539)],a=o[s(293)];this[s(424)](t,this[s(331)][s(509)](i,n));const c=(0,e.uid)(),u=t[s(570)].id,l=t[s(482)]+(t[s(551)]?":"+t[s(551)]:"");this[s(552)]({id:c,type:l,createdAt:new Date,authorId:u,originalSuggestionId:t.id,attributes:t[s(448)],data:t[s(561)]});const f=this[s(550)](t);(s(245)==t[s(482)]||f&&this[s(383)](f))&&(r=this[s(331)][s(521)](r[s(337)])),this[s(560)](l,c,u,this[s(331)][s(509)](r,a))}[dc(344)](t,e=null){const n=dc,r=[],s=this[n(515)][n(299)][n(627)](n(562)).me;Array[n(385)](t)||(t=[t]);for(const o of this[n(391)]()){if(!o[n(518)])continue;if(e&&o[n(482)]!=e)continue;let i=!1;for(const e of o[n(594)]()){for(const a of t){const t=a[n(539)][n(529)](e[n(293)])||a[n(293)][n(529)](e[n(539)]);if(t||a[n(660)](e)){const c=a[n(411)](e)&&Tc(this[n(331)][n(303)],e[n(539)],a),u=e[n(411)](a)&&Tc(this[n(331)][n(303)],a[n(539)],e);r[n(597)]({suggestion:o,meta:{isOwn:s==o[n(667)],isNextTo:t,isInsideObject:c,containsRangeInObject:u}}),i=!0;break}}if(i)break}}return r}[dc(560)](t,e,n,r,s){const o=dc;this[o(331)][o(659)]((i=>{const a=o;let c=a(537)+t+":"+e+":"+n;s&&(c=c+":"+s),i[a(458)](c,{range:r,usingOperation:!0,affectsData:!0})}))}[dc(558)](t){const e=dc,n=t[e(637)],r=t[e(456)];t[e(637)]=null,t[e(456)]=null,null!=n&&n[e(456)]==t&&(n[e(456)]=r),null!=r&&r[e(637)]==t&&(r[e(637)]=n),e(644)==this[e(243)][e(627)](t)&&(this[e(243)][e(631)](t,e(397)),this[e(247)](e(618),t,n,r))}[dc(552)](t){const n=dc,r=t.id,s=this[n(491)](t);if(this[n(516)]&&this[n(516)][n(435)]){const o=this[n(515)][n(299)][n(627)](n(460)),i=s[n(402)],a=s[n(551)]?s[n(482)]+":"+s[n(551)]:s[n(482)],c=this[n(515)][n(584)],u=o[n(404)](zr(c,n(484))),l={id:r,type:a,hasComments:i,data:t[n(561)]||null,originalSuggestionId:t[n(555)]||null,attributes:s[n(448)]};this[n(516)][n(435)](l)[n(459)]((t=>{const e=n;s[e(538)]=!0,o[e(242)](u),t&&t[e(494)]&&(this[e(330)][e(627)](r)[e(494)]=t[e(494)])}))[n(470)]((t=>{const r=n;throw(0,e.logWarning)(r(259)),this[r(515)][r(352)][r(309)]({isUndoable:!1},(()=>{s[r(671)]()})),s[r(641)](),this[r(330)][r(507)](s.id),this[r(243)][r(507)](s),t}))}return s}[dc(383)](t){const e=dc;return this[e(517)][e(288)](t)}[dc(382)](t,e){const n=dc,r=this[n(515)][n(299)][n(627)](n(460)),s=this[n(304)](t);if(this[n(516)]&&this[n(516)][n(501)])if(s[n(538)]){const s=r[n(404)](zr(this[n(515)][n(584)],n(484)));this[n(516)][n(501)](t,e)[n(459)]((()=>{r[n(242)](s)}))}else s.on(n(476),(()=>{this[n(382)](t,e)}))}[dc(613)](t){const n=dc;if(!this[n(516)]||!this[n(516)][n(304)])throw new e.CKEditorError(n(572),this);return this[n(516)][n(304)](t)}[dc(543)](t){const e=dc,{id:n,type:r,subType:s,authorId:o}=this[e(355)](t),i=this[e(330)][e(627)](n)||this[e(267)](r,s,n,o,{});switch(this[e(621)](i,r,s,o),this[e(243)][e(627)](i)){case e(441):this[e(613)](n)[e(459)]((t=>{const r=e;let s=Promise[r(656)]();t[r(402)]&&(s=this[r(582)][r(437)]({channelId:this[r(515)][r(369)][r(627)](r(629)),threadId:n})),s[r(459)]((()=>{const e=r;this[e(491)](t)[e(538)]=!0}))})),this[e(243)][e(631)](i,e(295));break;case e(397):this[e(382)](n,{state:e(246)});case e(530):this[e(243)][e(631)](i,e(644)),this[e(247)](e(589),i);break;case e(644):this[e(247)](e(431),i)}return i[e(294)](t),i}[dc(251)](t){const e=dc,n=Array[e(305)](t),r=n[e(625)]((t=>e(445)==t[e(482)]));this[e(341)](r);const s=n[e(625)]((t=>!t[e(346)]&&e(445)!=t[e(482)])),o=this[e(391)]({skipNotAttached:!0})[e(625)]((t=>!t[e(346)]&&e(445)!=t[e(482)])),i=o[e(625)]((n=>!t[e(288)](n))),a=new Map(o[e(462)]((t=>[t,this[e(500)][e(321)](t[e(482)],t[e(551)],e(400))]))),c=new Map(o[e(462)]((t=>[t,t[e(578)]()]))),u=new Set,l=new Set;for(let t=0;t<s[e(273)];t++)h(s[t],s,t+1);for(let t=0;t<s[e(273)];t++)h(s[t],i,0);const f=new Set;for(let t=0;t<s[e(273)];t++){const n=s[t];!l[e(288)](n)&&n[e(637)]&&(f[e(404)](n[e(637)]),n[e(637)][e(456)]===n&&(n[e(637)][e(456)]=null),n[e(637)]=null),!u[e(288)](n)&&n[e(456)]&&(f[e(404)](n[e(456)]),n[e(456)][e(637)]===n&&(n[e(456)][e(637)]=null),n[e(456)]=null)}function h(t,n,r){const s=e;for(let e=r;e<n[s(273)];e++){const r=g(t,n[e]);r&&(r[0][s(456)]=r[1],r[1][s(637)]=r[0],u[s(404)](r[0]),l[s(404)](r[1]))}}function g(t,n){const r=e;if(t[r(667)].id!==n[r(667)].id)return null;const s=a[r(627)](t)(t,n,c[r(627)](t),c[r(627)](n));return s&&a[r(627)](n)(t,n,c[r(627)](t),c[r(627)](n))?s[1][r(466)]&&s[1][r(466)][r(273)]?null:s:null}f[e(649)]&&this[e(251)](f)}[dc(341)](t){const e=dc;if(0==t[e(273)])return;const n=this[e(391)]({skipNotAttached:!0})[e(625)]((t=>e(445)==t[e(482)]&&t[e(673)])),r=[],s=new Map;for(const t of n){const n=(0,o.hashObject)(t[e(448)]);s[e(288)](n)||(s[e(631)](n,r[e(273)]),r[e(597)]([]));const i=s[e(627)](n);r[i][e(597)](t)}!function(){const t=e;r[t(602)](((e,n)=>{const r=t,s=e[0][r(494)],o=n[0][r(494)];return s==o?e[0][r(448)][r(622)]<n[0][r(448)][r(622)]?-1:1:s<o?-1:1}));for(const e of r)e[t(602)](((t,e)=>t.id<e.id?-1:1))}();for(let t=0;t<r[e(273)];t++){if(0==r[t][e(273)])continue;const n=[];for(let s=t+1;s<r[e(273)];s++)0!=r[s][e(273)]&&i(r[t],r[s])&&n[e(597)](s);for(const s of n)r[t]=r[t][e(358)](r[s]),r[s]=[]}for(const t of r)for(let n=0;n<t[e(273)];n++)t[n][e(456)]=t[n+1]||null;for(const t of r)for(let n=0;n<t[e(273)];n++)t[n][e(637)]=t[n-1]||null;function i(t,n){const r=e;if(t[0][r(448)][r(622)]!==n[0][r(448)][r(622)]&&t[0][r(667)]!==n[0][r(667)])return!1;if(!function(t,e){const n=r;return!t[n(402)]&&!e[n(402)]||(!t[n(402)]||!e[n(402)])&&(!!(t[n(402)]&&e[n(494)]<t[n(466)][n(611)][n(627)](0)[n(494)])||!!(e[n(402)]&&t[n(494)]<e[n(466)][n(611)][n(627)](0)[n(494)]))}(t[0],n[0]))return!1;const s=gc(t[0][r(448)],r(622)),o=gc(n[0][r(448)],r(622));return!!wr(s,o)&&(!!t[r(384)]((t=>n[r(284)]((e=>t[r(578)]()[r(529)](e[r(578)]())))))&&n[r(384)]((e=>t[r(284)]((t=>e[r(578)]()[r(529)](t[r(578)]()))))))}}[dc(471)](t){const e=dc,n=Array[e(305)](t),r=this[e(391)]({skipNotAttached:!0}),s=r[e(625)]((n=>!t[e(288)](n))),o=new Map(n[e(462)]((t=>[t,this[e(500)][e(321)](t[e(482)],t[e(551)],e(318))]))),i=new Map(r[e(462)]((t=>[t,t[e(594)]()])));for(let t=0;t<n[e(273)];t++)if(a(this,n[t],n,t+1))return!0;for(let t=0;t<n[e(273)];t++)if(a(this,n[t],s,0))return!0;return!1;function a(t,n,r,s){const a=e;for(let e=s;e<r[a(273)];e++){const s=r[e];if(s[a(482)]!==n[a(482)]||s[a(667)].id!==n[a(667)].id||s[a(551)]!==n[a(551)])continue;if(!Rc(n,s,[a(622)]))continue;if(a(445)==n[a(482)]&&n[a(561)][a(373)]!=s[a(561)][a(373)])continue;if(a(445)==n[a(482)]&&t[a(383)](n[a(561)][a(486)]))continue;if(a(245)==n[a(482)]){const e=t[a(515)][a(352)],r=n[a(414)]();if(r&&(e[a(303)][a(410)](r)||e[a(303)][a(249)](r)))continue}const c=o[a(627)](n),u=i[a(627)](n),l=i[a(627)](s),f=n[a(466)]&&n[a(466)][a(273)],h=s[a(466)]&&s[a(466)][a(273)];if(!f&&c(l,u))return t[a(347)](s,n),i[a(507)](n),!0;if(!h&&c(u,l))return t[a(347)](n,s),i[a(507)](s),!0}return!1}}[dc(347)](t,e){const n=dc;if(t[n(346)])for(const r of e[n(594)]())t[n(280)](r);else{const r=e[n(578)]()[n(293)];this[n(424)](t,this[n(331)][n(509)](t[n(578)]()[n(539)],r))}e[n(658)]()}[dc(548)](t,e){const n=dc,r=t[n(534)](n(663))||t[n(534)](n(445))?n(672):t[n(593)]();return zr(this[n(515)][n(584)],e+"_"+r+n(363))}[dc(281)](){const t=dc,e=this[t(515)];(0,o.surroundingMarkersDetector)(this[t(331)],(({left:n,entered:r})=>{const s=t,o=[];for(const t of n){const{group:e,type:n}=this[s(355)](t[s(493)]);if(s(506)===e){o[s(597)](this[s(548)](n,s(265)));break}}for(const t of r){const{group:e,type:n}=this[s(355)](t[s(493)]);if(s(506)===e){o[s(597)](this[s(548)](n,s(360)));break}}o[s(273)]&&e.ui[s(496)][s(399)](s(514),o[s(318)](" "))}))}[dc(580)](t){const e=dc;if(this[e(531)])return!1;const n=this[e(515)],r=n[e(352)][e(277)][e(569)][e(276)]();if(0==r[e(273)])return!1;const s=[],o=r[e(625)]((t=>e(445)==t[e(482)])),i=r[e(625)]((t=>e(519)==t[e(482)]&&e(306)!=t[e(493)])),a=r[e(625)]((t=>e(242)==t[e(482)]&&e(306)!=t[e(493)]));for(const t of o)s[e(597)]({key:t[e(333)],newValue:t[e(454)],oldValue:t[e(505)],range:kc(t[e(322)],n[e(352)])});for(const t of i){const r=a[e(643)]((n=>n[e(634)][e(529)](t[e(634)])));r&&s[e(597)]({key:e(485),newValue:t[e(493)],oldValue:r[e(493)],range:n[e(352)][e(469)](t[e(634)][e(665)])})}return 0!=s[e(273)]&&this[e(433)](t,s)}[dc(317)](t){const e=dc;let n=!1;const r=this[e(515)][e(352)][e(277)][e(569)][e(528)]()[e(625)]((t=>t[e(561)][e(278)]&&t[e(493)][e(534)](e(282))));for(const s of r){const{subType:r,id:o}=this[e(355)](s[e(493)]),i=r[e(329)]("|")[0];for(const r of this[e(391)]({skipNotAttached:!0}))r.id!=o&&e(445)==r[e(482)]&&r[e(561)]&&r[e(561)][e(486)]==i&&r[e(578)]()[e(325)](s[e(561)][e(278)])&&(this[e(510)](r,s[e(561)][e(278)],t),n=!0)}return n}[dc(575)](t){const e=dc;this[e(515)],this[e(531)]=!0,t()}[dc(332)](t){const e=dc,n=this[e(383)](t),r=this[e(319)][e(288)](t);return n||r}[dc(433)](t,e){const n=dc;if(0==e[n(273)])return!1;let r=!1;for(const s of e){const e=this[n(344)](s[n(322)],n(445))[n(625)]((t=>!t[n(248)][n(444)]))[n(462)]((t=>t[n(506)])),i=(0,o.hashObject)({newValue:s[n(540)]});e[n(625)]((t=>{const e=n,[r,o]=t[e(551)][e(329)]("|");return r==s[e(486)]&&o!=i}))[n(250)]((e=>{const o=n;this[o(510)](e,s[o(322)],t),r=!0}))}return r}[dc(510)](t,e,n){const r=dc,s=t[r(578)]()[r(661)](e);0!==s[r(273)]?1!==s[r(273)]?this[r(417)](t,e[r(539)],e[r(293)]):this[r(424)](t,s[0]):n[r(298)](t[r(527)]())}}class bc{constructor(t){const e=dc;this[e(263)]=t,this[e(331)]=t[e(352)],this[e(289)]=new Map,this[e(392)]=new Map,this[e(427)]()}[dc(311)](t,e,n,r,s,o){const i=dc;return new Vr(this[i(331)],{type:t,subType:e,id:n,author:r,creator:r,attributes:s,onAttributesChange:o,onAccept:(...n)=>this[i(321)](t,e,i(633))(...n),onDiscard:(...n)=>this[i(321)](t,e,i(671))(...n)})}[dc(549)](t,e,n,r){const s=dc,o=t+":"+e+":"+n;this[s(289)][s(631)](o,r)}[dc(321)](t,e,n){const r=dc,s=t+":"+e+":"+n;return this[r(289)][r(627)](s)||this[r(392)][r(627)](t+":"+n)}[dc(427)](){const t=dc,e=()=>!1,n=t=>{const e=pc;t[e(602)](((t,n)=>t[e(539)][e(443)](n[e(539)])?1:-1)),this[e(331)][e(659)]((n=>{const r=e;for(const e of t){let t;t=e[r(293)][r(532)]&&e[r(293)][r(337)]==e[r(539)][r(665)]?n[r(256)](e[r(539)][r(665)],"on"):n[r(256)](e),this[r(331)][r(395)](t,{forceDefaultExecution:!0,doNotAutoparagraph:!0})}}))},r=(t,e)=>{const n=pc;e&&this[n(331)][n(659)]((r=>{const s=n,{commandName:o,commandParams:a=[]}=e,c=t[s(462)]((t=>(_c(t)&&(t=this[s(331)][s(509)](t[s(293)])),t)))[s(625)]((t=>s(420)!==t[s(512)][s(567)]));if(c[s(273)]<1)return;const u=Array[s(305)](this[s(331)][s(277)][s(255)][s(594)]())[s(462)]((t=>i.LiveRange[s(607)](t)));r[s(651)](c);for(const t of this[s(263)][s(474)][s(474)]())t[s(375)]();a[s(597)]({forceDefaultExecution:!0}),this[s(263)][s(654)](o,...a);const l=u[s(625)]((t=>s(420)!=t[s(512)][s(567)]));l[s(273)]>0&&r[s(651)](l);for(const t of u)t[s(323)]()}))},s=(e,n)=>1==e[t(273)]&&1==n[t(273)]&&e[0][t(293)][t(529)](n[0][t(539)]),o=(e,n,r,s)=>Lc(e,n,r,s,this[t(331)])?[e,n]:Lc(n,e,s,r,this[t(331)])?[n,e]:null;this[t(392)][t(631)](t(571),e),this[t(392)][t(631)](t(457),n),this[t(392)][t(631)](t(308),s),this[t(392)][t(631)](t(601),o),this[t(392)][t(631)](t(354),n),this[t(392)][t(631)](t(574),e),this[t(392)][t(631)](t(421),s),this[t(392)][t(631)](t(576),o),this[t(392)][t(631)](t(334),r),this[t(392)][t(631)](t(452),e),this[t(392)][t(631)](t(603),s),this[t(392)][t(631)](t(326),e),this[t(392)][t(631)](t(253),r),this[t(392)][t(631)](t(492),e),this[t(392)][t(631)](t(604),s),this[t(392)][t(631)](t(556),e),this[t(392)][t(631)](t(328),e),this[t(392)][t(631)](t(324),((e,n)=>{const r=t;if(!n)return;const s=this[r(263)][r(299)][r(627)](Ec);this[r(331)][r(659)]((t=>{const o=r;if(o(485)==n[o(486)])for(const r of e){const e=r[o(539)][o(665)],s=n[o(373)];t[o(380)](e,s)}else if(s[o(383)](n[o(486)]))for(const r of e)void 0!==n[o(373)]?t[o(436)](n[o(486)],n[o(373)],r[o(539)][o(665)]):t[o(490)](n[o(486)],r[o(539)][o(665)]);else for(const r of e)n[o(373)]?t[o(436)](n[o(486)],n[o(373)],r):t[o(490)](n[o(486)],r)}))})),this[t(392)][t(631)](t(467),s)}}function Tc(t,e,n){const r=dc;for(const s of e[r(337)][r(447)]({includeSelf:!0,parentFirst:!0})){if(s[r(512)]==s)return!1;if(!n[r(327)](s))return!1;if(t[r(410)](s)||t[r(249)](s))return!0}return!1}function _c(t){const e=dc;return t[e(293)][e(337)]==t[e(539)][e(665)]&&t[e(293)][e(394)]}function yc(t,e,n,r){const s=dc,o=t=>!t[s(426)].is(s(393))&&!r[s(410)](t[s(426)]),i=t[s(539)][s(312)](o),a=t[s(293)][s(312)](o,{direction:s(422)});return!(t[s(539)][s(529)](i)&&t[s(293)][s(529)](a)||(i[s(443)](a)?n[s(396)](e,{range:n[s(509)](i,a)}):n[s(298)](e),0))}function Ac(t){return(0,o.hashObject)(t)}function Cc(t){const e=dc,n=t[e(539)][e(665)];return n&&n.is(e(356))}function kc(t,e){const n=dc;return null==t[n(293)][n(412)]&&t[n(293)][n(337)]==t[n(539)][n(665)]?Nc(t[n(539)][n(665)],e):t}function Nc(t,e){const n=dc,r=e[n(303)][n(410)](t)||e[n(303)][n(596)](t);return e[n(509)](e[n(662)](t,n(408)),r?e[n(440)](t):e[n(662)](t,n(293)))}function Lc(t,e,n,r,s){const o=dc;if(!Rc(t,e))return!1;if(n[o(293)][o(529)](r[o(539)]))return!0;if(t[o(482)]!=e[o(482)])return!1;if(!n[o(293)][o(475)](r[o(539)]))return!1;const i=s[o(509)](n[o(293)],r[o(539)])[o(301)]();for(const t of i)if([o(368),o(315)][o(290)](t[o(482)])&&s[o(303)][o(249)](t[o(426)]))return!1;return!0}function Rc(t,e,n=[]){const r=dc;return!(!t[r(673)]||!e[r(673)])&&wr(gc(t[r(448)],n),gc(e[r(448)],n))}function Sc(t,e){const n=dc,r=vc(t[n(448)]),s=vc(e);if(!t[n(673)])return!1;for(const t of Object[n(619)](s))if(!wr(r[t],s[t]))return!1;return!0}function vc(t){const e=dc,n=Object[e(348)]({},t);return delete n[e(592)],delete n[e(336)],n}function Mc(t,e){const n=Oc();return(Mc=function(t,e){return n[t-=131]})(t,e)}function Oc(){const t=["47016380TZksMX","add","bind","4617235ZdUUeW","stopListening","commands","canAccept","model","5187660HgUwqE","view","isEnabled","commentThreadController","303632pGwXnt","_discardCommand","PendingActions","5229930zjdSXn","_removePendingAction","1105987KwCCpC","acceptSuggestion","canDiscard","listenTo","PENDING_ACTION_SUGGESTION","159fxYZtV","_editor","discardSuggestion","execute","change:isDirty","_setPendingAction","45586nwqWMK","destroy","locale","unbind","plugins","get","_acceptCommand","5FNQfYN","_pendingAction","remove","isDirty","canEditAt","getRanges","63ZerVjP"];return(Oc=function(){return t})()}const wc=Mc;!function(t,e){const n=Mc,r=t();for(;;)try{if(706231===parseInt(n(166))/1+parseInt(n(135))/2*(parseInt(n(171))/3)+parseInt(n(157))/4+-parseInt(n(142))/5*(-parseInt(n(164))/6)+parseInt(n(152))/7+-parseInt(n(161))/8*(-parseInt(n(148))/9)+-parseInt(n(149))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Oc);class Fc extends((0,e.ObservableMixin)()){constructor(t,e,n,r){const s=Mc;super(),this[s(156)]=e,this[s(158)]=n,this[s(160)]=r,this[s(172)]=t,this[s(141)]=t[s(154)][s(140)](s(167)),this[s(162)]=t[s(154)][s(140)](s(131)),this[s(158)][s(151)](s(159)).to(this[s(141)],this[s(162)],((t,e)=>t||e)),this[s(158)][s(151)](s(155)).to(this[s(141)],s(159),(t=>t&&this[s(172)][s(156)][s(146)](e[s(147)]()))),this[s(158)][s(151)](s(168)).to(this[s(162)],s(159),(t=>t&&this[s(172)][s(156)][s(146)](e[s(147)]()))),this[s(143)]=null,n[s(145)]&&this[s(134)](),this[s(169)](n,s(167),(()=>this[s(167)]())),this[s(169)](n,s(131),(()=>this[s(131)]())),this[s(169)](n,s(133),(()=>{const t=s;n[t(145)]?this[t(134)]():this[t(165)]()}))}[wc(167)](){const t=wc;this[t(141)][t(132)](this[t(156)].id)}[wc(131)](){const t=wc;this[t(162)][t(132)](this[t(156)].id)}[wc(136)](){const t=wc;this[t(158)][t(138)](t(159)),this[t(158)][t(138)](t(155)),this[t(158)][t(138)](t(168)),this[t(153)](),this[t(160)][t(136)](),this[t(143)]&&this[t(165)]()}[wc(134)](){const t=wc,e=zr(this[t(172)][t(137)],t(170));this[t(143)]=this[t(172)][t(139)][t(140)](t(163))[t(150)](e)}[wc(165)](){const t=wc;null!==this[t(143)]&&this[t(172)][t(139)][t(140)](t(163))[t(144)](this[t(143)]),this[t(143)]=null}}const Dc=Pc;function Pc(t,e){const n=Bc();return(Pc=function(t,e){return n[t-=480]})(t,e)}!function(t,e){const n=Pc,r=t();for(;;)try{if(468516===parseInt(n(490))/1*(-parseInt(n(515))/2)+-parseInt(n(491))/3*(parseInt(n(499))/4)+parseInt(n(481))/5*(-parseInt(n(485))/6)+-parseInt(n(527))/7+parseInt(n(525))/8+parseInt(n(518))/9+-parseInt(n(488))/10*(-parseInt(n(497))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Bc);class xc extends s.View{constructor(t,e,n,r){const s=Pc;super(t),this[s(504)]=null,this[s(480)]=null,this[s(526)](s(493),!1),this[s(526)](s(502),e[s(502)]),this[s(524)](s(502)).to(e),this[s(526)](s(496),[]),this[s(526)](s(486),!1),this[s(526)](s(531),!1),this[s(526)](s(503),!1),this[s(526)](s(511),!1),this[s(529)]=e,this[s(517)]=n,this[s(487)]=r,r[s(484)]?this[s(526)](s(495),1):this[s(519)]()}[Dc(506)](){const t=Dc;this[t(522)][t(506)]()}[Dc(528)](){const t=Dc;this[t(504)]&&this[t(504)][t(528)](),this[t(480)]&&this[t(480)][t(528)](),super[t(528)]()}[Dc(519)](){const t=Dc,{CommentsListView:e}=this[t(487)];this[t(504)]=new e(this[t(513)],this[t(529)][t(514)],Object[t(512)]({CommentView:this[t(487)][t(505)]},this[t(487)])),this[t(504)][t(500)](t(510)).to(this),this[t(504)][t(500)](t(498)).to(this),this[t(504)][t(524)](t(493)).to(this),this[t(526)](t(495),this[t(504)][t(495)]+1),this[t(524)](t(495)).to(this[t(504)],t(495),(t=>t+1)),this[t(480)]=this[t(523)](),this.on(t(510),(()=>this[t(506)]())),this[t(524)](t(486)).to(this[t(504)],t(501),this[t(480)][t(492)],t(521),((t,e)=>t||!!e))}[Dc(523)](){const t=Dc,{CommentThreadInputView:e}=this[t(487)],n=new e(this[t(513)],this[t(517)],this[t(487)][t(489)]),r=n[t(492)];return n[t(524)](t(508)).to(this,t(493),this[t(529)][t(514)],t(482),r,t(521),((t,e,n)=>!!n||t&&!e)),r.on(t(520),((e,n)=>{const s=t;this[s(494)](s(509),n),r[s(507)][s(483)]("")})),r.on(t(516),(()=>this[t(506)]())),r[t(524)](t(530)).to(this[t(529)][t(514)],t(482)),n}}function Bc(){const t=["CommentView","focus","editor","showInput","addComment","removeComment","canDiscard","assign","locale","commentThread","1054yezKHX","cancel","_localUser","1196667YEmBde","_createCommentViews","submit","value","element","_createCommentThreadInputView","bind","7303640uprWYT","set","1432473PKcmHy","destroy","_model","disabledSubmit","isEnabled","commentThreadInputView","615VdaHoF","isReadOnly","setData","disableComments","16068GddFfT","isDirty","_config","470wpeSBC","editorConfig","1367NWcFHC","492357MAXUtr","commentInputView","isActive","fire","length","descriptionParts","196867AaMFnQ","updateComment","4PxALhB","delegate","hasDirtyComment","authoredAt","canAccept","commentsListView"];return(Bc=function(){return t})()}const Uc=jc;function jc(t,e){const n=Gc();return(jc=function(t,e){return n[t-=100]})(t,e)}function Gc(){const t=["693369rYhcMb","descriptionParts","title","userView","execute","1687024LqTnwE","render","ck-suggestion-",'"></span>',"div","_config","ck-suggestion","discardSuggestion","Discard suggestion","color","editorReady","isExternal",".ck-annotation__content-wrapper","fire","canDiscard","commentsListView","42uKcbFB","content","_descriptionElement","bind","getTemplate","attributes","setTemplate","5828184lNAdfQ","innerHTML","ck-suggestion--discard","ck-annotation__info-time","commentThreadInputView","delegate","canAccept","map","children","Accept suggestion","ck-suggestion__info","ck-suggestion-wrapper--active","cancel","type","set","ck-annotation__actions","authoredAt","check","innerText","538OGWxIc","ck-comment__info-time","ck-suggestion__info-name","_createButton","createElement","extendTemplate","commentThread","ck-annotation__user","join",'<span class="ck-suggestion-color" style="background-color: ',"getUserViewNotificationText","1634952NXGQVn","getExternalSuggestionNote","time","value","span","EXTERNAL_IMPORT_WORD_SUGGESTION","name",'<span class="ck-suggestion-type">',"</span>","creator","disableComments","isActive","1492cTCLKQ","ck-annotation__main","ck-suggestion--accept","_model","importWord","ck-annotation__info-name","element","description","1012595sVxKJe","ck-suggestion__actions","change:description","ck-suggestion-wrapper","ck-annotation__content-wrapper","<p>","ck-comment__external","323029FmzPnH","EXTERNAL_IMPORT_WORD_AVATAR","ck-annotation",'" title="',"isEnabled","ck-suggestion__main","acceptSuggestion","author","@external","acceptButton","querySelector","source","ck-suggestion--disabled-comments","ck-annotation__info","editorDestroyed","formatDateTime","discardButton","ck-suggestion__user","push","EXTERNAL_AVATAR","bindTemplate","</p>","locale","split","EXTERNAL_SUGGESTION"];return(Gc=function(){return t})()}!function(t,e){const n=jc,r=t();for(;;)try{if(342793===parseInt(n(103))/1*(-parseInt(n(190))/2)+-parseInt(n(143))/3+-parseInt(n(201))/4+parseInt(n(111))/5+parseInt(n(164))/6*(parseInt(n(118))/7)+parseInt(n(148))/8+parseInt(n(171))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Gc);class Vc extends xc{constructor(e,n,r,s){const i=jc;super(e,n,r,s),this[i(185)](i(184),""),this[i(167)](i(184)).to(this,i(144),(t=>t&&t[0]?t[0][i(184)]:"")),this[i(167)](i(110)).to(this,i(144),this,i(102),((t,e)=>{const n=i;let r="";for(const e of t)r+=n(116)+Hc(e[n(165)],e[n(157)])+n(139);return e?r:(0,o.trimHtml)(r,{limit:140})})),this[i(166)]=null,this[i(127)]=this[i(193)](zr(e,i(180)),t.icons[i(188)],i(105),i(124),"sw"),this[i(127)][i(167)](i(122)).to(this,i(177)),this[i(134)]=this[i(193)](zr(e,i(156)),t.icons[i(183)],i(173),i(155),"sw"),this[i(134)][i(167)](i(122)).to(this,i(162)),this[i(146)]=new o.UserView(e,this[i(106)][i(125)],this[i(200)]()),this[i(146)][i(195)]({attributes:{class:[i(135),i(197)]}}),this[i(170)](this[i(168)]())}[Uc(168)](){const t=Uc,e=this[t(138)],n=[{tag:t(152),attributes:{class:[t(181),t(131)]},children:[{tag:t(205),children:[{text:this[t(146)][t(207)]}],attributes:{class:[t(192),t(108)]}},{tag:t(203),attributes:{datetime:e.to(t(187)),class:[t(191),t(174)]},children:[{text:e.to(t(187),(e=>this[t(153)][t(133)](e)))}]}]},{tag:t(152),attributes:{class:[t(112),t(186)]},children:[this[t(127)],this[t(134)]]},{tag:t(152),attributes:{class:[t(115)]}}];this[t(106)][t(159)]&&n[t(136)]({tag:t(152),attributes:{class:[t(117)]},children:[{text:this[t(202)]()}]});const r={tag:t(152),attributes:{class:[t(114),e.if(t(102),t(182)),e.to(t(184),(e=>t(150)+e)),this[t(153)][t(101)]&&t(130)],"data-suggestion-id":this[t(106)].id,"data-thread-id":this[t(106)][t(196)].id,"data-author-id":this[t(106)][t(125)].id,tabindex:-1},children:[{tag:t(152),attributes:{class:[t(154),t(120)]},children:[this[t(146)],{tag:t(152),attributes:{class:[t(123),t(104)]},children:n}]}]};return this[t(163)]&&this[t(175)]&&(r[t(179)][t(136)](this[t(163)],this[t(175)]),this[t(163)][t(176)](t(158)).to(this),this[t(163)][t(176)](t(132)).to(this),this[t(175)][t(176)](t(158)).to(this),this[t(175)][t(176)](t(132)).to(this)),r}[Uc(149)](){const t=Uc;super[t(149)](),this[t(166)]=this[t(109)][t(128)](t(160)),this[t(166)][t(172)]=this[t(110)],this.on(t(113),((e,n,r)=>{const s=t;this[s(166)][s(172)]=r}))}[Uc(193)](t,e,n,r,o){const i=Uc,a=new s.ButtonView(this[i(140)]);return a[i(185)]({label:t,icon:e,tooltip:!0,tooltipPosition:o}),a[i(195)]({attributes:{class:n}}),a.on(i(147),(()=>{const t=i;this[t(161)](r,this[t(106)].id)})),a}[Uc(202)](){const t=Uc;return t(107)===this[t(106)][t(169)][t(126)][t(129)]?zr(this[t(140)],t(206)):zr(this[t(140)],t(142))}[Uc(200)](){const t=Uc;return this[t(106)][t(159)]?t(107)===this[t(106)][t(169)][t(126)][t(129)]?zr(this[t(140)],t(119),this[t(106)][t(100)][t(207)]):zr(this[t(140)],t(137),this[t(106)][t(100)][t(207)]):null}}function Hc(t,e){const n=Uc;let r="";return r+=t[n(141)]("*")[n(178)](((t,e)=>e%2!=0?n(208)+zc(t)+n(209):zc(t)))[n(198)](""),e&&(r+=n(199)+e[n(204)]+n(121)+e[n(145)]+n(151)),r}function zc(t){const e=Uc,n=document[e(194)](e(205));return n[e(189)]=t,n[e(172)]}const Wc=Kc;function Kc(t,e){const n=qc();return(Kc=function(t,e){return n[t-=105]})(t,e)}!function(t,e){const n=Kc,r=t();for(;;)try{if(576627===-parseInt(n(164))/1+parseInt(n(203))/2*(-parseInt(n(146))/3)+parseInt(n(143))/4*(-parseInt(n(220))/5)+-parseInt(n(232))/6+-parseInt(n(214))/7+-parseInt(n(125))/8+parseInt(n(197))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(qc);class Xc extends t.Plugin{static get[Wc(114)](){const t=Wc;return[Ec,o.Users,t(184),t(126),t(108)]}static get[Wc(156)](){return Wc(185)}constructor(t){const e=Wc;super(t),this[e(107)]=new Map,this[e(140)]=new Map,this[e(130)]=new Map,this[e(131)]=new Map;const n=this[e(191)][e(221)];n[e(155)](e(234),Vc),n[e(155)](e(201),!1),this[e(147)]=n[e(178)](e(201))}[Wc(230)](t,e){const n=Wc;0===this[n(131)][n(194)]&&setTimeout((()=>{const t=n;for(const[e,n]of this[t(131)]){const r=this[t(107)][t(106)](e);r||n?r&&n&&this[t(179)](e):this[t(226)](e)}this[t(131)][t(208)](),this[t(191)][t(172)][t(178)](t(108))[t(128)](),this[t(209)]()}),10),this[n(131)][n(165)](t,e)}[Wc(109)](){const t=Wc,e=this[t(191)],n=e[t(172)][t(178)](t(148)),r=e[t(172)][t(178)](t(126)),s=e[t(172)][t(178)](t(108)),o=e[t(172)][t(178)](t(184));e.ui[t(196)][t(153)](t(206),(e=>this[t(158)](e))),s[t(123)]((()=>{const e=t,n=[];for(const[t,r]of Array[e(237)](this[e(107)])){const s=t[e(239)](),o=[];for(const t of s){if(!t[e(115)])continue;if(t[e(182)]){o[e(225)](...t[e(160)]());continue}const n=t[e(142)]();if(o[e(176)]>0){const t=o[0][e(223)](n);if(t){o[0]=t;continue}}o[e(225)](n)}n[e(225)]([r[e(187)],o])}return n})),this[t(180)](n,t(181),((e,n)=>{const r=t;this[r(180)](n,r(200),((t,e,s,o)=>{const i=r;n[i(115)]&&(null==s?(this[i(171)](o[i(222)]),this[i(230)](n,!1)):(this[i(171)](s[i(222)]),null==o&&this[i(230)](n,!0)))})),null!==n[r(118)]?this[r(171)](n[r(222)]):this[r(230)](n,!1)})),this[t(180)](n,t(218),((e,n,r)=>{const s=t;this[s(150)](n,s(200)),this[s(131)][s(192)](n),this[s(107)][s(106)](n)&&this[s(179)](n),r&&this[s(171)](r[s(222)])})),this[t(180)](n,t(199),((e,n)=>{this[t(171)](n)})),this[t(180)](r,t(228),(()=>{this[t(209)]()})),this[t(180)](o,t(110),((e,{threadId:r,isFromAdapter:s})=>{const o=t;if(s||!n[o(210)](r))return;const i=n[o(177)](r);this[o(107)][o(178)](i)[o(187)][o(202)]()}),{priority:t(133)})}[Wc(209)](){const t=Wc,e=this[t(191)][t(172)][t(178)](t(126)),n=this[t(191)][t(172)][t(178)](t(148)),r=Array[t(237)](e[t(157)],(e=>e[t(138)]))[t(127)]((e=>this[t(140)][t(106)](e))),s=[];for(const e of r){const n=this[t(140)][t(178)](e)[t(227)][t(239)]();s[t(225)](...n[t(238)](((e,n)=>[...e,...n[t(170)]()]),[]))}n[t(139)]=s}[Wc(158)](t){const n=Wc,r=(0,s.createDropdown)(t,s.SplitButtonView),o=this[n(191)][n(151)][n(178)](n(206)),i=zr(t,n(188));r[n(186)][n(165)]({tooltip:i,label:i,icon:'\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-2024, CKSource Holding sp. z o.o. All rights reserved.\n\n!--\x3e\n\n<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="#000" fill-rule="nonzero"><path d="M1 3.28C1 2.574 1.574 2 2.272 2h10.23c.703 0 1.272.573 1.272 1.28v12.768c0 .708-.574 1.281-1.271 1.281H2.272A1.276 1.276 0 0 1 1 16.049V3.28zm11.503 12.954c-.008 0-.006-12.77-.006-12.77 0-.003-10.225-.004-10.225-.004.007 0 .005 12.77.005 12.77 0 .003 10.226.004 10.226.004zm-8.31-9.58c0-.353.292-.64.636-.64h5.116c.351 0 .636.284.636.64a.641.641 0 0 1-.636.638H4.829a.636.636 0 0 1-.635-.639zm0 2.554c0-.352.292-.638.636-.638h5.116c.351 0 .636.283.636.638a.641.641 0 0 1-.636.639H4.829a.636.636 0 0 1-.635-.639zm0 2.555c0-.353.289-.639.633-.639h2.567c.35 0 .633.284.633.64a.639.639 0 0 1-.633.638H4.826a.634.634 0 0 1-.632-.639z"/><path d="M10.515 17.958l.154-.23c-.195-.099-.304-.193-.328-.28-.024-.09.001-.275.076-.552.062-.165.099-.296.111-.393.013-.159.013-.319 0-.478-.138-.41-.2-.686-.187-.83.013-.145.117-.335.313-.57l4.465-6.208c.356-.6 1.059-.56 2.11.119 1.051.68 1.443 1.271 1.177 1.771L14.53 17.14c-.105.271-.22.444-.347.516-.128.07-.399.118-.813.138a2.954 2.954 0 0 0-.487.21 2.044 2.044 0 0 0-.347.31c-.193.174-.332.262-.416.262-.064 0-.178-.05-.346-.15l-.204.27-1.056-.738h.001zm-.184.274l1.039.727-.259.34H9.614l.717-1.067z"/></g></svg>\n'}),r[n(186)][n(119)](n(163)).to(o,n(233)),r[n(186)].on(n(173),(()=>{const t=n;o[t(173)](),this[t(191)][t(174)][t(187)][t(202)]()}));const a=new e.Collection,c=[{type:n(136),model:{withText:!0,label:i,commandName:n(206)}},{type:n(217)},{type:n(120),model:{withText:!0,label:zr(t,n(144)),commandName:n(213)}},{type:n(120),model:{withText:!0,label:zr(t,n(129)),commandName:n(122)}},{type:n(120),model:{withText:!0,label:zr(t,n(112)),commandName:n(113)}},{type:n(120),model:{withText:!0,label:zr(t,n(216)),commandName:n(205)}}];for(const t of c){let e={type:n(217)};if(t[n(227)]){const r=new s.ViewModel(t[n(227)]),o=this[n(191)][n(151)][n(178)](r[n(116)]);r[n(119)](n(163),n(211)).to(o,n(233),n(211)),e={type:t[n(166)],model:r}}a[n(153)](e)}(0,s.addListToDropdown)(r,a);const u=c[n(127)]((t=>null!=t[n(227)]))[n(105)]((t=>this[n(191)][n(151)][n(178)](t[n(227)][n(116)]))),l=r[n(186)];return l[n(134)][n(175)](n(211)),l[n(195)][n(175)](n(211)),l[n(134)][n(119)](n(211)).to(o,n(211)),l[n(195)][n(119)](n(211))[n(190)](u,n(211),((...t)=>t[n(169)]((t=>t)))),r.on(n(173),(t=>{const e=n;this[e(191)][e(173)](t[e(124)][e(116)]),this[e(191)][e(174)][e(187)][e(202)]()})),r}[Wc(226)](t){const e=Wc,n=this[e(191)],r=n[e(221)],s=n[e(172)][e(178)](e(126)),i=n[e(172)][e(178)](e(184)),a=n[e(172)][e(178)](e(108)),c=n[e(172)][e(178)](o.Users).me,u=r[e(178)](e(206))[e(189)],{CommentsListView:l,CommentThreadInputView:f}=n[e(172)][e(178)](e(149));let h,g;this[e(130)][e(106)](t.id)?(g=this[e(130)][e(178)](t.id),h=g[e(154)]):(h=new u(n[e(145)],t,c,{disableComments:this[e(147)],editorConfig:r[e(178)](e(183)),maxCommentsWhenCollapsed:r[e(178)](e(159)),maxThreadTotalWeight:r[e(178)](e(137)),maxCommentCharsWhenCollapsed:r[e(178)](e(224)),formatDateTime:(0,o.getDateTimeFormatter)(r[e(178)](e(145))),CommentView:r[e(178)](e(135))[e(229)],CommentsListView:l,CommentThreadInputView:f}),h[e(161)].on(e(173),(()=>{const t=e;n[t(174)][t(187)][t(202)]()})),h[e(111)].on(e(173),(()=>{const t=e;n[t(174)][t(187)][t(202)]()})),g=s[e(162)](this[e(191)][e(145)],h),g[e(119)](e(219)).to(h,e(219)),g[e(119)](e(176)).to(h),g[e(119)](e(166)).to(h,e(166),(t=>e(198)+t)),this[e(130)][e(165)](t.id,g));const d=i[e(235)](t[e(141)],h),p=new Fc(n,t,h,d),m=t[e(239)]()[e(127)]((t=>t[e(115)]));h[e(215)]=n[e(172)][e(178)](e(148))[e(167)][e(117)](m),this[e(107)][e(165)](t,p),this[e(140)][e(165)](h,p);const I=s[e(132)]({view:g,target:()=>{const r=e,s=[],i=t[r(239)]()[r(127)]((t=>t[r(115)]));for(const t of i)s[r(225)](...t[r(212)]());return(0,o.getAllMarkersDomElementsSorted)(n[r(174)],s)},type:()=>e(198)+p[e(187)][e(166)]});i[e(204)](h,I),s[e(153)](I),a[e(236)](I)}[Wc(179)](t){const e=Wc,n=this[e(191)][e(172)][e(178)](e(184)),r=this[e(191)][e(172)][e(178)](e(126)),s=this[e(107)][e(178)](t),o=s[e(187)],i=r[e(231)](o);n[e(193)](o),i&&r[e(168)](i),this[e(107)][e(192)](t),this[e(140)][e(192)](o),s[e(121)]()}[Wc(171)](t){const e=Wc;if(!t[e(115)]||!this[e(107)][e(106)](t))return;const n=this[e(191)][e(172)][e(178)](e(148)),r=this[e(107)][e(178)](t),s=t[e(239)]();r[e(187)][e(215)]=n[e(167)][e(117)](s)}[Wc(121)](){const t=Wc;for(const e of this[t(107)][t(207)]())this[t(179)](e);for(const e of this[t(130)][t(152)]())e[t(154)][t(121)]();super[t(121)]()}}function qc(){const t=["get","_destroyController","listenTo","suggestionLoaded","isMultiRange","comments.editorConfig","CommentsRepository","TrackChangesUI","buttonView","view","Track changes","SuggestionThreadView","toMany","editor","delete","_unbindEditors","size","arrowView","componentFactory","35693910xHeIHR","suggestion-","suggestionChanged","change:previous","trackChanges.disableComments","focus","1583834gPVjBD","_bindAnnotationToEditors","discardSelectedSuggestions","trackChanges","keys","clear","_refreshActiveMarkers","hasSuggestion","isEnabled","getMarkers","acceptAllSuggestions","1676192pOmXLl","descriptionParts","Discard all selected suggestions","separator","suggestionUnloaded","isDirty","97515KrPTrs","config","head","getJoined","comments.maxCommentCharsWhenCollapsed","push","_initializeController","model","change:activeAnnotations","CommentView","_handleSuggestionControllerDelayed","getByInnerView","349824uzyqGA","value","trackChanges.SuggestionThreadView","createCommentThreadController","registerAnnotation","from","reduce","getAllAdjacentSuggestions","map","has","_suggestionToController","EditorAnnotations","init","addComment","discardButton","Discard all suggestions","discardAllSuggestions","requires","isInContent","commandName","getDescriptions","previous","bind","button","destroy","acceptSelectedSuggestions","addSourceCollector","source","2127656kTqawV","Annotations","filter","refreshSelectedViews","Accept all selected suggestions","_annotationViews","_handleControllerBuffer","createAnnotation","lowest","actionView","comments","switchbutton","comments.maxThreadTotalWeight","innerView","activeMarkers","_viewToController","commentThread","getFirstRange","184YHYFoq","Accept all suggestions","locale","3tldIhM","_disableComments","TrackChangesEditing","CommentsUI","stopListening","commands","values","add","mainView","define","pluginName","activeAnnotations","_createUIButton","comments.maxCommentsWhenCollapsed","getRanges","acceptButton","createAnnotationView","isOn","1136591sNsuhh","set","type","_descriptionFactory","remove","some","getMarkerNames","_updateController","plugins","execute","editing","unbind","length","getSuggestion"];return(qc=function(){return t})()}var Yc=Zc;!function(t,e){for(var n=Zc,r=t();;)try{if(764952===-parseInt(n(165))/1+parseInt(n(167))/2+parseInt(n(166))/3+-parseInt(n(182))/4*(parseInt(n(172))/5)+parseInt(n(185))/6*(-parseInt(n(173))/7)+-parseInt(n(169))/8+parseInt(n(184))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(Jc);class Qc extends t.Plugin{static get[Yc(176)](){return[Ec,Xc,Yc(171)]}static get[Yc(175)](){return Yc(179)}set[Yc(180)](t){var e=Yc;this[e(168)][e(183)][e(177)](Ec)[e(180)]=t}get[Yc(180)](){var t=Yc;return this[t(168)][t(183)][t(177)](Ec)[t(180)]}[Yc(178)](t){var e=Yc;return this[e(168)][e(183)][e(177)](Ec)[e(181)](t)}[Yc(174)]({skipNotAttached:t=!1,toJSON:e=!1}={}){var n=Yc;return this[n(168)][n(183)][n(177)](Ec)[n(174)]({skipNotAttached:t,toJSON:e})}[Yc(170)](t){var e=Yc;return this[e(168)][e(183)][e(177)](Ec)[e(170)](t)}}function Zc(t,e){var n=Jc();return(Zc=function(t,e){return n[t-=165]})(t,e)}function Jc(){var t=["8GHmgBY","plugins","23922792kPGxOR","4022886eYbmnk","1084906nTAqVg","4273797GLPwYT","486232UQaxaQ","editor","3043656FgFWNW","getSuggestion","Comments","1886315uLXGKm","14FvOhIF","getSuggestions","pluginName","requires","get","addSuggestion","TrackChanges","adapter","addSuggestionData"];return(Jc=function(){return t})()}function $c(){const t=["users","TrackChangesData","execute","Pagination","useAnonymousUser","TrackChangesEditing","2kxoejJ","track-changes-data-invalid-editor-creator","_adapter","6456cIqIAp","requires","plugins","set","Users","get","constructor","1017410oCoTua","1582425fzXzQH","data","trackChangesData.editorCreator","CommentsRepository","document","getDataWithAcceptedSuggestions","addUser","77FxoIRJ","end","map","getDataWithDiscardedSuggestions","162327oQVBNl","destroy","result","getSuggestions","rootsAttributes","name","push","8xhcmAs","266424NEmLts","1704791hvYFLz","reduce","4aEZWLi","editor","define","getUser","div","config","init","discardAllSuggestions","getFullData","getRootNames","createElement","create","model","30APSaDM","pluginName","25129dtmPpH","TrackChangesDataGetter","acceptAllSuggestions","appendChild","function","editorCreator","17946LYHYfv","getRootsAttributes","createDocumentFragment","addSuggestionData","trackChangesData"];return($c=function(){return t})()}const tu=eu;function eu(t,e){const n=$c();return(eu=function(t,e){return n[t-=324]})(t,e)}!function(t,e){const n=eu,r=t();for(;;)try{if(413938===-parseInt(n(372))/1*(-parseInt(n(350))/2)+parseInt(n(380))/3+-parseInt(n(383))/4*(parseInt(n(360))/5)+-parseInt(n(339))/6*(parseInt(n(368))/7)+-parseInt(n(379))/8*(parseInt(n(361))/9)+-parseInt(n(331))/10*(parseInt(n(381))/11)+parseInt(n(353))/12*(parseInt(n(333))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}($c);const nu=[tu(347)];class ru extends t.Plugin{static get[tu(354)](){return[Ec]}static get[tu(332)](){return tu(345)}[tu(324)](){const t=tu,n=this[t(384)];if(n[t(388)][t(385)](t(363),(e=>{const r=t,s=n[r(330)][r(365)][r(327)]()[r(382)](((t,e)=>(t[e]="",t)),{});return n[r(359)][r(329)](s,e)})),t(337)!=typeof n[t(388)][t(358)](t(343))[t(338)])throw new e.CKEditorError(t(351))}[tu(366)](t){return iu(this[tu(384)],!0,t)}[tu(371)](t){return iu(this[tu(384)],!1,t)}}class su extends t.Plugin{static get[tu(332)](){return tu(334)}constructor(t){const e=tu;super(t),this[e(374)]=e(369)}[tu(324)](){const t=tu;this[t(384)][t(355)][t(358)](t(364))[t(352)]={addCommentThread:()=>new Promise((()=>{})),getCommentThread:()=>new Promise((()=>{})),updateCommentThread:()=>new Promise((()=>{})),resolveCommentThread:()=>new Promise((()=>{})),reopenCommentThread:()=>new Promise((()=>{})),removeCommentThread:()=>new Promise((()=>{})),addComment:()=>new Promise((()=>{})),updateComment:()=>new Promise((()=>{})),removeComment:()=>new Promise((()=>{}))},this[t(384)][t(355)][t(358)](t(349))[t(352)]=null}}function ou(t){return void 0!==t[tu(340)]}async function iu(t,e,n){const r=tu,s=(0,o.sanitizeEditorConfig)(t,nu);s[r(355)][r(378)](Ec,su),s[r(376)]=ou(t)?t[r(340)]():void 0;const i=document[r(341)](),a=t[r(388)][r(358)](r(343))[r(338)],c=await a(s,(()=>function(t){const e=r,n=document[e(328)](e(387));return t[e(336)](n),n}(i)));!function(t,e){const n=r,s=t[n(330)][n(365)][n(327)]()[n(382)](((e,r)=>(e[r]=t[n(362)][n(358)]({rootName:r}),e)),{}),o=t[n(355)][n(358)](n(357))[n(344)][n(370)]((t=>({id:t.id,name:t[n(377)]}))),i=t[n(355)][n(358)](n(349))[n(375)]({skipNotAttached:!0,toJSON:!0}),a=e[n(355)][n(358)](n(357)),c=e[n(355)][n(358)](n(349));for(const t of o)a[n(386)](t.id)||a[n(367)](t);a.me||a[n(348)]();for(const t of i)c[n(342)](t);e[n(362)][n(356)](s)}(t,c),c[r(346)](r(e?335:325));const u=ou(c)?c[r(326)](n):c[r(362)][r(358)](n);return await c[r(373)](),u}function au(t,e){var n=cu();return(au=function(t,e){return n[t-=358]})(t,e)}function cu(){var t=["8610LPyrnQ","4ZfUvqu","370977oCYVle","1044766ZbshFh","231kjebhh","200358mLpEUA","1865120QKcMzf","4419tlmuKZ","1827645rVogpo","101874fchMiJ"];return(cu=function(){return t})()}!function(t,e){for(var n=au,r=t();;)try{if(450851===-parseInt(n(367))/1+parseInt(n(365))/2+-parseInt(n(364))/3*(-parseInt(n(363))/4)+-parseInt(n(360))/5+parseInt(n(361))/6*(parseInt(n(366))/7)+parseInt(n(358))/8+parseInt(n(359))/9*(-parseInt(n(362))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(cu)})(),(window.CKEditor5=window.CKEditor5||{}).trackChanges=r})();