@ckeditor/ckeditor5-document-outline 38.0.0-rc.1 → 38.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/package.json +3 -3
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/documentoutline.js +1 -1
- package/src/index.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
- package/src/tableofcontents.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={45:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},888:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},362:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},758:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var c=0;c<this.length;c++){var r=this[c][0];null!=r&&(i[r]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},278:(e,t,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},c=function(){var e={};return 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(e){n=null}e[t]=n}return e[t]}}(),r=[];function l(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},o=[],i=0;i<e.length;i++){var c=e[i],s=t.base?c[0]+t.base:c[0],a=n[s]||0,d="".concat(s," ").concat(a);n[s]=a+1;var u=l(d),m={css:c[1],media:c[2],sourceMap:c[3]};-1!==u?(r[u].references++,r[u].updater(m)):r.push({identifier:d,updater:p(m,t),references:1}),o.push(d)}return o}function a(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var r=c(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function m(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var c=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(c,r[t]):e.appendChild(c)}}function f(e,t,n){var o=n.css,i=n.media,c=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),c&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(c))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,g=0;function p(e,t){var n,o,i;if(t.singleton){var c=g++;n=h||(h=a(t)),o=m.bind(null,n,c,!1),i=m.bind(null,n,c,!0)}else n=a(t),o=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=l(n[o]);r[i].references--}for(var c=s(e,t),a=0;a<n.length;a++){var d=l(n[a]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=c}}}},704:(e,t,n)=>{e.exports=n(79)("./src/core.js")},492:(e,t,n)=>{e.exports=n(79)("./src/engine.js")},273:(e,t,n)=>{e.exports=n(79)("./src/ui.js")},209:(e,t,n)=>{e.exports=n(79)("./src/utils.js")},995:(e,t,n)=>{e.exports=n(79)("./src/widget.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var c=t[o]={id:o,exports:{}};return e[o](c,c.exports,n),c.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{DocumentOutline:()=>se,DocumentOutlineUI:()=>ne,DocumentOutlineUtils:()=>F,HeadingId:()=>Ce,TableOfContents:()=>Ke,TableOfContentsCommand:()=>ge,TableOfContentsEditing:()=>Ne,TableOfContentsUI:()=>He,icons:()=>Ve});var e=n(704),t=n(209);const i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const c="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const l=c||r||Function("return this")();const s=function(){return l.Date.now()};var a=/\s/;const d=function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t};var u=/^\s+/;const m=function(e){return e?e.slice(0,d(e)+1).replace(u,""):e};const f=l.Symbol;var h=Object.prototype,g=h.hasOwnProperty,p=h.toString,v=f?f.toStringTag:void 0;const x=function(e){var t=g.call(e,v),n=e[v];try{e[v]=void 0;var o=!0}catch(e){}var i=p.call(e);return o&&(t?e[v]=n:delete e[v]),i};var k=Object.prototype.toString;const b=function(e){return k.call(e)};var _=f?f.toStringTag:void 0;const w=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?x(e):b(e)};const y=function(e){return null!=e&&"object"==typeof e};const C=function(e){return"symbol"==typeof e||y(e)&&"[object Symbol]"==w(e)};var I=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,T=/^0o[0-7]+$/i,E=parseInt;const A=function(e){if("number"==typeof e)return e;if(C(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=m(e);var n=O.test(e);return n||T.test(e)?E(e.slice(2),n?2:8):I.test(e)?NaN:+e};var N=Math.max,S=Math.min;const H=function(e,t,n){var o,c,r,l,a,d,u=0,m=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,i=c;return o=c=void 0,u=t,l=e.apply(i,n)}function p(e){var n=e-d;return void 0===d||n>=t||n<0||f&&e-u>=r}function v(){var e=s();if(p(e))return x(e);a=setTimeout(v,function(e){var n=t-(e-d);return f?S(n,r-(e-u)):n}(e))}function x(e){return a=void 0,h&&o?g(e):(o=c=void 0,l)}function k(){var e=s(),n=p(e);if(o=arguments,c=this,d=e,n){if(void 0===a)return function(e){return u=e,a=setTimeout(v,t),m?g(e):l}(d);if(f)return clearTimeout(a),a=setTimeout(v,t),g(d)}return void 0===a&&(a=setTimeout(v,t)),l}return t=A(t)||0,i(n)&&(m=!!n.leading,r=(f="maxWait"in n)?N(A(n.maxWait)||0,t):r,h="trailing"in n?!!n.trailing:h),k.cancel=function(){void 0!==a&&clearTimeout(a),u=0,o=d=c=a=void 0},k.flush=function(){return void 0===a?l:x(s())},k};var D=n(492);const j=["htmlH2","htmlH1","reduce","getChildren","has","push","htmlH3","config","data","model","heading.options","htmlH4","htmlH6","plugins","htmlH5","paragraph"];var M,P;M=j,P=337,function(e){for(;--e;)M.push(M.shift())}(++P);const K=function(e,t){return j[e-=0]};function V(e){let t="";for(const n of e[K("0x2")]())n instanceof D.Text&&(t+=n[K("0x7")]);return t}const U=["_getActiveHeading","selection","getRoot","domToView","_getHeadingNames","DocumentOutlineUtils","view","element","backward","editor","getChild","afterInit","level","document","activeItemIndex","model","editing","pluginName","name","getRootNames","domConverter","modelElement","_deriveHeadingElementsFromConversion","push","_getOutlineDefinitions","documentOutline.headings","length","item","createElement","toModel","change","findIndex","get","getChildren","data","_headingNames","includes","text","getFirstPosition"];var R,L;R=U,L=484,function(e){for(;--e;)R.push(R.shift())}(++L);const Z=function(e,t){return U[e-=0]};class F extends e.Plugin{constructor(){super(...arguments),this[Z("0x13")]=[]}static get[Z("0x1")](){return Z("0x1c")}init(){const e=this[Z("0x20")];this[Z("0x13")]=this[Z("0x1b")]();let n=[];e.model.document.on(Z("0xe"),H((()=>{const e=n;n=this[Z("0x8")]();const o=(0,t.diff)(e,n,((e,t)=>e[Z("0x23")]===t[Z("0x23")]&&e.text===t[Z("0x15")]&&e[Z("0x5")]===t[Z("0x5")])),i=(0,t.diffToChanges)(o,n),c=this._getActiveHeading(),r=n[Z("0xf")]((e=>e.modelElement===c));i[Z("0xa")]&&this.fire(Z("0xe"),{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this.fire(Z("0x25"),{index:r})}),250,{leading:!0,trailing:!0}))}[Z("0x22")](){this[Z("0x13")][Z("0xa")]||this[Z("0x6")]()}_getOutlineDefinitions(){const e=this[Z("0x20")],t=[],n=this[Z("0x13")];for(const t of e[Z("0x26")].document[Z("0x3")]())o(e.model[Z("0x24")][Z("0x19")](t));function o(e){for(const i of e[Z("0x11")]())i.is(Z("0x1e"))&&(n[Z("0x14")](i[Z("0x2")])&&t.push({level:n.indexOf(i.name)+1,text:V(i),modelElement:i}),o(i))}return t}[Z("0x17")](){const e=this[Z("0x20")][Z("0x26")][Z("0x24")][Z("0x18")][Z("0x16")](),t=new D.TreeWalker({direction:Z("0x1f"),startPosition:e});for(const e of t)if(e[Z("0xb")].is("element")&&this[Z("0x13")][Z("0x14")](e[Z("0xb")][Z("0x2")]))return e.item}[Z("0x1b")](){return this[Z("0x20")].config[Z("0x10")](Z("0x9"))||function(e){const t=e[K("0x6")].get(K("0x9"));return t?t[K("0x1")](((e,t)=>(K("0xe")!==t[K("0x8")]&&e[K("0x4")](t.model),e)),[]):e[K("0xc")][K("0x3")]("GeneralHtmlSupport")?[K("0x0"),K("0xf"),K("0x5"),K("0xa"),K("0xd"),K("0xb")]:[]}(this[Z("0x20")])}[Z("0x6")](){const e=this[Z("0x20")],t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e[Z("0x0")][Z("0x1d")][Z("0x4")][Z("0x1a")](document[Z("0xc")](o)),i=e[Z("0x12")][Z("0xd")](t)[Z("0x21")](0);(null==i?void 0:i.is(Z("0x1e")))&&n[Z("0x7")](i[Z("0x2")])}this[Z("0x13")]=n}}var z=n(273);class W extends z.View{constructor(e,t=!1){super(e);const n=e.t,o=this.bindTemplate,i=t?"["+n("Empty heading")+"]":"";this.set("text",""),this.set("level",1),this.set("isActive",!1),this.bind("isEmpty").to(this,"text",(e=>!e)),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline__item",o.to("level",(e=>"ck-document-outline__item_level-"+e)),o.if("isActive","ck-document-outline__item_active"),o.if("isEmpty","ck-document-outline__item_empty")],title:o.to("text")},children:[{text:o.to("text",(e=>e||i))}],on:{click:o.to("click")}})}scrollTo(){(0,t.scrollAncestorsToShowTarget)(this.element,20)}}class $ extends z.View{constructor(e,t=!1){super(e);const n=e.t;this.showEmptyHeadingText=t,this.set("activeItemIndex",-1),this.items=this.createCollection(),this.items.delegate("click").to(this),this.on("click",this._handleItemClick.bind(this)),this.on("change:activeItemIndex",((e,t,n,o)=>{this._setActiveItem(o,n)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline"],dir:e.contentLanguageDirection,"data-document-outline-empty-placeholder":n("Editor headings will appear here as you type.")},children:this.items})}sync(e){e.forEach((e=>{"insert"==e.type?this._insertItem(e.index,...e.values):"delete"==e.type&&this._deleteItem(e.index,e.howMany)}))}_setActiveItem(e,t){if(-1!==e){const t=this.items.get(e);t&&(t.isActive=!1)}-1!==t&&(this.items.get(t).isActive=!0,this.items.get(t).scrollTo())}_insertItem(e,...t){const n=t.map(((t,n)=>{const o=new W(this.locale,this.showEmptyHeadingText);return o.text=t.text,o.level=t.level,e+n===this.activeItemIndex&&(o.isActive=!0),o}));this.items.addMany(n,e)}_deleteItem(e,t){do{this.items.remove(e)}while(--t)}_handleItemClick(e){const t=this.items.getIndex(e.source);this.fire("itemSelected",t)}}const B=function(e,t,n){var o=!0,c=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,c="trailing"in n?!!n.trailing:c),H(e,t,{leading:o,maxWait:t,trailing:c})};var q=n(278),G=n.n(q),J=n(888),Y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(J.Z,Y);J.Z.locals;const Q=["indexOf","scrollToTheSelection","modelElement","length","documentOutline.showEmptyHeadings","listenTo","activeItemIndex","getVisible","_currentOutlineDefinitions","fromCharCode","document-outline-container-not-provided","editing","mapViewToDom","getIntersection","init","getRootNames","destroy","bottom","_updateActiveDefinitionFromViewportThrottled","afterInit","map","change","model","document","then","focus","_setActiveViewItem","config","element","view","_updateActiveDefinitionOnViewportChange","scroll","_handleItemSelected","floor","height","pluginName","get","domConverter","DocumentOutlineUI","getDomRoot","context","editor","documentOutline.container","locale","bind","join","getEarlierVisibleRevision","window","_handleOutlineChange","sync","plugins"];var X,ee;X=Q,ee=287,function(e){for(;--e;)X.push(X.shift())}(++ee);const te=function(e,t){return Q[e-=0]};class ne extends e.Plugin{static get[te("0x3")](){return te("0x6")}constructor(e){super(e),this[te("0x30")]=new $(e[te("0xb")],this[te("0x9")][te("0x2e")][te("0x4")](te("0x17"))),this[te("0x1b")]=[],this[te("0x25")]=B(this._updateActiveDefinitionOnViewportChange[te("0xc")](this),100)}[te("0x21")](){const e=this[te("0x9")],n=e[te("0x12")][te("0x4")]("DocumentOutlineUtils");let o=!1;if(this[te("0x30")].render(),!e.config[te("0x4")](te("0xa")))throw new t.CKEditorError(te("0x1d"),{editor:e});e.config[te("0x4")](te("0xa")).appendChild(this[te("0x30")][te("0x2f")]),n.on("change",this[te("0x10")][te("0xc")](this)),n.on(te("0x19"),((e,{index:t})=>this[te("0x2d")](t))),this.view.on("itemSelected",((e,t)=>{o=!0,this[te("0x0")](t)})),this.view.listenTo(t.global[te("0x2a")],te("0x32"),(()=>{o?o=!1:this[te("0x25")]()}),{useCapture:!0}),this[te("0x30")][te("0x18")](t.global[te("0xf")],"resize",this[te("0x25")],{useCapture:!0})}[te("0x26")](){!function(t){function n(e){return e[te("0x27")]((e=>String[te("0x1c")](e)))[te("0xd")]("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o.getRevision(0),c=o[te("0xe")](i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1)[te("0x2b")]((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t[te("0x8")]:t[te("0x9")],d=n([52,48,52,54,49,48,51,50]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a[te("0x2e")][te("0x4")](n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}[te("0x23")](){super.destroy(),this.view[te("0x23")](),this[te("0x25")].cancel()}[te("0x10")](e,{outlineDefinitions:t,activeItemIndex:n,outlineChanges:o}){this[te("0x1b")]=t,this[te("0x30")][te("0x11")](o)}[te("0x2d")](e){this[te("0x30")][te("0x19")]=e}[te("0x0")](e){const t=this[te("0x1b")][e][te("0x15")];this[te("0x9")][te("0x29")][te("0x28")]((e=>{e.setSelection(t,0)})),this.editor[te("0x1e")][te("0x30")][te("0x14")]({alignToTop:!0,forceScroll:!0}),this[te("0x9")][te("0x1e")][te("0x30")][te("0x2c")](),this[te("0x2d")](e)}[te("0x31")](){const e=this.editor;let n;for(const o of e[te("0x29")].document[te("0x22")]()){const i=e[te("0x1e")][te("0x30")][te("0x7")](o),c=new t.Rect(i)[te("0x1a")]();if(c){const e=new t.Rect(t.global.window)[te("0x20")](c);e&&(n=e.top+.25*e[te("0x2")])}}if(void 0===n)return;const o=oe(e[te("0x1e")],this[te("0x1b")],n);o?this[te("0x2d")](this[te("0x1b")][te("0x13")](o)):this._setActiveViewItem(-1)}}function oe(e,n,o,i=0,c=n[te("0x16")]-1){const r=Math[te("0x1")](i+(c-i)/2);if(c>=i){const l=n[r],s=e.mapper.toViewElement(l[te("0x15")]),a=e[te("0x30")][te("0x5")][te("0x1f")](s);return new t.Rect(a)[te("0x24")]>o?oe(e,n,o,i,r-1):oe(e,n,o,r+1,c)}return r<0?null:n[r]}const ie=["init","documentOutlineLicenseKeyValid","document-outline-trial-license-key-reached-limit-changes","document-outline-invalid-license-key","config","pluginName","info","editor","licenseKey","requires","You are using the trial version of CKEditor 5 document outline plugin with limited usage. Make sure you will not use it in the production environment.","documentOutlineLicenseKeyTrialLimit:operations","documentOutlineLicenseKeyTrial","documentOutlineLicenseKeyInvalid","_licenseKeyCheckInterval"];var ce,re;ce=ie,re=339,function(e){for(;--e;)ce.push(ce.shift())}(++re);const le=function(e,t){return ie[e-=0]};class se extends e.Plugin{static get[le("0x0")](){return[F,ne]}static get[le("0xb")](){return"DocumentOutline"}constructor(e){super(e),this[le("0x5")]=null}[le("0x6")](){const e=this[le("0xd")];this[le("0xe")]=e[le("0xa")].get(le("0xe"));const n=this[le("0xd")];this._licenseKeyCheckInterval=setInterval((()=>{let e;for(const t in n){const o=t,i=n[o];if("documentOutlineLicenseKeyTrial"===i||le("0x4")===i||le("0x7")===i||le("0x2")===i){delete n[o],e=i;break}}if(le("0x4")===e)throw clearInterval(this[le("0x5")]),new t.CKEditorError(le("0x9"),null);if(le("0x3")===e&&console[le("0xc")](le("0x1")),le("0x2")===e)throw clearInterval(this[le("0x5")]),new t.CKEditorError(le("0x8"),null);"documentOutlineLicenseKeyValid"===e&&clearInterval(this[le("0x5")])}),1e3)}}const ae='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n';var de=n(995);const ue=["refresh","change","selection","editor","createElement","model","execute","isEnabled","tableOfContents"];var me,fe;me=ue,fe=438,function(e){for(;--e;)me.push(me.shift())}(++fe);const he=function(e,t){return ue[e-=0]};class ge extends e.Command{[he("0x0")](){this[he("0x6")][he("0x8")][he("0x4")]((e=>{this[he("0x6")][he("0x8")].insertObject(e[he("0x7")]("tableOfContents"))}))}[he("0x3")](){const e=this[he("0x6")].model,t=e.document[he("0x5")].getFirstPosition();this[he("0x1")]=null!==(t&&e.schema.findAllowedParent(t,he("0x2")))}}var pe=n(362),ve={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(pe.Z,ve);pe.Z.locals;function xe(e){let t="";for(const n of e.getChildren())n instanceof D.Text&&(t+=n.data);return t}class ke extends e.Plugin{constructor(){super(...arguments),this._headingNames=[]}static get pluginName(){return"DocumentOutlineUtils"}init(){const e=this.editor;this._headingNames=this._getHeadingNames();let n=[];e.model.document.on("change",H((()=>{const e=n;n=this._getOutlineDefinitions();const o=(0,t.diff)(e,n,((e,t)=>e.level===t.level&&e.text===t.text&&e.modelElement===t.modelElement)),i=(0,t.diffToChanges)(o,n),c=this._getActiveHeading(),r=n.findIndex((e=>e.modelElement===c));i.length&&this.fire("change",{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this.fire("activeItemIndex",{index:r})}),250,{leading:!0,trailing:!0}))}afterInit(){this._headingNames.length||this._deriveHeadingElementsFromConversion()}_getOutlineDefinitions(){const e=this.editor,t=[],n=this._headingNames;for(const t of e.model.document.getRootNames())o(e.model.document.getRoot(t));function o(e){for(const i of e.getChildren())i.is("element")&&(n.includes(i.name)&&t.push({level:n.indexOf(i.name)+1,text:xe(i),modelElement:i}),o(i))}return t}_getActiveHeading(){const e=this.editor.model.document.selection.getFirstPosition(),t=new D.TreeWalker({direction:"backward",startPosition:e});for(const e of t)if(e.item.is("element")&&this._headingNames.includes(e.item.name))return e.item}_getHeadingNames(){const e=this.editor.config.get("documentOutline.headings");return e||function(e){const t=e.config.get("heading.options");return t?t.reduce(((e,t)=>("paragraph"!==t.model&&e.push(t.model),e)),[]):e.plugins.has("GeneralHtmlSupport")?["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"]:[]}(this.editor)}_deriveHeadingElementsFromConversion(){const e=this.editor,t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e.editing.view.domConverter.domToView(document.createElement(o)),i=e.data.toModel(t).getChild(0);(null==i?void 0:i.is("element"))&&n.push(i.name)}this._headingNames=n}}var be=n(45),_e={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(be.Z,_e);be.Z.locals;var we=n(399),ye={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(we.Z,ye);we.Z.locals;class Ce extends e.Plugin{static get pluginName(){return"HeadingId"}afterInit(){const e=this.editor;if(e.config.get("headingId.modelAttributeName"))return;(function(e){const t=new Map;if(e)return e.forEach((e=>{"paragraph"!==e.model&&t.set(e.view,e.model)})),t.get("h1")||t.set("h1","heading1"),t;return t})(this.editor.config.get("heading.options")).forEach(((t,n)=>{this._customUpcastHeadingsConversion(n),this._customDataDowncastHeadingsConversion(t),e.model.schema.isRegistered(t)&&e.model.schema.extend(t,{allowAttributes:"headingId"})})),this._registerHeadingIdAttributePostfixer()}_customUpcastHeadingsConversion(e){this.editor.data.upcastDispatcher.on(`element:${e}`,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n.viewItem.getAttribute("id"),l=n.modelRange.getContainedElement();if(!(r&&r.length||l.hasAttribute("headingId")))return i.consume(n.viewItem,{attributes:["id"]}),void c.setAttribute("headingId",(0,t.uid)(),l);i.consume(n.viewItem,{attributes:["id"]})&&c.setAttribute("headingId",r,l)}),{priority:t.priorities.get("low")+.5})}_customDataDowncastHeadingsConversion(e){this.editor.conversion.for("downcast").add((t=>t.on(`attribute:headingId:${e}`,((e,t,n)=>{if(!n.consumable.consume(t.item,e.name))return;const o=t.item.getAttribute("headingId"),i=n.mapper.toViewElement(t.item);n.writer.setAttribute("id",o,i)}))))}_registerHeadingIdAttributePostfixer(){const e=this.editor,n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o.add(i),e.setAttribute("headingId",i,n),i}function c(e,t){e.removeAttribute("headingId",t)}e.model.document.registerPostFixer((t=>{const r=e.model.document.differ.getChanges();let l=!1;for(const e of r)if("insert"==e.type&&e.name)if(e.name.match(/heading\d/)){const c=e.attributes.get("headingId");"string"==typeof c?n.has(c)?(i(t,e.position.nodeAfter),l=!0):o.add(c):(i(t,e.position.nodeAfter),l=!0)}else{"string"==typeof e.attributes.get("headingId")&&(c(t,e.position.nodeAfter),l=!0)}else if("remove"==e.type){const t=e.attributes.get("headingId");"string"==typeof t&&n.delete(t)}return l})),e.model.document.on("change",(()=>{o.forEach((e=>n.add(e))),o.clear()}))}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Ie=["forEach","attributes","modelRange","match","registerPostFixer","hasAttribute","type","config","view","add","document","upcastDispatcher","consumable","low","set","name","getContainedElement","afterInit","extend","schema","change","remove","get","pluginName","_registerHeadingIdAttributePostfixer","model","_customDataDowncastHeadingsConversion","viewItem","isRegistered","paragraph","length","attribute:headingId:","headingId","editor","_customUpcastHeadingsConversion","nodeAfter","clear","downcast","heading.options","insert","setAttribute","for","element:","HeadingId","position","headingId.modelAttributeName","has","getChanges","data","item","differ","getAttribute","consume","toViewElement"];var Oe,Te;Oe=Ie,Te=259,function(e){for(;--e;)Oe.push(Oe.shift())}(++Te);const Ee=function(e,t){return Ie[e-=0]};class Ae extends e.Plugin{static get[Ee("0x22")](){return Ee("0x0")}[Ee("0x1c")](){const e=this[Ee("0x2c")];e[Ee("0x12")].get(Ee("0x2"))||(function(e){const t=new Map;return e?(e.forEach((e=>{Ee("0x28")!==e.model&&t[Ee("0x19")](e[Ee("0x13")],e[Ee("0x24")])})),t[Ee("0x21")]("h1")||t[Ee("0x19")]("h1","heading1"),t):t}(this.editor.config[Ee("0x21")](Ee("0x31")))[Ee("0xb")](((t,n)=>{this[Ee("0x2d")](n),this[Ee("0x25")](t),e.model[Ee("0x1e")][Ee("0x27")](t)&&e[Ee("0x24")].schema[Ee("0x1d")](t,{allowAttributes:Ee("0x2b")})})),this[Ee("0x23")]())}[Ee("0x2d")](e){this[Ee("0x2c")][Ee("0x5")][Ee("0x16")].on(Ee("0x35")+e,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n[Ee("0x26")][Ee("0x8")]("id"),l=n[Ee("0xd")][Ee("0x1b")]();if(!(r&&r[Ee("0x29")]||l[Ee("0x10")](Ee("0x2b"))))return i.consume(n.viewItem,{attributes:["id"]}),void c.setAttribute("headingId",(0,t.uid)(),l);i[Ee("0x9")](n[Ee("0x26")],{attributes:["id"]})&&c.setAttribute("headingId",r,l)}),{priority:t.priorities.get(Ee("0x18"))+.5})}[Ee("0x25")](e){this[Ee("0x2c")].conversion[Ee("0x34")](Ee("0x30"))[Ee("0x14")]((t=>t.on(Ee("0x2a")+e,((e,t,n)=>{if(!n[Ee("0x17")][Ee("0x9")](t.item,e.name))return;const o=t[Ee("0x6")][Ee("0x8")]("headingId"),i=n.mapper[Ee("0xa")](t[Ee("0x6")]);n.writer[Ee("0x33")]("id",o,i)}))))}[Ee("0x23")](){const e=this[Ee("0x2c")],n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o[Ee("0x14")](i),e.setAttribute(Ee("0x2b"),i,n),i}e[Ee("0x24")][Ee("0x15")][Ee("0xf")]((t=>{const c=e[Ee("0x24")][Ee("0x15")][Ee("0x7")][Ee("0x4")]();let r=!1;for(const e of c)if(Ee("0x32")==e.type&&e.name)if(e[Ee("0x1a")][Ee("0xe")](/heading\d/)){const c=e[Ee("0xc")][Ee("0x21")](Ee("0x2b"));"string"==typeof c?n[Ee("0x3")](c)?(i(t,e[Ee("0x1")].nodeAfter),r=!0):o[Ee("0x14")](c):(i(t,e[Ee("0x1")].nodeAfter),r=!0)}else"string"==typeof e.attributes.get(Ee("0x2b"))&&(l=t,s=e.position[Ee("0x2e")],l.removeAttribute(Ee("0x2b"),s),r=!0);else if(Ee("0x20")==e[Ee("0x11")]){const t=e[Ee("0xc")][Ee("0x21")]("headingId");"string"==typeof t&&n.delete(t)}var l,s;return r})),e[Ee("0x24")].document.on(Ee("0x1f"),(()=>{o[Ee("0xb")]((e=>n[Ee("0x14")](e))),o[Ee("0x2f")]()}))}}class Ne extends e.Plugin{static get pluginName(){return"TableOfContentsEditing"}static get requires(){return[de.Widget,ke,Ae]}constructor(e){super(e),this._currentOutlineDefinitions=[],this._tableOfContentsElements=new Set,this._headingIdModelAttributeName="headingId"}init(){const e=this.editor,t=e.editing.view.document;e.config.get("headingId.modelAttributeName")&&(this._headingIdModelAttributeName=e.config.get("headingId.modelAttributeName")),this.listenTo(t,"click",((e,t)=>{if(!t.target)return;const n=t.target.getCustomProperty("tableOfContentsHeadingIndex");Number.isInteger(n)&&(t.domEvent.preventDefault(),e.stop(),this._handleScrollToHeading(n))}),{priority:"high",context:"$capture"}),this._defineSchema(),this._defineConverters(),e.commands.add("insertTableOfContents",new ge(e)),e.plugins.get("DocumentOutlineUtils").on("change",((e,t)=>{this._currentOutlineDefinitions=t.outlineDefinitions,this._updateTableOfContentsElements()})),this.listenTo(e.model.document,"change",(()=>{this._trackNewToCElements()}))}afterInit(){!function(t){function n(e){return e.map((e=>String.fromCharCode(e))).join("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o.getRevision(0),c=o.getEarlierVisibleRevision(i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1).then((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t.context:t.editor,d=n([52,48,52,54,49,48,51,50]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a.config.get(n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}_updateTableOfContentsElements(){this._tableOfContentsElements.forEach((e=>{"$graveyard"!==e.rootName&&this.editor.editing.reconvertItem(e)}))}_trackNewToCElements(){for(const e of this.editor.model.document.differ.getChanges({includeChangesInGraveyard:!0})){if("insert"!==e.type||"tableOfContents"!==e.name)return;this._tableOfContentsElements.add(e.position.nodeAfter)}}_defineSchema(){this.editor.model.schema.register("tableOfContents",{inheritAllFrom:"$blockObject"})}_defineConverters(){const e=this.editor.conversion,t=this.editor.t;e.for("upcast").elementToElement({model:"tableOfContents",view:{name:"div",classes:"table-of-contents"}}),e.for("dataDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:t})=>this._createTableOfContents(t,!0)}),e.for("editingDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:n})=>{this._tableOfContentsElements.add(e);const o=this._createTableOfContents(n);return(0,de.toWidget)(o,n,{label:t("Table of contents")})}}),this.editor.data.registerRawContentMatcher({name:"div",classes:"table-of-contents"}),this.editor.editing.mapper.on("viewToModelPosition",this._redirectMapper(),{priority:"high"})}_createTableOfContents(e,t=!1){const n=this.editor.t,o=e.createContainerElement("div",{class:"table-of-contents"+(0===this._currentOutlineDefinitions.length?" table-of-contents_empty":""),...!t&&{"data-table-of-contents-label":n("Table of contents")}});0===this._currentOutlineDefinitions.length&&!1===t&&e.insert(e.createPositionAt(o,"end"),e.createContainerElement("p",{class:"table-of-contents__placeholder"},[e.createText(n("No headings were found in the document."))]));const i=t?"":"["+n("Empty heading")+"]";let c=o;return this._currentOutlineDefinitions.forEach(((n,o,r)=>{const l=this.editor.model.hasContent(n.modelElement,{ignoreWhitespaces:!0}),s=l?n.text:i,a=n.modelElement.getAttribute(this._headingIdModelAttributeName),d=e.createContainerElement("a",{href:"#"+a,...!t&&{tabindex:"-1"}},[e.createText(s)]),u=this.editor.config.get("documentOutline.showEmptyHeadings");e.setCustomProperty("tableOfContentsHeadingIndex",o,d);const m=e.createContainerElement("li",null,[l||!t&&u?d:e.createText("")]),f=o?r[o-1].level:0,h=Math.abs(n.level-f);if(n.level>f){const t=Se(m,h,e);e.insert(e.createPositionAt(c,"end"),t)}else{const t=(g=h,c.getAncestors({includeSelf:!0,parentFirst:!0}).filter((e=>e.is("element","ol")))[g]);e.insert(e.createPositionAt(t,"end"),m)}var g;c=m})),o}_handleScrollToHeading(e){const t=this._currentOutlineDefinitions[e].modelElement;this.editor.model.change((e=>{e.setSelection(t,0)})),this.editor.editing.view.scrollToTheSelection({alignToTop:!0,forceScroll:!0})}_redirectMapper(){return(e,t)=>{const n=t.mapper,o=n.findMappedViewAncestor(t.viewPosition),i=n.toModelElement(o);i.is("element","tableOfContents")&&(t.modelPosition=this.editor.model.createPositionAt(i,0),e.stop())}}}function Se(e,t,n){return 1===t?n.createContainerElement("ol",null,[e]):n.createContainerElement("ol",null,[n.createContainerElement("li",null,[Se(e,t-1,n)])])}class He extends e.Plugin{static get pluginName(){return"TableOfContentsUI"}constructor(e){super(e),this._licenseKeyCheckInterval=null}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add("tableOfContents",(t=>{const o=e.commands.get("insertTableOfContents"),i=new z.ButtonView(t);return i.set({label:n("Table of contents"),icon:ae,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>e.execute("insertTableOfContents"))),i})),this.licenseKey=e.config.get("licenseKey");const o=this.editor;this._licenseKeyCheckInterval=setInterval((()=>{let e;for(const t in o){const n=t,i=o[n];if("tableOfContentsLicenseKeyTrial"===i||"tableOfContentsLicenseKeyInvalid"===i||"tableOfContentsLicenseKeyValid"===i||"tableOfContentsLicenseKeyTrialLimit:operations"===i){delete o[n],e=i;break}}if("tableOfContentsLicenseKeyInvalid"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-invalid-license-key",null);if("tableOfContentsLicenseKeyTrial"===e&&console.info("You are using the trial version of CKEditor 5 table of contents plugin with limited usage. Make sure you will not use it in the production environment."),"tableOfContentsLicenseKeyTrialLimit:operations"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-trial-license-key-reached-limit-changes",null);"tableOfContentsLicenseKeyValid"===e&&clearInterval(this._licenseKeyCheckInterval)}),1e3)}}var De,je,Me=["pluginName","TableOfContents","requires"];De=Me,je=247,function(e){for(;--e;)De.push(De.shift())}(++je);var Pe=function(e,t){return Me[e-=0]};class Ke extends e.Plugin{static get[Pe("0x1")](){return[Ne,He]}static get[Pe("0x2")](){return Pe("0x0")}}const Ve={tableOfContentsIcon:ae}})(),(window.CKEditor5=window.CKEditor5||{}).documentOutline=o})();
|
|
5
|
+
*/(()=>{var e={45:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},888:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-document-outline-padding:var(--ck-spacing-large);--ck-document-outline-base-font-size:.875em;--ck-document-outline-placeholder-color:var(--ck-color-engine-placeholder-text);--ck-document-outline-indent-level-1:0;--ck-document-outline-indent-level-2:1.5em;--ck-document-outline-indent-level-3:3em;--ck-document-outline-indent-level-4:4.5em;--ck-document-outline-indent-level-5:6em;--ck-document-outline-indent-level-6:7.5em;--ck-document-outline-item-padding:var(--ck-spacing-small);--ck-document-outline-item-active-color:var(--ck-color-base-active);--ck-document-outline-item-default-color:#424242;--ck-document-outline-item-hover-state-color:var(--ck-color-base-text)}.ck.ck-document-outline{font-size:var(--ck-document-outline-base-font-size);padding:var(--ck-document-outline-padding);user-select:none}.ck.ck-document-outline:empty:before{color:var(--ck-document-outline-placeholder-color);content:attr(data-document-outline-empty-placeholder);display:inline-block}.ck.ck-document-outline .ck-document-outline__item{color:var(--ck-document-outline-item-default-color);cursor:pointer;overflow:hidden;padding:var(--ck-document-outline-item-padding);text-overflow:ellipsis;white-space:nowrap}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty{font-style:italic}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_empty:hover,.ck.ck-document-outline .ck-document-outline__item:hover{color:var(--ck-document-outline-item-hover-state-color);text-decoration:underline}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_active{color:var(--ck-document-outline-item-active-color)}.ck.ck-document-outline .ck-document-outline__item.ck-document-outline__item_level-1{font-size:1.1em;font-weight:700}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-1{padding-left:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-2{padding-left:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-3{padding-left:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-4{padding-left:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-5{padding-left:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=ltr] .ck-document-outline__item.ck-document-outline__item_level-6{padding-left:var(--ck-document-outline-indent-level-6)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-1{padding-right:var(--ck-document-outline-indent-level-1)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-2{padding-right:var(--ck-document-outline-indent-level-2)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-3{padding-right:var(--ck-document-outline-indent-level-3)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-4{padding-right:var(--ck-document-outline-indent-level-4)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-5{padding-right:var(--ck-document-outline-indent-level-5)}.ck.ck-document-outline[dir=rtl] .ck-document-outline__item.ck-document-outline__item_level-6{padding-right:var(--ck-document-outline-indent-level-6)}",""]);const c=i},362:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(758),i=n.n(o)()((function(e){return e[1]}));i.push([e.id,":root{--ck-table-of-contents-padding:1em;--ck-table-of-contents-line-height:1.5;--ck-table-of-contents-items-start-padding:24px;--ck-table-of-contents-border-color:var(--ck-color-base-border);--ck-table-of-contents-label-background-color:#757575;--ck-table-of-contents-background-color:var(--ck-color-base-foreground)}.ck-content .table-of-contents{margin:.9em auto}.ck-content .table-of-contents.table-of-contents_empty{display:none}.ck-content .table-of-contents .table-of-contents__placeholder{font-style:italic;margin:0;padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents>ol{padding:var(--ck-table-of-contents-padding)}.ck-content .table-of-contents ol{line-height:var(--ck-table-of-contents-line-height);list-style-type:none;margin:0}.ck-content .table-of-contents ol ol{padding-inline-start:var(--ck-table-of-contents-items-start-padding)}.ck-content .table-of-contents ol li{cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-editor__editable .ck-widget.table-of-contents{background-color:var(--ck-table-of-contents-background-color);border:1px solid var(--ck-table-of-contents-border-color);position:relative}.ck-editor__editable .ck-widget.table-of-contents.table-of-contents_empty{display:block}.ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{background-color:var(--ck-table-of-contents-label-background-color);color:#fff;content:attr(data-table-of-contents-label);font-family:var(--ck-font-face);font-size:10px;line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:10px;top:-1px;white-space:nowrap}[dir=rtl] .ck-editor__editable .ck-widget.table-of-contents[data-table-of-contents-label]:after{left:10px;right:auto}",""]);const c=i},758:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(o)for(var c=0;c<this.length;c++){var r=this[c][0];null!=r&&(i[r]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&i[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},278:(e,t,n)=>{"use strict";var o,i=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},c=function(){var e={};return 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(e){n=null}e[t]=n}return e[t]}}(),r=[];function l(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},o=[],i=0;i<e.length;i++){var c=e[i],s=t.base?c[0]+t.base:c[0],a=n[s]||0,d="".concat(s," ").concat(a);n[s]=a+1;var u=l(d),m={css:c[1],media:c[2],sourceMap:c[3]};-1!==u?(r[u].references++,r[u].updater(m)):r.push({identifier:d,updater:p(m,t),references:1}),o.push(d)}return o}function a(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var i=n.nc;i&&(o.nonce=i)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var r=c(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function m(e,t,n,o){var i=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var c=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(c,r[t]):e.appendChild(c)}}function f(e,t,n){var o=n.css,i=n.media,c=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),c&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(c))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,g=0;function p(e,t){var n,o,i;if(t.singleton){var c=g++;n=h||(h=a(t)),o=m.bind(null,n,c,!1),i=m.bind(null,n,c,!0)}else n=a(t),o=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var i=l(n[o]);r[i].references--}for(var c=s(e,t),a=0;a<n.length;a++){var d=l(n[a]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=c}}}},704:(e,t,n)=>{e.exports=n(79)("./src/core.js")},492:(e,t,n)=>{e.exports=n(79)("./src/engine.js")},273:(e,t,n)=>{e.exports=n(79)("./src/ui.js")},209:(e,t,n)=>{e.exports=n(79)("./src/utils.js")},995:(e,t,n)=>{e.exports=n(79)("./src/widget.js")},79:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var c=t[o]={id:o,exports:{}};return e[o](c,c.exports,n),c.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{DocumentOutline:()=>se,DocumentOutlineUI:()=>ne,DocumentOutlineUtils:()=>F,HeadingId:()=>Ie,TableOfContents:()=>Ke,TableOfContentsCommand:()=>ge,TableOfContentsEditing:()=>Ne,TableOfContentsUI:()=>He,icons:()=>Ve});var e=n(704),t=n(209);const i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const c="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const l=c||r||Function("return this")();const s=function(){return l.Date.now()};var a=/\s/;const d=function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t};var u=/^\s+/;const m=function(e){return e?e.slice(0,d(e)+1).replace(u,""):e};const f=l.Symbol;var h=Object.prototype,g=h.hasOwnProperty,p=h.toString,v=f?f.toStringTag:void 0;const x=function(e){var t=g.call(e,v),n=e[v];try{e[v]=void 0;var o=!0}catch(e){}var i=p.call(e);return o&&(t?e[v]=n:delete e[v]),i};var k=Object.prototype.toString;const b=function(e){return k.call(e)};var _=f?f.toStringTag:void 0;const w=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?x(e):b(e)};const y=function(e){return null!=e&&"object"==typeof e};const I=function(e){return"symbol"==typeof e||y(e)&&"[object Symbol]"==w(e)};var C=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,T=/^0o[0-7]+$/i,E=parseInt;const A=function(e){if("number"==typeof e)return e;if(I(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=m(e);var n=O.test(e);return n||T.test(e)?E(e.slice(2),n?2:8):C.test(e)?NaN:+e};var N=Math.max,S=Math.min;const H=function(e,t,n){var o,c,r,l,a,d,u=0,m=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,i=c;return o=c=void 0,u=t,l=e.apply(i,n)}function p(e){var n=e-d;return void 0===d||n>=t||n<0||f&&e-u>=r}function v(){var e=s();if(p(e))return x(e);a=setTimeout(v,function(e){var n=t-(e-d);return f?S(n,r-(e-u)):n}(e))}function x(e){return a=void 0,h&&o?g(e):(o=c=void 0,l)}function k(){var e=s(),n=p(e);if(o=arguments,c=this,d=e,n){if(void 0===a)return function(e){return u=e,a=setTimeout(v,t),m?g(e):l}(d);if(f)return clearTimeout(a),a=setTimeout(v,t),g(d)}return void 0===a&&(a=setTimeout(v,t)),l}return t=A(t)||0,i(n)&&(m=!!n.leading,r=(f="maxWait"in n)?N(A(n.maxWait)||0,t):r,h="trailing"in n?!!n.trailing:h),k.cancel=function(){void 0!==a&&clearTimeout(a),u=0,o=d=c=a=void 0},k.flush=function(){return void 0===a?l:x(s())},k};var D=n(492);const j=["data","htmlH3","reduce","push","htmlH4","has","model","htmlH2","get","GeneralHtmlSupport","htmlH5","htmlH1"];var M,P;M=j,P=203,function(e){for(;--e;)M.push(M.shift())}(++P);const K=function(e,t){return j[e-=0]};function V(e){let t="";for(const n of e.getChildren())n instanceof D.Text&&(t+=n[K("0x1")]);return t}const U=["documentOutline.headings","getRootNames","model","getChild","editing","data","activeItemIndex","change","domToView","element","includes","item","getFirstPosition","level","config","fire","push","backward","editor","_deriveHeadingElementsFromConversion","name","get","modelElement","document","afterInit","_getOutlineDefinitions","length","findIndex","indexOf","_getActiveHeading","init","domConverter","text","createElement","_headingNames","getRoot","toModel"];var R,L;R=U,L=401,function(e){for(;--e;)R.push(R.shift())}(++L);const Z=function(e,t){return U[e-=0]};class F extends e.Plugin{constructor(){super(...arguments),this._headingNames=[]}static get pluginName(){return"DocumentOutlineUtils"}[Z("0x24")](){const e=this[Z("0x18")];this._headingNames=this._getHeadingNames();let n=[];e[Z("0x8")][Z("0x1d")].on(Z("0xd"),H((()=>{const e=n;n=this[Z("0x1f")]();const o=(0,t.diff)(e,n,((e,t)=>e[Z("0x13")]===t.level&&e[Z("0x1")]===t[Z("0x1")]&&e[Z("0x1c")]===t[Z("0x1c")])),i=(0,t.diffToChanges)(o,n),c=this[Z("0x23")](),r=n[Z("0x21")]((e=>e[Z("0x1c")]===c));i.length&&this[Z("0x15")](Z("0xd"),{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this[Z("0x15")](Z("0xc"),{index:r})}),250,{leading:!0,trailing:!0}))}[Z("0x1e")](){this._headingNames[Z("0x20")]||this[Z("0x19")]()}_getOutlineDefinitions(){const e=this[Z("0x18")],t=[],n=this[Z("0x3")];for(const t of e[Z("0x8")][Z("0x1d")][Z("0x7")]())o(e[Z("0x8")][Z("0x1d")][Z("0x4")](t));function o(e){for(const i of e.getChildren())i.is(Z("0xf"))&&(n[Z("0x10")](i.name)&&t.push({level:n[Z("0x22")](i[Z("0x1a")])+1,text:V(i),modelElement:i}),o(i))}return t}[Z("0x23")](){const e=this[Z("0x18")][Z("0x8")].document.selection[Z("0x12")](),t=new D.TreeWalker({direction:Z("0x17"),startPosition:e});for(const e of t)if(e[Z("0x11")].is("element")&&this[Z("0x3")][Z("0x10")](e[Z("0x11")][Z("0x1a")]))return e[Z("0x11")]}_getHeadingNames(){return this[Z("0x18")][Z("0x14")][Z("0x1b")](Z("0x6"))||function(e){const t=e.config[K("0x9")]("heading.options");return t?t[K("0x3")](((e,t)=>("paragraph"!==t[K("0x7")]&&e[K("0x4")](t[K("0x7")]),e)),[]):e.plugins[K("0x6")](K("0xa"))?[K("0x0"),K("0x8"),K("0x2"),K("0x5"),K("0xb"),"htmlH6"]:[]}(this.editor)}[Z("0x19")](){const e=this[Z("0x18")],t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e[Z("0xa")].view[Z("0x0")][Z("0xe")](document[Z("0x2")](o)),i=e[Z("0xb")][Z("0x5")](t)[Z("0x9")](0);(null==i?void 0:i.is("element"))&&n[Z("0x16")](i.name)}this._headingNames=n}}var z=n(273);class W extends z.View{constructor(e,t=!1){super(e);const n=e.t,o=this.bindTemplate,i=t?"["+n("Empty heading")+"]":"";this.set("text",""),this.set("level",1),this.set("isActive",!1),this.bind("isEmpty").to(this,"text",(e=>!e)),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline__item",o.to("level",(e=>"ck-document-outline__item_level-"+e)),o.if("isActive","ck-document-outline__item_active"),o.if("isEmpty","ck-document-outline__item_empty")],title:o.to("text")},children:[{text:o.to("text",(e=>e||i))}],on:{click:o.to("click")}})}scrollTo(){(0,t.scrollAncestorsToShowTarget)(this.element,20)}}class $ extends z.View{constructor(e,t=!1){super(e);const n=e.t;this.showEmptyHeadingText=t,this.set("activeItemIndex",-1),this.items=this.createCollection(),this.items.delegate("click").to(this),this.on("click",this._handleItemClick.bind(this)),this.on("change:activeItemIndex",((e,t,n,o)=>{this._setActiveItem(o,n)})),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-document-outline"],dir:e.contentLanguageDirection,"data-document-outline-empty-placeholder":n("Editor headings will appear here as you type.")},children:this.items})}sync(e){e.forEach((e=>{"insert"==e.type?this._insertItem(e.index,...e.values):"delete"==e.type&&this._deleteItem(e.index,e.howMany)}))}_setActiveItem(e,t){if(-1!==e){const t=this.items.get(e);t&&(t.isActive=!1)}-1!==t&&(this.items.get(t).isActive=!0,this.items.get(t).scrollTo())}_insertItem(e,...t){const n=t.map(((t,n)=>{const o=new W(this.locale,this.showEmptyHeadingText);return o.text=t.text,o.level=t.level,e+n===this.activeItemIndex&&(o.isActive=!0),o}));this.items.addMany(n,e)}_deleteItem(e,t){do{this.items.remove(e)}while(--t)}_handleItemClick(e){const t=this.items.getIndex(e.source);this.fire("itemSelected",t)}}const B=function(e,t,n){var o=!0,c=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,c="trailing"in n?!!n.trailing:c),H(e,t,{leading:o,maxWait:t,trailing:c})};var q=n(278),G=n.n(q),J=n(888),Y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(J.Z,Y);J.Z.locals;const Q=["cancel","getDomRoot","activeItemIndex","element","_handleOutlineChange","config","getRootNames","modelElement","domConverter","setSelection","map","_updateActiveDefinitionFromViewportThrottled","join","_setActiveViewItem","fromCharCode","editing","bind","_currentOutlineDefinitions","length","scrollToTheSelection","DocumentOutlineUtils","documentOutline.showEmptyHeadings","getRevision","toViewElement","view","isNaN","document-outline-container-not-provided","change","top","appendChild","listenTo","DocumentOutlineUI","indexOf","get","destroy","getIntersection","afterInit","context","document","mapper","locale","documentOutline.container","focus","scroll","_updateActiveDefinitionOnViewportChange","resize","_handleItemSelected","editor","sync","window","getVisible","height","plugins","then","model"];var X,ee;X=Q,ee=223,function(e){for(;--e;)X.push(X.shift())}(++ee);const te=function(e,t){return Q[e-=0]};class ne extends e.Plugin{static get pluginName(){return te("0x1c")}constructor(e){super(e),this[te("0x15")]=new $(e[te("0x25")],this[te("0x2c")][te("0x2")][te("0x1e")](te("0x12"))),this._currentOutlineDefinitions=[],this[te("0x8")]=B(this[te("0x29")].bind(this),100)}init(){const e=this[te("0x2c")],n=e[te("0x31")][te("0x1e")](te("0x11"));let o=!1;if(this.view.render(),!e.config[te("0x1e")]("documentOutline.container"))throw new t.CKEditorError(te("0x17"),{editor:e});e[te("0x2")][te("0x1e")](te("0x26"))[te("0x1a")](this[te("0x15")][te("0x0")]),n.on(te("0x18"),this[te("0x1")][te("0xd")](this)),n.on(te("0x36"),((e,{index:t})=>this[te("0xa")](t))),this[te("0x15")].on("itemSelected",((e,t)=>{o=!0,this[te("0x2b")](t)})),this[te("0x15")][te("0x1b")](t.global.document,te("0x28"),(()=>{o?o=!1:this[te("0x8")]()}),{useCapture:!0}),this[te("0x15")].listenTo(t.global[te("0x2e")],te("0x2a"),this[te("0x8")],{useCapture:!0})}[te("0x21")](){!function(t){function n(e){return e[te("0x7")]((e=>String[te("0xb")](e)))[te("0x9")]("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o[te("0x13")](0),c=o.getEarlierVisibleRevision(i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1)[te("0x32")]((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number[te("0x16")](Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t[te("0x22")]:t[te("0x2c")],d=n([52,48,52,54,49,48,52,52]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a.config[te("0x1e")](n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}[te("0x1f")](){super[te("0x1f")](),this[te("0x15")].destroy(),this[te("0x8")][te("0x34")]()}[te("0x1")](e,{outlineDefinitions:t,activeItemIndex:n,outlineChanges:o}){this[te("0xe")]=t,this[te("0x15")][te("0x2d")](o)}_setActiveViewItem(e){this[te("0x15")][te("0x36")]=e}[te("0x2b")](e){const t=this[te("0xe")][e][te("0x4")];this.editor.model[te("0x18")]((e=>{e[te("0x6")](t,0)})),this.editor[te("0xc")][te("0x15")][te("0x10")]({alignToTop:!0,forceScroll:!0}),this[te("0x2c")].editing[te("0x15")][te("0x27")](),this._setActiveViewItem(e)}[te("0x29")](){const e=this[te("0x2c")];let n;for(const o of e[te("0x33")][te("0x23")][te("0x3")]()){const i=e.editing[te("0x15")][te("0x35")](o),c=new t.Rect(i)[te("0x2f")]();if(c){const e=new t.Rect(t.global.window)[te("0x20")](c);e&&(n=e[te("0x19")]+.25*e[te("0x30")])}}if(void 0===n)return;const o=oe(e[te("0xc")],this[te("0xe")],n);o?this[te("0xa")](this[te("0xe")][te("0x1d")](o)):this._setActiveViewItem(-1)}}function oe(e,n,o,i=0,c=n[te("0xf")]-1){const r=Math.floor(i+(c-i)/2);if(c>=i){const l=n[r],s=e[te("0x24")][te("0x14")](l[te("0x4")]),a=e[te("0x15")][te("0x5")].mapViewToDom(s);return new t.Rect(a).bottom>o?oe(e,n,o,i,r-1):oe(e,n,o,r+1,c)}return r<0?null:n[r]}const ie=["licenseKey","document-outline-trial-license-key-reached-limit-changes","info","_licenseKeyCheckInterval","get","document-outline-invalid-license-key","documentOutlineLicenseKeyInvalid","pluginName","documentOutlineLicenseKeyValid","requires","documentOutlineLicenseKeyTrial","config","init","editor","documentOutlineLicenseKeyTrialLimit:operations"];var ce,re;ce=ie,re=339,function(e){for(;--e;)ce.push(ce.shift())}(++re);const le=function(e,t){return ie[e-=0]};class se extends e.Plugin{static get[le("0x0")](){return[F,ne]}static get[le("0xd")](){return"DocumentOutline"}constructor(e){super(e),this[le("0x9")]=null}[le("0x3")](){const e=this[le("0x4")];this[le("0x6")]=e[le("0x2")][le("0xa")](le("0x6"));const n=this[le("0x4")];this[le("0x9")]=setInterval((()=>{let e;for(const t in n){const o=t,i=n[o];if(le("0x1")===i||le("0xc")===i||le("0xe")===i||le("0x5")===i){delete n[o],e=i;break}}if("documentOutlineLicenseKeyInvalid"===e)throw clearInterval(this[le("0x9")]),new t.CKEditorError(le("0xb"),null);if(le("0x1")===e&&console[le("0x8")]("You are using the trial version of CKEditor 5 document outline plugin with limited usage. Make sure you will not use it in the production environment."),le("0x5")===e)throw clearInterval(this[le("0x9")]),new t.CKEditorError(le("0x7"),null);le("0xe")===e&&clearInterval(this[le("0x9")])}),1e3)}}const ae='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n';var de=n(995);const ue=["schema","editor","insertObject","execute","selection","createElement","getFirstPosition","change","findAllowedParent","model","isEnabled","document"];var me,fe;me=ue,fe=192,function(e){for(;--e;)me.push(me.shift())}(++fe);const he=function(e,t){return ue[e-=0]};class ge extends e.Command{[he("0x3")](){this[he("0x1")][he("0x9")][he("0x7")]((e=>{this.editor[he("0x9")][he("0x2")](e[he("0x5")]("tableOfContents"))}))}refresh(){const e=this[he("0x1")].model,t=e[he("0xb")][he("0x4")][he("0x6")]();this[he("0xa")]=null!==(t&&e[he("0x0")][he("0x8")](t,"tableOfContents"))}}var pe=n(362),ve={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(pe.Z,ve);pe.Z.locals;function xe(e){let t="";for(const n of e.getChildren())n instanceof D.Text&&(t+=n.data);return t}class ke extends e.Plugin{constructor(){super(...arguments),this._headingNames=[]}static get pluginName(){return"DocumentOutlineUtils"}init(){const e=this.editor;this._headingNames=this._getHeadingNames();let n=[];e.model.document.on("change",H((()=>{const e=n;n=this._getOutlineDefinitions();const o=(0,t.diff)(e,n,((e,t)=>e.level===t.level&&e.text===t.text&&e.modelElement===t.modelElement)),i=(0,t.diffToChanges)(o,n),c=this._getActiveHeading(),r=n.findIndex((e=>e.modelElement===c));i.length&&this.fire("change",{outlineDefinitions:n,activeItemIndex:r,outlineChanges:i}),this.fire("activeItemIndex",{index:r})}),250,{leading:!0,trailing:!0}))}afterInit(){this._headingNames.length||this._deriveHeadingElementsFromConversion()}_getOutlineDefinitions(){const e=this.editor,t=[],n=this._headingNames;for(const t of e.model.document.getRootNames())o(e.model.document.getRoot(t));function o(e){for(const i of e.getChildren())i.is("element")&&(n.includes(i.name)&&t.push({level:n.indexOf(i.name)+1,text:xe(i),modelElement:i}),o(i))}return t}_getActiveHeading(){const e=this.editor.model.document.selection.getFirstPosition(),t=new D.TreeWalker({direction:"backward",startPosition:e});for(const e of t)if(e.item.is("element")&&this._headingNames.includes(e.item.name))return e.item}_getHeadingNames(){const e=this.editor.config.get("documentOutline.headings");return e||function(e){const t=e.config.get("heading.options");return t?t.reduce(((e,t)=>("paragraph"!==t.model&&e.push(t.model),e)),[]):e.plugins.has("GeneralHtmlSupport")?["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"]:[]}(this.editor)}_deriveHeadingElementsFromConversion(){const e=this.editor,t=["h1","h2","h3","h4","h5","h6"],n=[];for(const o of t){const t=e.editing.view.domConverter.domToView(document.createElement(o)),i=e.data.toModel(t).getChild(0);(null==i?void 0:i.is("element"))&&n.push(i.name)}this._headingNames=n}}var be=n(45),_e={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(be.Z,_e);be.Z.locals;var we=n(399),ye={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};G()(we.Z,ye);we.Z.locals;class Ie extends e.Plugin{static get pluginName(){return"HeadingId"}afterInit(){const e=this.editor;if(e.config.get("headingId.modelAttributeName"))return;(function(e){const t=new Map;if(e)return e.forEach((e=>{"paragraph"!==e.model&&t.set(e.view,e.model)})),t.get("h1")||t.set("h1","heading1"),t;return t})(this.editor.config.get("heading.options")).forEach(((t,n)=>{this._customUpcastHeadingsConversion(n),this._customDataDowncastHeadingsConversion(t),e.model.schema.isRegistered(t)&&e.model.schema.extend(t,{allowAttributes:"headingId"})})),this._registerHeadingIdAttributePostfixer()}_customUpcastHeadingsConversion(e){this.editor.data.upcastDispatcher.on(`element:${e}`,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n.viewItem.getAttribute("id"),l=n.modelRange.getContainedElement();if(!(r&&r.length||l.hasAttribute("headingId")))return i.consume(n.viewItem,{attributes:["id"]}),void c.setAttribute("headingId",(0,t.uid)(),l);i.consume(n.viewItem,{attributes:["id"]})&&c.setAttribute("headingId",r,l)}),{priority:t.priorities.get("low")+.5})}_customDataDowncastHeadingsConversion(e){this.editor.conversion.for("downcast").add((t=>t.on(`attribute:headingId:${e}`,((e,t,n)=>{if(!n.consumable.consume(t.item,e.name))return;const o=t.item.getAttribute("headingId"),i=n.mapper.toViewElement(t.item);n.writer.setAttribute("id",o,i)}))))}_registerHeadingIdAttributePostfixer(){const e=this.editor,n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o.add(i),e.setAttribute("headingId",i,n),i}function c(e,t){e.removeAttribute("headingId",t)}e.model.document.registerPostFixer((t=>{const r=e.model.document.differ.getChanges();let l=!1;for(const e of r)if("insert"==e.type&&e.name)if(e.name.match(/heading\d/)){const c=e.attributes.get("headingId");"string"==typeof c?n.has(c)?(i(t,e.position.nodeAfter),l=!0):o.add(c):(i(t,e.position.nodeAfter),l=!0)}else{"string"==typeof e.attributes.get("headingId")&&(c(t,e.position.nodeAfter),l=!0)}else if("remove"==e.type){const t=e.attributes.get("headingId");"string"==typeof t&&n.delete(t)}return l})),e.model.document.on("change",(()=>{o.forEach((e=>n.add(e))),o.clear()}))}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Ce=["low","toViewElement","change","viewItem","get","headingId.modelAttributeName","data","attribute:headingId:","getContainedElement","removeAttribute","schema","pluginName","consume","attributes","nodeAfter","differ","downcast","name","hasAttribute","forEach","_customDataDowncastHeadingsConversion","conversion","heading1","afterInit","getChanges","extend","getAttribute","has","item","headingId","heading.options","_customUpcastHeadingsConversion","_registerHeadingIdAttributePostfixer","editor","match","for","model","mapper","config","upcastDispatcher","modelRange","delete","setAttribute","set","consumable","string","remove","document","add","type","writer"];var Oe,Te;Oe=Ce,Te=111,function(e){for(;--e;)Oe.push(Oe.shift())}(++Te);const Ee=function(e,t){return Ce[e-=0]};class Ae extends e.Plugin{static get[Ee("0x2")](){return"HeadingId"}[Ee("0xe")](){const e=this[Ee("0x18")];e[Ee("0x1d")].get(Ee("0x2f"))||(function(e){const t=new Map;return e?(e[Ee("0xa")]((e=>{"paragraph"!==e.model&&t.set(e.view,e[Ee("0x1b")])})),t[Ee("0x2e")]("h1")||t[Ee("0x22")]("h1",Ee("0xd")),t):t}(this[Ee("0x18")][Ee("0x1d")][Ee("0x2e")](Ee("0x15")))[Ee("0xa")](((t,n)=>{this._customUpcastHeadingsConversion(n),this[Ee("0xb")](t),e[Ee("0x1b")][Ee("0x1")].isRegistered(t)&&e[Ee("0x1b")][Ee("0x1")][Ee("0x10")](t,{allowAttributes:Ee("0x14")})})),this[Ee("0x17")]())}[Ee("0x16")](e){this.editor[Ee("0x30")][Ee("0x1e")].on("element:"+e,((e,n,o)=>{const{consumable:i,writer:c}=o,r=n[Ee("0x2d")][Ee("0x11")]("id"),l=n[Ee("0x1f")][Ee("0x32")]();if(!(r&&r.length||l[Ee("0x9")](Ee("0x14"))))return i[Ee("0x3")](n[Ee("0x2d")],{attributes:["id"]}),void c[Ee("0x21")]("headingId",(0,t.uid)(),l);i.consume(n.viewItem,{attributes:["id"]})&&c[Ee("0x21")](Ee("0x14"),r,l)}),{priority:t.priorities.get(Ee("0x2a"))+.5})}[Ee("0xb")](e){this.editor[Ee("0xc")][Ee("0x1a")](Ee("0x7")).add((t=>t.on(Ee("0x31")+e,((e,t,n)=>{if(!n[Ee("0x23")][Ee("0x3")](t.item,e[Ee("0x8")]))return;const o=t[Ee("0x13")][Ee("0x11")]("headingId"),i=n[Ee("0x1c")][Ee("0x2b")](t[Ee("0x13")]);n[Ee("0x29")].setAttribute("id",o,i)}))))}[Ee("0x17")](){const e=this[Ee("0x18")],n=new Set,o=new Set;function i(e,n){const i=(0,t.uid)();return o[Ee("0x27")](i),e[Ee("0x21")](Ee("0x14"),i,n),i}e.model.document.registerPostFixer((t=>{const c=e.model[Ee("0x26")][Ee("0x6")][Ee("0xf")]();let r=!1;for(const e of c)if("insert"==e[Ee("0x28")]&&e.name)if(e[Ee("0x8")][Ee("0x19")](/heading\d/)){const c=e[Ee("0x4")][Ee("0x2e")]("headingId");Ee("0x24")==typeof c?n[Ee("0x12")](c)?(i(t,e.position[Ee("0x5")]),r=!0):o[Ee("0x27")](c):(i(t,e.position.nodeAfter),r=!0)}else Ee("0x24")==typeof e[Ee("0x4")][Ee("0x2e")]("headingId")&&(l=t,s=e.position.nodeAfter,l[Ee("0x0")](Ee("0x14"),s),r=!0);else if(Ee("0x25")==e[Ee("0x28")]){const t=e[Ee("0x4")][Ee("0x2e")](Ee("0x14"));Ee("0x24")==typeof t&&n[Ee("0x20")](t)}var l,s;return r})),e[Ee("0x1b")][Ee("0x26")].on(Ee("0x2c"),(()=>{o.forEach((e=>n.add(e))),o.clear()}))}}class Ne extends e.Plugin{static get pluginName(){return"TableOfContentsEditing"}static get requires(){return[de.Widget,ke,Ae]}constructor(e){super(e),this._currentOutlineDefinitions=[],this._tableOfContentsElements=new Set,this._headingIdModelAttributeName="headingId"}init(){const e=this.editor,t=e.editing.view.document;e.config.get("headingId.modelAttributeName")&&(this._headingIdModelAttributeName=e.config.get("headingId.modelAttributeName")),this.listenTo(t,"click",((e,t)=>{if(!t.target)return;const n=t.target.getCustomProperty("tableOfContentsHeadingIndex");Number.isInteger(n)&&(t.domEvent.preventDefault(),e.stop(),this._handleScrollToHeading(n))}),{priority:"high",context:"$capture"}),this._defineSchema(),this._defineConverters(),e.commands.add("insertTableOfContents",new ge(e)),e.plugins.get("DocumentOutlineUtils").on("change",((e,t)=>{this._currentOutlineDefinitions=t.outlineDefinitions,this._updateTableOfContentsElements()})),this.listenTo(e.model.document,"change",(()=>{this._trackNewToCElements()}))}afterInit(){!function(t){function n(e){return e.map((e=>String.fromCharCode(e))).join("")}(t=>{const o=[1,85,78,115,198,255,50,112,83,87,161],i=[127,34,6,211,167,86,146,199,132,160,18];function c(e){return function(e,t){const o=function(e){const t=atob(e),[o,i]=t[n([115,112,108,105,116])](n([45]));try{if(atob(i))return atob(o)}catch(e){}return t}(e),i=Array[n([102,114,111,109])](function(e){const t=new Uint8Array(e[n([108,101,110,103,116,104])]);for(let o=0;o<e[n([108,101,110,103,116,104])];o++)t[o]=e[n([99,104,97,114,67,111,100,101,65,116])](o);return t}(o)),c=i[n([112,111,112])](),r=i[n([112,111,112])]();return function(e){let t="";for(const o of e)t+=String[n([102,114,111,109,67,104,97,114,67,111,100,101])](o);return t}(function(e,t,o){const i={};i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[n([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[n([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[n([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[n([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[n([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[n([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[n([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[n([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[n([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[n([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const c=new Uint8Array(16);for(let e=15;e>=0;--e)c[e]=o%256,o=parseInt(o/256);let r=null,l=16;const s=new Uint8Array(t),a=[],d=[];!function(){const e=i[n([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][s[n([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)a[n([112,117,115,104])]([0,0,0,0]),d[n([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),o=s[n([108,101,110,103,116,104])]/4,c=u(s);let r;for(let t=0;t<o;t++)r=t>>2,a[r][t%4]=c[t],d[e-r][t%4]=c[t];let l,m=0,f=o;for(;f<t;){l=c[o-1],c[0]^=i[n([83])][l>>16&255]<<24^i[n([83])][l>>8&255]<<16^i[n([83])][255&l]<<8^i[n([83])][l>>24&255]^i[n([114,99,111,110])][m]<<24,m+=1;for(let e=1;e<o/2;e++)c[e]^=c[e-1];l=c[o/2-1],c[o/2]^=i[n([83])][255&l]^i[n([83])][l>>8&255]<<8^i[n([83])][l>>16&255]<<16^i[n([83])][l>>24&255]<<24;for(let e=o/2+1;e<o;e++)c[e]^=c[e-1];let r,s,u=0;for(;u<o&&f<t;)r=f>>2,s=f%4,a[r][s]=c[u],d[e-r][s]=c[u++],f++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)l=d[t][e],d[t][e]=i[n([85,49])][l>>24&255]^i[n([85,50])][l>>16&255]^i[n([85,51])][l>>8&255]^i[n([85,52])][255&l]}();for(let t=0;t<e[n([108,101,110,103,116,104])];t++)16===l&&(r=f(c),l=0,m(c)),e[t]^=r[l++];return e;function u(e){const t=[];for(let o=0;o<e[n([108,101,110,103,116,104])];o+=4)t[n([112,117,115,104])](e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]);return t}function m(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function f(e){const t=a[n([108,101,110,103,116,104])]-1,o=[0,0,0,0];let c=u(e);for(let e=0;e<4;e++)c[e]^=a[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)o[t]=i[n([84,49])][c[t]>>24&255]^i[n([84,50])][c[(t+1)%4]>>16&255]^i[n([84,51])][c[(t+2)%4]>>8&255]^i[n([84,52])][255&c[(t+3)%4]]^a[e][t];c=o[n([115,108,105,99,101])]()}const r=new Uint8Array(16);let l;for(let e=0;e<4;e++)l=a[t][e],r[4*e]=255&(i[n([83])][c[e]>>24&255]^l>>24),r[4*e+1]=255&(i[n([83])][c[(e+1)%4]>>16&255]^l>>16),r[4*e+2]=255&(i[n([83])][c[(e+2)%4]>>8&255]^l>>8),r[4*e+3]=255&(i[n([83])][255&c[(e+3)%4]]^l);return r}}(i,t,r+256*c))}(e,new Uint8Array([...o,29,221,175,90,231,133,239,240,75,180,...i]))}const r=function(){const e=[{[n([105,100])]:1,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([67,111,109,109,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101]),[n([99,104,101,99,107,65,108,115,111])]:[{[n([105,100])]:2,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,114,97,99,107,32,67,104,97,110,103,101,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}}],[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:3,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110]),[n([112,108,117,103,105,110,78,97,109,101])]:n([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:4,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[n([112,108,117,103,105,110,78,97,109,101])]:n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([108,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[n([111,112,116,105,111,110,115])]:{[n([97,105,119,115,103,105,99])]:!0,[n([97,105,116,99,100,103,105,108])]:!0}},{[n([105,100])]:5,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:6,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[n([112,108,117,103,105,110,78,97,109,101])]:n([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:7,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([83,108,97,115,104,32,67,111,109,109,97,110,100]),[n([112,108,117,103,105,110,78,97,109,101])]:n([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:8,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])},{[n([105,100])]:9,[n([102,101,97,116,117,114,101,78,97,109,101])]:n([84,101,109,112,108,97,116,101]),[n([112,108,117,103,105,110,78,97,109,101])]:n([84,101,109,112,108,97,116,101,85,73]),[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:n([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[n([104,97,110,100,108,101,114])]:n([99,104,101,99,107,76,105,99,101,110,115,101])}];return function e(t){t[n([102,111,114,69,97,99,104])]((t=>{t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[n([105,100])]-1,t[n([99,104,101,99,107,65,108,115,111])]&&e(t[n([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),l={[n([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){g(h(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){g(function(e,t){try{if(_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const o=w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[n([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(o)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}return h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)},[n([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const c=i[0]*o[1],r=i[0]*o[2],l=i[2]*o[2];function s(e,t){d(),p(t+n([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===n([116,105,109,101])?c:r}function d(){const e=a;function t(){_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([117,112,100,97,116,101])]=b,w(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[n([115,97,118,101,82,101,118,105,115,105,111,110])]=b,e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([117,110,98,105,110,100])](n([105,115,69,110,97,98,108,101,100])),w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([105,115,69,110,97,98,108,101,100])]=!1,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])]=b,w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([95,103,101,116,68,105,102,102])]=b)}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>{if(_(e,n([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),_(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=w(e,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o.getRevision(0),c=o.getEarlierVisibleRevision(i[n([105,100])]);w(e,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[n([99,111,109,112,97,114,101])](i[n([105,100])],c?c[n([105,100])]:null,1).then((()=>t()))}}))}_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]==n([99,111,110,110,101,99,116,101,100])&&(window[v()]=l),function(e,t){if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))d();else if(e==t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])){const e=function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))){if(window[e]===c)return n([116,105,109,101]);if(window[e]===r)return n([114,101,118,105,115,105,111,110,115])}return!1}();e&&s(e,t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const l=function(){let e=i[6]*o[8]*o[6];return _(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{s(n([116,105,109,101]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),l);const d=w(a,n([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[n([95,114,101,118,105,115,105,111,110,115])];d[n([108,101,110,103,116,104])]>=7?s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):d.on(n([97,100,100]),(()=>{d[n([108,101,110,103,116,104])]>=7&&s(n([114,101,118,105,115,105,111,110,115]),t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){if(!_(a,n([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const e in window)if(Number.isNaN(Number(e))&&window[e]===l)return!0;return!1}()?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):h(e,t)}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}(e,t),t)}},s=t[n([99,111,110,115,116,114,117,99,116,111,114])][n([112,108,117,103,105,110,78,97,109,101])],a=n([99,111,110,116,101,120,116])in t?t.context:t.editor,d=n([52,48,52,54,49,48,52,52]),u=n([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),m=a.config.get(n([108,105,99,101,110,115,101,75,101,121])),f=r[n([102,105,110,100])]((e=>e[n([112,108,117,103,105,110,78,97,109,101])]===s));function h(e,t){try{return function(e){if(!_(a,e[n([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[n([111,112,116,105,111,110,115])]||{},o=t[n([97,105,119,115,103,105,99])]||!1,i=t[n([97,105,116,99,100,103,105,108])]||!1;return!(!_(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||w(a,n([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[n([115,116,97,116,101])]!=n([99,111,110,110,101,99,116,101,100])||!o)||!(!_(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||w(a,n([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[n([114,101,115,117,108,116])]!=n([101,110,100])||!i)}(t)?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):e&&e[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]&t[n([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]?e[n([105,115,73,110,116,101,114,110,97,108])]&&!window[n([111,112,101,110])][n([99,108,111,115,101,100])]||parseInt(d)/2>e[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])):e[n([105,115,84,114,105,97,108])]?p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([86,97,108,105,100])):p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}catch(e){return p(t[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100]))}}function g(t,c){if(a instanceof e.Context){const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?x(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&window[n([115,101,116,84,105,109,101,111,117,116])]((()=>{x(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),i[6]*o[8]*o[6]),e[n([101,100,105,116,111,114,115])][n([111,110])](n([97,100,100]),((e,o)=>{t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&t!=c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||k(o)}))}else{const e=a;t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([73,110,118,97,108,105,100])?k(e):t==c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108])&&e[n([111,110])](n([114,101,97,100,121]),(()=>{let t=0;e[n([109,111,100,101,108])][n([111,110])](n([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][n([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504===t&&(k(e),p(c[n([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+n([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[n([111,102,102])]())}),{priority:n([104,105,103,104,101,115,116])})}))}}function p(e){const t=v();return a[t]=e,e}function v(){const e=String(window[n([112,101,114,102,111,114,109,97,110,99,101])][n([110,111,119])]())[n([114,101,112,108,97,99,101])](n([46]),"");let t="";for(let o=0;o<e[n([108,101,110,103,116,104])];o+=2){let i=parseInt(e[n([115,117,98,115,116,114,105,110,103])](o,o+2));i>=u[n([108,101,110,103,116,104])]&&(i-=u[n([108,101,110,103,116,104])]),t+=u[i]}return t}function x(e){for(const t of e[n([101,100,105,116,111,114,115])])k(t);w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),w(e,n([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[n([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=b}function k(e){function t(){e[n([109,111,100,101,108])][n([99,104,97,110,103,101])]=b,e[n([109,111,100,101,108])][n([101,110,113,117,101,117,101,67,104,97,110,103,101])]=b,e[n([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](n([109,111,100,101,108]))}e[n([115,116,97,116,101])]==n([114,101,97,100,121])?t():e[n([111,110,99,101])](n([114,101,97,100,121]),(()=>t()))}function b(){return null}function _(e,t){return e[n([112,108,117,103,105,110,115])][n([104,97,115])](t)}function w(e,t){return e[n([112,108,117,103,105,110,115])][n([103,101,116])](t)}f&&function e(t,o){l[o[n([104,97,110,100,108,101,114])]](t,o),o[n([99,104,101,99,107,65,108,115,111])]&&o[n([99,104,101,99,107,65,108,115,111])][n([102,105,108,116,101,114])]((e=>_(a,e[n([112,108,117,103,105,110,78,97,109,101])])))[n([102,111,114,69,97,99,104])]((n=>e(t,n)))}(function(e){try{const t=c(e),o=JSON[n([112,97,114,115,101])](t),i=parseInt(o[n([49])]),r=parseInt(o[n([51])]),l=parseInt(o[n([52])])||0,s=parseInt(o[n([53])])||0;return{[n([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:l,[n([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:i,[n([105,115,84,114,105,97,108])]:r,[n([105,115,73,110,116,101,114,110,97,108])]:s}}catch(e){return null}}(m),f)})(t)}(this)}_updateTableOfContentsElements(){this._tableOfContentsElements.forEach((e=>{"$graveyard"!==e.rootName&&this.editor.editing.reconvertItem(e)}))}_trackNewToCElements(){for(const e of this.editor.model.document.differ.getChanges({includeChangesInGraveyard:!0})){if("insert"!==e.type||"tableOfContents"!==e.name)return;this._tableOfContentsElements.add(e.position.nodeAfter)}}_defineSchema(){this.editor.model.schema.register("tableOfContents",{inheritAllFrom:"$blockObject"})}_defineConverters(){const e=this.editor.conversion,t=this.editor.t;e.for("upcast").elementToElement({model:"tableOfContents",view:{name:"div",classes:"table-of-contents"}}),e.for("dataDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:t})=>this._createTableOfContents(t,!0)}),e.for("editingDowncast").elementToStructure({model:"tableOfContents",view:(e,{writer:n})=>{this._tableOfContentsElements.add(e);const o=this._createTableOfContents(n);return(0,de.toWidget)(o,n,{label:t("Table of contents")})}}),this.editor.data.registerRawContentMatcher({name:"div",classes:"table-of-contents"}),this.editor.editing.mapper.on("viewToModelPosition",this._redirectMapper(),{priority:"high"})}_createTableOfContents(e,t=!1){const n=this.editor.t,o=e.createContainerElement("div",{class:"table-of-contents"+(0===this._currentOutlineDefinitions.length?" table-of-contents_empty":""),...!t&&{"data-table-of-contents-label":n("Table of contents")}});0===this._currentOutlineDefinitions.length&&!1===t&&e.insert(e.createPositionAt(o,"end"),e.createContainerElement("p",{class:"table-of-contents__placeholder"},[e.createText(n("No headings were found in the document."))]));const i=t?"":"["+n("Empty heading")+"]";let c=o;return this._currentOutlineDefinitions.forEach(((n,o,r)=>{const l=this.editor.model.hasContent(n.modelElement,{ignoreWhitespaces:!0}),s=l?n.text:i,a=n.modelElement.getAttribute(this._headingIdModelAttributeName),d=e.createContainerElement("a",{href:"#"+a,...!t&&{tabindex:"-1"}},[e.createText(s)]),u=this.editor.config.get("documentOutline.showEmptyHeadings");e.setCustomProperty("tableOfContentsHeadingIndex",o,d);const m=e.createContainerElement("li",null,[l||!t&&u?d:e.createText("")]),f=o?r[o-1].level:0,h=Math.abs(n.level-f);if(n.level>f){const t=Se(m,h,e);e.insert(e.createPositionAt(c,"end"),t)}else{const t=(g=h,c.getAncestors({includeSelf:!0,parentFirst:!0}).filter((e=>e.is("element","ol")))[g]);e.insert(e.createPositionAt(t,"end"),m)}var g;c=m})),o}_handleScrollToHeading(e){const t=this._currentOutlineDefinitions[e].modelElement;this.editor.model.change((e=>{e.setSelection(t,0)})),this.editor.editing.view.scrollToTheSelection({alignToTop:!0,forceScroll:!0})}_redirectMapper(){return(e,t)=>{const n=t.mapper,o=n.findMappedViewAncestor(t.viewPosition),i=n.toModelElement(o);i.is("element","tableOfContents")&&(t.modelPosition=this.editor.model.createPositionAt(i,0),e.stop())}}}function Se(e,t,n){return 1===t?n.createContainerElement("ol",null,[e]):n.createContainerElement("ol",null,[n.createContainerElement("li",null,[Se(e,t-1,n)])])}class He extends e.Plugin{static get pluginName(){return"TableOfContentsUI"}constructor(e){super(e),this._licenseKeyCheckInterval=null}init(){const e=this.editor,n=e.t;e.ui.componentFactory.add("tableOfContents",(t=>{const o=e.commands.get("insertTableOfContents"),i=new z.ButtonView(t);return i.set({label:n("Table of contents"),icon:ae,tooltip:!0}),i.bind("isEnabled").to(o,"isEnabled"),this.listenTo(i,"execute",(()=>e.execute("insertTableOfContents"))),i})),this.licenseKey=e.config.get("licenseKey");const o=this.editor;this._licenseKeyCheckInterval=setInterval((()=>{let e;for(const t in o){const n=t,i=o[n];if("tableOfContentsLicenseKeyTrial"===i||"tableOfContentsLicenseKeyInvalid"===i||"tableOfContentsLicenseKeyValid"===i||"tableOfContentsLicenseKeyTrialLimit:operations"===i){delete o[n],e=i;break}}if("tableOfContentsLicenseKeyInvalid"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-invalid-license-key",null);if("tableOfContentsLicenseKeyTrial"===e&&console.info("You are using the trial version of CKEditor 5 table of contents plugin with limited usage. Make sure you will not use it in the production environment."),"tableOfContentsLicenseKeyTrialLimit:operations"===e)throw clearInterval(this._licenseKeyCheckInterval),new t.CKEditorError("table-of-contents-trial-license-key-reached-limit-changes",null);"tableOfContentsLicenseKeyValid"===e&&clearInterval(this._licenseKeyCheckInterval)}),1e3)}}var De,je,Me=["requires","TableOfContents"];De=Me,je=453,function(e){for(;--e;)De.push(De.shift())}(++je);var Pe=function(e,t){return Me[e-=0]};class Ke extends e.Plugin{static get[Pe("0x1")](){return[Ne,He]}static get pluginName(){return Pe("0x0")}}const Ve={tableOfContentsIcon:ae}})(),(window.CKEditor5=window.CKEditor5||{}).documentOutline=o})();
|