@ckeditor/ckeditor5-pagination 45.1.0 → 45.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index-editor.css +4 -0
  3. package/dist/index.css +13 -0
  4. package/dist/index.js +1 -1
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +7 -7
  152. package/src/index.js +1 -1
  153. package/src/legacyerrors.js +1 -1
  154. package/src/pagination.js +1 -1
  155. package/src/paginationediting.js +1 -1
  156. package/src/paginationlookup.js +1 -1
  157. package/src/paginationrenderer.js +1 -1
  158. package/src/paginationui.js +1 -1
  159. package/src/ui/linesrepository.js +1 -1
  160. package/src/ui/lineview.js +1 -1
  161. package/src/ui/pagenavigatorview.js +1 -1
  162. package/src/utils/common-translations.js +1 -1
  163. package/theme/pagination.css +12 -0
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>Y});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=b;function a(){const t=["race","textOffset","518mnfeBp","bottom","classList","imageBlock","bindTemplate","calc( ","_findPageStarterInfos","style","fromCharCode","auto","mapViewToDom","once","isEnabled","firstChild","href","createRangeOn","editor","get","from","nodeType","load","parentNode","path","then","error","floor","plugins","isOfficialPlugin","_mapManualPageStarterInfoToPageBreakInfo","getComputedStyle","position","editing","remove","87726HVCEBy","parentElement","type","_onUiReady","class","selectNodeContents","update","39sJzOID","ready","paddingLeft","_mapPageStarterInfoToPageBreakInfo","11570aBRlbi","setStart","none","dataset","index","locale","bind","text","element","clear","table-cell"," 0 ","display","nextSibling","pagination","hasAttribute","PaginationLookup","className","div","all","body","TEXT_NODE","ELEMENT_NODE","removeEventListener","set","createPositionBefore","compareDocumentPosition","indexOf","closest","every","assign","9774801TkRAyc","toModelPosition","contains","ceil","domConverter","float","4301wzZEnp","PaginationEditing","cancel","afterInit","rootElement","_mapElementPageStarterInfoToPageBreakInfo","complete","_getAttachedDomRoot","isTouching","map","pagination-config-not-found","attributeStyleMap","config","toViewElement","pagination.pageMargins","setEnd","window","domPositionToView","shift","startOffset","destroy","_mapTextPageStarterInfoToPageBreakInfo","length","_pagesContainer","render","53810pJSFWp","addEventListener","createRange","isPremiumPlugin","mapper","view","border-box","removeAttribute","width","insertBefore","offsetParent","absolute","endOffset","document","getDomRoot","left","paddingRight","right","modelRange","domRoots","startContainer","_configuredPaddings","10mm","excludeScrollbarsAndBorders","getClientRects","round","root","cloneNode","setTemplate","values","_recalculatePageBreaksDebounced","offset","-99999px","_domNode","8UuXrVZ","querySelectorAll","100px","entries","push","6789032qCnwJC","parent","childElementCount","init","previousElementSibling",".page-break","previousSibling","hidden","img","model","listenTo","join","pageBreaks","_updatePageBreaksData","append","figure.image","endContainer","DOCUMENT_POSITION_PRECEDING","scrollLeft","change:isEnabled","nodeBefore","_offset","height","toModelElement","low","sort","11905BnamZd","_recalculatePageBreaks","top","findMappedViewAncestor","rootName","ck-reset","table-row","page-break","ck-fake-selection-container","ownerDocument","ck-pagination-view","533957GPnIve","pluginName","getAncestors","childNodes","resolve","nextElementSibling","selectNode"," - ","manual"];return(a=function(){return t})()}!function(t){const e=b,n=t();for(;;)try{if(571537===parseInt(e(273))/1+parseInt(e(390))/2*(-parseInt(e(324))/3)+parseInt(e(231))/4*(-parseInt(e(262))/5)+parseInt(e(317))/6*(parseInt(e(284))/7)+parseInt(e(236))/8+-parseInt(e(359))/9+parseInt(e(328))/10*(-parseInt(e(365))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);class c extends t.Plugin{[r(227)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(263)]()),200);[r(388)]=null;static get[r(274)](){return r(344)}static get[r(311)](){return!0}static get[r(393)](){return!0}[r(239)](){const t=r;if(this[t(352)]({pageBreaks:[]}),!this[t(300)][t(377)][t(301)](t(342)))return void(0,o.logWarning)(t(375),this[t(300)][t(377)]);const e=this[t(300)][t(310)][t(301)](t(366));this[t(334)](t(296)).to(e),this[t(300)].ui[t(295)](t(325),(()=>this[t(320)]())),this.on(t(255),((e,n,i)=>{i&&this[t(227)]()}))}[r(368)](){!async function(t){const e=g([86,81,78,113,66,57,97,119,76,120,79,56,106,54,67,108,69,90,98,70,107,117,112,104,53,85,55,111,83,122,84,100,88,51,115,73,52,80,50,99,75,65,77,68,109,114,82,121,116,72,87,74,89,101,105,71,103,102,48,118,49,110]),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=b;return t[e(374)]((t=>String[e(292)](t)))[e(247)]("")}!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([86]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])((c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])]((t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116])))[g([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[g([116,104,101,110])](c)[g([99,97,116,99,104])]((()=>{c(g([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])(((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}}),{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))}),{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])]((()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch(t){return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),(t=>t[g([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1747180800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,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(298)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch(t){return g([73,110,118,97,108,105,100])}}())}(this)}[r(385)](){const t=r;super[t(385)](),this[t(388)]&&(this[t(227)][t(367)](),this[t(388)][t(385)](),this[t(388)][t(336)][t(316)]())}[r(320)](){const t=r,n=this[t(300)],i=n[t(315)][t(395)],o=this[t(372)]();if(!o||0===o[t(238)])return void n.ui[t(295)](t(323),(()=>this[t(320)]()));const{pageWidth:s,pageHeight:a}=n[t(377)][t(301)](t(342)),{top:c,left:u,bottom:l,right:p}=this[t(411)];this[t(388)]=new e.View(n[t(333)]);const f=this[t(388)];f[t(352)](t(321),""),f[t(225)]({tag:t(346),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(289)+a+t(280)+c+t(280)+l+" )",minWidth:t(293),minHeight:t(293),padding:"0 "+p+t(339)+u,columnGap:t(233),border:0,boxSizing:t(396),columnCount:t(293),columnFill:t(293),overflow:t(243),position:t(401),top:t(229),left:t(229)},tabindex:"-1",class:f[t(288)].to(t(321))}}),f[t(389)](),o[t(305)][t(399)](f[t(336)],o[t(341)]),this[t(246)](i,t(389),(()=>this[t(227)]()),{priority:t(260)}),this[t(227)]()}[r(372)](){const t=r;for(const e of this[t(300)][t(315)][t(395)][t(409)][t(226)]())if(e[t(271)][t(348)][t(361)](e))return e;return null}[r(263)](){const t=r;if(!this[t(296)])return Promise[t(277)]();const e=this[t(300)][t(315)][t(395)],n=this[t(388)],i=this[t(372)]();if(!i)return Promise[t(277)]();for(n[t(321)]=[t(267),t(272),...i[t(286)]][t(247)](" ");n[t(336)][t(297)];)n[t(336)][t(297)][t(316)]();const o=Array[t(302)](e[t(409)]);o[t(261)]((([,e],[,n])=>e[t(354)](n)==Node[t(253)]?1:-1));for(const[e,i]of o){const o=i[t(224)](!0);t(376)in o&&o[t(376)][t(337)](),o[t(345)]="",o[t(397)]("id"),o[t(331)][t(266)]=e,n[t(336)][t(250)](o)}return function(e){const n=t;return Promise[n(347)](e[n(374)]((t=>{return Promise[n(282)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(302)](n[t(336)][t(232)](t(244))))[t(307)]((()=>this[t(249)]()))}[r(249)](){const t=r,e=this[t(388)][t(336)];if(!e[t(271)][t(348)][t(361)](e))return;const n=new o.Rect(e)[t(413)](),i=o.global[t(381)][t(313)](e),s=parseFloat(i[t(326)])+parseFloat(i[t(406)]),a=Math[t(309)](n[t(398)]+100-s),c=g(e,Math[t(309)](n[t(405)]-e[t(254)]),a,n[t(258)])[t(374)]((e=>this[t(327)](e)));c[t(357)]((t=>!!t))&&(this[t(248)]=c)}[r(327)](t){const e=r,n=this[e(300)][e(315)][e(395)],i=this[e(300)][e(315)][e(394)],o=n[e(363)],s=t[e(306)][e(383)](),a=this[e(388)][e(336)][e(276)][s][e(331)][e(266)],c=n[e(404)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(306)]){if(!o)return null;o=o[i(276)][t]}return o}(c,t);if(!u)return null;const l=o[e(382)](u,t[e(283)]||0);return l?e(281)==t[e(319)]?this[e(312)](l,u):e(335)==t[e(319)]&&i[e(360)](l)[e(228)]?this[e(386)](l,u,t[e(283)]):this[e(370)](l,u,t[e(228)]):null}[r(312)](t,e){const n=r,i=this[n(300)][n(245)],o=this[n(300)][n(315)][n(394)][n(259)](t[n(237)]),s=i[n(299)](o);return new u({type:n(281),modelRange:s,domNode:e,offset:0})}[r(386)](t,e,n){const i=r,o=this[i(300)][i(245)],s=this[i(300)][i(315)][i(394)],a=this[i(300)][i(315)][i(395)][i(363)];if(n>=e[i(387)])return null;const c=s[i(360)](t),p=o[i(392)](c),f=s[i(265)](t),h=a[i(294)](f);return new u({type:i(335),modelRange:p,domNode:e,offset:l(e,n,h)})}[r(370)](t,e,n){const i=r,s=this[i(300)][i(245)],a=this[i(300)][i(315)],c=a[i(394)],l=a[i(395)][i(363)],p=c[i(265)](t),h=c[i(259)](p),d=function(t){const e=i,n=t[e(237)],o=n[e(416)][e(403)][e(245)],s=n[e(275)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(369)))return r;if(!o[e(353)](n)[e(373)](t))return r;r=n}}(s[i(353)](h))||h;let g=c[i(378)](d),m=s[i(299)](d);const b=s[i(353)](d)[i(256)];if(b&&b.is(i(336),i(287))){const t=c[i(378)](b),e=l[i(294)](t),n=o.global[i(381)][i(313)](e)[i(364)];i(405)!=n&&i(407)!=n||(m=s[i(299)](b))}for(;g[i(237)]!==g[i(416)]&&0===g[i(332)];)g=g[i(237)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(258)]-n:0,k=l[i(294)](g),I=new o.Rect(k);return new u({type:i(336),modelRange:m,domNode:k,offset:Math[i(415)](v)?v+w[i(264)]-I[i(264)]:0})}get[r(411)](){const t=r,e=this[t(300)][t(377)][t(301)](t(379));return Object[t(358)]({top:t(412),bottom:t(412),left:t(412),right:t(412)},e)}static[r(290)](t,e,n,i,o){return g(t,e,n,i,o)}}class u{[r(319)];[r(408)];[r(230)];[r(257)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(319)]=t,this[o(408)]=e,this[o(230)]=n,this[o(257)]=i}get[r(228)](){const t=r;if(!this[t(230)][t(271)][t(348)][t(361)](this[t(230)]))return 0;const e=new o.Rect(y(this[t(230)])?this[t(230)]:f(this[t(230)]));return t(281)==this[t(319)]?e[t(264)]+e[t(258)]/2:e[t(264)]+this[t(257)]}}function l(t,e,n){const i=r,s=f(t),a=function(t){const e=b,n=o.global[e(403)][e(392)]();return n[e(322)](t),n}(n);let c;c=0==e?d(a[i(410)],a[i(384)],t[i(305)],Array[i(302)](t[i(305)][i(276)])[i(355)](t)):d(a[i(410)],a[i(384)],t,e);const u=d(t,e,a[i(252)],a[i(402)]),l=new o.Rect(c)[i(285)];return(new o.Rect(u)[i(264)]+l)/2-new o.Rect(s)[i(264)]}function p(t){const e=r;return t[e(343)](e(398))&&t[e(343)](e(258))?Promise[e(277)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(351)](e(304),o),t[e(351)](e(308),o),n()}t[i(371)]?n():(t[i(391)](i(304),o),t[i(391)](i(308),o))}))}function f(t){const e=r,n=o.global[e(403)][e(392)]();return n[e(279)](t),n}function h(t,e,n){const i=r,s=o.global[i(403)][i(392)]();return s[i(329)](t,e),s[i(380)](t,n),s}function d(t,e,n,i){const s=r,a=o.global[s(403)][s(392)]();return a[s(329)](t,e),a[s(380)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(276)][s(234)]()){let t=[];y(c)&&c[s(400)]&&!c[s(291)][s(314)]?t=m(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(387)]&&(a[s(235)](...t),e+=t[s(387)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(242)])&&y(l)&&Boolean(l[c(286)][c(361)](c(269))||l[c(356)](c(241)))&&(u[c(235)]({type:c(281),offset:0,path:[e-1]}),a=!0),c(268)==o.global[c(381)][c(313)](t)[c(340)]){let i=0,o=!1;for(const e of t[c(414)]())i+=e[c(258)],e[c(405)]>=n&&(o=!0);if(i<s&&o)return u[c(235)]({type:c(336),offset:0,path:[e]}),u}const p=t[c(356)](c(251));if(p&&function(t){const e=c;let n=!1;const i=t[e(318)][e(331)][e(266)],s=t[e(278)],r=t[e(240)],a=s&&o.global[e(381)][e(313)](s)[e(364)],u=s&&e(270)===s[e(345)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(330)!==a&&(n=!0),!n}(p)){const t=o.global[c(381)][c(313)](p)[c(364)];if(c(405)==t||c(407)==t)return u}const f=g(t,n,i,s,a);if(f[c(387)]){for(const t of f)u[c(235)]({type:t[c(319)],offset:t[c(228)],textOffset:t[c(283)],path:[e,...t[c(306)]]}),n+=i,a=!1;return u}return u[c(235)](...function(t,e,n,i,s){const r=c,a=[];if(r(338)==o.global[r(381)][r(313)](t)[r(340)])return[];const u=[];for(const e of t[r(414)]())if(e[r(405)]>=n){for(const t of u)t[r(258)]+=e[r(258)];u[r(235)]({height:e[r(258)]}),n+=i}for(const t of u)s||a[r(235)]({type:r(336),offset:t[r(258)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=a();return(b=function(t,e){return n[t-=224]})(t,e)}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(414)]())if(r[s(405)]>=n){const r=v(t,u,n,i);o||c[s(235)]({type:s(335),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(387)];for(;a-s>1;){const e=Math[o(362)]((s+a)/2);k(h(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(414)]())if(o[i(405)]>=e&&o[i(405)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(303)]==Node[e(350)]}function I(t){const e=r;return t[e(303)]==Node[e(349)]}var P=n(673),x=n.n(P),_=n(545),T=n.n(_),S=n(262),N=n.n(S),E=n(667),R=n.n(E),C=n(357),A=n.n(C),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=N().bind(null,"head"),L.domAPI=T(),L.insertStyleElement=A();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function B(){const t=["95187RAYgCV","2132904AhtDsD","set","1112565MOBwII","32NpwZrG","7UFRRgg","ck-hidden","360892reNpZV","isVisible","top","2145756ZhWfbO","div","bindTemplate","setTemplate","ck-pagination-view-line","pageNumber","2546145umbrgl","274910SqdomS","left","width"];return(B=function(){return t})()}function M(t,e){const n=B();return(M=function(t,e){return n[t-=184]})(t,e)}!function(t){const e=M,n=t();for(;;)try{if(351534===parseInt(e(185))/1+-parseInt(e(192))/2+parseInt(e(188))/3+-parseInt(e(189))/4*(-parseInt(e(202))/5)+parseInt(e(195))/6*(-parseInt(e(190))/7)+parseInt(e(186))/8+-parseInt(e(201))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const D=(0,o.toUnit)("px");class V extends e.View{constructor(){const t=M;super();const e=this[t(197)];this[t(187)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(198)]({tag:t(196),attributes:{"data-page-number":e.to(t(200)),class:["ck",t(199),e.if(t(193),t(191),(t=>!t))],style:{left:e.to(t(203),(t=>D(t))),top:e.to(t(194),(t=>D(t))),width:e.to(t(184),(t=>D(t)))}}})}}const K=G;function G(t,e){const n=j();return(G=function(t,e){return n[t-=431]})(t,e)}function j(){const t=["clear","body","set","isVisible","144XqUaBk","990717CGMcPd","view","_visibleLines","5594386irAFtR","255140agKRZh","1482192vvbSxS","add","43370uKyOaa","_hiddenLines","values","delete","cleanLines","remove","showLine","11GhyTXh","_viewCollection","has","setViewCollection","destroy","20514042HYfsCu","size","487852TdFRjy"];return(j=function(){return t})()}!function(t){const e=G,n=t();for(;;)try{if(654409===-parseInt(e(445))/1*(parseInt(e(438))/2)+parseInt(e(431))/3+parseInt(e(452))/4+-parseInt(e(435))/5*(parseInt(e(457))/6)+-parseInt(e(434))/7+parseInt(e(436))/8+parseInt(e(450))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class F{[K(446)];[K(433)]=new Set;[K(439)]=new Set;constructor(t){const e=K;this[e(446)]=t.ui[e(432)][e(454)]}[K(449)](){const t=K;for(const e of this[t(439)])e[t(449)]()}[K(442)](){const t=K;for(const e of this[t(433)])e[t(456)]=!1,this[t(439)][t(437)](e);this[t(433)][t(453)]()}[K(444)](t,e,n,i){const s=K;let r;this[s(439)][s(451)]?(r=(0,o.first)(this[s(439)][s(440)]()),this[s(439)][s(441)](r)):r=new V,r[s(455)]({pageNumber:i,left:t,top:e,width:n}),r[s(456)]=!0,this[s(446)][s(447)](r)||this[s(446)][s(437)](r),this[s(433)][s(437)](r)}[K(448)](t){const e=K;for(const t of[...this[e(433)],...this[e(439)]])this[e(446)][e(447)](t)&&this[e(446)][e(443)](t);this[e(446)]=t}}const U=W;function W(t,e){const n=q();return(W=function(t,e){return n[t-=306]})(t,e)}function q(){const t=["setupScrollableAncestor","addClass","update","domRoots","_resizeObserver","document","plugins","linesRepository","roots","2550493VyFEod","isEnabled","change","get","body","removeClass","showLine","509290oWftTE","BODY","PaginationEditing","scrollTo","scroll","init","top","resize","tagName","listenTo","_getAttachedDomRoot","parentElement","71972aGnCQW","auto","2lFYifr","bind","scrollToPage","offset","instant","contains","_paginationLookupPlugin","bottom","left","isOfficialPlugin","_onUiReady","pageNumber","pluginName","overflowY","_renderPageBreakLines","PaginationLookup","cleanLines","_toggleEditingRootsClass","view","change:pageBreaks","change:isEnabled","13164WWXoqp","scrollTop","8ZXjbSu","596280MqjzCT","455duDRzp","isPremiumPlugin","excludeScrollbarsAndBorders","stopListening","destroy","_scrollableEditingRootDomAncestor","push","editing","window","155580kISieY","_getPageBreakLineOffset","pageBreaks","height","smooth","ready","isMotionReduced","_updatePageBreakLines","width","values","45MPexMB","PaginationRenderer","ownerDocument","306201XELJuB","ck-pagination_enabled","length","once","set","getComputedStyle","scrollLeft","editor"];return(q=function(){return t})()}!function(t){const e=W,n=t();for(;;)try{if(158367===parseInt(e(360))/1*(-parseInt(e(362))/2)+-parseInt(e(311))/3+parseInt(e(386))/4+-parseInt(e(387))/5*(-parseInt(e(383))/6)+-parseInt(e(324))/7*(parseInt(e(385))/8)+-parseInt(e(321))/9*(parseInt(e(348))/10)+parseInt(e(341))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const z=U(325);class Y extends t.Plugin{[U(339)];[U(307)]=null;[U(336)]=null;[U(368)];static get[U(374)](){return U(322)}static get[U(371)](){return!0}static get[U(388)](){return!0}[U(353)](){const t=U;this[t(328)]({pageNumber:1}),this[t(339)]=new F(this[t(331)]),this[t(307)]=null,this[t(336)]=null,this[t(368)]=this[t(331)][t(338)][t(344)](t(377)),this[t(363)](t(342)).to(this[t(331)][t(338)][t(344)](t(350))),this[t(331)].ui[t(327)](t(316),(()=>this[t(372)]())),this[t(379)](z),this.on(t(382),((e,n,i)=>{const o=t;i||this[o(339)][o(378)](),this[o(379)](z,i)}))}[U(306)](){const t=U;this[t(379)](z,!1),this[t(339)][t(306)](),this[t(307)]=null,this[t(336)]&&this[t(336)][t(306)]()}[U(364)](t){const e=U;if(!this[e(342)])return;const n=t>1?this[e(312)](t-1):0;this[e(307)][e(351)]({top:n-10,left:this[e(307)][e(330)],behavior:o.env[e(317)]?e(366):e(315)})}[U(332)](){const t=U,e=this[t(331)],n=this[t(358)]();n?(this[t(307)]&&e.ui[t(380)][t(390)](this[t(307)],t(352)),this[t(307)]=function(e){const n=t;let i=e;do{i=i[n(359)];const t=o.global[n(310)][n(329)](i)[n(375)];if(n(361)==t||n(352)==t)break}while(n(349)!=i[n(356)]);return i}(n),e.ui[t(380)][t(357)](this[t(307)],t(352),(()=>{this[t(318)]()}),{usePassive:!0}),this[t(336)]&&this[t(336)][t(306)](),this[t(336)]=new o.ResizeObserver(this[t(307)],(()=>{this[t(318)]()}))):e.ui[t(327)](t(334),(()=>this[t(332)]()))}[U(372)](){const t=U,e=this[t(331)];this[t(358)]()?(this[t(332)](),e.ui[t(380)][t(357)](o.global[t(310)],t(355),(()=>this[t(318)]())),this[t(357)](this[t(368)],t(381),(()=>this[t(318)]()))):e.ui[t(327)](t(334),(()=>this[t(372)]()))}[U(358)](){const t=U;for(const e of this[t(331)][t(309)][t(380)][t(335)][t(320)]())if(e[t(323)][t(345)][t(367)](e))return e;return null}[U(318)](){const t=U;if(!this[t(342)])return;const e=this[t(358)](),n=this[t(368)][t(313)];if(this[t(339)][t(378)](),!e||1==n[t(326)])return void(this[t(373)]=1);const i=new o.Rect(e)[t(389)](),s=new o.Rect(this[t(307)])[t(389)](),r=s[t(354)]+s[t(314)]/3;let a=!1;const c=[];for(let e=1;e<n[t(326)];e++){const n=this[t(312)](e,s);if(!n)continue;const o=s[t(354)]+n-this[t(307)][t(384)];c[t(308)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(373)]=e,a=!0)}this[t(376)](c),a||(this[t(373)]=n[t(326)])}[U(376)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(310)];if(t[e(326)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(354)]<s&&s<o[e(369)]&&this[e(339)][e(347)](r[e(370)]+n,s+i,r[e(319)],a+1)}[U(312)](t,e=null){const n=U,i=this[n(368)][n(313)][t][n(365)];return i?(e||(e=new o.Rect(this[n(307)])[n(389)]()),i-e[n(354)]+this[n(307)][n(384)]):0}[U(379)](t,e=!0){const n=U,i=this[n(331)][n(309)][n(380)];i[n(343)]((o=>{const s=n;for(const n of i[s(337)][s(340)])e?o[s(333)](t,n):o[s(346)](t,n)}))}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var X=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=N().bind(null,"head"),H.domAPI=T(),H.insertStyleElement=A();x()(X.A,H);X.A&&X.A.locals&&X.A.locals;const Z=$;function Q(){const t=["toViewPosition","mapper","bind","paginationLicenseKeyValid","always","model","get","Keystrokes for navigating through documents","element","options","accessibility","plugins","nodeAfter","writer","editing","setAttribute","_validatePageNumber","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyTrialLimit","Go to the previous page (also move selection)","PaginationEditing","Shift+Pageup","goToNextPage","consume","listenTo","change:pageBreaks","length","pagination:","2019868qHkVgu","Go to the next page (also move selection)","forward","_setupKeystrokes","textNode","isOfficialPlugin","domainLimit","requires","focus","index","hasClass","getContainedElement","usageLimit","data-pagination-page","8982888kuLSqT","type","page-break-before","setSelection","pluginName","Pagination","root","config","goToPreviousPage","parent","span","paginationLicenseKeyInvalid","Shift+Pagedown","locale","getFillerOffset","page-break","set","_setUpDataDowncastConversion","pageNumber","insert","toViewElement","addKeystrokeInfoGroup","paginationLicenseKeyNotAllowed","offset","stop","removeMarker","addMarker:","getNearestSelectionRange","scrollToPage","createContainerElement","isPremiumPlugin","start","addMarker","checkChild","markers","4034700Donfpf","trialLimit","27049204RpmCCC","consumable","editor","1164605fwWVxy","dataDowncast","isEnabled","2301024Vmcvwt","paginationLicenseKeyDomainLimit","pageBreaks","text","setStyle","evaluationLimit","manual","paginationLicenseKeyExpired","keystrokes","paginationLicenseKeyUsageLimit","updateMarker","licenseKey","has","view","4311910TeYmDm","name","invalid","pagination","_licenseKeyCheckInterval","bindElementToMarker","change","moveSelectionToPage","_updatePageBreakMarkers","conversion","expired","destroy","add","init","featureNotAllowed","substring","end","data","$text","schema","totalPages","_showLicenseError","for","createPositionAt","modelRange"];return(Q=function(){return t})()}function $(t,e){const n=Q();return($=function(t,e){return n[t-=114]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(813200===-parseInt(e(210))/1+-parseInt(e(156))/2+parseInt(e(213))/3+-parseInt(e(205))/4+parseInt(e(227))/5+-parseInt(e(170))/6+parseInt(e(207))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Q);class tt extends t.Plugin{[Z(224)];[Z(231)];static get[Z(174)](){return Z(148)}static get[Z(161)](){return!0}static get[Z(200)](){return!0}static get[Z(163)](){return[c,Y]}[Z(116)](){const t=Z;this[t(186)]({pageNumber:1,totalPages:1});const e=this[t(209)][t(139)][t(134)](t(175)),n=this[t(209)][t(139)][t(134)](c),i=this[t(209)][t(139)][t(134)](Y);this[t(130)](t(212)).to(e),this[t(187)](),this[t(130)](t(188)).to(i),this[t(152)](n,t(153),((e,n,i,o)=>{const s=t;this[s(123)]=i[s(154)],this[s(235)](i,o)})),this[t(159)](),this[t(224)]=this[t(209)][t(177)][t(134)](t(224));const o=this[t(209)];this[t(231)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(131)==s||e(181)==s||e(220)==s||e(214)==s||e(192)==s||e(145)==s||e(146)==s||e(222)==s){delete o[i],n=s,clearInterval(this[e(231)]),this[e(231)]=void 0;break}}e(181)==n&&o[e(124)](e(229)),e(220)==n&&o[e(124)](e(237)),e(214)==n&&o[e(124)](e(162)),e(192)==n&&o[e(124)](e(117),e(175)),e(145)==n&&o[e(124)](e(218)),e(146)==n&&o[e(124)](e(206)),e(222)==n&&o[e(124)](e(168))}),1e3)}[Z(114)](){const t=Z;super[t(114)](),this[t(231)]&&clearInterval(this[t(231)])}[Z(198)](t){const e=Z;this[e(212)]&&this[e(209)][e(139)][e(134)](Y)[e(198)](this[e(144)](t))}[Z(234)](t){const e=Z;if(!this[e(212)])return;const n=this[e(209)],i=this[e(209)][e(139)][e(134)](c)[e(215)][t-1];i&&n[e(133)][e(233)]((t=>{const o=e;switch(i[o(171)]){case o(219):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(119)],o(158));t[o(173)](e);break}case o(136):{const e=n[o(133)][o(122)][o(197)](i[o(127)][o(201)],o(158));t[o(173)](e);break}case o(216):{const e=i[o(127)][o(201)];if(e[o(160)]&&" "===e[o(160)][o(120)][e[o(193)]]){const n=t[o(126)](e[o(179)],e[o(193)]+1);t[o(173)](n)}else t[o(173)](i[o(127)])}}n[o(142)][o(226)][o(164)]()}))}[Z(150)](){const t=Z,e=this[t(144)](this[t(188)]+1);this[t(234)](e),this[t(198)](e)}[Z(178)](){const t=Z,e=this[t(144)](this[t(188)]-1);this[t(234)](e),this[t(198)](e)}[Z(235)](t,e){const n=Z,i=this[n(209)][n(133)];this[n(212)]&&i[n(233)]((o=>{const s=n;for(let e=1;e<t[s(154)];e++){const n=t[e][s(127)],r=s(155)+(e+1);i[s(204)][s(225)](r)?o[s(223)](r,{range:n}):o[s(202)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(154)];n<e[s(154)];n++){const t=s(155)+(n+1);i[s(204)][s(225)](t)&&o[s(195)](t)}}))}[Z(187)](){const t=Z,e=t(230);this[t(209)][t(236)][t(125)](t(211))[t(115)]((n=>{const i=t;n.on(i(196)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(137)][s(230)])return;if(!o[s(208)][s(151)](e,t[s(228)]))return;const r=e[s(167)]();let a=r?o[s(129)][s(190)](r):null;if(!a){const t=e[s(201)];if(o[s(122)][s(203)](t,s(121))){const e=o[s(129)][s(128)](t);a=o[s(141)][s(199)](s(180)),a[s(184)]=()=>null,o[s(141)][s(189)](e,a)}else{const e=t[s(140)];a=o[s(129)][s(190)](e)}}for(;a[s(179)]!==a[s(176)]&&0===a[s(165)];)a=a[s(179)];const c=n[s(118)](11);a[s(166)](s(185))||(o[s(141)][s(217)](s(172),s(132),a),o[s(141)][s(143)](s(169),c,a),o[s(129)][s(232)](a,n)),t[s(194)]()}))}))}[Z(159)](){const t=Z,e=this[t(209)];e[t(221)][t(186)](t(149),((e,n)=>{this[t(178)](),n()})),e[t(221)][t(186)](t(182),((e,n)=>{this[t(150)](),n()})),e[t(138)][t(191)]({id:t(230),label:J(e[t(183)],t(135)),keystrokes:[{label:J(e[t(183)],t(147)),keystroke:t(149),mayRequireFn:!0},{label:J(e[t(183)],t(157)),keystroke:t(182),mayRequireFn:!0}]})}[Z(144)](t){const e=Z;return t<1&&(t=1),t>this[e(123)]&&(t=this[e(123)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=N().bind(null,"head"),it.domAPI=T(),it.insertStyleElement=A();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=203]})(t,e)}const st=ot;function rt(){const t=["focus","isNaN","pageNumber","setTemplate","ArrowDown","numeric","9883280hKepNq","totalPages","valueAsNumber","blur","select","max","element","enter","42383EqvMVY","keyCode","11144436UYysPy","bind","11646kdQGrt","span","ck-page-navigator","change:pageNumber","32216WORbYP","key","305jdmCOF","3lUeFSR","keydown","fire","Current page number (from 1 to %0)","set","firstChild","div","ck-disabled","navigation","checkValidity","bindTemplate","3017878fdoHQM","14220OgVKnM","render","7KLlrzt","ariaLabel","9800yTgmbh","isEnabled","ArrowUp","stopPropagation","value","pageNumberView","listenTo","789322konlWv","isReadOnly","preventDefault"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(934142===-parseInt(e(244))/1+parseInt(e(232))/2*(-parseInt(e(221))/3)+-parseInt(e(218))/4*(-parseInt(e(220))/5)+parseInt(e(212))/6*(-parseInt(e(235))/7)+-parseInt(e(253))/8+-parseInt(e(214))/9*(-parseInt(e(237))/10)+-parseInt(e(210))/11*(-parseInt(e(233))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(242)];constructor(t){const n=st;super(t);const i=this[n(231)];this[n(225)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(242)]=new e.InputNumberView(t,{min:1,step:1}),this[n(242)][n(225)]({inputMode:n(252),tabIndex:-1}),this[n(242)][n(213)](n(236)).to(this,n(203),(e=>J(t,n(224),e))),this[n(242)][n(213)](n(207)).to(this,n(203)),this[n(242)][n(213)](n(245)).to(this,n(238),(t=>!t)),this[n(250)]({tag:n(227),attributes:{class:["ck",n(216),i.if(n(238),n(228),(t=>!t))]},children:[this[n(242)],{tag:n(215),children:[{text:i.to(n(203))}]}]})}[st(234)](){const t=st;super[t(234)]();const e=this[t(242)][t(208)],n=e=>{const n=t;this[n(242)][n(208)][n(241)]=String(e)};n(this[t(249)]),this.on(t(217),((t,e,i)=>{n(i)})),this[t(243)](e,t(222),((n,i)=>{const s=t;if(s(239)===i[s(219)]||s(251)===i[s(219)])return void i[s(240)]();if(i[s(211)]!==o.keyCodes[s(209)])return;i[s(246)]();const r=e[s(204)];Number[s(248)](r)?e[s(241)]=String(this[s(249)]):(e[s(230)]()?this[s(249)]=r:r>this[s(203)]?(this[s(249)]=this[s(203)],e[s(241)]=String(this[s(203)])):(this[s(249)]=1,e[s(241)]="1"),this[s(223)](s(229),this[s(249)]))})),this[t(243)](e,t(205),(()=>{const n=t;e[n(241)]=String(this[n(249)])})),this[t(243)](e,t(247),(()=>{const e=t;this[e(242)][e(206)]()}))}[st(247)](){const t=st;this[t(208)][t(226)][t(247)]()}}const ct=ut;function ut(t,e){const n=pt();return(ut=function(t,e){return n[t-=231]})(t,e)}!function(t){const e=ut,n=t();for(;;)try{if(324949===-parseInt(e(267))/1+-parseInt(e(263))/2+parseInt(e(255))/3+-parseInt(e(261))/4+parseInt(e(252))/5+parseInt(e(233))/6*(parseInt(e(243))/7)+parseInt(e(251))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(pt);class lt extends t.Plugin{static get[ct(246)](){return ct(240)}static get[ct(269)](){return!0}static get[ct(258)](){return!0}[ct(238)](){const t=ct,n=this[t(266)],i=n[t(250)][t(245)](t(247));n.ui[t(239)][t(248)](t(236),(e=>{const n=t,o=new at(e);return o[n(235)](n(242)).to(i),o[n(235)](n(257)).to(i),o[n(235)](n(237)).to(i),o.on(n(244),((t,e)=>{const o=n;i[o(270)](e),i[o(249)](e)})),o})),n.ui[t(239)][t(248)](t(268),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(256)),r[s(264)]=et.IconArrowDown,r[s(265)]=!0,r[s(234)]=s(254),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(253)]()})),r})),n.ui[t(239)][t(248)](t(271),(o=>{const s=t,r=new e.ButtonView(o);return r[s(237)]=!0,r[s(241)]=J(n[s(259)],s(231)),r[s(264)]=et.IconArrowUp,r[s(265)]=!0,r[s(234)]=s(232),r[s(235)](s(237)).to(i),this[s(272)](r,s(260),(()=>{i[s(262)]()})),r}))}}function pt(){const t=["993824LOOTTj","3111635SYmCwJ","goToNextPage","Shift+PageDown","856263RJtdsj","Go to next page","totalPages","isPremiumPlugin","locale","execute","1027472VFsekg","goToPreviousPage","560114JxPgrf","icon","tooltip","editor","585109PVfdbM","nextPage","isOfficialPlugin","moveSelectionToPage","previousPage","listenTo","Go to previous page","Shift+PageUp","2490042BITtpj","keystroke","bind","pageNavigation","isEnabled","init","componentFactory","PaginationUI","label","pageNumber","7aSiawR","navigation","get","pluginName","PaginationEditing","add","scrollToPage","plugins"];return(pt=function(){return t})()}function ft(){const t=["scrollToPage","init","set","requires","pageNumber","isEnabled","ready","7iIVyVm","597360wBCTUx","get","1411861SQrivN","Pagination","pagination.enableOnUnsupportedBrowsers","90897uhKuFN","totalPages","532736yBTayi","config","23472MJTlyN","pluginName","bind","22bxFiKw","plugins","browserCheck","isOfficialPlugin","310anlfWp","4sWKBEc","forceDisabled","editor","isPremiumPlugin","59769aUqxBk","isBlink","476292IWMqhH"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=192]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(173151===-parseInt(e(197))/1*(-parseInt(e(200))/2)+-parseInt(e(193))/3+-parseInt(e(205))/4*(parseInt(e(220))/5)+parseInt(e(211))/6*(-parseInt(e(219))/7)+parseInt(e(195))/8+parseInt(e(209))/9*(parseInt(e(204))/10)+-parseInt(e(222))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(198)](){return ht(223)}static get[ht(203)](){return!0}static get[ht(208)](){return!0}static get[ht(215)](){return[tt,lt]}constructor(t){const e=ht;super(t),this[e(217)]=!1}[ht(213)](){const t=ht;this[t(214)]({pageNumber:1,totalPages:1});const e=this[t(207)][t(201)][t(221)](tt);this[t(199)](t(216)).to(e),this[t(199)](t(194)).to(e),o.env[t(210)]||this[t(207)][t(196)][t(221)](t(192))?this[t(207)].on(t(218),(()=>{this[t(217)]=!0})):this[t(206)](t(202))}[ht(212)](t){const e=ht;this[e(207)][e(201)][e(221)](tt)[e(212)](t)}}function mt(){var t=["1188846CAzQFS","492sKeEWz","5356602nwVhFe","5007vPXQOh","5388140SDWpbq","20VwauIZ","6165lEpPow","1948Cgfial","8686727mirJmd","441920OvSetc"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=109]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(792803===-parseInt(e(114))/1*(parseInt(e(109))/2)+-parseInt(e(111))/3*(-parseInt(e(115))/4)+-parseInt(e(112))/5+parseInt(e(118))/6+parseInt(e(116))/7+-parseInt(e(117))/8+parseInt(e(110))/9*(parseInt(e(113))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>J});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=a;function a(t,e){const n=h();return(a=function(t,e){return n[t-=218]})(t,e)}!function(t){const e=a,n=t();for(;;)try{if(978977===parseInt(e(406))/1+parseInt(e(319))/2+parseInt(e(374))/3*(-parseInt(e(391))/4)+-parseInt(e(263))/5+-parseInt(e(408))/6+parseInt(e(276))/7+-parseInt(e(335))/8*(-parseInt(e(331))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(h);class c extends t.Plugin{[r(265)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(279)]()),200);[r(239)]=null;static get[r(221)](){return r(223)}static get[r(320)](){return!0}static get[r(255)](){return!0}[r(268)](){const t=r;if(this[t(260)]({pageBreaks:[]}),!this[t(261)][t(237)][t(227)](t(280)))return void(0,o.logWarning)(t(346),this[t(261)][t(237)]);const e=this[t(261)][t(235)][t(227)](t(301));this[t(285)](t(379)).to(e),this[t(261)].ui[t(241)](t(334),(()=>this[t(296)]())),this.on(t(343),((e,n,i)=>{i&&this[t(265)]()}))}[r(271)](){!async function(t){const e=m([90,88,56,71,116,82,87,66,81,86,106,54,80,113,51,48,83,74,102,99,53,72,84,119,76,69,65,78,104,107,55,108,111,112,77,73,122,110,120,97,57,49,79,103,117,68,67,98,50,121,52,115,89,118,105,75,85,109,100,70,114,101]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=a;return t[e(402)]((t=>String[e(371)](t)))[e(275)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([90]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])((c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])]((t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1748390400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=a,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(405)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(324)](){const t=r;super[t(324)](),this[t(239)]&&(this[t(265)][t(376)](),this[t(239)][t(324)](),this[t(239)][t(333)][t(368)]())}[r(296)](){const t=r,n=this[t(261)],i=n[t(272)][t(283)],o=this[t(315)]();if(!o||0===o[t(341)])return void n.ui[t(241)](t(338),(()=>this[t(296)]()));const{pageWidth:s,pageHeight:a}=n[t(237)][t(227)](t(280)),{top:c,left:u,bottom:l,right:p}=this[t(375)];this[t(239)]=new e.View(n[t(231)]);const f=this[t(239)];f[t(260)](t(273),""),f[t(395)]({tag:t(246),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(401)+a+t(297)+c+t(297)+l+" )",minWidth:t(387),minHeight:t(387),padding:"0 "+p+t(295)+u,columnGap:t(306),border:0,boxSizing:t(233),columnCount:t(387),columnFill:t(387),overflow:t(326),position:t(224),top:t(232),left:t(232)},tabindex:"-1",class:f[t(298)].to(t(273))}}),f[t(329)](),o[t(288)][t(299)](f[t(333)],o[t(308)]),this[t(386)](i,t(329),(()=>this[t(265)]()),{priority:t(383)}),this[t(265)]()}[r(315)](){const t=r;for(const e of this[t(261)][t(272)][t(283)][t(270)][t(313)]())if(e[t(247)][t(389)][t(316)](e))return e;return null}[r(279)](){const t=r;if(!this[t(379)])return Promise[t(257)]();const e=this[t(261)][t(272)][t(283)],n=this[t(239)],i=this[t(315)]();if(!i)return Promise[t(257)]();for(n[t(273)]=[t(358),t(218),...i[t(403)]][t(275)](" ");n[t(333)][t(286)];)n[t(333)][t(286)][t(368)]();const o=Array[t(351)](e[t(270)]);o[t(312)]((([,e],[,n])=>e[t(219)](n)==Node[t(281)]?1:-1));for(const[e,i]of o){const o=i[t(310)](!0);t(322)in o&&o[t(322)][t(348)](),o[t(244)]="",o[t(332)]("id"),o[t(248)][t(363)]=e,n[t(333)][t(302)](o)}return function(e){const n=t;return Promise[n(311)](e[n(402)]((t=>{return Promise[n(328)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(351)](n[t(333)][t(345)](t(291))))[t(353)]((()=>this[t(378)]()))}[r(378)](){const t=r,e=this[t(239)][t(333)];if(!e[t(247)][t(389)][t(316)](e))return;const n=new o.Rect(e)[t(321)](),i=o.global[t(350)][t(360)](e),s=parseFloat(i[t(253)])+parseFloat(i[t(282)]),a=Math[t(258)](n[t(340)]+100-s),c=m(e,Math[t(258)](n[t(352)]-e[t(356)]),a,n[t(249)])[t(402)]((e=>this[t(220)](e)));c[t(347)]((t=>!!t))&&(this[t(357)]=c)}[r(220)](t){const e=r,n=this[e(261)][e(272)][e(283)],i=this[e(261)][e(272)][e(344)],o=n[e(349)],s=t[e(230)][e(238)](),a=this[e(239)][e(333)][e(254)][s][e(248)][e(363)],c=n[e(229)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(230)]){if(!o)return null;o=o[i(254)][t]}return o}(c,t);if(!u)return null;const l=o[e(284)](u,t[e(359)]||0);return l?e(384)==t[e(373)]?this[e(307)](l,u):e(370)==t[e(373)]&&i[e(314)](l)[e(278)]?this[e(399)](l,u,t[e(359)]):this[e(266)](l,u,t[e(278)]):null}[r(307)](t,e){const n=r,i=this[n(261)][n(400)],o=this[n(261)][n(272)][n(344)][n(293)](t[n(325)]),s=i[n(289)](o);return new u({type:n(384),modelRange:s,domNode:e,offset:0})}[r(399)](t,e,n){const i=r,o=this[i(261)][i(400)],s=this[i(261)][i(272)][i(344)],a=this[i(261)][i(272)][i(283)][i(349)];if(n>=e[i(240)])return null;const c=s[i(314)](t),p=o[i(367)](c),f=s[i(234)](t),d=a[i(342)](f);return new u({type:i(370),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(266)](t,e,n){const i=r,s=this[i(261)][i(400)],a=this[i(261)][i(272)],c=a[i(344)],l=a[i(283)][i(349)],p=c[i(234)](t),d=c[i(293)](p),h=function(t){const e=i,n=t[e(325)],o=n[e(382)][e(264)][e(400)],s=n[e(277)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(242)))return r;if(!o[e(339)](n)[e(330)](t))return r;r=n}}(s[i(339)](d))||d;let g=c[i(251)](h),m=s[i(289)](h);const b=s[i(339)](h)[i(250)];if(b&&b.is(i(333),i(303))){const t=c[i(251)](b),e=l[i(342)](t),n=o.global[i(350)][i(360)](e)[i(380)];i(352)!=n&&i(393)!=n||(m=s[i(289)](b))}for(;g[i(325)]!==g[i(382)]&&0===g[i(292)];)g=g[i(325)];const w=new o.Rect(y(e)?e:f(e)),k=n?w[i(249)]-n:0,v=l[i(342)](g),I=new o.Rect(v);return new u({type:i(333),modelRange:m,domNode:v,offset:Math[i(385)](k)?k+w[i(381)]-I[i(381)]:0})}get[r(375)](){const t=r,e=this[t(261)][t(237)][t(227)](t(269));return Object[t(294)]({top:t(304),bottom:t(304),left:t(304),right:t(304)},e)}static[r(300)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[r(373)];[r(245)];[r(366)];[r(396)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(373)]=t,this[o(245)]=e,this[o(366)]=n,this[o(396)]=i}get[r(278)](){const t=r;if(!this[t(366)][t(247)][t(389)][t(316)](this[t(366)]))return 0;const e=new o.Rect(y(this[t(366)])?this[t(366)]:f(this[t(366)]));return t(384)==this[t(373)]?e[t(381)]+e[t(249)]/2:e[t(381)]+this[t(396)]}}function l(t,e,n){const i=r,s=f(t),c=function(t){const e=a,n=o.global[e(264)][e(367)]();return n[e(318)](t),n}(n);let u;u=0==e?g(c[i(226)],c[i(377)],t[i(288)],Array[i(351)](t[i(288)][i(254)])[i(309)](t)):g(c[i(226)],c[i(377)],t,e);const l=g(t,e,c[i(262)],c[i(355)]),p=new o.Rect(u)[i(256)];return(new o.Rect(l)[i(381)]+p)/2-new o.Rect(s)[i(381)]}function p(t){const e=r;return t[e(404)](e(340))&&t[e(404)](e(249))?Promise[e(257)]():new Promise((n=>{const i=e;function o(){const e=a;t[e(305)](e(361),o),t[e(305)](e(372),o),n()}t[i(222)]?n():(t[i(327)](i(361),o),t[i(327)](i(372),o))}))}function f(t){const e=r,n=o.global[e(264)][e(367)]();return n[e(388)](t),n}function d(t,e,n){const i=r,s=o.global[i(264)][i(367)]();return s[i(252)](t,e),s[i(228)](t,n),s}function h(){const t=["display","right","offsetParent","setTemplate","_offset","getClientRects","style","_mapTextPageStarterInfoToPageBreakInfo","model","calc( ","map","classList","hasAttribute","href","830633jGnpKu","entries","10181868ChUPAO","ck-pagination-view","compareDocumentPosition","_mapPageStarterInfoToPageBreakInfo","pluginName","complete","PaginationLookup","absolute","figure.image","startContainer","get","setEnd","getDomRoot","path","locale","-99999px","border-box","findMappedViewAncestor","plugins","closest","config","shift","_pagesContainer","length","once","rootElement","position","className","modelRange","div","ownerDocument","dataset","height","nodeBefore","toViewElement","setStart","paddingLeft","childNodes","isPremiumPlugin","bottom","resolve","floor","page-break","set","editor","endContainer","3019610Mjdyfi","document","_recalculatePageBreaksDebounced","_mapElementPageStarterInfoToPageBreakInfo",".page-break","init","pagination.pageMargins","domRoots","afterInit","editing","class","nodeType","join","11256546wXhDPC","getAncestors","offset","_recalculatePageBreaks","pagination","DOCUMENT_POSITION_PRECEDING","paddingRight","view","domPositionToView","bind","firstChild","previousElementSibling","parentNode","createRangeOn","none","img","index","toModelElement","assign"," 0 ","_onUiReady"," - ","bindTemplate","insertBefore","_findPageStarterInfos","PaginationEditing","append","imageBlock","10mm","removeEventListener","100px","_mapManualPageStarterInfoToPageBreakInfo","nextSibling","indexOf","cloneNode","all","sort","values","toModelPosition","_getAttachedDomRoot","contains","ceil","selectNodeContents","2248138MqqSxO","isOfficialPlugin","excludeScrollbarsAndBorders","attributeStyleMap","table-cell","destroy","parent","hidden","addEventListener","race","render","isTouching","1827162EqqfjY","removeAttribute","element","ready","64EZWNRr","previousSibling","nextElementSibling","update","createPositionBefore","width","childElementCount","mapViewToDom","change:isEnabled","mapper","querySelectorAll","pagination-config-not-found","every","clear","domConverter","window","from","left","then","table-row","endOffset","scrollLeft","pageBreaks","ck-reset","textOffset","getComputedStyle","load","TEXT_NODE","rootName","push","ELEMENT_NODE","_domNode","createRange","remove","parentElement","text","fromCharCode","error","type","6819PPbrcd","_configuredPaddings","cancel","startOffset","_updatePageBreaksData","isEnabled","float","top","root","low","manual","round","listenTo","auto","selectNode","body","ck-fake-selection-container","3356JDeYGe"];return(h=function(){return t})()}function g(t,e,n,i){const s=r,a=o.global[s(264)][s(367)]();return a[s(252)](t,e),a[s(228)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(254)][s(407)]()){let t=[];y(c)&&c[s(394)]&&!c[s(398)][s(243)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(240)]&&(a[s(364)](...t),e+=t[s(240)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(336)])&&y(l)&&Boolean(l[c(403)][c(316)](c(259))||l[c(236)](c(267)))&&(u[c(364)]({type:c(384),offset:0,path:[e-1]}),a=!0),c(354)==o.global[c(350)][c(360)](t)[c(392)]){let i=0,o=!1;for(const e of t[c(397)]())i+=e[c(249)],e[c(352)]>=n&&(o=!0);if(i<s&&o)return u[c(364)]({type:c(333),offset:0,path:[e]}),u}const p=t[c(236)](c(225));if(p&&function(t){const e=c;let n=!1;const i=t[e(369)][e(248)][e(363)],s=t[e(337)],r=t[e(287)],a=s&&o.global[e(350)][e(360)](s)[e(380)],u=s&&e(390)===s[e(244)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(290)!==a&&(n=!0),!n}(p)){const t=o.global[c(350)][c(360)](p)[c(380)];if(c(352)==t||c(393)==t)return u}const f=m(t,n,i,s,a);if(f[c(240)]){for(const t of f)u[c(364)]({type:t[c(373)],offset:t[c(278)],textOffset:t[c(359)],path:[e,...t[c(230)]]}),n+=i,a=!1;return u}return u[c(364)](...function(t,e,n,i,s){const r=c,a=[];if(r(323)==o.global[r(350)][r(360)](t)[r(392)])return[];const u=[];for(const e of t[r(397)]())if(e[r(352)]>=n){for(const t of u)t[r(249)]+=e[r(249)];u[r(364)]({height:e[r(249)]}),n+=i}for(const t of u)s||a[r(364)]({type:r(333),offset:t[r(249)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(397)]())if(r[s(352)]>=n){const r=k(t,u,n,i);o||c[s(364)]({type:s(370),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(240)];for(;a-s>1;){const e=Math[o(317)]((s+a)/2);v(d(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(397)]())if(o[i(352)]>=e&&o[i(352)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(274)]==Node[e(365)]}function I(t){const e=r;return t[e(274)]==Node[e(362)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),E=n(262),T=n.n(E),S=n(667),R=n.n(S),A=n(357),C=n.n(A),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=T().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;!function(t){const e=D,n=t();for(;;)try{if(124874===parseInt(e(318))/1*(-parseInt(e(321))/2)+-parseInt(e(326))/3+parseInt(e(314))/4+-parseInt(e(312))/5+-parseInt(e(311))/6+-parseInt(e(310))/7*(-parseInt(e(319))/8)+parseInt(e(308))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const M=(0,o.toUnit)("px");function D(t,e){const n=K();return(D=function(t,e){return n[t-=308]})(t,e)}class B extends e.View{constructor(){const t=D;super();const e=this[t(327)];this[t(320)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(309)]({tag:t(313),attributes:{"data-page-number":e.to(t(324)),class:["ck",t(315),e.if(t(325),t(323),(t=>!t))],style:{left:e.to(t(316),(t=>M(t))),top:e.to(t(317),(t=>M(t))),width:e.to(t(322),(t=>M(t)))}}})}}function K(){const t=["setTemplate","154lElqtD","989196tGWcdY","1081385FZqlmQ","div","252996XltjHA","ck-pagination-view-line","left","top","36HPfvFz","90296JiONON","set","1162lRuZpe","width","ck-hidden","pageNumber","isVisible","394185FJxeUC","bindTemplate","3120885lRCeLV"];return(K=function(){return t})()}function G(){const t=["set","clear","_visibleLines","2479581kJAHbA","1610769Ynooqk","delete","2015644KqkyTM","cleanLines","view","1322874aBCSXz","2kjFRCt","values","destroy","528684PLuZIT","isVisible","775523rMYGeB","remove","showLine","32ssXhZE","5gipvUF","setViewCollection","size","body","add","has","_viewCollection","_hiddenLines","9320260UrLhrh"];return(G=function(){return t})()}const j=V;function V(t,e){const n=G();return(V=function(t,e){return n[t-=291]})(t,e)}!function(t){const e=V,n=t();for(;;)try{if(367044===parseInt(e(301))/1+-parseInt(e(298))/2*(parseInt(e(292))/3)+-parseInt(e(294))/4*(parseInt(e(307))/5)+-parseInt(e(297))/6+parseInt(e(303))/7*(parseInt(e(306))/8)+-parseInt(e(291))/9+parseInt(e(315))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);class F{[j(313)];[j(318)]=new Set;[j(314)]=new Set;constructor(t){const e=j;this[e(313)]=t.ui[e(296)][e(310)]}[j(300)](){const t=j;for(const e of this[t(314)])e[t(300)]()}[j(295)](){const t=j;for(const e of this[t(318)])e[t(302)]=!1,this[t(314)][t(311)](e);this[t(318)][t(317)]()}[j(305)](t,e,n,i){const s=j;let r;this[s(314)][s(309)]?(r=(0,o.first)(this[s(314)][s(299)]()),this[s(314)][s(293)](r)):r=new B,r[s(316)]({pageNumber:i,left:t,top:e,width:n}),r[s(302)]=!0,this[s(313)][s(312)](r)||this[s(313)][s(311)](r),this[s(318)][s(311)](r)}[j(308)](t){const e=j;for(const t of[...this[e(318)],...this[e(314)]])this[e(313)][e(312)](t)&&this[e(313)][e(304)](t);this[e(313)]=t}}const q=z;function z(t,e){const n=U();return(z=function(t,e){return n[t-=493]})(t,e)}function U(){const t=["removeClass","roots","instant","scrollTop","contains","PaginationLookup","7554974spklhV","bottom","1414098rJEwMu","_toggleEditingRootsClass","scrollLeft","_renderPageBreakLines","bind","2319640ILkZOY","27vJbgCZ","pageBreaks","isOfficialPlugin","smooth","_getPageBreakLineOffset","init","_getAttachedDomRoot","values","left","scrollTo","top","get","change:isEnabled","scrollToPage","pluginName","1094690uNTWhM","once","6lmsxDc","change","BODY","domRoots","editing","ck-pagination_enabled","set","showLine","destroy","_onUiReady","isMotionReduced","excludeScrollbarsAndBorders","isPremiumPlugin","resize","getComputedStyle","auto","height","offset","_paginationLookupPlugin","view","ownerDocument","isEnabled","stopListening","_scrollableEditingRootDomAncestor","setupScrollableAncestor","width","1qaXqGq","ready","push","addClass","4idiRrZ","6067965WZkecg","window","change:pageBreaks","linesRepository","body","plugins","update","editor","PaginationRenderer","parentElement","listenTo","document","length","PaginationEditing","_resizeObserver","176516sRNKCk","pageNumber","_updatePageBreakLines","tagName","16850955DBwGGK","scroll","cleanLines","overflowY"];return(U=function(){return t})()}!function(t){const e=z,n=t();for(;;)try{if(777988===parseInt(e(518))/1*(parseInt(e(538))/2)+parseInt(e(554))/3+-parseInt(e(522))/4*(parseInt(e(523))/5)+-parseInt(e(577))/6*(parseInt(e(552))/7)+-parseInt(e(559))/8*(-parseInt(e(560))/9)+parseInt(e(575))/10+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);const Y=q(497);class J extends t.Plugin{[q(526)];[q(515)]=null;[q(537)]=null;[q(510)];static get[q(574)](){return q(531)}static get[q(562)](){return!0}static get[q(504)](){return!0}[q(565)](){const t=q;this[t(498)]({pageNumber:1}),this[t(526)]=new F(this[t(530)]),this[t(515)]=null,this[t(537)]=null,this[t(510)]=this[t(530)][t(528)][t(571)](t(551)),this[t(558)](t(513)).to(this[t(530)][t(528)][t(571)](t(536))),this[t(530)].ui[t(576)](t(519),(()=>this[t(501)]())),this[t(555)](Y),this.on(t(572),((e,n,i)=>{const o=t;i||this[o(526)][o(544)](),this[o(555)](Y,i)}))}[q(500)](){const t=q;this[t(555)](Y,!1),this[t(526)][t(500)](),this[t(515)]=null,this[t(537)]&&this[t(537)][t(500)]()}[q(573)](t){const e=q;if(!this[e(513)])return;const n=t>1?this[e(564)](t-1):0;this[e(515)][e(569)]({top:n-10,left:this[e(515)][e(556)],behavior:o.env[e(502)]?e(548):e(563)})}[q(516)](){const t=q,e=this[t(530)],n=this[t(566)]();n?(this[t(515)]&&e.ui[t(511)][t(514)](this[t(515)],t(543)),this[t(515)]=function(e){const n=t;let i=e;do{i=i[n(532)];const t=o.global[n(524)][n(506)](i)[n(545)];if(n(507)==t||n(543)==t)break}while(n(494)!=i[n(541)]);return i}(n),e.ui[t(511)][t(533)](this[t(515)],t(543),(()=>{this[t(540)]()}),{usePassive:!0}),this[t(537)]&&this[t(537)][t(500)](),this[t(537)]=new o.ResizeObserver(this[t(515)],(()=>{this[t(540)]()}))):e.ui[t(576)](t(529),(()=>this[t(516)]()))}[q(501)](){const t=q,e=this[t(530)];this[t(566)]()?(this[t(516)](),e.ui[t(511)][t(533)](o.global[t(524)],t(505),(()=>this[t(540)]())),this[t(533)](this[t(510)],t(525),(()=>this[t(540)]()))):e.ui[t(576)](t(529),(()=>this[t(501)]()))}[q(566)](){const t=q;for(const e of this[t(530)][t(496)][t(511)][t(495)][t(567)]())if(e[t(512)][t(527)][t(550)](e))return e;return null}[q(540)](){const t=q;if(!this[t(513)])return;const e=this[t(566)](),n=this[t(510)][t(561)];if(this[t(526)][t(544)](),!e||1==n[t(535)])return void(this[t(539)]=1);const i=new o.Rect(e)[t(503)](),s=new o.Rect(this[t(515)])[t(503)](),r=s[t(570)]+s[t(508)]/3;let a=!1;const c=[];for(let e=1;e<n[t(535)];e++){const n=this[t(564)](e,s);if(!n)continue;const o=s[t(570)]+n-this[t(515)][t(549)];c[t(520)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(539)]=e,a=!0)}this[t(557)](c),a||(this[t(539)]=n[t(535)])}[q(557)](t){const e=q,{scrollX:n,scrollY:i}=o.global[e(524)];if(t[e(535)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(570)]<s&&s<o[e(553)]&&this[e(526)][e(499)](r[e(568)]+n,s+i,r[e(517)],a+1)}[q(564)](t,e=null){const n=q,i=this[n(510)][n(561)][t][n(509)];return i?(e||(e=new o.Rect(this[n(515)])[n(503)]()),i-e[n(570)]+this[n(515)][n(549)]):0}[q(555)](t,e=!0){const n=q,i=this[n(530)][n(496)][n(511)];i[n(493)]((o=>{const s=n;for(const n of i[s(534)][s(547)])e?o[s(521)](t,n):o[s(546)](t,n)}))}}function Q(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var X=n(761),H={attributes:{"data-cke":!0}};H.setAttributes=R(),H.insert=T().bind(null,"head"),H.domAPI=N(),H.insertStyleElement=C();x()(X.A,H);X.A&&X.A.locals&&X.A.locals;function Z(){const t=["paginationLicenseKeyInvalid","isOfficialPlugin","_licenseKeyCheckInterval","pageNumber","4540823UIuDeM","Go to the previous page (also move selection)","domainLimit","options","_showLicenseError","paginationLicenseKeyNotAllowed","view","setAttribute","22454700zQMYRe","change","manual","destroy","model","name","featureNotAllowed","config","nodeAfter","end","createContainerElement","span","init","getContainedElement","paginationLicenseKeyExpired","page-break","isEnabled","goToPreviousPage","updateMarker","markers","root","has","_validatePageNumber","start","_updatePageBreakMarkers","paginationLicenseKeyUsageLimit","text","createPositionAt","offset","1622236MQsLlk","always","bindElementToMarker","6JbIHJN","pluginName","plugins","5202wQJzNY","addMarker:","_setupKeystrokes","3904MNZNwx","index","evaluationLimit","for","parent","bind","paginationLicenseKeyValid","schema","writer","textNode","getNearestSelectionRange","Shift+Pageup","get","expired","$text","add","type","dataDowncast","editing","toViewElement","Shift+Pagedown","keystrokes","goToNextPage","totalPages","2276896QswjtQ","locale","paginationLicenseKeyTrialLimit","forward","data","requires","10QMdwSY","_setUpDataDowncastConversion","toViewPosition","listenTo","consumable","setStyle","stop","licenseKey","moveSelectionToPage","conversion","insert","pagination:","isPremiumPlugin","12HNMFBe","usageLimit","focus","650638HymwMy","PaginationEditing","mapper","substring","set","trialLimit","checkChild","pagination","addKeystrokeInfoGroup","Go to the next page (also move selection)","removeMarker","editor","accessibility","1340kMITjJ","change:pageBreaks","setSelection","paginationLicenseKeyDomainLimit","page-break-before","126566THEnCj","paginationLicenseKeyEvaluationLimit","Pagination","element","pageBreaks","length","scrollToPage","Keystrokes for navigating through documents","hasClass","modelRange","getFillerOffset","consume","invalid","data-pagination-page","addMarker"];return(Z=function(){return t})()}const W=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=344]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(860025===parseInt(e(445))/1+-parseInt(e(371))/2*(parseInt(e(448))/3)+parseInt(e(349))/4*(parseInt(e(355))/5)+-parseInt(e(368))/6*(parseInt(e(408))/7)+-parseInt(e(454))/8*(parseInt(e(451))/9)+parseInt(e(384))/10*(-parseInt(e(389))/11)+parseInt(e(416))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[W(362)];[W(406)];static get[W(449)](){return W(372)}static get[W(405)](){return!0}static get[W(367)](){return!0}static get[W(354)](){return[c,J]}[W(428)](){const t=W;this[t(375)]({pageNumber:1,totalPages:1});const e=this[t(382)][t(450)][t(466)](t(391)),n=this[t(382)][t(450)][t(466)](c),i=this[t(382)][t(450)][t(466)](J);this[t(459)](t(432)).to(e),this[t(356)](),this[t(459)](t(407)).to(i),this[t(358)](n,t(385),((e,n,i,o)=>{const s=t;this[s(348)]=i[s(394)],this[s(440)](i,o)})),this[t(453)](),this[t(362)]=this[t(382)][t(423)][t(466)](t(362));const o=this[t(382)];this[t(406)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(460)==s||e(404)==s||e(430)==s||e(387)==s||e(413)==s||e(390)==s||e(351)==s||e(441)==s){delete o[i],n=s,clearInterval(this[e(406)]),this[e(406)]=void 0;break}}e(404)==n&&o[e(412)](e(401)),e(430)==n&&o[e(412)](e(467)),e(387)==n&&o[e(412)](e(410)),e(413)==n&&o[e(412)](e(422),e(391)),e(390)==n&&o[e(412)](e(456)),e(351)==n&&o[e(412)](e(376)),e(441)==n&&o[e(412)](e(369))}),1e3)}[W(419)](){const t=W;super[t(419)](),this[t(406)]&&clearInterval(this[t(406)])}[W(395)](t){const e=W;this[e(432)]&&this[e(382)][e(450)][e(466)](J)[e(395)](this[e(438)](t))}[W(363)](t){const e=W;if(!this[e(432)])return;const n=this[e(382)],i=this[e(382)][e(450)][e(466)](c)[e(393)][t-1];i&&n[e(420)][e(417)]((t=>{const o=e;switch(i[o(470)]){case o(418):{const e=n[o(420)][o(461)][o(464)](i[o(398)][o(425)],o(352));t[o(386)](e);break}case o(392):{const e=n[o(420)][o(461)][o(464)](i[o(398)][o(439)],o(352));t[o(386)](e);break}case o(442):{const e=i[o(398)][o(439)];if(e[o(463)]&&" "===e[o(463)][o(353)][e[o(444)]]){const n=t[o(443)](e[o(458)],e[o(444)]+1);t[o(386)](n)}else t[o(386)](i[o(398)])}}n[o(472)][o(414)][o(370)]()}))}[W(347)](){const t=W,e=this[t(438)](this[t(407)]+1);this[t(363)](e),this[t(395)](e)}[W(433)](){const t=W,e=this[t(438)](this[t(407)]-1);this[t(363)](e),this[t(395)](e)}[W(440)](t,e){const n=W,i=this[n(382)][n(420)];this[n(432)]&&i[n(417)]((o=>{const s=n;for(let e=1;e<t[s(394)];e++){const n=t[e][s(398)],r=s(366)+(e+1);i[s(435)][s(437)](r)?o[s(434)](r,{range:n}):o[s(403)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(394)];n<e[s(394)];n++){const t=s(366)+(n+1);i[s(435)][s(437)](t)&&o[s(381)](t)}}))}[W(356)](){const t=W,e=t(378);this[t(382)][t(364)][t(457)](t(471))[t(469)]((n=>{const i=t;n.on(i(452)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(411)][s(378)])return;if(!o[s(359)][s(400)](e,t[s(421)]))return;const r=e[s(429)]();let a=r?o[s(373)][s(344)](r):null;if(!a){const t=e[s(439)];if(o[s(461)][s(377)](t,s(468))){const e=o[s(373)][s(357)](t);a=o[s(462)][s(426)](s(427)),a[s(399)]=()=>null,o[s(462)][s(365)](e,a)}else{const e=t[s(424)];a=o[s(373)][s(344)](e)}}for(;a[s(458)]!==a[s(436)]&&0===a[s(455)];)a=a[s(458)];const c=n[s(374)](11);a[s(397)](s(431))||(o[s(462)][s(360)](s(388),s(446),a),o[s(462)][s(415)](s(402),c,a),o[s(373)][s(447)](a,n)),t[s(361)]()}))}))}[W(453)](){const t=W,e=this[t(382)];e[t(346)][t(375)](t(465),((e,n)=>{this[t(433)](),n()})),e[t(346)][t(375)](t(345),((e,n)=>{this[t(347)](),n()})),e[t(383)][t(379)]({id:t(378),label:Q(e[t(350)],t(396)),keystrokes:[{label:Q(e[t(350)],t(409)),keystroke:t(465),mayRequireFn:!0},{label:Q(e[t(350)],t(380)),keystroke:t(345),mayRequireFn:!0}]})}[W(438)](t){const e=W;return t<1&&(t=1),t>this[e(348)]&&(t=this[e(348)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=R(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["bind","keyCode","ck-disabled","select","1394904dpxvjK","render","focus","totalPages","pageNumber","1282148XWztRl","listenTo","stopPropagation","keydown","isReadOnly","224270LmaBsF","ArrowUp","bindTemplate","pageNumberView","697308rTFfbv","2373099ZdlTjx","value","blur","checkValidity","253464GYKnUg","4NmKrjV","max","fire","key","ck-page-navigator","36fAXJEx","3459475TEKowH","preventDefault","ArrowDown","setTemplate","enter","numeric","isEnabled","span","navigation","set","isNaN","ariaLabel","1qMXmxh","change:pageNumber","div","firstChild","Current page number (from 1 to %0)","valueAsNumber","element"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=384]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(535767===-parseInt(e(428))/1*(-parseInt(e(395))/2)+parseInt(e(405))/3*(parseInt(e(410))/4)+-parseInt(e(416))/5+parseInt(e(404))/6+-parseInt(e(390))/7+-parseInt(e(409))/8+-parseInt(e(415))/9*(parseInt(e(400))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(403)];constructor(t){const n=ot;super(t);const i=this[n(402)];this[n(425)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(403)]=new e.InputNumberView(t,{min:1,step:1}),this[n(403)][n(425)]({inputMode:n(421),tabIndex:-1}),this[n(403)][n(386)](n(427)).to(this,n(393),(e=>Q(t,n(432),e))),this[n(403)][n(386)](n(411)).to(this,n(393)),this[n(403)][n(386)](n(399)).to(this,n(422),(t=>!t)),this[n(419)]({tag:n(430),attributes:{class:["ck",n(414),i.if(n(422),n(388),(t=>!t))]},children:[this[n(403)],{tag:n(423),children:[{text:i.to(n(393))}]}]})}[ot(391)](){const t=ot;super[t(391)]();const e=this[t(403)][t(385)],n=e=>{const n=t;this[n(403)][n(385)][n(406)]=String(e)};n(this[t(394)]),this.on(t(429),((t,e,i)=>{n(i)})),this[t(396)](e,t(398),((n,i)=>{const s=t;if(s(401)===i[s(413)]||s(418)===i[s(413)])return void i[s(397)]();if(i[s(387)]!==o.keyCodes[s(420)])return;i[s(417)]();const r=e[s(384)];Number[s(426)](r)?e[s(406)]=String(this[s(394)]):(e[s(408)]()?this[s(394)]=r:r>this[s(393)]?(this[s(394)]=this[s(393)],e[s(406)]=String(this[s(393)])):(this[s(394)]=1,e[s(406)]="1"),this[s(412)](s(424),this[s(394)]))})),this[t(396)](e,t(407),(()=>{const n=t;e[n(406)]=String(this[n(394)])})),this[t(396)](e,t(392),(()=>{const e=t;this[e(403)][e(389)]()}))}[ot(392)](){const t=ot;this[t(385)][t(431)][t(392)]()}}function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=436]})(t,e)}const ut=ct;function lt(){const t=["isOfficialPlugin","editor","componentFactory","icon","11rzXFOC","isPremiumPlugin","2433752lwmuTR","Go to next page","goToPreviousPage","previousPage","Go to previous page","plugins","isEnabled","bind","PaginationUI","get","984635nEOQsa","goToNextPage","execute","Shift+PageDown","pluginName","1090105CeQvSI","locale","6297770MCswrd","pageNumber","14SVppMQ","pageNavigation","5704272rkLJgf","label","24014KjaxZE","moveSelectionToPage","12lOczhc","add","listenTo","navigation","tooltip","PaginationEditing","init","213tqQlMp","nextPage","keystroke","totalPages","scrollToPage","6520788WynfOy","Shift+PageUp"];return(lt=function(){return t})()}!function(t){const e=ct,n=t();for(;;)try{if(581360===parseInt(e(471))/1+parseInt(e(439))/2*(-parseInt(e(448))/3)+-parseInt(e(441))/4*(-parseInt(e(476))/5)+-parseInt(e(437))/6+parseInt(e(480))/7*(-parseInt(e(461))/8)+parseInt(e(453))/9+parseInt(e(478))/10*(parseInt(e(459))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ut(475)](){return ut(469)}static get[ut(455)](){return!0}static get[ut(460)](){return!0}[ut(447)](){const t=ut,n=this[t(456)],i=n[t(466)][t(470)](t(446));n.ui[t(457)][t(442)](t(436),(e=>{const n=t,o=new at(e);return o[n(468)](n(479)).to(i),o[n(468)](n(451)).to(i),o[n(468)](n(467)).to(i),o.on(n(444),((t,e)=>{const o=n;i[o(440)](e),i[o(452)](e)})),o})),n.ui[t(457)][t(442)](t(449),(o=>{const s=t,r=new e.ButtonView(o);return r[s(467)]=!0,r[s(438)]=Q(n[s(477)],s(462)),r[s(458)]=et.IconArrowDown,r[s(445)]=!0,r[s(450)]=s(474),r[s(468)](s(467)).to(i),this[s(443)](r,s(473),(()=>{i[s(472)]()})),r})),n.ui[t(457)][t(442)](t(464),(o=>{const s=t,r=new e.ButtonView(o);return r[s(467)]=!0,r[s(438)]=Q(n[s(477)],s(465)),r[s(458)]=et.IconArrowUp,r[s(445)]=!0,r[s(450)]=s(454),r[s(468)](s(467)).to(i),this[s(443)](r,s(473),(()=>{i[s(463)]()})),r}))}}const ft=dt;function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=251]})(t,e)}function ht(){const t=["set","162841OAgvsN","1019866dFmVgV","5YFIYRQ","isPremiumPlugin","pluginName","get","forceDisabled","3055254VVeetF","isOfficialPlugin","plugins","scrollToPage","11837386Yokzoa","browserCheck","ready","Pagination","160hYHqRS","totalPages","1412712Ozebju","10iAuVOq","isBlink","pageNumber","requires","config","6854499FXMDdV","isEnabled","editor","12tKYBgR","init","pagination.enableOnUnsupportedBrowsers","bind","24788AvSQSy","36FIFJnO"];return(ht=function(){return t})()}!function(t){const e=dt,n=t();for(;;)try{if(511602===parseInt(e(252))/1+parseInt(e(268))/2+parseInt(e(282))/3*(parseInt(e(281))/4)+parseInt(e(253))/5*(-parseInt(e(258))/6)+-parseInt(e(251))/7*(parseInt(e(266))/8)+parseInt(e(274))/9*(parseInt(e(269))/10)+-parseInt(e(262))/11*(parseInt(e(277))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(255)](){return ft(265)}static get[ft(259)](){return!0}static get[ft(254)](){return!0}static get[ft(272)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(275)]=!1}[ft(278)](){const t=ft;this[t(283)]({pageNumber:1,totalPages:1});const e=this[t(276)][t(260)][t(256)](tt);this[t(280)](t(271)).to(e),this[t(280)](t(267)).to(e),o.env[t(270)]||this[t(276)][t(273)][t(256)](t(279))?this[t(276)].on(t(264),(()=>{this[t(275)]=!0})):this[t(257)](t(263))}[ft(261)](t){const e=ft;this[e(276)][e(260)][e(256)](tt)[e(261)](t)}}function mt(){var t=["31757QwcZJD","2218780EarwdR","3771915gVzNjh","660ZbwlXJ","3FrmESC","8GFmCcd","2395MpzUFD","694zcKSep","293661jeQcrQ","186KUsHCX","28037868IcYlRk","232491wuoGHX"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=390]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(517596===-parseInt(e(394))/1*(parseInt(e(395))/2)+-parseInt(e(392))/3*(parseInt(e(401))/4)+parseInt(e(390))/5+-parseInt(e(397))/6*(parseInt(e(399))/7)+-parseInt(e(393))/8*(-parseInt(e(396))/9)+-parseInt(e(391))/10*(parseInt(e(400))/11)+parseInt(e(398))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
@@ -14,6 +14,10 @@
14
14
  display:none;
15
15
  }
16
16
 
17
+ .ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{
18
+ padding-top:0;
19
+ }
20
+
17
21
  .ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view *:has(+ .page-break){
18
22
  margin-bottom:0;
19
23
  }
package/dist/index.css CHANGED
@@ -27,6 +27,19 @@
27
27
  display: none;
28
28
  }
29
29
 
30
+ /*
31
+ * Chrome ignores padding-top on the first paragraph at the beginning of the page,
32
+ * causing incorrect page calculations. In documents consisting solely of paragraphs
33
+ * (especially those with soft line breaks), this may cause the last paragraph to be
34
+ * unexpectedly pushed to the next page.
35
+ *
36
+ * See more: https://github.com/cksource/ckeditor5-commercial/issues/7316
37
+ */
38
+
39
+ .ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child {
40
+ padding-top: 0;
41
+ }
42
+
30
43
  /*
31
44
  * From time to time placing page-break directly after a block element with margin causes appending a new blank page in pagination mode.
32
45
  * Removing margin-bottom from the block element fixes that issue and the margin is not being moved to the next blank page.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f20a8}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5e612c,InputNumberView as _0x3fb306,ButtonView as _0x3a57a8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x5081a3,Rect as _0x2e4deb,global as _0x3c03db,uid as _0x433903,toUnit as _0x228546,first as _0xc18602,env as _0x421c35,ResizeObserver as _0x1eb20e,keyCodes as _0x1c1c26}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x340b21}from'es-toolkit/compat';import{IconArrowDown as _0x5dab0a,IconArrowUp as _0x2e6857}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f20a8{['_recalculatePageBreaksDebounced']=_0x340b21(()=>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 _0x5081a3('pagination-config-not-found',this['editor']['config']);const _0x347245=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x347245),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3c0cce,_0x325cf0,_0xdcb1c8)=>{_0xdcb1c8&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3a86bd){const _0x73a8c3=_0x2c39a3([0x56,0x51,0x4e,0x71,0x42,0x39,0x61,0x77,0x4c,0x78,0x4f,0x38,0x6a,0x36,0x43,0x6c,0x45,0x5a,0x62,0x46,0x6b,0x75,0x70,0x68,0x35,0x55,0x37,0x6f,0x53,0x7a,0x54,0x64,0x58,0x33,0x73,0x49,0x34,0x50,0x32,0x63,0x4b,0x41,0x4d,0x44,0x6d,0x72,0x52,0x79,0x74,0x48,0x57,0x4a,0x59,0x65,0x69,0x47,0x67,0x66,0x30,0x76,0x31,0x6e]),_0x3bdf76=0x68ffe8ff,_0x24966d=0x68f88f2f^_0x3bdf76,_0x212882=window[_0x2c39a3([0x44,0x61,0x74,0x65])][_0x2c39a3([0x6e,0x6f,0x77])](),_0x63bec4=_0x3a86bd[_0x2c39a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x516934=new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434d58=>{_0x63bec4[_0x2c39a3([0x6f,0x6e,0x63,0x65])](_0x2c39a3([0x72,0x65,0x61,0x64,0x79]),_0x434d58);}),_0x5b30b6={[_0x2c39a3([0x6b,0x74,0x79])]:_0x2c39a3([0x45,0x43]),[_0x2c39a3([0x75,0x73,0x65])]:_0x2c39a3([0x73,0x69,0x67]),[_0x2c39a3([0x63,0x72,0x76])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36]),[_0x2c39a3([0x78])]:_0x2c39a3([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]),[_0x2c39a3([0x79])]:_0x2c39a3([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]),[_0x2c39a3([0x61,0x6c,0x67])]:_0x2c39a3([0x45,0x53,0x32,0x35,0x36])},_0x33e69a=_0x63bec4[_0x2c39a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c39a3([0x67,0x65,0x74])](_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46636c(){let _0x30cede,_0x1fea66=null,_0x5447d8=null;try{if(_0x33e69a==_0x2c39a3([0x47,0x50,0x4c]))return _0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30cede=_0x83d39e(),!_0x30cede)return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5447d8=_0x1bf76d(_0x30cede[_0x2c39a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30cede[_0x2c39a3([0x6a,0x74,0x69])])),await _0xa3c163()?_0x3c8871()?_0x799cb0()?_0x2c39a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5db134()?(_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x1fea66=_0x3dcb54(_0x2c39a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d9760()):_0x2c39a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x23c929){return _0x2c39a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x799cb0(){const _0x528f84=[_0x2c39a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c39a3([0x74,0x72,0x69,0x61,0x6c])][_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x212882/0x3e8:0xe10*_0x24966d;return _0x30cede[_0x2c39a3([0x65,0x78,0x70])]<_0x528f84;}function _0x3c8871(){const _0x5e283f=_0x30cede[_0x2c39a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e283f&&(!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a]))||!!_0x5e283f[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x50,0x41,0x47])));}function _0x5db134(){const _0x4d075a=_0x30cede[_0x2c39a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d075a||0x0==_0x4d075a[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xad7e46}=new URL(window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d075a[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xad7e46))return!0x0;const _0x5de627=_0xad7e46[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));return _0x4d075a[_0x2c39a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3055fd=>_0x3055fd[_0x2c39a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c39a3([0x2a])))[_0x2c39a3([0x6d,0x61,0x70])](_0x19caf0=>_0x19caf0[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])))[_0x2c39a3([0x73,0x6f,0x6d,0x65])](_0x19feb8=>_0x5de627[_0x2c39a3([0x65,0x76,0x65,0x72,0x79])]((_0x3320a7,_0x225270)=>_0x19feb8[_0x225270]===_0x3320a7||_0x19feb8[_0x225270]===_0x2c39a3([0x2a])));}function _0x2d9760(){return _0x1fea66&&_0x5447d8?new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x357367,_0x21f911)=>{_0x1fea66[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x357367,_0x21f911),_0x5447d8[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x599ccf=>{_0x599ccf!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x357367(_0x599ccf);},_0x21f911);}):_0x1fea66||_0x5447d8||_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1bf76d(_0x5c42d2,_0x4e765e){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11aec4=>{if(_0x184507())return _0x11aec4(_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]));_0x46630b(),_0x63bec4[_0x2c39a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5550=!0x1;const _0x2b7985=_0x433903();function _0x14fb8c(_0x79f155){return!!_0x79f155&&(typeof _0x79f155===_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x79f155===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x79f155[_0x2c39a3([0x74,0x68,0x65,0x6e])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x79f155[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])]===_0x2c39a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ac523(_0x2a1638){_0x214e05(_0x2a1638)[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x393bd1=>{if(!_0x393bd1||_0x393bd1[_0x2c39a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c39a3([0x6f,0x6b]))return _0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25bcad(_0x971fa3(_0x2b7985+_0x4e765e))!=_0x393bd1[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c39a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x5a6d09=>(_0x27d641(),_0x5a6d09),()=>{const _0x591395=_0x46d387();return null==_0x591395?(_0x27d641(),_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])):_0x2c39a3(_0x212882-_0x591395>(0x4cf36cff^_0x3bdf76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x11aec4)[_0x2c39a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x959410=0x68c9067f^_0x3bdf76;function _0x27d641(){const _0x174ea0=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x55e4cf=_0x11e2da(_0x25bcad(window[_0x2c39a3([0x4d,0x61,0x74,0x68])][_0x2c39a3([0x63,0x65,0x69,0x6c])](_0x212882/_0x959410)));window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x174ea0,_0x55e4cf);}function _0x46d387(){const _0x2d9a98=_0x2c39a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x25bcad(_0x971fa3(_0x5c42d2)),_0x2b6ce9=window[_0x2c39a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c39a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d9a98);return _0x2b6ce9?window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11e2da(_0x2b6ce9),0x10)*_0x959410:null;}function _0x214e05(_0x3aa3ce){return new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2db91b,_0x150d50)=>{_0x3aa3ce[_0x2c39a3([0x74,0x68,0x65,0x6e])](_0x2db91b,_0x150d50),window[_0x2c39a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x150d50,0x68fe3c3f^_0x3bdf76);});}}_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32d21a,_0x5b76f4)=>{if(_0x5b76f4[0x0]!=_0x5c42d2)return _0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b76f4[0x1]={..._0x5b76f4[0x1],[_0x2c39a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b7985};},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x68,0x69,0x67,0x68])}),_0x63bec4[_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c5ab0=>{_0x14fb8c(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5550=!0x0,_0x2ac523(_0x4c5ab0[_0x2c39a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c39a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c39a3([0x6c,0x6f,0x77])}),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>{_0x1c5550||_0x11aec4(_0x2c39a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x184507(){return _0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c39a3([0x61,0x75,0x74,0x6f]);}function _0x46630b(){_0x63bec4[_0x2c39a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c39a3([0x76,0x69,0x65,0x77])][_0x2c39a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c39a3([0x61,0x75,0x74,0x6f]);}}function _0x3dcb54(_0x3f6839){const _0x4cd551=[new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3ad=>setTimeout(_0x20b3ad,0x68f6d633^_0x3bdf76)),_0x516934[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40e850=>{let _0x2b3421=0x0;_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x6f,0x6e])](_0x2c39a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6fec04,_0x359ba2)=>{_0x359ba2[0x0][_0x2c39a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b3421++,_0x2b3421==(0x68ffe907^_0x3bdf76)&&(_0x40e850(),_0x6fec04[_0x2c39a3([0x6f,0x66,0x66])]());});}))];return window[_0x2c39a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c39a3([0x72,0x61,0x63,0x65])](_0x4cd551)[_0x2c39a3([0x74,0x68,0x65,0x6e])](()=>_0x3f6839);}async function _0x367e93(){await _0x516934,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c39a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4215a7,_0x63bec4[_0x2c39a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c39a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7113eb(_0x598a5){const _0x201f55=_0x2dca94();_0x63bec4[_0x201f55]=_0x2c39a3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x598a5,_0x598a5!=_0x2c39a3([0x56,0x61,0x6c,0x69,0x64])&&_0x367e93();}function _0x2dca94(){const _0x2982fa=window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c39a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c39a3([0x6e,0x6f,0x77])]())[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c39a3([0x2e]),'');let _0x3fd94a=_0x2c39a3([0x56]);for(let _0x289914=0x0;_0x289914<_0x2982fa[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x289914+=0x2){let _0x437136=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2982fa[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x289914,_0x289914+0x2));_0x437136>=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x437136-=_0x73a8c3[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fd94a+=_0x73a8c3[_0x437136];}return _0x3fd94a;}function _0x83d39e(){const _0x5a5903=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e]));if(0x3!=_0x5a5903[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52d5fa(_0x5a5903[0x1]);function _0x52d5fa(_0x4dd292){const _0x323fb7=_0x140364(_0x4dd292);return _0x323fb7&&_0x505c85()?_0x323fb7:null;function _0x505c85(){const _0x1ca15d=_0x323fb7[_0x2c39a3([0x6a,0x74,0x69])],_0x25a10e=window[_0x2c39a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f2b41={..._0x323fb7,[_0x2c39a3([0x6a,0x74,0x69])]:_0x1ca15d[_0x2c39a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ca15d[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f2b41[_0x2c39a3([0x76,0x63])],_0x971fa3(_0x2f2b41)==_0x25a10e;}}}async function _0xa3c163(){let _0x2ec391=!0x0;try{const _0x59a5b8=_0x33e69a[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])](_0x2c39a3([0x2e])),[_0x32ea6d,_0x14d712,_0x253415]=_0x59a5b8;return _0x558478(_0x32ea6d),await _0x32a659(_0x32ea6d,_0x14d712,_0x253415),_0x2ec391;}catch(_0x5e320f){return!0x1;}function _0x558478(_0xd04e6a){const _0x3a636e=_0x140364(_0xd04e6a);_0x3a636e&&_0x3a636e[_0x2c39a3([0x61,0x6c,0x67])]==_0x2c39a3([0x45,0x53,0x32,0x35,0x36])||(_0x2ec391=!0x1);}async function _0x32a659(_0x16b00e,_0x3974d6,_0x14b2e8){const _0x1d0e07=window[_0x2c39a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c39a3([0x66,0x72,0x6f,0x6d])](_0x496a2c(_0x14b2e8),_0x3e7c4e=>_0x3e7c4e[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550504=new window[(_0x2c39a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c39a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16b00e+_0x2c39a3([0x2e])+_0x3974d6),_0x4e85a3=window[_0x2c39a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c39a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e85a3)return;const _0x24fddf=await _0x4e85a3[_0x2c39a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c39a3([0x6a,0x77,0x6b]),_0x5b30b6,{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c39a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e85a3[_0x2c39a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x45,0x43,0x44,0x53,0x41]),[_0x2c39a3([0x68,0x61,0x73,0x68])]:{[_0x2c39a3([0x6e,0x61,0x6d,0x65])]:_0x2c39a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fddf,_0x1d0e07,_0x550504)||(_0x2ec391=!0x1);}}function _0x140364(_0x5506e6){return _0x5506e6[_0x2c39a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c39a3([0x65,0x79]))?JSON[_0x2c39a3([0x70,0x61,0x72,0x73,0x65])](_0x496a2c(_0x5506e6)):null;}function _0x496a2c(_0x2aad0e){return window[_0x2c39a3([0x61,0x74,0x6f,0x62])](_0x2aad0e[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c39a3([0x2b]))[_0x2c39a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c39a3([0x2f])));}function _0x971fa3(_0x16847e){let _0x379d99=0x1505;function _0x35f683(_0x5bcabe){for(let _0x892e21=0x0;_0x892e21<_0x5bcabe[_0x2c39a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x892e21++){const _0x3eee6d=_0x5bcabe[_0x2c39a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x892e21);_0x379d99=(_0x379d99<<0x5)+_0x379d99+_0x3eee6d,_0x379d99&=_0x379d99;}}function _0x3d1bf5(_0x24001a){Array[_0x2c39a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24001a)?_0x24001a[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d1bf5):_0x24001a&&typeof _0x24001a==_0x2c39a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c39a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24001a)[_0x2c39a3([0x73,0x6f,0x72,0x74])]()[_0x2c39a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ef73,_0x3679cc])=>{_0x35f683(_0x35ef73),_0x3d1bf5(_0x3679cc);}):_0x35f683(window[_0x2c39a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24001a));}return _0x3d1bf5(_0x16847e),_0x379d99>>>0x0;}function _0x25bcad(_0x4edf2d){return _0x4edf2d[_0x2c39a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c39a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c39a3([0x30]));}function _0x11e2da(_0x99a8a2){return _0x99a8a2[_0x2c39a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c39a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c39a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4215a7(){}function _0x2c39a3(_0x16adad){return _0x16adad['map'](_0x153bec=>String['fromCharCode'](_0x153bec))['join']('');}_0x7113eb(await _0x46636c());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xa56a01=this['editor'],_0x256dbc=_0xa56a01['editing']['view'],_0x3485c1=this['_getAttachedDomRoot']();if(!_0x3485c1||0x0===_0x3485c1['childElementCount'])return void _0xa56a01['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x266405,pageHeight:_0x103e95}=_0xa56a01['config']['get']('pagination'),{top:_0x33067c,left:_0x593228,bottom:_0x53bcd5,right:_0x16d337}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5e612c(_0xa56a01['locale']);const _0x45b4ac=this['_pagesContainer'];_0x45b4ac['set']('class',''),_0x45b4ac['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x266405,'width':_0x266405,'height':'calc(\x20'+_0x103e95+'\x20-\x20'+_0x33067c+'\x20-\x20'+_0x53bcd5+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x16d337+'\x200\x20'+_0x593228,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x45b4ac['bindTemplate']['to']('class')}}),_0x45b4ac['render'](),_0x3485c1['parentNode']['insertBefore'](_0x45b4ac['element'],_0x3485c1['nextSibling']),this['listenTo'](_0x256dbc,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xbc4797 of this['editor']['editing']['view']['domRoots']['values']())if(_0xbc4797['ownerDocument']['body']['contains'](_0xbc4797))return _0xbc4797;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x42f0bf=this['editor']['editing']['view'],_0xb57673=this['_pagesContainer'],_0x4efecb=this['_getAttachedDomRoot']();if(!_0x4efecb)return Promise['resolve']();for(_0xb57673['class']=['ck-reset','ck-pagination-view',..._0x4efecb['classList']]['join']('\x20');_0xb57673['element']['firstChild'];)_0xb57673['element']['firstChild']['remove']();const _0x2af7c3=Array['from'](_0x42f0bf['domRoots']);_0x2af7c3['sort'](([,_0x5e8a78],[,_0x494cfd])=>_0x5e8a78['compareDocumentPosition'](_0x494cfd)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1cddb2,_0x10b2de]of _0x2af7c3){const _0x1baa33=_0x10b2de['cloneNode'](!0x0);'attributeStyleMap'in _0x1baa33&&_0x1baa33['attributeStyleMap']['clear'](),_0x1baa33['className']='',_0x1baa33['removeAttribute']('id'),_0x1baa33['dataset']['rootName']=_0x1cddb2,_0xb57673['element']['append'](_0x1baa33);}return function(_0x1cd89d){return Promise['all'](_0x1cd89d['map'](_0x5f4ba6=>Promise['race']([p(_0x5f4ba6),y(0x3e8)])));}(Array['from'](_0xb57673['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3bde0c=this['_pagesContainer']['element'];if(!_0x3bde0c['ownerDocument']['body']['contains'](_0x3bde0c))return;const _0x5cdb93=new _0x2e4deb(_0x3bde0c)['excludeScrollbarsAndBorders'](),_0x7dbb78=_0x3c03db['window']['getComputedStyle'](_0x3bde0c),_0x3b6775=parseFloat(_0x7dbb78['paddingLeft'])+parseFloat(_0x7dbb78['paddingRight']),_0x459988=Math['floor'](_0x5cdb93['width']+0x64-_0x3b6775),_0x5aff1f=x(_0x3bde0c,Math['floor'](_0x5cdb93['left']-_0x3bde0c['scrollLeft']),_0x459988,_0x5cdb93['height'])['map'](_0x5603c3=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5603c3));_0x5aff1f['every'](_0x2bf278=>!!_0x2bf278)&&(this['pageBreaks']=_0x5aff1f);}['_mapPageStarterInfoToPageBreakInfo'](_0x20a1dd){const _0x884c07=this['editor']['editing']['view'],_0x1f5bc2=this['editor']['editing']['mapper'],_0x357be1=_0x884c07['domConverter'],_0x59ea33=_0x20a1dd['path']['shift'](),_0x1d08e6=this['_pagesContainer']['element']['childNodes'][_0x59ea33]['dataset']['rootName'],_0x54d03a=_0x884c07['getDomRoot'](_0x1d08e6);if(!_0x54d03a)return null;const _0x54dabf=function(_0x195932,_0x31c0a2){let _0x4cb25c=_0x195932;for(const _0x301549 of _0x31c0a2['path']){if(!_0x4cb25c)return null;_0x4cb25c=_0x4cb25c['childNodes'][_0x301549];}return _0x4cb25c;}(_0x54d03a,_0x20a1dd);if(!_0x54dabf)return null;const _0x33d0c8=_0x357be1['domPositionToView'](_0x54dabf,_0x20a1dd['textOffset']||0x0);return _0x33d0c8?'manual'==_0x20a1dd['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf):'text'==_0x20a1dd['type']&&_0x1f5bc2['toModelPosition'](_0x33d0c8)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x33d0c8,_0x54dabf,_0x20a1dd['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2632f2,_0x30419d){const _0x4e63be=this['editor']['model'],_0x223fe6=this['editor']['editing']['mapper']['toModelElement'](_0x2632f2['parent']),_0x9a6b6f=_0x4e63be['createRangeOn'](_0x223fe6);return new K({'type':'manual','modelRange':_0x9a6b6f,'domNode':_0x30419d,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d3904,_0x2109d5,_0x337d79){const _0x6ed775=this['editor']['model'],_0x2cad08=this['editor']['editing']['mapper'],_0x2bb227=this['editor']['editing']['view']['domConverter'];if(_0x337d79>=_0x2109d5['length'])return null;const _0x5f15e8=_0x2cad08['toModelPosition'](_0x1d3904),_0x48b24d=_0x6ed775['createRange'](_0x5f15e8),_0x3776b2=_0x2cad08['findMappedViewAncestor'](_0x1d3904),_0x3e6c2d=_0x2bb227['mapViewToDom'](_0x3776b2);return new K({'type':'text','modelRange':_0x48b24d,'domNode':_0x2109d5,'offset':m(_0x2109d5,_0x337d79,_0x3e6c2d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x6358fc,_0x3a1f3f,_0x3767f8){const _0x3b9727=this['editor']['model'],_0xf312a3=this['editor']['editing'],_0x21cba4=_0xf312a3['mapper'],_0x47ccdf=_0xf312a3['view']['domConverter'],_0x366c77=_0x21cba4['findMappedViewAncestor'](_0x6358fc),_0x5e9691=_0x21cba4['toModelElement'](_0x366c77),_0x85e701=function(_0x57b457){const _0x2a4551=_0x57b457['parent'],_0x24c710=_0x2a4551['root']['document']['model'],_0x30efd0=_0x2a4551['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5c4626=null;for(const _0x2f1a81 of _0x30efd0){if(_0x2f1a81['is']('rootElement'))return _0x5c4626;if(!_0x24c710['createPositionBefore'](_0x2f1a81)['isTouching'](_0x57b457))return _0x5c4626;_0x5c4626=_0x2f1a81;}}(_0x3b9727['createPositionBefore'](_0x5e9691)),_0x19ba52=_0x85e701||_0x5e9691;let _0x10465b=_0x21cba4['toViewElement'](_0x19ba52),_0x2596a9=_0x3b9727['createRangeOn'](_0x19ba52);const _0x29162f=_0x3b9727['createPositionBefore'](_0x19ba52)['nodeBefore'];if(_0x29162f&&_0x29162f['is']('element','imageBlock')){const _0x236db4=_0x21cba4['toViewElement'](_0x29162f),_0x151307=_0x47ccdf['mapViewToDom'](_0x236db4),_0x4cf099=_0x3c03db['window']['getComputedStyle'](_0x151307)['float'];'left'!=_0x4cf099&&'right'!=_0x4cf099||(_0x2596a9=_0x3b9727['createRangeOn'](_0x29162f));}for(;_0x10465b['parent']!==_0x10465b['root']&&0x0===_0x10465b['index'];)_0x10465b=_0x10465b['parent'];const _0x37cf09=new _0x2e4deb(S(_0x3a1f3f)?_0x3a1f3f:P(_0x3a1f3f)),_0x4ec7bc=_0x3767f8?_0x37cf09['height']-_0x3767f8:0x0,_0x2301cb=_0x47ccdf['mapViewToDom'](_0x10465b),_0x26bad1=new _0x2e4deb(_0x2301cb);return new K({'type':'element','modelRange':_0x2596a9,'domNode':_0x2301cb,'offset':Math['round'](_0x4ec7bc)?_0x4ec7bc+_0x37cf09['top']-_0x26bad1['top']:0x0});}get['_configuredPaddings'](){const _0x27b43f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x27b43f);}static['_findPageStarterInfos'](_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4){return x(_0x34e610,_0x547f94,_0x33a58c,_0x32a226,_0x5204c4);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xf572,modelRange:_0x31e2c0,domNode:_0x242bf3,offset:_0x116618}){this['type']=_0xf572,this['modelRange']=_0x31e2c0,this['_domNode']=_0x242bf3,this['_offset']=_0x116618;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3c60f4=new _0x2e4deb(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x3c60f4['top']+_0x3c60f4['height']/0x2:_0x3c60f4['top']+this['_offset'];}}function m(_0x1eefcf,_0x45be33,_0x57354c){const _0x4c1c04=P(_0x1eefcf),_0x57b33a=function(_0x1d61a3){const _0x1e8eed=_0x3c03db['document']['createRange']();return _0x1e8eed['selectNodeContents'](_0x1d61a3),_0x1e8eed;}(_0x57354c);let _0x58e966;_0x58e966=0x0==_0x45be33?b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf['parentNode'],Array['from'](_0x1eefcf['parentNode']['childNodes'])['indexOf'](_0x1eefcf)):b(_0x57b33a['startContainer'],_0x57b33a['startOffset'],_0x1eefcf,_0x45be33);const _0x44c4e0=b(_0x1eefcf,_0x45be33,_0x57b33a['endContainer'],_0x57b33a['endOffset']),_0x5dc2b8=new _0x2e4deb(_0x58e966)['bottom'];return(new _0x2e4deb(_0x44c4e0)['top']+_0x5dc2b8)/0x2-new _0x2e4deb(_0x4c1c04)['top'];}function p(_0x39955e){return _0x39955e['hasAttribute']('width')&&_0x39955e['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54b7e3=>{function _0x5df747(){_0x39955e['removeEventListener']('load',_0x5df747),_0x39955e['removeEventListener']('error',_0x5df747),_0x54b7e3();}_0x39955e['complete']?_0x54b7e3():(_0x39955e['addEventListener']('load',_0x5df747),_0x39955e['addEventListener']('error',_0x5df747));});}function y(_0x36df55){return new Promise(_0x370e4e=>setTimeout(_0x370e4e,_0x36df55));}function P(_0x4902bc){const _0x34a869=_0x3c03db['document']['createRange']();return _0x34a869['selectNode'](_0x4902bc),_0x34a869;}function k(_0x46996e,_0x3e6299,_0x5e94b1){const _0x2724a8=_0x3c03db['document']['createRange']();return _0x2724a8['setStart'](_0x46996e,_0x3e6299),_0x2724a8['setEnd'](_0x46996e,_0x5e94b1),_0x2724a8;}function b(_0xff4953,_0x356d05,_0x4b6561,_0x1ec022){const _0x1fc43c=_0x3c03db['document']['createRange']();return _0x1fc43c['setStart'](_0xff4953,_0x356d05),_0x1fc43c['setEnd'](_0x4b6561,_0x1ec022),_0x1fc43c;}function x(_0x1c01fc,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f){const _0x24fcc9=[];for(const [_0x4c0f2c,_0xc51755]of _0x1c01fc['childNodes']['entries']()){let _0x1fede0=[];S(_0xc51755)&&_0xc51755['offsetParent']&&!_0xc51755['style']['position']?_0x1fede0=_(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x29175f,_0x4b0e8f):R(_0xc51755)&&(_0x1fede0=B(_0xc51755,_0x4c0f2c,_0x2c0437,_0x4f460e,_0x4b0e8f)),_0x1fede0['length']&&(_0x24fcc9['push'](..._0x1fede0),_0x2c0437+=_0x1fede0['length']*_0x4f460e,_0x4b0e8f=!0x1);}return _0x24fcc9;}function _(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004){const _0x369114=[];var _0x14f54a;if((_0x14f54a=_0x27a1f4['previousSibling'])&&S(_0x14f54a)&&Boolean(_0x14f54a['classList']['contains']('page-break')||_0x14f54a['closest']('.page-break'))&&(_0x369114['push']({'type':'manual','offset':0x0,'path':[_0x12aba4-0x1]}),_0x262004=!0x0),'table-row'==_0x3c03db['window']['getComputedStyle'](_0x27a1f4)['display']){let _0x116625=0x0,_0x194e57=!0x1;for(const _0x5e137a of _0x27a1f4['getClientRects']())_0x116625+=_0x5e137a['height'],_0x5e137a['left']>=_0x43e9f5&&(_0x194e57=!0x0);if(_0x116625<_0x578af5&&_0x194e57)return _0x369114['push']({'type':'element','offset':0x0,'path':[_0x12aba4]}),_0x369114;}const _0x532981=_0x27a1f4['closest']('figure.image');if(_0x532981&&function(_0x2c3896){let _0x553d87=!0x1;const _0x7112e5=_0x2c3896['parentElement'],_0x4ddbd4=_0x7112e5['dataset']['rootName'],_0x37ad1d=_0x2c3896['nextElementSibling'],_0x2984e5=_0x2c3896['previousElementSibling'],_0x430b34=_0x37ad1d&&_0x3c03db['window']['getComputedStyle'](_0x37ad1d)['float'],_0x31451e=_0x37ad1d&&'ck-fake-selection-container'===_0x37ad1d['className'];!_0x4ddbd4||_0x37ad1d||_0x2984e5||(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&_0x31451e&&(_0x553d87=!0x0),_0x4ddbd4&&!_0x2984e5&&'none'!==_0x430b34&&(_0x553d87=!0x0);if(_0x553d87)return!0x1;return!0x0;}(_0x532981)){const _0x4d2865=_0x3c03db['window']['getComputedStyle'](_0x532981)['float'];if('left'==_0x4d2865||'right'==_0x4d2865)return _0x369114;}const _0x56e56a=x(_0x27a1f4,_0x43e9f5,_0x3269e0,_0x578af5,_0x262004);if(_0x56e56a['length']){for(const _0x47312e of _0x56e56a)_0x369114['push']({'type':_0x47312e['type'],'offset':_0x47312e['offset'],'textOffset':_0x47312e['textOffset'],'path':[_0x12aba4,..._0x47312e['path']]}),_0x43e9f5+=_0x3269e0,_0x262004=!0x1;return _0x369114;}return _0x369114['push'](...function(_0x3852e8,_0x18befc,_0x577941,_0x7848aa,_0x5f5a2e){const _0xe22e55=[];if('table-cell'==_0x3c03db['window']['getComputedStyle'](_0x3852e8)['display'])return[];const _0x68c460=[];for(const _0x37724e of _0x3852e8['getClientRects']())if(_0x37724e['left']>=_0x577941){for(const _0x50f867 of _0x68c460)_0x50f867['height']+=_0x37724e['height'];_0x68c460['push']({'height':_0x37724e['height']}),_0x577941+=_0x7848aa;}for(const _0x4f2a23 of _0x68c460)_0x5f5a2e||_0xe22e55['push']({'type':'element','offset':_0x4f2a23['height'],'textOffset':0x0,'path':[_0x18befc]}),_0x5f5a2e=!0x1;return _0xe22e55;}(_0x27a1f4,_0x12aba4,_0x43e9f5,_0x3269e0,_0x262004)),_0x369114;}function B(_0x387cd1,_0x489deb,_0x3c1bd5,_0x24545f,_0x4d4dca){const _0x3976eb=P(_0x387cd1),_0x246089=[];let _0x3d8791=0x0;for(const _0x59d38a of _0x3976eb['getClientRects']())if(_0x59d38a['left']>=_0x3c1bd5){const _0x33bc5e=I(_0x387cd1,_0x3d8791,_0x3c1bd5,_0x24545f);_0x4d4dca||_0x246089['push']({'type':'text','path':[_0x489deb],'textOffset':_0x33bc5e}),_0x3d8791=_0x33bc5e,_0x3c1bd5+=_0x24545f,_0x4d4dca=!0x1;}return _0x246089;}function I(_0x317eb5,_0x48146f,_0x35d39c,_0x411d8d){let _0x54cb7b=_0x48146f,_0x228739=_0x317eb5['length'];for(;_0x228739-_0x54cb7b>0x1;){const _0x2c7b27=Math['ceil']((_0x54cb7b+_0x228739)/0x2);N(k(_0x317eb5,_0x54cb7b,_0x2c7b27),_0x35d39c,_0x411d8d)?_0x228739=_0x2c7b27:_0x54cb7b=_0x2c7b27;}return _0x54cb7b;}function N(_0x210420,_0x265b27,_0x533a8d){for(const _0x147917 of _0x210420['getClientRects']())if(_0x147917['left']>=_0x265b27&&_0x147917['left']<_0x265b27+_0x533a8d)return!0x0;return!0x1;}function S(_0x455bd2){return _0x455bd2['nodeType']==Node['ELEMENT_NODE'];}function R(_0xcc3c3c){return _0xcc3c3c['nodeType']==Node['TEXT_NODE'];}const z=_0x228546('px');class V extends _0x5e612c{constructor(){super();const _0x6e355c=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x6e355c['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x6e355c['if']('isVisible','ck-hidden',_0x580644=>!_0x580644)],'style':{'left':_0x6e355c['to']('left',_0x1cc385=>z(_0x1cc385)),'top':_0x6e355c['to']('top',_0x4ee654=>z(_0x4ee654)),'width':_0x6e355c['to']('width',_0x1205d3=>z(_0x1205d3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4e2101){this['_viewCollection']=_0x4e2101['ui']['view']['body'];}['destroy'](){for(const _0x12f037 of this['_hiddenLines'])_0x12f037['destroy']();}['cleanLines'](){for(const _0x35570b of this['_visibleLines'])_0x35570b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x35570b);this['_visibleLines']['clear']();}['showLine'](_0xe5a2dc,_0x5c60e4,_0x249494,_0x16d688){let _0x59251a;this['_hiddenLines']['size']?(_0x59251a=_0xc18602(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x59251a)):_0x59251a=new V(),_0x59251a['set']({'pageNumber':_0x16d688,'left':_0xe5a2dc,'top':_0x5c60e4,'width':_0x249494}),_0x59251a['isVisible']=!0x0,this['_viewCollection']['has'](_0x59251a)||this['_viewCollection']['add'](_0x59251a),this['_visibleLines']['add'](_0x59251a);}['setViewCollection'](_0x16f7c5){for(const _0x21c3ef of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21c3ef)&&this['_viewCollection']['remove'](_0x21c3ef);this['_viewCollection']=_0x16f7c5;}}const L='ck-pagination_enabled';class c extends _0x3f20a8{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x24b6c2,_0x4f1af8,_0x80d5a2)=>{_0x80d5a2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x80d5a2);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1bf3a5){if(!this['isEnabled'])return;const _0x178423=_0x1bf3a5>0x1?this['_getPageBreakLineOffset'](_0x1bf3a5-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x178423-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x421c35['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5925aa=this['editor'],_0x2ce1ff=this['_getAttachedDomRoot']();_0x2ce1ff?(this['_scrollableEditingRootDomAncestor']&&_0x5925aa['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1e4e86){let _0x512211=_0x1e4e86;do{_0x512211=_0x512211['parentElement'];const _0x25f124=_0x3c03db['window']['getComputedStyle'](_0x512211)['overflowY'];if('auto'==_0x25f124||'scroll'==_0x25f124)break;}while('BODY'!=_0x512211['tagName']);return _0x512211;}(_0x2ce1ff),_0x5925aa['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1eb20e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5925aa['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7af633=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7af633['ui']['view']['listenTo'](_0x3c03db['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7af633['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4765ae of this['editor']['editing']['view']['domRoots']['values']())if(_0x4765ae['ownerDocument']['body']['contains'](_0x4765ae))return _0x4765ae;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4b6f85=this['_getAttachedDomRoot'](),_0x533cea=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4b6f85||0x1==_0x533cea['length'])return void(this['pageNumber']=0x1);const _0x12394f=new _0x2e4deb(_0x4b6f85)['excludeScrollbarsAndBorders'](),_0x8add87=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x20e531=_0x8add87['top']+_0x8add87['height']/0x3;let _0x3136e1=!0x1;const _0x20733b=[];for(let _0x19ebaa=0x1;_0x19ebaa<_0x533cea['length'];_0x19ebaa++){const _0x34e81e=this['_getPageBreakLineOffset'](_0x19ebaa,_0x8add87);if(!_0x34e81e)continue;const _0xc1509a=_0x8add87['top']+_0x34e81e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x20733b['push']({'pageOffsetTop':_0xc1509a,'domRootRect':_0x12394f,'domScrollableRect':_0x8add87,'pageNumber':_0x19ebaa}),_0xc1509a>_0x20e531&&!_0x3136e1&&(this['pageNumber']=_0x19ebaa,_0x3136e1=!0x0);}this['_renderPageBreakLines'](_0x20733b),_0x3136e1||(this['pageNumber']=_0x533cea['length']);}['_renderPageBreakLines'](_0x392875){const {scrollX:_0x487be2,scrollY:_0x11bf5a}=_0x3c03db['window'];if(_0x392875['length']){for(const {domScrollableRect:_0x1d8d29,pageOffsetTop:_0x152cf0,domRootRect:_0x287e38,pageNumber:_0x382a0e}of _0x392875)_0x1d8d29['top']<_0x152cf0&&_0x152cf0<_0x1d8d29['bottom']&&this['linesRepository']['showLine'](_0x287e38['left']+_0x487be2,_0x152cf0+_0x11bf5a,_0x287e38['width'],_0x382a0e+0x1);}}['_getPageBreakLineOffset'](_0x55fa90,_0x2db96d=null){const _0x436cec=this['_paginationLookupPlugin']['pageBreaks'][_0x55fa90]['offset'];return _0x436cec?(_0x2db96d||(_0x2db96d=new _0x2e4deb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x436cec-_0x2db96d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x259eb6,_0x39a584=!0x0){const _0x37e771=this['editor']['editing']['view'];_0x37e771['change'](_0x4049cc=>{for(const _0x36a651 of _0x37e771['document']['roots'])_0x39a584?_0x4049cc['addClass'](_0x259eb6,_0x36a651):_0x4049cc['removeClass'](_0x259eb6,_0x36a651);});}}function g(_0x5ef18f,_0x2a791d,..._0x509461){const t=_0x5ef18f['t'];switch(_0x2a791d){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)',..._0x509461);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 _0x2a791d;}}class s extends _0x3f20a8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x543174=this['editor']['plugins']['get']('Pagination'),_0x1b7e40=this['editor']['plugins']['get'](n),_0x2d73c5=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x543174),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2d73c5),this['listenTo'](_0x1b7e40,'change:pageBreaks',(_0x4a47ed,_0x3d8350,_0x373013,_0x3a01fe)=>{this['totalPages']=_0x373013['length'],this['_updatePageBreakMarkers'](_0x373013,_0x3a01fe);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbad623=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x309ff6;for(const _0xcb6a3a in _0xbad623){const _0x2bbd8b=_0xcb6a3a,_0x2f1789=_0xbad623[_0x2bbd8b];if('paginationLicenseKeyValid'==_0x2f1789||'paginationLicenseKeyInvalid'==_0x2f1789||'paginationLicenseKeyExpired'==_0x2f1789||'paginationLicenseKeyDomainLimit'==_0x2f1789||'paginationLicenseKeyNotAllowed'==_0x2f1789||'paginationLicenseKeyEvaluationLimit'==_0x2f1789||'paginationLicenseKeyTrialLimit'==_0x2f1789||'paginationLicenseKeyUsageLimit'==_0x2f1789){delete _0xbad623[_0x2bbd8b],_0x309ff6=_0x2f1789,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x309ff6&&_0xbad623['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x309ff6&&_0xbad623['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x309ff6&&_0xbad623['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x309ff6&&_0xbad623['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1c42f6){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x1c42f6));}['moveSelectionToPage'](_0x10c351){if(!this['isEnabled'])return;const _0x1db961=this['editor'],_0x2ed9bd=this['editor']['plugins']['get'](n)['pageBreaks'][_0x10c351-0x1];_0x2ed9bd&&_0x1db961['model']['change'](_0x59c792=>{switch(_0x2ed9bd['type']){case'manual':{const _0x353a37=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['end'],'forward');_0x59c792['setSelection'](_0x353a37);break;}case'element':{const _0x11bc16=_0x1db961['model']['schema']['getNearestSelectionRange'](_0x2ed9bd['modelRange']['start'],'forward');_0x59c792['setSelection'](_0x11bc16);break;}case'text':{const _0x4ec1d6=_0x2ed9bd['modelRange']['start'];if(_0x4ec1d6['textNode']&&'\x20'===_0x4ec1d6['textNode']['data'][_0x4ec1d6['offset']]){const _0x532009=_0x59c792['createPositionAt'](_0x4ec1d6['parent'],_0x4ec1d6['offset']+0x1);_0x59c792['setSelection'](_0x532009);}else _0x59c792['setSelection'](_0x2ed9bd['modelRange']);}}_0x1db961['editing']['view']['focus']();});}['goToNextPage'](){const _0x3012ba=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3012ba),this['scrollToPage'](_0x3012ba);}['goToPreviousPage'](){const _0x3edae8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3edae8),this['scrollToPage'](_0x3edae8);}['_updatePageBreakMarkers'](_0x280796,_0x225865){const _0x558106=this['editor']['model'];this['isEnabled']&&_0x558106['change'](_0x592670=>{for(let _0x1389e5=0x1;_0x1389e5<_0x280796['length'];_0x1389e5++){const _0x53e327=_0x280796[_0x1389e5]['modelRange'],_0x3f4147='pagination:'+(_0x1389e5+0x1);_0x558106['markers']['has'](_0x3f4147)?_0x592670['updateMarker'](_0x3f4147,{'range':_0x53e327}):_0x592670['addMarker'](_0x3f4147,{'range':_0x53e327,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4009f6=_0x280796['length'];_0x4009f6<_0x225865['length'];_0x4009f6++){const _0x31e74d='pagination:'+(_0x4009f6+0x1);_0x558106['markers']['has'](_0x31e74d)&&_0x592670['removeMarker'](_0x31e74d);}});}['_setUpDataDowncastConversion'](){const _0x3e4b4f='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x1493d3=>{_0x1493d3['on']('addMarker:'+_0x3e4b4f,(_0x1f3182,{markerRange:_0xc6be46,markerName:_0x211907},_0xe6571c)=>{if(!_0xe6571c['options']['pagination'])return;if(!_0xe6571c['consumable']['consume'](_0xc6be46,_0x1f3182['name']))return;const _0x2ad3df=_0xc6be46['getContainedElement']();let _0x3ad6e3=_0x2ad3df?_0xe6571c['mapper']['toViewElement'](_0x2ad3df):null;if(!_0x3ad6e3){const _0x39e96e=_0xc6be46['start'];if(_0xe6571c['schema']['checkChild'](_0x39e96e,'$text')){const _0xecac94=_0xe6571c['mapper']['toViewPosition'](_0x39e96e);_0x3ad6e3=_0xe6571c['writer']['createContainerElement']('span'),_0x3ad6e3['getFillerOffset']=()=>null,_0xe6571c['writer']['insert'](_0xecac94,_0x3ad6e3);}else{const _0x5890c4=_0x39e96e['nodeAfter'];_0x3ad6e3=_0xe6571c['mapper']['toViewElement'](_0x5890c4);}}for(;_0x3ad6e3['parent']!==_0x3ad6e3['root']&&0x0===_0x3ad6e3['index'];)_0x3ad6e3=_0x3ad6e3['parent'];const _0x3237a3=_0x211907['substring'](0xb);_0x3ad6e3['hasClass']('page-break')||(_0xe6571c['writer']['setStyle']('page-break-before','always',_0x3ad6e3),_0xe6571c['writer']['setAttribute']('data-pagination-page',_0x3237a3,_0x3ad6e3),_0xe6571c['mapper']['bindElementToMarker'](_0x3ad6e3,_0x211907)),_0x1f3182['stop']();});});}['_setupKeystrokes'](){const _0x2bb119=this['editor'];_0x2bb119['keystrokes']['set']('Shift+Pageup',(_0x5f5dae,_0x28bbd9)=>{this['goToPreviousPage'](),_0x28bbd9();}),_0x2bb119['keystrokes']['set']('Shift+Pagedown',(_0x1b3544,_0x3dcb35)=>{this['goToNextPage'](),_0x3dcb35();}),_0x2bb119['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x2bb119['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x2bb119['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4c1819){return _0x4c1819<0x1&&(_0x4c1819=0x1),_0x4c1819>this['totalPages']&&(_0x4c1819=this['totalPages']),_0x4c1819;}}class U extends _0x5e612c{['pageNumberView'];constructor(_0x1c96ed){super(_0x1c96ed);const _0x3c54e9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3fb306(_0x1c96ed,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1973eb=>g(_0x1c96ed,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1973eb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x145e34=>!_0x145e34),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3c54e9['if']('isEnabled','ck-disabled',_0x763b1e=>!_0x763b1e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3c54e9['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1a4a8e=this['pageNumberView']['element'],_0xe625d5=_0x22f71e=>{this['pageNumberView']['element']['value']=String(_0x22f71e);};_0xe625d5(this['pageNumber']),this['on']('change:pageNumber',(_0x29288e,_0x2e0cdc,_0x1ada8e)=>{_0xe625d5(_0x1ada8e);}),this['listenTo'](_0x1a4a8e,'keydown',(_0x455526,_0x52ae06)=>{if('ArrowUp'===_0x52ae06['key']||'ArrowDown'===_0x52ae06['key'])return void _0x52ae06['stopPropagation']();if(_0x52ae06['keyCode']!==_0x1c1c26['enter'])return;_0x52ae06['preventDefault']();const _0x24c544=_0x1a4a8e['valueAsNumber'];Number['isNaN'](_0x24c544)?_0x1a4a8e['value']=String(this['pageNumber']):(_0x1a4a8e['checkValidity']()?this['pageNumber']=_0x24c544:_0x24c544>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1a4a8e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1a4a8e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1a4a8e,'blur',()=>{_0x1a4a8e['value']=String(this['pageNumber']);}),this['listenTo'](_0x1a4a8e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x3f20a8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b75b=this['editor'],_0xa6683d=_0x25b75b['plugins']['get']('PaginationEditing');_0x25b75b['ui']['componentFactory']['add']('pageNavigation',_0x275259=>{const _0x2eae38=new U(_0x275259);return _0x2eae38['bind']('pageNumber')['to'](_0xa6683d),_0x2eae38['bind']('totalPages')['to'](_0xa6683d),_0x2eae38['bind']('isEnabled')['to'](_0xa6683d),_0x2eae38['on']('navigation',(_0x2ce544,_0x5740c2)=>{_0xa6683d['moveSelectionToPage'](_0x5740c2),_0xa6683d['scrollToPage'](_0x5740c2);}),_0x2eae38;}),_0x25b75b['ui']['componentFactory']['add']('nextPage',_0x557e8e=>{const _0x351c0f=new _0x3a57a8(_0x557e8e);return _0x351c0f['isEnabled']=!0x0,_0x351c0f['label']=g(_0x25b75b['locale'],'Go\x20to\x20next\x20page'),_0x351c0f['icon']=_0x5dab0a,_0x351c0f['tooltip']=!0x0,_0x351c0f['keystroke']='Shift+PageDown',_0x351c0f['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x351c0f,'execute',()=>{_0xa6683d['goToNextPage']();}),_0x351c0f;}),_0x25b75b['ui']['componentFactory']['add']('previousPage',_0x5a97c1=>{const _0x3c4bb9=new _0x3a57a8(_0x5a97c1);return _0x3c4bb9['isEnabled']=!0x0,_0x3c4bb9['label']=g(_0x25b75b['locale'],'Go\x20to\x20previous\x20page'),_0x3c4bb9['icon']=_0x2e6857,_0x3c4bb9['tooltip']=!0x0,_0x3c4bb9['keystroke']='Shift+PageUp',_0x3c4bb9['bind']('isEnabled')['to'](_0xa6683d),this['listenTo'](_0x3c4bb9,'execute',()=>{_0xa6683d['goToPreviousPage']();}),_0x3c4bb9;});}}class a extends _0x3f20a8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x5e12e8){super(_0x5e12e8),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1d8cba=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x1d8cba),this['bind']('totalPages')['to'](_0x1d8cba),_0x421c35['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x275648){this['editor']['plugins']['get'](s)['scrollToPage'](_0x275648);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x289705}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1b7490,InputNumberView as _0x3b0835,ButtonView as _0x30f83c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x4f644d,Rect as _0x36405f,global as _0x590527,uid as _0x288eb9,toUnit as _0x4a562f,first as _0xe8085d,env as _0xa89e22,ResizeObserver as _0x47aa6c,keyCodes as _0x12ac1c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x4d8c28}from'es-toolkit/compat';import{IconArrowDown as _0x98a283,IconArrowUp as _0x4bc93a}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x289705{['_recalculatePageBreaksDebounced']=_0x4d8c28(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x4f644d('pagination-config-not-found',this['editor']['config']);const _0x369b95=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x369b95),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x507e75,_0x34f9d1,_0x30faba)=>{_0x30faba&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x52f263){const _0x25b116=_0x3847d1([0x5a,0x58,0x38,0x47,0x74,0x52,0x57,0x42,0x51,0x56,0x6a,0x36,0x50,0x71,0x33,0x30,0x53,0x4a,0x66,0x63,0x35,0x48,0x54,0x77,0x4c,0x45,0x41,0x4e,0x68,0x6b,0x37,0x6c,0x6f,0x70,0x4d,0x49,0x7a,0x6e,0x78,0x61,0x39,0x31,0x4f,0x67,0x75,0x44,0x43,0x62,0x32,0x79,0x34,0x73,0x59,0x76,0x69,0x4b,0x55,0x6d,0x64,0x46,0x72,0x65]),_0x324a89=0x4db1ffa6,_0x5989f8=0x4db69686^_0x324a89,_0x1b5252=window[_0x3847d1([0x44,0x61,0x74,0x65])][_0x3847d1([0x6e,0x6f,0x77])](),_0x5df447=_0x52f263[_0x3847d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ddfc8=new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5c45=>{_0x5df447[_0x3847d1([0x6f,0x6e,0x63,0x65])](_0x3847d1([0x72,0x65,0x61,0x64,0x79]),_0x1f5c45);}),_0x80e806={[_0x3847d1([0x6b,0x74,0x79])]:_0x3847d1([0x45,0x43]),[_0x3847d1([0x75,0x73,0x65])]:_0x3847d1([0x73,0x69,0x67]),[_0x3847d1([0x63,0x72,0x76])]:_0x3847d1([0x50,0x2d,0x32,0x35,0x36]),[_0x3847d1([0x78])]:_0x3847d1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3847d1([0x79])]:_0x3847d1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3847d1([0x61,0x6c,0x67])]:_0x3847d1([0x45,0x53,0x32,0x35,0x36])},_0x5918e2=_0x5df447[_0x3847d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3847d1([0x67,0x65,0x74])](_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f3c71(){let _0x52fd15,_0x3f3796=null,_0x43fee9=null;try{if(_0x5918e2==_0x3847d1([0x47,0x50,0x4c]))return _0x3847d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52fd15=_0x29376b(),!_0x52fd15)return _0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52fd15[_0x3847d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43fee9=_0x2389e7(_0x52fd15[_0x3847d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52fd15[_0x3847d1([0x6a,0x74,0x69])])),await _0x492cae()?_0x4dcfa0()?_0x53a46f()?_0x3847d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdd74e7()?(_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3847d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f3796=_0x310977(_0x3847d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3847d1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f3796=_0x310977(_0x3847d1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2649f1()):_0x3847d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3847d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3847d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53a46f(){const _0x1d9661=[_0x3847d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3847d1([0x74,0x72,0x69,0x61,0x6c])][_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b5252/0x3e8:0xe10*_0x5989f8;return _0x52fd15[_0x3847d1([0x65,0x78,0x70])]<_0x1d9661;}function _0x4dcfa0(){const _0x38d30b=_0x52fd15[_0x3847d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38d30b&&(!!_0x38d30b[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x2a]))||!!_0x38d30b[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x50,0x41,0x47])));}function _0xdd74e7(){const _0xd0b91c=_0x52fd15[_0x3847d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd0b91c||0x0==_0xd0b91c[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x88d30f}=new URL(window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd0b91c[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x88d30f))return!0x0;const _0x286ee0=_0x88d30f[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e]));return _0xd0b91c[_0x3847d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cdbb3=>_0x5cdbb3[_0x3847d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3847d1([0x2a])))[_0x3847d1([0x6d,0x61,0x70])](_0x248dce=>_0x248dce[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e])))[_0x3847d1([0x73,0x6f,0x6d,0x65])](_0x597cf4=>_0x286ee0[_0x3847d1([0x65,0x76,0x65,0x72,0x79])]((_0x8bdc28,_0x24bdcf)=>_0x597cf4[_0x24bdcf]===_0x8bdc28||_0x597cf4[_0x24bdcf]===_0x3847d1([0x2a])));}function _0x2649f1(){return _0x3f3796&&_0x43fee9?new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2165f0,_0x2c8f85)=>{_0x3f3796[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x2165f0,_0x2c8f85),_0x43fee9[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x4fb6eb=>{_0x4fb6eb!=_0x3847d1([0x56,0x61,0x6c,0x69,0x64])&&_0x2165f0(_0x4fb6eb);},_0x2c8f85);}):_0x3f3796||_0x43fee9||_0x3847d1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2389e7(_0x45211b,_0x48037b){return new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x674ca2=>{if(_0x3f2d88())return _0x674ca2(_0x3847d1([0x56,0x61,0x6c,0x69,0x64]));_0x567947(),_0x5df447[_0x3847d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x134f3e=!0x1;const _0xf670e3=_0x288eb9();function _0x567744(_0xebfd49){return!!_0xebfd49&&(typeof _0xebfd49===_0x3847d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xebfd49===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xebfd49[_0x3847d1([0x74,0x68,0x65,0x6e])]===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xebfd49[_0x3847d1([0x63,0x61,0x74,0x63,0x68])]===_0x3847d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c66d3(_0x2b8ccc){_0x65ea92(_0x2b8ccc)[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x1e851b=>{if(!_0x1e851b||_0x1e851b[_0x3847d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3847d1([0x6f,0x6b]))return _0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x326fa4(_0x5e9e5d(_0xf670e3+_0x48037b))!=_0x1e851b[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3847d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3847d1([0x74,0x68,0x65,0x6e])](_0xf9cc05=>(_0x369ea4(),_0xf9cc05),()=>{const _0x40f299=_0x109427();return null==_0x40f299?(_0x369ea4(),_0x3847d1([0x56,0x61,0x6c,0x69,0x64])):_0x3847d1(_0x1b5252-_0x40f299>(0x69bd7ba6^_0x324a89)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x674ca2)[_0x3847d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ce2e8=0x4d871126^_0x324a89;function _0x369ea4(){const _0x54b715=_0x3847d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x326fa4(_0x5e9e5d(_0x45211b)),_0x146f44=_0x3aeb72(_0x326fa4(window[_0x3847d1([0x4d,0x61,0x74,0x68])][_0x3847d1([0x63,0x65,0x69,0x6c])](_0x1b5252/_0x5ce2e8)));window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3847d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54b715,_0x146f44);}function _0x109427(){const _0x243d8e=_0x3847d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x326fa4(_0x5e9e5d(_0x45211b)),_0x3c26ab=window[_0x3847d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3847d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x243d8e);return _0x3c26ab?window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aeb72(_0x3c26ab),0x10)*_0x5ce2e8:null;}function _0x65ea92(_0xdea1a3){return new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9efee,_0x49c92d)=>{_0xdea1a3[_0x3847d1([0x74,0x68,0x65,0x6e])](_0x9efee,_0x49c92d),window[_0x3847d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49c92d,0x4db02b66^_0x324a89);});}}_0x5df447[_0x3847d1([0x6f,0x6e])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c5075,_0x17ae20)=>{if(_0x17ae20[0x0]!=_0x45211b)return _0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17ae20[0x1]={..._0x17ae20[0x1],[_0x3847d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf670e3};},{[_0x3847d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3847d1([0x68,0x69,0x67,0x68])}),_0x5df447[_0x3847d1([0x6f,0x6e])](_0x3847d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x491bb9=>{_0x567744(_0x491bb9[_0x3847d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x134f3e=!0x0,_0x4c66d3(_0x491bb9[_0x3847d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3847d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3847d1([0x6c,0x6f,0x77])}),_0x1ddfc8[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>{_0x134f3e||_0x674ca2(_0x3847d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f2d88(){return _0x5df447[_0x3847d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3847d1([0x76,0x69,0x65,0x77])][_0x3847d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3847d1([0x61,0x75,0x74,0x6f]);}function _0x567947(){_0x5df447[_0x3847d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3847d1([0x76,0x69,0x65,0x77])][_0x3847d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3847d1([0x61,0x75,0x74,0x6f]);}}function _0x310977(_0x3a6057){const _0x4ee6ff=[new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37dce7=>setTimeout(_0x37dce7,0x4db8c16a^_0x324a89)),_0x1ddfc8[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56c61e=>{let _0x225496=0x0;_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x6f,0x6e])](_0x3847d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x415f65,_0xb1c3b7)=>{_0xb1c3b7[0x0][_0x3847d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225496++,_0x225496==(0x4db1fe5e^_0x324a89)&&(_0x56c61e(),_0x415f65[_0x3847d1([0x6f,0x66,0x66])]());});}))];return window[_0x3847d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3847d1([0x72,0x61,0x63,0x65])](_0x4ee6ff)[_0x3847d1([0x74,0x68,0x65,0x6e])](()=>_0x3a6057);}async function _0x85edac(){await _0x1ddfc8,_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x261906,_0x5df447[_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3847d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x261906,_0x5df447[_0x3847d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3847d1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x280049(_0x4162bc){const _0x26c19e=_0x5cbbaa();_0x5df447[_0x26c19e]=_0x3847d1([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4162bc,_0x4162bc!=_0x3847d1([0x56,0x61,0x6c,0x69,0x64])&&_0x85edac();}function _0x5cbbaa(){const _0x3403e2=window[_0x3847d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3847d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3847d1([0x6e,0x6f,0x77])]())[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3847d1([0x2e]),'');let _0x5c1f9c=_0x3847d1([0x5a]);for(let _0x100cf9=0x0;_0x100cf9<_0x3403e2[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x100cf9+=0x2){let _0x88832e=window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3403e2[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x100cf9,_0x100cf9+0x2));_0x88832e>=_0x25b116[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x88832e-=_0x25b116[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c1f9c+=_0x25b116[_0x88832e];}return _0x5c1f9c;}function _0x29376b(){const _0x50f768=_0x5918e2[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e]));if(0x3!=_0x50f768[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x214a21(_0x50f768[0x1]);function _0x214a21(_0x70c5ec){const _0x9a9743=_0x1b90ad(_0x70c5ec);return _0x9a9743&&_0x4c062b()?_0x9a9743:null;function _0x4c062b(){const _0x1547df=_0x9a9743[_0x3847d1([0x6a,0x74,0x69])],_0x17359a=window[_0x3847d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1547df[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1547df[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1fc403={..._0x9a9743,[_0x3847d1([0x6a,0x74,0x69])]:_0x1547df[_0x3847d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1547df[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1fc403[_0x3847d1([0x76,0x63])],_0x5e9e5d(_0x1fc403)==_0x17359a;}}}async function _0x492cae(){let _0x4e9edf=!0x0;try{const _0x173651=_0x5918e2[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])](_0x3847d1([0x2e])),[_0x1188ce,_0x30b34c,_0x191ea5]=_0x173651;return _0x45d6de(_0x1188ce),await _0x5bf9ce(_0x1188ce,_0x30b34c,_0x191ea5),_0x4e9edf;}catch{return!0x1;}function _0x45d6de(_0x1a4885){const _0x2f7a2a=_0x1b90ad(_0x1a4885);_0x2f7a2a&&_0x2f7a2a[_0x3847d1([0x61,0x6c,0x67])]==_0x3847d1([0x45,0x53,0x32,0x35,0x36])||(_0x4e9edf=!0x1);}async function _0x5bf9ce(_0x803501,_0x188051,_0x422cfa){const _0x572cba=window[_0x3847d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3847d1([0x66,0x72,0x6f,0x6d])](_0x450fb7(_0x422cfa),_0x591e10=>_0x591e10[_0x3847d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c42b2=new window[(_0x3847d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3847d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x803501+_0x3847d1([0x2e])+_0x188051),_0x4a2d59=window[_0x3847d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3847d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a2d59)return;const _0x566c2c=await _0x4a2d59[_0x3847d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3847d1([0x6a,0x77,0x6b]),_0x80e806,{[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x45,0x43,0x44,0x53,0x41]),[_0x3847d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3847d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a2d59[_0x3847d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x45,0x43,0x44,0x53,0x41]),[_0x3847d1([0x68,0x61,0x73,0x68])]:{[_0x3847d1([0x6e,0x61,0x6d,0x65])]:_0x3847d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x566c2c,_0x572cba,_0x2c42b2)||(_0x4e9edf=!0x1);}}function _0x1b90ad(_0x44c1fa){return _0x44c1fa[_0x3847d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3847d1([0x65,0x79]))?JSON[_0x3847d1([0x70,0x61,0x72,0x73,0x65])](_0x450fb7(_0x44c1fa)):null;}function _0x450fb7(_0x52be28){return window[_0x3847d1([0x61,0x74,0x6f,0x62])](_0x52be28[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3847d1([0x2b]))[_0x3847d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3847d1([0x2f])));}function _0x5e9e5d(_0x126376){let _0x4792dc=0x1505;function _0x4f5bf2(_0x4d073b){for(let _0x206b74=0x0;_0x206b74<_0x4d073b[_0x3847d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x206b74++){const _0x428dfc=_0x4d073b[_0x3847d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x206b74);_0x4792dc=(_0x4792dc<<0x5)+_0x4792dc+_0x428dfc,_0x4792dc&=_0x4792dc;}}function _0xda7b08(_0x39b46b){Array[_0x3847d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x39b46b)?_0x39b46b[_0x3847d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xda7b08):_0x39b46b&&typeof _0x39b46b==_0x3847d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3847d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x39b46b)[_0x3847d1([0x73,0x6f,0x72,0x74])]()[_0x3847d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132318,_0x4329b7])=>{_0x4f5bf2(_0x132318),_0xda7b08(_0x4329b7);}):_0x4f5bf2(window[_0x3847d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x39b46b));}return _0xda7b08(_0x126376),_0x4792dc>>>0x0;}function _0x326fa4(_0x4597c2){return _0x4597c2[_0x3847d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3847d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3847d1([0x30]));}function _0x3aeb72(_0x4adc5f){return _0x4adc5f[_0x3847d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3847d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3847d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x261906(){}function _0x3847d1(_0x4786e2){return _0x4786e2['map'](_0x3e577f=>String['fromCharCode'](_0x3e577f))['join']('');}_0x280049(await _0x3f3c71());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1b7fe0=this['editor'],_0x4f2626=_0x1b7fe0['editing']['view'],_0x3e2566=this['_getAttachedDomRoot']();if(!_0x3e2566||0x0===_0x3e2566['childElementCount'])return void _0x1b7fe0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4e9822,pageHeight:_0x226297}=_0x1b7fe0['config']['get']('pagination'),{top:_0x4d90ee,left:_0x40d0cb,bottom:_0x2f7ca1,right:_0x549bd1}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1b7490(_0x1b7fe0['locale']);const _0x13de51=this['_pagesContainer'];_0x13de51['set']('class',''),_0x13de51['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x4e9822,'width':_0x4e9822,'height':'calc(\x20'+_0x226297+'\x20-\x20'+_0x4d90ee+'\x20-\x20'+_0x2f7ca1+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x549bd1+'\x200\x20'+_0x40d0cb,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x13de51['bindTemplate']['to']('class')}}),_0x13de51['render'](),_0x3e2566['parentNode']['insertBefore'](_0x13de51['element'],_0x3e2566['nextSibling']),this['listenTo'](_0x4f2626,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x23493a of this['editor']['editing']['view']['domRoots']['values']())if(_0x23493a['ownerDocument']['body']['contains'](_0x23493a))return _0x23493a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x302d84=this['editor']['editing']['view'],_0x15a1b5=this['_pagesContainer'],_0x249663=this['_getAttachedDomRoot']();if(!_0x249663)return Promise['resolve']();for(_0x15a1b5['class']=['ck-reset','ck-pagination-view',..._0x249663['classList']]['join']('\x20');_0x15a1b5['element']['firstChild'];)_0x15a1b5['element']['firstChild']['remove']();const _0x5c1a61=Array['from'](_0x302d84['domRoots']);_0x5c1a61['sort'](([,_0x1353a9],[,_0x4fa16b])=>_0x1353a9['compareDocumentPosition'](_0x4fa16b)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x51577c,_0x23c402]of _0x5c1a61){const _0x57fe20=_0x23c402['cloneNode'](!0x0);'attributeStyleMap'in _0x57fe20&&_0x57fe20['attributeStyleMap']['clear'](),_0x57fe20['className']='',_0x57fe20['removeAttribute']('id'),_0x57fe20['dataset']['rootName']=_0x51577c,_0x15a1b5['element']['append'](_0x57fe20);}return function(_0x931458){return Promise['all'](_0x931458['map'](_0x6541b9=>Promise['race']([p(_0x6541b9),y(0x3e8)])));}(Array['from'](_0x15a1b5['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x266e94=this['_pagesContainer']['element'];if(!_0x266e94['ownerDocument']['body']['contains'](_0x266e94))return;const _0x3241f7=new _0x36405f(_0x266e94)['excludeScrollbarsAndBorders'](),_0x23d2ba=_0x590527['window']['getComputedStyle'](_0x266e94),_0x1a661e=parseFloat(_0x23d2ba['paddingLeft'])+parseFloat(_0x23d2ba['paddingRight']),_0xcb52fa=Math['floor'](_0x3241f7['width']+0x64-_0x1a661e),_0x4b3ce2=x(_0x266e94,Math['floor'](_0x3241f7['left']-_0x266e94['scrollLeft']),_0xcb52fa,_0x3241f7['height'])['map'](_0xed50e6=>this['_mapPageStarterInfoToPageBreakInfo'](_0xed50e6));_0x4b3ce2['every'](_0x42048b=>!!_0x42048b)&&(this['pageBreaks']=_0x4b3ce2);}['_mapPageStarterInfoToPageBreakInfo'](_0x1d6744){const _0x2ccb30=this['editor']['editing']['view'],_0x3958f1=this['editor']['editing']['mapper'],_0xfe9fa0=_0x2ccb30['domConverter'],_0x460b32=_0x1d6744['path']['shift'](),_0x53d59f=this['_pagesContainer']['element']['childNodes'][_0x460b32]['dataset']['rootName'],_0x586613=_0x2ccb30['getDomRoot'](_0x53d59f);if(!_0x586613)return null;const _0x3243bc=function(_0x5eae41,_0x433832){let _0x4338e0=_0x5eae41;for(const _0x3966b2 of _0x433832['path']){if(!_0x4338e0)return null;_0x4338e0=_0x4338e0['childNodes'][_0x3966b2];}return _0x4338e0;}(_0x586613,_0x1d6744);if(!_0x3243bc)return null;const _0x1c2ad1=_0xfe9fa0['domPositionToView'](_0x3243bc,_0x1d6744['textOffset']||0x0);return _0x1c2ad1?'manual'==_0x1d6744['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc):'text'==_0x1d6744['type']&&_0x3958f1['toModelPosition'](_0x1c2ad1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc,_0x1d6744['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c2ad1,_0x3243bc,_0x1d6744['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x54a85b,_0x2f2bac){const _0x4daa6e=this['editor']['model'],_0x2a6eb2=this['editor']['editing']['mapper']['toModelElement'](_0x54a85b['parent']),_0x3e4aa6=_0x4daa6e['createRangeOn'](_0x2a6eb2);return new K({'type':'manual','modelRange':_0x3e4aa6,'domNode':_0x2f2bac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x501e98,_0x578894,_0x799270){const _0x18693b=this['editor']['model'],_0xcd60f9=this['editor']['editing']['mapper'],_0x11ca5d=this['editor']['editing']['view']['domConverter'];if(_0x799270>=_0x578894['length'])return null;const _0x4d519d=_0xcd60f9['toModelPosition'](_0x501e98),_0x2fbec5=_0x18693b['createRange'](_0x4d519d),_0x46d7b4=_0xcd60f9['findMappedViewAncestor'](_0x501e98),_0xb1d0c9=_0x11ca5d['mapViewToDom'](_0x46d7b4);return new K({'type':'text','modelRange':_0x2fbec5,'domNode':_0x578894,'offset':m(_0x578894,_0x799270,_0xb1d0c9)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1f79a2,_0x4452b0,_0x3b52f4){const _0x324349=this['editor']['model'],_0x4ae83e=this['editor']['editing'],_0x278cad=_0x4ae83e['mapper'],_0x541a97=_0x4ae83e['view']['domConverter'],_0x4bf064=_0x278cad['findMappedViewAncestor'](_0x1f79a2),_0x301ae6=_0x278cad['toModelElement'](_0x4bf064),_0x18a6bc=function(_0x4a25ce){const _0xd9764a=_0x4a25ce['parent'],_0x165486=_0xd9764a['root']['document']['model'],_0x4e793b=_0xd9764a['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xc0d342=null;for(const _0x22c477 of _0x4e793b){if(_0x22c477['is']('rootElement'))return _0xc0d342;if(!_0x165486['createPositionBefore'](_0x22c477)['isTouching'](_0x4a25ce))return _0xc0d342;_0xc0d342=_0x22c477;}}(_0x324349['createPositionBefore'](_0x301ae6)),_0x2cbae2=_0x18a6bc||_0x301ae6;let _0x2dd296=_0x278cad['toViewElement'](_0x2cbae2),_0x1724e0=_0x324349['createRangeOn'](_0x2cbae2);const _0x5ca4a6=_0x324349['createPositionBefore'](_0x2cbae2)['nodeBefore'];if(_0x5ca4a6&&_0x5ca4a6['is']('element','imageBlock')){const _0x266c37=_0x278cad['toViewElement'](_0x5ca4a6),_0xd4912d=_0x541a97['mapViewToDom'](_0x266c37),_0x29073b=_0x590527['window']['getComputedStyle'](_0xd4912d)['float'];'left'!=_0x29073b&&'right'!=_0x29073b||(_0x1724e0=_0x324349['createRangeOn'](_0x5ca4a6));}for(;_0x2dd296['parent']!==_0x2dd296['root']&&0x0===_0x2dd296['index'];)_0x2dd296=_0x2dd296['parent'];const _0xc14d37=new _0x36405f(S(_0x4452b0)?_0x4452b0:P(_0x4452b0)),_0x19d705=_0x3b52f4?_0xc14d37['height']-_0x3b52f4:0x0,_0x451045=_0x541a97['mapViewToDom'](_0x2dd296),_0x537ec8=new _0x36405f(_0x451045);return new K({'type':'element','modelRange':_0x1724e0,'domNode':_0x451045,'offset':Math['round'](_0x19d705)?_0x19d705+_0xc14d37['top']-_0x537ec8['top']:0x0});}get['_configuredPaddings'](){const _0x54ef32=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x54ef32);}static['_findPageStarterInfos'](_0x3185ec,_0x5c67f8,_0x581087,_0x4cbf6b,_0x180f32){return x(_0x3185ec,_0x5c67f8,_0x581087,_0x4cbf6b,_0x180f32);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x38239a,modelRange:_0x1a8a4d,domNode:_0x636475,offset:_0x3bcdf5}){this['type']=_0x38239a,this['modelRange']=_0x1a8a4d,this['_domNode']=_0x636475,this['_offset']=_0x3bcdf5;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0xd7cb36=new _0x36405f(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0xd7cb36['top']+_0xd7cb36['height']/0x2:_0xd7cb36['top']+this['_offset'];}}function m(_0x59b101,_0x374e61,_0xa703a9){const _0x524839=P(_0x59b101),_0x30f366=function(_0x49fe53){const _0x301d38=_0x590527['document']['createRange']();return _0x301d38['selectNodeContents'](_0x49fe53),_0x301d38;}(_0xa703a9);let _0x9c04e2;_0x9c04e2=0x0==_0x374e61?b(_0x30f366['startContainer'],_0x30f366['startOffset'],_0x59b101['parentNode'],Array['from'](_0x59b101['parentNode']['childNodes'])['indexOf'](_0x59b101)):b(_0x30f366['startContainer'],_0x30f366['startOffset'],_0x59b101,_0x374e61);const _0x2ab9f8=b(_0x59b101,_0x374e61,_0x30f366['endContainer'],_0x30f366['endOffset']),_0x476815=new _0x36405f(_0x9c04e2)['bottom'];return(new _0x36405f(_0x2ab9f8)['top']+_0x476815)/0x2-new _0x36405f(_0x524839)['top'];}function p(_0x251a3e){return _0x251a3e['hasAttribute']('width')&&_0x251a3e['hasAttribute']('height')?Promise['resolve']():new Promise(_0x193425=>{function _0x40f722(){_0x251a3e['removeEventListener']('load',_0x40f722),_0x251a3e['removeEventListener']('error',_0x40f722),_0x193425();}_0x251a3e['complete']?_0x193425():(_0x251a3e['addEventListener']('load',_0x40f722),_0x251a3e['addEventListener']('error',_0x40f722));});}function y(_0x3a2515){return new Promise(_0x2a2e93=>setTimeout(_0x2a2e93,_0x3a2515));}function P(_0x39ee6f){const _0x583571=_0x590527['document']['createRange']();return _0x583571['selectNode'](_0x39ee6f),_0x583571;}function k(_0x35a940,_0x1a2df8,_0x123e98){const _0x5a726d=_0x590527['document']['createRange']();return _0x5a726d['setStart'](_0x35a940,_0x1a2df8),_0x5a726d['setEnd'](_0x35a940,_0x123e98),_0x5a726d;}function b(_0x411120,_0x38bde3,_0x431e67,_0x4cb822){const _0x152ee0=_0x590527['document']['createRange']();return _0x152ee0['setStart'](_0x411120,_0x38bde3),_0x152ee0['setEnd'](_0x431e67,_0x4cb822),_0x152ee0;}function x(_0x59b5a6,_0x3e3ce2,_0xe64d24,_0x2ad8dd,_0x3a1f38){const _0x529acd=[];for(const [_0x5e8331,_0x4d61ec]of _0x59b5a6['childNodes']['entries']()){let _0x462219=[];S(_0x4d61ec)&&_0x4d61ec['offsetParent']&&!_0x4d61ec['style']['position']?_0x462219=_(_0x4d61ec,_0x5e8331,_0x3e3ce2,_0xe64d24,_0x2ad8dd,_0x3a1f38):R(_0x4d61ec)&&(_0x462219=B(_0x4d61ec,_0x5e8331,_0x3e3ce2,_0xe64d24,_0x3a1f38)),_0x462219['length']&&(_0x529acd['push'](..._0x462219),_0x3e3ce2+=_0x462219['length']*_0xe64d24,_0x3a1f38=!0x1);}return _0x529acd;}function _(_0x3674fe,_0x53a314,_0x26f9cb,_0x4c6d3c,_0xb441b6,_0x5efe0a){const _0x39ec6a=[];var _0x7e50b5;if((_0x7e50b5=_0x3674fe['previousSibling'])&&S(_0x7e50b5)&&Boolean(_0x7e50b5['classList']['contains']('page-break')||_0x7e50b5['closest']('.page-break'))&&(_0x39ec6a['push']({'type':'manual','offset':0x0,'path':[_0x53a314-0x1]}),_0x5efe0a=!0x0),'table-row'==_0x590527['window']['getComputedStyle'](_0x3674fe)['display']){let _0x48619c=0x0,_0x474949=!0x1;for(const _0x4ca8b2 of _0x3674fe['getClientRects']())_0x48619c+=_0x4ca8b2['height'],_0x4ca8b2['left']>=_0x26f9cb&&(_0x474949=!0x0);if(_0x48619c<_0xb441b6&&_0x474949)return _0x39ec6a['push']({'type':'element','offset':0x0,'path':[_0x53a314]}),_0x39ec6a;}const _0x300186=_0x3674fe['closest']('figure.image');if(_0x300186&&function(_0x55ef05){let _0x5e99af=!0x1;const _0x14afac=_0x55ef05['parentElement'],_0x391053=_0x14afac['dataset']['rootName'],_0x41e232=_0x55ef05['nextElementSibling'],_0x595f72=_0x55ef05['previousElementSibling'],_0x3dd969=_0x41e232&&_0x590527['window']['getComputedStyle'](_0x41e232)['float'],_0x2d3a24=_0x41e232&&'ck-fake-selection-container'===_0x41e232['className'];!_0x391053||_0x41e232||_0x595f72||(_0x5e99af=!0x0),_0x391053&&!_0x595f72&&_0x2d3a24&&(_0x5e99af=!0x0),_0x391053&&!_0x595f72&&'none'!==_0x3dd969&&(_0x5e99af=!0x0);if(_0x5e99af)return!0x1;return!0x0;}(_0x300186)){const _0xdabb5f=_0x590527['window']['getComputedStyle'](_0x300186)['float'];if('left'==_0xdabb5f||'right'==_0xdabb5f)return _0x39ec6a;}const _0x2ecf2f=x(_0x3674fe,_0x26f9cb,_0x4c6d3c,_0xb441b6,_0x5efe0a);if(_0x2ecf2f['length']){for(const _0x508404 of _0x2ecf2f)_0x39ec6a['push']({'type':_0x508404['type'],'offset':_0x508404['offset'],'textOffset':_0x508404['textOffset'],'path':[_0x53a314,..._0x508404['path']]}),_0x26f9cb+=_0x4c6d3c,_0x5efe0a=!0x1;return _0x39ec6a;}return _0x39ec6a['push'](...function(_0x22baaa,_0x20b31b,_0x58d929,_0x2220c5,_0x8ad8f8){const _0x491e8d=[];if('table-cell'==_0x590527['window']['getComputedStyle'](_0x22baaa)['display'])return[];const _0x3e89dd=[];for(const _0x5a5b1e of _0x22baaa['getClientRects']())if(_0x5a5b1e['left']>=_0x58d929){for(const _0x41dc14 of _0x3e89dd)_0x41dc14['height']+=_0x5a5b1e['height'];_0x3e89dd['push']({'height':_0x5a5b1e['height']}),_0x58d929+=_0x2220c5;}for(const _0x1e67c3 of _0x3e89dd)_0x8ad8f8||_0x491e8d['push']({'type':'element','offset':_0x1e67c3['height'],'textOffset':0x0,'path':[_0x20b31b]}),_0x8ad8f8=!0x1;return _0x491e8d;}(_0x3674fe,_0x53a314,_0x26f9cb,_0x4c6d3c,_0x5efe0a)),_0x39ec6a;}function B(_0x183e84,_0x53aafd,_0x1df075,_0x19cffe,_0x81cc4c){const _0x10a6cd=P(_0x183e84),_0x12e86b=[];let _0x42f35a=0x0;for(const _0x52fd10 of _0x10a6cd['getClientRects']())if(_0x52fd10['left']>=_0x1df075){const _0x43a15b=I(_0x183e84,_0x42f35a,_0x1df075,_0x19cffe);_0x81cc4c||_0x12e86b['push']({'type':'text','path':[_0x53aafd],'textOffset':_0x43a15b}),_0x42f35a=_0x43a15b,_0x1df075+=_0x19cffe,_0x81cc4c=!0x1;}return _0x12e86b;}function I(_0x21a82b,_0x5d1203,_0x3dfe01,_0x55567e){let _0x8ac5c=_0x5d1203,_0x28637a=_0x21a82b['length'];for(;_0x28637a-_0x8ac5c>0x1;){const _0x3df7b9=Math['ceil']((_0x8ac5c+_0x28637a)/0x2);N(k(_0x21a82b,_0x8ac5c,_0x3df7b9),_0x3dfe01,_0x55567e)?_0x28637a=_0x3df7b9:_0x8ac5c=_0x3df7b9;}return _0x8ac5c;}function N(_0x3472fa,_0x180b1f,_0x4bbcc8){for(const _0x49af05 of _0x3472fa['getClientRects']())if(_0x49af05['left']>=_0x180b1f&&_0x49af05['left']<_0x180b1f+_0x4bbcc8)return!0x0;return!0x1;}function S(_0x4da757){return _0x4da757['nodeType']==Node['ELEMENT_NODE'];}function R(_0x141757){return _0x141757['nodeType']==Node['TEXT_NODE'];}const z=_0x4a562f('px');class V extends _0x1b7490{constructor(){super();const _0x3263e5=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x3263e5['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x3263e5['if']('isVisible','ck-hidden',_0x2aa4f7=>!_0x2aa4f7)],'style':{'left':_0x3263e5['to']('left',_0x1fa238=>z(_0x1fa238)),'top':_0x3263e5['to']('top',_0x24b942=>z(_0x24b942)),'width':_0x3263e5['to']('width',_0x90fe53=>z(_0x90fe53))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x55698b){this['_viewCollection']=_0x55698b['ui']['view']['body'];}['destroy'](){for(const _0xd500ea of this['_hiddenLines'])_0xd500ea['destroy']();}['cleanLines'](){for(const _0x2be6d5 of this['_visibleLines'])_0x2be6d5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2be6d5);this['_visibleLines']['clear']();}['showLine'](_0x5438d4,_0x158a57,_0x349594,_0x1cc888){let _0x52af43;this['_hiddenLines']['size']?(_0x52af43=_0xe8085d(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x52af43)):_0x52af43=new V(),_0x52af43['set']({'pageNumber':_0x1cc888,'left':_0x5438d4,'top':_0x158a57,'width':_0x349594}),_0x52af43['isVisible']=!0x0,this['_viewCollection']['has'](_0x52af43)||this['_viewCollection']['add'](_0x52af43),this['_visibleLines']['add'](_0x52af43);}['setViewCollection'](_0x52a9ce){for(const _0x83db66 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x83db66)&&this['_viewCollection']['remove'](_0x83db66);this['_viewCollection']=_0x52a9ce;}}const L='ck-pagination_enabled';class c extends _0x289705{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x1bc053,_0x5256b3,_0x343d89)=>{_0x343d89||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x343d89);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5b43dd){if(!this['isEnabled'])return;const _0x5de26c=_0x5b43dd>0x1?this['_getPageBreakLineOffset'](_0x5b43dd-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5de26c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0xa89e22['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xf1d591=this['editor'],_0x1f740a=this['_getAttachedDomRoot']();_0x1f740a?(this['_scrollableEditingRootDomAncestor']&&_0xf1d591['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5fc551){let _0x8a80af=_0x5fc551;do{_0x8a80af=_0x8a80af['parentElement'];const _0x4b8692=_0x590527['window']['getComputedStyle'](_0x8a80af)['overflowY'];if('auto'==_0x4b8692||'scroll'==_0x4b8692)break;}while('BODY'!=_0x8a80af['tagName']);return _0x8a80af;}(_0x1f740a),_0xf1d591['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x47aa6c(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xf1d591['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x47cd58=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x47cd58['ui']['view']['listenTo'](_0x590527['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x47cd58['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5bc921 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5bc921['ownerDocument']['body']['contains'](_0x5bc921))return _0x5bc921;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x573421=this['_getAttachedDomRoot'](),_0x159f18=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x573421||0x1==_0x159f18['length'])return void(this['pageNumber']=0x1);const _0x4c02ce=new _0x36405f(_0x573421)['excludeScrollbarsAndBorders'](),_0x13563b=new _0x36405f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x33a8dd=_0x13563b['top']+_0x13563b['height']/0x3;let _0x16a78d=!0x1;const _0x5f41f6=[];for(let _0x25d84d=0x1;_0x25d84d<_0x159f18['length'];_0x25d84d++){const _0x5c69f7=this['_getPageBreakLineOffset'](_0x25d84d,_0x13563b);if(!_0x5c69f7)continue;const _0x2774c6=_0x13563b['top']+_0x5c69f7-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5f41f6['push']({'pageOffsetTop':_0x2774c6,'domRootRect':_0x4c02ce,'domScrollableRect':_0x13563b,'pageNumber':_0x25d84d}),_0x2774c6>_0x33a8dd&&!_0x16a78d&&(this['pageNumber']=_0x25d84d,_0x16a78d=!0x0);}this['_renderPageBreakLines'](_0x5f41f6),_0x16a78d||(this['pageNumber']=_0x159f18['length']);}['_renderPageBreakLines'](_0x542a4b){const {scrollX:_0x22a82a,scrollY:_0x255378}=_0x590527['window'];if(_0x542a4b['length']){for(const {domScrollableRect:_0x29e91e,pageOffsetTop:_0x18e9d7,domRootRect:_0x4c61dc,pageNumber:_0x3b3036}of _0x542a4b)_0x29e91e['top']<_0x18e9d7&&_0x18e9d7<_0x29e91e['bottom']&&this['linesRepository']['showLine'](_0x4c61dc['left']+_0x22a82a,_0x18e9d7+_0x255378,_0x4c61dc['width'],_0x3b3036+0x1);}}['_getPageBreakLineOffset'](_0x4d400a,_0xf39350=null){const _0x2d4686=this['_paginationLookupPlugin']['pageBreaks'][_0x4d400a]['offset'];return _0x2d4686?(_0xf39350||(_0xf39350=new _0x36405f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2d4686-_0xf39350['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1f6582,_0x98cfa9=!0x0){const _0x3a74dc=this['editor']['editing']['view'];_0x3a74dc['change'](_0x424628=>{for(const _0x3d9fb6 of _0x3a74dc['document']['roots'])_0x98cfa9?_0x424628['addClass'](_0x1f6582,_0x3d9fb6):_0x424628['removeClass'](_0x1f6582,_0x3d9fb6);});}}function g(_0x5d2eed,_0x12f691,..._0x5960c9){const t=_0x5d2eed['t'];switch(_0x12f691){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x5960c9);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x12f691;}}class s extends _0x289705{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x45f4b7=this['editor']['plugins']['get']('Pagination'),_0x3c2071=this['editor']['plugins']['get'](n),_0x3ad485=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x45f4b7),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3ad485),this['listenTo'](_0x3c2071,'change:pageBreaks',(_0x5f258d,_0x39571a,_0x3a8074,_0x4b9501)=>{this['totalPages']=_0x3a8074['length'],this['_updatePageBreakMarkers'](_0x3a8074,_0x4b9501);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13d066=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e993d;for(const _0x323321 in _0x13d066){const _0x52da7e=_0x323321,_0x307d8e=_0x13d066[_0x52da7e];if('paginationLicenseKeyValid'==_0x307d8e||'paginationLicenseKeyInvalid'==_0x307d8e||'paginationLicenseKeyExpired'==_0x307d8e||'paginationLicenseKeyDomainLimit'==_0x307d8e||'paginationLicenseKeyNotAllowed'==_0x307d8e||'paginationLicenseKeyEvaluationLimit'==_0x307d8e||'paginationLicenseKeyTrialLimit'==_0x307d8e||'paginationLicenseKeyUsageLimit'==_0x307d8e){delete _0x13d066[_0x52da7e],_0x1e993d=_0x307d8e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1e993d&&_0x13d066['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1e993d&&_0x13d066['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1e993d&&_0x13d066['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x1e993d&&_0x13d066['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4c65a1){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x4c65a1));}['moveSelectionToPage'](_0x2ff2b3){if(!this['isEnabled'])return;const _0x5e4e06=this['editor'],_0x1200a9=this['editor']['plugins']['get'](n)['pageBreaks'][_0x2ff2b3-0x1];_0x1200a9&&_0x5e4e06['model']['change'](_0x5a1448=>{switch(_0x1200a9['type']){case'manual':{const _0x54567d=_0x5e4e06['model']['schema']['getNearestSelectionRange'](_0x1200a9['modelRange']['end'],'forward');_0x5a1448['setSelection'](_0x54567d);break;}case'element':{const _0xc14f68=_0x5e4e06['model']['schema']['getNearestSelectionRange'](_0x1200a9['modelRange']['start'],'forward');_0x5a1448['setSelection'](_0xc14f68);break;}case'text':{const _0x4b6de7=_0x1200a9['modelRange']['start'];if(_0x4b6de7['textNode']&&'\x20'===_0x4b6de7['textNode']['data'][_0x4b6de7['offset']]){const _0xd7815a=_0x5a1448['createPositionAt'](_0x4b6de7['parent'],_0x4b6de7['offset']+0x1);_0x5a1448['setSelection'](_0xd7815a);}else _0x5a1448['setSelection'](_0x1200a9['modelRange']);}}_0x5e4e06['editing']['view']['focus']();});}['goToNextPage'](){const _0x4a96ff=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4a96ff),this['scrollToPage'](_0x4a96ff);}['goToPreviousPage'](){const _0x4a4ba0=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4a4ba0),this['scrollToPage'](_0x4a4ba0);}['_updatePageBreakMarkers'](_0x14f7c8,_0x5e8775){const _0x549c0f=this['editor']['model'];this['isEnabled']&&_0x549c0f['change'](_0x3a6642=>{for(let _0x8d8355=0x1;_0x8d8355<_0x14f7c8['length'];_0x8d8355++){const _0x39b3f4=_0x14f7c8[_0x8d8355]['modelRange'],_0x453ba4='pagination:'+(_0x8d8355+0x1);_0x549c0f['markers']['has'](_0x453ba4)?_0x3a6642['updateMarker'](_0x453ba4,{'range':_0x39b3f4}):_0x3a6642['addMarker'](_0x453ba4,{'range':_0x39b3f4,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2187f0=_0x14f7c8['length'];_0x2187f0<_0x5e8775['length'];_0x2187f0++){const _0x1471f8='pagination:'+(_0x2187f0+0x1);_0x549c0f['markers']['has'](_0x1471f8)&&_0x3a6642['removeMarker'](_0x1471f8);}});}['_setUpDataDowncastConversion'](){const _0x414d54='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x55435d=>{_0x55435d['on']('addMarker:'+_0x414d54,(_0x39e7f2,{markerRange:_0x50db71,markerName:_0x5916f1},_0x3600fa)=>{if(!_0x3600fa['options']['pagination'])return;if(!_0x3600fa['consumable']['consume'](_0x50db71,_0x39e7f2['name']))return;const _0x1a00ad=_0x50db71['getContainedElement']();let _0x58466b=_0x1a00ad?_0x3600fa['mapper']['toViewElement'](_0x1a00ad):null;if(!_0x58466b){const _0x3f7368=_0x50db71['start'];if(_0x3600fa['schema']['checkChild'](_0x3f7368,'$text')){const _0x26639e=_0x3600fa['mapper']['toViewPosition'](_0x3f7368);_0x58466b=_0x3600fa['writer']['createContainerElement']('span'),_0x58466b['getFillerOffset']=()=>null,_0x3600fa['writer']['insert'](_0x26639e,_0x58466b);}else{const _0x40f701=_0x3f7368['nodeAfter'];_0x58466b=_0x3600fa['mapper']['toViewElement'](_0x40f701);}}for(;_0x58466b['parent']!==_0x58466b['root']&&0x0===_0x58466b['index'];)_0x58466b=_0x58466b['parent'];const _0x4ee242=_0x5916f1['substring'](0xb);_0x58466b['hasClass']('page-break')||(_0x3600fa['writer']['setStyle']('page-break-before','always',_0x58466b),_0x3600fa['writer']['setAttribute']('data-pagination-page',_0x4ee242,_0x58466b),_0x3600fa['mapper']['bindElementToMarker'](_0x58466b,_0x5916f1)),_0x39e7f2['stop']();});});}['_setupKeystrokes'](){const _0x59639a=this['editor'];_0x59639a['keystrokes']['set']('Shift+Pageup',(_0x1d6111,_0x151452)=>{this['goToPreviousPage'](),_0x151452();}),_0x59639a['keystrokes']['set']('Shift+Pagedown',(_0x174b51,_0x2b2fe6)=>{this['goToNextPage'](),_0x2b2fe6();}),_0x59639a['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x59639a['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x59639a['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x59639a['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x134b7e){return _0x134b7e<0x1&&(_0x134b7e=0x1),_0x134b7e>this['totalPages']&&(_0x134b7e=this['totalPages']),_0x134b7e;}}class U extends _0x1b7490{['pageNumberView'];constructor(_0x186c5c){super(_0x186c5c);const _0x3bfd03=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3b0835(_0x186c5c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x38f073=>g(_0x186c5c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x38f073)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x43e6c9=>!_0x43e6c9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3bfd03['if']('isEnabled','ck-disabled',_0x3fc5ac=>!_0x3fc5ac)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3bfd03['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2afbd0=this['pageNumberView']['element'],_0x21ecea=_0x18d325=>{this['pageNumberView']['element']['value']=String(_0x18d325);};_0x21ecea(this['pageNumber']),this['on']('change:pageNumber',(_0x3c46ff,_0x1c7167,_0x120672)=>{_0x21ecea(_0x120672);}),this['listenTo'](_0x2afbd0,'keydown',(_0x20217d,_0x8b6ef7)=>{if('ArrowUp'===_0x8b6ef7['key']||'ArrowDown'===_0x8b6ef7['key'])return void _0x8b6ef7['stopPropagation']();if(_0x8b6ef7['keyCode']!==_0x12ac1c['enter'])return;_0x8b6ef7['preventDefault']();const _0x230663=_0x2afbd0['valueAsNumber'];Number['isNaN'](_0x230663)?_0x2afbd0['value']=String(this['pageNumber']):(_0x2afbd0['checkValidity']()?this['pageNumber']=_0x230663:_0x230663>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2afbd0['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2afbd0['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2afbd0,'blur',()=>{_0x2afbd0['value']=String(this['pageNumber']);}),this['listenTo'](_0x2afbd0,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x289705{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58849a=this['editor'],_0x2722c3=_0x58849a['plugins']['get']('PaginationEditing');_0x58849a['ui']['componentFactory']['add']('pageNavigation',_0x4f95d5=>{const _0x52d371=new U(_0x4f95d5);return _0x52d371['bind']('pageNumber')['to'](_0x2722c3),_0x52d371['bind']('totalPages')['to'](_0x2722c3),_0x52d371['bind']('isEnabled')['to'](_0x2722c3),_0x52d371['on']('navigation',(_0x5bc8ce,_0x1dc07a)=>{_0x2722c3['moveSelectionToPage'](_0x1dc07a),_0x2722c3['scrollToPage'](_0x1dc07a);}),_0x52d371;}),_0x58849a['ui']['componentFactory']['add']('nextPage',_0x4e21b9=>{const _0x3b3e28=new _0x30f83c(_0x4e21b9);return _0x3b3e28['isEnabled']=!0x0,_0x3b3e28['label']=g(_0x58849a['locale'],'Go\x20to\x20next\x20page'),_0x3b3e28['icon']=_0x98a283,_0x3b3e28['tooltip']=!0x0,_0x3b3e28['keystroke']='Shift+PageDown',_0x3b3e28['bind']('isEnabled')['to'](_0x2722c3),this['listenTo'](_0x3b3e28,'execute',()=>{_0x2722c3['goToNextPage']();}),_0x3b3e28;}),_0x58849a['ui']['componentFactory']['add']('previousPage',_0x5bd078=>{const _0x27d4e9=new _0x30f83c(_0x5bd078);return _0x27d4e9['isEnabled']=!0x0,_0x27d4e9['label']=g(_0x58849a['locale'],'Go\x20to\x20previous\x20page'),_0x27d4e9['icon']=_0x4bc93a,_0x27d4e9['tooltip']=!0x0,_0x27d4e9['keystroke']='Shift+PageUp',_0x27d4e9['bind']('isEnabled')['to'](_0x2722c3),this['listenTo'](_0x27d4e9,'execute',()=>{_0x2722c3['goToPreviousPage']();}),_0x27d4e9;});}}class a extends _0x289705{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x16d3aa){super(_0x16d3aa),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x268c8e=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x268c8e),this['bind']('totalPages')['to'](_0x268c8e),_0xa89e22['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4e8edd){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4e8edd);}}export{a as Pagination,c as PaginationRenderer};