@ckeditor/ckeditor5-pagination 45.1.0-alpha.6 → 45.1.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/pagination.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>Q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=h;!function(t){const e=h,n=t();for(;;)try{if(596237===-parseInt(e(504))/1*(-parseInt(e(548))/2)+-parseInt(e(530))/3+-parseInt(e(458))/4*(parseInt(e(556))/5)+-parseInt(e(452))/6+parseInt(e(535))/7+-parseInt(e(483))/8+-parseInt(e(479))/9*(-parseInt(e(415))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(I);class a extends t.Plugin{[r(464)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(569)]()),200);[r(560)]=null;static get[r(488)](){return r(570)}static get[r(561)](){return!0}static get[r(431)](){return!0}[r(392)](){const t=r;if(this[t(453)]({pageBreaks:[]}),!this[t(494)][t(579)][t(499)](t(502)))return void(0,o.logWarning)(t(400),this[t(494)][t(579)]);const e=this[t(494)][t(455)][t(499)](t(459));this[t(537)](t(577)).to(e),this[t(494)].ui[t(563)](t(466),(()=>this[t(421)]())),this.on(t(414),((e,n,i)=>{i&&this[t(464)]()}))}[r(574)](){!async function(t){const e=m([98,54,106,49,53,79,105,66,119,56,104,71,86,83,72,103,108,117,68,110,69,48,107,81,100,77,120,50,102,88,114,97,55,76,84,80,101,85,99,122,78,51,67,73,121,89,65,111,116,82,115,75,70,87,57,74,109,118,52,112,90,113]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(t)):null}function l(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=h;return t[e(427)]((t=>String[e(460)](t)))[e(496)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([98]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],p(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function h(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?f(p(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+f(p(t)),i=d(f(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+f(p(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747094400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=h,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(550)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch(t){return m([73,110,118,97,108,105,100])}}())}(this)}[r(403)](){const t=r;super[t(403)](),this[t(560)]&&(this[t(464)][t(430)](),this[t(560)][t(403)](),this[t(560)][t(475)][t(442)]())}[r(421)](){const t=r,n=this[t(494)],i=n[t(468)][t(407)],o=this[t(451)]();if(!o||0===o[t(575)])return void n.ui[t(563)](t(462),(()=>this[t(421)]()));const{pageWidth:s,pageHeight:a}=n[t(579)][t(499)](t(502)),{top:c,left:u,bottom:l,right:p}=this[t(472)];this[t(560)]=new e.View(n[t(549)]);const f=this[t(560)];f[t(453)](t(562),""),f[t(505)]({tag:t(454),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(559)+a+t(441)+c+t(441)+l+" )",minWidth:t(422),minHeight:t(422),padding:"0 "+p+t(573)+u,columnGap:t(463),border:0,boxSizing:t(401),columnCount:t(422),columnFill:t(422),overflow:t(493),position:t(497),top:t(555),left:t(555)},tabindex:"-1",class:f[t(432)].to(t(562))}}),f[t(540)](),o[t(522)][t(509)](f[t(475)],o[t(566)]),this[t(507)](i,t(540),(()=>this[t(464)]()),{priority:t(469)}),this[t(464)]()}[r(451)](){const t=r;for(const e of this[t(494)][t(468)][t(407)][t(411)][t(425)]())if(e[t(447)][t(517)][t(538)](e))return e;return null}[r(569)](){const t=r;if(!this[t(577)])return Promise[t(500)]();const e=this[t(494)][t(468)][t(407)],n=this[t(560)],i=this[t(451)]();if(!i)return Promise[t(500)]();for(n[t(562)]=[t(409),t(429),...i[t(487)]][t(496)](" ");n[t(475)][t(519)];)n[t(475)][t(519)][t(442)]();const o=Array[t(438)](e[t(411)]);o[t(398)]((([,e],[,n])=>e[t(395)](n)==Node[t(413)]?1:-1));for(const[e,i]of o){const o=i[t(572)](!0);t(545)in o&&o[t(545)][t(465)](),o[t(396)]="",o[t(478)]("id"),o[t(521)][t(445)]=e,n[t(475)][t(426)](o)}return function(e){const n=t;return Promise[n(580)](e[n(427)]((t=>{return Promise[n(541)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(438)](n[t(475)][t(417)](t(408))))[t(467)]((()=>this[t(551)]()))}[r(551)](){const t=r,e=this[t(560)][t(475)];if(!e[t(447)][t(517)][t(538)](e))return;const n=new o.Rect(e)[t(470)](),i=o.global[t(435)][t(526)](e),s=parseFloat(i[t(554)])+parseFloat(i[t(434)]),a=Math[t(511)](n[t(473)]+100-s),c=g(e,Math[t(511)](n[t(492)]-e[t(433)]),a,n[t(476)])[t(427)]((e=>this[t(512)](e)));c[t(558)]((t=>!!t))&&(this[t(533)]=c)}[r(512)](t){const e=r,n=this[e(494)][e(468)][e(407)],i=this[e(494)][e(468)][e(547)],o=n[e(444)],s=t[e(446)][e(532)](),a=this[e(560)][e(475)][e(393)][s][e(521)][e(445)],c=n[e(527)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(446)]){if(!o)return null;o=o[i(393)][t]}return o}(c,t);if(!u)return null;const l=o[e(523)](u,t[e(542)]||0);return l?e(485)==t[e(529)]?this[e(564)](l,u):e(461)==t[e(529)]&&i[e(539)](l)[e(531)]?this[e(423)](l,u,t[e(542)]):this[e(477)](l,u,t[e(531)]):null}[r(564)](t,e){const n=r,i=this[n(494)][n(450)],o=this[n(494)][n(468)][n(547)][n(518)](t[n(481)]),s=i[n(440)](o);return new c({type:n(485),modelRange:s,domNode:e,offset:0})}[r(423)](t,e,n){const i=r,o=this[i(494)][i(450)],s=this[i(494)][i(468)][i(547)],a=this[i(494)][i(468)][i(407)][i(444)];if(n>=e[i(412)])return null;const l=s[i(539)](t),p=o[i(436)](l),f=s[i(571)](t),h=a[i(520)](f);return new c({type:i(461),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(477)](t,e,n){const i=r,s=this[i(494)][i(450)],a=this[i(494)][i(468)],u=a[i(547)],l=a[i(407)][i(444)],f=u[i(571)](t),h=u[i(518)](f),d=function(t){const e=i,n=t[e(481)],o=n[e(457)][e(581)][e(450)],s=n[e(486)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(515)))return r;if(!o[e(513)](n)[e(516)](t))return r;r=n}}(s[i(513)](h))||h;let g=u[i(404)](d),m=s[i(440)](d);const b=s[i(513)](d)[i(489)];if(b&&b.is(i(475),i(528))){const t=u[i(404)](b),e=l[i(520)](t),n=o.global[i(435)][i(526)](e)[i(553)];i(492)!=n&&i(491)!=n||(m=s[i(440)](b))}for(;g[i(481)]!==g[i(457)]&&0===g[i(391)];)g=g[i(481)];const w=new o.Rect(v(e)?e:p(e)),k=n?w[i(476)]-n:0,y=l[i(520)](g),I=new o.Rect(y);return new c({type:i(475),modelRange:m,domNode:y,offset:Math[i(420)](k)?k+w[i(405)]-I[i(405)]:0})}get[r(472)](){const t=r,e=this[t(494)][t(579)][t(499)](t(456));return Object[t(437)]({top:t(557),bottom:t(557),left:t(557),right:t(557)},e)}static[r(508)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(529)];[r(428)];[r(418)];[r(514)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(529)]=t,this[o(428)]=e,this[o(418)]=n,this[o(514)]=i}get[r(531)](){const t=r;if(!this[t(418)][t(447)][t(517)][t(538)](this[t(418)]))return 0;const e=new o.Rect(v(this[t(418)])?this[t(418)]:p(this[t(418)]));return t(485)==this[t(529)]?e[t(405)]+e[t(476)]/2:e[t(405)]+this[t(514)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=h,n=o.global[e(581)][e(436)]();return n[e(567)](t),n}(n);let c;c=0==e?d(a[i(406)],a[i(399)],t[i(522)],Array[i(438)](t[i(522)][i(393)])[i(397)](t)):d(a[i(406)],a[i(399)],t,e);const u=d(t,e,a[i(565)],a[i(443)]),l=new o.Rect(c)[i(534)];return(new o.Rect(u)[i(405)]+l)/2-new o.Rect(s)[i(405)]}function l(t){const e=r;return t[e(543)](e(473))&&t[e(543)](e(476))?Promise[e(500)]():new Promise((n=>{const i=e;function o(){const e=h;t[e(482)](e(390),o),t[e(482)](e(439),o),n()}t[i(410)]?n():(t[i(578)](i(390),o),t[i(578)](i(439),o))}))}function p(t){const e=r,n=o.global[e(581)][e(436)]();return n[e(471)](t),n}function f(t,e,n){const i=r,s=o.global[i(581)][i(436)]();return s[i(484)](t,e),s[i(498)](t,n),s}function h(t,e){const n=I();return(h=function(t,e){return n[t-=390]})(t,e)}function d(t,e,n,i){const s=r,a=o.global[s(581)][s(436)]();return a[s(484)](t,e),a[s(498)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(393)][s(490)]()){let t=[];v(c)&&c[s(544)]&&!c[s(449)][s(506)]?t=m(c,r,e,n,i,o):y(c)&&(t=b(c,r,e,n,o)),t[s(412)]&&(a[s(524)](...t),e+=t[s(412)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(525)])&&v(l)&&Boolean(l[c(487)][c(538)](c(510))||l[c(474)](c(552)))&&(u[c(524)]({type:c(485),offset:0,path:[e-1]}),a=!0),c(503)==o.global[c(435)][c(526)](t)[c(402)]){let i=0,o=!1;for(const e of t[c(480)]())i+=e[c(476)],e[c(492)]>=n&&(o=!0);if(i<s&&o)return u[c(524)]({type:c(475),offset:0,path:[e]}),u}const p=t[c(474)](c(448));if(p&&function(t){const e=c;let n=!1;const i=t[e(536)][e(521)][e(445)],s=t[e(424)],r=t[e(501)],a=s&&o.global[e(435)][e(526)](s)[e(553)],u=s&&e(416)===s[e(396)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(394)!==a&&(n=!0),!n}(p)){const t=o.global[c(435)][c(526)](p)[c(553)];if(c(492)==t||c(491)==t)return u}const f=g(t,n,i,s,a);if(f[c(412)]){for(const t of f)u[c(524)]({type:t[c(529)],offset:t[c(531)],textOffset:t[c(542)],path:[e,...t[c(446)]]}),n+=i,a=!1;return u}return u[c(524)](...function(t,e,n,i,s){const r=c,a=[];if(r(568)==o.global[r(435)][r(526)](t)[r(402)])return[];const u=[];for(const e of t[r(480)]())if(e[r(492)]>=n){for(const t of u)t[r(476)]+=e[r(476)];u[r(524)]({height:e[r(476)]}),n+=i}for(const t of u)s||a[r(524)]({type:r(475),offset:t[r(476)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(480)]())if(r[s(492)]>=n){const r=w(t,u,n,i);o||c[s(524)]({type:s(461),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=r;let s=e,a=t[o(412)];for(;a-s>1;){const e=Math[o(546)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(480)]())if(o[i(492)]>=e&&o[i(492)]<e+n)return!0;return!1}function v(t){const e=r;return t[e(495)]==Node[e(419)]}function y(t){const e=r;return t[e(495)]==Node[e(576)]}function I(){const t=["load","index","init","childNodes","none","compareDocumentPosition","className","indexOf","sort","startOffset","pagination-config-not-found","border-box","display","destroy","toViewElement","top","startContainer","view","img","ck-reset","complete","domRoots","length","DOCUMENT_POSITION_PRECEDING","change:isEnabled","15220acgEJr","ck-fake-selection-container","querySelectorAll","_domNode","ELEMENT_NODE","round","_onUiReady","auto","_mapTextPageStarterInfoToPageBreakInfo","nextElementSibling","values","append","map","modelRange","ck-pagination-view","cancel","isPremiumPlugin","bindTemplate","scrollLeft","paddingRight","window","createRange","assign","from","error","createRangeOn"," - ","remove","endOffset","domConverter","rootName","path","ownerDocument","figure.image","style","model","_getAttachedDomRoot","4077942nrjshN","set","div","plugins","pagination.pageMargins","root","51692jbzPil","PaginationEditing","fromCharCode","text","update","100px","_recalculatePageBreaksDebounced","clear","ready","then","editing","low","excludeScrollbarsAndBorders","selectNode","_configuredPaddings","width","closest","element","height","_mapElementPageStarterInfoToPageBreakInfo","removeAttribute","16191HbtROj","getClientRects","parent","removeEventListener","3966608cqQpDU","setStart","manual","getAncestors","classList","pluginName","nodeBefore","entries","right","left","hidden","editor","nodeType","join","absolute","setEnd","get","resolve","previousElementSibling","pagination","table-row","65121qxZSBQ","setTemplate","position","listenTo","_findPageStarterInfos","insertBefore","page-break","floor","_mapPageStarterInfoToPageBreakInfo","createPositionBefore","_offset","rootElement","isTouching","body","toModelElement","firstChild","mapViewToDom","dataset","parentNode","domPositionToView","push","previousSibling","getComputedStyle","getDomRoot","imageBlock","type","2907282fVyosB","offset","shift","pageBreaks","bottom","4990965wlObqw","parentElement","bind","contains","toModelPosition","render","race","textOffset","hasAttribute","offsetParent","attributeStyleMap","ceil","mapper","2BNOJPc","locale","href","_updatePageBreaksData",".page-break","float","paddingLeft","-99999px","300BkyOzC","10mm","every","calc( ","_pagesContainer","isOfficialPlugin","class","once","_mapManualPageStarterInfoToPageBreakInfo","endContainer","nextSibling","selectNodeContents","table-cell","_recalculatePageBreaks","PaginationLookup","findMappedViewAncestor","cloneNode"," 0 ","afterInit","childElementCount","TEXT_NODE","isEnabled","addEventListener","config","all","document"];return(I=function(){return t})()}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),T=n(262),A=n.n(T),E=n(667),S=n.n(E),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=A().bind(null,"head"),O.domAPI=_(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function D(){const t=["4394232rCcGNN","357132TMvfNX","div","top","1308312QzXqsj","isVisible","175815KngaeM","set","ck-hidden","9190992hKDqnW","width","setTemplate","63TFsGCc","bindTemplate","108PDEtdg","777870QnHiEv","ck-pagination-view-line","708472kmnvoM","pageNumber","left"];return(D=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(837459===-parseInt(e(263))/1+parseInt(e(276))/2+-parseInt(e(274))/3+parseInt(e(273))/4*(parseInt(e(265))/5)+-parseInt(e(260))/6*(parseInt(e(271))/7)+parseInt(e(268))/8+parseInt(e(259))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const B=(0,o.toUnit)("px");function M(t,e){const n=D();return(M=function(t,e){return n[t-=258]})(t,e)}class G extends e.View{constructor(){const t=M;super();const e=this[t(272)];this[t(266)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(270)]({tag:t(261),attributes:{"data-page-number":e.to(t(277)),class:["ck",t(275),e.if(t(264),t(267),(t=>!t))],style:{left:e.to(t(258),(t=>B(t))),top:e.to(t(262),(t=>B(t))),width:e.to(t(269),(t=>B(t)))}}})}}function V(t,e){const n=K();return(V=function(t,e){return n[t-=296]})(t,e)}const j=V;function K(){const t=["view","610758wxKljD","241018Vsjweq","setViewCollection","set","has","body","delete","456480WhSlrC","size","add","6319MVpAFF","cleanLines","clear","values","isVisible","_hiddenLines","991575yFzePp","1240CLOrwN","_viewCollection","showLine","_visibleLines","3VHCfjT","remove","310604kuxWqB","destroy","12649MSAwhV"];return(K=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(143868===parseInt(e(322))/1+-parseInt(e(313))/2+-parseInt(e(306))/3*(-parseInt(e(308))/4)+-parseInt(e(319))/5+parseInt(e(312))/6+parseInt(e(310))/7*(parseInt(e(302))/8)+-parseInt(e(301))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class U{[j(303)];[j(305)]=new Set;[j(300)]=new Set;constructor(t){const e=j;this[e(303)]=t.ui[e(311)][e(317)]}[j(309)](){const t=j;for(const e of this[t(300)])e[t(309)]()}[j(296)](){const t=j;for(const e of this[t(305)])e[t(299)]=!1,this[t(300)][t(321)](e);this[t(305)][t(297)]()}[j(304)](t,e,n,i){const s=j;let r;this[s(300)][s(320)]?(r=(0,o.first)(this[s(300)][s(298)]()),this[s(300)][s(318)](r)):r=new G,r[s(315)]({pageNumber:i,left:t,top:e,width:n}),r[s(299)]=!0,this[s(303)][s(316)](r)||this[s(303)][s(321)](r),this[s(305)][s(321)](r)}[j(314)](t){const e=j;for(const t of[...this[e(305)],...this[e(300)]])this[e(303)][e(316)](t)&&this[e(303)][e(307)](t);this[e(303)]=t}}const F=z;function z(t,e){const n=X();return(z=function(t,e){return n[t-=370]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(113210===-parseInt(e(446))/1+-parseInt(e(438))/2+-parseInt(e(440))/3*(parseInt(e(384))/4)+parseInt(e(442))/5*(-parseInt(e(413))/6)+-parseInt(e(441))/7+-parseInt(e(421))/8*(parseInt(e(445))/9)+parseInt(e(437))/10*(parseInt(e(428))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);const q=F(372);class Q extends t.Plugin{[F(439)];[F(434)]=null;[F(396)]=null;[F(432)];static get[F(389)](){return F(405)}static get[F(426)](){return!0}static get[F(385)](){return!0}[F(415)](){const t=F;this[t(398)]({pageNumber:1}),this[t(439)]=new U(this[t(392)]),this[t(434)]=null,this[t(396)]=null,this[t(432)]=this[t(392)][t(425)][t(401)](t(418)),this[t(412)](t(381)).to(this[t(392)][t(425)][t(401)](t(397))),this[t(392)].ui[t(411)](t(383),(()=>this[t(371)]())),this[t(406)](q),this.on(t(386),((e,n,i)=>{const o=t;i||this[o(439)][o(454)](),this[o(406)](q,i)}))}[F(380)](){const t=F;this[t(406)](q,!1),this[t(439)][t(380)](),this[t(434)]=null,this[t(396)]&&this[t(396)][t(380)]()}[F(431)](t){const e=F;if(!this[e(381)])return;const n=t>1?this[e(417)](t-1):0;this[e(434)][e(382)]({top:n-10,left:this[e(434)][e(404)],behavior:o.env[e(410)]?e(423):e(449)})}[F(394)](){const t=F,e=this[t(392)],n=this[t(419)]();n?(this[t(434)]&&e.ui[t(427)][t(436)](this[t(434)],t(400)),this[t(434)]=function(e){const n=t;let i=e;do{i=i[n(448)];const t=o.global[n(433)][n(444)](i)[n(429)];if(n(430)==t||n(400)==t)break}while(n(453)!=i[n(402)]);return i}(n),e.ui[t(427)][t(422)](this[t(434)],t(400),(()=>{this[t(403)]()}),{usePassive:!0}),this[t(396)]&&this[t(396)][t(380)](),this[t(396)]=new o.ResizeObserver(this[t(434)],(()=>{this[t(403)]()}))):e.ui[t(411)](t(395),(()=>this[t(394)]()))}[F(371)](){const t=F,e=this[t(392)];this[t(419)]()?(this[t(394)](),e.ui[t(427)][t(422)](o.global[t(433)],t(409),(()=>this[t(403)]())),this[t(422)](this[t(432)],t(379),(()=>this[t(403)]()))):e.ui[t(411)](t(395),(()=>this[t(371)]()))}[F(419)](){const t=F;for(const e of this[t(392)][t(399)][t(427)][t(387)][t(373)]())if(e[t(424)][t(414)][t(451)](e))return e;return null}[F(403)](){const t=F;if(!this[t(381)])return;const e=this[t(419)](),n=this[t(432)][t(370)];if(this[t(439)][t(454)](),!e||1==n[t(393)])return void(this[t(377)]=1);const i=new o.Rect(e)[t(407)](),s=new o.Rect(this[t(434)])[t(407)](),r=s[t(443)]+s[t(435)]/3;let a=!1;const c=[];for(let e=1;e<n[t(393)];e++){const n=this[t(417)](e,s);if(!n)continue;const o=s[t(443)]+n-this[t(434)][t(390)];c[t(388)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(377)]=e,a=!0)}this[t(408)](c),a||(this[t(377)]=n[t(393)])}[F(408)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(433)];if(t[e(393)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(443)]<s&&s<o[e(452)]&&this[e(439)][e(420)](r[e(391)]+n,s+i,r[e(416)],a+1)}[F(417)](t,e=null){const n=F,i=this[n(432)][n(370)][t][n(450)];return i?(e||(e=new o.Rect(this[n(434)])[n(407)]()),i-e[n(443)]+this[n(434)][n(390)]):0}[F(406)](t,e=!0){const n=F,i=this[n(392)][n(399)][n(427)];i[n(378)]((o=>{const s=n;for(const n of i[s(375)][s(447)])e?o[s(374)](t,n):o[s(376)](t,n)}))}}function X(){const t=["view","242lNPQAw","overflowY","auto","scrollToPage","_paginationLookupPlugin","window","_scrollableEditingRootDomAncestor","height","stopListening","417670JKopXe","417010RmMBzA","linesRepository","195kkAUbs","1351399vyGije","175PRxzxD","top","getComputedStyle","415089FLhrwT","191146rNKxXV","roots","parentElement","smooth","offset","contains","bottom","BODY","cleanLines","pageBreaks","_onUiReady","ck-pagination_enabled","values","addClass","document","removeClass","pageNumber","change","change:pageBreaks","destroy","isEnabled","scrollTo","ready","9892ySivLb","isPremiumPlugin","change:isEnabled","domRoots","push","pluginName","scrollTop","left","editor","length","setupScrollableAncestor","update","_resizeObserver","PaginationEditing","set","editing","scroll","get","tagName","_updatePageBreakLines","scrollLeft","PaginationRenderer","_toggleEditingRootsClass","excludeScrollbarsAndBorders","_renderPageBreakLines","resize","isMotionReduced","once","bind","1044UImAsZ","body","init","width","_getPageBreakLineOffset","PaginationLookup","_getAttachedDomRoot","showLine","8PMaHID","listenTo","instant","ownerDocument","plugins","isOfficialPlugin"];return(X=function(){return t})()}function H(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var J=n(761),W={attributes:{"data-cke":!0}};W.setAttributes=S(),W.insert=A().bind(null,"head"),W.domAPI=_(),W.insertStyleElement=C();x()(J.A,W);J.A&&J.A.locals&&J.A.locals;function Y(){const t=["licenseKey","usageLimit","61935rjeAYc","bind","substring","goToPreviousPage","for","toViewPosition","71286JtShTr","407372LGeccQ","PaginationEditing","set","Shift+Pageup","textNode","parent","paginationLicenseKeyInvalid","createPositionAt","Go to the next page (also move selection)","accessibility","hasClass","markers","checkChild","consumable","keystrokes","has","root","paginationLicenseKeyExpired","view","locale","consume","_showLicenseError","modelRange","_licenseKeyCheckInterval","setStyle","Keystrokes for navigating through documents","_updatePageBreakMarkers","forward","init","name","getContainedElement","setSelection","mapper","paginationLicenseKeyTrialLimit","addKeystrokeInfoGroup","_validatePageNumber","requires","stop","options","_setUpDataDowncastConversion","updateMarker","focus","paginationLicenseKeyNotAllowed","trialLimit","page-break-before","moveSelectionToPage","pageBreaks","length","config","2075flSnzU","2670UXQfqq","Shift+Pagedown","40wHLUVA","element","get","totalPages","54614JBdVQh","isOfficialPlugin","change","type","offset","$text","4NOzlzk","30510XDvrXB","conversion","span","paginationLicenseKeyValid","Go to the previous page (also move selection)","2354uXUVxC","always","writer","add","paginationLicenseKeyEvaluationLimit","editing","paginationLicenseKeyDomainLimit","534159JQnopb","domainLimit","dataDowncast","getFillerOffset","paginationLicenseKeyUsageLimit","isEnabled","listenTo","expired","invalid","addMarker","toViewElement","data","scrollToPage","bindElementToMarker","destroy","end","goToNextPage","editor","page-break","schema","pagination","featureNotAllowed","change:pageBreaks","pagination:","index","removeMarker","Pagination","_setupKeystrokes","text","insert","pageNumber","start","setAttribute","addMarker:","getNearestSelectionRange","evaluationLimit","pluginName","model","plugins","data-pagination-page","nodeAfter","createContainerElement","manual","isPremiumPlugin"];return(Y=function(){return t})()}const Z=$;function $(t,e){const n=Y();return($=function(t,e){return n[t-=270]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(151732===-parseInt(e(368))/1+-parseInt(e(297))/2+-parseInt(e(362))/3*(-parseInt(e(303))/4)+parseInt(e(290))/5*(-parseInt(e(291))/6)+parseInt(e(369))/7+-parseInt(e(293))/8*(parseInt(e(316))/9)+-parseInt(e(304))/10*(-parseInt(e(309))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class tt extends t.Plugin{[Z(360)];[Z(392)];static get[Z(352)](){return Z(370)}static get[Z(298)](){return!0}static get[Z(359)](){return!0}static get[Z(277)](){return[a,Q]}[Z(397)](){const t=Z;this[t(371)]({pageNumber:1,totalPages:1});const e=this[t(333)][t(354)][t(295)](t(342)),n=this[t(333)][t(354)][t(295)](a),i=this[t(333)][t(354)][t(295)](Q);this[t(363)](t(321)).to(e),this[t(280)](),this[t(363)](t(346)).to(i),this[t(322)](n,t(338),((e,n,i,o)=>{const s=t;this[s(296)]=i[s(288)],this[s(395)](i,o)})),this[t(343)](),this[t(360)]=this[t(333)][t(289)][t(295)](t(360));const o=this[t(333)];this[t(392)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(307)==s||e(375)==s||e(386)==s||e(315)==s||e(283)==s||e(313)==s||e(274)==s||e(320)==s){delete o[i],n=s,clearInterval(this[e(392)]),this[e(392)]=void 0;break}}e(375)==n&&o[e(390)](e(324)),e(386)==n&&o[e(390)](e(323)),e(315)==n&&o[e(390)](e(317)),e(283)==n&&o[e(390)](e(337),e(342)),e(313)==n&&o[e(390)](e(351)),e(274)==n&&o[e(390)](e(284)),e(320)==n&&o[e(390)](e(361))}),1e3)}[Z(330)](){const t=Z;super[t(330)](),this[t(392)]&&clearInterval(this[t(392)])}[Z(328)](t){const e=Z;this[e(321)]&&this[e(333)][e(354)][e(295)](Q)[e(328)](this[e(276)](t))}[Z(286)](t){const e=Z;if(!this[e(321)])return;const n=this[e(333)],i=this[e(333)][e(354)][e(295)](a)[e(287)][t-1];i&&n[e(353)][e(299)]((t=>{const o=e;switch(i[o(300)]){case o(358):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(331)],o(396));t[o(272)](e);break}case o(294):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(347)],o(396));t[o(272)](e);break}case o(344):{const e=i[o(391)][o(347)];if(e[o(373)]&&" "===e[o(373)][o(327)][e[o(301)]]){const n=t[o(376)](e[o(374)],e[o(301)]+1);t[o(272)](n)}else t[o(272)](i[o(391)])}}n[o(314)][o(387)][o(282)]()}))}[Z(332)](){const t=Z,e=this[t(276)](this[t(346)]+1);this[t(286)](e),this[t(328)](e)}[Z(365)](){const t=Z,e=this[t(276)](this[t(346)]-1);this[t(286)](e),this[t(328)](e)}[Z(395)](t,e){const n=Z,i=this[n(333)][n(353)];this[n(321)]&&i[n(299)]((o=>{const s=n;for(let e=1;e<t[s(288)];e++){const n=t[e][s(391)],r=s(339)+(e+1);i[s(380)][s(384)](r)?o[s(281)](r,{range:n}):o[s(325)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(288)];n<e[s(288)];n++){const t=s(339)+(n+1);i[s(380)][s(384)](t)&&o[s(341)](t)}}))}[Z(280)](){const t=Z,e=t(336);this[t(333)][t(305)][t(366)](t(318))[t(312)]((n=>{const i=t;n.on(i(349)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(279)][s(336)])return;if(!o[s(382)][s(389)](e,t[s(270)]))return;const r=e[s(271)]();let a=r?o[s(273)][s(326)](r):null;if(!a){const t=e[s(347)];if(o[s(335)][s(381)](t,s(302))){const e=o[s(273)][s(367)](t);a=o[s(311)][s(357)](s(306)),a[s(319)]=()=>null,o[s(311)][s(345)](e,a)}else{const e=t[s(356)];a=o[s(273)][s(326)](e)}}for(;a[s(374)]!==a[s(385)]&&0===a[s(340)];)a=a[s(374)];const c=n[s(364)](11);a[s(379)](s(334))||(o[s(311)][s(393)](s(285),s(310),a),o[s(311)][s(348)](s(355),c,a),o[s(273)][s(329)](a,n)),t[s(278)]()}))}))}[Z(343)](){const t=Z,e=this[t(333)];e[t(383)][t(371)](t(372),((e,n)=>{this[t(365)](),n()})),e[t(383)][t(371)](t(292),((e,n)=>{this[t(332)](),n()})),e[t(378)][t(275)]({id:t(336),label:H(e[t(388)],t(394)),keystrokes:[{label:H(e[t(388)],t(308)),keystroke:t(372),mayRequireFn:!0},{label:H(e[t(388)],t(377)),keystroke:t(292),mayRequireFn:!0}]})}[Z(276)](t){const e=Z;return t<1&&(t=1),t>this[e(296)]&&(t=this[e(296)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=A().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=194]})(t,e)}function rt(){const t=["isReadOnly","ck-disabled","stopPropagation","keyCode","7150vsueAh","isNaN","listenTo","bindTemplate","fire","select","firstChild","20ukFIDD","navigation","Current page number (from 1 to %0)","setTemplate","pageNumberView","2241jYuFEX","pageNumber","change:pageNumber","checkValidity","ArrowUp","key","2202NbuYHA","ariaLabel","numeric","16490412TEQRHr","3101378OVQAUx","value","ck-page-navigator","bind","element","enter","totalPages","span","2163931FskDof","16EsnJke","14792DEuWtU","keydown","isEnabled","ArrowDown","460392HnEGjs","blur","focus","valueAsNumber","set","div","4egoAOg","preventDefault","5374eTkLPd","max","render"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(337034===-parseInt(e(222))/1*(-parseInt(e(235))/2)+-parseInt(e(227))/3*(parseInt(e(233))/4)+parseInt(e(242))/5*(parseInt(e(209))/6)+parseInt(e(213))/7+-parseInt(e(223))/8*(-parseInt(e(203))/9)+parseInt(e(198))/10*(parseInt(e(221))/11)+-parseInt(e(212))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(202)];constructor(t){const n=ot;super(t);const i=this[n(194)];this[n(231)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(202)]=new e.InputNumberView(t,{min:1,step:1}),this[n(202)][n(231)]({inputMode:n(211),tabIndex:-1}),this[n(202)][n(216)](n(210)).to(this,n(219),(e=>H(t,n(200),e))),this[n(202)][n(216)](n(236)).to(this,n(219)),this[n(202)][n(216)](n(238)).to(this,n(225),(t=>!t)),this[n(201)]({tag:n(232),attributes:{class:["ck",n(215),i.if(n(225),n(239),(t=>!t))]},children:[this[n(202)],{tag:n(220),children:[{text:i.to(n(219))}]}]})}[ot(237)](){const t=ot;super[t(237)]();const e=this[t(202)][t(217)],n=e=>{const n=t;this[n(202)][n(217)][n(214)]=String(e)};n(this[t(204)]),this.on(t(205),((t,e,i)=>{n(i)})),this[t(244)](e,t(224),((n,i)=>{const s=t;if(s(207)===i[s(208)]||s(226)===i[s(208)])return void i[s(240)]();if(i[s(241)]!==o.keyCodes[s(218)])return;i[s(234)]();const r=e[s(230)];Number[s(243)](r)?e[s(214)]=String(this[s(204)]):(e[s(206)]()?this[s(204)]=r:r>this[s(219)]?(this[s(204)]=this[s(219)],e[s(214)]=String(this[s(219)])):(this[s(204)]=1,e[s(214)]="1"),this[s(195)](s(199),this[s(204)]))})),this[t(244)](e,t(228),(()=>{const n=t;e[n(214)]=String(this[n(204)])})),this[t(244)](e,t(229),(()=>{const e=t;this[e(202)][e(196)]()}))}[ot(229)](){const t=ot;this[t(217)][t(197)][t(229)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=173]})(t,e)}function lt(){const t=["nextPage","goToPreviousPage","isEnabled","navigation","componentFactory","9529751PrxFPY","keystroke","listenTo","editor","pageNavigation","isOfficialPlugin","10KOpOkH","6909318AaLVnT","5765NscPky","totalPages","moveSelectionToPage","locale","Go to next page","icon","plugins","568QKeNTY","210198aWKunS","add","previousPage","PaginationUI","3268OIpktn","pageNumber","scrollToPage","9800439JRzqTN","Go to previous page","isPremiumPlugin","PaginationEditing","2910cuihjh","Shift+PageUp","tooltip","goToNextPage","8ZbmxFg","bind","Shift+PageDown","get","1673178jHJAdV","execute","pluginName","label","init"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(728910===-parseInt(e(215))/1*(parseInt(e(182))/2)+-parseInt(e(190))/3+parseInt(e(175))/4*(-parseInt(e(208))/5)+parseInt(e(216))/6+-parseInt(e(200))/7*(-parseInt(e(186))/8)+parseInt(e(207))/9+-parseInt(e(206))/10*(-parseInt(e(178))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(192)](){return ct(174)}static get[ct(205)](){return!0}static get[ct(180)](){return!0}[ct(194)](){const t=ct,n=this[t(203)],i=n[t(214)][t(189)](t(181));n.ui[t(199)][t(217)](t(204),(e=>{const n=t,o=new at(e);return o[n(187)](n(176)).to(i),o[n(187)](n(209)).to(i),o[n(187)](n(197)).to(i),o.on(n(198),((t,e)=>{const o=n;i[o(210)](e),i[o(177)](e)})),o})),n.ui[t(199)][t(217)](t(195),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=H(n[s(211)],s(212)),r[s(213)]=et.IconArrowDown,r[s(184)]=!0,r[s(201)]=s(188),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(185)]()})),r})),n.ui[t(199)][t(217)](t(173),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=H(n[s(211)],s(179)),r[s(213)]=et.IconArrowUp,r[s(184)]=!0,r[s(201)]=s(183),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(196)]()})),r}))}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=327]})(t,e)}const ht=ft;function dt(){const t=["isEnabled","editor","1179GMTSpt","isBlink","isPremiumPlugin","init","isOfficialPlugin","301824RDehcd","3OwOQLV","bind","752kFNNzP","pluginName","pagination.enableOnUnsupportedBrowsers","set","requires","scrollToPage","1432145fGfegl","Pagination","config","1044736IhnUbN","91NuGkLC","814868wknaqo","60UGUReP","ready","browserCheck","plugins","totalPages","forceDisabled","get","10518JsysQB","pageNumber","237041XGjXbr"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(200942===parseInt(e(336))/1+-parseInt(e(344))/2+-parseInt(e(345))/3*(parseInt(e(358))/4)+-parseInt(e(353))/5+parseInt(e(334))/6*(parseInt(e(357))/7)+-parseInt(e(347))/8*(-parseInt(e(339))/9)+-parseInt(e(327))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(348)](){return ht(354)}static get[ht(343)](){return!0}static get[ht(341)](){return!0}static get[ht(351)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(337)]=!1}[ht(342)](){const t=ht;this[t(350)]({pageNumber:1,totalPages:1});const e=this[t(338)][t(330)][t(333)](tt);this[t(346)](t(335)).to(e),this[t(346)](t(331)).to(e),o.env[t(340)]||this[t(338)][t(355)][t(333)](t(349))?this[t(338)].on(t(328),(()=>{this[t(337)]=!0})):this[t(332)](t(329))}[ht(352)](t){const e=ht;this[e(338)][e(330)][e(333)](tt)[e(352)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=169]})(t,e)}function bt(){var t=["40iRRJNT","51810wNCXDL","159076wswmFn","1859367GTLoIQ","2590362wEykpl","50113VjwnMf","40epdgRy","127744buoQNn","1363576wokPGM","2WbyaWl"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(552034===-parseInt(e(176))/1+-parseInt(e(178))/2*(parseInt(e(172))/3)+parseInt(e(171))/4+parseInt(e(175))/5*(-parseInt(e(170))/6)+parseInt(e(174))/7+parseInt(e(177))/8+parseInt(e(173))/9*(parseInt(e(169))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>Y});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=b;function a(){const t=["race","textOffset","518mnfeBp","bottom","classList","imageBlock","bindTemplate","calc( ","_findPageStarterInfos","style","fromCharCode","auto","mapViewToDom","once","isEnabled","firstChild","href","createRangeOn","editor","get","from","nodeType","load","parentNode","path","then","error","floor","plugins","isOfficialPlugin","_mapManualPageStarterInfoToPageBreakInfo","getComputedStyle","position","editing","remove","87726HVCEBy","parentElement","type","_onUiReady","class","selectNodeContents","update","39sJzOID","ready","paddingLeft","_mapPageStarterInfoToPageBreakInfo","11570aBRlbi","setStart","none","dataset","index","locale","bind","text","element","clear","table-cell"," 0 ","display","nextSibling","pagination","hasAttribute","PaginationLookup","className","div","all","body","TEXT_NODE","ELEMENT_NODE","removeEventListener","set","createPositionBefore","compareDocumentPosition","indexOf","closest","every","assign","9774801TkRAyc","toModelPosition","contains","ceil","domConverter","float","4301wzZEnp","PaginationEditing","cancel","afterInit","rootElement","_mapElementPageStarterInfoToPageBreakInfo","complete","_getAttachedDomRoot","isTouching","map","pagination-config-not-found","attributeStyleMap","config","toViewElement","pagination.pageMargins","setEnd","window","domPositionToView","shift","startOffset","destroy","_mapTextPageStarterInfoToPageBreakInfo","length","_pagesContainer","render","53810pJSFWp","addEventListener","createRange","isPremiumPlugin","mapper","view","border-box","removeAttribute","width","insertBefore","offsetParent","absolute","endOffset","document","getDomRoot","left","paddingRight","right","modelRange","domRoots","startContainer","_configuredPaddings","10mm","excludeScrollbarsAndBorders","getClientRects","round","root","cloneNode","setTemplate","values","_recalculatePageBreaksDebounced","offset","-99999px","_domNode","8UuXrVZ","querySelectorAll","100px","entries","push","6789032qCnwJC","parent","childElementCount","init","previousElementSibling",".page-break","previousSibling","hidden","img","model","listenTo","join","pageBreaks","_updatePageBreaksData","append","figure.image","endContainer","DOCUMENT_POSITION_PRECEDING","scrollLeft","change:isEnabled","nodeBefore","_offset","height","toModelElement","low","sort","11905BnamZd","_recalculatePageBreaks","top","findMappedViewAncestor","rootName","ck-reset","table-row","page-break","ck-fake-selection-container","ownerDocument","ck-pagination-view","533957GPnIve","pluginName","getAncestors","childNodes","resolve","nextElementSibling","selectNode"," - ","manual"];return(a=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(571537===parseInt(e(273))/1+parseInt(e(390))/2*(-parseInt(e(324))/3)+parseInt(e(231))/4*(-parseInt(e(262))/5)+parseInt(e(317))/6*(parseInt(e(284))/7)+parseInt(e(236))/8+-parseInt(e(359))/9+parseInt(e(328))/10*(-parseInt(e(365))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(227)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(263)]()),200);[r(388)]=null;static get[r(274)](){return r(344)}static get[r(311)](){return!0}static get[r(393)](){return!0}[r(239)](){const t=r;if(this[t(352)]({pageBreaks:[]}),!this[t(300)][t(377)][t(301)](t(342)))return void(0,o.logWarning)(t(375),this[t(300)][t(377)]);const e=this[t(300)][t(310)][t(301)](t(366));this[t(334)](t(296)).to(e),this[t(300)].ui[t(295)](t(325),(()=>this[t(320)]())),this.on(t(255),((e,n,i)=>{i&&this[t(227)]()}))}[r(368)](){!async function(t){const e=g([86,81,78,113,66,57,97,119,76,120,79,56,106,54,67,108,69,90,98,70,107,117,112,104,53,85,55,111,83,122,84,100,88,51,115,73,52,80,50,99,75,65,77,68,109,114,82,121,116,72,87,74,89,101,105,71,103,102,48,118,49,110]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=b;return t[e(374)]((t=>String[e(292)](t)))[e(247)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([86]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(298)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(385)](){const t=r;super[t(385)](),this[t(388)]&&(this[t(227)][t(367)](),this[t(388)][t(385)](),this[t(388)][t(336)][t(316)]())}[r(320)](){const t=r,n=this[t(300)],i=n[t(315)][t(395)],o=this[t(372)]();if(!o||0===o[t(238)])return void n.ui[t(295)](t(323),(()=>this[t(320)]()));const{pageWidth:s,pageHeight:a}=n[t(377)][t(301)](t(342)),{top:c,left:u,bottom:l,right:p}=this[t(411)];this[t(388)]=new e.View(n[t(333)]);const f=this[t(388)];f[t(352)](t(321),""),f[t(225)]({tag:t(346),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(289)+a+t(280)+c+t(280)+l+" )",minWidth:t(293),minHeight:t(293),padding:"0 "+p+t(339)+u,columnGap:t(233),border:0,boxSizing:t(396),columnCount:t(293),columnFill:t(293),overflow:t(243),position:t(401),top:t(229),left:t(229)},tabindex:"-1",class:f[t(288)].to(t(321))}}),f[t(389)](),o[t(305)][t(399)](f[t(336)],o[t(341)]),this[t(246)](i,t(389),(()=>this[t(227)]()),{priority:t(260)}),this[t(227)]()}[r(372)](){const t=r;for(const e of this[t(300)][t(315)][t(395)][t(409)][t(226)]())if(e[t(271)][t(348)][t(361)](e))return e;return null}[r(263)](){const t=r;if(!this[t(296)])return Promise[t(277)]();const e=this[t(300)][t(315)][t(395)],n=this[t(388)],i=this[t(372)]();if(!i)return Promise[t(277)]();for(n[t(321)]=[t(267),t(272),...i[t(286)]][t(247)](" ");n[t(336)][t(297)];)n[t(336)][t(297)][t(316)]();const o=Array[t(302)](e[t(409)]);o[t(261)]((([,e],[,n])=>e[t(354)](n)==Node[t(253)]?1:-1));for(const[e,i]of o){const o=i[t(224)](!0);t(376)in o&&o[t(376)][t(337)](),o[t(345)]="",o[t(397)]("id"),o[t(331)][t(266)]=e,n[t(336)][t(250)](o)}return function(e){const n=t;return Promise[n(347)](e[n(374)]((t=>{return Promise[n(282)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(302)](n[t(336)][t(232)](t(244))))[t(307)]((()=>this[t(249)]()))}[r(249)](){const t=r,e=this[t(388)][t(336)];if(!e[t(271)][t(348)][t(361)](e))return;const n=new o.Rect(e)[t(413)](),i=o.global[t(381)][t(313)](e),s=parseFloat(i[t(326)])+parseFloat(i[t(406)]),a=Math[t(309)](n[t(398)]+100-s),c=g(e,Math[t(309)](n[t(405)]-e[t(254)]),a,n[t(258)])[t(374)]((e=>this[t(327)](e)));c[t(357)]((t=>!!t))&&(this[t(248)]=c)}[r(327)](t){const e=r,n=this[e(300)][e(315)][e(395)],i=this[e(300)][e(315)][e(394)],o=n[e(363)],s=t[e(306)][e(383)](),a=this[e(388)][e(336)][e(276)][s][e(331)][e(266)],c=n[e(404)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(306)]){if(!o)return null;o=o[i(276)][t]}return o}(c,t);if(!u)return null;const l=o[e(382)](u,t[e(283)]||0);return l?e(281)==t[e(319)]?this[e(312)](l,u):e(335)==t[e(319)]&&i[e(360)](l)[e(228)]?this[e(386)](l,u,t[e(283)]):this[e(370)](l,u,t[e(228)]):null}[r(312)](t,e){const n=r,i=this[n(300)][n(245)],o=this[n(300)][n(315)][n(394)][n(259)](t[n(237)]),s=i[n(299)](o);return new u({type:n(281),modelRange:s,domNode:e,offset:0})}[r(386)](t,e,n){const i=r,o=this[i(300)][i(245)],s=this[i(300)][i(315)][i(394)],a=this[i(300)][i(315)][i(395)][i(363)];if(n>=e[i(387)])return null;const c=s[i(360)](t),p=o[i(392)](c),f=s[i(265)](t),h=a[i(294)](f);return new u({type:i(335),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(370)](t,e,n){const i=r,s=this[i(300)][i(245)],a=this[i(300)][i(315)],c=a[i(394)],l=a[i(395)][i(363)],p=c[i(265)](t),h=c[i(259)](p),d=function(t){const e=i,n=t[e(237)],o=n[e(416)][e(403)][e(245)],s=n[e(275)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(369)))return r;if(!o[e(353)](n)[e(373)](t))return r;r=n}}(s[i(353)](h))||h;let g=c[i(378)](d),m=s[i(299)](d);const b=s[i(353)](d)[i(256)];if(b&&b.is(i(336),i(287))){const t=c[i(378)](b),e=l[i(294)](t),n=o.global[i(381)][i(313)](e)[i(364)];i(405)!=n&&i(407)!=n||(m=s[i(299)](b))}for(;g[i(237)]!==g[i(416)]&&0===g[i(332)];)g=g[i(237)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(258)]-n:0,k=l[i(294)](g),I=new o.Rect(k);return new u({type:i(336),modelRange:m,domNode:k,offset:Math[i(415)](v)?v+w[i(264)]-I[i(264)]:0})}get[r(411)](){const t=r,e=this[t(300)][t(377)][t(301)](t(379));return Object[t(358)]({top:t(412),bottom:t(412),left:t(412),right:t(412)},e)}static[r(290)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(319)];[r(408)];[r(230)];[r(257)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(319)]=t,this[o(408)]=e,this[o(230)]=n,this[o(257)]=i}get[r(228)](){const t=r;if(!this[t(230)][t(271)][t(348)][t(361)](this[t(230)]))return 0;const e=new o.Rect(y(this[t(230)])?this[t(230)]:f(this[t(230)]));return t(281)==this[t(319)]?e[t(264)]+e[t(258)]/2:e[t(264)]+this[t(257)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=b,n=o.global[e(403)][e(392)]();return n[e(322)](t),n}(n);let c;c=0==e?d(a[i(410)],a[i(384)],t[i(305)],Array[i(302)](t[i(305)][i(276)])[i(355)](t)):d(a[i(410)],a[i(384)],t,e);const u=d(t,e,a[i(252)],a[i(402)]),l=new o.Rect(c)[i(285)];return(new o.Rect(u)[i(264)]+l)/2-new o.Rect(s)[i(264)]}function p(t){const e=r;return t[e(343)](e(398))&&t[e(343)](e(258))?Promise[e(277)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(351)](e(304),o),t[e(351)](e(308),o),n()}t[i(371)]?n():(t[i(391)](i(304),o),t[i(391)](i(308),o))}))}function f(t){const e=r,n=o.global[e(403)][e(392)]();return n[e(279)](t),n}function h(t,e,n){const i=r,s=o.global[i(403)][i(392)]();return s[i(329)](t,e),s[i(380)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(403)][s(392)]();return a[s(329)](t,e),a[s(380)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(276)][s(234)]()){let t=[];y(c)&&c[s(400)]&&!c[s(291)][s(314)]?t=m(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(387)]&&(a[s(235)](...t),e+=t[s(387)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(242)])&&y(l)&&Boolean(l[c(286)][c(361)](c(269))||l[c(356)](c(241)))&&(u[c(235)]({type:c(281),offset:0,path:[e-1]}),a=!0),c(268)==o.global[c(381)][c(313)](t)[c(340)]){let i=0,o=!1;for(const e of t[c(414)]())i+=e[c(258)],e[c(405)]>=n&&(o=!0);if(i<s&&o)return u[c(235)]({type:c(336),offset:0,path:[e]}),u}const p=t[c(356)](c(251));if(p&&function(t){const e=c;let n=!1;const i=t[e(318)][e(331)][e(266)],s=t[e(278)],r=t[e(240)],a=s&&o.global[e(381)][e(313)](s)[e(364)],u=s&&e(270)===s[e(345)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(330)!==a&&(n=!0),!n}(p)){const t=o.global[c(381)][c(313)](p)[c(364)];if(c(405)==t||c(407)==t)return u}const f=g(t,n,i,s,a);if(f[c(387)]){for(const t of f)u[c(235)]({type:t[c(319)],offset:t[c(228)],textOffset:t[c(283)],path:[e,...t[c(306)]]}),n+=i,a=!1;return u}return u[c(235)](...function(t,e,n,i,s){const r=c,a=[];if(r(338)==o.global[r(381)][r(313)](t)[r(340)])return[];const u=[];for(const e of t[r(414)]())if(e[r(405)]>=n){for(const t of u)t[r(258)]+=e[r(258)];u[r(235)]({height:e[r(258)]}),n+=i}for(const t of u)s||a[r(235)]({type:r(336),offset:t[r(258)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=a();return(b=function(t,e){return n[t-=224]})(t,e)}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(414)]())if(r[s(405)]>=n){const r=v(t,u,n,i);o||c[s(235)]({type:s(335),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(387)];for(;a-s>1;){const e=Math[o(362)]((s+a)/2);k(h(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(414)]())if(o[i(405)]>=e&&o[i(405)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(303)]==Node[e(350)]}function I(t){const e=r;return t[e(303)]==Node[e(349)]}var P=n(673),x=n.n(P),_=n(545),T=n.n(_),S=n(262),N=n.n(S),E=n(667),R=n.n(E),C=n(357),A=n.n(C),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=N().bind(null,"head"),L.domAPI=T(),L.insertStyleElement=A();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function B(){const t=["95187RAYgCV","2132904AhtDsD","set","1112565MOBwII","32NpwZrG","7UFRRgg","ck-hidden","360892reNpZV","isVisible","top","2145756ZhWfbO","div","bindTemplate","setTemplate","ck-pagination-view-line","pageNumber","2546145umbrgl","274910SqdomS","left","width"];return(B=function(){return t})()}function M(t,e){const n=B();return(M=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(351534===parseInt(e(185))/1+-parseInt(e(192))/2+parseInt(e(188))/3+-parseInt(e(189))/4*(-parseInt(e(202))/5)+parseInt(e(195))/6*(-parseInt(e(190))/7)+parseInt(e(186))/8+-parseInt(e(201))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const D=(0,o.toUnit)("px");class V extends e.View{constructor(){const t=M;super();const e=this[t(197)];this[t(187)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(198)]({tag:t(196),attributes:{"data-page-number":e.to(t(200)),class:["ck",t(199),e.if(t(193),t(191),(t=>!t))],style:{left:e.to(t(203),(t=>D(t))),top:e.to(t(194),(t=>D(t))),width:e.to(t(184),(t=>D(t)))}}})}}const K=G;function G(t,e){const n=j();return(G=function(t,e){return n[t-=431]})(t,e)}function j(){const t=["clear","body","set","isVisible","144XqUaBk","990717CGMcPd","view","_visibleLines","5594386irAFtR","255140agKRZh","1482192vvbSxS","add","43370uKyOaa","_hiddenLines","values","delete","cleanLines","remove","showLine","11GhyTXh","_viewCollection","has","setViewCollection","destroy","20514042HYfsCu","size","487852TdFRjy"];return(j=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(654409===-parseInt(e(445))/1*(parseInt(e(438))/2)+parseInt(e(431))/3+parseInt(e(452))/4+-parseInt(e(435))/5*(parseInt(e(457))/6)+-parseInt(e(434))/7+parseInt(e(436))/8+parseInt(e(450))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[K(446)];[K(433)]=new Set;[K(439)]=new Set;constructor(t){const e=K;this[e(446)]=t.ui[e(432)][e(454)]}[K(449)](){const t=K;for(const e of this[t(439)])e[t(449)]()}[K(442)](){const t=K;for(const e of this[t(433)])e[t(456)]=!1,this[t(439)][t(437)](e);this[t(433)][t(453)]()}[K(444)](t,e,n,i){const s=K;let r;this[s(439)][s(451)]?(r=(0,o.first)(this[s(439)][s(440)]()),this[s(439)][s(441)](r)):r=new V,r[s(455)]({pageNumber:i,left:t,top:e,width:n}),r[s(456)]=!0,this[s(446)][s(447)](r)||this[s(446)][s(437)](r),this[s(433)][s(437)](r)}[K(448)](t){const e=K;for(const t of[...this[e(433)],...this[e(439)]])this[e(446)][e(447)](t)&&this[e(446)][e(443)](t);this[e(446)]=t}}const U=W;function W(t,e){const n=q();return(W=function(t,e){return n[t-=306]})(t,e)}function q(){const t=["setupScrollableAncestor","addClass","update","domRoots","_resizeObserver","document","plugins","linesRepository","roots","2550493VyFEod","isEnabled","change","get","body","removeClass","showLine","509290oWftTE","BODY","PaginationEditing","scrollTo","scroll","init","top","resize","tagName","listenTo","_getAttachedDomRoot","parentElement","71972aGnCQW","auto","2lFYifr","bind","scrollToPage","offset","instant","contains","_paginationLookupPlugin","bottom","left","isOfficialPlugin","_onUiReady","pageNumber","pluginName","overflowY","_renderPageBreakLines","PaginationLookup","cleanLines","_toggleEditingRootsClass","view","change:pageBreaks","change:isEnabled","13164WWXoqp","scrollTop","8ZXjbSu","596280MqjzCT","455duDRzp","isPremiumPlugin","excludeScrollbarsAndBorders","stopListening","destroy","_scrollableEditingRootDomAncestor","push","editing","window","155580kISieY","_getPageBreakLineOffset","pageBreaks","height","smooth","ready","isMotionReduced","_updatePageBreakLines","width","values","45MPexMB","PaginationRenderer","ownerDocument","306201XELJuB","ck-pagination_enabled","length","once","set","getComputedStyle","scrollLeft","editor"];return(q=function(){return t})()}!function(t){const e=W,n=t();for(;;)try{if(158367===parseInt(e(360))/1*(-parseInt(e(362))/2)+-parseInt(e(311))/3+parseInt(e(386))/4+-parseInt(e(387))/5*(-parseInt(e(383))/6)+-parseInt(e(324))/7*(parseInt(e(385))/8)+-parseInt(e(321))/9*(parseInt(e(348))/10)+parseInt(e(341))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const z=U(325);class Y extends t.Plugin{[U(339)];[U(307)]=null;[U(336)]=null;[U(368)];static get[U(374)](){return U(322)}static get[U(371)](){return!0}static get[U(388)](){return!0}[U(353)](){const t=U;this[t(328)]({pageNumber:1}),this[t(339)]=new F(this[t(331)]),this[t(307)]=null,this[t(336)]=null,this[t(368)]=this[t(331)][t(338)][t(344)](t(377)),this[t(363)](t(342)).to(this[t(331)][t(338)][t(344)](t(350))),this[t(331)].ui[t(327)](t(316),(()=>this[t(372)]())),this[t(379)](z),this.on(t(382),((e,n,i)=>{const o=t;i||this[o(339)][o(378)](),this[o(379)](z,i)}))}[U(306)](){const t=U;this[t(379)](z,!1),this[t(339)][t(306)](),this[t(307)]=null,this[t(336)]&&this[t(336)][t(306)]()}[U(364)](t){const e=U;if(!this[e(342)])return;const n=t>1?this[e(312)](t-1):0;this[e(307)][e(351)]({top:n-10,left:this[e(307)][e(330)],behavior:o.env[e(317)]?e(366):e(315)})}[U(332)](){const t=U,e=this[t(331)],n=this[t(358)]();n?(this[t(307)]&&e.ui[t(380)][t(390)](this[t(307)],t(352)),this[t(307)]=function(e){const n=t;let i=e;do{i=i[n(359)];const t=o.global[n(310)][n(329)](i)[n(375)];if(n(361)==t||n(352)==t)break}while(n(349)!=i[n(356)]);return i}(n),e.ui[t(380)][t(357)](this[t(307)],t(352),(()=>{this[t(318)]()}),{usePassive:!0}),this[t(336)]&&this[t(336)][t(306)](),this[t(336)]=new o.ResizeObserver(this[t(307)],(()=>{this[t(318)]()}))):e.ui[t(327)](t(334),(()=>this[t(332)]()))}[U(372)](){const t=U,e=this[t(331)];this[t(358)]()?(this[t(332)](),e.ui[t(380)][t(357)](o.global[t(310)],t(355),(()=>this[t(318)]())),this[t(357)](this[t(368)],t(381),(()=>this[t(318)]()))):e.ui[t(327)](t(334),(()=>this[t(372)]()))}[U(358)](){const t=U;for(const e of this[t(331)][t(309)][t(380)][t(335)][t(320)]())if(e[t(323)][t(345)][t(367)](e))return e;return null}[U(318)](){const t=U;if(!this[t(342)])return;const e=this[t(358)](),n=this[t(368)][t(313)];if(this[t(339)][t(378)](),!e||1==n[t(326)])return void(this[t(373)]=1);const i=new o.Rect(e)[t(389)](),s=new o.Rect(this[t(307)])[t(389)](),r=s[t(354)]+s[t(314)]/3;let a=!1;const c=[];for(let e=1;e<n[t(326)];e++){const n=this[t(312)](e,s);if(!n)continue;const o=s[t(354)]+n-this[t(307)][t(384)];c[t(308)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(373)]=e,a=!0)}this[t(376)](c),a||(this[t(373)]=n[t(326)])}[U(376)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(310)];if(t[e(326)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(354)]<s&&s<o[e(369)]&&this[e(339)][e(347)](r[e(370)]+n,s+i,r[e(319)],a+1)}[U(312)](t,e=null){const n=U,i=this[n(368)][n(313)][t][n(365)];return i?(e||(e=new o.Rect(this[n(307)])[n(389)]()),i-e[n(354)]+this[n(307)][n(384)]):0}[U(379)](t,e=!0){const n=U,i=this[n(331)][n(309)][n(380)];i[n(343)]((o=>{const s=n;for(const n of i[s(337)][s(340)])e?o[s(333)](t,n):o[s(346)](t,n)}))}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var X=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=N().bind(null,"head"),H.domAPI=T(),H.insertStyleElement=A();x()(X.A,H);X.A&&X.A.locals&&X.A.locals;const Z=$;function Q(){const t=["toViewPosition","mapper","bind","paginationLicenseKeyValid","always","model","get","Keystrokes for navigating through documents","element","options","accessibility","plugins","nodeAfter","writer","editing","setAttribute","_validatePageNumber","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyTrialLimit","Go to the previous page (also move selection)","PaginationEditing","Shift+Pageup","goToNextPage","consume","listenTo","change:pageBreaks","length","pagination:","2019868qHkVgu","Go to the next page (also move selection)","forward","_setupKeystrokes","textNode","isOfficialPlugin","domainLimit","requires","focus","index","hasClass","getContainedElement","usageLimit","data-pagination-page","8982888kuLSqT","type","page-break-before","setSelection","pluginName","Pagination","root","config","goToPreviousPage","parent","span","paginationLicenseKeyInvalid","Shift+Pagedown","locale","getFillerOffset","page-break","set","_setUpDataDowncastConversion","pageNumber","insert","toViewElement","addKeystrokeInfoGroup","paginationLicenseKeyNotAllowed","offset","stop","removeMarker","addMarker:","getNearestSelectionRange","scrollToPage","createContainerElement","isPremiumPlugin","start","addMarker","checkChild","markers","4034700Donfpf","trialLimit","27049204RpmCCC","consumable","editor","1164605fwWVxy","dataDowncast","isEnabled","2301024Vmcvwt","paginationLicenseKeyDomainLimit","pageBreaks","text","setStyle","evaluationLimit","manual","paginationLicenseKeyExpired","keystrokes","paginationLicenseKeyUsageLimit","updateMarker","licenseKey","has","view","4311910TeYmDm","name","invalid","pagination","_licenseKeyCheckInterval","bindElementToMarker","change","moveSelectionToPage","_updatePageBreakMarkers","conversion","expired","destroy","add","init","featureNotAllowed","substring","end","data","$text","schema","totalPages","_showLicenseError","for","createPositionAt","modelRange"];return(Q=function(){return t})()}function $(t,e){const n=Q();return($=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(813200===-parseInt(e(210))/1+-parseInt(e(156))/2+parseInt(e(213))/3+-parseInt(e(205))/4+parseInt(e(227))/5+-parseInt(e(170))/6+parseInt(e(207))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class tt extends t.Plugin{[Z(224)];[Z(231)];static get[Z(174)](){return Z(148)}static get[Z(161)](){return!0}static get[Z(200)](){return!0}static get[Z(163)](){return[c,Y]}[Z(116)](){const t=Z;this[t(186)]({pageNumber:1,totalPages:1});const e=this[t(209)][t(139)][t(134)](t(175)),n=this[t(209)][t(139)][t(134)](c),i=this[t(209)][t(139)][t(134)](Y);this[t(130)](t(212)).to(e),this[t(187)](),this[t(130)](t(188)).to(i),this[t(152)](n,t(153),((e,n,i,o)=>{const s=t;this[s(123)]=i[s(154)],this[s(235)](i,o)})),this[t(159)](),this[t(224)]=this[t(209)][t(177)][t(134)](t(224));const o=this[t(209)];this[t(231)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(131)==s||e(181)==s||e(220)==s||e(214)==s||e(192)==s||e(145)==s||e(146)==s||e(222)==s){delete o[i],n=s,clearInterval(this[e(231)]),this[e(231)]=void 0;break}}e(181)==n&&o[e(124)](e(229)),e(220)==n&&o[e(124)](e(237)),e(214)==n&&o[e(124)](e(162)),e(192)==n&&o[e(124)](e(117),e(175)),e(145)==n&&o[e(124)](e(218)),e(146)==n&&o[e(124)](e(206)),e(222)==n&&o[e(124)](e(168))}),1e3)}[Z(114)](){const t=Z;super[t(114)](),this[t(231)]&&clearInterval(this[t(231)])}[Z(198)](t){const e=Z;this[e(212)]&&this[e(209)][e(139)][e(134)](Y)[e(198)](this[e(144)](t))}[Z(234)](t){const e=Z;if(!this[e(212)])return;const n=this[e(209)],i=this[e(209)][e(139)][e(134)](c)[e(215)][t-1];i&&n[e(133)][e(233)]((t=>{const o=e;switch(i[o(171)]){case o(219):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(119)],o(158));t[o(173)](e);break}case o(136):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(201)],o(158));t[o(173)](e);break}case o(216):{const e=i[o(127)][o(201)];if(e[o(160)]&&" "===e[o(160)][o(120)][e[o(193)]]){const n=t[o(126)](e[o(179)],e[o(193)]+1);t[o(173)](n)}else t[o(173)](i[o(127)])}}n[o(142)][o(226)][o(164)]()}))}[Z(150)](){const t=Z,e=this[t(144)](this[t(188)]+1);this[t(234)](e),this[t(198)](e)}[Z(178)](){const t=Z,e=this[t(144)](this[t(188)]-1);this[t(234)](e),this[t(198)](e)}[Z(235)](t,e){const n=Z,i=this[n(209)][n(133)];this[n(212)]&&i[n(233)]((o=>{const s=n;for(let e=1;e<t[s(154)];e++){const n=t[e][s(127)],r=s(155)+(e+1);i[s(204)][s(225)](r)?o[s(223)](r,{range:n}):o[s(202)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(154)];n<e[s(154)];n++){const t=s(155)+(n+1);i[s(204)][s(225)](t)&&o[s(195)](t)}}))}[Z(187)](){const t=Z,e=t(230);this[t(209)][t(236)][t(125)](t(211))[t(115)]((n=>{const i=t;n.on(i(196)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(137)][s(230)])return;if(!o[s(208)][s(151)](e,t[s(228)]))return;const r=e[s(167)]();let a=r?o[s(129)][s(190)](r):null;if(!a){const t=e[s(201)];if(o[s(122)][s(203)](t,s(121))){const e=o[s(129)][s(128)](t);a=o[s(141)][s(199)](s(180)),a[s(184)]=()=>null,o[s(141)][s(189)](e,a)}else{const e=t[s(140)];a=o[s(129)][s(190)](e)}}for(;a[s(179)]!==a[s(176)]&&0===a[s(165)];)a=a[s(179)];const c=n[s(118)](11);a[s(166)](s(185))||(o[s(141)][s(217)](s(172),s(132),a),o[s(141)][s(143)](s(169),c,a),o[s(129)][s(232)](a,n)),t[s(194)]()}))}))}[Z(159)](){const t=Z,e=this[t(209)];e[t(221)][t(186)](t(149),((e,n)=>{this[t(178)](),n()})),e[t(221)][t(186)](t(182),((e,n)=>{this[t(150)](),n()})),e[t(138)][t(191)]({id:t(230),label:J(e[t(183)],t(135)),keystrokes:[{label:J(e[t(183)],t(147)),keystroke:t(149),mayRequireFn:!0},{label:J(e[t(183)],t(157)),keystroke:t(182),mayRequireFn:!0}]})}[Z(144)](t){const e=Z;return t<1&&(t=1),t>this[e(123)]&&(t=this[e(123)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=N().bind(null,"head"),it.domAPI=T(),it.insertStyleElement=A();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=203]})(t,e)}const st=ot;function rt(){const t=["focus","isNaN","pageNumber","setTemplate","ArrowDown","numeric","9883280hKepNq","totalPages","valueAsNumber","blur","select","max","element","enter","42383EqvMVY","keyCode","11144436UYysPy","bind","11646kdQGrt","span","ck-page-navigator","change:pageNumber","32216WORbYP","key","305jdmCOF","3lUeFSR","keydown","fire","Current page number (from 1 to %0)","set","firstChild","div","ck-disabled","navigation","checkValidity","bindTemplate","3017878fdoHQM","14220OgVKnM","render","7KLlrzt","ariaLabel","9800yTgmbh","isEnabled","ArrowUp","stopPropagation","value","pageNumberView","listenTo","789322konlWv","isReadOnly","preventDefault"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(934142===-parseInt(e(244))/1+parseInt(e(232))/2*(-parseInt(e(221))/3)+-parseInt(e(218))/4*(-parseInt(e(220))/5)+parseInt(e(212))/6*(-parseInt(e(235))/7)+-parseInt(e(253))/8+-parseInt(e(214))/9*(-parseInt(e(237))/10)+-parseInt(e(210))/11*(-parseInt(e(233))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(242)];constructor(t){const n=st;super(t);const i=this[n(231)];this[n(225)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(242)]=new e.InputNumberView(t,{min:1,step:1}),this[n(242)][n(225)]({inputMode:n(252),tabIndex:-1}),this[n(242)][n(213)](n(236)).to(this,n(203),(e=>J(t,n(224),e))),this[n(242)][n(213)](n(207)).to(this,n(203)),this[n(242)][n(213)](n(245)).to(this,n(238),(t=>!t)),this[n(250)]({tag:n(227),attributes:{class:["ck",n(216),i.if(n(238),n(228),(t=>!t))]},children:[this[n(242)],{tag:n(215),children:[{text:i.to(n(203))}]}]})}[st(234)](){const t=st;super[t(234)]();const e=this[t(242)][t(208)],n=e=>{const n=t;this[n(242)][n(208)][n(241)]=String(e)};n(this[t(249)]),this.on(t(217),((t,e,i)=>{n(i)})),this[t(243)](e,t(222),((n,i)=>{const s=t;if(s(239)===i[s(219)]||s(251)===i[s(219)])return void i[s(240)]();if(i[s(211)]!==o.keyCodes[s(209)])return;i[s(246)]();const r=e[s(204)];Number[s(248)](r)?e[s(241)]=String(this[s(249)]):(e[s(230)]()?this[s(249)]=r:r>this[s(203)]?(this[s(249)]=this[s(203)],e[s(241)]=String(this[s(203)])):(this[s(249)]=1,e[s(241)]="1"),this[s(223)](s(229),this[s(249)]))})),this[t(243)](e,t(205),(()=>{const n=t;e[n(241)]=String(this[n(249)])})),this[t(243)](e,t(247),(()=>{const e=t;this[e(242)][e(206)]()}))}[st(247)](){const t=st;this[t(208)][t(226)][t(247)]()}}const ct=ut;function ut(t,e){const n=pt();return(ut=function(t,e){return n[t-=231]})(t,e)}!function(t){const e=ut,n=t();for(;;)try{if(324949===-parseInt(e(267))/1+-parseInt(e(263))/2+parseInt(e(255))/3+-parseInt(e(261))/4+parseInt(e(252))/5+parseInt(e(233))/6*(parseInt(e(243))/7)+parseInt(e(251))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class lt extends t.Plugin{static get[ct(246)](){return ct(240)}static get[ct(269)](){return!0}static get[ct(258)](){return!0}[ct(238)](){const t=ct,n=this[t(266)],i=n[t(250)][t(245)](t(247));n.ui[t(239)][t(248)](t(236),(e=>{const n=t,o=new at(e);return o[n(235)](n(242)).to(i),o[n(235)](n(257)).to(i),o[n(235)](n(237)).to(i),o.on(n(244),((t,e)=>{const o=n;i[o(270)](e),i[o(249)](e)})),o})),n.ui[t(239)][t(248)](t(268),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(256)),r[s(264)]=et.IconArrowDown,r[s(265)]=!0,r[s(234)]=s(254),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(253)]()})),r})),n.ui[t(239)][t(248)](t(271),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(231)),r[s(264)]=et.IconArrowUp,r[s(265)]=!0,r[s(234)]=s(232),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(262)]()})),r}))}}function pt(){const t=["993824LOOTTj","3111635SYmCwJ","goToNextPage","Shift+PageDown","856263RJtdsj","Go to next page","totalPages","isPremiumPlugin","locale","execute","1027472VFsekg","goToPreviousPage","560114JxPgrf","icon","tooltip","editor","585109PVfdbM","nextPage","isOfficialPlugin","moveSelectionToPage","previousPage","listenTo","Go to previous page","Shift+PageUp","2490042BITtpj","keystroke","bind","pageNavigation","isEnabled","init","componentFactory","PaginationUI","label","pageNumber","7aSiawR","navigation","get","pluginName","PaginationEditing","add","scrollToPage","plugins"];return(pt=function(){return t})()}function ft(){const t=["scrollToPage","init","set","requires","pageNumber","isEnabled","ready","7iIVyVm","597360wBCTUx","get","1411861SQrivN","Pagination","pagination.enableOnUnsupportedBrowsers","90897uhKuFN","totalPages","532736yBTayi","config","23472MJTlyN","pluginName","bind","22bxFiKw","plugins","browserCheck","isOfficialPlugin","310anlfWp","4sWKBEc","forceDisabled","editor","isPremiumPlugin","59769aUqxBk","isBlink","476292IWMqhH"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(173151===-parseInt(e(197))/1*(-parseInt(e(200))/2)+-parseInt(e(193))/3+-parseInt(e(205))/4*(parseInt(e(220))/5)+parseInt(e(211))/6*(-parseInt(e(219))/7)+parseInt(e(195))/8+parseInt(e(209))/9*(parseInt(e(204))/10)+-parseInt(e(222))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(198)](){return ht(223)}static get[ht(203)](){return!0}static get[ht(208)](){return!0}static get[ht(215)](){return[tt,lt]}constructor(t){const e=ht;super(t),this[e(217)]=!1}[ht(213)](){const t=ht;this[t(214)]({pageNumber:1,totalPages:1});const e=this[t(207)][t(201)][t(221)](tt);this[t(199)](t(216)).to(e),this[t(199)](t(194)).to(e),o.env[t(210)]||this[t(207)][t(196)][t(221)](t(192))?this[t(207)].on(t(218),(()=>{this[t(217)]=!0})):this[t(206)](t(202))}[ht(212)](t){const e=ht;this[e(207)][e(201)][e(221)](tt)[e(212)](t)}}function mt(){var t=["1188846CAzQFS","492sKeEWz","5356602nwVhFe","5007vPXQOh","5388140SDWpbq","20VwauIZ","6165lEpPow","1948Cgfial","8686727mirJmd","441920OvSetc"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=109]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(792803===-parseInt(e(114))/1*(parseInt(e(109))/2)+-parseInt(e(111))/3*(-parseInt(e(115))/4)+-parseInt(e(112))/5+parseInt(e(118))/6+parseInt(e(116))/7+-parseInt(e(117))/8+parseInt(e(110))/9*(parseInt(e(113))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x45f5b5}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x269a83,InputNumberView as _0xe109e5,ButtonView as _0x109184}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x63faa6,Rect as _0x32dde5,global as _0x19a60f,uid as _0xa08dc8,toUnit as _0xa9bbac,first as _0x483d63,env as _0x654b69,ResizeObserver as _0x314d14,keyCodes as _0x516fec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x3a3279}from'es-toolkit/compat';import{IconArrowDown as _0xee813e,IconArrowUp as _0x1a3ab1}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x45f5b5{['_recalculatePageBreaksDebounced']=_0x3a3279(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x63faa6('pagination-config-not-found',this['editor']['config']);const _0x1d55fe=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1d55fe),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x416499,_0x466937,_0x128381)=>{_0x128381&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x4410fb){const _0x464129=_0x159092([0x62,0x36,0x6a,0x31,0x35,0x4f,0x69,0x42,0x77,0x38,0x68,0x47,0x56,0x53,0x48,0x67,0x6c,0x75,0x44,0x6e,0x45,0x30,0x6b,0x51,0x64,0x4d,0x78,0x32,0x66,0x58,0x72,0x61,0x37,0x4c,0x54,0x50,0x65,0x55,0x63,0x7a,0x4e,0x33,0x43,0x49,0x79,0x59,0x41,0x6f,0x74,0x52,0x73,0x4b,0x46,0x57,0x39,0x4a,0x6d,0x76,0x34,0x70,0x5a,0x71]),_0x12df60=0x109a5532,_0x31b8f8=0x109d328a^_0x12df60,_0x3b7746=window[_0x159092([0x44,0x61,0x74,0x65])][_0x159092([0x6e,0x6f,0x77])](),_0x53975b=_0x4410fb[_0x159092([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x552535=new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a10d0=>{_0x53975b[_0x159092([0x6f,0x6e,0x63,0x65])](_0x159092([0x72,0x65,0x61,0x64,0x79]),_0x5a10d0);}),_0xed1623={[_0x159092([0x6b,0x74,0x79])]:_0x159092([0x45,0x43]),[_0x159092([0x75,0x73,0x65])]:_0x159092([0x73,0x69,0x67]),[_0x159092([0x63,0x72,0x76])]:_0x159092([0x50,0x2d,0x32,0x35,0x36]),[_0x159092([0x78])]:_0x159092([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x159092([0x79])]:_0x159092([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x159092([0x61,0x6c,0x67])]:_0x159092([0x45,0x53,0x32,0x35,0x36])},_0x292f1c=_0x53975b[_0x159092([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x159092([0x67,0x65,0x74])](_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38a9c5(){let _0x3fc9a2,_0x40940f=null,_0x1a8aba=null;try{if(_0x292f1c==_0x159092([0x47,0x50,0x4c]))return _0x159092([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fc9a2=_0x204dd4(),!_0x3fc9a2)return _0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fc9a2[_0x159092([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a8aba=_0x24f6f3(_0x3fc9a2[_0x159092([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fc9a2[_0x159092([0x6a,0x74,0x69])])),await _0x33fa64()?_0x453f05()?_0x420ded()?_0x159092([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c0906()?(_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x159092([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40940f=_0x21d1b1(_0x159092([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x159092([0x74,0x72,0x69,0x61,0x6c])&&(_0x40940f=_0x21d1b1(_0x159092([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13218b()):_0x159092([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x159092([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3dc7e6){return _0x159092([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x420ded(){const _0x4f9373=[_0x159092([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x159092([0x74,0x72,0x69,0x61,0x6c])][_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b7746/0x3e8:0xe10*_0x31b8f8;return _0x3fc9a2[_0x159092([0x65,0x78,0x70])]<_0x4f9373;}function _0x453f05(){const _0x13c6c8=_0x3fc9a2[_0x159092([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13c6c8&&(!!_0x13c6c8[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x2a]))||!!_0x13c6c8[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x50,0x41,0x47])));}function _0x2c0906(){const _0x1a1d99=_0x3fc9a2[_0x159092([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a1d99||0x0==_0x1a1d99[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x652900}=new URL(window[_0x159092([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a1d99[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x652900))return!0x0;const _0x1ebf9d=_0x652900[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e]));return _0x1a1d99[_0x159092([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3957d3=>_0x3957d3[_0x159092([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159092([0x2a])))[_0x159092([0x6d,0x61,0x70])](_0x585d7b=>_0x585d7b[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e])))[_0x159092([0x73,0x6f,0x6d,0x65])](_0x1acf04=>_0x1ebf9d[_0x159092([0x65,0x76,0x65,0x72,0x79])]((_0x5abb45,_0x2f1f37)=>_0x1acf04[_0x2f1f37]===_0x5abb45||_0x1acf04[_0x2f1f37]===_0x159092([0x2a])));}function _0x13218b(){return _0x40940f&&_0x1a8aba?new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x251a0c,_0x2e888f)=>{_0x40940f[_0x159092([0x74,0x68,0x65,0x6e])](_0x251a0c,_0x2e888f),_0x1a8aba[_0x159092([0x74,0x68,0x65,0x6e])](_0x32c862=>{_0x32c862!=_0x159092([0x56,0x61,0x6c,0x69,0x64])&&_0x251a0c(_0x32c862);},_0x2e888f);}):_0x40940f||_0x1a8aba||_0x159092([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24f6f3(_0x16f5c2,_0x35cec1){return new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c6a64=>{if(_0x16dcc5())return _0x2c6a64(_0x159092([0x56,0x61,0x6c,0x69,0x64]));_0x4a213d(),_0x53975b[_0x159092([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x470875=!0x1;const _0x4f22f0=_0xa08dc8();function _0x32c5ca(_0x4ef60b){return!!_0x4ef60b&&(typeof _0x4ef60b===_0x159092([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ef60b===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ef60b[_0x159092([0x74,0x68,0x65,0x6e])]===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ef60b[_0x159092([0x63,0x61,0x74,0x63,0x68])]===_0x159092([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3eb3e6(_0x343a1d){_0x3b0bac(_0x343a1d)[_0x159092([0x74,0x68,0x65,0x6e])](_0x3d553f=>{if(!_0x3d553f||_0x3d553f[_0x159092([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x159092([0x6f,0x6b]))return _0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23d83e(_0x435f53(_0x4f22f0+_0x35cec1))!=_0x3d553f[_0x159092([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x159092([0x56,0x61,0x6c,0x69,0x64]);})[_0x159092([0x74,0x68,0x65,0x6e])](_0x4c4648=>(_0x5ed659(),_0x4c4648),()=>{const _0x3494c0=_0x3a0886();return null==_0x3494c0?(_0x5ed659(),_0x159092([0x56,0x61,0x6c,0x69,0x64])):_0x159092(_0x3b7746-_0x3494c0>(0x3496d132^_0x12df60)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x159092([0x74,0x68,0x65,0x6e])](_0x2c6a64)[_0x159092([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x467cf4=0x10acbbb2^_0x12df60;function _0x5ed659(){const _0x2c6e35=_0x159092([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d83e(_0x435f53(_0x16f5c2)),_0x245cd2=_0x358d3d(_0x23d83e(window[_0x159092([0x4d,0x61,0x74,0x68])][_0x159092([0x63,0x65,0x69,0x6c])](_0x3b7746/_0x467cf4)));window[_0x159092([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x159092([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c6e35,_0x245cd2);}function _0x3a0886(){const _0x88ae39=_0x159092([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d83e(_0x435f53(_0x16f5c2)),_0x4f6e53=window[_0x159092([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x159092([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x88ae39);return _0x4f6e53?window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358d3d(_0x4f6e53),0x10)*_0x467cf4:null;}function _0x3b0bac(_0x133e69){return new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4225bb,_0x1508f8)=>{_0x133e69[_0x159092([0x74,0x68,0x65,0x6e])](_0x4225bb,_0x1508f8),window[_0x159092([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1508f8,0x109b81f2^_0x12df60);});}}_0x53975b[_0x159092([0x6f,0x6e])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x182950,_0x6d4e29)=>{if(_0x6d4e29[0x0]!=_0x16f5c2)return _0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6d4e29[0x1]={..._0x6d4e29[0x1],[_0x159092([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f22f0};},{[_0x159092([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x159092([0x68,0x69,0x67,0x68])}),_0x53975b[_0x159092([0x6f,0x6e])](_0x159092([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cb414=>{_0x32c5ca(_0x1cb414[_0x159092([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x470875=!0x0,_0x3eb3e6(_0x1cb414[_0x159092([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x159092([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x159092([0x6c,0x6f,0x77])}),_0x552535[_0x159092([0x74,0x68,0x65,0x6e])](()=>{_0x470875||_0x2c6a64(_0x159092([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16dcc5(){return _0x53975b[_0x159092([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x159092([0x76,0x69,0x65,0x77])][_0x159092([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x159092([0x61,0x75,0x74,0x6f]);}function _0x4a213d(){_0x53975b[_0x159092([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x159092([0x76,0x69,0x65,0x77])][_0x159092([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x159092([0x61,0x75,0x74,0x6f]);}}function _0x21d1b1(_0x406167){const _0x34b580=[new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3866bc=>setTimeout(_0x3866bc,0x10936bfe^_0x12df60)),_0x552535[_0x159092([0x74,0x68,0x65,0x6e])](()=>new window[(_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fb369=>{let _0x72d173=0x0;_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x6f,0x6e])](_0x159092([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52e3ca,_0x2e3671)=>{_0x2e3671[0x0][_0x159092([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x72d173++,_0x72d173==(0x109a54ca^_0x12df60)&&(_0x2fb369(),_0x52e3ca[_0x159092([0x6f,0x66,0x66])]());});}))];return window[_0x159092([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x159092([0x72,0x61,0x63,0x65])](_0x34b580)[_0x159092([0x74,0x68,0x65,0x6e])](()=>_0x406167);}async function _0x467436(){await _0x552535,_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a4ee0,_0x53975b[_0x159092([0x6d,0x6f,0x64,0x65,0x6c])][_0x159092([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a4ee0,_0x53975b[_0x159092([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x159092([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e8fc7(_0x360a59){const _0x52295c=_0x422c03();_0x53975b[_0x52295c]=_0x159092([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x360a59,_0x360a59!=_0x159092([0x56,0x61,0x6c,0x69,0x64])&&_0x467436();}function _0x422c03(){const _0x4d2dfa=window[_0x159092([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x159092([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x159092([0x6e,0x6f,0x77])]())[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x159092([0x2e]),'');let _0x569828=_0x159092([0x62]);for(let _0x155450=0x0;_0x155450<_0x4d2dfa[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155450+=0x2){let _0x2ead49=window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d2dfa[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x155450,_0x155450+0x2));_0x2ead49>=_0x464129[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ead49-=_0x464129[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569828+=_0x464129[_0x2ead49];}return _0x569828;}function _0x204dd4(){const _0x1fb5c0=_0x292f1c[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e]));if(0x3!=_0x1fb5c0[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2beac6(_0x1fb5c0[0x1]);function _0x2beac6(_0x4ca99e){const _0xdb53b9=_0x12a213(_0x4ca99e);return _0xdb53b9&&_0x570541()?_0xdb53b9:null;function _0x570541(){const _0x37611f=_0xdb53b9[_0x159092([0x6a,0x74,0x69])],_0x13abf7=window[_0x159092([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37611f[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37611f[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f5760={..._0xdb53b9,[_0x159092([0x6a,0x74,0x69])]:_0x37611f[_0x159092([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37611f[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f5760[_0x159092([0x76,0x63])],_0x435f53(_0x2f5760)==_0x13abf7;}}}async function _0x33fa64(){let _0xa492=!0x0;try{const _0x422111=_0x292f1c[_0x159092([0x73,0x70,0x6c,0x69,0x74])](_0x159092([0x2e])),[_0x31b803,_0x35f854,_0xc5f429]=_0x422111;return _0x59287d(_0x31b803),await _0xa6a972(_0x31b803,_0x35f854,_0xc5f429),_0xa492;}catch(_0x1d96bf){return!0x1;}function _0x59287d(_0x325626){const _0x158e54=_0x12a213(_0x325626);_0x158e54&&_0x158e54[_0x159092([0x61,0x6c,0x67])]==_0x159092([0x45,0x53,0x32,0x35,0x36])||(_0xa492=!0x1);}async function _0xa6a972(_0x157e20,_0xc53257,_0xfe0cef){const _0x5c2490=window[_0x159092([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x159092([0x66,0x72,0x6f,0x6d])](_0x237571(_0xfe0cef),_0x240b33=>_0x240b33[_0x159092([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b5264=new window[(_0x159092([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x159092([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x157e20+_0x159092([0x2e])+_0xc53257),_0x40c512=window[_0x159092([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x159092([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c512)return;const _0x2bafe3=await _0x40c512[_0x159092([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x159092([0x6a,0x77,0x6b]),_0xed1623,{[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x45,0x43,0x44,0x53,0x41]),[_0x159092([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x159092([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x159092([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c512[_0x159092([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x45,0x43,0x44,0x53,0x41]),[_0x159092([0x68,0x61,0x73,0x68])]:{[_0x159092([0x6e,0x61,0x6d,0x65])]:_0x159092([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bafe3,_0x5c2490,_0x2b5264)||(_0xa492=!0x1);}}function _0x12a213(_0x4449d3){return _0x4449d3[_0x159092([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x159092([0x65,0x79]))?JSON[_0x159092([0x70,0x61,0x72,0x73,0x65])](_0x237571(_0x4449d3)):null;}function _0x237571(_0x2cedd1){return window[_0x159092([0x61,0x74,0x6f,0x62])](_0x2cedd1[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x159092([0x2b]))[_0x159092([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x159092([0x2f])));}function _0x435f53(_0x1493a4){let _0x3512cd=0x1505;function _0x51af02(_0x49e05b){for(let _0x15d244=0x0;_0x15d244<_0x49e05b[_0x159092([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15d244++){const _0x5cbb81=_0x49e05b[_0x159092([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15d244);_0x3512cd=(_0x3512cd<<0x5)+_0x3512cd+_0x5cbb81,_0x3512cd&=_0x3512cd;}}function _0x1dca0f(_0x3af4a8){Array[_0x159092([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3af4a8)?_0x3af4a8[_0x159092([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dca0f):_0x3af4a8&&typeof _0x3af4a8==_0x159092([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x159092([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3af4a8)[_0x159092([0x73,0x6f,0x72,0x74])]()[_0x159092([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xffb8d5,_0x2223b7])=>{_0x51af02(_0xffb8d5),_0x1dca0f(_0x2223b7);}):_0x51af02(window[_0x159092([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3af4a8));}return _0x1dca0f(_0x1493a4),_0x3512cd>>>0x0;}function _0x23d83e(_0x286d8c){return _0x286d8c[_0x159092([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x159092([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x159092([0x30]));}function _0x358d3d(_0x508107){return _0x508107[_0x159092([0x73,0x70,0x6c,0x69,0x74])]('')[_0x159092([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x159092([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a4ee0(){}function _0x159092(_0x16a5e){return _0x16a5e['map'](_0x2cbd6d=>String['fromCharCode'](_0x2cbd6d))['join']('');}_0x4e8fc7(await _0x38a9c5());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x118db8=this['editor'],_0x53e87d=_0x118db8['editing']['view'],_0x4f959a=this['_getAttachedDomRoot']();if(!_0x4f959a||0x0===_0x4f959a['childElementCount'])return void _0x118db8['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x425e9f,pageHeight:_0x3133f8}=_0x118db8['config']['get']('pagination'),{top:_0x81df5,left:_0x4def1d,bottom:_0x42067d,right:_0x128258}=this['_configuredPaddings'];this['_pagesContainer']=new _0x269a83(_0x118db8['locale']);const _0x4353c2=this['_pagesContainer'];_0x4353c2['set']('class',''),_0x4353c2['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x425e9f,'width':_0x425e9f,'height':'calc(\x20'+_0x3133f8+'\x20-\x20'+_0x81df5+'\x20-\x20'+_0x42067d+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x128258+'\x200\x20'+_0x4def1d,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x4353c2['bindTemplate']['to']('class')}}),_0x4353c2['render'](),_0x4f959a['parentNode']['insertBefore'](_0x4353c2['element'],_0x4f959a['nextSibling']),this['listenTo'](_0x53e87d,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x40932a of this['editor']['editing']['view']['domRoots']['values']())if(_0x40932a['ownerDocument']['body']['contains'](_0x40932a))return _0x40932a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x245f1e=this['editor']['editing']['view'],_0x2df374=this['_pagesContainer'],_0x418f06=this['_getAttachedDomRoot']();if(!_0x418f06)return Promise['resolve']();for(_0x2df374['class']=['ck-reset','ck-pagination-view',..._0x418f06['classList']]['join']('\x20');_0x2df374['element']['firstChild'];)_0x2df374['element']['firstChild']['remove']();const _0x33cc7e=Array['from'](_0x245f1e['domRoots']);_0x33cc7e['sort'](([,_0xbf95b9],[,_0xe1917d])=>_0xbf95b9['compareDocumentPosition'](_0xe1917d)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x13ad70,_0x38fd41]of _0x33cc7e){const _0x48055d=_0x38fd41['cloneNode'](!0x0);'attributeStyleMap'in _0x48055d&&_0x48055d['attributeStyleMap']['clear'](),_0x48055d['className']='',_0x48055d['removeAttribute']('id'),_0x48055d['dataset']['rootName']=_0x13ad70,_0x2df374['element']['append'](_0x48055d);}return function(_0x9b001f){return Promise['all'](_0x9b001f['map'](_0x433070=>Promise['race']([p(_0x433070),y(0x3e8)])));}(Array['from'](_0x2df374['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x298254=this['_pagesContainer']['element'];if(!_0x298254['ownerDocument']['body']['contains'](_0x298254))return;const _0x7c5717=new _0x32dde5(_0x298254)['excludeScrollbarsAndBorders'](),_0x2f29c6=_0x19a60f['window']['getComputedStyle'](_0x298254),_0x7d32f1=parseFloat(_0x2f29c6['paddingLeft'])+parseFloat(_0x2f29c6['paddingRight']),_0x233145=Math['floor'](_0x7c5717['width']+0x64-_0x7d32f1),_0x10602f=x(_0x298254,Math['floor'](_0x7c5717['left']-_0x298254['scrollLeft']),_0x233145,_0x7c5717['height'])['map'](_0x57ec7c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x57ec7c));_0x10602f['every'](_0x331aca=>!!_0x331aca)&&(this['pageBreaks']=_0x10602f);}['_mapPageStarterInfoToPageBreakInfo'](_0x1ae3fd){const _0xa7ea3e=this['editor']['editing']['view'],_0x52974b=this['editor']['editing']['mapper'],_0x2f2d94=_0xa7ea3e['domConverter'],_0x993262=_0x1ae3fd['path']['shift'](),_0x113db4=this['_pagesContainer']['element']['childNodes'][_0x993262]['dataset']['rootName'],_0x56b642=_0xa7ea3e['getDomRoot'](_0x113db4);if(!_0x56b642)return null;const _0x1fc64a=function(_0x33abd7,_0x5acd07){let _0x2ae534=_0x33abd7;for(const _0x33f32c of _0x5acd07['path']){if(!_0x2ae534)return null;_0x2ae534=_0x2ae534['childNodes'][_0x33f32c];}return _0x2ae534;}(_0x56b642,_0x1ae3fd);if(!_0x1fc64a)return null;const _0x166ab3=_0x2f2d94['domPositionToView'](_0x1fc64a,_0x1ae3fd['textOffset']||0x0);return _0x166ab3?'manual'==_0x1ae3fd['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a):'text'==_0x1ae3fd['type']&&_0x52974b['toModelPosition'](_0x166ab3)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a,_0x1ae3fd['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x166ab3,_0x1fc64a,_0x1ae3fd['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x346e97,_0x4c0216){const _0x1a3331=this['editor']['model'],_0x44fe4f=this['editor']['editing']['mapper']['toModelElement'](_0x346e97['parent']),_0x2325cc=_0x1a3331['createRangeOn'](_0x44fe4f);return new K({'type':'manual','modelRange':_0x2325cc,'domNode':_0x4c0216,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x39a3ac,_0x304f49,_0x52e7eb){const _0x13c0e9=this['editor']['model'],_0x2e6748=this['editor']['editing']['mapper'],_0x36e0ae=this['editor']['editing']['view']['domConverter'];if(_0x52e7eb>=_0x304f49['length'])return null;const _0x2ddec0=_0x2e6748['toModelPosition'](_0x39a3ac),_0x475a15=_0x13c0e9['createRange'](_0x2ddec0),_0x3c6e3f=_0x2e6748['findMappedViewAncestor'](_0x39a3ac),_0x362c84=_0x36e0ae['mapViewToDom'](_0x3c6e3f);return new K({'type':'text','modelRange':_0x475a15,'domNode':_0x304f49,'offset':m(_0x304f49,_0x52e7eb,_0x362c84)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4c73ff,_0x5bcb29,_0x2d79cf){const _0x36d984=this['editor']['model'],_0x391057=this['editor']['editing'],_0x4321d9=_0x391057['mapper'],_0x12ddfc=_0x391057['view']['domConverter'],_0x3cf10e=_0x4321d9['findMappedViewAncestor'](_0x4c73ff),_0x4d5d77=_0x4321d9['toModelElement'](_0x3cf10e),_0x5c26da=function(_0x3bf17c){const _0x4673be=_0x3bf17c['parent'],_0x1a22bb=_0x4673be['root']['document']['model'],_0xbb56f=_0x4673be['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x599948=null;for(const _0x1c9d39 of _0xbb56f){if(_0x1c9d39['is']('rootElement'))return _0x599948;if(!_0x1a22bb['createPositionBefore'](_0x1c9d39)['isTouching'](_0x3bf17c))return _0x599948;_0x599948=_0x1c9d39;}}(_0x36d984['createPositionBefore'](_0x4d5d77)),_0x39533f=_0x5c26da||_0x4d5d77;let _0x244726=_0x4321d9['toViewElement'](_0x39533f),_0x1cef6c=_0x36d984['createRangeOn'](_0x39533f);const _0x5a99ec=_0x36d984['createPositionBefore'](_0x39533f)['nodeBefore'];if(_0x5a99ec&&_0x5a99ec['is']('element','imageBlock')){const _0x156467=_0x4321d9['toViewElement'](_0x5a99ec),_0x89a176=_0x12ddfc['mapViewToDom'](_0x156467),_0x36046b=_0x19a60f['window']['getComputedStyle'](_0x89a176)['float'];'left'!=_0x36046b&&'right'!=_0x36046b||(_0x1cef6c=_0x36d984['createRangeOn'](_0x5a99ec));}for(;_0x244726['parent']!==_0x244726['root']&&0x0===_0x244726['index'];)_0x244726=_0x244726['parent'];const _0x409168=new _0x32dde5(S(_0x5bcb29)?_0x5bcb29:P(_0x5bcb29)),_0x3e71de=_0x2d79cf?_0x409168['height']-_0x2d79cf:0x0,_0x4ec643=_0x12ddfc['mapViewToDom'](_0x244726),_0x2b530a=new _0x32dde5(_0x4ec643);return new K({'type':'element','modelRange':_0x1cef6c,'domNode':_0x4ec643,'offset':Math['round'](_0x3e71de)?_0x3e71de+_0x409168['top']-_0x2b530a['top']:0x0});}get['_configuredPaddings'](){const _0x338250=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x338250);}static['_findPageStarterInfos'](_0x17a8dc,_0x1ee8d3,_0x3e7809,_0x3477a1,_0x3c7e9a){return x(_0x17a8dc,_0x1ee8d3,_0x3e7809,_0x3477a1,_0x3c7e9a);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x63731a,modelRange:_0x1e023f,domNode:_0x1b185a,offset:_0x535be5}){this['type']=_0x63731a,this['modelRange']=_0x1e023f,this['_domNode']=_0x1b185a,this['_offset']=_0x535be5;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x1f961f=new _0x32dde5(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x1f961f['top']+_0x1f961f['height']/0x2:_0x1f961f['top']+this['_offset'];}}function m(_0x55da5b,_0x5b8da4,_0x2c50b3){const _0x6fd52=P(_0x55da5b),_0x7462cd=function(_0x39c1fa){const _0x3eafda=_0x19a60f['document']['createRange']();return _0x3eafda['selectNodeContents'](_0x39c1fa),_0x3eafda;}(_0x2c50b3);let _0x11adab;_0x11adab=0x0==_0x5b8da4?b(_0x7462cd['startContainer'],_0x7462cd['startOffset'],_0x55da5b['parentNode'],Array['from'](_0x55da5b['parentNode']['childNodes'])['indexOf'](_0x55da5b)):b(_0x7462cd['startContainer'],_0x7462cd['startOffset'],_0x55da5b,_0x5b8da4);const _0x170309=b(_0x55da5b,_0x5b8da4,_0x7462cd['endContainer'],_0x7462cd['endOffset']),_0x5e9ec5=new _0x32dde5(_0x11adab)['bottom'];return(new _0x32dde5(_0x170309)['top']+_0x5e9ec5)/0x2-new _0x32dde5(_0x6fd52)['top'];}function p(_0x58b4b8){return _0x58b4b8['hasAttribute']('width')&&_0x58b4b8['hasAttribute']('height')?Promise['resolve']():new Promise(_0x49da1e=>{function _0x5596fb(){_0x58b4b8['removeEventListener']('load',_0x5596fb),_0x58b4b8['removeEventListener']('error',_0x5596fb),_0x49da1e();}_0x58b4b8['complete']?_0x49da1e():(_0x58b4b8['addEventListener']('load',_0x5596fb),_0x58b4b8['addEventListener']('error',_0x5596fb));});}function y(_0x2152b9){return new Promise(_0xa7dec8=>setTimeout(_0xa7dec8,_0x2152b9));}function P(_0x6c73cc){const _0x4de333=_0x19a60f['document']['createRange']();return _0x4de333['selectNode'](_0x6c73cc),_0x4de333;}function k(_0x369125,_0x2eea52,_0x4663d9){const _0x3ae474=_0x19a60f['document']['createRange']();return _0x3ae474['setStart'](_0x369125,_0x2eea52),_0x3ae474['setEnd'](_0x369125,_0x4663d9),_0x3ae474;}function b(_0x2adb8e,_0x2112dd,_0x3d6e17,_0x2aac6a){const _0x43877c=_0x19a60f['document']['createRange']();return _0x43877c['setStart'](_0x2adb8e,_0x2112dd),_0x43877c['setEnd'](_0x3d6e17,_0x2aac6a),_0x43877c;}function x(_0x48267b,_0x101b99,_0x1e7c0a,_0x337b14,_0x5ad70e){const _0x10ae22=[];for(const [_0x5abecd,_0x34e78d]of _0x48267b['childNodes']['entries']()){let _0x494263=[];S(_0x34e78d)&&_0x34e78d['offsetParent']&&!_0x34e78d['style']['position']?_0x494263=_(_0x34e78d,_0x5abecd,_0x101b99,_0x1e7c0a,_0x337b14,_0x5ad70e):R(_0x34e78d)&&(_0x494263=B(_0x34e78d,_0x5abecd,_0x101b99,_0x1e7c0a,_0x5ad70e)),_0x494263['length']&&(_0x10ae22['push'](..._0x494263),_0x101b99+=_0x494263['length']*_0x1e7c0a,_0x5ad70e=!0x1);}return _0x10ae22;}function _(_0x5ce05b,_0x2364b2,_0x3ff203,_0x30ccff,_0x5a3b94,_0x28f37f){const _0x260f63=[];var _0x45da51;if((_0x45da51=_0x5ce05b['previousSibling'])&&S(_0x45da51)&&Boolean(_0x45da51['classList']['contains']('page-break')||_0x45da51['closest']('.page-break'))&&(_0x260f63['push']({'type':'manual','offset':0x0,'path':[_0x2364b2-0x1]}),_0x28f37f=!0x0),'table-row'==_0x19a60f['window']['getComputedStyle'](_0x5ce05b)['display']){let _0xb266f8=0x0,_0x49911a=!0x1;for(const _0x319cec of _0x5ce05b['getClientRects']())_0xb266f8+=_0x319cec['height'],_0x319cec['left']>=_0x3ff203&&(_0x49911a=!0x0);if(_0xb266f8<_0x5a3b94&&_0x49911a)return _0x260f63['push']({'type':'element','offset':0x0,'path':[_0x2364b2]}),_0x260f63;}const _0x1bbae4=_0x5ce05b['closest']('figure.image');if(_0x1bbae4&&function(_0x4aacca){let _0x4e9403=!0x1;const _0x372528=_0x4aacca['parentElement'],_0x303f3c=_0x372528['dataset']['rootName'],_0x5821a5=_0x4aacca['nextElementSibling'],_0x5cb0c7=_0x4aacca['previousElementSibling'],_0x37b5f8=_0x5821a5&&_0x19a60f['window']['getComputedStyle'](_0x5821a5)['float'],_0x5eefc6=_0x5821a5&&'ck-fake-selection-container'===_0x5821a5['className'];!_0x303f3c||_0x5821a5||_0x5cb0c7||(_0x4e9403=!0x0),_0x303f3c&&!_0x5cb0c7&&_0x5eefc6&&(_0x4e9403=!0x0),_0x303f3c&&!_0x5cb0c7&&'none'!==_0x37b5f8&&(_0x4e9403=!0x0);if(_0x4e9403)return!0x1;return!0x0;}(_0x1bbae4)){const _0x16dd88=_0x19a60f['window']['getComputedStyle'](_0x1bbae4)['float'];if('left'==_0x16dd88||'right'==_0x16dd88)return _0x260f63;}const _0x39df01=x(_0x5ce05b,_0x3ff203,_0x30ccff,_0x5a3b94,_0x28f37f);if(_0x39df01['length']){for(const _0x469e8d of _0x39df01)_0x260f63['push']({'type':_0x469e8d['type'],'offset':_0x469e8d['offset'],'textOffset':_0x469e8d['textOffset'],'path':[_0x2364b2,..._0x469e8d['path']]}),_0x3ff203+=_0x30ccff,_0x28f37f=!0x1;return _0x260f63;}return _0x260f63['push'](...function(_0x401d01,_0x3930da,_0x28b7dd,_0x7579fe,_0x19937c){const _0x4930a4=[];if('table-cell'==_0x19a60f['window']['getComputedStyle'](_0x401d01)['display'])return[];const _0x4cbdf1=[];for(const _0x236fce of _0x401d01['getClientRects']())if(_0x236fce['left']>=_0x28b7dd){for(const _0x3b8c7e of _0x4cbdf1)_0x3b8c7e['height']+=_0x236fce['height'];_0x4cbdf1['push']({'height':_0x236fce['height']}),_0x28b7dd+=_0x7579fe;}for(const _0x45b876 of _0x4cbdf1)_0x19937c||_0x4930a4['push']({'type':'element','offset':_0x45b876['height'],'textOffset':0x0,'path':[_0x3930da]}),_0x19937c=!0x1;return _0x4930a4;}(_0x5ce05b,_0x2364b2,_0x3ff203,_0x30ccff,_0x28f37f)),_0x260f63;}function B(_0x4018dd,_0x38da21,_0x3ab34e,_0x31864a,_0x2aa103){const _0x52b0ab=P(_0x4018dd),_0x1db3de=[];let _0x11f6b2=0x0;for(const _0x1dd0d7 of _0x52b0ab['getClientRects']())if(_0x1dd0d7['left']>=_0x3ab34e){const _0x1db1ff=I(_0x4018dd,_0x11f6b2,_0x3ab34e,_0x31864a);_0x2aa103||_0x1db3de['push']({'type':'text','path':[_0x38da21],'textOffset':_0x1db1ff}),_0x11f6b2=_0x1db1ff,_0x3ab34e+=_0x31864a,_0x2aa103=!0x1;}return _0x1db3de;}function I(_0x406d5e,_0x8bd623,_0x2a328d,_0x6fc46f){let _0x592bb4=_0x8bd623,_0xe63092=_0x406d5e['length'];for(;_0xe63092-_0x592bb4>0x1;){const _0x2fa830=Math['ceil']((_0x592bb4+_0xe63092)/0x2);N(k(_0x406d5e,_0x592bb4,_0x2fa830),_0x2a328d,_0x6fc46f)?_0xe63092=_0x2fa830:_0x592bb4=_0x2fa830;}return _0x592bb4;}function N(_0x299d4c,_0x531f17,_0x3b6b20){for(const _0x237d04 of _0x299d4c['getClientRects']())if(_0x237d04['left']>=_0x531f17&&_0x237d04['left']<_0x531f17+_0x3b6b20)return!0x0;return!0x1;}function S(_0xe43bbe){return _0xe43bbe['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2b2f04){return _0x2b2f04['nodeType']==Node['TEXT_NODE'];}const z=_0xa9bbac('px');class V extends _0x269a83{constructor(){super();const _0x22720a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x22720a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x22720a['if']('isVisible','ck-hidden',_0x5933fe=>!_0x5933fe)],'style':{'left':_0x22720a['to']('left',_0x3da1dc=>z(_0x3da1dc)),'top':_0x22720a['to']('top',_0x447ccf=>z(_0x447ccf)),'width':_0x22720a['to']('width',_0x4eaaf3=>z(_0x4eaaf3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x304fa3){this['_viewCollection']=_0x304fa3['ui']['view']['body'];}['destroy'](){for(const _0x444dda of this['_hiddenLines'])_0x444dda['destroy']();}['cleanLines'](){for(const _0x57db98 of this['_visibleLines'])_0x57db98['isVisible']=!0x1,this['_hiddenLines']['add'](_0x57db98);this['_visibleLines']['clear']();}['showLine'](_0x3940df,_0x13d89c,_0x33c689,_0x420f7b){let _0x1b1031;this['_hiddenLines']['size']?(_0x1b1031=_0x483d63(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1b1031)):_0x1b1031=new V(),_0x1b1031['set']({'pageNumber':_0x420f7b,'left':_0x3940df,'top':_0x13d89c,'width':_0x33c689}),_0x1b1031['isVisible']=!0x0,this['_viewCollection']['has'](_0x1b1031)||this['_viewCollection']['add'](_0x1b1031),this['_visibleLines']['add'](_0x1b1031);}['setViewCollection'](_0x346499){for(const _0x278200 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x278200)&&this['_viewCollection']['remove'](_0x278200);this['_viewCollection']=_0x346499;}}const L='ck-pagination_enabled';class c extends _0x45f5b5{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0xf2d060,_0x320585,_0x3f15dd)=>{_0x3f15dd||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x3f15dd);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x11ce27){if(!this['isEnabled'])return;const _0x2c7b3b=_0x11ce27>0x1?this['_getPageBreakLineOffset'](_0x11ce27-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2c7b3b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x654b69['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x6db715=this['editor'],_0x372e0a=this['_getAttachedDomRoot']();_0x372e0a?(this['_scrollableEditingRootDomAncestor']&&_0x6db715['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1abfd3){let _0x4b29dd=_0x1abfd3;do{_0x4b29dd=_0x4b29dd['parentElement'];const _0x10e792=_0x19a60f['window']['getComputedStyle'](_0x4b29dd)['overflowY'];if('auto'==_0x10e792||'scroll'==_0x10e792)break;}while('BODY'!=_0x4b29dd['tagName']);return _0x4b29dd;}(_0x372e0a),_0x6db715['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x314d14(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x6db715['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x740b1b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x740b1b['ui']['view']['listenTo'](_0x19a60f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x740b1b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5ce355 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5ce355['ownerDocument']['body']['contains'](_0x5ce355))return _0x5ce355;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d9b3f=this['_getAttachedDomRoot'](),_0x1860a2=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d9b3f||0x1==_0x1860a2['length'])return void(this['pageNumber']=0x1);const _0x8aeaaa=new _0x32dde5(_0x5d9b3f)['excludeScrollbarsAndBorders'](),_0x3f0fc7=new _0x32dde5(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4e2d70=_0x3f0fc7['top']+_0x3f0fc7['height']/0x3;let _0x58d198=!0x1;const _0x2a054f=[];for(let _0x1b7434=0x1;_0x1b7434<_0x1860a2['length'];_0x1b7434++){const _0x319074=this['_getPageBreakLineOffset'](_0x1b7434,_0x3f0fc7);if(!_0x319074)continue;const _0x3535ac=_0x3f0fc7['top']+_0x319074-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2a054f['push']({'pageOffsetTop':_0x3535ac,'domRootRect':_0x8aeaaa,'domScrollableRect':_0x3f0fc7,'pageNumber':_0x1b7434}),_0x3535ac>_0x4e2d70&&!_0x58d198&&(this['pageNumber']=_0x1b7434,_0x58d198=!0x0);}this['_renderPageBreakLines'](_0x2a054f),_0x58d198||(this['pageNumber']=_0x1860a2['length']);}['_renderPageBreakLines'](_0x2f2fd2){const {scrollX:_0xacbf80,scrollY:_0x1ac272}=_0x19a60f['window'];if(_0x2f2fd2['length']){for(const {domScrollableRect:_0x4e3422,pageOffsetTop:_0x2fee53,domRootRect:_0x2c668b,pageNumber:_0x7deee9}of _0x2f2fd2)_0x4e3422['top']<_0x2fee53&&_0x2fee53<_0x4e3422['bottom']&&this['linesRepository']['showLine'](_0x2c668b['left']+_0xacbf80,_0x2fee53+_0x1ac272,_0x2c668b['width'],_0x7deee9+0x1);}}['_getPageBreakLineOffset'](_0x39a334,_0x1904c1=null){const _0x2bb379=this['_paginationLookupPlugin']['pageBreaks'][_0x39a334]['offset'];return _0x2bb379?(_0x1904c1||(_0x1904c1=new _0x32dde5(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2bb379-_0x1904c1['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x5c7e58,_0x3e4e30=!0x0){const _0x1fe3ed=this['editor']['editing']['view'];_0x1fe3ed['change'](_0x50b133=>{for(const _0x58954d of _0x1fe3ed['document']['roots'])_0x3e4e30?_0x50b133['addClass'](_0x5c7e58,_0x58954d):_0x50b133['removeClass'](_0x5c7e58,_0x58954d);});}}function g(_0x5c4f1f,_0x26b422,..._0x425be7){const t=_0x5c4f1f['t'];switch(_0x26b422){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x425be7);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x26b422;}}class s extends _0x45f5b5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4d063b=this['editor']['plugins']['get']('Pagination'),_0xaa6a5a=this['editor']['plugins']['get'](n),_0x4d5bd9=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x4d063b),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4d5bd9),this['listenTo'](_0xaa6a5a,'change:pageBreaks',(_0x2e8554,_0x3938fb,_0x4b5a58,_0x4b924a)=>{this['totalPages']=_0x4b5a58['length'],this['_updatePageBreakMarkers'](_0x4b5a58,_0x4b924a);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f201b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44b873;for(const _0x4276a5 in _0x3f201b){const _0x2d5436=_0x4276a5,_0x1a8bf4=_0x3f201b[_0x2d5436];if('paginationLicenseKeyValid'==_0x1a8bf4||'paginationLicenseKeyInvalid'==_0x1a8bf4||'paginationLicenseKeyExpired'==_0x1a8bf4||'paginationLicenseKeyDomainLimit'==_0x1a8bf4||'paginationLicenseKeyNotAllowed'==_0x1a8bf4||'paginationLicenseKeyEvaluationLimit'==_0x1a8bf4||'paginationLicenseKeyTrialLimit'==_0x1a8bf4||'paginationLicenseKeyUsageLimit'==_0x1a8bf4){delete _0x3f201b[_0x2d5436],_0x44b873=_0x1a8bf4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x44b873&&_0x3f201b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x44b873&&_0x3f201b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x44b873&&_0x3f201b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x44b873&&_0x3f201b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0xc5edfd){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0xc5edfd));}['moveSelectionToPage'](_0x947f7c){if(!this['isEnabled'])return;const _0xebaea7=this['editor'],_0x552c91=this['editor']['plugins']['get'](n)['pageBreaks'][_0x947f7c-0x1];_0x552c91&&_0xebaea7['model']['change'](_0x31fe22=>{switch(_0x552c91['type']){case'manual':{const _0xf232f3=_0xebaea7['model']['schema']['getNearestSelectionRange'](_0x552c91['modelRange']['end'],'forward');_0x31fe22['setSelection'](_0xf232f3);break;}case'element':{const _0x1cd484=_0xebaea7['model']['schema']['getNearestSelectionRange'](_0x552c91['modelRange']['start'],'forward');_0x31fe22['setSelection'](_0x1cd484);break;}case'text':{const _0x2d2826=_0x552c91['modelRange']['start'];if(_0x2d2826['textNode']&&'\x20'===_0x2d2826['textNode']['data'][_0x2d2826['offset']]){const _0x57de28=_0x31fe22['createPositionAt'](_0x2d2826['parent'],_0x2d2826['offset']+0x1);_0x31fe22['setSelection'](_0x57de28);}else _0x31fe22['setSelection'](_0x552c91['modelRange']);}}_0xebaea7['editing']['view']['focus']();});}['goToNextPage'](){const _0x329ddc=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x329ddc),this['scrollToPage'](_0x329ddc);}['goToPreviousPage'](){const _0x593121=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x593121),this['scrollToPage'](_0x593121);}['_updatePageBreakMarkers'](_0x465f6b,_0xbe2697){const _0x4bcdab=this['editor']['model'];this['isEnabled']&&_0x4bcdab['change'](_0x4b8fcd=>{for(let _0x37266e=0x1;_0x37266e<_0x465f6b['length'];_0x37266e++){const _0x17dfa1=_0x465f6b[_0x37266e]['modelRange'],_0x5ca10c='pagination:'+(_0x37266e+0x1);_0x4bcdab['markers']['has'](_0x5ca10c)?_0x4b8fcd['updateMarker'](_0x5ca10c,{'range':_0x17dfa1}):_0x4b8fcd['addMarker'](_0x5ca10c,{'range':_0x17dfa1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x646cda=_0x465f6b['length'];_0x646cda<_0xbe2697['length'];_0x646cda++){const _0x15eb98='pagination:'+(_0x646cda+0x1);_0x4bcdab['markers']['has'](_0x15eb98)&&_0x4b8fcd['removeMarker'](_0x15eb98);}});}['_setUpDataDowncastConversion'](){const _0x11e6cc='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2170bf=>{_0x2170bf['on']('addMarker:'+_0x11e6cc,(_0x43fae0,{markerRange:_0x17309d,markerName:_0x39aa99},_0x26ebd5)=>{if(!_0x26ebd5['options']['pagination'])return;if(!_0x26ebd5['consumable']['consume'](_0x17309d,_0x43fae0['name']))return;const _0x291970=_0x17309d['getContainedElement']();let _0x1da2b2=_0x291970?_0x26ebd5['mapper']['toViewElement'](_0x291970):null;if(!_0x1da2b2){const _0x238f19=_0x17309d['start'];if(_0x26ebd5['schema']['checkChild'](_0x238f19,'$text')){const _0xc620e=_0x26ebd5['mapper']['toViewPosition'](_0x238f19);_0x1da2b2=_0x26ebd5['writer']['createContainerElement']('span'),_0x1da2b2['getFillerOffset']=()=>null,_0x26ebd5['writer']['insert'](_0xc620e,_0x1da2b2);}else{const _0x243421=_0x238f19['nodeAfter'];_0x1da2b2=_0x26ebd5['mapper']['toViewElement'](_0x243421);}}for(;_0x1da2b2['parent']!==_0x1da2b2['root']&&0x0===_0x1da2b2['index'];)_0x1da2b2=_0x1da2b2['parent'];const _0x2374ea=_0x39aa99['substring'](0xb);_0x1da2b2['hasClass']('page-break')||(_0x26ebd5['writer']['setStyle']('page-break-before','always',_0x1da2b2),_0x26ebd5['writer']['setAttribute']('data-pagination-page',_0x2374ea,_0x1da2b2),_0x26ebd5['mapper']['bindElementToMarker'](_0x1da2b2,_0x39aa99)),_0x43fae0['stop']();});});}['_setupKeystrokes'](){const _0x581ba5=this['editor'];_0x581ba5['keystrokes']['set']('Shift+Pageup',(_0x5184ef,_0x2d1164)=>{this['goToPreviousPage'](),_0x2d1164();}),_0x581ba5['keystrokes']['set']('Shift+Pagedown',(_0x2d6044,_0x14aa5d)=>{this['goToNextPage'](),_0x14aa5d();}),_0x581ba5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x581ba5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x581ba5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x581ba5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5bf78d){return _0x5bf78d<0x1&&(_0x5bf78d=0x1),_0x5bf78d>this['totalPages']&&(_0x5bf78d=this['totalPages']),_0x5bf78d;}}class U extends _0x269a83{['pageNumberView'];constructor(_0xb93aa0){super(_0xb93aa0);const _0x45f2cd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xe109e5(_0xb93aa0,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4807ad=>g(_0xb93aa0,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4807ad)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x68ac7e=>!_0x68ac7e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x45f2cd['if']('isEnabled','ck-disabled',_0x724282=>!_0x724282)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x45f2cd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x11fbd3=this['pageNumberView']['element'],_0x2033a7=_0x51f79a=>{this['pageNumberView']['element']['value']=String(_0x51f79a);};_0x2033a7(this['pageNumber']),this['on']('change:pageNumber',(_0x2b0409,_0x4befb8,_0x439f3c)=>{_0x2033a7(_0x439f3c);}),this['listenTo'](_0x11fbd3,'keydown',(_0x298da0,_0x2177f4)=>{if('ArrowUp'===_0x2177f4['key']||'ArrowDown'===_0x2177f4['key'])return void _0x2177f4['stopPropagation']();if(_0x2177f4['keyCode']!==_0x516fec['enter'])return;_0x2177f4['preventDefault']();const _0x2cbc5f=_0x11fbd3['valueAsNumber'];Number['isNaN'](_0x2cbc5f)?_0x11fbd3['value']=String(this['pageNumber']):(_0x11fbd3['checkValidity']()?this['pageNumber']=_0x2cbc5f:_0x2cbc5f>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x11fbd3['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x11fbd3['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x11fbd3,'blur',()=>{_0x11fbd3['value']=String(this['pageNumber']);}),this['listenTo'](_0x11fbd3,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x45f5b5{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x463269=this['editor'],_0x256d3c=_0x463269['plugins']['get']('PaginationEditing');_0x463269['ui']['componentFactory']['add']('pageNavigation',_0x5029ee=>{const _0x269eab=new U(_0x5029ee);return _0x269eab['bind']('pageNumber')['to'](_0x256d3c),_0x269eab['bind']('totalPages')['to'](_0x256d3c),_0x269eab['bind']('isEnabled')['to'](_0x256d3c),_0x269eab['on']('navigation',(_0x157972,_0x3d19c0)=>{_0x256d3c['moveSelectionToPage'](_0x3d19c0),_0x256d3c['scrollToPage'](_0x3d19c0);}),_0x269eab;}),_0x463269['ui']['componentFactory']['add']('nextPage',_0x4e561e=>{const _0x25845a=new _0x109184(_0x4e561e);return _0x25845a['isEnabled']=!0x0,_0x25845a['label']=g(_0x463269['locale'],'Go\x20to\x20next\x20page'),_0x25845a['icon']=_0xee813e,_0x25845a['tooltip']=!0x0,_0x25845a['keystroke']='Shift+PageDown',_0x25845a['bind']('isEnabled')['to'](_0x256d3c),this['listenTo'](_0x25845a,'execute',()=>{_0x256d3c['goToNextPage']();}),_0x25845a;}),_0x463269['ui']['componentFactory']['add']('previousPage',_0x5389cd=>{const _0x3d5d12=new _0x109184(_0x5389cd);return _0x3d5d12['isEnabled']=!0x0,_0x3d5d12['label']=g(_0x463269['locale'],'Go\x20to\x20previous\x20page'),_0x3d5d12['icon']=_0x1a3ab1,_0x3d5d12['tooltip']=!0x0,_0x3d5d12['keystroke']='Shift+PageUp',_0x3d5d12['bind']('isEnabled')['to'](_0x256d3c),this['listenTo'](_0x3d5d12,'execute',()=>{_0x256d3c['goToPreviousPage']();}),_0x3d5d12;});}}class a extends _0x45f5b5{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0xfd75a2){super(_0xfd75a2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x23a402=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x23a402),this['bind']('totalPages')['to'](_0x23a402),_0x654b69['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x34f199){this['editor']['plugins']['get'](s)['scrollToPage'](_0x34f199);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x3f20a8}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5e612c,InputNumberView as _0x3fb306,ButtonView as _0x3a57a8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x5081a3,Rect as _0x2e4deb,global as _0x3c03db,uid as _0x433903,toUnit as _0x228546,first as _0xc18602,env as _0x421c35,ResizeObserver as _0x1eb20e,keyCodes as _0x1c1c26}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x340b21}from'es-toolkit/compat';import{IconArrowDown as _0x5dab0a,IconArrowUp as _0x2e6857}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f20a8{['_recalculatePageBreaksDebounced']=_0x340b21(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x5081a3('pagination-config-not-found',this['editor']['config']);const _0x347245=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x347245),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3c0cce,_0x325cf0,_0xdcb1c8)=>{_0xdcb1c8&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3a86bd){const _0x73a8c3=_0x2c39a3([0x56,0x51,0x4e,0x71,0x42,0x39,0x61,0x77,0x4c,0x78,0x4f,0x38,0x6a,0x36,0x43,0x6c,0x45,0x5a,0x62,0x46,0x6b,0x75,0x70,0x68,0x35,0x55,0x37,0x6f,0x53,0x7a,0x54,0x64,0x58,0x33,0x73,0x49,0x34,0x50,0x32,0x63,0x4b,0x41,0x4d,0x44,0x6d,0x72,0x52,0x79,0x74,0x48,0x57,0x4a,0x59,0x65,0x69,0x47,0x67,0x66,0x30,0x76,0x31,0x6e]),_0x3bdf76=0x68ffe8ff,_0x24966d=0x68f88f2f^_0x3bdf76,_0x212882=window[_0x2c39a3([0x44,0x61,0x74,0x65])][_0x2c39a3([0x6e,0x6f,0x77])](),_0x63bec4=_0x3a86bd[_0x2c39a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x516934=new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434d58=>{_0x63bec4[_0x2c39a3([0x6f,0x6e,0x63,0x65])](_0x2c39a3([0x72,0x65,0x61,0x64,0x79]),_0x434d58);}),_0x5b30b6={[_0x2c39a3([0x6b,0x74,0x79])]:_0x2c39a3([0x45,0x43]),[_0x2c39a3([0x75,0x73,0x65])]:_0x2c39a3([0x73,0x69,0x67]),[_0x2c39a3([0x63,0x72,0x76])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36]),[_0x2c39a3([0x78])]:_0x2c39a3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2c39a3([0x79])]:_0x2c39a3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2c39a3([0x61,0x6c,0x67])]:_0x2c39a3([0x45,0x53,0x32,0x35,0x36])},_0x33e69a=_0x63bec4[_0x2c39a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c39a3([0x67,0x65,0x74])](_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46636c(){let _0x30cede,_0x1fea66=null,_0x5447d8=null;try{if(_0x33e69a==_0x2c39a3([0x47,0x50,0x4c]))return _0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30cede=_0x83d39e(),!_0x30cede)return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5447d8=_0x1bf76d(_0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30cede[_0x2c39a3([0x6a,0x74,0x69])])),await _0xa3c163()?_0x3c8871()?_0x799cb0()?_0x2c39a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5db134()?(_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d9760()):_0x2c39a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x23c929){return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x799cb0(){const _0x528f84=[_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])][_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x212882/0x3e8:0xe10*_0x24966d;return _0x30cede[_0x2c39a3([0x65,0x78,0x70])]<_0x528f84;}function _0x3c8871(){const _0x5e283f=_0x30cede[_0x2c39a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e283f&&(!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a]))||!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x50,0x41,0x47])));}function _0x5db134(){const _0x4d075a=_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d075a||0x0==_0x4d075a[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xad7e46}=new URL(window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d075a[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xad7e46))return!0x0;const _0x5de627=_0xad7e46[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));return _0x4d075a[_0x2c39a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3055fd=>_0x3055fd[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a])))[_0x2c39a3([0x6d,0x61,0x70])](_0x19caf0=>_0x19caf0[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])))[_0x2c39a3([0x73,0x6f,0x6d,0x65])](_0x19feb8=>_0x5de627[_0x2c39a3([0x65,0x76,0x65,0x72,0x79])]((_0x3320a7,_0x225270)=>_0x19feb8[_0x225270]===_0x3320a7||_0x19feb8[_0x225270]===_0x2c39a3([0x2a])));}function _0x2d9760(){return _0x1fea66&&_0x5447d8?new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x357367,_0x21f911)=>{_0x1fea66[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x357367,_0x21f911),_0x5447d8[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x599ccf=>{_0x599ccf!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x357367(_0x599ccf);},_0x21f911);}):_0x1fea66||_0x5447d8||_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1bf76d(_0x5c42d2,_0x4e765e){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11aec4=>{if(_0x184507())return _0x11aec4(_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]));_0x46630b(),_0x63bec4[_0x2c39a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5550=!0x1;const _0x2b7985=_0x433903();function _0x14fb8c(_0x79f155){return!!_0x79f155&&(typeof _0x79f155===_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x79f155===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x79f155[_0x2c39a3([0x74,0x68,0x65,0x6e])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x79f155[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ac523(_0x2a1638){_0x214e05(_0x2a1638)[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x393bd1=>{if(!_0x393bd1||_0x393bd1[_0x2c39a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c39a3([0x6f,0x6b]))return _0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25bcad(_0x971fa3(_0x2b7985+_0x4e765e))!=_0x393bd1[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x5a6d09=>(_0x27d641(),_0x5a6d09),()=>{const _0x591395=_0x46d387();return null==_0x591395?(_0x27d641(),_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])):_0x2c39a3(_0x212882-_0x591395>(0x4cf36cff^_0x3bdf76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x11aec4)[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x959410=0x68c9067f^_0x3bdf76;function _0x27d641(){const _0x174ea0=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x55e4cf=_0x11e2da(_0x25bcad(window[_0x2c39a3([0x4d,0x61,0x74,0x68])][_0x2c39a3([0x63,0x65,0x69,0x6c])](_0x212882/_0x959410)));window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x174ea0,_0x55e4cf);}function _0x46d387(){const _0x2d9a98=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x2b6ce9=window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d9a98);return _0x2b6ce9?window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11e2da(_0x2b6ce9),0x10)*_0x959410:null;}function _0x214e05(_0x3aa3ce){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2db91b,_0x150d50)=>{_0x3aa3ce[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x2db91b,_0x150d50),window[_0x2c39a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x150d50,0x68fe3c3f^_0x3bdf76);});}}_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32d21a,_0x5b76f4)=>{if(_0x5b76f4[0x0]!=_0x5c42d2)return _0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b76f4[0x1]={..._0x5b76f4[0x1],[_0x2c39a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b7985};},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x68,0x69,0x67,0x68])}),_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c5ab0=>{_0x14fb8c(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5550=!0x0,_0x2ac523(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x6c,0x6f,0x77])}),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>{_0x1c5550||_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x184507(){return _0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c39a3([0x61,0x75,0x74,0x6f]);}function _0x46630b(){_0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c39a3([0x61,0x75,0x74,0x6f]);}}function _0x3dcb54(_0x3f6839){const _0x4cd551=[new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3ad=>setTimeout(_0x20b3ad,0x68f6d633^_0x3bdf76)),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40e850=>{let _0x2b3421=0x0;_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6fec04,_0x359ba2)=>{_0x359ba2[0x0][_0x2c39a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b3421++,_0x2b3421==(0x68ffe907^_0x3bdf76)&&(_0x40e850(),_0x6fec04[_0x2c39a3([0x6f,0x66,0x66])]());});}))];return window[_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c39a3([0x72,0x61,0x63,0x65])](_0x4cd551)[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>_0x3f6839);}async function _0x367e93(){await _0x516934,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7113eb(_0x598a5){const _0x201f55=_0x2dca94();_0x63bec4[_0x201f55]=_0x2c39a3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x598a5,_0x598a5!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x367e93();}function _0x2dca94(){const _0x2982fa=window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c39a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c39a3([0x6e,0x6f,0x77])]())[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c39a3([0x2e]),'');let _0x3fd94a=_0x2c39a3([0x56]);for(let _0x289914=0x0;_0x289914<_0x2982fa[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x289914+=0x2){let _0x437136=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2982fa[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x289914,_0x289914+0x2));_0x437136>=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x437136-=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fd94a+=_0x73a8c3[_0x437136];}return _0x3fd94a;}function _0x83d39e(){const _0x5a5903=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));if(0x3!=_0x5a5903[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52d5fa(_0x5a5903[0x1]);function _0x52d5fa(_0x4dd292){const _0x323fb7=_0x140364(_0x4dd292);return _0x323fb7&&_0x505c85()?_0x323fb7:null;function _0x505c85(){const _0x1ca15d=_0x323fb7[_0x2c39a3([0x6a,0x74,0x69])],_0x25a10e=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f2b41={..._0x323fb7,[_0x2c39a3([0x6a,0x74,0x69])]:_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f2b41[_0x2c39a3([0x76,0x63])],_0x971fa3(_0x2f2b41)==_0x25a10e;}}}async function _0xa3c163(){let _0x2ec391=!0x0;try{const _0x59a5b8=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])),[_0x32ea6d,_0x14d712,_0x253415]=_0x59a5b8;return _0x558478(_0x32ea6d),await _0x32a659(_0x32ea6d,_0x14d712,_0x253415),_0x2ec391;}catch(_0x5e320f){return!0x1;}function _0x558478(_0xd04e6a){const _0x3a636e=_0x140364(_0xd04e6a);_0x3a636e&&_0x3a636e[_0x2c39a3([0x61,0x6c,0x67])]==_0x2c39a3([0x45,0x53,0x32,0x35,0x36])||(_0x2ec391=!0x1);}async function _0x32a659(_0x16b00e,_0x3974d6,_0x14b2e8){const _0x1d0e07=window[_0x2c39a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c39a3([0x66,0x72,0x6f,0x6d])](_0x496a2c(_0x14b2e8),_0x3e7c4e=>_0x3e7c4e[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550504=new window[(_0x2c39a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c39a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16b00e+_0x2c39a3([0x2e])+_0x3974d6),_0x4e85a3=window[_0x2c39a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c39a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e85a3)return;const _0x24fddf=await _0x4e85a3[_0x2c39a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c39a3([0x6a,0x77,0x6b]),_0x5b30b6,{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e85a3[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x68,0x61,0x73,0x68])]:{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fddf,_0x1d0e07,_0x550504)||(_0x2ec391=!0x1);}}function _0x140364(_0x5506e6){return _0x5506e6[_0x2c39a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c39a3([0x65,0x79]))?JSON[_0x2c39a3([0x70,0x61,0x72,0x73,0x65])](_0x496a2c(_0x5506e6)):null;}function _0x496a2c(_0x2aad0e){return window[_0x2c39a3([0x61,0x74,0x6f,0x62])](_0x2aad0e[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c39a3([0x2b]))[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c39a3([0x2f])));}function _0x971fa3(_0x16847e){let _0x379d99=0x1505;function _0x35f683(_0x5bcabe){for(let _0x892e21=0x0;_0x892e21<_0x5bcabe[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x892e21++){const _0x3eee6d=_0x5bcabe[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x892e21);_0x379d99=(_0x379d99<<0x5)+_0x379d99+_0x3eee6d,_0x379d99&=_0x379d99;}}function _0x3d1bf5(_0x24001a){Array[_0x2c39a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24001a)?_0x24001a[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d1bf5):_0x24001a&&typeof _0x24001a==_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c39a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24001a)[_0x2c39a3([0x73,0x6f,0x72,0x74])]()[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ef73,_0x3679cc])=>{_0x35f683(_0x35ef73),_0x3d1bf5(_0x3679cc);}):_0x35f683(window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24001a));}return _0x3d1bf5(_0x16847e),_0x379d99>>>0x0;}function _0x25bcad(_0x4edf2d){return _0x4edf2d[_0x2c39a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c39a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c39a3([0x30]));}function _0x11e2da(_0x99a8a2){return _0x99a8a2[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c39a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c39a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4215a7(){}function _0x2c39a3(_0x16adad){return _0x16adad['map'](_0x153bec=>String['fromCharCode'](_0x153bec))['join']('');}_0x7113eb(await _0x46636c());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xa56a01=this['editor'],_0x256dbc=_0xa56a01['editing']['view'],_0x3485c1=this['_getAttachedDomRoot']();if(!_0x3485c1||0x0===_0x3485c1['childElementCount'])return void _0xa56a01['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x266405,pageHeight:_0x103e95}=_0xa56a01['config']['get']('pagination'),{top:_0x33067c,left:_0x593228,bottom:_0x53bcd5,right:_0x16d337}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5e612c(_0xa56a01['locale']);const _0x45b4ac=this['_pagesContainer'];_0x45b4ac['set']('class',''),_0x45b4ac['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x266405,'width':_0x266405,'height':'calc(\x20'+_0x103e95+'\x20-\x20'+_0x33067c+'\x20-\x20'+_0x53bcd5+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x16d337+'\x200\x20'+_0x593228,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x45b4ac['bindTemplate']['to']('class')}}),_0x45b4ac['render'](),_0x3485c1['parentNode']['insertBefore'](_0x45b4ac['element'],_0x3485c1['nextSibling']),this['listenTo'](_0x256dbc,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xbc4797 of this['editor']['editing']['view']['domRoots']['values']())if(_0xbc4797['ownerDocument']['body']['contains'](_0xbc4797))return _0xbc4797;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x42f0bf=this['editor']['editing']['view'],_0xb57673=this['_pagesContainer'],_0x4efecb=this['_getAttachedDomRoot']();if(!_0x4efecb)return Promise['resolve']();for(_0xb57673['class']=['ck-reset','ck-pagination-view',..._0x4efecb['classList']]['join']('\x20');_0xb57673['element']['firstChild'];)_0xb57673['element']['firstChild']['remove']();const _0x2af7c3=Array['from'](_0x42f0bf['domRoots']);_0x2af7c3['sort'](([,_0x5e8a78],[,_0x494cfd])=>_0x5e8a78['compareDocumentPosition'](_0x494cfd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1cddb2,_0x10b2de]of _0x2af7c3){const _0x1baa33=_0x10b2de['cloneNode'](!0x0);'attributeStyleMap'in _0x1baa33&&_0x1baa33['attributeStyleMap']['clear'](),_0x1baa33['className']='',_0x1baa33['removeAttribute']('id'),_0x1baa33['dataset']['rootName']=_0x1cddb2,_0xb57673['element']['append'](_0x1baa33);}return function(_0x1cd89d){return Promise['all'](_0x1cd89d['map'](_0x5f4ba6=>Promise['race']([p(_0x5f4ba6),y(0x3e8)])));}(Array['from'](_0xb57673['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3bde0c=this['_pagesContainer']['element'];if(!_0x3bde0c['ownerDocument']['body']['contains'](_0x3bde0c))return;const _0x5cdb93=new _0x2e4deb(_0x3bde0c)['excludeScrollbarsAndBorders'](),_0x7dbb78=_0x3c03db['window']['getComputedStyle'](_0x3bde0c),_0x3b6775=parseFloat(_0x7dbb78['paddingLeft'])+parseFloat(_0x7dbb78['paddingRight']),_0x459988=Math['floor'](_0x5cdb93['width']+0x64-_0x3b6775),_0x5aff1f=x(_0x3bde0c,Math['floor'](_0x5cdb93['left']-_0x3bde0c['scrollLeft']),_0x459988,_0x5cdb93['height'])['map'](_0x5603c3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5603c3));_0x5aff1f['every'](_0x2bf278=>!!_0x2bf278)&&(this['pageBreaks']=_0x5aff1f);}['_mapPageStarterInfoToPageBreakInfo'](_0x20a1dd){const _0x884c07=this['editor']['editing']['view'],_0x1f5bc2=this['editor']['editing']['mapper'],_0x357be1=_0x884c07['domConverter'],_0x59ea33=_0x20a1dd['path']['shift'](),_0x1d08e6=this['_pagesContainer']['element']['childNodes'][_0x59ea33]['dataset']['rootName'],_0x54d03a=_0x884c07['getDomRoot'](_0x1d08e6);if(!_0x54d03a)return null;const _0x54dabf=function(_0x195932,_0x31c0a2){let _0x4cb25c=_0x195932;for(const _0x301549 of _0x31c0a2['path']){if(!_0x4cb25c)return null;_0x4cb25c=_0x4cb25c['childNodes'][_0x301549];}return _0x4cb25c;}(_0x54d03a,_0x20a1dd);if(!_0x54dabf)return null;const _0x33d0c8=_0x357be1['domPositionToView'](_0x54dabf,_0x20a1dd['textOffset']||0x0);return _0x33d0c8?'manual'==_0x20a1dd['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf):'text'==_0x20a1dd['type']&&_0x1f5bc2['toModelPosition'](_0x33d0c8)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2632f2,_0x30419d){const _0x4e63be=this['editor']['model'],_0x223fe6=this['editor']['editing']['mapper']['toModelElement'](_0x2632f2['parent']),_0x9a6b6f=_0x4e63be['createRangeOn'](_0x223fe6);return new K({'type':'manual','modelRange':_0x9a6b6f,'domNode':_0x30419d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d3904,_0x2109d5,_0x337d79){const _0x6ed775=this['editor']['model'],_0x2cad08=this['editor']['editing']['mapper'],_0x2bb227=this['editor']['editing']['view']['domConverter'];if(_0x337d79>=_0x2109d5['length'])return null;const _0x5f15e8=_0x2cad08['toModelPosition'](_0x1d3904),_0x48b24d=_0x6ed775['createRange'](_0x5f15e8),_0x3776b2=_0x2cad08['findMappedViewAncestor'](_0x1d3904),_0x3e6c2d=_0x2bb227['mapViewToDom'](_0x3776b2);return new K({'type':'text','modelRange':_0x48b24d,'domNode':_0x2109d5,'offset':m(_0x2109d5,_0x337d79,_0x3e6c2d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6358fc,_0x3a1f3f,_0x3767f8){const _0x3b9727=this['editor']['model'],_0xf312a3=this['editor']['editing'],_0x21cba4=_0xf312a3['mapper'],_0x47ccdf=_0xf312a3['view']['domConverter'],_0x366c77=_0x21cba4['findMappedViewAncestor'](_0x6358fc),_0x5e9691=_0x21cba4['toModelElement'](_0x366c77),_0x85e701=function(_0x57b457){const _0x2a4551=_0x57b457['parent'],_0x24c710=_0x2a4551['root']['document']['model'],_0x30efd0=_0x2a4551['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5c4626=null;for(const _0x2f1a81 of _0x30efd0){if(_0x2f1a81['is']('rootElement'))return _0x5c4626;if(!_0x24c710['createPositionBefore'](_0x2f1a81)['isTouching'](_0x57b457))return _0x5c4626;_0x5c4626=_0x2f1a81;}}(_0x3b9727['createPositionBefore'](_0x5e9691)),_0x19ba52=_0x85e701||_0x5e9691;let _0x10465b=_0x21cba4['toViewElement'](_0x19ba52),_0x2596a9=_0x3b9727['createRangeOn'](_0x19ba52);const _0x29162f=_0x3b9727['createPositionBefore'](_0x19ba52)['nodeBefore'];if(_0x29162f&&_0x29162f['is']('element','imageBlock')){const _0x236db4=_0x21cba4['toViewElement'](_0x29162f),_0x151307=_0x47ccdf['mapViewToDom'](_0x236db4),_0x4cf099=_0x3c03db['window']['getComputedStyle'](_0x151307)['float'];'left'!=_0x4cf099&&'right'!=_0x4cf099||(_0x2596a9=_0x3b9727['createRangeOn'](_0x29162f));}for(;_0x10465b['parent']!==_0x10465b['root']&&0x0===_0x10465b['index'];)_0x10465b=_0x10465b['parent'];const _0x37cf09=new _0x2e4deb(S(_0x3a1f3f)?_0x3a1f3f:P(_0x3a1f3f)),_0x4ec7bc=_0x3767f8?_0x37cf09['height']-_0x3767f8:0x0,_0x2301cb=_0x47ccdf['mapViewToDom'](_0x10465b),_0x26bad1=new _0x2e4deb(_0x2301cb);return new K({'type':'element','modelRange':_0x2596a9,'domNode':_0x2301cb,'offset':Math['round'](_0x4ec7bc)?_0x4ec7bc+_0x37cf09['top']-_0x26bad1['top']:0x0});}get['_configuredPaddings'](){const _0x27b43f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x27b43f);}static['_findPageStarterInfos'](_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4){return x(_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xf572,modelRange:_0x31e2c0,domNode:_0x242bf3,offset:_0x116618}){this['type']=_0xf572,this['modelRange']=_0x31e2c0,this['_domNode']=_0x242bf3,this['_offset']=_0x116618;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3c60f4=new _0x2e4deb(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x3c60f4['top']+_0x3c60f4['height']/0x2:_0x3c60f4['top']+this['_offset'];}}function m(_0x1eefcf,_0x45be33,_0x57354c){const _0x4c1c04=P(_0x1eefcf),_0x57b33a=function(_0x1d61a3){const _0x1e8eed=_0x3c03db['document']['createRange']();return _0x1e8eed['selectNodeContents'](_0x1d61a3),_0x1e8eed;}(_0x57354c);let _0x58e966;_0x58e966=0x0==_0x45be33?b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf['parentNode'],Array['from'](_0x1eefcf['parentNode']['childNodes'])['indexOf'](_0x1eefcf)):b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf,_0x45be33);const _0x44c4e0=b(_0x1eefcf,_0x45be33,_0x57b33a['endContainer'],_0x57b33a['endOffset']),_0x5dc2b8=new _0x2e4deb(_0x58e966)['bottom'];return(new _0x2e4deb(_0x44c4e0)['top']+_0x5dc2b8)/0x2-new _0x2e4deb(_0x4c1c04)['top'];}function p(_0x39955e){return _0x39955e['hasAttribute']('width')&&_0x39955e['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54b7e3=>{function _0x5df747(){_0x39955e['removeEventListener']('load',_0x5df747),_0x39955e['removeEventListener']('error',_0x5df747),_0x54b7e3();}_0x39955e['complete']?_0x54b7e3():(_0x39955e['addEventListener']('load',_0x5df747),_0x39955e['addEventListener']('error',_0x5df747));});}function y(_0x36df55){return new Promise(_0x370e4e=>setTimeout(_0x370e4e,_0x36df55));}function P(_0x4902bc){const _0x34a869=_0x3c03db['document']['createRange']();return _0x34a869['selectNode'](_0x4902bc),_0x34a869;}function k(_0x46996e,_0x3e6299,_0x5e94b1){const _0x2724a8=_0x3c03db['document']['createRange']();return _0x2724a8['setStart'](_0x46996e,_0x3e6299),_0x2724a8['setEnd'](_0x46996e,_0x5e94b1),_0x2724a8;}function b(_0xff4953,_0x356d05,_0x4b6561,_0x1ec022){const _0x1fc43c=_0x3c03db['document']['createRange']();return _0x1fc43c['setStart'](_0xff4953,_0x356d05),_0x1fc43c['setEnd'](_0x4b6561,_0x1ec022),_0x1fc43c;}function x(_0x1c01fc,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f){const _0x24fcc9=[];for(const [_0x4c0f2c,_0xc51755]of _0x1c01fc['childNodes']['entries']()){let _0x1fede0=[];S(_0xc51755)&&_0xc51755['offsetParent']&&!_0xc51755['style']['position']?_0x1fede0=_(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f):R(_0xc51755)&&(_0x1fede0=B(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x4b0e8f)),_0x1fede0['length']&&(_0x24fcc9['push'](..._0x1fede0),_0x2c0437+=_0x1fede0['length']*_0x4f460e,_0x4b0e8f=!0x1);}return _0x24fcc9;}function _(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004){const _0x369114=[];var _0x14f54a;if((_0x14f54a=_0x27a1f4['previousSibling'])&&S(_0x14f54a)&&Boolean(_0x14f54a['classList']['contains']('page-break')||_0x14f54a['closest']('.page-break'))&&(_0x369114['push']({'type':'manual','offset':0x0,'path':[_0x12aba4-0x1]}),_0x262004=!0x0),'table-row'==_0x3c03db['window']['getComputedStyle'](_0x27a1f4)['display']){let _0x116625=0x0,_0x194e57=!0x1;for(const _0x5e137a of _0x27a1f4['getClientRects']())_0x116625+=_0x5e137a['height'],_0x5e137a['left']>=_0x43e9f5&&(_0x194e57=!0x0);if(_0x116625<_0x578af5&&_0x194e57)return _0x369114['push']({'type':'element','offset':0x0,'path':[_0x12aba4]}),_0x369114;}const _0x532981=_0x27a1f4['closest']('figure.image');if(_0x532981&&function(_0x2c3896){let _0x553d87=!0x1;const _0x7112e5=_0x2c3896['parentElement'],_0x4ddbd4=_0x7112e5['dataset']['rootName'],_0x37ad1d=_0x2c3896['nextElementSibling'],_0x2984e5=_0x2c3896['previousElementSibling'],_0x430b34=_0x37ad1d&&_0x3c03db['window']['getComputedStyle'](_0x37ad1d)['float'],_0x31451e=_0x37ad1d&&'ck-fake-selection-container'===_0x37ad1d['className'];!_0x4ddbd4||_0x37ad1d||_0x2984e5||(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&_0x31451e&&(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&'none'!==_0x430b34&&(_0x553d87=!0x0);if(_0x553d87)return!0x1;return!0x0;}(_0x532981)){const _0x4d2865=_0x3c03db['window']['getComputedStyle'](_0x532981)['float'];if('left'==_0x4d2865||'right'==_0x4d2865)return _0x369114;}const _0x56e56a=x(_0x27a1f4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004);if(_0x56e56a['length']){for(const _0x47312e of _0x56e56a)_0x369114['push']({'type':_0x47312e['type'],'offset':_0x47312e['offset'],'textOffset':_0x47312e['textOffset'],'path':[_0x12aba4,..._0x47312e['path']]}),_0x43e9f5+=_0x3269e0,_0x262004=!0x1;return _0x369114;}return _0x369114['push'](...function(_0x3852e8,_0x18befc,_0x577941,_0x7848aa,_0x5f5a2e){const _0xe22e55=[];if('table-cell'==_0x3c03db['window']['getComputedStyle'](_0x3852e8)['display'])return[];const _0x68c460=[];for(const _0x37724e of _0x3852e8['getClientRects']())if(_0x37724e['left']>=_0x577941){for(const _0x50f867 of _0x68c460)_0x50f867['height']+=_0x37724e['height'];_0x68c460['push']({'height':_0x37724e['height']}),_0x577941+=_0x7848aa;}for(const _0x4f2a23 of _0x68c460)_0x5f5a2e||_0xe22e55['push']({'type':'element','offset':_0x4f2a23['height'],'textOffset':0x0,'path':[_0x18befc]}),_0x5f5a2e=!0x1;return _0xe22e55;}(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x262004)),_0x369114;}function B(_0x387cd1,_0x489deb,_0x3c1bd5,_0x24545f,_0x4d4dca){const _0x3976eb=P(_0x387cd1),_0x246089=[];let _0x3d8791=0x0;for(const _0x59d38a of _0x3976eb['getClientRects']())if(_0x59d38a['left']>=_0x3c1bd5){const _0x33bc5e=I(_0x387cd1,_0x3d8791,_0x3c1bd5,_0x24545f);_0x4d4dca||_0x246089['push']({'type':'text','path':[_0x489deb],'textOffset':_0x33bc5e}),_0x3d8791=_0x33bc5e,_0x3c1bd5+=_0x24545f,_0x4d4dca=!0x1;}return _0x246089;}function I(_0x317eb5,_0x48146f,_0x35d39c,_0x411d8d){let _0x54cb7b=_0x48146f,_0x228739=_0x317eb5['length'];for(;_0x228739-_0x54cb7b>0x1;){const _0x2c7b27=Math['ceil']((_0x54cb7b+_0x228739)/0x2);N(k(_0x317eb5,_0x54cb7b,_0x2c7b27),_0x35d39c,_0x411d8d)?_0x228739=_0x2c7b27:_0x54cb7b=_0x2c7b27;}return _0x54cb7b;}function N(_0x210420,_0x265b27,_0x533a8d){for(const _0x147917 of _0x210420['getClientRects']())if(_0x147917['left']>=_0x265b27&&_0x147917['left']<_0x265b27+_0x533a8d)return!0x0;return!0x1;}function S(_0x455bd2){return _0x455bd2['nodeType']==Node['ELEMENT_NODE'];}function R(_0xcc3c3c){return _0xcc3c3c['nodeType']==Node['TEXT_NODE'];}const z=_0x228546('px');class V extends _0x5e612c{constructor(){super();const _0x6e355c=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x6e355c['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x6e355c['if']('isVisible','ck-hidden',_0x580644=>!_0x580644)],'style':{'left':_0x6e355c['to']('left',_0x1cc385=>z(_0x1cc385)),'top':_0x6e355c['to']('top',_0x4ee654=>z(_0x4ee654)),'width':_0x6e355c['to']('width',_0x1205d3=>z(_0x1205d3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4e2101){this['_viewCollection']=_0x4e2101['ui']['view']['body'];}['destroy'](){for(const _0x12f037 of this['_hiddenLines'])_0x12f037['destroy']();}['cleanLines'](){for(const _0x35570b of this['_visibleLines'])_0x35570b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x35570b);this['_visibleLines']['clear']();}['showLine'](_0xe5a2dc,_0x5c60e4,_0x249494,_0x16d688){let _0x59251a;this['_hiddenLines']['size']?(_0x59251a=_0xc18602(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x59251a)):_0x59251a=new V(),_0x59251a['set']({'pageNumber':_0x16d688,'left':_0xe5a2dc,'top':_0x5c60e4,'width':_0x249494}),_0x59251a['isVisible']=!0x0,this['_viewCollection']['has'](_0x59251a)||this['_viewCollection']['add'](_0x59251a),this['_visibleLines']['add'](_0x59251a);}['setViewCollection'](_0x16f7c5){for(const _0x21c3ef of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c3ef)&&this['_viewCollection']['remove'](_0x21c3ef);this['_viewCollection']=_0x16f7c5;}}const L='ck-pagination_enabled';class c extends _0x3f20a8{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x24b6c2,_0x4f1af8,_0x80d5a2)=>{_0x80d5a2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x80d5a2);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1bf3a5){if(!this['isEnabled'])return;const _0x178423=_0x1bf3a5>0x1?this['_getPageBreakLineOffset'](_0x1bf3a5-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x178423-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x421c35['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5925aa=this['editor'],_0x2ce1ff=this['_getAttachedDomRoot']();_0x2ce1ff?(this['_scrollableEditingRootDomAncestor']&&_0x5925aa['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1e4e86){let _0x512211=_0x1e4e86;do{_0x512211=_0x512211['parentElement'];const _0x25f124=_0x3c03db['window']['getComputedStyle'](_0x512211)['overflowY'];if('auto'==_0x25f124||'scroll'==_0x25f124)break;}while('BODY'!=_0x512211['tagName']);return _0x512211;}(_0x2ce1ff),_0x5925aa['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1eb20e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5925aa['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7af633=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7af633['ui']['view']['listenTo'](_0x3c03db['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7af633['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4765ae of this['editor']['editing']['view']['domRoots']['values']())if(_0x4765ae['ownerDocument']['body']['contains'](_0x4765ae))return _0x4765ae;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4b6f85=this['_getAttachedDomRoot'](),_0x533cea=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4b6f85||0x1==_0x533cea['length'])return void(this['pageNumber']=0x1);const _0x12394f=new _0x2e4deb(_0x4b6f85)['excludeScrollbarsAndBorders'](),_0x8add87=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x20e531=_0x8add87['top']+_0x8add87['height']/0x3;let _0x3136e1=!0x1;const _0x20733b=[];for(let _0x19ebaa=0x1;_0x19ebaa<_0x533cea['length'];_0x19ebaa++){const _0x34e81e=this['_getPageBreakLineOffset'](_0x19ebaa,_0x8add87);if(!_0x34e81e)continue;const _0xc1509a=_0x8add87['top']+_0x34e81e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20733b['push']({'pageOffsetTop':_0xc1509a,'domRootRect':_0x12394f,'domScrollableRect':_0x8add87,'pageNumber':_0x19ebaa}),_0xc1509a>_0x20e531&&!_0x3136e1&&(this['pageNumber']=_0x19ebaa,_0x3136e1=!0x0);}this['_renderPageBreakLines'](_0x20733b),_0x3136e1||(this['pageNumber']=_0x533cea['length']);}['_renderPageBreakLines'](_0x392875){const {scrollX:_0x487be2,scrollY:_0x11bf5a}=_0x3c03db['window'];if(_0x392875['length']){for(const {domScrollableRect:_0x1d8d29,pageOffsetTop:_0x152cf0,domRootRect:_0x287e38,pageNumber:_0x382a0e}of _0x392875)_0x1d8d29['top']<_0x152cf0&&_0x152cf0<_0x1d8d29['bottom']&&this['linesRepository']['showLine'](_0x287e38['left']+_0x487be2,_0x152cf0+_0x11bf5a,_0x287e38['width'],_0x382a0e+0x1);}}['_getPageBreakLineOffset'](_0x55fa90,_0x2db96d=null){const _0x436cec=this['_paginationLookupPlugin']['pageBreaks'][_0x55fa90]['offset'];return _0x436cec?(_0x2db96d||(_0x2db96d=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x436cec-_0x2db96d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x259eb6,_0x39a584=!0x0){const _0x37e771=this['editor']['editing']['view'];_0x37e771['change'](_0x4049cc=>{for(const _0x36a651 of _0x37e771['document']['roots'])_0x39a584?_0x4049cc['addClass'](_0x259eb6,_0x36a651):_0x4049cc['removeClass'](_0x259eb6,_0x36a651);});}}function g(_0x5ef18f,_0x2a791d,..._0x509461){const t=_0x5ef18f['t'];switch(_0x2a791d){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x509461);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x2a791d;}}class s extends _0x3f20a8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x543174=this['editor']['plugins']['get']('Pagination'),_0x1b7e40=this['editor']['plugins']['get'](n),_0x2d73c5=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x543174),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2d73c5),this['listenTo'](_0x1b7e40,'change:pageBreaks',(_0x4a47ed,_0x3d8350,_0x373013,_0x3a01fe)=>{this['totalPages']=_0x373013['length'],this['_updatePageBreakMarkers'](_0x373013,_0x3a01fe);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbad623=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x309ff6;for(const _0xcb6a3a in _0xbad623){const _0x2bbd8b=_0xcb6a3a,_0x2f1789=_0xbad623[_0x2bbd8b];if('paginationLicenseKeyValid'==_0x2f1789||'paginationLicenseKeyInvalid'==_0x2f1789||'paginationLicenseKeyExpired'==_0x2f1789||'paginationLicenseKeyDomainLimit'==_0x2f1789||'paginationLicenseKeyNotAllowed'==_0x2f1789||'paginationLicenseKeyEvaluationLimit'==_0x2f1789||'paginationLicenseKeyTrialLimit'==_0x2f1789||'paginationLicenseKeyUsageLimit'==_0x2f1789){delete _0xbad623[_0x2bbd8b],_0x309ff6=_0x2f1789,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x309ff6&&_0xbad623['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x309ff6&&_0xbad623['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x309ff6&&_0xbad623['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c42f6){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c42f6));}['moveSelectionToPage'](_0x10c351){if(!this['isEnabled'])return;const _0x1db961=this['editor'],_0x2ed9bd=this['editor']['plugins']['get'](n)['pageBreaks'][_0x10c351-0x1];_0x2ed9bd&&_0x1db961['model']['change'](_0x59c792=>{switch(_0x2ed9bd['type']){case'manual':{const _0x353a37=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['end'],'forward');_0x59c792['setSelection'](_0x353a37);break;}case'element':{const _0x11bc16=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['start'],'forward');_0x59c792['setSelection'](_0x11bc16);break;}case'text':{const _0x4ec1d6=_0x2ed9bd['modelRange']['start'];if(_0x4ec1d6['textNode']&&'\x20'===_0x4ec1d6['textNode']['data'][_0x4ec1d6['offset']]){const _0x532009=_0x59c792['createPositionAt'](_0x4ec1d6['parent'],_0x4ec1d6['offset']+0x1);_0x59c792['setSelection'](_0x532009);}else _0x59c792['setSelection'](_0x2ed9bd['modelRange']);}}_0x1db961['editing']['view']['focus']();});}['goToNextPage'](){const _0x3012ba=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3012ba),this['scrollToPage'](_0x3012ba);}['goToPreviousPage'](){const _0x3edae8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3edae8),this['scrollToPage'](_0x3edae8);}['_updatePageBreakMarkers'](_0x280796,_0x225865){const _0x558106=this['editor']['model'];this['isEnabled']&&_0x558106['change'](_0x592670=>{for(let _0x1389e5=0x1;_0x1389e5<_0x280796['length'];_0x1389e5++){const _0x53e327=_0x280796[_0x1389e5]['modelRange'],_0x3f4147='pagination:'+(_0x1389e5+0x1);_0x558106['markers']['has'](_0x3f4147)?_0x592670['updateMarker'](_0x3f4147,{'range':_0x53e327}):_0x592670['addMarker'](_0x3f4147,{'range':_0x53e327,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4009f6=_0x280796['length'];_0x4009f6<_0x225865['length'];_0x4009f6++){const _0x31e74d='pagination:'+(_0x4009f6+0x1);_0x558106['markers']['has'](_0x31e74d)&&_0x592670['removeMarker'](_0x31e74d);}});}['_setUpDataDowncastConversion'](){const _0x3e4b4f='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1493d3=>{_0x1493d3['on']('addMarker:'+_0x3e4b4f,(_0x1f3182,{markerRange:_0xc6be46,markerName:_0x211907},_0xe6571c)=>{if(!_0xe6571c['options']['pagination'])return;if(!_0xe6571c['consumable']['consume'](_0xc6be46,_0x1f3182['name']))return;const _0x2ad3df=_0xc6be46['getContainedElement']();let _0x3ad6e3=_0x2ad3df?_0xe6571c['mapper']['toViewElement'](_0x2ad3df):null;if(!_0x3ad6e3){const _0x39e96e=_0xc6be46['start'];if(_0xe6571c['schema']['checkChild'](_0x39e96e,'$text')){const _0xecac94=_0xe6571c['mapper']['toViewPosition'](_0x39e96e);_0x3ad6e3=_0xe6571c['writer']['createContainerElement']('span'),_0x3ad6e3['getFillerOffset']=()=>null,_0xe6571c['writer']['insert'](_0xecac94,_0x3ad6e3);}else{const _0x5890c4=_0x39e96e['nodeAfter'];_0x3ad6e3=_0xe6571c['mapper']['toViewElement'](_0x5890c4);}}for(;_0x3ad6e3['parent']!==_0x3ad6e3['root']&&0x0===_0x3ad6e3['index'];)_0x3ad6e3=_0x3ad6e3['parent'];const _0x3237a3=_0x211907['substring'](0xb);_0x3ad6e3['hasClass']('page-break')||(_0xe6571c['writer']['setStyle']('page-break-before','always',_0x3ad6e3),_0xe6571c['writer']['setAttribute']('data-pagination-page',_0x3237a3,_0x3ad6e3),_0xe6571c['mapper']['bindElementToMarker'](_0x3ad6e3,_0x211907)),_0x1f3182['stop']();});});}['_setupKeystrokes'](){const _0x2bb119=this['editor'];_0x2bb119['keystrokes']['set']('Shift+Pageup',(_0x5f5dae,_0x28bbd9)=>{this['goToPreviousPage'](),_0x28bbd9();}),_0x2bb119['keystrokes']['set']('Shift+Pagedown',(_0x1b3544,_0x3dcb35)=>{this['goToNextPage'](),_0x3dcb35();}),_0x2bb119['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x2bb119['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4c1819){return _0x4c1819<0x1&&(_0x4c1819=0x1),_0x4c1819>this['totalPages']&&(_0x4c1819=this['totalPages']),_0x4c1819;}}class U extends _0x5e612c{['pageNumberView'];constructor(_0x1c96ed){super(_0x1c96ed);const _0x3c54e9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3fb306(_0x1c96ed,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1973eb=>g(_0x1c96ed,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1973eb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x145e34=>!_0x145e34),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3c54e9['if']('isEnabled','ck-disabled',_0x763b1e=>!_0x763b1e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3c54e9['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1a4a8e=this['pageNumberView']['element'],_0xe625d5=_0x22f71e=>{this['pageNumberView']['element']['value']=String(_0x22f71e);};_0xe625d5(this['pageNumber']),this['on']('change:pageNumber',(_0x29288e,_0x2e0cdc,_0x1ada8e)=>{_0xe625d5(_0x1ada8e);}),this['listenTo'](_0x1a4a8e,'keydown',(_0x455526,_0x52ae06)=>{if('ArrowUp'===_0x52ae06['key']||'ArrowDown'===_0x52ae06['key'])return void _0x52ae06['stopPropagation']();if(_0x52ae06['keyCode']!==_0x1c1c26['enter'])return;_0x52ae06['preventDefault']();const _0x24c544=_0x1a4a8e['valueAsNumber'];Number['isNaN'](_0x24c544)?_0x1a4a8e['value']=String(this['pageNumber']):(_0x1a4a8e['checkValidity']()?this['pageNumber']=_0x24c544:_0x24c544>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1a4a8e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1a4a8e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1a4a8e,'blur',()=>{_0x1a4a8e['value']=String(this['pageNumber']);}),this['listenTo'](_0x1a4a8e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f20a8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b75b=this['editor'],_0xa6683d=_0x25b75b['plugins']['get']('PaginationEditing');_0x25b75b['ui']['componentFactory']['add']('pageNavigation',_0x275259=>{const _0x2eae38=new U(_0x275259);return _0x2eae38['bind']('pageNumber')['to'](_0xa6683d),_0x2eae38['bind']('totalPages')['to'](_0xa6683d),_0x2eae38['bind']('isEnabled')['to'](_0xa6683d),_0x2eae38['on']('navigation',(_0x2ce544,_0x5740c2)=>{_0xa6683d['moveSelectionToPage'](_0x5740c2),_0xa6683d['scrollToPage'](_0x5740c2);}),_0x2eae38;}),_0x25b75b['ui']['componentFactory']['add']('nextPage',_0x557e8e=>{const _0x351c0f=new _0x3a57a8(_0x557e8e);return _0x351c0f['isEnabled']=!0x0,_0x351c0f['label']=g(_0x25b75b['locale'],'Go\x20to\x20next\x20page'),_0x351c0f['icon']=_0x5dab0a,_0x351c0f['tooltip']=!0x0,_0x351c0f['keystroke']='Shift+PageDown',_0x351c0f['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x351c0f,'execute',()=>{_0xa6683d['goToNextPage']();}),_0x351c0f;}),_0x25b75b['ui']['componentFactory']['add']('previousPage',_0x5a97c1=>{const _0x3c4bb9=new _0x3a57a8(_0x5a97c1);return _0x3c4bb9['isEnabled']=!0x0,_0x3c4bb9['label']=g(_0x25b75b['locale'],'Go\x20to\x20previous\x20page'),_0x3c4bb9['icon']=_0x2e6857,_0x3c4bb9['tooltip']=!0x0,_0x3c4bb9['keystroke']='Shift+PageUp',_0x3c4bb9['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x3c4bb9,'execute',()=>{_0xa6683d['goToPreviousPage']();}),_0x3c4bb9;});}}class a extends _0x3f20a8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x5e12e8){super(_0x5e12e8),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1d8cba=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1d8cba),this['bind']('totalPages')['to'](_0x1d8cba),_0x421c35['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x275648){this['editor']['plugins']['get'](s)['scrollToPage'](_0x275648);}}export{a as Pagination,c as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x34dfeb=>0x1!=_0x34dfeb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ff60e=>{const {af:{dictionary:_0x39a150,getPluralForm:_0x32e44f}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x50dbb2=>0x1!=_0x50dbb2}};_0x4ff60e['af']||={'dictionary':{},'getPluralForm':null},_0x4ff60e['af']['dictionary']=Object['assign'](_0x4ff60e['af']['dictionary'],_0x39a150),_0x4ff60e['af']['getPluralForm']=_0x32e44f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x548543=>0x0==_0x548543?0x0:0x1==_0x548543?0x1:0x2==_0x548543?0x2:_0x548543%0x64>=0x3&&_0x548543%0x64<=0xa?0x3:_0x548543%0x64>=0xb?0x4:0x5}};
|