@ckeditor/ckeditor5-pagination 45.0.0-alpha.1 → 45.0.0-alpha.3
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:()=>Z});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=d;!function(t){const e=d,n=t();for(;;)try{if(941785===parseInt(e(499))/1*(-parseInt(e(627))/2)+parseInt(e(595))/3+parseInt(e(623))/4+-parseInt(e(494))/5+parseInt(e(513))/6*(-parseInt(e(644))/7)+parseInt(e(521))/8+-parseInt(e(571))/9*(parseInt(e(641))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class a extends t.Plugin{[r(646)]=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(575)]()),200);[r(459)]=null;static get[r(517)](){return r(615)}static get[r(581)](){return!0}static get[r(467)](){return!0}[r(573)](){const t=r;if(this[t(508)]({pageBreaks:[]}),!this[t(622)][t(624)][t(557)](t(610)))return void(0,o.logWarning)(t(502),this[t(622)][t(624)]);const e=this[t(622)][t(487)][t(557)](t(552));this[t(538)](t(512)).to(e),this[t(622)].ui[t(481)](t(612),(()=>this[t(636)]())),this.on(t(598),((e,n,i)=>{i&&this[t(646)]()}))}[r(586)](){!async function(t){const e=m([83,84,104,76,65,48,86,82,69,111,67,74,118,66,70,99,122,112,98,107,57,77,49,78,103,79,121,116,115,108,117,100,109,113,68,101,88,119,71,51,75,85,72,53,105,102,110,50,106,120,90,55,114,97,81,89,54,56,80,73,52,87]),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 h(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=d;return t[e(472)]((t=>String[e(625)](t)))[e(535)]("")}!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([83]);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 d(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=h(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])](h(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=>{d(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:1743033600;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=d,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(457)]);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(566)](){const t=r;super[t(566)](),this[t(459)]&&(this[t(646)][t(617)](),this[t(459)][t(566)](),this[t(459)][t(466)][t(584)]())}[r(636)](){const t=r,n=this[t(622)],i=n[t(577)][t(529)],o=this[t(496)]();if(!o||0===o[t(568)])return void n.ui[t(481)](t(515),(()=>this[t(636)]()));const{pageWidth:s,pageHeight:a}=n[t(624)][t(557)](t(610)),{top:c,left:u,bottom:l,right:p}=this[t(490)];this[t(459)]=new e.View(n[t(608)]);const f=this[t(459)];f[t(508)](t(629),""),f[t(620)]({tag:t(574),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(536)+a+t(463)+c+t(463)+l+" )",minWidth:t(637),minHeight:t(637),padding:"0 "+p+t(640)+u,columnGap:t(488),border:0,boxSizing:t(603),columnCount:t(637),columnFill:t(637),overflow:t(599),position:t(505),top:t(462),left:t(462)},tabindex:"-1",class:f[t(475)].to(t(629))}}),f[t(570)](),o[t(601)][t(501)](f[t(466)],o[t(559)]),this[t(606)](i,t(570),(()=>this[t(646)]()),{priority:t(563)}),this[t(646)]()}[r(496)](){const t=r;for(const e of this[t(622)][t(577)][t(529)][t(638)][t(592)]())if(e[t(479)][t(474)][t(471)](e))return e;return null}[r(575)](){const t=r;if(!this[t(512)])return Promise[t(483)]();const e=this[t(622)][t(577)][t(529)],n=this[t(459)],i=this[t(496)]();if(!i)return Promise[t(483)]();for(n[t(629)]=[t(500),t(587),...i[t(530)]][t(535)](" ");n[t(466)][t(551)];)n[t(466)][t(551)][t(584)]();const o=Array[t(580)](e[t(638)]);o[t(543)]((([,e],[,n])=>e[t(600)](n)==Node[t(540)]?1:-1));for(const[e,i]of o){const o=i[t(465)](!0);t(464)in o&&o[t(464)][t(639)](),o[t(468)]="",o[t(532)]("id"),o[t(583)][t(542)]=e,n[t(466)][t(484)](o)}return function(e){const n=t;return Promise[n(564)](e[n(472)]((t=>{return Promise[n(556)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(580)](n[t(466)][t(482)](t(510))))[t(548)]((()=>this[t(593)]()))}[r(593)](){const t=r,e=this[t(459)][t(466)];if(!e[t(479)][t(474)][t(471)](e))return;const n=new o.Rect(e)[t(492)](),i=o.global[t(633)][t(524)](e),s=parseFloat(i[t(642)])+parseFloat(i[t(590)]),a=Math[t(616)](n[t(491)]+100-s),c=m(e,Math[t(616)](n[t(539)]-e[t(604)]),a,n[t(569)])[t(472)]((e=>this[t(495)](e)));c[t(596)]((t=>!!t))&&(this[t(526)]=c)}[r(495)](t){const e=r,n=this[e(622)][e(577)][e(529)],i=this[e(622)][e(577)][e(455)],o=n[e(458)],s=t[e(558)][e(597)](),a=this[e(459)][e(466)][e(528)][s][e(583)][e(542)],c=n[e(507)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(558)]){if(!o)return null;o=o[i(528)][t]}return o}(c,t);if(!u)return null;const l=o[e(476)](u,t[e(609)]||0);return l?e(469)==t[e(506)]?this[e(470)](l,u):e(485)==t[e(506)]&&i[e(594)](l)[e(456)]?this[e(534)](l,u,t[e(609)]):this[e(621)](l,u,t[e(456)]):null}[r(470)](t,e){const n=r,i=this[n(622)][n(554)],o=this[n(622)][n(577)][n(455)][n(643)](t[n(545)]),s=i[n(602)](o);return new u({type:n(469),modelRange:s,domNode:e,offset:0})}[r(534)](t,e,n){const i=r,o=this[i(622)][i(554)],s=this[i(622)][i(577)][i(455)],a=this[i(622)][i(577)][i(529)][i(458)];if(n>=e[i(478)])return null;const c=s[i(594)](t),p=o[i(520)](c),f=s[i(498)](t),h=a[i(630)](f);return new u({type:i(485),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(621)](t,e,n){const i=r,s=this[i(622)][i(554)],a=this[i(622)][i(577)],c=a[i(455)],l=a[i(529)][i(458)],p=c[i(498)](t),h=c[i(643)](p),d=function(t){const e=i,n=t[e(545)],o=n[e(585)][e(541)][e(554)],s=n[e(605)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(628)))return r;if(!o[e(514)](n)[e(589)](t))return r;r=n}}(s[i(514)](h))||h;let g=c[i(579)](d),m=s[i(602)](d);const b=s[i(514)](d)[i(631)];if(b&&b.is(i(466),i(525))){const t=c[i(579)](b),e=l[i(630)](t),n=o.global[i(633)][i(524)](e)[i(562)];i(539)!=n&&i(555)!=n||(m=s[i(602)](b))}for(;g[i(545)]!==g[i(585)]&&0===g[i(582)];)g=g[i(545)];const v=new o.Rect(y(e)?e:f(e)),w=n?v[i(569)]-n:0,k=l[i(630)](g),I=new o.Rect(k);return new u({type:i(466),modelRange:m,domNode:k,offset:Math[i(544)](w)?w+v[i(550)]-I[i(550)]:0})}get[r(490)](){const t=r,e=this[t(622)][t(624)][t(557)](t(511));return Object[t(567)]({top:t(503),bottom:t(503),left:t(503),right:t(503)},e)}static[r(611)](t,e,n,i,o){return m(t,e,n,i,o)}}function c(){const t=["domRoots","clear"," 0 ","10gDWSiW","paddingLeft","toModelElement","7kIZSlN","complete","_recalculatePageBreaksDebounced","mapper","offset","href","domConverter","_pagesContainer","previousElementSibling","none","-99999px"," - ","attributeStyleMap","cloneNode","element","isPremiumPlugin","className","manual","_mapManualPageStarterInfoToPageBreakInfo","contains","map","ELEMENT_NODE","body","bindTemplate","domPositionToView","indexOf","length","ownerDocument","bottom","once","querySelectorAll","resolve","append","text","position","plugins","100px","hasAttribute","_configuredPaddings","width","excludeScrollbarsAndBorders","ck-fake-selection-container","4803105hnqBzq","_mapPageStarterInfoToPageBreakInfo","_getAttachedDomRoot","entries","findMappedViewAncestor","1XNbBuG","ck-reset","insertBefore","pagination-config-not-found","10mm","_offset","absolute","type","getDomRoot","set","startContainer","img","pagination.pageMargins","isEnabled","2394822cfzmBu","createPositionBefore","update","modelRange","pluginName","_domNode","selectNodeContents","createRange","7365552eBxpIh","table-cell","startOffset","getComputedStyle","imageBlock","pageBreaks","closest","childNodes","view","classList","push","removeAttribute","nodeType","_mapTextPageStarterInfoToPageBreakInfo","join","calc( ","load","bind","left","DOCUMENT_POSITION_PRECEDING","document","rootName","sort","round","parent","page-break","style","then","table-row","top","firstChild","PaginationEditing","parentElement","model","right","race","get","path","nextSibling",".page-break","selectNode","float","low","all","setEnd","destroy","assign","childElementCount","height","render","5501637UuZqMj","error","init","div","_recalculatePageBreaks","previousSibling","editing","removeEventListener","toViewElement","from","isOfficialPlugin","index","dataset","remove","root","afterInit","ck-pagination-view","endContainer","isTouching","paddingRight","addEventListener","values","_updatePageBreaksData","toModelPosition","3658668WzFHvH","every","shift","change:isEnabled","hidden","compareDocumentPosition","parentNode","createRangeOn","border-box","scrollLeft","getAncestors","listenTo","figure.image","locale","textOffset","pagination","_findPageStarterInfos","ready","TEXT_NODE","setStart","PaginationLookup","floor","cancel","getClientRects","display","setTemplate","_mapElementPageStarterInfoToPageBreakInfo","editor","3365416sAbZbM","config","fromCharCode","nextElementSibling","137536JmCCzs","rootElement","class","mapViewToDom","nodeBefore","offsetParent","window","ceil","endOffset","_onUiReady","auto"];return(c=function(){return t})()}class u{[r(506)];[r(516)];[r(518)];[r(504)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(506)]=t,this[o(516)]=e,this[o(518)]=n,this[o(504)]=i}get[r(456)](){const t=r;if(!this[t(518)][t(479)][t(474)][t(471)](this[t(518)]))return 0;const e=new o.Rect(y(this[t(518)])?this[t(518)]:f(this[t(518)]));return t(469)==this[t(506)]?e[t(550)]+e[t(569)]/2:e[t(550)]+this[t(504)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=d,n=o.global[e(541)][e(520)]();return n[e(519)](t),n}(n);let c;c=0==e?g(a[i(509)],a[i(523)],t[i(601)],Array[i(580)](t[i(601)][i(528)])[i(477)](t)):g(a[i(509)],a[i(523)],t,e);const u=g(t,e,a[i(588)],a[i(635)]),l=new o.Rect(c)[i(480)];return(new o.Rect(u)[i(550)]+l)/2-new o.Rect(s)[i(550)]}function p(t){const e=r;return t[e(489)](e(491))&&t[e(489)](e(569))?Promise[e(483)]():new Promise((n=>{const i=e;function o(){const e=d;t[e(578)](e(537),o),t[e(578)](e(572),o),n()}t[i(645)]?n():(t[i(591)](i(537),o),t[i(591)](i(572),o))}))}function f(t){const e=r,n=o.global[e(541)][e(520)]();return n[e(561)](t),n}function h(t,e,n){const i=r,s=o.global[i(541)][i(520)]();return s[i(614)](t,e),s[i(565)](t,n),s}function d(t,e){const n=c();return(d=function(t,e){return n[t-=455]})(t,e)}function g(t,e,n,i){const s=r,a=o.global[s(541)][s(520)]();return a[s(614)](t,e),a[s(565)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(528)][s(497)]()){let t=[];y(c)&&c[s(632)]&&!c[s(547)][s(486)]?t=b(c,r,e,n,i,o):I(c)&&(t=v(c,r,e,n,o)),t[s(478)]&&(a[s(531)](...t),e+=t[s(478)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(576)])&&y(l)&&Boolean(l[c(530)][c(471)](c(546))||l[c(527)](c(560)))&&(u[c(531)]({type:c(469),offset:0,path:[e-1]}),a=!0),c(549)==o.global[c(633)][c(524)](t)[c(619)]){let i=0,o=!1;for(const e of t[c(618)]())i+=e[c(569)],e[c(539)]>=n&&(o=!0);if(i<s&&o)return u[c(531)]({type:c(466),offset:0,path:[e]}),u}const p=t[c(527)](c(607));if(p&&function(t){const e=c;let n=!1;const i=t[e(553)][e(583)][e(542)],s=t[e(626)],r=t[e(460)],a=s&&o.global[e(633)][e(524)](s)[e(562)],u=s&&e(493)===s[e(468)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(461)!==a&&(n=!0),!n}(p)){const t=o.global[c(633)][c(524)](p)[c(562)];if(c(539)==t||c(555)==t)return u}const f=m(t,n,i,s,a);if(f[c(478)]){for(const t of f)u[c(531)]({type:t[c(506)],offset:t[c(456)],textOffset:t[c(609)],path:[e,...t[c(558)]]}),n+=i,a=!1;return u}return u[c(531)](...function(t,e,n,i,s){const r=c,a=[];if(r(522)==o.global[r(633)][r(524)](t)[r(619)])return[];const u=[];for(const e of t[r(618)]())if(e[r(539)]>=n){for(const t of u)t[r(569)]+=e[r(569)];u[r(531)]({height:e[r(569)]}),n+=i}for(const t of u)s||a[r(531)]({type:r(466),offset:t[r(569)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function v(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(618)]())if(r[s(539)]>=n){const r=w(t,u,n,i);o||c[s(531)]({type:s(485),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(478)];for(;a-s>1;){const e=Math[o(634)]((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(618)]())if(o[i(539)]>=e&&o[i(539)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(533)]==Node[e(473)]}function I(t){const e=r;return t[e(533)]==Node[e(613)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),E=n.n(T),S=n(667),R=n.n(S),A=n(357),C=n.n(A),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=R(),O.insert=E().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(t,e){const n=K();return(B=function(t,e){return n[t-=174]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(696703===parseInt(e(178))/1+-parseInt(e(181))/2+parseInt(e(184))/3+parseInt(e(180))/4*(-parseInt(e(183))/5)+-parseInt(e(191))/6+parseInt(e(182))/7+parseInt(e(175))/8*(-parseInt(e(190))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const D=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=B;super();const e=this[t(179)];this[t(193)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(186)]({tag:t(174),attributes:{"data-page-number":e.to(t(185)),class:["ck",t(187),e.if(t(177),t(189),(t=>!t))],style:{left:e.to(t(176),(t=>D(t))),top:e.to(t(188),(t=>D(t))),width:e.to(t(192),(t=>D(t)))}}})}}function K(){const t=["112jvJlcP","408930lFdTJl","715211uRxjCj","4755WKAJGu","1630278wDReMQ","pageNumber","setTemplate","ck-pagination-view-line","top","ck-hidden","531495DYPCgh","280536rKXuQr","width","set","div","40ygqPme","left","isVisible","624228qMsDQU","bindTemplate"];return(K=function(){return t})()}const j=G;function G(t,e){const n=U();return(G=function(t,e){return n[t-=135]})(t,e)}function U(){const t=["_hiddenLines","add","body","621080BmeYvk","290676DYPIgI","27sFtKIr","clear","_visibleLines","1863820jYnzdR","destroy","size","values","40512KhQhpc","has","11NofWzp","setViewCollection","isVisible","947436OeOyfv","view","_viewCollection","cleanLines","set","49755yIWanW","2hNrayr","35LaavZW","delete","1445715pGblLl","showLine"];return(U=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(172840===-parseInt(e(149))/1+-parseInt(e(150))/2*(-parseInt(e(144))/3)+parseInt(e(158))/4+-parseInt(e(153))/5+-parseInt(e(159))/6*(-parseInt(e(151))/7)+-parseInt(e(139))/8*(parseInt(e(160))/9)+-parseInt(e(135))/10*(parseInt(e(141))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class V{[j(146)];[j(162)]=new Set;[j(155)]=new Set;constructor(t){const e=j;this[e(146)]=t.ui[e(145)][e(157)]}[j(136)](){const t=j;for(const e of this[t(155)])e[t(136)]()}[j(147)](){const t=j;for(const e of this[t(162)])e[t(143)]=!1,this[t(155)][t(156)](e);this[t(162)][t(161)]()}[j(154)](t,e,n,i){const s=j;let r;this[s(155)][s(137)]?(r=(0,o.first)(this[s(155)][s(138)]()),this[s(155)][s(152)](r)):r=new M,r[s(148)]({pageNumber:i,left:t,top:e,width:n}),r[s(143)]=!0,this[s(146)][s(140)](r)||this[s(146)][s(156)](r),this[s(162)][s(156)](r)}[j(142)](t){this[j(146)]=t}}function z(){const t=["update","_toggleEditingRootsClass","ready","_renderPageBreakLines","scrollTo","plugins","addClass","view","left","values","scroll","scrollTop","isOfficialPlugin","setupScrollableAncestor","385085aIbKtb","instant","resize","isEnabled","_scrollableEditingRootDomAncestor","change","domRoots","_getPageBreakLineOffset","getComputedStyle","PaginationRenderer","4102016dawPZR","init","scrollLeft","isMotionReduced","pageNumber","pluginName","bottom","bind","483510uHOqsw","offset","720VKyzYS","scrollToPage","cleanLines","_onUiReady","once","118485aQEovp","document","PaginationLookup","ownerDocument","auto","body","3199448UaXKnR","ck-pagination_enabled","isPremiumPlugin","linesRepository","7346961bbtpiJ","smooth","editor","parentElement","_resizeObserver","excludeScrollbarsAndBorders","stopListening","set","_updatePageBreakLines","roots","contains","top","showLine","editing","_getAttachedDomRoot","get","_paginationLookupPlugin","height","change:pageBreaks","change:isEnabled","tagName","window","BODY","length","overflowY","push","4220kNEQuN","12xZHxdv","PaginationEditing","listenTo","width","pageBreaks","destroy","removeClass"];return(z=function(){return t})()}const W=Y;function Y(t,e){const n=z();return(Y=function(t,e){return n[t-=239]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(491397===-parseInt(e(308))/1+parseInt(e(287))/2*(parseInt(e(250))/3)+-parseInt(e(286))/4*(parseInt(e(245))/5)+-parseInt(e(243))/6+-parseInt(e(256))/7+parseInt(e(318))/8+parseInt(e(260))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);const F=W(257);class Z extends t.Plugin{[W(259)];[W(312)]=null;[W(264)]=null;[W(276)];static get[W(240)](){return W(317)}static get[W(306)](){return!0}static get[W(258)](){return!0}[W(319)](){const t=W;this[t(267)]({pageNumber:1}),this[t(259)]=new V(this[t(262)]),this[t(312)]=null,this[t(264)]=null,this[t(276)]=this[t(262)][t(299)][t(275)](t(252)),this[t(242)](t(311)).to(this[t(262)][t(299)][t(275)](t(288))),this[t(262)].ui[t(249)](t(296),(()=>this[t(248)]())),this[t(295)](F),this.on(t(279),((e,n,i)=>{const o=t;i||this[o(259)][o(247)](),this[o(295)](F,i)}))}[W(292)](){const t=W;this[t(295)](F,!1),this[t(259)][t(292)](),this[t(312)]=null,this[t(264)]&&this[t(264)][t(292)]()}[W(246)](t){const e=W;if(!this[e(311)])return;const n=t>1?this[e(315)](t-1):0;this[e(312)][e(298)]({top:n-10,left:this[e(312)][e(320)],behavior:o.env[e(321)]?e(309):e(261)})}[W(307)](){const t=W,e=this[t(262)],n=this[t(274)]();n?(this[t(312)]&&e.ui[t(301)][t(266)](this[t(312)],t(304)),this[t(312)]=function(e){const n=t;let i=e;do{i=i[n(263)];const t=o.global[n(281)][n(316)](i)[n(284)];if(n(254)==t||n(304)==t)break}while(n(282)!=i[n(280)]);return i}(n),e.ui[t(301)][t(289)](this[t(312)],t(304),(()=>{this[t(268)]()}),{usePassive:!0}),this[t(264)]&&this[t(264)][t(292)](),this[t(264)]=new o.ResizeObserver(this[t(312)],(()=>{this[t(268)]()}))):e.ui[t(249)](t(294),(()=>this[t(307)]()))}[W(248)](){const t=W,e=this[t(262)];this[t(274)]()?(this[t(307)](),e.ui[t(301)][t(289)](o.global[t(281)],t(310),(()=>this[t(268)]())),this[t(289)](this[t(276)],t(278),(()=>this[t(268)]()))):e.ui[t(249)](t(294),(()=>this[t(248)]()))}[W(274)](){const t=W;for(const e of this[t(262)][t(273)][t(301)][t(314)][t(303)]())if(e[t(253)][t(255)][t(270)](e))return e;return null}[W(268)](){const t=W;if(!this[t(311)])return;const e=this[t(274)](),n=this[t(276)][t(291)];if(this[t(259)][t(247)](),!e||1==n[t(283)])return void(this[t(239)]=1);const i=new o.Rect(e)[t(265)](),s=new o.Rect(this[t(312)])[t(265)](),r=s[t(271)]+s[t(277)]/3;let a=!1;const c=[];for(let e=1;e<n[t(283)];e++){const n=this[t(315)](e,s);if(!n)continue;const o=s[t(271)]+n-this[t(312)][t(305)];c[t(285)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(239)]=e,a=!0)}this[t(297)](c),a||(this[t(239)]=n[t(283)])}[W(297)](t){const e=W,{scrollX:n,scrollY:i}=o.global[e(281)];if(t[e(283)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(271)]<s&&s<o[e(241)]&&this[e(259)][e(272)](r[e(302)]+n,s+i,r[e(290)],a+1)}[W(315)](t,e=null){const n=W,i=this[n(276)][n(291)][t][n(244)];return i?(e||(e=new o.Rect(this[n(312)])[n(265)]()),i-e[n(271)]+this[n(312)][n(305)]):0}[W(295)](t,e=!0){const n=W,i=this[n(262)][n(273)][n(301)];i[n(313)]((o=>{const s=n;for(const n of i[s(251)][s(269)])e?o[s(300)](t,n):o[s(293)](t,n)}))}}function q(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 H=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=R(),J.insert=E().bind(null,"head"),J.domAPI=N(),J.insertStyleElement=C();x()(H.A,J);H.A&&H.A.locals&&H.A.locals;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=498]})(t,e)}const X=Q;function $(){const t=["hasClass","Go to the next page (also move selection)","Shift+Pagedown","setSelection","offset","listenTo","editor","addMarker","config","getNearestSelectionRange","usageLimit","Go to the previous page (also move selection)","updateMarker","toViewElement","index","1133860CKAJRa","_validatePageNumber","7012744QLSNCI","manual","view","markers","domainLimit","get","forward","writer","start","checkChild","paginationLicenseKeyNotAllowed","bind","modelRange","scrollToPage","_setUpDataDowncastConversion","toViewPosition","_updatePageBreakMarkers","featureNotAllowed","pagination","paginationLicenseKeyEvaluationLimit","keystrokes","data","destroy","parent","schema","init","addKeystrokeInfoGroup","15003KoOrhT","locale","trialLimit","type","goToNextPage","Pagination","$text","621491Xsmnfs","accessibility","createContainerElement","root","model","has","focus","evaluationLimit","setAttribute","conversion","requires","createPositionAt","_licenseKeyCheckInterval","2QGYgkk","text","pagination:","getFillerOffset","add","15tFaQdb","expired","paginationLicenseKeyExpired","setStyle","element","addMarker:","moveSelectionToPage","mapper","licenseKey","1245861vejcQg","paginationLicenseKeyInvalid","span","2170ckMWhY","isEnabled","isPremiumPlugin","paginationLicenseKeyDomainLimit","textNode","end","paginationLicenseKeyTrialLimit","always","bindElementToMarker","pluginName","Keystrokes for navigating through documents","length","stop","set","page-break","paginationLicenseKeyValid","options","_setupKeystrokes","PaginationEditing","plugins","_showLicenseError","change:pageBreaks","substring","invalid","1457010fGhjBv","pageBreaks","getContainedElement","editing","name","change","data-pagination-page","page-break-before","consumable","consume","goToPreviousPage","dataDowncast","2902916siTnVh","nodeAfter","isOfficialPlugin","for","insert","removeMarker","Shift+Pageup","paginationLicenseKeyUsageLimit","totalPages","pageNumber"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(473406===-parseInt(e(528))/1*(parseInt(e(541))/2)+parseInt(e(555))/3+-parseInt(e(594))/4+-parseInt(e(546))/5*(-parseInt(e(582))/6)+parseInt(e(619))/7+parseInt(e(621))/8+-parseInt(e(521))/9*(parseInt(e(558))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[X(554)];[X(540)];static get[X(567)](){return X(576)}static get[X(596)](){return!0}static get[X(560)](){return!0}static get[X(538)](){return[a,Z]}[X(519)](){const t=X;this[t(571)]({pageNumber:1,totalPages:1});const e=this[t(610)][t(577)][t(499)](t(526)),n=this[t(610)][t(577)][t(499)](a),i=this[t(610)][t(577)][t(499)](Z);this[t(505)](t(559)).to(e),this[t(508)](),this[t(505)](t(603)).to(i),this[t(609)](n,t(579),((e,n,i,o)=>{const s=t;this[s(602)]=i[s(569)],this[s(510)](i,o)})),this[t(575)](),this[t(554)]=this[t(610)][t(612)][t(499)](t(554));const o=this[t(610)];this[t(540)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(573)==s||e(556)==s||e(548)==s||e(561)==s||e(504)==s||e(513)==s||e(564)==s||e(601)==s){delete o[i],n=s,clearInterval(this[e(540)]),this[e(540)]=void 0;break}}e(556)==n&&o[e(578)](e(581)),e(548)==n&&o[e(578)](e(547)),e(561)==n&&o[e(578)](e(498)),e(504)==n&&o[e(578)](e(511),e(526)),e(513)==n&&o[e(578)](e(535)),e(564)==n&&o[e(578)](e(523)),e(601)==n&&o[e(578)](e(614))}),1e3)}[X(516)](){const t=X;super[t(516)](),this[t(540)]&&clearInterval(this[t(540)])}[X(507)](t){const e=X;this[e(559)]&&this[e(610)][e(577)][e(499)](Z)[e(507)](this[e(620)](t))}[X(552)](t){const e=X;if(!this[e(559)])return;const n=this[e(610)],i=this[e(610)][e(577)][e(499)](a)[e(583)][t-1];i&&n[e(532)][e(587)]((t=>{const o=e;switch(i[o(524)]){case o(622):{const e=n[o(532)][o(518)][o(613)](i[o(506)][o(563)],o(500));t[o(607)](e);break}case o(550):{const e=n[o(532)][o(518)][o(613)](i[o(506)][o(502)],o(500));t[o(607)](e);break}case o(542):{const e=i[o(506)][o(502)];if(" "===e[o(562)][o(515)][e[o(608)]]){const n=t[o(539)](e[o(517)],e[o(608)]+1);t[o(607)](n)}else t[o(607)](i[o(506)])}}n[o(585)][o(623)][o(534)]()}))}[X(525)](){const t=X,e=this[t(620)](this[t(603)]+1);this[t(552)](e),this[t(507)](e)}[X(592)](){const t=X,e=this[t(620)](this[t(603)]-1);this[t(552)](e),this[t(507)](e)}[X(510)](t,e){const n=X,i=this[n(610)][n(532)];this[n(559)]&&i[n(587)]((o=>{const s=n;for(let e=1;e<t[s(569)];e++){const n=t[e][s(506)],r=s(543)+(e+1);i[s(624)][s(533)](r)?o[s(616)](r,{range:n}):o[s(611)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(569)];n<e[s(569)];n++){const t=s(543)+(n+1);i[s(624)][s(533)](t)&&o[s(599)](t)}}))}[X(508)](){const t=X,e=t(512);this[t(610)][t(537)][t(597)](t(593))[t(545)]((n=>{const i=t;n.on(i(551)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(574)][s(512)])return;if(!o[s(590)][s(591)](e,t[s(586)]))return;const r=e[s(584)]();let a=r?o[s(553)][s(617)](r):null;if(!a){const t=e[s(502)];if(o[s(518)][s(503)](t,s(527))){const e=o[s(553)][s(509)](t);a=o[s(501)][s(530)](s(557)),a[s(544)]=()=>null,o[s(501)][s(598)](e,a)}else{const e=t[s(595)];a=o[s(553)][s(617)](e)}}for(;a[s(517)]!==a[s(531)]&&0===a[s(618)];)a=a[s(517)];const c=n[s(580)](11);a[s(604)](s(572))||(o[s(501)][s(549)](s(589),s(565),a),o[s(501)][s(536)](s(588),c,a),o[s(553)][s(566)](a,n)),t[s(570)]()}))}))}[X(575)](){const t=X,e=this[t(610)];e[t(514)][t(571)](t(600),((e,n)=>{this[t(592)](),n()})),e[t(514)][t(571)](t(606),((e,n)=>{this[t(525)](),n()})),e[t(529)][t(520)]({id:t(512),label:q(e[t(522)],t(568)),keystrokes:[{label:q(e[t(522)],t(615)),keystroke:t(600),mayRequireFn:!0},{label:q(e[t(522)],t(605)),keystroke:t(606),mayRequireFn:!0}]})}[X(620)](t){const e=X;return t<1&&(t=1),t>this[e(602)]&&(t=this[e(602)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=E().bind(null,"head"),it.domAPI=N(),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-=305]})(t,e)}function rt(){const t=["setTemplate","totalPages","ck-page-navigator","ArrowUp","enter","2157312xIglfa","10HeXgsu","ck-disabled","value","isEnabled","4762940mZrWtL","5732IYHbfp","fire","ariaLabel","max","navigation","valueAsNumber","element","blur","set","stopPropagation","render","Current page number (from 1 to %0)","10487290pJJUZI","isReadOnly","listenTo","numeric","6732RUYGeD","focus","727338BTfMWL","ArrowDown","pageNumber","keydown","1SxJjhS","change:pageNumber","preventDefault","div","321MMmLwu","span","bind","bindTemplate","checkValidity","select","firstChild","4656942rsYeoh","key","isNaN","pageNumberView","keyCode","1920fkvoyZ"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(433716===-parseInt(e(313))/1*(-parseInt(e(309))/2)+parseInt(e(317))/3*(parseInt(e(341))/4)+-parseInt(e(329))/5*(-parseInt(e(307))/6)+-parseInt(e(340))/7+-parseInt(e(335))/8+parseInt(e(324))/9*(-parseInt(e(336))/10)+parseInt(e(353))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(327)];constructor(t){const n=ot;super(t);const i=this[n(320)];this[n(349)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(327)]=new e.InputNumberView(t,{min:1,step:1}),this[n(327)][n(349)]({inputMode:n(306),tabIndex:-1}),this[n(327)][n(319)](n(343)).to(this,n(331),(e=>q(t,n(352),e))),this[n(327)][n(319)](n(344)).to(this,n(331)),this[n(327)][n(319)](n(354)).to(this,n(339),(t=>!t)),this[n(330)]({tag:n(316),attributes:{class:["ck",n(332),i.if(n(339),n(337),(t=>!t))]},children:[this[n(327)],{tag:n(318),children:[{text:i.to(n(331))}]}]})}[ot(351)](){const t=ot;super[t(351)]();const e=this[t(327)][t(347)],n=e=>{const n=t;this[n(327)][n(347)][n(338)]=String(e)};n(this[t(311)]),this.on(t(314),((t,e,i)=>{n(i)})),this[t(305)](e,t(312),((n,i)=>{const s=t;if(s(333)===i[s(325)]||s(310)===i[s(325)])return void i[s(350)]();if(i[s(328)]!==o.keyCodes[s(334)])return;i[s(315)]();const r=e[s(346)];Number[s(326)](r)?e[s(338)]=String(this[s(311)]):(e[s(321)]()?this[s(311)]=r:r>this[s(331)]?(this[s(311)]=this[s(331)],e[s(338)]=String(this[s(331)])):(this[s(311)]=1,e[s(338)]="1"),this[s(342)](s(345),this[s(311)]))})),this[t(305)](e,t(348),(()=>{const n=t;e[n(338)]=String(this[n(311)])})),this[t(305)](e,t(308),(()=>{const e=t;this[e(327)][e(322)]()}))}[ot(308)](){const t=ot;this[t(347)][t(323)][t(308)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=256]})(t,e)}function lt(){const t=["goToPreviousPage","isEnabled","pageNavigation","7dbCyPN","161700wmIiYw","Go to next page","148401SQTAoY","listenTo","componentFactory","scrollToPage","bind","navigation","moveSelectionToPage","Go to previous page","PaginationUI","totalPages","pluginName","isOfficialPlugin","165BfHUwh","execute","label","tooltip","isPremiumPlugin","Shift+PageDown","locale","icon","1533525kULdLR","PaginationEditing","pageNumber","init","keystroke","nextPage","957155ujPzTf","Shift+PageUp","goToNextPage","12558496RCViRr","previousPage","3157604cCOMZz","plugins","add","editor","get","2252988qkJtPB","2570ePhLYe"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(969182===-parseInt(e(260))/1+-parseInt(e(265))/2+parseInt(e(298))/3+-parseInt(e(270))/4+-parseInt(e(290))/5*(-parseInt(e(276))/6)+parseInt(e(275))/7*(-parseInt(e(263))/8)+parseInt(e(278))/9*(parseInt(e(271))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(288)](){return ct(286)}static get[ct(289)](){return!0}static get[ct(294)](){return!0}[ct(257)](){const t=ct,n=this[t(268)],i=n[t(266)][t(269)](t(299));n.ui[t(280)][t(267)](t(274),(e=>{const n=t,o=new at(e);return o[n(282)](n(256)).to(i),o[n(282)](n(287)).to(i),o[n(282)](n(273)).to(i),o.on(n(283),((t,e)=>{const o=n;i[o(284)](e),i[o(281)](e)})),o})),n.ui[t(280)][t(267)](t(259),(o=>{const s=t,r=new e.ButtonView(o);return r[s(273)]=!0,r[s(292)]=q(n[s(296)],s(277)),r[s(297)]=et.IconArrowDown,r[s(293)]=!0,r[s(258)]=s(295),r[s(282)](s(273)).to(i),this[s(279)](r,s(291),(()=>{i[s(262)]()})),r})),n.ui[t(280)][t(267)](t(264),(o=>{const s=t,r=new e.ButtonView(o);return r[s(273)]=!0,r[s(292)]=q(n[s(296)],s(285)),r[s(297)]=et.IconArrowUp,r[s(293)]=!0,r[s(258)]=s(261),r[s(282)](s(273)).to(i),this[s(279)](r,s(291),(()=>{i[s(272)]()})),r}))}}const ft=dt;function ht(){const t=["get","scrollToPage","pageNumber","5216ypioMO","set","requires","init","ready","bind","pluginName","isOfficialPlugin","Pagination","7624701CjvGxT","config","12699856TyKuDm","714IXzOwH","isPremiumPlugin","plugins","pagination.enableOnUnsupportedBrowsers","isEnabled","6006404KAcscP","1175316jcGNiL","totalPages","browserCheck","editor","forceDisabled","389015jKIQfi","27992601ZXudnz","66vKBdEo","isBlink"];return(ht=function(){return t})()}function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=191]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(994978===-parseInt(e(211))/1+-parseInt(e(193))/2*(parseInt(e(205))/3)+parseInt(e(210))/4+-parseInt(e(216))/5*(-parseInt(e(218))/6)+-parseInt(e(202))/7+-parseInt(e(204))/8+parseInt(e(217))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(199)](){return ft(201)}static get[ft(200)](){return!0}static get[ft(206)](){return!0}static get[ft(195)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(209)]=!1}[ft(196)](){const t=ft;this[t(194)]({pageNumber:1,totalPages:1});const e=this[t(214)][t(207)][t(220)](tt);this[t(198)](t(192)).to(e),this[t(198)](t(212)).to(e),o.env[t(219)]||this[t(214)][t(203)][t(220)](t(208))?this[t(214)].on(t(197),(()=>{this[t(209)]=!0})):this[t(215)](t(213))}[ft(191)](t){const e=ft;this[e(214)][e(207)][e(220)](tt)[e(191)](t)}}function mt(){var t=["3TrnfPE","786832IRCmDP","18325260JddjcE","4587775TffrEu","3492RjjyDd","1mlIUNl","35mDSxFe","1072198EatZmr","16192728IUZWOZ","512632AvNwUl"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=472]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(903799===-parseInt(e(475))/1*(-parseInt(e(477))/2)+parseInt(e(480))/3*(-parseInt(e(481))/4)+parseInt(e(473))/5+parseInt(e(474))/6+-parseInt(e(476))/7*(parseInt(e(479))/8)+parseInt(e(478))/9+-parseInt(e(472))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(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:()=>W});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(133620===-parseInt(e(430))/1*(-parseInt(e(276))/2)+-parseInt(e(417))/3*(-parseInt(e(290))/4)+parseInt(e(401))/5+parseInt(e(342))/6*(-parseInt(e(368))/7)+-parseInt(e(395))/8+parseInt(e(308))/9+parseInt(e(362))/10*(-parseInt(e(437))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class a extends t.Plugin{[r(343)]=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(323)]()),200);[r(421)]=null;static get[r(264)](){return r(310)}static get[r(334)](){return!0}static get[r(378)](){return!0}[r(405)](){const t=r;if(this[t(440)]({pageBreaks:[]}),!this[t(352)][t(436)][t(446)](t(360)))return void(0,o.logWarning)(t(300),this[t(352)][t(436)]);const e=this[t(352)][t(429)][t(446)](t(312));this[t(422)](t(357)).to(e),this[t(352)].ui[t(311)](t(358),(()=>this[t(269)]())),this.on(t(350),((e,n,i)=>{i&&this[t(343)]()}))}[r(383)](){!async function(t){const e=m([80,82,110,85,89,86,114,121,78,103,53,102,101,97,120,98,119,81,106,51,87,107,111,104,48,70,99,74,56,57,77,66,69,118,55,68,88,67,112,122,90,113,115,116,84,65,49,105,108,50,52,75,117,109,72,100,83,76,73,79,71,54]),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(327)]((t=>String[e(339)](t)))[e(439)]("")}!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([80]);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:1743206400;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(449)]);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(379)](){const t=r;super[t(379)](),this[t(421)]&&(this[t(343)][t(384)](),this[t(421)][t(379)](),this[t(421)][t(435)][t(301)]())}[r(269)](){const t=r,n=this[t(352)],i=n[t(288)][t(291)],o=this[t(340)]();if(!o||0===o[t(364)])return void n.ui[t(311)](t(328),(()=>this[t(269)]()));const{pageWidth:s,pageHeight:a}=n[t(436)][t(446)](t(360)),{top:c,left:u,bottom:l,right:p}=this[t(333)];this[t(421)]=new e.View(n[t(317)]);const f=this[t(421)];f[t(440)](t(325),""),f[t(389)]({tag:t(415),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(374)+a+t(329)+c+t(329)+l+" )",minWidth:t(359),minHeight:t(359),padding:"0 "+p+t(387)+u,columnGap:t(398),border:0,boxSizing:t(283),columnCount:t(359),columnFill:t(359),overflow:t(335),position:t(303),top:t(305),left:t(305)},tabindex:"-1",class:f[t(413)].to(t(325))}}),f[t(402)](),o[t(373)][t(271)](f[t(435)],o[t(348)]),this[t(316)](i,t(402),(()=>this[t(343)]()),{priority:t(282)}),this[t(343)]()}[r(340)](){const t=r;for(const e of this[t(352)][t(288)][t(291)][t(433)][t(445)]())if(e[t(345)][t(447)][t(321)](e))return e;return null}[r(323)](){const t=r;if(!this[t(357)])return Promise[t(409)]();const e=this[t(352)][t(288)][t(291)],n=this[t(421)],i=this[t(340)]();if(!i)return Promise[t(409)]();for(n[t(325)]=[t(263),t(273),...i[t(366)]][t(439)](" ");n[t(435)][t(277)];)n[t(435)][t(277)][t(301)]();const o=Array[t(397)](e[t(433)]);o[t(353)]((([,e],[,n])=>e[t(375)](n)==Node[t(363)]?1:-1));for(const[e,i]of o){const o=i[t(302)](!0);t(336)in o&&o[t(336)][t(396)](),o[t(319)]="",o[t(280)]("id"),o[t(296)][t(403)]=e,n[t(435)][t(425)](o)}return function(e){const n=t;return Promise[n(270)](e[n(327)]((t=>{return Promise[n(281)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(397)](n[t(435)][t(381)](t(419))))[t(434)]((()=>this[t(426)]()))}[r(426)](){const t=r,e=this[t(421)][t(435)];if(!e[t(345)][t(447)][t(321)](e))return;const n=new o.Rect(e)[t(377)](),i=o.global[t(298)][t(313)](e),s=parseFloat(i[t(432)])+parseFloat(i[t(365)]),a=Math[t(309)](n[t(392)]+100-s),c=g(e,Math[t(309)](n[t(399)]-e[t(293)]),a,n[t(266)])[t(327)]((e=>this[t(265)](e)));c[t(274)]((t=>!!t))&&(this[t(416)]=c)}[r(265)](t){const e=r,n=this[e(352)][e(288)][e(291)],i=this[e(352)][e(288)][e(450)],o=n[e(428)],s=t[e(400)][e(262)](),a=this[e(421)][e(435)][e(369)][s][e(296)][e(403)],c=n[e(267)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(400)]){if(!o)return null;o=o[i(369)][t]}return o}(c,t);if(!u)return null;const l=o[e(318)](u,t[e(287)]||0);return l?e(315)==t[e(418)]?this[e(299)](l,u):e(404)==t[e(418)]&&i[e(330)](l)[e(344)]?this[e(442)](l,u,t[e(287)]):this[e(361)](l,u,t[e(344)]):null}[r(299)](t,e){const n=r,i=this[n(352)][n(448)],o=this[n(352)][n(288)][n(450)][n(410)](t[n(294)]),s=i[n(279)](o);return new c({type:n(315),modelRange:s,domNode:e,offset:0})}[r(442)](t,e,n){const i=r,o=this[i(352)][i(448)],s=this[i(352)][i(288)][i(450)],a=this[i(352)][i(288)][i(291)][i(428)];if(n>=e[i(412)])return null;const l=s[i(330)](t),p=o[i(444)](l),f=s[i(306)](t),h=a[i(304)](f);return new c({type:i(404),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(361)](t,e,n){const i=r,s=this[i(352)][i(448)],a=this[i(352)][i(288)],u=a[i(450)],l=a[i(291)][i(428)],f=u[i(306)](t),h=u[i(410)](f),d=function(t){const e=i,n=t[e(294)],o=n[e(285)][e(337)][e(448)],s=n[e(452)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(443)))return r;if(!o[e(431)](n)[e(388)](t))return r;r=n}}(s[i(431)](h))||h;let g=u[i(314)](d),m=s[i(279)](d);const b=s[i(431)](d)[i(424)];if(b&&b.is(i(435),i(278))){const t=u[i(314)](b),e=l[i(304)](t),n=o.global[i(298)][i(313)](e)[i(261)];i(399)!=n&&i(438)!=n||(m=s[i(279)](b))}for(;g[i(294)]!==g[i(285)]&&0===g[i(370)];)g=g[i(294)];const w=new o.Rect(y(e)?e:p(e)),k=n?w[i(266)]-n:0,v=l[i(304)](g),I=new o.Rect(v);return new c({type:i(435),modelRange:m,domNode:v,offset:Math[i(385)](k)?k+w[i(322)]-I[i(322)]:0})}get[r(333)](){const t=r,e=this[t(352)][t(436)][t(446)](t(324));return Object[t(423)]({top:t(451),bottom:t(451),left:t(451),right:t(451)},e)}static[r(268)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(418)];[r(260)];[r(289)];[r(407)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(418)]=t,this[o(260)]=e,this[o(289)]=n,this[o(407)]=i}get[r(344)](){const t=r;if(!this[t(289)][t(345)][t(447)][t(321)](this[t(289)]))return 0;const e=new o.Rect(y(this[t(289)])?this[t(289)]:p(this[t(289)]));return t(315)==this[t(418)]?e[t(322)]+e[t(266)]/2:e[t(322)]+this[t(407)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=h,n=o.global[e(337)][e(444)]();return n[e(355)](t),n}(n);let c;c=0==e?d(a[i(331)],a[i(292)],t[i(373)],Array[i(397)](t[i(373)][i(369)])[i(341)](t)):d(a[i(331)],a[i(292)],t,e);const u=d(t,e,a[i(297)],a[i(441)]),l=new o.Rect(c)[i(411)];return(new o.Rect(u)[i(322)]+l)/2-new o.Rect(s)[i(322)]}function l(t){const e=r;return t[e(351)](e(392))&&t[e(351)](e(266))?Promise[e(409)]():new Promise((n=>{const i=e;function o(){const e=h;t[e(320)](e(349),o),t[e(320)](e(406),o),n()}t[i(394)]?n():(t[i(284)](i(349),o),t[i(284)](i(406),o))}))}function p(t){const e=r,n=o.global[e(337)][e(444)]();return n[e(414)](t),n}function f(t,e,n){const i=r,s=o.global[i(337)][i(444)]();return s[i(272)](t,e),s[i(372)](t,n),s}function h(t,e){const n=v();return(h=function(t,e){return n[t-=260]})(t,e)}function d(t,e,n,i){const s=r,a=o.global[s(337)][s(444)]();return a[s(272)](t,e),a[s(372)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(369)][s(391)]()){let t=[];y(c)&&c[s(390)]&&!c[s(408)][s(326)]?t=m(c,r,e,n,i,o):I(c)&&(t=b(c,r,e,n,o)),t[s(412)]&&(a[s(427)](...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(376)])&&y(l)&&Boolean(l[c(366)][c(321)](c(354))||l[c(275)](c(346)))&&(u[c(427)]({type:c(315),offset:0,path:[e-1]}),a=!0),c(307)==o.global[c(298)][c(313)](t)[c(295)]){let i=0,o=!1;for(const e of t[c(332)]())i+=e[c(266)],e[c(399)]>=n&&(o=!0);if(i<s&&o)return u[c(427)]({type:c(435),offset:0,path:[e]}),u}const p=t[c(275)](c(393));if(p&&function(t){const e=c;let n=!1;const i=t[e(338)][e(296)][e(403)],s=t[e(347)],r=t[e(386)],a=s&&o.global[e(298)][e(313)](s)[e(261)],u=s&&e(380)===s[e(319)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(286)!==a&&(n=!0),!n}(p)){const t=o.global[c(298)][c(313)](p)[c(261)];if(c(399)==t||c(438)==t)return u}const f=g(t,n,i,s,a);if(f[c(412)]){for(const t of f)u[c(427)]({type:t[c(418)],offset:t[c(344)],textOffset:t[c(287)],path:[e,...t[c(400)]]}),n+=i,a=!1;return u}return u[c(427)](...function(t,e,n,i,s){const r=c,a=[];if(r(371)==o.global[r(298)][r(313)](t)[r(295)])return[];const u=[];for(const e of t[r(332)]())if(e[r(399)]>=n){for(const t of u)t[r(266)]+=e[r(266)];u[r(427)]({height:e[r(266)]}),n+=i}for(const t of u)s||a[r(427)]({type:r(435),offset:t[r(266)],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(332)]())if(r[s(399)]>=n){const r=w(t,u,n,i);o||c[s(427)]({type:s(404),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(356)]((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(332)]())if(o[i(399)]>=e&&o[i(399)]<e+n)return!0;return!1}function v(){const t=["isEnabled","ready","auto","pagination","_mapElementPageStarterInfoToPageBreakInfo","528810nStVOC","DOCUMENT_POSITION_PRECEDING","childElementCount","paddingRight","classList","TEXT_NODE","14NToXAi","childNodes","index","table-cell","setEnd","parentNode","calc( ","compareDocumentPosition","previousSibling","excludeScrollbarsAndBorders","isPremiumPlugin","destroy","ck-fake-selection-container","querySelectorAll","nodeType","afterInit","cancel","round","previousElementSibling"," 0 ","isTouching","setTemplate","offsetParent","entries","width","figure.image","complete","1232408GhqvhA","clear","from","100px","left","path","354810OmogGZ","render","rootName","text","init","error","_offset","style","resolve","toModelElement","bottom","length","bindTemplate","selectNode","div","pageBreaks","3lhdLhR","type","img","ELEMENT_NODE","_pagesContainer","bind","assign","nodeBefore","append","_updatePageBreaksData","push","domConverter","plugins","163yjxtwF","createPositionBefore","paddingLeft","domRoots","then","element","config","33GHAQOm","right","join","set","endOffset","_mapTextPageStarterInfoToPageBreakInfo","rootElement","createRange","values","get","body","model","href","mapper","10mm","getAncestors","modelRange","float","shift","ck-reset","pluginName","_mapPageStarterInfoToPageBreakInfo","height","getDomRoot","_findPageStarterInfos","_onUiReady","all","insertBefore","setStart","ck-pagination-view","every","closest","3082FuxAMt","firstChild","imageBlock","createRangeOn","removeAttribute","race","low","border-box","addEventListener","root","none","textOffset","editing","_domNode","767996FIgHUm","view","startOffset","scrollLeft","parent","display","dataset","endContainer","window","_mapManualPageStarterInfoToPageBreakInfo","pagination-config-not-found","remove","cloneNode","absolute","mapViewToDom","-99999px","findMappedViewAncestor","table-row","764136gWoFol","floor","PaginationLookup","once","PaginationEditing","getComputedStyle","toViewElement","manual","listenTo","locale","domPositionToView","className","removeEventListener","contains","top","_recalculatePageBreaks","pagination.pageMargins","class","position","map","update"," - ","toModelPosition","startContainer","getClientRects","_configuredPaddings","isOfficialPlugin","hidden","attributeStyleMap","document","parentElement","fromCharCode","_getAttachedDomRoot","indexOf","458202RKtbiR","_recalculatePageBreaksDebounced","offset","ownerDocument",".page-break","nextElementSibling","nextSibling","load","change:isEnabled","hasAttribute","editor","sort","page-break","selectNodeContents","ceil"];return(v=function(){return t})()}function y(t){const e=r;return t[e(382)]==Node[e(420)]}function I(t){const e=r;return t[e(382)]==Node[e(367)]}var P=n(673),x=n.n(P),_=n(545),T=n.n(_),A=n(262),E=n.n(A),N=n(667),S=n.n(N),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=E().bind(null,"head"),O.domAPI=T(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function M(){const t=["isVisible","27894zmEkJo","637505PdwdwN","width","15qEufpH","setTemplate","21820RnCwtS","ck-pagination-view-line","438447HvzhfX","top","set","849793EGhyPi","left","bindTemplate","ck-hidden","648292tTIYcw","3377dTCAew","157716bfiEBV","8zcWEqY","div","8PMJJhZ","pageNumber"];return(M=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(364964===-parseInt(e(425))/1+parseInt(e(419))/2*(parseInt(e(409))/3)+-parseInt(e(416))/4+-parseInt(e(427))/5*(-parseInt(e(424))/6)+parseInt(e(412))/7*(-parseInt(e(421))/8)+parseInt(e(418))/9+-parseInt(e(407))/10*(-parseInt(e(417))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const B=(0,o.toUnit)("px");function D(t,e){const n=M();return(D=function(t,e){return n[t-=406]})(t,e)}class G extends e.View{constructor(){const t=D;super();const e=this[t(414)];this[t(411)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(406)]({tag:t(420),attributes:{"data-page-number":e.to(t(422)),class:["ck",t(408),e.if(t(423),t(415),(t=>!t))],style:{left:e.to(t(413),(t=>B(t))),top:e.to(t(410),(t=>B(t))),width:e.to(t(426),(t=>B(t)))}}})}}function K(t,e){const n=j();return(K=function(t,e){return n[t-=248]})(t,e)}const V=K;function j(){const t=["2118354TZZkyY","_viewCollection","isVisible","1295440RytRfs","52700eQOSkn","clear","body","has","871635jIbQaR","1558809AdiUjm","showLine","493584mmmqkv","view","add","66QKApwD","69465FCeqAC","values","_visibleLines","destroy","set","_hiddenLines","delete","setViewCollection","size","cleanLines"];return(j=function(){return t})()}!function(t){const e=K,n=t();for(;;)try{if(343048===parseInt(e(255))/1+-parseInt(e(269))/2*(-parseInt(e(254))/3)+-parseInt(e(268))/4+-parseInt(e(248))/5+parseInt(e(265))/6+-parseInt(e(249))/7+parseInt(e(251))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[V(266)];[V(257)]=new Set;[V(260)]=new Set;constructor(t){const e=V;this[e(266)]=t.ui[e(252)][e(271)]}[V(258)](){const t=V;for(const e of this[t(260)])e[t(258)]()}[V(264)](){const t=V;for(const e of this[t(257)])e[t(267)]=!1,this[t(260)][t(253)](e);this[t(257)][t(270)]()}[V(250)](t,e,n,i){const s=V;let r;this[s(260)][s(263)]?(r=(0,o.first)(this[s(260)][s(256)]()),this[s(260)][s(261)](r)):r=new G,r[s(259)]({pageNumber:i,left:t,top:e,width:n}),r[s(267)]=!0,this[s(266)][s(272)](r)||this[s(266)][s(253)](r),this[s(257)][s(253)](r)}[V(262)](t){this[V(266)]=t}}function z(){const t=["resize","update","editing","scrollToPage","isOfficialPlugin","left","values","width","init","showLine","getComputedStyle","_onUiReady","ready","change:isEnabled","destroy","scrollTo","_paginationLookupPlugin","bind","BODY","_resizeObserver","removeClass","window","scroll","10jxSmjL","_getAttachedDomRoot","isEnabled","_renderPageBreakLines","20QMsBAY","ownerDocument","pluginName","top","set","659ZedyUf","11420739lxWYKw","tagName","5RMMOBN","bottom","length","ck-pagination_enabled","change:pageBreaks","pageNumber","6511928jqDMWX","815310LzLCTg","body","1241805JKJkpQ","PaginationEditing","_toggleEditingRootsClass","_getPageBreakLineOffset","scrollTop","overflowY","listenTo","view","change","auto","push","addClass","linesRepository","scrollLeft","stopListening","9134566TWavgg","once","get","editor","isMotionReduced","cleanLines","document","4958084cSmLcS","offset","smooth","contains","PaginationLookup","plugins","roots","parentElement","excludeScrollbarsAndBorders","domRoots","instant","pageBreaks","setupScrollableAncestor","PaginationRenderer","isPremiumPlugin","_updatePageBreakLines","_scrollableEditingRootDomAncestor","height"];return(z=function(){return t})()}const F=Y;function Y(t,e){const n=z();return(Y=function(t,e){return n[t-=473]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(674203===-parseInt(e(513))/1*(-parseInt(e(508))/2)+parseInt(e(525))/3+parseInt(e(547))/4*(parseInt(e(516))/5)+-parseInt(e(523))/6+-parseInt(e(540))/7+-parseInt(e(522))/8+-parseInt(e(514))/9*(-parseInt(e(504))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);const q=F(519);class W extends t.Plugin{[F(537)];[F(479)]=null;[F(500)]=null;[F(497)];static get[F(510)](){return F(476)}static get[F(485)](){return!0}static get[F(477)](){return!0}[F(489)](){const t=F;this[t(512)]({pageNumber:1}),this[t(537)]=new U(this[t(543)]),this[t(479)]=null,this[t(500)]=null,this[t(497)]=this[t(543)][t(552)][t(542)](t(551)),this[t(498)](t(506)).to(this[t(543)][t(552)][t(542)](t(526))),this[t(543)].ui[t(541)](t(493),(()=>this[t(492)]())),this[t(527)](q),this.on(t(494),((e,n,i)=>{const o=t;i||this[o(537)][o(545)](),this[o(527)](q,i)}))}[F(495)](){const t=F;this[t(527)](q,!1),this[t(537)][t(495)](),this[t(479)]=null,this[t(500)]&&this[t(500)][t(495)]()}[F(484)](t){const e=F;if(!this[e(506)])return;const n=t>1?this[e(528)](t-1):0;this[e(479)][e(496)]({top:n-10,left:this[e(479)][e(538)],behavior:o.env[e(544)]?e(473):e(549)})}[F(475)](){const t=F,e=this[t(543)],n=this[t(505)]();n?(this[t(479)]&&e.ui[t(532)][t(539)](this[t(479)],t(503)),this[t(479)]=function(e){const n=t;let i=e;do{i=i[n(554)];const t=o.global[n(502)][n(491)](i)[n(530)];if(n(534)==t||n(503)==t)break}while(n(499)!=i[n(515)]);return i}(n),e.ui[t(532)][t(531)](this[t(479)],t(503),(()=>{this[t(478)]()}),{usePassive:!0}),this[t(500)]&&this[t(500)][t(495)](),this[t(500)]=new o.ResizeObserver(this[t(479)],(()=>{this[t(478)]()}))):e.ui[t(541)](t(482),(()=>this[t(475)]()))}[F(492)](){const t=F,e=this[t(543)];this[t(505)]()?(this[t(475)](),e.ui[t(532)][t(531)](o.global[t(502)],t(481),(()=>this[t(478)]())),this[t(531)](this[t(497)],t(520),(()=>this[t(478)]()))):e.ui[t(541)](t(482),(()=>this[t(492)]()))}[F(505)](){const t=F;for(const e of this[t(543)][t(483)][t(532)][t(556)][t(487)]())if(e[t(509)][t(524)][t(550)](e))return e;return null}[F(478)](){const t=F;if(!this[t(506)])return;const e=this[t(505)](),n=this[t(497)][t(474)];if(this[t(537)][t(545)](),!e||1==n[t(518)])return void(this[t(521)]=1);const i=new o.Rect(e)[t(555)](),s=new o.Rect(this[t(479)])[t(555)](),r=s[t(511)]+s[t(480)]/3;let a=!1;const c=[];for(let e=1;e<n[t(518)];e++){const n=this[t(528)](e,s);if(!n)continue;const o=s[t(511)]+n-this[t(479)][t(529)];c[t(535)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(521)]=e,a=!0)}this[t(507)](c),a||(this[t(521)]=n[t(518)])}[F(507)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(502)];if(t[e(518)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(511)]<s&&s<o[e(517)]&&this[e(537)][e(490)](r[e(486)]+n,s+i,r[e(488)],a+1)}[F(528)](t,e=null){const n=F,i=this[n(497)][n(474)][t][n(548)];return i?(e||(e=new o.Rect(this[n(479)])[n(555)]()),i-e[n(511)]+this[n(479)][n(529)]):0}[F(527)](t,e=!0){const n=F,i=this[n(543)][n(483)][n(532)];i[n(533)]((o=>{const s=n;for(const n of i[s(546)][s(553)])e?o[s(536)](t,n):o[s(501)](t,n)}))}}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 Q=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=S(),Z.insert=E().bind(null,"head"),Z.domAPI=T(),Z.insertStyleElement=C();x()(Q.A,Z);Q.A&&Q.A.locals&&Q.A.locals;const J=X;function X(t,e){const n=$();return(X=function(t,e){return n[t-=306]})(t,e)}function $(){const t=["consumable","init","requires","createPositionAt","getFillerOffset","_showLicenseError","change:pageBreaks","_updatePageBreakMarkers","dataDowncast","pagination:","conversion","change","editing","has","length","_licenseKeyCheckInterval","view","Keystrokes for navigating through documents","paginationLicenseKeyUsageLimit","29407NYdMjE","addKeystrokeInfoGroup","PaginationEditing","_setUpDataDowncastConversion","setSelection","updateMarker","text","element","expired","paginationLicenseKeyNotAllowed","licenseKey","data-pagination-page","parent","stop","paginationLicenseKeyDomainLimit","trialLimit","page-break-before","always","moveSelectionToPage","getContainedElement","Shift+Pageup","nodeAfter","mapper","checkChild","goToNextPage","Go to the next page (also move selection)","paginationLicenseKeyExpired","128NesStk","4177152OIApdY","evaluationLimit","add","usageLimit","setAttribute","page-break","getNearestSelectionRange","offset","modelRange","23510135yAQHNo","pagination","removeMarker","6ywpQpq","10YWHZeW","invalid","root","for","keystrokes","insert","destroy","bind","listenTo","hasClass","isOfficialPlugin","paginationLicenseKeyTrialLimit","set","scrollToPage","plugins","consume","Go to the previous page (also move selection)","addMarker","toViewElement","config","end","type","locale","paginationLicenseKeyEvaluationLimit","5291487fLwxXf","12321MQCDGE","index","pluginName","markers","manual","createContainerElement","goToPreviousPage","span","focus","name","bindElementToMarker","totalPages","featureNotAllowed","Pagination","model","options","pageBreaks","1141823VKKlDa","schema","accessibility","forward","toViewPosition","_setupKeystrokes","4043450bacruO","domainLimit","editor","writer","get","paginationLicenseKeyInvalid","pageNumber","618AkKVcr","setStyle","_validatePageNumber","data","Shift+Pagedown","isEnabled","substring","$text","paginationLicenseKeyValid","isPremiumPlugin","start","textNode","addMarker:"];return($=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(812226===parseInt(e(328))/1+parseInt(e(341))/2*(-parseInt(e(311))/3)+-parseInt(e(401))/4+-parseInt(e(334))/5*(parseInt(e(413))/6)+-parseInt(e(373))/7*(-parseInt(e(400))/8)+parseInt(e(310))/9+parseInt(e(414))/10*(parseInt(e(410))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[J(383)];[J(369)];static get[J(313)](){return J(375)}static get[J(424)](){return!0}static get[J(350)](){return!0}static get[J(356)](){return[a,W]}[J(355)](){const t=J;this[t(426)]({pageNumber:1,totalPages:1});const e=this[t(336)][t(428)][t(338)](t(324)),n=this[t(336)][t(428)][t(338)](a),i=this[t(336)][t(428)][t(338)](W);this[t(421)](t(346)).to(e),this[t(376)](),this[t(421)](t(340)).to(i),this[t(422)](n,t(360),((e,n,i,o)=>{const s=t;this[s(322)]=i[s(368)],this[s(361)](i,o)})),this[t(333)](),this[t(383)]=this[t(336)][t(433)][t(338)](t(383));const o=this[t(336)];this[t(369)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(349)==s||e(339)==s||e(399)==s||e(387)==s||e(382)==s||e(309)==s||e(425)==s||e(372)==s){delete o[i],n=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(339)==n&&o[e(359)](e(415)),e(399)==n&&o[e(359)](e(381)),e(387)==n&&o[e(359)](e(335)),e(382)==n&&o[e(359)](e(323),e(324)),e(309)==n&&o[e(359)](e(402)),e(425)==n&&o[e(359)](e(388)),e(372)==n&&o[e(359)](e(404))}),1e3)}[J(420)](){const t=J;super[t(420)](),this[t(369)]&&clearInterval(this[t(369)])}[J(427)](t){const e=J;this[e(346)]&&this[e(336)][e(428)][e(338)](W)[e(427)](this[e(343)](t))}[J(391)](t){const e=J;if(!this[e(346)])return;const n=this[e(336)],i=this[e(336)][e(428)][e(338)](a)[e(327)][t-1];i&&n[e(325)][e(365)]((t=>{const o=e;switch(i[o(307)]){case o(315):{const e=n[o(325)][o(329)][o(407)](i[o(409)][o(306)],o(331));t[o(377)](e);break}case o(380):{const e=n[o(325)][o(329)][o(407)](i[o(409)][o(351)],o(331));t[o(377)](e);break}case o(379):{const e=i[o(409)][o(351)];if(" "===e[o(352)][o(344)][e[o(408)]]){const n=t[o(357)](e[o(385)],e[o(408)]+1);t[o(377)](n)}else t[o(377)](i[o(409)])}}n[o(366)][o(370)][o(319)]()}))}[J(397)](){const t=J,e=this[t(343)](this[t(340)]+1);this[t(391)](e),this[t(427)](e)}[J(317)](){const t=J,e=this[t(343)](this[t(340)]-1);this[t(391)](e),this[t(427)](e)}[J(361)](t,e){const n=J,i=this[n(336)][n(325)];this[n(346)]&&i[n(365)]((o=>{const s=n;for(let e=1;e<t[s(368)];e++){const n=t[e][s(409)],r=s(363)+(e+1);i[s(314)][s(367)](r)?o[s(378)](r,{range:n}):o[s(431)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(368)];n<e[s(368)];n++){const t=s(363)+(n+1);i[s(314)][s(367)](t)&&o[s(412)](t)}}))}[J(376)](){const t=J,e=t(411);this[t(336)][t(364)][t(417)](t(362))[t(403)]((n=>{const i=t;n.on(i(353)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(326)][s(411)])return;if(!o[s(354)][s(429)](e,t[s(320)]))return;const r=e[s(392)]();let a=r?o[s(395)][s(432)](r):null;if(!a){const t=e[s(351)];if(o[s(329)][s(396)](t,s(348))){const e=o[s(395)][s(332)](t);a=o[s(337)][s(316)](s(318)),a[s(358)]=()=>null,o[s(337)][s(419)](e,a)}else{const e=t[s(394)];a=o[s(395)][s(432)](e)}}for(;a[s(385)]!==a[s(416)]&&0===a[s(312)];)a=a[s(385)];const c=n[s(347)](11);a[s(423)](s(406))||(o[s(337)][s(342)](s(389),s(390),a),o[s(337)][s(405)](s(384),c,a),o[s(395)][s(321)](a,n)),t[s(386)]()}))}))}[J(333)](){const t=J,e=this[t(336)];e[t(418)][t(426)](t(393),((e,n)=>{this[t(317)](),n()})),e[t(418)][t(426)](t(345),((e,n)=>{this[t(397)](),n()})),e[t(330)][t(374)]({id:t(411),label:H(e[t(308)],t(371)),keystrokes:[{label:H(e[t(308)],t(430)),keystroke:t(393),mayRequireFn:!0},{label:H(e[t(308)],t(398)),keystroke:t(345),mayRequireFn:!0}]})}[J(343)](t){const e=J;return t<1&&(t=1),t>this[e(322)]&&(t=this[e(322)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=E().bind(null,"head"),it.domAPI=T(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;!function(t){const e=rt,n=t();for(;;)try{if(274490===parseInt(e(249))/1+-parseInt(e(254))/2*(parseInt(e(258))/3)+parseInt(e(261))/4*(-parseInt(e(275))/5)+parseInt(e(285))/6*(-parseInt(e(281))/7)+-parseInt(e(288))/8*(-parseInt(e(286))/9)+parseInt(e(277))/10+parseInt(e(251))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class st extends e.View{[ot(284)];constructor(t){const n=ot;super(t);const i=this[n(279)];this[n(269)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(284)]=new e.InputNumberView(t,{min:1,step:1}),this[n(284)][n(269)]({inputMode:n(274),tabIndex:-1}),this[n(284)][n(273)](n(253)).to(this,n(248),(e=>H(t,n(265),e))),this[n(284)][n(273)](n(245)).to(this,n(248)),this[n(284)][n(273)](n(266)).to(this,n(282),(t=>!t)),this[n(256)]({tag:n(259),attributes:{class:["ck",n(257),i.if(n(282),n(290),(t=>!t))]},children:[this[n(284)],{tag:n(255),children:[{text:i.to(n(248))}]}]})}[ot(280)](){const t=ot;super[t(280)]();const e=this[t(284)][t(292)],n=e=>{const n=t;this[n(284)][n(292)][n(252)]=String(e)};n(this[t(263)]),this.on(t(268),((t,e,i)=>{n(i)})),this[t(267)](e,t(260),((n,i)=>{const s=t;if(s(271)===i[s(270)]||s(264)===i[s(270)])return void i[s(244)]();if(i[s(291)]!==o.keyCodes[s(278)])return;i[s(262)]();const r=e[s(246)];Number[s(247)](r)?e[s(252)]=String(this[s(263)]):(e[s(293)]()?this[s(263)]=r:r>this[s(248)]?(this[s(263)]=this[s(248)],e[s(252)]=String(this[s(248)])):(this[s(263)]=1,e[s(252)]="1"),this[s(289)](s(283),this[s(263)]))})),this[t(267)](e,t(272),(()=>{const n=t;e[n(252)]=String(this[n(263)])})),this[t(267)](e,t(250),(()=>{const e=t;this[e(284)][e(287)]()}))}[ot(250)](){const t=ot;this[t(292)][t(276)][t(250)]()}}function rt(t,e){const n=at();return(rt=function(t,e){return n[t-=244]})(t,e)}function at(){const t=["ArrowUp","blur","bind","numeric","10WEAbUP","firstChild","1089480UPVYzM","enter","bindTemplate","render","19838NTSMYg","isEnabled","navigation","pageNumberView","78jREkII","9akdYXJ","select","111352tYUhwo","fire","ck-disabled","keyCode","element","checkValidity","stopPropagation","max","valueAsNumber","isNaN","totalPages","347340UnZgKF","focus","1717463WTIwzP","value","ariaLabel","202288ulPQIA","span","setTemplate","ck-page-navigator","9fADGGV","div","keydown","23152oOBchx","preventDefault","pageNumber","ArrowDown","Current page number (from 1 to %0)","isReadOnly","listenTo","change:pageNumber","set","key"];return(at=function(){return t})()}function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=292]})(t,e)}const ut=ct;function lt(){const t=["bind","48605LsZQzv","keystroke","pageNavigation","isEnabled","icon","8FOfquo","previousPage","PaginationUI","nextPage","2361472Sksfyc","goToPreviousPage","702JqLYyP","editor","Shift+PageUp","totalPages","15159529UYbYUf","get","execute","add","320918HlTbGI","tooltip","componentFactory","locale","listenTo","Go to next page","label","12zmThRa","scrollToPage","init","12417630RTCJgt","moveSelectionToPage","Shift+PageDown","goToNextPage","Go to previous page","navigation","9kProWq","pageNumber","isPremiumPlugin","plugins","isOfficialPlugin","1392394nuziVW","PaginationEditing","pluginName","6037619urOPZc"];return(lt=function(){return t})()}!function(t){const e=ct,n=t();for(;;)try{if(761100===parseInt(e(294))/1+-parseInt(e(318))/2*(-parseInt(e(325))/3)+parseInt(e(308))/4+-parseInt(e(299))/5*(parseInt(e(310))/6)+parseInt(e(297))/7*(-parseInt(e(304))/8)+parseInt(e(334))/9*(-parseInt(e(328))/10)+parseInt(e(314))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ut(296)](){return ut(306)}static get[ut(293)](){return!0}static get[ut(336)](){return!0}[ut(327)](){const t=ut,n=this[t(311)],i=n[t(292)][t(315)](t(295));n.ui[t(320)][t(317)](t(301),(e=>{const n=t,o=new st(e);return o[n(298)](n(335)).to(i),o[n(298)](n(313)).to(i),o[n(298)](n(302)).to(i),o.on(n(333),((t,e)=>{const o=n;i[o(329)](e),i[o(326)](e)})),o})),n.ui[t(320)][t(317)](t(307),(o=>{const s=t,r=new e.ButtonView(o);return r[s(302)]=!0,r[s(324)]=H(n[s(321)],s(323)),r[s(303)]=et.IconArrowDown,r[s(319)]=!0,r[s(300)]=s(330),r[s(298)](s(302)).to(i),this[s(322)](r,s(316),(()=>{i[s(331)]()})),r})),n.ui[t(320)][t(317)](t(305),(o=>{const s=t,r=new e.ButtonView(o);return r[s(302)]=!0,r[s(324)]=H(n[s(321)],s(332)),r[s(303)]=et.IconArrowUp,r[s(319)]=!0,r[s(300)]=s(312),r[s(298)](s(302)).to(i),this[s(322)](r,s(316),(()=>{i[s(309)]()})),r}))}}function ft(){const t=["126BMZuOi","init","pluginName","isPremiumPlugin","isOfficialPlugin","68tmYdBJ","6976674QXkCsT","2fMLvZF","get","config","pageNumber","isBlink","bind","11341AJIZBE","3618759kUmMDv","browserCheck","editor","1627992lqrZWA","4830hHPHcy","596248FnifTe","totalPages","forceDisabled","Pagination","22210xkMtHz","486448MMmFzo","set","pagination.enableOnUnsupportedBrowsers","requires","plugins","scrollToPage","isEnabled","ready"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=235]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(691386===parseInt(e(261))/1+parseInt(e(244))/2*(-parseInt(e(251))/3)+parseInt(e(242))/4*(parseInt(e(260))/5)+parseInt(e(254))/6+-parseInt(e(237))/7*(-parseInt(e(256))/8)+-parseInt(e(243))/9+-parseInt(e(255))/10*(-parseInt(e(250))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(239)](){return ht(259)}static get[ht(241)](){return!0}static get[ht(240)](){return!0}static get[ht(264)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(235)]=!1}[ht(238)](){const t=ht;this[t(262)]({pageNumber:1,totalPages:1});const e=this[t(253)][t(265)][t(245)](tt);this[t(249)](t(247)).to(e),this[t(249)](t(257)).to(e),o.env[t(248)]||this[t(253)][t(246)][t(245)](t(263))?this[t(253)].on(t(236),(()=>{this[t(235)]=!0})):this[t(258)](t(252))}[ht(266)](t){const e=ht;this[e(253)][e(265)][e(245)](tt)[e(266)](t)}}function mt(){var t=["845590eUZqyM","3247470exLEpP","191555CYgIDQ","1424480ahFEfI","176dlQzaf","627546XbiqEW","2722215zlwlzG","644760CFproC"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=421]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(481375===-parseInt(e(426))/1+parseInt(e(427))/2+parseInt(e(425))/3+-parseInt(e(422))/4+parseInt(e(428))/5+parseInt(e(424))/6+parseInt(e(421))/7*(-parseInt(e(423))/8))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 _0x2c3b7f}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x39e8d0,InputNumberView as _0x5c8972,ButtonView as _0x31196a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x31209b,Rect as _0x5cbc76,global as _0x3fc105,uid as _0x39eb8d,toUnit as _0x1171e1,first as _0xf664d9,env as _0x486b25,ResizeObserver as _0x3ef17f,keyCodes as _0x38a67f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x4999b2}from'es-toolkit/compat';import{IconArrowDown as _0x3ad0e6,IconArrowUp as _0x302d78}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x2c3b7f{['_recalculatePageBreaksDebounced']=_0x4999b2(()=>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 _0x31209b('pagination-config-not-found',this['editor']['config']);const _0xff564b=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xff564b),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x17bd44,_0x897b0c,_0x2aac7a)=>{_0x2aac7a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x457969){const _0x57e948=_0x2275f9([0x53,0x54,0x68,0x4c,0x41,0x30,0x56,0x52,0x45,0x6f,0x43,0x4a,0x76,0x42,0x46,0x63,0x7a,0x70,0x62,0x6b,0x39,0x4d,0x31,0x4e,0x67,0x4f,0x79,0x74,0x73,0x6c,0x75,0x64,0x6d,0x71,0x44,0x65,0x58,0x77,0x47,0x33,0x4b,0x55,0x48,0x35,0x69,0x66,0x6e,0x32,0x6a,0x78,0x5a,0x37,0x72,0x61,0x51,0x59,0x36,0x38,0x50,0x49,0x34,0x57]),_0x4b88e6=0x2d5e011,_0x45e332=0x2d28341^_0x4b88e6,_0x2561f3=window[_0x2275f9([0x44,0x61,0x74,0x65])][_0x2275f9([0x6e,0x6f,0x77])](),_0x28eaf6=_0x457969[_0x2275f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1786c4=new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x292455=>{_0x28eaf6[_0x2275f9([0x6f,0x6e,0x63,0x65])](_0x2275f9([0x72,0x65,0x61,0x64,0x79]),_0x292455);}),_0x20cbe8={[_0x2275f9([0x6b,0x74,0x79])]:_0x2275f9([0x45,0x43]),[_0x2275f9([0x75,0x73,0x65])]:_0x2275f9([0x73,0x69,0x67]),[_0x2275f9([0x63,0x72,0x76])]:_0x2275f9([0x50,0x2d,0x32,0x35,0x36]),[_0x2275f9([0x78])]:_0x2275f9([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]),[_0x2275f9([0x79])]:_0x2275f9([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]),[_0x2275f9([0x61,0x6c,0x67])]:_0x2275f9([0x45,0x53,0x32,0x35,0x36])},_0xe2e4f=_0x28eaf6[_0x2275f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2275f9([0x67,0x65,0x74])](_0x2275f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192c13(){let _0x362f78,_0x74e222=null,_0x33e6ef=null;try{if(_0xe2e4f==_0x2275f9([0x47,0x50,0x4c]))return _0x2275f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x362f78=_0xded7b2(),!_0x362f78)return _0x2275f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x362f78[_0x2275f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33e6ef=_0x3aa43c(_0x362f78[_0x2275f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x362f78[_0x2275f9([0x6a,0x74,0x69])])),await _0x5b1458()?_0x398941()?_0x28913e()?_0x2275f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43d067()?(_0x362f78[_0x2275f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2275f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x74e222=_0x14e0db(_0x2275f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x362f78[_0x2275f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2275f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x74e222=_0x14e0db(_0x2275f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e1b22()):_0x2275f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2275f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2275f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d3883){return _0x2275f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28913e(){const _0x3a8cf4=[_0x2275f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2275f9([0x74,0x72,0x69,0x61,0x6c])][_0x2275f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x362f78[_0x2275f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2561f3/0x3e8:0xe10*_0x45e332;return _0x362f78[_0x2275f9([0x65,0x78,0x70])]<_0x3a8cf4;}function _0x398941(){const _0x3512ee=_0x362f78[_0x2275f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3512ee&&(!!_0x3512ee[_0x2275f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2275f9([0x2a]))||!!_0x3512ee[_0x2275f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2275f9([0x50,0x41,0x47])));}function _0x43d067(){const _0x5c6b39=_0x362f78[_0x2275f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c6b39||0x0==_0x5c6b39[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e5217}=new URL(window[_0x2275f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c6b39[_0x2275f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5217))return!0x0;const _0x34af65=_0x2e5217[_0x2275f9([0x73,0x70,0x6c,0x69,0x74])](_0x2275f9([0x2e]));return _0x5c6b39[_0x2275f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454ef2=>_0x454ef2[_0x2275f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2275f9([0x2a])))[_0x2275f9([0x6d,0x61,0x70])](_0xcd9a1f=>_0xcd9a1f[_0x2275f9([0x73,0x70,0x6c,0x69,0x74])](_0x2275f9([0x2e])))[_0x2275f9([0x73,0x6f,0x6d,0x65])](_0x2cfe17=>_0x34af65[_0x2275f9([0x65,0x76,0x65,0x72,0x79])]((_0x57b2e0,_0x4377ed)=>_0x2cfe17[_0x4377ed]===_0x57b2e0||_0x2cfe17[_0x4377ed]===_0x2275f9([0x2a])));}function _0x1e1b22(){return _0x74e222&&_0x33e6ef?new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb0e8ea,_0x4e0440)=>{_0x74e222[_0x2275f9([0x74,0x68,0x65,0x6e])](_0xb0e8ea,_0x4e0440),_0x33e6ef[_0x2275f9([0x74,0x68,0x65,0x6e])](_0x1b7e61=>{_0x1b7e61!=_0x2275f9([0x56,0x61,0x6c,0x69,0x64])&&_0xb0e8ea(_0x1b7e61);},_0x4e0440);}):_0x74e222||_0x33e6ef||_0x2275f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3aa43c(_0x2f1f04,_0xf0272b){return new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc3f2=>{if(_0x3991dc())return _0x3bc3f2(_0x2275f9([0x56,0x61,0x6c,0x69,0x64]));_0x60a984(),_0x28eaf6[_0x2275f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2275f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a61fa=!0x1;const _0x1a23b5=_0x39eb8d();function _0x304687(_0x41f0ca){return!!_0x41f0ca&&(typeof _0x41f0ca===_0x2275f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41f0ca===_0x2275f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41f0ca[_0x2275f9([0x74,0x68,0x65,0x6e])]===_0x2275f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41f0ca[_0x2275f9([0x63,0x61,0x74,0x63,0x68])]===_0x2275f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b9228(_0x463d65){_0x4a70d3(_0x463d65)[_0x2275f9([0x74,0x68,0x65,0x6e])](_0x57e28d=>{if(!_0x57e28d||_0x57e28d[_0x2275f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2275f9([0x6f,0x6b]))return _0x2275f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x731ad(_0x559a7c(_0x1a23b5+_0xf0272b))!=_0x57e28d[_0x2275f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2275f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2275f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2275f9([0x74,0x68,0x65,0x6e])](_0x1e2fa4=>(_0x450a8e(),_0x1e2fa4),()=>{const _0x2cbec4=_0x2e9401();return null==_0x2cbec4?(_0x450a8e(),_0x2275f9([0x56,0x61,0x6c,0x69,0x64])):_0x2275f9(_0x2561f3-_0x2cbec4>(0x26d96411^_0x4b88e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2275f9([0x74,0x68,0x65,0x6e])](_0x3bc3f2)[_0x2275f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3bc3f2(_0x2275f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f0fe4=0x2e30e91^_0x4b88e6;function _0x450a8e(){const _0x4cf4fa=_0x2275f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x731ad(_0x559a7c(_0x2f1f04)),_0x16de7e=_0xc2487e(_0x731ad(window[_0x2275f9([0x4d,0x61,0x74,0x68])][_0x2275f9([0x63,0x65,0x69,0x6c])](_0x2561f3/_0x4f0fe4)));window[_0x2275f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2275f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cf4fa,_0x16de7e);}function _0x2e9401(){const _0x17637b=_0x2275f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x731ad(_0x559a7c(_0x2f1f04)),_0x52540c=window[_0x2275f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2275f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17637b);return _0x52540c?window[_0x2275f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2487e(_0x52540c),0x10)*_0x4f0fe4:null;}function _0x4a70d3(_0x57c939){return new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5dbd03,_0xf28146)=>{_0x57c939[_0x2275f9([0x74,0x68,0x65,0x6e])](_0x5dbd03,_0xf28146),window[_0x2275f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf28146,0x2d434d1^_0x4b88e6);});}}_0x28eaf6[_0x2275f9([0x6f,0x6e])](_0x2275f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3cc0c1,_0x4ad843)=>{if(_0x4ad843[0x0]!=_0x2f1f04)return _0x3bc3f2(_0x2275f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ad843[0x1]={..._0x4ad843[0x1],[_0x2275f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a23b5};},{[_0x2275f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2275f9([0x68,0x69,0x67,0x68])}),_0x28eaf6[_0x2275f9([0x6f,0x6e])](_0x2275f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ed4e3=>{_0x304687(_0x4ed4e3[_0x2275f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a61fa=!0x0,_0x5b9228(_0x4ed4e3[_0x2275f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2275f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2275f9([0x6c,0x6f,0x77])}),_0x1786c4[_0x2275f9([0x74,0x68,0x65,0x6e])](()=>{_0x2a61fa||_0x3bc3f2(_0x2275f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3991dc(){return _0x28eaf6[_0x2275f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2275f9([0x76,0x69,0x65,0x77])][_0x2275f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2275f9([0x61,0x75,0x74,0x6f]);}function _0x60a984(){_0x28eaf6[_0x2275f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2275f9([0x76,0x69,0x65,0x77])][_0x2275f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2275f9([0x61,0x75,0x74,0x6f]);}}function _0x14e0db(_0x241b1e){const _0x264f08=[new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ce307=>setTimeout(_0x5ce307,0x2dcdedd^_0x4b88e6)),_0x1786c4[_0x2275f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19cf4e=>{let _0x2c9ddc=0x0;_0x28eaf6[_0x2275f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2275f9([0x6f,0x6e])](_0x2275f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d88d2,_0x37cdac)=>{_0x37cdac[0x0][_0x2275f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c9ddc++,_0x2c9ddc==(0x2d5e1e9^_0x4b88e6)&&(_0x19cf4e(),_0x4d88d2[_0x2275f9([0x6f,0x66,0x66])]());});}))];return window[_0x2275f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2275f9([0x72,0x61,0x63,0x65])](_0x264f08)[_0x2275f9([0x74,0x68,0x65,0x6e])](()=>_0x241b1e);}async function _0x4a975c(){await _0x1786c4,_0x28eaf6[_0x2275f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2275f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59fc93,_0x28eaf6[_0x2275f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2275f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59fc93,_0x28eaf6[_0x2275f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2275f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x556e9d(_0x224efa){const _0x2f888f=_0x18b146();_0x28eaf6[_0x2f888f]=_0x2275f9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x224efa,_0x224efa!=_0x2275f9([0x56,0x61,0x6c,0x69,0x64])&&_0x4a975c();}function _0x18b146(){const _0x18d68a=window[_0x2275f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2275f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2275f9([0x6e,0x6f,0x77])]())[_0x2275f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2275f9([0x2e]),'');let _0x13ee20=_0x2275f9([0x53]);for(let _0x11b7d8=0x0;_0x11b7d8<_0x18d68a[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11b7d8+=0x2){let _0x5011b1=window[_0x2275f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18d68a[_0x2275f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11b7d8,_0x11b7d8+0x2));_0x5011b1>=_0x57e948[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5011b1-=_0x57e948[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13ee20+=_0x57e948[_0x5011b1];}return _0x13ee20;}function _0xded7b2(){const _0x4a80b4=_0xe2e4f[_0x2275f9([0x73,0x70,0x6c,0x69,0x74])](_0x2275f9([0x2e]));if(0x3!=_0x4a80b4[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52db4b(_0x4a80b4[0x1]);function _0x52db4b(_0x4c95ad){const _0x4a59dc=_0x51b190(_0x4c95ad);return _0x4a59dc&&_0x423324()?_0x4a59dc:null;function _0x423324(){const _0x4c41b0=_0x4a59dc[_0x2275f9([0x6a,0x74,0x69])],_0x1ba04a=window[_0x2275f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c41b0[_0x2275f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c41b0[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12e4a2={..._0x4a59dc,[_0x2275f9([0x6a,0x74,0x69])]:_0x4c41b0[_0x2275f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c41b0[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12e4a2[_0x2275f9([0x76,0x63])],_0x559a7c(_0x12e4a2)==_0x1ba04a;}}}async function _0x5b1458(){let _0x328463=!0x0;try{const _0x5b1192=_0xe2e4f[_0x2275f9([0x73,0x70,0x6c,0x69,0x74])](_0x2275f9([0x2e])),[_0xbd9ca3,_0x255d03,_0x47fe84]=_0x5b1192;return _0x1438d1(_0xbd9ca3),await _0x4542dd(_0xbd9ca3,_0x255d03,_0x47fe84),_0x328463;}catch(_0xc961bd){return!0x1;}function _0x1438d1(_0x3d3782){const _0x377ac9=_0x51b190(_0x3d3782);_0x377ac9&&_0x377ac9[_0x2275f9([0x61,0x6c,0x67])]==_0x2275f9([0x45,0x53,0x32,0x35,0x36])||(_0x328463=!0x1);}async function _0x4542dd(_0x26eadf,_0x4d2516,_0x58d945){const _0x178178=window[_0x2275f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2275f9([0x66,0x72,0x6f,0x6d])](_0x312c23(_0x58d945),_0x40a8d0=>_0x40a8d0[_0x2275f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x313435=new window[(_0x2275f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2275f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26eadf+_0x2275f9([0x2e])+_0x4d2516),_0x612cfd=window[_0x2275f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2275f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x612cfd)return;const _0x417696=await _0x612cfd[_0x2275f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2275f9([0x6a,0x77,0x6b]),_0x20cbe8,{[_0x2275f9([0x6e,0x61,0x6d,0x65])]:_0x2275f9([0x45,0x43,0x44,0x53,0x41]),[_0x2275f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2275f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2275f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x612cfd[_0x2275f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2275f9([0x6e,0x61,0x6d,0x65])]:_0x2275f9([0x45,0x43,0x44,0x53,0x41]),[_0x2275f9([0x68,0x61,0x73,0x68])]:{[_0x2275f9([0x6e,0x61,0x6d,0x65])]:_0x2275f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x417696,_0x178178,_0x313435)||(_0x328463=!0x1);}}function _0x51b190(_0x85e454){return _0x85e454[_0x2275f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2275f9([0x65,0x79]))?JSON[_0x2275f9([0x70,0x61,0x72,0x73,0x65])](_0x312c23(_0x85e454)):null;}function _0x312c23(_0x540bf5){return window[_0x2275f9([0x61,0x74,0x6f,0x62])](_0x540bf5[_0x2275f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2275f9([0x2b]))[_0x2275f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2275f9([0x2f])));}function _0x559a7c(_0x16bb95){let _0x29b685=0x1505;function _0x511c60(_0x217811){for(let _0x43c25f=0x0;_0x43c25f<_0x217811[_0x2275f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43c25f++){const _0x413f94=_0x217811[_0x2275f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43c25f);_0x29b685=(_0x29b685<<0x5)+_0x29b685+_0x413f94,_0x29b685&=_0x29b685;}}function _0x15fc34(_0x2db3c2){Array[_0x2275f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2db3c2)?_0x2db3c2[_0x2275f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15fc34):_0x2db3c2&&typeof _0x2db3c2==_0x2275f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2275f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2db3c2)[_0x2275f9([0x73,0x6f,0x72,0x74])]()[_0x2275f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d8f4d,_0x5d81cb])=>{_0x511c60(_0x5d8f4d),_0x15fc34(_0x5d81cb);}):_0x511c60(window[_0x2275f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2db3c2));}return _0x15fc34(_0x16bb95),_0x29b685>>>0x0;}function _0x731ad(_0x2ca17a){return _0x2ca17a[_0x2275f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2275f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2275f9([0x30]));}function _0xc2487e(_0x36ed1d){return _0x36ed1d[_0x2275f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2275f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2275f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x59fc93(){}function _0x2275f9(_0x3a475a){return _0x3a475a['map'](_0x3eac8f=>String['fromCharCode'](_0x3eac8f))['join']('');}_0x556e9d(await _0x192c13());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x269f9f=this['editor'],_0x40344f=_0x269f9f['editing']['view'],_0x1360a6=this['_getAttachedDomRoot']();if(!_0x1360a6||0x0===_0x1360a6['childElementCount'])return void _0x269f9f['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x262397,pageHeight:_0x5b540e}=_0x269f9f['config']['get']('pagination'),{top:_0x398bac,left:_0x551f0e,bottom:_0x478daf,right:_0x22aa89}=this['_configuredPaddings'];this['_pagesContainer']=new _0x39e8d0(_0x269f9f['locale']);const _0x1ad0de=this['_pagesContainer'];_0x1ad0de['set']('class',''),_0x1ad0de['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x262397,'width':_0x262397,'height':'calc(\x20'+_0x5b540e+'\x20-\x20'+_0x398bac+'\x20-\x20'+_0x478daf+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x22aa89+'\x200\x20'+_0x551f0e,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x1ad0de['bindTemplate']['to']('class')}}),_0x1ad0de['render'](),_0x1360a6['parentNode']['insertBefore'](_0x1ad0de['element'],_0x1360a6['nextSibling']),this['listenTo'](_0x40344f,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x27fcde of this['editor']['editing']['view']['domRoots']['values']())if(_0x27fcde['ownerDocument']['body']['contains'](_0x27fcde))return _0x27fcde;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4fcca3=this['editor']['editing']['view'],_0x424185=this['_pagesContainer'],_0x193b9e=this['_getAttachedDomRoot']();if(!_0x193b9e)return Promise['resolve']();for(_0x424185['class']=['ck-reset','ck-pagination-view',..._0x193b9e['classList']]['join']('\x20');_0x424185['element']['firstChild'];)_0x424185['element']['firstChild']['remove']();const _0x105b2e=Array['from'](_0x4fcca3['domRoots']);_0x105b2e['sort'](([,_0x384fa4],[,_0x4a7663])=>_0x384fa4['compareDocumentPosition'](_0x4a7663)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x28aedf,_0x776ec6]of _0x105b2e){const _0x3ecc49=_0x776ec6['cloneNode'](!0x0);'attributeStyleMap'in _0x3ecc49&&_0x3ecc49['attributeStyleMap']['clear'](),_0x3ecc49['className']='',_0x3ecc49['removeAttribute']('id'),_0x3ecc49['dataset']['rootName']=_0x28aedf,_0x424185['element']['append'](_0x3ecc49);}return function(_0x58e45d){return Promise['all'](_0x58e45d['map'](_0x355b41=>Promise['race']([p(_0x355b41),y(0x3e8)])));}(Array['from'](_0x424185['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x37dc02=this['_pagesContainer']['element'];if(!_0x37dc02['ownerDocument']['body']['contains'](_0x37dc02))return;const _0x4f9062=new _0x5cbc76(_0x37dc02)['excludeScrollbarsAndBorders'](),_0xaad0ec=_0x3fc105['window']['getComputedStyle'](_0x37dc02),_0x111240=parseFloat(_0xaad0ec['paddingLeft'])+parseFloat(_0xaad0ec['paddingRight']),_0x476954=Math['floor'](_0x4f9062['width']+0x64-_0x111240),_0x4dbbf8=x(_0x37dc02,Math['floor'](_0x4f9062['left']-_0x37dc02['scrollLeft']),_0x476954,_0x4f9062['height'])['map'](_0x55a834=>this['_mapPageStarterInfoToPageBreakInfo'](_0x55a834));_0x4dbbf8['every'](_0x516185=>!!_0x516185)&&(this['pageBreaks']=_0x4dbbf8);}['_mapPageStarterInfoToPageBreakInfo'](_0x45952c){const _0x2567bc=this['editor']['editing']['view'],_0x3b870b=this['editor']['editing']['mapper'],_0x57e8b2=_0x2567bc['domConverter'],_0x50654c=_0x45952c['path']['shift'](),_0x51d6ce=this['_pagesContainer']['element']['childNodes'][_0x50654c]['dataset']['rootName'],_0x62a289=_0x2567bc['getDomRoot'](_0x51d6ce);if(!_0x62a289)return null;const _0x383b36=function(_0xec1d4c,_0x408c1e){let _0x2d9ecd=_0xec1d4c;for(const _0x18e962 of _0x408c1e['path']){if(!_0x2d9ecd)return null;_0x2d9ecd=_0x2d9ecd['childNodes'][_0x18e962];}return _0x2d9ecd;}(_0x62a289,_0x45952c);if(!_0x383b36)return null;const _0x12b7f9=_0x57e8b2['domPositionToView'](_0x383b36,_0x45952c['textOffset']||0x0);return _0x12b7f9?'manual'==_0x45952c['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x12b7f9,_0x383b36):'text'==_0x45952c['type']&&_0x3b870b['toModelPosition'](_0x12b7f9)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x12b7f9,_0x383b36,_0x45952c['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x12b7f9,_0x383b36,_0x45952c['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x26bff1,_0x4313a9){const _0x4eceb5=this['editor']['model'],_0x593178=this['editor']['editing']['mapper']['toModelElement'](_0x26bff1['parent']),_0x52535b=_0x4eceb5['createRangeOn'](_0x593178);return new K({'type':'manual','modelRange':_0x52535b,'domNode':_0x4313a9,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1bf429,_0x6b36d0,_0x4ca94c){const _0x25bf37=this['editor']['model'],_0x18e241=this['editor']['editing']['mapper'],_0x3e3d70=this['editor']['editing']['view']['domConverter'];if(_0x4ca94c>=_0x6b36d0['length'])return null;const _0xd547c0=_0x18e241['toModelPosition'](_0x1bf429),_0x4accdb=_0x25bf37['createRange'](_0xd547c0),_0x40a4de=_0x18e241['findMappedViewAncestor'](_0x1bf429),_0x2008bb=_0x3e3d70['mapViewToDom'](_0x40a4de);return new K({'type':'text','modelRange':_0x4accdb,'domNode':_0x6b36d0,'offset':m(_0x6b36d0,_0x4ca94c,_0x2008bb)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x17c0b5,_0x41279b,_0x1da49a){const _0x68733c=this['editor']['model'],_0x511bb5=this['editor']['editing'],_0x390fda=_0x511bb5['mapper'],_0x5b9909=_0x511bb5['view']['domConverter'],_0x5b1caf=_0x390fda['findMappedViewAncestor'](_0x17c0b5),_0x1ee6e6=_0x390fda['toModelElement'](_0x5b1caf),_0x21e362=function(_0x2c8e30){const _0xf76cd7=_0x2c8e30['parent'],_0x5ef483=_0xf76cd7['root']['document']['model'],_0x33956e=_0xf76cd7['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3174e0=null;for(const _0x3c2b52 of _0x33956e){if(_0x3c2b52['is']('rootElement'))return _0x3174e0;if(!_0x5ef483['createPositionBefore'](_0x3c2b52)['isTouching'](_0x2c8e30))return _0x3174e0;_0x3174e0=_0x3c2b52;}}(_0x68733c['createPositionBefore'](_0x1ee6e6)),_0x43abed=_0x21e362||_0x1ee6e6;let _0x59cf81=_0x390fda['toViewElement'](_0x43abed),_0x2864dd=_0x68733c['createRangeOn'](_0x43abed);const _0x4d2876=_0x68733c['createPositionBefore'](_0x43abed)['nodeBefore'];if(_0x4d2876&&_0x4d2876['is']('element','imageBlock')){const _0x3f4300=_0x390fda['toViewElement'](_0x4d2876),_0x4532a0=_0x5b9909['mapViewToDom'](_0x3f4300),_0x25105c=_0x3fc105['window']['getComputedStyle'](_0x4532a0)['float'];'left'!=_0x25105c&&'right'!=_0x25105c||(_0x2864dd=_0x68733c['createRangeOn'](_0x4d2876));}for(;_0x59cf81['parent']!==_0x59cf81['root']&&0x0===_0x59cf81['index'];)_0x59cf81=_0x59cf81['parent'];const _0x152209=new _0x5cbc76(S(_0x41279b)?_0x41279b:P(_0x41279b)),_0x1e14ff=_0x1da49a?_0x152209['height']-_0x1da49a:0x0,_0x4d796b=_0x5b9909['mapViewToDom'](_0x59cf81),_0x25e160=new _0x5cbc76(_0x4d796b);return new K({'type':'element','modelRange':_0x2864dd,'domNode':_0x4d796b,'offset':Math['round'](_0x1e14ff)?_0x1e14ff+_0x152209['top']-_0x25e160['top']:0x0});}get['_configuredPaddings'](){const _0x238c72=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x238c72);}static['_findPageStarterInfos'](_0x599ca8,_0x3efe4f,_0x159876,_0x87feeb,_0x21b07d){return x(_0x599ca8,_0x3efe4f,_0x159876,_0x87feeb,_0x21b07d);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x288ac2,modelRange:_0x1f42e0,domNode:_0x38c299,offset:_0x1cc2be}){this['type']=_0x288ac2,this['modelRange']=_0x1f42e0,this['_domNode']=_0x38c299,this['_offset']=_0x1cc2be;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x570e7a=new _0x5cbc76(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x570e7a['top']+_0x570e7a['height']/0x2:_0x570e7a['top']+this['_offset'];}}function m(_0x4fcc95,_0x4f9589,_0x57521c){const _0x5eb222=P(_0x4fcc95),_0x495dfb=function(_0x50bc36){const _0x5ca50b=_0x3fc105['document']['createRange']();return _0x5ca50b['selectNodeContents'](_0x50bc36),_0x5ca50b;}(_0x57521c);let _0xe74b28;_0xe74b28=0x0==_0x4f9589?b(_0x495dfb['startContainer'],_0x495dfb['startOffset'],_0x4fcc95['parentNode'],Array['from'](_0x4fcc95['parentNode']['childNodes'])['indexOf'](_0x4fcc95)):b(_0x495dfb['startContainer'],_0x495dfb['startOffset'],_0x4fcc95,_0x4f9589);const _0x2ab816=b(_0x4fcc95,_0x4f9589,_0x495dfb['endContainer'],_0x495dfb['endOffset']),_0x3cb3e4=new _0x5cbc76(_0xe74b28)['bottom'];return(new _0x5cbc76(_0x2ab816)['top']+_0x3cb3e4)/0x2-new _0x5cbc76(_0x5eb222)['top'];}function p(_0x1191ac){return _0x1191ac['hasAttribute']('width')&&_0x1191ac['hasAttribute']('height')?Promise['resolve']():new Promise(_0x55f054=>{function _0x18d194(){_0x1191ac['removeEventListener']('load',_0x18d194),_0x1191ac['removeEventListener']('error',_0x18d194),_0x55f054();}_0x1191ac['complete']?_0x55f054():(_0x1191ac['addEventListener']('load',_0x18d194),_0x1191ac['addEventListener']('error',_0x18d194));});}function y(_0x534396){return new Promise(_0x47a892=>setTimeout(_0x47a892,_0x534396));}function P(_0x84a9d3){const _0x3f3dd9=_0x3fc105['document']['createRange']();return _0x3f3dd9['selectNode'](_0x84a9d3),_0x3f3dd9;}function k(_0x11270b,_0x3c5d03,_0x860632){const _0x58cd69=_0x3fc105['document']['createRange']();return _0x58cd69['setStart'](_0x11270b,_0x3c5d03),_0x58cd69['setEnd'](_0x11270b,_0x860632),_0x58cd69;}function b(_0x27a65c,_0x1f6d4a,_0x45f561,_0x78e982){const _0x49a2e5=_0x3fc105['document']['createRange']();return _0x49a2e5['setStart'](_0x27a65c,_0x1f6d4a),_0x49a2e5['setEnd'](_0x45f561,_0x78e982),_0x49a2e5;}function x(_0x473706,_0x2cd7f0,_0x45b1ef,_0x59e1eb,_0x224c59){const _0x4a820d=[];for(const [_0x19e641,_0x4a9a20]of _0x473706['childNodes']['entries']()){let _0x2b1570=[];S(_0x4a9a20)&&_0x4a9a20['offsetParent']&&!_0x4a9a20['style']['position']?_0x2b1570=_(_0x4a9a20,_0x19e641,_0x2cd7f0,_0x45b1ef,_0x59e1eb,_0x224c59):R(_0x4a9a20)&&(_0x2b1570=B(_0x4a9a20,_0x19e641,_0x2cd7f0,_0x45b1ef,_0x224c59)),_0x2b1570['length']&&(_0x4a820d['push'](..._0x2b1570),_0x2cd7f0+=_0x2b1570['length']*_0x45b1ef,_0x224c59=!0x1);}return _0x4a820d;}function _(_0xaef1e3,_0x564812,_0x300716,_0x390723,_0x59f4f7,_0x17c431){const _0x529f1b=[];var _0x599a8c;if((_0x599a8c=_0xaef1e3['previousSibling'])&&S(_0x599a8c)&&Boolean(_0x599a8c['classList']['contains']('page-break')||_0x599a8c['closest']('.page-break'))&&(_0x529f1b['push']({'type':'manual','offset':0x0,'path':[_0x564812-0x1]}),_0x17c431=!0x0),'table-row'==_0x3fc105['window']['getComputedStyle'](_0xaef1e3)['display']){let _0xcc54c=0x0,_0x3909ff=!0x1;for(const _0x34e7e2 of _0xaef1e3['getClientRects']())_0xcc54c+=_0x34e7e2['height'],_0x34e7e2['left']>=_0x300716&&(_0x3909ff=!0x0);if(_0xcc54c<_0x59f4f7&&_0x3909ff)return _0x529f1b['push']({'type':'element','offset':0x0,'path':[_0x564812]}),_0x529f1b;}const _0x5cff80=_0xaef1e3['closest']('figure.image');if(_0x5cff80&&function(_0x1b3128){let _0x4e1a8b=!0x1;const _0xe4f1b6=_0x1b3128['parentElement'],_0x2fe18f=_0xe4f1b6['dataset']['rootName'],_0x491b65=_0x1b3128['nextElementSibling'],_0x4e8987=_0x1b3128['previousElementSibling'],_0x4874de=_0x491b65&&_0x3fc105['window']['getComputedStyle'](_0x491b65)['float'],_0x4de55b=_0x491b65&&'ck-fake-selection-container'===_0x491b65['className'];!_0x2fe18f||_0x491b65||_0x4e8987||(_0x4e1a8b=!0x0),_0x2fe18f&&!_0x4e8987&&_0x4de55b&&(_0x4e1a8b=!0x0),_0x2fe18f&&!_0x4e8987&&'none'!==_0x4874de&&(_0x4e1a8b=!0x0);if(_0x4e1a8b)return!0x1;return!0x0;}(_0x5cff80)){const _0x51b03a=_0x3fc105['window']['getComputedStyle'](_0x5cff80)['float'];if('left'==_0x51b03a||'right'==_0x51b03a)return _0x529f1b;}const _0x32ac68=x(_0xaef1e3,_0x300716,_0x390723,_0x59f4f7,_0x17c431);if(_0x32ac68['length']){for(const _0x474658 of _0x32ac68)_0x529f1b['push']({'type':_0x474658['type'],'offset':_0x474658['offset'],'textOffset':_0x474658['textOffset'],'path':[_0x564812,..._0x474658['path']]}),_0x300716+=_0x390723,_0x17c431=!0x1;return _0x529f1b;}return _0x529f1b['push'](...function(_0xd0e362,_0x5f2920,_0x28b5b3,_0x2565b6,_0x40e1e4){const _0x19131b=[];if('table-cell'==_0x3fc105['window']['getComputedStyle'](_0xd0e362)['display'])return[];const _0x5d2997=[];for(const _0x44f1a0 of _0xd0e362['getClientRects']())if(_0x44f1a0['left']>=_0x28b5b3){for(const _0x1af0ef of _0x5d2997)_0x1af0ef['height']+=_0x44f1a0['height'];_0x5d2997['push']({'height':_0x44f1a0['height']}),_0x28b5b3+=_0x2565b6;}for(const _0x2bba76 of _0x5d2997)_0x40e1e4||_0x19131b['push']({'type':'element','offset':_0x2bba76['height'],'textOffset':0x0,'path':[_0x5f2920]}),_0x40e1e4=!0x1;return _0x19131b;}(_0xaef1e3,_0x564812,_0x300716,_0x390723,_0x17c431)),_0x529f1b;}function B(_0x59f3f3,_0x10d024,_0x59f906,_0x45addd,_0x5b2cc3){const _0x1be2bb=P(_0x59f3f3),_0x158f46=[];let _0x43a522=0x0;for(const _0x5e0549 of _0x1be2bb['getClientRects']())if(_0x5e0549['left']>=_0x59f906){const _0x16eadf=I(_0x59f3f3,_0x43a522,_0x59f906,_0x45addd);_0x5b2cc3||_0x158f46['push']({'type':'text','path':[_0x10d024],'textOffset':_0x16eadf}),_0x43a522=_0x16eadf,_0x59f906+=_0x45addd,_0x5b2cc3=!0x1;}return _0x158f46;}function I(_0x1ca8bd,_0x431963,_0x5aa7e6,_0x1273ba){let _0x377264=_0x431963,_0x4a9ca8=_0x1ca8bd['length'];for(;_0x4a9ca8-_0x377264>0x1;){const _0x1110d8=Math['ceil']((_0x377264+_0x4a9ca8)/0x2);N(k(_0x1ca8bd,_0x377264,_0x1110d8),_0x5aa7e6,_0x1273ba)?_0x4a9ca8=_0x1110d8:_0x377264=_0x1110d8;}return _0x377264;}function N(_0x1c7b25,_0x14f250,_0x21108f){for(const _0x577415 of _0x1c7b25['getClientRects']())if(_0x577415['left']>=_0x14f250&&_0x577415['left']<_0x14f250+_0x21108f)return!0x0;return!0x1;}function S(_0x2b5dea){return _0x2b5dea['nodeType']==Node['ELEMENT_NODE'];}function R(_0x523add){return _0x523add['nodeType']==Node['TEXT_NODE'];}const z=_0x1171e1('px');class V extends _0x39e8d0{constructor(){super();const _0x2f6d26=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x2f6d26['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x2f6d26['if']('isVisible','ck-hidden',_0x390ea9=>!_0x390ea9)],'style':{'left':_0x2f6d26['to']('left',_0x18f596=>z(_0x18f596)),'top':_0x2f6d26['to']('top',_0x49d888=>z(_0x49d888)),'width':_0x2f6d26['to']('width',_0x6d558a=>z(_0x6d558a))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0xc7a03b){this['_viewCollection']=_0xc7a03b['ui']['view']['body'];}['destroy'](){for(const _0x394d51 of this['_hiddenLines'])_0x394d51['destroy']();}['cleanLines'](){for(const _0x923fb5 of this['_visibleLines'])_0x923fb5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x923fb5);this['_visibleLines']['clear']();}['showLine'](_0x430643,_0x540035,_0x507c73,_0x17d786){let _0x593a49;this['_hiddenLines']['size']?(_0x593a49=_0xf664d9(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x593a49)):_0x593a49=new V(),_0x593a49['set']({'pageNumber':_0x17d786,'left':_0x430643,'top':_0x540035,'width':_0x507c73}),_0x593a49['isVisible']=!0x0,this['_viewCollection']['has'](_0x593a49)||this['_viewCollection']['add'](_0x593a49),this['_visibleLines']['add'](_0x593a49);}['setViewCollection'](_0x16a8a7){this['_viewCollection']=_0x16a8a7;}}const L='ck-pagination_enabled';class c extends _0x2c3b7f{['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',(_0x5da5fc,_0x14818e,_0x98dc9b)=>{_0x98dc9b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x98dc9b);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x16179a){if(!this['isEnabled'])return;const _0xdef7d2=_0x16179a>0x1?this['_getPageBreakLineOffset'](_0x16179a-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xdef7d2-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x486b25['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x38f226=this['editor'],_0x76011a=this['_getAttachedDomRoot']();_0x76011a?(this['_scrollableEditingRootDomAncestor']&&_0x38f226['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x497e1d){let _0x376077=_0x497e1d;do{_0x376077=_0x376077['parentElement'];const _0xd17578=_0x3fc105['window']['getComputedStyle'](_0x376077)['overflowY'];if('auto'==_0xd17578||'scroll'==_0xd17578)break;}while('BODY'!=_0x376077['tagName']);return _0x376077;}(_0x76011a),_0x38f226['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3ef17f(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x38f226['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3b2e1d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3b2e1d['ui']['view']['listenTo'](_0x3fc105['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3b2e1d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5ddc27 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5ddc27['ownerDocument']['body']['contains'](_0x5ddc27))return _0x5ddc27;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x111470=this['_getAttachedDomRoot'](),_0x37d7f0=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x111470||0x1==_0x37d7f0['length'])return void(this['pageNumber']=0x1);const _0x14cc86=new _0x5cbc76(_0x111470)['excludeScrollbarsAndBorders'](),_0x211f87=new _0x5cbc76(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x104fdb=_0x211f87['top']+_0x211f87['height']/0x3;let _0x4641d3=!0x1;const _0x367fd8=[];for(let _0x3fde9b=0x1;_0x3fde9b<_0x37d7f0['length'];_0x3fde9b++){const _0x546865=this['_getPageBreakLineOffset'](_0x3fde9b,_0x211f87);if(!_0x546865)continue;const _0x77bb0a=_0x211f87['top']+_0x546865-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x367fd8['push']({'pageOffsetTop':_0x77bb0a,'domRootRect':_0x14cc86,'domScrollableRect':_0x211f87,'pageNumber':_0x3fde9b}),_0x77bb0a>_0x104fdb&&!_0x4641d3&&(this['pageNumber']=_0x3fde9b,_0x4641d3=!0x0);}this['_renderPageBreakLines'](_0x367fd8),_0x4641d3||(this['pageNumber']=_0x37d7f0['length']);}['_renderPageBreakLines'](_0x187094){const {scrollX:_0x33c3ec,scrollY:_0x1ec8db}=_0x3fc105['window'];if(_0x187094['length']){for(const {domScrollableRect:_0x53e005,pageOffsetTop:_0xf89699,domRootRect:_0x3436cf,pageNumber:_0x743433}of _0x187094)_0x53e005['top']<_0xf89699&&_0xf89699<_0x53e005['bottom']&&this['linesRepository']['showLine'](_0x3436cf['left']+_0x33c3ec,_0xf89699+_0x1ec8db,_0x3436cf['width'],_0x743433+0x1);}}['_getPageBreakLineOffset'](_0x310eac,_0x1da781=null){const _0x2277a1=this['_paginationLookupPlugin']['pageBreaks'][_0x310eac]['offset'];return _0x2277a1?(_0x1da781||(_0x1da781=new _0x5cbc76(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2277a1-_0x1da781['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x27e195,_0x38b605=!0x0){const _0x33dbae=this['editor']['editing']['view'];_0x33dbae['change'](_0xeb9f51=>{for(const _0x448c91 of _0x33dbae['document']['roots'])_0x38b605?_0xeb9f51['addClass'](_0x27e195,_0x448c91):_0xeb9f51['removeClass'](_0x27e195,_0x448c91);});}}function g(_0x36c338,_0x1401c3,..._0x3e2c22){const t=_0x36c338['t'];switch(_0x1401c3){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)',..._0x3e2c22);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 _0x1401c3;}}class s extends _0x2c3b7f{['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 _0x1e9231=this['editor']['plugins']['get']('Pagination'),_0x2fa0c6=this['editor']['plugins']['get'](n),_0x1a0ed2=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1e9231),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x1a0ed2),this['listenTo'](_0x2fa0c6,'change:pageBreaks',(_0x42cd47,_0x4ba7fa,_0x325493,_0xe61650)=>{this['totalPages']=_0x325493['length'],this['_updatePageBreakMarkers'](_0x325493,_0xe61650);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x425170=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x357b90;for(const _0x399692 in _0x425170){const _0x3e2734=_0x399692,_0x2555ba=_0x425170[_0x3e2734];if('paginationLicenseKeyValid'==_0x2555ba||'paginationLicenseKeyInvalid'==_0x2555ba||'paginationLicenseKeyExpired'==_0x2555ba||'paginationLicenseKeyDomainLimit'==_0x2555ba||'paginationLicenseKeyNotAllowed'==_0x2555ba||'paginationLicenseKeyEvaluationLimit'==_0x2555ba||'paginationLicenseKeyTrialLimit'==_0x2555ba||'paginationLicenseKeyUsageLimit'==_0x2555ba){delete _0x425170[_0x3e2734],_0x357b90=_0x2555ba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x357b90&&_0x425170['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x357b90&&_0x425170['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x357b90&&_0x425170['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x357b90&&_0x425170['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x357b90&&_0x425170['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x357b90&&_0x425170['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x357b90&&_0x425170['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x2f6d20){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x2f6d20));}['moveSelectionToPage'](_0x582e17){if(!this['isEnabled'])return;const _0x3dfc64=this['editor'],_0x101c1d=this['editor']['plugins']['get'](n)['pageBreaks'][_0x582e17-0x1];_0x101c1d&&_0x3dfc64['model']['change'](_0x3320ed=>{switch(_0x101c1d['type']){case'manual':{const _0x822ad0=_0x3dfc64['model']['schema']['getNearestSelectionRange'](_0x101c1d['modelRange']['end'],'forward');_0x3320ed['setSelection'](_0x822ad0);break;}case'element':{const _0x2072fe=_0x3dfc64['model']['schema']['getNearestSelectionRange'](_0x101c1d['modelRange']['start'],'forward');_0x3320ed['setSelection'](_0x2072fe);break;}case'text':{const _0x18b411=_0x101c1d['modelRange']['start'];if('\x20'===_0x18b411['textNode']['data'][_0x18b411['offset']]){const _0x3f3321=_0x3320ed['createPositionAt'](_0x18b411['parent'],_0x18b411['offset']+0x1);_0x3320ed['setSelection'](_0x3f3321);}else _0x3320ed['setSelection'](_0x101c1d['modelRange']);}}_0x3dfc64['editing']['view']['focus']();});}['goToNextPage'](){const _0x5d3a2f=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5d3a2f),this['scrollToPage'](_0x5d3a2f);}['goToPreviousPage'](){const _0x10a796=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x10a796),this['scrollToPage'](_0x10a796);}['_updatePageBreakMarkers'](_0x5bdcbc,_0x5be07e){const _0x56bcbb=this['editor']['model'];this['isEnabled']&&_0x56bcbb['change'](_0x22937d=>{for(let _0x536947=0x1;_0x536947<_0x5bdcbc['length'];_0x536947++){const _0x1fb6b9=_0x5bdcbc[_0x536947]['modelRange'],_0x4a7604='pagination:'+(_0x536947+0x1);_0x56bcbb['markers']['has'](_0x4a7604)?_0x22937d['updateMarker'](_0x4a7604,{'range':_0x1fb6b9}):_0x22937d['addMarker'](_0x4a7604,{'range':_0x1fb6b9,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4caa91=_0x5bdcbc['length'];_0x4caa91<_0x5be07e['length'];_0x4caa91++){const _0x52a4f6='pagination:'+(_0x4caa91+0x1);_0x56bcbb['markers']['has'](_0x52a4f6)&&_0x22937d['removeMarker'](_0x52a4f6);}});}['_setUpDataDowncastConversion'](){const _0x35b9ed='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4294b4=>{_0x4294b4['on']('addMarker:'+_0x35b9ed,(_0x4af8eb,{markerRange:_0x4678a3,markerName:_0xa3fa0},_0x49e352)=>{if(!_0x49e352['options']['pagination'])return;if(!_0x49e352['consumable']['consume'](_0x4678a3,_0x4af8eb['name']))return;const _0x102d74=_0x4678a3['getContainedElement']();let _0x7db3ae=_0x102d74?_0x49e352['mapper']['toViewElement'](_0x102d74):null;if(!_0x7db3ae){const _0x3e9917=_0x4678a3['start'];if(_0x49e352['schema']['checkChild'](_0x3e9917,'$text')){const _0x31be18=_0x49e352['mapper']['toViewPosition'](_0x3e9917);_0x7db3ae=_0x49e352['writer']['createContainerElement']('span'),_0x7db3ae['getFillerOffset']=()=>null,_0x49e352['writer']['insert'](_0x31be18,_0x7db3ae);}else{const _0xc4b51b=_0x3e9917['nodeAfter'];_0x7db3ae=_0x49e352['mapper']['toViewElement'](_0xc4b51b);}}for(;_0x7db3ae['parent']!==_0x7db3ae['root']&&0x0===_0x7db3ae['index'];)_0x7db3ae=_0x7db3ae['parent'];const _0x2d1a0c=_0xa3fa0['substring'](0xb);_0x7db3ae['hasClass']('page-break')||(_0x49e352['writer']['setStyle']('page-break-before','always',_0x7db3ae),_0x49e352['writer']['setAttribute']('data-pagination-page',_0x2d1a0c,_0x7db3ae),_0x49e352['mapper']['bindElementToMarker'](_0x7db3ae,_0xa3fa0)),_0x4af8eb['stop']();});});}['_setupKeystrokes'](){const _0x3f350c=this['editor'];_0x3f350c['keystrokes']['set']('Shift+Pageup',(_0x3637f1,_0x5c48a3)=>{this['goToPreviousPage'](),_0x5c48a3();}),_0x3f350c['keystrokes']['set']('Shift+Pagedown',(_0x2a9aa6,_0x47587c)=>{this['goToNextPage'](),_0x47587c();}),_0x3f350c['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3f350c['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3f350c['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3f350c['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x7f21bc){return _0x7f21bc<0x1&&(_0x7f21bc=0x1),_0x7f21bc>this['totalPages']&&(_0x7f21bc=this['totalPages']),_0x7f21bc;}}class U extends _0x39e8d0{['pageNumberView'];constructor(_0x180dd7){super(_0x180dd7);const _0x3ac9bc=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5c8972(_0x180dd7,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4026d5=>g(_0x180dd7,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4026d5)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x2c5e3a=>!_0x2c5e3a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3ac9bc['if']('isEnabled','ck-disabled',_0x42cfc6=>!_0x42cfc6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3ac9bc['to']('totalPages')}]}]});}['render'](){super['render']();const _0x121d4a=this['pageNumberView']['element'],_0x42d62d=_0x1184fc=>{this['pageNumberView']['element']['value']=String(_0x1184fc);};_0x42d62d(this['pageNumber']),this['on']('change:pageNumber',(_0x81db05,_0x2ddbf3,_0x414e03)=>{_0x42d62d(_0x414e03);}),this['listenTo'](_0x121d4a,'keydown',(_0x3058c5,_0x441263)=>{if('ArrowUp'===_0x441263['key']||'ArrowDown'===_0x441263['key'])return void _0x441263['stopPropagation']();if(_0x441263['keyCode']!==_0x38a67f['enter'])return;_0x441263['preventDefault']();const _0x20df7c=_0x121d4a['valueAsNumber'];Number['isNaN'](_0x20df7c)?_0x121d4a['value']=String(this['pageNumber']):(_0x121d4a['checkValidity']()?this['pageNumber']=_0x20df7c:_0x20df7c>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x121d4a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x121d4a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x121d4a,'blur',()=>{_0x121d4a['value']=String(this['pageNumber']);}),this['listenTo'](_0x121d4a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x2c3b7f{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5c83ea=this['editor'],_0x4ab1db=_0x5c83ea['plugins']['get']('PaginationEditing');_0x5c83ea['ui']['componentFactory']['add']('pageNavigation',_0x355f40=>{const _0x548d78=new U(_0x355f40);return _0x548d78['bind']('pageNumber')['to'](_0x4ab1db),_0x548d78['bind']('totalPages')['to'](_0x4ab1db),_0x548d78['bind']('isEnabled')['to'](_0x4ab1db),_0x548d78['on']('navigation',(_0x1cb9cb,_0x202afb)=>{_0x4ab1db['moveSelectionToPage'](_0x202afb),_0x4ab1db['scrollToPage'](_0x202afb);}),_0x548d78;}),_0x5c83ea['ui']['componentFactory']['add']('nextPage',_0x20533f=>{const _0x2bbadb=new _0x31196a(_0x20533f);return _0x2bbadb['isEnabled']=!0x0,_0x2bbadb['label']=g(_0x5c83ea['locale'],'Go\x20to\x20next\x20page'),_0x2bbadb['icon']=_0x3ad0e6,_0x2bbadb['tooltip']=!0x0,_0x2bbadb['keystroke']='Shift+PageDown',_0x2bbadb['bind']('isEnabled')['to'](_0x4ab1db),this['listenTo'](_0x2bbadb,'execute',()=>{_0x4ab1db['goToNextPage']();}),_0x2bbadb;}),_0x5c83ea['ui']['componentFactory']['add']('previousPage',_0x509df2=>{const _0xcb488f=new _0x31196a(_0x509df2);return _0xcb488f['isEnabled']=!0x0,_0xcb488f['label']=g(_0x5c83ea['locale'],'Go\x20to\x20previous\x20page'),_0xcb488f['icon']=_0x302d78,_0xcb488f['tooltip']=!0x0,_0xcb488f['keystroke']='Shift+PageUp',_0xcb488f['bind']('isEnabled')['to'](_0x4ab1db),this['listenTo'](_0xcb488f,'execute',()=>{_0x4ab1db['goToPreviousPage']();}),_0xcb488f;});}}class a extends _0x2c3b7f{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x27818a){super(_0x27818a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2b956d=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x2b956d),this['bind']('totalPages')['to'](_0x2b956d),_0x486b25['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3455fe){this['editor']['plugins']['get'](s)['scrollToPage'](_0x3455fe);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x164fee}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4975cf,InputNumberView as _0x157de8,ButtonView as _0x16baa1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x10713a,Rect as _0x5a6e08,global as _0x22ab5f,uid as _0x168e53,toUnit as _0x21674d,first as _0x141157,env as _0x5e0cc2,ResizeObserver as _0xace8b2,keyCodes as _0x260b98}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x37a9c3}from'es-toolkit/compat';import{IconArrowDown as _0x240104,IconArrowUp as _0x588676}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x164fee{['_recalculatePageBreaksDebounced']=_0x37a9c3(()=>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 _0x10713a('pagination-config-not-found',this['editor']['config']);const _0x1a65da=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1a65da),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x45342d,_0x2b9c05,_0x4b3850)=>{_0x4b3850&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x132503){const _0xfa0332=_0x3d4eb5([0x50,0x52,0x6e,0x55,0x59,0x56,0x72,0x79,0x4e,0x67,0x35,0x66,0x65,0x61,0x78,0x62,0x77,0x51,0x6a,0x33,0x57,0x6b,0x6f,0x68,0x30,0x46,0x63,0x4a,0x38,0x39,0x4d,0x42,0x45,0x76,0x37,0x44,0x58,0x43,0x70,0x7a,0x5a,0x71,0x73,0x74,0x54,0x41,0x31,0x69,0x6c,0x32,0x34,0x4b,0x75,0x6d,0x48,0x64,0x53,0x4c,0x49,0x4f,0x47,0x36]),_0x8b7acb=0x7a838a04,_0x5d6f9c=0x7a84e984^_0x8b7acb,_0x1183a8=window[_0x3d4eb5([0x44,0x61,0x74,0x65])][_0x3d4eb5([0x6e,0x6f,0x77])](),_0x374707=_0x132503[_0x3d4eb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x98ab50=new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x476e12=>{_0x374707[_0x3d4eb5([0x6f,0x6e,0x63,0x65])](_0x3d4eb5([0x72,0x65,0x61,0x64,0x79]),_0x476e12);}),_0x490fef={[_0x3d4eb5([0x6b,0x74,0x79])]:_0x3d4eb5([0x45,0x43]),[_0x3d4eb5([0x75,0x73,0x65])]:_0x3d4eb5([0x73,0x69,0x67]),[_0x3d4eb5([0x63,0x72,0x76])]:_0x3d4eb5([0x50,0x2d,0x32,0x35,0x36]),[_0x3d4eb5([0x78])]:_0x3d4eb5([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]),[_0x3d4eb5([0x79])]:_0x3d4eb5([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]),[_0x3d4eb5([0x61,0x6c,0x67])]:_0x3d4eb5([0x45,0x53,0x32,0x35,0x36])},_0x35671e=_0x374707[_0x3d4eb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d4eb5([0x67,0x65,0x74])](_0x3d4eb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x194ee1(){let _0x5b81bb,_0x89cae2=null,_0x32e32f=null;try{if(_0x35671e==_0x3d4eb5([0x47,0x50,0x4c]))return _0x3d4eb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b81bb=_0x4307b1(),!_0x5b81bb)return _0x3d4eb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b81bb[_0x3d4eb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32e32f=_0x21a67f(_0x5b81bb[_0x3d4eb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b81bb[_0x3d4eb5([0x6a,0x74,0x69])])),await _0x36724c()?_0x3d6c67()?_0x212bbd()?_0x3d4eb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27af39()?(_0x5b81bb[_0x3d4eb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d4eb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x89cae2=_0x53c3cf(_0x3d4eb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b81bb[_0x3d4eb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d4eb5([0x74,0x72,0x69,0x61,0x6c])&&(_0x89cae2=_0x53c3cf(_0x3d4eb5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x327465()):_0x3d4eb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d4eb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d4eb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3fb965){return _0x3d4eb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212bbd(){const _0x4bef86=[_0x3d4eb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d4eb5([0x74,0x72,0x69,0x61,0x6c])][_0x3d4eb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81bb[_0x3d4eb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1183a8/0x3e8:0xe10*_0x5d6f9c;return _0x5b81bb[_0x3d4eb5([0x65,0x78,0x70])]<_0x4bef86;}function _0x3d6c67(){const _0x24a53c=_0x5b81bb[_0x3d4eb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24a53c&&(!!_0x24a53c[_0x3d4eb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4eb5([0x2a]))||!!_0x24a53c[_0x3d4eb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4eb5([0x50,0x41,0x47])));}function _0x27af39(){const _0x41cee3=_0x5b81bb[_0x3d4eb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41cee3||0x0==_0x41cee3[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413c0c}=new URL(window[_0x3d4eb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41cee3[_0x3d4eb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413c0c))return!0x0;const _0x554475=_0x413c0c[_0x3d4eb5([0x73,0x70,0x6c,0x69,0x74])](_0x3d4eb5([0x2e]));return _0x41cee3[_0x3d4eb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d6209=>_0x5d6209[_0x3d4eb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4eb5([0x2a])))[_0x3d4eb5([0x6d,0x61,0x70])](_0x530aa0=>_0x530aa0[_0x3d4eb5([0x73,0x70,0x6c,0x69,0x74])](_0x3d4eb5([0x2e])))[_0x3d4eb5([0x73,0x6f,0x6d,0x65])](_0x77a1=>_0x554475[_0x3d4eb5([0x65,0x76,0x65,0x72,0x79])]((_0x372eae,_0x1239b1)=>_0x77a1[_0x1239b1]===_0x372eae||_0x77a1[_0x1239b1]===_0x3d4eb5([0x2a])));}function _0x327465(){return _0x89cae2&&_0x32e32f?new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x322663,_0x160b70)=>{_0x89cae2[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0x322663,_0x160b70),_0x32e32f[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0xcaa181=>{_0xcaa181!=_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64])&&_0x322663(_0xcaa181);},_0x160b70);}):_0x89cae2||_0x32e32f||_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21a67f(_0x3eec5e,_0x4e0e12){return new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15a53c=>{if(_0x23b1ff())return _0x15a53c(_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64]));_0x9b65a5(),_0x374707[_0x3d4eb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d4eb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9e9a91=!0x1;const _0x2a8fb3=_0x168e53();function _0x7809d1(_0xa27527){return!!_0xa27527&&(typeof _0xa27527===_0x3d4eb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa27527===_0x3d4eb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa27527[_0x3d4eb5([0x74,0x68,0x65,0x6e])]===_0x3d4eb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa27527[_0x3d4eb5([0x63,0x61,0x74,0x63,0x68])]===_0x3d4eb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45c2e3(_0x43e327){_0x2fdc7d(_0x43e327)[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0x3135b8=>{if(!_0x3135b8||_0x3135b8[_0x3d4eb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d4eb5([0x6f,0x6b]))return _0x3d4eb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22772f(_0x48b298(_0x2a8fb3+_0x4e0e12))!=_0x3135b8[_0x3d4eb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d4eb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0x57068a=>(_0x50c8e5(),_0x57068a),()=>{const _0x3ee580=_0x2d3809();return null==_0x3ee580?(_0x50c8e5(),_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64])):_0x3d4eb5(_0x1183a8-_0x3ee580>(0x5e8f0e04^_0x8b7acb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0x15a53c)[_0x3d4eb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15a53c(_0x3d4eb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6e7aa4=0x7ab56484^_0x8b7acb;function _0x50c8e5(){const _0x404286=_0x3d4eb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x22772f(_0x48b298(_0x3eec5e)),_0x1837fa=_0x469d63(_0x22772f(window[_0x3d4eb5([0x4d,0x61,0x74,0x68])][_0x3d4eb5([0x63,0x65,0x69,0x6c])](_0x1183a8/_0x6e7aa4)));window[_0x3d4eb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d4eb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x404286,_0x1837fa);}function _0x2d3809(){const _0x18d0d8=_0x3d4eb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x22772f(_0x48b298(_0x3eec5e)),_0x182187=window[_0x3d4eb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d4eb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18d0d8);return _0x182187?window[_0x3d4eb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x469d63(_0x182187),0x10)*_0x6e7aa4:null;}function _0x2fdc7d(_0x11ac18){return new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dfda2,_0x5cd4e6)=>{_0x11ac18[_0x3d4eb5([0x74,0x68,0x65,0x6e])](_0x3dfda2,_0x5cd4e6),window[_0x3d4eb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cd4e6,0x7a825ec4^_0x8b7acb);});}}_0x374707[_0x3d4eb5([0x6f,0x6e])](_0x3d4eb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x308cd7,_0x51defa)=>{if(_0x51defa[0x0]!=_0x3eec5e)return _0x15a53c(_0x3d4eb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51defa[0x1]={..._0x51defa[0x1],[_0x3d4eb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a8fb3};},{[_0x3d4eb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d4eb5([0x68,0x69,0x67,0x68])}),_0x374707[_0x3d4eb5([0x6f,0x6e])](_0x3d4eb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11b1c4=>{_0x7809d1(_0x11b1c4[_0x3d4eb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9e9a91=!0x0,_0x45c2e3(_0x11b1c4[_0x3d4eb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d4eb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d4eb5([0x6c,0x6f,0x77])}),_0x98ab50[_0x3d4eb5([0x74,0x68,0x65,0x6e])](()=>{_0x9e9a91||_0x15a53c(_0x3d4eb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23b1ff(){return _0x374707[_0x3d4eb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d4eb5([0x76,0x69,0x65,0x77])][_0x3d4eb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d4eb5([0x61,0x75,0x74,0x6f]);}function _0x9b65a5(){_0x374707[_0x3d4eb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d4eb5([0x76,0x69,0x65,0x77])][_0x3d4eb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d4eb5([0x61,0x75,0x74,0x6f]);}}function _0x53c3cf(_0x3c37f3){const _0x14b938=[new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eca64=>setTimeout(_0x4eca64,0x7a8ab4c8^_0x8b7acb)),_0x98ab50[_0x3d4eb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa3050f=>{let _0x214141=0x0;_0x374707[_0x3d4eb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4eb5([0x6f,0x6e])](_0x3d4eb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5322cd,_0x35d1a7)=>{_0x35d1a7[0x0][_0x3d4eb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x214141++,_0x214141==(0x7a838bfc^_0x8b7acb)&&(_0xa3050f(),_0x5322cd[_0x3d4eb5([0x6f,0x66,0x66])]());});}))];return window[_0x3d4eb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d4eb5([0x72,0x61,0x63,0x65])](_0x14b938)[_0x3d4eb5([0x74,0x68,0x65,0x6e])](()=>_0x3c37f3);}async function _0x4d6353(){await _0x98ab50,_0x374707[_0x3d4eb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4eb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ca395,_0x374707[_0x3d4eb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d4eb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ca395,_0x374707[_0x3d4eb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d4eb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32725f(_0x5683e9){const _0x167355=_0x3b0c77();_0x374707[_0x167355]=_0x3d4eb5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5683e9,_0x5683e9!=_0x3d4eb5([0x56,0x61,0x6c,0x69,0x64])&&_0x4d6353();}function _0x3b0c77(){const _0xc2cafd=window[_0x3d4eb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d4eb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d4eb5([0x6e,0x6f,0x77])]())[_0x3d4eb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d4eb5([0x2e]),'');let _0x4588c8=_0x3d4eb5([0x50]);for(let _0x11b788=0x0;_0x11b788<_0xc2cafd[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11b788+=0x2){let _0x5cd301=window[_0x3d4eb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2cafd[_0x3d4eb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11b788,_0x11b788+0x2));_0x5cd301>=_0xfa0332[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cd301-=_0xfa0332[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4588c8+=_0xfa0332[_0x5cd301];}return _0x4588c8;}function _0x4307b1(){const _0x4cd584=_0x35671e[_0x3d4eb5([0x73,0x70,0x6c,0x69,0x74])](_0x3d4eb5([0x2e]));if(0x3!=_0x4cd584[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4eb10c(_0x4cd584[0x1]);function _0x4eb10c(_0x1a6f53){const _0x213249=_0x2792a9(_0x1a6f53);return _0x213249&&_0x255904()?_0x213249:null;function _0x255904(){const _0x9dc5de=_0x213249[_0x3d4eb5([0x6a,0x74,0x69])],_0xd8bb5c=window[_0x3d4eb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9dc5de[_0x3d4eb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9dc5de[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56153a={..._0x213249,[_0x3d4eb5([0x6a,0x74,0x69])]:_0x9dc5de[_0x3d4eb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9dc5de[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56153a[_0x3d4eb5([0x76,0x63])],_0x48b298(_0x56153a)==_0xd8bb5c;}}}async function _0x36724c(){let _0x482c6c=!0x0;try{const _0x354f86=_0x35671e[_0x3d4eb5([0x73,0x70,0x6c,0x69,0x74])](_0x3d4eb5([0x2e])),[_0x41d419,_0x2ab4ad,_0x47dc3d]=_0x354f86;return _0x3755d7(_0x41d419),await _0x9af019(_0x41d419,_0x2ab4ad,_0x47dc3d),_0x482c6c;}catch(_0x48f6a4){return!0x1;}function _0x3755d7(_0x1e156d){const _0x1d3969=_0x2792a9(_0x1e156d);_0x1d3969&&_0x1d3969[_0x3d4eb5([0x61,0x6c,0x67])]==_0x3d4eb5([0x45,0x53,0x32,0x35,0x36])||(_0x482c6c=!0x1);}async function _0x9af019(_0x1ae0d5,_0x322ae3,_0x4050f7){const _0x5521e8=window[_0x3d4eb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d4eb5([0x66,0x72,0x6f,0x6d])](_0x5c5e06(_0x4050f7),_0x83877f=>_0x83877f[_0x3d4eb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x275235=new window[(_0x3d4eb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d4eb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ae0d5+_0x3d4eb5([0x2e])+_0x322ae3),_0x1917cb=window[_0x3d4eb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d4eb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1917cb)return;const _0x195c80=await _0x1917cb[_0x3d4eb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d4eb5([0x6a,0x77,0x6b]),_0x490fef,{[_0x3d4eb5([0x6e,0x61,0x6d,0x65])]:_0x3d4eb5([0x45,0x43,0x44,0x53,0x41]),[_0x3d4eb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d4eb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d4eb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1917cb[_0x3d4eb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d4eb5([0x6e,0x61,0x6d,0x65])]:_0x3d4eb5([0x45,0x43,0x44,0x53,0x41]),[_0x3d4eb5([0x68,0x61,0x73,0x68])]:{[_0x3d4eb5([0x6e,0x61,0x6d,0x65])]:_0x3d4eb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x195c80,_0x5521e8,_0x275235)||(_0x482c6c=!0x1);}}function _0x2792a9(_0x5deabc){return _0x5deabc[_0x3d4eb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d4eb5([0x65,0x79]))?JSON[_0x3d4eb5([0x70,0x61,0x72,0x73,0x65])](_0x5c5e06(_0x5deabc)):null;}function _0x5c5e06(_0xee15f8){return window[_0x3d4eb5([0x61,0x74,0x6f,0x62])](_0xee15f8[_0x3d4eb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d4eb5([0x2b]))[_0x3d4eb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d4eb5([0x2f])));}function _0x48b298(_0x1e2786){let _0x14f483=0x1505;function _0x24a512(_0x3772c7){for(let _0x3ebe53=0x0;_0x3ebe53<_0x3772c7[_0x3d4eb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ebe53++){const _0x3890a9=_0x3772c7[_0x3d4eb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ebe53);_0x14f483=(_0x14f483<<0x5)+_0x14f483+_0x3890a9,_0x14f483&=_0x14f483;}}function _0x3e0a1d(_0x459909){Array[_0x3d4eb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x459909)?_0x459909[_0x3d4eb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e0a1d):_0x459909&&typeof _0x459909==_0x3d4eb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d4eb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x459909)[_0x3d4eb5([0x73,0x6f,0x72,0x74])]()[_0x3d4eb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d9a44,_0x2646a5])=>{_0x24a512(_0x2d9a44),_0x3e0a1d(_0x2646a5);}):_0x24a512(window[_0x3d4eb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x459909));}return _0x3e0a1d(_0x1e2786),_0x14f483>>>0x0;}function _0x22772f(_0x23e6f3){return _0x23e6f3[_0x3d4eb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d4eb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d4eb5([0x30]));}function _0x469d63(_0x30a304){return _0x30a304[_0x3d4eb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d4eb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d4eb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ca395(){}function _0x3d4eb5(_0x4ad61a){return _0x4ad61a['map'](_0x45639c=>String['fromCharCode'](_0x45639c))['join']('');}_0x32725f(await _0x194ee1());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xa037c9=this['editor'],_0x4d2ac8=_0xa037c9['editing']['view'],_0x945ac5=this['_getAttachedDomRoot']();if(!_0x945ac5||0x0===_0x945ac5['childElementCount'])return void _0xa037c9['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x391296,pageHeight:_0x25375c}=_0xa037c9['config']['get']('pagination'),{top:_0x1d675f,left:_0x453e39,bottom:_0x245156,right:_0x9a96c3}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4975cf(_0xa037c9['locale']);const _0xd89b33=this['_pagesContainer'];_0xd89b33['set']('class',''),_0xd89b33['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x391296,'width':_0x391296,'height':'calc(\x20'+_0x25375c+'\x20-\x20'+_0x1d675f+'\x20-\x20'+_0x245156+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x9a96c3+'\x200\x20'+_0x453e39,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0xd89b33['bindTemplate']['to']('class')}}),_0xd89b33['render'](),_0x945ac5['parentNode']['insertBefore'](_0xd89b33['element'],_0x945ac5['nextSibling']),this['listenTo'](_0x4d2ac8,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x11fb4b of this['editor']['editing']['view']['domRoots']['values']())if(_0x11fb4b['ownerDocument']['body']['contains'](_0x11fb4b))return _0x11fb4b;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x48e6c3=this['editor']['editing']['view'],_0x3a30d4=this['_pagesContainer'],_0x3f417c=this['_getAttachedDomRoot']();if(!_0x3f417c)return Promise['resolve']();for(_0x3a30d4['class']=['ck-reset','ck-pagination-view',..._0x3f417c['classList']]['join']('\x20');_0x3a30d4['element']['firstChild'];)_0x3a30d4['element']['firstChild']['remove']();const _0xb534b4=Array['from'](_0x48e6c3['domRoots']);_0xb534b4['sort'](([,_0x5462ce],[,_0x61215b])=>_0x5462ce['compareDocumentPosition'](_0x61215b)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3ff04f,_0x565806]of _0xb534b4){const _0x3cf4bf=_0x565806['cloneNode'](!0x0);'attributeStyleMap'in _0x3cf4bf&&_0x3cf4bf['attributeStyleMap']['clear'](),_0x3cf4bf['className']='',_0x3cf4bf['removeAttribute']('id'),_0x3cf4bf['dataset']['rootName']=_0x3ff04f,_0x3a30d4['element']['append'](_0x3cf4bf);}return function(_0x42292d){return Promise['all'](_0x42292d['map'](_0x3fa0c2=>Promise['race']([p(_0x3fa0c2),y(0x3e8)])));}(Array['from'](_0x3a30d4['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0xb0b07c=this['_pagesContainer']['element'];if(!_0xb0b07c['ownerDocument']['body']['contains'](_0xb0b07c))return;const _0x568da9=new _0x5a6e08(_0xb0b07c)['excludeScrollbarsAndBorders'](),_0x35d132=_0x22ab5f['window']['getComputedStyle'](_0xb0b07c),_0x2558bf=parseFloat(_0x35d132['paddingLeft'])+parseFloat(_0x35d132['paddingRight']),_0x220430=Math['floor'](_0x568da9['width']+0x64-_0x2558bf),_0x152c7f=x(_0xb0b07c,Math['floor'](_0x568da9['left']-_0xb0b07c['scrollLeft']),_0x220430,_0x568da9['height'])['map'](_0x34c7ee=>this['_mapPageStarterInfoToPageBreakInfo'](_0x34c7ee));_0x152c7f['every'](_0x51122c=>!!_0x51122c)&&(this['pageBreaks']=_0x152c7f);}['_mapPageStarterInfoToPageBreakInfo'](_0x1ea370){const _0x36ce11=this['editor']['editing']['view'],_0x189daf=this['editor']['editing']['mapper'],_0x4161ef=_0x36ce11['domConverter'],_0x26d528=_0x1ea370['path']['shift'](),_0x1f1ce9=this['_pagesContainer']['element']['childNodes'][_0x26d528]['dataset']['rootName'],_0x4c2fc4=_0x36ce11['getDomRoot'](_0x1f1ce9);if(!_0x4c2fc4)return null;const _0x5b70fd=function(_0x336a61,_0x46ba1d){let _0x534285=_0x336a61;for(const _0x486e52 of _0x46ba1d['path']){if(!_0x534285)return null;_0x534285=_0x534285['childNodes'][_0x486e52];}return _0x534285;}(_0x4c2fc4,_0x1ea370);if(!_0x5b70fd)return null;const _0x32b202=_0x4161ef['domPositionToView'](_0x5b70fd,_0x1ea370['textOffset']||0x0);return _0x32b202?'manual'==_0x1ea370['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x32b202,_0x5b70fd):'text'==_0x1ea370['type']&&_0x189daf['toModelPosition'](_0x32b202)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x32b202,_0x5b70fd,_0x1ea370['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x32b202,_0x5b70fd,_0x1ea370['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x303a4c,_0x1a732d){const _0x38f8c6=this['editor']['model'],_0x405277=this['editor']['editing']['mapper']['toModelElement'](_0x303a4c['parent']),_0x17dbd6=_0x38f8c6['createRangeOn'](_0x405277);return new K({'type':'manual','modelRange':_0x17dbd6,'domNode':_0x1a732d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0xd46709,_0x4c1625,_0xce951d){const _0x7329ad=this['editor']['model'],_0x4cdbd7=this['editor']['editing']['mapper'],_0x5828b1=this['editor']['editing']['view']['domConverter'];if(_0xce951d>=_0x4c1625['length'])return null;const _0x2d70d5=_0x4cdbd7['toModelPosition'](_0xd46709),_0x32bbac=_0x7329ad['createRange'](_0x2d70d5),_0x353438=_0x4cdbd7['findMappedViewAncestor'](_0xd46709),_0x231d3c=_0x5828b1['mapViewToDom'](_0x353438);return new K({'type':'text','modelRange':_0x32bbac,'domNode':_0x4c1625,'offset':m(_0x4c1625,_0xce951d,_0x231d3c)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2f1fb6,_0x51f2fd,_0x19e4d4){const _0x43e696=this['editor']['model'],_0x1b1ce9=this['editor']['editing'],_0x2036b1=_0x1b1ce9['mapper'],_0x455d59=_0x1b1ce9['view']['domConverter'],_0x1d7109=_0x2036b1['findMappedViewAncestor'](_0x2f1fb6),_0x266327=_0x2036b1['toModelElement'](_0x1d7109),_0x3566b5=function(_0x3b018a){const _0x42a1e4=_0x3b018a['parent'],_0x172a4c=_0x42a1e4['root']['document']['model'],_0x6439d7=_0x42a1e4['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x576c5c=null;for(const _0x2df259 of _0x6439d7){if(_0x2df259['is']('rootElement'))return _0x576c5c;if(!_0x172a4c['createPositionBefore'](_0x2df259)['isTouching'](_0x3b018a))return _0x576c5c;_0x576c5c=_0x2df259;}}(_0x43e696['createPositionBefore'](_0x266327)),_0x283a9f=_0x3566b5||_0x266327;let _0x2319be=_0x2036b1['toViewElement'](_0x283a9f),_0x151af0=_0x43e696['createRangeOn'](_0x283a9f);const _0x26a767=_0x43e696['createPositionBefore'](_0x283a9f)['nodeBefore'];if(_0x26a767&&_0x26a767['is']('element','imageBlock')){const _0x587d24=_0x2036b1['toViewElement'](_0x26a767),_0x2708d5=_0x455d59['mapViewToDom'](_0x587d24),_0x38d232=_0x22ab5f['window']['getComputedStyle'](_0x2708d5)['float'];'left'!=_0x38d232&&'right'!=_0x38d232||(_0x151af0=_0x43e696['createRangeOn'](_0x26a767));}for(;_0x2319be['parent']!==_0x2319be['root']&&0x0===_0x2319be['index'];)_0x2319be=_0x2319be['parent'];const _0x4b6066=new _0x5a6e08(S(_0x51f2fd)?_0x51f2fd:P(_0x51f2fd)),_0x52b5e9=_0x19e4d4?_0x4b6066['height']-_0x19e4d4:0x0,_0x864475=_0x455d59['mapViewToDom'](_0x2319be),_0x304cad=new _0x5a6e08(_0x864475);return new K({'type':'element','modelRange':_0x151af0,'domNode':_0x864475,'offset':Math['round'](_0x52b5e9)?_0x52b5e9+_0x4b6066['top']-_0x304cad['top']:0x0});}get['_configuredPaddings'](){const _0x149c08=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x149c08);}static['_findPageStarterInfos'](_0x3fe4d4,_0x5d0edb,_0x2a7f8d,_0x418fda,_0x11af93){return x(_0x3fe4d4,_0x5d0edb,_0x2a7f8d,_0x418fda,_0x11af93);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1e7fed,modelRange:_0x9a918b,domNode:_0x81efae,offset:_0x1574bf}){this['type']=_0x1e7fed,this['modelRange']=_0x9a918b,this['_domNode']=_0x81efae,this['_offset']=_0x1574bf;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x57a9a4=new _0x5a6e08(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x57a9a4['top']+_0x57a9a4['height']/0x2:_0x57a9a4['top']+this['_offset'];}}function m(_0x501ecb,_0xc41072,_0x31c9d6){const _0x144560=P(_0x501ecb),_0xf56843=function(_0x18fcdd){const _0x323464=_0x22ab5f['document']['createRange']();return _0x323464['selectNodeContents'](_0x18fcdd),_0x323464;}(_0x31c9d6);let _0x3497e5;_0x3497e5=0x0==_0xc41072?b(_0xf56843['startContainer'],_0xf56843['startOffset'],_0x501ecb['parentNode'],Array['from'](_0x501ecb['parentNode']['childNodes'])['indexOf'](_0x501ecb)):b(_0xf56843['startContainer'],_0xf56843['startOffset'],_0x501ecb,_0xc41072);const _0x334536=b(_0x501ecb,_0xc41072,_0xf56843['endContainer'],_0xf56843['endOffset']),_0x928cea=new _0x5a6e08(_0x3497e5)['bottom'];return(new _0x5a6e08(_0x334536)['top']+_0x928cea)/0x2-new _0x5a6e08(_0x144560)['top'];}function p(_0x14bd1a){return _0x14bd1a['hasAttribute']('width')&&_0x14bd1a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4ddb04=>{function _0x501fee(){_0x14bd1a['removeEventListener']('load',_0x501fee),_0x14bd1a['removeEventListener']('error',_0x501fee),_0x4ddb04();}_0x14bd1a['complete']?_0x4ddb04():(_0x14bd1a['addEventListener']('load',_0x501fee),_0x14bd1a['addEventListener']('error',_0x501fee));});}function y(_0x150818){return new Promise(_0x526a1a=>setTimeout(_0x526a1a,_0x150818));}function P(_0x3aa7b8){const _0x318e3c=_0x22ab5f['document']['createRange']();return _0x318e3c['selectNode'](_0x3aa7b8),_0x318e3c;}function k(_0x580f1d,_0x261fb2,_0x2cba93){const _0x319f81=_0x22ab5f['document']['createRange']();return _0x319f81['setStart'](_0x580f1d,_0x261fb2),_0x319f81['setEnd'](_0x580f1d,_0x2cba93),_0x319f81;}function b(_0x2124f5,_0x564af2,_0x4ac0a0,_0x32570d){const _0x5eb64f=_0x22ab5f['document']['createRange']();return _0x5eb64f['setStart'](_0x2124f5,_0x564af2),_0x5eb64f['setEnd'](_0x4ac0a0,_0x32570d),_0x5eb64f;}function x(_0x170784,_0x3c5867,_0xac79b,_0x3f3232,_0x350ba5){const _0x19b0fd=[];for(const [_0x197e6e,_0x5e75db]of _0x170784['childNodes']['entries']()){let _0x4f5fb2=[];S(_0x5e75db)&&_0x5e75db['offsetParent']&&!_0x5e75db['style']['position']?_0x4f5fb2=_(_0x5e75db,_0x197e6e,_0x3c5867,_0xac79b,_0x3f3232,_0x350ba5):R(_0x5e75db)&&(_0x4f5fb2=B(_0x5e75db,_0x197e6e,_0x3c5867,_0xac79b,_0x350ba5)),_0x4f5fb2['length']&&(_0x19b0fd['push'](..._0x4f5fb2),_0x3c5867+=_0x4f5fb2['length']*_0xac79b,_0x350ba5=!0x1);}return _0x19b0fd;}function _(_0x36589e,_0x50a875,_0xeab2a9,_0x4f944e,_0x1360f3,_0xe75370){const _0x56180a=[];var _0xdb47f1;if((_0xdb47f1=_0x36589e['previousSibling'])&&S(_0xdb47f1)&&Boolean(_0xdb47f1['classList']['contains']('page-break')||_0xdb47f1['closest']('.page-break'))&&(_0x56180a['push']({'type':'manual','offset':0x0,'path':[_0x50a875-0x1]}),_0xe75370=!0x0),'table-row'==_0x22ab5f['window']['getComputedStyle'](_0x36589e)['display']){let _0x1e0866=0x0,_0x304edd=!0x1;for(const _0x8364ed of _0x36589e['getClientRects']())_0x1e0866+=_0x8364ed['height'],_0x8364ed['left']>=_0xeab2a9&&(_0x304edd=!0x0);if(_0x1e0866<_0x1360f3&&_0x304edd)return _0x56180a['push']({'type':'element','offset':0x0,'path':[_0x50a875]}),_0x56180a;}const _0x3c15ef=_0x36589e['closest']('figure.image');if(_0x3c15ef&&function(_0x475e21){let _0x5e0bec=!0x1;const _0x363406=_0x475e21['parentElement'],_0x591e7f=_0x363406['dataset']['rootName'],_0x91793c=_0x475e21['nextElementSibling'],_0x7e5e59=_0x475e21['previousElementSibling'],_0x47129b=_0x91793c&&_0x22ab5f['window']['getComputedStyle'](_0x91793c)['float'],_0x5644cf=_0x91793c&&'ck-fake-selection-container'===_0x91793c['className'];!_0x591e7f||_0x91793c||_0x7e5e59||(_0x5e0bec=!0x0),_0x591e7f&&!_0x7e5e59&&_0x5644cf&&(_0x5e0bec=!0x0),_0x591e7f&&!_0x7e5e59&&'none'!==_0x47129b&&(_0x5e0bec=!0x0);if(_0x5e0bec)return!0x1;return!0x0;}(_0x3c15ef)){const _0x4cc4b6=_0x22ab5f['window']['getComputedStyle'](_0x3c15ef)['float'];if('left'==_0x4cc4b6||'right'==_0x4cc4b6)return _0x56180a;}const _0x574db8=x(_0x36589e,_0xeab2a9,_0x4f944e,_0x1360f3,_0xe75370);if(_0x574db8['length']){for(const _0xbad4b of _0x574db8)_0x56180a['push']({'type':_0xbad4b['type'],'offset':_0xbad4b['offset'],'textOffset':_0xbad4b['textOffset'],'path':[_0x50a875,..._0xbad4b['path']]}),_0xeab2a9+=_0x4f944e,_0xe75370=!0x1;return _0x56180a;}return _0x56180a['push'](...function(_0x4595b9,_0x26c5a3,_0x21565e,_0x2c86b4,_0x1a3561){const _0x44e5a0=[];if('table-cell'==_0x22ab5f['window']['getComputedStyle'](_0x4595b9)['display'])return[];const _0x5747d9=[];for(const _0x1b2352 of _0x4595b9['getClientRects']())if(_0x1b2352['left']>=_0x21565e){for(const _0x58ab67 of _0x5747d9)_0x58ab67['height']+=_0x1b2352['height'];_0x5747d9['push']({'height':_0x1b2352['height']}),_0x21565e+=_0x2c86b4;}for(const _0x5d6fc7 of _0x5747d9)_0x1a3561||_0x44e5a0['push']({'type':'element','offset':_0x5d6fc7['height'],'textOffset':0x0,'path':[_0x26c5a3]}),_0x1a3561=!0x1;return _0x44e5a0;}(_0x36589e,_0x50a875,_0xeab2a9,_0x4f944e,_0xe75370)),_0x56180a;}function B(_0x2e1e64,_0x304def,_0x188f84,_0x1b5895,_0x4f69f0){const _0x3a03eb=P(_0x2e1e64),_0x407730=[];let _0x5b5ba0=0x0;for(const _0x27ccc8 of _0x3a03eb['getClientRects']())if(_0x27ccc8['left']>=_0x188f84){const _0x5ebbf5=I(_0x2e1e64,_0x5b5ba0,_0x188f84,_0x1b5895);_0x4f69f0||_0x407730['push']({'type':'text','path':[_0x304def],'textOffset':_0x5ebbf5}),_0x5b5ba0=_0x5ebbf5,_0x188f84+=_0x1b5895,_0x4f69f0=!0x1;}return _0x407730;}function I(_0x2858e2,_0x1167f0,_0x3638a0,_0x107f11){let _0x6881ed=_0x1167f0,_0x590019=_0x2858e2['length'];for(;_0x590019-_0x6881ed>0x1;){const _0x1c4204=Math['ceil']((_0x6881ed+_0x590019)/0x2);N(k(_0x2858e2,_0x6881ed,_0x1c4204),_0x3638a0,_0x107f11)?_0x590019=_0x1c4204:_0x6881ed=_0x1c4204;}return _0x6881ed;}function N(_0x24feee,_0x50ed68,_0x34b376){for(const _0x287bc9 of _0x24feee['getClientRects']())if(_0x287bc9['left']>=_0x50ed68&&_0x287bc9['left']<_0x50ed68+_0x34b376)return!0x0;return!0x1;}function S(_0x54b3a9){return _0x54b3a9['nodeType']==Node['ELEMENT_NODE'];}function R(_0x3795da){return _0x3795da['nodeType']==Node['TEXT_NODE'];}const z=_0x21674d('px');class V extends _0x4975cf{constructor(){super();const _0x36a0ef=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x36a0ef['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x36a0ef['if']('isVisible','ck-hidden',_0x306fa1=>!_0x306fa1)],'style':{'left':_0x36a0ef['to']('left',_0x43dfb7=>z(_0x43dfb7)),'top':_0x36a0ef['to']('top',_0x46ac02=>z(_0x46ac02)),'width':_0x36a0ef['to']('width',_0x30a2ec=>z(_0x30a2ec))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x58596a){this['_viewCollection']=_0x58596a['ui']['view']['body'];}['destroy'](){for(const _0x55641b of this['_hiddenLines'])_0x55641b['destroy']();}['cleanLines'](){for(const _0xb46485 of this['_visibleLines'])_0xb46485['isVisible']=!0x1,this['_hiddenLines']['add'](_0xb46485);this['_visibleLines']['clear']();}['showLine'](_0xcb9a2,_0x1072e2,_0xb87591,_0x553dfe){let _0x5b7216;this['_hiddenLines']['size']?(_0x5b7216=_0x141157(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5b7216)):_0x5b7216=new V(),_0x5b7216['set']({'pageNumber':_0x553dfe,'left':_0xcb9a2,'top':_0x1072e2,'width':_0xb87591}),_0x5b7216['isVisible']=!0x0,this['_viewCollection']['has'](_0x5b7216)||this['_viewCollection']['add'](_0x5b7216),this['_visibleLines']['add'](_0x5b7216);}['setViewCollection'](_0x4103c){this['_viewCollection']=_0x4103c;}}const L='ck-pagination_enabled';class c extends _0x164fee{['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',(_0x72b3ed,_0x1eb9b1,_0x14a79e)=>{_0x14a79e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x14a79e);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x33ad11){if(!this['isEnabled'])return;const _0x18163c=_0x33ad11>0x1?this['_getPageBreakLineOffset'](_0x33ad11-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x18163c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5e0cc2['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x32ea23=this['editor'],_0x3a6b32=this['_getAttachedDomRoot']();_0x3a6b32?(this['_scrollableEditingRootDomAncestor']&&_0x32ea23['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x45ae6e){let _0x50daa3=_0x45ae6e;do{_0x50daa3=_0x50daa3['parentElement'];const _0x36fddf=_0x22ab5f['window']['getComputedStyle'](_0x50daa3)['overflowY'];if('auto'==_0x36fddf||'scroll'==_0x36fddf)break;}while('BODY'!=_0x50daa3['tagName']);return _0x50daa3;}(_0x3a6b32),_0x32ea23['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xace8b2(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x32ea23['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x23a889=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x23a889['ui']['view']['listenTo'](_0x22ab5f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x23a889['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5b1b96 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5b1b96['ownerDocument']['body']['contains'](_0x5b1b96))return _0x5b1b96;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x222c39=this['_getAttachedDomRoot'](),_0x55bae8=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x222c39||0x1==_0x55bae8['length'])return void(this['pageNumber']=0x1);const _0x2f16f4=new _0x5a6e08(_0x222c39)['excludeScrollbarsAndBorders'](),_0x325b30=new _0x5a6e08(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x8d2423=_0x325b30['top']+_0x325b30['height']/0x3;let _0x38634f=!0x1;const _0x1cbd95=[];for(let _0x10e0cc=0x1;_0x10e0cc<_0x55bae8['length'];_0x10e0cc++){const _0x25ef95=this['_getPageBreakLineOffset'](_0x10e0cc,_0x325b30);if(!_0x25ef95)continue;const _0x51978f=_0x325b30['top']+_0x25ef95-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1cbd95['push']({'pageOffsetTop':_0x51978f,'domRootRect':_0x2f16f4,'domScrollableRect':_0x325b30,'pageNumber':_0x10e0cc}),_0x51978f>_0x8d2423&&!_0x38634f&&(this['pageNumber']=_0x10e0cc,_0x38634f=!0x0);}this['_renderPageBreakLines'](_0x1cbd95),_0x38634f||(this['pageNumber']=_0x55bae8['length']);}['_renderPageBreakLines'](_0x1faf50){const {scrollX:_0x4b68fc,scrollY:_0x53234a}=_0x22ab5f['window'];if(_0x1faf50['length']){for(const {domScrollableRect:_0x18a279,pageOffsetTop:_0x449238,domRootRect:_0x2d3628,pageNumber:_0x3e590a}of _0x1faf50)_0x18a279['top']<_0x449238&&_0x449238<_0x18a279['bottom']&&this['linesRepository']['showLine'](_0x2d3628['left']+_0x4b68fc,_0x449238+_0x53234a,_0x2d3628['width'],_0x3e590a+0x1);}}['_getPageBreakLineOffset'](_0x13b76c,_0x26450a=null){const _0x29161d=this['_paginationLookupPlugin']['pageBreaks'][_0x13b76c]['offset'];return _0x29161d?(_0x26450a||(_0x26450a=new _0x5a6e08(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x29161d-_0x26450a['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x299a13,_0x15d071=!0x0){const _0x471bc0=this['editor']['editing']['view'];_0x471bc0['change'](_0x567fe2=>{for(const _0x27b7ca of _0x471bc0['document']['roots'])_0x15d071?_0x567fe2['addClass'](_0x299a13,_0x27b7ca):_0x567fe2['removeClass'](_0x299a13,_0x27b7ca);});}}function g(_0x14c9c2,_0x20acdf,..._0x54c5f7){const t=_0x14c9c2['t'];switch(_0x20acdf){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)',..._0x54c5f7);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 _0x20acdf;}}class s extends _0x164fee{['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 _0x5c2747=this['editor']['plugins']['get']('Pagination'),_0x325a0e=this['editor']['plugins']['get'](n),_0x324495=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x5c2747),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x324495),this['listenTo'](_0x325a0e,'change:pageBreaks',(_0x3c8311,_0x3dd3cf,_0xec8aeb,_0x382228)=>{this['totalPages']=_0xec8aeb['length'],this['_updatePageBreakMarkers'](_0xec8aeb,_0x382228);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2f2970=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x599a6a;for(const _0x53b8c3 in _0x2f2970){const _0x579ef0=_0x53b8c3,_0x2e06ed=_0x2f2970[_0x579ef0];if('paginationLicenseKeyValid'==_0x2e06ed||'paginationLicenseKeyInvalid'==_0x2e06ed||'paginationLicenseKeyExpired'==_0x2e06ed||'paginationLicenseKeyDomainLimit'==_0x2e06ed||'paginationLicenseKeyNotAllowed'==_0x2e06ed||'paginationLicenseKeyEvaluationLimit'==_0x2e06ed||'paginationLicenseKeyTrialLimit'==_0x2e06ed||'paginationLicenseKeyUsageLimit'==_0x2e06ed){delete _0x2f2970[_0x579ef0],_0x599a6a=_0x2e06ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x599a6a&&_0x2f2970['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x599a6a&&_0x2f2970['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x599a6a&&_0x2f2970['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x599a6a&&_0x2f2970['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x599a6a&&_0x2f2970['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x599a6a&&_0x2f2970['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x599a6a&&_0x2f2970['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x495c88){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x495c88));}['moveSelectionToPage'](_0x109a28){if(!this['isEnabled'])return;const _0x465241=this['editor'],_0x2a216a=this['editor']['plugins']['get'](n)['pageBreaks'][_0x109a28-0x1];_0x2a216a&&_0x465241['model']['change'](_0x410cfa=>{switch(_0x2a216a['type']){case'manual':{const _0x3f1975=_0x465241['model']['schema']['getNearestSelectionRange'](_0x2a216a['modelRange']['end'],'forward');_0x410cfa['setSelection'](_0x3f1975);break;}case'element':{const _0x41f435=_0x465241['model']['schema']['getNearestSelectionRange'](_0x2a216a['modelRange']['start'],'forward');_0x410cfa['setSelection'](_0x41f435);break;}case'text':{const _0x585da2=_0x2a216a['modelRange']['start'];if('\x20'===_0x585da2['textNode']['data'][_0x585da2['offset']]){const _0xf18a7f=_0x410cfa['createPositionAt'](_0x585da2['parent'],_0x585da2['offset']+0x1);_0x410cfa['setSelection'](_0xf18a7f);}else _0x410cfa['setSelection'](_0x2a216a['modelRange']);}}_0x465241['editing']['view']['focus']();});}['goToNextPage'](){const _0xe096a9=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0xe096a9),this['scrollToPage'](_0xe096a9);}['goToPreviousPage'](){const _0x14f09e=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x14f09e),this['scrollToPage'](_0x14f09e);}['_updatePageBreakMarkers'](_0x483293,_0x1ea68e){const _0x5d807e=this['editor']['model'];this['isEnabled']&&_0x5d807e['change'](_0x248e4b=>{for(let _0x3528c=0x1;_0x3528c<_0x483293['length'];_0x3528c++){const _0x4f6024=_0x483293[_0x3528c]['modelRange'],_0x30b637='pagination:'+(_0x3528c+0x1);_0x5d807e['markers']['has'](_0x30b637)?_0x248e4b['updateMarker'](_0x30b637,{'range':_0x4f6024}):_0x248e4b['addMarker'](_0x30b637,{'range':_0x4f6024,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x33a1e4=_0x483293['length'];_0x33a1e4<_0x1ea68e['length'];_0x33a1e4++){const _0x308527='pagination:'+(_0x33a1e4+0x1);_0x5d807e['markers']['has'](_0x308527)&&_0x248e4b['removeMarker'](_0x308527);}});}['_setUpDataDowncastConversion'](){const _0xbbb9c0='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x410ccd=>{_0x410ccd['on']('addMarker:'+_0xbbb9c0,(_0x59ff83,{markerRange:_0x594aa6,markerName:_0x32c1c9},_0xf89635)=>{if(!_0xf89635['options']['pagination'])return;if(!_0xf89635['consumable']['consume'](_0x594aa6,_0x59ff83['name']))return;const _0x516955=_0x594aa6['getContainedElement']();let _0x1f5a3d=_0x516955?_0xf89635['mapper']['toViewElement'](_0x516955):null;if(!_0x1f5a3d){const _0x1c015e=_0x594aa6['start'];if(_0xf89635['schema']['checkChild'](_0x1c015e,'$text')){const _0x4356f6=_0xf89635['mapper']['toViewPosition'](_0x1c015e);_0x1f5a3d=_0xf89635['writer']['createContainerElement']('span'),_0x1f5a3d['getFillerOffset']=()=>null,_0xf89635['writer']['insert'](_0x4356f6,_0x1f5a3d);}else{const _0x457a79=_0x1c015e['nodeAfter'];_0x1f5a3d=_0xf89635['mapper']['toViewElement'](_0x457a79);}}for(;_0x1f5a3d['parent']!==_0x1f5a3d['root']&&0x0===_0x1f5a3d['index'];)_0x1f5a3d=_0x1f5a3d['parent'];const _0x3fb574=_0x32c1c9['substring'](0xb);_0x1f5a3d['hasClass']('page-break')||(_0xf89635['writer']['setStyle']('page-break-before','always',_0x1f5a3d),_0xf89635['writer']['setAttribute']('data-pagination-page',_0x3fb574,_0x1f5a3d),_0xf89635['mapper']['bindElementToMarker'](_0x1f5a3d,_0x32c1c9)),_0x59ff83['stop']();});});}['_setupKeystrokes'](){const _0x4a2643=this['editor'];_0x4a2643['keystrokes']['set']('Shift+Pageup',(_0x25ed97,_0xb00611)=>{this['goToPreviousPage'](),_0xb00611();}),_0x4a2643['keystrokes']['set']('Shift+Pagedown',(_0x30a655,_0x2c0ee6)=>{this['goToNextPage'](),_0x2c0ee6();}),_0x4a2643['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4a2643['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4a2643['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4a2643['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x165401){return _0x165401<0x1&&(_0x165401=0x1),_0x165401>this['totalPages']&&(_0x165401=this['totalPages']),_0x165401;}}class U extends _0x4975cf{['pageNumberView'];constructor(_0x1b7941){super(_0x1b7941);const _0x38d113=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x157de8(_0x1b7941,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x200e8d=>g(_0x1b7941,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x200e8d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x145bf6=>!_0x145bf6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x38d113['if']('isEnabled','ck-disabled',_0x4c837f=>!_0x4c837f)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x38d113['to']('totalPages')}]}]});}['render'](){super['render']();const _0xac776f=this['pageNumberView']['element'],_0x5aca88=_0x3320bd=>{this['pageNumberView']['element']['value']=String(_0x3320bd);};_0x5aca88(this['pageNumber']),this['on']('change:pageNumber',(_0x51b9a1,_0x5c8b83,_0x2b82cb)=>{_0x5aca88(_0x2b82cb);}),this['listenTo'](_0xac776f,'keydown',(_0x12680d,_0x5d2966)=>{if('ArrowUp'===_0x5d2966['key']||'ArrowDown'===_0x5d2966['key'])return void _0x5d2966['stopPropagation']();if(_0x5d2966['keyCode']!==_0x260b98['enter'])return;_0x5d2966['preventDefault']();const _0x43ba70=_0xac776f['valueAsNumber'];Number['isNaN'](_0x43ba70)?_0xac776f['value']=String(this['pageNumber']):(_0xac776f['checkValidity']()?this['pageNumber']=_0x43ba70:_0x43ba70>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xac776f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xac776f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xac776f,'blur',()=>{_0xac776f['value']=String(this['pageNumber']);}),this['listenTo'](_0xac776f,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x164fee{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x57c84c=this['editor'],_0x2904dd=_0x57c84c['plugins']['get']('PaginationEditing');_0x57c84c['ui']['componentFactory']['add']('pageNavigation',_0x1b0179=>{const _0x5e27d3=new U(_0x1b0179);return _0x5e27d3['bind']('pageNumber')['to'](_0x2904dd),_0x5e27d3['bind']('totalPages')['to'](_0x2904dd),_0x5e27d3['bind']('isEnabled')['to'](_0x2904dd),_0x5e27d3['on']('navigation',(_0x366a78,_0x55f025)=>{_0x2904dd['moveSelectionToPage'](_0x55f025),_0x2904dd['scrollToPage'](_0x55f025);}),_0x5e27d3;}),_0x57c84c['ui']['componentFactory']['add']('nextPage',_0x137fe3=>{const _0x2de141=new _0x16baa1(_0x137fe3);return _0x2de141['isEnabled']=!0x0,_0x2de141['label']=g(_0x57c84c['locale'],'Go\x20to\x20next\x20page'),_0x2de141['icon']=_0x240104,_0x2de141['tooltip']=!0x0,_0x2de141['keystroke']='Shift+PageDown',_0x2de141['bind']('isEnabled')['to'](_0x2904dd),this['listenTo'](_0x2de141,'execute',()=>{_0x2904dd['goToNextPage']();}),_0x2de141;}),_0x57c84c['ui']['componentFactory']['add']('previousPage',_0x1e4767=>{const _0x2d2cfd=new _0x16baa1(_0x1e4767);return _0x2d2cfd['isEnabled']=!0x0,_0x2d2cfd['label']=g(_0x57c84c['locale'],'Go\x20to\x20previous\x20page'),_0x2d2cfd['icon']=_0x588676,_0x2d2cfd['tooltip']=!0x0,_0x2d2cfd['keystroke']='Shift+PageUp',_0x2d2cfd['bind']('isEnabled')['to'](_0x2904dd),this['listenTo'](_0x2d2cfd,'execute',()=>{_0x2904dd['goToPreviousPage']();}),_0x2d2cfd;});}}class a extends _0x164fee{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x1f0570){super(_0x1f0570),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x46009f=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x46009f),this['bind']('totalPages')['to'](_0x46009f),_0x5e0cc2['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x5e266f){this['editor']['plugins']['get'](s)['scrollToPage'](_0x5e266f);}}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':_0x10be36=>0x1!=_0x10be36}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13abda=>{const {af:{dictionary:_0x56abba,getPluralForm:_0x6e43a3}}={'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':_0x4f0fa9=>0x1!=_0x4f0fa9}};_0x13abda['af']||={'dictionary':{},'getPluralForm':null},_0x13abda['af']['dictionary']=Object['assign'](_0x13abda['af']['dictionary'],_0x56abba),_0x13abda['af']['getPluralForm']=_0x6e43a3;})(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':_0xcf47cd=>0x0==_0xcf47cd?0x0:0x1==_0xcf47cd?0x1:0x2==_0xcf47cd?0x2:_0xcf47cd%0x64>=0x3&&_0xcf47cd%0x64<=0xa?0x3:_0xcf47cd%0x64>=0xb?0x4:0x5}};
|