@ckeditor/ckeditor5-pagination 46.0.0-alpha.7 → 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}function r(t,e){const n=l();return(r=function(t,e){return n[t-=247]})(t,e)}const a=r;!function(t){const e=r,n=t();for(;;)try{if(527049===parseInt(e(384))/1*(parseInt(e(277))/2)+parseInt(e(367))/3+-parseInt(e(298))/4*(parseInt(e(436))/5)+parseInt(e(355))/6+parseInt(e(348))/7*(parseInt(e(258))/8)+parseInt(e(266))/9*(-parseInt(e(430))/10)+-parseInt(e(339))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class c extends t.Plugin{[a(352)]=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[a(296)](),200);[a(342)]=null;static get[a(247)](){return a(356)}static get[a(374)](){return!0}static get[a(397)](){return!0}[a(383)](){const t=a;if(this[t(413)]({pageBreaks:[]}),!this[t(292)][t(340)][t(427)](t(403)))return void(0,o.logWarning)(t(420),this[t(292)][t(340)]);const e=this[t(292)][t(379)][t(427)](t(380));this[t(362)](t(386)).to(e),this[t(292)].ui[t(402)](t(415),()=>this[t(369)]()),this.on(t(414),(e,n,i)=>{i&&this[t(352)]()})}[a(316)](){!async function(t){const e=m([98,68,106,52,65,122,48,90,108,66,85,75,74,50,102,86,81,84,80,82,116,100,49,120,109,71,57,73,69,70,101,79,76,105,83,115,119,97,114,112,53,56,117,99,121,87,55,88,89,107,111,77,78,51,110,54,72,104,67,113,118,103]),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)}),a={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},c=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=r;return t[e(344)](t=>String[e(407)](t))[e(370)]("")}!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([98]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return c==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=c[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),r=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!r)return;const c=await r[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),a,{[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 r[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:1751932800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=r,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(343)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[a(396)](){const t=a;super[t(396)](),this[t(342)]&&(this[t(352)][t(256)](),this[t(342)][t(396)](),this[t(342)][t(351)][t(312)]())}[a(369)](){const t=a,n=this[t(292)],i=n[t(368)][t(317)],o=this[t(324)]();if(!o||0===o[t(321)])return void n.ui[t(402)](t(255),()=>this[t(369)]());const{pageWidth:s,pageHeight:r}=n[t(340)][t(427)](t(403)),{top:c,left:u,bottom:l,right:p}=this[t(271)];this[t(342)]=new e.View(n[t(297)]);const f=this[t(342)];f[t(413)](t(434),""),f[t(307)]({tag:t(398),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(334)+r+t(373)+c+t(373)+l+" )",minWidth:t(408),minHeight:t(408),padding:"0 "+p+t(437)+u,columnGap:t(288),border:0,boxSizing:t(299),columnCount:t(408),columnFill:t(408),overflow:t(395),position:t(423),top:t(320),left:t(320)},tabindex:"-1",class:f[t(286)].to(t(434))}}),f[t(409)](),o[t(257)][t(426)](f[t(351)],o[t(287)]),this[t(358)](i,t(409),()=>this[t(352)](),{priority:t(272)}),this[t(352)]()}[a(324)](){const t=a;for(const e of this[t(292)][t(368)][t(317)][t(293)][t(432)]())if(e[t(252)][t(284)][t(382)](e))return e;return null}[a(296)](){const t=a;if(!this[t(386)])return Promise[t(361)]();const e=this[t(292)][t(368)][t(317)],n=this[t(342)],i=this[t(324)]();if(!i)return Promise[t(361)]();for(n[t(434)]=[t(260),t(387),...i[t(291)]][t(370)](" ");n[t(351)][t(279)];)n[t(351)][t(279)][t(312)]();const o=Array[t(329)](e[t(293)]);o[t(345)](([,e],[,n])=>e[t(418)](n)==Node[t(405)]?1:-1);for(const[e,i]of o){const o=i[t(376)](!0);t(406)in o&&o[t(406)][t(248)](),o[t(325)]="",o[t(389)]("id"),o[t(417)][t(314)]=e,n[t(351)][t(381)](o)}return function(e){const n=t;return Promise[n(393)](e[n(344)](t=>{return Promise[n(399)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(329)](n[t(351)][t(347)](t(313))))[t(337)](()=>this[t(411)]())}[a(411)](){const t=a,e=this[t(342)][t(351)];if(!e[t(252)][t(284)][t(382)](e))return;const n=new o.Rect(e)[t(377)](),i=o.global[t(268)][t(394)](e),s=parseFloat(i[t(322)])+parseFloat(i[t(412)]),r=Math[t(354)](n[t(249)]+100-s),c=m(e,Math[t(354)](n[t(254)]-e[t(283)]),r,n[t(431)])[t(344)](e=>this[t(336)](e));c[t(421)](t=>!!t)&&(this[t(330)]=c)}[a(336)](t){const e=a,n=this[e(292)][e(368)][e(317)],i=this[e(292)][e(368)][e(419)],o=n[e(305)],s=t[e(404)][e(350)](),r=this[e(342)][e(351)][e(278)][s][e(417)][e(314)],c=n[e(311)](r);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(404)]){if(!o)return null;o=o[i(278)][t]}return o}(c,t);if(!u)return null;const l=o[e(253)](u,t[e(363)]||0);return l?e(304)==t[e(251)]?this[e(366)](l,u):e(428)==t[e(251)]&&i[e(301)](l)[e(285)]?this[e(273)](l,u,t[e(363)]):this[e(275)](l,u,t[e(285)]):null}[a(366)](t,e){const n=a,i=this[n(292)][n(359)],o=this[n(292)][n(368)][n(419)][n(274)](t[n(353)]),s=i[n(331)](o);return new u({type:n(304),modelRange:s,domNode:e,offset:0})}[a(273)](t,e,n){const i=a,o=this[i(292)][i(359)],s=this[i(292)][i(368)][i(419)],r=this[i(292)][i(368)][i(317)][i(305)];if(n>=e[i(315)])return null;const c=s[i(301)](t),l=o[i(365)](c),f=s[i(327)](t),d=r[i(290)](f);return new u({type:i(428),modelRange:l,domNode:e,offset:p(e,n,d)})}[a(275)](t,e,n){const i=a,s=this[i(292)][i(359)],r=this[i(292)][i(368)],c=r[i(419)],l=r[i(317)][i(305)],p=c[i(327)](t),f=c[i(274)](p),h=function(t){const e=i,n=t[e(353)],o=n[e(250)][e(282)][e(359)],s=n[e(401)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(303)))return r;if(!o[e(276)](n)[e(429)](t))return r;r=n}}(s[i(276)](f))||f;let g=c[i(372)](h),m=s[i(331)](h);const b=s[i(276)](h)[i(375)];if(b&&b.is(i(351),i(391))){const t=c[i(372)](b),e=l[i(290)](t),n=o.global[i(268)][i(394)](e)[i(388)];i(254)!=n&&i(264)!=n||(m=s[i(331)](b))}for(;g[i(353)]!==g[i(250)]&&0===g[i(333)];)g=g[i(353)];const v=new o.Rect(y(e)?e:d(e)),w=n?v[i(431)]-n:0,k=l[i(290)](g),I=new o.Rect(k);return new u({type:i(351),modelRange:m,domNode:k,offset:Math[i(435)](w)?w+v[i(335)]-I[i(335)]:0})}get[a(271)](){const t=a,e=this[t(292)][t(340)][t(427)](t(323));return Object[t(269)]({top:t(318),bottom:t(318),left:t(318),right:t(318)},e)}static[a(433)](t,e,n,i,o){return m(t,e,n,i,o)}}class u{[a(251)];[a(261)];[a(294)];[a(385)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=a;this[o(251)]=t,this[o(261)]=e,this[o(294)]=n,this[o(385)]=i}get[a(285)](){const t=a;if(!this[t(294)][t(252)][t(284)][t(382)](this[t(294)]))return 0;const e=new o.Rect(y(this[t(294)])?this[t(294)]:d(this[t(294)]));return t(304)==this[t(251)]?e[t(335)]+e[t(431)]/2:e[t(335)]+this[t(385)]}}function l(){const t=["_getAttachedDomRoot","className","indexOf","findMappedViewAncestor","table-row","from","pageBreaks","createRangeOn","display","index","calc( ","top","_mapPageStarterInfoToPageBreakInfo","then","previousElementSibling","12944008BESHvn","config","push","_pagesContainer","href","map","sort","parentElement","querySelectorAll","14ITxPHY","bottom","shift","element","_recalculatePageBreaksDebounced","parent","floor","3865836wFClCC","PaginationLookup","startContainer","listenTo","model","entries","resolve","bind","textOffset","figure.image","createRange","_mapManualPageStarterInfoToPageBreakInfo","2893155NArCRs","editing","_onUiReady","join","selectNode","toViewElement"," - ","isOfficialPlugin","nodeBefore","cloneNode","excludeScrollbarsAndBorders","ceil","plugins","PaginationEditing","append","contains","init","213251HZvEEZ","_offset","isEnabled","ck-pagination-view","float","removeAttribute","none","imageBlock","getClientRects","all","getComputedStyle","hidden","destroy","isPremiumPlugin","div","race","ELEMENT_NODE","getAncestors","once","pagination","path","DOCUMENT_POSITION_PRECEDING","attributeStyleMap","fromCharCode","auto","render","endOffset","_updatePageBreaksData","paddingRight","set","change:isEnabled","ready","page-break","dataset","compareDocumentPosition","mapper","pagination-config-not-found","every","offsetParent","absolute","removeEventListener","load","insertBefore","get","text","isTouching","5893160VOaWxu","height","values","_findPageStarterInfos","class","round","15JJvFAE"," 0 ","previousSibling","position","pluginName","clear","width","root","type","ownerDocument","domPositionToView","left","update","cancel","parentNode","2665792RBAAky","TEXT_NODE","ck-reset","modelRange","style","addEventListener","right","table-cell","9iMiBFR","nodeType","window","assign","hasAttribute","_configuredPaddings","low","_mapTextPageStarterInfoToPageBreakInfo","toModelElement","_mapElementPageStarterInfoToPageBreakInfo","createPositionBefore","2lbbssa","childNodes","firstChild","startOffset","closest","document","scrollLeft","body","offset","bindTemplate","nextSibling","100px","error","mapViewToDom","classList","editor","domRoots","_domNode","endContainer","_recalculatePageBreaks","locale","260396uaxrrR","border-box",".page-break","toModelPosition","ck-fake-selection-container","rootElement","manual","domConverter","complete","setTemplate","setEnd","setStart","selectNodeContents","getDomRoot","remove","img","rootName","length","afterInit","view","10mm","nextElementSibling","-99999px","childElementCount","paddingLeft","pagination.pageMargins"];return(l=function(){return t})()}function p(t,e,n){const i=a,s=d(t),c=function(t){const e=r,n=o.global[e(282)][e(365)]();return n[e(310)](t),n}(n);let u;u=0==e?g(c[i(357)],c[i(280)],t[i(257)],Array[i(329)](t[i(257)][i(278)])[i(326)](t)):g(c[i(357)],c[i(280)],t,e);const l=g(t,e,c[i(295)],c[i(410)]),p=new o.Rect(u)[i(349)];return(new o.Rect(l)[i(335)]+p)/2-new o.Rect(s)[i(335)]}function f(t){const e=a;return t[e(270)](e(249))&&t[e(270)](e(431))?Promise[e(361)]():new Promise(n=>{const i=e;function o(){const e=r;t[e(424)](e(425),o),t[e(424)](e(289),o),n()}t[i(306)]?n():(t[i(263)](i(425),o),t[i(263)](i(289),o))})}function d(t){const e=a,n=o.global[e(282)][e(365)]();return n[e(371)](t),n}function h(t,e,n){const i=a,s=o.global[i(282)][i(365)]();return s[i(309)](t,e),s[i(308)](t,n),s}function g(t,e,n,i){const s=a,r=o.global[s(282)][s(365)]();return r[s(309)](t,e),r[s(308)](n,i),r}function m(t,e,n,i,o){const s=a,r=[];for(const[a,c]of t[s(278)][s(360)]()){let t=[];y(c)&&c[s(422)]&&!c[s(262)][s(439)]?t=b(c,a,e,n,i,o):I(c)&&(t=v(c,a,e,n,o)),t[s(315)]&&(r[s(341)](...t),e+=t[s(315)]*n,o=!1)}return r}function b(t,e,n,i,s,r){const c=a,u=[];var l;if((l=t[c(438)])&&y(l)&&Boolean(l[c(291)][c(382)](c(416))||l[c(281)](c(300)))&&(u[c(341)]({type:c(304),offset:0,path:[e-1]}),r=!0),c(328)==o.global[c(268)][c(394)](t)[c(332)]){let i=0,o=!1;for(const e of t[c(392)]())i+=e[c(431)],e[c(254)]>=n&&(o=!0);if(i<s&&o)return u[c(341)]({type:c(351),offset:0,path:[e]}),u}const p=t[c(281)](c(364));if(p&&function(t){const e=c;let n=!1;const i=t[e(346)][e(417)][e(314)],s=t[e(319)],r=t[e(338)],a=s&&o.global[e(268)][e(394)](s)[e(388)],u=s&&e(302)===s[e(325)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(390)!==a&&(n=!0),!n}(p)){const t=o.global[c(268)][c(394)](p)[c(388)];if(c(254)==t||c(264)==t)return u}const f=m(t,n,i,s,r);if(f[c(315)]){for(const t of f)u[c(341)]({type:t[c(251)],offset:t[c(285)],textOffset:t[c(363)],path:[e,...t[c(404)]]}),n+=i,r=!1;return u}return u[c(341)](...function(t,e,n,i,s){const r=c,a=[];if(r(265)==o.global[r(268)][r(394)](t)[r(332)])return[];const u=[];for(const e of t[r(392)]())if(e[r(254)]>=n){for(const t of u)t[r(431)]+=e[r(431)];u[r(341)]({height:e[r(431)]}),n+=i}for(const t of u)s||a[r(341)]({type:r(351),offset:t[r(431)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,r)),u}function v(t,e,n,i,o){const s=a,r=d(t),c=[];let u=0;for(const a of r[s(392)]())if(a[s(254)]>=n){const r=w(t,u,n,i);o||c[s(341)]({type:s(428),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=a;let s=e,r=t[o(315)];for(;r-s>1;){const e=Math[o(378)]((s+r)/2);k(h(t,s,e),n,i)?r=e:s=e}return s}function k(t,e,n){const i=a;for(const o of t[i(392)]())if(o[i(254)]>=e&&o[i(254)]<e+n)return!0;return!1}function y(t){const e=a;return t[e(267)]==Node[e(400)]}function I(t){const e=a;return t[e(267)]==Node[e(259)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),A=n(262),T=n.n(A),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=T().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function D(t,e){const n=B();return(D=function(t,e){return n[t-=192]})(t,e)}function B(){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(B=function(){return t})()}!function(t){const e=D,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())}}(B);const M=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=D;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=>M(t)),top:e.to(t(210),t=>M(t)),width:e.to(t(194),t=>M(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 V{[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 U(){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(U=function(){return t})()}const F=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())}}(U);const H=F(438);function W(t,e){const n=U();return(W=function(t,e){return n[t-=396]})(t,e)}class z extends t.Plugin{[F(479)];[F(419)]=null;[F(423)]=null;[F(413)];static get[F(477)](){return F(463)}static get[F(467)](){return!0}static get[F(451)](){return!0}[F(426)](){const t=F;this[t(432)]({pageNumber:1}),this[t(479)]=new V(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)](H),this.on(t(398),(e,n,i)=>{const o=t;i||this[o(479)][o(406)](),this[o(445)](H,i)})}[F(404)](){const t=F;this[t(445)](H,!1),this[t(479)][t(404)](),this[t(419)]=null,this[t(423)]&&this[t(423)][t(404)]()}[F(422)](t){const e=F;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)})}[F(454)](){const t=F,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)]())}[F(409)](){const t=F,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)]())}[F(411)](){const t=F;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}[F(456)](){const t=F;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)])}[F(470)](t){const e=F,{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)}[F(476)](t,e=null){const n=F,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}[F(445)](t,e=!0){const n=F,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=T().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[c,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)](c),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)](c)[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=T().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 _0x577360}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1a25f8,InputNumberView as _0x56e6d5,ButtonView as _0x13ea25}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1ed0d6,Rect as _0x512d65,global as _0x35f76a,uid as _0x1edbc,toUnit as _0x1cca11,first as _0x5e1568,env as _0x1c3cc8,ResizeObserver as _0x309544,keyCodes as _0x34b5cb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x1f585c}from'es-toolkit/compat';import{IconArrowDown as _0x13f243,IconArrowUp as _0x10279d}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x577360{['_recalculatePageBreaksDebounced']=_0x1f585c(()=>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 _0x1ed0d6('pagination-config-not-found',this['editor']['config']);const _0x8de82e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x8de82e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x18189d,_0x4b3fc2,_0x5b1673)=>{_0x5b1673&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x12838d){const _0x2fd22f=_0x151e65([0x62,0x44,0x6a,0x34,0x41,0x7a,0x30,0x5a,0x6c,0x42,0x55,0x4b,0x4a,0x32,0x66,0x56,0x51,0x54,0x50,0x52,0x74,0x64,0x31,0x78,0x6d,0x47,0x39,0x49,0x45,0x46,0x65,0x4f,0x4c,0x69,0x53,0x73,0x77,0x61,0x72,0x70,0x35,0x38,0x75,0x63,0x79,0x57,0x37,0x58,0x59,0x6b,0x6f,0x4d,0x4e,0x33,0x6e,0x36,0x48,0x68,0x43,0x71,0x76,0x67]),_0x55b351=0x1cbe20da,_0x63ce14=0x1cb94c22^_0x55b351,_0x438884=window[_0x151e65([0x44,0x61,0x74,0x65])][_0x151e65([0x6e,0x6f,0x77])](),_0x2bf20c=_0x12838d[_0x151e65([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcba4a2=new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe4b08e=>{_0x2bf20c[_0x151e65([0x6f,0x6e,0x63,0x65])](_0x151e65([0x72,0x65,0x61,0x64,0x79]),_0xe4b08e);}),_0x53027d={[_0x151e65([0x6b,0x74,0x79])]:_0x151e65([0x45,0x43]),[_0x151e65([0x75,0x73,0x65])]:_0x151e65([0x73,0x69,0x67]),[_0x151e65([0x63,0x72,0x76])]:_0x151e65([0x50,0x2d,0x32,0x35,0x36]),[_0x151e65([0x78])]:_0x151e65([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]),[_0x151e65([0x79])]:_0x151e65([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]),[_0x151e65([0x61,0x6c,0x67])]:_0x151e65([0x45,0x53,0x32,0x35,0x36])},_0x2f4bc9=_0x2bf20c[_0x151e65([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151e65([0x67,0x65,0x74])](_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f722b(){let _0x38b8ef,_0x47ea32=null,_0x89d7d9=null;try{if(_0x2f4bc9==_0x151e65([0x47,0x50,0x4c]))return _0x151e65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38b8ef=_0x5dc4a1(),!_0x38b8ef)return _0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38b8ef[_0x151e65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x89d7d9=_0x27863d(_0x38b8ef[_0x151e65([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38b8ef[_0x151e65([0x6a,0x74,0x69])])),await _0x5d131a()?_0x250664()?_0x154bb8()?_0x151e65([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b0fd0()?(_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151e65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47ea32=_0x1b6a4f(_0x151e65([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151e65([0x74,0x72,0x69,0x61,0x6c])&&(_0x47ea32=_0x1b6a4f(_0x151e65([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd03906()):_0x151e65([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151e65([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151e65([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x154bb8(){const _0x540a5c=[_0x151e65([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151e65([0x74,0x72,0x69,0x61,0x6c])][_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x438884/0x3e8:0xe10*_0x63ce14;return _0x38b8ef[_0x151e65([0x65,0x78,0x70])]<_0x540a5c;}function _0x250664(){const _0x458f60=_0x38b8ef[_0x151e65([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x458f60&&(!!_0x458f60[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x2a]))||!!_0x458f60[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x50,0x41,0x47])));}function _0x5b0fd0(){const _0x3ba26d=_0x38b8ef[_0x151e65([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ba26d||0x0==_0x3ba26d[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf0c7b}=new URL(window[_0x151e65([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ba26d[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0c7b))return!0x0;const _0x213fc0=_0xf0c7b[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e]));return _0x3ba26d[_0x151e65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x560d88=>_0x560d88[_0x151e65([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151e65([0x2a])))[_0x151e65([0x6d,0x61,0x70])](_0x1895ad=>_0x1895ad[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e])))[_0x151e65([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1021e3=>_0x1021e3[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x213fc0[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151e65([0x6d,0x61,0x70])](_0x108af5=>Array(_0x213fc0[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x108af5[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151e65([0x66,0x69,0x6c,0x6c])](_0x108af5[0x0]===_0x151e65([0x2a])?_0x151e65([0x2a]):'')[_0x151e65([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x108af5))[_0x151e65([0x73,0x6f,0x6d,0x65])](_0x2b6d85=>_0x213fc0[_0x151e65([0x65,0x76,0x65,0x72,0x79])]((_0x467064,_0x20f511)=>_0x2b6d85[_0x20f511]===_0x467064||_0x2b6d85[_0x20f511]===_0x151e65([0x2a])));}function _0xd03906(){return _0x47ea32&&_0x89d7d9?new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28737d,_0x2404fb)=>{_0x47ea32[_0x151e65([0x74,0x68,0x65,0x6e])](_0x28737d,_0x2404fb),_0x89d7d9[_0x151e65([0x74,0x68,0x65,0x6e])](_0x283606=>{_0x283606!=_0x151e65([0x56,0x61,0x6c,0x69,0x64])&&_0x28737d(_0x283606);},_0x2404fb);}):_0x47ea32||_0x89d7d9||_0x151e65([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27863d(_0x3bc808,_0x436528){return new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fae02=>{if(_0xb6ee49())return _0x3fae02(_0x151e65([0x56,0x61,0x6c,0x69,0x64]));_0x56811e(),_0x2bf20c[_0x151e65([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31f2f1=!0x1;const _0x1c896d=_0x1edbc();function _0x21850a(_0xcab5a5){return!!_0xcab5a5&&(typeof _0xcab5a5===_0x151e65([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcab5a5===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcab5a5[_0x151e65([0x74,0x68,0x65,0x6e])]===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcab5a5[_0x151e65([0x63,0x61,0x74,0x63,0x68])]===_0x151e65([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b9685(_0x586cc9){_0x456407(_0x586cc9)[_0x151e65([0x74,0x68,0x65,0x6e])](_0x4e85cf=>{if(!_0x4e85cf||_0x4e85cf[_0x151e65([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151e65([0x6f,0x6b]))return _0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x222508(_0x4f5e7a(_0x1c896d+_0x436528))!=_0x4e85cf[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151e65([0x56,0x61,0x6c,0x69,0x64]);})[_0x151e65([0x74,0x68,0x65,0x6e])](_0x3c4e73=>(_0x369b20(),_0x3c4e73),()=>{const _0x4a421b=_0x26e746();return null==_0x4a421b?(_0x369b20(),_0x151e65([0x56,0x61,0x6c,0x69,0x64])):_0x151e65(_0x438884-_0x4a421b>(0x38b2a4da^_0x55b351)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151e65([0x74,0x68,0x65,0x6e])](_0x3fae02)[_0x151e65([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x568088=0x1c88ce5a^_0x55b351;function _0x369b20(){const _0x4fb8e8=_0x151e65([0x6c,0x6c,0x63,0x74,0x2d])+_0x222508(_0x4f5e7a(_0x3bc808)),_0xaf702c=_0x1efce8(_0x222508(window[_0x151e65([0x4d,0x61,0x74,0x68])][_0x151e65([0x63,0x65,0x69,0x6c])](_0x438884/_0x568088)));window[_0x151e65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151e65([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fb8e8,_0xaf702c);}function _0x26e746(){const _0x26d6a2=_0x151e65([0x6c,0x6c,0x63,0x74,0x2d])+_0x222508(_0x4f5e7a(_0x3bc808)),_0x2f3c41=window[_0x151e65([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151e65([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26d6a2);return _0x2f3c41?window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1efce8(_0x2f3c41),0x10)*_0x568088:null;}function _0x456407(_0x335a15){return new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36a44b,_0x93a2c3)=>{_0x335a15[_0x151e65([0x74,0x68,0x65,0x6e])](_0x36a44b,_0x93a2c3),window[_0x151e65([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x93a2c3,0x1cbff41a^_0x55b351);});}}_0x2bf20c[_0x151e65([0x6f,0x6e])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x297c16,_0x397246)=>{if(_0x397246[0x0]!=_0x3bc808)return _0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x397246[0x1]={..._0x397246[0x1],[_0x151e65([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c896d};},{[_0x151e65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151e65([0x68,0x69,0x67,0x68])}),_0x2bf20c[_0x151e65([0x6f,0x6e])](_0x151e65([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43472a=>{_0x21850a(_0x43472a[_0x151e65([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31f2f1=!0x0,_0x1b9685(_0x43472a[_0x151e65([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151e65([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151e65([0x6c,0x6f,0x77])}),_0xcba4a2[_0x151e65([0x74,0x68,0x65,0x6e])](()=>{_0x31f2f1||_0x3fae02(_0x151e65([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb6ee49(){return _0x2bf20c[_0x151e65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151e65([0x76,0x69,0x65,0x77])][_0x151e65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151e65([0x61,0x75,0x74,0x6f]);}function _0x56811e(){_0x2bf20c[_0x151e65([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151e65([0x76,0x69,0x65,0x77])][_0x151e65([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151e65([0x61,0x75,0x74,0x6f]);}}function _0x1b6a4f(_0x248e7e){const _0x1fba08=[new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcec83a=>setTimeout(_0xcec83a,0x1cb71e16^_0x55b351)),_0xcba4a2[_0x151e65([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba02d=>{let _0x5bf023=0x0;_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x6f,0x6e])](_0x151e65([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5eb8af,_0x4a40bf)=>{_0x4a40bf[0x0][_0x151e65([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bf023++,_0x5bf023==(0x1cbe2122^_0x55b351)&&(_0x2ba02d(),_0x5eb8af[_0x151e65([0x6f,0x66,0x66])]());});}))];return window[_0x151e65([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151e65([0x72,0x61,0x63,0x65])](_0x1fba08)[_0x151e65([0x74,0x68,0x65,0x6e])](()=>_0x248e7e);}async function _0x1ac8c2(){await _0xcba4a2,_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x266fcc,_0x2bf20c[_0x151e65([0x6d,0x6f,0x64,0x65,0x6c])][_0x151e65([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x266fcc,_0x2bf20c[_0x151e65([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151e65([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a4a35(_0x20e513){const _0x27ff64=_0x19c8d2();_0x2bf20c[_0x27ff64]=_0x151e65([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20e513,_0x20e513!=_0x151e65([0x56,0x61,0x6c,0x69,0x64])&&_0x1ac8c2();}function _0x19c8d2(){const _0x326970=window[_0x151e65([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151e65([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151e65([0x6e,0x6f,0x77])]())[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151e65([0x2e]),'');let _0x53d769=_0x151e65([0x62]);for(let _0x4a3e70=0x0;_0x4a3e70<_0x326970[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a3e70+=0x2){let _0x1e7324=window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x326970[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3e70,_0x4a3e70+0x2));_0x1e7324>=_0x2fd22f[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e7324-=_0x2fd22f[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53d769+=_0x2fd22f[_0x1e7324];}return _0x53d769;}function _0x5dc4a1(){const _0x241f35=_0x2f4bc9[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e]));if(0x3!=_0x241f35[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34af4b(_0x241f35[0x1]);function _0x34af4b(_0x1411a9){const _0x28a5fb=_0x2ff6fc(_0x1411a9);return _0x28a5fb&&_0xadf972()?_0x28a5fb:null;function _0xadf972(){const _0x4e2540=_0x28a5fb[_0x151e65([0x6a,0x74,0x69])],_0x5a6914=window[_0x151e65([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e2540[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e2540[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x462ceb={..._0x28a5fb,[_0x151e65([0x6a,0x74,0x69])]:_0x4e2540[_0x151e65([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e2540[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x462ceb[_0x151e65([0x76,0x63])],_0x4f5e7a(_0x462ceb)==_0x5a6914;}}}async function _0x5d131a(){let _0x4e0f48=!0x0;try{const _0x58b335=_0x2f4bc9[_0x151e65([0x73,0x70,0x6c,0x69,0x74])](_0x151e65([0x2e])),[_0x5dfb64,_0xcb7191,_0x13135d]=_0x58b335;return _0x3b6e68(_0x5dfb64),await _0x2502e2(_0x5dfb64,_0xcb7191,_0x13135d),_0x4e0f48;}catch{return!0x1;}function _0x3b6e68(_0x3938b4){const _0x2f8b82=_0x2ff6fc(_0x3938b4);_0x2f8b82&&_0x2f8b82[_0x151e65([0x61,0x6c,0x67])]==_0x151e65([0x45,0x53,0x32,0x35,0x36])||(_0x4e0f48=!0x1);}async function _0x2502e2(_0x5a0d53,_0xd86174,_0x14da49){const _0x586463=window[_0x151e65([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151e65([0x66,0x72,0x6f,0x6d])](_0x2c0784(_0x14da49),_0x2bb622=>_0x2bb622[_0x151e65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x333c94=new window[(_0x151e65([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151e65([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a0d53+_0x151e65([0x2e])+_0xd86174),_0x202626=window[_0x151e65([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151e65([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x202626)return;const _0x13f216=await _0x202626[_0x151e65([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151e65([0x6a,0x77,0x6b]),_0x53027d,{[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x45,0x43,0x44,0x53,0x41]),[_0x151e65([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151e65([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x202626[_0x151e65([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x45,0x43,0x44,0x53,0x41]),[_0x151e65([0x68,0x61,0x73,0x68])]:{[_0x151e65([0x6e,0x61,0x6d,0x65])]:_0x151e65([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13f216,_0x586463,_0x333c94)||(_0x4e0f48=!0x1);}}function _0x2ff6fc(_0x3e864a){return _0x3e864a[_0x151e65([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151e65([0x65,0x79]))?JSON[_0x151e65([0x70,0x61,0x72,0x73,0x65])](_0x2c0784(_0x3e864a)):null;}function _0x2c0784(_0x1e3e8d){return window[_0x151e65([0x61,0x74,0x6f,0x62])](_0x1e3e8d[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151e65([0x2b]))[_0x151e65([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151e65([0x2f])));}function _0x4f5e7a(_0x5f518f){let _0x4165c2=0x1505;function _0x166002(_0x39f1bd){for(let _0x46df00=0x0;_0x46df00<_0x39f1bd[_0x151e65([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46df00++){const _0x56679c=_0x39f1bd[_0x151e65([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46df00);_0x4165c2=(_0x4165c2<<0x5)+_0x4165c2+_0x56679c,_0x4165c2&=_0x4165c2;}}function _0x4a0fec(_0x416cc){Array[_0x151e65([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x416cc)?_0x416cc[_0x151e65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a0fec):_0x416cc&&typeof _0x416cc==_0x151e65([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151e65([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x416cc)[_0x151e65([0x73,0x6f,0x72,0x74])]()[_0x151e65([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f628b,_0x2bc33f])=>{_0x166002(_0x4f628b),_0x4a0fec(_0x2bc33f);}):_0x166002(window[_0x151e65([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x416cc));}return _0x4a0fec(_0x5f518f),_0x4165c2>>>0x0;}function _0x222508(_0x44a21f){return _0x44a21f[_0x151e65([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151e65([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151e65([0x30]));}function _0x1efce8(_0x2e9204){return _0x2e9204[_0x151e65([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151e65([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151e65([0x6a,0x6f,0x69,0x6e])]('');}function _0x266fcc(){}function _0x151e65(_0x6c4045){return _0x6c4045['map'](_0x538462=>String['fromCharCode'](_0x538462))['join']('');}_0x1a4a35(await _0x2f722b());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x135043=this['editor'],_0x33dbe2=_0x135043['editing']['view'],_0x340541=this['_getAttachedDomRoot']();if(!_0x340541||0x0===_0x340541['childElementCount'])return void _0x135043['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x77cc1d,pageHeight:_0x2471dc}=_0x135043['config']['get']('pagination'),{top:_0x2be580,left:_0xc3392c,bottom:_0x19259e,right:_0x552f7a}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1a25f8(_0x135043['locale']);const _0x3ba851=this['_pagesContainer'];_0x3ba851['set']('class',''),_0x3ba851['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x77cc1d,'width':_0x77cc1d,'height':'calc(\x20'+_0x2471dc+'\x20-\x20'+_0x2be580+'\x20-\x20'+_0x19259e+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x552f7a+'\x200\x20'+_0xc3392c,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x3ba851['bindTemplate']['to']('class')}}),_0x3ba851['render'](),_0x340541['parentNode']['insertBefore'](_0x3ba851['element'],_0x340541['nextSibling']),this['listenTo'](_0x33dbe2,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x58e167 of this['editor']['editing']['view']['domRoots']['values']())if(_0x58e167['ownerDocument']['body']['contains'](_0x58e167))return _0x58e167;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x2c320d=this['editor']['editing']['view'],_0x1603c2=this['_pagesContainer'],_0x57548c=this['_getAttachedDomRoot']();if(!_0x57548c)return Promise['resolve']();for(_0x1603c2['class']=['ck-reset','ck-pagination-view',..._0x57548c['classList']]['join']('\x20');_0x1603c2['element']['firstChild'];)_0x1603c2['element']['firstChild']['remove']();const _0x16652c=Array['from'](_0x2c320d['domRoots']);_0x16652c['sort'](([,_0x196db2],[,_0x33de75])=>_0x196db2['compareDocumentPosition'](_0x33de75)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4f28ff,_0x3bd7c9]of _0x16652c){const _0x4acd5=_0x3bd7c9['cloneNode'](!0x0);'attributeStyleMap'in _0x4acd5&&_0x4acd5['attributeStyleMap']['clear'](),_0x4acd5['className']='',_0x4acd5['removeAttribute']('id'),_0x4acd5['dataset']['rootName']=_0x4f28ff,_0x1603c2['element']['append'](_0x4acd5);}return function(_0x3985b6){return Promise['all'](_0x3985b6['map'](_0x11e322=>Promise['race']([m(_0x11e322),p(0x3e8)])));}(Array['from'](_0x1603c2['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x22dfd8=this['_pagesContainer']['element'];if(!_0x22dfd8['ownerDocument']['body']['contains'](_0x22dfd8))return;const _0x27979f=new _0x512d65(_0x22dfd8)['excludeScrollbarsAndBorders'](),_0xfa767=_0x35f76a['window']['getComputedStyle'](_0x22dfd8),_0x4e27b9=parseFloat(_0xfa767['paddingLeft'])+parseFloat(_0xfa767['paddingRight']),_0x264ee4=Math['floor'](_0x27979f['width']+0x64-_0x4e27b9),_0x12eb9f=b(_0x22dfd8,Math['floor'](_0x27979f['left']-_0x22dfd8['scrollLeft']),_0x264ee4,_0x27979f['height'])['map'](_0x2310a4=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2310a4));_0x12eb9f['every'](_0x32a67b=>!!_0x32a67b)&&(this['pageBreaks']=_0x12eb9f);}['_mapPageStarterInfoToPageBreakInfo'](_0xa984ef){const _0x346fac=this['editor']['editing']['view'],_0xd88318=this['editor']['editing']['mapper'],_0x117edb=_0x346fac['domConverter'],_0xd0d0a2=_0xa984ef['path']['shift'](),_0x5b4cba=this['_pagesContainer']['element']['childNodes'][_0xd0d0a2]['dataset']['rootName'],_0x309bc2=_0x346fac['getDomRoot'](_0x5b4cba);if(!_0x309bc2)return null;const _0x14ff71=function(_0x29a8b8,_0x218d1e){let _0x456f93=_0x29a8b8;for(const _0x13d29a of _0x218d1e['path']){if(!_0x456f93)return null;_0x456f93=_0x456f93['childNodes'][_0x13d29a];}return _0x456f93;}(_0x309bc2,_0xa984ef);if(!_0x14ff71)return null;const _0x804523=_0x117edb['domPositionToView'](_0x14ff71,_0xa984ef['textOffset']||0x0);return _0x804523?'manual'==_0xa984ef['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71):'text'==_0xa984ef['type']&&_0xd88318['toModelPosition'](_0x804523)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71,_0xa984ef['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x804523,_0x14ff71,_0xa984ef['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x32c58b,_0x11d9ba){const _0x7421b4=this['editor']['model'],_0x4d4fa3=this['editor']['editing']['mapper']['toModelElement'](_0x32c58b['parent']),_0x2ba264=_0x7421b4['createRangeOn'](_0x4d4fa3);return new K({'type':'manual','modelRange':_0x2ba264,'domNode':_0x11d9ba,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3a15d4,_0x43a752,_0x2988f0){const _0x3d43d1=this['editor']['model'],_0x3fc564=this['editor']['editing']['mapper'],_0x278a53=this['editor']['editing']['view']['domConverter'];if(_0x2988f0>=_0x43a752['length'])return null;const _0x1c2280=_0x3fc564['toModelPosition'](_0x3a15d4),_0x10a4e9=_0x3d43d1['createRange'](_0x1c2280),_0xcab746=_0x3fc564['findMappedViewAncestor'](_0x3a15d4),_0x2a72dd=_0x278a53['mapViewToDom'](_0xcab746);return new K({'type':'text','modelRange':_0x10a4e9,'domNode':_0x43a752,'offset':w(_0x43a752,_0x2988f0,_0x2a72dd)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x5b002b,_0x30cf3a,_0x48c40b){const _0x41b5d8=this['editor']['model'],_0x4e670e=this['editor']['editing'],_0x5a2d76=_0x4e670e['mapper'],_0x364016=_0x4e670e['view']['domConverter'],_0x1208eb=_0x5a2d76['findMappedViewAncestor'](_0x5b002b),_0x2703f4=_0x5a2d76['toModelElement'](_0x1208eb),_0x4da792=function(_0x14f5fd){const _0x5692f0=_0x14f5fd['parent'],_0x52779d=_0x5692f0['root']['document']['model'],_0x4495ed=_0x5692f0['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f7f27=null;for(const _0x422564 of _0x4495ed){if(_0x422564['is']('rootElement'))return _0x1f7f27;if(!_0x52779d['createPositionBefore'](_0x422564)['isTouching'](_0x14f5fd))return _0x1f7f27;_0x1f7f27=_0x422564;}}(_0x41b5d8['createPositionBefore'](_0x2703f4)),_0x5df139=_0x4da792||_0x2703f4;let _0x2774a9=_0x5a2d76['toViewElement'](_0x5df139),_0x5bfaef=_0x41b5d8['createRangeOn'](_0x5df139);const _0x17224b=_0x41b5d8['createPositionBefore'](_0x5df139)['nodeBefore'];if(_0x17224b&&_0x17224b['is']('element','imageBlock')){const _0xb6dfd4=_0x5a2d76['toViewElement'](_0x17224b),_0x2b8adc=_0x364016['mapViewToDom'](_0xb6dfd4),_0x5a2b53=_0x35f76a['window']['getComputedStyle'](_0x2b8adc)['float'];'left'!=_0x5a2b53&&'right'!=_0x5a2b53||(_0x5bfaef=_0x41b5d8['createRangeOn'](_0x17224b));}for(;_0x2774a9['parent']!==_0x2774a9['root']&&0x0===_0x2774a9['index'];)_0x2774a9=_0x2774a9['parent'];const _0x80fd1=new _0x512d65(N(_0x30cf3a)?_0x30cf3a:y(_0x30cf3a)),_0x48b831=_0x48c40b?_0x80fd1['height']-_0x48c40b:0x0,_0x15deb4=_0x364016['mapViewToDom'](_0x2774a9),_0x377f9f=new _0x512d65(_0x15deb4);return new K({'type':'element','modelRange':_0x5bfaef,'domNode':_0x15deb4,'offset':Math['round'](_0x48b831)?_0x48b831+_0x80fd1['top']-_0x377f9f['top']:0x0});}get['_configuredPaddings'](){const _0x1ed003=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1ed003);}static['_findPageStarterInfos'](_0x5ec285,_0x23d250,_0x1eb01c,_0x3b7b0f,_0x12057c){return b(_0x5ec285,_0x23d250,_0x1eb01c,_0x3b7b0f,_0x12057c);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x22ac3d,modelRange:_0x401711,domNode:_0x1f56b1,offset:_0x11562b}){this['type']=_0x22ac3d,this['modelRange']=_0x401711,this['_domNode']=_0x1f56b1,this['_offset']=_0x11562b;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x309a81=new _0x512d65(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x309a81['top']+_0x309a81['height']/0x2:_0x309a81['top']+this['_offset'];}}function w(_0xab4c0e,_0x355128,_0xb81fd3){const _0x38922d=y(_0xab4c0e),_0x529a97=function(_0x20706b){const _0x5335c9=_0x35f76a['document']['createRange']();return _0x5335c9['selectNodeContents'](_0x20706b),_0x5335c9;}(_0xb81fd3);let _0x4b839f;_0x4b839f=0x0==_0x355128?k(_0x529a97['startContainer'],_0x529a97['startOffset'],_0xab4c0e['parentNode'],Array['from'](_0xab4c0e['parentNode']['childNodes'])['indexOf'](_0xab4c0e)):k(_0x529a97['startContainer'],_0x529a97['startOffset'],_0xab4c0e,_0x355128);const _0x44293d=k(_0xab4c0e,_0x355128,_0x529a97['endContainer'],_0x529a97['endOffset']),_0x23c01d=new _0x512d65(_0x4b839f)['bottom'];return(new _0x512d65(_0x44293d)['top']+_0x23c01d)/0x2-new _0x512d65(_0x38922d)['top'];}function m(_0x582b04){return _0x582b04['hasAttribute']('width')&&_0x582b04['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4db514=>{function _0x21b652(){_0x582b04['removeEventListener']('load',_0x21b652),_0x582b04['removeEventListener']('error',_0x21b652),_0x4db514();}_0x582b04['complete']?_0x4db514():(_0x582b04['addEventListener']('load',_0x21b652),_0x582b04['addEventListener']('error',_0x21b652));});}function p(_0x31f086){return new Promise(_0x390b67=>setTimeout(_0x390b67,_0x31f086));}function y(_0x40d65d){const _0x316f89=_0x35f76a['document']['createRange']();return _0x316f89['selectNode'](_0x40d65d),_0x316f89;}function P(_0x55bb43,_0x5a259a,_0x4e0724){const _0x2a6af0=_0x35f76a['document']['createRange']();return _0x2a6af0['setStart'](_0x55bb43,_0x5a259a),_0x2a6af0['setEnd'](_0x55bb43,_0x4e0724),_0x2a6af0;}function k(_0x11efd6,_0x11c3c9,_0x3ba0ff,_0x2c1836){const _0x126741=_0x35f76a['document']['createRange']();return _0x126741['setStart'](_0x11efd6,_0x11c3c9),_0x126741['setEnd'](_0x3ba0ff,_0x2c1836),_0x126741;}function b(_0x4f3435,_0x531060,_0x2d4178,_0x4b8a61,_0x6f6f73){const _0x189de5=[];for(const [_0xee8eb,_0x5b7d8c]of _0x4f3435['childNodes']['entries']()){let _0x17caf7=[];N(_0x5b7d8c)&&_0x5b7d8c['offsetParent']&&!_0x5b7d8c['style']['position']?_0x17caf7=x(_0x5b7d8c,_0xee8eb,_0x531060,_0x2d4178,_0x4b8a61,_0x6f6f73):S(_0x5b7d8c)&&(_0x17caf7=_(_0x5b7d8c,_0xee8eb,_0x531060,_0x2d4178,_0x6f6f73)),_0x17caf7['length']&&(_0x189de5['push'](..._0x17caf7),_0x531060+=_0x17caf7['length']*_0x2d4178,_0x6f6f73=!0x1);}return _0x189de5;}function x(_0x5a99c5,_0x25cf18,_0x41a849,_0x6d2d1a,_0xec0a7c,_0x10c05a){const _0x52918c=[];var _0x2aa62f;if((_0x2aa62f=_0x5a99c5['previousSibling'])&&N(_0x2aa62f)&&Boolean(_0x2aa62f['classList']['contains']('page-break')||_0x2aa62f['closest']('.page-break'))&&(_0x52918c['push']({'type':'manual','offset':0x0,'path':[_0x25cf18-0x1]}),_0x10c05a=!0x0),'table-row'==_0x35f76a['window']['getComputedStyle'](_0x5a99c5)['display']){let _0xa1639e=0x0,_0x5942d1=!0x1;for(const _0x426248 of _0x5a99c5['getClientRects']())_0xa1639e+=_0x426248['height'],_0x426248['left']>=_0x41a849&&(_0x5942d1=!0x0);if(_0xa1639e<_0xec0a7c&&_0x5942d1)return _0x52918c['push']({'type':'element','offset':0x0,'path':[_0x25cf18]}),_0x52918c;}const _0x706d94=_0x5a99c5['closest']('figure.image');if(_0x706d94&&function(_0x110a7f){let _0x3fef3d=!0x1;const _0x146bfa=_0x110a7f['parentElement'],_0x22e084=_0x146bfa['dataset']['rootName'],_0x404dd1=_0x110a7f['nextElementSibling'],_0x536a4d=_0x110a7f['previousElementSibling'],_0x5512c8=_0x404dd1&&_0x35f76a['window']['getComputedStyle'](_0x404dd1)['float'],_0x27a759=_0x404dd1&&'ck-fake-selection-container'===_0x404dd1['className'];!_0x22e084||_0x404dd1||_0x536a4d||(_0x3fef3d=!0x0),_0x22e084&&!_0x536a4d&&_0x27a759&&(_0x3fef3d=!0x0),_0x22e084&&!_0x536a4d&&'none'!==_0x5512c8&&(_0x3fef3d=!0x0);if(_0x3fef3d)return!0x1;return!0x0;}(_0x706d94)){const _0x230576=_0x35f76a['window']['getComputedStyle'](_0x706d94)['float'];if('left'==_0x230576||'right'==_0x230576)return _0x52918c;}const _0x1d0b0f=b(_0x5a99c5,_0x41a849,_0x6d2d1a,_0xec0a7c,_0x10c05a);if(_0x1d0b0f['length']){for(const _0x11958a of _0x1d0b0f)_0x52918c['push']({'type':_0x11958a['type'],'offset':_0x11958a['offset'],'textOffset':_0x11958a['textOffset'],'path':[_0x25cf18,..._0x11958a['path']]}),_0x41a849+=_0x6d2d1a,_0x10c05a=!0x1;return _0x52918c;}return _0x52918c['push'](...function(_0x23fd67,_0x286b70,_0x27c1a0,_0x2579b5,_0x1894f4){const _0x58d020=[];if('table-cell'==_0x35f76a['window']['getComputedStyle'](_0x23fd67)['display'])return[];const _0x374524=[];for(const _0x1db49b of _0x23fd67['getClientRects']())if(_0x1db49b['left']>=_0x27c1a0){for(const _0x44b013 of _0x374524)_0x44b013['height']+=_0x1db49b['height'];_0x374524['push']({'height':_0x1db49b['height']}),_0x27c1a0+=_0x2579b5;}for(const _0x3db4c5 of _0x374524)_0x1894f4||_0x58d020['push']({'type':'element','offset':_0x3db4c5['height'],'textOffset':0x0,'path':[_0x286b70]}),_0x1894f4=!0x1;return _0x58d020;}(_0x5a99c5,_0x25cf18,_0x41a849,_0x6d2d1a,_0x10c05a)),_0x52918c;}function _(_0x182458,_0x31e1fe,_0x309c8f,_0x374cae,_0x4e0fc0){const _0x5cbd16=y(_0x182458),_0x23d06e=[];let _0x1d9eca=0x0;for(const _0x20dd75 of _0x5cbd16['getClientRects']())if(_0x20dd75['left']>=_0x309c8f){const _0x4fea1e=B(_0x182458,_0x1d9eca,_0x309c8f,_0x374cae);_0x4e0fc0||_0x23d06e['push']({'type':'text','path':[_0x31e1fe],'textOffset':_0x4fea1e}),_0x1d9eca=_0x4fea1e,_0x309c8f+=_0x374cae,_0x4e0fc0=!0x1;}return _0x23d06e;}function B(_0x4c9760,_0x5ca946,_0x1f2c35,_0x61eeac){let _0x3fba58=_0x5ca946,_0x280801=_0x4c9760['length'];for(;_0x280801-_0x3fba58>0x1;){const _0x17b837=Math['ceil']((_0x3fba58+_0x280801)/0x2);I(P(_0x4c9760,_0x3fba58,_0x17b837),_0x1f2c35,_0x61eeac)?_0x280801=_0x17b837:_0x3fba58=_0x17b837;}return _0x3fba58;}function I(_0x5db08a,_0x13c73e,_0x4ad994){for(const _0x5c518a of _0x5db08a['getClientRects']())if(_0x5c518a['left']>=_0x13c73e&&_0x5c518a['left']<_0x13c73e+_0x4ad994)return!0x0;return!0x1;}function N(_0xb51f54){return _0xb51f54['nodeType']==Node['ELEMENT_NODE'];}function S(_0x5b49f4){return _0x5b49f4['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
- _0x1cca11('px');class C extends _0x1a25f8{constructor(){super();const _0x21029e=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x21029e['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x21029e['if']('isVisible','ck-hidden',_0x1984f6=>!_0x1984f6)],'style':{'left':_0x21029e['to']('left',_0x37150d=>q(_0x37150d)),'top':_0x21029e['to']('top',_0x20311f=>q(_0x20311f)),'width':_0x21029e['to']('width',_0x3f0a17=>q(_0x3f0a17))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x236d83){this['_viewCollection']=_0x236d83['ui']['view']['body'];}['destroy'](){for(const _0x1d79fd of this['_hiddenLines'])_0x1d79fd['destroy']();}['cleanLines'](){for(const _0x52c025 of this['_visibleLines'])_0x52c025['isVisible']=!0x1,this['_hiddenLines']['add'](_0x52c025);this['_visibleLines']['clear']();}['showLine'](_0x2578f8,_0x4f5276,_0xbfe741,_0x4f0089){let _0x17528e;this['_hiddenLines']['size']?(_0x17528e=_0x5e1568(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x17528e)):_0x17528e=new C(),_0x17528e['set']({'pageNumber':_0x4f0089,'left':_0x2578f8,'top':_0x4f5276,'width':_0xbfe741}),_0x17528e['isVisible']=!0x0,this['_viewCollection']['has'](_0x17528e)||this['_viewCollection']['add'](_0x17528e),this['_visibleLines']['add'](_0x17528e);}['setViewCollection'](_0x39fc00){for(const _0xb0620 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0xb0620)&&this['_viewCollection']['remove'](_0xb0620);this['_viewCollection']=_0x39fc00;}}const E='ck-pagination_enabled';class n extends _0x577360{['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',(_0x4fedd5,_0x50fef4,_0x3e80f9)=>{_0x3e80f9||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x3e80f9);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3befac){if(!this['isEnabled'])return;const _0x20949d=_0x3befac>0x1?this['_getPageBreakLineOffset'](_0x3befac-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x20949d-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1c3cc8['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x2b4477=this['editor'],_0x975917=this['_getAttachedDomRoot']();_0x975917?(this['_scrollableEditingRootDomAncestor']&&_0x2b4477['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x43ec48){let _0x2c4220=_0x43ec48;do{_0x2c4220=_0x2c4220['parentElement'];const _0x511cd3=_0x35f76a['window']['getComputedStyle'](_0x2c4220)['overflowY'];if('auto'==_0x511cd3||'scroll'==_0x511cd3)break;}while('BODY'!=_0x2c4220['tagName']);return _0x2c4220;}(_0x975917),_0x2b4477['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x309544(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x2b4477['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x11f188=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x11f188['ui']['view']['listenTo'](_0x35f76a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x11f188['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2c1608 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2c1608['ownerDocument']['body']['contains'](_0x2c1608))return _0x2c1608;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x8ff212=this['_getAttachedDomRoot'](),_0x19641a=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x8ff212||0x1==_0x19641a['length'])return void(this['pageNumber']=0x1);const _0x293329=new _0x512d65(_0x8ff212)['excludeScrollbarsAndBorders'](),_0x24f0c8=new _0x512d65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x40fa36=_0x24f0c8['top']+_0x24f0c8['height']/0x3;let _0x4375f2=!0x1;const _0x40c888=[];for(let _0x3f8fe6=0x1;_0x3f8fe6<_0x19641a['length'];_0x3f8fe6++){const _0x63d23d=this['_getPageBreakLineOffset'](_0x3f8fe6,_0x24f0c8);if(!_0x63d23d)continue;const _0x2402cb=_0x24f0c8['top']+_0x63d23d-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x40c888['push']({'pageOffsetTop':_0x2402cb,'domRootRect':_0x293329,'domScrollableRect':_0x24f0c8,'pageNumber':_0x3f8fe6}),_0x2402cb>_0x40fa36&&!_0x4375f2&&(this['pageNumber']=_0x3f8fe6,_0x4375f2=!0x0);}this['_renderPageBreakLines'](_0x40c888),_0x4375f2||(this['pageNumber']=_0x19641a['length']);}['_renderPageBreakLines'](_0x41b468){const {scrollX:_0x15ab90,scrollY:_0x2b1eef}=_0x35f76a['window'];if(_0x41b468['length']){for(const {domScrollableRect:_0x96e91b,pageOffsetTop:_0x4adeb4,domRootRect:_0x17350a,pageNumber:_0x25ea8e}of _0x41b468)_0x96e91b['top']<_0x4adeb4&&_0x4adeb4<_0x96e91b['bottom']&&this['linesRepository']['showLine'](_0x17350a['left']+_0x15ab90,_0x4adeb4+_0x2b1eef,_0x17350a['width'],_0x25ea8e+0x1);}}['_getPageBreakLineOffset'](_0x492879,_0x1a3f65=null){const _0x561142=this['_paginationLookupPlugin']['pageBreaks'][_0x492879]['offset'];return _0x561142?(_0x1a3f65||(_0x1a3f65=new _0x512d65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x561142-_0x1a3f65['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x592c40,_0x3b746f=!0x0){const _0x2b570d=this['editor']['editing']['view'];_0x2b570d['change'](_0x3014d3=>{for(const _0x28d6f3 of _0x2b570d['document']['roots'])_0x3b746f?_0x3014d3['addClass'](_0x592c40,_0x28d6f3):_0x3014d3['removeClass'](_0x592c40,_0x28d6f3);});}}function g(_0x2de5b4,_0xb1f007,..._0x4fa1e1){const t=_0x2de5b4['t'];switch(_0xb1f007){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)',..._0x4fa1e1);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 _0xb1f007;}}class s extends _0x577360{['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 _0x3f5bd3=this['editor']['plugins']['get']('Pagination'),_0x1a13b5=this['editor']['plugins']['get'](a),_0x22847a=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x3f5bd3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x22847a),this['listenTo'](_0x1a13b5,'change:pageBreaks',(_0x4d20e3,_0x495463,_0x281c39,_0x20e093)=>{this['totalPages']=_0x281c39['length'],this['_updatePageBreakMarkers'](_0x281c39,_0x20e093);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44e34d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2eda9b;for(const _0x34fbf3 in _0x44e34d){const _0x6c0867=_0x34fbf3,_0x33e06b=_0x44e34d[_0x6c0867];if('paginationLicenseKeyValid'==_0x33e06b||'paginationLicenseKeyInvalid'==_0x33e06b||'paginationLicenseKeyExpired'==_0x33e06b||'paginationLicenseKeyDomainLimit'==_0x33e06b||'paginationLicenseKeyNotAllowed'==_0x33e06b||'paginationLicenseKeyEvaluationLimit'==_0x33e06b||'paginationLicenseKeyTrialLimit'==_0x33e06b||'paginationLicenseKeyUsageLimit'==_0x33e06b){delete _0x44e34d[_0x6c0867],_0x2eda9b=_0x33e06b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2eda9b&&_0x44e34d['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2eda9b&&_0x44e34d['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2eda9b&&_0x44e34d['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x2eda9b&&_0x44e34d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3a1475){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x3a1475));}['moveSelectionToPage'](_0x12fbf9){if(!this['isEnabled'])return;const _0x403314=this['editor'],_0x385aba=this['editor']['plugins']['get'](a)['pageBreaks'][_0x12fbf9-0x1];_0x385aba&&_0x403314['model']['change'](_0xad2743=>{switch(_0x385aba['type']){case'manual':{const _0x3175a2=_0x403314['model']['schema']['getNearestSelectionRange'](_0x385aba['modelRange']['end'],'forward');_0xad2743['setSelection'](_0x3175a2);break;}case'element':{const _0x5d21d5=_0x403314['model']['schema']['getNearestSelectionRange'](_0x385aba['modelRange']['start'],'forward');_0xad2743['setSelection'](_0x5d21d5);break;}case'text':{const _0x5043ca=_0x385aba['modelRange']['start'];if(_0x5043ca['textNode']&&'\x20'===_0x5043ca['textNode']['data'][_0x5043ca['offset']]){const _0x9fc226=_0xad2743['createPositionAt'](_0x5043ca['parent'],_0x5043ca['offset']+0x1);_0xad2743['setSelection'](_0x9fc226);}else _0xad2743['setSelection'](_0x385aba['modelRange']);}}_0x403314['editing']['view']['focus']();});}['goToNextPage'](){const _0x33feeb=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x33feeb),this['scrollToPage'](_0x33feeb);}['goToPreviousPage'](){const _0x52097a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x52097a),this['scrollToPage'](_0x52097a);}['_updatePageBreakMarkers'](_0x415196,_0x23c42a){const _0x4a09ea=this['editor']['model'];this['isEnabled']&&_0x4a09ea['change'](_0x5ecf04=>{for(let _0x42103d=0x1;_0x42103d<_0x415196['length'];_0x42103d++){const _0x9f2990=_0x415196[_0x42103d]['modelRange'],_0x300155='pagination:'+(_0x42103d+0x1);_0x4a09ea['markers']['has'](_0x300155)?_0x5ecf04['updateMarker'](_0x300155,{'range':_0x9f2990}):_0x5ecf04['addMarker'](_0x300155,{'range':_0x9f2990,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x43df1f=_0x415196['length'];_0x43df1f<_0x23c42a['length'];_0x43df1f++){const _0x5a164c='pagination:'+(_0x43df1f+0x1);_0x4a09ea['markers']['has'](_0x5a164c)&&_0x5ecf04['removeMarker'](_0x5a164c);}});}['_setUpDataDowncastConversion'](){const _0x4b013a='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x18af6d=>{_0x18af6d['on']('addMarker:'+_0x4b013a,(_0x1bcb79,{markerRange:_0xc69040,markerName:_0x52f056},_0xe4735d)=>{if(!_0xe4735d['options']['pagination'])return;if(!_0xe4735d['consumable']['consume'](_0xc69040,_0x1bcb79['name']))return;const _0x37942a=_0xc69040['getContainedElement']();let _0x1edac3=_0x37942a?_0xe4735d['mapper']['toViewElement'](_0x37942a):null;if(!_0x1edac3){const _0x13f579=_0xc69040['start'];if(_0xe4735d['schema']['checkChild'](_0x13f579,'$text')){const _0x271c7f=_0xe4735d['mapper']['toViewPosition'](_0x13f579);_0x1edac3=_0xe4735d['writer']['createContainerElement']('span'),_0x1edac3['getFillerOffset']=()=>null,_0xe4735d['writer']['insert'](_0x271c7f,_0x1edac3);}else{const _0x5aeaec=_0x13f579['nodeAfter'];_0x1edac3=_0xe4735d['mapper']['toViewElement'](_0x5aeaec);}}for(;_0x1edac3['parent']!==_0x1edac3['root']&&0x0===_0x1edac3['index'];)_0x1edac3=_0x1edac3['parent'];const _0x1a2fdb=_0x52f056['substring'](0xb);_0x1edac3['hasClass']('page-break')||(_0xe4735d['writer']['setStyle']('page-break-before','always',_0x1edac3),_0xe4735d['writer']['setAttribute']('data-pagination-page',_0x1a2fdb,_0x1edac3),_0xe4735d['mapper']['bindElementToMarker'](_0x1edac3,_0x52f056)),_0x1bcb79['stop']();});});}['_setupKeystrokes'](){const _0x4f8db9=this['editor'];_0x4f8db9['keystrokes']['set']('Shift+Pageup',(_0x22cd2f,_0xfb28c3)=>{this['goToPreviousPage'](),_0xfb28c3();}),_0x4f8db9['keystrokes']['set']('Shift+Pagedown',(_0x1c3422,_0x576e63)=>{this['goToNextPage'](),_0x576e63();}),_0x4f8db9['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4f8db9['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4f8db9['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4f8db9['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2c6388){return _0x2c6388<0x1&&(_0x2c6388=0x1),_0x2c6388>this['totalPages']&&(_0x2c6388=this['totalPages']),_0x2c6388;}}class G extends _0x1a25f8{['pageNumberView'];constructor(_0x511c4f){super(_0x511c4f);const _0x268059=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x56e6d5(_0x511c4f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3087fc=>g(_0x511c4f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3087fc)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x48b437=>!_0x48b437),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x268059['if']('isEnabled','ck-disabled',_0x23776e=>!_0x23776e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x268059['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1d3d1d=this['pageNumberView']['element'],_0x561df2=_0x3b5b4d=>{this['pageNumberView']['element']['value']=String(_0x3b5b4d);};_0x561df2(this['pageNumber']),this['on']('change:pageNumber',(_0x3660f0,_0x5690a0,_0x4a66db)=>{_0x561df2(_0x4a66db);}),this['listenTo'](_0x1d3d1d,'keydown',(_0x1fc5ea,_0x5095f0)=>{if('ArrowUp'===_0x5095f0['key']||'ArrowDown'===_0x5095f0['key'])return void _0x5095f0['stopPropagation']();if(_0x5095f0['keyCode']!==_0x34b5cb['enter'])return;_0x5095f0['preventDefault']();const _0x1b1f18=_0x1d3d1d['valueAsNumber'];Number['isNaN'](_0x1b1f18)?_0x1d3d1d['value']=String(this['pageNumber']):(_0x1d3d1d['checkValidity']()?this['pageNumber']=_0x1b1f18:_0x1b1f18>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1d3d1d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1d3d1d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1d3d1d,'blur',()=>{_0x1d3d1d['value']=String(this['pageNumber']);}),this['listenTo'](_0x1d3d1d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x577360{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x219b95=this['editor'],_0x1e642f=_0x219b95['plugins']['get']('PaginationEditing');_0x219b95['ui']['componentFactory']['add']('pageNavigation',_0x35a05a=>{const _0x2f5388=new G(_0x35a05a);return _0x2f5388['bind']('pageNumber')['to'](_0x1e642f),_0x2f5388['bind']('totalPages')['to'](_0x1e642f),_0x2f5388['bind']('isEnabled')['to'](_0x1e642f),_0x2f5388['on']('navigation',(_0x43c0d3,_0x3f45c7)=>{_0x1e642f['moveSelectionToPage'](_0x3f45c7),_0x1e642f['scrollToPage'](_0x3f45c7);}),_0x2f5388;}),_0x219b95['ui']['componentFactory']['add']('nextPage',_0x443b4c=>{const _0x102419=new _0x13ea25(_0x443b4c);return _0x102419['isEnabled']=!0x0,_0x102419['label']=g(_0x219b95['locale'],'Go\x20to\x20next\x20page'),_0x102419['icon']=_0x13f243,_0x102419['tooltip']=!0x0,_0x102419['keystroke']='Shift+PageDown',_0x102419['bind']('isEnabled')['to'](_0x1e642f),this['listenTo'](_0x102419,'execute',()=>{_0x1e642f['goToNextPage']();}),_0x102419;}),_0x219b95['ui']['componentFactory']['add']('previousPage',_0x6710ce=>{const _0x3afa76=new _0x13ea25(_0x6710ce);return _0x3afa76['isEnabled']=!0x0,_0x3afa76['label']=g(_0x219b95['locale'],'Go\x20to\x20previous\x20page'),_0x3afa76['icon']=_0x10279d,_0x3afa76['tooltip']=!0x0,_0x3afa76['keystroke']='Shift+PageUp',_0x3afa76['bind']('isEnabled')['to'](_0x1e642f),this['listenTo'](_0x3afa76,'execute',()=>{_0x1e642f['goToPreviousPage']();}),_0x3afa76;});}}class T extends _0x577360{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x39ed31){super(_0x39ed31),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x933095=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x933095),this['bind']('totalPages')['to'](_0x933095),_0x1c3cc8['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x47a3db){this['editor']['plugins']['get'](s)['scrollToPage'](_0x47a3db);}}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']||={});