@ckeditor/ckeditor5-pagination 46.0.0-alpha.7 → 46.0.0-alpha.8
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 +2 -2
- package/package.json +7 -7
- package/src/paginationlookup.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),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-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:()=>ht,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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}function r(t,e){const n=l();return(r=function(t,e){return n[t-=247]})(t,e)}const a=r;!function(t){const e=r,n=t();for(;;)try{if(527049===parseInt(e(384))/1*(parseInt(e(277))/2)+parseInt(e(367))/3+-parseInt(e(298))/4*(parseInt(e(436))/5)+parseInt(e(355))/6+parseInt(e(348))/7*(parseInt(e(258))/8)+parseInt(e(266))/9*(-parseInt(e(430))/10)+-parseInt(e(339))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class c extends t.Plugin{[a(352)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[a(296)](),200);[a(342)]=null;static get[a(247)](){return a(356)}static get[a(374)](){return!0}static get[a(397)](){return!0}[a(383)](){const t=a;if(this[t(413)]({pageBreaks:[]}),!this[t(292)][t(340)][t(427)](t(403)))return void(0,o.logWarning)(t(420),this[t(292)][t(340)]);const e=this[t(292)][t(379)][t(427)](t(380));this[t(362)](t(386)).to(e),this[t(292)].ui[t(402)](t(415),()=>this[t(369)]()),this.on(t(414),(e,n,i)=>{i&&this[t(352)]()})}[a(316)](){!async function(t){const e=m([98,68,106,52,65,122,48,90,108,66,85,75,74,50,102,86,81,84,80,82,116,100,49,120,109,71,57,73,69,70,101,79,76,105,83,115,119,97,114,112,53,56,117,99,121,87,55,88,89,107,111,77,78,51,110,54,72,104,67,113,118,103]),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)}),a={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=r;return t[e(344)](t=>String[e(407)](t))[e(370)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([98]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),r=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!r)return;const c=await r[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),a,{[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 r[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:1751932800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=r,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(343)]);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([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[a(396)](){const t=a;super[t(396)](),this[t(342)]&&(this[t(352)][t(256)](),this[t(342)][t(396)](),this[t(342)][t(351)][t(312)]())}[a(369)](){const t=a,n=this[t(292)],i=n[t(368)][t(317)],o=this[t(324)]();if(!o||0===o[t(321)])return void n.ui[t(402)](t(255),()=>this[t(369)]());const{pageWidth:s,pageHeight:r}=n[t(340)][t(427)](t(403)),{top:c,left:u,bottom:l,right:p}=this[t(271)];this[t(342)]=new e.View(n[t(297)]);const f=this[t(342)];f[t(413)](t(434),""),f[t(307)]({tag:t(398),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(334)+r+t(373)+c+t(373)+l+" )",minWidth:t(408),minHeight:t(408),padding:"0 "+p+t(437)+u,columnGap:t(288),border:0,boxSizing:t(299),columnCount:t(408),columnFill:t(408),overflow:t(395),position:t(423),top:t(320),left:t(320)},tabindex:"-1",class:f[t(286)].to(t(434))}}),f[t(409)](),o[t(257)][t(426)](f[t(351)],o[t(287)]),this[t(358)](i,t(409),()=>this[t(352)](),{priority:t(272)}),this[t(352)]()}[a(324)](){const t=a;for(const e of this[t(292)][t(368)][t(317)][t(293)][t(432)]())if(e[t(252)][t(284)][t(382)](e))return e;return null}[a(296)](){const t=a;if(!this[t(386)])return Promise[t(361)]();const e=this[t(292)][t(368)][t(317)],n=this[t(342)],i=this[t(324)]();if(!i)return Promise[t(361)]();for(n[t(434)]=[t(260),t(387),...i[t(291)]][t(370)](" ");n[t(351)][t(279)];)n[t(351)][t(279)][t(312)]();const o=Array[t(329)](e[t(293)]);o[t(345)](([,e],[,n])=>e[t(418)](n)==Node[t(405)]?1:-1);for(const[e,i]of o){const o=i[t(376)](!0);t(406)in o&&o[t(406)][t(248)](),o[t(325)]="",o[t(389)]("id"),o[t(417)][t(314)]=e,n[t(351)][t(381)](o)}return function(e){const n=t;return Promise[n(393)](e[n(344)](t=>{return Promise[n(399)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(329)](n[t(351)][t(347)](t(313))))[t(337)](()=>this[t(411)]())}[a(411)](){const t=a,e=this[t(342)][t(351)];if(!e[t(252)][t(284)][t(382)](e))return;const n=new o.Rect(e)[t(377)](),i=o.global[t(268)][t(394)](e),s=parseFloat(i[t(322)])+parseFloat(i[t(412)]),r=Math[t(354)](n[t(249)]+100-s),c=m(e,Math[t(354)](n[t(254)]-e[t(283)]),r,n[t(431)])[t(344)](e=>this[t(336)](e));c[t(421)](t=>!!t)&&(this[t(330)]=c)}[a(336)](t){const e=a,n=this[e(292)][e(368)][e(317)],i=this[e(292)][e(368)][e(419)],o=n[e(305)],s=t[e(404)][e(350)](),r=this[e(342)][e(351)][e(278)][s][e(417)][e(314)],c=n[e(311)](r);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(404)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(253)](u,t[e(363)]||0);return l?e(304)==t[e(251)]?this[e(366)](l,u):e(428)==t[e(251)]&&i[e(301)](l)[e(285)]?this[e(273)](l,u,t[e(363)]):this[e(275)](l,u,t[e(285)]):null}[a(366)](t,e){const n=a,i=this[n(292)][n(359)],o=this[n(292)][n(368)][n(419)][n(274)](t[n(353)]),s=i[n(331)](o);return new u({type:n(304),modelRange:s,domNode:e,offset:0})}[a(273)](t,e,n){const i=a,o=this[i(292)][i(359)],s=this[i(292)][i(368)][i(419)],r=this[i(292)][i(368)][i(317)][i(305)];if(n>=e[i(315)])return null;const c=s[i(301)](t),l=o[i(365)](c),f=s[i(327)](t),d=r[i(290)](f);return new u({type:i(428),modelRange:l,domNode:e,offset:p(e,n,d)})}[a(275)](t,e,n){const i=a,s=this[i(292)][i(359)],r=this[i(292)][i(368)],c=r[i(419)],l=r[i(317)][i(305)],p=c[i(327)](t),f=c[i(274)](p),h=function(t){const e=i,n=t[e(353)],o=n[e(250)][e(282)][e(359)],s=n[e(401)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(303)))return r;if(!o[e(276)](n)[e(429)](t))return r;r=n}}(s[i(276)](f))||f;let g=c[i(372)](h),m=s[i(331)](h);const b=s[i(276)](h)[i(375)];if(b&&b.is(i(351),i(391))){const t=c[i(372)](b),e=l[i(290)](t),n=o.global[i(268)][i(394)](e)[i(388)];i(254)!=n&&i(264)!=n||(m=s[i(331)](b))}for(;g[i(353)]!==g[i(250)]&&0===g[i(333)];)g=g[i(353)];const v=new o.Rect(y(e)?e:d(e)),w=n?v[i(431)]-n:0,k=l[i(290)](g),I=new o.Rect(k);return new u({type:i(351),modelRange:m,domNode:k,offset:Math[i(435)](w)?w+v[i(335)]-I[i(335)]:0})}get[a(271)](){const t=a,e=this[t(292)][t(340)][t(427)](t(323));return Object[t(269)]({top:t(318),bottom:t(318),left:t(318),right:t(318)},e)}static[a(433)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[a(251)];[a(261)];[a(294)];[a(385)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=a;this[o(251)]=t,this[o(261)]=e,this[o(294)]=n,this[o(385)]=i}get[a(285)](){const t=a;if(!this[t(294)][t(252)][t(284)][t(382)](this[t(294)]))return 0;const e=new o.Rect(y(this[t(294)])?this[t(294)]:d(this[t(294)]));return t(304)==this[t(251)]?e[t(335)]+e[t(431)]/2:e[t(335)]+this[t(385)]}}function l(){const t=["_getAttachedDomRoot","className","indexOf","findMappedViewAncestor","table-row","from","pageBreaks","createRangeOn","display","index","calc( ","top","_mapPageStarterInfoToPageBreakInfo","then","previousElementSibling","12944008BESHvn","config","push","_pagesContainer","href","map","sort","parentElement","querySelectorAll","14ITxPHY","bottom","shift","element","_recalculatePageBreaksDebounced","parent","floor","3865836wFClCC","PaginationLookup","startContainer","listenTo","model","entries","resolve","bind","textOffset","figure.image","createRange","_mapManualPageStarterInfoToPageBreakInfo","2893155NArCRs","editing","_onUiReady","join","selectNode","toViewElement"," - ","isOfficialPlugin","nodeBefore","cloneNode","excludeScrollbarsAndBorders","ceil","plugins","PaginationEditing","append","contains","init","213251HZvEEZ","_offset","isEnabled","ck-pagination-view","float","removeAttribute","none","imageBlock","getClientRects","all","getComputedStyle","hidden","destroy","isPremiumPlugin","div","race","ELEMENT_NODE","getAncestors","once","pagination","path","DOCUMENT_POSITION_PRECEDING","attributeStyleMap","fromCharCode","auto","render","endOffset","_updatePageBreaksData","paddingRight","set","change:isEnabled","ready","page-break","dataset","compareDocumentPosition","mapper","pagination-config-not-found","every","offsetParent","absolute","removeEventListener","load","insertBefore","get","text","isTouching","5893160VOaWxu","height","values","_findPageStarterInfos","class","round","15JJvFAE"," 0 ","previousSibling","position","pluginName","clear","width","root","type","ownerDocument","domPositionToView","left","update","cancel","parentNode","2665792RBAAky","TEXT_NODE","ck-reset","modelRange","style","addEventListener","right","table-cell","9iMiBFR","nodeType","window","assign","hasAttribute","_configuredPaddings","low","_mapTextPageStarterInfoToPageBreakInfo","toModelElement","_mapElementPageStarterInfoToPageBreakInfo","createPositionBefore","2lbbssa","childNodes","firstChild","startOffset","closest","document","scrollLeft","body","offset","bindTemplate","nextSibling","100px","error","mapViewToDom","classList","editor","domRoots","_domNode","endContainer","_recalculatePageBreaks","locale","260396uaxrrR","border-box",".page-break","toModelPosition","ck-fake-selection-container","rootElement","manual","domConverter","complete","setTemplate","setEnd","setStart","selectNodeContents","getDomRoot","remove","img","rootName","length","afterInit","view","10mm","nextElementSibling","-99999px","childElementCount","paddingLeft","pagination.pageMargins"];return(l=function(){return t})()}function p(t,e,n){const i=a,s=d(t),c=function(t){const e=r,n=o.global[e(282)][e(365)]();return n[e(310)](t),n}(n);let u;u=0==e?g(c[i(357)],c[i(280)],t[i(257)],Array[i(329)](t[i(257)][i(278)])[i(326)](t)):g(c[i(357)],c[i(280)],t,e);const l=g(t,e,c[i(295)],c[i(410)]),p=new o.Rect(u)[i(349)];return(new o.Rect(l)[i(335)]+p)/2-new o.Rect(s)[i(335)]}function f(t){const e=a;return t[e(270)](e(249))&&t[e(270)](e(431))?Promise[e(361)]():new Promise(n=>{const i=e;function o(){const e=r;t[e(424)](e(425),o),t[e(424)](e(289),o),n()}t[i(306)]?n():(t[i(263)](i(425),o),t[i(263)](i(289),o))})}function d(t){const e=a,n=o.global[e(282)][e(365)]();return n[e(371)](t),n}function h(t,e,n){const i=a,s=o.global[i(282)][i(365)]();return s[i(309)](t,e),s[i(308)](t,n),s}function g(t,e,n,i){const s=a,r=o.global[s(282)][s(365)]();return r[s(309)](t,e),r[s(308)](n,i),r}function m(t,e,n,i,o){const s=a,r=[];for(const[a,c]of t[s(278)][s(360)]()){let t=[];y(c)&&c[s(422)]&&!c[s(262)][s(439)]?t=b(c,a,e,n,i,o):I(c)&&(t=v(c,a,e,n,o)),t[s(315)]&&(r[s(341)](...t),e+=t[s(315)]*n,o=!1)}return r}function b(t,e,n,i,s,r){const c=a,u=[];var l;if((l=t[c(438)])&&y(l)&&Boolean(l[c(291)][c(382)](c(416))||l[c(281)](c(300)))&&(u[c(341)]({type:c(304),offset:0,path:[e-1]}),r=!0),c(328)==o.global[c(268)][c(394)](t)[c(332)]){let i=0,o=!1;for(const e of t[c(392)]())i+=e[c(431)],e[c(254)]>=n&&(o=!0);if(i<s&&o)return u[c(341)]({type:c(351),offset:0,path:[e]}),u}const p=t[c(281)](c(364));if(p&&function(t){const e=c;let n=!1;const i=t[e(346)][e(417)][e(314)],s=t[e(319)],r=t[e(338)],a=s&&o.global[e(268)][e(394)](s)[e(388)],u=s&&e(302)===s[e(325)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(390)!==a&&(n=!0),!n}(p)){const t=o.global[c(268)][c(394)](p)[c(388)];if(c(254)==t||c(264)==t)return u}const f=m(t,n,i,s,r);if(f[c(315)]){for(const t of f)u[c(341)]({type:t[c(251)],offset:t[c(285)],textOffset:t[c(363)],path:[e,...t[c(404)]]}),n+=i,r=!1;return u}return u[c(341)](...function(t,e,n,i,s){const r=c,a=[];if(r(265)==o.global[r(268)][r(394)](t)[r(332)])return[];const u=[];for(const e of t[r(392)]())if(e[r(254)]>=n){for(const t of u)t[r(431)]+=e[r(431)];u[r(341)]({height:e[r(431)]}),n+=i}for(const t of u)s||a[r(341)]({type:r(351),offset:t[r(431)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,r)),u}function v(t,e,n,i,o){const s=a,r=d(t),c=[];let u=0;for(const a of r[s(392)]())if(a[s(254)]>=n){const r=w(t,u,n,i);o||c[s(341)]({type:s(428),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=a;let s=e,r=t[o(315)];for(;r-s>1;){const e=Math[o(378)]((s+r)/2);k(h(t,s,e),n,i)?r=e:s=e}return s}function k(t,e,n){const i=a;for(const o of t[i(392)]())if(o[i(254)]>=e&&o[i(254)]<e+n)return!0;return!1}function y(t){const e=a;return t[e(267)]==Node[e(400)]}function I(t){const e=a;return t[e(267)]==Node[e(259)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),A=n(262),T=n.n(A),S=n(667),E=n.n(S),R=n(357),C=n.n(R),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=E(),L.insert=T().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function D(t,e){const n=B();return(D=function(t,e){return n[t-=192]})(t,e)}function B(){const t=["8876520uiXdPR","setTemplate","pageNumber","top","set","ck-pagination-view-line","398270SSbvXb","left","width","52IawTAK","6380tGeUts","5410140HamAcf","56511qWqooQ","5iSRgRQ","bindTemplate","isVisible","9222240CMHDCR","ck-hidden","165723bGSgIt","962801PnygDq","div"];return(B=function(){return t})()}!function(t){const e=D,n=t();for(;;)try{if(920234===-parseInt(e(199))/1*(parseInt(e(192))/2)+parseInt(e(204))/3*(-parseInt(e(195))/4)+-parseInt(e(197))/5+-parseInt(e(202))/6+parseInt(e(205))/7+parseInt(e(207))/8+parseInt(e(198))/9*(parseInt(e(196))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const M=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=D;super();const e=this[t(200)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(208)]({tag:t(206),attributes:{"data-page-number":e.to(t(209)),class:["ck",t(212),e.if(t(201),t(203),t=>!t)],style:{left:e.to(t(193),t=>M(t)),top:e.to(t(210),t=>M(t)),width:e.to(t(194),t=>M(t))}}})}}function K(){const t=["delete","548pdtaXn","51111GgpWXN","5YeDlhz","cleanLines","43094230Odqhlv","11QNjeBP","826414YKsAix","isVisible","view","showLine","_viewCollection","_hiddenLines","destroy","1376PTSlMx","values","setViewCollection","add","12162qvKCur","size","8920037KSgbBh","_visibleLines","370350ModuVT","9320718XZwIyC","remove","set","body","clear","has"];return(K=function(){return t})()}const j=q;function q(t,e){const n=K();return(q=function(t,e){return n[t-=127]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(834064===parseInt(e(143))/1+parseInt(e(128))/2+-parseInt(e(139))/3*(-parseInt(e(151))/4)+parseInt(e(153))/5*(parseInt(e(144))/6)+parseInt(e(141))/7+parseInt(e(135))/8*(parseInt(e(152))/9)+-parseInt(e(155))/10*(parseInt(e(127))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class V{[j(132)];[j(142)]=new Set;[j(133)]=new Set;constructor(t){const e=j;this[e(132)]=t.ui[e(130)][e(147)]}[j(134)](){const t=j;for(const e of this[t(133)])e[t(134)]()}[j(154)](){const t=j;for(const e of this[t(142)])e[t(129)]=!1,this[t(133)][t(138)](e);this[t(142)][t(148)]()}[j(131)](t,e,n,i){const s=j;let r;this[s(133)][s(140)]?(r=(0,o.first)(this[s(133)][s(136)]()),this[s(133)][s(150)](r)):r=new G,r[s(146)]({pageNumber:i,left:t,top:e,width:n}),r[s(129)]=!0,this[s(132)][s(149)](r)||this[s(132)][s(138)](r),this[s(142)][s(138)](r)}[j(137)](t){const e=j;for(const t of[...this[e(142)],...this[e(133)]])this[e(132)][e(149)](t)&&this[e(132)][e(145)](t);this[e(132)]=t}}function U(){const t=["pageNumber","get","_scrollableEditingRootDomAncestor","removeClass","listenTo","scrollToPage","_resizeObserver","6wwHvSH","smooth","init","648lMAxGJ","roots","854458jTqpYn","update","plugins","set","width","contains","instant","addClass","isEnabled","ck-pagination_enabled","push","view","6187PqTbUl","editing","height","stopListening","_toggleEditingRootsClass","change:pageBreaks","scrollTo","showLine","tagName","1292985eJDAOq","isPremiumPlugin","offset","domRoots","setupScrollableAncestor","left","_updatePageBreakLines","excludeScrollbarsAndBorders","pageBreaks","length","values","change","ownerDocument","PaginationRenderer","355xAbpxN","body","scrollTop","isOfficialPlugin","PaginationLookup","editor","_renderPageBreakLines","PaginationEditing","791248SaWvnD","resize","isMotionReduced","window","_getPageBreakLineOffset","pluginName","BODY","linesRepository","166890RNcWcw","scroll","change:isEnabled","getComputedStyle","once","bind","bottom","ready","destroy","24692HUPdEE","cleanLines","auto","document","_onUiReady","overflowY","_getAttachedDomRoot","scrollLeft","_paginationLookupPlugin","2392789WicZwy","parentElement","top"];return(U=function(){return t})()}const F=W;!function(t){const e=W,n=t();for(;;)try{if(320171===-parseInt(e(441))/1+-parseInt(e(429))/2+parseInt(e(450))/3+-parseInt(e(405))/4*(parseInt(e(464))/5)+-parseInt(e(424))/6*(parseInt(e(414))/7)+-parseInt(e(472))/8+-parseInt(e(427))/9*(-parseInt(e(396))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const H=F(438);function W(t,e){const n=U();return(W=function(t,e){return n[t-=396]})(t,e)}class z extends t.Plugin{[F(479)];[F(419)]=null;[F(423)]=null;[F(413)];static get[F(477)](){return F(463)}static get[F(467)](){return!0}static get[F(451)](){return!0}[F(426)](){const t=F;this[t(432)]({pageNumber:1}),this[t(479)]=new V(this[t(469)]),this[t(419)]=null,this[t(423)]=null,this[t(413)]=this[t(469)][t(431)][t(418)](t(468)),this[t(401)](t(437)).to(this[t(469)][t(431)][t(418)](t(471))),this[t(469)].ui[t(400)](t(403),()=>this[t(409)]()),this[t(445)](H),this.on(t(398),(e,n,i)=>{const o=t;i||this[o(479)][o(406)](),this[o(445)](H,i)})}[F(404)](){const t=F;this[t(445)](H,!1),this[t(479)][t(404)](),this[t(419)]=null,this[t(423)]&&this[t(423)][t(404)]()}[F(422)](t){const e=F;if(!this[e(437)])return;const n=t>1?this[e(476)](t-1):0;this[e(419)][e(447)]({top:n-10,left:this[e(419)][e(412)],behavior:o.env[e(474)]?e(435):e(425)})}[F(454)](){const t=F,e=this[t(469)],n=this[t(411)]();n?(this[t(419)]&&e.ui[t(440)][t(444)](this[t(419)],t(397)),this[t(419)]=function(e){const n=t;let i=e;do{i=i[n(415)];const t=o.global[n(475)][n(399)](i)[n(410)];if(n(407)==t||n(397)==t)break}while(n(478)!=i[n(449)]);return i}(n),e.ui[t(440)][t(421)](this[t(419)],t(397),()=>{this[t(456)]()},{usePassive:!0}),this[t(423)]&&this[t(423)][t(404)](),this[t(423)]=new o.ResizeObserver(this[t(419)],()=>{this[t(456)]()})):e.ui[t(400)](t(430),()=>this[t(454)]())}[F(409)](){const t=F,e=this[t(469)];this[t(411)]()?(this[t(454)](),e.ui[t(440)][t(421)](o.global[t(475)],t(473),()=>this[t(456)]()),this[t(421)](this[t(413)],t(446),()=>this[t(456)]())):e.ui[t(400)](t(430),()=>this[t(409)]())}[F(411)](){const t=F;for(const e of this[t(469)][t(442)][t(440)][t(453)][t(460)]())if(e[t(462)][t(465)][t(434)](e))return e;return null}[F(456)](){const t=F;if(!this[t(437)])return;const e=this[t(411)](),n=this[t(413)][t(458)];if(this[t(479)][t(406)](),!e||1==n[t(459)])return void(this[t(417)]=1);const i=new o.Rect(e)[t(457)](),s=new o.Rect(this[t(419)])[t(457)](),r=s[t(416)]+s[t(443)]/3;let a=!1;const c=[];for(let e=1;e<n[t(459)];e++){const n=this[t(476)](e,s);if(!n)continue;const o=s[t(416)]+n-this[t(419)][t(466)];c[t(439)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(417)]=e,a=!0)}this[t(470)](c),a||(this[t(417)]=n[t(459)])}[F(470)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(475)];if(t[e(459)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(416)]<s&&s<o[e(402)]&&this[e(479)][e(448)](r[e(455)]+n,s+i,r[e(433)],a+1)}[F(476)](t,e=null){const n=F,i=this[n(413)][n(458)][t][n(452)];return i?(e||(e=new o.Rect(this[n(419)])[n(457)]()),i-e[n(416)]+this[n(419)][n(466)]):0}[F(445)](t,e=!0){const n=F,i=this[n(469)][n(442)][n(440)];i[n(461)](o=>{const s=n;for(const n of i[s(408)][s(428)])e?o[s(436)](t,n):o[s(420)](t,n)})}}function X(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=E(),Y.insert=T().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=C();x()(Q.A,Y);Q.A&&Q.A.locals&&Q.A.locals;function Z(){const t=["addMarker","end","isPremiumPlugin","mapper","consumable","removeMarker","createContainerElement","name","page-break-before","modelRange","data","featureNotAllowed","$text","paginationLicenseKeyEvaluationLimit","consume","setAttribute","options","editing","pageNumber","locale","504258GbHvUb","always","createPositionAt","model","view","paginationLicenseKeyValid","setStyle","972812PiiwVM","change:pageBreaks","getFillerOffset","offset","invalid","toViewElement","page-break","dataDowncast","_setupKeystrokes","addKeystrokeInfoGroup","index","paginationLicenseKeyNotAllowed","2804600QNgDfM","expired","manual","14tPNqEo","paginationLicenseKeyExpired","487565IfxBvn","span","goToPreviousPage","type","Shift+Pageup","5795208cSOFCR","paginationLicenseKeyDomainLimit","for","_setUpDataDowncastConversion","paginationLicenseKeyInvalid","insert","9icFfki","conversion","data-pagination-page","root","pagination","writer","Go to the previous page (also move selection)","substring","domainLimit","markers","pluginName","length","_updatePageBreakMarkers","PaginationEditing","usageLimit","toViewPosition","parent","_validatePageNumber","has","moveSelectionToPage","init","totalPages","schema","plugins","text","paginationLicenseKeyUsageLimit","start","evaluationLimit","5690905aKXXob","paginationLicenseKeyTrialLimit","get","setSelection","set","trialLimit","_licenseKeyCheckInterval","element","bind","updateMarker","checkChild","pagination:","_showLicenseError","keystrokes","Pagination","editor","scrollToPage","accessibility","pageBreaks","170359sTDhSH","requires","bindElementToMarker","isOfficialPlugin","20snhfee","change","config","getContainedElement","Shift+Pagedown","Keystrokes for navigating through documents","nodeAfter","getNearestSelectionRange","hasClass","Go to the next page (also move selection)","forward","add","4ClqfUF","destroy","textNode","addMarker:","isEnabled","stop","listenTo","goToNextPage","focus","licenseKey"];return(Z=function(){return t})()}const J=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=392]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(423055===-parseInt(e(462))/1*(-parseInt(e(478))/2)+parseInt(e(415))/3*(-parseInt(e(515))/4)+-parseInt(e(404))/5+parseInt(e(508))/6*(parseInt(e(402))/7)+parseInt(e(399))/8+-parseInt(e(409))/9+-parseInt(e(466))/10*(-parseInt(e(443))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[J(487)];[J(449)];static get[J(425)](){return J(428)}static get[J(465)](){return!0}static get[J(490)](){return!0}static get[J(463)](){return[c,z]}[J(435)](){const t=J;this[t(447)]({pageNumber:1,totalPages:1});const e=this[t(458)][t(438)][t(445)](t(457)),n=this[t(458)][t(438)][t(445)](c),i=this[t(458)][t(438)][t(445)](z);this[t(451)](t(482)).to(e),this[t(412)](),this[t(451)](t(506)).to(i),this[t(484)](n,t(516),(e,n,i,o)=>{const s=t;this[s(436)]=i[s(426)],this[s(427)](i,o)}),this[t(395)](),this[t(487)]=this[t(458)][t(468)][t(445)](t(487));const o=this[t(458)];this[t(449)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(513)==s||e(413)==s||e(403)==s||e(410)==s||e(398)==s||e(501)==s||e(444)==s||e(440)==s){delete o[i],n=s,clearInterval(this[e(449)]),this[e(449)]=void 0;break}}e(413)==n&&o[e(455)](e(519)),e(403)==n&&o[e(455)](e(400)),e(410)==n&&o[e(455)](e(423)),e(398)==n&&o[e(455)](e(499),e(457)),e(501)==n&&o[e(455)](e(442)),e(444)==n&&o[e(455)](e(448)),e(440)==n&&o[e(455)](e(429))},1e3)}[J(479)](){const t=J;super[t(479)](),this[t(449)]&&clearInterval(this[t(449)])}[J(459)](t){const e=J;this[e(482)]&&this[e(458)][e(438)][e(445)](z)[e(459)](this[e(432)](t))}[J(434)](t){const e=J;if(!this[e(482)])return;const n=this[e(458)],i=this[e(458)][e(438)][e(445)](c)[e(461)][t-1];i&&n[e(511)][e(467)](t=>{const o=e;switch(i[o(407)]){case o(401):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(489)],o(476));t[o(446)](e);break}case o(450):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(441)],o(476));t[o(446)](e);break}case o(439):{const e=i[o(497)][o(441)];if(e[o(480)]&&" "===e[o(480)][o(498)][e[o(518)]]){const n=t[o(510)](e[o(431)],e[o(518)]+1);t[o(446)](n)}else t[o(446)](i[o(497)])}}n[o(505)][o(512)][o(486)]()})}[J(485)](){const t=J,e=this[t(432)](this[t(506)]+1);this[t(434)](e),this[t(459)](e)}[J(406)](){const t=J,e=this[t(432)](this[t(506)]-1);this[t(434)](e),this[t(459)](e)}[J(427)](t,e){const n=J,i=this[n(458)][n(511)];this[n(482)]&&i[n(467)](o=>{const s=n;for(let e=1;e<t[s(426)];e++){const n=t[e][s(497)],r=s(454)+(e+1);i[s(424)][s(433)](r)?o[s(452)](r,{range:n}):o[s(488)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(426)];n<e[s(426)];n++){const t=s(454)+(n+1);i[s(424)][s(433)](t)&&o[s(493)](t)}})}[J(412)](){const t=J,e=t(419);this[t(458)][t(416)][t(411)](t(394))[t(477)](n=>{const i=t;n.on(i(481)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(504)][s(419)])return;if(!o[s(492)][s(502)](e,t[s(495)]))return;const r=e[s(469)]();let a=r?o[s(491)][s(392)](r):null;if(!a){const t=e[s(441)];if(o[s(437)][s(453)](t,s(500))){const e=o[s(491)][s(430)](t);a=o[s(420)][s(494)](s(405)),a[s(517)]=()=>null,o[s(420)][s(414)](e,a)}else{const e=t[s(472)];a=o[s(491)][s(392)](e)}}for(;a[s(431)]!==a[s(418)]&&0===a[s(397)];)a=a[s(431)];const c=n[s(422)](11);a[s(474)](s(393))||(o[s(420)][s(514)](s(496),s(509),a),o[s(420)][s(503)](s(417),c,a),o[s(491)][s(464)](a,n)),t[s(483)]()})})}[J(395)](){const t=J,e=this[t(458)];e[t(456)][t(447)](t(408),(e,n)=>{this[t(406)](),n()}),e[t(456)][t(447)](t(470),(e,n)=>{this[t(485)](),n()}),e[t(460)][t(396)]({id:t(419),label:X(e[t(507)],t(471)),keystrokes:[{label:X(e[t(507)],t(421)),keystroke:t(408),mayRequireFn:!0},{label:X(e[t(507)],t(475)),keystroke:t(470),mayRequireFn:!0}]})}[J(432)](t){const e=J;return t<1&&(t=1),t>this[e(436)]&&(t=this[e(436)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=T().bind(null,"head"),it.domAPI=N(),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-=340]})(t,e)}const st=ot;function rt(){const t=["checkValidity","stopPropagation","span","listenTo","isEnabled","totalPages","Current page number (from 1 to %0)","max","value","2091ZBAegO","firstChild","75950NAJHpM","pageNumberView","ArrowDown","numeric","keyCode","set","ck-page-navigator","div","115247YxRaRg","enter","607080Hjmksr","369qNAEek","preventDefault","ariaLabel","valueAsNumber","ck-disabled","6694366dPkGRZ","10JNwDeR","select","change:pageNumber","navigation","keydown","823974PUvSoI","setTemplate","fire","focus","bindTemplate","2956290GSUcry","1548fwijTg","render","isReadOnly","8vLvbDv","element","ArrowUp","isNaN","pageNumber","884cjYwBe","key","bind","blur"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(496023===-parseInt(e(355))/1*(-parseInt(e(342))/2)+parseInt(e(379))/3*(parseInt(e(388))/4)+parseInt(e(374))/5*(-parseInt(e(384))/6)+-parseInt(e(373))/7+-parseInt(e(367))/8+parseInt(e(368))/9*(-parseInt(e(357))/10)+parseInt(e(365))/11*(parseInt(e(385))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(358)];constructor(t){const n=st;super(t);const i=this[n(383)];this[n(362)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(358)]=new e.InputNumberView(t,{min:1,step:1}),this[n(358)][n(362)]({inputMode:n(360),tabIndex:-1}),this[n(358)][n(344)](n(370)).to(this,n(351),e=>X(t,n(352),e)),this[n(358)][n(344)](n(353)).to(this,n(351)),this[n(358)][n(344)](n(387)).to(this,n(350),t=>!t),this[n(380)]({tag:n(364),attributes:{class:["ck",n(363),i.if(n(350),n(372),t=>!t)]},children:[this[n(358)],{tag:n(348),children:[{text:i.to(n(351))}]}]})}[st(386)](){const t=st;super[t(386)]();const e=this[t(358)][t(389)],n=e=>{const n=t;this[n(358)][n(389)][n(354)]=String(e)};n(this[t(341)]),this.on(t(376),(t,e,i)=>{n(i)}),this[t(349)](e,t(378),(n,i)=>{const s=t;if(s(390)===i[s(343)]||s(359)===i[s(343)])return void i[s(347)]();if(i[s(361)]!==o.keyCodes[s(366)])return;i[s(369)]();const r=e[s(371)];Number[s(340)](r)?e[s(354)]=String(this[s(341)]):(e[s(346)]()?this[s(341)]=r:r>this[s(351)]?(this[s(341)]=this[s(351)],e[s(354)]=String(this[s(351)])):(this[s(341)]=1,e[s(354)]="1"),this[s(381)](s(377),this[s(341)]))}),this[t(349)](e,t(345),()=>{const n=t;e[n(354)]=String(this[n(341)])}),this[t(349)](e,t(382),()=>{const e=t;this[e(358)][e(375)]()})}[st(382)](){const t=st;this[t(389)][t(356)][t(382)]()}}const ct=lt;function ut(){const t=["isPremiumPlugin","componentFactory","nextPage","init","PaginationEditing","pageNumber","listenTo","editor","goToNextPage","11193714sfPYAs","tooltip","scrollToPage","totalPages","label","navigation","add","plugins","7270110TXBKWh","Go to previous page","152CGtwQq","PaginationUI","icon","2454964lpxDIm","Shift+PageUp","locale","pluginName","bind","607577ixnzNU","6663dMQjtM","get","pageNavigation","Go to next page","isEnabled","moveSelectionToPage","keystroke","previousPage","5282568ovUDDA","execute","goToPreviousPage","1284DASTcz","71106AOrtye","isOfficialPlugin","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(837194===-parseInt(e(299))/1+-parseInt(e(294))/2+parseInt(e(300))/3*(-parseInt(e(311))/4)+parseInt(e(289))/5+parseInt(e(308))/6+parseInt(e(269))/7*(-parseInt(e(291))/8)+parseInt(e(281))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(297)](){return ct(292)}static get[ct(270)](){return!0}static get[ct(272)](){return!0}[ct(275)](){const t=ct,n=this[t(279)],i=n[t(288)][t(301)](t(276));n.ui[t(273)][t(287)](t(302),e=>{const n=t,o=new at(e);return o[n(298)](n(277)).to(i),o[n(298)](n(284)).to(i),o[n(298)](n(304)).to(i),o.on(n(286),(t,e)=>{const o=n;i[o(305)](e),i[o(283)](e)}),o}),n.ui[t(273)][t(287)](t(274),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(303)),r[s(293)]=et.IconArrowDown,r[s(282)]=!0,r[s(306)]=s(271),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(280)]()}),r}),n.ui[t(273)][t(287)](t(307),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(290)),r[s(293)]=et.IconArrowUp,r[s(282)]=!0,r[s(306)]=s(295),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(310)]()}),r})}}const ft=dt;function dt(t,e){const n=gt();return(dt=function(t,e){return n[t-=483]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(334197===-parseInt(e(503))/1+-parseInt(e(504))/2*(-parseInt(e(494))/3)+-parseInt(e(488))/4+parseInt(e(490))/5*(parseInt(e(513))/6)+-parseInt(e(491))/7*(-parseInt(e(497))/8)+-parseInt(e(487))/9+parseInt(e(501))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);class ht extends t.Plugin{static get[ft(485)](){return ft(505)}static get[ft(507)](){return!0}static get[ft(502)](){return!0}static get[ft(483)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(509)]=!1}[ft(486)](){const t=ft;this[t(484)]({pageNumber:1,totalPages:1});const e=this[t(499)][t(511)][t(493)](tt);this[t(492)](t(496)).to(e),this[t(492)](t(506)).to(e),o.env[t(489)]||this[t(499)][t(498)][t(493)](t(495))?this[t(499)].on(t(500),()=>{this[t(509)]=!0}):this[t(510)](t(508))}[ft(512)](t){const e=ft;this[e(499)][e(511)][e(493)](tt)[e(512)](t)}}function gt(){const t=["isOfficialPlugin","browserCheck","isEnabled","forceDisabled","plugins","scrollToPage","29868lNrOtx","requires","set","pluginName","init","2981106cTKkHT","1778052EatqIy","isBlink","320nTgcwe","14syqtOp","bind","get","3XqzQuW","pagination.enableOnUnsupportedBrowsers","pageNumber","1694320cFZKZw","config","editor","ready","1053120TEwQLs","isPremiumPlugin","245163QGganI","1015246gjvdii","Pagination","totalPages"];return(gt=function(){return t})()}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=228]})(t,e)}function bt(){var t=["5113MnBigv","400509WlGAbB","730924KMcjFf","11296gMcoxC","431835IqppPJ","7FwQIae","310400lmhfsn","342HmvSdP","230298WyzgZO"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(107901===parseInt(e(231))/1+parseInt(e(228))/2+-parseInt(e(232))/3+parseInt(e(233))/4+-parseInt(e(235))/5+-parseInt(e(230))/6*(-parseInt(e(236))/7)+-parseInt(e(234))/8*(parseInt(e(229))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-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:()=>ht,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},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=l;!function(t){const e=l,n=t();for(;;)try{if(790739===-parseInt(e(635))/1*(parseInt(e(673))/2)+parseInt(e(568))/3+parseInt(e(668))/4*(-parseInt(e(557))/5)+parseInt(e(505))/6+parseInt(e(646))/7+parseInt(e(530))/8+parseInt(e(518))/9*(parseInt(e(561))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class a extends t.Plugin{[r(507)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(499)](),200);[r(654)]=null;static get[r(508)](){return r(562)}static get[r(582)](){return!0}static get[r(492)](){return!0}[r(589)](){const t=r;if(this[t(554)]({pageBreaks:[]}),!this[t(655)][t(559)][t(610)](t(529)))return void(0,o.logWarning)(t(536),this[t(655)][t(559)]);const e=this[t(655)][t(528)][t(610)](t(659));this[t(600)](t(599)).to(e),this[t(655)].ui[t(519)](t(626),()=>this[t(592)]()),this.on(t(603),(e,n,i)=>{i&&this[t(507)]()})}[r(624)](){!async function(t){const e=m([100,106,66,114,74,76,101,80,51,68,107,67,117,89,119,113,104,71,77,120,73,65,122,90,54,84,83,69,108,98,52,57,87,110,49,79,121,72,85,103,70,102,111,105,115,112,55,86,97,53,48,118,56,116,82,109,75,78,88,50,99,81]),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 d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=l;return t[e(512)](t=>String[e(553)](t))[e(579)]("")}!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([100]);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])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=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:1752019200;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(543)]);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([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[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{return m([73,110,118,97,108,105,100])}}())}(this)}[r(613)](){const t=r;super[t(613)](),this[t(654)]&&(this[t(507)][t(544)](),this[t(654)][t(613)](),this[t(654)][t(535)][t(623)]())}[r(592)](){const t=r,n=this[t(655)],i=n[t(614)][t(656)],o=this[t(533)]();if(!o||0===o[t(503)])return void n.ui[t(519)](t(545),()=>this[t(592)]());const{pageWidth:s,pageHeight:a}=n[t(559)][t(610)](t(529)),{top:c,left:u,bottom:l,right:p}=this[t(658)];this[t(654)]=new e.View(n[t(500)]);const f=this[t(654)];f[t(554)](t(674),""),f[t(660)]({tag:t(502),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(619)+a+t(604)+c+t(604)+l+" )",minWidth:t(596),minHeight:t(596),padding:"0 "+p+t(540)+u,columnGap:t(628),border:0,boxSizing:t(644),columnCount:t(596),columnFill:t(596),overflow:t(504),position:t(510),top:t(538),left:t(538)},tabindex:"-1",class:f[t(532)].to(t(674))}}),f[t(647)](),o[t(515)][t(548)](f[t(535)],o[t(494)]),this[t(594)](i,t(647),()=>this[t(507)](),{priority:t(521)}),this[t(507)]()}[r(533)](){const t=r;for(const e of this[t(655)][t(614)][t(656)][t(542)][t(546)]())if(e[t(506)][t(496)][t(634)](e))return e;return null}[r(499)](){const t=r;if(!this[t(599)])return Promise[t(585)]();const e=this[t(655)][t(614)][t(656)],n=this[t(654)],i=this[t(533)]();if(!i)return Promise[t(585)]();for(n[t(674)]=[t(539),t(558),...i[t(602)]][t(579)](" ");n[t(535)][t(556)];)n[t(535)][t(556)][t(623)]();const o=Array[t(537)](e[t(542)]);o[t(590)](([,e],[,n])=>e[t(653)](n)==Node[t(615)]?1:-1);for(const[e,i]of o){const o=i[t(675)](!0);t(555)in o&&o[t(555)][t(652)](),o[t(547)]="",o[t(495)]("id"),o[t(564)][t(638)]=e,n[t(535)][t(621)](o)}return function(e){const n=t;return Promise[n(630)](e[n(512)](t=>{return Promise[n(566)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(537)](n[t(535)][t(618)](t(574))))[t(581)](()=>this[t(598)]())}[r(598)](){const t=r,e=this[t(654)][t(535)];if(!e[t(506)][t(496)][t(634)](e))return;const n=new o.Rect(e)[t(662)](),i=o.global[t(671)][t(514)](e),s=parseFloat(i[t(607)])+parseFloat(i[t(573)]),a=Math[t(588)](n[t(670)]+100-s),c=m(e,Math[t(588)](n[t(552)]-e[t(550)]),a,n[t(640)])[t(512)](e=>this[t(617)](e));c[t(571)](t=>!!t)&&(this[t(497)]=c)}[r(617)](t){const e=r,n=this[e(655)][e(614)][e(656)],i=this[e(655)][e(614)][e(569)],o=n[e(509)],s=t[e(524)][e(489)](),a=this[e(654)][e(535)][e(649)][s][e(564)][e(638)],c=n[e(606)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(524)]){if(!o)return null;o=o[i(649)][t]}return o}(c,t);if(!u)return null;const l=o[e(584)](u,t[e(666)]||0);return l?e(487)==t[e(570)]?this[e(672)](l,u):e(612)==t[e(570)]&&i[e(586)](l)[e(650)]?this[e(490)](l,u,t[e(666)]):this[e(534)](l,u,t[e(650)]):null}[r(672)](t,e){const n=r,i=this[n(655)][n(620)],o=this[n(655)][n(614)][n(569)][n(608)](t[n(667)]),s=i[n(565)](o);return new c({type:n(487),modelRange:s,domNode:e,offset:0})}[r(490)](t,e,n){const i=r,o=this[i(655)][i(620)],s=this[i(655)][i(614)][i(569)],a=this[i(655)][i(614)][i(656)][i(509)];if(n>=e[i(677)])return null;const l=s[i(586)](t),p=o[i(609)](l),f=s[i(642)](t),d=a[i(531)](f);return new c({type:i(612),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(534)](t,e,n){const i=r,s=this[i(655)][i(620)],a=this[i(655)][i(614)],u=a[i(569)],l=a[i(656)][i(509)],p=u[i(642)](t),d=u[i(608)](p),h=function(t){const e=i,n=t[e(667)],o=n[e(665)][e(643)][e(620)],s=n[e(676)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(597)))return r;if(!o[e(636)](n)[e(663)](t))return r;r=n}}(s[i(636)](d))||d;let g=u[i(525)](h),m=s[i(565)](h);const b=s[i(636)](h)[i(669)];if(b&&b.is(i(535),i(513))){const t=u[i(525)](b),e=l[i(531)](t),n=o.global[i(671)][i(514)](e)[i(541)];i(552)!=n&&i(631)!=n||(m=s[i(565)](b))}for(;g[i(667)]!==g[i(665)]&&0===g[i(527)];)g=g[i(667)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(640)]-n:0,k=l[i(531)](g),I=new o.Rect(k);return new c({type:i(535),modelRange:m,domNode:k,offset:Math[i(493)](v)?v+w[i(511)]-I[i(511)]:0})}get[r(658)](){const t=r,e=this[t(655)][t(559)][t(610)](t(549));return Object[t(572)]({top:t(625),bottom:t(625),left:t(625),right:t(625)},e)}static[r(648)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(570)];[r(576)];[r(595)];[r(523)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(570)]=t,this[o(576)]=e,this[o(595)]=n,this[o(523)]=i}get[r(650)](){const t=r;if(!this[t(595)][t(506)][t(496)][t(634)](this[t(595)]))return 0;const e=new o.Rect(y(this[t(595)])?this[t(595)]:f(this[t(595)]));return t(487)==this[t(570)]?e[t(511)]+e[t(640)]/2:e[t(511)]+this[t(523)]}}function u(t,e,n){const i=r,s=f(t),a=function(t){const e=l,n=o.global[e(643)][e(609)]();return n[e(578)](t),n}(n);let c;c=0==e?h(a[i(587)],a[i(560)],t[i(515)],Array[i(537)](t[i(515)][i(649)])[i(633)](t)):h(a[i(587)],a[i(560)],t,e);const u=h(t,e,a[i(622)],a[i(501)]),p=new o.Rect(c)[i(593)];return(new o.Rect(u)[i(511)]+p)/2-new o.Rect(s)[i(511)]}function l(t,e){const n=g();return(l=function(t,e){return n[t-=486]})(t,e)}function p(t){const e=r;return t[e(517)](e(670))&&t[e(517)](e(640))?Promise[e(585)]():new Promise(n=>{const i=e;function o(){const e=l;t[e(657)](e(498),o),t[e(657)](e(611),o),n()}t[i(632)]?n():(t[i(522)](i(498),o),t[i(522)](i(611),o))})}function f(t){const e=r,n=o.global[e(643)][e(609)]();return n[e(567)](t),n}function d(t,e,n){const i=r,s=o.global[i(643)][i(609)]();return s[i(629)](t,e),s[i(526)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(643)][s(609)]();return a[s(629)](t,e),a[s(526)](n,i),a}function g(){const t=["class","cloneNode","getAncestors","length","style","manual","figure.image","shift","_mapTextPageStarterInfoToPageBreakInfo","display","isPremiumPlugin","round","nextSibling","removeAttribute","body","pageBreaks","load","_recalculatePageBreaks","locale","endOffset","div","childElementCount","hidden","2199498Nypxef","ownerDocument","_recalculatePageBreaksDebounced","pluginName","domConverter","absolute","top","map","imageBlock","getComputedStyle","parentNode","none","hasAttribute","1557qjexxU","once","offsetParent","low","addEventListener","_offset","path","toViewElement","setEnd","index","plugins","pagination","1065016hBcRPy","mapViewToDom","bindTemplate","_getAttachedDomRoot","_mapElementPageStarterInfoToPageBreakInfo","element","pagination-config-not-found","from","-99999px","ck-reset"," 0 ","float","domRoots","href","cancel","update","values","className","insertBefore","pagination.pageMargins","scrollLeft","previousSibling","left","fromCharCode","set","attributeStyleMap","firstChild","54535qMNHhg","ck-pagination-view","config","startOffset","54690wGMNdM","PaginationLookup","nextElementSibling","dataset","createRangeOn","race","selectNode","3888369GLsAQq","mapper","type","every","assign","paddingRight","img","push","modelRange","getClientRects","selectNodeContents","join",".page-break","then","isOfficialPlugin","entries","domPositionToView","resolve","toModelPosition","startContainer","floor","init","sort","parentElement","_onUiReady","bottom","listenTo","_domNode","auto","rootElement","_updatePageBreaksData","isEnabled","bind","ceil","classList","change:isEnabled"," - ","TEXT_NODE","getDomRoot","paddingLeft","toModelElement","createRange","get","error","text","destroy","editing","DOCUMENT_POSITION_PRECEDING","ck-fake-selection-container","_mapPageStarterInfoToPageBreakInfo","querySelectorAll","calc( ","model","append","endContainer","remove","afterInit","10mm","ready","position","100px","setStart","all","right","complete","indexOf","contains","368306YumSsw","createPositionBefore","page-break","rootName","ELEMENT_NODE","height","table-row","findMappedViewAncestor","document","border-box","closest","2397850rMjtdr","render","_findPageStarterInfos","childNodes","offset","previousElementSibling","clear","compareDocumentPosition","_pagesContainer","editor","view","removeEventListener","_configuredPaddings","PaginationEditing","setTemplate","table-cell","excludeScrollbarsAndBorders","isTouching","nodeType","root","textOffset","parent","436MUtyPc","nodeBefore","width","window","_mapManualPageStarterInfoToPageBreakInfo","6ALcHdL"];return(g=function(){return t})()}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(649)][s(583)]()){let t=[];y(c)&&c[s(520)]&&!c[s(486)][s(627)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(677)]&&(a[s(575)](...t),e+=t[s(677)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(551)])&&y(l)&&Boolean(l[c(602)][c(634)](c(637))||l[c(645)](c(580)))&&(u[c(575)]({type:c(487),offset:0,path:[e-1]}),a=!0),c(641)==o.global[c(671)][c(514)](t)[c(491)]){let i=0,o=!1;for(const e of t[c(577)]())i+=e[c(640)],e[c(552)]>=n&&(o=!0);if(i<s&&o)return u[c(575)]({type:c(535),offset:0,path:[e]}),u}const p=t[c(645)](c(488));if(p&&function(t){const e=c;let n=!1;const i=t[e(591)][e(564)][e(638)],s=t[e(563)],r=t[e(651)],a=s&&o.global[e(671)][e(514)](s)[e(541)],u=s&&e(616)===s[e(547)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(516)!==a&&(n=!0),!n}(p)){const t=o.global[c(671)][c(514)](p)[c(541)];if(c(552)==t||c(631)==t)return u}const f=m(t,n,i,s,a);if(f[c(677)]){for(const t of f)u[c(575)]({type:t[c(570)],offset:t[c(650)],textOffset:t[c(666)],path:[e,...t[c(524)]]}),n+=i,a=!1;return u}return u[c(575)](...function(t,e,n,i,s){const r=c,a=[];if(r(661)==o.global[r(671)][r(514)](t)[r(491)])return[];const u=[];for(const e of t[r(577)]())if(e[r(552)]>=n){for(const t of u)t[r(640)]+=e[r(640)];u[r(575)]({height:e[r(640)]}),n+=i}for(const t of u)s||a[r(575)]({type:r(535),offset:t[r(640)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(577)]())if(r[s(552)]>=n){const r=v(t,u,n,i);o||c[s(575)]({type:s(612),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(677)];for(;a-s>1;){const e=Math[o(601)]((s+a)/2);k(d(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(577)]())if(o[i(552)]>=e&&o[i(552)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(664)]==Node[e(639)]}function I(t){const e=r;return t[e(664)]==Node[e(605)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),A=n.n(T),S=n(667),E=n.n(S),R=n(357),C=n.n(R),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=E(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function M(t,e){const n=D();return(M=function(t,e){return n[t-=192]})(t,e)}function D(){const t=["8876520uiXdPR","setTemplate","pageNumber","top","set","ck-pagination-view-line","398270SSbvXb","left","width","52IawTAK","6380tGeUts","5410140HamAcf","56511qWqooQ","5iSRgRQ","bindTemplate","isVisible","9222240CMHDCR","ck-hidden","165723bGSgIt","962801PnygDq","div"];return(D=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(920234===-parseInt(e(199))/1*(parseInt(e(192))/2)+parseInt(e(204))/3*(-parseInt(e(195))/4)+-parseInt(e(197))/5+-parseInt(e(202))/6+parseInt(e(205))/7+parseInt(e(207))/8+parseInt(e(198))/9*(parseInt(e(196))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const B=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=M;super();const e=this[t(200)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(208)]({tag:t(206),attributes:{"data-page-number":e.to(t(209)),class:["ck",t(212),e.if(t(201),t(203),t=>!t)],style:{left:e.to(t(193),t=>B(t)),top:e.to(t(210),t=>B(t)),width:e.to(t(194),t=>B(t))}}})}}function K(){const t=["delete","548pdtaXn","51111GgpWXN","5YeDlhz","cleanLines","43094230Odqhlv","11QNjeBP","826414YKsAix","isVisible","view","showLine","_viewCollection","_hiddenLines","destroy","1376PTSlMx","values","setViewCollection","add","12162qvKCur","size","8920037KSgbBh","_visibleLines","370350ModuVT","9320718XZwIyC","remove","set","body","clear","has"];return(K=function(){return t})()}const j=q;function q(t,e){const n=K();return(q=function(t,e){return n[t-=127]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(834064===parseInt(e(143))/1+parseInt(e(128))/2+-parseInt(e(139))/3*(-parseInt(e(151))/4)+parseInt(e(153))/5*(parseInt(e(144))/6)+parseInt(e(141))/7+parseInt(e(135))/8*(parseInt(e(152))/9)+-parseInt(e(155))/10*(parseInt(e(127))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class U{[j(132)];[j(142)]=new Set;[j(133)]=new Set;constructor(t){const e=j;this[e(132)]=t.ui[e(130)][e(147)]}[j(134)](){const t=j;for(const e of this[t(133)])e[t(134)]()}[j(154)](){const t=j;for(const e of this[t(142)])e[t(129)]=!1,this[t(133)][t(138)](e);this[t(142)][t(148)]()}[j(131)](t,e,n,i){const s=j;let r;this[s(133)][s(140)]?(r=(0,o.first)(this[s(133)][s(136)]()),this[s(133)][s(150)](r)):r=new G,r[s(146)]({pageNumber:i,left:t,top:e,width:n}),r[s(129)]=!0,this[s(132)][s(149)](r)||this[s(132)][s(138)](r),this[s(142)][s(138)](r)}[j(137)](t){const e=j;for(const t of[...this[e(142)],...this[e(133)]])this[e(132)][e(149)](t)&&this[e(132)][e(145)](t);this[e(132)]=t}}function V(){const t=["pageNumber","get","_scrollableEditingRootDomAncestor","removeClass","listenTo","scrollToPage","_resizeObserver","6wwHvSH","smooth","init","648lMAxGJ","roots","854458jTqpYn","update","plugins","set","width","contains","instant","addClass","isEnabled","ck-pagination_enabled","push","view","6187PqTbUl","editing","height","stopListening","_toggleEditingRootsClass","change:pageBreaks","scrollTo","showLine","tagName","1292985eJDAOq","isPremiumPlugin","offset","domRoots","setupScrollableAncestor","left","_updatePageBreakLines","excludeScrollbarsAndBorders","pageBreaks","length","values","change","ownerDocument","PaginationRenderer","355xAbpxN","body","scrollTop","isOfficialPlugin","PaginationLookup","editor","_renderPageBreakLines","PaginationEditing","791248SaWvnD","resize","isMotionReduced","window","_getPageBreakLineOffset","pluginName","BODY","linesRepository","166890RNcWcw","scroll","change:isEnabled","getComputedStyle","once","bind","bottom","ready","destroy","24692HUPdEE","cleanLines","auto","document","_onUiReady","overflowY","_getAttachedDomRoot","scrollLeft","_paginationLookupPlugin","2392789WicZwy","parentElement","top"];return(V=function(){return t})()}const H=W;!function(t){const e=W,n=t();for(;;)try{if(320171===-parseInt(e(441))/1+-parseInt(e(429))/2+parseInt(e(450))/3+-parseInt(e(405))/4*(parseInt(e(464))/5)+-parseInt(e(424))/6*(parseInt(e(414))/7)+-parseInt(e(472))/8+-parseInt(e(427))/9*(-parseInt(e(396))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);const F=H(438);function W(t,e){const n=V();return(W=function(t,e){return n[t-=396]})(t,e)}class z extends t.Plugin{[H(479)];[H(419)]=null;[H(423)]=null;[H(413)];static get[H(477)](){return H(463)}static get[H(467)](){return!0}static get[H(451)](){return!0}[H(426)](){const t=H;this[t(432)]({pageNumber:1}),this[t(479)]=new U(this[t(469)]),this[t(419)]=null,this[t(423)]=null,this[t(413)]=this[t(469)][t(431)][t(418)](t(468)),this[t(401)](t(437)).to(this[t(469)][t(431)][t(418)](t(471))),this[t(469)].ui[t(400)](t(403),()=>this[t(409)]()),this[t(445)](F),this.on(t(398),(e,n,i)=>{const o=t;i||this[o(479)][o(406)](),this[o(445)](F,i)})}[H(404)](){const t=H;this[t(445)](F,!1),this[t(479)][t(404)](),this[t(419)]=null,this[t(423)]&&this[t(423)][t(404)]()}[H(422)](t){const e=H;if(!this[e(437)])return;const n=t>1?this[e(476)](t-1):0;this[e(419)][e(447)]({top:n-10,left:this[e(419)][e(412)],behavior:o.env[e(474)]?e(435):e(425)})}[H(454)](){const t=H,e=this[t(469)],n=this[t(411)]();n?(this[t(419)]&&e.ui[t(440)][t(444)](this[t(419)],t(397)),this[t(419)]=function(e){const n=t;let i=e;do{i=i[n(415)];const t=o.global[n(475)][n(399)](i)[n(410)];if(n(407)==t||n(397)==t)break}while(n(478)!=i[n(449)]);return i}(n),e.ui[t(440)][t(421)](this[t(419)],t(397),()=>{this[t(456)]()},{usePassive:!0}),this[t(423)]&&this[t(423)][t(404)](),this[t(423)]=new o.ResizeObserver(this[t(419)],()=>{this[t(456)]()})):e.ui[t(400)](t(430),()=>this[t(454)]())}[H(409)](){const t=H,e=this[t(469)];this[t(411)]()?(this[t(454)](),e.ui[t(440)][t(421)](o.global[t(475)],t(473),()=>this[t(456)]()),this[t(421)](this[t(413)],t(446),()=>this[t(456)]())):e.ui[t(400)](t(430),()=>this[t(409)]())}[H(411)](){const t=H;for(const e of this[t(469)][t(442)][t(440)][t(453)][t(460)]())if(e[t(462)][t(465)][t(434)](e))return e;return null}[H(456)](){const t=H;if(!this[t(437)])return;const e=this[t(411)](),n=this[t(413)][t(458)];if(this[t(479)][t(406)](),!e||1==n[t(459)])return void(this[t(417)]=1);const i=new o.Rect(e)[t(457)](),s=new o.Rect(this[t(419)])[t(457)](),r=s[t(416)]+s[t(443)]/3;let a=!1;const c=[];for(let e=1;e<n[t(459)];e++){const n=this[t(476)](e,s);if(!n)continue;const o=s[t(416)]+n-this[t(419)][t(466)];c[t(439)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(417)]=e,a=!0)}this[t(470)](c),a||(this[t(417)]=n[t(459)])}[H(470)](t){const e=H,{scrollX:n,scrollY:i}=o.global[e(475)];if(t[e(459)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(416)]<s&&s<o[e(402)]&&this[e(479)][e(448)](r[e(455)]+n,s+i,r[e(433)],a+1)}[H(476)](t,e=null){const n=H,i=this[n(413)][n(458)][t][n(452)];return i?(e||(e=new o.Rect(this[n(419)])[n(457)]()),i-e[n(416)]+this[n(419)][n(466)]):0}[H(445)](t,e=!0){const n=H,i=this[n(469)][n(442)][n(440)];i[n(461)](o=>{const s=n;for(const n of i[s(408)][s(428)])e?o[s(436)](t,n):o[s(420)](t,n)})}}function X(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=E(),Y.insert=A().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=C();x()(Q.A,Y);Q.A&&Q.A.locals&&Q.A.locals;function Z(){const t=["addMarker","end","isPremiumPlugin","mapper","consumable","removeMarker","createContainerElement","name","page-break-before","modelRange","data","featureNotAllowed","$text","paginationLicenseKeyEvaluationLimit","consume","setAttribute","options","editing","pageNumber","locale","504258GbHvUb","always","createPositionAt","model","view","paginationLicenseKeyValid","setStyle","972812PiiwVM","change:pageBreaks","getFillerOffset","offset","invalid","toViewElement","page-break","dataDowncast","_setupKeystrokes","addKeystrokeInfoGroup","index","paginationLicenseKeyNotAllowed","2804600QNgDfM","expired","manual","14tPNqEo","paginationLicenseKeyExpired","487565IfxBvn","span","goToPreviousPage","type","Shift+Pageup","5795208cSOFCR","paginationLicenseKeyDomainLimit","for","_setUpDataDowncastConversion","paginationLicenseKeyInvalid","insert","9icFfki","conversion","data-pagination-page","root","pagination","writer","Go to the previous page (also move selection)","substring","domainLimit","markers","pluginName","length","_updatePageBreakMarkers","PaginationEditing","usageLimit","toViewPosition","parent","_validatePageNumber","has","moveSelectionToPage","init","totalPages","schema","plugins","text","paginationLicenseKeyUsageLimit","start","evaluationLimit","5690905aKXXob","paginationLicenseKeyTrialLimit","get","setSelection","set","trialLimit","_licenseKeyCheckInterval","element","bind","updateMarker","checkChild","pagination:","_showLicenseError","keystrokes","Pagination","editor","scrollToPage","accessibility","pageBreaks","170359sTDhSH","requires","bindElementToMarker","isOfficialPlugin","20snhfee","change","config","getContainedElement","Shift+Pagedown","Keystrokes for navigating through documents","nodeAfter","getNearestSelectionRange","hasClass","Go to the next page (also move selection)","forward","add","4ClqfUF","destroy","textNode","addMarker:","isEnabled","stop","listenTo","goToNextPage","focus","licenseKey"];return(Z=function(){return t})()}const J=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=392]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(423055===-parseInt(e(462))/1*(-parseInt(e(478))/2)+parseInt(e(415))/3*(-parseInt(e(515))/4)+-parseInt(e(404))/5+parseInt(e(508))/6*(parseInt(e(402))/7)+parseInt(e(399))/8+-parseInt(e(409))/9+-parseInt(e(466))/10*(-parseInt(e(443))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[J(487)];[J(449)];static get[J(425)](){return J(428)}static get[J(465)](){return!0}static get[J(490)](){return!0}static get[J(463)](){return[a,z]}[J(435)](){const t=J;this[t(447)]({pageNumber:1,totalPages:1});const e=this[t(458)][t(438)][t(445)](t(457)),n=this[t(458)][t(438)][t(445)](a),i=this[t(458)][t(438)][t(445)](z);this[t(451)](t(482)).to(e),this[t(412)](),this[t(451)](t(506)).to(i),this[t(484)](n,t(516),(e,n,i,o)=>{const s=t;this[s(436)]=i[s(426)],this[s(427)](i,o)}),this[t(395)](),this[t(487)]=this[t(458)][t(468)][t(445)](t(487));const o=this[t(458)];this[t(449)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(513)==s||e(413)==s||e(403)==s||e(410)==s||e(398)==s||e(501)==s||e(444)==s||e(440)==s){delete o[i],n=s,clearInterval(this[e(449)]),this[e(449)]=void 0;break}}e(413)==n&&o[e(455)](e(519)),e(403)==n&&o[e(455)](e(400)),e(410)==n&&o[e(455)](e(423)),e(398)==n&&o[e(455)](e(499),e(457)),e(501)==n&&o[e(455)](e(442)),e(444)==n&&o[e(455)](e(448)),e(440)==n&&o[e(455)](e(429))},1e3)}[J(479)](){const t=J;super[t(479)](),this[t(449)]&&clearInterval(this[t(449)])}[J(459)](t){const e=J;this[e(482)]&&this[e(458)][e(438)][e(445)](z)[e(459)](this[e(432)](t))}[J(434)](t){const e=J;if(!this[e(482)])return;const n=this[e(458)],i=this[e(458)][e(438)][e(445)](a)[e(461)][t-1];i&&n[e(511)][e(467)](t=>{const o=e;switch(i[o(407)]){case o(401):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(489)],o(476));t[o(446)](e);break}case o(450):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(441)],o(476));t[o(446)](e);break}case o(439):{const e=i[o(497)][o(441)];if(e[o(480)]&&" "===e[o(480)][o(498)][e[o(518)]]){const n=t[o(510)](e[o(431)],e[o(518)]+1);t[o(446)](n)}else t[o(446)](i[o(497)])}}n[o(505)][o(512)][o(486)]()})}[J(485)](){const t=J,e=this[t(432)](this[t(506)]+1);this[t(434)](e),this[t(459)](e)}[J(406)](){const t=J,e=this[t(432)](this[t(506)]-1);this[t(434)](e),this[t(459)](e)}[J(427)](t,e){const n=J,i=this[n(458)][n(511)];this[n(482)]&&i[n(467)](o=>{const s=n;for(let e=1;e<t[s(426)];e++){const n=t[e][s(497)],r=s(454)+(e+1);i[s(424)][s(433)](r)?o[s(452)](r,{range:n}):o[s(488)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(426)];n<e[s(426)];n++){const t=s(454)+(n+1);i[s(424)][s(433)](t)&&o[s(493)](t)}})}[J(412)](){const t=J,e=t(419);this[t(458)][t(416)][t(411)](t(394))[t(477)](n=>{const i=t;n.on(i(481)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(504)][s(419)])return;if(!o[s(492)][s(502)](e,t[s(495)]))return;const r=e[s(469)]();let a=r?o[s(491)][s(392)](r):null;if(!a){const t=e[s(441)];if(o[s(437)][s(453)](t,s(500))){const e=o[s(491)][s(430)](t);a=o[s(420)][s(494)](s(405)),a[s(517)]=()=>null,o[s(420)][s(414)](e,a)}else{const e=t[s(472)];a=o[s(491)][s(392)](e)}}for(;a[s(431)]!==a[s(418)]&&0===a[s(397)];)a=a[s(431)];const c=n[s(422)](11);a[s(474)](s(393))||(o[s(420)][s(514)](s(496),s(509),a),o[s(420)][s(503)](s(417),c,a),o[s(491)][s(464)](a,n)),t[s(483)]()})})}[J(395)](){const t=J,e=this[t(458)];e[t(456)][t(447)](t(408),(e,n)=>{this[t(406)](),n()}),e[t(456)][t(447)](t(470),(e,n)=>{this[t(485)](),n()}),e[t(460)][t(396)]({id:t(419),label:X(e[t(507)],t(471)),keystrokes:[{label:X(e[t(507)],t(421)),keystroke:t(408),mayRequireFn:!0},{label:X(e[t(507)],t(475)),keystroke:t(470),mayRequireFn:!0}]})}[J(432)](t){const e=J;return t<1&&(t=1),t>this[e(436)]&&(t=this[e(436)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=A().bind(null,"head"),it.domAPI=N(),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-=340]})(t,e)}const st=ot;function rt(){const t=["checkValidity","stopPropagation","span","listenTo","isEnabled","totalPages","Current page number (from 1 to %0)","max","value","2091ZBAegO","firstChild","75950NAJHpM","pageNumberView","ArrowDown","numeric","keyCode","set","ck-page-navigator","div","115247YxRaRg","enter","607080Hjmksr","369qNAEek","preventDefault","ariaLabel","valueAsNumber","ck-disabled","6694366dPkGRZ","10JNwDeR","select","change:pageNumber","navigation","keydown","823974PUvSoI","setTemplate","fire","focus","bindTemplate","2956290GSUcry","1548fwijTg","render","isReadOnly","8vLvbDv","element","ArrowUp","isNaN","pageNumber","884cjYwBe","key","bind","blur"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(496023===-parseInt(e(355))/1*(-parseInt(e(342))/2)+parseInt(e(379))/3*(parseInt(e(388))/4)+parseInt(e(374))/5*(-parseInt(e(384))/6)+-parseInt(e(373))/7+-parseInt(e(367))/8+parseInt(e(368))/9*(-parseInt(e(357))/10)+parseInt(e(365))/11*(parseInt(e(385))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(358)];constructor(t){const n=st;super(t);const i=this[n(383)];this[n(362)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(358)]=new e.InputNumberView(t,{min:1,step:1}),this[n(358)][n(362)]({inputMode:n(360),tabIndex:-1}),this[n(358)][n(344)](n(370)).to(this,n(351),e=>X(t,n(352),e)),this[n(358)][n(344)](n(353)).to(this,n(351)),this[n(358)][n(344)](n(387)).to(this,n(350),t=>!t),this[n(380)]({tag:n(364),attributes:{class:["ck",n(363),i.if(n(350),n(372),t=>!t)]},children:[this[n(358)],{tag:n(348),children:[{text:i.to(n(351))}]}]})}[st(386)](){const t=st;super[t(386)]();const e=this[t(358)][t(389)],n=e=>{const n=t;this[n(358)][n(389)][n(354)]=String(e)};n(this[t(341)]),this.on(t(376),(t,e,i)=>{n(i)}),this[t(349)](e,t(378),(n,i)=>{const s=t;if(s(390)===i[s(343)]||s(359)===i[s(343)])return void i[s(347)]();if(i[s(361)]!==o.keyCodes[s(366)])return;i[s(369)]();const r=e[s(371)];Number[s(340)](r)?e[s(354)]=String(this[s(341)]):(e[s(346)]()?this[s(341)]=r:r>this[s(351)]?(this[s(341)]=this[s(351)],e[s(354)]=String(this[s(351)])):(this[s(341)]=1,e[s(354)]="1"),this[s(381)](s(377),this[s(341)]))}),this[t(349)](e,t(345),()=>{const n=t;e[n(354)]=String(this[n(341)])}),this[t(349)](e,t(382),()=>{const e=t;this[e(358)][e(375)]()})}[st(382)](){const t=st;this[t(389)][t(356)][t(382)]()}}const ct=lt;function ut(){const t=["isPremiumPlugin","componentFactory","nextPage","init","PaginationEditing","pageNumber","listenTo","editor","goToNextPage","11193714sfPYAs","tooltip","scrollToPage","totalPages","label","navigation","add","plugins","7270110TXBKWh","Go to previous page","152CGtwQq","PaginationUI","icon","2454964lpxDIm","Shift+PageUp","locale","pluginName","bind","607577ixnzNU","6663dMQjtM","get","pageNavigation","Go to next page","isEnabled","moveSelectionToPage","keystroke","previousPage","5282568ovUDDA","execute","goToPreviousPage","1284DASTcz","71106AOrtye","isOfficialPlugin","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(837194===-parseInt(e(299))/1+-parseInt(e(294))/2+parseInt(e(300))/3*(-parseInt(e(311))/4)+parseInt(e(289))/5+parseInt(e(308))/6+parseInt(e(269))/7*(-parseInt(e(291))/8)+parseInt(e(281))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(297)](){return ct(292)}static get[ct(270)](){return!0}static get[ct(272)](){return!0}[ct(275)](){const t=ct,n=this[t(279)],i=n[t(288)][t(301)](t(276));n.ui[t(273)][t(287)](t(302),e=>{const n=t,o=new at(e);return o[n(298)](n(277)).to(i),o[n(298)](n(284)).to(i),o[n(298)](n(304)).to(i),o.on(n(286),(t,e)=>{const o=n;i[o(305)](e),i[o(283)](e)}),o}),n.ui[t(273)][t(287)](t(274),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(303)),r[s(293)]=et.IconArrowDown,r[s(282)]=!0,r[s(306)]=s(271),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(280)]()}),r}),n.ui[t(273)][t(287)](t(307),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(290)),r[s(293)]=et.IconArrowUp,r[s(282)]=!0,r[s(306)]=s(295),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(310)]()}),r})}}const ft=dt;function dt(t,e){const n=gt();return(dt=function(t,e){return n[t-=483]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(334197===-parseInt(e(503))/1+-parseInt(e(504))/2*(-parseInt(e(494))/3)+-parseInt(e(488))/4+parseInt(e(490))/5*(parseInt(e(513))/6)+-parseInt(e(491))/7*(-parseInt(e(497))/8)+-parseInt(e(487))/9+parseInt(e(501))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);class ht extends t.Plugin{static get[ft(485)](){return ft(505)}static get[ft(507)](){return!0}static get[ft(502)](){return!0}static get[ft(483)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(509)]=!1}[ft(486)](){const t=ft;this[t(484)]({pageNumber:1,totalPages:1});const e=this[t(499)][t(511)][t(493)](tt);this[t(492)](t(496)).to(e),this[t(492)](t(506)).to(e),o.env[t(489)]||this[t(499)][t(498)][t(493)](t(495))?this[t(499)].on(t(500),()=>{this[t(509)]=!0}):this[t(510)](t(508))}[ft(512)](t){const e=ft;this[e(499)][e(511)][e(493)](tt)[e(512)](t)}}function gt(){const t=["isOfficialPlugin","browserCheck","isEnabled","forceDisabled","plugins","scrollToPage","29868lNrOtx","requires","set","pluginName","init","2981106cTKkHT","1778052EatqIy","isBlink","320nTgcwe","14syqtOp","bind","get","3XqzQuW","pagination.enableOnUnsupportedBrowsers","pageNumber","1694320cFZKZw","config","editor","ready","1053120TEwQLs","isPremiumPlugin","245163QGganI","1015246gjvdii","Pagination","totalPages"];return(gt=function(){return t})()}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=228]})(t,e)}function bt(){var t=["5113MnBigv","400509WlGAbB","730924KMcjFf","11296gMcoxC","431835IqppPJ","7FwQIae","310400lmhfsn","342HmvSdP","230298WyzgZO"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(107901===parseInt(e(231))/1+parseInt(e(228))/2+-parseInt(e(232))/3+parseInt(e(233))/4+-parseInt(e(235))/5+-parseInt(e(230))/6*(-parseInt(e(236))/7)+-parseInt(e(234))/8*(parseInt(e(229))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x577360}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1a25f8,InputNumberView as _0x56e6d5,ButtonView as _0x13ea25}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1ed0d6,Rect as _0x512d65,global as _0x35f76a,uid as _0x1edbc,toUnit as _0x1cca11,first as _0x5e1568,env as _0x1c3cc8,ResizeObserver as _0x309544,keyCodes as _0x34b5cb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x1f585c}from'es-toolkit/compat';import{IconArrowDown as _0x13f243,IconArrowUp as _0x10279d}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x577360{['_recalculatePageBreaksDebounced']=_0x1f585c(()=>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 _0x1ed0d6('pagination-config-not-found',this['editor']['config']);const _0x8de82e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x8de82e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x18189d,_0x4b3fc2,_0x5b1673)=>{_0x5b1673&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x12838d){const _0x2fd22f=_0x151e65([0x62,0x44,0x6a,0x34,0x41,0x7a,0x30,0x5a,0x6c,0x42,0x55,0x4b,0x4a,0x32,0x66,0x56,0x51,0x54,0x50,0x52,0x74,0x64,0x31,0x78,0x6d,0x47,0x39,0x49,0x45,0x46,0x65,0x4f,0x4c,0x69,0x53,0x73,0x77,0x61,0x72,0x70,0x35,0x38,0x75,0x63,0x79,0x57,0x37,0x58,0x59,0x6b,0x6f,0x4d,0x4e,0x33,0x6e,0x36,0x48,0x68,0x43,0x71,0x76,0x67]),_0x55b351=0x1cbe20da,_0x63ce14=0x1cb94c22^_0x55b351,_0x438884=window[_0x151e65([0x44,0x61,0x74,0x65])][_0x151e65([0x6e,0x6f,0x77])](),_0x2bf20c=_0x12838d[_0x151e65([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcba4a2=new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe4b08e=>{_0x2bf20c[_0x151e65([0x6f,0x6e,0x63,0x65])](_0x151e65([0x72,0x65,0x61,0x64,0x79]),_0xe4b08e);}),_0x53027d={[_0x151e65([0x6b,0x74,0x79])]:_0x151e65([0x45,0x43]),[_0x151e65([0x75,0x73,0x65])]:_0x151e65([0x73,0x69,0x67]),[_0x151e65([0x63,0x72,0x76])]:_0x151e65([0x50,0x2d,0x32,0x35,0x36]),[_0x151e65([0x78])]:_0x151e65([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]),[_0x151e65([0x79])]:_0x151e65([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]),[_0x151e65([0x61,0x6c,0x67])]:_0x151e65([0x45,0x53,0x32,0x35,0x36])},_0x2f4bc9=_0x2bf20c[_0x151e65([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151e65([0x67,0x65,0x74])](_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f722b(){let _0x38b8ef,_0x47ea32=null,_0x89d7d9=null;try{if(_0x2f4bc9==_0x151e65([0x47,0x50,0x4c]))return _0x151e65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38b8ef=_0x5dc4a1(),!_0x38b8ef)return _0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38b8ef[_0x151e65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x89d7d9=_0x27863d(_0x38b8ef[_0x151e65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38b8ef[_0x151e65([0x6a,0x74,0x69])])),await _0x5d131a()?_0x250664()?_0x154bb8()?_0x151e65([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b0fd0()?(_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151e65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47ea32=_0x1b6a4f(_0x151e65([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151e65([0x74,0x72,0x69,0x61,0x6c])&&(_0x47ea32=_0x1b6a4f(_0x151e65([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd03906()):_0x151e65([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151e65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x154bb8(){const _0x540a5c=[_0x151e65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151e65([0x74,0x72,0x69,0x61,0x6c])][_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x438884/0x3e8:0xe10*_0x63ce14;return _0x38b8ef[_0x151e65([0x65,0x78,0x70])]<_0x540a5c;}function _0x250664(){const _0x458f60=_0x38b8ef[_0x151e65([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x458f60&&(!!_0x458f60[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x2a]))||!!_0x458f60[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x50,0x41,0x47])));}function _0x5b0fd0(){const _0x3ba26d=_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ba26d||0x0==_0x3ba26d[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf0c7b}=new URL(window[_0x151e65([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ba26d[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0c7b))return!0x0;const _0x213fc0=_0xf0c7b[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e]));return _0x3ba26d[_0x151e65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x560d88=>_0x560d88[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x2a])))[_0x151e65([0x6d,0x61,0x70])](_0x1895ad=>_0x1895ad[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e])))[_0x151e65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1021e3=>_0x1021e3[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x213fc0[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151e65([0x6d,0x61,0x70])](_0x108af5=>Array(_0x213fc0[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x108af5[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151e65([0x66,0x69,0x6c,0x6c])](_0x108af5[0x0]===_0x151e65([0x2a])?_0x151e65([0x2a]):'')[_0x151e65([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x108af5))[_0x151e65([0x73,0x6f,0x6d,0x65])](_0x2b6d85=>_0x213fc0[_0x151e65([0x65,0x76,0x65,0x72,0x79])]((_0x467064,_0x20f511)=>_0x2b6d85[_0x20f511]===_0x467064||_0x2b6d85[_0x20f511]===_0x151e65([0x2a])));}function _0xd03906(){return _0x47ea32&&_0x89d7d9?new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28737d,_0x2404fb)=>{_0x47ea32[_0x151e65([0x74,0x68,0x65,0x6e])](_0x28737d,_0x2404fb),_0x89d7d9[_0x151e65([0x74,0x68,0x65,0x6e])](_0x283606=>{_0x283606!=_0x151e65([0x56,0x61,0x6c,0x69,0x64])&&_0x28737d(_0x283606);},_0x2404fb);}):_0x47ea32||_0x89d7d9||_0x151e65([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27863d(_0x3bc808,_0x436528){return new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fae02=>{if(_0xb6ee49())return _0x3fae02(_0x151e65([0x56,0x61,0x6c,0x69,0x64]));_0x56811e(),_0x2bf20c[_0x151e65([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31f2f1=!0x1;const _0x1c896d=_0x1edbc();function _0x21850a(_0xcab5a5){return!!_0xcab5a5&&(typeof _0xcab5a5===_0x151e65([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcab5a5===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcab5a5[_0x151e65([0x74,0x68,0x65,0x6e])]===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcab5a5[_0x151e65([0x63,0x61,0x74,0x63,0x68])]===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b9685(_0x586cc9){_0x456407(_0x586cc9)[_0x151e65([0x74,0x68,0x65,0x6e])](_0x4e85cf=>{if(!_0x4e85cf||_0x4e85cf[_0x151e65([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151e65([0x6f,0x6b]))return _0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x222508(_0x4f5e7a(_0x1c896d+_0x436528))!=_0x4e85cf[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151e65([0x56,0x61,0x6c,0x69,0x64]);})[_0x151e65([0x74,0x68,0x65,0x6e])](_0x3c4e73=>(_0x369b20(),_0x3c4e73),()=>{const _0x4a421b=_0x26e746();return null==_0x4a421b?(_0x369b20(),_0x151e65([0x56,0x61,0x6c,0x69,0x64])):_0x151e65(_0x438884-_0x4a421b>(0x38b2a4da^_0x55b351)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151e65([0x74,0x68,0x65,0x6e])](_0x3fae02)[_0x151e65([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x568088=0x1c88ce5a^_0x55b351;function _0x369b20(){const _0x4fb8e8=_0x151e65([0x6c,0x6c,0x63,0x74,0x2d])+_0x222508(_0x4f5e7a(_0x3bc808)),_0xaf702c=_0x1efce8(_0x222508(window[_0x151e65([0x4d,0x61,0x74,0x68])][_0x151e65([0x63,0x65,0x69,0x6c])](_0x438884/_0x568088)));window[_0x151e65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151e65([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fb8e8,_0xaf702c);}function _0x26e746(){const _0x26d6a2=_0x151e65([0x6c,0x6c,0x63,0x74,0x2d])+_0x222508(_0x4f5e7a(_0x3bc808)),_0x2f3c41=window[_0x151e65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151e65([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26d6a2);return _0x2f3c41?window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1efce8(_0x2f3c41),0x10)*_0x568088:null;}function _0x456407(_0x335a15){return new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36a44b,_0x93a2c3)=>{_0x335a15[_0x151e65([0x74,0x68,0x65,0x6e])](_0x36a44b,_0x93a2c3),window[_0x151e65([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x93a2c3,0x1cbff41a^_0x55b351);});}}_0x2bf20c[_0x151e65([0x6f,0x6e])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x297c16,_0x397246)=>{if(_0x397246[0x0]!=_0x3bc808)return _0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x397246[0x1]={..._0x397246[0x1],[_0x151e65([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c896d};},{[_0x151e65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151e65([0x68,0x69,0x67,0x68])}),_0x2bf20c[_0x151e65([0x6f,0x6e])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43472a=>{_0x21850a(_0x43472a[_0x151e65([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31f2f1=!0x0,_0x1b9685(_0x43472a[_0x151e65([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151e65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151e65([0x6c,0x6f,0x77])}),_0xcba4a2[_0x151e65([0x74,0x68,0x65,0x6e])](()=>{_0x31f2f1||_0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb6ee49(){return _0x2bf20c[_0x151e65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151e65([0x76,0x69,0x65,0x77])][_0x151e65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151e65([0x61,0x75,0x74,0x6f]);}function _0x56811e(){_0x2bf20c[_0x151e65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151e65([0x76,0x69,0x65,0x77])][_0x151e65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151e65([0x61,0x75,0x74,0x6f]);}}function _0x1b6a4f(_0x248e7e){const _0x1fba08=[new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcec83a=>setTimeout(_0xcec83a,0x1cb71e16^_0x55b351)),_0xcba4a2[_0x151e65([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba02d=>{let _0x5bf023=0x0;_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x6f,0x6e])](_0x151e65([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5eb8af,_0x4a40bf)=>{_0x4a40bf[0x0][_0x151e65([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bf023++,_0x5bf023==(0x1cbe2122^_0x55b351)&&(_0x2ba02d(),_0x5eb8af[_0x151e65([0x6f,0x66,0x66])]());});}))];return window[_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151e65([0x72,0x61,0x63,0x65])](_0x1fba08)[_0x151e65([0x74,0x68,0x65,0x6e])](()=>_0x248e7e);}async function _0x1ac8c2(){await _0xcba4a2,_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x266fcc,_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x266fcc,_0x2bf20c[_0x151e65([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151e65([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a4a35(_0x20e513){const _0x27ff64=_0x19c8d2();_0x2bf20c[_0x27ff64]=_0x151e65([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20e513,_0x20e513!=_0x151e65([0x56,0x61,0x6c,0x69,0x64])&&_0x1ac8c2();}function _0x19c8d2(){const _0x326970=window[_0x151e65([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151e65([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151e65([0x6e,0x6f,0x77])]())[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151e65([0x2e]),'');let _0x53d769=_0x151e65([0x62]);for(let _0x4a3e70=0x0;_0x4a3e70<_0x326970[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a3e70+=0x2){let _0x1e7324=window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x326970[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3e70,_0x4a3e70+0x2));_0x1e7324>=_0x2fd22f[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e7324-=_0x2fd22f[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53d769+=_0x2fd22f[_0x1e7324];}return _0x53d769;}function _0x5dc4a1(){const _0x241f35=_0x2f4bc9[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e]));if(0x3!=_0x241f35[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34af4b(_0x241f35[0x1]);function _0x34af4b(_0x1411a9){const _0x28a5fb=_0x2ff6fc(_0x1411a9);return _0x28a5fb&&_0xadf972()?_0x28a5fb:null;function _0xadf972(){const _0x4e2540=_0x28a5fb[_0x151e65([0x6a,0x74,0x69])],_0x5a6914=window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e2540[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e2540[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x462ceb={..._0x28a5fb,[_0x151e65([0x6a,0x74,0x69])]:_0x4e2540[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e2540[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x462ceb[_0x151e65([0x76,0x63])],_0x4f5e7a(_0x462ceb)==_0x5a6914;}}}async function _0x5d131a(){let _0x4e0f48=!0x0;try{const _0x58b335=_0x2f4bc9[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e])),[_0x5dfb64,_0xcb7191,_0x13135d]=_0x58b335;return _0x3b6e68(_0x5dfb64),await _0x2502e2(_0x5dfb64,_0xcb7191,_0x13135d),_0x4e0f48;}catch{return!0x1;}function _0x3b6e68(_0x3938b4){const _0x2f8b82=_0x2ff6fc(_0x3938b4);_0x2f8b82&&_0x2f8b82[_0x151e65([0x61,0x6c,0x67])]==_0x151e65([0x45,0x53,0x32,0x35,0x36])||(_0x4e0f48=!0x1);}async function _0x2502e2(_0x5a0d53,_0xd86174,_0x14da49){const _0x586463=window[_0x151e65([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151e65([0x66,0x72,0x6f,0x6d])](_0x2c0784(_0x14da49),_0x2bb622=>_0x2bb622[_0x151e65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x333c94=new window[(_0x151e65([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151e65([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a0d53+_0x151e65([0x2e])+_0xd86174),_0x202626=window[_0x151e65([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151e65([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x202626)return;const _0x13f216=await _0x202626[_0x151e65([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151e65([0x6a,0x77,0x6b]),_0x53027d,{[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x45,0x43,0x44,0x53,0x41]),[_0x151e65([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151e65([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x202626[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x45,0x43,0x44,0x53,0x41]),[_0x151e65([0x68,0x61,0x73,0x68])]:{[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13f216,_0x586463,_0x333c94)||(_0x4e0f48=!0x1);}}function _0x2ff6fc(_0x3e864a){return _0x3e864a[_0x151e65([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151e65([0x65,0x79]))?JSON[_0x151e65([0x70,0x61,0x72,0x73,0x65])](_0x2c0784(_0x3e864a)):null;}function _0x2c0784(_0x1e3e8d){return window[_0x151e65([0x61,0x74,0x6f,0x62])](_0x1e3e8d[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151e65([0x2b]))[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151e65([0x2f])));}function _0x4f5e7a(_0x5f518f){let _0x4165c2=0x1505;function _0x166002(_0x39f1bd){for(let _0x46df00=0x0;_0x46df00<_0x39f1bd[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46df00++){const _0x56679c=_0x39f1bd[_0x151e65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46df00);_0x4165c2=(_0x4165c2<<0x5)+_0x4165c2+_0x56679c,_0x4165c2&=_0x4165c2;}}function _0x4a0fec(_0x416cc){Array[_0x151e65([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x416cc)?_0x416cc[_0x151e65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a0fec):_0x416cc&&typeof _0x416cc==_0x151e65([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151e65([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x416cc)[_0x151e65([0x73,0x6f,0x72,0x74])]()[_0x151e65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f628b,_0x2bc33f])=>{_0x166002(_0x4f628b),_0x4a0fec(_0x2bc33f);}):_0x166002(window[_0x151e65([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x416cc));}return _0x4a0fec(_0x5f518f),_0x4165c2>>>0x0;}function _0x222508(_0x44a21f){return _0x44a21f[_0x151e65([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151e65([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151e65([0x30]));}function _0x1efce8(_0x2e9204){return _0x2e9204[_0x151e65([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151e65([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151e65([0x6a,0x6f,0x69,0x6e])]('');}function _0x266fcc(){}function _0x151e65(_0x6c4045){return _0x6c4045['map'](_0x538462=>String['fromCharCode'](_0x538462))['join']('');}_0x1a4a35(await _0x2f722b());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x135043=this['editor'],_0x33dbe2=_0x135043['editing']['view'],_0x340541=this['_getAttachedDomRoot']();if(!_0x340541||0x0===_0x340541['childElementCount'])return void _0x135043['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x77cc1d,pageHeight:_0x2471dc}=_0x135043['config']['get']('pagination'),{top:_0x2be580,left:_0xc3392c,bottom:_0x19259e,right:_0x552f7a}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1a25f8(_0x135043['locale']);const _0x3ba851=this['_pagesContainer'];_0x3ba851['set']('class',''),_0x3ba851['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x77cc1d,'width':_0x77cc1d,'height':'calc(\x20'+_0x2471dc+'\x20-\x20'+_0x2be580+'\x20-\x20'+_0x19259e+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x552f7a+'\x200\x20'+_0xc3392c,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x3ba851['bindTemplate']['to']('class')}}),_0x3ba851['render'](),_0x340541['parentNode']['insertBefore'](_0x3ba851['element'],_0x340541['nextSibling']),this['listenTo'](_0x33dbe2,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x58e167 of this['editor']['editing']['view']['domRoots']['values']())if(_0x58e167['ownerDocument']['body']['contains'](_0x58e167))return _0x58e167;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x2c320d=this['editor']['editing']['view'],_0x1603c2=this['_pagesContainer'],_0x57548c=this['_getAttachedDomRoot']();if(!_0x57548c)return Promise['resolve']();for(_0x1603c2['class']=['ck-reset','ck-pagination-view',..._0x57548c['classList']]['join']('\x20');_0x1603c2['element']['firstChild'];)_0x1603c2['element']['firstChild']['remove']();const _0x16652c=Array['from'](_0x2c320d['domRoots']);_0x16652c['sort'](([,_0x196db2],[,_0x33de75])=>_0x196db2['compareDocumentPosition'](_0x33de75)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4f28ff,_0x3bd7c9]of _0x16652c){const _0x4acd5=_0x3bd7c9['cloneNode'](!0x0);'attributeStyleMap'in _0x4acd5&&_0x4acd5['attributeStyleMap']['clear'](),_0x4acd5['className']='',_0x4acd5['removeAttribute']('id'),_0x4acd5['dataset']['rootName']=_0x4f28ff,_0x1603c2['element']['append'](_0x4acd5);}return function(_0x3985b6){return Promise['all'](_0x3985b6['map'](_0x11e322=>Promise['race']([m(_0x11e322),p(0x3e8)])));}(Array['from'](_0x1603c2['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x22dfd8=this['_pagesContainer']['element'];if(!_0x22dfd8['ownerDocument']['body']['contains'](_0x22dfd8))return;const _0x27979f=new _0x512d65(_0x22dfd8)['excludeScrollbarsAndBorders'](),_0xfa767=_0x35f76a['window']['getComputedStyle'](_0x22dfd8),_0x4e27b9=parseFloat(_0xfa767['paddingLeft'])+parseFloat(_0xfa767['paddingRight']),_0x264ee4=Math['floor'](_0x27979f['width']+0x64-_0x4e27b9),_0x12eb9f=b(_0x22dfd8,Math['floor'](_0x27979f['left']-_0x22dfd8['scrollLeft']),_0x264ee4,_0x27979f['height'])['map'](_0x2310a4=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2310a4));_0x12eb9f['every'](_0x32a67b=>!!_0x32a67b)&&(this['pageBreaks']=_0x12eb9f);}['_mapPageStarterInfoToPageBreakInfo'](_0xa984ef){const _0x346fac=this['editor']['editing']['view'],_0xd88318=this['editor']['editing']['mapper'],_0x117edb=_0x346fac['domConverter'],_0xd0d0a2=_0xa984ef['path']['shift'](),_0x5b4cba=this['_pagesContainer']['element']['childNodes'][_0xd0d0a2]['dataset']['rootName'],_0x309bc2=_0x346fac['getDomRoot'](_0x5b4cba);if(!_0x309bc2)return null;const _0x14ff71=function(_0x29a8b8,_0x218d1e){let _0x456f93=_0x29a8b8;for(const _0x13d29a of _0x218d1e['path']){if(!_0x456f93)return null;_0x456f93=_0x456f93['childNodes'][_0x13d29a];}return _0x456f93;}(_0x309bc2,_0xa984ef);if(!_0x14ff71)return null;const _0x804523=_0x117edb['domPositionToView'](_0x14ff71,_0xa984ef['textOffset']||0x0);return _0x804523?'manual'==_0xa984ef['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71):'text'==_0xa984ef['type']&&_0xd88318['toModelPosition'](_0x804523)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71,_0xa984ef['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71,_0xa984ef['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x32c58b,_0x11d9ba){const _0x7421b4=this['editor']['model'],_0x4d4fa3=this['editor']['editing']['mapper']['toModelElement'](_0x32c58b['parent']),_0x2ba264=_0x7421b4['createRangeOn'](_0x4d4fa3);return new K({'type':'manual','modelRange':_0x2ba264,'domNode':_0x11d9ba,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3a15d4,_0x43a752,_0x2988f0){const _0x3d43d1=this['editor']['model'],_0x3fc564=this['editor']['editing']['mapper'],_0x278a53=this['editor']['editing']['view']['domConverter'];if(_0x2988f0>=_0x43a752['length'])return null;const _0x1c2280=_0x3fc564['toModelPosition'](_0x3a15d4),_0x10a4e9=_0x3d43d1['createRange'](_0x1c2280),_0xcab746=_0x3fc564['findMappedViewAncestor'](_0x3a15d4),_0x2a72dd=_0x278a53['mapViewToDom'](_0xcab746);return new K({'type':'text','modelRange':_0x10a4e9,'domNode':_0x43a752,'offset':w(_0x43a752,_0x2988f0,_0x2a72dd)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x5b002b,_0x30cf3a,_0x48c40b){const _0x41b5d8=this['editor']['model'],_0x4e670e=this['editor']['editing'],_0x5a2d76=_0x4e670e['mapper'],_0x364016=_0x4e670e['view']['domConverter'],_0x1208eb=_0x5a2d76['findMappedViewAncestor'](_0x5b002b),_0x2703f4=_0x5a2d76['toModelElement'](_0x1208eb),_0x4da792=function(_0x14f5fd){const _0x5692f0=_0x14f5fd['parent'],_0x52779d=_0x5692f0['root']['document']['model'],_0x4495ed=_0x5692f0['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f7f27=null;for(const _0x422564 of _0x4495ed){if(_0x422564['is']('rootElement'))return _0x1f7f27;if(!_0x52779d['createPositionBefore'](_0x422564)['isTouching'](_0x14f5fd))return _0x1f7f27;_0x1f7f27=_0x422564;}}(_0x41b5d8['createPositionBefore'](_0x2703f4)),_0x5df139=_0x4da792||_0x2703f4;let _0x2774a9=_0x5a2d76['toViewElement'](_0x5df139),_0x5bfaef=_0x41b5d8['createRangeOn'](_0x5df139);const _0x17224b=_0x41b5d8['createPositionBefore'](_0x5df139)['nodeBefore'];if(_0x17224b&&_0x17224b['is']('element','imageBlock')){const _0xb6dfd4=_0x5a2d76['toViewElement'](_0x17224b),_0x2b8adc=_0x364016['mapViewToDom'](_0xb6dfd4),_0x5a2b53=_0x35f76a['window']['getComputedStyle'](_0x2b8adc)['float'];'left'!=_0x5a2b53&&'right'!=_0x5a2b53||(_0x5bfaef=_0x41b5d8['createRangeOn'](_0x17224b));}for(;_0x2774a9['parent']!==_0x2774a9['root']&&0x0===_0x2774a9['index'];)_0x2774a9=_0x2774a9['parent'];const _0x80fd1=new _0x512d65(N(_0x30cf3a)?_0x30cf3a:y(_0x30cf3a)),_0x48b831=_0x48c40b?_0x80fd1['height']-_0x48c40b:0x0,_0x15deb4=_0x364016['mapViewToDom'](_0x2774a9),_0x377f9f=new _0x512d65(_0x15deb4);return new K({'type':'element','modelRange':_0x5bfaef,'domNode':_0x15deb4,'offset':Math['round'](_0x48b831)?_0x48b831+_0x80fd1['top']-_0x377f9f['top']:0x0});}get['_configuredPaddings'](){const _0x1ed003=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1ed003);}static['_findPageStarterInfos'](_0x5ec285,_0x23d250,_0x1eb01c,_0x3b7b0f,_0x12057c){return b(_0x5ec285,_0x23d250,_0x1eb01c,_0x3b7b0f,_0x12057c);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x22ac3d,modelRange:_0x401711,domNode:_0x1f56b1,offset:_0x11562b}){this['type']=_0x22ac3d,this['modelRange']=_0x401711,this['_domNode']=_0x1f56b1,this['_offset']=_0x11562b;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x309a81=new _0x512d65(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x309a81['top']+_0x309a81['height']/0x2:_0x309a81['top']+this['_offset'];}}function w(_0xab4c0e,_0x355128,_0xb81fd3){const _0x38922d=y(_0xab4c0e),_0x529a97=function(_0x20706b){const _0x5335c9=_0x35f76a['document']['createRange']();return _0x5335c9['selectNodeContents'](_0x20706b),_0x5335c9;}(_0xb81fd3);let _0x4b839f;_0x4b839f=0x0==_0x355128?k(_0x529a97['startContainer'],_0x529a97['startOffset'],_0xab4c0e['parentNode'],Array['from'](_0xab4c0e['parentNode']['childNodes'])['indexOf'](_0xab4c0e)):k(_0x529a97['startContainer'],_0x529a97['startOffset'],_0xab4c0e,_0x355128);const _0x44293d=k(_0xab4c0e,_0x355128,_0x529a97['endContainer'],_0x529a97['endOffset']),_0x23c01d=new _0x512d65(_0x4b839f)['bottom'];return(new _0x512d65(_0x44293d)['top']+_0x23c01d)/0x2-new _0x512d65(_0x38922d)['top'];}function m(_0x582b04){return _0x582b04['hasAttribute']('width')&&_0x582b04['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4db514=>{function _0x21b652(){_0x582b04['removeEventListener']('load',_0x21b652),_0x582b04['removeEventListener']('error',_0x21b652),_0x4db514();}_0x582b04['complete']?_0x4db514():(_0x582b04['addEventListener']('load',_0x21b652),_0x582b04['addEventListener']('error',_0x21b652));});}function p(_0x31f086){return new Promise(_0x390b67=>setTimeout(_0x390b67,_0x31f086));}function y(_0x40d65d){const _0x316f89=_0x35f76a['document']['createRange']();return _0x316f89['selectNode'](_0x40d65d),_0x316f89;}function P(_0x55bb43,_0x5a259a,_0x4e0724){const _0x2a6af0=_0x35f76a['document']['createRange']();return _0x2a6af0['setStart'](_0x55bb43,_0x5a259a),_0x2a6af0['setEnd'](_0x55bb43,_0x4e0724),_0x2a6af0;}function k(_0x11efd6,_0x11c3c9,_0x3ba0ff,_0x2c1836){const _0x126741=_0x35f76a['document']['createRange']();return _0x126741['setStart'](_0x11efd6,_0x11c3c9),_0x126741['setEnd'](_0x3ba0ff,_0x2c1836),_0x126741;}function b(_0x4f3435,_0x531060,_0x2d4178,_0x4b8a61,_0x6f6f73){const _0x189de5=[];for(const [_0xee8eb,_0x5b7d8c]of _0x4f3435['childNodes']['entries']()){let _0x17caf7=[];N(_0x5b7d8c)&&_0x5b7d8c['offsetParent']&&!_0x5b7d8c['style']['position']?_0x17caf7=x(_0x5b7d8c,_0xee8eb,_0x531060,_0x2d4178,_0x4b8a61,_0x6f6f73):S(_0x5b7d8c)&&(_0x17caf7=_(_0x5b7d8c,_0xee8eb,_0x531060,_0x2d4178,_0x6f6f73)),_0x17caf7['length']&&(_0x189de5['push'](..._0x17caf7),_0x531060+=_0x17caf7['length']*_0x2d4178,_0x6f6f73=!0x1);}return _0x189de5;}function x(_0x5a99c5,_0x25cf18,_0x41a849,_0x6d2d1a,_0xec0a7c,_0x10c05a){const _0x52918c=[];var _0x2aa62f;if((_0x2aa62f=_0x5a99c5['previousSibling'])&&N(_0x2aa62f)&&Boolean(_0x2aa62f['classList']['contains']('page-break')||_0x2aa62f['closest']('.page-break'))&&(_0x52918c['push']({'type':'manual','offset':0x0,'path':[_0x25cf18-0x1]}),_0x10c05a=!0x0),'table-row'==_0x35f76a['window']['getComputedStyle'](_0x5a99c5)['display']){let _0xa1639e=0x0,_0x5942d1=!0x1;for(const _0x426248 of _0x5a99c5['getClientRects']())_0xa1639e+=_0x426248['height'],_0x426248['left']>=_0x41a849&&(_0x5942d1=!0x0);if(_0xa1639e<_0xec0a7c&&_0x5942d1)return _0x52918c['push']({'type':'element','offset':0x0,'path':[_0x25cf18]}),_0x52918c;}const _0x706d94=_0x5a99c5['closest']('figure.image');if(_0x706d94&&function(_0x110a7f){let _0x3fef3d=!0x1;const _0x146bfa=_0x110a7f['parentElement'],_0x22e084=_0x146bfa['dataset']['rootName'],_0x404dd1=_0x110a7f['nextElementSibling'],_0x536a4d=_0x110a7f['previousElementSibling'],_0x5512c8=_0x404dd1&&_0x35f76a['window']['getComputedStyle'](_0x404dd1)['float'],_0x27a759=_0x404dd1&&'ck-fake-selection-container'===_0x404dd1['className'];!_0x22e084||_0x404dd1||_0x536a4d||(_0x3fef3d=!0x0),_0x22e084&&!_0x536a4d&&_0x27a759&&(_0x3fef3d=!0x0),_0x22e084&&!_0x536a4d&&'none'!==_0x5512c8&&(_0x3fef3d=!0x0);if(_0x3fef3d)return!0x1;return!0x0;}(_0x706d94)){const _0x230576=_0x35f76a['window']['getComputedStyle'](_0x706d94)['float'];if('left'==_0x230576||'right'==_0x230576)return _0x52918c;}const _0x1d0b0f=b(_0x5a99c5,_0x41a849,_0x6d2d1a,_0xec0a7c,_0x10c05a);if(_0x1d0b0f['length']){for(const _0x11958a of _0x1d0b0f)_0x52918c['push']({'type':_0x11958a['type'],'offset':_0x11958a['offset'],'textOffset':_0x11958a['textOffset'],'path':[_0x25cf18,..._0x11958a['path']]}),_0x41a849+=_0x6d2d1a,_0x10c05a=!0x1;return _0x52918c;}return _0x52918c['push'](...function(_0x23fd67,_0x286b70,_0x27c1a0,_0x2579b5,_0x1894f4){const _0x58d020=[];if('table-cell'==_0x35f76a['window']['getComputedStyle'](_0x23fd67)['display'])return[];const _0x374524=[];for(const _0x1db49b of _0x23fd67['getClientRects']())if(_0x1db49b['left']>=_0x27c1a0){for(const _0x44b013 of _0x374524)_0x44b013['height']+=_0x1db49b['height'];_0x374524['push']({'height':_0x1db49b['height']}),_0x27c1a0+=_0x2579b5;}for(const _0x3db4c5 of _0x374524)_0x1894f4||_0x58d020['push']({'type':'element','offset':_0x3db4c5['height'],'textOffset':0x0,'path':[_0x286b70]}),_0x1894f4=!0x1;return _0x58d020;}(_0x5a99c5,_0x25cf18,_0x41a849,_0x6d2d1a,_0x10c05a)),_0x52918c;}function _(_0x182458,_0x31e1fe,_0x309c8f,_0x374cae,_0x4e0fc0){const _0x5cbd16=y(_0x182458),_0x23d06e=[];let _0x1d9eca=0x0;for(const _0x20dd75 of _0x5cbd16['getClientRects']())if(_0x20dd75['left']>=_0x309c8f){const _0x4fea1e=B(_0x182458,_0x1d9eca,_0x309c8f,_0x374cae);_0x4e0fc0||_0x23d06e['push']({'type':'text','path':[_0x31e1fe],'textOffset':_0x4fea1e}),_0x1d9eca=_0x4fea1e,_0x309c8f+=_0x374cae,_0x4e0fc0=!0x1;}return _0x23d06e;}function B(_0x4c9760,_0x5ca946,_0x1f2c35,_0x61eeac){let _0x3fba58=_0x5ca946,_0x280801=_0x4c9760['length'];for(;_0x280801-_0x3fba58>0x1;){const _0x17b837=Math['ceil']((_0x3fba58+_0x280801)/0x2);I(P(_0x4c9760,_0x3fba58,_0x17b837),_0x1f2c35,_0x61eeac)?_0x280801=_0x17b837:_0x3fba58=_0x17b837;}return _0x3fba58;}function I(_0x5db08a,_0x13c73e,_0x4ad994){for(const _0x5c518a of _0x5db08a['getClientRects']())if(_0x5c518a['left']>=_0x13c73e&&_0x5c518a['left']<_0x13c73e+_0x4ad994)return!0x0;return!0x1;}function N(_0xb51f54){return _0xb51f54['nodeType']==Node['ELEMENT_NODE'];}function S(_0x5b49f4){return _0x5b49f4['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1cca11('px');class C extends _0x1a25f8{constructor(){super();const _0x21029e=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x21029e['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x21029e['if']('isVisible','ck-hidden',_0x1984f6=>!_0x1984f6)],'style':{'left':_0x21029e['to']('left',_0x37150d=>q(_0x37150d)),'top':_0x21029e['to']('top',_0x20311f=>q(_0x20311f)),'width':_0x21029e['to']('width',_0x3f0a17=>q(_0x3f0a17))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x236d83){this['_viewCollection']=_0x236d83['ui']['view']['body'];}['destroy'](){for(const _0x1d79fd of this['_hiddenLines'])_0x1d79fd['destroy']();}['cleanLines'](){for(const _0x52c025 of this['_visibleLines'])_0x52c025['isVisible']=!0x1,this['_hiddenLines']['add'](_0x52c025);this['_visibleLines']['clear']();}['showLine'](_0x2578f8,_0x4f5276,_0xbfe741,_0x4f0089){let _0x17528e;this['_hiddenLines']['size']?(_0x17528e=_0x5e1568(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x17528e)):_0x17528e=new C(),_0x17528e['set']({'pageNumber':_0x4f0089,'left':_0x2578f8,'top':_0x4f5276,'width':_0xbfe741}),_0x17528e['isVisible']=!0x0,this['_viewCollection']['has'](_0x17528e)||this['_viewCollection']['add'](_0x17528e),this['_visibleLines']['add'](_0x17528e);}['setViewCollection'](_0x39fc00){for(const _0xb0620 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0xb0620)&&this['_viewCollection']['remove'](_0xb0620);this['_viewCollection']=_0x39fc00;}}const E='ck-pagination_enabled';class n extends _0x577360{['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 O(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'](E),this['on']('change:isEnabled',(_0x4fedd5,_0x50fef4,_0x3e80f9)=>{_0x3e80f9||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x3e80f9);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3befac){if(!this['isEnabled'])return;const _0x20949d=_0x3befac>0x1?this['_getPageBreakLineOffset'](_0x3befac-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x20949d-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1c3cc8['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2b4477=this['editor'],_0x975917=this['_getAttachedDomRoot']();_0x975917?(this['_scrollableEditingRootDomAncestor']&&_0x2b4477['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43ec48){let _0x2c4220=_0x43ec48;do{_0x2c4220=_0x2c4220['parentElement'];const _0x511cd3=_0x35f76a['window']['getComputedStyle'](_0x2c4220)['overflowY'];if('auto'==_0x511cd3||'scroll'==_0x511cd3)break;}while('BODY'!=_0x2c4220['tagName']);return _0x2c4220;}(_0x975917),_0x2b4477['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x309544(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2b4477['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x11f188=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x11f188['ui']['view']['listenTo'](_0x35f76a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x11f188['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2c1608 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2c1608['ownerDocument']['body']['contains'](_0x2c1608))return _0x2c1608;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x8ff212=this['_getAttachedDomRoot'](),_0x19641a=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x8ff212||0x1==_0x19641a['length'])return void(this['pageNumber']=0x1);const _0x293329=new _0x512d65(_0x8ff212)['excludeScrollbarsAndBorders'](),_0x24f0c8=new _0x512d65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x40fa36=_0x24f0c8['top']+_0x24f0c8['height']/0x3;let _0x4375f2=!0x1;const _0x40c888=[];for(let _0x3f8fe6=0x1;_0x3f8fe6<_0x19641a['length'];_0x3f8fe6++){const _0x63d23d=this['_getPageBreakLineOffset'](_0x3f8fe6,_0x24f0c8);if(!_0x63d23d)continue;const _0x2402cb=_0x24f0c8['top']+_0x63d23d-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x40c888['push']({'pageOffsetTop':_0x2402cb,'domRootRect':_0x293329,'domScrollableRect':_0x24f0c8,'pageNumber':_0x3f8fe6}),_0x2402cb>_0x40fa36&&!_0x4375f2&&(this['pageNumber']=_0x3f8fe6,_0x4375f2=!0x0);}this['_renderPageBreakLines'](_0x40c888),_0x4375f2||(this['pageNumber']=_0x19641a['length']);}['_renderPageBreakLines'](_0x41b468){const {scrollX:_0x15ab90,scrollY:_0x2b1eef}=_0x35f76a['window'];if(_0x41b468['length']){for(const {domScrollableRect:_0x96e91b,pageOffsetTop:_0x4adeb4,domRootRect:_0x17350a,pageNumber:_0x25ea8e}of _0x41b468)_0x96e91b['top']<_0x4adeb4&&_0x4adeb4<_0x96e91b['bottom']&&this['linesRepository']['showLine'](_0x17350a['left']+_0x15ab90,_0x4adeb4+_0x2b1eef,_0x17350a['width'],_0x25ea8e+0x1);}}['_getPageBreakLineOffset'](_0x492879,_0x1a3f65=null){const _0x561142=this['_paginationLookupPlugin']['pageBreaks'][_0x492879]['offset'];return _0x561142?(_0x1a3f65||(_0x1a3f65=new _0x512d65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x561142-_0x1a3f65['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x592c40,_0x3b746f=!0x0){const _0x2b570d=this['editor']['editing']['view'];_0x2b570d['change'](_0x3014d3=>{for(const _0x28d6f3 of _0x2b570d['document']['roots'])_0x3b746f?_0x3014d3['addClass'](_0x592c40,_0x28d6f3):_0x3014d3['removeClass'](_0x592c40,_0x28d6f3);});}}function g(_0x2de5b4,_0xb1f007,..._0x4fa1e1){const t=_0x2de5b4['t'];switch(_0xb1f007){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)',..._0x4fa1e1);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 _0xb1f007;}}class s extends _0x577360{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3f5bd3=this['editor']['plugins']['get']('Pagination'),_0x1a13b5=this['editor']['plugins']['get'](a),_0x22847a=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x3f5bd3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x22847a),this['listenTo'](_0x1a13b5,'change:pageBreaks',(_0x4d20e3,_0x495463,_0x281c39,_0x20e093)=>{this['totalPages']=_0x281c39['length'],this['_updatePageBreakMarkers'](_0x281c39,_0x20e093);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44e34d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2eda9b;for(const _0x34fbf3 in _0x44e34d){const _0x6c0867=_0x34fbf3,_0x33e06b=_0x44e34d[_0x6c0867];if('paginationLicenseKeyValid'==_0x33e06b||'paginationLicenseKeyInvalid'==_0x33e06b||'paginationLicenseKeyExpired'==_0x33e06b||'paginationLicenseKeyDomainLimit'==_0x33e06b||'paginationLicenseKeyNotAllowed'==_0x33e06b||'paginationLicenseKeyEvaluationLimit'==_0x33e06b||'paginationLicenseKeyTrialLimit'==_0x33e06b||'paginationLicenseKeyUsageLimit'==_0x33e06b){delete _0x44e34d[_0x6c0867],_0x2eda9b=_0x33e06b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2eda9b&&_0x44e34d['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2eda9b&&_0x44e34d['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2eda9b&&_0x44e34d['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3a1475){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x3a1475));}['moveSelectionToPage'](_0x12fbf9){if(!this['isEnabled'])return;const _0x403314=this['editor'],_0x385aba=this['editor']['plugins']['get'](a)['pageBreaks'][_0x12fbf9-0x1];_0x385aba&&_0x403314['model']['change'](_0xad2743=>{switch(_0x385aba['type']){case'manual':{const _0x3175a2=_0x403314['model']['schema']['getNearestSelectionRange'](_0x385aba['modelRange']['end'],'forward');_0xad2743['setSelection'](_0x3175a2);break;}case'element':{const _0x5d21d5=_0x403314['model']['schema']['getNearestSelectionRange'](_0x385aba['modelRange']['start'],'forward');_0xad2743['setSelection'](_0x5d21d5);break;}case'text':{const _0x5043ca=_0x385aba['modelRange']['start'];if(_0x5043ca['textNode']&&'\x20'===_0x5043ca['textNode']['data'][_0x5043ca['offset']]){const _0x9fc226=_0xad2743['createPositionAt'](_0x5043ca['parent'],_0x5043ca['offset']+0x1);_0xad2743['setSelection'](_0x9fc226);}else _0xad2743['setSelection'](_0x385aba['modelRange']);}}_0x403314['editing']['view']['focus']();});}['goToNextPage'](){const _0x33feeb=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x33feeb),this['scrollToPage'](_0x33feeb);}['goToPreviousPage'](){const _0x52097a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x52097a),this['scrollToPage'](_0x52097a);}['_updatePageBreakMarkers'](_0x415196,_0x23c42a){const _0x4a09ea=this['editor']['model'];this['isEnabled']&&_0x4a09ea['change'](_0x5ecf04=>{for(let _0x42103d=0x1;_0x42103d<_0x415196['length'];_0x42103d++){const _0x9f2990=_0x415196[_0x42103d]['modelRange'],_0x300155='pagination:'+(_0x42103d+0x1);_0x4a09ea['markers']['has'](_0x300155)?_0x5ecf04['updateMarker'](_0x300155,{'range':_0x9f2990}):_0x5ecf04['addMarker'](_0x300155,{'range':_0x9f2990,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x43df1f=_0x415196['length'];_0x43df1f<_0x23c42a['length'];_0x43df1f++){const _0x5a164c='pagination:'+(_0x43df1f+0x1);_0x4a09ea['markers']['has'](_0x5a164c)&&_0x5ecf04['removeMarker'](_0x5a164c);}});}['_setUpDataDowncastConversion'](){const _0x4b013a='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x18af6d=>{_0x18af6d['on']('addMarker:'+_0x4b013a,(_0x1bcb79,{markerRange:_0xc69040,markerName:_0x52f056},_0xe4735d)=>{if(!_0xe4735d['options']['pagination'])return;if(!_0xe4735d['consumable']['consume'](_0xc69040,_0x1bcb79['name']))return;const _0x37942a=_0xc69040['getContainedElement']();let _0x1edac3=_0x37942a?_0xe4735d['mapper']['toViewElement'](_0x37942a):null;if(!_0x1edac3){const _0x13f579=_0xc69040['start'];if(_0xe4735d['schema']['checkChild'](_0x13f579,'$text')){const _0x271c7f=_0xe4735d['mapper']['toViewPosition'](_0x13f579);_0x1edac3=_0xe4735d['writer']['createContainerElement']('span'),_0x1edac3['getFillerOffset']=()=>null,_0xe4735d['writer']['insert'](_0x271c7f,_0x1edac3);}else{const _0x5aeaec=_0x13f579['nodeAfter'];_0x1edac3=_0xe4735d['mapper']['toViewElement'](_0x5aeaec);}}for(;_0x1edac3['parent']!==_0x1edac3['root']&&0x0===_0x1edac3['index'];)_0x1edac3=_0x1edac3['parent'];const _0x1a2fdb=_0x52f056['substring'](0xb);_0x1edac3['hasClass']('page-break')||(_0xe4735d['writer']['setStyle']('page-break-before','always',_0x1edac3),_0xe4735d['writer']['setAttribute']('data-pagination-page',_0x1a2fdb,_0x1edac3),_0xe4735d['mapper']['bindElementToMarker'](_0x1edac3,_0x52f056)),_0x1bcb79['stop']();});});}['_setupKeystrokes'](){const _0x4f8db9=this['editor'];_0x4f8db9['keystrokes']['set']('Shift+Pageup',(_0x22cd2f,_0xfb28c3)=>{this['goToPreviousPage'](),_0xfb28c3();}),_0x4f8db9['keystrokes']['set']('Shift+Pagedown',(_0x1c3422,_0x576e63)=>{this['goToNextPage'](),_0x576e63();}),_0x4f8db9['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4f8db9['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4f8db9['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4f8db9['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2c6388){return _0x2c6388<0x1&&(_0x2c6388=0x1),_0x2c6388>this['totalPages']&&(_0x2c6388=this['totalPages']),_0x2c6388;}}class G extends _0x1a25f8{['pageNumberView'];constructor(_0x511c4f){super(_0x511c4f);const _0x268059=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x56e6d5(_0x511c4f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3087fc=>g(_0x511c4f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3087fc)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x48b437=>!_0x48b437),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x268059['if']('isEnabled','ck-disabled',_0x23776e=>!_0x23776e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x268059['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1d3d1d=this['pageNumberView']['element'],_0x561df2=_0x3b5b4d=>{this['pageNumberView']['element']['value']=String(_0x3b5b4d);};_0x561df2(this['pageNumber']),this['on']('change:pageNumber',(_0x3660f0,_0x5690a0,_0x4a66db)=>{_0x561df2(_0x4a66db);}),this['listenTo'](_0x1d3d1d,'keydown',(_0x1fc5ea,_0x5095f0)=>{if('ArrowUp'===_0x5095f0['key']||'ArrowDown'===_0x5095f0['key'])return void _0x5095f0['stopPropagation']();if(_0x5095f0['keyCode']!==_0x34b5cb['enter'])return;_0x5095f0['preventDefault']();const _0x1b1f18=_0x1d3d1d['valueAsNumber'];Number['isNaN'](_0x1b1f18)?_0x1d3d1d['value']=String(this['pageNumber']):(_0x1d3d1d['checkValidity']()?this['pageNumber']=_0x1b1f18:_0x1b1f18>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1d3d1d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1d3d1d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1d3d1d,'blur',()=>{_0x1d3d1d['value']=String(this['pageNumber']);}),this['listenTo'](_0x1d3d1d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x577360{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x219b95=this['editor'],_0x1e642f=_0x219b95['plugins']['get']('PaginationEditing');_0x219b95['ui']['componentFactory']['add']('pageNavigation',_0x35a05a=>{const _0x2f5388=new G(_0x35a05a);return _0x2f5388['bind']('pageNumber')['to'](_0x1e642f),_0x2f5388['bind']('totalPages')['to'](_0x1e642f),_0x2f5388['bind']('isEnabled')['to'](_0x1e642f),_0x2f5388['on']('navigation',(_0x43c0d3,_0x3f45c7)=>{_0x1e642f['moveSelectionToPage'](_0x3f45c7),_0x1e642f['scrollToPage'](_0x3f45c7);}),_0x2f5388;}),_0x219b95['ui']['componentFactory']['add']('nextPage',_0x443b4c=>{const _0x102419=new _0x13ea25(_0x443b4c);return _0x102419['isEnabled']=!0x0,_0x102419['label']=g(_0x219b95['locale'],'Go\x20to\x20next\x20page'),_0x102419['icon']=_0x13f243,_0x102419['tooltip']=!0x0,_0x102419['keystroke']='Shift+PageDown',_0x102419['bind']('isEnabled')['to'](_0x1e642f),this['listenTo'](_0x102419,'execute',()=>{_0x1e642f['goToNextPage']();}),_0x102419;}),_0x219b95['ui']['componentFactory']['add']('previousPage',_0x6710ce=>{const _0x3afa76=new _0x13ea25(_0x6710ce);return _0x3afa76['isEnabled']=!0x0,_0x3afa76['label']=g(_0x219b95['locale'],'Go\x20to\x20previous\x20page'),_0x3afa76['icon']=_0x10279d,_0x3afa76['tooltip']=!0x0,_0x3afa76['keystroke']='Shift+PageUp',_0x3afa76['bind']('isEnabled')['to'](_0x1e642f),this['listenTo'](_0x3afa76,'execute',()=>{_0x1e642f['goToPreviousPage']();}),_0x3afa76;});}}class T extends _0x577360{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x39ed31){super(_0x39ed31),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x933095=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x933095),this['bind']('totalPages')['to'](_0x933095),_0x1c3cc8['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x47a3db){this['editor']['plugins']['get'](s)['scrollToPage'](_0x47a3db);}}export{T as Pagination,n as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x52abb0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5f2405,InputNumberView as _0x93f468,ButtonView as _0xf5a667}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x534891,Rect as _0x16966e,global as _0x2fd9a5,uid as _0x55c3b7,toUnit as _0x3fec48,first as _0x4d9cf3,env as _0x433bfe,ResizeObserver as _0x564e9a,keyCodes as _0x4a7b56}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x36c645}from'es-toolkit/compat';import{IconArrowDown as _0x5cd26a,IconArrowUp as _0x25abfd}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x52abb0{['_recalculatePageBreaksDebounced']=_0x36c645(()=>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 _0x534891('pagination-config-not-found',this['editor']['config']);const _0x5b9d93=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5b9d93),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xe934e1,_0x1b4cd4,_0x46ef5a)=>{_0x46ef5a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xd1721f){const _0x3f2426=_0x1e2680([0x64,0x6a,0x42,0x72,0x4a,0x4c,0x65,0x50,0x33,0x44,0x6b,0x43,0x75,0x59,0x77,0x71,0x68,0x47,0x4d,0x78,0x49,0x41,0x7a,0x5a,0x36,0x54,0x53,0x45,0x6c,0x62,0x34,0x39,0x57,0x6e,0x31,0x4f,0x79,0x48,0x55,0x67,0x46,0x66,0x6f,0x69,0x73,0x70,0x37,0x56,0x61,0x35,0x30,0x76,0x38,0x74,0x52,0x6d,0x4b,0x4e,0x58,0x32,0x63,0x51]),_0x158a0b=0x4ce272b3,_0x388f31=0x4ce51fa3^_0x158a0b,_0x46c107=window[_0x1e2680([0x44,0x61,0x74,0x65])][_0x1e2680([0x6e,0x6f,0x77])](),_0x55b3fa=_0xd1721f[_0x1e2680([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bdc73=new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34b164=>{_0x55b3fa[_0x1e2680([0x6f,0x6e,0x63,0x65])](_0x1e2680([0x72,0x65,0x61,0x64,0x79]),_0x34b164);}),_0x5c8529={[_0x1e2680([0x6b,0x74,0x79])]:_0x1e2680([0x45,0x43]),[_0x1e2680([0x75,0x73,0x65])]:_0x1e2680([0x73,0x69,0x67]),[_0x1e2680([0x63,0x72,0x76])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36]),[_0x1e2680([0x78])]:_0x1e2680([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]),[_0x1e2680([0x79])]:_0x1e2680([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]),[_0x1e2680([0x61,0x6c,0x67])]:_0x1e2680([0x45,0x53,0x32,0x35,0x36])},_0x50382e=_0x55b3fa[_0x1e2680([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e2680([0x67,0x65,0x74])](_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x199cc9(){let _0x44fb30,_0xbb371c=null,_0x2b509f=null;try{if(_0x50382e==_0x1e2680([0x47,0x50,0x4c]))return _0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44fb30=_0xfe4a16(),!_0x44fb30)return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b509f=_0x215ce8(_0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44fb30[_0x1e2680([0x6a,0x74,0x69])])),await _0x571e1a()?_0xc160c6()?_0x27fc90()?_0x1e2680([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5011db()?(_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbb371c=_0x561feb(_0x1e2680([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x74,0x72,0x69,0x61,0x6c])&&(_0xbb371c=_0x561feb(_0x1e2680([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45acb8()):_0x1e2680([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27fc90(){const _0x1abcfd=[_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e2680([0x74,0x72,0x69,0x61,0x6c])][_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46c107/0x3e8:0xe10*_0x388f31;return _0x44fb30[_0x1e2680([0x65,0x78,0x70])]<_0x1abcfd;}function _0xc160c6(){const _0x5248fe=_0x44fb30[_0x1e2680([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5248fe&&(!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a]))||!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x50,0x41,0x47])));}function _0x5011db(){const _0x35341b=_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35341b||0x0==_0x35341b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x318bab}=new URL(window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35341b[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318bab))return!0x0;const _0x431e32=_0x318bab[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));return _0x35341b[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508f57=>_0x508f57[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a])))[_0x1e2680([0x6d,0x61,0x70])](_0x16cd26=>_0x16cd26[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])))[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x247ccd=>_0x247ccd[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x6d,0x61,0x70])](_0x5769b4=>Array(_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5769b4[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x66,0x69,0x6c,0x6c])](_0x5769b4[0x0]===_0x1e2680([0x2a])?_0x1e2680([0x2a]):'')[_0x1e2680([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5769b4))[_0x1e2680([0x73,0x6f,0x6d,0x65])](_0x482c07=>_0x431e32[_0x1e2680([0x65,0x76,0x65,0x72,0x79])]((_0x3be8c5,_0x2acf9f)=>_0x482c07[_0x2acf9f]===_0x3be8c5||_0x482c07[_0x2acf9f]===_0x1e2680([0x2a])));}function _0x45acb8(){return _0xbb371c&&_0x2b509f?new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45e649,_0x23133f)=>{_0xbb371c[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x45e649,_0x23133f),_0x2b509f[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x44bce0=>{_0x44bce0!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x45e649(_0x44bce0);},_0x23133f);}):_0xbb371c||_0x2b509f||_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);}}function _0x215ce8(_0x5c0045,_0x1ce821){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db817=>{if(_0x2bdb33())return _0x5db817(_0x1e2680([0x56,0x61,0x6c,0x69,0x64]));_0x559d79(),_0x55b3fa[_0x1e2680([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18c302=!0x1;const _0x16532b=_0x55c3b7();function _0x496515(_0x732673){return!!_0x732673&&(typeof _0x732673===_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x732673===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x732673[_0x1e2680([0x74,0x68,0x65,0x6e])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x732673[_0x1e2680([0x63,0x61,0x74,0x63,0x68])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44c920(_0x48443d){_0x31f2c7(_0x48443d)[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x579244=>{if(!_0x579244||_0x579244[_0x1e2680([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e2680([0x6f,0x6b]))return _0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11237(_0x53e00a(_0x16532b+_0x1ce821))!=_0x579244[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5cccb4=>(_0x22ba93(),_0x5cccb4),()=>{const _0x502e2b=_0x50ef81();return null==_0x502e2b?(_0x22ba93(),_0x1e2680([0x56,0x61,0x6c,0x69,0x64])):_0x1e2680(_0x46c107-_0x502e2b>(0x68eef6b3^_0x158a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5db817)[_0x1e2680([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ecd26=0x4cd49c33^_0x158a0b;function _0x22ba93(){const _0x3beca7=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x42b30c=_0x4c2780(_0x11237(window[_0x1e2680([0x4d,0x61,0x74,0x68])][_0x1e2680([0x63,0x65,0x69,0x6c])](_0x46c107/_0x5ecd26)));window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3beca7,_0x42b30c);}function _0x50ef81(){const _0x5bc08d=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x17d34d=window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bc08d);return _0x17d34d?window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c2780(_0x17d34d),0x10)*_0x5ecd26:null;}function _0x31f2c7(_0x4b2043){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3023d4,_0x5701c2)=>{_0x4b2043[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x3023d4,_0x5701c2),window[_0x1e2680([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5701c2,0x4ce3a673^_0x158a0b);});}}_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d693d,_0x2b61e0)=>{if(_0x2b61e0[0x0]!=_0x5c0045)return _0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b61e0[0x1]={..._0x2b61e0[0x1],[_0x1e2680([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16532b};},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x68,0x69,0x67,0x68])}),_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x332e4f=>{_0x496515(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18c302=!0x0,_0x44c920(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x6c,0x6f,0x77])}),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>{_0x18c302||_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bdb33(){return _0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e2680([0x61,0x75,0x74,0x6f]);}function _0x559d79(){_0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e2680([0x61,0x75,0x74,0x6f]);}}function _0x561feb(_0x2bbb2e){const _0x4ccedf=[new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3ae9=>setTimeout(_0x2e3ae9,0x4ceb4c7f^_0x158a0b)),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f09e9=>{let _0x37245d=0x0;_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x6f,0x6e])](_0x1e2680([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cc5fd,_0x4ae135)=>{_0x4ae135[0x0][_0x1e2680([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37245d++,_0x37245d==(0x4ce2734b^_0x158a0b)&&(_0x3f09e9(),_0x3cc5fd[_0x1e2680([0x6f,0x66,0x66])]());});}))];return window[_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e2680([0x72,0x61,0x63,0x65])](_0x4ccedf)[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>_0x2bbb2e);}async function _0x6f2c00(){await _0x4bdc73,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35c869(_0x485b93){const _0x2ebdd1=_0x3e7a32();_0x55b3fa[_0x2ebdd1]=_0x1e2680([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x485b93,_0x485b93!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x6f2c00();}function _0x3e7a32(){const _0x96333b=window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e2680([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e2680([0x6e,0x6f,0x77])]())[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e2680([0x2e]),'');let _0x1223a9=_0x1e2680([0x64]);for(let _0x237151=0x0;_0x237151<_0x96333b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x237151+=0x2){let _0x254d46=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96333b[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237151,_0x237151+0x2));_0x254d46>=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254d46-=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1223a9+=_0x3f2426[_0x254d46];}return _0x1223a9;}function _0xfe4a16(){const _0x330ea1=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));if(0x3!=_0x330ea1[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e4db4(_0x330ea1[0x1]);function _0x2e4db4(_0x247688){const _0x30f2d5=_0x3bed9f(_0x247688);return _0x30f2d5&&_0x2811bc()?_0x30f2d5:null;function _0x2811bc(){const _0xa94a53=_0x30f2d5[_0x1e2680([0x6a,0x74,0x69])],_0x3e7ecd=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x113126={..._0x30f2d5,[_0x1e2680([0x6a,0x74,0x69])]:_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x113126[_0x1e2680([0x76,0x63])],_0x53e00a(_0x113126)==_0x3e7ecd;}}}async function _0x571e1a(){let _0x209a5a=!0x0;try{const _0x5317ed=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])),[_0x442557,_0x29f73c,_0x1c2cb2]=_0x5317ed;return _0x31fc71(_0x442557),await _0x1c7527(_0x442557,_0x29f73c,_0x1c2cb2),_0x209a5a;}catch{return!0x1;}function _0x31fc71(_0x492a95){const _0x5db544=_0x3bed9f(_0x492a95);_0x5db544&&_0x5db544[_0x1e2680([0x61,0x6c,0x67])]==_0x1e2680([0x45,0x53,0x32,0x35,0x36])||(_0x209a5a=!0x1);}async function _0x1c7527(_0x257404,_0x36a38d,_0x35d751){const _0x3ef5d2=window[_0x1e2680([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e2680([0x66,0x72,0x6f,0x6d])](_0x567294(_0x35d751),_0x346619=>_0x346619[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f106f=new window[(_0x1e2680([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e2680([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x257404+_0x1e2680([0x2e])+_0x36a38d),_0x238898=window[_0x1e2680([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e2680([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x238898)return;const _0x4ac41d=await _0x238898[_0x1e2680([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e2680([0x6a,0x77,0x6b]),_0x5c8529,{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x238898[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x68,0x61,0x73,0x68])]:{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ac41d,_0x3ef5d2,_0x2f106f)||(_0x209a5a=!0x1);}}function _0x3bed9f(_0x32346f){return _0x32346f[_0x1e2680([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e2680([0x65,0x79]))?JSON[_0x1e2680([0x70,0x61,0x72,0x73,0x65])](_0x567294(_0x32346f)):null;}function _0x567294(_0x165865){return window[_0x1e2680([0x61,0x74,0x6f,0x62])](_0x165865[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e2680([0x2b]))[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e2680([0x2f])));}function _0x53e00a(_0x20d1ca){let _0x2f5fcc=0x1505;function _0x368af2(_0xe0cf0a){for(let _0x22307d=0x0;_0x22307d<_0xe0cf0a[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22307d++){const _0x4753dc=_0xe0cf0a[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22307d);_0x2f5fcc=(_0x2f5fcc<<0x5)+_0x2f5fcc+_0x4753dc,_0x2f5fcc&=_0x2f5fcc;}}function _0x3d3c19(_0x168dae){Array[_0x1e2680([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x168dae)?_0x168dae[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d3c19):_0x168dae&&typeof _0x168dae==_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e2680([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x168dae)[_0x1e2680([0x73,0x6f,0x72,0x74])]()[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc425,_0x2d8026])=>{_0x368af2(_0x2bc425),_0x3d3c19(_0x2d8026);}):_0x368af2(window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x168dae));}return _0x3d3c19(_0x20d1ca),_0x2f5fcc>>>0x0;}function _0x11237(_0x579e90){return _0x579e90[_0x1e2680([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e2680([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e2680([0x30]));}function _0x4c2780(_0x50b8d3){return _0x50b8d3[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e2680([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e2680([0x6a,0x6f,0x69,0x6e])]('');}function _0xdbf432(){}function _0x1e2680(_0x28111f){return _0x28111f['map'](_0x7b7ebe=>String['fromCharCode'](_0x7b7ebe))['join']('');}_0x35c869(await _0x199cc9());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3bfea1=this['editor'],_0x1b1893=_0x3bfea1['editing']['view'],_0x34bed7=this['_getAttachedDomRoot']();if(!_0x34bed7||0x0===_0x34bed7['childElementCount'])return void _0x3bfea1['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3d9649,pageHeight:_0x435641}=_0x3bfea1['config']['get']('pagination'),{top:_0x3cea20,left:_0x5e3eeb,bottom:_0x1920e7,right:_0x207aab}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f2405(_0x3bfea1['locale']);const _0x52e0ce=this['_pagesContainer'];_0x52e0ce['set']('class',''),_0x52e0ce['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3d9649,'width':_0x3d9649,'height':'calc(\x20'+_0x435641+'\x20-\x20'+_0x3cea20+'\x20-\x20'+_0x1920e7+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x207aab+'\x200\x20'+_0x5e3eeb,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x52e0ce['bindTemplate']['to']('class')}}),_0x52e0ce['render'](),_0x34bed7['parentNode']['insertBefore'](_0x52e0ce['element'],_0x34bed7['nextSibling']),this['listenTo'](_0x1b1893,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2fd139 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2fd139['ownerDocument']['body']['contains'](_0x2fd139))return _0x2fd139;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3df61c=this['editor']['editing']['view'],_0x3f7840=this['_pagesContainer'],_0x30d2be=this['_getAttachedDomRoot']();if(!_0x30d2be)return Promise['resolve']();for(_0x3f7840['class']=['ck-reset','ck-pagination-view',..._0x30d2be['classList']]['join']('\x20');_0x3f7840['element']['firstChild'];)_0x3f7840['element']['firstChild']['remove']();const _0x414195=Array['from'](_0x3df61c['domRoots']);_0x414195['sort'](([,_0x7ac2a4],[,_0x133f28])=>_0x7ac2a4['compareDocumentPosition'](_0x133f28)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x18345b,_0x1cbbac]of _0x414195){const _0x4e471c=_0x1cbbac['cloneNode'](!0x0);'attributeStyleMap'in _0x4e471c&&_0x4e471c['attributeStyleMap']['clear'](),_0x4e471c['className']='',_0x4e471c['removeAttribute']('id'),_0x4e471c['dataset']['rootName']=_0x18345b,_0x3f7840['element']['append'](_0x4e471c);}return function(_0x1d0791){return Promise['all'](_0x1d0791['map'](_0x4f6e1c=>Promise['race']([m(_0x4f6e1c),p(0x3e8)])));}(Array['from'](_0x3f7840['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3f8aa2=this['_pagesContainer']['element'];if(!_0x3f8aa2['ownerDocument']['body']['contains'](_0x3f8aa2))return;const _0x4affd6=new _0x16966e(_0x3f8aa2)['excludeScrollbarsAndBorders'](),_0x40d214=_0x2fd9a5['window']['getComputedStyle'](_0x3f8aa2),_0x48162b=parseFloat(_0x40d214['paddingLeft'])+parseFloat(_0x40d214['paddingRight']),_0x3e767f=Math['floor'](_0x4affd6['width']+0x64-_0x48162b),_0xda3e0=b(_0x3f8aa2,Math['floor'](_0x4affd6['left']-_0x3f8aa2['scrollLeft']),_0x3e767f,_0x4affd6['height'])['map'](_0x21c8b1=>this['_mapPageStarterInfoToPageBreakInfo'](_0x21c8b1));_0xda3e0['every'](_0xc70e8a=>!!_0xc70e8a)&&(this['pageBreaks']=_0xda3e0);}['_mapPageStarterInfoToPageBreakInfo'](_0x4357b9){const _0x4856a5=this['editor']['editing']['view'],_0x4b105b=this['editor']['editing']['mapper'],_0x2ce70c=_0x4856a5['domConverter'],_0x4ab74c=_0x4357b9['path']['shift'](),_0x533dc0=this['_pagesContainer']['element']['childNodes'][_0x4ab74c]['dataset']['rootName'],_0x19e927=_0x4856a5['getDomRoot'](_0x533dc0);if(!_0x19e927)return null;const _0x3ac96f=function(_0x4c2d6a,_0x29e65c){let _0x80028f=_0x4c2d6a;for(const _0xe724d5 of _0x29e65c['path']){if(!_0x80028f)return null;_0x80028f=_0x80028f['childNodes'][_0xe724d5];}return _0x80028f;}(_0x19e927,_0x4357b9);if(!_0x3ac96f)return null;const _0x2dbbb7=_0x2ce70c['domPositionToView'](_0x3ac96f,_0x4357b9['textOffset']||0x0);return _0x2dbbb7?'manual'==_0x4357b9['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f):'text'==_0x4357b9['type']&&_0x4b105b['toModelPosition'](_0x2dbbb7)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3c3eab,_0x10ec9f){const _0x2575db=this['editor']['model'],_0x2601f3=this['editor']['editing']['mapper']['toModelElement'](_0x3c3eab['parent']),_0x583ca5=_0x2575db['createRangeOn'](_0x2601f3);return new K({'type':'manual','modelRange':_0x583ca5,'domNode':_0x10ec9f,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c8988,_0x2c013b,_0x20a5ce){const _0x513013=this['editor']['model'],_0x4904a9=this['editor']['editing']['mapper'],_0x38af61=this['editor']['editing']['view']['domConverter'];if(_0x20a5ce>=_0x2c013b['length'])return null;const _0xd387e2=_0x4904a9['toModelPosition'](_0x1c8988),_0x53f73d=_0x513013['createRange'](_0xd387e2),_0x386f74=_0x4904a9['findMappedViewAncestor'](_0x1c8988),_0x4c3f86=_0x38af61['mapViewToDom'](_0x386f74);return new K({'type':'text','modelRange':_0x53f73d,'domNode':_0x2c013b,'offset':w(_0x2c013b,_0x20a5ce,_0x4c3f86)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x31e820,_0x40f706,_0x5699d9){const _0x246ba5=this['editor']['model'],_0x38fe5a=this['editor']['editing'],_0x34935f=_0x38fe5a['mapper'],_0x523167=_0x38fe5a['view']['domConverter'],_0x4415e7=_0x34935f['findMappedViewAncestor'](_0x31e820),_0x2e2d7b=_0x34935f['toModelElement'](_0x4415e7),_0x311c5e=function(_0x149d7e){const _0x5add89=_0x149d7e['parent'],_0xa6187c=_0x5add89['root']['document']['model'],_0x3ed53a=_0x5add89['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f7f91=null;for(const _0x4bbda1 of _0x3ed53a){if(_0x4bbda1['is']('rootElement'))return _0x1f7f91;if(!_0xa6187c['createPositionBefore'](_0x4bbda1)['isTouching'](_0x149d7e))return _0x1f7f91;_0x1f7f91=_0x4bbda1;}}(_0x246ba5['createPositionBefore'](_0x2e2d7b)),_0x20ed2a=_0x311c5e||_0x2e2d7b;let _0x240f0f=_0x34935f['toViewElement'](_0x20ed2a),_0xf77689=_0x246ba5['createRangeOn'](_0x20ed2a);const _0x5f0dc1=_0x246ba5['createPositionBefore'](_0x20ed2a)['nodeBefore'];if(_0x5f0dc1&&_0x5f0dc1['is']('element','imageBlock')){const _0x2484ca=_0x34935f['toViewElement'](_0x5f0dc1),_0x174c10=_0x523167['mapViewToDom'](_0x2484ca),_0x25e468=_0x2fd9a5['window']['getComputedStyle'](_0x174c10)['float'];'left'!=_0x25e468&&'right'!=_0x25e468||(_0xf77689=_0x246ba5['createRangeOn'](_0x5f0dc1));}for(;_0x240f0f['parent']!==_0x240f0f['root']&&0x0===_0x240f0f['index'];)_0x240f0f=_0x240f0f['parent'];const _0x2e0d29=new _0x16966e(N(_0x40f706)?_0x40f706:y(_0x40f706)),_0x944435=_0x5699d9?_0x2e0d29['height']-_0x5699d9:0x0,_0x46ef56=_0x523167['mapViewToDom'](_0x240f0f),_0x32dad1=new _0x16966e(_0x46ef56);return new K({'type':'element','modelRange':_0xf77689,'domNode':_0x46ef56,'offset':Math['round'](_0x944435)?_0x944435+_0x2e0d29['top']-_0x32dad1['top']:0x0});}get['_configuredPaddings'](){const _0x4d72bc=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4d72bc);}static['_findPageStarterInfos'](_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc){return b(_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x7ea63f,modelRange:_0x37ff63,domNode:_0x496754,offset:_0x3fb7f6}){this['type']=_0x7ea63f,this['modelRange']=_0x37ff63,this['_domNode']=_0x496754,this['_offset']=_0x3fb7f6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x181021=new _0x16966e(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x181021['top']+_0x181021['height']/0x2:_0x181021['top']+this['_offset'];}}function w(_0x4ea775,_0xac01eb,_0x2da1e2){const _0x5b472e=y(_0x4ea775),_0x3d9451=function(_0x4fd0ff){const _0x4aca36=_0x2fd9a5['document']['createRange']();return _0x4aca36['selectNodeContents'](_0x4fd0ff),_0x4aca36;}(_0x2da1e2);let _0x91a2ce;_0x91a2ce=0x0==_0xac01eb?k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775['parentNode'],Array['from'](_0x4ea775['parentNode']['childNodes'])['indexOf'](_0x4ea775)):k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775,_0xac01eb);const _0x3f663c=k(_0x4ea775,_0xac01eb,_0x3d9451['endContainer'],_0x3d9451['endOffset']),_0x3be5b1=new _0x16966e(_0x91a2ce)['bottom'];return(new _0x16966e(_0x3f663c)['top']+_0x3be5b1)/0x2-new _0x16966e(_0x5b472e)['top'];}function m(_0x3d4148){return _0x3d4148['hasAttribute']('width')&&_0x3d4148['hasAttribute']('height')?Promise['resolve']():new Promise(_0x400096=>{function _0x2f6cd3(){_0x3d4148['removeEventListener']('load',_0x2f6cd3),_0x3d4148['removeEventListener']('error',_0x2f6cd3),_0x400096();}_0x3d4148['complete']?_0x400096():(_0x3d4148['addEventListener']('load',_0x2f6cd3),_0x3d4148['addEventListener']('error',_0x2f6cd3));});}function p(_0x3f473f){return new Promise(_0x480ec2=>setTimeout(_0x480ec2,_0x3f473f));}function y(_0x1bb72f){const _0x270eff=_0x2fd9a5['document']['createRange']();return _0x270eff['selectNode'](_0x1bb72f),_0x270eff;}function P(_0x3a9ada,_0x43c881,_0x4b4587){const _0x393d6c=_0x2fd9a5['document']['createRange']();return _0x393d6c['setStart'](_0x3a9ada,_0x43c881),_0x393d6c['setEnd'](_0x3a9ada,_0x4b4587),_0x393d6c;}function k(_0x3c67d8,_0xaae6b1,_0x4a3db9,_0x5b6059){const _0x2fdca9=_0x2fd9a5['document']['createRange']();return _0x2fdca9['setStart'](_0x3c67d8,_0xaae6b1),_0x2fdca9['setEnd'](_0x4a3db9,_0x5b6059),_0x2fdca9;}function b(_0x55fd95,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83){const _0x1cd4f5=[];for(const [_0x4238b5,_0x56ec12]of _0x55fd95['childNodes']['entries']()){let _0x5def56=[];N(_0x56ec12)&&_0x56ec12['offsetParent']&&!_0x56ec12['style']['position']?_0x5def56=x(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83):S(_0x56ec12)&&(_0x5def56=_(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x466b83)),_0x5def56['length']&&(_0x1cd4f5['push'](..._0x5def56),_0x5d75fd+=_0x5def56['length']*_0x359fb2,_0x466b83=!0x1);}return _0x1cd4f5;}function x(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7){const _0x3de240=[];var _0x9e99;if((_0x9e99=_0x4e5af8['previousSibling'])&&N(_0x9e99)&&Boolean(_0x9e99['classList']['contains']('page-break')||_0x9e99['closest']('.page-break'))&&(_0x3de240['push']({'type':'manual','offset':0x0,'path':[_0x31e117-0x1]}),_0x272b7=!0x0),'table-row'==_0x2fd9a5['window']['getComputedStyle'](_0x4e5af8)['display']){let _0x564b9a=0x0,_0x120ba3=!0x1;for(const _0x231e80 of _0x4e5af8['getClientRects']())_0x564b9a+=_0x231e80['height'],_0x231e80['left']>=_0x259648&&(_0x120ba3=!0x0);if(_0x564b9a<_0x35b8df&&_0x120ba3)return _0x3de240['push']({'type':'element','offset':0x0,'path':[_0x31e117]}),_0x3de240;}const _0x11b2a9=_0x4e5af8['closest']('figure.image');if(_0x11b2a9&&function(_0x37b7fd){let _0x523e99=!0x1;const _0x461328=_0x37b7fd['parentElement'],_0x479101=_0x461328['dataset']['rootName'],_0x6a3097=_0x37b7fd['nextElementSibling'],_0x6df9e0=_0x37b7fd['previousElementSibling'],_0x8971df=_0x6a3097&&_0x2fd9a5['window']['getComputedStyle'](_0x6a3097)['float'],_0x111ebf=_0x6a3097&&'ck-fake-selection-container'===_0x6a3097['className'];!_0x479101||_0x6a3097||_0x6df9e0||(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&_0x111ebf&&(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&'none'!==_0x8971df&&(_0x523e99=!0x0);if(_0x523e99)return!0x1;return!0x0;}(_0x11b2a9)){const _0x2ac4d8=_0x2fd9a5['window']['getComputedStyle'](_0x11b2a9)['float'];if('left'==_0x2ac4d8||'right'==_0x2ac4d8)return _0x3de240;}const _0x305098=b(_0x4e5af8,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7);if(_0x305098['length']){for(const _0x4e99e5 of _0x305098)_0x3de240['push']({'type':_0x4e99e5['type'],'offset':_0x4e99e5['offset'],'textOffset':_0x4e99e5['textOffset'],'path':[_0x31e117,..._0x4e99e5['path']]}),_0x259648+=_0x58a5c0,_0x272b7=!0x1;return _0x3de240;}return _0x3de240['push'](...function(_0x44edc3,_0x106226,_0x286099,_0x5c821c,_0x5ab2bd){const _0x1934f2=[];if('table-cell'==_0x2fd9a5['window']['getComputedStyle'](_0x44edc3)['display'])return[];const _0x11f7d8=[];for(const _0x446b47 of _0x44edc3['getClientRects']())if(_0x446b47['left']>=_0x286099){for(const _0x573f05 of _0x11f7d8)_0x573f05['height']+=_0x446b47['height'];_0x11f7d8['push']({'height':_0x446b47['height']}),_0x286099+=_0x5c821c;}for(const _0x3fc5fe of _0x11f7d8)_0x5ab2bd||_0x1934f2['push']({'type':'element','offset':_0x3fc5fe['height'],'textOffset':0x0,'path':[_0x106226]}),_0x5ab2bd=!0x1;return _0x1934f2;}(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x272b7)),_0x3de240;}function _(_0x2935f4,_0x2de553,_0x54ba01,_0x249b1f,_0x1a4038){const _0x564579=y(_0x2935f4),_0x44423c=[];let _0x5bae6a=0x0;for(const _0x54cd06 of _0x564579['getClientRects']())if(_0x54cd06['left']>=_0x54ba01){const _0x1643f9=B(_0x2935f4,_0x5bae6a,_0x54ba01,_0x249b1f);_0x1a4038||_0x44423c['push']({'type':'text','path':[_0x2de553],'textOffset':_0x1643f9}),_0x5bae6a=_0x1643f9,_0x54ba01+=_0x249b1f,_0x1a4038=!0x1;}return _0x44423c;}function B(_0xe6a5fa,_0x38b212,_0x1222eb,_0x4807d1){let _0x22e832=_0x38b212,_0x593838=_0xe6a5fa['length'];for(;_0x593838-_0x22e832>0x1;){const _0x3ec56f=Math['ceil']((_0x22e832+_0x593838)/0x2);I(P(_0xe6a5fa,_0x22e832,_0x3ec56f),_0x1222eb,_0x4807d1)?_0x593838=_0x3ec56f:_0x22e832=_0x3ec56f;}return _0x22e832;}function I(_0x3f0c36,_0x335514,_0x122f9d){for(const _0x4f47ef of _0x3f0c36['getClientRects']())if(_0x4f47ef['left']>=_0x335514&&_0x4f47ef['left']<_0x335514+_0x122f9d)return!0x0;return!0x1;}function N(_0x41a79b){return _0x41a79b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x324b36){return _0x324b36['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3fec48('px');class C extends _0x5f2405{constructor(){super();const _0x25641f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x25641f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x25641f['if']('isVisible','ck-hidden',_0x47eca2=>!_0x47eca2)],'style':{'left':_0x25641f['to']('left',_0x2bf0f9=>q(_0x2bf0f9)),'top':_0x25641f['to']('top',_0x2a1f38=>q(_0x2a1f38)),'width':_0x25641f['to']('width',_0x31b4c1=>q(_0x31b4c1))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1ce001){this['_viewCollection']=_0x1ce001['ui']['view']['body'];}['destroy'](){for(const _0x2e00eb of this['_hiddenLines'])_0x2e00eb['destroy']();}['cleanLines'](){for(const _0x3abefd of this['_visibleLines'])_0x3abefd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3abefd);this['_visibleLines']['clear']();}['showLine'](_0x556fa6,_0x468dc4,_0x5740e8,_0x22d6d4){let _0xa6a046;this['_hiddenLines']['size']?(_0xa6a046=_0x4d9cf3(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xa6a046)):_0xa6a046=new C(),_0xa6a046['set']({'pageNumber':_0x22d6d4,'left':_0x556fa6,'top':_0x468dc4,'width':_0x5740e8}),_0xa6a046['isVisible']=!0x0,this['_viewCollection']['has'](_0xa6a046)||this['_viewCollection']['add'](_0xa6a046),this['_visibleLines']['add'](_0xa6a046);}['setViewCollection'](_0x409e97){for(const _0x1a49af of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1a49af)&&this['_viewCollection']['remove'](_0x1a49af);this['_viewCollection']=_0x409e97;}}const E='ck-pagination_enabled';class n extends _0x52abb0{['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 O(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'](E),this['on']('change:isEnabled',(_0x4cfabb,_0x16430b,_0x25cd0e)=>{_0x25cd0e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x25cd0e);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x55f721){if(!this['isEnabled'])return;const _0x1933b7=_0x55f721>0x1?this['_getPageBreakLineOffset'](_0x55f721-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1933b7-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x433bfe['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x475e03=this['editor'],_0x5458b3=this['_getAttachedDomRoot']();_0x5458b3?(this['_scrollableEditingRootDomAncestor']&&_0x475e03['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x869a8){let _0x4208de=_0x869a8;do{_0x4208de=_0x4208de['parentElement'];const _0xdd74bf=_0x2fd9a5['window']['getComputedStyle'](_0x4208de)['overflowY'];if('auto'==_0xdd74bf||'scroll'==_0xdd74bf)break;}while('BODY'!=_0x4208de['tagName']);return _0x4208de;}(_0x5458b3),_0x475e03['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x564e9a(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x475e03['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1685a3=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1685a3['ui']['view']['listenTo'](_0x2fd9a5['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1685a3['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x43289d of this['editor']['editing']['view']['domRoots']['values']())if(_0x43289d['ownerDocument']['body']['contains'](_0x43289d))return _0x43289d;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x232be6=this['_getAttachedDomRoot'](),_0x275d1b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x232be6||0x1==_0x275d1b['length'])return void(this['pageNumber']=0x1);const _0x51dffd=new _0x16966e(_0x232be6)['excludeScrollbarsAndBorders'](),_0x3557b0=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3be7e6=_0x3557b0['top']+_0x3557b0['height']/0x3;let _0x23f423=!0x1;const _0x409158=[];for(let _0x370712=0x1;_0x370712<_0x275d1b['length'];_0x370712++){const _0x589635=this['_getPageBreakLineOffset'](_0x370712,_0x3557b0);if(!_0x589635)continue;const _0x5c087b=_0x3557b0['top']+_0x589635-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x409158['push']({'pageOffsetTop':_0x5c087b,'domRootRect':_0x51dffd,'domScrollableRect':_0x3557b0,'pageNumber':_0x370712}),_0x5c087b>_0x3be7e6&&!_0x23f423&&(this['pageNumber']=_0x370712,_0x23f423=!0x0);}this['_renderPageBreakLines'](_0x409158),_0x23f423||(this['pageNumber']=_0x275d1b['length']);}['_renderPageBreakLines'](_0x4d2232){const {scrollX:_0x56e847,scrollY:_0x360c7e}=_0x2fd9a5['window'];if(_0x4d2232['length']){for(const {domScrollableRect:_0x202447,pageOffsetTop:_0x2cf095,domRootRect:_0x302369,pageNumber:_0x2a2ad4}of _0x4d2232)_0x202447['top']<_0x2cf095&&_0x2cf095<_0x202447['bottom']&&this['linesRepository']['showLine'](_0x302369['left']+_0x56e847,_0x2cf095+_0x360c7e,_0x302369['width'],_0x2a2ad4+0x1);}}['_getPageBreakLineOffset'](_0x56a3ed,_0x12f6d2=null){const _0x34043e=this['_paginationLookupPlugin']['pageBreaks'][_0x56a3ed]['offset'];return _0x34043e?(_0x12f6d2||(_0x12f6d2=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x34043e-_0x12f6d2['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4003c7,_0x24183c=!0x0){const _0x2ad4b6=this['editor']['editing']['view'];_0x2ad4b6['change'](_0x13684f=>{for(const _0x11412f of _0x2ad4b6['document']['roots'])_0x24183c?_0x13684f['addClass'](_0x4003c7,_0x11412f):_0x13684f['removeClass'](_0x4003c7,_0x11412f);});}}function g(_0x42803d,_0x20aded,..._0x198df6){const t=_0x42803d['t'];switch(_0x20aded){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)',..._0x198df6);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 _0x20aded;}}class s extends _0x52abb0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x11802d=this['editor']['plugins']['get']('Pagination'),_0x28860a=this['editor']['plugins']['get'](a),_0x23406b=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11802d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x23406b),this['listenTo'](_0x28860a,'change:pageBreaks',(_0x28e2b0,_0x4d1c3e,_0x350166,_0x6933cb)=>{this['totalPages']=_0x350166['length'],this['_updatePageBreakMarkers'](_0x350166,_0x6933cb);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6eb6f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14279b;for(const _0x549155 in _0x6eb6f4){const _0x51164e=_0x549155,_0x2c7ac2=_0x6eb6f4[_0x51164e];if('paginationLicenseKeyValid'==_0x2c7ac2||'paginationLicenseKeyInvalid'==_0x2c7ac2||'paginationLicenseKeyExpired'==_0x2c7ac2||'paginationLicenseKeyDomainLimit'==_0x2c7ac2||'paginationLicenseKeyNotAllowed'==_0x2c7ac2||'paginationLicenseKeyEvaluationLimit'==_0x2c7ac2||'paginationLicenseKeyTrialLimit'==_0x2c7ac2||'paginationLicenseKeyUsageLimit'==_0x2c7ac2){delete _0x6eb6f4[_0x51164e],_0x14279b=_0x2c7ac2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x14279b&&_0x6eb6f4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x14279b&&_0x6eb6f4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x14279b&&_0x6eb6f4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1a7aa1){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x1a7aa1));}['moveSelectionToPage'](_0x3ee4db){if(!this['isEnabled'])return;const _0x88ff23=this['editor'],_0x3880cc=this['editor']['plugins']['get'](a)['pageBreaks'][_0x3ee4db-0x1];_0x3880cc&&_0x88ff23['model']['change'](_0x12c4dc=>{switch(_0x3880cc['type']){case'manual':{const _0x2c80d6=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['end'],'forward');_0x12c4dc['setSelection'](_0x2c80d6);break;}case'element':{const _0x486f2b=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['start'],'forward');_0x12c4dc['setSelection'](_0x486f2b);break;}case'text':{const _0x5e437a=_0x3880cc['modelRange']['start'];if(_0x5e437a['textNode']&&'\x20'===_0x5e437a['textNode']['data'][_0x5e437a['offset']]){const _0x3c3dd1=_0x12c4dc['createPositionAt'](_0x5e437a['parent'],_0x5e437a['offset']+0x1);_0x12c4dc['setSelection'](_0x3c3dd1);}else _0x12c4dc['setSelection'](_0x3880cc['modelRange']);}}_0x88ff23['editing']['view']['focus']();});}['goToNextPage'](){const _0x2865b6=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2865b6),this['scrollToPage'](_0x2865b6);}['goToPreviousPage'](){const _0x494003=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x494003),this['scrollToPage'](_0x494003);}['_updatePageBreakMarkers'](_0xa95b2c,_0x1906d5){const _0x33c2b9=this['editor']['model'];this['isEnabled']&&_0x33c2b9['change'](_0x11d065=>{for(let _0x1db5d5=0x1;_0x1db5d5<_0xa95b2c['length'];_0x1db5d5++){const _0x4309c1=_0xa95b2c[_0x1db5d5]['modelRange'],_0x1d7666='pagination:'+(_0x1db5d5+0x1);_0x33c2b9['markers']['has'](_0x1d7666)?_0x11d065['updateMarker'](_0x1d7666,{'range':_0x4309c1}):_0x11d065['addMarker'](_0x1d7666,{'range':_0x4309c1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x294224=_0xa95b2c['length'];_0x294224<_0x1906d5['length'];_0x294224++){const _0x3233c2='pagination:'+(_0x294224+0x1);_0x33c2b9['markers']['has'](_0x3233c2)&&_0x11d065['removeMarker'](_0x3233c2);}});}['_setUpDataDowncastConversion'](){const _0x2c6d2d='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eda85=>{_0x3eda85['on']('addMarker:'+_0x2c6d2d,(_0x52ba54,{markerRange:_0x21f4f2,markerName:_0x5b1ee9},_0x5ec3ea)=>{if(!_0x5ec3ea['options']['pagination'])return;if(!_0x5ec3ea['consumable']['consume'](_0x21f4f2,_0x52ba54['name']))return;const _0x4d5479=_0x21f4f2['getContainedElement']();let _0x612e8b=_0x4d5479?_0x5ec3ea['mapper']['toViewElement'](_0x4d5479):null;if(!_0x612e8b){const _0x1422d=_0x21f4f2['start'];if(_0x5ec3ea['schema']['checkChild'](_0x1422d,'$text')){const _0x2d177f=_0x5ec3ea['mapper']['toViewPosition'](_0x1422d);_0x612e8b=_0x5ec3ea['writer']['createContainerElement']('span'),_0x612e8b['getFillerOffset']=()=>null,_0x5ec3ea['writer']['insert'](_0x2d177f,_0x612e8b);}else{const _0x13e027=_0x1422d['nodeAfter'];_0x612e8b=_0x5ec3ea['mapper']['toViewElement'](_0x13e027);}}for(;_0x612e8b['parent']!==_0x612e8b['root']&&0x0===_0x612e8b['index'];)_0x612e8b=_0x612e8b['parent'];const _0x5d5169=_0x5b1ee9['substring'](0xb);_0x612e8b['hasClass']('page-break')||(_0x5ec3ea['writer']['setStyle']('page-break-before','always',_0x612e8b),_0x5ec3ea['writer']['setAttribute']('data-pagination-page',_0x5d5169,_0x612e8b),_0x5ec3ea['mapper']['bindElementToMarker'](_0x612e8b,_0x5b1ee9)),_0x52ba54['stop']();});});}['_setupKeystrokes'](){const _0x3d046d=this['editor'];_0x3d046d['keystrokes']['set']('Shift+Pageup',(_0x1544ae,_0x424a1c)=>{this['goToPreviousPage'](),_0x424a1c();}),_0x3d046d['keystrokes']['set']('Shift+Pagedown',(_0xd7c3a8,_0x3a2069)=>{this['goToNextPage'](),_0x3a2069();}),_0x3d046d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3d046d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x395ec7){return _0x395ec7<0x1&&(_0x395ec7=0x1),_0x395ec7>this['totalPages']&&(_0x395ec7=this['totalPages']),_0x395ec7;}}class G extends _0x5f2405{['pageNumberView'];constructor(_0x148ccb){super(_0x148ccb);const _0x164c2a=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x93f468(_0x148ccb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x22d363=>g(_0x148ccb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x22d363)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4db244=>!_0x4db244),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x164c2a['if']('isEnabled','ck-disabled',_0x3d10f2=>!_0x3d10f2)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x164c2a['to']('totalPages')}]}]});}['render'](){super['render']();const _0x248ba8=this['pageNumberView']['element'],_0x3fb3d0=_0x3212ff=>{this['pageNumberView']['element']['value']=String(_0x3212ff);};_0x3fb3d0(this['pageNumber']),this['on']('change:pageNumber',(_0x510ed6,_0x503e61,_0x28adea)=>{_0x3fb3d0(_0x28adea);}),this['listenTo'](_0x248ba8,'keydown',(_0x43a566,_0x3dd07b)=>{if('ArrowUp'===_0x3dd07b['key']||'ArrowDown'===_0x3dd07b['key'])return void _0x3dd07b['stopPropagation']();if(_0x3dd07b['keyCode']!==_0x4a7b56['enter'])return;_0x3dd07b['preventDefault']();const _0x277e9a=_0x248ba8['valueAsNumber'];Number['isNaN'](_0x277e9a)?_0x248ba8['value']=String(this['pageNumber']):(_0x248ba8['checkValidity']()?this['pageNumber']=_0x277e9a:_0x277e9a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x248ba8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x248ba8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x248ba8,'blur',()=>{_0x248ba8['value']=String(this['pageNumber']);}),this['listenTo'](_0x248ba8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x52abb0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49547a=this['editor'],_0x118254=_0x49547a['plugins']['get']('PaginationEditing');_0x49547a['ui']['componentFactory']['add']('pageNavigation',_0x5cc2dd=>{const _0x1d8a22=new G(_0x5cc2dd);return _0x1d8a22['bind']('pageNumber')['to'](_0x118254),_0x1d8a22['bind']('totalPages')['to'](_0x118254),_0x1d8a22['bind']('isEnabled')['to'](_0x118254),_0x1d8a22['on']('navigation',(_0x100ba6,_0x5b6fb8)=>{_0x118254['moveSelectionToPage'](_0x5b6fb8),_0x118254['scrollToPage'](_0x5b6fb8);}),_0x1d8a22;}),_0x49547a['ui']['componentFactory']['add']('nextPage',_0x5c59f4=>{const _0x3f661d=new _0xf5a667(_0x5c59f4);return _0x3f661d['isEnabled']=!0x0,_0x3f661d['label']=g(_0x49547a['locale'],'Go\x20to\x20next\x20page'),_0x3f661d['icon']=_0x5cd26a,_0x3f661d['tooltip']=!0x0,_0x3f661d['keystroke']='Shift+PageDown',_0x3f661d['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x3f661d,'execute',()=>{_0x118254['goToNextPage']();}),_0x3f661d;}),_0x49547a['ui']['componentFactory']['add']('previousPage',_0x118c05=>{const _0x32ff89=new _0xf5a667(_0x118c05);return _0x32ff89['isEnabled']=!0x0,_0x32ff89['label']=g(_0x49547a['locale'],'Go\x20to\x20previous\x20page'),_0x32ff89['icon']=_0x25abfd,_0x32ff89['tooltip']=!0x0,_0x32ff89['keystroke']='Shift+PageUp',_0x32ff89['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x32ff89,'execute',()=>{_0x118254['goToPreviousPage']();}),_0x32ff89;});}}class T extends _0x52abb0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x269d33){super(_0x269d33),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2bada7=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x2bada7),this['bind']('totalPages')['to'](_0x2bada7),_0x433bfe['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1481be){this['editor']['plugins']['get'](s)['scrollToPage'](_0x1481be);}}export{T as Pagination,n as PaginationRenderer};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-pagination",
|
|
3
|
-
"version": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.8",
|
|
4
4
|
"description": "Pagination feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "46.0.0-alpha.
|
|
16
|
-
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.
|
|
20
|
-
"ckeditor5": "46.0.0-alpha.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.8",
|
|
16
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.8",
|
|
17
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.8",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.8",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.8",
|
|
20
|
+
"ckeditor5": "46.0.0-alpha.8",
|
|
21
21
|
"es-toolkit": "1.39.5"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/paginationlookup.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4552(_0x2c2eb2,_0x88f489){const _0x21e236=_0x21e2();return _0x4552=function(_0x455291,_0xcf6a65){_0x455291=_0x455291-0xf7;let _0x322aad=_0x21e236[_0x455291];return _0x322aad;},_0x4552(_0x2c2eb2,_0x88f489);}const _0x3cd7c5=_0x4552;(function(_0x5c8280,_0x4c3a7e){const _0x2521df=_0x4552,_0x479221=_0x5c8280();while(!![]){try{const _0x207541=parseInt(_0x2521df(0x180))/0x1*(parseInt(_0x2521df(0x115))/0x2)+parseInt(_0x2521df(0x16f))/0x3+-parseInt(_0x2521df(0x12a))/0x4*(parseInt(_0x2521df(0x1b4))/0x5)+parseInt(_0x2521df(0x163))/0x6+parseInt(_0x2521df(0x15c))/0x7*(parseInt(_0x2521df(0x102))/0x8)+parseInt(_0x2521df(0x10a))/0x9*(-parseInt(_0x2521df(0x1ae))/0xa)+-parseInt(_0x2521df(0x153))/0xb;if(_0x207541===_0x4c3a7e)break;else _0x479221['push'](_0x479221['shift']());}catch(_0x2736b2){_0x479221['push'](_0x479221['shift']());}}}(_0x21e2,0x80ac9));import{Plugin as _0x110574}from'ckeditor5/src/core.js';import{View as _0x18144d}from'ckeditor5/src/ui.js';import{Rect as _0x4af675,global as _0x1e53b7,logWarning as _0x54efaa,uid as _0x4ef482}from'ckeditor5/src/utils.js';import{debounce as _0x8f29cb}from'es-toolkit/compat';export class PaginationLookup extends _0x110574{[_0x3cd7c5(0x160)]=_0x8f29cb(()=>this[_0x3cd7c5(0x128)](),0xc8);[_0x3cd7c5(0x156)]=null;static get[_0x3cd7c5(0xf7)](){const _0x372cfa=_0x3cd7c5;return _0x372cfa(0x164);}static get[_0x3cd7c5(0x176)](){return!0x0;}static get[_0x3cd7c5(0x18d)](){return!0x0;}[_0x3cd7c5(0x17f)](){const _0x50b4f7=_0x3cd7c5;if(this[_0x50b4f7(0x19d)]({'pageBreaks':[]}),!this[_0x50b4f7(0x124)][_0x50b4f7(0x154)][_0x50b4f7(0x1ab)](_0x50b4f7(0x193)))return void _0x54efaa(_0x50b4f7(0x1a4),this[_0x50b4f7(0x124)][_0x50b4f7(0x154)]);const _0x1c54be=this[_0x50b4f7(0x124)][_0x50b4f7(0x17b)][_0x50b4f7(0x1ab)](_0x50b4f7(0x17c));this[_0x50b4f7(0x16a)](_0x50b4f7(0x182))['to'](_0x1c54be),this[_0x50b4f7(0x124)]['ui'][_0x50b4f7(0x192)](_0x50b4f7(0x19f),()=>this[_0x50b4f7(0x171)]()),this['on'](_0x50b4f7(0x19e),(_0x2d6b55,_0x51806a,_0x314e8e)=>{const _0x4b6333=_0x50b4f7;_0x314e8e&&this[_0x4b6333(0x160)]();});}[_0x3cd7c5(0x13c)](){!async function(_0x41a5f7){const _0x57a7cb=_0x4cbbee([0x62,0x44,0x6a,0x34,0x41,0x7a,0x30,0x5a,0x6c,0x42,0x55,0x4b,0x4a,0x32,0x66,0x56,0x51,0x54,0x50,0x52,0x74,0x64,0x31,0x78,0x6d,0x47,0x39,0x49,0x45,0x46,0x65,0x4f,0x4c,0x69,0x53,0x73,0x77,0x61,0x72,0x70,0x35,0x38,0x75,0x63,0x79,0x57,0x37,0x58,0x59,0x6b,0x6f,0x4d,0x4e,0x33,0x6e,0x36,0x48,0x68,0x43,0x71,0x76,0x67]),_0x3c3487=0x1cbe20da,_0x5411a8=0x1cb94c22^_0x3c3487,_0x59c041=window[_0x4cbbee([0x44,0x61,0x74,0x65])][_0x4cbbee([0x6e,0x6f,0x77])](),_0x3f7bf8=_0x41a5f7[_0x4cbbee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5682f7=new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c04ab=>{_0x3f7bf8[_0x4cbbee([0x6f,0x6e,0x63,0x65])](_0x4cbbee([0x72,0x65,0x61,0x64,0x79]),_0x2c04ab);}),_0x5d519b={[_0x4cbbee([0x6b,0x74,0x79])]:_0x4cbbee([0x45,0x43]),[_0x4cbbee([0x75,0x73,0x65])]:_0x4cbbee([0x73,0x69,0x67]),[_0x4cbbee([0x63,0x72,0x76])]:_0x4cbbee([0x50,0x2d,0x32,0x35,0x36]),[_0x4cbbee([0x78])]:_0x4cbbee([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]),[_0x4cbbee([0x79])]:_0x4cbbee([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]),[_0x4cbbee([0x61,0x6c,0x67])]:_0x4cbbee([0x45,0x53,0x32,0x35,0x36])},_0x43b179=_0x3f7bf8[_0x4cbbee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cbbee([0x67,0x65,0x74])](_0x4cbbee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e5cfe(){let _0x4422ff,_0x3a1604=null,_0x46d2ac=null;try{if(_0x43b179==_0x4cbbee([0x47,0x50,0x4c]))return _0x4cbbee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4422ff=_0x1cfead(),!_0x4422ff)return _0x4cbbee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4422ff[_0x4cbbee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46d2ac=_0x1706fd(_0x4422ff[_0x4cbbee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4422ff[_0x4cbbee([0x6a,0x74,0x69])])),await _0x31829f()?_0x15f56b()?_0x4b4d68()?_0x4cbbee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e3052()?(_0x4422ff[_0x4cbbee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cbbee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a1604=_0x343b4c(_0x4cbbee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4422ff[_0x4cbbee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cbbee([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a1604=_0x343b4c(_0x4cbbee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9a3e4e()):_0x4cbbee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cbbee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cbbee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cbbee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b4d68(){const _0x5ab6ec=[_0x4cbbee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cbbee([0x74,0x72,0x69,0x61,0x6c])][_0x4cbbee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4422ff[_0x4cbbee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59c041/0x3e8:0xe10*_0x5411a8;return _0x4422ff[_0x4cbbee([0x65,0x78,0x70])]<_0x5ab6ec;}function _0x15f56b(){const _0x1cc41a=_0x4422ff[_0x4cbbee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1cc41a&&(!!_0x1cc41a[_0x4cbbee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cbbee([0x2a]))||!!_0x1cc41a[_0x4cbbee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cbbee([0x50,0x41,0x47])));}function _0x2e3052(){const _0x53835a=_0x4552,_0x57ff26=_0x4422ff[_0x4cbbee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57ff26||0x0==_0x57ff26[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28b06a}=new URL(window[_0x4cbbee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x53835a(0x157)]);if(_0x57ff26[_0x4cbbee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28b06a))return!0x0;const _0x38e2ba=_0x28b06a[_0x4cbbee([0x73,0x70,0x6c,0x69,0x74])](_0x4cbbee([0x2e]));return _0x57ff26[_0x4cbbee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26849f=>_0x26849f[_0x4cbbee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cbbee([0x2a])))[_0x4cbbee([0x6d,0x61,0x70])](_0x1539d4=>_0x1539d4[_0x4cbbee([0x73,0x70,0x6c,0x69,0x74])](_0x4cbbee([0x2e])))[_0x4cbbee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32d115=>_0x32d115[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38e2ba[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cbbee([0x6d,0x61,0x70])](_0x5195a4=>Array(_0x38e2ba[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5195a4[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cbbee([0x66,0x69,0x6c,0x6c])](_0x5195a4[0x0]===_0x4cbbee([0x2a])?_0x4cbbee([0x2a]):'')[_0x4cbbee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5195a4))[_0x4cbbee([0x73,0x6f,0x6d,0x65])](_0xbe541=>_0x38e2ba[_0x4cbbee([0x65,0x76,0x65,0x72,0x79])]((_0x510b10,_0x26b7ce)=>_0xbe541[_0x26b7ce]===_0x510b10||_0xbe541[_0x26b7ce]===_0x4cbbee([0x2a])));}function _0x9a3e4e(){return _0x3a1604&&_0x46d2ac?new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41cfdc,_0x205e60)=>{_0x3a1604[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0x41cfdc,_0x205e60),_0x46d2ac[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0x3b6363=>{_0x3b6363!=_0x4cbbee([0x56,0x61,0x6c,0x69,0x64])&&_0x41cfdc(_0x3b6363);},_0x205e60);}):_0x3a1604||_0x46d2ac||_0x4cbbee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1706fd(_0x2a6a02,_0x2b29dd){return new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49058a=>{if(_0x5c5411())return _0x49058a(_0x4cbbee([0x56,0x61,0x6c,0x69,0x64]));_0x12aabb(),_0x3f7bf8[_0x4cbbee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cbbee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x223fab=!0x1;const _0x41c2d6=_0x4ef482();function _0x725cdd(_0xf76c96){return!!_0xf76c96&&(typeof _0xf76c96===_0x4cbbee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf76c96===_0x4cbbee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf76c96[_0x4cbbee([0x74,0x68,0x65,0x6e])]===_0x4cbbee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf76c96[_0x4cbbee([0x63,0x61,0x74,0x63,0x68])]===_0x4cbbee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55e1e5(_0x1351ef){_0x58c320(_0x1351ef)[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0x19833a=>{if(!_0x19833a||_0x19833a[_0x4cbbee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cbbee([0x6f,0x6b]))return _0x4cbbee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x568eb0(_0x321660(_0x41c2d6+_0x2b29dd))!=_0x19833a[_0x4cbbee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cbbee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cbbee([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0x1bd198=>(_0x57141b(),_0x1bd198),()=>{const _0x1af42e=_0x1ff74d();return null==_0x1af42e?(_0x57141b(),_0x4cbbee([0x56,0x61,0x6c,0x69,0x64])):_0x4cbbee(_0x59c041-_0x1af42e>(0x38b2a4da^_0x3c3487)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0x49058a)[_0x4cbbee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49058a(_0x4cbbee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32fe8a=0x1c88ce5a^_0x3c3487;function _0x57141b(){const _0x3ccef8=_0x4cbbee([0x6c,0x6c,0x63,0x74,0x2d])+_0x568eb0(_0x321660(_0x2a6a02)),_0x8973ae=_0x35e6d1(_0x568eb0(window[_0x4cbbee([0x4d,0x61,0x74,0x68])][_0x4cbbee([0x63,0x65,0x69,0x6c])](_0x59c041/_0x32fe8a)));window[_0x4cbbee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cbbee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ccef8,_0x8973ae);}function _0x1ff74d(){const _0x2fb450=_0x4cbbee([0x6c,0x6c,0x63,0x74,0x2d])+_0x568eb0(_0x321660(_0x2a6a02)),_0x45ee90=window[_0x4cbbee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cbbee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fb450);return _0x45ee90?window[_0x4cbbee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35e6d1(_0x45ee90),0x10)*_0x32fe8a:null;}function _0x58c320(_0xd3dc3c){return new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb10b14,_0x40642a)=>{_0xd3dc3c[_0x4cbbee([0x74,0x68,0x65,0x6e])](_0xb10b14,_0x40642a),window[_0x4cbbee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40642a,0x1cbff41a^_0x3c3487);});}}_0x3f7bf8[_0x4cbbee([0x6f,0x6e])](_0x4cbbee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19bc36,_0x21d96f)=>{if(_0x21d96f[0x0]!=_0x2a6a02)return _0x49058a(_0x4cbbee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21d96f[0x1]={..._0x21d96f[0x1],[_0x4cbbee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41c2d6};},{[_0x4cbbee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cbbee([0x68,0x69,0x67,0x68])}),_0x3f7bf8[_0x4cbbee([0x6f,0x6e])](_0x4cbbee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cb457=>{_0x725cdd(_0x3cb457[_0x4cbbee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x223fab=!0x0,_0x55e1e5(_0x3cb457[_0x4cbbee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cbbee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cbbee([0x6c,0x6f,0x77])}),_0x5682f7[_0x4cbbee([0x74,0x68,0x65,0x6e])](()=>{_0x223fab||_0x49058a(_0x4cbbee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c5411(){return _0x3f7bf8[_0x4cbbee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cbbee([0x76,0x69,0x65,0x77])][_0x4cbbee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cbbee([0x61,0x75,0x74,0x6f]);}function _0x12aabb(){_0x3f7bf8[_0x4cbbee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cbbee([0x76,0x69,0x65,0x77])][_0x4cbbee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cbbee([0x61,0x75,0x74,0x6f]);}}function _0x343b4c(_0x4ea4e4){const _0x58360b=[new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ba44=>setTimeout(_0x10ba44,0x1cb71e16^_0x3c3487)),_0x5682f7[_0x4cbbee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48bb64=>{let _0x31bc05=0x0;_0x3f7bf8[_0x4cbbee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cbbee([0x6f,0x6e])](_0x4cbbee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x589d39,_0xbb1788)=>{_0xbb1788[0x0][_0x4cbbee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31bc05++,_0x31bc05==(0x1cbe2122^_0x3c3487)&&(_0x48bb64(),_0x589d39[_0x4cbbee([0x6f,0x66,0x66])]());});}))];return window[_0x4cbbee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cbbee([0x72,0x61,0x63,0x65])](_0x58360b)[_0x4cbbee([0x74,0x68,0x65,0x6e])](()=>_0x4ea4e4);}async function _0x384bfe(){await _0x5682f7,_0x3f7bf8[_0x4cbbee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cbbee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d446b,_0x3f7bf8[_0x4cbbee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cbbee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d446b,_0x3f7bf8[_0x4cbbee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cbbee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d2692(_0x2d3c1d){const _0x56e23b=_0x3f441a();_0x3f7bf8[_0x56e23b]=_0x4cbbee([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d3c1d,_0x2d3c1d!=_0x4cbbee([0x56,0x61,0x6c,0x69,0x64])&&_0x384bfe();}function _0x3f441a(){const _0x3fb188=window[_0x4cbbee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cbbee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cbbee([0x6e,0x6f,0x77])]())[_0x4cbbee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cbbee([0x2e]),'');let _0x1ee4e8=_0x4cbbee([0x62]);for(let _0x3f8b25=0x0;_0x3f8b25<_0x3fb188[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f8b25+=0x2){let _0x46bf8d=window[_0x4cbbee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fb188[_0x4cbbee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f8b25,_0x3f8b25+0x2));_0x46bf8d>=_0x57a7cb[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46bf8d-=_0x57a7cb[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ee4e8+=_0x57a7cb[_0x46bf8d];}return _0x1ee4e8;}function _0x1cfead(){const _0xe080f7=_0x43b179[_0x4cbbee([0x73,0x70,0x6c,0x69,0x74])](_0x4cbbee([0x2e]));if(0x3!=_0xe080f7[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x578bd4(_0xe080f7[0x1]);function _0x578bd4(_0x56f757){const _0x299fef=_0x167391(_0x56f757);return _0x299fef&&_0x81861f()?_0x299fef:null;function _0x81861f(){const _0x1a1f7e=_0x299fef[_0x4cbbee([0x6a,0x74,0x69])],_0x3843f5=window[_0x4cbbee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1f7e[_0x4cbbee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a1f7e[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a9b52={..._0x299fef,[_0x4cbbee([0x6a,0x74,0x69])]:_0x1a1f7e[_0x4cbbee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a1f7e[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a9b52[_0x4cbbee([0x76,0x63])],_0x321660(_0x3a9b52)==_0x3843f5;}}}async function _0x31829f(){let _0x4d5dfd=!0x0;try{const _0x3bb3a2=_0x43b179[_0x4cbbee([0x73,0x70,0x6c,0x69,0x74])](_0x4cbbee([0x2e])),[_0x33d130,_0x48a67c,_0x5d4994]=_0x3bb3a2;return _0x103886(_0x33d130),await _0x5179ce(_0x33d130,_0x48a67c,_0x5d4994),_0x4d5dfd;}catch{return!0x1;}function _0x103886(_0x441d2d){const _0xf9471b=_0x167391(_0x441d2d);_0xf9471b&&_0xf9471b[_0x4cbbee([0x61,0x6c,0x67])]==_0x4cbbee([0x45,0x53,0x32,0x35,0x36])||(_0x4d5dfd=!0x1);}async function _0x5179ce(_0xa3c9e5,_0x20b1e4,_0x578437){const _0x345f63=window[_0x4cbbee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cbbee([0x66,0x72,0x6f,0x6d])](_0x53c4a6(_0x578437),_0x5ba312=>_0x5ba312[_0x4cbbee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2da304=new window[(_0x4cbbee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cbbee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa3c9e5+_0x4cbbee([0x2e])+_0x20b1e4),_0x484110=window[_0x4cbbee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cbbee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x484110)return;const _0x4e966a=await _0x484110[_0x4cbbee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cbbee([0x6a,0x77,0x6b]),_0x5d519b,{[_0x4cbbee([0x6e,0x61,0x6d,0x65])]:_0x4cbbee([0x45,0x43,0x44,0x53,0x41]),[_0x4cbbee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cbbee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cbbee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x484110[_0x4cbbee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cbbee([0x6e,0x61,0x6d,0x65])]:_0x4cbbee([0x45,0x43,0x44,0x53,0x41]),[_0x4cbbee([0x68,0x61,0x73,0x68])]:{[_0x4cbbee([0x6e,0x61,0x6d,0x65])]:_0x4cbbee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e966a,_0x345f63,_0x2da304)||(_0x4d5dfd=!0x1);}}function _0x167391(_0x3ccca7){return _0x3ccca7[_0x4cbbee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cbbee([0x65,0x79]))?JSON[_0x4cbbee([0x70,0x61,0x72,0x73,0x65])](_0x53c4a6(_0x3ccca7)):null;}function _0x53c4a6(_0x498a6f){return window[_0x4cbbee([0x61,0x74,0x6f,0x62])](_0x498a6f[_0x4cbbee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cbbee([0x2b]))[_0x4cbbee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cbbee([0x2f])));}function _0x321660(_0x3a9895){let _0x2b5a96=0x1505;function _0x51d154(_0x18c753){for(let _0x1cc697=0x0;_0x1cc697<_0x18c753[_0x4cbbee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cc697++){const _0x4c2a55=_0x18c753[_0x4cbbee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cc697);_0x2b5a96=(_0x2b5a96<<0x5)+_0x2b5a96+_0x4c2a55,_0x2b5a96&=_0x2b5a96;}}function _0x15187a(_0x45c1d0){Array[_0x4cbbee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45c1d0)?_0x45c1d0[_0x4cbbee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15187a):_0x45c1d0&&typeof _0x45c1d0==_0x4cbbee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cbbee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45c1d0)[_0x4cbbee([0x73,0x6f,0x72,0x74])]()[_0x4cbbee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc3b4c3,_0x5cc7d6])=>{_0x51d154(_0xc3b4c3),_0x15187a(_0x5cc7d6);}):_0x51d154(window[_0x4cbbee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45c1d0));}return _0x15187a(_0x3a9895),_0x2b5a96>>>0x0;}function _0x568eb0(_0x306509){return _0x306509[_0x4cbbee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cbbee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cbbee([0x30]));}function _0x35e6d1(_0x17e3e7){return _0x17e3e7[_0x4cbbee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cbbee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cbbee([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d446b(){}function _0x4cbbee(_0x483d02){const _0x5510c4=_0x4552;return _0x483d02[_0x5510c4(0x158)](_0x22538d=>String[_0x5510c4(0x197)](_0x22538d))[_0x5510c4(0x172)]('');}_0x3d2692(await _0x5e5cfe());}(this);}[_0x3cd7c5(0x18c)](){const _0x4291bc=_0x3cd7c5;super[_0x4291bc(0x18c)](),this[_0x4291bc(0x156)]&&(this[_0x4291bc(0x160)][_0x4291bc(0x100)](),this[_0x4291bc(0x156)][_0x4291bc(0x18c)](),this[_0x4291bc(0x156)][_0x4291bc(0x15f)][_0x4291bc(0x138)]());}[_0x3cd7c5(0x171)](){const _0x1253e3=_0x3cd7c5,_0xdaec1c=this[_0x1253e3(0x124)],_0x2a2fbd=_0xdaec1c[_0x1253e3(0x170)][_0x1253e3(0x13d)],_0x5dd565=this[_0x1253e3(0x144)]();if(!_0x5dd565||0x0===_0x5dd565[_0x1253e3(0x141)])return void _0xdaec1c['ui'][_0x1253e3(0x192)](_0x1253e3(0xff),()=>this[_0x1253e3(0x171)]());const {pageWidth:_0x2f6fc0,pageHeight:_0x35e15d}=_0xdaec1c[_0x1253e3(0x154)][_0x1253e3(0x1ab)](_0x1253e3(0x193)),{top:_0x400131,left:_0x220cfc,bottom:_0x466d1,right:_0x218c3d}=this[_0x1253e3(0x10f)];this[_0x1253e3(0x156)]=new _0x18144d(_0xdaec1c[_0x1253e3(0x129)]);const _0x352a07=this[_0x1253e3(0x156)];_0x352a07[_0x1253e3(0x19d)](_0x1253e3(0x1b2),''),_0x352a07[_0x1253e3(0x133)]({'tag':_0x1253e3(0x18e),'attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x2f6fc0,'width':_0x2f6fc0,'height':_0x1253e3(0x14e)+_0x35e15d+_0x1253e3(0x175)+_0x400131+_0x1253e3(0x175)+_0x466d1+'\x20)','minWidth':_0x1253e3(0x198),'minHeight':_0x1253e3(0x198),'padding':'0\x20'+_0x218c3d+_0x1253e3(0x1b5)+_0x220cfc,'columnGap':_0x1253e3(0x120),'border':0x0,'boxSizing':_0x1253e3(0x12b),'columnCount':_0x1253e3(0x198),'columnFill':_0x1253e3(0x198),'overflow':_0x1253e3(0x18b),'position':_0x1253e3(0x1a7),'top':_0x1253e3(0x140),'left':_0x1253e3(0x140)},'tabindex':'-1','class':_0x352a07[_0x1253e3(0x11e)]['to'](_0x1253e3(0x1b2))}}),_0x352a07[_0x1253e3(0x199)](),_0x5dd565[_0x1253e3(0x101)][_0x1253e3(0x1aa)](_0x352a07[_0x1253e3(0x15f)],_0x5dd565[_0x1253e3(0x11f)]),this[_0x1253e3(0x166)](_0x2a2fbd,_0x1253e3(0x199),()=>this[_0x1253e3(0x160)](),{'priority':_0x1253e3(0x110)}),this[_0x1253e3(0x160)]();}[_0x3cd7c5(0x144)](){const _0x4b2acd=_0x3cd7c5;for(const _0x35b8c1 of this[_0x4b2acd(0x124)][_0x4b2acd(0x170)][_0x4b2acd(0x13d)][_0x4b2acd(0x125)][_0x4b2acd(0x1b0)]())if(_0x35b8c1[_0x4b2acd(0xfc)][_0x4b2acd(0x11c)][_0x4b2acd(0x17e)](_0x35b8c1))return _0x35b8c1;return null;}[_0x3cd7c5(0x128)](){const _0x1b68d2=_0x3cd7c5;if(!this[_0x1b68d2(0x182)])return Promise[_0x1b68d2(0x169)]();const _0x22a19d=this[_0x1b68d2(0x124)][_0x1b68d2(0x170)][_0x1b68d2(0x13d)],_0x238732=this[_0x1b68d2(0x156)],_0x102608=this[_0x1b68d2(0x144)]();if(!_0x102608)return Promise[_0x1b68d2(0x169)]();for(_0x238732[_0x1b68d2(0x1b2)]=[_0x1b68d2(0x104),_0x1b68d2(0x183),..._0x102608[_0x1b68d2(0x123)]][_0x1b68d2(0x172)]('\x20');_0x238732[_0x1b68d2(0x15f)][_0x1b68d2(0x117)];)_0x238732[_0x1b68d2(0x15f)][_0x1b68d2(0x117)][_0x1b68d2(0x138)]();const _0x3ac87d=Array[_0x1b68d2(0x149)](_0x22a19d[_0x1b68d2(0x125)]);_0x3ac87d[_0x1b68d2(0x159)](([,_0x16a9b7],[,_0x39d449])=>_0x16a9b7[_0x1b68d2(0x1a2)](_0x39d449)==Node[_0x1b68d2(0x195)]?0x1:-0x1);for(const [_0xa930,_0x5005c9]of _0x3ac87d){const _0x4e512e=_0x5005c9[_0x1b68d2(0x178)](!0x0);_0x1b68d2(0x196)in _0x4e512e&&_0x4e512e[_0x1b68d2(0x196)][_0x1b68d2(0xf8)](),_0x4e512e[_0x1b68d2(0x145)]='',_0x4e512e[_0x1b68d2(0x185)]('id'),_0x4e512e[_0x1b68d2(0x1a1)][_0x1b68d2(0x13a)]=_0xa930,_0x238732[_0x1b68d2(0x15f)][_0x1b68d2(0x17d)](_0x4e512e);}return function(_0x4fbbd9){const _0x5506c6=_0x1b68d2;return Promise[_0x5506c6(0x189)](_0x4fbbd9[_0x5506c6(0x158)](_0x263285=>Promise[_0x5506c6(0x18f)]([m(_0x263285),p(0x3e8)])));}(Array[_0x1b68d2(0x149)](_0x238732[_0x1b68d2(0x15f)][_0x1b68d2(0x15b)](_0x1b68d2(0x139))))[_0x1b68d2(0x151)](()=>this[_0x1b68d2(0x19b)]());}[_0x3cd7c5(0x19b)](){const _0xf4630e=_0x3cd7c5,_0xae5dd8=this[_0xf4630e(0x156)][_0xf4630e(0x15f)];if(!_0xae5dd8[_0xf4630e(0xfc)][_0xf4630e(0x11c)][_0xf4630e(0x17e)](_0xae5dd8))return;const _0x431428=new _0x4af675(_0xae5dd8)[_0xf4630e(0x179)](),_0x2a1d92=_0x1e53b7[_0xf4630e(0x10c)][_0xf4630e(0x18a)](_0xae5dd8),_0x4ad409=parseFloat(_0x2a1d92[_0xf4630e(0x142)])+parseFloat(_0x2a1d92[_0xf4630e(0x19c)]),_0x1fa936=Math[_0xf4630e(0x162)](_0x431428[_0xf4630e(0xf9)]+0x64-_0x4ad409),_0x3a8db2=b(_0xae5dd8,Math[_0xf4630e(0x162)](_0x431428[_0xf4630e(0xfe)]-_0xae5dd8[_0xf4630e(0x11b)]),_0x1fa936,_0x431428[_0xf4630e(0x1af)])[_0xf4630e(0x158)](_0x40ab2d=>this[_0xf4630e(0x150)](_0x40ab2d));_0x3a8db2[_0xf4630e(0x1a5)](_0x40dff5=>!!_0x40dff5)&&(this[_0xf4630e(0x14a)]=_0x3a8db2);}[_0x3cd7c5(0x150)](_0xb80f30){const _0xf5eadb=_0x3cd7c5,_0x3f1e1b=this[_0xf5eadb(0x124)][_0xf5eadb(0x170)][_0xf5eadb(0x13d)],_0x56445e=this[_0xf5eadb(0x124)][_0xf5eadb(0x170)][_0xf5eadb(0x1a3)],_0x6bc73a=_0x3f1e1b[_0xf5eadb(0x131)],_0x180a23=_0xb80f30[_0xf5eadb(0x194)][_0xf5eadb(0x15e)](),_0x3a364b=this[_0xf5eadb(0x156)][_0xf5eadb(0x15f)][_0xf5eadb(0x116)][_0x180a23][_0xf5eadb(0x1a1)][_0xf5eadb(0x13a)],_0x230ec4=_0x3f1e1b[_0xf5eadb(0x137)](_0x3a364b);if(!_0x230ec4)return null;const _0x351170=function(_0x89d250,_0xbe6199){const _0x25f995=_0xf5eadb;let _0x315df0=_0x89d250;for(const _0x52da8c of _0xbe6199[_0x25f995(0x194)]){if(!_0x315df0)return null;_0x315df0=_0x315df0[_0x25f995(0x116)][_0x52da8c];}return _0x315df0;}(_0x230ec4,_0xb80f30);if(!_0x351170)return null;const _0x3e5086=_0x6bc73a[_0xf5eadb(0xfd)](_0x351170,_0xb80f30[_0xf5eadb(0x16b)]||0x0);return _0x3e5086?_0xf5eadb(0x130)==_0xb80f30[_0xf5eadb(0xfb)]?this[_0xf5eadb(0x16e)](_0x3e5086,_0x351170):_0xf5eadb(0x1ac)==_0xb80f30[_0xf5eadb(0xfb)]&&_0x56445e[_0xf5eadb(0x12d)](_0x3e5086)[_0xf5eadb(0x11d)]?this[_0xf5eadb(0x111)](_0x3e5086,_0x351170,_0xb80f30[_0xf5eadb(0x16b)]):this[_0xf5eadb(0x113)](_0x3e5086,_0x351170,_0xb80f30[_0xf5eadb(0x11d)]):null;}[_0x3cd7c5(0x16e)](_0x51421c,_0x196257){const _0x5c6c21=_0x3cd7c5,_0x2b1d09=this[_0x5c6c21(0x124)][_0x5c6c21(0x167)],_0x4167d6=this[_0x5c6c21(0x124)][_0x5c6c21(0x170)][_0x5c6c21(0x1a3)][_0x5c6c21(0x112)](_0x51421c[_0x5c6c21(0x161)]),_0x16b7cf=_0x2b1d09[_0x5c6c21(0x14b)](_0x4167d6);return new PageBreakInfo({'type':_0x5c6c21(0x130),'modelRange':_0x16b7cf,'domNode':_0x196257,'offset':0x0});}[_0x3cd7c5(0x111)](_0x322abf,_0x1088fe,_0x1cb5f7){const _0x30cd64=_0x3cd7c5,_0x300eae=this[_0x30cd64(0x124)][_0x30cd64(0x167)],_0x57bfa1=this[_0x30cd64(0x124)][_0x30cd64(0x170)][_0x30cd64(0x1a3)],_0x454ad5=this[_0x30cd64(0x124)][_0x30cd64(0x170)][_0x30cd64(0x13d)][_0x30cd64(0x131)];if(_0x1cb5f7>=_0x1088fe[_0x30cd64(0x13b)])return null;const _0x30eb17=_0x57bfa1[_0x30cd64(0x12d)](_0x322abf),_0x2bc81a=_0x300eae[_0x30cd64(0x16d)](_0x30eb17),_0x1da341=_0x57bfa1[_0x30cd64(0x147)](_0x322abf),_0x287c93=_0x454ad5[_0x30cd64(0x122)](_0x1da341);return new PageBreakInfo({'type':_0x30cd64(0x1ac),'modelRange':_0x2bc81a,'domNode':_0x1088fe,'offset':w(_0x1088fe,_0x1cb5f7,_0x287c93)});}[_0x3cd7c5(0x113)](_0xe4552d,_0x1e0e6c,_0x2ed2d8){const _0x53b367=_0x3cd7c5,_0x4b707b=this[_0x53b367(0x124)][_0x53b367(0x167)],_0x59b32b=this[_0x53b367(0x124)][_0x53b367(0x170)],_0x2fefb9=_0x59b32b[_0x53b367(0x1a3)],_0x58d653=_0x59b32b[_0x53b367(0x13d)][_0x53b367(0x131)],_0x36a3ba=_0x2fefb9[_0x53b367(0x147)](_0xe4552d),_0x330377=_0x2fefb9[_0x53b367(0x112)](_0x36a3ba),_0x9abc8c=function(_0x1e8bbc){const _0x263731=_0x53b367,_0x1c6664=_0x1e8bbc[_0x263731(0x161)],_0x442394=_0x1c6664[_0x263731(0xfa)][_0x263731(0x11a)][_0x263731(0x167)],_0x5c81ce=_0x1c6664[_0x263731(0x191)]({'parentFirst':!0x0,'includeSelf':!0x0});let _0x25feef=null;for(const _0x149b05 of _0x5c81ce){if(_0x149b05['is'](_0x263731(0x12f)))return _0x25feef;if(!_0x442394[_0x263731(0x114)](_0x149b05)[_0x263731(0x1ad)](_0x1e8bbc))return _0x25feef;_0x25feef=_0x149b05;}}(_0x4b707b[_0x53b367(0x114)](_0x330377)),_0x3e64ad=_0x9abc8c||_0x330377;let _0x504361=_0x2fefb9[_0x53b367(0x174)](_0x3e64ad),_0x341ed0=_0x4b707b[_0x53b367(0x14b)](_0x3e64ad);const _0x1815c1=_0x4b707b[_0x53b367(0x114)](_0x3e64ad)[_0x53b367(0x177)];if(_0x1815c1&&_0x1815c1['is'](_0x53b367(0x15f),_0x53b367(0x187))){const _0x4ce780=_0x2fefb9[_0x53b367(0x174)](_0x1815c1),_0x385672=_0x58d653[_0x53b367(0x122)](_0x4ce780),_0x565954=_0x1e53b7[_0x53b367(0x10c)][_0x53b367(0x18a)](_0x385672)[_0x53b367(0x184)];_0x53b367(0xfe)!=_0x565954&&_0x53b367(0x108)!=_0x565954||(_0x341ed0=_0x4b707b[_0x53b367(0x14b)](_0x1815c1));}for(;_0x504361[_0x53b367(0x161)]!==_0x504361[_0x53b367(0xfa)]&&0x0===_0x504361[_0x53b367(0x14d)];)_0x504361=_0x504361[_0x53b367(0x161)];const _0x487a19=new _0x4af675(N(_0x1e0e6c)?_0x1e0e6c:y(_0x1e0e6c)),_0xd15956=_0x2ed2d8?_0x487a19[_0x53b367(0x1af)]-_0x2ed2d8:0x0,_0x48d9d9=_0x58d653[_0x53b367(0x122)](_0x504361),_0xb2947d=new _0x4af675(_0x48d9d9);return new PageBreakInfo({'type':_0x53b367(0x15f),'modelRange':_0x341ed0,'domNode':_0x48d9d9,'offset':Math[_0x53b367(0x1b3)](_0xd15956)?_0xd15956+_0x487a19[_0x53b367(0x14f)]-_0xb2947d[_0x53b367(0x14f)]:0x0});}get[_0x3cd7c5(0x10f)](){const _0x16b40e=_0x3cd7c5,_0x32f19f=this[_0x16b40e(0x124)][_0x16b40e(0x154)][_0x16b40e(0x1ab)](_0x16b40e(0x143));return Object[_0x16b40e(0x10d)]({'top':_0x16b40e(0x13e),'bottom':_0x16b40e(0x13e),'left':_0x16b40e(0x13e),'right':_0x16b40e(0x13e)},_0x32f19f);}static[_0x3cd7c5(0x1b1)](_0x4e802c,_0x20c96a,_0x3c33ba,_0x572746,_0x3b3358){return b(_0x4e802c,_0x20c96a,_0x3c33ba,_0x572746,_0x3b3358);}}export class PageBreakInfo{[_0x3cd7c5(0xfb)];[_0x3cd7c5(0x105)];[_0x3cd7c5(0x126)];[_0x3cd7c5(0x181)];constructor({type:_0x1b2e89,modelRange:_0x5ab3c8,domNode:_0x4ebaf1,offset:_0x5de7bd}){const _0x3161bd=_0x3cd7c5;this[_0x3161bd(0xfb)]=_0x1b2e89,this[_0x3161bd(0x105)]=_0x5ab3c8,this[_0x3161bd(0x126)]=_0x4ebaf1,this[_0x3161bd(0x181)]=_0x5de7bd;}get[_0x3cd7c5(0x11d)](){const _0x503e1a=_0x3cd7c5;if(!this[_0x503e1a(0x126)][_0x503e1a(0xfc)][_0x503e1a(0x11c)][_0x503e1a(0x17e)](this[_0x503e1a(0x126)]))return 0x0;const _0x27765e=new _0x4af675(N(this[_0x503e1a(0x126)])?this[_0x503e1a(0x126)]:y(this[_0x503e1a(0x126)]));return _0x503e1a(0x130)==this[_0x503e1a(0xfb)]?_0x27765e[_0x503e1a(0x14f)]+_0x27765e[_0x503e1a(0x1af)]/0x2:_0x27765e[_0x503e1a(0x14f)]+this[_0x503e1a(0x181)];}}function _0x21e2(){const _0x340644=['_getAttachedDomRoot','className','indexOf','findMappedViewAncestor','table-row','from','pageBreaks','createRangeOn','display','index','calc(\x20','top','_mapPageStarterInfoToPageBreakInfo','then','previousElementSibling','12944008BESHvn','config','push','_pagesContainer','href','map','sort','parentElement','querySelectorAll','14ITxPHY','bottom','shift','element','_recalculatePageBreaksDebounced','parent','floor','3865836wFClCC','PaginationLookup','startContainer','listenTo','model','entries','resolve','bind','textOffset','figure.image','createRange','_mapManualPageStarterInfoToPageBreakInfo','2893155NArCRs','editing','_onUiReady','join','selectNode','toViewElement','\x20-\x20','isOfficialPlugin','nodeBefore','cloneNode','excludeScrollbarsAndBorders','ceil','plugins','PaginationEditing','append','contains','init','213251HZvEEZ','_offset','isEnabled','ck-pagination-view','float','removeAttribute','none','imageBlock','getClientRects','all','getComputedStyle','hidden','destroy','isPremiumPlugin','div','race','ELEMENT_NODE','getAncestors','once','pagination','path','DOCUMENT_POSITION_PRECEDING','attributeStyleMap','fromCharCode','auto','render','endOffset','_updatePageBreaksData','paddingRight','set','change:isEnabled','ready','page-break','dataset','compareDocumentPosition','mapper','pagination-config-not-found','every','offsetParent','absolute','removeEventListener','load','insertBefore','get','text','isTouching','5893160VOaWxu','height','values','_findPageStarterInfos','class','round','15JJvFAE','\x200\x20','previousSibling','position','pluginName','clear','width','root','type','ownerDocument','domPositionToView','left','update','cancel','parentNode','2665792RBAAky','TEXT_NODE','ck-reset','modelRange','style','addEventListener','right','table-cell','9iMiBFR','nodeType','window','assign','hasAttribute','_configuredPaddings','low','_mapTextPageStarterInfoToPageBreakInfo','toModelElement','_mapElementPageStarterInfoToPageBreakInfo','createPositionBefore','2lbbssa','childNodes','firstChild','startOffset','closest','document','scrollLeft','body','offset','bindTemplate','nextSibling','100px','error','mapViewToDom','classList','editor','domRoots','_domNode','endContainer','_recalculatePageBreaks','locale','260396uaxrrR','border-box','.page-break','toModelPosition','ck-fake-selection-container','rootElement','manual','domConverter','complete','setTemplate','setEnd','setStart','selectNodeContents','getDomRoot','remove','img','rootName','length','afterInit','view','10mm','nextElementSibling','-99999px','childElementCount','paddingLeft','pagination.pageMargins'];_0x21e2=function(){return _0x340644;};return _0x21e2();}function w(_0x386e04,_0x4bf29c,_0x50a46d){const _0x2aa819=_0x3cd7c5,_0x1eb9b1=y(_0x386e04),_0x3815ff=function(_0x3841dd){const _0x24c2da=_0x4552,_0x5288e7=_0x1e53b7[_0x24c2da(0x11a)][_0x24c2da(0x16d)]();return _0x5288e7[_0x24c2da(0x136)](_0x3841dd),_0x5288e7;}(_0x50a46d);let _0xce5190;_0xce5190=0x0==_0x4bf29c?k(_0x3815ff[_0x2aa819(0x165)],_0x3815ff[_0x2aa819(0x118)],_0x386e04[_0x2aa819(0x101)],Array[_0x2aa819(0x149)](_0x386e04[_0x2aa819(0x101)][_0x2aa819(0x116)])[_0x2aa819(0x146)](_0x386e04)):k(_0x3815ff[_0x2aa819(0x165)],_0x3815ff[_0x2aa819(0x118)],_0x386e04,_0x4bf29c);const _0x37a2e6=k(_0x386e04,_0x4bf29c,_0x3815ff[_0x2aa819(0x127)],_0x3815ff[_0x2aa819(0x19a)]),_0xa50647=new _0x4af675(_0xce5190)[_0x2aa819(0x15d)];return(new _0x4af675(_0x37a2e6)[_0x2aa819(0x14f)]+_0xa50647)/0x2-new _0x4af675(_0x1eb9b1)[_0x2aa819(0x14f)];}function m(_0x3334c3){const _0x29a076=_0x3cd7c5;return _0x3334c3[_0x29a076(0x10e)](_0x29a076(0xf9))&&_0x3334c3[_0x29a076(0x10e)](_0x29a076(0x1af))?Promise[_0x29a076(0x169)]():new Promise(_0x574295=>{const _0x367dce=_0x29a076;function _0x545c94(){const _0x4624f7=_0x4552;_0x3334c3[_0x4624f7(0x1a8)](_0x4624f7(0x1a9),_0x545c94),_0x3334c3[_0x4624f7(0x1a8)](_0x4624f7(0x121),_0x545c94),_0x574295();}_0x3334c3[_0x367dce(0x132)]?_0x574295():(_0x3334c3[_0x367dce(0x107)](_0x367dce(0x1a9),_0x545c94),_0x3334c3[_0x367dce(0x107)](_0x367dce(0x121),_0x545c94));});}function p(_0xdabb51){return new Promise(_0x1b3fa3=>setTimeout(_0x1b3fa3,_0xdabb51));}function y(_0x37e01c){const _0x4fb718=_0x3cd7c5,_0xca33c2=_0x1e53b7[_0x4fb718(0x11a)][_0x4fb718(0x16d)]();return _0xca33c2[_0x4fb718(0x173)](_0x37e01c),_0xca33c2;}function P(_0x1fb813,_0x40515f,_0x432801){const _0x44302a=_0x3cd7c5,_0x53332c=_0x1e53b7[_0x44302a(0x11a)][_0x44302a(0x16d)]();return _0x53332c[_0x44302a(0x135)](_0x1fb813,_0x40515f),_0x53332c[_0x44302a(0x134)](_0x1fb813,_0x432801),_0x53332c;}function k(_0x3c3c0b,_0x565c8e,_0x30cb19,_0x58c065){const _0x527a91=_0x3cd7c5,_0x2468ea=_0x1e53b7[_0x527a91(0x11a)][_0x527a91(0x16d)]();return _0x2468ea[_0x527a91(0x135)](_0x3c3c0b,_0x565c8e),_0x2468ea[_0x527a91(0x134)](_0x30cb19,_0x58c065),_0x2468ea;}function b(_0x2871f9,_0x235612,_0x2d53b0,_0x285d73,_0x13a2f9){const _0x54bf33=_0x3cd7c5,_0x11340a=[];for(const [_0x4c685c,_0x468855]of _0x2871f9[_0x54bf33(0x116)][_0x54bf33(0x168)]()){let _0x2bf82a=[];N(_0x468855)&&_0x468855[_0x54bf33(0x1a6)]&&!_0x468855[_0x54bf33(0x106)][_0x54bf33(0x1b7)]?_0x2bf82a=x(_0x468855,_0x4c685c,_0x235612,_0x2d53b0,_0x285d73,_0x13a2f9):S(_0x468855)&&(_0x2bf82a=_(_0x468855,_0x4c685c,_0x235612,_0x2d53b0,_0x13a2f9)),_0x2bf82a[_0x54bf33(0x13b)]&&(_0x11340a[_0x54bf33(0x155)](..._0x2bf82a),_0x235612+=_0x2bf82a[_0x54bf33(0x13b)]*_0x2d53b0,_0x13a2f9=!0x1);}return _0x11340a;}function x(_0x2dfcaa,_0xcf1bf5,_0x2d4d3b,_0x109d70,_0x32ab87,_0x55eec9){const _0x2d71a4=_0x3cd7c5,_0x5b3f23=[];var _0x383b4b;if((_0x383b4b=_0x2dfcaa[_0x2d71a4(0x1b6)])&&N(_0x383b4b)&&Boolean(_0x383b4b[_0x2d71a4(0x123)][_0x2d71a4(0x17e)](_0x2d71a4(0x1a0))||_0x383b4b[_0x2d71a4(0x119)](_0x2d71a4(0x12c)))&&(_0x5b3f23[_0x2d71a4(0x155)]({'type':_0x2d71a4(0x130),'offset':0x0,'path':[_0xcf1bf5-0x1]}),_0x55eec9=!0x0),_0x2d71a4(0x148)==_0x1e53b7[_0x2d71a4(0x10c)][_0x2d71a4(0x18a)](_0x2dfcaa)[_0x2d71a4(0x14c)]){let _0x2619d8=0x0,_0xfd7af0=!0x1;for(const _0xa40b35 of _0x2dfcaa[_0x2d71a4(0x188)]())_0x2619d8+=_0xa40b35[_0x2d71a4(0x1af)],_0xa40b35[_0x2d71a4(0xfe)]>=_0x2d4d3b&&(_0xfd7af0=!0x0);if(_0x2619d8<_0x32ab87&&_0xfd7af0)return _0x5b3f23[_0x2d71a4(0x155)]({'type':_0x2d71a4(0x15f),'offset':0x0,'path':[_0xcf1bf5]}),_0x5b3f23;}const _0x22dbd2=_0x2dfcaa[_0x2d71a4(0x119)](_0x2d71a4(0x16c));if(_0x22dbd2&&function(_0x14e05b){const _0x1996d3=_0x2d71a4;let _0x44d3f3=!0x1;const _0x51c672=_0x14e05b[_0x1996d3(0x15a)],_0x3bf903=_0x51c672[_0x1996d3(0x1a1)][_0x1996d3(0x13a)],_0x8034b5=_0x14e05b[_0x1996d3(0x13f)],_0x2bd98b=_0x14e05b[_0x1996d3(0x152)],_0x181baf=_0x8034b5&&_0x1e53b7[_0x1996d3(0x10c)][_0x1996d3(0x18a)](_0x8034b5)[_0x1996d3(0x184)],_0x4ed523=_0x8034b5&&_0x1996d3(0x12e)===_0x8034b5[_0x1996d3(0x145)];!_0x3bf903||_0x8034b5||_0x2bd98b||(_0x44d3f3=!0x0),_0x3bf903&&!_0x2bd98b&&_0x4ed523&&(_0x44d3f3=!0x0),_0x3bf903&&!_0x2bd98b&&_0x1996d3(0x186)!==_0x181baf&&(_0x44d3f3=!0x0);if(_0x44d3f3)return!0x1;return!0x0;}(_0x22dbd2)){const _0x2fed30=_0x1e53b7[_0x2d71a4(0x10c)][_0x2d71a4(0x18a)](_0x22dbd2)[_0x2d71a4(0x184)];if(_0x2d71a4(0xfe)==_0x2fed30||_0x2d71a4(0x108)==_0x2fed30)return _0x5b3f23;}const _0x304054=b(_0x2dfcaa,_0x2d4d3b,_0x109d70,_0x32ab87,_0x55eec9);if(_0x304054[_0x2d71a4(0x13b)]){for(const _0x29101c of _0x304054)_0x5b3f23[_0x2d71a4(0x155)]({'type':_0x29101c[_0x2d71a4(0xfb)],'offset':_0x29101c[_0x2d71a4(0x11d)],'textOffset':_0x29101c[_0x2d71a4(0x16b)],'path':[_0xcf1bf5,..._0x29101c[_0x2d71a4(0x194)]]}),_0x2d4d3b+=_0x109d70,_0x55eec9=!0x1;return _0x5b3f23;}return _0x5b3f23[_0x2d71a4(0x155)](...function(_0x1277fc,_0x34f23b,_0x319064,_0x4a612b,_0x533206){const _0x3b72ad=_0x2d71a4,_0x578740=[];if(_0x3b72ad(0x109)==_0x1e53b7[_0x3b72ad(0x10c)][_0x3b72ad(0x18a)](_0x1277fc)[_0x3b72ad(0x14c)])return[];const _0x371ed5=[];for(const _0x2bbe0a of _0x1277fc[_0x3b72ad(0x188)]())if(_0x2bbe0a[_0x3b72ad(0xfe)]>=_0x319064){for(const _0x4c4d6a of _0x371ed5)_0x4c4d6a[_0x3b72ad(0x1af)]+=_0x2bbe0a[_0x3b72ad(0x1af)];_0x371ed5[_0x3b72ad(0x155)]({'height':_0x2bbe0a[_0x3b72ad(0x1af)]}),_0x319064+=_0x4a612b;}for(const _0x33fd3d of _0x371ed5)_0x533206||_0x578740[_0x3b72ad(0x155)]({'type':_0x3b72ad(0x15f),'offset':_0x33fd3d[_0x3b72ad(0x1af)],'textOffset':0x0,'path':[_0x34f23b]}),_0x533206=!0x1;return _0x578740;}(_0x2dfcaa,_0xcf1bf5,_0x2d4d3b,_0x109d70,_0x55eec9)),_0x5b3f23;}function _(_0x504e41,_0x288564,_0x574a13,_0x124aca,_0x2cb4f2){const _0x3a847e=_0x3cd7c5,_0x489b4d=y(_0x504e41),_0x41cdb2=[];let _0x3f7912=0x0;for(const _0x595f45 of _0x489b4d[_0x3a847e(0x188)]())if(_0x595f45[_0x3a847e(0xfe)]>=_0x574a13){const _0x4b2404=B(_0x504e41,_0x3f7912,_0x574a13,_0x124aca);_0x2cb4f2||_0x41cdb2[_0x3a847e(0x155)]({'type':_0x3a847e(0x1ac),'path':[_0x288564],'textOffset':_0x4b2404}),_0x3f7912=_0x4b2404,_0x574a13+=_0x124aca,_0x2cb4f2=!0x1;}return _0x41cdb2;}function B(_0xbdba6f,_0x13d92b,_0x2f85cb,_0x5459b0){const _0x3ad436=_0x3cd7c5;let _0x3add8c=_0x13d92b,_0xe5ce97=_0xbdba6f[_0x3ad436(0x13b)];for(;_0xe5ce97-_0x3add8c>0x1;){const _0x44f355=Math[_0x3ad436(0x17a)]((_0x3add8c+_0xe5ce97)/0x2);I(P(_0xbdba6f,_0x3add8c,_0x44f355),_0x2f85cb,_0x5459b0)?_0xe5ce97=_0x44f355:_0x3add8c=_0x44f355;}return _0x3add8c;}function I(_0xdbe39c,_0x26777f,_0x39ae99){const _0x47dbb4=_0x3cd7c5;for(const _0x15b69a of _0xdbe39c[_0x47dbb4(0x188)]())if(_0x15b69a[_0x47dbb4(0xfe)]>=_0x26777f&&_0x15b69a[_0x47dbb4(0xfe)]<_0x26777f+_0x39ae99)return!0x0;return!0x1;}function N(_0x2ddd45){const _0x5eba0b=_0x3cd7c5;return _0x2ddd45[_0x5eba0b(0x10b)]==Node[_0x5eba0b(0x190)];}function S(_0xb20a34){const _0x51f34d=_0x3cd7c5;return _0xb20a34[_0x51f34d(0x10b)]==Node[_0x51f34d(0x103)];}
|
|
23
|
+
const _0x4a5e65=_0x1b56;(function(_0x1bda36,_0x13f787){const _0x8b2e0b=_0x1b56,_0x43c9c6=_0x1bda36();while(!![]){try{const _0x10eb42=-parseInt(_0x8b2e0b(0x27b))/0x1*(parseInt(_0x8b2e0b(0x2a1))/0x2)+parseInt(_0x8b2e0b(0x238))/0x3+parseInt(_0x8b2e0b(0x29c))/0x4*(-parseInt(_0x8b2e0b(0x22d))/0x5)+parseInt(_0x8b2e0b(0x1f9))/0x6+parseInt(_0x8b2e0b(0x286))/0x7+parseInt(_0x8b2e0b(0x212))/0x8+parseInt(_0x8b2e0b(0x206))/0x9*(parseInt(_0x8b2e0b(0x231))/0xa);if(_0x10eb42===_0x13f787)break;else _0x43c9c6['push'](_0x43c9c6['shift']());}catch(_0x5bc7e5){_0x43c9c6['push'](_0x43c9c6['shift']());}}}(_0x2e1a,0xc10d3));import{Plugin as _0x43428a}from'ckeditor5/src/core.js';import{View as _0x3d9bf0}from'ckeditor5/src/ui.js';import{Rect as _0x4427ca,global as _0x203734,logWarning as _0x1562c2,uid as _0x3cdbce}from'ckeditor5/src/utils.js';import{debounce as _0x5c3219}from'es-toolkit/compat';export class PaginationLookup extends _0x43428a{[_0x4a5e65(0x1fb)]=_0x5c3219(()=>this[_0x4a5e65(0x1f3)](),0xc8);[_0x4a5e65(0x28e)]=null;static get[_0x4a5e65(0x1fc)](){const _0x20c321=_0x4a5e65;return _0x20c321(0x232);}static get[_0x4a5e65(0x246)](){return!0x0;}static get[_0x4a5e65(0x1ec)](){return!0x0;}[_0x4a5e65(0x24d)](){const _0x26b308=_0x4a5e65;if(this[_0x26b308(0x22a)]({'pageBreaks':[]}),!this[_0x26b308(0x28f)][_0x26b308(0x22f)][_0x26b308(0x262)](_0x26b308(0x211)))return void _0x1562c2(_0x26b308(0x218),this[_0x26b308(0x28f)][_0x26b308(0x22f)]);const _0x48f9dc=this[_0x26b308(0x28f)][_0x26b308(0x210)][_0x26b308(0x262)](_0x26b308(0x293));this[_0x26b308(0x258)](_0x26b308(0x257))['to'](_0x48f9dc),this[_0x26b308(0x28f)]['ui'][_0x26b308(0x207)](_0x26b308(0x272),()=>this[_0x26b308(0x250)]()),this['on'](_0x26b308(0x25b),(_0x2011d1,_0x2f9eb2,_0x5558f6)=>{const _0x4cad69=_0x26b308;_0x5558f6&&this[_0x4cad69(0x1fb)]();});}[_0x4a5e65(0x270)](){!async function(_0x108d5d){const _0x4f5082=_0x36a682([0x64,0x6a,0x42,0x72,0x4a,0x4c,0x65,0x50,0x33,0x44,0x6b,0x43,0x75,0x59,0x77,0x71,0x68,0x47,0x4d,0x78,0x49,0x41,0x7a,0x5a,0x36,0x54,0x53,0x45,0x6c,0x62,0x34,0x39,0x57,0x6e,0x31,0x4f,0x79,0x48,0x55,0x67,0x46,0x66,0x6f,0x69,0x73,0x70,0x37,0x56,0x61,0x35,0x30,0x76,0x38,0x74,0x52,0x6d,0x4b,0x4e,0x58,0x32,0x63,0x51]),_0x2db1a0=0x4ce272b3,_0x3f5aaa=0x4ce51fa3^_0x2db1a0,_0x5995f9=window[_0x36a682([0x44,0x61,0x74,0x65])][_0x36a682([0x6e,0x6f,0x77])](),_0x14f758=_0x108d5d[_0x36a682([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56ae60=new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x330f78=>{_0x14f758[_0x36a682([0x6f,0x6e,0x63,0x65])](_0x36a682([0x72,0x65,0x61,0x64,0x79]),_0x330f78);}),_0x80bbd7={[_0x36a682([0x6b,0x74,0x79])]:_0x36a682([0x45,0x43]),[_0x36a682([0x75,0x73,0x65])]:_0x36a682([0x73,0x69,0x67]),[_0x36a682([0x63,0x72,0x76])]:_0x36a682([0x50,0x2d,0x32,0x35,0x36]),[_0x36a682([0x78])]:_0x36a682([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]),[_0x36a682([0x79])]:_0x36a682([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]),[_0x36a682([0x61,0x6c,0x67])]:_0x36a682([0x45,0x53,0x32,0x35,0x36])},_0x3efd63=_0x14f758[_0x36a682([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36a682([0x67,0x65,0x74])](_0x36a682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d3ad9(){let _0x7d66ad,_0xbcdaf7=null,_0x38484a=null;try{if(_0x3efd63==_0x36a682([0x47,0x50,0x4c]))return _0x36a682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7d66ad=_0x14610f(),!_0x7d66ad)return _0x36a682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7d66ad[_0x36a682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38484a=_0x3cb318(_0x7d66ad[_0x36a682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7d66ad[_0x36a682([0x6a,0x74,0x69])])),await _0xacf99()?_0x5ef63c()?_0x5062a4()?_0x36a682([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e6285()?(_0x7d66ad[_0x36a682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36a682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbcdaf7=_0x33f2f3(_0x36a682([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7d66ad[_0x36a682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36a682([0x74,0x72,0x69,0x61,0x6c])&&(_0xbcdaf7=_0x33f2f3(_0x36a682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42f0da()):_0x36a682([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36a682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36a682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36a682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5062a4(){const _0x343bfd=[_0x36a682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36a682([0x74,0x72,0x69,0x61,0x6c])][_0x36a682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7d66ad[_0x36a682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5995f9/0x3e8:0xe10*_0x3f5aaa;return _0x7d66ad[_0x36a682([0x65,0x78,0x70])]<_0x343bfd;}function _0x5ef63c(){const _0x3875ed=_0x7d66ad[_0x36a682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3875ed&&(!!_0x3875ed[_0x36a682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a682([0x2a]))||!!_0x3875ed[_0x36a682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a682([0x50,0x41,0x47])));}function _0x3e6285(){const _0x4265c3=_0x1b56,_0x194985=_0x7d66ad[_0x36a682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x194985||0x0==_0x194985[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x316b00}=new URL(window[_0x36a682([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4265c3(0x21f)]);if(_0x194985[_0x36a682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316b00))return!0x0;const _0x1a0358=_0x316b00[_0x36a682([0x73,0x70,0x6c,0x69,0x74])](_0x36a682([0x2e]));return _0x194985[_0x36a682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23846a=>_0x23846a[_0x36a682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a682([0x2a])))[_0x36a682([0x6d,0x61,0x70])](_0x216438=>_0x216438[_0x36a682([0x73,0x70,0x6c,0x69,0x74])](_0x36a682([0x2e])))[_0x36a682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21dc43=>_0x21dc43[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a0358[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36a682([0x6d,0x61,0x70])](_0x560cf8=>Array(_0x1a0358[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x560cf8[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36a682([0x66,0x69,0x6c,0x6c])](_0x560cf8[0x0]===_0x36a682([0x2a])?_0x36a682([0x2a]):'')[_0x36a682([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x560cf8))[_0x36a682([0x73,0x6f,0x6d,0x65])](_0x492151=>_0x1a0358[_0x36a682([0x65,0x76,0x65,0x72,0x79])]((_0x2fe54f,_0x2e7f92)=>_0x492151[_0x2e7f92]===_0x2fe54f||_0x492151[_0x2e7f92]===_0x36a682([0x2a])));}function _0x42f0da(){return _0xbcdaf7&&_0x38484a?new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e246,_0x4150a5)=>{_0xbcdaf7[_0x36a682([0x74,0x68,0x65,0x6e])](_0x31e246,_0x4150a5),_0x38484a[_0x36a682([0x74,0x68,0x65,0x6e])](_0x331132=>{_0x331132!=_0x36a682([0x56,0x61,0x6c,0x69,0x64])&&_0x31e246(_0x331132);},_0x4150a5);}):_0xbcdaf7||_0x38484a||_0x36a682([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cb318(_0x5efe64,_0x1867b1){return new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e26aa=>{if(_0x29d919())return _0x2e26aa(_0x36a682([0x56,0x61,0x6c,0x69,0x64]));_0x266941(),_0x14f758[_0x36a682([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36a682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x442c98=!0x1;const _0x3ecf37=_0x3cdbce();function _0x3fe6c7(_0x2385a2){return!!_0x2385a2&&(typeof _0x2385a2===_0x36a682([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2385a2===_0x36a682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2385a2[_0x36a682([0x74,0x68,0x65,0x6e])]===_0x36a682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2385a2[_0x36a682([0x63,0x61,0x74,0x63,0x68])]===_0x36a682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24a32f(_0x141cd5){_0x19170b(_0x141cd5)[_0x36a682([0x74,0x68,0x65,0x6e])](_0x2a0ed4=>{if(!_0x2a0ed4||_0x2a0ed4[_0x36a682([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36a682([0x6f,0x6b]))return _0x36a682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39ef0b(_0x388197(_0x3ecf37+_0x1867b1))!=_0x2a0ed4[_0x36a682([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36a682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36a682([0x56,0x61,0x6c,0x69,0x64]);})[_0x36a682([0x74,0x68,0x65,0x6e])](_0x4fdbec=>(_0x51dee2(),_0x4fdbec),()=>{const _0x5bf4fa=_0x55b63f();return null==_0x5bf4fa?(_0x51dee2(),_0x36a682([0x56,0x61,0x6c,0x69,0x64])):_0x36a682(_0x5995f9-_0x5bf4fa>(0x68eef6b3^_0x2db1a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36a682([0x74,0x68,0x65,0x6e])](_0x2e26aa)[_0x36a682([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e26aa(_0x36a682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29e8b3=0x4cd49c33^_0x2db1a0;function _0x51dee2(){const _0x1bfc5e=_0x36a682([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ef0b(_0x388197(_0x5efe64)),_0x43e262=_0x22fc2f(_0x39ef0b(window[_0x36a682([0x4d,0x61,0x74,0x68])][_0x36a682([0x63,0x65,0x69,0x6c])](_0x5995f9/_0x29e8b3)));window[_0x36a682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36a682([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bfc5e,_0x43e262);}function _0x55b63f(){const _0x2c597d=_0x36a682([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ef0b(_0x388197(_0x5efe64)),_0x44f740=window[_0x36a682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36a682([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c597d);return _0x44f740?window[_0x36a682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22fc2f(_0x44f740),0x10)*_0x29e8b3:null;}function _0x19170b(_0x133382){return new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x381b0d,_0x567341)=>{_0x133382[_0x36a682([0x74,0x68,0x65,0x6e])](_0x381b0d,_0x567341),window[_0x36a682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x567341,0x4ce3a673^_0x2db1a0);});}}_0x14f758[_0x36a682([0x6f,0x6e])](_0x36a682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a565b,_0x4e8d36)=>{if(_0x4e8d36[0x0]!=_0x5efe64)return _0x2e26aa(_0x36a682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e8d36[0x1]={..._0x4e8d36[0x1],[_0x36a682([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ecf37};},{[_0x36a682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36a682([0x68,0x69,0x67,0x68])}),_0x14f758[_0x36a682([0x6f,0x6e])](_0x36a682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d77bd=>{_0x3fe6c7(_0x5d77bd[_0x36a682([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x442c98=!0x0,_0x24a32f(_0x5d77bd[_0x36a682([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36a682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36a682([0x6c,0x6f,0x77])}),_0x56ae60[_0x36a682([0x74,0x68,0x65,0x6e])](()=>{_0x442c98||_0x2e26aa(_0x36a682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29d919(){return _0x14f758[_0x36a682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36a682([0x76,0x69,0x65,0x77])][_0x36a682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36a682([0x61,0x75,0x74,0x6f]);}function _0x266941(){_0x14f758[_0x36a682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36a682([0x76,0x69,0x65,0x77])][_0x36a682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36a682([0x61,0x75,0x74,0x6f]);}}function _0x33f2f3(_0x5ef418){const _0x5881c7=[new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x569f4a=>setTimeout(_0x569f4a,0x4ceb4c7f^_0x2db1a0)),_0x56ae60[_0x36a682([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a4bed=>{let _0x248f52=0x0;_0x14f758[_0x36a682([0x6d,0x6f,0x64,0x65,0x6c])][_0x36a682([0x6f,0x6e])](_0x36a682([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa0b183,_0x338025)=>{_0x338025[0x0][_0x36a682([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x248f52++,_0x248f52==(0x4ce2734b^_0x2db1a0)&&(_0x5a4bed(),_0xa0b183[_0x36a682([0x6f,0x66,0x66])]());});}))];return window[_0x36a682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36a682([0x72,0x61,0x63,0x65])](_0x5881c7)[_0x36a682([0x74,0x68,0x65,0x6e])](()=>_0x5ef418);}async function _0x5910bf(){await _0x56ae60,_0x14f758[_0x36a682([0x6d,0x6f,0x64,0x65,0x6c])][_0x36a682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50fe5f,_0x14f758[_0x36a682([0x6d,0x6f,0x64,0x65,0x6c])][_0x36a682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50fe5f,_0x14f758[_0x36a682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36a682([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x262918(_0x47afc8){const _0x1a6f34=_0xbea8cb();_0x14f758[_0x1a6f34]=_0x36a682([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47afc8,_0x47afc8!=_0x36a682([0x56,0x61,0x6c,0x69,0x64])&&_0x5910bf();}function _0xbea8cb(){const _0x285310=window[_0x36a682([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36a682([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36a682([0x6e,0x6f,0x77])]())[_0x36a682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36a682([0x2e]),'');let _0x4cc106=_0x36a682([0x64]);for(let _0x5e0fe2=0x0;_0x5e0fe2<_0x285310[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e0fe2+=0x2){let _0x140a8=window[_0x36a682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x285310[_0x36a682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e0fe2,_0x5e0fe2+0x2));_0x140a8>=_0x4f5082[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x140a8-=_0x4f5082[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cc106+=_0x4f5082[_0x140a8];}return _0x4cc106;}function _0x14610f(){const _0x39d7e3=_0x3efd63[_0x36a682([0x73,0x70,0x6c,0x69,0x74])](_0x36a682([0x2e]));if(0x3!=_0x39d7e3[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x91aad2(_0x39d7e3[0x1]);function _0x91aad2(_0x9251d4){const _0x570bd5=_0x309ac8(_0x9251d4);return _0x570bd5&&_0x1426ed()?_0x570bd5:null;function _0x1426ed(){const _0x41efac=_0x570bd5[_0x36a682([0x6a,0x74,0x69])],_0x2b0f37=window[_0x36a682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41efac[_0x36a682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41efac[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x850633={..._0x570bd5,[_0x36a682([0x6a,0x74,0x69])]:_0x41efac[_0x36a682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41efac[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x850633[_0x36a682([0x76,0x63])],_0x388197(_0x850633)==_0x2b0f37;}}}async function _0xacf99(){let _0x23d960=!0x0;try{const _0x5f4d66=_0x3efd63[_0x36a682([0x73,0x70,0x6c,0x69,0x74])](_0x36a682([0x2e])),[_0x22b3b4,_0x45a675,_0x423c7f]=_0x5f4d66;return _0x39434(_0x22b3b4),await _0x2bac9f(_0x22b3b4,_0x45a675,_0x423c7f),_0x23d960;}catch{return!0x1;}function _0x39434(_0x127df4){const _0x3e334d=_0x309ac8(_0x127df4);_0x3e334d&&_0x3e334d[_0x36a682([0x61,0x6c,0x67])]==_0x36a682([0x45,0x53,0x32,0x35,0x36])||(_0x23d960=!0x1);}async function _0x2bac9f(_0x31cb2f,_0x4ecbb9,_0x5f43ad){const _0x498bd6=window[_0x36a682([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36a682([0x66,0x72,0x6f,0x6d])](_0x3e5472(_0x5f43ad),_0x1b987e=>_0x1b987e[_0x36a682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x83f991=new window[(_0x36a682([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36a682([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31cb2f+_0x36a682([0x2e])+_0x4ecbb9),_0x5a7c0d=window[_0x36a682([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36a682([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a7c0d)return;const _0x46c9e0=await _0x5a7c0d[_0x36a682([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36a682([0x6a,0x77,0x6b]),_0x80bbd7,{[_0x36a682([0x6e,0x61,0x6d,0x65])]:_0x36a682([0x45,0x43,0x44,0x53,0x41]),[_0x36a682([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36a682([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36a682([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a7c0d[_0x36a682([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36a682([0x6e,0x61,0x6d,0x65])]:_0x36a682([0x45,0x43,0x44,0x53,0x41]),[_0x36a682([0x68,0x61,0x73,0x68])]:{[_0x36a682([0x6e,0x61,0x6d,0x65])]:_0x36a682([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46c9e0,_0x498bd6,_0x83f991)||(_0x23d960=!0x1);}}function _0x309ac8(_0x435bf8){return _0x435bf8[_0x36a682([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36a682([0x65,0x79]))?JSON[_0x36a682([0x70,0x61,0x72,0x73,0x65])](_0x3e5472(_0x435bf8)):null;}function _0x3e5472(_0x516b6d){return window[_0x36a682([0x61,0x74,0x6f,0x62])](_0x516b6d[_0x36a682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36a682([0x2b]))[_0x36a682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36a682([0x2f])));}function _0x388197(_0x3c7349){let _0x259186=0x1505;function _0x5161bd(_0x314ef1){for(let _0x503ba0=0x0;_0x503ba0<_0x314ef1[_0x36a682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x503ba0++){const _0x54ce31=_0x314ef1[_0x36a682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x503ba0);_0x259186=(_0x259186<<0x5)+_0x259186+_0x54ce31,_0x259186&=_0x259186;}}function _0x30fbb8(_0x55d467){Array[_0x36a682([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55d467)?_0x55d467[_0x36a682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30fbb8):_0x55d467&&typeof _0x55d467==_0x36a682([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36a682([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55d467)[_0x36a682([0x73,0x6f,0x72,0x74])]()[_0x36a682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c9340,_0x2c7214])=>{_0x5161bd(_0x5c9340),_0x30fbb8(_0x2c7214);}):_0x5161bd(window[_0x36a682([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55d467));}return _0x30fbb8(_0x3c7349),_0x259186>>>0x0;}function _0x39ef0b(_0x1cefba){return _0x1cefba[_0x36a682([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36a682([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36a682([0x30]));}function _0x22fc2f(_0x22ed6b){return _0x22ed6b[_0x36a682([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36a682([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36a682([0x6a,0x6f,0x69,0x6e])]('');}function _0x50fe5f(){}function _0x36a682(_0x573ada){const _0x2e6308=_0x1b56;return _0x573ada[_0x2e6308(0x200)](_0x2cab27=>String[_0x2e6308(0x229)](_0x2cab27))[_0x2e6308(0x243)]('');}_0x262918(await _0x1d3ad9());}(this);}[_0x4a5e65(0x265)](){const _0x12aa03=_0x4a5e65;super[_0x12aa03(0x265)](),this[_0x12aa03(0x28e)]&&(this[_0x12aa03(0x1fb)][_0x12aa03(0x220)](),this[_0x12aa03(0x28e)][_0x12aa03(0x265)](),this[_0x12aa03(0x28e)][_0x12aa03(0x217)][_0x12aa03(0x26f)]());}[_0x4a5e65(0x250)](){const _0xa652c5=_0x4a5e65,_0x4f7626=this[_0xa652c5(0x28f)],_0x5524a1=_0x4f7626[_0xa652c5(0x266)][_0xa652c5(0x290)],_0x55cc8d=this[_0xa652c5(0x215)]();if(!_0x55cc8d||0x0===_0x55cc8d[_0xa652c5(0x1f7)])return void _0x4f7626['ui'][_0xa652c5(0x207)](_0xa652c5(0x221),()=>this[_0xa652c5(0x250)]());const {pageWidth:_0x17ee09,pageHeight:_0x58d7bb}=_0x4f7626[_0xa652c5(0x22f)][_0xa652c5(0x262)](_0xa652c5(0x211)),{top:_0x34930e,left:_0x58cdb3,bottom:_0x49c8e6,right:_0x37c173}=this[_0xa652c5(0x292)];this[_0xa652c5(0x28e)]=new _0x3d9bf0(_0x4f7626[_0xa652c5(0x1f4)]);const _0x571621=this[_0xa652c5(0x28e)];_0x571621[_0xa652c5(0x22a)](_0xa652c5(0x2a2),''),_0x571621[_0xa652c5(0x294)]({'tag':_0xa652c5(0x1f6),'attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x17ee09,'width':_0x17ee09,'height':_0xa652c5(0x26b)+_0x58d7bb+_0xa652c5(0x25c)+_0x34930e+_0xa652c5(0x25c)+_0x49c8e6+'\x20)','minWidth':_0xa652c5(0x254),'minHeight':_0xa652c5(0x254),'padding':'0\x20'+_0x37c173+_0xa652c5(0x21c)+_0x58cdb3,'columnGap':_0xa652c5(0x274),'border':0x0,'boxSizing':_0xa652c5(0x284),'columnCount':_0xa652c5(0x254),'columnFill':_0xa652c5(0x254),'overflow':_0xa652c5(0x1f8),'position':_0xa652c5(0x1fe),'top':_0xa652c5(0x21a),'left':_0xa652c5(0x21a)},'tabindex':'-1','class':_0x571621[_0xa652c5(0x214)]['to'](_0xa652c5(0x2a2))}}),_0x571621[_0xa652c5(0x287)](),_0x55cc8d[_0xa652c5(0x203)][_0xa652c5(0x224)](_0x571621[_0xa652c5(0x217)],_0x55cc8d[_0xa652c5(0x1ee)]),this[_0xa652c5(0x252)](_0x5524a1,_0xa652c5(0x287),()=>this[_0xa652c5(0x1fb)](),{'priority':_0xa652c5(0x209)}),this[_0xa652c5(0x1fb)]();}[_0x4a5e65(0x215)](){const _0x160e33=_0x4a5e65;for(const _0x2330e3 of this[_0x160e33(0x28f)][_0x160e33(0x266)][_0x160e33(0x290)][_0x160e33(0x21e)][_0x160e33(0x222)]())if(_0x2330e3[_0x160e33(0x1fa)][_0x160e33(0x1f0)][_0x160e33(0x27a)](_0x2330e3))return _0x2330e3;return null;}[_0x4a5e65(0x1f3)](){const _0x4bdae3=_0x4a5e65;if(!this[_0x4bdae3(0x257)])return Promise[_0x4bdae3(0x249)]();const _0x223f5c=this[_0x4bdae3(0x28f)][_0x4bdae3(0x266)][_0x4bdae3(0x290)],_0x143d33=this[_0x4bdae3(0x28e)],_0x1cc927=this[_0x4bdae3(0x215)]();if(!_0x1cc927)return Promise[_0x4bdae3(0x249)]();for(_0x143d33[_0x4bdae3(0x2a2)]=[_0x4bdae3(0x21b),_0x4bdae3(0x22e),..._0x1cc927[_0x4bdae3(0x25a)]][_0x4bdae3(0x243)]('\x20');_0x143d33[_0x4bdae3(0x217)][_0x4bdae3(0x22c)];)_0x143d33[_0x4bdae3(0x217)][_0x4bdae3(0x22c)][_0x4bdae3(0x26f)]();const _0x4c6ab2=Array[_0x4bdae3(0x219)](_0x223f5c[_0x4bdae3(0x21e)]);_0x4c6ab2[_0x4bdae3(0x24e)](([,_0x2eb457],[,_0x4291fd])=>_0x2eb457[_0x4bdae3(0x28d)](_0x4291fd)==Node[_0x4bdae3(0x267)]?0x1:-0x1);for(const [_0xf09e86,_0x482ccd]of _0x4c6ab2){const _0x160a54=_0x482ccd[_0x4bdae3(0x2a3)](!0x0);_0x4bdae3(0x22b)in _0x160a54&&_0x160a54[_0x4bdae3(0x22b)][_0x4bdae3(0x28c)](),_0x160a54[_0x4bdae3(0x223)]='',_0x160a54[_0x4bdae3(0x1ef)]('id'),_0x160a54[_0x4bdae3(0x234)][_0x4bdae3(0x27e)]=_0xf09e86,_0x143d33[_0x4bdae3(0x217)][_0x4bdae3(0x26d)](_0x160a54);}return function(_0x2cc825){const _0x49d12=_0x4bdae3;return Promise[_0x49d12(0x276)](_0x2cc825[_0x49d12(0x200)](_0x41ac6a=>Promise[_0x49d12(0x236)]([m(_0x41ac6a),p(0x3e8)])));}(Array[_0x4bdae3(0x219)](_0x143d33[_0x4bdae3(0x217)][_0x4bdae3(0x26a)](_0x4bdae3(0x23e))))[_0x4bdae3(0x245)](()=>this[_0x4bdae3(0x256)]());}[_0x4a5e65(0x256)](){const _0x2dce4e=_0x4a5e65,_0x4d0395=this[_0x2dce4e(0x28e)][_0x2dce4e(0x217)];if(!_0x4d0395[_0x2dce4e(0x1fa)][_0x2dce4e(0x1f0)][_0x2dce4e(0x27a)](_0x4d0395))return;const _0x213d12=new _0x4427ca(_0x4d0395)[_0x2dce4e(0x296)](),_0x24d55d=_0x203734[_0x2dce4e(0x29f)][_0x2dce4e(0x202)](_0x4d0395),_0x333590=parseFloat(_0x24d55d[_0x2dce4e(0x25f)])+parseFloat(_0x24d55d[_0x2dce4e(0x23d)]),_0x313226=Math[_0x2dce4e(0x24c)](_0x213d12[_0x2dce4e(0x29e)]+0x64-_0x333590),_0x8f68e5=b(_0x4d0395,Math[_0x2dce4e(0x24c)](_0x213d12[_0x2dce4e(0x228)]-_0x4d0395[_0x2dce4e(0x226)]),_0x313226,_0x213d12[_0x2dce4e(0x280)])[_0x2dce4e(0x200)](_0x1ef564=>this[_0x2dce4e(0x269)](_0x1ef564));_0x8f68e5[_0x2dce4e(0x23b)](_0xe54b1c=>!!_0xe54b1c)&&(this[_0x2dce4e(0x1f1)]=_0x8f68e5);}[_0x4a5e65(0x269)](_0x3373cb){const _0x1d0e42=_0x4a5e65,_0x390d34=this[_0x1d0e42(0x28f)][_0x1d0e42(0x266)][_0x1d0e42(0x290)],_0x4f0c6b=this[_0x1d0e42(0x28f)][_0x1d0e42(0x266)][_0x1d0e42(0x239)],_0x20e10f=_0x390d34[_0x1d0e42(0x1fd)],_0x2ed2dd=_0x3373cb[_0x1d0e42(0x20c)][_0x1d0e42(0x1e9)](),_0x367165=this[_0x1d0e42(0x28e)][_0x1d0e42(0x217)][_0x1d0e42(0x289)][_0x2ed2dd][_0x1d0e42(0x234)][_0x1d0e42(0x27e)],_0x53b5ea=_0x390d34[_0x1d0e42(0x25e)](_0x367165);if(!_0x53b5ea)return null;const _0x1de2d7=function(_0x44b491,_0x2f679a){const _0x2259da=_0x1d0e42;let _0x2d7d7e=_0x44b491;for(const _0x2d3c1d of _0x2f679a[_0x2259da(0x20c)]){if(!_0x2d7d7e)return null;_0x2d7d7e=_0x2d7d7e[_0x2259da(0x289)][_0x2d3c1d];}return _0x2d7d7e;}(_0x53b5ea,_0x3373cb);if(!_0x1de2d7)return null;const _0x126483=_0x20e10f[_0x1d0e42(0x248)](_0x1de2d7,_0x3373cb[_0x1d0e42(0x29a)]||0x0);return _0x126483?_0x1d0e42(0x1e7)==_0x3373cb[_0x1d0e42(0x23a)]?this[_0x1d0e42(0x2a0)](_0x126483,_0x1de2d7):_0x1d0e42(0x264)==_0x3373cb[_0x1d0e42(0x23a)]&&_0x4f0c6b[_0x1d0e42(0x24a)](_0x126483)[_0x1d0e42(0x28a)]?this[_0x1d0e42(0x1ea)](_0x126483,_0x1de2d7,_0x3373cb[_0x1d0e42(0x29a)]):this[_0x1d0e42(0x216)](_0x126483,_0x1de2d7,_0x3373cb[_0x1d0e42(0x28a)]):null;}[_0x4a5e65(0x2a0)](_0x58c29e,_0x2ac221){const _0x409128=_0x4a5e65,_0x33c0f1=this[_0x409128(0x28f)][_0x409128(0x26c)],_0x18cecd=this[_0x409128(0x28f)][_0x409128(0x266)][_0x409128(0x239)][_0x409128(0x260)](_0x58c29e[_0x409128(0x29b)]),_0x153668=_0x33c0f1[_0x409128(0x235)](_0x18cecd);return new PageBreakInfo({'type':_0x409128(0x1e7),'modelRange':_0x153668,'domNode':_0x2ac221,'offset':0x0});}[_0x4a5e65(0x1ea)](_0x1b8bda,_0x381f0b,_0x5d7b45){const _0x3fffa6=_0x4a5e65,_0x43feb4=this[_0x3fffa6(0x28f)][_0x3fffa6(0x26c)],_0x402450=this[_0x3fffa6(0x28f)][_0x3fffa6(0x266)][_0x3fffa6(0x239)],_0x560fe2=this[_0x3fffa6(0x28f)][_0x3fffa6(0x266)][_0x3fffa6(0x290)][_0x3fffa6(0x1fd)];if(_0x5d7b45>=_0x381f0b[_0x3fffa6(0x2a5)])return null;const _0x449885=_0x402450[_0x3fffa6(0x24a)](_0x1b8bda),_0x584869=_0x43feb4[_0x3fffa6(0x261)](_0x449885),_0x3f6107=_0x402450[_0x3fffa6(0x282)](_0x1b8bda),_0x9281db=_0x560fe2[_0x3fffa6(0x213)](_0x3f6107);return new PageBreakInfo({'type':_0x3fffa6(0x264),'modelRange':_0x584869,'domNode':_0x381f0b,'offset':w(_0x381f0b,_0x5d7b45,_0x9281db)});}[_0x4a5e65(0x216)](_0x21ee48,_0x15bf67,_0x2c6644){const _0x580688=_0x4a5e65,_0x6d8187=this[_0x580688(0x28f)][_0x580688(0x26c)],_0x17d11d=this[_0x580688(0x28f)][_0x580688(0x266)],_0x126129=_0x17d11d[_0x580688(0x239)],_0x31e65a=_0x17d11d[_0x580688(0x290)][_0x580688(0x1fd)],_0x2c98e4=_0x126129[_0x580688(0x282)](_0x21ee48),_0x572157=_0x126129[_0x580688(0x260)](_0x2c98e4),_0x1024bd=function(_0x29a2a5){const _0x4429d9=_0x580688,_0x313a34=_0x29a2a5[_0x4429d9(0x29b)],_0x56f5ad=_0x313a34[_0x4429d9(0x299)][_0x4429d9(0x283)][_0x4429d9(0x26c)],_0x5545c6=_0x313a34[_0x4429d9(0x2a4)]({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4bcb2d=null;for(const _0x55d119 of _0x5545c6){if(_0x55d119['is'](_0x4429d9(0x255)))return _0x4bcb2d;if(!_0x56f5ad[_0x4429d9(0x27c)](_0x55d119)[_0x4429d9(0x297)](_0x29a2a5))return _0x4bcb2d;_0x4bcb2d=_0x55d119;}}(_0x6d8187[_0x580688(0x27c)](_0x572157)),_0x57d68e=_0x1024bd||_0x572157;let _0x37e3fa=_0x126129[_0x580688(0x20d)](_0x57d68e),_0x5e0ad0=_0x6d8187[_0x580688(0x235)](_0x57d68e);const _0x41828d=_0x6d8187[_0x580688(0x27c)](_0x57d68e)[_0x580688(0x29d)];if(_0x41828d&&_0x41828d['is'](_0x580688(0x217),_0x580688(0x201))){const _0x17b4eb=_0x126129[_0x580688(0x20d)](_0x41828d),_0x46cc51=_0x31e65a[_0x580688(0x213)](_0x17b4eb),_0x5bc10f=_0x203734[_0x580688(0x29f)][_0x580688(0x202)](_0x46cc51)[_0x580688(0x21d)];_0x580688(0x228)!=_0x5bc10f&&_0x580688(0x277)!=_0x5bc10f||(_0x5e0ad0=_0x6d8187[_0x580688(0x235)](_0x41828d));}for(;_0x37e3fa[_0x580688(0x29b)]!==_0x37e3fa[_0x580688(0x299)]&&0x0===_0x37e3fa[_0x580688(0x20f)];)_0x37e3fa=_0x37e3fa[_0x580688(0x29b)];const _0x4715c0=new _0x4427ca(N(_0x15bf67)?_0x15bf67:y(_0x15bf67)),_0x5b873d=_0x2c6644?_0x4715c0[_0x580688(0x280)]-_0x2c6644:0x0,_0xd3bb12=_0x31e65a[_0x580688(0x213)](_0x37e3fa),_0x412909=new _0x4427ca(_0xd3bb12);return new PageBreakInfo({'type':_0x580688(0x217),'modelRange':_0x5e0ad0,'domNode':_0xd3bb12,'offset':Math[_0x580688(0x1ed)](_0x5b873d)?_0x5b873d+_0x4715c0[_0x580688(0x1ff)]-_0x412909[_0x580688(0x1ff)]:0x0});}get[_0x4a5e65(0x292)](){const _0x380825=_0x4a5e65,_0x19e7bc=this[_0x380825(0x28f)][_0x380825(0x22f)][_0x380825(0x262)](_0x380825(0x225));return Object[_0x380825(0x23c)]({'top':_0x380825(0x271),'bottom':_0x380825(0x271),'left':_0x380825(0x271),'right':_0x380825(0x271)},_0x19e7bc);}static[_0x4a5e65(0x288)](_0xbcb4f4,_0x3ec94f,_0x4771f6,_0x2ef9d1,_0x2d6b4e){return b(_0xbcb4f4,_0x3ec94f,_0x4771f6,_0x2ef9d1,_0x2d6b4e);}}export class PageBreakInfo{[_0x4a5e65(0x23a)];[_0x4a5e65(0x240)];[_0x4a5e65(0x253)];[_0x4a5e65(0x20b)];constructor({type:_0x3513f6,modelRange:_0xa7e49a,domNode:_0x3891b7,offset:_0x571ca4}){const _0x52c650=_0x4a5e65;this[_0x52c650(0x23a)]=_0x3513f6,this[_0x52c650(0x240)]=_0xa7e49a,this[_0x52c650(0x253)]=_0x3891b7,this[_0x52c650(0x20b)]=_0x571ca4;}get[_0x4a5e65(0x28a)](){const _0x14d606=_0x4a5e65;if(!this[_0x14d606(0x253)][_0x14d606(0x1fa)][_0x14d606(0x1f0)][_0x14d606(0x27a)](this[_0x14d606(0x253)]))return 0x0;const _0x592949=new _0x4427ca(N(this[_0x14d606(0x253)])?this[_0x14d606(0x253)]:y(this[_0x14d606(0x253)]));return _0x14d606(0x1e7)==this[_0x14d606(0x23a)]?_0x592949[_0x14d606(0x1ff)]+_0x592949[_0x14d606(0x280)]/0x2:_0x592949[_0x14d606(0x1ff)]+this[_0x14d606(0x20b)];}}function w(_0xb3a811,_0x283e99,_0x2878b0){const _0x568094=_0x4a5e65,_0x1fdbae=y(_0xb3a811),_0x302b3f=function(_0xc560b4){const _0x4c081f=_0x1b56,_0x7a7d8c=_0x203734[_0x4c081f(0x283)][_0x4c081f(0x261)]();return _0x7a7d8c[_0x4c081f(0x242)](_0xc560b4),_0x7a7d8c;}(_0x2878b0);let _0x15957b;_0x15957b=0x0==_0x283e99?k(_0x302b3f[_0x568094(0x24b)],_0x302b3f[_0x568094(0x230)],_0xb3a811[_0x568094(0x203)],Array[_0x568094(0x219)](_0xb3a811[_0x568094(0x203)][_0x568094(0x289)])[_0x568094(0x279)](_0xb3a811)):k(_0x302b3f[_0x568094(0x24b)],_0x302b3f[_0x568094(0x230)],_0xb3a811,_0x283e99);const _0x4d8a78=k(_0xb3a811,_0x283e99,_0x302b3f[_0x568094(0x26e)],_0x302b3f[_0x568094(0x1f5)]),_0x34fdc1=new _0x4427ca(_0x15957b)[_0x568094(0x251)];return(new _0x4427ca(_0x4d8a78)[_0x568094(0x1ff)]+_0x34fdc1)/0x2-new _0x4427ca(_0x1fdbae)[_0x568094(0x1ff)];}function _0x1b56(_0x33dec1,_0x250e96){const _0x2e1a23=_0x2e1a();return _0x1b56=function(_0x1b56ba,_0x385f12){_0x1b56ba=_0x1b56ba-0x1e6;let _0x16e588=_0x2e1a23[_0x1b56ba];return _0x16e588;},_0x1b56(_0x33dec1,_0x250e96);}function m(_0xc0744d){const _0x2c8092=_0x4a5e65;return _0xc0744d[_0x2c8092(0x205)](_0x2c8092(0x29e))&&_0xc0744d[_0x2c8092(0x205)](_0x2c8092(0x280))?Promise[_0x2c8092(0x249)]():new Promise(_0x457348=>{const _0x46ebb9=_0x2c8092;function _0x1ddb8b(){const _0x170b78=_0x1b56;_0xc0744d[_0x170b78(0x291)](_0x170b78(0x1f2),_0x1ddb8b),_0xc0744d[_0x170b78(0x291)](_0x170b78(0x263),_0x1ddb8b),_0x457348();}_0xc0744d[_0x46ebb9(0x278)]?_0x457348():(_0xc0744d[_0x46ebb9(0x20a)](_0x46ebb9(0x1f2),_0x1ddb8b),_0xc0744d[_0x46ebb9(0x20a)](_0x46ebb9(0x263),_0x1ddb8b));});}function p(_0x3b2bd0){return new Promise(_0x104f6c=>setTimeout(_0x104f6c,_0x3b2bd0));}function y(_0x4eb897){const _0x35fae8=_0x4a5e65,_0x4dbd30=_0x203734[_0x35fae8(0x283)][_0x35fae8(0x261)]();return _0x4dbd30[_0x35fae8(0x237)](_0x4eb897),_0x4dbd30;}function P(_0x759893,_0x41cfe7,_0x1149ed){const _0x5bbbbf=_0x4a5e65,_0x3fe518=_0x203734[_0x5bbbbf(0x283)][_0x5bbbbf(0x261)]();return _0x3fe518[_0x5bbbbf(0x275)](_0x759893,_0x41cfe7),_0x3fe518[_0x5bbbbf(0x20e)](_0x759893,_0x1149ed),_0x3fe518;}function k(_0x424b4e,_0xdcd267,_0x3c08cb,_0x4ff358){const _0x41a396=_0x4a5e65,_0x324e5d=_0x203734[_0x41a396(0x283)][_0x41a396(0x261)]();return _0x324e5d[_0x41a396(0x275)](_0x424b4e,_0xdcd267),_0x324e5d[_0x41a396(0x20e)](_0x3c08cb,_0x4ff358),_0x324e5d;}function _0x2e1a(){const _0x241d56=['class','cloneNode','getAncestors','length','style','manual','figure.image','shift','_mapTextPageStarterInfoToPageBreakInfo','display','isPremiumPlugin','round','nextSibling','removeAttribute','body','pageBreaks','load','_recalculatePageBreaks','locale','endOffset','div','childElementCount','hidden','2199498Nypxef','ownerDocument','_recalculatePageBreaksDebounced','pluginName','domConverter','absolute','top','map','imageBlock','getComputedStyle','parentNode','none','hasAttribute','1557qjexxU','once','offsetParent','low','addEventListener','_offset','path','toViewElement','setEnd','index','plugins','pagination','1065016hBcRPy','mapViewToDom','bindTemplate','_getAttachedDomRoot','_mapElementPageStarterInfoToPageBreakInfo','element','pagination-config-not-found','from','-99999px','ck-reset','\x200\x20','float','domRoots','href','cancel','update','values','className','insertBefore','pagination.pageMargins','scrollLeft','previousSibling','left','fromCharCode','set','attributeStyleMap','firstChild','54535qMNHhg','ck-pagination-view','config','startOffset','54690wGMNdM','PaginationLookup','nextElementSibling','dataset','createRangeOn','race','selectNode','3888369GLsAQq','mapper','type','every','assign','paddingRight','img','push','modelRange','getClientRects','selectNodeContents','join','.page-break','then','isOfficialPlugin','entries','domPositionToView','resolve','toModelPosition','startContainer','floor','init','sort','parentElement','_onUiReady','bottom','listenTo','_domNode','auto','rootElement','_updatePageBreaksData','isEnabled','bind','ceil','classList','change:isEnabled','\x20-\x20','TEXT_NODE','getDomRoot','paddingLeft','toModelElement','createRange','get','error','text','destroy','editing','DOCUMENT_POSITION_PRECEDING','ck-fake-selection-container','_mapPageStarterInfoToPageBreakInfo','querySelectorAll','calc(\x20','model','append','endContainer','remove','afterInit','10mm','ready','position','100px','setStart','all','right','complete','indexOf','contains','368306YumSsw','createPositionBefore','page-break','rootName','ELEMENT_NODE','height','table-row','findMappedViewAncestor','document','border-box','closest','2397850rMjtdr','render','_findPageStarterInfos','childNodes','offset','previousElementSibling','clear','compareDocumentPosition','_pagesContainer','editor','view','removeEventListener','_configuredPaddings','PaginationEditing','setTemplate','table-cell','excludeScrollbarsAndBorders','isTouching','nodeType','root','textOffset','parent','436MUtyPc','nodeBefore','width','window','_mapManualPageStarterInfoToPageBreakInfo','6ALcHdL'];_0x2e1a=function(){return _0x241d56;};return _0x2e1a();}function b(_0x1e7754,_0x513787,_0x2f4555,_0x3177a9,_0x2d8fe8){const _0x195c11=_0x4a5e65,_0x8b7913=[];for(const [_0x1c73c4,_0x111f7b]of _0x1e7754[_0x195c11(0x289)][_0x195c11(0x247)]()){let _0x328318=[];N(_0x111f7b)&&_0x111f7b[_0x195c11(0x208)]&&!_0x111f7b[_0x195c11(0x1e6)][_0x195c11(0x273)]?_0x328318=x(_0x111f7b,_0x1c73c4,_0x513787,_0x2f4555,_0x3177a9,_0x2d8fe8):S(_0x111f7b)&&(_0x328318=_(_0x111f7b,_0x1c73c4,_0x513787,_0x2f4555,_0x2d8fe8)),_0x328318[_0x195c11(0x2a5)]&&(_0x8b7913[_0x195c11(0x23f)](..._0x328318),_0x513787+=_0x328318[_0x195c11(0x2a5)]*_0x2f4555,_0x2d8fe8=!0x1);}return _0x8b7913;}function x(_0x3586e1,_0x24589b,_0x3d9d3a,_0x6335bd,_0x2a8ba0,_0x412ca2){const _0x1622ee=_0x4a5e65,_0xd87960=[];var _0xe27015;if((_0xe27015=_0x3586e1[_0x1622ee(0x227)])&&N(_0xe27015)&&Boolean(_0xe27015[_0x1622ee(0x25a)][_0x1622ee(0x27a)](_0x1622ee(0x27d))||_0xe27015[_0x1622ee(0x285)](_0x1622ee(0x244)))&&(_0xd87960[_0x1622ee(0x23f)]({'type':_0x1622ee(0x1e7),'offset':0x0,'path':[_0x24589b-0x1]}),_0x412ca2=!0x0),_0x1622ee(0x281)==_0x203734[_0x1622ee(0x29f)][_0x1622ee(0x202)](_0x3586e1)[_0x1622ee(0x1eb)]){let _0x4dfee8=0x0,_0x448b9d=!0x1;for(const _0x3320f3 of _0x3586e1[_0x1622ee(0x241)]())_0x4dfee8+=_0x3320f3[_0x1622ee(0x280)],_0x3320f3[_0x1622ee(0x228)]>=_0x3d9d3a&&(_0x448b9d=!0x0);if(_0x4dfee8<_0x2a8ba0&&_0x448b9d)return _0xd87960[_0x1622ee(0x23f)]({'type':_0x1622ee(0x217),'offset':0x0,'path':[_0x24589b]}),_0xd87960;}const _0x3a3c47=_0x3586e1[_0x1622ee(0x285)](_0x1622ee(0x1e8));if(_0x3a3c47&&function(_0x34fa27){const _0x5903f7=_0x1622ee;let _0x3480fb=!0x1;const _0xeb42ac=_0x34fa27[_0x5903f7(0x24f)],_0x5edd12=_0xeb42ac[_0x5903f7(0x234)][_0x5903f7(0x27e)],_0x2130ce=_0x34fa27[_0x5903f7(0x233)],_0x1a24e6=_0x34fa27[_0x5903f7(0x28b)],_0x387fbf=_0x2130ce&&_0x203734[_0x5903f7(0x29f)][_0x5903f7(0x202)](_0x2130ce)[_0x5903f7(0x21d)],_0x8a2d1e=_0x2130ce&&_0x5903f7(0x268)===_0x2130ce[_0x5903f7(0x223)];!_0x5edd12||_0x2130ce||_0x1a24e6||(_0x3480fb=!0x0),_0x5edd12&&!_0x1a24e6&&_0x8a2d1e&&(_0x3480fb=!0x0),_0x5edd12&&!_0x1a24e6&&_0x5903f7(0x204)!==_0x387fbf&&(_0x3480fb=!0x0);if(_0x3480fb)return!0x1;return!0x0;}(_0x3a3c47)){const _0x9e8cd2=_0x203734[_0x1622ee(0x29f)][_0x1622ee(0x202)](_0x3a3c47)[_0x1622ee(0x21d)];if(_0x1622ee(0x228)==_0x9e8cd2||_0x1622ee(0x277)==_0x9e8cd2)return _0xd87960;}const _0x2ec6b4=b(_0x3586e1,_0x3d9d3a,_0x6335bd,_0x2a8ba0,_0x412ca2);if(_0x2ec6b4[_0x1622ee(0x2a5)]){for(const _0x14f5e4 of _0x2ec6b4)_0xd87960[_0x1622ee(0x23f)]({'type':_0x14f5e4[_0x1622ee(0x23a)],'offset':_0x14f5e4[_0x1622ee(0x28a)],'textOffset':_0x14f5e4[_0x1622ee(0x29a)],'path':[_0x24589b,..._0x14f5e4[_0x1622ee(0x20c)]]}),_0x3d9d3a+=_0x6335bd,_0x412ca2=!0x1;return _0xd87960;}return _0xd87960[_0x1622ee(0x23f)](...function(_0x364f47,_0x21676c,_0xd27826,_0x5bfa16,_0x500e32){const _0xd2b948=_0x1622ee,_0x178ab0=[];if(_0xd2b948(0x295)==_0x203734[_0xd2b948(0x29f)][_0xd2b948(0x202)](_0x364f47)[_0xd2b948(0x1eb)])return[];const _0x1c4fbc=[];for(const _0xfda8ec of _0x364f47[_0xd2b948(0x241)]())if(_0xfda8ec[_0xd2b948(0x228)]>=_0xd27826){for(const _0x58843f of _0x1c4fbc)_0x58843f[_0xd2b948(0x280)]+=_0xfda8ec[_0xd2b948(0x280)];_0x1c4fbc[_0xd2b948(0x23f)]({'height':_0xfda8ec[_0xd2b948(0x280)]}),_0xd27826+=_0x5bfa16;}for(const _0x3bb71c of _0x1c4fbc)_0x500e32||_0x178ab0[_0xd2b948(0x23f)]({'type':_0xd2b948(0x217),'offset':_0x3bb71c[_0xd2b948(0x280)],'textOffset':0x0,'path':[_0x21676c]}),_0x500e32=!0x1;return _0x178ab0;}(_0x3586e1,_0x24589b,_0x3d9d3a,_0x6335bd,_0x412ca2)),_0xd87960;}function _(_0x5f1dc6,_0x463c33,_0x3e09fa,_0x297f72,_0x3c0252){const _0x5c615a=_0x4a5e65,_0x531f5e=y(_0x5f1dc6),_0x1713b4=[];let _0x4ee7bb=0x0;for(const _0x4d838d of _0x531f5e[_0x5c615a(0x241)]())if(_0x4d838d[_0x5c615a(0x228)]>=_0x3e09fa){const _0x1f05ad=B(_0x5f1dc6,_0x4ee7bb,_0x3e09fa,_0x297f72);_0x3c0252||_0x1713b4[_0x5c615a(0x23f)]({'type':_0x5c615a(0x264),'path':[_0x463c33],'textOffset':_0x1f05ad}),_0x4ee7bb=_0x1f05ad,_0x3e09fa+=_0x297f72,_0x3c0252=!0x1;}return _0x1713b4;}function B(_0x255afa,_0x50c4e6,_0x589207,_0x6c9398){const _0x267d7c=_0x4a5e65;let _0x4cfce1=_0x50c4e6,_0x3b8994=_0x255afa[_0x267d7c(0x2a5)];for(;_0x3b8994-_0x4cfce1>0x1;){const _0x4f7fb4=Math[_0x267d7c(0x259)]((_0x4cfce1+_0x3b8994)/0x2);I(P(_0x255afa,_0x4cfce1,_0x4f7fb4),_0x589207,_0x6c9398)?_0x3b8994=_0x4f7fb4:_0x4cfce1=_0x4f7fb4;}return _0x4cfce1;}function I(_0x224083,_0x23f30a,_0x25a23d){const _0x12b397=_0x4a5e65;for(const _0x197025 of _0x224083[_0x12b397(0x241)]())if(_0x197025[_0x12b397(0x228)]>=_0x23f30a&&_0x197025[_0x12b397(0x228)]<_0x23f30a+_0x25a23d)return!0x0;return!0x1;}function N(_0x4f59d9){const _0x374c9c=_0x4a5e65;return _0x4f59d9[_0x374c9c(0x298)]==Node[_0x374c9c(0x27f)];}function S(_0x3873f2){const _0x219614=_0x4a5e65;return _0x3873f2[_0x219614(0x298)]==Node[_0x219614(0x25d)];}
|