@ckeditor/ckeditor5-pagination 46.0.0-alpha.0 → 46.0.0-alpha.1
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 o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,o,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)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]);o&&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),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),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 o(t,e,o,i){var s;if(o)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.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 i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){o(n,e,!1,t)},remove:function(t){o(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,o=0;o<e.length;o++)if(e[o].identifier===t){n=o;break}return n}function o(t,o){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=o.base?c[0]+o.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=i(h,o);o.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function i(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,i){var s=o(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=o(t,i),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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={id:o,exports:{}};return t[o](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 o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";n.r(o),n.d(o,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),i=n(584);function s(t,e,{signal:n,edges:o}={}){let i,s=null;const r=null!=o&&o.includes("leading"),a=null==o||o.includes("trailing"),c=()=>{null!==s&&(t.apply(i,s),i=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(),i=void 0,s=null},h=function(...t){if(n?.aborted)return;i=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=c;!function(t){const e=c,n=t();for(;;)try{if(237551===parseInt(e(298))/1+parseInt(e(368))/2*(parseInt(e(416))/3)+-parseInt(e(278))/4+-parseInt(e(346))/5*(parseInt(e(379))/6)+parseInt(e(452))/7*(-parseInt(e(411))/8)+-parseInt(e(312))/9+parseInt(e(315))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class a extends t.Plugin{[r(424)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:o=!1,trailing:i=!0,maxWait:r}=n,a=Array(2);let c;o&&(a[0]="leading"),i&&(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(400)](),200);[r(364)]=null;static get[r(441)](){return r(410)}static get[r(429)](){return!0}static get[r(294)](){return!0}[r(397)](){const t=r;if(this[t(275)]({pageBreaks:[]}),!this[t(366)][t(412)][t(426)](t(331)))return void(0,i.logWarning)(t(273),this[t(366)][t(412)]);const e=this[t(366)][t(405)][t(426)](t(320));this[t(363)](t(433)).to(e),this[t(366)].ui[t(423)](t(361),()=>this[t(386)]()),this.on(t(374),(e,n,o)=>{o&&this[t(424)]()})}[r(353)](){!async function(t){const e=m([103,115,85,117,86,80,66,104,77,110,114,111,52,55,65,84,97,68,49,57,67,69,82,48,107,98,105,90,120,74,51,108,113,73,89,76,50,99,109,72,87,122,70,79,102,119,116,56,71,88,54,112,83,81,53,75,100,78,118,121,101,106]),n=window[m([68,97,116,101])][m([110,111,119])](),o=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{o[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=o[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;o[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,o)=>{o[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 o=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+o,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,o])=>{n(e),t(o)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(415)](t=>String[e(454)](t))[e(358)]("")}!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([103]);for(let o=0;o<t[m([108,101,110,103,116,104])];o+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](o,o+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();o[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,o[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,o[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,o[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=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),o={...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 o[m([118,99])],f(o)==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(),o[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,i.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(o){a(o)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),o=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,o)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*i: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)})}}o[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])}),o[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 o[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(){o[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 o=a[m([115,112,108,105,116])](m([46])),[i,s,r]=o;return e(i),await n(i,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,o){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(o),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,i,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:1751328e3;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,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:o}=new URL(window[m([108,111,99,97,116,105,111,110])][e(443)]);if(n[m([105,110,99,108,117,100,101,115])](o))return!0;const i=o[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])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[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=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(388)](){const t=r;super[t(388)](),this[t(364)]&&(this[t(424)][t(281)](),this[t(364)][t(388)](),this[t(364)][t(422)][t(418)]())}[r(386)](){const t=r,n=this[t(366)],o=n[t(365)][t(349)],i=this[t(342)]();if(!i||0===i[t(337)])return void n.ui[t(423)](t(377),()=>this[t(386)]());const{pageWidth:s,pageHeight:a}=n[t(412)][t(426)](t(331)),{top:c,left:u,bottom:l,right:p}=this[t(449)];this[t(364)]=new e.View(n[t(393)]);const f=this[t(364)];f[t(275)](t(444),""),f[t(430)]({tag:t(301),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(336)+a+t(286)+c+t(286)+l+" )",minWidth:t(402),minHeight:t(402),padding:"0 "+p+t(461)+u,columnGap:t(295),border:0,boxSizing:t(345),columnCount:t(402),columnFill:t(402),overflow:t(354),position:t(360),top:t(328),left:t(328)},tabindex:"-1",class:f[t(421)].to(t(444))}}),f[t(373)](),i[t(390)][t(289)](f[t(422)],i[t(403)]),this[t(314)](o,t(373),()=>this[t(424)](),{priority:t(371)}),this[t(424)]()}[r(342)](){const t=r;for(const e of this[t(366)][t(365)][t(349)][t(318)][t(459)]())if(e[t(334)][t(382)][t(348)](e))return e;return null}[r(400)](){const t=r;if(!this[t(433)])return Promise[t(276)]();const e=this[t(366)][t(365)][t(349)],n=this[t(364)],o=this[t(342)]();if(!o)return Promise[t(276)]();for(n[t(444)]=[t(453),t(330),...o[t(271)]][t(358)](" ");n[t(422)][t(439)];)n[t(422)][t(439)][t(418)]();const i=Array[t(316)](e[t(318)]);i[t(274)](([,e],[,n])=>e[t(357)](n)==Node[t(306)]?1:-1);for(const[e,o]of i){const i=o[t(389)](!0);t(414)in i&&i[t(414)][t(323)](),i[t(351)]="",i[t(399)]("id"),i[t(457)][t(339)]=e,n[t(422)][t(435)](i)}return function(e){const n=t;return Promise[n(385)](e[n(415)](t=>{return Promise[n(319)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(316)](n[t(422)][t(270)](t(387))))[t(455)](()=>this[t(406)]())}[r(406)](){const t=r,e=this[t(364)][t(422)];if(!e[t(334)][t(382)][t(348)](e))return;const n=new i.Rect(e)[t(333)](),o=i.global[t(392)][t(272)](e),s=parseFloat(o[t(287)])+parseFloat(o[t(428)]),a=Math[t(378)](n[t(279)]+100-s),c=m(e,Math[t(378)](n[t(460)]-e[t(436)]),a,n[t(284)])[t(415)](e=>this[t(309)](e));c[t(280)](t=>!!t)&&(this[t(391)]=c)}[r(309)](t){const e=r,n=this[e(366)][e(365)][e(349)],o=this[e(366)][e(365)][e(317)],i=n[e(332)],s=t[e(407)][e(369)](),a=this[e(364)][e(422)][e(381)][s][e(457)][e(339)],c=n[e(442)](a);if(!c)return null;const u=function(t,n){const o=e;let i=t;for(const t of n[o(407)]){if(!i)return null;i=i[o(381)][t]}return i}(c,t);if(!u)return null;const l=i[e(341)](u,t[e(325)]||0);return l?e(304)==t[e(395)]?this[e(409)](l,u):e(300)==t[e(395)]&&o[e(370)](l)[e(352)]?this[e(372)](l,u,t[e(325)]):this[e(446)](l,u,t[e(352)]):null}[r(409)](t,e){const n=r,o=this[n(366)][n(458)],i=this[n(366)][n(365)][n(317)][n(432)](t[n(296)]),s=o[n(321)](i);return new u({type:n(304),modelRange:s,domNode:e,offset:0})}[r(372)](t,e,n){const o=r,i=this[o(366)][o(458)],s=this[o(366)][o(365)][o(317)],a=this[o(366)][o(365)][o(349)][o(332)];if(n>=e[o(445)])return null;const c=s[o(370)](t),l=i[o(343)](c),f=s[o(283)](t),h=a[o(308)](f);return new u({type:o(300),modelRange:l,domNode:e,offset:p(e,n,h)})}[r(446)](t,e,n){const o=r,s=this[o(366)][o(458)],a=this[o(366)][o(365)],c=a[o(317)],l=a[o(349)][o(332)],p=c[o(283)](t),f=c[o(432)](p),d=function(t){const e=o,n=t[e(296)],i=n[e(431)][e(438)][e(458)],s=n[e(448)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(311)))return r;if(!i[e(344)](n)[e(307)](t))return r;r=n}}(s[o(344)](f))||f;let g=c[o(292)](d),m=s[o(321)](d);const b=s[o(344)](d)[o(408)];if(b&&b.is(o(422),o(375))){const t=c[o(292)](b),e=l[o(308)](t),n=i.global[o(392)][o(272)](e)[o(401)];o(460)!=n&&o(396)!=n||(m=s[o(321)](b))}for(;g[o(296)]!==g[o(431)]&&0===g[o(327)];)g=g[o(296)];const w=new i.Rect(I(e)?e:h(e)),k=n?w[o(284)]-n:0,v=l[o(308)](g),y=new i.Rect(v);return new u({type:o(422),modelRange:m,domNode:v,offset:Math[o(285)](k)?k+w[o(305)]-y[o(305)]:0})}get[r(449)](){const t=r,e=this[t(366)][t(412)][t(426)](t(282));return Object[t(356)]({top:t(425),bottom:t(425),left:t(425),right:t(425)},e)}static[r(380)](t,e,n,o,i){return m(t,e,n,o,i)}}function c(t,e){const n=l();return(c=function(t,e){return n[t-=270]})(t,e)}class u{[r(395)];[r(288)];[r(340)];[r(299)];constructor({type:t,modelRange:e,domNode:n,offset:o}){const i=r;this[i(395)]=t,this[i(288)]=e,this[i(340)]=n,this[i(299)]=o}get[r(352)](){const t=r;if(!this[t(340)][t(334)][t(382)][t(348)](this[t(340)]))return 0;const e=new i.Rect(I(this[t(340)])?this[t(340)]:h(this[t(340)]));return t(304)==this[t(395)]?e[t(305)]+e[t(284)]/2:e[t(305)]+this[t(299)]}}function l(){const t=["join","closest","absolute","ready","ceil","bind","_pagesContainer","editing","editor","endOffset","2VRlzPa","shift","toModelPosition","low","_mapTextPageStarterInfoToPageBreakInfo","render","change:isEnabled","imageBlock","complete","update","floor","52962aoJoSk","_findPageStarterInfos","childNodes","body","TEXT_NODE","table-row","all","_onUiReady","img","destroy","cloneNode","parentNode","pageBreaks","window","locale","setStart","type","right","init","offsetParent","removeAttribute","_recalculatePageBreaks","float","auto","nextSibling","nextElementSibling","plugins","_updatePageBreaksData","path","nodeBefore","_mapManualPageStarterInfoToPageBreakInfo","PaginationLookup","8JkqgQK","config","style","attributeStyleMap","map","991383oOOsYp","hasAttribute","remove","getClientRects","indexOf","bindTemplate","element","once","_recalculatePageBreaksDebounced","10mm","get","bottom","paddingRight","isOfficialPlugin","setTemplate","root","toModelElement","isEnabled","addEventListener","append","scrollLeft","ELEMENT_NODE","document","firstChild","nodeType","pluginName","getDomRoot","href","class","length","_mapElementPageStarterInfoToPageBreakInfo","selectNodeContents","getAncestors","_configuredPaddings","figure.image","load","212618dWSZJO","ck-reset","fromCharCode","then","none","dataset","model","values","left"," 0 ","querySelectorAll","classList","getComputedStyle","pagination-config-not-found","sort","set","resolve","startContainer","74524hTqVvK","width","every","cancel","pagination.pageMargins","findMappedViewAncestor","height","round"," - ","paddingLeft","modelRange","insertBefore","startOffset","previousElementSibling","toViewElement","entries","isPremiumPlugin","100px","parent","setEnd","87111hnVuRk","_offset","text","div","endContainer","push","manual","top","DOCUMENT_POSITION_PRECEDING","isTouching","mapViewToDom","_mapPageStarterInfoToPageBreakInfo","error","rootElement","3318597VpgxPa","display","listenTo","3348140GlemJm","from","mapper","domRoots","race","PaginationEditing","createRangeOn","ck-fake-selection-container","clear","position","textOffset","page-break","index","-99999px","selectNode","ck-pagination-view","pagination","domConverter","excludeScrollbarsAndBorders","ownerDocument","removeEventListener","calc( ","childElementCount","previousSibling","rootName","_domNode","domPositionToView","_getAttachedDomRoot","createRange","createPositionBefore","border-box","55ZhzBQI","parentElement","contains","view","table-cell","className","offset","afterInit","hidden",".page-break","assign","compareDocumentPosition"];return(l=function(){return t})()}function p(t,e,n){const o=r,s=h(t),a=function(t){const e=c,n=i.global[e(438)][e(343)]();return n[e(447)](t),n}(n);let u;u=0==e?g(a[o(277)],a[o(290)],t[o(390)],Array[o(316)](t[o(390)][o(381)])[o(420)](t)):g(a[o(277)],a[o(290)],t,e);const l=g(t,e,a[o(302)],a[o(367)]),p=new i.Rect(u)[o(427)];return(new i.Rect(l)[o(305)]+p)/2-new i.Rect(s)[o(305)]}function f(t){const e=r;return t[e(417)](e(279))&&t[e(417)](e(284))?Promise[e(276)]():new Promise(n=>{const o=e;function i(){const e=c;t[e(335)](e(451),i),t[e(335)](e(310),i),n()}t[o(376)]?n():(t[o(434)](o(451),i),t[o(434)](o(310),i))})}function h(t){const e=r,n=i.global[e(438)][e(343)]();return n[e(329)](t),n}function d(t,e,n){const o=r,s=i.global[o(438)][o(343)]();return s[o(394)](t,e),s[o(297)](t,n),s}function g(t,e,n,o){const s=r,a=i.global[s(438)][s(343)]();return a[s(394)](t,e),a[s(297)](n,o),a}function m(t,e,n,o,i){const s=r,a=[];for(const[r,c]of t[s(381)][s(293)]()){let t=[];I(c)&&c[s(398)]&&!c[s(413)][s(324)]?t=b(c,r,e,n,o,i):y(c)&&(t=w(c,r,e,n,i)),t[s(445)]&&(a[s(303)](...t),e+=t[s(445)]*n,i=!1)}return a}function b(t,e,n,o,s,a){const c=r,u=[];var l;if((l=t[c(338)])&&I(l)&&Boolean(l[c(271)][c(348)](c(326))||l[c(359)](c(355)))&&(u[c(303)]({type:c(304),offset:0,path:[e-1]}),a=!0),c(384)==i.global[c(392)][c(272)](t)[c(313)]){let o=0,i=!1;for(const e of t[c(419)]())o+=e[c(284)],e[c(460)]>=n&&(i=!0);if(o<s&&i)return u[c(303)]({type:c(422),offset:0,path:[e]}),u}const p=t[c(359)](c(450));if(p&&function(t){const e=c;let n=!1;const o=t[e(347)][e(457)][e(339)],s=t[e(404)],r=t[e(291)],a=s&&i.global[e(392)][e(272)](s)[e(401)],u=s&&e(322)===s[e(351)];return!o||s||r||(n=!0),o&&!r&&u&&(n=!0),o&&!r&&e(456)!==a&&(n=!0),!n}(p)){const t=i.global[c(392)][c(272)](p)[c(401)];if(c(460)==t||c(396)==t)return u}const f=m(t,n,o,s,a);if(f[c(445)]){for(const t of f)u[c(303)]({type:t[c(395)],offset:t[c(352)],textOffset:t[c(325)],path:[e,...t[c(407)]]}),n+=o,a=!1;return u}return u[c(303)](...function(t,e,n,o,s){const r=c,a=[];if(r(350)==i.global[r(392)][r(272)](t)[r(313)])return[];const u=[];for(const e of t[r(419)]())if(e[r(460)]>=n){for(const t of u)t[r(284)]+=e[r(284)];u[r(303)]({height:e[r(284)]}),n+=o}for(const t of u)s||a[r(303)]({type:r(422),offset:t[r(284)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,o,a)),u}function w(t,e,n,o,i){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(419)]())if(r[s(460)]>=n){const r=k(t,u,n,o);i||c[s(303)]({type:s(300),path:[e],textOffset:r}),u=r,n+=o,i=!1}return c}function k(t,e,n,o){const i=r;let s=e,a=t[i(445)];for(;a-s>1;){const e=Math[i(362)]((s+a)/2);v(d(t,s,e),n,o)?a=e:s=e}return s}function v(t,e,n){const o=r;for(const i of t[o(419)]())if(i[o(460)]>=e&&i[o(460)]<e+n)return!0;return!1}function I(t){const e=r;return t[e(440)]==Node[e(437)]}function y(t){const e=r;return t[e(440)]==Node[e(383)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),A=n.n(S),E=n(667),R=n.n(E),T=n(357),C=n.n(T),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),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 D(){const t=["16260580hMhPJb","setTemplate","7273EjhPAR","829457kFZuRk","width","top","10123443fPgWfe","bindTemplate","4uBNDWJ","set","116FRdvaL","760566EHohhW","div","pageNumber","ck-pagination-view-line","564hEARWr","17350mIwSDX","ck-hidden","isVisible","left","1860624ZmsctP"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(609692===-parseInt(e(462))/1+-parseInt(e(467))/2*(-parseInt(e(470))/3)+-parseInt(e(469))/4*(-parseInt(e(475))/5)+parseInt(e(474))/6*(parseInt(e(461))/7)+parseInt(e(458))/8+-parseInt(e(465))/9+parseInt(e(459))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,i.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(466)];this[t(468)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(460)]({tag:t(471),attributes:{"data-page-number":e.to(t(472)),class:["ck",t(473),e.if(t(477),t(476),t=>!t)],style:{left:e.to(t(457),t=>M(t)),top:e.to(t(464),t=>M(t)),width:e.to(t(463),t=>M(t))}}})}}const G=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=390]})(t,e)}function j(){const t=["3983889DvDjbo","isVisible","_visibleLines","63HISULo","cleanLines","6ngEqoD","setViewCollection","remove","size","693584MHdVkS","destroy","_hiddenLines","add","showLine","set","delete","has","3282831XIRSol","2537040DztxLU","clear","355857NTQoUX","values","body","_viewCollection","view","4074196zwXaqB","340586cISJps"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(614969===parseInt(e(404))/1+-parseInt(e(410))/2+parseInt(e(401))/3+parseInt(e(409))/4+-parseInt(e(402))/5+parseInt(e(416))/6*(-parseInt(e(411))/7)+parseInt(e(393))/8*(-parseInt(e(414))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[G(407)];[G(413)]=new Set;[G(395)]=new Set;constructor(t){const e=G;this[e(407)]=t.ui[e(408)][e(406)]}[G(394)](){const t=G;for(const e of this[t(395)])e[t(394)]()}[G(415)](){const t=G;for(const e of this[t(413)])e[t(412)]=!1,this[t(395)][t(396)](e);this[t(413)][t(403)]()}[G(397)](t,e,n,o){const s=G;let r;this[s(395)][s(392)]?(r=(0,i.first)(this[s(395)][s(405)]()),this[s(395)][s(399)](r)):r=new K,r[s(398)]({pageNumber:o,left:t,top:e,width:n}),r[s(412)]=!0,this[s(407)][s(400)](r)||this[s(407)][s(396)](r),this[s(413)][s(396)](r)}[G(390)](t){const e=G;for(const t of[...this[e(413)],...this[e(395)]])this[e(407)][e(400)](t)&&this[e(407)][e(391)](t);this[e(407)]=t}}const F=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(174685===-parseInt(e(297))/1*(-parseInt(e(325))/2)+parseInt(e(265))/3+parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(288))/6+-parseInt(e(251))/7*(-parseInt(e(324))/8)+parseInt(e(291))/9+-parseInt(e(280))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const W=F(295);class q extends t.Plugin{[F(323)];[F(270)]=null;[F(286)]=null;[F(272)];static get[F(245)](){return F(311)}static get[F(289)](){return!0}static get[F(275)](){return!0}[F(279)](){const t=F;this[t(273)]({pageNumber:1}),this[t(323)]=new U(this[t(307)]),this[t(270)]=null,this[t(286)]=null,this[t(272)]=this[t(307)][t(314)][t(248)](t(293)),this[t(269)](t(315)).to(this[t(307)][t(314)][t(248)](t(246))),this[t(307)].ui[t(298)](t(254),()=>this[t(299)]()),this[t(312)](W),this.on(t(320),(e,n,o)=>{const i=t;o||this[i(323)][i(284)](),this[i(312)](W,o)})}[F(290)](){const t=F;this[t(312)](W,!1),this[t(323)][t(290)](),this[t(270)]=null,this[t(286)]&&this[t(286)][t(290)]()}[F(256)](t){const e=F;if(!this[e(315)])return;const n=t>1?this[e(285)](t-1):0;this[e(270)][e(282)]({top:n-10,left:this[e(270)][e(301)],behavior:i.env[e(277)]?e(260):e(294)})}[F(303)](){const t=F,e=this[t(307)],n=this[t(310)]();n?(this[t(270)]&&e.ui[t(262)][t(274)](this[t(270)],t(300)),this[t(270)]=function(e){const n=t;let o=e;do{o=o[n(309)];const t=i.global[n(264)][n(252)](o)[n(249)];if(n(278)==t||n(300)==t)break}while(n(261)!=o[n(242)]);return o}(n),e.ui[t(262)][t(244)](this[t(270)],t(300),()=>{this[t(247)]()},{usePassive:!0}),this[t(286)]&&this[t(286)][t(290)](),this[t(286)]=new i.ResizeObserver(this[t(270)],()=>{this[t(247)]()})):e.ui[t(298)](t(292),()=>this[t(303)]())}[F(299)](){const t=F,e=this[t(307)];this[t(310)]()?(this[t(303)](),e.ui[t(262)][t(244)](i.global[t(264)],t(304),()=>this[t(247)]()),this[t(244)](this[t(272)],t(243),()=>this[t(247)]())):e.ui[t(298)](t(292),()=>this[t(299)]())}[F(310)](){const t=F;for(const e of this[t(307)][t(305)][t(262)][t(308)][t(257)]())if(e[t(302)][t(313)][t(306)](e))return e;return null}[F(247)](){const t=F;if(!this[t(315)])return;const e=this[t(310)](),n=this[t(272)][t(322)];if(this[t(323)][t(284)](),!e||1==n[t(317)])return void(this[t(321)]=1);const o=new i.Rect(e)[t(316)](),s=new i.Rect(this[t(270)])[t(316)](),r=s[t(296)]+s[t(263)]/3;let a=!1;const c=[];for(let e=1;e<n[t(317)];e++){const n=this[t(285)](e,s);if(!n)continue;const i=s[t(296)]+n-this[t(270)][t(267)];c[t(319)]({pageOffsetTop:i,domRootRect:o,domScrollableRect:s,pageNumber:e}),i>r&&!a&&(this[t(321)]=e,a=!0)}this[t(276)](c),a||(this[t(321)]=n[t(317)])}[F(276)](t){const e=F,{scrollX:n,scrollY:o}=i.global[e(264)];if(t[e(317)])for(const{domScrollableRect:i,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)i[e(296)]<s&&s<i[e(250)]&&this[e(323)][e(266)](r[e(253)]+n,s+o,r[e(258)],a+1)}[F(285)](t,e=null){const n=F,o=this[n(272)][n(322)][t][n(255)];return o?(e||(e=new i.Rect(this[n(270)])[n(316)]()),o-e[n(296)]+this[n(270)][n(267)]):0}[F(312)](t,e=!0){const n=F,o=this[n(307)][n(305)][n(262)];o[n(283)](i=>{const s=n;for(const n of o[s(259)][s(287)])e?i[s(241)](t,n):i[s(318)](t,n)})}}function H(){const t=["plugins","isEnabled","excludeScrollbarsAndBorders","length","removeClass","push","change:isEnabled","pageNumber","pageBreaks","linesRepository","407224GUQAvN","1182FxKRqA","addClass","tagName","change:pageBreaks","listenTo","pluginName","PaginationEditing","_updatePageBreakLines","get","overflowY","bottom","21FGQdaH","getComputedStyle","left","ready","offset","scrollToPage","values","width","document","instant","BODY","view","height","window","256362sjIDIR","showLine","scrollTop","45034tETCoD","bind","_scrollableEditingRootDomAncestor","149924BlMart","_paginationLookupPlugin","set","stopListening","isPremiumPlugin","_renderPageBreakLines","isMotionReduced","auto","init","330ogqvsu","20MqMATz","scrollTo","change","cleanLines","_getPageBreakLineOffset","_resizeObserver","roots","907476gIzfgA","isOfficialPlugin","destroy","2488149IEWGwg","update","PaginationLookup","smooth","ck-pagination_enabled","top","163cuwsNV","once","_onUiReady","scroll","scrollLeft","ownerDocument","setupScrollableAncestor","resize","editing","contains","editor","domRoots","parentElement","_getAttachedDomRoot","PaginationRenderer","_toggleEditingRootsClass","body"];return(H=function(){return t})()}function J(t,e,...n){const o=t.t;switch(e){case"Go to next page":return o("Go to next page");case"Go to previous page":return o("Go to previous page");case"Current page number (from 1 to %0)":return o("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return o("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return o("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return o("Go to the next page (also move selection)");default:return e}}var X=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=R(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(X.A,Q);X.A&&X.A.locals&&X.A.locals;const Z=Y;function Y(t,e){const n=$();return(Y=function(t,e){return n[t-=468]})(t,e)}function $(){const t=["model","domainLimit","49975222UHuCeL","length","Shift+Pagedown","type","isEnabled","change:pageBreaks","index","editing","name","requires","setAttribute","paginationLicenseKeyValid","text","paginationLicenseKeyExpired","_setUpDataDowncastConversion","scrollToPage","element","invalid","has","expired","676418cWNZNf","getNearestSelectionRange","destroy","forward","paginationLicenseKeyNotAllowed","options","consume","isPremiumPlugin","paginationLicenseKeyUsageLimit","add","7432328ndEoyg","consumable","getFillerOffset","checkChild","root","Pagination","24IDHITe","Go to the previous page (also move selection)","193899NuXOvV","view","paginationLicenseKeyTrialLimit","$text","stop","_showLicenseError","pagination","plugins","insert","evaluationLimit","7RwvWIO","data","accessibility","paginationLicenseKeyInvalid","PaginationEditing","locale","end","conversion","textNode","1639552JHSocS","updateMarker","10gSRHQS","focus","26TiBrZb","_updatePageBreakMarkers","schema","addMarker","setSelection","Keystrokes for navigating through documents","paginationLicenseKeyEvaluationLimit","data-pagination-page","addMarker:","mapper","_validatePageNumber","isOfficialPlugin","config","_setupKeystrokes","markers","writer","manual","pageNumber","pluginName","createPositionAt","substring","createContainerElement","toViewPosition","Go to the next page (also move selection)","page-break-before","always","dataDowncast","796170cCxeEu","editor","init","span","set","paginationLicenseKeyDomainLimit","parent","hasClass","featureNotAllowed","page-break","_licenseKeyCheckInterval","licenseKey","goToNextPage","addKeystrokeInfoGroup","moveSelectionToPage","keystrokes","usageLimit","toViewElement","pageBreaks","for","modelRange","goToPreviousPage","bindElementToMarker","setStyle","totalPages","get","pagination:","getContainedElement","start","listenTo","offset","removeMarker","trialLimit","nodeAfter","change","4200381nogMNU","Shift+Pageup","bind"];return($=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(583981===-parseInt(e(562))/1+parseInt(e(475))/2*(-parseInt(e(580))/3)+-parseInt(e(471))/4+-parseInt(e(502))/5*(parseInt(e(578))/6)+parseInt(e(590))/7*(-parseInt(e(572))/8)+parseInt(e(537))/9*(-parseInt(e(473))/10)+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(513)];[Z(512)];static get[Z(493)](){return Z(594)}static get[Z(486)](){return!0}static get[Z(569)](){return!0}static get[Z(551)](){return[a,q]}[Z(504)](){const t=Z;this[t(506)]({pageNumber:1,totalPages:1});const e=this[t(503)][t(587)][t(527)](t(577)),n=this[t(503)][t(587)][t(527)](a),o=this[t(503)][t(587)][t(527)](q);this[t(539)](t(546)).to(e),this[t(556)](),this[t(539)](t(492)).to(o),this[t(531)](n,t(547),(e,n,o,i)=>{const s=t;this[s(526)]=o[s(543)],this[s(476)](o,i)}),this[t(488)](),this[t(513)]=this[t(503)][t(487)][t(527)](t(513));const i=this[t(503)];this[t(512)]=setInterval(()=>{const e=t;let n;for(const t in i){const o=t,s=i[o];if(e(553)==s||e(593)==s||e(555)==s||e(507)==s||e(566)==s||e(481)==s||e(582)==s||e(570)==s){delete i[o],n=s,clearInterval(this[e(512)]),this[e(512)]=void 0;break}}e(593)==n&&i[e(585)](e(559)),e(555)==n&&i[e(585)](e(561)),e(507)==n&&i[e(585)](e(541)),e(566)==n&&i[e(585)](e(510),e(577)),e(481)==n&&i[e(585)](e(589)),e(582)==n&&i[e(585)](e(534)),e(570)==n&&i[e(585)](e(518))},1e3)}[Z(564)](){const t=Z;super[t(564)](),this[t(512)]&&clearInterval(this[t(512)])}[Z(557)](t){const e=Z;this[e(546)]&&this[e(503)][e(587)][e(527)](q)[e(557)](this[e(485)](t))}[Z(516)](t){const e=Z;if(!this[e(546)])return;const n=this[e(503)],o=this[e(503)][e(587)][e(527)](a)[e(520)][t-1];o&&n[e(540)][e(536)](t=>{const i=e;switch(o[i(545)]){case i(491):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(468)],i(565));t[i(479)](e);break}case i(558):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(530)],i(565));t[i(479)](e);break}case i(554):{const e=o[i(522)][i(530)];if(e[i(470)]&&" "===e[i(470)][i(591)][e[i(532)]]){const n=t[i(494)](e[i(508)],e[i(532)]+1);t[i(479)](n)}else t[i(479)](o[i(522)])}}n[i(549)][i(581)][i(474)]()})}[Z(514)](){const t=Z,e=this[t(485)](this[t(492)]+1);this[t(516)](e),this[t(557)](e)}[Z(523)](){const t=Z,e=this[t(485)](this[t(492)]-1);this[t(516)](e),this[t(557)](e)}[Z(476)](t,e){const n=Z,o=this[n(503)][n(540)];this[n(546)]&&o[n(536)](i=>{const s=n;for(let e=1;e<t[s(543)];e++){const n=t[e][s(522)],r=s(528)+(e+1);o[s(489)][s(560)](r)?i[s(472)](r,{range:n}):i[s(478)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(543)];n<e[s(543)];n++){const t=s(528)+(n+1);o[s(489)][s(560)](t)&&i[s(533)](t)}})}[Z(556)](){const t=Z,e=t(586);this[t(503)][t(469)][t(521)](t(501))[t(571)](n=>{const o=t;n.on(o(483)+e,(t,{markerRange:e,markerName:n},i)=>{const s=o;if(!i[s(567)][s(586)])return;if(!i[s(573)][s(568)](e,t[s(550)]))return;const r=e[s(529)]();let a=r?i[s(484)][s(519)](r):null;if(!a){const t=e[s(530)];if(i[s(477)][s(575)](t,s(583))){const e=i[s(484)][s(497)](t);a=i[s(490)][s(496)](s(505)),a[s(574)]=()=>null,i[s(490)][s(588)](e,a)}else{const e=t[s(535)];a=i[s(484)][s(519)](e)}}for(;a[s(508)]!==a[s(576)]&&0===a[s(548)];)a=a[s(508)];const c=n[s(495)](11);a[s(509)](s(511))||(i[s(490)][s(525)](s(499),s(500),a),i[s(490)][s(552)](s(482),c,a),i[s(484)][s(524)](a,n)),t[s(584)]()})})}[Z(488)](){const t=Z,e=this[t(503)];e[t(517)][t(506)](t(538),(e,n)=>{this[t(523)](),n()}),e[t(517)][t(506)](t(544),(e,n)=>{this[t(514)](),n()}),e[t(592)][t(515)]({id:t(586),label:J(e[t(595)],t(480)),keystrokes:[{label:J(e[t(595)],t(579)),keystroke:t(538),mayRequireFn:!0},{label:J(e[t(595)],t(498)),keystroke:t(544),mayRequireFn:!0}]})}[Z(485)](t){const e=Z;return t<1&&(t=1),t>this[e(526)]&&(t=this[e(526)]),t}}var et=n(355),nt=n(953),ot={attributes:{"data-cke":!0}};ot.setAttributes=R(),ot.insert=A().bind(null,"head"),ot.domAPI=N(),ot.insertStyleElement=C();x()(nt.A,ot);nt.A&&nt.A.locals&&nt.A.locals;const it=rt;function st(){const t=["totalPages","ArrowUp","isNaN","3048ESDxSy","ArrowDown","ck-page-navigator","max","listenTo","focus","key","keyCode","ck-disabled","change:pageNumber","1359KIcImJ","isReadOnly","set","24FFOaOk","keydown","pageNumber","checkValidity","value","Current page number (from 1 to %0)","setTemplate","blur","2338806QcNgxe","11QpuVet","ariaLabel","bindTemplate","447FwnUOg","div","3269513syAOAj","188qhwADC","7evUhBF","2198IyWJBz","5958850gmSxMT","numeric","firstChild","fire","select","bind","27128gqsfBG","enter","navigation","span","pageNumberView","element","2238870cfRARP","render","stopPropagation","isEnabled","valueAsNumber","preventDefault"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(325725===parseInt(e(382))/1*(parseInt(e(384))/2)+-parseInt(e(431))/3*(parseInt(e(406))/4)+parseInt(e(397))/5+parseInt(e(427))/6*(parseInt(e(383))/7)+parseInt(e(391))/8*(-parseInt(e(416))/9)+-parseInt(e(385))/10*(parseInt(e(428))/11)+parseInt(e(419))/12*(parseInt(e(381))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[it(395)];constructor(t){const n=it;super(t);const o=this[n(430)];this[n(418)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(395)]=new e.InputNumberView(t,{min:1,step:1}),this[n(395)][n(418)]({inputMode:n(386),tabIndex:-1}),this[n(395)][n(390)](n(429)).to(this,n(403),e=>J(t,n(424),e)),this[n(395)][n(390)](n(409)).to(this,n(403)),this[n(395)][n(390)](n(417)).to(this,n(400),t=>!t),this[n(425)]({tag:n(380),attributes:{class:["ck",n(408),o.if(n(400),n(414),t=>!t)]},children:[this[n(395)],{tag:n(394),children:[{text:o.to(n(403))}]}]})}[it(398)](){const t=it;super[t(398)]();const e=this[t(395)][t(396)],n=e=>{const n=t;this[n(395)][n(396)][n(423)]=String(e)};n(this[t(421)]),this.on(t(415),(t,e,o)=>{n(o)}),this[t(410)](e,t(420),(n,o)=>{const s=t;if(s(404)===o[s(412)]||s(407)===o[s(412)])return void o[s(399)]();if(o[s(413)]!==i.keyCodes[s(392)])return;o[s(402)]();const r=e[s(401)];Number[s(405)](r)?e[s(423)]=String(this[s(421)]):(e[s(422)]()?this[s(421)]=r:r>this[s(403)]?(this[s(421)]=this[s(403)],e[s(423)]=String(this[s(403)])):(this[s(421)]=1,e[s(423)]="1"),this[s(388)](s(393),this[s(421)]))}),this[t(410)](e,t(426),()=>{const n=t;e[n(423)]=String(this[n(421)])}),this[t(410)](e,t(411),()=>{const e=t;this[e(395)][e(389)]()})}[it(411)](){const t=it;this[t(396)][t(387)][t(411)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["3056200dXAgMI","pageNavigation","50AlehcC","Go to next page","bind","1531920WTQHuK","keystroke","icon","execute","tooltip","1617868uzNFei","init","50rJOMwS","PaginationEditing","moveSelectionToPage","12912lSgYEZ","plugins","isOfficialPlugin","goToNextPage","label","613570OjnClw","Shift+PageDown","isPremiumPlugin","Go to previous page","pluginName","navigation","locale","get","totalPages","componentFactory","282132OdtGQk","45585eOJpsU","add","listenTo","goToPreviousPage","previousPage","pageNumber","PaginationUI","243LRajff","scrollToPage","editor","isEnabled","Shift+PageUp","nextPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(252305===-parseInt(e(361))/1+parseInt(e(342))/2*(parseInt(e(345))/3)+-parseInt(e(335))/4+-parseInt(e(332))/5*(parseInt(e(360))/6)+-parseInt(e(340))/7+-parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(350))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(354)](){return ct(323)}static get[ct(347)](){return!0}static get[ct(352)](){return!0}[ct(341)](){const t=ct,n=this[t(326)],o=n[t(346)][t(357)](t(343));n.ui[t(359)][t(362)](t(331),e=>{const n=t,i=new at(e);return i[n(334)](n(322)).to(o),i[n(334)](n(358)).to(o),i[n(334)](n(327)).to(o),i.on(n(355),(t,e)=>{const i=n;o[i(344)](e),o[i(325)](e)}),i}),n.ui[t(359)][t(362)](t(329),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(333)),r[s(337)]=et.IconArrowDown,r[s(339)]=!0,r[s(336)]=s(351),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(348)]()}),r}),n.ui[t(359)][t(362)](t(365),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(353)),r[s(337)]=et.IconArrowUp,r[s(339)]=!0,r[s(336)]=s(328),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(364)]()}),r})}}function ft(){const t=["9688984jahoCI","set","totalPages","Pagination","isEnabled","scrollToPage","get","pageNumber","329484tFEgKZ","requires","config","isBlink","15tCOlEa","6wNPwTn","13210MqIHRx","ready","3260kPeyGI","bind","pluginName","isPremiumPlugin","166zzeLKJ","browserCheck","forceDisabled","init","5191080oXWmsE","11cyPJcl","5949WCXRxP","5489505MaUzRA","2122674RiiSin","plugins","pagination.enableOnUnsupportedBrowsers","editor","isOfficialPlugin"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=175]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(612332===-parseInt(e(198))/1*(parseInt(e(202))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+parseInt(e(194))/5*(parseInt(e(177))/6)+-parseInt(e(176))/7+parseInt(e(182))/8+parseInt(e(175))/9*(-parseInt(e(196))/10)+-parseInt(e(207))/11*(-parseInt(e(206))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(200)](){return ht(185)}static get[ht(181)](){return!0}static get[ht(201)](){return!0}static get[ht(191)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(186)]=!1}[ht(205)](){const t=ht;this[t(183)]({pageNumber:1,totalPages:1});const e=this[t(180)][t(178)][t(188)](tt);this[t(199)](t(189)).to(e),this[t(199)](t(184)).to(e),i.env[t(193)]||this[t(180)][t(192)][t(188)](t(179))?this[t(180)].on(t(197),()=>{this[t(186)]=!0}):this[t(204)](t(203))}[ht(187)](t){const e=ht;this[e(180)][e(178)][e(188)](tt)[e(187)](t)}}function mt(){var t=["290344vDiFxn","2GcJXCS","752MKizyA","138IYkmup","18529wrWTle","812826TKVUYl","20490ILLurf","3602576eFCAPH","2212113GAPxDj","11opuKXB","14288510QRVmKH"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=234]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(390117===-parseInt(e(242))/1+parseInt(e(243))/2*(parseInt(e(239))/3)+parseInt(e(244))/4*(parseInt(e(237))/5)+-parseInt(e(234))/6*(-parseInt(e(235))/7)+parseInt(e(238))/8+parseInt(e(236))/9+-parseInt(e(241))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=o})();
|
|
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 o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,o,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)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]);o&&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),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),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 o(t,e,o,i){var s;if(o)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.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 i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){o(n,e,!1,t)},remove:function(t){o(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,o=0;o<e.length;o++)if(e[o].identifier===t){n=o;break}return n}function o(t,o){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=o.base?c[0]+o.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=i(h,o);o.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function i(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,i){var s=o(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=o(t,i),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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={id:o,exports:{}};return t[o](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 o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";n.r(o),n.d(o,{Pagination:()=>gt,PaginationRenderer:()=>z});var t=n(782),e=n(311),i=n(584);function s(t,e,{signal:n,edges:o}={}){let i,s=null;const r=null!=o&&o.includes("leading"),a=null==o||o.includes("trailing"),c=()=>{null!==s&&(t.apply(i,s),i=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(),i=void 0,s=null},h=function(...t){if(n?.aborted)return;i=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=a;function a(t,e){const n=m();return(a=function(t,e){return n[t-=182]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(671934===parseInt(e(200))/1+-parseInt(e(309))/2+parseInt(e(231))/3*(parseInt(e(267))/4)+-parseInt(e(371))/5+parseInt(e(227))/6+-parseInt(e(297))/7+-parseInt(e(356))/8*(parseInt(e(258))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(m);class c extends t.Plugin{[r(218)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:o=!1,trailing:i=!0,maxWait:r}=n,a=Array(2);let c;o&&(a[0]="leading"),i&&(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(283)](),200);[r(229)]=null;static get[r(370)](){return r(344)}static get[r(368)](){return!0}static get[r(360)](){return!0}[r(205)](){const t=r;if(this[t(369)]({pageBreaks:[]}),!this[t(280)][t(212)][t(248)](t(254)))return void(0,i.logWarning)(t(323),this[t(280)][t(212)]);const e=this[t(280)][t(237)][t(248)](t(294));this[t(362)](t(358)).to(e),this[t(280)].ui[t(247)](t(331),()=>this[t(366)]()),this.on(t(335),(e,n,o)=>{o&&this[t(218)]()})}[r(242)](){!async function(t){const e=m([53,77,101,106,71,89,99,90,81,97,98,121,50,74,65,51,73,122,108,111,109,105,107,48,119,52,88,120,115,84,113,85,70,72,56,79,69,75,55,66,82,118,76,87,83,67,100,54,49,57,114,103,110,116,104,86,102,80,78,112,117,68]),n=window[m([68,97,116,101])][m([110,111,119])](),o=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{o[m([111,110,99,101])](m([114,101,97,100,121]),t)}),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=o[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;o[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,o)=>{o[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 o=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+o,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,o])=>{n(e),t(o)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=a;return t[e(251)](t=>String[e(364)](t))[e(345)]("")}!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([77]);for(let o=0;o<t[m([108,101,110,103,116,104])];o+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](o,o+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();o[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,o[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,o[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,o[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),o={...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 o[m([118,99])],f(o)==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(),o[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,i.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(o){a(o)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),o=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,o)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*i: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)})}}o[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])}),o[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 o[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(){o[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 o=c[m([115,112,108,105,116])](m([46])),[i,s,r]=o;return e(i),await n(i,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,o){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(o),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,i,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:1751414400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:o}=new URL(window[m([108,111,99,97,116,105,111,110])][e(186)]);if(n[m([105,110,99,108,117,100,101,115])](o))return!0;const i=o[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])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[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=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(324)](){const t=r;super[t(324)](),this[t(229)]&&(this[t(218)][t(199)](),this[t(229)][t(324)](),this[t(229)][t(349)][t(326)]())}[r(366)](){const t=r,n=this[t(280)],o=n[t(209)][t(305)],i=this[t(238)]();if(!i||0===i[t(312)])return void n.ui[t(247)](t(325),()=>this[t(366)]());const{pageWidth:s,pageHeight:a}=n[t(212)][t(248)](t(254)),{top:c,left:u,bottom:l,right:p}=this[t(343)];this[t(229)]=new e.View(n[t(263)]);const f=this[t(229)];f[t(369)](t(188),""),f[t(285)]({tag:t(240),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(352)+a+t(295)+c+t(295)+l+" )",minWidth:t(217),minHeight:t(217),padding:"0 "+p+t(230)+u,columnGap:t(271),border:0,boxSizing:t(308),columnCount:t(217),columnFill:t(217),overflow:t(259),position:t(342),top:t(306),left:t(306)},tabindex:"-1",class:f[t(202)].to(t(188))}}),f[t(195)](),i[t(304)][t(270)](f[t(349)],i[t(350)]),this[t(222)](o,t(195),()=>this[t(218)](),{priority:t(329)}),this[t(218)]()}[r(238)](){const t=r;for(const e of this[t(280)][t(209)][t(305)][t(225)][t(215)]())if(e[t(196)][t(252)][t(313)](e))return e;return null}[r(283)](){const t=r;if(!this[t(358)])return Promise[t(293)]();const e=this[t(280)][t(209)][t(305)],n=this[t(229)],o=this[t(238)]();if(!o)return Promise[t(293)]();for(n[t(188)]=[t(353),t(211),...o[t(189)]][t(345)](" ");n[t(349)][t(253)];)n[t(349)][t(253)][t(326)]();const i=Array[t(276)](e[t(225)]);i[t(221)](([,e],[,n])=>e[t(233)](n)==Node[t(315)]?1:-1);for(const[e,o]of i){const i=o[t(206)](!0);t(191)in i&&i[t(191)][t(339)](),i[t(269)]="",i[t(322)]("id"),i[t(193)][t(185)]=e,n[t(349)][t(220)](i)}return function(e){const n=t;return Promise[n(197)](e[n(251)](t=>{return Promise[n(190)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(276)](n[t(349)][t(198)](t(268))))[t(228)](()=>this[t(187)]())}[r(187)](){const t=r,e=this[t(229)][t(349)];if(!e[t(196)][t(252)][t(313)](e))return;const n=new i.Rect(e)[t(256)](),o=i.global[t(292)][t(194)](e),s=parseFloat(o[t(300)])+parseFloat(o[t(354)]),a=Math[t(330)](n[t(301)]+100-s),c=g(e,Math[t(330)](n[t(213)]-e[t(333)]),a,n[t(249)])[t(251)](e=>this[t(264)](e));c[t(346)](t=>!!t)&&(this[t(311)]=c)}[r(264)](t){const e=r,n=this[e(280)][e(209)][e(305)],o=this[e(280)][e(209)][e(287)],i=n[e(236)],s=t[e(201)][e(288)](),a=this[e(229)][e(349)][e(337)][s][e(193)][e(185)],c=n[e(272)](a);if(!c)return null;const u=function(t,n){const o=e;let i=t;for(const t of n[o(201)]){if(!i)return null;i=i[o(337)][t]}return i}(c,t);if(!u)return null;const l=i[e(336)](u,t[e(241)]||0);return l?e(299)==t[e(279)]?this[e(338)](l,u):e(341)==t[e(279)]&&o[e(255)](l)[e(316)]?this[e(321)](l,u,t[e(241)]):this[e(284)](l,u,t[e(316)]):null}[r(338)](t,e){const n=r,o=this[n(280)][n(183)],i=this[n(280)][n(209)][n(287)][n(257)](t[n(216)]),s=o[n(357)](i);return new u({type:n(299),modelRange:s,domNode:e,offset:0})}[r(321)](t,e,n){const o=r,i=this[o(280)][o(183)],s=this[o(280)][o(209)][o(287)],a=this[o(280)][o(209)][o(305)][o(236)];if(n>=e[o(235)])return null;const c=s[o(255)](t),p=i[o(203)](c),f=s[o(289)](t),h=a[o(214)](f);return new u({type:o(341),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(284)](t,e,n){const o=r,s=this[o(280)][o(183)],a=this[o(280)][o(209)],c=a[o(287)],l=a[o(305)][o(236)],p=c[o(289)](t),h=c[o(257)](p),d=function(t){const e=o,n=t[e(216)],i=n[e(184)][e(239)][e(183)],s=n[e(277)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(361)))return r;if(!i[e(192)](n)[e(243)](t))return r;r=n}}(s[o(192)](h))||h;let g=c[o(278)](d),m=s[o(357)](d);const b=s[o(192)](d)[o(303)];if(b&&b.is(o(349),o(340))){const t=c[o(278)](b),e=l[o(214)](t),n=i.global[o(292)][o(194)](e)[o(372)];o(213)!=n&&o(224)!=n||(m=s[o(357)](b))}for(;g[o(216)]!==g[o(184)]&&0===g[o(182)];)g=g[o(216)];const w=new i.Rect(y(e)?e:f(e)),v=n?w[o(249)]-n:0,k=l[o(214)](g),I=new i.Rect(k);return new u({type:o(349),modelRange:m,domNode:k,offset:Math[o(291)](v)?v+w[o(351)]-I[o(351)]:0})}get[r(343)](){const t=r,e=this[t(280)][t(212)][t(248)](t(207));return Object[t(319)]({top:t(260),bottom:t(260),left:t(260),right:t(260)},e)}static[r(273)](t,e,n,o,i){return g(t,e,n,o,i)}}class u{[r(279)];[r(266)];[r(208)];[r(232)];constructor({type:t,modelRange:e,domNode:n,offset:o}){const i=r;this[i(279)]=t,this[i(266)]=e,this[i(208)]=n,this[i(232)]=o}get[r(316)](){const t=r;if(!this[t(208)][t(196)][t(252)][t(313)](this[t(208)]))return 0;const e=new i.Rect(y(this[t(208)])?this[t(208)]:f(this[t(208)]));return t(299)==this[t(279)]?e[t(351)]+e[t(249)]/2:e[t(351)]+this[t(232)]}}function l(t,e,n){const o=r,s=f(t),c=function(t){const e=a,n=i.global[e(239)][e(203)]();return n[e(282)](t),n}(n);let u;u=0==e?d(c[o(334)],c[o(245)],t[o(304)],Array[o(276)](t[o(304)][o(337)])[o(265)](t)):d(c[o(334)],c[o(245)],t,e);const l=d(t,e,c[o(286)],c[o(210)]),p=new i.Rect(u)[o(250)];return(new i.Rect(l)[o(351)]+p)/2-new i.Rect(s)[o(351)]}function p(t){const e=r;return t[e(281)](e(301))&&t[e(281)](e(249))?Promise[e(293)]():new Promise(n=>{const o=e;function i(){const e=a;t[e(296)](e(246),i),t[e(296)](e(365),i),n()}t[o(302)]?n():(t[o(363)](o(246),i),t[o(363)](o(365),i))})}function f(t){const e=r,n=i.global[e(239)][e(203)]();return n[e(274)](t),n}function h(t,e,n){const o=r,s=i.global[o(239)][o(203)]();return s[o(314)](t,e),s[o(355)](t,n),s}function d(t,e,n,o){const s=r,a=i.global[s(239)][s(203)]();return a[s(314)](t,e),a[s(355)](n,o),a}function g(t,e,n,o,i){const s=r,a=[];for(const[r,c]of t[s(337)][s(328)]()){let t=[];y(c)&&c[s(261)]&&!c[s(275)][s(234)]?t=b(c,r,e,n,o,i):I(c)&&(t=w(c,r,e,n,i)),t[s(235)]&&(a[s(327)](...t),e+=t[s(235)]*n,i=!1)}return a}function m(){const t=["listenTo","TEXT_NODE","right","domRoots","figure.image","3955446JUqHRn","then","_pagesContainer"," 0 ","3BYBYCt","_offset","compareDocumentPosition","position","length","domConverter","plugins","_getAttachedDomRoot","document","div","textOffset","afterInit","isTouching",".page-break","startOffset","load","once","get","height","bottom","map","body","firstChild","pagination","toModelPosition","excludeScrollbarsAndBorders","toModelElement","2439iwqDvE","hidden","10mm","offsetParent","nodeType","locale","_mapPageStarterInfoToPageBreakInfo","indexOf","modelRange","4800144AssKPV","img","className","insertBefore","100px","getDomRoot","_findPageStarterInfos","selectNode","style","from","getAncestors","toViewElement","type","editor","hasAttribute","selectNodeContents","_recalculatePageBreaks","_mapElementPageStarterInfoToPageBreakInfo","setTemplate","endContainer","mapper","shift","findMappedViewAncestor","ceil","round","window","resolve","PaginationEditing"," - ","removeEventListener","2463517cCBeVG","previousSibling","manual","paddingLeft","width","complete","nodeBefore","parentNode","view","-99999px","parentElement","border-box","2186126WfIHsA","ck-fake-selection-container","pageBreaks","childElementCount","contains","setStart","DOCUMENT_POSITION_PRECEDING","offset","table-cell","table-row","assign","display","_mapTextPageStarterInfoToPageBreakInfo","removeAttribute","pagination-config-not-found","destroy","update","remove","push","entries","low","floor","ready","nextElementSibling","scrollLeft","startContainer","change:isEnabled","domPositionToView","childNodes","_mapManualPageStarterInfoToPageBreakInfo","clear","imageBlock","text","absolute","_configuredPaddings","PaginationLookup","join","every","page-break","previousElementSibling","element","nextSibling","top","calc( ","ck-reset","paddingRight","setEnd","22856kxQPkh","createRangeOn","isEnabled","ELEMENT_NODE","isPremiumPlugin","rootElement","bind","addEventListener","fromCharCode","error","_onUiReady","closest","isOfficialPlugin","set","pluginName","10535dRWHlE","float","index","model","root","rootName","href","_updatePageBreaksData","class","classList","race","attributeStyleMap","createPositionBefore","dataset","getComputedStyle","render","ownerDocument","all","querySelectorAll","cancel","1034005ghSdEo","path","bindTemplate","createRange","none","init","cloneNode","pagination.pageMargins","_domNode","editing","endOffset","ck-pagination-view","config","left","mapViewToDom","values","parent","auto","_recalculatePageBreaksDebounced","getClientRects","append","sort"];return(m=function(){return t})()}function b(t,e,n,o,s,a){const c=r,u=[];var l;if((l=t[c(298)])&&y(l)&&Boolean(l[c(189)][c(313)](c(347))||l[c(367)](c(244)))&&(u[c(327)]({type:c(299),offset:0,path:[e-1]}),a=!0),c(318)==i.global[c(292)][c(194)](t)[c(320)]){let o=0,i=!1;for(const e of t[c(219)]())o+=e[c(249)],e[c(213)]>=n&&(i=!0);if(o<s&&i)return u[c(327)]({type:c(349),offset:0,path:[e]}),u}const p=t[c(367)](c(226));if(p&&function(t){const e=c;let n=!1;const o=t[e(307)][e(193)][e(185)],s=t[e(332)],r=t[e(348)],a=s&&i.global[e(292)][e(194)](s)[e(372)],u=s&&e(310)===s[e(269)];return!o||s||r||(n=!0),o&&!r&&u&&(n=!0),o&&!r&&e(204)!==a&&(n=!0),!n}(p)){const t=i.global[c(292)][c(194)](p)[c(372)];if(c(213)==t||c(224)==t)return u}const f=g(t,n,o,s,a);if(f[c(235)]){for(const t of f)u[c(327)]({type:t[c(279)],offset:t[c(316)],textOffset:t[c(241)],path:[e,...t[c(201)]]}),n+=o,a=!1;return u}return u[c(327)](...function(t,e,n,o,s){const r=c,a=[];if(r(317)==i.global[r(292)][r(194)](t)[r(320)])return[];const u=[];for(const e of t[r(219)]())if(e[r(213)]>=n){for(const t of u)t[r(249)]+=e[r(249)];u[r(327)]({height:e[r(249)]}),n+=o}for(const t of u)s||a[r(327)]({type:r(349),offset:t[r(249)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,o,a)),u}function w(t,e,n,o,i){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(219)]())if(r[s(213)]>=n){const r=v(t,u,n,o);i||c[s(327)]({type:s(341),path:[e],textOffset:r}),u=r,n+=o,i=!1}return c}function v(t,e,n,o){const i=r;let s=e,a=t[i(235)];for(;a-s>1;){const e=Math[i(290)]((s+a)/2);k(h(t,s,e),n,o)?a=e:s=e}return s}function k(t,e,n){const o=r;for(const i of t[o(219)]())if(i[o(213)]>=e&&i[o(213)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(262)]==Node[e(359)]}function I(t){const e=r;return t[e(262)]==Node[e(223)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),A=n.n(E),S=n(667),R=n.n(S),T=n(357),C=n.n(T),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),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 D(){const t=["16260580hMhPJb","setTemplate","7273EjhPAR","829457kFZuRk","width","top","10123443fPgWfe","bindTemplate","4uBNDWJ","set","116FRdvaL","760566EHohhW","div","pageNumber","ck-pagination-view-line","564hEARWr","17350mIwSDX","ck-hidden","isVisible","left","1860624ZmsctP"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(609692===-parseInt(e(462))/1+-parseInt(e(467))/2*(-parseInt(e(470))/3)+-parseInt(e(469))/4*(-parseInt(e(475))/5)+parseInt(e(474))/6*(parseInt(e(461))/7)+parseInt(e(458))/8+-parseInt(e(465))/9+parseInt(e(459))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,i.toUnit)("px");class G extends e.View{constructor(){const t=B;super();const e=this[t(466)];this[t(468)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(460)]({tag:t(471),attributes:{"data-page-number":e.to(t(472)),class:["ck",t(473),e.if(t(477),t(476),t=>!t)],style:{left:e.to(t(457),t=>M(t)),top:e.to(t(464),t=>M(t)),width:e.to(t(463),t=>M(t))}}})}}const K=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=390]})(t,e)}function j(){const t=["3983889DvDjbo","isVisible","_visibleLines","63HISULo","cleanLines","6ngEqoD","setViewCollection","remove","size","693584MHdVkS","destroy","_hiddenLines","add","showLine","set","delete","has","3282831XIRSol","2537040DztxLU","clear","355857NTQoUX","values","body","_viewCollection","view","4074196zwXaqB","340586cISJps"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(614969===parseInt(e(404))/1+-parseInt(e(410))/2+parseInt(e(401))/3+parseInt(e(409))/4+-parseInt(e(402))/5+parseInt(e(416))/6*(-parseInt(e(411))/7)+parseInt(e(393))/8*(-parseInt(e(414))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[K(407)];[K(413)]=new Set;[K(395)]=new Set;constructor(t){const e=K;this[e(407)]=t.ui[e(408)][e(406)]}[K(394)](){const t=K;for(const e of this[t(395)])e[t(394)]()}[K(415)](){const t=K;for(const e of this[t(413)])e[t(412)]=!1,this[t(395)][t(396)](e);this[t(413)][t(403)]()}[K(397)](t,e,n,o){const s=K;let r;this[s(395)][s(392)]?(r=(0,i.first)(this[s(395)][s(405)]()),this[s(395)][s(399)](r)):r=new G,r[s(398)]({pageNumber:o,left:t,top:e,width:n}),r[s(412)]=!0,this[s(407)][s(400)](r)||this[s(407)][s(396)](r),this[s(413)][s(396)](r)}[K(390)](t){const e=K;for(const t of[...this[e(413)],...this[e(395)]])this[e(407)][e(400)](t)&&this[e(407)][e(391)](t);this[e(407)]=t}}const F=H;function H(t,e){const n=q();return(H=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=H,n=t();for(;;)try{if(174685===-parseInt(e(297))/1*(-parseInt(e(325))/2)+parseInt(e(265))/3+parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(288))/6+-parseInt(e(251))/7*(-parseInt(e(324))/8)+parseInt(e(291))/9+-parseInt(e(280))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const W=F(295);class z extends t.Plugin{[F(323)];[F(270)]=null;[F(286)]=null;[F(272)];static get[F(245)](){return F(311)}static get[F(289)](){return!0}static get[F(275)](){return!0}[F(279)](){const t=F;this[t(273)]({pageNumber:1}),this[t(323)]=new U(this[t(307)]),this[t(270)]=null,this[t(286)]=null,this[t(272)]=this[t(307)][t(314)][t(248)](t(293)),this[t(269)](t(315)).to(this[t(307)][t(314)][t(248)](t(246))),this[t(307)].ui[t(298)](t(254),()=>this[t(299)]()),this[t(312)](W),this.on(t(320),(e,n,o)=>{const i=t;o||this[i(323)][i(284)](),this[i(312)](W,o)})}[F(290)](){const t=F;this[t(312)](W,!1),this[t(323)][t(290)](),this[t(270)]=null,this[t(286)]&&this[t(286)][t(290)]()}[F(256)](t){const e=F;if(!this[e(315)])return;const n=t>1?this[e(285)](t-1):0;this[e(270)][e(282)]({top:n-10,left:this[e(270)][e(301)],behavior:i.env[e(277)]?e(260):e(294)})}[F(303)](){const t=F,e=this[t(307)],n=this[t(310)]();n?(this[t(270)]&&e.ui[t(262)][t(274)](this[t(270)],t(300)),this[t(270)]=function(e){const n=t;let o=e;do{o=o[n(309)];const t=i.global[n(264)][n(252)](o)[n(249)];if(n(278)==t||n(300)==t)break}while(n(261)!=o[n(242)]);return o}(n),e.ui[t(262)][t(244)](this[t(270)],t(300),()=>{this[t(247)]()},{usePassive:!0}),this[t(286)]&&this[t(286)][t(290)](),this[t(286)]=new i.ResizeObserver(this[t(270)],()=>{this[t(247)]()})):e.ui[t(298)](t(292),()=>this[t(303)]())}[F(299)](){const t=F,e=this[t(307)];this[t(310)]()?(this[t(303)](),e.ui[t(262)][t(244)](i.global[t(264)],t(304),()=>this[t(247)]()),this[t(244)](this[t(272)],t(243),()=>this[t(247)]())):e.ui[t(298)](t(292),()=>this[t(299)]())}[F(310)](){const t=F;for(const e of this[t(307)][t(305)][t(262)][t(308)][t(257)]())if(e[t(302)][t(313)][t(306)](e))return e;return null}[F(247)](){const t=F;if(!this[t(315)])return;const e=this[t(310)](),n=this[t(272)][t(322)];if(this[t(323)][t(284)](),!e||1==n[t(317)])return void(this[t(321)]=1);const o=new i.Rect(e)[t(316)](),s=new i.Rect(this[t(270)])[t(316)](),r=s[t(296)]+s[t(263)]/3;let a=!1;const c=[];for(let e=1;e<n[t(317)];e++){const n=this[t(285)](e,s);if(!n)continue;const i=s[t(296)]+n-this[t(270)][t(267)];c[t(319)]({pageOffsetTop:i,domRootRect:o,domScrollableRect:s,pageNumber:e}),i>r&&!a&&(this[t(321)]=e,a=!0)}this[t(276)](c),a||(this[t(321)]=n[t(317)])}[F(276)](t){const e=F,{scrollX:n,scrollY:o}=i.global[e(264)];if(t[e(317)])for(const{domScrollableRect:i,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)i[e(296)]<s&&s<i[e(250)]&&this[e(323)][e(266)](r[e(253)]+n,s+o,r[e(258)],a+1)}[F(285)](t,e=null){const n=F,o=this[n(272)][n(322)][t][n(255)];return o?(e||(e=new i.Rect(this[n(270)])[n(316)]()),o-e[n(296)]+this[n(270)][n(267)]):0}[F(312)](t,e=!0){const n=F,o=this[n(307)][n(305)][n(262)];o[n(283)](i=>{const s=n;for(const n of o[s(259)][s(287)])e?i[s(241)](t,n):i[s(318)](t,n)})}}function q(){const t=["plugins","isEnabled","excludeScrollbarsAndBorders","length","removeClass","push","change:isEnabled","pageNumber","pageBreaks","linesRepository","407224GUQAvN","1182FxKRqA","addClass","tagName","change:pageBreaks","listenTo","pluginName","PaginationEditing","_updatePageBreakLines","get","overflowY","bottom","21FGQdaH","getComputedStyle","left","ready","offset","scrollToPage","values","width","document","instant","BODY","view","height","window","256362sjIDIR","showLine","scrollTop","45034tETCoD","bind","_scrollableEditingRootDomAncestor","149924BlMart","_paginationLookupPlugin","set","stopListening","isPremiumPlugin","_renderPageBreakLines","isMotionReduced","auto","init","330ogqvsu","20MqMATz","scrollTo","change","cleanLines","_getPageBreakLineOffset","_resizeObserver","roots","907476gIzfgA","isOfficialPlugin","destroy","2488149IEWGwg","update","PaginationLookup","smooth","ck-pagination_enabled","top","163cuwsNV","once","_onUiReady","scroll","scrollLeft","ownerDocument","setupScrollableAncestor","resize","editing","contains","editor","domRoots","parentElement","_getAttachedDomRoot","PaginationRenderer","_toggleEditingRootsClass","body"];return(q=function(){return t})()}function J(t,e,...n){const o=t.t;switch(e){case"Go to next page":return o("Go to next page");case"Go to previous page":return o("Go to previous page");case"Current page number (from 1 to %0)":return o("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return o("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return o("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return o("Go to the next page (also move selection)");default:return e}}var X=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=R(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(X.A,Q);X.A&&X.A.locals&&X.A.locals;const Y=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=468]})(t,e)}function $(){const t=["model","domainLimit","49975222UHuCeL","length","Shift+Pagedown","type","isEnabled","change:pageBreaks","index","editing","name","requires","setAttribute","paginationLicenseKeyValid","text","paginationLicenseKeyExpired","_setUpDataDowncastConversion","scrollToPage","element","invalid","has","expired","676418cWNZNf","getNearestSelectionRange","destroy","forward","paginationLicenseKeyNotAllowed","options","consume","isPremiumPlugin","paginationLicenseKeyUsageLimit","add","7432328ndEoyg","consumable","getFillerOffset","checkChild","root","Pagination","24IDHITe","Go to the previous page (also move selection)","193899NuXOvV","view","paginationLicenseKeyTrialLimit","$text","stop","_showLicenseError","pagination","plugins","insert","evaluationLimit","7RwvWIO","data","accessibility","paginationLicenseKeyInvalid","PaginationEditing","locale","end","conversion","textNode","1639552JHSocS","updateMarker","10gSRHQS","focus","26TiBrZb","_updatePageBreakMarkers","schema","addMarker","setSelection","Keystrokes for navigating through documents","paginationLicenseKeyEvaluationLimit","data-pagination-page","addMarker:","mapper","_validatePageNumber","isOfficialPlugin","config","_setupKeystrokes","markers","writer","manual","pageNumber","pluginName","createPositionAt","substring","createContainerElement","toViewPosition","Go to the next page (also move selection)","page-break-before","always","dataDowncast","796170cCxeEu","editor","init","span","set","paginationLicenseKeyDomainLimit","parent","hasClass","featureNotAllowed","page-break","_licenseKeyCheckInterval","licenseKey","goToNextPage","addKeystrokeInfoGroup","moveSelectionToPage","keystrokes","usageLimit","toViewElement","pageBreaks","for","modelRange","goToPreviousPage","bindElementToMarker","setStyle","totalPages","get","pagination:","getContainedElement","start","listenTo","offset","removeMarker","trialLimit","nodeAfter","change","4200381nogMNU","Shift+Pageup","bind"];return($=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(583981===-parseInt(e(562))/1+parseInt(e(475))/2*(-parseInt(e(580))/3)+-parseInt(e(471))/4+-parseInt(e(502))/5*(parseInt(e(578))/6)+parseInt(e(590))/7*(-parseInt(e(572))/8)+parseInt(e(537))/9*(-parseInt(e(473))/10)+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Y(513)];[Y(512)];static get[Y(493)](){return Y(594)}static get[Y(486)](){return!0}static get[Y(569)](){return!0}static get[Y(551)](){return[c,z]}[Y(504)](){const t=Y;this[t(506)]({pageNumber:1,totalPages:1});const e=this[t(503)][t(587)][t(527)](t(577)),n=this[t(503)][t(587)][t(527)](c),o=this[t(503)][t(587)][t(527)](z);this[t(539)](t(546)).to(e),this[t(556)](),this[t(539)](t(492)).to(o),this[t(531)](n,t(547),(e,n,o,i)=>{const s=t;this[s(526)]=o[s(543)],this[s(476)](o,i)}),this[t(488)](),this[t(513)]=this[t(503)][t(487)][t(527)](t(513));const i=this[t(503)];this[t(512)]=setInterval(()=>{const e=t;let n;for(const t in i){const o=t,s=i[o];if(e(553)==s||e(593)==s||e(555)==s||e(507)==s||e(566)==s||e(481)==s||e(582)==s||e(570)==s){delete i[o],n=s,clearInterval(this[e(512)]),this[e(512)]=void 0;break}}e(593)==n&&i[e(585)](e(559)),e(555)==n&&i[e(585)](e(561)),e(507)==n&&i[e(585)](e(541)),e(566)==n&&i[e(585)](e(510),e(577)),e(481)==n&&i[e(585)](e(589)),e(582)==n&&i[e(585)](e(534)),e(570)==n&&i[e(585)](e(518))},1e3)}[Y(564)](){const t=Y;super[t(564)](),this[t(512)]&&clearInterval(this[t(512)])}[Y(557)](t){const e=Y;this[e(546)]&&this[e(503)][e(587)][e(527)](z)[e(557)](this[e(485)](t))}[Y(516)](t){const e=Y;if(!this[e(546)])return;const n=this[e(503)],o=this[e(503)][e(587)][e(527)](c)[e(520)][t-1];o&&n[e(540)][e(536)](t=>{const i=e;switch(o[i(545)]){case i(491):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(468)],i(565));t[i(479)](e);break}case i(558):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(530)],i(565));t[i(479)](e);break}case i(554):{const e=o[i(522)][i(530)];if(e[i(470)]&&" "===e[i(470)][i(591)][e[i(532)]]){const n=t[i(494)](e[i(508)],e[i(532)]+1);t[i(479)](n)}else t[i(479)](o[i(522)])}}n[i(549)][i(581)][i(474)]()})}[Y(514)](){const t=Y,e=this[t(485)](this[t(492)]+1);this[t(516)](e),this[t(557)](e)}[Y(523)](){const t=Y,e=this[t(485)](this[t(492)]-1);this[t(516)](e),this[t(557)](e)}[Y(476)](t,e){const n=Y,o=this[n(503)][n(540)];this[n(546)]&&o[n(536)](i=>{const s=n;for(let e=1;e<t[s(543)];e++){const n=t[e][s(522)],r=s(528)+(e+1);o[s(489)][s(560)](r)?i[s(472)](r,{range:n}):i[s(478)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(543)];n<e[s(543)];n++){const t=s(528)+(n+1);o[s(489)][s(560)](t)&&i[s(533)](t)}})}[Y(556)](){const t=Y,e=t(586);this[t(503)][t(469)][t(521)](t(501))[t(571)](n=>{const o=t;n.on(o(483)+e,(t,{markerRange:e,markerName:n},i)=>{const s=o;if(!i[s(567)][s(586)])return;if(!i[s(573)][s(568)](e,t[s(550)]))return;const r=e[s(529)]();let a=r?i[s(484)][s(519)](r):null;if(!a){const t=e[s(530)];if(i[s(477)][s(575)](t,s(583))){const e=i[s(484)][s(497)](t);a=i[s(490)][s(496)](s(505)),a[s(574)]=()=>null,i[s(490)][s(588)](e,a)}else{const e=t[s(535)];a=i[s(484)][s(519)](e)}}for(;a[s(508)]!==a[s(576)]&&0===a[s(548)];)a=a[s(508)];const c=n[s(495)](11);a[s(509)](s(511))||(i[s(490)][s(525)](s(499),s(500),a),i[s(490)][s(552)](s(482),c,a),i[s(484)][s(524)](a,n)),t[s(584)]()})})}[Y(488)](){const t=Y,e=this[t(503)];e[t(517)][t(506)](t(538),(e,n)=>{this[t(523)](),n()}),e[t(517)][t(506)](t(544),(e,n)=>{this[t(514)](),n()}),e[t(592)][t(515)]({id:t(586),label:J(e[t(595)],t(480)),keystrokes:[{label:J(e[t(595)],t(579)),keystroke:t(538),mayRequireFn:!0},{label:J(e[t(595)],t(498)),keystroke:t(544),mayRequireFn:!0}]})}[Y(485)](t){const e=Y;return t<1&&(t=1),t>this[e(526)]&&(t=this[e(526)]),t}}var et=n(355),nt=n(953),ot={attributes:{"data-cke":!0}};ot.setAttributes=R(),ot.insert=A().bind(null,"head"),ot.domAPI=N(),ot.insertStyleElement=C();x()(nt.A,ot);nt.A&&nt.A.locals&&nt.A.locals;const it=rt;function st(){const t=["totalPages","ArrowUp","isNaN","3048ESDxSy","ArrowDown","ck-page-navigator","max","listenTo","focus","key","keyCode","ck-disabled","change:pageNumber","1359KIcImJ","isReadOnly","set","24FFOaOk","keydown","pageNumber","checkValidity","value","Current page number (from 1 to %0)","setTemplate","blur","2338806QcNgxe","11QpuVet","ariaLabel","bindTemplate","447FwnUOg","div","3269513syAOAj","188qhwADC","7evUhBF","2198IyWJBz","5958850gmSxMT","numeric","firstChild","fire","select","bind","27128gqsfBG","enter","navigation","span","pageNumberView","element","2238870cfRARP","render","stopPropagation","isEnabled","valueAsNumber","preventDefault"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(325725===parseInt(e(382))/1*(parseInt(e(384))/2)+-parseInt(e(431))/3*(parseInt(e(406))/4)+parseInt(e(397))/5+parseInt(e(427))/6*(parseInt(e(383))/7)+parseInt(e(391))/8*(-parseInt(e(416))/9)+-parseInt(e(385))/10*(parseInt(e(428))/11)+parseInt(e(419))/12*(parseInt(e(381))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[it(395)];constructor(t){const n=it;super(t);const o=this[n(430)];this[n(418)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(395)]=new e.InputNumberView(t,{min:1,step:1}),this[n(395)][n(418)]({inputMode:n(386),tabIndex:-1}),this[n(395)][n(390)](n(429)).to(this,n(403),e=>J(t,n(424),e)),this[n(395)][n(390)](n(409)).to(this,n(403)),this[n(395)][n(390)](n(417)).to(this,n(400),t=>!t),this[n(425)]({tag:n(380),attributes:{class:["ck",n(408),o.if(n(400),n(414),t=>!t)]},children:[this[n(395)],{tag:n(394),children:[{text:o.to(n(403))}]}]})}[it(398)](){const t=it;super[t(398)]();const e=this[t(395)][t(396)],n=e=>{const n=t;this[n(395)][n(396)][n(423)]=String(e)};n(this[t(421)]),this.on(t(415),(t,e,o)=>{n(o)}),this[t(410)](e,t(420),(n,o)=>{const s=t;if(s(404)===o[s(412)]||s(407)===o[s(412)])return void o[s(399)]();if(o[s(413)]!==i.keyCodes[s(392)])return;o[s(402)]();const r=e[s(401)];Number[s(405)](r)?e[s(423)]=String(this[s(421)]):(e[s(422)]()?this[s(421)]=r:r>this[s(403)]?(this[s(421)]=this[s(403)],e[s(423)]=String(this[s(403)])):(this[s(421)]=1,e[s(423)]="1"),this[s(388)](s(393),this[s(421)]))}),this[t(410)](e,t(426),()=>{const n=t;e[n(423)]=String(this[n(421)])}),this[t(410)](e,t(411),()=>{const e=t;this[e(395)][e(389)]()})}[it(411)](){const t=it;this[t(396)][t(387)][t(411)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["3056200dXAgMI","pageNavigation","50AlehcC","Go to next page","bind","1531920WTQHuK","keystroke","icon","execute","tooltip","1617868uzNFei","init","50rJOMwS","PaginationEditing","moveSelectionToPage","12912lSgYEZ","plugins","isOfficialPlugin","goToNextPage","label","613570OjnClw","Shift+PageDown","isPremiumPlugin","Go to previous page","pluginName","navigation","locale","get","totalPages","componentFactory","282132OdtGQk","45585eOJpsU","add","listenTo","goToPreviousPage","previousPage","pageNumber","PaginationUI","243LRajff","scrollToPage","editor","isEnabled","Shift+PageUp","nextPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(252305===-parseInt(e(361))/1+parseInt(e(342))/2*(parseInt(e(345))/3)+-parseInt(e(335))/4+-parseInt(e(332))/5*(parseInt(e(360))/6)+-parseInt(e(340))/7+-parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(350))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(354)](){return ct(323)}static get[ct(347)](){return!0}static get[ct(352)](){return!0}[ct(341)](){const t=ct,n=this[t(326)],o=n[t(346)][t(357)](t(343));n.ui[t(359)][t(362)](t(331),e=>{const n=t,i=new at(e);return i[n(334)](n(322)).to(o),i[n(334)](n(358)).to(o),i[n(334)](n(327)).to(o),i.on(n(355),(t,e)=>{const i=n;o[i(344)](e),o[i(325)](e)}),i}),n.ui[t(359)][t(362)](t(329),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(333)),r[s(337)]=et.IconArrowDown,r[s(339)]=!0,r[s(336)]=s(351),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(348)]()}),r}),n.ui[t(359)][t(362)](t(365),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(353)),r[s(337)]=et.IconArrowUp,r[s(339)]=!0,r[s(336)]=s(328),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(364)]()}),r})}}function ft(){const t=["9688984jahoCI","set","totalPages","Pagination","isEnabled","scrollToPage","get","pageNumber","329484tFEgKZ","requires","config","isBlink","15tCOlEa","6wNPwTn","13210MqIHRx","ready","3260kPeyGI","bind","pluginName","isPremiumPlugin","166zzeLKJ","browserCheck","forceDisabled","init","5191080oXWmsE","11cyPJcl","5949WCXRxP","5489505MaUzRA","2122674RiiSin","plugins","pagination.enableOnUnsupportedBrowsers","editor","isOfficialPlugin"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=175]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(612332===-parseInt(e(198))/1*(parseInt(e(202))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+parseInt(e(194))/5*(parseInt(e(177))/6)+-parseInt(e(176))/7+parseInt(e(182))/8+parseInt(e(175))/9*(-parseInt(e(196))/10)+-parseInt(e(207))/11*(-parseInt(e(206))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(200)](){return ht(185)}static get[ht(181)](){return!0}static get[ht(201)](){return!0}static get[ht(191)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(186)]=!1}[ht(205)](){const t=ht;this[t(183)]({pageNumber:1,totalPages:1});const e=this[t(180)][t(178)][t(188)](tt);this[t(199)](t(189)).to(e),this[t(199)](t(184)).to(e),i.env[t(193)]||this[t(180)][t(192)][t(188)](t(179))?this[t(180)].on(t(197),()=>{this[t(186)]=!0}):this[t(204)](t(203))}[ht(187)](t){const e=ht;this[e(180)][e(178)][e(188)](tt)[e(187)](t)}}function mt(){var t=["290344vDiFxn","2GcJXCS","752MKizyA","138IYkmup","18529wrWTle","812826TKVUYl","20490ILLurf","3602576eFCAPH","2212113GAPxDj","11opuKXB","14288510QRVmKH"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=234]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(390117===-parseInt(e(242))/1+parseInt(e(243))/2*(parseInt(e(239))/3)+parseInt(e(244))/4*(parseInt(e(237))/5)+-parseInt(e(234))/6*(-parseInt(e(235))/7)+parseInt(e(238))/8+parseInt(e(236))/9+-parseInt(e(241))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=o})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x363c97}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4beeb0,InputNumberView as _0x43affd,ButtonView as _0x466ca6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x38179f,Rect as _0xfb41d3,global as _0x1f50cd,uid as _0x305a3a,toUnit as _0x17ba99,first as _0x2f1854,env as _0x550cbf,ResizeObserver as _0x1db705,keyCodes as _0x54a18c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x272b93}from'es-toolkit/compat';import{IconArrowDown as _0x2e7a05,IconArrowUp as _0x57278f}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x363c97{['_recalculatePageBreaksDebounced']=_0x272b93(()=>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 _0x38179f('pagination-config-not-found',this['editor']['config']);const _0x31a9d8=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x31a9d8),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x29d736,_0x314c6b,_0x429dc9)=>{_0x429dc9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x236fef){const _0x4fb451=_0x11adf6([0x67,0x73,0x55,0x75,0x56,0x50,0x42,0x68,0x4d,0x6e,0x72,0x6f,0x34,0x37,0x41,0x54,0x61,0x44,0x31,0x39,0x43,0x45,0x52,0x30,0x6b,0x62,0x69,0x5a,0x78,0x4a,0x33,0x6c,0x71,0x49,0x59,0x4c,0x32,0x63,0x6d,0x48,0x57,0x7a,0x46,0x4f,0x66,0x77,0x74,0x38,0x47,0x58,0x36,0x70,0x53,0x51,0x35,0x4b,0x64,0x4e,0x76,0x79,0x65,0x6a]),_0x55c873=0x74011504,_0x195ccc=0x74067954^_0x55c873,_0x333cd0=window[_0x11adf6([0x44,0x61,0x74,0x65])][_0x11adf6([0x6e,0x6f,0x77])](),_0x312bf1=_0x236fef[_0x11adf6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x661fc9=new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfc9ff9=>{_0x312bf1[_0x11adf6([0x6f,0x6e,0x63,0x65])](_0x11adf6([0x72,0x65,0x61,0x64,0x79]),_0xfc9ff9);}),_0x4d894e={[_0x11adf6([0x6b,0x74,0x79])]:_0x11adf6([0x45,0x43]),[_0x11adf6([0x75,0x73,0x65])]:_0x11adf6([0x73,0x69,0x67]),[_0x11adf6([0x63,0x72,0x76])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36]),[_0x11adf6([0x78])]:_0x11adf6([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]),[_0x11adf6([0x79])]:_0x11adf6([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]),[_0x11adf6([0x61,0x6c,0x67])]:_0x11adf6([0x45,0x53,0x32,0x35,0x36])},_0x1ad2ab=_0x312bf1[_0x11adf6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11adf6([0x67,0x65,0x74])](_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f4cc7(){let _0x30f18a,_0x4f0274=null,_0x568629=null;try{if(_0x1ad2ab==_0x11adf6([0x47,0x50,0x4c]))return _0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30f18a=_0x22eedb(),!_0x30f18a)return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x568629=_0x4f487c(_0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30f18a[_0x11adf6([0x6a,0x74,0x69])])),await _0x24e82b()?_0x228314()?_0x47ada8()?_0x11adf6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5621a2()?(_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f0274=_0x8816f(_0x11adf6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f0274=_0x8816f(_0x11adf6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x524057()):_0x11adf6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47ada8(){const _0x3d0969=[_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11adf6([0x74,0x72,0x69,0x61,0x6c])][_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x333cd0/0x3e8:0xe10*_0x195ccc;return _0x30f18a[_0x11adf6([0x65,0x78,0x70])]<_0x3d0969;}function _0x228314(){const _0x30ceef=_0x30f18a[_0x11adf6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ceef&&(!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a]))||!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x50,0x41,0x47])));}function _0x5621a2(){const _0x1630b0=_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1630b0||0x0==_0x1630b0[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fd585}=new URL(window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1630b0[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd585))return!0x0;const _0x3436d5=_0x2fd585[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));return _0x1630b0[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49b1fe=>_0x49b1fe[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a])))[_0x11adf6([0x6d,0x61,0x70])](_0x505ba0=>_0x505ba0[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])))[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c77c2=>_0x3c77c2[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x6d,0x61,0x70])](_0x53a0c3=>Array(_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53a0c3[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x66,0x69,0x6c,0x6c])](_0x53a0c3[0x0]===_0x11adf6([0x2a])?_0x11adf6([0x2a]):'')[_0x11adf6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53a0c3))[_0x11adf6([0x73,0x6f,0x6d,0x65])](_0x11b148=>_0x3436d5[_0x11adf6([0x65,0x76,0x65,0x72,0x79])]((_0x1358e8,_0x3f6adf)=>_0x11b148[_0x3f6adf]===_0x1358e8||_0x11b148[_0x3f6adf]===_0x11adf6([0x2a])));}function _0x524057(){return _0x4f0274&&_0x568629?new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ed5d5,_0xb32721)=>{_0x4f0274[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x3ed5d5,_0xb32721),_0x568629[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x1d7dcb=>{_0x1d7dcb!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x3ed5d5(_0x1d7dcb);},_0xb32721);}):_0x4f0274||_0x568629||_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f487c(_0x11d186,_0x1b689e){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43c48a=>{if(_0x208abb())return _0x43c48a(_0x11adf6([0x56,0x61,0x6c,0x69,0x64]));_0x3dcfd4(),_0x312bf1[_0x11adf6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x140d0b=!0x1;const _0x2cb20d=_0x305a3a();function _0x2882e0(_0x515ff0){return!!_0x515ff0&&(typeof _0x515ff0===_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x515ff0===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x515ff0[_0x11adf6([0x74,0x68,0x65,0x6e])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x515ff0[_0x11adf6([0x63,0x61,0x74,0x63,0x68])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a9f84(_0x1f089d){_0x554f06(_0x1f089d)[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43782a=>{if(!_0x43782a||_0x43782a[_0x11adf6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11adf6([0x6f,0x6b]))return _0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1267d(_0x5b4cf1(_0x2cb20d+_0x1b689e))!=_0x43782a[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x15ee72=>(_0x374c21(),_0x15ee72),()=>{const _0x46a9d5=_0x935345();return null==_0x46a9d5?(_0x374c21(),_0x11adf6([0x56,0x61,0x6c,0x69,0x64])):_0x11adf6(_0x333cd0-_0x46a9d5>(0x500d9104^_0x55c873)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43c48a)[_0x11adf6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4aac=0x7437fb84^_0x55c873;function _0x374c21(){const _0x3ec339=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x39b589=_0x5b2cc9(_0xf1267d(window[_0x11adf6([0x4d,0x61,0x74,0x68])][_0x11adf6([0x63,0x65,0x69,0x6c])](_0x333cd0/_0x5d4aac)));window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ec339,_0x39b589);}function _0x935345(){const _0x1c06a8=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x36f7b6=window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c06a8);return _0x36f7b6?window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b2cc9(_0x36f7b6),0x10)*_0x5d4aac:null;}function _0x554f06(_0x4ac78a){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8cf563,_0xe959ff)=>{_0x4ac78a[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x8cf563,_0xe959ff),window[_0x11adf6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe959ff,0x7400c1c4^_0x55c873);});}}_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6ec09e,_0x3df97b)=>{if(_0x3df97b[0x0]!=_0x11d186)return _0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3df97b[0x1]={..._0x3df97b[0x1],[_0x11adf6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cb20d};},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x68,0x69,0x67,0x68])}),_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ee045=>{_0x2882e0(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x140d0b=!0x0,_0x1a9f84(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x6c,0x6f,0x77])}),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>{_0x140d0b||_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x208abb(){return _0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11adf6([0x61,0x75,0x74,0x6f]);}function _0x3dcfd4(){_0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11adf6([0x61,0x75,0x74,0x6f]);}}function _0x8816f(_0x25f75b){const _0x403c70=[new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2738a4=>setTimeout(_0x2738a4,0x74082bc8^_0x55c873)),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488a37=>{let _0xee90b4=0x0;_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x6f,0x6e])](_0x11adf6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14648c,_0xa10f75)=>{_0xa10f75[0x0][_0x11adf6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee90b4++,_0xee90b4==(0x740114fc^_0x55c873)&&(_0x488a37(),_0x14648c[_0x11adf6([0x6f,0x66,0x66])]());});}))];return window[_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11adf6([0x72,0x61,0x63,0x65])](_0x403c70)[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>_0x25f75b);}async function _0x2e60b2(){await _0x661fc9,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c5dff(_0xc4abb8){const _0x47915d=_0x3ec5a8();_0x312bf1[_0x47915d]=_0x11adf6([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc4abb8,_0xc4abb8!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x2e60b2();}function _0x3ec5a8(){const _0x59c093=window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11adf6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11adf6([0x6e,0x6f,0x77])]())[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11adf6([0x2e]),'');let _0x18bbcf=_0x11adf6([0x67]);for(let _0x2f606d=0x0;_0x2f606d<_0x59c093[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f606d+=0x2){let _0x177609=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c093[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f606d,_0x2f606d+0x2));_0x177609>=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x177609-=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18bbcf+=_0x4fb451[_0x177609];}return _0x18bbcf;}function _0x22eedb(){const _0x5554c6=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));if(0x3!=_0x5554c6[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x569b16(_0x5554c6[0x1]);function _0x569b16(_0x481d99){const _0x313459=_0x1af368(_0x481d99);return _0x313459&&_0x4ee2b6()?_0x313459:null;function _0x4ee2b6(){const _0x26d251=_0x313459[_0x11adf6([0x6a,0x74,0x69])],_0x18cc73=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55d6cb={..._0x313459,[_0x11adf6([0x6a,0x74,0x69])]:_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55d6cb[_0x11adf6([0x76,0x63])],_0x5b4cf1(_0x55d6cb)==_0x18cc73;}}}async function _0x24e82b(){let _0x1edd83=!0x0;try{const _0x4f1ef7=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])),[_0x36db95,_0xd89dc3,_0x51ada3]=_0x4f1ef7;return _0x4263ca(_0x36db95),await _0xac9f4e(_0x36db95,_0xd89dc3,_0x51ada3),_0x1edd83;}catch{return!0x1;}function _0x4263ca(_0x4a7933){const _0x5e6bbc=_0x1af368(_0x4a7933);_0x5e6bbc&&_0x5e6bbc[_0x11adf6([0x61,0x6c,0x67])]==_0x11adf6([0x45,0x53,0x32,0x35,0x36])||(_0x1edd83=!0x1);}async function _0xac9f4e(_0x31935c,_0xa55857,_0x4f889f){const _0x58cf29=window[_0x11adf6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11adf6([0x66,0x72,0x6f,0x6d])](_0x1ddf12(_0x4f889f),_0xa08f11=>_0xa08f11[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b2713=new window[(_0x11adf6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11adf6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31935c+_0x11adf6([0x2e])+_0xa55857),_0x1d49bb=window[_0x11adf6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11adf6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d49bb)return;const _0x49744c=await _0x1d49bb[_0x11adf6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11adf6([0x6a,0x77,0x6b]),_0x4d894e,{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d49bb[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x68,0x61,0x73,0x68])]:{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49744c,_0x58cf29,_0x4b2713)||(_0x1edd83=!0x1);}}function _0x1af368(_0x737c29){return _0x737c29[_0x11adf6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11adf6([0x65,0x79]))?JSON[_0x11adf6([0x70,0x61,0x72,0x73,0x65])](_0x1ddf12(_0x737c29)):null;}function _0x1ddf12(_0x4e767b){return window[_0x11adf6([0x61,0x74,0x6f,0x62])](_0x4e767b[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11adf6([0x2b]))[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11adf6([0x2f])));}function _0x5b4cf1(_0x183ef8){let _0x574d61=0x1505;function _0xe4b403(_0x5b73b5){for(let _0x12e99b=0x0;_0x12e99b<_0x5b73b5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12e99b++){const _0x1dab73=_0x5b73b5[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12e99b);_0x574d61=(_0x574d61<<0x5)+_0x574d61+_0x1dab73,_0x574d61&=_0x574d61;}}function _0x3494f0(_0x5d4bbc){Array[_0x11adf6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d4bbc)?_0x5d4bbc[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3494f0):_0x5d4bbc&&typeof _0x5d4bbc==_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11adf6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d4bbc)[_0x11adf6([0x73,0x6f,0x72,0x74])]()[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39279d,_0x10b14e])=>{_0xe4b403(_0x39279d),_0x3494f0(_0x10b14e);}):_0xe4b403(window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d4bbc));}return _0x3494f0(_0x183ef8),_0x574d61>>>0x0;}function _0xf1267d(_0x4762ec){return _0x4762ec[_0x11adf6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11adf6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11adf6([0x30]));}function _0x5b2cc9(_0x253048){return _0x253048[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11adf6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11adf6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1680f8(){}function _0x11adf6(_0x17c440){return _0x17c440['map'](_0x4677c9=>String['fromCharCode'](_0x4677c9))['join']('');}_0x3c5dff(await _0x2f4cc7());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x42aacb=this['editor'],_0x20f612=_0x42aacb['editing']['view'],_0x4aca0b=this['_getAttachedDomRoot']();if(!_0x4aca0b||0x0===_0x4aca0b['childElementCount'])return void _0x42aacb['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3deeef,pageHeight:_0x16bc50}=_0x42aacb['config']['get']('pagination'),{top:_0x26fd28,left:_0x58c357,bottom:_0x3dec0b,right:_0x1fef61}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4beeb0(_0x42aacb['locale']);const _0x9b130d=this['_pagesContainer'];_0x9b130d['set']('class',''),_0x9b130d['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3deeef,'width':_0x3deeef,'height':'calc(\x20'+_0x16bc50+'\x20-\x20'+_0x26fd28+'\x20-\x20'+_0x3dec0b+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1fef61+'\x200\x20'+_0x58c357,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x9b130d['bindTemplate']['to']('class')}}),_0x9b130d['render'](),_0x4aca0b['parentNode']['insertBefore'](_0x9b130d['element'],_0x4aca0b['nextSibling']),this['listenTo'](_0x20f612,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x40789e of this['editor']['editing']['view']['domRoots']['values']())if(_0x40789e['ownerDocument']['body']['contains'](_0x40789e))return _0x40789e;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x39b0cd=this['editor']['editing']['view'],_0x595c74=this['_pagesContainer'],_0x37a565=this['_getAttachedDomRoot']();if(!_0x37a565)return Promise['resolve']();for(_0x595c74['class']=['ck-reset','ck-pagination-view',..._0x37a565['classList']]['join']('\x20');_0x595c74['element']['firstChild'];)_0x595c74['element']['firstChild']['remove']();const _0x23977a=Array['from'](_0x39b0cd['domRoots']);_0x23977a['sort'](([,_0x526d44],[,_0x1a14f2])=>_0x526d44['compareDocumentPosition'](_0x1a14f2)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4d51fd,_0x33b12d]of _0x23977a){const _0x486489=_0x33b12d['cloneNode'](!0x0);'attributeStyleMap'in _0x486489&&_0x486489['attributeStyleMap']['clear'](),_0x486489['className']='',_0x486489['removeAttribute']('id'),_0x486489['dataset']['rootName']=_0x4d51fd,_0x595c74['element']['append'](_0x486489);}return function(_0x1fbd7b){return Promise['all'](_0x1fbd7b['map'](_0x596430=>Promise['race']([m(_0x596430),p(0x3e8)])));}(Array['from'](_0x595c74['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1f916f=this['_pagesContainer']['element'];if(!_0x1f916f['ownerDocument']['body']['contains'](_0x1f916f))return;const _0x25fa6a=new _0xfb41d3(_0x1f916f)['excludeScrollbarsAndBorders'](),_0x441f02=_0x1f50cd['window']['getComputedStyle'](_0x1f916f),_0xbe699c=parseFloat(_0x441f02['paddingLeft'])+parseFloat(_0x441f02['paddingRight']),_0x33f631=Math['floor'](_0x25fa6a['width']+0x64-_0xbe699c),_0x59609f=b(_0x1f916f,Math['floor'](_0x25fa6a['left']-_0x1f916f['scrollLeft']),_0x33f631,_0x25fa6a['height'])['map'](_0x19f33f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19f33f));_0x59609f['every'](_0x17117e=>!!_0x17117e)&&(this['pageBreaks']=_0x59609f);}['_mapPageStarterInfoToPageBreakInfo'](_0x3b9e59){const _0x5e50cc=this['editor']['editing']['view'],_0x55a32d=this['editor']['editing']['mapper'],_0x284f18=_0x5e50cc['domConverter'],_0x298b6d=_0x3b9e59['path']['shift'](),_0x500ac7=this['_pagesContainer']['element']['childNodes'][_0x298b6d]['dataset']['rootName'],_0x29b7f=_0x5e50cc['getDomRoot'](_0x500ac7);if(!_0x29b7f)return null;const _0x3855fa=function(_0x3869d2,_0x12a388){let _0x268155=_0x3869d2;for(const _0x3cc8b4 of _0x12a388['path']){if(!_0x268155)return null;_0x268155=_0x268155['childNodes'][_0x3cc8b4];}return _0x268155;}(_0x29b7f,_0x3b9e59);if(!_0x3855fa)return null;const _0x1c48f1=_0x284f18['domPositionToView'](_0x3855fa,_0x3b9e59['textOffset']||0x0);return _0x1c48f1?'manual'==_0x3b9e59['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa):'text'==_0x3b9e59['type']&&_0x55a32d['toModelPosition'](_0x1c48f1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x5486fc,_0x1732a6){const _0xdf4ffe=this['editor']['model'],_0xe9fd23=this['editor']['editing']['mapper']['toModelElement'](_0x5486fc['parent']),_0x3e589e=_0xdf4ffe['createRangeOn'](_0xe9fd23);return new K({'type':'manual','modelRange':_0x3e589e,'domNode':_0x1732a6,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x41a070,_0x248392,_0x3a35c3){const _0x5d0044=this['editor']['model'],_0x1331b5=this['editor']['editing']['mapper'],_0x1ccbee=this['editor']['editing']['view']['domConverter'];if(_0x3a35c3>=_0x248392['length'])return null;const _0x47d62a=_0x1331b5['toModelPosition'](_0x41a070),_0x338369=_0x5d0044['createRange'](_0x47d62a),_0x3d7097=_0x1331b5['findMappedViewAncestor'](_0x41a070),_0xf103ea=_0x1ccbee['mapViewToDom'](_0x3d7097);return new K({'type':'text','modelRange':_0x338369,'domNode':_0x248392,'offset':w(_0x248392,_0x3a35c3,_0xf103ea)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd1f7,_0x4343d6,_0x3c824b){const _0x2d3d3e=this['editor']['model'],_0xea1b0f=this['editor']['editing'],_0x4d55ac=_0xea1b0f['mapper'],_0x20b11c=_0xea1b0f['view']['domConverter'],_0x3eba58=_0x4d55ac['findMappedViewAncestor'](_0x4dd1f7),_0x1b08cc=_0x4d55ac['toModelElement'](_0x3eba58),_0x57c1d4=function(_0x24252b){const _0x13ab37=_0x24252b['parent'],_0x1b75ef=_0x13ab37['root']['document']['model'],_0x1b0431=_0x13ab37['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3cb4ba=null;for(const _0x1fe265 of _0x1b0431){if(_0x1fe265['is']('rootElement'))return _0x3cb4ba;if(!_0x1b75ef['createPositionBefore'](_0x1fe265)['isTouching'](_0x24252b))return _0x3cb4ba;_0x3cb4ba=_0x1fe265;}}(_0x2d3d3e['createPositionBefore'](_0x1b08cc)),_0x59eaa5=_0x57c1d4||_0x1b08cc;let _0x36b40d=_0x4d55ac['toViewElement'](_0x59eaa5),_0x532117=_0x2d3d3e['createRangeOn'](_0x59eaa5);const _0x23bea8=_0x2d3d3e['createPositionBefore'](_0x59eaa5)['nodeBefore'];if(_0x23bea8&&_0x23bea8['is']('element','imageBlock')){const _0x2301f6=_0x4d55ac['toViewElement'](_0x23bea8),_0x2f45f7=_0x20b11c['mapViewToDom'](_0x2301f6),_0x5d8dfe=_0x1f50cd['window']['getComputedStyle'](_0x2f45f7)['float'];'left'!=_0x5d8dfe&&'right'!=_0x5d8dfe||(_0x532117=_0x2d3d3e['createRangeOn'](_0x23bea8));}for(;_0x36b40d['parent']!==_0x36b40d['root']&&0x0===_0x36b40d['index'];)_0x36b40d=_0x36b40d['parent'];const _0x5cae8e=new _0xfb41d3(N(_0x4343d6)?_0x4343d6:y(_0x4343d6)),_0x45c85a=_0x3c824b?_0x5cae8e['height']-_0x3c824b:0x0,_0x529bd0=_0x20b11c['mapViewToDom'](_0x36b40d),_0x251300=new _0xfb41d3(_0x529bd0);return new K({'type':'element','modelRange':_0x532117,'domNode':_0x529bd0,'offset':Math['round'](_0x45c85a)?_0x45c85a+_0x5cae8e['top']-_0x251300['top']:0x0});}get['_configuredPaddings'](){const _0xbe2b4f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbe2b4f);}static['_findPageStarterInfos'](_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234){return b(_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1080f7,modelRange:_0xec6e39,domNode:_0x2e9c19,offset:_0x16818c}){this['type']=_0x1080f7,this['modelRange']=_0xec6e39,this['_domNode']=_0x2e9c19,this['_offset']=_0x16818c;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x11b157=new _0xfb41d3(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x11b157['top']+_0x11b157['height']/0x2:_0x11b157['top']+this['_offset'];}}function w(_0x5418f4,_0x449ca6,_0x20d5f9){const _0x2962e8=y(_0x5418f4),_0x153fe3=function(_0x39e6c2){const _0x2f38b7=_0x1f50cd['document']['createRange']();return _0x2f38b7['selectNodeContents'](_0x39e6c2),_0x2f38b7;}(_0x20d5f9);let _0x561a37;_0x561a37=0x0==_0x449ca6?k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4['parentNode'],Array['from'](_0x5418f4['parentNode']['childNodes'])['indexOf'](_0x5418f4)):k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4,_0x449ca6);const _0x247b13=k(_0x5418f4,_0x449ca6,_0x153fe3['endContainer'],_0x153fe3['endOffset']),_0x3a2f4e=new _0xfb41d3(_0x561a37)['bottom'];return(new _0xfb41d3(_0x247b13)['top']+_0x3a2f4e)/0x2-new _0xfb41d3(_0x2962e8)['top'];}function m(_0x457831){return _0x457831['hasAttribute']('width')&&_0x457831['hasAttribute']('height')?Promise['resolve']():new Promise(_0x491b39=>{function _0x5610ba(){_0x457831['removeEventListener']('load',_0x5610ba),_0x457831['removeEventListener']('error',_0x5610ba),_0x491b39();}_0x457831['complete']?_0x491b39():(_0x457831['addEventListener']('load',_0x5610ba),_0x457831['addEventListener']('error',_0x5610ba));});}function p(_0x105a59){return new Promise(_0x5c1178=>setTimeout(_0x5c1178,_0x105a59));}function y(_0x35f55c){const _0x2ebd=_0x1f50cd['document']['createRange']();return _0x2ebd['selectNode'](_0x35f55c),_0x2ebd;}function P(_0x1f61d4,_0x3665e4,_0x46ada4){const _0x5a4d22=_0x1f50cd['document']['createRange']();return _0x5a4d22['setStart'](_0x1f61d4,_0x3665e4),_0x5a4d22['setEnd'](_0x1f61d4,_0x46ada4),_0x5a4d22;}function k(_0x2288cb,_0x2f8c98,_0x337030,_0x15aa4a){const _0x4aa249=_0x1f50cd['document']['createRange']();return _0x4aa249['setStart'](_0x2288cb,_0x2f8c98),_0x4aa249['setEnd'](_0x337030,_0x15aa4a),_0x4aa249;}function b(_0x26e531,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd){const _0x3d7ef6=[];for(const [_0x49e396,_0x38f245]of _0x26e531['childNodes']['entries']()){let _0x32d819=[];N(_0x38f245)&&_0x38f245['offsetParent']&&!_0x38f245['style']['position']?_0x32d819=x(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd):S(_0x38f245)&&(_0x32d819=_(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x528cdd)),_0x32d819['length']&&(_0x3d7ef6['push'](..._0x32d819),_0x53e10c+=_0x32d819['length']*_0x39a477,_0x528cdd=!0x1);}return _0x3d7ef6;}function x(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9){const _0x37fb72=[];var _0xe25f47;if((_0xe25f47=_0x1ba9dd['previousSibling'])&&N(_0xe25f47)&&Boolean(_0xe25f47['classList']['contains']('page-break')||_0xe25f47['closest']('.page-break'))&&(_0x37fb72['push']({'type':'manual','offset':0x0,'path':[_0x4e6ee4-0x1]}),_0x22b2a9=!0x0),'table-row'==_0x1f50cd['window']['getComputedStyle'](_0x1ba9dd)['display']){let _0x3163b2=0x0,_0x279f19=!0x1;for(const _0x41ef88 of _0x1ba9dd['getClientRects']())_0x3163b2+=_0x41ef88['height'],_0x41ef88['left']>=_0x39c2d8&&(_0x279f19=!0x0);if(_0x3163b2<_0x4651d5&&_0x279f19)return _0x37fb72['push']({'type':'element','offset':0x0,'path':[_0x4e6ee4]}),_0x37fb72;}const _0x2314b4=_0x1ba9dd['closest']('figure.image');if(_0x2314b4&&function(_0x2fa340){let _0x2e73fd=!0x1;const _0x1fa4b4=_0x2fa340['parentElement'],_0xf57a05=_0x1fa4b4['dataset']['rootName'],_0xf64120=_0x2fa340['nextElementSibling'],_0x2e1095=_0x2fa340['previousElementSibling'],_0xd3984f=_0xf64120&&_0x1f50cd['window']['getComputedStyle'](_0xf64120)['float'],_0x230c69=_0xf64120&&'ck-fake-selection-container'===_0xf64120['className'];!_0xf57a05||_0xf64120||_0x2e1095||(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&_0x230c69&&(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&'none'!==_0xd3984f&&(_0x2e73fd=!0x0);if(_0x2e73fd)return!0x1;return!0x0;}(_0x2314b4)){const _0x12230b=_0x1f50cd['window']['getComputedStyle'](_0x2314b4)['float'];if('left'==_0x12230b||'right'==_0x12230b)return _0x37fb72;}const _0x255152=b(_0x1ba9dd,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9);if(_0x255152['length']){for(const _0x4d0894 of _0x255152)_0x37fb72['push']({'type':_0x4d0894['type'],'offset':_0x4d0894['offset'],'textOffset':_0x4d0894['textOffset'],'path':[_0x4e6ee4,..._0x4d0894['path']]}),_0x39c2d8+=_0x5edb93,_0x22b2a9=!0x1;return _0x37fb72;}return _0x37fb72['push'](...function(_0x5be89f,_0x377d7a,_0x44660b,_0x51687e,_0x18b3ce){const _0x2145be=[];if('table-cell'==_0x1f50cd['window']['getComputedStyle'](_0x5be89f)['display'])return[];const _0x6025ba=[];for(const _0x4d83bf of _0x5be89f['getClientRects']())if(_0x4d83bf['left']>=_0x44660b){for(const _0x22b618 of _0x6025ba)_0x22b618['height']+=_0x4d83bf['height'];_0x6025ba['push']({'height':_0x4d83bf['height']}),_0x44660b+=_0x51687e;}for(const _0x49908c of _0x6025ba)_0x18b3ce||_0x2145be['push']({'type':'element','offset':_0x49908c['height'],'textOffset':0x0,'path':[_0x377d7a]}),_0x18b3ce=!0x1;return _0x2145be;}(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x22b2a9)),_0x37fb72;}function _(_0x2ad0f6,_0x14fc88,_0x3f6fef,_0x170623,_0x5b5d87){const _0x4f2b3f=y(_0x2ad0f6),_0x1185e0=[];let _0x3e4251=0x0;for(const _0x408c67 of _0x4f2b3f['getClientRects']())if(_0x408c67['left']>=_0x3f6fef){const _0x21a0d2=B(_0x2ad0f6,_0x3e4251,_0x3f6fef,_0x170623);_0x5b5d87||_0x1185e0['push']({'type':'text','path':[_0x14fc88],'textOffset':_0x21a0d2}),_0x3e4251=_0x21a0d2,_0x3f6fef+=_0x170623,_0x5b5d87=!0x1;}return _0x1185e0;}function B(_0x259a22,_0xef5754,_0x5cd9c3,_0x4040a8){let _0x70adfc=_0xef5754,_0x30a8c3=_0x259a22['length'];for(;_0x30a8c3-_0x70adfc>0x1;){const _0x49c5ca=Math['ceil']((_0x70adfc+_0x30a8c3)/0x2);I(P(_0x259a22,_0x70adfc,_0x49c5ca),_0x5cd9c3,_0x4040a8)?_0x30a8c3=_0x49c5ca:_0x70adfc=_0x49c5ca;}return _0x70adfc;}function I(_0xd16e2a,_0x3ee003,_0x44bb34){for(const _0x3f757c of _0xd16e2a['getClientRects']())if(_0x3f757c['left']>=_0x3ee003&&_0x3f757c['left']<_0x3ee003+_0x44bb34)return!0x0;return!0x1;}function N(_0x4a7813){return _0x4a7813['nodeType']==Node['ELEMENT_NODE'];}function S(_0x1ec025){return _0x1ec025['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x17ba99('px');class C extends _0x4beeb0{constructor(){super();const _0x477ca3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x477ca3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x477ca3['if']('isVisible','ck-hidden',_0x3d9d14=>!_0x3d9d14)],'style':{'left':_0x477ca3['to']('left',_0x13ebfb=>q(_0x13ebfb)),'top':_0x477ca3['to']('top',_0xc03969=>q(_0xc03969)),'width':_0x477ca3['to']('width',_0x4dc702=>q(_0x4dc702))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x502f33){this['_viewCollection']=_0x502f33['ui']['view']['body'];}['destroy'](){for(const _0x5c10be of this['_hiddenLines'])_0x5c10be['destroy']();}['cleanLines'](){for(const _0x1cf565 of this['_visibleLines'])_0x1cf565['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1cf565);this['_visibleLines']['clear']();}['showLine'](_0x4aa6da,_0x20cb3a,_0x363a84,_0x32083e){let _0x415731;this['_hiddenLines']['size']?(_0x415731=_0x2f1854(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x415731)):_0x415731=new C(),_0x415731['set']({'pageNumber':_0x32083e,'left':_0x4aa6da,'top':_0x20cb3a,'width':_0x363a84}),_0x415731['isVisible']=!0x0,this['_viewCollection']['has'](_0x415731)||this['_viewCollection']['add'](_0x415731),this['_visibleLines']['add'](_0x415731);}['setViewCollection'](_0x488738){for(const _0x2d0f44 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2d0f44)&&this['_viewCollection']['remove'](_0x2d0f44);this['_viewCollection']=_0x488738;}}const E='ck-pagination_enabled';class n extends _0x363c97{['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',(_0x3ea574,_0x495f90,_0x1cc020)=>{_0x1cc020||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1cc020);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1c6330){if(!this['isEnabled'])return;const _0x3a253b=_0x1c6330>0x1?this['_getPageBreakLineOffset'](_0x1c6330-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3a253b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x550cbf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5af224=this['editor'],_0x1be202=this['_getAttachedDomRoot']();_0x1be202?(this['_scrollableEditingRootDomAncestor']&&_0x5af224['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5a8cec){let _0xb2b1a1=_0x5a8cec;do{_0xb2b1a1=_0xb2b1a1['parentElement'];const _0x2080a0=_0x1f50cd['window']['getComputedStyle'](_0xb2b1a1)['overflowY'];if('auto'==_0x2080a0||'scroll'==_0x2080a0)break;}while('BODY'!=_0xb2b1a1['tagName']);return _0xb2b1a1;}(_0x1be202),_0x5af224['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1db705(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5af224['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x58899d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x58899d['ui']['view']['listenTo'](_0x1f50cd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x58899d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x11cdce of this['editor']['editing']['view']['domRoots']['values']())if(_0x11cdce['ownerDocument']['body']['contains'](_0x11cdce))return _0x11cdce;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5a2b01=this['_getAttachedDomRoot'](),_0x384a03=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5a2b01||0x1==_0x384a03['length'])return void(this['pageNumber']=0x1);const _0x9d9ed6=new _0xfb41d3(_0x5a2b01)['excludeScrollbarsAndBorders'](),_0x19e688=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xff7fa0=_0x19e688['top']+_0x19e688['height']/0x3;let _0x55c69b=!0x1;const _0x9a72ef=[];for(let _0x1ff5fd=0x1;_0x1ff5fd<_0x384a03['length'];_0x1ff5fd++){const _0x4802e2=this['_getPageBreakLineOffset'](_0x1ff5fd,_0x19e688);if(!_0x4802e2)continue;const _0x51f250=_0x19e688['top']+_0x4802e2-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x9a72ef['push']({'pageOffsetTop':_0x51f250,'domRootRect':_0x9d9ed6,'domScrollableRect':_0x19e688,'pageNumber':_0x1ff5fd}),_0x51f250>_0xff7fa0&&!_0x55c69b&&(this['pageNumber']=_0x1ff5fd,_0x55c69b=!0x0);}this['_renderPageBreakLines'](_0x9a72ef),_0x55c69b||(this['pageNumber']=_0x384a03['length']);}['_renderPageBreakLines'](_0x411cd3){const {scrollX:_0x46edfd,scrollY:_0x525964}=_0x1f50cd['window'];if(_0x411cd3['length']){for(const {domScrollableRect:_0x396a11,pageOffsetTop:_0x3f9e8e,domRootRect:_0x5015ad,pageNumber:_0x113817}of _0x411cd3)_0x396a11['top']<_0x3f9e8e&&_0x3f9e8e<_0x396a11['bottom']&&this['linesRepository']['showLine'](_0x5015ad['left']+_0x46edfd,_0x3f9e8e+_0x525964,_0x5015ad['width'],_0x113817+0x1);}}['_getPageBreakLineOffset'](_0x4d6ddd,_0x27877d=null){const _0xb6faa0=this['_paginationLookupPlugin']['pageBreaks'][_0x4d6ddd]['offset'];return _0xb6faa0?(_0x27877d||(_0x27877d=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xb6faa0-_0x27877d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x8082d3,_0x568f28=!0x0){const _0x5b7157=this['editor']['editing']['view'];_0x5b7157['change'](_0x34d88d=>{for(const _0x201a26 of _0x5b7157['document']['roots'])_0x568f28?_0x34d88d['addClass'](_0x8082d3,_0x201a26):_0x34d88d['removeClass'](_0x8082d3,_0x201a26);});}}function g(_0x2d6154,_0x53088f,..._0xcc7f0b){const t=_0x2d6154['t'];switch(_0x53088f){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)',..._0xcc7f0b);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 _0x53088f;}}class s extends _0x363c97{['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 _0x2e24c6=this['editor']['plugins']['get']('Pagination'),_0x42ea46=this['editor']['plugins']['get'](a),_0x45ea11=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x2e24c6),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x45ea11),this['listenTo'](_0x42ea46,'change:pageBreaks',(_0x411eb1,_0x1ba400,_0x19a4a1,_0x17d3e6)=>{this['totalPages']=_0x19a4a1['length'],this['_updatePageBreakMarkers'](_0x19a4a1,_0x17d3e6);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x549c6c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cd3d0;for(const _0x6185be in _0x549c6c){const _0x789ad1=_0x6185be,_0x5e6150=_0x549c6c[_0x789ad1];if('paginationLicenseKeyValid'==_0x5e6150||'paginationLicenseKeyInvalid'==_0x5e6150||'paginationLicenseKeyExpired'==_0x5e6150||'paginationLicenseKeyDomainLimit'==_0x5e6150||'paginationLicenseKeyNotAllowed'==_0x5e6150||'paginationLicenseKeyEvaluationLimit'==_0x5e6150||'paginationLicenseKeyTrialLimit'==_0x5e6150||'paginationLicenseKeyUsageLimit'==_0x5e6150){delete _0x549c6c[_0x789ad1],_0x4cd3d0=_0x5e6150,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x402d25){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x402d25));}['moveSelectionToPage'](_0x1fb5a6){if(!this['isEnabled'])return;const _0xd3cfde=this['editor'],_0x50e86c=this['editor']['plugins']['get'](a)['pageBreaks'][_0x1fb5a6-0x1];_0x50e86c&&_0xd3cfde['model']['change'](_0x1620f5=>{switch(_0x50e86c['type']){case'manual':{const _0x237a4b=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['end'],'forward');_0x1620f5['setSelection'](_0x237a4b);break;}case'element':{const _0x4fa8b4=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['start'],'forward');_0x1620f5['setSelection'](_0x4fa8b4);break;}case'text':{const _0x57a5ad=_0x50e86c['modelRange']['start'];if(_0x57a5ad['textNode']&&'\x20'===_0x57a5ad['textNode']['data'][_0x57a5ad['offset']]){const _0x24dcf1=_0x1620f5['createPositionAt'](_0x57a5ad['parent'],_0x57a5ad['offset']+0x1);_0x1620f5['setSelection'](_0x24dcf1);}else _0x1620f5['setSelection'](_0x50e86c['modelRange']);}}_0xd3cfde['editing']['view']['focus']();});}['goToNextPage'](){const _0x29d58d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x29d58d),this['scrollToPage'](_0x29d58d);}['goToPreviousPage'](){const _0x598788=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x598788),this['scrollToPage'](_0x598788);}['_updatePageBreakMarkers'](_0x32c2fe,_0x192d5b){const _0x32f3be=this['editor']['model'];this['isEnabled']&&_0x32f3be['change'](_0x662122=>{for(let _0x270186=0x1;_0x270186<_0x32c2fe['length'];_0x270186++){const _0x3aa9b5=_0x32c2fe[_0x270186]['modelRange'],_0x4b2a96='pagination:'+(_0x270186+0x1);_0x32f3be['markers']['has'](_0x4b2a96)?_0x662122['updateMarker'](_0x4b2a96,{'range':_0x3aa9b5}):_0x662122['addMarker'](_0x4b2a96,{'range':_0x3aa9b5,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x55bab=_0x32c2fe['length'];_0x55bab<_0x192d5b['length'];_0x55bab++){const _0x327739='pagination:'+(_0x55bab+0x1);_0x32f3be['markers']['has'](_0x327739)&&_0x662122['removeMarker'](_0x327739);}});}['_setUpDataDowncastConversion'](){const _0x3b4ebc='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x42815e=>{_0x42815e['on']('addMarker:'+_0x3b4ebc,(_0x163c10,{markerRange:_0x17a17a,markerName:_0x39e774},_0x3d4517)=>{if(!_0x3d4517['options']['pagination'])return;if(!_0x3d4517['consumable']['consume'](_0x17a17a,_0x163c10['name']))return;const _0x2eb951=_0x17a17a['getContainedElement']();let _0x1420bb=_0x2eb951?_0x3d4517['mapper']['toViewElement'](_0x2eb951):null;if(!_0x1420bb){const _0x5a25a3=_0x17a17a['start'];if(_0x3d4517['schema']['checkChild'](_0x5a25a3,'$text')){const _0x21f4d0=_0x3d4517['mapper']['toViewPosition'](_0x5a25a3);_0x1420bb=_0x3d4517['writer']['createContainerElement']('span'),_0x1420bb['getFillerOffset']=()=>null,_0x3d4517['writer']['insert'](_0x21f4d0,_0x1420bb);}else{const _0x4615c0=_0x5a25a3['nodeAfter'];_0x1420bb=_0x3d4517['mapper']['toViewElement'](_0x4615c0);}}for(;_0x1420bb['parent']!==_0x1420bb['root']&&0x0===_0x1420bb['index'];)_0x1420bb=_0x1420bb['parent'];const _0x104358=_0x39e774['substring'](0xb);_0x1420bb['hasClass']('page-break')||(_0x3d4517['writer']['setStyle']('page-break-before','always',_0x1420bb),_0x3d4517['writer']['setAttribute']('data-pagination-page',_0x104358,_0x1420bb),_0x3d4517['mapper']['bindElementToMarker'](_0x1420bb,_0x39e774)),_0x163c10['stop']();});});}['_setupKeystrokes'](){const _0x1d278f=this['editor'];_0x1d278f['keystrokes']['set']('Shift+Pageup',(_0x81581d,_0x1185ba)=>{this['goToPreviousPage'](),_0x1185ba();}),_0x1d278f['keystrokes']['set']('Shift+Pagedown',(_0x2d2510,_0x333e88)=>{this['goToNextPage'](),_0x333e88();}),_0x1d278f['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x1d278f['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x308546){return _0x308546<0x1&&(_0x308546=0x1),_0x308546>this['totalPages']&&(_0x308546=this['totalPages']),_0x308546;}}class G extends _0x4beeb0{['pageNumberView'];constructor(_0x24e84a){super(_0x24e84a);const _0x41bcf9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x43affd(_0x24e84a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x509c9d=>g(_0x24e84a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x509c9d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xe84acc=>!_0xe84acc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x41bcf9['if']('isEnabled','ck-disabled',_0x2e7ff5=>!_0x2e7ff5)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x41bcf9['to']('totalPages')}]}]});}['render'](){super['render']();const _0xd2c985=this['pageNumberView']['element'],_0x47ac1b=_0x8bdbae=>{this['pageNumberView']['element']['value']=String(_0x8bdbae);};_0x47ac1b(this['pageNumber']),this['on']('change:pageNumber',(_0x5570c5,_0x48ae64,_0x12c78b)=>{_0x47ac1b(_0x12c78b);}),this['listenTo'](_0xd2c985,'keydown',(_0x334bcf,_0x8927e9)=>{if('ArrowUp'===_0x8927e9['key']||'ArrowDown'===_0x8927e9['key'])return void _0x8927e9['stopPropagation']();if(_0x8927e9['keyCode']!==_0x54a18c['enter'])return;_0x8927e9['preventDefault']();const _0x210ce8=_0xd2c985['valueAsNumber'];Number['isNaN'](_0x210ce8)?_0xd2c985['value']=String(this['pageNumber']):(_0xd2c985['checkValidity']()?this['pageNumber']=_0x210ce8:_0x210ce8>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xd2c985['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xd2c985['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xd2c985,'blur',()=>{_0xd2c985['value']=String(this['pageNumber']);}),this['listenTo'](_0xd2c985,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x363c97{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5992f9=this['editor'],_0x32e06e=_0x5992f9['plugins']['get']('PaginationEditing');_0x5992f9['ui']['componentFactory']['add']('pageNavigation',_0x4a96a9=>{const _0x3cc4a5=new G(_0x4a96a9);return _0x3cc4a5['bind']('pageNumber')['to'](_0x32e06e),_0x3cc4a5['bind']('totalPages')['to'](_0x32e06e),_0x3cc4a5['bind']('isEnabled')['to'](_0x32e06e),_0x3cc4a5['on']('navigation',(_0x4cb0b7,_0x3aa01a)=>{_0x32e06e['moveSelectionToPage'](_0x3aa01a),_0x32e06e['scrollToPage'](_0x3aa01a);}),_0x3cc4a5;}),_0x5992f9['ui']['componentFactory']['add']('nextPage',_0x372336=>{const _0x1dd7f0=new _0x466ca6(_0x372336);return _0x1dd7f0['isEnabled']=!0x0,_0x1dd7f0['label']=g(_0x5992f9['locale'],'Go\x20to\x20next\x20page'),_0x1dd7f0['icon']=_0x2e7a05,_0x1dd7f0['tooltip']=!0x0,_0x1dd7f0['keystroke']='Shift+PageDown',_0x1dd7f0['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x1dd7f0,'execute',()=>{_0x32e06e['goToNextPage']();}),_0x1dd7f0;}),_0x5992f9['ui']['componentFactory']['add']('previousPage',_0x3543a9=>{const _0x3eb500=new _0x466ca6(_0x3543a9);return _0x3eb500['isEnabled']=!0x0,_0x3eb500['label']=g(_0x5992f9['locale'],'Go\x20to\x20previous\x20page'),_0x3eb500['icon']=_0x57278f,_0x3eb500['tooltip']=!0x0,_0x3eb500['keystroke']='Shift+PageUp',_0x3eb500['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x3eb500,'execute',()=>{_0x32e06e['goToPreviousPage']();}),_0x3eb500;});}}class T extends _0x363c97{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x231145){super(_0x231145),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x762da5=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x762da5),this['bind']('totalPages')['to'](_0x762da5),_0x550cbf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2751fe){this['editor']['plugins']['get'](s)['scrollToPage'](_0x2751fe);}}export{T as Pagination,n as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0xd615fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xefe258,InputNumberView as _0x556e3e,ButtonView as _0x3f7fe6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x13bec1,Rect as _0x32e22d,global as _0x393233,uid as _0x1cb1bb,toUnit as _0x4bf4a2,first as _0x3aa487,env as _0x521f94,ResizeObserver as _0xe4f9b0,keyCodes as _0x21fd6c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2ac1a9}from'es-toolkit/compat';import{IconArrowDown as _0x33812b,IconArrowUp as _0x557c98}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0xd615fc{['_recalculatePageBreaksDebounced']=_0x2ac1a9(()=>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 _0x13bec1('pagination-config-not-found',this['editor']['config']);const _0x5282a2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5282a2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1b6aa9,_0x1e2917,_0x21733a)=>{_0x21733a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5eaab0){const _0x478b91=_0x1f9246([0x35,0x4d,0x65,0x6a,0x47,0x59,0x63,0x5a,0x51,0x61,0x62,0x79,0x32,0x4a,0x41,0x33,0x49,0x7a,0x6c,0x6f,0x6d,0x69,0x6b,0x30,0x77,0x34,0x58,0x78,0x73,0x54,0x71,0x55,0x46,0x48,0x38,0x4f,0x45,0x4b,0x37,0x42,0x52,0x76,0x4c,0x57,0x53,0x43,0x64,0x36,0x31,0x39,0x72,0x67,0x6e,0x74,0x68,0x56,0x66,0x50,0x4e,0x70,0x75,0x44]),_0x38fa49=0x5ac25e7d,_0x1cfbb8=0x5ac53215^_0x38fa49,_0x1981fc=window[_0x1f9246([0x44,0x61,0x74,0x65])][_0x1f9246([0x6e,0x6f,0x77])](),_0x3f92f6=_0x5eaab0[_0x1f9246([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38a9aa=new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1961be=>{_0x3f92f6[_0x1f9246([0x6f,0x6e,0x63,0x65])](_0x1f9246([0x72,0x65,0x61,0x64,0x79]),_0x1961be);}),_0x198bb3={[_0x1f9246([0x6b,0x74,0x79])]:_0x1f9246([0x45,0x43]),[_0x1f9246([0x75,0x73,0x65])]:_0x1f9246([0x73,0x69,0x67]),[_0x1f9246([0x63,0x72,0x76])]:_0x1f9246([0x50,0x2d,0x32,0x35,0x36]),[_0x1f9246([0x78])]:_0x1f9246([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]),[_0x1f9246([0x79])]:_0x1f9246([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]),[_0x1f9246([0x61,0x6c,0x67])]:_0x1f9246([0x45,0x53,0x32,0x35,0x36])},_0x1f30a6=_0x3f92f6[_0x1f9246([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f9246([0x67,0x65,0x74])](_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x161f4e(){let _0x42cab2,_0x12228a=null,_0x10dff2=null;try{if(_0x1f30a6==_0x1f9246([0x47,0x50,0x4c]))return _0x1f9246([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42cab2=_0x26663b(),!_0x42cab2)return _0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42cab2[_0x1f9246([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10dff2=_0x10bd34(_0x42cab2[_0x1f9246([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42cab2[_0x1f9246([0x6a,0x74,0x69])])),await _0x567606()?_0x531ec4()?_0xc62af2()?_0x1f9246([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x459cb5()?(_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9246([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12228a=_0x50436a(_0x1f9246([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9246([0x74,0x72,0x69,0x61,0x6c])&&(_0x12228a=_0x50436a(_0x1f9246([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x974b47()):_0x1f9246([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9246([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f9246([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc62af2(){const _0x2c936c=[_0x1f9246([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f9246([0x74,0x72,0x69,0x61,0x6c])][_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1981fc/0x3e8:0xe10*_0x1cfbb8;return _0x42cab2[_0x1f9246([0x65,0x78,0x70])]<_0x2c936c;}function _0x531ec4(){const _0x24b60e=_0x42cab2[_0x1f9246([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24b60e&&(!!_0x24b60e[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x2a]))||!!_0x24b60e[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x50,0x41,0x47])));}function _0x459cb5(){const _0x16df8f=_0x42cab2[_0x1f9246([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16df8f||0x0==_0x16df8f[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbe0001}=new URL(window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16df8f[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe0001))return!0x0;const _0x18e509=_0xbe0001[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e]));return _0x16df8f[_0x1f9246([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f6dcf=>_0x7f6dcf[_0x1f9246([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9246([0x2a])))[_0x1f9246([0x6d,0x61,0x70])](_0x2123c6=>_0x2123c6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e])))[_0x1f9246([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19909d=>_0x19909d[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18e509[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9246([0x6d,0x61,0x70])](_0x241616=>Array(_0x18e509[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x241616[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9246([0x66,0x69,0x6c,0x6c])](_0x241616[0x0]===_0x1f9246([0x2a])?_0x1f9246([0x2a]):'')[_0x1f9246([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x241616))[_0x1f9246([0x73,0x6f,0x6d,0x65])](_0x10b335=>_0x18e509[_0x1f9246([0x65,0x76,0x65,0x72,0x79])]((_0x785bf9,_0x319edb)=>_0x10b335[_0x319edb]===_0x785bf9||_0x10b335[_0x319edb]===_0x1f9246([0x2a])));}function _0x974b47(){return _0x12228a&&_0x10dff2?new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x550872,_0x227f9e)=>{_0x12228a[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x550872,_0x227f9e),_0x10dff2[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x112e22=>{_0x112e22!=_0x1f9246([0x56,0x61,0x6c,0x69,0x64])&&_0x550872(_0x112e22);},_0x227f9e);}):_0x12228a||_0x10dff2||_0x1f9246([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10bd34(_0x3b771b,_0x5dcea1){return new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232931=>{if(_0x4f2bfa())return _0x232931(_0x1f9246([0x56,0x61,0x6c,0x69,0x64]));_0x5c31d2(),_0x3f92f6[_0x1f9246([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39e4fc=!0x1;const _0x26dc04=_0x1cb1bb();function _0x546877(_0x3e34ac){return!!_0x3e34ac&&(typeof _0x3e34ac===_0x1f9246([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e34ac===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e34ac[_0x1f9246([0x74,0x68,0x65,0x6e])]===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e34ac[_0x1f9246([0x63,0x61,0x74,0x63,0x68])]===_0x1f9246([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57e3e6(_0x20faac){_0x8bb9e5(_0x20faac)[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x4ea939=>{if(!_0x4ea939||_0x4ea939[_0x1f9246([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f9246([0x6f,0x6b]))return _0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27ed4d(_0x21e955(_0x26dc04+_0x5dcea1))!=_0x4ea939[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9246([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x53a6f0=>(_0xb303e0(),_0x53a6f0),()=>{const _0x592d57=_0x4e8966();return null==_0x592d57?(_0xb303e0(),_0x1f9246([0x56,0x61,0x6c,0x69,0x64])):_0x1f9246(_0x1981fc-_0x592d57>(0x7eceda7d^_0x38fa49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x232931)[_0x1f9246([0x63,0x61,0x74,0x63,0x68])](()=>{_0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x101372=0x5af4b0fd^_0x38fa49;function _0xb303e0(){const _0x251869=_0x1f9246([0x6c,0x6c,0x63,0x74,0x2d])+_0x27ed4d(_0x21e955(_0x3b771b)),_0x35eb1f=_0xff1fb7(_0x27ed4d(window[_0x1f9246([0x4d,0x61,0x74,0x68])][_0x1f9246([0x63,0x65,0x69,0x6c])](_0x1981fc/_0x101372)));window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9246([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x251869,_0x35eb1f);}function _0x4e8966(){const _0x2be24d=_0x1f9246([0x6c,0x6c,0x63,0x74,0x2d])+_0x27ed4d(_0x21e955(_0x3b771b)),_0x55f52a=window[_0x1f9246([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9246([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2be24d);return _0x55f52a?window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff1fb7(_0x55f52a),0x10)*_0x101372:null;}function _0x8bb9e5(_0x4a7abf){return new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b308,_0x5c2a84)=>{_0x4a7abf[_0x1f9246([0x74,0x68,0x65,0x6e])](_0x12b308,_0x5c2a84),window[_0x1f9246([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c2a84,0x5ac38abd^_0x38fa49);});}}_0x3f92f6[_0x1f9246([0x6f,0x6e])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c15fe,_0x5a6f2b)=>{if(_0x5a6f2b[0x0]!=_0x3b771b)return _0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a6f2b[0x1]={..._0x5a6f2b[0x1],[_0x1f9246([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26dc04};},{[_0x1f9246([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9246([0x68,0x69,0x67,0x68])}),_0x3f92f6[_0x1f9246([0x6f,0x6e])](_0x1f9246([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x195df3=>{_0x546877(_0x195df3[_0x1f9246([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39e4fc=!0x0,_0x57e3e6(_0x195df3[_0x1f9246([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f9246([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9246([0x6c,0x6f,0x77])}),_0x38a9aa[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>{_0x39e4fc||_0x232931(_0x1f9246([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f2bfa(){return _0x3f92f6[_0x1f9246([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9246([0x76,0x69,0x65,0x77])][_0x1f9246([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f9246([0x61,0x75,0x74,0x6f]);}function _0x5c31d2(){_0x3f92f6[_0x1f9246([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9246([0x76,0x69,0x65,0x77])][_0x1f9246([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f9246([0x61,0x75,0x74,0x6f]);}}function _0x50436a(_0x3a8f75){const _0x10a9d6=[new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7d2f=>setTimeout(_0x1f7d2f,0x5acb60b1^_0x38fa49)),_0x38a9aa[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x227b62=>{let _0x14e06f=0x0;_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x6f,0x6e])](_0x1f9246([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe16ef3,_0xfe3f0b)=>{_0xfe3f0b[0x0][_0x1f9246([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14e06f++,_0x14e06f==(0x5ac25f85^_0x38fa49)&&(_0x227b62(),_0xe16ef3[_0x1f9246([0x6f,0x66,0x66])]());});}))];return window[_0x1f9246([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f9246([0x72,0x61,0x63,0x65])](_0x10a9d6)[_0x1f9246([0x74,0x68,0x65,0x6e])](()=>_0x3a8f75);}async function _0x11693c(){await _0x38a9aa,_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x111fc3,_0x3f92f6[_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9246([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x111fc3,_0x3f92f6[_0x1f9246([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f9246([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10ec18(_0x5426dc){const _0x4ab935=_0x33eea8();_0x3f92f6[_0x4ab935]=_0x1f9246([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5426dc,_0x5426dc!=_0x1f9246([0x56,0x61,0x6c,0x69,0x64])&&_0x11693c();}function _0x33eea8(){const _0x298e5c=window[_0x1f9246([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f9246([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f9246([0x6e,0x6f,0x77])]())[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f9246([0x2e]),'');let _0x235aef=_0x1f9246([0x4d]);for(let _0x26ca50=0x0;_0x26ca50<_0x298e5c[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26ca50+=0x2){let _0x3e6b7d=window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x298e5c[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26ca50,_0x26ca50+0x2));_0x3e6b7d>=_0x478b91[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e6b7d-=_0x478b91[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x235aef+=_0x478b91[_0x3e6b7d];}return _0x235aef;}function _0x26663b(){const _0x158ac8=_0x1f30a6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e]));if(0x3!=_0x158ac8[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23eac1(_0x158ac8[0x1]);function _0x23eac1(_0x14fb6e){const _0x15444b=_0x74863(_0x14fb6e);return _0x15444b&&_0x32efbf()?_0x15444b:null;function _0x32efbf(){const _0x51f8df=_0x15444b[_0x1f9246([0x6a,0x74,0x69])],_0xdd2202=window[_0x1f9246([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51f8df[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51f8df[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4082db={..._0x15444b,[_0x1f9246([0x6a,0x74,0x69])]:_0x51f8df[_0x1f9246([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51f8df[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4082db[_0x1f9246([0x76,0x63])],_0x21e955(_0x4082db)==_0xdd2202;}}}async function _0x567606(){let _0x10a050=!0x0;try{const _0xa012c8=_0x1f30a6[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])](_0x1f9246([0x2e])),[_0x136fa1,_0x31e088,_0x324f9d]=_0xa012c8;return _0xaaffac(_0x136fa1),await _0x5a2886(_0x136fa1,_0x31e088,_0x324f9d),_0x10a050;}catch{return!0x1;}function _0xaaffac(_0x227cf0){const _0x138616=_0x74863(_0x227cf0);_0x138616&&_0x138616[_0x1f9246([0x61,0x6c,0x67])]==_0x1f9246([0x45,0x53,0x32,0x35,0x36])||(_0x10a050=!0x1);}async function _0x5a2886(_0x1ee3e3,_0x3848d4,_0x487f38){const _0x1baa01=window[_0x1f9246([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f9246([0x66,0x72,0x6f,0x6d])](_0x117487(_0x487f38),_0x437a3c=>_0x437a3c[_0x1f9246([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c9c33=new window[(_0x1f9246([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f9246([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ee3e3+_0x1f9246([0x2e])+_0x3848d4),_0x35a898=window[_0x1f9246([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f9246([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35a898)return;const _0x1b4977=await _0x35a898[_0x1f9246([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f9246([0x6a,0x77,0x6b]),_0x198bb3,{[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x45,0x43,0x44,0x53,0x41]),[_0x1f9246([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f9246([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35a898[_0x1f9246([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x45,0x43,0x44,0x53,0x41]),[_0x1f9246([0x68,0x61,0x73,0x68])]:{[_0x1f9246([0x6e,0x61,0x6d,0x65])]:_0x1f9246([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b4977,_0x1baa01,_0x2c9c33)||(_0x10a050=!0x1);}}function _0x74863(_0x4731af){return _0x4731af[_0x1f9246([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f9246([0x65,0x79]))?JSON[_0x1f9246([0x70,0x61,0x72,0x73,0x65])](_0x117487(_0x4731af)):null;}function _0x117487(_0x3f1203){return window[_0x1f9246([0x61,0x74,0x6f,0x62])](_0x3f1203[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f9246([0x2b]))[_0x1f9246([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f9246([0x2f])));}function _0x21e955(_0x429e9f){let _0x3f1902=0x1505;function _0x4e63f9(_0x4f96f3){for(let _0x15aeab=0x0;_0x15aeab<_0x4f96f3[_0x1f9246([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15aeab++){const _0x180d1f=_0x4f96f3[_0x1f9246([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15aeab);_0x3f1902=(_0x3f1902<<0x5)+_0x3f1902+_0x180d1f,_0x3f1902&=_0x3f1902;}}function _0x1dae2c(_0x3f4d58){Array[_0x1f9246([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f4d58)?_0x3f4d58[_0x1f9246([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dae2c):_0x3f4d58&&typeof _0x3f4d58==_0x1f9246([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f9246([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f4d58)[_0x1f9246([0x73,0x6f,0x72,0x74])]()[_0x1f9246([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe8519,_0x14f530])=>{_0x4e63f9(_0xe8519),_0x1dae2c(_0x14f530);}):_0x4e63f9(window[_0x1f9246([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f4d58));}return _0x1dae2c(_0x429e9f),_0x3f1902>>>0x0;}function _0x27ed4d(_0x1c789c){return _0x1c789c[_0x1f9246([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f9246([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f9246([0x30]));}function _0xff1fb7(_0x2ca0c7){return _0x2ca0c7[_0x1f9246([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f9246([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f9246([0x6a,0x6f,0x69,0x6e])]('');}function _0x111fc3(){}function _0x1f9246(_0x3ddd18){return _0x3ddd18['map'](_0x44c5db=>String['fromCharCode'](_0x44c5db))['join']('');}_0x10ec18(await _0x161f4e());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x30455c=this['editor'],_0x424cd6=_0x30455c['editing']['view'],_0x380aef=this['_getAttachedDomRoot']();if(!_0x380aef||0x0===_0x380aef['childElementCount'])return void _0x30455c['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x159e9c,pageHeight:_0x417fe3}=_0x30455c['config']['get']('pagination'),{top:_0x36d192,left:_0x86588d,bottom:_0x2782e7,right:_0x5aaf0c}=this['_configuredPaddings'];this['_pagesContainer']=new _0xefe258(_0x30455c['locale']);const _0x543dc4=this['_pagesContainer'];_0x543dc4['set']('class',''),_0x543dc4['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x159e9c,'width':_0x159e9c,'height':'calc(\x20'+_0x417fe3+'\x20-\x20'+_0x36d192+'\x20-\x20'+_0x2782e7+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5aaf0c+'\x200\x20'+_0x86588d,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x543dc4['bindTemplate']['to']('class')}}),_0x543dc4['render'](),_0x380aef['parentNode']['insertBefore'](_0x543dc4['element'],_0x380aef['nextSibling']),this['listenTo'](_0x424cd6,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2bac27 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2bac27['ownerDocument']['body']['contains'](_0x2bac27))return _0x2bac27;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4ad95d=this['editor']['editing']['view'],_0x39b0ca=this['_pagesContainer'],_0xd8a00a=this['_getAttachedDomRoot']();if(!_0xd8a00a)return Promise['resolve']();for(_0x39b0ca['class']=['ck-reset','ck-pagination-view',..._0xd8a00a['classList']]['join']('\x20');_0x39b0ca['element']['firstChild'];)_0x39b0ca['element']['firstChild']['remove']();const _0x392a9f=Array['from'](_0x4ad95d['domRoots']);_0x392a9f['sort'](([,_0x2c301d],[,_0x233c5c])=>_0x2c301d['compareDocumentPosition'](_0x233c5c)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5a660d,_0x3a2ca6]of _0x392a9f){const _0x31443b=_0x3a2ca6['cloneNode'](!0x0);'attributeStyleMap'in _0x31443b&&_0x31443b['attributeStyleMap']['clear'](),_0x31443b['className']='',_0x31443b['removeAttribute']('id'),_0x31443b['dataset']['rootName']=_0x5a660d,_0x39b0ca['element']['append'](_0x31443b);}return function(_0x3818b5){return Promise['all'](_0x3818b5['map'](_0xe9fbde=>Promise['race']([m(_0xe9fbde),p(0x3e8)])));}(Array['from'](_0x39b0ca['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1ce10e=this['_pagesContainer']['element'];if(!_0x1ce10e['ownerDocument']['body']['contains'](_0x1ce10e))return;const _0x494038=new _0x32e22d(_0x1ce10e)['excludeScrollbarsAndBorders'](),_0xb4292a=_0x393233['window']['getComputedStyle'](_0x1ce10e),_0x4d3b74=parseFloat(_0xb4292a['paddingLeft'])+parseFloat(_0xb4292a['paddingRight']),_0x20e855=Math['floor'](_0x494038['width']+0x64-_0x4d3b74),_0x5edd70=b(_0x1ce10e,Math['floor'](_0x494038['left']-_0x1ce10e['scrollLeft']),_0x20e855,_0x494038['height'])['map'](_0x38a64c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x38a64c));_0x5edd70['every'](_0x45f6dd=>!!_0x45f6dd)&&(this['pageBreaks']=_0x5edd70);}['_mapPageStarterInfoToPageBreakInfo'](_0x309aae){const _0x18143b=this['editor']['editing']['view'],_0x38f9a6=this['editor']['editing']['mapper'],_0x3e9c15=_0x18143b['domConverter'],_0x59dc25=_0x309aae['path']['shift'](),_0x3abbe0=this['_pagesContainer']['element']['childNodes'][_0x59dc25]['dataset']['rootName'],_0x2520cc=_0x18143b['getDomRoot'](_0x3abbe0);if(!_0x2520cc)return null;const _0xdd9246=function(_0x12c1f6,_0x5f1fc9){let _0x2ae81d=_0x12c1f6;for(const _0x2bada0 of _0x5f1fc9['path']){if(!_0x2ae81d)return null;_0x2ae81d=_0x2ae81d['childNodes'][_0x2bada0];}return _0x2ae81d;}(_0x2520cc,_0x309aae);if(!_0xdd9246)return null;const _0x56a68d=_0x3e9c15['domPositionToView'](_0xdd9246,_0x309aae['textOffset']||0x0);return _0x56a68d?'manual'==_0x309aae['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246):'text'==_0x309aae['type']&&_0x38f9a6['toModelPosition'](_0x56a68d)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246,_0x309aae['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x56a68d,_0xdd9246,_0x309aae['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x21db93,_0x341a99){const _0x54d18e=this['editor']['model'],_0x2e6da9=this['editor']['editing']['mapper']['toModelElement'](_0x21db93['parent']),_0x814c51=_0x54d18e['createRangeOn'](_0x2e6da9);return new K({'type':'manual','modelRange':_0x814c51,'domNode':_0x341a99,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5d90d3,_0x59c305,_0x226328){const _0x48963f=this['editor']['model'],_0x2291ce=this['editor']['editing']['mapper'],_0x2eb2c1=this['editor']['editing']['view']['domConverter'];if(_0x226328>=_0x59c305['length'])return null;const _0x44548a=_0x2291ce['toModelPosition'](_0x5d90d3),_0x4fc715=_0x48963f['createRange'](_0x44548a),_0x122ba6=_0x2291ce['findMappedViewAncestor'](_0x5d90d3),_0x40b1d8=_0x2eb2c1['mapViewToDom'](_0x122ba6);return new K({'type':'text','modelRange':_0x4fc715,'domNode':_0x59c305,'offset':w(_0x59c305,_0x226328,_0x40b1d8)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6e7cad,_0x4b6b40,_0xefe8c8){const _0x516631=this['editor']['model'],_0x255209=this['editor']['editing'],_0x2d35e4=_0x255209['mapper'],_0x19ae81=_0x255209['view']['domConverter'],_0x27bc44=_0x2d35e4['findMappedViewAncestor'](_0x6e7cad),_0x529291=_0x2d35e4['toModelElement'](_0x27bc44),_0x2e251e=function(_0x2801fb){const _0x2c27dc=_0x2801fb['parent'],_0x33569c=_0x2c27dc['root']['document']['model'],_0x32bc2c=_0x2c27dc['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xdbb276=null;for(const _0x135c05 of _0x32bc2c){if(_0x135c05['is']('rootElement'))return _0xdbb276;if(!_0x33569c['createPositionBefore'](_0x135c05)['isTouching'](_0x2801fb))return _0xdbb276;_0xdbb276=_0x135c05;}}(_0x516631['createPositionBefore'](_0x529291)),_0x4d37b6=_0x2e251e||_0x529291;let _0xcba911=_0x2d35e4['toViewElement'](_0x4d37b6),_0x480f00=_0x516631['createRangeOn'](_0x4d37b6);const _0x5ee358=_0x516631['createPositionBefore'](_0x4d37b6)['nodeBefore'];if(_0x5ee358&&_0x5ee358['is']('element','imageBlock')){const _0x4584aa=_0x2d35e4['toViewElement'](_0x5ee358),_0x1d6f7a=_0x19ae81['mapViewToDom'](_0x4584aa),_0x2f24b5=_0x393233['window']['getComputedStyle'](_0x1d6f7a)['float'];'left'!=_0x2f24b5&&'right'!=_0x2f24b5||(_0x480f00=_0x516631['createRangeOn'](_0x5ee358));}for(;_0xcba911['parent']!==_0xcba911['root']&&0x0===_0xcba911['index'];)_0xcba911=_0xcba911['parent'];const _0x5d7b68=new _0x32e22d(N(_0x4b6b40)?_0x4b6b40:y(_0x4b6b40)),_0x2f2c08=_0xefe8c8?_0x5d7b68['height']-_0xefe8c8:0x0,_0x5211aa=_0x19ae81['mapViewToDom'](_0xcba911),_0x40478b=new _0x32e22d(_0x5211aa);return new K({'type':'element','modelRange':_0x480f00,'domNode':_0x5211aa,'offset':Math['round'](_0x2f2c08)?_0x2f2c08+_0x5d7b68['top']-_0x40478b['top']:0x0});}get['_configuredPaddings'](){const _0x2c448f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2c448f);}static['_findPageStarterInfos'](_0x45c352,_0x2340c8,_0x50ebc7,_0x5c1f62,_0x2a2522){return b(_0x45c352,_0x2340c8,_0x50ebc7,_0x5c1f62,_0x2a2522);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xebec42,modelRange:_0x444f4e,domNode:_0x15953c,offset:_0x18d6f4}){this['type']=_0xebec42,this['modelRange']=_0x444f4e,this['_domNode']=_0x15953c,this['_offset']=_0x18d6f4;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xd5342e=new _0x32e22d(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0xd5342e['top']+_0xd5342e['height']/0x2:_0xd5342e['top']+this['_offset'];}}function w(_0xd7355f,_0x339427,_0x31dada){const _0x330951=y(_0xd7355f),_0x1a1f48=function(_0x510202){const _0x5a6609=_0x393233['document']['createRange']();return _0x5a6609['selectNodeContents'](_0x510202),_0x5a6609;}(_0x31dada);let _0x55f073;_0x55f073=0x0==_0x339427?k(_0x1a1f48['startContainer'],_0x1a1f48['startOffset'],_0xd7355f['parentNode'],Array['from'](_0xd7355f['parentNode']['childNodes'])['indexOf'](_0xd7355f)):k(_0x1a1f48['startContainer'],_0x1a1f48['startOffset'],_0xd7355f,_0x339427);const _0x46b8af=k(_0xd7355f,_0x339427,_0x1a1f48['endContainer'],_0x1a1f48['endOffset']),_0x3fe669=new _0x32e22d(_0x55f073)['bottom'];return(new _0x32e22d(_0x46b8af)['top']+_0x3fe669)/0x2-new _0x32e22d(_0x330951)['top'];}function m(_0x5e09a9){return _0x5e09a9['hasAttribute']('width')&&_0x5e09a9['hasAttribute']('height')?Promise['resolve']():new Promise(_0xa10eaf=>{function _0x5b95bf(){_0x5e09a9['removeEventListener']('load',_0x5b95bf),_0x5e09a9['removeEventListener']('error',_0x5b95bf),_0xa10eaf();}_0x5e09a9['complete']?_0xa10eaf():(_0x5e09a9['addEventListener']('load',_0x5b95bf),_0x5e09a9['addEventListener']('error',_0x5b95bf));});}function p(_0x4062e7){return new Promise(_0x177aad=>setTimeout(_0x177aad,_0x4062e7));}function y(_0x22593b){const _0x5f417d=_0x393233['document']['createRange']();return _0x5f417d['selectNode'](_0x22593b),_0x5f417d;}function P(_0x1a55e4,_0x938618,_0x561a21){const _0x3a2b59=_0x393233['document']['createRange']();return _0x3a2b59['setStart'](_0x1a55e4,_0x938618),_0x3a2b59['setEnd'](_0x1a55e4,_0x561a21),_0x3a2b59;}function k(_0x2ad092,_0x4021a3,_0x17a720,_0x15e470){const _0x33a0fe=_0x393233['document']['createRange']();return _0x33a0fe['setStart'](_0x2ad092,_0x4021a3),_0x33a0fe['setEnd'](_0x17a720,_0x15e470),_0x33a0fe;}function b(_0x263cd0,_0x625177,_0x396ccf,_0x267f03,_0x52cb9d){const _0x4be3a2=[];for(const [_0x4d3939,_0x47bf07]of _0x263cd0['childNodes']['entries']()){let _0x42eafc=[];N(_0x47bf07)&&_0x47bf07['offsetParent']&&!_0x47bf07['style']['position']?_0x42eafc=x(_0x47bf07,_0x4d3939,_0x625177,_0x396ccf,_0x267f03,_0x52cb9d):S(_0x47bf07)&&(_0x42eafc=_(_0x47bf07,_0x4d3939,_0x625177,_0x396ccf,_0x52cb9d)),_0x42eafc['length']&&(_0x4be3a2['push'](..._0x42eafc),_0x625177+=_0x42eafc['length']*_0x396ccf,_0x52cb9d=!0x1);}return _0x4be3a2;}function x(_0x1bc3e1,_0x4955ab,_0x2551ea,_0x4049e7,_0x41a725,_0xe0194f){const _0x36a9a0=[];var _0x320f01;if((_0x320f01=_0x1bc3e1['previousSibling'])&&N(_0x320f01)&&Boolean(_0x320f01['classList']['contains']('page-break')||_0x320f01['closest']('.page-break'))&&(_0x36a9a0['push']({'type':'manual','offset':0x0,'path':[_0x4955ab-0x1]}),_0xe0194f=!0x0),'table-row'==_0x393233['window']['getComputedStyle'](_0x1bc3e1)['display']){let _0x9f4f16=0x0,_0x39e855=!0x1;for(const _0x21948a of _0x1bc3e1['getClientRects']())_0x9f4f16+=_0x21948a['height'],_0x21948a['left']>=_0x2551ea&&(_0x39e855=!0x0);if(_0x9f4f16<_0x41a725&&_0x39e855)return _0x36a9a0['push']({'type':'element','offset':0x0,'path':[_0x4955ab]}),_0x36a9a0;}const _0x34deba=_0x1bc3e1['closest']('figure.image');if(_0x34deba&&function(_0x5ed2e0){let _0x46f368=!0x1;const _0x288cb1=_0x5ed2e0['parentElement'],_0x351a26=_0x288cb1['dataset']['rootName'],_0x2326f3=_0x5ed2e0['nextElementSibling'],_0x384f4c=_0x5ed2e0['previousElementSibling'],_0x25af1f=_0x2326f3&&_0x393233['window']['getComputedStyle'](_0x2326f3)['float'],_0x2681f4=_0x2326f3&&'ck-fake-selection-container'===_0x2326f3['className'];!_0x351a26||_0x2326f3||_0x384f4c||(_0x46f368=!0x0),_0x351a26&&!_0x384f4c&&_0x2681f4&&(_0x46f368=!0x0),_0x351a26&&!_0x384f4c&&'none'!==_0x25af1f&&(_0x46f368=!0x0);if(_0x46f368)return!0x1;return!0x0;}(_0x34deba)){const _0x42b1ff=_0x393233['window']['getComputedStyle'](_0x34deba)['float'];if('left'==_0x42b1ff||'right'==_0x42b1ff)return _0x36a9a0;}const _0x573958=b(_0x1bc3e1,_0x2551ea,_0x4049e7,_0x41a725,_0xe0194f);if(_0x573958['length']){for(const _0x31f3ef of _0x573958)_0x36a9a0['push']({'type':_0x31f3ef['type'],'offset':_0x31f3ef['offset'],'textOffset':_0x31f3ef['textOffset'],'path':[_0x4955ab,..._0x31f3ef['path']]}),_0x2551ea+=_0x4049e7,_0xe0194f=!0x1;return _0x36a9a0;}return _0x36a9a0['push'](...function(_0x357d01,_0x375f04,_0x333f55,_0x543e13,_0x2cb150){const _0x4f9b05=[];if('table-cell'==_0x393233['window']['getComputedStyle'](_0x357d01)['display'])return[];const _0x3adca5=[];for(const _0x4d10ea of _0x357d01['getClientRects']())if(_0x4d10ea['left']>=_0x333f55){for(const _0x384532 of _0x3adca5)_0x384532['height']+=_0x4d10ea['height'];_0x3adca5['push']({'height':_0x4d10ea['height']}),_0x333f55+=_0x543e13;}for(const _0x2c2ff9 of _0x3adca5)_0x2cb150||_0x4f9b05['push']({'type':'element','offset':_0x2c2ff9['height'],'textOffset':0x0,'path':[_0x375f04]}),_0x2cb150=!0x1;return _0x4f9b05;}(_0x1bc3e1,_0x4955ab,_0x2551ea,_0x4049e7,_0xe0194f)),_0x36a9a0;}function _(_0x178c1d,_0x5420f1,_0x2d4715,_0x424241,_0x2d0923){const _0x2047b1=y(_0x178c1d),_0x219dd2=[];let _0x1f8419=0x0;for(const _0x664e91 of _0x2047b1['getClientRects']())if(_0x664e91['left']>=_0x2d4715){const _0x121eec=B(_0x178c1d,_0x1f8419,_0x2d4715,_0x424241);_0x2d0923||_0x219dd2['push']({'type':'text','path':[_0x5420f1],'textOffset':_0x121eec}),_0x1f8419=_0x121eec,_0x2d4715+=_0x424241,_0x2d0923=!0x1;}return _0x219dd2;}function B(_0x4df0d2,_0x2b31f0,_0x11961d,_0x213289){let _0x23fe1e=_0x2b31f0,_0x5c62be=_0x4df0d2['length'];for(;_0x5c62be-_0x23fe1e>0x1;){const _0x39bca6=Math['ceil']((_0x23fe1e+_0x5c62be)/0x2);I(P(_0x4df0d2,_0x23fe1e,_0x39bca6),_0x11961d,_0x213289)?_0x5c62be=_0x39bca6:_0x23fe1e=_0x39bca6;}return _0x23fe1e;}function I(_0x24248f,_0x2d39b3,_0x507d2b){for(const _0x5e0c33 of _0x24248f['getClientRects']())if(_0x5e0c33['left']>=_0x2d39b3&&_0x5e0c33['left']<_0x2d39b3+_0x507d2b)return!0x0;return!0x1;}function N(_0xd5ef15){return _0xd5ef15['nodeType']==Node['ELEMENT_NODE'];}function S(_0x33285a){return _0x33285a['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4bf4a2('px');class C extends _0xefe258{constructor(){super();const _0x178474=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x178474['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x178474['if']('isVisible','ck-hidden',_0x5d3844=>!_0x5d3844)],'style':{'left':_0x178474['to']('left',_0x204730=>q(_0x204730)),'top':_0x178474['to']('top',_0x34d11b=>q(_0x34d11b)),'width':_0x178474['to']('width',_0x3921c1=>q(_0x3921c1))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5871d4){this['_viewCollection']=_0x5871d4['ui']['view']['body'];}['destroy'](){for(const _0x2455f2 of this['_hiddenLines'])_0x2455f2['destroy']();}['cleanLines'](){for(const _0x3e0c4c of this['_visibleLines'])_0x3e0c4c['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3e0c4c);this['_visibleLines']['clear']();}['showLine'](_0x4318ee,_0x5250bf,_0x5806ab,_0x2791ef){let _0x3c7cfd;this['_hiddenLines']['size']?(_0x3c7cfd=_0x3aa487(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3c7cfd)):_0x3c7cfd=new C(),_0x3c7cfd['set']({'pageNumber':_0x2791ef,'left':_0x4318ee,'top':_0x5250bf,'width':_0x5806ab}),_0x3c7cfd['isVisible']=!0x0,this['_viewCollection']['has'](_0x3c7cfd)||this['_viewCollection']['add'](_0x3c7cfd),this['_visibleLines']['add'](_0x3c7cfd);}['setViewCollection'](_0x1572cc){for(const _0x2b79da of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2b79da)&&this['_viewCollection']['remove'](_0x2b79da);this['_viewCollection']=_0x1572cc;}}const E='ck-pagination_enabled';class n extends _0xd615fc{['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',(_0x4925c6,_0x11a31d,_0x57f6fd)=>{_0x57f6fd||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x57f6fd);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x9ef384){if(!this['isEnabled'])return;const _0x5bc957=_0x9ef384>0x1?this['_getPageBreakLineOffset'](_0x9ef384-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5bc957-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x521f94['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2ef9cf=this['editor'],_0x4f66f3=this['_getAttachedDomRoot']();_0x4f66f3?(this['_scrollableEditingRootDomAncestor']&&_0x2ef9cf['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x567294){let _0x33f48d=_0x567294;do{_0x33f48d=_0x33f48d['parentElement'];const _0x541132=_0x393233['window']['getComputedStyle'](_0x33f48d)['overflowY'];if('auto'==_0x541132||'scroll'==_0x541132)break;}while('BODY'!=_0x33f48d['tagName']);return _0x33f48d;}(_0x4f66f3),_0x2ef9cf['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xe4f9b0(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2ef9cf['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x40f07b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x40f07b['ui']['view']['listenTo'](_0x393233['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x40f07b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2fb6ab of this['editor']['editing']['view']['domRoots']['values']())if(_0x2fb6ab['ownerDocument']['body']['contains'](_0x2fb6ab))return _0x2fb6ab;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x7fa5fe=this['_getAttachedDomRoot'](),_0x4d2a5e=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x7fa5fe||0x1==_0x4d2a5e['length'])return void(this['pageNumber']=0x1);const _0x535b8e=new _0x32e22d(_0x7fa5fe)['excludeScrollbarsAndBorders'](),_0x490383=new _0x32e22d(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x5b6aa6=_0x490383['top']+_0x490383['height']/0x3;let _0x4f2574=!0x1;const _0x52cfb1=[];for(let _0x48b0de=0x1;_0x48b0de<_0x4d2a5e['length'];_0x48b0de++){const _0x16485a=this['_getPageBreakLineOffset'](_0x48b0de,_0x490383);if(!_0x16485a)continue;const _0x16781b=_0x490383['top']+_0x16485a-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x52cfb1['push']({'pageOffsetTop':_0x16781b,'domRootRect':_0x535b8e,'domScrollableRect':_0x490383,'pageNumber':_0x48b0de}),_0x16781b>_0x5b6aa6&&!_0x4f2574&&(this['pageNumber']=_0x48b0de,_0x4f2574=!0x0);}this['_renderPageBreakLines'](_0x52cfb1),_0x4f2574||(this['pageNumber']=_0x4d2a5e['length']);}['_renderPageBreakLines'](_0x167446){const {scrollX:_0xe80e6a,scrollY:_0xb6e409}=_0x393233['window'];if(_0x167446['length']){for(const {domScrollableRect:_0x1de5e4,pageOffsetTop:_0xb061d5,domRootRect:_0x613a67,pageNumber:_0x43b6ec}of _0x167446)_0x1de5e4['top']<_0xb061d5&&_0xb061d5<_0x1de5e4['bottom']&&this['linesRepository']['showLine'](_0x613a67['left']+_0xe80e6a,_0xb061d5+_0xb6e409,_0x613a67['width'],_0x43b6ec+0x1);}}['_getPageBreakLineOffset'](_0x50e17e,_0x20dfa4=null){const _0x553c2b=this['_paginationLookupPlugin']['pageBreaks'][_0x50e17e]['offset'];return _0x553c2b?(_0x20dfa4||(_0x20dfa4=new _0x32e22d(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x553c2b-_0x20dfa4['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1e48a9,_0x1efa8b=!0x0){const _0x1c134f=this['editor']['editing']['view'];_0x1c134f['change'](_0xb3a44e=>{for(const _0x16114c of _0x1c134f['document']['roots'])_0x1efa8b?_0xb3a44e['addClass'](_0x1e48a9,_0x16114c):_0xb3a44e['removeClass'](_0x1e48a9,_0x16114c);});}}function g(_0x5d9649,_0x474f95,..._0xb5a0a4){const t=_0x5d9649['t'];switch(_0x474f95){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)',..._0xb5a0a4);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 _0x474f95;}}class s extends _0xd615fc{['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 _0x40f3d3=this['editor']['plugins']['get']('Pagination'),_0x3da284=this['editor']['plugins']['get'](a),_0x4d78be=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x40f3d3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4d78be),this['listenTo'](_0x3da284,'change:pageBreaks',(_0x44c6bc,_0x4cc049,_0x78407b,_0x17cc28)=>{this['totalPages']=_0x78407b['length'],this['_updatePageBreakMarkers'](_0x78407b,_0x17cc28);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x23ec50=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24072e;for(const _0x18c425 in _0x23ec50){const _0x3da3e2=_0x18c425,_0x5017bd=_0x23ec50[_0x3da3e2];if('paginationLicenseKeyValid'==_0x5017bd||'paginationLicenseKeyInvalid'==_0x5017bd||'paginationLicenseKeyExpired'==_0x5017bd||'paginationLicenseKeyDomainLimit'==_0x5017bd||'paginationLicenseKeyNotAllowed'==_0x5017bd||'paginationLicenseKeyEvaluationLimit'==_0x5017bd||'paginationLicenseKeyTrialLimit'==_0x5017bd||'paginationLicenseKeyUsageLimit'==_0x5017bd){delete _0x23ec50[_0x3da3e2],_0x24072e=_0x5017bd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x24072e&&_0x23ec50['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x24072e&&_0x23ec50['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x24072e&&_0x23ec50['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x24072e&&_0x23ec50['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x8fe4ee){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x8fe4ee));}['moveSelectionToPage'](_0x191d83){if(!this['isEnabled'])return;const _0x1cc341=this['editor'],_0x197e8f=this['editor']['plugins']['get'](a)['pageBreaks'][_0x191d83-0x1];_0x197e8f&&_0x1cc341['model']['change'](_0x4c7ee2=>{switch(_0x197e8f['type']){case'manual':{const _0x1b291d=_0x1cc341['model']['schema']['getNearestSelectionRange'](_0x197e8f['modelRange']['end'],'forward');_0x4c7ee2['setSelection'](_0x1b291d);break;}case'element':{const _0x43418b=_0x1cc341['model']['schema']['getNearestSelectionRange'](_0x197e8f['modelRange']['start'],'forward');_0x4c7ee2['setSelection'](_0x43418b);break;}case'text':{const _0x45597a=_0x197e8f['modelRange']['start'];if(_0x45597a['textNode']&&'\x20'===_0x45597a['textNode']['data'][_0x45597a['offset']]){const _0xa90090=_0x4c7ee2['createPositionAt'](_0x45597a['parent'],_0x45597a['offset']+0x1);_0x4c7ee2['setSelection'](_0xa90090);}else _0x4c7ee2['setSelection'](_0x197e8f['modelRange']);}}_0x1cc341['editing']['view']['focus']();});}['goToNextPage'](){const _0x569e81=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x569e81),this['scrollToPage'](_0x569e81);}['goToPreviousPage'](){const _0x46025c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x46025c),this['scrollToPage'](_0x46025c);}['_updatePageBreakMarkers'](_0xd5690a,_0x1772fb){const _0x409969=this['editor']['model'];this['isEnabled']&&_0x409969['change'](_0x45f1f1=>{for(let _0x3cb754=0x1;_0x3cb754<_0xd5690a['length'];_0x3cb754++){const _0x176f01=_0xd5690a[_0x3cb754]['modelRange'],_0x245c0a='pagination:'+(_0x3cb754+0x1);_0x409969['markers']['has'](_0x245c0a)?_0x45f1f1['updateMarker'](_0x245c0a,{'range':_0x176f01}):_0x45f1f1['addMarker'](_0x245c0a,{'range':_0x176f01,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4e7e9c=_0xd5690a['length'];_0x4e7e9c<_0x1772fb['length'];_0x4e7e9c++){const _0x329315='pagination:'+(_0x4e7e9c+0x1);_0x409969['markers']['has'](_0x329315)&&_0x45f1f1['removeMarker'](_0x329315);}});}['_setUpDataDowncastConversion'](){const _0x2bb967='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4e7e4b=>{_0x4e7e4b['on']('addMarker:'+_0x2bb967,(_0x3e8f6d,{markerRange:_0x22efd8,markerName:_0x277acc},_0x5ec227)=>{if(!_0x5ec227['options']['pagination'])return;if(!_0x5ec227['consumable']['consume'](_0x22efd8,_0x3e8f6d['name']))return;const _0x55e7e3=_0x22efd8['getContainedElement']();let _0x463486=_0x55e7e3?_0x5ec227['mapper']['toViewElement'](_0x55e7e3):null;if(!_0x463486){const _0x32552b=_0x22efd8['start'];if(_0x5ec227['schema']['checkChild'](_0x32552b,'$text')){const _0x31ac8f=_0x5ec227['mapper']['toViewPosition'](_0x32552b);_0x463486=_0x5ec227['writer']['createContainerElement']('span'),_0x463486['getFillerOffset']=()=>null,_0x5ec227['writer']['insert'](_0x31ac8f,_0x463486);}else{const _0x22fd54=_0x32552b['nodeAfter'];_0x463486=_0x5ec227['mapper']['toViewElement'](_0x22fd54);}}for(;_0x463486['parent']!==_0x463486['root']&&0x0===_0x463486['index'];)_0x463486=_0x463486['parent'];const _0x3e8696=_0x277acc['substring'](0xb);_0x463486['hasClass']('page-break')||(_0x5ec227['writer']['setStyle']('page-break-before','always',_0x463486),_0x5ec227['writer']['setAttribute']('data-pagination-page',_0x3e8696,_0x463486),_0x5ec227['mapper']['bindElementToMarker'](_0x463486,_0x277acc)),_0x3e8f6d['stop']();});});}['_setupKeystrokes'](){const _0x5280ed=this['editor'];_0x5280ed['keystrokes']['set']('Shift+Pageup',(_0x32cf66,_0x4c7eaa)=>{this['goToPreviousPage'](),_0x4c7eaa();}),_0x5280ed['keystrokes']['set']('Shift+Pagedown',(_0x2586f6,_0xfc1d6a)=>{this['goToNextPage'](),_0xfc1d6a();}),_0x5280ed['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x5280ed['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x5280ed['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x5280ed['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x185bbe){return _0x185bbe<0x1&&(_0x185bbe=0x1),_0x185bbe>this['totalPages']&&(_0x185bbe=this['totalPages']),_0x185bbe;}}class G extends _0xefe258{['pageNumberView'];constructor(_0x5d1bc5){super(_0x5d1bc5);const _0x11955f=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x556e3e(_0x5d1bc5,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x56eabf=>g(_0x5d1bc5,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x56eabf)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x45d718=>!_0x45d718),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x11955f['if']('isEnabled','ck-disabled',_0x1b7afb=>!_0x1b7afb)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x11955f['to']('totalPages')}]}]});}['render'](){super['render']();const _0xe3e699=this['pageNumberView']['element'],_0x3d9925=_0x4f13b3=>{this['pageNumberView']['element']['value']=String(_0x4f13b3);};_0x3d9925(this['pageNumber']),this['on']('change:pageNumber',(_0xe457ce,_0x519535,_0x46b3ab)=>{_0x3d9925(_0x46b3ab);}),this['listenTo'](_0xe3e699,'keydown',(_0x12d0d2,_0x52d487)=>{if('ArrowUp'===_0x52d487['key']||'ArrowDown'===_0x52d487['key'])return void _0x52d487['stopPropagation']();if(_0x52d487['keyCode']!==_0x21fd6c['enter'])return;_0x52d487['preventDefault']();const _0x399ea3=_0xe3e699['valueAsNumber'];Number['isNaN'](_0x399ea3)?_0xe3e699['value']=String(this['pageNumber']):(_0xe3e699['checkValidity']()?this['pageNumber']=_0x399ea3:_0x399ea3>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xe3e699['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xe3e699['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xe3e699,'blur',()=>{_0xe3e699['value']=String(this['pageNumber']);}),this['listenTo'](_0xe3e699,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0xd615fc{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f92fb=this['editor'],_0x2e1ad4=_0x4f92fb['plugins']['get']('PaginationEditing');_0x4f92fb['ui']['componentFactory']['add']('pageNavigation',_0x410bfa=>{const _0x3d8877=new G(_0x410bfa);return _0x3d8877['bind']('pageNumber')['to'](_0x2e1ad4),_0x3d8877['bind']('totalPages')['to'](_0x2e1ad4),_0x3d8877['bind']('isEnabled')['to'](_0x2e1ad4),_0x3d8877['on']('navigation',(_0x328df7,_0xa18e68)=>{_0x2e1ad4['moveSelectionToPage'](_0xa18e68),_0x2e1ad4['scrollToPage'](_0xa18e68);}),_0x3d8877;}),_0x4f92fb['ui']['componentFactory']['add']('nextPage',_0x409923=>{const _0x6cd323=new _0x3f7fe6(_0x409923);return _0x6cd323['isEnabled']=!0x0,_0x6cd323['label']=g(_0x4f92fb['locale'],'Go\x20to\x20next\x20page'),_0x6cd323['icon']=_0x33812b,_0x6cd323['tooltip']=!0x0,_0x6cd323['keystroke']='Shift+PageDown',_0x6cd323['bind']('isEnabled')['to'](_0x2e1ad4),this['listenTo'](_0x6cd323,'execute',()=>{_0x2e1ad4['goToNextPage']();}),_0x6cd323;}),_0x4f92fb['ui']['componentFactory']['add']('previousPage',_0x212192=>{const _0x352621=new _0x3f7fe6(_0x212192);return _0x352621['isEnabled']=!0x0,_0x352621['label']=g(_0x4f92fb['locale'],'Go\x20to\x20previous\x20page'),_0x352621['icon']=_0x557c98,_0x352621['tooltip']=!0x0,_0x352621['keystroke']='Shift+PageUp',_0x352621['bind']('isEnabled')['to'](_0x2e1ad4),this['listenTo'](_0x352621,'execute',()=>{_0x2e1ad4['goToPreviousPage']();}),_0x352621;});}}class T extends _0xd615fc{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x23ce9a){super(_0x23ce9a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3fa75e=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x3fa75e),this['bind']('totalPages')['to'](_0x3fa75e),_0x521f94['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x107846){this['editor']['plugins']['get'](s)['scrollToPage'](_0x107846);}}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.1",
|
|
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.1",
|
|
16
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.1",
|
|
20
|
+
"ckeditor5": "46.0.0-alpha.1",
|
|
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
|
-
const _0x3cfb7b=_0x282b;(function(_0x4fa6cb,_0x18c62e){const _0x3a6f36=_0x282b,_0x10376d=_0x4fa6cb();while(!![]){try{const _0x120d27=parseInt(_0x3a6f36(0x12a))/0x1+parseInt(_0x3a6f36(0x170))/0x2*(parseInt(_0x3a6f36(0x1a0))/0x3)+-parseInt(_0x3a6f36(0x116))/0x4+-parseInt(_0x3a6f36(0x15a))/0x5*(parseInt(_0x3a6f36(0x17b))/0x6)+parseInt(_0x3a6f36(0x1c4))/0x7*(-parseInt(_0x3a6f36(0x19b))/0x8)+-parseInt(_0x3a6f36(0x138))/0x9+parseInt(_0x3a6f36(0x13b))/0xa;if(_0x120d27===_0x18c62e)break;else _0x10376d['push'](_0x10376d['shift']());}catch(_0x5a2030){_0x10376d['push'](_0x10376d['shift']());}}}(_0x4857,0x39fef));import{Plugin as _0x5a326a}from'ckeditor5/src/core.js';import{View as _0x42f907}from'ckeditor5/src/ui.js';import{Rect as _0x1baba5,global as _0x18a53,logWarning as _0x51e604,uid as _0x57ce56}from'ckeditor5/src/utils.js';import{debounce as _0x3433ea}from'es-toolkit/compat';export class PaginationLookup extends _0x5a326a{[_0x3cfb7b(0x1a8)]=_0x3433ea(()=>this[_0x3cfb7b(0x190)](),0xc8);[_0x3cfb7b(0x16c)]=null;static get[_0x3cfb7b(0x1b9)](){const _0x30fe55=_0x3cfb7b;return _0x30fe55(0x19a);}static get[_0x3cfb7b(0x1ad)](){return!0x0;}static get[_0x3cfb7b(0x126)](){return!0x0;}[_0x3cfb7b(0x18d)](){const _0x2366fa=_0x3cfb7b;if(this[_0x2366fa(0x113)]({'pageBreaks':[]}),!this[_0x2366fa(0x16e)][_0x2366fa(0x19c)][_0x2366fa(0x1aa)](_0x2366fa(0x14b)))return void _0x51e604(_0x2366fa(0x111),this[_0x2366fa(0x16e)][_0x2366fa(0x19c)]);const _0x494791=this[_0x2366fa(0x16e)][_0x2366fa(0x195)][_0x2366fa(0x1aa)](_0x2366fa(0x140));this[_0x2366fa(0x16b)](_0x2366fa(0x1b1))['to'](_0x494791),this[_0x2366fa(0x16e)]['ui'][_0x2366fa(0x1a7)](_0x2366fa(0x169),()=>this[_0x2366fa(0x182)]()),this['on'](_0x2366fa(0x176),(_0x1db001,_0x5782de,_0x41e378)=>{const _0x3e436f=_0x2366fa;_0x41e378&&this[_0x3e436f(0x1a8)]();});}[_0x3cfb7b(0x161)](){!async function(_0x5043ba){const _0x2c2b2f=_0x354b04([0x67,0x73,0x55,0x75,0x56,0x50,0x42,0x68,0x4d,0x6e,0x72,0x6f,0x34,0x37,0x41,0x54,0x61,0x44,0x31,0x39,0x43,0x45,0x52,0x30,0x6b,0x62,0x69,0x5a,0x78,0x4a,0x33,0x6c,0x71,0x49,0x59,0x4c,0x32,0x63,0x6d,0x48,0x57,0x7a,0x46,0x4f,0x66,0x77,0x74,0x38,0x47,0x58,0x36,0x70,0x53,0x51,0x35,0x4b,0x64,0x4e,0x76,0x79,0x65,0x6a]),_0x16ea22=0x74011504,_0x4018cd=0x74067954^_0x16ea22,_0xfc251e=window[_0x354b04([0x44,0x61,0x74,0x65])][_0x354b04([0x6e,0x6f,0x77])](),_0x58a818=_0x5043ba[_0x354b04([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2861d2=new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311fd8=>{_0x58a818[_0x354b04([0x6f,0x6e,0x63,0x65])](_0x354b04([0x72,0x65,0x61,0x64,0x79]),_0x311fd8);}),_0xdff280={[_0x354b04([0x6b,0x74,0x79])]:_0x354b04([0x45,0x43]),[_0x354b04([0x75,0x73,0x65])]:_0x354b04([0x73,0x69,0x67]),[_0x354b04([0x63,0x72,0x76])]:_0x354b04([0x50,0x2d,0x32,0x35,0x36]),[_0x354b04([0x78])]:_0x354b04([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]),[_0x354b04([0x79])]:_0x354b04([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]),[_0x354b04([0x61,0x6c,0x67])]:_0x354b04([0x45,0x53,0x32,0x35,0x36])},_0x1adefe=_0x58a818[_0x354b04([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x354b04([0x67,0x65,0x74])](_0x354b04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x482069(){let _0x383960,_0x56f3db=null,_0x2d99f0=null;try{if(_0x1adefe==_0x354b04([0x47,0x50,0x4c]))return _0x354b04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x383960=_0x5c4190(),!_0x383960)return _0x354b04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x383960[_0x354b04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d99f0=_0x2135ca(_0x383960[_0x354b04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x383960[_0x354b04([0x6a,0x74,0x69])])),await _0x84b76e()?_0x9dc14a()?_0x1b0145()?_0x354b04([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6138b2()?(_0x383960[_0x354b04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x354b04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56f3db=_0x5d261a(_0x354b04([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x383960[_0x354b04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x354b04([0x74,0x72,0x69,0x61,0x6c])&&(_0x56f3db=_0x5d261a(_0x354b04([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x264015()):_0x354b04([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x354b04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x354b04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x354b04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b0145(){const _0x435992=[_0x354b04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x354b04([0x74,0x72,0x69,0x61,0x6c])][_0x354b04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x383960[_0x354b04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfc251e/0x3e8:0xe10*_0x4018cd;return _0x383960[_0x354b04([0x65,0x78,0x70])]<_0x435992;}function _0x9dc14a(){const _0x576e92=_0x383960[_0x354b04([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x576e92&&(!!_0x576e92[_0x354b04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x354b04([0x2a]))||!!_0x576e92[_0x354b04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x354b04([0x50,0x41,0x47])));}function _0x6138b2(){const _0x396708=_0x282b,_0x4cb3e8=_0x383960[_0x354b04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cb3e8||0x0==_0x4cb3e8[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38c468}=new URL(window[_0x354b04([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x396708(0x1bb)]);if(_0x4cb3e8[_0x354b04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38c468))return!0x0;const _0x35c54b=_0x38c468[_0x354b04([0x73,0x70,0x6c,0x69,0x74])](_0x354b04([0x2e]));return _0x4cb3e8[_0x354b04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35d632=>_0x35d632[_0x354b04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x354b04([0x2a])))[_0x354b04([0x6d,0x61,0x70])](_0x23e168=>_0x23e168[_0x354b04([0x73,0x70,0x6c,0x69,0x74])](_0x354b04([0x2e])))[_0x354b04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1202b4=>_0x1202b4[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35c54b[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x354b04([0x6d,0x61,0x70])](_0x5858c9=>Array(_0x35c54b[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5858c9[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x354b04([0x66,0x69,0x6c,0x6c])](_0x5858c9[0x0]===_0x354b04([0x2a])?_0x354b04([0x2a]):'')[_0x354b04([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5858c9))[_0x354b04([0x73,0x6f,0x6d,0x65])](_0x363df0=>_0x35c54b[_0x354b04([0x65,0x76,0x65,0x72,0x79])]((_0x1ab592,_0x1cbc66)=>_0x363df0[_0x1cbc66]===_0x1ab592||_0x363df0[_0x1cbc66]===_0x354b04([0x2a])));}function _0x264015(){return _0x56f3db&&_0x2d99f0?new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fb546,_0x455af4)=>{_0x56f3db[_0x354b04([0x74,0x68,0x65,0x6e])](_0x3fb546,_0x455af4),_0x2d99f0[_0x354b04([0x74,0x68,0x65,0x6e])](_0x571d9d=>{_0x571d9d!=_0x354b04([0x56,0x61,0x6c,0x69,0x64])&&_0x3fb546(_0x571d9d);},_0x455af4);}):_0x56f3db||_0x2d99f0||_0x354b04([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2135ca(_0x2764ac,_0x5b13c2){return new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b4250=>{if(_0x28bf84())return _0x2b4250(_0x354b04([0x56,0x61,0x6c,0x69,0x64]));_0x1b41ad(),_0x58a818[_0x354b04([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x354b04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39ca8e=!0x1;const _0x55d51e=_0x57ce56();function _0x3d1142(_0x14744c){return!!_0x14744c&&(typeof _0x14744c===_0x354b04([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14744c===_0x354b04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14744c[_0x354b04([0x74,0x68,0x65,0x6e])]===_0x354b04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14744c[_0x354b04([0x63,0x61,0x74,0x63,0x68])]===_0x354b04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf38cbe(_0x551bab){_0x4c54f0(_0x551bab)[_0x354b04([0x74,0x68,0x65,0x6e])](_0x1b8fde=>{if(!_0x1b8fde||_0x1b8fde[_0x354b04([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x354b04([0x6f,0x6b]))return _0x354b04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54dc6b(_0x1d753c(_0x55d51e+_0x5b13c2))!=_0x1b8fde[_0x354b04([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x354b04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x354b04([0x56,0x61,0x6c,0x69,0x64]);})[_0x354b04([0x74,0x68,0x65,0x6e])](_0x9e548f=>(_0x2456e1(),_0x9e548f),()=>{const _0x41ccd9=_0x223b38();return null==_0x41ccd9?(_0x2456e1(),_0x354b04([0x56,0x61,0x6c,0x69,0x64])):_0x354b04(_0xfc251e-_0x41ccd9>(0x500d9104^_0x16ea22)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x354b04([0x74,0x68,0x65,0x6e])](_0x2b4250)[_0x354b04([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b4250(_0x354b04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x409d6e=0x7437fb84^_0x16ea22;function _0x2456e1(){const _0x16eca1=_0x354b04([0x6c,0x6c,0x63,0x74,0x2d])+_0x54dc6b(_0x1d753c(_0x2764ac)),_0x2d7da0=_0x24775b(_0x54dc6b(window[_0x354b04([0x4d,0x61,0x74,0x68])][_0x354b04([0x63,0x65,0x69,0x6c])](_0xfc251e/_0x409d6e)));window[_0x354b04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x354b04([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16eca1,_0x2d7da0);}function _0x223b38(){const _0x16ea1d=_0x354b04([0x6c,0x6c,0x63,0x74,0x2d])+_0x54dc6b(_0x1d753c(_0x2764ac)),_0x3cdb91=window[_0x354b04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x354b04([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16ea1d);return _0x3cdb91?window[_0x354b04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24775b(_0x3cdb91),0x10)*_0x409d6e:null;}function _0x4c54f0(_0x305d2f){return new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37778e,_0x150d63)=>{_0x305d2f[_0x354b04([0x74,0x68,0x65,0x6e])](_0x37778e,_0x150d63),window[_0x354b04([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x150d63,0x7400c1c4^_0x16ea22);});}}_0x58a818[_0x354b04([0x6f,0x6e])](_0x354b04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4aa2f5,_0x536f1a)=>{if(_0x536f1a[0x0]!=_0x2764ac)return _0x2b4250(_0x354b04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x536f1a[0x1]={..._0x536f1a[0x1],[_0x354b04([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55d51e};},{[_0x354b04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x354b04([0x68,0x69,0x67,0x68])}),_0x58a818[_0x354b04([0x6f,0x6e])](_0x354b04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cc1c6=>{_0x3d1142(_0x3cc1c6[_0x354b04([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39ca8e=!0x0,_0xf38cbe(_0x3cc1c6[_0x354b04([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x354b04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x354b04([0x6c,0x6f,0x77])}),_0x2861d2[_0x354b04([0x74,0x68,0x65,0x6e])](()=>{_0x39ca8e||_0x2b4250(_0x354b04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28bf84(){return _0x58a818[_0x354b04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x354b04([0x76,0x69,0x65,0x77])][_0x354b04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x354b04([0x61,0x75,0x74,0x6f]);}function _0x1b41ad(){_0x58a818[_0x354b04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x354b04([0x76,0x69,0x65,0x77])][_0x354b04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x354b04([0x61,0x75,0x74,0x6f]);}}function _0x5d261a(_0xcb826c){const _0xc206c1=[new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ea6f=>setTimeout(_0x47ea6f,0x74082bc8^_0x16ea22)),_0x2861d2[_0x354b04([0x74,0x68,0x65,0x6e])](()=>new window[(_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8bfb85=>{let _0x1c0f07=0x0;_0x58a818[_0x354b04([0x6d,0x6f,0x64,0x65,0x6c])][_0x354b04([0x6f,0x6e])](_0x354b04([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190812,_0x5db4af)=>{_0x5db4af[0x0][_0x354b04([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c0f07++,_0x1c0f07==(0x740114fc^_0x16ea22)&&(_0x8bfb85(),_0x190812[_0x354b04([0x6f,0x66,0x66])]());});}))];return window[_0x354b04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x354b04([0x72,0x61,0x63,0x65])](_0xc206c1)[_0x354b04([0x74,0x68,0x65,0x6e])](()=>_0xcb826c);}async function _0x22edef(){await _0x2861d2,_0x58a818[_0x354b04([0x6d,0x6f,0x64,0x65,0x6c])][_0x354b04([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21733f,_0x58a818[_0x354b04([0x6d,0x6f,0x64,0x65,0x6c])][_0x354b04([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21733f,_0x58a818[_0x354b04([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x354b04([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ac2c0(_0x7fa0ae){const _0x30fdf4=_0x3e4ab1();_0x58a818[_0x30fdf4]=_0x354b04([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7fa0ae,_0x7fa0ae!=_0x354b04([0x56,0x61,0x6c,0x69,0x64])&&_0x22edef();}function _0x3e4ab1(){const _0x11bd6d=window[_0x354b04([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x354b04([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x354b04([0x6e,0x6f,0x77])]())[_0x354b04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x354b04([0x2e]),'');let _0x348f1a=_0x354b04([0x67]);for(let _0x50cf9d=0x0;_0x50cf9d<_0x11bd6d[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50cf9d+=0x2){let _0x44e8a8=window[_0x354b04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11bd6d[_0x354b04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50cf9d,_0x50cf9d+0x2));_0x44e8a8>=_0x2c2b2f[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44e8a8-=_0x2c2b2f[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x348f1a+=_0x2c2b2f[_0x44e8a8];}return _0x348f1a;}function _0x5c4190(){const _0x23c05a=_0x1adefe[_0x354b04([0x73,0x70,0x6c,0x69,0x74])](_0x354b04([0x2e]));if(0x3!=_0x23c05a[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55ec5c(_0x23c05a[0x1]);function _0x55ec5c(_0x343a74){const _0x371e06=_0x3c3f51(_0x343a74);return _0x371e06&&_0x4e768c()?_0x371e06:null;function _0x4e768c(){const _0x462772=_0x371e06[_0x354b04([0x6a,0x74,0x69])],_0x8b5f55=window[_0x354b04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x462772[_0x354b04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x462772[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2655de={..._0x371e06,[_0x354b04([0x6a,0x74,0x69])]:_0x462772[_0x354b04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x462772[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2655de[_0x354b04([0x76,0x63])],_0x1d753c(_0x2655de)==_0x8b5f55;}}}async function _0x84b76e(){let _0x1eba69=!0x0;try{const _0xbc8637=_0x1adefe[_0x354b04([0x73,0x70,0x6c,0x69,0x74])](_0x354b04([0x2e])),[_0x1cfa92,_0x5042dd,_0x1b00ce]=_0xbc8637;return _0x5acd4a(_0x1cfa92),await _0x486c9a(_0x1cfa92,_0x5042dd,_0x1b00ce),_0x1eba69;}catch{return!0x1;}function _0x5acd4a(_0x3ab830){const _0x54e7df=_0x3c3f51(_0x3ab830);_0x54e7df&&_0x54e7df[_0x354b04([0x61,0x6c,0x67])]==_0x354b04([0x45,0x53,0x32,0x35,0x36])||(_0x1eba69=!0x1);}async function _0x486c9a(_0x3c3a5f,_0x477e74,_0x240256){const _0xe9dd72=window[_0x354b04([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x354b04([0x66,0x72,0x6f,0x6d])](_0x25b3a2(_0x240256),_0x96bd76=>_0x96bd76[_0x354b04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x484164=new window[(_0x354b04([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x354b04([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c3a5f+_0x354b04([0x2e])+_0x477e74),_0x4cfede=window[_0x354b04([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x354b04([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cfede)return;const _0x15d013=await _0x4cfede[_0x354b04([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x354b04([0x6a,0x77,0x6b]),_0xdff280,{[_0x354b04([0x6e,0x61,0x6d,0x65])]:_0x354b04([0x45,0x43,0x44,0x53,0x41]),[_0x354b04([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x354b04([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x354b04([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cfede[_0x354b04([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x354b04([0x6e,0x61,0x6d,0x65])]:_0x354b04([0x45,0x43,0x44,0x53,0x41]),[_0x354b04([0x68,0x61,0x73,0x68])]:{[_0x354b04([0x6e,0x61,0x6d,0x65])]:_0x354b04([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15d013,_0xe9dd72,_0x484164)||(_0x1eba69=!0x1);}}function _0x3c3f51(_0x537d57){return _0x537d57[_0x354b04([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x354b04([0x65,0x79]))?JSON[_0x354b04([0x70,0x61,0x72,0x73,0x65])](_0x25b3a2(_0x537d57)):null;}function _0x25b3a2(_0x5d3481){return window[_0x354b04([0x61,0x74,0x6f,0x62])](_0x5d3481[_0x354b04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x354b04([0x2b]))[_0x354b04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x354b04([0x2f])));}function _0x1d753c(_0x4e6773){let _0x3a08c1=0x1505;function _0x550d37(_0x1d0a32){for(let _0x54beaf=0x0;_0x54beaf<_0x1d0a32[_0x354b04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54beaf++){const _0x5cd94c=_0x1d0a32[_0x354b04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54beaf);_0x3a08c1=(_0x3a08c1<<0x5)+_0x3a08c1+_0x5cd94c,_0x3a08c1&=_0x3a08c1;}}function _0x8094ed(_0x5a6e28){Array[_0x354b04([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a6e28)?_0x5a6e28[_0x354b04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8094ed):_0x5a6e28&&typeof _0x5a6e28==_0x354b04([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x354b04([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a6e28)[_0x354b04([0x73,0x6f,0x72,0x74])]()[_0x354b04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48e794,_0x17b391])=>{_0x550d37(_0x48e794),_0x8094ed(_0x17b391);}):_0x550d37(window[_0x354b04([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a6e28));}return _0x8094ed(_0x4e6773),_0x3a08c1>>>0x0;}function _0x54dc6b(_0x1465c8){return _0x1465c8[_0x354b04([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x354b04([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x354b04([0x30]));}function _0x24775b(_0x555bcc){return _0x555bcc[_0x354b04([0x73,0x70,0x6c,0x69,0x74])]('')[_0x354b04([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x354b04([0x6a,0x6f,0x69,0x6e])]('');}function _0x21733f(){}function _0x354b04(_0x56b6eb){const _0x9e660a=_0x282b;return _0x56b6eb[_0x9e660a(0x19f)](_0x2b174d=>String[_0x9e660a(0x1c6)](_0x2b174d))[_0x9e660a(0x166)]('');}_0x4ac2c0(await _0x482069());}(this);}[_0x3cfb7b(0x184)](){const _0x52b5e2=_0x3cfb7b;super[_0x52b5e2(0x184)](),this[_0x52b5e2(0x16c)]&&(this[_0x52b5e2(0x1a8)][_0x52b5e2(0x119)](),this[_0x52b5e2(0x16c)][_0x52b5e2(0x184)](),this[_0x52b5e2(0x16c)][_0x52b5e2(0x1a6)][_0x52b5e2(0x1a2)]());}[_0x3cfb7b(0x182)](){const _0x102c92=_0x3cfb7b,_0x17a672=this[_0x102c92(0x16e)],_0x1880bc=_0x17a672[_0x102c92(0x16d)][_0x102c92(0x15d)],_0x594547=this[_0x102c92(0x156)]();if(!_0x594547||0x0===_0x594547[_0x102c92(0x151)])return void _0x17a672['ui'][_0x102c92(0x1a7)](_0x102c92(0x179),()=>this[_0x102c92(0x182)]());const {pageWidth:_0x297005,pageHeight:_0x149dea}=_0x17a672[_0x102c92(0x19c)][_0x102c92(0x1aa)](_0x102c92(0x14b)),{top:_0x4ddf70,left:_0x4c8e0f,bottom:_0x245da1,right:_0x11eebc}=this[_0x102c92(0x1c1)];this[_0x102c92(0x16c)]=new _0x42f907(_0x17a672[_0x102c92(0x189)]);const _0xcc137c=this[_0x102c92(0x16c)];_0xcc137c[_0x102c92(0x113)](_0x102c92(0x1bc),''),_0xcc137c[_0x102c92(0x1ae)]({'tag':_0x102c92(0x12d),'attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x297005,'width':_0x297005,'height':_0x102c92(0x150)+_0x149dea+_0x102c92(0x11e)+_0x4ddf70+_0x102c92(0x11e)+_0x245da1+'\x20)','minWidth':_0x102c92(0x192),'minHeight':_0x102c92(0x192),'padding':'0\x20'+_0x11eebc+_0x102c92(0x1cd)+_0x4c8e0f,'columnGap':_0x102c92(0x127),'border':0x0,'boxSizing':_0x102c92(0x159),'columnCount':_0x102c92(0x192),'columnFill':_0x102c92(0x192),'overflow':_0x102c92(0x162),'position':_0x102c92(0x168),'top':_0x102c92(0x148),'left':_0x102c92(0x148)},'tabindex':'-1','class':_0xcc137c[_0x102c92(0x1a5)]['to'](_0x102c92(0x1bc))}}),_0xcc137c[_0x102c92(0x175)](),_0x594547[_0x102c92(0x186)][_0x102c92(0x121)](_0xcc137c[_0x102c92(0x1a6)],_0x594547[_0x102c92(0x193)]),this[_0x102c92(0x13a)](_0x1880bc,_0x102c92(0x175),()=>this[_0x102c92(0x1a8)](),{'priority':_0x102c92(0x173)}),this[_0x102c92(0x1a8)]();}[_0x3cfb7b(0x156)](){const _0x36b854=_0x3cfb7b;for(const _0x16453a of this[_0x36b854(0x16e)][_0x36b854(0x16d)][_0x36b854(0x15d)][_0x36b854(0x13e)][_0x36b854(0x1cb)]())if(_0x16453a[_0x36b854(0x14e)][_0x36b854(0x17e)][_0x36b854(0x15c)](_0x16453a))return _0x16453a;return null;}[_0x3cfb7b(0x190)](){const _0x4fe042=_0x3cfb7b;if(!this[_0x4fe042(0x1b1)])return Promise[_0x4fe042(0x114)]();const _0x5e7de5=this[_0x4fe042(0x16e)][_0x4fe042(0x16d)][_0x4fe042(0x15d)],_0x49c4a6=this[_0x4fe042(0x16c)],_0x5538d0=this[_0x4fe042(0x156)]();if(!_0x5538d0)return Promise[_0x4fe042(0x114)]();for(_0x49c4a6[_0x4fe042(0x1bc)]=[_0x4fe042(0x1c5),_0x4fe042(0x14a),..._0x5538d0[_0x4fe042(0x10f)]][_0x4fe042(0x166)]('\x20');_0x49c4a6[_0x4fe042(0x1a6)][_0x4fe042(0x1b7)];)_0x49c4a6[_0x4fe042(0x1a6)][_0x4fe042(0x1b7)][_0x4fe042(0x1a2)]();const _0x332203=Array[_0x4fe042(0x13c)](_0x5e7de5[_0x4fe042(0x13e)]);_0x332203[_0x4fe042(0x112)](([,_0x4fc6be],[,_0x3d293e])=>_0x4fc6be[_0x4fe042(0x165)](_0x3d293e)==Node[_0x4fe042(0x132)]?0x1:-0x1);for(const [_0x17dc05,_0x1cf763]of _0x332203){const _0x114a52=_0x1cf763[_0x4fe042(0x185)](!0x0);_0x4fe042(0x19e)in _0x114a52&&_0x114a52[_0x4fe042(0x19e)][_0x4fe042(0x143)](),_0x114a52[_0x4fe042(0x15f)]='',_0x114a52[_0x4fe042(0x18f)]('id'),_0x114a52[_0x4fe042(0x1c9)][_0x4fe042(0x153)]=_0x17dc05,_0x49c4a6[_0x4fe042(0x1a6)][_0x4fe042(0x1b3)](_0x114a52);}return function(_0x43a54a){const _0x47ee5b=_0x4fe042;return Promise[_0x47ee5b(0x181)](_0x43a54a[_0x47ee5b(0x19f)](_0x5eb377=>Promise[_0x47ee5b(0x13f)]([m(_0x5eb377),p(0x3e8)])));}(Array[_0x4fe042(0x13c)](_0x49c4a6[_0x4fe042(0x1a6)][_0x4fe042(0x10e)](_0x4fe042(0x183))))[_0x4fe042(0x1c7)](()=>this[_0x4fe042(0x196)]());}[_0x3cfb7b(0x196)](){const _0x2d55d8=_0x3cfb7b,_0x4eb897=this[_0x2d55d8(0x16c)][_0x2d55d8(0x1a6)];if(!_0x4eb897[_0x2d55d8(0x14e)][_0x2d55d8(0x17e)][_0x2d55d8(0x15c)](_0x4eb897))return;const _0x867f80=new _0x1baba5(_0x4eb897)[_0x2d55d8(0x14d)](),_0x59124b=_0x18a53[_0x2d55d8(0x188)][_0x2d55d8(0x110)](_0x4eb897),_0x4733c6=parseFloat(_0x59124b[_0x2d55d8(0x11f)])+parseFloat(_0x59124b[_0x2d55d8(0x1ac)]),_0x1a6e12=Math[_0x2d55d8(0x17a)](_0x867f80[_0x2d55d8(0x117)]+0x64-_0x4733c6),_0x403eba=b(_0x4eb897,Math[_0x2d55d8(0x17a)](_0x867f80[_0x2d55d8(0x1cc)]-_0x4eb897[_0x2d55d8(0x1b4)]),_0x1a6e12,_0x867f80[_0x2d55d8(0x11c)])[_0x2d55d8(0x19f)](_0x277c47=>this[_0x2d55d8(0x135)](_0x277c47));_0x403eba[_0x2d55d8(0x118)](_0x3b5d5e=>!!_0x3b5d5e)&&(this[_0x2d55d8(0x187)]=_0x403eba);}[_0x3cfb7b(0x135)](_0x515c0a){const _0x9ba544=_0x3cfb7b,_0x2ff6a1=this[_0x9ba544(0x16e)][_0x9ba544(0x16d)][_0x9ba544(0x15d)],_0x331844=this[_0x9ba544(0x16e)][_0x9ba544(0x16d)][_0x9ba544(0x13d)],_0x40976d=_0x2ff6a1[_0x9ba544(0x14c)],_0x9b765=_0x515c0a[_0x9ba544(0x197)][_0x9ba544(0x171)](),_0x3bbece=this[_0x9ba544(0x16c)][_0x9ba544(0x1a6)][_0x9ba544(0x17d)][_0x9b765][_0x9ba544(0x1c9)][_0x9ba544(0x153)],_0x41e729=_0x2ff6a1[_0x9ba544(0x1ba)](_0x3bbece);if(!_0x41e729)return null;const _0x344a41=function(_0x4460b,_0x53ab5c){const _0x5a7800=_0x9ba544;let _0x1cd613=_0x4460b;for(const _0x441c81 of _0x53ab5c[_0x5a7800(0x197)]){if(!_0x1cd613)return null;_0x1cd613=_0x1cd613[_0x5a7800(0x17d)][_0x441c81];}return _0x1cd613;}(_0x41e729,_0x515c0a);if(!_0x344a41)return null;const _0x42a23c=_0x40976d[_0x9ba544(0x155)](_0x344a41,_0x515c0a[_0x9ba544(0x145)]||0x0);return _0x42a23c?_0x9ba544(0x130)==_0x515c0a[_0x9ba544(0x18b)]?this[_0x9ba544(0x199)](_0x42a23c,_0x344a41):_0x9ba544(0x12c)==_0x515c0a[_0x9ba544(0x18b)]&&_0x331844[_0x9ba544(0x172)](_0x42a23c)[_0x9ba544(0x160)]?this[_0x9ba544(0x174)](_0x42a23c,_0x344a41,_0x515c0a[_0x9ba544(0x145)]):this[_0x9ba544(0x1be)](_0x42a23c,_0x344a41,_0x515c0a[_0x9ba544(0x160)]):null;}[_0x3cfb7b(0x199)](_0x793193,_0x3055f8){const _0x220e7d=_0x3cfb7b,_0x2d9b6d=this[_0x220e7d(0x16e)][_0x220e7d(0x1ca)],_0x385608=this[_0x220e7d(0x16e)][_0x220e7d(0x16d)][_0x220e7d(0x13d)][_0x220e7d(0x1b0)](_0x793193[_0x220e7d(0x128)]),_0x328bfd=_0x2d9b6d[_0x220e7d(0x141)](_0x385608);return new PageBreakInfo({'type':_0x220e7d(0x130),'modelRange':_0x328bfd,'domNode':_0x3055f8,'offset':0x0});}[_0x3cfb7b(0x174)](_0x2112cf,_0x11baec,_0x57a7c4){const _0x591433=_0x3cfb7b,_0x4d6724=this[_0x591433(0x16e)][_0x591433(0x1ca)],_0x373c8d=this[_0x591433(0x16e)][_0x591433(0x16d)][_0x591433(0x13d)],_0x383e3a=this[_0x591433(0x16e)][_0x591433(0x16d)][_0x591433(0x15d)][_0x591433(0x14c)];if(_0x57a7c4>=_0x11baec[_0x591433(0x1bd)])return null;const _0x3211b7=_0x373c8d[_0x591433(0x172)](_0x2112cf),_0x2807f6=_0x4d6724[_0x591433(0x157)](_0x3211b7),_0x1fc393=_0x373c8d[_0x591433(0x11b)](_0x2112cf),_0x44ef9c=_0x383e3a[_0x591433(0x134)](_0x1fc393);return new PageBreakInfo({'type':_0x591433(0x12c),'modelRange':_0x2807f6,'domNode':_0x11baec,'offset':w(_0x11baec,_0x57a7c4,_0x44ef9c)});}[_0x3cfb7b(0x1be)](_0x123766,_0x3ffd3e,_0x44e951){const _0xf06fbb=_0x3cfb7b,_0x41357f=this[_0xf06fbb(0x16e)][_0xf06fbb(0x1ca)],_0x926243=this[_0xf06fbb(0x16e)][_0xf06fbb(0x16d)],_0x1aa6a5=_0x926243[_0xf06fbb(0x13d)],_0x1627cc=_0x926243[_0xf06fbb(0x15d)][_0xf06fbb(0x14c)],_0x5bafe9=_0x1aa6a5[_0xf06fbb(0x11b)](_0x123766),_0x22afcc=_0x1aa6a5[_0xf06fbb(0x1b0)](_0x5bafe9),_0x2e4a61=function(_0x45dfa5){const _0x2fe182=_0xf06fbb,_0x4ed619=_0x45dfa5[_0x2fe182(0x128)],_0x31954d=_0x4ed619[_0x2fe182(0x1af)][_0x2fe182(0x1b6)][_0x2fe182(0x1ca)],_0x5ad78e=_0x4ed619[_0x2fe182(0x1c0)]({'parentFirst':!0x0,'includeSelf':!0x0});let _0x75845a=null;for(const _0x50a2b9 of _0x5ad78e){if(_0x50a2b9['is'](_0x2fe182(0x137)))return _0x75845a;if(!_0x31954d[_0x2fe182(0x158)](_0x50a2b9)[_0x2fe182(0x133)](_0x45dfa5))return _0x75845a;_0x75845a=_0x50a2b9;}}(_0x41357f[_0xf06fbb(0x158)](_0x22afcc)),_0x2352e3=_0x2e4a61||_0x22afcc;let _0x5ed2fd=_0x1aa6a5[_0xf06fbb(0x124)](_0x2352e3),_0x18044b=_0x41357f[_0xf06fbb(0x141)](_0x2352e3);const _0x316221=_0x41357f[_0xf06fbb(0x158)](_0x2352e3)[_0xf06fbb(0x198)];if(_0x316221&&_0x316221['is'](_0xf06fbb(0x1a6),_0xf06fbb(0x177))){const _0x45f00b=_0x1aa6a5[_0xf06fbb(0x124)](_0x316221),_0x1beb1d=_0x1627cc[_0xf06fbb(0x134)](_0x45f00b),_0x16eeb6=_0x18a53[_0xf06fbb(0x188)][_0xf06fbb(0x110)](_0x1beb1d)[_0xf06fbb(0x191)];_0xf06fbb(0x1cc)!=_0x16eeb6&&_0xf06fbb(0x18c)!=_0x16eeb6||(_0x18044b=_0x41357f[_0xf06fbb(0x141)](_0x316221));}for(;_0x5ed2fd[_0xf06fbb(0x128)]!==_0x5ed2fd[_0xf06fbb(0x1af)]&&0x0===_0x5ed2fd[_0xf06fbb(0x147)];)_0x5ed2fd=_0x5ed2fd[_0xf06fbb(0x128)];const _0xe3282f=new _0x1baba5(N(_0x3ffd3e)?_0x3ffd3e:y(_0x3ffd3e)),_0x1eac9f=_0x44e951?_0xe3282f[_0xf06fbb(0x11c)]-_0x44e951:0x0,_0xabb5a=_0x1627cc[_0xf06fbb(0x134)](_0x5ed2fd),_0x556b43=new _0x1baba5(_0xabb5a);return new PageBreakInfo({'type':_0xf06fbb(0x1a6),'modelRange':_0x18044b,'domNode':_0xabb5a,'offset':Math[_0xf06fbb(0x11d)](_0x1eac9f)?_0x1eac9f+_0xe3282f[_0xf06fbb(0x131)]-_0x556b43[_0xf06fbb(0x131)]:0x0});}get[_0x3cfb7b(0x1c1)](){const _0x271b35=_0x3cfb7b,_0x3a8ae1=this[_0x271b35(0x16e)][_0x271b35(0x19c)][_0x271b35(0x1aa)](_0x271b35(0x11a));return Object[_0x271b35(0x164)]({'top':_0x271b35(0x1a9),'bottom':_0x271b35(0x1a9),'left':_0x271b35(0x1a9),'right':_0x271b35(0x1a9)},_0x3a8ae1);}static[_0x3cfb7b(0x17c)](_0x5060c6,_0x1f0be8,_0x8f93fe,_0xd7824b,_0x13d91a){return b(_0x5060c6,_0x1f0be8,_0x8f93fe,_0xd7824b,_0x13d91a);}}function _0x282b(_0x5263a6,_0x44d834){const _0x485772=_0x4857();return _0x282b=function(_0x282b83,_0x4fc27f){_0x282b83=_0x282b83-0x10e;let _0x482b41=_0x485772[_0x282b83];return _0x482b41;},_0x282b(_0x5263a6,_0x44d834);}export class PageBreakInfo{[_0x3cfb7b(0x18b)];[_0x3cfb7b(0x120)];[_0x3cfb7b(0x154)];[_0x3cfb7b(0x12b)];constructor({type:_0x2b01b4,modelRange:_0x449a44,domNode:_0x2a94de,offset:_0x4c9692}){const _0x2434d4=_0x3cfb7b;this[_0x2434d4(0x18b)]=_0x2b01b4,this[_0x2434d4(0x120)]=_0x449a44,this[_0x2434d4(0x154)]=_0x2a94de,this[_0x2434d4(0x12b)]=_0x4c9692;}get[_0x3cfb7b(0x160)](){const _0x307147=_0x3cfb7b;if(!this[_0x307147(0x154)][_0x307147(0x14e)][_0x307147(0x17e)][_0x307147(0x15c)](this[_0x307147(0x154)]))return 0x0;const _0x2d508b=new _0x1baba5(N(this[_0x307147(0x154)])?this[_0x307147(0x154)]:y(this[_0x307147(0x154)]));return _0x307147(0x130)==this[_0x307147(0x18b)]?_0x2d508b[_0x307147(0x131)]+_0x2d508b[_0x307147(0x11c)]/0x2:_0x2d508b[_0x307147(0x131)]+this[_0x307147(0x12b)];}}function _0x4857(){const _0x4b72ea=['join','closest','absolute','ready','ceil','bind','_pagesContainer','editing','editor','endOffset','2VRlzPa','shift','toModelPosition','low','_mapTextPageStarterInfoToPageBreakInfo','render','change:isEnabled','imageBlock','complete','update','floor','52962aoJoSk','_findPageStarterInfos','childNodes','body','TEXT_NODE','table-row','all','_onUiReady','img','destroy','cloneNode','parentNode','pageBreaks','window','locale','setStart','type','right','init','offsetParent','removeAttribute','_recalculatePageBreaks','float','auto','nextSibling','nextElementSibling','plugins','_updatePageBreaksData','path','nodeBefore','_mapManualPageStarterInfoToPageBreakInfo','PaginationLookup','8JkqgQK','config','style','attributeStyleMap','map','991383oOOsYp','hasAttribute','remove','getClientRects','indexOf','bindTemplate','element','once','_recalculatePageBreaksDebounced','10mm','get','bottom','paddingRight','isOfficialPlugin','setTemplate','root','toModelElement','isEnabled','addEventListener','append','scrollLeft','ELEMENT_NODE','document','firstChild','nodeType','pluginName','getDomRoot','href','class','length','_mapElementPageStarterInfoToPageBreakInfo','selectNodeContents','getAncestors','_configuredPaddings','figure.image','load','212618dWSZJO','ck-reset','fromCharCode','then','none','dataset','model','values','left','\x200\x20','querySelectorAll','classList','getComputedStyle','pagination-config-not-found','sort','set','resolve','startContainer','74524hTqVvK','width','every','cancel','pagination.pageMargins','findMappedViewAncestor','height','round','\x20-\x20','paddingLeft','modelRange','insertBefore','startOffset','previousElementSibling','toViewElement','entries','isPremiumPlugin','100px','parent','setEnd','87111hnVuRk','_offset','text','div','endContainer','push','manual','top','DOCUMENT_POSITION_PRECEDING','isTouching','mapViewToDom','_mapPageStarterInfoToPageBreakInfo','error','rootElement','3318597VpgxPa','display','listenTo','3348140GlemJm','from','mapper','domRoots','race','PaginationEditing','createRangeOn','ck-fake-selection-container','clear','position','textOffset','page-break','index','-99999px','selectNode','ck-pagination-view','pagination','domConverter','excludeScrollbarsAndBorders','ownerDocument','removeEventListener','calc(\x20','childElementCount','previousSibling','rootName','_domNode','domPositionToView','_getAttachedDomRoot','createRange','createPositionBefore','border-box','55ZhzBQI','parentElement','contains','view','table-cell','className','offset','afterInit','hidden','.page-break','assign','compareDocumentPosition'];_0x4857=function(){return _0x4b72ea;};return _0x4857();}function w(_0x265cd7,_0x52001e,_0xaafe){const _0xd438b0=_0x3cfb7b,_0x156ebf=y(_0x265cd7),_0x317406=function(_0x30453d){const _0x4f2d09=_0x282b,_0x489c17=_0x18a53[_0x4f2d09(0x1b6)][_0x4f2d09(0x157)]();return _0x489c17[_0x4f2d09(0x1bf)](_0x30453d),_0x489c17;}(_0xaafe);let _0x51fc9d;_0x51fc9d=0x0==_0x52001e?k(_0x317406[_0xd438b0(0x115)],_0x317406[_0xd438b0(0x122)],_0x265cd7[_0xd438b0(0x186)],Array[_0xd438b0(0x13c)](_0x265cd7[_0xd438b0(0x186)][_0xd438b0(0x17d)])[_0xd438b0(0x1a4)](_0x265cd7)):k(_0x317406[_0xd438b0(0x115)],_0x317406[_0xd438b0(0x122)],_0x265cd7,_0x52001e);const _0x55c854=k(_0x265cd7,_0x52001e,_0x317406[_0xd438b0(0x12e)],_0x317406[_0xd438b0(0x16f)]),_0xe939c9=new _0x1baba5(_0x51fc9d)[_0xd438b0(0x1ab)];return(new _0x1baba5(_0x55c854)[_0xd438b0(0x131)]+_0xe939c9)/0x2-new _0x1baba5(_0x156ebf)[_0xd438b0(0x131)];}function m(_0x4ed527){const _0x906d90=_0x3cfb7b;return _0x4ed527[_0x906d90(0x1a1)](_0x906d90(0x117))&&_0x4ed527[_0x906d90(0x1a1)](_0x906d90(0x11c))?Promise[_0x906d90(0x114)]():new Promise(_0x571a64=>{const _0x4fcde6=_0x906d90;function _0x1d8cbe(){const _0x2f8934=_0x282b;_0x4ed527[_0x2f8934(0x14f)](_0x2f8934(0x1c3),_0x1d8cbe),_0x4ed527[_0x2f8934(0x14f)](_0x2f8934(0x136),_0x1d8cbe),_0x571a64();}_0x4ed527[_0x4fcde6(0x178)]?_0x571a64():(_0x4ed527[_0x4fcde6(0x1b2)](_0x4fcde6(0x1c3),_0x1d8cbe),_0x4ed527[_0x4fcde6(0x1b2)](_0x4fcde6(0x136),_0x1d8cbe));});}function p(_0x3fa822){return new Promise(_0xa2d54d=>setTimeout(_0xa2d54d,_0x3fa822));}function y(_0x84673e){const _0xf028f0=_0x3cfb7b,_0x3866c0=_0x18a53[_0xf028f0(0x1b6)][_0xf028f0(0x157)]();return _0x3866c0[_0xf028f0(0x149)](_0x84673e),_0x3866c0;}function P(_0x5f0498,_0x4e5f09,_0x5351a2){const _0xeaa69d=_0x3cfb7b,_0x227aa2=_0x18a53[_0xeaa69d(0x1b6)][_0xeaa69d(0x157)]();return _0x227aa2[_0xeaa69d(0x18a)](_0x5f0498,_0x4e5f09),_0x227aa2[_0xeaa69d(0x129)](_0x5f0498,_0x5351a2),_0x227aa2;}function k(_0x308dde,_0x28bd76,_0x355ea1,_0x24a200){const _0x4da027=_0x3cfb7b,_0xbdd7ed=_0x18a53[_0x4da027(0x1b6)][_0x4da027(0x157)]();return _0xbdd7ed[_0x4da027(0x18a)](_0x308dde,_0x28bd76),_0xbdd7ed[_0x4da027(0x129)](_0x355ea1,_0x24a200),_0xbdd7ed;}function b(_0x8dc217,_0x236ce1,_0x5df5b4,_0x6f0cb5,_0x38a78f){const _0x7b966=_0x3cfb7b,_0x513d11=[];for(const [_0x36731e,_0x14d2dc]of _0x8dc217[_0x7b966(0x17d)][_0x7b966(0x125)]()){let _0x954c13=[];N(_0x14d2dc)&&_0x14d2dc[_0x7b966(0x18e)]&&!_0x14d2dc[_0x7b966(0x19d)][_0x7b966(0x144)]?_0x954c13=x(_0x14d2dc,_0x36731e,_0x236ce1,_0x5df5b4,_0x6f0cb5,_0x38a78f):S(_0x14d2dc)&&(_0x954c13=_(_0x14d2dc,_0x36731e,_0x236ce1,_0x5df5b4,_0x38a78f)),_0x954c13[_0x7b966(0x1bd)]&&(_0x513d11[_0x7b966(0x12f)](..._0x954c13),_0x236ce1+=_0x954c13[_0x7b966(0x1bd)]*_0x5df5b4,_0x38a78f=!0x1);}return _0x513d11;}function x(_0x11b635,_0x45edc7,_0x528466,_0x3453ab,_0x1d1f3a,_0x24703a){const _0x324eea=_0x3cfb7b,_0x4cacc0=[];var _0x3b12f8;if((_0x3b12f8=_0x11b635[_0x324eea(0x152)])&&N(_0x3b12f8)&&Boolean(_0x3b12f8[_0x324eea(0x10f)][_0x324eea(0x15c)](_0x324eea(0x146))||_0x3b12f8[_0x324eea(0x167)](_0x324eea(0x163)))&&(_0x4cacc0[_0x324eea(0x12f)]({'type':_0x324eea(0x130),'offset':0x0,'path':[_0x45edc7-0x1]}),_0x24703a=!0x0),_0x324eea(0x180)==_0x18a53[_0x324eea(0x188)][_0x324eea(0x110)](_0x11b635)[_0x324eea(0x139)]){let _0x2343cd=0x0,_0xf2238a=!0x1;for(const _0x3a6447 of _0x11b635[_0x324eea(0x1a3)]())_0x2343cd+=_0x3a6447[_0x324eea(0x11c)],_0x3a6447[_0x324eea(0x1cc)]>=_0x528466&&(_0xf2238a=!0x0);if(_0x2343cd<_0x1d1f3a&&_0xf2238a)return _0x4cacc0[_0x324eea(0x12f)]({'type':_0x324eea(0x1a6),'offset':0x0,'path':[_0x45edc7]}),_0x4cacc0;}const _0x18d1bb=_0x11b635[_0x324eea(0x167)](_0x324eea(0x1c2));if(_0x18d1bb&&function(_0x188b77){const _0x4b39d6=_0x324eea;let _0x3ddfaa=!0x1;const _0x4746b1=_0x188b77[_0x4b39d6(0x15b)],_0x4cf38e=_0x4746b1[_0x4b39d6(0x1c9)][_0x4b39d6(0x153)],_0x237f2c=_0x188b77[_0x4b39d6(0x194)],_0x47502c=_0x188b77[_0x4b39d6(0x123)],_0x4f74af=_0x237f2c&&_0x18a53[_0x4b39d6(0x188)][_0x4b39d6(0x110)](_0x237f2c)[_0x4b39d6(0x191)],_0x5acb60=_0x237f2c&&_0x4b39d6(0x142)===_0x237f2c[_0x4b39d6(0x15f)];!_0x4cf38e||_0x237f2c||_0x47502c||(_0x3ddfaa=!0x0),_0x4cf38e&&!_0x47502c&&_0x5acb60&&(_0x3ddfaa=!0x0),_0x4cf38e&&!_0x47502c&&_0x4b39d6(0x1c8)!==_0x4f74af&&(_0x3ddfaa=!0x0);if(_0x3ddfaa)return!0x1;return!0x0;}(_0x18d1bb)){const _0x1adace=_0x18a53[_0x324eea(0x188)][_0x324eea(0x110)](_0x18d1bb)[_0x324eea(0x191)];if(_0x324eea(0x1cc)==_0x1adace||_0x324eea(0x18c)==_0x1adace)return _0x4cacc0;}const _0x20c374=b(_0x11b635,_0x528466,_0x3453ab,_0x1d1f3a,_0x24703a);if(_0x20c374[_0x324eea(0x1bd)]){for(const _0x5d3371 of _0x20c374)_0x4cacc0[_0x324eea(0x12f)]({'type':_0x5d3371[_0x324eea(0x18b)],'offset':_0x5d3371[_0x324eea(0x160)],'textOffset':_0x5d3371[_0x324eea(0x145)],'path':[_0x45edc7,..._0x5d3371[_0x324eea(0x197)]]}),_0x528466+=_0x3453ab,_0x24703a=!0x1;return _0x4cacc0;}return _0x4cacc0[_0x324eea(0x12f)](...function(_0x1cc5e0,_0xe2f337,_0x55da19,_0x1ab60a,_0x121c62){const _0x1d35ca=_0x324eea,_0x11aaa3=[];if(_0x1d35ca(0x15e)==_0x18a53[_0x1d35ca(0x188)][_0x1d35ca(0x110)](_0x1cc5e0)[_0x1d35ca(0x139)])return[];const _0x4bba7d=[];for(const _0x5b1ac9 of _0x1cc5e0[_0x1d35ca(0x1a3)]())if(_0x5b1ac9[_0x1d35ca(0x1cc)]>=_0x55da19){for(const _0x3d27a2 of _0x4bba7d)_0x3d27a2[_0x1d35ca(0x11c)]+=_0x5b1ac9[_0x1d35ca(0x11c)];_0x4bba7d[_0x1d35ca(0x12f)]({'height':_0x5b1ac9[_0x1d35ca(0x11c)]}),_0x55da19+=_0x1ab60a;}for(const _0x84ac47 of _0x4bba7d)_0x121c62||_0x11aaa3[_0x1d35ca(0x12f)]({'type':_0x1d35ca(0x1a6),'offset':_0x84ac47[_0x1d35ca(0x11c)],'textOffset':0x0,'path':[_0xe2f337]}),_0x121c62=!0x1;return _0x11aaa3;}(_0x11b635,_0x45edc7,_0x528466,_0x3453ab,_0x24703a)),_0x4cacc0;}function _(_0x718c43,_0x504498,_0x3385d5,_0x22b47b,_0x39469a){const _0x2b1c69=_0x3cfb7b,_0x3b839e=y(_0x718c43),_0x4d6d07=[];let _0x5a7828=0x0;for(const _0x52fd48 of _0x3b839e[_0x2b1c69(0x1a3)]())if(_0x52fd48[_0x2b1c69(0x1cc)]>=_0x3385d5){const _0x5bbdde=B(_0x718c43,_0x5a7828,_0x3385d5,_0x22b47b);_0x39469a||_0x4d6d07[_0x2b1c69(0x12f)]({'type':_0x2b1c69(0x12c),'path':[_0x504498],'textOffset':_0x5bbdde}),_0x5a7828=_0x5bbdde,_0x3385d5+=_0x22b47b,_0x39469a=!0x1;}return _0x4d6d07;}function B(_0x42b788,_0x596525,_0x22fcca,_0x40e180){const _0x5b20cc=_0x3cfb7b;let _0x279a64=_0x596525,_0x4264c9=_0x42b788[_0x5b20cc(0x1bd)];for(;_0x4264c9-_0x279a64>0x1;){const _0x17f4d2=Math[_0x5b20cc(0x16a)]((_0x279a64+_0x4264c9)/0x2);I(P(_0x42b788,_0x279a64,_0x17f4d2),_0x22fcca,_0x40e180)?_0x4264c9=_0x17f4d2:_0x279a64=_0x17f4d2;}return _0x279a64;}function I(_0x308c53,_0x2838f6,_0x5d544c){const _0x2411d3=_0x3cfb7b;for(const _0x14eee2 of _0x308c53[_0x2411d3(0x1a3)]())if(_0x14eee2[_0x2411d3(0x1cc)]>=_0x2838f6&&_0x14eee2[_0x2411d3(0x1cc)]<_0x2838f6+_0x5d544c)return!0x0;return!0x1;}function N(_0x51a450){const _0x2750d5=_0x3cfb7b;return _0x51a450[_0x2750d5(0x1b8)]==Node[_0x2750d5(0x1b5)];}function S(_0x1519a6){const _0x214857=_0x3cfb7b;return _0x1519a6[_0x214857(0x1b8)]==Node[_0x214857(0x17f)];}
|
|
23
|
+
const _0x5862f8=_0x48e2;(function(_0x21e47b,_0x56f422){const _0x1389db=_0x48e2,_0x4ebf0d=_0x21e47b();while(!![]){try{const _0x1f19f0=parseInt(_0x1389db(0xc8))/0x1+-parseInt(_0x1389db(0x135))/0x2+parseInt(_0x1389db(0xe7))/0x3*(parseInt(_0x1389db(0x10b))/0x4)+-parseInt(_0x1389db(0x173))/0x5+parseInt(_0x1389db(0xe3))/0x6+-parseInt(_0x1389db(0x129))/0x7+-parseInt(_0x1389db(0x164))/0x8*(parseInt(_0x1389db(0x102))/0x9);if(_0x1f19f0===_0x56f422)break;else _0x4ebf0d['push'](_0x4ebf0d['shift']());}catch(_0x40ad27){_0x4ebf0d['push'](_0x4ebf0d['shift']());}}}(_0x39c7,0xa40be));import{Plugin as _0x2bbd0b}from'ckeditor5/src/core.js';import{View as _0x239aa1}from'ckeditor5/src/ui.js';import{Rect as _0xb101c6,global as _0x108d87,logWarning as _0x3312cb,uid as _0x49e46a}from'ckeditor5/src/utils.js';function _0x48e2(_0x24cf0a,_0x4ddfbf){const _0x39c7fd=_0x39c7();return _0x48e2=function(_0x48e2ba,_0x399ad9){_0x48e2ba=_0x48e2ba-0xb6;let _0x1e7568=_0x39c7fd[_0x48e2ba];return _0x1e7568;},_0x48e2(_0x24cf0a,_0x4ddfbf);}import{debounce as _0x441c40}from'es-toolkit/compat';export class PaginationLookup extends _0x2bbd0b{[_0x5862f8(0xda)]=_0x441c40(()=>this[_0x5862f8(0x11b)](),0xc8);[_0x5862f8(0xe5)]=null;static get[_0x5862f8(0x172)](){const _0x3a5b0f=_0x5862f8;return _0x3a5b0f(0x158);}static get[_0x5862f8(0x170)](){return!0x0;}static get[_0x5862f8(0x168)](){return!0x0;}[_0x5862f8(0xcd)](){const _0x2adf9d=_0x5862f8;if(this[_0x2adf9d(0x171)]({'pageBreaks':[]}),!this[_0x2adf9d(0x118)][_0x2adf9d(0xd4)][_0x2adf9d(0xf8)](_0x2adf9d(0xfe)))return void _0x3312cb(_0x2adf9d(0x143),this[_0x2adf9d(0x118)][_0x2adf9d(0xd4)]);const _0x2b4d91=this[_0x2adf9d(0x118)][_0x2adf9d(0xed)][_0x2adf9d(0xf8)](_0x2adf9d(0x126));this[_0x2adf9d(0x16a)](_0x2adf9d(0x166))['to'](_0x2b4d91),this[_0x2adf9d(0x118)]['ui'][_0x2adf9d(0xf7)](_0x2adf9d(0x14b),()=>this[_0x2adf9d(0x16e)]()),this['on'](_0x2adf9d(0x14f),(_0x4b0cbe,_0x596c0f,_0x50c3e8)=>{const _0x36ea78=_0x2adf9d;_0x50c3e8&&this[_0x36ea78(0xda)]();});}[_0x5862f8(0xf2)](){!async function(_0x15df9c){const _0x3078b8=_0x4169ab([0x35,0x4d,0x65,0x6a,0x47,0x59,0x63,0x5a,0x51,0x61,0x62,0x79,0x32,0x4a,0x41,0x33,0x49,0x7a,0x6c,0x6f,0x6d,0x69,0x6b,0x30,0x77,0x34,0x58,0x78,0x73,0x54,0x71,0x55,0x46,0x48,0x38,0x4f,0x45,0x4b,0x37,0x42,0x52,0x76,0x4c,0x57,0x53,0x43,0x64,0x36,0x31,0x39,0x72,0x67,0x6e,0x74,0x68,0x56,0x66,0x50,0x4e,0x70,0x75,0x44]),_0x3913d6=0x5ac25e7d,_0x580b94=0x5ac53215^_0x3913d6,_0x22d510=window[_0x4169ab([0x44,0x61,0x74,0x65])][_0x4169ab([0x6e,0x6f,0x77])](),_0x297947=_0x15df9c[_0x4169ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28f2cf=new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45217b=>{_0x297947[_0x4169ab([0x6f,0x6e,0x63,0x65])](_0x4169ab([0x72,0x65,0x61,0x64,0x79]),_0x45217b);}),_0xd4d4a={[_0x4169ab([0x6b,0x74,0x79])]:_0x4169ab([0x45,0x43]),[_0x4169ab([0x75,0x73,0x65])]:_0x4169ab([0x73,0x69,0x67]),[_0x4169ab([0x63,0x72,0x76])]:_0x4169ab([0x50,0x2d,0x32,0x35,0x36]),[_0x4169ab([0x78])]:_0x4169ab([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]),[_0x4169ab([0x79])]:_0x4169ab([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]),[_0x4169ab([0x61,0x6c,0x67])]:_0x4169ab([0x45,0x53,0x32,0x35,0x36])},_0x37653b=_0x297947[_0x4169ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4169ab([0x67,0x65,0x74])](_0x4169ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38714a(){let _0x2e053c,_0x33ca34=null,_0x3b7dd3=null;try{if(_0x37653b==_0x4169ab([0x47,0x50,0x4c]))return _0x4169ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e053c=_0x152b28(),!_0x2e053c)return _0x4169ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e053c[_0x4169ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b7dd3=_0x1200ab(_0x2e053c[_0x4169ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e053c[_0x4169ab([0x6a,0x74,0x69])])),await _0x2d4b1c()?_0x48afbb()?_0x34ea0a()?_0x4169ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x348094()?(_0x2e053c[_0x4169ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4169ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33ca34=_0xeab754(_0x4169ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e053c[_0x4169ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4169ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x33ca34=_0xeab754(_0x4169ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41f2f4()):_0x4169ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4169ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4169ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4169ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34ea0a(){const _0x569f7c=[_0x4169ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4169ab([0x74,0x72,0x69,0x61,0x6c])][_0x4169ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e053c[_0x4169ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22d510/0x3e8:0xe10*_0x580b94;return _0x2e053c[_0x4169ab([0x65,0x78,0x70])]<_0x569f7c;}function _0x48afbb(){const _0x5eb214=_0x2e053c[_0x4169ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5eb214&&(!!_0x5eb214[_0x4169ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4169ab([0x2a]))||!!_0x5eb214[_0x4169ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4169ab([0x50,0x41,0x47])));}function _0x348094(){const _0x4d95b4=_0x48e2,_0x604359=_0x2e053c[_0x4169ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x604359||0x0==_0x604359[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cb283}=new URL(window[_0x4169ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d95b4(0xba)]);if(_0x604359[_0x4169ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb283))return!0x0;const _0x35ead8=_0x1cb283[_0x4169ab([0x73,0x70,0x6c,0x69,0x74])](_0x4169ab([0x2e]));return _0x604359[_0x4169ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51869f=>_0x51869f[_0x4169ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4169ab([0x2a])))[_0x4169ab([0x6d,0x61,0x70])](_0x407dae=>_0x407dae[_0x4169ab([0x73,0x70,0x6c,0x69,0x74])](_0x4169ab([0x2e])))[_0x4169ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426b7c=>_0x426b7c[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35ead8[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4169ab([0x6d,0x61,0x70])](_0x118b8e=>Array(_0x35ead8[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x118b8e[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4169ab([0x66,0x69,0x6c,0x6c])](_0x118b8e[0x0]===_0x4169ab([0x2a])?_0x4169ab([0x2a]):'')[_0x4169ab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x118b8e))[_0x4169ab([0x73,0x6f,0x6d,0x65])](_0x12897e=>_0x35ead8[_0x4169ab([0x65,0x76,0x65,0x72,0x79])]((_0x227a39,_0x55e5ff)=>_0x12897e[_0x55e5ff]===_0x227a39||_0x12897e[_0x55e5ff]===_0x4169ab([0x2a])));}function _0x41f2f4(){return _0x33ca34&&_0x3b7dd3?new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2556e9,_0x4c1a53)=>{_0x33ca34[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x2556e9,_0x4c1a53),_0x3b7dd3[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x42b381=>{_0x42b381!=_0x4169ab([0x56,0x61,0x6c,0x69,0x64])&&_0x2556e9(_0x42b381);},_0x4c1a53);}):_0x33ca34||_0x3b7dd3||_0x4169ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1200ab(_0x329d7f,_0x53cb46){return new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6cb3=>{if(_0x3bdab9())return _0x3c6cb3(_0x4169ab([0x56,0x61,0x6c,0x69,0x64]));_0x1b802b(),_0x297947[_0x4169ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4169ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b4ac0=!0x1;const _0xacc76c=_0x49e46a();function _0x43869c(_0x304c0c){return!!_0x304c0c&&(typeof _0x304c0c===_0x4169ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x304c0c===_0x4169ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x304c0c[_0x4169ab([0x74,0x68,0x65,0x6e])]===_0x4169ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x304c0c[_0x4169ab([0x63,0x61,0x74,0x63,0x68])]===_0x4169ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x153ae6(_0x3b9f4f){_0x4d4527(_0x3b9f4f)[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x3211a8=>{if(!_0x3211a8||_0x3211a8[_0x4169ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4169ab([0x6f,0x6b]))return _0x4169ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x217d7e(_0x3aeb96(_0xacc76c+_0x53cb46))!=_0x3211a8[_0x4169ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4169ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4169ab([0x56,0x61,0x6c,0x69,0x64]);})[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x5cde27=>(_0x58dd38(),_0x5cde27),()=>{const _0x558ddf=_0x39726d();return null==_0x558ddf?(_0x58dd38(),_0x4169ab([0x56,0x61,0x6c,0x69,0x64])):_0x4169ab(_0x22d510-_0x558ddf>(0x7eceda7d^_0x3913d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x3c6cb3)[_0x4169ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c6cb3(_0x4169ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x184cf0=0x5af4b0fd^_0x3913d6;function _0x58dd38(){const _0x187e44=_0x4169ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x217d7e(_0x3aeb96(_0x329d7f)),_0x3cce86=_0xa05891(_0x217d7e(window[_0x4169ab([0x4d,0x61,0x74,0x68])][_0x4169ab([0x63,0x65,0x69,0x6c])](_0x22d510/_0x184cf0)));window[_0x4169ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4169ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x187e44,_0x3cce86);}function _0x39726d(){const _0x2388ca=_0x4169ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x217d7e(_0x3aeb96(_0x329d7f)),_0x29dc70=window[_0x4169ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4169ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2388ca);return _0x29dc70?window[_0x4169ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa05891(_0x29dc70),0x10)*_0x184cf0:null;}function _0x4d4527(_0x5deb50){return new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a1092,_0x3c832c)=>{_0x5deb50[_0x4169ab([0x74,0x68,0x65,0x6e])](_0x4a1092,_0x3c832c),window[_0x4169ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c832c,0x5ac38abd^_0x3913d6);});}}_0x297947[_0x4169ab([0x6f,0x6e])](_0x4169ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x410f52,_0x35389f)=>{if(_0x35389f[0x0]!=_0x329d7f)return _0x3c6cb3(_0x4169ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35389f[0x1]={..._0x35389f[0x1],[_0x4169ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xacc76c};},{[_0x4169ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4169ab([0x68,0x69,0x67,0x68])}),_0x297947[_0x4169ab([0x6f,0x6e])](_0x4169ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28ecea=>{_0x43869c(_0x28ecea[_0x4169ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b4ac0=!0x0,_0x153ae6(_0x28ecea[_0x4169ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4169ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4169ab([0x6c,0x6f,0x77])}),_0x28f2cf[_0x4169ab([0x74,0x68,0x65,0x6e])](()=>{_0x2b4ac0||_0x3c6cb3(_0x4169ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bdab9(){return _0x297947[_0x4169ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4169ab([0x76,0x69,0x65,0x77])][_0x4169ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4169ab([0x61,0x75,0x74,0x6f]);}function _0x1b802b(){_0x297947[_0x4169ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4169ab([0x76,0x69,0x65,0x77])][_0x4169ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4169ab([0x61,0x75,0x74,0x6f]);}}function _0xeab754(_0x1ad566){const _0x15acce=[new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2520ca=>setTimeout(_0x2520ca,0x5acb60b1^_0x3913d6)),_0x28f2cf[_0x4169ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2630ee=>{let _0x489adb=0x0;_0x297947[_0x4169ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4169ab([0x6f,0x6e])](_0x4169ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x482b95,_0x786c64)=>{_0x786c64[0x0][_0x4169ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x489adb++,_0x489adb==(0x5ac25f85^_0x3913d6)&&(_0x2630ee(),_0x482b95[_0x4169ab([0x6f,0x66,0x66])]());});}))];return window[_0x4169ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4169ab([0x72,0x61,0x63,0x65])](_0x15acce)[_0x4169ab([0x74,0x68,0x65,0x6e])](()=>_0x1ad566);}async function _0x460635(){await _0x28f2cf,_0x297947[_0x4169ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4169ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e5ab4,_0x297947[_0x4169ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x4169ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e5ab4,_0x297947[_0x4169ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4169ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5866dd(_0x5b2edd){const _0x2aceba=_0x24b2c2();_0x297947[_0x2aceba]=_0x4169ab([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b2edd,_0x5b2edd!=_0x4169ab([0x56,0x61,0x6c,0x69,0x64])&&_0x460635();}function _0x24b2c2(){const _0x5235c7=window[_0x4169ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4169ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4169ab([0x6e,0x6f,0x77])]())[_0x4169ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4169ab([0x2e]),'');let _0x56ba11=_0x4169ab([0x4d]);for(let _0x1c73e4=0x0;_0x1c73e4<_0x5235c7[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c73e4+=0x2){let _0xa7254e=window[_0x4169ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5235c7[_0x4169ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c73e4,_0x1c73e4+0x2));_0xa7254e>=_0x3078b8[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa7254e-=_0x3078b8[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56ba11+=_0x3078b8[_0xa7254e];}return _0x56ba11;}function _0x152b28(){const _0x365d91=_0x37653b[_0x4169ab([0x73,0x70,0x6c,0x69,0x74])](_0x4169ab([0x2e]));if(0x3!=_0x365d91[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fced2(_0x365d91[0x1]);function _0x1fced2(_0xfade0b){const _0x3c9254=_0x1204e5(_0xfade0b);return _0x3c9254&&_0x47be2d()?_0x3c9254:null;function _0x47be2d(){const _0x1540b3=_0x3c9254[_0x4169ab([0x6a,0x74,0x69])],_0x5620fd=window[_0x4169ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1540b3[_0x4169ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1540b3[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe923bb={..._0x3c9254,[_0x4169ab([0x6a,0x74,0x69])]:_0x1540b3[_0x4169ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1540b3[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe923bb[_0x4169ab([0x76,0x63])],_0x3aeb96(_0xe923bb)==_0x5620fd;}}}async function _0x2d4b1c(){let _0x40b002=!0x0;try{const _0x4ba708=_0x37653b[_0x4169ab([0x73,0x70,0x6c,0x69,0x74])](_0x4169ab([0x2e])),[_0x275705,_0x328e4b,_0x31f454]=_0x4ba708;return _0x547094(_0x275705),await _0x5d907c(_0x275705,_0x328e4b,_0x31f454),_0x40b002;}catch{return!0x1;}function _0x547094(_0x1075a6){const _0x23f7ea=_0x1204e5(_0x1075a6);_0x23f7ea&&_0x23f7ea[_0x4169ab([0x61,0x6c,0x67])]==_0x4169ab([0x45,0x53,0x32,0x35,0x36])||(_0x40b002=!0x1);}async function _0x5d907c(_0x17762d,_0xc1928a,_0x1b1847){const _0x2a8fbe=window[_0x4169ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4169ab([0x66,0x72,0x6f,0x6d])](_0x32a8a6(_0x1b1847),_0x48e2ef=>_0x48e2ef[_0x4169ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a1883=new window[(_0x4169ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4169ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17762d+_0x4169ab([0x2e])+_0xc1928a),_0x755698=window[_0x4169ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4169ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x755698)return;const _0xb1ecd6=await _0x755698[_0x4169ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4169ab([0x6a,0x77,0x6b]),_0xd4d4a,{[_0x4169ab([0x6e,0x61,0x6d,0x65])]:_0x4169ab([0x45,0x43,0x44,0x53,0x41]),[_0x4169ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4169ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4169ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x755698[_0x4169ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4169ab([0x6e,0x61,0x6d,0x65])]:_0x4169ab([0x45,0x43,0x44,0x53,0x41]),[_0x4169ab([0x68,0x61,0x73,0x68])]:{[_0x4169ab([0x6e,0x61,0x6d,0x65])]:_0x4169ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb1ecd6,_0x2a8fbe,_0x3a1883)||(_0x40b002=!0x1);}}function _0x1204e5(_0x404fae){return _0x404fae[_0x4169ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4169ab([0x65,0x79]))?JSON[_0x4169ab([0x70,0x61,0x72,0x73,0x65])](_0x32a8a6(_0x404fae)):null;}function _0x32a8a6(_0x172866){return window[_0x4169ab([0x61,0x74,0x6f,0x62])](_0x172866[_0x4169ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4169ab([0x2b]))[_0x4169ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4169ab([0x2f])));}function _0x3aeb96(_0x353b64){let _0x2d0095=0x1505;function _0x228a67(_0x5a1b5b){for(let _0x423142=0x0;_0x423142<_0x5a1b5b[_0x4169ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x423142++){const _0x57540a=_0x5a1b5b[_0x4169ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x423142);_0x2d0095=(_0x2d0095<<0x5)+_0x2d0095+_0x57540a,_0x2d0095&=_0x2d0095;}}function _0x3f5a7c(_0x44a76b){Array[_0x4169ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44a76b)?_0x44a76b[_0x4169ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f5a7c):_0x44a76b&&typeof _0x44a76b==_0x4169ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4169ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44a76b)[_0x4169ab([0x73,0x6f,0x72,0x74])]()[_0x4169ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19d895,_0x40e0d0])=>{_0x228a67(_0x19d895),_0x3f5a7c(_0x40e0d0);}):_0x228a67(window[_0x4169ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44a76b));}return _0x3f5a7c(_0x353b64),_0x2d0095>>>0x0;}function _0x217d7e(_0x2fa444){return _0x2fa444[_0x4169ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4169ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4169ab([0x30]));}function _0xa05891(_0x823645){return _0x823645[_0x4169ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4169ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4169ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e5ab4(){}function _0x4169ab(_0x34ffe6){const _0x2bb1c7=_0x48e2;return _0x34ffe6[_0x2bb1c7(0xfb)](_0x471a7a=>String[_0x2bb1c7(0x16c)](_0x471a7a))[_0x2bb1c7(0x159)]('');}_0x5866dd(await _0x38714a());}(this);}[_0x5862f8(0x144)](){const _0x5c3151=_0x5862f8;super[_0x5c3151(0x144)](),this[_0x5c3151(0xe5)]&&(this[_0x5c3151(0xda)][_0x5c3151(0xc7)](),this[_0x5c3151(0xe5)][_0x5c3151(0x144)](),this[_0x5c3151(0xe5)][_0x5c3151(0x15d)][_0x5c3151(0x146)]());}[_0x5862f8(0x16e)](){const _0x46a3c1=_0x5862f8,_0x1e0d87=this[_0x46a3c1(0x118)],_0x2e5693=_0x1e0d87[_0x46a3c1(0xd1)][_0x46a3c1(0x131)],_0x461bd1=this[_0x46a3c1(0xee)]();if(!_0x461bd1||0x0===_0x461bd1[_0x46a3c1(0x138)])return void _0x1e0d87['ui'][_0x46a3c1(0xf7)](_0x46a3c1(0x145),()=>this[_0x46a3c1(0x16e)]());const {pageWidth:_0x55a508,pageHeight:_0x4575bb}=_0x1e0d87[_0x46a3c1(0xd4)][_0x46a3c1(0xf8)](_0x46a3c1(0xfe)),{top:_0x345c3d,left:_0x86fa3f,bottom:_0x4c1956,right:_0x156487}=this[_0x46a3c1(0x157)];this[_0x46a3c1(0xe5)]=new _0x239aa1(_0x1e0d87[_0x46a3c1(0x107)]);const _0x6992c2=this[_0x46a3c1(0xe5)];_0x6992c2[_0x46a3c1(0x171)](_0x46a3c1(0xbc),''),_0x6992c2[_0x46a3c1(0x11d)]({'tag':_0x46a3c1(0xf0),'attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x55a508,'width':_0x55a508,'height':_0x46a3c1(0x160)+_0x4575bb+_0x46a3c1(0x127)+_0x345c3d+_0x46a3c1(0x127)+_0x4c1956+'\x20)','minWidth':_0x46a3c1(0xd9),'minHeight':_0x46a3c1(0xd9),'padding':'0\x20'+_0x156487+_0x46a3c1(0xe6)+_0x86fa3f,'columnGap':_0x46a3c1(0x10f),'border':0x0,'boxSizing':_0x46a3c1(0x134),'columnCount':_0x46a3c1(0xd9),'columnFill':_0x46a3c1(0xd9),'overflow':_0x46a3c1(0x103),'position':_0x46a3c1(0x156),'top':_0x46a3c1(0x132),'left':_0x46a3c1(0x132)},'tabindex':'-1','class':_0x6992c2[_0x46a3c1(0xca)]['to'](_0x46a3c1(0xbc))}}),_0x6992c2[_0x46a3c1(0xc3)](),_0x461bd1[_0x46a3c1(0x130)][_0x46a3c1(0x10e)](_0x6992c2[_0x46a3c1(0x15d)],_0x461bd1[_0x46a3c1(0x15e)]),this[_0x46a3c1(0xde)](_0x2e5693,_0x46a3c1(0xc3),()=>this[_0x46a3c1(0xda)](),{'priority':_0x46a3c1(0x149)}),this[_0x46a3c1(0xda)]();}[_0x5862f8(0xee)](){const _0xee1ee1=_0x5862f8;for(const _0x379b65 of this[_0xee1ee1(0x118)][_0xee1ee1(0xd1)][_0xee1ee1(0x131)][_0xee1ee1(0xe1)][_0xee1ee1(0xd7)]())if(_0x379b65[_0xee1ee1(0xc4)][_0xee1ee1(0xfc)][_0xee1ee1(0x139)](_0x379b65))return _0x379b65;return null;}[_0x5862f8(0x11b)](){const _0x14c5ef=_0x5862f8;if(!this[_0x14c5ef(0x166)])return Promise[_0x14c5ef(0x125)]();const _0xdb344f=this[_0x14c5ef(0x118)][_0x14c5ef(0xd1)][_0x14c5ef(0x131)],_0x2eaf5a=this[_0x14c5ef(0xe5)],_0x4fa59d=this[_0x14c5ef(0xee)]();if(!_0x4fa59d)return Promise[_0x14c5ef(0x125)]();for(_0x2eaf5a[_0x14c5ef(0xbc)]=[_0x14c5ef(0x161),_0x14c5ef(0xd3),..._0x4fa59d[_0x14c5ef(0xbd)]][_0x14c5ef(0x159)]('\x20');_0x2eaf5a[_0x14c5ef(0x15d)][_0x14c5ef(0xfd)];)_0x2eaf5a[_0x14c5ef(0x15d)][_0x14c5ef(0xfd)][_0x14c5ef(0x146)]();const _0x524974=Array[_0x14c5ef(0x114)](_0xdb344f[_0x14c5ef(0xe1)]);_0x524974[_0x14c5ef(0xdd)](([,_0x39622a],[,_0x4872e1])=>_0x39622a[_0x14c5ef(0xe9)](_0x4872e1)==Node[_0x14c5ef(0x13b)]?0x1:-0x1);for(const [_0x58e84,_0x415772]of _0x524974){const _0x4065a4=_0x415772[_0x14c5ef(0xce)](!0x0);_0x14c5ef(0xbf)in _0x4065a4&&_0x4065a4[_0x14c5ef(0xbf)][_0x14c5ef(0x153)](),_0x4065a4[_0x14c5ef(0x10d)]='',_0x4065a4[_0x14c5ef(0x142)]('id'),_0x4065a4[_0x14c5ef(0xc1)][_0x14c5ef(0xb9)]=_0x58e84,_0x2eaf5a[_0x14c5ef(0x15d)][_0x14c5ef(0xdc)](_0x4065a4);}return function(_0xd78103){const _0x3bbb69=_0x14c5ef;return Promise[_0x3bbb69(0xc5)](_0xd78103[_0x3bbb69(0xfb)](_0x430810=>Promise[_0x3bbb69(0xbe)]([m(_0x430810),p(0x3e8)])));}(Array[_0x14c5ef(0x114)](_0x2eaf5a[_0x14c5ef(0x15d)][_0x14c5ef(0xc6)](_0x14c5ef(0x10c))))[_0x14c5ef(0xe4)](()=>this[_0x14c5ef(0xbb)]());}[_0x5862f8(0xbb)](){const _0x28983c=_0x5862f8,_0xf4ac2c=this[_0x28983c(0xe5)][_0x28983c(0x15d)];if(!_0xf4ac2c[_0x28983c(0xc4)][_0x28983c(0xfc)][_0x28983c(0x139)](_0xf4ac2c))return;const _0x71f006=new _0xb101c6(_0xf4ac2c)[_0x28983c(0x100)](),_0x47e928=_0x108d87[_0x28983c(0x124)][_0x28983c(0xc2)](_0xf4ac2c),_0x9334e2=parseFloat(_0x47e928[_0x28983c(0x12c)])+parseFloat(_0x47e928[_0x28983c(0x162)]),_0x5a7189=Math[_0x28983c(0x14a)](_0x71f006[_0x28983c(0x12d)]+0x64-_0x9334e2),_0x8c6baf=b(_0xf4ac2c,Math[_0x28983c(0x14a)](_0x71f006[_0x28983c(0xd5)]-_0xf4ac2c[_0x28983c(0x14d)]),_0x5a7189,_0x71f006[_0x28983c(0xf9)])[_0x28983c(0xfb)](_0x4c7eee=>this[_0x28983c(0x108)](_0x4c7eee));_0x8c6baf[_0x28983c(0x15a)](_0x2e87bd=>!!_0x2e87bd)&&(this[_0x28983c(0x137)]=_0x8c6baf);}[_0x5862f8(0x108)](_0x26c896){const _0x47e305=_0x5862f8,_0x31edf2=this[_0x47e305(0x118)][_0x47e305(0xd1)][_0x47e305(0x131)],_0x2e1b75=this[_0x47e305(0x118)][_0x47e305(0xd1)][_0x47e305(0x11f)],_0xd2935a=_0x31edf2[_0x47e305(0xec)],_0x281b90=_0x26c896[_0x47e305(0xc9)][_0x47e305(0x120)](),_0x13520c=this[_0x47e305(0xe5)][_0x47e305(0x15d)][_0x47e305(0x151)][_0x281b90][_0x47e305(0xc1)][_0x47e305(0xb9)],_0x272150=_0x31edf2[_0x47e305(0x110)](_0x13520c);if(!_0x272150)return null;const _0x3d0dc2=function(_0x1797a5,_0x46f766){const _0x4c8e5d=_0x47e305;let _0x368fd7=_0x1797a5;for(const _0x3a83d7 of _0x46f766[_0x4c8e5d(0xc9)]){if(!_0x368fd7)return null;_0x368fd7=_0x368fd7[_0x4c8e5d(0x151)][_0x3a83d7];}return _0x368fd7;}(_0x272150,_0x26c896);if(!_0x3d0dc2)return null;const _0x50dbf7=_0xd2935a[_0x47e305(0x150)](_0x3d0dc2,_0x26c896[_0x47e305(0xf1)]||0x0);return _0x50dbf7?_0x47e305(0x12b)==_0x26c896[_0x47e305(0x117)]?this[_0x47e305(0x152)](_0x50dbf7,_0x3d0dc2):_0x47e305(0x155)==_0x26c896[_0x47e305(0x117)]&&_0x2e1b75[_0x47e305(0xff)](_0x50dbf7)[_0x47e305(0x13c)]?this[_0x47e305(0x141)](_0x50dbf7,_0x3d0dc2,_0x26c896[_0x47e305(0xf1)]):this[_0x47e305(0x11c)](_0x50dbf7,_0x3d0dc2,_0x26c896[_0x47e305(0x13c)]):null;}[_0x5862f8(0x152)](_0x2ccbbb,_0x1c2a1d){const _0x52dfb2=_0x5862f8,_0x26b015=this[_0x52dfb2(0x118)][_0x52dfb2(0xb7)],_0xdbb0f4=this[_0x52dfb2(0x118)][_0x52dfb2(0xd1)][_0x52dfb2(0x11f)][_0x52dfb2(0x101)](_0x2ccbbb[_0x52dfb2(0xd8)]),_0x55cddf=_0x26b015[_0x52dfb2(0x165)](_0xdbb0f4);return new PageBreakInfo({'type':_0x52dfb2(0x12b),'modelRange':_0x55cddf,'domNode':_0x1c2a1d,'offset':0x0});}[_0x5862f8(0x141)](_0x4a2775,_0x5a9ba8,_0x16fd8d){const _0x51f930=_0x5862f8,_0x42b978=this[_0x51f930(0x118)][_0x51f930(0xb7)],_0x8ed649=this[_0x51f930(0x118)][_0x51f930(0xd1)][_0x51f930(0x11f)],_0x3c5a1d=this[_0x51f930(0x118)][_0x51f930(0xd1)][_0x51f930(0x131)][_0x51f930(0xec)];if(_0x16fd8d>=_0x5a9ba8[_0x51f930(0xeb)])return null;const _0x2acedc=_0x8ed649[_0x51f930(0xff)](_0x4a2775),_0x1b04df=_0x42b978[_0x51f930(0xcb)](_0x2acedc),_0x393012=_0x8ed649[_0x51f930(0x121)](_0x4a2775),_0x38434f=_0x3c5a1d[_0x51f930(0xd6)](_0x393012);return new PageBreakInfo({'type':_0x51f930(0x155),'modelRange':_0x1b04df,'domNode':_0x5a9ba8,'offset':w(_0x5a9ba8,_0x16fd8d,_0x38434f)});}[_0x5862f8(0x11c)](_0x5a1e3b,_0xa85826,_0x13e401){const _0x435638=_0x5862f8,_0x57997e=this[_0x435638(0x118)][_0x435638(0xb7)],_0x51d0a2=this[_0x435638(0x118)][_0x435638(0xd1)],_0x347f0c=_0x51d0a2[_0x435638(0x11f)],_0x3afe6d=_0x51d0a2[_0x435638(0x131)][_0x435638(0xec)],_0x1b29bc=_0x347f0c[_0x435638(0x121)](_0x5a1e3b),_0x35459a=_0x347f0c[_0x435638(0x101)](_0x1b29bc),_0x2aa242=function(_0x24ef7a){const _0x2a3c70=_0x435638,_0x48b64b=_0x24ef7a[_0x2a3c70(0xd8)],_0x3e8fa6=_0x48b64b[_0x2a3c70(0xb8)][_0x2a3c70(0xef)][_0x2a3c70(0xb7)],_0x416a47=_0x48b64b[_0x2a3c70(0x115)]({'parentFirst':!0x0,'includeSelf':!0x0});let _0x55caec=null;for(const _0x20f547 of _0x416a47){if(_0x20f547['is'](_0x2a3c70(0x169)))return _0x55caec;if(!_0x3e8fa6[_0x2a3c70(0xc0)](_0x20f547)[_0x2a3c70(0xf3)](_0x24ef7a))return _0x55caec;_0x55caec=_0x20f547;}}(_0x57997e[_0x435638(0xc0)](_0x35459a)),_0x932900=_0x2aa242||_0x35459a;let _0x41fde9=_0x347f0c[_0x435638(0x116)](_0x932900),_0x1a1ebf=_0x57997e[_0x435638(0x165)](_0x932900);const _0x1008ee=_0x57997e[_0x435638(0xc0)](_0x932900)[_0x435638(0x12f)];if(_0x1008ee&&_0x1008ee['is'](_0x435638(0x15d),_0x435638(0x154))){const _0x268c51=_0x347f0c[_0x435638(0x116)](_0x1008ee),_0x406fd5=_0x3afe6d[_0x435638(0xd6)](_0x268c51),_0x4475d1=_0x108d87[_0x435638(0x124)][_0x435638(0xc2)](_0x406fd5)[_0x435638(0x174)];_0x435638(0xd5)!=_0x4475d1&&_0x435638(0xe0)!=_0x4475d1||(_0x1a1ebf=_0x57997e[_0x435638(0x165)](_0x1008ee));}for(;_0x41fde9[_0x435638(0xd8)]!==_0x41fde9[_0x435638(0xb8)]&&0x0===_0x41fde9[_0x435638(0xb6)];)_0x41fde9=_0x41fde9[_0x435638(0xd8)];const _0x5c9921=new _0xb101c6(N(_0xa85826)?_0xa85826:y(_0xa85826)),_0x2f779a=_0x13e401?_0x5c9921[_0x435638(0xf9)]-_0x13e401:0x0,_0x4f2be0=_0x3afe6d[_0x435638(0xd6)](_0x41fde9),_0x2e3a3e=new _0xb101c6(_0x4f2be0);return new PageBreakInfo({'type':_0x435638(0x15d),'modelRange':_0x1a1ebf,'domNode':_0x4f2be0,'offset':Math[_0x435638(0x123)](_0x2f779a)?_0x2f779a+_0x5c9921[_0x435638(0x15f)]-_0x2e3a3e[_0x435638(0x15f)]:0x0});}get[_0x5862f8(0x157)](){const _0x38141e=_0x5862f8,_0x1a479c=this[_0x38141e(0x118)][_0x38141e(0xd4)][_0x38141e(0xf8)](_0x38141e(0xcf));return Object[_0x38141e(0x13f)]({'top':_0x38141e(0x104),'bottom':_0x38141e(0x104),'left':_0x38141e(0x104),'right':_0x38141e(0x104)},_0x1a479c);}static[_0x5862f8(0x111)](_0x18b671,_0x128aa1,_0x1b5106,_0x41eea5,_0x4f022b){return b(_0x18b671,_0x128aa1,_0x1b5106,_0x41eea5,_0x4f022b);}}export class PageBreakInfo{[_0x5862f8(0x117)];[_0x5862f8(0x10a)];[_0x5862f8(0xd0)];[_0x5862f8(0xe8)];constructor({type:_0x4a7086,modelRange:_0x11142c,domNode:_0x1b83c7,offset:_0x61b7a5}){const _0x1eb1e6=_0x5862f8;this[_0x1eb1e6(0x117)]=_0x4a7086,this[_0x1eb1e6(0x10a)]=_0x11142c,this[_0x1eb1e6(0xd0)]=_0x1b83c7,this[_0x1eb1e6(0xe8)]=_0x61b7a5;}get[_0x5862f8(0x13c)](){const _0x4435aa=_0x5862f8;if(!this[_0x4435aa(0xd0)][_0x4435aa(0xc4)][_0x4435aa(0xfc)][_0x4435aa(0x139)](this[_0x4435aa(0xd0)]))return 0x0;const _0x4b3e1e=new _0xb101c6(N(this[_0x4435aa(0xd0)])?this[_0x4435aa(0xd0)]:y(this[_0x4435aa(0xd0)]));return _0x4435aa(0x12b)==this[_0x4435aa(0x117)]?_0x4b3e1e[_0x4435aa(0x15f)]+_0x4b3e1e[_0x4435aa(0xf9)]/0x2:_0x4b3e1e[_0x4435aa(0x15f)]+this[_0x4435aa(0xe8)];}}function w(_0x1fa1d0,_0x3644a4,_0x400199){const _0x4fe48c=_0x5862f8,_0xb545c=y(_0x1fa1d0),_0x35201c=function(_0x3397d4){const _0x537eff=_0x48e2,_0x5f414c=_0x108d87[_0x537eff(0xef)][_0x537eff(0xcb)]();return _0x5f414c[_0x537eff(0x11a)](_0x3397d4),_0x5f414c;}(_0x400199);let _0x1617e8;_0x1617e8=0x0==_0x3644a4?k(_0x35201c[_0x4fe48c(0x14e)],_0x35201c[_0x4fe48c(0xf5)],_0x1fa1d0[_0x4fe48c(0x130)],Array[_0x4fe48c(0x114)](_0x1fa1d0[_0x4fe48c(0x130)][_0x4fe48c(0x151)])[_0x4fe48c(0x109)](_0x1fa1d0)):k(_0x35201c[_0x4fe48c(0x14e)],_0x35201c[_0x4fe48c(0xf5)],_0x1fa1d0,_0x3644a4);const _0x2e561e=k(_0x1fa1d0,_0x3644a4,_0x35201c[_0x4fe48c(0x11e)],_0x35201c[_0x4fe48c(0xd2)]),_0x1a94f3=new _0xb101c6(_0x1617e8)[_0x4fe48c(0xfa)];return(new _0xb101c6(_0x2e561e)[_0x4fe48c(0x15f)]+_0x1a94f3)/0x2-new _0xb101c6(_0xb545c)[_0x4fe48c(0x15f)];}function m(_0x2884f8){const _0x6a1785=_0x5862f8;return _0x2884f8[_0x6a1785(0x119)](_0x6a1785(0x12d))&&_0x2884f8[_0x6a1785(0x119)](_0x6a1785(0xf9))?Promise[_0x6a1785(0x125)]():new Promise(_0x1c8900=>{const _0x12104e=_0x6a1785;function _0xed7262(){const _0xcd7b8=_0x48e2;_0x2884f8[_0xcd7b8(0x128)](_0xcd7b8(0xf6),_0xed7262),_0x2884f8[_0xcd7b8(0x128)](_0xcd7b8(0x16d),_0xed7262),_0x1c8900();}_0x2884f8[_0x12104e(0x12e)]?_0x1c8900():(_0x2884f8[_0x12104e(0x16b)](_0x12104e(0xf6),_0xed7262),_0x2884f8[_0x12104e(0x16b)](_0x12104e(0x16d),_0xed7262));});}function p(_0x571227){return new Promise(_0x987ca=>setTimeout(_0x987ca,_0x571227));}function y(_0x198ff5){const _0x1557ec=_0x5862f8,_0x4421fa=_0x108d87[_0x1557ec(0xef)][_0x1557ec(0xcb)]();return _0x4421fa[_0x1557ec(0x112)](_0x198ff5),_0x4421fa;}function P(_0x53fc51,_0x4c2f6e,_0x98a571){const _0x2c18be=_0x5862f8,_0xb920f9=_0x108d87[_0x2c18be(0xef)][_0x2c18be(0xcb)]();return _0xb920f9[_0x2c18be(0x13a)](_0x53fc51,_0x4c2f6e),_0xb920f9[_0x2c18be(0x163)](_0x53fc51,_0x98a571),_0xb920f9;}function k(_0x2fab7f,_0x4f614f,_0x3cce92,_0x77b6ce){const _0x6f4e52=_0x5862f8,_0x2a78cb=_0x108d87[_0x6f4e52(0xef)][_0x6f4e52(0xcb)]();return _0x2a78cb[_0x6f4e52(0x13a)](_0x2fab7f,_0x4f614f),_0x2a78cb[_0x6f4e52(0x163)](_0x3cce92,_0x77b6ce),_0x2a78cb;}function b(_0x382a04,_0x1e8598,_0x2f8b7f,_0x298c61,_0x13c3a8){const _0x2ef764=_0x5862f8,_0x4d4bc6=[];for(const [_0x15ef2b,_0x3bdcd2]of _0x382a04[_0x2ef764(0x151)][_0x2ef764(0x148)]()){let _0x40bede=[];N(_0x3bdcd2)&&_0x3bdcd2[_0x2ef764(0x105)]&&!_0x3bdcd2[_0x2ef764(0x113)][_0x2ef764(0xea)]?_0x40bede=x(_0x3bdcd2,_0x15ef2b,_0x1e8598,_0x2f8b7f,_0x298c61,_0x13c3a8):S(_0x3bdcd2)&&(_0x40bede=_(_0x3bdcd2,_0x15ef2b,_0x1e8598,_0x2f8b7f,_0x13c3a8)),_0x40bede[_0x2ef764(0xeb)]&&(_0x4d4bc6[_0x2ef764(0x147)](..._0x40bede),_0x1e8598+=_0x40bede[_0x2ef764(0xeb)]*_0x2f8b7f,_0x13c3a8=!0x1);}return _0x4d4bc6;}function _0x39c7(){const _0x405bb6=['listenTo','TEXT_NODE','right','domRoots','figure.image','3955446JUqHRn','then','_pagesContainer','\x200\x20','3BYBYCt','_offset','compareDocumentPosition','position','length','domConverter','plugins','_getAttachedDomRoot','document','div','textOffset','afterInit','isTouching','.page-break','startOffset','load','once','get','height','bottom','map','body','firstChild','pagination','toModelPosition','excludeScrollbarsAndBorders','toModelElement','2439iwqDvE','hidden','10mm','offsetParent','nodeType','locale','_mapPageStarterInfoToPageBreakInfo','indexOf','modelRange','4800144AssKPV','img','className','insertBefore','100px','getDomRoot','_findPageStarterInfos','selectNode','style','from','getAncestors','toViewElement','type','editor','hasAttribute','selectNodeContents','_recalculatePageBreaks','_mapElementPageStarterInfoToPageBreakInfo','setTemplate','endContainer','mapper','shift','findMappedViewAncestor','ceil','round','window','resolve','PaginationEditing','\x20-\x20','removeEventListener','2463517cCBeVG','previousSibling','manual','paddingLeft','width','complete','nodeBefore','parentNode','view','-99999px','parentElement','border-box','2186126WfIHsA','ck-fake-selection-container','pageBreaks','childElementCount','contains','setStart','DOCUMENT_POSITION_PRECEDING','offset','table-cell','table-row','assign','display','_mapTextPageStarterInfoToPageBreakInfo','removeAttribute','pagination-config-not-found','destroy','update','remove','push','entries','low','floor','ready','nextElementSibling','scrollLeft','startContainer','change:isEnabled','domPositionToView','childNodes','_mapManualPageStarterInfoToPageBreakInfo','clear','imageBlock','text','absolute','_configuredPaddings','PaginationLookup','join','every','page-break','previousElementSibling','element','nextSibling','top','calc(\x20','ck-reset','paddingRight','setEnd','22856kxQPkh','createRangeOn','isEnabled','ELEMENT_NODE','isPremiumPlugin','rootElement','bind','addEventListener','fromCharCode','error','_onUiReady','closest','isOfficialPlugin','set','pluginName','10535dRWHlE','float','index','model','root','rootName','href','_updatePageBreaksData','class','classList','race','attributeStyleMap','createPositionBefore','dataset','getComputedStyle','render','ownerDocument','all','querySelectorAll','cancel','1034005ghSdEo','path','bindTemplate','createRange','none','init','cloneNode','pagination.pageMargins','_domNode','editing','endOffset','ck-pagination-view','config','left','mapViewToDom','values','parent','auto','_recalculatePageBreaksDebounced','getClientRects','append','sort'];_0x39c7=function(){return _0x405bb6;};return _0x39c7();}function x(_0x38bc04,_0x4d56cf,_0x4e585e,_0x22077d,_0x1a3ea2,_0x44ed4a){const _0x5eadfe=_0x5862f8,_0x48128f=[];var _0x860b7a;if((_0x860b7a=_0x38bc04[_0x5eadfe(0x12a)])&&N(_0x860b7a)&&Boolean(_0x860b7a[_0x5eadfe(0xbd)][_0x5eadfe(0x139)](_0x5eadfe(0x15b))||_0x860b7a[_0x5eadfe(0x16f)](_0x5eadfe(0xf4)))&&(_0x48128f[_0x5eadfe(0x147)]({'type':_0x5eadfe(0x12b),'offset':0x0,'path':[_0x4d56cf-0x1]}),_0x44ed4a=!0x0),_0x5eadfe(0x13e)==_0x108d87[_0x5eadfe(0x124)][_0x5eadfe(0xc2)](_0x38bc04)[_0x5eadfe(0x140)]){let _0x450a76=0x0,_0x2b3739=!0x1;for(const _0x530553 of _0x38bc04[_0x5eadfe(0xdb)]())_0x450a76+=_0x530553[_0x5eadfe(0xf9)],_0x530553[_0x5eadfe(0xd5)]>=_0x4e585e&&(_0x2b3739=!0x0);if(_0x450a76<_0x1a3ea2&&_0x2b3739)return _0x48128f[_0x5eadfe(0x147)]({'type':_0x5eadfe(0x15d),'offset':0x0,'path':[_0x4d56cf]}),_0x48128f;}const _0xb7b1de=_0x38bc04[_0x5eadfe(0x16f)](_0x5eadfe(0xe2));if(_0xb7b1de&&function(_0x4491ff){const _0x46e04e=_0x5eadfe;let _0x578a07=!0x1;const _0x14e4dd=_0x4491ff[_0x46e04e(0x133)],_0x26792b=_0x14e4dd[_0x46e04e(0xc1)][_0x46e04e(0xb9)],_0xb124a7=_0x4491ff[_0x46e04e(0x14c)],_0x46b802=_0x4491ff[_0x46e04e(0x15c)],_0x23b3c5=_0xb124a7&&_0x108d87[_0x46e04e(0x124)][_0x46e04e(0xc2)](_0xb124a7)[_0x46e04e(0x174)],_0x11b5f0=_0xb124a7&&_0x46e04e(0x136)===_0xb124a7[_0x46e04e(0x10d)];!_0x26792b||_0xb124a7||_0x46b802||(_0x578a07=!0x0),_0x26792b&&!_0x46b802&&_0x11b5f0&&(_0x578a07=!0x0),_0x26792b&&!_0x46b802&&_0x46e04e(0xcc)!==_0x23b3c5&&(_0x578a07=!0x0);if(_0x578a07)return!0x1;return!0x0;}(_0xb7b1de)){const _0x3cb7f8=_0x108d87[_0x5eadfe(0x124)][_0x5eadfe(0xc2)](_0xb7b1de)[_0x5eadfe(0x174)];if(_0x5eadfe(0xd5)==_0x3cb7f8||_0x5eadfe(0xe0)==_0x3cb7f8)return _0x48128f;}const _0x42e30f=b(_0x38bc04,_0x4e585e,_0x22077d,_0x1a3ea2,_0x44ed4a);if(_0x42e30f[_0x5eadfe(0xeb)]){for(const _0x1b96e4 of _0x42e30f)_0x48128f[_0x5eadfe(0x147)]({'type':_0x1b96e4[_0x5eadfe(0x117)],'offset':_0x1b96e4[_0x5eadfe(0x13c)],'textOffset':_0x1b96e4[_0x5eadfe(0xf1)],'path':[_0x4d56cf,..._0x1b96e4[_0x5eadfe(0xc9)]]}),_0x4e585e+=_0x22077d,_0x44ed4a=!0x1;return _0x48128f;}return _0x48128f[_0x5eadfe(0x147)](...function(_0xc08482,_0x4d1778,_0x391cc5,_0x40407c,_0x410c57){const _0xdad845=_0x5eadfe,_0x438c08=[];if(_0xdad845(0x13d)==_0x108d87[_0xdad845(0x124)][_0xdad845(0xc2)](_0xc08482)[_0xdad845(0x140)])return[];const _0x1fad22=[];for(const _0x205f58 of _0xc08482[_0xdad845(0xdb)]())if(_0x205f58[_0xdad845(0xd5)]>=_0x391cc5){for(const _0x8eec73 of _0x1fad22)_0x8eec73[_0xdad845(0xf9)]+=_0x205f58[_0xdad845(0xf9)];_0x1fad22[_0xdad845(0x147)]({'height':_0x205f58[_0xdad845(0xf9)]}),_0x391cc5+=_0x40407c;}for(const _0x515bb5 of _0x1fad22)_0x410c57||_0x438c08[_0xdad845(0x147)]({'type':_0xdad845(0x15d),'offset':_0x515bb5[_0xdad845(0xf9)],'textOffset':0x0,'path':[_0x4d1778]}),_0x410c57=!0x1;return _0x438c08;}(_0x38bc04,_0x4d56cf,_0x4e585e,_0x22077d,_0x44ed4a)),_0x48128f;}function _(_0x4524bf,_0x15fc8d,_0x5026f6,_0x39f463,_0x437f91){const _0xfb4e54=_0x5862f8,_0x65e202=y(_0x4524bf),_0x37f1dd=[];let _0x360e20=0x0;for(const _0x206820 of _0x65e202[_0xfb4e54(0xdb)]())if(_0x206820[_0xfb4e54(0xd5)]>=_0x5026f6){const _0xc20a4c=B(_0x4524bf,_0x360e20,_0x5026f6,_0x39f463);_0x437f91||_0x37f1dd[_0xfb4e54(0x147)]({'type':_0xfb4e54(0x155),'path':[_0x15fc8d],'textOffset':_0xc20a4c}),_0x360e20=_0xc20a4c,_0x5026f6+=_0x39f463,_0x437f91=!0x1;}return _0x37f1dd;}function B(_0x291589,_0x3f8281,_0x5ce7df,_0x23c721){const _0x14982c=_0x5862f8;let _0x2553ba=_0x3f8281,_0xb60a78=_0x291589[_0x14982c(0xeb)];for(;_0xb60a78-_0x2553ba>0x1;){const _0x22a473=Math[_0x14982c(0x122)]((_0x2553ba+_0xb60a78)/0x2);I(P(_0x291589,_0x2553ba,_0x22a473),_0x5ce7df,_0x23c721)?_0xb60a78=_0x22a473:_0x2553ba=_0x22a473;}return _0x2553ba;}function I(_0x10fffd,_0x582f73,_0x513e0a){const _0x5e410c=_0x5862f8;for(const _0x547562 of _0x10fffd[_0x5e410c(0xdb)]())if(_0x547562[_0x5e410c(0xd5)]>=_0x582f73&&_0x547562[_0x5e410c(0xd5)]<_0x582f73+_0x513e0a)return!0x0;return!0x1;}function N(_0x2aeab0){const _0x1ff826=_0x5862f8;return _0x2aeab0[_0x1ff826(0x106)]==Node[_0x1ff826(0x167)];}function S(_0x11a32c){const _0x489991=_0x5862f8;return _0x11a32c[_0x489991(0x106)]==Node[_0x489991(0xdf)];}
|