@ckeditor/ckeditor5-track-changes 41.1.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.
- package/build/track-changes.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/build/track-changes.js
CHANGED
|
@@ -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={588:(t,e,n)=>{t.exports=n(104)("./src/collaboration-core.js")},968:(t,e,n)=>{t.exports=n(672)("./src/core.js")},684:(t,e,n)=>{t.exports=n(672)("./src/engine.js")},976:(t,e,n)=>{t.exports=n(672)("./src/enter.js")},500:(t,e,n)=>{t.exports=n(672)("./src/typing.js")},348:(t,e,n)=>{t.exports=n(672)("./src/ui.js")},316:(t,e,n)=>{t.exports=n(672)("./src/utils.js")},396:(t,e,n)=>{t.exports=n(672)("./src/widget.js")},104:t=>{"use strict";t.exports=CKEditor5.collaborationDll},672:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var i=e[r];if(void 0!==i)return i.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:()=>Kc,TrackChanges:()=>cl,TrackChangesData:()=>hl,TrackChangesEditing:()=>Ac});var t=n(968),e=n(316),i=n(348),o=n(588),s=n(684),x=n(396);const a=["refresh","forceDisabled","TrackChangesCommand","affectsData","commands","_enabledCommands","_disableUnsupportedCommands","execute","_enableCommands","editor","clearForceDisabled","value","isEnabled","has","_isEnabledBasedOnSelection"];var c,l;c=a,l=127,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("0x4")]=!1,this.refresh(),this[u("0x7")]=!1}[u("0x8")](){this[u("0x5")]=!0}[u("0x0")](){this[u("0x4")]=!this[u("0x4")],this.value?this[u("0xe")]():this[u("0x1")]()}[u("0xe")](){for(const t of this[u("0x2")][u("0xc")][u("0xc")]())t[u("0xb")]&&!this[u("0xd")][u("0x6")](t)&&t[u("0x9")]("TrackChangesCommand")}[u("0x1")](){for(const t of this[u("0x2")][u("0xc")].commands())t[u("0xb")]&&!this._enabledCommands[u("0x6")](t)&&t[u("0x3")](u("0xa"))}}const g=["plugins","acceptSuggestion","refresh","model","execute","isEnabled","_isEnabledBasedOnSelection","get","editor","track-changes-accept-suggestion-not-found","getRanges","_suggestions","TrackChangesEditing"];var f,h;f=g,h=142,function(t){for(;--t;)f.push(f.shift())}(++h);const m=function(t,e){return g[t-=0]};class b extends t.Command{constructor(t,e){super(t),this._suggestions=e,this[m("0x3")](),this[m("0x7")]=!1}[m("0x3")](){this[m("0x6")]=!0}[m("0x5")](t){const n=this[m("0xc")][m("0x8")](t);if(!n)throw new e.CKEditorError(m("0xa"),this);const r=n[m("0xb")]();this[m("0x9")][m("0x4")].canEditAt(r)&&this[m("0x9")][m("0x1")][m("0x8")](m("0x0"))[m("0x2")](n)}}const p=["getRanges","editor","refresh","discardSuggestion","_isEnabledBasedOnSelection","execute","get","track-changes-discard-suggestion-not-found","_suggestions","canEditAt"];var E,_;E=p,_=483,function(t){for(;--t;)E.push(E.shift())}(++_);const T=function(t,e){return p[t-=0]};class y extends t.Command{constructor(t,e){super(t),this._suggestions=e,this[T("0x9")](),this[T("0x1")]=!1}refresh(){this.isEnabled=!0}[T("0x2")](t){const n=this[T("0x5")][T("0x3")](t);if(!n)throw new e.CKEditorError(T("0x4"),this);const r=n[T("0x7")]();this[T("0x8")].model[T("0x6")](r)&&this[T("0x8")].plugins.get("TrackChangesEditing")[T("0x0")](n)}}const C=["createPositionAt","join","type","getRanges","createRange","createPositionBefore","isMultiRange","isObject","isCollapsed","isTouching","isInContent","isIntersecting","createPositionAfter","execute","isArray","content","length","change","color","replace","start","deletion","push","end","splice"];var A,k;A=C,k=369,function(t){for(;--t;)A.push(A.shift())}(++k);const I=function(t,e){return C[t-=0]};function R(t){return t.sort(((t,e)=>I("0x2")==t[I("0x8")]&&"deletion"!=e[I("0x8")]?-1:I("0x2")!=t[I("0x8")]&&"deletion"==e[I("0x8")]?1:0))}function S(t,e){let n,r=0;const i=[],o=e.schema;for(;r<t[I("0x16")];){const s=t[r],x=t[r+1];n||(n=e[I("0xb")](s)),v(e,s,x)||(i[I("0x3")](e[I("0xa")](n,o[I("0xd")](s)?e[I("0x12")](s):e[I("0x6")](s,I("0x4")))),n=null),r++}return i}function v(t,e,n){if(!n)return!1;const r=t.createPositionAfter(e),i=t[I("0xb")](n);return r[I("0xf")](i)}function N(t,e,n){for(;n[I("0x16")];){const r=n[I("0x5")](0,100);t[I("0x17")]((()=>{for(const t of r)t.isInContent&&e[I("0x13")](t.id)}))}}const L=["getRanges","_command","isInContent","refresh","from","some","_isEnabledBasedOnSelection","isEnabled","editor","model","canEditAt","values","execute","_suggestions"];var M,w;M=L,w=334,function(t){for(;--t;)M.push(M.shift())}(++w);const O=function(t,e){return L[t-=0]};class F extends t.Command{constructor(t,e,n){super(t),this[O("0x3")]=e,this[O("0x1")]=n,this[O("0x5")](),this[O("0x8")]=!1}[O("0x5")](){const t=Array[O("0x6")](this._suggestions.values())[O("0x7")]((t=>t[O("0x4")]));this.isEnabled=this[O("0x3")][O("0x9")]&&t}[O("0x0")](){const t=R(Array[O("0x6")](this._suggestions[O("0xd")]()));for(const e of t){const t=e[O("0x2")]();if(!this[O("0xa")][O("0xb")][O("0xc")](t))return}N(this[O("0xa")].model,this[O("0x3")],t)}}const D=["size","getRanges","from","_isEnabledBasedOnSelection","isEnabled","_selectedSuggestions","selection","_suggestions","editor","model","_command","execute","refresh"];var P,B;P=D,B=338,function(t){for(;--t;)P.push(P.shift())}(++B);const U=function(t,e){return D[t-=0]};class j extends t.Command{constructor(t,e,n){super(t),this[U("0xa")]=e,this[U("0x7")]=n,this._selectedSuggestions=new Set,this[U("0xc")](),this[U("0x3")]=!1}[U("0xc")](){const t=this[U("0x8")][U("0x9")].document[U("0x6")],e=Array[U("0x2")](this._suggestions.values());this[U("0x5")]=function(t,e){const n=Array.from(t[I("0x9")]()),r=new Set;for(const i of e)if(i[I("0x10")])for(const e of n)for(const n of i[I("0x9")]())(e[I("0x11")](n)||t[I("0xe")]&&!i[I("0xc")]&&i.next&&n[I("0x4")].isTouching(e[I("0x1")]))&&r.add(i);return r}(t,e),this[U("0x4")]=this[U("0xa")][U("0x4")]&&!!this._selectedSuggestions[U("0x0")]}[U("0xb")](){const t=R(Array[U("0x2")](this[U("0x5")]));for(const e of t){const t=e[U("0x1")]();if(!this.editor[U("0x9")].canEditAt(t))return}N(this[U("0x8")][U("0x9")],this[U("0xa")],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 X=function(t,e){var n=this.__data__,r=H(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function $(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])}}$.prototype.clear=G,$.prototype.delete=W,$.prototype.get=K,$.prototype.has=q,$.prototype.set=X;const Z=$;const Y=function(){this.__data__=new Z,this.size=0};const Q=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const J=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 rt=et||nt||Function("return this")();const it=rt.Symbol;var ot=Object.prototype,st=ot.hasOwnProperty,xt=ot.toString,at=it?it.toStringTag:void 0;const ct=function(t){var e=st.call(t,at),n=t[at];try{t[at]=void 0;var r=!0}catch(t){}var i=xt.call(t);return r&&(e?t[at]=n:delete t[at]),i};var lt=Object.prototype.toString;const ut=function(t){return lt.call(t)};var dt=it?it.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=rt["__core-js_shared__"];var bt,pt=(bt=/[^.]+$/.exec(mt&&mt.keys&&mt.keys.IE_PROTO||""))?"Symbol(src)_1."+bt:"";const Et=function(t){return!!pt&&pt 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 St=function(t){return!(!ft(t)||Et(t))&&(ht(t)?Rt:yt).test(Tt(t))};const vt=function(t,e){return null==t?void 0:t[e]};const Nt=function(t,e){var n=vt(t,e);return St(n)?n:void 0};const Lt=Nt(rt,"Map");const Mt=Nt(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 Pt=Object.prototype.hasOwnProperty;const Bt=function(t){var e=this.__data__;return Mt?void 0!==e[t]:Pt.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 r=t[e];this.set(r[0],r[1])}}jt.prototype.clear=wt,jt.prototype.delete=Ot,jt.prototype.get=Dt,jt.prototype.has=Bt,jt.prototype.set=Ut;const Gt=jt;const Vt=function(){this.size=0,this.__data__={hash:new Gt,map:new(Lt||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 Xt=function(t,e){var n=zt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function $t(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])}}$t.prototype.clear=Vt,$t.prototype.delete=Wt,$t.prototype.get=Kt,$t.prototype.has=qt,$t.prototype.set=Xt;const Zt=$t;const Yt=function(t,e){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!Lt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(t,e),this.size=n.size,this};function Qt(t){var e=this.__data__=new Z(t);this.size=e.size}Qt.prototype.clear=Y,Qt.prototype.delete=Q,Qt.prototype.get=J,Qt.prototype.has=tt,Qt.prototype.set=Yt;const Jt=Qt;const te=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};const ee=function(){try{var t=Nt(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 re=Object.prototype.hasOwnProperty;const ie=function(t,e,n){var r=t[e];re.call(t,e)&&V(r,n)&&(void 0!==n||e in t)||ne(t,e,n)};const oe=function(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var x=e[o],a=r?r(n[x],t[x],x,n,t):void 0;void 0===a&&(a=t[x]),i?ne(n,x,a):ie(n,x,a)}return n};const se=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};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,be=me&&me.exports===he?rt.Buffer:void 0;const pe=(be?be.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 Se=function(){try{var t=Ie&&Ie.require&&Ie.require("util").types;return t||Re&&Re.binding&&Re.binding("util")}catch(t){}}();var ve=Se&&Se.isTypedArray;const Ne=ve?Ae(ve):Ce;var Le=Object.prototype.hasOwnProperty;const Me=function(t,e){var n=ge(t),r=!n&&de(t),i=!n&&!r&&pe(t),o=!n&&!r&&!i&&Ne(t),s=n||r||i||o,x=s?se(t.length,String):[],a=x.length;for(var c in t)!e&&!Le.call(t,c)||s&&("length"==c||i&&("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 Pe=Object.prototype.hasOwnProperty;const Be=function(t){if(!Oe(t))return De(t);var e=[];for(var n in Object(t))Pe.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):Be(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 r in t)("constructor"!=r||!e&&He.call(t,r))&&n.push(r);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,Xe=qe&&"object"==typeof module&&module&&!module.nodeType&&module,$e=Xe&&Xe.exports===qe?rt.Buffer:void 0,Ze=$e?$e.allocUnsafe:void 0;const Ye=function(t,e){if(e)return t.slice();var n=t.length,r=Ze?Ze(n):new t.constructor(n);return t.copy(r),r};const Qe=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};const Je=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=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),Je(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,r=e.length,i=t.length;++n<r;)t[i+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 r=e(t);return ge(t)?r:sn(r,n(t))};const un=function(t){return ln(t,je,rn)};const dn=function(t){return ln(t,We,an)};const gn=Nt(rt,"DataView");const fn=Nt(rt,"Promise");const hn=Nt(rt,"Set");const mn=Nt(rt,"WeakMap");var bn="[object Map]",pn="[object Promise]",En="[object Set]",_n="[object WeakMap]",Tn="[object DataView]",yn=Tt(gn),Cn=Tt(Lt),An=Tt(fn),kn=Tt(hn),In=Tt(mn),Rn=gt;(gn&&Rn(new gn(new ArrayBuffer(1)))!=Tn||Lt&&Rn(new Lt)!=bn||fn&&Rn(fn.resolve())!=pn||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,r=n?Tt(n):"";if(r)switch(r){case yn:return Tn;case Cn:return bn;case An:return pn;case kn:return En;case In:return _n}return e});const Sn=Rn;var vn=Object.prototype.hasOwnProperty;const Nn=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&vn.call(t,"index")&&(n.index=t.index,n.input=t.input),n};const Ln=rt.Uint8Array;const Mn=function(t){var e=new t.constructor(t.byteLength);return new Ln(e).set(new Ln(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=it?it.prototype:void 0,Pn=Dn?Dn.valueOf:void 0;const Bn=function(t){return Pn?Object(Pn.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 r=t.constructor;switch(e){case"[object ArrayBuffer]":return Mn(t);case"[object Boolean]":case"[object Date]":return new r(+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 r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Fn(t);case"[object Symbol]":return Bn(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]"==Sn(t)};var Wn=Se&&Se.isMap;const Kn=Wn?Ae(Wn):zn;const qn=function(t){return xe(t)&&"[object Set]"==Sn(t)};var Xn=Se&&Se.isSet;const $n=Xn?Ae(Xn):qn;var Zn="[object Arguments]",Yn="[object Function]",Qn="[object Object]",Jn={};Jn[Zn]=Jn["[object Array]"]=Jn["[object ArrayBuffer]"]=Jn["[object DataView]"]=Jn["[object Boolean]"]=Jn["[object Date]"]=Jn["[object Float32Array]"]=Jn["[object Float64Array]"]=Jn["[object Int8Array]"]=Jn["[object Int16Array]"]=Jn["[object Int32Array]"]=Jn["[object Map]"]=Jn["[object Number]"]=Jn[Qn]=Jn["[object RegExp]"]=Jn["[object Set]"]=Jn["[object String]"]=Jn["[object Symbol]"]=Jn["[object Uint8Array]"]=Jn["[object Uint8ClampedArray]"]=Jn["[object Uint16Array]"]=Jn["[object Uint32Array]"]=!0,Jn["[object Error]"]=Jn[Yn]=Jn["[object WeakMap]"]=!1;const tr=function t(e,n,r,i,o,s){var x,a=1&n,c=2&n,l=4&n;if(r&&(x=o?r(e,i,o,s):r(e)),void 0!==x)return x;if(!ft(e))return e;var u=ge(e);if(u){if(x=Nn(e),!a)return Qe(e,x)}else{var d=Sn(e),g=d==Yn||"[object GeneratorFunction]"==d;if(pe(e))return Ye(e,a);if(d==Qn||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(!Jn[d])return o?e:{};x=jn(e,d,a)}}s||(s=new Jt);var f=s.get(e);if(f)return f;s.set(e,x),$n(e)?e.forEach((function(i){x.add(t(i,n,r,i,e,s))})):Kn(e)&&e.forEach((function(i,o){x.set(o,t(i,n,r,o,e,s))}));var h=u?void 0:(l?c?dn:un:c?We:je)(e);return te(h||e,(function(i,o){h&&(i=e[o=i]),ie(x,o,t(i,n,r,o,e,s))})),x};const er=function(t){return tr(t,5)};const nr=function(t){return"symbol"==typeof t||xe(t)&&"[object Symbol]"==gt(t)};var rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ir=/^\w*$/;const or=function(t,e){if(ge(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!nr(t))||(ir.test(t)||!rr.test(t)||null!=e&&t in Object(e))};function sr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(sr.Cache||Zt),n}sr.Cache=Zt;const xr=sr;var ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cr=/\\(\\)?/g;const lr=function(t){var e=xr(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(ar,(function(t,n,r,i){e.push(r?i.replace(cr,"$1"):n||t)})),e}));const ur=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var dr=it?it.prototype:void 0,gr=dr?dr.toString:void 0;const fr=function t(e){if("string"==typeof e)return e;if(ge(e))return ur(e,t)+"";if(nr(e))return gr?gr.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};const hr=function(t){return null==t?"":fr(t)};const mr=function(t,e){return ge(t)?t:or(t,e)?[t]:lr(hr(t))};const br=function(t){if("string"==typeof t||nr(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};const pr=function(t,e,n,r){if(!ft(t))return t;for(var i=-1,o=(e=mr(e,t)).length,s=o-1,x=t;null!=x&&++i<o;){var a=br(e[i]),c=n;if("__proto__"===a||"constructor"===a||"prototype"===a)return t;if(i!=s){var l=x[a];void 0===(c=r?r(l,a,x):void 0)&&(c=ft(l)?l:_e(e[i+1])?[]:{})}ie(x,a,c),x=x[a]}return t};const Er=function(t,e,n){return null==t?t:pr(t,e,n)};const _r=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const Tr=function(t){return this.__data__.has(t)};function yr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Zt;++e<n;)this.add(t[e])}yr.prototype.add=yr.prototype.push=_r,yr.prototype.has=Tr;const Cr=yr;const Ar=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 kr=function(t,e){return t.has(e)};const Ir=function(t,e,n,r,i,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 Cr:void 0;for(o.set(t,e),o.set(e,t);++u<x;){var f=t[u],h=e[u];if(r)var m=s?r(h,f,u,e,t,o):r(f,h,u,t,e,o);if(void 0!==m){if(m)continue;d=!1;break}if(g){if(!Ar(e,(function(t,e){if(!kr(g,e)&&(f===t||i(f,t,n,r,o)))return g.push(e)}))){d=!1;break}}else if(f!==h&&!i(f,h,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const Rr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};const Sr=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var vr=it?it.prototype:void 0,Nr=vr?vr.valueOf:void 0;const Lr=function(t,e,n,r,i,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 Ln(t),new Ln(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=Rr;case"[object Set]":var a=1&r;if(x||(x=Sr),t.size!=e.size&&!a)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var l=Ir(x(t),x(e),r,i,o,s);return s.delete(t),l;case"[object Symbol]":if(Nr)return Nr.call(t)==Nr.call(e)}return!1};var Mr=Object.prototype.hasOwnProperty;const wr=function(t,e,n,r,i,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:Mr.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(r)var b=s?r(m,h,l,e,t,o):r(h,m,l,t,e,o);if(!(void 0===b?h===m||i(h,m,n,r,o):b)){g=!1;break}f||(f="constructor"==l)}if(g&&!f){var p=t.constructor,E=e.constructor;p==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof p&&p instanceof p&&"function"==typeof E&&E instanceof E||(g=!1)}return o.delete(t),o.delete(e),g};var Or="[object Arguments]",Fr="[object Array]",Dr="[object Object]",Pr=Object.prototype.hasOwnProperty;const Br=function(t,e,n,r,i,o){var s=ge(t),x=ge(e),a=s?Fr:Sn(t),c=x?Fr:Sn(e),l=(a=a==Or?Dr:a)==Dr,u=(c=c==Or?Dr:c)==Dr,d=a==c;if(d&&pe(t)){if(!pe(e))return!1;s=!0,l=!1}if(d&&!l)return o||(o=new Jt),s||Ne(t)?Ir(t,e,n,r,i,o):Lr(t,e,a,n,r,i,o);if(!(1&n)){var g=l&&Pr.call(t,"__wrapped__"),f=u&&Pr.call(e,"__wrapped__");if(g||f){var h=g?t.value():t,m=f?e.value():e;return o||(o=new Jt),i(h,m,n,r,o)}}return!!d&&(o||(o=new Jt),wr(t,e,n,r,i,o))};const Ur=function t(e,n,r,i,o){return e===n||(null==e||null==n||!xe(e)&&!xe(n)?e!=e&&n!=n:Br(e,n,r,i,t,o))};const jr=function(t,e){return Ur(t,e)};const Gr=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Vr=function(t,e){for(var n=0,r=(e=mr(e,t)).length;null!=t&&n<r;)t=t[br(e[n++])];return n&&n==r?t:void 0};const Hr=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o};const zr=function(t,e){return e.length<2?t:Vr(t,Hr(e,0,-1))};const Wr=function(t,e){return e=mr(e,t),null==(t=zr(t,e))||delete t[br(Gr(e))]};const Kr=function(t,e){return null==t||Wr(t,e)},qr=["subType","@external","setAttribute","from","isMultiRange","onAccept","getFirstRange","type","size","push","getContainedElement","removeMarkers","hasComments","get","commentThread","length","map","_markerNames","getRanges","author","end","suggestion:","delete","discard","previous","getItems","filter","accept","isIntersecting","decorate","change","onAttributesChange","removeMarker","nodeAfter","getMarkers","isIntersectingWithRange","_model","removeAttribute","getMarkerNames","next","getRange","getMultiRangeId","toJSON","createdAt","_onAttributesChange","start","_onDiscard","creator","getFirstMarker","getAllAdjacentSuggestions","authoredAt","addMarkerName","_onAccept","addRange","data","_isDataLoaded","split","substr","isExternal","set","attributes"];var Xr,$r;Xr=qr,$r=334,function(t){for(;--t;)Xr.push(Xr.shift())}(++$r);const Zr=function(t,e){return qr[t-=0]};class Yr extends((0,e.ObservableMixin)()){constructor(t,e){super(),this[Zr("0x1a")]=!1,this.id=e.id,this[Zr("0x27")]=e.type,this.subType=e[Zr("0x20")]||null,this[Zr("0x33")]=e[Zr("0x33")],this[Zr("0x12")]=e[Zr("0x12")]||e[Zr("0x33")],this[Zr("0x1d")]=Boolean(e[Zr("0x1f")]&&e[Zr("0x1f")][Zr("0x21")]),this[Zr("0x19")]=null,this[Zr("0x7")]=t,this[Zr("0x17")]=e[Zr("0x25")],this[Zr("0x11")]=e.onDiscard,this[Zr("0xf")]=e[Zr("0x2")],this[Zr("0x31")]=new Set,this[Zr("0xe")]=null,this[Zr("0x1e")](Zr("0x15"),null),this[Zr("0x1e")](Zr("0x1f"),e.attributes||{}),this[Zr("0x1e")](Zr("0x38"),null),this.set(Zr("0xa"),null),this[Zr("0x1e")]("commentThread",null),this[Zr("0x1e")]("_saved",!1),this[Zr("0x0")](Zr("0x3b")),this[Zr("0x0")](Zr("0x37"))}get head(){let t=this;for(;t[Zr("0x38")];)t=t[Zr("0x38")];return t}get[Zr("0x2c")](){return!!this[Zr("0x2e")]&&this[Zr("0x2e")][Zr("0x2f")]>0}get[Zr("0x24")](){return 0!=this[Zr("0x31")][Zr("0x28")]&&6==Array[Zr("0x23")](this[Zr("0x31")])[0][Zr("0x1b")](":").length}get isInContent(){return null!==this[Zr("0x13")]()}[Zr("0x16")](t){this._markerNames.add(t)}[Zr("0x9")](){return Array[Zr("0x23")](this[Zr("0x31")])}[Zr("0x5")](){return this[Zr("0x9")]()[Zr("0x30")]((t=>this[Zr("0x7")].markers[Zr("0x2d")](t)))[Zr("0x3a")]((t=>t))}[Zr("0x13")](){return this[Zr("0x5")]()[0]||null}removeMarkers(){this._model.change((t=>{for(const e of this.getMarkers())t[Zr("0x3")](e)})),this._markerNames.clear()}[Zr("0x3")](t){this._model[Zr("0x1")]((e=>{e[Zr("0x3")](t)})),this._markerNames[Zr("0x36")](t)}[Zr("0x18")](t){const e=Zr("0x35")+this[Zr("0x27")]+":"+this[Zr("0x20")]+":"+this.id+":"+this[Zr("0x12")].id+":"+Yr[Zr("0xc")]();this[Zr("0x16")](e),this[Zr("0x7")][Zr("0x1")]((n=>{n.addMarker(e,{range:t,usingOperation:!0,affectsData:!0})}))}[Zr("0x6")](t){for(const e of this.getRanges())if(e[Zr("0x3c")](t))return!0;return!1}getRanges(){return this[Zr("0x5")]()[Zr("0x30")]((t=>t.getRange()))}[Zr("0x39")](){return this.getRanges().reduce(((t,e)=>[...t,...e[Zr("0x39")]()]),[])}[Zr("0x26")](){var t;return(null===(t=this[Zr("0x13")]())||void 0===t?void 0:t[Zr("0xb")]())||null}[Zr("0x2a")](){const t=this[Zr("0x32")]();if(1!=t[Zr("0x2f")])return null;const e=t[0],n=e[Zr("0x10")][Zr("0x4")],r=e[Zr("0x34")].nodeBefore;return n instanceof s.Element?n!=r?null:n:null}[Zr("0x3b")](){this[Zr("0x17")](this.getRanges(),this.data,this[Zr("0x1f")]),this[Zr("0x2b")]()}[Zr("0x37")](){this._onDiscard(this[Zr("0x32")](),this[Zr("0x19")],this[Zr("0x1f")]),this[Zr("0x2b")]()}[Zr("0x14")](){const t=[];let e=this.head;for(;e;)t[Zr("0x29")](e),e=e[Zr("0xa")];return t}[Zr("0x22")](t,e){const n=er(this[Zr("0x1f")]);Er(n,t,e),jr(n,this.attributes)||(this.attributes=n,this[Zr("0xf")](n))}[Zr("0x8")](t){const e=er(this[Zr("0x1f")]);Kr(e,t),jr(e,this[Zr("0x1f")])||(this.attributes=e,this[Zr("0xf")](this.attributes))}[Zr("0xd")](){return{id:this.id,type:this[Zr("0x20")]?this[Zr("0x27")]+":"+this[Zr("0x20")]:this[Zr("0x27")],authorId:this[Zr("0x12")].id,createdAt:this[Zr("0xe")],hasComments:this.hasComments,data:this[Zr("0x19")],attributes:this[Zr("0x1f")]}}static[Zr("0xc")](){return(0,e.uid)()[Zr("0x1c")](1,5)}}function Qr(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 Jr=["isEqual","quantity","removeEmptyContainer","push","$text","getDescriptions","remove","_handleRenameSuggestionDescription","getItemLabel","skip","EmptyContainer","nextSibling","_addDescriptionItems","element","REPLACE_TEXT","_handleInsertRemoveSuggestionDescription","match","softBreak","format","elementEnd","*Split:* %0","elementStart","name","*Remove format:* %0","deletion","indexOf","type","normal","pop","Container","data","_handleCustomCallbackDescription","map","add","_handleAttributeSuggestionDescription","registerAttributeLabel","replace","_customCallbacks","item","isObject","join","registerElementLabel","get","end","previousSibling","addContainer","label","_resolveDescriptionItems","key","attribute","_locale","start","removeContainer","isEmpty","ELEMENT_SPACE","subType","function","_itemLabels","*Insert:* %0","getWalker","removeFormat","_schema","addEmptyContainer","$1 $2","text","$textProxy","_attributeLabels","nodeAfter","registerDescriptionCallback","has","set","Object","getFirstRange","length","_itemLabelsCallbacks","insertion","removeObject","*Remove:* %0"];var ti,ei;ti=Jr,ei=486,function(t){for(;--t;)ti.push(ti.shift())}(++ei);const ni=function(t,e){return Jr[t-=0]};class ri{constructor(t,e){this._customCallbacks=[],this._itemLabels=new Map,this[ni("0x38")]=[],this._attributeLabels=new Map,this._schema=t,this[ni("0x20")]=e}[ni("0x41")](t){const e=[],n=new Set,r=new Set;for(let i=0;i<t[ni("0x37")];i++){const o=t[i];if(!o.isInContent)continue;const s=this._handleCustomCallbackDescription(o);if(s){if(null!=o.subType){if(n[ni("0x33")](o[ni("0x25")]))continue;n.add(o.subType)}e[ni("0x3f")](s)}else if(ni("0x1f")!=o[ni("0x8")])ni("0x39")!=o.type&&ni("0x6")!=o[ni("0x8")]||this[ni("0x4b")](e,o,t[i+1]);else{const t=o[ni("0xc")][ni("0x1e")];if(r[ni("0x33")](t))continue;r[ni("0xf")](o.data.key),t==Cc?this[ni("0x43")](e,o):this[ni("0x10")](e,o)}}return this[ni("0x1d")](e)}[ni("0x32")](t){this[ni("0x13")][ni("0x3f")](t)}[ni("0x17")](t,n,r=e.priorities[ni("0x9")]){ni("0x26")==typeof t?(0,e.insertToPriorityArray)(this[ni("0x38")],{matchingCallback:t,label:n,priority:r}):this._itemLabels.set(t,n)}[ni("0x11")](t,e){this[ni("0x30")][ni("0x34")](t,e)}[ni("0x44")](t,e=1){let n;for(const e of this[ni("0x38")])if(e.matchingCallback(t)){n=e[ni("0x1c")];break}return n||(n=this[ni("0x27")][ni("0x18")](t[ni("0x4")])),n?n(e):1!==e?e+" "+t[ni("0x4")]+"s":""+t[ni("0x4")]}[ni("0x48")](t,e){const n=e[ni("0x36")]()[ni("0x29")](),r=ni("0x39")==e[ni("0x8")]?ni("0xf"):"remove";for(const e of n){const i=e.item,o=t[t[ni("0x37")]-1];if(i.is(ni("0x2f")))o&&o[ni("0x8")].indexOf(ni("0xb"))>-1&&t.pop(),o&&"text"==o[ni("0x8")]?o[r]+=i[ni("0xc")]:t[ni("0x3f")]({type:ni("0x2e"),add:ni("0xf")==r?i[ni("0xc")]:"",remove:ni("0x42")==r?i[ni("0xc")]:""});else if(this[ni("0x2b")][ni("0x15")](i)){const s=i;if(o&&o[ni("0x8")][ni("0x7")](ni("0xb"))>-1&&t[ni("0xa")](),"elementEnd"==e[ni("0x8")])continue;o&&o[ni("0x8")]==r+ni("0x35")&&o[ni("0x49")][ni("0x4")]==s[ni("0x4")]?o[ni("0x3d")]++:t[ni("0x3f")]({type:r+ni("0x35"),element:s,quantity:1}),n[ni("0x45")]((t=>!(ni("0x1")==t[ni("0x8")]&&t[ni("0x14")]==i)))}else if(this._schema.checkChild(i,ni("0x40"))||i.is(ni("0x49"),ni("0x4d"))){const n=i;if(ni("0xf")==r&&ni("0x3")==e[ni("0x8")]||"remove"==r&&ni("0x1")==e[ni("0x8")])continue;if(o&&-1==o[ni("0x8")].indexOf("Container")){ni("0x2e")==o.type&&(o[r]+="\n");continue}let s;if(s=ni("0xf")==r?n.nextSibling&&!this[ni("0x2b")][ni("0x15")](n[ni("0x47")])?n.nextSibling:null:n.previousSibling&&!this._schema.isObject(n[ni("0x1a")])?n[ni("0x1a")]:null,n[ni("0x23")]||s&&s[ni("0x23")]){const e=s&&s[ni("0x23")]?s:n;o&&o[ni("0x8")]==r+ni("0x46")&&o.element[ni("0x4")]==e.name?o.quantity++:t[ni("0x3f")]({type:r+ni("0x46"),element:e,quantity:1})}else t[ni("0x3f")]({type:r+"Container",element:n})}}}[ni("0x1d")](t){const e=this._locale,n=[],r=[],i=[];for(const o of t)switch(o[ni("0x8")]){case"text":if(o[ni("0xf")]=o[ni("0xf")][ni("0x12")](/(\S)\u000A+(\S)/g,ni("0x2d")).replace(/\u000A/g,""),o[ni("0x42")]=o[ni("0x42")][ni("0x12")](/(\S)\u000A+(\S)/g,"$1 $2")[ni("0x12")](/\u000A/g,""),""!=o.add&&""!=o[ni("0x42")]){n.push({type:ni("0x12"),content:Qr(e,ni("0x4a"),['"'+o[ni("0x42")]+'"','"'+o[ni("0xf")]+'"'])});continue}if(null!=o[ni("0xf")][ni("0x4c")](/^ +$/)){n[ni("0x3f")]({type:ni("0x39"),content:Qr(e,"*Insert:* %0",Qr(e,"ELEMENT_SPACE",o.add[ni("0x37")]))});continue}if(null!=o[ni("0x42")].match(/^ +$/)){n[ni("0x3f")]({type:"deletion",content:Qr(e,ni("0x3b"),Qr(e,ni("0x24"),o.remove[ni("0x37")]))});continue}if(""!=o[ni("0xf")]){n[ni("0x3f")]({type:"insertion",content:Qr(e,ni("0x28"),'"'+o[ni("0xf")]+'"')});continue}n[ni("0x3f")]({type:"deletion",content:Qr(e,ni("0x3b"),'"'+o[ni("0x42")]+'"')});continue;case ni("0x2c"):case"addObject":n[ni("0x3f")]({type:"insertion",content:Qr(e,ni("0x28"),this[ni("0x44")](o.element,o[ni("0x3d")]))});continue;case ni("0x3e"):case ni("0x3a"):n[ni("0x3f")]({type:ni("0x6"),content:Qr(e,ni("0x3b"),this[ni("0x44")](o[ni("0x49")],o.quantity))});continue;case ni("0x1b"):n[ni("0x3f")]({type:ni("0x39"),content:Qr(e,ni("0x2"),this.getItemLabel(o.element,o[ni("0x3d")]))});continue;case ni("0x22"):n[ni("0x3f")]({type:"deletion",content:Qr(e,"*Merge:* %0",this[ni("0x44")](o[ni("0x49")],o[ni("0x3d")]))});continue;case"addFormat":r.push(o[ni("0x1e")]);continue;case ni("0x2a"):i.push(o[ni("0x1e")]);continue;default:n.push(o)}if(r.length){const t=r[ni("0xe")]((t=>this[ni("0x30")][ni("0x33")](t)?this[ni("0x30")][ni("0x18")](t):t))[ni("0x16")](", ");n[ni("0x3f")]({type:ni("0x0"),content:Qr(this._locale,"*Set format:* %0",t)})}if(i[ni("0x37")]){const t=i.map((t=>this[ni("0x30")][ni("0x33")](t)?this[ni("0x30")][ni("0x18")](t):t)).join(", ");n[ni("0x3f")]({type:ni("0x0"),content:Qr(this[ni("0x20")],ni("0x5"),t)})}return n}[ni("0xd")](t){for(const e of this[ni("0x13")]){const n=e(t);if(n&&"type"in n)return n}}[ni("0x10")](t,e){const n=e.data,r=void 0===n.newValue?"removeFormat":"addFormat";t.push({type:r,key:n.key})}[ni("0x43")](t,e){t[ni("0x3f")]({type:ni("0x0"),content:Qr(this[ni("0x20")],"*Change to:* %0",this[ni("0x44")](e[ni("0x36")]()[ni("0x21")][ni("0x31")],1))})}[ni("0x4b")](t,e,n){if(this[ni("0x48")](t,e),n&&n.getFirstRange()&&!e[ni("0x36")]()[ni("0x19")][ni("0x3c")](n.getFirstRange().start)){const n=t[t.length-1],r=ni("0x39")==e[ni("0x8")]?ni("0xf"):ni("0x42");n&&ni("0x2e")==n[ni("0x8")]&&(n[r]+="\n")}}}const ii=["get","commands","editor","showAIAssistant","enableCommand","plugins"];var oi,si;oi=ii,si=357,function(t){for(;--t;)oi.push(oi.shift())}(++si);const xi=function(t,e){return ii[t-=0]};class ai extends t.Plugin{afterInit(){const t=this[xi("0x5")],e=t[xi("0x2")][xi("0x3")]("TrackChangesEditing");t[xi("0x4")][xi("0x3")]("showAIAssistant")&&e[xi("0x1")](xi("0x0"))}}const ci=["*Format:* %0","alignment","commandParams","FORMAT_ALIGNMENT","right","registerAttributeLabel","FORMAT_JUSTIFY_TEXT","type","TrackChangesEditing","plugins","FORMAT_ALIGN_TO_CENTER","locale","_descriptionFactory","editor","value","FORMAT_ALIGN_TO_RIGHT","format","_enableDefaultAttributesIntegration","get","_registerLegacyDescription"];var li,ui;li=ci,ui=252,function(t){for(;--t;)li.push(li.shift())}(++ui);const di=function(t,e){return ci[t-=0]};class gi extends t.Plugin{afterInit(){const t=this[di("0x1")],e=t[di("0x13")];if(!t[di("0x11")].has("AlignmentEditing"))return;const n=t[di("0x11")][di("0x6")](di("0x10"));n[di("0x5")](di("0x9"),[],[di("0x9")]),n[di("0x0")][di("0xd")](di("0x9"),Qr(e,di("0xb"))),this[di("0x7")]()}[di("0x7")](){const t=this.editor,e=t[di("0x13")];t.plugins[di("0x6")](di("0x10"))[di("0x0")].registerDescriptionCallback((t=>{if("formatBlock"!=t[di("0xf")])return;const{data:n}=t;if(n&&di("0x9")==n.commandName){const t=n[di("0xa")][0][di("0x2")];return{type:di("0x4"),content:Qr(e,di("0x8"),function(t){switch(t){case"left":return Qr(e,"FORMAT_ALIGN_TO_LEFT");case di("0xc"):return Qr(e,di("0x3"));case"center":return Qr(e,di("0x12"));case"justify":return Qr(e,di("0xe"))}}(t))}}}))}}const fi=["FORMAT_SUPERSCRIPT","commandName","code","FORMAT_","subscript","*Format:* %0","format","TrackChangesEditing","locale","type","strikethrough","*Remove format:* %0","_registerLegacyDescription","UnderlineEditing","FORMAT_UNDERLINE","slice","BoldEditing","italic","has","toLowerCase","FORMAT_BOLD","registerAttributeLabel","get","toUpperCase","plugins","afterInit","FORMAT_SUBSCRIPT","editor","superscript"];var hi,mi;hi=fi,mi=168,function(t){for(;--t;)hi.push(hi.shift())}(++mi);const bi=function(t,e){return fi[t-=0]},pi=[bi("0x16"),"ItalicEditing",bi("0x13"),"CodeEditing","StrikethroughEditing","SubscriptEditing","SuperscriptEditing"];class Ei extends t.Plugin{[bi("0x2")](){const t=this[bi("0x4")],e=t.plugins.get("TrackChangesEditing"),n=t[bi("0xe")];for(const r of pi){if(!t[bi("0x1")][bi("0x18")](r))continue;const i=r[bi("0x15")](0,-7)[bi("0x19")](),o=bi("0x9")+i[bi("0x0")]();e._enableDefaultAttributesIntegration(i,[i]),e._descriptionFactory[bi("0x1b")](i,Qr(n,o))}this[bi("0x12")]()}[bi("0x12")](){const t=this[bi("0x4")],e=t[bi("0xe")],n=t[bi("0x1")][bi("0x1c")](bi("0xd"));function r(t,r){n._descriptionFactory.registerDescriptionCallback((n=>{if("formatInline"!=n[bi("0xf")])return;const{data:i}=n;return i&&i[bi("0x7")]===t?i.commandParams[0].forceValue?{type:bi("0xc"),content:Qr(e,bi("0xb"),r)}:{type:bi("0xc"),content:Qr(e,bi("0x11"),r)}:void 0}))}r("bold",Qr(e,bi("0x1a"))),r(bi("0x17"),Qr(e,"FORMAT_ITALIC")),r("underline",Qr(e,bi("0x14"))),r(bi("0x8"),Qr(e,"FORMAT_CODE")),r(bi("0x10"),Qr(e,"FORMAT_STRIKETHROUGH")),r(bi("0xa"),Qr(e,bi("0x3"))),r(bi("0x5"),Qr(e,bi("0x6")))}}const _i=["filter","value","blockQuote","_descriptionFactory","*Set format:* %0","commands","commandName","ELEMENT_BLOCK_QUOTE","get","editor","afterInit","change","model","forceValue","checkChild","*Remove format:* %0","commandParams","getSelectedBlocks","parent","registerDescriptionCallback","enableCommand","$root","BlockQuoteEditing","plugins","markBlockFormat","from","format","name"];var Ti,yi;Ti=_i,yi=130,function(t){for(;--t;)Ti.push(Ti.shift())}(++yi);const Ci=function(t,e){return _i[t-=0]};class Ai extends t.Plugin{[Ci("0x14")](){const t=this[Ci("0x13")],e=t.locale;if(!t.plugins.has(Ci("0x4")))return;const n=t[Ci("0x5")].get("TrackChangesEditing"),r=this[Ci("0x13")][Ci("0xf")][Ci("0x12")](Ci("0xc"));n[Ci("0x2")]("blockQuote",((e,i={})=>{const o=this[Ci("0x13")][Ci("0x16")].document.selection,s=i&&void 0!==i[Ci("0x17")]?i[Ci("0x17")]:!r[Ci("0xb")];let x=[];if(s){const e=Array.from(o[Ci("0x1b")]())[Ci("0xa")]((t=>ki(t)||function(t,e){const n=e[Ci("0x18")](t[Ci("0x0")],Ci("0xc")),r=e[Ci("0x18")]([Ci("0x3"),"blockQuote"],t);return n&&r}(t,this[Ci("0x13")][Ci("0x16")].schema)));x=S(e,t.model)}else{const e=Array[Ci("0x7")](o.getSelectedBlocks()).filter((t=>ki(t)));x=S(e,t[Ci("0x16")])}t[Ci("0x16")][Ci("0x15")]((()=>{for(const t of x)n[Ci("0x6")](t,{commandName:"blockQuote",commandParams:[{forceValue:s}]})}))})),n[Ci("0xd")][Ci("0x1")]((t=>{const{data:n}=t;if(n&&Ci("0xc")==n[Ci("0x10")]){const t=Qr(e,Ci("0x11"));return n[Ci("0x1a")][0].forceValue?{type:"format",content:Qr(e,Ci("0xe"),t)}:{type:Ci("0x8"),content:Qr(e,Ci("0x19"),t)}}}))}}function ki(t){return Ci("0xc")==t.parent[Ci("0x9")]}const Ii=["changeCaseTitle","editor","plugins","CaseChange","changeCaseUpper","get","TrackChangesEditing","enableCommand","afterInit","has"];var Ri,Si;Ri=Ii,Si=277,function(t){for(;--t;)Ri.push(Ri.shift())}(++Si);const vi=function(t,e){return Ii[t-=0]};class Ni extends t.Plugin{[vi("0x1")](){const t=this[vi("0x4")];t[vi("0x5")][vi("0x2")](vi("0x6"))&&(t[vi("0x5")].get(vi("0x9")).enableCommand(vi("0x7")),t[vi("0x5")][vi("0x8")](vi("0x9"))[vi("0x0")]("changeCaseLower"),t[vi("0x5")].get(vi("0x9"))[vi("0x0")](vi("0x3")))}}const Li=["TrackChangesEditing","commands","plugins","afterInit","get"];var Mi,wi;Mi=Li,wi=418,function(t){for(;--t;)Mi.push(Mi.shift())}(++wi);const Oi=function(t,e){return Li[t-=0]};class Fi extends t.Plugin{[Oi("0x0")](){const t=this.editor;t[Oi("0x3")][Oi("0x1")]("ckbox")&&t[Oi("0x4")][Oi("0x1")](Oi("0x2")).enableCommand("ckbox")}}const Di=["enableCommand","name","_descriptionFactory","outdentCodeBlock","filter","forceValue","codeBlock","TrackChangesEditing","from","language","schema","blockName","languages","locale","change","indentCodeBlock","type","find","rootElement","plugins","selection","get","model","afterInit","getSelectedBlocks","commands","ELEMENT_CODE_BLOCK","has","commandName","label","checkChild","*Set format:* %0","commandParams","document","isLimit","parent","format","config","markBlockFormat","registerDescriptionCallback"];var Pi,Bi;Pi=Di,Bi=213,function(t){for(;--t;)Pi.push(Pi.shift())}(++Bi);const Ui=function(t,e){return Di[t-=0]};class ji extends t.Plugin{[Ui("0xa")](){const t=this.editor;if(!t.plugins[Ui("0xe")]("CodeBlock"))return;const e=t[Ui("0x6")][Ui("0x8")](Ui("0x22")),n=t[Ui("0x0")],r=t[Ui("0x18")][Ui("0x8")](Ui("0x21"))[Ui("0x27")],i=t[Ui("0xc")][Ui("0x8")](Ui("0x21"));e[Ui("0x1b")](Ui("0x2")),e[Ui("0x1b")](Ui("0x1e")),e[Ui("0x1b")]("codeBlock",((n,o={})=>{const s=t[Ui("0x9")],x=t[Ui("0x9")][Ui("0x14")][Ui("0x7")],a=o&&void 0!==o[Ui("0x20")]?o[Ui("0x20")]:!i.value;let c;o[Ui("0x24")]||(o.language=r[0][Ui("0x24")]),c=a?Array[Ui("0x23")](x[Ui("0xb")]())[Ui("0x1f")]((t=>{return Gi(t)||(e=t,n=s[Ui("0x25")],!e.is(Ui("0x5"))&&!n[Ui("0x15")](e)&&n[Ui("0x11")](e[Ui("0x16")],Ui("0x21")));var e,n})):Array[Ui("0x23")](x[Ui("0xb")]())[Ui("0x1f")]((t=>Gi(t)));const l=S(c,s);s[Ui("0x1")]((()=>{for(const t of l)e[Ui("0x19")](t,{commandName:Ui("0x21"),commandParams:[{...o,forceValue:a}],formatGroupId:Ui("0x26")})}))})),e[Ui("0x1d")].registerElementLabel(Ui("0x21"),(t=>Qr(n,Ui("0xd"),t))),e[Ui("0x1d")][Ui("0x1a")]((t=>{if("formatBlock"!=t[Ui("0x3")])return;const e=n.t,{data:i}=t;if(!i||Ui("0x21")!=i[Ui("0xf")])return;const o=i[Ui("0x13")][0][Ui("0x24")],s=e(r[Ui("0x4")]((t=>t[Ui("0x24")]===o))[Ui("0x10")]).toLowerCase();return i[Ui("0x13")][0][Ui("0x20")]?{type:Ui("0x17"),content:Qr(n,Ui("0x12"),Qr(n,Ui("0xd"),1)+" ("+s+")")}:{type:Ui("0x17"),content:Qr(n,"*Remove format:* %0",Qr(n,"ELEMENT_CODE_BLOCK",1))}}))}}function Gi(t){return"codeBlock"==t[Ui("0x1c")]}const Vi=["get","addCommentThread","editor","enableCommand","afterInit","has","plugins"];var Hi,zi;Hi=Vi,zi=317,function(t){for(;--t;)Hi.push(Hi.shift())}(++zi);const Wi=function(t,e){return Vi[t-=0]};class Ki extends t.Plugin{[Wi("0x2")](){const t=this[Wi("0x0")];t[Wi("0x4")][Wi("0x3")]("CommentsEditing")&&t[Wi("0x4")][Wi("0x5")]("TrackChangesEditing")[Wi("0x1")](Wi("0x6"))}}var qi=n(500);const Xi=["ck-suggestion-marker-","nextSibling","model","type","markerRange","getWalker","elementEnd","listItem","consumable","isContent","mapper","activeMarkers","ck-suggestion-marker--active","addClass","getAttribute","test","bindElementToMarker","isLimit","item","writer","element","markerName","includes","schema","previousPosition","getCustomProperty","toViewElement","isAtEnd","span","getItems","addHighlight","plugins"];var $i,Zi;$i=Xi,Zi=388,function(t){for(;--t;)$i.push($i.shift())}(++Zi);const Yi=function(t,e){return Xi[t-=0]};function Qi(t,e,n){const r=[];for(const i of e[Yi("0x19")]())i.hasAttribute(t)&&r.push(n.createRangeOn(i));return r}function Ji(t,e,{showActiveMarker:n=!0}={}){const r=t[Yi("0x1b")].get("TrackChangesEditing");return(i,o,s)=>{if(!s[Yi("0x4")][Yi("0xb")](o[Yi("0x0")],i.name))return;const x=o[Yi("0x0")][Yi("0x1")](),a=o[Yi("0x0")].start,c=t[Yi("0x1e")][Yi("0x13")];let l=null,u=null,d=!1,g=!1;for(const t of x){const e=t[Yi("0xe")];d=d||c[Yi("0x5")](e);const n=s[Yi("0x6")][Yi("0x16")](e);if(n&&n[Yi("0x15")](Yi("0x1a")))return;Yi("0x2")==t[Yi("0x1f")]&&c.isBlock(e)&&!c[Yi("0xd")](e)&&(e[Yi("0x1d")]||a[Yi("0x17")]?l&&l.parent==e||(l=e,f(t.previousPosition),g=!0):u=u||t[Yi("0x14")])}function f(t){const i=s[Yi("0xf")].createUIElement(Yi("0x18"),{class:Yi("0x1c")+e}),x=s[Yi("0x6")].toViewPosition(t);n&&r[Yi("0x7")][Yi("0x12")](o.markerName)&&s[Yi("0xf")][Yi("0x9")](Yi("0x8"),i),s.writer.insert(x,i),s.mapper[Yi("0xc")](i,o[Yi("0x11")])}d||g||!u||f(u)}}const to=["getFirstRange","init","markerName","createRange","high","addMarker:suggestion:deletion","editing","rootName","selection","model","enableCommand","forward","$graveyard","writer","document","editor","mapper","deleteForward","TrackChangesEditing","merge","modifySelection","end","unlock","data","removeMarker:suggestion:deletion","setSelection","unit","bind","buffer","fromRange","isCollapsed","unbindElementFromMarkerName","downcastDispatcher","markerNameToElements","start","plugins","remove","options","createSelection"];var eo,no;eo=to,no=253,function(t){for(;--t;)eo.push(eo.shift())}(++no);const ro=function(t,e){return to[t-=0]};class io extends t.Plugin{static get requires(){return[qi.Delete]}[ro("0x15")](){const t=this[ro("0x23")],e=t[ro("0x10")].get(ro("0x26"));e[ro("0x1e")]("delete");const n=t.commands.get("deleteForward");e.enableCommand(ro("0x25"),((e,r={})=>{const i=t[ro("0x1d")][ro("0x13")](t[ro("0x1d")][ro("0x22")][ro("0x1c")]);i[ro("0xb")]&&t[ro("0x1d")][ro("0x1")](i,{direction:ro("0x1f"),unit:r[ro("0x7")]});const o=i[ro("0x14")](),x=s.LiveRange[ro("0xa")](o);let a;e(r),a=ro("0x20")==x.root[ro("0x1b")]?t.model[ro("0x17")](o[ro("0xf")]):t[ro("0x1d")][ro("0x17")](x[ro("0xf")],x.end),x.detach(),t[ro("0x1d")].enqueueChange(n[ro("0x9")].batch,(t=>{n[ro("0x9")].lock(),t[ro("0x6")](t[ro("0x17")](a[ro("0x2")])),n[ro("0x9")][ro("0x3")]()}))})),t.editing[ro("0xd")].on(ro("0x19"),Ji(t,"merge"),{priority:"high"}),t[ro("0x4")][ro("0xd")].on("addMarker:suggestion:deletion",((e,n,r)=>{r[ro("0x12")].showSuggestionHighlights&&Ji(t,ro("0x0"),{showActiveMarker:!1})[ro("0x8")](this)(e,n,r)}),{priority:ro("0x18")}),t[ro("0x1a")][ro("0xd")].on(ro("0x5"),((t,e,n)=>{const r=n[ro("0x24")][ro("0xe")](e[ro("0x16")]);if(r)for(const t of r)t.is("uiElement")&&(n[ro("0x24")][ro("0xc")](t,e.markerName),n[ro("0x21")][ro("0x11")](t))}),{priority:ro("0x18")})}}const oo=["meta","push","_enableDefaultAttributesIntegration","listItemIdFixer","*Check item*","next","parent","trackChangesCommand","type","listIndent","listStyle","splitListItemAfter","*Merge:* %0","commands","config","_supportLegacySuggestions","createRange","plugins","assureChains","setAttribute","bulletedList","from","noTrackChangesFixer","isNextTo","default","*Format:* remove from %0","refresh","*Indent:* %0","commandName","ListEditing","registerDescriptionCallback","model","registerCustomCallback","numbered","attributeKey","*Split:* list item","toUpperCase","ELEMENT_LIST_ITEM","removeMarker","*Remove format:* %0","_registerLegacyDescription","every","get","registerAttributeLabel","indentList","listReversed","attributes","forceValue","document","todo","todoList","newValue","has","getFirstMarker","getFirstRange","nextSibling","*Merge:* list item","groupId","numberedList","batch","*Format:* insert into %0","key","bulleted","ELEMENT_BULLETED_LIST","_descriptionFactory","formatBlock","todoListCheck","range","length","splitListItemBefore","previousSibling","filter","attribute","data","format","containsItem","change","isLocal","suggestion","accept","outdentList","TrackChangesEditing","commandParams","find","*Uncheck item*","includes","listStart","todoListChecked","getSuggestions","ELEMENT_TODO_LIST","*Outdent:* %0","fromRange","listType","listItemId","differ","value","isUndo","_getAttributeKey","*Change to:* %0","end","ELEMENT_","ELEMENT_NUMBERED_LIST","multipleBlocks","head","editor","setSelection","list.multiBlock","locale","map","registerPostFixer","getChanges","start","schema","oldValue","mergeListItemBackward","nodeAfter","TodoListEditing","getAttribute","registerElementLabel","checkTodoList","createPositionAt","detach","_findSuggestions"];var so,xo;so=oo,xo=125,function(t){for(;--t;)so.push(so.shift())}(++xo);const ao=function(t,e){return oo[t-=0]};class co extends t.Plugin{afterInit(){const t=this.editor;if(!t[ao("0xf")][ao("0x32")](ao("0x1b")))return;const e=t[ao("0x69")],n=t[ao("0xf")][ao("0x28")](ao("0x4f")),r=t[ao("0xf")].has(ao("0x72")),i=!!t[ao("0xc")][ao("0x28")](ao("0x68"));function o(t){return{type:ao("0x48"),content:""+Qr(e,"*Set format:* %0",t)}}function s(t){return{type:ao("0x48"),content:""+Qr(e,ao("0x25"),t)}}n[ao("0x0")](ao("0x38"),[],[ao("0x5b"),ao("0x5a"),ao("0x7")]),n[ao("0x0")](ao("0x12")),n[ao("0x0")](ao("0x2a")),n._enableDefaultAttributesIntegration(ao("0x4e")),n[ao("0x0")](ao("0x9")),n[ao("0x0")](ao("0x43")),i&&(n[ao("0x0")]("mergeListItemBackward"),n[ao("0x0")]("mergeListItemForward")),r&&(n[ao("0x0")](ao("0x30")),n[ao("0x0")](ao("0x75"),[],["todoListChecked"]),n[ao("0x3e")][ao("0x1c")]((t=>{const{data:n}=t;if(n&&"todoListChecked"==n[ao("0x3b")])return{type:ao("0x48"),content:n[ao("0x31")]?Qr(e,ao("0x2")):Qr(e,ao("0x52"))}})),this[ao("0x66")][ao("0x1d")].document[ao("0x6b")]((t=>{if(t[ao("0x39")][ao("0x5e")])return!1;let e=!1;const r=n[ao("0x56")]({skipNotAttached:!0})[ao("0x45")]((t=>ao("0x55")===n._getAttributeKey(t)));for(const i of r)ao("0x2f")!=i[ao("0x34")]()[ao("0x6d")][ao("0x71")][ao("0x73")](ao("0x5a"))&&(n[ao("0x78")](i[ao("0x34")](),"attribute")[ao("0x51")]((t=>ao("0x5a")===n._getAttributeKey(t[ao("0x4c")])))||(t.removeMarker(i[ao("0x33")]()),e=!0));return e}))),n._descriptionFactory[ao("0x29")]("listIndent",Qr(e,"FORMAT_INDENT"));const x={type:"format",content:""};n[ao("0x3e")][ao("0x1c")]((t=>{const{data:n}=t;if(!n||ao("0x5a")!=n[ao("0x3b")])return;let r=t[ao("0x65")];for(;r;){if(r[ao("0x47")]&&(ao("0x8")==r[ao("0x47")].key&&(r.data[ao("0x31")]&&ao("0x16")!=r[ao("0x47")][ao("0x31")]||ao("0x16")!=r.data[ao("0x6f")]&&!n[ao("0x31")])||!i&&r[ao("0x47")][ao("0x3b")]==Cc))return x;r=r[ao("0x3")]}if(null==n[ao("0x31")])switch(n[ao("0x6f")]){case ao("0x3c"):return s(Qr(e,ao("0x3d")));case ao("0x1f"):return s(Qr(e,ao("0x63")));case ao("0x2f"):return s(Qr(e,ao("0x57")))}switch(n.newValue){case"bulleted":return o(Qr(e,ao("0x3d")));case ao("0x1f"):return o(Qr(e,ao("0x63")));case ao("0x2f"):return o(Qr(e,ao("0x57")))}})),n._descriptionFactory[ao("0x1c")]((t=>{const{data:e}=t;if(e&&"listIndent"==e[ao("0x3b")])return null==e[ao("0x31")]||null==e.oldValue&&0==e[ao("0x31")]?x:void 0})),n[ao("0x3e")][ao("0x1c")]((t=>{if(ao("0x46")!=t.type)return;const{data:n}=t;if(!n||ao("0x5b")!=n[ao("0x3b")])return;const r=lo(t);return r?ao("0x31")==r?{type:ao("0x48"),content:Qr(e,ao("0x36"))}:ao("0x6f")==r?{type:ao("0x48"),content:Qr(e,ao("0x21"))}:x:x})),t.model.document.registerPostFixer((t=>this.listItemIdFixer(t))),t[ao("0x1d")].document.registerPostFixer((t=>this[ao("0x14")](t))),t[ao("0x1d")][ao("0x2e")][ao("0x6b")]((t=>this[ao("0x10")](t))),this[ao("0xd")]()}[ao("0x1")](t){if(t[ao("0x39")][ao("0x5e")]||!t[ao("0x39")][ao("0x4b")])return!1;let e=!1;const n=this[ao("0x66")][ao("0xf")][ao("0x28")](ao("0x4f"))[ao("0x56")]({skipNotAttached:!0}).filter((t=>t[ao("0x47")]&&"listItemId"==t[ao("0x47")][ao("0x3b")]))[ao("0x45")]((t=>t.data.newValue&&t[ao("0x47")][ao("0x6f")]));for(const r of n)lo(r)||(t.removeMarker(r[ao("0x33")]()),e=!0);return e}[ao("0x14")](t){if(t[ao("0x39")].isUndo||!t.batch[ao("0x4b")])return!1;const e=this[ao("0x66")][ao("0xf")].get(ao("0x4f"));if(e[ao("0x5")][ao("0x5d")])return!1;let n=!1;const r=[ao("0x5a"),ao("0x8"),"listItemId",ao("0x7"),ao("0x54"),ao("0x2b"),ao("0x40")],i=this[ao("0x66")][ao("0x1d")][ao("0x2e")][ao("0x5c")][ao("0x6c")]()[ao("0x45")]((t=>ao("0x46")==t[ao("0x6")]))[ao("0x45")]((t=>r[ao("0x53")](t[ao("0x20")])));if(0==i[ao("0x42")])return n;for(const o of i){const i=e._findSuggestions(o[ao("0x41")],ao("0x46"))[ao("0x45")]((t=>!t[ao("0x79")][ao("0x15")])).map((t=>t.suggestion))[ao("0x45")]((t=>{const n=e[ao("0x5f")](t);return r[ao("0x53")](n)}));if(i[ao("0x42")]){for(const e of i)t[ao("0x24")](e[ao("0x33")]());n=!0}}return n}[ao("0x10")](t){if(t.batch.isUndo||!t[ao("0x39")][ao("0x4b")])return!1;const e=this[ao("0x66")][ao("0xf")].get("TrackChangesEditing");let n=!1;const r=["listType",ao("0x8"),ao("0x5b"),ao("0x7"),ao("0x54"),ao("0x2b"),"todoListCheck"];for(const t of e[ao("0x56")]({skipNotAttached:!0})){const i=e[ao("0x78")](t[ao("0x34")](),"attribute")[ao("0x6a")]((t=>t[ao("0x4c")]))[ao("0x45")]((t=>t[ao("0x47")]&&r.includes(t[ao("0x47")].key)));if(!i[ao("0x42")])continue;const s=i[0][ao("0x65")][ao("0x2c")].groupId;if(!i[ao("0x27")]((t=>t[ao("0x2c")][ao("0x37")]===s)))for(const t of i)o(t,s)&&(n=!0)}return n;function i(t,n){for(const r of e[ao("0x56")]({skipNotAttached:!0}).filter((e=>"attribute"==e[ao("0x6")]&&e[ao("0x2c")].groupId==t)))r.setAttribute("groupId",n)}function o(t,e){let n=t.head,r=!1;for(;n;)n.attributes[ao("0x37")]!=e&&(i(n[ao("0x2c")][ao("0x37")],e),n[ao("0x11")]("groupId",e),r=!0),n=n[ao("0x3")];return r}}_supportLegacySuggestions(){const t=this[ao("0x66")],e=t[ao("0x69")],n=t[ao("0xf")][ao("0x28")](ao("0x4f"));this[ao("0x26")](),n._suggestionFactory[ao("0x1e")](ao("0x3f"),"documentList",ao("0x4d"),(function(e,n){const r=[];for(let n of e)n[ao("0x6d")].nodeAfter===n[ao("0x61")][ao("0x4")]&&(n=t.model[ao("0xe")](t[ao("0x1d")][ao("0x76")](n[ao("0x6d")][ao("0x71")],0))),r[ao("0x7a")](n);t.model[ao("0x4a")]((e=>{const i=t[ao("0x1d")][ao("0x2e")].selection,o=Array[ao("0x13")](i.getRanges())[ao("0x6a")]((t=>s.LiveRange[ao("0x59")](t)));e[ao("0x67")](r),t.commands[ao("0x28")](n[ao("0x1a")])[ao("0x18")](),n.commandParams[ao("0x7a")]({forceDefaultExecution:!0}),t.execute(n[ao("0x1a")],...n.commandParams),e.setSelection(o);for(const t of o)t[ao("0x77")]()}))})),n[ao("0x3e")][ao("0x74")]((function(e){const n=!t[ao("0x1d")][ao("0x6e")].isObject(e),r=e[ao("0x44")],i=e[ao("0x35")],o=e[ao("0x73")](ao("0x5b")),s=!r||r.getAttribute(ao("0x5b"))!==o,x=!i||i[ao("0x73")](ao("0x5b"))!==o;return n&&Boolean(o)&&s&&x}),(t=>Qr(e,ao("0x23"),t)))}[ao("0x26")](){const t=this.editor,e=t[ao("0x69")];function n(e){const n=t[ao("0xb")].get("bulletedList")[ao("0x5d")],r=t[ao("0xb")][ao("0x28")](ao("0x38"))[ao("0x5d")];return"numberedList"===e?n:r}t[ao("0xf")][ao("0x28")]("TrackChangesEditing")._descriptionFactory[ao("0x1c")]((function(r){if(ao("0x3f")!=r[ao("0x6")])return;const{data:i}=r;if(!i)return;let o,s,x,a;switch(i.commandName){case ao("0x12"):x=i[ao("0x50")][0].forceValue,a=n(i[ao("0x1a")]),o=ao(x?"0x3a":"0x17"),!a&&t[ao("0xc")][ao("0x28")]("list.multiBlock")||(o=ao("0x60")),s={type:ao("0x48"),content:Qr(e,o,Qr(e,ao("0x3d")))};break;case ao("0x38"):x=i[ao("0x50")][0][ao("0x2d")],a=n(i[ao("0x1a")]),o=ao(x?"0x3a":"0x17"),!a&&t[ao("0xc")][ao("0x28")]("list.multiBlock")||(o=ao("0x60")),s={type:ao("0x48"),content:Qr(e,o,Qr(e,"ELEMENT_NUMBERED_LIST"))};break;case ao("0x2a"):o=ao("0x19"),s={type:ao("0x48"),content:Qr(e,o,Qr(e,ao("0x23")))};break;case ao("0x4e"):o=function(t){const e=t[ao("0x34")]();let n=e[ao("0x6d")].nodeAfter;for(;n&&e[ao("0x49")](n);){if(n[ao("0x73")](ao("0x7"))>0)return!1;n=n[ao("0x35")]}return!0}(r)?Qr(e,ao("0x17"),Qr(e,(c=r,ao("0x62")+c.getFirstRange()[ao("0x6d")][ao("0x71")][ao("0x73")](ao("0x5a"))[ao("0x22")]()+"_LIST"))):Qr(e,ao("0x58"),Qr(e,"ELEMENT_LIST_ITEM")),s={type:ao("0x48"),content:o};break;case ao("0x70"):case"mergeListItemForward":!1===i[ao("0x64")]&&(o=ao("0xa"),s={type:"deletion",content:Qr(e,o,Qr(e,"ELEMENT_LIST_ITEM"))})}var c;return s}))}}function lo(t){let e=t[ao("0x34")]()[ao("0x6d")].nodeAfter.previousSibling;for(;e;){const n=e[ao("0x73")](ao("0x5b"));if(!n)return!1;if(n==t.data.newValue)return ao("0x31");if(n==t[ao("0x47")][ao("0x6f")])return ao("0x6f");e=e[ao("0x44")]}return!1}const uo=["toUpperCase","filter","FORMAT_LIST_REVERSED","newValue","styles","_LIST_","document","_descriptionFactory","model","find","lower-roman","_getAttributeKey","getFirstMarker","head","locale","listStart","key","replace","getAttribute","numbered","plugins","batch","startIndex","suggestion","format","start","getFirstRange","bind","*Remove format:* %0","registerPostFixer","decimal-leading-zero","FORMAT_LIST_START","disc","type","data","ListPropertiesEditing","oldValue","has","get","_findSuggestions","list.properties","listReversed","square","handleDescriptions","next","ELEMENT_","config","*Format:* set order to regular","reversed","lower-latin","*Format:* set start index to %0","registerAttributeLabel","decimal","registerDescriptionCallback","editor","nodeAfter","includes","afterInit","bulleted","_enableDefaultAttributesIntegration","*Set format:* %0","TrackChangesEditing","removeMarker","*Format:* set order to reversed","attribute","default","commandParams","_getTranslationKeyForListStyle","getSuggestions","listType","commandName","listStyle"];var go,fo;go=uo,fo=370,function(t){for(;--t;)go.push(go.shift())}(++fo);const ho=function(t,e){return uo[t-=0]};class mo extends t.Plugin{[ho("0x2f")](){if(!this[ho("0x2c")][ho("0xa")][ho("0x1b")](ho("0x19")))return;const t=this[ho("0x2c")][ho("0x24")][ho("0x1c")](ho("0x1e")),e=this[ho("0x2c")][ho("0xa")][ho("0x1c")]("TrackChangesEditing");t[ho("0x42")]&&e._enableDefaultAttributesIntegration(ho("0x3d"),[],[ho("0x3d")]),t[ho("0x26")]&&e[ho("0x31")]("listReversed",[],[ho("0x1f")]),t[ho("0xc")]&&e._enableDefaultAttributesIntegration("listStart",[],[ho("0x5")]);const n={type:"format",content:""};e[ho("0x45")][ho("0x2b")](this[ho("0x21")][ho("0x11")](this));const r=this[ho("0x2c")].locale;e[ho("0x45")].registerAttributeLabel("listReversed",Qr(r,ho("0x40"))),e._descriptionFactory[ho("0x2b")]((t=>{const{data:e}=t;if(e&&ho("0x1f")==e.key)return null==e[ho("0x41")]||0==e[ho("0x41")]&&null==e[ho("0x1a")]?n:void 0})),e._descriptionFactory[ho("0x29")](ho("0x5"),Qr(r,ho("0x15"))),e[ho("0x45")][ho("0x2b")]((t=>{const{data:e}=t;if(e&&ho("0x5")==e[ho("0x6")])return null==e[ho("0x41")]||1==e[ho("0x41")]&&null==e.oldValue?n:void 0})),this[ho("0x2c")][ho("0x46")][ho("0x44")][ho("0x13")]((t=>{if(t[ho("0xb")].isUndo)return!1;let n=!1;const r=e[ho("0x3a")]({skipNotAttached:!0})[ho("0x3f")]((t=>{const n=e[ho("0x1")](t);return"listStart"==n||ho("0x1f")==n}));for(const i of r)ho("0x9")!=i.getFirstRange()[ho("0xf")][ho("0x2d")][ho("0x8")](ho("0x3b"))&&(e[ho("0x1d")](i[ho("0x10")](),ho("0x36"))[ho("0x47")]((t=>ho("0x3b")==e[ho("0x1")](t[ho("0xd")])))||(t[ho("0x34")](i[ho("0x2")]()),n=!0));return n})),this._registerLegacyDescription()}[ho("0x21")](t){const e=this[ho("0x2c")].locale,{data:n}=t,r={type:ho("0xe"),content:""};if(!n||ho("0x3d")!=n[ho("0x6")])return;if(!n[ho("0x1a")])return"default"==n.newValue?r:{type:"format",content:""+Qr(e,ho("0x32"),Qr(e,this._getTranslationKeyForListStyle(n[ho("0x41")])))};if(!n[ho("0x41")]){if(ho("0x37")==n[ho("0x1a")])return r;let i=t[ho("0x3")];for(;i;){if(i[ho("0x18")]&&"listType"==i[ho("0x18")][ho("0x6")]&&i.data.newValue)return r;i=i[ho("0x22")]}return{type:"format",content:""+Qr(e,ho("0x12"),Qr(e,this[ho("0x39")](n[ho("0x1a")])))}}if(ho("0x37")!=n[ho("0x41")])return{type:ho("0xe"),content:""+Qr(e,ho("0x32"),Qr(e,this[ho("0x39")](n.newValue)))};let i=t[ho("0x3")];for(;i;){if(i[ho("0x18")]&&"listType"==i[ho("0x18")][ho("0x6")]&&i.data[ho("0x41")]&&i[ho("0x18")][ho("0x1a")])return r;i=i[ho("0x22")]}const o=t[ho("0x10")]().start[ho("0x2d")][ho("0x8")]("listType");return{type:ho("0xe"),content:Qr(e,"*Set format:* %0",Qr(e,ho("0x23")+o[ho("0x3e")]()+"_LIST_DEFAULT"))}}_registerLegacyDescription(){const t=this[ho("0x2c")],e=t[ho("0x4")];t.plugins[ho("0x1c")](ho("0x33"))[ho("0x45")][ho("0x2b")]((t=>{if("formatBlock"!=t.type)return;const{data:n}=t;if(!n)return;let r,i;switch(n[ho("0x3c")]){case ho("0x3d"):r="*Change to:* %0",i={type:"format",content:Qr(e,r,Qr(e,this._getTranslationKeyForListStyle(n.commandParams[0][ho("0x17")])))};break;case ho("0x1f"):r=n[ho("0x38")][0][ho("0x26")]?ho("0x35"):ho("0x25"),i={type:ho("0xe"),content:Qr(e,r)};break;case"listStart":r=ho("0x28"),i={type:ho("0xe"),content:Qr(e,r,n[ho("0x38")][0][ho("0xc")])}}return i}))}[ho("0x39")](t){return ho("0x23")+(e=t,bo[ho("0x2e")](e)?ho("0x30"):po.includes(e)?ho("0x9"):null)[ho("0x3e")]()+ho("0x43")+t[ho("0x3e")]()[ho("0x7")](/-/g,"_");var e}}const bo=[ho("0x16"),"circle",ho("0x20")],po=[ho("0x2a"),ho("0x14"),ho("0x0"),"upper-roman",ho("0x27"),"upper-latin"];var Eo=n(976);const _o=["markerName","markInsertion","createRange","data","ck-suggestion-marker-split","writer","remove","get","init","requires","plugins","parent","model","hasClass","split","fire","enter","change","removeMarker:suggestion:insertion","setSelection","TrackChangesEditing","commands","getFirstRange","mapper","detach","downcastDispatcher","bind","high","unbindElementFromMarkerName","options","editing","enterBlock","addMarker:suggestion:insertion","editor","createPositionAt","getFirstPosition","end"];var To,yo;To=_o,yo=154,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[Co("0x3")](){return[Eo.Enter]}[Co("0x2")](){const t=this[Co("0x1b")],e=t[Co("0x4")][Co("0x1")](Co("0xe")),n=t[Co("0xf")].get("enter");e.enableCommand(Co("0xa"),(()=>{t[Co("0x6")][Co("0xb")]((r=>{const i=t[Co("0x6")].document.selection,o=i[Co("0x1d")](),x=s.LiveRange.fromRange(i[Co("0x10")]());if(n[Co("0x19")](r)){const n=t[Co("0x6")][Co("0x1c")](o[Co("0x5")].nextSibling,0),i=r[Co("0x21")](o,n);e[Co("0x20")](i)}else r[Co("0xd")](r[Co("0x21")](x[Co("0x1e")]));x[Co("0x12")](),n[Co("0x9")]("afterExecute",{writer:r})}))})),t[Co("0x18")][Co("0x13")].on(Co("0x1a"),Ji(t,Co("0x8")),{priority:Co("0x15")}),t.editing[Co("0x13")].on(Co("0xc"),((t,e,n)=>{const r=n[Co("0x11")].markerNameToElements(e[Co("0x1f")]);if(r)for(const t of r)t[Co("0x7")](Co("0x23"))&&(n[Co("0x11")][Co("0x16")](t,e[Co("0x1f")]),n[Co("0x24")][Co("0x0")](t))}),{priority:"high"}),t[Co("0x22")][Co("0x13")].on(Co("0x1a"),((e,n,r)=>{r[Co("0x17")].showSuggestionHighlights&&Ji(t,"split",{showActiveMarker:!1})[Co("0x14")](this)(e,n,r)}),{priority:"high"})}}const ko=["filter","bind","createPositionAt","createRange","getIntersection","has","find","handleFindCommand","_isInDeletionRange","start","get","string","enableCommand","editor","plugins","model","findPrevious","FindAndReplaceEditing","findNext","afterInit","item","replace"];var Io,Ro;Io=ko,Ro=274,function(t){for(;--t;)Io.push(Io.shift())}(++Ro);const So=function(t,e){return ko[t-=0]};class vo extends t.Plugin{[So("0x9")](){if(!this[So("0x3")][So("0x4")][So("0x11")](So("0x7")))return;const t=this[So("0x3")].plugins[So("0x0")]("TrackChangesEditing");t[So("0x2")](So("0x12"),this[So("0x13")][So("0xd")](this)),t.enableCommand(So("0x8")),t[So("0x2")](So("0x6")),t.enableCommand(So("0xb")),t.enableCommand("replaceAll")}[So("0x13")](t,e,n={}){const r=this[So("0x3")][So("0x4")].get("FindAndReplaceUtils");return t((t=>(So("0x1")==typeof e?r.findByTextCallback(e,n):e)(t)[So("0xc")]((e=>!1===this[So("0x14")](e,t[So("0xa")])))),n)}[So("0x14")](t,e){const n=this[So("0x3")][So("0x5")][So("0xf")](this[So("0x3")][So("0x5")][So("0xe")](e,t[So("0x15")]),this[So("0x3")][So("0x5")][So("0xe")](e,t.end));for(const t of this.editor[So("0x5")].markers.getMarkersGroup("suggestion:deletion"))if(null!==n[So("0x10")](t.getRange()))return!0;return!1}}const No=["fontSize.options","label","FontBackgroundColorEditing","find","editor","_registerLegacyDescription","*Set font color:* %0","normalizeSizeOptions","plugins","fontSize","afterInit","get","FORMAT_FONT_SIZE","*Reset font size*","fontBackgroundColor.colors","toLowerCase","commandParams","commandName","has","*Set font family:* %0","model","config","FontSize","format","FORMAT_FONT_FAMILY","*Set font background color:* %0","_descriptionFactory","value","locale","fontFamily","TrackChangesEditing","type","fontColor","fontColor.colors","registerAttributeLabel","FontColorEditing","formatInline","trim","*Reset font background color*","_enableDefaultAttributesIntegration","fontBackgroundColor","registerDescriptionCallback","title"];var Lo,Mo;Lo=No,Mo=295,function(t){for(;--t;)Lo.push(Lo.shift())}(++Mo);const wo=function(t,e){return No[t-=0]},Oo=[{pluginName:"FontSizeEditing",commandName:wo("0xf")},{pluginName:"FontFamilyEditing",commandName:wo("0x23")},{pluginName:wo("0x29"),commandName:"fontColor"},{pluginName:wo("0x8"),commandName:wo("0x3")}];class Fo extends t.Plugin{[wo("0x10")](){const t=this[wo("0xa")].locale,e=this[wo("0xa")][wo("0xe")][wo("0x11")](wo("0x24"));for(const{pluginName:t,commandName:n}of Oo)this[wo("0xa")].plugins[wo("0x18")](t)&&e[wo("0x2")](n,[n]);t.t,e[wo("0x20")][wo("0x28")](wo("0xf"),Qr(t,wo("0x12"))),e[wo("0x20")].registerAttributeLabel(wo("0x23"),Qr(t,wo("0x1e"))),e[wo("0x20")][wo("0x28")](wo("0x26"),Qr(t,"FORMAT_FONT_COLOR")),e._descriptionFactory.registerAttributeLabel(wo("0x3"),Qr(t,"FORMAT_FONT_BACKGROUND")),this[wo("0xb")]()}[wo("0xb")](){const t=this[wo("0xa")],e=t[wo("0x22")];t[wo("0xe")][wo("0x11")](wo("0x24"))[wo("0x20")][wo("0x4")]((t=>{const n=e.t;if(wo("0x2a")!=t[wo("0x25")])return;const{data:r}=t;if(null!=r){if(wo("0xf")==r[wo("0x17")]){const t=r[wo("0x16")][0].value;if(t){const r=n(this[wo("0xa")][wo("0xe")].get(wo("0x1c"))[wo("0xd")](this[wo("0xa")][wo("0x1b")].get(wo("0x6")))[wo("0x9")]((e=>e[wo("0x1a")]==t))[wo("0x5")]).toLowerCase();return{type:wo("0x1d"),content:Qr(e,"*Set font size:* %0",r)}}return{type:wo("0x1d"),content:Qr(e,wo("0x13"))}}if(wo("0x23")==r[wo("0x17")]){const t=r.commandParams[0][wo("0x21")];return t?{type:wo("0x1d"),content:Qr(e,wo("0x19"),t)}:{type:wo("0x1d"),content:Qr(e,"*Reset font family*")}}if("fontColor"==r[wo("0x17")]){const t=r[wo("0x16")][0][wo("0x21")];if(t){const r=(0,i.normalizeColorOptions)(this[wo("0xa")][wo("0x1b")][wo("0x11")](wo("0x27")))[wo("0x9")]((e=>e.model==t));let o=t,s="";return r&&(o=r.label,s=n(o)[wo("0x15")]()),{type:wo("0x1d"),content:Qr(e,wo("0xc"),s)[wo("0x0")](),color:{value:t,title:s||o}}}return{type:"format",content:Qr(e,"*Reset font color*")}}if("fontBackgroundColor"==r[wo("0x17")]){const t=r[wo("0x16")][0][wo("0x21")];if(t){const r=(0,i.normalizeColorOptions)(this.editor.config[wo("0x11")](wo("0x14")))[wo("0x9")]((e=>e[wo("0x1a")]==t));let o=t,s="";return r&&(o=r[wo("0x7")],s=n(o)[wo("0x15")]()),{type:wo("0x1d"),content:Qr(e,wo("0x1f"),s)[wo("0x0")](),color:{value:t,title:s||o}}}return{type:wo("0x1d"),content:Qr(e,wo("0x1"))}}}}))}}const Do=["enableCommand","commandName","*Remove all formatting*","formatInline","join","label","boolean","find","model","registerDescriptionCallback","fontColor","pasteFormat","get","commandParams","editor","split","length","_enableDefaultAttributesIntegration","format","commands","slice","toLowerCase","*Set format to:* %0","fontSize","copyFormat","config","FontSize","type","normalizeSizeOptions","fontSize.options","formatBlock","locale","fontColor.colors","TrackChangesEditing","plugins","afterInit","_registerLegacyDescription","_descriptionFactory"];var Po,Bo;Po=Do,Bo=196,function(t){for(;--t;)Po.push(Po.shift())}(++Bo);const Uo=function(t,e){return Do[t-=0]};class jo extends t.Plugin{[Uo("0x1d")](){const t=this[Uo("0x8")],e=t[Uo("0x1c")][Uo("0x6")](Uo("0x1b")),n=t[Uo("0xd")][Uo("0x6")](Uo("0x12")),r=t[Uo("0xd")].get(Uo("0x5"));n&&r&&(e[Uo("0xb")](Uo("0x5")),e[Uo("0x20")](Uo("0x12")),this[Uo("0x1e")]())}[Uo("0x1e")](){const t=this[Uo("0x8")],e=t[Uo("0x19")];t.plugins[Uo("0x6")](Uo("0x1b"))[Uo("0x1f")][Uo("0x3")]((n=>{if(Uo("0x18")!=n[Uo("0x15")]&&Uo("0x23")!=n.type)return;const{data:r}=n;if(r&&Uo("0x5")===r[Uo("0x21")]){const n=[],i=r[Uo("0x7")][0];for(const[e,r]of Object.entries(i))n.push(Go(t,e,r));return n[Uo("0xa")]?{type:Uo("0xc"),content:Qr(e,Uo("0x10"),n[Uo("0x24")](", "))}:{type:Uo("0xc"),content:Qr(e,Uo("0x22"))}}}))}}function Go(t,e,n){const r=t[Uo("0x19")].t,o=e[Uo("0x9")](/(?=[A-Z])/).join(" "),s=r(o.charAt(0).toUpperCase()+o[Uo("0xe")](1))[Uo("0xf")]();if(Uo("0x0")==typeof n)return s;if(Uo("0x4")===e||"fontBackgroundColor"===e){const e=(0,i.normalizeColorOptions)(t.config[Uo("0x6")](Uo("0x1a")))[Uo("0x1")]((t=>t[Uo("0x2")]==n));return s+" ("+(e?r(e[Uo("0x25")])[Uo("0xf")]():n)+")"}if(Uo("0x11")===e&&isNaN(parseFloat(n))){const e=t[Uo("0x1c")].get(Uo("0x14"))[Uo("0x16")](t[Uo("0x13")].get(Uo("0x17"))).find((t=>t[Uo("0x2")]==n));return s+" ("+(e?r(e.title).toLowerCase():n)+")"}return s+" ("+n+")"}const Vo=["config","heading","has","_headingOptions","title","model","plugins","ELEMENT_HEADING","heading.options","commandName","editor","*Change to:* %0","TrackChangesEditing","_enableDefaultAttributesIntegration","ELEMENT_HEADING_CUSTOM","registerElementLabel","format","commandParams","type","afterInit","_registerLegacyDescription","_getHeadingLevel","locale","formatBlock","find","value","get"];var Ho,zo;Ho=Vo,zo=467,function(t){for(;--t;)Ho.push(Ho.shift())}(++zo);const Wo=function(t,e){return Vo[t-=0]};class Ko extends t.Plugin{[Wo("0xb")](){const t=this[Wo("0x2")];if(!t.plugins[Wo("0x15")]("HeadingEditing"))return;this[Wo("0x16")]=t[Wo("0x13")][Wo("0x12")](Wo("0x0"));const e=t[Wo("0xe")],n=t[Wo("0x19")].get("TrackChangesEditing");n[Wo("0x5")](Wo("0x14"));for(const t of this[Wo("0x16")])"paragraph"!=t[Wo("0x18")]&&n._descriptionFactory[Wo("0x7")](t[Wo("0x18")],(n=>{const r=this[Wo("0xd")](t[Wo("0x18")]);return null!==r?(s=n,x=r,Qr(e,Wo("0x1a"),[s,x])):(i=n,o=t[Wo("0x17")],Qr(e,Wo("0x6"),[i,o]));var i,o,s,x}));this[Wo("0xc")]()}[Wo("0xc")](){const t=this[Wo("0x2")],e=t.locale;t[Wo("0x19")][Wo("0x12")](Wo("0x4"))._descriptionFactory.registerDescriptionCallback((t=>{if(Wo("0xf")!=t[Wo("0xa")])return;const{data:n}=t;if(n&&Wo("0x14")==n[Wo("0x1")]){const t=n[Wo("0x9")][0][Wo("0x11")],s=this[Wo("0xd")](t);if(null!==s)return{type:Wo("0x8"),content:Qr(e,Wo("0x3"),(1,o=s,Qr(e,Wo("0x1a"),[1,o])))};const x=this[Wo("0x16")][Wo("0x10")]((e=>e[Wo("0x18")]===t))[Wo("0x17")];return{type:"format",content:Qr(e,Wo("0x3"),(r=1,i=x,Qr(e,Wo("0x6"),[r,i])))}}var r,i,o}))}_getHeadingLevel(t){var e,n;const r=t.match(/^heading(\d+)/);if(r)return r[1];const i=null===(e=this[Wo("0x16")])||void 0===e?void 0:e.find((e=>e.model==t));if(i&&i.view){const t=i.view,e=(null!==(n=t.name)&&void 0!==n?n:t).match(/^h(\d+)/);if(e)return e[1]}return null}}const qo=["commandName","has","color","config","locale","registerAttributeLabel","highlight.options","plugins","_descriptionFactory","_registerLegacyDescription","model","toLowerCase","FORMAT_HIGHLIGHT","title","editor","highlight","TrackChangesEditing","find"];var Xo,$o;Xo=qo,$o=207,function(t){for(;--t;)Xo.push(Xo.shift())}(++$o);const Zo=function(t,e){return qo[t-=0]};class Yo extends t.Plugin{afterInit(){const t=this[Zo("0x5")];if(!t[Zo("0x10")][Zo("0xa")]("HighlightEditing"))return;const e=t[Zo("0x10")].get(Zo("0x7")),n=t[Zo("0xd")];e._enableDefaultAttributesIntegration(Zo("0x6"),[Zo("0x6")]),e[Zo("0x11")][Zo("0xe")](Zo("0x6"),Qr(n,Zo("0x3"))),this[Zo("0x0")]()}[Zo("0x0")](){const t=this[Zo("0x5")],e=t.locale;t[Zo("0x10")].get("TrackChangesEditing")._descriptionFactory.registerDescriptionCallback((n=>{if("formatInline"!=n.type)return;const{data:r}=n;if(r&&Zo("0x6")==r[Zo("0x9")]){const n=e.t,i=r.commandParams[0].value;if(i){const r=t[Zo("0xc")].get(Zo("0xf"))[Zo("0x8")]((t=>t[Zo("0x1")]==i)),o=n(r[Zo("0x4")])[Zo("0x2")]();return{type:"format",content:Qr(e,"*Set highlight:* %0",o),color:{value:r[Zo("0xb")],title:r.title}}}return{type:"format",content:Qr(e,"*Remove highlight*",Qr(e,Zo("0x3")))}}}))}}const Qo=["createEmptyElement","registerElementLabel","ELEMENT_HORIZONTAL_LINE","TrackChangesEditing","high","insert","ck-horizontal-line","plugins","addClass","_descriptionFactory","editor","has","HorizontalLineEditing","horizontalLine","div","elementToStructure","showSuggestionHighlights","dataDowncast","for","get","conversion","locale"];var Jo,ts;Jo=Qo,ts=130,function(t){for(;--t;)Jo.push(Jo.shift())}(++ts);const es=function(t,e){return Qo[t-=0]};class ns extends t.Plugin{afterInit(){const t=this[es("0xc")];if(!t[es("0x9")][es("0xd")](es("0xe")))return;t[es("0x9")][es("0x15")](es("0x5")).enableCommand(es("0xf"));const e=t.plugins[es("0x15")](es("0x5")),n=t[es("0x1")];e[es("0xb")][es("0x3")]("horizontalLine",(t=>Qr(n,es("0x4"),t))),t[es("0x0")][es("0x14")](es("0x13"))[es("0x11")]({model:es("0xf"),view:(t,{writer:e,options:n})=>{if(!n[es("0x12")])return null;const r=e.createContainerElement(es("0x10")),i=e[es("0x2")]("hr");return e[es("0xa")](es("0x8"),r),e[es("0x7")](e.createPositionAt(r,0),i),r},converterPriority:es("0x6")})}}const rs=["get","element","plugins","editor","formatBlock","_descriptionFactory","*Change %0 content*","rawHtml","value","key","_enableDefaultAttributesIntegration","attribute","afterInit","ELEMENT_HTML_EMBED","_registerLegacyDescription","htmlEmbed","format","TrackChangesEditing","type","has","registerDescriptionCallback","locale","HtmlEmbed"];var is,os;is=rs,os=211,function(t){for(;--t;)is.push(is.shift())}(++os);const ss=function(t,e){return rs[t-=0]};class xs extends t.Plugin{[ss("0x8")](){const t=this[ss("0x16")];if(!t[ss("0x15")][ss("0xf")](ss("0x12")))return;const e=t[ss("0x15")].get(ss("0xd")),n=t[ss("0x11")];e[ss("0x1")].registerElementLabel(ss("0x3"),(t=>Qr(n,ss("0x9"),t))),e[ss("0x6")](ss("0xb"),[],["value"]),e._descriptionFactory[ss("0x10")]((t=>{if(ss("0x7")!=t[ss("0xe")])return;const{data:e}=t;if(e&&ss("0x4")==e[ss("0x5")]&&t.getFirstRange().start.nodeAfter.is(ss("0x14"),"rawHtml")){const t=Qr(n,ss("0x9"));return{type:ss("0xc"),content:Qr(n,ss("0x2"),t)}}})),this[ss("0xa")]()}[ss("0xa")](){const t=this.editor,e=t[ss("0x11")];t[ss("0x15")][ss("0x13")](ss("0xd"))[ss("0x1")][ss("0x10")]((t=>{if(ss("0x0")!=t[ss("0xe")])return;const{data:n}=t;if(n&&ss("0xb")==n.commandName){const t=Qr(e,ss("0x9"));return{type:ss("0xc"),content:Qr(e,ss("0x2"),t)}}}))}}const as=["*Reset image width*","forward","getNearestSelectionRange","toNext","ImageTextAlternativeEditing","newValue","commandParams","discard","nodeBefore","filter","chain","start","formatInline","detach","markBlockFormat","registerCustomCallback","TrackChangesEditing","imageTypeInline","ImageCaptionUtils","_findSuggestions","_suggestionFactory","plugins","ELEMENT_CAPTION","previous","createRangeOn","ImageUtils","element","locale","isEqual","change","insertion","ImageUploadEditing","Inline image to block image","schema","get","registerDescriptionCallback","convertBlockImageToInline","markInsertion","getContainedElement","find","_descriptionFactory","imageTextAlternative","length","join","isOwn","fromPosition","end","imageStylePreApply","ELEMENT_IMAGE","ImageEditing","model","isCollapsed","isBefore","caption","imageCaption","findIndex","subType","commandName","type","toggleImageCaption","ImageInlineEditing","imageTypeBlock","selection","getSuggestionCallback","document","*Set image width:* %0","format","enableCommand","createRange","registerElementLabel","has","formatBlock","imageInline","*Remove image text alternative*","addObject","deletion","toPrevious","uploadImage","insertImage","forceDefaultExecution","nodeAfter","accept","Block image to inline image","*Set image text alternative:* %0","markDeletion","afterInit","backward","_registerLegacyDescription","width","getFirstRange","isBlockImage","editor","convertInlineImageToBlock","resizedWidth","removeObject","key","getClosestSelectedImageElement","imageBlock","isIntersecting","_enableDefaultAttributesIntegration","resizeImage"];var cs,ls;cs=as,ls=430,function(t){for(;--t;)cs.push(cs.shift())}(++ls);const us=function(t,e){return as[t-=0]};class ds extends t.Plugin{[us("0x3b")](){const t=this[us("0x41")];if(!t[us("0x60")].has(us("0x17")))return;const e=t[us("0x60")][us("0x8")](us("0x5b")),n=t.plugins[us("0x8")](us("0x64")),r=t.locale;e[us("0x29")](us("0x34")),e[us("0xe")][us("0x2b")](us("0x47"),(t=>Qr(r,us("0x16"),t))),e._descriptionFactory[us("0x2b")](us("0x2e"),(t=>Qr(r,"ELEMENT_INLINE_IMAGE",t))),e[us("0xe")][us("0x2b")]("caption",(()=>Qr(r,us("0x61")))),t[us("0x60")][us("0x2c")](us("0x5"))&&e[us("0x29")](us("0x33")),t[us("0x60")][us("0x2c")]("ImageBlockEditing")&&t[us("0x60")][us("0x2c")](us("0x22"))&&(e.enableCommand(us("0x5c"),((r,i)=>{const o=n.getClosestSelectedImageElement(t.model.document[us("0x24")]);t[us("0x18")].change((()=>{e[us("0x59")](o,{commandName:"imageTypeInline",commandParams:[i]},[],us("0xa"))}))})),e[us("0x29")](us("0x23"),((r,i)=>{t.model[us("0x3")]((o=>{let x=n[us("0x46")](t[us("0x18")].document[us("0x24")]),a=o[us("0x63")](x);const c=s.LivePosition[us("0x13")](a[us("0x56")],us("0x32")),l=s.LivePosition.fromPosition(a.end,us("0x4e"));e[us("0x35")]((()=>r(i))),x=n[us("0x46")](t[us("0x18")][us("0x26")][us("0x24")]),a=o.createRangeOn(x);const u=o[us("0x2a")](c,l);c.detach(),l[us("0x58")](),e[us("0x59")](x,{commandName:"imageTypeInline",commandParams:[i]},[],us("0x42")),u[us("0x56")][us("0x1a")](a.start)&&e.markInsertion(o[us("0x2a")](u.start,a[us("0x56")]),"convertInlineImageToBlock"),a[us("0x14")][us("0x1a")](u[us("0x14")])&&e[us("0xb")](o.createRange(a[us("0x14")],u[us("0x14")]),us("0x42"))}))})),e[us("0x5f")][us("0x5a")](us("0x2d"),us("0x42"),us("0x11"),(()=>!1)),e[us("0x5f")].registerCustomCallback(us("0x2d"),us("0x42"),us("0x37"),(()=>!1)),e[us("0x5f")].registerCustomCallback(us("0x2d"),"convertInlineImageToBlock","discard",e[us("0x5f")][us("0x25")](us("0x2d"),"",us("0x37"))),e._suggestionFactory[us("0x5a")](us("0x4"),us("0x42"),us("0x11"),(()=>!1)),e[us("0x5f")][us("0x5a")](us("0x4"),us("0x42"),"discard",(([n])=>{const r=e._suggestionFactory[us("0x25")]("insertion","",us("0x52"));let i=n.start,o=n[us("0x14")];const s=t[us("0x18")][us("0x7")][us("0x4d")](i,us("0x3c")),x=t[us("0x18")].schema[us("0x4d")](o,us("0x4c"));s.isCollapsed&&(i=s[us("0x56")]),x[us("0x19")]&&(o=x[us("0x14")]),r([t[us("0x18")].createRange(i,o)])})),e[us("0x5f")].registerCustomCallback("formatBlock",us("0x42"),us("0x55"),x),e[us("0x5f")][us("0x5a")](us("0x4"),us("0x42"),us("0x55"),x)),t.plugins[us("0x2c")]("ImageCaptionEditing")&&(e[us("0x29")](us("0x21"),((r,i)=>{const o=t[us("0x60")][us("0x8")](us("0x5d"));let s=n[us("0x46")](t.model[us("0x26")][us("0x24")]),x=o.getCaptionFromImageModelElement(s);t[us("0x18")][us("0x3")]((()=>{if(x)return void e[us("0x3a")](t.model[us("0x63")](x));const a=n[us("0x40")](s);r(i),s=n[us("0x46")](t[us("0x18")].document[us("0x24")]),x=o.getCaptionFromImageModelElement(s),e[us("0xb")](t.model[us("0x63")](x),a?null:"imageCaption")}))})),e._suggestionFactory[us("0x5a")](us("0x4"),us("0x1c"),us("0x55"),x));const i=[{type:us("0x2d"),subType:us("0x15")},{type:us("0x4"),subType:us("0x1c")},{type:us("0x2d"),subType:us("0x42")},{type:us("0x4"),subType:"convertInlineImageToBlock"}];function o(t,r){const o=i.findIndex((({type:e,subType:n})=>t[us("0x20")]==e&&t[us("0x1e")]==n)),s=i[us("0x1d")]((({type:t,subType:e})=>r.type==t&&r[us("0x1e")]==e));if(o<0||s<0)return!1;const x=t.getFirstRange(),a=r[us("0x3f")]();if((0==o||1==o)&&2==s&&x[us("0x48")](a))return!0;if(2==o&&3==s){const t=e[us("0x5e")](x,us("0x4"))[us("0x54")]((({suggestion:t,meta:e})=>e[us("0x12")]&&us("0x42")==t[us("0x1e")]));if(t[us("0x10")]>1&&a[us("0x14")][us("0x2")](x[us("0x56")]))return!0;if(1==t[us("0x10")]&&(x.start.isEqual(a[us("0x14")])||x.end[us("0x2")](a[us("0x56")])))return!0}if(3==o&&3==s&&x[us("0x56")].isBefore(a[us("0x56")])){const t=x[us("0x14")][us("0x36")],e=a.start[us("0x53")];return n.isBlockImage(t)&&t===e}return!1}function x(t,e){return o(t,e)?[t,e]:o(e,t)?[e,t]:null}t.plugins[us("0x2c")]("ImageResize")&&(e[us("0x49")]("resizeImage",[],[us("0x43")]),e._descriptionFactory.registerAttributeLabel(us("0x43"),Qr(r,"FORMAT_IMAGE_SIZE"))),t.plugins.has(us("0x4f"))&&e._enableDefaultAttributesIntegration(us("0xf"),[],["alt"]),e[us("0xe")][us("0x9")]((t=>{if(i[us("0xd")]((({type:e,subType:n})=>t.type==e&&t[us("0x1e")]==n)))return t[us("0x62")]?{}:void 0})),e[us("0xe")][us("0x9")]((t=>{if(us("0x4")==t.type||us("0x31")==t[us("0x20")]){const e=t[us("0xc")]();if(e&&e.is(us("0x0"),us("0x1b")))return{type:us("0x4")==t.type?us("0x30"):us("0x44"),element:e,quantity:1}}})),e._descriptionFactory[us("0x9")]((t=>us("0x2d")==t.type&&us("0x42")==t[us("0x1e")]?{type:us("0x28"),content:us("0x6")}:us("0x2d")==t[us("0x20")]&&us("0xa")==t[us("0x1e")]?{type:us("0x28"),content:us("0x38")}:void 0)),e[us("0xe")][us("0x9")]((t=>{if("attribute"!=t[us("0x20")])return;const{data:e}=t;if(!e||"alt"!=e[us("0x45")])return;const n=e[us("0x50")];return n?{type:"format",content:Qr(r,"*Set image text alternative:* %0",'"'+n+'"')}:{type:us("0x28"),content:Qr(r,us("0x2f"))}})),this[us("0x3d")]()}_registerLegacyDescription(){const t=this[us("0x41")],e=t[us("0x1")];t.plugins[us("0x8")](us("0x5b"))._descriptionFactory.registerDescriptionCallback((t=>{if(us("0x2d")!=t[us("0x20")]&&us("0x57")!=t[us("0x20")])return;const{data:n}=t;if(n){if(us("0xf")==n[us("0x1f")]){const t=n[us("0x51")][0].newValue;return t?{type:us("0x28"),content:Qr(e,us("0x39"),'"'+t+'"')}:{type:us("0x28"),content:Qr(e,"*Remove image text alternative*")}}if(us("0x4a")==n[us("0x1f")]){const t=n[us("0x51")][0][us("0x3e")];return t?{type:us("0x28"),content:Qr(e,us("0x27"),t)}:{type:us("0x28"),content:Qr(e,us("0x4b"))}}}}))}}const gs=["registerDescriptionCallback","key","formatBlock","formatInline","registerCustomCallback","*Replace image URL*","has","plugins","replaceImageSource","src","format","TrackChangesEditing","ImageEditing","getSuggestionCallback","accept","locale","editor","type","afterInit","attribute","_suggestionFactory","_handleLegacySuggestions","oldValue","get","_registerLegacyDescription","*Format:* replace image URL","_descriptionFactory"];var fs,hs;fs=gs,hs=289,function(t){for(;--t;)fs.push(fs.shift())}(++hs);const ms=function(t,e){return gs[t-=0]};class bs extends t.Plugin{[ms("0x1a")](){if(!this[ms("0x18")].plugins[ms("0xe")](ms("0x14")))return;const t=this.editor[ms("0x17")],e=this[ms("0x18")][ms("0xf")][ms("0x4")](ms("0x13"));e._enableDefaultAttributesIntegration("replaceImageSource",[],["src"]),e[ms("0x7")][ms("0x8")]((e=>{if(ms("0x0")!=e.type)return;const{data:n}=e;return n&&ms("0x11")==n[ms("0x9")]?n.newValue&&n[ms("0x3")]?{type:ms("0x12"),content:Qr(t,ms("0xd"))}:{type:ms("0x12"),content:""}:void 0})),this[ms("0x2")]()}_handleLegacySuggestions(){const t=this.editor.plugins[ms("0x4")](ms("0x13"));t[ms("0x1")][ms("0xc")]("formatBlock",ms("0x10"),ms("0x16"),t[ms("0x1")][ms("0x15")](ms("0xa"),null,"discard")),t[ms("0x1")][ms("0xc")](ms("0xa"),ms("0x10"),"discard",t[ms("0x1")][ms("0x15")](ms("0xa"),null,ms("0x16"))),this._registerLegacyDescription()}[ms("0x5")](){const t=this[ms("0x18")],e=t.locale;t[ms("0xf")][ms("0x4")](ms("0x13"))[ms("0x7")][ms("0x8")]((t=>{if("formatBlock"!=t[ms("0x19")]&&ms("0xb")!=t.type)return;const{data:n}=t;return n&&"replaceImageSource"==n.commandName?{type:ms("0x12"),content:Qr(e,ms("0x6"))}:void 0}))}}const ps=["plugins","createRangeOn","formatBlock","side","start","commandReversedParams","imageTypeBlock","_splitMarkerName","markInlineFormat","imageStyle","model","getContainedElement","markBlockFormat","commands","normalizedStyles","isEqual","commandParams","has","refresh","toLowerCase","change","isInContent","selection","hasSuggestion","forEach","formatInline","newRange","name","commandName","join","ImageStyleEditing","setImageNaturalSizeAttributes","imageStylePreApply","accept","convertInlineImageToBlock","isOwn","next","document","isBefore","head","imageCaption","_findSuggestions","getChangedMarkers","title","ImageUtils","getSuggestionCallback","author","subType","Users","registerCustomCallback","editor","getClosestSelectedImageElement","type","get","_suggestionFactory","_descriptionFactory","nodeBefore","getFirstRange","length","enableCommand","value","isInlineImage","FORMAT_SIDE_IMAGE","imageStylePostApply","_registerLegacyDescription","filter","discardSuggestion","TrackChangesEditing","shouldConvertImageType","insertion","getSuggestion","format","chain","end","imageTypeInline","findIndex","isBlockImage"];var Es,_s;Es=ps,_s=219,function(t){for(;--t;)Es.push(Es.shift())}(++_s);const Ts=function(t,e){return ps[t-=0]};class ys extends t.Plugin{afterInit(){const t=this.editor;if(!t[Ts("0xc")][Ts("0x1d")](Ts("0x2a")))return;const n=t.plugins[Ts("0x41")]("TrackChangesEditing"),r=t[Ts("0xc")][Ts("0x41")](Ts("0x38")),i={};n[Ts("0x47")](Ts("0x15"),((i,o)=>{const s=t[Ts("0xc")].get(Ts("0x3c")).me,x=t[Ts("0x19")][Ts("0x41")](Ts("0x15"));let a=r[Ts("0x3f")](t[Ts("0x16")].document[Ts("0x22")]),c=t[Ts("0x16")][Ts("0xd")](a),l=x[Ts("0x48")];if(l==o.value)return;const u={commandName:Ts("0x15"),commandParams:[o],formatGroupId:(0,e.uid)()};t[Ts("0x16")][Ts("0x20")]((()=>{if(n.getSuggestions()[Ts("0x0")]((t=>t[Ts("0x21")]&&s==t[Ts("0x3a")]&&(Ts("0xe")==t[Ts("0x40")]||Ts("0x25")==t.type)&&(Ts("0x2c")==t[Ts("0x3b")]||"imageStylePostApply"==t[Ts("0x3b")])&&t[Ts("0x45")]().isEqual(c)))[Ts("0x24")]((t=>n[Ts("0x1")](t[Ts("0x33")]))),a=r[Ts("0x3f")](t.model[Ts("0x31")][Ts("0x22")]),c=t.model.createRangeOn(a),x[Ts("0x1e")](),t.commands[Ts("0x41")](Ts("0x9"))[Ts("0x1e")](),t[Ts("0x19")][Ts("0x41")](Ts("0x12"))[Ts("0x1e")](),l=x[Ts("0x48")],l!=o[Ts("0x48")])return r[Ts("0x49")](a)&&x[Ts("0x3")](o[Ts("0x48")],a)?(i({...o,setImageSizes:!1}),a=r[Ts("0x3f")](t[Ts("0x16")].document.selection),void n[Ts("0x18")](a,{...u,commandReversedParams:[{value:l||null,setImageSizes:!1}]},[],"imageStylePreApply")):void(r[Ts("0xb")](a)?n[Ts("0x18")](a,u,[],Ts("0x4b")):n[Ts("0x14")](c,u,Ts("0x4b")))}))}));for(const e of t.plugins[Ts("0x41")](Ts("0x2a"))[Ts("0x1a")])i[e[Ts("0x27")]]=e[Ts("0x37")][Ts("0x1f")]();n[Ts("0x42")][Ts("0x3d")](Ts("0xe"),Ts("0x2c"),"join",(()=>!1)),n._suggestionFactory[Ts("0x3d")]("formatBlock",Ts("0x4b"),Ts("0x29"),(()=>!1)),n[Ts("0x42")][Ts("0x3d")](Ts("0x25"),Ts("0x4b"),Ts("0x29"),(()=>!1)),n._suggestionFactory[Ts("0x3d")](Ts("0xe"),"imageStylePreApply",Ts("0x2d"),(([t])=>{r[Ts("0x2b")](t[Ts("0x17")]())})),n._suggestionFactory[Ts("0x3d")]("formatBlock",Ts("0x2c"),"discard",((t,e)=>{n._suggestionFactory[Ts("0x39")](Ts("0xe"),"","accept")(t,{commandName:e[Ts("0x28")],commandParams:e[Ts("0x11")]})})),n[Ts("0x42")][Ts("0x3d")](Ts("0xe"),Ts("0x2c"),Ts("0x7"),(function(t,e){return s(t,e)?[t,e]:s(e,t)?[e,t]:null}));const o=[{type:Ts("0xe"),subType:Ts("0x2c")},{type:Ts("0x4"),subType:Ts("0x34")},{type:Ts("0xe"),subType:"convertInlineImageToBlock"},{type:Ts("0x4"),subType:"convertInlineImageToBlock"}];function s(t,e){const i=o[Ts("0xa")]((({type:e,subType:n})=>t[Ts("0x40")]==e&&t[Ts("0x3b")]==n)),s=o.findIndex((({type:t,subType:n})=>e[Ts("0x40")]==t&&e[Ts("0x3b")]==n));if(i<0||s<0)return!1;const x=t[Ts("0x45")](),a=e[Ts("0x45")]();if((0==i||1==i)&&2==s&&x.isIntersecting(a))return!0;if(2==i&&3==s){const t=n[Ts("0x35")](x,Ts("0x4"))[Ts("0x0")]((({suggestion:t,meta:e})=>e[Ts("0x2f")]&&Ts("0x2e")==t[Ts("0x3b")]));if(t[Ts("0x46")]>1&&a.end[Ts("0x1b")](x[Ts("0x10")]))return!0;if(1==t[Ts("0x46")]&&(x[Ts("0x10")][Ts("0x1b")](a[Ts("0x8")])||x.end[Ts("0x1b")](a[Ts("0x10")])))return!0}if(3==i&&3==s&&x[Ts("0x10")][Ts("0x32")](a[Ts("0x10")])){const t=x[Ts("0x8")].nodeAfter,e=a[Ts("0x10")][Ts("0x44")];return r.isBlockImage(t)&&t===e}return!1}t[Ts("0x16")][Ts("0x31")].registerPostFixer((()=>{let e=!1;const i=Array.from(t.model.document.differ[Ts("0x36")]());for(const{name:t,data:o}of i){const{group:i,type:s,subType:x,id:a}=n[Ts("0x13")](t);if("suggestion"==i&&n[Ts("0x23")](a)){if(Ts("0xe")==s&&(Ts("0x2c")==x||Ts("0x4b")==x)){const t=n[Ts("0x5")](a);if(o[Ts("0x26")]){const i=t[Ts("0x45")]()[Ts("0x17")]();if(r[Ts("0xb")](i))continue;n[Ts("0x1")](t),e=!0}}if("insertion"==s&&Ts("0x34")==x&&!o.newRange){const t=n[Ts("0x5")](a);t[Ts("0x30")]&&t[Ts("0x30")][Ts("0x21")]&&(n[Ts("0x1")](t[Ts("0x30")]),e=!0)}}}return e})),this[Ts("0x4c")](i)}[Ts("0x4c")](t){const e=this[Ts("0x3e")],n=e.locale;e[Ts("0xc")].get(Ts("0x2"))[Ts("0x43")].registerDescriptionCallback((e=>{if(Ts("0xe")!=e[Ts("0x40")]&&"formatInline"!=e.type)return;const{data:r}=e;if(!r||Ts("0x15")!=r.commandName)return;const i=r[Ts("0x1c")][0][Ts("0x48")];return o=Ts("0xf")===i?Qr(n,Ts("0x4a")):t[i]||i,{type:Ts("0x6"),content:Qr(n,"*Format:* %0",o)};var o}))}}const Cs=["bind","high","get","TrackChangesEditing","importWord","_trackChangesValueDuringImport","commands","execute","plugins","listenTo","Users","dataInsert","enableCommand","trackChanges","_handleImportedData","editor","_trackChangesExecuted","lowest","track_changes","value"];var As,ks;As=Cs,ks=275,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._trackChangesValueDuringImport=!1,this._trackChangesExecuted=!1}afterInit(){const t=this[Is("0x0")],e=t[Is("0xb")][Is("0x7")](Is("0x9")),n=t.commands[Is("0x7")](Is("0x12"));e&&(e.on(Is("0xc"),((t,[,e])=>{this._trackChangesValueDuringImport=n[Is("0x4")],e.collaboration_features[Is("0x3")]=!this[Is("0xa")]}),{priority:Is("0x6")}),this[Is("0xe")](e,Is("0x10"),this[Is("0x13")][Is("0x5")](this)),this.listenTo(e,Is("0x10"),(()=>{this[Is("0x1")]&&(n[Is("0xc")](),this[Is("0x1")]=!1)}),{priority:Is("0x2")}),t[Is("0xd")].get(Is("0x8"))[Is("0x11")](Is("0x9")))}[Is("0x13")](t,e){const{suggestions:n}=e,r=this[Is("0x0")][Is("0xb")].get(Is("0x12")),i=r[Is("0x4")];this[Is("0xa")]!==i&&(r[Is("0xc")](),this._trackChangesExecuted=!0),n&&n.forEach((({id:t,type:e,author:n,created_at:r})=>{const i={id:t,type:e,authorId:this.editor[Is("0xd")][Is("0x7")](Is("0xf")).me.id,createdAt:new Date,data:null,hasComments:!1,attributes:{"@external":{authorName:n,createdAt:r?new Date(r):new Date,source:Is("0x9")}}};this[Is("0x0")][Is("0xd")][Is("0x7")](Is("0x8"))._setSuggestionData(i)}))}}const Ss=["_enableDefaultAttributesIntegration","_descriptionFactory","blockIndent","*Outdent:* %0","editor","IndentEditing","format","TrackChangesEditing","commandName","formatBlock","IndentBlock","_registerBlockAttribute","plugins","indent","get","registerDescriptionCallback","*Indent:* %0","_registerLegacyDescription","locale","outdent","outdentBlock","indentBlock","afterInit","registerAttributeLabel","FORMAT_INDENT","enableCommand","has"];var vs,Ns;vs=Ss,Ns=132,function(t){for(;--t;)vs.push(vs.shift())}(++Ns);const Ls=function(t,e){return Ss[t-=0]};class Ms extends t.Plugin{[Ls("0x19")](){const t=this[Ls("0x7")],e=t.plugins[Ls("0x11")](Ls("0xa"));if(t[Ls("0xf")].has(Ls("0x8"))&&(e[Ls("0x1")](Ls("0x10")),e[Ls("0x1")](Ls("0x16"))),t[Ls("0xf")][Ls("0x2")](Ls("0xd")))for(const t of[Ls("0x18"),"outdentBlock"])e[Ls("0x3")](t);const n=t[Ls("0x15")];e[Ls("0xe")](Ls("0x5")),e._descriptionFactory[Ls("0x1a")](Ls("0x5"),Qr(n,Ls("0x0"))),this._registerLegacyDescription()}[Ls("0x14")](){const t=this[Ls("0x7")],e=t[Ls("0x15")],n=t[Ls("0xf")][Ls("0x11")](Ls("0xa"));n[Ls("0x4")][Ls("0x12")]((t=>{if(Ls("0xc")!=t.type)return;const{data:r}=t;if(!r)return;if(Ls("0x18")!=r[Ls("0xb")]&&"outdentBlock"!=r[Ls("0xb")])return;const i=t.getItems()[0],o=n._descriptionFactory.getItemLabel(i);return Ls("0x18")==r.commandName?{type:Ls("0x9"),content:Qr(e,Ls("0x13"),o)}:Ls("0x17")==r[Ls("0xb")]?{type:Ls("0x9"),content:Qr(e,Ls("0x6"),o)}:void 0}))}}var ws,Os,Fs=["enableCommand","TrackChangesEditing","requires","init","get"];ws=Fs,Os=120,function(t){for(;--t;)ws.push(ws.shift())}(++Os);var Ds=function(t,e){return Fs[t-=0]};class Ps extends t.Plugin{static get[Ds("0x2")](){return[qi.Input]}[Ds("0x3")](){this.editor.plugins[Ds("0x4")](Ds("0x1"))[Ds("0x0")]("input")}}const Bs=["afterInit","commandParams","*Remove link*","toLowerCase","_enableDefaultAttributesIntegration","*Set link:* %0","_descriptionFactory","attribute","commands","LinkEditing","manualDecorators","unlink","format","has","editor","label","registerDescriptionCallback","newValue","formatInline","locale","commandName","_registerLegacyDescription","link","get","linkHref","plugins","type"];var Us,js;Us=Bs,js=126,function(t){for(;--t;)Us.push(Us.shift())}(++js);const Gs=function(t,e){return Bs[t-=0]};class Vs extends t.Plugin{[Gs("0x9")](){const t=this[Gs("0x17")];if(!t[Gs("0x7")][Gs("0x16")](Gs("0x12")))return;const e=t[Gs("0x7")][Gs("0x5")]("TrackChangesEditing"),n=t[Gs("0x11")][Gs("0x5")]("link");e[Gs("0xd")](Gs("0x4"),[Gs("0x6"),...n[Gs("0x13")].map((t=>t.id))]),e[Gs("0xd")](Gs("0x14"));for(const t of n[Gs("0x13")])e[Gs("0xf")].registerAttributeLabel(t.id,"link ("+t[Gs("0x18")][Gs("0xc")]()+")");e[Gs("0xf")][Gs("0x19")]((e=>{if(Gs("0x10")!=e[Gs("0x8")])return;const{data:n}=e;if(!n||Gs("0x6")!=n.key)return;const r=n[Gs("0x1a")],i=t[Gs("0x1")];return{type:Gs("0x15"),content:null==r?Qr(i,"*Remove link*"):Qr(i,"*Set link:* %0",'"'+r+'"')}})),this[Gs("0x3")]()}_registerLegacyDescription(){const t=this[Gs("0x17")],e=t[Gs("0x1")];t[Gs("0x7")].get("TrackChangesEditing")[Gs("0xf")][Gs("0x19")]((t=>{if(Gs("0x0")!=t.type)return;const{data:n}=t;if(n){if("link"==n[Gs("0x2")]){const t=n[Gs("0xa")][0];return{type:Gs("0x15"),content:Qr(e,Gs("0xe"),'"'+t+'"')}}return Gs("0x14")==n[Gs("0x2")]?{type:Gs("0x15"),content:Qr(e,Gs("0xb"))}:void 0}}))}}const Hs=["*Change to:* %0","enableCommand","format","get","ELEMENT_LIST_ITEM","numbered","type","registerElementLabel","before","slice","plugins","filter","name","from","markBlockFormat","todoListChecked","forceValue","LegacyTodoListEditing","_selectedElements","bulleted","ELEMENT_NUMBERED_LIST","add","indentList","*Indent:* %0","_descriptionFactory","model","listIndent","commandParams","bulletedList","registerDescriptionCallback","getSelectedBlocks","previousSibling","selection","getAttribute","listType","checkChild","findIndex","value","numberedList","has","*Uncheck item*","outdentList","commandName","createPositionAt","locale","todo","TrackChangesEditing","schema","nextSibling","List","isObject","element","afterInit","commands","end","*Outdent:* %0","todoList","listItem","paragraph","*Check item*","change","checkTodoList"];var zs,Ws;zs=Hs,Ws=398,function(t){for(;--t;)zs.push(zs.shift())}(++Ws);const Ks=function(t,e){return Hs[t-=0]};class qs extends t.Plugin{[Ks("0x1a")](){const t=this.editor,e=t[Ks("0x12")];if(!t[Ks("0x2e")][Ks("0xd")]("LegacyListEditing"))return;const n=t.plugins.get(Ks("0x14")),r=t[Ks("0x2e")][Ks("0xd")](Ks("0x35"));function i(e){return()=>{const r=t[Ks("0x3d")].document[Ks("0x6")],i=t[Ks("0x1b")][Ks("0x27")](e);if(i[Ks("0xb")])return void t.execute(Ks("0x20"),{});const o=e[Ks("0x2d")](0,-4),s=function(t,e,n){let r=Array.from(t)[Ks("0x2f")]((t=>{return e=t,(r=n)[Ks("0x9")](e.parent,Ks("0x1f"))&&!r[Ks("0x18")](e);var e,r}));r=r[Ks("0x2f")]((t=>!t.is(Ks("0x19"),Ks("0x1f"))||t[Ks("0x7")](Ks("0x8"))!=e));const i=new Set;for(const t of r)t.is("element",Ks("0x1f"))?i[Ks("0x39")](Xs(t)):i[Ks("0x39")](t);return Array[Ks("0x31")](i)}(r[Ks("0x4")](),o,t[Ks("0x3d")][Ks("0x15")]);t[Ks("0x3d")][Ks("0x22")]((()=>{for(const t of s)n.markBlockFormat(t,{commandName:e,commandParams:[{forceValue:!i[Ks("0xb")]}],formatGroupId:"blockName"},$s(t))}))}}function o(e){return()=>{const r=function(t){let e=Array[Ks("0x31")](t);const n=e[Ks("0xa")]((t=>Ks("0x1f")!=t[Ks("0x30")]));return n>-1&&(e=e[Ks("0x2d")](0,n)),e}(t[Ks("0x3d")].document[Ks("0x6")][Ks("0x4")]()),i=t[Ks("0x3d")].createRange(t[Ks("0x3d")][Ks("0x11")](r[0],Ks("0x2c")),t[Ks("0x3d")][Ks("0x11")](r[r.length-1],Ks("0x1c")));t[Ks("0x3d")][Ks("0x22")]((()=>{n[Ks("0x32")](i,{commandName:e,commandParams:[],formatGroupId:Ks("0x0")},function(t){const e=new Set;for(const n of t){let t=n.nextSibling;for(;t&&t[Ks("0x7")](Ks("0x0"))>n.getAttribute(Ks("0x0"));)e[Ks("0x39")](t),t=t[Ks("0x16")]}return Array[Ks("0x31")](e)}(r))}))}}n.enableCommand("numberedList",i(Ks("0xc"))),n[Ks("0x25")](Ks("0x2"),i(Ks("0x2"))),r&&n.enableCommand(Ks("0x1e"),i(Ks("0x1e"))),n[Ks("0x25")](Ks("0x3a"),o("indentList")),n[Ks("0x25")](Ks("0xf"),o(Ks("0xf"))),r&&n[Ks("0x25")](Ks("0x23"),(()=>{const e=t[Ks("0x1b")][Ks("0x27")](Ks("0x23")),r=Array[Ks("0x31")](e[Ks("0x36")]);r[Ks("0x2f")]((t=>t[Ks("0x7")](Ks("0x33"))!=e.value)),t.model[Ks("0x22")]((()=>{for(const t of r)n[Ks("0x32")](t,{commandName:"checkTodoList",commandParams:[{forceValue:!e[Ks("0xb")]}]})}))})),n[Ks("0x3c")][Ks("0x2b")](Ks("0x1f"),(t=>Qr(e,"ELEMENT_LIST_ITEM",t))),n[Ks("0x3c")][Ks("0x3")]((t=>{if("formatBlock"!=t[Ks("0x2a")]&&"formatInline"!=t[Ks("0x2a")])return;const{data:n}=t;if(n){if(Ks("0xc")==n[Ks("0x10")]||Ks("0x2")==n[Ks("0x10")]||"todoList"==n.commandName)switch(n[Ks("0x10")].replace(Ks("0x17"),"")){case Ks("0x37"):return r(Qr(e,"ELEMENT_BULLETED_LIST"));case Ks("0x29"):return r(Qr(e,Ks("0x38")));case Ks("0x13"):return r(Qr(e,"ELEMENT_TODO_LIST"))}if(Ks("0x3a")==n[Ks("0x10")])return{type:Ks("0x26"),content:Qr(e,Ks("0x3b"),Qr(e,Ks("0x28")))};if(Ks("0xf")==n.commandName)return{type:Ks("0x26"),content:Qr(e,Ks("0x1d"),Qr(e,Ks("0x28")))};if(Ks("0x23")==n.commandName)return n[Ks("0x1")][0][Ks("0x34")]?{type:Ks("0x26"),content:Qr(e,Ks("0x21"))}:{type:Ks("0x26"),content:Qr(e,Ks("0xe"))}}function r(t){return{type:Ks("0x26"),content:Qr(e,Ks("0x24"),t)}}}))}}function Xs(t){const e=t[Ks("0x7")](Ks("0x0"));if(0==e)return t;let n=t;for(;t.previousSibling&&t.previousSibling.is(Ks("0x19"),Ks("0x1f"));){const r=t[Ks("0x5")][Ks("0x7")](Ks("0x0"));if(r==e)n=t.previousSibling;else if(r<e)break;t=t[Ks("0x5")]}return n}function $s(t){const e=[];if(t.is(Ks("0x19"),Ks("0x1f"))&&t.getAttribute("listIndent")>0){let n=t.nextSibling;for(;n&&Ks("0x1f")==n.name&&n[Ks("0x7")]("listIndent")==t.getAttribute(Ks("0x0"));)e.push(n),n=n[Ks("0x16")]}return e}const Zs=["_descriptionFactory","get","afterInit","editor","handleDescriptions","startIndex","reversed","listStart","document","getAttribute","*Format:* set start index to %0","getFirstPosition","listItem","push","format","numbered","backward","_getSuggestionBlocks","handleListReversedCommand","ELEMENT_","registerDescriptionCallback","handleListStartCommand","listReversed","element","map","handleListStyleCommand","locale","getSelectedBlocks","markMultiRangeBlockFormat","LegacyListPropertiesEditing","LegacyListUtils","getSiblingNodes","type","*Format:* set order to regular","createPositionAt","*Format:* set order to reversed","selection","commandParams","change","flat","formatBlock","TrackChangesEditing","length","commandName","_LIST_","plugins","createRange","filter","listType","model","formatInline","unshift","config","_getSuggestionBlocksForListStyle","before","forward","listStyle","toUpperCase","_getTranslationKeyForListStyle","enableCommand","bind"];var Ys,Qs;Ys=Zs,Qs=266,function(t){for(;--t;)Ys.push(Ys.shift())}(++Qs);const Js=function(t,e){return Zs[t-=0]};class tx extends t.Plugin{[Js("0x29")](){if(!this[Js("0x2a")][Js("0x17")].has(Js("0x7")))return;const t=this[Js("0x2a")][Js("0x1e")].get("list.properties"),e=this[Js("0x2a")][Js("0x17")][Js("0x28")](Js("0x13"));t.styles&&e[Js("0x25")](Js("0x22"),this[Js("0x3")][Js("0x26")](this)),t[Js("0x2d")]&&e[Js("0x25")](Js("0x0"),this[Js("0x39")][Js("0x26")](this)),t[Js("0x2c")]&&e[Js("0x25")](Js("0x2e"),this[Js("0x3c")].bind(this)),e[Js("0x27")][Js("0x3b")](this[Js("0x2b")].bind(this))}[Js("0x3")](t,e={}){const n=this.editor.plugins[Js("0x28")](Js("0x13")),r=this._getSuggestionBlocksForListStyle();this[Js("0x2a")].model.change((()=>{n[Js("0x6")](r,{commandName:Js("0x22"),commandParams:[{type:e.type}],formatGroupId:Js("0x22")})}))}[Js("0x39")](t,e={}){const n=this[Js("0x2a")].plugins[Js("0x28")](Js("0x13")),r=this[Js("0x38")]((t=>t.is(Js("0x1"),Js("0x33"))&&Js("0x36")===t[Js("0x30")](Js("0x1a"))));if(r.length<1)return;const i=r[Js("0x2")]((t=>this[Js("0x2a")].model[Js("0x18")](this[Js("0x2a")][Js("0x1b")].createPositionAt(t,Js("0x20")),this.editor[Js("0x1b")][Js("0xc")](t,0))));this[Js("0x2a")][Js("0x1b")].change((()=>{n.markMultiRangeBlockFormat(i,{commandName:Js("0x0"),commandParams:[{reversed:e[Js("0x2d")]}],formatGroupId:"listReversed"})}))}handleListStartCommand(t,e={}){const n=this.editor.plugins[Js("0x28")](Js("0x13")),r=this[Js("0x38")]((t=>t.is(Js("0x1"),Js("0x33"))&&Js("0x36")===t[Js("0x30")](Js("0x1a"))));if(r.length<1)return;const i=r.map((t=>this.editor[Js("0x1b")].createRange(this[Js("0x2a")].model[Js("0xc")](t,Js("0x20")),this[Js("0x2a")][Js("0x1b")][Js("0xc")](t,0))));this[Js("0x2a")][Js("0x1b")][Js("0x10")]((()=>{n[Js("0x6")](i,{commandName:Js("0x2e"),commandParams:[{startIndex:e[Js("0x2c")]}],formatGroupId:"listStart"})}))}[Js("0x2b")](t){if(Js("0x12")!=t[Js("0xa")]&&Js("0x1c")!=t.type)return;const e=this[Js("0x2a")][Js("0x4")],{data:n}=t;if(!n)return;let r,i;switch(n[Js("0x15")]){case"listStyle":r="*Change to:* %0",i={type:"format",content:Qr(e,r,Qr(e,this._getTranslationKeyForListStyle(n[Js("0xf")][0][Js("0xa")])))};break;case Js("0x0"):r=n[Js("0xf")][0].reversed?Js("0xd"):Js("0xb"),i={type:Js("0x35"),content:Qr(e,r)};break;case Js("0x2e"):r=Js("0x31"),i={type:"format",content:Qr(e,r,n[Js("0xf")][0][Js("0x2c")])}}return i}[Js("0x1f")](){var t,e,n,r;const i=this.editor[Js("0x17")][Js("0x28")]("LegacyListUtils");let o=Array.from(this.editor[Js("0x1b")].document[Js("0xe")][Js("0x5")]());return(null===(t=o[0])||void 0===t?void 0:t.is(Js("0x1"),"listItem"))&&o[Js("0x1d")](...i[Js("0x9")](this[Js("0x2a")][Js("0x1b")][Js("0x2f")][Js("0xe")].getFirstPosition(),Js("0x37"))),(null===(e=o[o[Js("0x14")]-1])||void 0===e?void 0:e.is(Js("0x1"),Js("0x33")))&&o[Js("0x34")](...i[Js("0x9")](this[Js("0x2a")][Js("0x1b")][Js("0x2f")][Js("0xe")].getLastPosition(),Js("0x21"))),o=[...new Set(o)],(null===(r=null===(n=this[Js("0x2a")][Js("0x1b")].document[Js("0xe")][Js("0x32")]())||void 0===n?void 0:n.parent)||void 0===r?void 0:r.is(Js("0x1"),Js("0x33")))&&(o=o.filter((t=>t.is(Js("0x1"),Js("0x33"))))),o}[Js("0x38")](t){const e=this.editor[Js("0x17")].get(Js("0x8"));let n=Array.from(this[Js("0x2a")][Js("0x1b")].document[Js("0xe")][Js("0x5")]())[Js("0x19")](t)[Js("0x2")]((t=>{const n=this[Js("0x2a")][Js("0x1b")].createPositionAt(t,0);return[...e.getSiblingNodes(n,"backward"),...e[Js("0x9")](n,"forward")]}))[Js("0x11")]();return n=[...new Set(n)],n}[Js("0x24")](t){return Js("0x3a")+this[Js("0x2a")][Js("0x17")][Js("0x28")](Js("0x8")).getListTypeFromListStyleType(t).toUpperCase()+Js("0x16")+t[Js("0x23")]().replace(/-/g,"_")}}const ex=["has","MediaEmbedEditing","plugins","mediaEmbed","get","createEmptyElement","afterInit","media","data","TrackChangesEditing","_descriptionFactory","high","ELEMENT_MEDIA","editor","showSuggestionHighlights","downcastDispatcher","locale","conversion"];var nx,rx;nx=ex,rx=474,function(t){for(;--t;)nx.push(nx.shift())}(++rx);const ix=function(t,e){return ex[t-=0]};class ox extends t.Plugin{[ix("0x0")](){const t=this[ix("0x7")];if(!t[ix("0xe")][ix("0xc")](ix("0xd")))return;const e=t[ix("0xe")][ix("0x10")](ix("0x3")),n=t[ix("0xa")];e.enableCommand(ix("0xf")),e[ix("0x4")].registerElementLabel(ix("0x1"),(t=>Qr(n,ix("0x6"),t))),t[ix("0xb")].for("dataDowncast").elementToElement({model:"media",view:(t,{writer:e,options:n})=>{if(n[ix("0x8")])return e[ix("0x11")]("div")},converterPriority:"high"}),t[ix("0x2")][ix("0x9")].on("attribute:url:media",((t,e,n)=>{n.options[ix("0x8")]&&t.stop()}),{priority:ix("0x5")})}}const sx=["get","has","MentionEditing","mention","enableCommand","editor","afterInit"];var xx,ax;xx=sx,ax=350,function(t){for(;--t;)xx.push(xx.shift())}(++ax);const cx=function(t,e){return sx[t-=0]};class lx extends t.Plugin{[cx("0x6")](){const t=this[cx("0x5")];t.plugins[cx("0x1")](cx("0x2"))&&t.plugins[cx("0x0")]("TrackChangesEditing")[cx("0x4")](cx("0x3"))}}const ux=["enableCommand","has","ELEMENT_PAGE_BREAK","afterInit","editor","pageBreak","registerElementLabel","PageBreakEditing","TrackChangesEditing","_descriptionFactory","plugins","get","locale"];var dx,gx;dx=ux,gx=114,function(t){for(;--t;)dx.push(dx.shift())}(++gx);const fx=function(t,e){return ux[t-=0]};class hx extends t.Plugin{[fx("0x6")](){const t=this[fx("0x7")];if(!t[fx("0x0")][fx("0x4")](fx("0xa")))return;t.plugins[fx("0x1")](fx("0xb"))[fx("0x3")](fx("0x8"));const e=t[fx("0x0")][fx("0x1")]("TrackChangesEditing"),n=t[fx("0x2")];e[fx("0xc")][fx("0x9")](fx("0x8"),(t=>Qr(n,fx("0x5"),t)))}}const mx=["enableCommand","TrackChangesEditing","activeMarkers","commandName","isBlock","formatBlock","registerElementLabel","addClass","end","get","insertParagraph","highest","span","insert","checkChild","_descriptionFactory","registerDescriptionCallback","showSuggestionHighlights","downcastDispatcher","markerRange","format","markerName","*Insert:* %0","data","has","toViewPosition","nodeAfter","type","bindElementToMarker","_registerLegacyDescription","mapper","*Change to:* %0","isTouching","ELEMENT_PARAGRAPH","isLimit","start","model","schema","plugins","editor","$text","_enableDefaultAttributesIntegration","getItemLabel","writer","Paragraph","afterInit","addMarker:suggestion:insertion","ck-suggestion-marker--active","paragraph","includes","editing"];var bx,px;bx=mx,px=431,function(t){for(;--t;)bx.push(bx.shift())}(++px);const Ex=function(t,e){return mx[t-=0]};class _x extends t.Plugin{[Ex("0x16")](){const t=this.editor;if(!t.plugins[Ex("0x1")](Ex("0x15")))return;const e=t.locale,n=t[Ex("0xf")].get(Ex("0x1d"));n[Ex("0x2b")][Ex("0x22")](Ex("0x19"),(t=>Qr(e,Ex("0xa"),t))),n[Ex("0x12")](Ex("0x19")),n[Ex("0x1c")](Ex("0x26")),t[Ex("0x1b")][Ex("0x2e")].on("addMarker:suggestion:insertion",Tx(t),{priority:Ex("0x27")}),t[Ex("0x0")][Ex("0x2e")].on(Ex("0x17"),((e,n,r)=>{r.options[Ex("0x2d")]&&Tx(t,{showActiveMarker:!1})(e,n,r)}),{priority:Ex("0x27")});const r=n[Ex("0x2b")];r[Ex("0x2c")]((n=>{if("insertion"!==n[Ex("0x4")])return;const{start:i,end:o}=n.getFirstRange();if(!i[Ex("0x9")](o)||!i[Ex("0x3")])return;const s=t[Ex("0xd")].schema,x=i[Ex("0x3")];return s[Ex("0x20")](x)&&!s[Ex("0xb")](x)&&s[Ex("0x2a")](x,Ex("0x11"))?{type:"insertion",content:Qr(e,Ex("0x32"),r[Ex("0x13")](x,1))}:void 0})),this[Ex("0x6")]()}[Ex("0x6")](){const t=this[Ex("0x10")],e=t.locale;t.plugins.get(Ex("0x1d"))._descriptionFactory[Ex("0x2c")]((t=>{if(Ex("0x21")!=t[Ex("0x4")])return;const{data:n}=t;return n&&"paragraph"==n[Ex("0x1f")]?{type:Ex("0x30"),content:Qr(e,Ex("0x8"),Qr(e,Ex("0xa")))}:void 0}))}}function Tx(t,{showActiveMarker:e=!0}={}){return(n,r,i)=>{const o=t.plugins[Ex("0x25")](Ex("0x1d")),s=r[Ex("0x2f")][Ex("0xc")],x=r[Ex("0x2f")][Ex("0x24")],a=t[Ex("0xd")][Ex("0xe")];if(!s[Ex("0x9")](x)||!s[Ex("0x3")])return;const c=s[Ex("0x3")];if(a[Ex("0x20")](c)&&!a[Ex("0xb")](c)&&a[Ex("0x2a")](c,Ex("0x11"))){if(!i.consumable.consume(r.markerRange,n.name))return;const t=i[Ex("0x14")].createUIElement(Ex("0x28"),{class:"ck-suggestion-marker-split"}),s=i[Ex("0x7")][Ex("0x2")](x);e&&o[Ex("0x1e")][Ex("0x1a")](r[Ex("0x31")])&&i[Ex("0x14")][Ex("0x23")](Ex("0x18"),t),i[Ex("0x14")][Ex("0x29")](s,t),i.mapper[Ex("0x5")](t,r.markerName)}}}const yx=["plugins","_enableDefaultAttributesIntegration","type","editor","formatBlock","afterInit","formatInline","get","TrackChangesEditing","locale","commandName","has","RemoveFormatEditing","_registerLegacyDescription","removeFormat","_descriptionFactory"];var Cx,Ax;Cx=yx,Ax=370,function(t){for(;--t;)Cx.push(Cx.shift())}(++Ax);const kx=function(t,e){return yx[t-=0]};class Ix extends t.Plugin{[kx("0x3")](){const t=this[kx("0x1")];t[kx("0xe")][kx("0x9")](kx("0xa"))&&(t[kx("0xe")][kx("0x5")]("TrackChangesEditing")[kx("0xf")](kx("0xc")),this[kx("0xb")]())}[kx("0xb")](){const t=this.editor;t.plugins[kx("0x5")](kx("0x6"))[kx("0xd")].registerDescriptionCallback((e=>{if(kx("0x2")!=e.type&&kx("0x4")!=e[kx("0x0")])return;const{data:n}=e;return n&&kx("0xc")==n[kx("0x8")]?{type:"format",content:Qr(t[kx("0x7")],"*Remove all formatting*")}:void 0}))}}const Rx=["afterInit","plugins","RestrictedEditingModeEditing","acceptSuggestion","discardAllSuggestions","acceptSelectedSuggestions","discardSelectedSuggestions","TrackChangesEditing","discardSuggestion","enableCommand","get","has","goToPreviousRestrictedEditingException","acceptAllSuggestions","trackChanges"];var Sx,vx;Sx=Rx,vx=247,function(t){for(;--t;)Sx.push(Sx.shift())}(++vx);const Nx=function(t,e){return Rx[t-=0]};class Lx extends t.Plugin{[Nx("0x8")](){const t=this.editor;if(!t[Nx("0x9")][Nx("0x4")](Nx("0xa")))return;const e=t[Nx("0x9")][Nx("0x3")](Nx("0x0"));e.enableCommand(Nx("0x5")),e[Nx("0x2")]("goToNextRestrictedEditingException");const n=t[Nx("0x9")][Nx("0x3")](Nx("0xa"));n[Nx("0x2")](Nx("0x7")),n[Nx("0x2")](Nx("0xb")),n[Nx("0x2")](Nx("0x1")),n[Nx("0x2")](Nx("0x6")),n[Nx("0x2")](Nx("0xc")),n[Nx("0x2")](Nx("0xd")),n[Nx("0x2")](Nx("0xe"))}}const Mx=["includes","addClass","registerElementLabel","addMarker:suggestion","writer","ck-suggestion-marker-","model","element","showSuggestionHighlights","softBreak","TrackChangesEditing","requires","editing","downcastDispatcher","markerRange","addMarker:suggestion:deletion","ELEMENT_LINE_BREAK","createUIElement","merge","name","consumable","high","test","init","plugins","span","activeMarkers","get","editor","insert","addMarker:suggestion:insertion","data","markerName","options","bindElementToMarker","shiftEnter","split","deletion"];var wx,Ox;wx=Mx,Ox=234,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("0x5")](){return[Eo.ShiftEnter]}[Fx("0x11")](){const t=this[Fx("0x16")],e=t.plugins[Fx("0x15")]("TrackChangesEditing");e.enableCommand(Fx("0x1d")),t[Fx("0x6")][Fx("0x7")].on(Fx("0x18"),Px(t),{priority:"high"}),t[Fx("0x6")][Fx("0x7")].on(Fx("0x9"),Px(t),{priority:Fx("0xf")}),t[Fx("0x19")][Fx("0x7")].on(Fx("0x23"),((e,n,r)=>{r[Fx("0x1b")][Fx("0x2")]&&Px(t,{showActiveMarker:!1})(e,n,r)})),e._descriptionFactory[Fx("0x22")](Fx("0x3"),(e=>Qr(t.locale,Fx("0xa"),e)))}}function Px(t,{showActiveMarker:e=!0}={}){return(n,r,i)=>{const o=t[Fx("0x12")].get(Fx("0x4"));if(!i[Fx("0xe")][Fx("0x10")](r[Fx("0x8")],n[Fx("0xd")]))return;const s=t[Fx("0x0")];for(const t of r.markerRange.getItems()){if(!t.is(Fx("0x1"),"softBreak"))continue;const n=Fx("0x1f")==r[Fx("0x1a")][Fx("0x1e")](":")[1]?Fx("0xc"):"split",x=i[Fx("0x24")][Fx("0xb")](Fx("0x13"),{class:Fx("0x25")+n}),a=i.mapper.toViewPosition(s.createPositionBefore(t));e&&o[Fx("0x14")][Fx("0x20")](r[Fx("0x1a")])&&i.writer[Fx("0x21")]("ck-suggestion-marker--active",x),i[Fx("0x24")][Fx("0x17")](a,x),i.mapper[Fx("0x1c")](x,r[Fx("0x1a")])}}}const Bx=["get","model","FORMAT_RESTRICTED_DISABLED","has","TrackChangesEditing","change","isCollapsed","commandName","selection","from","commands","plugins","enableCommand","forceValue","StandardEditingModeEditing","afterInit","value","formatInline","registerDescriptionCallback","formatBlock","editor","commandParams","document"];var Ux,jx;Ux=Bx,jx=242,function(t){for(;--t;)Ux.push(Ux.shift())}(++jx);const Gx=function(t,e){return Bx[t-=0]};class Vx extends t.Plugin{[Gx("0x3")](){const t=this[Gx("0x8")],e=t[Gx("0xc")],n=t.locale;if(!t[Gx("0x16")][Gx("0xe")](Gx("0x2")))return;const r=t[Gx("0x16")][Gx("0xb")](Gx("0xf")),i="restrictedEditingException",o=t[Gx("0x15")][Gx("0xb")](i);r[Gx("0x0")](i,((t,n={})=>{const s=e[Gx("0xa")][Gx("0x13")];if(s[Gx("0x11")])return void t(n);const x=void 0!==n[Gx("0x1")]?n[Gx("0x1")]:!o[Gx("0x4")];e[Gx("0x10")]((()=>{const t=Array[Gx("0x14")](s.getRanges());for(const n of t){const t=x?[n]:Qi(i,n,e);for(const e of t)r.markInlineFormat(e,{commandName:i,commandParams:[{forceValue:x}]})}}))})),r._descriptionFactory[Gx("0x6")]((t=>{if(Gx("0x7")!=t.type&&Gx("0x5")!=t.type)return;const{data:e}=t;return e&&e[Gx("0x12")]==i?e[Gx("0x9")][0][Gx("0x1")]?{type:"format",content:Qr(n,"FORMAT_RESTRICTED_ENABLED")}:{type:"format",content:Qr(n,Gx("0xd"))}:void 0}))}}const Hx=["editor","DataSchema","locale","config","forceValue","TrackChangesEditing","inline","GeneralHtmlSupport","_descriptionFactory","format","has","FORMAT_STYLE","ghsAttributes","style","registerDescriptionCallback","styleName","_registerBlockAttribute","commandParams","normalizeConfig","definitions","getGhsAttributeNameForElement","_registerLegacyDescription","registerAttributeLabel","type","plugins","*Set format:* %0","Style","get","toLowerCase","afterInit","add","_registerInlineAttribute","block","formatInline","*Remove format:* %0"];var zx,Wx;zx=Hx,Wx=116,function(t){for(;--t;)zx.push(zx.shift())}(++Wx);const Kx=function(t,e){return Hx[t-=0]};class qx extends t.Plugin{[Kx("0x12")](){const t=this[Kx("0x18")];if(!t[Kx("0xd")][Kx("0x22")](Kx("0xf"))||!t[Kx("0xd")].has(Kx("0x19")))return;const e=t[Kx("0xd")][Kx("0x10")]("TrackChangesEditing"),n=t.locale,r=t[Kx("0x1b")][Kx("0x10")](Kx("0x2"))||{},i=t.plugins[Kx("0x10")](Kx("0x1f")),o=t[Kx("0xd")][Kx("0x10")]("StyleUtils")[Kx("0x7")](t[Kx("0xd")].get(Kx("0x19")),r[Kx("0x8")]);e._enableDefaultAttributesIntegration(Kx("0x2"));const s=new Set;for(const t of o[Kx("0x15")]){const e=i[Kx("0x9")](t.element);s[Kx("0x13")](e)}const x=new Set;for(const t of o[Kx("0x1e")]){const e=i[Kx("0x9")](t.element);x[Kx("0x13")](e);for(const e of t[Kx("0x1")])x[Kx("0x13")](e)}for(const t of s)e[Kx("0x5")](t),e[Kx("0x20")][Kx("0xb")](t,Qr(n,"FORMAT_STYLE"));for(const t of x)e[Kx("0x14")](t),e[Kx("0x20")][Kx("0xb")](t,Qr(n,Kx("0x0")));this[Kx("0xa")]()}[Kx("0xa")](){const t=this[Kx("0x18")],e=t[Kx("0x1a")];t[Kx("0xd")].get(Kx("0x1d"))[Kx("0x20")][Kx("0x3")]((t=>{if("formatBlock"!=t.type&&Kx("0x16")!=t[Kx("0xc")])return;const{data:n}=t;return n&&Kx("0x2")===n.commandName?n[Kx("0x6")][0][Kx("0x1c")]?{type:Kx("0x21"),content:Qr(e,Kx("0xe"),n[Kx("0x6")][0][Kx("0x4")][Kx("0x11")]())}:{type:"format",content:Qr(e,Kx("0x17"),n[Kx("0x6")][0][Kx("0x4")][Kx("0x11")]())}:void 0}))}}const Xx=["insertTable","tablePaste","getColumnIndexes","ELEMENT_TABLE_ROW_WITH_TEXT","getCellLocation","getContainedElement","insertTableRowBelow","ELEMENT_TABLE_WITH_TEXT","first","detach","getRanges","createRangeOn","highest","registerPostFixer","getRowIndexes","start","getSelectionAffectedTableCells","getChangedMarkers","minColumn","insertion","commands","subType","end","substr","batch","from","isInContent","ELEMENT_TABLE_ROW","markMultiRangeDeletion","_getCoordsForCells","model","startsWith","differ","change","setSelection","document","nodeAfter","getChildren","change:data","isArray","min","has","MAX_SAFE_INTEGER","some","mapper","ELEMENT_TABLE_COLUMN_WITH_TEXT","execute","isTouching","maxColumn","getAttribute","_descriptionFactory","toViewElement","discard","length","root","max","plugins","isIntersectingWithRange","*Insert:* %0","map","markMultiRangeInsertion","nodeBefore","downcastDispatcher","showSuggestionHighlights","registerElementLabel","$graveyard","registerDescriptionCallback","registerCustomCallback","tableColumn","position","toLowerCase","rootName","createRangeIn","data","afterInit","findAncestor","tableRow","removeClass","cell","last","TableUtils","push","type","removeTableColumn","fromRange","createTableWalker","tableCell","getFirstRange","*Remove:* %0","every","hasAttribute","add","enqueueChange","TrackChangesEditing","MIN_SAFE_INTEGER","maxRow","_tablePostFixingSubtypes","TableEditing","insert","$textProxy","_getSuggestionCoords","selection","getItems","_tableSuggestions","ELEMENT_TABLE_COLUMN","order","get","values","_setupColumnsRowsFixing","editor","selectTableRow","_suggestionFactory","table","_acceptFormatSuggestionCallbackFactory","isEqual","filter","span","refresh","locale","colspan","deletion","getChanges","join","enableCommand","addRange","name","removeTableRow","item"];var $x,Zx;$x=Xx,Zx=333,function(t){for(;--t;)$x.push($x.shift())}(++Zx);const Yx=function(t,e){return Xx[t-=0]};class Qx extends t.Plugin{constructor(t){super(t),this[Yx("0x13")]=[Yx("0x7f"),Yx("0x77")],this[Yx("0x1a")]=new Set}[Yx("0x7d")](){const t=this.editor,e=t[Yx("0x51")][Yx("0x56")][Yx("0x18")];if(!t[Yx("0x6b")][Yx("0x5c")](Yx("0x14")))return;const n=t[Yx("0x29")],r=t.plugins[Yx("0x1d")](Yx("0x10")),i=t[Yx("0x6b")][Yx("0x1d")](Yx("0x3"));r[Yx("0x65")][Yx("0x73")](Yx("0x23"),(t=>Qr(n,"ELEMENT_TABLE",t))),this[Yx("0x1f")](),r[Yx("0x2e")](Yx("0x33")),r[Yx("0x2e")](Yx("0x21")),r[Yx("0x2e")]("selectTableColumn");for(const n of["insertTableRowAbove",Yx("0x39")]){const o=t.commands[Yx("0x1d")](n);r.enableCommand(n,(n=>{t[Yx("0x51")][Yx("0x54")]((t=>{n();const s="above"===o.order,x=i.getSelectionAffectedTableCells(e),a=i.getRowIndexes(x),c=s?a.first-1:a[Yx("0x2")]+1,l=x[0][Yx("0x7e")](Yx("0x23")),u=i[Yx("0x8")](l,{startRow:c,endRow:c}),d=Array[Yx("0x4c")](u)[Yx("0x6e")]((e=>t.createRangeOn(e[Yx("0x1")])));r.markMultiRangeInsertion(d,"tableRow")}))}))}for(const n of["insertTableColumnLeft","insertTableColumnRight"]){const o=t[Yx("0x47")][Yx("0x1d")](n);r[Yx("0x2e")](n,(n=>{t.model[Yx("0x54")]((t=>{n();const s="left"===o[Yx("0x1c")],x=i.getSelectionAffectedTableCells(e),a=i[Yx("0x35")](x),c=s?a[Yx("0x3b")]-1:a[Yx("0x2")]+1,l=x[0].findAncestor(Yx("0x23")),u=i[Yx("0x8")](l,{startRow:0,column:c,includeAllSlots:!1}),d=Array[Yx("0x4c")](u).map((e=>t[Yx("0x3e")](e[Yx("0x1")])));r[Yx("0x6f")](d,Yx("0x77"))}))}))}for(const n of[Yx("0x31"),Yx("0x6")]){const o=n[Yx("0x4a")](11),s=o[Yx("0x79")](),x=s[Yx("0x4a")](0,3)+Yx("0x27"),a=Yx("0x23")+o,c=Yx("0x5b")+o,l=Yx("0x6a")+o;r.enableCommand(n,(()=>{t.model[Yx("0x54")]((t=>{const o=i[Yx("0x43")](e),u=o[0][Yx("0x7e")](Yx("0x23"));let d;if("removeTableRow"==n){const t=i[Yx("0x41")](o);d={startRow:t[Yx("0x3b")],endRow:t[Yx("0x2")],includeAllSlots:!0}}else{const t=i[Yx("0x35")](o);d={startColumn:t[Yx("0x3b")],endColumn:t[Yx("0x2")],includeAllSlots:!0}}const g=i[Yx("0x8")](u,d),f=Array[Yx("0x4c")](g).map((({cell:t})=>t)),h=Jx(f[Yx("0x26")]((t=>t[Yx("0xd")](x)))),m=Jx(f[Yx("0x26")]((t=>!t[Yx("0xd")](x))))[Yx("0x6e")]((e=>t[Yx("0x3e")](e))),b=r[Yx("0x4f")](m,a);if(b&&("tableRow"==b[Yx("0x48")]||"tableColumn"==b[Yx("0x48")])){const e=this[Yx("0x17")](b);for(const n of h){const r=t[Yx("0x3e")](n),o=i[Yx("0x37")](n),a=n[Yx("0x64")](x)-1,u=e[c],d=e[l];u<=o[s]&&o[s]+a<=d&&b.addRange(r)}}}))}))}function o(n){const r=Array[Yx("0x4c")](e.getRanges()).map((t=>s.LiveRange[Yx("0x7")](t)));t.model.change((e=>{const i=e[Yx("0x4b")];n=n[Yx("0x26")]((t=>Yx("0x74")!=t[Yx("0x69")][Yx("0x7a")])),e.setSelection(n),t[Yx("0x47")][Yx("0x1d")](Yx("0x31"))[Yx("0x28")](),t[Yx("0x61")](Yx("0x31"),{forceDefaultExecution:!0}),t[Yx("0x51")][Yx("0xf")]((()=>{t.model.enqueueChange(i,(t=>{const e=r[Yx("0x26")]((t=>Yx("0x74")!=t[Yx("0x69")][Yx("0x7a")]));e.length>0&&t[Yx("0x55")](e);for(const t of r)t.detach()}))}))}))}function a(n){t[Yx("0x51")][Yx("0x54")]((r=>{const i=Array[Yx("0x4c")](e[Yx("0x3d")]())[Yx("0x6e")]((t=>s.LiveRange[Yx("0x7")](t))),o=[];for(const t of n)for(const e of t[Yx("0x19")]({shallow:!0}))o.push(e);for(const e of o)Yx("0x74")!=e[Yx("0x69")][Yx("0x7a")]&&(r.setSelection(r.createPositionAt(e,0)),t[Yx("0x47")][Yx("0x1d")]("removeTableColumn").refresh(),t[Yx("0x61")](Yx("0x6"),{forceDefaultExecution:!0}));const x=i.filter((t=>Yx("0x74")!=t[Yx("0x69")].rootName));x[Yx("0x68")]>0&&r[Yx("0x55")](x);for(const t of i)t[Yx("0x3c")]()}))}function c(t,e){return e[Yx("0xc")]((e=>t[Yx("0x5e")]((t=>t[Yx("0x49")][Yx("0x25")](e[Yx("0x42")])||e[Yx("0x49")].isEqual(t[Yx("0x42")])))))}function l(t,e){return t[Yx("0x5e")]((t=>e[Yx("0x5e")]((e=>t[Yx("0x49")][Yx("0x62")](e.start)))))}t[Yx("0x7c")][Yx("0x71")].on("addMarker:suggestion",((t,e,n)=>{if(!n.options[Yx("0x72")])return;const r=e[Yx("0x32")];if(!r)return;const i=n[Yx("0x5f")][Yx("0x66")](r);function o(t){return Array[Yx("0x5a")](t)?t:[t]}i&&Yx("0x9")===r[Yx("0x30")]&&(0,x.setHighlightHandling)(i,n.writer,((t,e,n)=>n.addClass(o(e.classes),t)),((t,e,n)=>n[Yx("0x0")](o(e.classes),t)))}),{priority:Yx("0x3f")}),r._descriptionFactory[Yx("0x75")]((t=>{if("insertion"!=t[Yx("0x5")]&&Yx("0x2b")!=t[Yx("0x5")])return;const e=t[Yx("0x38")]();if(null!=e&&e.is("element",Yx("0x23"))){if(Yx("0x46")==t[Yx("0x5")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16"))))[Yx("0x6e")]((t=>t[Yx("0x7c")]));if(e[Yx("0x68")])return{type:Yx("0x46"),content:Qr(n,"*Insert:* %0",Qr(n,Yx("0x3a"),'"'+e.join(" ")+'"'))}}if(Yx("0x2b")==t[Yx("0x5")]){const e=t[Yx("0x19")]().filter((t=>t.is(Yx("0x16")))).map((t=>t.data));if(e[Yx("0x68")])return{type:Yx("0x2b"),content:Qr(n,"*Remove:* %0",Qr(n,Yx("0x3a"),'"'+e[Yx("0x2d")](" ")+'"'))}}}})),r[Yx("0x65")][Yx("0x75")]((t=>{if(Yx("0x7f")==t[Yx("0x48")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16")))).map((t=>t[Yx("0x7c")])),r=this[Yx("0x17")](t),i=r[Yx("0x12")]-r.minRow+1;if(Yx("0x46")==t[Yx("0x5")])return e[Yx("0x68")]?{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x36"),[i,'"'+e.join(" ")+'"']))}:{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x4e"),i))};if(Yx("0x2b")==t[Yx("0x5")])return e[Yx("0x68")]?{type:"deletion",content:Qr(n,Yx("0xb"),Qr(n,Yx("0x36"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:Yx("0x2b"),content:Qr(n,Yx("0xb"),Qr(n,"ELEMENT_TABLE_ROW",i))}}if(Yx("0x77")==t[Yx("0x48")]){const e=t[Yx("0x19")]()[Yx("0x26")]((t=>t.is(Yx("0x16"))))[Yx("0x6e")]((t=>t[Yx("0x7c")])),r=this[Yx("0x17")](t),i=r[Yx("0x63")]-r[Yx("0x45")]+1;if(Yx("0x46")==t[Yx("0x5")])return e.length?{type:Yx("0x46"),content:Qr(n,Yx("0x6d"),Qr(n,Yx("0x60"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:Yx("0x46"),content:Qr(n,"*Insert:* %0",Qr(n,"ELEMENT_TABLE_COLUMN",i))};if("deletion"==t[Yx("0x5")])return e[Yx("0x68")]?{type:Yx("0x2b"),content:Qr(n,Yx("0xb"),Qr(n,Yx("0x60"),[i,'"'+e[Yx("0x2d")](" ")+'"']))}:{type:"deletion",content:Qr(n,"*Remove:* %0",Qr(n,Yx("0x1b"),i))}}})),r._suggestionFactory[Yx("0x76")](Yx("0x46"),Yx("0x7f"),Yx("0x67"),o),r[Yx("0x22")].registerCustomCallback(Yx("0x2b"),Yx("0x7f"),"accept",o),r[Yx("0x22")][Yx("0x76")](Yx("0x46"),Yx("0x77"),Yx("0x67"),a),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),Yx("0x77"),"accept",a),r[Yx("0x22")][Yx("0x76")](Yx("0x46"),Yx("0x77"),Yx("0x2d"),c),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),Yx("0x77"),"join",c),r._suggestionFactory.registerCustomCallback("insertion",Yx("0x7f"),Yx("0x2d"),l),r[Yx("0x22")][Yx("0x76")](Yx("0x2b"),"tableRow","join",l)}[Yx("0x24")](){const t=this[Yx("0x20")],e=t[Yx("0x51")].document[Yx("0x18")];return(n,r)=>{t.model[Yx("0x54")]((i=>{const{commandName:o,commandParams:x}=r;let a=n[0][Yx("0x49")][Yx("0x70")];x&&x[0]&&!1===x[0].forceValue&&(a=n[0][Yx("0x42")][Yx("0x57")]);const c=i[Yx("0x7b")](a);if(Yx("0x74")==c.root[Yx("0x7a")])return;const l=Array[Yx("0x4c")](e[Yx("0x3d")]())[Yx("0x6e")]((t=>s.LiveRange[Yx("0x7")](t)));i[Yx("0x55")](c),t.commands[Yx("0x1d")](o).refresh(),x[Yx("0x4")]({forceDefaultExecution:!0}),t[Yx("0x61")](o,...x);const u=l[Yx("0x26")]((t=>Yx("0x74")!=t.root.rootName));u.length>0&&i[Yx("0x55")](u);for(const t of l)t[Yx("0x3c")]()}))}}[Yx("0x50")](t){const e=this[Yx("0x20")][Yx("0x6b")].get("TableUtils");let n=Number[Yx("0x5d")],r=Number[Yx("0x11")],i=Number[Yx("0x5d")],o=Number[Yx("0x11")];for(const s of t){if(Yx("0x74")==s[Yx("0x69")][Yx("0x7a")])continue;const{row:t,column:x}=e[Yx("0x37")](s),a=s[Yx("0xd")]("rowspan")?s[Yx("0x64")]("rowspan")-1:0,c=s[Yx("0xd")](Yx("0x2a"))?s.getAttribute("colspan")-1:0;n=t<n?t:n,r=t+a>r?t+a:r,i=x<i?x:i,o=x+c>o?x+c:o}return{minRow:n,maxRow:r,minColumn:i,maxColumn:o}}_setupColumnsRowsFixing(){const t=this[Yx("0x20")],e=t.plugins[Yx("0x1d")](Yx("0x10")),n=t[Yx("0x6b")].get("TableUtils");t[Yx("0x51")][Yx("0x56")].on(Yx("0x59"),(()=>{const n=Array[Yx("0x4c")](t.model[Yx("0x56")][Yx("0x53")][Yx("0x44")]());for(const{name:t,data:r}of n){const{group:n,id:i,subType:o}=e._splitMarkerName(t);if("suggestion"!=n)continue;if(null!=r.oldRange)continue;const s=e.getSuggestion(i);this._tablePostFixingSubtypes.includes(o)&&this._tableSuggestions[Yx("0xe")](s)}}),{priority:"low"});const r=(t,e)=>{let r=!1;const i=e[Yx("0x3e")](t),o=t.findAncestor("table"),s=n[Yx("0x37")](t);for(const e of this[Yx("0x1a")]){const n=e[Yx("0x48")],x=n[Yx("0x52")](Yx("0x34")),a=n[Yx("0x4a")](x?10:5),c=a[Yx("0x79")](),l=c[Yx("0x4a")](0,3)+Yx("0x27"),u=Yx("0x5b")+a,d=Yx("0x6a")+a;if(!e[Yx("0x4d")])continue;if(o!=e[Yx("0xa")]()[Yx("0x42")][Yx("0x7e")](Yx("0x23")))continue;if(e[Yx("0x6c")](i))continue;const g=t[Yx("0xd")](l)?t[Yx("0x64")](l)-1:0,f=this[Yx("0x17")](e),h=f[u],m=f[d];h<=s[c]&&s[c]+g<=m&&(e[Yx("0x2f")](i),r=!0)}return r};t[Yx("0x51")][Yx("0x56")][Yx("0x40")]((e=>{let n=!1;for(const i of t[Yx("0x51")][Yx("0x56")][Yx("0x53")][Yx("0x2c")]())if(Yx("0x15")==i[Yx("0x5")])if(Yx("0x7f")==i[Yx("0x30")])for(const t of i.position[Yx("0x57")][Yx("0x58")]())n=n||r(t,e);else Yx("0x9")==i[Yx("0x30")]&&(n=n||r(i[Yx("0x78")][Yx("0x57")],e));return n}))}[Yx("0x17")](t){return this._getCoordsForCells(t[Yx("0x3d")]()[Yx("0x6e")]((t=>t.start[Yx("0x57")])))}}function Jx(t){return Array[Yx("0x4c")](new Set(t)[Yx("0x1e")]())}const ta=["low","_tablePostFixingSubtypes","add","findAncestor","table","afterInit","execute","formatBlock","getSuggestions","value","mergeTableCellRight","mergeTableCellLeft","_acceptFormatSuggestionCallbackFactory","has","forceDefaultExecution","formatInline","registerDescriptionCallback","root","getSelectionAffectedTableCells","get","stop","_descriptionFactory","mergeTableCellDown","type","trackChanges","accept","getFirstPosition","from","editor","plugins","direction","horizontally","*Split cell:* vertically","map","mergeTableCellUp","rootName","format","subType","_areMergableCells","model","length","TableEditing","highest","commandName","refresh","_suggestionFactory","set:isEnabled","createTableWalker","registerCustomCallback","commands","containsRange","return","getRanges","splitTableCellVertically","cell","$graveyard","detach","fromRange","requires","author","getCellLocation","locale","isInContent","getAncestors","_areSelectedCellsMergable","tableCell","markMultiRangeBlockFormat","splitTableCellHorizontally","mergeTableCells","TableUtils","size","change","push","find","selection","document","*Merge cells*","createRangeOn","insertion","enableCommand","isEnabled","filter"];var ea,na;ea=ta,na=284,function(t){for(;--t;)ea.push(ea.shift())}(++na);const ra=function(t,e){return ta[t-=0]};class ia extends t.Plugin{static get[ra("0x14")](){return[Qx]}[ra("0x31")](){const t=this.editor,e=t.model[ra("0x25")][ra("0x24")],n=t[ra("0x17")];if(!t[ra("0x49")][ra("0x39")](ra("0x3")))return;const r=t[ra("0x49")][ra("0x3f")]("TrackChangesEditing"),i=t[ra("0x49")][ra("0x3f")](ra("0x1f")),o=t[ra("0x49")][ra("0x3f")](Qx);o[ra("0x2d")][ra("0x22")](ra("0x1e")),r[ra("0x29")](ra("0x1e"),(()=>{const e=i[ra("0x3e")](t.model[ra("0x25")][ra("0x24")]);t[ra("0x1")][ra("0x21")]((()=>{r[ra("0x1c")](e,{commandName:ra("0x1e"),commandParams:[]},[],ra("0x1e"))}))})),t.commands[ra("0x3f")]("mergeTableCells").on(ra("0x32"),((e,n)=>{t[ra("0xb")].get(ra("0x44"))[ra("0x35")]&&(n[ra("0x2")]>0&&n[n[ra("0x2")]-1]&&n[n[ra("0x2")]-1][ra("0x3a")]||r._isForcedDefaultExecutionBlock||this[ra("0x1a")]()||e[ra("0x40")]())}),{priority:ra("0x4")});for(const e of[ra("0x4e"),ra("0x36"),ra("0x42"),ra("0x37")]){const n=t[ra("0xb")][ra("0x3f")](e);r[ra("0x29")](e,(()=>{const e=t[ra("0x1")][ra("0x25")].selection[ra("0x46")]()[ra("0x19")]().find((t=>t.is("element",ra("0x1b")))),i=n.value;t[ra("0x1")][ra("0x21")]((()=>{r[ra("0x1c")]([e,i],{commandName:ra("0x1e"),commandParams:[]},[],"mergeTableCells")}))}))}for(const e of["splitTableCellVertically",ra("0x1d")]){const n=t[ra("0xb")].get(e);r[ra("0x29")](e,(()=>{const o=i[ra("0x3e")](t[ra("0x1")][ra("0x25")][ra("0x24")])[0],s=o[ra("0x2f")](ra("0x30")),{column:x,row:a}=i[ra("0x16")](o);let c=[];if(ra("0x4b")==n[ra("0x4a")]){const t=i.createTableWalker(s,{startRow:a,endRow:a,includeAllSlots:!0});c=Array[ra("0x47")](t)[ra("0x4d")]((t=>t[ra("0x10")]))}else{const t=i[ra("0x9")](s,{column:x,includeAllSlots:!0});c=Array.from(t).map((t=>t.cell))}t.model.change((t=>{r.markBlockFormat(t[ra("0x27")](o),{commandName:e,commandParams:[]},c,e)}))}))}r[ra("0x41")][ra("0x3c")]((t=>{if(ra("0x33")!=t[ra("0x43")]&&ra("0x3b")!=t[ra("0x43")])return;const{data:e}=t;return e&&"mergeTableCells"==e.commandName?{type:ra("0x50"),content:Qr(n,ra("0x26"))}:void 0})),r._descriptionFactory[ra("0x3c")]((t=>{if("formatBlock"!=t[ra("0x43")]&&"formatInline"!=t[ra("0x43")])return;const{data:e}=t;return e?ra("0xf")==e[ra("0x5")]?{type:ra("0x50"),content:Qr(n,ra("0x4c"))}:ra("0x1d")==e.commandName?{type:"format",content:Qr(n,"*Split cell:* horizontally")}:void 0:void 0}));const x=o[ra("0x38")]();for(const t of["mergeTableCellUp",ra("0x36"),ra("0x42"),ra("0x37")])r[ra("0x7")][ra("0xa")](ra("0x33"),t,"accept",x);for(const t of[ra("0xf"),ra("0x1d")])r._suggestionFactory[ra("0xa")](ra("0x33"),t,ra("0x45"),x);r[ra("0x7")][ra("0xa")](ra("0x33"),ra("0x1e"),ra("0x45"),(n=>{t[ra("0x1")][ra("0x21")]((r=>{const i=Array.from(e[ra("0xe")]())[ra("0x4d")]((t=>s.LiveRange[ra("0x13")](t)));r.setSelection(n),t[ra("0xb")][ra("0x3f")](ra("0x1e"))[ra("0x6")](),t[ra("0x32")](ra("0x1e"),{forceDefaultExecution:!0});const o=i[ra("0x2b")]((t=>ra("0x11")!=t[ra("0x3d")][ra("0x4f")]));o[ra("0x2")]>0&&r.setSelection(o);for(const t of i)t[ra("0x12")]()}))}));for(const e of[ra("0x4e"),ra("0x42"),"mergeTableCellLeft",ra("0x36")]){const n=t[ra("0xb")][ra("0x3f")](e);n.on(ra("0x8"),((e,r,i)=>{if(i){const r=t[ra("0x1")][ra("0x25")].selection.getFirstPosition()[ra("0x19")]()[ra("0x23")]((t=>t.is("element",ra("0x1b"))));this._areMergableCells(n[ra("0x35")],r)||(e[ra("0xd")]=!1,e[ra("0x40")]())}}),{priority:ra("0x2c")})}}[ra("0x1a")](){const t=this[ra("0x48")][ra("0xb")].get(ra("0x1e")),e=this.editor[ra("0x49")][ra("0x3f")](ra("0x1f"));if(!t[ra("0x2a")])return!1;const n=e[ra("0x3e")](this[ra("0x48")][ra("0x1")].document.selection);for(const t of n)for(const e of n)if(t!=e&&!this[ra("0x0")](t,e))return!1;return!0}[ra("0x0")](t,e){const n=this[ra("0x48")].plugins.get("TrackChangesEditing"),r=this[ra("0x48")].model[ra("0x27")](t),i=this[ra("0x48")][ra("0x1")].createRangeOn(e),o=new Set,s=new Set;for(const t of n[ra("0x34")]())if((ra("0x28")==t[ra("0x43")]||"deletion"==t.type||ra("0x1e")==t[ra("0x51")])&&t[ra("0x18")])for(const e of t[ra("0xe")]())e[ra("0xc")](r,!0)&&o[ra("0x2e")](t.type+":"+t[ra("0x15")].id),e[ra("0xc")](i,!0)&&s[ra("0x2e")](t[ra("0x43")]+":"+t[ra("0x15")].id);if(o[ra("0x20")]!=s[ra("0x20")])return!1;for(const t of o)if(!s[ra("0x39")](t))return!1;return!0}}const oa=["showSuggestionHighlights","editing","setTableRowHeader","highest","data","bindElementToMarker","activeMarkers","commandName","markerNameToElements","TableUtils","TrackChangesEditing","_suggestionFactory","nodeBefore","forceValue","headingRows","_splitMarkerName","formatBlock","markerRange","ck-suggestion-marker-","accept","_registerLegacyDescription","_acceptFormatSuggestionCallbackFactory","FORMAT_REGULAR_COLUMN","commandParams","data-suggestion","FORMAT_REGULAR_ROW","addMarker:suggestion","markerName","createTableWalker","setTableColumnHeader","consume","get","parent","_enableDefaultAttributesIntegration","removeMarker:suggestion","removeClass","has","addClass","FORMAT_HEADER_COLUMN","plugins","cell","*Format:* %0","_handleLegacySuggestions","requires","getCellLocation","nodeAfter","registerDescriptionCallback","mapper","options","headingColumns","unbindElementFromMarkerName","includes","writer","registerAttributeLabel","consumable","toViewElement","FORMAT_HEADER_ROW","registerCustomCallback","locale","afterInit","editor","ck-suggestion-marker--active","_descriptionFactory","type","getSuggestion"];var sa,xa;sa=oa,xa=315,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("0x35")](){return[Qx]}[aa("0x4")](){const t=this.editor;if(!t.plugins[aa("0x2e")]("TableEditing"))return;const e=t[aa("0x3")],n=t[aa("0x31")][aa("0x29")](aa("0x14"));n._enableDefaultAttributesIntegration("setTableRowHeader",[],[aa("0x18")]),n[aa("0x2b")](aa("0x27"),[],[aa("0x3b")]),n[aa("0x7")][aa("0x3f")]("headingRows",Qr(e,aa("0x1"))),n._descriptionFactory[aa("0x3f")](aa("0x3b"),Qr(e,aa("0x30"))),this[aa("0x34")]()}[aa("0x34")](){const t=this[aa("0x5")].plugins.get(aa("0x14")),e=this[aa("0x5")].plugins[aa("0x29")](aa("0x13")),n=this.editor[aa("0x31")][aa("0x29")](Qx)[aa("0x1f")]();function r({showActiveMarker:n=!0,setDataAttribute:r=!0}={}){return(i,o,s)=>{const{type:x,id:a}=t[aa("0x19")](o[aa("0x25")]),c=t[aa("0x9")](a),l=c[aa("0xe")];if("formatBlock"!=c[aa("0x8")]||!l||aa("0x27")!=l[aa("0x11")])return;if(o.item)return void i.stop();if(!s[aa("0x40")][aa("0x28")](o[aa("0x1b")],i.name))return;const u=o.markerRange.start[aa("0x37")],d=o[aa("0x1b")].end[aa("0x16")],g=u[aa("0x2a")][aa("0x2a")],{column:f}=e[aa("0x36")](u),{column:h}=e[aa("0x36")](d);for(let i=f;i<=h;i++){const c=e[aa("0x26")](g,{column:i,includeAllSlots:!1});for(const e of c){const i=e[aa("0x32")],c=s[aa("0x39")][aa("0x0")](i);s.writer.addClass(aa("0x1c")+x,c),r&&s.writer.setAttribute(aa("0x22"),a,c),s[aa("0x39")][aa("0xf")](c,o[aa("0x25")]),n&&(t[aa("0x10")][aa("0x3d")](o[aa("0x25")])?s[aa("0x3e")][aa("0x2f")](aa("0x6"),c):s[aa("0x3e")][aa("0x2d")](aa("0x6"),c))}}}}t[aa("0x15")][aa("0x2")](aa("0x1a"),aa("0xc"),aa("0x1d"),n),t[aa("0x15")][aa("0x2")](aa("0x1a"),"setTableColumnHeader","accept",n),this[aa("0x5")][aa("0xb")].downcastDispatcher.on("addMarker:suggestion",r(),{priority:aa("0xd")}),this.editor[aa("0xe")].downcastDispatcher.on(aa("0x24"),((t,e,n)=>{n[aa("0x3a")][aa("0xa")]&&r({showActiveMarker:!1,setDataAttribute:!1})(t,e,n)}),{priority:aa("0xd")}),this[aa("0x5")][aa("0xb")].downcastDispatcher.on(aa("0x2c"),((e,n,r)=>{const{type:i,id:o}=t[aa("0x19")](n[aa("0x25")]),s=t[aa("0x9")](o),x=s[aa("0xe")];if(aa("0x1a")!=s[aa("0x8")]||!x||aa("0x27")!=x[aa("0x11")])return;const a=r[aa("0x39")][aa("0x12")](n[aa("0x25")]);if(a)for(const t of a)r[aa("0x3e")][aa("0x2d")](aa("0x1c")+i,t),r[aa("0x3e")][aa("0x2d")](aa("0x6"),t),r.writer.removeAttribute(aa("0x22"),t),r[aa("0x39")][aa("0x3c")](t,n[aa("0x25")])}),{priority:aa("0xd")}),this[aa("0x1e")]()}[aa("0x1e")](){const t=this[aa("0x5")],e=t[aa("0x3")];function n(t){return{type:"format",content:Qr(e,aa("0x33"),t)}}t[aa("0x31")][aa("0x29")](aa("0x14"))[aa("0x7")][aa("0x38")]((t=>{if("formatBlock"!=t[aa("0x8")])return;const{data:r}=t;if(r){if("setTableRowHeader"==r[aa("0x11")]){const t=r[aa("0x21")][0][aa("0x17")];return n(Qr(e,aa(t?"0x1":"0x23")))}if(aa("0x27")==r[aa("0x11")]){const t=r[aa("0x21")][0][aa("0x17")];return n(Qr(e,aa(t?"0x30":"0x20")))}}}))}}const la=["trackChanges","unwrap","tableCellBorderStyle","markMultiRangeDeletion","getContainedElement","find","markerAttributes","editing","insertionRanges","some","tableCell","TrackChangesEditing","nextSibling","getRanges","suggestion-td","add","set","type","_suggestionFactory","options","removeMarkers","Users","reduce","getColumns","removeMarker","end","paragraph","endColumn","for","document","ck-suggestion-marker--active","_getCoordsForCells","filter","formatBlock","tablePaste","selection","getSuggestionCallback","createPositionBefore","includes","removeColumns","rowInsertionRanges","name","$graveyard","markers","columnInsertionIndexes","accept","showSuggestionHighlights","getChanges","discard","oldRange","change","registerCustomCallback","every","registerPostFixer","markerName","updateMarker","getRange","tableCellBackgroundColor","isEmpty","tablePasteColumn","stop","dataDowncast","push","subType","insertion","createRangeIn","move","table","createRange","get","getRows","getChangedMarkers","*Replace table cells*","hasSuggestion","requires","suggestion:formatBlock:tablePasteCell","tableCellHorizontalAlignment","fromEntries","tablePasteChainId","differ","getSelectionAffectedTableCells","isInContent","attributes","tableCellBorderColor","cells","join","remove","isEqual","getMarkers","getTableIfOnlyTableInContent","clipboardOutput","getAllAdjacentSuggestions","tableCellVerticalAlignment","deletion","_splitMarkerName","documentSelection","editor","TableUtils","suggestionUnloaded","findAncestor","rowInsertionIndexes","getItems","suggestion","createElement","cell","fill","wrap","getChildren","createTableWalker","elementToElement","tableCellSuggestion","root","previous","high","conversion","register","startsWith","start","endRow","insert","plugins","getChild","tableCellBorderWidth","setAttributes","tablePasteCell","low","author","getAttributes","map","element","rows","last","insertContent","deletionRanges","containsRange","rootName","markMultiRangeBlockFormat","position","insertRows","markMultiRangeInsertion","redo","locale","removeRows","has","TableClipboard","_descriptionFactory","markerToHighlight","getSuggestions","tableCellPadding","from","createRangeOn","previousSibling","length","model"];var ua,da;ua=la,da=167,function(t){for(;--t;)ua.push(ua.shift())}(++da);const ga=function(t,e){return la[t-=0]},fa=[ga("0x6d"),ga("0x46"),ga("0x8f"),ga("0x3f"),ga("0x4f"),ga("0x2c"),ga("0x87")],ha=Object[ga("0x40")](fa.map((t=>[t,null])));class ma extends t.Plugin{static get[ga("0x3d")](){return[Qx]}afterInit(){const t=this.editor;if(!t[ga("0x6b")][ga("0x82")](ga("0x83")))return;const n=t[ga("0x6b")][ga("0x38")](ga("0x98")),r=t[ga("0x6b")][ga("0x38")](ga("0x54")),i=t[ga("0x6b")][ga("0x38")](Qx),o=t[ga("0x6b")][ga("0x38")]("TableClipboard");i._tablePostFixingSubtypes[ga("0x31")]("tablePasteRow",ga("0x2e")),t.model.schema[ga("0x66")](ga("0x61"),{allowIn:ga("0x97"),allowContentOf:"tableCell",isLimit:!0}),t[ga("0x65")][ga("0x60")]({model:ga("0x61"),view:ga("0x1")});let s=null;t[ga("0x8c")].on("insertContent",((i,x)=>{const[a,c]=x,l=x[x[ga("0x8b")]-1];l&&l.forceDefaultExecution||n._isForcedDefaultExecutionBlock||this[ga("0x53")].commands.get(ga("0x8d")).value&&function(t,e,n,r,i){if(e&&!e.is(ga("0x52")))return!1;const o=i[ga("0x4c")](t,n);if(!o||!pa(o,void 0,r))return!1;const s=r[ga("0x43")](n[ga("0x10")][ga("0x16")]);if(!s[ga("0x8b")])return!1;const x=s[0][ga("0x56")](ga("0x36")),a=r.getRowIndexes(s),c=r.getColumnIndexes(s),l={startRow:a.first,endRow:a.last,startColumn:c.first,endColumn:c[ga("0x76")]};return 1==s.length&&(l[ga("0x69")]+=r[ga("0x39")](o)-1,l[ga("0xe")]+=r[ga("0xa")](o)-1),pa(x,l,r)}(a,c,t.model,r,o)&&(i[ga("0x2f")](),s={cells:[],insertionRanges:[],deletionRanges:[],rowInsertionRanges:[],rowInsertionIndexes:[],columnInsertionRanges:[],columnInsertionIndexes:[]},t[ga("0x8c")][ga("0x25")]((()=>{t[ga("0x8c")][ga("0x77")](x[0],x[1],x[2],{forceDefaultExecution:!0});const r=(0,e.uid)(),{rowInsertionRanges:i,columnInsertionRanges:o,insertionRanges:a,deletionRanges:c,cells:l}=s;i[ga("0x8b")]&&n[ga("0x7e")](i,"tablePasteRow",{tablePasteChainId:r}),o[ga("0x8b")]&&n.markMultiRangeInsertion(o,ga("0x2e"),{tablePasteChainId:r}),a[ga("0x8b")]&&n.markMultiRangeInsertion(a,"tablePaste",{tablePasteChainId:r,skipNestingCheck:!0}),c[ga("0x8b")]&&n[ga("0x90")](c,"tablePaste",{tablePasteChainId:r,skipNestingCheck:!0});const u=n[ga("0x7b")](l[ga("0x73")]((({element:t})=>t)),{formatGroupId:(0,e.uid)()},[],ga("0x6f"),{tablePasteChainId:r});if(u){const e=u[ga("0x4b")](),n=[];for(const{element:r,attributes:i}of l){if(!i)continue;const o=t[ga("0x8c")][ga("0x89")](r),s=e[ga("0x92")]((t=>t[ga("0x2b")]()[ga("0x4a")](o)));s&&n[ga("0x31")]([s[ga("0x1c")],i])}n.length&&u.setAttribute(ga("0x93"),Object[ga("0x40")](n))}s=null})))}),{priority:e.priorities[ga("0x64")]+10}),t[ga("0x6b")][ga("0x38")](ga("0x83")).on("_replaceTableSlotCell",((t,e)=>{const[n,r,,i]=e;if(!s)return;t[ga("0x2f")]();const o=n[ga("0x5b")],x=r,a=ba(o),c=ba(x);t.return=o;let l=null,u=null;if(c||a)if(a&&!c){i.remove(o.getChild(0));for(const t of Array[ga("0x88")](x[ga("0x5e")]()))i[ga("0x6a")](t,o,ga("0xc"));const t=s[ga("0x57")][ga("0x19")](n.row),e=s[ga("0x1f")][ga("0x19")](n.column);t||e||(l=i[ga("0x34")](o))}else c&&!a&&(u=i[ga("0x34")](o));else{const t=i[ga("0x5a")]("tableCellSuggestion"),e=i[ga("0x5a")](ga("0x61"));i[ga("0x5d")](i.createRangeIn(o),e),i.insert(t,o,0);for(const e of Array.from(x.getChildren()))i[ga("0x6a")](e,t,"end");l=i[ga("0x89")](t),u=i[ga("0x89")](e)}const d=Array.from(x[ga("0x72")]()).filter((([t])=>fa[ga("0x19")](t)));s.cells[ga("0x31")]({element:o,attributes:d[ga("0x8b")]?Object[ga("0x40")](d):null}),l&&s[ga("0x95")][ga("0x31")](l),u&&s[ga("0x78")][ga("0x31")](u)}),{priority:"high"}),r.on("insertColumns",((e,n)=>{const[i,o={}]=n;if(!s)return;const x=o.at||0,a=o.columns||1;s.columnInsertionIndexes=new Array(a)[ga("0x5c")](x)[ga("0x73")](((t,e)=>t+e));for(const{cell:e}of r[ga("0x5f")](i,{startColumn:x,endColumn:x+a-1}))s.columnInsertionRanges[ga("0x31")](t[ga("0x8c")].createRangeOn(e))}),{priority:ga("0x70")}),r.on(ga("0x7d"),((e,n)=>{const[i,o={}]=n;if(!s)return;const x=o.at||0,a=o[ga("0x75")]||1;s[ga("0x57")]=new Array(a)[ga("0x5c")](x)[ga("0x73")](((t,e)=>t+e));for(const{cell:e}of r.createTableWalker(i,{startRow:x,endRow:x+a-1}))s[ga("0x1b")][ga("0x31")](t[ga("0x8c")][ga("0x89")](e))}),{priority:ga("0x70")}),n[ga("0x84")].registerDescriptionCallback((e=>{if(e[ga("0x32")]&&e[ga("0x32")][ga("0x67")]("tablePaste"))return e.previous?{}:{type:ga("0x33"),content:Qr(t[ga("0x80")],ga("0x3b"))}}));const x=()=>!1;for(const t of["tablePaste",ga("0x2e"),"tablePasteRow","tablePasteCell"])n._suggestionFactory.registerCustomCallback("insertion",t,ga("0x48"),x),n[ga("0x5")][ga("0x26")](ga("0x50"),t,ga("0x48"),x),n[ga("0x5")][ga("0x26")](ga("0x14"),t,ga("0x48"),x);n[ga("0x5")][ga("0x26")](ga("0x14"),ga("0x6f"),"discard",x),n[ga("0x5")][ga("0x26")](ga("0x14"),ga("0x6f"),ga("0x20"),((e,n,r)=>{const i=e[ga("0x73")]((t=>t[ga("0x91")]()))[ga("0x13")]((t=>t)),o=new Map(i[ga("0x73")]((t=>[t,null])));if(s)for(const{element:t,attributes:e}of s[ga("0x47")])e&&o[ga("0x3")](t,e);else if(r&&r[ga("0x93")])for(const[e,n]of Object.entries(r[ga("0x93")])){const r=t.model[ga("0x1e")].get(e),i=r?r.getRange()[ga("0x91")]():null;i&&o[ga("0x3")](i,n)}t.model.change((t=>{for(const[e,n]of o)t[ga("0x6e")]({...ha,...n},e)}))}));const a=(e,r)=>{n[ga("0x5")].registerCustomCallback(e,ga("0x15"),r,((i,o,s)=>{t[ga("0x8c")][ga("0x25")]((t=>{const x=[];for(const t of i){const e=t[ga("0x68")].nodeAfter;e.is(ga("0x74"),"tableCellSuggestion")&&x[ga("0x31")](e)}n[ga("0x5")][ga("0x17")](e,null,r)(i,o,s);for(const e of x)ga("0x1d")!=e[ga("0x62")][ga("0x7a")]&&t.unwrap(e)}))}))};a("insertion",ga("0x20")),a(ga("0x33"),"discard"),a("deletion",ga("0x20")),a(ga("0x50"),ga("0x23")),n[ga("0x5")][ga("0x26")](ga("0x33"),"tablePasteRow",ga("0x23"),(t=>{const e=t.map((t=>t[ga("0x91")]())),n=e[0][ga("0x56")](ga("0x36")),{minRow:o,maxRow:s}=i[ga("0x12")](e);r[ga("0x81")](n,{at:o,rows:s-o+1})})),n[ga("0x5")][ga("0x26")](ga("0x33"),ga("0x2e"),"discard",(t=>{const e=t[ga("0x73")]((t=>t[ga("0x91")]())),n=e[0][ga("0x56")](ga("0x36")),{minColumn:o,maxColumn:s}=i[ga("0x12")](e);r[ga("0x1a")](n,{at:o,columns:s-o+1})}));const c=(t,e)=>{if(!e[ga("0x32")]||!e.subType[ga("0x67")](ga("0x15")))return;const r=e[ga("0x45")][ga("0x41")],i=n[ga("0x86")]().filter((t=>t[ga("0x44")]&&t[ga("0x45")]&&t.attributes[ga("0x41")]==r));i[ga("0x8b")]&&e[ga("0x4e")]()[ga("0x8b")]!=i[ga("0x8b")]&&i[ga("0x9")](((t,e)=>(t.next=e,e[ga("0x63")]=t,e)))};function l(t,e=!0){const{id:r}=n._splitMarkerName(t[ga("0x29")]),i=["ck-suggestion-marker","ck-suggestion-marker-insertion"],o=n.activeMarkers[ga("0x19")](t[ga("0x29")]);return o&&i.push(ga("0x11")),{classes:i,attributes:{"data-suggestion":r},priority:o&&e?3010:3e3}}n.on("suggestionLoaded",c,{priority:ga("0x64")}),n.on(ga("0x55"),c,{priority:"high"}),t[ga("0x8c")][ga("0x10")][ga("0x28")]((()=>{let e=!1;const r=Array[ga("0x88")](t.model.document[ga("0x42")][ga("0x3a")]());for(const{name:i,data:o}of r){const{group:r,type:s,id:x}=n[ga("0x51")](i);if(ga("0x59")!=r||ga("0x50")!=s||o[ga("0x24")])continue;if(!n[ga("0x3c")](x))continue;const a=n.getSuggestion(x).getRanges(),c=t[ga("0x6b")][ga("0x38")](ga("0x8")).me;for(const t of n[ga("0x86")]())if(t[ga("0x44")]&&t[ga("0x71")]==c&&ga("0x14")==t.type&&ga("0x6f")==t[ga("0x32")]&&t[ga("0x0")]()[ga("0x27")]((t=>a[ga("0x96")]((e=>e[ga("0x79")](t,!0))))))for(const n of t[ga("0x4e")]())n[ga("0x44")]&&(n[ga("0x23")](),e=!0)}return e})),t[ga("0x8c")].document[ga("0x28")]((e=>{const r=t.commands[ga("0x38")](ga("0x7f"));if(!r||!r._createdBatches.has(e.batch))return!1;let i=!1;const o=t[ga("0x6b")][ga("0x38")](ga("0x8")).me,s=t[ga("0x8c")][ga("0x10")][ga("0x42")][ga("0x22")](),x=Array[ga("0x88")](t.model[ga("0x10")][ga("0x42")].getChangedMarkers()).filter((({name:t,data:e})=>{const{group:r,subType:i,authorId:s}=n[ga("0x51")](t);return ga("0x59")==r&&ga("0x15")==i&&s==o.id&&!e[ga("0x24")]}));for(const t of s){if(ga("0x6a")!=t[ga("0x4")]||ga("0x61")!=t[ga("0x1c")]||1!=t[ga("0x8b")])continue;const n=e[ga("0x37")](t[ga("0x7c")],t.position.getShiftedBy(1));if(!x[ga("0x92")]((({data:t})=>t.newRange.isEqual(n))))for(const{name:t,data:r}of x)if(n.containsRange(r.newRange)){e[ga("0x2a")](t,{range:n}),i=!0;break}}return i})),t.model[ga("0x10")][ga("0x28")]((e=>{let r=!1;const i=t[ga("0x6b")][ga("0x38")](ga("0x8")).me,o=n[ga("0x86")]().filter((t=>t[ga("0x44")]&&t[ga("0x71")]==i)),s=new Set,x=new Set;for(const t of o)if(ga("0x15")==t.subType)for(const e of t.getMarkers()){const n=e[ga("0x2b")]().getContainedElement();if(n)if(n.is(ga("0x74"),ga("0x61"))&&ba(n)){t[ga("0xb")](e[ga("0x1c")]),s.add(n),r=!0;const i=n[ga("0x99")],o=n[ga("0x8a")],a=i&&i.is(ga("0x74"),ga("0x61")),c=o&&o.is(ga("0x74"),ga("0x61"));a&&!s[ga("0x82")](i)&&x[ga("0x2")](i),c&&!s[ga("0x82")](o)&&x[ga("0x2")](o)}else n.is(ga("0x74"),ga("0xd"))&&n[ga("0x2d")]&&(t[ga("0xb")](e.name),r=!0)}else if(ga("0x6f")==t[ga("0x32")]){if(!t[ga("0x45")]||!t[ga("0x45")][ga("0x41")])continue;const e=t[ga("0x45")].markerAttributes;if(e&&Object.keys(e).length)continue;const n=t[ga("0x45")][ga("0x41")];let i=!0,s=!0;for(const e of o)if(e[ga("0x32")]&&e[ga("0x32")][ga("0x67")](ga("0x15"))){if(!e.attributes[ga("0x41")]){s=!1;break}if(e.id!=t.id&&e.attributes[ga("0x41")]==n){i=!1;break}}s&&i&&(t[ga("0x7")](),r=!0)}for(const t of s)e[ga("0x49")](t);for(const t of x)e[ga("0x8e")](t);return r})),t.conversion.for("editingDowncast")[ga("0x85")]({model:"suggestion:formatBlock:tablePasteCell",view:(t,e)=>l(t),converterPriority:ga("0x64")}),t[ga("0x65")][ga("0xf")](ga("0x30"))[ga("0x85")]({model:ga("0x3e"),view:(t,e)=>e[ga("0x6")][ga("0x21")]?l(t,!1):null,converterPriority:ga("0x64")});const u=t[ga("0x94")].view;this.listenTo(u.document,ga("0x4d"),((t,e)=>{const n=[];for(const t of u[ga("0x34")](e.content)[ga("0x58")]())t.is(ga("0x74"),ga("0x1"))&&n[ga("0x31")](t);u[ga("0x25")]((t=>{for(const e of n)t[ga("0x35")](t[ga("0x34")](e),t[ga("0x18")](e)),t.remove(e)}))}))}}function ba(t){if(t[ga("0x2d")])return!0;const e=t[ga("0x6c")](0);return e.is(ga("0x74"),ga("0xd"))&&e[ga("0x2d")]}function pa(t,e={},n){for(const{isAnchor:r,cellHeight:i,cellWidth:o}of n.createTableWalker(t,{includeAllSlots:!0,...e}))if(!r||1!=i||1!=o)return!1;return!0}const Ea=["resizeTableWidth","selection","TrackChangesEditing","discard","getAttribute","author","plugins","getTableColumnsWidths","format","accept","getSuggestionCallback","data","subType","getContainedElement","*Format:* resize table","registerCustomCallback","commandParams","getSelectedElement","columnWidths","get","formatGroupId","editor","handleSuggestionDescription","_descriptionFactory","bind","document","Users","change","tableWidth","has","getColumnGroupElement","afterInit","resizeTable","type","formatBlock","registerDescriptionCallback","_suggestionFactory"];var _a,Ta;_a=Ea,Ta=188,function(t){for(;--t;)_a.push(_a.shift())}(++Ta);const ya=function(t,e){return Ea[t-=0]};class Ca extends t.Plugin{[ya("0x1c")](){if(!this[ya("0x12")][ya("0x3")][ya("0x1a")]("TableColumnResizeEditing"))return;const t=this[ya("0x12")][ya("0x3")].get("TrackChangesEditing");t.enableCommand(ya("0x22"),this.handleResizeTableWidthCommand[ya("0x15")](this)),t[ya("0x21")][ya("0xc")](ya("0x1f"),ya("0x1d"),"accept",t[ya("0x21")][ya("0x7")](ya("0x1f"),null,"discard")),t[ya("0x21")][ya("0xc")]("formatBlock",ya("0x1d"),ya("0x0"),t[ya("0x21")][ya("0x7")](ya("0x1f"),null,ya("0x6"))),t[ya("0x14")][ya("0x20")](this[ya("0x13")].bind(this))}handleResizeTableWidthCommand(t,e){const n=this.editor[ya("0x3")][ya("0x10")](ya("0x24")),r=this.editor.plugins.get("TableColumnResizeEditing"),i=e.table||this[ya("0x12")].model[ya("0x16")][ya("0x23")][ya("0xe")]();this[ya("0x12")].model[ya("0x18")]((()=>{const o=r[ya("0x1b")](i);let s=o?r[ya("0x4")](o):null,x=i[ya("0x1")](ya("0x19"))||null;const a=e[ya("0x19")]||x,c=e[ya("0xf")]||s,l=this.editor.plugins[ya("0x10")](ya("0x17")).me;for(const t of n.getSuggestions()){const e=t[ya("0xa")]();if(ya("0x1d")===t[ya("0x9")]&&e===i){t[ya("0x2")]!==l&&t[ya("0x0")]();const e=t[ya("0x8")][ya("0xd")];x=e[0][ya("0x19")],s=e[0].columnWidths;break}}t({table:i,tableWidth:a,columnWidths:c}),n.markBlockFormat(i,{commandName:"resizeTableWidth",commandParams:[{tableWidth:x,columnWidths:s}],formatGroupId:ya("0x1d")},[],ya("0x1d"))}))}[ya("0x13")](t){if("formatBlock"!=t[ya("0x1e")]&&"formatInline"!=t[ya("0x1e")])return;const{data:e}=t;if(e&&ya("0x1d")===e[ya("0x11")]){const t=ya("0xb");return{type:ya("0x5"),content:Qr(this.editor.locale,t)}}}}const Aa=["get","has","plugins","editor","afterInit","enableCommand"];var ka,Ia;ka=Aa,Ia=224,function(t){for(;--t;)ka.push(ka.shift())}(++Ia);const Ra=function(t,e){return Aa[t-=0]};class Sa extends t.Plugin{[Ra("0x2")](){const t=this[Ra("0x1")];t[Ra("0x0")][Ra("0x5")]("Template")&&t.plugins[Ra("0x4")]("TrackChangesEditing")[Ra("0x3")]("insertTemplate")}}const va=["enableCommand","tableOfContents","editor","insertTableOfContents","afterInit","TrackChangesEditing","_descriptionFactory","get","registerElementLabel","plugins"];var Na,La;Na=va,La=490,function(t){for(;--t;)Na.push(Na.shift())}(++La);const Ma=function(t,e){return va[t-=0]};class wa extends t.Plugin{[Ma("0x4")](){const t=this[Ma("0x2")];if(!t.commands[Ma("0x7")](Ma("0x3")))return;t[Ma("0x9")][Ma("0x7")](Ma("0x5"))[Ma("0x0")]("insertTableOfContents");const e=t[Ma("0x9")][Ma("0x7")](Ma("0x5")),n=t.locale;e[Ma("0x6")][Ma("0x8")](Ma("0x1"),(t=>Qr(n,"ELEMENT_TABLE_OF_CONTENTS",t)))}}const Oa=["schema","document","has","editor","differ","_splitMarkerName","TrackChangesEditing","registerElementLabel","createRange","afterInit","getChangedMarkers","forward","element","isEqual","from","isTouching","end","title-content","ELEMENT_TITLE","registerPostFixer","isCollapsed","getNearestSelectionRange","model","start","suggestion","newRange","plugins"];var Fa,Da;Fa=Oa,Da=429,function(t){for(;--t;)Fa.push(Fa.shift())}(++Da);const Pa=function(t,e){return Oa[t-=0]};class Ba extends t.Plugin{[Pa("0xc")](){const t=this[Pa("0x6")];if(!t[Pa("0x2")][Pa("0x5")]("Title"))return;const e=t[Pa("0x2")].get(Pa("0x9"));e._descriptionFactory[Pa("0xa")](Pa("0x14"),(()=>Qr(t.locale,Pa("0x15")))),t[Pa("0x19")][Pa("0x4")][Pa("0x16")]((n=>{let r=!1;const i=Array[Pa("0x11")](t[Pa("0x19")][Pa("0x4")][Pa("0x7")][Pa("0xd")]());for(const{name:o,data:s}of i){const{group:i}=e[Pa("0x8")](o);if(Pa("0x0")!==i||!s[Pa("0x1")])continue;const x=s[Pa("0x1")],a=x[Pa("0x13")].nodeBefore;if(!a||!a.is(Pa("0xf"),"title-content"))continue;if(!x[Pa("0x1a")][Pa("0x12")](x[Pa("0x13")]))continue;const c=t[Pa("0x19")][Pa("0x3")][Pa("0x18")](x.end,Pa("0xe"));if(c&&c[Pa("0x17")]){const t=n[Pa("0xb")](x.start,c[Pa("0x1a")]);t[Pa("0x10")](x)||(n.updateMarker(o,{range:t}),r=!0)}r||(n.removeMarker(o),r=!0)}return r}))}}const Ua=["undo","editor","UndoEditing","enableCommand","plugins","has","TrackChangesEditing","afterInit","get"];var ja,Ga;ja=Ua,Ga=396,function(t){for(;--t;)ja.push(ja.shift())}(++Ga);const Va=function(t,e){return Ua[t-=0]};class Ha extends t.Plugin{[Va("0x7")](){const t=this[Va("0x1")],e=t[Va("0x4")][Va("0x8")](Va("0x6"));t.plugins[Va("0x5")](Va("0x2"))&&(e[Va("0x3")](Va("0x0")),e.enableCommand("redo"))}}const za=["plugins","afterInit","TableCaptionEditing","editor","has","enableCommand","TrackChangesEditing","get"];var Wa,Ka;Wa=za,Ka=238,function(t){for(;--t;)Wa.push(Wa.shift())}(++Ka);const qa=function(t,e){return za[t-=0]};class Xa extends t.Plugin{static get requires(){return[Qx]}[qa("0x3")](){const t=this[qa("0x5")];t[qa("0x2")][qa("0x6")](qa("0x4"))&&t.plugins[qa("0x1")](qa("0x0"))[qa("0x7")]("toggleTableCaption")}}const $a=["tableCellWidth","_suggestionFactory","batch","get","format","getSuggestionCallback","enqueueChange","start","formatBlock","markBlockFormat","editor","subType","afterInit","setAttribute","plugins","pluginName","nodeAfter","join","discard","tableCellPadding","tableCellProperties","TablePropertiesEditing","tableBorderWidth","data","tableCellVerticalAlignment","tableBorderColor","tableCellBorderWidth","registerCustomCallback","tableCellBackgroundColor","getFirstPosition","tableWidth","document","_handlePropertyChange","tableCellHeight","_descriptionFactory","_getSuggestion","accept","tableProperties","TableCellPropertiesEditing","has","*Format:* change table cell properties","TrackChangesEditing","getAttribute","enableCommand","handleDiscardAction","registerDescriptionCallback","findAncestor","handleSuggestionDescription","getContainedElement","model","getSelectionAffectedTableCells","commandParams","table"];var Za,Ya;Za=$a,Ya=173,function(t){for(;--t;)Za.push(Za.shift())}(++Ya);const Qa=function(t,e){return $a[t-=0]};class Ja extends t.Plugin{constructor(t){super(t),this[Qa("0x17")]=[Qa("0xb"),"tableBorderStyle",Qa("0x8"),"tableAlignment",Qa("0x10"),"tableHeight","tableBackgroundColor"],this.tableCellProperties=["tableCellBorderColor","tableCellBorderStyle",Qa("0xc"),Qa("0x5"),Qa("0x27"),Qa("0x13"),Qa("0xe"),"tableCellHorizontalAlignment",Qa("0xa")]}static get[Qa("0x1")](){return"TrackChangesTableProperties"}[Qa("0x33")](){const t=this[Qa("0x31")].plugins[Qa("0x2a")](Qa("0x1b"));if(this[Qa("0x31")].plugins[Qa("0x19")](Qa("0x7"))){for(const e of this.tableProperties)t[Qa("0x1d")](e,((t,n)=>{const r=this[Qa("0x31")][Qa("0x23")][Qa("0x11")].selection[Qa("0xf")]()[Qa("0x20")](Qa("0x26"));this[Qa("0x12")](e,[r],this[Qa("0x17")],"tableProperties",t,n)}));t[Qa("0x28")][Qa("0xd")]("formatBlock","tableProperties","accept",t[Qa("0x28")][Qa("0x2c")](Qa("0x2f"),null,Qa("0x4"))),t._suggestionFactory[Qa("0xd")](Qa("0x2f"),"tableProperties",Qa("0x4"),((t,e)=>this[Qa("0x1e")](this[Qa("0x17")],t,e))),t[Qa("0x28")][Qa("0xd")](Qa("0x2f"),Qa("0x17"),Qa("0x3"),(()=>!1))}if(this[Qa("0x31")][Qa("0x0")][Qa("0x19")](Qa("0x18"))){for(const e of this[Qa("0x6")])t[Qa("0x1d")](e,((t,n)=>{const r=this.editor[Qa("0x0")][Qa("0x2a")]("TableUtils")[Qa("0x24")](this[Qa("0x31")][Qa("0x23")][Qa("0x11")].selection);this[Qa("0x12")](e,r,this.tableCellProperties,Qa("0x6"),t,n)}));t._suggestionFactory[Qa("0xd")]("formatBlock","tableCellProperties",Qa("0x16"),t[Qa("0x28")][Qa("0x2c")](Qa("0x2f"),null,Qa("0x4"))),t[Qa("0x28")].registerCustomCallback(Qa("0x2f"),"tableCellProperties",Qa("0x4"),((t,e)=>this[Qa("0x1e")](this[Qa("0x6")],t,e))),t[Qa("0x28")][Qa("0xd")](Qa("0x2f"),Qa("0x6"),Qa("0x3"),(()=>!1))}t[Qa("0x14")][Qa("0x1f")]((t=>this[Qa("0x21")](t)))}[Qa("0x12")](t,e,n,r,i,o){const s=this[Qa("0x31")][Qa("0x0")][Qa("0x2a")](Qa("0x1b"));this[Qa("0x31")][Qa("0x23")][Qa("0x2d")](o[Qa("0x29")],(()=>{for(const t of e)if(this[Qa("0x15")](t,r))i(o);else{const e={};for(const r of n){const n=t[Qa("0x1c")](r);void 0!==n&&(e[r]=n)}i(o),s[Qa("0x30")](t,{commandParams:[e]},[],r)}}))}[Qa("0x1e")](t,e,n){const r=e[0][Qa("0x2e")][Qa("0x2")],i=n[Qa("0x25")][0];this[Qa("0x31")][Qa("0x23")].change((e=>{for(const n of t)void 0!==i[n]?e[Qa("0x34")](n,i[n],r):e.removeAttribute(n,r)}))}[Qa("0x21")](t){if(t[Qa("0x9")])switch(t[Qa("0x32")]){case"tableProperties":return{type:Qa("0x2b"),content:Qr(this[Qa("0x31")].locale,"*Format:* change table properties")};case"tableCellProperties":return{type:"format",content:Qr(this[Qa("0x31")].locale,Qa("0x1a"))}}}[Qa("0x15")](t,e){const n=this[Qa("0x31")][Qa("0x0")][Qa("0x2a")]("TrackChangesEditing");for(const r of n.getSuggestions({skipNotAttached:!0})){const n=r[Qa("0x22")]();if(r[Qa("0x32")]===e&&n===t)return r}return null}}var tc=Function.prototype,ec=Object.prototype,nc=tc.toString,rc=ec.hasOwnProperty,ic=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=rc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&nc.call(n)==ic};const sc=function(t){return oc(t)?void 0:t};var xc=it?it.isConcatSpreadable:void 0;const ac=function(t){return ge(t)||de(t)||!!(xc&&t&&t[xc])};const cc=function t(e,n,r,i,o){var s=-1,x=e.length;for(r||(r=ac),o||(o=[]);++s<x;){var a=e[s];n>0&&r(a)?n>1?t(a,n-1,r,i,o):sn(o,a):i||(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 r=arguments,i=-1,o=dc(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var x=Array(e+1);++i<e;)x[i]=r[i];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 bc=function(t){var e=0,n=0;return function(){var r=mc(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(hc);const pc=function(t){return bc(gc(t,void 0,lc),t+"")}((function(t,e){var n={};if(null==t)return n;var r=!1;e=ur(e,(function(e){return e=mr(e,t),r||(r=e.length>1),e})),oe(t,dn(t),n),r&&(n=tr(n,7,sc));for(var i=e.length;i--;)Wr(n,e[i]);return n})),Ec=["_removeSuggestion","insert","isAtEnd","_setSuggestionData","isUndo","format","isMultiRange","discardAllSuggestions","suggestion","getRanges","_splitMarkerName","getChanges","reconvertMarker","trackChanges.trackFormatChanges","track-changes-suggestion-data-mismatch","root","deletion:join","ck-suggestion-marker-","getSuggestions","_getExternalAuthor","_handleNewSuggestionMarker","options","lowest","size","notReady","track-changes-adapter-already-set","isLimit","_reduceExistingSuggestions","getAllAdjacentSuggestions","stop","trackChangesCommand","_breakSuggestionMarker","removeMarkers","addMarker","markDeletion","getSuggestion","push","_createSuggestion","document","PENDING_ACTION_SUGGESTION","getCommentThread","substring","some","registerPostFixer","_blockAttributeKeys","_isForcedDefaultExecutionBlock","backward","always","markMultiRangeBlockFormat","key","attribute:join","multi","widget","_getSuggestionData","_descriptionFactory","getShiftedBy","$elementName","FORMATTING","editingDowncast","attribute:accept","_getAuthorFromId","Users","_checkSuggestionCorrectness","startsWith","PendingActions","differ","getFirstMarker","insertion","createSelection","_recordAttributeChanges","isEqual","_isRegisteredAttribute","_registerDefaultCallbacks","isTouching","split","_rangeIsInLocalUserInsertion","hasComments","getMarkers","isDocumentOperation","position","updateMarker","attributeNewValue","getChangedMarkers","addMarkerName","formatInline","deletion:","attribute","_findSuggestions","keys","getSuggestionCallback","_enableDefaultAttributesIntegration","formatGroupId","isInsideObject","formatBlock:","from","type","clone","createPositionAfter","unbindElementFromMarkerName","element","_updateSuggestionData","addMarker:suggestion:formatBlock","isOwn","_model","assign","addSuggestionData","values","rejected","change","documentSelection","_refreshSuggestionsChain","isAfter","after","addCommentThread","consume","getNearestSelectionRange","updateSuggestion","isObject","find","commandName","pluginName","getDifference","getUser","data","_onDiscard","accept","range","createRange","LEAVE","set","name","head","forEach","ENTER","writer","_saved","default","markMultiRangeDeletion","creator","groupId","author","activeMarkers","_recordAttributeSuggestions","removed","toUpperCase","warn","selection","setAttribute","previous","acceptSuggestion","_processAttributeChanges","$marker","rethrowUnexpectedError","_customCallbacks","acceptAllSuggestions","join","deletion","containerElement","_mergeNestedSuggestions","fromRange","formatInline:discard","data-suggestion","value","getWalker","track-changes-adapter-missing-getsuggestion","_isDataLoaded","multipleBlocks","getMultiRangeId","formatInline:","removeMarker","markerName","discard","_processAttributeSuggestions","adapter","containsRange","plugins","_cutOutSuggestionMarker","dataDowncast","suggestion:attribute:","_adapter","open","moveTargetPosition","createPositionBefore","accepted","isRemovable","isBlock","getItems","_registerInlineAttribute","collaboration.channelId","markers","attribute:discard","addRange","getIntersection","createElement","isIntersectingWithRange","_setSuggestionRange","suggestion:","_trackFormatChanges","for","filter","isNextTo","splitPosition","end","every","addMarker:suggestion","never","enqueueChange","ck-suggestion-marker-formatInline","length","resolve","unshift","execute","nodeBefore","schema","_isBlockAttribute","trackChanges","discardSuggestion","isArray","sort","getLastMatchingPosition","getCustomProperty","addMarker:suggestion:attribute","refresh","ready","elementToElement","buildSuggestion","track-changes-suggestion-not-found","$text","hasCommentThread","oldValue","ck-suggestion-marker-formatBlock","conversion","has","suggestionLoaded","dataReady","removeComment","containsRangeInObject","pop","before","next","$graveyard","removeMarker:suggestion:attribute","bindElementToMarker","applyOperation","listenTo","createdAt","define","dataToMarker","addHighlight","remove","item","_defaultCallbacks","removeClass","_editor","isCollapsed","editor","locale","_initAriaMarkerChangeAnnouncements","createRangeOn","update:suggestion","discardSelectedSuggestions","isInContent","isLocal","addClass","newRange","getFirstRange","stopListening","_enabledCommands","_inlineAttributeKeys","_addSuggestionMarker","elementEnd","formatBlock","delete","_joinWithAdjacentSuggestions","addUser","_SUGGESTION_ANNOUNCEMENT","@external","markerNameToElements","insertion:chain","requires","markMultiRangeInsertion","originalSuggestionId","getContainedElement","start","highest","suggestionChanged","config","clear","detach","addSuggestion","external:","formatInline:join","deletion:chain","isBefore","formatInline:chain","getAttribute","nodeAfter","markBlockFormat","commands","batch","get","isIntersecting","ck-suggestion-marker","insertion:discard","deletion:discard","markInsertion","tablePasteChainId","splice","attributes","includes","toViewElement","consumable","enableReadOnlyMode","howMany","getRange","_suggestions","catch","rename","setSelection","forceDefaultExecution","model","add","unbind","attribute:","_suggestionFactory","markerToData","containsPosition","_commentsRepository","_element","high","marker-count","return","commentThread","insertContent","showSuggestionHighlights","TrackChangesEditing","isAtStart","mapper","upcast","rootName","attributeOldValue","parent","authorName","normal","map","subType","_registerBlockAttribute","_getMarkerAnnouncementText","_reduceSuggestionAttributeRange","fetchCommentThread","_getAttributeKey","change:data","attributeKey","CommentsRepository","createPositionAt","_joinSuggestions","ck-suggestion-marker--active","formatBlock:discard","registerCustomCallback","_refreshAttributeSuggestionsChain","isExternal","then","getAncestors","enableCommand","removeAttribute","oldRange","fire","_addThreadToSuggestion","markAttributeChange","skipNestingCheck","_suggestionState","acceptSelectedSuggestions","setTo"];var _c,Tc;_c=Ec,Tc=457,function(t){for(;--t;)_c.push(_c.shift())}(++Tc);const yc=function(t,e){return Ec[t-=0]},Cc=yc("0x159");class Ac extends t.Plugin{static get[yc("0xc3")](){return[yc("0x10d"),o.Users,t.PendingActions,ai,gi,Ei,Ai,Fi,Ni,ji,Ki,io,Ao,vo,Fo,jo,Ko,Yo,ns,xs,ds,ys,bs,Rs,Ms,Ps,qs,tx,Vs,co,mo,ox,lx,hx,_x,Ix,Lx,Dx,Vx,qx,Qx,ia,ca,Xa,ma,Ca,wa,Ja,Sa,Ba,Ha]}static get[yc("0x24")](){return yc("0xfb")}constructor(t){function e(t){return t[yc("0x104")]((t=>String.fromCharCode(t)))[yc("0x47")]("")}super(t),this[yc("0x3a")]=!1,this[yc("0x2d")](yc("0x39"),[]),this.on("change:activeMarkers",((e,n,r,i)=>{this[yc("0x13")][yc("0x18")]((()=>{for(const e of[...i,...r])this[yc("0x13")][yc("0x69")][yc("0x94")](e)&&t.editing[yc("0x12d")](e)}))})),this[yc("0x157")]=new ri(this[yc("0xab")][yc("0xec")][yc("0x81")],this[yc("0xab")].locale),this._adapter=null,this[yc("0xf0")]=new kc(this[yc("0xab")]),this[yc("0xe7")]=new Map,this[yc("0xf3")]=t[yc("0x5b")][yc("0xd8")](yc("0x10d")),this[yc("0xb7")]=new Set,this._model=this[yc("0xab")][yc("0xec")],this._suggestionState=new WeakMap,this[yc("0x14e")]=!1,this[yc("0x14d")]=new Set(["$elementName"]),this[yc("0xb8")]=new Set,t[yc("0xca")].define("trackChanges.trackFormatChanges",yc("0x34")),this[yc("0x71")]=t.config[yc("0xd8")](yc("0x12e")),t.config[yc("0xa2")]("trackChanges.mergeNestedSuggestions",!0),this._mergeNestedSuggestions=t.config[yc("0xd8")]("trackChanges.mergeNestedSuggestions"),this[yc("0x13f")]=new d(t,this[yc("0xb7")]),this._initAriaMarkerChangeAnnouncements(),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,52,49,52])}init(){const t=this[yc("0xab")],n=(t,e)=>{if(yc("0x2")!=t)return yc("0x132")+t;const n=e[yc("0x16b")]("|")[0];return this[yc("0x82")](n)?yc("0x92"):yc("0x7b")};t.conversion[yc("0x72")](yc("0x15b")).markerToHighlight({model:yc("0x129"),view:t=>{const{id:e,type:r,subType:i}=this[yc("0x12b")](t[yc("0x56")]),o=[yc("0xda"),n(r,i)];let s=3e3;return this.activeMarkers.includes(t[yc("0x56")])&&(o[yc("0x145")](yc("0x110")),s=3010),yc("0x48")==r&&(s+=5),{classes:o,attributes:{"data-suggestion":e},priority:s}}}),t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((e=>{e.on(yc("0x78"),((e,n,r)=>{if(!r[yc("0x136")][yc("0xfa")])return;const i=n[yc("0xa6")];if(!i)return;const o=r.mapper.toViewElement(i);t[yc("0xec")][yc("0x81")].isObject(i)&&o&&!o[yc("0x88")](yc("0x155"))&&o.is(yc("0x49"))&&(0,x.toWidget)(o,r[yc("0x32")])}),{priority:"high"})})),t[yc("0x93")][yc("0x72")](yc("0x5d")).markerToHighlight({model:"suggestion",view:(t,e)=>{if(!e.options[yc("0xfa")])return null;const{type:r,subType:i}=this[yc("0x12b")](t[yc("0x56")]);return{classes:["ck-suggestion-marker",n(r,i)],priority:3e3}}});const r=({showActiveMarkers:e=!0,isAttributeSuggestion:n=!1}={})=>(r,i,o)=>{if(!i[yc("0xa6")])return;const{id:s}=this[yc("0x12b")](i[yc("0x56")]);if(n){const t=this._suggestions[yc("0xd8")](s),e=this[yc("0x10a")](t);if(!this[yc("0x82")](e))return}if(i[yc("0xa6")].is(yc("0x3e")))return void o[yc("0xe3")][yc("0x1e")](i.item,r[yc("0x2e")]);const x=o[yc("0xfd")][yc("0xe2")](i[yc("0xa6")]);if(i.item.is("element")&&t[yc("0xec")].schema[yc("0x65")](i[yc("0xa6")])&&!x[yc("0x88")](yc("0xa4"))){o[yc("0x32")][yc("0xb3")]([yc("0xda"),yc("0x92")],x),o.writer.setAttribute("data-suggestion",s,x),o[yc("0xfd")][yc("0x9e")](x,i.markerName),e&&(this.activeMarkers.includes(i[yc("0x56")])?o[yc("0x32")].addClass(yc("0x110"),x):o[yc("0x32")].removeClass("ck-suggestion-marker--active",x));for(const e of t.model.createRangeIn(i[yc("0xa6")])[yc("0x66")]())o[yc("0xe3")][yc("0x1e")](e,r.name);o.consumable[yc("0x1e")](i[yc("0xa6")],r.name)}};t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((t=>{t.on(yc("0x11"),((t,e,n)=>{n[yc("0x136")][yc("0xfa")]&&r({showActiveMarkers:!1})(t,e,n)}),{priority:yc("0xc8")})})),t.conversion[yc("0x72")](yc("0x5d"))[yc("0xed")]((t=>{t.on(yc("0x89"),((t,e,n)=>{n.options[yc("0xfa")]&&r({showActiveMarkers:!1,isAttributeSuggestion:!0})(t,e,n)}),{priority:yc("0xc8")})})),t[yc("0x93")][yc("0x72")](yc("0x5d"))[yc("0xf1")]({model:yc("0x129"),view:(t,e)=>e[yc("0x136")][yc("0xfa")]?null:{group:"suggestion",name:t.substr(11)}}),t[yc("0x93")].for(yc("0xfe"))[yc("0x8c")]({view:{name:yc("0x129"),attributes:{id:/^\w/,"suggestion-type":/^\w/}},model:(t,{writer:e})=>{let n=yc("0x70")+t.getAttribute("suggestion-type")+":"+t[yc("0xd3")]("id");return t.getAttribute(yc("0xf6"))&&(n+=":"+t[yc("0xd3")](yc("0xf6"))),e[yc("0x6d")](yc("0x43"),{"data-name":n})}}),t.conversion.for("upcast")[yc("0xa3")]({view:yc("0x129")}),t[yc("0x93")][yc("0x72")](yc("0x15b")).add((t=>{t.on(yc("0x11"),r(),{priority:yc("0xf5")})})),t.conversion[yc("0x72")](yc("0x15b"))[yc("0xed")]((t=>{t.on("addMarker:suggestion:attribute",r({isAttributeSuggestion:!0}),{priority:yc("0xf5")})})),t.conversion.for(yc("0x15b")).add((t=>{t.on("removeMarker:suggestion:formatBlock",((t,e,n)=>{const r=n[yc("0xfd")][yc("0xc1")](e[yc("0x56")]);if(r)for(const t of r)t[yc("0x88")](yc("0xa4"))||(n[yc("0x32")].removeClass([yc("0xda"),"ck-suggestion-marker-formatBlock",yc("0x110")],t),n.writer[yc("0x118")](yc("0x4d"),t),n[yc("0xfd")].unbindElementFromMarkerName(t,e.markerName))}),{priority:yc("0xf5")})})),t.conversion[yc("0x72")]("editingDowncast")[yc("0xed")]((t=>{t.on(yc("0x9d"),((t,e,n)=>{const r=n[yc("0xfd")][yc("0xc1")](e.markerName);if(!r)return;const{id:i}=this[yc("0x12b")](e[yc("0x56")]),o=this._suggestions[yc("0xd8")](i),s=this._getAttributeKey(o);if(this._isBlockAttribute(s))for(const t of r)t[yc("0x88")](yc("0xa4"))||(n[yc("0x32")][yc("0xa8")]([yc("0xda"),"ck-suggestion-marker-formatBlock","ck-suggestion-marker--active"],t),n[yc("0x32")][yc("0x118")](yc("0x4d"),t),n[yc("0xfd")][yc("0xe")](t,e[yc("0x56")]))}),{priority:yc("0xf5")})})),t[yc("0xec")][yc("0x147")].registerPostFixer((e=>{let n=!1;const r=Array[yc("0xa")](t.model.document.differ.getChangedMarkers()),i=new Set;for(const{name:x,data:a}of r){const{group:r,type:c,subType:l,id:u}=this[yc("0x12b")](x);if(yc("0x129")!==r)continue;const d=this[yc("0xe7")][yc("0xd8")](u);if(null!=a[yc("0xb4")]){"formatInline"==c&&(n=n||Sc(a[yc("0xb4")],x,e,t[yc("0xec")][yc("0x81")]));const r=yc("0x2")==c&&this._isBlockAttribute(l[yc("0x16b")]("|")[0]);if(a[yc("0xb4")][yc("0xaa")]||yc("0x9c")==a[yc("0xb4")][yc("0x130")][yc("0xff")]||yc("0xbb")==c&&!Nc(a.newRange)||r&&!Nc(a[yc("0xb4")])||"deletion"==c&&(Rc(s=a.newRange)||(o=s).start[yc("0x101")]==o[yc("0x76")].nodeBefore&&o[yc("0xc7")].isAtEnd))e.removeMarker(x),n=!0;else{if(!d||!d.isInContent)continue;i[yc("0xed")](d)}}}var o,s;return i[yc("0x138")]>0&&(n=!!this._joinWithAdjacentSuggestions(i)||n),n})),t[yc("0xec")].document[yc("0x14c")]((e=>{let n=!1;for(const r of t[yc("0xec")][yc("0x147")].differ.getChanges())if(yc("0x122")==r[yc("0xb")])for(const r of this[yc("0xe7")][yc("0x16")]()){if(r.isMultiRange||!r.isInContent)continue;const i="formatBlock"==r[yc("0xb")],o=this[yc("0x10a")](r),s=o&&this[yc("0x82")](o);if(!i&&!s)continue;const x=r.getFirstRange();if(x[yc("0xc7")].parent!=x.end[yc("0x101")]&&!x[yc("0x76")][yc("0x123")]){const i=t[yc("0xec")][yc("0x10e")](x[yc("0xc7")][yc("0xd4")],yc("0x76")),o=t[yc("0xec")][yc("0x2b")](x[yc("0xc7")],i);e[yc("0x171")](r.getFirstMarker(),{range:o}),n=!0}}return n})),t.model[yc("0x147")][yc("0x14c")]((t=>this._processAttributeChanges(t))),t[yc("0xec")][yc("0x147")][yc("0x14c")]((t=>!t[yc("0xd7")][yc("0xb2")]&&this[yc("0x58")](t))),t.model.on("_afterChanges",(()=>{this[yc("0x3a")]=!1})),t[yc("0xec")].document.on("change:data",((n,r)=>{if(!r.isLocal||r.isUndo)return;if(!this._recordAttributeSuggestions)return;const i=t.model[yc("0x147")][yc("0x162")][yc("0x12c")]();if(0==i[yc("0x7c")])return;const o=[],s=i[yc("0x73")]((t=>yc("0x2")==t.type)),x=i[yc("0x73")]((t=>yc("0x122")==t[yc("0xb")]&&yc("0x8f")!=t[yc("0x2e")])),a=i[yc("0x73")]((t=>yc("0xa5")==t.type&&yc("0x8f")!=t[yc("0x2e")]));for(const e of s)this._isRegisteredAttribute(e.attributeKey)&&o[yc("0x145")]({key:e[yc("0x10c")],newValue:e[yc("0x172")],oldValue:e.attributeOldValue,range:Lc(e[yc("0x2a")],t.model)});for(const e of x){const n=a.find((t=>t[yc("0xf4")]===e._element));if(n){const r=Mc(e[yc("0x170")][yc("0xd4")],t[yc("0xec")]);n[yc("0x2e")]!==e.name&&o[yc("0x145")]({key:yc("0x159"),newValue:e.name,oldValue:n[yc("0x2e")],range:r});for(const[t,i]of n[yc("0xe0")]){if(!this[yc("0x168")](t))continue;const n=e[yc("0xe0")][yc("0xd8")](t);i!==n&&o[yc("0x145")]({key:t,newValue:n,oldValue:i,range:r})}for(const[t,i]of e[yc("0xe0")])this._isRegisteredAttribute(t)&&(n[yc("0xe0")][yc("0x94")](t)||o.push({key:t,newValue:i,oldValue:null,range:r}))}}0!=o[yc("0x7c")]&&t[yc("0xec")][yc("0x7a")](r,(t=>{const n=(0,e.uid)();for(const{range:t,key:e,oldValue:r,newValue:i}of o)this[yc("0x11c")](t,e,r,i,{groupId:n});this[yc("0x13c")](t,o)}))}),{priority:yc("0x137")}),t[yc("0xec")][yc("0x69")].on(yc("0xaf"),((t,e,n)=>{if(null==n){const{id:t}=this[yc("0x12b")](e[yc("0x2e")]),n=this._suggestions[yc("0xd8")](t);n&&n[yc("0x174")](e.name)}})),t.model[yc("0x147")].on(yc("0x10b"),(()=>{const e=Array[yc("0xa")](t[yc("0xec")][yc("0x147")][yc("0x162")][yc("0x173")]())[yc("0x73")]((t=>yc("0x129")===this[yc("0x12b")](t[yc("0x2e")]).group));if(0===e.length)return;e.sort(((t,e)=>{const n=t[yc("0x27")][yc("0x119")],r=e[yc("0x27")][yc("0x119")];return null===n&&null===r?0:null===n&&null!==r?-1:null!==n&&null===r?1:n[yc("0xc7")][yc("0xd1")](r.start)?-1:1}));const n=new Set,r=new Set;for(const{name:t,data:i}of e){const{id:e}=this[yc("0x12b")](t);if(null===i[yc("0x119")]){const e=this._handleNewSuggestionMarker(t);r[yc("0xed")](e)}else{const t=this[yc("0xe7")][yc("0xd8")](e);null!==i[yc("0xb4")]||t[yc("0xb1")]?(n[yc("0xed")](t[yc("0x2f")]),r[yc("0xed")](t)):this[yc("0x121")](t)}}r[yc("0x138")]>0&&this[yc("0x1a")](r);for(const t of n)this[yc("0x11a")](yc("0xc9"),t)})),t[yc("0xec")].on(yc("0x9f"),((e,n)=>{const r=n[0];if(!this._suggestions[yc("0x138")])return;if(!r[yc("0x16f")])return;if(r[yc("0xd7")][yc("0x125")]||!r[yc("0xd7")][yc("0xb2")])return;let i,o;switch(r[yc("0xb")]){case yc("0x122"):i=t[yc("0xec")][yc("0x10e")](r[yc("0x170")]),o=i[yc("0x158")](r[yc("0xe5")]);break;case yc("0x16b"):i=t[yc("0xec")][yc("0x10e")](r[yc("0x75")]),o=t[yc("0xec")].createPositionAt(r[yc("0x61")]);break;case"move":i=t.model.createPositionAt(r.targetPosition),o=i[yc("0x158")](r[yc("0xe5")]);break;default:return}const s=t[yc("0xec")].createRange(i,o);t.model[yc("0x18")]((()=>{for(const{suggestion:t,meta:e}of this._findSuggestions(s)){if(t[yc("0x127")])continue;if(yc("0x0")==t[yc("0xb")])continue;const n=this._getAttributeKey(t);if(n&&this[yc("0x82")](n)&&"split"!=r[yc("0xb")])continue;const x=t[yc("0x27")]&&t[yc("0x27")].multipleBlocks;(yc("0xbb")!=t.type||yc("0x16b")==r.type&&!x)&&(e[yc("0x98")]||yc("0x164")==t[yc("0xb")]&&e[yc("0x12")]||t.getFirstRange()[yc("0x5a")](s)&&this[yc("0x140")](t,i,o))}}))}),{priority:yc("0x137")}),t[yc("0xec")].on("deleteContent",((e,n)=>{const r=n[0],i=n[1];if(i&&i[yc("0xeb")])return;if(this[yc("0x14e")])return;if(!this[yc("0x13f")][yc("0x4e")])return;if(r[yc("0xaa")])return;const o=t.model.schema,{start:s,end:x}=r.getFirstRange(),a=s[yc("0xd4")]&&o[yc("0x13b")](s[yc("0xd4")])?null:o[yc("0x1f")](s,"forward"),c=x[yc("0x80")]&&o[yc("0x13b")](x[yc("0x80")])?null:o[yc("0x1f")](x,yc("0x14f")),l=t[yc("0xec")][yc("0x2b")](a?a.start:s,c?c[yc("0x76")]:x);t[yc("0xec")][yc("0x18")]((e=>{this[yc("0x143")](l);const n=t.model.schema[yc("0x1f")](l[yc("0xc7")]);r.is(yc("0x19"))?e[yc("0xea")](n):r[yc("0x120")](n)})),e[yc("0x13e")]()}),{priority:e.priorities[yc("0x103")]+10}),t[yc("0xec")].on("insertContent",((e,n)=>{const r=n[n[yc("0x7c")]-1];r&&r[yc("0xeb")]||this[yc("0x14e")]||this[yc("0x13f")][yc("0x4e")]&&(t.model.change((()=>{let r=t[yc("0xec")][yc("0xf9")](n[0],n[1],n[2],{forceDefaultExecution:!0});if(!r)return;e[yc("0xf7")]=r[yc("0xc")]();const i=r[yc("0x76")][yc("0x80")],o=t[yc("0xec")][yc("0x81")];i&&o[yc("0x65")](i)&&!o[yc("0x21")](i)&&(r=t.model[yc("0x2b")](r[yc("0xc7")],t[yc("0xec")][yc("0x10e")](i,"end"))),this[yc("0xdd")](r)})),e[yc("0x13e")]())}),{priority:"high"}),this.editor[yc("0xd6")][yc("0xed")](yc("0x83"),this[yc("0x13f")]),this.enableCommand(yc("0x83"));const i=new b(t,this[yc("0xe7")]);t[yc("0xd6")][yc("0xed")](yc("0x41"),i),this.enableCommand(yc("0x41"));const o=new y(t,this._suggestions);t[yc("0xd6")].add(yc("0x84"),o),this.enableCommand(yc("0x84")),t[yc("0xd6")][yc("0xed")]("acceptAllSuggestions",new F(t,i,this[yc("0xe7")])),this[yc("0x117")](yc("0x46")),t.commands[yc("0xed")](yc("0x128"),new F(t,o,this[yc("0xe7")])),this.enableCommand(yc("0x128")),t[yc("0xd6")][yc("0xed")]("acceptSelectedSuggestions",new j(t,i,this._suggestions)),this[yc("0x117")](yc("0x11f")),t[yc("0xd6")][yc("0xed")](yc("0xb0"),new j(t,o,this[yc("0xe7")])),this[yc("0x117")](yc("0xb0"));const s=t.plugins[yc("0xd8")](yc("0x10d"));this[yc("0xa0")](s,"addComment",((t,{threadId:e})=>{const n=this._suggestions[yc("0xd8")](e);n&&n.commentThread&&1===n[yc("0xf8")][yc("0x7c")]&&this[yc("0x10")](e,{hasComments:!0})}),{priority:"low"}),this.listenTo(s,yc("0x97"),((t,{threadId:e})=>{const n=this[yc("0xe7")].get(e);n&&n[yc("0xf8")]&&!n[yc("0xf8")][yc("0x7c")]&&this[yc("0x10")](e,{hasComments:!1})}),{priority:"low"})}set[yc("0x59")](t){if(this[yc("0x5f")])throw new e.CKEditorError(yc("0x13a"),this);this._adapter=t}get[yc("0x59")](){return this[yc("0x5f")]}[yc("0x133")]({skipNotAttached:t=!1,toJSON:e=!1}={}){const n=[];for(const e of this._suggestions.values())t&&!e[yc("0xb1")]||n.push(e);return e?n[yc("0x104")]((t=>t.toJSON())):n}[yc("0x144")](t){const n=this[yc("0xe7")][yc("0xd8")](t);if(!n)throw new e.CKEditorError(yc("0x8e"),this);return n}hasSuggestion(t){return this._suggestions[yc("0x94")](t)}[yc("0x15")](t){const{authorId:e,id:n,attributes:r}=t,[i,o]=t.type[yc("0x16b")](":"),s=this[yc("0xe7")][yc("0xd8")](n)||this[yc("0x146")](i,o,n,e,r);if(this[yc("0x11b")](s),this[yc("0x15f")](s,i,o||null,e),s[yc("0xa1")]=t.createdAt,s._isDataLoaded=!0,r&&r[yc("0xc0")]){const t=r[yc("0xc0")],e=this._getExternalAuthor(t[yc("0x102")]);s.authoredAt=t[yc("0xa1")],s[yc("0x38")]=e,s[yc("0x114")]=!0}else s.authoredAt=t[yc("0xa1")];switch(t[yc("0x27")]&&(s.data=t[yc("0x27")]),t[yc("0xe0")]&&(s[yc("0xe0")]=t[yc("0xe0")]),this[yc("0x5f")]&&this[yc("0x5f")][yc("0xcd")]||(s[yc("0x33")]=!0),this._suggestionState[yc("0xd8")](s)){case"notReady":this._suggestionState[yc("0x2d")](s,"dataReady");break;case"markerReady":s[yc("0xb1")]?(this[yc("0xbd")](new Set([s])),this[yc("0x1a")](new Set([s])),this[yc("0x11e")][yc("0x2d")](s,yc("0x8b")),this[yc("0x11a")]("suggestionLoaded",s)):this[yc("0x11e")][yc("0x2d")](s,yc("0x3b"))}return s}[yc("0x41")](t){this[yc("0xeb")]((()=>{this[yc("0xab")][yc("0xec")].change((()=>{for(const e of t[yc("0x13d")]())e[yc("0x29")]()}))}))}[yc("0x84")](t){this[yc("0xeb")]((()=>{this.editor.model[yc("0x18")]((()=>{for(const e of t.getAllAdjacentSuggestions())e.discard()}))}))}enableCommand(t,n){const r=this[yc("0xab")][yc("0xd6")][yc("0xd8")](t);if(!r)throw new e.CKEditorError("track-changes-command-not-found",this,{commandName:t});if(this[yc("0xb7")][yc("0x94")](r))throw new e.CKEditorError("track-changes-enable-command-twice",this,{commandName:t});this._enabledCommands.add(r),n&&r.on(yc("0x7f"),((t,e)=>{this[yc("0x13f")][yc("0x4e")]&&(this[yc("0x14e")]||(e.length>0&&e[e.length-1]&&e[e.length-1][yc("0xeb")]?e[yc("0x99")]():(t[yc("0xf7")]=n(((...t)=>r[yc("0x7f")](...t,{forceDefaultExecution:!0})),...e),t[yc("0x13e")]())))}),{priority:yc("0xf5")})}[yc("0xeb")](t){let n,r;const i=this[yc("0x14e")];this[yc("0x14e")]=!0;try{n=t()}catch(t){r=t}return i||(this[yc("0x14e")]=!1),r&&e.CKEditorError[yc("0x44")](r,this),n}[yc("0xdd")](t,n=null,r={}){if(t[yc("0xaa")])return null;const i=this[yc("0xab")].plugins[yc("0xd8")](yc("0x15e")).me;for(const{suggestion:e,meta:i}of this[yc("0x3")](t,yc("0x164")))if(i[yc("0x12")]){if(!i[yc("0x74")]){if(i[yc("0x98")]){if(!this[yc("0x4a")]||!Fc(e,r))continue;return e}if(Fc(e,r))return e;this._breakSuggestionMarker(e,t[yc("0xc7")],t.end);break}if(n==e[yc("0x105")]&&Fc(e,r)){const n=e[yc("0xb5")]();return n[yc("0xc7")][yc("0x167")](t[yc("0x76")])?this._setSuggestionRange(e,this[yc("0x13")][yc("0x2b")](t[yc("0xc7")],n[yc("0x76")])):this._setSuggestionRange(e,this[yc("0x13")][yc("0x2b")](n[yc("0xc7")],t[yc("0x76")])),e}}const o=(0,e.uid)(),s=i.id,x=n?"insertion:"+n:"insertion",a=this._setSuggestionData({id:o,type:x,createdAt:new Date,authorId:s,attributes:r});return this[yc("0xb9")](x,o,s,t),a}[yc("0xc4")](t,n=yc("0x154"),r={}){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,o=this[yc("0xf0")][yc("0x5")](yc("0x164"),n,yc("0x47"));for(const e of this[yc("0x133")]())if(e.author.id==i.id&&yc("0x164")==e.type&&e[yc("0x105")]==n&&Fc(e,r)&&(o(e.getRanges(),t)||o(t,e[yc("0x12a")]()))){for(const n of t)e[yc("0x6b")](n);return e}for(const{suggestion:e,meta:n}of this._findSuggestions(t,yc("0x164"))){if(!n[yc("0x12")])continue;if(!this[yc("0x4a")]&&n[yc("0x98")])continue;if(!Fc(e,r))continue;let i=!0;for(const n of e[yc("0x12a")]())for(const e of t)if(!n[yc("0x5a")](e)){i=!1;break}if(i)return e}const s=(0,e.uid)(),x=i.id,a="insertion:"+n,c=this._setSuggestionData({id:s,type:a,createdAt:new Date,authorId:x,attributes:r});for(const e of t)this[yc("0xb9")](a,s,x,e,Yr.getMultiRangeId());return c}markInlineFormat(t,n,r=null,i={}){if(r=r||vc(n),t.isCollapsed)return null;if(yc("0x79")===this[yc("0x71")]){const e=this[yc("0xf0")][yc("0x5")](yc("0x0"),r,yc("0x29"));return this.forceDefaultExecution((()=>e([t],n,i))),null}const o=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,s=[];if("always"!==this[yc("0x71")])for(const{suggestion:e,meta:n}of this[yc("0x3")](t,"insertion"))n[yc("0x12")]&&!n[yc("0x8")]&&s[yc("0x145")](...e[yc("0x12a")]());const x=function(t,e){const n=[];for(const r of e){const e=t[yc("0x6c")](r);e&&n.push(e)}return n}(t,s),a=function(t,e){const n=[t];for(const t of e){let e=0;for(;e<n[yc("0x7c")];){const r=n[e][yc("0x25")](t);n.splice(e,1,...r),e+=r[yc("0x7c")]}}return n}(t,s);x[yc("0x7c")]&&this._model[yc("0x18")]((()=>{for(const t of x){const e=this[yc("0xf0")].getSuggestionCallback(yc("0x0"),r,yc("0x29"));this[yc("0xeb")]((()=>e([t],n,i)))}}));for(const t of a){let s=null,x=t[yc("0xc7")],a=t.end;for(const{suggestion:e,meta:n}of this[yc("0x3")](t,"formatInline")){if(!n[yc("0x12")])continue;if(e[yc("0x105")]!=r)continue;if(!Fc(e,i))continue;const o=e[yc("0xb5")]();if(o.containsRange(t,!0))return null;x=x[yc("0xd1")](o[yc("0xc7")])?x:o[yc("0xc7")],a=a[yc("0x1b")](o[yc("0x76")])?a:o[yc("0x76")],s?o[yc("0xc7")][yc("0xd1")](s[yc("0xb5")]().start)?(s[yc("0x141")](),s=e):e.removeMarkers():s=e}const c=this._model[yc("0x2b")](x,a);if(s)this[yc("0x6f")](s,c);else{const t=(0,e.uid)(),s=o.id;this._setSuggestionData({id:t,type:yc("0x54")+r,data:n,createdAt:new Date,authorId:s,attributes:i}),this[yc("0xb9")](yc("0x54")+r,t,s,c)}}return null}[yc("0xd5")](t,n,r=[],i=null,o={}){n[yc("0x7")]||(n[yc("0x7")]=n[yc("0x23")]),n[yc("0x52")]=t.is(yc("0x2a")),i=i||vc(n);const s=r[yc("0x104")]((t=>Mc(t,this[yc("0x13")]))),x=t.is("range")?t:Mc(t,this[yc("0x13")]);if("never"===this[yc("0x71")]){const t=this[yc("0xf0")].getSuggestionCallback("formatBlock",i,"accept");return this.forceDefaultExecution((()=>t([x],n,o))),null}s[yc("0x145")](x);let a=!0;for(const t of s)if(!this[yc("0x16c")](t)){a=!1;break}if(a&&yc("0x150")!==this._trackFormatChanges){const t=this[yc("0xf0")][yc("0x5")](yc("0xbb"),i,yc("0x29"));return this.forceDefaultExecution((()=>t([x],n,o))),null}let c=null,l=x[yc("0xc7")],u=x[yc("0x76")];for(const{suggestion:t,meta:e}of this[yc("0x3")](x,yc("0xbb"))){if(!e.isOwn)continue;if(e[yc("0x74")]||e.containsRangeInObject||e.isInsideObject)continue;if(t[yc("0x27")][yc("0x7")]!=n.formatGroupId)continue;if(!Fc(t,o))continue;const r=t[yc("0xb5")]();if(t[yc("0x105")]==i){if(r[yc("0x5a")](x,!0))return null;l=l[yc("0xd1")](r.start)?l:r[yc("0xc7")],u=u[yc("0x1b")](r[yc("0x76")])?u:r[yc("0x76")],c?r[yc("0xc7")][yc("0xd1")](c[yc("0xb5")]()[yc("0xc7")])?(c[yc("0x141")](),c=t):t[yc("0x141")]():c=t}else{const e=x[yc("0x6c")](r);this[yc("0x5c")](t,e)}}const d=this.editor.plugins.get(yc("0x15e")).me,g=(0,e.uid)(),f=d.id;if(c)return this[yc("0x6f")](c,this[yc("0x13")][yc("0x2b")](l,u)),c;{const t=this._setSuggestionData({id:g,type:yc("0x9")+i,data:n,createdAt:new Date,authorId:f,attributes:o});return this[yc("0xb9")]("formatBlock:"+i,g,f,this[yc("0x13")][yc("0x2b")](l,u)),t}}[yc("0x151")](t,n,r=[],i=null,o={}){n[yc("0x7")]||(n.formatGroupId=n[yc("0x23")]);const s=t[0];n.multipleBlocks=s.is(yc("0x2a")),i=i||vc(n);const x=r.map((t=>Mc(t,this[yc("0x13")]))),a=s.is(yc("0x2a"))?t:t[yc("0x104")]((t=>Mc(t,this._model)));if(yc("0x79")===this[yc("0x71")]){const t=this[yc("0xf0")][yc("0x5")](yc("0xbb"),i,"accept");return this[yc("0xeb")]((()=>t(a,n,o))),null}x[yc("0x145")](...a);let c=!0;for(const t of x)if(!this[yc("0x16c")](t)){c=!1;break}if(c&&"always"!==this[yc("0x71")]){const t=this._suggestionFactory.getSuggestionCallback("formatBlock",i,yc("0x29"));return this.forceDefaultExecution((()=>t(a,n,o))),null}const l=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me;for(const t of this.getSuggestions()){if(t[yc("0x38")].id!=l.id)continue;if(yc("0xbb")!=t[yc("0xb")]||t[yc("0x27")][yc("0x7")]!=n[yc("0x7")])continue;if(!Fc(t,o))continue;const e=t[yc("0x105")]==i;for(let n=0;n<a.length;n++){const r=a[n];for(const i of t[yc("0x16e")]()){const o=i[yc("0xe6")]();if(r[yc("0x167")](o)){e?(a[yc("0xdf")](n,1),n--):t[yc("0x55")](i.name);break}}}}if(0==a.length)return null;const u=this[yc("0xf0")].getSuggestionCallback(yc("0xbb"),i,"join");for(const t of this[yc("0x133")]())if(t.author.id==l.id&&yc("0xbb")==t[yc("0xb")]&&t[yc("0x27")].formatGroupId==n.formatGroupId&&t.subType==i&&Fc(t,o)&&(u(t.getRanges(),a)||u(a,t[yc("0x12a")]()))){for(const e of a)t[yc("0x6b")](e);return t}const d=(0,e.uid)(),g=l.id,f=yc("0x9")+i,h=this[yc("0x124")]({id:d,type:f,data:n,createdAt:new Date,authorId:g,attributes:o});for(const t of a)this._addSuggestionMarker(f,d,g,t,Yr[yc("0x53")]());return h}[yc("0x143")](t,n=null,r={}){if(t[yc("0xaa")])return null;const i=this.editor[yc("0x5b")].get(yc("0x15e")).me,o=new s.LiveRange(t[yc("0xc7")],t.end);for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x164")))if(e[yc("0x12")]&&!e[yc("0x74")])if(t[yc("0x127")]){const e=t[yc("0x12a")]().filter((t=>yc("0x9c")!=t[yc("0x130")][yc("0xff")]));if(e[yc("0x77")]((t=>o.containsRange(t,!0)))&&t[yc("0x57")](),e.some((t=>t[yc("0x5a")](o,!0)))){const t=this[yc("0xf0")].getSuggestionCallback(yc("0x48"),n,yc("0x29"));return this.forceDefaultExecution((()=>t([o],null,r))),null}}else{const e=o.getIntersection(t.getFirstRange());null!==e&&t[yc("0x28")]([e],null,r)}if(o[yc("0xcc")](),o[yc("0xaa")]||yc("0x9c")==o[yc("0x130")].rootName)return null;let x=null,a=o[yc("0xc7")],c=o[yc("0x76")];const l=this[yc("0x3")](o,"deletion");for(const{suggestion:t,meta:e}of l){const n=this[yc("0x13")][yc("0x2b")](a,c);if(e.isOwn&&(this[yc("0x4a")]||!e[yc("0x98")]&&!e[yc("0x8")]))if(t.isMultiRange){if(!Fc(t,r))continue;let e=!0;for(const r of t[yc("0x12a")]()){if(r[yc("0x5a")](n,!0))return t;n[yc("0x5a")](r)||(e=!1)}e&&t[yc("0x57")]()}else{const e=t[yc("0xb5")]();if(e[yc("0x5a")](n,!0))return t;if(!Fc(t,r)){n[yc("0x5a")](e)?t[yc("0x141")]():e[yc("0xf2")](a)?a=e[yc("0x76")]:e[yc("0xf2")](c)&&(c=e.start);continue}a=a[yc("0xd1")](e[yc("0xc7")])?a:e[yc("0xc7")],c=c[yc("0x1b")](e[yc("0x76")])?c:e[yc("0x76")],r=Object[yc("0x14")]({},t[yc("0xe0")]),x?e[yc("0xc7")][yc("0xd1")](x[yc("0xb5")]().start)?(x.removeMarkers(),x=t):t.removeMarkers():x=t}}if(x)return this[yc("0x6f")](x,this[yc("0x13")].createRange(a,c)),x;{const t=(0,e.uid)(),o=this[yc("0x13")].createRange(a,c),s=i.id,x=n?yc("0x1")+n:yc("0x48"),l=this._setSuggestionData({id:t,type:x,createdAt:new Date,authorId:s,attributes:r});return this[yc("0xb9")](x,t,s,o),l}}[yc("0x35")](t,n=yc("0x154"),r={}){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me,o=t.map((t=>new s.LiveRange(t.start,t[yc("0x76")]))),x=new Set;for(const{suggestion:t,meta:e}of this._findSuggestions(o,yc("0x164")))e[yc("0x12")]&&!e[yc("0x74")]&&x.add(t);for(const e of x)if(e[yc("0x127")]){const i=e[yc("0x12a")]();if((!e[yc("0xe0")]||!e[yc("0xe0")][yc("0x11d")])&&i[yc("0x77")]((t=>o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))))&&e.discard(),o[yc("0x77")]((t=>i[yc("0x14b")]((e=>e.containsRange(t,!0)))))){const e=this[yc("0xf0")][yc("0x5")]("deletion",n,yc("0x29"));return this.forceDefaultExecution((()=>e(t,null,r))),null}}else{const t=e[yc("0xb5")]();if(o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))&&e[yc("0x57")](),o[yc("0x77")]((e=>t[yc("0x5a")](e,!0)))){const t=this._suggestionFactory[yc("0x5")](yc("0x48"),n,yc("0x29"));return this[yc("0xeb")]((()=>t(o,null,r))),null}}const a=this[yc("0xf0")][yc("0x5")](yc("0x48"),n,"join");let c=null;for(const t of this[yc("0x133")]())if(t[yc("0x38")].id==i.id&&t[yc("0xb1")]&&yc("0x48")==t[yc("0xb")]&&t[yc("0x105")]==n&&Fc(t,r)&&(a(t.getRanges(),o)||a(o,t[yc("0x12a")]())))if(c){if(t[yc("0xf8")]&&t[yc("0xf8")].length)continue;for(const e of t[yc("0x12a")]())c[yc("0x6e")](e)||c[yc("0x6b")](e);t[yc("0x141")]()}else{c=t;for(const e of o)t[yc("0x6e")](e)||t[yc("0x6b")](e)}if(c)return c;x[yc("0xcb")]();for(const{suggestion:t,meta:e}of this[yc("0x3")](o,yc("0x48")))e[yc("0x12")]&&(this._mergeNestedSuggestions||!e[yc("0x98")]&&!e[yc("0x8")])&&Fc(t,r)&&x[yc("0xed")](t);for(const t of x){const e=t[yc("0x12a")]();if((!r||!r[yc("0x11d")])&&o[yc("0x77")]((t=>e[yc("0x14b")]((e=>e[yc("0x5a")](t,!0))))))return t;(!t[yc("0xe0")]||!t[yc("0xe0")][yc("0x11d")])&&e[yc("0x77")]((t=>o[yc("0x14b")]((e=>e[yc("0x5a")](t,!0)))))&&t.discard()}const l=(0,e.uid)(),u=i.id,d=yc("0x1")+n,g=this[yc("0x124")]({id:l,type:d,createdAt:new Date,authorId:u,attributes:r});for(const t of o)t[yc("0xcc")](),t[yc("0xaa")]||yc("0x9c")==t[yc("0x130")][yc("0xff")]||this[yc("0xb9")](d,l,u,t,Yr[yc("0x53")]());return g}markAttributeChange(t,n,r,i,o){if(t[yc("0xaa")])return[];if(yc("0x79")===this._trackFormatChanges)return[];const s=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me.id,x=Array[yc("0xa")](this[yc("0xe7")].values())[yc("0x73")]((e=>"attribute"==e[yc("0xb")]&&e[yc("0x27")].key==n&&e[yc("0x6e")](t)));if(yc("0x34")===this[yc("0x71")]){const e=this[yc("0x3")](t,yc("0x164"))[yc("0x73")]((({meta:t})=>t[yc("0x12")]&&!t.isInsideObject&&!t[yc("0x74")]))[yc("0x104")]((({suggestion:t})=>t));x[yc("0x7e")](...e)}const a=new Map([[t,r]]);for(const t of x){const e=yc("0x2")==t[yc("0xb")]?t.data[yc("0x91")]:void 0,o=t[yc("0xb5")](),s=Array[yc("0xa")](a[yc("0x4")]()).find((t=>t[yc("0xd9")](o)));if(!s)continue;const x=s[yc("0x25")](o);this[yc("0x82")](n)&&"insertion"==t[yc("0xb")]&&0!=x[yc("0x7c")]||(a[yc("0xbc")](s),x[yc("0x30")]((t=>{a[yc("0x2d")](t,r)})),yc("0x164")!=t[yc("0xb")]&&e!=i&&a[yc("0x2d")](s[yc("0x6c")](o),e))}const c=[];for(const[t,r]of a){const x=(0,e.uid)(),a={key:n,oldValue:r,newValue:i};n[yc("0x7c")]>37&&console[yc("0x3d")]("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("0xef")+(n+"|")+vc({newValue:i}))[yc("0x14a")](0,60),u=this[yc("0x124")]({id:x,type:l,data:a,createdAt:new Date,authorId:s,attributes:o});c[yc("0x145")](u),this[yc("0xb9")](l,x,s,t)}return c}[yc("0x106")](t){this._blockAttributeKeys[yc("0xed")](t)}[yc("0x67")](t){this[yc("0xb8")][yc("0xed")](t)}[yc("0x6")](t,e=[],n=[]){this.enableCommand(t,((t,...e)=>{this[yc("0x166")]((()=>{t(...e)}))}));for(const t of e)this[yc("0x67")](t);for(const t of n)this[yc("0x106")](t)}_getAttributeKey(t){return yc("0x2")==t[yc("0xb")]?t[yc("0x105")].split("|")[0]:null}[yc("0x6f")](t,e){const n=t[yc("0x163")]();this._model[yc("0x18")]((t=>{t[yc("0x171")](n,{range:e})}))}[yc("0x11b")](t){const e=t.id,n=this[yc("0xab")][yc("0xca")][yc("0xd8")](yc("0x68"));this[yc("0xf3")][yc("0x90")](e)||this[yc("0xf3")][yc("0x1d")]({channelId:n,threadId:e,isResolvable:!1,isSubmitted:!0});const r=this[yc("0xf3")][yc("0x149")](e);r[yc("0xee")](yc("0x64")),r[yc("0x64")]=!1,t[yc("0xf8")]=r}[yc("0x15f")](t,n,r,i){if(t[yc("0xb")]!=n||t.subType!=r||t[yc("0x36")].id!=i)throw this[yc("0xab")][yc("0xe4")](yc("0x12f")),new e.CKEditorError(yc("0x12f"),this)}[yc("0x5c")](t,n){const r=t[yc("0xb5")]();if(n[yc("0x167")](r))t[yc("0x141")]();else if(r.containsRange(n)){const i=this._model.createPositionAt(n[yc("0xc7")][yc("0x80")],yc("0x76"));this[yc("0x6f")](t,this[yc("0x13")][yc("0x2b")](r.start,i));const o=(0,e.uid)(),s=t.creator.id,x=t.type+":"+t[yc("0x105")];this[yc("0x124")]({id:o,type:x,createdAt:new Date,authorId:s,data:t[yc("0x27")],attributes:t.attributes});const a=this._model[yc("0x10e")](n[yc("0x76")][yc("0x101")],"after"),c=this[yc("0x13")][yc("0x2b")](a,r[yc("0x76")]);this[yc("0xb9")](x,o,s,c)}else if(r[yc("0xf2")](n.start)){const e=this[yc("0x13")][yc("0x10e")](n[yc("0xc7")][yc("0x80")],yc("0x76"));this[yc("0x6f")](t,this._model[yc("0x2b")](r[yc("0xc7")],e))}else{const e=this[yc("0x13")][yc("0x10e")](n[yc("0x76")][yc("0x101")],yc("0x1c"));this[yc("0x6f")](t,this._model[yc("0x2b")](e,r.end))}}[yc("0x16c")](t){for(const{suggestion:e,meta:n}of this[yc("0x3")](t,yc("0x164"))){if(!n[yc("0x12")])continue;const r=e.getRanges();for(const e of r)if(!t[yc("0x25")](e)[yc("0x7c")])return!0}return!1}_getAuthorFromId(t){const n=this[yc("0xab")].plugins.get("Users")[yc("0x26")](t);if(!n)throw new e.CKEditorError("track-changes-user-not-found",this);return n}[yc("0x134")](t){const e=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")),n=(0,o.hashObject)(yc("0xce")+t);return e.getUser(n)||e[yc("0xbe")]({id:n,name:t})}[yc("0x146")](t,e,n,r,i){const o=this[yc("0x15d")](r),s=this._suggestionFactory[yc("0x8d")](t,e,n,o,i,(t=>{this._updateSuggestionData(n,{attributes:t});const e=this.getSuggestion(n);this[yc("0xbd")](new Set([e])),this[yc("0x1a")](new Set([e]))}));return this[yc("0xa0")](s,yc("0x29"),(()=>{this._updateSuggestionData(n,{state:yc("0x63")})}),{priority:yc("0xf5")}),this[yc("0xa0")](s,"discard",(()=>{this._updateSuggestionData(n,{state:yc("0x17")})}),{priority:"high"}),this[yc("0xe7")][yc("0x2d")](n,s),this[yc("0x11e")][yc("0x2d")](s,yc("0x139")),s}[yc("0x12b")](t){const e=t[yc("0x16b")](":");return{group:e[0],type:e[1],subType:e.length>=5?e[2]:null,id:e[yc("0x7c")]<5?e[2]:e[3],authorId:e.length<5?e[3]:e[4],markerCount:6==e.length?e[5]:null}}[yc("0x140")](t,n,r){const i=t[yc("0xb5")](),o=i[yc("0xc7")],s=i[yc("0x76")];this._setSuggestionRange(t,this._model[yc("0x2b")](o,n));const x=(0,e.uid)(),a=t[yc("0x36")].id,c=t[yc("0xb")]+(t[yc("0x105")]?":"+t[yc("0x105")]:"");this._setSuggestionData({id:x,type:c,createdAt:new Date,authorId:a,originalSuggestionId:t.id,attributes:t.attributes,data:t[yc("0x27")]});const l=this[yc("0x10a")](t);(yc("0xbb")==t[yc("0xb")]||l&&this[yc("0x82")](l))&&(r=this._model[yc("0x62")](r[yc("0x101")])),this._addSuggestionMarker(c,x,a,this[yc("0x13")][yc("0x2b")](r,s))}[yc("0x3")](t,e=null){const n=[],r=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x15e")).me;Array[yc("0x85")](t)||(t=[t]);for(const i of this.getSuggestions()){if(!i[yc("0xb1")])continue;if(e&&i.type!=e)continue;let o=!1;for(const e of i[yc("0x12a")]()){for(const s of t){const t=s[yc("0xc7")][yc("0x167")](e.end)||s[yc("0x76")][yc("0x167")](e[yc("0xc7")]);if(t||s[yc("0x6c")](e)){const x=s[yc("0x5a")](e)&&Ic(this[yc("0x13")][yc("0x81")],e[yc("0xc7")],s),a=e[yc("0x5a")](s)&&Ic(this[yc("0x13")][yc("0x81")],s[yc("0xc7")],e);n.push({suggestion:i,meta:{isOwn:r==i[yc("0x38")],isNextTo:t,isInsideObject:x,containsRangeInObject:a}}),o=!0;break}}if(o)break}}return n}[yc("0xb9")](t,e,n,r,i){this[yc("0x13")].change((o=>{let s=yc("0x70")+t+":"+e+":"+n;i&&(s=s+":"+i),o[yc("0x142")](s,{range:r,usingOperation:!0,affectsData:!0})}))}_removeSuggestion(t){const e=t.previous,n=t[yc("0x9b")];t.previous=null,t[yc("0x9b")]=null,null!=e&&e[yc("0x9b")]==t&&(e[yc("0x9b")]=n),null!=n&&n.previous==t&&(n.previous=e),yc("0x8b")==this[yc("0x11e")][yc("0xd8")](t)&&(this[yc("0x11e")][yc("0x2d")](t,yc("0x3b")),this[yc("0x11a")]("suggestionUnloaded",t,e,n))}[yc("0x124")](t){const n=t.id,r=this[yc("0x15")](t);if(this._adapter&&this[yc("0x5f")][yc("0xcd")]){const i=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x161")),o=r[yc("0x16d")],s=r[yc("0x105")]?r[yc("0xb")]+":"+r[yc("0x105")]:r[yc("0xb")],x=this.editor[yc("0xac")],a=i[yc("0xed")](Qr(x,yc("0x148"))),c={id:n,type:s,hasComments:o,data:t[yc("0x27")]||null,originalSuggestionId:t[yc("0xc5")]||null,attributes:r.attributes};this[yc("0x5f")][yc("0xcd")](c)[yc("0x115")]((t=>{r._saved=!0,i[yc("0xa5")](a),t&&t[yc("0xa1")]&&(this[yc("0xe7")].get(n).createdAt=t[yc("0xa1")])}))[yc("0xe8")]((t=>{throw(0,e.logWarning)("error-saving-suggestion-data-suggestion-discarded"),this[yc("0xab")][yc("0xec")][yc("0x7a")]({isUndoable:!1},(()=>{r.discard()})),r[yc("0xb6")](),this._suggestions[yc("0xbc")](r.id),this[yc("0x11e")][yc("0xbc")](r),t}))}return r}[yc("0x82")](t){return this[yc("0x14d")][yc("0x94")](t)}[yc("0x10")](t,e){const n=this[yc("0xab")][yc("0x5b")][yc("0xd8")](yc("0x161")),r=this[yc("0x144")](t);if(this[yc("0x5f")]&&this._adapter[yc("0x20")])if(r[yc("0x33")]){const r=n[yc("0xed")](Qr(this[yc("0xab")][yc("0xac")],yc("0x148")));this._adapter[yc("0x20")](t,e)[yc("0x115")]((()=>{n.remove(r)}))}else r.on("change:_saved",(()=>{this._updateSuggestionData(t,e)}))}[yc("0x156")](t){if(!this[yc("0x5f")]||!this[yc("0x5f")][yc("0x144")])throw new e.CKEditorError(yc("0x50"),this);return this._adapter[yc("0x144")](t)}[yc("0x135")](t){const{id:e,type:n,subType:r,authorId:i}=this[yc("0x12b")](t),o=this._suggestions[yc("0xd8")](e)||this._createSuggestion(n,r,e,i,{});switch(this[yc("0x15f")](o,n,r,i),this._suggestionState.get(o)){case"notReady":this._getSuggestionData(e)[yc("0x115")]((t=>{let n=Promise[yc("0x7d")]();t[yc("0x16d")]&&(n=this._commentsRepository[yc("0x109")]({channelId:this[yc("0xab")][yc("0xca")][yc("0xd8")](yc("0x68")),threadId:e})),n.then((()=>{this[yc("0x15")](t)[yc("0x33")]=!0}))})),this[yc("0x11e")][yc("0x2d")](o,"markerReady");break;case yc("0x3b"):this._updateSuggestionData(e,{state:yc("0x60")});case yc("0x96"):this[yc("0x11e")].set(o,"ready"),this[yc("0x11a")](yc("0x95"),o);break;case yc("0x8b"):this[yc("0x11a")](yc("0xc9"),o)}return o[yc("0x174")](t),o}[yc("0x1a")](t){const e=Array[yc("0xa")](t),n=e.filter((t=>yc("0x2")==t[yc("0xb")]));this[yc("0x113")](n);const r=e[yc("0x73")]((t=>!t[yc("0x127")]&&"attribute"!=t[yc("0xb")])),i=this.getSuggestions({skipNotAttached:!0})[yc("0x73")]((t=>!t[yc("0x127")]&&yc("0x2")!=t[yc("0xb")])),o=i[yc("0x73")]((e=>!t[yc("0x94")](e))),s=new Map(i.map((t=>[t,this[yc("0xf0")][yc("0x5")](t.type,t[yc("0x105")],"chain")]))),x=new Map(i[yc("0x104")]((t=>[t,t[yc("0xb5")]()]))),a=new Set,c=new Set;for(let t=0;t<r[yc("0x7c")];t++)u(r[t],r,t+1);for(let t=0;t<r.length;t++)u(r[t],o,0);const l=new Set;for(let t=0;t<r.length;t++){const e=r[t];!c[yc("0x94")](e)&&e.previous&&(l[yc("0xed")](e[yc("0x40")]),e[yc("0x40")][yc("0x9b")]===e&&(e[yc("0x40")][yc("0x9b")]=null),e[yc("0x40")]=null),!a.has(e)&&e[yc("0x9b")]&&(l.add(e[yc("0x9b")]),e[yc("0x9b")][yc("0x40")]===e&&(e[yc("0x9b")][yc("0x40")]=null),e[yc("0x9b")]=null)}function u(t,e,n){for(let r=n;r<e[yc("0x7c")];r++){const n=d(t,e[r]);n&&(n[0].next=n[1],n[1].previous=n[0],a[yc("0xed")](n[0]),c[yc("0xed")](n[1]))}}function d(t,e){if(t[yc("0x38")].id!==e[yc("0x38")].id)return null;const n=s.get(t)(t,e,x.get(t),x.get(e));return n&&s[yc("0xd8")](e)(t,e,x[yc("0xd8")](t),x[yc("0xd8")](e))?n[1][yc("0xf8")]&&n[1].commentThread[yc("0x7c")]?null:n:null}l[yc("0x138")]&&this[yc("0x1a")](l)}[yc("0x113")](t){if(0==t[yc("0x7c")])return;const e=this[yc("0x133")]({skipNotAttached:!0})[yc("0x73")]((t=>yc("0x2")==t[yc("0xb")]&&t[yc("0x51")])),n=[],r=new Map;for(const t of e){const e=(0,o.hashObject)(t[yc("0xe0")]);r[yc("0x94")](e)||(r[yc("0x2d")](e,n[yc("0x7c")]),n[yc("0x145")]([]));const i=r[yc("0xd8")](e);n[i][yc("0x145")](t)}!function(){n[yc("0x86")](((t,e)=>{const n=t[0][yc("0xa1")],r=e[0][yc("0xa1")];return n==r?t[0][yc("0xe0")].groupId<e[0][yc("0xe0")].groupId?-1:1:n<r?-1:1}));for(const t of n)t[yc("0x86")](((t,e)=>t.id<e.id?-1:1))}();for(let t=0;t<n[yc("0x7c")];t++){if(0==n[t][yc("0x7c")])continue;const e=[];for(let r=t+1;r<n[yc("0x7c")];r++)0!=n[r][yc("0x7c")]&&i(n[t],n[r])&&e[yc("0x145")](r);for(const r of e)n[t]=n[t].concat(n[r]),n[r]=[]}for(const t of n)for(let e=0;e<t[yc("0x7c")];e++)t[e][yc("0x9b")]=t[e+1]||null;for(const t of n)for(let e=0;e<t.length;e++)t[e][yc("0x40")]=t[e-1]||null;function i(t,e){if(t[0].attributes[yc("0x37")]!==e[0].attributes[yc("0x37")]&&t[0][yc("0x38")]!==e[0][yc("0x38")])return!1;if(n=t[0],r=e[0],(n[yc("0x16d")]||r.hasComments)&&(n.hasComments&&r[yc("0x16d")]||!(n[yc("0x16d")]&&r[yc("0xa1")]<n[yc("0xf8")].comments[yc("0xd8")](0)[yc("0xa1")]||r.hasComments&&n[yc("0xa1")]<r[yc("0xf8")].comments[yc("0xd8")](0)[yc("0xa1")])))return!1;var n,r;const i=pc(t[0][yc("0xe0")],yc("0x37")),o=pc(e[0].attributes,yc("0x37"));return!!jr(i,o)&&(!!t[yc("0x77")]((t=>e[yc("0x14b")]((e=>t[yc("0xb5")]()[yc("0x167")](e[yc("0xb5")]())))))&&e.every((e=>t.some((t=>e[yc("0xb5")]()[yc("0x167")](t[yc("0xb5")]()))))))}}[yc("0xbd")](t){const e=Array[yc("0xa")](t),n=this.getSuggestions({skipNotAttached:!0}),r=n[yc("0x73")]((e=>!t[yc("0x94")](e))),i=new Map(e[yc("0x104")]((t=>[t,this[yc("0xf0")][yc("0x5")](t[yc("0xb")],t[yc("0x105")],"join")]))),o=new Map(n[yc("0x104")]((t=>[t,t.getRanges()])));for(let t=0;t<e[yc("0x7c")];t++)if(s(this,e[t],e,t+1))return!0;for(let t=0;t<e[yc("0x7c")];t++)if(s(this,e[t],r,0))return!0;return!1;function s(t,e,n,r){for(let s=r;s<n[yc("0x7c")];s++){const r=n[s];if(r[yc("0xb")]!==e[yc("0xb")]||r.author.id!==e[yc("0x38")].id||r[yc("0x105")]!==e[yc("0x105")])continue;if(!Oc(e,r,[yc("0x37")]))continue;if("attribute"==e.type&&e[yc("0x27")].oldValue!=r[yc("0x27")].oldValue)continue;if(yc("0x2")==e[yc("0xb")]&&t._isBlockAttribute(e.data.key))continue;if("formatBlock"==e.type){const n=t[yc("0xab")][yc("0xec")],r=e[yc("0xc6")]();if(r&&(n.schema.isObject(r)||n[yc("0x81")][yc("0x13b")](r)))continue}const x=i.get(e),a=o[yc("0xd8")](e),c=o[yc("0xd8")](r),l=e[yc("0xf8")]&&e[yc("0xf8")][yc("0x7c")],u=r[yc("0xf8")]&&r.commentThread[yc("0x7c")];if(!l&&x(c,a))return t[yc("0x10f")](r,e),o[yc("0xbc")](e),!0;if(!u&&x(a,c))return t[yc("0x10f")](e,r),o[yc("0xbc")](r),!0}return!1}}[yc("0x10f")](t,e){if(t[yc("0x127")])for(const n of e[yc("0x12a")]())t[yc("0x6b")](n);else{const n=e.getFirstRange()[yc("0x76")];this[yc("0x6f")](t,this[yc("0x13")].createRange(t[yc("0xb5")]().start,n))}e[yc("0x141")]()}[yc("0x107")](t,e){const n=t[yc("0x160")](yc("0x126"))||t[yc("0x160")]("attribute")?yc("0x15a"):t[yc("0x3c")]();return Qr(this.editor.locale,e+"_"+n+yc("0xbf"))}[yc("0xad")](){const t=this[yc("0xab")];(0,o.surroundingMarkersDetector)(this._model,(({left:e,entered:n})=>{const r=[];for(const t of e){const{group:e,type:n}=this[yc("0x12b")](t.name);if(yc("0x129")===e){r[yc("0x145")](this[yc("0x107")](n,yc("0x2c")));break}}for(const t of n){const{group:e,type:n}=this[yc("0x12b")](t[yc("0x2e")]);if(yc("0x129")===e){r[yc("0x145")](this[yc("0x107")](n,yc("0x31")));break}}r.length&&t.ui.ariaLiveAnnouncer.announce("trackChanges",r[yc("0x47")](" "))}))}[yc("0x42")](t){if(this._recordAttributeSuggestions)return!1;const e=this[yc("0xab")],n=e[yc("0xec")][yc("0x147")].differ[yc("0x12c")]();if(0==n[yc("0x7c")])return!1;const r=[],i=n[yc("0x73")]((t=>"attribute"==t[yc("0xb")])),o=n[yc("0x73")]((t=>yc("0x122")==t[yc("0xb")]&&yc("0x8f")!=t[yc("0x2e")])),s=n[yc("0x73")]((t=>yc("0xa5")==t[yc("0xb")]&&yc("0x8f")!=t.name));for(const t of i)r[yc("0x145")]({key:t.attributeKey,newValue:t.attributeNewValue,oldValue:t[yc("0x100")],range:Lc(t[yc("0x2a")],e[yc("0xec")])});for(const t of o){const n=s[yc("0x22")]((e=>e.position.isEqual(t[yc("0x170")])));n&&r[yc("0x145")]({key:"$elementName",newValue:t.name,oldValue:n.name,range:e.model[yc("0xae")](t[yc("0x170")][yc("0xd4")])})}return 0!=r[yc("0x7c")]&&this[yc("0x13c")](t,r)}[yc("0x58")](t){let e=!1;const n=this[yc("0xab")][yc("0xec")][yc("0x147")].differ[yc("0x173")]()[yc("0x73")]((t=>t[yc("0x27")][yc("0xb4")]&&t[yc("0x2e")][yc("0x160")](yc("0x5e"))));for(const r of n){const{subType:n,id:i}=this._splitMarkerName(r.name),o=n[yc("0x16b")]("|")[0];for(const n of this[yc("0x133")]({skipNotAttached:!0}))n.id!=i&&yc("0x2")==n[yc("0xb")]&&n[yc("0x27")]&&n[yc("0x27")][yc("0x152")]==o&&n.getFirstRange()[yc("0xd9")](r[yc("0x27")][yc("0xb4")])&&(this._reduceSuggestionAttributeRange(n,r[yc("0x27")][yc("0xb4")],t),e=!0)}return e}[yc("0x166")](t){this[yc("0xab")],this[yc("0x3a")]=!0,t()}_isRegisteredAttribute(t){const e=this[yc("0x82")](t),n=this[yc("0xb8")][yc("0x94")](t);return e||n}[yc("0x13c")](t,e){if(0==e[yc("0x7c")])return!1;let n=!1;for(const r of e){const e=this[yc("0x3")](r.range,yc("0x2"))[yc("0x73")]((t=>!t.meta[yc("0x74")]))[yc("0x104")]((t=>t[yc("0x129")])),i=(0,o.hashObject)({newValue:r.newValue});e[yc("0x73")]((t=>{const[e,n]=t.subType[yc("0x16b")]("|");return e==r[yc("0x152")]&&n!=i}))[yc("0x30")]((e=>{this[yc("0x108")](e,r[yc("0x2a")],t),n=!0}))}return n}[yc("0x108")](t,e,n){const r=t[yc("0xb5")]()[yc("0x25")](e);0!==r.length?1!==r[yc("0x7c")]?this[yc("0x140")](t,e[yc("0xc7")],e[yc("0x76")]):this[yc("0x6f")](t,r[0]):n[yc("0x55")](t.getFirstMarker())}}class kc{constructor(t){this[yc("0xa9")]=t,this[yc("0x13")]=t[yc("0xec")],this[yc("0x45")]=new Map,this[yc("0xa7")]=new Map,this._registerDefaultCallbacks()}[yc("0x8d")](t,e,n,r,i,o){return new Yr(this[yc("0x13")],{type:t,subType:e,id:n,author:r,creator:r,attributes:i,onAttributesChange:o,onAccept:(...n)=>this.getSuggestionCallback(t,e,"accept")(...n),onDiscard:(...n)=>this[yc("0x5")](t,e,yc("0x57"))(...n)})}[yc("0x112")](t,e,n,r){const i=t+":"+e+":"+n;this[yc("0x45")][yc("0x2d")](i,r)}[yc("0x5")](t,e,n){const r=t+":"+e+":"+n;return this._customCallbacks[yc("0xd8")](r)||this[yc("0xa7")].get(t+":"+n)}[yc("0x169")](){const t=()=>!1,e=t=>{t.sort(((t,e)=>t[yc("0xc7")][yc("0xd1")](e[yc("0xc7")])?1:-1)),this._model[yc("0x18")]((e=>{for(const n of t){let t;t=n[yc("0x76")][yc("0x123")]&&n[yc("0x76")][yc("0x101")]==n[yc("0xc7")][yc("0xd4")]?e[yc("0x165")](n[yc("0xc7")][yc("0xd4")],"on"):e[yc("0x165")](n),this[yc("0x13")].deleteContent(t,{forceDefaultExecution:!0,doNotAutoparagraph:!0})}}))},n=(t,e)=>{e&&this[yc("0x13")][yc("0x18")]((n=>{const{commandName:r,commandParams:i=[]}=e,o=t[yc("0x104")]((t=>(Rc(t)&&(t=this._model[yc("0x2b")](t.end)),t))).filter((t=>"$graveyard"!==t[yc("0x130")][yc("0xff")]));if(o.length<1)return;const x=Array[yc("0xa")](this[yc("0x13")][yc("0x147")][yc("0x3e")][yc("0x12a")]()).map((t=>s.LiveRange[yc("0x4b")](t)));n.setSelection(o);for(const t of this[yc("0xa9")][yc("0xd6")][yc("0xd6")]())t[yc("0x8a")]();i.push({forceDefaultExecution:!0}),this._editor[yc("0x7f")](r,...i);const a=x[yc("0x73")]((t=>yc("0x9c")!=t[yc("0x130")][yc("0xff")]));a[yc("0x7c")]>0&&n.setSelection(a);for(const t of x)t[yc("0xcc")]()}))},r=(t,e)=>1==t[yc("0x7c")]&&1==e[yc("0x7c")]&&t[0][yc("0x76")].isEqual(e[0].start),i=(t,e,n,r)=>wc(t,e,n,r,this._model)?[t,e]:wc(e,t,r,n,this[yc("0x13")])?[e,t]:null;this._defaultCallbacks[yc("0x2d")]("insertion:accept",t),this._defaultCallbacks.set(yc("0xdb"),e),this[yc("0xa7")].set("insertion:join",r),this._defaultCallbacks[yc("0x2d")](yc("0xc2"),i),this[yc("0xa7")][yc("0x2d")]("deletion:accept",e),this._defaultCallbacks.set(yc("0xdc"),t),this[yc("0xa7")][yc("0x2d")](yc("0x131"),r),this[yc("0xa7")][yc("0x2d")](yc("0xd0"),i),this[yc("0xa7")][yc("0x2d")]("formatInline:accept",n),this[yc("0xa7")][yc("0x2d")](yc("0x4c"),t),this[yc("0xa7")][yc("0x2d")](yc("0xcf"),r),this[yc("0xa7")][yc("0x2d")](yc("0xd2"),t),this[yc("0xa7")][yc("0x2d")]("formatBlock:accept",n),this[yc("0xa7")][yc("0x2d")](yc("0x111"),t),this[yc("0xa7")][yc("0x2d")]("formatBlock:join",r),this[yc("0xa7")].set("formatBlock:chain",t),this[yc("0xa7")][yc("0x2d")](yc("0x15c"),t),this[yc("0xa7")][yc("0x2d")](yc("0x6a"),((t,e)=>{if(!e)return;const n=this[yc("0xa9")][yc("0x5b")][yc("0xd8")](Ac);this[yc("0x13")][yc("0x18")]((r=>{if("$elementName"==e[yc("0x152")])for(const n of t){const t=n[yc("0xc7")][yc("0xd4")],i=e[yc("0x91")];r[yc("0xe9")](t,i)}else if(n[yc("0x82")](e[yc("0x152")]))for(const n of t)void 0!==e[yc("0x91")]?r[yc("0x3f")](e[yc("0x152")],e.oldValue,n[yc("0xc7")][yc("0xd4")]):r[yc("0x118")](e[yc("0x152")],n.start.nodeAfter);else for(const n of t)e[yc("0x91")]?r[yc("0x3f")](e.key,e[yc("0x91")],n):r.removeAttribute(e[yc("0x152")],n)}))})),this._defaultCallbacks[yc("0x2d")](yc("0x153"),r)}}function Ic(t,e,n){for(const r of e[yc("0x101")][yc("0x116")]({includeSelf:!0,parentFirst:!0})){if(r.root==r)return!1;if(!n.containsItem(r))return!1;if(t.isObject(r)||t[yc("0x13b")](r))return!0}return!1}function Rc(t){return t[yc("0x76")][yc("0x101")]==t[yc("0xc7")].nodeAfter&&t[yc("0x76")][yc("0xfc")]}function Sc(t,e,n,r){const i=t=>!t[yc("0xa6")].is("$textProxy")&&!r[yc("0x21")](t.item),o=t[yc("0xc7")].getLastMatchingPosition(i),s=t.end[yc("0x87")](i,{direction:yc("0x14f")});return!(t[yc("0xc7")].isEqual(o)&&t[yc("0x76")][yc("0x167")](s)||(o.isBefore(s)?n[yc("0x171")](e,{range:n[yc("0x2b")](o,s)}):n[yc("0x55")](e),0))}function vc(t){return(0,o.hashObject)(t)}function Nc(t){const e=t.start[yc("0xd4")];return e&&e.is(yc("0xf"))}function Lc(t,e){return null==t[yc("0x76")][yc("0x80")]&&t[yc("0x76")][yc("0x101")]==t[yc("0xc7")][yc("0xd4")]?Mc(t[yc("0xc7")][yc("0xd4")],e):t}function Mc(t,e){const n=e[yc("0x81")][yc("0x21")](t)||e[yc("0x81")].isSelectable(t);return e[yc("0x2b")](e.createPositionAt(t,yc("0x9a")),n?e[yc("0xd")](t):e[yc("0x10e")](t,yc("0x76")))}function wc(t,e,n,r,i){if(!Oc(t,e))return!1;if(n[yc("0x76")][yc("0x167")](r[yc("0xc7")]))return!0;if(t[yc("0xb")]!=e[yc("0xb")])return!1;if(!n[yc("0x76")][yc("0x16a")](r[yc("0xc7")]))return!1;const o=i.createRange(n.end,r[yc("0xc7")])[yc("0x4f")]();for(const t of o)if(["elementStart",yc("0xba")][yc("0xe1")](t[yc("0xb")])&&i[yc("0x81")][yc("0x13b")](t[yc("0xa6")]))return!1;return!0}function Oc(t,e,n=[]){return!(!t[yc("0x51")]||!e[yc("0x51")])&&jr(pc(t.attributes,n),pc(e[yc("0xe0")],n))}function Fc(t,e){const n=Dc(t[yc("0xe0")]),r=Dc(e);if(!t._isDataLoaded)return!1;for(const t of Object[yc("0x4")](r))if(!jr(n[t],r[t]))return!1;return!0}function Dc(t){const e=Object.assign({},t);return delete e[yc("0x11d")],delete e[yc("0xde")],e}const Pc=["PENDING_ACTION_SUGGESTION","execute","_removePendingAction","change:isDirty","acceptSuggestion","canDiscard","model","isEnabled","unbind","_discardCommand","listenTo","getRanges","commands","canAccept","_setPendingAction","commentThreadController","discardSuggestion","plugins","view","locale","bind","_pendingAction","destroy","PendingActions","canEditAt","get","_acceptCommand","_editor"];var Bc,Uc;Bc=Pc,Uc=410,function(t){for(;--t;)Bc.push(Bc.shift())}(++Uc);const jc=function(t,e){return Pc[t-=0]};class Gc extends((0,e.ObservableMixin)()){constructor(t,e,n,r){super(),this[jc("0x10")]=e,this.view=n,this.commentThreadController=r,this[jc("0x9")]=t,this[jc("0x8")]=t.commands[jc("0x7")](jc("0xe")),this[jc("0x13")]=t[jc("0x16")][jc("0x7")]("discardSuggestion"),this[jc("0x0")][jc("0x2")](jc("0x11")).to(this[jc("0x8")],this[jc("0x13")],((t,e)=>t||e)),this[jc("0x0")][jc("0x2")]("canAccept").to(this._acceptCommand,"isEnabled",(t=>t&&this[jc("0x9")][jc("0x10")][jc("0x6")](e[jc("0x15")]()))),this.view[jc("0x2")]("canDiscard").to(this[jc("0x13")],jc("0x11"),(t=>t&&this[jc("0x9")][jc("0x10")][jc("0x6")](e[jc("0x15")]()))),this._pendingAction=null,n.isDirty&&this[jc("0x18")](),this.listenTo(n,jc("0xe"),(()=>this[jc("0xe")]())),this[jc("0x14")](n,jc("0x1a"),(()=>this[jc("0x1a")]())),this[jc("0x14")](n,jc("0xd"),(()=>{n.isDirty?this[jc("0x18")]():this._removePendingAction()}))}acceptSuggestion(){this._acceptCommand[jc("0xb")](this[jc("0x10")].id)}discardSuggestion(){this[jc("0x13")][jc("0xb")](this[jc("0x10")].id)}[jc("0x4")](){this[jc("0x0")][jc("0x12")](jc("0x11")),this[jc("0x0")].unbind(jc("0x17")),this[jc("0x0")].unbind(jc("0xf")),this.stopListening(),this[jc("0x19")][jc("0x4")](),this[jc("0x3")]&&this[jc("0xc")]()}[jc("0x18")](){const t=Qr(this[jc("0x9")][jc("0x1")],jc("0xa"));this[jc("0x3")]=this[jc("0x9")][jc("0x1b")][jc("0x7")]("PendingActions").add(t)}_removePendingAction(){null!==this[jc("0x3")]&&this[jc("0x9")][jc("0x1b")][jc("0x7")](jc("0x5")).remove(this[jc("0x3")]),this._pendingAction=null}}const Vc=["isReadOnly","canDiscard","_localUser","_createCommentViews","bind","focus","editorConfig","submit","authoredAt","editor","commentThread","addComment","isEnabled","CommentView","commentInputView","commentThreadInputView","destroy","fire","isDirty","delegate","descriptionParts","length","setData","updateComment","commentsListView","removeComment","isActive","locale","_createCommentThreadInputView","_model","set","cancel","showInput","hasDirtyComment","canAccept","disableComments","_config","value"];var Hc,zc;Hc=Vc,zc=146,function(t){for(;--t;)Hc.push(Hc.shift())}(++zc);const Wc=function(t,e){return Vc[t-=0]};class Kc extends i.View{constructor(t,e,n,r){super(t),this[Wc("0x1e")]=null,this[Wc("0x15")]=null,this.set(Wc("0x20"),!1),this[Wc("0x24")](Wc("0xe"),e.authoredAt),this[Wc("0xa")](Wc("0xe")).to(e),this.set(Wc("0x1a"),[]),this.set(Wc("0x18"),!1),this.set(Wc("0x12"),!1),this[Wc("0x24")](Wc("0x2"),!1),this[Wc("0x24")](Wc("0x7"),!1),this[Wc("0x23")]=e,this[Wc("0x8")]=n,this[Wc("0x4")]=r,r[Wc("0x3")]?this[Wc("0x24")](Wc("0x1b"),1):this[Wc("0x9")]()}[Wc("0xb")](){this.element[Wc("0xb")]()}[Wc("0x16")](){this.commentsListView&&this.commentsListView[Wc("0x16")](),this[Wc("0x15")]&&this[Wc("0x15")].destroy(),super[Wc("0x16")]()}[Wc("0x9")](){const{CommentsListView:t}=this[Wc("0x4")];this[Wc("0x1e")]=new t(this[Wc("0x21")],this._model[Wc("0x10")],Object.assign({CommentView:this[Wc("0x4")][Wc("0x13")]},this._config)),this[Wc("0x1e")][Wc("0x19")]("removeComment").to(this),this[Wc("0x1e")][Wc("0x19")](Wc("0x1d")).to(this),this[Wc("0x1e")][Wc("0xa")](Wc("0x20")).to(this),this[Wc("0x24")](Wc("0x1b"),this[Wc("0x1e")].length+1),this.bind(Wc("0x1b")).to(this[Wc("0x1e")],Wc("0x1b"),(t=>t+1)),this[Wc("0x15")]=this[Wc("0x22")](),this.on(Wc("0x1f"),(()=>this[Wc("0xb")]())),this[Wc("0xa")](Wc("0x18")).to(this.commentsListView,Wc("0x1"),this[Wc("0x15")][Wc("0x14")],Wc("0x5"),((t,e)=>t||!!e))}[Wc("0x22")](){const{CommentThreadInputView:t}=this[Wc("0x4")],e=new t(this[Wc("0x21")],this[Wc("0x8")],this._config[Wc("0xc")]),n=e[Wc("0x14")];return e[Wc("0xa")](Wc("0x0")).to(this,Wc("0x20"),this[Wc("0x23")][Wc("0x10")],Wc("0x6"),n,Wc("0x5"),((t,e,n)=>!!n||t&&!e)),n.on(Wc("0xd"),((t,e)=>{this[Wc("0x17")](Wc("0x11"),e),n[Wc("0xf")][Wc("0x1c")]("")})),n.on(Wc("0x25"),(()=>this[Wc("0xb")]())),n[Wc("0xa")]("disabledSubmit").to(this[Wc("0x23")].commentThread,Wc("0x6")),e}}const qc=["isActive","discardSuggestion","</p>","_descriptionElement","ck-suggestion--accept","title","@external","bindTemplate","bind","setTemplate","querySelector","innerHTML","ck-annotation__content-wrapper","_model","ck-suggestion","innerText","change:description","getTemplate","ck-annotation__user","Discard suggestion","attributes","extendTemplate","canAccept","ck-suggestion-wrapper--active","children","getExternalSuggestionNote","element","value","EXTERNAL_IMPORT_WORD_AVATAR","map","isEnabled","<p>",'"></span>',"div","</span>","ck-suggestion__user","execute","ck-annotation","ck-suggestion--discard","check","description","EXTERNAL_SUGGESTION","_createButton","disableComments","delegate","userView","ck-comment__info-time","discardButton","createElement","acceptSuggestion","creator","canDiscard","_config","ck-suggestion--disabled-comments","span",'<span class="ck-suggestion-type">',"importWord",'" title="',"acceptButton","locale","type","ck-suggestion__info-name","ck-suggestion__main","ck-suggestion-","commentThreadInputView","getUserViewNotificationText","push","name","ck-comment__external","ck-annotation__info-time","join","commentsListView","Accept suggestion","source","author","descriptionParts","ck-annotation__info","render","authoredAt","set",'<span class="ck-suggestion-color" style="background-color: ',"editorDestroyed"];var Xc,$c;Xc=qc,$c=338,function(t){for(;--t;)Xc.push(Xc.shift())}(++$c);const Zc=function(t,e){return qc[t-=0]};class Yc extends Kc{constructor(e,n,r,i){super(e,n,r,i),this[Zc("0x45")](Zc("0x32"),""),this[Zc("0x50")](Zc("0x32")).to(this,Zc("0x41"),(t=>t&&t[0]?t[0][Zc("0x32")]:"")),this[Zc("0x50")](Zc("0x1e")).to(this,"descriptionParts",this,Zc("0x48"),((t,e)=>{let n="";for(const e of t)n+=Zc("0x15")+Qc(e.content,e.color)+Zc("0x4a");return e?n:(0,o.trimHtml)(n,{limit:140})})),this[Zc("0x4b")]=null,this[Zc("0x30")]=this._createButton(Qr(e,Zc("0x3e")),t.icons[Zc("0x1d")],Zc("0x4c"),Zc("0x27"),"sw"),this.acceptButton.bind(Zc("0x14")).to(this,Zc("0xc")),this.discardButton=this[Zc("0x20")](Qr(e,Zc("0x9")),t.icons.cancel,Zc("0x1c"),Zc("0x49"),"sw"),this[Zc("0x25")][Zc("0x50")](Zc("0x14")).to(this,Zc("0x29")),this.userView=new o.UserView(e,this._model[Zc("0x40")],this[Zc("0x37")]()),this[Zc("0x23")].extendTemplate({attributes:{class:[Zc("0x19"),Zc("0x8")]}}),this[Zc("0x51")](this[Zc("0x7")]())}[Zc("0x7")](){const t=this[Zc("0x4f")],e=[{tag:"div",attributes:{class:["ck-suggestion__info",Zc("0x42")]},children:[{tag:Zc("0x2c"),children:[{text:this[Zc("0x23")][Zc("0x39")]}],attributes:{class:[Zc("0x33"),"ck-annotation__info-name"]}},{tag:"time",attributes:{datetime:t.to(Zc("0x44")),class:[Zc("0x24"),Zc("0x3b")]},children:[{text:t.to("authoredAt",(t=>this[Zc("0x2a")].formatDateTime(t)))}]}]},{tag:"div",attributes:{class:["ck-suggestion__actions","ck-annotation__actions"]},children:[this[Zc("0x30")],this[Zc("0x25")]]},{tag:"div",attributes:{class:[Zc("0x2")]}}];this[Zc("0x3")].isExternal&&e[Zc("0x38")]({tag:Zc("0x17"),attributes:{class:[Zc("0x3a")]},children:[{text:this[Zc("0xf")]()}]});const n={tag:"div",attributes:{class:["ck-suggestion-wrapper",t.if(Zc("0x48"),Zc("0xd")),t.to("type",(t=>Zc("0x35")+t)),this[Zc("0x2a")][Zc("0x21")]&&Zc("0x2b")],"data-suggestion-id":this._model.id,"data-thread-id":this[Zc("0x3")].commentThread.id,"data-author-id":this._model.author.id,tabindex:-1},children:[{tag:Zc("0x17"),attributes:{class:[Zc("0x4"),Zc("0x1b")]},children:[this[Zc("0x23")],{tag:Zc("0x17"),attributes:{class:[Zc("0x34"),"ck-annotation__main"]},children:e}]}]};return this[Zc("0x3d")]&&this[Zc("0x36")]&&(n[Zc("0xe")].push(this.commentsListView,this[Zc("0x36")]),this[Zc("0x3d")][Zc("0x22")]("editorReady").to(this),this[Zc("0x3d")][Zc("0x22")](Zc("0x47")).to(this),this.commentThreadInputView[Zc("0x22")]("editorReady").to(this),this.commentThreadInputView[Zc("0x22")](Zc("0x47")).to(this)),n}[Zc("0x43")](){super[Zc("0x43")](),this[Zc("0x4b")]=this[Zc("0x10")][Zc("0x0")](".ck-annotation__content-wrapper"),this[Zc("0x4b")][Zc("0x1")]=this[Zc("0x1e")],this.on(Zc("0x6"),((t,e,n)=>{this[Zc("0x4b")][Zc("0x1")]=n}))}[Zc("0x20")](t,e,n,r,o){const s=new i.ButtonView(this[Zc("0x31")]);return s[Zc("0x45")]({label:t,icon:e,tooltip:!0,tooltipPosition:o}),s[Zc("0xb")]({attributes:{class:n}}),s.on(Zc("0x1a"),(()=>{this.fire(r,this[Zc("0x3")].id)})),s}[Zc("0xf")](){return Zc("0x2e")===this[Zc("0x3")][Zc("0xa")][Zc("0x4e")][Zc("0x3f")]?Qr(this[Zc("0x31")],"EXTERNAL_IMPORT_WORD_SUGGESTION"):Qr(this[Zc("0x31")],Zc("0x1f"))}[Zc("0x37")](){return this[Zc("0x3")].isExternal?Zc("0x2e")===this[Zc("0x3")][Zc("0xa")]["@external"][Zc("0x3f")]?Qr(this[Zc("0x31")],Zc("0x12"),this[Zc("0x3")][Zc("0x28")][Zc("0x39")]):Qr(this[Zc("0x31")],"EXTERNAL_AVATAR",this._model[Zc("0x28")][Zc("0x39")]):null}}function Qc(t,e){let n="";return n+=t.split("*")[Zc("0x13")](((t,e)=>e%2!=0?Zc("0x2d")+Jc(t)+Zc("0x18"):Jc(t)))[Zc("0x3c")](""),e&&(n+=Zc("0x46")+e[Zc("0x11")]+Zc("0x2f")+e[Zc("0x4d")]+Zc("0x16")),n}function Jc(t){const e=document[Zc("0x26")](Zc("0x2c"));return e[Zc("0x5")]=t,e.innerHTML}const tl=["change:previous","isMultiRange","isOn","CommentsRepository","head","SuggestionThreadView","add","activeMarkers","pluginName","set","_destroyController","reduce","trackChanges.disableComments","_handleSuggestionControllerDelayed","_viewToController","addComment","change:activeAnnotations","addSourceCollector","arrowView","getDescriptions","getByInnerView","config","actionView","_descriptionFactory","comments.maxCommentCharsWhenCollapsed","commandName","_unbindEditors","acceptSelectedSuggestions","discardSelectedSuggestions","define","comments.maxCommentsWhenCollapsed","_handleControllerBuffer","from","suggestionChanged","delete","toMany","refreshSelectedViews","createAnnotation","isDirty","CommentsUI","source","some","map","getMarkerNames","hasSuggestion","button","has","switchbutton","TrackChangesUI","separator","get","locale","view","type","EditorAnnotations","trackChanges","requires","Annotations","descriptionParts","lowest","isEnabled","mainView","_annotationViews","_updateController","values","bind","getMarkers","focus","commands","remove","_disableComments","filter","plugins","push","_suggestionToController","comments.editorConfig","execute","keys","comments.maxThreadTotalWeight","suggestionUnloaded","TrackChangesEditing","model","destroy","init","buttonView","CommentView","innerView","_bindAnnotationToEditors","editing","suggestion-","length","Accept all suggestions","componentFactory","getSuggestion","listenTo","editor","getAllAdjacentSuggestions","_createUIButton","acceptAllSuggestions","discardButton","Track changes","discardAllSuggestions","_initializeController","commentThread","_refreshActiveMarkers","previous","unbind","isInContent"];var el,nl;el=tl,nl=214,function(t){for(;--t;)el.push(el.shift())}(++nl);const rl=function(t,e){return tl[t-=0]};class il extends t.Plugin{static get[rl("0x3a")](){return[Ac,o.Users,rl("0x5"),"Annotations",rl("0x38")]}static get[rl("0xa")](){return rl("0x32")}constructor(t){super(t),this[rl("0x4c")]=new Map,this._viewToController=new Map,this[rl("0x40")]=new Map,this[rl("0x21")]=new Map;const e=this[rl("0x61")][rl("0x17")];e[rl("0x1f")]("trackChanges.SuggestionThreadView",Yc),e[rl("0x1f")]("trackChanges.disableComments",!1),this[rl("0x48")]=e.get(rl("0xe"))}[rl("0xf")](t,e){0===this[rl("0x21")].size&&setTimeout((()=>{for(const[t,e]of this[rl("0x21")]){const n=this._suggestionToController[rl("0x30")](t);n||e?n&&e&&this._destroyController(t):this._initializeController(t)}this[rl("0x21")].clear(),this.editor.plugins[rl("0x34")](rl("0x38"))[rl("0x26")](),this[rl("0x6a")]()}),10),this[rl("0x21")].set(t,e)}[rl("0x55")](){const t=this[rl("0x61")],e=t.plugins.get(rl("0x52")),n=t[rl("0x4a")].get(rl("0x3b")),r=t[rl("0x4a")][rl("0x34")](rl("0x38")),i=t[rl("0x4a")][rl("0x34")](rl("0x5"));t.ui[rl("0x5e")][rl("0x8")](rl("0x39"),(t=>this[rl("0x63")](t))),r[rl("0x13")]((()=>{const t=[];for(const[e,n]of Array[rl("0x22")](this[rl("0x4c")])){const r=e[rl("0x62")](),i=[];for(const t of r){if(!t[rl("0x1")])continue;if(t[rl("0x3")]){i.push(...t.getRanges());continue}const e=t.getFirstRange();if(i[rl("0x5c")]>0){const t=i[0].getJoined(e);if(t){i[0]=t;continue}}i[rl("0x4b")](e)}t[rl("0x4b")]([n.view,i])}return t})),this.listenTo(e,"suggestionLoaded",((t,e)=>{this.listenTo(e,rl("0x2"),((t,n,r,i)=>{e.isInContent&&(null==r?(this[rl("0x41")](i[rl("0x6")]),this[rl("0xf")](e,!1)):(this[rl("0x41")](r[rl("0x6")]),null==i&&this._handleSuggestionControllerDelayed(e,!0)))})),null!==e[rl("0x6b")]?this[rl("0x41")](e[rl("0x6")]):this._handleSuggestionControllerDelayed(e,!1)})),this[rl("0x60")](e,rl("0x51"),((t,e,n)=>{this.stopListening(e,rl("0x2")),this._handleControllerBuffer[rl("0x24")](e),this[rl("0x4c")][rl("0x30")](e)&&this._destroyController(e),n&&this[rl("0x41")](n[rl("0x6")])})),this.listenTo(e,rl("0x23"),((t,e)=>{this[rl("0x41")](e)})),this[rl("0x60")](n,rl("0x12"),(()=>{this[rl("0x6a")]()})),this[rl("0x60")](i,rl("0x11"),((t,{threadId:n,isFromAdapter:r})=>{if(r||!e[rl("0x2e")](n))return;const i=e[rl("0x5f")](n);this[rl("0x4c")][rl("0x34")](i)[rl("0x36")][rl("0x45")]()}),{priority:rl("0x3d")})}[rl("0x6a")](){const t=this.editor[rl("0x4a")].get("Annotations"),e=this.editor[rl("0x4a")][rl("0x34")](rl("0x52")),n=Array.from(t.activeAnnotations,(t=>t[rl("0x58")]))[rl("0x49")]((t=>this[rl("0x10")][rl("0x30")](t))),r=[];for(const t of n){const e=this[rl("0x10")][rl("0x34")](t).model.getAllAdjacentSuggestions();r.push(...e[rl("0xd")](((t,e)=>[...t,...e[rl("0x2d")]()]),[]))}e[rl("0x9")]=r}[rl("0x63")](t){const n=(0,i.createDropdown)(t,i.SplitButtonView),r=this[rl("0x61")][rl("0x46")][rl("0x34")](rl("0x39")),o=Qr(t,rl("0x66"));n[rl("0x56")].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[rl("0x56")].bind(rl("0x4")).to(r,"value"),n[rl("0x56")].on(rl("0x4e"),(()=>{r.execute(),this[rl("0x61")].editing.view[rl("0x45")]()}));const s=new e.Collection,x=[{type:rl("0x31"),model:{withText:!0,label:o,commandName:rl("0x39")}},{type:"separator"},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,rl("0x5d")),commandName:rl("0x64")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Accept all selected suggestions"),commandName:rl("0x1d")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Discard all suggestions"),commandName:rl("0x67")}},{type:rl("0x2f"),model:{withText:!0,label:Qr(t,"Discard all selected suggestions"),commandName:rl("0x1e")}}];for(const t of x){let e={type:rl("0x33")};if(t.model){const n=new i.ViewModel(t[rl("0x53")]),r=this.editor.commands[rl("0x34")](n[rl("0x1b")]);n.bind(rl("0x4"),rl("0x3e")).to(r,"value",rl("0x3e")),e={type:t[rl("0x37")],model:n}}s[rl("0x8")](e)}(0,i.addListToDropdown)(n,s);const a=x[rl("0x49")]((t=>null!=t[rl("0x53")]))[rl("0x2c")]((t=>this[rl("0x61")].commands[rl("0x34")](t[rl("0x53")][rl("0x1b")]))),c=n[rl("0x56")];return c[rl("0x18")][rl("0x0")]("isEnabled"),c[rl("0x14")][rl("0x0")]("isEnabled"),c[rl("0x18")][rl("0x43")](rl("0x3e")).to(r,rl("0x3e")),c.arrowView[rl("0x43")](rl("0x3e"))[rl("0x25")](a,rl("0x3e"),((...t)=>t[rl("0x2b")]((t=>t)))),n.on(rl("0x4e"),(t=>{this[rl("0x61")][rl("0x4e")](t[rl("0x2a")][rl("0x1b")]),this[rl("0x61")][rl("0x5a")].view[rl("0x45")]()})),n}[rl("0x68")](t){const e=this[rl("0x61")],n=e.config,r=e[rl("0x4a")][rl("0x34")](rl("0x3b")),i=e[rl("0x4a")][rl("0x34")](rl("0x5")),s=e[rl("0x4a")][rl("0x34")](rl("0x38")),x=e[rl("0x4a")].get(o.Users).me,a=n[rl("0x34")](rl("0x39"))[rl("0x7")],{CommentsListView:c,CommentThreadInputView:l}=e[rl("0x4a")].get(rl("0x29"));let u,d;this[rl("0x40")][rl("0x30")](t.id)?(d=this[rl("0x40")][rl("0x34")](t.id),u=d[rl("0x3f")]):(u=new a(e[rl("0x35")],t,x,{disableComments:this[rl("0x48")],editorConfig:n[rl("0x34")](rl("0x4d")),maxCommentsWhenCollapsed:n.get(rl("0x20")),maxThreadTotalWeight:n.get(rl("0x50")),maxCommentCharsWhenCollapsed:n[rl("0x34")](rl("0x1a")),formatDateTime:(0,o.getDateTimeFormatter)(n[rl("0x34")](rl("0x35"))),CommentView:n[rl("0x34")]("comments")[rl("0x57")],CommentsListView:c,CommentThreadInputView:l}),u.acceptButton.on("execute",(()=>{e[rl("0x5a")].view[rl("0x45")]()})),u[rl("0x65")].on("execute",(()=>{e[rl("0x5a")].view[rl("0x45")]()})),d=r.createAnnotationView(this.editor[rl("0x35")],u),d[rl("0x43")](rl("0x28")).to(u,rl("0x28")),d.bind("length").to(u),d[rl("0x43")]("type").to(u,rl("0x37"),(t=>rl("0x5b")+t)),this[rl("0x40")][rl("0xb")](t.id,d));const g=i.createCommentThreadController(t[rl("0x69")],u),f=new Gc(e,t,u,g),h=t[rl("0x62")]().filter((t=>t[rl("0x1")]));u.descriptionParts=e.plugins[rl("0x34")]("TrackChangesEditing")[rl("0x19")][rl("0x15")](h),this[rl("0x4c")][rl("0xb")](t,f),this[rl("0x10")][rl("0xb")](u,f);const m=r[rl("0x27")]({view:d,target:()=>{const n=[],r=t[rl("0x62")]()[rl("0x49")]((t=>t[rl("0x1")]));for(const t of r)n[rl("0x4b")](...t[rl("0x44")]());return(0,o.getAllMarkersDomElementsSorted)(e[rl("0x5a")],n)},type:()=>"suggestion-"+f[rl("0x36")][rl("0x37")]});i[rl("0x59")](u,m),r.add(m),s.registerAnnotation(m)}_destroyController(t){const e=this.editor[rl("0x4a")][rl("0x34")](rl("0x5")),n=this[rl("0x61")][rl("0x4a")][rl("0x34")](rl("0x3b")),r=this[rl("0x4c")][rl("0x34")](t),i=r[rl("0x36")],o=n[rl("0x16")](i);e[rl("0x1c")](i),o&&n[rl("0x47")](o),this[rl("0x4c")].delete(t),this[rl("0x10")].delete(i),r.destroy()}_updateController(t){if(!t[rl("0x1")]||!this._suggestionToController.has(t))return;const e=this[rl("0x61")].plugins[rl("0x34")]("TrackChangesEditing"),n=this[rl("0x4c")][rl("0x34")](t),r=t.getAllAdjacentSuggestions();n.view[rl("0x3c")]=e[rl("0x19")][rl("0x15")](r)}[rl("0x54")](){for(const t of this._suggestionToController[rl("0x4f")]())this[rl("0xc")](t);for(const t of this[rl("0x40")][rl("0x42")]())t[rl("0x3f")][rl("0x54")]();super[rl("0x54")]()}}var ol,sl,xl=["plugins","Comments","getSuggestions","requires","editor","adapter","getSuggestion","get"];ol=xl,sl=203,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("0x0")](){return[Ac,il,al("0x6")]}static get pluginName(){return"TrackChanges"}set adapter(t){this[al("0x1")][al("0x5")][al("0x4")](Ac)[al("0x2")]=t}get[al("0x2")](){return this[al("0x1")][al("0x5")][al("0x4")](Ac)[al("0x2")]}addSuggestion(t){return this[al("0x1")][al("0x5")][al("0x4")](Ac).addSuggestionData(t)}[al("0x7")]({skipNotAttached:t=!1,toJSON:e=!1}={}){return this[al("0x1")].plugins[al("0x4")](Ac)[al("0x7")]({skipNotAttached:t,toJSON:e})}[al("0x3")](t){return this.editor[al("0x5")][al("0x4")](Ac).getSuggestion(t)}}const ll=["getRootsAttributes","name","createDocumentFragment","get","acceptAllSuggestions","data","CommentsRepository","addSuggestionData","addUser","plugins","result","getDataWithDiscardedSuggestions","reduce","getRootNames","editor","function","TrackChangesData","div","destroy","config","end","create","model","set","discardAllSuggestions","_adapter","Pagination","map","users","define","getUser","TrackChangesEditing","appendChild","rootsAttributes","editorCreator","trackChangesData","document","createElement","push","Users","trackChangesData.editorCreator","constructor","init","getSuggestions"];var ul,dl;ul=ll,dl=297,function(t){for(;--t;)ul.push(ul.shift())}(++dl);const gl=function(t,e){return ll[t-=0]},fl=[gl("0x25")];class hl extends t.Plugin{static get requires(){return[Ac]}static get pluginName(){return gl("0x1b")}init(){const t=this[gl("0x19")];if(t[gl("0x1e")][gl("0x28")](gl("0x7"),(e=>{const n=t[gl("0x21")][gl("0x3")].getRootNames()[gl("0x17")](((t,e)=>(t[e]="",t)),{});return t[gl("0x8")][gl("0x20")](n,e)})),gl("0x1a")!=typeof t[gl("0x1e")][gl("0xe")]("trackChangesData")[gl("0x1")])throw new e.CKEditorError("track-changes-data-invalid-editor-creator")}getDataWithAcceptedSuggestions(t){return pl(this.editor,!0,t)}[gl("0x16")](t){return pl(this.editor,!1,t)}}class ml extends t.Plugin{static get pluginName(){return"TrackChangesDataGetter"}constructor(t){super(t),this[gl("0x15")]=gl("0x1f")}[gl("0x9")](){this[gl("0x19")][gl("0x14")][gl("0xe")](gl("0x11"))[gl("0x24")]={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.editor.plugins[gl("0xe")](gl("0x2a"))._adapter=null}}function bl(t){return void 0!==t[gl("0xb")]}async function pl(t,e,n){const r=(0,o.sanitizeEditorConfig)(t,fl);r.plugins[gl("0x5")](Ac,ml),r[gl("0x0")]=bl(t)?t[gl("0xb")]():void 0;const i=document[gl("0xd")](),s=t[gl("0x1e")].get(gl("0x2")).editorCreator,x=await s(r,(()=>function(t){const e=document[gl("0x4")](gl("0x1c"));return t[gl("0x2b")](e),e}(i)));!function(t,e){const n=t[gl("0x21")][gl("0x3")][gl("0x18")]()[gl("0x17")](((e,n)=>(e[n]=t[gl("0x10")][gl("0xe")]({rootName:n}),e)),{}),r=t.plugins[gl("0xe")](gl("0x6"))[gl("0x27")][gl("0x26")]((t=>({id:t.id,name:t[gl("0xc")]}))),i=t[gl("0x14")].get(gl("0x2a"))[gl("0xa")]({skipNotAttached:!0,toJSON:!0}),o=e[gl("0x14")][gl("0xe")](gl("0x6")),s=e[gl("0x14")][gl("0xe")]("TrackChangesEditing");for(const t of r)o[gl("0x29")](t.id)||o[gl("0x13")](t);o.me||o.useAnonymousUser();for(const t of i)s[gl("0x12")](t);e[gl("0x10")][gl("0x22")](n)}(t,x),x.execute(gl(e?"0xf":"0x23"));const a=bl(x)?x.getFullData(n):x.data[gl("0xe")](n);return await x[gl("0x1d")](),a}})(),(window.CKEditor5=window.CKEditor5||{}).trackChanges=r})();
|
|
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})();
|