@ckeditor/ckeditor5-pagination 45.0.0-alpha.2 → 45.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +1 -1
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>z});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=m;!function(t){const e=m,n=t();for(;;)try{if(171515===parseInt(e(204))/1+-parseInt(e(154))/2+parseInt(e(169))/3+parseInt(e(221))/4*(-parseInt(e(155))/5)+-parseInt(e(333))/6*(-parseInt(e(228))/7)+parseInt(e(197))/8+-parseInt(e(259))/9*(parseInt(e(339))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(d);class a extends t.Plugin{[r(184)]=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(322)]()),200);[r(163)]=null;static get[r(296)](){return r(315)}static get[r(179)](){return!0}static get[r(216)](){return!0}[r(310)](){const t=r;if(this[t(319)]({pageBreaks:[]}),!this[t(186)][t(321)][t(230)](t(299)))return void(0,o.logWarning)(t(303),this[t(186)][t(321)]);const e=this[t(186)][t(165)][t(230)](t(280));this[t(166)](t(293)).to(e),this[t(186)].ui[t(242)](t(240),(()=>this[t(185)]())),this.on(t(254),((e,n,i)=>{i&&this[t(184)]()}))}[r(205)](){!async function(t){const e=g([80,75,97,104,76,51,70,78,102,52,87,99,119,73,86,107,55,49,57,56,82,48,65,117,67,54,122,98,101,74,90,118,66,121,106,120,85,113,100,89,115,108,81,111,116,112,88,110,83,103,71,84,53,79,69,114,77,109,105,68,72,50]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])((t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)})),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[g([116,104,101,110])]((()=>new(window[g([80,114,111,109,105,115,101])])((t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())}))}))))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])]((()=>t))}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=m;return t[e(344)]((t=>String[e(343)](t)))[e(309)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([80]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:174312e4;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=m,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(320)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(222)](){const t=r;super[t(222)](),this[t(163)]&&(this[t(184)][t(260)](),this[t(163)][t(222)](),this[t(163)][t(157)][t(201)]())}[r(185)](){const t=r,n=this[t(186)],i=n[t(231)][t(312)],o=this[t(187)]();if(!o||0===o[t(298)])return void n.ui[t(242)](t(167),(()=>this[t(185)]()));const{pageWidth:s,pageHeight:a}=n[t(321)][t(230)](t(299)),{top:c,left:u,bottom:l,right:p}=this[t(265)];this[t(163)]=new e.View(n[t(276)]);const f=this[t(163)];f[t(319)](t(189),""),f[t(182)]({tag:t(178),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(250)+a+t(326)+c+t(326)+l+" )",minWidth:t(253),minHeight:t(253),padding:"0 "+p+t(235)+u,columnGap:t(324),border:0,boxSizing:t(190),columnCount:t(253),columnFill:t(253),overflow:t(220),position:t(206),top:t(313),left:t(313)},tabindex:"-1",class:f[t(262)].to(t(189))}}),f[t(238)](),o[t(176)][t(263)](f[t(157)],o[t(285)]),this[t(212)](i,t(238),(()=>this[t(184)]()),{priority:t(274)}),this[t(184)]()}[r(187)](){const t=r;for(const e of this[t(186)][t(231)][t(312)][t(219)][t(252)]())if(e[t(267)][t(199)][t(325)](e))return e;return null}[r(322)](){const t=r;if(!this[t(293)])return Promise[t(236)]();const e=this[t(186)][t(231)][t(312)],n=this[t(163)],i=this[t(187)]();if(!i)return Promise[t(236)]();for(n[t(189)]=[t(162),t(193),...i[t(307)]][t(309)](" ");n[t(157)][t(214)];)n[t(157)][t(214)][t(201)]();const o=Array[t(213)](e[t(219)]);o[t(158)]((([,e],[,n])=>e[t(300)](n)==Node[t(218)]?1:-1));for(const[e,i]of o){const o=i[t(243)](!0);t(289)in o&&o[t(289)][t(156)](),o[t(306)]="",o[t(226)]("id"),o[t(277)][t(311)]=e,n[t(157)][t(153)](o)}return function(e){const n=t;return Promise[n(246)](e[n(344)]((t=>{return Promise[n(340)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(213)](n[t(157)][t(239)](t(196))))[t(224)]((()=>this[t(174)]()))}[r(174)](){const t=r,e=this[t(163)][t(157)];if(!e[t(267)][t(199)][t(325)](e))return;const n=new o.Rect(e)[t(286)](),i=o.global[t(247)][t(316)](e),s=parseFloat(i[t(234)])+parseFloat(i[t(271)]),a=Math[t(335)](n[t(264)]+100-s),c=g(e,Math[t(335)](n[t(159)]-e[t(336)]),a,n[t(288)])[t(344)]((e=>this[t(225)](e)));c[t(198)]((t=>!!t))&&(this[t(338)]=c)}[r(225)](t){const e=r,n=this[e(186)][e(231)][e(312)],i=this[e(186)][e(231)][e(249)],o=n[e(195)],s=t[e(270)][e(202)](),a=this[e(163)][e(157)][e(278)][s][e(277)][e(311)],c=n[e(279)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(270)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(329)](u,t[e(266)]||0);return l?e(227)==t[e(337)]?this[e(203)](l,u):e(170)==t[e(337)]&&i[e(177)](l)[e(297)]?this[e(241)](l,u,t[e(266)]):this[e(251)](l,u,t[e(297)]):null}[r(203)](t,e){const n=r,i=this[n(186)][n(194)],o=this[n(186)][n(231)][n(249)][n(161)](t[n(192)]),s=i[n(215)](o);return new c({type:n(227),modelRange:s,domNode:e,offset:0})}[r(241)](t,e,n){const i=r,o=this[i(186)][i(194)],s=this[i(186)][i(231)][i(249)],a=this[i(186)][i(231)][i(312)][i(195)];if(n>=e[i(295)])return null;const l=s[i(177)](t),p=o[i(172)](l),f=s[i(255)](t),h=a[i(323)](f);return new c({type:i(170),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(251)](t,e,n){const i=r,s=this[i(186)][i(194)],a=this[i(186)][i(231)],u=a[i(249)],l=a[i(312)][i(195)],f=u[i(255)](t),h=u[i(161)](f),d=function(t){const e=i,n=t[e(192)],o=n[e(209)][e(173)][e(194)],s=n[e(308)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(327)))return r;if(!o[e(273)](n)[e(200)](t))return r;r=n}}(s[i(273)](h))||h;let g=u[i(314)](d),m=s[i(215)](d);const b=s[i(273)](d)[i(256)];if(b&&b.is(i(157),i(248))){const t=u[i(314)](b),e=l[i(323)](t),n=o.global[i(247)][i(316)](e)[i(282)];i(159)!=n&&i(342)!=n||(m=s[i(215)](b))}for(;g[i(192)]!==g[i(209)]&&0===g[i(168)];)g=g[i(192)];const w=new o.Rect(y(e)?e:p(e)),v=n?w[i(288)]-n:0,k=l[i(323)](g),I=new o.Rect(k);return new c({type:i(157),modelRange:m,domNode:k,offset:Math[i(341)](v)?v+w[i(160)]-I[i(160)]:0})}get[r(265)](){const t=r,e=this[t(186)][t(321)][t(230)](t(334));return Object[t(292)]({top:t(211),bottom:t(211),left:t(211),right:t(211)},e)}static[r(207)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(337)];[r(188)];[r(304)];[r(191)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(337)]=t,this[o(188)]=e,this[o(304)]=n,this[o(191)]=i}get[r(297)](){const t=r;if(!this[t(304)][t(267)][t(199)][t(325)](this[t(304)]))return 0;const e=new o.Rect(y(this[t(304)])?this[t(304)]:p(this[t(304)]));return t(227)==this[t(337)]?e[t(160)]+e[t(288)]/2:e[t(160)]+this[t(191)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=m,n=o.global[e(173)][e(172)]();return n[e(245)](t),n}(n);let c;c=0==e?h(a[i(181)],a[i(257)],t[i(176)],Array[i(213)](t[i(176)][i(278)])[i(291)](t)):h(a[i(181)],a[i(257)],t,e);const u=h(t,e,a[i(261)],a[i(180)]),l=new o.Rect(c)[i(217)];return(new o.Rect(u)[i(160)]+l)/2-new o.Rect(s)[i(160)]}function l(t){const e=r;return t[e(283)](e(264))&&t[e(283)](e(288))?Promise[e(236)]():new Promise((n=>{const i=e;function o(){const e=m;t[e(237)](e(232),o),t[e(237)](e(332),o),n()}t[i(294)]?n():(t[i(317)](i(232),o),t[i(317)](i(332),o))}))}function p(t){const e=r,n=o.global[e(173)][e(172)]();return n[e(301)](t),n}function f(t,e,n){const i=r,s=o.global[i(173)][i(172)]();return s[i(210)](t,e),s[i(223)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(173)][s(172)]();return a[s(210)](t,e),a[s(223)](n,i),a}function d(){const t=["10mm","listenTo","from","firstChild","createRangeOn","isPremiumPlugin","bottom","DOCUMENT_POSITION_PRECEDING","domRoots","hidden","8WxFskM","destroy","setEnd","then","_mapPageStarterInfoToPageBreakInfo","removeAttribute","manual","2207989GQmVys","ELEMENT_NODE","get","editing","load","parentElement","paddingLeft"," 0 ","resolve","removeEventListener","render","querySelectorAll","ready","_mapTextPageStarterInfoToPageBreakInfo","once","cloneNode","nextElementSibling","selectNodeContents","all","window","imageBlock","mapper","calc( ","_mapElementPageStarterInfoToPageBreakInfo","values","auto","change:isEnabled","findMappedViewAncestor","nodeBefore","startOffset","page-break","81nDlquf","cancel","endContainer","bindTemplate","insertBefore","width","_configuredPaddings","textOffset","ownerDocument","entries",".page-break","path","paddingRight","previousElementSibling","createPositionBefore","low","closest","locale","dataset","childNodes","getDomRoot","PaginationEditing","table-cell","float","hasAttribute","figure.image","nextSibling","excludeScrollbarsAndBorders","display","height","attributeStyleMap","none","indexOf","assign","isEnabled","complete","length","pluginName","offset","childElementCount","pagination","compareDocumentPosition","selectNode","TEXT_NODE","pagination-config-not-found","_domNode","ceil","className","classList","getAncestors","join","init","rootName","view","-99999px","toViewElement","PaginationLookup","getComputedStyle","addEventListener","position","set","href","config","_recalculatePageBreaks","mapViewToDom","100px","contains"," - ","rootElement","previousSibling","domPositionToView","ck-fake-selection-container","push","error","6prhtqA","pagination.pageMargins","floor","scrollLeft","type","pageBreaks","154750PBvFnC","race","round","right","fromCharCode","map","append","178882YwWXyP","849380OTZPRk","clear","element","sort","left","top","toModelElement","ck-reset","_pagesContainer","style","plugins","bind","update","index","308091XqYcRO","text","nodeType","createRange","document","_updatePageBreaksData","getClientRects","parentNode","toModelPosition","div","isOfficialPlugin","endOffset","startContainer","setTemplate","offsetParent","_recalculatePageBreaksDebounced","_onUiReady","editor","_getAttachedDomRoot","modelRange","class","border-box","_offset","parent","ck-pagination-view","model","domConverter","img","1095304wViIWN","every","body","isTouching","remove","shift","_mapManualPageStarterInfoToPageBreakInfo","184946vtbjlp","afterInit","absolute","_findPageStarterInfos","table-row","root","setStart"];return(d=function(){return t})()}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(278)][s(268)]()){let t=[];y(c)&&c[s(183)]&&!c[s(164)][s(318)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(295)]&&(a[s(331)](...t),e+=t[s(295)]*n,o=!1)}return a}function m(t,e){const n=d();return(m=function(t,e){return n[t-=153]})(t,e)}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(328)])&&y(l)&&Boolean(l[c(307)][c(325)](c(258))||l[c(275)](c(269)))&&(u[c(331)]({type:c(227),offset:0,path:[e-1]}),a=!0),c(208)==o.global[c(247)][c(316)](t)[c(287)]){let i=0,o=!1;for(const e of t[c(175)]())i+=e[c(288)],e[c(159)]>=n&&(o=!0);if(i<s&&o)return u[c(331)]({type:c(157),offset:0,path:[e]}),u}const p=t[c(275)](c(284));if(p&&function(t){const e=c;let n=!1;const i=t[e(233)][e(277)][e(311)],s=t[e(244)],r=t[e(272)],a=s&&o.global[e(247)][e(316)](s)[e(282)],u=s&&e(330)===s[e(306)];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(247)][c(316)](p)[c(282)];if(c(159)==t||c(342)==t)return u}const f=g(t,n,i,s,a);if(f[c(295)]){for(const t of f)u[c(331)]({type:t[c(337)],offset:t[c(297)],textOffset:t[c(266)],path:[e,...t[c(270)]]}),n+=i,a=!1;return u}return u[c(331)](...function(t,e,n,i,s){const r=c,a=[];if(r(281)==o.global[r(247)][r(316)](t)[r(287)])return[];const u=[];for(const e of t[r(175)]())if(e[r(159)]>=n){for(const t of u)t[r(288)]+=e[r(288)];u[r(331)]({height:e[r(288)]}),n+=i}for(const t of u)s||a[r(331)]({type:r(157),offset:t[r(288)],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=p(t),c=[];let u=0;for(const r of a[s(175)]())if(r[s(159)]>=n){const r=v(t,u,n,i);o||c[s(331)]({type:s(170),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(295)];for(;a-s>1;){const e=Math[o(305)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(175)]())if(o[i(159)]>=e&&o[i(159)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(171)]==Node[e(229)]}function I(t){const e=r;return t[e(171)]==Node[e(302)]}var P=n(673),x=n.n(P),_=n(545),A=n.n(_),E=n(262),N=n.n(E),S=n(667),T=n.n(S),R=n(357),C=n.n(R),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=T(),L.insert=N().bind(null,"head"),L.domAPI=A(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function B(){const t=["ck-pagination-view-line","ck-hidden","left","242558Qcvosx","setTemplate","2097909ayzLSr","9660vKdnIS","7314835LehJEx","1165sFoSTm","bindTemplate","div","1521892AbJlIC","1JoNfhf","width","5179170CSyfmG","top","set","pageNumber","6RlrJpo","isVisible","2847784dbeMvh","14FdDGZx"];return(B=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(388884===-parseInt(e(379))/1*(parseInt(e(370))/2)+parseInt(e(385))/3*(parseInt(e(378))/4)+-parseInt(e(375))/5*(-parseInt(e(373))/6)+parseInt(e(388))/7*(-parseInt(e(387))/8)+parseInt(e(372))/9+parseInt(e(381))/10+-parseInt(e(374))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const M=(0,o.toUnit)("px");function D(t,e){const n=B();return(D=function(t,e){return n[t-=367]})(t,e)}class G extends e.View{constructor(){const t=D;super();const e=this[t(376)];this[t(383)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(371)]({tag:t(377),attributes:{"data-page-number":e.to(t(384)),class:["ck",t(367),e.if(t(386),t(368),(t=>!t))],style:{left:e.to(t(369),(t=>M(t))),top:e.to(t(382),(t=>M(t))),width:e.to(t(380),(t=>M(t)))}}})}}const K=j;function j(t,e){const n=q();return(j=function(t,e){return n[t-=313]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(445145===-parseInt(e(319))/1+-parseInt(e(337))/2+parseInt(e(330))/3+-parseInt(e(329))/4*(-parseInt(e(336))/5)+-parseInt(e(321))/6+-parseInt(e(313))/7*(parseInt(e(318))/8)+parseInt(e(316))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);class V{[K(327)];[K(314)]=new Set;[K(322)]=new Set;constructor(t){const e=K;this[e(327)]=t.ui[e(335)][e(331)]}[K(315)](){const t=K;for(const e of this[t(322)])e[t(315)]()}[K(320)](){const t=K;for(const e of this[t(314)])e[t(333)]=!1,this[t(322)][t(326)](e);this[t(314)][t(334)]()}[K(325)](t,e,n,i){const s=K;let r;this[s(322)][s(332)]?(r=(0,o.first)(this[s(322)][s(323)]()),this[s(322)][s(317)](r)):r=new G,r[s(338)]({pageNumber:i,left:t,top:e,width:n}),r[s(333)]=!0,this[s(327)][s(324)](r)||this[s(327)][s(326)](r),this[s(314)][s(326)](r)}[K(328)](t){this[K(327)]=t}}function q(){const t=["size","isVisible","clear","view","52805MCgMyi","1608962agiCfW","set","12019OTTdjH","_visibleLines","destroy","21441393TkpZOM","delete","3432lrkUNw","348630bmbsBc","cleanLines","3059190WqxILq","_hiddenLines","values","has","showLine","add","_viewCollection","setViewCollection","40lLWBGR","1070181qCyihl","body"];return(q=function(){return t})()}const F=Y;function Y(t,e){const n=U();return(Y=function(t,e){return n[t-=167]})(t,e)}function U(){const t=["showLine","_renderPageBreakLines","editor","_getPageBreakLineOffset","_onUiReady","BODY","pageNumber","change:pageBreaks","1833990whMrYY","domRoots","instant","length","height","631032jyMYPi","scrollLeft","bottom","ownerDocument","tagName","push","_updatePageBreakLines","stopListening","scroll","bind","document","auto","excludeScrollbarsAndBorders","get","PaginationEditing","set","plugins","PaginationLookup","addClass","cleanLines","view","roots","scrollTo","60WYlOkx","isOfficialPlugin","overflowY","2006331Eltdtr","offset","top","126cUYqqc","parentElement","_toggleEditingRootsClass","pageBreaks","change","ck-pagination_enabled","3069766lHyyAY","destroy","contains","pluginName","_paginationLookupPlugin","listenTo","body","linesRepository","getComputedStyle","smooth","336272xEhkZe","resize","width","ready","_resizeObserver","isPremiumPlugin","isEnabled","init","update","values","setupScrollableAncestor","left","77TjAEFy","editing","removeClass","scrollTop","169531tAcAgQ","_getAttachedDomRoot","window","scrollToPage","2EKOgBY","change:isEnabled","_scrollableEditingRootDomAncestor","PaginationRenderer","3917118OVHSEH","once","isMotionReduced"];return(U=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(596158===parseInt(e(244))/1*(-parseInt(e(248))/2)+parseInt(e(209))/3+parseInt(e(228))/4*(parseInt(e(206))/5)+-parseInt(e(167))/6+-parseInt(e(218))/7+-parseInt(e(183))/8*(parseInt(e(212))/9)+parseInt(e(178))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const W=F(217);class z extends t.Plugin{[F(225)];[F(250)]=null;[F(232)]=null;[F(222)];static get[F(221)](){return F(251)}static get[F(207)](){return!0}static get[F(233)](){return!0}[F(235)](){const t=F;this[t(198)]({pageNumber:1}),this[t(225)]=new V(this[t(172)]),this[t(250)]=null,this[t(232)]=null,this[t(222)]=this[t(172)][t(199)][t(196)](t(200)),this[t(192)](t(234)).to(this[t(172)][t(199)][t(196)](t(197))),this[t(172)].ui[t(168)](t(231),(()=>this[t(174)]())),this[t(214)](W),this.on(t(249),((e,n,i)=>{const o=t;i||this[o(225)][o(202)](),this[o(214)](W,i)}))}[F(219)](){const t=F;this[t(214)](W,!1),this[t(225)][t(219)](),this[t(250)]=null,this[t(232)]&&this[t(232)][t(219)]()}[F(247)](t){const e=F;if(!this[e(234)])return;const n=t>1?this[e(173)](t-1):0;this[e(250)][e(205)]({top:n-10,left:this[e(250)][e(184)],behavior:o.env[e(169)]?e(180):e(227)})}[F(238)](){const t=F,e=this[t(172)],n=this[t(245)]();n?(this[t(250)]&&e.ui[t(203)][t(190)](this[t(250)],t(191)),this[t(250)]=function(e){const n=t;let i=e;do{i=i[n(213)];const t=o.global[n(246)][n(226)](i)[n(208)];if(n(194)==t||n(191)==t)break}while(n(175)!=i[n(187)]);return i}(n),e.ui[t(203)][t(223)](this[t(250)],t(191),(()=>{this[t(189)]()}),{usePassive:!0}),this[t(232)]&&this[t(232)][t(219)](),this[t(232)]=new o.ResizeObserver(this[t(250)],(()=>{this[t(189)]()}))):e.ui[t(168)](t(236),(()=>this[t(238)]()))}[F(174)](){const t=F,e=this[t(172)];this[t(245)]()?(this[t(238)](),e.ui[t(203)][t(223)](o.global[t(246)],t(229),(()=>this[t(189)]())),this[t(223)](this[t(222)],t(177),(()=>this[t(189)]()))):e.ui[t(168)](t(236),(()=>this[t(174)]()))}[F(245)](){const t=F;for(const e of this[t(172)][t(241)][t(203)][t(179)][t(237)]())if(e[t(186)][t(224)][t(220)](e))return e;return null}[F(189)](){const t=F;if(!this[t(234)])return;const e=this[t(245)](),n=this[t(222)][t(215)];if(this[t(225)][t(202)](),!e||1==n[t(181)])return void(this[t(176)]=1);const i=new o.Rect(e)[t(195)](),s=new o.Rect(this[t(250)])[t(195)](),r=s[t(211)]+s[t(182)]/3;let a=!1;const c=[];for(let e=1;e<n[t(181)];e++){const n=this[t(173)](e,s);if(!n)continue;const o=s[t(211)]+n-this[t(250)][t(243)];c[t(188)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(176)]=e,a=!0)}this[t(171)](c),a||(this[t(176)]=n[t(181)])}[F(171)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(246)];if(t[e(181)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(211)]<s&&s<o[e(185)]&&this[e(225)][e(170)](r[e(239)]+n,s+i,r[e(230)],a+1)}[F(173)](t,e=null){const n=F,i=this[n(222)][n(215)][t][n(210)];return i?(e||(e=new o.Rect(this[n(250)])[n(195)]()),i-e[n(211)]+this[n(250)][n(243)]):0}[F(214)](t,e=!0){const n=F,i=this[n(172)][n(241)][n(203)];i[n(216)]((o=>{const s=n;for(const n of i[s(193)][s(204)])e?o[s(201)](t,n):o[s(242)](t,n)}))}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var H=n(761),X={attributes:{"data-cke":!0}};X.setAttributes=T(),X.insert=N().bind(null,"head"),X.domAPI=A(),X.insertStyleElement=C();x()(H.A,X);H.A&&H.A.locals&&H.A.locals;const Q=$;function Z(){const t=["invalid","plugins","change:pageBreaks","editing","moveSelectionToPage","element","380358qAlqcz","manual","end","consume","30QxLAlx","addMarker:","paginationLicenseKeyExpired","Keystrokes for navigating through documents","stop","keystrokes","isEnabled","forward","start","bind","429604pRTKol","Go to the previous page (also move selection)","markers","conversion","add","substring","_setUpDataDowncastConversion","schema","page-break","11673tnEhvf","hasClass","requires","Shift+Pageup","_setupKeystrokes","toViewElement","PaginationEditing","setSelection","addKeystrokeInfoGroup","modelRange","10yCAVnP","paginationLicenseKeyValid","focus","model","2540FJhmaj","paginationLicenseKeyTrialLimit","index","getContainedElement","insert","set","paginationLicenseKeyEvaluationLimit","expired","_showLicenseError","_updatePageBreakMarkers","parent","paginationLicenseKeyInvalid","totalPages","mapper","for","setAttribute","has","_licenseKeyCheckInterval","root","featureNotAllowed","offset","goToNextPage","locale","$text","addMarker","trialLimit","page-break-before","get","setStyle","name","span","67501HESxxt","destroy","paginationLicenseKeyNotAllowed","usageLimit","config","licenseKey","writer","2057072wlMYOO","goToPreviousPage","isPremiumPlugin","Shift+Pagedown","19647617uAFeQb","pagination","text","pagination:","bindElementToMarker","change","checkChild","nodeAfter","144435XuKoKX","updateMarker","accessibility","paginationLicenseKeyUsageLimit","init","toViewPosition","pluginName","evaluationLimit","getNearestSelectionRange","domainLimit","listenTo","type","Pagination","createPositionAt","getFillerOffset","editor","paginationLicenseKeyDomainLimit","dataDowncast","pageNumber","Go to the next page (also move selection)","createContainerElement","always","52bCpJFG","data","options","view","isOfficialPlugin","length","data-pagination-page","consumable","removeMarker","textNode","_validatePageNumber","pageBreaks","scrollToPage"];return(Z=function(){return t})()}function $(t,e){const n=Z();return($=function(t,e){return n[t-=428]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(306465===-parseInt(e(494))/1*(parseInt(e(459))/2)+parseInt(e(554))/3+parseInt(e(535))/4*(-parseInt(e(513))/5)+-parseInt(e(430))/6*(parseInt(e(440))/7)+-parseInt(e(501))/8+parseInt(e(449))/9*(-parseInt(e(463))/10)+parseInt(e(505))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[Q(499)];[Q(480)];static get[Q(519)](){return Q(455)}static get[Q(539)](){return!0}static get[Q(503)](){return!0}static get[Q(451)](){return[a,z]}[Q(517)](){const t=Q;this[t(468)]({pageNumber:1,totalPages:1});const e=this[t(528)][t(549)][t(490)](t(525)),n=this[t(528)][t(549)][t(490)](a),i=this[t(528)][t(549)][t(490)](z);this[t(439)](t(436)).to(e),this[t(446)](),this[t(439)](t(531)).to(i),this[t(523)](n,t(550),((e,n,i,o)=>{const s=t;this[s(475)]=i[s(540)],this[s(472)](i,o)})),this[t(453)](),this[t(499)]=this[t(528)][t(498)][t(490)](t(499));const o=this[t(528)];this[t(480)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(460)==s||e(474)==s||e(432)==s||e(529)==s||e(496)==s||e(469)==s||e(464)==s||e(516)==s){delete o[i],n=s,clearInterval(this[e(480)]),this[e(480)]=void 0;break}}e(474)==n&&o[e(471)](e(548)),e(432)==n&&o[e(471)](e(470)),e(529)==n&&o[e(471)](e(522)),e(496)==n&&o[e(471)](e(482),e(525)),e(469)==n&&o[e(471)](e(520)),e(464)==n&&o[e(471)](e(488)),e(516)==n&&o[e(471)](e(497))}),1e3)}[Q(495)](){const t=Q;super[t(495)](),this[t(480)]&&clearInterval(this[t(480)])}[Q(547)](t){const e=Q;this[e(436)]&&this[e(528)][e(549)][e(490)](z)[e(547)](this[e(545)](t))}[Q(552)](t){const e=Q;if(!this[e(436)])return;const n=this[e(528)],i=this[e(528)][e(549)][e(490)](a)[e(546)][t-1];i&&n[e(462)][e(510)]((t=>{const o=e;switch(i[o(524)]){case o(555):{const e=n[o(462)][o(447)][o(521)](i[o(458)][o(428)],o(437));t[o(456)](e);break}case o(553):{const e=n[o(462)][o(447)][o(521)](i[o(458)][o(438)],o(437));t[o(456)](e);break}case o(507):{const e=i[o(458)][o(438)];if(" "===e[o(544)][o(536)][e[o(483)]]){const n=t[o(526)](e[o(473)],e[o(483)]+1);t[o(456)](n)}else t[o(456)](i[o(458)])}}n[o(551)][o(538)][o(461)]()}))}[Q(484)](){const t=Q,e=this[t(545)](this[t(531)]+1);this[t(552)](e),this[t(547)](e)}[Q(502)](){const t=Q,e=this[t(545)](this[t(531)]-1);this[t(552)](e),this[t(547)](e)}[Q(472)](t,e){const n=Q,i=this[n(528)][n(462)];this[n(436)]&&i[n(510)]((o=>{const s=n;for(let e=1;e<t[s(540)];e++){const n=t[e][s(458)],r=s(508)+(e+1);i[s(442)][s(479)](r)?o[s(514)](r,{range:n}):o[s(487)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(540)];n<e[s(540)];n++){const t=s(508)+(n+1);i[s(442)][s(479)](t)&&o[s(543)](t)}}))}[Q(446)](){const t=Q,e=t(506);this[t(528)][t(443)][t(477)](t(530))[t(444)]((n=>{const i=t;n.on(i(431)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(537)][s(506)])return;if(!o[s(542)][s(429)](e,t[s(492)]))return;const r=e[s(466)]();let a=r?o[s(476)][s(454)](r):null;if(!a){const t=e[s(438)];if(o[s(447)][s(511)](t,s(486))){const e=o[s(476)][s(518)](t);a=o[s(500)][s(533)](s(493)),a[s(527)]=()=>null,o[s(500)][s(467)](e,a)}else{const e=t[s(512)];a=o[s(476)][s(454)](e)}}for(;a[s(473)]!==a[s(481)]&&0===a[s(465)];)a=a[s(473)];const c=n[s(445)](11);a[s(450)](s(448))||(o[s(500)][s(491)](s(489),s(534),a),o[s(500)][s(478)](s(541),c,a),o[s(476)][s(509)](a,n)),t[s(434)]()}))}))}[Q(453)](){const t=Q,e=this[t(528)];e[t(435)][t(468)](t(452),((e,n)=>{this[t(502)](),n()})),e[t(435)][t(468)](t(504),((e,n)=>{this[t(484)](),n()})),e[t(515)][t(457)]({id:t(506),label:J(e[t(485)],t(433)),keystrokes:[{label:J(e[t(485)],t(441)),keystroke:t(452),mayRequireFn:!0},{label:J(e[t(485)],t(532)),keystroke:t(504),mayRequireFn:!0}]})}[Q(545)](t){const e=Q;return t<1&&(t=1),t>this[e(475)]&&(t=this[e(475)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=T(),it.insert=N().bind(null,"head"),it.domAPI=A(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=392]})(t,e)}const st=ot;function rt(){const t=["108285qpaLdO","ArrowDown","378531qAugMj","numeric","keyCode","firstChild","navigation","max","bindTemplate","div","isNaN","valueAsNumber","ck-disabled","128flFHYd","span","196722DJGrCV","blur","focus","setTemplate","stopPropagation","totalPages","ck-page-navigator","isEnabled","element","isReadOnly","render","115995qSQcas","fire","ArrowUp","value","bind","checkValidity","keydown","select","pageNumberView","910320iwcjMz","810KJszNg","key","listenTo","7734mizEBu","ariaLabel","set","change:pageNumber","267914KFxnQJ","Current page number (from 1 to %0)","pageNumber","preventDefault","707idCoQA","enter","4SDuXDL"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(268087===-parseInt(e(424))/1+-parseInt(e(415))/2+parseInt(e(422))/3*(-parseInt(e(421))/4)+parseInt(e(407))/5+parseInt(e(411))/6*(parseInt(e(419))/7)+-parseInt(e(435))/8*(parseInt(e(437))/9)+-parseInt(e(408))/10*(-parseInt(e(398))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(406)];constructor(t){const n=st;super(t);const i=this[n(430)];this[n(413)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(406)]=new e.InputNumberView(t,{min:1,step:1}),this[n(406)][n(413)]({inputMode:n(425),tabIndex:-1}),this[n(406)][n(402)](n(412)).to(this,n(392),(e=>J(t,n(416),e))),this[n(406)][n(402)](n(429)).to(this,n(392)),this[n(406)][n(402)](n(396)).to(this,n(394),(t=>!t)),this[n(440)]({tag:n(431),attributes:{class:["ck",n(393),i.if(n(394),n(434),(t=>!t))]},children:[this[n(406)],{tag:n(436),children:[{text:i.to(n(392))}]}]})}[st(397)](){const t=st;super[t(397)]();const e=this[t(406)][t(395)],n=e=>{const n=t;this[n(406)][n(395)][n(401)]=String(e)};n(this[t(417)]),this.on(t(414),((t,e,i)=>{n(i)})),this[t(410)](e,t(404),((n,i)=>{const s=t;if(s(400)===i[s(409)]||s(423)===i[s(409)])return void i[s(441)]();if(i[s(426)]!==o.keyCodes[s(420)])return;i[s(418)]();const r=e[s(433)];Number[s(432)](r)?e[s(401)]=String(this[s(417)]):(e[s(403)]()?this[s(417)]=r:r>this[s(392)]?(this[s(417)]=this[s(392)],e[s(401)]=String(this[s(392)])):(this[s(417)]=1,e[s(401)]="1"),this[s(399)](s(428),this[s(417)]))})),this[t(410)](e,t(438),(()=>{const n=t;e[n(401)]=String(this[n(417)])})),this[t(410)](e,t(439),(()=>{const e=t;this[e(406)][e(405)]()}))}[st(439)](){const t=st;this[t(395)][t(427)][t(439)]()}}const ct=lt;function ut(){const t=["icon","10575537eLvhOq","plugins","pageNavigation","1237766gJrbJb","pageNumber","Go to previous page","execute","729396oUOekG","isPremiumPlugin","locale","isOfficialPlugin","pluginName","editor","moveSelectionToPage","1EHPxpA","get","Shift+PageDown","PaginationEditing","goToNextPage","12192OWcdsH","nextPage","Go to next page","scrollToPage","componentFactory","init","1317ABBPql","Shift+PageUp","9SiiRdJ","PaginationUI","isEnabled","navigation","goToPreviousPage","34321360btTEdF","4991896yGaKCx","previousPage","keystroke","2371595GDJbCv","add","tooltip","totalPages","listenTo","label","bind"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=272]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(930922===parseInt(e(313))/1*(parseInt(e(302))/2)+parseInt(e(280))/3*(-parseInt(e(274))/4)+parseInt(e(291))/5+-parseInt(e(306))/6+-parseInt(e(299))/7+-parseInt(e(288))/8+parseInt(e(282))/9*(parseInt(e(287))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(310)](){return ct(283)}static get[ct(309)](){return!0}static get[ct(307)](){return!0}[ct(279)](){const t=ct,n=this[t(311)],i=n[t(300)][t(314)](t(272));n.ui[t(278)][t(292)](t(301),(e=>{const n=t,o=new at(e);return o[n(297)](n(303)).to(i),o[n(297)](n(294)).to(i),o[n(297)](n(284)).to(i),o.on(n(285),((t,e)=>{const o=n;i[o(312)](e),i[o(277)](e)})),o})),n.ui[t(278)][t(292)](t(275),(o=>{const s=t,r=new e.ButtonView(o);return r[s(284)]=!0,r[s(296)]=J(n[s(308)],s(276)),r[s(298)]=et.IconArrowDown,r[s(293)]=!0,r[s(290)]=s(315),r[s(297)](s(284)).to(i),this[s(295)](r,s(305),(()=>{i[s(273)]()})),r})),n.ui[t(278)][t(292)](t(289),(o=>{const s=t,r=new e.ButtonView(o);return r[s(284)]=!0,r[s(296)]=J(n[s(308)],s(304)),r[s(298)]=et.IconArrowUp,r[s(293)]=!0,r[s(290)]=s(281),r[s(297)](s(284)).to(i),this[s(295)](r,s(305),(()=>{i[s(286)]()})),r}))}}const ft=ht;function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=172]})(t,e)}function dt(){const t=["config","ready","isBlink","5LKAyfa","1857903QCQhMd","pageNumber","isPremiumPlugin","280472RdOyNm","set","10ktquFW","init","pluginName","12328iSgUqe","browserCheck","editor","1606662DAWIMp","isEnabled","totalPages","scrollToPage","30768048wItzaJ","requires","isOfficialPlugin","plugins","forceDisabled","5999EfeYsR","Pagination","bind","get","876930hbyjDR","1471636mUZlbZ","pagination.enableOnUnsupportedBrowsers"];return(dt=function(){return t})()}!function(t){const e=ht,n=t();for(;;)try{if(766693===-parseInt(e(177))/1+-parseInt(e(178))/2+parseInt(e(184))/3+-parseInt(e(187))/4*(parseInt(e(183))/5)+-parseInt(e(195))/6+-parseInt(e(173))/7*(parseInt(e(192))/8)+-parseInt(e(199))/9*(-parseInt(e(189))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(191)](){return ft(174)}static get[ft(201)](){return!0}static get[ft(186)](){return!0}static get[ft(200)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(196)]=!1}[ft(190)](){const t=ft;this[t(188)]({pageNumber:1,totalPages:1});const e=this[t(194)][t(202)][t(176)](tt);this[t(175)](t(185)).to(e),this[t(175)](t(197)).to(e),o.env[t(182)]||this[t(194)][t(180)][t(176)](t(179))?this[t(194)].on(t(181),(()=>{this[t(196)]=!0})):this[t(172)](t(193))}[ft(198)](t){const e=ft;this[e(194)][e(202)][e(176)](tt)[e(198)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=403]})(t,e)}function bt(){var t=["2184tRYSvQ","298921YXXEri","236jBOVZc","32705cXKpey","9825rgHgSl","47290WaDMvu","39knyAil","913mZYBCw","2270UNihuY","44kesSwd","4928985NWGPjz","48BkhXls","2499108smApPX"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(364808===-parseInt(e(408))/1*(parseInt(e(414))/2)+parseInt(e(409))/3*(parseInt(e(407))/4)+-parseInt(e(413))/5*(-parseInt(e(405))/6)+-parseInt(e(406))/7*(-parseInt(e(403))/8)+-parseInt(e(415))/9+-parseInt(e(410))/10*(-parseInt(e(412))/11)+parseInt(e(404))/12*(parseInt(e(411))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>W});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=l;!function(t){const e=l,n=t();for(;;)try{if(817479===parseInt(e(526))/1+parseInt(e(462))/2*(-parseInt(e(542))/3)+-parseInt(e(527))/4*(parseInt(e(467))/5)+-parseInt(e(498))/6*(parseInt(e(412))/7)+parseInt(e(504))/8+-parseInt(e(383))/9+-parseInt(e(548))/10*(-parseInt(e(491))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f);class a extends t.Plugin{[r(403)]=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(549)]()),200);[r(524)]=null;static get[r(546)](){return r(477)}static get[r(370)](){return!0}static get[r(471)](){return!0}[r(464)](){const t=r;if(this[t(416)]({pageBreaks:[]}),!this[t(525)][t(417)][t(430)](t(509)))return void(0,o.logWarning)(t(529),this[t(525)][t(417)]);const e=this[t(525)][t(494)][t(430)](t(439));this[t(552)](t(528)).to(e),this[t(525)].ui[t(419)](t(533),(()=>this[t(505)]())),this.on(t(410),((e,n,i)=>{i&&this[t(403)]()}))}[r(386)](){!async function(t){const e=m([111,88,104,69,113,53,48,66,56,52,121,112,50,51,82,83,55,67,73,80,110,85,99,101,84,119,90,76,103,98,116,74,71,49,115,72,68,114,120,75,70,97,54,86,81,77,105,108,79,57,118,106,109,65,100,102,78,122,89,107,117,87]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](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(479)]((t=>String[e(510)](t)))[e(473)]("")}!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([111]);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:1743292800;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(545)]);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(396)](){const t=r;super[t(396)](),this[t(524)]&&(this[t(403)][t(522)](),this[t(524)][t(396)](),this[t(524)][t(375)][t(534)]())}[r(505)](){const t=r,n=this[t(525)],i=n[t(442)][t(447)],o=this[t(481)]();if(!o||0===o[t(369)])return void n.ui[t(419)](t(543),(()=>this[t(505)]()));const{pageWidth:s,pageHeight:a}=n[t(417)][t(430)](t(509)),{top:c,left:u,bottom:l,right:p}=this[t(438)];this[t(524)]=new e.View(n[t(507)]);const f=this[t(524)];f[t(416)](t(405),""),f[t(493)]({tag:t(497),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(448)+a+t(460)+c+t(460)+l+" )",minWidth:t(387),minHeight:t(387),padding:"0 "+p+t(424)+u,columnGap:t(426),border:0,boxSizing:t(488),columnCount:t(387),columnFill:t(387),overflow:t(535),position:t(418),top:t(422),left:t(422)},tabindex:"-1",class:f[t(496)].to(t(405))}}),f[t(456)](),o[t(367)][t(538)](f[t(375)],o[t(400)]),this[t(394)](i,t(456),(()=>this[t(403)]()),{priority:t(450)}),this[t(403)]()}[r(481)](){const t=r;for(const e of this[t(525)][t(442)][t(447)][t(415)][t(469)]())if(e[t(483)][t(518)][t(431)](e))return e;return null}[r(549)](){const t=r;if(!this[t(528)])return Promise[t(425)]();const e=this[t(525)][t(442)][t(447)],n=this[t(524)],i=this[t(481)]();if(!i)return Promise[t(425)]();for(n[t(405)]=[t(401),t(366),...i[t(484)]][t(473)](" ");n[t(375)][t(489)];)n[t(375)][t(489)][t(534)]();const o=Array[t(487)](e[t(415)]);o[t(404)]((([,e],[,n])=>e[t(485)](n)==Node[t(513)]?1:-1));for(const[e,i]of o){const o=i[t(499)](!0);t(515)in o&&o[t(515)][t(547)](),o[t(428)]="",o[t(501)]("id"),o[t(457)][t(361)]=e,n[t(375)][t(384)](o)}return function(e){const n=t;return Promise[n(402)](e[n(479)]((t=>{return Promise[n(550)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(487)](n[t(375)][t(378)](t(441))))[t(466)]((()=>this[t(399)]()))}[r(399)](){const t=r,e=this[t(524)][t(375)];if(!e[t(483)][t(518)][t(431)](e))return;const n=new o.Rect(e)[t(506)](),i=o.global[t(512)][t(480)](e),s=parseFloat(i[t(454)])+parseFloat(i[t(414)]),a=Math[t(486)](n[t(523)]+100-s),c=m(e,Math[t(486)](n[t(377)]-e[t(389)]),a,n[t(408)])[t(479)]((e=>this[t(461)](e)));c[t(531)]((t=>!!t))&&(this[t(390)]=c)}[r(461)](t){const e=r,n=this[e(525)][e(442)][e(447)],i=this[e(525)][e(442)][e(503)],o=n[e(508)],s=t[e(368)][e(411)](),a=this[e(524)][e(375)][e(476)][s][e(457)][e(361)],c=n[e(446)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(368)]){if(!o)return null;o=o[i(476)][t]}return o}(c,t);if(!u)return null;const l=o[e(495)](u,t[e(376)]||0);return l?e(372)==t[e(482)]?this[e(374)](l,u):e(420)==t[e(482)]&&i[e(407)](l)[e(365)]?this[e(458)](l,u,t[e(376)]):this[e(382)](l,u,t[e(365)]):null}[r(374)](t,e){const n=r,i=this[n(525)][n(502)],o=this[n(525)][n(442)][n(503)][n(397)](t[n(395)]),s=i[n(440)](o);return new c({type:n(372),modelRange:s,domNode:e,offset:0})}[r(458)](t,e,n){const i=r,o=this[i(525)][i(502)],s=this[i(525)][i(442)][i(503)],a=this[i(525)][i(442)][i(447)][i(508)];if(n>=e[i(514)])return null;const l=s[i(407)](t),p=o[i(520)](l),f=s[i(437)](t),h=a[i(364)](f);return new c({type:i(420),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(382)](t,e,n){const i=r,s=this[i(525)][i(502)],a=this[i(525)][i(442)],u=a[i(503)],l=a[i(447)][i(508)],p=u[i(437)](t),f=u[i(397)](p),d=function(t){const e=i,n=t[e(395)],o=n[e(537)][e(551)][e(502)],s=n[e(532)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(371)))return r;if(!o[e(519)](n)[e(445)](t))return r;r=n}}(s[i(519)](f))||f;let g=u[i(451)](d),m=s[i(440)](d);const b=s[i(519)](d)[i(409)];if(b&&b.is(i(375),i(434))){const t=u[i(451)](b),e=l[i(364)](t),n=o.global[i(512)][i(480)](e)[i(360)];i(377)!=n&&i(539)!=n||(m=s[i(440)](b))}for(;g[i(395)]!==g[i(537)]&&0===g[i(429)];)g=g[i(395)];const w=new o.Rect(y(e)?e:h(e)),k=n?w[i(408)]-n:0,v=l[i(364)](g),I=new o.Rect(v);return new c({type:i(375),modelRange:m,domNode:v,offset:Math[i(475)](k)?k+w[i(472)]-I[i(472)]:0})}get[r(438)](){const t=r,e=this[t(525)][t(417)][t(430)](t(444));return Object[t(388)]({top:t(449),bottom:t(449),left:t(449),right:t(449)},e)}static[r(544)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(482)];[r(413)];[r(427)];[r(421)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(482)]=t,this[o(413)]=e,this[o(427)]=n,this[o(421)]=i}get[r(365)](){const t=r;if(!this[t(427)][t(483)][t(518)][t(431)](this[t(427)]))return 0;const e=new o.Rect(y(this[t(427)])?this[t(427)]:h(this[t(427)]));return t(372)==this[t(482)]?e[t(472)]+e[t(408)]/2:e[t(472)]+this[t(421)]}}function u(t,e,n){const i=r,s=h(t),a=function(t){const e=l,n=o.global[e(551)][e(520)]();return n[e(536)](t),n}(n);let c;c=0==e?g(a[i(436)],a[i(453)],t[i(367)],Array[i(487)](t[i(367)][i(476)])[i(432)](t)):g(a[i(436)],a[i(453)],t,e);const u=g(t,e,a[i(363)],a[i(380)]),p=new o.Rect(c)[i(492)];return(new o.Rect(u)[i(472)]+p)/2-new o.Rect(s)[i(472)]}function l(t,e){const n=f();return(l=function(t,e){return n[t-=360]})(t,e)}function p(t){const e=r;return t[e(423)](e(523))&&t[e(423)](e(408))?Promise[e(425)]():new Promise((n=>{const i=e;function o(){const e=l;t[e(452)](e(478),o),t[e(452)](e(468),o),n()}t[i(455)]?n():(t[i(463)](i(478),o),t[i(463)](i(468),o))}))}function f(){const t=["remove","hidden","selectNodeContents","root","insertBefore","right","offsetParent","style","93417ghGBsk","update","_findPageStarterInfos","href","pluginName","clear","10VAVeJs","_recalculatePageBreaks","race","document","bind","float","rootName","closest","endContainer","mapViewToDom","offset","ck-pagination-view","parentNode","path","childElementCount","isOfficialPlugin","rootElement","manual","nodeType","_mapManualPageStarterInfoToPageBreakInfo","element","textOffset","left","querySelectorAll","table-row","endOffset","getClientRects","_mapElementPageStarterInfoToPageBreakInfo","5712102VRzHVe","append","previousSibling","afterInit","auto","assign","scrollLeft","pageBreaks","ceil","TEXT_NODE","page-break","listenTo","parent","destroy","toModelElement","nextElementSibling","_updatePageBreaksData","nextSibling","ck-reset","all","_recalculatePageBreaksDebounced","sort","class","table-cell","toModelPosition","height","nodeBefore","change:isEnabled","shift","14OkLSkl","modelRange","paddingRight","domRoots","set","config","absolute","once","text","_offset","-99999px","hasAttribute"," 0 ","resolve","100px","_domNode","className","index","get","contains","indexOf","ELEMENT_NODE","imageBlock","selectNode","startContainer","findMappedViewAncestor","_configuredPaddings","PaginationEditing","createRangeOn","img","editing","position","pagination.pageMargins","isTouching","getDomRoot","view","calc( ","10mm","low","toViewElement","removeEventListener","startOffset","paddingLeft","complete","render","dataset","_mapTextPageStarterInfoToPageBreakInfo","display"," - ","_mapPageStarterInfoToPageBreakInfo","82VMheKY","addEventListener","init","parentElement","then","5RhJetd","error","values",".page-break","isPremiumPlugin","top","join","none","round","childNodes","PaginationLookup","load","map","getComputedStyle","_getAttachedDomRoot","type","ownerDocument","classList","compareDocumentPosition","floor","from","border-box","firstChild","ck-fake-selection-container","22730807XPnsuq","bottom","setTemplate","plugins","domPositionToView","bindTemplate","div","1871340AMJNrn","cloneNode","entries","removeAttribute","model","mapper","10650872OvmJel","_onUiReady","excludeScrollbarsAndBorders","locale","domConverter","pagination","fromCharCode","setEnd","window","DOCUMENT_POSITION_PRECEDING","length","attributeStyleMap","setStart","push","body","createPositionBefore","createRange","previousElementSibling","cancel","width","_pagesContainer","editor","57157KwENnW","409268TXSGgA","isEnabled","pagination-config-not-found","figure.image","every","getAncestors","ready"];return(f=function(){return t})()}function h(t){const e=r,n=o.global[e(551)][e(520)]();return n[e(435)](t),n}function d(t,e,n){const i=r,s=o.global[i(551)][i(520)]();return s[i(516)](t,e),s[i(511)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(551)][s(520)]();return a[s(516)](t,e),a[s(511)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(476)][s(500)]()){let t=[];y(c)&&c[s(540)]&&!c[s(541)][s(443)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(514)]&&(a[s(517)](...t),e+=t[s(514)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(385)])&&y(l)&&Boolean(l[c(484)][c(431)](c(393))||l[c(362)](c(470)))&&(u[c(517)]({type:c(372),offset:0,path:[e-1]}),a=!0),c(379)==o.global[c(512)][c(480)](t)[c(459)]){let i=0,o=!1;for(const e of t[c(381)]())i+=e[c(408)],e[c(377)]>=n&&(o=!0);if(i<s&&o)return u[c(517)]({type:c(375),offset:0,path:[e]}),u}const p=t[c(362)](c(530));if(p&&function(t){const e=c;let n=!1;const i=t[e(465)][e(457)][e(361)],s=t[e(398)],r=t[e(521)],a=s&&o.global[e(512)][e(480)](s)[e(360)],u=s&&e(490)===s[e(428)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(474)!==a&&(n=!0),!n}(p)){const t=o.global[c(512)][c(480)](p)[c(360)];if(c(377)==t||c(539)==t)return u}const f=m(t,n,i,s,a);if(f[c(514)]){for(const t of f)u[c(517)]({type:t[c(482)],offset:t[c(365)],textOffset:t[c(376)],path:[e,...t[c(368)]]}),n+=i,a=!1;return u}return u[c(517)](...function(t,e,n,i,s){const r=c,a=[];if(r(406)==o.global[r(512)][r(480)](t)[r(459)])return[];const u=[];for(const e of t[r(381)]())if(e[r(377)]>=n){for(const t of u)t[r(408)]+=e[r(408)];u[r(517)]({height:e[r(408)]}),n+=i}for(const t of u)s||a[r(517)]({type:r(375),offset:t[r(408)],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=h(t),c=[];let u=0;for(const r of a[s(381)]())if(r[s(377)]>=n){const r=k(t,u,n,i);o||c[s(517)]({type:s(420),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(514)];for(;a-s>1;){const e=Math[o(391)]((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(381)]())if(o[i(377)]>=e&&o[i(377)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(373)]==Node[e(433)]}function I(t){const e=r;return t[e(373)]==Node[e(392)]}var P=n(673),x=n.n(P),_=n(545),E=n.n(_),N=n(262),T=n.n(N),A=n(667),S=n.n(A),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=T().bind(null,"head"),O.domAPI=E(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function M(){const t=["isVisible","27894zmEkJo","637505PdwdwN","width","15qEufpH","setTemplate","21820RnCwtS","ck-pagination-view-line","438447HvzhfX","top","set","849793EGhyPi","left","bindTemplate","ck-hidden","648292tTIYcw","3377dTCAew","157716bfiEBV","8zcWEqY","div","8PMJJhZ","pageNumber"];return(M=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(364964===-parseInt(e(425))/1+parseInt(e(419))/2*(parseInt(e(409))/3)+-parseInt(e(416))/4+-parseInt(e(427))/5*(-parseInt(e(424))/6)+parseInt(e(412))/7*(-parseInt(e(421))/8)+parseInt(e(418))/9+-parseInt(e(407))/10*(-parseInt(e(417))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(M);const B=(0,o.toUnit)("px");function D(t,e){const n=M();return(D=function(t,e){return n[t-=406]})(t,e)}class G extends e.View{constructor(){const t=D;super();const e=this[t(414)];this[t(411)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(406)]({tag:t(420),attributes:{"data-page-number":e.to(t(422)),class:["ck",t(408),e.if(t(423),t(415),(t=>!t))],style:{left:e.to(t(413),(t=>B(t))),top:e.to(t(410),(t=>B(t))),width:e.to(t(426),(t=>B(t)))}}})}}function K(t,e){const n=j();return(K=function(t,e){return n[t-=248]})(t,e)}const V=K;function j(){const t=["2118354TZZkyY","_viewCollection","isVisible","1295440RytRfs","52700eQOSkn","clear","body","has","871635jIbQaR","1558809AdiUjm","showLine","493584mmmqkv","view","add","66QKApwD","69465FCeqAC","values","_visibleLines","destroy","set","_hiddenLines","delete","setViewCollection","size","cleanLines"];return(j=function(){return t})()}!function(t){const e=K,n=t();for(;;)try{if(343048===parseInt(e(255))/1+-parseInt(e(269))/2*(-parseInt(e(254))/3)+-parseInt(e(268))/4+-parseInt(e(248))/5+parseInt(e(265))/6+-parseInt(e(249))/7+parseInt(e(251))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class z{[V(266)];[V(257)]=new Set;[V(260)]=new Set;constructor(t){const e=V;this[e(266)]=t.ui[e(252)][e(271)]}[V(258)](){const t=V;for(const e of this[t(260)])e[t(258)]()}[V(264)](){const t=V;for(const e of this[t(257)])e[t(267)]=!1,this[t(260)][t(253)](e);this[t(257)][t(270)]()}[V(250)](t,e,n,i){const s=V;let r;this[s(260)][s(263)]?(r=(0,o.first)(this[s(260)][s(256)]()),this[s(260)][s(261)](r)):r=new G,r[s(259)]({pageNumber:i,left:t,top:e,width:n}),r[s(267)]=!0,this[s(266)][s(272)](r)||this[s(266)][s(253)](r),this[s(257)][s(253)](r)}[V(262)](t){this[V(266)]=t}}function U(){const t=["resize","update","editing","scrollToPage","isOfficialPlugin","left","values","width","init","showLine","getComputedStyle","_onUiReady","ready","change:isEnabled","destroy","scrollTo","_paginationLookupPlugin","bind","BODY","_resizeObserver","removeClass","window","scroll","10jxSmjL","_getAttachedDomRoot","isEnabled","_renderPageBreakLines","20QMsBAY","ownerDocument","pluginName","top","set","659ZedyUf","11420739lxWYKw","tagName","5RMMOBN","bottom","length","ck-pagination_enabled","change:pageBreaks","pageNumber","6511928jqDMWX","815310LzLCTg","body","1241805JKJkpQ","PaginationEditing","_toggleEditingRootsClass","_getPageBreakLineOffset","scrollTop","overflowY","listenTo","view","change","auto","push","addClass","linesRepository","scrollLeft","stopListening","9134566TWavgg","once","get","editor","isMotionReduced","cleanLines","document","4958084cSmLcS","offset","smooth","contains","PaginationLookup","plugins","roots","parentElement","excludeScrollbarsAndBorders","domRoots","instant","pageBreaks","setupScrollableAncestor","PaginationRenderer","isPremiumPlugin","_updatePageBreakLines","_scrollableEditingRootDomAncestor","height"];return(U=function(){return t})()}const Y=q;function q(t,e){const n=U();return(q=function(t,e){return n[t-=473]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(674203===-parseInt(e(513))/1*(-parseInt(e(508))/2)+parseInt(e(525))/3+parseInt(e(547))/4*(parseInt(e(516))/5)+-parseInt(e(523))/6+-parseInt(e(540))/7+-parseInt(e(522))/8+-parseInt(e(514))/9*(-parseInt(e(504))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const F=Y(519);class W extends t.Plugin{[Y(537)];[Y(479)]=null;[Y(500)]=null;[Y(497)];static get[Y(510)](){return Y(476)}static get[Y(485)](){return!0}static get[Y(477)](){return!0}[Y(489)](){const t=Y;this[t(512)]({pageNumber:1}),this[t(537)]=new z(this[t(543)]),this[t(479)]=null,this[t(500)]=null,this[t(497)]=this[t(543)][t(552)][t(542)](t(551)),this[t(498)](t(506)).to(this[t(543)][t(552)][t(542)](t(526))),this[t(543)].ui[t(541)](t(493),(()=>this[t(492)]())),this[t(527)](F),this.on(t(494),((e,n,i)=>{const o=t;i||this[o(537)][o(545)](),this[o(527)](F,i)}))}[Y(495)](){const t=Y;this[t(527)](F,!1),this[t(537)][t(495)](),this[t(479)]=null,this[t(500)]&&this[t(500)][t(495)]()}[Y(484)](t){const e=Y;if(!this[e(506)])return;const n=t>1?this[e(528)](t-1):0;this[e(479)][e(496)]({top:n-10,left:this[e(479)][e(538)],behavior:o.env[e(544)]?e(473):e(549)})}[Y(475)](){const t=Y,e=this[t(543)],n=this[t(505)]();n?(this[t(479)]&&e.ui[t(532)][t(539)](this[t(479)],t(503)),this[t(479)]=function(e){const n=t;let i=e;do{i=i[n(554)];const t=o.global[n(502)][n(491)](i)[n(530)];if(n(534)==t||n(503)==t)break}while(n(499)!=i[n(515)]);return i}(n),e.ui[t(532)][t(531)](this[t(479)],t(503),(()=>{this[t(478)]()}),{usePassive:!0}),this[t(500)]&&this[t(500)][t(495)](),this[t(500)]=new o.ResizeObserver(this[t(479)],(()=>{this[t(478)]()}))):e.ui[t(541)](t(482),(()=>this[t(475)]()))}[Y(492)](){const t=Y,e=this[t(543)];this[t(505)]()?(this[t(475)](),e.ui[t(532)][t(531)](o.global[t(502)],t(481),(()=>this[t(478)]())),this[t(531)](this[t(497)],t(520),(()=>this[t(478)]()))):e.ui[t(541)](t(482),(()=>this[t(492)]()))}[Y(505)](){const t=Y;for(const e of this[t(543)][t(483)][t(532)][t(556)][t(487)]())if(e[t(509)][t(524)][t(550)](e))return e;return null}[Y(478)](){const t=Y;if(!this[t(506)])return;const e=this[t(505)](),n=this[t(497)][t(474)];if(this[t(537)][t(545)](),!e||1==n[t(518)])return void(this[t(521)]=1);const i=new o.Rect(e)[t(555)](),s=new o.Rect(this[t(479)])[t(555)](),r=s[t(511)]+s[t(480)]/3;let a=!1;const c=[];for(let e=1;e<n[t(518)];e++){const n=this[t(528)](e,s);if(!n)continue;const o=s[t(511)]+n-this[t(479)][t(529)];c[t(535)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(521)]=e,a=!0)}this[t(507)](c),a||(this[t(521)]=n[t(518)])}[Y(507)](t){const e=Y,{scrollX:n,scrollY:i}=o.global[e(502)];if(t[e(518)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(511)]<s&&s<o[e(517)]&&this[e(537)][e(490)](r[e(486)]+n,s+i,r[e(488)],a+1)}[Y(528)](t,e=null){const n=Y,i=this[n(497)][n(474)][t][n(548)];return i?(e||(e=new o.Rect(this[n(479)])[n(555)]()),i-e[n(511)]+this[n(479)][n(529)]):0}[Y(527)](t,e=!0){const n=Y,i=this[n(543)][n(483)][n(532)];i[n(533)]((o=>{const s=n;for(const n of i[s(546)][s(553)])e?o[s(536)](t,n):o[s(501)](t,n)}))}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var H=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=S(),Q.insert=T().bind(null,"head"),Q.domAPI=E(),Q.insertStyleElement=C();x()(H.A,Q);H.A&&H.A.locals&&H.A.locals;const Z=X;function X(t,e){const n=$();return(X=function(t,e){return n[t-=306]})(t,e)}function $(){const t=["consumable","init","requires","createPositionAt","getFillerOffset","_showLicenseError","change:pageBreaks","_updatePageBreakMarkers","dataDowncast","pagination:","conversion","change","editing","has","length","_licenseKeyCheckInterval","view","Keystrokes for navigating through documents","paginationLicenseKeyUsageLimit","29407NYdMjE","addKeystrokeInfoGroup","PaginationEditing","_setUpDataDowncastConversion","setSelection","updateMarker","text","element","expired","paginationLicenseKeyNotAllowed","licenseKey","data-pagination-page","parent","stop","paginationLicenseKeyDomainLimit","trialLimit","page-break-before","always","moveSelectionToPage","getContainedElement","Shift+Pageup","nodeAfter","mapper","checkChild","goToNextPage","Go to the next page (also move selection)","paginationLicenseKeyExpired","128NesStk","4177152OIApdY","evaluationLimit","add","usageLimit","setAttribute","page-break","getNearestSelectionRange","offset","modelRange","23510135yAQHNo","pagination","removeMarker","6ywpQpq","10YWHZeW","invalid","root","for","keystrokes","insert","destroy","bind","listenTo","hasClass","isOfficialPlugin","paginationLicenseKeyTrialLimit","set","scrollToPage","plugins","consume","Go to the previous page (also move selection)","addMarker","toViewElement","config","end","type","locale","paginationLicenseKeyEvaluationLimit","5291487fLwxXf","12321MQCDGE","index","pluginName","markers","manual","createContainerElement","goToPreviousPage","span","focus","name","bindElementToMarker","totalPages","featureNotAllowed","Pagination","model","options","pageBreaks","1141823VKKlDa","schema","accessibility","forward","toViewPosition","_setupKeystrokes","4043450bacruO","domainLimit","editor","writer","get","paginationLicenseKeyInvalid","pageNumber","618AkKVcr","setStyle","_validatePageNumber","data","Shift+Pagedown","isEnabled","substring","$text","paginationLicenseKeyValid","isPremiumPlugin","start","textNode","addMarker:"];return($=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(812226===parseInt(e(328))/1+parseInt(e(341))/2*(-parseInt(e(311))/3)+-parseInt(e(401))/4+-parseInt(e(334))/5*(parseInt(e(413))/6)+-parseInt(e(373))/7*(-parseInt(e(400))/8)+parseInt(e(310))/9+parseInt(e(414))/10*(parseInt(e(410))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(383)];[Z(369)];static get[Z(313)](){return Z(375)}static get[Z(424)](){return!0}static get[Z(350)](){return!0}static get[Z(356)](){return[a,W]}[Z(355)](){const t=Z;this[t(426)]({pageNumber:1,totalPages:1});const e=this[t(336)][t(428)][t(338)](t(324)),n=this[t(336)][t(428)][t(338)](a),i=this[t(336)][t(428)][t(338)](W);this[t(421)](t(346)).to(e),this[t(376)](),this[t(421)](t(340)).to(i),this[t(422)](n,t(360),((e,n,i,o)=>{const s=t;this[s(322)]=i[s(368)],this[s(361)](i,o)})),this[t(333)](),this[t(383)]=this[t(336)][t(433)][t(338)](t(383));const o=this[t(336)];this[t(369)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(349)==s||e(339)==s||e(399)==s||e(387)==s||e(382)==s||e(309)==s||e(425)==s||e(372)==s){delete o[i],n=s,clearInterval(this[e(369)]),this[e(369)]=void 0;break}}e(339)==n&&o[e(359)](e(415)),e(399)==n&&o[e(359)](e(381)),e(387)==n&&o[e(359)](e(335)),e(382)==n&&o[e(359)](e(323),e(324)),e(309)==n&&o[e(359)](e(402)),e(425)==n&&o[e(359)](e(388)),e(372)==n&&o[e(359)](e(404))}),1e3)}[Z(420)](){const t=Z;super[t(420)](),this[t(369)]&&clearInterval(this[t(369)])}[Z(427)](t){const e=Z;this[e(346)]&&this[e(336)][e(428)][e(338)](W)[e(427)](this[e(343)](t))}[Z(391)](t){const e=Z;if(!this[e(346)])return;const n=this[e(336)],i=this[e(336)][e(428)][e(338)](a)[e(327)][t-1];i&&n[e(325)][e(365)]((t=>{const o=e;switch(i[o(307)]){case o(315):{const e=n[o(325)][o(329)][o(407)](i[o(409)][o(306)],o(331));t[o(377)](e);break}case o(380):{const e=n[o(325)][o(329)][o(407)](i[o(409)][o(351)],o(331));t[o(377)](e);break}case o(379):{const e=i[o(409)][o(351)];if(" "===e[o(352)][o(344)][e[o(408)]]){const n=t[o(357)](e[o(385)],e[o(408)]+1);t[o(377)](n)}else t[o(377)](i[o(409)])}}n[o(366)][o(370)][o(319)]()}))}[Z(397)](){const t=Z,e=this[t(343)](this[t(340)]+1);this[t(391)](e),this[t(427)](e)}[Z(317)](){const t=Z,e=this[t(343)](this[t(340)]-1);this[t(391)](e),this[t(427)](e)}[Z(361)](t,e){const n=Z,i=this[n(336)][n(325)];this[n(346)]&&i[n(365)]((o=>{const s=n;for(let e=1;e<t[s(368)];e++){const n=t[e][s(409)],r=s(363)+(e+1);i[s(314)][s(367)](r)?o[s(378)](r,{range:n}):o[s(431)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(368)];n<e[s(368)];n++){const t=s(363)+(n+1);i[s(314)][s(367)](t)&&o[s(412)](t)}}))}[Z(376)](){const t=Z,e=t(411);this[t(336)][t(364)][t(417)](t(362))[t(403)]((n=>{const i=t;n.on(i(353)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(326)][s(411)])return;if(!o[s(354)][s(429)](e,t[s(320)]))return;const r=e[s(392)]();let a=r?o[s(395)][s(432)](r):null;if(!a){const t=e[s(351)];if(o[s(329)][s(396)](t,s(348))){const e=o[s(395)][s(332)](t);a=o[s(337)][s(316)](s(318)),a[s(358)]=()=>null,o[s(337)][s(419)](e,a)}else{const e=t[s(394)];a=o[s(395)][s(432)](e)}}for(;a[s(385)]!==a[s(416)]&&0===a[s(312)];)a=a[s(385)];const c=n[s(347)](11);a[s(423)](s(406))||(o[s(337)][s(342)](s(389),s(390),a),o[s(337)][s(405)](s(384),c,a),o[s(395)][s(321)](a,n)),t[s(386)]()}))}))}[Z(333)](){const t=Z,e=this[t(336)];e[t(418)][t(426)](t(393),((e,n)=>{this[t(317)](),n()})),e[t(418)][t(426)](t(345),((e,n)=>{this[t(397)](),n()})),e[t(330)][t(374)]({id:t(411),label:J(e[t(308)],t(371)),keystrokes:[{label:J(e[t(308)],t(430)),keystroke:t(393),mayRequireFn:!0},{label:J(e[t(308)],t(398)),keystroke:t(345),mayRequireFn:!0}]})}[Z(343)](t){const e=Z;return t<1&&(t=1),t>this[e(322)]&&(t=this[e(322)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=T().bind(null,"head"),it.domAPI=E(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;!function(t){const e=rt,n=t();for(;;)try{if(274490===parseInt(e(249))/1+-parseInt(e(254))/2*(parseInt(e(258))/3)+parseInt(e(261))/4*(-parseInt(e(275))/5)+parseInt(e(285))/6*(-parseInt(e(281))/7)+-parseInt(e(288))/8*(-parseInt(e(286))/9)+parseInt(e(277))/10+parseInt(e(251))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(at);class st extends e.View{[ot(284)];constructor(t){const n=ot;super(t);const i=this[n(279)];this[n(269)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(284)]=new e.InputNumberView(t,{min:1,step:1}),this[n(284)][n(269)]({inputMode:n(274),tabIndex:-1}),this[n(284)][n(273)](n(253)).to(this,n(248),(e=>J(t,n(265),e))),this[n(284)][n(273)](n(245)).to(this,n(248)),this[n(284)][n(273)](n(266)).to(this,n(282),(t=>!t)),this[n(256)]({tag:n(259),attributes:{class:["ck",n(257),i.if(n(282),n(290),(t=>!t))]},children:[this[n(284)],{tag:n(255),children:[{text:i.to(n(248))}]}]})}[ot(280)](){const t=ot;super[t(280)]();const e=this[t(284)][t(292)],n=e=>{const n=t;this[n(284)][n(292)][n(252)]=String(e)};n(this[t(263)]),this.on(t(268),((t,e,i)=>{n(i)})),this[t(267)](e,t(260),((n,i)=>{const s=t;if(s(271)===i[s(270)]||s(264)===i[s(270)])return void i[s(244)]();if(i[s(291)]!==o.keyCodes[s(278)])return;i[s(262)]();const r=e[s(246)];Number[s(247)](r)?e[s(252)]=String(this[s(263)]):(e[s(293)]()?this[s(263)]=r:r>this[s(248)]?(this[s(263)]=this[s(248)],e[s(252)]=String(this[s(248)])):(this[s(263)]=1,e[s(252)]="1"),this[s(289)](s(283),this[s(263)]))})),this[t(267)](e,t(272),(()=>{const n=t;e[n(252)]=String(this[n(263)])})),this[t(267)](e,t(250),(()=>{const e=t;this[e(284)][e(287)]()}))}[ot(250)](){const t=ot;this[t(292)][t(276)][t(250)]()}}function rt(t,e){const n=at();return(rt=function(t,e){return n[t-=244]})(t,e)}function at(){const t=["ArrowUp","blur","bind","numeric","10WEAbUP","firstChild","1089480UPVYzM","enter","bindTemplate","render","19838NTSMYg","isEnabled","navigation","pageNumberView","78jREkII","9akdYXJ","select","111352tYUhwo","fire","ck-disabled","keyCode","element","checkValidity","stopPropagation","max","valueAsNumber","isNaN","totalPages","347340UnZgKF","focus","1717463WTIwzP","value","ariaLabel","202288ulPQIA","span","setTemplate","ck-page-navigator","9fADGGV","div","keydown","23152oOBchx","preventDefault","pageNumber","ArrowDown","Current page number (from 1 to %0)","isReadOnly","listenTo","change:pageNumber","set","key"];return(at=function(){return t})()}function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=292]})(t,e)}const ut=ct;function lt(){const t=["bind","48605LsZQzv","keystroke","pageNavigation","isEnabled","icon","8FOfquo","previousPage","PaginationUI","nextPage","2361472Sksfyc","goToPreviousPage","702JqLYyP","editor","Shift+PageUp","totalPages","15159529UYbYUf","get","execute","add","320918HlTbGI","tooltip","componentFactory","locale","listenTo","Go to next page","label","12zmThRa","scrollToPage","init","12417630RTCJgt","moveSelectionToPage","Shift+PageDown","goToNextPage","Go to previous page","navigation","9kProWq","pageNumber","isPremiumPlugin","plugins","isOfficialPlugin","1392394nuziVW","PaginationEditing","pluginName","6037619urOPZc"];return(lt=function(){return t})()}!function(t){const e=ct,n=t();for(;;)try{if(761100===parseInt(e(294))/1+-parseInt(e(318))/2*(-parseInt(e(325))/3)+parseInt(e(308))/4+-parseInt(e(299))/5*(parseInt(e(310))/6)+parseInt(e(297))/7*(-parseInt(e(304))/8)+parseInt(e(334))/9*(-parseInt(e(328))/10)+parseInt(e(314))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ut(296)](){return ut(306)}static get[ut(293)](){return!0}static get[ut(336)](){return!0}[ut(327)](){const t=ut,n=this[t(311)],i=n[t(292)][t(315)](t(295));n.ui[t(320)][t(317)](t(301),(e=>{const n=t,o=new st(e);return o[n(298)](n(335)).to(i),o[n(298)](n(313)).to(i),o[n(298)](n(302)).to(i),o.on(n(333),((t,e)=>{const o=n;i[o(329)](e),i[o(326)](e)})),o})),n.ui[t(320)][t(317)](t(307),(o=>{const s=t,r=new e.ButtonView(o);return r[s(302)]=!0,r[s(324)]=J(n[s(321)],s(323)),r[s(303)]=et.IconArrowDown,r[s(319)]=!0,r[s(300)]=s(330),r[s(298)](s(302)).to(i),this[s(322)](r,s(316),(()=>{i[s(331)]()})),r})),n.ui[t(320)][t(317)](t(305),(o=>{const s=t,r=new e.ButtonView(o);return r[s(302)]=!0,r[s(324)]=J(n[s(321)],s(332)),r[s(303)]=et.IconArrowUp,r[s(319)]=!0,r[s(300)]=s(312),r[s(298)](s(302)).to(i),this[s(322)](r,s(316),(()=>{i[s(309)]()})),r}))}}function ft(){const t=["126BMZuOi","init","pluginName","isPremiumPlugin","isOfficialPlugin","68tmYdBJ","6976674QXkCsT","2fMLvZF","get","config","pageNumber","isBlink","bind","11341AJIZBE","3618759kUmMDv","browserCheck","editor","1627992lqrZWA","4830hHPHcy","596248FnifTe","totalPages","forceDisabled","Pagination","22210xkMtHz","486448MMmFzo","set","pagination.enableOnUnsupportedBrowsers","requires","plugins","scrollToPage","isEnabled","ready"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=235]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(691386===parseInt(e(261))/1+parseInt(e(244))/2*(-parseInt(e(251))/3)+parseInt(e(242))/4*(parseInt(e(260))/5)+parseInt(e(254))/6+-parseInt(e(237))/7*(-parseInt(e(256))/8)+-parseInt(e(243))/9+-parseInt(e(255))/10*(-parseInt(e(250))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(239)](){return ht(259)}static get[ht(241)](){return!0}static get[ht(240)](){return!0}static get[ht(264)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(235)]=!1}[ht(238)](){const t=ht;this[t(262)]({pageNumber:1,totalPages:1});const e=this[t(253)][t(265)][t(245)](tt);this[t(249)](t(247)).to(e),this[t(249)](t(257)).to(e),o.env[t(248)]||this[t(253)][t(246)][t(245)](t(263))?this[t(253)].on(t(236),(()=>{this[t(235)]=!0})):this[t(258)](t(252))}[ht(266)](t){const e=ht;this[e(253)][e(265)][e(245)](tt)[e(266)](t)}}function mt(){var t=["845590eUZqyM","3247470exLEpP","191555CYgIDQ","1424480ahFEfI","176dlQzaf","627546XbiqEW","2722215zlwlzG","644760CFproC"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=421]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(481375===-parseInt(e(426))/1+parseInt(e(427))/2+parseInt(e(425))/3+-parseInt(e(422))/4+parseInt(e(428))/5+parseInt(e(424))/6+parseInt(e(421))/7*(-parseInt(e(423))/8))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x3e9c45}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x25178e,InputNumberView as _0x287e53,ButtonView as _0xfb4a6e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x3e84f7,Rect as _0x175d67,global as _0x202979,uid as _0x2f04cf,toUnit as _0x2d68d1,first as _0xabb296,env as _0x2fafcf,ResizeObserver as _0x85feb5,keyCodes as _0x5ec598}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x24c00a}from'es-toolkit/compat';import{IconArrowDown as _0x87a4ab,IconArrowUp as _0x2dba12}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3e9c45{['_recalculatePageBreaksDebounced']=_0x24c00a(()=>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 _0x3e84f7('pagination-config-not-found',this['editor']['config']);const _0x125194=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x125194),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x20dff8,_0x592c68,_0x39a8f3)=>{_0x39a8f3&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x570d6a){const _0x391d90=_0x1e5f32([0x50,0x4b,0x61,0x68,0x4c,0x33,0x46,0x4e,0x66,0x34,0x57,0x63,0x77,0x49,0x56,0x6b,0x37,0x31,0x39,0x38,0x52,0x30,0x41,0x75,0x43,0x36,0x7a,0x62,0x65,0x4a,0x5a,0x76,0x42,0x79,0x6a,0x78,0x55,0x71,0x64,0x59,0x73,0x6c,0x51,0x6f,0x74,0x70,0x58,0x6e,0x53,0x67,0x47,0x54,0x35,0x4f,0x45,0x72,0x4d,0x6d,0x69,0x44,0x48,0x32]),_0x2b6275=0x206569fd,_0x4436e9=0x20620a95^_0x2b6275,_0x27c277=window[_0x1e5f32([0x44,0x61,0x74,0x65])][_0x1e5f32([0x6e,0x6f,0x77])](),_0x5f407c=_0x570d6a[_0x1e5f32([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c4c39=new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229867=>{_0x5f407c[_0x1e5f32([0x6f,0x6e,0x63,0x65])](_0x1e5f32([0x72,0x65,0x61,0x64,0x79]),_0x229867);}),_0x2595aa={[_0x1e5f32([0x6b,0x74,0x79])]:_0x1e5f32([0x45,0x43]),[_0x1e5f32([0x75,0x73,0x65])]:_0x1e5f32([0x73,0x69,0x67]),[_0x1e5f32([0x63,0x72,0x76])]:_0x1e5f32([0x50,0x2d,0x32,0x35,0x36]),[_0x1e5f32([0x78])]:_0x1e5f32([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]),[_0x1e5f32([0x79])]:_0x1e5f32([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]),[_0x1e5f32([0x61,0x6c,0x67])]:_0x1e5f32([0x45,0x53,0x32,0x35,0x36])},_0x1625d1=_0x5f407c[_0x1e5f32([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e5f32([0x67,0x65,0x74])](_0x1e5f32([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3428c5(){let _0x265aa5,_0x37fc18=null,_0x3d399a=null;try{if(_0x1625d1==_0x1e5f32([0x47,0x50,0x4c]))return _0x1e5f32([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x265aa5=_0x4688f6(),!_0x265aa5)return _0x1e5f32([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x265aa5[_0x1e5f32([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d399a=_0x18b3ac(_0x265aa5[_0x1e5f32([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x265aa5[_0x1e5f32([0x6a,0x74,0x69])])),await _0x5df017()?_0x2afad9()?_0x550768()?_0x1e5f32([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e1772()?(_0x265aa5[_0x1e5f32([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e5f32([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37fc18=_0x8822b5(_0x1e5f32([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x265aa5[_0x1e5f32([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e5f32([0x74,0x72,0x69,0x61,0x6c])&&(_0x37fc18=_0x8822b5(_0x1e5f32([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4995ce()):_0x1e5f32([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e5f32([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e5f32([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1cd98e){return _0x1e5f32([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x550768(){const _0x8a4f34=[_0x1e5f32([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e5f32([0x74,0x72,0x69,0x61,0x6c])][_0x1e5f32([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x265aa5[_0x1e5f32([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27c277/0x3e8:0xe10*_0x4436e9;return _0x265aa5[_0x1e5f32([0x65,0x78,0x70])]<_0x8a4f34;}function _0x2afad9(){const _0x49f439=_0x265aa5[_0x1e5f32([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49f439&&(!!_0x49f439[_0x1e5f32([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e5f32([0x2a]))||!!_0x49f439[_0x1e5f32([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e5f32([0x50,0x41,0x47])));}function _0x2e1772(){const _0x3768dd=_0x265aa5[_0x1e5f32([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3768dd||0x0==_0x3768dd[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x551ceb}=new URL(window[_0x1e5f32([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3768dd[_0x1e5f32([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x551ceb))return!0x0;const _0xf31c5b=_0x551ceb[_0x1e5f32([0x73,0x70,0x6c,0x69,0x74])](_0x1e5f32([0x2e]));return _0x3768dd[_0x1e5f32([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24b0b5=>_0x24b0b5[_0x1e5f32([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e5f32([0x2a])))[_0x1e5f32([0x6d,0x61,0x70])](_0x2272c6=>_0x2272c6[_0x1e5f32([0x73,0x70,0x6c,0x69,0x74])](_0x1e5f32([0x2e])))[_0x1e5f32([0x73,0x6f,0x6d,0x65])](_0x5d5d76=>_0xf31c5b[_0x1e5f32([0x65,0x76,0x65,0x72,0x79])]((_0x114b07,_0x1f7d9f)=>_0x5d5d76[_0x1f7d9f]===_0x114b07||_0x5d5d76[_0x1f7d9f]===_0x1e5f32([0x2a])));}function _0x4995ce(){return _0x37fc18&&_0x3d399a?new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbbe333,_0x37b25b)=>{_0x37fc18[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0xbbe333,_0x37b25b),_0x3d399a[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0x15fb9c=>{_0x15fb9c!=_0x1e5f32([0x56,0x61,0x6c,0x69,0x64])&&_0xbbe333(_0x15fb9c);},_0x37b25b);}):_0x37fc18||_0x3d399a||_0x1e5f32([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18b3ac(_0x4bc901,_0x36f609){return new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7eea2b=>{if(_0x3f17fd())return _0x7eea2b(_0x1e5f32([0x56,0x61,0x6c,0x69,0x64]));_0x41707d(),_0x5f407c[_0x1e5f32([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e5f32([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x417e31=!0x1;const _0x8f3e44=_0x2f04cf();function _0x274431(_0x11bfb8){return!!_0x11bfb8&&(typeof _0x11bfb8===_0x1e5f32([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11bfb8===_0x1e5f32([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11bfb8[_0x1e5f32([0x74,0x68,0x65,0x6e])]===_0x1e5f32([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11bfb8[_0x1e5f32([0x63,0x61,0x74,0x63,0x68])]===_0x1e5f32([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x68de6f(_0x20c7a7){_0x35d2e1(_0x20c7a7)[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0x35a3c0=>{if(!_0x35a3c0||_0x35a3c0[_0x1e5f32([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e5f32([0x6f,0x6b]))return _0x1e5f32([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45dd55(_0x274111(_0x8f3e44+_0x36f609))!=_0x35a3c0[_0x1e5f32([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e5f32([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e5f32([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0x22b145=>(_0x121b74(),_0x22b145),()=>{const _0xe6c422=_0x154284();return null==_0xe6c422?(_0x121b74(),_0x1e5f32([0x56,0x61,0x6c,0x69,0x64])):_0x1e5f32(_0x27c277-_0xe6c422>(0x469edfd^_0x2b6275)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0x7eea2b)[_0x1e5f32([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7eea2b(_0x1e5f32([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3aa1b8=0x2053877d^_0x2b6275;function _0x121b74(){const _0x3d64b4=_0x1e5f32([0x6c,0x6c,0x63,0x74,0x2d])+_0x45dd55(_0x274111(_0x4bc901)),_0x215b41=_0x6c8efa(_0x45dd55(window[_0x1e5f32([0x4d,0x61,0x74,0x68])][_0x1e5f32([0x63,0x65,0x69,0x6c])](_0x27c277/_0x3aa1b8)));window[_0x1e5f32([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e5f32([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d64b4,_0x215b41);}function _0x154284(){const _0x2a390d=_0x1e5f32([0x6c,0x6c,0x63,0x74,0x2d])+_0x45dd55(_0x274111(_0x4bc901)),_0x5c9969=window[_0x1e5f32([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e5f32([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a390d);return _0x5c9969?window[_0x1e5f32([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6c8efa(_0x5c9969),0x10)*_0x3aa1b8:null;}function _0x35d2e1(_0x3d1088){return new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c9e32,_0x12c7f5)=>{_0x3d1088[_0x1e5f32([0x74,0x68,0x65,0x6e])](_0x1c9e32,_0x12c7f5),window[_0x1e5f32([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12c7f5,0x2064bd3d^_0x2b6275);});}}_0x5f407c[_0x1e5f32([0x6f,0x6e])](_0x1e5f32([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x422441,_0x4e9d15)=>{if(_0x4e9d15[0x0]!=_0x4bc901)return _0x7eea2b(_0x1e5f32([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e9d15[0x1]={..._0x4e9d15[0x1],[_0x1e5f32([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8f3e44};},{[_0x1e5f32([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e5f32([0x68,0x69,0x67,0x68])}),_0x5f407c[_0x1e5f32([0x6f,0x6e])](_0x1e5f32([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bcde4=>{_0x274431(_0x4bcde4[_0x1e5f32([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x417e31=!0x0,_0x68de6f(_0x4bcde4[_0x1e5f32([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e5f32([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e5f32([0x6c,0x6f,0x77])}),_0x2c4c39[_0x1e5f32([0x74,0x68,0x65,0x6e])](()=>{_0x417e31||_0x7eea2b(_0x1e5f32([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f17fd(){return _0x5f407c[_0x1e5f32([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e5f32([0x76,0x69,0x65,0x77])][_0x1e5f32([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e5f32([0x61,0x75,0x74,0x6f]);}function _0x41707d(){_0x5f407c[_0x1e5f32([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e5f32([0x76,0x69,0x65,0x77])][_0x1e5f32([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e5f32([0x61,0x75,0x74,0x6f]);}}function _0x8822b5(_0x177be1){const _0x4269bc=[new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2417c9=>setTimeout(_0x2417c9,0x206c5731^_0x2b6275)),_0x2c4c39[_0x1e5f32([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x336db0=>{let _0x808f66=0x0;_0x5f407c[_0x1e5f32([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e5f32([0x6f,0x6e])](_0x1e5f32([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52b01b,_0x48b150)=>{_0x48b150[0x0][_0x1e5f32([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x808f66++,_0x808f66==(0x20656805^_0x2b6275)&&(_0x336db0(),_0x52b01b[_0x1e5f32([0x6f,0x66,0x66])]());});}))];return window[_0x1e5f32([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e5f32([0x72,0x61,0x63,0x65])](_0x4269bc)[_0x1e5f32([0x74,0x68,0x65,0x6e])](()=>_0x177be1);}async function _0x456865(){await _0x2c4c39,_0x5f407c[_0x1e5f32([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e5f32([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x398ddc,_0x5f407c[_0x1e5f32([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e5f32([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x398ddc,_0x5f407c[_0x1e5f32([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e5f32([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d5fa4(_0x5c0592){const _0x51cb60=_0x4bcb3e();_0x5f407c[_0x51cb60]=_0x1e5f32([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c0592,_0x5c0592!=_0x1e5f32([0x56,0x61,0x6c,0x69,0x64])&&_0x456865();}function _0x4bcb3e(){const _0x5829c2=window[_0x1e5f32([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e5f32([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e5f32([0x6e,0x6f,0x77])]())[_0x1e5f32([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e5f32([0x2e]),'');let _0x3e56bd=_0x1e5f32([0x50]);for(let _0x705f2e=0x0;_0x705f2e<_0x5829c2[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x705f2e+=0x2){let _0xf90a7=window[_0x1e5f32([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5829c2[_0x1e5f32([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x705f2e,_0x705f2e+0x2));_0xf90a7>=_0x391d90[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf90a7-=_0x391d90[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e56bd+=_0x391d90[_0xf90a7];}return _0x3e56bd;}function _0x4688f6(){const _0x277571=_0x1625d1[_0x1e5f32([0x73,0x70,0x6c,0x69,0x74])](_0x1e5f32([0x2e]));if(0x3!=_0x277571[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11f1e0(_0x277571[0x1]);function _0x11f1e0(_0x6c327b){const _0x4f4f66=_0x19a645(_0x6c327b);return _0x4f4f66&&_0x1309a6()?_0x4f4f66:null;function _0x1309a6(){const _0x283c1c=_0x4f4f66[_0x1e5f32([0x6a,0x74,0x69])],_0x407e02=window[_0x1e5f32([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x283c1c[_0x1e5f32([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x283c1c[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e884e={..._0x4f4f66,[_0x1e5f32([0x6a,0x74,0x69])]:_0x283c1c[_0x1e5f32([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x283c1c[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e884e[_0x1e5f32([0x76,0x63])],_0x274111(_0x3e884e)==_0x407e02;}}}async function _0x5df017(){let _0x28695d=!0x0;try{const _0x152758=_0x1625d1[_0x1e5f32([0x73,0x70,0x6c,0x69,0x74])](_0x1e5f32([0x2e])),[_0x4ecae2,_0x2d3636,_0x39508b]=_0x152758;return _0x358942(_0x4ecae2),await _0x4d8926(_0x4ecae2,_0x2d3636,_0x39508b),_0x28695d;}catch(_0xa133c7){return!0x1;}function _0x358942(_0x561f23){const _0x4ad4f4=_0x19a645(_0x561f23);_0x4ad4f4&&_0x4ad4f4[_0x1e5f32([0x61,0x6c,0x67])]==_0x1e5f32([0x45,0x53,0x32,0x35,0x36])||(_0x28695d=!0x1);}async function _0x4d8926(_0x3545b0,_0x2781f7,_0x356977){const _0x3db0d6=window[_0x1e5f32([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e5f32([0x66,0x72,0x6f,0x6d])](_0x20eaab(_0x356977),_0x51af17=>_0x51af17[_0x1e5f32([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x363b8c=new window[(_0x1e5f32([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e5f32([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3545b0+_0x1e5f32([0x2e])+_0x2781f7),_0x42c567=window[_0x1e5f32([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e5f32([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42c567)return;const _0x450eaf=await _0x42c567[_0x1e5f32([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e5f32([0x6a,0x77,0x6b]),_0x2595aa,{[_0x1e5f32([0x6e,0x61,0x6d,0x65])]:_0x1e5f32([0x45,0x43,0x44,0x53,0x41]),[_0x1e5f32([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e5f32([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e5f32([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42c567[_0x1e5f32([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e5f32([0x6e,0x61,0x6d,0x65])]:_0x1e5f32([0x45,0x43,0x44,0x53,0x41]),[_0x1e5f32([0x68,0x61,0x73,0x68])]:{[_0x1e5f32([0x6e,0x61,0x6d,0x65])]:_0x1e5f32([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x450eaf,_0x3db0d6,_0x363b8c)||(_0x28695d=!0x1);}}function _0x19a645(_0xa182ac){return _0xa182ac[_0x1e5f32([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e5f32([0x65,0x79]))?JSON[_0x1e5f32([0x70,0x61,0x72,0x73,0x65])](_0x20eaab(_0xa182ac)):null;}function _0x20eaab(_0x5c9150){return window[_0x1e5f32([0x61,0x74,0x6f,0x62])](_0x5c9150[_0x1e5f32([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e5f32([0x2b]))[_0x1e5f32([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e5f32([0x2f])));}function _0x274111(_0x530d8c){let _0x418f0d=0x1505;function _0x3366a2(_0x1765cf){for(let _0x43793f=0x0;_0x43793f<_0x1765cf[_0x1e5f32([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43793f++){const _0x3bf190=_0x1765cf[_0x1e5f32([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43793f);_0x418f0d=(_0x418f0d<<0x5)+_0x418f0d+_0x3bf190,_0x418f0d&=_0x418f0d;}}function _0x2fe02c(_0x481702){Array[_0x1e5f32([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x481702)?_0x481702[_0x1e5f32([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fe02c):_0x481702&&typeof _0x481702==_0x1e5f32([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e5f32([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x481702)[_0x1e5f32([0x73,0x6f,0x72,0x74])]()[_0x1e5f32([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x298ae1,_0x47808b])=>{_0x3366a2(_0x298ae1),_0x2fe02c(_0x47808b);}):_0x3366a2(window[_0x1e5f32([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x481702));}return _0x2fe02c(_0x530d8c),_0x418f0d>>>0x0;}function _0x45dd55(_0x3cf027){return _0x3cf027[_0x1e5f32([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e5f32([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e5f32([0x30]));}function _0x6c8efa(_0x15b8d0){return _0x15b8d0[_0x1e5f32([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e5f32([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e5f32([0x6a,0x6f,0x69,0x6e])]('');}function _0x398ddc(){}function _0x1e5f32(_0x233fb4){return _0x233fb4['map'](_0x1bb8df=>String['fromCharCode'](_0x1bb8df))['join']('');}_0x1d5fa4(await _0x3428c5());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x31044e=this['editor'],_0x36eac1=_0x31044e['editing']['view'],_0xd02321=this['_getAttachedDomRoot']();if(!_0xd02321||0x0===_0xd02321['childElementCount'])return void _0x31044e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x213052,pageHeight:_0x65f9a7}=_0x31044e['config']['get']('pagination'),{top:_0x159c39,left:_0x2cfdae,bottom:_0x3816c1,right:_0x4a343e}=this['_configuredPaddings'];this['_pagesContainer']=new _0x25178e(_0x31044e['locale']);const _0x5e1bfa=this['_pagesContainer'];_0x5e1bfa['set']('class',''),_0x5e1bfa['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x213052,'width':_0x213052,'height':'calc(\x20'+_0x65f9a7+'\x20-\x20'+_0x159c39+'\x20-\x20'+_0x3816c1+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4a343e+'\x200\x20'+_0x2cfdae,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x5e1bfa['bindTemplate']['to']('class')}}),_0x5e1bfa['render'](),_0xd02321['parentNode']['insertBefore'](_0x5e1bfa['element'],_0xd02321['nextSibling']),this['listenTo'](_0x36eac1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x28ba62 of this['editor']['editing']['view']['domRoots']['values']())if(_0x28ba62['ownerDocument']['body']['contains'](_0x28ba62))return _0x28ba62;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x583895=this['editor']['editing']['view'],_0x1fdd70=this['_pagesContainer'],_0x30e564=this['_getAttachedDomRoot']();if(!_0x30e564)return Promise['resolve']();for(_0x1fdd70['class']=['ck-reset','ck-pagination-view',..._0x30e564['classList']]['join']('\x20');_0x1fdd70['element']['firstChild'];)_0x1fdd70['element']['firstChild']['remove']();const _0x56721b=Array['from'](_0x583895['domRoots']);_0x56721b['sort'](([,_0x4da8b4],[,_0x23a5b9])=>_0x4da8b4['compareDocumentPosition'](_0x23a5b9)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3de6fe,_0x309993]of _0x56721b){const _0x34176a=_0x309993['cloneNode'](!0x0);'attributeStyleMap'in _0x34176a&&_0x34176a['attributeStyleMap']['clear'](),_0x34176a['className']='',_0x34176a['removeAttribute']('id'),_0x34176a['dataset']['rootName']=_0x3de6fe,_0x1fdd70['element']['append'](_0x34176a);}return function(_0x3372de){return Promise['all'](_0x3372de['map'](_0x2ee4a3=>Promise['race']([p(_0x2ee4a3),y(0x3e8)])));}(Array['from'](_0x1fdd70['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0xd07efc=this['_pagesContainer']['element'];if(!_0xd07efc['ownerDocument']['body']['contains'](_0xd07efc))return;const _0x1ad4bf=new _0x175d67(_0xd07efc)['excludeScrollbarsAndBorders'](),_0x52533a=_0x202979['window']['getComputedStyle'](_0xd07efc),_0x2fbc72=parseFloat(_0x52533a['paddingLeft'])+parseFloat(_0x52533a['paddingRight']),_0x124924=Math['floor'](_0x1ad4bf['width']+0x64-_0x2fbc72),_0x4cde45=x(_0xd07efc,Math['floor'](_0x1ad4bf['left']-_0xd07efc['scrollLeft']),_0x124924,_0x1ad4bf['height'])['map'](_0x459e3c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x459e3c));_0x4cde45['every'](_0x1aefbc=>!!_0x1aefbc)&&(this['pageBreaks']=_0x4cde45);}['_mapPageStarterInfoToPageBreakInfo'](_0x10e319){const _0x35788d=this['editor']['editing']['view'],_0x571086=this['editor']['editing']['mapper'],_0x13225b=_0x35788d['domConverter'],_0x4ca07a=_0x10e319['path']['shift'](),_0x3c6f44=this['_pagesContainer']['element']['childNodes'][_0x4ca07a]['dataset']['rootName'],_0x46960d=_0x35788d['getDomRoot'](_0x3c6f44);if(!_0x46960d)return null;const _0x43885c=function(_0x54da49,_0x1c89f1){let _0xb2dfb0=_0x54da49;for(const _0x4c63a0 of _0x1c89f1['path']){if(!_0xb2dfb0)return null;_0xb2dfb0=_0xb2dfb0['childNodes'][_0x4c63a0];}return _0xb2dfb0;}(_0x46960d,_0x10e319);if(!_0x43885c)return null;const _0x2e745a=_0x13225b['domPositionToView'](_0x43885c,_0x10e319['textOffset']||0x0);return _0x2e745a?'manual'==_0x10e319['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2e745a,_0x43885c):'text'==_0x10e319['type']&&_0x571086['toModelPosition'](_0x2e745a)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2e745a,_0x43885c,_0x10e319['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2e745a,_0x43885c,_0x10e319['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x550479,_0x1104c8){const _0x3d5465=this['editor']['model'],_0x414924=this['editor']['editing']['mapper']['toModelElement'](_0x550479['parent']),_0xb133d3=_0x3d5465['createRangeOn'](_0x414924);return new K({'type':'manual','modelRange':_0xb133d3,'domNode':_0x1104c8,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x32e066,_0x5e0df6,_0x3ec95e){const _0x28ab7b=this['editor']['model'],_0xb43b17=this['editor']['editing']['mapper'],_0x3c44f7=this['editor']['editing']['view']['domConverter'];if(_0x3ec95e>=_0x5e0df6['length'])return null;const _0xa3e65b=_0xb43b17['toModelPosition'](_0x32e066),_0x492c74=_0x28ab7b['createRange'](_0xa3e65b),_0x23d850=_0xb43b17['findMappedViewAncestor'](_0x32e066),_0xb3d6f3=_0x3c44f7['mapViewToDom'](_0x23d850);return new K({'type':'text','modelRange':_0x492c74,'domNode':_0x5e0df6,'offset':m(_0x5e0df6,_0x3ec95e,_0xb3d6f3)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x321049,_0x5e12e4,_0x2cc0e8){const _0x3cf511=this['editor']['model'],_0x4efe11=this['editor']['editing'],_0x377aea=_0x4efe11['mapper'],_0x36afb9=_0x4efe11['view']['domConverter'],_0x1403e3=_0x377aea['findMappedViewAncestor'](_0x321049),_0x4fba1f=_0x377aea['toModelElement'](_0x1403e3),_0xe66662=function(_0x46a3d8){const _0x25965=_0x46a3d8['parent'],_0x398898=_0x25965['root']['document']['model'],_0x251526=_0x25965['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1277e9=null;for(const _0x128cb2 of _0x251526){if(_0x128cb2['is']('rootElement'))return _0x1277e9;if(!_0x398898['createPositionBefore'](_0x128cb2)['isTouching'](_0x46a3d8))return _0x1277e9;_0x1277e9=_0x128cb2;}}(_0x3cf511['createPositionBefore'](_0x4fba1f)),_0x577bbe=_0xe66662||_0x4fba1f;let _0x53271c=_0x377aea['toViewElement'](_0x577bbe),_0x1287af=_0x3cf511['createRangeOn'](_0x577bbe);const _0x250e15=_0x3cf511['createPositionBefore'](_0x577bbe)['nodeBefore'];if(_0x250e15&&_0x250e15['is']('element','imageBlock')){const _0xdaa56f=_0x377aea['toViewElement'](_0x250e15),_0x10e391=_0x36afb9['mapViewToDom'](_0xdaa56f),_0x1437ac=_0x202979['window']['getComputedStyle'](_0x10e391)['float'];'left'!=_0x1437ac&&'right'!=_0x1437ac||(_0x1287af=_0x3cf511['createRangeOn'](_0x250e15));}for(;_0x53271c['parent']!==_0x53271c['root']&&0x0===_0x53271c['index'];)_0x53271c=_0x53271c['parent'];const _0x538c89=new _0x175d67(S(_0x5e12e4)?_0x5e12e4:P(_0x5e12e4)),_0x278490=_0x2cc0e8?_0x538c89['height']-_0x2cc0e8:0x0,_0x5175e2=_0x36afb9['mapViewToDom'](_0x53271c),_0x5b0e25=new _0x175d67(_0x5175e2);return new K({'type':'element','modelRange':_0x1287af,'domNode':_0x5175e2,'offset':Math['round'](_0x278490)?_0x278490+_0x538c89['top']-_0x5b0e25['top']:0x0});}get['_configuredPaddings'](){const _0x3def98=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3def98);}static['_findPageStarterInfos'](_0x35f04a,_0x200b6a,_0x129d05,_0x5cc83a,_0x151cc7){return x(_0x35f04a,_0x200b6a,_0x129d05,_0x5cc83a,_0x151cc7);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x29c038,modelRange:_0x26e66e,domNode:_0x3676ef,offset:_0x8d86b2}){this['type']=_0x29c038,this['modelRange']=_0x26e66e,this['_domNode']=_0x3676ef,this['_offset']=_0x8d86b2;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x592a63=new _0x175d67(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x592a63['top']+_0x592a63['height']/0x2:_0x592a63['top']+this['_offset'];}}function m(_0x28bc94,_0x539415,_0x3de4e6){const _0x5a5c4f=P(_0x28bc94),_0x561680=function(_0x3261d6){const _0x353d4d=_0x202979['document']['createRange']();return _0x353d4d['selectNodeContents'](_0x3261d6),_0x353d4d;}(_0x3de4e6);let _0x4a3349;_0x4a3349=0x0==_0x539415?b(_0x561680['startContainer'],_0x561680['startOffset'],_0x28bc94['parentNode'],Array['from'](_0x28bc94['parentNode']['childNodes'])['indexOf'](_0x28bc94)):b(_0x561680['startContainer'],_0x561680['startOffset'],_0x28bc94,_0x539415);const _0x5d9a42=b(_0x28bc94,_0x539415,_0x561680['endContainer'],_0x561680['endOffset']),_0x1bb7ef=new _0x175d67(_0x4a3349)['bottom'];return(new _0x175d67(_0x5d9a42)['top']+_0x1bb7ef)/0x2-new _0x175d67(_0x5a5c4f)['top'];}function p(_0x1419f5){return _0x1419f5['hasAttribute']('width')&&_0x1419f5['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2c14c9=>{function _0x55c260(){_0x1419f5['removeEventListener']('load',_0x55c260),_0x1419f5['removeEventListener']('error',_0x55c260),_0x2c14c9();}_0x1419f5['complete']?_0x2c14c9():(_0x1419f5['addEventListener']('load',_0x55c260),_0x1419f5['addEventListener']('error',_0x55c260));});}function y(_0x7f1312){return new Promise(_0x19aae9=>setTimeout(_0x19aae9,_0x7f1312));}function P(_0x4f7d00){const _0x2a2d30=_0x202979['document']['createRange']();return _0x2a2d30['selectNode'](_0x4f7d00),_0x2a2d30;}function k(_0xf1162f,_0x6b857e,_0x43f0f4){const _0x3d230c=_0x202979['document']['createRange']();return _0x3d230c['setStart'](_0xf1162f,_0x6b857e),_0x3d230c['setEnd'](_0xf1162f,_0x43f0f4),_0x3d230c;}function b(_0x4f343a,_0x4718df,_0x2dead5,_0xc66a6f){const _0x43937d=_0x202979['document']['createRange']();return _0x43937d['setStart'](_0x4f343a,_0x4718df),_0x43937d['setEnd'](_0x2dead5,_0xc66a6f),_0x43937d;}function x(_0x50a2e2,_0x2eec3b,_0x553c31,_0x225af6,_0x50b3a8){const _0x5c9025=[];for(const [_0x429e7a,_0x24d0fb]of _0x50a2e2['childNodes']['entries']()){let _0x124c71=[];S(_0x24d0fb)&&_0x24d0fb['offsetParent']&&!_0x24d0fb['style']['position']?_0x124c71=_(_0x24d0fb,_0x429e7a,_0x2eec3b,_0x553c31,_0x225af6,_0x50b3a8):R(_0x24d0fb)&&(_0x124c71=B(_0x24d0fb,_0x429e7a,_0x2eec3b,_0x553c31,_0x50b3a8)),_0x124c71['length']&&(_0x5c9025['push'](..._0x124c71),_0x2eec3b+=_0x124c71['length']*_0x553c31,_0x50b3a8=!0x1);}return _0x5c9025;}function _(_0x2805c5,_0x28f5cc,_0x4bdf5d,_0x37d7d1,_0x4327f0,_0x252b74){const _0x3c0731=[];var _0x327380;if((_0x327380=_0x2805c5['previousSibling'])&&S(_0x327380)&&Boolean(_0x327380['classList']['contains']('page-break')||_0x327380['closest']('.page-break'))&&(_0x3c0731['push']({'type':'manual','offset':0x0,'path':[_0x28f5cc-0x1]}),_0x252b74=!0x0),'table-row'==_0x202979['window']['getComputedStyle'](_0x2805c5)['display']){let _0x55906f=0x0,_0x733c95=!0x1;for(const _0x1f7d9b of _0x2805c5['getClientRects']())_0x55906f+=_0x1f7d9b['height'],_0x1f7d9b['left']>=_0x4bdf5d&&(_0x733c95=!0x0);if(_0x55906f<_0x4327f0&&_0x733c95)return _0x3c0731['push']({'type':'element','offset':0x0,'path':[_0x28f5cc]}),_0x3c0731;}const _0x5daffa=_0x2805c5['closest']('figure.image');if(_0x5daffa&&function(_0x5262b9){let _0x191f4e=!0x1;const _0x40c5b6=_0x5262b9['parentElement'],_0x196809=_0x40c5b6['dataset']['rootName'],_0x2ad779=_0x5262b9['nextElementSibling'],_0x4a3594=_0x5262b9['previousElementSibling'],_0x226bfd=_0x2ad779&&_0x202979['window']['getComputedStyle'](_0x2ad779)['float'],_0x526525=_0x2ad779&&'ck-fake-selection-container'===_0x2ad779['className'];!_0x196809||_0x2ad779||_0x4a3594||(_0x191f4e=!0x0),_0x196809&&!_0x4a3594&&_0x526525&&(_0x191f4e=!0x0),_0x196809&&!_0x4a3594&&'none'!==_0x226bfd&&(_0x191f4e=!0x0);if(_0x191f4e)return!0x1;return!0x0;}(_0x5daffa)){const _0x50cd32=_0x202979['window']['getComputedStyle'](_0x5daffa)['float'];if('left'==_0x50cd32||'right'==_0x50cd32)return _0x3c0731;}const _0x433ca5=x(_0x2805c5,_0x4bdf5d,_0x37d7d1,_0x4327f0,_0x252b74);if(_0x433ca5['length']){for(const _0x56d980 of _0x433ca5)_0x3c0731['push']({'type':_0x56d980['type'],'offset':_0x56d980['offset'],'textOffset':_0x56d980['textOffset'],'path':[_0x28f5cc,..._0x56d980['path']]}),_0x4bdf5d+=_0x37d7d1,_0x252b74=!0x1;return _0x3c0731;}return _0x3c0731['push'](...function(_0x1b2e0a,_0x32790a,_0x532349,_0x59476f,_0x4ceecd){const _0x313a84=[];if('table-cell'==_0x202979['window']['getComputedStyle'](_0x1b2e0a)['display'])return[];const _0x3ff779=[];for(const _0x295bb9 of _0x1b2e0a['getClientRects']())if(_0x295bb9['left']>=_0x532349){for(const _0x1f454d of _0x3ff779)_0x1f454d['height']+=_0x295bb9['height'];_0x3ff779['push']({'height':_0x295bb9['height']}),_0x532349+=_0x59476f;}for(const _0x15de41 of _0x3ff779)_0x4ceecd||_0x313a84['push']({'type':'element','offset':_0x15de41['height'],'textOffset':0x0,'path':[_0x32790a]}),_0x4ceecd=!0x1;return _0x313a84;}(_0x2805c5,_0x28f5cc,_0x4bdf5d,_0x37d7d1,_0x252b74)),_0x3c0731;}function B(_0x50d561,_0x82de6c,_0x2aea3c,_0x2a80cf,_0x154584){const _0x2cc834=P(_0x50d561),_0x3f9fde=[];let _0x4fac10=0x0;for(const _0x205d9f of _0x2cc834['getClientRects']())if(_0x205d9f['left']>=_0x2aea3c){const _0x22cb2a=I(_0x50d561,_0x4fac10,_0x2aea3c,_0x2a80cf);_0x154584||_0x3f9fde['push']({'type':'text','path':[_0x82de6c],'textOffset':_0x22cb2a}),_0x4fac10=_0x22cb2a,_0x2aea3c+=_0x2a80cf,_0x154584=!0x1;}return _0x3f9fde;}function I(_0x4cac8a,_0x4f01b8,_0x4fbb97,_0xfc3057){let _0x369c63=_0x4f01b8,_0x2b6886=_0x4cac8a['length'];for(;_0x2b6886-_0x369c63>0x1;){const _0x53423c=Math['ceil']((_0x369c63+_0x2b6886)/0x2);N(k(_0x4cac8a,_0x369c63,_0x53423c),_0x4fbb97,_0xfc3057)?_0x2b6886=_0x53423c:_0x369c63=_0x53423c;}return _0x369c63;}function N(_0x25ab02,_0x1ca104,_0x5191ba){for(const _0x23a393 of _0x25ab02['getClientRects']())if(_0x23a393['left']>=_0x1ca104&&_0x23a393['left']<_0x1ca104+_0x5191ba)return!0x0;return!0x1;}function S(_0x537997){return _0x537997['nodeType']==Node['ELEMENT_NODE'];}function R(_0x3dec7c){return _0x3dec7c['nodeType']==Node['TEXT_NODE'];}const z=_0x2d68d1('px');class V extends _0x25178e{constructor(){super();const _0x418b96=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x418b96['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x418b96['if']('isVisible','ck-hidden',_0x16688f=>!_0x16688f)],'style':{'left':_0x418b96['to']('left',_0x1f5748=>z(_0x1f5748)),'top':_0x418b96['to']('top',_0x26b611=>z(_0x26b611)),'width':_0x418b96['to']('width',_0xa09a6f=>z(_0xa09a6f))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x35db28){this['_viewCollection']=_0x35db28['ui']['view']['body'];}['destroy'](){for(const _0x2b1b6a of this['_hiddenLines'])_0x2b1b6a['destroy']();}['cleanLines'](){for(const _0x9a0b64 of this['_visibleLines'])_0x9a0b64['isVisible']=!0x1,this['_hiddenLines']['add'](_0x9a0b64);this['_visibleLines']['clear']();}['showLine'](_0xd32baa,_0x2a6221,_0x304d09,_0x46ae9d){let _0x4f8329;this['_hiddenLines']['size']?(_0x4f8329=_0xabb296(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4f8329)):_0x4f8329=new V(),_0x4f8329['set']({'pageNumber':_0x46ae9d,'left':_0xd32baa,'top':_0x2a6221,'width':_0x304d09}),_0x4f8329['isVisible']=!0x0,this['_viewCollection']['has'](_0x4f8329)||this['_viewCollection']['add'](_0x4f8329),this['_visibleLines']['add'](_0x4f8329);}['setViewCollection'](_0xfaccba){this['_viewCollection']=_0xfaccba;}}const L='ck-pagination_enabled';class c extends _0x3e9c45{['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',(_0x2d49c7,_0x12892f,_0x19aa4d)=>{_0x19aa4d||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x19aa4d);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4e2cdf){if(!this['isEnabled'])return;const _0x424696=_0x4e2cdf>0x1?this['_getPageBreakLineOffset'](_0x4e2cdf-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x424696-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2fafcf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x553eb0=this['editor'],_0x1c0eb8=this['_getAttachedDomRoot']();_0x1c0eb8?(this['_scrollableEditingRootDomAncestor']&&_0x553eb0['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x59a8f0){let _0x7e23e5=_0x59a8f0;do{_0x7e23e5=_0x7e23e5['parentElement'];const _0x5d1c03=_0x202979['window']['getComputedStyle'](_0x7e23e5)['overflowY'];if('auto'==_0x5d1c03||'scroll'==_0x5d1c03)break;}while('BODY'!=_0x7e23e5['tagName']);return _0x7e23e5;}(_0x1c0eb8),_0x553eb0['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x85feb5(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x553eb0['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x12afb0=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x12afb0['ui']['view']['listenTo'](_0x202979['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x12afb0['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x51397f of this['editor']['editing']['view']['domRoots']['values']())if(_0x51397f['ownerDocument']['body']['contains'](_0x51397f))return _0x51397f;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x135ea0=this['_getAttachedDomRoot'](),_0x54c98c=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x135ea0||0x1==_0x54c98c['length'])return void(this['pageNumber']=0x1);const _0x3e1f72=new _0x175d67(_0x135ea0)['excludeScrollbarsAndBorders'](),_0x364d18=new _0x175d67(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4a5811=_0x364d18['top']+_0x364d18['height']/0x3;let _0x1bd6a0=!0x1;const _0x384821=[];for(let _0x49ca3d=0x1;_0x49ca3d<_0x54c98c['length'];_0x49ca3d++){const _0x5a4821=this['_getPageBreakLineOffset'](_0x49ca3d,_0x364d18);if(!_0x5a4821)continue;const _0x400b8a=_0x364d18['top']+_0x5a4821-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x384821['push']({'pageOffsetTop':_0x400b8a,'domRootRect':_0x3e1f72,'domScrollableRect':_0x364d18,'pageNumber':_0x49ca3d}),_0x400b8a>_0x4a5811&&!_0x1bd6a0&&(this['pageNumber']=_0x49ca3d,_0x1bd6a0=!0x0);}this['_renderPageBreakLines'](_0x384821),_0x1bd6a0||(this['pageNumber']=_0x54c98c['length']);}['_renderPageBreakLines'](_0x3d8213){const {scrollX:_0x18790d,scrollY:_0xe9f83e}=_0x202979['window'];if(_0x3d8213['length']){for(const {domScrollableRect:_0x571484,pageOffsetTop:_0xd47aa,domRootRect:_0xef180d,pageNumber:_0x16a81c}of _0x3d8213)_0x571484['top']<_0xd47aa&&_0xd47aa<_0x571484['bottom']&&this['linesRepository']['showLine'](_0xef180d['left']+_0x18790d,_0xd47aa+_0xe9f83e,_0xef180d['width'],_0x16a81c+0x1);}}['_getPageBreakLineOffset'](_0x3a8086,_0x10d53b=null){const _0x530b2b=this['_paginationLookupPlugin']['pageBreaks'][_0x3a8086]['offset'];return _0x530b2b?(_0x10d53b||(_0x10d53b=new _0x175d67(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x530b2b-_0x10d53b['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xb56e3,_0xa43665=!0x0){const _0x1e4021=this['editor']['editing']['view'];_0x1e4021['change'](_0x485adf=>{for(const _0x22a0e4 of _0x1e4021['document']['roots'])_0xa43665?_0x485adf['addClass'](_0xb56e3,_0x22a0e4):_0x485adf['removeClass'](_0xb56e3,_0x22a0e4);});}}function g(_0x4eeee1,_0x3456d8,..._0x43dbe0){const t=_0x4eeee1['t'];switch(_0x3456d8){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)',..._0x43dbe0);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 _0x3456d8;}}class s extends _0x3e9c45{['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 _0x4252cb=this['editor']['plugins']['get']('Pagination'),_0x4869da=this['editor']['plugins']['get'](n),_0x188d43=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x4252cb),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x188d43),this['listenTo'](_0x4869da,'change:pageBreaks',(_0x2be0e2,_0x234e4a,_0x31ce35,_0x11edfc)=>{this['totalPages']=_0x31ce35['length'],this['_updatePageBreakMarkers'](_0x31ce35,_0x11edfc);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe99308=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x482c73;for(const _0x2d91e6 in _0xe99308){const _0x1b3679=_0x2d91e6,_0x157fa9=_0xe99308[_0x1b3679];if('paginationLicenseKeyValid'==_0x157fa9||'paginationLicenseKeyInvalid'==_0x157fa9||'paginationLicenseKeyExpired'==_0x157fa9||'paginationLicenseKeyDomainLimit'==_0x157fa9||'paginationLicenseKeyNotAllowed'==_0x157fa9||'paginationLicenseKeyEvaluationLimit'==_0x157fa9||'paginationLicenseKeyTrialLimit'==_0x157fa9||'paginationLicenseKeyUsageLimit'==_0x157fa9){delete _0xe99308[_0x1b3679],_0x482c73=_0x157fa9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x482c73&&_0xe99308['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x482c73&&_0xe99308['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x482c73&&_0xe99308['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x482c73&&_0xe99308['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x482c73&&_0xe99308['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x482c73&&_0xe99308['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x482c73&&_0xe99308['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x548373){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x548373));}['moveSelectionToPage'](_0x1266e2){if(!this['isEnabled'])return;const _0x307a49=this['editor'],_0xe08a6c=this['editor']['plugins']['get'](n)['pageBreaks'][_0x1266e2-0x1];_0xe08a6c&&_0x307a49['model']['change'](_0x4fb4fd=>{switch(_0xe08a6c['type']){case'manual':{const _0x101a8d=_0x307a49['model']['schema']['getNearestSelectionRange'](_0xe08a6c['modelRange']['end'],'forward');_0x4fb4fd['setSelection'](_0x101a8d);break;}case'element':{const _0x29b424=_0x307a49['model']['schema']['getNearestSelectionRange'](_0xe08a6c['modelRange']['start'],'forward');_0x4fb4fd['setSelection'](_0x29b424);break;}case'text':{const _0x2390fa=_0xe08a6c['modelRange']['start'];if('\x20'===_0x2390fa['textNode']['data'][_0x2390fa['offset']]){const _0x41d742=_0x4fb4fd['createPositionAt'](_0x2390fa['parent'],_0x2390fa['offset']+0x1);_0x4fb4fd['setSelection'](_0x41d742);}else _0x4fb4fd['setSelection'](_0xe08a6c['modelRange']);}}_0x307a49['editing']['view']['focus']();});}['goToNextPage'](){const _0x4099b4=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4099b4),this['scrollToPage'](_0x4099b4);}['goToPreviousPage'](){const _0x4128be=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4128be),this['scrollToPage'](_0x4128be);}['_updatePageBreakMarkers'](_0x1bf937,_0xabf4bc){const _0x96a3d=this['editor']['model'];this['isEnabled']&&_0x96a3d['change'](_0x2a373b=>{for(let _0x59024c=0x1;_0x59024c<_0x1bf937['length'];_0x59024c++){const _0x5481e0=_0x1bf937[_0x59024c]['modelRange'],_0x8673d='pagination:'+(_0x59024c+0x1);_0x96a3d['markers']['has'](_0x8673d)?_0x2a373b['updateMarker'](_0x8673d,{'range':_0x5481e0}):_0x2a373b['addMarker'](_0x8673d,{'range':_0x5481e0,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4e9fa0=_0x1bf937['length'];_0x4e9fa0<_0xabf4bc['length'];_0x4e9fa0++){const _0x5ede23='pagination:'+(_0x4e9fa0+0x1);_0x96a3d['markers']['has'](_0x5ede23)&&_0x2a373b['removeMarker'](_0x5ede23);}});}['_setUpDataDowncastConversion'](){const _0x454ef8='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x6b2f7d=>{_0x6b2f7d['on']('addMarker:'+_0x454ef8,(_0x1223b6,{markerRange:_0x196c15,markerName:_0x45c546},_0x168a84)=>{if(!_0x168a84['options']['pagination'])return;if(!_0x168a84['consumable']['consume'](_0x196c15,_0x1223b6['name']))return;const _0x2fa1f7=_0x196c15['getContainedElement']();let _0x37b46e=_0x2fa1f7?_0x168a84['mapper']['toViewElement'](_0x2fa1f7):null;if(!_0x37b46e){const _0x251992=_0x196c15['start'];if(_0x168a84['schema']['checkChild'](_0x251992,'$text')){const _0x131166=_0x168a84['mapper']['toViewPosition'](_0x251992);_0x37b46e=_0x168a84['writer']['createContainerElement']('span'),_0x37b46e['getFillerOffset']=()=>null,_0x168a84['writer']['insert'](_0x131166,_0x37b46e);}else{const _0x1e54c6=_0x251992['nodeAfter'];_0x37b46e=_0x168a84['mapper']['toViewElement'](_0x1e54c6);}}for(;_0x37b46e['parent']!==_0x37b46e['root']&&0x0===_0x37b46e['index'];)_0x37b46e=_0x37b46e['parent'];const _0x4e715e=_0x45c546['substring'](0xb);_0x37b46e['hasClass']('page-break')||(_0x168a84['writer']['setStyle']('page-break-before','always',_0x37b46e),_0x168a84['writer']['setAttribute']('data-pagination-page',_0x4e715e,_0x37b46e),_0x168a84['mapper']['bindElementToMarker'](_0x37b46e,_0x45c546)),_0x1223b6['stop']();});});}['_setupKeystrokes'](){const _0xbf39ba=this['editor'];_0xbf39ba['keystrokes']['set']('Shift+Pageup',(_0x46dd9b,_0x20b493)=>{this['goToPreviousPage'](),_0x20b493();}),_0xbf39ba['keystrokes']['set']('Shift+Pagedown',(_0x54d28a,_0x3c83a7)=>{this['goToNextPage'](),_0x3c83a7();}),_0xbf39ba['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0xbf39ba['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0xbf39ba['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0xbf39ba['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3d39f5){return _0x3d39f5<0x1&&(_0x3d39f5=0x1),_0x3d39f5>this['totalPages']&&(_0x3d39f5=this['totalPages']),_0x3d39f5;}}class U extends _0x25178e{['pageNumberView'];constructor(_0x29a86d){super(_0x29a86d);const _0xf7faf1=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x287e53(_0x29a86d,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x55280a=>g(_0x29a86d,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x55280a)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x9383fd=>!_0x9383fd),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xf7faf1['if']('isEnabled','ck-disabled',_0x485575=>!_0x485575)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xf7faf1['to']('totalPages')}]}]});}['render'](){super['render']();const _0x215ae6=this['pageNumberView']['element'],_0x595116=_0x1f0fc3=>{this['pageNumberView']['element']['value']=String(_0x1f0fc3);};_0x595116(this['pageNumber']),this['on']('change:pageNumber',(_0x46408a,_0x36e733,_0x5a13f9)=>{_0x595116(_0x5a13f9);}),this['listenTo'](_0x215ae6,'keydown',(_0x5128ad,_0xfd0260)=>{if('ArrowUp'===_0xfd0260['key']||'ArrowDown'===_0xfd0260['key'])return void _0xfd0260['stopPropagation']();if(_0xfd0260['keyCode']!==_0x5ec598['enter'])return;_0xfd0260['preventDefault']();const _0x587903=_0x215ae6['valueAsNumber'];Number['isNaN'](_0x587903)?_0x215ae6['value']=String(this['pageNumber']):(_0x215ae6['checkValidity']()?this['pageNumber']=_0x587903:_0x587903>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x215ae6['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x215ae6['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x215ae6,'blur',()=>{_0x215ae6['value']=String(this['pageNumber']);}),this['listenTo'](_0x215ae6,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3e9c45{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49ad5a=this['editor'],_0x3b5995=_0x49ad5a['plugins']['get']('PaginationEditing');_0x49ad5a['ui']['componentFactory']['add']('pageNavigation',_0xd22bc1=>{const _0x401453=new U(_0xd22bc1);return _0x401453['bind']('pageNumber')['to'](_0x3b5995),_0x401453['bind']('totalPages')['to'](_0x3b5995),_0x401453['bind']('isEnabled')['to'](_0x3b5995),_0x401453['on']('navigation',(_0x5a31bc,_0x2b2474)=>{_0x3b5995['moveSelectionToPage'](_0x2b2474),_0x3b5995['scrollToPage'](_0x2b2474);}),_0x401453;}),_0x49ad5a['ui']['componentFactory']['add']('nextPage',_0x438e33=>{const _0x5d9a0a=new _0xfb4a6e(_0x438e33);return _0x5d9a0a['isEnabled']=!0x0,_0x5d9a0a['label']=g(_0x49ad5a['locale'],'Go\x20to\x20next\x20page'),_0x5d9a0a['icon']=_0x87a4ab,_0x5d9a0a['tooltip']=!0x0,_0x5d9a0a['keystroke']='Shift+PageDown',_0x5d9a0a['bind']('isEnabled')['to'](_0x3b5995),this['listenTo'](_0x5d9a0a,'execute',()=>{_0x3b5995['goToNextPage']();}),_0x5d9a0a;}),_0x49ad5a['ui']['componentFactory']['add']('previousPage',_0x4413aa=>{const _0x1083ef=new _0xfb4a6e(_0x4413aa);return _0x1083ef['isEnabled']=!0x0,_0x1083ef['label']=g(_0x49ad5a['locale'],'Go\x20to\x20previous\x20page'),_0x1083ef['icon']=_0x2dba12,_0x1083ef['tooltip']=!0x0,_0x1083ef['keystroke']='Shift+PageUp',_0x1083ef['bind']('isEnabled')['to'](_0x3b5995),this['listenTo'](_0x1083ef,'execute',()=>{_0x3b5995['goToPreviousPage']();}),_0x1083ef;});}}class a extends _0x3e9c45{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0xff9ed8){super(_0xff9ed8),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x22876a=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x22876a),this['bind']('totalPages')['to'](_0x22876a),_0x2fafcf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4cbac4){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4cbac4);}}export{a as Pagination,c as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x3e926d}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x280bd8,InputNumberView as _0x5645db,ButtonView as _0x4a8aed}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0xe8d7eb,Rect as _0x582086,global as _0xf36738,uid as _0xc42670,toUnit as _0x43e202,first as _0x4c3943,env as _0x2cf50f,ResizeObserver as _0x6427ac,keyCodes as _0x2e99db}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x52ed51}from'es-toolkit/compat';import{IconArrowDown as _0x21e691,IconArrowUp as _0x44903f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3e926d{['_recalculatePageBreaksDebounced']=_0x52ed51(()=>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 _0xe8d7eb('pagination-config-not-found',this['editor']['config']);const _0x588006=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x588006),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x31a641,_0x78305b,_0x2595e0)=>{_0x2595e0&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x2284ed){const _0xd32471=_0x42e5f9([0x6f,0x58,0x68,0x45,0x71,0x35,0x30,0x42,0x38,0x34,0x79,0x70,0x32,0x33,0x52,0x53,0x37,0x43,0x49,0x50,0x6e,0x55,0x63,0x65,0x54,0x77,0x5a,0x4c,0x67,0x62,0x74,0x4a,0x47,0x31,0x73,0x48,0x44,0x72,0x78,0x4b,0x46,0x61,0x36,0x56,0x51,0x4d,0x69,0x6c,0x4f,0x39,0x76,0x6a,0x6d,0x41,0x64,0x66,0x4e,0x7a,0x59,0x6b,0x75,0x57]),_0x71256e=0x4fca347,_0x599bc=0x4fbc0df^_0x71256e,_0x5a8785=window[_0x42e5f9([0x44,0x61,0x74,0x65])][_0x42e5f9([0x6e,0x6f,0x77])](),_0x32c5c3=_0x2284ed[_0x42e5f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2aecd6=new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e74e0=>{_0x32c5c3[_0x42e5f9([0x6f,0x6e,0x63,0x65])](_0x42e5f9([0x72,0x65,0x61,0x64,0x79]),_0x3e74e0);}),_0x1029fb={[_0x42e5f9([0x6b,0x74,0x79])]:_0x42e5f9([0x45,0x43]),[_0x42e5f9([0x75,0x73,0x65])]:_0x42e5f9([0x73,0x69,0x67]),[_0x42e5f9([0x63,0x72,0x76])]:_0x42e5f9([0x50,0x2d,0x32,0x35,0x36]),[_0x42e5f9([0x78])]:_0x42e5f9([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]),[_0x42e5f9([0x79])]:_0x42e5f9([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]),[_0x42e5f9([0x61,0x6c,0x67])]:_0x42e5f9([0x45,0x53,0x32,0x35,0x36])},_0xf78218=_0x32c5c3[_0x42e5f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42e5f9([0x67,0x65,0x74])](_0x42e5f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xfd9dd2(){let _0x177c81,_0x46c34a=null,_0x550889=null;try{if(_0xf78218==_0x42e5f9([0x47,0x50,0x4c]))return _0x42e5f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x177c81=_0x2c79cb(),!_0x177c81)return _0x42e5f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x177c81[_0x42e5f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x550889=_0x383cb2(_0x177c81[_0x42e5f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x177c81[_0x42e5f9([0x6a,0x74,0x69])])),await _0x27b0c9()?_0xc40d7b()?_0xdbd8b5()?_0x42e5f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29f6bb()?(_0x177c81[_0x42e5f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42e5f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46c34a=_0x5d61fb(_0x42e5f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x177c81[_0x42e5f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42e5f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x46c34a=_0x5d61fb(_0x42e5f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e99b8()):_0x42e5f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42e5f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42e5f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2608ce){return _0x42e5f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdbd8b5(){const _0x11b095=[_0x42e5f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42e5f9([0x74,0x72,0x69,0x61,0x6c])][_0x42e5f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x177c81[_0x42e5f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a8785/0x3e8:0xe10*_0x599bc;return _0x177c81[_0x42e5f9([0x65,0x78,0x70])]<_0x11b095;}function _0xc40d7b(){const _0x25b37a=_0x177c81[_0x42e5f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25b37a&&(!!_0x25b37a[_0x42e5f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42e5f9([0x2a]))||!!_0x25b37a[_0x42e5f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42e5f9([0x50,0x41,0x47])));}function _0x29f6bb(){const _0x5f01c0=_0x177c81[_0x42e5f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f01c0||0x0==_0x5f01c0[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b8a9c}=new URL(window[_0x42e5f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f01c0[_0x42e5f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8a9c))return!0x0;const _0x4d0d5e=_0x1b8a9c[_0x42e5f9([0x73,0x70,0x6c,0x69,0x74])](_0x42e5f9([0x2e]));return _0x5f01c0[_0x42e5f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x188760=>_0x188760[_0x42e5f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42e5f9([0x2a])))[_0x42e5f9([0x6d,0x61,0x70])](_0x16bca8=>_0x16bca8[_0x42e5f9([0x73,0x70,0x6c,0x69,0x74])](_0x42e5f9([0x2e])))[_0x42e5f9([0x73,0x6f,0x6d,0x65])](_0x50c97e=>_0x4d0d5e[_0x42e5f9([0x65,0x76,0x65,0x72,0x79])]((_0x34fc3b,_0x28c1ed)=>_0x50c97e[_0x28c1ed]===_0x34fc3b||_0x50c97e[_0x28c1ed]===_0x42e5f9([0x2a])));}function _0x4e99b8(){return _0x46c34a&&_0x550889?new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7025d,_0x168b88)=>{_0x46c34a[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0x7025d,_0x168b88),_0x550889[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0x102cb0=>{_0x102cb0!=_0x42e5f9([0x56,0x61,0x6c,0x69,0x64])&&_0x7025d(_0x102cb0);},_0x168b88);}):_0x46c34a||_0x550889||_0x42e5f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x383cb2(_0xfc7769,_0x5c21c5){return new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16df2f=>{if(_0x74b666())return _0x16df2f(_0x42e5f9([0x56,0x61,0x6c,0x69,0x64]));_0x1c32d2(),_0x32c5c3[_0x42e5f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42e5f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x178ca2=!0x1;const _0xaac95b=_0xc42670();function _0x9b1e42(_0x2047d0){return!!_0x2047d0&&(typeof _0x2047d0===_0x42e5f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2047d0===_0x42e5f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2047d0[_0x42e5f9([0x74,0x68,0x65,0x6e])]===_0x42e5f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2047d0[_0x42e5f9([0x63,0x61,0x74,0x63,0x68])]===_0x42e5f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28aeec(_0x32cefd){_0x513ebd(_0x32cefd)[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0x41784f=>{if(!_0x41784f||_0x41784f[_0x42e5f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42e5f9([0x6f,0x6b]))return _0x42e5f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25ff87(_0x106564(_0xaac95b+_0x5c21c5))!=_0x41784f[_0x42e5f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42e5f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42e5f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0xbd5c2=>(_0x295d7c(),_0xbd5c2),()=>{const _0x56358e=_0x51efdc();return null==_0x56358e?(_0x295d7c(),_0x42e5f9([0x56,0x61,0x6c,0x69,0x64])):_0x42e5f9(_0x5a8785-_0x56358e>(0x20f02747^_0x71256e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0x16df2f)[_0x42e5f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16df2f(_0x42e5f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30a3a4=0x4ca4dc7^_0x71256e;function _0x295d7c(){const _0x572468=_0x42e5f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x25ff87(_0x106564(_0xfc7769)),_0x1bab0f=_0x4deb87(_0x25ff87(window[_0x42e5f9([0x4d,0x61,0x74,0x68])][_0x42e5f9([0x63,0x65,0x69,0x6c])](_0x5a8785/_0x30a3a4)));window[_0x42e5f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42e5f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x572468,_0x1bab0f);}function _0x51efdc(){const _0x5533ee=_0x42e5f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x25ff87(_0x106564(_0xfc7769)),_0xd5c50f=window[_0x42e5f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42e5f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5533ee);return _0xd5c50f?window[_0x42e5f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4deb87(_0xd5c50f),0x10)*_0x30a3a4:null;}function _0x513ebd(_0x16e6c2){return new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd70ed4,_0x2a46da)=>{_0x16e6c2[_0x42e5f9([0x74,0x68,0x65,0x6e])](_0xd70ed4,_0x2a46da),window[_0x42e5f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a46da,0x4fd7787^_0x71256e);});}}_0x32c5c3[_0x42e5f9([0x6f,0x6e])](_0x42e5f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54e4b1,_0x267814)=>{if(_0x267814[0x0]!=_0xfc7769)return _0x16df2f(_0x42e5f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x267814[0x1]={..._0x267814[0x1],[_0x42e5f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xaac95b};},{[_0x42e5f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42e5f9([0x68,0x69,0x67,0x68])}),_0x32c5c3[_0x42e5f9([0x6f,0x6e])](_0x42e5f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x292cae=>{_0x9b1e42(_0x292cae[_0x42e5f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x178ca2=!0x0,_0x28aeec(_0x292cae[_0x42e5f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42e5f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42e5f9([0x6c,0x6f,0x77])}),_0x2aecd6[_0x42e5f9([0x74,0x68,0x65,0x6e])](()=>{_0x178ca2||_0x16df2f(_0x42e5f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x74b666(){return _0x32c5c3[_0x42e5f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42e5f9([0x76,0x69,0x65,0x77])][_0x42e5f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42e5f9([0x61,0x75,0x74,0x6f]);}function _0x1c32d2(){_0x32c5c3[_0x42e5f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42e5f9([0x76,0x69,0x65,0x77])][_0x42e5f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42e5f9([0x61,0x75,0x74,0x6f]);}}function _0x5d61fb(_0x23e8d9){const _0x17b4a5=[new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c058f=>setTimeout(_0x2c058f,0x4f59d8b^_0x71256e)),_0x2aecd6[_0x42e5f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25cadf=>{let _0x44eb73=0x0;_0x32c5c3[_0x42e5f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x42e5f9([0x6f,0x6e])](_0x42e5f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e4cae,_0x5869d0)=>{_0x5869d0[0x0][_0x42e5f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44eb73++,_0x44eb73==(0x4fca2bf^_0x71256e)&&(_0x25cadf(),_0x4e4cae[_0x42e5f9([0x6f,0x66,0x66])]());});}))];return window[_0x42e5f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42e5f9([0x72,0x61,0x63,0x65])](_0x17b4a5)[_0x42e5f9([0x74,0x68,0x65,0x6e])](()=>_0x23e8d9);}async function _0x44071f(){await _0x2aecd6,_0x32c5c3[_0x42e5f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x42e5f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b326c,_0x32c5c3[_0x42e5f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x42e5f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b326c,_0x32c5c3[_0x42e5f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42e5f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13855f(_0x1dc535){const _0x48d556=_0x2ddb0d();_0x32c5c3[_0x48d556]=_0x42e5f9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dc535,_0x1dc535!=_0x42e5f9([0x56,0x61,0x6c,0x69,0x64])&&_0x44071f();}function _0x2ddb0d(){const _0x3d6bbf=window[_0x42e5f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42e5f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42e5f9([0x6e,0x6f,0x77])]())[_0x42e5f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42e5f9([0x2e]),'');let _0x2bcb34=_0x42e5f9([0x6f]);for(let _0x268482=0x0;_0x268482<_0x3d6bbf[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x268482+=0x2){let _0x1c58fc=window[_0x42e5f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d6bbf[_0x42e5f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x268482,_0x268482+0x2));_0x1c58fc>=_0xd32471[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c58fc-=_0xd32471[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bcb34+=_0xd32471[_0x1c58fc];}return _0x2bcb34;}function _0x2c79cb(){const _0x4b230b=_0xf78218[_0x42e5f9([0x73,0x70,0x6c,0x69,0x74])](_0x42e5f9([0x2e]));if(0x3!=_0x4b230b[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e8f3e(_0x4b230b[0x1]);function _0x2e8f3e(_0x542a3f){const _0xc3327f=_0x1f9126(_0x542a3f);return _0xc3327f&&_0x3d8674()?_0xc3327f:null;function _0x3d8674(){const _0x3f4a33=_0xc3327f[_0x42e5f9([0x6a,0x74,0x69])],_0x118334=window[_0x42e5f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f4a33[_0x42e5f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f4a33[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x446d35={..._0xc3327f,[_0x42e5f9([0x6a,0x74,0x69])]:_0x3f4a33[_0x42e5f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f4a33[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x446d35[_0x42e5f9([0x76,0x63])],_0x106564(_0x446d35)==_0x118334;}}}async function _0x27b0c9(){let _0x5727b1=!0x0;try{const _0x1ccb98=_0xf78218[_0x42e5f9([0x73,0x70,0x6c,0x69,0x74])](_0x42e5f9([0x2e])),[_0x267f32,_0x1b6f6a,_0x10e986]=_0x1ccb98;return _0x2ad34e(_0x267f32),await _0x59f226(_0x267f32,_0x1b6f6a,_0x10e986),_0x5727b1;}catch(_0x18fd20){return!0x1;}function _0x2ad34e(_0xec1876){const _0x2fb660=_0x1f9126(_0xec1876);_0x2fb660&&_0x2fb660[_0x42e5f9([0x61,0x6c,0x67])]==_0x42e5f9([0x45,0x53,0x32,0x35,0x36])||(_0x5727b1=!0x1);}async function _0x59f226(_0x49af54,_0x1af6ad,_0x27f0b4){const _0x473291=window[_0x42e5f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42e5f9([0x66,0x72,0x6f,0x6d])](_0x5acc06(_0x27f0b4),_0x206ca7=>_0x206ca7[_0x42e5f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50697d=new window[(_0x42e5f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42e5f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49af54+_0x42e5f9([0x2e])+_0x1af6ad),_0x297ada=window[_0x42e5f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42e5f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x297ada)return;const _0x30ae9a=await _0x297ada[_0x42e5f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42e5f9([0x6a,0x77,0x6b]),_0x1029fb,{[_0x42e5f9([0x6e,0x61,0x6d,0x65])]:_0x42e5f9([0x45,0x43,0x44,0x53,0x41]),[_0x42e5f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42e5f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42e5f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x297ada[_0x42e5f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42e5f9([0x6e,0x61,0x6d,0x65])]:_0x42e5f9([0x45,0x43,0x44,0x53,0x41]),[_0x42e5f9([0x68,0x61,0x73,0x68])]:{[_0x42e5f9([0x6e,0x61,0x6d,0x65])]:_0x42e5f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30ae9a,_0x473291,_0x50697d)||(_0x5727b1=!0x1);}}function _0x1f9126(_0x850b44){return _0x850b44[_0x42e5f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42e5f9([0x65,0x79]))?JSON[_0x42e5f9([0x70,0x61,0x72,0x73,0x65])](_0x5acc06(_0x850b44)):null;}function _0x5acc06(_0x31b46e){return window[_0x42e5f9([0x61,0x74,0x6f,0x62])](_0x31b46e[_0x42e5f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42e5f9([0x2b]))[_0x42e5f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42e5f9([0x2f])));}function _0x106564(_0x30a209){let _0x5b159d=0x1505;function _0x547174(_0x31f2d6){for(let _0x4cf4d2=0x0;_0x4cf4d2<_0x31f2d6[_0x42e5f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cf4d2++){const _0x5915cd=_0x31f2d6[_0x42e5f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cf4d2);_0x5b159d=(_0x5b159d<<0x5)+_0x5b159d+_0x5915cd,_0x5b159d&=_0x5b159d;}}function _0x17fab6(_0x4bff50){Array[_0x42e5f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bff50)?_0x4bff50[_0x42e5f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17fab6):_0x4bff50&&typeof _0x4bff50==_0x42e5f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42e5f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bff50)[_0x42e5f9([0x73,0x6f,0x72,0x74])]()[_0x42e5f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40a951,_0x5e28c7])=>{_0x547174(_0x40a951),_0x17fab6(_0x5e28c7);}):_0x547174(window[_0x42e5f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bff50));}return _0x17fab6(_0x30a209),_0x5b159d>>>0x0;}function _0x25ff87(_0x4c9af9){return _0x4c9af9[_0x42e5f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42e5f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42e5f9([0x30]));}function _0x4deb87(_0x379fd0){return _0x379fd0[_0x42e5f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42e5f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42e5f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b326c(){}function _0x42e5f9(_0x20b084){return _0x20b084['map'](_0x1b5e92=>String['fromCharCode'](_0x1b5e92))['join']('');}_0x13855f(await _0xfd9dd2());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x83d128=this['editor'],_0x54c117=_0x83d128['editing']['view'],_0xcca9d5=this['_getAttachedDomRoot']();if(!_0xcca9d5||0x0===_0xcca9d5['childElementCount'])return void _0x83d128['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x204e29,pageHeight:_0xb1e3f1}=_0x83d128['config']['get']('pagination'),{top:_0x37bacc,left:_0xeb90e3,bottom:_0x42f1bb,right:_0x341584}=this['_configuredPaddings'];this['_pagesContainer']=new _0x280bd8(_0x83d128['locale']);const _0x12584f=this['_pagesContainer'];_0x12584f['set']('class',''),_0x12584f['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x204e29,'width':_0x204e29,'height':'calc(\x20'+_0xb1e3f1+'\x20-\x20'+_0x37bacc+'\x20-\x20'+_0x42f1bb+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x341584+'\x200\x20'+_0xeb90e3,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x12584f['bindTemplate']['to']('class')}}),_0x12584f['render'](),_0xcca9d5['parentNode']['insertBefore'](_0x12584f['element'],_0xcca9d5['nextSibling']),this['listenTo'](_0x54c117,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x49ef07 of this['editor']['editing']['view']['domRoots']['values']())if(_0x49ef07['ownerDocument']['body']['contains'](_0x49ef07))return _0x49ef07;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1917ec=this['editor']['editing']['view'],_0x45d024=this['_pagesContainer'],_0x5c3eef=this['_getAttachedDomRoot']();if(!_0x5c3eef)return Promise['resolve']();for(_0x45d024['class']=['ck-reset','ck-pagination-view',..._0x5c3eef['classList']]['join']('\x20');_0x45d024['element']['firstChild'];)_0x45d024['element']['firstChild']['remove']();const _0x4ebe08=Array['from'](_0x1917ec['domRoots']);_0x4ebe08['sort'](([,_0x4a2294],[,_0x38e816])=>_0x4a2294['compareDocumentPosition'](_0x38e816)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xd5950c,_0x503dc8]of _0x4ebe08){const _0x5e62fe=_0x503dc8['cloneNode'](!0x0);'attributeStyleMap'in _0x5e62fe&&_0x5e62fe['attributeStyleMap']['clear'](),_0x5e62fe['className']='',_0x5e62fe['removeAttribute']('id'),_0x5e62fe['dataset']['rootName']=_0xd5950c,_0x45d024['element']['append'](_0x5e62fe);}return function(_0x2d21fe){return Promise['all'](_0x2d21fe['map'](_0x3b18b0=>Promise['race']([p(_0x3b18b0),y(0x3e8)])));}(Array['from'](_0x45d024['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x2ce65b=this['_pagesContainer']['element'];if(!_0x2ce65b['ownerDocument']['body']['contains'](_0x2ce65b))return;const _0x4b4776=new _0x582086(_0x2ce65b)['excludeScrollbarsAndBorders'](),_0x5b9236=_0xf36738['window']['getComputedStyle'](_0x2ce65b),_0x1f58bd=parseFloat(_0x5b9236['paddingLeft'])+parseFloat(_0x5b9236['paddingRight']),_0x1049ec=Math['floor'](_0x4b4776['width']+0x64-_0x1f58bd),_0x1134f5=x(_0x2ce65b,Math['floor'](_0x4b4776['left']-_0x2ce65b['scrollLeft']),_0x1049ec,_0x4b4776['height'])['map'](_0x555171=>this['_mapPageStarterInfoToPageBreakInfo'](_0x555171));_0x1134f5['every'](_0x17db42=>!!_0x17db42)&&(this['pageBreaks']=_0x1134f5);}['_mapPageStarterInfoToPageBreakInfo'](_0x1ec401){const _0x2124df=this['editor']['editing']['view'],_0x48a4fc=this['editor']['editing']['mapper'],_0x583cbf=_0x2124df['domConverter'],_0x24d6e7=_0x1ec401['path']['shift'](),_0x22a7c8=this['_pagesContainer']['element']['childNodes'][_0x24d6e7]['dataset']['rootName'],_0x57b5b3=_0x2124df['getDomRoot'](_0x22a7c8);if(!_0x57b5b3)return null;const _0x1d8400=function(_0x581f47,_0x4d226c){let _0x1d9a9d=_0x581f47;for(const _0xa5d024 of _0x4d226c['path']){if(!_0x1d9a9d)return null;_0x1d9a9d=_0x1d9a9d['childNodes'][_0xa5d024];}return _0x1d9a9d;}(_0x57b5b3,_0x1ec401);if(!_0x1d8400)return null;const _0x38fd1b=_0x583cbf['domPositionToView'](_0x1d8400,_0x1ec401['textOffset']||0x0);return _0x38fd1b?'manual'==_0x1ec401['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x38fd1b,_0x1d8400):'text'==_0x1ec401['type']&&_0x48a4fc['toModelPosition'](_0x38fd1b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x38fd1b,_0x1d8400,_0x1ec401['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x38fd1b,_0x1d8400,_0x1ec401['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3d9b19,_0x46b924){const _0x42a995=this['editor']['model'],_0x1c8b23=this['editor']['editing']['mapper']['toModelElement'](_0x3d9b19['parent']),_0x1ed030=_0x42a995['createRangeOn'](_0x1c8b23);return new K({'type':'manual','modelRange':_0x1ed030,'domNode':_0x46b924,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x2fd9c6,_0x2fa842,_0x2da305){const _0x1c9d06=this['editor']['model'],_0x12c0b4=this['editor']['editing']['mapper'],_0x176fd6=this['editor']['editing']['view']['domConverter'];if(_0x2da305>=_0x2fa842['length'])return null;const _0x5942d9=_0x12c0b4['toModelPosition'](_0x2fd9c6),_0x31de40=_0x1c9d06['createRange'](_0x5942d9),_0x21abb8=_0x12c0b4['findMappedViewAncestor'](_0x2fd9c6),_0x4f6eec=_0x176fd6['mapViewToDom'](_0x21abb8);return new K({'type':'text','modelRange':_0x31de40,'domNode':_0x2fa842,'offset':m(_0x2fa842,_0x2da305,_0x4f6eec)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2e11c0,_0x49c97c,_0x5d3b44){const _0x561d46=this['editor']['model'],_0x156bea=this['editor']['editing'],_0x46a81b=_0x156bea['mapper'],_0x23b964=_0x156bea['view']['domConverter'],_0x44794c=_0x46a81b['findMappedViewAncestor'](_0x2e11c0),_0x555f9a=_0x46a81b['toModelElement'](_0x44794c),_0x261207=function(_0x34ca7c){const _0x176e45=_0x34ca7c['parent'],_0x1b9618=_0x176e45['root']['document']['model'],_0x69055b=_0x176e45['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x572d29=null;for(const _0x2b45c5 of _0x69055b){if(_0x2b45c5['is']('rootElement'))return _0x572d29;if(!_0x1b9618['createPositionBefore'](_0x2b45c5)['isTouching'](_0x34ca7c))return _0x572d29;_0x572d29=_0x2b45c5;}}(_0x561d46['createPositionBefore'](_0x555f9a)),_0x32c3b7=_0x261207||_0x555f9a;let _0x39217b=_0x46a81b['toViewElement'](_0x32c3b7),_0x1a8edb=_0x561d46['createRangeOn'](_0x32c3b7);const _0x45ca81=_0x561d46['createPositionBefore'](_0x32c3b7)['nodeBefore'];if(_0x45ca81&&_0x45ca81['is']('element','imageBlock')){const _0x3c915d=_0x46a81b['toViewElement'](_0x45ca81),_0x2a0682=_0x23b964['mapViewToDom'](_0x3c915d),_0x1cc047=_0xf36738['window']['getComputedStyle'](_0x2a0682)['float'];'left'!=_0x1cc047&&'right'!=_0x1cc047||(_0x1a8edb=_0x561d46['createRangeOn'](_0x45ca81));}for(;_0x39217b['parent']!==_0x39217b['root']&&0x0===_0x39217b['index'];)_0x39217b=_0x39217b['parent'];const _0x1072ea=new _0x582086(S(_0x49c97c)?_0x49c97c:P(_0x49c97c)),_0x4d1dc1=_0x5d3b44?_0x1072ea['height']-_0x5d3b44:0x0,_0xba3974=_0x23b964['mapViewToDom'](_0x39217b),_0x39dafd=new _0x582086(_0xba3974);return new K({'type':'element','modelRange':_0x1a8edb,'domNode':_0xba3974,'offset':Math['round'](_0x4d1dc1)?_0x4d1dc1+_0x1072ea['top']-_0x39dafd['top']:0x0});}get['_configuredPaddings'](){const _0x49b161=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x49b161);}static['_findPageStarterInfos'](_0x11008c,_0x448c5a,_0x8f2a45,_0x5c596c,_0x572ea5){return x(_0x11008c,_0x448c5a,_0x8f2a45,_0x5c596c,_0x572ea5);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x51b980,modelRange:_0x1730d3,domNode:_0x41bbed,offset:_0x42110d}){this['type']=_0x51b980,this['modelRange']=_0x1730d3,this['_domNode']=_0x41bbed,this['_offset']=_0x42110d;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x189874=new _0x582086(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x189874['top']+_0x189874['height']/0x2:_0x189874['top']+this['_offset'];}}function m(_0x4e9435,_0x4185eb,_0x6c25e2){const _0x39da27=P(_0x4e9435),_0x3859a8=function(_0x3df439){const _0x112a69=_0xf36738['document']['createRange']();return _0x112a69['selectNodeContents'](_0x3df439),_0x112a69;}(_0x6c25e2);let _0x480253;_0x480253=0x0==_0x4185eb?b(_0x3859a8['startContainer'],_0x3859a8['startOffset'],_0x4e9435['parentNode'],Array['from'](_0x4e9435['parentNode']['childNodes'])['indexOf'](_0x4e9435)):b(_0x3859a8['startContainer'],_0x3859a8['startOffset'],_0x4e9435,_0x4185eb);const _0xb1abb6=b(_0x4e9435,_0x4185eb,_0x3859a8['endContainer'],_0x3859a8['endOffset']),_0xe885a1=new _0x582086(_0x480253)['bottom'];return(new _0x582086(_0xb1abb6)['top']+_0xe885a1)/0x2-new _0x582086(_0x39da27)['top'];}function p(_0x1a0bda){return _0x1a0bda['hasAttribute']('width')&&_0x1a0bda['hasAttribute']('height')?Promise['resolve']():new Promise(_0x19dd28=>{function _0x4e51df(){_0x1a0bda['removeEventListener']('load',_0x4e51df),_0x1a0bda['removeEventListener']('error',_0x4e51df),_0x19dd28();}_0x1a0bda['complete']?_0x19dd28():(_0x1a0bda['addEventListener']('load',_0x4e51df),_0x1a0bda['addEventListener']('error',_0x4e51df));});}function y(_0x5dec40){return new Promise(_0x239418=>setTimeout(_0x239418,_0x5dec40));}function P(_0x5b3211){const _0x541421=_0xf36738['document']['createRange']();return _0x541421['selectNode'](_0x5b3211),_0x541421;}function k(_0x510274,_0x34f0f0,_0x53f921){const _0x3619ec=_0xf36738['document']['createRange']();return _0x3619ec['setStart'](_0x510274,_0x34f0f0),_0x3619ec['setEnd'](_0x510274,_0x53f921),_0x3619ec;}function b(_0x1a4be9,_0x4357a7,_0x28ceb9,_0x2011e0){const _0x5122ba=_0xf36738['document']['createRange']();return _0x5122ba['setStart'](_0x1a4be9,_0x4357a7),_0x5122ba['setEnd'](_0x28ceb9,_0x2011e0),_0x5122ba;}function x(_0x15fe69,_0x274ab0,_0xc7b833,_0x579207,_0x427e36){const _0x436f37=[];for(const [_0x2acb22,_0x176c2e]of _0x15fe69['childNodes']['entries']()){let _0x4d5a02=[];S(_0x176c2e)&&_0x176c2e['offsetParent']&&!_0x176c2e['style']['position']?_0x4d5a02=_(_0x176c2e,_0x2acb22,_0x274ab0,_0xc7b833,_0x579207,_0x427e36):R(_0x176c2e)&&(_0x4d5a02=B(_0x176c2e,_0x2acb22,_0x274ab0,_0xc7b833,_0x427e36)),_0x4d5a02['length']&&(_0x436f37['push'](..._0x4d5a02),_0x274ab0+=_0x4d5a02['length']*_0xc7b833,_0x427e36=!0x1);}return _0x436f37;}function _(_0x37bfa4,_0x528ed7,_0x48d598,_0xb9ede8,_0x30afc7,_0x36cf2d){const _0x470e34=[];var _0x587c74;if((_0x587c74=_0x37bfa4['previousSibling'])&&S(_0x587c74)&&Boolean(_0x587c74['classList']['contains']('page-break')||_0x587c74['closest']('.page-break'))&&(_0x470e34['push']({'type':'manual','offset':0x0,'path':[_0x528ed7-0x1]}),_0x36cf2d=!0x0),'table-row'==_0xf36738['window']['getComputedStyle'](_0x37bfa4)['display']){let _0x647469=0x0,_0x2d23ef=!0x1;for(const _0x535e04 of _0x37bfa4['getClientRects']())_0x647469+=_0x535e04['height'],_0x535e04['left']>=_0x48d598&&(_0x2d23ef=!0x0);if(_0x647469<_0x30afc7&&_0x2d23ef)return _0x470e34['push']({'type':'element','offset':0x0,'path':[_0x528ed7]}),_0x470e34;}const _0x3376f3=_0x37bfa4['closest']('figure.image');if(_0x3376f3&&function(_0x38f9de){let _0x424b4f=!0x1;const _0x2ed6ac=_0x38f9de['parentElement'],_0x4d5a7d=_0x2ed6ac['dataset']['rootName'],_0x3e40e2=_0x38f9de['nextElementSibling'],_0x3a6bcf=_0x38f9de['previousElementSibling'],_0x276317=_0x3e40e2&&_0xf36738['window']['getComputedStyle'](_0x3e40e2)['float'],_0x209a43=_0x3e40e2&&'ck-fake-selection-container'===_0x3e40e2['className'];!_0x4d5a7d||_0x3e40e2||_0x3a6bcf||(_0x424b4f=!0x0),_0x4d5a7d&&!_0x3a6bcf&&_0x209a43&&(_0x424b4f=!0x0),_0x4d5a7d&&!_0x3a6bcf&&'none'!==_0x276317&&(_0x424b4f=!0x0);if(_0x424b4f)return!0x1;return!0x0;}(_0x3376f3)){const _0x158ba1=_0xf36738['window']['getComputedStyle'](_0x3376f3)['float'];if('left'==_0x158ba1||'right'==_0x158ba1)return _0x470e34;}const _0x3613f4=x(_0x37bfa4,_0x48d598,_0xb9ede8,_0x30afc7,_0x36cf2d);if(_0x3613f4['length']){for(const _0x3a308d of _0x3613f4)_0x470e34['push']({'type':_0x3a308d['type'],'offset':_0x3a308d['offset'],'textOffset':_0x3a308d['textOffset'],'path':[_0x528ed7,..._0x3a308d['path']]}),_0x48d598+=_0xb9ede8,_0x36cf2d=!0x1;return _0x470e34;}return _0x470e34['push'](...function(_0x577fb0,_0x2d3f2e,_0x55faa2,_0x1f991b,_0x335abf){const _0x5496a0=[];if('table-cell'==_0xf36738['window']['getComputedStyle'](_0x577fb0)['display'])return[];const _0x593d68=[];for(const _0xadb22 of _0x577fb0['getClientRects']())if(_0xadb22['left']>=_0x55faa2){for(const _0x5790b0 of _0x593d68)_0x5790b0['height']+=_0xadb22['height'];_0x593d68['push']({'height':_0xadb22['height']}),_0x55faa2+=_0x1f991b;}for(const _0x516f1c of _0x593d68)_0x335abf||_0x5496a0['push']({'type':'element','offset':_0x516f1c['height'],'textOffset':0x0,'path':[_0x2d3f2e]}),_0x335abf=!0x1;return _0x5496a0;}(_0x37bfa4,_0x528ed7,_0x48d598,_0xb9ede8,_0x36cf2d)),_0x470e34;}function B(_0x260187,_0x39dd1f,_0x3b0118,_0x3aec9f,_0x5d41c0){const _0x43addf=P(_0x260187),_0x4fd8e9=[];let _0xa392fd=0x0;for(const _0x1b86f7 of _0x43addf['getClientRects']())if(_0x1b86f7['left']>=_0x3b0118){const _0x4350c8=I(_0x260187,_0xa392fd,_0x3b0118,_0x3aec9f);_0x5d41c0||_0x4fd8e9['push']({'type':'text','path':[_0x39dd1f],'textOffset':_0x4350c8}),_0xa392fd=_0x4350c8,_0x3b0118+=_0x3aec9f,_0x5d41c0=!0x1;}return _0x4fd8e9;}function I(_0x58f9cb,_0x2fecbd,_0x28a7a2,_0x3c9f55){let _0x75484a=_0x2fecbd,_0x494d29=_0x58f9cb['length'];for(;_0x494d29-_0x75484a>0x1;){const _0x2ae684=Math['ceil']((_0x75484a+_0x494d29)/0x2);N(k(_0x58f9cb,_0x75484a,_0x2ae684),_0x28a7a2,_0x3c9f55)?_0x494d29=_0x2ae684:_0x75484a=_0x2ae684;}return _0x75484a;}function N(_0x1d7299,_0x14a906,_0x2eb714){for(const _0x292d4f of _0x1d7299['getClientRects']())if(_0x292d4f['left']>=_0x14a906&&_0x292d4f['left']<_0x14a906+_0x2eb714)return!0x0;return!0x1;}function S(_0x551a25){return _0x551a25['nodeType']==Node['ELEMENT_NODE'];}function R(_0x6691a5){return _0x6691a5['nodeType']==Node['TEXT_NODE'];}const z=_0x43e202('px');class V extends _0x280bd8{constructor(){super();const _0x16367b=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x16367b['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x16367b['if']('isVisible','ck-hidden',_0x52d563=>!_0x52d563)],'style':{'left':_0x16367b['to']('left',_0x48ce28=>z(_0x48ce28)),'top':_0x16367b['to']('top',_0x17c276=>z(_0x17c276)),'width':_0x16367b['to']('width',_0x171622=>z(_0x171622))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3ae757){this['_viewCollection']=_0x3ae757['ui']['view']['body'];}['destroy'](){for(const _0x5aaa6b of this['_hiddenLines'])_0x5aaa6b['destroy']();}['cleanLines'](){for(const _0x4e7f7a of this['_visibleLines'])_0x4e7f7a['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4e7f7a);this['_visibleLines']['clear']();}['showLine'](_0x2cf841,_0x10ed63,_0x15503f,_0x451d4b){let _0x4a6cd1;this['_hiddenLines']['size']?(_0x4a6cd1=_0x4c3943(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4a6cd1)):_0x4a6cd1=new V(),_0x4a6cd1['set']({'pageNumber':_0x451d4b,'left':_0x2cf841,'top':_0x10ed63,'width':_0x15503f}),_0x4a6cd1['isVisible']=!0x0,this['_viewCollection']['has'](_0x4a6cd1)||this['_viewCollection']['add'](_0x4a6cd1),this['_visibleLines']['add'](_0x4a6cd1);}['setViewCollection'](_0x57a09a){this['_viewCollection']=_0x57a09a;}}const L='ck-pagination_enabled';class c extends _0x3e926d{['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',(_0x43b783,_0x13b7af,_0x109245)=>{_0x109245||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x109245);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1e743d){if(!this['isEnabled'])return;const _0x56543f=_0x1e743d>0x1?this['_getPageBreakLineOffset'](_0x1e743d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x56543f-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2cf50f['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x122556=this['editor'],_0x401841=this['_getAttachedDomRoot']();_0x401841?(this['_scrollableEditingRootDomAncestor']&&_0x122556['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5a692a){let _0x3b6f53=_0x5a692a;do{_0x3b6f53=_0x3b6f53['parentElement'];const _0x23ad2c=_0xf36738['window']['getComputedStyle'](_0x3b6f53)['overflowY'];if('auto'==_0x23ad2c||'scroll'==_0x23ad2c)break;}while('BODY'!=_0x3b6f53['tagName']);return _0x3b6f53;}(_0x401841),_0x122556['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x6427ac(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x122556['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x635ed0=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x635ed0['ui']['view']['listenTo'](_0xf36738['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x635ed0['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x58534c of this['editor']['editing']['view']['domRoots']['values']())if(_0x58534c['ownerDocument']['body']['contains'](_0x58534c))return _0x58534c;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3f5d80=this['_getAttachedDomRoot'](),_0x367f19=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3f5d80||0x1==_0x367f19['length'])return void(this['pageNumber']=0x1);const _0x48202c=new _0x582086(_0x3f5d80)['excludeScrollbarsAndBorders'](),_0x348480=new _0x582086(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x559685=_0x348480['top']+_0x348480['height']/0x3;let _0x5acd0c=!0x1;const _0x2c8cc=[];for(let _0x5b6298=0x1;_0x5b6298<_0x367f19['length'];_0x5b6298++){const _0x1d1628=this['_getPageBreakLineOffset'](_0x5b6298,_0x348480);if(!_0x1d1628)continue;const _0x217bdc=_0x348480['top']+_0x1d1628-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2c8cc['push']({'pageOffsetTop':_0x217bdc,'domRootRect':_0x48202c,'domScrollableRect':_0x348480,'pageNumber':_0x5b6298}),_0x217bdc>_0x559685&&!_0x5acd0c&&(this['pageNumber']=_0x5b6298,_0x5acd0c=!0x0);}this['_renderPageBreakLines'](_0x2c8cc),_0x5acd0c||(this['pageNumber']=_0x367f19['length']);}['_renderPageBreakLines'](_0xb7922){const {scrollX:_0x344363,scrollY:_0x1da72f}=_0xf36738['window'];if(_0xb7922['length']){for(const {domScrollableRect:_0x5a4f5d,pageOffsetTop:_0x28bb32,domRootRect:_0x504134,pageNumber:_0x5850e5}of _0xb7922)_0x5a4f5d['top']<_0x28bb32&&_0x28bb32<_0x5a4f5d['bottom']&&this['linesRepository']['showLine'](_0x504134['left']+_0x344363,_0x28bb32+_0x1da72f,_0x504134['width'],_0x5850e5+0x1);}}['_getPageBreakLineOffset'](_0x26524c,_0x12579f=null){const _0x3b68a5=this['_paginationLookupPlugin']['pageBreaks'][_0x26524c]['offset'];return _0x3b68a5?(_0x12579f||(_0x12579f=new _0x582086(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3b68a5-_0x12579f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x172efb,_0x211fb0=!0x0){const _0x43502c=this['editor']['editing']['view'];_0x43502c['change'](_0x31908b=>{for(const _0x2cbe05 of _0x43502c['document']['roots'])_0x211fb0?_0x31908b['addClass'](_0x172efb,_0x2cbe05):_0x31908b['removeClass'](_0x172efb,_0x2cbe05);});}}function g(_0x194fc1,_0x477c81,..._0x5d76f7){const t=_0x194fc1['t'];switch(_0x477c81){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)',..._0x5d76f7);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 _0x477c81;}}class s extends _0x3e926d{['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 _0x2ae8e7=this['editor']['plugins']['get']('Pagination'),_0x520a3a=this['editor']['plugins']['get'](n),_0x4c21a1=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x2ae8e7),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4c21a1),this['listenTo'](_0x520a3a,'change:pageBreaks',(_0x168ee0,_0x180add,_0x35c566,_0x308fe2)=>{this['totalPages']=_0x35c566['length'],this['_updatePageBreakMarkers'](_0x35c566,_0x308fe2);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xed4041=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bb7dc;for(const _0x55543b in _0xed4041){const _0x5072ef=_0x55543b,_0x3ab6a1=_0xed4041[_0x5072ef];if('paginationLicenseKeyValid'==_0x3ab6a1||'paginationLicenseKeyInvalid'==_0x3ab6a1||'paginationLicenseKeyExpired'==_0x3ab6a1||'paginationLicenseKeyDomainLimit'==_0x3ab6a1||'paginationLicenseKeyNotAllowed'==_0x3ab6a1||'paginationLicenseKeyEvaluationLimit'==_0x3ab6a1||'paginationLicenseKeyTrialLimit'==_0x3ab6a1||'paginationLicenseKeyUsageLimit'==_0x3ab6a1){delete _0xed4041[_0x5072ef],_0x4bb7dc=_0x3ab6a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4bb7dc&&_0xed4041['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4bb7dc&&_0xed4041['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4bb7dc&&_0xed4041['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4bb7dc&&_0xed4041['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4bb7dc&&_0xed4041['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4bb7dc&&_0xed4041['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4bb7dc&&_0xed4041['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x751ebc){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x751ebc));}['moveSelectionToPage'](_0x341634){if(!this['isEnabled'])return;const _0x53ab49=this['editor'],_0x23f8a6=this['editor']['plugins']['get'](n)['pageBreaks'][_0x341634-0x1];_0x23f8a6&&_0x53ab49['model']['change'](_0x5010ec=>{switch(_0x23f8a6['type']){case'manual':{const _0x4ea7c7=_0x53ab49['model']['schema']['getNearestSelectionRange'](_0x23f8a6['modelRange']['end'],'forward');_0x5010ec['setSelection'](_0x4ea7c7);break;}case'element':{const _0x50edee=_0x53ab49['model']['schema']['getNearestSelectionRange'](_0x23f8a6['modelRange']['start'],'forward');_0x5010ec['setSelection'](_0x50edee);break;}case'text':{const _0x4665d2=_0x23f8a6['modelRange']['start'];if('\x20'===_0x4665d2['textNode']['data'][_0x4665d2['offset']]){const _0x178179=_0x5010ec['createPositionAt'](_0x4665d2['parent'],_0x4665d2['offset']+0x1);_0x5010ec['setSelection'](_0x178179);}else _0x5010ec['setSelection'](_0x23f8a6['modelRange']);}}_0x53ab49['editing']['view']['focus']();});}['goToNextPage'](){const _0x1d7b25=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1d7b25),this['scrollToPage'](_0x1d7b25);}['goToPreviousPage'](){const _0x3e82ea=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3e82ea),this['scrollToPage'](_0x3e82ea);}['_updatePageBreakMarkers'](_0x368f24,_0x564ac1){const _0x5993f2=this['editor']['model'];this['isEnabled']&&_0x5993f2['change'](_0x7e33e=>{for(let _0x2f3552=0x1;_0x2f3552<_0x368f24['length'];_0x2f3552++){const _0x171514=_0x368f24[_0x2f3552]['modelRange'],_0x20d186='pagination:'+(_0x2f3552+0x1);_0x5993f2['markers']['has'](_0x20d186)?_0x7e33e['updateMarker'](_0x20d186,{'range':_0x171514}):_0x7e33e['addMarker'](_0x20d186,{'range':_0x171514,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x14ef63=_0x368f24['length'];_0x14ef63<_0x564ac1['length'];_0x14ef63++){const _0x246644='pagination:'+(_0x14ef63+0x1);_0x5993f2['markers']['has'](_0x246644)&&_0x7e33e['removeMarker'](_0x246644);}});}['_setUpDataDowncastConversion'](){const _0x55e945='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x420d08=>{_0x420d08['on']('addMarker:'+_0x55e945,(_0x4502a3,{markerRange:_0x483371,markerName:_0x146ca2},_0xd1ac57)=>{if(!_0xd1ac57['options']['pagination'])return;if(!_0xd1ac57['consumable']['consume'](_0x483371,_0x4502a3['name']))return;const _0x300d8c=_0x483371['getContainedElement']();let _0x705908=_0x300d8c?_0xd1ac57['mapper']['toViewElement'](_0x300d8c):null;if(!_0x705908){const _0x3e850=_0x483371['start'];if(_0xd1ac57['schema']['checkChild'](_0x3e850,'$text')){const _0x4781ce=_0xd1ac57['mapper']['toViewPosition'](_0x3e850);_0x705908=_0xd1ac57['writer']['createContainerElement']('span'),_0x705908['getFillerOffset']=()=>null,_0xd1ac57['writer']['insert'](_0x4781ce,_0x705908);}else{const _0x36a05c=_0x3e850['nodeAfter'];_0x705908=_0xd1ac57['mapper']['toViewElement'](_0x36a05c);}}for(;_0x705908['parent']!==_0x705908['root']&&0x0===_0x705908['index'];)_0x705908=_0x705908['parent'];const _0x1c55cb=_0x146ca2['substring'](0xb);_0x705908['hasClass']('page-break')||(_0xd1ac57['writer']['setStyle']('page-break-before','always',_0x705908),_0xd1ac57['writer']['setAttribute']('data-pagination-page',_0x1c55cb,_0x705908),_0xd1ac57['mapper']['bindElementToMarker'](_0x705908,_0x146ca2)),_0x4502a3['stop']();});});}['_setupKeystrokes'](){const _0x2d9901=this['editor'];_0x2d9901['keystrokes']['set']('Shift+Pageup',(_0xeef9d7,_0x5b6646)=>{this['goToPreviousPage'](),_0x5b6646();}),_0x2d9901['keystrokes']['set']('Shift+Pagedown',(_0x45c870,_0x4b5007)=>{this['goToNextPage'](),_0x4b5007();}),_0x2d9901['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x2d9901['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x2d9901['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x2d9901['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x10cdaf){return _0x10cdaf<0x1&&(_0x10cdaf=0x1),_0x10cdaf>this['totalPages']&&(_0x10cdaf=this['totalPages']),_0x10cdaf;}}class U extends _0x280bd8{['pageNumberView'];constructor(_0x4eaa5d){super(_0x4eaa5d);const _0x3449c5=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5645db(_0x4eaa5d,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5acd17=>g(_0x4eaa5d,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5acd17)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x409e88=>!_0x409e88),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3449c5['if']('isEnabled','ck-disabled',_0x29fdc6=>!_0x29fdc6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3449c5['to']('totalPages')}]}]});}['render'](){super['render']();const _0x16b18e=this['pageNumberView']['element'],_0x19fb3f=_0x27586f=>{this['pageNumberView']['element']['value']=String(_0x27586f);};_0x19fb3f(this['pageNumber']),this['on']('change:pageNumber',(_0xf17efe,_0x2c7c82,_0x49825e)=>{_0x19fb3f(_0x49825e);}),this['listenTo'](_0x16b18e,'keydown',(_0x6242df,_0x153876)=>{if('ArrowUp'===_0x153876['key']||'ArrowDown'===_0x153876['key'])return void _0x153876['stopPropagation']();if(_0x153876['keyCode']!==_0x2e99db['enter'])return;_0x153876['preventDefault']();const _0x329d4d=_0x16b18e['valueAsNumber'];Number['isNaN'](_0x329d4d)?_0x16b18e['value']=String(this['pageNumber']):(_0x16b18e['checkValidity']()?this['pageNumber']=_0x329d4d:_0x329d4d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x16b18e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x16b18e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x16b18e,'blur',()=>{_0x16b18e['value']=String(this['pageNumber']);}),this['listenTo'](_0x16b18e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3e926d{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x190988=this['editor'],_0x11cb17=_0x190988['plugins']['get']('PaginationEditing');_0x190988['ui']['componentFactory']['add']('pageNavigation',_0x15a9d=>{const _0x307b7a=new U(_0x15a9d);return _0x307b7a['bind']('pageNumber')['to'](_0x11cb17),_0x307b7a['bind']('totalPages')['to'](_0x11cb17),_0x307b7a['bind']('isEnabled')['to'](_0x11cb17),_0x307b7a['on']('navigation',(_0x3c2271,_0x3270e6)=>{_0x11cb17['moveSelectionToPage'](_0x3270e6),_0x11cb17['scrollToPage'](_0x3270e6);}),_0x307b7a;}),_0x190988['ui']['componentFactory']['add']('nextPage',_0x5a7ea8=>{const _0x9ca77a=new _0x4a8aed(_0x5a7ea8);return _0x9ca77a['isEnabled']=!0x0,_0x9ca77a['label']=g(_0x190988['locale'],'Go\x20to\x20next\x20page'),_0x9ca77a['icon']=_0x21e691,_0x9ca77a['tooltip']=!0x0,_0x9ca77a['keystroke']='Shift+PageDown',_0x9ca77a['bind']('isEnabled')['to'](_0x11cb17),this['listenTo'](_0x9ca77a,'execute',()=>{_0x11cb17['goToNextPage']();}),_0x9ca77a;}),_0x190988['ui']['componentFactory']['add']('previousPage',_0x4272dd=>{const _0x196b89=new _0x4a8aed(_0x4272dd);return _0x196b89['isEnabled']=!0x0,_0x196b89['label']=g(_0x190988['locale'],'Go\x20to\x20previous\x20page'),_0x196b89['icon']=_0x44903f,_0x196b89['tooltip']=!0x0,_0x196b89['keystroke']='Shift+PageUp',_0x196b89['bind']('isEnabled')['to'](_0x11cb17),this['listenTo'](_0x196b89,'execute',()=>{_0x11cb17['goToPreviousPage']();}),_0x196b89;});}}class a extends _0x3e926d{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x2a53b2){super(_0x2a53b2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2a5b00=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x2a5b00),this['bind']('totalPages')['to'](_0x2a5b00),_0x2cf50f['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1375b2){this['editor']['plugins']['get'](s)['scrollToPage'](_0x1375b2);}}export{a as Pagination,c as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x10be36=>0x1!=_0x10be36}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13abda=>{const {af:{dictionary:_0x56abba,getPluralForm:_0x6e43a3}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x4f0fa9=>0x1!=_0x4f0fa9}};_0x13abda['af']||={'dictionary':{},'getPluralForm':null},_0x13abda['af']['dictionary']=Object['assign'](_0x13abda['af']['dictionary'],_0x56abba),_0x13abda['af']['getPluralForm']=_0x6e43a3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0xcf47cd=>0x0==_0xcf47cd?0x0:0x1==_0xcf47cd?0x1:0x2==_0xcf47cd?0x2:_0xcf47cd%0x64>=0x3&&_0xcf47cd%0x64<=0xa?0x3:_0xcf47cd%0x64>=0xb?0x4:0x5}};
|