UNPKG

@ckeditor/ckeditor5-track-changes

Version:

CKEditor 5 track changes plugin.

5 lines • 294 kB
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"*Change %0 content*":"*Change %0 content*","*Change to:* %0":"*Change to:* %0","*Check item*":"*Check item*","*Format:* %0":"*Format:* %0","*Format:* change table cell properties":"*Format:* change table cell properties","*Format:* change table properties":"*Format:* change table properties","*Format:* insert into %0":"*Format:* insert into %0","*Format:* remove from %0":"*Format:* remove from %0","*Format:* resize table":"*Format:* resize table","*Format:* set order to regular":"*Format:* set order to regular","*Format:* set order to reversed":"*Format:* set order to reversed","*Format:* set start index to %0":"*Format:* set start index to %0","*Indent:* %0":"*Indent:* %0","*Insert:* %0":"*Insert:* %0","*Merge cells*":"*Merge cells*","*Merge:* %0":"*Merge:* %0","*Outdent:* %0":"*Outdent:* %0","*Remove all formatting*":"*Remove all formatting*","*Remove format:* %0":"*Remove format:* %0","*Remove highlight*":"*Remove highlight*","*Remove image text alternative*":"*Remove image text alternative*","*Remove link*":"*Remove link*","*Remove:* %0":"*Remove:* %0","*Replace image*":"*Replace image*","*Replace table cells*":"*Replace table cells*","*Reset font background color*":"*Reset font background color*","*Reset font color*":"*Reset font color*","*Reset font family*":"*Reset font family*","*Reset font size*":"*Reset font size*","*Reset image width*":"*Reset image width*","*Set bookmark:* %0":"*Set bookmark:* %0","*Set font background color:* %0":"*Set font background color:* %0","*Set font color:* %0":"*Set font color:* %0","*Set font family:* %0":"*Set font family:* %0","*Set font size:* %0":"*Set font size:* %0","*Set format to:* %0":"*Set format to:* %0","*Set format:* %0":"*Set format:* %0","*Set highlight:* %0":"*Set highlight:* %0","*Set image text alternative:* %0":"*Set image text alternative:* %0","*Set image width:* %0":"*Set image width:* %0","*Set link:* %0":"*Set link:* %0","*Set table type:* %0":"*Set table type:* %0","*Split cell:* horizontally":"*Split cell:* horizontally","*Split cell:* vertically":"*Split cell:* vertically","*Split:* %0":"*Split:* %0","*Uncheck item*":"*Uncheck item*","Accept all selected suggestions":"Accept all selected suggestions","Accept all suggestions":"Accept all suggestions","Accept suggestion":"Accept suggestion","Discard all selected suggestions":"Discard all selected suggestions","Discard all suggestions":"Discard all suggestions","Discard suggestion":"Discard suggestion",ELEMENT_BLOCK_QUOTE:"block quote",ELEMENT_BOOKMARK:["bookmark","%0 bookmarks"],ELEMENT_BULLETED_LIST:"bulleted list",ELEMENT_BULLETED_LIST_CIRCLE:"bulleted list (circle)",ELEMENT_BULLETED_LIST_DEFAULT:"bulleted list (default)",ELEMENT_BULLETED_LIST_DISC:"bulleted list (disc)",ELEMENT_BULLETED_LIST_SQUARE:"bulleted list (square)",ELEMENT_CAPTION:"caption",ELEMENT_CODE_BLOCK:["code block","%0 code blocks"],ELEMENT_CONTENT_TABLE:["content table","%0 content tables"],ELEMENT_DEFAULT_LIST_DEFAULT:"default list style",ELEMENT_HEADING:["heading (level %1)","%0 headings (level %1)"],ELEMENT_HEADING_CUSTOM:["heading (%1)","%0 headings (%1)"],ELEMENT_HORIZONTAL_LINE:["horizontal line","%0 horizontal lines"],ELEMENT_HTML_EMBED:["HTML embed","%0 HTML embeds"],ELEMENT_IMAGE:["image","%0 images"],ELEMENT_INLINE_IMAGE:["image","%0 images"],ELEMENT_LAYOUT_TABLE:["layout table","%0 layout tables"],ELEMENT_LINE_BREAK:["line break","%0 line breaks"],ELEMENT_LIST_ITEM:["list item","%0 list items"],ELEMENT_MEDIA:["media item","%0 media items"],ELEMENT_MERGE_FIELD:["merge field","%0 merge fields"],ELEMENT_MULTI_LEVEL_LIST:"multi-level list",ELEMENT_NUMBERED_LIST:"numbered list",ELEMENT_NUMBERED_LIST_DECIMAL:"numbered list (decimal)",ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO:"numbered list (decimal with leading zero)",ELEMENT_NUMBERED_LIST_DEFAULT:"numbered list (default)",ELEMENT_NUMBERED_LIST_LOWER_LATIN:"numbered list (lower-latin)",ELEMENT_NUMBERED_LIST_LOWER_ROMAN:"numbered list (lower-roman)",ELEMENT_NUMBERED_LIST_UPPER_LATIN:"numbered list (upper-latin)",ELEMENT_NUMBERED_LIST_UPPER_ROMAN:"numbered list (upper-roman)",ELEMENT_PAGE_BREAK:["page break","%0 page breaks"],ELEMENT_PARAGRAPH:["paragraph","%0 paragraphs"],ELEMENT_SPACE:["space","%0 spaces"],ELEMENT_TABLE:["table","%0 tables"],ELEMENT_TABLE_COLUMN:["table column","%0 table columns"],ELEMENT_TABLE_COLUMN_WITH_TEXT:["table column *with text* %1","%0 table columns *with text* %1"],ELEMENT_TABLE_OF_CONTENTS:["table of contents","%0 tables of contents"],ELEMENT_TABLE_ROW:["table row","%0 table rows"],ELEMENT_TABLE_ROW_WITH_TEXT:["table row *with text* %1","%0 table rows *with text* %1"],ELEMENT_TABLE_WITH_TEXT:"table *with text* %0",ELEMENT_TITLE:"title",ELEMENT_TODO_LIST:"to-do list",ENTER_DELETION_SUGGESTION_ANNOUNCEMENT:"Entering deletion suggestion. Press %0 to go to the discussion.",ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Entering formatting suggestion. Press %0 to go to the discussion.",ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT:"Entering insertion suggestion. Press %0 to go to the discussion.",EXTERNAL_IMPORT_WORD_SUGGESTION:"This suggestion comes from an imported Word file.",EXTERNAL_SUGGESTION:"This suggestion comes from an external source.","Final content preview":"Final content preview",FORMAT_ALIGN_TO_CENTER:"align to center",FORMAT_ALIGN_TO_LEFT:"align to left",FORMAT_ALIGN_TO_RIGHT:"align to right",FORMAT_ALIGNMENT:"alignment",FORMAT_BOLD:"bold",FORMAT_CODE:"code",FORMAT_FONT_BACKGROUND:"font background color",FORMAT_FONT_COLOR:"font color",FORMAT_FONT_FAMILY:"font family",FORMAT_FONT_SIZE:"font size",FORMAT_HEADER_COLUMN:"header column",FORMAT_HEADER_ROW:"header row",FORMAT_HIGHLIGHT:"highlight",FORMAT_IMAGE_SIZE:"image size",FORMAT_INDENT:"indent",FORMAT_ITALIC:"italic",FORMAT_JUSTIFY_TEXT:"justify",FORMAT_LIST_REVERSED:"list reversed",FORMAT_LIST_START:"list start",FORMAT_REGULAR_COLUMN:"regular column",FORMAT_REGULAR_ROW:"regular row",FORMAT_RESTRICTED_DISABLED:"*Disable in restricted editing mode*",FORMAT_RESTRICTED_ENABLED:"*Enable in restricted editing mode*",FORMAT_SIDE_IMAGE:"side image",FORMAT_STRIKETHROUGH:"strikethrough",FORMAT_STYLE:"style",FORMAT_SUBSCRIPT:"subscript",FORMAT_SUPERSCRIPT:"superscript",FORMAT_UNDERLINE:"underline",LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT:"Leaving deletion suggestion.",LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT:"Leaving formatting suggestion.",LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT:"Leaving insertion suggestion.",PENDING_ACTION_SUGGESTION:"Unsaved change in suggestion.","Preview final content":"Preview final content",REPLACE_TEXT:"*Replace:* %0 *with* %1",SUGGESTION_THREAD_ARIA_LABEL:["Suggestion by %1. Created on %2. %0 reply. %3","Suggestion by %1. Created on %2. %0 replies. %3"],SUGGESTION_THREAD_DESCRIPTION:"Press Enter for more options. Press Escape to exit.","Track changes":"Track changes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})), /*! * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},209:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var s=n(168),r=n.n(s),i=n(433),o=n.n(i)()(r());o.push([t.id,".ck.ck-track-changes-preview{max-height:80vh;max-width:80vw;overflow-x:hidden;user-select:text}.ck.ck-content.ck-track-changes-preview__root-container[data-ck-root-name]{border:none;margin:0}",""]);const a=o},211:(t,e,n)=>{t.exports=n(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var s=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},331:(t,e,n)=>{t.exports=n(237)("./src/clipboard.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",s=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),s&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),s&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,s,r,i){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},507:(t,e,n)=>{t.exports=n(237)("./src/enter.js")},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function s(t,e,s,r){var i;if(s)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,o&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,i);else{var a=document.createTextNode(i),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,n=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){s(n,e,!1,t)},remove:function(t){s(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,s=0;s<e.length;s++)if(e[s].identifier===t){n=s;break}return n}function s(t,s){for(var i={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var h=n(f),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)e[h].references++,e[h].updater(d);else{var g=r(d,s);s.byIndex=a,e.splice(a,0,{identifier:f,updater:g,references:1})}o.push(f)}return o}function r(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var i=s(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<i.length;o++){var a=n(i[o]);e[a].references--}for(var c=s(t,r),u=0;u<i.length;u++){var l=n(i[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}i=c}}},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},783:(t,e,n)=>{t.exports=n(237)("./src/engine.js")},834:(t,e,n)=>{t.exports=n(237)("./src/typing.js")},901:(t,e,n)=>{t.exports=n(237)("./src/widget.js")}},e={};function n(s){var r=e[s];if(void 0!==r)return r.exports;var i=e[s]={id:s,exports:{}};return t[s](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var s in e)n.o(e,s)&&!n.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},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 s={};(()=>{"use strict";n.r(s),n.d(s,{BaseSuggestionThreadView:()=>Fi,Suggestion:()=>Nt,SuggestionThreadView:()=>Bi,SuggestionView:()=>ji,TrackChanges:()=>Ji,TrackChangesData:()=>to,TrackChangesEditing:()=>di,TrackChangesPreview:()=>Ro});var t=n(782),e=n(584),r=n(355),i=n(311),o=n(211),a=n(783),c=n(901);function u(){const t=["133134pihLJz","7tXIqus","TrackChangesCommand","affectsData","15lMpMpb","55719NYScQH","1303134RTyxfi","has","value","110EEwUtf","clearForceDisabled","execute","1637395fdAcbU","401256aiXBvy","_isEnabledBasedOnSelection","_enabledCommands","refresh","isEnabled","4179880ZbNnFf","_enableCommands","commands","_disableUnsupportedCommands","editor","45364KqUIMJ","forceDisabled"];return(u=function(){return t})()}function l(t,e){const n=u();return(l=function(t,e){return n[t-=116]})(t,e)}const f=l;!function(t){const e=l,n=t();for(;;)try{if(309482===-parseInt(e(124))/1+parseInt(e(136))/2+-parseInt(e(140))/3*(parseInt(e(134))/4)+parseInt(e(123))/5+-parseInt(e(117))/6*(parseInt(e(137))/7)+parseInt(e(129))/8+parseInt(e(116))/9*(parseInt(e(120))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(u);class h extends t.Command{[f(126)];constructor(t,e){const n=f;super(t),this[n(126)]=e,this[n(119)]=!1,this[n(127)](),this[n(125)]=!1}[f(127)](){this[f(128)]=!0}[f(122)](){const t=f;this[t(119)]=!this[t(119)],this[t(119)]?this[t(132)]():this[t(130)]()}[f(132)](){const t=f;for(const e of this[t(133)][t(131)][t(131)]())e[t(139)]&&!this[t(126)][t(118)](e)&&e[t(135)](t(138))}[f(130)](){const t=f;for(const e of this[t(133)][t(131)][t(131)]())e[t(139)]&&!this[t(126)][t(118)](e)&&e[t(121)](t(138))}}const d=p;function g(){const t=["2436791VRKwMj","isEnabled","_suggestions","47580sPUrzi","24ukifem","143589xHyADi","canEditAt","_isEnabledBasedOnSelection","8tsIhMO","1503100sHlPMq","track-changes-accept-suggestion-not-found","acceptSuggestion","editor","1143JkUxTh","model","75907NTcxPy","get","18760690yAZQIy","getRanges","25464ARlnLq","refresh","plugins","TrackChangesEditing","execute"];return(g=function(){return t})()}function p(t,e){const n=g();return(p=function(t,e){return n[t-=332]})(t,e)}!function(t){const e=p,n=t();for(;;)try{if(224359===-parseInt(e(349))/1*(parseInt(e(342))/2)+-parseInt(e(339))/3*(parseInt(e(338))/4)+-parseInt(e(343))/5+-parseInt(e(337))/6+-parseInt(e(334))/7+-parseInt(e(353))/8*(parseInt(e(347))/9)+parseInt(e(351))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class m extends t.Command{[d(336)];constructor(t,e){const n=d;super(t),this[n(336)]=e,this[n(354)](),this[n(341)]=!1}[d(354)](){this[d(335)]=!0}[d(333)](t){const n=d,s=this[n(336)][n(350)](t);if(!s)throw new e.CKEditorError(n(344),this);const r=s[n(352)]();this[n(346)][n(348)][n(340)](r)&&this[n(346)][n(355)][n(350)](n(332))[n(345)](s)}}const I=E;function E(t,e){const n=T();return(E=function(t,e){return n[t-=490]})(t,e)}function T(){const t=["execute","canEditAt","194438dXtZEc","3174453FcEJrK","get","3eWFlfc","20087180ajICNr","track-changes-discard-suggestion-not-found","55nFvCIy","editor","1013766MttDbS","model","518644rGswWx","TrackChangesEditing","plugins","_suggestions","refresh","isEnabled","1698479ELjedW","4723940gPGoIu","getRanges","_isEnabledBasedOnSelection","discardSuggestion","184eBRESB"];return(T=function(){return t})()}!function(t){const e=E,n=t();for(;;)try{if(971789===parseInt(e(505))/1+-parseInt(e(513))/2+-parseInt(e(492))/3*(-parseInt(e(506))/4)+parseInt(e(495))/5*(-parseInt(e(497))/6)+-parseInt(e(499))/7*(-parseInt(e(510))/8)+parseInt(e(490))/9+-parseInt(e(493))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(T);class b extends t.Command{[I(502)];constructor(t,e){const n=I;super(t),this[n(502)]=e,this[n(503)](),this[n(508)]=!1}[I(503)](){this[I(504)]=!0}[I(511)](t){const n=I,s=this[n(502)][n(491)](t);if(!s)throw new e.CKEditorError(n(494),this);const r=s[n(507)]();this[n(496)][n(498)][n(512)](r)&&this[n(496)][n(501)][n(491)](n(500))[n(509)](s)}}function y(t,e){const n=N;let s="";return s+=t[n(442)]("*")[n(470)]((t,e)=>e%2!=0?n(479)+_(t)+n(468):_(t))[n(445)](""),e&&(s+=n(455)+e[n(454)]+n(441)+e[n(444)]+n(452)),s}function _(t){const e=N,n=document[e(447)](e(449));return n[e(453)]=t,n[e(474)]}function k(t){const e=N;return t[e(431)]((t,n)=>e(448)==t[e(434)]&&e(448)!=n[e(434)]?-1:e(448)!=t[e(434)]&&e(448)==n[e(434)]?1:0)}function A(t,e){const n=N;let s,r=0;const i=[],o=e[n(451)];for(;r<t[n(432)];){const a=t[r],c=t[r+1];s||(s=e[n(460)](a)),L(e,a,c)||(i[n(464)](e[n(430)](s,o[n(476)](a)?e[n(458)](a):e[n(439)](a,n(429)))),s=null),r++}return i}function C(){const t=["content","end","createRange","sort","length","1174026AiWmFB","type","isTouching","49TFBxNs","getRanges","isCollapsed","createPositionAt"," [color ",'" title="',"split","isIntersecting","title","join","start","createElement","deletion","span","next","schema",'"></span>',"innerText","value",'<span class="ck-suggestion-color" style="background-color: ',"isMultiRange","from","createPositionAfter","786660SCmsPV","createPositionBefore","splice","isArray","2782256SyRwvq","push","color","isInContent","9458235XGphlr","</span>","replace","map","72100HZrDWL","100owbZgG","add","innerHTML","1131758Beilpo","isObject","2757968MySaqv","change",'<span class="ck-suggestion-type">',"execute"];return(C=function(){return t})()}function L(t,e,n){const s=N;if(!n)return!1;const r=t[s(458)](e),i=t[s(460)](n);return r[s(435)](i)}function N(t,e){const n=C();return(N=function(t,e){return n[t-=428]})(t,e)}!function(t){const e=N,n=t();for(;;)try{if(856126===-parseInt(e(475))/1+parseInt(e(463))/2+parseInt(e(459))/3+-parseInt(e(471))/4*(-parseInt(e(472))/5)+parseInt(e(433))/6*(parseInt(e(436))/7)+-parseInt(e(477))/8+-parseInt(e(467))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(C);function S(t,e,n){const s=N;for(;n[s(432)];){const r=n[s(461)](0,100);t[s(478)](()=>{const t=s;for(const n of r)n[t(466)]&&e[t(480)](n.id)})}}const R=w;function M(){const t=["execute","some","4254275sPUBph","refresh","getRanges","32PdACnb","7977006NlmtOw","_isEnabledBasedOnSelection","_suggestions","4933398ZmFQKh","model","1mLLlBz","3357652rhoESj","isInContent","values","825782ihkmqH","_command","from","isEnabled","3271470noyLVm","editor","canEditAt","2611826Ixgpbb"];return(M=function(){return t})()}function w(t,e){const n=M();return(w=function(t,e){return n[t-=189]})(t,e)}!function(t){const e=w,n=t();for(;;)try{if(800802===parseInt(e(208))/1*(-parseInt(e(189))/2)+-parseInt(e(193))/3+-parseInt(e(209))/4+-parseInt(e(199))/5+parseInt(e(206))/6+-parseInt(e(196))/7+-parseInt(e(202))/8*(-parseInt(e(203))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);class O extends t.Command{[R(190)];[R(205)];constructor(t,e,n){const s=R;super(t),this[s(190)]=e,this[s(205)]=n,this[s(200)](),this[s(204)]=!1}[R(200)](){const t=R,e=Array[t(191)](this[t(205)][t(211)]())[t(198)](e=>e[t(210)]);this[t(192)]=this[t(190)][t(192)]&&e}[R(197)](){const t=R,e=k(Array[t(191)](this[t(205)][t(211)]()));for(const n of e){const e=n[t(201)]();if(!this[t(194)][t(207)][t(195)](e))return}S(this[t(194)][t(207)],this[t(190)],e)}}function v(t,e){const n=F();return(v=function(t,e){return n[t-=125]})(t,e)}function F(){const t=["_command","169118bvbJHc","size","from","3398406NkHUOz","6WpDgPp","95808lqGjEb","execute","20oLjzuu","editor","_selectedSuggestions","refresh","getRanges","isEnabled","_isEnabledBasedOnSelection","2233PsWMvQ","_suggestions","1477085gNYpgQ","830454MqQSPF","model","11100195FLyZtl","values","28dgCHnv","canEditAt","document","117230uLrExj","selection"];return(F=function(){return t})()}const D=v;!function(t){const e=v,n=t();for(;;)try{if(836437===parseInt(e(130))/1*(-parseInt(e(134))/2)+parseInt(e(133))/3+parseInt(e(137))/4*(-parseInt(e(146))/5)+-parseInt(e(147))/6*(-parseInt(e(151))/7)+-parseInt(e(135))/8+-parseInt(e(149))/9+-parseInt(e(127))/10*(-parseInt(e(144))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class P extends t.Command{[D(129)];[D(145)];[D(139)];constructor(t,e,n){const s=D;super(t),this[s(129)]=e,this[s(145)]=n,this[s(139)]=new Set,this[s(140)](),this[s(143)]=!1}[D(140)](){const t=D,e=this[t(138)][t(148)][t(126)][t(128)],n=Array[t(132)](this[t(145)][t(150)]());this[t(139)]=function(t,e){const n=N,s=Array[n(457)](t[n(437)]()),r=new Set;for(const i of e)if(i[n(466)])for(const e of s)for(const s of i[n(437)]())(e[n(443)](s)||t[n(438)]&&!i[n(456)]&&i[n(450)]&&s[n(429)][n(435)](e[n(446)]))&&r[n(473)](i);return r}(e,n),this[t(142)]=this[t(129)][t(142)]&&!!this[t(139)][t(131)]}[D(136)](){const t=D,e=k(Array[t(132)](this[t(139)]));for(const n of e){const e=n[t(141)]();if(!this[t(138)][t(148)][t(125)](e))return}S(this[t(138)][t(148)],this[t(129)],e)}}function x(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function B(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const U="[object RegExp]",G="[object String]",V="[object Number]",j="[object Boolean]",H="[object Arguments]",W="[object Symbol]",z="[object Date]",K="[object Map]",q="[object Set]",X="[object Array]",Z="[object ArrayBuffer]",Y="[object Object]",J="[object DataView]",Q="[object Uint8Array]",$="[object Uint8ClampedArray]",tt="[object Uint16Array]",et="[object Uint32Array]",nt="[object Int8Array]",st="[object Int16Array]",rt="[object Int32Array]",it="[object Float32Array]",ot="[object Float64Array]";function at(t,e,n,s=new Map,r=void 0){const i=r?.(t,e,n,s);if(null!=i)return i;if(null==(o=t)||"object"!=typeof o&&"function"!=typeof o)return t;var o;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let i=0;i<t.length;i++)e[i]=at(t[i],i,n,s,r);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[i,o]of t)e.set(i,at(o,i,n,s,r));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const i of t)e.add(at(i,void 0,n,s,r));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let i=0;i<t.length;i++)e[i]=at(t[i],i,n,s,r);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),ct(e,t,n,s,r),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),ct(e,t,n,s,r),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),ct(e,t,n,s,r),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,ct(e,t,n,s,r),e}if("object"==typeof t&&function(t){switch(B(t)){case H:case X:case Z:case J:case j:case z:case it:case ot:case nt:case st:case rt:case K:case V:case Y:case U:case q:case G:case W:case Q:case $:case tt:case et:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),ct(e,t,n,s,r),e}return t}function ct(t,e,n=t,s,r){const i=[...Object.keys(e),...x(e)];for(let o=0;o<i.length;o++){const a=i[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=at(e[a],a,n,s,r))}}function ut(t,e){return function(t,e){return at(t,void 0,t,new Map,e)}(t,(n,s,r,i)=>{const o=e?.(n,s,r,i);if(null!=o)return o;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case V:case G:case j:{const e=new t.constructor(t?.valueOf());return ct(e,t),e}case H:{const e={};return ct(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function lt(t){return ut(t)}const ft=/^(?:0|[1-9]\d*)$/;function ht(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return ft.test(t)}}function dt(t){const e=[],n=t.length;if(0===n)return e;let s=0,r="",i="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<n;){const a=t[s];i?"\\"===a&&s+1<n?(s++,r+=t[s]):a===i?i="":r+=a:o?'"'===a||"'"===a?i=a:"]"===a?(o=!1,e.push(r),r=""):r+=a:"["===a?(o=!0,r&&(e.push(r),r="")):"."===a?r&&(e.push(r),r=""):r+=a,s++}return r&&e.push(r),e}function gt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function pt(t,e,n,s,r,i,o){const a=o(t,e,n,s,r,i);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return mt(t,e,i,o)}return mt(t,e,i,o)}function mt(t,e,n,s){if(Object.is(t,e))return!0;let r=B(t),i=B(e);if(r===H&&(r=Y),i===H&&(i=Y),r!==i)return!1;switch(r){case G:return t.toString()===e.toString();case V:{const n=t.valueOf(),s=e.valueOf();return(o=n)===(a=s)||Number.isNaN(o)&&Number.isNaN(a)}case j:case z:case W:return Object.is(t.valueOf(),e.valueOf());case U:return t.source===e.source&&t.flags===e.flags;case"[object Function]":return t===e}var o,a;const c=(n=n??new Map).get(t),u=n.get(e);if(null!=c&&null!=u)return c===e;n.set(t,e),n.set(e,t);try{switch(r){case K:if(t.size!==e.size)return!1;for(const[r,i]of t.entries())if(!e.has(r)||!pt(i,e.get(r),r,t,e,n,s))return!1;return!0;case q:{if(t.size!==e.size)return!1;const r=Array.from(t.values()),i=Array.from(e.values());for(let o=0;o<r.length;o++){const a=r[o],c=i.findIndex(r=>pt(a,r,void 0,t,e,n,s));if(-1===c)return!1;i.splice(c,1)}return!0}case X:case Q:case $:case tt:case et:case"[object BigUint64Array]":case nt:case st:case rt:case"[object BigInt64Array]":case it:case ot:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(e))return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!pt(t[r],e[r],r,t,e,n,s))return!1;return!0;case Z:return t.byteLength===e.byteLength&&mt(new Uint8Array(t),new Uint8Array(e),n,s);case J:return t.byteLength===e.byteLength&&t.byteOffset===e.byteOffset&&mt(new Uint8Array(t),new Uint8Array(e),n,s);case"[object Error]":return t.name===e.name&&t.message===e.message;case Y:{if(!(mt(t.constructor,e.constructor,n,s)||gt(t)&&gt(e)))return!1;const r=[...Object.keys(t),...x(t)],i=[...Object.keys(e),...x(e)];if(r.length!==i.length)return!1;for(let i=0;i<r.length;i++){const o=r[i],a=t[o];if(!Object.hasOwn(e,o))return!1;if(!pt(a,e[o],o,t,e,n,s))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function It(){}function Et(t,e){return function(t,e,n){return pt(t,e,void 0,void 0,void 0,void 0,n)}(t,e,It)}function Tt(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function bt(t){return Object.is(t,-0)?"-0":t.toString()}function yt(t,e,n){if(null==t)return n;switch(typeof e){case"string":{const s=t[e];return void 0===s?Tt(e)?yt(t,dt(e),n):n:s}case"number":case"symbol":{"number"==typeof e&&(e=bt(e));const s=t[e];return void 0===s?n:s}default:{if(Array.isArray(e))return function(t,e,n){if(0===e.length)return n;let s=t;for(let t=0;t<e.length;t++){if(null==s)return n;s=s[e[t]]}if(void 0===s)return n;return s}(t,e,n);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?n:s}}}function _t(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return kt(t,e);if("number"==typeof e?e=bt(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Tt(e))return kt(t,dt(e));try{return delete t[e],!0}catch{return!1}}}function kt(t,e){const n=yt(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===n?.[s])return!0;try{return delete n[s],!0}catch{return!1}}function At(t,e){const n=Lt();return(At=function(t,e){return n[t-=170]})(t,e)}const Ct=At;function Lt(){const t=["createdAt","change","originalSuggestionId","author","addMarkerName","set","get","previous","_isDataLoaded","substr","removeMarker","creator","suggestion:","hasComments","@external","isExternal","onAttributesChange","length","8WUcLzM","next","isIntersectingWithRange","getRange","addMarker","414556TtWTjV","push","markers","split","commentThread","end","add","toJSON","reduce","2027025AmYakT","onAccept","6beqybQ","from","2016660XZVSkK","delete","authoredAt","size","getMarkerNames","getContainedElement","isIntersecting","_onAttributesChange","_onDiscard","head","setAttribute","_model","decorate","data","_markerNames","getMarkers","removeAttribute","type","accept","_onAccept","onDiscard","_saved","discard","getFirstMarker","17091oMLzgp","start","getRanges","filter","subType","1882005RRpLKY","nodeAfter","2930bdkcUL","getAllAdjacentSuggestions","274896tOWkrP","addRange","getFirstRange","removeMarkers","getItems","clear","13947XgNhRe","_originalSuggestionId","isInContent","isMultiRange","map","getMultiRangeId","nodeBefore","attributes"];return(Lt=function(){return t})()}!function(t){const e=At,n=t();for(;;)try{if(189995===parseInt(e(222))/1*(parseInt(e(248))/2)+-parseInt(e(181))/3*(parseInt(e(170))/4)+parseInt(e(212))/5+-parseInt(e(183))/6+-parseInt(e(179))/7+parseInt(e(216))/8+-parseInt(e(207))/9*(-parseInt(e(214))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Lt);class Nt extends((0,e.ObservableMixin)()){id;[Ct(200)];[Ct(211)];[Ct(233)];[Ct(241)];[Ct(245)];[Ct(196)];[Ct(230)];[Ct(223)];[Ct(238)]=!1;[Ct(194)];[Ct(202)];[Ct(191)];[Ct(190)];[Ct(197)];constructor(t,e){const n=Ct;super(),this.id=e.id,this[n(200)]=e[n(200)],this[n(211)]=e[n(211)]||null,this[n(233)]=e[n(233)],this[n(241)]=e[n(241)]||e[n(233)],this[n(245)]=Boolean(e[n(229)]&&e[n(229)][n(244)]),this[n(196)]=null,this[n(223)]=e[n(232)]||null,this[n(194)]=t,this[n(202)]=e[n(180)],this[n(191)]=e[n(203)],this[n(190)]=e[n(246)],this[n(197)]=new Set,this[n(230)]=null,this[n(235)](n(185),null),this[n(235)](n(229),e[n(229)]||{}),this[n(235)](n(237),null),this[n(235)](n(249),null),this[n(235)](n(174),null),this[n(235)](n(204),!1),this[n(195)](n(201)),this[n(195)](n(205))}get[Ct(192)](){const t=Ct;let e=this;for(;e[t(237)];)e=e[t(237)];return e}get[Ct(243)](){const t=Ct;return!!this[t(174)]&&this[t(174)][t(247)]>0}get[Ct(225)](){const t=Ct;return 0!=this[t(197)][t(186)]&&6==Array[t(182)](this[t(197)])[0][t(173)](":")[t(247)]}get[Ct(224)](){return null!==this[Ct(206)]()}[Ct(234)](t){const e=Ct;this[e(197)][e(176)](t)}[Ct(187)](){const t=Ct;return Array[t(182)](this[t(197)])}[Ct(198)](){const t=Ct;return this[t(187)]()[t(226)](e=>this[t(194)][t(172)][t(236)](e))[t(210)](t=>t)}[Ct(206)](){return this[Ct(198)]()[0]||null}[Ct(219)](){const t=Ct;this[t(194)][t(231)](e=>{const n=t;for(const t of this[n(198)]())e[n(240)](t)}),this[t(197)][t(221)]()}[Ct(240)](t){const e=Ct;this[e(194)][e(231)](n=>{n[e(240)](t)}),this[e(197)][e(184)](t)}[Ct(217)](t){const e=Ct,n=e(242)+this[e(200)]+":"+this[e(211)]+":"+this.id+":"+this[e(241)].id+":"+Nt[e(227)]();this[e(234)](n),this[e(194)][e(231)](s=>{s[e(252)](n,{range:t,usingOperation:!0,affectsData:!0})})}[Ct(250)](t){const e=Ct;for(const n of this[e(209)]())if(n[e(189)](t))return!0;return!1}[Ct(209)](){const t=Ct;return this[t(198)]()[t(226)](e=>e[t(251)]())}[Ct(220)](){const t=Ct;return this[t(209)]()[t(178)]((e,n)=>[...e,...n[t(220)]()],[])}[Ct(218)](){const t=Ct;return this[t(206)]()?.[t(251)]()||null}[Ct(188)](){const t=Ct,e=this[t(209)]();if(1!=e[t(247)])return null;const n=e[0],s=n[t(208)][t(213)],r=n[t(175)][t(228)];return s instanceof a.Element?s!=r?null:s:null}[Ct(201)](){const t=Ct;this[t(202)](this[t(209)](),this[t(196)],this[t(229)]),this[t(219)]()}[Ct(205)](){const t=Ct;this[t(191)](this[t(209)](),this[t(196)],this[t(229)]),this[t(219)]()}[Ct(215)](){const t=Ct,e=[];let n=this[t(192)];for(;n;)e[t(171)](n),n=n[t(249)];return e}[Ct(193)](t,e){const n=Ct,s=lt(this[n(229)]);(function(t,e,n){const s=Array.isArray(e)?e:"string"==typeof e?dt(e):[e];let r=t;for(let t=0;t<s.length-1;t++){const e=s[t],n=s[t+1];null==r[e]&&(r[e]=ht(n)?[]:{}),r=r[e]}r[s[s.length-1]]=n})(s,t,e),Et(s,this[n(229)])||(this[n(229)]=s,this[n(190)](s))}[Ct(199)](t){const e=Ct,n=lt(this[e(229)]);_t(n,t),Et(n,this[e(229)])||(this[e(229)]=n,this[e(190)](this[e(229)]))}[Ct(177)](){const t=Ct;return{id:this.id,type:this[t(211)]?this[t(200)]+":"+this[t(211)]:this[t(200)],authorId:this[t(241)].id,createdAt:this[t(230)],hasComments:this[t(243)],data:this[t(196)],attributes:this[t(229)]}}static[Ct(227)](){const t=Ct;return(0,e.uid)()[t(239)](1,5)}}function St(t,e,n){const s=t.t,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"Preview final content":return r("Preview final content");case"Final content preview":return r("Final content preview");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*":return r("*Replace image*");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 bookmark:* %0":return r("*Set bookmark:* %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"*Set table type:* %0":return r("*Set table type:* %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_CONTENT_TABLE":return r({string:"content table",plural:"%0 content tables",id:"ELEMENT_CONTENT_TABLE"},n);case"ELEMENT_LAYOUT_TABLE":return r({string:"layout table",plural:"%0 layout tables",id:"ELEMENT_LAYOUT_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_DEFAULT_LIST_DEFAULT":return r({string:"default list style",id:"ELEMENT_DEFAULT_LIST_DEFAULT"});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"ELEMENT_MULTI_LEVEL_LIST":return r({string:"multi-level list",id:"ELEMENT_MULTI_LEVEL_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"ELEMENT_MERGE_FIELD":return r({id:"ELEMENT_MERGE_FIELD",string:"merge field",plural:"%0 merge fields"},n);case"ELEMENT_BOOKMARK":return r({id:"ELEMENT_BOOKMARK",string:"bookmark",plural:"%0 bookmarks"},n);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 s({string:"Displayed author name comes from external source (added by %0)",id:"EXTERNAL_AVATAR"},n);case"EXTERNAL_IMPORT_WORD_AVATAR":return s({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. Press %0 to go to the discussion.",id:"ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"},n);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. Press %0 to go to the discussion.",id:"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"},n);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. Press %0 to go to the discussion.",id:"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"},n);case"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT":return r({string:"Leaving formatting suggestion.",id:"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"});case"SUGGESTION_THREAD_ARIA_LABEL":return r({string:"Suggestion by %1. Created on %2. %0 reply. %3",plural:"Suggestion by %1. Created on %2. %0 replies. %3",id:"SUGGESTION_THREAD_ARIA_LABEL"},n);case"SUGGESTION_THREAD_DESCRIPTION":return r({string:"Press Enter for more options. Press Escape to exit.",id:"SUGGESTION_THREAD_DESCRIPTION"});default:return e}}function Rt(){const t=["858969qNcPxw","elementEnd","*Merge:* %0","set","label","nodeAfter","map","isInContent","1520885Qogeca","addFormat","getFirstRange","format","skip","4206040iCGnfl","add","addContainer","newValue","element","registerAttributeLabel","_handleCustomCallbackDescription","_handleAttributeSuggestionDescription","9211852pszWPU","_itemLabels","matchingCallback","item","addObject","function","1159941NKwaTK","elementStart","subType","10WmlMff","nextSibling","quantity","removeContainer","get","EmptyContainer","_handleRenameSuggestionDescription","6WatsQr","softBreak","Object","4wNFABx","registerElementLabel","start","end","remove","2794JNxMwc","getItemLabel","pop","previousSibling","addEmptyContainer","_attributeLabels","_itemLabelsCallbacks","type","Container","indexOf","length","getDescriptions","*Change to:* %0","5822LDDTDl","REPLACE_TEXT","*Remove format:* %0","removeFormat","*Split:* %0","$textProxy","data","name","join","*Set format:* %0","*Remove:* %0","registerDescriptionCallback","insertion","checkChild","match","ELEMENT_SPACE","removeObject","getWalker","isObject","*Insert:* %0","attribute","7TaByIE","_addDescriptionItems","text","normal","$1 $2","isEmpty","_locale","_schema","replace","deletion","196DuxAze","_resolveDescriptionItems","_handleInsertRemoveSuggestionDescription","has","removeEmptyContainer","key","6888MOcJvM","isEqual","$text","push","_customCallbacks"];return(Rt=function(){return t})()}const Mt=wt;function wt(t,e){const n=Rt();return(wt=function(t,e){return n[t-=473]})(t,e)}!function(t){const e=wt,n=t();for(;;)try{if(429698===-parseInt(e(489))/1*(-parseInt(e(520))/2)+parseInt(e(558))/3*(-parseInt(e(571))/4)+-parseInt(e(539))/5*(-parseInt(e(568))/6)+parseInt(e(510))/7*(-parseInt(e(544))/8)+-parseInt(e(531))/9*(parseInt(e(561))/10)+-parseInt(e(476))/11*(parseInt(e(526))/12)+parseInt(e(552))/13)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Rt);class Ot{[Mt(530)];[Mt(553)];[Mt(482)];[Mt(481)];[Mt(517)];[Mt(516)];constructor(t,e){const n=Mt;this[n(530)]=[],this[n(553)]=new Map,this[n(482)]=[],this[n(481)]=new Map,this[n(517)]=t,this[n(516)]=e}[Mt(487)](t){const e=Mt,n=[],s=new Set,r=new Set;for(let i=0;i<t[e(486)];i++){const o=t[i];if(!o[e(538)])continue;const a=this[e(550)](o);if(a){if(null!=o[e(560)]){if(s[e(523)](o[e(560)]))continue;s[e(545)](o[e(560)])}n[e(529)](a)}else{if(e(509)==o[e(483)]){const t=o[e(495)][e(525)];if(r[e(523)](t))continue;r[e(545)](o[e(495)][e(525)]),t==hi?this[e(567)](n,o):this[e(551)](n,o);continue}e(501)!=o[e(483)]&&e(519)!=o[e(483)]||this[e(522)](n,o,t[i+1])}}return this[e(521)](n)}[Mt(500)](t){const e=Mt;this[e(530)][e(529)](t)}[Mt(572)](t,n,s=e.priorities[Mt(513)]){const r=Mt;r(557)==typeof t?(0,e.insertToPriorityArray)(this[r(482)],{matchingCallback:t,label:n,priority:s}):this[r(553)][r(534)](t,n)}[Mt(549)](t,e){const n=Mt;this[n(481)][n(534)](t,e)}[Mt(477)](t,e=1){const n=Mt;let s;for(const e of this[n(482)])if(e[n(554)](t)){s=e[n(535)];break}return s||(s=this[n(553)][n(565)](t[n(496)])),s?s(e):1!==e?e+" "+t[n(496)]+"s":""+t[n(496)]}[Mt(511)](t,e){const n=Mt,s=e[n(541)]()[n(506)](),r=n(501)==e[n(483)]?n(545):n(475);for(const e of s){const i=e[n(555)],o=t[t[n(486)]-1];if(i.is(n(494)))o&&o[n(483)][n(485)](n(484))>-1&&t[n(478)](),o&&n(512)==o[n(483)]?o[r]+=i[n(495)]:t[n(529)]({type:n(512),add:n(545)==r?i[n(495)]:"",remove:n(475)==r?i[n(495)]:""});else if(this[n(517)][n(507)](i)){const a=i;if(o&&o[n(483)][n(485)](n(484))>-1&&t[n(478)](),n(532)==e[n(483)])continue;o&&o[n(483)]==r+n(570)&&o[n(548)][n(496)]==a[n(496)]?o[n(563)]++:t[n(529)]({type:r+n(570),element:a,quantity:1}),s[n(543)](t=>!(n(532)==t[n(483)]&&t[n(555)]==i))}else if(this[n(517)][n(502)](i,n(528))||i.is(n(548),n(569))){const s=i;if(n(545)==r&&n(559)==e[n(483)]||n(475)==r&&n(532)==e[n(483)])continue;if(o&&-1==o[n(483)][n(485)](n(484))){n(512)==o[n(483)]&&(o[r]+="\n");continue}let a;if(a=n(545)==r?s[n(562)]&&!this[n(517)][n(507)](s[n(562)])?s[n(562)]:null:s[n(479)]&&!this[n(517)][n(507)](s[n(479)])?s[n(479)]:null,s[n(515)]||a&&a[n(515)]){const e=a&&a[n(515)]?a:s;o&&o[n(483)]==r+n(566)&&o[n(548)][n(496)]==e[n(496)]?o[n(563)]++:t[n(529)]({type:r+n(566),element:e,quantity:1})}else t[n(529)]({type:r+n(484),element:s})}}}[Mt(521)](t){const e=Mt,n=this[e(516)],s=[],r=[],i=[];for(const o of t)switch(o[e(483)]){case e(512):if(o[e(545)]=o[e(545)][e(518)](/(\S)\u000A+(\S)/g,e(514))[e(518)](/\u000A/g,""),o[e(475)]=o[e(475)][e(518)](/(\S)\u000A+(\S)/g,e(514))[e(518)](/\u000A/g,""),""!=o[e(545)]&&""!=o[e(475)]){s[e(529)]({type:e(518),content:St(n,e(490),['"'+o[e(475)]+'"','"'+o[e(545)]+'"'])});continue}if(null!=o[e(545)][e(503)](/^ +$/)){s[e(529)]({type: