@ckeditor/ckeditor5-pagination 45.1.0-alpha.7 → 45.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index-editor.css +4 -0
- package/dist/index.css +13 -0
- 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/theme/pagination.css +12 -0
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:()=>X});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=l;!function(t){const e=l,n=t();for(;;)try{if(169856===-parseInt(e(313))/1+-parseInt(e(398))/2*(-parseInt(e(401))/3)+parseInt(e(338))/4+parseInt(e(312))/5*(-parseInt(e(385))/6)+parseInt(e(329))/7+-parseInt(e(400))/8+parseInt(e(363))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class a extends t.Plugin{[r(450)]=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(319)]()),200);[r(351)]=null;static get[r(483)](){return r(317)}static get[r(330)](){return!0}static get[r(350)](){return!0}[r(387)](){const t=r;if(this[t(487)]({pageBreaks:[]}),!this[t(445)][t(392)][t(344)](t(424)))return void(0,o.logWarning)(t(467),this[t(445)][t(392)]);const e=this[t(445)][t(448)][t(344)](t(337));this[t(433)](t(439)).to(e),this[t(445)].ui[t(352)](t(410),(()=>this[t(442)]())),this.on(t(305),((e,n,i)=>{i&&this[t(450)]()}))}[r(416)](){!async function(t){const e=m([67,106,50,117,115,113,65,103,89,98,104,109,48,70,108,53,76,56,81,55,87,118,100,119,74,49,82,97,102,68,54,88,116,105,57,75,121,66,52,122,114,80,73,101,78,69,77,84,107,86,111,83,120,71,112,90,85,99,110,51,72,79]),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])](p(t)):null}function p(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 f(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 h(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=l;return t[e(426)]((t=>String[e(457)](t)))[e(378)]("")}!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([67]);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])],f(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 p(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])?h(f(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])+h(f(t)),i=d(h(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])+h(f(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=>{p(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])](p(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:1747180800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=l,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(432)]);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(420)](){const t=r;super[t(420)](),this[t(351)]&&(this[t(450)][t(473)](),this[t(351)][t(420)](),this[t(351)][t(358)][t(412)]())}[r(442)](){const t=r,n=this[t(445)],i=n[t(455)][t(461)],o=this[t(489)]();if(!o||0===o[t(435)])return void n.ui[t(352)](t(405),(()=>this[t(442)]()));const{pageWidth:s,pageHeight:a}=n[t(392)][t(344)](t(424)),{top:c,left:u,bottom:l,right:p}=this[t(335)];this[t(351)]=new e.View(n[t(482)]);const f=this[t(351)];f[t(487)](t(394),""),f[t(381)]({tag:t(370),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(366)+a+t(486)+c+t(486)+l+" )",minWidth:t(361),minHeight:t(361),padding:"0 "+p+t(323)+u,columnGap:t(379),border:0,boxSizing:t(377),columnCount:t(361),columnFill:t(361),overflow:t(318),position:t(477),top:t(490),left:t(490)},tabindex:"-1",class:f[t(440)].to(t(394))}}),f[t(325)](),o[t(441)][t(481)](f[t(358)],o[t(353)]),this[t(406)](i,t(325),(()=>this[t(450)]()),{priority:t(368)}),this[t(450)]()}[r(489)](){const t=r;for(const e of this[t(445)][t(455)][t(461)][t(341)][t(447)]())if(e[t(360)][t(355)][t(443)](e))return e;return null}[r(319)](){const t=r;if(!this[t(439)])return Promise[t(342)]();const e=this[t(445)][t(455)][t(461)],n=this[t(351)],i=this[t(489)]();if(!i)return Promise[t(342)]();for(n[t(394)]=[t(380),t(458),...i[t(308)]][t(378)](" ");n[t(358)][t(471)];)n[t(358)][t(471)][t(412)]();const o=Array[t(413)](e[t(341)]);o[t(465)]((([,e],[,n])=>e[t(383)](n)==Node[t(421)]?1:-1));for(const[e,i]of o){const o=i[t(357)](!0);t(411)in o&&o[t(411)][t(331)](),o[t(306)]="",o[t(404)]("id"),o[t(430)][t(423)]=e,n[t(358)][t(310)](o)}return function(e){const n=t;return Promise[n(397)](e[n(426)]((t=>{return Promise[n(428)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(413)](n[t(358)][t(333)](t(375))))[t(328)]((()=>this[t(466)]()))}[r(466)](){const t=r,e=this[t(351)][t(358)];if(!e[t(360)][t(355)][t(443)](e))return;const n=new o.Rect(e)[t(425)](),i=o.global[t(372)][t(454)](e),s=parseFloat(i[t(307)])+parseFloat(i[t(324)]),a=Math[t(347)](n[t(417)]+100-s),c=m(e,Math[t(347)](n[t(479)]-e[t(340)]),a,n[t(365)])[t(426)]((e=>this[t(386)](e)));c[t(315)]((t=>!!t))&&(this[t(438)]=c)}[r(386)](t){const e=r,n=this[e(445)][e(455)][e(461)],i=this[e(445)][e(455)][e(478)],o=n[e(304)],s=t[e(356)][e(371)](),a=this[e(351)][e(358)][e(476)][s][e(430)][e(423)],c=n[e(427)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(356)]){if(!o)return null;o=o[i(476)][t]}return o}(c,t);if(!u)return null;const l=o[e(362)](u,t[e(332)]||0);return l?e(480)==t[e(320)]?this[e(402)](l,u):e(436)==t[e(320)]&&i[e(485)](l)[e(396)]?this[e(451)](l,u,t[e(332)]):this[e(475)](l,u,t[e(396)]):null}[r(402)](t,e){const n=r,i=this[n(445)][n(414)],o=this[n(445)][n(455)][n(478)][n(391)](t[n(462)]),s=i[n(348)](o);return new c({type:n(480),modelRange:s,domNode:e,offset:0})}[r(451)](t,e,n){const i=r,o=this[i(445)][i(414)],s=this[i(445)][i(455)][i(478)],a=this[i(445)][i(455)][i(461)][i(304)];if(n>=e[i(434)])return null;const l=s[i(485)](t),p=o[i(349)](l),f=s[i(384)](t),h=a[i(369)](f);return new c({type:i(436),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(475)](t,e,n){const i=r,s=this[i(445)][i(414)],a=this[i(445)][i(455)],u=a[i(478)],l=a[i(461)][i(304)],p=u[i(384)](t),h=u[i(391)](p),d=function(t){const e=i,n=t[e(462)],o=n[e(303)][e(459)][e(414)],s=n[e(336)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(399)))return r;if(!o[e(382)](n)[e(491)](t))return r;r=n}}(s[i(382)](h))||h;let g=u[i(453)](d),m=s[i(348)](d);const b=s[i(382)](d)[i(327)];if(b&&b.is(i(358),i(456))){const t=u[i(453)](b),e=l[i(369)](t),n=o.global[i(372)][i(454)](e)[i(468)];i(479)!=n&&i(364)!=n||(m=s[i(348)](b))}for(;g[i(462)]!==g[i(303)]&&0===g[i(390)];)g=g[i(462)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(365)]-n:0,v=l[i(369)](g),I=new o.Rect(v);return new c({type:i(358),modelRange:m,domNode:v,offset:Math[i(464)](k)?k+w[i(395)]-I[i(395)]:0})}get[r(335)](){const t=r,e=this[t(445)][t(392)][t(344)](t(484));return Object[t(376)]({top:t(446),bottom:t(446),left:t(446),right:t(446)},e)}static[r(422)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(320)];[r(316)];[r(493)];[r(418)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(320)]=t,this[o(316)]=e,this[o(493)]=n,this[o(418)]=i}get[r(396)](){const t=r;if(!this[t(493)][t(360)][t(355)][t(443)](this[t(493)]))return 0;const e=new o.Rect(y(this[t(493)])?this[t(493)]:f(this[t(493)]));return t(480)==this[t(320)]?e[t(395)]+e[t(365)]/2:e[t(395)]+this[t(418)]}}function u(t,e,n){const i=r,s=f(t),a=function(t){const e=l,n=o.global[e(459)][e(349)]();return n[e(334)](t),n}(n);let c;c=0==e?g(a[i(388)],a[i(346)],t[i(441)],Array[i(413)](t[i(441)][i(476)])[i(469)](t)):g(a[i(388)],a[i(346)],t,e);const u=g(t,e,a[i(321)],a[i(359)]),p=new o.Rect(c)[i(444)];return(new o.Rect(u)[i(395)]+p)/2-new o.Rect(s)[i(395)]}function l(t,e){const n=d();return(l=function(t,e){return n[t-=303]})(t,e)}function p(t){const e=r;return t[e(474)](e(417))&&t[e(474)](e(365))?Promise[e(342)]():new Promise((n=>{const i=e;function o(){const e=l;t[e(437)](e(419),o),t[e(437)](e(393),o),n()}t[i(431)]?n():(t[i(322)](i(419),o),t[i(322)](i(393),o))}))}function f(t){const e=r,n=o.global[e(459)][e(349)]();return n[e(314)](t),n}function h(t,e,n){const i=r,s=o.global[i(459)][i(349)]();return s[i(409)](t,e),s[i(309)](t,n),s}function d(){const t=["getClientRects","afterInit","width","_offset","load","destroy","DOCUMENT_POSITION_PRECEDING","_findPageStarterInfos","rootName","pagination","excludeScrollbarsAndBorders","map","getDomRoot","race","TEXT_NODE","dataset","complete","href","bind","length","childElementCount","text","removeEventListener","pageBreaks","isEnabled","bindTemplate","parentNode","_onUiReady","contains","bottom","editor","10mm","values","plugins","figure.image","_recalculatePageBreaksDebounced","_mapTextPageStarterInfoToPageBreakInfo","push","toViewElement","getComputedStyle","editing","imageBlock","fromCharCode","ck-pagination-view","document","ELEMENT_NODE","view","parent","table-cell","round","sort","_updatePageBreaksData","pagination-config-not-found","float","indexOf","previousElementSibling","firstChild","table-row","cancel","hasAttribute","_mapElementPageStarterInfoToPageBreakInfo","childNodes","absolute","mapper","left","manual","insertBefore","locale","pluginName","pagination.pageMargins","toModelPosition"," - ","set","previousSibling","_getAttachedDomRoot","-99999px","isTouching","nodeType","_domNode","root","domConverter","change:isEnabled","className","paddingLeft","classList","setEnd","append","position","615245VGIhpc","104195uNiYIb","selectNode","every","modelRange","PaginationLookup","hidden","_recalculatePageBreaks","type","endContainer","addEventListener"," 0 ","paddingRight","render","offsetParent","nodeBefore","then","66437EktgUT","isOfficialPlugin","clear","textOffset","querySelectorAll","selectNodeContents","_configuredPaddings","getAncestors","PaginationEditing","811736pGlZXH","nextElementSibling","scrollLeft","domRoots","resolve",".page-break","get","closest","startOffset","floor","createRangeOn","createRange","isPremiumPlugin","_pagesContainer","once","nextSibling","none","body","path","cloneNode","element","endOffset","ownerDocument","auto","domPositionToView","239175NdApgs","right","height","calc( ","ceil","low","mapViewToDom","div","shift","window","display","entries","img","assign","border-box","join","100px","ck-reset","setTemplate","createPositionBefore","compareDocumentPosition","findMappedViewAncestor","6gdbtPh","_mapPageStarterInfoToPageBreakInfo","init","startContainer","parentElement","index","toModelElement","config","error","class","top","offset","all","1822aYsAHr","rootElement","666520fRRszC","795JHTEDg","_mapManualPageStarterInfoToPageBreakInfo","ck-fake-selection-container","removeAttribute","update","listenTo","page-break","style","setStart","ready","attributeStyleMap","remove","from","model"];return(d=function(){return t})()}function g(t,e,n,i){const s=r,a=o.global[s(459)][s(349)]();return a[s(409)](t,e),a[s(309)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(476)][s(374)]()){let t=[];y(c)&&c[s(326)]&&!c[s(408)][s(311)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(434)]&&(a[s(452)](...t),e+=t[s(434)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(488)])&&y(l)&&Boolean(l[c(308)][c(443)](c(407))||l[c(345)](c(343)))&&(u[c(452)]({type:c(480),offset:0,path:[e-1]}),a=!0),c(472)==o.global[c(372)][c(454)](t)[c(373)]){let i=0,o=!1;for(const e of t[c(415)]())i+=e[c(365)],e[c(479)]>=n&&(o=!0);if(i<s&&o)return u[c(452)]({type:c(358),offset:0,path:[e]}),u}const p=t[c(345)](c(449));if(p&&function(t){const e=c;let n=!1;const i=t[e(389)][e(430)][e(423)],s=t[e(339)],r=t[e(470)],a=s&&o.global[e(372)][e(454)](s)[e(468)],u=s&&e(403)===s[e(306)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(354)!==a&&(n=!0),!n}(p)){const t=o.global[c(372)][c(454)](p)[c(468)];if(c(479)==t||c(364)==t)return u}const f=m(t,n,i,s,a);if(f[c(434)]){for(const t of f)u[c(452)]({type:t[c(320)],offset:t[c(396)],textOffset:t[c(332)],path:[e,...t[c(356)]]}),n+=i,a=!1;return u}return u[c(452)](...function(t,e,n,i,s){const r=c,a=[];if(r(463)==o.global[r(372)][r(454)](t)[r(373)])return[];const u=[];for(const e of t[r(415)]())if(e[r(479)]>=n){for(const t of u)t[r(365)]+=e[r(365)];u[r(452)]({height:e[r(365)]}),n+=i}for(const t of u)s||a[r(452)]({type:r(358),offset:t[r(365)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(415)]())if(r[s(479)]>=n){const r=k(t,u,n,i);o||c[s(452)]({type:s(436),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(434)];for(;a-s>1;){const e=Math[o(367)]((s+a)/2);v(h(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(415)]())if(o[i(479)]>=e&&o[i(479)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(492)]==Node[e(460)]}function I(t){const e=r;return t[e(492)]==Node[e(429)]}var P=n(673),x=n.n(P),N=n(545),_=n.n(N),T=n(262),A=n.n(T),E=n(667),S=n.n(E),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=A().bind(null,"head"),O.domAPI=_(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function D(){const t=["4394232rCcGNN","357132TMvfNX","div","top","1308312QzXqsj","isVisible","175815KngaeM","set","ck-hidden","9190992hKDqnW","width","setTemplate","63TFsGCc","bindTemplate","108PDEtdg","777870QnHiEv","ck-pagination-view-line","708472kmnvoM","pageNumber","left"];return(D=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(837459===-parseInt(e(263))/1+parseInt(e(276))/2+-parseInt(e(274))/3+parseInt(e(273))/4*(parseInt(e(265))/5)+-parseInt(e(260))/6*(parseInt(e(271))/7)+parseInt(e(268))/8+parseInt(e(259))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,o.toUnit)("px");function G(t,e){const n=D();return(G=function(t,e){return n[t-=258]})(t,e)}class B extends e.View{constructor(){const t=G;super();const e=this[t(272)];this[t(266)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(270)]({tag:t(261),attributes:{"data-page-number":e.to(t(277)),class:["ck",t(275),e.if(t(264),t(267),(t=>!t))],style:{left:e.to(t(258),(t=>M(t))),top:e.to(t(262),(t=>M(t))),width:e.to(t(269),(t=>M(t)))}}})}}function V(t,e){const n=j();return(V=function(t,e){return n[t-=296]})(t,e)}const K=V;function j(){const t=["view","610758wxKljD","241018Vsjweq","setViewCollection","set","has","body","delete","456480WhSlrC","size","add","6319MVpAFF","cleanLines","clear","values","isVisible","_hiddenLines","991575yFzePp","1240CLOrwN","_viewCollection","showLine","_visibleLines","3VHCfjT","remove","310604kuxWqB","destroy","12649MSAwhV"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(143868===parseInt(e(322))/1+-parseInt(e(313))/2+-parseInt(e(306))/3*(-parseInt(e(308))/4)+-parseInt(e(319))/5+parseInt(e(312))/6+parseInt(e(310))/7*(parseInt(e(302))/8)+-parseInt(e(301))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[K(303)];[K(305)]=new Set;[K(300)]=new Set;constructor(t){const e=K;this[e(303)]=t.ui[e(311)][e(317)]}[K(309)](){const t=K;for(const e of this[t(300)])e[t(309)]()}[K(296)](){const t=K;for(const e of this[t(305)])e[t(299)]=!1,this[t(300)][t(321)](e);this[t(305)][t(297)]()}[K(304)](t,e,n,i){const s=K;let r;this[s(300)][s(320)]?(r=(0,o.first)(this[s(300)][s(298)]()),this[s(300)][s(318)](r)):r=new B,r[s(315)]({pageNumber:i,left:t,top:e,width:n}),r[s(299)]=!0,this[s(303)][s(316)](r)||this[s(303)][s(321)](r),this[s(305)][s(321)](r)}[K(314)](t){const e=K;for(const t of[...this[e(305)],...this[e(300)]])this[e(303)][e(316)](t)&&this[e(303)][e(307)](t);this[e(303)]=t}}const F=z;function z(t,e){const n=q();return(z=function(t,e){return n[t-=370]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(113210===-parseInt(e(446))/1+-parseInt(e(438))/2+-parseInt(e(440))/3*(parseInt(e(384))/4)+parseInt(e(442))/5*(-parseInt(e(413))/6)+-parseInt(e(441))/7+-parseInt(e(421))/8*(parseInt(e(445))/9)+parseInt(e(437))/10*(parseInt(e(428))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const H=F(372);class X extends t.Plugin{[F(439)];[F(434)]=null;[F(396)]=null;[F(432)];static get[F(389)](){return F(405)}static get[F(426)](){return!0}static get[F(385)](){return!0}[F(415)](){const t=F;this[t(398)]({pageNumber:1}),this[t(439)]=new U(this[t(392)]),this[t(434)]=null,this[t(396)]=null,this[t(432)]=this[t(392)][t(425)][t(401)](t(418)),this[t(412)](t(381)).to(this[t(392)][t(425)][t(401)](t(397))),this[t(392)].ui[t(411)](t(383),(()=>this[t(371)]())),this[t(406)](H),this.on(t(386),((e,n,i)=>{const o=t;i||this[o(439)][o(454)](),this[o(406)](H,i)}))}[F(380)](){const t=F;this[t(406)](H,!1),this[t(439)][t(380)](),this[t(434)]=null,this[t(396)]&&this[t(396)][t(380)]()}[F(431)](t){const e=F;if(!this[e(381)])return;const n=t>1?this[e(417)](t-1):0;this[e(434)][e(382)]({top:n-10,left:this[e(434)][e(404)],behavior:o.env[e(410)]?e(423):e(449)})}[F(394)](){const t=F,e=this[t(392)],n=this[t(419)]();n?(this[t(434)]&&e.ui[t(427)][t(436)](this[t(434)],t(400)),this[t(434)]=function(e){const n=t;let i=e;do{i=i[n(448)];const t=o.global[n(433)][n(444)](i)[n(429)];if(n(430)==t||n(400)==t)break}while(n(453)!=i[n(402)]);return i}(n),e.ui[t(427)][t(422)](this[t(434)],t(400),(()=>{this[t(403)]()}),{usePassive:!0}),this[t(396)]&&this[t(396)][t(380)](),this[t(396)]=new o.ResizeObserver(this[t(434)],(()=>{this[t(403)]()}))):e.ui[t(411)](t(395),(()=>this[t(394)]()))}[F(371)](){const t=F,e=this[t(392)];this[t(419)]()?(this[t(394)](),e.ui[t(427)][t(422)](o.global[t(433)],t(409),(()=>this[t(403)]())),this[t(422)](this[t(432)],t(379),(()=>this[t(403)]()))):e.ui[t(411)](t(395),(()=>this[t(371)]()))}[F(419)](){const t=F;for(const e of this[t(392)][t(399)][t(427)][t(387)][t(373)]())if(e[t(424)][t(414)][t(451)](e))return e;return null}[F(403)](){const t=F;if(!this[t(381)])return;const e=this[t(419)](),n=this[t(432)][t(370)];if(this[t(439)][t(454)](),!e||1==n[t(393)])return void(this[t(377)]=1);const i=new o.Rect(e)[t(407)](),s=new o.Rect(this[t(434)])[t(407)](),r=s[t(443)]+s[t(435)]/3;let a=!1;const c=[];for(let e=1;e<n[t(393)];e++){const n=this[t(417)](e,s);if(!n)continue;const o=s[t(443)]+n-this[t(434)][t(390)];c[t(388)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(377)]=e,a=!0)}this[t(408)](c),a||(this[t(377)]=n[t(393)])}[F(408)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(433)];if(t[e(393)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(443)]<s&&s<o[e(452)]&&this[e(439)][e(420)](r[e(391)]+n,s+i,r[e(416)],a+1)}[F(417)](t,e=null){const n=F,i=this[n(432)][n(370)][t][n(450)];return i?(e||(e=new o.Rect(this[n(434)])[n(407)]()),i-e[n(443)]+this[n(434)][n(390)]):0}[F(406)](t,e=!0){const n=F,i=this[n(392)][n(399)][n(427)];i[n(378)]((o=>{const s=n;for(const n of i[s(375)][s(447)])e?o[s(374)](t,n):o[s(376)](t,n)}))}}function q(){const t=["view","242lNPQAw","overflowY","auto","scrollToPage","_paginationLookupPlugin","window","_scrollableEditingRootDomAncestor","height","stopListening","417670JKopXe","417010RmMBzA","linesRepository","195kkAUbs","1351399vyGije","175PRxzxD","top","getComputedStyle","415089FLhrwT","191146rNKxXV","roots","parentElement","smooth","offset","contains","bottom","BODY","cleanLines","pageBreaks","_onUiReady","ck-pagination_enabled","values","addClass","document","removeClass","pageNumber","change","change:pageBreaks","destroy","isEnabled","scrollTo","ready","9892ySivLb","isPremiumPlugin","change:isEnabled","domRoots","push","pluginName","scrollTop","left","editor","length","setupScrollableAncestor","update","_resizeObserver","PaginationEditing","set","editing","scroll","get","tagName","_updatePageBreakLines","scrollLeft","PaginationRenderer","_toggleEditingRootsClass","excludeScrollbarsAndBorders","_renderPageBreakLines","resize","isMotionReduced","once","bind","1044UImAsZ","body","init","width","_getPageBreakLineOffset","PaginationLookup","_getAttachedDomRoot","showLine","8PMaHID","listenTo","instant","ownerDocument","plugins","isOfficialPlugin"];return(q=function(){return t})()}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 W=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=S(),J.insert=A().bind(null,"head"),J.domAPI=_(),J.insertStyleElement=C();x()(W.A,J);W.A&&W.A.locals&&W.A.locals;function Y(){const t=["licenseKey","usageLimit","61935rjeAYc","bind","substring","goToPreviousPage","for","toViewPosition","71286JtShTr","407372LGeccQ","PaginationEditing","set","Shift+Pageup","textNode","parent","paginationLicenseKeyInvalid","createPositionAt","Go to the next page (also move selection)","accessibility","hasClass","markers","checkChild","consumable","keystrokes","has","root","paginationLicenseKeyExpired","view","locale","consume","_showLicenseError","modelRange","_licenseKeyCheckInterval","setStyle","Keystrokes for navigating through documents","_updatePageBreakMarkers","forward","init","name","getContainedElement","setSelection","mapper","paginationLicenseKeyTrialLimit","addKeystrokeInfoGroup","_validatePageNumber","requires","stop","options","_setUpDataDowncastConversion","updateMarker","focus","paginationLicenseKeyNotAllowed","trialLimit","page-break-before","moveSelectionToPage","pageBreaks","length","config","2075flSnzU","2670UXQfqq","Shift+Pagedown","40wHLUVA","element","get","totalPages","54614JBdVQh","isOfficialPlugin","change","type","offset","$text","4NOzlzk","30510XDvrXB","conversion","span","paginationLicenseKeyValid","Go to the previous page (also move selection)","2354uXUVxC","always","writer","add","paginationLicenseKeyEvaluationLimit","editing","paginationLicenseKeyDomainLimit","534159JQnopb","domainLimit","dataDowncast","getFillerOffset","paginationLicenseKeyUsageLimit","isEnabled","listenTo","expired","invalid","addMarker","toViewElement","data","scrollToPage","bindElementToMarker","destroy","end","goToNextPage","editor","page-break","schema","pagination","featureNotAllowed","change:pageBreaks","pagination:","index","removeMarker","Pagination","_setupKeystrokes","text","insert","pageNumber","start","setAttribute","addMarker:","getNearestSelectionRange","evaluationLimit","pluginName","model","plugins","data-pagination-page","nodeAfter","createContainerElement","manual","isPremiumPlugin"];return(Y=function(){return t})()}const Z=$;function $(t,e){const n=Y();return($=function(t,e){return n[t-=270]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(151732===-parseInt(e(368))/1+-parseInt(e(297))/2+-parseInt(e(362))/3*(-parseInt(e(303))/4)+parseInt(e(290))/5*(-parseInt(e(291))/6)+parseInt(e(369))/7+-parseInt(e(293))/8*(parseInt(e(316))/9)+-parseInt(e(304))/10*(-parseInt(e(309))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Y);class tt extends t.Plugin{[Z(360)];[Z(392)];static get[Z(352)](){return Z(370)}static get[Z(298)](){return!0}static get[Z(359)](){return!0}static get[Z(277)](){return[a,X]}[Z(397)](){const t=Z;this[t(371)]({pageNumber:1,totalPages:1});const e=this[t(333)][t(354)][t(295)](t(342)),n=this[t(333)][t(354)][t(295)](a),i=this[t(333)][t(354)][t(295)](X);this[t(363)](t(321)).to(e),this[t(280)](),this[t(363)](t(346)).to(i),this[t(322)](n,t(338),((e,n,i,o)=>{const s=t;this[s(296)]=i[s(288)],this[s(395)](i,o)})),this[t(343)](),this[t(360)]=this[t(333)][t(289)][t(295)](t(360));const o=this[t(333)];this[t(392)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(307)==s||e(375)==s||e(386)==s||e(315)==s||e(283)==s||e(313)==s||e(274)==s||e(320)==s){delete o[i],n=s,clearInterval(this[e(392)]),this[e(392)]=void 0;break}}e(375)==n&&o[e(390)](e(324)),e(386)==n&&o[e(390)](e(323)),e(315)==n&&o[e(390)](e(317)),e(283)==n&&o[e(390)](e(337),e(342)),e(313)==n&&o[e(390)](e(351)),e(274)==n&&o[e(390)](e(284)),e(320)==n&&o[e(390)](e(361))}),1e3)}[Z(330)](){const t=Z;super[t(330)](),this[t(392)]&&clearInterval(this[t(392)])}[Z(328)](t){const e=Z;this[e(321)]&&this[e(333)][e(354)][e(295)](X)[e(328)](this[e(276)](t))}[Z(286)](t){const e=Z;if(!this[e(321)])return;const n=this[e(333)],i=this[e(333)][e(354)][e(295)](a)[e(287)][t-1];i&&n[e(353)][e(299)]((t=>{const o=e;switch(i[o(300)]){case o(358):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(331)],o(396));t[o(272)](e);break}case o(294):{const e=n[o(353)][o(335)][o(350)](i[o(391)][o(347)],o(396));t[o(272)](e);break}case o(344):{const e=i[o(391)][o(347)];if(e[o(373)]&&" "===e[o(373)][o(327)][e[o(301)]]){const n=t[o(376)](e[o(374)],e[o(301)]+1);t[o(272)](n)}else t[o(272)](i[o(391)])}}n[o(314)][o(387)][o(282)]()}))}[Z(332)](){const t=Z,e=this[t(276)](this[t(346)]+1);this[t(286)](e),this[t(328)](e)}[Z(365)](){const t=Z,e=this[t(276)](this[t(346)]-1);this[t(286)](e),this[t(328)](e)}[Z(395)](t,e){const n=Z,i=this[n(333)][n(353)];this[n(321)]&&i[n(299)]((o=>{const s=n;for(let e=1;e<t[s(288)];e++){const n=t[e][s(391)],r=s(339)+(e+1);i[s(380)][s(384)](r)?o[s(281)](r,{range:n}):o[s(325)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(288)];n<e[s(288)];n++){const t=s(339)+(n+1);i[s(380)][s(384)](t)&&o[s(341)](t)}}))}[Z(280)](){const t=Z,e=t(336);this[t(333)][t(305)][t(366)](t(318))[t(312)]((n=>{const i=t;n.on(i(349)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(279)][s(336)])return;if(!o[s(382)][s(389)](e,t[s(270)]))return;const r=e[s(271)]();let a=r?o[s(273)][s(326)](r):null;if(!a){const t=e[s(347)];if(o[s(335)][s(381)](t,s(302))){const e=o[s(273)][s(367)](t);a=o[s(311)][s(357)](s(306)),a[s(319)]=()=>null,o[s(311)][s(345)](e,a)}else{const e=t[s(356)];a=o[s(273)][s(326)](e)}}for(;a[s(374)]!==a[s(385)]&&0===a[s(340)];)a=a[s(374)];const c=n[s(364)](11);a[s(379)](s(334))||(o[s(311)][s(393)](s(285),s(310),a),o[s(311)][s(348)](s(355),c,a),o[s(273)][s(329)](a,n)),t[s(278)]()}))}))}[Z(343)](){const t=Z,e=this[t(333)];e[t(383)][t(371)](t(372),((e,n)=>{this[t(365)](),n()})),e[t(383)][t(371)](t(292),((e,n)=>{this[t(332)](),n()})),e[t(378)][t(275)]({id:t(336),label:Q(e[t(388)],t(394)),keystrokes:[{label:Q(e[t(388)],t(308)),keystroke:t(372),mayRequireFn:!0},{label:Q(e[t(388)],t(377)),keystroke:t(292),mayRequireFn:!0}]})}[Z(276)](t){const e=Z;return t<1&&(t=1),t>this[e(296)]&&(t=this[e(296)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=A().bind(null,"head"),it.domAPI=_(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=194]})(t,e)}function rt(){const t=["isReadOnly","ck-disabled","stopPropagation","keyCode","7150vsueAh","isNaN","listenTo","bindTemplate","fire","select","firstChild","20ukFIDD","navigation","Current page number (from 1 to %0)","setTemplate","pageNumberView","2241jYuFEX","pageNumber","change:pageNumber","checkValidity","ArrowUp","key","2202NbuYHA","ariaLabel","numeric","16490412TEQRHr","3101378OVQAUx","value","ck-page-navigator","bind","element","enter","totalPages","span","2163931FskDof","16EsnJke","14792DEuWtU","keydown","isEnabled","ArrowDown","460392HnEGjs","blur","focus","valueAsNumber","set","div","4egoAOg","preventDefault","5374eTkLPd","max","render"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(337034===-parseInt(e(222))/1*(-parseInt(e(235))/2)+-parseInt(e(227))/3*(parseInt(e(233))/4)+parseInt(e(242))/5*(parseInt(e(209))/6)+parseInt(e(213))/7+-parseInt(e(223))/8*(-parseInt(e(203))/9)+parseInt(e(198))/10*(parseInt(e(221))/11)+-parseInt(e(212))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(202)];constructor(t){const n=ot;super(t);const i=this[n(194)];this[n(231)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(202)]=new e.InputNumberView(t,{min:1,step:1}),this[n(202)][n(231)]({inputMode:n(211),tabIndex:-1}),this[n(202)][n(216)](n(210)).to(this,n(219),(e=>Q(t,n(200),e))),this[n(202)][n(216)](n(236)).to(this,n(219)),this[n(202)][n(216)](n(238)).to(this,n(225),(t=>!t)),this[n(201)]({tag:n(232),attributes:{class:["ck",n(215),i.if(n(225),n(239),(t=>!t))]},children:[this[n(202)],{tag:n(220),children:[{text:i.to(n(219))}]}]})}[ot(237)](){const t=ot;super[t(237)]();const e=this[t(202)][t(217)],n=e=>{const n=t;this[n(202)][n(217)][n(214)]=String(e)};n(this[t(204)]),this.on(t(205),((t,e,i)=>{n(i)})),this[t(244)](e,t(224),((n,i)=>{const s=t;if(s(207)===i[s(208)]||s(226)===i[s(208)])return void i[s(240)]();if(i[s(241)]!==o.keyCodes[s(218)])return;i[s(234)]();const r=e[s(230)];Number[s(243)](r)?e[s(214)]=String(this[s(204)]):(e[s(206)]()?this[s(204)]=r:r>this[s(219)]?(this[s(204)]=this[s(219)],e[s(214)]=String(this[s(219)])):(this[s(204)]=1,e[s(214)]="1"),this[s(195)](s(199),this[s(204)]))})),this[t(244)](e,t(228),(()=>{const n=t;e[n(214)]=String(this[n(204)])})),this[t(244)](e,t(229),(()=>{const e=t;this[e(202)][e(196)]()}))}[ot(229)](){const t=ot;this[t(217)][t(197)][t(229)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=173]})(t,e)}function lt(){const t=["nextPage","goToPreviousPage","isEnabled","navigation","componentFactory","9529751PrxFPY","keystroke","listenTo","editor","pageNavigation","isOfficialPlugin","10KOpOkH","6909318AaLVnT","5765NscPky","totalPages","moveSelectionToPage","locale","Go to next page","icon","plugins","568QKeNTY","210198aWKunS","add","previousPage","PaginationUI","3268OIpktn","pageNumber","scrollToPage","9800439JRzqTN","Go to previous page","isPremiumPlugin","PaginationEditing","2910cuihjh","Shift+PageUp","tooltip","goToNextPage","8ZbmxFg","bind","Shift+PageDown","get","1673178jHJAdV","execute","pluginName","label","init"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(728910===-parseInt(e(215))/1*(parseInt(e(182))/2)+-parseInt(e(190))/3+parseInt(e(175))/4*(-parseInt(e(208))/5)+parseInt(e(216))/6+-parseInt(e(200))/7*(-parseInt(e(186))/8)+parseInt(e(207))/9+-parseInt(e(206))/10*(-parseInt(e(178))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(192)](){return ct(174)}static get[ct(205)](){return!0}static get[ct(180)](){return!0}[ct(194)](){const t=ct,n=this[t(203)],i=n[t(214)][t(189)](t(181));n.ui[t(199)][t(217)](t(204),(e=>{const n=t,o=new at(e);return o[n(187)](n(176)).to(i),o[n(187)](n(209)).to(i),o[n(187)](n(197)).to(i),o.on(n(198),((t,e)=>{const o=n;i[o(210)](e),i[o(177)](e)})),o})),n.ui[t(199)][t(217)](t(195),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=Q(n[s(211)],s(212)),r[s(213)]=et.IconArrowDown,r[s(184)]=!0,r[s(201)]=s(188),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(185)]()})),r})),n.ui[t(199)][t(217)](t(173),(o=>{const s=t,r=new e.ButtonView(o);return r[s(197)]=!0,r[s(193)]=Q(n[s(211)],s(179)),r[s(213)]=et.IconArrowUp,r[s(184)]=!0,r[s(201)]=s(183),r[s(187)](s(197)).to(i),this[s(202)](r,s(191),(()=>{i[s(196)]()})),r}))}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=327]})(t,e)}const ht=ft;function dt(){const t=["isEnabled","editor","1179GMTSpt","isBlink","isPremiumPlugin","init","isOfficialPlugin","301824RDehcd","3OwOQLV","bind","752kFNNzP","pluginName","pagination.enableOnUnsupportedBrowsers","set","requires","scrollToPage","1432145fGfegl","Pagination","config","1044736IhnUbN","91NuGkLC","814868wknaqo","60UGUReP","ready","browserCheck","plugins","totalPages","forceDisabled","get","10518JsysQB","pageNumber","237041XGjXbr"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(200942===parseInt(e(336))/1+-parseInt(e(344))/2+-parseInt(e(345))/3*(parseInt(e(358))/4)+-parseInt(e(353))/5+parseInt(e(334))/6*(parseInt(e(357))/7)+-parseInt(e(347))/8*(-parseInt(e(339))/9)+-parseInt(e(327))/10*(-parseInt(e(356))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(348)](){return ht(354)}static get[ht(343)](){return!0}static get[ht(341)](){return!0}static get[ht(351)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(337)]=!1}[ht(342)](){const t=ht;this[t(350)]({pageNumber:1,totalPages:1});const e=this[t(338)][t(330)][t(333)](tt);this[t(346)](t(335)).to(e),this[t(346)](t(331)).to(e),o.env[t(340)]||this[t(338)][t(355)][t(333)](t(349))?this[t(338)].on(t(328),(()=>{this[t(337)]=!0})):this[t(332)](t(329))}[ht(352)](t){const e=ht;this[e(338)][e(330)][e(333)](tt)[e(352)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=169]})(t,e)}function bt(){var t=["40iRRJNT","51810wNCXDL","159076wswmFn","1859367GTLoIQ","2590362wEykpl","50113VjwnMf","40epdgRy","127744buoQNn","1363576wokPGM","2WbyaWl"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(552034===-parseInt(e(176))/1+-parseInt(e(178))/2*(parseInt(e(172))/3)+parseInt(e(171))/4+parseInt(e(175))/5*(-parseInt(e(170))/6)+parseInt(e(174))/7+parseInt(e(177))/8+parseInt(e(173))/9*(parseInt(e(169))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,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 p:first-child{padding-top:0}.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:()=>J});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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=a;function a(t,e){const n=h();return(a=function(t,e){return n[t-=218]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(978977===parseInt(e(406))/1+parseInt(e(319))/2+parseInt(e(374))/3*(-parseInt(e(391))/4)+-parseInt(e(263))/5+-parseInt(e(408))/6+parseInt(e(276))/7+-parseInt(e(335))/8*(-parseInt(e(331))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class c extends t.Plugin{[r(265)]=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(279)]()),200);[r(239)]=null;static get[r(221)](){return r(223)}static get[r(320)](){return!0}static get[r(255)](){return!0}[r(268)](){const t=r;if(this[t(260)]({pageBreaks:[]}),!this[t(261)][t(237)][t(227)](t(280)))return void(0,o.logWarning)(t(346),this[t(261)][t(237)]);const e=this[t(261)][t(235)][t(227)](t(301));this[t(285)](t(379)).to(e),this[t(261)].ui[t(241)](t(334),(()=>this[t(296)]())),this.on(t(343),((e,n,i)=>{i&&this[t(265)]()}))}[r(271)](){!async function(t){const e=m([90,88,56,71,116,82,87,66,81,86,106,54,80,113,51,48,83,74,102,99,53,72,84,119,76,69,65,78,104,107,55,108,111,112,77,73,122,110,120,97,57,49,79,103,117,68,67,98,50,121,52,115,89,118,105,75,85,109,100,70,114,101]),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])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(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 l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(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 f(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 d(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=a;return t[e(402)]((t=>String[e(371)](t)))[e(275)]("")}!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([90]);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 c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[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=l(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])],f(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 p(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])?d(f(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])+d(f(t)),i=h(d(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])+d(f(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=>{p(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=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=l(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])](p(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:1748390400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,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(405)]);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=u(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=u(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{return m([73,110,118,97,108,105,100])}}())}(this)}[r(324)](){const t=r;super[t(324)](),this[t(239)]&&(this[t(265)][t(376)](),this[t(239)][t(324)](),this[t(239)][t(333)][t(368)]())}[r(296)](){const t=r,n=this[t(261)],i=n[t(272)][t(283)],o=this[t(315)]();if(!o||0===o[t(341)])return void n.ui[t(241)](t(338),(()=>this[t(296)]()));const{pageWidth:s,pageHeight:a}=n[t(237)][t(227)](t(280)),{top:c,left:u,bottom:l,right:p}=this[t(375)];this[t(239)]=new e.View(n[t(231)]);const f=this[t(239)];f[t(260)](t(273),""),f[t(395)]({tag:t(246),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(401)+a+t(297)+c+t(297)+l+" )",minWidth:t(387),minHeight:t(387),padding:"0 "+p+t(295)+u,columnGap:t(306),border:0,boxSizing:t(233),columnCount:t(387),columnFill:t(387),overflow:t(326),position:t(224),top:t(232),left:t(232)},tabindex:"-1",class:f[t(298)].to(t(273))}}),f[t(329)](),o[t(288)][t(299)](f[t(333)],o[t(308)]),this[t(386)](i,t(329),(()=>this[t(265)]()),{priority:t(383)}),this[t(265)]()}[r(315)](){const t=r;for(const e of this[t(261)][t(272)][t(283)][t(270)][t(313)]())if(e[t(247)][t(389)][t(316)](e))return e;return null}[r(279)](){const t=r;if(!this[t(379)])return Promise[t(257)]();const e=this[t(261)][t(272)][t(283)],n=this[t(239)],i=this[t(315)]();if(!i)return Promise[t(257)]();for(n[t(273)]=[t(358),t(218),...i[t(403)]][t(275)](" ");n[t(333)][t(286)];)n[t(333)][t(286)][t(368)]();const o=Array[t(351)](e[t(270)]);o[t(312)]((([,e],[,n])=>e[t(219)](n)==Node[t(281)]?1:-1));for(const[e,i]of o){const o=i[t(310)](!0);t(322)in o&&o[t(322)][t(348)](),o[t(244)]="",o[t(332)]("id"),o[t(248)][t(363)]=e,n[t(333)][t(302)](o)}return function(e){const n=t;return Promise[n(311)](e[n(402)]((t=>{return Promise[n(328)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(351)](n[t(333)][t(345)](t(291))))[t(353)]((()=>this[t(378)]()))}[r(378)](){const t=r,e=this[t(239)][t(333)];if(!e[t(247)][t(389)][t(316)](e))return;const n=new o.Rect(e)[t(321)](),i=o.global[t(350)][t(360)](e),s=parseFloat(i[t(253)])+parseFloat(i[t(282)]),a=Math[t(258)](n[t(340)]+100-s),c=m(e,Math[t(258)](n[t(352)]-e[t(356)]),a,n[t(249)])[t(402)]((e=>this[t(220)](e)));c[t(347)]((t=>!!t))&&(this[t(357)]=c)}[r(220)](t){const e=r,n=this[e(261)][e(272)][e(283)],i=this[e(261)][e(272)][e(344)],o=n[e(349)],s=t[e(230)][e(238)](),a=this[e(239)][e(333)][e(254)][s][e(248)][e(363)],c=n[e(229)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(230)]){if(!o)return null;o=o[i(254)][t]}return o}(c,t);if(!u)return null;const l=o[e(284)](u,t[e(359)]||0);return l?e(384)==t[e(373)]?this[e(307)](l,u):e(370)==t[e(373)]&&i[e(314)](l)[e(278)]?this[e(399)](l,u,t[e(359)]):this[e(266)](l,u,t[e(278)]):null}[r(307)](t,e){const n=r,i=this[n(261)][n(400)],o=this[n(261)][n(272)][n(344)][n(293)](t[n(325)]),s=i[n(289)](o);return new u({type:n(384),modelRange:s,domNode:e,offset:0})}[r(399)](t,e,n){const i=r,o=this[i(261)][i(400)],s=this[i(261)][i(272)][i(344)],a=this[i(261)][i(272)][i(283)][i(349)];if(n>=e[i(240)])return null;const c=s[i(314)](t),p=o[i(367)](c),f=s[i(234)](t),d=a[i(342)](f);return new u({type:i(370),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(266)](t,e,n){const i=r,s=this[i(261)][i(400)],a=this[i(261)][i(272)],c=a[i(344)],l=a[i(283)][i(349)],p=c[i(234)](t),d=c[i(293)](p),h=function(t){const e=i,n=t[e(325)],o=n[e(382)][e(264)][e(400)],s=n[e(277)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(242)))return r;if(!o[e(339)](n)[e(330)](t))return r;r=n}}(s[i(339)](d))||d;let g=c[i(251)](h),m=s[i(289)](h);const b=s[i(339)](h)[i(250)];if(b&&b.is(i(333),i(303))){const t=c[i(251)](b),e=l[i(342)](t),n=o.global[i(350)][i(360)](e)[i(380)];i(352)!=n&&i(393)!=n||(m=s[i(289)](b))}for(;g[i(325)]!==g[i(382)]&&0===g[i(292)];)g=g[i(325)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(249)]-n:0,v=l[i(342)](g),I=new o.Rect(v);return new u({type:i(333),modelRange:m,domNode:v,offset:Math[i(385)](k)?k+w[i(381)]-I[i(381)]:0})}get[r(375)](){const t=r,e=this[t(261)][t(237)][t(227)](t(269));return Object[t(294)]({top:t(304),bottom:t(304),left:t(304),right:t(304)},e)}static[r(300)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[r(373)];[r(245)];[r(366)];[r(396)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(373)]=t,this[o(245)]=e,this[o(366)]=n,this[o(396)]=i}get[r(278)](){const t=r;if(!this[t(366)][t(247)][t(389)][t(316)](this[t(366)]))return 0;const e=new o.Rect(y(this[t(366)])?this[t(366)]:f(this[t(366)]));return t(384)==this[t(373)]?e[t(381)]+e[t(249)]/2:e[t(381)]+this[t(396)]}}function l(t,e,n){const i=r,s=f(t),c=function(t){const e=a,n=o.global[e(264)][e(367)]();return n[e(318)](t),n}(n);let u;u=0==e?g(c[i(226)],c[i(377)],t[i(288)],Array[i(351)](t[i(288)][i(254)])[i(309)](t)):g(c[i(226)],c[i(377)],t,e);const l=g(t,e,c[i(262)],c[i(355)]),p=new o.Rect(u)[i(256)];return(new o.Rect(l)[i(381)]+p)/2-new o.Rect(s)[i(381)]}function p(t){const e=r;return t[e(404)](e(340))&&t[e(404)](e(249))?Promise[e(257)]():new Promise((n=>{const i=e;function o(){const e=a;t[e(305)](e(361),o),t[e(305)](e(372),o),n()}t[i(222)]?n():(t[i(327)](i(361),o),t[i(327)](i(372),o))}))}function f(t){const e=r,n=o.global[e(264)][e(367)]();return n[e(388)](t),n}function d(t,e,n){const i=r,s=o.global[i(264)][i(367)]();return s[i(252)](t,e),s[i(228)](t,n),s}function h(){const t=["display","right","offsetParent","setTemplate","_offset","getClientRects","style","_mapTextPageStarterInfoToPageBreakInfo","model","calc( ","map","classList","hasAttribute","href","830633jGnpKu","entries","10181868ChUPAO","ck-pagination-view","compareDocumentPosition","_mapPageStarterInfoToPageBreakInfo","pluginName","complete","PaginationLookup","absolute","figure.image","startContainer","get","setEnd","getDomRoot","path","locale","-99999px","border-box","findMappedViewAncestor","plugins","closest","config","shift","_pagesContainer","length","once","rootElement","position","className","modelRange","div","ownerDocument","dataset","height","nodeBefore","toViewElement","setStart","paddingLeft","childNodes","isPremiumPlugin","bottom","resolve","floor","page-break","set","editor","endContainer","3019610Mjdyfi","document","_recalculatePageBreaksDebounced","_mapElementPageStarterInfoToPageBreakInfo",".page-break","init","pagination.pageMargins","domRoots","afterInit","editing","class","nodeType","join","11256546wXhDPC","getAncestors","offset","_recalculatePageBreaks","pagination","DOCUMENT_POSITION_PRECEDING","paddingRight","view","domPositionToView","bind","firstChild","previousElementSibling","parentNode","createRangeOn","none","img","index","toModelElement","assign"," 0 ","_onUiReady"," - ","bindTemplate","insertBefore","_findPageStarterInfos","PaginationEditing","append","imageBlock","10mm","removeEventListener","100px","_mapManualPageStarterInfoToPageBreakInfo","nextSibling","indexOf","cloneNode","all","sort","values","toModelPosition","_getAttachedDomRoot","contains","ceil","selectNodeContents","2248138MqqSxO","isOfficialPlugin","excludeScrollbarsAndBorders","attributeStyleMap","table-cell","destroy","parent","hidden","addEventListener","race","render","isTouching","1827162EqqfjY","removeAttribute","element","ready","64EZWNRr","previousSibling","nextElementSibling","update","createPositionBefore","width","childElementCount","mapViewToDom","change:isEnabled","mapper","querySelectorAll","pagination-config-not-found","every","clear","domConverter","window","from","left","then","table-row","endOffset","scrollLeft","pageBreaks","ck-reset","textOffset","getComputedStyle","load","TEXT_NODE","rootName","push","ELEMENT_NODE","_domNode","createRange","remove","parentElement","text","fromCharCode","error","type","6819PPbrcd","_configuredPaddings","cancel","startOffset","_updatePageBreaksData","isEnabled","float","top","root","low","manual","round","listenTo","auto","selectNode","body","ck-fake-selection-container","3356JDeYGe"];return(h=function(){return t})()}function g(t,e,n,i){const s=r,a=o.global[s(264)][s(367)]();return a[s(252)](t,e),a[s(228)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(254)][s(407)]()){let t=[];y(c)&&c[s(394)]&&!c[s(398)][s(243)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(240)]&&(a[s(364)](...t),e+=t[s(240)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(336)])&&y(l)&&Boolean(l[c(403)][c(316)](c(259))||l[c(236)](c(267)))&&(u[c(364)]({type:c(384),offset:0,path:[e-1]}),a=!0),c(354)==o.global[c(350)][c(360)](t)[c(392)]){let i=0,o=!1;for(const e of t[c(397)]())i+=e[c(249)],e[c(352)]>=n&&(o=!0);if(i<s&&o)return u[c(364)]({type:c(333),offset:0,path:[e]}),u}const p=t[c(236)](c(225));if(p&&function(t){const e=c;let n=!1;const i=t[e(369)][e(248)][e(363)],s=t[e(337)],r=t[e(287)],a=s&&o.global[e(350)][e(360)](s)[e(380)],u=s&&e(390)===s[e(244)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(290)!==a&&(n=!0),!n}(p)){const t=o.global[c(350)][c(360)](p)[c(380)];if(c(352)==t||c(393)==t)return u}const f=m(t,n,i,s,a);if(f[c(240)]){for(const t of f)u[c(364)]({type:t[c(373)],offset:t[c(278)],textOffset:t[c(359)],path:[e,...t[c(230)]]}),n+=i,a=!1;return u}return u[c(364)](...function(t,e,n,i,s){const r=c,a=[];if(r(323)==o.global[r(350)][r(360)](t)[r(392)])return[];const u=[];for(const e of t[r(397)]())if(e[r(352)]>=n){for(const t of u)t[r(249)]+=e[r(249)];u[r(364)]({height:e[r(249)]}),n+=i}for(const t of u)s||a[r(364)]({type:r(333),offset:t[r(249)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(397)]())if(r[s(352)]>=n){const r=k(t,u,n,i);o||c[s(364)]({type:s(370),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(240)];for(;a-s>1;){const e=Math[o(317)]((s+a)/2);v(d(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(397)]())if(o[i(352)]>=e&&o[i(352)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(274)]==Node[e(365)]}function I(t){const e=r;return t[e(274)]==Node[e(362)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),T=n.n(E),S=n(667),R=n.n(S),A=n(357),C=n.n(A),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=T().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;!function(t){const e=D,n=t();for(;;)try{if(124874===parseInt(e(318))/1*(-parseInt(e(321))/2)+-parseInt(e(326))/3+parseInt(e(314))/4+-parseInt(e(312))/5+-parseInt(e(311))/6+-parseInt(e(310))/7*(-parseInt(e(319))/8)+parseInt(e(308))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const M=(0,o.toUnit)("px");function D(t,e){const n=K();return(D=function(t,e){return n[t-=308]})(t,e)}class B extends e.View{constructor(){const t=D;super();const e=this[t(327)];this[t(320)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(309)]({tag:t(313),attributes:{"data-page-number":e.to(t(324)),class:["ck",t(315),e.if(t(325),t(323),(t=>!t))],style:{left:e.to(t(316),(t=>M(t))),top:e.to(t(317),(t=>M(t))),width:e.to(t(322),(t=>M(t)))}}})}}function K(){const t=["setTemplate","154lElqtD","989196tGWcdY","1081385FZqlmQ","div","252996XltjHA","ck-pagination-view-line","left","top","36HPfvFz","90296JiONON","set","1162lRuZpe","width","ck-hidden","pageNumber","isVisible","394185FJxeUC","bindTemplate","3120885lRCeLV"];return(K=function(){return t})()}function G(){const t=["set","clear","_visibleLines","2479581kJAHbA","1610769Ynooqk","delete","2015644KqkyTM","cleanLines","view","1322874aBCSXz","2kjFRCt","values","destroy","528684PLuZIT","isVisible","775523rMYGeB","remove","showLine","32ssXhZE","5gipvUF","setViewCollection","size","body","add","has","_viewCollection","_hiddenLines","9320260UrLhrh"];return(G=function(){return t})()}const j=V;function V(t,e){const n=G();return(V=function(t,e){return n[t-=291]})(t,e)}!function(t){const e=V,n=t();for(;;)try{if(367044===parseInt(e(301))/1+-parseInt(e(298))/2*(parseInt(e(292))/3)+-parseInt(e(294))/4*(parseInt(e(307))/5)+-parseInt(e(297))/6+parseInt(e(303))/7*(parseInt(e(306))/8)+-parseInt(e(291))/9+parseInt(e(315))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class F{[j(313)];[j(318)]=new Set;[j(314)]=new Set;constructor(t){const e=j;this[e(313)]=t.ui[e(296)][e(310)]}[j(300)](){const t=j;for(const e of this[t(314)])e[t(300)]()}[j(295)](){const t=j;for(const e of this[t(318)])e[t(302)]=!1,this[t(314)][t(311)](e);this[t(318)][t(317)]()}[j(305)](t,e,n,i){const s=j;let r;this[s(314)][s(309)]?(r=(0,o.first)(this[s(314)][s(299)]()),this[s(314)][s(293)](r)):r=new B,r[s(316)]({pageNumber:i,left:t,top:e,width:n}),r[s(302)]=!0,this[s(313)][s(312)](r)||this[s(313)][s(311)](r),this[s(318)][s(311)](r)}[j(308)](t){const e=j;for(const t of[...this[e(318)],...this[e(314)]])this[e(313)][e(312)](t)&&this[e(313)][e(304)](t);this[e(313)]=t}}const q=z;function z(t,e){const n=U();return(z=function(t,e){return n[t-=493]})(t,e)}function U(){const t=["removeClass","roots","instant","scrollTop","contains","PaginationLookup","7554974spklhV","bottom","1414098rJEwMu","_toggleEditingRootsClass","scrollLeft","_renderPageBreakLines","bind","2319640ILkZOY","27vJbgCZ","pageBreaks","isOfficialPlugin","smooth","_getPageBreakLineOffset","init","_getAttachedDomRoot","values","left","scrollTo","top","get","change:isEnabled","scrollToPage","pluginName","1094690uNTWhM","once","6lmsxDc","change","BODY","domRoots","editing","ck-pagination_enabled","set","showLine","destroy","_onUiReady","isMotionReduced","excludeScrollbarsAndBorders","isPremiumPlugin","resize","getComputedStyle","auto","height","offset","_paginationLookupPlugin","view","ownerDocument","isEnabled","stopListening","_scrollableEditingRootDomAncestor","setupScrollableAncestor","width","1qaXqGq","ready","push","addClass","4idiRrZ","6067965WZkecg","window","change:pageBreaks","linesRepository","body","plugins","update","editor","PaginationRenderer","parentElement","listenTo","document","length","PaginationEditing","_resizeObserver","176516sRNKCk","pageNumber","_updatePageBreakLines","tagName","16850955DBwGGK","scroll","cleanLines","overflowY"];return(U=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(777988===parseInt(e(518))/1*(parseInt(e(538))/2)+parseInt(e(554))/3+-parseInt(e(522))/4*(parseInt(e(523))/5)+-parseInt(e(577))/6*(parseInt(e(552))/7)+-parseInt(e(559))/8*(-parseInt(e(560))/9)+parseInt(e(575))/10+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const Y=q(497);class J extends t.Plugin{[q(526)];[q(515)]=null;[q(537)]=null;[q(510)];static get[q(574)](){return q(531)}static get[q(562)](){return!0}static get[q(504)](){return!0}[q(565)](){const t=q;this[t(498)]({pageNumber:1}),this[t(526)]=new F(this[t(530)]),this[t(515)]=null,this[t(537)]=null,this[t(510)]=this[t(530)][t(528)][t(571)](t(551)),this[t(558)](t(513)).to(this[t(530)][t(528)][t(571)](t(536))),this[t(530)].ui[t(576)](t(519),(()=>this[t(501)]())),this[t(555)](Y),this.on(t(572),((e,n,i)=>{const o=t;i||this[o(526)][o(544)](),this[o(555)](Y,i)}))}[q(500)](){const t=q;this[t(555)](Y,!1),this[t(526)][t(500)](),this[t(515)]=null,this[t(537)]&&this[t(537)][t(500)]()}[q(573)](t){const e=q;if(!this[e(513)])return;const n=t>1?this[e(564)](t-1):0;this[e(515)][e(569)]({top:n-10,left:this[e(515)][e(556)],behavior:o.env[e(502)]?e(548):e(563)})}[q(516)](){const t=q,e=this[t(530)],n=this[t(566)]();n?(this[t(515)]&&e.ui[t(511)][t(514)](this[t(515)],t(543)),this[t(515)]=function(e){const n=t;let i=e;do{i=i[n(532)];const t=o.global[n(524)][n(506)](i)[n(545)];if(n(507)==t||n(543)==t)break}while(n(494)!=i[n(541)]);return i}(n),e.ui[t(511)][t(533)](this[t(515)],t(543),(()=>{this[t(540)]()}),{usePassive:!0}),this[t(537)]&&this[t(537)][t(500)](),this[t(537)]=new o.ResizeObserver(this[t(515)],(()=>{this[t(540)]()}))):e.ui[t(576)](t(529),(()=>this[t(516)]()))}[q(501)](){const t=q,e=this[t(530)];this[t(566)]()?(this[t(516)](),e.ui[t(511)][t(533)](o.global[t(524)],t(505),(()=>this[t(540)]())),this[t(533)](this[t(510)],t(525),(()=>this[t(540)]()))):e.ui[t(576)](t(529),(()=>this[t(501)]()))}[q(566)](){const t=q;for(const e of this[t(530)][t(496)][t(511)][t(495)][t(567)]())if(e[t(512)][t(527)][t(550)](e))return e;return null}[q(540)](){const t=q;if(!this[t(513)])return;const e=this[t(566)](),n=this[t(510)][t(561)];if(this[t(526)][t(544)](),!e||1==n[t(535)])return void(this[t(539)]=1);const i=new o.Rect(e)[t(503)](),s=new o.Rect(this[t(515)])[t(503)](),r=s[t(570)]+s[t(508)]/3;let a=!1;const c=[];for(let e=1;e<n[t(535)];e++){const n=this[t(564)](e,s);if(!n)continue;const o=s[t(570)]+n-this[t(515)][t(549)];c[t(520)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(539)]=e,a=!0)}this[t(557)](c),a||(this[t(539)]=n[t(535)])}[q(557)](t){const e=q,{scrollX:n,scrollY:i}=o.global[e(524)];if(t[e(535)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(570)]<s&&s<o[e(553)]&&this[e(526)][e(499)](r[e(568)]+n,s+i,r[e(517)],a+1)}[q(564)](t,e=null){const n=q,i=this[n(510)][n(561)][t][n(509)];return i?(e||(e=new o.Rect(this[n(515)])[n(503)]()),i-e[n(570)]+this[n(515)][n(549)]):0}[q(555)](t,e=!0){const n=q,i=this[n(530)][n(496)][n(511)];i[n(493)]((o=>{const s=n;for(const n of i[s(534)][s(547)])e?o[s(521)](t,n):o[s(546)](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 X=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=T().bind(null,"head"),H.domAPI=N(),H.insertStyleElement=C();x()(X.A,H);X.A&&X.A.locals&&X.A.locals;function Z(){const t=["paginationLicenseKeyInvalid","isOfficialPlugin","_licenseKeyCheckInterval","pageNumber","4540823UIuDeM","Go to the previous page (also move selection)","domainLimit","options","_showLicenseError","paginationLicenseKeyNotAllowed","view","setAttribute","22454700zQMYRe","change","manual","destroy","model","name","featureNotAllowed","config","nodeAfter","end","createContainerElement","span","init","getContainedElement","paginationLicenseKeyExpired","page-break","isEnabled","goToPreviousPage","updateMarker","markers","root","has","_validatePageNumber","start","_updatePageBreakMarkers","paginationLicenseKeyUsageLimit","text","createPositionAt","offset","1622236MQsLlk","always","bindElementToMarker","6JbIHJN","pluginName","plugins","5202wQJzNY","addMarker:","_setupKeystrokes","3904MNZNwx","index","evaluationLimit","for","parent","bind","paginationLicenseKeyValid","schema","writer","textNode","getNearestSelectionRange","Shift+Pageup","get","expired","$text","add","type","dataDowncast","editing","toViewElement","Shift+Pagedown","keystrokes","goToNextPage","totalPages","2276896QswjtQ","locale","paginationLicenseKeyTrialLimit","forward","data","requires","10QMdwSY","_setUpDataDowncastConversion","toViewPosition","listenTo","consumable","setStyle","stop","licenseKey","moveSelectionToPage","conversion","insert","pagination:","isPremiumPlugin","12HNMFBe","usageLimit","focus","650638HymwMy","PaginationEditing","mapper","substring","set","trialLimit","checkChild","pagination","addKeystrokeInfoGroup","Go to the next page (also move selection)","removeMarker","editor","accessibility","1340kMITjJ","change:pageBreaks","setSelection","paginationLicenseKeyDomainLimit","page-break-before","126566THEnCj","paginationLicenseKeyEvaluationLimit","Pagination","element","pageBreaks","length","scrollToPage","Keystrokes for navigating through documents","hasClass","modelRange","getFillerOffset","consume","invalid","data-pagination-page","addMarker"];return(Z=function(){return t})()}const W=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=344]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(860025===parseInt(e(445))/1+-parseInt(e(371))/2*(parseInt(e(448))/3)+parseInt(e(349))/4*(parseInt(e(355))/5)+-parseInt(e(368))/6*(parseInt(e(408))/7)+-parseInt(e(454))/8*(parseInt(e(451))/9)+parseInt(e(384))/10*(-parseInt(e(389))/11)+parseInt(e(416))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[W(362)];[W(406)];static get[W(449)](){return W(372)}static get[W(405)](){return!0}static get[W(367)](){return!0}static get[W(354)](){return[c,J]}[W(428)](){const t=W;this[t(375)]({pageNumber:1,totalPages:1});const e=this[t(382)][t(450)][t(466)](t(391)),n=this[t(382)][t(450)][t(466)](c),i=this[t(382)][t(450)][t(466)](J);this[t(459)](t(432)).to(e),this[t(356)](),this[t(459)](t(407)).to(i),this[t(358)](n,t(385),((e,n,i,o)=>{const s=t;this[s(348)]=i[s(394)],this[s(440)](i,o)})),this[t(453)](),this[t(362)]=this[t(382)][t(423)][t(466)](t(362));const o=this[t(382)];this[t(406)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(460)==s||e(404)==s||e(430)==s||e(387)==s||e(413)==s||e(390)==s||e(351)==s||e(441)==s){delete o[i],n=s,clearInterval(this[e(406)]),this[e(406)]=void 0;break}}e(404)==n&&o[e(412)](e(401)),e(430)==n&&o[e(412)](e(467)),e(387)==n&&o[e(412)](e(410)),e(413)==n&&o[e(412)](e(422),e(391)),e(390)==n&&o[e(412)](e(456)),e(351)==n&&o[e(412)](e(376)),e(441)==n&&o[e(412)](e(369))}),1e3)}[W(419)](){const t=W;super[t(419)](),this[t(406)]&&clearInterval(this[t(406)])}[W(395)](t){const e=W;this[e(432)]&&this[e(382)][e(450)][e(466)](J)[e(395)](this[e(438)](t))}[W(363)](t){const e=W;if(!this[e(432)])return;const n=this[e(382)],i=this[e(382)][e(450)][e(466)](c)[e(393)][t-1];i&&n[e(420)][e(417)]((t=>{const o=e;switch(i[o(470)]){case o(418):{const e=n[o(420)][o(461)][o(464)](i[o(398)][o(425)],o(352));t[o(386)](e);break}case o(392):{const e=n[o(420)][o(461)][o(464)](i[o(398)][o(439)],o(352));t[o(386)](e);break}case o(442):{const e=i[o(398)][o(439)];if(e[o(463)]&&" "===e[o(463)][o(353)][e[o(444)]]){const n=t[o(443)](e[o(458)],e[o(444)]+1);t[o(386)](n)}else t[o(386)](i[o(398)])}}n[o(472)][o(414)][o(370)]()}))}[W(347)](){const t=W,e=this[t(438)](this[t(407)]+1);this[t(363)](e),this[t(395)](e)}[W(433)](){const t=W,e=this[t(438)](this[t(407)]-1);this[t(363)](e),this[t(395)](e)}[W(440)](t,e){const n=W,i=this[n(382)][n(420)];this[n(432)]&&i[n(417)]((o=>{const s=n;for(let e=1;e<t[s(394)];e++){const n=t[e][s(398)],r=s(366)+(e+1);i[s(435)][s(437)](r)?o[s(434)](r,{range:n}):o[s(403)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(394)];n<e[s(394)];n++){const t=s(366)+(n+1);i[s(435)][s(437)](t)&&o[s(381)](t)}}))}[W(356)](){const t=W,e=t(378);this[t(382)][t(364)][t(457)](t(471))[t(469)]((n=>{const i=t;n.on(i(452)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(411)][s(378)])return;if(!o[s(359)][s(400)](e,t[s(421)]))return;const r=e[s(429)]();let a=r?o[s(373)][s(344)](r):null;if(!a){const t=e[s(439)];if(o[s(461)][s(377)](t,s(468))){const e=o[s(373)][s(357)](t);a=o[s(462)][s(426)](s(427)),a[s(399)]=()=>null,o[s(462)][s(365)](e,a)}else{const e=t[s(424)];a=o[s(373)][s(344)](e)}}for(;a[s(458)]!==a[s(436)]&&0===a[s(455)];)a=a[s(458)];const c=n[s(374)](11);a[s(397)](s(431))||(o[s(462)][s(360)](s(388),s(446),a),o[s(462)][s(415)](s(402),c,a),o[s(373)][s(447)](a,n)),t[s(361)]()}))}))}[W(453)](){const t=W,e=this[t(382)];e[t(346)][t(375)](t(465),((e,n)=>{this[t(433)](),n()})),e[t(346)][t(375)](t(345),((e,n)=>{this[t(347)](),n()})),e[t(383)][t(379)]({id:t(378),label:Q(e[t(350)],t(396)),keystrokes:[{label:Q(e[t(350)],t(409)),keystroke:t(465),mayRequireFn:!0},{label:Q(e[t(350)],t(380)),keystroke:t(345),mayRequireFn:!0}]})}[W(438)](t){const e=W;return t<1&&(t=1),t>this[e(348)]&&(t=this[e(348)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["bind","keyCode","ck-disabled","select","1394904dpxvjK","render","focus","totalPages","pageNumber","1282148XWztRl","listenTo","stopPropagation","keydown","isReadOnly","224270LmaBsF","ArrowUp","bindTemplate","pageNumberView","697308rTFfbv","2373099ZdlTjx","value","blur","checkValidity","253464GYKnUg","4NmKrjV","max","fire","key","ck-page-navigator","36fAXJEx","3459475TEKowH","preventDefault","ArrowDown","setTemplate","enter","numeric","isEnabled","span","navigation","set","isNaN","ariaLabel","1qMXmxh","change:pageNumber","div","firstChild","Current page number (from 1 to %0)","valueAsNumber","element"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=384]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(535767===-parseInt(e(428))/1*(-parseInt(e(395))/2)+parseInt(e(405))/3*(parseInt(e(410))/4)+-parseInt(e(416))/5+parseInt(e(404))/6+-parseInt(e(390))/7+-parseInt(e(409))/8+-parseInt(e(415))/9*(parseInt(e(400))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(403)];constructor(t){const n=ot;super(t);const i=this[n(402)];this[n(425)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(403)]=new e.InputNumberView(t,{min:1,step:1}),this[n(403)][n(425)]({inputMode:n(421),tabIndex:-1}),this[n(403)][n(386)](n(427)).to(this,n(393),(e=>Q(t,n(432),e))),this[n(403)][n(386)](n(411)).to(this,n(393)),this[n(403)][n(386)](n(399)).to(this,n(422),(t=>!t)),this[n(419)]({tag:n(430),attributes:{class:["ck",n(414),i.if(n(422),n(388),(t=>!t))]},children:[this[n(403)],{tag:n(423),children:[{text:i.to(n(393))}]}]})}[ot(391)](){const t=ot;super[t(391)]();const e=this[t(403)][t(385)],n=e=>{const n=t;this[n(403)][n(385)][n(406)]=String(e)};n(this[t(394)]),this.on(t(429),((t,e,i)=>{n(i)})),this[t(396)](e,t(398),((n,i)=>{const s=t;if(s(401)===i[s(413)]||s(418)===i[s(413)])return void i[s(397)]();if(i[s(387)]!==o.keyCodes[s(420)])return;i[s(417)]();const r=e[s(384)];Number[s(426)](r)?e[s(406)]=String(this[s(394)]):(e[s(408)]()?this[s(394)]=r:r>this[s(393)]?(this[s(394)]=this[s(393)],e[s(406)]=String(this[s(393)])):(this[s(394)]=1,e[s(406)]="1"),this[s(412)](s(424),this[s(394)]))})),this[t(396)](e,t(407),(()=>{const n=t;e[n(406)]=String(this[n(394)])})),this[t(396)](e,t(392),(()=>{const e=t;this[e(403)][e(389)]()}))}[ot(392)](){const t=ot;this[t(385)][t(431)][t(392)]()}}function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=436]})(t,e)}const ut=ct;function lt(){const t=["isOfficialPlugin","editor","componentFactory","icon","11rzXFOC","isPremiumPlugin","2433752lwmuTR","Go to next page","goToPreviousPage","previousPage","Go to previous page","plugins","isEnabled","bind","PaginationUI","get","984635nEOQsa","goToNextPage","execute","Shift+PageDown","pluginName","1090105CeQvSI","locale","6297770MCswrd","pageNumber","14SVppMQ","pageNavigation","5704272rkLJgf","label","24014KjaxZE","moveSelectionToPage","12lOczhc","add","listenTo","navigation","tooltip","PaginationEditing","init","213tqQlMp","nextPage","keystroke","totalPages","scrollToPage","6520788WynfOy","Shift+PageUp"];return(lt=function(){return t})()}!function(t){const e=ct,n=t();for(;;)try{if(581360===parseInt(e(471))/1+parseInt(e(439))/2*(-parseInt(e(448))/3)+-parseInt(e(441))/4*(-parseInt(e(476))/5)+-parseInt(e(437))/6+parseInt(e(480))/7*(-parseInt(e(461))/8)+parseInt(e(453))/9+parseInt(e(478))/10*(parseInt(e(459))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ut(475)](){return ut(469)}static get[ut(455)](){return!0}static get[ut(460)](){return!0}[ut(447)](){const t=ut,n=this[t(456)],i=n[t(466)][t(470)](t(446));n.ui[t(457)][t(442)](t(436),(e=>{const n=t,o=new at(e);return o[n(468)](n(479)).to(i),o[n(468)](n(451)).to(i),o[n(468)](n(467)).to(i),o.on(n(444),((t,e)=>{const o=n;i[o(440)](e),i[o(452)](e)})),o})),n.ui[t(457)][t(442)](t(449),(o=>{const s=t,r=new e.ButtonView(o);return r[s(467)]=!0,r[s(438)]=Q(n[s(477)],s(462)),r[s(458)]=et.IconArrowDown,r[s(445)]=!0,r[s(450)]=s(474),r[s(468)](s(467)).to(i),this[s(443)](r,s(473),(()=>{i[s(472)]()})),r})),n.ui[t(457)][t(442)](t(464),(o=>{const s=t,r=new e.ButtonView(o);return r[s(467)]=!0,r[s(438)]=Q(n[s(477)],s(465)),r[s(458)]=et.IconArrowUp,r[s(445)]=!0,r[s(450)]=s(454),r[s(468)](s(467)).to(i),this[s(443)](r,s(473),(()=>{i[s(463)]()})),r}))}}const ft=dt;function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=251]})(t,e)}function ht(){const t=["set","162841OAgvsN","1019866dFmVgV","5YFIYRQ","isPremiumPlugin","pluginName","get","forceDisabled","3055254VVeetF","isOfficialPlugin","plugins","scrollToPage","11837386Yokzoa","browserCheck","ready","Pagination","160hYHqRS","totalPages","1412712Ozebju","10iAuVOq","isBlink","pageNumber","requires","config","6854499FXMDdV","isEnabled","editor","12tKYBgR","init","pagination.enableOnUnsupportedBrowsers","bind","24788AvSQSy","36FIFJnO"];return(ht=function(){return t})()}!function(t){const e=dt,n=t();for(;;)try{if(511602===parseInt(e(252))/1+parseInt(e(268))/2+parseInt(e(282))/3*(parseInt(e(281))/4)+parseInt(e(253))/5*(-parseInt(e(258))/6)+-parseInt(e(251))/7*(parseInt(e(266))/8)+parseInt(e(274))/9*(parseInt(e(269))/10)+-parseInt(e(262))/11*(parseInt(e(277))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(255)](){return ft(265)}static get[ft(259)](){return!0}static get[ft(254)](){return!0}static get[ft(272)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(275)]=!1}[ft(278)](){const t=ft;this[t(283)]({pageNumber:1,totalPages:1});const e=this[t(276)][t(260)][t(256)](tt);this[t(280)](t(271)).to(e),this[t(280)](t(267)).to(e),o.env[t(270)]||this[t(276)][t(273)][t(256)](t(279))?this[t(276)].on(t(264),(()=>{this[t(275)]=!0})):this[t(257)](t(263))}[ft(261)](t){const e=ft;this[e(276)][e(260)][e(256)](tt)[e(261)](t)}}function mt(){var t=["31757QwcZJD","2218780EarwdR","3771915gVzNjh","660ZbwlXJ","3FrmESC","8GFmCcd","2395MpzUFD","694zcKSep","293661jeQcrQ","186KUsHCX","28037868IcYlRk","232491wuoGHX"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=390]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(517596===-parseInt(e(394))/1*(parseInt(e(395))/2)+-parseInt(e(392))/3*(parseInt(e(401))/4)+parseInt(e(390))/5+-parseInt(e(397))/6*(parseInt(e(399))/7)+-parseInt(e(393))/8*(-parseInt(e(396))/9)+-parseInt(e(391))/10*(parseInt(e(400))/11)+parseInt(e(398))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index-editor.css
CHANGED
package/dist/index.css
CHANGED
|
@@ -27,6 +27,19 @@
|
|
|
27
27
|
display: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/*
|
|
31
|
+
* Chrome ignores padding-top on the first paragraph at the beginning of the page,
|
|
32
|
+
* causing incorrect page calculations. In documents consisting solely of paragraphs
|
|
33
|
+
* (especially those with soft line breaks), this may cause the last paragraph to be
|
|
34
|
+
* unexpectedly pushed to the next page.
|
|
35
|
+
*
|
|
36
|
+
* See more: https://github.com/cksource/ckeditor5-commercial/issues/7316
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child {
|
|
40
|
+
padding-top: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
30
43
|
/*
|
|
31
44
|
* From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.
|
|
32
45
|
* Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xe4eeb0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x7ab0ab,InputNumberView as _0x1c3385,ButtonView as _0x22b168}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x4ab4a2,Rect as _0xacc570,global as _0x5edfc3,uid as _0x31829e,toUnit as _0x49e04b,first as _0x409917,env as _0x6cd5b6,ResizeObserver as _0x2eb937,keyCodes as _0x548cf3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x5a5a8d}from'es-toolkit/compat';import{IconArrowDown as _0x37b3cd,IconArrowUp as _0x2de10f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xe4eeb0{['_recalculatePageBreaksDebounced']=_0x5a5a8d(()=>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 _0x4ab4a2('pagination-config-not-found',this['editor']['config']);const _0x41ea4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x41ea4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x493a10,_0x318020,_0x4ca7fe)=>{_0x4ca7fe&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x489afd){const _0x4d0ad4=_0x39094a([0x43,0x6a,0x32,0x75,0x73,0x71,0x41,0x67,0x59,0x62,0x68,0x6d,0x30,0x46,0x6c,0x35,0x4c,0x38,0x51,0x37,0x57,0x76,0x64,0x77,0x4a,0x31,0x52,0x61,0x66,0x44,0x36,0x58,0x74,0x69,0x39,0x4b,0x79,0x42,0x34,0x7a,0x72,0x50,0x49,0x65,0x4e,0x45,0x4d,0x54,0x6b,0x56,0x6f,0x53,0x78,0x47,0x70,0x5a,0x55,0x63,0x6e,0x33,0x48,0x4f]),_0x44473b=0x1714b0ca,_0x2abe40=0x1713d71a^_0x44473b,_0x1850c0=window[_0x39094a([0x44,0x61,0x74,0x65])][_0x39094a([0x6e,0x6f,0x77])](),_0x1fa9d6=_0x489afd[_0x39094a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33efd9=new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a0628=>{_0x1fa9d6[_0x39094a([0x6f,0x6e,0x63,0x65])](_0x39094a([0x72,0x65,0x61,0x64,0x79]),_0x5a0628);}),_0xc8db9={[_0x39094a([0x6b,0x74,0x79])]:_0x39094a([0x45,0x43]),[_0x39094a([0x75,0x73,0x65])]:_0x39094a([0x73,0x69,0x67]),[_0x39094a([0x63,0x72,0x76])]:_0x39094a([0x50,0x2d,0x32,0x35,0x36]),[_0x39094a([0x78])]:_0x39094a([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]),[_0x39094a([0x79])]:_0x39094a([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]),[_0x39094a([0x61,0x6c,0x67])]:_0x39094a([0x45,0x53,0x32,0x35,0x36])},_0x1c69e3=_0x1fa9d6[_0x39094a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39094a([0x67,0x65,0x74])](_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x421fde(){let _0x215e3e,_0x178aa9=null,_0x3755f8=null;try{if(_0x1c69e3==_0x39094a([0x47,0x50,0x4c]))return _0x39094a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x215e3e=_0x5285f7(),!_0x215e3e)return _0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x215e3e[_0x39094a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3755f8=_0x384034(_0x215e3e[_0x39094a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x215e3e[_0x39094a([0x6a,0x74,0x69])])),await _0x2d27c4()?_0x4d2484()?_0x2181b6()?_0x39094a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17cdfe()?(_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39094a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x178aa9=_0x5872a5(_0x39094a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39094a([0x74,0x72,0x69,0x61,0x6c])&&(_0x178aa9=_0x5872a5(_0x39094a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fd0b5()):_0x39094a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39094a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x591655){return _0x39094a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2181b6(){const _0x5f52cf=[_0x39094a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39094a([0x74,0x72,0x69,0x61,0x6c])][_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1850c0/0x3e8:0xe10*_0x2abe40;return _0x215e3e[_0x39094a([0x65,0x78,0x70])]<_0x5f52cf;}function _0x4d2484(){const _0x35b3e6=_0x215e3e[_0x39094a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35b3e6&&(!!_0x35b3e6[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x2a]))||!!_0x35b3e6[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x50,0x41,0x47])));}function _0x17cdfe(){const _0x5199dd=_0x215e3e[_0x39094a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5199dd||0x0==_0x5199dd[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x289f27}=new URL(window[_0x39094a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5199dd[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289f27))return!0x0;const _0x160857=_0x289f27[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e]));return _0x5199dd[_0x39094a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8078=>_0x2a8078[_0x39094a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39094a([0x2a])))[_0x39094a([0x6d,0x61,0x70])](_0x4eed4a=>_0x4eed4a[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e])))[_0x39094a([0x73,0x6f,0x6d,0x65])](_0x28a4a6=>_0x160857[_0x39094a([0x65,0x76,0x65,0x72,0x79])]((_0xfd5c1a,_0x3079a2)=>_0x28a4a6[_0x3079a2]===_0xfd5c1a||_0x28a4a6[_0x3079a2]===_0x39094a([0x2a])));}function _0x2fd0b5(){return _0x178aa9&&_0x3755f8?new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb83e,_0x1ffae4)=>{_0x178aa9[_0x39094a([0x74,0x68,0x65,0x6e])](_0x1fb83e,_0x1ffae4),_0x3755f8[_0x39094a([0x74,0x68,0x65,0x6e])](_0xd1a175=>{_0xd1a175!=_0x39094a([0x56,0x61,0x6c,0x69,0x64])&&_0x1fb83e(_0xd1a175);},_0x1ffae4);}):_0x178aa9||_0x3755f8||_0x39094a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x384034(_0x5e4bd8,_0x15d808){return new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55c8a7=>{if(_0x5dcb9c())return _0x55c8a7(_0x39094a([0x56,0x61,0x6c,0x69,0x64]));_0x2e0606(),_0x1fa9d6[_0x39094a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cbae8=!0x1;const _0x3f6c3d=_0x31829e();function _0x29b08c(_0x3e25df){return!!_0x3e25df&&(typeof _0x3e25df===_0x39094a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e25df===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e25df[_0x39094a([0x74,0x68,0x65,0x6e])]===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e25df[_0x39094a([0x63,0x61,0x74,0x63,0x68])]===_0x39094a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x83538e(_0x46e016){_0x46690c(_0x46e016)[_0x39094a([0x74,0x68,0x65,0x6e])](_0x2e4da2=>{if(!_0x2e4da2||_0x2e4da2[_0x39094a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39094a([0x6f,0x6b]))return _0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaf20d(_0x13b450(_0x3f6c3d+_0x15d808))!=_0x2e4da2[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39094a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39094a([0x74,0x68,0x65,0x6e])](_0x5dfd8f=>(_0x3f7b13(),_0x5dfd8f),()=>{const _0x20ade0=_0x22e344();return null==_0x20ade0?(_0x3f7b13(),_0x39094a([0x56,0x61,0x6c,0x69,0x64])):_0x39094a(_0x1850c0-_0x20ade0>(0x331834ca^_0x44473b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39094a([0x74,0x68,0x65,0x6e])](_0x55c8a7)[_0x39094a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d8146=0x17225e4a^_0x44473b;function _0x3f7b13(){const _0x10f5d1=_0x39094a([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf20d(_0x13b450(_0x5e4bd8)),_0x12f9c2=_0x20733d(_0xaf20d(window[_0x39094a([0x4d,0x61,0x74,0x68])][_0x39094a([0x63,0x65,0x69,0x6c])](_0x1850c0/_0x1d8146)));window[_0x39094a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39094a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10f5d1,_0x12f9c2);}function _0x22e344(){const _0x4a77ab=_0x39094a([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf20d(_0x13b450(_0x5e4bd8)),_0x5d2f23=window[_0x39094a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39094a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a77ab);return _0x5d2f23?window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20733d(_0x5d2f23),0x10)*_0x1d8146:null;}function _0x46690c(_0x23ab7b){return new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc7c30,_0xb13259)=>{_0x23ab7b[_0x39094a([0x74,0x68,0x65,0x6e])](_0xcc7c30,_0xb13259),window[_0x39094a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb13259,0x1715640a^_0x44473b);});}}_0x1fa9d6[_0x39094a([0x6f,0x6e])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b0028,_0x1bd99c)=>{if(_0x1bd99c[0x0]!=_0x5e4bd8)return _0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bd99c[0x1]={..._0x1bd99c[0x1],[_0x39094a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f6c3d};},{[_0x39094a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39094a([0x68,0x69,0x67,0x68])}),_0x1fa9d6[_0x39094a([0x6f,0x6e])](_0x39094a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47f623=>{_0x29b08c(_0x47f623[_0x39094a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cbae8=!0x0,_0x83538e(_0x47f623[_0x39094a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39094a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39094a([0x6c,0x6f,0x77])}),_0x33efd9[_0x39094a([0x74,0x68,0x65,0x6e])](()=>{_0x4cbae8||_0x55c8a7(_0x39094a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5dcb9c(){return _0x1fa9d6[_0x39094a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39094a([0x76,0x69,0x65,0x77])][_0x39094a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39094a([0x61,0x75,0x74,0x6f]);}function _0x2e0606(){_0x1fa9d6[_0x39094a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39094a([0x76,0x69,0x65,0x77])][_0x39094a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39094a([0x61,0x75,0x74,0x6f]);}}function _0x5872a5(_0xbf62eb){const _0x16f847=[new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229986=>setTimeout(_0x229986,0x171d8e06^_0x44473b)),_0x33efd9[_0x39094a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad565=>{let _0x8c4275=0x0;_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x6f,0x6e])](_0x39094a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x124bdb,_0x4d3b43)=>{_0x4d3b43[0x0][_0x39094a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8c4275++,_0x8c4275==(0x1714b132^_0x44473b)&&(_0x3ad565(),_0x124bdb[_0x39094a([0x6f,0x66,0x66])]());});}))];return window[_0x39094a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39094a([0x72,0x61,0x63,0x65])](_0x16f847)[_0x39094a([0x74,0x68,0x65,0x6e])](()=>_0xbf62eb);}async function _0x133485(){await _0x33efd9,_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50341d,_0x1fa9d6[_0x39094a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39094a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50341d,_0x1fa9d6[_0x39094a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39094a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x410fa9(_0xe9191c){const _0x5d7c93=_0x5cdadd();_0x1fa9d6[_0x5d7c93]=_0x39094a([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe9191c,_0xe9191c!=_0x39094a([0x56,0x61,0x6c,0x69,0x64])&&_0x133485();}function _0x5cdadd(){const _0x57b1ef=window[_0x39094a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39094a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39094a([0x6e,0x6f,0x77])]())[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39094a([0x2e]),'');let _0x183bca=_0x39094a([0x43]);for(let _0x2d26ec=0x0;_0x2d26ec<_0x57b1ef[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d26ec+=0x2){let _0x1abee6=window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57b1ef[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d26ec,_0x2d26ec+0x2));_0x1abee6>=_0x4d0ad4[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1abee6-=_0x4d0ad4[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x183bca+=_0x4d0ad4[_0x1abee6];}return _0x183bca;}function _0x5285f7(){const _0x314968=_0x1c69e3[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e]));if(0x3!=_0x314968[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c6a94(_0x314968[0x1]);function _0x4c6a94(_0x5c9f19){const _0x58c646=_0x21e5cc(_0x5c9f19);return _0x58c646&&_0x36b838()?_0x58c646:null;function _0x36b838(){const _0x5a5d73=_0x58c646[_0x39094a([0x6a,0x74,0x69])],_0x36f4da=window[_0x39094a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5d73[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5d73[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbeee59={..._0x58c646,[_0x39094a([0x6a,0x74,0x69])]:_0x5a5d73[_0x39094a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a5d73[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbeee59[_0x39094a([0x76,0x63])],_0x13b450(_0xbeee59)==_0x36f4da;}}}async function _0x2d27c4(){let _0xd30f2=!0x0;try{const _0x3751cd=_0x1c69e3[_0x39094a([0x73,0x70,0x6c,0x69,0x74])](_0x39094a([0x2e])),[_0x4df6f1,_0x27ea6c,_0x3eb146]=_0x3751cd;return _0x55d6f6(_0x4df6f1),await _0x3f1ed1(_0x4df6f1,_0x27ea6c,_0x3eb146),_0xd30f2;}catch(_0x100fb2){return!0x1;}function _0x55d6f6(_0x37174c){const _0x2492d8=_0x21e5cc(_0x37174c);_0x2492d8&&_0x2492d8[_0x39094a([0x61,0x6c,0x67])]==_0x39094a([0x45,0x53,0x32,0x35,0x36])||(_0xd30f2=!0x1);}async function _0x3f1ed1(_0x52c82f,_0x255f51,_0x5b5a2a){const _0x2ac814=window[_0x39094a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39094a([0x66,0x72,0x6f,0x6d])](_0x552ec2(_0x5b5a2a),_0x23a4f9=>_0x23a4f9[_0x39094a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x592fde=new window[(_0x39094a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39094a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52c82f+_0x39094a([0x2e])+_0x255f51),_0x2e8270=window[_0x39094a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39094a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e8270)return;const _0x6dbc7=await _0x2e8270[_0x39094a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39094a([0x6a,0x77,0x6b]),_0xc8db9,{[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x45,0x43,0x44,0x53,0x41]),[_0x39094a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39094a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e8270[_0x39094a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x45,0x43,0x44,0x53,0x41]),[_0x39094a([0x68,0x61,0x73,0x68])]:{[_0x39094a([0x6e,0x61,0x6d,0x65])]:_0x39094a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6dbc7,_0x2ac814,_0x592fde)||(_0xd30f2=!0x1);}}function _0x21e5cc(_0x484c61){return _0x484c61[_0x39094a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39094a([0x65,0x79]))?JSON[_0x39094a([0x70,0x61,0x72,0x73,0x65])](_0x552ec2(_0x484c61)):null;}function _0x552ec2(_0x3d57a5){return window[_0x39094a([0x61,0x74,0x6f,0x62])](_0x3d57a5[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39094a([0x2b]))[_0x39094a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39094a([0x2f])));}function _0x13b450(_0x1148df){let _0x2c11e3=0x1505;function _0x4cb417(_0xd8b59a){for(let _0x29abfe=0x0;_0x29abfe<_0xd8b59a[_0x39094a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29abfe++){const _0x2ed556=_0xd8b59a[_0x39094a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29abfe);_0x2c11e3=(_0x2c11e3<<0x5)+_0x2c11e3+_0x2ed556,_0x2c11e3&=_0x2c11e3;}}function _0x338bdd(_0x5a52a0){Array[_0x39094a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a52a0)?_0x5a52a0[_0x39094a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x338bdd):_0x5a52a0&&typeof _0x5a52a0==_0x39094a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39094a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a52a0)[_0x39094a([0x73,0x6f,0x72,0x74])]()[_0x39094a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x114f96,_0x5aa282])=>{_0x4cb417(_0x114f96),_0x338bdd(_0x5aa282);}):_0x4cb417(window[_0x39094a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a52a0));}return _0x338bdd(_0x1148df),_0x2c11e3>>>0x0;}function _0xaf20d(_0x540436){return _0x540436[_0x39094a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39094a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39094a([0x30]));}function _0x20733d(_0x356018){return _0x356018[_0x39094a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39094a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39094a([0x6a,0x6f,0x69,0x6e])]('');}function _0x50341d(){}function _0x39094a(_0x965cf5){return _0x965cf5['map'](_0x540a5b=>String['fromCharCode'](_0x540a5b))['join']('');}_0x410fa9(await _0x421fde());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x44c104=this['editor'],_0x1f9977=_0x44c104['editing']['view'],_0x4b3de7=this['_getAttachedDomRoot']();if(!_0x4b3de7||0x0===_0x4b3de7['childElementCount'])return void _0x44c104['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2cd1ab,pageHeight:_0x2e1b7e}=_0x44c104['config']['get']('pagination'),{top:_0x4b9ae7,left:_0x372ba5,bottom:_0x3fe156,right:_0x4b8d10}=this['_configuredPaddings'];this['_pagesContainer']=new _0x7ab0ab(_0x44c104['locale']);const _0x5b1400=this['_pagesContainer'];_0x5b1400['set']('class',''),_0x5b1400['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x2cd1ab,'width':_0x2cd1ab,'height':'calc(\x20'+_0x2e1b7e+'\x20-\x20'+_0x4b9ae7+'\x20-\x20'+_0x3fe156+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4b8d10+'\x200\x20'+_0x372ba5,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x5b1400['bindTemplate']['to']('class')}}),_0x5b1400['render'](),_0x4b3de7['parentNode']['insertBefore'](_0x5b1400['element'],_0x4b3de7['nextSibling']),this['listenTo'](_0x1f9977,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x46b49a of this['editor']['editing']['view']['domRoots']['values']())if(_0x46b49a['ownerDocument']['body']['contains'](_0x46b49a))return _0x46b49a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x13b46b=this['editor']['editing']['view'],_0x19cb9d=this['_pagesContainer'],_0x15bdc2=this['_getAttachedDomRoot']();if(!_0x15bdc2)return Promise['resolve']();for(_0x19cb9d['class']=['ck-reset','ck-pagination-view',..._0x15bdc2['classList']]['join']('\x20');_0x19cb9d['element']['firstChild'];)_0x19cb9d['element']['firstChild']['remove']();const _0x8de38a=Array['from'](_0x13b46b['domRoots']);_0x8de38a['sort'](([,_0x54ed4c],[,_0x1ad2ce])=>_0x54ed4c['compareDocumentPosition'](_0x1ad2ce)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x585648,_0x58425e]of _0x8de38a){const _0x3b0844=_0x58425e['cloneNode'](!0x0);'attributeStyleMap'in _0x3b0844&&_0x3b0844['attributeStyleMap']['clear'](),_0x3b0844['className']='',_0x3b0844['removeAttribute']('id'),_0x3b0844['dataset']['rootName']=_0x585648,_0x19cb9d['element']['append'](_0x3b0844);}return function(_0xdfd8a3){return Promise['all'](_0xdfd8a3['map'](_0x5a7765=>Promise['race']([p(_0x5a7765),y(0x3e8)])));}(Array['from'](_0x19cb9d['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x35dec6=this['_pagesContainer']['element'];if(!_0x35dec6['ownerDocument']['body']['contains'](_0x35dec6))return;const _0x11eabb=new _0xacc570(_0x35dec6)['excludeScrollbarsAndBorders'](),_0x2dc93a=_0x5edfc3['window']['getComputedStyle'](_0x35dec6),_0x3364c9=parseFloat(_0x2dc93a['paddingLeft'])+parseFloat(_0x2dc93a['paddingRight']),_0x2fd4c9=Math['floor'](_0x11eabb['width']+0x64-_0x3364c9),_0x42824b=x(_0x35dec6,Math['floor'](_0x11eabb['left']-_0x35dec6['scrollLeft']),_0x2fd4c9,_0x11eabb['height'])['map'](_0x2af09b=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2af09b));_0x42824b['every'](_0x7fca50=>!!_0x7fca50)&&(this['pageBreaks']=_0x42824b);}['_mapPageStarterInfoToPageBreakInfo'](_0x3f6604){const _0x4a6c4f=this['editor']['editing']['view'],_0x8ff58d=this['editor']['editing']['mapper'],_0x3803fc=_0x4a6c4f['domConverter'],_0x31ee0d=_0x3f6604['path']['shift'](),_0x1b86c7=this['_pagesContainer']['element']['childNodes'][_0x31ee0d]['dataset']['rootName'],_0x31747b=_0x4a6c4f['getDomRoot'](_0x1b86c7);if(!_0x31747b)return null;const _0x208504=function(_0x473df7,_0xc0938d){let _0x488731=_0x473df7;for(const _0x2a1819 of _0xc0938d['path']){if(!_0x488731)return null;_0x488731=_0x488731['childNodes'][_0x2a1819];}return _0x488731;}(_0x31747b,_0x3f6604);if(!_0x208504)return null;const _0x61e075=_0x3803fc['domPositionToView'](_0x208504,_0x3f6604['textOffset']||0x0);return _0x61e075?'manual'==_0x3f6604['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504):'text'==_0x3f6604['type']&&_0x8ff58d['toModelPosition'](_0x61e075)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504,_0x3f6604['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x61e075,_0x208504,_0x3f6604['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1ceb78,_0x49f50d){const _0x2638d0=this['editor']['model'],_0x2ab2e3=this['editor']['editing']['mapper']['toModelElement'](_0x1ceb78['parent']),_0xce5267=_0x2638d0['createRangeOn'](_0x2ab2e3);return new K({'type':'manual','modelRange':_0xce5267,'domNode':_0x49f50d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1579ad,_0x475d0b,_0x1af585){const _0x3338f8=this['editor']['model'],_0x10bb05=this['editor']['editing']['mapper'],_0x3ece9a=this['editor']['editing']['view']['domConverter'];if(_0x1af585>=_0x475d0b['length'])return null;const _0x59dde2=_0x10bb05['toModelPosition'](_0x1579ad),_0x513872=_0x3338f8['createRange'](_0x59dde2),_0x3bba48=_0x10bb05['findMappedViewAncestor'](_0x1579ad),_0x519afc=_0x3ece9a['mapViewToDom'](_0x3bba48);return new K({'type':'text','modelRange':_0x513872,'domNode':_0x475d0b,'offset':m(_0x475d0b,_0x1af585,_0x519afc)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x38239c,_0x44dab4,_0x44984d){const _0x3bd282=this['editor']['model'],_0x2830c2=this['editor']['editing'],_0x2a8e9b=_0x2830c2['mapper'],_0xac0ac7=_0x2830c2['view']['domConverter'],_0x3133be=_0x2a8e9b['findMappedViewAncestor'](_0x38239c),_0x298b10=_0x2a8e9b['toModelElement'](_0x3133be),_0x240d3f=function(_0x40d370){const _0x60c020=_0x40d370['parent'],_0x11965c=_0x60c020['root']['document']['model'],_0x55a32b=_0x60c020['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x54ce96=null;for(const _0x5377e2 of _0x55a32b){if(_0x5377e2['is']('rootElement'))return _0x54ce96;if(!_0x11965c['createPositionBefore'](_0x5377e2)['isTouching'](_0x40d370))return _0x54ce96;_0x54ce96=_0x5377e2;}}(_0x3bd282['createPositionBefore'](_0x298b10)),_0x34d3c6=_0x240d3f||_0x298b10;let _0x4ec6be=_0x2a8e9b['toViewElement'](_0x34d3c6),_0x26481d=_0x3bd282['createRangeOn'](_0x34d3c6);const _0x418d89=_0x3bd282['createPositionBefore'](_0x34d3c6)['nodeBefore'];if(_0x418d89&&_0x418d89['is']('element','imageBlock')){const _0x1ea50d=_0x2a8e9b['toViewElement'](_0x418d89),_0x138060=_0xac0ac7['mapViewToDom'](_0x1ea50d),_0x1a0cce=_0x5edfc3['window']['getComputedStyle'](_0x138060)['float'];'left'!=_0x1a0cce&&'right'!=_0x1a0cce||(_0x26481d=_0x3bd282['createRangeOn'](_0x418d89));}for(;_0x4ec6be['parent']!==_0x4ec6be['root']&&0x0===_0x4ec6be['index'];)_0x4ec6be=_0x4ec6be['parent'];const _0x381ffd=new _0xacc570(S(_0x44dab4)?_0x44dab4:P(_0x44dab4)),_0x3423ac=_0x44984d?_0x381ffd['height']-_0x44984d:0x0,_0x27787c=_0xac0ac7['mapViewToDom'](_0x4ec6be),_0x4258ad=new _0xacc570(_0x27787c);return new K({'type':'element','modelRange':_0x26481d,'domNode':_0x27787c,'offset':Math['round'](_0x3423ac)?_0x3423ac+_0x381ffd['top']-_0x4258ad['top']:0x0});}get['_configuredPaddings'](){const _0x406528=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x406528);}static['_findPageStarterInfos'](_0x5ce513,_0x405b2b,_0x372fd3,_0x1b3cb0,_0x5bdecd){return x(_0x5ce513,_0x405b2b,_0x372fd3,_0x1b3cb0,_0x5bdecd);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xb2694f,modelRange:_0x1dc41d,domNode:_0x44dadf,offset:_0x40880f}){this['type']=_0xb2694f,this['modelRange']=_0x1dc41d,this['_domNode']=_0x44dadf,this['_offset']=_0x40880f;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x475f2a=new _0xacc570(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x475f2a['top']+_0x475f2a['height']/0x2:_0x475f2a['top']+this['_offset'];}}function m(_0x4ab5e3,_0x483d01,_0x4b45c3){const _0x5b4b5d=P(_0x4ab5e3),_0x4a505a=function(_0x8d9285){const _0xbd4d12=_0x5edfc3['document']['createRange']();return _0xbd4d12['selectNodeContents'](_0x8d9285),_0xbd4d12;}(_0x4b45c3);let _0x12108a;_0x12108a=0x0==_0x483d01?b(_0x4a505a['startContainer'],_0x4a505a['startOffset'],_0x4ab5e3['parentNode'],Array['from'](_0x4ab5e3['parentNode']['childNodes'])['indexOf'](_0x4ab5e3)):b(_0x4a505a['startContainer'],_0x4a505a['startOffset'],_0x4ab5e3,_0x483d01);const _0x33bf69=b(_0x4ab5e3,_0x483d01,_0x4a505a['endContainer'],_0x4a505a['endOffset']),_0x177dce=new _0xacc570(_0x12108a)['bottom'];return(new _0xacc570(_0x33bf69)['top']+_0x177dce)/0x2-new _0xacc570(_0x5b4b5d)['top'];}function p(_0x253f4d){return _0x253f4d['hasAttribute']('width')&&_0x253f4d['hasAttribute']('height')?Promise['resolve']():new Promise(_0x550312=>{function _0x3d7518(){_0x253f4d['removeEventListener']('load',_0x3d7518),_0x253f4d['removeEventListener']('error',_0x3d7518),_0x550312();}_0x253f4d['complete']?_0x550312():(_0x253f4d['addEventListener']('load',_0x3d7518),_0x253f4d['addEventListener']('error',_0x3d7518));});}function y(_0x4b3a96){return new Promise(_0x50664f=>setTimeout(_0x50664f,_0x4b3a96));}function P(_0x38803a){const _0x10bec1=_0x5edfc3['document']['createRange']();return _0x10bec1['selectNode'](_0x38803a),_0x10bec1;}function k(_0x294763,_0x202275,_0x2cd8b8){const _0xafe918=_0x5edfc3['document']['createRange']();return _0xafe918['setStart'](_0x294763,_0x202275),_0xafe918['setEnd'](_0x294763,_0x2cd8b8),_0xafe918;}function b(_0x2579f1,_0x2f1d41,_0x359277,_0x4aa749){const _0x28e5ab=_0x5edfc3['document']['createRange']();return _0x28e5ab['setStart'](_0x2579f1,_0x2f1d41),_0x28e5ab['setEnd'](_0x359277,_0x4aa749),_0x28e5ab;}function x(_0x3db61e,_0x32dce0,_0x4ad217,_0x10e07d,_0x207fef){const _0x178800=[];for(const [_0x3a6c3e,_0x11ed66]of _0x3db61e['childNodes']['entries']()){let _0x51e799=[];S(_0x11ed66)&&_0x11ed66['offsetParent']&&!_0x11ed66['style']['position']?_0x51e799=_(_0x11ed66,_0x3a6c3e,_0x32dce0,_0x4ad217,_0x10e07d,_0x207fef):R(_0x11ed66)&&(_0x51e799=B(_0x11ed66,_0x3a6c3e,_0x32dce0,_0x4ad217,_0x207fef)),_0x51e799['length']&&(_0x178800['push'](..._0x51e799),_0x32dce0+=_0x51e799['length']*_0x4ad217,_0x207fef=!0x1);}return _0x178800;}function _(_0x2fa378,_0xfbdb86,_0xeaea78,_0x159f88,_0x807f66,_0x4831ff){const _0x12063f=[];var _0x2eab1b;if((_0x2eab1b=_0x2fa378['previousSibling'])&&S(_0x2eab1b)&&Boolean(_0x2eab1b['classList']['contains']('page-break')||_0x2eab1b['closest']('.page-break'))&&(_0x12063f['push']({'type':'manual','offset':0x0,'path':[_0xfbdb86-0x1]}),_0x4831ff=!0x0),'table-row'==_0x5edfc3['window']['getComputedStyle'](_0x2fa378)['display']){let _0x206cb8=0x0,_0x528c20=!0x1;for(const _0x5d101a of _0x2fa378['getClientRects']())_0x206cb8+=_0x5d101a['height'],_0x5d101a['left']>=_0xeaea78&&(_0x528c20=!0x0);if(_0x206cb8<_0x807f66&&_0x528c20)return _0x12063f['push']({'type':'element','offset':0x0,'path':[_0xfbdb86]}),_0x12063f;}const _0x22042b=_0x2fa378['closest']('figure.image');if(_0x22042b&&function(_0x77318f){let _0x298e79=!0x1;const _0xc9390b=_0x77318f['parentElement'],_0x480950=_0xc9390b['dataset']['rootName'],_0x58b47b=_0x77318f['nextElementSibling'],_0x24cbd3=_0x77318f['previousElementSibling'],_0x2ab8fe=_0x58b47b&&_0x5edfc3['window']['getComputedStyle'](_0x58b47b)['float'],_0x5e8437=_0x58b47b&&'ck-fake-selection-container'===_0x58b47b['className'];!_0x480950||_0x58b47b||_0x24cbd3||(_0x298e79=!0x0),_0x480950&&!_0x24cbd3&&_0x5e8437&&(_0x298e79=!0x0),_0x480950&&!_0x24cbd3&&'none'!==_0x2ab8fe&&(_0x298e79=!0x0);if(_0x298e79)return!0x1;return!0x0;}(_0x22042b)){const _0xb815fa=_0x5edfc3['window']['getComputedStyle'](_0x22042b)['float'];if('left'==_0xb815fa||'right'==_0xb815fa)return _0x12063f;}const _0x305e8b=x(_0x2fa378,_0xeaea78,_0x159f88,_0x807f66,_0x4831ff);if(_0x305e8b['length']){for(const _0xb2e674 of _0x305e8b)_0x12063f['push']({'type':_0xb2e674['type'],'offset':_0xb2e674['offset'],'textOffset':_0xb2e674['textOffset'],'path':[_0xfbdb86,..._0xb2e674['path']]}),_0xeaea78+=_0x159f88,_0x4831ff=!0x1;return _0x12063f;}return _0x12063f['push'](...function(_0x449610,_0x438221,_0x41a122,_0x63fe4c,_0x198306){const _0x2085b6=[];if('table-cell'==_0x5edfc3['window']['getComputedStyle'](_0x449610)['display'])return[];const _0x20d515=[];for(const _0x3b9233 of _0x449610['getClientRects']())if(_0x3b9233['left']>=_0x41a122){for(const _0x4ac99b of _0x20d515)_0x4ac99b['height']+=_0x3b9233['height'];_0x20d515['push']({'height':_0x3b9233['height']}),_0x41a122+=_0x63fe4c;}for(const _0x39cff0 of _0x20d515)_0x198306||_0x2085b6['push']({'type':'element','offset':_0x39cff0['height'],'textOffset':0x0,'path':[_0x438221]}),_0x198306=!0x1;return _0x2085b6;}(_0x2fa378,_0xfbdb86,_0xeaea78,_0x159f88,_0x4831ff)),_0x12063f;}function B(_0x7df95b,_0x1acdd1,_0x644f0d,_0x2c0b6b,_0x316ea0){const _0x5296b9=P(_0x7df95b),_0x43e2c6=[];let _0x4461b1=0x0;for(const _0x20a76c of _0x5296b9['getClientRects']())if(_0x20a76c['left']>=_0x644f0d){const _0x1730cb=I(_0x7df95b,_0x4461b1,_0x644f0d,_0x2c0b6b);_0x316ea0||_0x43e2c6['push']({'type':'text','path':[_0x1acdd1],'textOffset':_0x1730cb}),_0x4461b1=_0x1730cb,_0x644f0d+=_0x2c0b6b,_0x316ea0=!0x1;}return _0x43e2c6;}function I(_0x4af76b,_0x5301d9,_0x20ab94,_0x63e9eb){let _0x30ca4e=_0x5301d9,_0x25b207=_0x4af76b['length'];for(;_0x25b207-_0x30ca4e>0x1;){const _0x2550d9=Math['ceil']((_0x30ca4e+_0x25b207)/0x2);N(k(_0x4af76b,_0x30ca4e,_0x2550d9),_0x20ab94,_0x63e9eb)?_0x25b207=_0x2550d9:_0x30ca4e=_0x2550d9;}return _0x30ca4e;}function N(_0x5e5c81,_0x2684ee,_0x6ef45b){for(const _0x3e48a9 of _0x5e5c81['getClientRects']())if(_0x3e48a9['left']>=_0x2684ee&&_0x3e48a9['left']<_0x2684ee+_0x6ef45b)return!0x0;return!0x1;}function S(_0x2b4c91){return _0x2b4c91['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2c8cef){return _0x2c8cef['nodeType']==Node['TEXT_NODE'];}const z=_0x49e04b('px');class V extends _0x7ab0ab{constructor(){super();const _0x26893c=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x26893c['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x26893c['if']('isVisible','ck-hidden',_0x1477a6=>!_0x1477a6)],'style':{'left':_0x26893c['to']('left',_0x3d0c49=>z(_0x3d0c49)),'top':_0x26893c['to']('top',_0x4ef8a8=>z(_0x4ef8a8)),'width':_0x26893c['to']('width',_0x2c6236=>z(_0x2c6236))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x155623){this['_viewCollection']=_0x155623['ui']['view']['body'];}['destroy'](){for(const _0x572a36 of this['_hiddenLines'])_0x572a36['destroy']();}['cleanLines'](){for(const _0x3246c9 of this['_visibleLines'])_0x3246c9['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3246c9);this['_visibleLines']['clear']();}['showLine'](_0x5c5f6d,_0x5b601f,_0x25518c,_0x8c588b){let _0x719682;this['_hiddenLines']['size']?(_0x719682=_0x409917(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x719682)):_0x719682=new V(),_0x719682['set']({'pageNumber':_0x8c588b,'left':_0x5c5f6d,'top':_0x5b601f,'width':_0x25518c}),_0x719682['isVisible']=!0x0,this['_viewCollection']['has'](_0x719682)||this['_viewCollection']['add'](_0x719682),this['_visibleLines']['add'](_0x719682);}['setViewCollection'](_0x1970d9){for(const _0x1ec074 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1ec074)&&this['_viewCollection']['remove'](_0x1ec074);this['_viewCollection']=_0x1970d9;}}const L='ck-pagination_enabled';class c extends _0xe4eeb0{['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',(_0xc0ac9b,_0x3b015f,_0x1d2bd2)=>{_0x1d2bd2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x1d2bd2);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x10d4fe){if(!this['isEnabled'])return;const _0x327cb2=_0x10d4fe>0x1?this['_getPageBreakLineOffset'](_0x10d4fe-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x327cb2-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x6cd5b6['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5ab5e1=this['editor'],_0xbf2206=this['_getAttachedDomRoot']();_0xbf2206?(this['_scrollableEditingRootDomAncestor']&&_0x5ab5e1['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2630ea){let _0x8214f5=_0x2630ea;do{_0x8214f5=_0x8214f5['parentElement'];const _0xcc5f03=_0x5edfc3['window']['getComputedStyle'](_0x8214f5)['overflowY'];if('auto'==_0xcc5f03||'scroll'==_0xcc5f03)break;}while('BODY'!=_0x8214f5['tagName']);return _0x8214f5;}(_0xbf2206),_0x5ab5e1['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2eb937(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5ab5e1['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xdc249f=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xdc249f['ui']['view']['listenTo'](_0x5edfc3['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xdc249f['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x468039 of this['editor']['editing']['view']['domRoots']['values']())if(_0x468039['ownerDocument']['body']['contains'](_0x468039))return _0x468039;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4b61b1=this['_getAttachedDomRoot'](),_0x24688f=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4b61b1||0x1==_0x24688f['length'])return void(this['pageNumber']=0x1);const _0x40b9c6=new _0xacc570(_0x4b61b1)['excludeScrollbarsAndBorders'](),_0x2bb1ad=new _0xacc570(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2bc83f=_0x2bb1ad['top']+_0x2bb1ad['height']/0x3;let _0x147450=!0x1;const _0x9b1d88=[];for(let _0x105333=0x1;_0x105333<_0x24688f['length'];_0x105333++){const _0x503c3e=this['_getPageBreakLineOffset'](_0x105333,_0x2bb1ad);if(!_0x503c3e)continue;const _0xe00275=_0x2bb1ad['top']+_0x503c3e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x9b1d88['push']({'pageOffsetTop':_0xe00275,'domRootRect':_0x40b9c6,'domScrollableRect':_0x2bb1ad,'pageNumber':_0x105333}),_0xe00275>_0x2bc83f&&!_0x147450&&(this['pageNumber']=_0x105333,_0x147450=!0x0);}this['_renderPageBreakLines'](_0x9b1d88),_0x147450||(this['pageNumber']=_0x24688f['length']);}['_renderPageBreakLines'](_0x545688){const {scrollX:_0x3eb046,scrollY:_0x5051af}=_0x5edfc3['window'];if(_0x545688['length']){for(const {domScrollableRect:_0x2af44c,pageOffsetTop:_0x239194,domRootRect:_0x2a797f,pageNumber:_0x2df145}of _0x545688)_0x2af44c['top']<_0x239194&&_0x239194<_0x2af44c['bottom']&&this['linesRepository']['showLine'](_0x2a797f['left']+_0x3eb046,_0x239194+_0x5051af,_0x2a797f['width'],_0x2df145+0x1);}}['_getPageBreakLineOffset'](_0x2cd611,_0x5f4b11=null){const _0x434a68=this['_paginationLookupPlugin']['pageBreaks'][_0x2cd611]['offset'];return _0x434a68?(_0x5f4b11||(_0x5f4b11=new _0xacc570(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x434a68-_0x5f4b11['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x49fb62,_0x1367cc=!0x0){const _0x4accea=this['editor']['editing']['view'];_0x4accea['change'](_0x5f08aa=>{for(const _0x1155fa of _0x4accea['document']['roots'])_0x1367cc?_0x5f08aa['addClass'](_0x49fb62,_0x1155fa):_0x5f08aa['removeClass'](_0x49fb62,_0x1155fa);});}}function g(_0x2aa499,_0x19e1b3,..._0x2ea12a){const t=_0x2aa499['t'];switch(_0x19e1b3){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)',..._0x2ea12a);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 _0x19e1b3;}}class s extends _0xe4eeb0{['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 _0x1fcf62=this['editor']['plugins']['get']('Pagination'),_0x52594e=this['editor']['plugins']['get'](n),_0x451037=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1fcf62),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x451037),this['listenTo'](_0x52594e,'change:pageBreaks',(_0x3c7bc5,_0x1dcdc2,_0x58742b,_0x14bf7d)=>{this['totalPages']=_0x58742b['length'],this['_updatePageBreakMarkers'](_0x58742b,_0x14bf7d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1c94c2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24ee87;for(const _0x38f3e4 in _0x1c94c2){const _0x109170=_0x38f3e4,_0x43cbb0=_0x1c94c2[_0x109170];if('paginationLicenseKeyValid'==_0x43cbb0||'paginationLicenseKeyInvalid'==_0x43cbb0||'paginationLicenseKeyExpired'==_0x43cbb0||'paginationLicenseKeyDomainLimit'==_0x43cbb0||'paginationLicenseKeyNotAllowed'==_0x43cbb0||'paginationLicenseKeyEvaluationLimit'==_0x43cbb0||'paginationLicenseKeyTrialLimit'==_0x43cbb0||'paginationLicenseKeyUsageLimit'==_0x43cbb0){delete _0x1c94c2[_0x109170],_0x24ee87=_0x43cbb0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x24ee87&&_0x1c94c2['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x24ee87&&_0x1c94c2['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x24ee87&&_0x1c94c2['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x24ee87&&_0x1c94c2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c946d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c946d));}['moveSelectionToPage'](_0x4fefa6){if(!this['isEnabled'])return;const _0x4c2fa1=this['editor'],_0x5436f1=this['editor']['plugins']['get'](n)['pageBreaks'][_0x4fefa6-0x1];_0x5436f1&&_0x4c2fa1['model']['change'](_0x4d2a5d=>{switch(_0x5436f1['type']){case'manual':{const _0x2b8701=_0x4c2fa1['model']['schema']['getNearestSelectionRange'](_0x5436f1['modelRange']['end'],'forward');_0x4d2a5d['setSelection'](_0x2b8701);break;}case'element':{const _0x4ca9ba=_0x4c2fa1['model']['schema']['getNearestSelectionRange'](_0x5436f1['modelRange']['start'],'forward');_0x4d2a5d['setSelection'](_0x4ca9ba);break;}case'text':{const _0x2f4eed=_0x5436f1['modelRange']['start'];if(_0x2f4eed['textNode']&&'\x20'===_0x2f4eed['textNode']['data'][_0x2f4eed['offset']]){const _0x2cf61b=_0x4d2a5d['createPositionAt'](_0x2f4eed['parent'],_0x2f4eed['offset']+0x1);_0x4d2a5d['setSelection'](_0x2cf61b);}else _0x4d2a5d['setSelection'](_0x5436f1['modelRange']);}}_0x4c2fa1['editing']['view']['focus']();});}['goToNextPage'](){const _0x91af14=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x91af14),this['scrollToPage'](_0x91af14);}['goToPreviousPage'](){const _0x38c85c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x38c85c),this['scrollToPage'](_0x38c85c);}['_updatePageBreakMarkers'](_0x19ea8b,_0x4ee724){const _0x54327e=this['editor']['model'];this['isEnabled']&&_0x54327e['change'](_0x83f182=>{for(let _0x26d272=0x1;_0x26d272<_0x19ea8b['length'];_0x26d272++){const _0x101897=_0x19ea8b[_0x26d272]['modelRange'],_0xc3e892='pagination:'+(_0x26d272+0x1);_0x54327e['markers']['has'](_0xc3e892)?_0x83f182['updateMarker'](_0xc3e892,{'range':_0x101897}):_0x83f182['addMarker'](_0xc3e892,{'range':_0x101897,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2682e2=_0x19ea8b['length'];_0x2682e2<_0x4ee724['length'];_0x2682e2++){const _0x37be70='pagination:'+(_0x2682e2+0x1);_0x54327e['markers']['has'](_0x37be70)&&_0x83f182['removeMarker'](_0x37be70);}});}['_setUpDataDowncastConversion'](){const _0x59ee29='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x10d64d=>{_0x10d64d['on']('addMarker:'+_0x59ee29,(_0x374912,{markerRange:_0x21a789,markerName:_0x292b1b},_0x1cc310)=>{if(!_0x1cc310['options']['pagination'])return;if(!_0x1cc310['consumable']['consume'](_0x21a789,_0x374912['name']))return;const _0x1c157a=_0x21a789['getContainedElement']();let _0x10f11b=_0x1c157a?_0x1cc310['mapper']['toViewElement'](_0x1c157a):null;if(!_0x10f11b){const _0x9a5e28=_0x21a789['start'];if(_0x1cc310['schema']['checkChild'](_0x9a5e28,'$text')){const _0x63e049=_0x1cc310['mapper']['toViewPosition'](_0x9a5e28);_0x10f11b=_0x1cc310['writer']['createContainerElement']('span'),_0x10f11b['getFillerOffset']=()=>null,_0x1cc310['writer']['insert'](_0x63e049,_0x10f11b);}else{const _0x1cbda7=_0x9a5e28['nodeAfter'];_0x10f11b=_0x1cc310['mapper']['toViewElement'](_0x1cbda7);}}for(;_0x10f11b['parent']!==_0x10f11b['root']&&0x0===_0x10f11b['index'];)_0x10f11b=_0x10f11b['parent'];const _0x75b5d1=_0x292b1b['substring'](0xb);_0x10f11b['hasClass']('page-break')||(_0x1cc310['writer']['setStyle']('page-break-before','always',_0x10f11b),_0x1cc310['writer']['setAttribute']('data-pagination-page',_0x75b5d1,_0x10f11b),_0x1cc310['mapper']['bindElementToMarker'](_0x10f11b,_0x292b1b)),_0x374912['stop']();});});}['_setupKeystrokes'](){const _0x5444fa=this['editor'];_0x5444fa['keystrokes']['set']('Shift+Pageup',(_0x56285e,_0xe7bb0b)=>{this['goToPreviousPage'](),_0xe7bb0b();}),_0x5444fa['keystrokes']['set']('Shift+Pagedown',(_0x40acab,_0x251e65)=>{this['goToNextPage'](),_0x251e65();}),_0x5444fa['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x5444fa['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x5444fa['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x5444fa['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0xd999b1){return _0xd999b1<0x1&&(_0xd999b1=0x1),_0xd999b1>this['totalPages']&&(_0xd999b1=this['totalPages']),_0xd999b1;}}class U extends _0x7ab0ab{['pageNumberView'];constructor(_0x51ba33){super(_0x51ba33);const _0x13d18b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1c3385(_0x51ba33,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x100e82=>g(_0x51ba33,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x100e82)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x487937=>!_0x487937),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x13d18b['if']('isEnabled','ck-disabled',_0x10e62c=>!_0x10e62c)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x13d18b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4efdc2=this['pageNumberView']['element'],_0x4a01da=_0x279b66=>{this['pageNumberView']['element']['value']=String(_0x279b66);};_0x4a01da(this['pageNumber']),this['on']('change:pageNumber',(_0x249e6e,_0x22bee2,_0x1fc1ed)=>{_0x4a01da(_0x1fc1ed);}),this['listenTo'](_0x4efdc2,'keydown',(_0x220612,_0x450198)=>{if('ArrowUp'===_0x450198['key']||'ArrowDown'===_0x450198['key'])return void _0x450198['stopPropagation']();if(_0x450198['keyCode']!==_0x548cf3['enter'])return;_0x450198['preventDefault']();const _0x4e5d71=_0x4efdc2['valueAsNumber'];Number['isNaN'](_0x4e5d71)?_0x4efdc2['value']=String(this['pageNumber']):(_0x4efdc2['checkValidity']()?this['pageNumber']=_0x4e5d71:_0x4e5d71>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4efdc2['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4efdc2['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4efdc2,'blur',()=>{_0x4efdc2['value']=String(this['pageNumber']);}),this['listenTo'](_0x4efdc2,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0xe4eeb0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x506eb2=this['editor'],_0xc3848c=_0x506eb2['plugins']['get']('PaginationEditing');_0x506eb2['ui']['componentFactory']['add']('pageNavigation',_0x48b830=>{const _0x38a0b7=new U(_0x48b830);return _0x38a0b7['bind']('pageNumber')['to'](_0xc3848c),_0x38a0b7['bind']('totalPages')['to'](_0xc3848c),_0x38a0b7['bind']('isEnabled')['to'](_0xc3848c),_0x38a0b7['on']('navigation',(_0x10a44b,_0x2d1c69)=>{_0xc3848c['moveSelectionToPage'](_0x2d1c69),_0xc3848c['scrollToPage'](_0x2d1c69);}),_0x38a0b7;}),_0x506eb2['ui']['componentFactory']['add']('nextPage',_0x35bc70=>{const _0x6abcba=new _0x22b168(_0x35bc70);return _0x6abcba['isEnabled']=!0x0,_0x6abcba['label']=g(_0x506eb2['locale'],'Go\x20to\x20next\x20page'),_0x6abcba['icon']=_0x37b3cd,_0x6abcba['tooltip']=!0x0,_0x6abcba['keystroke']='Shift+PageDown',_0x6abcba['bind']('isEnabled')['to'](_0xc3848c),this['listenTo'](_0x6abcba,'execute',()=>{_0xc3848c['goToNextPage']();}),_0x6abcba;}),_0x506eb2['ui']['componentFactory']['add']('previousPage',_0x42f1=>{const _0x3b9b66=new _0x22b168(_0x42f1);return _0x3b9b66['isEnabled']=!0x0,_0x3b9b66['label']=g(_0x506eb2['locale'],'Go\x20to\x20previous\x20page'),_0x3b9b66['icon']=_0x2de10f,_0x3b9b66['tooltip']=!0x0,_0x3b9b66['keystroke']='Shift+PageUp',_0x3b9b66['bind']('isEnabled')['to'](_0xc3848c),this['listenTo'](_0x3b9b66,'execute',()=>{_0xc3848c['goToPreviousPage']();}),_0x3b9b66;});}}class a extends _0xe4eeb0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x3a96f1){super(_0x3a96f1),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x50257a=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x50257a),this['bind']('totalPages')['to'](_0x50257a),_0x6cd5b6['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4b063c){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4b063c);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x289705}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1b7490,InputNumberView as _0x3b0835,ButtonView as _0x30f83c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x4f644d,Rect as _0x36405f,global as _0x590527,uid as _0x288eb9,toUnit as _0x4a562f,first as _0xe8085d,env as _0xa89e22,ResizeObserver as _0x47aa6c,keyCodes as _0x12ac1c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x4d8c28}from'es-toolkit/compat';import{IconArrowDown as _0x98a283,IconArrowUp as _0x4bc93a}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x289705{['_recalculatePageBreaksDebounced']=_0x4d8c28(()=>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 _0x4f644d('pagination-config-not-found',this['editor']['config']);const _0x369b95=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x369b95),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x507e75,_0x34f9d1,_0x30faba)=>{_0x30faba&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x52f263){const _0x25b116=_0x3847d1([0x5a,0x58,0x38,0x47,0x74,0x52,0x57,0x42,0x51,0x56,0x6a,0x36,0x50,0x71,0x33,0x30,0x53,0x4a,0x66,0x63,0x35,0x48,0x54,0x77,0x4c,0x45,0x41,0x4e,0x68,0x6b,0x37,0x6c,0x6f,0x70,0x4d,0x49,0x7a,0x6e,0x78,0x61,0x39,0x31,0x4f,0x67,0x75,0x44,0x43,0x62,0x32,0x79,0x34,0x73,0x59,0x76,0x69,0x4b,0x55,0x6d,0x64,0x46,0x72,0x65]),_0x324a89=0x4db1ffa6,_0x5989f8=0x4db69686^_0x324a89,_0x1b5252=window[_0x3847d1([0x44,0x61,0x74,0x65])][_0x3847d1([0x6e,0x6f,0x77])](),_0x5df447=_0x52f263[_0x3847d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ddfc8=new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5c45=>{_0x5df447[_0x3847d1([0x6f,0x6e,0x63,0x65])](_0x3847d1([0x72,0x65,0x61,0x64,0x79]),_0x1f5c45);}),_0x80e806={[_0x3847d1([0x6b,0x74,0x79])]:_0x3847d1([0x45,0x43]),[_0x3847d1([0x75,0x73,0x65])]:_0x3847d1([0x73,0x69,0x67]),[_0x3847d1([0x63,0x72,0x76])]:_0x3847d1([0x50,0x2d,0x32,0x35,0x36]),[_0x3847d1([0x78])]:_0x3847d1([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]),[_0x3847d1([0x79])]:_0x3847d1([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]),[_0x3847d1([0x61,0x6c,0x67])]:_0x3847d1([0x45,0x53,0x32,0x35,0x36])},_0x5918e2=_0x5df447[_0x3847d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3847d1([0x67,0x65,0x74])](_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f3c71(){let _0x52fd15,_0x3f3796=null,_0x43fee9=null;try{if(_0x5918e2==_0x3847d1([0x47,0x50,0x4c]))return _0x3847d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52fd15=_0x29376b(),!_0x52fd15)return _0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52fd15[_0x3847d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43fee9=_0x2389e7(_0x52fd15[_0x3847d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52fd15[_0x3847d1([0x6a,0x74,0x69])])),await _0x492cae()?_0x4dcfa0()?_0x53a46f()?_0x3847d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdd74e7()?(_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3847d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f3796=_0x310977(_0x3847d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3847d1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f3796=_0x310977(_0x3847d1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2649f1()):_0x3847d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3847d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53a46f(){const _0x1d9661=[_0x3847d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3847d1([0x74,0x72,0x69,0x61,0x6c])][_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b5252/0x3e8:0xe10*_0x5989f8;return _0x52fd15[_0x3847d1([0x65,0x78,0x70])]<_0x1d9661;}function _0x4dcfa0(){const _0x38d30b=_0x52fd15[_0x3847d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38d30b&&(!!_0x38d30b[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x2a]))||!!_0x38d30b[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x50,0x41,0x47])));}function _0xdd74e7(){const _0xd0b91c=_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd0b91c||0x0==_0xd0b91c[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x88d30f}=new URL(window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd0b91c[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x88d30f))return!0x0;const _0x286ee0=_0x88d30f[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e]));return _0xd0b91c[_0x3847d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cdbb3=>_0x5cdbb3[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x2a])))[_0x3847d1([0x6d,0x61,0x70])](_0x248dce=>_0x248dce[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e])))[_0x3847d1([0x73,0x6f,0x6d,0x65])](_0x597cf4=>_0x286ee0[_0x3847d1([0x65,0x76,0x65,0x72,0x79])]((_0x8bdc28,_0x24bdcf)=>_0x597cf4[_0x24bdcf]===_0x8bdc28||_0x597cf4[_0x24bdcf]===_0x3847d1([0x2a])));}function _0x2649f1(){return _0x3f3796&&_0x43fee9?new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2165f0,_0x2c8f85)=>{_0x3f3796[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x2165f0,_0x2c8f85),_0x43fee9[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x4fb6eb=>{_0x4fb6eb!=_0x3847d1([0x56,0x61,0x6c,0x69,0x64])&&_0x2165f0(_0x4fb6eb);},_0x2c8f85);}):_0x3f3796||_0x43fee9||_0x3847d1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2389e7(_0x45211b,_0x48037b){return new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x674ca2=>{if(_0x3f2d88())return _0x674ca2(_0x3847d1([0x56,0x61,0x6c,0x69,0x64]));_0x567947(),_0x5df447[_0x3847d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x134f3e=!0x1;const _0xf670e3=_0x288eb9();function _0x567744(_0xebfd49){return!!_0xebfd49&&(typeof _0xebfd49===_0x3847d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xebfd49===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xebfd49[_0x3847d1([0x74,0x68,0x65,0x6e])]===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xebfd49[_0x3847d1([0x63,0x61,0x74,0x63,0x68])]===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c66d3(_0x2b8ccc){_0x65ea92(_0x2b8ccc)[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x1e851b=>{if(!_0x1e851b||_0x1e851b[_0x3847d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3847d1([0x6f,0x6b]))return _0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x326fa4(_0x5e9e5d(_0xf670e3+_0x48037b))!=_0x1e851b[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3847d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3847d1([0x74,0x68,0x65,0x6e])](_0xf9cc05=>(_0x369ea4(),_0xf9cc05),()=>{const _0x40f299=_0x109427();return null==_0x40f299?(_0x369ea4(),_0x3847d1([0x56,0x61,0x6c,0x69,0x64])):_0x3847d1(_0x1b5252-_0x40f299>(0x69bd7ba6^_0x324a89)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x674ca2)[_0x3847d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ce2e8=0x4d871126^_0x324a89;function _0x369ea4(){const _0x54b715=_0x3847d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x326fa4(_0x5e9e5d(_0x45211b)),_0x146f44=_0x3aeb72(_0x326fa4(window[_0x3847d1([0x4d,0x61,0x74,0x68])][_0x3847d1([0x63,0x65,0x69,0x6c])](_0x1b5252/_0x5ce2e8)));window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3847d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54b715,_0x146f44);}function _0x109427(){const _0x243d8e=_0x3847d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x326fa4(_0x5e9e5d(_0x45211b)),_0x3c26ab=window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3847d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x243d8e);return _0x3c26ab?window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aeb72(_0x3c26ab),0x10)*_0x5ce2e8:null;}function _0x65ea92(_0xdea1a3){return new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9efee,_0x49c92d)=>{_0xdea1a3[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x9efee,_0x49c92d),window[_0x3847d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49c92d,0x4db02b66^_0x324a89);});}}_0x5df447[_0x3847d1([0x6f,0x6e])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c5075,_0x17ae20)=>{if(_0x17ae20[0x0]!=_0x45211b)return _0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17ae20[0x1]={..._0x17ae20[0x1],[_0x3847d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf670e3};},{[_0x3847d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3847d1([0x68,0x69,0x67,0x68])}),_0x5df447[_0x3847d1([0x6f,0x6e])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x491bb9=>{_0x567744(_0x491bb9[_0x3847d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x134f3e=!0x0,_0x4c66d3(_0x491bb9[_0x3847d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3847d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3847d1([0x6c,0x6f,0x77])}),_0x1ddfc8[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>{_0x134f3e||_0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f2d88(){return _0x5df447[_0x3847d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3847d1([0x76,0x69,0x65,0x77])][_0x3847d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3847d1([0x61,0x75,0x74,0x6f]);}function _0x567947(){_0x5df447[_0x3847d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3847d1([0x76,0x69,0x65,0x77])][_0x3847d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3847d1([0x61,0x75,0x74,0x6f]);}}function _0x310977(_0x3a6057){const _0x4ee6ff=[new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37dce7=>setTimeout(_0x37dce7,0x4db8c16a^_0x324a89)),_0x1ddfc8[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56c61e=>{let _0x225496=0x0;_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x6f,0x6e])](_0x3847d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x415f65,_0xb1c3b7)=>{_0xb1c3b7[0x0][_0x3847d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225496++,_0x225496==(0x4db1fe5e^_0x324a89)&&(_0x56c61e(),_0x415f65[_0x3847d1([0x6f,0x66,0x66])]());});}))];return window[_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3847d1([0x72,0x61,0x63,0x65])](_0x4ee6ff)[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>_0x3a6057);}async function _0x85edac(){await _0x1ddfc8,_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x261906,_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x261906,_0x5df447[_0x3847d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x280049(_0x4162bc){const _0x26c19e=_0x5cbbaa();_0x5df447[_0x26c19e]=_0x3847d1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4162bc,_0x4162bc!=_0x3847d1([0x56,0x61,0x6c,0x69,0x64])&&_0x85edac();}function _0x5cbbaa(){const _0x3403e2=window[_0x3847d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3847d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3847d1([0x6e,0x6f,0x77])]())[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3847d1([0x2e]),'');let _0x5c1f9c=_0x3847d1([0x5a]);for(let _0x100cf9=0x0;_0x100cf9<_0x3403e2[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x100cf9+=0x2){let _0x88832e=window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3403e2[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x100cf9,_0x100cf9+0x2));_0x88832e>=_0x25b116[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x88832e-=_0x25b116[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c1f9c+=_0x25b116[_0x88832e];}return _0x5c1f9c;}function _0x29376b(){const _0x50f768=_0x5918e2[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e]));if(0x3!=_0x50f768[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x214a21(_0x50f768[0x1]);function _0x214a21(_0x70c5ec){const _0x9a9743=_0x1b90ad(_0x70c5ec);return _0x9a9743&&_0x4c062b()?_0x9a9743:null;function _0x4c062b(){const _0x1547df=_0x9a9743[_0x3847d1([0x6a,0x74,0x69])],_0x17359a=window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1547df[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1547df[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1fc403={..._0x9a9743,[_0x3847d1([0x6a,0x74,0x69])]:_0x1547df[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1547df[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1fc403[_0x3847d1([0x76,0x63])],_0x5e9e5d(_0x1fc403)==_0x17359a;}}}async function _0x492cae(){let _0x4e9edf=!0x0;try{const _0x173651=_0x5918e2[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e])),[_0x1188ce,_0x30b34c,_0x191ea5]=_0x173651;return _0x45d6de(_0x1188ce),await _0x5bf9ce(_0x1188ce,_0x30b34c,_0x191ea5),_0x4e9edf;}catch{return!0x1;}function _0x45d6de(_0x1a4885){const _0x2f7a2a=_0x1b90ad(_0x1a4885);_0x2f7a2a&&_0x2f7a2a[_0x3847d1([0x61,0x6c,0x67])]==_0x3847d1([0x45,0x53,0x32,0x35,0x36])||(_0x4e9edf=!0x1);}async function _0x5bf9ce(_0x803501,_0x188051,_0x422cfa){const _0x572cba=window[_0x3847d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3847d1([0x66,0x72,0x6f,0x6d])](_0x450fb7(_0x422cfa),_0x591e10=>_0x591e10[_0x3847d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c42b2=new window[(_0x3847d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3847d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x803501+_0x3847d1([0x2e])+_0x188051),_0x4a2d59=window[_0x3847d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3847d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a2d59)return;const _0x566c2c=await _0x4a2d59[_0x3847d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3847d1([0x6a,0x77,0x6b]),_0x80e806,{[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x45,0x43,0x44,0x53,0x41]),[_0x3847d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3847d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a2d59[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x45,0x43,0x44,0x53,0x41]),[_0x3847d1([0x68,0x61,0x73,0x68])]:{[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x566c2c,_0x572cba,_0x2c42b2)||(_0x4e9edf=!0x1);}}function _0x1b90ad(_0x44c1fa){return _0x44c1fa[_0x3847d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3847d1([0x65,0x79]))?JSON[_0x3847d1([0x70,0x61,0x72,0x73,0x65])](_0x450fb7(_0x44c1fa)):null;}function _0x450fb7(_0x52be28){return window[_0x3847d1([0x61,0x74,0x6f,0x62])](_0x52be28[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3847d1([0x2b]))[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3847d1([0x2f])));}function _0x5e9e5d(_0x126376){let _0x4792dc=0x1505;function _0x4f5bf2(_0x4d073b){for(let _0x206b74=0x0;_0x206b74<_0x4d073b[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x206b74++){const _0x428dfc=_0x4d073b[_0x3847d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x206b74);_0x4792dc=(_0x4792dc<<0x5)+_0x4792dc+_0x428dfc,_0x4792dc&=_0x4792dc;}}function _0xda7b08(_0x39b46b){Array[_0x3847d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x39b46b)?_0x39b46b[_0x3847d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xda7b08):_0x39b46b&&typeof _0x39b46b==_0x3847d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3847d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x39b46b)[_0x3847d1([0x73,0x6f,0x72,0x74])]()[_0x3847d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132318,_0x4329b7])=>{_0x4f5bf2(_0x132318),_0xda7b08(_0x4329b7);}):_0x4f5bf2(window[_0x3847d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x39b46b));}return _0xda7b08(_0x126376),_0x4792dc>>>0x0;}function _0x326fa4(_0x4597c2){return _0x4597c2[_0x3847d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3847d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3847d1([0x30]));}function _0x3aeb72(_0x4adc5f){return _0x4adc5f[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3847d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3847d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x261906(){}function _0x3847d1(_0x4786e2){return _0x4786e2['map'](_0x3e577f=>String['fromCharCode'](_0x3e577f))['join']('');}_0x280049(await _0x3f3c71());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1b7fe0=this['editor'],_0x4f2626=_0x1b7fe0['editing']['view'],_0x3e2566=this['_getAttachedDomRoot']();if(!_0x3e2566||0x0===_0x3e2566['childElementCount'])return void _0x1b7fe0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4e9822,pageHeight:_0x226297}=_0x1b7fe0['config']['get']('pagination'),{top:_0x4d90ee,left:_0x40d0cb,bottom:_0x2f7ca1,right:_0x549bd1}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1b7490(_0x1b7fe0['locale']);const _0x13de51=this['_pagesContainer'];_0x13de51['set']('class',''),_0x13de51['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x4e9822,'width':_0x4e9822,'height':'calc(\x20'+_0x226297+'\x20-\x20'+_0x4d90ee+'\x20-\x20'+_0x2f7ca1+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x549bd1+'\x200\x20'+_0x40d0cb,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x13de51['bindTemplate']['to']('class')}}),_0x13de51['render'](),_0x3e2566['parentNode']['insertBefore'](_0x13de51['element'],_0x3e2566['nextSibling']),this['listenTo'](_0x4f2626,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x23493a of this['editor']['editing']['view']['domRoots']['values']())if(_0x23493a['ownerDocument']['body']['contains'](_0x23493a))return _0x23493a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x302d84=this['editor']['editing']['view'],_0x15a1b5=this['_pagesContainer'],_0x249663=this['_getAttachedDomRoot']();if(!_0x249663)return Promise['resolve']();for(_0x15a1b5['class']=['ck-reset','ck-pagination-view',..._0x249663['classList']]['join']('\x20');_0x15a1b5['element']['firstChild'];)_0x15a1b5['element']['firstChild']['remove']();const _0x5c1a61=Array['from'](_0x302d84['domRoots']);_0x5c1a61['sort'](([,_0x1353a9],[,_0x4fa16b])=>_0x1353a9['compareDocumentPosition'](_0x4fa16b)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x51577c,_0x23c402]of _0x5c1a61){const _0x57fe20=_0x23c402['cloneNode'](!0x0);'attributeStyleMap'in _0x57fe20&&_0x57fe20['attributeStyleMap']['clear'](),_0x57fe20['className']='',_0x57fe20['removeAttribute']('id'),_0x57fe20['dataset']['rootName']=_0x51577c,_0x15a1b5['element']['append'](_0x57fe20);}return function(_0x931458){return Promise['all'](_0x931458['map'](_0x6541b9=>Promise['race']([p(_0x6541b9),y(0x3e8)])));}(Array['from'](_0x15a1b5['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x266e94=this['_pagesContainer']['element'];if(!_0x266e94['ownerDocument']['body']['contains'](_0x266e94))return;const _0x3241f7=new _0x36405f(_0x266e94)['excludeScrollbarsAndBorders'](),_0x23d2ba=_0x590527['window']['getComputedStyle'](_0x266e94),_0x1a661e=parseFloat(_0x23d2ba['paddingLeft'])+parseFloat(_0x23d2ba['paddingRight']),_0xcb52fa=Math['floor'](_0x3241f7['width']+0x64-_0x1a661e),_0x4b3ce2=x(_0x266e94,Math['floor'](_0x3241f7['left']-_0x266e94['scrollLeft']),_0xcb52fa,_0x3241f7['height'])['map'](_0xed50e6=>this['_mapPageStarterInfoToPageBreakInfo'](_0xed50e6));_0x4b3ce2['every'](_0x42048b=>!!_0x42048b)&&(this['pageBreaks']=_0x4b3ce2);}['_mapPageStarterInfoToPageBreakInfo'](_0x1d6744){const _0x2ccb30=this['editor']['editing']['view'],_0x3958f1=this['editor']['editing']['mapper'],_0xfe9fa0=_0x2ccb30['domConverter'],_0x460b32=_0x1d6744['path']['shift'](),_0x53d59f=this['_pagesContainer']['element']['childNodes'][_0x460b32]['dataset']['rootName'],_0x586613=_0x2ccb30['getDomRoot'](_0x53d59f);if(!_0x586613)return null;const _0x3243bc=function(_0x5eae41,_0x433832){let _0x4338e0=_0x5eae41;for(const _0x3966b2 of _0x433832['path']){if(!_0x4338e0)return null;_0x4338e0=_0x4338e0['childNodes'][_0x3966b2];}return _0x4338e0;}(_0x586613,_0x1d6744);if(!_0x3243bc)return null;const _0x1c2ad1=_0xfe9fa0['domPositionToView'](_0x3243bc,_0x1d6744['textOffset']||0x0);return _0x1c2ad1?'manual'==_0x1d6744['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc):'text'==_0x1d6744['type']&&_0x3958f1['toModelPosition'](_0x1c2ad1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc,_0x1d6744['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc,_0x1d6744['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x54a85b,_0x2f2bac){const _0x4daa6e=this['editor']['model'],_0x2a6eb2=this['editor']['editing']['mapper']['toModelElement'](_0x54a85b['parent']),_0x3e4aa6=_0x4daa6e['createRangeOn'](_0x2a6eb2);return new K({'type':'manual','modelRange':_0x3e4aa6,'domNode':_0x2f2bac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x501e98,_0x578894,_0x799270){const _0x18693b=this['editor']['model'],_0xcd60f9=this['editor']['editing']['mapper'],_0x11ca5d=this['editor']['editing']['view']['domConverter'];if(_0x799270>=_0x578894['length'])return null;const _0x4d519d=_0xcd60f9['toModelPosition'](_0x501e98),_0x2fbec5=_0x18693b['createRange'](_0x4d519d),_0x46d7b4=_0xcd60f9['findMappedViewAncestor'](_0x501e98),_0xb1d0c9=_0x11ca5d['mapViewToDom'](_0x46d7b4);return new K({'type':'text','modelRange':_0x2fbec5,'domNode':_0x578894,'offset':m(_0x578894,_0x799270,_0xb1d0c9)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f79a2,_0x4452b0,_0x3b52f4){const _0x324349=this['editor']['model'],_0x4ae83e=this['editor']['editing'],_0x278cad=_0x4ae83e['mapper'],_0x541a97=_0x4ae83e['view']['domConverter'],_0x4bf064=_0x278cad['findMappedViewAncestor'](_0x1f79a2),_0x301ae6=_0x278cad['toModelElement'](_0x4bf064),_0x18a6bc=function(_0x4a25ce){const _0xd9764a=_0x4a25ce['parent'],_0x165486=_0xd9764a['root']['document']['model'],_0x4e793b=_0xd9764a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xc0d342=null;for(const _0x22c477 of _0x4e793b){if(_0x22c477['is']('rootElement'))return _0xc0d342;if(!_0x165486['createPositionBefore'](_0x22c477)['isTouching'](_0x4a25ce))return _0xc0d342;_0xc0d342=_0x22c477;}}(_0x324349['createPositionBefore'](_0x301ae6)),_0x2cbae2=_0x18a6bc||_0x301ae6;let _0x2dd296=_0x278cad['toViewElement'](_0x2cbae2),_0x1724e0=_0x324349['createRangeOn'](_0x2cbae2);const _0x5ca4a6=_0x324349['createPositionBefore'](_0x2cbae2)['nodeBefore'];if(_0x5ca4a6&&_0x5ca4a6['is']('element','imageBlock')){const _0x266c37=_0x278cad['toViewElement'](_0x5ca4a6),_0xd4912d=_0x541a97['mapViewToDom'](_0x266c37),_0x29073b=_0x590527['window']['getComputedStyle'](_0xd4912d)['float'];'left'!=_0x29073b&&'right'!=_0x29073b||(_0x1724e0=_0x324349['createRangeOn'](_0x5ca4a6));}for(;_0x2dd296['parent']!==_0x2dd296['root']&&0x0===_0x2dd296['index'];)_0x2dd296=_0x2dd296['parent'];const _0xc14d37=new _0x36405f(S(_0x4452b0)?_0x4452b0:P(_0x4452b0)),_0x19d705=_0x3b52f4?_0xc14d37['height']-_0x3b52f4:0x0,_0x451045=_0x541a97['mapViewToDom'](_0x2dd296),_0x537ec8=new _0x36405f(_0x451045);return new K({'type':'element','modelRange':_0x1724e0,'domNode':_0x451045,'offset':Math['round'](_0x19d705)?_0x19d705+_0xc14d37['top']-_0x537ec8['top']:0x0});}get['_configuredPaddings'](){const _0x54ef32=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x54ef32);}static['_findPageStarterInfos'](_0x3185ec,_0x5c67f8,_0x581087,_0x4cbf6b,_0x180f32){return x(_0x3185ec,_0x5c67f8,_0x581087,_0x4cbf6b,_0x180f32);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x38239a,modelRange:_0x1a8a4d,domNode:_0x636475,offset:_0x3bcdf5}){this['type']=_0x38239a,this['modelRange']=_0x1a8a4d,this['_domNode']=_0x636475,this['_offset']=_0x3bcdf5;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xd7cb36=new _0x36405f(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0xd7cb36['top']+_0xd7cb36['height']/0x2:_0xd7cb36['top']+this['_offset'];}}function m(_0x59b101,_0x374e61,_0xa703a9){const _0x524839=P(_0x59b101),_0x30f366=function(_0x49fe53){const _0x301d38=_0x590527['document']['createRange']();return _0x301d38['selectNodeContents'](_0x49fe53),_0x301d38;}(_0xa703a9);let _0x9c04e2;_0x9c04e2=0x0==_0x374e61?b(_0x30f366['startContainer'],_0x30f366['startOffset'],_0x59b101['parentNode'],Array['from'](_0x59b101['parentNode']['childNodes'])['indexOf'](_0x59b101)):b(_0x30f366['startContainer'],_0x30f366['startOffset'],_0x59b101,_0x374e61);const _0x2ab9f8=b(_0x59b101,_0x374e61,_0x30f366['endContainer'],_0x30f366['endOffset']),_0x476815=new _0x36405f(_0x9c04e2)['bottom'];return(new _0x36405f(_0x2ab9f8)['top']+_0x476815)/0x2-new _0x36405f(_0x524839)['top'];}function p(_0x251a3e){return _0x251a3e['hasAttribute']('width')&&_0x251a3e['hasAttribute']('height')?Promise['resolve']():new Promise(_0x193425=>{function _0x40f722(){_0x251a3e['removeEventListener']('load',_0x40f722),_0x251a3e['removeEventListener']('error',_0x40f722),_0x193425();}_0x251a3e['complete']?_0x193425():(_0x251a3e['addEventListener']('load',_0x40f722),_0x251a3e['addEventListener']('error',_0x40f722));});}function y(_0x3a2515){return new Promise(_0x2a2e93=>setTimeout(_0x2a2e93,_0x3a2515));}function P(_0x39ee6f){const _0x583571=_0x590527['document']['createRange']();return _0x583571['selectNode'](_0x39ee6f),_0x583571;}function k(_0x35a940,_0x1a2df8,_0x123e98){const _0x5a726d=_0x590527['document']['createRange']();return _0x5a726d['setStart'](_0x35a940,_0x1a2df8),_0x5a726d['setEnd'](_0x35a940,_0x123e98),_0x5a726d;}function b(_0x411120,_0x38bde3,_0x431e67,_0x4cb822){const _0x152ee0=_0x590527['document']['createRange']();return _0x152ee0['setStart'](_0x411120,_0x38bde3),_0x152ee0['setEnd'](_0x431e67,_0x4cb822),_0x152ee0;}function x(_0x59b5a6,_0x3e3ce2,_0xe64d24,_0x2ad8dd,_0x3a1f38){const _0x529acd=[];for(const [_0x5e8331,_0x4d61ec]of _0x59b5a6['childNodes']['entries']()){let _0x462219=[];S(_0x4d61ec)&&_0x4d61ec['offsetParent']&&!_0x4d61ec['style']['position']?_0x462219=_(_0x4d61ec,_0x5e8331,_0x3e3ce2,_0xe64d24,_0x2ad8dd,_0x3a1f38):R(_0x4d61ec)&&(_0x462219=B(_0x4d61ec,_0x5e8331,_0x3e3ce2,_0xe64d24,_0x3a1f38)),_0x462219['length']&&(_0x529acd['push'](..._0x462219),_0x3e3ce2+=_0x462219['length']*_0xe64d24,_0x3a1f38=!0x1);}return _0x529acd;}function _(_0x3674fe,_0x53a314,_0x26f9cb,_0x4c6d3c,_0xb441b6,_0x5efe0a){const _0x39ec6a=[];var _0x7e50b5;if((_0x7e50b5=_0x3674fe['previousSibling'])&&S(_0x7e50b5)&&Boolean(_0x7e50b5['classList']['contains']('page-break')||_0x7e50b5['closest']('.page-break'))&&(_0x39ec6a['push']({'type':'manual','offset':0x0,'path':[_0x53a314-0x1]}),_0x5efe0a=!0x0),'table-row'==_0x590527['window']['getComputedStyle'](_0x3674fe)['display']){let _0x48619c=0x0,_0x474949=!0x1;for(const _0x4ca8b2 of _0x3674fe['getClientRects']())_0x48619c+=_0x4ca8b2['height'],_0x4ca8b2['left']>=_0x26f9cb&&(_0x474949=!0x0);if(_0x48619c<_0xb441b6&&_0x474949)return _0x39ec6a['push']({'type':'element','offset':0x0,'path':[_0x53a314]}),_0x39ec6a;}const _0x300186=_0x3674fe['closest']('figure.image');if(_0x300186&&function(_0x55ef05){let _0x5e99af=!0x1;const _0x14afac=_0x55ef05['parentElement'],_0x391053=_0x14afac['dataset']['rootName'],_0x41e232=_0x55ef05['nextElementSibling'],_0x595f72=_0x55ef05['previousElementSibling'],_0x3dd969=_0x41e232&&_0x590527['window']['getComputedStyle'](_0x41e232)['float'],_0x2d3a24=_0x41e232&&'ck-fake-selection-container'===_0x41e232['className'];!_0x391053||_0x41e232||_0x595f72||(_0x5e99af=!0x0),_0x391053&&!_0x595f72&&_0x2d3a24&&(_0x5e99af=!0x0),_0x391053&&!_0x595f72&&'none'!==_0x3dd969&&(_0x5e99af=!0x0);if(_0x5e99af)return!0x1;return!0x0;}(_0x300186)){const _0xdabb5f=_0x590527['window']['getComputedStyle'](_0x300186)['float'];if('left'==_0xdabb5f||'right'==_0xdabb5f)return _0x39ec6a;}const _0x2ecf2f=x(_0x3674fe,_0x26f9cb,_0x4c6d3c,_0xb441b6,_0x5efe0a);if(_0x2ecf2f['length']){for(const _0x508404 of _0x2ecf2f)_0x39ec6a['push']({'type':_0x508404['type'],'offset':_0x508404['offset'],'textOffset':_0x508404['textOffset'],'path':[_0x53a314,..._0x508404['path']]}),_0x26f9cb+=_0x4c6d3c,_0x5efe0a=!0x1;return _0x39ec6a;}return _0x39ec6a['push'](...function(_0x22baaa,_0x20b31b,_0x58d929,_0x2220c5,_0x8ad8f8){const _0x491e8d=[];if('table-cell'==_0x590527['window']['getComputedStyle'](_0x22baaa)['display'])return[];const _0x3e89dd=[];for(const _0x5a5b1e of _0x22baaa['getClientRects']())if(_0x5a5b1e['left']>=_0x58d929){for(const _0x41dc14 of _0x3e89dd)_0x41dc14['height']+=_0x5a5b1e['height'];_0x3e89dd['push']({'height':_0x5a5b1e['height']}),_0x58d929+=_0x2220c5;}for(const _0x1e67c3 of _0x3e89dd)_0x8ad8f8||_0x491e8d['push']({'type':'element','offset':_0x1e67c3['height'],'textOffset':0x0,'path':[_0x20b31b]}),_0x8ad8f8=!0x1;return _0x491e8d;}(_0x3674fe,_0x53a314,_0x26f9cb,_0x4c6d3c,_0x5efe0a)),_0x39ec6a;}function B(_0x183e84,_0x53aafd,_0x1df075,_0x19cffe,_0x81cc4c){const _0x10a6cd=P(_0x183e84),_0x12e86b=[];let _0x42f35a=0x0;for(const _0x52fd10 of _0x10a6cd['getClientRects']())if(_0x52fd10['left']>=_0x1df075){const _0x43a15b=I(_0x183e84,_0x42f35a,_0x1df075,_0x19cffe);_0x81cc4c||_0x12e86b['push']({'type':'text','path':[_0x53aafd],'textOffset':_0x43a15b}),_0x42f35a=_0x43a15b,_0x1df075+=_0x19cffe,_0x81cc4c=!0x1;}return _0x12e86b;}function I(_0x21a82b,_0x5d1203,_0x3dfe01,_0x55567e){let _0x8ac5c=_0x5d1203,_0x28637a=_0x21a82b['length'];for(;_0x28637a-_0x8ac5c>0x1;){const _0x3df7b9=Math['ceil']((_0x8ac5c+_0x28637a)/0x2);N(k(_0x21a82b,_0x8ac5c,_0x3df7b9),_0x3dfe01,_0x55567e)?_0x28637a=_0x3df7b9:_0x8ac5c=_0x3df7b9;}return _0x8ac5c;}function N(_0x3472fa,_0x180b1f,_0x4bbcc8){for(const _0x49af05 of _0x3472fa['getClientRects']())if(_0x49af05['left']>=_0x180b1f&&_0x49af05['left']<_0x180b1f+_0x4bbcc8)return!0x0;return!0x1;}function S(_0x4da757){return _0x4da757['nodeType']==Node['ELEMENT_NODE'];}function R(_0x141757){return _0x141757['nodeType']==Node['TEXT_NODE'];}const z=_0x4a562f('px');class V extends _0x1b7490{constructor(){super();const _0x3263e5=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x3263e5['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x3263e5['if']('isVisible','ck-hidden',_0x2aa4f7=>!_0x2aa4f7)],'style':{'left':_0x3263e5['to']('left',_0x1fa238=>z(_0x1fa238)),'top':_0x3263e5['to']('top',_0x24b942=>z(_0x24b942)),'width':_0x3263e5['to']('width',_0x90fe53=>z(_0x90fe53))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x55698b){this['_viewCollection']=_0x55698b['ui']['view']['body'];}['destroy'](){for(const _0xd500ea of this['_hiddenLines'])_0xd500ea['destroy']();}['cleanLines'](){for(const _0x2be6d5 of this['_visibleLines'])_0x2be6d5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2be6d5);this['_visibleLines']['clear']();}['showLine'](_0x5438d4,_0x158a57,_0x349594,_0x1cc888){let _0x52af43;this['_hiddenLines']['size']?(_0x52af43=_0xe8085d(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x52af43)):_0x52af43=new V(),_0x52af43['set']({'pageNumber':_0x1cc888,'left':_0x5438d4,'top':_0x158a57,'width':_0x349594}),_0x52af43['isVisible']=!0x0,this['_viewCollection']['has'](_0x52af43)||this['_viewCollection']['add'](_0x52af43),this['_visibleLines']['add'](_0x52af43);}['setViewCollection'](_0x52a9ce){for(const _0x83db66 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x83db66)&&this['_viewCollection']['remove'](_0x83db66);this['_viewCollection']=_0x52a9ce;}}const L='ck-pagination_enabled';class c extends _0x289705{['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',(_0x1bc053,_0x5256b3,_0x343d89)=>{_0x343d89||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x343d89);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5b43dd){if(!this['isEnabled'])return;const _0x5de26c=_0x5b43dd>0x1?this['_getPageBreakLineOffset'](_0x5b43dd-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5de26c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0xa89e22['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xf1d591=this['editor'],_0x1f740a=this['_getAttachedDomRoot']();_0x1f740a?(this['_scrollableEditingRootDomAncestor']&&_0xf1d591['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5fc551){let _0x8a80af=_0x5fc551;do{_0x8a80af=_0x8a80af['parentElement'];const _0x4b8692=_0x590527['window']['getComputedStyle'](_0x8a80af)['overflowY'];if('auto'==_0x4b8692||'scroll'==_0x4b8692)break;}while('BODY'!=_0x8a80af['tagName']);return _0x8a80af;}(_0x1f740a),_0xf1d591['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x47aa6c(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xf1d591['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x47cd58=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x47cd58['ui']['view']['listenTo'](_0x590527['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x47cd58['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5bc921 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5bc921['ownerDocument']['body']['contains'](_0x5bc921))return _0x5bc921;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x573421=this['_getAttachedDomRoot'](),_0x159f18=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x573421||0x1==_0x159f18['length'])return void(this['pageNumber']=0x1);const _0x4c02ce=new _0x36405f(_0x573421)['excludeScrollbarsAndBorders'](),_0x13563b=new _0x36405f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x33a8dd=_0x13563b['top']+_0x13563b['height']/0x3;let _0x16a78d=!0x1;const _0x5f41f6=[];for(let _0x25d84d=0x1;_0x25d84d<_0x159f18['length'];_0x25d84d++){const _0x5c69f7=this['_getPageBreakLineOffset'](_0x25d84d,_0x13563b);if(!_0x5c69f7)continue;const _0x2774c6=_0x13563b['top']+_0x5c69f7-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5f41f6['push']({'pageOffsetTop':_0x2774c6,'domRootRect':_0x4c02ce,'domScrollableRect':_0x13563b,'pageNumber':_0x25d84d}),_0x2774c6>_0x33a8dd&&!_0x16a78d&&(this['pageNumber']=_0x25d84d,_0x16a78d=!0x0);}this['_renderPageBreakLines'](_0x5f41f6),_0x16a78d||(this['pageNumber']=_0x159f18['length']);}['_renderPageBreakLines'](_0x542a4b){const {scrollX:_0x22a82a,scrollY:_0x255378}=_0x590527['window'];if(_0x542a4b['length']){for(const {domScrollableRect:_0x29e91e,pageOffsetTop:_0x18e9d7,domRootRect:_0x4c61dc,pageNumber:_0x3b3036}of _0x542a4b)_0x29e91e['top']<_0x18e9d7&&_0x18e9d7<_0x29e91e['bottom']&&this['linesRepository']['showLine'](_0x4c61dc['left']+_0x22a82a,_0x18e9d7+_0x255378,_0x4c61dc['width'],_0x3b3036+0x1);}}['_getPageBreakLineOffset'](_0x4d400a,_0xf39350=null){const _0x2d4686=this['_paginationLookupPlugin']['pageBreaks'][_0x4d400a]['offset'];return _0x2d4686?(_0xf39350||(_0xf39350=new _0x36405f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2d4686-_0xf39350['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1f6582,_0x98cfa9=!0x0){const _0x3a74dc=this['editor']['editing']['view'];_0x3a74dc['change'](_0x424628=>{for(const _0x3d9fb6 of _0x3a74dc['document']['roots'])_0x98cfa9?_0x424628['addClass'](_0x1f6582,_0x3d9fb6):_0x424628['removeClass'](_0x1f6582,_0x3d9fb6);});}}function g(_0x5d2eed,_0x12f691,..._0x5960c9){const t=_0x5d2eed['t'];switch(_0x12f691){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)',..._0x5960c9);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 _0x12f691;}}class s extends _0x289705{['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 _0x45f4b7=this['editor']['plugins']['get']('Pagination'),_0x3c2071=this['editor']['plugins']['get'](n),_0x3ad485=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x45f4b7),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3ad485),this['listenTo'](_0x3c2071,'change:pageBreaks',(_0x5f258d,_0x39571a,_0x3a8074,_0x4b9501)=>{this['totalPages']=_0x3a8074['length'],this['_updatePageBreakMarkers'](_0x3a8074,_0x4b9501);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13d066=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e993d;for(const _0x323321 in _0x13d066){const _0x52da7e=_0x323321,_0x307d8e=_0x13d066[_0x52da7e];if('paginationLicenseKeyValid'==_0x307d8e||'paginationLicenseKeyInvalid'==_0x307d8e||'paginationLicenseKeyExpired'==_0x307d8e||'paginationLicenseKeyDomainLimit'==_0x307d8e||'paginationLicenseKeyNotAllowed'==_0x307d8e||'paginationLicenseKeyEvaluationLimit'==_0x307d8e||'paginationLicenseKeyTrialLimit'==_0x307d8e||'paginationLicenseKeyUsageLimit'==_0x307d8e){delete _0x13d066[_0x52da7e],_0x1e993d=_0x307d8e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1e993d&&_0x13d066['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1e993d&&_0x13d066['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1e993d&&_0x13d066['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4c65a1){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x4c65a1));}['moveSelectionToPage'](_0x2ff2b3){if(!this['isEnabled'])return;const _0x5e4e06=this['editor'],_0x1200a9=this['editor']['plugins']['get'](n)['pageBreaks'][_0x2ff2b3-0x1];_0x1200a9&&_0x5e4e06['model']['change'](_0x5a1448=>{switch(_0x1200a9['type']){case'manual':{const _0x54567d=_0x5e4e06['model']['schema']['getNearestSelectionRange'](_0x1200a9['modelRange']['end'],'forward');_0x5a1448['setSelection'](_0x54567d);break;}case'element':{const _0xc14f68=_0x5e4e06['model']['schema']['getNearestSelectionRange'](_0x1200a9['modelRange']['start'],'forward');_0x5a1448['setSelection'](_0xc14f68);break;}case'text':{const _0x4b6de7=_0x1200a9['modelRange']['start'];if(_0x4b6de7['textNode']&&'\x20'===_0x4b6de7['textNode']['data'][_0x4b6de7['offset']]){const _0xd7815a=_0x5a1448['createPositionAt'](_0x4b6de7['parent'],_0x4b6de7['offset']+0x1);_0x5a1448['setSelection'](_0xd7815a);}else _0x5a1448['setSelection'](_0x1200a9['modelRange']);}}_0x5e4e06['editing']['view']['focus']();});}['goToNextPage'](){const _0x4a96ff=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4a96ff),this['scrollToPage'](_0x4a96ff);}['goToPreviousPage'](){const _0x4a4ba0=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4a4ba0),this['scrollToPage'](_0x4a4ba0);}['_updatePageBreakMarkers'](_0x14f7c8,_0x5e8775){const _0x549c0f=this['editor']['model'];this['isEnabled']&&_0x549c0f['change'](_0x3a6642=>{for(let _0x8d8355=0x1;_0x8d8355<_0x14f7c8['length'];_0x8d8355++){const _0x39b3f4=_0x14f7c8[_0x8d8355]['modelRange'],_0x453ba4='pagination:'+(_0x8d8355+0x1);_0x549c0f['markers']['has'](_0x453ba4)?_0x3a6642['updateMarker'](_0x453ba4,{'range':_0x39b3f4}):_0x3a6642['addMarker'](_0x453ba4,{'range':_0x39b3f4,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2187f0=_0x14f7c8['length'];_0x2187f0<_0x5e8775['length'];_0x2187f0++){const _0x1471f8='pagination:'+(_0x2187f0+0x1);_0x549c0f['markers']['has'](_0x1471f8)&&_0x3a6642['removeMarker'](_0x1471f8);}});}['_setUpDataDowncastConversion'](){const _0x414d54='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x55435d=>{_0x55435d['on']('addMarker:'+_0x414d54,(_0x39e7f2,{markerRange:_0x50db71,markerName:_0x5916f1},_0x3600fa)=>{if(!_0x3600fa['options']['pagination'])return;if(!_0x3600fa['consumable']['consume'](_0x50db71,_0x39e7f2['name']))return;const _0x1a00ad=_0x50db71['getContainedElement']();let _0x58466b=_0x1a00ad?_0x3600fa['mapper']['toViewElement'](_0x1a00ad):null;if(!_0x58466b){const _0x3f7368=_0x50db71['start'];if(_0x3600fa['schema']['checkChild'](_0x3f7368,'$text')){const _0x26639e=_0x3600fa['mapper']['toViewPosition'](_0x3f7368);_0x58466b=_0x3600fa['writer']['createContainerElement']('span'),_0x58466b['getFillerOffset']=()=>null,_0x3600fa['writer']['insert'](_0x26639e,_0x58466b);}else{const _0x40f701=_0x3f7368['nodeAfter'];_0x58466b=_0x3600fa['mapper']['toViewElement'](_0x40f701);}}for(;_0x58466b['parent']!==_0x58466b['root']&&0x0===_0x58466b['index'];)_0x58466b=_0x58466b['parent'];const _0x4ee242=_0x5916f1['substring'](0xb);_0x58466b['hasClass']('page-break')||(_0x3600fa['writer']['setStyle']('page-break-before','always',_0x58466b),_0x3600fa['writer']['setAttribute']('data-pagination-page',_0x4ee242,_0x58466b),_0x3600fa['mapper']['bindElementToMarker'](_0x58466b,_0x5916f1)),_0x39e7f2['stop']();});});}['_setupKeystrokes'](){const _0x59639a=this['editor'];_0x59639a['keystrokes']['set']('Shift+Pageup',(_0x1d6111,_0x151452)=>{this['goToPreviousPage'](),_0x151452();}),_0x59639a['keystrokes']['set']('Shift+Pagedown',(_0x174b51,_0x2b2fe6)=>{this['goToNextPage'](),_0x2b2fe6();}),_0x59639a['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x59639a['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x59639a['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x59639a['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x134b7e){return _0x134b7e<0x1&&(_0x134b7e=0x1),_0x134b7e>this['totalPages']&&(_0x134b7e=this['totalPages']),_0x134b7e;}}class U extends _0x1b7490{['pageNumberView'];constructor(_0x186c5c){super(_0x186c5c);const _0x3bfd03=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3b0835(_0x186c5c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x38f073=>g(_0x186c5c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x38f073)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x43e6c9=>!_0x43e6c9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3bfd03['if']('isEnabled','ck-disabled',_0x3fc5ac=>!_0x3fc5ac)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3bfd03['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2afbd0=this['pageNumberView']['element'],_0x21ecea=_0x18d325=>{this['pageNumberView']['element']['value']=String(_0x18d325);};_0x21ecea(this['pageNumber']),this['on']('change:pageNumber',(_0x3c46ff,_0x1c7167,_0x120672)=>{_0x21ecea(_0x120672);}),this['listenTo'](_0x2afbd0,'keydown',(_0x20217d,_0x8b6ef7)=>{if('ArrowUp'===_0x8b6ef7['key']||'ArrowDown'===_0x8b6ef7['key'])return void _0x8b6ef7['stopPropagation']();if(_0x8b6ef7['keyCode']!==_0x12ac1c['enter'])return;_0x8b6ef7['preventDefault']();const _0x230663=_0x2afbd0['valueAsNumber'];Number['isNaN'](_0x230663)?_0x2afbd0['value']=String(this['pageNumber']):(_0x2afbd0['checkValidity']()?this['pageNumber']=_0x230663:_0x230663>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2afbd0['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2afbd0['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2afbd0,'blur',()=>{_0x2afbd0['value']=String(this['pageNumber']);}),this['listenTo'](_0x2afbd0,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x289705{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58849a=this['editor'],_0x2722c3=_0x58849a['plugins']['get']('PaginationEditing');_0x58849a['ui']['componentFactory']['add']('pageNavigation',_0x4f95d5=>{const _0x52d371=new U(_0x4f95d5);return _0x52d371['bind']('pageNumber')['to'](_0x2722c3),_0x52d371['bind']('totalPages')['to'](_0x2722c3),_0x52d371['bind']('isEnabled')['to'](_0x2722c3),_0x52d371['on']('navigation',(_0x5bc8ce,_0x1dc07a)=>{_0x2722c3['moveSelectionToPage'](_0x1dc07a),_0x2722c3['scrollToPage'](_0x1dc07a);}),_0x52d371;}),_0x58849a['ui']['componentFactory']['add']('nextPage',_0x4e21b9=>{const _0x3b3e28=new _0x30f83c(_0x4e21b9);return _0x3b3e28['isEnabled']=!0x0,_0x3b3e28['label']=g(_0x58849a['locale'],'Go\x20to\x20next\x20page'),_0x3b3e28['icon']=_0x98a283,_0x3b3e28['tooltip']=!0x0,_0x3b3e28['keystroke']='Shift+PageDown',_0x3b3e28['bind']('isEnabled')['to'](_0x2722c3),this['listenTo'](_0x3b3e28,'execute',()=>{_0x2722c3['goToNextPage']();}),_0x3b3e28;}),_0x58849a['ui']['componentFactory']['add']('previousPage',_0x5bd078=>{const _0x27d4e9=new _0x30f83c(_0x5bd078);return _0x27d4e9['isEnabled']=!0x0,_0x27d4e9['label']=g(_0x58849a['locale'],'Go\x20to\x20previous\x20page'),_0x27d4e9['icon']=_0x4bc93a,_0x27d4e9['tooltip']=!0x0,_0x27d4e9['keystroke']='Shift+PageUp',_0x27d4e9['bind']('isEnabled')['to'](_0x2722c3),this['listenTo'](_0x27d4e9,'execute',()=>{_0x2722c3['goToPreviousPage']();}),_0x27d4e9;});}}class a extends _0x289705{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x16d3aa){super(_0x16d3aa),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x268c8e=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x268c8e),this['bind']('totalPages')['to'](_0x268c8e),_0xa89e22['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4e8edd){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4e8edd);}}export{a as Pagination,c as PaginationRenderer};
|