@ckeditor/ckeditor5-pagination 45.2.1-alpha.4 → 45.2.1-alpha.6

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 (160) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/legacyerrors.js +1 -1
  152. package/src/pagination.js +1 -1
  153. package/src/paginationediting.js +1 -1
  154. package/src/paginationlookup.js +1 -1
  155. package/src/paginationrenderer.js +1 -1
  156. package/src/paginationui.js +1 -1
  157. package/src/ui/linesrepository.js +1 -1
  158. package/src/ui/lineview.js +1 -1
  159. package/src/ui/pagenavigatorview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>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}function r(){const t=["isEnabled","calc( ","page-break","cloneNode","top","paddingLeft","join","afterInit","pluginName","all","classList","hasAttribute","toModelElement","10mm","document","bottom","window","position","figure.image","removeAttribute","845512DsSQsr","plugins","_mapTextPageStarterInfoToPageBreakInfo","complete","get","right","isPremiumPlugin","createRange","config","paddingRight","race","getAncestors","parentElement","ready","table-cell","nextSibling","_findPageStarterInfos","img","createPositionBefore","style","startOffset","domConverter","addEventListener","1848000bRqMjh","toViewElement","_getAttachedDomRoot","11SgyZoy","indexOf","editor","type","attributeStyleMap","9LGRLxB","then","ELEMENT_NODE","toModelPosition","fromCharCode","_mapManualPageStarterInfoToPageBreakInfo","isTouching","startContainer","_pagesContainer","resolve","createRangeOn","_mapElementPageStarterInfoToPageBreakInfo","childElementCount","compareDocumentPosition","body","PaginationEditing","74182PPfrJS","init","cancel","parent","setEnd",".page-break","change:isEnabled","endContainer","destroy","update","every","hidden","DOCUMENT_POSITION_PRECEDING","contains","editing","selectNode","previousSibling","manual","float","setStart","selectNodeContents","pagination-config-not-found","locale","className","push","text","_recalculatePageBreaks","round","nodeBefore","bind","view","path","low","pagination","display","height","length","_recalculatePageBreaksDebounced","_updatePageBreaksData","modelRange","PaginationLookup","firstChild","append","bindTemplate","shift","pagination.pageMargins"," - ","map","mapper","load","1680138xzJGOX","findMappedViewAncestor","getDomRoot","removeEventListener","once","_domNode","absolute","ck-pagination-view","textOffset","assign","getComputedStyle","_onUiReady","parentNode","_configuredPaddings","index","offsetParent","1554294XKrGTx","left","TEXT_NODE","setTemplate","endOffset","5TJOUzt","rootElement","ceil","100px","from","mapViewToDom","values","table-row","excludeScrollbarsAndBorders","querySelectorAll","domPositionToView","-99999px","ck-reset","_mapPageStarterInfoToPageBreakInfo","rootName","set","remove","error","entries","3185PYvogP","listenTo","sort","border-box","element","href","offset","width","getClientRects","floor","scrollLeft","insertBefore","pageBreaks","root","dataset","nodeType","closest","previousElementSibling","2662730yYPixh","class","ownerDocument","clear","auto","ck-fake-selection-container","model"," 0 ","imageBlock","_offset","render","none","childNodes","domRoots","div","isOfficialPlugin","nextElementSibling","3666LvOrwo"];return(r=function(){return t})()}const a=f;!function(t){const e=f,n=t();for(;;)try{if(363071===-parseInt(e(308))/1*(parseInt(e(131))/2)+parseInt(e(197))/3+parseInt(e(277))/4*(parseInt(e(202))/5)+parseInt(e(256))/6*(parseInt(e(221))/7)+-parseInt(e(300))/8+parseInt(e(181))/9+parseInt(e(239))/10*(-parseInt(e(303))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(r);class c extends t.Plugin{[a(168)]=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[a(157)]()),200);[a(123)]=null;static get[a(265)](){return a(171)}static get[a(254)](){return!0}static get[a(283)](){return!0}[a(132)](){const t=a;if(this[t(217)]({pageBreaks:[]}),!this[t(305)][t(285)][t(281)](t(164)))return void(0,o.logWarning)(t(152),this[t(305)][t(285)]);const e=this[t(305)][t(278)][t(281)](t(130));this[t(160)](t(257)).to(e),this[t(305)].ui[t(185)](t(290),(()=>this[t(192)]())),this.on(t(137),((e,n,i)=>{i&&this[t(168)]()}))}[a(264)](){!async function(t){const e=m([79,119,51,82,104,75,89,99,86,101,118,65,50,48,54,103,114,69,107,56,85,52,81,97,102,106,72,111,115,100,70,112,68,73,87,66,83,121,74,77,67,117,71,120,49,105,122,108,110,88,57,98,109,90,80,53,76,78,116,55,113,84]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(t)):null}function l(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 p(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=f;return t[e(178)]((t=>String[e(119)](t)))[e(263)]("")}!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([79]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],p(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 f(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(p(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(p(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(p(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=>{f(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(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:1750118400;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=f,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(226)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([102,105,108,116,101,114])]((t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])]))[m([109,97,112])]((t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t)))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[a(139)](){const t=a;super[t(139)](),this[t(123)]&&(this[t(168)][t(133)](),this[t(123)][t(139)](),this[t(123)][t(225)][t(218)]())}[a(192)](){const t=a,n=this[t(305)],i=n[t(145)][t(161)],o=this[t(302)]();if(!o||0===o[t(127)])return void n.ui[t(185)](t(140),(()=>this[t(192)]()));const{pageWidth:s,pageHeight:r}=n[t(285)][t(281)](t(164)),{top:c,left:u,bottom:l,right:p}=this[t(194)];this[t(123)]=new e.View(n[t(153)]);const f=this[t(123)];f[t(217)](t(240),""),f[t(200)]({tag:t(253),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(258)+r+t(177)+c+t(177)+l+" )",minWidth:t(243),minHeight:t(243),padding:"0 "+p+t(246)+u,columnGap:t(205),border:0,boxSizing:t(224),columnCount:t(243),columnFill:t(243),overflow:t(142),position:t(187),top:t(213),left:t(213)},tabindex:"-1",class:f[t(174)].to(t(240))}}),f[t(249)](),o[t(193)][t(232)](f[t(225)],o[t(292)]),this[t(222)](i,t(249),(()=>this[t(168)]()),{priority:t(163)}),this[t(168)]()}[a(302)](){const t=a;for(const e of this[t(305)][t(145)][t(161)][t(252)][t(208)]())if(e[t(241)][t(129)][t(144)](e))return e;return null}[a(157)](){const t=a;if(!this[t(257)])return Promise[t(124)]();const e=this[t(305)][t(145)][t(161)],n=this[t(123)],i=this[t(302)]();if(!i)return Promise[t(124)]();for(n[t(240)]=[t(214),t(188),...i[t(267)]][t(263)](" ");n[t(225)][t(172)];)n[t(225)][t(172)][t(218)]();const o=Array[t(206)](e[t(252)]);o[t(223)]((([,e],[,n])=>e[t(128)](n)==Node[t(143)]?1:-1));for(const[e,i]of o){const o=i[t(260)](!0);t(307)in o&&o[t(307)][t(242)](),o[t(154)]="",o[t(276)]("id"),o[t(235)][t(216)]=e,n[t(225)][t(173)](o)}return function(e){const n=t;return Promise[n(266)](e[n(178)]((t=>{return Promise[n(287)]([p(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(206)](n[t(225)][t(211)](t(294))))[t(309)]((()=>this[t(169)]()))}[a(169)](){const t=a,e=this[t(123)][t(225)];if(!e[t(241)][t(129)][t(144)](e))return;const n=new o.Rect(e)[t(210)](),i=o.global[t(273)][t(191)](e),s=parseFloat(i[t(262)])+parseFloat(i[t(286)]),r=Math[t(230)](n[t(228)]+100-s),c=m(e,Math[t(230)](n[t(198)]-e[t(231)]),r,n[t(166)])[t(178)]((e=>this[t(215)](e)));c[t(141)]((t=>!!t))&&(this[t(233)]=c)}[a(215)](t){const e=a,n=this[e(305)][e(145)][e(161)],i=this[e(305)][e(145)][e(179)],o=n[e(298)],s=t[e(162)][e(175)](),r=this[e(123)][e(225)][e(251)][s][e(235)][e(216)],c=n[e(183)](r);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(162)]){if(!o)return null;o=o[i(251)][t]}return o}(c,t);if(!u)return null;const l=o[e(212)](u,t[e(189)]||0);return l?e(148)==t[e(306)]?this[e(120)](l,u):e(156)==t[e(306)]&&i[e(311)](l)[e(227)]?this[e(279)](l,u,t[e(189)]):this[e(126)](l,u,t[e(227)]):null}[a(120)](t,e){const n=a,i=this[n(305)][n(245)],o=this[n(305)][n(145)][n(179)][n(269)](t[n(134)]),s=i[n(125)](o);return new u({type:n(148),modelRange:s,domNode:e,offset:0})}[a(279)](t,e,n){const i=a,o=this[i(305)][i(245)],s=this[i(305)][i(145)][i(179)],r=this[i(305)][i(145)][i(161)][i(298)];if(n>=e[i(167)])return null;const c=s[i(311)](t),p=o[i(284)](c),f=s[i(182)](t),d=r[i(207)](f);return new u({type:i(156),modelRange:p,domNode:e,offset:l(e,n,d)})}[a(126)](t,e,n){const i=a,s=this[i(305)][i(245)],r=this[i(305)][i(145)],c=r[i(179)],l=r[i(161)][i(298)],p=c[i(182)](t),f=c[i(269)](p),h=function(t){const e=i,n=t[e(134)],o=n[e(234)][e(271)][e(245)],s=n[e(288)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(203)))return r;if(!o[e(295)](n)[e(121)](t))return r;r=n}}(s[i(295)](f))||f;let g=c[i(301)](h),m=s[i(125)](h);const b=s[i(295)](h)[i(159)];if(b&&b.is(i(225),i(247))){const t=c[i(301)](b),e=l[i(207)](t),n=o.global[i(273)][i(191)](e)[i(149)];i(198)!=n&&i(282)!=n||(m=s[i(125)](b))}for(;g[i(134)]!==g[i(234)]&&0===g[i(195)];)g=g[i(134)];const w=new o.Rect(y(e)?e:d(e)),v=n?w[i(166)]-n:0,k=l[i(207)](g),I=new o.Rect(k);return new u({type:i(225),modelRange:m,domNode:k,offset:Math[i(158)](v)?v+w[i(261)]-I[i(261)]:0})}get[a(194)](){const t=a,e=this[t(305)][t(285)][t(281)](t(176));return Object[t(190)]({top:t(270),bottom:t(270),left:t(270),right:t(270)},e)}static[a(293)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[a(306)];[a(170)];[a(186)];[a(248)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=a;this[o(306)]=t,this[o(170)]=e,this[o(186)]=n,this[o(248)]=i}get[a(227)](){const t=a;if(!this[t(186)][t(241)][t(129)][t(144)](this[t(186)]))return 0;const e=new o.Rect(y(this[t(186)])?this[t(186)]:d(this[t(186)]));return t(148)==this[t(306)]?e[t(261)]+e[t(166)]/2:e[t(261)]+this[t(248)]}}function l(t,e,n){const i=a,s=d(t),r=function(t){const e=f,n=o.global[e(271)][e(284)]();return n[e(151)](t),n}(n);let c;c=0==e?g(r[i(122)],r[i(297)],t[i(193)],Array[i(206)](t[i(193)][i(251)])[i(304)](t)):g(r[i(122)],r[i(297)],t,e);const u=g(t,e,r[i(138)],r[i(201)]),l=new o.Rect(c)[i(272)];return(new o.Rect(u)[i(261)]+l)/2-new o.Rect(s)[i(261)]}function p(t){const e=a;return t[e(268)](e(228))&&t[e(268)](e(166))?Promise[e(124)]():new Promise((n=>{const i=e;function o(){const e=f;t[e(184)](e(180),o),t[e(184)](e(219),o),n()}t[i(280)]?n():(t[i(299)](i(180),o),t[i(299)](i(219),o))}))}function f(t,e){const n=r();return(f=function(t,e){return n[t-=119]})(t,e)}function d(t){const e=a,n=o.global[e(271)][e(284)]();return n[e(146)](t),n}function h(t,e,n){const i=a,s=o.global[i(271)][i(284)]();return s[i(150)](t,e),s[i(135)](t,n),s}function g(t,e,n,i){const s=a,r=o.global[s(271)][s(284)]();return r[s(150)](t,e),r[s(135)](n,i),r}function m(t,e,n,i,o){const s=a,r=[];for(const[a,c]of t[s(251)][s(220)]()){let t=[];y(c)&&c[s(196)]&&!c[s(296)][s(274)]?t=b(c,a,e,n,i,o):I(c)&&(t=w(c,a,e,n,o)),t[s(167)]&&(r[s(155)](...t),e+=t[s(167)]*n,o=!1)}return r}function b(t,e,n,i,s,r){const c=a,u=[];var l;if((l=t[c(147)])&&y(l)&&Boolean(l[c(267)][c(144)](c(259))||l[c(237)](c(136)))&&(u[c(155)]({type:c(148),offset:0,path:[e-1]}),r=!0),c(209)==o.global[c(273)][c(191)](t)[c(165)]){let i=0,o=!1;for(const e of t[c(229)]())i+=e[c(166)],e[c(198)]>=n&&(o=!0);if(i<s&&o)return u[c(155)]({type:c(225),offset:0,path:[e]}),u}const p=t[c(237)](c(275));if(p&&function(t){const e=c;let n=!1;const i=t[e(289)][e(235)][e(216)],s=t[e(255)],r=t[e(238)],a=s&&o.global[e(273)][e(191)](s)[e(149)],u=s&&e(244)===s[e(154)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(250)!==a&&(n=!0),!n}(p)){const t=o.global[c(273)][c(191)](p)[c(149)];if(c(198)==t||c(282)==t)return u}const f=m(t,n,i,s,r);if(f[c(167)]){for(const t of f)u[c(155)]({type:t[c(306)],offset:t[c(227)],textOffset:t[c(189)],path:[e,...t[c(162)]]}),n+=i,r=!1;return u}return u[c(155)](...function(t,e,n,i,s){const r=c,a=[];if(r(291)==o.global[r(273)][r(191)](t)[r(165)])return[];const u=[];for(const e of t[r(229)]())if(e[r(198)]>=n){for(const t of u)t[r(166)]+=e[r(166)];u[r(155)]({height:e[r(166)]}),n+=i}for(const t of u)s||a[r(155)]({type:r(225),offset:t[r(166)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,r)),u}function w(t,e,n,i,o){const s=a,r=d(t),c=[];let u=0;for(const a of r[s(229)]())if(a[s(198)]>=n){const r=v(t,u,n,i);o||c[s(155)]({type:s(156),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=a;let s=e,r=t[o(167)];for(;r-s>1;){const e=Math[o(204)]((s+r)/2);k(h(t,s,e),n,i)?r=e:s=e}return s}function k(t,e,n){const i=a;for(const o of t[i(229)]())if(o[i(198)]>=e&&o[i(198)]<e+n)return!0;return!1}function y(t){const e=a;return t[e(236)]==Node[e(310)]}function I(t){const e=a;return t[e(236)]==Node[e(199)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),A=n(262),S=n.n(A),T=n(667),E=n.n(T),R=n(357),L=n.n(R),O=n(371),C={attributes:{"data-cke":!0}};C.setAttributes=E(),C.insert=S().bind(null,"head"),C.domAPI=N(),C.insertStyleElement=L();x()(O.A,C);O.A&&O.A.locals&&O.A.locals;function B(t,e){const n=D();return(B=function(t,e){return n[t-=201]})(t,e)}function D(){const t=["10rhJHMf","width","left","setTemplate","872928OaLPzd","2921628YdddVO","3433521RkAvAE","4026234dGNTmx","5810224Qbdcmh","set","isVisible","div","ck-pagination-view-line","429126utPPYI","ck-hidden","12bEXgnz","top","bindTemplate","25277661GeYaUd","pageNumber"];return(D=function(){return t})()}!function(t){const e=B,n=t();for(;;)try{if(751003===parseInt(e(206))/1+-parseInt(e(217))/2*(-parseInt(e(215))/3)+-parseInt(e(207))/4+parseInt(e(202))/5*(parseInt(e(209))/6)+parseInt(e(208))/7+parseInt(e(210))/8+-parseInt(e(220))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=B;super();const e=this[t(219)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(205)]({tag:t(213),attributes:{"data-page-number":e.to(t(201)),class:["ck",t(214),e.if(t(212),t(216),(t=>!t))],style:{left:e.to(t(204),(t=>M(t))),top:e.to(t(218),(t=>M(t))),width:e.to(t(203),(t=>M(t)))}}})}}function V(){const t=["_hiddenLines","326EsIPaU","size","body","remove","12268494WmOYKk","2326394dgLuBB","showLine","set","clear","10513912mKaFRb","7899900EAkpRV","destroy","isVisible","4914500ArWLjM","setViewCollection","4ajAiwS","4315VFZJoL","add","delete","_viewCollection","values","_visibleLines","1598403diGcUL","cleanLines","has","view"];return(V=function(){return t})()}function K(t,e){const n=V();return(K=function(t,e){return n[t-=299]})(t,e)}const j=K;!function(t){const e=K,n=t();for(;;)try{if(775167===parseInt(e(312))/1*(-parseInt(e(323))/2)+parseInt(e(318))/3*(-parseInt(e(311))/4)+parseInt(e(309))/5+-parseInt(e(306))/6+-parseInt(e(301))/7+parseInt(e(305))/8+parseInt(e(300))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class U{[j(315)];[j(317)]=new Set;[j(322)]=new Set;constructor(t){const e=j;this[e(315)]=t.ui[e(321)][e(325)]}[j(307)](){const t=j;for(const e of this[t(322)])e[t(307)]()}[j(319)](){const t=j;for(const e of this[t(317)])e[t(308)]=!1,this[t(322)][t(313)](e);this[t(317)][t(304)]()}[j(302)](t,e,n,i){const s=j;let r;this[s(322)][s(324)]?(r=(0,o.first)(this[s(322)][s(316)]()),this[s(322)][s(314)](r)):r=new G,r[s(303)]({pageNumber:i,left:t,top:e,width:n}),r[s(308)]=!0,this[s(315)][s(320)](r)||this[s(315)][s(313)](r),this[s(317)][s(313)](r)}[j(310)](t){const e=j;for(const t of[...this[e(317)],...this[e(322)]])this[e(315)][e(320)](t)&&this[e(315)][e(299)](t);this[e(315)]=t}}const F=W;function z(){const t=["push","7382GsyZCr","instant","scrollTo","auto","ready","linesRepository","pluginName","contains","top","domRoots","isPremiumPlugin","offset","once","addClass","pageBreaks","change","resize","tagName","overflowY","removeClass","window","init","PaginationLookup","width","scroll","BODY","view","get","ck-pagination_enabled","destroy","plugins","7168990DoNLZD","_renderPageBreakLines","PaginationRenderer","editor","bottom","_onUiReady","height","3763143TUXBso","roots","scrollTop","document","set","21VEPMZP","left","120241THdVdp","_getAttachedDomRoot","2930jUoGtV","_updatePageBreakLines","439bAWNSt","_paginationLookupPlugin","showLine","values","3787554FfpNZb","PaginationEditing","scrollToPage","smooth","scrollLeft","body","getComputedStyle","setupScrollableAncestor","editing","excludeScrollbarsAndBorders","change:pageBreaks","_resizeObserver","length","isEnabled","1740560TdeQpN","update","ownerDocument","47382zpqBtf","_scrollableEditingRootDomAncestor","24qxIYck","change:isEnabled","stopListening","_getPageBreakLineOffset","_toggleEditingRootsClass","isOfficialPlugin","isMotionReduced","bind","listenTo","pageNumber","parentElement","cleanLines"];return(z=function(){return t})()}function W(t,e){const n=z();return(W=function(t,e){return n[t-=329]})(t,e)}!function(t){const e=W,n=t();for(;;)try{if(811970===-parseInt(e(413))/1*(-parseInt(e(364))/2)+parseInt(e(349))/3*(parseInt(e(351))/4)+parseInt(e(395))/5+parseInt(e(332))/6+parseInt(e(407))/7*(parseInt(e(346))/8)+-parseInt(e(402))/9+parseInt(e(411))/10*(-parseInt(e(409))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);const q=F(392);class J extends t.Plugin{[F(369)];[F(350)]=null;[F(343)]=null;[F(329)];static get[F(370)](){return F(397)}static get[F(356)](){return!0}static get[F(374)](){return!0}[F(385)](){const t=F;this[t(406)]({pageNumber:1}),this[t(369)]=new U(this[t(398)]),this[t(350)]=null,this[t(343)]=null,this[t(329)]=this[t(398)][t(394)][t(391)](t(386)),this[t(358)](t(345)).to(this[t(398)][t(394)][t(391)](t(333))),this[t(398)].ui[t(376)](t(368),(()=>this[t(400)]())),this[t(355)](q),this.on(t(352),((e,n,i)=>{const o=t;i||this[o(369)][o(362)](),this[o(355)](q,i)}))}[F(393)](){const t=F;this[t(355)](q,!1),this[t(369)][t(393)](),this[t(350)]=null,this[t(343)]&&this[t(343)][t(393)]()}[F(334)](t){const e=F;if(!this[e(345)])return;const n=t>1?this[e(354)](t-1):0;this[e(350)][e(366)]({top:n-10,left:this[e(350)][e(336)],behavior:o.env[e(357)]?e(365):e(335)})}[F(339)](){const t=F,e=this[t(398)],n=this[t(410)]();n?(this[t(350)]&&e.ui[t(390)][t(353)](this[t(350)],t(388)),this[t(350)]=function(e){const n=t;let i=e;do{i=i[n(361)];const t=o.global[n(384)][n(338)](i)[n(382)];if(n(367)==t||n(388)==t)break}while(n(389)!=i[n(381)]);return i}(n),e.ui[t(390)][t(359)](this[t(350)],t(388),(()=>{this[t(412)]()}),{usePassive:!0}),this[t(343)]&&this[t(343)][t(393)](),this[t(343)]=new o.ResizeObserver(this[t(350)],(()=>{this[t(412)]()}))):e.ui[t(376)](t(347),(()=>this[t(339)]()))}[F(400)](){const t=F,e=this[t(398)];this[t(410)]()?(this[t(339)](),e.ui[t(390)][t(359)](o.global[t(384)],t(380),(()=>this[t(412)]())),this[t(359)](this[t(329)],t(342),(()=>this[t(412)]()))):e.ui[t(376)](t(347),(()=>this[t(400)]()))}[F(410)](){const t=F;for(const e of this[t(398)][t(340)][t(390)][t(373)][t(331)]())if(e[t(348)][t(337)][t(371)](e))return e;return null}[F(412)](){const t=F;if(!this[t(345)])return;const e=this[t(410)](),n=this[t(329)][t(378)];if(this[t(369)][t(362)](),!e||1==n[t(344)])return void(this[t(360)]=1);const i=new o.Rect(e)[t(341)](),s=new o.Rect(this[t(350)])[t(341)](),r=s[t(372)]+s[t(401)]/3;let a=!1;const c=[];for(let e=1;e<n[t(344)];e++){const n=this[t(354)](e,s);if(!n)continue;const o=s[t(372)]+n-this[t(350)][t(404)];c[t(363)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(360)]=e,a=!0)}this[t(396)](c),a||(this[t(360)]=n[t(344)])}[F(396)](t){const e=F,{scrollX:n,scrollY:i}=o.global[e(384)];if(t[e(344)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(372)]<s&&s<o[e(399)]&&this[e(369)][e(330)](r[e(408)]+n,s+i,r[e(387)],a+1)}[F(354)](t,e=null){const n=F,i=this[n(329)][n(378)][t][n(375)];return i?(e||(e=new o.Rect(this[n(350)])[n(341)]()),i-e[n(372)]+this[n(350)][n(404)]):0}[F(355)](t,e=!0){const n=F,i=this[n(398)][n(340)][n(390)];i[n(379)]((o=>{const s=n;for(const n of i[s(405)][s(403)])e?o[s(377)](t,n):o[s(383)](t,n)}))}}function X(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Y=n(761),Z={attributes:{"data-cke":!0}};Z.setAttributes=E(),Z.insert=S().bind(null,"head"),Z.domAPI=N(),Z.insertStyleElement=L();x()(Y.A,Z);Y.A&&Y.A.locals&&Y.A.locals;const H=Q;function Q(t,e){const n=$();return(Q=function(t,e){return n[t-=311]})(t,e)}function $(){const t=["start","pagination:","editing","licenseKey","12dVBEun","checkChild","pageNumber","for","modelRange","data","pagination","_showLicenseError","requires","isOfficialPlugin","conversion","addMarker","always","schema","7755565NFlmLk","root","expired","options","domainLimit","get","$text","mapper","featureNotAllowed","offset","locale","focus","getFillerOffset","bind","accessibility","_setupKeystrokes","trialLimit","954152BBgdfs","Keystrokes for navigating through documents","180172vjDyAy","paginationLicenseKeyValid","index","writer","change","removeMarker","pageBreaks","data-pagination-page","paginationLicenseKeyInvalid","markers","createContainerElement","pluginName","bindElementToMarker","model","19667632GyGgiW","PaginationEditing","paginationLicenseKeyUsageLimit","page-break-before","add","toViewPosition","consume","insert","_licenseKeyCheckInterval","getNearestSelectionRange","parent","_validatePageNumber","usageLimit","length","toViewElement","Shift+Pageup","manual","5360320MRdvLK","paginationLicenseKeyNotAllowed","updateMarker","nodeAfter","has","config","invalid","keystrokes","moveSelectionToPage","view","_updatePageBreakMarkers","editor","type","listenTo","scrollToPage","forward","isPremiumPlugin","setStyle","totalPages","paginationLicenseKeyTrialLimit","getContainedElement","createPositionAt","span","paginationLicenseKeyEvaluationLimit","addMarker:","isEnabled","_setUpDataDowncastConversion","paginationLicenseKeyExpired","1655699dAfJIy","setAttribute","element","Go to the next page (also move selection)","consumable","9353226DEOwOP","text","paginationLicenseKeyDomainLimit","textNode","change:pageBreaks","name","hasClass","set","evaluationLimit","destroy","setSelection","goToPreviousPage","goToNextPage","addKeystrokeInfoGroup","init","dataDowncast","Go to the previous page (also move selection)","Shift+Pagedown","page-break","end","substring","plugins","Pagination","stop"];return($=function(){return t})()}!function(t){const e=Q,n=t();for(;;)try{if(977391===-parseInt(e(387))/1+-parseInt(e(328))/2*(parseInt(e(420))/3)+-parseInt(e(326))/4+-parseInt(e(434))/5+parseInt(e(392))/6+parseInt(e(359))/7+parseInt(e(342))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[H(419)];[H(350)];static get[H(339)](){return H(343)}static get[H(429)](){return!0}static get[H(375)](){return!0}static get[H(428)](){return[c,J]}[H(406)](){const t=H;this[t(399)]({pageNumber:1,totalPages:1});const e=this[t(370)][t(413)][t(314)](t(414)),n=this[t(370)][t(413)][t(314)](c),i=this[t(370)][t(413)][t(314)](J);this[t(322)](t(384)).to(e),this[t(385)](),this[t(322)](t(422)).to(i),this[t(372)](n,t(396),((e,n,i,o)=>{const s=t;this[s(377)]=i[s(355)],this[s(369)](i,o)})),this[t(324)](),this[t(419)]=this[t(370)][t(364)][t(314)](t(419));const o=this[t(370)];this[t(350)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(329)==s||e(336)==s||e(386)==s||e(394)==s||e(360)==s||e(382)==s||e(378)==s||e(344)==s){delete o[i],n=s,clearInterval(this[e(350)]),this[e(350)]=void 0;break}}e(336)==n&&o[e(427)](e(365)),e(386)==n&&o[e(427)](e(311)),e(394)==n&&o[e(427)](e(313)),e(360)==n&&o[e(427)](e(317),e(414)),e(382)==n&&o[e(427)](e(400)),e(378)==n&&o[e(427)](e(325)),e(344)==n&&o[e(427)](e(354))}),1e3)}[H(401)](){const t=H;super[t(401)](),this[t(350)]&&clearInterval(this[t(350)])}[H(373)](t){const e=H;this[e(384)]&&this[e(370)][e(413)][e(314)](J)[e(373)](this[e(353)](t))}[H(367)](t){const e=H;if(!this[e(384)])return;const n=this[e(370)],i=this[e(370)][e(413)][e(314)](c)[e(334)][t-1];i&&n[e(341)][e(332)]((t=>{const o=e;switch(i[o(371)]){case o(358):{const e=n[o(341)][o(433)][o(351)](i[o(424)][o(411)],o(374));t[o(402)](e);break}case o(389):{const e=n[o(341)][o(433)][o(351)](i[o(424)][o(416)],o(374));t[o(402)](e);break}case o(393):{const e=i[o(424)][o(416)];if(e[o(395)]&&" "===e[o(395)][o(425)][e[o(318)]]){const n=t[o(380)](e[o(352)],e[o(318)]+1);t[o(402)](n)}else t[o(402)](i[o(424)])}}n[o(418)][o(368)][o(320)]()}))}[H(404)](){const t=H,e=this[t(353)](this[t(422)]+1);this[t(367)](e),this[t(373)](e)}[H(403)](){const t=H,e=this[t(353)](this[t(422)]-1);this[t(367)](e),this[t(373)](e)}[H(369)](t,e){const n=H,i=this[n(370)][n(341)];this[n(384)]&&i[n(332)]((o=>{const s=n;for(let e=1;e<t[s(355)];e++){const n=t[e][s(424)],r=s(417)+(e+1);i[s(337)][s(363)](r)?o[s(361)](r,{range:n}):o[s(431)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(355)];n<e[s(355)];n++){const t=s(417)+(n+1);i[s(337)][s(363)](t)&&o[s(333)](t)}}))}[H(385)](){const t=H,e=t(426);this[t(370)][t(430)][t(423)](t(407))[t(346)]((n=>{const i=t;n.on(i(383)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(312)][s(426)])return;if(!o[s(391)][s(348)](e,t[s(397)]))return;const r=e[s(379)]();let a=r?o[s(316)][s(356)](r):null;if(!a){const t=e[s(416)];if(o[s(433)][s(421)](t,s(315))){const e=o[s(316)][s(347)](t);a=o[s(331)][s(338)](s(381)),a[s(321)]=()=>null,o[s(331)][s(349)](e,a)}else{const e=t[s(362)];a=o[s(316)][s(356)](e)}}for(;a[s(352)]!==a[s(435)]&&0===a[s(330)];)a=a[s(352)];const c=n[s(412)](11);a[s(398)](s(410))||(o[s(331)][s(376)](s(345),s(432),a),o[s(331)][s(388)](s(335),c,a),o[s(316)][s(340)](a,n)),t[s(415)]()}))}))}[H(324)](){const t=H,e=this[t(370)];e[t(366)][t(399)](t(357),((e,n)=>{this[t(403)](),n()})),e[t(366)][t(399)](t(409),((e,n)=>{this[t(404)](),n()})),e[t(323)][t(405)]({id:t(426),label:X(e[t(319)],t(327)),keystrokes:[{label:X(e[t(319)],t(408)),keystroke:t(357),mayRequireFn:!0},{label:X(e[t(319)],t(390)),keystroke:t(409),mayRequireFn:!0}]})}[H(353)](t){const e=H;return t<1&&(t=1),t>this[e(377)]&&(t=this[e(377)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=S().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=L();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["Current page number (from 1 to %0)","key","listenTo","1124319UjdAvT","stopPropagation","firstChild","isNaN","keyCode","isEnabled","enter","9302xFaRfF","pageNumberView","checkValidity","isReadOnly","ArrowUp","pageNumber","ck-disabled","focus","6rVdisK","div","60904HdEVgn","2809610SBbyxx","set","select","ariaLabel","fire","2811978OShpVZ","render","max","numeric","totalPages","preventDefault","ArrowDown","change:pageNumber","38GxSmEM","blur","value","bind","valueAsNumber","bindTemplate","1155936SvdhwD","371781eYCRZI","span","element","ck-page-navigator","20PkMYrv","keydown","navigation","setTemplate"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(161321===parseInt(e(416))/1*(parseInt(e(391))/2)+-parseInt(e(398))/3+parseInt(e(426))/4*(parseInt(e(402))/5)+parseInt(e(424))/6*(parseInt(e(409))/7)+-parseInt(e(397))/8+parseInt(e(383))/9+-parseInt(e(427))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(417)];constructor(t){const n=ot;super(t);const i=this[n(396)];this[n(428)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(417)]=new e.InputNumberView(t,{min:1,step:1}),this[n(417)][n(428)]({inputMode:n(386),tabIndex:-1}),this[n(417)][n(394)](n(381)).to(this,n(387),(e=>X(t,n(406),e))),this[n(417)][n(394)](n(385)).to(this,n(387)),this[n(417)][n(394)](n(419)).to(this,n(414),(t=>!t)),this[n(405)]({tag:n(425),attributes:{class:["ck",n(401),i.if(n(414),n(422),(t=>!t))]},children:[this[n(417)],{tag:n(399),children:[{text:i.to(n(387))}]}]})}[ot(384)](){const t=ot;super[t(384)]();const e=this[t(417)][t(400)],n=e=>{const n=t;this[n(417)][n(400)][n(393)]=String(e)};n(this[t(421)]),this.on(t(390),((t,e,i)=>{n(i)})),this[t(408)](e,t(403),((n,i)=>{const s=t;if(s(420)===i[s(407)]||s(389)===i[s(407)])return void i[s(410)]();if(i[s(413)]!==o.keyCodes[s(415)])return;i[s(388)]();const r=e[s(395)];Number[s(412)](r)?e[s(393)]=String(this[s(421)]):(e[s(418)]()?this[s(421)]=r:r>this[s(387)]?(this[s(421)]=this[s(387)],e[s(393)]=String(this[s(387)])):(this[s(421)]=1,e[s(393)]="1"),this[s(382)](s(404),this[s(421)]))})),this[t(408)](e,t(392),(()=>{const n=t;e[n(393)]=String(this[n(421)])})),this[t(408)](e,t(423),(()=>{const e=t;this[e(417)][e(380)]()}))}[ot(423)](){const t=ot;this[t(400)][t(411)][t(423)]()}}function ct(){const t=["580717SheDtu","437234IVqqUI","isOfficialPlugin","5517vaPWVN","listenTo","componentFactory","label","execute","scrollToPage","214hZrRtf","Shift+PageUp","10ZmGzDw","7006417perKyJ","6461244UjuVqj","goToNextPage","keystroke","Shift+PageDown","isPremiumPlugin","9FbNXAX","init","moveSelectionToPage","pageNavigation","editor","PaginationUI","588IceTnW","plugins","previousPage","nextPage","bind","pluginName","isEnabled","4915LuCdPy","Go to previous page","goToPreviousPage","36pbfhXp","icon","navigation","locale","pageNumber","totalPages","add","get","416360SHkzAu","Go to next page","tooltip","PaginationEditing"];return(ct=function(){return t})()}const ut=lt;function lt(t,e){const n=ct();return(lt=function(t,e){return n[t-=465]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(324212===-parseInt(e(467))/1+parseInt(e(476))/2*(parseInt(e(470))/3)+parseInt(e(491))/4*(-parseInt(e(498))/5)+-parseInt(e(501))/6*(parseInt(e(468))/7)+-parseInt(e(509))/8*(-parseInt(e(485))/9)+parseInt(e(478))/10*(parseInt(e(479))/11)+parseInt(e(480))/12)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ct);class pt extends t.Plugin{static get[ut(496)](){return ut(490)}static get[ut(469)](){return!0}static get[ut(484)](){return!0}[ut(486)](){const t=ut,n=this[t(489)],i=n[t(492)][t(508)](t(466));n.ui[t(472)][t(507)](t(488),(e=>{const n=t,o=new at(e);return o[n(495)](n(505)).to(i),o[n(495)](n(506)).to(i),o[n(495)](n(497)).to(i),o.on(n(503),((t,e)=>{const o=n;i[o(487)](e),i[o(475)](e)})),o})),n.ui[t(472)][t(507)](t(494),(o=>{const s=t,r=new e.ButtonView(o);return r[s(497)]=!0,r[s(473)]=X(n[s(504)],s(510)),r[s(502)]=et.IconArrowDown,r[s(465)]=!0,r[s(482)]=s(483),r[s(495)](s(497)).to(i),this[s(471)](r,s(474),(()=>{i[s(481)]()})),r})),n.ui[t(472)][t(507)](t(493),(o=>{const s=t,r=new e.ButtonView(o);return r[s(497)]=!0,r[s(473)]=X(n[s(504)],s(499)),r[s(502)]=et.IconArrowUp,r[s(465)]=!0,r[s(482)]=s(477),r[s(495)](s(497)).to(i),this[s(471)](r,s(474),(()=>{i[s(500)]()})),r}))}}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=198]})(t,e)}const dt=ft;function ht(){const t=["bind","3336100bUnwgf","101267WSrhok","18MEGAjS","browserCheck","editor","6vptxXw","2954676RChHXO","isPremiumPlugin","requires","scrollToPage","351882BAQNWJ","isBlink","get","ready","plugins","pagination.enableOnUnsupportedBrowsers","pageNumber","24VmKwkA","94588ZxBwty","2506728NKezJZ","set","isOfficialPlugin","11JyBdJH","forceDisabled","isEnabled","Pagination","config","totalPages","pluginName","9784370KdVGbR","init"];return(ht=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(502185===parseInt(e(217))/1*(parseInt(e(218))/2)+-parseInt(e(222))/3+parseInt(e(202))/4+-parseInt(e(216))/5*(parseInt(e(221))/6)+parseInt(e(203))/7+parseInt(e(201))/8*(-parseInt(e(226))/9)+-parseInt(e(213))/10*(-parseInt(e(206))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[dt(212)](){return dt(209)}static get[dt(205)](){return!0}static get[dt(223)](){return!0}static get[dt(224)](){return[tt,pt]}constructor(t){const e=dt;super(t),this[e(208)]=!1}[dt(214)](){const t=dt;this[t(204)]({pageNumber:1,totalPages:1});const e=this[t(220)][t(198)][t(228)](tt);this[t(215)](t(200)).to(e),this[t(215)](t(211)).to(e),o.env[t(227)]||this[t(220)][t(210)][t(228)](t(199))?this[t(220)].on(t(229),(()=>{this[t(208)]=!0})):this[t(207)](t(219))}[dt(225)](t){const e=dt;this[e(220)][e(198)][e(228)](tt)[e(225)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=123]})(t,e)}function bt(){var t=["2282IWAMwJ","36UeTnxt","3666wXvIUv","758032MIJmYM","4258905DALRQe","3336008wOSaso","1946612LeqKpA","26ULvRLg","4639930LyjXuh","9DqWMTS","80774rTOZPG","3yIGkmm"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(585072===-parseInt(e(127))/1*(-parseInt(e(124))/2)+parseInt(e(128))/3*(-parseInt(e(123))/4)+-parseInt(e(133))/5+parseInt(e(131))/6*(parseInt(e(129))/7)+-parseInt(e(134))/8*(-parseInt(e(126))/9)+parseInt(e(125))/10+parseInt(e(132))/11*(-parseInt(e(130))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>F});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(t){const e=b,n=t();for(;;)try{if(255646===parseInt(e(228))/1+-parseInt(e(344))/2+parseInt(e(247))/3*(parseInt(e(389))/4)+-parseInt(e(292))/5+-parseInt(e(382))/6+parseInt(e(282))/7*(-parseInt(e(351))/8)+parseInt(e(269))/9*(parseInt(e(297))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class a extends t.Plugin{[r(393)]=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(278)](),200);[r(367)]=null;static get[r(328)](){return r(350)}static get[r(308)](){return!0}static get[r(317)](){return!0}[r(321)](){const t=r;if(this[t(357)]({pageBreaks:[]}),!this[t(335)][t(255)][t(240)](t(298)))return void(0,o.logWarning)(t(263),this[t(335)][t(255)]);const e=this[t(335)][t(327)][t(240)](t(265));this[t(403)](t(371)).to(e),this[t(335)].ui[t(364)](t(288),()=>this[t(365)]()),this.on(t(366),(e,n,i)=>{i&&this[t(393)]()})}[r(407)](){!async function(t){const e=g([89,56,57,101,65,86,88,116,103,110,52,51,69,82,80,100,48,99,66,79,114,74,90,108,70,78,102,83,50,53,72,49,118,111,120,54,122,115,81,104,84,107,85,87,77,112,109,117,55,105,113,73,106,67,119,76,98,68,97,121,75,71]),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(330)](t=>String[e(358)](t))[e(256)]("")}!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([89]);for(let i=0;i<t[g([108,101,110,103,116,104])];i+=2){let o=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[g([108,101,110,103,116,104])]&&(o-=e[g([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=g([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=g([86,97,108,105,100])&&async function(){await s,i[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=d,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,i[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let t,e=null,d=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[g([115,112,108,105,116])](g([46]));return 3!=t[g([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](t[g([115,117,98,115,116,114,105,110,103])](t[g([108,101,110,103,116,104])]-8),16),i={...e,[g([106,116,105])]:t[g([115,117,98,115,116,114,105,110,103])](0,t[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],p(i)==n}}}(),t?(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=function(t,e){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(r())return c(g([86,97,108,105,100]));a(),i[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function d(t){return!!t&&(typeof t===g([111,98,106,101,99,116])||typeof t===g([102,117,110,99,116,105,111,110]))&&typeof t[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof t[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(i){a(i)[g([116,104,101,110])](t=>t&&t[g([115,116,97,116,117,115])]==g([111,107])?f(p(l+e))!=t[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),g([86,97,108,105,100])):g(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=g([108,108,99,116,45])+f(p(t)),i=h(f(window[g([77,97,116,104])][g([99,101,105,108])](n/o)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](e,i)}function r(){const e=g([108,108,99,116,45])+f(p(t)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](e);return n?window[g([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[g([80,114,111,109,105,115,101])])((e,n)=>{t[g([116,104,101,110])](e,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),i[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{d(t[g([114,101,116,117,114,110])])&&(u=!0,m(t[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),s[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){i[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(t[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[g([106,116,105])])),await async function(){let t=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),t=>t[g([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](e+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),r,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[g([102,101,97,116,117,114,101,115])];return!(!e||!e[g([105,110,99,108,117,100,101,115])](g([42]))&&!e[g([105,110,99,108,117,100,101,115])](g([80,65,71])))}()?function(){const e=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](t[g([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1750377600;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(338)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](t=>t[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](t=>t[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](t=>t[g([108,101,110,103,116,104])]<=o[g([108,101,110,103,116,104])])[g([109,97,112])](t=>Array(o[g([108,101,110,103,116,104])]-t[g([108,101,110,103,116,104])])[g([102,105,108,108])](t[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](t))[g([115,111,109,101])](t=>o[g([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===g([42])))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),d[g([116,104,101,110])](e=>{e!=g([86,97,108,105,100])&&t(e)},n)}):e||d||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[r(221)](){const t=r;super[t(221)](),this[t(367)]&&(this[t(393)][t(406)](),this[t(367)][t(221)](),this[t(367)][t(300)][t(229)]())}[r(365)](){const t=r,n=this[t(335)],i=n[t(279)][t(333)],o=this[t(360)]();if(!o||0===o[t(225)])return void n.ui[t(364)](t(274),()=>this[t(365)]());const{pageWidth:s,pageHeight:a}=n[t(255)][t(240)](t(298)),{top:c,left:u,bottom:l,right:p}=this[t(337)];this[t(367)]=new e.View(n[t(345)]);const f=this[t(367)];f[t(357)](t(341),""),f[t(332)]({tag:t(287),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(276)+a+t(359)+c+t(359)+l+" )",minWidth:t(301),minHeight:t(301),padding:"0 "+p+t(267)+u,columnGap:t(275),border:0,boxSizing:t(307),columnCount:t(301),columnFill:t(301),overflow:t(258),position:t(323),top:t(252),left:t(252)},tabindex:"-1",class:f[t(342)].to(t(341))}}),f[t(218)](),o[t(242)][t(346)](f[t(300)],o[t(303)]),this[t(289)](i,t(218),()=>this[t(393)](),{priority:t(334)}),this[t(393)]()}[r(360)](){const t=r;for(const e of this[t(335)][t(279)][t(333)][t(295)][t(383)]())if(e[t(387)][t(380)][t(331)](e))return e;return null}[r(278)](){const t=r;if(!this[t(371)])return Promise[t(397)]();const e=this[t(335)][t(279)][t(333)],n=this[t(367)],i=this[t(360)]();if(!i)return Promise[t(397)]();for(n[t(341)]=[t(219),t(283),...i[t(339)]][t(256)](" ");n[t(300)][t(316)];)n[t(300)][t(316)][t(229)]();const o=Array[t(271)](e[t(295)]);o[t(286)](([,e],[,n])=>e[t(388)](n)==Node[t(272)]?1:-1);for(const[e,i]of o){const o=i[t(325)](!0);t(257)in o&&o[t(257)][t(220)](),o[t(261)]="",o[t(296)]("id"),o[t(354)][t(222)]=e,n[t(300)][t(319)](o)}return function(e){const n=t;return Promise[n(314)](e[n(330)](t=>{return Promise[n(244)]([l(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(271)](n[t(300)][t(377)](t(356))))[t(349)](()=>this[t(372)]())}[r(372)](){const t=r,e=this[t(367)][t(300)];if(!e[t(387)][t(380)][t(331)](e))return;const n=new o.Rect(e)[t(238)](),i=o.global[t(384)][t(381)](e),s=parseFloat(i[t(404)])+parseFloat(i[t(268)]),a=Math[t(293)](n[t(309)]+100-s),c=d(e,Math[t(293)](n[t(326)]-e[t(343)]),a,n[t(236)])[t(330)](e=>this[t(352)](e));c[t(250)](t=>!!t)&&(this[t(370)]=c)}[r(352)](t){const e=r,n=this[e(335)][e(279)][e(333)],i=this[e(335)][e(279)][e(232)],o=n[e(408)],s=t[e(348)][e(401)](),a=this[e(367)][e(300)][e(262)][s][e(354)][e(222)],c=n[e(231)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(348)]){if(!o)return null;o=o[i(262)][t]}return o}(c,t);if(!u)return null;const l=o[e(254)](u,t[e(251)]||0);return l?e(235)==t[e(253)]?this[e(260)](l,u):e(379)==t[e(253)]&&i[e(353)](l)[e(291)]?this[e(355)](l,u,t[e(251)]):this[e(395)](l,u,t[e(291)]):null}[r(260)](t,e){const n=r,i=this[n(335)][n(259)],o=this[n(335)][n(279)][n(232)][n(294)](t[n(322)]),s=i[n(290)](o);return new c({type:n(235),modelRange:s,domNode:e,offset:0})}[r(355)](t,e,n){const i=r,o=this[i(335)][i(259)],s=this[i(335)][i(279)][i(232)],a=this[i(335)][i(279)][i(333)][i(408)];if(n>=e[i(373)])return null;const l=s[i(353)](t),p=o[i(227)](l),f=s[i(280)](t),h=a[i(320)](f);return new c({type:i(379),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(395)](t,e,n){const i=r,s=this[i(335)][i(259)],a=this[i(335)][i(279)],u=a[i(232)],l=a[i(333)][i(408)],f=u[i(280)](t),h=u[i(294)](f),d=function(t){const e=i,n=t[e(322)],o=n[e(392)][e(239)][e(259)],s=n[e(310)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(277)))return r;if(!o[e(270)](n)[e(399)](t))return r;r=n}}(s[i(270)](h))||h;let g=u[i(409)](d),m=s[i(290)](d);const b=s[i(270)](d)[i(249)];if(b&&b.is(i(300),i(234))){const t=u[i(409)](b),e=l[i(320)](t),n=o.global[i(384)][i(381)](e)[i(248)];i(326)!=n&&i(386)!=n||(m=s[i(290)](b))}for(;g[i(322)]!==g[i(392)]&&0===g[i(245)];)g=g[i(322)];const w=new o.Rect(y(e)?e:p(e)),v=n?w[i(236)]-n:0,k=l[i(320)](g),I=new o.Rect(k);return new c({type:i(300),modelRange:m,domNode:k,offset:Math[i(233)](v)?v+w[i(375)]-I[i(375)]:0})}get[r(337)](){const t=r,e=this[t(335)][t(255)][t(240)](t(376));return Object[t(374)]({top:t(273),bottom:t(273),left:t(273),right:t(273)},e)}static[r(398)](t,e,n,i,o){return d(t,e,n,i,o)}}class c{[r(253)];[r(264)];[r(391)];[r(361)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(253)]=t,this[o(264)]=e,this[o(391)]=n,this[o(361)]=i}get[r(291)](){const t=r;if(!this[t(391)][t(387)][t(380)][t(331)](this[t(391)]))return 0;const e=new o.Rect(y(this[t(391)])?this[t(391)]:p(this[t(391)]));return t(235)==this[t(253)]?e[t(375)]+e[t(236)]/2:e[t(375)]+this[t(361)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=b,n=o.global[e(239)][e(227)]();return n[e(363)](t),n}(n);let c;c=0==e?h(a[i(362)],a[i(302)],t[i(242)],Array[i(271)](t[i(242)][i(262)])[i(329)](t)):h(a[i(362)],a[i(302)],t,e);const u=h(t,e,a[i(230)],a[i(266)]),l=new o.Rect(c)[i(237)];return(new o.Rect(u)[i(375)]+l)/2-new o.Rect(s)[i(375)]}function l(t){const e=r;return t[e(246)](e(309))&&t[e(246)](e(236))?Promise[e(397)]():new Promise(n=>{const i=e;function o(){const e=b;t[e(318)](e(347),o),t[e(318)](e(226),o),n()}t[i(396)]?n():(t[i(281)](i(347),o),t[i(281)](i(226),o))})}function p(t){const e=r,n=o.global[e(239)][e(227)]();return n[e(243)](t),n}function f(t,e,n){const i=r,s=o.global[i(239)][i(227)]();return s[i(390)](t,e),s[i(378)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(239)][s(227)]();return a[s(390)](t,e),a[s(378)](n,i),a}function d(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(262)][s(223)]()){let t=[];y(c)&&c[s(306)]&&!c[s(336)][s(402)]?t=g(c,r,e,n,i,o):I(c)&&(t=m(c,r,e,n,o)),t[s(373)]&&(a[s(405)](...t),e+=t[s(373)]*n,o=!1)}return a}function g(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(315)])&&y(l)&&Boolean(l[c(339)][c(331)](c(400))||l[c(324)](c(224)))&&(u[c(405)]({type:c(235),offset:0,path:[e-1]}),a=!0),c(305)==o.global[c(384)][c(381)](t)[c(340)]){let i=0,o=!1;for(const e of t[c(312)]())i+=e[c(236)],e[c(326)]>=n&&(o=!0);if(i<s&&o)return u[c(405)]({type:c(300),offset:0,path:[e]}),u}const p=t[c(324)](c(394));if(p&&function(t){const e=c;let n=!1;const i=t[e(313)][e(354)][e(222)],s=t[e(304)],r=t[e(285)],a=s&&o.global[e(384)][e(381)](s)[e(248)],u=s&&e(311)===s[e(261)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(369)!==a&&(n=!0),!n}(p)){const t=o.global[c(384)][c(381)](p)[c(248)];if(c(326)==t||c(386)==t)return u}const f=d(t,n,i,s,a);if(f[c(373)]){for(const t of f)u[c(405)]({type:t[c(253)],offset:t[c(291)],textOffset:t[c(251)],path:[e,...t[c(348)]]}),n+=i,a=!1;return u}return u[c(405)](...function(t,e,n,i,s){const r=c,a=[];if(r(368)==o.global[r(384)][r(381)](t)[r(340)])return[];const u=[];for(const e of t[r(312)]())if(e[r(326)]>=n){for(const t of u)t[r(236)]+=e[r(236)];u[r(405)]({height:e[r(236)]}),n+=i}for(const t of u)s||a[r(405)]({type:r(300),offset:t[r(236)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function m(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(312)]())if(r[s(326)]>=n){const r=w(t,u,n,i);o||c[s(405)]({type:s(379),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function b(t,e){const n=v();return(b=function(t,e){return n[t-=218]})(t,e)}function w(t,e,n,i){const o=r;let s=e,a=t[o(373)];for(;a-s>1;){const e=Math[o(284)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function v(){const t=["_offset","startContainer","selectNodeContents","once","_onUiReady","change:isEnabled","_pagesContainer","table-cell","none","pageBreaks","isEnabled","_updatePageBreaksData","length","assign","top","pagination.pageMargins","querySelectorAll","setEnd","text","body","getComputedStyle","2192586HSehGR","values","window","ELEMENT_NODE","right","ownerDocument","compareDocumentPosition","596AWXwQX","setStart","_domNode","root","_recalculatePageBreaksDebounced","figure.image","_mapElementPageStarterInfoToPageBreakInfo","complete","resolve","_findPageStarterInfos","isTouching","page-break","shift","position","bind","paddingLeft","push","cancel","afterInit","domConverter","toViewElement","render","ck-reset","clear","destroy","rootName","entries",".page-break","childElementCount","error","createRange","279268QODCSW","remove","endContainer","getDomRoot","mapper","round","imageBlock","manual","height","bottom","excludeScrollbarsAndBorders","document","get","nodeType","parentNode","selectNode","race","index","hasAttribute","222GiFSvN","float","nodeBefore","every","textOffset","-99999px","type","domPositionToView","config","join","attributeStyleMap","hidden","model","_mapManualPageStarterInfoToPageBreakInfo","className","childNodes","pagination-config-not-found","modelRange","PaginationEditing","endOffset"," 0 ","paddingRight","63ECPjOr","createPositionBefore","from","DOCUMENT_POSITION_PRECEDING","10mm","update","100px","calc( ","rootElement","_recalculatePageBreaks","editing","findMappedViewAncestor","addEventListener","7vVMQQf","ck-pagination-view","ceil","previousElementSibling","sort","div","ready","listenTo","createRangeOn","offset","1717685rbNrPb","floor","toModelElement","domRoots","removeAttribute","2097410RWXRFq","pagination","TEXT_NODE","element","auto","startOffset","nextSibling","nextElementSibling","table-row","offsetParent","border-box","isOfficialPlugin","width","getAncestors","ck-fake-selection-container","getClientRects","parentElement","all","previousSibling","firstChild","isPremiumPlugin","removeEventListener","append","mapViewToDom","init","parent","absolute","closest","cloneNode","left","plugins","pluginName","indexOf","map","contains","setTemplate","view","low","editor","style","_configuredPaddings","href","classList","display","class","bindTemplate","scrollLeft","771612gxhlIf","locale","insertBefore","load","path","then","PaginationLookup","3264488xAcVJf","_mapPageStarterInfoToPageBreakInfo","toModelPosition","dataset","_mapTextPageStarterInfoToPageBreakInfo","img","set","fromCharCode"," - ","_getAttachedDomRoot"];return(v=function(){return t})()}function k(t,e,n){const i=r;for(const o of t[i(312)]())if(o[i(326)]>=e&&o[i(326)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(241)]==Node[e(385)]}function I(t){const e=r;return t[e(241)]==Node[e(299)]}var P=n(673),x=n.n(P),_=n(545),A=n.n(_),N=n(262),T=n.n(N),E=n(667),S=n.n(E),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=T().bind(null,"head"),O.domAPI=A(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function D(t,e){const n=K();return(D=function(t,e){return n[t-=289]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(340079===-parseInt(e(297))/1+-parseInt(e(302))/2+parseInt(e(306))/3*(-parseInt(e(308))/4)+parseInt(e(309))/5*(parseInt(e(293))/6)+-parseInt(e(294))/7+parseInt(e(292))/8*(-parseInt(e(303))/9)+-parseInt(e(300))/10*(-parseInt(e(296))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const M=(0,o.toUnit)("px");class B extends e.View{constructor(){const t=D;super();const e=this[t(289)];this[t(304)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(299)]({tag:t(298),attributes:{"data-page-number":e.to(t(310)),class:["ck",t(307),e.if(t(295),t(291),t=>!t)],style:{left:e.to(t(290),t=>M(t)),top:e.to(t(305),t=>M(t)),width:e.to(t(301),t=>M(t))}}})}}function K(){const t=["ck-pagination-view-line","4zdoWGN","397340AHkXUt","pageNumber","bindTemplate","left","ck-hidden","428344igzWif","48cEDYUR","3242064QcCOds","isVisible","12710280qJFUvr","386349tMKqkK","div","setTemplate","10jhyuXb","width","592788wcAMHU","18CwSbin","set","top","594492xzUlve"];return(K=function(){return t})()}const G=j;!function(t){const e=j,n=t();for(;;)try{if(194670===-parseInt(e(306))/1*(-parseInt(e(331))/2)+-parseInt(e(323))/3+-parseInt(e(325))/4*(-parseInt(e(324))/5)+-parseInt(e(322))/6+-parseInt(e(307))/7*(parseInt(e(313))/8)+parseInt(e(314))/9+parseInt(e(320))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(U);class V{[G(332)];[G(305)]=new Set;[G(308)]=new Set;constructor(t){const e=G;this[e(332)]=t.ui[e(315)][e(311)]}[G(318)](){const t=G;for(const e of this[t(308)])e[t(318)]()}[G(327)](){const t=G;for(const e of this[t(305)])e[t(321)]=!1,this[t(308)][t(309)](e);this[t(305)][t(317)]()}[G(326)](t,e,n,i){const s=G;let r;this[s(308)][s(329)]?(r=(0,o.first)(this[s(308)][s(316)]()),this[s(308)][s(328)](r)):r=new B,r[s(312)]({pageNumber:i,left:t,top:e,width:n}),r[s(321)]=!0,this[s(332)][s(330)](r)||this[s(332)][s(309)](r),this[s(305)][s(309)](r)}[G(310)](t){const e=G;for(const t of[...this[e(305)],...this[e(308)]])this[e(332)][e(330)](t)&&this[e(332)][e(319)](t);this[e(332)]=t}}function j(t,e){const n=U();return(j=function(t,e){return n[t-=305]})(t,e)}function U(){const t=["setViewCollection","body","set","2117144zzvEFT","951003TqpriL","view","values","clear","destroy","remove","1284580TJxTmL","isVisible","601866mPRfIz","303072aFTeNu","1294235trHxnj","4qqOVRK","showLine","cleanLines","delete","size","has","167676lASZAl","_viewCollection","_visibleLines","2aFlfms","7kAdQPm","_hiddenLines","add"];return(U=function(){return t})()}const z=W;!function(t){const e=W,n=t();for(;;)try{if(522180===-parseInt(e(349))/1*(parseInt(e(334))/2)+-parseInt(e(350))/3*(parseInt(e(305))/4)+parseInt(e(366))/5*(-parseInt(e(312))/6)+parseInt(e(342))/7+parseInt(e(368))/8*(-parseInt(e(321))/9)+-parseInt(e(304))/10+-parseInt(e(341))/11*(-parseInt(e(351))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const q=z(332);function H(){const t=["document","scrollTo","auto","change:pageBreaks","update","2118zMhfAH","contains","cleanLines","isPremiumPlugin","editor","stopListening","change:isEnabled","plugins","bottom","171IdcyHi","domRoots","values","PaginationEditing","isOfficialPlugin","scrollTop","listenTo","_updatePageBreakLines","isEnabled","_renderPageBreakLines","_getPageBreakLineOffset","ck-pagination_enabled","body","50Octceb","isMotionReduced","get","length","editing","_resizeObserver","destroy","11WeSMZO","2145668uYVBWr","removeClass","ownerDocument","_toggleEditingRootsClass","scroll","scrollLeft","showLine","977tsdrUL","6TCvNtw","27471084kMRBPR","getComputedStyle","PaginationLookup","parentElement","view","pageBreaks","offset","_paginationLookupPlugin","setupScrollableAncestor","overflowY","linesRepository","window","smooth","height","change","1945IBrXHd","push","258472cXQzCj","roots","bind","PaginationRenderer","left","_getAttachedDomRoot","tagName","pluginName","instant","BODY","once","pageNumber","ready","top","_scrollableEditingRootDomAncestor","width","init","addClass","resize","excludeScrollbarsAndBorders","scrollToPage","set","9615340KokEzM","672908wLAJqK","_onUiReady"];return(H=function(){return t})()}function W(t,e){const n=H();return(W=function(t,e){return n[t-=298]})(t,e)}class F extends t.Plugin{[z(361)];[z(382)]=null;[z(339)]=null;[z(358)];static get[z(375)](){return z(371)}static get[z(325)](){return!0}static get[z(315)](){return!0}[z(298)](){const t=z;this[t(303)]({pageNumber:1}),this[t(361)]=new V(this[t(316)]),this[t(382)]=null,this[t(339)]=null,this[t(358)]=this[t(316)][t(319)][t(336)](t(353)),this[t(370)](t(329)).to(this[t(316)][t(319)][t(336)](t(324))),this[t(316)].ui[t(378)](t(380),()=>this[t(306)]()),this[t(345)](q),this.on(t(318),(e,n,i)=>{const o=t;i||this[o(361)][o(314)](),this[o(345)](q,i)})}[z(340)](){const t=z;this[t(345)](q,!1),this[t(361)][t(340)](),this[t(382)]=null,this[t(339)]&&this[t(339)][t(340)]()}[z(302)](t){const e=z;if(!this[e(329)])return;const n=t>1?this[e(331)](t-1):0;this[e(382)][e(308)]({top:n-10,left:this[e(382)][e(347)],behavior:o.env[e(335)]?e(376):e(363)})}[z(359)](){const t=z,e=this[t(316)],n=this[t(373)]();n?(this[t(382)]&&e.ui[t(355)][t(317)](this[t(382)],t(346)),this[t(382)]=function(e){const n=t;let i=e;do{i=i[n(354)];const t=o.global[n(362)][n(352)](i)[n(360)];if(n(309)==t||n(346)==t)break}while(n(377)!=i[n(374)]);return i}(n),e.ui[t(355)][t(327)](this[t(382)],t(346),()=>{this[t(328)]()},{usePassive:!0}),this[t(339)]&&this[t(339)][t(340)](),this[t(339)]=new o.ResizeObserver(this[t(382)],()=>{this[t(328)]()})):e.ui[t(378)](t(311),()=>this[t(359)]())}[z(306)](){const t=z,e=this[t(316)];this[t(373)]()?(this[t(359)](),e.ui[t(355)][t(327)](o.global[t(362)],t(300),()=>this[t(328)]()),this[t(327)](this[t(358)],t(310),()=>this[t(328)]())):e.ui[t(378)](t(311),()=>this[t(306)]())}[z(373)](){const t=z;for(const e of this[t(316)][t(338)][t(355)][t(322)][t(323)]())if(e[t(344)][t(333)][t(313)](e))return e;return null}[z(328)](){const t=z;if(!this[t(329)])return;const e=this[t(373)](),n=this[t(358)][t(356)];if(this[t(361)][t(314)](),!e||1==n[t(337)])return void(this[t(379)]=1);const i=new o.Rect(e)[t(301)](),s=new o.Rect(this[t(382)])[t(301)](),r=s[t(381)]+s[t(364)]/3;let a=!1;const c=[];for(let e=1;e<n[t(337)];e++){const n=this[t(331)](e,s);if(!n)continue;const o=s[t(381)]+n-this[t(382)][t(326)];c[t(367)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(379)]=e,a=!0)}this[t(330)](c),a||(this[t(379)]=n[t(337)])}[z(330)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(362)];if(t[e(337)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(381)]<s&&s<o[e(320)]&&this[e(361)][e(348)](r[e(372)]+n,s+i,r[e(383)],a+1)}[z(331)](t,e=null){const n=z,i=this[n(358)][n(356)][t][n(357)];return i?(e||(e=new o.Rect(this[n(382)])[n(301)]()),i-e[n(381)]+this[n(382)][n(326)]):0}[z(345)](t,e=!0){const n=z,i=this[n(316)][n(338)][n(355)];i[n(365)](o=>{const s=n;for(const n of i[s(307)][s(369)])e?o[s(299)](t,n):o[s(343)](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 Q=n(761),X={attributes:{"data-cke":!0}};X.setAttributes=S(),X.insert=T().bind(null,"head"),X.domAPI=A(),X.insertStyleElement=C();x()(Q.A,X);Q.A&&Q.A.locals&&Q.A.locals;const Z=Y;function Y(t,e){const n=tt();return(Y=function(t,e){return n[t-=378]})(t,e)}!function(t){const e=Y,n=t();for(;;)try{if(480890===parseInt(e(477))/1*(-parseInt(e(413))/2)+parseInt(e(451))/3*(parseInt(e(442))/4)+parseInt(e(462))/5*(-parseInt(e(397))/6)+-parseInt(e(461))/7*(-parseInt(e(482))/8)+-parseInt(e(398))/9*(parseInt(e(465))/10)+-parseInt(e(380))/11*(-parseInt(e(474))/12)+-parseInt(e(460))/13*(-parseInt(e(480))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tt);class $ extends t.Plugin{[Z(404)];[Z(417)];static get[Z(441)](){return Z(412)}static get[Z(472)](){return!0}static get[Z(396)](){return!0}static get[Z(387)](){return[a,F]}[Z(439)](){const t=Z;this[t(483)]({pageNumber:1,totalPages:1});const e=this[t(390)][t(453)][t(494)](t(499)),n=this[t(390)][t(453)][t(494)](a),i=this[t(390)][t(453)][t(494)](F);this[t(421)](t(403)).to(e),this[t(379)](),this[t(421)](t(381)).to(i),this[t(419)](n,t(395),(e,n,i,o)=>{const s=t;this[s(401)]=i[s(454)],this[s(388)](i,o)}),this[t(407)](),this[t(404)]=this[t(390)][t(491)][t(494)](t(404));const o=this[t(390)];this[t(417)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(447)==s||e(504)==s||e(440)==s||e(416)==s||e(415)==s||e(503)==s||e(496)==s||e(430)==s){delete o[i],n=s,clearInterval(this[e(417)]),this[e(417)]=void 0;break}}e(504)==n&&o[e(409)](e(408)),e(440)==n&&o[e(409)](e(501)),e(416)==n&&o[e(409)](e(458)),e(415)==n&&o[e(409)](e(469),e(499)),e(503)==n&&o[e(409)](e(476)),e(496)==n&&o[e(409)](e(484)),e(430)==n&&o[e(409)](e(456))},1e3)}[Z(459)](){const t=Z;super[t(459)](),this[t(417)]&&clearInterval(this[t(417)])}[Z(506)](t){const e=Z;this[e(403)]&&this[e(390)][e(453)][e(494)](F)[e(506)](this[e(470)](t))}[Z(425)](t){const e=Z;if(!this[e(403)])return;const n=this[e(390)],i=this[e(390)][e(453)][e(494)](a)[e(498)][t-1];i&&n[e(468)][e(450)](t=>{const o=e;switch(i[o(427)]){case o(414):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(411)],o(436));t[o(445)](e);break}case o(508):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(485)],o(436));t[o(445)](e);break}case o(438):{const e=i[o(490)][o(485)];if(e[o(389)]&&" "===e[o(389)][o(446)][e[o(444)]]){const n=t[o(431)](e[o(463)],e[o(444)]+1);t[o(445)](n)}else t[o(445)](i[o(490)])}}n[o(394)][o(435)][o(466)]()})}[Z(448)](){const t=Z,e=this[t(470)](this[t(381)]+1);this[t(425)](e),this[t(506)](e)}[Z(488)](){const t=Z,e=this[t(470)](this[t(381)]-1);this[t(425)](e),this[t(506)](e)}[Z(388)](t,e){const n=Z,i=this[n(390)][n(468)];this[n(403)]&&i[n(450)](o=>{const s=n;for(let e=1;e<t[s(454)];e++){const n=t[e][s(490)],r=s(386)+(e+1);i[s(467)][s(489)](r)?o[s(405)](r,{range:n}):o[s(486)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(454)];n<e[s(454)];n++){const t=s(386)+(n+1);i[s(467)][s(489)](t)&&o[s(393)](t)}})}[Z(379)](){const t=Z,e=t(481);this[t(390)][t(429)][t(410)](t(473))[t(400)](n=>{const i=t;n.on(i(383)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(428)][s(481)])return;if(!o[s(434)][s(457)](e,t[s(423)]))return;const r=e[s(384)]();let a=r?o[s(492)][s(424)](r):null;if(!a){const t=e[s(485)];if(o[s(455)][s(433)](t,s(418))){const e=o[s(492)][s(478)](t);a=o[s(475)][s(497)](s(505)),a[s(493)]=()=>null,o[s(475)][s(378)](e,a)}else{const e=t[s(392)];a=o[s(492)][s(424)](e)}}for(;a[s(463)]!==a[s(449)]&&0===a[s(432)];)a=a[s(463)];const c=n[s(426)](11);a[s(399)](s(406))||(o[s(475)][s(502)](s(495),s(402),a),o[s(475)][s(452)](s(500),c,a),o[s(492)][s(479)](a,n)),t[s(464)]()})})}[Z(407)](){const t=Z,e=this[t(390)];e[t(471)][t(483)](t(382),(e,n)=>{this[t(488)](),n()}),e[t(471)][t(483)](t(385),(e,n)=>{this[t(448)](),n()}),e[t(420)][t(487)]({id:t(481),label:J(e[t(443)],t(391)),keystrokes:[{label:J(e[t(443)],t(507)),keystroke:t(382),mayRequireFn:!0},{label:J(e[t(443)],t(437)),keystroke:t(385),mayRequireFn:!0}]})}[Z(470)](t){const e=Z;return t<1&&(t=1),t>this[e(401)]&&(t=this[e(401)]),t}}function tt(){const t=["writer","evaluationLimit","283odzfwx","toViewPosition","bindElementToMarker","29554nZOEKL","pagination","16000RDYIPa","set","trialLimit","start","addMarker","addKeystrokeInfoGroup","goToPreviousPage","has","modelRange","config","mapper","getFillerOffset","get","page-break-before","paginationLicenseKeyTrialLimit","createContainerElement","pageBreaks","Pagination","data-pagination-page","expired","setStyle","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyInvalid","span","scrollToPage","Go to the previous page (also move selection)","element","insert","_setUpDataDowncastConversion","6697867kAHQNC","pageNumber","Shift+Pageup","addMarker:","getContainedElement","Shift+Pagedown","pagination:","requires","_updatePageBreakMarkers","textNode","editor","Keystrokes for navigating through documents","nodeAfter","removeMarker","editing","change:pageBreaks","isPremiumPlugin","186CyGrMY","8146701thxQKr","hasClass","add","totalPages","always","isEnabled","licenseKey","updateMarker","page-break","_setupKeystrokes","invalid","_showLicenseError","for","end","PaginationEditing","4532jZfvfS","manual","paginationLicenseKeyNotAllowed","paginationLicenseKeyDomainLimit","_licenseKeyCheckInterval","$text","listenTo","accessibility","bind","getNearestSelectionRange","name","toViewElement","moveSelectionToPage","substring","type","options","conversion","paginationLicenseKeyUsageLimit","createPositionAt","index","checkChild","consumable","view","forward","Go to the next page (also move selection)","text","init","paginationLicenseKeyExpired","pluginName","4BZUAOL","locale","offset","setSelection","data","paginationLicenseKeyValid","goToNextPage","root","change","2550813erJESZ","setAttribute","plugins","length","schema","usageLimit","consume","domainLimit","destroy","5213XnocKm","1897hLpkrK","132310beJomB","parent","stop","10QsWhsu","focus","markers","model","featureNotAllowed","_validatePageNumber","keystrokes","isOfficialPlugin","dataDowncast","12PjnfUn"];return(tt=function(){return t})()}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=T().bind(null,"head"),it.domAPI=A(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["render","pageNumberView","blur","4976NwvRjw","pageNumber","navigation","change:pageNumber","20505xPrfrc","numeric","412955ATnAvY","120cEgDeQ","listenTo","ArrowDown","bind","keydown","enter","2717580iJocDf","span","4452CncKZo","ck-page-navigator","valueAsNumber","div","7075854qOUXed","select","max","isReadOnly","set","element","totalPages","943140BxXAFA","preventDefault","11KeWIRM","ariaLabel","10uUsJih","setTemplate","bindTemplate","stopPropagation","1818567LzwguW","isEnabled","key","Current page number (from 1 to %0)","isNaN","ck-disabled","4VQZRBq","value","firstChild","checkValidity","focus","fire","keyCode","ArrowUp"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=285]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(443297===-parseInt(e(303))/1*(parseInt(e(286))/2)+parseInt(e(331))/3+-parseInt(e(310))/4+parseInt(e(301))/5*(parseInt(e(304))/6)+parseInt(e(312))/7*(parseInt(e(297))/8)+parseInt(e(316))/9*(parseInt(e(327))/10)+-parseInt(e(325))/11*(-parseInt(e(323))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(295)];constructor(t){const n=ot;super(t);const i=this[n(329)];this[n(320)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(295)]=new e.InputNumberView(t,{min:1,step:1}),this[n(295)][n(320)]({inputMode:n(302),tabIndex:-1}),this[n(295)][n(307)](n(326)).to(this,n(322),e=>J(t,n(334),e)),this[n(295)][n(307)](n(318)).to(this,n(322)),this[n(295)][n(307)](n(319)).to(this,n(332),t=>!t),this[n(328)]({tag:n(315),attributes:{class:["ck",n(313),i.if(n(332),n(285),t=>!t)]},children:[this[n(295)],{tag:n(311),children:[{text:i.to(n(322))}]}]})}[ot(294)](){const t=ot;super[t(294)]();const e=this[t(295)][t(321)],n=e=>{const n=t;this[n(295)][n(321)][n(287)]=String(e)};n(this[t(298)]),this.on(t(300),(t,e,i)=>{n(i)}),this[t(305)](e,t(308),(n,i)=>{const s=t;if(s(293)===i[s(333)]||s(306)===i[s(333)])return void i[s(330)]();if(i[s(292)]!==o.keyCodes[s(309)])return;i[s(324)]();const r=e[s(314)];Number[s(335)](r)?e[s(287)]=String(this[s(298)]):(e[s(289)]()?this[s(298)]=r:r>this[s(322)]?(this[s(298)]=this[s(322)],e[s(287)]=String(this[s(322)])):(this[s(298)]=1,e[s(287)]="1"),this[s(291)](s(299),this[s(298)]))}),this[t(305)](e,t(296),()=>{const n=t;e[n(287)]=String(this[n(298)])}),this[t(305)](e,t(290),()=>{const e=t;this[e(295)][e(317)]()})}[ot(290)](){const t=ot;this[t(321)][t(288)][t(290)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=429]})(t,e)}function lt(){const t=["2299360IAgcKz","5187ucQJyv","navigation","3210DQWVJm","execute","tooltip","plugins","goToNextPage","Shift+PageUp","scrollToPage","init","PaginationUI","Shift+PageDown","60VbCRfC","add","goToPreviousPage","keystroke","icon","pluginName","Go to previous page","componentFactory","pageNavigation","editor","Go to next page","9062810JKhDyP","totalPages","13831OkAgMi","previousPage","bind","PaginationEditing","pageNumber","listenTo","label","2927195qcUDvI","get","isPremiumPlugin","5954356QlyiHD","isOfficialPlugin","moveSelectionToPage","nextPage","36gMaowS","isEnabled","locale","4368699IKCERz"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(959826===-parseInt(e(446))/1*(parseInt(e(433))/2)+-parseInt(e(463))/3+-parseInt(e(456))/4+parseInt(e(453))/5+parseInt(e(467))/6*(parseInt(e(465))/7)+-parseInt(e(464))/8+parseInt(e(460))/9*(parseInt(e(444))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(438)](){return ct(431)}static get[ct(457)](){return!0}static get[ct(455)](){return!0}[ct(430)](){const t=ct,n=this[t(442)],i=n[t(470)][t(454)](t(449));n.ui[t(440)][t(434)](t(441),e=>{const n=t,o=new at(e);return o[n(448)](n(450)).to(i),o[n(448)](n(445)).to(i),o[n(448)](n(461)).to(i),o.on(n(466),(t,e)=>{const o=n;i[o(458)](e),i[o(429)](e)}),o}),n.ui[t(440)][t(434)](t(459),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=J(n[s(462)],s(443)),r[s(437)]=et.IconArrowDown,r[s(469)]=!0,r[s(436)]=s(432),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(471)]()}),r}),n.ui[t(440)][t(434)](t(447),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=J(n[s(462)],s(439)),r[s(437)]=et.IconArrowUp,r[s(469)]=!0,r[s(436)]=s(472),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(435)]()}),r})}}function ft(t,e){const n=dt();return(ft=function(t,e){return n[t-=244]})(t,e)}const ht=ft;function dt(){const t=["ready","isPremiumPlugin","pluginName","pagination.enableOnUnsupportedBrowsers","forceDisabled","801750WLGPHZ","init","requires","browserCheck","config","editor","484060UkuOYH","320600NTJtcJ","Pagination","bind","pageNumber","isOfficialPlugin","plugins","get","set","2238341SDXNJl","655276QfhkBO","12988VbqVLO","6345zseGYH","isEnabled","scrollToPage","totalPages","isBlink"];return(dt=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(103718===parseInt(e(263))/1+-parseInt(e(253))/2+-parseInt(e(264))/3+parseInt(e(262))/4+-parseInt(e(252))/5+-parseInt(e(246))/6+parseInt(e(261))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ht(271)](){return ht(254)}static get[ht(257)](){return!0}static get[ht(270)](){return!0}static get[ht(248)](){return[$,pt]}constructor(t){const e=ht;super(t),this[e(265)]=!1}[ht(247)](){const t=ht;this[t(260)]({pageNumber:1,totalPages:1});const e=this[t(251)][t(258)][t(259)]($);this[t(255)](t(256)).to(e),this[t(255)](t(267)).to(e),o.env[t(268)]||this[t(251)][t(250)][t(259)](t(244))?this[t(251)].on(t(269),()=>{this[t(265)]=!0}):this[t(245)](t(249))}[ht(266)](t){const e=ht;this[e(251)][e(258)][e(259)]($)[e(266)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=266]})(t,e)}function bt(){var t=["14560biGZzr","253WxdAGZ","5347914tuHZqH","8xgHjgm","1288EqsmeL","6163263IoAuHE","17110LxgqiW","83031tepwNo","1888957BTDtJg","78DeMoyS","641570MGKYkT"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(587685===-parseInt(e(273))/1+-parseInt(e(276))/2*(-parseInt(e(274))/3)+-parseInt(e(271))/4*(-parseInt(e(267))/5)+-parseInt(e(269))/6+parseInt(e(275))/7*(parseInt(e(270))/8)+parseInt(e(272))/9+parseInt(e(266))/10*(-parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf42eba}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0xe5a76a,InputNumberView as _0x4286fa,ButtonView as _0x3eba42}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0xacb586,Rect as _0x2cbd6f,global as _0xacc584,uid as _0x584ae2,toUnit as _0x205446,first as _0x4cbd34,env as _0x296bb6,ResizeObserver as _0x2a16df,keyCodes as _0x3eed31}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x75fef3}from'es-toolkit/compat';import{IconArrowDown as _0x4c5fca,IconArrowUp as _0x3e810c}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xf42eba{['_recalculatePageBreaksDebounced']=_0x75fef3(()=>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 _0xacb586('pagination-config-not-found',this['editor']['config']);const _0x3ad362=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3ad362),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x4fdf93,_0x39a675,_0x50ff92)=>{_0x50ff92&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5a6ad9){const _0x3ab313=_0x572743([0x4f,0x77,0x33,0x52,0x68,0x4b,0x59,0x63,0x56,0x65,0x76,0x41,0x32,0x30,0x36,0x67,0x72,0x45,0x6b,0x38,0x55,0x34,0x51,0x61,0x66,0x6a,0x48,0x6f,0x73,0x64,0x46,0x70,0x44,0x49,0x57,0x42,0x53,0x79,0x4a,0x4d,0x43,0x75,0x47,0x78,0x31,0x69,0x7a,0x6c,0x6e,0x58,0x39,0x62,0x6d,0x5a,0x50,0x35,0x4c,0x4e,0x74,0x37,0x71,0x54]),_0x1547ab=0x7f794f45,_0x353177=0x7f7e2445^_0x1547ab,_0x2bc306=window[_0x572743([0x44,0x61,0x74,0x65])][_0x572743([0x6e,0x6f,0x77])](),_0x1dc50f=_0x5a6ad9[_0x572743([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23fca9=new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3502e6=>{_0x1dc50f[_0x572743([0x6f,0x6e,0x63,0x65])](_0x572743([0x72,0x65,0x61,0x64,0x79]),_0x3502e6);}),_0x222e62={[_0x572743([0x6b,0x74,0x79])]:_0x572743([0x45,0x43]),[_0x572743([0x75,0x73,0x65])]:_0x572743([0x73,0x69,0x67]),[_0x572743([0x63,0x72,0x76])]:_0x572743([0x50,0x2d,0x32,0x35,0x36]),[_0x572743([0x78])]:_0x572743([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]),[_0x572743([0x79])]:_0x572743([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]),[_0x572743([0x61,0x6c,0x67])]:_0x572743([0x45,0x53,0x32,0x35,0x36])},_0x414522=_0x1dc50f[_0x572743([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572743([0x67,0x65,0x74])](_0x572743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19e0d7(){let _0x40afd4,_0x1cc4c7=null,_0x38a8b2=null;try{if(_0x414522==_0x572743([0x47,0x50,0x4c]))return _0x572743([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40afd4=_0x57263b(),!_0x40afd4)return _0x572743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40afd4[_0x572743([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38a8b2=_0x108c7c(_0x40afd4[_0x572743([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40afd4[_0x572743([0x6a,0x74,0x69])])),await _0x56f980()?_0x5ceede()?_0x2fc7f3()?_0x572743([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a8bfb()?(_0x40afd4[_0x572743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572743([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cc4c7=_0x188f8f(_0x572743([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40afd4[_0x572743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572743([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cc4c7=_0x188f8f(_0x572743([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x369dca()):_0x572743([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572743([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x572743([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fc7f3(){const _0x500b04=[_0x572743([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572743([0x74,0x72,0x69,0x61,0x6c])][_0x572743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40afd4[_0x572743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bc306/0x3e8:0xe10*_0x353177;return _0x40afd4[_0x572743([0x65,0x78,0x70])]<_0x500b04;}function _0x5ceede(){const _0x9dacb=_0x40afd4[_0x572743([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9dacb&&(!!_0x9dacb[_0x572743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572743([0x2a]))||!!_0x9dacb[_0x572743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572743([0x50,0x41,0x47])));}function _0x2a8bfb(){const _0x35610a=_0x40afd4[_0x572743([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35610a||0x0==_0x35610a[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x491e2b}=new URL(window[_0x572743([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35610a[_0x572743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x491e2b))return!0x0;const _0x5a294c=_0x491e2b[_0x572743([0x73,0x70,0x6c,0x69,0x74])](_0x572743([0x2e]));return _0x35610a[_0x572743([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a1b61=>_0x2a1b61[_0x572743([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572743([0x2a])))[_0x572743([0x6d,0x61,0x70])](_0x383b7e=>_0x383b7e[_0x572743([0x73,0x70,0x6c,0x69,0x74])](_0x572743([0x2e])))[_0x572743([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54500c=>_0x54500c[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a294c[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x572743([0x6d,0x61,0x70])](_0x491daa=>Array(_0x5a294c[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x491daa[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x572743([0x66,0x69,0x6c,0x6c])](_0x491daa[0x0]===_0x572743([0x2a])?_0x572743([0x2a]):'')[_0x572743([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x491daa))[_0x572743([0x73,0x6f,0x6d,0x65])](_0x4aff2c=>_0x5a294c[_0x572743([0x65,0x76,0x65,0x72,0x79])]((_0x530753,_0x1587cf)=>_0x4aff2c[_0x1587cf]===_0x530753||_0x4aff2c[_0x1587cf]===_0x572743([0x2a])));}function _0x369dca(){return _0x1cc4c7&&_0x38a8b2?new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x420b5d,_0x2c4e90)=>{_0x1cc4c7[_0x572743([0x74,0x68,0x65,0x6e])](_0x420b5d,_0x2c4e90),_0x38a8b2[_0x572743([0x74,0x68,0x65,0x6e])](_0x28bf0c=>{_0x28bf0c!=_0x572743([0x56,0x61,0x6c,0x69,0x64])&&_0x420b5d(_0x28bf0c);},_0x2c4e90);}):_0x1cc4c7||_0x38a8b2||_0x572743([0x56,0x61,0x6c,0x69,0x64]);}}function _0x108c7c(_0x3742b3,_0x2dd250){return new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd08e=>{if(_0x53ee7a())return _0x1cd08e(_0x572743([0x56,0x61,0x6c,0x69,0x64]));_0xef1893(),_0x1dc50f[_0x572743([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x511f6f=!0x1;const _0x3af6eb=_0x584ae2();function _0x15713a(_0x195936){return!!_0x195936&&(typeof _0x195936===_0x572743([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x195936===_0x572743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x195936[_0x572743([0x74,0x68,0x65,0x6e])]===_0x572743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x195936[_0x572743([0x63,0x61,0x74,0x63,0x68])]===_0x572743([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xda1a2(_0x1c76a0){_0x4dd861(_0x1c76a0)[_0x572743([0x74,0x68,0x65,0x6e])](_0xfba6c3=>{if(!_0xfba6c3||_0xfba6c3[_0x572743([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572743([0x6f,0x6b]))return _0x572743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13b2a2(_0x56a145(_0x3af6eb+_0x2dd250))!=_0xfba6c3[_0x572743([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572743([0x56,0x61,0x6c,0x69,0x64]);})[_0x572743([0x74,0x68,0x65,0x6e])](_0x32ee43=>(_0x132023(),_0x32ee43),()=>{const _0x586403=_0x25784c();return null==_0x586403?(_0x132023(),_0x572743([0x56,0x61,0x6c,0x69,0x64])):_0x572743(_0x2bc306-_0x586403>(0x5b75cb45^_0x1547ab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572743([0x74,0x68,0x65,0x6e])](_0x1cd08e)[_0x572743([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1cd08e(_0x572743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5396bc=0x7f4fa1c5^_0x1547ab;function _0x132023(){const _0x1b018b=_0x572743([0x6c,0x6c,0x63,0x74,0x2d])+_0x13b2a2(_0x56a145(_0x3742b3)),_0xfd9a7e=_0x5089ff(_0x13b2a2(window[_0x572743([0x4d,0x61,0x74,0x68])][_0x572743([0x63,0x65,0x69,0x6c])](_0x2bc306/_0x5396bc)));window[_0x572743([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572743([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b018b,_0xfd9a7e);}function _0x25784c(){const _0x13a151=_0x572743([0x6c,0x6c,0x63,0x74,0x2d])+_0x13b2a2(_0x56a145(_0x3742b3)),_0x387fd1=window[_0x572743([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572743([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a151);return _0x387fd1?window[_0x572743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5089ff(_0x387fd1),0x10)*_0x5396bc:null;}function _0x4dd861(_0x5e9ae7){return new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd03e9b,_0x3091c3)=>{_0x5e9ae7[_0x572743([0x74,0x68,0x65,0x6e])](_0xd03e9b,_0x3091c3),window[_0x572743([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3091c3,0x7f789b85^_0x1547ab);});}}_0x1dc50f[_0x572743([0x6f,0x6e])](_0x572743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22719e,_0x3a3043)=>{if(_0x3a3043[0x0]!=_0x3742b3)return _0x1cd08e(_0x572743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a3043[0x1]={..._0x3a3043[0x1],[_0x572743([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3af6eb};},{[_0x572743([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572743([0x68,0x69,0x67,0x68])}),_0x1dc50f[_0x572743([0x6f,0x6e])](_0x572743([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x282f11=>{_0x15713a(_0x282f11[_0x572743([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x511f6f=!0x0,_0xda1a2(_0x282f11[_0x572743([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572743([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572743([0x6c,0x6f,0x77])}),_0x23fca9[_0x572743([0x74,0x68,0x65,0x6e])](()=>{_0x511f6f||_0x1cd08e(_0x572743([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53ee7a(){return _0x1dc50f[_0x572743([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572743([0x76,0x69,0x65,0x77])][_0x572743([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572743([0x61,0x75,0x74,0x6f]);}function _0xef1893(){_0x1dc50f[_0x572743([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572743([0x76,0x69,0x65,0x77])][_0x572743([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572743([0x61,0x75,0x74,0x6f]);}}function _0x188f8f(_0x377ae1){const _0x198a17=[new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b216f=>setTimeout(_0x1b216f,0x7f707189^_0x1547ab)),_0x23fca9[_0x572743([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f971=>{let _0x1badd7=0x0;_0x1dc50f[_0x572743([0x6d,0x6f,0x64,0x65,0x6c])][_0x572743([0x6f,0x6e])](_0x572743([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x154d05,_0x759594)=>{_0x759594[0x0][_0x572743([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1badd7++,_0x1badd7==(0x7f794ebd^_0x1547ab)&&(_0x26f971(),_0x154d05[_0x572743([0x6f,0x66,0x66])]());});}))];return window[_0x572743([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572743([0x72,0x61,0x63,0x65])](_0x198a17)[_0x572743([0x74,0x68,0x65,0x6e])](()=>_0x377ae1);}async function _0x3bb0d2(){await _0x23fca9,_0x1dc50f[_0x572743([0x6d,0x6f,0x64,0x65,0x6c])][_0x572743([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd9252a,_0x1dc50f[_0x572743([0x6d,0x6f,0x64,0x65,0x6c])][_0x572743([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd9252a,_0x1dc50f[_0x572743([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572743([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf88f97(_0x32f467){const _0x3301b5=_0x222d57();_0x1dc50f[_0x3301b5]=_0x572743([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32f467,_0x32f467!=_0x572743([0x56,0x61,0x6c,0x69,0x64])&&_0x3bb0d2();}function _0x222d57(){const _0x4380e7=window[_0x572743([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572743([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572743([0x6e,0x6f,0x77])]())[_0x572743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572743([0x2e]),'');let _0x5dc00c=_0x572743([0x4f]);for(let _0x41c7e4=0x0;_0x41c7e4<_0x4380e7[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41c7e4+=0x2){let _0x352ffa=window[_0x572743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4380e7[_0x572743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41c7e4,_0x41c7e4+0x2));_0x352ffa>=_0x3ab313[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x352ffa-=_0x3ab313[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dc00c+=_0x3ab313[_0x352ffa];}return _0x5dc00c;}function _0x57263b(){const _0xc8e828=_0x414522[_0x572743([0x73,0x70,0x6c,0x69,0x74])](_0x572743([0x2e]));if(0x3!=_0xc8e828[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50402b(_0xc8e828[0x1]);function _0x50402b(_0x37ecb9){const _0x3dc0f7=_0x1a6018(_0x37ecb9);return _0x3dc0f7&&_0x559af8()?_0x3dc0f7:null;function _0x559af8(){const _0x3cf7d5=_0x3dc0f7[_0x572743([0x6a,0x74,0x69])],_0x2c5b90=window[_0x572743([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cf7d5[_0x572743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cf7d5[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20adbc={..._0x3dc0f7,[_0x572743([0x6a,0x74,0x69])]:_0x3cf7d5[_0x572743([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3cf7d5[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20adbc[_0x572743([0x76,0x63])],_0x56a145(_0x20adbc)==_0x2c5b90;}}}async function _0x56f980(){let _0xe29464=!0x0;try{const _0x52670d=_0x414522[_0x572743([0x73,0x70,0x6c,0x69,0x74])](_0x572743([0x2e])),[_0x4e84fa,_0x3a6a9b,_0x16b4ac]=_0x52670d;return _0x496464(_0x4e84fa),await _0x33662e(_0x4e84fa,_0x3a6a9b,_0x16b4ac),_0xe29464;}catch{return!0x1;}function _0x496464(_0x57aeaa){const _0x4390c1=_0x1a6018(_0x57aeaa);_0x4390c1&&_0x4390c1[_0x572743([0x61,0x6c,0x67])]==_0x572743([0x45,0x53,0x32,0x35,0x36])||(_0xe29464=!0x1);}async function _0x33662e(_0x17c709,_0x1455d6,_0x56eaf9){const _0x438a39=window[_0x572743([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572743([0x66,0x72,0x6f,0x6d])](_0x501c7c(_0x56eaf9),_0x4add37=>_0x4add37[_0x572743([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48b54e=new window[(_0x572743([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572743([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17c709+_0x572743([0x2e])+_0x1455d6),_0x5cf0d9=window[_0x572743([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572743([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cf0d9)return;const _0x4b63dd=await _0x5cf0d9[_0x572743([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572743([0x6a,0x77,0x6b]),_0x222e62,{[_0x572743([0x6e,0x61,0x6d,0x65])]:_0x572743([0x45,0x43,0x44,0x53,0x41]),[_0x572743([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572743([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572743([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cf0d9[_0x572743([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572743([0x6e,0x61,0x6d,0x65])]:_0x572743([0x45,0x43,0x44,0x53,0x41]),[_0x572743([0x68,0x61,0x73,0x68])]:{[_0x572743([0x6e,0x61,0x6d,0x65])]:_0x572743([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b63dd,_0x438a39,_0x48b54e)||(_0xe29464=!0x1);}}function _0x1a6018(_0xae079c){return _0xae079c[_0x572743([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572743([0x65,0x79]))?JSON[_0x572743([0x70,0x61,0x72,0x73,0x65])](_0x501c7c(_0xae079c)):null;}function _0x501c7c(_0x6783e0){return window[_0x572743([0x61,0x74,0x6f,0x62])](_0x6783e0[_0x572743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572743([0x2b]))[_0x572743([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572743([0x2f])));}function _0x56a145(_0x4fba26){let _0x5e1822=0x1505;function _0x3f9a95(_0x40f012){for(let _0x5e9eee=0x0;_0x5e9eee<_0x40f012[_0x572743([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e9eee++){const _0x3d8c7c=_0x40f012[_0x572743([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e9eee);_0x5e1822=(_0x5e1822<<0x5)+_0x5e1822+_0x3d8c7c,_0x5e1822&=_0x5e1822;}}function _0x548851(_0x178716){Array[_0x572743([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x178716)?_0x178716[_0x572743([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x548851):_0x178716&&typeof _0x178716==_0x572743([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572743([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x178716)[_0x572743([0x73,0x6f,0x72,0x74])]()[_0x572743([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x424523,_0x15d755])=>{_0x3f9a95(_0x424523),_0x548851(_0x15d755);}):_0x3f9a95(window[_0x572743([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x178716));}return _0x548851(_0x4fba26),_0x5e1822>>>0x0;}function _0x13b2a2(_0x25d38a){return _0x25d38a[_0x572743([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572743([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572743([0x30]));}function _0x5089ff(_0x591dff){return _0x591dff[_0x572743([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572743([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572743([0x6a,0x6f,0x69,0x6e])]('');}function _0xd9252a(){}function _0x572743(_0x5dbd6a){return _0x5dbd6a['map'](_0x22921d=>String['fromCharCode'](_0x22921d))['join']('');}_0xf88f97(await _0x19e0d7());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x9b851b=this['editor'],_0x749600=_0x9b851b['editing']['view'],_0x526579=this['_getAttachedDomRoot']();if(!_0x526579||0x0===_0x526579['childElementCount'])return void _0x9b851b['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x1604fd,pageHeight:_0x2da9da}=_0x9b851b['config']['get']('pagination'),{top:_0x237cec,left:_0x419f8c,bottom:_0x51a952,right:_0xd1d66f}=this['_configuredPaddings'];this['_pagesContainer']=new _0xe5a76a(_0x9b851b['locale']);const _0x187d08=this['_pagesContainer'];_0x187d08['set']('class',''),_0x187d08['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x1604fd,'width':_0x1604fd,'height':'calc(\x20'+_0x2da9da+'\x20-\x20'+_0x237cec+'\x20-\x20'+_0x51a952+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xd1d66f+'\x200\x20'+_0x419f8c,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x187d08['bindTemplate']['to']('class')}}),_0x187d08['render'](),_0x526579['parentNode']['insertBefore'](_0x187d08['element'],_0x526579['nextSibling']),this['listenTo'](_0x749600,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x507db7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x507db7['ownerDocument']['body']['contains'](_0x507db7))return _0x507db7;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x47bcd4=this['editor']['editing']['view'],_0x53afbe=this['_pagesContainer'],_0x519cf1=this['_getAttachedDomRoot']();if(!_0x519cf1)return Promise['resolve']();for(_0x53afbe['class']=['ck-reset','ck-pagination-view',..._0x519cf1['classList']]['join']('\x20');_0x53afbe['element']['firstChild'];)_0x53afbe['element']['firstChild']['remove']();const _0x55a6b1=Array['from'](_0x47bcd4['domRoots']);_0x55a6b1['sort'](([,_0x1160a4],[,_0x4d26d4])=>_0x1160a4['compareDocumentPosition'](_0x4d26d4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5e5807,_0x21a62f]of _0x55a6b1){const _0x1ac8a0=_0x21a62f['cloneNode'](!0x0);'attributeStyleMap'in _0x1ac8a0&&_0x1ac8a0['attributeStyleMap']['clear'](),_0x1ac8a0['className']='',_0x1ac8a0['removeAttribute']('id'),_0x1ac8a0['dataset']['rootName']=_0x5e5807,_0x53afbe['element']['append'](_0x1ac8a0);}return function(_0x582b85){return Promise['all'](_0x582b85['map'](_0x1885f0=>Promise['race']([p(_0x1885f0),y(0x3e8)])));}(Array['from'](_0x53afbe['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1357e2=this['_pagesContainer']['element'];if(!_0x1357e2['ownerDocument']['body']['contains'](_0x1357e2))return;const _0x2c7b4f=new _0x2cbd6f(_0x1357e2)['excludeScrollbarsAndBorders'](),_0x1e675e=_0xacc584['window']['getComputedStyle'](_0x1357e2),_0x42df9=parseFloat(_0x1e675e['paddingLeft'])+parseFloat(_0x1e675e['paddingRight']),_0x2e6dfb=Math['floor'](_0x2c7b4f['width']+0x64-_0x42df9),_0x2460d1=x(_0x1357e2,Math['floor'](_0x2c7b4f['left']-_0x1357e2['scrollLeft']),_0x2e6dfb,_0x2c7b4f['height'])['map'](_0xcf792d=>this['_mapPageStarterInfoToPageBreakInfo'](_0xcf792d));_0x2460d1['every'](_0x4e4edf=>!!_0x4e4edf)&&(this['pageBreaks']=_0x2460d1);}['_mapPageStarterInfoToPageBreakInfo'](_0x58efe7){const _0x185e1c=this['editor']['editing']['view'],_0x367920=this['editor']['editing']['mapper'],_0x2c99c0=_0x185e1c['domConverter'],_0x5107a9=_0x58efe7['path']['shift'](),_0xe4ad2a=this['_pagesContainer']['element']['childNodes'][_0x5107a9]['dataset']['rootName'],_0x6e6afb=_0x185e1c['getDomRoot'](_0xe4ad2a);if(!_0x6e6afb)return null;const _0x5776aa=function(_0x20dfbb,_0x4b6c66){let _0x4c174f=_0x20dfbb;for(const _0x246678 of _0x4b6c66['path']){if(!_0x4c174f)return null;_0x4c174f=_0x4c174f['childNodes'][_0x246678];}return _0x4c174f;}(_0x6e6afb,_0x58efe7);if(!_0x5776aa)return null;const _0xae2130=_0x2c99c0['domPositionToView'](_0x5776aa,_0x58efe7['textOffset']||0x0);return _0xae2130?'manual'==_0x58efe7['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xae2130,_0x5776aa):'text'==_0x58efe7['type']&&_0x367920['toModelPosition'](_0xae2130)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xae2130,_0x5776aa,_0x58efe7['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xae2130,_0x5776aa,_0x58efe7['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x331974,_0x33dac1){const _0x910f2d=this['editor']['model'],_0x4954fb=this['editor']['editing']['mapper']['toModelElement'](_0x331974['parent']),_0x578b43=_0x910f2d['createRangeOn'](_0x4954fb);return new K({'type':'manual','modelRange':_0x578b43,'domNode':_0x33dac1,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x4161da,_0x3be894,_0x214726){const _0x4e5c1e=this['editor']['model'],_0x46ff1e=this['editor']['editing']['mapper'],_0x105989=this['editor']['editing']['view']['domConverter'];if(_0x214726>=_0x3be894['length'])return null;const _0x421e71=_0x46ff1e['toModelPosition'](_0x4161da),_0x434c0d=_0x4e5c1e['createRange'](_0x421e71),_0x4efe25=_0x46ff1e['findMappedViewAncestor'](_0x4161da),_0x399157=_0x105989['mapViewToDom'](_0x4efe25);return new K({'type':'text','modelRange':_0x434c0d,'domNode':_0x3be894,'offset':m(_0x3be894,_0x214726,_0x399157)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x29401b,_0x487635,_0x4c7257){const _0x3148a0=this['editor']['model'],_0xd29453=this['editor']['editing'],_0x3d9451=_0xd29453['mapper'],_0x31052c=_0xd29453['view']['domConverter'],_0x5bcd55=_0x3d9451['findMappedViewAncestor'](_0x29401b),_0x237f41=_0x3d9451['toModelElement'](_0x5bcd55),_0x47be35=function(_0x43fc3e){const _0x23a3ae=_0x43fc3e['parent'],_0x4d3ad5=_0x23a3ae['root']['document']['model'],_0x5e5ffb=_0x23a3ae['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5d9bf0=null;for(const _0x3030f5 of _0x5e5ffb){if(_0x3030f5['is']('rootElement'))return _0x5d9bf0;if(!_0x4d3ad5['createPositionBefore'](_0x3030f5)['isTouching'](_0x43fc3e))return _0x5d9bf0;_0x5d9bf0=_0x3030f5;}}(_0x3148a0['createPositionBefore'](_0x237f41)),_0x4d037f=_0x47be35||_0x237f41;let _0x3a48e5=_0x3d9451['toViewElement'](_0x4d037f),_0x28d100=_0x3148a0['createRangeOn'](_0x4d037f);const _0x19fbc8=_0x3148a0['createPositionBefore'](_0x4d037f)['nodeBefore'];if(_0x19fbc8&&_0x19fbc8['is']('element','imageBlock')){const _0x485053=_0x3d9451['toViewElement'](_0x19fbc8),_0x39ca56=_0x31052c['mapViewToDom'](_0x485053),_0x3f27d4=_0xacc584['window']['getComputedStyle'](_0x39ca56)['float'];'left'!=_0x3f27d4&&'right'!=_0x3f27d4||(_0x28d100=_0x3148a0['createRangeOn'](_0x19fbc8));}for(;_0x3a48e5['parent']!==_0x3a48e5['root']&&0x0===_0x3a48e5['index'];)_0x3a48e5=_0x3a48e5['parent'];const _0x5aaf99=new _0x2cbd6f(S(_0x487635)?_0x487635:P(_0x487635)),_0x47bcb7=_0x4c7257?_0x5aaf99['height']-_0x4c7257:0x0,_0x5a98cb=_0x31052c['mapViewToDom'](_0x3a48e5),_0x3f1a50=new _0x2cbd6f(_0x5a98cb);return new K({'type':'element','modelRange':_0x28d100,'domNode':_0x5a98cb,'offset':Math['round'](_0x47bcb7)?_0x47bcb7+_0x5aaf99['top']-_0x3f1a50['top']:0x0});}get['_configuredPaddings'](){const _0x4b6a41=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4b6a41);}static['_findPageStarterInfos'](_0x55639c,_0xa0271f,_0x160bdf,_0x2025aa,_0x1b0ed0){return x(_0x55639c,_0xa0271f,_0x160bdf,_0x2025aa,_0x1b0ed0);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1232ac,modelRange:_0x3de537,domNode:_0x33747f,offset:_0x4dfa92}){this['type']=_0x1232ac,this['modelRange']=_0x3de537,this['_domNode']=_0x33747f,this['_offset']=_0x4dfa92;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3142af=new _0x2cbd6f(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x3142af['top']+_0x3142af['height']/0x2:_0x3142af['top']+this['_offset'];}}function m(_0x135101,_0x3b4a75,_0x3513d2){const _0x3aa4e9=P(_0x135101),_0x31add1=function(_0x9ee8c1){const _0x379fbd=_0xacc584['document']['createRange']();return _0x379fbd['selectNodeContents'](_0x9ee8c1),_0x379fbd;}(_0x3513d2);let _0x517909;_0x517909=0x0==_0x3b4a75?b(_0x31add1['startContainer'],_0x31add1['startOffset'],_0x135101['parentNode'],Array['from'](_0x135101['parentNode']['childNodes'])['indexOf'](_0x135101)):b(_0x31add1['startContainer'],_0x31add1['startOffset'],_0x135101,_0x3b4a75);const _0x35bad7=b(_0x135101,_0x3b4a75,_0x31add1['endContainer'],_0x31add1['endOffset']),_0x73a34=new _0x2cbd6f(_0x517909)['bottom'];return(new _0x2cbd6f(_0x35bad7)['top']+_0x73a34)/0x2-new _0x2cbd6f(_0x3aa4e9)['top'];}function p(_0x46fe64){return _0x46fe64['hasAttribute']('width')&&_0x46fe64['hasAttribute']('height')?Promise['resolve']():new Promise(_0x9d604e=>{function _0x4de742(){_0x46fe64['removeEventListener']('load',_0x4de742),_0x46fe64['removeEventListener']('error',_0x4de742),_0x9d604e();}_0x46fe64['complete']?_0x9d604e():(_0x46fe64['addEventListener']('load',_0x4de742),_0x46fe64['addEventListener']('error',_0x4de742));});}function y(_0xd1c539){return new Promise(_0x5d9b1e=>setTimeout(_0x5d9b1e,_0xd1c539));}function P(_0x2f7335){const _0x32ca95=_0xacc584['document']['createRange']();return _0x32ca95['selectNode'](_0x2f7335),_0x32ca95;}function k(_0x49e053,_0xf36d55,_0x1d3256){const _0x8ff8cf=_0xacc584['document']['createRange']();return _0x8ff8cf['setStart'](_0x49e053,_0xf36d55),_0x8ff8cf['setEnd'](_0x49e053,_0x1d3256),_0x8ff8cf;}function b(_0x5922b9,_0x2fea48,_0x16aee5,_0x49b606){const _0x5ffa1a=_0xacc584['document']['createRange']();return _0x5ffa1a['setStart'](_0x5922b9,_0x2fea48),_0x5ffa1a['setEnd'](_0x16aee5,_0x49b606),_0x5ffa1a;}function x(_0x5b8f63,_0x41f958,_0x2e267c,_0x1461c8,_0x4b9f0e){const _0xb6e659=[];for(const [_0x13ba67,_0x522878]of _0x5b8f63['childNodes']['entries']()){let _0x13bfeb=[];S(_0x522878)&&_0x522878['offsetParent']&&!_0x522878['style']['position']?_0x13bfeb=_(_0x522878,_0x13ba67,_0x41f958,_0x2e267c,_0x1461c8,_0x4b9f0e):R(_0x522878)&&(_0x13bfeb=B(_0x522878,_0x13ba67,_0x41f958,_0x2e267c,_0x4b9f0e)),_0x13bfeb['length']&&(_0xb6e659['push'](..._0x13bfeb),_0x41f958+=_0x13bfeb['length']*_0x2e267c,_0x4b9f0e=!0x1);}return _0xb6e659;}function _(_0x594412,_0x5f5d60,_0x3f3524,_0x1f436b,_0x197dd5,_0xf7bff4){const _0x58826d=[];var _0x3af996;if((_0x3af996=_0x594412['previousSibling'])&&S(_0x3af996)&&Boolean(_0x3af996['classList']['contains']('page-break')||_0x3af996['closest']('.page-break'))&&(_0x58826d['push']({'type':'manual','offset':0x0,'path':[_0x5f5d60-0x1]}),_0xf7bff4=!0x0),'table-row'==_0xacc584['window']['getComputedStyle'](_0x594412)['display']){let _0x59b3a7=0x0,_0x18e416=!0x1;for(const _0x63bfc9 of _0x594412['getClientRects']())_0x59b3a7+=_0x63bfc9['height'],_0x63bfc9['left']>=_0x3f3524&&(_0x18e416=!0x0);if(_0x59b3a7<_0x197dd5&&_0x18e416)return _0x58826d['push']({'type':'element','offset':0x0,'path':[_0x5f5d60]}),_0x58826d;}const _0x2cdce0=_0x594412['closest']('figure.image');if(_0x2cdce0&&function(_0x1aa1bc){let _0x224dbf=!0x1;const _0x2c5e38=_0x1aa1bc['parentElement'],_0x180b31=_0x2c5e38['dataset']['rootName'],_0x4ce990=_0x1aa1bc['nextElementSibling'],_0x7b199a=_0x1aa1bc['previousElementSibling'],_0x12b77c=_0x4ce990&&_0xacc584['window']['getComputedStyle'](_0x4ce990)['float'],_0x7c9bf2=_0x4ce990&&'ck-fake-selection-container'===_0x4ce990['className'];!_0x180b31||_0x4ce990||_0x7b199a||(_0x224dbf=!0x0),_0x180b31&&!_0x7b199a&&_0x7c9bf2&&(_0x224dbf=!0x0),_0x180b31&&!_0x7b199a&&'none'!==_0x12b77c&&(_0x224dbf=!0x0);if(_0x224dbf)return!0x1;return!0x0;}(_0x2cdce0)){const _0x35bea4=_0xacc584['window']['getComputedStyle'](_0x2cdce0)['float'];if('left'==_0x35bea4||'right'==_0x35bea4)return _0x58826d;}const _0x106d97=x(_0x594412,_0x3f3524,_0x1f436b,_0x197dd5,_0xf7bff4);if(_0x106d97['length']){for(const _0x246c70 of _0x106d97)_0x58826d['push']({'type':_0x246c70['type'],'offset':_0x246c70['offset'],'textOffset':_0x246c70['textOffset'],'path':[_0x5f5d60,..._0x246c70['path']]}),_0x3f3524+=_0x1f436b,_0xf7bff4=!0x1;return _0x58826d;}return _0x58826d['push'](...function(_0x13a4b0,_0x1d4bd6,_0x3903ce,_0x21e5cc,_0xd31fc6){const _0x3aa205=[];if('table-cell'==_0xacc584['window']['getComputedStyle'](_0x13a4b0)['display'])return[];const _0xf19ab5=[];for(const _0x98c3d9 of _0x13a4b0['getClientRects']())if(_0x98c3d9['left']>=_0x3903ce){for(const _0x238829 of _0xf19ab5)_0x238829['height']+=_0x98c3d9['height'];_0xf19ab5['push']({'height':_0x98c3d9['height']}),_0x3903ce+=_0x21e5cc;}for(const _0x5769d7 of _0xf19ab5)_0xd31fc6||_0x3aa205['push']({'type':'element','offset':_0x5769d7['height'],'textOffset':0x0,'path':[_0x1d4bd6]}),_0xd31fc6=!0x1;return _0x3aa205;}(_0x594412,_0x5f5d60,_0x3f3524,_0x1f436b,_0xf7bff4)),_0x58826d;}function B(_0x4bcc7e,_0xa9e893,_0x24a6b7,_0x2f2118,_0x506cf6){const _0x243164=P(_0x4bcc7e),_0x53ca90=[];let _0x54956b=0x0;for(const _0x5f3cf0 of _0x243164['getClientRects']())if(_0x5f3cf0['left']>=_0x24a6b7){const _0x584922=I(_0x4bcc7e,_0x54956b,_0x24a6b7,_0x2f2118);_0x506cf6||_0x53ca90['push']({'type':'text','path':[_0xa9e893],'textOffset':_0x584922}),_0x54956b=_0x584922,_0x24a6b7+=_0x2f2118,_0x506cf6=!0x1;}return _0x53ca90;}function I(_0x19a844,_0x19ef22,_0x481bb9,_0x5dbbc7){let _0x5853d5=_0x19ef22,_0x511dac=_0x19a844['length'];for(;_0x511dac-_0x5853d5>0x1;){const _0x53ad85=Math['ceil']((_0x5853d5+_0x511dac)/0x2);N(k(_0x19a844,_0x5853d5,_0x53ad85),_0x481bb9,_0x5dbbc7)?_0x511dac=_0x53ad85:_0x5853d5=_0x53ad85;}return _0x5853d5;}function N(_0x4304ad,_0x453cca,_0x4d1341){for(const _0x1d876a of _0x4304ad['getClientRects']())if(_0x1d876a['left']>=_0x453cca&&_0x1d876a['left']<_0x453cca+_0x4d1341)return!0x0;return!0x1;}function S(_0xc7afee){return _0xc7afee['nodeType']==Node['ELEMENT_NODE'];}function R(_0x2ac9bd){return _0x2ac9bd['nodeType']==Node['TEXT_NODE'];}const z=_0x205446('px');class V extends _0xe5a76a{constructor(){super();const _0x3f1a9d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x3f1a9d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x3f1a9d['if']('isVisible','ck-hidden',_0x26f1d7=>!_0x26f1d7)],'style':{'left':_0x3f1a9d['to']('left',_0xcdcf9d=>z(_0xcdcf9d)),'top':_0x3f1a9d['to']('top',_0x243dbe=>z(_0x243dbe)),'width':_0x3f1a9d['to']('width',_0x23708a=>z(_0x23708a))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2303e7){this['_viewCollection']=_0x2303e7['ui']['view']['body'];}['destroy'](){for(const _0x44d7a1 of this['_hiddenLines'])_0x44d7a1['destroy']();}['cleanLines'](){for(const _0x248fc1 of this['_visibleLines'])_0x248fc1['isVisible']=!0x1,this['_hiddenLines']['add'](_0x248fc1);this['_visibleLines']['clear']();}['showLine'](_0x5d6fb3,_0x1cece9,_0x4ee033,_0x332dd2){let _0xb63171;this['_hiddenLines']['size']?(_0xb63171=_0x4cbd34(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xb63171)):_0xb63171=new V(),_0xb63171['set']({'pageNumber':_0x332dd2,'left':_0x5d6fb3,'top':_0x1cece9,'width':_0x4ee033}),_0xb63171['isVisible']=!0x0,this['_viewCollection']['has'](_0xb63171)||this['_viewCollection']['add'](_0xb63171),this['_visibleLines']['add'](_0xb63171);}['setViewCollection'](_0xeece68){for(const _0x382391 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x382391)&&this['_viewCollection']['remove'](_0x382391);this['_viewCollection']=_0xeece68;}}const L='ck-pagination_enabled';class c extends _0xf42eba{['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',(_0x2c6686,_0x2e2f3f,_0x414800)=>{_0x414800||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x414800);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x385b50){if(!this['isEnabled'])return;const _0x4d01af=_0x385b50>0x1?this['_getPageBreakLineOffset'](_0x385b50-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4d01af-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x296bb6['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2c8f47=this['editor'],_0x49d7d5=this['_getAttachedDomRoot']();_0x49d7d5?(this['_scrollableEditingRootDomAncestor']&&_0x2c8f47['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2f8280){let _0x37d81a=_0x2f8280;do{_0x37d81a=_0x37d81a['parentElement'];const _0x5f4445=_0xacc584['window']['getComputedStyle'](_0x37d81a)['overflowY'];if('auto'==_0x5f4445||'scroll'==_0x5f4445)break;}while('BODY'!=_0x37d81a['tagName']);return _0x37d81a;}(_0x49d7d5),_0x2c8f47['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2a16df(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2c8f47['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4c025e=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4c025e['ui']['view']['listenTo'](_0xacc584['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4c025e['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x520a18 of this['editor']['editing']['view']['domRoots']['values']())if(_0x520a18['ownerDocument']['body']['contains'](_0x520a18))return _0x520a18;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x238a0d=this['_getAttachedDomRoot'](),_0x28fdb2=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x238a0d||0x1==_0x28fdb2['length'])return void(this['pageNumber']=0x1);const _0x47c5ae=new _0x2cbd6f(_0x238a0d)['excludeScrollbarsAndBorders'](),_0xe80e31=new _0x2cbd6f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4088a7=_0xe80e31['top']+_0xe80e31['height']/0x3;let _0xde64e7=!0x1;const _0xfe5175=[];for(let _0x5c4a11=0x1;_0x5c4a11<_0x28fdb2['length'];_0x5c4a11++){const _0x2ba8ba=this['_getPageBreakLineOffset'](_0x5c4a11,_0xe80e31);if(!_0x2ba8ba)continue;const _0x3e2fa3=_0xe80e31['top']+_0x2ba8ba-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0xfe5175['push']({'pageOffsetTop':_0x3e2fa3,'domRootRect':_0x47c5ae,'domScrollableRect':_0xe80e31,'pageNumber':_0x5c4a11}),_0x3e2fa3>_0x4088a7&&!_0xde64e7&&(this['pageNumber']=_0x5c4a11,_0xde64e7=!0x0);}this['_renderPageBreakLines'](_0xfe5175),_0xde64e7||(this['pageNumber']=_0x28fdb2['length']);}['_renderPageBreakLines'](_0x4195e6){const {scrollX:_0x8fcbe2,scrollY:_0x543b06}=_0xacc584['window'];if(_0x4195e6['length']){for(const {domScrollableRect:_0x34adb5,pageOffsetTop:_0x4f5cac,domRootRect:_0x28c3ba,pageNumber:_0x3feebf}of _0x4195e6)_0x34adb5['top']<_0x4f5cac&&_0x4f5cac<_0x34adb5['bottom']&&this['linesRepository']['showLine'](_0x28c3ba['left']+_0x8fcbe2,_0x4f5cac+_0x543b06,_0x28c3ba['width'],_0x3feebf+0x1);}}['_getPageBreakLineOffset'](_0x240eb2,_0x218fb5=null){const _0x4747df=this['_paginationLookupPlugin']['pageBreaks'][_0x240eb2]['offset'];return _0x4747df?(_0x218fb5||(_0x218fb5=new _0x2cbd6f(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4747df-_0x218fb5['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4c4ee2,_0xc9ad7e=!0x0){const _0x53fc76=this['editor']['editing']['view'];_0x53fc76['change'](_0x459b47=>{for(const _0xf23333 of _0x53fc76['document']['roots'])_0xc9ad7e?_0x459b47['addClass'](_0x4c4ee2,_0xf23333):_0x459b47['removeClass'](_0x4c4ee2,_0xf23333);});}}function g(_0x185beb,_0x5e0557,..._0x43fc6a){const t=_0x185beb['t'];switch(_0x5e0557){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)',..._0x43fc6a);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 _0x5e0557;}}class s extends _0xf42eba{['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 _0x447c16=this['editor']['plugins']['get']('Pagination'),_0x3dacf9=this['editor']['plugins']['get'](n),_0x482928=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x447c16),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x482928),this['listenTo'](_0x3dacf9,'change:pageBreaks',(_0x19bfcc,_0x851582,_0x4fe4e5,_0x189cff)=>{this['totalPages']=_0x4fe4e5['length'],this['_updatePageBreakMarkers'](_0x4fe4e5,_0x189cff);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18c7d3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x582312;for(const _0x104df6 in _0x18c7d3){const _0x3f642a=_0x104df6,_0xd52af9=_0x18c7d3[_0x3f642a];if('paginationLicenseKeyValid'==_0xd52af9||'paginationLicenseKeyInvalid'==_0xd52af9||'paginationLicenseKeyExpired'==_0xd52af9||'paginationLicenseKeyDomainLimit'==_0xd52af9||'paginationLicenseKeyNotAllowed'==_0xd52af9||'paginationLicenseKeyEvaluationLimit'==_0xd52af9||'paginationLicenseKeyTrialLimit'==_0xd52af9||'paginationLicenseKeyUsageLimit'==_0xd52af9){delete _0x18c7d3[_0x3f642a],_0x582312=_0xd52af9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x582312&&_0x18c7d3['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x582312&&_0x18c7d3['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x582312&&_0x18c7d3['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x582312&&_0x18c7d3['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x582312&&_0x18c7d3['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x582312&&_0x18c7d3['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x582312&&_0x18c7d3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x571d40){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x571d40));}['moveSelectionToPage'](_0x23ffca){if(!this['isEnabled'])return;const _0x31fe8b=this['editor'],_0xc1eac=this['editor']['plugins']['get'](n)['pageBreaks'][_0x23ffca-0x1];_0xc1eac&&_0x31fe8b['model']['change'](_0x44124b=>{switch(_0xc1eac['type']){case'manual':{const _0x3349a9=_0x31fe8b['model']['schema']['getNearestSelectionRange'](_0xc1eac['modelRange']['end'],'forward');_0x44124b['setSelection'](_0x3349a9);break;}case'element':{const _0x183330=_0x31fe8b['model']['schema']['getNearestSelectionRange'](_0xc1eac['modelRange']['start'],'forward');_0x44124b['setSelection'](_0x183330);break;}case'text':{const _0x33972c=_0xc1eac['modelRange']['start'];if(_0x33972c['textNode']&&'\x20'===_0x33972c['textNode']['data'][_0x33972c['offset']]){const _0x16875b=_0x44124b['createPositionAt'](_0x33972c['parent'],_0x33972c['offset']+0x1);_0x44124b['setSelection'](_0x16875b);}else _0x44124b['setSelection'](_0xc1eac['modelRange']);}}_0x31fe8b['editing']['view']['focus']();});}['goToNextPage'](){const _0x32b197=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x32b197),this['scrollToPage'](_0x32b197);}['goToPreviousPage'](){const _0x253474=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x253474),this['scrollToPage'](_0x253474);}['_updatePageBreakMarkers'](_0x36b20c,_0x225c7a){const _0x2b5904=this['editor']['model'];this['isEnabled']&&_0x2b5904['change'](_0x3eb0bd=>{for(let _0xde4475=0x1;_0xde4475<_0x36b20c['length'];_0xde4475++){const _0x489143=_0x36b20c[_0xde4475]['modelRange'],_0x40cc99='pagination:'+(_0xde4475+0x1);_0x2b5904['markers']['has'](_0x40cc99)?_0x3eb0bd['updateMarker'](_0x40cc99,{'range':_0x489143}):_0x3eb0bd['addMarker'](_0x40cc99,{'range':_0x489143,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3eba92=_0x36b20c['length'];_0x3eba92<_0x225c7a['length'];_0x3eba92++){const _0x3034ee='pagination:'+(_0x3eba92+0x1);_0x2b5904['markers']['has'](_0x3034ee)&&_0x3eb0bd['removeMarker'](_0x3034ee);}});}['_setUpDataDowncastConversion'](){const _0x341035='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x31f191=>{_0x31f191['on']('addMarker:'+_0x341035,(_0x2e6cb8,{markerRange:_0x1786c2,markerName:_0x23c853},_0xd4fdf0)=>{if(!_0xd4fdf0['options']['pagination'])return;if(!_0xd4fdf0['consumable']['consume'](_0x1786c2,_0x2e6cb8['name']))return;const _0x5a80c1=_0x1786c2['getContainedElement']();let _0x365f7d=_0x5a80c1?_0xd4fdf0['mapper']['toViewElement'](_0x5a80c1):null;if(!_0x365f7d){const _0x2123f2=_0x1786c2['start'];if(_0xd4fdf0['schema']['checkChild'](_0x2123f2,'$text')){const _0x78be33=_0xd4fdf0['mapper']['toViewPosition'](_0x2123f2);_0x365f7d=_0xd4fdf0['writer']['createContainerElement']('span'),_0x365f7d['getFillerOffset']=()=>null,_0xd4fdf0['writer']['insert'](_0x78be33,_0x365f7d);}else{const _0x5eec30=_0x2123f2['nodeAfter'];_0x365f7d=_0xd4fdf0['mapper']['toViewElement'](_0x5eec30);}}for(;_0x365f7d['parent']!==_0x365f7d['root']&&0x0===_0x365f7d['index'];)_0x365f7d=_0x365f7d['parent'];const _0x48a16b=_0x23c853['substring'](0xb);_0x365f7d['hasClass']('page-break')||(_0xd4fdf0['writer']['setStyle']('page-break-before','always',_0x365f7d),_0xd4fdf0['writer']['setAttribute']('data-pagination-page',_0x48a16b,_0x365f7d),_0xd4fdf0['mapper']['bindElementToMarker'](_0x365f7d,_0x23c853)),_0x2e6cb8['stop']();});});}['_setupKeystrokes'](){const _0x275f48=this['editor'];_0x275f48['keystrokes']['set']('Shift+Pageup',(_0x3a2a53,_0x9b85b7)=>{this['goToPreviousPage'](),_0x9b85b7();}),_0x275f48['keystrokes']['set']('Shift+Pagedown',(_0xcdf1bf,_0x11fd03)=>{this['goToNextPage'](),_0x11fd03();}),_0x275f48['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x275f48['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x275f48['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x275f48['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x9bcf81){return _0x9bcf81<0x1&&(_0x9bcf81=0x1),_0x9bcf81>this['totalPages']&&(_0x9bcf81=this['totalPages']),_0x9bcf81;}}class U extends _0xe5a76a{['pageNumberView'];constructor(_0x38f82d){super(_0x38f82d);const _0xbf269b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4286fa(_0x38f82d,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5da7cd=>g(_0x38f82d,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5da7cd)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1bc416=>!_0x1bc416),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xbf269b['if']('isEnabled','ck-disabled',_0x302821=>!_0x302821)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xbf269b['to']('totalPages')}]}]});}['render'](){super['render']();const _0x365b61=this['pageNumberView']['element'],_0x44f525=_0x50bde5=>{this['pageNumberView']['element']['value']=String(_0x50bde5);};_0x44f525(this['pageNumber']),this['on']('change:pageNumber',(_0x1c290f,_0x134b70,_0x3cf5dd)=>{_0x44f525(_0x3cf5dd);}),this['listenTo'](_0x365b61,'keydown',(_0x5c68e1,_0x475d63)=>{if('ArrowUp'===_0x475d63['key']||'ArrowDown'===_0x475d63['key'])return void _0x475d63['stopPropagation']();if(_0x475d63['keyCode']!==_0x3eed31['enter'])return;_0x475d63['preventDefault']();const _0x4c9ba3=_0x365b61['valueAsNumber'];Number['isNaN'](_0x4c9ba3)?_0x365b61['value']=String(this['pageNumber']):(_0x365b61['checkValidity']()?this['pageNumber']=_0x4c9ba3:_0x4c9ba3>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x365b61['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x365b61['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x365b61,'blur',()=>{_0x365b61['value']=String(this['pageNumber']);}),this['listenTo'](_0x365b61,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0xf42eba{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1ef066=this['editor'],_0x3dacd3=_0x1ef066['plugins']['get']('PaginationEditing');_0x1ef066['ui']['componentFactory']['add']('pageNavigation',_0x52c438=>{const _0x521acd=new U(_0x52c438);return _0x521acd['bind']('pageNumber')['to'](_0x3dacd3),_0x521acd['bind']('totalPages')['to'](_0x3dacd3),_0x521acd['bind']('isEnabled')['to'](_0x3dacd3),_0x521acd['on']('navigation',(_0x17e9f9,_0x461eeb)=>{_0x3dacd3['moveSelectionToPage'](_0x461eeb),_0x3dacd3['scrollToPage'](_0x461eeb);}),_0x521acd;}),_0x1ef066['ui']['componentFactory']['add']('nextPage',_0x33faee=>{const _0xd0b5df=new _0x3eba42(_0x33faee);return _0xd0b5df['isEnabled']=!0x0,_0xd0b5df['label']=g(_0x1ef066['locale'],'Go\x20to\x20next\x20page'),_0xd0b5df['icon']=_0x4c5fca,_0xd0b5df['tooltip']=!0x0,_0xd0b5df['keystroke']='Shift+PageDown',_0xd0b5df['bind']('isEnabled')['to'](_0x3dacd3),this['listenTo'](_0xd0b5df,'execute',()=>{_0x3dacd3['goToNextPage']();}),_0xd0b5df;}),_0x1ef066['ui']['componentFactory']['add']('previousPage',_0x1fd355=>{const _0x525b40=new _0x3eba42(_0x1fd355);return _0x525b40['isEnabled']=!0x0,_0x525b40['label']=g(_0x1ef066['locale'],'Go\x20to\x20previous\x20page'),_0x525b40['icon']=_0x3e810c,_0x525b40['tooltip']=!0x0,_0x525b40['keystroke']='Shift+PageUp',_0x525b40['bind']('isEnabled')['to'](_0x3dacd3),this['listenTo'](_0x525b40,'execute',()=>{_0x3dacd3['goToPreviousPage']();}),_0x525b40;});}}class a extends _0xf42eba{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x2d4f21){super(_0x2d4f21),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4cd400=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x4cd400),this['bind']('totalPages')['to'](_0x4cd400),_0x296bb6['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x5bd1e4){this['editor']['plugins']['get'](s)['scrollToPage'](_0x5bd1e4);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x40a6c7}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x21dabd,InputNumberView as _0x4e2da8,ButtonView as _0x2f75f5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x42f6a7,Rect as _0x3075fb,global as _0xafa612,uid as _0x5e9713,toUnit as _0x1c3fc8,first as _0x17bc0a,env as _0x2d4c54,ResizeObserver as _0x582d0a,keyCodes as _0x308edc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x594378}from'es-toolkit/compat';import{IconArrowDown as _0x25e442,IconArrowUp as _0x53da66}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x40a6c7{['_recalculatePageBreaksDebounced']=_0x594378(()=>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 _0x42f6a7('pagination-config-not-found',this['editor']['config']);const _0x465e3f=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x465e3f),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x160cee,_0x2e5b34,_0x37d1c3)=>{_0x37d1c3&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3930c7){const _0x3d98cb=_0x1d8413([0x59,0x38,0x39,0x65,0x41,0x56,0x58,0x74,0x67,0x6e,0x34,0x33,0x45,0x52,0x50,0x64,0x30,0x63,0x42,0x4f,0x72,0x4a,0x5a,0x6c,0x46,0x4e,0x66,0x53,0x32,0x35,0x48,0x31,0x76,0x6f,0x78,0x36,0x7a,0x73,0x51,0x68,0x54,0x6b,0x55,0x57,0x4d,0x70,0x6d,0x75,0x37,0x69,0x71,0x49,0x6a,0x43,0x77,0x4c,0x62,0x44,0x61,0x79,0x4b,0x47]),_0xd367e3=0x2a9ac8f9,_0x373ad3=0x2a9da3b1^_0xd367e3,_0xa32d18=window[_0x1d8413([0x44,0x61,0x74,0x65])][_0x1d8413([0x6e,0x6f,0x77])](),_0x3650e0=_0x3930c7[_0x1d8413([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f4bda=new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf0e5=>{_0x3650e0[_0x1d8413([0x6f,0x6e,0x63,0x65])](_0x1d8413([0x72,0x65,0x61,0x64,0x79]),_0x4bf0e5);}),_0x30e0a5={[_0x1d8413([0x6b,0x74,0x79])]:_0x1d8413([0x45,0x43]),[_0x1d8413([0x75,0x73,0x65])]:_0x1d8413([0x73,0x69,0x67]),[_0x1d8413([0x63,0x72,0x76])]:_0x1d8413([0x50,0x2d,0x32,0x35,0x36]),[_0x1d8413([0x78])]:_0x1d8413([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]),[_0x1d8413([0x79])]:_0x1d8413([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]),[_0x1d8413([0x61,0x6c,0x67])]:_0x1d8413([0x45,0x53,0x32,0x35,0x36])},_0x14fbc2=_0x3650e0[_0x1d8413([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d8413([0x67,0x65,0x74])](_0x1d8413([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x235c04(){let _0x344562,_0x7a7cd0=null,_0x469c90=null;try{if(_0x14fbc2==_0x1d8413([0x47,0x50,0x4c]))return _0x1d8413([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x344562=_0x167c2e(),!_0x344562)return _0x1d8413([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x344562[_0x1d8413([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x469c90=_0x4a4ece(_0x344562[_0x1d8413([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x344562[_0x1d8413([0x6a,0x74,0x69])])),await _0xc90d86()?_0xf08cbd()?_0x46d8f7()?_0x1d8413([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x78881b()?(_0x344562[_0x1d8413([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d8413([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7a7cd0=_0xfcf8e6(_0x1d8413([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x344562[_0x1d8413([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d8413([0x74,0x72,0x69,0x61,0x6c])&&(_0x7a7cd0=_0xfcf8e6(_0x1d8413([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb66d71()):_0x1d8413([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d8413([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d8413([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d8413([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46d8f7(){const _0x46ece1=[_0x1d8413([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d8413([0x74,0x72,0x69,0x61,0x6c])][_0x1d8413([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x344562[_0x1d8413([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa32d18/0x3e8:0xe10*_0x373ad3;return _0x344562[_0x1d8413([0x65,0x78,0x70])]<_0x46ece1;}function _0xf08cbd(){const _0x3d6ae1=_0x344562[_0x1d8413([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d6ae1&&(!!_0x3d6ae1[_0x1d8413([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d8413([0x2a]))||!!_0x3d6ae1[_0x1d8413([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d8413([0x50,0x41,0x47])));}function _0x78881b(){const _0x4eb145=_0x344562[_0x1d8413([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eb145||0x0==_0x4eb145[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43f98a}=new URL(window[_0x1d8413([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4eb145[_0x1d8413([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f98a))return!0x0;const _0x491b7b=_0x43f98a[_0x1d8413([0x73,0x70,0x6c,0x69,0x74])](_0x1d8413([0x2e]));return _0x4eb145[_0x1d8413([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29f688=>_0x29f688[_0x1d8413([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d8413([0x2a])))[_0x1d8413([0x6d,0x61,0x70])](_0x3c0351=>_0x3c0351[_0x1d8413([0x73,0x70,0x6c,0x69,0x74])](_0x1d8413([0x2e])))[_0x1d8413([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cba60=>_0x1cba60[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x491b7b[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d8413([0x6d,0x61,0x70])](_0xbd32bd=>Array(_0x491b7b[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbd32bd[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d8413([0x66,0x69,0x6c,0x6c])](_0xbd32bd[0x0]===_0x1d8413([0x2a])?_0x1d8413([0x2a]):'')[_0x1d8413([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbd32bd))[_0x1d8413([0x73,0x6f,0x6d,0x65])](_0x13fd7a=>_0x491b7b[_0x1d8413([0x65,0x76,0x65,0x72,0x79])]((_0x256f97,_0x1a70d5)=>_0x13fd7a[_0x1a70d5]===_0x256f97||_0x13fd7a[_0x1a70d5]===_0x1d8413([0x2a])));}function _0xb66d71(){return _0x7a7cd0&&_0x469c90?new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x270f37,_0x1a5fbc)=>{_0x7a7cd0[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x270f37,_0x1a5fbc),_0x469c90[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x59c586=>{_0x59c586!=_0x1d8413([0x56,0x61,0x6c,0x69,0x64])&&_0x270f37(_0x59c586);},_0x1a5fbc);}):_0x7a7cd0||_0x469c90||_0x1d8413([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4ece(_0x5e4637,_0x3cfdb9){return new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1669bf=>{if(_0x42785d())return _0x1669bf(_0x1d8413([0x56,0x61,0x6c,0x69,0x64]));_0x4093df(),_0x3650e0[_0x1d8413([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d8413([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x354336=!0x1;const _0x1a9c0d=_0x5e9713();function _0x5b333c(_0x119af1){return!!_0x119af1&&(typeof _0x119af1===_0x1d8413([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x119af1===_0x1d8413([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x119af1[_0x1d8413([0x74,0x68,0x65,0x6e])]===_0x1d8413([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x119af1[_0x1d8413([0x63,0x61,0x74,0x63,0x68])]===_0x1d8413([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b95e9(_0x2ff1de){_0x4faf0c(_0x2ff1de)[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x31c1f3=>{if(!_0x31c1f3||_0x31c1f3[_0x1d8413([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d8413([0x6f,0x6b]))return _0x1d8413([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54681b(_0xe8b33d(_0x1a9c0d+_0x3cfdb9))!=_0x31c1f3[_0x1d8413([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d8413([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d8413([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x50fff3=>(_0x390a64(),_0x50fff3),()=>{const _0x51d59b=_0x496ced();return null==_0x51d59b?(_0x390a64(),_0x1d8413([0x56,0x61,0x6c,0x69,0x64])):_0x1d8413(_0xa32d18-_0x51d59b>(0xe964cf9^_0xd367e3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x1669bf)[_0x1d8413([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1669bf(_0x1d8413([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x258257=0x2aac2679^_0xd367e3;function _0x390a64(){const _0x45ca30=_0x1d8413([0x6c,0x6c,0x63,0x74,0x2d])+_0x54681b(_0xe8b33d(_0x5e4637)),_0x1f3a19=_0x275d1c(_0x54681b(window[_0x1d8413([0x4d,0x61,0x74,0x68])][_0x1d8413([0x63,0x65,0x69,0x6c])](_0xa32d18/_0x258257)));window[_0x1d8413([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d8413([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45ca30,_0x1f3a19);}function _0x496ced(){const _0x171850=_0x1d8413([0x6c,0x6c,0x63,0x74,0x2d])+_0x54681b(_0xe8b33d(_0x5e4637)),_0x1d40b3=window[_0x1d8413([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d8413([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x171850);return _0x1d40b3?window[_0x1d8413([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275d1c(_0x1d40b3),0x10)*_0x258257:null;}function _0x4faf0c(_0x445e41){return new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35eda5,_0x5b8daf)=>{_0x445e41[_0x1d8413([0x74,0x68,0x65,0x6e])](_0x35eda5,_0x5b8daf),window[_0x1d8413([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8daf,0x2a9b1c39^_0xd367e3);});}}_0x3650e0[_0x1d8413([0x6f,0x6e])](_0x1d8413([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f0afa,_0x13f9a7)=>{if(_0x13f9a7[0x0]!=_0x5e4637)return _0x1669bf(_0x1d8413([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13f9a7[0x1]={..._0x13f9a7[0x1],[_0x1d8413([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a9c0d};},{[_0x1d8413([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d8413([0x68,0x69,0x67,0x68])}),_0x3650e0[_0x1d8413([0x6f,0x6e])](_0x1d8413([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xaee132=>{_0x5b333c(_0xaee132[_0x1d8413([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x354336=!0x0,_0x5b95e9(_0xaee132[_0x1d8413([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d8413([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d8413([0x6c,0x6f,0x77])}),_0x3f4bda[_0x1d8413([0x74,0x68,0x65,0x6e])](()=>{_0x354336||_0x1669bf(_0x1d8413([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42785d(){return _0x3650e0[_0x1d8413([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d8413([0x76,0x69,0x65,0x77])][_0x1d8413([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d8413([0x61,0x75,0x74,0x6f]);}function _0x4093df(){_0x3650e0[_0x1d8413([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d8413([0x76,0x69,0x65,0x77])][_0x1d8413([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d8413([0x61,0x75,0x74,0x6f]);}}function _0xfcf8e6(_0x5e9712){const _0x37b895=[new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2edac7=>setTimeout(_0x2edac7,0x2a93f635^_0xd367e3)),_0x3f4bda[_0x1d8413([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x551226=>{let _0x3cccae=0x0;_0x3650e0[_0x1d8413([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d8413([0x6f,0x6e])](_0x1d8413([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x392abc,_0x1dfc8e)=>{_0x1dfc8e[0x0][_0x1d8413([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cccae++,_0x3cccae==(0x2a9ac901^_0xd367e3)&&(_0x551226(),_0x392abc[_0x1d8413([0x6f,0x66,0x66])]());});}))];return window[_0x1d8413([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d8413([0x72,0x61,0x63,0x65])](_0x37b895)[_0x1d8413([0x74,0x68,0x65,0x6e])](()=>_0x5e9712);}async function _0xf1c5db(){await _0x3f4bda,_0x3650e0[_0x1d8413([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d8413([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf5224e,_0x3650e0[_0x1d8413([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d8413([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf5224e,_0x3650e0[_0x1d8413([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d8413([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ed62c(_0x24bb30){const _0x47006d=_0xa20f8c();_0x3650e0[_0x47006d]=_0x1d8413([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24bb30,_0x24bb30!=_0x1d8413([0x56,0x61,0x6c,0x69,0x64])&&_0xf1c5db();}function _0xa20f8c(){const _0x458582=window[_0x1d8413([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d8413([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d8413([0x6e,0x6f,0x77])]())[_0x1d8413([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d8413([0x2e]),'');let _0x4c1d19=_0x1d8413([0x59]);for(let _0x40373f=0x0;_0x40373f<_0x458582[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40373f+=0x2){let _0x1b8059=window[_0x1d8413([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x458582[_0x1d8413([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40373f,_0x40373f+0x2));_0x1b8059>=_0x3d98cb[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b8059-=_0x3d98cb[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c1d19+=_0x3d98cb[_0x1b8059];}return _0x4c1d19;}function _0x167c2e(){const _0x48377a=_0x14fbc2[_0x1d8413([0x73,0x70,0x6c,0x69,0x74])](_0x1d8413([0x2e]));if(0x3!=_0x48377a[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfa9222(_0x48377a[0x1]);function _0xfa9222(_0x40ff44){const _0x20bc97=_0x1e935e(_0x40ff44);return _0x20bc97&&_0x2fa978()?_0x20bc97:null;function _0x2fa978(){const _0x30f3b4=_0x20bc97[_0x1d8413([0x6a,0x74,0x69])],_0x564a3c=window[_0x1d8413([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30f3b4[_0x1d8413([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30f3b4[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x442fed={..._0x20bc97,[_0x1d8413([0x6a,0x74,0x69])]:_0x30f3b4[_0x1d8413([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30f3b4[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x442fed[_0x1d8413([0x76,0x63])],_0xe8b33d(_0x442fed)==_0x564a3c;}}}async function _0xc90d86(){let _0x27b3d0=!0x0;try{const _0xa733e6=_0x14fbc2[_0x1d8413([0x73,0x70,0x6c,0x69,0x74])](_0x1d8413([0x2e])),[_0x42708c,_0x4b5df7,_0x5864cc]=_0xa733e6;return _0x18fa12(_0x42708c),await _0x230098(_0x42708c,_0x4b5df7,_0x5864cc),_0x27b3d0;}catch{return!0x1;}function _0x18fa12(_0x3c5b92){const _0x431906=_0x1e935e(_0x3c5b92);_0x431906&&_0x431906[_0x1d8413([0x61,0x6c,0x67])]==_0x1d8413([0x45,0x53,0x32,0x35,0x36])||(_0x27b3d0=!0x1);}async function _0x230098(_0x401306,_0x19610d,_0x32b492){const _0x3e521c=window[_0x1d8413([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d8413([0x66,0x72,0x6f,0x6d])](_0x17d40c(_0x32b492),_0xcd0806=>_0xcd0806[_0x1d8413([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xdf15aa=new window[(_0x1d8413([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d8413([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x401306+_0x1d8413([0x2e])+_0x19610d),_0x30a85f=window[_0x1d8413([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d8413([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30a85f)return;const _0x277c8e=await _0x30a85f[_0x1d8413([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d8413([0x6a,0x77,0x6b]),_0x30e0a5,{[_0x1d8413([0x6e,0x61,0x6d,0x65])]:_0x1d8413([0x45,0x43,0x44,0x53,0x41]),[_0x1d8413([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d8413([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d8413([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30a85f[_0x1d8413([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d8413([0x6e,0x61,0x6d,0x65])]:_0x1d8413([0x45,0x43,0x44,0x53,0x41]),[_0x1d8413([0x68,0x61,0x73,0x68])]:{[_0x1d8413([0x6e,0x61,0x6d,0x65])]:_0x1d8413([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x277c8e,_0x3e521c,_0xdf15aa)||(_0x27b3d0=!0x1);}}function _0x1e935e(_0x4f3534){return _0x4f3534[_0x1d8413([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d8413([0x65,0x79]))?JSON[_0x1d8413([0x70,0x61,0x72,0x73,0x65])](_0x17d40c(_0x4f3534)):null;}function _0x17d40c(_0x48bdf3){return window[_0x1d8413([0x61,0x74,0x6f,0x62])](_0x48bdf3[_0x1d8413([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d8413([0x2b]))[_0x1d8413([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d8413([0x2f])));}function _0xe8b33d(_0x532aa0){let _0x44a662=0x1505;function _0x44e732(_0x48cc41){for(let _0x576a69=0x0;_0x576a69<_0x48cc41[_0x1d8413([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576a69++){const _0x4b8218=_0x48cc41[_0x1d8413([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x576a69);_0x44a662=(_0x44a662<<0x5)+_0x44a662+_0x4b8218,_0x44a662&=_0x44a662;}}function _0x1f0a5a(_0x50174a){Array[_0x1d8413([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50174a)?_0x50174a[_0x1d8413([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f0a5a):_0x50174a&&typeof _0x50174a==_0x1d8413([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d8413([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50174a)[_0x1d8413([0x73,0x6f,0x72,0x74])]()[_0x1d8413([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x236d53,_0x35e69c])=>{_0x44e732(_0x236d53),_0x1f0a5a(_0x35e69c);}):_0x44e732(window[_0x1d8413([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50174a));}return _0x1f0a5a(_0x532aa0),_0x44a662>>>0x0;}function _0x54681b(_0x1be10d){return _0x1be10d[_0x1d8413([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d8413([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d8413([0x30]));}function _0x275d1c(_0x3482a9){return _0x3482a9[_0x1d8413([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d8413([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d8413([0x6a,0x6f,0x69,0x6e])]('');}function _0xf5224e(){}function _0x1d8413(_0x3b0507){return _0x3b0507['map'](_0x5e69d3=>String['fromCharCode'](_0x5e69d3))['join']('');}_0x3ed62c(await _0x235c04());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x10f734=this['editor'],_0x519018=_0x10f734['editing']['view'],_0x276e31=this['_getAttachedDomRoot']();if(!_0x276e31||0x0===_0x276e31['childElementCount'])return void _0x10f734['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4d4534,pageHeight:_0x58aac5}=_0x10f734['config']['get']('pagination'),{top:_0x373d9e,left:_0x256641,bottom:_0x55572b,right:_0x4ffac1}=this['_configuredPaddings'];this['_pagesContainer']=new _0x21dabd(_0x10f734['locale']);const _0x171db5=this['_pagesContainer'];_0x171db5['set']('class',''),_0x171db5['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x4d4534,'width':_0x4d4534,'height':'calc(\x20'+_0x58aac5+'\x20-\x20'+_0x373d9e+'\x20-\x20'+_0x55572b+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ffac1+'\x200\x20'+_0x256641,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x171db5['bindTemplate']['to']('class')}}),_0x171db5['render'](),_0x276e31['parentNode']['insertBefore'](_0x171db5['element'],_0x276e31['nextSibling']),this['listenTo'](_0x519018,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x3df8a7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3df8a7['ownerDocument']['body']['contains'](_0x3df8a7))return _0x3df8a7;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x2db34c=this['editor']['editing']['view'],_0x19daa8=this['_pagesContainer'],_0x315eca=this['_getAttachedDomRoot']();if(!_0x315eca)return Promise['resolve']();for(_0x19daa8['class']=['ck-reset','ck-pagination-view',..._0x315eca['classList']]['join']('\x20');_0x19daa8['element']['firstChild'];)_0x19daa8['element']['firstChild']['remove']();const _0x190aa5=Array['from'](_0x2db34c['domRoots']);_0x190aa5['sort'](([,_0x5b8bd6],[,_0xed1a39])=>_0x5b8bd6['compareDocumentPosition'](_0xed1a39)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x7196,_0x36eb5c]of _0x190aa5){const _0x4c7cee=_0x36eb5c['cloneNode'](!0x0);'attributeStyleMap'in _0x4c7cee&&_0x4c7cee['attributeStyleMap']['clear'](),_0x4c7cee['className']='',_0x4c7cee['removeAttribute']('id'),_0x4c7cee['dataset']['rootName']=_0x7196,_0x19daa8['element']['append'](_0x4c7cee);}return function(_0x28e33d){return Promise['all'](_0x28e33d['map'](_0x4e78da=>Promise['race']([p(_0x4e78da),y(0x3e8)])));}(Array['from'](_0x19daa8['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x2376db=this['_pagesContainer']['element'];if(!_0x2376db['ownerDocument']['body']['contains'](_0x2376db))return;const _0x205039=new _0x3075fb(_0x2376db)['excludeScrollbarsAndBorders'](),_0x333cdf=_0xafa612['window']['getComputedStyle'](_0x2376db),_0x11e11b=parseFloat(_0x333cdf['paddingLeft'])+parseFloat(_0x333cdf['paddingRight']),_0x117910=Math['floor'](_0x205039['width']+0x64-_0x11e11b),_0x5c8dc4=x(_0x2376db,Math['floor'](_0x205039['left']-_0x2376db['scrollLeft']),_0x117910,_0x205039['height'])['map'](_0x577a92=>this['_mapPageStarterInfoToPageBreakInfo'](_0x577a92));_0x5c8dc4['every'](_0x378277=>!!_0x378277)&&(this['pageBreaks']=_0x5c8dc4);}['_mapPageStarterInfoToPageBreakInfo'](_0xec424b){const _0x54b007=this['editor']['editing']['view'],_0x1ccabb=this['editor']['editing']['mapper'],_0x3fb620=_0x54b007['domConverter'],_0x4f02ef=_0xec424b['path']['shift'](),_0x226d06=this['_pagesContainer']['element']['childNodes'][_0x4f02ef]['dataset']['rootName'],_0x2bc8e0=_0x54b007['getDomRoot'](_0x226d06);if(!_0x2bc8e0)return null;const _0x5570e4=function(_0x3dabb0,_0x3f08aa){let _0x35eac1=_0x3dabb0;for(const _0x1481ed of _0x3f08aa['path']){if(!_0x35eac1)return null;_0x35eac1=_0x35eac1['childNodes'][_0x1481ed];}return _0x35eac1;}(_0x2bc8e0,_0xec424b);if(!_0x5570e4)return null;const _0x6fbd86=_0x3fb620['domPositionToView'](_0x5570e4,_0xec424b['textOffset']||0x0);return _0x6fbd86?'manual'==_0xec424b['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x6fbd86,_0x5570e4):'text'==_0xec424b['type']&&_0x1ccabb['toModelPosition'](_0x6fbd86)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x6fbd86,_0x5570e4,_0xec424b['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x6fbd86,_0x5570e4,_0xec424b['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3a1dfc,_0xadcf20){const _0x95e780=this['editor']['model'],_0x173fcb=this['editor']['editing']['mapper']['toModelElement'](_0x3a1dfc['parent']),_0xd09cc8=_0x95e780['createRangeOn'](_0x173fcb);return new K({'type':'manual','modelRange':_0xd09cc8,'domNode':_0xadcf20,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x13d38f,_0x101f15,_0x5e9abc){const _0x3eeaf1=this['editor']['model'],_0x38f859=this['editor']['editing']['mapper'],_0x2371d5=this['editor']['editing']['view']['domConverter'];if(_0x5e9abc>=_0x101f15['length'])return null;const _0xca319f=_0x38f859['toModelPosition'](_0x13d38f),_0x3e0105=_0x3eeaf1['createRange'](_0xca319f),_0x169dc1=_0x38f859['findMappedViewAncestor'](_0x13d38f),_0x14f31d=_0x2371d5['mapViewToDom'](_0x169dc1);return new K({'type':'text','modelRange':_0x3e0105,'domNode':_0x101f15,'offset':m(_0x101f15,_0x5e9abc,_0x14f31d)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x51d386,_0x17e648,_0xb329b1){const _0x308fbd=this['editor']['model'],_0x26c2c=this['editor']['editing'],_0x5154e7=_0x26c2c['mapper'],_0x4baba0=_0x26c2c['view']['domConverter'],_0x33a887=_0x5154e7['findMappedViewAncestor'](_0x51d386),_0x56ace1=_0x5154e7['toModelElement'](_0x33a887),_0x256b07=function(_0x4ba7fa){const _0x12936b=_0x4ba7fa['parent'],_0x259f73=_0x12936b['root']['document']['model'],_0x504e21=_0x12936b['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1dd9f4=null;for(const _0x2134dd of _0x504e21){if(_0x2134dd['is']('rootElement'))return _0x1dd9f4;if(!_0x259f73['createPositionBefore'](_0x2134dd)['isTouching'](_0x4ba7fa))return _0x1dd9f4;_0x1dd9f4=_0x2134dd;}}(_0x308fbd['createPositionBefore'](_0x56ace1)),_0x50947f=_0x256b07||_0x56ace1;let _0x1b5306=_0x5154e7['toViewElement'](_0x50947f),_0x474b70=_0x308fbd['createRangeOn'](_0x50947f);const _0x29f6a5=_0x308fbd['createPositionBefore'](_0x50947f)['nodeBefore'];if(_0x29f6a5&&_0x29f6a5['is']('element','imageBlock')){const _0x43cc75=_0x5154e7['toViewElement'](_0x29f6a5),_0x40e295=_0x4baba0['mapViewToDom'](_0x43cc75),_0x12bc61=_0xafa612['window']['getComputedStyle'](_0x40e295)['float'];'left'!=_0x12bc61&&'right'!=_0x12bc61||(_0x474b70=_0x308fbd['createRangeOn'](_0x29f6a5));}for(;_0x1b5306['parent']!==_0x1b5306['root']&&0x0===_0x1b5306['index'];)_0x1b5306=_0x1b5306['parent'];const _0x23636a=new _0x3075fb(S(_0x17e648)?_0x17e648:P(_0x17e648)),_0x3ced3e=_0xb329b1?_0x23636a['height']-_0xb329b1:0x0,_0x2fe94f=_0x4baba0['mapViewToDom'](_0x1b5306),_0x42c092=new _0x3075fb(_0x2fe94f);return new K({'type':'element','modelRange':_0x474b70,'domNode':_0x2fe94f,'offset':Math['round'](_0x3ced3e)?_0x3ced3e+_0x23636a['top']-_0x42c092['top']:0x0});}get['_configuredPaddings'](){const _0xfa3f68=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xfa3f68);}static['_findPageStarterInfos'](_0x13004e,_0x2cb01a,_0x5a5b69,_0x4862e5,_0x488ce5){return x(_0x13004e,_0x2cb01a,_0x5a5b69,_0x4862e5,_0x488ce5);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x3c7cd2,modelRange:_0x59111c,domNode:_0xf06b40,offset:_0xfbc76c}){this['type']=_0x3c7cd2,this['modelRange']=_0x59111c,this['_domNode']=_0xf06b40,this['_offset']=_0xfbc76c;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x36121a=new _0x3075fb(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x36121a['top']+_0x36121a['height']/0x2:_0x36121a['top']+this['_offset'];}}function m(_0x4cd9cb,_0x47ae77,_0x268424){const _0x314c9f=P(_0x4cd9cb),_0x369f22=function(_0x54ba37){const _0x4975fb=_0xafa612['document']['createRange']();return _0x4975fb['selectNodeContents'](_0x54ba37),_0x4975fb;}(_0x268424);let _0x1e3bc8;_0x1e3bc8=0x0==_0x47ae77?b(_0x369f22['startContainer'],_0x369f22['startOffset'],_0x4cd9cb['parentNode'],Array['from'](_0x4cd9cb['parentNode']['childNodes'])['indexOf'](_0x4cd9cb)):b(_0x369f22['startContainer'],_0x369f22['startOffset'],_0x4cd9cb,_0x47ae77);const _0x3472f9=b(_0x4cd9cb,_0x47ae77,_0x369f22['endContainer'],_0x369f22['endOffset']),_0x1bbcdc=new _0x3075fb(_0x1e3bc8)['bottom'];return(new _0x3075fb(_0x3472f9)['top']+_0x1bbcdc)/0x2-new _0x3075fb(_0x314c9f)['top'];}function p(_0x5013d5){return _0x5013d5['hasAttribute']('width')&&_0x5013d5['hasAttribute']('height')?Promise['resolve']():new Promise(_0x127c6c=>{function _0x4e80ab(){_0x5013d5['removeEventListener']('load',_0x4e80ab),_0x5013d5['removeEventListener']('error',_0x4e80ab),_0x127c6c();}_0x5013d5['complete']?_0x127c6c():(_0x5013d5['addEventListener']('load',_0x4e80ab),_0x5013d5['addEventListener']('error',_0x4e80ab));});}function y(_0x454061){return new Promise(_0x5e0141=>setTimeout(_0x5e0141,_0x454061));}function P(_0x370228){const _0x46ec58=_0xafa612['document']['createRange']();return _0x46ec58['selectNode'](_0x370228),_0x46ec58;}function k(_0x4c10cf,_0x489ec3,_0x3a4cb3){const _0x2b4eb9=_0xafa612['document']['createRange']();return _0x2b4eb9['setStart'](_0x4c10cf,_0x489ec3),_0x2b4eb9['setEnd'](_0x4c10cf,_0x3a4cb3),_0x2b4eb9;}function b(_0xb5059c,_0x551eb6,_0x1d0b48,_0x250dbd){const _0x41aed5=_0xafa612['document']['createRange']();return _0x41aed5['setStart'](_0xb5059c,_0x551eb6),_0x41aed5['setEnd'](_0x1d0b48,_0x250dbd),_0x41aed5;}function x(_0x226dd1,_0x2dd745,_0x1f7002,_0x20a9a7,_0x5d4de1){const _0x2820c7=[];for(const [_0x5d1df3,_0x4229df]of _0x226dd1['childNodes']['entries']()){let _0x29233c=[];S(_0x4229df)&&_0x4229df['offsetParent']&&!_0x4229df['style']['position']?_0x29233c=_(_0x4229df,_0x5d1df3,_0x2dd745,_0x1f7002,_0x20a9a7,_0x5d4de1):R(_0x4229df)&&(_0x29233c=B(_0x4229df,_0x5d1df3,_0x2dd745,_0x1f7002,_0x5d4de1)),_0x29233c['length']&&(_0x2820c7['push'](..._0x29233c),_0x2dd745+=_0x29233c['length']*_0x1f7002,_0x5d4de1=!0x1);}return _0x2820c7;}function _(_0x1b6733,_0x511023,_0x27e132,_0x3ea31f,_0x3b78a8,_0x3a942f){const _0x129062=[];var _0x27ab40;if((_0x27ab40=_0x1b6733['previousSibling'])&&S(_0x27ab40)&&Boolean(_0x27ab40['classList']['contains']('page-break')||_0x27ab40['closest']('.page-break'))&&(_0x129062['push']({'type':'manual','offset':0x0,'path':[_0x511023-0x1]}),_0x3a942f=!0x0),'table-row'==_0xafa612['window']['getComputedStyle'](_0x1b6733)['display']){let _0x29b1c2=0x0,_0x54265d=!0x1;for(const _0x1cc7c5 of _0x1b6733['getClientRects']())_0x29b1c2+=_0x1cc7c5['height'],_0x1cc7c5['left']>=_0x27e132&&(_0x54265d=!0x0);if(_0x29b1c2<_0x3b78a8&&_0x54265d)return _0x129062['push']({'type':'element','offset':0x0,'path':[_0x511023]}),_0x129062;}const _0x5d4a0d=_0x1b6733['closest']('figure.image');if(_0x5d4a0d&&function(_0x30b7e0){let _0x42e96c=!0x1;const _0x3537c0=_0x30b7e0['parentElement'],_0x214194=_0x3537c0['dataset']['rootName'],_0x2d54d6=_0x30b7e0['nextElementSibling'],_0x4a78db=_0x30b7e0['previousElementSibling'],_0x5a55a2=_0x2d54d6&&_0xafa612['window']['getComputedStyle'](_0x2d54d6)['float'],_0x4e63fc=_0x2d54d6&&'ck-fake-selection-container'===_0x2d54d6['className'];!_0x214194||_0x2d54d6||_0x4a78db||(_0x42e96c=!0x0),_0x214194&&!_0x4a78db&&_0x4e63fc&&(_0x42e96c=!0x0),_0x214194&&!_0x4a78db&&'none'!==_0x5a55a2&&(_0x42e96c=!0x0);if(_0x42e96c)return!0x1;return!0x0;}(_0x5d4a0d)){const _0x2477e9=_0xafa612['window']['getComputedStyle'](_0x5d4a0d)['float'];if('left'==_0x2477e9||'right'==_0x2477e9)return _0x129062;}const _0x1053d3=x(_0x1b6733,_0x27e132,_0x3ea31f,_0x3b78a8,_0x3a942f);if(_0x1053d3['length']){for(const _0x511f84 of _0x1053d3)_0x129062['push']({'type':_0x511f84['type'],'offset':_0x511f84['offset'],'textOffset':_0x511f84['textOffset'],'path':[_0x511023,..._0x511f84['path']]}),_0x27e132+=_0x3ea31f,_0x3a942f=!0x1;return _0x129062;}return _0x129062['push'](...function(_0x23812b,_0x197454,_0x511b98,_0x2a39ec,_0x3e18cd){const _0x44c95b=[];if('table-cell'==_0xafa612['window']['getComputedStyle'](_0x23812b)['display'])return[];const _0x1da1cf=[];for(const _0x329b6a of _0x23812b['getClientRects']())if(_0x329b6a['left']>=_0x511b98){for(const _0x5bbb71 of _0x1da1cf)_0x5bbb71['height']+=_0x329b6a['height'];_0x1da1cf['push']({'height':_0x329b6a['height']}),_0x511b98+=_0x2a39ec;}for(const _0x200815 of _0x1da1cf)_0x3e18cd||_0x44c95b['push']({'type':'element','offset':_0x200815['height'],'textOffset':0x0,'path':[_0x197454]}),_0x3e18cd=!0x1;return _0x44c95b;}(_0x1b6733,_0x511023,_0x27e132,_0x3ea31f,_0x3a942f)),_0x129062;}function B(_0x33ab2a,_0x39c934,_0x313c4c,_0x5059c6,_0x2f98b4){const _0x48fba5=P(_0x33ab2a),_0x32b5ce=[];let _0x2a78ef=0x0;for(const _0xd63e4b of _0x48fba5['getClientRects']())if(_0xd63e4b['left']>=_0x313c4c){const _0x3243ee=I(_0x33ab2a,_0x2a78ef,_0x313c4c,_0x5059c6);_0x2f98b4||_0x32b5ce['push']({'type':'text','path':[_0x39c934],'textOffset':_0x3243ee}),_0x2a78ef=_0x3243ee,_0x313c4c+=_0x5059c6,_0x2f98b4=!0x1;}return _0x32b5ce;}function I(_0x24a9dd,_0x15c48e,_0x55b0a8,_0x1b922f){let _0x259c39=_0x15c48e,_0xdb8ef0=_0x24a9dd['length'];for(;_0xdb8ef0-_0x259c39>0x1;){const _0x343a44=Math['ceil']((_0x259c39+_0xdb8ef0)/0x2);N(k(_0x24a9dd,_0x259c39,_0x343a44),_0x55b0a8,_0x1b922f)?_0xdb8ef0=_0x343a44:_0x259c39=_0x343a44;}return _0x259c39;}function N(_0x5bda49,_0x51a87b,_0x3a3d01){for(const _0xc7713b of _0x5bda49['getClientRects']())if(_0xc7713b['left']>=_0x51a87b&&_0xc7713b['left']<_0x51a87b+_0x3a3d01)return!0x0;return!0x1;}function S(_0x1a3e8d){return _0x1a3e8d['nodeType']==Node['ELEMENT_NODE'];}function R(_0x4ba809){return _0x4ba809['nodeType']==Node['TEXT_NODE'];}const z=_0x1c3fc8('px');class V extends _0x21dabd{constructor(){super();const _0xa74efc=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0xa74efc['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0xa74efc['if']('isVisible','ck-hidden',_0x562d75=>!_0x562d75)],'style':{'left':_0xa74efc['to']('left',_0x1a6399=>z(_0x1a6399)),'top':_0xa74efc['to']('top',_0x225c62=>z(_0x225c62)),'width':_0xa74efc['to']('width',_0x560a6d=>z(_0x560a6d))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x242b0b){this['_viewCollection']=_0x242b0b['ui']['view']['body'];}['destroy'](){for(const _0x119581 of this['_hiddenLines'])_0x119581['destroy']();}['cleanLines'](){for(const _0x291427 of this['_visibleLines'])_0x291427['isVisible']=!0x1,this['_hiddenLines']['add'](_0x291427);this['_visibleLines']['clear']();}['showLine'](_0x178485,_0x18f045,_0x165e9d,_0x492908){let _0xe281ba;this['_hiddenLines']['size']?(_0xe281ba=_0x17bc0a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xe281ba)):_0xe281ba=new V(),_0xe281ba['set']({'pageNumber':_0x492908,'left':_0x178485,'top':_0x18f045,'width':_0x165e9d}),_0xe281ba['isVisible']=!0x0,this['_viewCollection']['has'](_0xe281ba)||this['_viewCollection']['add'](_0xe281ba),this['_visibleLines']['add'](_0xe281ba);}['setViewCollection'](_0x23c8cb){for(const _0x3e9445 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3e9445)&&this['_viewCollection']['remove'](_0x3e9445);this['_viewCollection']=_0x23c8cb;}}const L='ck-pagination_enabled';class c extends _0x40a6c7{['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',(_0x5cba86,_0x14b316,_0x34ff6c)=>{_0x34ff6c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x34ff6c);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x370dd4){if(!this['isEnabled'])return;const _0x38fe1c=_0x370dd4>0x1?this['_getPageBreakLineOffset'](_0x370dd4-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x38fe1c-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2d4c54['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x1f14f8=this['editor'],_0x56250a=this['_getAttachedDomRoot']();_0x56250a?(this['_scrollableEditingRootDomAncestor']&&_0x1f14f8['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2e75bf){let _0x499a22=_0x2e75bf;do{_0x499a22=_0x499a22['parentElement'];const _0x22df6e=_0xafa612['window']['getComputedStyle'](_0x499a22)['overflowY'];if('auto'==_0x22df6e||'scroll'==_0x22df6e)break;}while('BODY'!=_0x499a22['tagName']);return _0x499a22;}(_0x56250a),_0x1f14f8['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x582d0a(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1f14f8['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5a98a9=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5a98a9['ui']['view']['listenTo'](_0xafa612['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5a98a9['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x31f6d3 of this['editor']['editing']['view']['domRoots']['values']())if(_0x31f6d3['ownerDocument']['body']['contains'](_0x31f6d3))return _0x31f6d3;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x499fde=this['_getAttachedDomRoot'](),_0x3b902b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x499fde||0x1==_0x3b902b['length'])return void(this['pageNumber']=0x1);const _0x14a78c=new _0x3075fb(_0x499fde)['excludeScrollbarsAndBorders'](),_0x4dd5b8=new _0x3075fb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x31a267=_0x4dd5b8['top']+_0x4dd5b8['height']/0x3;let _0x368a7e=!0x1;const _0x27ecfb=[];for(let _0x17cee8=0x1;_0x17cee8<_0x3b902b['length'];_0x17cee8++){const _0x4e0ba7=this['_getPageBreakLineOffset'](_0x17cee8,_0x4dd5b8);if(!_0x4e0ba7)continue;const _0x2f3c97=_0x4dd5b8['top']+_0x4e0ba7-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x27ecfb['push']({'pageOffsetTop':_0x2f3c97,'domRootRect':_0x14a78c,'domScrollableRect':_0x4dd5b8,'pageNumber':_0x17cee8}),_0x2f3c97>_0x31a267&&!_0x368a7e&&(this['pageNumber']=_0x17cee8,_0x368a7e=!0x0);}this['_renderPageBreakLines'](_0x27ecfb),_0x368a7e||(this['pageNumber']=_0x3b902b['length']);}['_renderPageBreakLines'](_0x3ff6f4){const {scrollX:_0x487c14,scrollY:_0x128640}=_0xafa612['window'];if(_0x3ff6f4['length']){for(const {domScrollableRect:_0x30dc79,pageOffsetTop:_0x36ba58,domRootRect:_0x3ec697,pageNumber:_0xfca0bf}of _0x3ff6f4)_0x30dc79['top']<_0x36ba58&&_0x36ba58<_0x30dc79['bottom']&&this['linesRepository']['showLine'](_0x3ec697['left']+_0x487c14,_0x36ba58+_0x128640,_0x3ec697['width'],_0xfca0bf+0x1);}}['_getPageBreakLineOffset'](_0x5ec78e,_0x157130=null){const _0xc9f426=this['_paginationLookupPlugin']['pageBreaks'][_0x5ec78e]['offset'];return _0xc9f426?(_0x157130||(_0x157130=new _0x3075fb(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xc9f426-_0x157130['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x10f3b0,_0x539c03=!0x0){const _0x24b551=this['editor']['editing']['view'];_0x24b551['change'](_0x593be6=>{for(const _0x340f66 of _0x24b551['document']['roots'])_0x539c03?_0x593be6['addClass'](_0x10f3b0,_0x340f66):_0x593be6['removeClass'](_0x10f3b0,_0x340f66);});}}function g(_0x596958,_0x3622e1,..._0xeaf04f){const t=_0x596958['t'];switch(_0x3622e1){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)',..._0xeaf04f);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 _0x3622e1;}}class s extends _0x40a6c7{['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 _0x1f5524=this['editor']['plugins']['get']('Pagination'),_0x412235=this['editor']['plugins']['get'](n),_0x472cc2=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x1f5524),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x472cc2),this['listenTo'](_0x412235,'change:pageBreaks',(_0x5a692d,_0x2f8f7b,_0x29aa08,_0x49993a)=>{this['totalPages']=_0x29aa08['length'],this['_updatePageBreakMarkers'](_0x29aa08,_0x49993a);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x476a42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x386400;for(const _0xf2f592 in _0x476a42){const _0x44c322=_0xf2f592,_0x10e01c=_0x476a42[_0x44c322];if('paginationLicenseKeyValid'==_0x10e01c||'paginationLicenseKeyInvalid'==_0x10e01c||'paginationLicenseKeyExpired'==_0x10e01c||'paginationLicenseKeyDomainLimit'==_0x10e01c||'paginationLicenseKeyNotAllowed'==_0x10e01c||'paginationLicenseKeyEvaluationLimit'==_0x10e01c||'paginationLicenseKeyTrialLimit'==_0x10e01c||'paginationLicenseKeyUsageLimit'==_0x10e01c){delete _0x476a42[_0x44c322],_0x386400=_0x10e01c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x386400&&_0x476a42['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x386400&&_0x476a42['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x386400&&_0x476a42['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x386400&&_0x476a42['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x386400&&_0x476a42['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x386400&&_0x476a42['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x386400&&_0x476a42['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3f6d5d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x3f6d5d));}['moveSelectionToPage'](_0x2f4313){if(!this['isEnabled'])return;const _0x48ef96=this['editor'],_0x9ae30b=this['editor']['plugins']['get'](n)['pageBreaks'][_0x2f4313-0x1];_0x9ae30b&&_0x48ef96['model']['change'](_0x3f1dfa=>{switch(_0x9ae30b['type']){case'manual':{const _0x2a072a=_0x48ef96['model']['schema']['getNearestSelectionRange'](_0x9ae30b['modelRange']['end'],'forward');_0x3f1dfa['setSelection'](_0x2a072a);break;}case'element':{const _0x47a59c=_0x48ef96['model']['schema']['getNearestSelectionRange'](_0x9ae30b['modelRange']['start'],'forward');_0x3f1dfa['setSelection'](_0x47a59c);break;}case'text':{const _0x5859e1=_0x9ae30b['modelRange']['start'];if(_0x5859e1['textNode']&&'\x20'===_0x5859e1['textNode']['data'][_0x5859e1['offset']]){const _0x3eb04b=_0x3f1dfa['createPositionAt'](_0x5859e1['parent'],_0x5859e1['offset']+0x1);_0x3f1dfa['setSelection'](_0x3eb04b);}else _0x3f1dfa['setSelection'](_0x9ae30b['modelRange']);}}_0x48ef96['editing']['view']['focus']();});}['goToNextPage'](){const _0x1f2392=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1f2392),this['scrollToPage'](_0x1f2392);}['goToPreviousPage'](){const _0x1130ce=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1130ce),this['scrollToPage'](_0x1130ce);}['_updatePageBreakMarkers'](_0xeada0b,_0x4520c1){const _0xa540f7=this['editor']['model'];this['isEnabled']&&_0xa540f7['change'](_0x34d4b9=>{for(let _0x5e4b80=0x1;_0x5e4b80<_0xeada0b['length'];_0x5e4b80++){const _0x385f1b=_0xeada0b[_0x5e4b80]['modelRange'],_0x54794a='pagination:'+(_0x5e4b80+0x1);_0xa540f7['markers']['has'](_0x54794a)?_0x34d4b9['updateMarker'](_0x54794a,{'range':_0x385f1b}):_0x34d4b9['addMarker'](_0x54794a,{'range':_0x385f1b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2aabb2=_0xeada0b['length'];_0x2aabb2<_0x4520c1['length'];_0x2aabb2++){const _0x1d127e='pagination:'+(_0x2aabb2+0x1);_0xa540f7['markers']['has'](_0x1d127e)&&_0x34d4b9['removeMarker'](_0x1d127e);}});}['_setUpDataDowncastConversion'](){const _0x42b4c2='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2068a8=>{_0x2068a8['on']('addMarker:'+_0x42b4c2,(_0x1ba560,{markerRange:_0x37f669,markerName:_0x420753},_0x3e61ff)=>{if(!_0x3e61ff['options']['pagination'])return;if(!_0x3e61ff['consumable']['consume'](_0x37f669,_0x1ba560['name']))return;const _0x449b9c=_0x37f669['getContainedElement']();let _0x260abc=_0x449b9c?_0x3e61ff['mapper']['toViewElement'](_0x449b9c):null;if(!_0x260abc){const _0x28014c=_0x37f669['start'];if(_0x3e61ff['schema']['checkChild'](_0x28014c,'$text')){const _0x247053=_0x3e61ff['mapper']['toViewPosition'](_0x28014c);_0x260abc=_0x3e61ff['writer']['createContainerElement']('span'),_0x260abc['getFillerOffset']=()=>null,_0x3e61ff['writer']['insert'](_0x247053,_0x260abc);}else{const _0x4465b5=_0x28014c['nodeAfter'];_0x260abc=_0x3e61ff['mapper']['toViewElement'](_0x4465b5);}}for(;_0x260abc['parent']!==_0x260abc['root']&&0x0===_0x260abc['index'];)_0x260abc=_0x260abc['parent'];const _0x1e48c4=_0x420753['substring'](0xb);_0x260abc['hasClass']('page-break')||(_0x3e61ff['writer']['setStyle']('page-break-before','always',_0x260abc),_0x3e61ff['writer']['setAttribute']('data-pagination-page',_0x1e48c4,_0x260abc),_0x3e61ff['mapper']['bindElementToMarker'](_0x260abc,_0x420753)),_0x1ba560['stop']();});});}['_setupKeystrokes'](){const _0x4bb51=this['editor'];_0x4bb51['keystrokes']['set']('Shift+Pageup',(_0x24eff2,_0x5c395a)=>{this['goToPreviousPage'](),_0x5c395a();}),_0x4bb51['keystrokes']['set']('Shift+Pagedown',(_0x52f6c5,_0x10e5b3)=>{this['goToNextPage'](),_0x10e5b3();}),_0x4bb51['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4bb51['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4bb51['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4bb51['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x57d6bf){return _0x57d6bf<0x1&&(_0x57d6bf=0x1),_0x57d6bf>this['totalPages']&&(_0x57d6bf=this['totalPages']),_0x57d6bf;}}class U extends _0x21dabd{['pageNumberView'];constructor(_0x394797){super(_0x394797);const _0x1dd0d1=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4e2da8(_0x394797,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xb7806f=>g(_0x394797,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xb7806f)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x22f250=>!_0x22f250),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1dd0d1['if']('isEnabled','ck-disabled',_0x12375e=>!_0x12375e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1dd0d1['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4dec49=this['pageNumberView']['element'],_0xd73ab0=_0x493673=>{this['pageNumberView']['element']['value']=String(_0x493673);};_0xd73ab0(this['pageNumber']),this['on']('change:pageNumber',(_0x32c781,_0x337e8b,_0x3f53ac)=>{_0xd73ab0(_0x3f53ac);}),this['listenTo'](_0x4dec49,'keydown',(_0x2aa45e,_0x392bf2)=>{if('ArrowUp'===_0x392bf2['key']||'ArrowDown'===_0x392bf2['key'])return void _0x392bf2['stopPropagation']();if(_0x392bf2['keyCode']!==_0x308edc['enter'])return;_0x392bf2['preventDefault']();const _0x97d14b=_0x4dec49['valueAsNumber'];Number['isNaN'](_0x97d14b)?_0x4dec49['value']=String(this['pageNumber']):(_0x4dec49['checkValidity']()?this['pageNumber']=_0x97d14b:_0x97d14b>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4dec49['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4dec49['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4dec49,'blur',()=>{_0x4dec49['value']=String(this['pageNumber']);}),this['listenTo'](_0x4dec49,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x40a6c7{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x19cde3=this['editor'],_0x53c71c=_0x19cde3['plugins']['get']('PaginationEditing');_0x19cde3['ui']['componentFactory']['add']('pageNavigation',_0x2c05d5=>{const _0x5df207=new U(_0x2c05d5);return _0x5df207['bind']('pageNumber')['to'](_0x53c71c),_0x5df207['bind']('totalPages')['to'](_0x53c71c),_0x5df207['bind']('isEnabled')['to'](_0x53c71c),_0x5df207['on']('navigation',(_0x1edade,_0x4ad03b)=>{_0x53c71c['moveSelectionToPage'](_0x4ad03b),_0x53c71c['scrollToPage'](_0x4ad03b);}),_0x5df207;}),_0x19cde3['ui']['componentFactory']['add']('nextPage',_0xc8f030=>{const _0x41b45f=new _0x2f75f5(_0xc8f030);return _0x41b45f['isEnabled']=!0x0,_0x41b45f['label']=g(_0x19cde3['locale'],'Go\x20to\x20next\x20page'),_0x41b45f['icon']=_0x25e442,_0x41b45f['tooltip']=!0x0,_0x41b45f['keystroke']='Shift+PageDown',_0x41b45f['bind']('isEnabled')['to'](_0x53c71c),this['listenTo'](_0x41b45f,'execute',()=>{_0x53c71c['goToNextPage']();}),_0x41b45f;}),_0x19cde3['ui']['componentFactory']['add']('previousPage',_0x10f19f=>{const _0x5cf642=new _0x2f75f5(_0x10f19f);return _0x5cf642['isEnabled']=!0x0,_0x5cf642['label']=g(_0x19cde3['locale'],'Go\x20to\x20previous\x20page'),_0x5cf642['icon']=_0x53da66,_0x5cf642['tooltip']=!0x0,_0x5cf642['keystroke']='Shift+PageUp',_0x5cf642['bind']('isEnabled')['to'](_0x53c71c),this['listenTo'](_0x5cf642,'execute',()=>{_0x53c71c['goToPreviousPage']();}),_0x5cf642;});}}class a extends _0x40a6c7{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x3a64b2){super(_0x3a64b2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x398700=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x398700),this['bind']('totalPages')['to'](_0x398700),_0x2d4c54['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x44d6d7){this['editor']['plugins']['get'](s)['scrollToPage'](_0x44d6d7);}}export{a as Pagination,c as PaginationRenderer};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x134eb2=>0x1!=_0x134eb2}};
23
+ export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x425f00=>0x1!=_0x425f00}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a71ce=>{const {af:{dictionary:_0x29bf18,getPluralForm:_0xb03a76}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x5c46b5=>0x1!=_0x5c46b5}};_0x4a71ce['af']||={'dictionary':{},'getPluralForm':null},_0x4a71ce['af']['dictionary']=Object['assign'](_0x4a71ce['af']['dictionary'],_0x29bf18),_0x4a71ce['af']['getPluralForm']=_0xb03a76;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2de666=>{const {af:{dictionary:_0x5abc99,getPluralForm:_0x4f102b}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x27e27b=>0x1!=_0x27e27b}};_0x2de666['af']||={'dictionary':{},'getPluralForm':null},_0x2de666['af']['dictionary']=Object['assign'](_0x2de666['af']['dictionary'],_0x5abc99),_0x2de666['af']['getPluralForm']=_0x4f102b;})(window['CKEDITOR_TRANSLATIONS']||={});