@ckeditor/ckeditor5-pagination 45.2.1-alpha.9 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +2 -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 +8 -8
  150. package/src/index.d.ts +2 -2
  151. package/src/index.js +1 -1
  152. package/src/legacyerrors.js +1 -1
  153. package/src/pagination.d.ts +3 -3
  154. package/src/pagination.js +1 -1
  155. package/src/paginationediting.d.ts +3 -3
  156. package/src/paginationediting.js +1 -1
  157. package/src/paginationlookup.d.ts +3 -3
  158. package/src/paginationlookup.js +1 -1
  159. package/src/paginationrenderer.d.ts +2 -2
  160. package/src/paginationrenderer.js +1 -1
  161. package/src/paginationui.d.ts +1 -1
  162. package/src/paginationui.js +1 -1
  163. package/src/ui/linesrepository.d.ts +1 -1
  164. package/src/ui/linesrepository.js +1 -1
  165. package/src/ui/lineview.d.ts +1 -1
  166. package/src/ui/lineview.js +2 -1
  167. package/src/ui/pagenavigatorview.d.ts +1 -1
  168. package/src/ui/pagenavigatorview.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>W});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=p;!function(t){const e=p,n=t();for(;;)try{if(423940===parseInt(e(537))/1*(-parseInt(e(491))/2)+-parseInt(e(422))/3+-parseInt(e(403))/4+-parseInt(e(413))/5+parseInt(e(402))/6*(-parseInt(e(521))/7)+-parseInt(e(527))/8*(-parseInt(e(495))/9)+parseInt(e(419))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(u);class a extends t.Plugin{[r(505)]=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(461)](),200);[r(474)]=null;static get[r(583)](){return r(547)}static get[r(564)](){return!0}static get[r(504)](){return!0}[r(533)](){const t=r;if(this[t(579)]({pageBreaks:[]}),!this[t(499)][t(507)][t(559)](t(460)))return void(0,o.logWarning)(t(513),this[t(499)][t(507)]);const e=this[t(499)][t(578)][t(559)](t(424));this[t(437)](t(490)).to(e),this[t(499)].ui[t(500)](t(431),()=>this[t(570)]()),this.on(t(526),(e,n,i)=>{i&&this[t(505)]()})}[r(450)](){!async function(t){const e=m([107,70,65,117,120,112,71,113,89,53,75,79,67,102,87,83,101,115,68,72,114,78,73,98,100,109,86,90,48,80,88,77,103,110,54,104,118,85,69,50,111,99,108,116,84,51,97,119,57,122,121,106,66,74,76,56,49,105,82,52,81,55]),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 f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=p;return t[e(485)](t=>String[e(458)](t))[e(545)]("")}!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([107]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](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:1750636800;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=p,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(405)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(440)](){const t=r;super[t(440)](),this[t(474)]&&(this[t(505)][t(404)](),this[t(474)][t(440)](),this[t(474)][t(421)][t(515)]())}[r(570)](){const t=r,n=this[t(499)],i=n[t(501)][t(415)],o=this[t(400)]();if(!o||0===o[t(550)])return void n.ui[t(500)](t(523),()=>this[t(570)]());const{pageWidth:s,pageHeight:a}=n[t(507)][t(559)](t(460)),{top:c,left:u,bottom:l,right:p}=this[t(506)];this[t(474)]=new e.View(n[t(542)]);const f=this[t(474)];f[t(579)](t(393),""),f[t(466)]({tag:t(412),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(446)+a+t(498)+c+t(498)+l+" )",minWidth:t(565),minHeight:t(565),padding:"0 "+p+t(511)+u,columnGap:t(392),border:0,boxSizing:t(524),columnCount:t(565),columnFill:t(565),overflow:t(575),position:t(572),top:t(512),left:t(512)},tabindex:"-1",class:f[t(489)].to(t(393))}}),f[t(471)](),o[t(434)][t(463)](f[t(421)],o[t(398)]),this[t(423)](i,t(471),()=>this[t(505)](),{priority:t(414)}),this[t(505)]()}[r(400)](){const t=r;for(const e of this[t(499)][t(501)][t(415)][t(418)][t(549)]())if(e[t(452)][t(566)][t(574)](e))return e;return null}[r(461)](){const t=r;if(!this[t(490)])return Promise[t(394)]();const e=this[t(499)][t(501)][t(415)],n=this[t(474)],i=this[t(400)]();if(!i)return Promise[t(394)]();for(n[t(393)]=[t(411),t(497),...i[t(540)]][t(545)](" ");n[t(421)][t(454)];)n[t(421)][t(454)][t(515)]();const o=Array[t(395)](e[t(418)]);o[t(496)](([,e],[,n])=>e[t(433)](n)==Node[t(420)]?1:-1);for(const[e,i]of o){const o=i[t(560)](!0);t(465)in o&&o[t(465)][t(581)](),o[t(425)]="",o[t(443)]("id"),o[t(552)][t(510)]=e,n[t(421)][t(448)](o)}return function(e){const n=t;return Promise[n(554)](e[n(485)](t=>{return Promise[n(449)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(395)](n[t(421)][t(534)](t(456))))[t(453)](()=>this[t(430)]())}[r(430)](){const t=r,e=this[t(474)][t(421)];if(!e[t(452)][t(566)][t(574)](e))return;const n=new o.Rect(e)[t(482)](),i=o.global[t(536)][t(531)](e),s=parseFloat(i[t(543)])+parseFloat(i[t(551)]),a=Math[t(462)](n[t(494)]+100-s),c=m(e,Math[t(462)](n[t(522)]-e[t(535)]),a,n[t(479)])[t(485)](e=>this[t(508)](e));c[t(557)](t=>!!t)&&(this[t(480)]=c)}[r(508)](t){const e=r,n=this[e(499)][e(501)][e(415)],i=this[e(499)][e(501)][e(529)],o=n[e(544)],s=t[e(503)][e(396)](),a=this[e(474)][e(421)][e(509)][s][e(552)][e(510)],c=n[e(519)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(503)]){if(!o)return null;o=o[i(509)][t]}return o}(c,t);if(!u)return null;const l=o[e(556)](u,t[e(555)]||0);return l?e(571)==t[e(488)]?this[e(530)](l,u):e(436)==t[e(488)]&&i[e(477)](l)[e(483)]?this[e(475)](l,u,t[e(555)]):this[e(416)](l,u,t[e(483)]):null}[r(530)](t,e){const n=r,i=this[n(499)][n(580)],o=this[n(499)][n(501)][n(529)][n(541)](t[n(502)]),s=i[n(563)](o);return new c({type:n(571),modelRange:s,domNode:e,offset:0})}[r(475)](t,e,n){const i=r,o=this[i(499)][i(580)],s=this[i(499)][i(501)][i(529)],a=this[i(499)][i(501)][i(415)][i(544)];if(n>=e[i(397)])return null;const u=s[i(477)](t),p=o[i(435)](u),f=s[i(553)](t),d=a[i(426)](f);return new c({type:i(436),modelRange:p,domNode:e,offset:l(e,n,d)})}[r(416)](t,e,n){const i=r,s=this[i(499)][i(580)],a=this[i(499)][i(501)],u=a[i(529)],l=a[i(415)][i(544)],p=u[i(553)](t),f=u[i(541)](p),h=function(t){const e=i,n=t[e(502)],o=n[e(532)][e(562)][e(580)],s=n[e(573)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(407)))return r;if(!o[e(520)](n)[e(576)](t))return r;r=n}}(s[i(520)](f))||f;let g=u[i(525)](h),m=s[i(563)](h);const b=s[i(520)](h)[i(439)];if(b&&b.is(i(421),i(568))){const t=u[i(525)](b),e=l[i(426)](t),n=o.global[i(536)][i(531)](e)[i(481)];i(522)!=n&&i(410)!=n||(m=s[i(563)](b))}for(;g[i(502)]!==g[i(532)]&&0===g[i(518)];)g=g[i(502)];const w=new o.Rect(y(e)?e:d(e)),k=n?w[i(479)]-n:0,v=l[i(426)](g),I=new o.Rect(v);return new c({type:i(421),modelRange:m,domNode:v,offset:Math[i(476)](k)?k+w[i(417)]-I[i(417)]:0})}get[r(506)](){const t=r,e=this[t(499)][t(507)][t(559)](t(445));return Object[t(455)]({top:t(484),bottom:t(484),left:t(484),right:t(484)},e)}static[r(528)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(488)];[r(539)];[r(427)];[r(472)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(488)]=t,this[o(539)]=e,this[o(427)]=n,this[o(472)]=i}get[r(483)](){const t=r;if(!this[t(427)][t(452)][t(566)][t(574)](this[t(427)]))return 0;const e=new o.Rect(y(this[t(427)])?this[t(427)]:d(this[t(427)]));return t(571)==this[t(488)]?e[t(417)]+e[t(479)]/2:e[t(417)]+this[t(472)]}}function u(){const t=["display","render","_offset","entries","_pagesContainer","_mapTextPageStarterInfoToPageBreakInfo","round","toModelPosition","startContainer","height","pageBreaks","float","excludeScrollbarsAndBorders","offset","10mm","map","ck-fake-selection-container","addEventListener","type","bindTemplate","isEnabled","394010ddBdQG","previousSibling","complete","width","9zMTcyo","sort","ck-pagination-view"," - ","editor","once","editing","parent","path","isPremiumPlugin","_recalculatePageBreaksDebounced","_configuredPaddings","config","_mapPageStarterInfoToPageBreakInfo","childNodes","rootName"," 0 ","-99999px","pagination-config-not-found","setEnd","remove","load","indexOf","index","getDomRoot","createPositionBefore","4724489YSNMTS","left","update","border-box","toViewElement","change:isEnabled","679440jaNDFK","_findPageStarterInfos","mapper","_mapManualPageStarterInfoToPageBreakInfo","getComputedStyle","root","init","querySelectorAll","scrollLeft","window","1CUQMCU","bottom","modelRange","classList","toModelElement","locale","paddingLeft","domConverter","join","setStart","PaginationLookup","TEXT_NODE","values","childElementCount","paddingRight","dataset","findMappedViewAncestor","all","textOffset","domPositionToView","every","table-cell","get","cloneNode","page-break","document","createRangeOn","isOfficialPlugin","auto","body","selectNodeContents","imageBlock","startOffset","_onUiReady","manual","absolute","getAncestors","contains","hidden","isTouching","position","plugins","set","model","clear","offsetParent","pluginName","100px","class","resolve","from","shift","length","nextSibling","style","_getAttachedDomRoot","removeEventListener","6RqQQEF","1241840CFWSYW","cancel","href","hasAttribute","rootElement","figure.image","parentElement","right","ck-reset","div","2919025eRToQC","low","view","_mapElementPageStarterInfoToPageBreakInfo","top","domRoots","23350500KCYOUz","DOCUMENT_POSITION_PRECEDING","element","689529OAbRrP","listenTo","PaginationEditing","className","mapViewToDom","_domNode","nextElementSibling","nodeType","_updatePageBreaksData","ready","push","compareDocumentPosition","parentNode","createRange","text","bind","ceil","nodeBefore","destroy","error","previousElementSibling","removeAttribute","closest","pagination.pageMargins","calc( ","getClientRects","append","race","afterInit","endContainer","ownerDocument","then","firstChild","assign","img","table-row","fromCharCode","ELEMENT_NODE","pagination","_recalculatePageBreaks","floor","insertBefore","selectNode","attributeStyleMap","setTemplate",".page-break","none","endOffset"];return(u=function(){return t})()}function l(t,e,n){const i=r,s=d(t),a=function(t){const e=p,n=o.global[e(562)][e(435)]();return n[e(567)](t),n}(n);let c;c=0==e?g(a[i(478)],a[i(569)],t[i(434)],Array[i(395)](t[i(434)][i(509)])[i(517)](t)):g(a[i(478)],a[i(569)],t,e);const u=g(t,e,a[i(451)],a[i(469)]),l=new o.Rect(c)[i(538)];return(new o.Rect(u)[i(417)]+l)/2-new o.Rect(s)[i(417)]}function p(t,e){const n=u();return(p=function(t,e){return n[t-=392]})(t,e)}function f(t){const e=r;return t[e(406)](e(494))&&t[e(406)](e(479))?Promise[e(394)]():new Promise(n=>{const i=e;function o(){const e=p;t[e(401)](e(516),o),t[e(401)](e(441),o),n()}t[i(493)]?n():(t[i(487)](i(516),o),t[i(487)](i(441),o))})}function d(t){const e=r,n=o.global[e(562)][e(435)]();return n[e(464)](t),n}function h(t,e,n){const i=r,s=o.global[i(562)][i(435)]();return s[i(546)](t,e),s[i(514)](t,n),s}function g(t,e,n,i){const s=r,a=o.global[s(562)][s(435)]();return a[s(546)](t,e),a[s(514)](n,i),a}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(509)][s(473)]()){let t=[];y(c)&&c[s(582)]&&!c[s(399)][s(577)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(397)]&&(a[s(432)](...t),e+=t[s(397)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(492)])&&y(l)&&Boolean(l[c(540)][c(574)](c(561))||l[c(444)](c(467)))&&(u[c(432)]({type:c(571),offset:0,path:[e-1]}),a=!0),c(457)==o.global[c(536)][c(531)](t)[c(470)]){let i=0,o=!1;for(const e of t[c(447)]())i+=e[c(479)],e[c(522)]>=n&&(o=!0);if(i<s&&o)return u[c(432)]({type:c(421),offset:0,path:[e]}),u}const p=t[c(444)](c(408));if(p&&function(t){const e=c;let n=!1;const i=t[e(409)][e(552)][e(510)],s=t[e(428)],r=t[e(442)],a=s&&o.global[e(536)][e(531)](s)[e(481)],u=s&&e(486)===s[e(425)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(468)!==a&&(n=!0),!n}(p)){const t=o.global[c(536)][c(531)](p)[c(481)];if(c(522)==t||c(410)==t)return u}const f=m(t,n,i,s,a);if(f[c(397)]){for(const t of f)u[c(432)]({type:t[c(488)],offset:t[c(483)],textOffset:t[c(555)],path:[e,...t[c(503)]]}),n+=i,a=!1;return u}return u[c(432)](...function(t,e,n,i,s){const r=c,a=[];if(r(558)==o.global[r(536)][r(531)](t)[r(470)])return[];const u=[];for(const e of t[r(447)]())if(e[r(522)]>=n){for(const t of u)t[r(479)]+=e[r(479)];u[r(432)]({height:e[r(479)]}),n+=i}for(const t of u)s||a[r(432)]({type:r(421),offset:t[r(479)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=d(t),c=[];let u=0;for(const r of a[s(447)]())if(r[s(522)]>=n){const r=k(t,u,n,i);o||c[s(432)]({type:s(436),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function k(t,e,n,i){const o=r;let s=e,a=t[o(397)];for(;a-s>1;){const e=Math[o(438)]((s+a)/2);v(h(t,s,e),n,i)?a=e:s=e}return s}function v(t,e,n){const i=r;for(const o of t[i(447)]())if(o[i(522)]>=e&&o[i(522)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(429)]==Node[e(459)]}function I(t){const e=r;return t[e(429)]==Node[e(548)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),A=n(262),T=n.n(A),E=n(667),S=n.n(E),R=n(357),C=n.n(R),L=n(371),O={attributes:{"data-cke":!0}};O.setAttributes=S(),O.insert=T().bind(null,"head"),O.domAPI=N(),O.insertStyleElement=C();x()(L.A,O);L.A&&L.A.locals&&L.A.locals;function D(t,e){const n=K();return(D=function(t,e){return n[t-=289]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(340079===-parseInt(e(297))/1+-parseInt(e(302))/2+parseInt(e(306))/3*(-parseInt(e(308))/4)+parseInt(e(309))/5*(parseInt(e(293))/6)+-parseInt(e(294))/7+parseInt(e(292))/8*(-parseInt(e(303))/9)+-parseInt(e(300))/10*(-parseInt(e(296))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);const M=(0,o.toUnit)("px");class B extends e.View{constructor(){const t=D;super();const e=this[t(289)];this[t(304)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(299)]({tag:t(298),attributes:{"data-page-number":e.to(t(310)),class:["ck",t(307),e.if(t(295),t(291),t=>!t)],style:{left:e.to(t(290),t=>M(t)),top:e.to(t(305),t=>M(t)),width:e.to(t(301),t=>M(t))}}})}}function K(){const t=["ck-pagination-view-line","4zdoWGN","397340AHkXUt","pageNumber","bindTemplate","left","ck-hidden","428344igzWif","48cEDYUR","3242064QcCOds","isVisible","12710280qJFUvr","386349tMKqkK","div","setTemplate","10jhyuXb","width","592788wcAMHU","18CwSbin","set","top","594492xzUlve"];return(K=function(){return t})()}const G=V;!function(t){const e=V,n=t();for(;;)try{if(194670===-parseInt(e(306))/1*(-parseInt(e(331))/2)+-parseInt(e(323))/3+-parseInt(e(325))/4*(-parseInt(e(324))/5)+-parseInt(e(322))/6+-parseInt(e(307))/7*(parseInt(e(313))/8)+parseInt(e(314))/9+parseInt(e(320))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(z);class U{[G(332)];[G(305)]=new Set;[G(308)]=new Set;constructor(t){const e=G;this[e(332)]=t.ui[e(315)][e(311)]}[G(318)](){const t=G;for(const e of this[t(308)])e[t(318)]()}[G(327)](){const t=G;for(const e of this[t(305)])e[t(321)]=!1,this[t(308)][t(309)](e);this[t(305)][t(317)]()}[G(326)](t,e,n,i){const s=G;let r;this[s(308)][s(329)]?(r=(0,o.first)(this[s(308)][s(316)]()),this[s(308)][s(328)](r)):r=new B,r[s(312)]({pageNumber:i,left:t,top:e,width:n}),r[s(321)]=!0,this[s(332)][s(330)](r)||this[s(332)][s(309)](r),this[s(305)][s(309)](r)}[G(310)](t){const e=G;for(const t of[...this[e(305)],...this[e(308)]])this[e(332)][e(330)](t)&&this[e(332)][e(319)](t);this[e(332)]=t}}function V(t,e){const n=z();return(V=function(t,e){return n[t-=305]})(t,e)}function z(){const t=["setViewCollection","body","set","2117144zzvEFT","951003TqpriL","view","values","clear","destroy","remove","1284580TJxTmL","isVisible","601866mPRfIz","303072aFTeNu","1294235trHxnj","4qqOVRK","showLine","cleanLines","delete","size","has","167676lASZAl","_viewCollection","_visibleLines","2aFlfms","7kAdQPm","_hiddenLines","add"];return(z=function(){return t})()}const j=F;!function(t){const e=F,n=t();for(;;)try{if(522180===-parseInt(e(349))/1*(parseInt(e(334))/2)+-parseInt(e(350))/3*(parseInt(e(305))/4)+parseInt(e(366))/5*(-parseInt(e(312))/6)+parseInt(e(342))/7+parseInt(e(368))/8*(-parseInt(e(321))/9)+-parseInt(e(304))/10+-parseInt(e(341))/11*(-parseInt(e(351))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const q=j(332);function H(){const t=["document","scrollTo","auto","change:pageBreaks","update","2118zMhfAH","contains","cleanLines","isPremiumPlugin","editor","stopListening","change:isEnabled","plugins","bottom","171IdcyHi","domRoots","values","PaginationEditing","isOfficialPlugin","scrollTop","listenTo","_updatePageBreakLines","isEnabled","_renderPageBreakLines","_getPageBreakLineOffset","ck-pagination_enabled","body","50Octceb","isMotionReduced","get","length","editing","_resizeObserver","destroy","11WeSMZO","2145668uYVBWr","removeClass","ownerDocument","_toggleEditingRootsClass","scroll","scrollLeft","showLine","977tsdrUL","6TCvNtw","27471084kMRBPR","getComputedStyle","PaginationLookup","parentElement","view","pageBreaks","offset","_paginationLookupPlugin","setupScrollableAncestor","overflowY","linesRepository","window","smooth","height","change","1945IBrXHd","push","258472cXQzCj","roots","bind","PaginationRenderer","left","_getAttachedDomRoot","tagName","pluginName","instant","BODY","once","pageNumber","ready","top","_scrollableEditingRootDomAncestor","width","init","addClass","resize","excludeScrollbarsAndBorders","scrollToPage","set","9615340KokEzM","672908wLAJqK","_onUiReady"];return(H=function(){return t})()}function F(t,e){const n=H();return(F=function(t,e){return n[t-=298]})(t,e)}class W extends t.Plugin{[j(361)];[j(382)]=null;[j(339)]=null;[j(358)];static get[j(375)](){return j(371)}static get[j(325)](){return!0}static get[j(315)](){return!0}[j(298)](){const t=j;this[t(303)]({pageNumber:1}),this[t(361)]=new U(this[t(316)]),this[t(382)]=null,this[t(339)]=null,this[t(358)]=this[t(316)][t(319)][t(336)](t(353)),this[t(370)](t(329)).to(this[t(316)][t(319)][t(336)](t(324))),this[t(316)].ui[t(378)](t(380),()=>this[t(306)]()),this[t(345)](q),this.on(t(318),(e,n,i)=>{const o=t;i||this[o(361)][o(314)](),this[o(345)](q,i)})}[j(340)](){const t=j;this[t(345)](q,!1),this[t(361)][t(340)](),this[t(382)]=null,this[t(339)]&&this[t(339)][t(340)]()}[j(302)](t){const e=j;if(!this[e(329)])return;const n=t>1?this[e(331)](t-1):0;this[e(382)][e(308)]({top:n-10,left:this[e(382)][e(347)],behavior:o.env[e(335)]?e(376):e(363)})}[j(359)](){const t=j,e=this[t(316)],n=this[t(373)]();n?(this[t(382)]&&e.ui[t(355)][t(317)](this[t(382)],t(346)),this[t(382)]=function(e){const n=t;let i=e;do{i=i[n(354)];const t=o.global[n(362)][n(352)](i)[n(360)];if(n(309)==t||n(346)==t)break}while(n(377)!=i[n(374)]);return i}(n),e.ui[t(355)][t(327)](this[t(382)],t(346),()=>{this[t(328)]()},{usePassive:!0}),this[t(339)]&&this[t(339)][t(340)](),this[t(339)]=new o.ResizeObserver(this[t(382)],()=>{this[t(328)]()})):e.ui[t(378)](t(311),()=>this[t(359)]())}[j(306)](){const t=j,e=this[t(316)];this[t(373)]()?(this[t(359)](),e.ui[t(355)][t(327)](o.global[t(362)],t(300),()=>this[t(328)]()),this[t(327)](this[t(358)],t(310),()=>this[t(328)]())):e.ui[t(378)](t(311),()=>this[t(306)]())}[j(373)](){const t=j;for(const e of this[t(316)][t(338)][t(355)][t(322)][t(323)]())if(e[t(344)][t(333)][t(313)](e))return e;return null}[j(328)](){const t=j;if(!this[t(329)])return;const e=this[t(373)](),n=this[t(358)][t(356)];if(this[t(361)][t(314)](),!e||1==n[t(337)])return void(this[t(379)]=1);const i=new o.Rect(e)[t(301)](),s=new o.Rect(this[t(382)])[t(301)](),r=s[t(381)]+s[t(364)]/3;let a=!1;const c=[];for(let e=1;e<n[t(337)];e++){const n=this[t(331)](e,s);if(!n)continue;const o=s[t(381)]+n-this[t(382)][t(326)];c[t(367)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(379)]=e,a=!0)}this[t(330)](c),a||(this[t(379)]=n[t(337)])}[j(330)](t){const e=j,{scrollX:n,scrollY:i}=o.global[e(362)];if(t[e(337)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(381)]<s&&s<o[e(320)]&&this[e(361)][e(348)](r[e(372)]+n,s+i,r[e(383)],a+1)}[j(331)](t,e=null){const n=j,i=this[n(358)][n(356)][t][n(357)];return i?(e||(e=new o.Rect(this[n(382)])[n(301)]()),i-e[n(381)]+this[n(382)][n(326)]):0}[j(345)](t,e=!0){const n=j,i=this[n(316)][n(338)][n(355)];i[n(365)](o=>{const s=n;for(const n of i[s(307)][s(369)])e?o[s(299)](t,n):o[s(343)](t,n)})}}function 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 J=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=S(),Y.insert=T().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=C();x()(J.A,Y);J.A&&J.A.locals&&J.A.locals;const Z=X;function X(t,e){const n=tt();return(X=function(t,e){return n[t-=378]})(t,e)}!function(t){const e=X,n=t();for(;;)try{if(480890===parseInt(e(477))/1*(-parseInt(e(413))/2)+parseInt(e(451))/3*(parseInt(e(442))/4)+parseInt(e(462))/5*(-parseInt(e(397))/6)+-parseInt(e(461))/7*(-parseInt(e(482))/8)+-parseInt(e(398))/9*(parseInt(e(465))/10)+-parseInt(e(380))/11*(-parseInt(e(474))/12)+-parseInt(e(460))/13*(-parseInt(e(480))/14))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(tt);class $ extends t.Plugin{[Z(404)];[Z(417)];static get[Z(441)](){return Z(412)}static get[Z(472)](){return!0}static get[Z(396)](){return!0}static get[Z(387)](){return[a,W]}[Z(439)](){const t=Z;this[t(483)]({pageNumber:1,totalPages:1});const e=this[t(390)][t(453)][t(494)](t(499)),n=this[t(390)][t(453)][t(494)](a),i=this[t(390)][t(453)][t(494)](W);this[t(421)](t(403)).to(e),this[t(379)](),this[t(421)](t(381)).to(i),this[t(419)](n,t(395),(e,n,i,o)=>{const s=t;this[s(401)]=i[s(454)],this[s(388)](i,o)}),this[t(407)](),this[t(404)]=this[t(390)][t(491)][t(494)](t(404));const o=this[t(390)];this[t(417)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(447)==s||e(504)==s||e(440)==s||e(416)==s||e(415)==s||e(503)==s||e(496)==s||e(430)==s){delete o[i],n=s,clearInterval(this[e(417)]),this[e(417)]=void 0;break}}e(504)==n&&o[e(409)](e(408)),e(440)==n&&o[e(409)](e(501)),e(416)==n&&o[e(409)](e(458)),e(415)==n&&o[e(409)](e(469),e(499)),e(503)==n&&o[e(409)](e(476)),e(496)==n&&o[e(409)](e(484)),e(430)==n&&o[e(409)](e(456))},1e3)}[Z(459)](){const t=Z;super[t(459)](),this[t(417)]&&clearInterval(this[t(417)])}[Z(506)](t){const e=Z;this[e(403)]&&this[e(390)][e(453)][e(494)](W)[e(506)](this[e(470)](t))}[Z(425)](t){const e=Z;if(!this[e(403)])return;const n=this[e(390)],i=this[e(390)][e(453)][e(494)](a)[e(498)][t-1];i&&n[e(468)][e(450)](t=>{const o=e;switch(i[o(427)]){case o(414):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(411)],o(436));t[o(445)](e);break}case o(508):{const e=n[o(468)][o(455)][o(422)](i[o(490)][o(485)],o(436));t[o(445)](e);break}case o(438):{const e=i[o(490)][o(485)];if(e[o(389)]&&" "===e[o(389)][o(446)][e[o(444)]]){const n=t[o(431)](e[o(463)],e[o(444)]+1);t[o(445)](n)}else t[o(445)](i[o(490)])}}n[o(394)][o(435)][o(466)]()})}[Z(448)](){const t=Z,e=this[t(470)](this[t(381)]+1);this[t(425)](e),this[t(506)](e)}[Z(488)](){const t=Z,e=this[t(470)](this[t(381)]-1);this[t(425)](e),this[t(506)](e)}[Z(388)](t,e){const n=Z,i=this[n(390)][n(468)];this[n(403)]&&i[n(450)](o=>{const s=n;for(let e=1;e<t[s(454)];e++){const n=t[e][s(490)],r=s(386)+(e+1);i[s(467)][s(489)](r)?o[s(405)](r,{range:n}):o[s(486)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(454)];n<e[s(454)];n++){const t=s(386)+(n+1);i[s(467)][s(489)](t)&&o[s(393)](t)}})}[Z(379)](){const t=Z,e=t(481);this[t(390)][t(429)][t(410)](t(473))[t(400)](n=>{const i=t;n.on(i(383)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(428)][s(481)])return;if(!o[s(434)][s(457)](e,t[s(423)]))return;const r=e[s(384)]();let a=r?o[s(492)][s(424)](r):null;if(!a){const t=e[s(485)];if(o[s(455)][s(433)](t,s(418))){const e=o[s(492)][s(478)](t);a=o[s(475)][s(497)](s(505)),a[s(493)]=()=>null,o[s(475)][s(378)](e,a)}else{const e=t[s(392)];a=o[s(492)][s(424)](e)}}for(;a[s(463)]!==a[s(449)]&&0===a[s(432)];)a=a[s(463)];const c=n[s(426)](11);a[s(399)](s(406))||(o[s(475)][s(502)](s(495),s(402),a),o[s(475)][s(452)](s(500),c,a),o[s(492)][s(479)](a,n)),t[s(464)]()})})}[Z(407)](){const t=Z,e=this[t(390)];e[t(471)][t(483)](t(382),(e,n)=>{this[t(488)](),n()}),e[t(471)][t(483)](t(385),(e,n)=>{this[t(448)](),n()}),e[t(420)][t(487)]({id:t(481),label:Q(e[t(443)],t(391)),keystrokes:[{label:Q(e[t(443)],t(507)),keystroke:t(382),mayRequireFn:!0},{label:Q(e[t(443)],t(437)),keystroke:t(385),mayRequireFn:!0}]})}[Z(470)](t){const e=Z;return t<1&&(t=1),t>this[e(401)]&&(t=this[e(401)]),t}}function tt(){const t=["writer","evaluationLimit","283odzfwx","toViewPosition","bindElementToMarker","29554nZOEKL","pagination","16000RDYIPa","set","trialLimit","start","addMarker","addKeystrokeInfoGroup","goToPreviousPage","has","modelRange","config","mapper","getFillerOffset","get","page-break-before","paginationLicenseKeyTrialLimit","createContainerElement","pageBreaks","Pagination","data-pagination-page","expired","setStyle","paginationLicenseKeyEvaluationLimit","paginationLicenseKeyInvalid","span","scrollToPage","Go to the previous page (also move selection)","element","insert","_setUpDataDowncastConversion","6697867kAHQNC","pageNumber","Shift+Pageup","addMarker:","getContainedElement","Shift+Pagedown","pagination:","requires","_updatePageBreakMarkers","textNode","editor","Keystrokes for navigating through documents","nodeAfter","removeMarker","editing","change:pageBreaks","isPremiumPlugin","186CyGrMY","8146701thxQKr","hasClass","add","totalPages","always","isEnabled","licenseKey","updateMarker","page-break","_setupKeystrokes","invalid","_showLicenseError","for","end","PaginationEditing","4532jZfvfS","manual","paginationLicenseKeyNotAllowed","paginationLicenseKeyDomainLimit","_licenseKeyCheckInterval","$text","listenTo","accessibility","bind","getNearestSelectionRange","name","toViewElement","moveSelectionToPage","substring","type","options","conversion","paginationLicenseKeyUsageLimit","createPositionAt","index","checkChild","consumable","view","forward","Go to the next page (also move selection)","text","init","paginationLicenseKeyExpired","pluginName","4BZUAOL","locale","offset","setSelection","data","paginationLicenseKeyValid","goToNextPage","root","change","2550813erJESZ","setAttribute","plugins","length","schema","usageLimit","consume","domainLimit","destroy","5213XnocKm","1897hLpkrK","132310beJomB","parent","stop","10QsWhsu","focus","markers","model","featureNotAllowed","_validatePageNumber","keystrokes","isOfficialPlugin","dataDowncast","12PjnfUn"];return(tt=function(){return t})()}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=T().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=rt;function st(){const t=["render","pageNumberView","blur","4976NwvRjw","pageNumber","navigation","change:pageNumber","20505xPrfrc","numeric","412955ATnAvY","120cEgDeQ","listenTo","ArrowDown","bind","keydown","enter","2717580iJocDf","span","4452CncKZo","ck-page-navigator","valueAsNumber","div","7075854qOUXed","select","max","isReadOnly","set","element","totalPages","943140BxXAFA","preventDefault","11KeWIRM","ariaLabel","10uUsJih","setTemplate","bindTemplate","stopPropagation","1818567LzwguW","isEnabled","key","Current page number (from 1 to %0)","isNaN","ck-disabled","4VQZRBq","value","firstChild","checkValidity","focus","fire","keyCode","ArrowUp"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=285]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(443297===-parseInt(e(303))/1*(parseInt(e(286))/2)+parseInt(e(331))/3+-parseInt(e(310))/4+parseInt(e(301))/5*(parseInt(e(304))/6)+parseInt(e(312))/7*(parseInt(e(297))/8)+parseInt(e(316))/9*(parseInt(e(327))/10)+-parseInt(e(325))/11*(-parseInt(e(323))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[ot(295)];constructor(t){const n=ot;super(t);const i=this[n(329)];this[n(320)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(295)]=new e.InputNumberView(t,{min:1,step:1}),this[n(295)][n(320)]({inputMode:n(302),tabIndex:-1}),this[n(295)][n(307)](n(326)).to(this,n(322),e=>Q(t,n(334),e)),this[n(295)][n(307)](n(318)).to(this,n(322)),this[n(295)][n(307)](n(319)).to(this,n(332),t=>!t),this[n(328)]({tag:n(315),attributes:{class:["ck",n(313),i.if(n(332),n(285),t=>!t)]},children:[this[n(295)],{tag:n(311),children:[{text:i.to(n(322))}]}]})}[ot(294)](){const t=ot;super[t(294)]();const e=this[t(295)][t(321)],n=e=>{const n=t;this[n(295)][n(321)][n(287)]=String(e)};n(this[t(298)]),this.on(t(300),(t,e,i)=>{n(i)}),this[t(305)](e,t(308),(n,i)=>{const s=t;if(s(293)===i[s(333)]||s(306)===i[s(333)])return void i[s(330)]();if(i[s(292)]!==o.keyCodes[s(309)])return;i[s(324)]();const r=e[s(314)];Number[s(335)](r)?e[s(287)]=String(this[s(298)]):(e[s(289)]()?this[s(298)]=r:r>this[s(322)]?(this[s(298)]=this[s(322)],e[s(287)]=String(this[s(322)])):(this[s(298)]=1,e[s(287)]="1"),this[s(291)](s(299),this[s(298)]))}),this[t(305)](e,t(296),()=>{const n=t;e[n(287)]=String(this[n(298)])}),this[t(305)](e,t(290),()=>{const e=t;this[e(295)][e(317)]()})}[ot(290)](){const t=ot;this[t(321)][t(288)][t(290)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=429]})(t,e)}function lt(){const t=["2299360IAgcKz","5187ucQJyv","navigation","3210DQWVJm","execute","tooltip","plugins","goToNextPage","Shift+PageUp","scrollToPage","init","PaginationUI","Shift+PageDown","60VbCRfC","add","goToPreviousPage","keystroke","icon","pluginName","Go to previous page","componentFactory","pageNavigation","editor","Go to next page","9062810JKhDyP","totalPages","13831OkAgMi","previousPage","bind","PaginationEditing","pageNumber","listenTo","label","2927195qcUDvI","get","isPremiumPlugin","5954356QlyiHD","isOfficialPlugin","moveSelectionToPage","nextPage","36gMaowS","isEnabled","locale","4368699IKCERz"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(959826===-parseInt(e(446))/1*(parseInt(e(433))/2)+-parseInt(e(463))/3+-parseInt(e(456))/4+parseInt(e(453))/5+parseInt(e(467))/6*(parseInt(e(465))/7)+-parseInt(e(464))/8+parseInt(e(460))/9*(parseInt(e(444))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(438)](){return ct(431)}static get[ct(457)](){return!0}static get[ct(455)](){return!0}[ct(430)](){const t=ct,n=this[t(442)],i=n[t(470)][t(454)](t(449));n.ui[t(440)][t(434)](t(441),e=>{const n=t,o=new at(e);return o[n(448)](n(450)).to(i),o[n(448)](n(445)).to(i),o[n(448)](n(461)).to(i),o.on(n(466),(t,e)=>{const o=n;i[o(458)](e),i[o(429)](e)}),o}),n.ui[t(440)][t(434)](t(459),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=Q(n[s(462)],s(443)),r[s(437)]=et.IconArrowDown,r[s(469)]=!0,r[s(436)]=s(432),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(471)]()}),r}),n.ui[t(440)][t(434)](t(447),o=>{const s=t,r=new e.ButtonView(o);return r[s(461)]=!0,r[s(452)]=Q(n[s(462)],s(439)),r[s(437)]=et.IconArrowUp,r[s(469)]=!0,r[s(436)]=s(472),r[s(448)](s(461)).to(i),this[s(451)](r,s(468),()=>{i[s(435)]()}),r})}}function ft(t,e){const n=ht();return(ft=function(t,e){return n[t-=244]})(t,e)}const dt=ft;function ht(){const t=["ready","isPremiumPlugin","pluginName","pagination.enableOnUnsupportedBrowsers","forceDisabled","801750WLGPHZ","init","requires","browserCheck","config","editor","484060UkuOYH","320600NTJtcJ","Pagination","bind","pageNumber","isOfficialPlugin","plugins","get","set","2238341SDXNJl","655276QfhkBO","12988VbqVLO","6345zseGYH","isEnabled","scrollToPage","totalPages","isBlink"];return(ht=function(){return t})()}!function(t){const e=ft,n=t();for(;;)try{if(103718===parseInt(e(263))/1+-parseInt(e(253))/2+-parseInt(e(264))/3+parseInt(e(262))/4+-parseInt(e(252))/5+-parseInt(e(246))/6+parseInt(e(261))/7)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ht);class gt extends t.Plugin{static get[dt(271)](){return dt(254)}static get[dt(257)](){return!0}static get[dt(270)](){return!0}static get[dt(248)](){return[$,pt]}constructor(t){const e=dt;super(t),this[e(265)]=!1}[dt(247)](){const t=dt;this[t(260)]({pageNumber:1,totalPages:1});const e=this[t(251)][t(258)][t(259)]($);this[t(255)](t(256)).to(e),this[t(255)](t(267)).to(e),o.env[t(268)]||this[t(251)][t(250)][t(259)](t(244))?this[t(251)].on(t(269),()=>{this[t(265)]=!0}):this[t(245)](t(249))}[dt(266)](t){const e=dt;this[e(251)][e(258)][e(259)]($)[e(266)](t)}}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=266]})(t,e)}function bt(){var t=["14560biGZzr","253WxdAGZ","5347914tuHZqH","8xgHjgm","1288EqsmeL","6163263IoAuHE","17110LxgqiW","83031tepwNo","1888957BTDtJg","78DeMoyS","641570MGKYkT"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(587685===-parseInt(e(273))/1+-parseInt(e(276))/2*(-parseInt(e(274))/3)+-parseInt(e(271))/4*(-parseInt(e(267))/5)+-parseInt(e(269))/6+parseInt(e(275))/7*(parseInt(e(270))/8)+parseInt(e(272))/9+parseInt(e(266))/10*(-parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
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 o=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(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,o,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(o)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]);o&&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),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),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 o(t,e,o,i){var s;if(o)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.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 i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,n=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){o(n,e,!1,t)},remove:function(t){o(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,o=0;o<e.length;o++)if(e[o].identifier===t){n=o;break}return n}function o(t,o){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=o.base?c[0]+o.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=i(h,o);o.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function i(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,i){var s=o(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=o(t,i),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 o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var o=n(168),i=n.n(o),s=n(433),r=n.n(s)()(i());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(o){var i=e[o];if(void 0!==i)return i.exports;var s=e[o]={id:o,exports:{}};return t[o](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 o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";n.r(o),n.d(o,{Pagination:()=>gt,PaginationRenderer:()=>q});var t=n(782),e=n(311),i=n(584);function s(t,e,{signal:n,edges:o}={}){let i,s=null;const r=null!=o&&o.includes("leading"),a=null==o||o.includes("trailing"),c=()=>{null!==s&&(t.apply(i,s),i=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(),i=void 0,s=null},h=function(...t){if(n?.aborted)return;i=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=c;!function(t){const e=c,n=t();for(;;)try{if(237551===parseInt(e(298))/1+parseInt(e(368))/2*(parseInt(e(416))/3)+-parseInt(e(278))/4+-parseInt(e(346))/5*(parseInt(e(379))/6)+parseInt(e(452))/7*(-parseInt(e(411))/8)+-parseInt(e(312))/9+parseInt(e(315))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class a extends t.Plugin{[r(424)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:o=!1,trailing:i=!0,maxWait:r}=n,a=Array(2);let c;o&&(a[0]="leading"),i&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(400)](),200);[r(364)]=null;static get[r(441)](){return r(410)}static get[r(429)](){return!0}static get[r(294)](){return!0}[r(397)](){const t=r;if(this[t(275)]({pageBreaks:[]}),!this[t(366)][t(412)][t(426)](t(331)))return void(0,i.logWarning)(t(273),this[t(366)][t(412)]);const e=this[t(366)][t(405)][t(426)](t(320));this[t(363)](t(433)).to(e),this[t(366)].ui[t(423)](t(361),()=>this[t(386)]()),this.on(t(374),(e,n,o)=>{o&&this[t(424)]()})}[r(353)](){!async function(t){const e=m([103,115,85,117,86,80,66,104,77,110,114,111,52,55,65,84,97,68,49,57,67,69,82,48,107,98,105,90,120,74,51,108,113,73,89,76,50,99,109,72,87,122,70,79,102,119,116,56,71,88,54,112,83,81,53,75,100,78,118,121,101,106]),n=window[m([68,97,116,101])][m([110,111,119])](),o=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{o[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=o[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;o[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,o)=>{o[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const o=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+o,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,o])=>{n(e),t(o)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function h(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 d(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=c;return t[e(415)](t=>String[e(454)](t))[e(358)]("")}!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([103]);for(let o=0;o<t[m([108,101,110,103,116,104])];o+=2){let i=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](o,o+2));i>=e[m([108,101,110,103,116,104])]&&(i-=e[m([108,101,110,103,116,104])]),n+=e[i]}return n}();o[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,o[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,o[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,o[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),o={...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 o[m([118,99])],f(o)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),o[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,i.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(o){a(o)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?h(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const i=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),o=d(h(window[m([77,97,116,104])][m([99,101,105,108])](n/i)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,o)}function r(){const e=m([108,108,99,116,45])+h(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](d(n),16)*i: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)})}}o[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])}),o[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return o[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(){o[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 o=a[m([115,112,108,105,116])](m([46])),[i,s,r]=o;return e(i),await n(i,s,r),t}catch{return!1}function e(e){const n=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,o){const i=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(o),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,i,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:1751328e3;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=c,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:o}=new URL(window[m([108,111,99,97,116,105,111,110])][e(443)]);if(n[m([105,110,99,108,117,100,101,115])](o))return!0;const i=o[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=i[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(i[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>i[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(388)](){const t=r;super[t(388)](),this[t(364)]&&(this[t(424)][t(281)](),this[t(364)][t(388)](),this[t(364)][t(422)][t(418)]())}[r(386)](){const t=r,n=this[t(366)],o=n[t(365)][t(349)],i=this[t(342)]();if(!i||0===i[t(337)])return void n.ui[t(423)](t(377),()=>this[t(386)]());const{pageWidth:s,pageHeight:a}=n[t(412)][t(426)](t(331)),{top:c,left:u,bottom:l,right:p}=this[t(449)];this[t(364)]=new e.View(n[t(393)]);const f=this[t(364)];f[t(275)](t(444),""),f[t(430)]({tag:t(301),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(336)+a+t(286)+c+t(286)+l+" )",minWidth:t(402),minHeight:t(402),padding:"0 "+p+t(461)+u,columnGap:t(295),border:0,boxSizing:t(345),columnCount:t(402),columnFill:t(402),overflow:t(354),position:t(360),top:t(328),left:t(328)},tabindex:"-1",class:f[t(421)].to(t(444))}}),f[t(373)](),i[t(390)][t(289)](f[t(422)],i[t(403)]),this[t(314)](o,t(373),()=>this[t(424)](),{priority:t(371)}),this[t(424)]()}[r(342)](){const t=r;for(const e of this[t(366)][t(365)][t(349)][t(318)][t(459)]())if(e[t(334)][t(382)][t(348)](e))return e;return null}[r(400)](){const t=r;if(!this[t(433)])return Promise[t(276)]();const e=this[t(366)][t(365)][t(349)],n=this[t(364)],o=this[t(342)]();if(!o)return Promise[t(276)]();for(n[t(444)]=[t(453),t(330),...o[t(271)]][t(358)](" ");n[t(422)][t(439)];)n[t(422)][t(439)][t(418)]();const i=Array[t(316)](e[t(318)]);i[t(274)](([,e],[,n])=>e[t(357)](n)==Node[t(306)]?1:-1);for(const[e,o]of i){const i=o[t(389)](!0);t(414)in i&&i[t(414)][t(323)](),i[t(351)]="",i[t(399)]("id"),i[t(457)][t(339)]=e,n[t(422)][t(435)](i)}return function(e){const n=t;return Promise[n(385)](e[n(415)](t=>{return Promise[n(319)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(316)](n[t(422)][t(270)](t(387))))[t(455)](()=>this[t(406)]())}[r(406)](){const t=r,e=this[t(364)][t(422)];if(!e[t(334)][t(382)][t(348)](e))return;const n=new i.Rect(e)[t(333)](),o=i.global[t(392)][t(272)](e),s=parseFloat(o[t(287)])+parseFloat(o[t(428)]),a=Math[t(378)](n[t(279)]+100-s),c=m(e,Math[t(378)](n[t(460)]-e[t(436)]),a,n[t(284)])[t(415)](e=>this[t(309)](e));c[t(280)](t=>!!t)&&(this[t(391)]=c)}[r(309)](t){const e=r,n=this[e(366)][e(365)][e(349)],o=this[e(366)][e(365)][e(317)],i=n[e(332)],s=t[e(407)][e(369)](),a=this[e(364)][e(422)][e(381)][s][e(457)][e(339)],c=n[e(442)](a);if(!c)return null;const u=function(t,n){const o=e;let i=t;for(const t of n[o(407)]){if(!i)return null;i=i[o(381)][t]}return i}(c,t);if(!u)return null;const l=i[e(341)](u,t[e(325)]||0);return l?e(304)==t[e(395)]?this[e(409)](l,u):e(300)==t[e(395)]&&o[e(370)](l)[e(352)]?this[e(372)](l,u,t[e(325)]):this[e(446)](l,u,t[e(352)]):null}[r(409)](t,e){const n=r,o=this[n(366)][n(458)],i=this[n(366)][n(365)][n(317)][n(432)](t[n(296)]),s=o[n(321)](i);return new u({type:n(304),modelRange:s,domNode:e,offset:0})}[r(372)](t,e,n){const o=r,i=this[o(366)][o(458)],s=this[o(366)][o(365)][o(317)],a=this[o(366)][o(365)][o(349)][o(332)];if(n>=e[o(445)])return null;const c=s[o(370)](t),l=i[o(343)](c),f=s[o(283)](t),h=a[o(308)](f);return new u({type:o(300),modelRange:l,domNode:e,offset:p(e,n,h)})}[r(446)](t,e,n){const o=r,s=this[o(366)][o(458)],a=this[o(366)][o(365)],c=a[o(317)],l=a[o(349)][o(332)],p=c[o(283)](t),f=c[o(432)](p),d=function(t){const e=o,n=t[e(296)],i=n[e(431)][e(438)][e(458)],s=n[e(448)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(311)))return r;if(!i[e(344)](n)[e(307)](t))return r;r=n}}(s[o(344)](f))||f;let g=c[o(292)](d),m=s[o(321)](d);const b=s[o(344)](d)[o(408)];if(b&&b.is(o(422),o(375))){const t=c[o(292)](b),e=l[o(308)](t),n=i.global[o(392)][o(272)](e)[o(401)];o(460)!=n&&o(396)!=n||(m=s[o(321)](b))}for(;g[o(296)]!==g[o(431)]&&0===g[o(327)];)g=g[o(296)];const w=new i.Rect(I(e)?e:h(e)),k=n?w[o(284)]-n:0,v=l[o(308)](g),y=new i.Rect(v);return new u({type:o(422),modelRange:m,domNode:v,offset:Math[o(285)](k)?k+w[o(305)]-y[o(305)]:0})}get[r(449)](){const t=r,e=this[t(366)][t(412)][t(426)](t(282));return Object[t(356)]({top:t(425),bottom:t(425),left:t(425),right:t(425)},e)}static[r(380)](t,e,n,o,i){return m(t,e,n,o,i)}}function c(t,e){const n=l();return(c=function(t,e){return n[t-=270]})(t,e)}class u{[r(395)];[r(288)];[r(340)];[r(299)];constructor({type:t,modelRange:e,domNode:n,offset:o}){const i=r;this[i(395)]=t,this[i(288)]=e,this[i(340)]=n,this[i(299)]=o}get[r(352)](){const t=r;if(!this[t(340)][t(334)][t(382)][t(348)](this[t(340)]))return 0;const e=new i.Rect(I(this[t(340)])?this[t(340)]:h(this[t(340)]));return t(304)==this[t(395)]?e[t(305)]+e[t(284)]/2:e[t(305)]+this[t(299)]}}function l(){const t=["join","closest","absolute","ready","ceil","bind","_pagesContainer","editing","editor","endOffset","2VRlzPa","shift","toModelPosition","low","_mapTextPageStarterInfoToPageBreakInfo","render","change:isEnabled","imageBlock","complete","update","floor","52962aoJoSk","_findPageStarterInfos","childNodes","body","TEXT_NODE","table-row","all","_onUiReady","img","destroy","cloneNode","parentNode","pageBreaks","window","locale","setStart","type","right","init","offsetParent","removeAttribute","_recalculatePageBreaks","float","auto","nextSibling","nextElementSibling","plugins","_updatePageBreaksData","path","nodeBefore","_mapManualPageStarterInfoToPageBreakInfo","PaginationLookup","8JkqgQK","config","style","attributeStyleMap","map","991383oOOsYp","hasAttribute","remove","getClientRects","indexOf","bindTemplate","element","once","_recalculatePageBreaksDebounced","10mm","get","bottom","paddingRight","isOfficialPlugin","setTemplate","root","toModelElement","isEnabled","addEventListener","append","scrollLeft","ELEMENT_NODE","document","firstChild","nodeType","pluginName","getDomRoot","href","class","length","_mapElementPageStarterInfoToPageBreakInfo","selectNodeContents","getAncestors","_configuredPaddings","figure.image","load","212618dWSZJO","ck-reset","fromCharCode","then","none","dataset","model","values","left"," 0 ","querySelectorAll","classList","getComputedStyle","pagination-config-not-found","sort","set","resolve","startContainer","74524hTqVvK","width","every","cancel","pagination.pageMargins","findMappedViewAncestor","height","round"," - ","paddingLeft","modelRange","insertBefore","startOffset","previousElementSibling","toViewElement","entries","isPremiumPlugin","100px","parent","setEnd","87111hnVuRk","_offset","text","div","endContainer","push","manual","top","DOCUMENT_POSITION_PRECEDING","isTouching","mapViewToDom","_mapPageStarterInfoToPageBreakInfo","error","rootElement","3318597VpgxPa","display","listenTo","3348140GlemJm","from","mapper","domRoots","race","PaginationEditing","createRangeOn","ck-fake-selection-container","clear","position","textOffset","page-break","index","-99999px","selectNode","ck-pagination-view","pagination","domConverter","excludeScrollbarsAndBorders","ownerDocument","removeEventListener","calc( ","childElementCount","previousSibling","rootName","_domNode","domPositionToView","_getAttachedDomRoot","createRange","createPositionBefore","border-box","55ZhzBQI","parentElement","contains","view","table-cell","className","offset","afterInit","hidden",".page-break","assign","compareDocumentPosition"];return(l=function(){return t})()}function p(t,e,n){const o=r,s=h(t),a=function(t){const e=c,n=i.global[e(438)][e(343)]();return n[e(447)](t),n}(n);let u;u=0==e?g(a[o(277)],a[o(290)],t[o(390)],Array[o(316)](t[o(390)][o(381)])[o(420)](t)):g(a[o(277)],a[o(290)],t,e);const l=g(t,e,a[o(302)],a[o(367)]),p=new i.Rect(u)[o(427)];return(new i.Rect(l)[o(305)]+p)/2-new i.Rect(s)[o(305)]}function f(t){const e=r;return t[e(417)](e(279))&&t[e(417)](e(284))?Promise[e(276)]():new Promise(n=>{const o=e;function i(){const e=c;t[e(335)](e(451),i),t[e(335)](e(310),i),n()}t[o(376)]?n():(t[o(434)](o(451),i),t[o(434)](o(310),i))})}function h(t){const e=r,n=i.global[e(438)][e(343)]();return n[e(329)](t),n}function d(t,e,n){const o=r,s=i.global[o(438)][o(343)]();return s[o(394)](t,e),s[o(297)](t,n),s}function g(t,e,n,o){const s=r,a=i.global[s(438)][s(343)]();return a[s(394)](t,e),a[s(297)](n,o),a}function m(t,e,n,o,i){const s=r,a=[];for(const[r,c]of t[s(381)][s(293)]()){let t=[];I(c)&&c[s(398)]&&!c[s(413)][s(324)]?t=b(c,r,e,n,o,i):y(c)&&(t=w(c,r,e,n,i)),t[s(445)]&&(a[s(303)](...t),e+=t[s(445)]*n,i=!1)}return a}function b(t,e,n,o,s,a){const c=r,u=[];var l;if((l=t[c(338)])&&I(l)&&Boolean(l[c(271)][c(348)](c(326))||l[c(359)](c(355)))&&(u[c(303)]({type:c(304),offset:0,path:[e-1]}),a=!0),c(384)==i.global[c(392)][c(272)](t)[c(313)]){let o=0,i=!1;for(const e of t[c(419)]())o+=e[c(284)],e[c(460)]>=n&&(i=!0);if(o<s&&i)return u[c(303)]({type:c(422),offset:0,path:[e]}),u}const p=t[c(359)](c(450));if(p&&function(t){const e=c;let n=!1;const o=t[e(347)][e(457)][e(339)],s=t[e(404)],r=t[e(291)],a=s&&i.global[e(392)][e(272)](s)[e(401)],u=s&&e(322)===s[e(351)];return!o||s||r||(n=!0),o&&!r&&u&&(n=!0),o&&!r&&e(456)!==a&&(n=!0),!n}(p)){const t=i.global[c(392)][c(272)](p)[c(401)];if(c(460)==t||c(396)==t)return u}const f=m(t,n,o,s,a);if(f[c(445)]){for(const t of f)u[c(303)]({type:t[c(395)],offset:t[c(352)],textOffset:t[c(325)],path:[e,...t[c(407)]]}),n+=o,a=!1;return u}return u[c(303)](...function(t,e,n,o,s){const r=c,a=[];if(r(350)==i.global[r(392)][r(272)](t)[r(313)])return[];const u=[];for(const e of t[r(419)]())if(e[r(460)]>=n){for(const t of u)t[r(284)]+=e[r(284)];u[r(303)]({height:e[r(284)]}),n+=o}for(const t of u)s||a[r(303)]({type:r(422),offset:t[r(284)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,o,a)),u}function w(t,e,n,o,i){const s=r,a=h(t),c=[];let u=0;for(const r of a[s(419)]())if(r[s(460)]>=n){const r=k(t,u,n,o);i||c[s(303)]({type:s(300),path:[e],textOffset:r}),u=r,n+=o,i=!1}return c}function k(t,e,n,o){const i=r;let s=e,a=t[i(445)];for(;a-s>1;){const e=Math[i(362)]((s+a)/2);v(d(t,s,e),n,o)?a=e:s=e}return s}function v(t,e,n){const o=r;for(const i of t[o(419)]())if(i[o(460)]>=e&&i[o(460)]<e+n)return!0;return!1}function I(t){const e=r;return t[e(440)]==Node[e(437)]}function y(t){const e=r;return t[e(440)]==Node[e(383)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),S=n(262),A=n.n(S),E=n(667),R=n.n(E),T=n(357),C=n.n(T),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=R(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function D(){const t=["16260580hMhPJb","setTemplate","7273EjhPAR","829457kFZuRk","width","top","10123443fPgWfe","bindTemplate","4uBNDWJ","set","116FRdvaL","760566EHohhW","div","pageNumber","ck-pagination-view-line","564hEARWr","17350mIwSDX","ck-hidden","isVisible","left","1860624ZmsctP"];return(D=function(){return t})()}function B(t,e){const n=D();return(B=function(t,e){return n[t-=457]})(t,e)}!function(t){const e=B,n=t();for(;;)try{if(609692===-parseInt(e(462))/1+-parseInt(e(467))/2*(-parseInt(e(470))/3)+-parseInt(e(469))/4*(-parseInt(e(475))/5)+parseInt(e(474))/6*(parseInt(e(461))/7)+parseInt(e(458))/8+-parseInt(e(465))/9+parseInt(e(459))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const M=(0,i.toUnit)("px");class K extends e.View{constructor(){const t=B;super();const e=this[t(466)];this[t(468)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(460)]({tag:t(471),attributes:{"data-page-number":e.to(t(472)),class:["ck",t(473),e.if(t(477),t(476),t=>!t)],style:{left:e.to(t(457),t=>M(t)),top:e.to(t(464),t=>M(t)),width:e.to(t(463),t=>M(t))}}})}}const G=V;function V(t,e){const n=j();return(V=function(t,e){return n[t-=390]})(t,e)}function j(){const t=["3983889DvDjbo","isVisible","_visibleLines","63HISULo","cleanLines","6ngEqoD","setViewCollection","remove","size","693584MHdVkS","destroy","_hiddenLines","add","showLine","set","delete","has","3282831XIRSol","2537040DztxLU","clear","355857NTQoUX","values","body","_viewCollection","view","4074196zwXaqB","340586cISJps"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(614969===parseInt(e(404))/1+-parseInt(e(410))/2+parseInt(e(401))/3+parseInt(e(409))/4+-parseInt(e(402))/5+parseInt(e(416))/6*(-parseInt(e(411))/7)+parseInt(e(393))/8*(-parseInt(e(414))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class U{[G(407)];[G(413)]=new Set;[G(395)]=new Set;constructor(t){const e=G;this[e(407)]=t.ui[e(408)][e(406)]}[G(394)](){const t=G;for(const e of this[t(395)])e[t(394)]()}[G(415)](){const t=G;for(const e of this[t(413)])e[t(412)]=!1,this[t(395)][t(396)](e);this[t(413)][t(403)]()}[G(397)](t,e,n,o){const s=G;let r;this[s(395)][s(392)]?(r=(0,i.first)(this[s(395)][s(405)]()),this[s(395)][s(399)](r)):r=new K,r[s(398)]({pageNumber:o,left:t,top:e,width:n}),r[s(412)]=!0,this[s(407)][s(400)](r)||this[s(407)][s(396)](r),this[s(413)][s(396)](r)}[G(390)](t){const e=G;for(const t of[...this[e(413)],...this[e(395)]])this[e(407)][e(400)](t)&&this[e(407)][e(391)](t);this[e(407)]=t}}const F=z;function z(t,e){const n=H();return(z=function(t,e){return n[t-=241]})(t,e)}!function(t){const e=z,n=t();for(;;)try{if(174685===-parseInt(e(297))/1*(-parseInt(e(325))/2)+parseInt(e(265))/3+parseInt(e(271))/4*(-parseInt(e(281))/5)+-parseInt(e(288))/6+-parseInt(e(251))/7*(-parseInt(e(324))/8)+parseInt(e(291))/9+-parseInt(e(280))/10*(parseInt(e(268))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(H);const W=F(295);class q extends t.Plugin{[F(323)];[F(270)]=null;[F(286)]=null;[F(272)];static get[F(245)](){return F(311)}static get[F(289)](){return!0}static get[F(275)](){return!0}[F(279)](){const t=F;this[t(273)]({pageNumber:1}),this[t(323)]=new U(this[t(307)]),this[t(270)]=null,this[t(286)]=null,this[t(272)]=this[t(307)][t(314)][t(248)](t(293)),this[t(269)](t(315)).to(this[t(307)][t(314)][t(248)](t(246))),this[t(307)].ui[t(298)](t(254),()=>this[t(299)]()),this[t(312)](W),this.on(t(320),(e,n,o)=>{const i=t;o||this[i(323)][i(284)](),this[i(312)](W,o)})}[F(290)](){const t=F;this[t(312)](W,!1),this[t(323)][t(290)](),this[t(270)]=null,this[t(286)]&&this[t(286)][t(290)]()}[F(256)](t){const e=F;if(!this[e(315)])return;const n=t>1?this[e(285)](t-1):0;this[e(270)][e(282)]({top:n-10,left:this[e(270)][e(301)],behavior:i.env[e(277)]?e(260):e(294)})}[F(303)](){const t=F,e=this[t(307)],n=this[t(310)]();n?(this[t(270)]&&e.ui[t(262)][t(274)](this[t(270)],t(300)),this[t(270)]=function(e){const n=t;let o=e;do{o=o[n(309)];const t=i.global[n(264)][n(252)](o)[n(249)];if(n(278)==t||n(300)==t)break}while(n(261)!=o[n(242)]);return o}(n),e.ui[t(262)][t(244)](this[t(270)],t(300),()=>{this[t(247)]()},{usePassive:!0}),this[t(286)]&&this[t(286)][t(290)](),this[t(286)]=new i.ResizeObserver(this[t(270)],()=>{this[t(247)]()})):e.ui[t(298)](t(292),()=>this[t(303)]())}[F(299)](){const t=F,e=this[t(307)];this[t(310)]()?(this[t(303)](),e.ui[t(262)][t(244)](i.global[t(264)],t(304),()=>this[t(247)]()),this[t(244)](this[t(272)],t(243),()=>this[t(247)]())):e.ui[t(298)](t(292),()=>this[t(299)]())}[F(310)](){const t=F;for(const e of this[t(307)][t(305)][t(262)][t(308)][t(257)]())if(e[t(302)][t(313)][t(306)](e))return e;return null}[F(247)](){const t=F;if(!this[t(315)])return;const e=this[t(310)](),n=this[t(272)][t(322)];if(this[t(323)][t(284)](),!e||1==n[t(317)])return void(this[t(321)]=1);const o=new i.Rect(e)[t(316)](),s=new i.Rect(this[t(270)])[t(316)](),r=s[t(296)]+s[t(263)]/3;let a=!1;const c=[];for(let e=1;e<n[t(317)];e++){const n=this[t(285)](e,s);if(!n)continue;const i=s[t(296)]+n-this[t(270)][t(267)];c[t(319)]({pageOffsetTop:i,domRootRect:o,domScrollableRect:s,pageNumber:e}),i>r&&!a&&(this[t(321)]=e,a=!0)}this[t(276)](c),a||(this[t(321)]=n[t(317)])}[F(276)](t){const e=F,{scrollX:n,scrollY:o}=i.global[e(264)];if(t[e(317)])for(const{domScrollableRect:i,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)i[e(296)]<s&&s<i[e(250)]&&this[e(323)][e(266)](r[e(253)]+n,s+o,r[e(258)],a+1)}[F(285)](t,e=null){const n=F,o=this[n(272)][n(322)][t][n(255)];return o?(e||(e=new i.Rect(this[n(270)])[n(316)]()),o-e[n(296)]+this[n(270)][n(267)]):0}[F(312)](t,e=!0){const n=F,o=this[n(307)][n(305)][n(262)];o[n(283)](i=>{const s=n;for(const n of o[s(259)][s(287)])e?i[s(241)](t,n):i[s(318)](t,n)})}}function H(){const t=["plugins","isEnabled","excludeScrollbarsAndBorders","length","removeClass","push","change:isEnabled","pageNumber","pageBreaks","linesRepository","407224GUQAvN","1182FxKRqA","addClass","tagName","change:pageBreaks","listenTo","pluginName","PaginationEditing","_updatePageBreakLines","get","overflowY","bottom","21FGQdaH","getComputedStyle","left","ready","offset","scrollToPage","values","width","document","instant","BODY","view","height","window","256362sjIDIR","showLine","scrollTop","45034tETCoD","bind","_scrollableEditingRootDomAncestor","149924BlMart","_paginationLookupPlugin","set","stopListening","isPremiumPlugin","_renderPageBreakLines","isMotionReduced","auto","init","330ogqvsu","20MqMATz","scrollTo","change","cleanLines","_getPageBreakLineOffset","_resizeObserver","roots","907476gIzfgA","isOfficialPlugin","destroy","2488149IEWGwg","update","PaginationLookup","smooth","ck-pagination_enabled","top","163cuwsNV","once","_onUiReady","scroll","scrollLeft","ownerDocument","setupScrollableAncestor","resize","editing","contains","editor","domRoots","parentElement","_getAttachedDomRoot","PaginationRenderer","_toggleEditingRootsClass","body"];return(H=function(){return t})()}function J(t,e,...n){const o=t.t;switch(e){case"Go to next page":return o("Go to next page");case"Go to previous page":return o("Go to previous page");case"Current page number (from 1 to %0)":return o("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return o("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return o("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return o("Go to the next page (also move selection)");default:return e}}var X=n(761),Q={attributes:{"data-cke":!0}};Q.setAttributes=R(),Q.insert=A().bind(null,"head"),Q.domAPI=N(),Q.insertStyleElement=C();x()(X.A,Q);X.A&&X.A.locals&&X.A.locals;const Z=Y;function Y(t,e){const n=$();return(Y=function(t,e){return n[t-=468]})(t,e)}function $(){const t=["model","domainLimit","49975222UHuCeL","length","Shift+Pagedown","type","isEnabled","change:pageBreaks","index","editing","name","requires","setAttribute","paginationLicenseKeyValid","text","paginationLicenseKeyExpired","_setUpDataDowncastConversion","scrollToPage","element","invalid","has","expired","676418cWNZNf","getNearestSelectionRange","destroy","forward","paginationLicenseKeyNotAllowed","options","consume","isPremiumPlugin","paginationLicenseKeyUsageLimit","add","7432328ndEoyg","consumable","getFillerOffset","checkChild","root","Pagination","24IDHITe","Go to the previous page (also move selection)","193899NuXOvV","view","paginationLicenseKeyTrialLimit","$text","stop","_showLicenseError","pagination","plugins","insert","evaluationLimit","7RwvWIO","data","accessibility","paginationLicenseKeyInvalid","PaginationEditing","locale","end","conversion","textNode","1639552JHSocS","updateMarker","10gSRHQS","focus","26TiBrZb","_updatePageBreakMarkers","schema","addMarker","setSelection","Keystrokes for navigating through documents","paginationLicenseKeyEvaluationLimit","data-pagination-page","addMarker:","mapper","_validatePageNumber","isOfficialPlugin","config","_setupKeystrokes","markers","writer","manual","pageNumber","pluginName","createPositionAt","substring","createContainerElement","toViewPosition","Go to the next page (also move selection)","page-break-before","always","dataDowncast","796170cCxeEu","editor","init","span","set","paginationLicenseKeyDomainLimit","parent","hasClass","featureNotAllowed","page-break","_licenseKeyCheckInterval","licenseKey","goToNextPage","addKeystrokeInfoGroup","moveSelectionToPage","keystrokes","usageLimit","toViewElement","pageBreaks","for","modelRange","goToPreviousPage","bindElementToMarker","setStyle","totalPages","get","pagination:","getContainedElement","start","listenTo","offset","removeMarker","trialLimit","nodeAfter","change","4200381nogMNU","Shift+Pageup","bind"];return($=function(){return t})()}!function(t){const e=Y,n=t();for(;;)try{if(583981===-parseInt(e(562))/1+parseInt(e(475))/2*(-parseInt(e(580))/3)+-parseInt(e(471))/4+-parseInt(e(502))/5*(parseInt(e(578))/6)+parseInt(e(590))/7*(-parseInt(e(572))/8)+parseInt(e(537))/9*(-parseInt(e(473))/10)+parseInt(e(542))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}($);class tt extends t.Plugin{[Z(513)];[Z(512)];static get[Z(493)](){return Z(594)}static get[Z(486)](){return!0}static get[Z(569)](){return!0}static get[Z(551)](){return[a,q]}[Z(504)](){const t=Z;this[t(506)]({pageNumber:1,totalPages:1});const e=this[t(503)][t(587)][t(527)](t(577)),n=this[t(503)][t(587)][t(527)](a),o=this[t(503)][t(587)][t(527)](q);this[t(539)](t(546)).to(e),this[t(556)](),this[t(539)](t(492)).to(o),this[t(531)](n,t(547),(e,n,o,i)=>{const s=t;this[s(526)]=o[s(543)],this[s(476)](o,i)}),this[t(488)](),this[t(513)]=this[t(503)][t(487)][t(527)](t(513));const i=this[t(503)];this[t(512)]=setInterval(()=>{const e=t;let n;for(const t in i){const o=t,s=i[o];if(e(553)==s||e(593)==s||e(555)==s||e(507)==s||e(566)==s||e(481)==s||e(582)==s||e(570)==s){delete i[o],n=s,clearInterval(this[e(512)]),this[e(512)]=void 0;break}}e(593)==n&&i[e(585)](e(559)),e(555)==n&&i[e(585)](e(561)),e(507)==n&&i[e(585)](e(541)),e(566)==n&&i[e(585)](e(510),e(577)),e(481)==n&&i[e(585)](e(589)),e(582)==n&&i[e(585)](e(534)),e(570)==n&&i[e(585)](e(518))},1e3)}[Z(564)](){const t=Z;super[t(564)](),this[t(512)]&&clearInterval(this[t(512)])}[Z(557)](t){const e=Z;this[e(546)]&&this[e(503)][e(587)][e(527)](q)[e(557)](this[e(485)](t))}[Z(516)](t){const e=Z;if(!this[e(546)])return;const n=this[e(503)],o=this[e(503)][e(587)][e(527)](a)[e(520)][t-1];o&&n[e(540)][e(536)](t=>{const i=e;switch(o[i(545)]){case i(491):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(468)],i(565));t[i(479)](e);break}case i(558):{const e=n[i(540)][i(477)][i(563)](o[i(522)][i(530)],i(565));t[i(479)](e);break}case i(554):{const e=o[i(522)][i(530)];if(e[i(470)]&&" "===e[i(470)][i(591)][e[i(532)]]){const n=t[i(494)](e[i(508)],e[i(532)]+1);t[i(479)](n)}else t[i(479)](o[i(522)])}}n[i(549)][i(581)][i(474)]()})}[Z(514)](){const t=Z,e=this[t(485)](this[t(492)]+1);this[t(516)](e),this[t(557)](e)}[Z(523)](){const t=Z,e=this[t(485)](this[t(492)]-1);this[t(516)](e),this[t(557)](e)}[Z(476)](t,e){const n=Z,o=this[n(503)][n(540)];this[n(546)]&&o[n(536)](i=>{const s=n;for(let e=1;e<t[s(543)];e++){const n=t[e][s(522)],r=s(528)+(e+1);o[s(489)][s(560)](r)?i[s(472)](r,{range:n}):i[s(478)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(543)];n<e[s(543)];n++){const t=s(528)+(n+1);o[s(489)][s(560)](t)&&i[s(533)](t)}})}[Z(556)](){const t=Z,e=t(586);this[t(503)][t(469)][t(521)](t(501))[t(571)](n=>{const o=t;n.on(o(483)+e,(t,{markerRange:e,markerName:n},i)=>{const s=o;if(!i[s(567)][s(586)])return;if(!i[s(573)][s(568)](e,t[s(550)]))return;const r=e[s(529)]();let a=r?i[s(484)][s(519)](r):null;if(!a){const t=e[s(530)];if(i[s(477)][s(575)](t,s(583))){const e=i[s(484)][s(497)](t);a=i[s(490)][s(496)](s(505)),a[s(574)]=()=>null,i[s(490)][s(588)](e,a)}else{const e=t[s(535)];a=i[s(484)][s(519)](e)}}for(;a[s(508)]!==a[s(576)]&&0===a[s(548)];)a=a[s(508)];const c=n[s(495)](11);a[s(509)](s(511))||(i[s(490)][s(525)](s(499),s(500),a),i[s(490)][s(552)](s(482),c,a),i[s(484)][s(524)](a,n)),t[s(584)]()})})}[Z(488)](){const t=Z,e=this[t(503)];e[t(517)][t(506)](t(538),(e,n)=>{this[t(523)](),n()}),e[t(517)][t(506)](t(544),(e,n)=>{this[t(514)](),n()}),e[t(592)][t(515)]({id:t(586),label:J(e[t(595)],t(480)),keystrokes:[{label:J(e[t(595)],t(579)),keystroke:t(538),mayRequireFn:!0},{label:J(e[t(595)],t(498)),keystroke:t(544),mayRequireFn:!0}]})}[Z(485)](t){const e=Z;return t<1&&(t=1),t>this[e(526)]&&(t=this[e(526)]),t}}var et=n(355),nt=n(953),ot={attributes:{"data-cke":!0}};ot.setAttributes=R(),ot.insert=A().bind(null,"head"),ot.domAPI=N(),ot.insertStyleElement=C();x()(nt.A,ot);nt.A&&nt.A.locals&&nt.A.locals;const it=rt;function st(){const t=["totalPages","ArrowUp","isNaN","3048ESDxSy","ArrowDown","ck-page-navigator","max","listenTo","focus","key","keyCode","ck-disabled","change:pageNumber","1359KIcImJ","isReadOnly","set","24FFOaOk","keydown","pageNumber","checkValidity","value","Current page number (from 1 to %0)","setTemplate","blur","2338806QcNgxe","11QpuVet","ariaLabel","bindTemplate","447FwnUOg","div","3269513syAOAj","188qhwADC","7evUhBF","2198IyWJBz","5958850gmSxMT","numeric","firstChild","fire","select","bind","27128gqsfBG","enter","navigation","span","pageNumberView","element","2238870cfRARP","render","stopPropagation","isEnabled","valueAsNumber","preventDefault"];return(st=function(){return t})()}function rt(t,e){const n=st();return(rt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=rt,n=t();for(;;)try{if(325725===parseInt(e(382))/1*(parseInt(e(384))/2)+-parseInt(e(431))/3*(parseInt(e(406))/4)+parseInt(e(397))/5+parseInt(e(427))/6*(parseInt(e(383))/7)+parseInt(e(391))/8*(-parseInt(e(416))/9)+-parseInt(e(385))/10*(parseInt(e(428))/11)+parseInt(e(419))/12*(parseInt(e(381))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(st);class at extends e.View{[it(395)];constructor(t){const n=it;super(t);const o=this[n(430)];this[n(418)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(395)]=new e.InputNumberView(t,{min:1,step:1}),this[n(395)][n(418)]({inputMode:n(386),tabIndex:-1}),this[n(395)][n(390)](n(429)).to(this,n(403),e=>J(t,n(424),e)),this[n(395)][n(390)](n(409)).to(this,n(403)),this[n(395)][n(390)](n(417)).to(this,n(400),t=>!t),this[n(425)]({tag:n(380),attributes:{class:["ck",n(408),o.if(n(400),n(414),t=>!t)]},children:[this[n(395)],{tag:n(394),children:[{text:o.to(n(403))}]}]})}[it(398)](){const t=it;super[t(398)]();const e=this[t(395)][t(396)],n=e=>{const n=t;this[n(395)][n(396)][n(423)]=String(e)};n(this[t(421)]),this.on(t(415),(t,e,o)=>{n(o)}),this[t(410)](e,t(420),(n,o)=>{const s=t;if(s(404)===o[s(412)]||s(407)===o[s(412)])return void o[s(399)]();if(o[s(413)]!==i.keyCodes[s(392)])return;o[s(402)]();const r=e[s(401)];Number[s(405)](r)?e[s(423)]=String(this[s(421)]):(e[s(422)]()?this[s(421)]=r:r>this[s(403)]?(this[s(421)]=this[s(403)],e[s(423)]=String(this[s(403)])):(this[s(421)]=1,e[s(423)]="1"),this[s(388)](s(393),this[s(421)]))}),this[t(410)](e,t(426),()=>{const n=t;e[n(423)]=String(this[n(421)])}),this[t(410)](e,t(411),()=>{const e=t;this[e(395)][e(389)]()})}[it(411)](){const t=it;this[t(396)][t(387)][t(411)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=322]})(t,e)}function lt(){const t=["3056200dXAgMI","pageNavigation","50AlehcC","Go to next page","bind","1531920WTQHuK","keystroke","icon","execute","tooltip","1617868uzNFei","init","50rJOMwS","PaginationEditing","moveSelectionToPage","12912lSgYEZ","plugins","isOfficialPlugin","goToNextPage","label","613570OjnClw","Shift+PageDown","isPremiumPlugin","Go to previous page","pluginName","navigation","locale","get","totalPages","componentFactory","282132OdtGQk","45585eOJpsU","add","listenTo","goToPreviousPage","previousPage","pageNumber","PaginationUI","243LRajff","scrollToPage","editor","isEnabled","Shift+PageUp","nextPage"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(252305===-parseInt(e(361))/1+parseInt(e(342))/2*(parseInt(e(345))/3)+-parseInt(e(335))/4+-parseInt(e(332))/5*(parseInt(e(360))/6)+-parseInt(e(340))/7+-parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(350))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(354)](){return ct(323)}static get[ct(347)](){return!0}static get[ct(352)](){return!0}[ct(341)](){const t=ct,n=this[t(326)],o=n[t(346)][t(357)](t(343));n.ui[t(359)][t(362)](t(331),e=>{const n=t,i=new at(e);return i[n(334)](n(322)).to(o),i[n(334)](n(358)).to(o),i[n(334)](n(327)).to(o),i.on(n(355),(t,e)=>{const i=n;o[i(344)](e),o[i(325)](e)}),i}),n.ui[t(359)][t(362)](t(329),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(333)),r[s(337)]=et.IconArrowDown,r[s(339)]=!0,r[s(336)]=s(351),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(348)]()}),r}),n.ui[t(359)][t(362)](t(365),i=>{const s=t,r=new e.ButtonView(i);return r[s(327)]=!0,r[s(349)]=J(n[s(356)],s(353)),r[s(337)]=et.IconArrowUp,r[s(339)]=!0,r[s(336)]=s(328),r[s(334)](s(327)).to(o),this[s(363)](r,s(338),()=>{o[s(364)]()}),r})}}function ft(){const t=["9688984jahoCI","set","totalPages","Pagination","isEnabled","scrollToPage","get","pageNumber","329484tFEgKZ","requires","config","isBlink","15tCOlEa","6wNPwTn","13210MqIHRx","ready","3260kPeyGI","bind","pluginName","isPremiumPlugin","166zzeLKJ","browserCheck","forceDisabled","init","5191080oXWmsE","11cyPJcl","5949WCXRxP","5489505MaUzRA","2122674RiiSin","plugins","pagination.enableOnUnsupportedBrowsers","editor","isOfficialPlugin"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=175]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(612332===-parseInt(e(198))/1*(parseInt(e(202))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+parseInt(e(194))/5*(parseInt(e(177))/6)+-parseInt(e(176))/7+parseInt(e(182))/8+parseInt(e(175))/9*(-parseInt(e(196))/10)+-parseInt(e(207))/11*(-parseInt(e(206))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(200)](){return ht(185)}static get[ht(181)](){return!0}static get[ht(201)](){return!0}static get[ht(191)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(186)]=!1}[ht(205)](){const t=ht;this[t(183)]({pageNumber:1,totalPages:1});const e=this[t(180)][t(178)][t(188)](tt);this[t(199)](t(189)).to(e),this[t(199)](t(184)).to(e),i.env[t(193)]||this[t(180)][t(192)][t(188)](t(179))?this[t(180)].on(t(197),()=>{this[t(186)]=!0}):this[t(204)](t(203))}[ht(187)](t){const e=ht;this[e(180)][e(178)][e(188)](tt)[e(187)](t)}}function mt(){var t=["290344vDiFxn","2GcJXCS","752MKizyA","138IYkmup","18529wrWTle","812826TKVUYl","20490ILLurf","3602576eFCAPH","2212113GAPxDj","11opuKXB","14288510QRVmKH"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=234]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(390117===-parseInt(e(242))/1+parseInt(e(243))/2*(parseInt(e(239))/3)+parseInt(e(244))/4*(parseInt(e(237))/5)+-parseInt(e(234))/6*(-parseInt(e(235))/7)+parseInt(e(238))/8+parseInt(e(236))/9+-parseInt(e(241))/10*(parseInt(e(240))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=o})();
package/dist/index.js CHANGED
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x886cf4}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5389bc,InputNumberView as _0x419ecb,ButtonView as _0x5ae807}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x57b282,Rect as _0x40b526,global as _0x2743e1,uid as _0x54801f,toUnit as _0x2221b5,first as _0x422102,env as _0x2a4959,ResizeObserver as _0x535e61,keyCodes as _0x21fd88}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x433f8d}from'es-toolkit/compat';import{IconArrowDown as _0x355fb1,IconArrowUp as _0x31435b}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x886cf4{['_recalculatePageBreaksDebounced']=_0x433f8d(()=>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 _0x57b282('pagination-config-not-found',this['editor']['config']);const _0x366ed9=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x366ed9),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xf50b45,_0x228259,_0x38e354)=>{_0x38e354&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x301d58){const _0x24e3df=_0x56c147([0x6b,0x46,0x41,0x75,0x78,0x70,0x47,0x71,0x59,0x35,0x4b,0x4f,0x43,0x66,0x57,0x53,0x65,0x73,0x44,0x48,0x72,0x4e,0x49,0x62,0x64,0x6d,0x56,0x5a,0x30,0x50,0x58,0x4d,0x67,0x6e,0x36,0x68,0x76,0x55,0x45,0x32,0x6f,0x63,0x6c,0x74,0x54,0x33,0x61,0x77,0x39,0x7a,0x79,0x6a,0x42,0x4a,0x4c,0x38,0x31,0x69,0x52,0x34,0x51,0x37]),_0x30159e=0x24da8ea4,_0x1c1368=0x24dde534^_0x30159e,_0x21a418=window[_0x56c147([0x44,0x61,0x74,0x65])][_0x56c147([0x6e,0x6f,0x77])](),_0x29b780=_0x301d58[_0x56c147([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3158cd=new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9850=>{_0x29b780[_0x56c147([0x6f,0x6e,0x63,0x65])](_0x56c147([0x72,0x65,0x61,0x64,0x79]),_0x1f9850);}),_0x113d4a={[_0x56c147([0x6b,0x74,0x79])]:_0x56c147([0x45,0x43]),[_0x56c147([0x75,0x73,0x65])]:_0x56c147([0x73,0x69,0x67]),[_0x56c147([0x63,0x72,0x76])]:_0x56c147([0x50,0x2d,0x32,0x35,0x36]),[_0x56c147([0x78])]:_0x56c147([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]),[_0x56c147([0x79])]:_0x56c147([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]),[_0x56c147([0x61,0x6c,0x67])]:_0x56c147([0x45,0x53,0x32,0x35,0x36])},_0x9b3f93=_0x29b780[_0x56c147([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56c147([0x67,0x65,0x74])](_0x56c147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x510ccb(){let _0x5f1c44,_0x268ae5=null,_0x40d3c5=null;try{if(_0x9b3f93==_0x56c147([0x47,0x50,0x4c]))return _0x56c147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f1c44=_0x5a2795(),!_0x5f1c44)return _0x56c147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f1c44[_0x56c147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x40d3c5=_0x586cd0(_0x5f1c44[_0x56c147([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f1c44[_0x56c147([0x6a,0x74,0x69])])),await _0x23cc22()?_0x366107()?_0x176659()?_0x56c147([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20e8bf()?(_0x5f1c44[_0x56c147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56c147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x268ae5=_0x2ffae3(_0x56c147([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5f1c44[_0x56c147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56c147([0x74,0x72,0x69,0x61,0x6c])&&(_0x268ae5=_0x2ffae3(_0x56c147([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x489cc8()):_0x56c147([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56c147([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56c147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56c147([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x176659(){const _0x199e6a=[_0x56c147([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56c147([0x74,0x72,0x69,0x61,0x6c])][_0x56c147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1c44[_0x56c147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21a418/0x3e8:0xe10*_0x1c1368;return _0x5f1c44[_0x56c147([0x65,0x78,0x70])]<_0x199e6a;}function _0x366107(){const _0x2e281d=_0x5f1c44[_0x56c147([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e281d&&(!!_0x2e281d[_0x56c147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56c147([0x2a]))||!!_0x2e281d[_0x56c147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56c147([0x50,0x41,0x47])));}function _0x20e8bf(){const _0xe2b1b4=_0x5f1c44[_0x56c147([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe2b1b4||0x0==_0xe2b1b4[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x369a7b}=new URL(window[_0x56c147([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xe2b1b4[_0x56c147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369a7b))return!0x0;const _0x14e292=_0x369a7b[_0x56c147([0x73,0x70,0x6c,0x69,0x74])](_0x56c147([0x2e]));return _0xe2b1b4[_0x56c147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x492dbb=>_0x492dbb[_0x56c147([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56c147([0x2a])))[_0x56c147([0x6d,0x61,0x70])](_0x466bc2=>_0x466bc2[_0x56c147([0x73,0x70,0x6c,0x69,0x74])](_0x56c147([0x2e])))[_0x56c147([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e8ab5=>_0x4e8ab5[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14e292[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56c147([0x6d,0x61,0x70])](_0x5876d5=>Array(_0x14e292[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5876d5[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56c147([0x66,0x69,0x6c,0x6c])](_0x5876d5[0x0]===_0x56c147([0x2a])?_0x56c147([0x2a]):'')[_0x56c147([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5876d5))[_0x56c147([0x73,0x6f,0x6d,0x65])](_0x3a31a5=>_0x14e292[_0x56c147([0x65,0x76,0x65,0x72,0x79])]((_0x1811fb,_0x6fca35)=>_0x3a31a5[_0x6fca35]===_0x1811fb||_0x3a31a5[_0x6fca35]===_0x56c147([0x2a])));}function _0x489cc8(){return _0x268ae5&&_0x40d3c5?new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b47e3,_0x40ca05)=>{_0x268ae5[_0x56c147([0x74,0x68,0x65,0x6e])](_0x2b47e3,_0x40ca05),_0x40d3c5[_0x56c147([0x74,0x68,0x65,0x6e])](_0xc42121=>{_0xc42121!=_0x56c147([0x56,0x61,0x6c,0x69,0x64])&&_0x2b47e3(_0xc42121);},_0x40ca05);}):_0x268ae5||_0x40d3c5||_0x56c147([0x56,0x61,0x6c,0x69,0x64]);}}function _0x586cd0(_0x2b5dab,_0x12af25){return new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x554eea=>{if(_0x40cd8d())return _0x554eea(_0x56c147([0x56,0x61,0x6c,0x69,0x64]));_0x18023f(),_0x29b780[_0x56c147([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56c147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36ca5e=!0x1;const _0x103f84=_0x54801f();function _0x1bab3f(_0x385278){return!!_0x385278&&(typeof _0x385278===_0x56c147([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x385278===_0x56c147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x385278[_0x56c147([0x74,0x68,0x65,0x6e])]===_0x56c147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x385278[_0x56c147([0x63,0x61,0x74,0x63,0x68])]===_0x56c147([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7279f3(_0x409305){_0x23a37b(_0x409305)[_0x56c147([0x74,0x68,0x65,0x6e])](_0x488058=>{if(!_0x488058||_0x488058[_0x56c147([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56c147([0x6f,0x6b]))return _0x56c147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3157f8(_0x48e7c6(_0x103f84+_0x12af25))!=_0x488058[_0x56c147([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56c147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56c147([0x56,0x61,0x6c,0x69,0x64]);})[_0x56c147([0x74,0x68,0x65,0x6e])](_0x5f38ea=>(_0x37bc38(),_0x5f38ea),()=>{const _0x2e91fd=_0x5570fa();return null==_0x2e91fd?(_0x37bc38(),_0x56c147([0x56,0x61,0x6c,0x69,0x64])):_0x56c147(_0x21a418-_0x2e91fd>(0xd60aa4^_0x30159e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56c147([0x74,0x68,0x65,0x6e])](_0x554eea)[_0x56c147([0x63,0x61,0x74,0x63,0x68])](()=>{_0x554eea(_0x56c147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57deb5=0x24ec6024^_0x30159e;function _0x37bc38(){const _0x23aad8=_0x56c147([0x6c,0x6c,0x63,0x74,0x2d])+_0x3157f8(_0x48e7c6(_0x2b5dab)),_0x29107b=_0x118104(_0x3157f8(window[_0x56c147([0x4d,0x61,0x74,0x68])][_0x56c147([0x63,0x65,0x69,0x6c])](_0x21a418/_0x57deb5)));window[_0x56c147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56c147([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23aad8,_0x29107b);}function _0x5570fa(){const _0xecbe8c=_0x56c147([0x6c,0x6c,0x63,0x74,0x2d])+_0x3157f8(_0x48e7c6(_0x2b5dab)),_0x17afa0=window[_0x56c147([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56c147([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xecbe8c);return _0x17afa0?window[_0x56c147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x118104(_0x17afa0),0x10)*_0x57deb5:null;}function _0x23a37b(_0x2c0590){return new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5223bd,_0x457c2e)=>{_0x2c0590[_0x56c147([0x74,0x68,0x65,0x6e])](_0x5223bd,_0x457c2e),window[_0x56c147([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x457c2e,0x24db5a64^_0x30159e);});}}_0x29b780[_0x56c147([0x6f,0x6e])](_0x56c147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x352071,_0x42c789)=>{if(_0x42c789[0x0]!=_0x2b5dab)return _0x554eea(_0x56c147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42c789[0x1]={..._0x42c789[0x1],[_0x56c147([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x103f84};},{[_0x56c147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56c147([0x68,0x69,0x67,0x68])}),_0x29b780[_0x56c147([0x6f,0x6e])](_0x56c147([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1bf23e=>{_0x1bab3f(_0x1bf23e[_0x56c147([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36ca5e=!0x0,_0x7279f3(_0x1bf23e[_0x56c147([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56c147([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56c147([0x6c,0x6f,0x77])}),_0x3158cd[_0x56c147([0x74,0x68,0x65,0x6e])](()=>{_0x36ca5e||_0x554eea(_0x56c147([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40cd8d(){return _0x29b780[_0x56c147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56c147([0x76,0x69,0x65,0x77])][_0x56c147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56c147([0x61,0x75,0x74,0x6f]);}function _0x18023f(){_0x29b780[_0x56c147([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56c147([0x76,0x69,0x65,0x77])][_0x56c147([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56c147([0x61,0x75,0x74,0x6f]);}}function _0x2ffae3(_0x4559be){const _0x2721df=[new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59882d=>setTimeout(_0x59882d,0x24d3b068^_0x30159e)),_0x3158cd[_0x56c147([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5926d1=>{let _0x5391be=0x0;_0x29b780[_0x56c147([0x6d,0x6f,0x64,0x65,0x6c])][_0x56c147([0x6f,0x6e])](_0x56c147([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2403c0,_0x32f67a)=>{_0x32f67a[0x0][_0x56c147([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5391be++,_0x5391be==(0x24da8f5c^_0x30159e)&&(_0x5926d1(),_0x2403c0[_0x56c147([0x6f,0x66,0x66])]());});}))];return window[_0x56c147([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56c147([0x72,0x61,0x63,0x65])](_0x2721df)[_0x56c147([0x74,0x68,0x65,0x6e])](()=>_0x4559be);}async function _0x57d0ca(){await _0x3158cd,_0x29b780[_0x56c147([0x6d,0x6f,0x64,0x65,0x6c])][_0x56c147([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x512317,_0x29b780[_0x56c147([0x6d,0x6f,0x64,0x65,0x6c])][_0x56c147([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x512317,_0x29b780[_0x56c147([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56c147([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x128d76(_0x49f89a){const _0x51230a=_0x3a39ed();_0x29b780[_0x51230a]=_0x56c147([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49f89a,_0x49f89a!=_0x56c147([0x56,0x61,0x6c,0x69,0x64])&&_0x57d0ca();}function _0x3a39ed(){const _0xe21476=window[_0x56c147([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56c147([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56c147([0x6e,0x6f,0x77])]())[_0x56c147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56c147([0x2e]),'');let _0xb27b14=_0x56c147([0x6b]);for(let _0x152aff=0x0;_0x152aff<_0xe21476[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x152aff+=0x2){let _0x3feb1f=window[_0x56c147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe21476[_0x56c147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x152aff,_0x152aff+0x2));_0x3feb1f>=_0x24e3df[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3feb1f-=_0x24e3df[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb27b14+=_0x24e3df[_0x3feb1f];}return _0xb27b14;}function _0x5a2795(){const _0x44e363=_0x9b3f93[_0x56c147([0x73,0x70,0x6c,0x69,0x74])](_0x56c147([0x2e]));if(0x3!=_0x44e363[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2dcd80(_0x44e363[0x1]);function _0x2dcd80(_0x5c37dc){const _0x2ba3be=_0x29a8eb(_0x5c37dc);return _0x2ba3be&&_0x21be77()?_0x2ba3be:null;function _0x21be77(){const _0xa768ee=_0x2ba3be[_0x56c147([0x6a,0x74,0x69])],_0x46979e=window[_0x56c147([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa768ee[_0x56c147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa768ee[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d72f3={..._0x2ba3be,[_0x56c147([0x6a,0x74,0x69])]:_0xa768ee[_0x56c147([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa768ee[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d72f3[_0x56c147([0x76,0x63])],_0x48e7c6(_0x3d72f3)==_0x46979e;}}}async function _0x23cc22(){let _0x31c55e=!0x0;try{const _0x175ab1=_0x9b3f93[_0x56c147([0x73,0x70,0x6c,0x69,0x74])](_0x56c147([0x2e])),[_0x34d1d0,_0x354b5e,_0x510c3e]=_0x175ab1;return _0xbf85d3(_0x34d1d0),await _0x2ca0b5(_0x34d1d0,_0x354b5e,_0x510c3e),_0x31c55e;}catch{return!0x1;}function _0xbf85d3(_0x2ca740){const _0x19c52b=_0x29a8eb(_0x2ca740);_0x19c52b&&_0x19c52b[_0x56c147([0x61,0x6c,0x67])]==_0x56c147([0x45,0x53,0x32,0x35,0x36])||(_0x31c55e=!0x1);}async function _0x2ca0b5(_0x4ca414,_0x33dc75,_0x16f3d4){const _0x3d48fc=window[_0x56c147([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56c147([0x66,0x72,0x6f,0x6d])](_0x3f9e32(_0x16f3d4),_0x126f6f=>_0x126f6f[_0x56c147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d31a6=new window[(_0x56c147([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56c147([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ca414+_0x56c147([0x2e])+_0x33dc75),_0x2ca5cf=window[_0x56c147([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56c147([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ca5cf)return;const _0x5adff0=await _0x2ca5cf[_0x56c147([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56c147([0x6a,0x77,0x6b]),_0x113d4a,{[_0x56c147([0x6e,0x61,0x6d,0x65])]:_0x56c147([0x45,0x43,0x44,0x53,0x41]),[_0x56c147([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56c147([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56c147([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ca5cf[_0x56c147([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56c147([0x6e,0x61,0x6d,0x65])]:_0x56c147([0x45,0x43,0x44,0x53,0x41]),[_0x56c147([0x68,0x61,0x73,0x68])]:{[_0x56c147([0x6e,0x61,0x6d,0x65])]:_0x56c147([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5adff0,_0x3d48fc,_0x5d31a6)||(_0x31c55e=!0x1);}}function _0x29a8eb(_0x5c2894){return _0x5c2894[_0x56c147([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56c147([0x65,0x79]))?JSON[_0x56c147([0x70,0x61,0x72,0x73,0x65])](_0x3f9e32(_0x5c2894)):null;}function _0x3f9e32(_0x3df75d){return window[_0x56c147([0x61,0x74,0x6f,0x62])](_0x3df75d[_0x56c147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56c147([0x2b]))[_0x56c147([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56c147([0x2f])));}function _0x48e7c6(_0x52b805){let _0x52eff6=0x1505;function _0xe9488a(_0x13fc20){for(let _0x2c6ef3=0x0;_0x2c6ef3<_0x13fc20[_0x56c147([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c6ef3++){const _0x533f57=_0x13fc20[_0x56c147([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c6ef3);_0x52eff6=(_0x52eff6<<0x5)+_0x52eff6+_0x533f57,_0x52eff6&=_0x52eff6;}}function _0x12b71a(_0x5e0f63){Array[_0x56c147([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e0f63)?_0x5e0f63[_0x56c147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12b71a):_0x5e0f63&&typeof _0x5e0f63==_0x56c147([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56c147([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e0f63)[_0x56c147([0x73,0x6f,0x72,0x74])]()[_0x56c147([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c8c1b,_0x26874e])=>{_0xe9488a(_0x1c8c1b),_0x12b71a(_0x26874e);}):_0xe9488a(window[_0x56c147([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e0f63));}return _0x12b71a(_0x52b805),_0x52eff6>>>0x0;}function _0x3157f8(_0x58f5d4){return _0x58f5d4[_0x56c147([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56c147([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56c147([0x30]));}function _0x118104(_0x456bdf){return _0x456bdf[_0x56c147([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56c147([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56c147([0x6a,0x6f,0x69,0x6e])]('');}function _0x512317(){}function _0x56c147(_0x35b77b){return _0x35b77b['map'](_0x3b3a87=>String['fromCharCode'](_0x3b3a87))['join']('');}_0x128d76(await _0x510ccb());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x58cd61=this['editor'],_0x207684=_0x58cd61['editing']['view'],_0x60fd9b=this['_getAttachedDomRoot']();if(!_0x60fd9b||0x0===_0x60fd9b['childElementCount'])return void _0x58cd61['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x54ba7c,pageHeight:_0x3574dd}=_0x58cd61['config']['get']('pagination'),{top:_0x3b3f21,left:_0x5222cd,bottom:_0x48fe04,right:_0x194cc1}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5389bc(_0x58cd61['locale']);const _0x178d05=this['_pagesContainer'];_0x178d05['set']('class',''),_0x178d05['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x54ba7c,'width':_0x54ba7c,'height':'calc(\x20'+_0x3574dd+'\x20-\x20'+_0x3b3f21+'\x20-\x20'+_0x48fe04+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x194cc1+'\x200\x20'+_0x5222cd,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x178d05['bindTemplate']['to']('class')}}),_0x178d05['render'](),_0x60fd9b['parentNode']['insertBefore'](_0x178d05['element'],_0x60fd9b['nextSibling']),this['listenTo'](_0x207684,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x384bc0 of this['editor']['editing']['view']['domRoots']['values']())if(_0x384bc0['ownerDocument']['body']['contains'](_0x384bc0))return _0x384bc0;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x15c99c=this['editor']['editing']['view'],_0x3080de=this['_pagesContainer'],_0xc0b14b=this['_getAttachedDomRoot']();if(!_0xc0b14b)return Promise['resolve']();for(_0x3080de['class']=['ck-reset','ck-pagination-view',..._0xc0b14b['classList']]['join']('\x20');_0x3080de['element']['firstChild'];)_0x3080de['element']['firstChild']['remove']();const _0x237fef=Array['from'](_0x15c99c['domRoots']);_0x237fef['sort'](([,_0x4325a2],[,_0x46f298])=>_0x4325a2['compareDocumentPosition'](_0x46f298)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x14a8a1,_0x525faf]of _0x237fef){const _0x47056b=_0x525faf['cloneNode'](!0x0);'attributeStyleMap'in _0x47056b&&_0x47056b['attributeStyleMap']['clear'](),_0x47056b['className']='',_0x47056b['removeAttribute']('id'),_0x47056b['dataset']['rootName']=_0x14a8a1,_0x3080de['element']['append'](_0x47056b);}return function(_0x148def){return Promise['all'](_0x148def['map'](_0xf6393b=>Promise['race']([p(_0xf6393b),y(0x3e8)])));}(Array['from'](_0x3080de['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1ac675=this['_pagesContainer']['element'];if(!_0x1ac675['ownerDocument']['body']['contains'](_0x1ac675))return;const _0x356d1e=new _0x40b526(_0x1ac675)['excludeScrollbarsAndBorders'](),_0x49ae15=_0x2743e1['window']['getComputedStyle'](_0x1ac675),_0x4da8d6=parseFloat(_0x49ae15['paddingLeft'])+parseFloat(_0x49ae15['paddingRight']),_0x8c8cec=Math['floor'](_0x356d1e['width']+0x64-_0x4da8d6),_0x306d36=x(_0x1ac675,Math['floor'](_0x356d1e['left']-_0x1ac675['scrollLeft']),_0x8c8cec,_0x356d1e['height'])['map'](_0x2546ac=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2546ac));_0x306d36['every'](_0x2532dd=>!!_0x2532dd)&&(this['pageBreaks']=_0x306d36);}['_mapPageStarterInfoToPageBreakInfo'](_0x2f1642){const _0x4814b9=this['editor']['editing']['view'],_0x57fa23=this['editor']['editing']['mapper'],_0x4d19c0=_0x4814b9['domConverter'],_0x54d53d=_0x2f1642['path']['shift'](),_0x212d5a=this['_pagesContainer']['element']['childNodes'][_0x54d53d]['dataset']['rootName'],_0x333f9e=_0x4814b9['getDomRoot'](_0x212d5a);if(!_0x333f9e)return null;const _0x204d42=function(_0x2976b1,_0x204e95){let _0x276f2f=_0x2976b1;for(const _0x5b3615 of _0x204e95['path']){if(!_0x276f2f)return null;_0x276f2f=_0x276f2f['childNodes'][_0x5b3615];}return _0x276f2f;}(_0x333f9e,_0x2f1642);if(!_0x204d42)return null;const _0x4185cd=_0x4d19c0['domPositionToView'](_0x204d42,_0x2f1642['textOffset']||0x0);return _0x4185cd?'manual'==_0x2f1642['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4185cd,_0x204d42):'text'==_0x2f1642['type']&&_0x57fa23['toModelPosition'](_0x4185cd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4185cd,_0x204d42,_0x2f1642['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4185cd,_0x204d42,_0x2f1642['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x99a829,_0x3815eb){const _0x34a3fc=this['editor']['model'],_0x3f490b=this['editor']['editing']['mapper']['toModelElement'](_0x99a829['parent']),_0x12b674=_0x34a3fc['createRangeOn'](_0x3f490b);return new K({'type':'manual','modelRange':_0x12b674,'domNode':_0x3815eb,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c92ad,_0x4d5906,_0x256b29){const _0x3acb4e=this['editor']['model'],_0x4c7870=this['editor']['editing']['mapper'],_0x428b42=this['editor']['editing']['view']['domConverter'];if(_0x256b29>=_0x4d5906['length'])return null;const _0xf2da90=_0x4c7870['toModelPosition'](_0x1c92ad),_0x49fb52=_0x3acb4e['createRange'](_0xf2da90),_0x1d0f1d=_0x4c7870['findMappedViewAncestor'](_0x1c92ad),_0x45ad8f=_0x428b42['mapViewToDom'](_0x1d0f1d);return new K({'type':'text','modelRange':_0x49fb52,'domNode':_0x4d5906,'offset':m(_0x4d5906,_0x256b29,_0x45ad8f)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x76de7d,_0x20e3ed,_0x4c5309){const _0x2c2b6e=this['editor']['model'],_0x29b1d9=this['editor']['editing'],_0x82f2ef=_0x29b1d9['mapper'],_0x126321=_0x29b1d9['view']['domConverter'],_0x45e3d4=_0x82f2ef['findMappedViewAncestor'](_0x76de7d),_0x207d01=_0x82f2ef['toModelElement'](_0x45e3d4),_0x2c9086=function(_0x19e11a){const _0x569d51=_0x19e11a['parent'],_0x25c168=_0x569d51['root']['document']['model'],_0x242c64=_0x569d51['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5992a4=null;for(const _0x582936 of _0x242c64){if(_0x582936['is']('rootElement'))return _0x5992a4;if(!_0x25c168['createPositionBefore'](_0x582936)['isTouching'](_0x19e11a))return _0x5992a4;_0x5992a4=_0x582936;}}(_0x2c2b6e['createPositionBefore'](_0x207d01)),_0x7f9bef=_0x2c9086||_0x207d01;let _0x503283=_0x82f2ef['toViewElement'](_0x7f9bef),_0x2b338d=_0x2c2b6e['createRangeOn'](_0x7f9bef);const _0x26c7c6=_0x2c2b6e['createPositionBefore'](_0x7f9bef)['nodeBefore'];if(_0x26c7c6&&_0x26c7c6['is']('element','imageBlock')){const _0x19890c=_0x82f2ef['toViewElement'](_0x26c7c6),_0x53358d=_0x126321['mapViewToDom'](_0x19890c),_0x381ef8=_0x2743e1['window']['getComputedStyle'](_0x53358d)['float'];'left'!=_0x381ef8&&'right'!=_0x381ef8||(_0x2b338d=_0x2c2b6e['createRangeOn'](_0x26c7c6));}for(;_0x503283['parent']!==_0x503283['root']&&0x0===_0x503283['index'];)_0x503283=_0x503283['parent'];const _0x5bf6e3=new _0x40b526(S(_0x20e3ed)?_0x20e3ed:P(_0x20e3ed)),_0x39b2b5=_0x4c5309?_0x5bf6e3['height']-_0x4c5309:0x0,_0x267fa7=_0x126321['mapViewToDom'](_0x503283),_0x565320=new _0x40b526(_0x267fa7);return new K({'type':'element','modelRange':_0x2b338d,'domNode':_0x267fa7,'offset':Math['round'](_0x39b2b5)?_0x39b2b5+_0x5bf6e3['top']-_0x565320['top']:0x0});}get['_configuredPaddings'](){const _0x4ba6cb=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4ba6cb);}static['_findPageStarterInfos'](_0x3c3b53,_0x2e9225,_0x1bacbc,_0x10f396,_0x41aca5){return x(_0x3c3b53,_0x2e9225,_0x1bacbc,_0x10f396,_0x41aca5);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x37bc42,modelRange:_0x4273b9,domNode:_0x1d479a,offset:_0x59358e}){this['type']=_0x37bc42,this['modelRange']=_0x4273b9,this['_domNode']=_0x1d479a,this['_offset']=_0x59358e;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x470afd=new _0x40b526(S(this['_domNode'])?this['_domNode']:P(this['_domNode']));return'manual'==this['type']?_0x470afd['top']+_0x470afd['height']/0x2:_0x470afd['top']+this['_offset'];}}function m(_0x3a313c,_0x190296,_0x56cb24){const _0x315e24=P(_0x3a313c),_0xfe90d8=function(_0x433790){const _0x3f2583=_0x2743e1['document']['createRange']();return _0x3f2583['selectNodeContents'](_0x433790),_0x3f2583;}(_0x56cb24);let _0x31e528;_0x31e528=0x0==_0x190296?b(_0xfe90d8['startContainer'],_0xfe90d8['startOffset'],_0x3a313c['parentNode'],Array['from'](_0x3a313c['parentNode']['childNodes'])['indexOf'](_0x3a313c)):b(_0xfe90d8['startContainer'],_0xfe90d8['startOffset'],_0x3a313c,_0x190296);const _0x12f0b8=b(_0x3a313c,_0x190296,_0xfe90d8['endContainer'],_0xfe90d8['endOffset']),_0x810d58=new _0x40b526(_0x31e528)['bottom'];return(new _0x40b526(_0x12f0b8)['top']+_0x810d58)/0x2-new _0x40b526(_0x315e24)['top'];}function p(_0x273735){return _0x273735['hasAttribute']('width')&&_0x273735['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5e7481=>{function _0x1b7725(){_0x273735['removeEventListener']('load',_0x1b7725),_0x273735['removeEventListener']('error',_0x1b7725),_0x5e7481();}_0x273735['complete']?_0x5e7481():(_0x273735['addEventListener']('load',_0x1b7725),_0x273735['addEventListener']('error',_0x1b7725));});}function y(_0x36fcb5){return new Promise(_0x31a10e=>setTimeout(_0x31a10e,_0x36fcb5));}function P(_0x5008db){const _0x39e557=_0x2743e1['document']['createRange']();return _0x39e557['selectNode'](_0x5008db),_0x39e557;}function k(_0x40670b,_0xf7cd33,_0x2b74eb){const _0x137ced=_0x2743e1['document']['createRange']();return _0x137ced['setStart'](_0x40670b,_0xf7cd33),_0x137ced['setEnd'](_0x40670b,_0x2b74eb),_0x137ced;}function b(_0x55afe5,_0x1d7d61,_0x5b5522,_0x4da654){const _0x2046a1=_0x2743e1['document']['createRange']();return _0x2046a1['setStart'](_0x55afe5,_0x1d7d61),_0x2046a1['setEnd'](_0x5b5522,_0x4da654),_0x2046a1;}function x(_0x133a63,_0x51a1fa,_0x58b665,_0x54a762,_0x28f96b){const _0x3a6c69=[];for(const [_0x3c5cc3,_0x56ee2f]of _0x133a63['childNodes']['entries']()){let _0x2a15b8=[];S(_0x56ee2f)&&_0x56ee2f['offsetParent']&&!_0x56ee2f['style']['position']?_0x2a15b8=_(_0x56ee2f,_0x3c5cc3,_0x51a1fa,_0x58b665,_0x54a762,_0x28f96b):R(_0x56ee2f)&&(_0x2a15b8=B(_0x56ee2f,_0x3c5cc3,_0x51a1fa,_0x58b665,_0x28f96b)),_0x2a15b8['length']&&(_0x3a6c69['push'](..._0x2a15b8),_0x51a1fa+=_0x2a15b8['length']*_0x58b665,_0x28f96b=!0x1);}return _0x3a6c69;}function _(_0x41fe3e,_0xe6d00b,_0xe599c1,_0x232c9d,_0x573c49,_0x3270ba){const _0xac9638=[];var _0x4fe8be;if((_0x4fe8be=_0x41fe3e['previousSibling'])&&S(_0x4fe8be)&&Boolean(_0x4fe8be['classList']['contains']('page-break')||_0x4fe8be['closest']('.page-break'))&&(_0xac9638['push']({'type':'manual','offset':0x0,'path':[_0xe6d00b-0x1]}),_0x3270ba=!0x0),'table-row'==_0x2743e1['window']['getComputedStyle'](_0x41fe3e)['display']){let _0x5689a3=0x0,_0x109855=!0x1;for(const _0x2c036b of _0x41fe3e['getClientRects']())_0x5689a3+=_0x2c036b['height'],_0x2c036b['left']>=_0xe599c1&&(_0x109855=!0x0);if(_0x5689a3<_0x573c49&&_0x109855)return _0xac9638['push']({'type':'element','offset':0x0,'path':[_0xe6d00b]}),_0xac9638;}const _0x29b7a8=_0x41fe3e['closest']('figure.image');if(_0x29b7a8&&function(_0x247824){let _0x3593f5=!0x1;const _0x28c7c4=_0x247824['parentElement'],_0x19b21b=_0x28c7c4['dataset']['rootName'],_0x22798b=_0x247824['nextElementSibling'],_0x25130d=_0x247824['previousElementSibling'],_0x1baca8=_0x22798b&&_0x2743e1['window']['getComputedStyle'](_0x22798b)['float'],_0x5b6642=_0x22798b&&'ck-fake-selection-container'===_0x22798b['className'];!_0x19b21b||_0x22798b||_0x25130d||(_0x3593f5=!0x0),_0x19b21b&&!_0x25130d&&_0x5b6642&&(_0x3593f5=!0x0),_0x19b21b&&!_0x25130d&&'none'!==_0x1baca8&&(_0x3593f5=!0x0);if(_0x3593f5)return!0x1;return!0x0;}(_0x29b7a8)){const _0x46284e=_0x2743e1['window']['getComputedStyle'](_0x29b7a8)['float'];if('left'==_0x46284e||'right'==_0x46284e)return _0xac9638;}const _0x462a63=x(_0x41fe3e,_0xe599c1,_0x232c9d,_0x573c49,_0x3270ba);if(_0x462a63['length']){for(const _0x22bb59 of _0x462a63)_0xac9638['push']({'type':_0x22bb59['type'],'offset':_0x22bb59['offset'],'textOffset':_0x22bb59['textOffset'],'path':[_0xe6d00b,..._0x22bb59['path']]}),_0xe599c1+=_0x232c9d,_0x3270ba=!0x1;return _0xac9638;}return _0xac9638['push'](...function(_0x3890a5,_0x5926c5,_0xf46fb6,_0x514700,_0x40ee25){const _0x16d31d=[];if('table-cell'==_0x2743e1['window']['getComputedStyle'](_0x3890a5)['display'])return[];const _0x46ba86=[];for(const _0x2991db of _0x3890a5['getClientRects']())if(_0x2991db['left']>=_0xf46fb6){for(const _0x49d576 of _0x46ba86)_0x49d576['height']+=_0x2991db['height'];_0x46ba86['push']({'height':_0x2991db['height']}),_0xf46fb6+=_0x514700;}for(const _0x2de25f of _0x46ba86)_0x40ee25||_0x16d31d['push']({'type':'element','offset':_0x2de25f['height'],'textOffset':0x0,'path':[_0x5926c5]}),_0x40ee25=!0x1;return _0x16d31d;}(_0x41fe3e,_0xe6d00b,_0xe599c1,_0x232c9d,_0x3270ba)),_0xac9638;}function B(_0x51038d,_0x294f91,_0x516b02,_0xa5b920,_0x3e6a94){const _0x4f88c2=P(_0x51038d),_0xcc000b=[];let _0x548e63=0x0;for(const _0x57c3f3 of _0x4f88c2['getClientRects']())if(_0x57c3f3['left']>=_0x516b02){const _0x35435e=I(_0x51038d,_0x548e63,_0x516b02,_0xa5b920);_0x3e6a94||_0xcc000b['push']({'type':'text','path':[_0x294f91],'textOffset':_0x35435e}),_0x548e63=_0x35435e,_0x516b02+=_0xa5b920,_0x3e6a94=!0x1;}return _0xcc000b;}function I(_0x18b77a,_0xb59d78,_0x870fc2,_0x41f567){let _0x1653ac=_0xb59d78,_0x309050=_0x18b77a['length'];for(;_0x309050-_0x1653ac>0x1;){const _0x53c986=Math['ceil']((_0x1653ac+_0x309050)/0x2);N(k(_0x18b77a,_0x1653ac,_0x53c986),_0x870fc2,_0x41f567)?_0x309050=_0x53c986:_0x1653ac=_0x53c986;}return _0x1653ac;}function N(_0x32ede8,_0x59b237,_0x14d86f){for(const _0x53981e of _0x32ede8['getClientRects']())if(_0x53981e['left']>=_0x59b237&&_0x53981e['left']<_0x59b237+_0x14d86f)return!0x0;return!0x1;}function S(_0x3d15ec){return _0x3d15ec['nodeType']==Node['ELEMENT_NODE'];}function R(_0x3c6db7){return _0x3c6db7['nodeType']==Node['TEXT_NODE'];}const z=_0x2221b5('px');class V extends _0x5389bc{constructor(){super();const _0x55519a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x55519a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x55519a['if']('isVisible','ck-hidden',_0x52fff9=>!_0x52fff9)],'style':{'left':_0x55519a['to']('left',_0x748986=>z(_0x748986)),'top':_0x55519a['to']('top',_0x22756b=>z(_0x22756b)),'width':_0x55519a['to']('width',_0x35879b=>z(_0x35879b))}}});}}class E{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5ed930){this['_viewCollection']=_0x5ed930['ui']['view']['body'];}['destroy'](){for(const _0x5f0797 of this['_hiddenLines'])_0x5f0797['destroy']();}['cleanLines'](){for(const _0x4ba33a of this['_visibleLines'])_0x4ba33a['isVisible']=!0x1,this['_hiddenLines']['add'](_0x4ba33a);this['_visibleLines']['clear']();}['showLine'](_0x12e5c1,_0x249a52,_0x27b0f7,_0x4f3c99){let _0x4b307b;this['_hiddenLines']['size']?(_0x4b307b=_0x422102(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4b307b)):_0x4b307b=new V(),_0x4b307b['set']({'pageNumber':_0x4f3c99,'left':_0x12e5c1,'top':_0x249a52,'width':_0x27b0f7}),_0x4b307b['isVisible']=!0x0,this['_viewCollection']['has'](_0x4b307b)||this['_viewCollection']['add'](_0x4b307b),this['_visibleLines']['add'](_0x4b307b);}['setViewCollection'](_0x29fc1c){for(const _0x3e83cd of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3e83cd)&&this['_viewCollection']['remove'](_0x3e83cd);this['_viewCollection']=_0x29fc1c;}}const L='ck-pagination_enabled';class c extends _0x886cf4{['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',(_0x3f1c06,_0x615c12,_0x4f15e4)=>{_0x4f15e4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](L,_0x4f15e4);});}['destroy'](){this['_toggleEditingRootsClass'](L,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x38ed05){if(!this['isEnabled'])return;const _0x3a2577=_0x38ed05>0x1?this['_getPageBreakLineOffset'](_0x38ed05-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3a2577-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2a4959['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x9e0de7=this['editor'],_0x3226b1=this['_getAttachedDomRoot']();_0x3226b1?(this['_scrollableEditingRootDomAncestor']&&_0x9e0de7['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x40b1d8){let _0x4b7635=_0x40b1d8;do{_0x4b7635=_0x4b7635['parentElement'];const _0x4bfaf3=_0x2743e1['window']['getComputedStyle'](_0x4b7635)['overflowY'];if('auto'==_0x4bfaf3||'scroll'==_0x4bfaf3)break;}while('BODY'!=_0x4b7635['tagName']);return _0x4b7635;}(_0x3226b1),_0x9e0de7['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x535e61(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x9e0de7['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x40bf76=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x40bf76['ui']['view']['listenTo'](_0x2743e1['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x40bf76['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x123b6b of this['editor']['editing']['view']['domRoots']['values']())if(_0x123b6b['ownerDocument']['body']['contains'](_0x123b6b))return _0x123b6b;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3cc3f5=this['_getAttachedDomRoot'](),_0x446f48=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3cc3f5||0x1==_0x446f48['length'])return void(this['pageNumber']=0x1);const _0x44cfd1=new _0x40b526(_0x3cc3f5)['excludeScrollbarsAndBorders'](),_0x1cc44b=new _0x40b526(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x338cbf=_0x1cc44b['top']+_0x1cc44b['height']/0x3;let _0x42277d=!0x1;const _0x5dfde8=[];for(let _0x5b2ae1=0x1;_0x5b2ae1<_0x446f48['length'];_0x5b2ae1++){const _0x3fbdd4=this['_getPageBreakLineOffset'](_0x5b2ae1,_0x1cc44b);if(!_0x3fbdd4)continue;const _0x459974=_0x1cc44b['top']+_0x3fbdd4-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5dfde8['push']({'pageOffsetTop':_0x459974,'domRootRect':_0x44cfd1,'domScrollableRect':_0x1cc44b,'pageNumber':_0x5b2ae1}),_0x459974>_0x338cbf&&!_0x42277d&&(this['pageNumber']=_0x5b2ae1,_0x42277d=!0x0);}this['_renderPageBreakLines'](_0x5dfde8),_0x42277d||(this['pageNumber']=_0x446f48['length']);}['_renderPageBreakLines'](_0x309576){const {scrollX:_0x3efcc7,scrollY:_0x17add3}=_0x2743e1['window'];if(_0x309576['length']){for(const {domScrollableRect:_0xbc4f5,pageOffsetTop:_0xaa0712,domRootRect:_0x171fa3,pageNumber:_0x65e440}of _0x309576)_0xbc4f5['top']<_0xaa0712&&_0xaa0712<_0xbc4f5['bottom']&&this['linesRepository']['showLine'](_0x171fa3['left']+_0x3efcc7,_0xaa0712+_0x17add3,_0x171fa3['width'],_0x65e440+0x1);}}['_getPageBreakLineOffset'](_0x3e1879,_0x3a1fe1=null){const _0x1c66ca=this['_paginationLookupPlugin']['pageBreaks'][_0x3e1879]['offset'];return _0x1c66ca?(_0x3a1fe1||(_0x3a1fe1=new _0x40b526(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1c66ca-_0x3a1fe1['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x238993,_0x4f9336=!0x0){const _0x29b8b9=this['editor']['editing']['view'];_0x29b8b9['change'](_0x57b947=>{for(const _0x594f22 of _0x29b8b9['document']['roots'])_0x4f9336?_0x57b947['addClass'](_0x238993,_0x594f22):_0x57b947['removeClass'](_0x238993,_0x594f22);});}}function g(_0x342025,_0x21c8c6,..._0x2ca267){const t=_0x342025['t'];switch(_0x21c8c6){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)',..._0x2ca267);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 _0x21c8c6;}}class s extends _0x886cf4{['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 _0x343899=this['editor']['plugins']['get']('Pagination'),_0x2a5dea=this['editor']['plugins']['get'](n),_0xf75dea=this['editor']['plugins']['get'](c);this['bind']('isEnabled')['to'](_0x343899),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xf75dea),this['listenTo'](_0x2a5dea,'change:pageBreaks',(_0x2153c6,_0x738c0d,_0x22f5e3,_0x5f4c1e)=>{this['totalPages']=_0x22f5e3['length'],this['_updatePageBreakMarkers'](_0x22f5e3,_0x5f4c1e);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x397820=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5bec76;for(const _0x14882e in _0x397820){const _0x4accd7=_0x14882e,_0x21e39d=_0x397820[_0x4accd7];if('paginationLicenseKeyValid'==_0x21e39d||'paginationLicenseKeyInvalid'==_0x21e39d||'paginationLicenseKeyExpired'==_0x21e39d||'paginationLicenseKeyDomainLimit'==_0x21e39d||'paginationLicenseKeyNotAllowed'==_0x21e39d||'paginationLicenseKeyEvaluationLimit'==_0x21e39d||'paginationLicenseKeyTrialLimit'==_0x21e39d||'paginationLicenseKeyUsageLimit'==_0x21e39d){delete _0x397820[_0x4accd7],_0x5bec76=_0x21e39d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5bec76&&_0x397820['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5bec76&&_0x397820['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5bec76&&_0x397820['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5bec76&&_0x397820['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5bec76&&_0x397820['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x5bec76&&_0x397820['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x5bec76&&_0x397820['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x42b32d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](c)['scrollToPage'](this['_validatePageNumber'](_0x42b32d));}['moveSelectionToPage'](_0x4a6bea){if(!this['isEnabled'])return;const _0x345d34=this['editor'],_0x1efcc0=this['editor']['plugins']['get'](n)['pageBreaks'][_0x4a6bea-0x1];_0x1efcc0&&_0x345d34['model']['change'](_0x5adf7d=>{switch(_0x1efcc0['type']){case'manual':{const _0x200685=_0x345d34['model']['schema']['getNearestSelectionRange'](_0x1efcc0['modelRange']['end'],'forward');_0x5adf7d['setSelection'](_0x200685);break;}case'element':{const _0x18da11=_0x345d34['model']['schema']['getNearestSelectionRange'](_0x1efcc0['modelRange']['start'],'forward');_0x5adf7d['setSelection'](_0x18da11);break;}case'text':{const _0xdf12bb=_0x1efcc0['modelRange']['start'];if(_0xdf12bb['textNode']&&'\x20'===_0xdf12bb['textNode']['data'][_0xdf12bb['offset']]){const _0x1f7773=_0x5adf7d['createPositionAt'](_0xdf12bb['parent'],_0xdf12bb['offset']+0x1);_0x5adf7d['setSelection'](_0x1f7773);}else _0x5adf7d['setSelection'](_0x1efcc0['modelRange']);}}_0x345d34['editing']['view']['focus']();});}['goToNextPage'](){const _0x4fb221=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4fb221),this['scrollToPage'](_0x4fb221);}['goToPreviousPage'](){const _0x40aca6=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x40aca6),this['scrollToPage'](_0x40aca6);}['_updatePageBreakMarkers'](_0x154243,_0x23fa64){const _0x5a2492=this['editor']['model'];this['isEnabled']&&_0x5a2492['change'](_0x1203e8=>{for(let _0x501743=0x1;_0x501743<_0x154243['length'];_0x501743++){const _0x16c359=_0x154243[_0x501743]['modelRange'],_0x5dba09='pagination:'+(_0x501743+0x1);_0x5a2492['markers']['has'](_0x5dba09)?_0x1203e8['updateMarker'](_0x5dba09,{'range':_0x16c359}):_0x1203e8['addMarker'](_0x5dba09,{'range':_0x16c359,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x45cd1c=_0x154243['length'];_0x45cd1c<_0x23fa64['length'];_0x45cd1c++){const _0x13fe89='pagination:'+(_0x45cd1c+0x1);_0x5a2492['markers']['has'](_0x13fe89)&&_0x1203e8['removeMarker'](_0x13fe89);}});}['_setUpDataDowncastConversion'](){const _0xb772af='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x419d92=>{_0x419d92['on']('addMarker:'+_0xb772af,(_0x35bae6,{markerRange:_0x3d8694,markerName:_0x2aa965},_0xf7565d)=>{if(!_0xf7565d['options']['pagination'])return;if(!_0xf7565d['consumable']['consume'](_0x3d8694,_0x35bae6['name']))return;const _0x3b76d8=_0x3d8694['getContainedElement']();let _0x2da078=_0x3b76d8?_0xf7565d['mapper']['toViewElement'](_0x3b76d8):null;if(!_0x2da078){const _0xa837ac=_0x3d8694['start'];if(_0xf7565d['schema']['checkChild'](_0xa837ac,'$text')){const _0x59231a=_0xf7565d['mapper']['toViewPosition'](_0xa837ac);_0x2da078=_0xf7565d['writer']['createContainerElement']('span'),_0x2da078['getFillerOffset']=()=>null,_0xf7565d['writer']['insert'](_0x59231a,_0x2da078);}else{const _0x51c9c1=_0xa837ac['nodeAfter'];_0x2da078=_0xf7565d['mapper']['toViewElement'](_0x51c9c1);}}for(;_0x2da078['parent']!==_0x2da078['root']&&0x0===_0x2da078['index'];)_0x2da078=_0x2da078['parent'];const _0x497f1b=_0x2aa965['substring'](0xb);_0x2da078['hasClass']('page-break')||(_0xf7565d['writer']['setStyle']('page-break-before','always',_0x2da078),_0xf7565d['writer']['setAttribute']('data-pagination-page',_0x497f1b,_0x2da078),_0xf7565d['mapper']['bindElementToMarker'](_0x2da078,_0x2aa965)),_0x35bae6['stop']();});});}['_setupKeystrokes'](){const _0x11d932=this['editor'];_0x11d932['keystrokes']['set']('Shift+Pageup',(_0x2ade3a,_0x45c00f)=>{this['goToPreviousPage'](),_0x45c00f();}),_0x11d932['keystrokes']['set']('Shift+Pagedown',(_0x20b361,_0xfacd5d)=>{this['goToNextPage'](),_0xfacd5d();}),_0x11d932['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x11d932['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x11d932['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x11d932['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4d63af){return _0x4d63af<0x1&&(_0x4d63af=0x1),_0x4d63af>this['totalPages']&&(_0x4d63af=this['totalPages']),_0x4d63af;}}class U extends _0x5389bc{['pageNumberView'];constructor(_0x5b6ff7){super(_0x5b6ff7);const _0x56bddd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x419ecb(_0x5b6ff7,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x364dbb=>g(_0x5b6ff7,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x364dbb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x518e05=>!_0x518e05),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x56bddd['if']('isEnabled','ck-disabled',_0x5ad545=>!_0x5ad545)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x56bddd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2a4bd8=this['pageNumberView']['element'],_0x19cf49=_0x212a68=>{this['pageNumberView']['element']['value']=String(_0x212a68);};_0x19cf49(this['pageNumber']),this['on']('change:pageNumber',(_0x14b252,_0x31e007,_0x947454)=>{_0x19cf49(_0x947454);}),this['listenTo'](_0x2a4bd8,'keydown',(_0x526051,_0x36b868)=>{if('ArrowUp'===_0x36b868['key']||'ArrowDown'===_0x36b868['key'])return void _0x36b868['stopPropagation']();if(_0x36b868['keyCode']!==_0x21fd88['enter'])return;_0x36b868['preventDefault']();const _0x1edb47=_0x2a4bd8['valueAsNumber'];Number['isNaN'](_0x1edb47)?_0x2a4bd8['value']=String(this['pageNumber']):(_0x2a4bd8['checkValidity']()?this['pageNumber']=_0x1edb47:_0x1edb47>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2a4bd8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2a4bd8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2a4bd8,'blur',()=>{_0x2a4bd8['value']=String(this['pageNumber']);}),this['listenTo'](_0x2a4bd8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x886cf4{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b037e=this['editor'],_0x579d28=_0x5b037e['plugins']['get']('PaginationEditing');_0x5b037e['ui']['componentFactory']['add']('pageNavigation',_0x11df8b=>{const _0x32dd23=new U(_0x11df8b);return _0x32dd23['bind']('pageNumber')['to'](_0x579d28),_0x32dd23['bind']('totalPages')['to'](_0x579d28),_0x32dd23['bind']('isEnabled')['to'](_0x579d28),_0x32dd23['on']('navigation',(_0x6ab681,_0x5b290a)=>{_0x579d28['moveSelectionToPage'](_0x5b290a),_0x579d28['scrollToPage'](_0x5b290a);}),_0x32dd23;}),_0x5b037e['ui']['componentFactory']['add']('nextPage',_0x2152cd=>{const _0x420511=new _0x5ae807(_0x2152cd);return _0x420511['isEnabled']=!0x0,_0x420511['label']=g(_0x5b037e['locale'],'Go\x20to\x20next\x20page'),_0x420511['icon']=_0x355fb1,_0x420511['tooltip']=!0x0,_0x420511['keystroke']='Shift+PageDown',_0x420511['bind']('isEnabled')['to'](_0x579d28),this['listenTo'](_0x420511,'execute',()=>{_0x579d28['goToNextPage']();}),_0x420511;}),_0x5b037e['ui']['componentFactory']['add']('previousPage',_0x2ecea8=>{const _0x1a16be=new _0x5ae807(_0x2ecea8);return _0x1a16be['isEnabled']=!0x0,_0x1a16be['label']=g(_0x5b037e['locale'],'Go\x20to\x20previous\x20page'),_0x1a16be['icon']=_0x31435b,_0x1a16be['tooltip']=!0x0,_0x1a16be['keystroke']='Shift+PageUp',_0x1a16be['bind']('isEnabled')['to'](_0x579d28),this['listenTo'](_0x1a16be,'execute',()=>{_0x579d28['goToPreviousPage']();}),_0x1a16be;});}}class a extends _0x886cf4{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x40ba13){super(_0x40ba13),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x344a83=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x344a83),this['bind']('totalPages')['to'](_0x344a83),_0x2a4959['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x49f174){this['editor']['plugins']['get'](s)['scrollToPage'](_0x49f174);}}export{a as Pagination,c as PaginationRenderer};
23
+ import{Plugin as _0x363c97}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4beeb0,InputNumberView as _0x43affd,ButtonView as _0x466ca6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x38179f,Rect as _0xfb41d3,global as _0x1f50cd,uid as _0x305a3a,toUnit as _0x17ba99,first as _0x2f1854,env as _0x550cbf,ResizeObserver as _0x1db705,keyCodes as _0x54a18c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x272b93}from'es-toolkit/compat';import{IconArrowDown as _0x2e7a05,IconArrowUp as _0x57278f}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x363c97{['_recalculatePageBreaksDebounced']=_0x272b93(()=>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 _0x38179f('pagination-config-not-found',this['editor']['config']);const _0x31a9d8=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x31a9d8),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x29d736,_0x314c6b,_0x429dc9)=>{_0x429dc9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x236fef){const _0x4fb451=_0x11adf6([0x67,0x73,0x55,0x75,0x56,0x50,0x42,0x68,0x4d,0x6e,0x72,0x6f,0x34,0x37,0x41,0x54,0x61,0x44,0x31,0x39,0x43,0x45,0x52,0x30,0x6b,0x62,0x69,0x5a,0x78,0x4a,0x33,0x6c,0x71,0x49,0x59,0x4c,0x32,0x63,0x6d,0x48,0x57,0x7a,0x46,0x4f,0x66,0x77,0x74,0x38,0x47,0x58,0x36,0x70,0x53,0x51,0x35,0x4b,0x64,0x4e,0x76,0x79,0x65,0x6a]),_0x55c873=0x74011504,_0x195ccc=0x74067954^_0x55c873,_0x333cd0=window[_0x11adf6([0x44,0x61,0x74,0x65])][_0x11adf6([0x6e,0x6f,0x77])](),_0x312bf1=_0x236fef[_0x11adf6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x661fc9=new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfc9ff9=>{_0x312bf1[_0x11adf6([0x6f,0x6e,0x63,0x65])](_0x11adf6([0x72,0x65,0x61,0x64,0x79]),_0xfc9ff9);}),_0x4d894e={[_0x11adf6([0x6b,0x74,0x79])]:_0x11adf6([0x45,0x43]),[_0x11adf6([0x75,0x73,0x65])]:_0x11adf6([0x73,0x69,0x67]),[_0x11adf6([0x63,0x72,0x76])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36]),[_0x11adf6([0x78])]:_0x11adf6([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]),[_0x11adf6([0x79])]:_0x11adf6([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]),[_0x11adf6([0x61,0x6c,0x67])]:_0x11adf6([0x45,0x53,0x32,0x35,0x36])},_0x1ad2ab=_0x312bf1[_0x11adf6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11adf6([0x67,0x65,0x74])](_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f4cc7(){let _0x30f18a,_0x4f0274=null,_0x568629=null;try{if(_0x1ad2ab==_0x11adf6([0x47,0x50,0x4c]))return _0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30f18a=_0x22eedb(),!_0x30f18a)return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x568629=_0x4f487c(_0x30f18a[_0x11adf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30f18a[_0x11adf6([0x6a,0x74,0x69])])),await _0x24e82b()?_0x228314()?_0x47ada8()?_0x11adf6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5621a2()?(_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f0274=_0x8816f(_0x11adf6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11adf6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f0274=_0x8816f(_0x11adf6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x524057()):_0x11adf6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11adf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47ada8(){const _0x3d0969=[_0x11adf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11adf6([0x74,0x72,0x69,0x61,0x6c])][_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x333cd0/0x3e8:0xe10*_0x195ccc;return _0x30f18a[_0x11adf6([0x65,0x78,0x70])]<_0x3d0969;}function _0x228314(){const _0x30ceef=_0x30f18a[_0x11adf6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ceef&&(!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a]))||!!_0x30ceef[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x50,0x41,0x47])));}function _0x5621a2(){const _0x1630b0=_0x30f18a[_0x11adf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1630b0||0x0==_0x1630b0[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fd585}=new URL(window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1630b0[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd585))return!0x0;const _0x3436d5=_0x2fd585[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));return _0x1630b0[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49b1fe=>_0x49b1fe[_0x11adf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11adf6([0x2a])))[_0x11adf6([0x6d,0x61,0x70])](_0x505ba0=>_0x505ba0[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])))[_0x11adf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c77c2=>_0x3c77c2[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x6d,0x61,0x70])](_0x53a0c3=>Array(_0x3436d5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53a0c3[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11adf6([0x66,0x69,0x6c,0x6c])](_0x53a0c3[0x0]===_0x11adf6([0x2a])?_0x11adf6([0x2a]):'')[_0x11adf6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53a0c3))[_0x11adf6([0x73,0x6f,0x6d,0x65])](_0x11b148=>_0x3436d5[_0x11adf6([0x65,0x76,0x65,0x72,0x79])]((_0x1358e8,_0x3f6adf)=>_0x11b148[_0x3f6adf]===_0x1358e8||_0x11b148[_0x3f6adf]===_0x11adf6([0x2a])));}function _0x524057(){return _0x4f0274&&_0x568629?new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ed5d5,_0xb32721)=>{_0x4f0274[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x3ed5d5,_0xb32721),_0x568629[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x1d7dcb=>{_0x1d7dcb!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x3ed5d5(_0x1d7dcb);},_0xb32721);}):_0x4f0274||_0x568629||_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f487c(_0x11d186,_0x1b689e){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43c48a=>{if(_0x208abb())return _0x43c48a(_0x11adf6([0x56,0x61,0x6c,0x69,0x64]));_0x3dcfd4(),_0x312bf1[_0x11adf6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x140d0b=!0x1;const _0x2cb20d=_0x305a3a();function _0x2882e0(_0x515ff0){return!!_0x515ff0&&(typeof _0x515ff0===_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x515ff0===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x515ff0[_0x11adf6([0x74,0x68,0x65,0x6e])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x515ff0[_0x11adf6([0x63,0x61,0x74,0x63,0x68])]===_0x11adf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a9f84(_0x1f089d){_0x554f06(_0x1f089d)[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43782a=>{if(!_0x43782a||_0x43782a[_0x11adf6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11adf6([0x6f,0x6b]))return _0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1267d(_0x5b4cf1(_0x2cb20d+_0x1b689e))!=_0x43782a[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11adf6([0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x15ee72=>(_0x374c21(),_0x15ee72),()=>{const _0x46a9d5=_0x935345();return null==_0x46a9d5?(_0x374c21(),_0x11adf6([0x56,0x61,0x6c,0x69,0x64])):_0x11adf6(_0x333cd0-_0x46a9d5>(0x500d9104^_0x55c873)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x43c48a)[_0x11adf6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4aac=0x7437fb84^_0x55c873;function _0x374c21(){const _0x3ec339=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x39b589=_0x5b2cc9(_0xf1267d(window[_0x11adf6([0x4d,0x61,0x74,0x68])][_0x11adf6([0x63,0x65,0x69,0x6c])](_0x333cd0/_0x5d4aac)));window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ec339,_0x39b589);}function _0x935345(){const _0x1c06a8=_0x11adf6([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1267d(_0x5b4cf1(_0x11d186)),_0x36f7b6=window[_0x11adf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11adf6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c06a8);return _0x36f7b6?window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b2cc9(_0x36f7b6),0x10)*_0x5d4aac:null;}function _0x554f06(_0x4ac78a){return new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8cf563,_0xe959ff)=>{_0x4ac78a[_0x11adf6([0x74,0x68,0x65,0x6e])](_0x8cf563,_0xe959ff),window[_0x11adf6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe959ff,0x7400c1c4^_0x55c873);});}}_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6ec09e,_0x3df97b)=>{if(_0x3df97b[0x0]!=_0x11d186)return _0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3df97b[0x1]={..._0x3df97b[0x1],[_0x11adf6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cb20d};},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x68,0x69,0x67,0x68])}),_0x312bf1[_0x11adf6([0x6f,0x6e])](_0x11adf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ee045=>{_0x2882e0(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x140d0b=!0x0,_0x1a9f84(_0x3ee045[_0x11adf6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11adf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11adf6([0x6c,0x6f,0x77])}),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>{_0x140d0b||_0x43c48a(_0x11adf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x208abb(){return _0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11adf6([0x61,0x75,0x74,0x6f]);}function _0x3dcfd4(){_0x312bf1[_0x11adf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11adf6([0x76,0x69,0x65,0x77])][_0x11adf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11adf6([0x61,0x75,0x74,0x6f]);}}function _0x8816f(_0x25f75b){const _0x403c70=[new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2738a4=>setTimeout(_0x2738a4,0x74082bc8^_0x55c873)),_0x661fc9[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x488a37=>{let _0xee90b4=0x0;_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x6f,0x6e])](_0x11adf6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14648c,_0xa10f75)=>{_0xa10f75[0x0][_0x11adf6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee90b4++,_0xee90b4==(0x740114fc^_0x55c873)&&(_0x488a37(),_0x14648c[_0x11adf6([0x6f,0x66,0x66])]());});}))];return window[_0x11adf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11adf6([0x72,0x61,0x63,0x65])](_0x403c70)[_0x11adf6([0x74,0x68,0x65,0x6e])](()=>_0x25f75b);}async function _0x2e60b2(){await _0x661fc9,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x11adf6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1680f8,_0x312bf1[_0x11adf6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11adf6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c5dff(_0xc4abb8){const _0x47915d=_0x3ec5a8();_0x312bf1[_0x47915d]=_0x11adf6([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc4abb8,_0xc4abb8!=_0x11adf6([0x56,0x61,0x6c,0x69,0x64])&&_0x2e60b2();}function _0x3ec5a8(){const _0x59c093=window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11adf6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11adf6([0x6e,0x6f,0x77])]())[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11adf6([0x2e]),'');let _0x18bbcf=_0x11adf6([0x67]);for(let _0x2f606d=0x0;_0x2f606d<_0x59c093[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f606d+=0x2){let _0x177609=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c093[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f606d,_0x2f606d+0x2));_0x177609>=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x177609-=_0x4fb451[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18bbcf+=_0x4fb451[_0x177609];}return _0x18bbcf;}function _0x22eedb(){const _0x5554c6=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e]));if(0x3!=_0x5554c6[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x569b16(_0x5554c6[0x1]);function _0x569b16(_0x481d99){const _0x313459=_0x1af368(_0x481d99);return _0x313459&&_0x4ee2b6()?_0x313459:null;function _0x4ee2b6(){const _0x26d251=_0x313459[_0x11adf6([0x6a,0x74,0x69])],_0x18cc73=window[_0x11adf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55d6cb={..._0x313459,[_0x11adf6([0x6a,0x74,0x69])]:_0x26d251[_0x11adf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26d251[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55d6cb[_0x11adf6([0x76,0x63])],_0x5b4cf1(_0x55d6cb)==_0x18cc73;}}}async function _0x24e82b(){let _0x1edd83=!0x0;try{const _0x4f1ef7=_0x1ad2ab[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])](_0x11adf6([0x2e])),[_0x36db95,_0xd89dc3,_0x51ada3]=_0x4f1ef7;return _0x4263ca(_0x36db95),await _0xac9f4e(_0x36db95,_0xd89dc3,_0x51ada3),_0x1edd83;}catch{return!0x1;}function _0x4263ca(_0x4a7933){const _0x5e6bbc=_0x1af368(_0x4a7933);_0x5e6bbc&&_0x5e6bbc[_0x11adf6([0x61,0x6c,0x67])]==_0x11adf6([0x45,0x53,0x32,0x35,0x36])||(_0x1edd83=!0x1);}async function _0xac9f4e(_0x31935c,_0xa55857,_0x4f889f){const _0x58cf29=window[_0x11adf6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11adf6([0x66,0x72,0x6f,0x6d])](_0x1ddf12(_0x4f889f),_0xa08f11=>_0xa08f11[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b2713=new window[(_0x11adf6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11adf6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31935c+_0x11adf6([0x2e])+_0xa55857),_0x1d49bb=window[_0x11adf6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11adf6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d49bb)return;const _0x49744c=await _0x1d49bb[_0x11adf6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11adf6([0x6a,0x77,0x6b]),_0x4d894e,{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11adf6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d49bb[_0x11adf6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x45,0x43,0x44,0x53,0x41]),[_0x11adf6([0x68,0x61,0x73,0x68])]:{[_0x11adf6([0x6e,0x61,0x6d,0x65])]:_0x11adf6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49744c,_0x58cf29,_0x4b2713)||(_0x1edd83=!0x1);}}function _0x1af368(_0x737c29){return _0x737c29[_0x11adf6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11adf6([0x65,0x79]))?JSON[_0x11adf6([0x70,0x61,0x72,0x73,0x65])](_0x1ddf12(_0x737c29)):null;}function _0x1ddf12(_0x4e767b){return window[_0x11adf6([0x61,0x74,0x6f,0x62])](_0x4e767b[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11adf6([0x2b]))[_0x11adf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11adf6([0x2f])));}function _0x5b4cf1(_0x183ef8){let _0x574d61=0x1505;function _0xe4b403(_0x5b73b5){for(let _0x12e99b=0x0;_0x12e99b<_0x5b73b5[_0x11adf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12e99b++){const _0x1dab73=_0x5b73b5[_0x11adf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12e99b);_0x574d61=(_0x574d61<<0x5)+_0x574d61+_0x1dab73,_0x574d61&=_0x574d61;}}function _0x3494f0(_0x5d4bbc){Array[_0x11adf6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d4bbc)?_0x5d4bbc[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3494f0):_0x5d4bbc&&typeof _0x5d4bbc==_0x11adf6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11adf6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d4bbc)[_0x11adf6([0x73,0x6f,0x72,0x74])]()[_0x11adf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39279d,_0x10b14e])=>{_0xe4b403(_0x39279d),_0x3494f0(_0x10b14e);}):_0xe4b403(window[_0x11adf6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d4bbc));}return _0x3494f0(_0x183ef8),_0x574d61>>>0x0;}function _0xf1267d(_0x4762ec){return _0x4762ec[_0x11adf6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11adf6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11adf6([0x30]));}function _0x5b2cc9(_0x253048){return _0x253048[_0x11adf6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11adf6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11adf6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1680f8(){}function _0x11adf6(_0x17c440){return _0x17c440['map'](_0x4677c9=>String['fromCharCode'](_0x4677c9))['join']('');}_0x3c5dff(await _0x2f4cc7());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x42aacb=this['editor'],_0x20f612=_0x42aacb['editing']['view'],_0x4aca0b=this['_getAttachedDomRoot']();if(!_0x4aca0b||0x0===_0x4aca0b['childElementCount'])return void _0x42aacb['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3deeef,pageHeight:_0x16bc50}=_0x42aacb['config']['get']('pagination'),{top:_0x26fd28,left:_0x58c357,bottom:_0x3dec0b,right:_0x1fef61}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4beeb0(_0x42aacb['locale']);const _0x9b130d=this['_pagesContainer'];_0x9b130d['set']('class',''),_0x9b130d['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3deeef,'width':_0x3deeef,'height':'calc(\x20'+_0x16bc50+'\x20-\x20'+_0x26fd28+'\x20-\x20'+_0x3dec0b+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1fef61+'\x200\x20'+_0x58c357,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x9b130d['bindTemplate']['to']('class')}}),_0x9b130d['render'](),_0x4aca0b['parentNode']['insertBefore'](_0x9b130d['element'],_0x4aca0b['nextSibling']),this['listenTo'](_0x20f612,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x40789e of this['editor']['editing']['view']['domRoots']['values']())if(_0x40789e['ownerDocument']['body']['contains'](_0x40789e))return _0x40789e;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x39b0cd=this['editor']['editing']['view'],_0x595c74=this['_pagesContainer'],_0x37a565=this['_getAttachedDomRoot']();if(!_0x37a565)return Promise['resolve']();for(_0x595c74['class']=['ck-reset','ck-pagination-view',..._0x37a565['classList']]['join']('\x20');_0x595c74['element']['firstChild'];)_0x595c74['element']['firstChild']['remove']();const _0x23977a=Array['from'](_0x39b0cd['domRoots']);_0x23977a['sort'](([,_0x526d44],[,_0x1a14f2])=>_0x526d44['compareDocumentPosition'](_0x1a14f2)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4d51fd,_0x33b12d]of _0x23977a){const _0x486489=_0x33b12d['cloneNode'](!0x0);'attributeStyleMap'in _0x486489&&_0x486489['attributeStyleMap']['clear'](),_0x486489['className']='',_0x486489['removeAttribute']('id'),_0x486489['dataset']['rootName']=_0x4d51fd,_0x595c74['element']['append'](_0x486489);}return function(_0x1fbd7b){return Promise['all'](_0x1fbd7b['map'](_0x596430=>Promise['race']([m(_0x596430),p(0x3e8)])));}(Array['from'](_0x595c74['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x1f916f=this['_pagesContainer']['element'];if(!_0x1f916f['ownerDocument']['body']['contains'](_0x1f916f))return;const _0x25fa6a=new _0xfb41d3(_0x1f916f)['excludeScrollbarsAndBorders'](),_0x441f02=_0x1f50cd['window']['getComputedStyle'](_0x1f916f),_0xbe699c=parseFloat(_0x441f02['paddingLeft'])+parseFloat(_0x441f02['paddingRight']),_0x33f631=Math['floor'](_0x25fa6a['width']+0x64-_0xbe699c),_0x59609f=b(_0x1f916f,Math['floor'](_0x25fa6a['left']-_0x1f916f['scrollLeft']),_0x33f631,_0x25fa6a['height'])['map'](_0x19f33f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x19f33f));_0x59609f['every'](_0x17117e=>!!_0x17117e)&&(this['pageBreaks']=_0x59609f);}['_mapPageStarterInfoToPageBreakInfo'](_0x3b9e59){const _0x5e50cc=this['editor']['editing']['view'],_0x55a32d=this['editor']['editing']['mapper'],_0x284f18=_0x5e50cc['domConverter'],_0x298b6d=_0x3b9e59['path']['shift'](),_0x500ac7=this['_pagesContainer']['element']['childNodes'][_0x298b6d]['dataset']['rootName'],_0x29b7f=_0x5e50cc['getDomRoot'](_0x500ac7);if(!_0x29b7f)return null;const _0x3855fa=function(_0x3869d2,_0x12a388){let _0x268155=_0x3869d2;for(const _0x3cc8b4 of _0x12a388['path']){if(!_0x268155)return null;_0x268155=_0x268155['childNodes'][_0x3cc8b4];}return _0x268155;}(_0x29b7f,_0x3b9e59);if(!_0x3855fa)return null;const _0x1c48f1=_0x284f18['domPositionToView'](_0x3855fa,_0x3b9e59['textOffset']||0x0);return _0x1c48f1?'manual'==_0x3b9e59['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa):'text'==_0x3b9e59['type']&&_0x55a32d['toModelPosition'](_0x1c48f1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c48f1,_0x3855fa,_0x3b9e59['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x5486fc,_0x1732a6){const _0xdf4ffe=this['editor']['model'],_0xe9fd23=this['editor']['editing']['mapper']['toModelElement'](_0x5486fc['parent']),_0x3e589e=_0xdf4ffe['createRangeOn'](_0xe9fd23);return new K({'type':'manual','modelRange':_0x3e589e,'domNode':_0x1732a6,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x41a070,_0x248392,_0x3a35c3){const _0x5d0044=this['editor']['model'],_0x1331b5=this['editor']['editing']['mapper'],_0x1ccbee=this['editor']['editing']['view']['domConverter'];if(_0x3a35c3>=_0x248392['length'])return null;const _0x47d62a=_0x1331b5['toModelPosition'](_0x41a070),_0x338369=_0x5d0044['createRange'](_0x47d62a),_0x3d7097=_0x1331b5['findMappedViewAncestor'](_0x41a070),_0xf103ea=_0x1ccbee['mapViewToDom'](_0x3d7097);return new K({'type':'text','modelRange':_0x338369,'domNode':_0x248392,'offset':w(_0x248392,_0x3a35c3,_0xf103ea)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dd1f7,_0x4343d6,_0x3c824b){const _0x2d3d3e=this['editor']['model'],_0xea1b0f=this['editor']['editing'],_0x4d55ac=_0xea1b0f['mapper'],_0x20b11c=_0xea1b0f['view']['domConverter'],_0x3eba58=_0x4d55ac['findMappedViewAncestor'](_0x4dd1f7),_0x1b08cc=_0x4d55ac['toModelElement'](_0x3eba58),_0x57c1d4=function(_0x24252b){const _0x13ab37=_0x24252b['parent'],_0x1b75ef=_0x13ab37['root']['document']['model'],_0x1b0431=_0x13ab37['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3cb4ba=null;for(const _0x1fe265 of _0x1b0431){if(_0x1fe265['is']('rootElement'))return _0x3cb4ba;if(!_0x1b75ef['createPositionBefore'](_0x1fe265)['isTouching'](_0x24252b))return _0x3cb4ba;_0x3cb4ba=_0x1fe265;}}(_0x2d3d3e['createPositionBefore'](_0x1b08cc)),_0x59eaa5=_0x57c1d4||_0x1b08cc;let _0x36b40d=_0x4d55ac['toViewElement'](_0x59eaa5),_0x532117=_0x2d3d3e['createRangeOn'](_0x59eaa5);const _0x23bea8=_0x2d3d3e['createPositionBefore'](_0x59eaa5)['nodeBefore'];if(_0x23bea8&&_0x23bea8['is']('element','imageBlock')){const _0x2301f6=_0x4d55ac['toViewElement'](_0x23bea8),_0x2f45f7=_0x20b11c['mapViewToDom'](_0x2301f6),_0x5d8dfe=_0x1f50cd['window']['getComputedStyle'](_0x2f45f7)['float'];'left'!=_0x5d8dfe&&'right'!=_0x5d8dfe||(_0x532117=_0x2d3d3e['createRangeOn'](_0x23bea8));}for(;_0x36b40d['parent']!==_0x36b40d['root']&&0x0===_0x36b40d['index'];)_0x36b40d=_0x36b40d['parent'];const _0x5cae8e=new _0xfb41d3(N(_0x4343d6)?_0x4343d6:y(_0x4343d6)),_0x45c85a=_0x3c824b?_0x5cae8e['height']-_0x3c824b:0x0,_0x529bd0=_0x20b11c['mapViewToDom'](_0x36b40d),_0x251300=new _0xfb41d3(_0x529bd0);return new K({'type':'element','modelRange':_0x532117,'domNode':_0x529bd0,'offset':Math['round'](_0x45c85a)?_0x45c85a+_0x5cae8e['top']-_0x251300['top']:0x0});}get['_configuredPaddings'](){const _0xbe2b4f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xbe2b4f);}static['_findPageStarterInfos'](_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234){return b(_0x369580,_0x359c7b,_0x35e1fb,_0x1745b8,_0x1cf234);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1080f7,modelRange:_0xec6e39,domNode:_0x2e9c19,offset:_0x16818c}){this['type']=_0x1080f7,this['modelRange']=_0xec6e39,this['_domNode']=_0x2e9c19,this['_offset']=_0x16818c;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x11b157=new _0xfb41d3(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x11b157['top']+_0x11b157['height']/0x2:_0x11b157['top']+this['_offset'];}}function w(_0x5418f4,_0x449ca6,_0x20d5f9){const _0x2962e8=y(_0x5418f4),_0x153fe3=function(_0x39e6c2){const _0x2f38b7=_0x1f50cd['document']['createRange']();return _0x2f38b7['selectNodeContents'](_0x39e6c2),_0x2f38b7;}(_0x20d5f9);let _0x561a37;_0x561a37=0x0==_0x449ca6?k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4['parentNode'],Array['from'](_0x5418f4['parentNode']['childNodes'])['indexOf'](_0x5418f4)):k(_0x153fe3['startContainer'],_0x153fe3['startOffset'],_0x5418f4,_0x449ca6);const _0x247b13=k(_0x5418f4,_0x449ca6,_0x153fe3['endContainer'],_0x153fe3['endOffset']),_0x3a2f4e=new _0xfb41d3(_0x561a37)['bottom'];return(new _0xfb41d3(_0x247b13)['top']+_0x3a2f4e)/0x2-new _0xfb41d3(_0x2962e8)['top'];}function m(_0x457831){return _0x457831['hasAttribute']('width')&&_0x457831['hasAttribute']('height')?Promise['resolve']():new Promise(_0x491b39=>{function _0x5610ba(){_0x457831['removeEventListener']('load',_0x5610ba),_0x457831['removeEventListener']('error',_0x5610ba),_0x491b39();}_0x457831['complete']?_0x491b39():(_0x457831['addEventListener']('load',_0x5610ba),_0x457831['addEventListener']('error',_0x5610ba));});}function p(_0x105a59){return new Promise(_0x5c1178=>setTimeout(_0x5c1178,_0x105a59));}function y(_0x35f55c){const _0x2ebd=_0x1f50cd['document']['createRange']();return _0x2ebd['selectNode'](_0x35f55c),_0x2ebd;}function P(_0x1f61d4,_0x3665e4,_0x46ada4){const _0x5a4d22=_0x1f50cd['document']['createRange']();return _0x5a4d22['setStart'](_0x1f61d4,_0x3665e4),_0x5a4d22['setEnd'](_0x1f61d4,_0x46ada4),_0x5a4d22;}function k(_0x2288cb,_0x2f8c98,_0x337030,_0x15aa4a){const _0x4aa249=_0x1f50cd['document']['createRange']();return _0x4aa249['setStart'](_0x2288cb,_0x2f8c98),_0x4aa249['setEnd'](_0x337030,_0x15aa4a),_0x4aa249;}function b(_0x26e531,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd){const _0x3d7ef6=[];for(const [_0x49e396,_0x38f245]of _0x26e531['childNodes']['entries']()){let _0x32d819=[];N(_0x38f245)&&_0x38f245['offsetParent']&&!_0x38f245['style']['position']?_0x32d819=x(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x16097e,_0x528cdd):S(_0x38f245)&&(_0x32d819=_(_0x38f245,_0x49e396,_0x53e10c,_0x39a477,_0x528cdd)),_0x32d819['length']&&(_0x3d7ef6['push'](..._0x32d819),_0x53e10c+=_0x32d819['length']*_0x39a477,_0x528cdd=!0x1);}return _0x3d7ef6;}function x(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9){const _0x37fb72=[];var _0xe25f47;if((_0xe25f47=_0x1ba9dd['previousSibling'])&&N(_0xe25f47)&&Boolean(_0xe25f47['classList']['contains']('page-break')||_0xe25f47['closest']('.page-break'))&&(_0x37fb72['push']({'type':'manual','offset':0x0,'path':[_0x4e6ee4-0x1]}),_0x22b2a9=!0x0),'table-row'==_0x1f50cd['window']['getComputedStyle'](_0x1ba9dd)['display']){let _0x3163b2=0x0,_0x279f19=!0x1;for(const _0x41ef88 of _0x1ba9dd['getClientRects']())_0x3163b2+=_0x41ef88['height'],_0x41ef88['left']>=_0x39c2d8&&(_0x279f19=!0x0);if(_0x3163b2<_0x4651d5&&_0x279f19)return _0x37fb72['push']({'type':'element','offset':0x0,'path':[_0x4e6ee4]}),_0x37fb72;}const _0x2314b4=_0x1ba9dd['closest']('figure.image');if(_0x2314b4&&function(_0x2fa340){let _0x2e73fd=!0x1;const _0x1fa4b4=_0x2fa340['parentElement'],_0xf57a05=_0x1fa4b4['dataset']['rootName'],_0xf64120=_0x2fa340['nextElementSibling'],_0x2e1095=_0x2fa340['previousElementSibling'],_0xd3984f=_0xf64120&&_0x1f50cd['window']['getComputedStyle'](_0xf64120)['float'],_0x230c69=_0xf64120&&'ck-fake-selection-container'===_0xf64120['className'];!_0xf57a05||_0xf64120||_0x2e1095||(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&_0x230c69&&(_0x2e73fd=!0x0),_0xf57a05&&!_0x2e1095&&'none'!==_0xd3984f&&(_0x2e73fd=!0x0);if(_0x2e73fd)return!0x1;return!0x0;}(_0x2314b4)){const _0x12230b=_0x1f50cd['window']['getComputedStyle'](_0x2314b4)['float'];if('left'==_0x12230b||'right'==_0x12230b)return _0x37fb72;}const _0x255152=b(_0x1ba9dd,_0x39c2d8,_0x5edb93,_0x4651d5,_0x22b2a9);if(_0x255152['length']){for(const _0x4d0894 of _0x255152)_0x37fb72['push']({'type':_0x4d0894['type'],'offset':_0x4d0894['offset'],'textOffset':_0x4d0894['textOffset'],'path':[_0x4e6ee4,..._0x4d0894['path']]}),_0x39c2d8+=_0x5edb93,_0x22b2a9=!0x1;return _0x37fb72;}return _0x37fb72['push'](...function(_0x5be89f,_0x377d7a,_0x44660b,_0x51687e,_0x18b3ce){const _0x2145be=[];if('table-cell'==_0x1f50cd['window']['getComputedStyle'](_0x5be89f)['display'])return[];const _0x6025ba=[];for(const _0x4d83bf of _0x5be89f['getClientRects']())if(_0x4d83bf['left']>=_0x44660b){for(const _0x22b618 of _0x6025ba)_0x22b618['height']+=_0x4d83bf['height'];_0x6025ba['push']({'height':_0x4d83bf['height']}),_0x44660b+=_0x51687e;}for(const _0x49908c of _0x6025ba)_0x18b3ce||_0x2145be['push']({'type':'element','offset':_0x49908c['height'],'textOffset':0x0,'path':[_0x377d7a]}),_0x18b3ce=!0x1;return _0x2145be;}(_0x1ba9dd,_0x4e6ee4,_0x39c2d8,_0x5edb93,_0x22b2a9)),_0x37fb72;}function _(_0x2ad0f6,_0x14fc88,_0x3f6fef,_0x170623,_0x5b5d87){const _0x4f2b3f=y(_0x2ad0f6),_0x1185e0=[];let _0x3e4251=0x0;for(const _0x408c67 of _0x4f2b3f['getClientRects']())if(_0x408c67['left']>=_0x3f6fef){const _0x21a0d2=B(_0x2ad0f6,_0x3e4251,_0x3f6fef,_0x170623);_0x5b5d87||_0x1185e0['push']({'type':'text','path':[_0x14fc88],'textOffset':_0x21a0d2}),_0x3e4251=_0x21a0d2,_0x3f6fef+=_0x170623,_0x5b5d87=!0x1;}return _0x1185e0;}function B(_0x259a22,_0xef5754,_0x5cd9c3,_0x4040a8){let _0x70adfc=_0xef5754,_0x30a8c3=_0x259a22['length'];for(;_0x30a8c3-_0x70adfc>0x1;){const _0x49c5ca=Math['ceil']((_0x70adfc+_0x30a8c3)/0x2);I(P(_0x259a22,_0x70adfc,_0x49c5ca),_0x5cd9c3,_0x4040a8)?_0x30a8c3=_0x49c5ca:_0x70adfc=_0x49c5ca;}return _0x70adfc;}function I(_0xd16e2a,_0x3ee003,_0x44bb34){for(const _0x3f757c of _0xd16e2a['getClientRects']())if(_0x3f757c['left']>=_0x3ee003&&_0x3f757c['left']<_0x3ee003+_0x44bb34)return!0x0;return!0x1;}function N(_0x4a7813){return _0x4a7813['nodeType']==Node['ELEMENT_NODE'];}function S(_0x1ec025){return _0x1ec025['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
+ _0x17ba99('px');class C extends _0x4beeb0{constructor(){super();const _0x477ca3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x477ca3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x477ca3['if']('isVisible','ck-hidden',_0x3d9d14=>!_0x3d9d14)],'style':{'left':_0x477ca3['to']('left',_0x13ebfb=>q(_0x13ebfb)),'top':_0x477ca3['to']('top',_0xc03969=>q(_0xc03969)),'width':_0x477ca3['to']('width',_0x4dc702=>q(_0x4dc702))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x502f33){this['_viewCollection']=_0x502f33['ui']['view']['body'];}['destroy'](){for(const _0x5c10be of this['_hiddenLines'])_0x5c10be['destroy']();}['cleanLines'](){for(const _0x1cf565 of this['_visibleLines'])_0x1cf565['isVisible']=!0x1,this['_hiddenLines']['add'](_0x1cf565);this['_visibleLines']['clear']();}['showLine'](_0x4aa6da,_0x20cb3a,_0x363a84,_0x32083e){let _0x415731;this['_hiddenLines']['size']?(_0x415731=_0x2f1854(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x415731)):_0x415731=new C(),_0x415731['set']({'pageNumber':_0x32083e,'left':_0x4aa6da,'top':_0x20cb3a,'width':_0x363a84}),_0x415731['isVisible']=!0x0,this['_viewCollection']['has'](_0x415731)||this['_viewCollection']['add'](_0x415731),this['_visibleLines']['add'](_0x415731);}['setViewCollection'](_0x488738){for(const _0x2d0f44 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2d0f44)&&this['_viewCollection']['remove'](_0x2d0f44);this['_viewCollection']=_0x488738;}}const E='ck-pagination_enabled';class n extends _0x363c97{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new O(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](E),this['on']('change:isEnabled',(_0x3ea574,_0x495f90,_0x1cc020)=>{_0x1cc020||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x1cc020);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1c6330){if(!this['isEnabled'])return;const _0x3a253b=_0x1c6330>0x1?this['_getPageBreakLineOffset'](_0x1c6330-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3a253b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x550cbf['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5af224=this['editor'],_0x1be202=this['_getAttachedDomRoot']();_0x1be202?(this['_scrollableEditingRootDomAncestor']&&_0x5af224['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5a8cec){let _0xb2b1a1=_0x5a8cec;do{_0xb2b1a1=_0xb2b1a1['parentElement'];const _0x2080a0=_0x1f50cd['window']['getComputedStyle'](_0xb2b1a1)['overflowY'];if('auto'==_0x2080a0||'scroll'==_0x2080a0)break;}while('BODY'!=_0xb2b1a1['tagName']);return _0xb2b1a1;}(_0x1be202),_0x5af224['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1db705(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5af224['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x58899d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x58899d['ui']['view']['listenTo'](_0x1f50cd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x58899d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x11cdce of this['editor']['editing']['view']['domRoots']['values']())if(_0x11cdce['ownerDocument']['body']['contains'](_0x11cdce))return _0x11cdce;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5a2b01=this['_getAttachedDomRoot'](),_0x384a03=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5a2b01||0x1==_0x384a03['length'])return void(this['pageNumber']=0x1);const _0x9d9ed6=new _0xfb41d3(_0x5a2b01)['excludeScrollbarsAndBorders'](),_0x19e688=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xff7fa0=_0x19e688['top']+_0x19e688['height']/0x3;let _0x55c69b=!0x1;const _0x9a72ef=[];for(let _0x1ff5fd=0x1;_0x1ff5fd<_0x384a03['length'];_0x1ff5fd++){const _0x4802e2=this['_getPageBreakLineOffset'](_0x1ff5fd,_0x19e688);if(!_0x4802e2)continue;const _0x51f250=_0x19e688['top']+_0x4802e2-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x9a72ef['push']({'pageOffsetTop':_0x51f250,'domRootRect':_0x9d9ed6,'domScrollableRect':_0x19e688,'pageNumber':_0x1ff5fd}),_0x51f250>_0xff7fa0&&!_0x55c69b&&(this['pageNumber']=_0x1ff5fd,_0x55c69b=!0x0);}this['_renderPageBreakLines'](_0x9a72ef),_0x55c69b||(this['pageNumber']=_0x384a03['length']);}['_renderPageBreakLines'](_0x411cd3){const {scrollX:_0x46edfd,scrollY:_0x525964}=_0x1f50cd['window'];if(_0x411cd3['length']){for(const {domScrollableRect:_0x396a11,pageOffsetTop:_0x3f9e8e,domRootRect:_0x5015ad,pageNumber:_0x113817}of _0x411cd3)_0x396a11['top']<_0x3f9e8e&&_0x3f9e8e<_0x396a11['bottom']&&this['linesRepository']['showLine'](_0x5015ad['left']+_0x46edfd,_0x3f9e8e+_0x525964,_0x5015ad['width'],_0x113817+0x1);}}['_getPageBreakLineOffset'](_0x4d6ddd,_0x27877d=null){const _0xb6faa0=this['_paginationLookupPlugin']['pageBreaks'][_0x4d6ddd]['offset'];return _0xb6faa0?(_0x27877d||(_0x27877d=new _0xfb41d3(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xb6faa0-_0x27877d['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x8082d3,_0x568f28=!0x0){const _0x5b7157=this['editor']['editing']['view'];_0x5b7157['change'](_0x34d88d=>{for(const _0x201a26 of _0x5b7157['document']['roots'])_0x568f28?_0x34d88d['addClass'](_0x8082d3,_0x201a26):_0x34d88d['removeClass'](_0x8082d3,_0x201a26);});}}function g(_0x2d6154,_0x53088f,..._0xcc7f0b){const t=_0x2d6154['t'];switch(_0x53088f){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)',..._0xcc7f0b);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 _0x53088f;}}class s extends _0x363c97{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2e24c6=this['editor']['plugins']['get']('Pagination'),_0x42ea46=this['editor']['plugins']['get'](a),_0x45ea11=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x2e24c6),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x45ea11),this['listenTo'](_0x42ea46,'change:pageBreaks',(_0x411eb1,_0x1ba400,_0x19a4a1,_0x17d3e6)=>{this['totalPages']=_0x19a4a1['length'],this['_updatePageBreakMarkers'](_0x19a4a1,_0x17d3e6);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x549c6c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cd3d0;for(const _0x6185be in _0x549c6c){const _0x789ad1=_0x6185be,_0x5e6150=_0x549c6c[_0x789ad1];if('paginationLicenseKeyValid'==_0x5e6150||'paginationLicenseKeyInvalid'==_0x5e6150||'paginationLicenseKeyExpired'==_0x5e6150||'paginationLicenseKeyDomainLimit'==_0x5e6150||'paginationLicenseKeyNotAllowed'==_0x5e6150||'paginationLicenseKeyEvaluationLimit'==_0x5e6150||'paginationLicenseKeyTrialLimit'==_0x5e6150||'paginationLicenseKeyUsageLimit'==_0x5e6150){delete _0x549c6c[_0x789ad1],_0x4cd3d0=_0x5e6150,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x4cd3d0&&_0x549c6c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x402d25){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x402d25));}['moveSelectionToPage'](_0x1fb5a6){if(!this['isEnabled'])return;const _0xd3cfde=this['editor'],_0x50e86c=this['editor']['plugins']['get'](a)['pageBreaks'][_0x1fb5a6-0x1];_0x50e86c&&_0xd3cfde['model']['change'](_0x1620f5=>{switch(_0x50e86c['type']){case'manual':{const _0x237a4b=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['end'],'forward');_0x1620f5['setSelection'](_0x237a4b);break;}case'element':{const _0x4fa8b4=_0xd3cfde['model']['schema']['getNearestSelectionRange'](_0x50e86c['modelRange']['start'],'forward');_0x1620f5['setSelection'](_0x4fa8b4);break;}case'text':{const _0x57a5ad=_0x50e86c['modelRange']['start'];if(_0x57a5ad['textNode']&&'\x20'===_0x57a5ad['textNode']['data'][_0x57a5ad['offset']]){const _0x24dcf1=_0x1620f5['createPositionAt'](_0x57a5ad['parent'],_0x57a5ad['offset']+0x1);_0x1620f5['setSelection'](_0x24dcf1);}else _0x1620f5['setSelection'](_0x50e86c['modelRange']);}}_0xd3cfde['editing']['view']['focus']();});}['goToNextPage'](){const _0x29d58d=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x29d58d),this['scrollToPage'](_0x29d58d);}['goToPreviousPage'](){const _0x598788=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x598788),this['scrollToPage'](_0x598788);}['_updatePageBreakMarkers'](_0x32c2fe,_0x192d5b){const _0x32f3be=this['editor']['model'];this['isEnabled']&&_0x32f3be['change'](_0x662122=>{for(let _0x270186=0x1;_0x270186<_0x32c2fe['length'];_0x270186++){const _0x3aa9b5=_0x32c2fe[_0x270186]['modelRange'],_0x4b2a96='pagination:'+(_0x270186+0x1);_0x32f3be['markers']['has'](_0x4b2a96)?_0x662122['updateMarker'](_0x4b2a96,{'range':_0x3aa9b5}):_0x662122['addMarker'](_0x4b2a96,{'range':_0x3aa9b5,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x55bab=_0x32c2fe['length'];_0x55bab<_0x192d5b['length'];_0x55bab++){const _0x327739='pagination:'+(_0x55bab+0x1);_0x32f3be['markers']['has'](_0x327739)&&_0x662122['removeMarker'](_0x327739);}});}['_setUpDataDowncastConversion'](){const _0x3b4ebc='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x42815e=>{_0x42815e['on']('addMarker:'+_0x3b4ebc,(_0x163c10,{markerRange:_0x17a17a,markerName:_0x39e774},_0x3d4517)=>{if(!_0x3d4517['options']['pagination'])return;if(!_0x3d4517['consumable']['consume'](_0x17a17a,_0x163c10['name']))return;const _0x2eb951=_0x17a17a['getContainedElement']();let _0x1420bb=_0x2eb951?_0x3d4517['mapper']['toViewElement'](_0x2eb951):null;if(!_0x1420bb){const _0x5a25a3=_0x17a17a['start'];if(_0x3d4517['schema']['checkChild'](_0x5a25a3,'$text')){const _0x21f4d0=_0x3d4517['mapper']['toViewPosition'](_0x5a25a3);_0x1420bb=_0x3d4517['writer']['createContainerElement']('span'),_0x1420bb['getFillerOffset']=()=>null,_0x3d4517['writer']['insert'](_0x21f4d0,_0x1420bb);}else{const _0x4615c0=_0x5a25a3['nodeAfter'];_0x1420bb=_0x3d4517['mapper']['toViewElement'](_0x4615c0);}}for(;_0x1420bb['parent']!==_0x1420bb['root']&&0x0===_0x1420bb['index'];)_0x1420bb=_0x1420bb['parent'];const _0x104358=_0x39e774['substring'](0xb);_0x1420bb['hasClass']('page-break')||(_0x3d4517['writer']['setStyle']('page-break-before','always',_0x1420bb),_0x3d4517['writer']['setAttribute']('data-pagination-page',_0x104358,_0x1420bb),_0x3d4517['mapper']['bindElementToMarker'](_0x1420bb,_0x39e774)),_0x163c10['stop']();});});}['_setupKeystrokes'](){const _0x1d278f=this['editor'];_0x1d278f['keystrokes']['set']('Shift+Pageup',(_0x81581d,_0x1185ba)=>{this['goToPreviousPage'](),_0x1185ba();}),_0x1d278f['keystrokes']['set']('Shift+Pagedown',(_0x2d2510,_0x333e88)=>{this['goToNextPage'](),_0x333e88();}),_0x1d278f['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x1d278f['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x1d278f['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x308546){return _0x308546<0x1&&(_0x308546=0x1),_0x308546>this['totalPages']&&(_0x308546=this['totalPages']),_0x308546;}}class G extends _0x4beeb0{['pageNumberView'];constructor(_0x24e84a){super(_0x24e84a);const _0x41bcf9=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x43affd(_0x24e84a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x509c9d=>g(_0x24e84a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x509c9d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xe84acc=>!_0xe84acc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x41bcf9['if']('isEnabled','ck-disabled',_0x2e7ff5=>!_0x2e7ff5)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x41bcf9['to']('totalPages')}]}]});}['render'](){super['render']();const _0xd2c985=this['pageNumberView']['element'],_0x47ac1b=_0x8bdbae=>{this['pageNumberView']['element']['value']=String(_0x8bdbae);};_0x47ac1b(this['pageNumber']),this['on']('change:pageNumber',(_0x5570c5,_0x48ae64,_0x12c78b)=>{_0x47ac1b(_0x12c78b);}),this['listenTo'](_0xd2c985,'keydown',(_0x334bcf,_0x8927e9)=>{if('ArrowUp'===_0x8927e9['key']||'ArrowDown'===_0x8927e9['key'])return void _0x8927e9['stopPropagation']();if(_0x8927e9['keyCode']!==_0x54a18c['enter'])return;_0x8927e9['preventDefault']();const _0x210ce8=_0xd2c985['valueAsNumber'];Number['isNaN'](_0x210ce8)?_0xd2c985['value']=String(this['pageNumber']):(_0xd2c985['checkValidity']()?this['pageNumber']=_0x210ce8:_0x210ce8>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xd2c985['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xd2c985['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xd2c985,'blur',()=>{_0xd2c985['value']=String(this['pageNumber']);}),this['listenTo'](_0xd2c985,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x363c97{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5992f9=this['editor'],_0x32e06e=_0x5992f9['plugins']['get']('PaginationEditing');_0x5992f9['ui']['componentFactory']['add']('pageNavigation',_0x4a96a9=>{const _0x3cc4a5=new G(_0x4a96a9);return _0x3cc4a5['bind']('pageNumber')['to'](_0x32e06e),_0x3cc4a5['bind']('totalPages')['to'](_0x32e06e),_0x3cc4a5['bind']('isEnabled')['to'](_0x32e06e),_0x3cc4a5['on']('navigation',(_0x4cb0b7,_0x3aa01a)=>{_0x32e06e['moveSelectionToPage'](_0x3aa01a),_0x32e06e['scrollToPage'](_0x3aa01a);}),_0x3cc4a5;}),_0x5992f9['ui']['componentFactory']['add']('nextPage',_0x372336=>{const _0x1dd7f0=new _0x466ca6(_0x372336);return _0x1dd7f0['isEnabled']=!0x0,_0x1dd7f0['label']=g(_0x5992f9['locale'],'Go\x20to\x20next\x20page'),_0x1dd7f0['icon']=_0x2e7a05,_0x1dd7f0['tooltip']=!0x0,_0x1dd7f0['keystroke']='Shift+PageDown',_0x1dd7f0['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x1dd7f0,'execute',()=>{_0x32e06e['goToNextPage']();}),_0x1dd7f0;}),_0x5992f9['ui']['componentFactory']['add']('previousPage',_0x3543a9=>{const _0x3eb500=new _0x466ca6(_0x3543a9);return _0x3eb500['isEnabled']=!0x0,_0x3eb500['label']=g(_0x5992f9['locale'],'Go\x20to\x20previous\x20page'),_0x3eb500['icon']=_0x57278f,_0x3eb500['tooltip']=!0x0,_0x3eb500['keystroke']='Shift+PageUp',_0x3eb500['bind']('isEnabled')['to'](_0x32e06e),this['listenTo'](_0x3eb500,'execute',()=>{_0x32e06e['goToPreviousPage']();}),_0x3eb500;});}}class T extends _0x363c97{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x231145){super(_0x231145),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x762da5=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x762da5),this['bind']('totalPages')['to'](_0x762da5),_0x550cbf['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2751fe){this['editor']['plugins']['get'](s)['scrollToPage'](_0x2751fe);}}export{T as Pagination,n as PaginationRenderer};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x425f00=>0x1!=_0x425f00}};
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':_0x1687e1=>0x1!=_0x1687e1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2de666=>{const {af:{dictionary:_0x5abc99,getPluralForm:_0x4f102b}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x27e27b=>0x1!=_0x27e27b}};_0x2de666['af']||={'dictionary':{},'getPluralForm':null},_0x2de666['af']['dictionary']=Object['assign'](_0x2de666['af']['dictionary'],_0x5abc99),_0x2de666['af']['getPluralForm']=_0x4f102b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3083c3=>{const {af:{dictionary:_0x462ef1,getPluralForm:_0x473953}}={'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':_0x54e246=>0x1!=_0x54e246}};_0x3083c3['af']||={'dictionary':{},'getPluralForm':null},_0x3083c3['af']['dictionary']=Object['assign'](_0x3083c3['af']['dictionary'],_0x462ef1),_0x3083c3['af']['getPluralForm']=_0x473953;})(window['CKEDITOR_TRANSLATIONS']||={});