@ckeditor/ckeditor5-pagination 46.0.0-alpha.8 → 46.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +2 -2
  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 +2 -2
  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:()=>ht,PaginationRenderer:()=>z});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=l;!function(t){const e=l,n=t();for(;;)try{if(790739===-parseInt(e(635))/1*(parseInt(e(673))/2)+parseInt(e(568))/3+parseInt(e(668))/4*(-parseInt(e(557))/5)+parseInt(e(505))/6+parseInt(e(646))/7+parseInt(e(530))/8+parseInt(e(518))/9*(parseInt(e(561))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class a extends t.Plugin{[r(507)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(499)](),200);[r(654)]=null;static get[r(508)](){return r(562)}static get[r(582)](){return!0}static get[r(492)](){return!0}[r(589)](){const t=r;if(this[t(554)]({pageBreaks:[]}),!this[t(655)][t(559)][t(610)](t(529)))return void(0,o.logWarning)(t(536),this[t(655)][t(559)]);const e=this[t(655)][t(528)][t(610)](t(659));this[t(600)](t(599)).to(e),this[t(655)].ui[t(519)](t(626),()=>this[t(592)]()),this.on(t(603),(e,n,i)=>{i&&this[t(507)]()})}[r(624)](){!async function(t){const e=m([100,106,66,114,74,76,101,80,51,68,107,67,117,89,119,113,104,71,77,120,73,65,122,90,54,84,83,69,108,98,52,57,87,110,49,79,121,72,85,103,70,102,111,105,115,112,55,86,97,53,48,118,56,116,82,109,75,78,88,50,99,81]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)}),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=l;return t[e(512)](t=>String[e(553)](t))[e(579)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([100]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1752019200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=l,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(543)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(613)](){const t=r;super[t(613)](),this[t(654)]&&(this[t(507)][t(544)](),this[t(654)][t(613)](),this[t(654)][t(535)][t(623)]())}[r(592)](){const t=r,n=this[t(655)],i=n[t(614)][t(656)],o=this[t(533)]();if(!o||0===o[t(503)])return void n.ui[t(519)](t(545),()=>this[t(592)]());const{pageWidth:s,pageHeight:a}=n[t(559)][t(610)](t(529)),{top:c,left:u,bottom:l,right:p}=this[t(658)];this[t(654)]=new e.View(n[t(500)]);const f=this[t(654)];f[t(554)](t(674),""),f[t(660)]({tag:t(502),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(619)+a+t(604)+c+t(604)+l+" )",minWidth:t(596),minHeight:t(596),padding:"0 "+p+t(540)+u,columnGap:t(628),border:0,boxSizing:t(644),columnCount:t(596),columnFill:t(596),overflow:t(504),position:t(510),top:t(538),left:t(538)},tabindex:"-1",class:f[t(532)].to(t(674))}}),f[t(647)](),o[t(515)][t(548)](f[t(535)],o[t(494)]),this[t(594)](i,t(647),()=>this[t(507)](),{priority:t(521)}),this[t(507)]()}[r(533)](){const t=r;for(const e of this[t(655)][t(614)][t(656)][t(542)][t(546)]())if(e[t(506)][t(496)][t(634)](e))return e;return null}[r(499)](){const t=r;if(!this[t(599)])return Promise[t(585)]();const e=this[t(655)][t(614)][t(656)],n=this[t(654)],i=this[t(533)]();if(!i)return Promise[t(585)]();for(n[t(674)]=[t(539),t(558),...i[t(602)]][t(579)](" ");n[t(535)][t(556)];)n[t(535)][t(556)][t(623)]();const o=Array[t(537)](e[t(542)]);o[t(590)](([,e],[,n])=>e[t(653)](n)==Node[t(615)]?1:-1);for(const[e,i]of o){const o=i[t(675)](!0);t(555)in o&&o[t(555)][t(652)](),o[t(547)]="",o[t(495)]("id"),o[t(564)][t(638)]=e,n[t(535)][t(621)](o)}return function(e){const n=t;return Promise[n(630)](e[n(512)](t=>{return Promise[n(566)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(537)](n[t(535)][t(618)](t(574))))[t(581)](()=>this[t(598)]())}[r(598)](){const t=r,e=this[t(654)][t(535)];if(!e[t(506)][t(496)][t(634)](e))return;const n=new o.Rect(e)[t(662)](),i=o.global[t(671)][t(514)](e),s=parseFloat(i[t(607)])+parseFloat(i[t(573)]),a=Math[t(588)](n[t(670)]+100-s),c=m(e,Math[t(588)](n[t(552)]-e[t(550)]),a,n[t(640)])[t(512)](e=>this[t(617)](e));c[t(571)](t=>!!t)&&(this[t(497)]=c)}[r(617)](t){const e=r,n=this[e(655)][e(614)][e(656)],i=this[e(655)][e(614)][e(569)],o=n[e(509)],s=t[e(524)][e(489)](),a=this[e(654)][e(535)][e(649)][s][e(564)][e(638)],c=n[e(606)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(524)]){if(!o)return null;o=o[i(649)][t]}return o}(c,t);if(!u)return null;const l=o[e(584)](u,t[e(666)]||0);return l?e(487)==t[e(570)]?this[e(672)](l,u):e(612)==t[e(570)]&&i[e(586)](l)[e(650)]?this[e(490)](l,u,t[e(666)]):this[e(534)](l,u,t[e(650)]):null}[r(672)](t,e){const n=r,i=this[n(655)][n(620)],o=this[n(655)][n(614)][n(569)][n(608)](t[n(667)]),s=i[n(565)](o);return new c({type:n(487),modelRange:s,domNode:e,offset:0})}[r(490)](t,e,n){const i=r,o=this[i(655)][i(620)],s=this[i(655)][i(614)][i(569)],a=this[i(655)][i(614)][i(656)][i(509)];if(n>=e[i(677)])return null;const l=s[i(586)](t),p=o[i(609)](l),f=s[i(642)](t),d=a[i(531)](f);return new c({type:i(612),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(534)](t,e,n){const i=r,s=this[i(655)][i(620)],a=this[i(655)][i(614)],u=a[i(569)],l=a[i(656)][i(509)],p=u[i(642)](t),d=u[i(608)](p),h=function(t){const e=i,n=t[e(667)],o=n[e(665)][e(643)][e(620)],s=n[e(676)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(597)))return r;if(!o[e(636)](n)[e(663)](t))return r;r=n}}(s[i(636)](d))||d;let g=u[i(525)](h),m=s[i(565)](h);const b=s[i(636)](h)[i(669)];if(b&&b.is(i(535),i(513))){const t=u[i(525)](b),e=l[i(531)](t),n=o.global[i(671)][i(514)](e)[i(541)];i(552)!=n&&i(631)!=n||(m=s[i(565)](b))}for(;g[i(667)]!==g[i(665)]&&0===g[i(527)];)g=g[i(667)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(640)]-n:0,k=l[i(531)](g),I=new o.Rect(k);return new c({type:i(535),modelRange:m,domNode:k,offset:Math[i(493)](v)?v+w[i(511)]-I[i(511)]:0})}get[r(658)](){const t=r,e=this[t(655)][t(559)][t(610)](t(549));return Object[t(572)]({top:t(625),bottom:t(625),left:t(625),right:t(625)},e)}static[r(648)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(570)];[r(576)];[r(595)];[r(523)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(570)]=t,this[o(576)]=e,this[o(595)]=n,this[o(523)]=i}get[r(650)](){const t=r;if(!this[t(595)][t(506)][t(496)][t(634)](this[t(595)]))return 0;const e=new o.Rect(y(this[t(595)])?this[t(595)]:f(this[t(595)]));return t(487)==this[t(570)]?e[t(511)]+e[t(640)]/2:e[t(511)]+this[t(523)]}}function u(t,e,n){const i=r,s=f(t),a=function(t){const e=l,n=o.global[e(643)][e(609)]();return n[e(578)](t),n}(n);let c;c=0==e?h(a[i(587)],a[i(560)],t[i(515)],Array[i(537)](t[i(515)][i(649)])[i(633)](t)):h(a[i(587)],a[i(560)],t,e);const u=h(t,e,a[i(622)],a[i(501)]),p=new o.Rect(c)[i(593)];return(new o.Rect(u)[i(511)]+p)/2-new o.Rect(s)[i(511)]}function l(t,e){const n=g();return(l=function(t,e){return n[t-=486]})(t,e)}function p(t){const e=r;return t[e(517)](e(670))&&t[e(517)](e(640))?Promise[e(585)]():new Promise(n=>{const i=e;function o(){const e=l;t[e(657)](e(498),o),t[e(657)](e(611),o),n()}t[i(632)]?n():(t[i(522)](i(498),o),t[i(522)](i(611),o))})}function f(t){const e=r,n=o.global[e(643)][e(609)]();return n[e(567)](t),n}function d(t,e,n){const i=r,s=o.global[i(643)][i(609)]();return s[i(629)](t,e),s[i(526)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(643)][s(609)]();return a[s(629)](t,e),a[s(526)](n,i),a}function g(){const t=["class","cloneNode","getAncestors","length","style","manual","figure.image","shift","_mapTextPageStarterInfoToPageBreakInfo","display","isPremiumPlugin","round","nextSibling","removeAttribute","body","pageBreaks","load","_recalculatePageBreaks","locale","endOffset","div","childElementCount","hidden","2199498Nypxef","ownerDocument","_recalculatePageBreaksDebounced","pluginName","domConverter","absolute","top","map","imageBlock","getComputedStyle","parentNode","none","hasAttribute","1557qjexxU","once","offsetParent","low","addEventListener","_offset","path","toViewElement","setEnd","index","plugins","pagination","1065016hBcRPy","mapViewToDom","bindTemplate","_getAttachedDomRoot","_mapElementPageStarterInfoToPageBreakInfo","element","pagination-config-not-found","from","-99999px","ck-reset"," 0 ","float","domRoots","href","cancel","update","values","className","insertBefore","pagination.pageMargins","scrollLeft","previousSibling","left","fromCharCode","set","attributeStyleMap","firstChild","54535qMNHhg","ck-pagination-view","config","startOffset","54690wGMNdM","PaginationLookup","nextElementSibling","dataset","createRangeOn","race","selectNode","3888369GLsAQq","mapper","type","every","assign","paddingRight","img","push","modelRange","getClientRects","selectNodeContents","join",".page-break","then","isOfficialPlugin","entries","domPositionToView","resolve","toModelPosition","startContainer","floor","init","sort","parentElement","_onUiReady","bottom","listenTo","_domNode","auto","rootElement","_updatePageBreaksData","isEnabled","bind","ceil","classList","change:isEnabled"," - ","TEXT_NODE","getDomRoot","paddingLeft","toModelElement","createRange","get","error","text","destroy","editing","DOCUMENT_POSITION_PRECEDING","ck-fake-selection-container","_mapPageStarterInfoToPageBreakInfo","querySelectorAll","calc( ","model","append","endContainer","remove","afterInit","10mm","ready","position","100px","setStart","all","right","complete","indexOf","contains","368306YumSsw","createPositionBefore","page-break","rootName","ELEMENT_NODE","height","table-row","findMappedViewAncestor","document","border-box","closest","2397850rMjtdr","render","_findPageStarterInfos","childNodes","offset","previousElementSibling","clear","compareDocumentPosition","_pagesContainer","editor","view","removeEventListener","_configuredPaddings","PaginationEditing","setTemplate","table-cell","excludeScrollbarsAndBorders","isTouching","nodeType","root","textOffset","parent","436MUtyPc","nodeBefore","width","window","_mapManualPageStarterInfoToPageBreakInfo","6ALcHdL"];return(g=function(){return t})()}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(649)][s(583)]()){let t=[];y(c)&&c[s(520)]&&!c[s(486)][s(627)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(677)]&&(a[s(575)](...t),e+=t[s(677)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(551)])&&y(l)&&Boolean(l[c(602)][c(634)](c(637))||l[c(645)](c(580)))&&(u[c(575)]({type:c(487),offset:0,path:[e-1]}),a=!0),c(641)==o.global[c(671)][c(514)](t)[c(491)]){let i=0,o=!1;for(const e of t[c(577)]())i+=e[c(640)],e[c(552)]>=n&&(o=!0);if(i<s&&o)return u[c(575)]({type:c(535),offset:0,path:[e]}),u}const p=t[c(645)](c(488));if(p&&function(t){const e=c;let n=!1;const i=t[e(591)][e(564)][e(638)],s=t[e(563)],r=t[e(651)],a=s&&o.global[e(671)][e(514)](s)[e(541)],u=s&&e(616)===s[e(547)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(516)!==a&&(n=!0),!n}(p)){const t=o.global[c(671)][c(514)](p)[c(541)];if(c(552)==t||c(631)==t)return u}const f=m(t,n,i,s,a);if(f[c(677)]){for(const t of f)u[c(575)]({type:t[c(570)],offset:t[c(650)],textOffset:t[c(666)],path:[e,...t[c(524)]]}),n+=i,a=!1;return u}return u[c(575)](...function(t,e,n,i,s){const r=c,a=[];if(r(661)==o.global[r(671)][r(514)](t)[r(491)])return[];const u=[];for(const e of t[r(577)]())if(e[r(552)]>=n){for(const t of u)t[r(640)]+=e[r(640)];u[r(575)]({height:e[r(640)]}),n+=i}for(const t of u)s||a[r(575)]({type:r(535),offset:t[r(640)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(577)]())if(r[s(552)]>=n){const r=v(t,u,n,i);o||c[s(575)]({type:s(612),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(677)];for(;a-s>1;){const e=Math[o(601)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(577)]())if(o[i(552)]>=e&&o[i(552)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(664)]==Node[e(639)]}function I(t){const e=r;return t[e(664)]==Node[e(605)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),A=n.n(T),S=n(667),E=n.n(S),R=n(357),C=n.n(R),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=E(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function M(t,e){const n=D();return(M=function(t,e){return n[t-=192]})(t,e)}function D(){const t=["8876520uiXdPR","setTemplate","pageNumber","top","set","ck-pagination-view-line","398270SSbvXb","left","width","52IawTAK","6380tGeUts","5410140HamAcf","56511qWqooQ","5iSRgRQ","bindTemplate","isVisible","9222240CMHDCR","ck-hidden","165723bGSgIt","962801PnygDq","div"];return(D=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(920234===-parseInt(e(199))/1*(parseInt(e(192))/2)+parseInt(e(204))/3*(-parseInt(e(195))/4)+-parseInt(e(197))/5+-parseInt(e(202))/6+parseInt(e(205))/7+parseInt(e(207))/8+parseInt(e(198))/9*(parseInt(e(196))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const B=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=M;super();const e=this[t(200)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(208)]({tag:t(206),attributes:{"data-page-number":e.to(t(209)),class:["ck",t(212),e.if(t(201),t(203),t=>!t)],style:{left:e.to(t(193),t=>B(t)),top:e.to(t(210),t=>B(t)),width:e.to(t(194),t=>B(t))}}})}}function K(){const t=["delete","548pdtaXn","51111GgpWXN","5YeDlhz","cleanLines","43094230Odqhlv","11QNjeBP","826414YKsAix","isVisible","view","showLine","_viewCollection","_hiddenLines","destroy","1376PTSlMx","values","setViewCollection","add","12162qvKCur","size","8920037KSgbBh","_visibleLines","370350ModuVT","9320718XZwIyC","remove","set","body","clear","has"];return(K=function(){return t})()}const j=q;function q(t,e){const n=K();return(q=function(t,e){return n[t-=127]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(834064===parseInt(e(143))/1+parseInt(e(128))/2+-parseInt(e(139))/3*(-parseInt(e(151))/4)+parseInt(e(153))/5*(parseInt(e(144))/6)+parseInt(e(141))/7+parseInt(e(135))/8*(parseInt(e(152))/9)+-parseInt(e(155))/10*(parseInt(e(127))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class U{[j(132)];[j(142)]=new Set;[j(133)]=new Set;constructor(t){const e=j;this[e(132)]=t.ui[e(130)][e(147)]}[j(134)](){const t=j;for(const e of this[t(133)])e[t(134)]()}[j(154)](){const t=j;for(const e of this[t(142)])e[t(129)]=!1,this[t(133)][t(138)](e);this[t(142)][t(148)]()}[j(131)](t,e,n,i){const s=j;let r;this[s(133)][s(140)]?(r=(0,o.first)(this[s(133)][s(136)]()),this[s(133)][s(150)](r)):r=new G,r[s(146)]({pageNumber:i,left:t,top:e,width:n}),r[s(129)]=!0,this[s(132)][s(149)](r)||this[s(132)][s(138)](r),this[s(142)][s(138)](r)}[j(137)](t){const e=j;for(const t of[...this[e(142)],...this[e(133)]])this[e(132)][e(149)](t)&&this[e(132)][e(145)](t);this[e(132)]=t}}function V(){const t=["pageNumber","get","_scrollableEditingRootDomAncestor","removeClass","listenTo","scrollToPage","_resizeObserver","6wwHvSH","smooth","init","648lMAxGJ","roots","854458jTqpYn","update","plugins","set","width","contains","instant","addClass","isEnabled","ck-pagination_enabled","push","view","6187PqTbUl","editing","height","stopListening","_toggleEditingRootsClass","change:pageBreaks","scrollTo","showLine","tagName","1292985eJDAOq","isPremiumPlugin","offset","domRoots","setupScrollableAncestor","left","_updatePageBreakLines","excludeScrollbarsAndBorders","pageBreaks","length","values","change","ownerDocument","PaginationRenderer","355xAbpxN","body","scrollTop","isOfficialPlugin","PaginationLookup","editor","_renderPageBreakLines","PaginationEditing","791248SaWvnD","resize","isMotionReduced","window","_getPageBreakLineOffset","pluginName","BODY","linesRepository","166890RNcWcw","scroll","change:isEnabled","getComputedStyle","once","bind","bottom","ready","destroy","24692HUPdEE","cleanLines","auto","document","_onUiReady","overflowY","_getAttachedDomRoot","scrollLeft","_paginationLookupPlugin","2392789WicZwy","parentElement","top"];return(V=function(){return t})()}const H=W;!function(t){const e=W,n=t();for(;;)try{if(320171===-parseInt(e(441))/1+-parseInt(e(429))/2+parseInt(e(450))/3+-parseInt(e(405))/4*(parseInt(e(464))/5)+-parseInt(e(424))/6*(parseInt(e(414))/7)+-parseInt(e(472))/8+-parseInt(e(427))/9*(-parseInt(e(396))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);const F=H(438);function W(t,e){const n=V();return(W=function(t,e){return n[t-=396]})(t,e)}class z extends t.Plugin{[H(479)];[H(419)]=null;[H(423)]=null;[H(413)];static get[H(477)](){return H(463)}static get[H(467)](){return!0}static get[H(451)](){return!0}[H(426)](){const t=H;this[t(432)]({pageNumber:1}),this[t(479)]=new U(this[t(469)]),this[t(419)]=null,this[t(423)]=null,this[t(413)]=this[t(469)][t(431)][t(418)](t(468)),this[t(401)](t(437)).to(this[t(469)][t(431)][t(418)](t(471))),this[t(469)].ui[t(400)](t(403),()=>this[t(409)]()),this[t(445)](F),this.on(t(398),(e,n,i)=>{const o=t;i||this[o(479)][o(406)](),this[o(445)](F,i)})}[H(404)](){const t=H;this[t(445)](F,!1),this[t(479)][t(404)](),this[t(419)]=null,this[t(423)]&&this[t(423)][t(404)]()}[H(422)](t){const e=H;if(!this[e(437)])return;const n=t>1?this[e(476)](t-1):0;this[e(419)][e(447)]({top:n-10,left:this[e(419)][e(412)],behavior:o.env[e(474)]?e(435):e(425)})}[H(454)](){const t=H,e=this[t(469)],n=this[t(411)]();n?(this[t(419)]&&e.ui[t(440)][t(444)](this[t(419)],t(397)),this[t(419)]=function(e){const n=t;let i=e;do{i=i[n(415)];const t=o.global[n(475)][n(399)](i)[n(410)];if(n(407)==t||n(397)==t)break}while(n(478)!=i[n(449)]);return i}(n),e.ui[t(440)][t(421)](this[t(419)],t(397),()=>{this[t(456)]()},{usePassive:!0}),this[t(423)]&&this[t(423)][t(404)](),this[t(423)]=new o.ResizeObserver(this[t(419)],()=>{this[t(456)]()})):e.ui[t(400)](t(430),()=>this[t(454)]())}[H(409)](){const t=H,e=this[t(469)];this[t(411)]()?(this[t(454)](),e.ui[t(440)][t(421)](o.global[t(475)],t(473),()=>this[t(456)]()),this[t(421)](this[t(413)],t(446),()=>this[t(456)]())):e.ui[t(400)](t(430),()=>this[t(409)]())}[H(411)](){const t=H;for(const e of this[t(469)][t(442)][t(440)][t(453)][t(460)]())if(e[t(462)][t(465)][t(434)](e))return e;return null}[H(456)](){const t=H;if(!this[t(437)])return;const e=this[t(411)](),n=this[t(413)][t(458)];if(this[t(479)][t(406)](),!e||1==n[t(459)])return void(this[t(417)]=1);const i=new o.Rect(e)[t(457)](),s=new o.Rect(this[t(419)])[t(457)](),r=s[t(416)]+s[t(443)]/3;let a=!1;const c=[];for(let e=1;e<n[t(459)];e++){const n=this[t(476)](e,s);if(!n)continue;const o=s[t(416)]+n-this[t(419)][t(466)];c[t(439)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(417)]=e,a=!0)}this[t(470)](c),a||(this[t(417)]=n[t(459)])}[H(470)](t){const e=H,{scrollX:n,scrollY:i}=o.global[e(475)];if(t[e(459)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(416)]<s&&s<o[e(402)]&&this[e(479)][e(448)](r[e(455)]+n,s+i,r[e(433)],a+1)}[H(476)](t,e=null){const n=H,i=this[n(413)][n(458)][t][n(452)];return i?(e||(e=new o.Rect(this[n(419)])[n(457)]()),i-e[n(416)]+this[n(419)][n(466)]):0}[H(445)](t,e=!0){const n=H,i=this[n(469)][n(442)][n(440)];i[n(461)](o=>{const s=n;for(const n of i[s(408)][s(428)])e?o[s(436)](t,n):o[s(420)](t,n)})}}function X(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=E(),Y.insert=A().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=C();x()(Q.A,Y);Q.A&&Q.A.locals&&Q.A.locals;function Z(){const t=["addMarker","end","isPremiumPlugin","mapper","consumable","removeMarker","createContainerElement","name","page-break-before","modelRange","data","featureNotAllowed","$text","paginationLicenseKeyEvaluationLimit","consume","setAttribute","options","editing","pageNumber","locale","504258GbHvUb","always","createPositionAt","model","view","paginationLicenseKeyValid","setStyle","972812PiiwVM","change:pageBreaks","getFillerOffset","offset","invalid","toViewElement","page-break","dataDowncast","_setupKeystrokes","addKeystrokeInfoGroup","index","paginationLicenseKeyNotAllowed","2804600QNgDfM","expired","manual","14tPNqEo","paginationLicenseKeyExpired","487565IfxBvn","span","goToPreviousPage","type","Shift+Pageup","5795208cSOFCR","paginationLicenseKeyDomainLimit","for","_setUpDataDowncastConversion","paginationLicenseKeyInvalid","insert","9icFfki","conversion","data-pagination-page","root","pagination","writer","Go to the previous page (also move selection)","substring","domainLimit","markers","pluginName","length","_updatePageBreakMarkers","PaginationEditing","usageLimit","toViewPosition","parent","_validatePageNumber","has","moveSelectionToPage","init","totalPages","schema","plugins","text","paginationLicenseKeyUsageLimit","start","evaluationLimit","5690905aKXXob","paginationLicenseKeyTrialLimit","get","setSelection","set","trialLimit","_licenseKeyCheckInterval","element","bind","updateMarker","checkChild","pagination:","_showLicenseError","keystrokes","Pagination","editor","scrollToPage","accessibility","pageBreaks","170359sTDhSH","requires","bindElementToMarker","isOfficialPlugin","20snhfee","change","config","getContainedElement","Shift+Pagedown","Keystrokes for navigating through documents","nodeAfter","getNearestSelectionRange","hasClass","Go to the next page (also move selection)","forward","add","4ClqfUF","destroy","textNode","addMarker:","isEnabled","stop","listenTo","goToNextPage","focus","licenseKey"];return(Z=function(){return t})()}const J=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=392]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(423055===-parseInt(e(462))/1*(-parseInt(e(478))/2)+parseInt(e(415))/3*(-parseInt(e(515))/4)+-parseInt(e(404))/5+parseInt(e(508))/6*(parseInt(e(402))/7)+parseInt(e(399))/8+-parseInt(e(409))/9+-parseInt(e(466))/10*(-parseInt(e(443))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[J(487)];[J(449)];static get[J(425)](){return J(428)}static get[J(465)](){return!0}static get[J(490)](){return!0}static get[J(463)](){return[a,z]}[J(435)](){const t=J;this[t(447)]({pageNumber:1,totalPages:1});const e=this[t(458)][t(438)][t(445)](t(457)),n=this[t(458)][t(438)][t(445)](a),i=this[t(458)][t(438)][t(445)](z);this[t(451)](t(482)).to(e),this[t(412)](),this[t(451)](t(506)).to(i),this[t(484)](n,t(516),(e,n,i,o)=>{const s=t;this[s(436)]=i[s(426)],this[s(427)](i,o)}),this[t(395)](),this[t(487)]=this[t(458)][t(468)][t(445)](t(487));const o=this[t(458)];this[t(449)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(513)==s||e(413)==s||e(403)==s||e(410)==s||e(398)==s||e(501)==s||e(444)==s||e(440)==s){delete o[i],n=s,clearInterval(this[e(449)]),this[e(449)]=void 0;break}}e(413)==n&&o[e(455)](e(519)),e(403)==n&&o[e(455)](e(400)),e(410)==n&&o[e(455)](e(423)),e(398)==n&&o[e(455)](e(499),e(457)),e(501)==n&&o[e(455)](e(442)),e(444)==n&&o[e(455)](e(448)),e(440)==n&&o[e(455)](e(429))},1e3)}[J(479)](){const t=J;super[t(479)](),this[t(449)]&&clearInterval(this[t(449)])}[J(459)](t){const e=J;this[e(482)]&&this[e(458)][e(438)][e(445)](z)[e(459)](this[e(432)](t))}[J(434)](t){const e=J;if(!this[e(482)])return;const n=this[e(458)],i=this[e(458)][e(438)][e(445)](a)[e(461)][t-1];i&&n[e(511)][e(467)](t=>{const o=e;switch(i[o(407)]){case o(401):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(489)],o(476));t[o(446)](e);break}case o(450):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(441)],o(476));t[o(446)](e);break}case o(439):{const e=i[o(497)][o(441)];if(e[o(480)]&&" "===e[o(480)][o(498)][e[o(518)]]){const n=t[o(510)](e[o(431)],e[o(518)]+1);t[o(446)](n)}else t[o(446)](i[o(497)])}}n[o(505)][o(512)][o(486)]()})}[J(485)](){const t=J,e=this[t(432)](this[t(506)]+1);this[t(434)](e),this[t(459)](e)}[J(406)](){const t=J,e=this[t(432)](this[t(506)]-1);this[t(434)](e),this[t(459)](e)}[J(427)](t,e){const n=J,i=this[n(458)][n(511)];this[n(482)]&&i[n(467)](o=>{const s=n;for(let e=1;e<t[s(426)];e++){const n=t[e][s(497)],r=s(454)+(e+1);i[s(424)][s(433)](r)?o[s(452)](r,{range:n}):o[s(488)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(426)];n<e[s(426)];n++){const t=s(454)+(n+1);i[s(424)][s(433)](t)&&o[s(493)](t)}})}[J(412)](){const t=J,e=t(419);this[t(458)][t(416)][t(411)](t(394))[t(477)](n=>{const i=t;n.on(i(481)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(504)][s(419)])return;if(!o[s(492)][s(502)](e,t[s(495)]))return;const r=e[s(469)]();let a=r?o[s(491)][s(392)](r):null;if(!a){const t=e[s(441)];if(o[s(437)][s(453)](t,s(500))){const e=o[s(491)][s(430)](t);a=o[s(420)][s(494)](s(405)),a[s(517)]=()=>null,o[s(420)][s(414)](e,a)}else{const e=t[s(472)];a=o[s(491)][s(392)](e)}}for(;a[s(431)]!==a[s(418)]&&0===a[s(397)];)a=a[s(431)];const c=n[s(422)](11);a[s(474)](s(393))||(o[s(420)][s(514)](s(496),s(509),a),o[s(420)][s(503)](s(417),c,a),o[s(491)][s(464)](a,n)),t[s(483)]()})})}[J(395)](){const t=J,e=this[t(458)];e[t(456)][t(447)](t(408),(e,n)=>{this[t(406)](),n()}),e[t(456)][t(447)](t(470),(e,n)=>{this[t(485)](),n()}),e[t(460)][t(396)]({id:t(419),label:X(e[t(507)],t(471)),keystrokes:[{label:X(e[t(507)],t(421)),keystroke:t(408),mayRequireFn:!0},{label:X(e[t(507)],t(475)),keystroke:t(470),mayRequireFn:!0}]})}[J(432)](t){const e=J;return t<1&&(t=1),t>this[e(436)]&&(t=this[e(436)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=A().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=340]})(t,e)}const st=ot;function rt(){const t=["checkValidity","stopPropagation","span","listenTo","isEnabled","totalPages","Current page number (from 1 to %0)","max","value","2091ZBAegO","firstChild","75950NAJHpM","pageNumberView","ArrowDown","numeric","keyCode","set","ck-page-navigator","div","115247YxRaRg","enter","607080Hjmksr","369qNAEek","preventDefault","ariaLabel","valueAsNumber","ck-disabled","6694366dPkGRZ","10JNwDeR","select","change:pageNumber","navigation","keydown","823974PUvSoI","setTemplate","fire","focus","bindTemplate","2956290GSUcry","1548fwijTg","render","isReadOnly","8vLvbDv","element","ArrowUp","isNaN","pageNumber","884cjYwBe","key","bind","blur"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(496023===-parseInt(e(355))/1*(-parseInt(e(342))/2)+parseInt(e(379))/3*(parseInt(e(388))/4)+parseInt(e(374))/5*(-parseInt(e(384))/6)+-parseInt(e(373))/7+-parseInt(e(367))/8+parseInt(e(368))/9*(-parseInt(e(357))/10)+parseInt(e(365))/11*(parseInt(e(385))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(358)];constructor(t){const n=st;super(t);const i=this[n(383)];this[n(362)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(358)]=new e.InputNumberView(t,{min:1,step:1}),this[n(358)][n(362)]({inputMode:n(360),tabIndex:-1}),this[n(358)][n(344)](n(370)).to(this,n(351),e=>X(t,n(352),e)),this[n(358)][n(344)](n(353)).to(this,n(351)),this[n(358)][n(344)](n(387)).to(this,n(350),t=>!t),this[n(380)]({tag:n(364),attributes:{class:["ck",n(363),i.if(n(350),n(372),t=>!t)]},children:[this[n(358)],{tag:n(348),children:[{text:i.to(n(351))}]}]})}[st(386)](){const t=st;super[t(386)]();const e=this[t(358)][t(389)],n=e=>{const n=t;this[n(358)][n(389)][n(354)]=String(e)};n(this[t(341)]),this.on(t(376),(t,e,i)=>{n(i)}),this[t(349)](e,t(378),(n,i)=>{const s=t;if(s(390)===i[s(343)]||s(359)===i[s(343)])return void i[s(347)]();if(i[s(361)]!==o.keyCodes[s(366)])return;i[s(369)]();const r=e[s(371)];Number[s(340)](r)?e[s(354)]=String(this[s(341)]):(e[s(346)]()?this[s(341)]=r:r>this[s(351)]?(this[s(341)]=this[s(351)],e[s(354)]=String(this[s(351)])):(this[s(341)]=1,e[s(354)]="1"),this[s(381)](s(377),this[s(341)]))}),this[t(349)](e,t(345),()=>{const n=t;e[n(354)]=String(this[n(341)])}),this[t(349)](e,t(382),()=>{const e=t;this[e(358)][e(375)]()})}[st(382)](){const t=st;this[t(389)][t(356)][t(382)]()}}const ct=lt;function ut(){const t=["isPremiumPlugin","componentFactory","nextPage","init","PaginationEditing","pageNumber","listenTo","editor","goToNextPage","11193714sfPYAs","tooltip","scrollToPage","totalPages","label","navigation","add","plugins","7270110TXBKWh","Go to previous page","152CGtwQq","PaginationUI","icon","2454964lpxDIm","Shift+PageUp","locale","pluginName","bind","607577ixnzNU","6663dMQjtM","get","pageNavigation","Go to next page","isEnabled","moveSelectionToPage","keystroke","previousPage","5282568ovUDDA","execute","goToPreviousPage","1284DASTcz","71106AOrtye","isOfficialPlugin","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(837194===-parseInt(e(299))/1+-parseInt(e(294))/2+parseInt(e(300))/3*(-parseInt(e(311))/4)+parseInt(e(289))/5+parseInt(e(308))/6+parseInt(e(269))/7*(-parseInt(e(291))/8)+parseInt(e(281))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(297)](){return ct(292)}static get[ct(270)](){return!0}static get[ct(272)](){return!0}[ct(275)](){const t=ct,n=this[t(279)],i=n[t(288)][t(301)](t(276));n.ui[t(273)][t(287)](t(302),e=>{const n=t,o=new at(e);return o[n(298)](n(277)).to(i),o[n(298)](n(284)).to(i),o[n(298)](n(304)).to(i),o.on(n(286),(t,e)=>{const o=n;i[o(305)](e),i[o(283)](e)}),o}),n.ui[t(273)][t(287)](t(274),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(303)),r[s(293)]=et.IconArrowDown,r[s(282)]=!0,r[s(306)]=s(271),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(280)]()}),r}),n.ui[t(273)][t(287)](t(307),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(290)),r[s(293)]=et.IconArrowUp,r[s(282)]=!0,r[s(306)]=s(295),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(310)]()}),r})}}const ft=dt;function dt(t,e){const n=gt();return(dt=function(t,e){return n[t-=483]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(334197===-parseInt(e(503))/1+-parseInt(e(504))/2*(-parseInt(e(494))/3)+-parseInt(e(488))/4+parseInt(e(490))/5*(parseInt(e(513))/6)+-parseInt(e(491))/7*(-parseInt(e(497))/8)+-parseInt(e(487))/9+parseInt(e(501))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);class ht extends t.Plugin{static get[ft(485)](){return ft(505)}static get[ft(507)](){return!0}static get[ft(502)](){return!0}static get[ft(483)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(509)]=!1}[ft(486)](){const t=ft;this[t(484)]({pageNumber:1,totalPages:1});const e=this[t(499)][t(511)][t(493)](tt);this[t(492)](t(496)).to(e),this[t(492)](t(506)).to(e),o.env[t(489)]||this[t(499)][t(498)][t(493)](t(495))?this[t(499)].on(t(500),()=>{this[t(509)]=!0}):this[t(510)](t(508))}[ft(512)](t){const e=ft;this[e(499)][e(511)][e(493)](tt)[e(512)](t)}}function gt(){const t=["isOfficialPlugin","browserCheck","isEnabled","forceDisabled","plugins","scrollToPage","29868lNrOtx","requires","set","pluginName","init","2981106cTKkHT","1778052EatqIy","isBlink","320nTgcwe","14syqtOp","bind","get","3XqzQuW","pagination.enableOnUnsupportedBrowsers","pageNumber","1694320cFZKZw","config","editor","ready","1053120TEwQLs","isPremiumPlugin","245163QGganI","1015246gjvdii","Pagination","totalPages"];return(gt=function(){return t})()}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=228]})(t,e)}function bt(){var t=["5113MnBigv","400509WlGAbB","730924KMcjFf","11296gMcoxC","431835IqppPJ","7FwQIae","310400lmhfsn","342HmvSdP","230298WyzgZO"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(107901===parseInt(e(231))/1+parseInt(e(228))/2+-parseInt(e(232))/3+parseInt(e(233))/4+-parseInt(e(235))/5+-parseInt(e(230))/6*(-parseInt(e(236))/7)+-parseInt(e(234))/8*(parseInt(e(229))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
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:()=>H});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=w;!function(t){const e=w,n=t();for(;;)try{if(609562===parseInt(e(659))/1+parseInt(e(668))/2*(-parseInt(e(552))/3)+-parseInt(e(671))/4+parseInt(e(556))/5*(parseInt(e(623))/6)+parseInt(e(559))/7+parseInt(e(566))/8*(parseInt(e(533))/9)+-parseInt(e(589))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k);class a extends t.Plugin{[r(565)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(688)](),200);[r(513)]=null;static get[r(605)](){return r(663)}static get[r(601)](){return!0}static get[r(675)](){return!0}[r(594)](){const t=r;if(this[t(665)]({pageBreaks:[]}),!this[t(643)][t(631)][t(620)](t(681)))return void(0,o.logWarning)(t(652),this[t(643)][t(631)]);const e=this[t(643)][t(638)][t(620)](t(557));this[t(540)](t(624)).to(e),this[t(643)].ui[t(622)](t(530),()=>this[t(591)]()),this.on(t(532),(e,n,i)=>{i&&this[t(565)]()})}[r(597)](){!async function(t){const e=g([73,108,78,101,56,53,90,85,66,54,49,79,81,70,110,88,103,109,104,77,97,119,114,113,67,68,65,83,57,117,102,105,72,69,55,118,52,86,99,89,71,76,100,74,80,50,120,48,107,51,84,121,122,82,75,116,87,111,98,106,112,115]),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=w;return t[e(531)](t=>String[e(650)](t))[e(677)]("")}!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([73]);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:1752019200;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=w,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(651)]);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(541)](){const t=r;super[t(541)](),this[t(513)]&&(this[t(565)][t(527)](),this[t(513)][t(541)](),this[t(513)][t(563)][t(574)]())}[r(591)](){const t=r,n=this[t(643)],i=n[t(596)][t(619)],o=this[t(595)]();if(!o||0===o[t(666)])return void n.ui[t(622)](t(539),()=>this[t(591)]());const{pageWidth:s,pageHeight:a}=n[t(631)][t(620)](t(681)),{top:c,left:u,bottom:l,right:p}=this[t(641)];this[t(513)]=new e.View(n[t(685)]);const f=this[t(513)];f[t(665)](t(526),""),f[t(534)]({tag:t(572),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(509)+a+t(658)+c+t(658)+l+" )",minWidth:t(575),minHeight:t(575),padding:"0 "+p+t(662)+u,columnGap:t(548),border:0,boxSizing:t(550),columnCount:t(575),columnFill:t(575),overflow:t(553),position:t(608),top:t(644),left:t(644)},tabindex:"-1",class:f[t(680)].to(t(526))}}),f[t(673)](),o[t(573)][t(686)](f[t(563)],o[t(646)]),this[t(546)](i,t(673),()=>this[t(565)](),{priority:t(590)}),this[t(565)]()}[r(595)](){const t=r;for(const e of this[t(643)][t(596)][t(619)][t(642)][t(558)]())if(e[t(570)][t(571)][t(599)](e))return e;return null}[r(688)](){const t=r;if(!this[t(624)])return Promise[t(664)]();const e=this[t(643)][t(596)][t(619)],n=this[t(513)],i=this[t(595)]();if(!i)return Promise[t(664)]();for(n[t(526)]=[t(503),t(609),...i[t(569)]][t(677)](" ");n[t(563)][t(636)];)n[t(563)][t(636)][t(574)]();const o=Array[t(536)](e[t(642)]);o[t(567)](([,e],[,n])=>e[t(667)](n)==Node[t(579)]?1:-1);for(const[e,i]of o){const o=i[t(613)](!0);t(515)in o&&o[t(515)][t(626)](),o[t(524)]="",o[t(648)]("id"),o[t(610)][t(577)]=e,n[t(563)][t(683)](o)}return function(e){const n=t;return Promise[n(618)](e[n(531)](t=>{return Promise[n(580)]([l(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(536)](n[t(563)][t(616)](t(578))))[t(512)](()=>this[t(593)]())}[r(593)](){const t=r,e=this[t(513)][t(563)];if(!e[t(570)][t(571)][t(599)](e))return;const n=new o.Rect(e)[t(544)](),i=o.global[t(551)][t(562)](e),s=parseFloat(i[t(598)])+parseFloat(i[t(517)]),a=Math[t(564)](n[t(615)]+100-s),c=d(e,Math[t(564)](n[t(583)]-e[t(611)]),a,n[t(510)])[t(531)](e=>this[t(645)](e));c[t(585)](t=>!!t)&&(this[t(555)]=c)}[r(645)](t){const e=r,n=this[e(643)][e(596)][e(619)],i=this[e(643)][e(596)][e(606)],o=n[e(682)],s=t[e(690)][e(678)](),a=this[e(513)][e(563)][e(528)][s][e(610)][e(577)],c=n[e(560)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(690)]){if(!o)return null;o=o[i(528)][t]}return o}(c,t);if(!u)return null;const l=o[e(639)](u,t[e(656)]||0);return l?e(603)==t[e(522)]?this[e(621)](l,u):e(505)==t[e(522)]&&i[e(672)](l)[e(542)]?this[e(521)](l,u,t[e(656)]):this[e(614)](l,u,t[e(542)]):null}[r(621)](t,e){const n=r,i=this[n(643)][n(661)],o=this[n(643)][n(596)][n(606)][n(587)](t[n(607)]),s=i[n(588)](o);return new c({type:n(603),modelRange:s,domNode:e,offset:0})}[r(521)](t,e,n){const i=r,o=this[i(643)][i(661)],s=this[i(643)][i(596)][i(606)],a=this[i(643)][i(596)][i(619)][i(682)];if(n>=e[i(684)])return null;const l=s[i(672)](t),p=o[i(612)](l),f=s[i(507)](t),h=a[i(632)](f);return new c({type:i(505),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(614)](t,e,n){const i=r,s=this[i(643)][i(661)],a=this[i(643)][i(596)],u=a[i(606)],l=a[i(619)][i(682)],f=u[i(507)](t),h=u[i(587)](f),d=function(t){const e=i,n=t[e(607)],o=n[e(547)][e(637)][e(661)],s=n[e(516)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(499)))return r;if(!o[e(669)](n)[e(582)](t))return r;r=n}}(s[i(669)](h))||h;let g=u[i(670)](d),m=s[i(588)](d);const b=s[i(669)](d)[i(502)];if(b&&b.is(i(563),i(633))){const t=u[i(670)](b),e=l[i(632)](t),n=o.global[i(551)][i(562)](e)[i(523)];i(583)!=n&&i(625)!=n||(m=s[i(588)](b))}for(;g[i(607)]!==g[i(547)]&&0===g[i(600)];)g=g[i(607)];const k=new o.Rect(y(e)?e:p(e)),v=n?k[i(510)]-n:0,w=l[i(632)](g),I=new o.Rect(w);return new c({type:i(563),modelRange:m,domNode:w,offset:Math[i(617)](v)?v+k[i(500)]-I[i(500)]:0})}get[r(641)](){const t=r,e=this[t(643)][t(631)][t(620)](t(514));return Object[t(584)]({top:t(654),bottom:t(654),left:t(654),right:t(654)},e)}static[r(581)](t,e,n,i,o){return d(t,e,n,i,o)}}class c{[r(522)];[r(529)];[r(655)];[r(647)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(522)]=t,this[o(529)]=e,this[o(655)]=n,this[o(647)]=i}get[r(542)](){const t=r;if(!this[t(655)][t(570)][t(571)][t(599)](this[t(655)]))return 0;const e=new o.Rect(y(this[t(655)])?this[t(655)]:p(this[t(655)]));return t(603)==this[t(522)]?e[t(500)]+e[t(510)]/2:e[t(500)]+this[t(647)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=w,n=o.global[e(637)][e(612)]();return n[e(640)](t),n}(n);let c;c=0==e?h(a[i(538)],a[i(537)],t[i(573)],Array[i(536)](t[i(573)][i(528)])[i(520)](t)):h(a[i(538)],a[i(537)],t,e);const u=h(t,e,a[i(549)],a[i(604)]),l=new o.Rect(c)[i(586)];return(new o.Rect(u)[i(500)]+l)/2-new o.Rect(s)[i(500)]}function l(t){const e=r;return t[e(543)](e(615))&&t[e(543)](e(510))?Promise[e(664)]():new Promise(n=>{const i=e;function o(){const e=w;t[e(561)](e(653),o),t[e(561)](e(504),o),n()}t[i(506)]?n():(t[i(545)](i(653),o),t[i(545)](i(504),o))})}function p(t){const e=r,n=o.global[e(637)][e(612)]();return n[e(630)](t),n}function f(t,e,n){const i=r,s=o.global[i(637)][i(612)]();return s[i(554)](t,e),s[i(508)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(637)][s(612)]();return a[s(554)](t,e),a[s(508)](n,i),a}function d(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(528)][s(518)]()){let t=[];y(c)&&c[s(576)]&&!c[s(511)][s(634)]?t=g(c,r,e,n,i,o):I(c)&&(t=m(c,r,e,n,o)),t[s(684)]&&(a[s(628)](...t),e+=t[s(684)]*n,o=!1)}return a}function g(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(674)])&&y(l)&&Boolean(l[c(569)][c(599)](c(629))||l[c(687)](c(519)))&&(u[c(628)]({type:c(603),offset:0,path:[e-1]}),a=!0),c(627)==o.global[c(551)][c(562)](t)[c(657)]){let i=0,o=!1;for(const e of t[c(635)]())i+=e[c(510)],e[c(583)]>=n&&(o=!0);if(i<s&&o)return u[c(628)]({type:c(563),offset:0,path:[e]}),u}const p=t[c(687)](c(568));if(p&&function(t){const e=c;let n=!1;const i=t[e(679)][e(610)][e(577)],s=t[e(689)],r=t[e(525)],a=s&&o.global[e(551)][e(562)](s)[e(523)],u=s&&e(676)===s[e(524)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(592)!==a&&(n=!0),!n}(p)){const t=o.global[c(551)][c(562)](p)[c(523)];if(c(583)==t||c(625)==t)return u}const f=d(t,n,i,s,a);if(f[c(684)]){for(const t of f)u[c(628)]({type:t[c(522)],offset:t[c(542)],textOffset:t[c(656)],path:[e,...t[c(690)]]}),n+=i,a=!1;return u}return u[c(628)](...function(t,e,n,i,s){const r=c,a=[];if(r(602)==o.global[r(551)][r(562)](t)[r(657)])return[];const u=[];for(const e of t[r(635)]())if(e[r(583)]>=n){for(const t of u)t[r(510)]+=e[r(510)];u[r(628)]({height:e[r(510)]}),n+=i}for(const t of u)s||a[r(628)]({type:r(563),offset:t[r(510)],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(635)]())if(r[s(583)]>=n){const r=b(t,u,n,i);o||c[s(628)]({type:s(505),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function b(t,e,n,i){const o=r;let s=e,a=t[o(684)];for(;a-s>1;){const e=Math[o(501)]((s+a)/2);v(f(t,s,e),n,i)?a=e:s=e}return s}function k(){const t=["complete","findMappedViewAncestor","setEnd","calc( ","height","style","then","_pagesContainer","pagination.pageMargins","attributeStyleMap","getAncestors","paddingRight","entries",".page-break","indexOf","_mapTextPageStarterInfoToPageBreakInfo","type","float","className","previousElementSibling","class","cancel","childNodes","modelRange","ready","map","change:isEnabled","6486273NAQvqs","setTemplate","nodeType","from","startOffset","startContainer","update","bind","destroy","offset","hasAttribute","excludeScrollbarsAndBorders","addEventListener","listenTo","root","100px","endContainer","border-box","window","8220vfISoL","hidden","setStart","pageBreaks","8795tCnddc","PaginationEditing","values","4640811CYrHck","getDomRoot","removeEventListener","getComputedStyle","element","floor","_recalculatePageBreaksDebounced","8rlSqEe","sort","figure.image","classList","ownerDocument","body","div","parentNode","remove","auto","offsetParent","rootName","img","DOCUMENT_POSITION_PRECEDING","race","_findPageStarterInfos","isTouching","left","assign","every","bottom","toModelElement","createRangeOn","19670060ZQeAsc","low","_onUiReady","none","_updatePageBreaksData","init","_getAttachedDomRoot","editing","afterInit","paddingLeft","contains","index","isOfficialPlugin","table-cell","manual","endOffset","pluginName","mapper","parent","absolute","ck-pagination-view","dataset","scrollLeft","createRange","cloneNode","_mapElementPageStarterInfoToPageBreakInfo","width","querySelectorAll","round","all","view","get","_mapManualPageStarterInfoToPageBreakInfo","once","2958WmzSGq","isEnabled","right","clear","table-row","push","page-break","selectNode","config","mapViewToDom","imageBlock","position","getClientRects","firstChild","document","plugins","domPositionToView","selectNodeContents","_configuredPaddings","domRoots","editor","-99999px","_mapPageStarterInfoToPageBreakInfo","nextSibling","_offset","removeAttribute","TEXT_NODE","fromCharCode","href","pagination-config-not-found","load","10mm","_domNode","textOffset","display"," - ","772465vYSlck","ELEMENT_NODE","model"," 0 ","PaginationLookup","resolve","set","childElementCount","compareDocumentPosition","226pFkUNd","createPositionBefore","toViewElement","548536hGpesN","toModelPosition","render","previousSibling","isPremiumPlugin","ck-fake-selection-container","join","shift","parentElement","bindTemplate","pagination","domConverter","append","length","locale","insertBefore","closest","_recalculatePageBreaks","nextElementSibling","path","rootElement","top","ceil","nodeBefore","ck-reset","error","text"];return(k=function(){return t})()}function v(t,e,n){const i=r;for(const o of t[i(635)]())if(o[i(583)]>=e&&o[i(583)]<e+n)return!0;return!1}function w(t,e){const n=k();return(w=function(t,e){return n[t-=499]})(t,e)}function y(t){const e=r;return t[e(535)]==Node[e(660)]}function I(t){const e=r;return t[e(535)]==Node[e(649)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),A=n.n(S),T=n(667),E=n.n(T),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=E(),O.insert=A().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(){const t=["pageNumber","ck-pagination-view-line","setTemplate","38hfkKPl","1372344sGRbuQ","div","set","12366657goKXup","top","6026008kJjjrc","2180KMyflx","46790zLlXFP","4118646aKaCJZ","width","isVisible","bindTemplate","20kqALMR","ck-hidden","left","12770rCdBcc","3588718rKzQFB"];return(B=function(){return t})()}function D(t,e){const n=B();return(D=function(t,e){return n[t-=190]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(802887===-parseInt(e(202))/1*(parseInt(e(194))/2)+parseInt(e(203))/3+parseInt(e(201))/4*(-parseInt(e(210))/5)+parseInt(e(195))/6+-parseInt(e(190))/7+-parseInt(e(200))/8+-parseInt(e(198))/9*(-parseInt(e(207))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const M=(0,o.toUnit)("px");class K extends e.View{constructor(){const t=D;super();const e=this[t(206)];this[t(197)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(193)]({tag:t(196),attributes:{"data-page-number":e.to(t(191)),class:["ck",t(192),e.if(t(205),t(208),t=>!t)],style:{left:e.to(t(209),t=>M(t)),top:e.to(t(199),t=>M(t)),width:e.to(t(204),t=>M(t))}}})}}const G=j;!function(t){const e=j,n=t();for(;;)try{if(853004===-parseInt(e(283))/1+parseInt(e(282))/2+parseInt(e(306))/3+parseInt(e(303))/4+parseInt(e(297))/5*(-parseInt(e(295))/6)+-parseInt(e(293))/7*(-parseInt(e(285))/8)+-parseInt(e(307))/9*(parseInt(e(305))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);class V{[G(294)];[G(300)]=new Set;[G(296)]=new Set;constructor(t){const e=G;this[e(294)]=t.ui[e(304)][e(287)]}[G(292)](){const t=G;for(const e of this[t(296)])e[t(292)]()}[G(281)](){const t=G;for(const e of this[t(300)])e[t(290)]=!1,this[t(296)][t(301)](e);this[t(300)][t(298)]()}[G(288)](t,e,n,i){const s=G;let r;this[s(296)][s(302)]?(r=(0,o.first)(this[s(296)][s(289)]()),this[s(296)][s(286)](r)):r=new K,r[s(284)]({pageNumber:i,left:t,top:e,width:n}),r[s(290)]=!0,this[s(294)][s(291)](r)||this[s(294)][s(301)](r),this[s(300)][s(301)](r)}[G(299)](t){const e=G;for(const t of[...this[e(300)],...this[e(296)]])this[e(294)][e(291)](t)&&this[e(294)][e(280)](t);this[e(294)]=t}}function j(t,e){const n=F();return(j=function(t,e){return n[t-=280]})(t,e)}function F(){const t=["225ygwRgc","remove","cleanLines","1741556jeXjKl","1355200lTcmcB","set","32hgwpDj","delete","body","showLine","values","isVisible","has","destroy","192941WOeOuy","_viewCollection","150dHblBH","_hiddenLines","22745SvmeJC","clear","setViewCollection","_visibleLines","add","size","6129308GusFSt","view","273550AxouuN","1477341GsQmOp"];return(F=function(){return t})()}const U=X;!function(t){const e=X,n=t();for(;;)try{if(552137===parseInt(e(275))/1*(parseInt(e(230))/2)+parseInt(e(243))/3+parseInt(e(293))/4*(-parseInt(e(300))/5)+-parseInt(e(285))/6+-parseInt(e(289))/7+-parseInt(e(236))/8+parseInt(e(295))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(q);const z=U(252);function X(t,e){const n=q();return(X=function(t,e){return n[t-=226]})(t,e)}function q(){const t=["_resizeObserver","document","length","pageBreaks","isOfficialPlugin","ck-pagination_enabled","plugins","body","_scrollableEditingRootDomAncestor","top","destroy","init","height","showLine","bottom","roots","set","_paginationLookupPlugin","_toggleEditingRootsClass","instant","BODY","pageNumber","values","setupScrollableAncestor","_updatePageBreakLines","_renderPageBreakLines","scroll","parentElement","1089412wpvudX","change:pageBreaks","listenTo","editor","scrollToPage","cleanLines","window","width","editing","addClass","5843574QQWDTz","PaginationEditing","push","PaginationLookup","5577439IkxYif","domRoots","left","ownerDocument","548AUBHzk","change","20827386bAVHJr","PaginationRenderer","offset","getComputedStyle","auto","39065kpMhKo","excludeScrollbarsAndBorders","isEnabled","tagName","scrollLeft","once","resize","pluginName","_getAttachedDomRoot","update","_getPageBreakLineOffset","smooth","ready","2shGnpe","linesRepository","scrollTo","isPremiumPlugin","change:isEnabled","contains","6652352NBxHhP","stopListening","isMotionReduced","get","removeClass","_onUiReady","overflowY","2463606xvMogh","bind","scrollTop","view"];return(q=function(){return t})()}class H extends t.Plugin{[U(231)];[U(255)]=null;[U(247)]=null;[U(264)];static get[U(307)](){return U(296)}static get[U(251)](){return!0}static get[U(233)](){return!0}[U(258)](){const t=U;this[t(263)]({pageNumber:1}),this[t(231)]=new V(this[t(278)]),this[t(255)]=null,this[t(247)]=null,this[t(264)]=this[t(278)][t(253)][t(239)](t(288)),this[t(244)](t(302)).to(this[t(278)][t(253)][t(239)](t(286))),this[t(278)].ui[t(305)](t(229),()=>this[t(241)]()),this[t(265)](z),this.on(t(234),(e,n,i)=>{const o=t;i||this[o(231)][o(280)](),this[o(265)](z,i)})}[U(257)](){const t=U;this[t(265)](z,!1),this[t(231)][t(257)](),this[t(255)]=null,this[t(247)]&&this[t(247)][t(257)]()}[U(279)](t){const e=U;if(!this[e(302)])return;const n=t>1?this[e(227)](t-1):0;this[e(255)][e(232)]({top:n-10,left:this[e(255)][e(304)],behavior:o.env[e(238)]?e(266):e(228)})}[U(270)](){const t=U,e=this[t(278)],n=this[t(308)]();n?(this[t(255)]&&e.ui[t(246)][t(237)](this[t(255)],t(273)),this[t(255)]=function(e){const n=t;let i=e;do{i=i[n(274)];const t=o.global[n(281)][n(298)](i)[n(242)];if(n(299)==t||n(273)==t)break}while(n(267)!=i[n(303)]);return i}(n),e.ui[t(246)][t(277)](this[t(255)],t(273),()=>{this[t(271)]()},{usePassive:!0}),this[t(247)]&&this[t(247)][t(257)](),this[t(247)]=new o.ResizeObserver(this[t(255)],()=>{this[t(271)]()})):e.ui[t(305)](t(226),()=>this[t(270)]())}[U(241)](){const t=U,e=this[t(278)];this[t(308)]()?(this[t(270)](),e.ui[t(246)][t(277)](o.global[t(281)],t(306),()=>this[t(271)]()),this[t(277)](this[t(264)],t(276),()=>this[t(271)]())):e.ui[t(305)](t(226),()=>this[t(241)]())}[U(308)](){const t=U;for(const e of this[t(278)][t(283)][t(246)][t(290)][t(269)]())if(e[t(292)][t(254)][t(235)](e))return e;return null}[U(271)](){const t=U;if(!this[t(302)])return;const e=this[t(308)](),n=this[t(264)][t(250)];if(this[t(231)][t(280)](),!e||1==n[t(249)])return void(this[t(268)]=1);const i=new o.Rect(e)[t(301)](),s=new o.Rect(this[t(255)])[t(301)](),r=s[t(256)]+s[t(259)]/3;let a=!1;const c=[];for(let e=1;e<n[t(249)];e++){const n=this[t(227)](e,s);if(!n)continue;const o=s[t(256)]+n-this[t(255)][t(245)];c[t(287)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(268)]=e,a=!0)}this[t(272)](c),a||(this[t(268)]=n[t(249)])}[U(272)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(281)];if(t[e(249)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(256)]<s&&s<o[e(261)]&&this[e(231)][e(260)](r[e(291)]+n,s+i,r[e(282)],a+1)}[U(227)](t,e=null){const n=U,i=this[n(264)][n(250)][t][n(297)];return i?(e||(e=new o.Rect(this[n(255)])[n(301)]()),i-e[n(256)]+this[n(255)][n(245)]):0}[U(265)](t,e=!0){const n=U,i=this[n(278)][n(283)][n(246)];i[n(294)](o=>{const s=n;for(const n of i[s(248)][s(262)])e?o[s(284)](t,n):o[s(240)](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 W=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=E(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(W.A,Q);W.A&&W.A.locals&&W.A.locals;function Y(t,e){const n=$();return(Y=function(t,e){return n[t-=231]})(t,e)}const Z=Y;function $(){const t=["has","Go to the previous page (also move selection)","paginationLicenseKeyValid","mapper","5136294BQEEUb","trialLimit","addKeystrokeInfoGroup","paginationLicenseKeyEvaluationLimit","setStyle","requires","isEnabled","start","always","isPremiumPlugin","set","nodeAfter","isOfficialPlugin","Go to the next page (also move selection)","options","substring","_showLicenseError","schema","focus","usageLimit","_setUpDataDowncastConversion","setAttribute","PaginationEditing","evaluationLimit","name","523604VrexyX","editing","Pagination","moveSelectionToPage","conversion","dataDowncast","change:pageBreaks","view","Shift+Pagedown","listenTo","change","add","pagination","config","10427193KijTJO","getNearestSelectionRange","writer","pluginName","_setupKeystrokes","index","removeMarker","parent","keystrokes","length","destroy","model","253893dmOkSN","type","data-pagination-page","addMarker:","setSelection","paginationLicenseKeyExpired","pagination:","domainLimit","expired","page-break-before","init","toViewPosition","bind","manual","featureNotAllowed","consumable","pageNumber","forward","locale","goToNextPage","1836458Fapdbz","scrollToPage","totalPages","page-break","520HYhvXg","paginationLicenseKeyDomainLimit","get","paginationLicenseKeyNotAllowed","Shift+Pageup","invalid","for","addMarker","text","1988745sFkwcI","_validatePageNumber","_updatePageBreakMarkers","editor","modelRange","consume","paginationLicenseKeyInvalid","plugins","insert","accessibility","toViewElement","41083AGfPfH","paginationLicenseKeyUsageLimit","element","getContainedElement","end","_licenseKeyCheckInterval","root","checkChild","createPositionAt","data","paginationLicenseKeyTrialLimit","markers","span","stop","$text","offset","pageBreaks","goToPreviousPage","36zKtSiM","hasClass","bindElementToMarker","licenseKey","Keystrokes for navigating through documents","updateMarker","createContainerElement","getFillerOffset","textNode"];return($=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(590348===-parseInt(e(294))/1+-parseInt(e(340))/2+-parseInt(e(320))/3*(parseInt(e(256))/4)+parseInt(e(353))/5+parseInt(e(269))/6+-parseInt(e(238))/7*(-parseInt(e(344))/8)+parseInt(e(308))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(259)];[Z(243)];static get[Z(311)](){return Z(291)}static get[Z(281)](){return!0}static get[Z(278)](){return!0}static get[Z(274)](){return[a,H]}[Z(330)](){const t=Z;this[t(279)]({pageNumber:1,totalPages:1});const e=this[t(356)][t(234)][t(346)](t(296)),n=this[t(356)][t(234)][t(346)](a),i=this[t(356)][t(234)][t(346)](H);this[t(332)](t(275)).to(e),this[t(289)](),this[t(332)](t(336)).to(i),this[t(303)](n,t(300),(e,n,i,o)=>{const s=t;this[s(342)]=i[s(317)],this[s(355)](i,o)}),this[t(312)](),this[t(259)]=this[t(356)][t(307)][t(346)](t(259));const o=this[t(356)];this[t(243)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(267)==s||e(233)==s||e(325)==s||e(345)==s||e(347)==s||e(272)==s||e(248)==s||e(239)==s){delete o[i],n=s,clearInterval(this[e(243)]),this[e(243)]=void 0;break}}e(233)==n&&o[e(285)](e(349)),e(325)==n&&o[e(285)](e(328)),e(345)==n&&o[e(285)](e(327)),e(347)==n&&o[e(285)](e(334),e(296)),e(272)==n&&o[e(285)](e(292)),e(248)==n&&o[e(285)](e(270)),e(239)==n&&o[e(285)](e(288))},1e3)}[Z(318)](){const t=Z;super[t(318)](),this[t(243)]&&clearInterval(this[t(243)])}[Z(341)](t){const e=Z;this[e(275)]&&this[e(356)][e(234)][e(346)](H)[e(341)](this[e(354)](t))}[Z(297)](t){const e=Z;if(!this[e(275)])return;const n=this[e(356)],i=this[e(356)][e(234)][e(346)](a)[e(254)][t-1];i&&n[e(319)][e(304)](t=>{const o=e;switch(i[o(321)]){case o(333):{const e=n[o(319)][o(286)][o(309)](i[o(231)][o(242)],o(337));t[o(324)](e);break}case o(240):{const e=n[o(319)][o(286)][o(309)](i[o(231)][o(276)],o(337));t[o(324)](e);break}case o(352):{const e=i[o(231)][o(276)];if(e[o(264)]&&" "===e[o(264)][o(247)][e[o(253)]]){const n=t[o(246)](e[o(315)],e[o(253)]+1);t[o(324)](n)}else t[o(324)](i[o(231)])}}n[o(295)][o(301)][o(287)]()})}[Z(339)](){const t=Z,e=this[t(354)](this[t(336)]+1);this[t(297)](e),this[t(341)](e)}[Z(255)](){const t=Z,e=this[t(354)](this[t(336)]-1);this[t(297)](e),this[t(341)](e)}[Z(355)](t,e){const n=Z,i=this[n(356)][n(319)];this[n(275)]&&i[n(304)](o=>{const s=n;for(let e=1;e<t[s(317)];e++){const n=t[e][s(231)],r=s(326)+(e+1);i[s(249)][s(265)](r)?o[s(261)](r,{range:n}):o[s(351)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(317)];n<e[s(317)];n++){const t=s(326)+(n+1);i[s(249)][s(265)](t)&&o[s(314)](t)}})}[Z(289)](){const t=Z,e=t(306);this[t(356)][t(298)][t(350)](t(299))[t(305)](n=>{const i=t;n.on(i(323)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(283)][s(306)])return;if(!o[s(335)][s(232)](e,t[s(293)]))return;const r=e[s(241)]();let a=r?o[s(268)][s(237)](r):null;if(!a){const t=e[s(276)];if(o[s(286)][s(245)](t,s(252))){const e=o[s(268)][s(331)](t);a=o[s(310)][s(262)](s(250)),a[s(263)]=()=>null,o[s(310)][s(235)](e,a)}else{const e=t[s(280)];a=o[s(268)][s(237)](e)}}for(;a[s(315)]!==a[s(244)]&&0===a[s(313)];)a=a[s(315)];const c=n[s(284)](11);a[s(257)](s(343))||(o[s(310)][s(273)](s(329),s(277),a),o[s(310)][s(290)](s(322),c,a),o[s(268)][s(258)](a,n)),t[s(251)]()})})}[Z(312)](){const t=Z,e=this[t(356)];e[t(316)][t(279)](t(348),(e,n)=>{this[t(255)](),n()}),e[t(316)][t(279)](t(302),(e,n)=>{this[t(339)](),n()}),e[t(236)][t(271)]({id:t(306),label:J(e[t(338)],t(260)),keystrokes:[{label:J(e[t(338)],t(266)),keystroke:t(348),mayRequireFn:!0},{label:J(e[t(338)],t(282)),keystroke:t(302),mayRequireFn:!0}]})}[Z(354)](t){const e=Z;return t<1&&(t=1),t>this[e(342)]&&(t=this[e(342)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=A().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=466]})(t,e)}function rt(){const t=["365420jyCmbH","value","73161WKNyJC","setTemplate","blur","ariaLabel","max","85YzDpii","set","ck-page-navigator","isEnabled","stopPropagation","div","key","2381253BgetWJ","fire","firstChild","bindTemplate","92760oGKoyl","keyCode","change:pageNumber","select","ck-disabled","ArrowUp","keydown","1073154VqJVYL","2587752AsyVdf","span","listenTo","pageNumberView","render","pageNumber","isReadOnly","valueAsNumber","preventDefault","Current page number (from 1 to %0)","isNaN","bind","enter","element","101QdBFtR","ArrowDown","checkValidity","navigation","totalPages","3070icXmel","numeric","470nUqVkU","focus"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(240195===-parseInt(e(488))/1*(parseInt(e(493))/2)+-parseInt(e(473))/3+parseInt(e(497))/4+parseInt(e(504))/5*(parseInt(e(466))/6)+parseInt(e(511))/7+-parseInt(e(474))/8+parseInt(e(499))/9*(parseInt(e(495))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(477)];constructor(t){const n=ot;super(t);const i=this[n(514)];this[n(505)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(477)]=new e.InputNumberView(t,{min:1,step:1}),this[n(477)][n(505)]({inputMode:n(494),tabIndex:-1}),this[n(477)][n(485)](n(502)).to(this,n(492),e=>J(t,n(483),e)),this[n(477)][n(485)](n(503)).to(this,n(492)),this[n(477)][n(485)](n(480)).to(this,n(507),t=>!t),this[n(500)]({tag:n(509),attributes:{class:["ck",n(506),i.if(n(507),n(470),t=>!t)]},children:[this[n(477)],{tag:n(475),children:[{text:i.to(n(492))}]}]})}[ot(478)](){const t=ot;super[t(478)]();const e=this[t(477)][t(487)],n=e=>{const n=t;this[n(477)][n(487)][n(498)]=String(e)};n(this[t(479)]),this.on(t(468),(t,e,i)=>{n(i)}),this[t(476)](e,t(472),(n,i)=>{const s=t;if(s(471)===i[s(510)]||s(489)===i[s(510)])return void i[s(508)]();if(i[s(467)]!==o.keyCodes[s(486)])return;i[s(482)]();const r=e[s(481)];Number[s(484)](r)?e[s(498)]=String(this[s(479)]):(e[s(490)]()?this[s(479)]=r:r>this[s(492)]?(this[s(479)]=this[s(492)],e[s(498)]=String(this[s(492)])):(this[s(479)]=1,e[s(498)]="1"),this[s(512)](s(491),this[s(479)]))}),this[t(476)](e,t(501),()=>{const n=t;e[n(498)]=String(this[n(479)])}),this[t(476)](e,t(496),()=>{const e=t;this[e(477)][e(469)]()})}[ot(496)](){const t=ot;this[t(487)][t(513)][t(496)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=217]})(t,e)}function lt(){const t=["161TTLLwq","scrollToPage","navigation","20ZLBujv","Shift+PageDown","keystroke","6HDfqlF","isOfficialPlugin","2245507ijhxVX","tooltip","PaginationEditing","Shift+PageUp","goToPreviousPage","isEnabled","plugins","icon","isPremiumPlugin","previousPage","8772965lUiAWb","pageNavigation","locale","72nFwYXS","goToNextPage","1017339PBDRzE","moveSelectionToPage","12845178ZYLJLk","label","468344bxWvfi","editor","425514hvXGzo","pageNumber","nextPage","componentFactory","pluginName","Go to previous page","bind","listenTo","execute","3cCUJML","PaginationUI","init","5273010AKifxr","totalPages","add","get","Go to next page"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(979011===-parseInt(e(245))/1*(parseInt(e(236))/2)+parseInt(e(230))/3*(parseInt(e(256))/4)+parseInt(e(225))/5*(parseInt(e(259))/6)+-parseInt(e(253))/7*(-parseInt(e(234))/8)+-parseInt(e(232))/9+-parseInt(e(248))/10+-parseInt(e(261))/11*(parseInt(e(228))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(240)](){return ct(246)}static get[ct(260)](){return!0}static get[ct(223)](){return!0}[ct(247)](){const t=ct,n=this[t(235)],i=n[t(221)][t(251)](t(217));n.ui[t(239)][t(250)](t(226),e=>{const n=t,o=new at(e);return o[n(242)](n(237)).to(i),o[n(242)](n(249)).to(i),o[n(242)](n(220)).to(i),o.on(n(255),(t,e)=>{const o=n;i[o(231)](e),i[o(254)](e)}),o}),n.ui[t(239)][t(250)](t(238),o=>{const s=t,r=new e.ButtonView(o);return r[s(220)]=!0,r[s(233)]=J(n[s(227)],s(252)),r[s(222)]=et.IconArrowDown,r[s(262)]=!0,r[s(258)]=s(257),r[s(242)](s(220)).to(i),this[s(243)](r,s(244),()=>{i[s(229)]()}),r}),n.ui[t(239)][t(250)](t(224),o=>{const s=t,r=new e.ButtonView(o);return r[s(220)]=!0,r[s(233)]=J(n[s(227)],s(241)),r[s(222)]=et.IconArrowUp,r[s(262)]=!0,r[s(258)]=s(218),r[s(242)](s(220)).to(i),this[s(243)](r,s(244),()=>{i[s(219)]()}),r})}}const ft=dt;function ht(){const t=["3291281FAosaa","isBlink","isPremiumPlugin","7565568rbRvAQ","config","728086RtQbkz","get","294taSgQi","forceDisabled","browserCheck","plugins","init","requires","isEnabled","pluginName","editor","780524WiSGrl","70405lBFBXs","pagination.enableOnUnsupportedBrowsers","863644ORVIMq","bind","isOfficialPlugin","set","totalPages","pageNumber","scrollToPage","ready","Pagination","549591UuxaiC"];return(ht=function(){return t})()}function dt(t,e){const n=ht();return(dt=function(t,e){return n[t-=371]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(422064===parseInt(e(375))/1+parseInt(e(389))/2+parseInt(e(398))/3+-parseInt(e(386))/4+parseInt(e(387))/5*(parseInt(e(377))/6)+-parseInt(e(399))/7+-parseInt(e(373))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[ft(384)](){return ft(397)}static get[ft(391)](){return!0}static get[ft(372)](){return!0}static get[ft(382)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(383)]=!1}[ft(381)](){const t=ft;this[t(392)]({pageNumber:1,totalPages:1});const e=this[t(385)][t(380)][t(376)](tt);this[t(390)](t(394)).to(e),this[t(390)](t(393)).to(e),o.env[t(371)]||this[t(385)][t(374)][t(376)](t(388))?this[t(385)].on(t(396),()=>{this[t(383)]=!0}):this[t(378)](t(379))}[ft(395)](t){const e=ft;this[e(385)][e(380)][e(376)](tt)[e(395)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=295]})(t,e)}function bt(){var t=["3641860FpDDNu","5615778mkSJSr","27409JgAvnW","362760EtOiXI","1034226DDaMbB","27161688pbsbfp","110klmgyX","3584028gaKjJZ"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(847895===-parseInt(e(299))/1*(parseInt(e(295))/2)+-parseInt(e(301))/3+parseInt(e(296))/4+-parseInt(e(297))/5+-parseInt(e(300))/6+-parseInt(e(298))/7+parseInt(e(302))/8)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x52abb0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5f2405,InputNumberView as _0x93f468,ButtonView as _0xf5a667}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x534891,Rect as _0x16966e,global as _0x2fd9a5,uid as _0x55c3b7,toUnit as _0x3fec48,first as _0x4d9cf3,env as _0x433bfe,ResizeObserver as _0x564e9a,keyCodes as _0x4a7b56}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x36c645}from'es-toolkit/compat';import{IconArrowDown as _0x5cd26a,IconArrowUp as _0x25abfd}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x52abb0{['_recalculatePageBreaksDebounced']=_0x36c645(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x534891('pagination-config-not-found',this['editor']['config']);const _0x5b9d93=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5b9d93),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xe934e1,_0x1b4cd4,_0x46ef5a)=>{_0x46ef5a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xd1721f){const _0x3f2426=_0x1e2680([0x64,0x6a,0x42,0x72,0x4a,0x4c,0x65,0x50,0x33,0x44,0x6b,0x43,0x75,0x59,0x77,0x71,0x68,0x47,0x4d,0x78,0x49,0x41,0x7a,0x5a,0x36,0x54,0x53,0x45,0x6c,0x62,0x34,0x39,0x57,0x6e,0x31,0x4f,0x79,0x48,0x55,0x67,0x46,0x66,0x6f,0x69,0x73,0x70,0x37,0x56,0x61,0x35,0x30,0x76,0x38,0x74,0x52,0x6d,0x4b,0x4e,0x58,0x32,0x63,0x51]),_0x158a0b=0x4ce272b3,_0x388f31=0x4ce51fa3^_0x158a0b,_0x46c107=window[_0x1e2680([0x44,0x61,0x74,0x65])][_0x1e2680([0x6e,0x6f,0x77])](),_0x55b3fa=_0xd1721f[_0x1e2680([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bdc73=new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34b164=>{_0x55b3fa[_0x1e2680([0x6f,0x6e,0x63,0x65])](_0x1e2680([0x72,0x65,0x61,0x64,0x79]),_0x34b164);}),_0x5c8529={[_0x1e2680([0x6b,0x74,0x79])]:_0x1e2680([0x45,0x43]),[_0x1e2680([0x75,0x73,0x65])]:_0x1e2680([0x73,0x69,0x67]),[_0x1e2680([0x63,0x72,0x76])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36]),[_0x1e2680([0x78])]:_0x1e2680([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1e2680([0x79])]:_0x1e2680([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1e2680([0x61,0x6c,0x67])]:_0x1e2680([0x45,0x53,0x32,0x35,0x36])},_0x50382e=_0x55b3fa[_0x1e2680([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e2680([0x67,0x65,0x74])](_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x199cc9(){let _0x44fb30,_0xbb371c=null,_0x2b509f=null;try{if(_0x50382e==_0x1e2680([0x47,0x50,0x4c]))return _0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44fb30=_0xfe4a16(),!_0x44fb30)return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b509f=_0x215ce8(_0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44fb30[_0x1e2680([0x6a,0x74,0x69])])),await _0x571e1a()?_0xc160c6()?_0x27fc90()?_0x1e2680([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5011db()?(_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbb371c=_0x561feb(_0x1e2680([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x74,0x72,0x69,0x61,0x6c])&&(_0xbb371c=_0x561feb(_0x1e2680([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45acb8()):_0x1e2680([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27fc90(){const _0x1abcfd=[_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e2680([0x74,0x72,0x69,0x61,0x6c])][_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46c107/0x3e8:0xe10*_0x388f31;return _0x44fb30[_0x1e2680([0x65,0x78,0x70])]<_0x1abcfd;}function _0xc160c6(){const _0x5248fe=_0x44fb30[_0x1e2680([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5248fe&&(!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a]))||!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x50,0x41,0x47])));}function _0x5011db(){const _0x35341b=_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35341b||0x0==_0x35341b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x318bab}=new URL(window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35341b[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318bab))return!0x0;const _0x431e32=_0x318bab[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));return _0x35341b[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508f57=>_0x508f57[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a])))[_0x1e2680([0x6d,0x61,0x70])](_0x16cd26=>_0x16cd26[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])))[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x247ccd=>_0x247ccd[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x6d,0x61,0x70])](_0x5769b4=>Array(_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5769b4[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x66,0x69,0x6c,0x6c])](_0x5769b4[0x0]===_0x1e2680([0x2a])?_0x1e2680([0x2a]):'')[_0x1e2680([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5769b4))[_0x1e2680([0x73,0x6f,0x6d,0x65])](_0x482c07=>_0x431e32[_0x1e2680([0x65,0x76,0x65,0x72,0x79])]((_0x3be8c5,_0x2acf9f)=>_0x482c07[_0x2acf9f]===_0x3be8c5||_0x482c07[_0x2acf9f]===_0x1e2680([0x2a])));}function _0x45acb8(){return _0xbb371c&&_0x2b509f?new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45e649,_0x23133f)=>{_0xbb371c[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x45e649,_0x23133f),_0x2b509f[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x44bce0=>{_0x44bce0!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x45e649(_0x44bce0);},_0x23133f);}):_0xbb371c||_0x2b509f||_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);}}function _0x215ce8(_0x5c0045,_0x1ce821){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db817=>{if(_0x2bdb33())return _0x5db817(_0x1e2680([0x56,0x61,0x6c,0x69,0x64]));_0x559d79(),_0x55b3fa[_0x1e2680([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18c302=!0x1;const _0x16532b=_0x55c3b7();function _0x496515(_0x732673){return!!_0x732673&&(typeof _0x732673===_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x732673===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x732673[_0x1e2680([0x74,0x68,0x65,0x6e])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x732673[_0x1e2680([0x63,0x61,0x74,0x63,0x68])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44c920(_0x48443d){_0x31f2c7(_0x48443d)[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x579244=>{if(!_0x579244||_0x579244[_0x1e2680([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e2680([0x6f,0x6b]))return _0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11237(_0x53e00a(_0x16532b+_0x1ce821))!=_0x579244[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5cccb4=>(_0x22ba93(),_0x5cccb4),()=>{const _0x502e2b=_0x50ef81();return null==_0x502e2b?(_0x22ba93(),_0x1e2680([0x56,0x61,0x6c,0x69,0x64])):_0x1e2680(_0x46c107-_0x502e2b>(0x68eef6b3^_0x158a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5db817)[_0x1e2680([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ecd26=0x4cd49c33^_0x158a0b;function _0x22ba93(){const _0x3beca7=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x42b30c=_0x4c2780(_0x11237(window[_0x1e2680([0x4d,0x61,0x74,0x68])][_0x1e2680([0x63,0x65,0x69,0x6c])](_0x46c107/_0x5ecd26)));window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3beca7,_0x42b30c);}function _0x50ef81(){const _0x5bc08d=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x17d34d=window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bc08d);return _0x17d34d?window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c2780(_0x17d34d),0x10)*_0x5ecd26:null;}function _0x31f2c7(_0x4b2043){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3023d4,_0x5701c2)=>{_0x4b2043[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x3023d4,_0x5701c2),window[_0x1e2680([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5701c2,0x4ce3a673^_0x158a0b);});}}_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d693d,_0x2b61e0)=>{if(_0x2b61e0[0x0]!=_0x5c0045)return _0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b61e0[0x1]={..._0x2b61e0[0x1],[_0x1e2680([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16532b};},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x68,0x69,0x67,0x68])}),_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x332e4f=>{_0x496515(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18c302=!0x0,_0x44c920(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x6c,0x6f,0x77])}),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>{_0x18c302||_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bdb33(){return _0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e2680([0x61,0x75,0x74,0x6f]);}function _0x559d79(){_0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e2680([0x61,0x75,0x74,0x6f]);}}function _0x561feb(_0x2bbb2e){const _0x4ccedf=[new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3ae9=>setTimeout(_0x2e3ae9,0x4ceb4c7f^_0x158a0b)),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f09e9=>{let _0x37245d=0x0;_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x6f,0x6e])](_0x1e2680([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cc5fd,_0x4ae135)=>{_0x4ae135[0x0][_0x1e2680([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37245d++,_0x37245d==(0x4ce2734b^_0x158a0b)&&(_0x3f09e9(),_0x3cc5fd[_0x1e2680([0x6f,0x66,0x66])]());});}))];return window[_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e2680([0x72,0x61,0x63,0x65])](_0x4ccedf)[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>_0x2bbb2e);}async function _0x6f2c00(){await _0x4bdc73,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35c869(_0x485b93){const _0x2ebdd1=_0x3e7a32();_0x55b3fa[_0x2ebdd1]=_0x1e2680([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x485b93,_0x485b93!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x6f2c00();}function _0x3e7a32(){const _0x96333b=window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e2680([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e2680([0x6e,0x6f,0x77])]())[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e2680([0x2e]),'');let _0x1223a9=_0x1e2680([0x64]);for(let _0x237151=0x0;_0x237151<_0x96333b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x237151+=0x2){let _0x254d46=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96333b[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237151,_0x237151+0x2));_0x254d46>=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254d46-=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1223a9+=_0x3f2426[_0x254d46];}return _0x1223a9;}function _0xfe4a16(){const _0x330ea1=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));if(0x3!=_0x330ea1[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e4db4(_0x330ea1[0x1]);function _0x2e4db4(_0x247688){const _0x30f2d5=_0x3bed9f(_0x247688);return _0x30f2d5&&_0x2811bc()?_0x30f2d5:null;function _0x2811bc(){const _0xa94a53=_0x30f2d5[_0x1e2680([0x6a,0x74,0x69])],_0x3e7ecd=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x113126={..._0x30f2d5,[_0x1e2680([0x6a,0x74,0x69])]:_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x113126[_0x1e2680([0x76,0x63])],_0x53e00a(_0x113126)==_0x3e7ecd;}}}async function _0x571e1a(){let _0x209a5a=!0x0;try{const _0x5317ed=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])),[_0x442557,_0x29f73c,_0x1c2cb2]=_0x5317ed;return _0x31fc71(_0x442557),await _0x1c7527(_0x442557,_0x29f73c,_0x1c2cb2),_0x209a5a;}catch{return!0x1;}function _0x31fc71(_0x492a95){const _0x5db544=_0x3bed9f(_0x492a95);_0x5db544&&_0x5db544[_0x1e2680([0x61,0x6c,0x67])]==_0x1e2680([0x45,0x53,0x32,0x35,0x36])||(_0x209a5a=!0x1);}async function _0x1c7527(_0x257404,_0x36a38d,_0x35d751){const _0x3ef5d2=window[_0x1e2680([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e2680([0x66,0x72,0x6f,0x6d])](_0x567294(_0x35d751),_0x346619=>_0x346619[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f106f=new window[(_0x1e2680([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e2680([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x257404+_0x1e2680([0x2e])+_0x36a38d),_0x238898=window[_0x1e2680([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e2680([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x238898)return;const _0x4ac41d=await _0x238898[_0x1e2680([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e2680([0x6a,0x77,0x6b]),_0x5c8529,{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x238898[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x68,0x61,0x73,0x68])]:{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ac41d,_0x3ef5d2,_0x2f106f)||(_0x209a5a=!0x1);}}function _0x3bed9f(_0x32346f){return _0x32346f[_0x1e2680([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e2680([0x65,0x79]))?JSON[_0x1e2680([0x70,0x61,0x72,0x73,0x65])](_0x567294(_0x32346f)):null;}function _0x567294(_0x165865){return window[_0x1e2680([0x61,0x74,0x6f,0x62])](_0x165865[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e2680([0x2b]))[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e2680([0x2f])));}function _0x53e00a(_0x20d1ca){let _0x2f5fcc=0x1505;function _0x368af2(_0xe0cf0a){for(let _0x22307d=0x0;_0x22307d<_0xe0cf0a[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22307d++){const _0x4753dc=_0xe0cf0a[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22307d);_0x2f5fcc=(_0x2f5fcc<<0x5)+_0x2f5fcc+_0x4753dc,_0x2f5fcc&=_0x2f5fcc;}}function _0x3d3c19(_0x168dae){Array[_0x1e2680([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x168dae)?_0x168dae[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d3c19):_0x168dae&&typeof _0x168dae==_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e2680([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x168dae)[_0x1e2680([0x73,0x6f,0x72,0x74])]()[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc425,_0x2d8026])=>{_0x368af2(_0x2bc425),_0x3d3c19(_0x2d8026);}):_0x368af2(window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x168dae));}return _0x3d3c19(_0x20d1ca),_0x2f5fcc>>>0x0;}function _0x11237(_0x579e90){return _0x579e90[_0x1e2680([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e2680([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e2680([0x30]));}function _0x4c2780(_0x50b8d3){return _0x50b8d3[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e2680([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e2680([0x6a,0x6f,0x69,0x6e])]('');}function _0xdbf432(){}function _0x1e2680(_0x28111f){return _0x28111f['map'](_0x7b7ebe=>String['fromCharCode'](_0x7b7ebe))['join']('');}_0x35c869(await _0x199cc9());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3bfea1=this['editor'],_0x1b1893=_0x3bfea1['editing']['view'],_0x34bed7=this['_getAttachedDomRoot']();if(!_0x34bed7||0x0===_0x34bed7['childElementCount'])return void _0x3bfea1['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3d9649,pageHeight:_0x435641}=_0x3bfea1['config']['get']('pagination'),{top:_0x3cea20,left:_0x5e3eeb,bottom:_0x1920e7,right:_0x207aab}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f2405(_0x3bfea1['locale']);const _0x52e0ce=this['_pagesContainer'];_0x52e0ce['set']('class',''),_0x52e0ce['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3d9649,'width':_0x3d9649,'height':'calc(\x20'+_0x435641+'\x20-\x20'+_0x3cea20+'\x20-\x20'+_0x1920e7+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x207aab+'\x200\x20'+_0x5e3eeb,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x52e0ce['bindTemplate']['to']('class')}}),_0x52e0ce['render'](),_0x34bed7['parentNode']['insertBefore'](_0x52e0ce['element'],_0x34bed7['nextSibling']),this['listenTo'](_0x1b1893,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2fd139 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2fd139['ownerDocument']['body']['contains'](_0x2fd139))return _0x2fd139;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3df61c=this['editor']['editing']['view'],_0x3f7840=this['_pagesContainer'],_0x30d2be=this['_getAttachedDomRoot']();if(!_0x30d2be)return Promise['resolve']();for(_0x3f7840['class']=['ck-reset','ck-pagination-view',..._0x30d2be['classList']]['join']('\x20');_0x3f7840['element']['firstChild'];)_0x3f7840['element']['firstChild']['remove']();const _0x414195=Array['from'](_0x3df61c['domRoots']);_0x414195['sort'](([,_0x7ac2a4],[,_0x133f28])=>_0x7ac2a4['compareDocumentPosition'](_0x133f28)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x18345b,_0x1cbbac]of _0x414195){const _0x4e471c=_0x1cbbac['cloneNode'](!0x0);'attributeStyleMap'in _0x4e471c&&_0x4e471c['attributeStyleMap']['clear'](),_0x4e471c['className']='',_0x4e471c['removeAttribute']('id'),_0x4e471c['dataset']['rootName']=_0x18345b,_0x3f7840['element']['append'](_0x4e471c);}return function(_0x1d0791){return Promise['all'](_0x1d0791['map'](_0x4f6e1c=>Promise['race']([m(_0x4f6e1c),p(0x3e8)])));}(Array['from'](_0x3f7840['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3f8aa2=this['_pagesContainer']['element'];if(!_0x3f8aa2['ownerDocument']['body']['contains'](_0x3f8aa2))return;const _0x4affd6=new _0x16966e(_0x3f8aa2)['excludeScrollbarsAndBorders'](),_0x40d214=_0x2fd9a5['window']['getComputedStyle'](_0x3f8aa2),_0x48162b=parseFloat(_0x40d214['paddingLeft'])+parseFloat(_0x40d214['paddingRight']),_0x3e767f=Math['floor'](_0x4affd6['width']+0x64-_0x48162b),_0xda3e0=b(_0x3f8aa2,Math['floor'](_0x4affd6['left']-_0x3f8aa2['scrollLeft']),_0x3e767f,_0x4affd6['height'])['map'](_0x21c8b1=>this['_mapPageStarterInfoToPageBreakInfo'](_0x21c8b1));_0xda3e0['every'](_0xc70e8a=>!!_0xc70e8a)&&(this['pageBreaks']=_0xda3e0);}['_mapPageStarterInfoToPageBreakInfo'](_0x4357b9){const _0x4856a5=this['editor']['editing']['view'],_0x4b105b=this['editor']['editing']['mapper'],_0x2ce70c=_0x4856a5['domConverter'],_0x4ab74c=_0x4357b9['path']['shift'](),_0x533dc0=this['_pagesContainer']['element']['childNodes'][_0x4ab74c]['dataset']['rootName'],_0x19e927=_0x4856a5['getDomRoot'](_0x533dc0);if(!_0x19e927)return null;const _0x3ac96f=function(_0x4c2d6a,_0x29e65c){let _0x80028f=_0x4c2d6a;for(const _0xe724d5 of _0x29e65c['path']){if(!_0x80028f)return null;_0x80028f=_0x80028f['childNodes'][_0xe724d5];}return _0x80028f;}(_0x19e927,_0x4357b9);if(!_0x3ac96f)return null;const _0x2dbbb7=_0x2ce70c['domPositionToView'](_0x3ac96f,_0x4357b9['textOffset']||0x0);return _0x2dbbb7?'manual'==_0x4357b9['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f):'text'==_0x4357b9['type']&&_0x4b105b['toModelPosition'](_0x2dbbb7)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3c3eab,_0x10ec9f){const _0x2575db=this['editor']['model'],_0x2601f3=this['editor']['editing']['mapper']['toModelElement'](_0x3c3eab['parent']),_0x583ca5=_0x2575db['createRangeOn'](_0x2601f3);return new K({'type':'manual','modelRange':_0x583ca5,'domNode':_0x10ec9f,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c8988,_0x2c013b,_0x20a5ce){const _0x513013=this['editor']['model'],_0x4904a9=this['editor']['editing']['mapper'],_0x38af61=this['editor']['editing']['view']['domConverter'];if(_0x20a5ce>=_0x2c013b['length'])return null;const _0xd387e2=_0x4904a9['toModelPosition'](_0x1c8988),_0x53f73d=_0x513013['createRange'](_0xd387e2),_0x386f74=_0x4904a9['findMappedViewAncestor'](_0x1c8988),_0x4c3f86=_0x38af61['mapViewToDom'](_0x386f74);return new K({'type':'text','modelRange':_0x53f73d,'domNode':_0x2c013b,'offset':w(_0x2c013b,_0x20a5ce,_0x4c3f86)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x31e820,_0x40f706,_0x5699d9){const _0x246ba5=this['editor']['model'],_0x38fe5a=this['editor']['editing'],_0x34935f=_0x38fe5a['mapper'],_0x523167=_0x38fe5a['view']['domConverter'],_0x4415e7=_0x34935f['findMappedViewAncestor'](_0x31e820),_0x2e2d7b=_0x34935f['toModelElement'](_0x4415e7),_0x311c5e=function(_0x149d7e){const _0x5add89=_0x149d7e['parent'],_0xa6187c=_0x5add89['root']['document']['model'],_0x3ed53a=_0x5add89['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f7f91=null;for(const _0x4bbda1 of _0x3ed53a){if(_0x4bbda1['is']('rootElement'))return _0x1f7f91;if(!_0xa6187c['createPositionBefore'](_0x4bbda1)['isTouching'](_0x149d7e))return _0x1f7f91;_0x1f7f91=_0x4bbda1;}}(_0x246ba5['createPositionBefore'](_0x2e2d7b)),_0x20ed2a=_0x311c5e||_0x2e2d7b;let _0x240f0f=_0x34935f['toViewElement'](_0x20ed2a),_0xf77689=_0x246ba5['createRangeOn'](_0x20ed2a);const _0x5f0dc1=_0x246ba5['createPositionBefore'](_0x20ed2a)['nodeBefore'];if(_0x5f0dc1&&_0x5f0dc1['is']('element','imageBlock')){const _0x2484ca=_0x34935f['toViewElement'](_0x5f0dc1),_0x174c10=_0x523167['mapViewToDom'](_0x2484ca),_0x25e468=_0x2fd9a5['window']['getComputedStyle'](_0x174c10)['float'];'left'!=_0x25e468&&'right'!=_0x25e468||(_0xf77689=_0x246ba5['createRangeOn'](_0x5f0dc1));}for(;_0x240f0f['parent']!==_0x240f0f['root']&&0x0===_0x240f0f['index'];)_0x240f0f=_0x240f0f['parent'];const _0x2e0d29=new _0x16966e(N(_0x40f706)?_0x40f706:y(_0x40f706)),_0x944435=_0x5699d9?_0x2e0d29['height']-_0x5699d9:0x0,_0x46ef56=_0x523167['mapViewToDom'](_0x240f0f),_0x32dad1=new _0x16966e(_0x46ef56);return new K({'type':'element','modelRange':_0xf77689,'domNode':_0x46ef56,'offset':Math['round'](_0x944435)?_0x944435+_0x2e0d29['top']-_0x32dad1['top']:0x0});}get['_configuredPaddings'](){const _0x4d72bc=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4d72bc);}static['_findPageStarterInfos'](_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc){return b(_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x7ea63f,modelRange:_0x37ff63,domNode:_0x496754,offset:_0x3fb7f6}){this['type']=_0x7ea63f,this['modelRange']=_0x37ff63,this['_domNode']=_0x496754,this['_offset']=_0x3fb7f6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x181021=new _0x16966e(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x181021['top']+_0x181021['height']/0x2:_0x181021['top']+this['_offset'];}}function w(_0x4ea775,_0xac01eb,_0x2da1e2){const _0x5b472e=y(_0x4ea775),_0x3d9451=function(_0x4fd0ff){const _0x4aca36=_0x2fd9a5['document']['createRange']();return _0x4aca36['selectNodeContents'](_0x4fd0ff),_0x4aca36;}(_0x2da1e2);let _0x91a2ce;_0x91a2ce=0x0==_0xac01eb?k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775['parentNode'],Array['from'](_0x4ea775['parentNode']['childNodes'])['indexOf'](_0x4ea775)):k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775,_0xac01eb);const _0x3f663c=k(_0x4ea775,_0xac01eb,_0x3d9451['endContainer'],_0x3d9451['endOffset']),_0x3be5b1=new _0x16966e(_0x91a2ce)['bottom'];return(new _0x16966e(_0x3f663c)['top']+_0x3be5b1)/0x2-new _0x16966e(_0x5b472e)['top'];}function m(_0x3d4148){return _0x3d4148['hasAttribute']('width')&&_0x3d4148['hasAttribute']('height')?Promise['resolve']():new Promise(_0x400096=>{function _0x2f6cd3(){_0x3d4148['removeEventListener']('load',_0x2f6cd3),_0x3d4148['removeEventListener']('error',_0x2f6cd3),_0x400096();}_0x3d4148['complete']?_0x400096():(_0x3d4148['addEventListener']('load',_0x2f6cd3),_0x3d4148['addEventListener']('error',_0x2f6cd3));});}function p(_0x3f473f){return new Promise(_0x480ec2=>setTimeout(_0x480ec2,_0x3f473f));}function y(_0x1bb72f){const _0x270eff=_0x2fd9a5['document']['createRange']();return _0x270eff['selectNode'](_0x1bb72f),_0x270eff;}function P(_0x3a9ada,_0x43c881,_0x4b4587){const _0x393d6c=_0x2fd9a5['document']['createRange']();return _0x393d6c['setStart'](_0x3a9ada,_0x43c881),_0x393d6c['setEnd'](_0x3a9ada,_0x4b4587),_0x393d6c;}function k(_0x3c67d8,_0xaae6b1,_0x4a3db9,_0x5b6059){const _0x2fdca9=_0x2fd9a5['document']['createRange']();return _0x2fdca9['setStart'](_0x3c67d8,_0xaae6b1),_0x2fdca9['setEnd'](_0x4a3db9,_0x5b6059),_0x2fdca9;}function b(_0x55fd95,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83){const _0x1cd4f5=[];for(const [_0x4238b5,_0x56ec12]of _0x55fd95['childNodes']['entries']()){let _0x5def56=[];N(_0x56ec12)&&_0x56ec12['offsetParent']&&!_0x56ec12['style']['position']?_0x5def56=x(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83):S(_0x56ec12)&&(_0x5def56=_(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x466b83)),_0x5def56['length']&&(_0x1cd4f5['push'](..._0x5def56),_0x5d75fd+=_0x5def56['length']*_0x359fb2,_0x466b83=!0x1);}return _0x1cd4f5;}function x(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7){const _0x3de240=[];var _0x9e99;if((_0x9e99=_0x4e5af8['previousSibling'])&&N(_0x9e99)&&Boolean(_0x9e99['classList']['contains']('page-break')||_0x9e99['closest']('.page-break'))&&(_0x3de240['push']({'type':'manual','offset':0x0,'path':[_0x31e117-0x1]}),_0x272b7=!0x0),'table-row'==_0x2fd9a5['window']['getComputedStyle'](_0x4e5af8)['display']){let _0x564b9a=0x0,_0x120ba3=!0x1;for(const _0x231e80 of _0x4e5af8['getClientRects']())_0x564b9a+=_0x231e80['height'],_0x231e80['left']>=_0x259648&&(_0x120ba3=!0x0);if(_0x564b9a<_0x35b8df&&_0x120ba3)return _0x3de240['push']({'type':'element','offset':0x0,'path':[_0x31e117]}),_0x3de240;}const _0x11b2a9=_0x4e5af8['closest']('figure.image');if(_0x11b2a9&&function(_0x37b7fd){let _0x523e99=!0x1;const _0x461328=_0x37b7fd['parentElement'],_0x479101=_0x461328['dataset']['rootName'],_0x6a3097=_0x37b7fd['nextElementSibling'],_0x6df9e0=_0x37b7fd['previousElementSibling'],_0x8971df=_0x6a3097&&_0x2fd9a5['window']['getComputedStyle'](_0x6a3097)['float'],_0x111ebf=_0x6a3097&&'ck-fake-selection-container'===_0x6a3097['className'];!_0x479101||_0x6a3097||_0x6df9e0||(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&_0x111ebf&&(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&'none'!==_0x8971df&&(_0x523e99=!0x0);if(_0x523e99)return!0x1;return!0x0;}(_0x11b2a9)){const _0x2ac4d8=_0x2fd9a5['window']['getComputedStyle'](_0x11b2a9)['float'];if('left'==_0x2ac4d8||'right'==_0x2ac4d8)return _0x3de240;}const _0x305098=b(_0x4e5af8,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7);if(_0x305098['length']){for(const _0x4e99e5 of _0x305098)_0x3de240['push']({'type':_0x4e99e5['type'],'offset':_0x4e99e5['offset'],'textOffset':_0x4e99e5['textOffset'],'path':[_0x31e117,..._0x4e99e5['path']]}),_0x259648+=_0x58a5c0,_0x272b7=!0x1;return _0x3de240;}return _0x3de240['push'](...function(_0x44edc3,_0x106226,_0x286099,_0x5c821c,_0x5ab2bd){const _0x1934f2=[];if('table-cell'==_0x2fd9a5['window']['getComputedStyle'](_0x44edc3)['display'])return[];const _0x11f7d8=[];for(const _0x446b47 of _0x44edc3['getClientRects']())if(_0x446b47['left']>=_0x286099){for(const _0x573f05 of _0x11f7d8)_0x573f05['height']+=_0x446b47['height'];_0x11f7d8['push']({'height':_0x446b47['height']}),_0x286099+=_0x5c821c;}for(const _0x3fc5fe of _0x11f7d8)_0x5ab2bd||_0x1934f2['push']({'type':'element','offset':_0x3fc5fe['height'],'textOffset':0x0,'path':[_0x106226]}),_0x5ab2bd=!0x1;return _0x1934f2;}(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x272b7)),_0x3de240;}function _(_0x2935f4,_0x2de553,_0x54ba01,_0x249b1f,_0x1a4038){const _0x564579=y(_0x2935f4),_0x44423c=[];let _0x5bae6a=0x0;for(const _0x54cd06 of _0x564579['getClientRects']())if(_0x54cd06['left']>=_0x54ba01){const _0x1643f9=B(_0x2935f4,_0x5bae6a,_0x54ba01,_0x249b1f);_0x1a4038||_0x44423c['push']({'type':'text','path':[_0x2de553],'textOffset':_0x1643f9}),_0x5bae6a=_0x1643f9,_0x54ba01+=_0x249b1f,_0x1a4038=!0x1;}return _0x44423c;}function B(_0xe6a5fa,_0x38b212,_0x1222eb,_0x4807d1){let _0x22e832=_0x38b212,_0x593838=_0xe6a5fa['length'];for(;_0x593838-_0x22e832>0x1;){const _0x3ec56f=Math['ceil']((_0x22e832+_0x593838)/0x2);I(P(_0xe6a5fa,_0x22e832,_0x3ec56f),_0x1222eb,_0x4807d1)?_0x593838=_0x3ec56f:_0x22e832=_0x3ec56f;}return _0x22e832;}function I(_0x3f0c36,_0x335514,_0x122f9d){for(const _0x4f47ef of _0x3f0c36['getClientRects']())if(_0x4f47ef['left']>=_0x335514&&_0x4f47ef['left']<_0x335514+_0x122f9d)return!0x0;return!0x1;}function N(_0x41a79b){return _0x41a79b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x324b36){return _0x324b36['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
- _0x3fec48('px');class C extends _0x5f2405{constructor(){super();const _0x25641f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x25641f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x25641f['if']('isVisible','ck-hidden',_0x47eca2=>!_0x47eca2)],'style':{'left':_0x25641f['to']('left',_0x2bf0f9=>q(_0x2bf0f9)),'top':_0x25641f['to']('top',_0x2a1f38=>q(_0x2a1f38)),'width':_0x25641f['to']('width',_0x31b4c1=>q(_0x31b4c1))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1ce001){this['_viewCollection']=_0x1ce001['ui']['view']['body'];}['destroy'](){for(const _0x2e00eb of this['_hiddenLines'])_0x2e00eb['destroy']();}['cleanLines'](){for(const _0x3abefd of this['_visibleLines'])_0x3abefd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3abefd);this['_visibleLines']['clear']();}['showLine'](_0x556fa6,_0x468dc4,_0x5740e8,_0x22d6d4){let _0xa6a046;this['_hiddenLines']['size']?(_0xa6a046=_0x4d9cf3(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xa6a046)):_0xa6a046=new C(),_0xa6a046['set']({'pageNumber':_0x22d6d4,'left':_0x556fa6,'top':_0x468dc4,'width':_0x5740e8}),_0xa6a046['isVisible']=!0x0,this['_viewCollection']['has'](_0xa6a046)||this['_viewCollection']['add'](_0xa6a046),this['_visibleLines']['add'](_0xa6a046);}['setViewCollection'](_0x409e97){for(const _0x1a49af of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1a49af)&&this['_viewCollection']['remove'](_0x1a49af);this['_viewCollection']=_0x409e97;}}const E='ck-pagination_enabled';class n extends _0x52abb0{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new O(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](E),this['on']('change:isEnabled',(_0x4cfabb,_0x16430b,_0x25cd0e)=>{_0x25cd0e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x25cd0e);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x55f721){if(!this['isEnabled'])return;const _0x1933b7=_0x55f721>0x1?this['_getPageBreakLineOffset'](_0x55f721-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1933b7-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x433bfe['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x475e03=this['editor'],_0x5458b3=this['_getAttachedDomRoot']();_0x5458b3?(this['_scrollableEditingRootDomAncestor']&&_0x475e03['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x869a8){let _0x4208de=_0x869a8;do{_0x4208de=_0x4208de['parentElement'];const _0xdd74bf=_0x2fd9a5['window']['getComputedStyle'](_0x4208de)['overflowY'];if('auto'==_0xdd74bf||'scroll'==_0xdd74bf)break;}while('BODY'!=_0x4208de['tagName']);return _0x4208de;}(_0x5458b3),_0x475e03['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x564e9a(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x475e03['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1685a3=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1685a3['ui']['view']['listenTo'](_0x2fd9a5['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1685a3['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x43289d of this['editor']['editing']['view']['domRoots']['values']())if(_0x43289d['ownerDocument']['body']['contains'](_0x43289d))return _0x43289d;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x232be6=this['_getAttachedDomRoot'](),_0x275d1b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x232be6||0x1==_0x275d1b['length'])return void(this['pageNumber']=0x1);const _0x51dffd=new _0x16966e(_0x232be6)['excludeScrollbarsAndBorders'](),_0x3557b0=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3be7e6=_0x3557b0['top']+_0x3557b0['height']/0x3;let _0x23f423=!0x1;const _0x409158=[];for(let _0x370712=0x1;_0x370712<_0x275d1b['length'];_0x370712++){const _0x589635=this['_getPageBreakLineOffset'](_0x370712,_0x3557b0);if(!_0x589635)continue;const _0x5c087b=_0x3557b0['top']+_0x589635-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x409158['push']({'pageOffsetTop':_0x5c087b,'domRootRect':_0x51dffd,'domScrollableRect':_0x3557b0,'pageNumber':_0x370712}),_0x5c087b>_0x3be7e6&&!_0x23f423&&(this['pageNumber']=_0x370712,_0x23f423=!0x0);}this['_renderPageBreakLines'](_0x409158),_0x23f423||(this['pageNumber']=_0x275d1b['length']);}['_renderPageBreakLines'](_0x4d2232){const {scrollX:_0x56e847,scrollY:_0x360c7e}=_0x2fd9a5['window'];if(_0x4d2232['length']){for(const {domScrollableRect:_0x202447,pageOffsetTop:_0x2cf095,domRootRect:_0x302369,pageNumber:_0x2a2ad4}of _0x4d2232)_0x202447['top']<_0x2cf095&&_0x2cf095<_0x202447['bottom']&&this['linesRepository']['showLine'](_0x302369['left']+_0x56e847,_0x2cf095+_0x360c7e,_0x302369['width'],_0x2a2ad4+0x1);}}['_getPageBreakLineOffset'](_0x56a3ed,_0x12f6d2=null){const _0x34043e=this['_paginationLookupPlugin']['pageBreaks'][_0x56a3ed]['offset'];return _0x34043e?(_0x12f6d2||(_0x12f6d2=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x34043e-_0x12f6d2['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4003c7,_0x24183c=!0x0){const _0x2ad4b6=this['editor']['editing']['view'];_0x2ad4b6['change'](_0x13684f=>{for(const _0x11412f of _0x2ad4b6['document']['roots'])_0x24183c?_0x13684f['addClass'](_0x4003c7,_0x11412f):_0x13684f['removeClass'](_0x4003c7,_0x11412f);});}}function g(_0x42803d,_0x20aded,..._0x198df6){const t=_0x42803d['t'];switch(_0x20aded){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x198df6);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x20aded;}}class s extends _0x52abb0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x11802d=this['editor']['plugins']['get']('Pagination'),_0x28860a=this['editor']['plugins']['get'](a),_0x23406b=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11802d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x23406b),this['listenTo'](_0x28860a,'change:pageBreaks',(_0x28e2b0,_0x4d1c3e,_0x350166,_0x6933cb)=>{this['totalPages']=_0x350166['length'],this['_updatePageBreakMarkers'](_0x350166,_0x6933cb);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6eb6f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14279b;for(const _0x549155 in _0x6eb6f4){const _0x51164e=_0x549155,_0x2c7ac2=_0x6eb6f4[_0x51164e];if('paginationLicenseKeyValid'==_0x2c7ac2||'paginationLicenseKeyInvalid'==_0x2c7ac2||'paginationLicenseKeyExpired'==_0x2c7ac2||'paginationLicenseKeyDomainLimit'==_0x2c7ac2||'paginationLicenseKeyNotAllowed'==_0x2c7ac2||'paginationLicenseKeyEvaluationLimit'==_0x2c7ac2||'paginationLicenseKeyTrialLimit'==_0x2c7ac2||'paginationLicenseKeyUsageLimit'==_0x2c7ac2){delete _0x6eb6f4[_0x51164e],_0x14279b=_0x2c7ac2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x14279b&&_0x6eb6f4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x14279b&&_0x6eb6f4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x14279b&&_0x6eb6f4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1a7aa1){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x1a7aa1));}['moveSelectionToPage'](_0x3ee4db){if(!this['isEnabled'])return;const _0x88ff23=this['editor'],_0x3880cc=this['editor']['plugins']['get'](a)['pageBreaks'][_0x3ee4db-0x1];_0x3880cc&&_0x88ff23['model']['change'](_0x12c4dc=>{switch(_0x3880cc['type']){case'manual':{const _0x2c80d6=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['end'],'forward');_0x12c4dc['setSelection'](_0x2c80d6);break;}case'element':{const _0x486f2b=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['start'],'forward');_0x12c4dc['setSelection'](_0x486f2b);break;}case'text':{const _0x5e437a=_0x3880cc['modelRange']['start'];if(_0x5e437a['textNode']&&'\x20'===_0x5e437a['textNode']['data'][_0x5e437a['offset']]){const _0x3c3dd1=_0x12c4dc['createPositionAt'](_0x5e437a['parent'],_0x5e437a['offset']+0x1);_0x12c4dc['setSelection'](_0x3c3dd1);}else _0x12c4dc['setSelection'](_0x3880cc['modelRange']);}}_0x88ff23['editing']['view']['focus']();});}['goToNextPage'](){const _0x2865b6=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2865b6),this['scrollToPage'](_0x2865b6);}['goToPreviousPage'](){const _0x494003=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x494003),this['scrollToPage'](_0x494003);}['_updatePageBreakMarkers'](_0xa95b2c,_0x1906d5){const _0x33c2b9=this['editor']['model'];this['isEnabled']&&_0x33c2b9['change'](_0x11d065=>{for(let _0x1db5d5=0x1;_0x1db5d5<_0xa95b2c['length'];_0x1db5d5++){const _0x4309c1=_0xa95b2c[_0x1db5d5]['modelRange'],_0x1d7666='pagination:'+(_0x1db5d5+0x1);_0x33c2b9['markers']['has'](_0x1d7666)?_0x11d065['updateMarker'](_0x1d7666,{'range':_0x4309c1}):_0x11d065['addMarker'](_0x1d7666,{'range':_0x4309c1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x294224=_0xa95b2c['length'];_0x294224<_0x1906d5['length'];_0x294224++){const _0x3233c2='pagination:'+(_0x294224+0x1);_0x33c2b9['markers']['has'](_0x3233c2)&&_0x11d065['removeMarker'](_0x3233c2);}});}['_setUpDataDowncastConversion'](){const _0x2c6d2d='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eda85=>{_0x3eda85['on']('addMarker:'+_0x2c6d2d,(_0x52ba54,{markerRange:_0x21f4f2,markerName:_0x5b1ee9},_0x5ec3ea)=>{if(!_0x5ec3ea['options']['pagination'])return;if(!_0x5ec3ea['consumable']['consume'](_0x21f4f2,_0x52ba54['name']))return;const _0x4d5479=_0x21f4f2['getContainedElement']();let _0x612e8b=_0x4d5479?_0x5ec3ea['mapper']['toViewElement'](_0x4d5479):null;if(!_0x612e8b){const _0x1422d=_0x21f4f2['start'];if(_0x5ec3ea['schema']['checkChild'](_0x1422d,'$text')){const _0x2d177f=_0x5ec3ea['mapper']['toViewPosition'](_0x1422d);_0x612e8b=_0x5ec3ea['writer']['createContainerElement']('span'),_0x612e8b['getFillerOffset']=()=>null,_0x5ec3ea['writer']['insert'](_0x2d177f,_0x612e8b);}else{const _0x13e027=_0x1422d['nodeAfter'];_0x612e8b=_0x5ec3ea['mapper']['toViewElement'](_0x13e027);}}for(;_0x612e8b['parent']!==_0x612e8b['root']&&0x0===_0x612e8b['index'];)_0x612e8b=_0x612e8b['parent'];const _0x5d5169=_0x5b1ee9['substring'](0xb);_0x612e8b['hasClass']('page-break')||(_0x5ec3ea['writer']['setStyle']('page-break-before','always',_0x612e8b),_0x5ec3ea['writer']['setAttribute']('data-pagination-page',_0x5d5169,_0x612e8b),_0x5ec3ea['mapper']['bindElementToMarker'](_0x612e8b,_0x5b1ee9)),_0x52ba54['stop']();});});}['_setupKeystrokes'](){const _0x3d046d=this['editor'];_0x3d046d['keystrokes']['set']('Shift+Pageup',(_0x1544ae,_0x424a1c)=>{this['goToPreviousPage'](),_0x424a1c();}),_0x3d046d['keystrokes']['set']('Shift+Pagedown',(_0xd7c3a8,_0x3a2069)=>{this['goToNextPage'](),_0x3a2069();}),_0x3d046d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3d046d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x395ec7){return _0x395ec7<0x1&&(_0x395ec7=0x1),_0x395ec7>this['totalPages']&&(_0x395ec7=this['totalPages']),_0x395ec7;}}class G extends _0x5f2405{['pageNumberView'];constructor(_0x148ccb){super(_0x148ccb);const _0x164c2a=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x93f468(_0x148ccb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x22d363=>g(_0x148ccb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x22d363)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4db244=>!_0x4db244),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x164c2a['if']('isEnabled','ck-disabled',_0x3d10f2=>!_0x3d10f2)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x164c2a['to']('totalPages')}]}]});}['render'](){super['render']();const _0x248ba8=this['pageNumberView']['element'],_0x3fb3d0=_0x3212ff=>{this['pageNumberView']['element']['value']=String(_0x3212ff);};_0x3fb3d0(this['pageNumber']),this['on']('change:pageNumber',(_0x510ed6,_0x503e61,_0x28adea)=>{_0x3fb3d0(_0x28adea);}),this['listenTo'](_0x248ba8,'keydown',(_0x43a566,_0x3dd07b)=>{if('ArrowUp'===_0x3dd07b['key']||'ArrowDown'===_0x3dd07b['key'])return void _0x3dd07b['stopPropagation']();if(_0x3dd07b['keyCode']!==_0x4a7b56['enter'])return;_0x3dd07b['preventDefault']();const _0x277e9a=_0x248ba8['valueAsNumber'];Number['isNaN'](_0x277e9a)?_0x248ba8['value']=String(this['pageNumber']):(_0x248ba8['checkValidity']()?this['pageNumber']=_0x277e9a:_0x277e9a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x248ba8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x248ba8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x248ba8,'blur',()=>{_0x248ba8['value']=String(this['pageNumber']);}),this['listenTo'](_0x248ba8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x52abb0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49547a=this['editor'],_0x118254=_0x49547a['plugins']['get']('PaginationEditing');_0x49547a['ui']['componentFactory']['add']('pageNavigation',_0x5cc2dd=>{const _0x1d8a22=new G(_0x5cc2dd);return _0x1d8a22['bind']('pageNumber')['to'](_0x118254),_0x1d8a22['bind']('totalPages')['to'](_0x118254),_0x1d8a22['bind']('isEnabled')['to'](_0x118254),_0x1d8a22['on']('navigation',(_0x100ba6,_0x5b6fb8)=>{_0x118254['moveSelectionToPage'](_0x5b6fb8),_0x118254['scrollToPage'](_0x5b6fb8);}),_0x1d8a22;}),_0x49547a['ui']['componentFactory']['add']('nextPage',_0x5c59f4=>{const _0x3f661d=new _0xf5a667(_0x5c59f4);return _0x3f661d['isEnabled']=!0x0,_0x3f661d['label']=g(_0x49547a['locale'],'Go\x20to\x20next\x20page'),_0x3f661d['icon']=_0x5cd26a,_0x3f661d['tooltip']=!0x0,_0x3f661d['keystroke']='Shift+PageDown',_0x3f661d['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x3f661d,'execute',()=>{_0x118254['goToNextPage']();}),_0x3f661d;}),_0x49547a['ui']['componentFactory']['add']('previousPage',_0x118c05=>{const _0x32ff89=new _0xf5a667(_0x118c05);return _0x32ff89['isEnabled']=!0x0,_0x32ff89['label']=g(_0x49547a['locale'],'Go\x20to\x20previous\x20page'),_0x32ff89['icon']=_0x25abfd,_0x32ff89['tooltip']=!0x0,_0x32ff89['keystroke']='Shift+PageUp',_0x32ff89['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x32ff89,'execute',()=>{_0x118254['goToPreviousPage']();}),_0x32ff89;});}}class T extends _0x52abb0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x269d33){super(_0x269d33),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2bada7=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x2bada7),this['bind']('totalPages')['to'](_0x2bada7),_0x433bfe['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1481be){this['editor']['plugins']['get'](s)['scrollToPage'](_0x1481be);}}export{T as Pagination,n as PaginationRenderer};
23
+ import{Plugin as _0x166e16}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x490713,InputNumberView as _0x4cfc36,ButtonView as _0x15f789}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x341c6f,Rect as _0x2f2800,global as _0x3b9d49,uid as _0x155265,toUnit as _0x4f74a6,first as _0xbde3d,env as _0xfe08c2,ResizeObserver as _0x5c2894,keyCodes as _0x7754ee}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x50298f}from'es-toolkit/compat';import{IconArrowDown as _0x1c0374,IconArrowUp as _0x55dff0}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x166e16{['_recalculatePageBreaksDebounced']=_0x50298f(()=>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 _0x341c6f('pagination-config-not-found',this['editor']['config']);const _0x531972=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x531972),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2209c1,_0x46d957,_0x3ba13c)=>{_0x3ba13c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x172bde){const _0x2c5e4e=_0x43f518([0x49,0x6c,0x4e,0x65,0x38,0x35,0x5a,0x55,0x42,0x36,0x31,0x4f,0x51,0x46,0x6e,0x58,0x67,0x6d,0x68,0x4d,0x61,0x77,0x72,0x71,0x43,0x44,0x41,0x53,0x39,0x75,0x66,0x69,0x48,0x45,0x37,0x76,0x34,0x56,0x63,0x59,0x47,0x4c,0x64,0x4a,0x50,0x32,0x78,0x30,0x6b,0x33,0x54,0x79,0x7a,0x52,0x4b,0x74,0x57,0x6f,0x62,0x6a,0x70,0x73]),_0x5bd5ac=0x19136b41,_0x20aeae=0x19140651^_0x5bd5ac,_0x98d168=window[_0x43f518([0x44,0x61,0x74,0x65])][_0x43f518([0x6e,0x6f,0x77])](),_0x2d1a95=_0x172bde[_0x43f518([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27713e=new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49728d=>{_0x2d1a95[_0x43f518([0x6f,0x6e,0x63,0x65])](_0x43f518([0x72,0x65,0x61,0x64,0x79]),_0x49728d);}),_0x554245={[_0x43f518([0x6b,0x74,0x79])]:_0x43f518([0x45,0x43]),[_0x43f518([0x75,0x73,0x65])]:_0x43f518([0x73,0x69,0x67]),[_0x43f518([0x63,0x72,0x76])]:_0x43f518([0x50,0x2d,0x32,0x35,0x36]),[_0x43f518([0x78])]:_0x43f518([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]),[_0x43f518([0x79])]:_0x43f518([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]),[_0x43f518([0x61,0x6c,0x67])]:_0x43f518([0x45,0x53,0x32,0x35,0x36])},_0x4cf659=_0x2d1a95[_0x43f518([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43f518([0x67,0x65,0x74])](_0x43f518([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27c8e4(){let _0x180455,_0x2a5734=null,_0x24419b=null;try{if(_0x4cf659==_0x43f518([0x47,0x50,0x4c]))return _0x43f518([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x180455=_0x4561d8(),!_0x180455)return _0x43f518([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x180455[_0x43f518([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24419b=_0x5007b0(_0x180455[_0x43f518([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x180455[_0x43f518([0x6a,0x74,0x69])])),await _0x47ecb7()?_0x1b8cf7()?_0x1a0891()?_0x43f518([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4486b1()?(_0x180455[_0x43f518([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43f518([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a5734=_0x51660a(_0x43f518([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x180455[_0x43f518([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43f518([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a5734=_0x51660a(_0x43f518([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb2bbd0()):_0x43f518([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43f518([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43f518([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43f518([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a0891(){const _0x4c3cec=[_0x43f518([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43f518([0x74,0x72,0x69,0x61,0x6c])][_0x43f518([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x180455[_0x43f518([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x98d168/0x3e8:0xe10*_0x20aeae;return _0x180455[_0x43f518([0x65,0x78,0x70])]<_0x4c3cec;}function _0x1b8cf7(){const _0x4c2851=_0x180455[_0x43f518([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c2851&&(!!_0x4c2851[_0x43f518([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f518([0x2a]))||!!_0x4c2851[_0x43f518([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f518([0x50,0x41,0x47])));}function _0x4486b1(){const _0x459468=_0x180455[_0x43f518([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x459468||0x0==_0x459468[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x530395}=new URL(window[_0x43f518([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x459468[_0x43f518([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530395))return!0x0;const _0x59856a=_0x530395[_0x43f518([0x73,0x70,0x6c,0x69,0x74])](_0x43f518([0x2e]));return _0x459468[_0x43f518([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ed065=>_0x5ed065[_0x43f518([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f518([0x2a])))[_0x43f518([0x6d,0x61,0x70])](_0x166594=>_0x166594[_0x43f518([0x73,0x70,0x6c,0x69,0x74])](_0x43f518([0x2e])))[_0x43f518([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x389b0e=>_0x389b0e[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59856a[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43f518([0x6d,0x61,0x70])](_0x2f43e8=>Array(_0x59856a[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f43e8[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43f518([0x66,0x69,0x6c,0x6c])](_0x2f43e8[0x0]===_0x43f518([0x2a])?_0x43f518([0x2a]):'')[_0x43f518([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f43e8))[_0x43f518([0x73,0x6f,0x6d,0x65])](_0x33eb1f=>_0x59856a[_0x43f518([0x65,0x76,0x65,0x72,0x79])]((_0x47feb2,_0x4bf81c)=>_0x33eb1f[_0x4bf81c]===_0x47feb2||_0x33eb1f[_0x4bf81c]===_0x43f518([0x2a])));}function _0xb2bbd0(){return _0x2a5734&&_0x24419b?new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a4558,_0x768430)=>{_0x2a5734[_0x43f518([0x74,0x68,0x65,0x6e])](_0x4a4558,_0x768430),_0x24419b[_0x43f518([0x74,0x68,0x65,0x6e])](_0x47988d=>{_0x47988d!=_0x43f518([0x56,0x61,0x6c,0x69,0x64])&&_0x4a4558(_0x47988d);},_0x768430);}):_0x2a5734||_0x24419b||_0x43f518([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5007b0(_0x575f97,_0x6f8bb2){return new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37fec6=>{if(_0x21b5e1())return _0x37fec6(_0x43f518([0x56,0x61,0x6c,0x69,0x64]));_0x1850b9(),_0x2d1a95[_0x43f518([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43f518([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x190ef3=!0x1;const _0xc7627b=_0x155265();function _0x557e0e(_0x112a83){return!!_0x112a83&&(typeof _0x112a83===_0x43f518([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x112a83===_0x43f518([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x112a83[_0x43f518([0x74,0x68,0x65,0x6e])]===_0x43f518([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x112a83[_0x43f518([0x63,0x61,0x74,0x63,0x68])]===_0x43f518([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x535cc9(_0x7ac15b){_0x574022(_0x7ac15b)[_0x43f518([0x74,0x68,0x65,0x6e])](_0x1f8a57=>{if(!_0x1f8a57||_0x1f8a57[_0x43f518([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43f518([0x6f,0x6b]))return _0x43f518([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6ed2e2(_0x242e4f(_0xc7627b+_0x6f8bb2))!=_0x1f8a57[_0x43f518([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43f518([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43f518([0x56,0x61,0x6c,0x69,0x64]);})[_0x43f518([0x74,0x68,0x65,0x6e])](_0x41dcb4=>(_0x254476(),_0x41dcb4),()=>{const _0x40e4d7=_0x117c47();return null==_0x40e4d7?(_0x254476(),_0x43f518([0x56,0x61,0x6c,0x69,0x64])):_0x43f518(_0x98d168-_0x40e4d7>(0x3d1fef41^_0x5bd5ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43f518([0x74,0x68,0x65,0x6e])](_0x37fec6)[_0x43f518([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37fec6(_0x43f518([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11da3f=0x192585c1^_0x5bd5ac;function _0x254476(){const _0x39bfb2=_0x43f518([0x6c,0x6c,0x63,0x74,0x2d])+_0x6ed2e2(_0x242e4f(_0x575f97)),_0x65e181=_0x3ba120(_0x6ed2e2(window[_0x43f518([0x4d,0x61,0x74,0x68])][_0x43f518([0x63,0x65,0x69,0x6c])](_0x98d168/_0x11da3f)));window[_0x43f518([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43f518([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bfb2,_0x65e181);}function _0x117c47(){const _0x3cde6d=_0x43f518([0x6c,0x6c,0x63,0x74,0x2d])+_0x6ed2e2(_0x242e4f(_0x575f97)),_0x37809c=window[_0x43f518([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43f518([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cde6d);return _0x37809c?window[_0x43f518([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ba120(_0x37809c),0x10)*_0x11da3f:null;}function _0x574022(_0x4da317){return new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49e326,_0x789a35)=>{_0x4da317[_0x43f518([0x74,0x68,0x65,0x6e])](_0x49e326,_0x789a35),window[_0x43f518([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x789a35,0x1912bf81^_0x5bd5ac);});}}_0x2d1a95[_0x43f518([0x6f,0x6e])](_0x43f518([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x124ecc,_0x491996)=>{if(_0x491996[0x0]!=_0x575f97)return _0x37fec6(_0x43f518([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x491996[0x1]={..._0x491996[0x1],[_0x43f518([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc7627b};},{[_0x43f518([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43f518([0x68,0x69,0x67,0x68])}),_0x2d1a95[_0x43f518([0x6f,0x6e])](_0x43f518([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4281c1=>{_0x557e0e(_0x4281c1[_0x43f518([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x190ef3=!0x0,_0x535cc9(_0x4281c1[_0x43f518([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43f518([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43f518([0x6c,0x6f,0x77])}),_0x27713e[_0x43f518([0x74,0x68,0x65,0x6e])](()=>{_0x190ef3||_0x37fec6(_0x43f518([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21b5e1(){return _0x2d1a95[_0x43f518([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43f518([0x76,0x69,0x65,0x77])][_0x43f518([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43f518([0x61,0x75,0x74,0x6f]);}function _0x1850b9(){_0x2d1a95[_0x43f518([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43f518([0x76,0x69,0x65,0x77])][_0x43f518([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43f518([0x61,0x75,0x74,0x6f]);}}function _0x51660a(_0xc602cb){const _0x156222=[new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34bb6c=>setTimeout(_0x34bb6c,0x191a558d^_0x5bd5ac)),_0x27713e[_0x43f518([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c7d1=>{let _0x2b89ae=0x0;_0x2d1a95[_0x43f518([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f518([0x6f,0x6e])](_0x43f518([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x179715,_0x520269)=>{_0x520269[0x0][_0x43f518([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b89ae++,_0x2b89ae==(0x19136ab9^_0x5bd5ac)&&(_0x3c7d1(),_0x179715[_0x43f518([0x6f,0x66,0x66])]());});}))];return window[_0x43f518([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43f518([0x72,0x61,0x63,0x65])](_0x156222)[_0x43f518([0x74,0x68,0x65,0x6e])](()=>_0xc602cb);}async function _0x474ee2(){await _0x27713e,_0x2d1a95[_0x43f518([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f518([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48232b,_0x2d1a95[_0x43f518([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f518([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48232b,_0x2d1a95[_0x43f518([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43f518([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3df9f3(_0x33fc21){const _0x78501b=_0x25f339();_0x2d1a95[_0x78501b]=_0x43f518([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33fc21,_0x33fc21!=_0x43f518([0x56,0x61,0x6c,0x69,0x64])&&_0x474ee2();}function _0x25f339(){const _0x54a671=window[_0x43f518([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43f518([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43f518([0x6e,0x6f,0x77])]())[_0x43f518([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43f518([0x2e]),'');let _0x35f468=_0x43f518([0x49]);for(let _0x37cb56=0x0;_0x37cb56<_0x54a671[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37cb56+=0x2){let _0x432897=window[_0x43f518([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54a671[_0x43f518([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37cb56,_0x37cb56+0x2));_0x432897>=_0x2c5e4e[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x432897-=_0x2c5e4e[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35f468+=_0x2c5e4e[_0x432897];}return _0x35f468;}function _0x4561d8(){const _0x142cb6=_0x4cf659[_0x43f518([0x73,0x70,0x6c,0x69,0x74])](_0x43f518([0x2e]));if(0x3!=_0x142cb6[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f8f4a(_0x142cb6[0x1]);function _0x1f8f4a(_0x44e9b4){const _0x396aa9=_0x109529(_0x44e9b4);return _0x396aa9&&_0x383b79()?_0x396aa9:null;function _0x383b79(){const _0x168fde=_0x396aa9[_0x43f518([0x6a,0x74,0x69])],_0x4b7812=window[_0x43f518([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168fde[_0x43f518([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x168fde[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b50be={..._0x396aa9,[_0x43f518([0x6a,0x74,0x69])]:_0x168fde[_0x43f518([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x168fde[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b50be[_0x43f518([0x76,0x63])],_0x242e4f(_0x4b50be)==_0x4b7812;}}}async function _0x47ecb7(){let _0x462012=!0x0;try{const _0x4a688d=_0x4cf659[_0x43f518([0x73,0x70,0x6c,0x69,0x74])](_0x43f518([0x2e])),[_0x55e1d6,_0xed29be,_0x2bf632]=_0x4a688d;return _0x3c3cc1(_0x55e1d6),await _0x281968(_0x55e1d6,_0xed29be,_0x2bf632),_0x462012;}catch{return!0x1;}function _0x3c3cc1(_0x48608d){const _0x1448fc=_0x109529(_0x48608d);_0x1448fc&&_0x1448fc[_0x43f518([0x61,0x6c,0x67])]==_0x43f518([0x45,0x53,0x32,0x35,0x36])||(_0x462012=!0x1);}async function _0x281968(_0x485261,_0x100f99,_0x18aac9){const _0x533ab1=window[_0x43f518([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43f518([0x66,0x72,0x6f,0x6d])](_0x1e7a7f(_0x18aac9),_0x28e80d=>_0x28e80d[_0x43f518([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x24e361=new window[(_0x43f518([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43f518([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x485261+_0x43f518([0x2e])+_0x100f99),_0x31a378=window[_0x43f518([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43f518([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31a378)return;const _0x39cad5=await _0x31a378[_0x43f518([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43f518([0x6a,0x77,0x6b]),_0x554245,{[_0x43f518([0x6e,0x61,0x6d,0x65])]:_0x43f518([0x45,0x43,0x44,0x53,0x41]),[_0x43f518([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43f518([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43f518([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31a378[_0x43f518([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43f518([0x6e,0x61,0x6d,0x65])]:_0x43f518([0x45,0x43,0x44,0x53,0x41]),[_0x43f518([0x68,0x61,0x73,0x68])]:{[_0x43f518([0x6e,0x61,0x6d,0x65])]:_0x43f518([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39cad5,_0x533ab1,_0x24e361)||(_0x462012=!0x1);}}function _0x109529(_0x4c81e5){return _0x4c81e5[_0x43f518([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43f518([0x65,0x79]))?JSON[_0x43f518([0x70,0x61,0x72,0x73,0x65])](_0x1e7a7f(_0x4c81e5)):null;}function _0x1e7a7f(_0x1336bb){return window[_0x43f518([0x61,0x74,0x6f,0x62])](_0x1336bb[_0x43f518([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43f518([0x2b]))[_0x43f518([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43f518([0x2f])));}function _0x242e4f(_0x4d1dd7){let _0x5d6b7f=0x1505;function _0x4020d4(_0x77c02f){for(let _0x5e53b8=0x0;_0x5e53b8<_0x77c02f[_0x43f518([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e53b8++){const _0xc3ff8c=_0x77c02f[_0x43f518([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e53b8);_0x5d6b7f=(_0x5d6b7f<<0x5)+_0x5d6b7f+_0xc3ff8c,_0x5d6b7f&=_0x5d6b7f;}}function _0x2e4496(_0x3b105c){Array[_0x43f518([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b105c)?_0x3b105c[_0x43f518([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e4496):_0x3b105c&&typeof _0x3b105c==_0x43f518([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43f518([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b105c)[_0x43f518([0x73,0x6f,0x72,0x74])]()[_0x43f518([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x223e2a,_0x5c3320])=>{_0x4020d4(_0x223e2a),_0x2e4496(_0x5c3320);}):_0x4020d4(window[_0x43f518([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b105c));}return _0x2e4496(_0x4d1dd7),_0x5d6b7f>>>0x0;}function _0x6ed2e2(_0x21912c){return _0x21912c[_0x43f518([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43f518([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43f518([0x30]));}function _0x3ba120(_0x45cb20){return _0x45cb20[_0x43f518([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43f518([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43f518([0x6a,0x6f,0x69,0x6e])]('');}function _0x48232b(){}function _0x43f518(_0x1f9529){return _0x1f9529['map'](_0x39e190=>String['fromCharCode'](_0x39e190))['join']('');}_0x3df9f3(await _0x27c8e4());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x450ddd=this['editor'],_0x598600=_0x450ddd['editing']['view'],_0x4aca81=this['_getAttachedDomRoot']();if(!_0x4aca81||0x0===_0x4aca81['childElementCount'])return void _0x450ddd['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x764a32,pageHeight:_0x428fd8}=_0x450ddd['config']['get']('pagination'),{top:_0x403584,left:_0x34eefc,bottom:_0x40251d,right:_0x4868ef}=this['_configuredPaddings'];this['_pagesContainer']=new _0x490713(_0x450ddd['locale']);const _0x430cca=this['_pagesContainer'];_0x430cca['set']('class',''),_0x430cca['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x764a32,'width':_0x764a32,'height':'calc(\x20'+_0x428fd8+'\x20-\x20'+_0x403584+'\x20-\x20'+_0x40251d+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4868ef+'\x200\x20'+_0x34eefc,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x430cca['bindTemplate']['to']('class')}}),_0x430cca['render'](),_0x4aca81['parentNode']['insertBefore'](_0x430cca['element'],_0x4aca81['nextSibling']),this['listenTo'](_0x598600,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x51de3b of this['editor']['editing']['view']['domRoots']['values']())if(_0x51de3b['ownerDocument']['body']['contains'](_0x51de3b))return _0x51de3b;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1eb6a1=this['editor']['editing']['view'],_0x5ab539=this['_pagesContainer'],_0x295419=this['_getAttachedDomRoot']();if(!_0x295419)return Promise['resolve']();for(_0x5ab539['class']=['ck-reset','ck-pagination-view',..._0x295419['classList']]['join']('\x20');_0x5ab539['element']['firstChild'];)_0x5ab539['element']['firstChild']['remove']();const _0x211c97=Array['from'](_0x1eb6a1['domRoots']);_0x211c97['sort'](([,_0x3a5466],[,_0x4d7612])=>_0x3a5466['compareDocumentPosition'](_0x4d7612)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x371ce5,_0x4548c7]of _0x211c97){const _0x340d99=_0x4548c7['cloneNode'](!0x0);'attributeStyleMap'in _0x340d99&&_0x340d99['attributeStyleMap']['clear'](),_0x340d99['className']='',_0x340d99['removeAttribute']('id'),_0x340d99['dataset']['rootName']=_0x371ce5,_0x5ab539['element']['append'](_0x340d99);}return function(_0x20c6da){return Promise['all'](_0x20c6da['map'](_0x1ceeb2=>Promise['race']([m(_0x1ceeb2),p(0x3e8)])));}(Array['from'](_0x5ab539['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x14d7f6=this['_pagesContainer']['element'];if(!_0x14d7f6['ownerDocument']['body']['contains'](_0x14d7f6))return;const _0x37728c=new _0x2f2800(_0x14d7f6)['excludeScrollbarsAndBorders'](),_0x2f84a0=_0x3b9d49['window']['getComputedStyle'](_0x14d7f6),_0x16e464=parseFloat(_0x2f84a0['paddingLeft'])+parseFloat(_0x2f84a0['paddingRight']),_0x4923ce=Math['floor'](_0x37728c['width']+0x64-_0x16e464),_0x1d6e01=b(_0x14d7f6,Math['floor'](_0x37728c['left']-_0x14d7f6['scrollLeft']),_0x4923ce,_0x37728c['height'])['map'](_0x28ad1f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x28ad1f));_0x1d6e01['every'](_0x4746f5=>!!_0x4746f5)&&(this['pageBreaks']=_0x1d6e01);}['_mapPageStarterInfoToPageBreakInfo'](_0x46702a){const _0x26f066=this['editor']['editing']['view'],_0x146d41=this['editor']['editing']['mapper'],_0x19d6e2=_0x26f066['domConverter'],_0x589d5e=_0x46702a['path']['shift'](),_0x3495e3=this['_pagesContainer']['element']['childNodes'][_0x589d5e]['dataset']['rootName'],_0xcc5889=_0x26f066['getDomRoot'](_0x3495e3);if(!_0xcc5889)return null;const _0x633894=function(_0x2ce329,_0x3af4e8){let _0x566554=_0x2ce329;for(const _0x38bfc0 of _0x3af4e8['path']){if(!_0x566554)return null;_0x566554=_0x566554['childNodes'][_0x38bfc0];}return _0x566554;}(_0xcc5889,_0x46702a);if(!_0x633894)return null;const _0x3b52b2=_0x19d6e2['domPositionToView'](_0x633894,_0x46702a['textOffset']||0x0);return _0x3b52b2?'manual'==_0x46702a['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x3b52b2,_0x633894):'text'==_0x46702a['type']&&_0x146d41['toModelPosition'](_0x3b52b2)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x3b52b2,_0x633894,_0x46702a['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x3b52b2,_0x633894,_0x46702a['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x111273,_0x2c84ae){const _0xfd610f=this['editor']['model'],_0x3e394c=this['editor']['editing']['mapper']['toModelElement'](_0x111273['parent']),_0x5447c9=_0xfd610f['createRangeOn'](_0x3e394c);return new K({'type':'manual','modelRange':_0x5447c9,'domNode':_0x2c84ae,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c2602,_0x2b5583,_0x848b9b){const _0x5f0ce3=this['editor']['model'],_0x5e0ee1=this['editor']['editing']['mapper'],_0x423d32=this['editor']['editing']['view']['domConverter'];if(_0x848b9b>=_0x2b5583['length'])return null;const _0x38e887=_0x5e0ee1['toModelPosition'](_0x1c2602),_0x16cd95=_0x5f0ce3['createRange'](_0x38e887),_0x34f425=_0x5e0ee1['findMappedViewAncestor'](_0x1c2602),_0x17283a=_0x423d32['mapViewToDom'](_0x34f425);return new K({'type':'text','modelRange':_0x16cd95,'domNode':_0x2b5583,'offset':w(_0x2b5583,_0x848b9b,_0x17283a)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x56731b,_0x5f0ff0,_0x2d18cf){const _0x1b5cce=this['editor']['model'],_0x332015=this['editor']['editing'],_0x2d6f30=_0x332015['mapper'],_0x87a2cd=_0x332015['view']['domConverter'],_0x56df0d=_0x2d6f30['findMappedViewAncestor'](_0x56731b),_0x4d6e32=_0x2d6f30['toModelElement'](_0x56df0d),_0x3018d9=function(_0x4b0873){const _0x4b9fdd=_0x4b0873['parent'],_0x57be1b=_0x4b9fdd['root']['document']['model'],_0x57a0b6=_0x4b9fdd['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x227c6e=null;for(const _0x241f6f of _0x57a0b6){if(_0x241f6f['is']('rootElement'))return _0x227c6e;if(!_0x57be1b['createPositionBefore'](_0x241f6f)['isTouching'](_0x4b0873))return _0x227c6e;_0x227c6e=_0x241f6f;}}(_0x1b5cce['createPositionBefore'](_0x4d6e32)),_0x88c79d=_0x3018d9||_0x4d6e32;let _0x10e4e8=_0x2d6f30['toViewElement'](_0x88c79d),_0x5534fd=_0x1b5cce['createRangeOn'](_0x88c79d);const _0x2eda6d=_0x1b5cce['createPositionBefore'](_0x88c79d)['nodeBefore'];if(_0x2eda6d&&_0x2eda6d['is']('element','imageBlock')){const _0x25bf74=_0x2d6f30['toViewElement'](_0x2eda6d),_0x110437=_0x87a2cd['mapViewToDom'](_0x25bf74),_0x197c20=_0x3b9d49['window']['getComputedStyle'](_0x110437)['float'];'left'!=_0x197c20&&'right'!=_0x197c20||(_0x5534fd=_0x1b5cce['createRangeOn'](_0x2eda6d));}for(;_0x10e4e8['parent']!==_0x10e4e8['root']&&0x0===_0x10e4e8['index'];)_0x10e4e8=_0x10e4e8['parent'];const _0x3de669=new _0x2f2800(N(_0x5f0ff0)?_0x5f0ff0:y(_0x5f0ff0)),_0x44afc6=_0x2d18cf?_0x3de669['height']-_0x2d18cf:0x0,_0x508942=_0x87a2cd['mapViewToDom'](_0x10e4e8),_0x180a24=new _0x2f2800(_0x508942);return new K({'type':'element','modelRange':_0x5534fd,'domNode':_0x508942,'offset':Math['round'](_0x44afc6)?_0x44afc6+_0x3de669['top']-_0x180a24['top']:0x0});}get['_configuredPaddings'](){const _0x2c8471=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2c8471);}static['_findPageStarterInfos'](_0x17e1b6,_0x1b0d31,_0x1e98fa,_0x51a809,_0x465b6a){return b(_0x17e1b6,_0x1b0d31,_0x1e98fa,_0x51a809,_0x465b6a);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x520b03,modelRange:_0x26b880,domNode:_0x2f1e10,offset:_0x552561}){this['type']=_0x520b03,this['modelRange']=_0x26b880,this['_domNode']=_0x2f1e10,this['_offset']=_0x552561;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x28db65=new _0x2f2800(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x28db65['top']+_0x28db65['height']/0x2:_0x28db65['top']+this['_offset'];}}function w(_0x554cf5,_0x2a0f15,_0x228255){const _0x5b46fb=y(_0x554cf5),_0x435641=function(_0x3c31e7){const _0x4ee313=_0x3b9d49['document']['createRange']();return _0x4ee313['selectNodeContents'](_0x3c31e7),_0x4ee313;}(_0x228255);let _0x5850a4;_0x5850a4=0x0==_0x2a0f15?k(_0x435641['startContainer'],_0x435641['startOffset'],_0x554cf5['parentNode'],Array['from'](_0x554cf5['parentNode']['childNodes'])['indexOf'](_0x554cf5)):k(_0x435641['startContainer'],_0x435641['startOffset'],_0x554cf5,_0x2a0f15);const _0x4ce1e7=k(_0x554cf5,_0x2a0f15,_0x435641['endContainer'],_0x435641['endOffset']),_0x4b397a=new _0x2f2800(_0x5850a4)['bottom'];return(new _0x2f2800(_0x4ce1e7)['top']+_0x4b397a)/0x2-new _0x2f2800(_0x5b46fb)['top'];}function m(_0x1cf9ea){return _0x1cf9ea['hasAttribute']('width')&&_0x1cf9ea['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5da39d=>{function _0xd656(){_0x1cf9ea['removeEventListener']('load',_0xd656),_0x1cf9ea['removeEventListener']('error',_0xd656),_0x5da39d();}_0x1cf9ea['complete']?_0x5da39d():(_0x1cf9ea['addEventListener']('load',_0xd656),_0x1cf9ea['addEventListener']('error',_0xd656));});}function p(_0xaa99ef){return new Promise(_0x35aad0=>setTimeout(_0x35aad0,_0xaa99ef));}function y(_0x309535){const _0x58902b=_0x3b9d49['document']['createRange']();return _0x58902b['selectNode'](_0x309535),_0x58902b;}function P(_0xb23c,_0x246e09,_0x21d8ee){const _0x191204=_0x3b9d49['document']['createRange']();return _0x191204['setStart'](_0xb23c,_0x246e09),_0x191204['setEnd'](_0xb23c,_0x21d8ee),_0x191204;}function k(_0xb3dc71,_0x56af9c,_0x1aa1e4,_0x4e9add){const _0x9d7dfe=_0x3b9d49['document']['createRange']();return _0x9d7dfe['setStart'](_0xb3dc71,_0x56af9c),_0x9d7dfe['setEnd'](_0x1aa1e4,_0x4e9add),_0x9d7dfe;}function b(_0x5d3cf8,_0x52bf18,_0x8cd314,_0x433622,_0x1f8539){const _0x2b0765=[];for(const [_0x1711af,_0x5f2388]of _0x5d3cf8['childNodes']['entries']()){let _0x138db0=[];N(_0x5f2388)&&_0x5f2388['offsetParent']&&!_0x5f2388['style']['position']?_0x138db0=x(_0x5f2388,_0x1711af,_0x52bf18,_0x8cd314,_0x433622,_0x1f8539):S(_0x5f2388)&&(_0x138db0=_(_0x5f2388,_0x1711af,_0x52bf18,_0x8cd314,_0x1f8539)),_0x138db0['length']&&(_0x2b0765['push'](..._0x138db0),_0x52bf18+=_0x138db0['length']*_0x8cd314,_0x1f8539=!0x1);}return _0x2b0765;}function x(_0x5d6d75,_0x40dc18,_0xc65f87,_0x41e43c,_0x4d15ad,_0x5ea0ad){const _0x2c3724=[];var _0x1a9f4d;if((_0x1a9f4d=_0x5d6d75['previousSibling'])&&N(_0x1a9f4d)&&Boolean(_0x1a9f4d['classList']['contains']('page-break')||_0x1a9f4d['closest']('.page-break'))&&(_0x2c3724['push']({'type':'manual','offset':0x0,'path':[_0x40dc18-0x1]}),_0x5ea0ad=!0x0),'table-row'==_0x3b9d49['window']['getComputedStyle'](_0x5d6d75)['display']){let _0x4341e3=0x0,_0x417fe5=!0x1;for(const _0x1cdfb6 of _0x5d6d75['getClientRects']())_0x4341e3+=_0x1cdfb6['height'],_0x1cdfb6['left']>=_0xc65f87&&(_0x417fe5=!0x0);if(_0x4341e3<_0x4d15ad&&_0x417fe5)return _0x2c3724['push']({'type':'element','offset':0x0,'path':[_0x40dc18]}),_0x2c3724;}const _0x4bd16b=_0x5d6d75['closest']('figure.image');if(_0x4bd16b&&function(_0x46154d){let _0x4fc483=!0x1;const _0x90a170=_0x46154d['parentElement'],_0x1dcffd=_0x90a170['dataset']['rootName'],_0x52cfa2=_0x46154d['nextElementSibling'],_0x4f4105=_0x46154d['previousElementSibling'],_0x52cb88=_0x52cfa2&&_0x3b9d49['window']['getComputedStyle'](_0x52cfa2)['float'],_0x438de7=_0x52cfa2&&'ck-fake-selection-container'===_0x52cfa2['className'];!_0x1dcffd||_0x52cfa2||_0x4f4105||(_0x4fc483=!0x0),_0x1dcffd&&!_0x4f4105&&_0x438de7&&(_0x4fc483=!0x0),_0x1dcffd&&!_0x4f4105&&'none'!==_0x52cb88&&(_0x4fc483=!0x0);if(_0x4fc483)return!0x1;return!0x0;}(_0x4bd16b)){const _0x54d28a=_0x3b9d49['window']['getComputedStyle'](_0x4bd16b)['float'];if('left'==_0x54d28a||'right'==_0x54d28a)return _0x2c3724;}const _0x1688ee=b(_0x5d6d75,_0xc65f87,_0x41e43c,_0x4d15ad,_0x5ea0ad);if(_0x1688ee['length']){for(const _0x48ce47 of _0x1688ee)_0x2c3724['push']({'type':_0x48ce47['type'],'offset':_0x48ce47['offset'],'textOffset':_0x48ce47['textOffset'],'path':[_0x40dc18,..._0x48ce47['path']]}),_0xc65f87+=_0x41e43c,_0x5ea0ad=!0x1;return _0x2c3724;}return _0x2c3724['push'](...function(_0xc1532e,_0x24b1e3,_0x510155,_0xf29671,_0x49a4ba){const _0x188e48=[];if('table-cell'==_0x3b9d49['window']['getComputedStyle'](_0xc1532e)['display'])return[];const _0x3087f2=[];for(const _0x16066f of _0xc1532e['getClientRects']())if(_0x16066f['left']>=_0x510155){for(const _0x19ce6b of _0x3087f2)_0x19ce6b['height']+=_0x16066f['height'];_0x3087f2['push']({'height':_0x16066f['height']}),_0x510155+=_0xf29671;}for(const _0xda96a2 of _0x3087f2)_0x49a4ba||_0x188e48['push']({'type':'element','offset':_0xda96a2['height'],'textOffset':0x0,'path':[_0x24b1e3]}),_0x49a4ba=!0x1;return _0x188e48;}(_0x5d6d75,_0x40dc18,_0xc65f87,_0x41e43c,_0x5ea0ad)),_0x2c3724;}function _(_0x298f2f,_0x32af5f,_0x4db7ff,_0x2aaba7,_0x4fdade){const _0x5b3990=y(_0x298f2f),_0x2a0fde=[];let _0x2a1041=0x0;for(const _0x17fbd6 of _0x5b3990['getClientRects']())if(_0x17fbd6['left']>=_0x4db7ff){const _0x436028=B(_0x298f2f,_0x2a1041,_0x4db7ff,_0x2aaba7);_0x4fdade||_0x2a0fde['push']({'type':'text','path':[_0x32af5f],'textOffset':_0x436028}),_0x2a1041=_0x436028,_0x4db7ff+=_0x2aaba7,_0x4fdade=!0x1;}return _0x2a0fde;}function B(_0x57bb02,_0x494953,_0x9de74d,_0x209468){let _0x5b1150=_0x494953,_0x4f7ceb=_0x57bb02['length'];for(;_0x4f7ceb-_0x5b1150>0x1;){const _0x34ce4e=Math['ceil']((_0x5b1150+_0x4f7ceb)/0x2);I(P(_0x57bb02,_0x5b1150,_0x34ce4e),_0x9de74d,_0x209468)?_0x4f7ceb=_0x34ce4e:_0x5b1150=_0x34ce4e;}return _0x5b1150;}function I(_0x22ccc6,_0x5abb6f,_0x587404){for(const _0x234c90 of _0x22ccc6['getClientRects']())if(_0x234c90['left']>=_0x5abb6f&&_0x234c90['left']<_0x5abb6f+_0x587404)return!0x0;return!0x1;}function N(_0x434c53){return _0x434c53['nodeType']==Node['ELEMENT_NODE'];}function S(_0x5bc358){return _0x5bc358['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
+ _0x4f74a6('px');class C extends _0x490713{constructor(){super();const _0x40e17d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x40e17d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x40e17d['if']('isVisible','ck-hidden',_0x5c104b=>!_0x5c104b)],'style':{'left':_0x40e17d['to']('left',_0x328fcd=>q(_0x328fcd)),'top':_0x40e17d['to']('top',_0x37a85b=>q(_0x37a85b)),'width':_0x40e17d['to']('width',_0x508709=>q(_0x508709))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4350ef){this['_viewCollection']=_0x4350ef['ui']['view']['body'];}['destroy'](){for(const _0x4e7fc1 of this['_hiddenLines'])_0x4e7fc1['destroy']();}['cleanLines'](){for(const _0x498d44 of this['_visibleLines'])_0x498d44['isVisible']=!0x1,this['_hiddenLines']['add'](_0x498d44);this['_visibleLines']['clear']();}['showLine'](_0x7428bd,_0x335712,_0x55eb36,_0x3a0a6b){let _0x5a7a9f;this['_hiddenLines']['size']?(_0x5a7a9f=_0xbde3d(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5a7a9f)):_0x5a7a9f=new C(),_0x5a7a9f['set']({'pageNumber':_0x3a0a6b,'left':_0x7428bd,'top':_0x335712,'width':_0x55eb36}),_0x5a7a9f['isVisible']=!0x0,this['_viewCollection']['has'](_0x5a7a9f)||this['_viewCollection']['add'](_0x5a7a9f),this['_visibleLines']['add'](_0x5a7a9f);}['setViewCollection'](_0x3eb3ca){for(const _0x1a03f3 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1a03f3)&&this['_viewCollection']['remove'](_0x1a03f3);this['_viewCollection']=_0x3eb3ca;}}const E='ck-pagination_enabled';class n extends _0x166e16{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new O(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](E),this['on']('change:isEnabled',(_0x53fbc5,_0x1271b7,_0x5def3a)=>{_0x5def3a||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x5def3a);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x215b80){if(!this['isEnabled'])return;const _0x1bc7e0=_0x215b80>0x1?this['_getPageBreakLineOffset'](_0x215b80-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1bc7e0-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0xfe08c2['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x447fb4=this['editor'],_0x1a07b0=this['_getAttachedDomRoot']();_0x1a07b0?(this['_scrollableEditingRootDomAncestor']&&_0x447fb4['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x273985){let _0x6f8fbd=_0x273985;do{_0x6f8fbd=_0x6f8fbd['parentElement'];const _0x1e92df=_0x3b9d49['window']['getComputedStyle'](_0x6f8fbd)['overflowY'];if('auto'==_0x1e92df||'scroll'==_0x1e92df)break;}while('BODY'!=_0x6f8fbd['tagName']);return _0x6f8fbd;}(_0x1a07b0),_0x447fb4['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x5c2894(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x447fb4['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5f54c8=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5f54c8['ui']['view']['listenTo'](_0x3b9d49['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5f54c8['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x23cddc of this['editor']['editing']['view']['domRoots']['values']())if(_0x23cddc['ownerDocument']['body']['contains'](_0x23cddc))return _0x23cddc;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x2eaa07=this['_getAttachedDomRoot'](),_0x428b99=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2eaa07||0x1==_0x428b99['length'])return void(this['pageNumber']=0x1);const _0x2320e4=new _0x2f2800(_0x2eaa07)['excludeScrollbarsAndBorders'](),_0x5e8896=new _0x2f2800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3942b0=_0x5e8896['top']+_0x5e8896['height']/0x3;let _0x38d1df=!0x1;const _0x59595e=[];for(let _0x1bfd9d=0x1;_0x1bfd9d<_0x428b99['length'];_0x1bfd9d++){const _0x2bfb8b=this['_getPageBreakLineOffset'](_0x1bfd9d,_0x5e8896);if(!_0x2bfb8b)continue;const _0xf0facb=_0x5e8896['top']+_0x2bfb8b-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x59595e['push']({'pageOffsetTop':_0xf0facb,'domRootRect':_0x2320e4,'domScrollableRect':_0x5e8896,'pageNumber':_0x1bfd9d}),_0xf0facb>_0x3942b0&&!_0x38d1df&&(this['pageNumber']=_0x1bfd9d,_0x38d1df=!0x0);}this['_renderPageBreakLines'](_0x59595e),_0x38d1df||(this['pageNumber']=_0x428b99['length']);}['_renderPageBreakLines'](_0x18e725){const {scrollX:_0x382c52,scrollY:_0x2f95d1}=_0x3b9d49['window'];if(_0x18e725['length']){for(const {domScrollableRect:_0x18e8dc,pageOffsetTop:_0x17928e,domRootRect:_0x547954,pageNumber:_0x514321}of _0x18e725)_0x18e8dc['top']<_0x17928e&&_0x17928e<_0x18e8dc['bottom']&&this['linesRepository']['showLine'](_0x547954['left']+_0x382c52,_0x17928e+_0x2f95d1,_0x547954['width'],_0x514321+0x1);}}['_getPageBreakLineOffset'](_0xb57012,_0x25848b=null){const _0x510d3c=this['_paginationLookupPlugin']['pageBreaks'][_0xb57012]['offset'];return _0x510d3c?(_0x25848b||(_0x25848b=new _0x2f2800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x510d3c-_0x25848b['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x335f84,_0x18a2a3=!0x0){const _0x2ed983=this['editor']['editing']['view'];_0x2ed983['change'](_0x38e06a=>{for(const _0x42c335 of _0x2ed983['document']['roots'])_0x18a2a3?_0x38e06a['addClass'](_0x335f84,_0x42c335):_0x38e06a['removeClass'](_0x335f84,_0x42c335);});}}function g(_0x19efda,_0x12c8e3,..._0x7d790c){const t=_0x19efda['t'];switch(_0x12c8e3){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)',..._0x7d790c);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 _0x12c8e3;}}class s extends _0x166e16{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5209d5=this['editor']['plugins']['get']('Pagination'),_0x434c72=this['editor']['plugins']['get'](a),_0x3fc17a=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x5209d5),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3fc17a),this['listenTo'](_0x434c72,'change:pageBreaks',(_0x3286bb,_0x1162df,_0x1d03af,_0x56fc16)=>{this['totalPages']=_0x1d03af['length'],this['_updatePageBreakMarkers'](_0x1d03af,_0x56fc16);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3000d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45ad82;for(const _0x4fce55 in _0x3000d9){const _0x1ff11c=_0x4fce55,_0x4e5b66=_0x3000d9[_0x1ff11c];if('paginationLicenseKeyValid'==_0x4e5b66||'paginationLicenseKeyInvalid'==_0x4e5b66||'paginationLicenseKeyExpired'==_0x4e5b66||'paginationLicenseKeyDomainLimit'==_0x4e5b66||'paginationLicenseKeyNotAllowed'==_0x4e5b66||'paginationLicenseKeyEvaluationLimit'==_0x4e5b66||'paginationLicenseKeyTrialLimit'==_0x4e5b66||'paginationLicenseKeyUsageLimit'==_0x4e5b66){delete _0x3000d9[_0x1ff11c],_0x45ad82=_0x4e5b66,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x45ad82&&_0x3000d9['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x45ad82&&_0x3000d9['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x45ad82&&_0x3000d9['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x45ad82&&_0x3000d9['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x45ad82&&_0x3000d9['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x45ad82&&_0x3000d9['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x45ad82&&_0x3000d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x4241e6){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x4241e6));}['moveSelectionToPage'](_0x10f39c){if(!this['isEnabled'])return;const _0x37c8ac=this['editor'],_0x561888=this['editor']['plugins']['get'](a)['pageBreaks'][_0x10f39c-0x1];_0x561888&&_0x37c8ac['model']['change'](_0x2d7f26=>{switch(_0x561888['type']){case'manual':{const _0x59ae5d=_0x37c8ac['model']['schema']['getNearestSelectionRange'](_0x561888['modelRange']['end'],'forward');_0x2d7f26['setSelection'](_0x59ae5d);break;}case'element':{const _0x4e9d3c=_0x37c8ac['model']['schema']['getNearestSelectionRange'](_0x561888['modelRange']['start'],'forward');_0x2d7f26['setSelection'](_0x4e9d3c);break;}case'text':{const _0x3696e0=_0x561888['modelRange']['start'];if(_0x3696e0['textNode']&&'\x20'===_0x3696e0['textNode']['data'][_0x3696e0['offset']]){const _0x3245de=_0x2d7f26['createPositionAt'](_0x3696e0['parent'],_0x3696e0['offset']+0x1);_0x2d7f26['setSelection'](_0x3245de);}else _0x2d7f26['setSelection'](_0x561888['modelRange']);}}_0x37c8ac['editing']['view']['focus']();});}['goToNextPage'](){const _0x2b008b=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2b008b),this['scrollToPage'](_0x2b008b);}['goToPreviousPage'](){const _0x4b238c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4b238c),this['scrollToPage'](_0x4b238c);}['_updatePageBreakMarkers'](_0x1a67d7,_0x1bff25){const _0x1ec36f=this['editor']['model'];this['isEnabled']&&_0x1ec36f['change'](_0x30a88a=>{for(let _0x4a1aa2=0x1;_0x4a1aa2<_0x1a67d7['length'];_0x4a1aa2++){const _0x1a6131=_0x1a67d7[_0x4a1aa2]['modelRange'],_0x63c80f='pagination:'+(_0x4a1aa2+0x1);_0x1ec36f['markers']['has'](_0x63c80f)?_0x30a88a['updateMarker'](_0x63c80f,{'range':_0x1a6131}):_0x30a88a['addMarker'](_0x63c80f,{'range':_0x1a6131,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x117ae9=_0x1a67d7['length'];_0x117ae9<_0x1bff25['length'];_0x117ae9++){const _0x236c4b='pagination:'+(_0x117ae9+0x1);_0x1ec36f['markers']['has'](_0x236c4b)&&_0x30a88a['removeMarker'](_0x236c4b);}});}['_setUpDataDowncastConversion'](){const _0x3c9523='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3cc84d=>{_0x3cc84d['on']('addMarker:'+_0x3c9523,(_0x1dca66,{markerRange:_0x434d93,markerName:_0x530e56},_0x4b961f)=>{if(!_0x4b961f['options']['pagination'])return;if(!_0x4b961f['consumable']['consume'](_0x434d93,_0x1dca66['name']))return;const _0x388a6a=_0x434d93['getContainedElement']();let _0x57b236=_0x388a6a?_0x4b961f['mapper']['toViewElement'](_0x388a6a):null;if(!_0x57b236){const _0x29abce=_0x434d93['start'];if(_0x4b961f['schema']['checkChild'](_0x29abce,'$text')){const _0x1d0ae6=_0x4b961f['mapper']['toViewPosition'](_0x29abce);_0x57b236=_0x4b961f['writer']['createContainerElement']('span'),_0x57b236['getFillerOffset']=()=>null,_0x4b961f['writer']['insert'](_0x1d0ae6,_0x57b236);}else{const _0x46d4a9=_0x29abce['nodeAfter'];_0x57b236=_0x4b961f['mapper']['toViewElement'](_0x46d4a9);}}for(;_0x57b236['parent']!==_0x57b236['root']&&0x0===_0x57b236['index'];)_0x57b236=_0x57b236['parent'];const _0x136f0e=_0x530e56['substring'](0xb);_0x57b236['hasClass']('page-break')||(_0x4b961f['writer']['setStyle']('page-break-before','always',_0x57b236),_0x4b961f['writer']['setAttribute']('data-pagination-page',_0x136f0e,_0x57b236),_0x4b961f['mapper']['bindElementToMarker'](_0x57b236,_0x530e56)),_0x1dca66['stop']();});});}['_setupKeystrokes'](){const _0x555302=this['editor'];_0x555302['keystrokes']['set']('Shift+Pageup',(_0x4718b4,_0x4451af)=>{this['goToPreviousPage'](),_0x4451af();}),_0x555302['keystrokes']['set']('Shift+Pagedown',(_0x2e2cfc,_0x532d02)=>{this['goToNextPage'](),_0x532d02();}),_0x555302['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x555302['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x555302['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x555302['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x49dfec){return _0x49dfec<0x1&&(_0x49dfec=0x1),_0x49dfec>this['totalPages']&&(_0x49dfec=this['totalPages']),_0x49dfec;}}class G extends _0x490713{['pageNumberView'];constructor(_0x19ac4b){super(_0x19ac4b);const _0x4cf185=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4cfc36(_0x19ac4b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x52cb7f=>g(_0x19ac4b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x52cb7f)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x39e642=>!_0x39e642),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x4cf185['if']('isEnabled','ck-disabled',_0x312a5b=>!_0x312a5b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x4cf185['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1a1fa7=this['pageNumberView']['element'],_0x1e68b9=_0x22cbb2=>{this['pageNumberView']['element']['value']=String(_0x22cbb2);};_0x1e68b9(this['pageNumber']),this['on']('change:pageNumber',(_0xdd7643,_0x200251,_0x2a401c)=>{_0x1e68b9(_0x2a401c);}),this['listenTo'](_0x1a1fa7,'keydown',(_0x2d0356,_0x51f91a)=>{if('ArrowUp'===_0x51f91a['key']||'ArrowDown'===_0x51f91a['key'])return void _0x51f91a['stopPropagation']();if(_0x51f91a['keyCode']!==_0x7754ee['enter'])return;_0x51f91a['preventDefault']();const _0xd8a33a=_0x1a1fa7['valueAsNumber'];Number['isNaN'](_0xd8a33a)?_0x1a1fa7['value']=String(this['pageNumber']):(_0x1a1fa7['checkValidity']()?this['pageNumber']=_0xd8a33a:_0xd8a33a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1a1fa7['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1a1fa7['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1a1fa7,'blur',()=>{_0x1a1fa7['value']=String(this['pageNumber']);}),this['listenTo'](_0x1a1fa7,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x166e16{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34851b=this['editor'],_0x2d07c3=_0x34851b['plugins']['get']('PaginationEditing');_0x34851b['ui']['componentFactory']['add']('pageNavigation',_0x27f59b=>{const _0x45124b=new G(_0x27f59b);return _0x45124b['bind']('pageNumber')['to'](_0x2d07c3),_0x45124b['bind']('totalPages')['to'](_0x2d07c3),_0x45124b['bind']('isEnabled')['to'](_0x2d07c3),_0x45124b['on']('navigation',(_0x1c4ca1,_0x17e31e)=>{_0x2d07c3['moveSelectionToPage'](_0x17e31e),_0x2d07c3['scrollToPage'](_0x17e31e);}),_0x45124b;}),_0x34851b['ui']['componentFactory']['add']('nextPage',_0xae4c7e=>{const _0x4c4adb=new _0x15f789(_0xae4c7e);return _0x4c4adb['isEnabled']=!0x0,_0x4c4adb['label']=g(_0x34851b['locale'],'Go\x20to\x20next\x20page'),_0x4c4adb['icon']=_0x1c0374,_0x4c4adb['tooltip']=!0x0,_0x4c4adb['keystroke']='Shift+PageDown',_0x4c4adb['bind']('isEnabled')['to'](_0x2d07c3),this['listenTo'](_0x4c4adb,'execute',()=>{_0x2d07c3['goToNextPage']();}),_0x4c4adb;}),_0x34851b['ui']['componentFactory']['add']('previousPage',_0x2ac615=>{const _0x7404bf=new _0x15f789(_0x2ac615);return _0x7404bf['isEnabled']=!0x0,_0x7404bf['label']=g(_0x34851b['locale'],'Go\x20to\x20previous\x20page'),_0x7404bf['icon']=_0x55dff0,_0x7404bf['tooltip']=!0x0,_0x7404bf['keystroke']='Shift+PageUp',_0x7404bf['bind']('isEnabled')['to'](_0x2d07c3),this['listenTo'](_0x7404bf,'execute',()=>{_0x2d07c3['goToPreviousPage']();}),_0x7404bf;});}}class T extends _0x166e16{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x2d3335){super(_0x2d3335),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x221cd4=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x221cd4),this['bind']('totalPages')['to'](_0x221cd4),_0xfe08c2['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x241837){this['editor']['plugins']['get'](s)['scrollToPage'](_0x241837);}}export{T as Pagination,n 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':_0x2f3bca=>0x1!=_0x2f3bca}};
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':_0x1ea2b3=>0x1!=_0x1ea2b3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x510775=>{const {af:{dictionary:_0x46c00b,getPluralForm:_0x23759b}}={'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':_0x259845=>0x1!=_0x259845}};_0x510775['af']||={'dictionary':{},'getPluralForm':null},_0x510775['af']['dictionary']=Object['assign'](_0x510775['af']['dictionary'],_0x46c00b),_0x510775['af']['getPluralForm']=_0x23759b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x291d39=>{const {af:{dictionary:_0x3c7142,getPluralForm:_0x1fafff}}={'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':_0x200c2f=>0x1!=_0x200c2f}};_0x291d39['af']||={'dictionary':{},'getPluralForm':null},_0x291d39['af']['dictionary']=Object['assign'](_0x291d39['af']['dictionary'],_0x3c7142),_0x291d39['af']['getPluralForm']=_0x1fafff;})(window['CKEDITOR_TRANSLATIONS']||={});