@ckeditor/ckeditor5-pagination 45.2.0-alpha.6 → 45.2.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 +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/legacyerrors.js +1 -1
  152. package/src/pagination.js +1 -1
  153. package/src/paginationediting.js +1 -1
  154. package/src/paginationlookup.js +1 -1
  155. package/src/paginationrenderer.js +1 -1
  156. package/src/paginationui.js +1 -1
  157. package/src/ui/linesrepository.js +1 -1
  158. package/src/ui/lineview.js +1 -1
  159. package/src/ui/pagenavigatorview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=b;!function(t){const e=b,n=t();for(;;)try{if(613628===-parseInt(e(538))/1*(-parseInt(e(492))/2)+parseInt(e(601))/3+-parseInt(e(576))/4+-parseInt(e(589))/5+-parseInt(e(510))/6*(parseInt(e(532))/7)+parseInt(e(474))/8*(-parseInt(e(489))/9)+-parseInt(e(565))/10*(-parseInt(e(519))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f);class a extends t.Plugin{[r(462)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(594)]()),200);[r(475)]=null;static get[r(596)](){return r(559)}static get[r(554)](){return!0}static get[r(507)](){return!0}[r(514)](){const t=r;if(this[t(614)]({pageBreaks:[]}),!this[t(494)][t(578)][t(570)](t(615)))return void(0,o.logWarning)(t(640),this[t(494)][t(578)]);const e=this[t(494)][t(600)][t(570)](t(471));this[t(518)](t(603)).to(e),this[t(494)].ui[t(473)](t(478),(()=>this[t(537)]())),this.on(t(460),((e,n,i)=>{i&&this[t(462)]()}))}[r(563)](){!async function(t){const e=g([90,103,119,82,73,56,48,54,88,117,86,97,52,51,55,85,89,122,78,105,98,68,101,121,76,113,102,50,67,111,69,84,70,106,65,71,81,87,66,83,110,57,120,74,79,72,115,49,77,75,114,116,104,99,112,100,107,118,53,108,80,109]),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 d(t){return t[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function h(){}function g(t){const e=b;return t[e(638)]((t=>String[e(517)](t)))[e(512)]("")}!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([90]);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])]=h,i[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=h,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,h=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])]&&(h=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 h(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=d(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])](d(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=>{h(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:1748908800;return t[g([101,120,112])]<e}()?g([69,120,112,105,114,101,100]):function(){const e=b,n=t[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][e(616)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const o=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])]((t=>t[g([105,110,99,108,117,100,101,115])](g([42]))))[g([109,97,112])]((t=>t[g([115,112,108,105,116])](g([46]))))[g([115,111,109,101])]((t=>o[g([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===g([42])))))}()?(t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(e=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(e=c(g([84,114,105,97,108,76,105,109,105,116]))),await(e&&h?new(window[g([80,114,111,109,105,115,101])])(((t,n)=>{e[g([116,104,101,110])](t,n),h[g([116,104,101,110])]((e=>{e!=g([86,97,108,105,100])&&t(e)}),n)})):e||h||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(555)](){const t=r;super[t(555)](),this[t(475)]&&(this[t(462)][t(480)](),this[t(475)][t(555)](),this[t(475)][t(617)][t(485)]())}[r(537)](){const t=r,n=this[t(494)],i=n[t(610)][t(574)],o=this[t(607)]();if(!o||0===o[t(469)])return void n.ui[t(473)](t(631),(()=>this[t(537)]()));const{pageWidth:s,pageHeight:a}=n[t(578)][t(570)](t(615)),{top:c,left:u,bottom:l,right:p}=this[t(588)];this[t(475)]=new e.View(n[t(608)]);const f=this[t(475)];f[t(614)](t(539),""),f[t(566)]({tag:t(495),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(613)+a+t(595)+c+t(595)+l+" )",minWidth:t(528),minHeight:t(528),padding:"0 "+p+t(581)+u,columnGap:t(575),border:0,boxSizing:t(515),columnCount:t(528),columnFill:t(528),overflow:t(542),position:t(476),top:t(545),left:t(545)},tabindex:"-1",class:f[t(463)].to(t(539))}}),f[t(592)](),o[t(470)][t(557)](f[t(617)],o[t(522)]),this[t(464)](i,t(592),(()=>this[t(462)]()),{priority:t(630)}),this[t(462)]()}[r(607)](){const t=r;for(const e of this[t(494)][t(610)][t(574)][t(580)][t(624)]())if(e[t(543)][t(490)][t(551)](e))return e;return null}[r(594)](){const t=r;if(!this[t(603)])return Promise[t(636)]();const e=this[t(494)][t(610)][t(574)],n=this[t(475)],i=this[t(607)]();if(!i)return Promise[t(636)]();for(n[t(539)]=[t(496),t(564),...i[t(582)]][t(512)](" ");n[t(617)][t(591)];)n[t(617)][t(591)][t(485)]();const o=Array[t(547)](e[t(580)]);o[t(534)]((([,e],[,n])=>e[t(500)](n)==Node[t(558)]?1:-1));for(const[e,i]of o){const o=i[t(620)](!0);t(602)in o&&o[t(602)][t(511)](),o[t(634)]="",o[t(477)]("id"),o[t(452)][t(526)]=e,n[t(617)][t(641)](o)}return function(e){const n=t;return Promise[n(629)](e[n(638)]((t=>{return Promise[n(491)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(547)](n[t(617)][t(587)](t(513))))[t(455)]((()=>this[t(505)]()))}[r(505)](){const t=r,e=this[t(475)][t(617)];if(!e[t(543)][t(490)][t(551)](e))return;const n=new o.Rect(e)[t(611)](),i=o.global[t(550)][t(590)](e),s=parseFloat(i[t(579)])+parseFloat(i[t(461)]),a=Math[t(572)](n[t(541)]+100-s),c=g(e,Math[t(572)](n[t(451)]-e[t(604)]),a,n[t(520)])[t(638)]((e=>this[t(458)](e)));c[t(622)]((t=>!!t))&&(this[t(639)]=c)}[r(458)](t){const e=r,n=this[e(494)][e(610)][e(574)],i=this[e(494)][e(610)][e(466)],o=n[e(540)],s=t[e(488)][e(525)](),a=this[e(475)][e(617)][e(453)][s][e(452)][e(526)],c=n[e(637)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(488)]){if(!o)return null;o=o[i(453)][t]}return o}(c,t);if(!u)return null;const l=o[e(569)](u,t[e(498)]||0);return l?e(472)==t[e(481)]?this[e(483)](l,u):e(598)==t[e(481)]&&i[e(501)](l)[e(487)]?this[e(571)](l,u,t[e(498)]):this[e(536)](l,u,t[e(487)]):null}[r(483)](t,e){const n=r,i=this[n(494)][n(465)],o=this[n(494)][n(610)][n(466)][n(625)](t[n(493)]),s=i[n(573)](o);return new c({type:n(472),modelRange:s,domNode:e,offset:0})}[r(571)](t,e,n){const i=r,o=this[i(494)][i(465)],s=this[i(494)][i(610)][i(466)],a=this[i(494)][i(610)][i(574)][i(540)];if(n>=e[i(619)])return null;const l=s[i(501)](t),p=o[i(509)](l),f=s[i(584)](t),d=a[i(468)](f);return new c({type:i(598),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(536)](t,e,n){const i=r,s=this[i(494)][i(465)],a=this[i(494)][i(610)],u=a[i(466)],l=a[i(574)][i(540)],f=u[i(584)](t),d=u[i(625)](f),h=function(t){const e=i,n=t[e(493)],o=n[e(530)][e(549)][e(465)],s=n[e(553)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(450)))return r;if(!o[e(632)](n)[e(533)](t))return r;r=n}}(s[i(632)](d))||d;let g=u[i(531)](h),m=s[i(573)](h);const b=s[i(632)](h)[i(482)];if(b&&b.is(i(617),i(593))){const t=u[i(531)](b),e=l[i(468)](t),n=o.global[i(550)][i(590)](e)[i(454)];i(451)!=n&&i(506)!=n||(m=s[i(573)](b))}for(;g[i(493)]!==g[i(530)]&&0===g[i(479)];)g=g[i(493)];const w=new o.Rect(y(e)?e:p(e)),v=n?w[i(520)]-n:0,k=l[i(468)](g),I=new o.Rect(k);return new c({type:i(617),modelRange:m,domNode:k,offset:Math[i(486)](v)?v+w[i(561)]-I[i(561)]:0})}get[r(588)](){const t=r,e=this[t(494)][t(578)][t(570)](t(502));return Object[t(484)]({top:t(612),bottom:t(612),left:t(612),right:t(612)},e)}static[r(623)](t,e,n,i,o){return g(t,e,n,i,o)}}class c{[r(481)];[r(497)];[r(552)];[r(599)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(481)]=t,this[o(497)]=e,this[o(552)]=n,this[o(599)]=i}get[r(487)](){const t=r;if(!this[t(552)][t(543)][t(490)][t(551)](this[t(552)]))return 0;const e=new o.Rect(y(this[t(552)])?this[t(552)]:p(this[t(552)]));return t(472)==this[t(481)]?e[t(561)]+e[t(520)]/2:e[t(561)]+this[t(599)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=b,n=o.global[e(549)][e(509)]();return n[e(597)](t),n}(n);let c;c=0==e?h(a[i(605)],a[i(508)],t[i(470)],Array[i(547)](t[i(470)][i(453)])[i(618)](t)):h(a[i(605)],a[i(508)],t,e);const u=h(t,e,a[i(635)],a[i(504)]),l=new o.Rect(c)[i(562)];return(new o.Rect(u)[i(561)]+l)/2-new o.Rect(s)[i(561)]}function l(t){const e=r;return t[e(556)](e(541))&&t[e(556)](e(520))?Promise[e(636)]():new Promise((n=>{const i=e;function o(){const e=b;t[e(459)](e(521),o),t[e(459)](e(628),o),n()}t[i(606)]?n():(t[i(524)](i(521),o),t[i(524)](i(628),o))}))}function p(t){const e=r,n=o.global[e(549)][e(509)]();return n[e(529)](t),n}function f(){const t=["style","every","_findPageStarterInfos","values","toModelElement","table-row","setEnd","error","all","low","update","createPositionBefore","table-cell","className","endContainer","resolve","getDomRoot","map","pageBreaks","pagination-config-not-found","append","nextElementSibling","rootElement","left","dataset","childNodes","float","then","previousSibling","ck-fake-selection-container","_mapPageStarterInfoToPageBreakInfo","removeEventListener","change:isEnabled","paddingRight","_recalculatePageBreaksDebounced","bindTemplate","listenTo","model","mapper","none","mapViewToDom","childElementCount","parentNode","PaginationEditing","manual","once","8hoWUBd","_pagesContainer","absolute","removeAttribute","ready","index","cancel","type","nodeBefore","_mapManualPageStarterInfoToPageBreakInfo","assign","remove","round","offset","path","7315056ojNxRV","body","race","44458DwpLXl","parent","editor","div","ck-reset","modelRange","textOffset","setStart","compareDocumentPosition","toModelPosition","pagination.pageMargins",".page-break","endOffset","_updatePageBreaksData","right","isPremiumPlugin","startOffset","createRange","43818nxfWKA","clear","join","img","init","border-box","entries","fromCharCode","bind","275jXQPdG","height","load","nextSibling","page-break","addEventListener","shift","rootName","previousElementSibling","auto","selectNode","root","toViewElement","273BZvHTZ","isTouching","sort","figure.image","_mapElementPageStarterInfoToPageBreakInfo","_onUiReady","17YDcqVj","class","domConverter","width","hidden","ownerDocument","parentElement","-99999px","closest","from","nodeType","document","window","contains","_domNode","getAncestors","isOfficialPlugin","destroy","hasAttribute","insertBefore","DOCUMENT_POSITION_PRECEDING","PaginationLookup","ELEMENT_NODE","top","bottom","afterInit","ck-pagination-view","1082570ulLBFA","setTemplate","offsetParent","push","domPositionToView","get","_mapTextPageStarterInfoToPageBreakInfo","floor","createRangeOn","view","100px","4219264dRGNPw","ceil","config","paddingLeft","domRoots"," 0 ","classList","position","findMappedViewAncestor","getClientRects","display","querySelectorAll","_configuredPaddings","4009060qSlupL","getComputedStyle","firstChild","render","imageBlock","_recalculatePageBreaks"," - ","pluginName","selectNodeContents","text","_offset","plugins","1450617FMhFQQ","attributeStyleMap","isEnabled","scrollLeft","startContainer","complete","_getAttachedDomRoot","locale","TEXT_NODE","editing","excludeScrollbarsAndBorders","10mm","calc( ","set","pagination","href","element","indexOf","length","cloneNode"];return(f=function(){return t})()}function d(t,e,n){const i=r,s=o.global[i(549)][i(509)]();return s[i(499)](t,e),s[i(627)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(549)][s(509)]();return a[s(499)](t,e),a[s(627)](n,i),a}function g(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(453)][s(516)]()){let t=[];y(c)&&c[s(567)]&&!c[s(621)][s(583)]?t=m(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(619)]&&(a[s(568)](...t),e+=t[s(619)]*n,o=!1)}return a}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(456)])&&y(l)&&Boolean(l[c(582)][c(551)](c(523))||l[c(546)](c(503)))&&(u[c(568)]({type:c(472),offset:0,path:[e-1]}),a=!0),c(626)==o.global[c(550)][c(590)](t)[c(586)]){let i=0,o=!1;for(const e of t[c(585)]())i+=e[c(520)],e[c(451)]>=n&&(o=!0);if(i<s&&o)return u[c(568)]({type:c(617),offset:0,path:[e]}),u}const p=t[c(546)](c(535));if(p&&function(t){const e=c;let n=!1;const i=t[e(544)][e(452)][e(526)],s=t[e(642)],r=t[e(527)],a=s&&o.global[e(550)][e(590)](s)[e(454)],u=s&&e(457)===s[e(634)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(467)!==a&&(n=!0),!n}(p)){const t=o.global[c(550)][c(590)](p)[c(454)];if(c(451)==t||c(506)==t)return u}const f=g(t,n,i,s,a);if(f[c(619)]){for(const t of f)u[c(568)]({type:t[c(481)],offset:t[c(487)],textOffset:t[c(498)],path:[e,...t[c(488)]]}),n+=i,a=!1;return u}return u[c(568)](...function(t,e,n,i,s){const r=c,a=[];if(r(633)==o.global[r(550)][r(590)](t)[r(586)])return[];const u=[];for(const e of t[r(585)]())if(e[r(451)]>=n){for(const t of u)t[r(520)]+=e[r(520)];u[r(568)]({height:e[r(520)]}),n+=i}for(const t of u)s||a[r(568)]({type:r(617),offset:t[r(520)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e){const n=f();return(b=function(t,e){return n[t-=450]})(t,e)}function w(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(585)]())if(r[s(451)]>=n){const r=v(t,u,n,i);o||c[s(568)]({type:s(598),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(619)];for(;a-s>1;){const e=Math[o(577)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(585)]())if(o[i(451)]>=e&&o[i(451)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(548)]==Node[e(560)]}function I(t){const e=r;return t[e(548)]==Node[e(609)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),R=n.n(S),T=n(667),E=n.n(T),A=n(357),L=n.n(A),C=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=E(),O.insert=R().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=L();x()(C.A,O);C.A&&C.A.locals&&C.A.locals;function B(){const t=["18ohprXo","271570npzPBE","left","ck-pagination-view-line","3jLXrum","1018110gjzvRJ","104182SMvNBH","pageNumber","isVisible","set","61413wHuCRp","605488qHxyeC","setTemplate","28OLgLDD","19655rLrQua","7ayuzqM","top","ck-hidden","252fkcXng","563170BWuxSa","width","bindTemplate","div"];return(B=function(){return t})()}function D(t,e){const n=B();return(D=function(t,e){return n[t-=437]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(102694===-parseInt(e(452))/1+-parseInt(e(447))/2*(-parseInt(e(450))/3)+parseInt(e(459))/4*(-parseInt(e(437))/5)+parseInt(e(451))/6*(parseInt(e(438))/7)+-parseInt(e(457))/8+parseInt(e(446))/9*(-parseInt(e(442))/10)+-parseInt(e(456))/11*(-parseInt(e(441))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const G=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=D;super();const e=this[t(444)];this[t(455)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(458)]({tag:t(445),attributes:{"data-page-number":e.to(t(453)),class:["ck",t(449),e.if(t(454),t(440),(t=>!t))],style:{left:e.to(t(448),(t=>G(t))),top:e.to(t(439),(t=>G(t))),width:e.to(t(443),(t=>G(t)))}}})}}function V(){const t=["setViewCollection","52zTJwtg","has","6QuOcLi","showLine","size","delete","_hiddenLines","1838655xblBFW","cleanLines","destroy","remove","15935TTRNaX","271491aEXBVS","view","1929oksqel","_viewCollection","618680kBMRtA","body","clear","set","74rweQLg","480184SHaFRu","isVisible","149653CHpMVd","values","_visibleLines","add"];return(V=function(){return t})()}const K=j;function j(t,e){const n=V();return(j=function(t,e){return n[t-=259]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(145244===parseInt(e(280))/1+parseInt(e(260))/2*(-parseInt(e(282))/3)+-parseInt(e(268))/4*(parseInt(e(279))/5)+-parseInt(e(270))/6*(-parseInt(e(263))/7)+parseInt(e(261))/8+-parseInt(e(275))/9+parseInt(e(284))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class z{[K(283)];[K(265)]=new Set;[K(274)]=new Set;constructor(t){const e=K;this[e(283)]=t.ui[e(281)][e(285)]}[K(277)](){const t=K;for(const e of this[t(274)])e[t(277)]()}[K(276)](){const t=K;for(const e of this[t(265)])e[t(262)]=!1,this[t(274)][t(266)](e);this[t(265)][t(286)]()}[K(271)](t,e,n,i){const s=K;let r;this[s(274)][s(272)]?(r=(0,o.first)(this[s(274)][s(264)]()),this[s(274)][s(273)](r)):r=new M,r[s(259)]({pageNumber:i,left:t,top:e,width:n}),r[s(262)]=!0,this[s(283)][s(269)](r)||this[s(283)][s(266)](r),this[s(265)][s(266)](r)}[K(267)](t){const e=K;for(const t of[...this[e(265)],...this[e(274)]])this[e(283)][e(269)](t)&&this[e(283)][e(278)](t);this[e(283)]=t}}const H=U;function U(t,e){const n=F();return(U=function(t,e){return n[t-=260]})(t,e)}!function(t){const e=U,n=t();for(;;)try{if(918370===parseInt(e(303))/1*(parseInt(e(288))/2)+parseInt(e(324))/3*(parseInt(e(274))/4)+parseInt(e(294))/5+-parseInt(e(276))/6+parseInt(e(313))/7+-parseInt(e(312))/8+-parseInt(e(298))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(F);const X=H(286);function F(){const t=["overflowY","document","3071205tObNWk","setupScrollableAncestor","BODY","pageNumber","22238208SibRGO","PaginationRenderer","offset","_paginationLookupPlugin","view","2IwnuQo","instant","scrollTo","body","_getPageBreakLineOffset","getComputedStyle","editing","ownerDocument","pageBreaks","1604952aGlpez","9697786HNwGPT","PaginationLookup","showLine","ready","init","values","change:pageBreaks","_onUiReady","window","height","excludeScrollbarsAndBorders","3TwcoMO","domRoots","once","listenTo","roots","linesRepository","length","auto","cleanLines","scrollToPage","isPremiumPlugin","_renderPageBreakLines","tagName","width","get","set","_resizeObserver","isEnabled","destroy","change","_toggleEditingRootsClass","editor","addClass","scrollTop","_scrollableEditingRootDomAncestor","bind","change:isEnabled","isOfficialPlugin","bottom","isMotionReduced","plugins","push","PaginationEditing","7091948CGPzXu","resize","9107274XMHSkm","contains","removeClass","_getAttachedDomRoot","scroll","top","parentElement","update","smooth","pluginName","ck-pagination_enabled","left","1335154KiHifh","scrollLeft","_updatePageBreakLines","stopListening"];return(F=function(){return t})()}class q extends t.Plugin{[H(329)];[H(265)]=null;[H(340)]=null;[H(301)];static get[H(285)](){return H(299)}static get[H(268)](){return!0}static get[H(334)](){return!0}[H(317)](){const t=H;this[t(339)]({pageNumber:1}),this[t(329)]=new z(this[t(262)]),this[t(265)]=null,this[t(340)]=null,this[t(301)]=this[t(262)][t(271)][t(338)](t(314)),this[t(266)](t(341)).to(this[t(262)][t(271)][t(338)](t(273))),this[t(262)].ui[t(326)](t(316),(()=>this[t(320)]())),this[t(261)](X),this.on(t(267),((e,n,i)=>{const o=t;i||this[o(329)][o(332)](),this[o(261)](X,i)}))}[H(342)](){const t=H;this[t(261)](X,!1),this[t(329)][t(342)](),this[t(265)]=null,this[t(340)]&&this[t(340)][t(342)]()}[H(333)](t){const e=H;if(!this[e(341)])return;const n=t>1?this[e(307)](t-1):0;this[e(265)][e(305)]({top:n-10,left:this[e(265)][e(289)],behavior:o.env[e(270)]?e(304):e(284)})}[H(295)](){const t=H,e=this[t(262)],n=this[t(279)]();n?(this[t(265)]&&e.ui[t(302)][t(291)](this[t(265)],t(280)),this[t(265)]=function(e){const n=t;let i=e;do{i=i[n(282)];const t=o.global[n(321)][n(308)](i)[n(292)];if(n(331)==t||n(280)==t)break}while(n(296)!=i[n(336)]);return i}(n),e.ui[t(302)][t(327)](this[t(265)],t(280),(()=>{this[t(290)]()}),{usePassive:!0}),this[t(340)]&&this[t(340)][t(342)](),this[t(340)]=new o.ResizeObserver(this[t(265)],(()=>{this[t(290)]()}))):e.ui[t(326)](t(283),(()=>this[t(295)]()))}[H(320)](){const t=H,e=this[t(262)];this[t(279)]()?(this[t(295)](),e.ui[t(302)][t(327)](o.global[t(321)],t(275),(()=>this[t(290)]())),this[t(327)](this[t(301)],t(319),(()=>this[t(290)]()))):e.ui[t(326)](t(283),(()=>this[t(320)]()))}[H(279)](){const t=H;for(const e of this[t(262)][t(309)][t(302)][t(325)][t(318)]())if(e[t(310)][t(306)][t(277)](e))return e;return null}[H(290)](){const t=H;if(!this[t(341)])return;const e=this[t(279)](),n=this[t(301)][t(311)];if(this[t(329)][t(332)](),!e||1==n[t(330)])return void(this[t(297)]=1);const i=new o.Rect(e)[t(323)](),s=new o.Rect(this[t(265)])[t(323)](),r=s[t(281)]+s[t(322)]/3;let a=!1;const c=[];for(let e=1;e<n[t(330)];e++){const n=this[t(307)](e,s);if(!n)continue;const o=s[t(281)]+n-this[t(265)][t(264)];c[t(272)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(297)]=e,a=!0)}this[t(335)](c),a||(this[t(297)]=n[t(330)])}[H(335)](t){const e=H,{scrollX:n,scrollY:i}=o.global[e(321)];if(t[e(330)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(281)]<s&&s<o[e(269)]&&this[e(329)][e(315)](r[e(287)]+n,s+i,r[e(337)],a+1)}[H(307)](t,e=null){const n=H,i=this[n(301)][n(311)][t][n(300)];return i?(e||(e=new o.Rect(this[n(265)])[n(323)]()),i-e[n(281)]+this[n(265)][n(264)]):0}[H(261)](t,e=!0){const n=H,i=this[n(262)][n(309)][n(302)];i[n(260)]((o=>{const s=n;for(const n of i[s(293)][s(328)])e?o[s(263)](t,n):o[s(278)](t,n)}))}}function Q(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var W=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=E(),Y.insert=R().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=L();x()(W.A,Y);W.A&&W.A.locals&&W.A.locals;const Z=J;function J(t,e){const n=$();return(J=function(t,e){return n[t-=463]})(t,e)}function $(){const t=["change:pageBreaks","stop","page-break","dataDowncast","5onUkKI","Go to the previous page (also move selection)","for","PaginationEditing","manual","checkChild","paginationLicenseKeyNotAllowed","toViewPosition","model","250Uphvsb","listenTo","get","isOfficialPlugin","forward","keystrokes","index","type","paginationLicenseKeyExpired","getFillerOffset","evaluationLimit","pagination","modelRange","options","_validatePageNumber","accessibility","_licenseKeyCheckInterval","totalPages","data","addMarker:","setSelection","bind","pageNumber","hasClass","invalid","addKeystrokeInfoGroup","writer","getNearestSelectionRange","94rVbVlb","text","Shift+Pagedown","config","schema","paginationLicenseKeyUsageLimit","Pagination","offset","createPositionAt","root","focus","data-pagination-page","conversion","parent","featureNotAllowed","end","init","nodeAfter","setStyle","scrollToPage","20172UtbzbY","change","start","trialLimit","Keystrokes for navigating through documents","addMarker","21214GRLGxz","expired","_setUpDataDowncastConversion","toViewElement","set","markers","paginationLicenseKeyDomainLimit","element","$text","add","length","usageLimit","destroy","insert","always","isEnabled","createContainerElement","paginationLicenseKeyValid","116271NRvZaQ","_showLicenseError","_updatePageBreakMarkers","editor","page-break-before","156VHzkGR","requires","goToPreviousPage","pageBreaks","paginationLicenseKeyInvalid","getContainedElement","_setupKeystrokes","7634592fcdPZV","updateMarker","moveSelectionToPage","504066jvBBrb","147TyyPXy","setAttribute","plugins","removeMarker","pluginName","consume","pagination:","domainLimit","Go to the next page (also move selection)","goToNextPage","has","Shift+Pageup","name","view","2301387avTZth","isPremiumPlugin","paginationLicenseKeyEvaluationLimit","span","editing","licenseKey","1958984GQoYmr","mapper","bindElementToMarker","paginationLicenseKeyTrialLimit","substring","locale","textNode","consumable"];return($=function(){return t})()}!function(t){const e=J,n=t();for(;;)try{if(717101===-parseInt(e(541))/1*(parseInt(e(515))/2)+parseInt(e(575))/3*(parseInt(e(535))/4)+parseInt(e(478))/5*(-parseInt(e(574))/6)+-parseInt(e(571))/7+parseInt(e(466))/8+parseInt(e(559))/9*(-parseInt(e(487))/10)+parseInt(e(589))/11*(parseInt(e(564))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(465)];[Z(503)];static get[Z(579)](){return Z(481)}static get[Z(490)](){return!0}static get[Z(590)](){return!0}static get[Z(565)](){return[a,q]}[Z(531)](){const t=Z;this[t(545)]({pageNumber:1,totalPages:1});const e=this[t(562)][t(577)][t(489)](t(521)),n=this[t(562)][t(577)][t(489)](a),i=this[t(562)][t(577)][t(489)](q);this[t(508)](t(556)).to(e),this[t(543)](),this[t(508)](t(509)).to(i),this[t(488)](n,t(474),((e,n,i,o)=>{const s=t;this[s(504)]=i[s(551)],this[s(561)](i,o)})),this[t(570)](),this[t(465)]=this[t(562)][t(518)][t(489)](t(465));const o=this[t(562)];this[t(503)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(558)==s||e(568)==s||e(495)==s||e(547)==s||e(484)==s||e(591)==s||e(469)==s||e(520)==s){delete o[i],n=s,clearInterval(this[e(503)]),this[e(503)]=void 0;break}}e(568)==n&&o[e(560)](e(511)),e(495)==n&&o[e(560)](e(542)),e(547)==n&&o[e(560)](e(582)),e(484)==n&&o[e(560)](e(529),e(521)),e(591)==n&&o[e(560)](e(497)),e(469)==n&&o[e(560)](e(538)),e(520)==n&&o[e(560)](e(552))}),1e3)}[Z(553)](){const t=Z;super[t(553)](),this[t(503)]&&clearInterval(this[t(503)])}[Z(534)](t){const e=Z;this[e(556)]&&this[e(562)][e(577)][e(489)](q)[e(534)](this[e(501)](t))}[Z(573)](t){const e=Z;if(!this[e(556)])return;const n=this[e(562)],i=this[e(562)][e(577)][e(489)](a)[e(567)][t-1];i&&n[e(486)][e(536)]((t=>{const o=e;switch(i[o(494)]){case o(482):{const e=n[o(486)][o(519)][o(514)](i[o(499)][o(530)],o(491));t[o(507)](e);break}case o(548):{const e=n[o(486)][o(519)][o(514)](i[o(499)][o(537)],o(491));t[o(507)](e);break}case o(516):{const e=i[o(499)][o(537)];if(e[o(472)]&&" "===e[o(472)][o(505)][e[o(522)]]){const n=t[o(523)](e[o(528)],e[o(522)]+1);t[o(507)](n)}else t[o(507)](i[o(499)])}}n[o(464)][o(588)][o(525)]()}))}[Z(584)](){const t=Z,e=this[t(501)](this[t(509)]+1);this[t(573)](e),this[t(534)](e)}[Z(566)](){const t=Z,e=this[t(501)](this[t(509)]-1);this[t(573)](e),this[t(534)](e)}[Z(561)](t,e){const n=Z,i=this[n(562)][n(486)];this[n(556)]&&i[n(536)]((o=>{const s=n;for(let e=1;e<t[s(551)];e++){const n=t[e][s(499)],r=s(581)+(e+1);i[s(546)][s(585)](r)?o[s(572)](r,{range:n}):o[s(540)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(551)];n<e[s(551)];n++){const t=s(581)+(n+1);i[s(546)][s(585)](t)&&o[s(578)](t)}}))}[Z(543)](){const t=Z,e=t(498);this[t(562)][t(527)][t(480)](t(477))[t(550)]((n=>{const i=t;n.on(i(506)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(500)][s(498)])return;if(!o[s(473)][s(580)](e,t[s(587)]))return;const r=e[s(569)]();let a=r?o[s(467)][s(544)](r):null;if(!a){const t=e[s(537)];if(o[s(519)][s(483)](t,s(549))){const e=o[s(467)][s(485)](t);a=o[s(513)][s(557)](s(463)),a[s(496)]=()=>null,o[s(513)][s(554)](e,a)}else{const e=t[s(532)];a=o[s(467)][s(544)](e)}}for(;a[s(528)]!==a[s(524)]&&0===a[s(493)];)a=a[s(528)];const c=n[s(470)](11);a[s(510)](s(476))||(o[s(513)][s(533)](s(563),s(555),a),o[s(513)][s(576)](s(526),c,a),o[s(467)][s(468)](a,n)),t[s(475)]()}))}))}[Z(570)](){const t=Z,e=this[t(562)];e[t(492)][t(545)](t(586),((e,n)=>{this[t(566)](),n()})),e[t(492)][t(545)](t(517),((e,n)=>{this[t(584)](),n()})),e[t(502)][t(512)]({id:t(498),label:Q(e[t(471)],t(539)),keystrokes:[{label:Q(e[t(471)],t(479)),keystroke:t(586),mayRequireFn:!0},{label:Q(e[t(471)],t(583)),keystroke:t(517),mayRequireFn:!0}]})}[Z(501)](t){const e=Z;return t<1&&(t=1),t>this[e(504)]&&(t=this[e(504)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=R().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=L();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(){const t=["3938YGKQgs","ck-disabled","key","totalPages","stopPropagation","select","change:pageNumber","firstChild","1280520KzvsQA","isReadOnly","3511835Ymqsow","enter","110SEbjUN","setTemplate","valueAsNumber","set","ArrowDown","value","Current page number (from 1 to %0)","pageNumberView","keyCode","bind","preventDefault","15430HTouio","ariaLabel","139nLeYpj","16JcVwCG","ArrowUp","listenTo","pageNumber","3561561xgDwAV","fire","focus","isEnabled","span","bindTemplate","element","blur","navigation","checkValidity","keydown","numeric","57273HHVfnt","render","max","isNaN","div","28simoDS","ck-page-navigator","997941rytTLe"];return(ot=function(){return t})()}function st(t,e){const n=ot();return(st=function(t,e){return n[t-=239]})(t,e)}const rt=st;!function(t){const e=st,n=t();for(;;)try{if(444636===parseInt(e(264))/1*(parseInt(e(251))/2)+parseInt(e(281))/3*(-parseInt(e(286))/4)+-parseInt(e(249))/5+-parseInt(e(247))/6+parseInt(e(288))/7+parseInt(e(265))/8*(parseInt(e(269))/9)+-parseInt(e(262))/10*(-parseInt(e(239))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ot);class at extends e.View{[rt(258)];constructor(t){const n=rt;super(t);const i=this[n(274)];this[n(254)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(258)]=new e.InputNumberView(t,{min:1,step:1}),this[n(258)][n(254)]({inputMode:n(280),tabIndex:-1}),this[n(258)][n(260)](n(263)).to(this,n(242),(e=>Q(t,n(257),e))),this[n(258)][n(260)](n(283)).to(this,n(242)),this[n(258)][n(260)](n(248)).to(this,n(272),(t=>!t)),this[n(252)]({tag:n(285),attributes:{class:["ck",n(287),i.if(n(272),n(240),(t=>!t))]},children:[this[n(258)],{tag:n(273),children:[{text:i.to(n(242))}]}]})}[rt(282)](){const t=rt;super[t(282)]();const e=this[t(258)][t(275)],n=e=>{const n=t;this[n(258)][n(275)][n(256)]=String(e)};n(this[t(268)]),this.on(t(245),((t,e,i)=>{n(i)})),this[t(267)](e,t(279),((n,i)=>{const s=t;if(s(266)===i[s(241)]||s(255)===i[s(241)])return void i[s(243)]();if(i[s(259)]!==o.keyCodes[s(250)])return;i[s(261)]();const r=e[s(253)];Number[s(284)](r)?e[s(256)]=String(this[s(268)]):(e[s(278)]()?this[s(268)]=r:r>this[s(242)]?(this[s(268)]=this[s(242)],e[s(256)]=String(this[s(242)])):(this[s(268)]=1,e[s(256)]="1"),this[s(270)](s(277),this[s(268)]))})),this[t(267)](e,t(276),(()=>{const n=t;e[n(256)]=String(this[n(268)])})),this[t(267)](e,t(271),(()=>{const e=t;this[e(258)][e(244)]()}))}[rt(271)](){const t=rt;this[t(275)][t(246)][t(271)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=121]})(t,e)}function lt(){const t=["navigation","isEnabled","Go to previous page","Shift+PageDown","tooltip","isPremiumPlugin","icon","nextPage","bind","plugins","isOfficialPlugin","76026AhXzwJ","1217zrGwAo","editor","goToPreviousPage","label","moveSelectionToPage","get","pluginName","Go to next page","totalPages","execute","17872998XuEnxE","6915xQNNgc","goToNextPage","add","11151600SeYVsj","scrollToPage","56iMtEGt","49XaKSIy","listenTo","120kRRKjZ","keystroke","1328RSHJwn","pageNumber","Shift+PageUp","previousPage","PaginationUI","4338432ELovPX","componentFactory","pageNavigation","init","358821KugkyO","PaginationEditing","locale"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(740736===parseInt(e(150))/1*(parseInt(e(124))/2)+parseInt(e(131))/3+parseInt(e(126))/4*(-parseInt(e(161))/5)+-parseInt(e(149))/6*(parseInt(e(122))/7)+parseInt(e(121))/8*(parseInt(e(135))/9)+parseInt(e(164))/10+-parseInt(e(160))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(156)](){return ct(130)}static get[ct(148)](){return!0}static get[ct(143)](){return!0}[ct(134)](){const t=ct,n=this[t(151)],i=n[t(147)][t(155)](t(136));n.ui[t(132)][t(163)](t(133),(e=>{const n=t,o=new at(e);return o[n(146)](n(127)).to(i),o[n(146)](n(158)).to(i),o[n(146)](n(139)).to(i),o.on(n(138),((t,e)=>{const o=n;i[o(154)](e),i[o(165)](e)})),o})),n.ui[t(132)][t(163)](t(145),(o=>{const s=t,r=new e.ButtonView(o);return r[s(139)]=!0,r[s(153)]=Q(n[s(137)],s(157)),r[s(144)]=et.IconArrowDown,r[s(142)]=!0,r[s(125)]=s(141),r[s(146)](s(139)).to(i),this[s(123)](r,s(159),(()=>{i[s(162)]()})),r})),n.ui[t(132)][t(163)](t(129),(o=>{const s=t,r=new e.ButtonView(o);return r[s(139)]=!0,r[s(153)]=Q(n[s(137)],s(140)),r[s(144)]=et.IconArrowUp,r[s(142)]=!0,r[s(125)]=s(128),r[s(146)](s(139)).to(i),this[s(123)](r,s(159),(()=>{i[s(152)]()})),r}))}}const ft=ht;function dt(){const t=["Pagination","isOfficialPlugin","forceDisabled","bind","isPremiumPlugin","plugins","4622358weZZCr","editor","config","totalPages","pageNumber","requires","pagination.enableOnUnsupportedBrowsers","1104462lHeRHV","pluginName","isBlink","1096952UgUCso","scrollToPage","ready","browserCheck","2106740bJwbqf","set","get","init","isEnabled","2866900DtqniD","7303660UqVgLy","212945RAvooa"];return(dt=function(){return t})()}function ht(t,e){const n=dt();return(ht=function(t,e){return n[t-=255]})(t,e)}!function(t){const e=ht,n=t();for(;;)try{if(471819===-parseInt(e(260))/1+-parseInt(e(277))/2+parseInt(e(274))/3+parseInt(e(258))/4+parseInt(e(281))/5+parseInt(e(267))/6+-parseInt(e(259))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(dt);class gt extends t.Plugin{static get[ft(275)](){return ft(261)}static get[ft(262)](){return!0}static get[ft(265)](){return!0}static get[ft(272)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(257)]=!1}[ft(256)](){const t=ft;this[t(282)]({pageNumber:1,totalPages:1});const e=this[t(268)][t(266)][t(255)](tt);this[t(264)](t(271)).to(e),this[t(264)](t(270)).to(e),o.env[t(276)]||this[t(268)][t(269)][t(255)](t(273))?this[t(268)].on(t(279),(()=>{this[t(257)]=!0})):this[t(263)](t(280))}[ft(278)](t){const e=ft;this[e(268)][e(266)][e(255)](tt)[e(278)](t)}}function mt(){var t=["1102552znltfb","185tdrRSU","44KdkZvm","4693040EMiXBH","863051vnCjoF","305253GGndFI","7134732aegzQg","77VOcJCd","50Wcynzl","58386mkRgfl","1134660YHSIcu"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=100]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(946446===parseInt(e(104))/1+-parseInt(e(110))/2+parseInt(e(105))/3*(-parseInt(e(102))/4)+-parseInt(e(101))/5*(-parseInt(e(109))/6)+parseInt(e(107))/7*(-parseInt(e(100))/8)+parseInt(e(106))/9+parseInt(e(108))/10*(parseInt(e(103))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),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:has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout((()=>{u=null,a&&c(),f()}),e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}const r=g;!function(t){const e=g,n=t();for(;;)try{if(142034===-parseInt(e(280))/1*(parseInt(e(275))/2)+parseInt(e(181))/3+-parseInt(e(241))/4*(parseInt(e(290))/5)+-parseInt(e(261))/6+parseInt(e(285))/7+-parseInt(e(276))/8+parseInt(e(167))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class a extends t.Plugin{[r(210)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:o=!1,trailing:r=!0,maxWait:a}=n,c=Array(2);let u;o&&(c[0]="leading"),r&&(c[1]="trailing");let l=null;const p=s((function(...e){u=t.apply(this,e),l=null}),e,{signal:i,edges:c}),f=function(...e){if(null!=a)if(null===l)l=Date.now();else if(Date.now()-l>=a)return u=t.apply(this,e),l=Date.now(),p.cancel(),p.schedule(),u;return p.apply(this,e),u};return f.cancel=p.cancel,f.flush=()=>(p.flush(),u),f}((()=>this[r(200)]()),200);[r(258)]=null;static get[r(162)](){return r(160)}static get[r(298)](){return!0}static get[r(253)](){return!0}[r(301)](){const t=r;if(this[t(207)]({pageBreaks:[]}),!this[t(303)][t(142)][t(215)](t(213)))return void(0,o.logWarning)(t(271),this[t(303)][t(142)]);const e=this[t(303)][t(203)][t(215)](t(278));this[t(208)](t(269)).to(e),this[t(303)].ui[t(296)](t(192),(()=>this[t(147)]())),this.on(t(279),((e,n,i)=>{i&&this[t(210)]()}))}[r(289)](){!async function(t){const e=m([72,77,103,112,85,118,48,102,110,104,109,82,52,87,117,51,66,81,121,71,54,89,65,90,79,120,75,114,98,107,116,78,106,57,76,100,113,73,115,80,97,84,105,67,122,108,111,119,55,99,88,56,70,50,74,68,83,101,69,49,53,86]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])((t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)})),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),s[m([116,104,101,110])]((()=>new(window[m([80,114,111,109,105,115,101])])((t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())}))}))))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])]((()=>t))}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(t)):null}function l(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function p(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])]((([e,i])=>{n(e),t(i)})):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function f(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 d(){}function m(t){const e=g;return t[e(291)]((t=>String[e(149)](t)))[e(226)]("")}!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([72]);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])]=d,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=d,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,d=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],p(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(d=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 d(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])?f(p(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116])))[m([116,104,101,110])]((t=>(s(),t)),(()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[m([116,104,101,110])](c)[m([99,97,116,99,104])]((()=>{c(m([85,115,97,103,101,76,105,109,105,116]))}));const o=36e5;function s(){const e=m([108,108,99,116,45])+f(p(t)),i=h(f(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])+f(p(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])(((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)}))}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}}),{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{d(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))}),{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])]((()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))}))}));function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),(t=>t[m([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1748995200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=g,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(284)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])]((t=>t[m([105,110,99,108,117,100,101,115])](m([42]))))[m([109,97,112])]((t=>t[m([115,112,108,105,116])](m([46]))))[m([115,111,109,101])]((t=>o[m([101,118,101,114,121])](((e,n)=>t[n]===e||t[n]===m([42])))))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&d?new(window[m([80,114,111,109,105,115,101])])(((t,n)=>{e[m([116,104,101,110])](t,n),d[m([116,104,101,110])]((e=>{e!=m([86,97,108,105,100])&&t(e)}),n)})):e||d||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(131)](){const t=r;super[t(131)](),this[t(258)]&&(this[t(210)][t(141)](),this[t(258)][t(131)](),this[t(258)][t(190)][t(306)]())}[r(147)](){const t=r,n=this[t(303)],i=n[t(221)][t(176)],o=this[t(205)]();if(!o||0===o[t(180)])return void n.ui[t(296)](t(263),(()=>this[t(147)]()));const{pageWidth:s,pageHeight:a}=n[t(142)][t(215)](t(213)),{top:c,left:u,bottom:l,right:p}=this[t(224)];this[t(258)]=new e.View(n[t(136)]);const f=this[t(258)];f[t(207)](t(118),""),f[t(168)]({tag:t(145),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(248)+a+t(239)+c+t(239)+l+" )",minWidth:t(219),minHeight:t(219),padding:"0 "+p+t(305)+u,columnGap:t(132),border:0,boxSizing:t(235),columnCount:t(219),columnFill:t(219),overflow:t(294),position:t(133),top:t(232),left:t(232)},tabindex:"-1",class:f[t(183)].to(t(118))}}),f[t(242)](),o[t(257)][t(152)](f[t(190)],o[t(300)]),this[t(229)](i,t(242),(()=>this[t(210)]()),{priority:t(260)}),this[t(210)]()}[r(205)](){const t=r;for(const e of this[t(303)][t(221)][t(176)][t(262)][t(155)]())if(e[t(125)][t(270)][t(146)](e))return e;return null}[r(200)](){const t=r;if(!this[t(269)])return Promise[t(212)]();const e=this[t(303)][t(221)][t(176)],n=this[t(258)],i=this[t(205)]();if(!i)return Promise[t(212)]();for(n[t(118)]=[t(237),t(161),...i[t(243)]][t(226)](" ");n[t(190)][t(304)];)n[t(190)][t(304)][t(306)]();const o=Array[t(255)](e[t(262)]);o[t(267)]((([,e],[,n])=>e[t(139)](n)==Node[t(138)]?1:-1));for(const[e,i]of o){const o=i[t(256)](!0);t(174)in o&&o[t(174)][t(129)](),o[t(223)]="",o[t(184)]("id"),o[t(231)][t(123)]=e,n[t(190)][t(227)](o)}return function(e){const n=t;return Promise[n(178)](e[n(291)]((t=>{return Promise[n(185)]([l(t),(e=1e3,new Promise((t=>setTimeout(t,e))))]);var e})))}(Array[t(255)](n[t(190)][t(127)](t(254))))[t(302)]((()=>this[t(137)]()))}[r(137)](){const t=r,e=this[t(258)][t(190)];if(!e[t(125)][t(270)][t(146)](e))return;const n=new o.Rect(e)[t(134)](),i=o.global[t(148)][t(293)](e),s=parseFloat(i[t(307)])+parseFloat(i[t(246)]),a=Math[t(272)](n[t(265)]+100-s),c=d(e,Math[t(272)](n[t(295)]-e[t(159)]),a,n[t(186)])[t(291)]((e=>this[t(195)](e)));c[t(193)]((t=>!!t))&&(this[t(188)]=c)}[r(195)](t){const e=r,n=this[e(303)][e(221)][e(176)],i=this[e(303)][e(221)][e(244)],o=n[e(250)],s=t[e(209)][e(240)](),a=this[e(258)][e(190)][e(122)][s][e(231)][e(123)],c=n[e(153)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(209)]){if(!o)return null;o=o[i(122)][t]}return o}(c,t);if(!u)return null;const l=o[e(299)](u,t[e(175)]||0);return l?e(281)==t[e(158)]?this[e(225)](l,u):e(165)==t[e(158)]&&i[e(217)](l)[e(182)]?this[e(283)](l,u,t[e(175)]):this[e(128)](l,u,t[e(182)]):null}[r(225)](t,e){const n=r,i=this[n(303)][n(233)],o=this[n(303)][n(221)][n(244)][n(286)](t[n(204)]),s=i[n(234)](o);return new c({type:n(281),modelRange:s,domNode:e,offset:0})}[r(283)](t,e,n){const i=r,o=this[i(303)][i(233)],s=this[i(303)][i(221)][i(244)],a=this[i(303)][i(221)][i(176)][i(250)];if(n>=e[i(252)])return null;const l=s[i(217)](t),p=o[i(124)](l),f=s[i(126)](t),h=a[i(151)](f);return new c({type:i(165),modelRange:p,domNode:e,offset:u(e,n,h)})}[r(128)](t,e,n){const i=r,s=this[i(303)][i(233)],a=this[i(303)][i(221)],u=a[i(244)],l=a[i(176)][i(250)],f=u[i(126)](t),h=u[i(286)](f),d=function(t){const e=i,n=t[e(204)],o=n[e(211)][e(214)][e(233)],s=n[e(179)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(170)))return r;if(!o[e(282)](n)[e(177)](t))return r;r=n}}(s[i(282)](h))||h;let g=u[i(222)](d),m=s[i(234)](d);const b=s[i(282)](d)[i(154)];if(b&&b.is(i(190),i(238))){const t=u[i(222)](b),e=l[i(151)](t),n=o.global[i(148)][i(293)](e)[i(198)];i(295)!=n&&i(156)!=n||(m=s[i(234)](b))}for(;g[i(204)]!==g[i(211)]&&0===g[i(288)];)g=g[i(204)];const v=new o.Rect(w(e)?e:p(e)),k=n?v[i(186)]-n:0,y=l[i(151)](g),I=new o.Rect(y);return new c({type:i(190),modelRange:m,domNode:y,offset:Math[i(197)](k)?k+v[i(297)]-I[i(297)]:0})}get[r(224)](){const t=r,e=this[t(303)][t(142)][t(215)](t(172));return Object[t(230)]({top:t(216),bottom:t(216),left:t(216),right:t(216)},e)}static[r(218)](t,e,n,i,o){return d(t,e,n,i,o)}}class c{[r(158)];[r(194)];[r(264)];[r(135)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(158)]=t,this[o(194)]=e,this[o(264)]=n,this[o(135)]=i}get[r(182)](){const t=r;if(!this[t(264)][t(125)][t(270)][t(146)](this[t(264)]))return 0;const e=new o.Rect(w(this[t(264)])?this[t(264)]:p(this[t(264)]));return t(281)==this[t(158)]?e[t(297)]+e[t(186)]/2:e[t(297)]+this[t(135)]}}function u(t,e,n){const i=r,s=p(t),a=function(t){const e=g,n=o.global[e(214)][e(124)]();return n[e(166)](t),n}(n);let c;c=0==e?h(a[i(119)],a[i(228)],t[i(257)],Array[i(255)](t[i(257)][i(122)])[i(120)](t)):h(a[i(119)],a[i(228)],t,e);const u=h(t,e,a[i(196)],a[i(117)]),l=new o.Rect(c)[i(173)];return(new o.Rect(u)[i(297)]+l)/2-new o.Rect(s)[i(297)]}function l(t){const e=r;return t[e(266)](e(265))&&t[e(266)](e(186))?Promise[e(212)]():new Promise((n=>{const i=e;function o(){const e=g;t[e(202)](e(143),o),t[e(202)](e(157),o),n()}t[i(251)]?n():(t[i(187)](i(143),o),t[i(187)](i(157),o))}))}function p(t){const e=r,n=o.global[e(214)][e(124)]();return n[e(169)](t),n}function f(t,e,n){const i=r,s=o.global[i(214)][i(124)]();return s[i(259)](t,e),s[i(189)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(214)][s(124)]();return a[s(259)](t,e),a[s(189)](n,i),a}function d(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(122)][s(121)]()){let t=[];w(c)&&c[s(191)]&&!c[s(287)][s(247)]?t=m(c,r,e,n,i,o):I(c)&&(t=b(c,r,e,n,o)),t[s(252)]&&(a[s(144)](...t),e+=t[s(252)]*n,o=!1)}return a}function g(t,e){const n=y();return(g=function(t,e){return n[t-=117]})(t,e)}function m(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(201)])&&w(l)&&Boolean(l[c(243)][c(146)](c(150))||l[c(164)](c(206)))&&(u[c(144)]({type:c(281),offset:0,path:[e-1]}),a=!0),c(236)==o.global[c(148)][c(293)](t)[c(220)]){let i=0,o=!1;for(const e of t[c(199)]())i+=e[c(186)],e[c(295)]>=n&&(o=!0);if(i<s&&o)return u[c(144)]({type:c(190),offset:0,path:[e]}),u}const p=t[c(164)](c(268));if(p&&function(t){const e=c;let n=!1;const i=t[e(130)][e(231)][e(123)],s=t[e(273)],r=t[e(292)],a=s&&o.global[e(148)][e(293)](s)[e(198)],u=s&&e(245)===s[e(223)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(171)!==a&&(n=!0),!n}(p)){const t=o.global[c(148)][c(293)](p)[c(198)];if(c(295)==t||c(156)==t)return u}const f=d(t,n,i,s,a);if(f[c(252)]){for(const t of f)u[c(144)]({type:t[c(158)],offset:t[c(182)],textOffset:t[c(175)],path:[e,...t[c(209)]]}),n+=i,a=!1;return u}return u[c(144)](...function(t,e,n,i,s){const r=c,a=[];if(r(163)==o.global[r(148)][r(293)](t)[r(220)])return[];const u=[];for(const e of t[r(199)]())if(e[r(295)]>=n){for(const t of u)t[r(186)]+=e[r(186)];u[r(144)]({height:e[r(186)]}),n+=i}for(const t of u)s||a[r(144)]({type:r(190),offset:t[r(186)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function b(t,e,n,i,o){const s=r,a=p(t),c=[];let u=0;for(const r of a[s(199)]())if(r[s(295)]>=n){const r=v(t,u,n,i);o||c[s(144)]({type:s(165),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(252)];for(;a-s>1;){const e=Math[o(277)]((s+a)/2);k(f(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(199)]())if(o[i(295)]>=e&&o[i(295)]<e+n)return!0;return!1}function w(t){const e=r;return t[e(140)]==Node[e(249)]}function y(){const t=["entries","childNodes","rootName","createRange","ownerDocument","findMappedViewAncestor","querySelectorAll","_mapElementPageStarterInfoToPageBreakInfo","clear","parentElement","destroy","100px","absolute","excludeScrollbarsAndBorders","_offset","locale","_updatePageBreaksData","DOCUMENT_POSITION_PRECEDING","compareDocumentPosition","nodeType","cancel","config","load","push","div","contains","_onUiReady","window","fromCharCode","page-break","mapViewToDom","insertBefore","getDomRoot","nodeBefore","values","right","error","type","scrollLeft","PaginationLookup","ck-pagination-view","pluginName","table-cell","closest","text","selectNodeContents","2828556QSzoFx","setTemplate","selectNode","rootElement","none","pagination.pageMargins","bottom","attributeStyleMap","textOffset","view","isTouching","all","getAncestors","childElementCount","217101xsXbvC","offset","bindTemplate","removeAttribute","race","height","addEventListener","pageBreaks","setEnd","element","offsetParent","ready","every","modelRange","_mapPageStarterInfoToPageBreakInfo","endContainer","round","float","getClientRects","_recalculatePageBreaks","previousSibling","removeEventListener","plugins","parent","_getAttachedDomRoot",".page-break","set","bind","path","_recalculatePageBreaksDebounced","root","resolve","pagination","document","get","10mm","toModelPosition","_findPageStarterInfos","auto","display","editing","toViewElement","className","_configuredPaddings","_mapManualPageStarterInfoToPageBreakInfo","join","append","startOffset","listenTo","assign","dataset","-99999px","model","createRangeOn","border-box","table-row","ck-reset","imageBlock"," - ","shift","426148kUJRNK","render","classList","mapper","ck-fake-selection-container","paddingRight","position","calc( ","ELEMENT_NODE","domConverter","complete","length","isPremiumPlugin","img","from","cloneNode","parentNode","_pagesContainer","setStart","low","1397538CPQoOR","domRoots","update","_domNode","width","hasAttribute","sort","figure.image","isEnabled","body","pagination-config-not-found","floor","nextElementSibling","TEXT_NODE","1208WgctPB","233144UyBOli","ceil","PaginationEditing","change:isEnabled","46zEcrZU","manual","createPositionBefore","_mapTextPageStarterInfoToPageBreakInfo","href","1062390HoJzbO","toModelElement","style","index","afterInit","5CbNjMw","map","previousElementSibling","getComputedStyle","hidden","left","once","top","isOfficialPlugin","domPositionToView","nextSibling","init","then","editor","firstChild"," 0 ","remove","paddingLeft","endOffset","class","startContainer","indexOf"];return(y=function(){return t})()}function I(t){const e=r;return t[e(140)]==Node[e(274)]}var P=n(673),x=n.n(P),_=n(545),E=n.n(_),N=n(262),S=n.n(N),A=n(667),C=n.n(A),T=n(357),R=n.n(T),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=C(),O.insert=S().bind(null,"head"),O.domAPI=E(),O.insertStyleElement=R();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function B(){const t=["setTemplate","ck-pagination-view-line","466263HpiEvB","width","pageNumber","20xfZjyy","2080638zOHBgb","left","225717ekqjhd","117RlHLBB","ck-hidden","5XXIECD","set","70AlVjHG","top","6BCoKNn","isVisible","5790088FoIUFs","461811PBkEmx","4719946JktGec","7UmkFgJ","1818444yipCxV","bindTemplate","div"];return(B=function(){return t})()}function D(t,e){const n=B();return(D=function(t,e){return n[t-=117]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(405902===parseInt(e(123))/1*(parseInt(e(130))/2)+parseInt(e(133))/3*(-parseInt(e(120))/4)+-parseInt(e(126))/5*(-parseInt(e(121))/6)+parseInt(e(135))/7*(parseInt(e(132))/8)+parseInt(e(117))/9*(parseInt(e(128))/10)+parseInt(e(134))/11+parseInt(e(136))/12*(-parseInt(e(124))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(B);const K=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=D;super();const e=this[t(137)];this[t(127)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(139)]({tag:t(138),attributes:{"data-page-number":e.to(t(119)),class:["ck",t(140),e.if(t(131),t(125),(t=>!t))],style:{left:e.to(t(122),(t=>K(t))),top:e.to(t(129),(t=>K(t))),width:e.to(t(118),(t=>K(t)))}}})}}const G=j;function V(){const t=["remove","body","_visibleLines","2323746afqLxd","values","_viewCollection","delete","6641qmtrhi","showLine","view","has","4086320mjWqwM","setViewCollection","set","size","isVisible","add","_hiddenLines","clear","9329080xxethp","destroy","1603045MsAidG","24JOYeuw","426jKunbe","cleanLines","2629209LbFvuE","1742328GqHKoL"];return(V=function(){return t})()}function j(t,e){const n=V();return(j=function(t,e){return n[t-=443]})(t,e)}!function(t){const e=j,n=t();for(;;)try{if(878559===parseInt(e(457))/1*(parseInt(e(446))/2)+parseInt(e(448))/3+-parseInt(e(461))/4+parseInt(e(444))/5*(parseInt(e(445))/6)+-parseInt(e(449))/7+-parseInt(e(469))/8+-parseInt(e(453))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);class U{[G(455)];[G(452)]=new Set;[G(467)]=new Set;constructor(t){const e=G;this[e(455)]=t.ui[e(459)][e(451)]}[G(443)](){const t=G;for(const e of this[t(467)])e[t(443)]()}[G(447)](){const t=G;for(const e of this[t(452)])e[t(465)]=!1,this[t(467)][t(466)](e);this[t(452)][t(468)]()}[G(458)](t,e,n,i){const s=G;let r;this[s(467)][s(464)]?(r=(0,o.first)(this[s(467)][s(454)]()),this[s(467)][s(456)](r)):r=new M,r[s(463)]({pageNumber:i,left:t,top:e,width:n}),r[s(465)]=!0,this[s(455)][s(460)](r)||this[s(455)][s(466)](r),this[s(452)][s(466)](r)}[G(462)](t){const e=G;for(const t of[...this[e(452)],...this[e(467)]])this[e(455)][e(460)](t)&&this[e(455)][e(450)](t);this[e(455)]=t}}const z=H;!function(t){const e=H,n=t();for(;;)try{if(550155===parseInt(e(294))/1+-parseInt(e(353))/2*(parseInt(e(363))/3)+-parseInt(e(335))/4*(parseInt(e(367))/5)+parseInt(e(350))/6+parseInt(e(354))/7+parseInt(e(375))/8+parseInt(e(325))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);const F=z(372);class q extends t.Plugin{[z(317)];[z(360)]=null;[z(303)]=null;[z(347)];static get[z(359)](){return z(299)}static get[z(310)](){return!0}static get[z(338)](){return!0}[z(369)](){const t=z;this[t(356)]({pageNumber:1}),this[t(317)]=new U(this[t(333)]),this[t(360)]=null,this[t(303)]=null,this[t(347)]=this[t(333)][t(349)][t(314)](t(340)),this[t(364)](t(309)).to(this[t(333)][t(349)][t(314)](t(315))),this[t(333)].ui[t(319)](t(361),(()=>this[t(342)]())),this[t(316)](F),this.on(t(330),((e,n,i)=>{const o=t;i||this[o(317)][o(307)](),this[o(316)](F,i)}))}[z(370)](){const t=z;this[t(316)](F,!1),this[t(317)][t(370)](),this[t(360)]=null,this[t(303)]&&this[t(303)][t(370)]()}[z(302)](t){const e=z;if(!this[e(309)])return;const n=t>1?this[e(320)](t-1):0;this[e(360)][e(362)]({top:n-10,left:this[e(360)][e(313)],behavior:o.env[e(297)]?e(331):e(348)})}[z(306)](){const t=z,e=this[t(333)],n=this[t(324)]();n?(this[t(360)]&&e.ui[t(352)][t(334)](this[t(360)],t(311)),this[t(360)]=function(e){const n=t;let i=e;do{i=i[n(341)];const t=o.global[n(298)][n(321)](i)[n(323)];if(n(296)==t||n(311)==t)break}while(n(357)!=i[n(322)]);return i}(n),e.ui[t(352)][t(368)](this[t(360)],t(311),(()=>{this[t(305)]()}),{usePassive:!0}),this[t(303)]&&this[t(303)][t(370)](),this[t(303)]=new o.ResizeObserver(this[t(360)],(()=>{this[t(305)]()}))):e.ui[t(319)](t(295),(()=>this[t(306)]()))}[z(342)](){const t=z,e=this[t(333)];this[t(324)]()?(this[t(306)](),e.ui[t(352)][t(368)](o.global[t(298)],t(312),(()=>this[t(305)]())),this[t(368)](this[t(347)],t(339),(()=>this[t(305)]()))):e.ui[t(319)](t(295),(()=>this[t(342)]()))}[z(324)](){const t=z;for(const e of this[t(333)][t(308)][t(352)][t(366)][t(344)]())if(e[t(346)][t(343)][t(345)](e))return e;return null}[z(305)](){const t=z;if(!this[t(309)])return;const e=this[t(324)](),n=this[t(347)][t(336)];if(this[t(317)][t(307)](),!e||1==n[t(371)])return void(this[t(304)]=1);const i=new o.Rect(e)[t(293)](),s=new o.Rect(this[t(360)])[t(293)](),r=s[t(327)]+s[t(329)]/3;let a=!1;const c=[];for(let e=1;e<n[t(371)];e++){const n=this[t(320)](e,s);if(!n)continue;const o=s[t(327)]+n-this[t(360)][t(351)];c[t(374)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(304)]=e,a=!0)}this[t(332)](c),a||(this[t(304)]=n[t(371)])}[z(332)](t){const e=z,{scrollX:n,scrollY:i}=o.global[e(298)];if(t[e(371)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(327)]<s&&s<o[e(300)]&&this[e(317)][e(337)](r[e(301)]+n,s+i,r[e(326)],a+1)}[z(320)](t,e=null){const n=z,i=this[n(347)][n(336)][t][n(373)];return i?(e||(e=new o.Rect(this[n(360)])[n(293)]()),i-e[n(327)]+this[n(360)][n(351)]):0}[z(316)](t,e=!0){const n=z,i=this[n(333)][n(308)][n(352)];i[n(358)]((o=>{const s=n;for(const n of i[s(355)][s(328)])e?o[s(318)](t,n):o[s(365)](t,n)}))}}function H(t,e){const n=X();return(H=function(t,e){return n[t-=293]})(t,e)}function X(){const t=["_getAttachedDomRoot","9280125CmKKXV","width","top","roots","height","change:isEnabled","instant","_renderPageBreakLines","editor","stopListening","467624cXbgVt","pageBreaks","showLine","isPremiumPlugin","change:pageBreaks","PaginationLookup","parentElement","_onUiReady","body","values","contains","ownerDocument","_paginationLookupPlugin","smooth","plugins","62418PCmLOW","scrollTop","view","14StGUxx","2319737ocnbIp","document","set","BODY","change","pluginName","_scrollableEditingRootDomAncestor","ready","scrollTo","309933OkrQpR","bind","removeClass","domRoots","10MplGsh","listenTo","init","destroy","length","ck-pagination_enabled","offset","push","274296XlVLdC","excludeScrollbarsAndBorders","99938MXyXRd","update","auto","isMotionReduced","window","PaginationRenderer","bottom","left","scrollToPage","_resizeObserver","pageNumber","_updatePageBreakLines","setupScrollableAncestor","cleanLines","editing","isEnabled","isOfficialPlugin","scroll","resize","scrollLeft","get","PaginationEditing","_toggleEditingRootsClass","linesRepository","addClass","once","_getPageBreakLineOffset","getComputedStyle","tagName","overflowY"];return(X=function(){return t})()}function W(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var J=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=C(),Y.insert=S().bind(null,"head"),Y.domAPI=E(),Y.insertStyleElement=R();x()(J.A,Y);J.A&&J.A.locals&&J.A.locals;const Q=Z;function Z(t,e){const n=$();return(Z=function(t,e){return n[t-=337]})(t,e)}function $(){const t=["moveSelectionToPage","keystrokes","textNode","consume","length","_licenseKeyCheckInterval","requires","index","Go to the next page (also move selection)","type","page-break-before","nodeAfter","3476336mxPsCn","_showLicenseError","isPremiumPlugin","insert","editor","element","bindElementToMarker","checkChild","setSelection","16710PqpSSl","locale","paginationLicenseKeyUsageLimit","dataDowncast","paginationLicenseKeyInvalid","pageBreaks","paginationLicenseKeyEvaluationLimit","toViewPosition","Shift+Pagedown","forward","add","change:pageBreaks","pageNumber","usageLimit","config","174288JujmMu","goToPreviousPage","options","always","get","getFillerOffset","name","98dvadov","isOfficialPlugin","pagination:","plugins","getNearestSelectionRange","1123760rzDYse","featureNotAllowed","start","addMarker","markers","modelRange","model","data-pagination-page","invalid","expired","stop","getContainedElement","isEnabled","init","root","removeMarker","setStyle","createContainerElement","text","evaluationLimit","conversion","setAttribute","_setupKeystrokes","set","schema","trialLimit","_setUpDataDowncastConversion","addKeystrokeInfoGroup","Pagination","totalPages","change","paginationLicenseKeyExpired","paginationLicenseKeyNotAllowed","offset","toViewElement","editing","goToNextPage","listenTo","focus","bind","domainLimit","createPositionAt","_validatePageNumber","writer","paginationLicenseKeyTrialLimit","licenseKey","scrollToPage","consumable","addMarker:","updateMarker","pagination","has","destroy","123770SDmdTR","parent","Shift+Pageup","paginationLicenseKeyDomainLimit","PaginationEditing","manual","_updatePageBreakMarkers","span","Keystrokes for navigating through documents","mapper","hasClass","accessibility","pluginName","Go to the previous page (also move selection)","data","end","paginationLicenseKeyValid","substring","$text","view","page-break","6SdcwLo","460lDEcYQ","2306574aFtAzr","for","7410681XYIISW"];return($=function(){return t})()}!function(t){const e=Z,n=t();for(;;)try{if(560843===parseInt(e(439))/1*(parseInt(e(418))/2)+parseInt(e(441))/3+parseInt(e(440))/4*(parseInt(e(338))/5)+-parseInt(e(353))/6*(-parseInt(e(360))/7)+-parseInt(e(456))/8+-parseInt(e(443))/9+-parseInt(e(365))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Q(410)];[Q(449)];static get[Q(430)](){return Q(422)}static get[Q(361)](){return!0}static get[Q(458)](){return!0}static get[Q(450)](){return[a,q]}[Q(378)](){const t=Q;this[t(388)]({pageNumber:1,totalPages:1});const e=this[t(460)][t(363)][t(357)](t(393)),n=this[t(460)][t(363)][t(357)](a),i=this[t(460)][t(363)][t(357)](q);this[t(404)](t(377)).to(e),this[t(391)](),this[t(404)](t(350)).to(i),this[t(402)](n,t(349),((e,n,i,o)=>{const s=t;this[s(394)]=i[s(448)],this[s(424)](i,o)})),this[t(387)](),this[t(410)]=this[t(460)][t(352)][t(357)](t(410));const o=this[t(460)];this[t(449)]=setInterval((()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(434)==s||e(342)==s||e(396)==s||e(421)==s||e(397)==s||e(344)==s||e(409)==s||e(340)==s){delete o[i],n=s,clearInterval(this[e(449)]),this[e(449)]=void 0;break}}e(342)==n&&o[e(457)](e(373)),e(396)==n&&o[e(457)](e(374)),e(421)==n&&o[e(457)](e(405)),e(397)==n&&o[e(457)](e(366),e(393)),e(344)==n&&o[e(457)](e(384)),e(409)==n&&o[e(457)](e(390)),e(340)==n&&o[e(457)](e(351))}),1e3)}[Q(417)](){const t=Q;super[t(417)](),this[t(449)]&&clearInterval(this[t(449)])}[Q(411)](t){const e=Q;this[e(377)]&&this[e(460)][e(363)][e(357)](q)[e(411)](this[e(407)](t))}[Q(444)](t){const e=Q;if(!this[e(377)])return;const n=this[e(460)],i=this[e(460)][e(363)][e(357)](a)[e(343)][t-1];i&&n[e(371)][e(395)]((t=>{const o=e;switch(i[o(453)]){case o(423):{const e=n[o(371)][o(389)][o(364)](i[o(370)][o(433)],o(347));t[o(337)](e);break}case o(461):{const e=n[o(371)][o(389)][o(364)](i[o(370)][o(367)],o(347));t[o(337)](e);break}case o(383):{const e=i[o(370)][o(367)];if(e[o(446)]&&" "===e[o(446)][o(432)][e[o(398)]]){const n=t[o(406)](e[o(419)],e[o(398)]+1);t[o(337)](n)}else t[o(337)](i[o(370)])}}n[o(400)][o(437)][o(403)]()}))}[Q(401)](){const t=Q,e=this[t(407)](this[t(350)]+1);this[t(444)](e),this[t(411)](e)}[Q(354)](){const t=Q,e=this[t(407)](this[t(350)]-1);this[t(444)](e),this[t(411)](e)}[Q(424)](t,e){const n=Q,i=this[n(460)][n(371)];this[n(377)]&&i[n(395)]((o=>{const s=n;for(let e=1;e<t[s(448)];e++){const n=t[e][s(370)],r=s(362)+(e+1);i[s(369)][s(416)](r)?o[s(414)](r,{range:n}):o[s(368)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(448)];n<e[s(448)];n++){const t=s(362)+(n+1);i[s(369)][s(416)](t)&&o[s(380)](t)}}))}[Q(391)](){const t=Q,e=t(415);this[t(460)][t(385)][t(442)](t(341))[t(348)]((n=>{const i=t;n.on(i(413)+e,((t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(355)][s(415)])return;if(!o[s(412)][s(447)](e,t[s(359)]))return;const r=e[s(376)]();let a=r?o[s(427)][s(399)](r):null;if(!a){const t=e[s(367)];if(o[s(389)][s(463)](t,s(436))){const e=o[s(427)][s(345)](t);a=o[s(408)][s(382)](s(425)),a[s(358)]=()=>null,o[s(408)][s(459)](e,a)}else{const e=t[s(455)];a=o[s(427)][s(399)](e)}}for(;a[s(419)]!==a[s(379)]&&0===a[s(451)];)a=a[s(419)];const c=n[s(435)](11);a[s(428)](s(438))||(o[s(408)][s(381)](s(454),s(356),a),o[s(408)][s(386)](s(372),c,a),o[s(427)][s(462)](a,n)),t[s(375)]()}))}))}[Q(387)](){const t=Q,e=this[t(460)];e[t(445)][t(388)](t(420),((e,n)=>{this[t(354)](),n()})),e[t(445)][t(388)](t(346),((e,n)=>{this[t(401)](),n()})),e[t(429)][t(392)]({id:t(415),label:W(e[t(339)],t(426)),keystrokes:[{label:W(e[t(339)],t(431)),keystroke:t(420),mayRequireFn:!0},{label:W(e[t(339)],t(452)),keystroke:t(346),mayRequireFn:!0}]})}[Q(407)](t){const e=Q;return t<1&&(t=1),t>this[e(394)]&&(t=this[e(394)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=C(),it.insert=S().bind(null,"head"),it.domAPI=E(),it.insertStyleElement=R();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=103]})(t,e)}function rt(){const t=["div","isNaN","set","11ZgQFzG","pageNumber","10eMylti","blur","keydown","24NUEuYv","2518919xlrFpI","select","100225sjhBEJ","span","render","ArrowDown","fire","change:pageNumber","totalPages","focus","ck-disabled","firstChild","max","navigation","1956654lVEDAB","isEnabled","62379QpWTCF","keyCode","1720dtKmrk","enter","listenTo","3599679fIgqKm","bind","numeric","checkValidity","1381730XmhDDz","setTemplate","stopPropagation","isReadOnly","Current page number (from 1 to %0)","ck-page-navigator","preventDefault","1628740MEZdUz","pageNumberView","element","valueAsNumber","ArrowUp","228AcVtKm","bindTemplate","key","ariaLabel","value","4QXnyKB"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(813696===-parseInt(e(130))/1*(-parseInt(e(124))/2)+parseInt(e(149))/3*(-parseInt(e(118))/4)+parseInt(e(153))/5+parseInt(e(127))/6*(-parseInt(e(142))/7)+parseInt(e(146))/8*(-parseInt(e(144))/9)+parseInt(e(108))/10*(parseInt(e(122))/11)+-parseInt(e(113))/12*(-parseInt(e(128))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(109)];constructor(t){const n=ot;super(t);const i=this[n(114)];this[n(121)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(109)]=new e.InputNumberView(t,{min:1,step:1}),this[n(109)][n(121)]({inputMode:n(151),tabIndex:-1}),this[n(109)][n(150)](n(116)).to(this,n(136),(e=>W(t,n(105),e))),this[n(109)][n(150)](n(140)).to(this,n(136)),this[n(109)][n(150)](n(104)).to(this,n(143),(t=>!t)),this[n(154)]({tag:n(119),attributes:{class:["ck",n(106),i.if(n(143),n(138),(t=>!t))]},children:[this[n(109)],{tag:n(131),children:[{text:i.to(n(136))}]}]})}[ot(132)](){const t=ot;super[t(132)]();const e=this[t(109)][t(110)],n=e=>{const n=t;this[n(109)][n(110)][n(117)]=String(e)};n(this[t(123)]),this.on(t(135),((t,e,i)=>{n(i)})),this[t(148)](e,t(126),((n,i)=>{const s=t;if(s(112)===i[s(115)]||s(133)===i[s(115)])return void i[s(103)]();if(i[s(145)]!==o.keyCodes[s(147)])return;i[s(107)]();const r=e[s(111)];Number[s(120)](r)?e[s(117)]=String(this[s(123)]):(e[s(152)]()?this[s(123)]=r:r>this[s(136)]?(this[s(123)]=this[s(136)],e[s(117)]=String(this[s(136)])):(this[s(123)]=1,e[s(117)]="1"),this[s(134)](s(141),this[s(123)]))})),this[t(148)](e,t(125),(()=>{const n=t;e[n(117)]=String(this[n(123)])})),this[t(148)](e,t(137),(()=>{const e=t;this[e(109)][e(129)]()}))}[ot(137)](){const t=ot;this[t(110)][t(139)][t(137)]()}}const ct=lt;function ut(){const t=["isPremiumPlugin","navigation","3402008gEpvch","init","Go to previous page","Shift+PageUp","icon","12zhAiSb","157707vnsSIu","add","2560ApCnRy","bind","2815218jTiObd","componentFactory","editor","425848ncBQhs","PaginationUI","2283556ucRqiL","plugins","goToNextPage","scrollToPage","tooltip","isEnabled","isOfficialPlugin","pageNumber","totalPages","pageNavigation","3260WKhYpu","keystroke","7dqEEyo","Go to next page","2878749BeHkOq","goToPreviousPage","nextPage","60CUSLJB","previousPage","get","locale","label","listenTo","execute","pluginName","PaginationEditing","moveSelectionToPage","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=226]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(354049===-parseInt(e(231))/1+parseInt(e(268))/2*(parseInt(e(269))/3)+parseInt(e(243))/4*(-parseInt(e(226))/5)+-parseInt(e(228))/6+-parseInt(e(245))/7*(-parseInt(e(263))/8)+-parseInt(e(247))/9+-parseInt(e(250))/10*(-parseInt(e(233))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(257)](){return ct(232)}static get[ct(239)](){return!0}static get[ct(261)](){return!0}[ct(264)](){const t=ct,n=this[t(230)],i=n[t(234)][t(252)](t(258));n.ui[t(229)][t(270)](t(242),(e=>{const n=t,o=new at(e);return o[n(227)](n(240)).to(i),o[n(227)](n(241)).to(i),o[n(227)](n(238)).to(i),o.on(n(262),((t,e)=>{const o=n;i[o(259)](e),i[o(236)](e)})),o})),n.ui[t(229)][t(270)](t(249),(o=>{const s=t,r=new e.ButtonView(o);return r[s(238)]=!0,r[s(254)]=W(n[s(253)],s(246)),r[s(267)]=et.IconArrowDown,r[s(237)]=!0,r[s(244)]=s(260),r[s(227)](s(238)).to(i),this[s(255)](r,s(256),(()=>{i[s(235)]()})),r})),n.ui[t(229)][t(270)](t(251),(o=>{const s=t,r=new e.ButtonView(o);return r[s(238)]=!0,r[s(254)]=W(n[s(253)],s(265)),r[s(267)]=et.IconArrowUp,r[s(237)]=!0,r[s(244)]=s(266),r[s(227)](s(238)).to(i),this[s(255)](r,s(256),(()=>{i[s(248)]()})),r}))}}function ft(){const t=["requires","6642924sFduHC","isBlink","132btiUEn","18iXKqRL","pluginName","pagination.enableOnUnsupportedBrowsers","isPremiumPlugin","set","init","15AsiHNe","1202ufPUni","plugins","get","totalPages","7779DaZOsP","editor","bind","config","2077031COvwFE","isOfficialPlugin","ready","2757454LtksZv","scrollToPage","pageNumber","7642310zkvWzF","forceDisabled","browserCheck","Pagination","1338645ImmMfW","24HWLnrY","1442046wLhKIb","isEnabled"];return(ft=function(){return t})()}function ht(t,e){const n=ft();return(ht=function(t,e){return n[t-=492]})(t,e)}const dt=ht;!function(t){const e=ht,n=t();for(;;)try{if(871167===-parseInt(e(511))/1+-parseInt(e(493))/2*(-parseInt(e(497))/3)+parseInt(e(516))/4+-parseInt(e(492))/5*(-parseInt(e(513))/6)+parseInt(e(504))/7*(-parseInt(e(512))/8)+parseInt(e(519))/9*(parseInt(e(507))/10)+parseInt(e(501))/11*(-parseInt(e(518))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[dt(520)](){return dt(510)}static get[dt(502)](){return!0}static get[dt(522)](){return!0}static get[dt(515)](){return[tt,pt]}constructor(t){const e=dt;super(t),this[e(514)]=!1}[dt(524)](){const t=dt;this[t(523)]({pageNumber:1,totalPages:1});const e=this[t(498)][t(494)][t(495)](tt);this[t(499)](t(506)).to(e),this[t(499)](t(496)).to(e),o.env[t(517)]||this[t(498)][t(500)][t(495)](t(521))?this[t(498)].on(t(503),(()=>{this[t(514)]=!0})):this[t(508)](t(509))}[dt(505)](t){const e=dt;this[e(498)][e(494)][e(495)](tt)[e(505)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=478]})(t,e)}function bt(){var t=["296522qaIQSq","1728HgGxHw","1484886KBZzAO","3563hXCjIC","1073532imtWtz","14082714kgcqJV","2867552AhYKmh","3Jiobje","3730395qnjVVo"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(869046===parseInt(e(483))/1+parseInt(e(478))/2+parseInt(e(481))/3*(parseInt(e(480))/4)+parseInt(e(482))/5+parseInt(e(485))/6+parseInt(e(486))/7*(-parseInt(e(484))/8)+-parseInt(e(479))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a8299}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4500d5,InputNumberView as _0x3ae157,ButtonView as _0xfffdaa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1fbfef,Rect as _0x498174,global as _0x527214,uid as _0x5495aa,toUnit as _0x27201a,first as _0x39928a,env as _0x55f532,ResizeObserver as _0x2f80a0,keyCodes as _0x1a8cac}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0xe7cb73}from'es-toolkit/compat';import{IconArrowDown as _0x37e91f,IconArrowUp as _0x1931da}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5a8299{['_recalculatePageBreaksDebounced']=_0xe7cb73(()=>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 _0x1fbfef('pagination-config-not-found',this['editor']['config']);const _0x1613d3=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1613d3),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x39ccff,_0x2b5275,_0x1bb626)=>{_0x1bb626&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x4043ca){const _0x4bbdac=_0x4df049([0x5a,0x67,0x77,0x52,0x49,0x38,0x30,0x36,0x58,0x75,0x56,0x61,0x34,0x33,0x37,0x55,0x59,0x7a,0x4e,0x69,0x62,0x44,0x65,0x79,0x4c,0x71,0x66,0x32,0x43,0x6f,0x45,0x54,0x46,0x6a,0x41,0x47,0x51,0x57,0x42,0x53,0x6e,0x39,0x78,0x4a,0x4f,0x48,0x73,0x31,0x4d,0x4b,0x72,0x74,0x68,0x63,0x70,0x64,0x6b,0x76,0x35,0x6c,0x50,0x6d]),_0x143d16=0x3adba993,_0x46844f=0x3adcc023^_0x143d16,_0x2f7607=window[_0x4df049([0x44,0x61,0x74,0x65])][_0x4df049([0x6e,0x6f,0x77])](),_0x57b321=_0x4043ca[_0x4df049([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x304cdb=new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b197a=>{_0x57b321[_0x4df049([0x6f,0x6e,0x63,0x65])](_0x4df049([0x72,0x65,0x61,0x64,0x79]),_0x5b197a);}),_0x2136ab={[_0x4df049([0x6b,0x74,0x79])]:_0x4df049([0x45,0x43]),[_0x4df049([0x75,0x73,0x65])]:_0x4df049([0x73,0x69,0x67]),[_0x4df049([0x63,0x72,0x76])]:_0x4df049([0x50,0x2d,0x32,0x35,0x36]),[_0x4df049([0x78])]:_0x4df049([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]),[_0x4df049([0x79])]:_0x4df049([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]),[_0x4df049([0x61,0x6c,0x67])]:_0x4df049([0x45,0x53,0x32,0x35,0x36])},_0x3c18e3=_0x57b321[_0x4df049([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4df049([0x67,0x65,0x74])](_0x4df049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc64879(){let _0x387750,_0x567c4f=null,_0x223d28=null;try{if(_0x3c18e3==_0x4df049([0x47,0x50,0x4c]))return _0x4df049([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x387750=_0x457831(),!_0x387750)return _0x4df049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x387750[_0x4df049([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x223d28=_0x54d271(_0x387750[_0x4df049([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x387750[_0x4df049([0x6a,0x74,0x69])])),await _0x3aa9c4()?_0x3356b1()?_0x11335b()?_0x4df049([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2405de()?(_0x387750[_0x4df049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df049([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567c4f=_0xc156ae(_0x4df049([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x387750[_0x4df049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df049([0x74,0x72,0x69,0x61,0x6c])&&(_0x567c4f=_0xc156ae(_0x4df049([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x592676()):_0x4df049([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4df049([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4df049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4df049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11335b(){const _0x193018=[_0x4df049([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4df049([0x74,0x72,0x69,0x61,0x6c])][_0x4df049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387750[_0x4df049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f7607/0x3e8:0xe10*_0x46844f;return _0x387750[_0x4df049([0x65,0x78,0x70])]<_0x193018;}function _0x3356b1(){const _0x52245b=_0x387750[_0x4df049([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52245b&&(!!_0x52245b[_0x4df049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df049([0x2a]))||!!_0x52245b[_0x4df049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df049([0x50,0x41,0x47])));}function _0x2405de(){const _0x6ab351=_0x387750[_0x4df049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ab351||0x0==_0x6ab351[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x107429}=new URL(window[_0x4df049([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6ab351[_0x4df049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x107429))return!0x0;const _0x12e155=_0x107429[_0x4df049([0x73,0x70,0x6c,0x69,0x74])](_0x4df049([0x2e]));return _0x6ab351[_0x4df049([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xebfe34=>_0xebfe34[_0x4df049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df049([0x2a])))[_0x4df049([0x6d,0x61,0x70])](_0x59e781=>_0x59e781[_0x4df049([0x73,0x70,0x6c,0x69,0x74])](_0x4df049([0x2e])))[_0x4df049([0x73,0x6f,0x6d,0x65])](_0x4960fd=>_0x12e155[_0x4df049([0x65,0x76,0x65,0x72,0x79])]((_0x379c94,_0x13ca36)=>_0x4960fd[_0x13ca36]===_0x379c94||_0x4960fd[_0x13ca36]===_0x4df049([0x2a])));}function _0x592676(){return _0x567c4f&&_0x223d28?new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17198f,_0x5c4664)=>{_0x567c4f[_0x4df049([0x74,0x68,0x65,0x6e])](_0x17198f,_0x5c4664),_0x223d28[_0x4df049([0x74,0x68,0x65,0x6e])](_0x489e18=>{_0x489e18!=_0x4df049([0x56,0x61,0x6c,0x69,0x64])&&_0x17198f(_0x489e18);},_0x5c4664);}):_0x567c4f||_0x223d28||_0x4df049([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54d271(_0x13d5fa,_0x5a3d2b){return new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b3f9=>{if(_0x5c39e1())return _0x49b3f9(_0x4df049([0x56,0x61,0x6c,0x69,0x64]));_0x5373bb(),_0x57b321[_0x4df049([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4df049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11ae99=!0x1;const _0x3e578b=_0x5495aa();function _0x47f60c(_0x8a1aa8){return!!_0x8a1aa8&&(typeof _0x8a1aa8===_0x4df049([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8a1aa8===_0x4df049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8a1aa8[_0x4df049([0x74,0x68,0x65,0x6e])]===_0x4df049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8a1aa8[_0x4df049([0x63,0x61,0x74,0x63,0x68])]===_0x4df049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x357111(_0x427e1d){_0x3d9181(_0x427e1d)[_0x4df049([0x74,0x68,0x65,0x6e])](_0x269e77=>{if(!_0x269e77||_0x269e77[_0x4df049([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4df049([0x6f,0x6b]))return _0x4df049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c96c4(_0x4815ba(_0x3e578b+_0x5a3d2b))!=_0x269e77[_0x4df049([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4df049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4df049([0x56,0x61,0x6c,0x69,0x64]);})[_0x4df049([0x74,0x68,0x65,0x6e])](_0x5c6e1e=>(_0x1e8451(),_0x5c6e1e),()=>{const _0x2e2227=_0x3d1fda();return null==_0x2e2227?(_0x1e8451(),_0x4df049([0x56,0x61,0x6c,0x69,0x64])):_0x4df049(_0x2f7607-_0x2e2227>(0x1ed72d93^_0x143d16)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4df049([0x74,0x68,0x65,0x6e])](_0x49b3f9)[_0x4df049([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49b3f9(_0x4df049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x396eb2=0x3aed4713^_0x143d16;function _0x1e8451(){const _0x3e5543=_0x4df049([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c96c4(_0x4815ba(_0x13d5fa)),_0x539f01=_0x421595(_0x5c96c4(window[_0x4df049([0x4d,0x61,0x74,0x68])][_0x4df049([0x63,0x65,0x69,0x6c])](_0x2f7607/_0x396eb2)));window[_0x4df049([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df049([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5543,_0x539f01);}function _0x3d1fda(){const _0x359b2d=_0x4df049([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c96c4(_0x4815ba(_0x13d5fa)),_0xf4d5bd=window[_0x4df049([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df049([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x359b2d);return _0xf4d5bd?window[_0x4df049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421595(_0xf4d5bd),0x10)*_0x396eb2:null;}function _0x3d9181(_0x434893){return new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26f117,_0x4be95e)=>{_0x434893[_0x4df049([0x74,0x68,0x65,0x6e])](_0x26f117,_0x4be95e),window[_0x4df049([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4be95e,0x3ada7d53^_0x143d16);});}}_0x57b321[_0x4df049([0x6f,0x6e])](_0x4df049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21151f,_0xaaf193)=>{if(_0xaaf193[0x0]!=_0x13d5fa)return _0x49b3f9(_0x4df049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xaaf193[0x1]={..._0xaaf193[0x1],[_0x4df049([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e578b};},{[_0x4df049([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df049([0x68,0x69,0x67,0x68])}),_0x57b321[_0x4df049([0x6f,0x6e])](_0x4df049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a7b7d=>{_0x47f60c(_0x2a7b7d[_0x4df049([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11ae99=!0x0,_0x357111(_0x2a7b7d[_0x4df049([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4df049([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df049([0x6c,0x6f,0x77])}),_0x304cdb[_0x4df049([0x74,0x68,0x65,0x6e])](()=>{_0x11ae99||_0x49b3f9(_0x4df049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c39e1(){return _0x57b321[_0x4df049([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df049([0x76,0x69,0x65,0x77])][_0x4df049([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4df049([0x61,0x75,0x74,0x6f]);}function _0x5373bb(){_0x57b321[_0x4df049([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df049([0x76,0x69,0x65,0x77])][_0x4df049([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4df049([0x61,0x75,0x74,0x6f]);}}function _0xc156ae(_0x2ec89c){const _0x5e0ef2=[new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dde75=>setTimeout(_0x3dde75,0x3ad2975f^_0x143d16)),_0x304cdb[_0x4df049([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174c5d=>{let _0x148b59=0x0;_0x57b321[_0x4df049([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df049([0x6f,0x6e])](_0x4df049([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a394,_0x37e75c)=>{_0x37e75c[0x0][_0x4df049([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x148b59++,_0x148b59==(0x3adba86b^_0x143d16)&&(_0x174c5d(),_0x5a394[_0x4df049([0x6f,0x66,0x66])]());});}))];return window[_0x4df049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4df049([0x72,0x61,0x63,0x65])](_0x5e0ef2)[_0x4df049([0x74,0x68,0x65,0x6e])](()=>_0x2ec89c);}async function _0x19951e(){await _0x304cdb,_0x57b321[_0x4df049([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df049([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e5ee7,_0x57b321[_0x4df049([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df049([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e5ee7,_0x57b321[_0x4df049([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4df049([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21d89b(_0x940804){const _0x2419ac=_0x494835();_0x57b321[_0x2419ac]=_0x4df049([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x940804,_0x940804!=_0x4df049([0x56,0x61,0x6c,0x69,0x64])&&_0x19951e();}function _0x494835(){const _0x5f8820=window[_0x4df049([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4df049([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4df049([0x6e,0x6f,0x77])]())[_0x4df049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4df049([0x2e]),'');let _0x1e1b21=_0x4df049([0x5a]);for(let _0x20c4db=0x0;_0x20c4db<_0x5f8820[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20c4db+=0x2){let _0x245f33=window[_0x4df049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f8820[_0x4df049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20c4db,_0x20c4db+0x2));_0x245f33>=_0x4bbdac[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x245f33-=_0x4bbdac[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e1b21+=_0x4bbdac[_0x245f33];}return _0x1e1b21;}function _0x457831(){const _0x3461bf=_0x3c18e3[_0x4df049([0x73,0x70,0x6c,0x69,0x74])](_0x4df049([0x2e]));if(0x3!=_0x3461bf[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f34c0(_0x3461bf[0x1]);function _0x1f34c0(_0x1f2b18){const _0x125ed0=_0x11715a(_0x1f2b18);return _0x125ed0&&_0x46fa36()?_0x125ed0:null;function _0x46fa36(){const _0x23ab63=_0x125ed0[_0x4df049([0x6a,0x74,0x69])],_0x1a790d=window[_0x4df049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23ab63[_0x4df049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23ab63[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56d835={..._0x125ed0,[_0x4df049([0x6a,0x74,0x69])]:_0x23ab63[_0x4df049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23ab63[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56d835[_0x4df049([0x76,0x63])],_0x4815ba(_0x56d835)==_0x1a790d;}}}async function _0x3aa9c4(){let _0x28a852=!0x0;try{const _0x307782=_0x3c18e3[_0x4df049([0x73,0x70,0x6c,0x69,0x74])](_0x4df049([0x2e])),[_0x451a18,_0x1689ff,_0x4ed953]=_0x307782;return _0x46c9c4(_0x451a18),await _0x39a584(_0x451a18,_0x1689ff,_0x4ed953),_0x28a852;}catch{return!0x1;}function _0x46c9c4(_0x91eb00){const _0x2867aa=_0x11715a(_0x91eb00);_0x2867aa&&_0x2867aa[_0x4df049([0x61,0x6c,0x67])]==_0x4df049([0x45,0x53,0x32,0x35,0x36])||(_0x28a852=!0x1);}async function _0x39a584(_0x548d89,_0x331a5a,_0x301dea){const _0x1f4668=window[_0x4df049([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4df049([0x66,0x72,0x6f,0x6d])](_0x1d6f2d(_0x301dea),_0x4528ca=>_0x4528ca[_0x4df049([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c0c8c=new window[(_0x4df049([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4df049([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x548d89+_0x4df049([0x2e])+_0x331a5a),_0x2ee556=window[_0x4df049([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4df049([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ee556)return;const _0x33348b=await _0x2ee556[_0x4df049([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4df049([0x6a,0x77,0x6b]),_0x2136ab,{[_0x4df049([0x6e,0x61,0x6d,0x65])]:_0x4df049([0x45,0x43,0x44,0x53,0x41]),[_0x4df049([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4df049([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4df049([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ee556[_0x4df049([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4df049([0x6e,0x61,0x6d,0x65])]:_0x4df049([0x45,0x43,0x44,0x53,0x41]),[_0x4df049([0x68,0x61,0x73,0x68])]:{[_0x4df049([0x6e,0x61,0x6d,0x65])]:_0x4df049([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33348b,_0x1f4668,_0x4c0c8c)||(_0x28a852=!0x1);}}function _0x11715a(_0x42e31e){return _0x42e31e[_0x4df049([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4df049([0x65,0x79]))?JSON[_0x4df049([0x70,0x61,0x72,0x73,0x65])](_0x1d6f2d(_0x42e31e)):null;}function _0x1d6f2d(_0x324d3f){return window[_0x4df049([0x61,0x74,0x6f,0x62])](_0x324d3f[_0x4df049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4df049([0x2b]))[_0x4df049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4df049([0x2f])));}function _0x4815ba(_0x1c1af5){let _0x1c63f3=0x1505;function _0x301145(_0x35556e){for(let _0x35b84a=0x0;_0x35b84a<_0x35556e[_0x4df049([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35b84a++){const _0x315dd1=_0x35556e[_0x4df049([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35b84a);_0x1c63f3=(_0x1c63f3<<0x5)+_0x1c63f3+_0x315dd1,_0x1c63f3&=_0x1c63f3;}}function _0xe85274(_0x2d2a76){Array[_0x4df049([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d2a76)?_0x2d2a76[_0x4df049([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe85274):_0x2d2a76&&typeof _0x2d2a76==_0x4df049([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4df049([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d2a76)[_0x4df049([0x73,0x6f,0x72,0x74])]()[_0x4df049([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x82636a,_0x2f1cb4])=>{_0x301145(_0x82636a),_0xe85274(_0x2f1cb4);}):_0x301145(window[_0x4df049([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d2a76));}return _0xe85274(_0x1c1af5),_0x1c63f3>>>0x0;}function _0x5c96c4(_0x4b744b){return _0x4b744b[_0x4df049([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4df049([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4df049([0x30]));}function _0x421595(_0x332426){return _0x332426[_0x4df049([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4df049([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4df049([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e5ee7(){}function _0x4df049(_0x266c15){return _0x266c15['map'](_0x4443e2=>String['fromCharCode'](_0x4443e2))['join']('');}_0x21d89b(await _0xc64879());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5901d4=this['editor'],_0xf81caa=_0x5901d4['editing']['view'],_0x5436cb=this['_getAttachedDomRoot']();if(!_0x5436cb||0x0===_0x5436cb['childElementCount'])return void _0x5901d4['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x42df1c,pageHeight:_0x5f062b}=_0x5901d4['config']['get']('pagination'),{top:_0x28ce2b,left:_0x3a79b0,bottom:_0x2b954f,right:_0x3d5238}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4500d5(_0x5901d4['locale']);const _0x3b189d=this['_pagesContainer'];_0x3b189d['set']('class',''),_0x3b189d['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x42df1c,'width':_0x42df1c,'height':'calc(\x20'+_0x5f062b+'\x20-\x20'+_0x28ce2b+'\x20-\x20'+_0x2b954f+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x3d5238+'\x200\x20'+_0x3a79b0,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x3b189d['bindTemplate']['to']('class')}}),_0x3b189d['render'](),_0x5436cb['parentNode']['insertBefore'](_0x3b189d['element'],_0x5436cb['nextSibling']),this['listenTo'](_0xf81caa,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x4df815 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4df815['ownerDocument']['body']['contains'](_0x4df815))return _0x4df815;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x145312=this['editor']['editing']['view'],_0x18ce05=this['_pagesContainer'],_0x19a62d=this['_getAttachedDomRoot']();if(!_0x19a62d)return Promise['resolve']();for(_0x18ce05['class']=['ck-reset','ck-pagination-view',..._0x19a62d['classList']]['join']('\x20');_0x18ce05['element']['firstChild'];)_0x18ce05['element']['firstChild']['remove']();const _0x4dbcf4=Array['from'](_0x145312['domRoots']);_0x4dbcf4['sort'](([,_0xda3d4e],[,_0x476370])=>_0xda3d4e['compareDocumentPosition'](_0x476370)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x49368d,_0x2b5906]of _0x4dbcf4){const _0x4e0e70=_0x2b5906['cloneNode'](!0x0);'attributeStyleMap'in _0x4e0e70&&_0x4e0e70['attributeStyleMap']['clear'](),_0x4e0e70['className']='',_0x4e0e70['removeAttribute']('id'),_0x4e0e70['dataset']['rootName']=_0x49368d,_0x18ce05['element']['append'](_0x4e0e70);}return function(_0x55be4e){return Promise['all'](_0x55be4e['map'](_0x3dc9c4=>Promise['race']([p(_0x3dc9c4),y(0x3e8)])));}(Array['from'](_0x18ce05['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x4bc5b6=this['_pagesContainer']['element'];if(!_0x4bc5b6['ownerDocument']['body']['contains'](_0x4bc5b6))return;const _0x3421d2=new _0x498174(_0x4bc5b6)['excludeScrollbarsAndBorders'](),_0x58161a=_0x527214['window']['getComputedStyle'](_0x4bc5b6),_0xe77afa=parseFloat(_0x58161a['paddingLeft'])+parseFloat(_0x58161a['paddingRight']),_0xc0215a=Math['floor'](_0x3421d2['width']+0x64-_0xe77afa),_0x480f93=x(_0x4bc5b6,Math['floor'](_0x3421d2['left']-_0x4bc5b6['scrollLeft']),_0xc0215a,_0x3421d2['height'])['map'](_0x2b3278=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2b3278));_0x480f93['every'](_0x207aeb=>!!_0x207aeb)&&(this['pageBreaks']=_0x480f93);}['_mapPageStarterInfoToPageBreakInfo'](_0x2ff551){const _0x5731cb=this['editor']['editing']['view'],_0x19be94=this['editor']['editing']['mapper'],_0x616361=_0x5731cb['domConverter'],_0x5e8dbc=_0x2ff551['path']['shift'](),_0x38dec5=this['_pagesContainer']['element']['childNodes'][_0x5e8dbc]['dataset']['rootName'],_0xb1f7e8=_0x5731cb['getDomRoot'](_0x38dec5);if(!_0xb1f7e8)return null;const _0x2f2ce5=function(_0x2d9fa9,_0x2baeec){let _0x32202b=_0x2d9fa9;for(const _0x23b3d6 of _0x2baeec['path']){if(!_0x32202b)return null;_0x32202b=_0x32202b['childNodes'][_0x23b3d6];}return _0x32202b;}(_0xb1f7e8,_0x2ff551);if(!_0x2f2ce5)return null;const _0x14dfba=_0x616361['domPositionToView'](_0x2f2ce5,_0x2ff551['textOffset']||0x0);return _0x14dfba?'manual'==_0x2ff551['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x14dfba,_0x2f2ce5):'text'==_0x2ff551['type']&&_0x19be94['toModelPosition'](_0x14dfba)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x14dfba,_0x2f2ce5,_0x2ff551['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x14dfba,_0x2f2ce5,_0x2ff551['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2928d8,_0x474976){const _0x38e7ca=this['editor']['model'],_0x50e901=this['editor']['editing']['mapper']['toModelElement'](_0x2928d8['parent']),_0x5f043b=_0x38e7ca['createRangeOn'](_0x50e901);return new K({'type':'manual','modelRange':_0x5f043b,'domNode':_0x474976,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3713a0,_0x1ca06d,_0x1d5bab){const _0x3fb487=this['editor']['model'],_0xfb0e07=this['editor']['editing']['mapper'],_0x4b9222=this['editor']['editing']['view']['domConverter'];if(_0x1d5bab>=_0x1ca06d['length'])return null;const _0x2e3037=_0xfb0e07['toModelPosition'](_0x3713a0),_0x4347f5=_0x3fb487['createRange'](_0x2e3037),_0x142485=_0xfb0e07['findMappedViewAncestor'](_0x3713a0),_0xef99f=_0x4b9222['mapViewToDom'](_0x142485);return new K({'type':'text','modelRange':_0x4347f5,'domNode':_0x1ca06d,'offset':m(_0x1ca06d,_0x1d5bab,_0xef99f)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1b7f0e,_0x2b7118,_0x233741){const _0x268734=this['editor']['model'],_0x4806fc=this['editor']['editing'],_0x1cfd11=_0x4806fc['mapper'],_0xa4c6f7=_0x4806fc['view']['domConverter'],_0x20bfde=_0x1cfd11['findMappedViewAncestor'](_0x1b7f0e),_0x5cec82=_0x1cfd11['toModelElement'](_0x20bfde),_0x385029=function(_0x690bbb){const _0x1db58d=_0x690bbb['parent'],_0x42a5be=_0x1db58d['root']['document']['model'],_0x44b467=_0x1db58d['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3ece59=null;for(const _0x1d9eb6 of _0x44b467){if(_0x1d9eb6['is']('rootElement'))return _0x3ece59;if(!_0x42a5be['createPositionBefore'](_0x1d9eb6)['isTouching'](_0x690bbb))return _0x3ece59;_0x3ece59=_0x1d9eb6;}}(_0x268734['createPositionBefore'](_0x5cec82)),_0x565cd3=_0x385029||_0x5cec82;let _0x361974=_0x1cfd11['toViewElement'](_0x565cd3),_0x1eb515=_0x268734['createRangeOn'](_0x565cd3);const _0x30a609=_0x268734['createPositionBefore'](_0x565cd3)['nodeBefore'];if(_0x30a609&&_0x30a609['is']('element','imageBlock')){const _0x469621=_0x1cfd11['toViewElement'](_0x30a609),_0x5a3a8b=_0xa4c6f7['mapViewToDom'](_0x469621),_0x4085b6=_0x527214['window']['getComputedStyle'](_0x5a3a8b)['float'];'left'!=_0x4085b6&&'right'!=_0x4085b6||(_0x1eb515=_0x268734['createRangeOn'](_0x30a609));}for(;_0x361974['parent']!==_0x361974['root']&&0x0===_0x361974['index'];)_0x361974=_0x361974['parent'];const _0x311c11=new _0x498174(S(_0x2b7118)?_0x2b7118:P(_0x2b7118)),_0x1d3295=_0x233741?_0x311c11['height']-_0x233741:0x0,_0x4d30d6=_0xa4c6f7['mapViewToDom'](_0x361974),_0x2f87c4=new _0x498174(_0x4d30d6);return new K({'type':'element','modelRange':_0x1eb515,'domNode':_0x4d30d6,'offset':Math['round'](_0x1d3295)?_0x1d3295+_0x311c11['top']-_0x2f87c4['top']:0x0});}get['_configuredPaddings'](){const _0x2e3ace=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2e3ace);}static['_findPageStarterInfos'](_0x37b919,_0x1d32c6,_0x134706,_0x1f5793,_0xc00bd){return x(_0x37b919,_0x1d32c6,_0x134706,_0x1f5793,_0xc00bd);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0xcb3df2,modelRange:_0x44f927,domNode:_0x3247f4,offset:_0x31bb92}){this['type']=_0xcb3df2,this['modelRange']=_0x44f927,this['_domNode']=_0x3247f4,this['_offset']=_0x31bb92;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4d582e=new _0x498174(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x4d582e['top']+_0x4d582e['height']/0x2:_0x4d582e['top']+this['_offset'];}}function m(_0x27b47e,_0xfec87c,_0x3199f5){const _0x52549b=P(_0x27b47e),_0x5bca26=function(_0x41850e){const _0x38fe4d=_0x527214['document']['createRange']();return _0x38fe4d['selectNodeContents'](_0x41850e),_0x38fe4d;}(_0x3199f5);let _0x357edb;_0x357edb=0x0==_0xfec87c?b(_0x5bca26['startContainer'],_0x5bca26['startOffset'],_0x27b47e['parentNode'],Array['from'](_0x27b47e['parentNode']['childNodes'])['indexOf'](_0x27b47e)):b(_0x5bca26['startContainer'],_0x5bca26['startOffset'],_0x27b47e,_0xfec87c);const _0x595646=b(_0x27b47e,_0xfec87c,_0x5bca26['endContainer'],_0x5bca26['endOffset']),_0x3ff961=new _0x498174(_0x357edb)['bottom'];return(new _0x498174(_0x595646)['top']+_0x3ff961)/0x2-new _0x498174(_0x52549b)['top'];}function p(_0x58cfb5){return _0x58cfb5['hasAttribute']('width')&&_0x58cfb5['hasAttribute']('height')?Promise['resolve']():new Promise(_0xa00a76=>{function _0x4b5f7e(){_0x58cfb5['removeEventListener']('load',_0x4b5f7e),_0x58cfb5['removeEventListener']('error',_0x4b5f7e),_0xa00a76();}_0x58cfb5['complete']?_0xa00a76():(_0x58cfb5['addEventListener']('load',_0x4b5f7e),_0x58cfb5['addEventListener']('error',_0x4b5f7e));});}function y(_0x26db10){return new Promise(_0x4c1752=>setTimeout(_0x4c1752,_0x26db10));}function P(_0x15b4d2){const _0x265f11=_0x527214['document']['createRange']();return _0x265f11['selectNode'](_0x15b4d2),_0x265f11;}function k(_0x570d38,_0x3f32dd,_0x1f80b0){const _0x55423d=_0x527214['document']['createRange']();return _0x55423d['setStart'](_0x570d38,_0x3f32dd),_0x55423d['setEnd'](_0x570d38,_0x1f80b0),_0x55423d;}function b(_0x409d1e,_0x48d7fb,_0x489f04,_0x2abec9){const _0x52bfac=_0x527214['document']['createRange']();return _0x52bfac['setStart'](_0x409d1e,_0x48d7fb),_0x52bfac['setEnd'](_0x489f04,_0x2abec9),_0x52bfac;}function x(_0x55348b,_0x587b2b,_0x313c39,_0x2d8812,_0x23379f){const _0x40b2ff=[];for(const [_0x2ec0f6,_0x37b72a]of _0x55348b['childNodes']['entries']()){let _0x3b626b=[];S(_0x37b72a)&&_0x37b72a['offsetParent']&&!_0x37b72a['style']['position']?_0x3b626b=_(_0x37b72a,_0x2ec0f6,_0x587b2b,_0x313c39,_0x2d8812,_0x23379f):R(_0x37b72a)&&(_0x3b626b=B(_0x37b72a,_0x2ec0f6,_0x587b2b,_0x313c39,_0x23379f)),_0x3b626b['length']&&(_0x40b2ff['push'](..._0x3b626b),_0x587b2b+=_0x3b626b['length']*_0x313c39,_0x23379f=!0x1);}return _0x40b2ff;}function _(_0x1519ad,_0xa0aeb,_0x4d2232,_0x404ecc,_0x237ff1,_0xaf1ecb){const _0x3e6689=[];var _0x1d6b7;if((_0x1d6b7=_0x1519ad['previousSibling'])&&S(_0x1d6b7)&&Boolean(_0x1d6b7['classList']['contains']('page-break')||_0x1d6b7['closest']('.page-break'))&&(_0x3e6689['push']({'type':'manual','offset':0x0,'path':[_0xa0aeb-0x1]}),_0xaf1ecb=!0x0),'table-row'==_0x527214['window']['getComputedStyle'](_0x1519ad)['display']){let _0x5f4c9e=0x0,_0x5beaf1=!0x1;for(const _0x379232 of _0x1519ad['getClientRects']())_0x5f4c9e+=_0x379232['height'],_0x379232['left']>=_0x4d2232&&(_0x5beaf1=!0x0);if(_0x5f4c9e<_0x237ff1&&_0x5beaf1)return _0x3e6689['push']({'type':'element','offset':0x0,'path':[_0xa0aeb]}),_0x3e6689;}const _0x4b88a6=_0x1519ad['closest']('figure.image');if(_0x4b88a6&&function(_0x8f2533){let _0x2285f1=!0x1;const _0x11afff=_0x8f2533['parentElement'],_0x56d371=_0x11afff['dataset']['rootName'],_0x2f2911=_0x8f2533['nextElementSibling'],_0x5544c9=_0x8f2533['previousElementSibling'],_0x47e013=_0x2f2911&&_0x527214['window']['getComputedStyle'](_0x2f2911)['float'],_0x5319c7=_0x2f2911&&'ck-fake-selection-container'===_0x2f2911['className'];!_0x56d371||_0x2f2911||_0x5544c9||(_0x2285f1=!0x0),_0x56d371&&!_0x5544c9&&_0x5319c7&&(_0x2285f1=!0x0),_0x56d371&&!_0x5544c9&&'none'!==_0x47e013&&(_0x2285f1=!0x0);if(_0x2285f1)return!0x1;return!0x0;}(_0x4b88a6)){const _0x1cb8ec=_0x527214['window']['getComputedStyle'](_0x4b88a6)['float'];if('left'==_0x1cb8ec||'right'==_0x1cb8ec)return _0x3e6689;}const _0x17d267=x(_0x1519ad,_0x4d2232,_0x404ecc,_0x237ff1,_0xaf1ecb);if(_0x17d267['length']){for(const _0x9903c of _0x17d267)_0x3e6689['push']({'type':_0x9903c['type'],'offset':_0x9903c['offset'],'textOffset':_0x9903c['textOffset'],'path':[_0xa0aeb,..._0x9903c['path']]}),_0x4d2232+=_0x404ecc,_0xaf1ecb=!0x1;return _0x3e6689;}return _0x3e6689['push'](...function(_0x1e4466,_0x389d62,_0x10fa84,_0x354a9c,_0x5a49fd){const _0x1a0f7e=[];if('table-cell'==_0x527214['window']['getComputedStyle'](_0x1e4466)['display'])return[];const _0x38ffc4=[];for(const _0x253a04 of _0x1e4466['getClientRects']())if(_0x253a04['left']>=_0x10fa84){for(const _0x2eba1e of _0x38ffc4)_0x2eba1e['height']+=_0x253a04['height'];_0x38ffc4['push']({'height':_0x253a04['height']}),_0x10fa84+=_0x354a9c;}for(const _0x1437d3 of _0x38ffc4)_0x5a49fd||_0x1a0f7e['push']({'type':'element','offset':_0x1437d3['height'],'textOffset':0x0,'path':[_0x389d62]}),_0x5a49fd=!0x1;return _0x1a0f7e;}(_0x1519ad,_0xa0aeb,_0x4d2232,_0x404ecc,_0xaf1ecb)),_0x3e6689;}function B(_0x277508,_0x2c48c1,_0x3daa9d,_0x264a44,_0x1a3907){const _0xa50a40=P(_0x277508),_0xe0b756=[];let _0x2bd9ac=0x0;for(const _0x580e17 of _0xa50a40['getClientRects']())if(_0x580e17['left']>=_0x3daa9d){const _0x1b6cc6=I(_0x277508,_0x2bd9ac,_0x3daa9d,_0x264a44);_0x1a3907||_0xe0b756['push']({'type':'text','path':[_0x2c48c1],'textOffset':_0x1b6cc6}),_0x2bd9ac=_0x1b6cc6,_0x3daa9d+=_0x264a44,_0x1a3907=!0x1;}return _0xe0b756;}function I(_0x3985ba,_0x1cd9a2,_0x3aad76,_0x5cc87a){let _0x4eba31=_0x1cd9a2,_0x3e4dd2=_0x3985ba['length'];for(;_0x3e4dd2-_0x4eba31>0x1;){const _0x51550d=Math['ceil']((_0x4eba31+_0x3e4dd2)/0x2);N(k(_0x3985ba,_0x4eba31,_0x51550d),_0x3aad76,_0x5cc87a)?_0x3e4dd2=_0x51550d:_0x4eba31=_0x51550d;}return _0x4eba31;}function N(_0x261a4c,_0x48cfd2,_0x1c7cf9){for(const _0x1ba8b7 of _0x261a4c['getClientRects']())if(_0x1ba8b7['left']>=_0x48cfd2&&_0x1ba8b7['left']<_0x48cfd2+_0x1c7cf9)return!0x0;return!0x1;}function S(_0x1b0231){return _0x1b0231['nodeType']==Node['ELEMENT_NODE'];}function R(_0x4d9e75){return _0x4d9e75['nodeType']==Node['TEXT_NODE'];}const z=_0x27201a('px');class V extends _0x4500d5{constructor(){super();const _0x47449e=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x47449e['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x47449e['if']('isVisible','ck-hidden',_0x8bea66=>!_0x8bea66)],'style':{'left':_0x47449e['to']('left',_0x4e72e8=>z(_0x4e72e8)),'top':_0x47449e['to']('top',_0x198457=>z(_0x198457)),'width':_0x47449e['to']('width',_0x5b3cf2=>z(_0x5b3cf2))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x21a3c9){this['_viewCollection']=_0x21a3c9['ui']['view']['body'];}['destroy'](){for(const _0x5634e1 of this['_hiddenLines'])_0x5634e1['destroy']();}['cleanLines'](){for(const _0x5030eb of this['_visibleLines'])_0x5030eb['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5030eb);this['_visibleLines']['clear']();}['showLine'](_0x2172cb,_0x4f1199,_0x48c6ed,_0x47245d){let _0x3f3ebc;this['_hiddenLines']['size']?(_0x3f3ebc=_0x39928a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3f3ebc)):_0x3f3ebc=new V(),_0x3f3ebc['set']({'pageNumber':_0x47245d,'left':_0x2172cb,'top':_0x4f1199,'width':_0x48c6ed}),_0x3f3ebc['isVisible']=!0x0,this['_viewCollection']['has'](_0x3f3ebc)||this['_viewCollection']['add'](_0x3f3ebc),this['_visibleLines']['add'](_0x3f3ebc);}['setViewCollection'](_0x197947){for(const _0x480640 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x480640)&&this['_viewCollection']['remove'](_0x480640);this['_viewCollection']=_0x197947;}}const L='ck-pagination_enabled';class c extends _0x5a8299{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x4720ce,_0x48fa36,_0x561d8c)=>{_0x561d8c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x561d8c);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x65d56d){if(!this['isEnabled'])return;const _0x8fa993=_0x65d56d>0x1?this['_getPageBreakLineOffset'](_0x65d56d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x8fa993-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x55f532['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x30a6d7=this['editor'],_0x445104=this['_getAttachedDomRoot']();_0x445104?(this['_scrollableEditingRootDomAncestor']&&_0x30a6d7['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5f46f1){let _0x41ced3=_0x5f46f1;do{_0x41ced3=_0x41ced3['parentElement'];const _0xc6e4e6=_0x527214['window']['getComputedStyle'](_0x41ced3)['overflowY'];if('auto'==_0xc6e4e6||'scroll'==_0xc6e4e6)break;}while('BODY'!=_0x41ced3['tagName']);return _0x41ced3;}(_0x445104),_0x30a6d7['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2f80a0(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x30a6d7['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x313c9f=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x313c9f['ui']['view']['listenTo'](_0x527214['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x313c9f['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x15a848 of this['editor']['editing']['view']['domRoots']['values']())if(_0x15a848['ownerDocument']['body']['contains'](_0x15a848))return _0x15a848;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3bf03e=this['_getAttachedDomRoot'](),_0x4da4bc=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3bf03e||0x1==_0x4da4bc['length'])return void(this['pageNumber']=0x1);const _0x55ae5a=new _0x498174(_0x3bf03e)['excludeScrollbarsAndBorders'](),_0x1d17c4=new _0x498174(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x504f18=_0x1d17c4['top']+_0x1d17c4['height']/0x3;let _0x341654=!0x1;const _0x5e2258=[];for(let _0x1216eb=0x1;_0x1216eb<_0x4da4bc['length'];_0x1216eb++){const _0x4aea39=this['_getPageBreakLineOffset'](_0x1216eb,_0x1d17c4);if(!_0x4aea39)continue;const _0x4db0b3=_0x1d17c4['top']+_0x4aea39-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5e2258['push']({'pageOffsetTop':_0x4db0b3,'domRootRect':_0x55ae5a,'domScrollableRect':_0x1d17c4,'pageNumber':_0x1216eb}),_0x4db0b3>_0x504f18&&!_0x341654&&(this['pageNumber']=_0x1216eb,_0x341654=!0x0);}this['_renderPageBreakLines'](_0x5e2258),_0x341654||(this['pageNumber']=_0x4da4bc['length']);}['_renderPageBreakLines'](_0x5731d0){const {scrollX:_0x5255bc,scrollY:_0x303c6f}=_0x527214['window'];if(_0x5731d0['length']){for(const {domScrollableRect:_0x1ab340,pageOffsetTop:_0x415b99,domRootRect:_0xb0b66d,pageNumber:_0x276f74}of _0x5731d0)_0x1ab340['top']<_0x415b99&&_0x415b99<_0x1ab340['bottom']&&this['linesRepository']['showLine'](_0xb0b66d['left']+_0x5255bc,_0x415b99+_0x303c6f,_0xb0b66d['width'],_0x276f74+0x1);}}['_getPageBreakLineOffset'](_0x5be3e6,_0x27ad59=null){const _0x59a065=this['_paginationLookupPlugin']['pageBreaks'][_0x5be3e6]['offset'];return _0x59a065?(_0x27ad59||(_0x27ad59=new _0x498174(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x59a065-_0x27ad59['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xc61fbd,_0xca30dd=!0x0){const _0x56f7a6=this['editor']['editing']['view'];_0x56f7a6['change'](_0x237ea7=>{for(const _0x592654 of _0x56f7a6['document']['roots'])_0xca30dd?_0x237ea7['addClass'](_0xc61fbd,_0x592654):_0x237ea7['removeClass'](_0xc61fbd,_0x592654);});}}function g(_0x47f282,_0x21803e,..._0x2a893e){const t=_0x47f282['t'];switch(_0x21803e){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)',..._0x2a893e);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 _0x21803e;}}class s extends _0x5a8299{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x461110=this['editor']['plugins']['get']('Pagination'),_0x3d4197=this['editor']['plugins']['get'](n),_0x16525f=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x461110),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x16525f),this['listenTo'](_0x3d4197,'change:pageBreaks',(_0xaecb2,_0x1005c9,_0x3e91d7,_0x39491a)=>{this['totalPages']=_0x3e91d7['length'],this['_updatePageBreakMarkers'](_0x3e91d7,_0x39491a);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22d721=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3694a8;for(const _0x3f119a in _0x22d721){const _0x3118fb=_0x3f119a,_0x5c6115=_0x22d721[_0x3118fb];if('paginationLicenseKeyValid'==_0x5c6115||'paginationLicenseKeyInvalid'==_0x5c6115||'paginationLicenseKeyExpired'==_0x5c6115||'paginationLicenseKeyDomainLimit'==_0x5c6115||'paginationLicenseKeyNotAllowed'==_0x5c6115||'paginationLicenseKeyEvaluationLimit'==_0x5c6115||'paginationLicenseKeyTrialLimit'==_0x5c6115||'paginationLicenseKeyUsageLimit'==_0x5c6115){delete _0x22d721[_0x3118fb],_0x3694a8=_0x5c6115,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3694a8&&_0x22d721['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3694a8&&_0x22d721['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3694a8&&_0x22d721['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3694a8&&_0x22d721['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3694a8&&_0x22d721['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x3694a8&&_0x22d721['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x3694a8&&_0x22d721['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x2af4f5){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x2af4f5));}['moveSelectionToPage'](_0x3d7e7a){if(!this['isEnabled'])return;const _0x248a8b=this['editor'],_0x22d35a=this['editor']['plugins']['get'](n)['pageBreaks'][_0x3d7e7a-0x1];_0x22d35a&&_0x248a8b['model']['change'](_0x31d5fb=>{switch(_0x22d35a['type']){case'manual':{const _0x391542=_0x248a8b['model']['schema']['getNearestSelectionRange'](_0x22d35a['modelRange']['end'],'forward');_0x31d5fb['setSelection'](_0x391542);break;}case'element':{const _0x2567de=_0x248a8b['model']['schema']['getNearestSelectionRange'](_0x22d35a['modelRange']['start'],'forward');_0x31d5fb['setSelection'](_0x2567de);break;}case'text':{const _0x433895=_0x22d35a['modelRange']['start'];if(_0x433895['textNode']&&'\x20'===_0x433895['textNode']['data'][_0x433895['offset']]){const _0x17cf1a=_0x31d5fb['createPositionAt'](_0x433895['parent'],_0x433895['offset']+0x1);_0x31d5fb['setSelection'](_0x17cf1a);}else _0x31d5fb['setSelection'](_0x22d35a['modelRange']);}}_0x248a8b['editing']['view']['focus']();});}['goToNextPage'](){const _0x1f9d27=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1f9d27),this['scrollToPage'](_0x1f9d27);}['goToPreviousPage'](){const _0xd3bff8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0xd3bff8),this['scrollToPage'](_0xd3bff8);}['_updatePageBreakMarkers'](_0x5efcde,_0x49d011){const _0x42b16c=this['editor']['model'];this['isEnabled']&&_0x42b16c['change'](_0x5cb107=>{for(let _0x50d992=0x1;_0x50d992<_0x5efcde['length'];_0x50d992++){const _0x5d8455=_0x5efcde[_0x50d992]['modelRange'],_0x3c8232='pagination:'+(_0x50d992+0x1);_0x42b16c['markers']['has'](_0x3c8232)?_0x5cb107['updateMarker'](_0x3c8232,{'range':_0x5d8455}):_0x5cb107['addMarker'](_0x3c8232,{'range':_0x5d8455,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x10ac45=_0x5efcde['length'];_0x10ac45<_0x49d011['length'];_0x10ac45++){const _0x28e1a3='pagination:'+(_0x10ac45+0x1);_0x42b16c['markers']['has'](_0x28e1a3)&&_0x5cb107['removeMarker'](_0x28e1a3);}});}['_setUpDataDowncastConversion'](){const _0x16a7f6='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4cc60a=>{_0x4cc60a['on']('addMarker:'+_0x16a7f6,(_0x365c27,{markerRange:_0x2d6dcb,markerName:_0x144a8e},_0x27b9c0)=>{if(!_0x27b9c0['options']['pagination'])return;if(!_0x27b9c0['consumable']['consume'](_0x2d6dcb,_0x365c27['name']))return;const _0x45744b=_0x2d6dcb['getContainedElement']();let _0x6fa2cb=_0x45744b?_0x27b9c0['mapper']['toViewElement'](_0x45744b):null;if(!_0x6fa2cb){const _0x1fa87e=_0x2d6dcb['start'];if(_0x27b9c0['schema']['checkChild'](_0x1fa87e,'$text')){const _0x5942a1=_0x27b9c0['mapper']['toViewPosition'](_0x1fa87e);_0x6fa2cb=_0x27b9c0['writer']['createContainerElement']('span'),_0x6fa2cb['getFillerOffset']=()=>null,_0x27b9c0['writer']['insert'](_0x5942a1,_0x6fa2cb);}else{const _0x1d520e=_0x1fa87e['nodeAfter'];_0x6fa2cb=_0x27b9c0['mapper']['toViewElement'](_0x1d520e);}}for(;_0x6fa2cb['parent']!==_0x6fa2cb['root']&&0x0===_0x6fa2cb['index'];)_0x6fa2cb=_0x6fa2cb['parent'];const _0x583cf9=_0x144a8e['substring'](0xb);_0x6fa2cb['hasClass']('page-break')||(_0x27b9c0['writer']['setStyle']('page-break-before','always',_0x6fa2cb),_0x27b9c0['writer']['setAttribute']('data-pagination-page',_0x583cf9,_0x6fa2cb),_0x27b9c0['mapper']['bindElementToMarker'](_0x6fa2cb,_0x144a8e)),_0x365c27['stop']();});});}['_setupKeystrokes'](){const _0x3d35ec=this['editor'];_0x3d35ec['keystrokes']['set']('Shift+Pageup',(_0x4b0570,_0x2d8d31)=>{this['goToPreviousPage'](),_0x2d8d31();}),_0x3d35ec['keystrokes']['set']('Shift+Pagedown',(_0x2f2964,_0x3b490d)=>{this['goToNextPage'](),_0x3b490d();}),_0x3d35ec['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3d35ec['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3d35ec['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3d35ec['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3fc3ec){return _0x3fc3ec<0x1&&(_0x3fc3ec=0x1),_0x3fc3ec>this['totalPages']&&(_0x3fc3ec=this['totalPages']),_0x3fc3ec;}}class U extends _0x4500d5{['pageNumberView'];constructor(_0x480ccf){super(_0x480ccf);const _0x3b8f41=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3ae157(_0x480ccf,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x4d597b=>g(_0x480ccf,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x4d597b)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x296a62=>!_0x296a62),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3b8f41['if']('isEnabled','ck-disabled',_0x4a3052=>!_0x4a3052)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3b8f41['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3b10ea=this['pageNumberView']['element'],_0x22720a=_0x22ae3f=>{this['pageNumberView']['element']['value']=String(_0x22ae3f);};_0x22720a(this['pageNumber']),this['on']('change:pageNumber',(_0x46c067,_0x36d592,_0x4de6a0)=>{_0x22720a(_0x4de6a0);}),this['listenTo'](_0x3b10ea,'keydown',(_0x5b4665,_0x4d9190)=>{if('ArrowUp'===_0x4d9190['key']||'ArrowDown'===_0x4d9190['key'])return void _0x4d9190['stopPropagation']();if(_0x4d9190['keyCode']!==_0x1a8cac['enter'])return;_0x4d9190['preventDefault']();const _0x2613b0=_0x3b10ea['valueAsNumber'];Number['isNaN'](_0x2613b0)?_0x3b10ea['value']=String(this['pageNumber']):(_0x3b10ea['checkValidity']()?this['pageNumber']=_0x2613b0:_0x2613b0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3b10ea['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3b10ea['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3b10ea,'blur',()=>{_0x3b10ea['value']=String(this['pageNumber']);}),this['listenTo'](_0x3b10ea,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x5a8299{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4d695a=this['editor'],_0x557609=_0x4d695a['plugins']['get']('PaginationEditing');_0x4d695a['ui']['componentFactory']['add']('pageNavigation',_0x5e350c=>{const _0x360acd=new U(_0x5e350c);return _0x360acd['bind']('pageNumber')['to'](_0x557609),_0x360acd['bind']('totalPages')['to'](_0x557609),_0x360acd['bind']('isEnabled')['to'](_0x557609),_0x360acd['on']('navigation',(_0x1318a3,_0x1bcdcc)=>{_0x557609['moveSelectionToPage'](_0x1bcdcc),_0x557609['scrollToPage'](_0x1bcdcc);}),_0x360acd;}),_0x4d695a['ui']['componentFactory']['add']('nextPage',_0x72c164=>{const _0x254069=new _0xfffdaa(_0x72c164);return _0x254069['isEnabled']=!0x0,_0x254069['label']=g(_0x4d695a['locale'],'Go\x20to\x20next\x20page'),_0x254069['icon']=_0x37e91f,_0x254069['tooltip']=!0x0,_0x254069['keystroke']='Shift+PageDown',_0x254069['bind']('isEnabled')['to'](_0x557609),this['listenTo'](_0x254069,'execute',()=>{_0x557609['goToNextPage']();}),_0x254069;}),_0x4d695a['ui']['componentFactory']['add']('previousPage',_0x27ad94=>{const _0x4a5257=new _0xfffdaa(_0x27ad94);return _0x4a5257['isEnabled']=!0x0,_0x4a5257['label']=g(_0x4d695a['locale'],'Go\x20to\x20previous\x20page'),_0x4a5257['icon']=_0x1931da,_0x4a5257['tooltip']=!0x0,_0x4a5257['keystroke']='Shift+PageUp',_0x4a5257['bind']('isEnabled')['to'](_0x557609),this['listenTo'](_0x4a5257,'execute',()=>{_0x557609['goToPreviousPage']();}),_0x4a5257;});}}class a extends _0x5a8299{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x52b840){super(_0x52b840),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3c620a=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x3c620a),this['bind']('totalPages')['to'](_0x3c620a),_0x55f532['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x20b945){this['editor']['plugins']['get'](s)['scrollToPage'](_0x20b945);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x7df6dc}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x161193,InputNumberView as _0x18f95e,ButtonView as _0x522350}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1f41cd,Rect as _0x20d66a,global as _0x6044d7,uid as _0x57eddd,toUnit as _0x12a705,first as _0x11aa5f,env as _0x5d57cf,ResizeObserver as _0x368c0c,keyCodes as _0x3e2b12}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x3c9990}from'es-toolkit/compat';import{IconArrowDown as _0x2c3d62,IconArrowUp as _0x4876ff}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x7df6dc{['_recalculatePageBreaksDebounced']=_0x3c9990(()=>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 _0x1f41cd('pagination-config-not-found',this['editor']['config']);const _0x25a24f=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x25a24f),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x447684,_0x51cfe4,_0x465dcb)=>{_0x465dcb&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x320d9e){const _0x28a58b=_0x5ecb37([0x48,0x4d,0x67,0x70,0x55,0x76,0x30,0x66,0x6e,0x68,0x6d,0x52,0x34,0x57,0x75,0x33,0x42,0x51,0x79,0x47,0x36,0x59,0x41,0x5a,0x4f,0x78,0x4b,0x72,0x62,0x6b,0x74,0x4e,0x6a,0x39,0x4c,0x64,0x71,0x49,0x73,0x50,0x61,0x54,0x69,0x43,0x7a,0x6c,0x6f,0x77,0x37,0x63,0x58,0x38,0x46,0x32,0x4a,0x44,0x53,0x65,0x45,0x31,0x35,0x56]),_0x4577e2=0x6d1bcac7,_0x1bbf15=0x6d1ca30f^_0x4577e2,_0x3594b8=window[_0x5ecb37([0x44,0x61,0x74,0x65])][_0x5ecb37([0x6e,0x6f,0x77])](),_0x881b21=_0x320d9e[_0x5ecb37([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a4535=new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x543f06=>{_0x881b21[_0x5ecb37([0x6f,0x6e,0x63,0x65])](_0x5ecb37([0x72,0x65,0x61,0x64,0x79]),_0x543f06);}),_0xa5e6f4={[_0x5ecb37([0x6b,0x74,0x79])]:_0x5ecb37([0x45,0x43]),[_0x5ecb37([0x75,0x73,0x65])]:_0x5ecb37([0x73,0x69,0x67]),[_0x5ecb37([0x63,0x72,0x76])]:_0x5ecb37([0x50,0x2d,0x32,0x35,0x36]),[_0x5ecb37([0x78])]:_0x5ecb37([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]),[_0x5ecb37([0x79])]:_0x5ecb37([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]),[_0x5ecb37([0x61,0x6c,0x67])]:_0x5ecb37([0x45,0x53,0x32,0x35,0x36])},_0x1adc3d=_0x881b21[_0x5ecb37([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ecb37([0x67,0x65,0x74])](_0x5ecb37([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51072e(){let _0x3972f4,_0x3d20cc=null,_0x36c55a=null;try{if(_0x1adc3d==_0x5ecb37([0x47,0x50,0x4c]))return _0x5ecb37([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3972f4=_0x3d3416(),!_0x3972f4)return _0x5ecb37([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3972f4[_0x5ecb37([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36c55a=_0x3325f9(_0x3972f4[_0x5ecb37([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3972f4[_0x5ecb37([0x6a,0x74,0x69])])),await _0x4ee313()?_0x47606b()?_0x2c094e()?_0x5ecb37([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37acc7()?(_0x3972f4[_0x5ecb37([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ecb37([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d20cc=_0x581469(_0x5ecb37([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3972f4[_0x5ecb37([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ecb37([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d20cc=_0x581469(_0x5ecb37([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28c063()):_0x5ecb37([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ecb37([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ecb37([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ecb37([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c094e(){const _0x466706=[_0x5ecb37([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ecb37([0x74,0x72,0x69,0x61,0x6c])][_0x5ecb37([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3972f4[_0x5ecb37([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3594b8/0x3e8:0xe10*_0x1bbf15;return _0x3972f4[_0x5ecb37([0x65,0x78,0x70])]<_0x466706;}function _0x47606b(){const _0x249f7d=_0x3972f4[_0x5ecb37([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x249f7d&&(!!_0x249f7d[_0x5ecb37([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecb37([0x2a]))||!!_0x249f7d[_0x5ecb37([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecb37([0x50,0x41,0x47])));}function _0x37acc7(){const _0x72f742=_0x3972f4[_0x5ecb37([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x72f742||0x0==_0x72f742[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37ca00}=new URL(window[_0x5ecb37([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x72f742[_0x5ecb37([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ca00))return!0x0;const _0x518d36=_0x37ca00[_0x5ecb37([0x73,0x70,0x6c,0x69,0x74])](_0x5ecb37([0x2e]));return _0x72f742[_0x5ecb37([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a8acf=>_0x5a8acf[_0x5ecb37([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecb37([0x2a])))[_0x5ecb37([0x6d,0x61,0x70])](_0x4c103f=>_0x4c103f[_0x5ecb37([0x73,0x70,0x6c,0x69,0x74])](_0x5ecb37([0x2e])))[_0x5ecb37([0x73,0x6f,0x6d,0x65])](_0x57cebe=>_0x518d36[_0x5ecb37([0x65,0x76,0x65,0x72,0x79])]((_0x17ff02,_0x597997)=>_0x57cebe[_0x597997]===_0x17ff02||_0x57cebe[_0x597997]===_0x5ecb37([0x2a])));}function _0x28c063(){return _0x3d20cc&&_0x36c55a?new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x422c67,_0x6ecf9f)=>{_0x3d20cc[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0x422c67,_0x6ecf9f),_0x36c55a[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0x2d10e1=>{_0x2d10e1!=_0x5ecb37([0x56,0x61,0x6c,0x69,0x64])&&_0x422c67(_0x2d10e1);},_0x6ecf9f);}):_0x3d20cc||_0x36c55a||_0x5ecb37([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3325f9(_0x514f38,_0x514890){return new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dba2a=>{if(_0x4f0057())return _0x5dba2a(_0x5ecb37([0x56,0x61,0x6c,0x69,0x64]));_0x27ed0b(),_0x881b21[_0x5ecb37([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ecb37([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c0cc6=!0x1;const _0x151579=_0x57eddd();function _0x94145d(_0x69dcc6){return!!_0x69dcc6&&(typeof _0x69dcc6===_0x5ecb37([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x69dcc6===_0x5ecb37([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x69dcc6[_0x5ecb37([0x74,0x68,0x65,0x6e])]===_0x5ecb37([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x69dcc6[_0x5ecb37([0x63,0x61,0x74,0x63,0x68])]===_0x5ecb37([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4850f1(_0x2f250a){_0x222cff(_0x2f250a)[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0xeb4566=>{if(!_0xeb4566||_0xeb4566[_0x5ecb37([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ecb37([0x6f,0x6b]))return _0x5ecb37([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52cd0a(_0x4c8d4a(_0x151579+_0x514890))!=_0xeb4566[_0x5ecb37([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ecb37([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ecb37([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0x2b6e10=>(_0x262cbb(),_0x2b6e10),()=>{const _0x15f382=_0x2e1726();return null==_0x15f382?(_0x262cbb(),_0x5ecb37([0x56,0x61,0x6c,0x69,0x64])):_0x5ecb37(_0x3594b8-_0x15f382>(0x49174ec7^_0x4577e2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0x5dba2a)[_0x5ecb37([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dba2a(_0x5ecb37([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x406560=0x6d2d2447^_0x4577e2;function _0x262cbb(){const _0x507842=_0x5ecb37([0x6c,0x6c,0x63,0x74,0x2d])+_0x52cd0a(_0x4c8d4a(_0x514f38)),_0x4b6b09=_0x3f16f8(_0x52cd0a(window[_0x5ecb37([0x4d,0x61,0x74,0x68])][_0x5ecb37([0x63,0x65,0x69,0x6c])](_0x3594b8/_0x406560)));window[_0x5ecb37([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ecb37([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x507842,_0x4b6b09);}function _0x2e1726(){const _0x2aee13=_0x5ecb37([0x6c,0x6c,0x63,0x74,0x2d])+_0x52cd0a(_0x4c8d4a(_0x514f38)),_0x34520a=window[_0x5ecb37([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ecb37([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2aee13);return _0x34520a?window[_0x5ecb37([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f16f8(_0x34520a),0x10)*_0x406560:null;}function _0x222cff(_0x42e684){return new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3414c4,_0x15c20a)=>{_0x42e684[_0x5ecb37([0x74,0x68,0x65,0x6e])](_0x3414c4,_0x15c20a),window[_0x5ecb37([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15c20a,0x6d1a1e07^_0x4577e2);});}}_0x881b21[_0x5ecb37([0x6f,0x6e])](_0x5ecb37([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3801ef,_0x5f001e)=>{if(_0x5f001e[0x0]!=_0x514f38)return _0x5dba2a(_0x5ecb37([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f001e[0x1]={..._0x5f001e[0x1],[_0x5ecb37([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x151579};},{[_0x5ecb37([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ecb37([0x68,0x69,0x67,0x68])}),_0x881b21[_0x5ecb37([0x6f,0x6e])](_0x5ecb37([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x598d25=>{_0x94145d(_0x598d25[_0x5ecb37([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c0cc6=!0x0,_0x4850f1(_0x598d25[_0x5ecb37([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ecb37([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ecb37([0x6c,0x6f,0x77])}),_0x3a4535[_0x5ecb37([0x74,0x68,0x65,0x6e])](()=>{_0x5c0cc6||_0x5dba2a(_0x5ecb37([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f0057(){return _0x881b21[_0x5ecb37([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ecb37([0x76,0x69,0x65,0x77])][_0x5ecb37([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ecb37([0x61,0x75,0x74,0x6f]);}function _0x27ed0b(){_0x881b21[_0x5ecb37([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ecb37([0x76,0x69,0x65,0x77])][_0x5ecb37([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ecb37([0x61,0x75,0x74,0x6f]);}}function _0x581469(_0x862070){const _0x30da81=[new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24ee7d=>setTimeout(_0x24ee7d,0x6d12f40b^_0x4577e2)),_0x3a4535[_0x5ecb37([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4954a2=>{let _0x4432d6=0x0;_0x881b21[_0x5ecb37([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecb37([0x6f,0x6e])](_0x5ecb37([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29b707,_0x541074)=>{_0x541074[0x0][_0x5ecb37([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4432d6++,_0x4432d6==(0x6d1bcb3f^_0x4577e2)&&(_0x4954a2(),_0x29b707[_0x5ecb37([0x6f,0x66,0x66])]());});}))];return window[_0x5ecb37([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ecb37([0x72,0x61,0x63,0x65])](_0x30da81)[_0x5ecb37([0x74,0x68,0x65,0x6e])](()=>_0x862070);}async function _0x16daae(){await _0x3a4535,_0x881b21[_0x5ecb37([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecb37([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b4e55,_0x881b21[_0x5ecb37([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ecb37([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b4e55,_0x881b21[_0x5ecb37([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ecb37([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3af44a(_0x3302c7){const _0x168395=_0x5e3f18();_0x881b21[_0x168395]=_0x5ecb37([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3302c7,_0x3302c7!=_0x5ecb37([0x56,0x61,0x6c,0x69,0x64])&&_0x16daae();}function _0x5e3f18(){const _0x4fa94d=window[_0x5ecb37([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ecb37([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ecb37([0x6e,0x6f,0x77])]())[_0x5ecb37([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ecb37([0x2e]),'');let _0x518f76=_0x5ecb37([0x48]);for(let _0x2b101c=0x0;_0x2b101c<_0x4fa94d[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b101c+=0x2){let _0x2137d=window[_0x5ecb37([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fa94d[_0x5ecb37([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b101c,_0x2b101c+0x2));_0x2137d>=_0x28a58b[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2137d-=_0x28a58b[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x518f76+=_0x28a58b[_0x2137d];}return _0x518f76;}function _0x3d3416(){const _0x46bd36=_0x1adc3d[_0x5ecb37([0x73,0x70,0x6c,0x69,0x74])](_0x5ecb37([0x2e]));if(0x3!=_0x46bd36[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x565889(_0x46bd36[0x1]);function _0x565889(_0x4c0e65){const _0x3860e5=_0x1f389f(_0x4c0e65);return _0x3860e5&&_0x4280ca()?_0x3860e5:null;function _0x4280ca(){const _0x479c78=_0x3860e5[_0x5ecb37([0x6a,0x74,0x69])],_0x4d5416=window[_0x5ecb37([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479c78[_0x5ecb37([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479c78[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15fedf={..._0x3860e5,[_0x5ecb37([0x6a,0x74,0x69])]:_0x479c78[_0x5ecb37([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479c78[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15fedf[_0x5ecb37([0x76,0x63])],_0x4c8d4a(_0x15fedf)==_0x4d5416;}}}async function _0x4ee313(){let _0x5659de=!0x0;try{const _0x1528ab=_0x1adc3d[_0x5ecb37([0x73,0x70,0x6c,0x69,0x74])](_0x5ecb37([0x2e])),[_0x2b76b1,_0x2fa0d7,_0x28a37f]=_0x1528ab;return _0x24d34d(_0x2b76b1),await _0x1d3588(_0x2b76b1,_0x2fa0d7,_0x28a37f),_0x5659de;}catch{return!0x1;}function _0x24d34d(_0x3e6fec){const _0x6ca72b=_0x1f389f(_0x3e6fec);_0x6ca72b&&_0x6ca72b[_0x5ecb37([0x61,0x6c,0x67])]==_0x5ecb37([0x45,0x53,0x32,0x35,0x36])||(_0x5659de=!0x1);}async function _0x1d3588(_0x1b7593,_0x5e18b5,_0x377b6a){const _0x347ab6=window[_0x5ecb37([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ecb37([0x66,0x72,0x6f,0x6d])](_0x458f90(_0x377b6a),_0x209d41=>_0x209d41[_0x5ecb37([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21ac61=new window[(_0x5ecb37([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ecb37([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b7593+_0x5ecb37([0x2e])+_0x5e18b5),_0x6e9c7c=window[_0x5ecb37([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ecb37([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x6e9c7c)return;const _0x257de2=await _0x6e9c7c[_0x5ecb37([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ecb37([0x6a,0x77,0x6b]),_0xa5e6f4,{[_0x5ecb37([0x6e,0x61,0x6d,0x65])]:_0x5ecb37([0x45,0x43,0x44,0x53,0x41]),[_0x5ecb37([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ecb37([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ecb37([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x6e9c7c[_0x5ecb37([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ecb37([0x6e,0x61,0x6d,0x65])]:_0x5ecb37([0x45,0x43,0x44,0x53,0x41]),[_0x5ecb37([0x68,0x61,0x73,0x68])]:{[_0x5ecb37([0x6e,0x61,0x6d,0x65])]:_0x5ecb37([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x257de2,_0x347ab6,_0x21ac61)||(_0x5659de=!0x1);}}function _0x1f389f(_0xe2176c){return _0xe2176c[_0x5ecb37([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ecb37([0x65,0x79]))?JSON[_0x5ecb37([0x70,0x61,0x72,0x73,0x65])](_0x458f90(_0xe2176c)):null;}function _0x458f90(_0x22fc85){return window[_0x5ecb37([0x61,0x74,0x6f,0x62])](_0x22fc85[_0x5ecb37([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ecb37([0x2b]))[_0x5ecb37([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ecb37([0x2f])));}function _0x4c8d4a(_0x3cc448){let _0x7cf164=0x1505;function _0x34ac01(_0x4a5d4c){for(let _0x10f0a6=0x0;_0x10f0a6<_0x4a5d4c[_0x5ecb37([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10f0a6++){const _0x1a64ad=_0x4a5d4c[_0x5ecb37([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10f0a6);_0x7cf164=(_0x7cf164<<0x5)+_0x7cf164+_0x1a64ad,_0x7cf164&=_0x7cf164;}}function _0x1b446b(_0x63be40){Array[_0x5ecb37([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x63be40)?_0x63be40[_0x5ecb37([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b446b):_0x63be40&&typeof _0x63be40==_0x5ecb37([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ecb37([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x63be40)[_0x5ecb37([0x73,0x6f,0x72,0x74])]()[_0x5ecb37([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x365996,_0xab2f3c])=>{_0x34ac01(_0x365996),_0x1b446b(_0xab2f3c);}):_0x34ac01(window[_0x5ecb37([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x63be40));}return _0x1b446b(_0x3cc448),_0x7cf164>>>0x0;}function _0x52cd0a(_0x4ce1ba){return _0x4ce1ba[_0x5ecb37([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ecb37([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ecb37([0x30]));}function _0x3f16f8(_0x49cf26){return _0x49cf26[_0x5ecb37([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ecb37([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ecb37([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b4e55(){}function _0x5ecb37(_0x44712d){return _0x44712d['map'](_0x327310=>String['fromCharCode'](_0x327310))['join']('');}_0x3af44a(await _0x51072e());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3b30fe=this['editor'],_0x1fafc9=_0x3b30fe['editing']['view'],_0x35336e=this['_getAttachedDomRoot']();if(!_0x35336e||0x0===_0x35336e['childElementCount'])return void _0x3b30fe['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x10a46d,pageHeight:_0x57c5aa}=_0x3b30fe['config']['get']('pagination'),{top:_0x27cb72,left:_0x4427c1,bottom:_0xaae20c,right:_0x295e2e}=this['_configuredPaddings'];this['_pagesContainer']=new _0x161193(_0x3b30fe['locale']);const _0x1dd114=this['_pagesContainer'];_0x1dd114['set']('class',''),_0x1dd114['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x10a46d,'width':_0x10a46d,'height':'calc(\x20'+_0x57c5aa+'\x20-\x20'+_0x27cb72+'\x20-\x20'+_0xaae20c+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x295e2e+'\x200\x20'+_0x4427c1,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x1dd114['bindTemplate']['to']('class')}}),_0x1dd114['render'](),_0x35336e['parentNode']['insertBefore'](_0x1dd114['element'],_0x35336e['nextSibling']),this['listenTo'](_0x1fafc9,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x1eb3f3 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1eb3f3['ownerDocument']['body']['contains'](_0x1eb3f3))return _0x1eb3f3;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0xcb9e8f=this['editor']['editing']['view'],_0x3d71c7=this['_pagesContainer'],_0x4a797a=this['_getAttachedDomRoot']();if(!_0x4a797a)return Promise['resolve']();for(_0x3d71c7['class']=['ck-reset','ck-pagination-view',..._0x4a797a['classList']]['join']('\x20');_0x3d71c7['element']['firstChild'];)_0x3d71c7['element']['firstChild']['remove']();const _0x4c9fa8=Array['from'](_0xcb9e8f['domRoots']);_0x4c9fa8['sort'](([,_0x56aa49],[,_0x3a58b4])=>_0x56aa49['compareDocumentPosition'](_0x3a58b4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x245efc,_0xf3335b]of _0x4c9fa8){const _0x3c011b=_0xf3335b['cloneNode'](!0x0);'attributeStyleMap'in _0x3c011b&&_0x3c011b['attributeStyleMap']['clear'](),_0x3c011b['className']='',_0x3c011b['removeAttribute']('id'),_0x3c011b['dataset']['rootName']=_0x245efc,_0x3d71c7['element']['append'](_0x3c011b);}return function(_0x41032b){return Promise['all'](_0x41032b['map'](_0xe2bf53=>Promise['race']([p(_0xe2bf53),y(0x3e8)])));}(Array['from'](_0x3d71c7['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x357270=this['_pagesContainer']['element'];if(!_0x357270['ownerDocument']['body']['contains'](_0x357270))return;const _0x1eb096=new _0x20d66a(_0x357270)['excludeScrollbarsAndBorders'](),_0x4388f6=_0x6044d7['window']['getComputedStyle'](_0x357270),_0x4170fc=parseFloat(_0x4388f6['paddingLeft'])+parseFloat(_0x4388f6['paddingRight']),_0x2e177c=Math['floor'](_0x1eb096['width']+0x64-_0x4170fc),_0x13b968=x(_0x357270,Math['floor'](_0x1eb096['left']-_0x357270['scrollLeft']),_0x2e177c,_0x1eb096['height'])['map'](_0x4a1322=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4a1322));_0x13b968['every'](_0x2b5f58=>!!_0x2b5f58)&&(this['pageBreaks']=_0x13b968);}['_mapPageStarterInfoToPageBreakInfo'](_0x4a7900){const _0x44c496=this['editor']['editing']['view'],_0x213470=this['editor']['editing']['mapper'],_0x535f6e=_0x44c496['domConverter'],_0x52ac2d=_0x4a7900['path']['shift'](),_0x54173d=this['_pagesContainer']['element']['childNodes'][_0x52ac2d]['dataset']['rootName'],_0x1b8832=_0x44c496['getDomRoot'](_0x54173d);if(!_0x1b8832)return null;const _0x50dc15=function(_0x55bc74,_0x3131cb){let _0x20be96=_0x55bc74;for(const _0x1533e7 of _0x3131cb['path']){if(!_0x20be96)return null;_0x20be96=_0x20be96['childNodes'][_0x1533e7];}return _0x20be96;}(_0x1b8832,_0x4a7900);if(!_0x50dc15)return null;const _0xbfe835=_0x535f6e['domPositionToView'](_0x50dc15,_0x4a7900['textOffset']||0x0);return _0xbfe835?'manual'==_0x4a7900['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xbfe835,_0x50dc15):'text'==_0x4a7900['type']&&_0x213470['toModelPosition'](_0xbfe835)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xbfe835,_0x50dc15,_0x4a7900['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xbfe835,_0x50dc15,_0x4a7900['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x30fbf9,_0x89b01){const _0x4f41b8=this['editor']['model'],_0x20a3bb=this['editor']['editing']['mapper']['toModelElement'](_0x30fbf9['parent']),_0x45af0f=_0x4f41b8['createRangeOn'](_0x20a3bb);return new K({'type':'manual','modelRange':_0x45af0f,'domNode':_0x89b01,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1750f9,_0x1f03cf,_0x3004b7){const _0x3829f9=this['editor']['model'],_0x83c94f=this['editor']['editing']['mapper'],_0x112d0d=this['editor']['editing']['view']['domConverter'];if(_0x3004b7>=_0x1f03cf['length'])return null;const _0x248635=_0x83c94f['toModelPosition'](_0x1750f9),_0x36a711=_0x3829f9['createRange'](_0x248635),_0x1744b2=_0x83c94f['findMappedViewAncestor'](_0x1750f9),_0x5a4d33=_0x112d0d['mapViewToDom'](_0x1744b2);return new K({'type':'text','modelRange':_0x36a711,'domNode':_0x1f03cf,'offset':m(_0x1f03cf,_0x3004b7,_0x5a4d33)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3f72bf,_0x510958,_0x45a080){const _0x320f31=this['editor']['model'],_0x60143b=this['editor']['editing'],_0x50637d=_0x60143b['mapper'],_0x21c4a7=_0x60143b['view']['domConverter'],_0x405266=_0x50637d['findMappedViewAncestor'](_0x3f72bf),_0x58dc82=_0x50637d['toModelElement'](_0x405266),_0x23ccc9=function(_0x20d985){const _0x4999e7=_0x20d985['parent'],_0x2b7542=_0x4999e7['root']['document']['model'],_0x3695e7=_0x4999e7['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4f538b=null;for(const _0xb2a4de of _0x3695e7){if(_0xb2a4de['is']('rootElement'))return _0x4f538b;if(!_0x2b7542['createPositionBefore'](_0xb2a4de)['isTouching'](_0x20d985))return _0x4f538b;_0x4f538b=_0xb2a4de;}}(_0x320f31['createPositionBefore'](_0x58dc82)),_0x5f2ec1=_0x23ccc9||_0x58dc82;let _0x28110b=_0x50637d['toViewElement'](_0x5f2ec1),_0x24ea67=_0x320f31['createRangeOn'](_0x5f2ec1);const _0x586e47=_0x320f31['createPositionBefore'](_0x5f2ec1)['nodeBefore'];if(_0x586e47&&_0x586e47['is']('element','imageBlock')){const _0x4e0125=_0x50637d['toViewElement'](_0x586e47),_0x594ff8=_0x21c4a7['mapViewToDom'](_0x4e0125),_0x45c329=_0x6044d7['window']['getComputedStyle'](_0x594ff8)['float'];'left'!=_0x45c329&&'right'!=_0x45c329||(_0x24ea67=_0x320f31['createRangeOn'](_0x586e47));}for(;_0x28110b['parent']!==_0x28110b['root']&&0x0===_0x28110b['index'];)_0x28110b=_0x28110b['parent'];const _0x10365d=new _0x20d66a(S(_0x510958)?_0x510958:P(_0x510958)),_0x2255ff=_0x45a080?_0x10365d['height']-_0x45a080:0x0,_0x54c57a=_0x21c4a7['mapViewToDom'](_0x28110b),_0x6bf210=new _0x20d66a(_0x54c57a);return new K({'type':'element','modelRange':_0x24ea67,'domNode':_0x54c57a,'offset':Math['round'](_0x2255ff)?_0x2255ff+_0x10365d['top']-_0x6bf210['top']:0x0});}get['_configuredPaddings'](){const _0x1c2e36=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1c2e36);}static['_findPageStarterInfos'](_0x842273,_0x528613,_0x16f6c3,_0x70c92c,_0x27c67f){return x(_0x842273,_0x528613,_0x16f6c3,_0x70c92c,_0x27c67f);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x27aaf3,modelRange:_0x23065a,domNode:_0x22b587,offset:_0x2ff3bb}){this['type']=_0x27aaf3,this['modelRange']=_0x23065a,this['_domNode']=_0x22b587,this['_offset']=_0x2ff3bb;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x346649=new _0x20d66a(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x346649['top']+_0x346649['height']/0x2:_0x346649['top']+this['_offset'];}}function m(_0x3468fd,_0xe7fc86,_0x1af3af){const _0x3e9a7e=P(_0x3468fd),_0x5f1fa7=function(_0x48f068){const _0x495abf=_0x6044d7['document']['createRange']();return _0x495abf['selectNodeContents'](_0x48f068),_0x495abf;}(_0x1af3af);let _0x1cc263;_0x1cc263=0x0==_0xe7fc86?b(_0x5f1fa7['startContainer'],_0x5f1fa7['startOffset'],_0x3468fd['parentNode'],Array['from'](_0x3468fd['parentNode']['childNodes'])['indexOf'](_0x3468fd)):b(_0x5f1fa7['startContainer'],_0x5f1fa7['startOffset'],_0x3468fd,_0xe7fc86);const _0x1e1559=b(_0x3468fd,_0xe7fc86,_0x5f1fa7['endContainer'],_0x5f1fa7['endOffset']),_0x37398f=new _0x20d66a(_0x1cc263)['bottom'];return(new _0x20d66a(_0x1e1559)['top']+_0x37398f)/0x2-new _0x20d66a(_0x3e9a7e)['top'];}function p(_0x2dd908){return _0x2dd908['hasAttribute']('width')&&_0x2dd908['hasAttribute']('height')?Promise['resolve']():new Promise(_0x26cca6=>{function _0xb6cae2(){_0x2dd908['removeEventListener']('load',_0xb6cae2),_0x2dd908['removeEventListener']('error',_0xb6cae2),_0x26cca6();}_0x2dd908['complete']?_0x26cca6():(_0x2dd908['addEventListener']('load',_0xb6cae2),_0x2dd908['addEventListener']('error',_0xb6cae2));});}function y(_0x1593ce){return new Promise(_0x55a88f=>setTimeout(_0x55a88f,_0x1593ce));}function P(_0x12d070){const _0x44c211=_0x6044d7['document']['createRange']();return _0x44c211['selectNode'](_0x12d070),_0x44c211;}function k(_0x3fd172,_0x3456e5,_0x55564d){const _0x546dbf=_0x6044d7['document']['createRange']();return _0x546dbf['setStart'](_0x3fd172,_0x3456e5),_0x546dbf['setEnd'](_0x3fd172,_0x55564d),_0x546dbf;}function b(_0x4c69cb,_0x18e67d,_0x4eefa5,_0x3fb45b){const _0x4478f7=_0x6044d7['document']['createRange']();return _0x4478f7['setStart'](_0x4c69cb,_0x18e67d),_0x4478f7['setEnd'](_0x4eefa5,_0x3fb45b),_0x4478f7;}function x(_0x48de98,_0x1e9ab0,_0x3e72f2,_0x15cd15,_0x3ece93){const _0x17a9ef=[];for(const [_0x159170,_0x495df2]of _0x48de98['childNodes']['entries']()){let _0xba0d6e=[];S(_0x495df2)&&_0x495df2['offsetParent']&&!_0x495df2['style']['position']?_0xba0d6e=_(_0x495df2,_0x159170,_0x1e9ab0,_0x3e72f2,_0x15cd15,_0x3ece93):R(_0x495df2)&&(_0xba0d6e=B(_0x495df2,_0x159170,_0x1e9ab0,_0x3e72f2,_0x3ece93)),_0xba0d6e['length']&&(_0x17a9ef['push'](..._0xba0d6e),_0x1e9ab0+=_0xba0d6e['length']*_0x3e72f2,_0x3ece93=!0x1);}return _0x17a9ef;}function _(_0x1649ff,_0x244054,_0x7fe06b,_0x445b1d,_0x4b3b37,_0x3d012e){const _0x4917ce=[];var _0x24c7f5;if((_0x24c7f5=_0x1649ff['previousSibling'])&&S(_0x24c7f5)&&Boolean(_0x24c7f5['classList']['contains']('page-break')||_0x24c7f5['closest']('.page-break'))&&(_0x4917ce['push']({'type':'manual','offset':0x0,'path':[_0x244054-0x1]}),_0x3d012e=!0x0),'table-row'==_0x6044d7['window']['getComputedStyle'](_0x1649ff)['display']){let _0x5b1832=0x0,_0x179c5b=!0x1;for(const _0x1cab8 of _0x1649ff['getClientRects']())_0x5b1832+=_0x1cab8['height'],_0x1cab8['left']>=_0x7fe06b&&(_0x179c5b=!0x0);if(_0x5b1832<_0x4b3b37&&_0x179c5b)return _0x4917ce['push']({'type':'element','offset':0x0,'path':[_0x244054]}),_0x4917ce;}const _0x48947b=_0x1649ff['closest']('figure.image');if(_0x48947b&&function(_0x378e9b){let _0x965264=!0x1;const _0x26547e=_0x378e9b['parentElement'],_0x383e92=_0x26547e['dataset']['rootName'],_0x491f33=_0x378e9b['nextElementSibling'],_0x4a1c0c=_0x378e9b['previousElementSibling'],_0x37f850=_0x491f33&&_0x6044d7['window']['getComputedStyle'](_0x491f33)['float'],_0x41972d=_0x491f33&&'ck-fake-selection-container'===_0x491f33['className'];!_0x383e92||_0x491f33||_0x4a1c0c||(_0x965264=!0x0),_0x383e92&&!_0x4a1c0c&&_0x41972d&&(_0x965264=!0x0),_0x383e92&&!_0x4a1c0c&&'none'!==_0x37f850&&(_0x965264=!0x0);if(_0x965264)return!0x1;return!0x0;}(_0x48947b)){const _0x42dfb7=_0x6044d7['window']['getComputedStyle'](_0x48947b)['float'];if('left'==_0x42dfb7||'right'==_0x42dfb7)return _0x4917ce;}const _0x25d440=x(_0x1649ff,_0x7fe06b,_0x445b1d,_0x4b3b37,_0x3d012e);if(_0x25d440['length']){for(const _0x344e0e of _0x25d440)_0x4917ce['push']({'type':_0x344e0e['type'],'offset':_0x344e0e['offset'],'textOffset':_0x344e0e['textOffset'],'path':[_0x244054,..._0x344e0e['path']]}),_0x7fe06b+=_0x445b1d,_0x3d012e=!0x1;return _0x4917ce;}return _0x4917ce['push'](...function(_0x29f14d,_0x2fe4dd,_0x28d0d4,_0x768d95,_0x40a51d){const _0x1ed0ec=[];if('table-cell'==_0x6044d7['window']['getComputedStyle'](_0x29f14d)['display'])return[];const _0x1e64a9=[];for(const _0x27a789 of _0x29f14d['getClientRects']())if(_0x27a789['left']>=_0x28d0d4){for(const _0x7ae17e of _0x1e64a9)_0x7ae17e['height']+=_0x27a789['height'];_0x1e64a9['push']({'height':_0x27a789['height']}),_0x28d0d4+=_0x768d95;}for(const _0x18f141 of _0x1e64a9)_0x40a51d||_0x1ed0ec['push']({'type':'element','offset':_0x18f141['height'],'textOffset':0x0,'path':[_0x2fe4dd]}),_0x40a51d=!0x1;return _0x1ed0ec;}(_0x1649ff,_0x244054,_0x7fe06b,_0x445b1d,_0x3d012e)),_0x4917ce;}function B(_0x44c5fa,_0x2acdd3,_0xf428b7,_0x12e0ef,_0x22a40e){const _0xa434f3=P(_0x44c5fa),_0x3045f2=[];let _0x391ae8=0x0;for(const _0x53a561 of _0xa434f3['getClientRects']())if(_0x53a561['left']>=_0xf428b7){const _0x572fda=I(_0x44c5fa,_0x391ae8,_0xf428b7,_0x12e0ef);_0x22a40e||_0x3045f2['push']({'type':'text','path':[_0x2acdd3],'textOffset':_0x572fda}),_0x391ae8=_0x572fda,_0xf428b7+=_0x12e0ef,_0x22a40e=!0x1;}return _0x3045f2;}function I(_0x28bc3f,_0x546760,_0x3b1921,_0x52d3d4){let _0x1c643=_0x546760,_0x1752af=_0x28bc3f['length'];for(;_0x1752af-_0x1c643>0x1;){const _0x531164=Math['ceil']((_0x1c643+_0x1752af)/0x2);N(k(_0x28bc3f,_0x1c643,_0x531164),_0x3b1921,_0x52d3d4)?_0x1752af=_0x531164:_0x1c643=_0x531164;}return _0x1c643;}function N(_0x16da31,_0x256be0,_0x944923){for(const _0x51c99a of _0x16da31['getClientRects']())if(_0x51c99a['left']>=_0x256be0&&_0x51c99a['left']<_0x256be0+_0x944923)return!0x0;return!0x1;}function S(_0x4f5523){return _0x4f5523['nodeType']==Node['ELEMENT_NODE'];}function R(_0x56112c){return _0x56112c['nodeType']==Node['TEXT_NODE'];}const z=_0x12a705('px');class V extends _0x161193{constructor(){super();const _0x567faf=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x567faf['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x567faf['if']('isVisible','ck-hidden',_0x208747=>!_0x208747)],'style':{'left':_0x567faf['to']('left',_0x33c3ee=>z(_0x33c3ee)),'top':_0x567faf['to']('top',_0x293795=>z(_0x293795)),'width':_0x567faf['to']('width',_0x1813f3=>z(_0x1813f3))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4c7743){this['_viewCollection']=_0x4c7743['ui']['view']['body'];}['destroy'](){for(const _0x1f65b7 of this['_hiddenLines'])_0x1f65b7['destroy']();}['cleanLines'](){for(const _0x43aa28 of this['_visibleLines'])_0x43aa28['isVisible']=!0x1,this['_hiddenLines']['add'](_0x43aa28);this['_visibleLines']['clear']();}['showLine'](_0x5b5bdf,_0x263ad8,_0x391976,_0x107411){let _0x4782c0;this['_hiddenLines']['size']?(_0x4782c0=_0x11aa5f(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4782c0)):_0x4782c0=new V(),_0x4782c0['set']({'pageNumber':_0x107411,'left':_0x5b5bdf,'top':_0x263ad8,'width':_0x391976}),_0x4782c0['isVisible']=!0x0,this['_viewCollection']['has'](_0x4782c0)||this['_viewCollection']['add'](_0x4782c0),this['_visibleLines']['add'](_0x4782c0);}['setViewCollection'](_0x225fc4){for(const _0x19472d of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x19472d)&&this['_viewCollection']['remove'](_0x19472d);this['_viewCollection']=_0x225fc4;}}const L='ck-pagination_enabled';class c extends _0x7df6dc{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new E(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](L),this['on']('change:isEnabled',(_0x19e347,_0x4fb31c,_0x2939fb)=>{_0x2939fb||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x2939fb);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4a4f69){if(!this['isEnabled'])return;const _0xe00cf6=_0x4a4f69>0x1?this['_getPageBreakLineOffset'](_0x4a4f69-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xe00cf6-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5d57cf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x197b25=this['editor'],_0x1b6d24=this['_getAttachedDomRoot']();_0x1b6d24?(this['_scrollableEditingRootDomAncestor']&&_0x197b25['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x22a6d6){let _0x198f75=_0x22a6d6;do{_0x198f75=_0x198f75['parentElement'];const _0x4fc2ae=_0x6044d7['window']['getComputedStyle'](_0x198f75)['overflowY'];if('auto'==_0x4fc2ae||'scroll'==_0x4fc2ae)break;}while('BODY'!=_0x198f75['tagName']);return _0x198f75;}(_0x1b6d24),_0x197b25['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x368c0c(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x197b25['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x2e14a9=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x2e14a9['ui']['view']['listenTo'](_0x6044d7['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x2e14a9['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x15a875 of this['editor']['editing']['view']['domRoots']['values']())if(_0x15a875['ownerDocument']['body']['contains'](_0x15a875))return _0x15a875;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x1def16=this['_getAttachedDomRoot'](),_0x201e29=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x1def16||0x1==_0x201e29['length'])return void(this['pageNumber']=0x1);const _0x242802=new _0x20d66a(_0x1def16)['excludeScrollbarsAndBorders'](),_0x694032=new _0x20d66a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x13ef71=_0x694032['top']+_0x694032['height']/0x3;let _0x497e3e=!0x1;const _0x644ffa=[];for(let _0x2a8329=0x1;_0x2a8329<_0x201e29['length'];_0x2a8329++){const _0xafb901=this['_getPageBreakLineOffset'](_0x2a8329,_0x694032);if(!_0xafb901)continue;const _0x12b395=_0x694032['top']+_0xafb901-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x644ffa['push']({'pageOffsetTop':_0x12b395,'domRootRect':_0x242802,'domScrollableRect':_0x694032,'pageNumber':_0x2a8329}),_0x12b395>_0x13ef71&&!_0x497e3e&&(this['pageNumber']=_0x2a8329,_0x497e3e=!0x0);}this['_renderPageBreakLines'](_0x644ffa),_0x497e3e||(this['pageNumber']=_0x201e29['length']);}['_renderPageBreakLines'](_0xcaa940){const {scrollX:_0x5582a5,scrollY:_0x284723}=_0x6044d7['window'];if(_0xcaa940['length']){for(const {domScrollableRect:_0x5a264e,pageOffsetTop:_0xeb6003,domRootRect:_0x48bea9,pageNumber:_0x33981f}of _0xcaa940)_0x5a264e['top']<_0xeb6003&&_0xeb6003<_0x5a264e['bottom']&&this['linesRepository']['showLine'](_0x48bea9['left']+_0x5582a5,_0xeb6003+_0x284723,_0x48bea9['width'],_0x33981f+0x1);}}['_getPageBreakLineOffset'](_0x5a15c9,_0x310936=null){const _0x58d01c=this['_paginationLookupPlugin']['pageBreaks'][_0x5a15c9]['offset'];return _0x58d01c?(_0x310936||(_0x310936=new _0x20d66a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x58d01c-_0x310936['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x45d421,_0x33ef1c=!0x0){const _0xc06716=this['editor']['editing']['view'];_0xc06716['change'](_0x5a75ac=>{for(const _0x47d6da of _0xc06716['document']['roots'])_0x33ef1c?_0x5a75ac['addClass'](_0x45d421,_0x47d6da):_0x5a75ac['removeClass'](_0x45d421,_0x47d6da);});}}function g(_0x7f2de1,_0x1cfa36,..._0x587042){const t=_0x7f2de1['t'];switch(_0x1cfa36){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)',..._0x587042);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 _0x1cfa36;}}class s extends _0x7df6dc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[n,c];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xe2daa2=this['editor']['plugins']['get']('Pagination'),_0x58d4af=this['editor']['plugins']['get'](n),_0x3af30c=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0xe2daa2),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x3af30c),this['listenTo'](_0x58d4af,'change:pageBreaks',(_0x33c0aa,_0x3ae6fd,_0x30c1e0,_0x376991)=>{this['totalPages']=_0x30c1e0['length'],this['_updatePageBreakMarkers'](_0x30c1e0,_0x376991);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1356b6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11f217;for(const _0x2c6937 in _0x1356b6){const _0x298062=_0x2c6937,_0x43df3b=_0x1356b6[_0x298062];if('paginationLicenseKeyValid'==_0x43df3b||'paginationLicenseKeyInvalid'==_0x43df3b||'paginationLicenseKeyExpired'==_0x43df3b||'paginationLicenseKeyDomainLimit'==_0x43df3b||'paginationLicenseKeyNotAllowed'==_0x43df3b||'paginationLicenseKeyEvaluationLimit'==_0x43df3b||'paginationLicenseKeyTrialLimit'==_0x43df3b||'paginationLicenseKeyUsageLimit'==_0x43df3b){delete _0x1356b6[_0x298062],_0x11f217=_0x43df3b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x11f217&&_0x1356b6['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x11f217&&_0x1356b6['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x11f217&&_0x1356b6['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x11f217&&_0x1356b6['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x11f217&&_0x1356b6['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x11f217&&_0x1356b6['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x11f217&&_0x1356b6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x7cf801){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x7cf801));}['moveSelectionToPage'](_0x3fa8c4){if(!this['isEnabled'])return;const _0x3fdcf8=this['editor'],_0x1991f2=this['editor']['plugins']['get'](n)['pageBreaks'][_0x3fa8c4-0x1];_0x1991f2&&_0x3fdcf8['model']['change'](_0xf98c20=>{switch(_0x1991f2['type']){case'manual':{const _0x82b019=_0x3fdcf8['model']['schema']['getNearestSelectionRange'](_0x1991f2['modelRange']['end'],'forward');_0xf98c20['setSelection'](_0x82b019);break;}case'element':{const _0x45a33f=_0x3fdcf8['model']['schema']['getNearestSelectionRange'](_0x1991f2['modelRange']['start'],'forward');_0xf98c20['setSelection'](_0x45a33f);break;}case'text':{const _0x56b30f=_0x1991f2['modelRange']['start'];if(_0x56b30f['textNode']&&'\x20'===_0x56b30f['textNode']['data'][_0x56b30f['offset']]){const _0x39e9fa=_0xf98c20['createPositionAt'](_0x56b30f['parent'],_0x56b30f['offset']+0x1);_0xf98c20['setSelection'](_0x39e9fa);}else _0xf98c20['setSelection'](_0x1991f2['modelRange']);}}_0x3fdcf8['editing']['view']['focus']();});}['goToNextPage'](){const _0x65c5c4=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x65c5c4),this['scrollToPage'](_0x65c5c4);}['goToPreviousPage'](){const _0x6375e1=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x6375e1),this['scrollToPage'](_0x6375e1);}['_updatePageBreakMarkers'](_0x4c0854,_0xc76eae){const _0xeaa2f=this['editor']['model'];this['isEnabled']&&_0xeaa2f['change'](_0x160d88=>{for(let _0x6056b2=0x1;_0x6056b2<_0x4c0854['length'];_0x6056b2++){const _0x4137e2=_0x4c0854[_0x6056b2]['modelRange'],_0x3a0182='pagination:'+(_0x6056b2+0x1);_0xeaa2f['markers']['has'](_0x3a0182)?_0x160d88['updateMarker'](_0x3a0182,{'range':_0x4137e2}):_0x160d88['addMarker'](_0x3a0182,{'range':_0x4137e2,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5f573a=_0x4c0854['length'];_0x5f573a<_0xc76eae['length'];_0x5f573a++){const _0x2fe852='pagination:'+(_0x5f573a+0x1);_0xeaa2f['markers']['has'](_0x2fe852)&&_0x160d88['removeMarker'](_0x2fe852);}});}['_setUpDataDowncastConversion'](){const _0x47e272='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x12e6d4=>{_0x12e6d4['on']('addMarker:'+_0x47e272,(_0x5e06f6,{markerRange:_0x5bae85,markerName:_0x103e7d},_0x42eab2)=>{if(!_0x42eab2['options']['pagination'])return;if(!_0x42eab2['consumable']['consume'](_0x5bae85,_0x5e06f6['name']))return;const _0x6fdb3d=_0x5bae85['getContainedElement']();let _0x306141=_0x6fdb3d?_0x42eab2['mapper']['toViewElement'](_0x6fdb3d):null;if(!_0x306141){const _0x119f55=_0x5bae85['start'];if(_0x42eab2['schema']['checkChild'](_0x119f55,'$text')){const _0x26514a=_0x42eab2['mapper']['toViewPosition'](_0x119f55);_0x306141=_0x42eab2['writer']['createContainerElement']('span'),_0x306141['getFillerOffset']=()=>null,_0x42eab2['writer']['insert'](_0x26514a,_0x306141);}else{const _0x548656=_0x119f55['nodeAfter'];_0x306141=_0x42eab2['mapper']['toViewElement'](_0x548656);}}for(;_0x306141['parent']!==_0x306141['root']&&0x0===_0x306141['index'];)_0x306141=_0x306141['parent'];const _0x1484d1=_0x103e7d['substring'](0xb);_0x306141['hasClass']('page-break')||(_0x42eab2['writer']['setStyle']('page-break-before','always',_0x306141),_0x42eab2['writer']['setAttribute']('data-pagination-page',_0x1484d1,_0x306141),_0x42eab2['mapper']['bindElementToMarker'](_0x306141,_0x103e7d)),_0x5e06f6['stop']();});});}['_setupKeystrokes'](){const _0x4fe6c5=this['editor'];_0x4fe6c5['keystrokes']['set']('Shift+Pageup',(_0x4554c9,_0x54abd0)=>{this['goToPreviousPage'](),_0x54abd0();}),_0x4fe6c5['keystrokes']['set']('Shift+Pagedown',(_0x492beb,_0x30c8fa)=>{this['goToNextPage'](),_0x30c8fa();}),_0x4fe6c5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x4fe6c5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x4fe6c5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x4fe6c5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x5ebdc6){return _0x5ebdc6<0x1&&(_0x5ebdc6=0x1),_0x5ebdc6>this['totalPages']&&(_0x5ebdc6=this['totalPages']),_0x5ebdc6;}}class U extends _0x161193{['pageNumberView'];constructor(_0x2e17d8){super(_0x2e17d8);const _0x28e7b9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x18f95e(_0x2e17d8,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x340681=>g(_0x2e17d8,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x340681)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x15ec79=>!_0x15ec79),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x28e7b9['if']('isEnabled','ck-disabled',_0x25c2cf=>!_0x25c2cf)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x28e7b9['to']('totalPages')}]}]});}['render'](){super['render']();const _0xf00359=this['pageNumberView']['element'],_0x56098c=_0x1666d3=>{this['pageNumberView']['element']['value']=String(_0x1666d3);};_0x56098c(this['pageNumber']),this['on']('change:pageNumber',(_0x2266f7,_0x315271,_0x3c21ca)=>{_0x56098c(_0x3c21ca);}),this['listenTo'](_0xf00359,'keydown',(_0x4c440b,_0x617732)=>{if('ArrowUp'===_0x617732['key']||'ArrowDown'===_0x617732['key'])return void _0x617732['stopPropagation']();if(_0x617732['keyCode']!==_0x3e2b12['enter'])return;_0x617732['preventDefault']();const _0x2e601d=_0xf00359['valueAsNumber'];Number['isNaN'](_0x2e601d)?_0xf00359['value']=String(this['pageNumber']):(_0xf00359['checkValidity']()?this['pageNumber']=_0x2e601d:_0x2e601d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xf00359['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xf00359['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xf00359,'blur',()=>{_0xf00359['value']=String(this['pageNumber']);}),this['listenTo'](_0xf00359,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x7df6dc{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4761ac=this['editor'],_0x3c587c=_0x4761ac['plugins']['get']('PaginationEditing');_0x4761ac['ui']['componentFactory']['add']('pageNavigation',_0x268898=>{const _0x208393=new U(_0x268898);return _0x208393['bind']('pageNumber')['to'](_0x3c587c),_0x208393['bind']('totalPages')['to'](_0x3c587c),_0x208393['bind']('isEnabled')['to'](_0x3c587c),_0x208393['on']('navigation',(_0x39fd5a,_0x559dbe)=>{_0x3c587c['moveSelectionToPage'](_0x559dbe),_0x3c587c['scrollToPage'](_0x559dbe);}),_0x208393;}),_0x4761ac['ui']['componentFactory']['add']('nextPage',_0x4f711d=>{const _0x403a8d=new _0x522350(_0x4f711d);return _0x403a8d['isEnabled']=!0x0,_0x403a8d['label']=g(_0x4761ac['locale'],'Go\x20to\x20next\x20page'),_0x403a8d['icon']=_0x2c3d62,_0x403a8d['tooltip']=!0x0,_0x403a8d['keystroke']='Shift+PageDown',_0x403a8d['bind']('isEnabled')['to'](_0x3c587c),this['listenTo'](_0x403a8d,'execute',()=>{_0x3c587c['goToNextPage']();}),_0x403a8d;}),_0x4761ac['ui']['componentFactory']['add']('previousPage',_0x4da119=>{const _0x58e544=new _0x522350(_0x4da119);return _0x58e544['isEnabled']=!0x0,_0x58e544['label']=g(_0x4761ac['locale'],'Go\x20to\x20previous\x20page'),_0x58e544['icon']=_0x4876ff,_0x58e544['tooltip']=!0x0,_0x58e544['keystroke']='Shift+PageUp',_0x58e544['bind']('isEnabled')['to'](_0x3c587c),this['listenTo'](_0x58e544,'execute',()=>{_0x3c587c['goToPreviousPage']();}),_0x58e544;});}}class a extends _0x7df6dc{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x4a7833){super(_0x4a7833),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x305c45=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x305c45),this['bind']('totalPages')['to'](_0x305c45),_0x5d57cf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3b7737){this['editor']['plugins']['get'](s)['scrollToPage'](_0x3b7737);}}export{a as Pagination,c as PaginationRenderer};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x1d717e=>0x1!=_0x1d717e}};
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':_0x5e3a98=>0x1!=_0x5e3a98}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x415b78=>{const {af:{dictionary:_0x3da1d5,getPluralForm:_0x5c80fb}}={'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':_0x589f45=>0x1!=_0x589f45}};_0x415b78['af']||={'dictionary':{},'getPluralForm':null},_0x415b78['af']['dictionary']=Object['assign'](_0x415b78['af']['dictionary'],_0x3da1d5),_0x415b78['af']['getPluralForm']=_0x5c80fb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe7d92f=>{const {af:{dictionary:_0x45818a,getPluralForm:_0x33f2d1}}={'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':_0x2a71ba=>0x1!=_0x2a71ba}};_0xe7d92f['af']||={'dictionary':{},'getPluralForm':null},_0xe7d92f['af']['dictionary']=Object['assign'](_0xe7d92f['af']['dictionary'],_0x45818a),_0xe7d92f['af']['getPluralForm']=_0x33f2d1;})(window['CKEDITOR_TRANSLATIONS']||={});