@ckeditor/ckeditor5-pagination 46.0.0-alpha.2 → 46.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/pagination.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/pagination.js +1 -1
- package/src/paginationediting.js +1 -1
- package/src/paginationlookup.js +1 -1
- package/src/paginationrenderer.js +1 -1
- package/src/paginationui.js +1 -1
- package/src/ui/linesrepository.js +1 -1
- package/src/ui/lineview.js +2 -2
- package/src/ui/pagenavigatorview.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/pagination.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=m;function a(){const t=["config","pageBreaks","manual","error","startOffset","removeAttribute","change:isEnabled","removeEventListener","offset","162fYUnFf","nodeType","type","100px","hasAttribute","textOffset","_recalculatePageBreaks","calc( ","attributeStyleMap","165nQkvDa","auto","previousElementSibling","toModelElement","pagination.pageMargins","ownerDocument","cloneNode","index","addEventListener","40gPcllc","domPositionToView","position",".page-break","every","complete","map","plugins","TEXT_NODE","push","78BcVcmo","endContainer","isPremiumPlugin","createRange","getClientRects","bind","rootName","table-cell","_mapManualPageStarterInfoToPageBreakInfo","modelRange","domRoots","toModelPosition","parent","pagination-config-not-found","top","clear","floor","fromCharCode","querySelectorAll","1922805MeIVPL","get","afterInit","destroy","nextElementSibling","selectNodeContents","nodeBefore","float","getAncestors","PaginationLookup","view","update","1040aofIFq","editor","assign","_pagesContainer","_recalculatePageBreaksDebounced","document","setTemplate","pagination","firstChild","249560cmZZJf","findMappedViewAncestor","listenTo","once","classList","scrollLeft","height","DOCUMENT_POSITION_PRECEDING","offsetParent","href","_onUiReady","cancel","mapper","resolve","ck-fake-selection-container","display","right","window","domConverter"," 0 ","table-row","rootElement","path","mapViewToDom","indexOf","setEnd","excludeScrollbarsAndBorders","none","createRangeOn","root","sort","ck-pagination-view","append","width","figure.image","10mm","isTouching","className","previousSibling","selectNode","childElementCount","paddingRight","bottom","childNodes","ck-reset","ready","_domNode","ELEMENT_NODE","toViewElement","setStart","isEnabled","init","join","startContainer","length","_findPageStarterInfos","_mapElementPageStarterInfoToPageBreakInfo","_mapTextPageStarterInfoToPageBreakInfo","absolute","hidden","shift","body","dataset","class","_getAttachedDomRoot","29028fIOEkI","left","_mapPageStarterInfoToPageBreakInfo","1020648XGjdvz","low","isOfficialPlugin","border-box","_updatePageBreaksData","img","bindTemplate","createPositionBefore","imageBlock","render","paddingLeft","text","values","then","div","load","set","-99999px","147812fMzakc","style","race","from","_offset","ceil"," - ","10365IxjVCv","element","_configuredPaddings","closest","pluginName","getComputedStyle","PaginationEditing","parentElement","round","locale","entries","getDomRoot","67780UcfWiz","insertBefore","editing","contains","remove","nextSibling","parentNode","page-break","endOffset","compareDocumentPosition","all","model"];return(a=function(){return t})()}!function(t){const e=m,n=t();for(;;)try{if(378327===-parseInt(e(505))/1*(-parseInt(e(390))/2)+-parseInt(e(419))/3+-parseInt(e(431))/4*(-parseInt(e(533))/5)+parseInt(e(400))/6*(parseInt(e(526))/7)+parseInt(e(440))/8*(-parseInt(e(566))/9)+parseInt(e(545))/10*(parseInt(e(381))/11)+parseInt(e(508))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(435)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(572)](),200);[r(434)]=null;static get[r(537)](){return r(428)}static get[r(510)](){return!0}static get[r(402)](){return!0}[r(491)](){const t=r;if(this[t(524)]({pageBreaks:[]}),!this[t(432)][t(557)][t(420)](t(438)))return void(0,o.logWarning)(t(413),this[t(432)][t(557)]);const e=this[t(432)][t(397)][t(420)](t(539));this[t(405)](t(490)).to(e),this[t(432)].ui[t(443)](t(485),()=>this[t(450)]()),this.on(t(563),(e,n,i)=>{i&&this[t(435)]()})}[r(421)](){!async function(t){const e=g([114,48,80,103,54,98,65,119,50,108,79,82,81,117,118,102,86,49,89,56,121,88,73,69,71,66,84,51,78,107,67,85,74,53,87,83,113,101,97,116,90,109,52,76,77,57,111,72,122,110,68,106,120,115,70,104,112,99,105,55,75,100]),n=window[g([68,97,116,101])][g([110,111,119])](),i=t[g([101,100,105,116,111,114])],s=new(window[g([80,114,111,109,105,115,101])])(t=>{i[g([111,110,99,101])](g([114,101,97,100,121]),t)}),r={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=i[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[g([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(t=>{let e=0;i[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](e)[g([116,104,101,110])](()=>t)}function u(t){return t[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(t)):null}function l(t){return window[g([97,116,111,98])](t[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[g([108,101,110,103,116,104])];n++){const i=t[g([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[g([105,115,65,114,114,97,121])](e)?e[g([102,111,114,69,97,99,104])](t):e&&typeof e==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](e)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[g([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function h(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function d(){}function g(t){const e=m;return t[e(396)](t=>String[e(417)](t))[e(492)]("")}!function(t){const n=function(){const t=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let n=g([114]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])](t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),t=>t[g([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1751500800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=m,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(449)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](t=>t[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](t=>t[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=o[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(o[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[g([115,111,109,101])](t=>o[g([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===g([42])))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[r(422)](){const t=r;super[t(422)](),this[t(434)]&&(this[t(435)][t(451)](),this[t(434)][t(422)](),this[t(434)][t(534)][t(549)]())}[r(450)](){const t=r,n=this[t(432)],i=n[t(547)][t(429)],o=this[t(504)]();if(!o||0===o[t(480)])return void n.ui[t(443)](t(430),()=>this[t(450)]());const{pageWidth:s,pageHeight:a}=n[t(557)][t(420)](t(438)),{top:c,left:u,bottom:l,right:p}=this[t(535)];this[t(434)]=new e.View(n[t(542)]);const f=this[t(434)];f[t(524)](t(503),""),f[t(437)]({tag:t(522),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(379)+a+t(532)+c+t(532)+l+" )",minWidth:t(382),minHeight:t(382),padding:"0 "+p+t(459)+u,columnGap:t(569),border:0,boxSizing:t(511),columnCount:t(382),columnFill:t(382),overflow:t(499),position:t(498),top:t(525),left:t(525)},tabindex:"-1",class:f[t(514)].to(t(503))}}),f[t(517)](),o[t(551)][t(546)](f[t(534)],o[t(550)]),this[t(442)](i,t(517),()=>this[t(435)](),{priority:t(509)}),this[t(435)]()}[r(504)](){const t=r;for(const e of this[t(432)][t(547)][t(429)][t(410)][t(520)]())if(e[t(386)][t(501)][t(548)](e))return e;return null}[r(572)](){const t=r;if(!this[t(490)])return Promise[t(453)]();const e=this[t(432)][t(547)][t(429)],n=this[t(434)],i=this[t(504)]();if(!i)return Promise[t(453)]();for(n[t(503)]=[t(484),t(471),...i[t(444)]][t(492)](" ");n[t(534)][t(439)];)n[t(534)][t(439)][t(549)]();const o=Array[t(529)](e[t(410)]);o[t(470)](([,e],[,n])=>e[t(554)](n)==Node[t(447)]?1:-1);for(const[e,i]of o){const o=i[t(387)](!0);t(380)in o&&o[t(380)][t(415)](),o[t(477)]="",o[t(562)]("id"),o[t(502)][t(406)]=e,n[t(534)][t(472)](o)}return function(e){const n=t;return Promise[n(555)](e[n(396)](t=>{return Promise[n(528)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(529)](n[t(534)][t(418)](t(513))))[t(521)](()=>this[t(512)]())}[r(512)](){const t=r,e=this[t(434)][t(534)];if(!e[t(386)][t(501)][t(548)](e))return;const n=new o.Rect(e)[t(466)](),i=o.global[t(457)][t(538)](e),s=parseFloat(i[t(518)])+parseFloat(i[t(481)]),a=Math[t(416)](n[t(473)]+100-s),c=g(e,Math[t(416)](n[t(506)]-e[t(445)]),a,n[t(446)])[t(396)](e=>this[t(507)](e));c[t(394)](t=>!!t)&&(this[t(558)]=c)}[r(507)](t){const e=r,n=this[e(432)][e(547)][e(429)],i=this[e(432)][e(547)][e(452)],o=n[e(458)],s=t[e(462)][e(500)](),a=this[e(434)][e(534)][e(483)][s][e(502)][e(406)],c=n[e(544)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(462)]){if(!o)return null;o=o[i(483)][t]}return o}(c,t);if(!u)return null;const l=o[e(391)](u,t[e(571)]||0);return l?e(559)==t[e(568)]?this[e(408)](l,u):e(519)==t[e(568)]&&i[e(411)](l)[e(565)]?this[e(497)](l,u,t[e(571)]):this[e(496)](l,u,t[e(565)]):null}[r(408)](t,e){const n=r,i=this[n(432)][n(556)],o=this[n(432)][n(547)][n(452)][n(384)](t[n(412)]),s=i[n(468)](o);return new u({type:n(559),modelRange:s,domNode:e,offset:0})}[r(497)](t,e,n){const i=r,o=this[i(432)][i(556)],s=this[i(432)][i(547)][i(452)],a=this[i(432)][i(547)][i(429)][i(458)];if(n>=e[i(494)])return null;const c=s[i(411)](t),p=o[i(403)](c),f=s[i(441)](t),h=a[i(463)](f);return new u({type:i(519),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(496)](t,e,n){const i=r,s=this[i(432)][i(556)],a=this[i(432)][i(547)],c=a[i(452)],l=a[i(429)][i(458)],p=c[i(441)](t),h=c[i(384)](p),d=function(t){const e=i,n=t[e(412)],o=n[e(469)][e(436)][e(556)],s=n[e(427)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(461)))return r;if(!o[e(515)](n)[e(476)](t))return r;r=n}}(s[i(515)](h))||h;let g=c[i(488)](d),m=s[i(468)](d);const b=s[i(515)](d)[i(425)];if(b&&b.is(i(534),i(516))){const t=c[i(488)](b),e=l[i(463)](t),n=o.global[i(457)][i(538)](e)[i(426)];i(506)!=n&&i(456)!=n||(m=s[i(468)](b))}for(;g[i(412)]!==g[i(469)]&&0===g[i(388)];)g=g[i(412)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(446)]-n:0,v=l[i(463)](g),I=new o.Rect(v);return new u({type:i(534),modelRange:m,domNode:v,offset:Math[i(541)](k)?k+w[i(414)]-I[i(414)]:0})}get[r(535)](){const t=r,e=this[t(432)][t(557)][t(420)](t(385));return Object[t(433)]({top:t(475),bottom:t(475),left:t(475),right:t(475)},e)}static[r(495)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(568)];[r(409)];[r(486)];[r(530)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(568)]=t,this[o(409)]=e,this[o(486)]=n,this[o(530)]=i}get[r(565)](){const t=r;if(!this[t(486)][t(386)][t(501)][t(548)](this[t(486)]))return 0;const e=new o.Rect(y(this[t(486)])?this[t(486)]:f(this[t(486)]));return t(559)==this[t(568)]?e[t(414)]+e[t(446)]/2:e[t(414)]+this[t(530)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=m,n=o.global[e(436)][e(403)]();return n[e(424)](t),n}(n);let c;c=0==e?d(a[i(493)],a[i(561)],t[i(551)],Array[i(529)](t[i(551)][i(483)])[i(464)](t)):d(a[i(493)],a[i(561)],t,e);const u=d(t,e,a[i(401)],a[i(553)]),l=new o.Rect(c)[i(482)];return(new o.Rect(u)[i(414)]+l)/2-new o.Rect(s)[i(414)]}function p(t){const e=r;return t[e(570)](e(473))&&t[e(570)](e(446))?Promise[e(453)]():new Promise(n=>{const i=e;function o(){const e=m;t[e(564)](e(523),o),t[e(564)](e(560),o),n()}t[i(395)]?n():(t[i(389)](i(523),o),t[i(389)](i(560),o))})}function f(t){const e=r,n=o.global[e(436)][e(403)]();return n[e(479)](t),n}function h(t,e,n){const i=r,s=o.global[i(436)][i(403)]();return s[i(489)](t,e),s[i(465)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(436)][s(403)]();return a[s(489)](t,e),a[s(465)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(483)][s(543)]()){let t=[];y(c)&&c[s(448)]&&!c[s(527)][s(392)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(494)]&&(a[s(399)](...t),e+=t[s(494)]*n,o=!1)}return a}function m(t,e){const n=a();return(m=function(t,e){return n[t-=379]})(t,e)}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(478)])&&y(l)&&Boolean(l[c(444)][c(548)](c(552))||l[c(536)](c(393)))&&(u[c(399)]({type:c(559),offset:0,path:[e-1]}),a=!0),c(460)==o.global[c(457)][c(538)](t)[c(455)]){let i=0,o=!1;for(const e of t[c(404)]())i+=e[c(446)],e[c(506)]>=n&&(o=!0);if(i<s&&o)return u[c(399)]({type:c(534),offset:0,path:[e]}),u}const p=t[c(536)](c(474));if(p&&function(t){const e=c;let n=!1;const i=t[e(540)][e(502)][e(406)],s=t[e(423)],r=t[e(383)],a=s&&o.global[e(457)][e(538)](s)[e(426)],u=s&&e(454)===s[e(477)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(467)!==a&&(n=!0),!n}(p)){const t=o.global[c(457)][c(538)](p)[c(426)];if(c(506)==t||c(456)==t)return u}const f=g(t,n,i,s,a);if(f[c(494)]){for(const t of f)u[c(399)]({type:t[c(568)],offset:t[c(565)],textOffset:t[c(571)],path:[e,...t[c(462)]]}),n+=i,a=!1;return u}return u[c(399)](...function(t,e,n,i,s){const r=c,a=[];if(r(407)==o.global[r(457)][r(538)](t)[r(455)])return[];const u=[];for(const e of t[r(404)]())if(e[r(506)]>=n){for(const t of u)t[r(446)]+=e[r(446)];u[r(399)]({height:e[r(446)]}),n+=i}for(const t of u)s||a[r(399)]({type:r(534),offset:t[r(446)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(404)]())if(r[s(506)]>=n){const r=k(t,u,n,i);o||c[s(399)]({type:s(519),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(494)];for(;a-s>1;){const e=Math[o(531)]((s+a)/2);v(h(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(404)]())if(o[i(506)]>=e&&o[i(506)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(567)]==Node[e(487)]}function I(t){const e=r;return t[e(567)]==Node[e(398)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),T=n.n(E),S=n(667),R=n.n(S),A=n(357),C=n.n(A),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=R(),O.insert=T().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function M(t,e){const n=G();return(M=function(t,e){return n[t-=448]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(476576===-parseInt(e(457))/1*(-parseInt(e(468))/2)+-parseInt(e(456))/3*(parseInt(e(462))/4)+parseInt(e(454))/5+-parseInt(e(450))/6+parseInt(e(451))/7*(parseInt(e(455))/8)+parseInt(e(453))/9*(-parseInt(e(469))/10)+-parseInt(e(460))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const B=(0,o.toUnit)("px");class D extends e.View{constructor(){const t=M;super();const e=this[t(459)];this[t(461)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(452)]({tag:t(465),attributes:{"data-page-number":e.to(t(463)),class:["ck",t(467),e.if(t(448),t(449),t=>!t)],style:{left:e.to(t(458),t=>B(t)),top:e.to(t(464),t=>B(t)),width:e.to(t(466),t=>B(t))}}})}}function G(){const t=["width","ck-pagination-view-line","38KCdNla","1061870lwyMlB","isVisible","ck-hidden","1225908XOieHX","679DwWNpt","setTemplate","36wnetrT","2648335lHjoqG","74280oFdHgF","1599lHzhYR","7826gtIfwU","left","bindTemplate","885973egaaYt","set","2948lavBMZ","pageNumber","top","div"];return(G=function(){return t})()}function K(t,e){const n=j();return(K=function(t,e){return n[t-=143]})(t,e)}const V=K;function j(){const t=["228MmSwUC","6DCmJkl","193919ILwIZi","showLine","159hCpESF","4232fRuZKX","delete","1skWwaQ","cleanLines","isVisible","155246ioftmC","57554hGWuds","330ZYoRHT","7ZsaOca","35145Jjrgrc","_hiddenLines","1318025kLfBYB","setViewCollection","_viewCollection","has","clear","destroy","_visibleLines","338fSCDQH","add","values","body","3406808YyXhDr","view","remove","size","set"];return(j=function(){return t})()}!function(t){const e=K,n=t();for(;;)try{if(222353===parseInt(e(149))/1*(-parseInt(e(153))/2)+-parseInt(e(146))/3*(-parseInt(e(147))/4)+parseInt(e(158))/5*(parseInt(e(143))/6)+parseInt(e(155))/7*(parseInt(e(169))/8)+-parseInt(e(156))/9*(-parseInt(e(154))/10)+-parseInt(e(144))/11*(parseInt(e(174))/12)+-parseInt(e(165))/13*(parseInt(e(152))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[V(160)];[V(164)]=new Set;[V(157)]=new Set;constructor(t){const e=V;this[e(160)]=t.ui[e(170)][e(168)]}[V(163)](){const t=V;for(const e of this[t(157)])e[t(163)]()}[V(150)](){const t=V;for(const e of this[t(164)])e[t(151)]=!1,this[t(157)][t(166)](e);this[t(164)][t(162)]()}[V(145)](t,e,n,i){const s=V;let r;this[s(157)][s(172)]?(r=(0,o.first)(this[s(157)][s(167)]()),this[s(157)][s(148)](r)):r=new D,r[s(173)]({pageNumber:i,left:t,top:e,width:n}),r[s(151)]=!0,this[s(160)][s(161)](r)||this[s(160)][s(166)](r),this[s(164)][s(166)](r)}[V(159)](t){const e=V;for(const t of[...this[e(164)],...this[e(157)]])this[e(160)][e(161)](t)&&this[e(160)][e(171)](t);this[e(160)]=t}}function H(){const t=["update","scrollTop","_scrollableEditingRootDomAncestor","41016NbubsI","scrollToPage","1943200nCATaU","contains","parentElement","smooth","pageNumber","isEnabled","_resizeObserver","addClass","height","scrollLeft","editing","push","domRoots","_toggleEditingRootsClass","getComputedStyle","left","top","134pItfol","pageBreaks","_getAttachedDomRoot","init","once","ownerDocument","cleanLines","11596kVZeEt","PaginationEditing","destroy","333578kKzLVP","isOfficialPlugin","3515920kaaIOs","5130026KeqEYY","roots","width","values","8666OSjEhH","stopListening","removeClass","showLine","bottom","change:pageBreaks","_renderPageBreakLines","PaginationLookup","excludeScrollbarsAndBorders","tagName","linesRepository","9OPilvu","_onUiReady","24kaTJZJ","length","isPremiumPlugin","get","offset","_getPageBreakLineOffset","scrollTo","change","auto","body","_updatePageBreakLines","instant","isMotionReduced","ck-pagination_enabled","scroll","BODY","window","resize","bind","listenTo","plugins","492RMFkCy","pluginName","document","ready","overflowY","change:isEnabled","editor","setupScrollableAncestor","PaginationRenderer","_paginationLookupPlugin","110GqiMRF","view","set"];return(H=function(){return t})()}const U=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=485]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(479638===-parseInt(e(533))/1*(parseInt(e(516))/2)+parseInt(e(567))/3*(parseInt(e(523))/4)+parseInt(e(491))/5*(-parseInt(e(497))/6)+parseInt(e(526))/7+-parseInt(e(528))/8*(parseInt(e(544))/9)+parseInt(e(499))/10+-parseInt(e(529))/11*(-parseInt(e(546))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const Y=U(559);class q extends t.Plugin{[U(543)];[U(496)]=null;[U(505)]=null;[U(490)];static get[U(568)](){return U(489)}static get[U(527)](){return!0}static get[U(548)](){return!0}[U(519)](){const t=U;this[t(493)]({pageNumber:1}),this[t(543)]=new F(this[t(487)]),this[t(496)]=null,this[t(505)]=null,this[t(490)]=this[t(487)][t(566)][t(549)](t(540)),this[t(564)](t(504)).to(this[t(487)][t(566)][t(549)](t(524))),this[t(487)].ui[t(520)](t(570),()=>this[t(545)]()),this[t(512)](Y),this.on(t(486),(e,n,i)=>{const o=t;i||this[o(543)][o(522)](),this[o(512)](Y,i)})}[U(525)](){const t=U;this[t(512)](Y,!1),this[t(543)][t(525)](),this[t(496)]=null,this[t(505)]&&this[t(505)][t(525)]()}[U(498)](t){const e=U;if(!this[e(504)])return;const n=t>1?this[e(551)](t-1):0;this[e(496)][e(552)]({top:n-10,left:this[e(496)][e(508)],behavior:o.env[e(558)]?e(557):e(502)})}[U(488)](){const t=U,e=this[t(487)],n=this[t(518)]();n?(this[t(496)]&&e.ui[t(492)][t(534)](this[t(496)],t(560)),this[t(496)]=function(e){const n=t;let i=e;do{i=i[n(501)];const t=o.global[n(562)][n(513)](i)[n(485)];if(n(554)==t||n(560)==t)break}while(n(561)!=i[n(542)]);return i}(n),e.ui[t(492)][t(565)](this[t(496)],t(560),()=>{this[t(556)]()},{usePassive:!0}),this[t(505)]&&this[t(505)][t(525)](),this[t(505)]=new o.ResizeObserver(this[t(496)],()=>{this[t(556)]()})):e.ui[t(520)](t(494),()=>this[t(488)]())}[U(545)](){const t=U,e=this[t(487)];this[t(518)]()?(this[t(488)](),e.ui[t(492)][t(565)](o.global[t(562)],t(563),()=>this[t(556)]()),this[t(565)](this[t(490)],t(538),()=>this[t(556)]())):e.ui[t(520)](t(494),()=>this[t(545)]())}[U(518)](){const t=U;for(const e of this[t(487)][t(509)][t(492)][t(511)][t(532)]())if(e[t(521)][t(555)][t(500)](e))return e;return null}[U(556)](){const t=U;if(!this[t(504)])return;const e=this[t(518)](),n=this[t(490)][t(517)];if(this[t(543)][t(522)](),!e||1==n[t(547)])return void(this[t(503)]=1);const i=new o.Rect(e)[t(541)](),s=new o.Rect(this[t(496)])[t(541)](),r=s[t(515)]+s[t(507)]/3;let a=!1;const c=[];for(let e=1;e<n[t(547)];e++){const n=this[t(551)](e,s);if(!n)continue;const o=s[t(515)]+n-this[t(496)][t(495)];c[t(510)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(503)]=e,a=!0)}this[t(539)](c),a||(this[t(503)]=n[t(547)])}[U(539)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(562)];if(t[e(547)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(515)]<s&&s<o[e(537)]&&this[e(543)][e(536)](r[e(514)]+n,s+i,r[e(531)],a+1)}[U(551)](t,e=null){const n=U,i=this[n(490)][n(517)][t][n(550)];return i?(e||(e=new o.Rect(this[n(496)])[n(541)]()),i-e[n(515)]+this[n(496)][n(495)]):0}[U(512)](t,e=!0){const n=U,i=this[n(487)][n(509)][n(492)];i[n(553)](o=>{const s=n;for(const n of i[s(569)][s(530)])e?o[s(506)](t,n):o[s(535)](t,n)})}}function Z(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),J={attributes:{"data-cke":!0}};J.setAttributes=R(),J.insert=T().bind(null,"head"),J.domAPI=N(),J.insertStyleElement=C();x()(W.A,J);W.A&&W.A.locals&&W.A.locals;const Q=X;function X(t,e){const n=$();return(X=function(t,e){return n[t-=339]})(t,e)}function $(){const t=["plugins","goToPreviousPage","createContainerElement","add","name","20536bigAHe","5427568iLGEms","stop","Pagination","updateMarker","isOfficialPlugin","schema","data","element","type","addMarker","moveSelectionToPage","addMarker:","paginationLicenseKeyValid","always","paginationLicenseKeyNotAllowed","textNode","mapper","parent","init","licenseKey","pagination","accessibility","paginationLicenseKeyTrialLimit","$text","page-break","expired","paginationLicenseKeyUsageLimit","index","Keystrokes for navigating through documents","bind","focus","Go to the next page (also move selection)","totalPages","addKeystrokeInfoGroup","destroy","Shift+Pagedown","_setUpDataDowncastConversion","has","data-pagination-page","hasClass","pagination:","2750694GNMKHc","editor","change:pageBreaks","Shift+Pageup","dataDowncast","goToNextPage","pageNumber","listenTo","495lFnbdM","getFillerOffset","525442qnPRwA","for","27713079KyrNiR","_setupKeystrokes","locale","_validatePageNumber","page-break-before","span","getNearestSelectionRange","markers","PaginationEditing","consumable","requires","14TirvsS","_updatePageBreakMarkers","createPositionAt","setAttribute","conversion","model","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyDomainLimit","editing","2376816OSsOAH","change","checkChild","Go to the previous page (also move selection)","_showLicenseError","root","manual","set","substring","text","paginationLicenseKeyInvalid","consume","config","paginationLicenseKeyExpired","length","_licenseKeyCheckInterval","start","keystrokes","removeMarker","isPremiumPlugin","toViewPosition","pageBreaks","bindElementToMarker","modelRange","forward","toViewElement","get","trialLimit","end","evaluationLimit","invalid","isEnabled","pluginName","scrollToPage","getContainedElement","view","setStyle","offset","1343757lGZNod","usageLimit","featureNotAllowed","writer","setSelection","nodeAfter","domainLimit","insert","options"];return($=function(){return t})()}!function(t){const e=X,n=t();for(;;)try{if(686857===-parseInt(e(368))/1+parseInt(e(434))/2+-parseInt(e(424))/3+-parseInt(e(382))/4*(parseInt(e(432))/5)+-parseInt(e(456))/6*(-parseInt(e(447))/7)+-parseInt(e(383))/8+parseInt(e(436))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Q(402)];[Q(345)];static get[Q(362)](){return Q(444)}static get[Q(387)](){return!0}static get[Q(349)](){return!0}static get[Q(446)](){return[c,q]}[Q(401)](){const t=Q;this[t(463)]({pageNumber:1,totalPages:1});const e=this[t(425)][t(377)][t(356)](t(385)),n=this[t(425)][t(377)][t(356)](c),i=this[t(425)][t(377)][t(356)](q);this[t(412)](t(361)).to(e),this[t(419)](),this[t(412)](t(430)).to(i),this[t(431)](n,t(426),(e,n,i,o)=>{const s=t;this[s(415)]=i[s(344)],this[s(448)](i,o)}),this[t(437)](),this[t(402)]=this[t(425)][t(342)][t(356)](t(402));const o=this[t(425)];this[t(345)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(395)==s||e(340)==s||e(343)==s||e(454)==s||e(397)==s||e(453)==s||e(405)==s||e(409)==s){delete o[i],n=s,clearInterval(this[e(345)]),this[e(345)]=void 0;break}}e(340)==n&&o[e(460)](e(360)),e(343)==n&&o[e(460)](e(408)),e(454)==n&&o[e(460)](e(374)),e(397)==n&&o[e(460)](e(370),e(385)),e(453)==n&&o[e(460)](e(359)),e(405)==n&&o[e(460)](e(357)),e(409)==n&&o[e(460)](e(369))},1e3)}[Q(417)](){const t=Q;super[t(417)](),this[t(345)]&&clearInterval(this[t(345)])}[Q(363)](t){const e=Q;this[e(361)]&&this[e(425)][e(377)][e(356)](q)[e(363)](this[e(439)](t))}[Q(393)](t){const e=Q;if(!this[e(361)])return;const n=this[e(425)],i=this[e(425)][e(377)][e(356)](c)[e(351)][t-1];i&&n[e(452)][e(457)](t=>{const o=e;switch(i[o(391)]){case o(462):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(358)],o(354));t[o(372)](e);break}case o(390):{const e=n[o(452)][o(388)][o(442)](i[o(353)][o(346)],o(354));t[o(372)](e);break}case o(339):{const e=i[o(353)][o(346)];if(e[o(398)]&&" "===e[o(398)][o(389)][e[o(367)]]){const n=t[o(449)](e[o(400)],e[o(367)]+1);t[o(372)](n)}else t[o(372)](i[o(353)])}}n[o(455)][o(365)][o(413)]()})}[Q(429)](){const t=Q,e=this[t(439)](this[t(430)]+1);this[t(393)](e),this[t(363)](e)}[Q(378)](){const t=Q,e=this[t(439)](this[t(430)]-1);this[t(393)](e),this[t(363)](e)}[Q(448)](t,e){const n=Q,i=this[n(425)][n(452)];this[n(361)]&&i[n(457)](o=>{const s=n;for(let e=1;e<t[s(344)];e++){const n=t[e][s(353)],r=s(423)+(e+1);i[s(443)][s(420)](r)?o[s(386)](r,{range:n}):o[s(392)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(344)];n<e[s(344)];n++){const t=s(423)+(n+1);i[s(443)][s(420)](t)&&o[s(348)](t)}})}[Q(419)](){const t=Q,e=t(403);this[t(425)][t(451)][t(435)](t(428))[t(380)](n=>{const i=t;n.on(i(394)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(376)][s(403)])return;if(!o[s(445)][s(341)](e,t[s(381)]))return;const r=e[s(364)]();let a=r?o[s(399)][s(355)](r):null;if(!a){const t=e[s(346)];if(o[s(388)][s(458)](t,s(406))){const e=o[s(399)][s(350)](t);a=o[s(371)][s(379)](s(441)),a[s(433)]=()=>null,o[s(371)][s(375)](e,a)}else{const e=t[s(373)];a=o[s(399)][s(355)](e)}}for(;a[s(400)]!==a[s(461)]&&0===a[s(410)];)a=a[s(400)];const c=n[s(464)](11);a[s(422)](s(407))||(o[s(371)][s(366)](s(440),s(396),a),o[s(371)][s(450)](s(421),c,a),o[s(399)][s(352)](a,n)),t[s(384)]()})})}[Q(437)](){const t=Q,e=this[t(425)];e[t(347)][t(463)](t(427),(e,n)=>{this[t(378)](),n()}),e[t(347)][t(463)](t(418),(e,n)=>{this[t(429)](),n()}),e[t(404)][t(416)]({id:t(403),label:Z(e[t(438)],t(411)),keystrokes:[{label:Z(e[t(438)],t(459)),keystroke:t(427),mayRequireFn:!0},{label:Z(e[t(438)],t(414)),keystroke:t(418),mayRequireFn:!0}]})}[Q(439)](t){const e=Q;return t<1&&(t=1),t>this[e(415)]&&(t=this[e(415)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=431]})(t,e)}function rt(){const t=["span","28nPBcrP","6712607latyuy","isEnabled","select","set","enter","element","bindTemplate","pageNumber","checkValidity","510672ElJaOS","ariaLabel","change:pageNumber","isReadOnly","isNaN","keydown","keyCode","firstChild","ArrowDown","div","35176ISfYfT","ArrowUp","totalPages","ck-disabled","key","render","value","preventDefault","setTemplate","stopPropagation","Current page number (from 1 to %0)","max","numeric","blur","450KfPREk","934AryviT","4031900peBwxQ","pageNumberView","4828295NxYzKN","focus","ck-page-navigator","40yggqdg","valueAsNumber","navigation","124065nRGaVo","listenTo","fire","bind","2384XEMfQh"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(962213===-parseInt(e(446))/1*(-parseInt(e(459))/2)+-parseInt(e(445))/3*(parseInt(e(431))/4)+parseInt(e(449))/5+-parseInt(e(471))/6*(-parseInt(e(461))/7)+parseInt(e(452))/8*(parseInt(e(455))/9)+parseInt(e(447))/10+-parseInt(e(462))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(448)];constructor(t){const n=ot;super(t);const i=this[n(468)];this[n(465)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(448)]=new e.InputNumberView(t,{min:1,step:1}),this[n(448)][n(465)]({inputMode:n(443),tabIndex:-1}),this[n(448)][n(458)](n(472)).to(this,n(433),e=>Z(t,n(441),e)),this[n(448)][n(458)](n(442)).to(this,n(433)),this[n(448)][n(458)](n(474)).to(this,n(463),t=>!t),this[n(439)]({tag:n(480),attributes:{class:["ck",n(451),i.if(n(463),n(434),t=>!t)]},children:[this[n(448)],{tag:n(460),children:[{text:i.to(n(433))}]}]})}[ot(436)](){const t=ot;super[t(436)]();const e=this[t(448)][t(467)],n=e=>{const n=t;this[n(448)][n(467)][n(437)]=String(e)};n(this[t(469)]),this.on(t(473),(t,e,i)=>{n(i)}),this[t(456)](e,t(476),(n,i)=>{const s=t;if(s(432)===i[s(435)]||s(479)===i[s(435)])return void i[s(440)]();if(i[s(477)]!==o.keyCodes[s(466)])return;i[s(438)]();const r=e[s(453)];Number[s(475)](r)?e[s(437)]=String(this[s(469)]):(e[s(470)]()?this[s(469)]=r:r>this[s(433)]?(this[s(469)]=this[s(433)],e[s(437)]=String(this[s(433)])):(this[s(469)]=1,e[s(437)]="1"),this[s(457)](s(454),this[s(469)]))}),this[t(456)](e,t(444),()=>{const n=t;e[n(437)]=String(this[n(469)])}),this[t(456)](e,t(450),()=>{const e=t;this[e(448)][e(464)]()})}[ot(450)](){const t=ot;this[t(467)][t(478)][t(450)]()}}const ct=lt;function ut(){const t=["2vVFxEo","init","232136MPTkqE","keystroke","previousPage","isOfficialPlugin","3022430dHuYGi","isPremiumPlugin","execute","goToPreviousPage","931634SSpvFt","Go to next page","Shift+PageDown","PaginationUI","bind","Go to previous page","scrollToPage","totalPages","moveSelectionToPage","Shift+PageUp","tooltip","23718591yqwFNP","pageNumber","componentFactory","icon","91YOdjzj","920600HZkbYD","nextPage","label","listenTo","1528902AwpgyP","navigation","goToNextPage","PaginationEditing","add","get","locale","pluginName","607245tufpvQ","plugins","isEnabled","pageNavigation","editor"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=183]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(922712===-parseInt(e(225))/1+-parseInt(e(215))/2*(parseInt(e(210))/3)+parseInt(e(217))/4+parseInt(e(221))/5+parseInt(e(202))/6+-parseInt(e(197))/7*(parseInt(e(198))/8)+parseInt(e(193))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(209)](){return ct(185)}static get[ct(220)](){return!0}static get[ct(222)](){return!0}[ct(216)](){const t=ct,n=this[t(214)],i=n[t(211)][t(207)](t(205));n.ui[t(195)][t(206)](t(213),e=>{const n=t,o=new at(e);return o[n(186)](n(194)).to(i),o[n(186)](n(189)).to(i),o[n(186)](n(212)).to(i),o.on(n(203),(t,e)=>{const o=n;i[o(190)](e),i[o(188)](e)}),o}),n.ui[t(195)][t(206)](t(199),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(183)),r[s(196)]=et.IconArrowDown,r[s(192)]=!0,r[s(218)]=s(184),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(204)]()}),r}),n.ui[t(195)][t(206)](t(219),o=>{const s=t,r=new e.ButtonView(o);return r[s(212)]=!0,r[s(200)]=Z(n[s(208)],s(187)),r[s(196)]=et.IconArrowUp,r[s(192)]=!0,r[s(218)]=s(191),r[s(186)](s(212)).to(i),this[s(201)](r,s(223),()=>{i[s(224)]()}),r})}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=262]})(t,e)}const ht=ft;function dt(){const t=["ready","requires","isBlink","1085180Idafnp","init","isEnabled","72LcuINu","5532530gVnQFF","837186WJvpQW","pluginName","set","browserCheck","Pagination","pageNumber","2935713bwghJl","get","9TQMHmb","editor","30EnUKNR","isPremiumPlugin","totalPages","pagination.enableOnUnsupportedBrowsers","isOfficialPlugin","plugins","114688HFcSlR","28uPTMha","547215ABHRBM","408396diEAtb","forceDisabled","6jIRPTg","scrollToPage","bind","config"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(295101===-parseInt(e(280))/1+-parseInt(e(294))/2+parseInt(e(282))/3*(-parseInt(e(289))/4)+parseInt(e(279))/5*(-parseInt(e(271))/6)+parseInt(e(278))/7*(parseInt(e(277))/8)+-parseInt(e(269))/9*(-parseInt(e(293))/10)+parseInt(e(267))/11*(parseInt(e(292))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(262)](){return ht(265)}static get[ht(275)](){return!0}static get[ht(272)](){return!0}static get[ht(287)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(291)]=!1}[ht(290)](){const t=ht;this[t(263)]({pageNumber:1,totalPages:1});const e=this[t(270)][t(276)][t(268)](tt);this[t(284)](t(266)).to(e),this[t(284)](t(273)).to(e),o.env[t(288)]||this[t(270)][t(285)][t(268)](t(274))?this[t(270)].on(t(286),()=>{this[t(291)]=!0}):this[t(281)](t(264))}[ht(283)](t){const e=ht;this[e(270)][e(276)][e(268)](tt)[e(283)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=448]})(t,e)}function bt(){var t=["562296SYxzrR","613670faaRKZ","215sZgshL","722gwHxDo","63RtnCjK","22yFWwZs","3477BTMhvM","104072QgGLxj","916320hznssS","7752798FynodS","21922812WRRkwg","8UohnxJ"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(620154===-parseInt(e(451))/1+-parseInt(e(458))/2*(-parseInt(e(449))/3)+parseInt(e(450))/4*(parseInt(e(457))/5)+parseInt(e(455))/6*(-parseInt(e(459))/7)+-parseInt(e(454))/8*(parseInt(e(452))/9)+parseInt(e(456))/10*(-parseInt(e(448))/11)+parseInt(e(453))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
|
5
|
+
*/(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>X});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=a;function a(t,e){const n=c();return(a=function(t,e){return n[t-=128]})(t,e)}function c(){const t=["dataset","indexOf","listenTo","locale","rootElement","href","figure.image","createRange","previousSibling","values","302212mZDbTB","findMappedViewAncestor","img","table-cell","top","3348156yaiTwi","pageBreaks","_getAttachedDomRoot","isOfficialPlugin","_mapPageStarterInfoToPageBreakInfo","parent","setTemplate","hasAttribute","className","startContainer","pluginName","getAncestors","style","pagination.pageMargins","parentElement","childNodes","addEventListener","map","100px","mapViewToDom","append","PaginationLookup","element","setStart","hidden","bind","remove","_domNode","endOffset","startOffset","previousElementSibling","destroy","root","table-row","domPositionToView","width","all","div","closest","attributeStyleMap","left","from","_findPageStarterInfos","update","domRoots","isTouching","render","ELEMENT_NODE","init","PaginationEditing","contains","DOCUMENT_POSITION_PRECEDING","fromCharCode","ownerDocument","floor","ready","_onUiReady","setEnd","toViewElement","TEXT_NODE","getComputedStyle","_mapElementPageStarterInfoToPageBreakInfo","_configuredPaddings","3vaFgvw","pagination","display",".page-break","path","getDomRoot","get","_mapTextPageStarterInfoToPageBreakInfo","manual","-99999px","5356128AFKRyk","low","_recalculatePageBreaks","domConverter","offsetParent","calc( ","join","afterInit","float","endContainer","11573280NezBsw","_updatePageBreaksData","createPositionBefore","index","scrollLeft","editor","position","offset","rootName"," 0 ","ck-reset","createRangeOn","class","10mm","3491448fdXsBn","1354696BHBOuS","body","text","querySelectorAll","paddingRight","firstChild","childElementCount","removeAttribute","getClientRects","load","_recalculatePageBreaksDebounced","cloneNode","page-break","sort","6WQraox","plugins","_mapManualPageStarterInfoToPageBreakInfo","assign","textOffset","excludeScrollbarsAndBorders","imageBlock","selectNodeContents","classList","window","race","isPremiumPlugin"," - ","isEnabled","entries","error","type","cancel","nodeType","ck-fake-selection-container","paddingLeft","config","absolute","mapper","then","modelRange","removeEventListener","6417760HAbpZE","push","once","set","compareDocumentPosition","round","auto","every","bindTemplate","pagination-config-not-found","toModelPosition","nextSibling","toModelElement","height","_pagesContainer","length","editing","shift","nodeBefore","complete","border-box","document","ceil","resolve","nextElementSibling","clear","insertBefore","model","ck-pagination-view","view","right","bottom","none","selectNode","change:isEnabled","parentNode","_offset"];return(c=function(){return t})()}!function(t){const e=a,n=t();for(;;)try{if(702230===parseInt(e(281))/1+parseInt(e(193))/2+parseInt(e(158))/3*(parseInt(e(192))/4)+-parseInt(e(234))/5*(-parseInt(e(207))/6)+-parseInt(e(286))/7+-parseInt(e(168))/8+-parseInt(e(178))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(c);class u extends t.Plugin{[r(203)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(170)](),200);[r(248)]=null;static get[r(296)](){return r(307)}static get[r(289)](){return!0}static get[r(218)](){return!0}[r(143)](){const t=r;if(this[t(237)]({pageBreaks:[]}),!this[t(183)][t(228)][t(164)](t(159)))return void(0,o.logWarning)(t(243),this[t(183)][t(228)]);const e=this[t(183)][t(208)][t(164)](t(144));this[t(311)](t(220)).to(e),this[t(183)].ui[t(236)](t(150),()=>this[t(151)]()),this.on(t(268),(e,n,i)=>{i&&this[t(203)]()})}[r(175)](){!async function(t){const e=m([52,50,114,85,65,80,51,49,81,88,73,84,99,78,48,76,120,107,104,118,55,117,71,102,98,70,109,54,111,112,113,87,101,86,79,103,74,105,72,82,97,106,119,121,77,83,115,89,75,122,108,110,68,69,67,53,66,57,90,116,100,56]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)}),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function 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(303)](t=>String[e(147)](t))[e(174)]("")}!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([114]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1751673600;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(276)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(317)](){const t=r;super[t(317)](),this[t(248)]&&(this[t(203)][t(224)](),this[t(248)][t(317)](),this[t(248)][t(308)][t(312)]())}[r(151)](){const t=r,n=this[t(183)],i=n[t(250)][t(263)],o=this[t(288)]();if(!o||0===o[t(199)])return void n.ui[t(236)](t(138),()=>this[t(151)]());const{pageWidth:s,pageHeight:a}=n[t(228)][t(164)](t(159)),{top:c,left:u,bottom:l,right:p}=this[t(157)];this[t(248)]=new e.View(n[t(274)]);const f=this[t(248)];f[t(237)](t(190),""),f[t(292)]({tag:t(132),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(173)+a+t(219)+c+t(219)+l+" )",minWidth:t(240),minHeight:t(240),padding:"0 "+p+t(187)+u,columnGap:t(304),border:0,boxSizing:t(254),columnCount:t(240),columnFill:t(240),overflow:t(310),position:t(229),top:t(167),left:t(167)},tabindex:"-1",class:f[t(242)].to(t(190))}}),f[t(141)](),o[t(269)][t(260)](f[t(308)],o[t(245)]),this[t(273)](i,t(141),()=>this[t(203)](),{priority:t(169)}),this[t(203)]()}[r(288)](){const t=r;for(const e of this[t(183)][t(250)][t(263)][t(139)][t(280)]())if(e[t(148)][t(194)][t(145)](e))return e;return null}[r(170)](){const t=r;if(!this[t(220)])return Promise[t(257)]();const e=this[t(183)][t(250)][t(263)],n=this[t(248)],i=this[t(288)]();if(!i)return Promise[t(257)]();for(n[t(190)]=[t(188),t(262),...i[t(215)]][t(174)](" ");n[t(308)][t(198)];)n[t(308)][t(198)][t(312)]();const o=Array[t(136)](e[t(139)]);o[t(206)](([,e],[,n])=>e[t(238)](n)==Node[t(146)]?1:-1);for(const[e,i]of o){const o=i[t(204)](!0);t(134)in o&&o[t(134)][t(259)](),o[t(294)]="",o[t(200)]("id"),o[t(271)][t(186)]=e,n[t(308)][t(306)](o)}return function(e){const n=t;return Promise[n(131)](e[n(303)](t=>{return Promise[n(217)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(136)](n[t(308)][t(196)](t(283))))[t(231)](()=>this[t(179)]())}[r(179)](){const t=r,e=this[t(248)][t(308)];if(!e[t(148)][t(194)][t(145)](e))return;const n=new o.Rect(e)[t(212)](),i=o.global[t(216)][t(155)](e),s=parseFloat(i[t(227)])+parseFloat(i[t(197)]),a=Math[t(149)](n[t(130)]+100-s),c=m(e,Math[t(149)](n[t(135)]-e[t(182)]),a,n[t(247)])[t(303)](e=>this[t(290)](e));c[t(241)](t=>!!t)&&(this[t(287)]=c)}[r(290)](t){const e=r,n=this[e(183)][e(250)][e(263)],i=this[e(183)][e(250)][e(230)],o=n[e(171)],s=t[e(162)][e(251)](),a=this[e(248)][e(308)][e(301)][s][e(271)][e(186)],c=n[e(163)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(162)]){if(!o)return null;o=o[i(301)][t]}return o}(c,t);if(!u)return null;const l=o[e(129)](u,t[e(211)]||0);return l?e(166)==t[e(223)]?this[e(209)](l,u):e(195)==t[e(223)]&&i[e(244)](l)[e(185)]?this[e(165)](l,u,t[e(211)]):this[e(156)](l,u,t[e(185)]):null}[r(209)](t,e){const n=r,i=this[n(183)][n(261)],o=this[n(183)][n(250)][n(230)][n(246)](t[n(291)]),s=i[n(189)](o);return new l({type:n(166),modelRange:s,domNode:e,offset:0})}[r(165)](t,e,n){const i=r,o=this[i(183)][i(261)],s=this[i(183)][i(250)][i(230)],a=this[i(183)][i(250)][i(263)][i(171)];if(n>=e[i(249)])return null;const c=s[i(244)](t),u=o[i(278)](c),f=s[i(282)](t),h=a[i(305)](f);return new l({type:i(195),modelRange:u,domNode:e,offset:p(e,n,h)})}[r(156)](t,e,n){const i=r,s=this[i(183)][i(261)],a=this[i(183)][i(250)],c=a[i(230)],u=a[i(263)][i(171)],p=c[i(282)](t),f=c[i(246)](p),d=function(t){const e=i,n=t[e(291)],o=n[e(318)][e(255)][e(261)],s=n[e(297)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(275)))return r;if(!o[e(180)](n)[e(140)](t))return r;r=n}}(s[i(180)](f))||f;let g=c[i(153)](d),m=s[i(189)](d);const b=s[i(180)](d)[i(252)];if(b&&b.is(i(308),i(213))){const t=c[i(153)](b),e=u[i(305)](t),n=o.global[i(216)][i(155)](e)[i(176)];i(135)!=n&&i(264)!=n||(m=s[i(189)](b))}for(;g[i(291)]!==g[i(318)]&&0===g[i(181)];)g=g[i(291)];const v=new o.Rect(y(e)?e:h(e)),w=n?v[i(247)]-n:0,k=u[i(305)](g),I=new o.Rect(k);return new l({type:i(308),modelRange:m,domNode:k,offset:Math[i(239)](w)?w+v[i(285)]-I[i(285)]:0})}get[r(157)](){const t=r,e=this[t(183)][t(228)][t(164)](t(299));return Object[t(210)]({top:t(191),bottom:t(191),left:t(191),right:t(191)},e)}static[r(137)](t,e,n,i,o){return m(t,e,n,i,o)}}class l{[r(223)];[r(232)];[r(313)];[r(270)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(223)]=t,this[o(232)]=e,this[o(313)]=n,this[o(270)]=i}get[r(185)](){const t=r;if(!this[t(313)][t(148)][t(194)][t(145)](this[t(313)]))return 0;const e=new o.Rect(y(this[t(313)])?this[t(313)]:h(this[t(313)]));return t(166)==this[t(223)]?e[t(285)]+e[t(247)]/2:e[t(285)]+this[t(270)]}}function p(t,e,n){const i=r,s=h(t),c=function(t){const e=a,n=o.global[e(255)][e(278)]();return n[e(214)](t),n}(n);let u;u=0==e?g(c[i(295)],c[i(315)],t[i(269)],Array[i(136)](t[i(269)][i(301)])[i(272)](t)):g(c[i(295)],c[i(315)],t,e);const l=g(t,e,c[i(177)],c[i(314)]),p=new o.Rect(u)[i(265)];return(new o.Rect(l)[i(285)]+p)/2-new o.Rect(s)[i(285)]}function f(t){const e=r;return t[e(293)](e(130))&&t[e(293)](e(247))?Promise[e(257)]():new Promise(n=>{const i=e;function o(){const e=a;t[e(233)](e(202),o),t[e(233)](e(222),o),n()}t[i(253)]?n():(t[i(302)](i(202),o),t[i(302)](i(222),o))})}function h(t){const e=r,n=o.global[e(255)][e(278)]();return n[e(267)](t),n}function d(t,e,n){const i=r,s=o.global[i(255)][i(278)]();return s[i(309)](t,e),s[i(152)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(255)][s(278)]();return a[s(309)](t,e),a[s(152)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(301)][s(221)]()){let t=[];y(c)&&c[s(172)]&&!c[s(298)][s(184)]?t=b(c,r,e,n,i,o):I(c)&&(t=v(c,r,e,n,o)),t[s(249)]&&(a[s(235)](...t),e+=t[s(249)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(279)])&&y(l)&&Boolean(l[c(215)][c(145)](c(205))||l[c(133)](c(161)))&&(u[c(235)]({type:c(166),offset:0,path:[e-1]}),a=!0),c(128)==o.global[c(216)][c(155)](t)[c(160)]){let i=0,o=!1;for(const e of t[c(201)]())i+=e[c(247)],e[c(135)]>=n&&(o=!0);if(i<s&&o)return u[c(235)]({type:c(308),offset:0,path:[e]}),u}const p=t[c(133)](c(277));if(p&&function(t){const e=c;let n=!1;const i=t[e(300)][e(271)][e(186)],s=t[e(258)],r=t[e(316)],a=s&&o.global[e(216)][e(155)](s)[e(176)],u=s&&e(226)===s[e(294)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(266)!==a&&(n=!0),!n}(p)){const t=o.global[c(216)][c(155)](p)[c(176)];if(c(135)==t||c(264)==t)return u}const f=m(t,n,i,s,a);if(f[c(249)]){for(const t of f)u[c(235)]({type:t[c(223)],offset:t[c(185)],textOffset:t[c(211)],path:[e,...t[c(162)]]}),n+=i,a=!1;return u}return u[c(235)](...function(t,e,n,i,s){const r=c,a=[];if(r(284)==o.global[r(216)][r(155)](t)[r(160)])return[];const u=[];for(const e of t[r(201)]())if(e[r(135)]>=n){for(const t of u)t[r(247)]+=e[r(247)];u[r(235)]({height:e[r(247)]}),n+=i}for(const t of u)s||a[r(235)]({type:r(308),offset:t[r(247)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function v(t,e,n,i,o){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(201)]())if(r[s(135)]>=n){const r=w(t,u,n,i);o||c[s(235)]({type:s(195),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=r;let s=e,a=t[o(249)];for(;a-s>1;){const e=Math[o(256)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(201)]())if(o[i(135)]>=e&&o[i(135)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(225)]==Node[e(142)]}function I(t){const e=r;return t[e(225)]==Node[e(154)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),E=n.n(T),A=n(667),S=n.n(A),C=n(357),R=n.n(C),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=S(),L.insert=E().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=R();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function B(t,e){const n=V();return(B=function(t,e){return n[t-=376]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(485982===-parseInt(e(381))/1*(parseInt(e(385))/2)+-parseInt(e(378))/3+-parseInt(e(388))/4+parseInt(e(382))/5+parseInt(e(379))/6*(-parseInt(e(395))/7)+-parseInt(e(391))/8*(parseInt(e(383))/9)+-parseInt(e(377))/10*(-parseInt(e(393))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);const D=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=B;super();const e=this[t(384)];this[t(396)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(387)]({tag:t(380),attributes:{"data-page-number":e.to(t(394)),class:["ck",t(392),e.if(t(386),t(389),t=>!t)],style:{left:e.to(t(397),t=>D(t)),top:e.to(t(376),t=>D(t)),width:e.to(t(390),t=>D(t))}}})}}function V(){const t=["setTemplate","31728qtkOcC","ck-hidden","width","8ILGlTd","ck-pagination-view-line","2335971DFnPYo","pageNumber","385AbeKlt","set","left","top","70YVJhHp","602772jRCCTt","14646kJAnXG","div","77cVhbAx","584695VvYngG","2851551JgEHLt","bindTemplate","11884KmVKvY","isVisible"];return(V=function(){return t})()}function G(t,e){const n=j();return(G=function(t,e){return n[t-=238]})(t,e)}const K=G;function j(){const t=["setViewCollection","8498jZTSPM","78zNRjIU","1337940JpgHXN","2364327UtdpWm","delete","isVisible","_visibleLines","destroy","showLine","cleanLines","has","_hiddenLines","1999239jIdsyT","1832080tSzwBD","3846KfGWPp","size","27905UTiMDZ","remove","values","8OHEvrl","add","body","clear","_viewCollection","2406625REKGYx","set","view"];return(j=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(582627===-parseInt(e(261))/1*(parseInt(e(246))/2)+parseInt(e(257))/3+-parseInt(e(247))/4+parseInt(e(241))/5+parseInt(e(259))/6*(parseInt(e(245))/7)+-parseInt(e(264))/8*(-parseInt(e(248))/9)+-parseInt(e(258))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class W{[K(240)];[K(251)]=new Set;[K(256)]=new Set;constructor(t){const e=K;this[e(240)]=t.ui[e(243)][e(238)]}[K(252)](){const t=K;for(const e of this[t(256)])e[t(252)]()}[K(254)](){const t=K;for(const e of this[t(251)])e[t(250)]=!1,this[t(256)][t(265)](e);this[t(251)][t(239)]()}[K(253)](t,e,n,i){const s=K;let r;this[s(256)][s(260)]?(r=(0,o.first)(this[s(256)][s(263)]()),this[s(256)][s(249)](r)):r=new M,r[s(242)]({pageNumber:i,left:t,top:e,width:n}),r[s(250)]=!0,this[s(240)][s(255)](r)||this[s(240)][s(265)](r),this[s(251)][s(265)](r)}[K(244)](t){const e=K;for(const t of[...this[e(251)],...this[e(256)]])this[e(240)][e(255)](t)&&this[e(240)][e(262)](t);this[e(240)]=t}}const U=F;function F(t,e){const n=z();return(F=function(t,e){return n[t-=214]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(518482===parseInt(e(292))/1*(-parseInt(e(238))/2)+-parseInt(e(239))/3*(-parseInt(e(223))/4)+-parseInt(e(224))/5+-parseInt(e(258))/6*(parseInt(e(291))/7)+-parseInt(e(285))/8+-parseInt(e(296))/9*(parseInt(e(274))/10)+parseInt(e(241))/11*(parseInt(e(235))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);const H=U(220);function z(){const t=["removeClass","PaginationRenderer","destroy","length","ck-pagination_enabled","init","scrollToPage","40CHSxcV","2886000hQxaoD","addClass","view","editor","excludeScrollbarsAndBorders","_paginationLookupPlugin","_onUiReady","resize","pageNumber","PaginationEditing","scrollTop","60yvcMbp","BODY","height","22426tVUglN","15591XsyJJI","plugins","4560094cAhsLj","bottom","setupScrollableAncestor","auto","linesRepository","values","smooth","ready","parentElement","document","window","change:isEnabled","cleanLines","contains","isPremiumPlugin","_getAttachedDomRoot","offset","4312866SCUEHT","pageBreaks","domRoots","_renderPageBreakLines","ownerDocument","isEnabled","left","editing","get","showLine","listenTo","stopListening","isOfficialPlugin","roots","overflowY","instant","10CwnCno","scrollTo","_resizeObserver","width","scroll","scrollLeft","_scrollableEditingRootDomAncestor","tagName","PaginationLookup","_updatePageBreakLines","getComputedStyle","1530904IGjFqm","body","change","pluginName","_toggleEditingRootsClass","once","7HBTcPS","7UWzhCG","set","bind","_getPageBreakLineOffset","363537AWtxrz","change:pageBreaks","isMotionReduced","push","top","update"];return(z=function(){return t})()}class X extends t.Plugin{[U(245)];[U(280)]=null;[U(276)]=null;[U(229)];static get[U(288)](){return U(217)}static get[U(270)](){return!0}static get[U(255)](){return!0}[U(221)](){const t=U;this[t(293)]({pageNumber:1}),this[t(245)]=new W(this[t(227)]),this[t(280)]=null,this[t(276)]=null,this[t(229)]=this[t(227)][t(240)][t(266)](t(282)),this[t(294)](t(263)).to(this[t(227)][t(240)][t(266)](t(233))),this[t(227)].ui[t(290)](t(248),()=>this[t(230)]()),this[t(289)](H),this.on(t(252),(e,n,i)=>{const o=t;i||this[o(245)][o(253)](),this[o(289)](H,i)})}[U(218)](){const t=U;this[t(289)](H,!1),this[t(245)][t(218)](),this[t(280)]=null,this[t(276)]&&this[t(276)][t(218)]()}[U(222)](t){const e=U;if(!this[e(263)])return;const n=t>1?this[e(295)](t-1):0;this[e(280)][e(275)]({top:n-10,left:this[e(280)][e(279)],behavior:o.env[e(298)]?e(273):e(247)})}[U(243)](){const t=U,e=this[t(227)],n=this[t(256)]();n?(this[t(280)]&&e.ui[t(226)][t(269)](this[t(280)],t(278)),this[t(280)]=function(e){const n=t;let i=e;do{i=i[n(249)];const t=o.global[n(251)][n(284)](i)[n(272)];if(n(244)==t||n(278)==t)break}while(n(236)!=i[n(281)]);return i}(n),e.ui[t(226)][t(268)](this[t(280)],t(278),()=>{this[t(283)]()},{usePassive:!0}),this[t(276)]&&this[t(276)][t(218)](),this[t(276)]=new o.ResizeObserver(this[t(280)],()=>{this[t(283)]()})):e.ui[t(290)](t(215),()=>this[t(243)]())}[U(230)](){const t=U,e=this[t(227)];this[t(256)]()?(this[t(243)](),e.ui[t(226)][t(268)](o.global[t(251)],t(231),()=>this[t(283)]()),this[t(268)](this[t(229)],t(297),()=>this[t(283)]())):e.ui[t(290)](t(215),()=>this[t(230)]())}[U(256)](){const t=U;for(const e of this[t(227)][t(265)][t(226)][t(260)][t(246)]())if(e[t(262)][t(286)][t(254)](e))return e;return null}[U(283)](){const t=U;if(!this[t(263)])return;const e=this[t(256)](),n=this[t(229)][t(259)];if(this[t(245)][t(253)](),!e||1==n[t(219)])return void(this[t(232)]=1);const i=new o.Rect(e)[t(228)](),s=new o.Rect(this[t(280)])[t(228)](),r=s[t(214)]+s[t(237)]/3;let a=!1;const c=[];for(let e=1;e<n[t(219)];e++){const n=this[t(295)](e,s);if(!n)continue;const o=s[t(214)]+n-this[t(280)][t(234)];c[t(299)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(232)]=e,a=!0)}this[t(261)](c),a||(this[t(232)]=n[t(219)])}[U(261)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(251)];if(t[e(219)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(214)]<s&&s<o[e(242)]&&this[e(245)][e(267)](r[e(264)]+n,s+i,r[e(277)],a+1)}[U(295)](t,e=null){const n=U,i=this[n(229)][n(259)][t][n(257)];return i?(e||(e=new o.Rect(this[n(280)])[n(228)]()),i-e[n(214)]+this[n(280)][n(234)]):0}[U(289)](t,e=!0){const n=U,i=this[n(227)][n(265)][n(226)];i[n(287)](o=>{const s=n;for(const n of i[s(250)][s(271)])e?o[s(225)](t,n):o[s(216)](t,n)})}}function q(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var J=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=S(),Y.insert=E().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=R();x()(J.A,Y);J.A&&J.A.locals&&J.A.locals;const Q=$;function Z(){const t=["parent","focus","data-pagination-page","8xaVFfs","editor","length","1285494QxvYCp","createContainerElement","_setupKeystrokes","markers","page-break-before","2396892jCMTPW","insert","usageLimit","toViewElement","_showLicenseError","textNode","pageNumber","config","11419119aBJHuZ","Go to the previous page (also move selection)","end","pagination:","$text","forward","pagination","moveSelectionToPage","goToNextPage","PaginationEditing","trialLimit","editing","consume","init","offset","pluginName","getNearestSelectionRange","getFillerOffset","goToPreviousPage","paginationLicenseKeyTrialLimit","plugins","paginationLicenseKeyExpired","span","listenTo","Keystrokes for navigating through documents","add","setAttribute","checkChild","set","index","featureNotAllowed","paginationLicenseKeyInvalid","text","get","Shift+Pageup","_validatePageNumber","_updatePageBreakMarkers","manual","updateMarker","setSelection","scrollToPage","invalid","pageBreaks","expired","view","keystrokes","createPositionAt","model","7022094Zwiees","hasClass","bindElementToMarker","schema","toViewPosition","paginationLicenseKeyUsageLimit","root","isOfficialPlugin","domainLimit","_licenseKeyCheckInterval","Shift+Pagedown","Go to the next page (also move selection)","paginationLicenseKeyValid","for","start","destroy","name","Pagination","isEnabled","4517775XUGcoH","change","paginationLicenseKeyNotAllowed","type","dataDowncast","writer","substring","bind","data","accessibility","licenseKey","paginationLicenseKeyDomainLimit","evaluationLimit","_setUpDataDowncastConversion","setStyle","conversion","change:pageBreaks","mapper","isPremiumPlugin","page-break","1285682CBQevM","addKeystrokeInfoGroup","809150wPIitN","consumable","options","modelRange","nodeAfter","addMarker:","5DQaSQC","addMarker","locale","requires","has","element","always","stop","removeMarker","totalPages","getContainedElement","paginationLicenseKeyEvaluationLimit"];return(Z=function(){return t})()}function $(t,e){const n=Z();return($=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(935241===-parseInt(e(326))/1+-parseInt(e(324))/2+parseInt(e(430))/3+parseInt(e(355))/4+parseInt(e(332))/5*(-parseInt(e(411))/6)+-parseInt(e(350))/7*(-parseInt(e(347))/8)+parseInt(e(363))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[Q(314)];[Q(420)];static get[Q(378)](){return Q(372)}static get[Q(418)](){return!0}static get[Q(322)](){return!0}static get[Q(335)](){return[u,X]}[Q(376)](){const t=Q;this[t(391)]({pageNumber:1,totalPages:1});const e=this[t(348)][t(383)][t(396)](t(428)),n=this[t(348)][t(383)][t(396)](u),i=this[t(348)][t(383)][t(396)](X);this[t(311)](t(429)).to(e),this[t(317)](),this[t(311)](t(361)).to(i),this[t(386)](n,t(320),(e,n,i,o)=>{const s=t;this[s(341)]=i[s(349)],this[s(399)](i,o)}),this[t(352)](),this[t(314)]=this[t(348)][t(362)][t(396)](t(314));const o=this[t(348)];this[t(420)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(423)==s||e(394)==s||e(384)==s||e(315)==s||e(432)==s||e(343)==s||e(382)==s||e(416)==s){delete o[i],n=s,clearInterval(this[e(420)]),this[e(420)]=void 0;break}}e(394)==n&&o[e(359)](e(404)),e(384)==n&&o[e(359)](e(406)),e(315)==n&&o[e(359)](e(419)),e(432)==n&&o[e(359)](e(393),e(428)),e(343)==n&&o[e(359)](e(316)),e(382)==n&&o[e(359)](e(373)),e(416)==n&&o[e(359)](e(357))},1e3)}[Q(426)](){const t=Q;super[t(426)](),this[t(420)]&&clearInterval(this[t(420)])}[Q(403)](t){const e=Q;this[e(429)]&&this[e(348)][e(383)][e(396)](X)[e(403)](this[e(398)](t))}[Q(370)](t){const e=Q;if(!this[e(429)])return;const n=this[e(348)],i=this[e(348)][e(383)][e(396)](u)[e(405)][t-1];i&&n[e(410)][e(431)](t=>{const o=e;switch(i[o(433)]){case o(400):{const e=n[o(410)][o(414)][o(379)](i[o(329)][o(365)],o(368));t[o(402)](e);break}case o(337):{const e=n[o(410)][o(414)][o(379)](i[o(329)][o(425)],o(368));t[o(402)](e);break}case o(395):{const e=i[o(329)][o(425)];if(e[o(360)]&&" "===e[o(360)][o(312)][e[o(377)]]){const n=t[o(409)](e[o(344)],e[o(377)]+1);t[o(402)](n)}else t[o(402)](i[o(329)])}}n[o(374)][o(407)][o(345)]()})}[Q(371)](){const t=Q,e=this[t(398)](this[t(361)]+1);this[t(370)](e),this[t(403)](e)}[Q(381)](){const t=Q,e=this[t(398)](this[t(361)]-1);this[t(370)](e),this[t(403)](e)}[Q(399)](t,e){const n=Q,i=this[n(348)][n(410)];this[n(429)]&&i[n(431)](o=>{const s=n;for(let e=1;e<t[s(349)];e++){const n=t[e][s(329)],r=s(366)+(e+1);i[s(353)][s(336)](r)?o[s(401)](r,{range:n}):o[s(333)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(349)];n<e[s(349)];n++){const t=s(366)+(n+1);i[s(353)][s(336)](t)&&o[s(340)](t)}})}[Q(317)](){const t=Q,e=t(369);this[t(348)][t(319)][t(424)](t(434))[t(388)](n=>{const i=t;n.on(i(331)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(328)][s(369)])return;if(!o[s(327)][s(375)](e,t[s(427)]))return;const r=e[s(342)]();let a=r?o[s(321)][s(358)](r):null;if(!a){const t=e[s(425)];if(o[s(414)][s(390)](t,s(367))){const e=o[s(321)][s(415)](t);a=o[s(435)][s(351)](s(385)),a[s(380)]=()=>null,o[s(435)][s(356)](e,a)}else{const e=t[s(330)];a=o[s(321)][s(358)](e)}}for(;a[s(344)]!==a[s(417)]&&0===a[s(392)];)a=a[s(344)];const c=n[s(436)](11);a[s(412)](s(323))||(o[s(435)][s(318)](s(354),s(338),a),o[s(435)][s(389)](s(346),c,a),o[s(321)][s(413)](a,n)),t[s(339)]()})})}[Q(352)](){const t=Q,e=this[t(348)];e[t(408)][t(391)](t(397),(e,n)=>{this[t(381)](),n()}),e[t(408)][t(391)](t(421),(e,n)=>{this[t(371)](),n()}),e[t(313)][t(325)]({id:t(369),label:q(e[t(334)],t(387)),keystrokes:[{label:q(e[t(334)],t(364)),keystroke:t(397),mayRequireFn:!0},{label:q(e[t(334)],t(422)),keystroke:t(421),mayRequireFn:!0}]})}[Q(398)](t){const e=Q;return t<1&&(t=1),t>this[e(341)]&&(t=this[e(341)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=E().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=R();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=450]})(t,e)}function rt(){const t=["preventDefault","firstChild","isEnabled","8528gtRaPO","5297292zEYSkA","element","7353WMkDKK","totalPages","key","ArrowDown","value","Current page number (from 1 to %0)","stopPropagation","set","ArrowUp","pageNumber","div","pageNumberView","focus","bind","navigation","enter","keydown","setTemplate","1fNWedP","checkValidity","318110mXXjCT","bindTemplate","select","listenTo","ariaLabel","numeric","ck-disabled","change:pageNumber","44conlEo","11629255xbsluy","9783320wOapJl","fire","keyCode","isNaN","350325POydxI","blur","render","160DTVarV","valueAsNumber","isReadOnly","span","ck-page-navigator","267636KVfvWU","max"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(792243===-parseInt(e(487))/1*(parseInt(e(489))/2)+parseInt(e(453))/3*(-parseInt(e(497))/4)+-parseInt(e(456))/5*(parseInt(e(461))/6)+parseInt(e(467))/7+-parseInt(e(466))/8*(-parseInt(e(469))/9)+parseInt(e(499))/10+parseInt(e(498))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(480)];constructor(t){const n=ot;super(t);const i=this[n(490)];this[n(476)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(480)]=new e.InputNumberView(t,{min:1,step:1}),this[n(480)][n(476)]({inputMode:n(494),tabIndex:-1}),this[n(480)][n(482)](n(493)).to(this,n(470),e=>q(t,n(474),e)),this[n(480)][n(482)](n(462)).to(this,n(470)),this[n(480)][n(482)](n(458)).to(this,n(465),t=>!t),this[n(486)]({tag:n(479),attributes:{class:["ck",n(460),i.if(n(465),n(495),t=>!t)]},children:[this[n(480)],{tag:n(459),children:[{text:i.to(n(470))}]}]})}[ot(455)](){const t=ot;super[t(455)]();const e=this[t(480)][t(468)],n=e=>{const n=t;this[n(480)][n(468)][n(473)]=String(e)};n(this[t(478)]),this.on(t(496),(t,e,i)=>{n(i)}),this[t(492)](e,t(485),(n,i)=>{const s=t;if(s(477)===i[s(471)]||s(472)===i[s(471)])return void i[s(475)]();if(i[s(451)]!==o.keyCodes[s(484)])return;i[s(463)]();const r=e[s(457)];Number[s(452)](r)?e[s(473)]=String(this[s(478)]):(e[s(488)]()?this[s(478)]=r:r>this[s(470)]?(this[s(478)]=this[s(470)],e[s(473)]=String(this[s(470)])):(this[s(478)]=1,e[s(473)]="1"),this[s(450)](s(483),this[s(478)]))}),this[t(492)](e,t(454),()=>{const n=t;e[n(473)]=String(this[n(478)])}),this[t(492)](e,t(481),()=>{const e=t;this[e(480)][e(491)]()})}[ot(481)](){const t=ot;this[t(468)][t(464)][t(481)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=470]})(t,e)}function lt(){const t=["263979rqXjTT","previousPage","PaginationUI","label","isEnabled","1182726VYfYcf","init","pluginName","add","135hXOsOp","totalPages","navigation","editor","listenTo","108224BXsJRd","icon","pageNavigation","execute","PaginationEditing","goToPreviousPage","bind","4359843qOlrlW","Shift+PageUp","isOfficialPlugin","Shift+PageDown","4xyhkaL","goToNextPage","pageNumber","get","1251509VOWWzF","moveSelectionToPage","Go to previous page","tooltip","componentFactory","nextPage","25244ItpDfS","plugins","isPremiumPlugin","scrollToPage","keystroke","10874ufwEpL","Go to next page","locale"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(141651===parseInt(e(487))/1*(-parseInt(e(502))/2)+parseInt(e(505))/3+parseInt(e(497))/4*(parseInt(e(471))/5)+parseInt(e(510))/6+parseInt(e(491))/7+parseInt(e(476))/8+-parseInt(e(483))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(512)](){return ct(507)}static get[ct(485)](){return!0}static get[ct(499)](){return!0}[ct(511)](){const t=ct,n=this[t(474)],i=n[t(498)][t(490)](t(480));n.ui[t(495)][t(470)](t(478),e=>{const n=t,o=new at(e);return o[n(482)](n(489)).to(i),o[n(482)](n(472)).to(i),o[n(482)](n(509)).to(i),o.on(n(473),(t,e)=>{const o=n;i[o(492)](e),i[o(500)](e)}),o}),n.ui[t(495)][t(470)](t(496),o=>{const s=t,r=new e.ButtonView(o);return r[s(509)]=!0,r[s(508)]=q(n[s(504)],s(503)),r[s(477)]=et.IconArrowDown,r[s(494)]=!0,r[s(501)]=s(486),r[s(482)](s(509)).to(i),this[s(475)](r,s(479),()=>{i[s(488)]()}),r}),n.ui[t(495)][t(470)](t(506),o=>{const s=t,r=new e.ButtonView(o);return r[s(509)]=!0,r[s(508)]=q(n[s(504)],s(493)),r[s(477)]=et.IconArrowUp,r[s(494)]=!0,r[s(501)]=s(484),r[s(482)](s(509)).to(i),this[s(475)](r,s(479),()=>{i[s(481)]()}),r})}}function ft(){const t=["isBlink","1086729cmqHst","init","isEnabled","3758510tXfEJQ","forceDisabled","114685EHspbQ","pluginName","plugins","32115xWqADt","isPremiumPlugin","pageNumber","333544eHImFn","totalPages","set","isOfficialPlugin","scrollToPage","get","66rIsxxW","649232BpPwal","bind","ready","requires","Pagination","704976cWkcNX","36MnyecB","browserCheck","64HixIxE","pagination.enableOnUnsupportedBrowsers","config","editor"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(193011===parseInt(e(388))/1+parseInt(e(403))/2*(parseInt(e(385))/3)+-parseInt(e(395))/4+parseInt(e(382))/5*(parseInt(e(394))/6)+parseInt(e(408))/7+-parseInt(e(400))/8*(parseInt(e(401))/9)+-parseInt(e(380))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(383)](){return ht(399)}static get[ht(391)](){return!0}static get[ht(386)](){return!0}static get[ht(398)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(410)]=!1}[ht(409)](){const t=ht;this[t(390)]({pageNumber:1,totalPages:1});const e=this[t(406)][t(384)][t(393)](tt);this[t(396)](t(387)).to(e),this[t(396)](t(389)).to(e),o.env[t(407)]||this[t(406)][t(405)][t(393)](t(404))?this[t(406)].on(t(397),()=>{this[t(410)]=!0}):this[t(381)](t(402))}[ht(392)](t){const e=ht;this[e(406)][e(384)][e(393)](tt)[e(392)](t)}}function mt(){var t=["1010453uWCNQb","8312WzVmmI","4587366uSPzcV","3183560yngjhW","6957DvUvLr","2NfFdhE","5422445WgCAjO","5vAAuXd","1724874Tjqapj","36443GhOxcl","1870JNQyFP"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=130]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(595831===parseInt(e(139))/1*(parseInt(e(133))/2)+parseInt(e(136))/3+-parseInt(e(131))/4+parseInt(e(135))/5*(parseInt(e(130))/6)+-parseInt(e(134))/7+-parseInt(e(140))/8*(parseInt(e(132))/9)+parseInt(e(138))/10*(parseInt(e(137))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x23625b}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xa13169,InputNumberView as _0x3c75d4,ButtonView as _0x250e2f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x3ac6c9,Rect as _0x350105,global as _0x115b23,uid as _0x60ff53,toUnit as _0x423911,first as _0x13c440,env as _0x1969bf,ResizeObserver as _0x591e44,keyCodes as _0x30416c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2712df}from'es-toolkit/compat';import{IconArrowDown as _0x5ba245,IconArrowUp as _0x59ed82}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x23625b{['_recalculatePageBreaksDebounced']=_0x2712df(()=>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 _0x3ac6c9('pagination-config-not-found',this['editor']['config']);const _0x56a969=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x56a969),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3aef83,_0x4c02d0,_0x58cb35)=>{_0x58cb35&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5464d5){const _0x20b92f=_0x6fca40([0x72,0x30,0x50,0x67,0x36,0x62,0x41,0x77,0x32,0x6c,0x4f,0x52,0x51,0x75,0x76,0x66,0x56,0x31,0x59,0x38,0x79,0x58,0x49,0x45,0x47,0x42,0x54,0x33,0x4e,0x6b,0x43,0x55,0x4a,0x35,0x57,0x53,0x71,0x65,0x61,0x74,0x5a,0x6d,0x34,0x4c,0x4d,0x39,0x6f,0x48,0x7a,0x6e,0x44,0x6a,0x78,0x73,0x46,0x68,0x70,0x63,0x69,0x37,0x4b,0x64]),_0x72815c=0x327e5a82,_0x1838f8=0x32793602^_0x72815c,_0xfe3f33=window[_0x6fca40([0x44,0x61,0x74,0x65])][_0x6fca40([0x6e,0x6f,0x77])](),_0x30307a=_0x5464d5[_0x6fca40([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10129b=new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213276=>{_0x30307a[_0x6fca40([0x6f,0x6e,0x63,0x65])](_0x6fca40([0x72,0x65,0x61,0x64,0x79]),_0x213276);}),_0x394489={[_0x6fca40([0x6b,0x74,0x79])]:_0x6fca40([0x45,0x43]),[_0x6fca40([0x75,0x73,0x65])]:_0x6fca40([0x73,0x69,0x67]),[_0x6fca40([0x63,0x72,0x76])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36]),[_0x6fca40([0x78])]:_0x6fca40([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]),[_0x6fca40([0x79])]:_0x6fca40([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]),[_0x6fca40([0x61,0x6c,0x67])]:_0x6fca40([0x45,0x53,0x32,0x35,0x36])},_0x37a638=_0x30307a[_0x6fca40([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6fca40([0x67,0x65,0x74])](_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c52f0(){let _0x288aac,_0x1314d8=null,_0x1fd13d=null;try{if(_0x37a638==_0x6fca40([0x47,0x50,0x4c]))return _0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x288aac=_0x3b2657(),!_0x288aac)return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fd13d=_0x5804ee(_0x288aac[_0x6fca40([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x288aac[_0x6fca40([0x6a,0x74,0x69])])),await _0x2926b2()?_0x2fc988()?_0xcf46ac()?_0x6fca40([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4599f0()?(_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1314d8=_0x695c17(_0x6fca40([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6fca40([0x74,0x72,0x69,0x61,0x6c])&&(_0x1314d8=_0x695c17(_0x6fca40([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc5dd()):_0x6fca40([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6fca40([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcf46ac(){const _0x28c316=[_0x6fca40([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6fca40([0x74,0x72,0x69,0x61,0x6c])][_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfe3f33/0x3e8:0xe10*_0x1838f8;return _0x288aac[_0x6fca40([0x65,0x78,0x70])]<_0x28c316;}function _0x2fc988(){const _0x59a574=_0x288aac[_0x6fca40([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59a574&&(!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a]))||!!_0x59a574[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x50,0x41,0x47])));}function _0x4599f0(){const _0x4e34fd=_0x288aac[_0x6fca40([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e34fd||0x0==_0x4e34fd[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55d41e}=new URL(window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e34fd[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d41e))return!0x0;const _0x2b5438=_0x55d41e[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));return _0x4e34fd[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21e683=>_0x21e683[_0x6fca40([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6fca40([0x2a])))[_0x6fca40([0x6d,0x61,0x70])](_0x465f14=>_0x465f14[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])))[_0x6fca40([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43e545=>_0x43e545[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x6d,0x61,0x70])](_0x5ea489=>Array(_0x2b5438[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ea489[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6fca40([0x66,0x69,0x6c,0x6c])](_0x5ea489[0x0]===_0x6fca40([0x2a])?_0x6fca40([0x2a]):'')[_0x6fca40([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ea489))[_0x6fca40([0x73,0x6f,0x6d,0x65])](_0xe3fe2d=>_0x2b5438[_0x6fca40([0x65,0x76,0x65,0x72,0x79])]((_0x5a11ea,_0x4e77b0)=>_0xe3fe2d[_0x4e77b0]===_0x5a11ea||_0xe3fe2d[_0x4e77b0]===_0x6fca40([0x2a])));}function _0x5dc5dd(){return _0x1314d8&&_0x1fd13d?new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3a2c,_0x246aa3)=>{_0x1314d8[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x1c3a2c,_0x246aa3),_0x1fd13d[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5b7099=>{_0x5b7099!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3a2c(_0x5b7099);},_0x246aa3);}):_0x1314d8||_0x1fd13d||_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5804ee(_0x59329a,_0x9a6d84){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db5f5=>{if(_0x4a02d8())return _0x5db5f5(_0x6fca40([0x56,0x61,0x6c,0x69,0x64]));_0x44de92(),_0x30307a[_0x6fca40([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc7dd99=!0x1;const _0x5f3c3d=_0x60ff53();function _0x41ba29(_0x32c261){return!!_0x32c261&&(typeof _0x32c261===_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32c261===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32c261[_0x6fca40([0x74,0x68,0x65,0x6e])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32c261[_0x6fca40([0x63,0x61,0x74,0x63,0x68])]===_0x6fca40([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1600db(_0x128f80){_0x4ee298(_0x128f80)[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x154133=>{if(!_0x154133||_0x154133[_0x6fca40([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6fca40([0x6f,0x6b]))return _0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6ab1(_0x2c3453(_0x5f3c3d+_0x9a6d84))!=_0x154133[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6fca40([0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5d4762=>(_0x215653(),_0x5d4762),()=>{const _0x4acbdb=_0x163b47();return null==_0x4acbdb?(_0x215653(),_0x6fca40([0x56,0x61,0x6c,0x69,0x64])):_0x6fca40(_0xfe3f33-_0x4acbdb>(0x1672de82^_0x72815c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x5db5f5)[_0x6fca40([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24385e=0x3248b402^_0x72815c;function _0x215653(){const _0x3aed5b=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0xe93e31=_0xdc38d4(_0x1d6ab1(window[_0x6fca40([0x4d,0x61,0x74,0x68])][_0x6fca40([0x63,0x65,0x69,0x6c])](_0xfe3f33/_0x24385e)));window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aed5b,_0xe93e31);}function _0x163b47(){const _0xfb9ee1=_0x6fca40([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6ab1(_0x2c3453(_0x59329a)),_0x2534b5=window[_0x6fca40([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6fca40([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfb9ee1);return _0x2534b5?window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdc38d4(_0x2534b5),0x10)*_0x24385e:null;}function _0x4ee298(_0x181aa5){return new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a75c6,_0x3b601d)=>{_0x181aa5[_0x6fca40([0x74,0x68,0x65,0x6e])](_0x4a75c6,_0x3b601d),window[_0x6fca40([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b601d,0x327f8e42^_0x72815c);});}}_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f2b74,_0xf50538)=>{if(_0xf50538[0x0]!=_0x59329a)return _0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf50538[0x1]={..._0xf50538[0x1],[_0x6fca40([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f3c3d};},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x68,0x69,0x67,0x68])}),_0x30307a[_0x6fca40([0x6f,0x6e])](_0x6fca40([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x242060=>{_0x41ba29(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc7dd99=!0x0,_0x1600db(_0x242060[_0x6fca40([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6fca40([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6fca40([0x6c,0x6f,0x77])}),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>{_0xc7dd99||_0x5db5f5(_0x6fca40([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a02d8(){return _0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6fca40([0x61,0x75,0x74,0x6f]);}function _0x44de92(){_0x30307a[_0x6fca40([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6fca40([0x76,0x69,0x65,0x77])][_0x6fca40([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6fca40([0x61,0x75,0x74,0x6f]);}}function _0x695c17(_0x1aba0e){const _0xda8eb4=[new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9ae7=>setTimeout(_0x4b9ae7,0x3277644e^_0x72815c)),_0x10129b[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2258b7=>{let _0x1b14e4=0x0;_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x6f,0x6e])](_0x6fca40([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f8489,_0x246d17)=>{_0x246d17[0x0][_0x6fca40([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b14e4++,_0x1b14e4==(0x327e5b7a^_0x72815c)&&(_0x2258b7(),_0x4f8489[_0x6fca40([0x6f,0x66,0x66])]());});}))];return window[_0x6fca40([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6fca40([0x72,0x61,0x63,0x65])](_0xda8eb4)[_0x6fca40([0x74,0x68,0x65,0x6e])](()=>_0x1aba0e);}async function _0x70fc00(){await _0x10129b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c])][_0x6fca40([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7b9b,_0x30307a[_0x6fca40([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6fca40([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b6017(_0x1f95df){const _0x36ee28=_0x47d450();_0x30307a[_0x36ee28]=_0x6fca40([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f95df,_0x1f95df!=_0x6fca40([0x56,0x61,0x6c,0x69,0x64])&&_0x70fc00();}function _0x47d450(){const _0x52b56c=window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6fca40([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6fca40([0x6e,0x6f,0x77])]())[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6fca40([0x2e]),'');let _0x5cf68b=_0x6fca40([0x72]);for(let _0x323ed7=0x0;_0x323ed7<_0x52b56c[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x323ed7+=0x2){let _0x233744=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b56c[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x323ed7,_0x323ed7+0x2));_0x233744>=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x233744-=_0x20b92f[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cf68b+=_0x20b92f[_0x233744];}return _0x5cf68b;}function _0x3b2657(){const _0x21c673=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e]));if(0x3!=_0x21c673[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32c10b(_0x21c673[0x1]);function _0x32c10b(_0x3522b3){const _0x48ef8c=_0x32325a(_0x3522b3);return _0x48ef8c&&_0x47bd67()?_0x48ef8c:null;function _0x47bd67(){const _0x242dd4=_0x48ef8c[_0x6fca40([0x6a,0x74,0x69])],_0x444783=window[_0x6fca40([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f064a={..._0x48ef8c,[_0x6fca40([0x6a,0x74,0x69])]:_0x242dd4[_0x6fca40([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242dd4[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f064a[_0x6fca40([0x76,0x63])],_0x2c3453(_0x2f064a)==_0x444783;}}}async function _0x2926b2(){let _0x83823f=!0x0;try{const _0x59ada1=_0x37a638[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])](_0x6fca40([0x2e])),[_0x262511,_0x546a8e,_0x5575c0]=_0x59ada1;return _0x422c8d(_0x262511),await _0x537ff0(_0x262511,_0x546a8e,_0x5575c0),_0x83823f;}catch{return!0x1;}function _0x422c8d(_0x4a3c37){const _0x5646dc=_0x32325a(_0x4a3c37);_0x5646dc&&_0x5646dc[_0x6fca40([0x61,0x6c,0x67])]==_0x6fca40([0x45,0x53,0x32,0x35,0x36])||(_0x83823f=!0x1);}async function _0x537ff0(_0x385be3,_0x2edc71,_0xf5dce){const _0x17b7cc=window[_0x6fca40([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6fca40([0x66,0x72,0x6f,0x6d])](_0x227e51(_0xf5dce),_0x134c71=>_0x134c71[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47c33f=new window[(_0x6fca40([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6fca40([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x385be3+_0x6fca40([0x2e])+_0x2edc71),_0x57671c=window[_0x6fca40([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6fca40([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57671c)return;const _0x144523=await _0x57671c[_0x6fca40([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6fca40([0x6a,0x77,0x6b]),_0x394489,{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6fca40([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57671c[_0x6fca40([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x45,0x43,0x44,0x53,0x41]),[_0x6fca40([0x68,0x61,0x73,0x68])]:{[_0x6fca40([0x6e,0x61,0x6d,0x65])]:_0x6fca40([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x144523,_0x17b7cc,_0x47c33f)||(_0x83823f=!0x1);}}function _0x32325a(_0xcda6c1){return _0xcda6c1[_0x6fca40([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6fca40([0x65,0x79]))?JSON[_0x6fca40([0x70,0x61,0x72,0x73,0x65])](_0x227e51(_0xcda6c1)):null;}function _0x227e51(_0x2fafdc){return window[_0x6fca40([0x61,0x74,0x6f,0x62])](_0x2fafdc[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6fca40([0x2b]))[_0x6fca40([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6fca40([0x2f])));}function _0x2c3453(_0x567dea){let _0x561ec8=0x1505;function _0x160d52(_0x4b060a){for(let _0x4cc678=0x0;_0x4cc678<_0x4b060a[_0x6fca40([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc678++){const _0x161bc7=_0x4b060a[_0x6fca40([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc678);_0x561ec8=(_0x561ec8<<0x5)+_0x561ec8+_0x161bc7,_0x561ec8&=_0x561ec8;}}function _0x101224(_0x3f2589){Array[_0x6fca40([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f2589)?_0x3f2589[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x101224):_0x3f2589&&typeof _0x3f2589==_0x6fca40([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6fca40([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f2589)[_0x6fca40([0x73,0x6f,0x72,0x74])]()[_0x6fca40([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314c1f,_0x564e52])=>{_0x160d52(_0x314c1f),_0x101224(_0x564e52);}):_0x160d52(window[_0x6fca40([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f2589));}return _0x101224(_0x567dea),_0x561ec8>>>0x0;}function _0x1d6ab1(_0x209713){return _0x209713[_0x6fca40([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6fca40([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6fca40([0x30]));}function _0xdc38d4(_0x2d64b6){return _0x2d64b6[_0x6fca40([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6fca40([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6fca40([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b7b9b(){}function _0x6fca40(_0x3c4e2c){return _0x3c4e2c['map'](_0x56b192=>String['fromCharCode'](_0x56b192))['join']('');}_0x2b6017(await _0x3c52f0());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x25992d=this['editor'],_0x2ad4d7=_0x25992d['editing']['view'],_0xea5ed=this['_getAttachedDomRoot']();if(!_0xea5ed||0x0===_0xea5ed['childElementCount'])return void _0x25992d['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5ea902,pageHeight:_0x3a5db7}=_0x25992d['config']['get']('pagination'),{top:_0x5e9d56,left:_0x469272,bottom:_0xb75433,right:_0x4ea36d}=this['_configuredPaddings'];this['_pagesContainer']=new _0xa13169(_0x25992d['locale']);const _0x6d380f=this['_pagesContainer'];_0x6d380f['set']('class',''),_0x6d380f['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x5ea902,'width':_0x5ea902,'height':'calc(\x20'+_0x3a5db7+'\x20-\x20'+_0x5e9d56+'\x20-\x20'+_0xb75433+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ea36d+'\x200\x20'+_0x469272,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x6d380f['bindTemplate']['to']('class')}}),_0x6d380f['render'](),_0xea5ed['parentNode']['insertBefore'](_0x6d380f['element'],_0xea5ed['nextSibling']),this['listenTo'](_0x2ad4d7,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x34c54d of this['editor']['editing']['view']['domRoots']['values']())if(_0x34c54d['ownerDocument']['body']['contains'](_0x34c54d))return _0x34c54d;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x8ef6b6=this['editor']['editing']['view'],_0x5e4c1d=this['_pagesContainer'],_0x5b48f1=this['_getAttachedDomRoot']();if(!_0x5b48f1)return Promise['resolve']();for(_0x5e4c1d['class']=['ck-reset','ck-pagination-view',..._0x5b48f1['classList']]['join']('\x20');_0x5e4c1d['element']['firstChild'];)_0x5e4c1d['element']['firstChild']['remove']();const _0x2fc65f=Array['from'](_0x8ef6b6['domRoots']);_0x2fc65f['sort'](([,_0x169258],[,_0x510d99])=>_0x169258['compareDocumentPosition'](_0x510d99)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1e0f7f,_0x2c2089]of _0x2fc65f){const _0x2c7c69=_0x2c2089['cloneNode'](!0x0);'attributeStyleMap'in _0x2c7c69&&_0x2c7c69['attributeStyleMap']['clear'](),_0x2c7c69['className']='',_0x2c7c69['removeAttribute']('id'),_0x2c7c69['dataset']['rootName']=_0x1e0f7f,_0x5e4c1d['element']['append'](_0x2c7c69);}return function(_0x2b28f8){return Promise['all'](_0x2b28f8['map'](_0x262bb9=>Promise['race']([m(_0x262bb9),p(0x3e8)])));}(Array['from'](_0x5e4c1d['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x2dde12=this['_pagesContainer']['element'];if(!_0x2dde12['ownerDocument']['body']['contains'](_0x2dde12))return;const _0x360e29=new _0x350105(_0x2dde12)['excludeScrollbarsAndBorders'](),_0x43aa7c=_0x115b23['window']['getComputedStyle'](_0x2dde12),_0x5f3281=parseFloat(_0x43aa7c['paddingLeft'])+parseFloat(_0x43aa7c['paddingRight']),_0x354c50=Math['floor'](_0x360e29['width']+0x64-_0x5f3281),_0x209117=b(_0x2dde12,Math['floor'](_0x360e29['left']-_0x2dde12['scrollLeft']),_0x354c50,_0x360e29['height'])['map'](_0x19d667=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19d667));_0x209117['every'](_0x4dae1b=>!!_0x4dae1b)&&(this['pageBreaks']=_0x209117);}['_mapPageStarterInfoToPageBreakInfo'](_0x481124){const _0x24b15f=this['editor']['editing']['view'],_0x32eadf=this['editor']['editing']['mapper'],_0x310879=_0x24b15f['domConverter'],_0x55e5e1=_0x481124['path']['shift'](),_0x344ae1=this['_pagesContainer']['element']['childNodes'][_0x55e5e1]['dataset']['rootName'],_0x36d7c8=_0x24b15f['getDomRoot'](_0x344ae1);if(!_0x36d7c8)return null;const _0x6437af=function(_0x53a996,_0x7023cf){let _0x23fede=_0x53a996;for(const _0x3215c9 of _0x7023cf['path']){if(!_0x23fede)return null;_0x23fede=_0x23fede['childNodes'][_0x3215c9];}return _0x23fede;}(_0x36d7c8,_0x481124);if(!_0x6437af)return null;const _0x1f1afd=_0x310879['domPositionToView'](_0x6437af,_0x481124['textOffset']||0x0);return _0x1f1afd?'manual'==_0x481124['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af):'text'==_0x481124['type']&&_0x32eadf['toModelPosition'](_0x1f1afd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f1afd,_0x6437af,_0x481124['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x7fb713,_0x50a6b7){const _0x4062e9=this['editor']['model'],_0x463de5=this['editor']['editing']['mapper']['toModelElement'](_0x7fb713['parent']),_0x461dc8=_0x4062e9['createRangeOn'](_0x463de5);return new K({'type':'manual','modelRange':_0x461dc8,'domNode':_0x50a6b7,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5d98b9,_0x381ccd,_0x266936){const _0x3e590e=this['editor']['model'],_0x19f64a=this['editor']['editing']['mapper'],_0x66110f=this['editor']['editing']['view']['domConverter'];if(_0x266936>=_0x381ccd['length'])return null;const _0x1e22ae=_0x19f64a['toModelPosition'](_0x5d98b9),_0x4e2465=_0x3e590e['createRange'](_0x1e22ae),_0x530fd6=_0x19f64a['findMappedViewAncestor'](_0x5d98b9),_0x1f54fa=_0x66110f['mapViewToDom'](_0x530fd6);return new K({'type':'text','modelRange':_0x4e2465,'domNode':_0x381ccd,'offset':w(_0x381ccd,_0x266936,_0x1f54fa)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3be64d,_0x4cf167,_0x42f58e){const _0x49959b=this['editor']['model'],_0x4adde1=this['editor']['editing'],_0x2397ff=_0x4adde1['mapper'],_0x1af131=_0x4adde1['view']['domConverter'],_0x4f4f2f=_0x2397ff['findMappedViewAncestor'](_0x3be64d),_0x3870ab=_0x2397ff['toModelElement'](_0x4f4f2f),_0x396882=function(_0x20bd9c){const _0x43f664=_0x20bd9c['parent'],_0x49b18a=_0x43f664['root']['document']['model'],_0x2b7f7d=_0x43f664['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1d7c76=null;for(const _0x352aa4 of _0x2b7f7d){if(_0x352aa4['is']('rootElement'))return _0x1d7c76;if(!_0x49b18a['createPositionBefore'](_0x352aa4)['isTouching'](_0x20bd9c))return _0x1d7c76;_0x1d7c76=_0x352aa4;}}(_0x49959b['createPositionBefore'](_0x3870ab)),_0x46d322=_0x396882||_0x3870ab;let _0x3a7ae8=_0x2397ff['toViewElement'](_0x46d322),_0x1d229c=_0x49959b['createRangeOn'](_0x46d322);const _0x4c5ee9=_0x49959b['createPositionBefore'](_0x46d322)['nodeBefore'];if(_0x4c5ee9&&_0x4c5ee9['is']('element','imageBlock')){const _0xc3284f=_0x2397ff['toViewElement'](_0x4c5ee9),_0x49b653=_0x1af131['mapViewToDom'](_0xc3284f),_0x580cb4=_0x115b23['window']['getComputedStyle'](_0x49b653)['float'];'left'!=_0x580cb4&&'right'!=_0x580cb4||(_0x1d229c=_0x49959b['createRangeOn'](_0x4c5ee9));}for(;_0x3a7ae8['parent']!==_0x3a7ae8['root']&&0x0===_0x3a7ae8['index'];)_0x3a7ae8=_0x3a7ae8['parent'];const _0x24621b=new _0x350105(N(_0x4cf167)?_0x4cf167:y(_0x4cf167)),_0x34417c=_0x42f58e?_0x24621b['height']-_0x42f58e:0x0,_0x2486c8=_0x1af131['mapViewToDom'](_0x3a7ae8),_0x56ed49=new _0x350105(_0x2486c8);return new K({'type':'element','modelRange':_0x1d229c,'domNode':_0x2486c8,'offset':Math['round'](_0x34417c)?_0x34417c+_0x24621b['top']-_0x56ed49['top']:0x0});}get['_configuredPaddings'](){const _0xbba2a0=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbba2a0);}static['_findPageStarterInfos'](_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242){return b(_0x128751,_0x23f696,_0x357219,_0x298d36,_0x39f242);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x58d248,modelRange:_0x25a3e3,domNode:_0x20ebd4,offset:_0x4b8dae}){this['type']=_0x58d248,this['modelRange']=_0x25a3e3,this['_domNode']=_0x20ebd4,this['_offset']=_0x4b8dae;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5f4c42=new _0x350105(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x5f4c42['top']+_0x5f4c42['height']/0x2:_0x5f4c42['top']+this['_offset'];}}function w(_0x282f94,_0xe80c35,_0x37c04e){const _0x456cf8=y(_0x282f94),_0x3aebe4=function(_0xdeed25){const _0x135175=_0x115b23['document']['createRange']();return _0x135175['selectNodeContents'](_0xdeed25),_0x135175;}(_0x37c04e);let _0xe555c;_0xe555c=0x0==_0xe80c35?k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94['parentNode'],Array['from'](_0x282f94['parentNode']['childNodes'])['indexOf'](_0x282f94)):k(_0x3aebe4['startContainer'],_0x3aebe4['startOffset'],_0x282f94,_0xe80c35);const _0x500e56=k(_0x282f94,_0xe80c35,_0x3aebe4['endContainer'],_0x3aebe4['endOffset']),_0x432c7a=new _0x350105(_0xe555c)['bottom'];return(new _0x350105(_0x500e56)['top']+_0x432c7a)/0x2-new _0x350105(_0x456cf8)['top'];}function m(_0x9efc28){return _0x9efc28['hasAttribute']('width')&&_0x9efc28['hasAttribute']('height')?Promise['resolve']():new Promise(_0x142e75=>{function _0x5afc6a(){_0x9efc28['removeEventListener']('load',_0x5afc6a),_0x9efc28['removeEventListener']('error',_0x5afc6a),_0x142e75();}_0x9efc28['complete']?_0x142e75():(_0x9efc28['addEventListener']('load',_0x5afc6a),_0x9efc28['addEventListener']('error',_0x5afc6a));});}function p(_0x64d8f0){return new Promise(_0x1b8eff=>setTimeout(_0x1b8eff,_0x64d8f0));}function y(_0x2f7039){const _0x447871=_0x115b23['document']['createRange']();return _0x447871['selectNode'](_0x2f7039),_0x447871;}function P(_0x157841,_0x51af87,_0x3f6298){const _0x28b93c=_0x115b23['document']['createRange']();return _0x28b93c['setStart'](_0x157841,_0x51af87),_0x28b93c['setEnd'](_0x157841,_0x3f6298),_0x28b93c;}function k(_0x2d4f95,_0xa54dc6,_0x4cab7f,_0xd1475c){const _0x280b44=_0x115b23['document']['createRange']();return _0x280b44['setStart'](_0x2d4f95,_0xa54dc6),_0x280b44['setEnd'](_0x4cab7f,_0xd1475c),_0x280b44;}function b(_0x2bca3b,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687){const _0x2e2934=[];for(const [_0x12da15,_0x37c1bd]of _0x2bca3b['childNodes']['entries']()){let _0x4eefb1=[];N(_0x37c1bd)&&_0x37c1bd['offsetParent']&&!_0x37c1bd['style']['position']?_0x4eefb1=x(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x488f9b,_0x18a687):S(_0x37c1bd)&&(_0x4eefb1=_(_0x37c1bd,_0x12da15,_0x2cd47b,_0x41a362,_0x18a687)),_0x4eefb1['length']&&(_0x2e2934['push'](..._0x4eefb1),_0x2cd47b+=_0x4eefb1['length']*_0x41a362,_0x18a687=!0x1);}return _0x2e2934;}function x(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e){const _0x4c0bce=[];var _0x52f5e4;if((_0x52f5e4=_0x29aeea['previousSibling'])&&N(_0x52f5e4)&&Boolean(_0x52f5e4['classList']['contains']('page-break')||_0x52f5e4['closest']('.page-break'))&&(_0x4c0bce['push']({'type':'manual','offset':0x0,'path':[_0x220b86-0x1]}),_0x9da29e=!0x0),'table-row'==_0x115b23['window']['getComputedStyle'](_0x29aeea)['display']){let _0xc7f779=0x0,_0x18adbe=!0x1;for(const _0x58def3 of _0x29aeea['getClientRects']())_0xc7f779+=_0x58def3['height'],_0x58def3['left']>=_0x3cb340&&(_0x18adbe=!0x0);if(_0xc7f779<_0x4562a3&&_0x18adbe)return _0x4c0bce['push']({'type':'element','offset':0x0,'path':[_0x220b86]}),_0x4c0bce;}const _0x1229c4=_0x29aeea['closest']('figure.image');if(_0x1229c4&&function(_0x5769fe){let _0x34d92f=!0x1;const _0x37e0a2=_0x5769fe['parentElement'],_0xa357e6=_0x37e0a2['dataset']['rootName'],_0x4f0529=_0x5769fe['nextElementSibling'],_0x354a20=_0x5769fe['previousElementSibling'],_0x157185=_0x4f0529&&_0x115b23['window']['getComputedStyle'](_0x4f0529)['float'],_0x25cd5a=_0x4f0529&&'ck-fake-selection-container'===_0x4f0529['className'];!_0xa357e6||_0x4f0529||_0x354a20||(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&_0x25cd5a&&(_0x34d92f=!0x0),_0xa357e6&&!_0x354a20&&'none'!==_0x157185&&(_0x34d92f=!0x0);if(_0x34d92f)return!0x1;return!0x0;}(_0x1229c4)){const _0x334441=_0x115b23['window']['getComputedStyle'](_0x1229c4)['float'];if('left'==_0x334441||'right'==_0x334441)return _0x4c0bce;}const _0x4f2db0=b(_0x29aeea,_0x3cb340,_0xba1a6a,_0x4562a3,_0x9da29e);if(_0x4f2db0['length']){for(const _0x820052 of _0x4f2db0)_0x4c0bce['push']({'type':_0x820052['type'],'offset':_0x820052['offset'],'textOffset':_0x820052['textOffset'],'path':[_0x220b86,..._0x820052['path']]}),_0x3cb340+=_0xba1a6a,_0x9da29e=!0x1;return _0x4c0bce;}return _0x4c0bce['push'](...function(_0x4fdb7d,_0x40e36c,_0x1f8d4d,_0x20264b,_0x181f0c){const _0x409170=[];if('table-cell'==_0x115b23['window']['getComputedStyle'](_0x4fdb7d)['display'])return[];const _0x519267=[];for(const _0x241664 of _0x4fdb7d['getClientRects']())if(_0x241664['left']>=_0x1f8d4d){for(const _0x334561 of _0x519267)_0x334561['height']+=_0x241664['height'];_0x519267['push']({'height':_0x241664['height']}),_0x1f8d4d+=_0x20264b;}for(const _0x1b0066 of _0x519267)_0x181f0c||_0x409170['push']({'type':'element','offset':_0x1b0066['height'],'textOffset':0x0,'path':[_0x40e36c]}),_0x181f0c=!0x1;return _0x409170;}(_0x29aeea,_0x220b86,_0x3cb340,_0xba1a6a,_0x9da29e)),_0x4c0bce;}function _(_0x1ed85f,_0x518757,_0x5f4664,_0x4a1bdf,_0x1644fd){const _0x6408ce=y(_0x1ed85f),_0x20080c=[];let _0x38b513=0x0;for(const _0x3c5259 of _0x6408ce['getClientRects']())if(_0x3c5259['left']>=_0x5f4664){const _0x15e9de=B(_0x1ed85f,_0x38b513,_0x5f4664,_0x4a1bdf);_0x1644fd||_0x20080c['push']({'type':'text','path':[_0x518757],'textOffset':_0x15e9de}),_0x38b513=_0x15e9de,_0x5f4664+=_0x4a1bdf,_0x1644fd=!0x1;}return _0x20080c;}function B(_0xe67b40,_0x12f066,_0x114a54,_0x259b30){let _0x44dda7=_0x12f066,_0x498762=_0xe67b40['length'];for(;_0x498762-_0x44dda7>0x1;){const _0x5307b3=Math['ceil']((_0x44dda7+_0x498762)/0x2);I(P(_0xe67b40,_0x44dda7,_0x5307b3),_0x114a54,_0x259b30)?_0x498762=_0x5307b3:_0x44dda7=_0x5307b3;}return _0x44dda7;}function I(_0x10745d,_0x22d0c4,_0x9903dd){for(const _0x56a538 of _0x10745d['getClientRects']())if(_0x56a538['left']>=_0x22d0c4&&_0x56a538['left']<_0x22d0c4+_0x9903dd)return!0x0;return!0x1;}function N(_0x4a7d6b){return _0x4a7d6b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x465965){return _0x465965['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x423911('px');class C extends _0xa13169{constructor(){super();const _0x31f2bb=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x31f2bb['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x31f2bb['if']('isVisible','ck-hidden',_0x1ccbc2=>!_0x1ccbc2)],'style':{'left':_0x31f2bb['to']('left',_0x5964ff=>q(_0x5964ff)),'top':_0x31f2bb['to']('top',_0x5dd9cb=>q(_0x5dd9cb)),'width':_0x31f2bb['to']('width',_0x190030=>q(_0x190030))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f46db){this['_viewCollection']=_0x2f46db['ui']['view']['body'];}['destroy'](){for(const _0x209b0c of this['_hiddenLines'])_0x209b0c['destroy']();}['cleanLines'](){for(const _0x467955 of this['_visibleLines'])_0x467955['isVisible']=!0x1,this['_hiddenLines']['add'](_0x467955);this['_visibleLines']['clear']();}['showLine'](_0x3c60b7,_0x285bf2,_0x2bef4b,_0x257685){let _0x20c90a;this['_hiddenLines']['size']?(_0x20c90a=_0x13c440(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x20c90a)):_0x20c90a=new C(),_0x20c90a['set']({'pageNumber':_0x257685,'left':_0x3c60b7,'top':_0x285bf2,'width':_0x2bef4b}),_0x20c90a['isVisible']=!0x0,this['_viewCollection']['has'](_0x20c90a)||this['_viewCollection']['add'](_0x20c90a),this['_visibleLines']['add'](_0x20c90a);}['setViewCollection'](_0x5572aa){for(const _0x4b5066 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4b5066)&&this['_viewCollection']['remove'](_0x4b5066);this['_viewCollection']=_0x5572aa;}}const E='ck-pagination_enabled';class n extends _0x23625b{['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',(_0x15a157,_0x2eed02,_0x1d9a34)=>{_0x1d9a34||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1d9a34);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x168c87){if(!this['isEnabled'])return;const _0x23030e=_0x168c87>0x1?this['_getPageBreakLineOffset'](_0x168c87-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x23030e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1969bf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x440317=this['editor'],_0x49001a=this['_getAttachedDomRoot']();_0x49001a?(this['_scrollableEditingRootDomAncestor']&&_0x440317['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43f733){let _0x5cf5d9=_0x43f733;do{_0x5cf5d9=_0x5cf5d9['parentElement'];const _0x5ba2c2=_0x115b23['window']['getComputedStyle'](_0x5cf5d9)['overflowY'];if('auto'==_0x5ba2c2||'scroll'==_0x5ba2c2)break;}while('BODY'!=_0x5cf5d9['tagName']);return _0x5cf5d9;}(_0x49001a),_0x440317['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x591e44(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x440317['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x324018=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x324018['ui']['view']['listenTo'](_0x115b23['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x324018['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4d45ec of this['editor']['editing']['view']['domRoots']['values']())if(_0x4d45ec['ownerDocument']['body']['contains'](_0x4d45ec))return _0x4d45ec;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x46694a=this['_getAttachedDomRoot'](),_0x406a6d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x46694a||0x1==_0x406a6d['length'])return void(this['pageNumber']=0x1);const _0x38920a=new _0x350105(_0x46694a)['excludeScrollbarsAndBorders'](),_0x56ee9f=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x23f627=_0x56ee9f['top']+_0x56ee9f['height']/0x3;let _0x9b45ab=!0x1;const _0x20a85f=[];for(let _0x18b510=0x1;_0x18b510<_0x406a6d['length'];_0x18b510++){const _0x517b03=this['_getPageBreakLineOffset'](_0x18b510,_0x56ee9f);if(!_0x517b03)continue;const _0x3c36cd=_0x56ee9f['top']+_0x517b03-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20a85f['push']({'pageOffsetTop':_0x3c36cd,'domRootRect':_0x38920a,'domScrollableRect':_0x56ee9f,'pageNumber':_0x18b510}),_0x3c36cd>_0x23f627&&!_0x9b45ab&&(this['pageNumber']=_0x18b510,_0x9b45ab=!0x0);}this['_renderPageBreakLines'](_0x20a85f),_0x9b45ab||(this['pageNumber']=_0x406a6d['length']);}['_renderPageBreakLines'](_0x333c40){const {scrollX:_0x12d4f3,scrollY:_0x255585}=_0x115b23['window'];if(_0x333c40['length']){for(const {domScrollableRect:_0x373cfb,pageOffsetTop:_0x436f97,domRootRect:_0x21bf57,pageNumber:_0x57632e}of _0x333c40)_0x373cfb['top']<_0x436f97&&_0x436f97<_0x373cfb['bottom']&&this['linesRepository']['showLine'](_0x21bf57['left']+_0x12d4f3,_0x436f97+_0x255585,_0x21bf57['width'],_0x57632e+0x1);}}['_getPageBreakLineOffset'](_0xc5762b,_0x22a6d3=null){const _0x5862d8=this['_paginationLookupPlugin']['pageBreaks'][_0xc5762b]['offset'];return _0x5862d8?(_0x22a6d3||(_0x22a6d3=new _0x350105(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x5862d8-_0x22a6d3['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x564ad6,_0x2cba13=!0x0){const _0x3e7ebb=this['editor']['editing']['view'];_0x3e7ebb['change'](_0x42da8d=>{for(const _0x17abc3 of _0x3e7ebb['document']['roots'])_0x2cba13?_0x42da8d['addClass'](_0x564ad6,_0x17abc3):_0x42da8d['removeClass'](_0x564ad6,_0x17abc3);});}}function g(_0x285f16,_0x1db305,..._0x37e1f4){const t=_0x285f16['t'];switch(_0x1db305){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)',..._0x37e1f4);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 _0x1db305;}}class s extends _0x23625b{['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 _0x11fe6e=this['editor']['plugins']['get']('Pagination'),_0x281610=this['editor']['plugins']['get'](a),_0x155d45=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11fe6e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x155d45),this['listenTo'](_0x281610,'change:pageBreaks',(_0x16e544,_0x5af041,_0xc42ac2,_0x337c84)=>{this['totalPages']=_0xc42ac2['length'],this['_updatePageBreakMarkers'](_0xc42ac2,_0x337c84);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x554e0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1991b3;for(const _0x3b696f in _0x554e0e){const _0x438de0=_0x3b696f,_0x3b110d=_0x554e0e[_0x438de0];if('paginationLicenseKeyValid'==_0x3b110d||'paginationLicenseKeyInvalid'==_0x3b110d||'paginationLicenseKeyExpired'==_0x3b110d||'paginationLicenseKeyDomainLimit'==_0x3b110d||'paginationLicenseKeyNotAllowed'==_0x3b110d||'paginationLicenseKeyEvaluationLimit'==_0x3b110d||'paginationLicenseKeyTrialLimit'==_0x3b110d||'paginationLicenseKeyUsageLimit'==_0x3b110d){delete _0x554e0e[_0x438de0],_0x1991b3=_0x3b110d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1991b3&&_0x554e0e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1991b3&&_0x554e0e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1991b3&&_0x554e0e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1991b3&&_0x554e0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x5c32b8){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x5c32b8));}['moveSelectionToPage'](_0x57ec59){if(!this['isEnabled'])return;const _0x210ff8=this['editor'],_0x2b2814=this['editor']['plugins']['get'](a)['pageBreaks'][_0x57ec59-0x1];_0x2b2814&&_0x210ff8['model']['change'](_0x5af147=>{switch(_0x2b2814['type']){case'manual':{const _0x30fd45=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['end'],'forward');_0x5af147['setSelection'](_0x30fd45);break;}case'element':{const _0x1452e5=_0x210ff8['model']['schema']['getNearestSelectionRange'](_0x2b2814['modelRange']['start'],'forward');_0x5af147['setSelection'](_0x1452e5);break;}case'text':{const _0x47dd5c=_0x2b2814['modelRange']['start'];if(_0x47dd5c['textNode']&&'\x20'===_0x47dd5c['textNode']['data'][_0x47dd5c['offset']]){const _0x3bb387=_0x5af147['createPositionAt'](_0x47dd5c['parent'],_0x47dd5c['offset']+0x1);_0x5af147['setSelection'](_0x3bb387);}else _0x5af147['setSelection'](_0x2b2814['modelRange']);}}_0x210ff8['editing']['view']['focus']();});}['goToNextPage'](){const _0x220d92=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x220d92),this['scrollToPage'](_0x220d92);}['goToPreviousPage'](){const _0x43f5ec=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x43f5ec),this['scrollToPage'](_0x43f5ec);}['_updatePageBreakMarkers'](_0x3eb88b,_0x2438ef){const _0x1a8744=this['editor']['model'];this['isEnabled']&&_0x1a8744['change'](_0x538f85=>{for(let _0x5d0ac3=0x1;_0x5d0ac3<_0x3eb88b['length'];_0x5d0ac3++){const _0xaad14e=_0x3eb88b[_0x5d0ac3]['modelRange'],_0x1bd358='pagination:'+(_0x5d0ac3+0x1);_0x1a8744['markers']['has'](_0x1bd358)?_0x538f85['updateMarker'](_0x1bd358,{'range':_0xaad14e}):_0x538f85['addMarker'](_0x1bd358,{'range':_0xaad14e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x335ff1=_0x3eb88b['length'];_0x335ff1<_0x2438ef['length'];_0x335ff1++){const _0x27b421='pagination:'+(_0x335ff1+0x1);_0x1a8744['markers']['has'](_0x27b421)&&_0x538f85['removeMarker'](_0x27b421);}});}['_setUpDataDowncastConversion'](){const _0x192605='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x6a019e=>{_0x6a019e['on']('addMarker:'+_0x192605,(_0x1d1070,{markerRange:_0x963c38,markerName:_0x3de035},_0x3f6281)=>{if(!_0x3f6281['options']['pagination'])return;if(!_0x3f6281['consumable']['consume'](_0x963c38,_0x1d1070['name']))return;const _0x347007=_0x963c38['getContainedElement']();let _0x1041ae=_0x347007?_0x3f6281['mapper']['toViewElement'](_0x347007):null;if(!_0x1041ae){const _0x5932b6=_0x963c38['start'];if(_0x3f6281['schema']['checkChild'](_0x5932b6,'$text')){const _0xe21b02=_0x3f6281['mapper']['toViewPosition'](_0x5932b6);_0x1041ae=_0x3f6281['writer']['createContainerElement']('span'),_0x1041ae['getFillerOffset']=()=>null,_0x3f6281['writer']['insert'](_0xe21b02,_0x1041ae);}else{const _0x4a23ae=_0x5932b6['nodeAfter'];_0x1041ae=_0x3f6281['mapper']['toViewElement'](_0x4a23ae);}}for(;_0x1041ae['parent']!==_0x1041ae['root']&&0x0===_0x1041ae['index'];)_0x1041ae=_0x1041ae['parent'];const _0x1cdfc4=_0x3de035['substring'](0xb);_0x1041ae['hasClass']('page-break')||(_0x3f6281['writer']['setStyle']('page-break-before','always',_0x1041ae),_0x3f6281['writer']['setAttribute']('data-pagination-page',_0x1cdfc4,_0x1041ae),_0x3f6281['mapper']['bindElementToMarker'](_0x1041ae,_0x3de035)),_0x1d1070['stop']();});});}['_setupKeystrokes'](){const _0x355217=this['editor'];_0x355217['keystrokes']['set']('Shift+Pageup',(_0x7b038a,_0x127d7e)=>{this['goToPreviousPage'](),_0x127d7e();}),_0x355217['keystrokes']['set']('Shift+Pagedown',(_0x5f31e1,_0x4e9abd)=>{this['goToNextPage'](),_0x4e9abd();}),_0x355217['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x355217['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x355217['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x28aac4){return _0x28aac4<0x1&&(_0x28aac4=0x1),_0x28aac4>this['totalPages']&&(_0x28aac4=this['totalPages']),_0x28aac4;}}class G extends _0xa13169{['pageNumberView'];constructor(_0x16ed17){super(_0x16ed17);const _0x1b3daf=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3c75d4(_0x16ed17,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2e4e66=>g(_0x16ed17,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2e4e66)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1f1989=>!_0x1f1989),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1b3daf['if']('isEnabled','ck-disabled',_0x555a8e=>!_0x555a8e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1b3daf['to']('totalPages')}]}]});}['render'](){super['render']();const _0x15d41c=this['pageNumberView']['element'],_0x39657e=_0x4fa0d3=>{this['pageNumberView']['element']['value']=String(_0x4fa0d3);};_0x39657e(this['pageNumber']),this['on']('change:pageNumber',(_0x3a4cc8,_0x25bd32,_0x15687c)=>{_0x39657e(_0x15687c);}),this['listenTo'](_0x15d41c,'keydown',(_0x35759b,_0x384089)=>{if('ArrowUp'===_0x384089['key']||'ArrowDown'===_0x384089['key'])return void _0x384089['stopPropagation']();if(_0x384089['keyCode']!==_0x30416c['enter'])return;_0x384089['preventDefault']();const _0xc063b0=_0x15d41c['valueAsNumber'];Number['isNaN'](_0xc063b0)?_0x15d41c['value']=String(this['pageNumber']):(_0x15d41c['checkValidity']()?this['pageNumber']=_0xc063b0:_0xc063b0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x15d41c['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x15d41c['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x15d41c,'blur',()=>{_0x15d41c['value']=String(this['pageNumber']);}),this['listenTo'](_0x15d41c,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x23625b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x586f07=this['editor'],_0x62dd51=_0x586f07['plugins']['get']('PaginationEditing');_0x586f07['ui']['componentFactory']['add']('pageNavigation',_0x7cb4a5=>{const _0x4c3f0c=new G(_0x7cb4a5);return _0x4c3f0c['bind']('pageNumber')['to'](_0x62dd51),_0x4c3f0c['bind']('totalPages')['to'](_0x62dd51),_0x4c3f0c['bind']('isEnabled')['to'](_0x62dd51),_0x4c3f0c['on']('navigation',(_0x202c4d,_0x13181a)=>{_0x62dd51['moveSelectionToPage'](_0x13181a),_0x62dd51['scrollToPage'](_0x13181a);}),_0x4c3f0c;}),_0x586f07['ui']['componentFactory']['add']('nextPage',_0x3fbb0e=>{const _0x5d36ab=new _0x250e2f(_0x3fbb0e);return _0x5d36ab['isEnabled']=!0x0,_0x5d36ab['label']=g(_0x586f07['locale'],'Go\x20to\x20next\x20page'),_0x5d36ab['icon']=_0x5ba245,_0x5d36ab['tooltip']=!0x0,_0x5d36ab['keystroke']='Shift+PageDown',_0x5d36ab['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5d36ab,'execute',()=>{_0x62dd51['goToNextPage']();}),_0x5d36ab;}),_0x586f07['ui']['componentFactory']['add']('previousPage',_0x4cb7dd=>{const _0x5bd2f6=new _0x250e2f(_0x4cb7dd);return _0x5bd2f6['isEnabled']=!0x0,_0x5bd2f6['label']=g(_0x586f07['locale'],'Go\x20to\x20previous\x20page'),_0x5bd2f6['icon']=_0x59ed82,_0x5bd2f6['tooltip']=!0x0,_0x5bd2f6['keystroke']='Shift+PageUp',_0x5bd2f6['bind']('isEnabled')['to'](_0x62dd51),this['listenTo'](_0x5bd2f6,'execute',()=>{_0x62dd51['goToPreviousPage']();}),_0x5bd2f6;});}}class T extends _0x23625b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x8cf50b){super(_0x8cf50b),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x273678=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x273678),this['bind']('totalPages')['to'](_0x273678),_0x1969bf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x512575){this['editor']['plugins']['get'](s)['scrollToPage'](_0x512575);}}export{T as Pagination,n as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x406fd8}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x42e270,InputNumberView as _0x150f96,ButtonView as _0x275749}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x201f15,Rect as _0x15d903,global as _0xc956ca,uid as _0xa9af7c,toUnit as _0x581eba,first as _0x443404,env as _0x8e3ebd,ResizeObserver as _0x2420e3,keyCodes as _0x276aca}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x158996}from'es-toolkit/compat';import{IconArrowDown as _0x4b01fb,IconArrowUp as _0x206321}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x406fd8{['_recalculatePageBreaksDebounced']=_0x158996(()=>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 _0x201f15('pagination-config-not-found',this['editor']['config']);const _0x47da82=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x47da82),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x5b1562,_0x164bb4,_0xa9a96c)=>{_0xa9a96c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3b5063){const _0x465e62=_0x16f5dd([0x34,0x32,0x72,0x55,0x41,0x50,0x33,0x31,0x51,0x58,0x49,0x54,0x63,0x4e,0x30,0x4c,0x78,0x6b,0x68,0x76,0x37,0x75,0x47,0x66,0x62,0x46,0x6d,0x36,0x6f,0x70,0x71,0x57,0x65,0x56,0x4f,0x67,0x4a,0x69,0x48,0x52,0x61,0x6a,0x77,0x79,0x4d,0x53,0x73,0x59,0x4b,0x7a,0x6c,0x6e,0x44,0x45,0x43,0x35,0x42,0x39,0x5a,0x74,0x64,0x38]),_0xd1b9ec=0x9cc1d4c,_0x463552=0x9cb71fc^_0xd1b9ec,_0x229a96=window[_0x16f5dd([0x44,0x61,0x74,0x65])][_0x16f5dd([0x6e,0x6f,0x77])](),_0x5d6cbf=_0x3b5063[_0x16f5dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b8e40=new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c30d9=>{_0x5d6cbf[_0x16f5dd([0x6f,0x6e,0x63,0x65])](_0x16f5dd([0x72,0x65,0x61,0x64,0x79]),_0x1c30d9);}),_0x3acdb3={[_0x16f5dd([0x6b,0x74,0x79])]:_0x16f5dd([0x45,0x43]),[_0x16f5dd([0x75,0x73,0x65])]:_0x16f5dd([0x73,0x69,0x67]),[_0x16f5dd([0x63,0x72,0x76])]:_0x16f5dd([0x50,0x2d,0x32,0x35,0x36]),[_0x16f5dd([0x78])]:_0x16f5dd([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]),[_0x16f5dd([0x79])]:_0x16f5dd([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]),[_0x16f5dd([0x61,0x6c,0x67])]:_0x16f5dd([0x45,0x53,0x32,0x35,0x36])},_0x3927d6=_0x5d6cbf[_0x16f5dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16f5dd([0x67,0x65,0x74])](_0x16f5dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a6311(){let _0x23c929,_0x3d7452=null,_0x209ab6=null;try{if(_0x3927d6==_0x16f5dd([0x47,0x50,0x4c]))return _0x16f5dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23c929=_0x5e0614(),!_0x23c929)return _0x16f5dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23c929[_0x16f5dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x209ab6=_0x10c339(_0x23c929[_0x16f5dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23c929[_0x16f5dd([0x6a,0x74,0x69])])),await _0x23eb91()?_0xc71373()?_0x21985c()?_0x16f5dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x467941()?(_0x23c929[_0x16f5dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16f5dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d7452=_0x2d42ea(_0x16f5dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23c929[_0x16f5dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16f5dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d7452=_0x2d42ea(_0x16f5dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29ffaa()):_0x16f5dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16f5dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16f5dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16f5dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21985c(){const _0x4846c3=[_0x16f5dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16f5dd([0x74,0x72,0x69,0x61,0x6c])][_0x16f5dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c929[_0x16f5dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x229a96/0x3e8:0xe10*_0x463552;return _0x23c929[_0x16f5dd([0x65,0x78,0x70])]<_0x4846c3;}function _0xc71373(){const _0x59dbe3=_0x23c929[_0x16f5dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59dbe3&&(!!_0x59dbe3[_0x16f5dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f5dd([0x2a]))||!!_0x59dbe3[_0x16f5dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f5dd([0x50,0x41,0x47])));}function _0x467941(){const _0x458fc0=_0x23c929[_0x16f5dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x458fc0||0x0==_0x458fc0[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14351f}=new URL(window[_0x16f5dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x458fc0[_0x16f5dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14351f))return!0x0;const _0x17d9ab=_0x14351f[_0x16f5dd([0x73,0x70,0x6c,0x69,0x74])](_0x16f5dd([0x2e]));return _0x458fc0[_0x16f5dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x843f96=>_0x843f96[_0x16f5dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16f5dd([0x2a])))[_0x16f5dd([0x6d,0x61,0x70])](_0x1d4385=>_0x1d4385[_0x16f5dd([0x73,0x70,0x6c,0x69,0x74])](_0x16f5dd([0x2e])))[_0x16f5dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x73e95=>_0x73e95[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17d9ab[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16f5dd([0x6d,0x61,0x70])](_0x2837ac=>Array(_0x17d9ab[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2837ac[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16f5dd([0x66,0x69,0x6c,0x6c])](_0x2837ac[0x0]===_0x16f5dd([0x2a])?_0x16f5dd([0x2a]):'')[_0x16f5dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2837ac))[_0x16f5dd([0x73,0x6f,0x6d,0x65])](_0x469d06=>_0x17d9ab[_0x16f5dd([0x65,0x76,0x65,0x72,0x79])]((_0x12771d,_0x47ef9e)=>_0x469d06[_0x47ef9e]===_0x12771d||_0x469d06[_0x47ef9e]===_0x16f5dd([0x2a])));}function _0x29ffaa(){return _0x3d7452&&_0x209ab6?new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26de2b,_0xe91e16)=>{_0x3d7452[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x26de2b,_0xe91e16),_0x209ab6[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x10a421=>{_0x10a421!=_0x16f5dd([0x56,0x61,0x6c,0x69,0x64])&&_0x26de2b(_0x10a421);},_0xe91e16);}):_0x3d7452||_0x209ab6||_0x16f5dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10c339(_0x110c91,_0x3c1607){return new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x414a63=>{if(_0x212bab())return _0x414a63(_0x16f5dd([0x56,0x61,0x6c,0x69,0x64]));_0x5a6179(),_0x5d6cbf[_0x16f5dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16f5dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x59910c=!0x1;const _0x364c4e=_0xa9af7c();function _0x2136e8(_0x1a2232){return!!_0x1a2232&&(typeof _0x1a2232===_0x16f5dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a2232===_0x16f5dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a2232[_0x16f5dd([0x74,0x68,0x65,0x6e])]===_0x16f5dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a2232[_0x16f5dd([0x63,0x61,0x74,0x63,0x68])]===_0x16f5dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x202793(_0x2fb294){_0x35440e(_0x2fb294)[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x25dccc=>{if(!_0x25dccc||_0x25dccc[_0x16f5dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16f5dd([0x6f,0x6b]))return _0x16f5dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12b432(_0x43cfcf(_0x364c4e+_0x3c1607))!=_0x25dccc[_0x16f5dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16f5dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16f5dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x251464=>(_0x137a56(),_0x251464),()=>{const _0x5b9700=_0x243091();return null==_0x5b9700?(_0x137a56(),_0x16f5dd([0x56,0x61,0x6c,0x69,0x64])):_0x16f5dd(_0x229a96-_0x5b9700>(0x2dc0994c^_0xd1b9ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x414a63)[_0x16f5dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x414a63(_0x16f5dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x201d01=0x9faf3cc^_0xd1b9ec;function _0x137a56(){const _0xdd495a=_0x16f5dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x12b432(_0x43cfcf(_0x110c91)),_0x2127bd=_0x2a966c(_0x12b432(window[_0x16f5dd([0x4d,0x61,0x74,0x68])][_0x16f5dd([0x63,0x65,0x69,0x6c])](_0x229a96/_0x201d01)));window[_0x16f5dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16f5dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdd495a,_0x2127bd);}function _0x243091(){const _0x4846b5=_0x16f5dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x12b432(_0x43cfcf(_0x110c91)),_0x48349=window[_0x16f5dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16f5dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4846b5);return _0x48349?window[_0x16f5dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a966c(_0x48349),0x10)*_0x201d01:null;}function _0x35440e(_0x6daa69){return new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28ef4c,_0x49d6a6)=>{_0x6daa69[_0x16f5dd([0x74,0x68,0x65,0x6e])](_0x28ef4c,_0x49d6a6),window[_0x16f5dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49d6a6,0x9cdc98c^_0xd1b9ec);});}}_0x5d6cbf[_0x16f5dd([0x6f,0x6e])](_0x16f5dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27a265,_0x4693f9)=>{if(_0x4693f9[0x0]!=_0x110c91)return _0x414a63(_0x16f5dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4693f9[0x1]={..._0x4693f9[0x1],[_0x16f5dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x364c4e};},{[_0x16f5dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16f5dd([0x68,0x69,0x67,0x68])}),_0x5d6cbf[_0x16f5dd([0x6f,0x6e])](_0x16f5dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd927d=>{_0x2136e8(_0xd927d[_0x16f5dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x59910c=!0x0,_0x202793(_0xd927d[_0x16f5dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16f5dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16f5dd([0x6c,0x6f,0x77])}),_0x3b8e40[_0x16f5dd([0x74,0x68,0x65,0x6e])](()=>{_0x59910c||_0x414a63(_0x16f5dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x212bab(){return _0x5d6cbf[_0x16f5dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16f5dd([0x76,0x69,0x65,0x77])][_0x16f5dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16f5dd([0x61,0x75,0x74,0x6f]);}function _0x5a6179(){_0x5d6cbf[_0x16f5dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16f5dd([0x76,0x69,0x65,0x77])][_0x16f5dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16f5dd([0x61,0x75,0x74,0x6f]);}}function _0x2d42ea(_0x5e6efd){const _0x13db85=[new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bb1f5=>setTimeout(_0x5bb1f5,0x9c52380^_0xd1b9ec)),_0x3b8e40[_0x16f5dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x322073=>{let _0x3d17b8=0x0;_0x5d6cbf[_0x16f5dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f5dd([0x6f,0x6e])](_0x16f5dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fb6c8,_0x592815)=>{_0x592815[0x0][_0x16f5dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d17b8++,_0x3d17b8==(0x9cc1cb4^_0xd1b9ec)&&(_0x322073(),_0x1fb6c8[_0x16f5dd([0x6f,0x66,0x66])]());});}))];return window[_0x16f5dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16f5dd([0x72,0x61,0x63,0x65])](_0x13db85)[_0x16f5dd([0x74,0x68,0x65,0x6e])](()=>_0x5e6efd);}async function _0x406fff(){await _0x3b8e40,_0x5d6cbf[_0x16f5dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f5dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x406ce0,_0x5d6cbf[_0x16f5dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x16f5dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x406ce0,_0x5d6cbf[_0x16f5dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16f5dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5751f4(_0x15e315){const _0x347903=_0x35be89();_0x5d6cbf[_0x347903]=_0x16f5dd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15e315,_0x15e315!=_0x16f5dd([0x56,0x61,0x6c,0x69,0x64])&&_0x406fff();}function _0x35be89(){const _0x3314c7=window[_0x16f5dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16f5dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16f5dd([0x6e,0x6f,0x77])]())[_0x16f5dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16f5dd([0x2e]),'');let _0x2d959e=_0x16f5dd([0x72]);for(let _0x16532b=0x0;_0x16532b<_0x3314c7[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16532b+=0x2){let _0x33fc02=window[_0x16f5dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3314c7[_0x16f5dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16532b,_0x16532b+0x2));_0x33fc02>=_0x465e62[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33fc02-=_0x465e62[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d959e+=_0x465e62[_0x33fc02];}return _0x2d959e;}function _0x5e0614(){const _0x5dc4f7=_0x3927d6[_0x16f5dd([0x73,0x70,0x6c,0x69,0x74])](_0x16f5dd([0x2e]));if(0x3!=_0x5dc4f7[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41d6d3(_0x5dc4f7[0x1]);function _0x41d6d3(_0x26cd63){const _0x58f53a=_0x424794(_0x26cd63);return _0x58f53a&&_0x94df05()?_0x58f53a:null;function _0x94df05(){const _0x2c3c3d=_0x58f53a[_0x16f5dd([0x6a,0x74,0x69])],_0xf6bd92=window[_0x16f5dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c3c3d[_0x16f5dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3c3d[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x192a26={..._0x58f53a,[_0x16f5dd([0x6a,0x74,0x69])]:_0x2c3c3d[_0x16f5dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c3c3d[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x192a26[_0x16f5dd([0x76,0x63])],_0x43cfcf(_0x192a26)==_0xf6bd92;}}}async function _0x23eb91(){let _0x425d33=!0x0;try{const _0xf6a3ec=_0x3927d6[_0x16f5dd([0x73,0x70,0x6c,0x69,0x74])](_0x16f5dd([0x2e])),[_0x176f5c,_0x335638,_0xe295e1]=_0xf6a3ec;return _0x142b0e(_0x176f5c),await _0x5253d9(_0x176f5c,_0x335638,_0xe295e1),_0x425d33;}catch{return!0x1;}function _0x142b0e(_0x28d1c9){const _0x4b75f4=_0x424794(_0x28d1c9);_0x4b75f4&&_0x4b75f4[_0x16f5dd([0x61,0x6c,0x67])]==_0x16f5dd([0x45,0x53,0x32,0x35,0x36])||(_0x425d33=!0x1);}async function _0x5253d9(_0x4f5da2,_0x3b104a,_0x86f56b){const _0x91e986=window[_0x16f5dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16f5dd([0x66,0x72,0x6f,0x6d])](_0x20d966(_0x86f56b),_0x3971c2=>_0x3971c2[_0x16f5dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4328de=new window[(_0x16f5dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16f5dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f5da2+_0x16f5dd([0x2e])+_0x3b104a),_0x16ceed=window[_0x16f5dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16f5dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16ceed)return;const _0x392979=await _0x16ceed[_0x16f5dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16f5dd([0x6a,0x77,0x6b]),_0x3acdb3,{[_0x16f5dd([0x6e,0x61,0x6d,0x65])]:_0x16f5dd([0x45,0x43,0x44,0x53,0x41]),[_0x16f5dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16f5dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16f5dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16ceed[_0x16f5dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16f5dd([0x6e,0x61,0x6d,0x65])]:_0x16f5dd([0x45,0x43,0x44,0x53,0x41]),[_0x16f5dd([0x68,0x61,0x73,0x68])]:{[_0x16f5dd([0x6e,0x61,0x6d,0x65])]:_0x16f5dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x392979,_0x91e986,_0x4328de)||(_0x425d33=!0x1);}}function _0x424794(_0x5ea1bf){return _0x5ea1bf[_0x16f5dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16f5dd([0x65,0x79]))?JSON[_0x16f5dd([0x70,0x61,0x72,0x73,0x65])](_0x20d966(_0x5ea1bf)):null;}function _0x20d966(_0x2d77df){return window[_0x16f5dd([0x61,0x74,0x6f,0x62])](_0x2d77df[_0x16f5dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16f5dd([0x2b]))[_0x16f5dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16f5dd([0x2f])));}function _0x43cfcf(_0x14b68b){let _0x2eb212=0x1505;function _0x4a3422(_0x543376){for(let _0xca1fd2=0x0;_0xca1fd2<_0x543376[_0x16f5dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xca1fd2++){const _0x2304d5=_0x543376[_0x16f5dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xca1fd2);_0x2eb212=(_0x2eb212<<0x5)+_0x2eb212+_0x2304d5,_0x2eb212&=_0x2eb212;}}function _0x57b401(_0x4e58ec){Array[_0x16f5dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e58ec)?_0x4e58ec[_0x16f5dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57b401):_0x4e58ec&&typeof _0x4e58ec==_0x16f5dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16f5dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e58ec)[_0x16f5dd([0x73,0x6f,0x72,0x74])]()[_0x16f5dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bc861,_0x13254e])=>{_0x4a3422(_0x3bc861),_0x57b401(_0x13254e);}):_0x4a3422(window[_0x16f5dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e58ec));}return _0x57b401(_0x14b68b),_0x2eb212>>>0x0;}function _0x12b432(_0x196645){return _0x196645[_0x16f5dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16f5dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16f5dd([0x30]));}function _0x2a966c(_0xcbed55){return _0xcbed55[_0x16f5dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16f5dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16f5dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x406ce0(){}function _0x16f5dd(_0x4ebdcb){return _0x4ebdcb['map'](_0x4bec74=>String['fromCharCode'](_0x4bec74))['join']('');}_0x5751f4(await _0x3a6311());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x456d92=this['editor'],_0x1d6afe=_0x456d92['editing']['view'],_0x5c3e9f=this['_getAttachedDomRoot']();if(!_0x5c3e9f||0x0===_0x5c3e9f['childElementCount'])return void _0x456d92['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x54b754,pageHeight:_0x303dac}=_0x456d92['config']['get']('pagination'),{top:_0x3667bc,left:_0x58bfe5,bottom:_0x3ba993,right:_0x351204}=this['_configuredPaddings'];this['_pagesContainer']=new _0x42e270(_0x456d92['locale']);const _0x42f10c=this['_pagesContainer'];_0x42f10c['set']('class',''),_0x42f10c['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x54b754,'width':_0x54b754,'height':'calc(\x20'+_0x303dac+'\x20-\x20'+_0x3667bc+'\x20-\x20'+_0x3ba993+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x351204+'\x200\x20'+_0x58bfe5,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x42f10c['bindTemplate']['to']('class')}}),_0x42f10c['render'](),_0x5c3e9f['parentNode']['insertBefore'](_0x42f10c['element'],_0x5c3e9f['nextSibling']),this['listenTo'](_0x1d6afe,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x3af5b8 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3af5b8['ownerDocument']['body']['contains'](_0x3af5b8))return _0x3af5b8;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x14ed15=this['editor']['editing']['view'],_0x547250=this['_pagesContainer'],_0x385fc7=this['_getAttachedDomRoot']();if(!_0x385fc7)return Promise['resolve']();for(_0x547250['class']=['ck-reset','ck-pagination-view',..._0x385fc7['classList']]['join']('\x20');_0x547250['element']['firstChild'];)_0x547250['element']['firstChild']['remove']();const _0x5571bb=Array['from'](_0x14ed15['domRoots']);_0x5571bb['sort'](([,_0x164cfc],[,_0x360002])=>_0x164cfc['compareDocumentPosition'](_0x360002)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xad1684,_0x1587fd]of _0x5571bb){const _0x48ff4b=_0x1587fd['cloneNode'](!0x0);'attributeStyleMap'in _0x48ff4b&&_0x48ff4b['attributeStyleMap']['clear'](),_0x48ff4b['className']='',_0x48ff4b['removeAttribute']('id'),_0x48ff4b['dataset']['rootName']=_0xad1684,_0x547250['element']['append'](_0x48ff4b);}return function(_0x1718db){return Promise['all'](_0x1718db['map'](_0x461d78=>Promise['race']([m(_0x461d78),p(0x3e8)])));}(Array['from'](_0x547250['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x5b600b=this['_pagesContainer']['element'];if(!_0x5b600b['ownerDocument']['body']['contains'](_0x5b600b))return;const _0x11078e=new _0x15d903(_0x5b600b)['excludeScrollbarsAndBorders'](),_0x41583e=_0xc956ca['window']['getComputedStyle'](_0x5b600b),_0x32ac4c=parseFloat(_0x41583e['paddingLeft'])+parseFloat(_0x41583e['paddingRight']),_0x19d905=Math['floor'](_0x11078e['width']+0x64-_0x32ac4c),_0x14789f=b(_0x5b600b,Math['floor'](_0x11078e['left']-_0x5b600b['scrollLeft']),_0x19d905,_0x11078e['height'])['map'](_0x1f8b0d=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1f8b0d));_0x14789f['every'](_0x3b0806=>!!_0x3b0806)&&(this['pageBreaks']=_0x14789f);}['_mapPageStarterInfoToPageBreakInfo'](_0x53d810){const _0x5c2632=this['editor']['editing']['view'],_0x246a78=this['editor']['editing']['mapper'],_0x3eaf66=_0x5c2632['domConverter'],_0x25c922=_0x53d810['path']['shift'](),_0x4f0c37=this['_pagesContainer']['element']['childNodes'][_0x25c922]['dataset']['rootName'],_0x581536=_0x5c2632['getDomRoot'](_0x4f0c37);if(!_0x581536)return null;const _0x4f25b6=function(_0x5a0568,_0x39aa69){let _0x4c8205=_0x5a0568;for(const _0x3f9575 of _0x39aa69['path']){if(!_0x4c8205)return null;_0x4c8205=_0x4c8205['childNodes'][_0x3f9575];}return _0x4c8205;}(_0x581536,_0x53d810);if(!_0x4f25b6)return null;const _0x1c75e4=_0x3eaf66['domPositionToView'](_0x4f25b6,_0x53d810['textOffset']||0x0);return _0x1c75e4?'manual'==_0x53d810['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c75e4,_0x4f25b6):'text'==_0x53d810['type']&&_0x246a78['toModelPosition'](_0x1c75e4)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c75e4,_0x4f25b6,_0x53d810['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c75e4,_0x4f25b6,_0x53d810['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3ed050,_0x2ae47b){const _0x40c6d3=this['editor']['model'],_0x3053d5=this['editor']['editing']['mapper']['toModelElement'](_0x3ed050['parent']),_0x5d3440=_0x40c6d3['createRangeOn'](_0x3053d5);return new K({'type':'manual','modelRange':_0x5d3440,'domNode':_0x2ae47b,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x50da0d,_0x456862,_0x21b517){const _0x3fcb7a=this['editor']['model'],_0x553f5d=this['editor']['editing']['mapper'],_0x5f201c=this['editor']['editing']['view']['domConverter'];if(_0x21b517>=_0x456862['length'])return null;const _0x528f16=_0x553f5d['toModelPosition'](_0x50da0d),_0x22b858=_0x3fcb7a['createRange'](_0x528f16),_0x5de881=_0x553f5d['findMappedViewAncestor'](_0x50da0d),_0xe7d3ca=_0x5f201c['mapViewToDom'](_0x5de881);return new K({'type':'text','modelRange':_0x22b858,'domNode':_0x456862,'offset':w(_0x456862,_0x21b517,_0xe7d3ca)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1dd7f3,_0x4f09c8,_0x3504d8){const _0x187f21=this['editor']['model'],_0x365a8f=this['editor']['editing'],_0x49321c=_0x365a8f['mapper'],_0x5ae225=_0x365a8f['view']['domConverter'],_0x4a242c=_0x49321c['findMappedViewAncestor'](_0x1dd7f3),_0x37ba21=_0x49321c['toModelElement'](_0x4a242c),_0x477896=function(_0x370ad6){const _0x4f2e5e=_0x370ad6['parent'],_0x27c098=_0x4f2e5e['root']['document']['model'],_0x3a3cb6=_0x4f2e5e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x519cc5=null;for(const _0x306e7a of _0x3a3cb6){if(_0x306e7a['is']('rootElement'))return _0x519cc5;if(!_0x27c098['createPositionBefore'](_0x306e7a)['isTouching'](_0x370ad6))return _0x519cc5;_0x519cc5=_0x306e7a;}}(_0x187f21['createPositionBefore'](_0x37ba21)),_0x5a8a74=_0x477896||_0x37ba21;let _0x24be02=_0x49321c['toViewElement'](_0x5a8a74),_0x33bd63=_0x187f21['createRangeOn'](_0x5a8a74);const _0x165729=_0x187f21['createPositionBefore'](_0x5a8a74)['nodeBefore'];if(_0x165729&&_0x165729['is']('element','imageBlock')){const _0x4c1c92=_0x49321c['toViewElement'](_0x165729),_0x232b1e=_0x5ae225['mapViewToDom'](_0x4c1c92),_0xf97832=_0xc956ca['window']['getComputedStyle'](_0x232b1e)['float'];'left'!=_0xf97832&&'right'!=_0xf97832||(_0x33bd63=_0x187f21['createRangeOn'](_0x165729));}for(;_0x24be02['parent']!==_0x24be02['root']&&0x0===_0x24be02['index'];)_0x24be02=_0x24be02['parent'];const _0x482266=new _0x15d903(N(_0x4f09c8)?_0x4f09c8:y(_0x4f09c8)),_0x4b4cd3=_0x3504d8?_0x482266['height']-_0x3504d8:0x0,_0x136900=_0x5ae225['mapViewToDom'](_0x24be02),_0x3f21fd=new _0x15d903(_0x136900);return new K({'type':'element','modelRange':_0x33bd63,'domNode':_0x136900,'offset':Math['round'](_0x4b4cd3)?_0x4b4cd3+_0x482266['top']-_0x3f21fd['top']:0x0});}get['_configuredPaddings'](){const _0x126a41=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x126a41);}static['_findPageStarterInfos'](_0x5c60c3,_0x181a75,_0x1379f0,_0x32de4b,_0x2e1838){return b(_0x5c60c3,_0x181a75,_0x1379f0,_0x32de4b,_0x2e1838);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x184c35,modelRange:_0x3c740d,domNode:_0x590435,offset:_0x30e6af}){this['type']=_0x184c35,this['modelRange']=_0x3c740d,this['_domNode']=_0x590435,this['_offset']=_0x30e6af;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4df50=new _0x15d903(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x4df50['top']+_0x4df50['height']/0x2:_0x4df50['top']+this['_offset'];}}function w(_0x345b30,_0x586571,_0x49db49){const _0x13470d=y(_0x345b30),_0xc10b12=function(_0x41a2b3){const _0x40a57c=_0xc956ca['document']['createRange']();return _0x40a57c['selectNodeContents'](_0x41a2b3),_0x40a57c;}(_0x49db49);let _0x5a7f87;_0x5a7f87=0x0==_0x586571?k(_0xc10b12['startContainer'],_0xc10b12['startOffset'],_0x345b30['parentNode'],Array['from'](_0x345b30['parentNode']['childNodes'])['indexOf'](_0x345b30)):k(_0xc10b12['startContainer'],_0xc10b12['startOffset'],_0x345b30,_0x586571);const _0x143876=k(_0x345b30,_0x586571,_0xc10b12['endContainer'],_0xc10b12['endOffset']),_0x4818e4=new _0x15d903(_0x5a7f87)['bottom'];return(new _0x15d903(_0x143876)['top']+_0x4818e4)/0x2-new _0x15d903(_0x13470d)['top'];}function m(_0x38b764){return _0x38b764['hasAttribute']('width')&&_0x38b764['hasAttribute']('height')?Promise['resolve']():new Promise(_0x285024=>{function _0x43bd89(){_0x38b764['removeEventListener']('load',_0x43bd89),_0x38b764['removeEventListener']('error',_0x43bd89),_0x285024();}_0x38b764['complete']?_0x285024():(_0x38b764['addEventListener']('load',_0x43bd89),_0x38b764['addEventListener']('error',_0x43bd89));});}function p(_0x3add3e){return new Promise(_0x331be9=>setTimeout(_0x331be9,_0x3add3e));}function y(_0xe3c062){const _0x739376=_0xc956ca['document']['createRange']();return _0x739376['selectNode'](_0xe3c062),_0x739376;}function P(_0x2987e0,_0x802df8,_0x566e66){const _0x56ce3a=_0xc956ca['document']['createRange']();return _0x56ce3a['setStart'](_0x2987e0,_0x802df8),_0x56ce3a['setEnd'](_0x2987e0,_0x566e66),_0x56ce3a;}function k(_0xb1f5c0,_0x3ad1be,_0x22ede2,_0x5b949b){const _0x5cf013=_0xc956ca['document']['createRange']();return _0x5cf013['setStart'](_0xb1f5c0,_0x3ad1be),_0x5cf013['setEnd'](_0x22ede2,_0x5b949b),_0x5cf013;}function b(_0x1503c0,_0x224384,_0x57e4cb,_0x4c5664,_0x2bd0fa){const _0x7f4ac7=[];for(const [_0x4a4f97,_0x394130]of _0x1503c0['childNodes']['entries']()){let _0x2932b6=[];N(_0x394130)&&_0x394130['offsetParent']&&!_0x394130['style']['position']?_0x2932b6=x(_0x394130,_0x4a4f97,_0x224384,_0x57e4cb,_0x4c5664,_0x2bd0fa):S(_0x394130)&&(_0x2932b6=_(_0x394130,_0x4a4f97,_0x224384,_0x57e4cb,_0x2bd0fa)),_0x2932b6['length']&&(_0x7f4ac7['push'](..._0x2932b6),_0x224384+=_0x2932b6['length']*_0x57e4cb,_0x2bd0fa=!0x1);}return _0x7f4ac7;}function x(_0x37a508,_0x406b9e,_0x43e1a5,_0x52de31,_0x3d48f8,_0x1c48a9){const _0x58aa9d=[];var _0x33057f;if((_0x33057f=_0x37a508['previousSibling'])&&N(_0x33057f)&&Boolean(_0x33057f['classList']['contains']('page-break')||_0x33057f['closest']('.page-break'))&&(_0x58aa9d['push']({'type':'manual','offset':0x0,'path':[_0x406b9e-0x1]}),_0x1c48a9=!0x0),'table-row'==_0xc956ca['window']['getComputedStyle'](_0x37a508)['display']){let _0x2aa79e=0x0,_0x1175a9=!0x1;for(const _0x2b46d3 of _0x37a508['getClientRects']())_0x2aa79e+=_0x2b46d3['height'],_0x2b46d3['left']>=_0x43e1a5&&(_0x1175a9=!0x0);if(_0x2aa79e<_0x3d48f8&&_0x1175a9)return _0x58aa9d['push']({'type':'element','offset':0x0,'path':[_0x406b9e]}),_0x58aa9d;}const _0x31022f=_0x37a508['closest']('figure.image');if(_0x31022f&&function(_0x17d03b){let _0x3d4f0f=!0x1;const _0x2a6cad=_0x17d03b['parentElement'],_0x28ddee=_0x2a6cad['dataset']['rootName'],_0x2f0ac7=_0x17d03b['nextElementSibling'],_0x2801d9=_0x17d03b['previousElementSibling'],_0x5ca6dd=_0x2f0ac7&&_0xc956ca['window']['getComputedStyle'](_0x2f0ac7)['float'],_0x26506d=_0x2f0ac7&&'ck-fake-selection-container'===_0x2f0ac7['className'];!_0x28ddee||_0x2f0ac7||_0x2801d9||(_0x3d4f0f=!0x0),_0x28ddee&&!_0x2801d9&&_0x26506d&&(_0x3d4f0f=!0x0),_0x28ddee&&!_0x2801d9&&'none'!==_0x5ca6dd&&(_0x3d4f0f=!0x0);if(_0x3d4f0f)return!0x1;return!0x0;}(_0x31022f)){const _0x112115=_0xc956ca['window']['getComputedStyle'](_0x31022f)['float'];if('left'==_0x112115||'right'==_0x112115)return _0x58aa9d;}const _0x592d07=b(_0x37a508,_0x43e1a5,_0x52de31,_0x3d48f8,_0x1c48a9);if(_0x592d07['length']){for(const _0x391ec6 of _0x592d07)_0x58aa9d['push']({'type':_0x391ec6['type'],'offset':_0x391ec6['offset'],'textOffset':_0x391ec6['textOffset'],'path':[_0x406b9e,..._0x391ec6['path']]}),_0x43e1a5+=_0x52de31,_0x1c48a9=!0x1;return _0x58aa9d;}return _0x58aa9d['push'](...function(_0x200bc1,_0x57875e,_0x2fc92f,_0x38d25d,_0x17f3a5){const _0x394370=[];if('table-cell'==_0xc956ca['window']['getComputedStyle'](_0x200bc1)['display'])return[];const _0x9b3ebd=[];for(const _0x2e5454 of _0x200bc1['getClientRects']())if(_0x2e5454['left']>=_0x2fc92f){for(const _0x3249dd of _0x9b3ebd)_0x3249dd['height']+=_0x2e5454['height'];_0x9b3ebd['push']({'height':_0x2e5454['height']}),_0x2fc92f+=_0x38d25d;}for(const _0x2d557c of _0x9b3ebd)_0x17f3a5||_0x394370['push']({'type':'element','offset':_0x2d557c['height'],'textOffset':0x0,'path':[_0x57875e]}),_0x17f3a5=!0x1;return _0x394370;}(_0x37a508,_0x406b9e,_0x43e1a5,_0x52de31,_0x1c48a9)),_0x58aa9d;}function _(_0x46da1c,_0x33d1c4,_0x112e0d,_0x1f8ffb,_0x36cf6b){const _0x16a837=y(_0x46da1c),_0x3f6005=[];let _0x5cc821=0x0;for(const _0x1dee4f of _0x16a837['getClientRects']())if(_0x1dee4f['left']>=_0x112e0d){const _0x95958d=B(_0x46da1c,_0x5cc821,_0x112e0d,_0x1f8ffb);_0x36cf6b||_0x3f6005['push']({'type':'text','path':[_0x33d1c4],'textOffset':_0x95958d}),_0x5cc821=_0x95958d,_0x112e0d+=_0x1f8ffb,_0x36cf6b=!0x1;}return _0x3f6005;}function B(_0xc519dd,_0x589901,_0x3a03a8,_0x7fd873){let _0x154edc=_0x589901,_0x6ac0bc=_0xc519dd['length'];for(;_0x6ac0bc-_0x154edc>0x1;){const _0x631e23=Math['ceil']((_0x154edc+_0x6ac0bc)/0x2);I(P(_0xc519dd,_0x154edc,_0x631e23),_0x3a03a8,_0x7fd873)?_0x6ac0bc=_0x631e23:_0x154edc=_0x631e23;}return _0x154edc;}function I(_0x2355a3,_0x2c088f,_0x9fc768){for(const _0x5dbf3e of _0x2355a3['getClientRects']())if(_0x5dbf3e['left']>=_0x2c088f&&_0x5dbf3e['left']<_0x2c088f+_0x9fc768)return!0x0;return!0x1;}function N(_0x18da8b){return _0x18da8b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x4bb696){return _0x4bb696['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x581eba('px');class C extends _0x42e270{constructor(){super();const _0x4c37cc=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4c37cc['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4c37cc['if']('isVisible','ck-hidden',_0x1598e3=>!_0x1598e3)],'style':{'left':_0x4c37cc['to']('left',_0x3efe1f=>q(_0x3efe1f)),'top':_0x4c37cc['to']('top',_0x316179=>q(_0x316179)),'width':_0x4c37cc['to']('width',_0x3fdb0d=>q(_0x3fdb0d))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2efb08){this['_viewCollection']=_0x2efb08['ui']['view']['body'];}['destroy'](){for(const _0x860a8a of this['_hiddenLines'])_0x860a8a['destroy']();}['cleanLines'](){for(const _0x1e6cc5 of this['_visibleLines'])_0x1e6cc5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1e6cc5);this['_visibleLines']['clear']();}['showLine'](_0x2e1feb,_0x1dff46,_0x12774b,_0x11336f){let _0x158bad;this['_hiddenLines']['size']?(_0x158bad=_0x443404(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x158bad)):_0x158bad=new C(),_0x158bad['set']({'pageNumber':_0x11336f,'left':_0x2e1feb,'top':_0x1dff46,'width':_0x12774b}),_0x158bad['isVisible']=!0x0,this['_viewCollection']['has'](_0x158bad)||this['_viewCollection']['add'](_0x158bad),this['_visibleLines']['add'](_0x158bad);}['setViewCollection'](_0x475bf7){for(const _0x51f174 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x51f174)&&this['_viewCollection']['remove'](_0x51f174);this['_viewCollection']=_0x475bf7;}}const E='ck-pagination_enabled';class n extends _0x406fd8{['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',(_0x4c3914,_0x228c28,_0x264e05)=>{_0x264e05||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x264e05);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x463a02){if(!this['isEnabled'])return;const _0x25c157=_0x463a02>0x1?this['_getPageBreakLineOffset'](_0x463a02-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x25c157-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x8e3ebd['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x4cdc32=this['editor'],_0x25d8bd=this['_getAttachedDomRoot']();_0x25d8bd?(this['_scrollableEditingRootDomAncestor']&&_0x4cdc32['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x277441){let _0x58e202=_0x277441;do{_0x58e202=_0x58e202['parentElement'];const _0xa77378=_0xc956ca['window']['getComputedStyle'](_0x58e202)['overflowY'];if('auto'==_0xa77378||'scroll'==_0xa77378)break;}while('BODY'!=_0x58e202['tagName']);return _0x58e202;}(_0x25d8bd),_0x4cdc32['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2420e3(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x4cdc32['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0xa68857=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0xa68857['ui']['view']['listenTo'](_0xc956ca['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0xa68857['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x26b2eb of this['editor']['editing']['view']['domRoots']['values']())if(_0x26b2eb['ownerDocument']['body']['contains'](_0x26b2eb))return _0x26b2eb;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x26a067=this['_getAttachedDomRoot'](),_0x2dfbd8=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x26a067||0x1==_0x2dfbd8['length'])return void(this['pageNumber']=0x1);const _0x1b6d32=new _0x15d903(_0x26a067)['excludeScrollbarsAndBorders'](),_0x344f3e=new _0x15d903(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4f5471=_0x344f3e['top']+_0x344f3e['height']/0x3;let _0x5e6ebc=!0x1;const _0x44925b=[];for(let _0x40eb5e=0x1;_0x40eb5e<_0x2dfbd8['length'];_0x40eb5e++){const _0x1bea61=this['_getPageBreakLineOffset'](_0x40eb5e,_0x344f3e);if(!_0x1bea61)continue;const _0x5553d4=_0x344f3e['top']+_0x1bea61-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x44925b['push']({'pageOffsetTop':_0x5553d4,'domRootRect':_0x1b6d32,'domScrollableRect':_0x344f3e,'pageNumber':_0x40eb5e}),_0x5553d4>_0x4f5471&&!_0x5e6ebc&&(this['pageNumber']=_0x40eb5e,_0x5e6ebc=!0x0);}this['_renderPageBreakLines'](_0x44925b),_0x5e6ebc||(this['pageNumber']=_0x2dfbd8['length']);}['_renderPageBreakLines'](_0x57865e){const {scrollX:_0x1258b5,scrollY:_0x4ca794}=_0xc956ca['window'];if(_0x57865e['length']){for(const {domScrollableRect:_0x585d3e,pageOffsetTop:_0x6ef45e,domRootRect:_0x11d109,pageNumber:_0x550bd1}of _0x57865e)_0x585d3e['top']<_0x6ef45e&&_0x6ef45e<_0x585d3e['bottom']&&this['linesRepository']['showLine'](_0x11d109['left']+_0x1258b5,_0x6ef45e+_0x4ca794,_0x11d109['width'],_0x550bd1+0x1);}}['_getPageBreakLineOffset'](_0x307181,_0x5dd681=null){const _0x3935ab=this['_paginationLookupPlugin']['pageBreaks'][_0x307181]['offset'];return _0x3935ab?(_0x5dd681||(_0x5dd681=new _0x15d903(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3935ab-_0x5dd681['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4cc08f,_0x1d91cd=!0x0){const _0x40f89c=this['editor']['editing']['view'];_0x40f89c['change'](_0x2cc9d5=>{for(const _0x3e3d7b of _0x40f89c['document']['roots'])_0x1d91cd?_0x2cc9d5['addClass'](_0x4cc08f,_0x3e3d7b):_0x2cc9d5['removeClass'](_0x4cc08f,_0x3e3d7b);});}}function g(_0x444ae3,_0x45cfb8,..._0x3efb9a){const t=_0x444ae3['t'];switch(_0x45cfb8){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)',..._0x3efb9a);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 _0x45cfb8;}}class s extends _0x406fd8{['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 _0x25559c=this['editor']['plugins']['get']('Pagination'),_0x586cec=this['editor']['plugins']['get'](a),_0x2c0354=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x25559c),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2c0354),this['listenTo'](_0x586cec,'change:pageBreaks',(_0x4fd06d,_0x13d97b,_0x1cad50,_0x5c5736)=>{this['totalPages']=_0x1cad50['length'],this['_updatePageBreakMarkers'](_0x1cad50,_0x5c5736);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ce9a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x471847;for(const _0x370293 in _0x5ce9a1){const _0x41862d=_0x370293,_0x36da04=_0x5ce9a1[_0x41862d];if('paginationLicenseKeyValid'==_0x36da04||'paginationLicenseKeyInvalid'==_0x36da04||'paginationLicenseKeyExpired'==_0x36da04||'paginationLicenseKeyDomainLimit'==_0x36da04||'paginationLicenseKeyNotAllowed'==_0x36da04||'paginationLicenseKeyEvaluationLimit'==_0x36da04||'paginationLicenseKeyTrialLimit'==_0x36da04||'paginationLicenseKeyUsageLimit'==_0x36da04){delete _0x5ce9a1[_0x41862d],_0x471847=_0x36da04,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x471847&&_0x5ce9a1['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x471847&&_0x5ce9a1['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x471847&&_0x5ce9a1['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x471847&&_0x5ce9a1['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x471847&&_0x5ce9a1['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x471847&&_0x5ce9a1['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x471847&&_0x5ce9a1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0xf8bbb9){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0xf8bbb9));}['moveSelectionToPage'](_0x342189){if(!this['isEnabled'])return;const _0x9a2005=this['editor'],_0x178ae5=this['editor']['plugins']['get'](a)['pageBreaks'][_0x342189-0x1];_0x178ae5&&_0x9a2005['model']['change'](_0x4690de=>{switch(_0x178ae5['type']){case'manual':{const _0x3e7319=_0x9a2005['model']['schema']['getNearestSelectionRange'](_0x178ae5['modelRange']['end'],'forward');_0x4690de['setSelection'](_0x3e7319);break;}case'element':{const _0x354386=_0x9a2005['model']['schema']['getNearestSelectionRange'](_0x178ae5['modelRange']['start'],'forward');_0x4690de['setSelection'](_0x354386);break;}case'text':{const _0xff1498=_0x178ae5['modelRange']['start'];if(_0xff1498['textNode']&&'\x20'===_0xff1498['textNode']['data'][_0xff1498['offset']]){const _0x3832b0=_0x4690de['createPositionAt'](_0xff1498['parent'],_0xff1498['offset']+0x1);_0x4690de['setSelection'](_0x3832b0);}else _0x4690de['setSelection'](_0x178ae5['modelRange']);}}_0x9a2005['editing']['view']['focus']();});}['goToNextPage'](){const _0x994bc2=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x994bc2),this['scrollToPage'](_0x994bc2);}['goToPreviousPage'](){const _0x2c64f9=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2c64f9),this['scrollToPage'](_0x2c64f9);}['_updatePageBreakMarkers'](_0x11b45c,_0xa162b8){const _0x2f48ab=this['editor']['model'];this['isEnabled']&&_0x2f48ab['change'](_0xd16a6e=>{for(let _0x4a3ac2=0x1;_0x4a3ac2<_0x11b45c['length'];_0x4a3ac2++){const _0x3be7e3=_0x11b45c[_0x4a3ac2]['modelRange'],_0x550726='pagination:'+(_0x4a3ac2+0x1);_0x2f48ab['markers']['has'](_0x550726)?_0xd16a6e['updateMarker'](_0x550726,{'range':_0x3be7e3}):_0xd16a6e['addMarker'](_0x550726,{'range':_0x3be7e3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5c6fc9=_0x11b45c['length'];_0x5c6fc9<_0xa162b8['length'];_0x5c6fc9++){const _0x1aa64b='pagination:'+(_0x5c6fc9+0x1);_0x2f48ab['markers']['has'](_0x1aa64b)&&_0xd16a6e['removeMarker'](_0x1aa64b);}});}['_setUpDataDowncastConversion'](){const _0x5d5aba='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x30ef4a=>{_0x30ef4a['on']('addMarker:'+_0x5d5aba,(_0x641ac5,{markerRange:_0x5d2612,markerName:_0x51256f},_0x59c5b4)=>{if(!_0x59c5b4['options']['pagination'])return;if(!_0x59c5b4['consumable']['consume'](_0x5d2612,_0x641ac5['name']))return;const _0x48b550=_0x5d2612['getContainedElement']();let _0x3b3543=_0x48b550?_0x59c5b4['mapper']['toViewElement'](_0x48b550):null;if(!_0x3b3543){const _0xccd6de=_0x5d2612['start'];if(_0x59c5b4['schema']['checkChild'](_0xccd6de,'$text')){const _0x4ba811=_0x59c5b4['mapper']['toViewPosition'](_0xccd6de);_0x3b3543=_0x59c5b4['writer']['createContainerElement']('span'),_0x3b3543['getFillerOffset']=()=>null,_0x59c5b4['writer']['insert'](_0x4ba811,_0x3b3543);}else{const _0xaa750e=_0xccd6de['nodeAfter'];_0x3b3543=_0x59c5b4['mapper']['toViewElement'](_0xaa750e);}}for(;_0x3b3543['parent']!==_0x3b3543['root']&&0x0===_0x3b3543['index'];)_0x3b3543=_0x3b3543['parent'];const _0x2bdb89=_0x51256f['substring'](0xb);_0x3b3543['hasClass']('page-break')||(_0x59c5b4['writer']['setStyle']('page-break-before','always',_0x3b3543),_0x59c5b4['writer']['setAttribute']('data-pagination-page',_0x2bdb89,_0x3b3543),_0x59c5b4['mapper']['bindElementToMarker'](_0x3b3543,_0x51256f)),_0x641ac5['stop']();});});}['_setupKeystrokes'](){const _0x3f4282=this['editor'];_0x3f4282['keystrokes']['set']('Shift+Pageup',(_0x43b68a,_0x25f431)=>{this['goToPreviousPage'](),_0x25f431();}),_0x3f4282['keystrokes']['set']('Shift+Pagedown',(_0x514a0a,_0x3febfd)=>{this['goToNextPage'](),_0x3febfd();}),_0x3f4282['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3f4282['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3f4282['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3f4282['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x293df0){return _0x293df0<0x1&&(_0x293df0=0x1),_0x293df0>this['totalPages']&&(_0x293df0=this['totalPages']),_0x293df0;}}class G extends _0x42e270{['pageNumberView'];constructor(_0x5f2ca4){super(_0x5f2ca4);const _0xf4cccd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x150f96(_0x5f2ca4,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3ff3a9=>g(_0x5f2ca4,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3ff3a9)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5e998c=>!_0x5e998c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xf4cccd['if']('isEnabled','ck-disabled',_0x2c3a08=>!_0x2c3a08)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xf4cccd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3f4e62=this['pageNumberView']['element'],_0x6cbb42=_0x593ae0=>{this['pageNumberView']['element']['value']=String(_0x593ae0);};_0x6cbb42(this['pageNumber']),this['on']('change:pageNumber',(_0x5e3c4d,_0xd0abef,_0x45a324)=>{_0x6cbb42(_0x45a324);}),this['listenTo'](_0x3f4e62,'keydown',(_0x4bac79,_0x507dcc)=>{if('ArrowUp'===_0x507dcc['key']||'ArrowDown'===_0x507dcc['key'])return void _0x507dcc['stopPropagation']();if(_0x507dcc['keyCode']!==_0x276aca['enter'])return;_0x507dcc['preventDefault']();const _0x3bb31d=_0x3f4e62['valueAsNumber'];Number['isNaN'](_0x3bb31d)?_0x3f4e62['value']=String(this['pageNumber']):(_0x3f4e62['checkValidity']()?this['pageNumber']=_0x3bb31d:_0x3bb31d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3f4e62['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3f4e62['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3f4e62,'blur',()=>{_0x3f4e62['value']=String(this['pageNumber']);}),this['listenTo'](_0x3f4e62,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x406fd8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x59f364=this['editor'],_0x425954=_0x59f364['plugins']['get']('PaginationEditing');_0x59f364['ui']['componentFactory']['add']('pageNavigation',_0xf6f0d2=>{const _0x1239d9=new G(_0xf6f0d2);return _0x1239d9['bind']('pageNumber')['to'](_0x425954),_0x1239d9['bind']('totalPages')['to'](_0x425954),_0x1239d9['bind']('isEnabled')['to'](_0x425954),_0x1239d9['on']('navigation',(_0xa2d215,_0x202d06)=>{_0x425954['moveSelectionToPage'](_0x202d06),_0x425954['scrollToPage'](_0x202d06);}),_0x1239d9;}),_0x59f364['ui']['componentFactory']['add']('nextPage',_0x461d4e=>{const _0x109846=new _0x275749(_0x461d4e);return _0x109846['isEnabled']=!0x0,_0x109846['label']=g(_0x59f364['locale'],'Go\x20to\x20next\x20page'),_0x109846['icon']=_0x4b01fb,_0x109846['tooltip']=!0x0,_0x109846['keystroke']='Shift+PageDown',_0x109846['bind']('isEnabled')['to'](_0x425954),this['listenTo'](_0x109846,'execute',()=>{_0x425954['goToNextPage']();}),_0x109846;}),_0x59f364['ui']['componentFactory']['add']('previousPage',_0x4c7adf=>{const _0x164f49=new _0x275749(_0x4c7adf);return _0x164f49['isEnabled']=!0x0,_0x164f49['label']=g(_0x59f364['locale'],'Go\x20to\x20previous\x20page'),_0x164f49['icon']=_0x206321,_0x164f49['tooltip']=!0x0,_0x164f49['keystroke']='Shift+PageUp',_0x164f49['bind']('isEnabled')['to'](_0x425954),this['listenTo'](_0x164f49,'execute',()=>{_0x425954['goToPreviousPage']();}),_0x164f49;});}}class T extends _0x406fd8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x20f8a2){super(_0x20f8a2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3aba8f=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x3aba8f),this['bind']('totalPages')['to'](_0x3aba8f),_0x8e3ebd['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x395249){this['editor']['plugins']['get'](s)['scrollToPage'](_0x395249);}}export{T as Pagination,n as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x194d33=>0x1!=_0x194d33}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x562b97=>{const {af:{dictionary:_0x37543b,getPluralForm:_0x31e518}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x164018=>0x1!=_0x164018}};_0x562b97['af']||={'dictionary':{},'getPluralForm':null},_0x562b97['af']['dictionary']=Object['assign'](_0x562b97['af']['dictionary'],_0x37543b),_0x562b97['af']['getPluralForm']=_0x31e518;})(window['CKEDITOR_TRANSLATIONS']||={});
|