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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/build/pagination.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/legacyerrors.js +1 -1
  152. package/src/pagination.js +1 -1
  153. package/src/paginationediting.js +1 -1
  154. package/src/paginationlookup.js +1 -1
  155. package/src/paginationrenderer.js +1 -1
  156. package/src/paginationui.js +1 -1
  157. package/src/ui/linesrepository.js +1 -1
  158. package/src/ui/lineview.js +2 -2
  159. package/src/ui/pagenavigatorview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(h);else{var d=o(h,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:d,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>gt,PaginationRenderer:()=>z});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},h=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return h.schedule=l,h.cancel=f,h.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),h}function r(){const t=["ownerDocument","rootName","editing","nodeBefore","border-box","endOffset","root","PaginationLookup","_mapManualPageStarterInfoToPageBreakInfo","paddingRight","then","update","join","assign","startOffset","from",".page-break","style","3YhEadK","isTouching","render","createPositionBefore","complete","_mapElementPageStarterInfoToPageBreakInfo","shift","startContainer","body","isOfficialPlugin","remove","bindTemplate","page-break","ck-reset","excludeScrollbarsAndBorders","offset","_offset","href","findMappedViewAncestor","dataset","querySelectorAll","_recalculatePageBreaksDebounced","every","10mm","append","pagination.pageMargins","previousElementSibling","type","editor","push","modelRange","auto","round","clear","paddingLeft","height","nextSibling","hidden","DOCUMENT_POSITION_PRECEDING","element","-99999px","_findPageStarterInfos","mapper","previousSibling","div","getClientRects","parentElement","cancel","change:isEnabled","low","listenTo","error","left","closest","domConverter","index","_mapPageStarterInfoToPageBreakInfo","ELEMENT_NODE","childElementCount","cloneNode","14875911BHnllJ","none","ck-pagination-view","3066459uKlCCe","display","isPremiumPlugin","contains","getComputedStyle","3073188SjwJMG","destroy","insertBefore","table-row","endContainer","_configuredPaddings","width","toModelElement","getDomRoot","_getAttachedDomRoot","hasAttribute","_updatePageBreaksData","setEnd","getAncestors","nextElementSibling","once","PaginationEditing","15348GVFvAv","createRange","entries","className","window","right","textOffset","set","_domNode","table-cell","floor","attributeStyleMap","text","offsetParent","nodeType","model","createRangeOn","toModelPosition","10iXnqyu","pluginName","compareDocumentPosition","race","absolute","removeAttribute","parent","selectNodeContents","position","childNodes","view","70335148WOOXZz","domRoots","get","selectNode","100px","class","resolve","parentNode","ready","6179016MOspBh","_recalculatePageBreaks","afterInit","7ggIdJs","top","document","classList","removeEventListener","locale","firstChild","106rZkAoE","imageBlock","pageBreaks","float","length","setStart","12vXMGar","calc( ","ceil"," - ","_pagesContainer","ck-fake-selection-container","1376135NHNTlh","domPositionToView","pagination","isEnabled","map","config","sort","fromCharCode","_onUiReady","plugins","init","pagination-config-not-found","bind","img","path","_mapTextPageStarterInfoToPageBreakInfo","scrollLeft","indexOf","manual","all","addEventListener","mapViewToDom","bottom","values","figure.image","6CWXFCd","load"," 0 ","rootElement","toViewElement","TEXT_NODE","setTemplate"];return(r=function(){return t})()}const a=c;function c(t,e){const n=r();return(c=function(t,e){return n[t-=132]})(t,e)}!function(t){const e=c,n=t();for(;;)try{if(849403===-parseInt(e(256))/1*(parseInt(e(208))/2)+parseInt(e(318))/3*(-parseInt(e(191))/4)+parseInt(e(268))/5*(-parseInt(e(293))/6)+parseInt(e(249))/7*(-parseInt(e(246))/8)+parseInt(e(183))/9*(-parseInt(e(226))/10)+-parseInt(e(186))/11+-parseInt(e(262))/12*(-parseInt(e(237))/13))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(r);class u extends t.Plugin{[a(144)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[a(247)](),200);[a(266)]=null;static get[a(227)](){return a(307)}static get[a(132)](){return!0}static get[a(188)](){return!0}[a(278)](){const t=a;if(this[t(215)]({pageBreaks:[]}),!this[t(151)][t(273)][t(239)](t(270)))return void(0,o.logWarning)(t(279),this[t(151)][t(273)]);const e=this[t(151)][t(277)][t(239)](t(207));this[t(280)](t(271)).to(e),this[t(151)].ui[t(206)](t(245),()=>this[t(276)]()),this.on(t(171),(e,n,i)=>{i&&this[t(144)]()})}[a(248)](){!async function(t){const e=m([79,77,111,53,69,97,76,104,49,116,101,89,80,90,115,84,51,57,54,56,105,50,106,121,81,55,102,70,88,117,109,85,66,71,83,103,110,82,65,52,86,72,75,67,114,74,87,107,48,119,122,100,108,118,73,113,112,78,98,68,120,99]),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 u(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function l(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function 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(272)](t=>String[e(275)](t))[e(312)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([79]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?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 o=36e5;function s(){const e=m([108,108,99,116,45])+h(f(t)),i=d(h(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])+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)*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=l(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),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:1751846400;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:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(140)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=u(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=u(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[a(192)](){const t=a;super[t(192)](),this[t(266)]&&(this[t(144)][t(170)](),this[t(266)][t(192)](),this[t(266)][t(162)][t(133)]())}[a(276)](){const t=a,n=this[t(151)],i=n[t(302)][t(236)],o=this[t(200)]();if(!o||0===o[t(181)])return void n.ui[t(206)](t(311),()=>this[t(276)]());const{pageWidth:s,pageHeight:r}=n[t(273)][t(239)](t(270)),{top:c,left:u,bottom:l,right:p}=this[t(196)];this[t(266)]=new e.View(n[t(254)]);const f=this[t(266)];f[t(215)](t(242),""),f[t(299)]({tag:t(167),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(263)+r+t(265)+c+t(265)+l+" )",minWidth:t(154),minHeight:t(154),padding:"0 "+p+t(295)+u,columnGap:t(241),border:0,boxSizing:t(304),columnCount:t(154),columnFill:t(154),overflow:t(160),position:t(230),top:t(163),left:t(163)},tabindex:"-1",class:f[t(134)].to(t(242))}}),f[t(320)](),o[t(244)][t(193)](f[t(162)],o[t(159)]),this[t(173)](i,t(320),()=>this[t(144)](),{priority:t(172)}),this[t(144)]()}[a(200)](){const t=a;for(const e of this[t(151)][t(302)][t(236)][t(238)][t(291)]())if(e[t(300)][t(326)][t(189)](e))return e;return null}[a(247)](){const t=a;if(!this[t(271)])return Promise[t(243)]();const e=this[t(151)][t(302)][t(236)],n=this[t(266)],i=this[t(200)]();if(!i)return Promise[t(243)]();for(n[t(242)]=[t(136),t(185),...i[t(252)]][t(312)](" ");n[t(162)][t(255)];)n[t(162)][t(255)][t(133)]();const o=Array[t(315)](e[t(238)]);o[t(274)](([,e],[,n])=>e[t(228)](n)==Node[t(161)]?1:-1);for(const[e,i]of o){const o=i[t(182)](!0);t(219)in o&&o[t(219)][t(156)](),o[t(211)]="",o[t(231)]("id"),o[t(142)][t(301)]=e,n[t(162)][t(147)](o)}return function(e){const n=t;return Promise[n(287)](e[n(272)](t=>{return Promise[n(229)]([f(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(315)](n[t(162)][t(143)](t(281))))[t(310)](()=>this[t(202)]())}[a(202)](){const t=a,e=this[t(266)][t(162)];if(!e[t(300)][t(326)][t(189)](e))return;const n=new o.Rect(e)[t(137)](),i=o.global[t(212)][t(190)](e),s=parseFloat(i[t(157)])+parseFloat(i[t(309)]),r=Math[t(218)](n[t(197)]+100-s),c=m(e,Math[t(218)](n[t(175)]-e[t(284)]),r,n[t(158)])[t(272)](e=>this[t(179)](e));c[t(145)](t=>!!t)&&(this[t(258)]=c)}[a(179)](t){const e=a,n=this[e(151)][e(302)][e(236)],i=this[e(151)][e(302)][e(165)],o=n[e(177)],s=t[e(282)][e(324)](),r=this[e(266)][e(162)][e(235)][s][e(142)][e(301)],c=n[e(199)](r);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(282)]){if(!o)return null;o=o[i(235)][t]}return o}(c,t);if(!u)return null;const l=o[e(269)](u,t[e(214)]||0);return l?e(286)==t[e(150)]?this[e(308)](l,u):e(220)==t[e(150)]&&i[e(225)](l)[e(138)]?this[e(283)](l,u,t[e(214)]):this[e(323)](l,u,t[e(138)]):null}[a(308)](t,e){const n=a,i=this[n(151)][n(223)],o=this[n(151)][n(302)][n(165)][n(198)](t[n(232)]),s=i[n(224)](o);return new l({type:n(286),modelRange:s,domNode:e,offset:0})}[a(283)](t,e,n){const i=a,o=this[i(151)][i(223)],s=this[i(151)][i(302)][i(165)],r=this[i(151)][i(302)][i(236)][i(177)];if(n>=e[i(260)])return null;const c=s[i(225)](t),u=o[i(209)](c),f=s[i(141)](t),h=r[i(289)](f);return new l({type:i(220),modelRange:u,domNode:e,offset:p(e,n,h)})}[a(323)](t,e,n){const i=a,s=this[i(151)][i(223)],r=this[i(151)][i(302)],c=r[i(165)],u=r[i(236)][i(177)],p=c[i(141)](t),f=c[i(198)](p),d=function(t){const e=i,n=t[e(232)],o=n[e(306)][e(251)][e(223)],s=n[e(204)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(296)))return r;if(!o[e(321)](n)[e(319)](t))return r;r=n}}(s[i(321)](f))||f;let g=c[i(297)](d),m=s[i(224)](d);const b=s[i(321)](d)[i(303)];if(b&&b.is(i(162),i(257))){const t=c[i(297)](b),e=u[i(289)](t),n=o.global[i(212)][i(190)](e)[i(259)];i(175)!=n&&i(213)!=n||(m=s[i(224)](b))}for(;g[i(232)]!==g[i(306)]&&0===g[i(178)];)g=g[i(232)];const v=new o.Rect(y(e)?e:h(e)),w=n?v[i(158)]-n:0,k=u[i(289)](g),I=new o.Rect(k);return new l({type:i(162),modelRange:m,domNode:k,offset:Math[i(155)](w)?w+v[i(250)]-I[i(250)]:0})}get[a(196)](){const t=a,e=this[t(151)][t(273)][t(239)](t(148));return Object[t(313)]({top:t(146),bottom:t(146),left:t(146),right:t(146)},e)}static[a(164)](t,e,n,i,o){return m(t,e,n,i,o)}}class l{[a(150)];[a(153)];[a(216)];[a(139)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=a;this[o(150)]=t,this[o(153)]=e,this[o(216)]=n,this[o(139)]=i}get[a(138)](){const t=a;if(!this[t(216)][t(300)][t(326)][t(189)](this[t(216)]))return 0;const e=new o.Rect(y(this[t(216)])?this[t(216)]:h(this[t(216)]));return t(286)==this[t(150)]?e[t(250)]+e[t(158)]/2:e[t(250)]+this[t(139)]}}function p(t,e,n){const i=a,s=h(t),r=function(t){const e=c,n=o.global[e(251)][e(209)]();return n[e(233)](t),n}(n);let u;u=0==e?g(r[i(325)],r[i(314)],t[i(244)],Array[i(315)](t[i(244)][i(235)])[i(285)](t)):g(r[i(325)],r[i(314)],t,e);const l=g(t,e,r[i(195)],r[i(305)]),p=new o.Rect(u)[i(290)];return(new o.Rect(l)[i(250)]+p)/2-new o.Rect(s)[i(250)]}function f(t){const e=a;return t[e(201)](e(197))&&t[e(201)](e(158))?Promise[e(243)]():new Promise(n=>{const i=e;function o(){const e=c;t[e(253)](e(294),o),t[e(253)](e(174),o),n()}t[i(322)]?n():(t[i(288)](i(294),o),t[i(288)](i(174),o))})}function h(t){const e=a,n=o.global[e(251)][e(209)]();return n[e(240)](t),n}function d(t,e,n){const i=a,s=o.global[i(251)][i(209)]();return s[i(261)](t,e),s[i(203)](t,n),s}function g(t,e,n,i){const s=a,r=o.global[s(251)][s(209)]();return r[s(261)](t,e),r[s(203)](n,i),r}function m(t,e,n,i,o){const s=a,r=[];for(const[a,c]of t[s(235)][s(210)]()){let t=[];y(c)&&c[s(221)]&&!c[s(317)][s(234)]?t=b(c,a,e,n,i,o):I(c)&&(t=v(c,a,e,n,o)),t[s(260)]&&(r[s(152)](...t),e+=t[s(260)]*n,o=!1)}return r}function b(t,e,n,i,s,r){const c=a,u=[];var l;if((l=t[c(166)])&&y(l)&&Boolean(l[c(252)][c(189)](c(135))||l[c(176)](c(316)))&&(u[c(152)]({type:c(286),offset:0,path:[e-1]}),r=!0),c(194)==o.global[c(212)][c(190)](t)[c(187)]){let i=0,o=!1;for(const e of t[c(168)]())i+=e[c(158)],e[c(175)]>=n&&(o=!0);if(i<s&&o)return u[c(152)]({type:c(162),offset:0,path:[e]}),u}const p=t[c(176)](c(292));if(p&&function(t){const e=c;let n=!1;const i=t[e(169)][e(142)][e(301)],s=t[e(205)],r=t[e(149)],a=s&&o.global[e(212)][e(190)](s)[e(259)],u=s&&e(267)===s[e(211)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(184)!==a&&(n=!0),!n}(p)){const t=o.global[c(212)][c(190)](p)[c(259)];if(c(175)==t||c(213)==t)return u}const f=m(t,n,i,s,r);if(f[c(260)]){for(const t of f)u[c(152)]({type:t[c(150)],offset:t[c(138)],textOffset:t[c(214)],path:[e,...t[c(282)]]}),n+=i,r=!1;return u}return u[c(152)](...function(t,e,n,i,s){const r=c,a=[];if(r(217)==o.global[r(212)][r(190)](t)[r(187)])return[];const u=[];for(const e of t[r(168)]())if(e[r(175)]>=n){for(const t of u)t[r(158)]+=e[r(158)];u[r(152)]({height:e[r(158)]}),n+=i}for(const t of u)s||a[r(152)]({type:r(162),offset:t[r(158)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,r)),u}function v(t,e,n,i,o){const s=a,r=h(t),c=[];let u=0;for(const a of r[s(168)]())if(a[s(175)]>=n){const r=w(t,u,n,i);o||c[s(152)]({type:s(220),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function w(t,e,n,i){const o=a;let s=e,r=t[o(260)];for(;r-s>1;){const e=Math[o(264)]((s+r)/2);k(d(t,s,e),n,i)?r=e:s=e}return s}function k(t,e,n){const i=a;for(const o of t[i(168)]())if(o[i(175)]>=e&&o[i(175)]<e+n)return!0;return!1}function y(t){const e=a;return t[e(222)]==Node[e(180)]}function I(t){const e=a;return t[e(222)]==Node[e(298)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),E=n.n(T),A=n(667),S=n.n(A),C=n(357),O=n.n(C),R=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=S(),L.insert=E().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=O();x()(R.A,L);R.A&&R.A.locals&&R.A.locals;function D(t,e){const n=G();return(D=function(t,e){return n[t-=376]})(t,e)}!function(t){const e=D,n=t();for(;;)try{if(485982===-parseInt(e(381))/1*(parseInt(e(385))/2)+-parseInt(e(378))/3+-parseInt(e(388))/4+parseInt(e(382))/5+parseInt(e(379))/6*(-parseInt(e(395))/7)+-parseInt(e(391))/8*(parseInt(e(383))/9)+-parseInt(e(377))/10*(-parseInt(e(393))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(G);const B=(0,o.toUnit)("px");class M extends e.View{constructor(){const t=D;super();const e=this[t(384)];this[t(396)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(387)]({tag:t(380),attributes:{"data-page-number":e.to(t(394)),class:["ck",t(392),e.if(t(386),t(389),t=>!t)],style:{left:e.to(t(397),t=>B(t)),top:e.to(t(376),t=>B(t)),width:e.to(t(390),t=>B(t))}}})}}function G(){const t=["setTemplate","31728qtkOcC","ck-hidden","width","8ILGlTd","ck-pagination-view-line","2335971DFnPYo","pageNumber","385AbeKlt","set","left","top","70YVJhHp","602772jRCCTt","14646kJAnXG","div","77cVhbAx","584695VvYngG","2851551JgEHLt","bindTemplate","11884KmVKvY","isVisible"];return(G=function(){return t})()}function V(t,e){const n=j();return(V=function(t,e){return n[t-=238]})(t,e)}const K=V;function j(){const t=["setViewCollection","8498jZTSPM","78zNRjIU","1337940JpgHXN","2364327UtdpWm","delete","isVisible","_visibleLines","destroy","showLine","cleanLines","has","_hiddenLines","1999239jIdsyT","1832080tSzwBD","3846KfGWPp","size","27905UTiMDZ","remove","values","8OHEvrl","add","body","clear","_viewCollection","2406625REKGYx","set","view"];return(j=function(){return t})()}!function(t){const e=V,n=t();for(;;)try{if(582627===-parseInt(e(261))/1*(parseInt(e(246))/2)+parseInt(e(257))/3+-parseInt(e(247))/4+parseInt(e(241))/5+parseInt(e(259))/6*(parseInt(e(245))/7)+-parseInt(e(264))/8*(-parseInt(e(248))/9)+-parseInt(e(258))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(j);class W{[K(240)];[K(251)]=new Set;[K(256)]=new Set;constructor(t){const e=K;this[e(240)]=t.ui[e(243)][e(238)]}[K(252)](){const t=K;for(const e of this[t(256)])e[t(252)]()}[K(254)](){const t=K;for(const e of this[t(251)])e[t(250)]=!1,this[t(256)][t(265)](e);this[t(251)][t(239)]()}[K(253)](t,e,n,i){const s=K;let r;this[s(256)][s(260)]?(r=(0,o.first)(this[s(256)][s(263)]()),this[s(256)][s(249)](r)):r=new M,r[s(242)]({pageNumber:i,left:t,top:e,width:n}),r[s(250)]=!0,this[s(240)][s(255)](r)||this[s(240)][s(265)](r),this[s(251)][s(265)](r)}[K(244)](t){const e=K;for(const t of[...this[e(251)],...this[e(256)]])this[e(240)][e(255)](t)&&this[e(240)][e(262)](t);this[e(240)]=t}}const U=F;function F(t,e){const n=X();return(F=function(t,e){return n[t-=214]})(t,e)}!function(t){const e=F,n=t();for(;;)try{if(518482===parseInt(e(292))/1*(-parseInt(e(238))/2)+-parseInt(e(239))/3*(-parseInt(e(223))/4)+-parseInt(e(224))/5+-parseInt(e(258))/6*(parseInt(e(291))/7)+-parseInt(e(285))/8+-parseInt(e(296))/9*(parseInt(e(274))/10)+parseInt(e(241))/11*(parseInt(e(235))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(X);const H=U(220);function X(){const t=["removeClass","PaginationRenderer","destroy","length","ck-pagination_enabled","init","scrollToPage","40CHSxcV","2886000hQxaoD","addClass","view","editor","excludeScrollbarsAndBorders","_paginationLookupPlugin","_onUiReady","resize","pageNumber","PaginationEditing","scrollTop","60yvcMbp","BODY","height","22426tVUglN","15591XsyJJI","plugins","4560094cAhsLj","bottom","setupScrollableAncestor","auto","linesRepository","values","smooth","ready","parentElement","document","window","change:isEnabled","cleanLines","contains","isPremiumPlugin","_getAttachedDomRoot","offset","4312866SCUEHT","pageBreaks","domRoots","_renderPageBreakLines","ownerDocument","isEnabled","left","editing","get","showLine","listenTo","stopListening","isOfficialPlugin","roots","overflowY","instant","10CwnCno","scrollTo","_resizeObserver","width","scroll","scrollLeft","_scrollableEditingRootDomAncestor","tagName","PaginationLookup","_updatePageBreakLines","getComputedStyle","1530904IGjFqm","body","change","pluginName","_toggleEditingRootsClass","once","7HBTcPS","7UWzhCG","set","bind","_getPageBreakLineOffset","363537AWtxrz","change:pageBreaks","isMotionReduced","push","top","update"];return(X=function(){return t})()}class z extends t.Plugin{[U(245)];[U(280)]=null;[U(276)]=null;[U(229)];static get[U(288)](){return U(217)}static get[U(270)](){return!0}static get[U(255)](){return!0}[U(221)](){const t=U;this[t(293)]({pageNumber:1}),this[t(245)]=new W(this[t(227)]),this[t(280)]=null,this[t(276)]=null,this[t(229)]=this[t(227)][t(240)][t(266)](t(282)),this[t(294)](t(263)).to(this[t(227)][t(240)][t(266)](t(233))),this[t(227)].ui[t(290)](t(248),()=>this[t(230)]()),this[t(289)](H),this.on(t(252),(e,n,i)=>{const o=t;i||this[o(245)][o(253)](),this[o(289)](H,i)})}[U(218)](){const t=U;this[t(289)](H,!1),this[t(245)][t(218)](),this[t(280)]=null,this[t(276)]&&this[t(276)][t(218)]()}[U(222)](t){const e=U;if(!this[e(263)])return;const n=t>1?this[e(295)](t-1):0;this[e(280)][e(275)]({top:n-10,left:this[e(280)][e(279)],behavior:o.env[e(298)]?e(273):e(247)})}[U(243)](){const t=U,e=this[t(227)],n=this[t(256)]();n?(this[t(280)]&&e.ui[t(226)][t(269)](this[t(280)],t(278)),this[t(280)]=function(e){const n=t;let i=e;do{i=i[n(249)];const t=o.global[n(251)][n(284)](i)[n(272)];if(n(244)==t||n(278)==t)break}while(n(236)!=i[n(281)]);return i}(n),e.ui[t(226)][t(268)](this[t(280)],t(278),()=>{this[t(283)]()},{usePassive:!0}),this[t(276)]&&this[t(276)][t(218)](),this[t(276)]=new o.ResizeObserver(this[t(280)],()=>{this[t(283)]()})):e.ui[t(290)](t(215),()=>this[t(243)]())}[U(230)](){const t=U,e=this[t(227)];this[t(256)]()?(this[t(243)](),e.ui[t(226)][t(268)](o.global[t(251)],t(231),()=>this[t(283)]()),this[t(268)](this[t(229)],t(297),()=>this[t(283)]())):e.ui[t(290)](t(215),()=>this[t(230)]())}[U(256)](){const t=U;for(const e of this[t(227)][t(265)][t(226)][t(260)][t(246)]())if(e[t(262)][t(286)][t(254)](e))return e;return null}[U(283)](){const t=U;if(!this[t(263)])return;const e=this[t(256)](),n=this[t(229)][t(259)];if(this[t(245)][t(253)](),!e||1==n[t(219)])return void(this[t(232)]=1);const i=new o.Rect(e)[t(228)](),s=new o.Rect(this[t(280)])[t(228)](),r=s[t(214)]+s[t(237)]/3;let a=!1;const c=[];for(let e=1;e<n[t(219)];e++){const n=this[t(295)](e,s);if(!n)continue;const o=s[t(214)]+n-this[t(280)][t(234)];c[t(299)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(232)]=e,a=!0)}this[t(261)](c),a||(this[t(232)]=n[t(219)])}[U(261)](t){const e=U,{scrollX:n,scrollY:i}=o.global[e(251)];if(t[e(219)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(214)]<s&&s<o[e(242)]&&this[e(245)][e(267)](r[e(264)]+n,s+i,r[e(277)],a+1)}[U(295)](t,e=null){const n=U,i=this[n(229)][n(259)][t][n(257)];return i?(e||(e=new o.Rect(this[n(280)])[n(228)]()),i-e[n(214)]+this[n(280)][n(234)]):0}[U(289)](t,e=!0){const n=U,i=this[n(227)][n(265)][n(226)];i[n(287)](o=>{const s=n;for(const n of i[s(250)][s(271)])e?o[s(225)](t,n):o[s(216)](t,n)})}}function J(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=S(),Y.insert=E().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=O();x()(q.A,Y);q.A&&q.A.locals&&q.A.locals;const Q=$;function Z(){const t=["parent","focus","data-pagination-page","8xaVFfs","editor","length","1285494QxvYCp","createContainerElement","_setupKeystrokes","markers","page-break-before","2396892jCMTPW","insert","usageLimit","toViewElement","_showLicenseError","textNode","pageNumber","config","11419119aBJHuZ","Go to the previous page (also move selection)","end","pagination:","$text","forward","pagination","moveSelectionToPage","goToNextPage","PaginationEditing","trialLimit","editing","consume","init","offset","pluginName","getNearestSelectionRange","getFillerOffset","goToPreviousPage","paginationLicenseKeyTrialLimit","plugins","paginationLicenseKeyExpired","span","listenTo","Keystrokes for navigating through documents","add","setAttribute","checkChild","set","index","featureNotAllowed","paginationLicenseKeyInvalid","text","get","Shift+Pageup","_validatePageNumber","_updatePageBreakMarkers","manual","updateMarker","setSelection","scrollToPage","invalid","pageBreaks","expired","view","keystrokes","createPositionAt","model","7022094Zwiees","hasClass","bindElementToMarker","schema","toViewPosition","paginationLicenseKeyUsageLimit","root","isOfficialPlugin","domainLimit","_licenseKeyCheckInterval","Shift+Pagedown","Go to the next page (also move selection)","paginationLicenseKeyValid","for","start","destroy","name","Pagination","isEnabled","4517775XUGcoH","change","paginationLicenseKeyNotAllowed","type","dataDowncast","writer","substring","bind","data","accessibility","licenseKey","paginationLicenseKeyDomainLimit","evaluationLimit","_setUpDataDowncastConversion","setStyle","conversion","change:pageBreaks","mapper","isPremiumPlugin","page-break","1285682CBQevM","addKeystrokeInfoGroup","809150wPIitN","consumable","options","modelRange","nodeAfter","addMarker:","5DQaSQC","addMarker","locale","requires","has","element","always","stop","removeMarker","totalPages","getContainedElement","paginationLicenseKeyEvaluationLimit"];return(Z=function(){return t})()}function $(t,e){const n=Z();return($=function(t,e){return n[t-=311]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(935241===-parseInt(e(326))/1+-parseInt(e(324))/2+parseInt(e(430))/3+parseInt(e(355))/4+parseInt(e(332))/5*(-parseInt(e(411))/6)+-parseInt(e(350))/7*(-parseInt(e(347))/8)+parseInt(e(363))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[Q(314)];[Q(420)];static get[Q(378)](){return Q(372)}static get[Q(418)](){return!0}static get[Q(322)](){return!0}static get[Q(335)](){return[u,z]}[Q(376)](){const t=Q;this[t(391)]({pageNumber:1,totalPages:1});const e=this[t(348)][t(383)][t(396)](t(428)),n=this[t(348)][t(383)][t(396)](u),i=this[t(348)][t(383)][t(396)](z);this[t(311)](t(429)).to(e),this[t(317)](),this[t(311)](t(361)).to(i),this[t(386)](n,t(320),(e,n,i,o)=>{const s=t;this[s(341)]=i[s(349)],this[s(399)](i,o)}),this[t(352)](),this[t(314)]=this[t(348)][t(362)][t(396)](t(314));const o=this[t(348)];this[t(420)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(423)==s||e(394)==s||e(384)==s||e(315)==s||e(432)==s||e(343)==s||e(382)==s||e(416)==s){delete o[i],n=s,clearInterval(this[e(420)]),this[e(420)]=void 0;break}}e(394)==n&&o[e(359)](e(404)),e(384)==n&&o[e(359)](e(406)),e(315)==n&&o[e(359)](e(419)),e(432)==n&&o[e(359)](e(393),e(428)),e(343)==n&&o[e(359)](e(316)),e(382)==n&&o[e(359)](e(373)),e(416)==n&&o[e(359)](e(357))},1e3)}[Q(426)](){const t=Q;super[t(426)](),this[t(420)]&&clearInterval(this[t(420)])}[Q(403)](t){const e=Q;this[e(429)]&&this[e(348)][e(383)][e(396)](z)[e(403)](this[e(398)](t))}[Q(370)](t){const e=Q;if(!this[e(429)])return;const n=this[e(348)],i=this[e(348)][e(383)][e(396)](u)[e(405)][t-1];i&&n[e(410)][e(431)](t=>{const o=e;switch(i[o(433)]){case o(400):{const e=n[o(410)][o(414)][o(379)](i[o(329)][o(365)],o(368));t[o(402)](e);break}case o(337):{const e=n[o(410)][o(414)][o(379)](i[o(329)][o(425)],o(368));t[o(402)](e);break}case o(395):{const e=i[o(329)][o(425)];if(e[o(360)]&&" "===e[o(360)][o(312)][e[o(377)]]){const n=t[o(409)](e[o(344)],e[o(377)]+1);t[o(402)](n)}else t[o(402)](i[o(329)])}}n[o(374)][o(407)][o(345)]()})}[Q(371)](){const t=Q,e=this[t(398)](this[t(361)]+1);this[t(370)](e),this[t(403)](e)}[Q(381)](){const t=Q,e=this[t(398)](this[t(361)]-1);this[t(370)](e),this[t(403)](e)}[Q(399)](t,e){const n=Q,i=this[n(348)][n(410)];this[n(429)]&&i[n(431)](o=>{const s=n;for(let e=1;e<t[s(349)];e++){const n=t[e][s(329)],r=s(366)+(e+1);i[s(353)][s(336)](r)?o[s(401)](r,{range:n}):o[s(333)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(349)];n<e[s(349)];n++){const t=s(366)+(n+1);i[s(353)][s(336)](t)&&o[s(340)](t)}})}[Q(317)](){const t=Q,e=t(369);this[t(348)][t(319)][t(424)](t(434))[t(388)](n=>{const i=t;n.on(i(331)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(328)][s(369)])return;if(!o[s(327)][s(375)](e,t[s(427)]))return;const r=e[s(342)]();let a=r?o[s(321)][s(358)](r):null;if(!a){const t=e[s(425)];if(o[s(414)][s(390)](t,s(367))){const e=o[s(321)][s(415)](t);a=o[s(435)][s(351)](s(385)),a[s(380)]=()=>null,o[s(435)][s(356)](e,a)}else{const e=t[s(330)];a=o[s(321)][s(358)](e)}}for(;a[s(344)]!==a[s(417)]&&0===a[s(392)];)a=a[s(344)];const c=n[s(436)](11);a[s(412)](s(323))||(o[s(435)][s(318)](s(354),s(338),a),o[s(435)][s(389)](s(346),c,a),o[s(321)][s(413)](a,n)),t[s(339)]()})})}[Q(352)](){const t=Q,e=this[t(348)];e[t(408)][t(391)](t(397),(e,n)=>{this[t(381)](),n()}),e[t(408)][t(391)](t(421),(e,n)=>{this[t(371)](),n()}),e[t(313)][t(325)]({id:t(369),label:J(e[t(334)],t(387)),keystrokes:[{label:J(e[t(334)],t(364)),keystroke:t(397),mayRequireFn:!0},{label:J(e[t(334)],t(422)),keystroke:t(421),mayRequireFn:!0}]})}[Q(398)](t){const e=Q;return t<1&&(t=1),t>this[e(341)]&&(t=this[e(341)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=S(),it.insert=E().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=O();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;const ot=st;function st(t,e){const n=rt();return(st=function(t,e){return n[t-=450]})(t,e)}function rt(){const t=["preventDefault","firstChild","isEnabled","8528gtRaPO","5297292zEYSkA","element","7353WMkDKK","totalPages","key","ArrowDown","value","Current page number (from 1 to %0)","stopPropagation","set","ArrowUp","pageNumber","div","pageNumberView","focus","bind","navigation","enter","keydown","setTemplate","1fNWedP","checkValidity","318110mXXjCT","bindTemplate","select","listenTo","ariaLabel","numeric","ck-disabled","change:pageNumber","44conlEo","11629255xbsluy","9783320wOapJl","fire","keyCode","isNaN","350325POydxI","blur","render","160DTVarV","valueAsNumber","isReadOnly","span","ck-page-navigator","267636KVfvWU","max"];return(rt=function(){return t})()}!function(t){const e=st,n=t();for(;;)try{if(792243===-parseInt(e(487))/1*(parseInt(e(489))/2)+parseInt(e(453))/3*(-parseInt(e(497))/4)+-parseInt(e(456))/5*(parseInt(e(461))/6)+parseInt(e(467))/7+-parseInt(e(466))/8*(-parseInt(e(469))/9)+parseInt(e(499))/10+parseInt(e(498))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[ot(480)];constructor(t){const n=ot;super(t);const i=this[n(490)];this[n(476)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(480)]=new e.InputNumberView(t,{min:1,step:1}),this[n(480)][n(476)]({inputMode:n(494),tabIndex:-1}),this[n(480)][n(482)](n(493)).to(this,n(470),e=>J(t,n(474),e)),this[n(480)][n(482)](n(462)).to(this,n(470)),this[n(480)][n(482)](n(458)).to(this,n(465),t=>!t),this[n(486)]({tag:n(479),attributes:{class:["ck",n(460),i.if(n(465),n(495),t=>!t)]},children:[this[n(480)],{tag:n(459),children:[{text:i.to(n(470))}]}]})}[ot(455)](){const t=ot;super[t(455)]();const e=this[t(480)][t(468)],n=e=>{const n=t;this[n(480)][n(468)][n(473)]=String(e)};n(this[t(478)]),this.on(t(496),(t,e,i)=>{n(i)}),this[t(492)](e,t(485),(n,i)=>{const s=t;if(s(477)===i[s(471)]||s(472)===i[s(471)])return void i[s(475)]();if(i[s(451)]!==o.keyCodes[s(484)])return;i[s(463)]();const r=e[s(457)];Number[s(452)](r)?e[s(473)]=String(this[s(478)]):(e[s(488)]()?this[s(478)]=r:r>this[s(470)]?(this[s(478)]=this[s(470)],e[s(473)]=String(this[s(470)])):(this[s(478)]=1,e[s(473)]="1"),this[s(450)](s(483),this[s(478)]))}),this[t(492)](e,t(454),()=>{const n=t;e[n(473)]=String(this[n(478)])}),this[t(492)](e,t(481),()=>{const e=t;this[e(480)][e(491)]()})}[ot(481)](){const t=ot;this[t(468)][t(464)][t(481)]()}}const ct=ut;function ut(t,e){const n=lt();return(ut=function(t,e){return n[t-=470]})(t,e)}function lt(){const t=["263979rqXjTT","previousPage","PaginationUI","label","isEnabled","1182726VYfYcf","init","pluginName","add","135hXOsOp","totalPages","navigation","editor","listenTo","108224BXsJRd","icon","pageNavigation","execute","PaginationEditing","goToPreviousPage","bind","4359843qOlrlW","Shift+PageUp","isOfficialPlugin","Shift+PageDown","4xyhkaL","goToNextPage","pageNumber","get","1251509VOWWzF","moveSelectionToPage","Go to previous page","tooltip","componentFactory","nextPage","25244ItpDfS","plugins","isPremiumPlugin","scrollToPage","keystroke","10874ufwEpL","Go to next page","locale"];return(lt=function(){return t})()}!function(t){const e=ut,n=t();for(;;)try{if(141651===parseInt(e(487))/1*(-parseInt(e(502))/2)+parseInt(e(505))/3+parseInt(e(497))/4*(parseInt(e(471))/5)+parseInt(e(510))/6+parseInt(e(491))/7+parseInt(e(476))/8+-parseInt(e(483))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(lt);class pt extends t.Plugin{static get[ct(512)](){return ct(507)}static get[ct(485)](){return!0}static get[ct(499)](){return!0}[ct(511)](){const t=ct,n=this[t(474)],i=n[t(498)][t(490)](t(480));n.ui[t(495)][t(470)](t(478),e=>{const n=t,o=new at(e);return o[n(482)](n(489)).to(i),o[n(482)](n(472)).to(i),o[n(482)](n(509)).to(i),o.on(n(473),(t,e)=>{const o=n;i[o(492)](e),i[o(500)](e)}),o}),n.ui[t(495)][t(470)](t(496),o=>{const s=t,r=new e.ButtonView(o);return r[s(509)]=!0,r[s(508)]=J(n[s(504)],s(503)),r[s(477)]=et.IconArrowDown,r[s(494)]=!0,r[s(501)]=s(486),r[s(482)](s(509)).to(i),this[s(475)](r,s(479),()=>{i[s(488)]()}),r}),n.ui[t(495)][t(470)](t(506),o=>{const s=t,r=new e.ButtonView(o);return r[s(509)]=!0,r[s(508)]=J(n[s(504)],s(493)),r[s(477)]=et.IconArrowUp,r[s(494)]=!0,r[s(501)]=s(484),r[s(482)](s(509)).to(i),this[s(475)](r,s(479),()=>{i[s(481)]()}),r})}}function ft(){const t=["isBlink","1086729cmqHst","init","isEnabled","3758510tXfEJQ","forceDisabled","114685EHspbQ","pluginName","plugins","32115xWqADt","isPremiumPlugin","pageNumber","333544eHImFn","totalPages","set","isOfficialPlugin","scrollToPage","get","66rIsxxW","649232BpPwal","bind","ready","requires","Pagination","704976cWkcNX","36MnyecB","browserCheck","64HixIxE","pagination.enableOnUnsupportedBrowsers","config","editor"];return(ft=function(){return t})()}const ht=dt;function dt(t,e){const n=ft();return(dt=function(t,e){return n[t-=380]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(193011===parseInt(e(388))/1+parseInt(e(403))/2*(parseInt(e(385))/3)+-parseInt(e(395))/4+parseInt(e(382))/5*(parseInt(e(394))/6)+parseInt(e(408))/7+-parseInt(e(400))/8*(parseInt(e(401))/9)+-parseInt(e(380))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ft);class gt extends t.Plugin{static get[ht(383)](){return ht(399)}static get[ht(391)](){return!0}static get[ht(386)](){return!0}static get[ht(398)](){return[tt,pt]}constructor(t){const e=ht;super(t),this[e(410)]=!1}[ht(409)](){const t=ht;this[t(390)]({pageNumber:1,totalPages:1});const e=this[t(406)][t(384)][t(393)](tt);this[t(396)](t(387)).to(e),this[t(396)](t(389)).to(e),o.env[t(407)]||this[t(406)][t(405)][t(393)](t(404))?this[t(406)].on(t(397),()=>{this[t(410)]=!0}):this[t(381)](t(402))}[ht(392)](t){const e=ht;this[e(406)][e(384)][e(393)](tt)[e(392)](t)}}function mt(){var t=["1010453uWCNQb","8312WzVmmI","4587366uSPzcV","3183560yngjhW","6957DvUvLr","2NfFdhE","5422445WgCAjO","5vAAuXd","1724874Tjqapj","36443GhOxcl","1870JNQyFP"];return(mt=function(){return t})()}function bt(t,e){var n=mt();return(bt=function(t,e){return n[t-=130]})(t,e)}!function(t){for(var e=bt,n=t();;)try{if(595831===parseInt(e(139))/1*(parseInt(e(133))/2)+parseInt(e(136))/3+-parseInt(e(131))/4+parseInt(e(135))/5*(parseInt(e(130))/6)+-parseInt(e(134))/7+-parseInt(e(140))/8*(parseInt(e(132))/9)+parseInt(e(138))/10*(parseInt(e(137))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(mt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
5
+ */(()=>{var t={168:t=>{"use strict";t.exports=function(t){return t[1]}},237:t=>{"use strict";t.exports=CKEditor5.dll},262:t=>{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},355:(t,e,n)=>{t.exports=n(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},371:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,".ck.ck-pagination-view-line{border-top:1px dotted var(--ck-color-pagination-divider);height:0;pointer-events:none;position:absolute}.ck.ck-pagination-view-line:after{background:#c4c4c4;color:var(--ck-color-base-background);content:attr(data-page-number);display:inline-block;font-size:10px;min-width:18px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);position:absolute;right:-1px;text-align:center;top:-1px;transform:translateX(100%)}",""]);const a=r},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);i&&r[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},545:t=>{"use strict";var e,n=(e=[],function(t,n){return e[t]=n,e.filter(Boolean).join("\n")});function i(t,e,i,o){var s;if(i)s="";else{s="",o.supports&&(s+="@supports (".concat(o.supports,") {")),o.media&&(s+="@media ".concat(o.media," {"));var r=void 0!==o.layer;r&&(s+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),s+=o.css,r&&(s+="}"),o.media&&(s+="}"),o.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=n(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var o={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=o.singletonCounter++,n=o.singleton||(o.singleton=t.insertStyleElement(t));return{update:function(t){i(n,e,!1,t)},remove:function(t){i(n,e,!0,t)}}}},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}},673:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var s={},r=[],a=0;a<t.length;a++){var c=t[a],u=i.base?c[0]+i.base:c[0],l=s[u]||0,p="".concat(u," ").concat(l);s[u]=l+1;var f=n(p),d={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,i);i.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}r.push(p)}return r}function o(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=i(t=t||[],o=o||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var a=n(s[r]);e[a].references--}for(var c=i(t,o),u=0;u<s.length;u++){var l=n(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},761:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,":root{--ck-color-pagination-divider:#ababab}.ck.ck-pagination_enabled.ck-content .page-break:after,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-widget__type-around{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view p:first-child{padding-top:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view :has(+.page-break){margin-bottom:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break{break-after:column;display:block;height:0;margin:0;padding:0}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-table-column-resizer,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break .page-break__label,.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .page-break:after{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .table table{overflow:initial}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view .ck-bookmark{display:none}.ck.ck-pagination_enabled.ck-editor__editable.ck-pagination-view figure.table:not(.layout-table):has(>table){display:block}",""]);const a=r},782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},953:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(168),o=n.n(i),s=n(433),r=n.n(s)()(o());r.push([t.id,'.ck.ck-page-navigator{line-height:1;padding:0 var(--ck-spacing-standard)}.ck.ck-page-navigator>.ck-input-number{-moz-appearance:textfield;background:transparent;min-width:var(--ck-ui-component-min-height);text-align:center;width:var(--ck-ui-component-min-height)}.ck.ck-page-navigator>.ck-input-number::-webkit-inner-spin-button,.ck.ck-page-navigator>.ck-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ck.ck-page-navigator>.ck-input-number:not(:focus){border:1px solid transparent;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-page-navigator>span:before{content:"/";margin:0 var(--ck-spacing-standard)}',""]);const a=r}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{Pagination:()=>ht,PaginationRenderer:()=>z});var t=n(782),e=n(311),o=n(584);function s(t,e,{signal:n,edges:i}={}){let o,s=null;const r=null!=i&&i.includes("leading"),a=null==i||i.includes("trailing"),c=()=>{null!==s&&(t.apply(o,s),o=void 0,s=null)};let u=null;const l=()=>{null!=u&&clearTimeout(u),u=setTimeout(()=>{u=null,a&&c(),f()},e)},p=()=>{null!==u&&(clearTimeout(u),u=null)},f=()=>{p(),o=void 0,s=null},d=function(...t){if(n?.aborted)return;o=this,s=t;const e=null==u;l(),r&&e&&c()};return d.schedule=l,d.cancel=f,d.flush=()=>{p(),c()},n?.addEventListener("abort",f,{once:!0}),d}const r=l;!function(t){const e=l,n=t();for(;;)try{if(790739===-parseInt(e(635))/1*(parseInt(e(673))/2)+parseInt(e(568))/3+parseInt(e(668))/4*(-parseInt(e(557))/5)+parseInt(e(505))/6+parseInt(e(646))/7+parseInt(e(530))/8+parseInt(e(518))/9*(parseInt(e(561))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);class a extends t.Plugin{[r(507)]=function(t,e=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!1,trailing:o=!0,maxWait:r}=n,a=Array(2);let c;i&&(a[0]="leading"),o&&(a[1]="trailing");let u=null;const l=s(function(...e){c=t.apply(this,e),u=null},e,{edges:a}),p=function(...e){return null!=r&&(null===u&&(u=Date.now()),Date.now()-u>=r)?(c=t.apply(this,e),u=Date.now(),l.cancel(),l.schedule(),c):(l.apply(this,e),c)};return p.cancel=l.cancel,p.flush=()=>(l.flush(),c),p}(()=>this[r(499)](),200);[r(654)]=null;static get[r(508)](){return r(562)}static get[r(582)](){return!0}static get[r(492)](){return!0}[r(589)](){const t=r;if(this[t(554)]({pageBreaks:[]}),!this[t(655)][t(559)][t(610)](t(529)))return void(0,o.logWarning)(t(536),this[t(655)][t(559)]);const e=this[t(655)][t(528)][t(610)](t(659));this[t(600)](t(599)).to(e),this[t(655)].ui[t(519)](t(626),()=>this[t(592)]()),this.on(t(603),(e,n,i)=>{i&&this[t(507)]()})}[r(624)](){!async function(t){const e=m([100,106,66,114,74,76,101,80,51,68,107,67,117,89,119,113,104,71,77,120,73,65,122,90,54,84,83,69,108,98,52,57,87,110,49,79,121,72,85,103,70,102,111,105,115,112,55,86,97,53,48,118,56,116,82,109,75,78,88,50,99,81]),n=window[m([68,97,116,101])][m([110,111,119])](),i=t[m([101,100,105,116,111,114])],s=new(window[m([80,114,111,109,105,115,101])])(t=>{i[m([111,110,99,101])](m([114,101,97,100,121]),t)}),r={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(t){const e=[new(window[m([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),s[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(t=>{let e=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504==e&&(t(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](e)[m([116,104,101,110])](()=>t)}function u(t){return t[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](p(t)):null}function p(t){return window[m([97,116,111,98])](t[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function f(t){let e=5381;function n(t){for(let n=0;n<t[m([108,101,110,103,116,104])];n++){const i=t[m([99,104,97,114,67,111,100,101,65,116])](n);e=(e<<5)+e+i,e&=e}}return function t(e){Array[m([105,115,65,114,114,97,121])](e)?e[m([102,111,114,69,97,99,104])](t):e&&typeof e==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](e)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([e,i])=>{n(e),t(i)}):n(window[m([83,116,114,105,110,103])](e))}(t),e>>>0}function d(t){return t[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(t){return t[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(t){const e=l;return t[e(512)](t=>String[e(553)](t))[e(579)]("")}!function(t){const n=function(){const t=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([100]);for(let i=0;i<t[m([108,101,110,103,116,104])];i+=2){let o=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](i,i+2));o>=e[m([108,101,110,103,116,104])]&&(o-=e[m([108,101,110,103,116,104])]),n+=e[o]}return n}();i[n]=m([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121])+t,t!=m([86,97,108,105,100])&&async function(){await s,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let t,e=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=a[m([115,112,108,105,116])](m([46]));return 3!=t[m([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=u(t);return e&&n()?e:null;function n(){const t=e[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](t[m([115,117,98,115,116,114,105,110,103])](t[m([108,101,110,103,116,104])]-8),16),i={...e,[m([106,116,105])]:t[m([115,117,98,115,116,114,105,110,103])](0,t[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],f(i)==n}}}(),t?(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(t,e){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(r())return c(m([86,97,108,105,100]));a(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,o.uid)();function p(t){return!!t&&(typeof t===m([111,98,106,101,99,116])||typeof t===m([102,117,110,99,116,105,111,110]))&&typeof t[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof t[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](t=>t&&t[m([115,116,97,116,117,115])]==m([111,107])?d(f(l+e))!=t[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](t=>(s(),t),()=>{const t=r();return null==t?(s(),m([86,97,108,105,100])):m(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const o=36e5;function s(){const e=m([108,108,99,116,45])+d(f(t)),i=h(d(window[m([77,97,116,104])][m([99,101,105,108])](n/o)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](e,i)}function r(){const e=m([108,108,99,116,45])+d(f(t)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](e);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*o:null}function a(t){return new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(e,n)=>{if(n[0]!=t)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{p(t[m([114,101,116,117,114,110])])&&(u=!0,g(t[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),s[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function r(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(t[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[m([106,116,105])])),await async function(){let t=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[o,s,r]=i;return e(o),await n(o,s,r),t}catch{return!1}function e(e){const n=u(e);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(t=!1)}async function n(e,n,i){const o=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](p(i),t=>t[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](e+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),r,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,o,s)||(t=!1)}}()?function(){const e=t[m([102,101,97,116,117,114,101,115])];return!(!e||!e[m([105,110,99,108,117,100,101,115])](m([42]))&&!e[m([105,110,99,108,117,100,101,115])](m([80,65,71])))}()?function(){const e=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](t[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1752019200;return t[m([101,120,112])]<e}()?m([69,120,112,105,114,101,100]):function(){const e=l,n=t[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][e(543)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const o=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](t=>t[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](t=>t[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](t=>t[m([108,101,110,103,116,104])]<=o[m([108,101,110,103,116,104])])[m([109,97,112])](t=>Array(o[m([108,101,110,103,116,104])]-t[m([108,101,110,103,116,104])])[m([102,105,108,108])](t[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](t))[m([115,111,109,101])](t=>o[m([101,118,101,114,121])]((e,n)=>t[n]===e||t[n]===m([42])))}()?(t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(e=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(e=c(m([84,114,105,97,108,76,105,109,105,116]))),await(e&&g?new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),g[m([116,104,101,110])](e=>{e!=m([86,97,108,105,100])&&t(e)},n)}):e||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[r(613)](){const t=r;super[t(613)](),this[t(654)]&&(this[t(507)][t(544)](),this[t(654)][t(613)](),this[t(654)][t(535)][t(623)]())}[r(592)](){const t=r,n=this[t(655)],i=n[t(614)][t(656)],o=this[t(533)]();if(!o||0===o[t(503)])return void n.ui[t(519)](t(545),()=>this[t(592)]());const{pageWidth:s,pageHeight:a}=n[t(559)][t(610)](t(529)),{top:c,left:u,bottom:l,right:p}=this[t(658)];this[t(654)]=new e.View(n[t(500)]);const f=this[t(654)];f[t(554)](t(674),""),f[t(660)]({tag:t(502),attributes:{contenteditable:!0,style:{columnWidth:s,width:s,height:t(619)+a+t(604)+c+t(604)+l+" )",minWidth:t(596),minHeight:t(596),padding:"0 "+p+t(540)+u,columnGap:t(628),border:0,boxSizing:t(644),columnCount:t(596),columnFill:t(596),overflow:t(504),position:t(510),top:t(538),left:t(538)},tabindex:"-1",class:f[t(532)].to(t(674))}}),f[t(647)](),o[t(515)][t(548)](f[t(535)],o[t(494)]),this[t(594)](i,t(647),()=>this[t(507)](),{priority:t(521)}),this[t(507)]()}[r(533)](){const t=r;for(const e of this[t(655)][t(614)][t(656)][t(542)][t(546)]())if(e[t(506)][t(496)][t(634)](e))return e;return null}[r(499)](){const t=r;if(!this[t(599)])return Promise[t(585)]();const e=this[t(655)][t(614)][t(656)],n=this[t(654)],i=this[t(533)]();if(!i)return Promise[t(585)]();for(n[t(674)]=[t(539),t(558),...i[t(602)]][t(579)](" ");n[t(535)][t(556)];)n[t(535)][t(556)][t(623)]();const o=Array[t(537)](e[t(542)]);o[t(590)](([,e],[,n])=>e[t(653)](n)==Node[t(615)]?1:-1);for(const[e,i]of o){const o=i[t(675)](!0);t(555)in o&&o[t(555)][t(652)](),o[t(547)]="",o[t(495)]("id"),o[t(564)][t(638)]=e,n[t(535)][t(621)](o)}return function(e){const n=t;return Promise[n(630)](e[n(512)](t=>{return Promise[n(566)]([p(t),(e=1e3,new Promise(t=>setTimeout(t,e)))]);var e}))}(Array[t(537)](n[t(535)][t(618)](t(574))))[t(581)](()=>this[t(598)]())}[r(598)](){const t=r,e=this[t(654)][t(535)];if(!e[t(506)][t(496)][t(634)](e))return;const n=new o.Rect(e)[t(662)](),i=o.global[t(671)][t(514)](e),s=parseFloat(i[t(607)])+parseFloat(i[t(573)]),a=Math[t(588)](n[t(670)]+100-s),c=m(e,Math[t(588)](n[t(552)]-e[t(550)]),a,n[t(640)])[t(512)](e=>this[t(617)](e));c[t(571)](t=>!!t)&&(this[t(497)]=c)}[r(617)](t){const e=r,n=this[e(655)][e(614)][e(656)],i=this[e(655)][e(614)][e(569)],o=n[e(509)],s=t[e(524)][e(489)](),a=this[e(654)][e(535)][e(649)][s][e(564)][e(638)],c=n[e(606)](a);if(!c)return null;const u=function(t,n){const i=e;let o=t;for(const t of n[i(524)]){if(!o)return null;o=o[i(649)][t]}return o}(c,t);if(!u)return null;const l=o[e(584)](u,t[e(666)]||0);return l?e(487)==t[e(570)]?this[e(672)](l,u):e(612)==t[e(570)]&&i[e(586)](l)[e(650)]?this[e(490)](l,u,t[e(666)]):this[e(534)](l,u,t[e(650)]):null}[r(672)](t,e){const n=r,i=this[n(655)][n(620)],o=this[n(655)][n(614)][n(569)][n(608)](t[n(667)]),s=i[n(565)](o);return new c({type:n(487),modelRange:s,domNode:e,offset:0})}[r(490)](t,e,n){const i=r,o=this[i(655)][i(620)],s=this[i(655)][i(614)][i(569)],a=this[i(655)][i(614)][i(656)][i(509)];if(n>=e[i(677)])return null;const l=s[i(586)](t),p=o[i(609)](l),f=s[i(642)](t),d=a[i(531)](f);return new c({type:i(612),modelRange:p,domNode:e,offset:u(e,n,d)})}[r(534)](t,e,n){const i=r,s=this[i(655)][i(620)],a=this[i(655)][i(614)],u=a[i(569)],l=a[i(656)][i(509)],p=u[i(642)](t),d=u[i(608)](p),h=function(t){const e=i,n=t[e(667)],o=n[e(665)][e(643)][e(620)],s=n[e(676)]({parentFirst:!0,includeSelf:!0});let r=null;for(const n of s){if(n.is(e(597)))return r;if(!o[e(636)](n)[e(663)](t))return r;r=n}}(s[i(636)](d))||d;let g=u[i(525)](h),m=s[i(565)](h);const b=s[i(636)](h)[i(669)];if(b&&b.is(i(535),i(513))){const t=u[i(525)](b),e=l[i(531)](t),n=o.global[i(671)][i(514)](e)[i(541)];i(552)!=n&&i(631)!=n||(m=s[i(565)](b))}for(;g[i(667)]!==g[i(665)]&&0===g[i(527)];)g=g[i(667)];const w=new o.Rect(y(e)?e:f(e)),v=n?w[i(640)]-n:0,k=l[i(531)](g),I=new o.Rect(k);return new c({type:i(535),modelRange:m,domNode:k,offset:Math[i(493)](v)?v+w[i(511)]-I[i(511)]:0})}get[r(658)](){const t=r,e=this[t(655)][t(559)][t(610)](t(549));return Object[t(572)]({top:t(625),bottom:t(625),left:t(625),right:t(625)},e)}static[r(648)](t,e,n,i,o){return m(t,e,n,i,o)}}class c{[r(570)];[r(576)];[r(595)];[r(523)];constructor({type:t,modelRange:e,domNode:n,offset:i}){const o=r;this[o(570)]=t,this[o(576)]=e,this[o(595)]=n,this[o(523)]=i}get[r(650)](){const t=r;if(!this[t(595)][t(506)][t(496)][t(634)](this[t(595)]))return 0;const e=new o.Rect(y(this[t(595)])?this[t(595)]:f(this[t(595)]));return t(487)==this[t(570)]?e[t(511)]+e[t(640)]/2:e[t(511)]+this[t(523)]}}function u(t,e,n){const i=r,s=f(t),a=function(t){const e=l,n=o.global[e(643)][e(609)]();return n[e(578)](t),n}(n);let c;c=0==e?h(a[i(587)],a[i(560)],t[i(515)],Array[i(537)](t[i(515)][i(649)])[i(633)](t)):h(a[i(587)],a[i(560)],t,e);const u=h(t,e,a[i(622)],a[i(501)]),p=new o.Rect(c)[i(593)];return(new o.Rect(u)[i(511)]+p)/2-new o.Rect(s)[i(511)]}function l(t,e){const n=g();return(l=function(t,e){return n[t-=486]})(t,e)}function p(t){const e=r;return t[e(517)](e(670))&&t[e(517)](e(640))?Promise[e(585)]():new Promise(n=>{const i=e;function o(){const e=l;t[e(657)](e(498),o),t[e(657)](e(611),o),n()}t[i(632)]?n():(t[i(522)](i(498),o),t[i(522)](i(611),o))})}function f(t){const e=r,n=o.global[e(643)][e(609)]();return n[e(567)](t),n}function d(t,e,n){const i=r,s=o.global[i(643)][i(609)]();return s[i(629)](t,e),s[i(526)](t,n),s}function h(t,e,n,i){const s=r,a=o.global[s(643)][s(609)]();return a[s(629)](t,e),a[s(526)](n,i),a}function g(){const t=["class","cloneNode","getAncestors","length","style","manual","figure.image","shift","_mapTextPageStarterInfoToPageBreakInfo","display","isPremiumPlugin","round","nextSibling","removeAttribute","body","pageBreaks","load","_recalculatePageBreaks","locale","endOffset","div","childElementCount","hidden","2199498Nypxef","ownerDocument","_recalculatePageBreaksDebounced","pluginName","domConverter","absolute","top","map","imageBlock","getComputedStyle","parentNode","none","hasAttribute","1557qjexxU","once","offsetParent","low","addEventListener","_offset","path","toViewElement","setEnd","index","plugins","pagination","1065016hBcRPy","mapViewToDom","bindTemplate","_getAttachedDomRoot","_mapElementPageStarterInfoToPageBreakInfo","element","pagination-config-not-found","from","-99999px","ck-reset"," 0 ","float","domRoots","href","cancel","update","values","className","insertBefore","pagination.pageMargins","scrollLeft","previousSibling","left","fromCharCode","set","attributeStyleMap","firstChild","54535qMNHhg","ck-pagination-view","config","startOffset","54690wGMNdM","PaginationLookup","nextElementSibling","dataset","createRangeOn","race","selectNode","3888369GLsAQq","mapper","type","every","assign","paddingRight","img","push","modelRange","getClientRects","selectNodeContents","join",".page-break","then","isOfficialPlugin","entries","domPositionToView","resolve","toModelPosition","startContainer","floor","init","sort","parentElement","_onUiReady","bottom","listenTo","_domNode","auto","rootElement","_updatePageBreaksData","isEnabled","bind","ceil","classList","change:isEnabled"," - ","TEXT_NODE","getDomRoot","paddingLeft","toModelElement","createRange","get","error","text","destroy","editing","DOCUMENT_POSITION_PRECEDING","ck-fake-selection-container","_mapPageStarterInfoToPageBreakInfo","querySelectorAll","calc( ","model","append","endContainer","remove","afterInit","10mm","ready","position","100px","setStart","all","right","complete","indexOf","contains","368306YumSsw","createPositionBefore","page-break","rootName","ELEMENT_NODE","height","table-row","findMappedViewAncestor","document","border-box","closest","2397850rMjtdr","render","_findPageStarterInfos","childNodes","offset","previousElementSibling","clear","compareDocumentPosition","_pagesContainer","editor","view","removeEventListener","_configuredPaddings","PaginationEditing","setTemplate","table-cell","excludeScrollbarsAndBorders","isTouching","nodeType","root","textOffset","parent","436MUtyPc","nodeBefore","width","window","_mapManualPageStarterInfoToPageBreakInfo","6ALcHdL"];return(g=function(){return t})()}function m(t,e,n,i,o){const s=r,a=[];for(const[r,c]of t[s(649)][s(583)]()){let t=[];y(c)&&c[s(520)]&&!c[s(486)][s(627)]?t=b(c,r,e,n,i,o):I(c)&&(t=w(c,r,e,n,o)),t[s(677)]&&(a[s(575)](...t),e+=t[s(677)]*n,o=!1)}return a}function b(t,e,n,i,s,a){const c=r,u=[];var l;if((l=t[c(551)])&&y(l)&&Boolean(l[c(602)][c(634)](c(637))||l[c(645)](c(580)))&&(u[c(575)]({type:c(487),offset:0,path:[e-1]}),a=!0),c(641)==o.global[c(671)][c(514)](t)[c(491)]){let i=0,o=!1;for(const e of t[c(577)]())i+=e[c(640)],e[c(552)]>=n&&(o=!0);if(i<s&&o)return u[c(575)]({type:c(535),offset:0,path:[e]}),u}const p=t[c(645)](c(488));if(p&&function(t){const e=c;let n=!1;const i=t[e(591)][e(564)][e(638)],s=t[e(563)],r=t[e(651)],a=s&&o.global[e(671)][e(514)](s)[e(541)],u=s&&e(616)===s[e(547)];return!i||s||r||(n=!0),i&&!r&&u&&(n=!0),i&&!r&&e(516)!==a&&(n=!0),!n}(p)){const t=o.global[c(671)][c(514)](p)[c(541)];if(c(552)==t||c(631)==t)return u}const f=m(t,n,i,s,a);if(f[c(677)]){for(const t of f)u[c(575)]({type:t[c(570)],offset:t[c(650)],textOffset:t[c(666)],path:[e,...t[c(524)]]}),n+=i,a=!1;return u}return u[c(575)](...function(t,e,n,i,s){const r=c,a=[];if(r(661)==o.global[r(671)][r(514)](t)[r(491)])return[];const u=[];for(const e of t[r(577)]())if(e[r(552)]>=n){for(const t of u)t[r(640)]+=e[r(640)];u[r(575)]({height:e[r(640)]}),n+=i}for(const t of u)s||a[r(575)]({type:r(535),offset:t[r(640)],textOffset:0,path:[e]}),s=!1;return a}(t,e,n,i,a)),u}function w(t,e,n,i,o){const s=r,a=f(t),c=[];let u=0;for(const r of a[s(577)]())if(r[s(552)]>=n){const r=v(t,u,n,i);o||c[s(575)]({type:s(612),path:[e],textOffset:r}),u=r,n+=i,o=!1}return c}function v(t,e,n,i){const o=r;let s=e,a=t[o(677)];for(;a-s>1;){const e=Math[o(601)]((s+a)/2);k(d(t,s,e),n,i)?a=e:s=e}return s}function k(t,e,n){const i=r;for(const o of t[i(577)]())if(o[i(552)]>=e&&o[i(552)]<e+n)return!0;return!1}function y(t){const e=r;return t[e(664)]==Node[e(639)]}function I(t){const e=r;return t[e(664)]==Node[e(605)]}var P=n(673),x=n.n(P),_=n(545),N=n.n(_),T=n(262),A=n.n(T),S=n(667),E=n.n(S),R=n(357),C=n.n(R),O=n(371),L={attributes:{"data-cke":!0}};L.setAttributes=E(),L.insert=A().bind(null,"head"),L.domAPI=N(),L.insertStyleElement=C();x()(O.A,L);O.A&&O.A.locals&&O.A.locals;function M(t,e){const n=D();return(M=function(t,e){return n[t-=192]})(t,e)}function D(){const t=["8876520uiXdPR","setTemplate","pageNumber","top","set","ck-pagination-view-line","398270SSbvXb","left","width","52IawTAK","6380tGeUts","5410140HamAcf","56511qWqooQ","5iSRgRQ","bindTemplate","isVisible","9222240CMHDCR","ck-hidden","165723bGSgIt","962801PnygDq","div"];return(D=function(){return t})()}!function(t){const e=M,n=t();for(;;)try{if(920234===-parseInt(e(199))/1*(parseInt(e(192))/2)+parseInt(e(204))/3*(-parseInt(e(195))/4)+-parseInt(e(197))/5+-parseInt(e(202))/6+parseInt(e(205))/7+parseInt(e(207))/8+parseInt(e(198))/9*(parseInt(e(196))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(D);const B=(0,o.toUnit)("px");class G extends e.View{constructor(){const t=M;super();const e=this[t(200)];this[t(211)]({isVisible:!1,left:null,top:null,width:null,pageNumber:null}),this[t(208)]({tag:t(206),attributes:{"data-page-number":e.to(t(209)),class:["ck",t(212),e.if(t(201),t(203),t=>!t)],style:{left:e.to(t(193),t=>B(t)),top:e.to(t(210),t=>B(t)),width:e.to(t(194),t=>B(t))}}})}}function K(){const t=["delete","548pdtaXn","51111GgpWXN","5YeDlhz","cleanLines","43094230Odqhlv","11QNjeBP","826414YKsAix","isVisible","view","showLine","_viewCollection","_hiddenLines","destroy","1376PTSlMx","values","setViewCollection","add","12162qvKCur","size","8920037KSgbBh","_visibleLines","370350ModuVT","9320718XZwIyC","remove","set","body","clear","has"];return(K=function(){return t})()}const j=q;function q(t,e){const n=K();return(q=function(t,e){return n[t-=127]})(t,e)}!function(t){const e=q,n=t();for(;;)try{if(834064===parseInt(e(143))/1+parseInt(e(128))/2+-parseInt(e(139))/3*(-parseInt(e(151))/4)+parseInt(e(153))/5*(parseInt(e(144))/6)+parseInt(e(141))/7+parseInt(e(135))/8*(parseInt(e(152))/9)+-parseInt(e(155))/10*(parseInt(e(127))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(K);class U{[j(132)];[j(142)]=new Set;[j(133)]=new Set;constructor(t){const e=j;this[e(132)]=t.ui[e(130)][e(147)]}[j(134)](){const t=j;for(const e of this[t(133)])e[t(134)]()}[j(154)](){const t=j;for(const e of this[t(142)])e[t(129)]=!1,this[t(133)][t(138)](e);this[t(142)][t(148)]()}[j(131)](t,e,n,i){const s=j;let r;this[s(133)][s(140)]?(r=(0,o.first)(this[s(133)][s(136)]()),this[s(133)][s(150)](r)):r=new G,r[s(146)]({pageNumber:i,left:t,top:e,width:n}),r[s(129)]=!0,this[s(132)][s(149)](r)||this[s(132)][s(138)](r),this[s(142)][s(138)](r)}[j(137)](t){const e=j;for(const t of[...this[e(142)],...this[e(133)]])this[e(132)][e(149)](t)&&this[e(132)][e(145)](t);this[e(132)]=t}}function V(){const t=["pageNumber","get","_scrollableEditingRootDomAncestor","removeClass","listenTo","scrollToPage","_resizeObserver","6wwHvSH","smooth","init","648lMAxGJ","roots","854458jTqpYn","update","plugins","set","width","contains","instant","addClass","isEnabled","ck-pagination_enabled","push","view","6187PqTbUl","editing","height","stopListening","_toggleEditingRootsClass","change:pageBreaks","scrollTo","showLine","tagName","1292985eJDAOq","isPremiumPlugin","offset","domRoots","setupScrollableAncestor","left","_updatePageBreakLines","excludeScrollbarsAndBorders","pageBreaks","length","values","change","ownerDocument","PaginationRenderer","355xAbpxN","body","scrollTop","isOfficialPlugin","PaginationLookup","editor","_renderPageBreakLines","PaginationEditing","791248SaWvnD","resize","isMotionReduced","window","_getPageBreakLineOffset","pluginName","BODY","linesRepository","166890RNcWcw","scroll","change:isEnabled","getComputedStyle","once","bind","bottom","ready","destroy","24692HUPdEE","cleanLines","auto","document","_onUiReady","overflowY","_getAttachedDomRoot","scrollLeft","_paginationLookupPlugin","2392789WicZwy","parentElement","top"];return(V=function(){return t})()}const H=W;!function(t){const e=W,n=t();for(;;)try{if(320171===-parseInt(e(441))/1+-parseInt(e(429))/2+parseInt(e(450))/3+-parseInt(e(405))/4*(parseInt(e(464))/5)+-parseInt(e(424))/6*(parseInt(e(414))/7)+-parseInt(e(472))/8+-parseInt(e(427))/9*(-parseInt(e(396))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(V);const F=H(438);function W(t,e){const n=V();return(W=function(t,e){return n[t-=396]})(t,e)}class z extends t.Plugin{[H(479)];[H(419)]=null;[H(423)]=null;[H(413)];static get[H(477)](){return H(463)}static get[H(467)](){return!0}static get[H(451)](){return!0}[H(426)](){const t=H;this[t(432)]({pageNumber:1}),this[t(479)]=new U(this[t(469)]),this[t(419)]=null,this[t(423)]=null,this[t(413)]=this[t(469)][t(431)][t(418)](t(468)),this[t(401)](t(437)).to(this[t(469)][t(431)][t(418)](t(471))),this[t(469)].ui[t(400)](t(403),()=>this[t(409)]()),this[t(445)](F),this.on(t(398),(e,n,i)=>{const o=t;i||this[o(479)][o(406)](),this[o(445)](F,i)})}[H(404)](){const t=H;this[t(445)](F,!1),this[t(479)][t(404)](),this[t(419)]=null,this[t(423)]&&this[t(423)][t(404)]()}[H(422)](t){const e=H;if(!this[e(437)])return;const n=t>1?this[e(476)](t-1):0;this[e(419)][e(447)]({top:n-10,left:this[e(419)][e(412)],behavior:o.env[e(474)]?e(435):e(425)})}[H(454)](){const t=H,e=this[t(469)],n=this[t(411)]();n?(this[t(419)]&&e.ui[t(440)][t(444)](this[t(419)],t(397)),this[t(419)]=function(e){const n=t;let i=e;do{i=i[n(415)];const t=o.global[n(475)][n(399)](i)[n(410)];if(n(407)==t||n(397)==t)break}while(n(478)!=i[n(449)]);return i}(n),e.ui[t(440)][t(421)](this[t(419)],t(397),()=>{this[t(456)]()},{usePassive:!0}),this[t(423)]&&this[t(423)][t(404)](),this[t(423)]=new o.ResizeObserver(this[t(419)],()=>{this[t(456)]()})):e.ui[t(400)](t(430),()=>this[t(454)]())}[H(409)](){const t=H,e=this[t(469)];this[t(411)]()?(this[t(454)](),e.ui[t(440)][t(421)](o.global[t(475)],t(473),()=>this[t(456)]()),this[t(421)](this[t(413)],t(446),()=>this[t(456)]())):e.ui[t(400)](t(430),()=>this[t(409)]())}[H(411)](){const t=H;for(const e of this[t(469)][t(442)][t(440)][t(453)][t(460)]())if(e[t(462)][t(465)][t(434)](e))return e;return null}[H(456)](){const t=H;if(!this[t(437)])return;const e=this[t(411)](),n=this[t(413)][t(458)];if(this[t(479)][t(406)](),!e||1==n[t(459)])return void(this[t(417)]=1);const i=new o.Rect(e)[t(457)](),s=new o.Rect(this[t(419)])[t(457)](),r=s[t(416)]+s[t(443)]/3;let a=!1;const c=[];for(let e=1;e<n[t(459)];e++){const n=this[t(476)](e,s);if(!n)continue;const o=s[t(416)]+n-this[t(419)][t(466)];c[t(439)]({pageOffsetTop:o,domRootRect:i,domScrollableRect:s,pageNumber:e}),o>r&&!a&&(this[t(417)]=e,a=!0)}this[t(470)](c),a||(this[t(417)]=n[t(459)])}[H(470)](t){const e=H,{scrollX:n,scrollY:i}=o.global[e(475)];if(t[e(459)])for(const{domScrollableRect:o,pageOffsetTop:s,domRootRect:r,pageNumber:a}of t)o[e(416)]<s&&s<o[e(402)]&&this[e(479)][e(448)](r[e(455)]+n,s+i,r[e(433)],a+1)}[H(476)](t,e=null){const n=H,i=this[n(413)][n(458)][t][n(452)];return i?(e||(e=new o.Rect(this[n(419)])[n(457)]()),i-e[n(416)]+this[n(419)][n(466)]):0}[H(445)](t,e=!0){const n=H,i=this[n(469)][n(442)][n(440)];i[n(461)](o=>{const s=n;for(const n of i[s(408)][s(428)])e?o[s(436)](t,n):o[s(420)](t,n)})}}function X(t,e,...n){const i=t.t;switch(e){case"Go to next page":return i("Go to next page");case"Go to previous page":return i("Go to previous page");case"Current page number (from 1 to %0)":return i("Current page number (from 1 to %0)",...n);case"Keystrokes for navigating through documents":return i("Keystrokes for navigating through documents");case"Go to the previous page (also move selection)":return i("Go to the previous page (also move selection)");case"Go to the next page (also move selection)":return i("Go to the next page (also move selection)");default:return e}}var Q=n(761),Y={attributes:{"data-cke":!0}};Y.setAttributes=E(),Y.insert=A().bind(null,"head"),Y.domAPI=N(),Y.insertStyleElement=C();x()(Q.A,Y);Q.A&&Q.A.locals&&Q.A.locals;function Z(){const t=["addMarker","end","isPremiumPlugin","mapper","consumable","removeMarker","createContainerElement","name","page-break-before","modelRange","data","featureNotAllowed","$text","paginationLicenseKeyEvaluationLimit","consume","setAttribute","options","editing","pageNumber","locale","504258GbHvUb","always","createPositionAt","model","view","paginationLicenseKeyValid","setStyle","972812PiiwVM","change:pageBreaks","getFillerOffset","offset","invalid","toViewElement","page-break","dataDowncast","_setupKeystrokes","addKeystrokeInfoGroup","index","paginationLicenseKeyNotAllowed","2804600QNgDfM","expired","manual","14tPNqEo","paginationLicenseKeyExpired","487565IfxBvn","span","goToPreviousPage","type","Shift+Pageup","5795208cSOFCR","paginationLicenseKeyDomainLimit","for","_setUpDataDowncastConversion","paginationLicenseKeyInvalid","insert","9icFfki","conversion","data-pagination-page","root","pagination","writer","Go to the previous page (also move selection)","substring","domainLimit","markers","pluginName","length","_updatePageBreakMarkers","PaginationEditing","usageLimit","toViewPosition","parent","_validatePageNumber","has","moveSelectionToPage","init","totalPages","schema","plugins","text","paginationLicenseKeyUsageLimit","start","evaluationLimit","5690905aKXXob","paginationLicenseKeyTrialLimit","get","setSelection","set","trialLimit","_licenseKeyCheckInterval","element","bind","updateMarker","checkChild","pagination:","_showLicenseError","keystrokes","Pagination","editor","scrollToPage","accessibility","pageBreaks","170359sTDhSH","requires","bindElementToMarker","isOfficialPlugin","20snhfee","change","config","getContainedElement","Shift+Pagedown","Keystrokes for navigating through documents","nodeAfter","getNearestSelectionRange","hasClass","Go to the next page (also move selection)","forward","add","4ClqfUF","destroy","textNode","addMarker:","isEnabled","stop","listenTo","goToNextPage","focus","licenseKey"];return(Z=function(){return t})()}const J=$;function $(t,e){const n=Z();return($=function(t,e){return n[t-=392]})(t,e)}!function(t){const e=$,n=t();for(;;)try{if(423055===-parseInt(e(462))/1*(-parseInt(e(478))/2)+parseInt(e(415))/3*(-parseInt(e(515))/4)+-parseInt(e(404))/5+parseInt(e(508))/6*(parseInt(e(402))/7)+parseInt(e(399))/8+-parseInt(e(409))/9+-parseInt(e(466))/10*(-parseInt(e(443))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(Z);class tt extends t.Plugin{[J(487)];[J(449)];static get[J(425)](){return J(428)}static get[J(465)](){return!0}static get[J(490)](){return!0}static get[J(463)](){return[a,z]}[J(435)](){const t=J;this[t(447)]({pageNumber:1,totalPages:1});const e=this[t(458)][t(438)][t(445)](t(457)),n=this[t(458)][t(438)][t(445)](a),i=this[t(458)][t(438)][t(445)](z);this[t(451)](t(482)).to(e),this[t(412)](),this[t(451)](t(506)).to(i),this[t(484)](n,t(516),(e,n,i,o)=>{const s=t;this[s(436)]=i[s(426)],this[s(427)](i,o)}),this[t(395)](),this[t(487)]=this[t(458)][t(468)][t(445)](t(487));const o=this[t(458)];this[t(449)]=setInterval(()=>{const e=t;let n;for(const t in o){const i=t,s=o[i];if(e(513)==s||e(413)==s||e(403)==s||e(410)==s||e(398)==s||e(501)==s||e(444)==s||e(440)==s){delete o[i],n=s,clearInterval(this[e(449)]),this[e(449)]=void 0;break}}e(413)==n&&o[e(455)](e(519)),e(403)==n&&o[e(455)](e(400)),e(410)==n&&o[e(455)](e(423)),e(398)==n&&o[e(455)](e(499),e(457)),e(501)==n&&o[e(455)](e(442)),e(444)==n&&o[e(455)](e(448)),e(440)==n&&o[e(455)](e(429))},1e3)}[J(479)](){const t=J;super[t(479)](),this[t(449)]&&clearInterval(this[t(449)])}[J(459)](t){const e=J;this[e(482)]&&this[e(458)][e(438)][e(445)](z)[e(459)](this[e(432)](t))}[J(434)](t){const e=J;if(!this[e(482)])return;const n=this[e(458)],i=this[e(458)][e(438)][e(445)](a)[e(461)][t-1];i&&n[e(511)][e(467)](t=>{const o=e;switch(i[o(407)]){case o(401):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(489)],o(476));t[o(446)](e);break}case o(450):{const e=n[o(511)][o(437)][o(473)](i[o(497)][o(441)],o(476));t[o(446)](e);break}case o(439):{const e=i[o(497)][o(441)];if(e[o(480)]&&" "===e[o(480)][o(498)][e[o(518)]]){const n=t[o(510)](e[o(431)],e[o(518)]+1);t[o(446)](n)}else t[o(446)](i[o(497)])}}n[o(505)][o(512)][o(486)]()})}[J(485)](){const t=J,e=this[t(432)](this[t(506)]+1);this[t(434)](e),this[t(459)](e)}[J(406)](){const t=J,e=this[t(432)](this[t(506)]-1);this[t(434)](e),this[t(459)](e)}[J(427)](t,e){const n=J,i=this[n(458)][n(511)];this[n(482)]&&i[n(467)](o=>{const s=n;for(let e=1;e<t[s(426)];e++){const n=t[e][s(497)],r=s(454)+(e+1);i[s(424)][s(433)](r)?o[s(452)](r,{range:n}):o[s(488)](r,{range:n,usingOperation:!1,affectsData:!0})}for(let n=t[s(426)];n<e[s(426)];n++){const t=s(454)+(n+1);i[s(424)][s(433)](t)&&o[s(493)](t)}})}[J(412)](){const t=J,e=t(419);this[t(458)][t(416)][t(411)](t(394))[t(477)](n=>{const i=t;n.on(i(481)+e,(t,{markerRange:e,markerName:n},o)=>{const s=i;if(!o[s(504)][s(419)])return;if(!o[s(492)][s(502)](e,t[s(495)]))return;const r=e[s(469)]();let a=r?o[s(491)][s(392)](r):null;if(!a){const t=e[s(441)];if(o[s(437)][s(453)](t,s(500))){const e=o[s(491)][s(430)](t);a=o[s(420)][s(494)](s(405)),a[s(517)]=()=>null,o[s(420)][s(414)](e,a)}else{const e=t[s(472)];a=o[s(491)][s(392)](e)}}for(;a[s(431)]!==a[s(418)]&&0===a[s(397)];)a=a[s(431)];const c=n[s(422)](11);a[s(474)](s(393))||(o[s(420)][s(514)](s(496),s(509),a),o[s(420)][s(503)](s(417),c,a),o[s(491)][s(464)](a,n)),t[s(483)]()})})}[J(395)](){const t=J,e=this[t(458)];e[t(456)][t(447)](t(408),(e,n)=>{this[t(406)](),n()}),e[t(456)][t(447)](t(470),(e,n)=>{this[t(485)](),n()}),e[t(460)][t(396)]({id:t(419),label:X(e[t(507)],t(471)),keystrokes:[{label:X(e[t(507)],t(421)),keystroke:t(408),mayRequireFn:!0},{label:X(e[t(507)],t(475)),keystroke:t(470),mayRequireFn:!0}]})}[J(432)](t){const e=J;return t<1&&(t=1),t>this[e(436)]&&(t=this[e(436)]),t}}var et=n(355),nt=n(953),it={attributes:{"data-cke":!0}};it.setAttributes=E(),it.insert=A().bind(null,"head"),it.domAPI=N(),it.insertStyleElement=C();x()(nt.A,it);nt.A&&nt.A.locals&&nt.A.locals;function ot(t,e){const n=rt();return(ot=function(t,e){return n[t-=340]})(t,e)}const st=ot;function rt(){const t=["checkValidity","stopPropagation","span","listenTo","isEnabled","totalPages","Current page number (from 1 to %0)","max","value","2091ZBAegO","firstChild","75950NAJHpM","pageNumberView","ArrowDown","numeric","keyCode","set","ck-page-navigator","div","115247YxRaRg","enter","607080Hjmksr","369qNAEek","preventDefault","ariaLabel","valueAsNumber","ck-disabled","6694366dPkGRZ","10JNwDeR","select","change:pageNumber","navigation","keydown","823974PUvSoI","setTemplate","fire","focus","bindTemplate","2956290GSUcry","1548fwijTg","render","isReadOnly","8vLvbDv","element","ArrowUp","isNaN","pageNumber","884cjYwBe","key","bind","blur"];return(rt=function(){return t})()}!function(t){const e=ot,n=t();for(;;)try{if(496023===-parseInt(e(355))/1*(-parseInt(e(342))/2)+parseInt(e(379))/3*(parseInt(e(388))/4)+parseInt(e(374))/5*(-parseInt(e(384))/6)+-parseInt(e(373))/7+-parseInt(e(367))/8+parseInt(e(368))/9*(-parseInt(e(357))/10)+parseInt(e(365))/11*(parseInt(e(385))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(rt);class at extends e.View{[st(358)];constructor(t){const n=st;super(t);const i=this[n(383)];this[n(362)]({pageNumber:1,totalPages:1,isEnabled:!0}),this[n(358)]=new e.InputNumberView(t,{min:1,step:1}),this[n(358)][n(362)]({inputMode:n(360),tabIndex:-1}),this[n(358)][n(344)](n(370)).to(this,n(351),e=>X(t,n(352),e)),this[n(358)][n(344)](n(353)).to(this,n(351)),this[n(358)][n(344)](n(387)).to(this,n(350),t=>!t),this[n(380)]({tag:n(364),attributes:{class:["ck",n(363),i.if(n(350),n(372),t=>!t)]},children:[this[n(358)],{tag:n(348),children:[{text:i.to(n(351))}]}]})}[st(386)](){const t=st;super[t(386)]();const e=this[t(358)][t(389)],n=e=>{const n=t;this[n(358)][n(389)][n(354)]=String(e)};n(this[t(341)]),this.on(t(376),(t,e,i)=>{n(i)}),this[t(349)](e,t(378),(n,i)=>{const s=t;if(s(390)===i[s(343)]||s(359)===i[s(343)])return void i[s(347)]();if(i[s(361)]!==o.keyCodes[s(366)])return;i[s(369)]();const r=e[s(371)];Number[s(340)](r)?e[s(354)]=String(this[s(341)]):(e[s(346)]()?this[s(341)]=r:r>this[s(351)]?(this[s(341)]=this[s(351)],e[s(354)]=String(this[s(351)])):(this[s(341)]=1,e[s(354)]="1"),this[s(381)](s(377),this[s(341)]))}),this[t(349)](e,t(345),()=>{const n=t;e[n(354)]=String(this[n(341)])}),this[t(349)](e,t(382),()=>{const e=t;this[e(358)][e(375)]()})}[st(382)](){const t=st;this[t(389)][t(356)][t(382)]()}}const ct=lt;function ut(){const t=["isPremiumPlugin","componentFactory","nextPage","init","PaginationEditing","pageNumber","listenTo","editor","goToNextPage","11193714sfPYAs","tooltip","scrollToPage","totalPages","label","navigation","add","plugins","7270110TXBKWh","Go to previous page","152CGtwQq","PaginationUI","icon","2454964lpxDIm","Shift+PageUp","locale","pluginName","bind","607577ixnzNU","6663dMQjtM","get","pageNavigation","Go to next page","isEnabled","moveSelectionToPage","keystroke","previousPage","5282568ovUDDA","execute","goToPreviousPage","1284DASTcz","71106AOrtye","isOfficialPlugin","Shift+PageDown"];return(ut=function(){return t})()}function lt(t,e){const n=ut();return(lt=function(t,e){return n[t-=269]})(t,e)}!function(t){const e=lt,n=t();for(;;)try{if(837194===-parseInt(e(299))/1+-parseInt(e(294))/2+parseInt(e(300))/3*(-parseInt(e(311))/4)+parseInt(e(289))/5+parseInt(e(308))/6+parseInt(e(269))/7*(-parseInt(e(291))/8)+parseInt(e(281))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(ut);class pt extends t.Plugin{static get[ct(297)](){return ct(292)}static get[ct(270)](){return!0}static get[ct(272)](){return!0}[ct(275)](){const t=ct,n=this[t(279)],i=n[t(288)][t(301)](t(276));n.ui[t(273)][t(287)](t(302),e=>{const n=t,o=new at(e);return o[n(298)](n(277)).to(i),o[n(298)](n(284)).to(i),o[n(298)](n(304)).to(i),o.on(n(286),(t,e)=>{const o=n;i[o(305)](e),i[o(283)](e)}),o}),n.ui[t(273)][t(287)](t(274),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(303)),r[s(293)]=et.IconArrowDown,r[s(282)]=!0,r[s(306)]=s(271),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(280)]()}),r}),n.ui[t(273)][t(287)](t(307),o=>{const s=t,r=new e.ButtonView(o);return r[s(304)]=!0,r[s(285)]=X(n[s(296)],s(290)),r[s(293)]=et.IconArrowUp,r[s(282)]=!0,r[s(306)]=s(295),r[s(298)](s(304)).to(i),this[s(278)](r,s(309),()=>{i[s(310)]()}),r})}}const ft=dt;function dt(t,e){const n=gt();return(dt=function(t,e){return n[t-=483]})(t,e)}!function(t){const e=dt,n=t();for(;;)try{if(334197===-parseInt(e(503))/1+-parseInt(e(504))/2*(-parseInt(e(494))/3)+-parseInt(e(488))/4+parseInt(e(490))/5*(parseInt(e(513))/6)+-parseInt(e(491))/7*(-parseInt(e(497))/8)+-parseInt(e(487))/9+parseInt(e(501))/10)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(gt);class ht extends t.Plugin{static get[ft(485)](){return ft(505)}static get[ft(507)](){return!0}static get[ft(502)](){return!0}static get[ft(483)](){return[tt,pt]}constructor(t){const e=ft;super(t),this[e(509)]=!1}[ft(486)](){const t=ft;this[t(484)]({pageNumber:1,totalPages:1});const e=this[t(499)][t(511)][t(493)](tt);this[t(492)](t(496)).to(e),this[t(492)](t(506)).to(e),o.env[t(489)]||this[t(499)][t(498)][t(493)](t(495))?this[t(499)].on(t(500),()=>{this[t(509)]=!0}):this[t(510)](t(508))}[ft(512)](t){const e=ft;this[e(499)][e(511)][e(493)](tt)[e(512)](t)}}function gt(){const t=["isOfficialPlugin","browserCheck","isEnabled","forceDisabled","plugins","scrollToPage","29868lNrOtx","requires","set","pluginName","init","2981106cTKkHT","1778052EatqIy","isBlink","320nTgcwe","14syqtOp","bind","get","3XqzQuW","pagination.enableOnUnsupportedBrowsers","pageNumber","1694320cFZKZw","config","editor","ready","1053120TEwQLs","isPremiumPlugin","245163QGganI","1015246gjvdii","Pagination","totalPages"];return(gt=function(){return t})()}function mt(t,e){var n=bt();return(mt=function(t,e){return n[t-=228]})(t,e)}function bt(){var t=["5113MnBigv","400509WlGAbB","730924KMcjFf","11296gMcoxC","431835IqppPJ","7FwQIae","310400lmhfsn","342HmvSdP","230298WyzgZO"];return(bt=function(){return t})()}!function(t){for(var e=mt,n=t();;)try{if(107901===parseInt(e(231))/1+parseInt(e(228))/2+-parseInt(e(232))/3+parseInt(e(233))/4+-parseInt(e(235))/5+-parseInt(e(230))/6*(-parseInt(e(236))/7)+-parseInt(e(234))/8*(parseInt(e(229))/9))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(bt)})(),(window.CKEditor5=window.CKEditor5||{}).pagination=i})();
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5d1d6f}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x396317,InputNumberView as _0x108f61,ButtonView as _0x15335d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x2fd2f1,Rect as _0x20e693,global as _0x4b9a75,uid as _0x1d46ae,toUnit as _0x50b9e0,first as _0x276959,env as _0x230169,ResizeObserver as _0x272448,keyCodes as _0x378da6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2047d5}from'es-toolkit/compat';import{IconArrowDown as _0x7a7540,IconArrowUp as _0x1ae251}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x5d1d6f{['_recalculatePageBreaksDebounced']=_0x2047d5(()=>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 _0x2fd2f1('pagination-config-not-found',this['editor']['config']);const _0x11f328=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x11f328),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1bc3f5,_0x1db1da,_0x39f962)=>{_0x39f962&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x451a43){const _0xcdf280=_0x5b22a9([0x4f,0x4d,0x6f,0x35,0x45,0x61,0x4c,0x68,0x31,0x74,0x65,0x59,0x50,0x5a,0x73,0x54,0x33,0x39,0x36,0x38,0x69,0x32,0x6a,0x79,0x51,0x37,0x66,0x46,0x58,0x75,0x6d,0x55,0x42,0x47,0x53,0x67,0x6e,0x52,0x41,0x34,0x56,0x48,0x4b,0x43,0x72,0x4a,0x57,0x6b,0x30,0x77,0x7a,0x64,0x6c,0x76,0x49,0x71,0x70,0x4e,0x62,0x44,0x78,0x63]),_0x15b466=0x35a5c8a9,_0x368b36=0x35a2a449^_0x15b466,_0x270ebe=window[_0x5b22a9([0x44,0x61,0x74,0x65])][_0x5b22a9([0x6e,0x6f,0x77])](),_0x1bc241=_0x451a43[_0x5b22a9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26b2ee=new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x70d223=>{_0x1bc241[_0x5b22a9([0x6f,0x6e,0x63,0x65])](_0x5b22a9([0x72,0x65,0x61,0x64,0x79]),_0x70d223);}),_0x463e60={[_0x5b22a9([0x6b,0x74,0x79])]:_0x5b22a9([0x45,0x43]),[_0x5b22a9([0x75,0x73,0x65])]:_0x5b22a9([0x73,0x69,0x67]),[_0x5b22a9([0x63,0x72,0x76])]:_0x5b22a9([0x50,0x2d,0x32,0x35,0x36]),[_0x5b22a9([0x78])]:_0x5b22a9([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]),[_0x5b22a9([0x79])]:_0x5b22a9([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]),[_0x5b22a9([0x61,0x6c,0x67])]:_0x5b22a9([0x45,0x53,0x32,0x35,0x36])},_0x278d33=_0x1bc241[_0x5b22a9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b22a9([0x67,0x65,0x74])](_0x5b22a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f5223(){let _0x2be2f4,_0x129707=null,_0x27d970=null;try{if(_0x278d33==_0x5b22a9([0x47,0x50,0x4c]))return _0x5b22a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2be2f4=_0x258a82(),!_0x2be2f4)return _0x5b22a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2be2f4[_0x5b22a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27d970=_0x542c5b(_0x2be2f4[_0x5b22a9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2be2f4[_0x5b22a9([0x6a,0x74,0x69])])),await _0x2120cb()?_0x527d83()?_0x2a05a3()?_0x5b22a9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2841da()?(_0x2be2f4[_0x5b22a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b22a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x129707=_0x1d62c8(_0x5b22a9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2be2f4[_0x5b22a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b22a9([0x74,0x72,0x69,0x61,0x6c])&&(_0x129707=_0x1d62c8(_0x5b22a9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3db3f3()):_0x5b22a9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b22a9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b22a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b22a9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a05a3(){const _0x5a0e3c=[_0x5b22a9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b22a9([0x74,0x72,0x69,0x61,0x6c])][_0x5b22a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2be2f4[_0x5b22a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x270ebe/0x3e8:0xe10*_0x368b36;return _0x2be2f4[_0x5b22a9([0x65,0x78,0x70])]<_0x5a0e3c;}function _0x527d83(){const _0x275a26=_0x2be2f4[_0x5b22a9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x275a26&&(!!_0x275a26[_0x5b22a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b22a9([0x2a]))||!!_0x275a26[_0x5b22a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b22a9([0x50,0x41,0x47])));}function _0x2841da(){const _0x5a87fc=_0x2be2f4[_0x5b22a9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a87fc||0x0==_0x5a87fc[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x350eaf}=new URL(window[_0x5b22a9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5a87fc[_0x5b22a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350eaf))return!0x0;const _0x215868=_0x350eaf[_0x5b22a9([0x73,0x70,0x6c,0x69,0x74])](_0x5b22a9([0x2e]));return _0x5a87fc[_0x5b22a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ce0bd=>_0x5ce0bd[_0x5b22a9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b22a9([0x2a])))[_0x5b22a9([0x6d,0x61,0x70])](_0x4a2ef4=>_0x4a2ef4[_0x5b22a9([0x73,0x70,0x6c,0x69,0x74])](_0x5b22a9([0x2e])))[_0x5b22a9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f93e7=>_0x4f93e7[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x215868[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b22a9([0x6d,0x61,0x70])](_0x5ab731=>Array(_0x215868[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ab731[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b22a9([0x66,0x69,0x6c,0x6c])](_0x5ab731[0x0]===_0x5b22a9([0x2a])?_0x5b22a9([0x2a]):'')[_0x5b22a9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ab731))[_0x5b22a9([0x73,0x6f,0x6d,0x65])](_0xe64ca7=>_0x215868[_0x5b22a9([0x65,0x76,0x65,0x72,0x79])]((_0x53ef29,_0x34fab2)=>_0xe64ca7[_0x34fab2]===_0x53ef29||_0xe64ca7[_0x34fab2]===_0x5b22a9([0x2a])));}function _0x3db3f3(){return _0x129707&&_0x27d970?new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x596226,_0xacb502)=>{_0x129707[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x596226,_0xacb502),_0x27d970[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x38dfa8=>{_0x38dfa8!=_0x5b22a9([0x56,0x61,0x6c,0x69,0x64])&&_0x596226(_0x38dfa8);},_0xacb502);}):_0x129707||_0x27d970||_0x5b22a9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x542c5b(_0x215be2,_0x335c28){return new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b0b03=>{if(_0x5e4551())return _0x2b0b03(_0x5b22a9([0x56,0x61,0x6c,0x69,0x64]));_0x7a98b2(),_0x1bc241[_0x5b22a9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b22a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d742f=!0x1;const _0xe47a46=_0x1d46ae();function _0x16449f(_0x2b9b71){return!!_0x2b9b71&&(typeof _0x2b9b71===_0x5b22a9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b9b71===_0x5b22a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b9b71[_0x5b22a9([0x74,0x68,0x65,0x6e])]===_0x5b22a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b9b71[_0x5b22a9([0x63,0x61,0x74,0x63,0x68])]===_0x5b22a9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17c938(_0x5cccaf){_0x4b7ba8(_0x5cccaf)[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x831d=>{if(!_0x831d||_0x831d[_0x5b22a9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b22a9([0x6f,0x6b]))return _0x5b22a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38af73(_0x5611bb(_0xe47a46+_0x335c28))!=_0x831d[_0x5b22a9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b22a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b22a9([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x2c069e=>(_0x31bcbc(),_0x2c069e),()=>{const _0x1a7f17=_0x303f19();return null==_0x1a7f17?(_0x31bcbc(),_0x5b22a9([0x56,0x61,0x6c,0x69,0x64])):_0x5b22a9(_0x270ebe-_0x1a7f17>(0x11a94ca9^_0x15b466)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x2b0b03)[_0x5b22a9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b0b03(_0x5b22a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f2eb9=0x35932629^_0x15b466;function _0x31bcbc(){const _0x9792ff=_0x5b22a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x38af73(_0x5611bb(_0x215be2)),_0x485ae9=_0x4d4aee(_0x38af73(window[_0x5b22a9([0x4d,0x61,0x74,0x68])][_0x5b22a9([0x63,0x65,0x69,0x6c])](_0x270ebe/_0x4f2eb9)));window[_0x5b22a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b22a9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9792ff,_0x485ae9);}function _0x303f19(){const _0x5aff53=_0x5b22a9([0x6c,0x6c,0x63,0x74,0x2d])+_0x38af73(_0x5611bb(_0x215be2)),_0x12349c=window[_0x5b22a9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b22a9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5aff53);return _0x12349c?window[_0x5b22a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d4aee(_0x12349c),0x10)*_0x4f2eb9:null;}function _0x4b7ba8(_0x371745){return new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a44a5,_0xcfda22)=>{_0x371745[_0x5b22a9([0x74,0x68,0x65,0x6e])](_0x4a44a5,_0xcfda22),window[_0x5b22a9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xcfda22,0x35a41c69^_0x15b466);});}}_0x1bc241[_0x5b22a9([0x6f,0x6e])](_0x5b22a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cb8bc,_0x5b674e)=>{if(_0x5b674e[0x0]!=_0x215be2)return _0x2b0b03(_0x5b22a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b674e[0x1]={..._0x5b674e[0x1],[_0x5b22a9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe47a46};},{[_0x5b22a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b22a9([0x68,0x69,0x67,0x68])}),_0x1bc241[_0x5b22a9([0x6f,0x6e])](_0x5b22a9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3167e6=>{_0x16449f(_0x3167e6[_0x5b22a9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d742f=!0x0,_0x17c938(_0x3167e6[_0x5b22a9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b22a9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b22a9([0x6c,0x6f,0x77])}),_0x26b2ee[_0x5b22a9([0x74,0x68,0x65,0x6e])](()=>{_0x2d742f||_0x2b0b03(_0x5b22a9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e4551(){return _0x1bc241[_0x5b22a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b22a9([0x76,0x69,0x65,0x77])][_0x5b22a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b22a9([0x61,0x75,0x74,0x6f]);}function _0x7a98b2(){_0x1bc241[_0x5b22a9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b22a9([0x76,0x69,0x65,0x77])][_0x5b22a9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b22a9([0x61,0x75,0x74,0x6f]);}}function _0x1d62c8(_0xc2f38e){const _0x220d43=[new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189fec=>setTimeout(_0x189fec,0x35acf665^_0x15b466)),_0x26b2ee[_0x5b22a9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x511243=>{let _0x1e2f7e=0x0;_0x1bc241[_0x5b22a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b22a9([0x6f,0x6e])](_0x5b22a9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd9a874,_0x224482)=>{_0x224482[0x0][_0x5b22a9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e2f7e++,_0x1e2f7e==(0x35a5c951^_0x15b466)&&(_0x511243(),_0xd9a874[_0x5b22a9([0x6f,0x66,0x66])]());});}))];return window[_0x5b22a9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b22a9([0x72,0x61,0x63,0x65])](_0x220d43)[_0x5b22a9([0x74,0x68,0x65,0x6e])](()=>_0xc2f38e);}async function _0x5dee1c(){await _0x26b2ee,_0x1bc241[_0x5b22a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b22a9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c50ab,_0x1bc241[_0x5b22a9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b22a9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c50ab,_0x1bc241[_0x5b22a9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b22a9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3454d1(_0x1d99a2){const _0x472b40=_0x3b216c();_0x1bc241[_0x472b40]=_0x5b22a9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d99a2,_0x1d99a2!=_0x5b22a9([0x56,0x61,0x6c,0x69,0x64])&&_0x5dee1c();}function _0x3b216c(){const _0xb7be14=window[_0x5b22a9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b22a9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b22a9([0x6e,0x6f,0x77])]())[_0x5b22a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b22a9([0x2e]),'');let _0x31b412=_0x5b22a9([0x4f]);for(let _0x975916=0x0;_0x975916<_0xb7be14[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x975916+=0x2){let _0x2a1d89=window[_0x5b22a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb7be14[_0x5b22a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x975916,_0x975916+0x2));_0x2a1d89>=_0xcdf280[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a1d89-=_0xcdf280[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31b412+=_0xcdf280[_0x2a1d89];}return _0x31b412;}function _0x258a82(){const _0x1e59a1=_0x278d33[_0x5b22a9([0x73,0x70,0x6c,0x69,0x74])](_0x5b22a9([0x2e]));if(0x3!=_0x1e59a1[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c6373(_0x1e59a1[0x1]);function _0x2c6373(_0x4a924a){const _0x3561bb=_0x674778(_0x4a924a);return _0x3561bb&&_0x37fcb3()?_0x3561bb:null;function _0x37fcb3(){const _0x1be898=_0x3561bb[_0x5b22a9([0x6a,0x74,0x69])],_0x1c287a=window[_0x5b22a9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1be898[_0x5b22a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be898[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d457e={..._0x3561bb,[_0x5b22a9([0x6a,0x74,0x69])]:_0x1be898[_0x5b22a9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1be898[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d457e[_0x5b22a9([0x76,0x63])],_0x5611bb(_0x1d457e)==_0x1c287a;}}}async function _0x2120cb(){let _0xf3540a=!0x0;try{const _0x49e323=_0x278d33[_0x5b22a9([0x73,0x70,0x6c,0x69,0x74])](_0x5b22a9([0x2e])),[_0x48ee42,_0x464f06,_0x1a8efb]=_0x49e323;return _0xc2508a(_0x48ee42),await _0x1a103c(_0x48ee42,_0x464f06,_0x1a8efb),_0xf3540a;}catch{return!0x1;}function _0xc2508a(_0x26adaa){const _0x342013=_0x674778(_0x26adaa);_0x342013&&_0x342013[_0x5b22a9([0x61,0x6c,0x67])]==_0x5b22a9([0x45,0x53,0x32,0x35,0x36])||(_0xf3540a=!0x1);}async function _0x1a103c(_0x49931a,_0x38a10c,_0x59476c){const _0x485c64=window[_0x5b22a9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b22a9([0x66,0x72,0x6f,0x6d])](_0x93cbfe(_0x59476c),_0x151972=>_0x151972[_0x5b22a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x238ad2=new window[(_0x5b22a9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b22a9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49931a+_0x5b22a9([0x2e])+_0x38a10c),_0x1f0cdf=window[_0x5b22a9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b22a9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f0cdf)return;const _0x36ea89=await _0x1f0cdf[_0x5b22a9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b22a9([0x6a,0x77,0x6b]),_0x463e60,{[_0x5b22a9([0x6e,0x61,0x6d,0x65])]:_0x5b22a9([0x45,0x43,0x44,0x53,0x41]),[_0x5b22a9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b22a9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b22a9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f0cdf[_0x5b22a9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b22a9([0x6e,0x61,0x6d,0x65])]:_0x5b22a9([0x45,0x43,0x44,0x53,0x41]),[_0x5b22a9([0x68,0x61,0x73,0x68])]:{[_0x5b22a9([0x6e,0x61,0x6d,0x65])]:_0x5b22a9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36ea89,_0x485c64,_0x238ad2)||(_0xf3540a=!0x1);}}function _0x674778(_0x2e7177){return _0x2e7177[_0x5b22a9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b22a9([0x65,0x79]))?JSON[_0x5b22a9([0x70,0x61,0x72,0x73,0x65])](_0x93cbfe(_0x2e7177)):null;}function _0x93cbfe(_0x374429){return window[_0x5b22a9([0x61,0x74,0x6f,0x62])](_0x374429[_0x5b22a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b22a9([0x2b]))[_0x5b22a9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b22a9([0x2f])));}function _0x5611bb(_0x4d80ef){let _0x18f101=0x1505;function _0x57e538(_0x1a698a){for(let _0x453e28=0x0;_0x453e28<_0x1a698a[_0x5b22a9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x453e28++){const _0x228fd1=_0x1a698a[_0x5b22a9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x453e28);_0x18f101=(_0x18f101<<0x5)+_0x18f101+_0x228fd1,_0x18f101&=_0x18f101;}}function _0x55edcb(_0x1ccf2a){Array[_0x5b22a9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ccf2a)?_0x1ccf2a[_0x5b22a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55edcb):_0x1ccf2a&&typeof _0x1ccf2a==_0x5b22a9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b22a9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ccf2a)[_0x5b22a9([0x73,0x6f,0x72,0x74])]()[_0x5b22a9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4eecae,_0x562395])=>{_0x57e538(_0x4eecae),_0x55edcb(_0x562395);}):_0x57e538(window[_0x5b22a9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ccf2a));}return _0x55edcb(_0x4d80ef),_0x18f101>>>0x0;}function _0x38af73(_0x477892){return _0x477892[_0x5b22a9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b22a9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b22a9([0x30]));}function _0x4d4aee(_0x1e724d){return _0x1e724d[_0x5b22a9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b22a9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b22a9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c50ab(){}function _0x5b22a9(_0x1c4c4f){return _0x1c4c4f['map'](_0x5b97cc=>String['fromCharCode'](_0x5b97cc))['join']('');}_0x3454d1(await _0x5f5223());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2c4bb5=this['editor'],_0x4bed2a=_0x2c4bb5['editing']['view'],_0x291e06=this['_getAttachedDomRoot']();if(!_0x291e06||0x0===_0x291e06['childElementCount'])return void _0x2c4bb5['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0xb47f79,pageHeight:_0x1b461c}=_0x2c4bb5['config']['get']('pagination'),{top:_0x51ae46,left:_0x5c0f56,bottom:_0x59da54,right:_0x3f73b8}=this['_configuredPaddings'];this['_pagesContainer']=new _0x396317(_0x2c4bb5['locale']);const _0x58b73c=this['_pagesContainer'];_0x58b73c['set']('class',''),_0x58b73c['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0xb47f79,'width':_0xb47f79,'height':'calc(\x20'+_0x1b461c+'\x20-\x20'+_0x51ae46+'\x20-\x20'+_0x59da54+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x3f73b8+'\x200\x20'+_0x5c0f56,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x58b73c['bindTemplate']['to']('class')}}),_0x58b73c['render'](),_0x291e06['parentNode']['insertBefore'](_0x58b73c['element'],_0x291e06['nextSibling']),this['listenTo'](_0x4bed2a,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x412034 of this['editor']['editing']['view']['domRoots']['values']())if(_0x412034['ownerDocument']['body']['contains'](_0x412034))return _0x412034;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3358c9=this['editor']['editing']['view'],_0x2c252e=this['_pagesContainer'],_0x1cdfe2=this['_getAttachedDomRoot']();if(!_0x1cdfe2)return Promise['resolve']();for(_0x2c252e['class']=['ck-reset','ck-pagination-view',..._0x1cdfe2['classList']]['join']('\x20');_0x2c252e['element']['firstChild'];)_0x2c252e['element']['firstChild']['remove']();const _0x4754e1=Array['from'](_0x3358c9['domRoots']);_0x4754e1['sort'](([,_0x3c230f],[,_0x4b4f36])=>_0x3c230f['compareDocumentPosition'](_0x4b4f36)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x190afc,_0x1a6f5e]of _0x4754e1){const _0x15b20c=_0x1a6f5e['cloneNode'](!0x0);'attributeStyleMap'in _0x15b20c&&_0x15b20c['attributeStyleMap']['clear'](),_0x15b20c['className']='',_0x15b20c['removeAttribute']('id'),_0x15b20c['dataset']['rootName']=_0x190afc,_0x2c252e['element']['append'](_0x15b20c);}return function(_0x260d69){return Promise['all'](_0x260d69['map'](_0x5ea2d9=>Promise['race']([m(_0x5ea2d9),p(0x3e8)])));}(Array['from'](_0x2c252e['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x36c37c=this['_pagesContainer']['element'];if(!_0x36c37c['ownerDocument']['body']['contains'](_0x36c37c))return;const _0x363a07=new _0x20e693(_0x36c37c)['excludeScrollbarsAndBorders'](),_0x23a11d=_0x4b9a75['window']['getComputedStyle'](_0x36c37c),_0x5a6fcd=parseFloat(_0x23a11d['paddingLeft'])+parseFloat(_0x23a11d['paddingRight']),_0x488863=Math['floor'](_0x363a07['width']+0x64-_0x5a6fcd),_0x12e096=b(_0x36c37c,Math['floor'](_0x363a07['left']-_0x36c37c['scrollLeft']),_0x488863,_0x363a07['height'])['map'](_0x16644f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x16644f));_0x12e096['every'](_0x2cf734=>!!_0x2cf734)&&(this['pageBreaks']=_0x12e096);}['_mapPageStarterInfoToPageBreakInfo'](_0xbbdd78){const _0x1e199f=this['editor']['editing']['view'],_0x29da34=this['editor']['editing']['mapper'],_0x4de032=_0x1e199f['domConverter'],_0x3f6a4f=_0xbbdd78['path']['shift'](),_0x4a6308=this['_pagesContainer']['element']['childNodes'][_0x3f6a4f]['dataset']['rootName'],_0x46cc53=_0x1e199f['getDomRoot'](_0x4a6308);if(!_0x46cc53)return null;const _0x17a160=function(_0x532704,_0x3d5b67){let _0x2ef976=_0x532704;for(const _0x387a87 of _0x3d5b67['path']){if(!_0x2ef976)return null;_0x2ef976=_0x2ef976['childNodes'][_0x387a87];}return _0x2ef976;}(_0x46cc53,_0xbbdd78);if(!_0x17a160)return null;const _0x4dcac2=_0x4de032['domPositionToView'](_0x17a160,_0xbbdd78['textOffset']||0x0);return _0x4dcac2?'manual'==_0xbbdd78['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4dcac2,_0x17a160):'text'==_0xbbdd78['type']&&_0x29da34['toModelPosition'](_0x4dcac2)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4dcac2,_0x17a160,_0xbbdd78['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4dcac2,_0x17a160,_0xbbdd78['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3fefc5,_0x3285a9){const _0x2f0334=this['editor']['model'],_0x5ea73f=this['editor']['editing']['mapper']['toModelElement'](_0x3fefc5['parent']),_0x249a32=_0x2f0334['createRangeOn'](_0x5ea73f);return new K({'type':'manual','modelRange':_0x249a32,'domNode':_0x3285a9,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x5a9bf6,_0x534aa1,_0x43af74){const _0x573768=this['editor']['model'],_0x2d33d6=this['editor']['editing']['mapper'],_0x350d5c=this['editor']['editing']['view']['domConverter'];if(_0x43af74>=_0x534aa1['length'])return null;const _0x2e5620=_0x2d33d6['toModelPosition'](_0x5a9bf6),_0x87e632=_0x573768['createRange'](_0x2e5620),_0x11c4fd=_0x2d33d6['findMappedViewAncestor'](_0x5a9bf6),_0x2e5ab8=_0x350d5c['mapViewToDom'](_0x11c4fd);return new K({'type':'text','modelRange':_0x87e632,'domNode':_0x534aa1,'offset':w(_0x534aa1,_0x43af74,_0x2e5ab8)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x1ac8fb,_0x5be79e,_0x414ce9){const _0x3093d3=this['editor']['model'],_0x5f0ac2=this['editor']['editing'],_0x1ef2ef=_0x5f0ac2['mapper'],_0x235e26=_0x5f0ac2['view']['domConverter'],_0x5b752c=_0x1ef2ef['findMappedViewAncestor'](_0x1ac8fb),_0x5eb24b=_0x1ef2ef['toModelElement'](_0x5b752c),_0x18ef92=function(_0x3ea814){const _0x2e03a6=_0x3ea814['parent'],_0x510730=_0x2e03a6['root']['document']['model'],_0x3482fc=_0x2e03a6['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xb5babd=null;for(const _0x48bf56 of _0x3482fc){if(_0x48bf56['is']('rootElement'))return _0xb5babd;if(!_0x510730['createPositionBefore'](_0x48bf56)['isTouching'](_0x3ea814))return _0xb5babd;_0xb5babd=_0x48bf56;}}(_0x3093d3['createPositionBefore'](_0x5eb24b)),_0x804673=_0x18ef92||_0x5eb24b;let _0x259dd8=_0x1ef2ef['toViewElement'](_0x804673),_0x4671aa=_0x3093d3['createRangeOn'](_0x804673);const _0x1af441=_0x3093d3['createPositionBefore'](_0x804673)['nodeBefore'];if(_0x1af441&&_0x1af441['is']('element','imageBlock')){const _0x82d853=_0x1ef2ef['toViewElement'](_0x1af441),_0x4311f0=_0x235e26['mapViewToDom'](_0x82d853),_0x12df48=_0x4b9a75['window']['getComputedStyle'](_0x4311f0)['float'];'left'!=_0x12df48&&'right'!=_0x12df48||(_0x4671aa=_0x3093d3['createRangeOn'](_0x1af441));}for(;_0x259dd8['parent']!==_0x259dd8['root']&&0x0===_0x259dd8['index'];)_0x259dd8=_0x259dd8['parent'];const _0x132b4c=new _0x20e693(N(_0x5be79e)?_0x5be79e:y(_0x5be79e)),_0x5d158a=_0x414ce9?_0x132b4c['height']-_0x414ce9:0x0,_0x5afa94=_0x235e26['mapViewToDom'](_0x259dd8),_0x2fac8f=new _0x20e693(_0x5afa94);return new K({'type':'element','modelRange':_0x4671aa,'domNode':_0x5afa94,'offset':Math['round'](_0x5d158a)?_0x5d158a+_0x132b4c['top']-_0x2fac8f['top']:0x0});}get['_configuredPaddings'](){const _0x40f782=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x40f782);}static['_findPageStarterInfos'](_0xa04091,_0x1052a8,_0x8ab316,_0x5c17d7,_0xcb6965){return b(_0xa04091,_0x1052a8,_0x8ab316,_0x5c17d7,_0xcb6965);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x22d21d,modelRange:_0x41cd16,domNode:_0x540a2b,offset:_0x5465ae}){this['type']=_0x22d21d,this['modelRange']=_0x41cd16,this['_domNode']=_0x540a2b,this['_offset']=_0x5465ae;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x490a4c=new _0x20e693(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x490a4c['top']+_0x490a4c['height']/0x2:_0x490a4c['top']+this['_offset'];}}function w(_0x3db436,_0x5a5f6f,_0x30b4a7){const _0xe4bd52=y(_0x3db436),_0x50c58c=function(_0x50ce54){const _0x2c2f8b=_0x4b9a75['document']['createRange']();return _0x2c2f8b['selectNodeContents'](_0x50ce54),_0x2c2f8b;}(_0x30b4a7);let _0x256fa1;_0x256fa1=0x0==_0x5a5f6f?k(_0x50c58c['startContainer'],_0x50c58c['startOffset'],_0x3db436['parentNode'],Array['from'](_0x3db436['parentNode']['childNodes'])['indexOf'](_0x3db436)):k(_0x50c58c['startContainer'],_0x50c58c['startOffset'],_0x3db436,_0x5a5f6f);const _0x1988d3=k(_0x3db436,_0x5a5f6f,_0x50c58c['endContainer'],_0x50c58c['endOffset']),_0x11d316=new _0x20e693(_0x256fa1)['bottom'];return(new _0x20e693(_0x1988d3)['top']+_0x11d316)/0x2-new _0x20e693(_0xe4bd52)['top'];}function m(_0x5855c7){return _0x5855c7['hasAttribute']('width')&&_0x5855c7['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3f1585=>{function _0x13c44c(){_0x5855c7['removeEventListener']('load',_0x13c44c),_0x5855c7['removeEventListener']('error',_0x13c44c),_0x3f1585();}_0x5855c7['complete']?_0x3f1585():(_0x5855c7['addEventListener']('load',_0x13c44c),_0x5855c7['addEventListener']('error',_0x13c44c));});}function p(_0xa1e738){return new Promise(_0x3951cf=>setTimeout(_0x3951cf,_0xa1e738));}function y(_0x789ce){const _0x7cac46=_0x4b9a75['document']['createRange']();return _0x7cac46['selectNode'](_0x789ce),_0x7cac46;}function P(_0x58f26d,_0x3ff33c,_0x3b2fa6){const _0xf7b7e5=_0x4b9a75['document']['createRange']();return _0xf7b7e5['setStart'](_0x58f26d,_0x3ff33c),_0xf7b7e5['setEnd'](_0x58f26d,_0x3b2fa6),_0xf7b7e5;}function k(_0x3a7780,_0xf5b4cd,_0x12b27e,_0x2cabac){const _0x4467f6=_0x4b9a75['document']['createRange']();return _0x4467f6['setStart'](_0x3a7780,_0xf5b4cd),_0x4467f6['setEnd'](_0x12b27e,_0x2cabac),_0x4467f6;}function b(_0x385e31,_0x1a6db9,_0x4ecf4a,_0x43370c,_0x5d884d){const _0x2616b1=[];for(const [_0x34d542,_0x56b0fb]of _0x385e31['childNodes']['entries']()){let _0x4d5c4d=[];N(_0x56b0fb)&&_0x56b0fb['offsetParent']&&!_0x56b0fb['style']['position']?_0x4d5c4d=x(_0x56b0fb,_0x34d542,_0x1a6db9,_0x4ecf4a,_0x43370c,_0x5d884d):S(_0x56b0fb)&&(_0x4d5c4d=_(_0x56b0fb,_0x34d542,_0x1a6db9,_0x4ecf4a,_0x5d884d)),_0x4d5c4d['length']&&(_0x2616b1['push'](..._0x4d5c4d),_0x1a6db9+=_0x4d5c4d['length']*_0x4ecf4a,_0x5d884d=!0x1);}return _0x2616b1;}function x(_0x4c2dfc,_0x5f47fe,_0x4eaf5e,_0x876d1f,_0x43b81c,_0x3988a0){const _0x41bf56=[];var _0x31792c;if((_0x31792c=_0x4c2dfc['previousSibling'])&&N(_0x31792c)&&Boolean(_0x31792c['classList']['contains']('page-break')||_0x31792c['closest']('.page-break'))&&(_0x41bf56['push']({'type':'manual','offset':0x0,'path':[_0x5f47fe-0x1]}),_0x3988a0=!0x0),'table-row'==_0x4b9a75['window']['getComputedStyle'](_0x4c2dfc)['display']){let _0x17dc9e=0x0,_0x34d9a1=!0x1;for(const _0x7b488a of _0x4c2dfc['getClientRects']())_0x17dc9e+=_0x7b488a['height'],_0x7b488a['left']>=_0x4eaf5e&&(_0x34d9a1=!0x0);if(_0x17dc9e<_0x43b81c&&_0x34d9a1)return _0x41bf56['push']({'type':'element','offset':0x0,'path':[_0x5f47fe]}),_0x41bf56;}const _0x1adad1=_0x4c2dfc['closest']('figure.image');if(_0x1adad1&&function(_0x42a8e8){let _0x1143bc=!0x1;const _0x28c33d=_0x42a8e8['parentElement'],_0xc4b60b=_0x28c33d['dataset']['rootName'],_0x2248f2=_0x42a8e8['nextElementSibling'],_0x24de5a=_0x42a8e8['previousElementSibling'],_0x2f31f0=_0x2248f2&&_0x4b9a75['window']['getComputedStyle'](_0x2248f2)['float'],_0x54ef30=_0x2248f2&&'ck-fake-selection-container'===_0x2248f2['className'];!_0xc4b60b||_0x2248f2||_0x24de5a||(_0x1143bc=!0x0),_0xc4b60b&&!_0x24de5a&&_0x54ef30&&(_0x1143bc=!0x0),_0xc4b60b&&!_0x24de5a&&'none'!==_0x2f31f0&&(_0x1143bc=!0x0);if(_0x1143bc)return!0x1;return!0x0;}(_0x1adad1)){const _0x2afd43=_0x4b9a75['window']['getComputedStyle'](_0x1adad1)['float'];if('left'==_0x2afd43||'right'==_0x2afd43)return _0x41bf56;}const _0x1262f1=b(_0x4c2dfc,_0x4eaf5e,_0x876d1f,_0x43b81c,_0x3988a0);if(_0x1262f1['length']){for(const _0x7d00bd of _0x1262f1)_0x41bf56['push']({'type':_0x7d00bd['type'],'offset':_0x7d00bd['offset'],'textOffset':_0x7d00bd['textOffset'],'path':[_0x5f47fe,..._0x7d00bd['path']]}),_0x4eaf5e+=_0x876d1f,_0x3988a0=!0x1;return _0x41bf56;}return _0x41bf56['push'](...function(_0x3540fe,_0xa0b15c,_0x1cbe3c,_0x28c84d,_0x3830b9){const _0x3cd497=[];if('table-cell'==_0x4b9a75['window']['getComputedStyle'](_0x3540fe)['display'])return[];const _0x5958e0=[];for(const _0x1799c of _0x3540fe['getClientRects']())if(_0x1799c['left']>=_0x1cbe3c){for(const _0x1587b8 of _0x5958e0)_0x1587b8['height']+=_0x1799c['height'];_0x5958e0['push']({'height':_0x1799c['height']}),_0x1cbe3c+=_0x28c84d;}for(const _0x2732cf of _0x5958e0)_0x3830b9||_0x3cd497['push']({'type':'element','offset':_0x2732cf['height'],'textOffset':0x0,'path':[_0xa0b15c]}),_0x3830b9=!0x1;return _0x3cd497;}(_0x4c2dfc,_0x5f47fe,_0x4eaf5e,_0x876d1f,_0x3988a0)),_0x41bf56;}function _(_0x42186b,_0x47cb70,_0x13192c,_0x2ed7cb,_0x14b6eb){const _0x426060=y(_0x42186b),_0x122f62=[];let _0x855205=0x0;for(const _0x16360e of _0x426060['getClientRects']())if(_0x16360e['left']>=_0x13192c){const _0x2abb48=B(_0x42186b,_0x855205,_0x13192c,_0x2ed7cb);_0x14b6eb||_0x122f62['push']({'type':'text','path':[_0x47cb70],'textOffset':_0x2abb48}),_0x855205=_0x2abb48,_0x13192c+=_0x2ed7cb,_0x14b6eb=!0x1;}return _0x122f62;}function B(_0x552190,_0x19a19a,_0x3247e9,_0x2f7ceb){let _0xf2553a=_0x19a19a,_0x56b424=_0x552190['length'];for(;_0x56b424-_0xf2553a>0x1;){const _0x59eb68=Math['ceil']((_0xf2553a+_0x56b424)/0x2);I(P(_0x552190,_0xf2553a,_0x59eb68),_0x3247e9,_0x2f7ceb)?_0x56b424=_0x59eb68:_0xf2553a=_0x59eb68;}return _0xf2553a;}function I(_0x2250fe,_0xd17716,_0x5bc5f6){for(const _0x29caa4 of _0x2250fe['getClientRects']())if(_0x29caa4['left']>=_0xd17716&&_0x29caa4['left']<_0xd17716+_0x5bc5f6)return!0x0;return!0x1;}function N(_0x2d0ad9){return _0x2d0ad9['nodeType']==Node['ELEMENT_NODE'];}function S(_0xfc353d){return _0xfc353d['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
- _0x50b9e0('px');class C extends _0x396317{constructor(){super();const _0x30a376=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x30a376['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x30a376['if']('isVisible','ck-hidden',_0x4ca67a=>!_0x4ca67a)],'style':{'left':_0x30a376['to']('left',_0x155b92=>q(_0x155b92)),'top':_0x30a376['to']('top',_0x4813a1=>q(_0x4813a1)),'width':_0x30a376['to']('width',_0x16fdec=>q(_0x16fdec))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x477c0e){this['_viewCollection']=_0x477c0e['ui']['view']['body'];}['destroy'](){for(const _0x603a7e of this['_hiddenLines'])_0x603a7e['destroy']();}['cleanLines'](){for(const _0x33ef68 of this['_visibleLines'])_0x33ef68['isVisible']=!0x1,this['_hiddenLines']['add'](_0x33ef68);this['_visibleLines']['clear']();}['showLine'](_0x325290,_0xe3b81a,_0x222273,_0x53e045){let _0x1ee0e3;this['_hiddenLines']['size']?(_0x1ee0e3=_0x276959(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1ee0e3)):_0x1ee0e3=new C(),_0x1ee0e3['set']({'pageNumber':_0x53e045,'left':_0x325290,'top':_0xe3b81a,'width':_0x222273}),_0x1ee0e3['isVisible']=!0x0,this['_viewCollection']['has'](_0x1ee0e3)||this['_viewCollection']['add'](_0x1ee0e3),this['_visibleLines']['add'](_0x1ee0e3);}['setViewCollection'](_0x586a34){for(const _0x459df8 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x459df8)&&this['_viewCollection']['remove'](_0x459df8);this['_viewCollection']=_0x586a34;}}const E='ck-pagination_enabled';class n extends _0x5d1d6f{['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',(_0x20d709,_0x5e04a8,_0x115c23)=>{_0x115c23||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x115c23);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x2a7ddf){if(!this['isEnabled'])return;const _0xc2a67=_0x2a7ddf>0x1?this['_getPageBreakLineOffset'](_0x2a7ddf-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xc2a67-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x230169['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x599cb1=this['editor'],_0x4487ea=this['_getAttachedDomRoot']();_0x4487ea?(this['_scrollableEditingRootDomAncestor']&&_0x599cb1['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5443dd){let _0x224ffd=_0x5443dd;do{_0x224ffd=_0x224ffd['parentElement'];const _0x3c0e08=_0x4b9a75['window']['getComputedStyle'](_0x224ffd)['overflowY'];if('auto'==_0x3c0e08||'scroll'==_0x3c0e08)break;}while('BODY'!=_0x224ffd['tagName']);return _0x224ffd;}(_0x4487ea),_0x599cb1['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x272448(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x599cb1['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x8d2a9b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x8d2a9b['ui']['view']['listenTo'](_0x4b9a75['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x8d2a9b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3cb360 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3cb360['ownerDocument']['body']['contains'](_0x3cb360))return _0x3cb360;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5d6e94=this['_getAttachedDomRoot'](),_0x5cd076=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d6e94||0x1==_0x5cd076['length'])return void(this['pageNumber']=0x1);const _0x52b63d=new _0x20e693(_0x5d6e94)['excludeScrollbarsAndBorders'](),_0x20f3c5=new _0x20e693(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x557b8c=_0x20f3c5['top']+_0x20f3c5['height']/0x3;let _0x4e327e=!0x1;const _0x5ac528=[];for(let _0x42d514=0x1;_0x42d514<_0x5cd076['length'];_0x42d514++){const _0x457bca=this['_getPageBreakLineOffset'](_0x42d514,_0x20f3c5);if(!_0x457bca)continue;const _0x1e53dc=_0x20f3c5['top']+_0x457bca-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5ac528['push']({'pageOffsetTop':_0x1e53dc,'domRootRect':_0x52b63d,'domScrollableRect':_0x20f3c5,'pageNumber':_0x42d514}),_0x1e53dc>_0x557b8c&&!_0x4e327e&&(this['pageNumber']=_0x42d514,_0x4e327e=!0x0);}this['_renderPageBreakLines'](_0x5ac528),_0x4e327e||(this['pageNumber']=_0x5cd076['length']);}['_renderPageBreakLines'](_0x4b1173){const {scrollX:_0x3bcca9,scrollY:_0x47e9a7}=_0x4b9a75['window'];if(_0x4b1173['length']){for(const {domScrollableRect:_0x19484e,pageOffsetTop:_0xe9db17,domRootRect:_0x2888ca,pageNumber:_0x5cbf1f}of _0x4b1173)_0x19484e['top']<_0xe9db17&&_0xe9db17<_0x19484e['bottom']&&this['linesRepository']['showLine'](_0x2888ca['left']+_0x3bcca9,_0xe9db17+_0x47e9a7,_0x2888ca['width'],_0x5cbf1f+0x1);}}['_getPageBreakLineOffset'](_0x56028a,_0x1bc89c=null){const _0x420c5d=this['_paginationLookupPlugin']['pageBreaks'][_0x56028a]['offset'];return _0x420c5d?(_0x1bc89c||(_0x1bc89c=new _0x20e693(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x420c5d-_0x1bc89c['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x599a32,_0x50f0aa=!0x0){const _0x159c4d=this['editor']['editing']['view'];_0x159c4d['change'](_0x47b5a8=>{for(const _0x46fb62 of _0x159c4d['document']['roots'])_0x50f0aa?_0x47b5a8['addClass'](_0x599a32,_0x46fb62):_0x47b5a8['removeClass'](_0x599a32,_0x46fb62);});}}function g(_0x150bf6,_0x12f715,..._0x15d326){const t=_0x150bf6['t'];switch(_0x12f715){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)',..._0x15d326);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 _0x12f715;}}class s extends _0x5d1d6f{['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 _0x619aff=this['editor']['plugins']['get']('Pagination'),_0x51e77b=this['editor']['plugins']['get'](a),_0xf2355f=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x619aff),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xf2355f),this['listenTo'](_0x51e77b,'change:pageBreaks',(_0x207375,_0x4ae1f2,_0x36aada,_0x279b80)=>{this['totalPages']=_0x36aada['length'],this['_updatePageBreakMarkers'](_0x36aada,_0x279b80);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56a7bc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23a184;for(const _0x13d833 in _0x56a7bc){const _0x4c546a=_0x13d833,_0x2c33b8=_0x56a7bc[_0x4c546a];if('paginationLicenseKeyValid'==_0x2c33b8||'paginationLicenseKeyInvalid'==_0x2c33b8||'paginationLicenseKeyExpired'==_0x2c33b8||'paginationLicenseKeyDomainLimit'==_0x2c33b8||'paginationLicenseKeyNotAllowed'==_0x2c33b8||'paginationLicenseKeyEvaluationLimit'==_0x2c33b8||'paginationLicenseKeyTrialLimit'==_0x2c33b8||'paginationLicenseKeyUsageLimit'==_0x2c33b8){delete _0x56a7bc[_0x4c546a],_0x23a184=_0x2c33b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x23a184&&_0x56a7bc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x23a184&&_0x56a7bc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x23a184&&_0x56a7bc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x23a184&&_0x56a7bc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x23a184&&_0x56a7bc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x23a184&&_0x56a7bc['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x23a184&&_0x56a7bc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x23992d){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x23992d));}['moveSelectionToPage'](_0x28cd16){if(!this['isEnabled'])return;const _0x2b86eb=this['editor'],_0x295a17=this['editor']['plugins']['get'](a)['pageBreaks'][_0x28cd16-0x1];_0x295a17&&_0x2b86eb['model']['change'](_0x1d1b6c=>{switch(_0x295a17['type']){case'manual':{const _0x3020f6=_0x2b86eb['model']['schema']['getNearestSelectionRange'](_0x295a17['modelRange']['end'],'forward');_0x1d1b6c['setSelection'](_0x3020f6);break;}case'element':{const _0x29531f=_0x2b86eb['model']['schema']['getNearestSelectionRange'](_0x295a17['modelRange']['start'],'forward');_0x1d1b6c['setSelection'](_0x29531f);break;}case'text':{const _0x56733c=_0x295a17['modelRange']['start'];if(_0x56733c['textNode']&&'\x20'===_0x56733c['textNode']['data'][_0x56733c['offset']]){const _0xd6bce5=_0x1d1b6c['createPositionAt'](_0x56733c['parent'],_0x56733c['offset']+0x1);_0x1d1b6c['setSelection'](_0xd6bce5);}else _0x1d1b6c['setSelection'](_0x295a17['modelRange']);}}_0x2b86eb['editing']['view']['focus']();});}['goToNextPage'](){const _0x4c914f=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4c914f),this['scrollToPage'](_0x4c914f);}['goToPreviousPage'](){const _0x5ecd81=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5ecd81),this['scrollToPage'](_0x5ecd81);}['_updatePageBreakMarkers'](_0x1a234b,_0x517e6d){const _0xd24713=this['editor']['model'];this['isEnabled']&&_0xd24713['change'](_0x2c686b=>{for(let _0x5e2075=0x1;_0x5e2075<_0x1a234b['length'];_0x5e2075++){const _0x190ec3=_0x1a234b[_0x5e2075]['modelRange'],_0x118eb8='pagination:'+(_0x5e2075+0x1);_0xd24713['markers']['has'](_0x118eb8)?_0x2c686b['updateMarker'](_0x118eb8,{'range':_0x190ec3}):_0x2c686b['addMarker'](_0x118eb8,{'range':_0x190ec3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x49438e=_0x1a234b['length'];_0x49438e<_0x517e6d['length'];_0x49438e++){const _0x3fb6f3='pagination:'+(_0x49438e+0x1);_0xd24713['markers']['has'](_0x3fb6f3)&&_0x2c686b['removeMarker'](_0x3fb6f3);}});}['_setUpDataDowncastConversion'](){const _0x259b61='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x45f88f=>{_0x45f88f['on']('addMarker:'+_0x259b61,(_0x21dc6d,{markerRange:_0x49d932,markerName:_0x2ee40d},_0x3e65f2)=>{if(!_0x3e65f2['options']['pagination'])return;if(!_0x3e65f2['consumable']['consume'](_0x49d932,_0x21dc6d['name']))return;const _0x4f95d8=_0x49d932['getContainedElement']();let _0x56ad4e=_0x4f95d8?_0x3e65f2['mapper']['toViewElement'](_0x4f95d8):null;if(!_0x56ad4e){const _0x52e06f=_0x49d932['start'];if(_0x3e65f2['schema']['checkChild'](_0x52e06f,'$text')){const _0x2aae3a=_0x3e65f2['mapper']['toViewPosition'](_0x52e06f);_0x56ad4e=_0x3e65f2['writer']['createContainerElement']('span'),_0x56ad4e['getFillerOffset']=()=>null,_0x3e65f2['writer']['insert'](_0x2aae3a,_0x56ad4e);}else{const _0x172622=_0x52e06f['nodeAfter'];_0x56ad4e=_0x3e65f2['mapper']['toViewElement'](_0x172622);}}for(;_0x56ad4e['parent']!==_0x56ad4e['root']&&0x0===_0x56ad4e['index'];)_0x56ad4e=_0x56ad4e['parent'];const _0x5286d5=_0x2ee40d['substring'](0xb);_0x56ad4e['hasClass']('page-break')||(_0x3e65f2['writer']['setStyle']('page-break-before','always',_0x56ad4e),_0x3e65f2['writer']['setAttribute']('data-pagination-page',_0x5286d5,_0x56ad4e),_0x3e65f2['mapper']['bindElementToMarker'](_0x56ad4e,_0x2ee40d)),_0x21dc6d['stop']();});});}['_setupKeystrokes'](){const _0x6a3e20=this['editor'];_0x6a3e20['keystrokes']['set']('Shift+Pageup',(_0x179d4b,_0x1687a4)=>{this['goToPreviousPage'](),_0x1687a4();}),_0x6a3e20['keystrokes']['set']('Shift+Pagedown',(_0x76a4b8,_0x43bb38)=>{this['goToNextPage'](),_0x43bb38();}),_0x6a3e20['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x6a3e20['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x6a3e20['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x6a3e20['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x34bacc){return _0x34bacc<0x1&&(_0x34bacc=0x1),_0x34bacc>this['totalPages']&&(_0x34bacc=this['totalPages']),_0x34bacc;}}class G extends _0x396317{['pageNumberView'];constructor(_0x56db2e){super(_0x56db2e);const _0x25de53=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x108f61(_0x56db2e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x427e1f=>g(_0x56db2e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x427e1f)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3f91fb=>!_0x3f91fb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x25de53['if']('isEnabled','ck-disabled',_0xe945ae=>!_0xe945ae)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x25de53['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2902f6=this['pageNumberView']['element'],_0x5410f6=_0x1fa1be=>{this['pageNumberView']['element']['value']=String(_0x1fa1be);};_0x5410f6(this['pageNumber']),this['on']('change:pageNumber',(_0x5f4795,_0x393ef7,_0x4a41d7)=>{_0x5410f6(_0x4a41d7);}),this['listenTo'](_0x2902f6,'keydown',(_0x48841e,_0x3293a6)=>{if('ArrowUp'===_0x3293a6['key']||'ArrowDown'===_0x3293a6['key'])return void _0x3293a6['stopPropagation']();if(_0x3293a6['keyCode']!==_0x378da6['enter'])return;_0x3293a6['preventDefault']();const _0x16191e=_0x2902f6['valueAsNumber'];Number['isNaN'](_0x16191e)?_0x2902f6['value']=String(this['pageNumber']):(_0x2902f6['checkValidity']()?this['pageNumber']=_0x16191e:_0x16191e>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2902f6['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2902f6['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2902f6,'blur',()=>{_0x2902f6['value']=String(this['pageNumber']);}),this['listenTo'](_0x2902f6,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x5d1d6f{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x89a4b5=this['editor'],_0x9f7b8b=_0x89a4b5['plugins']['get']('PaginationEditing');_0x89a4b5['ui']['componentFactory']['add']('pageNavigation',_0x276aca=>{const _0x2df78d=new G(_0x276aca);return _0x2df78d['bind']('pageNumber')['to'](_0x9f7b8b),_0x2df78d['bind']('totalPages')['to'](_0x9f7b8b),_0x2df78d['bind']('isEnabled')['to'](_0x9f7b8b),_0x2df78d['on']('navigation',(_0x48c95d,_0x2d9f6c)=>{_0x9f7b8b['moveSelectionToPage'](_0x2d9f6c),_0x9f7b8b['scrollToPage'](_0x2d9f6c);}),_0x2df78d;}),_0x89a4b5['ui']['componentFactory']['add']('nextPage',_0x51ed2c=>{const _0x417058=new _0x15335d(_0x51ed2c);return _0x417058['isEnabled']=!0x0,_0x417058['label']=g(_0x89a4b5['locale'],'Go\x20to\x20next\x20page'),_0x417058['icon']=_0x7a7540,_0x417058['tooltip']=!0x0,_0x417058['keystroke']='Shift+PageDown',_0x417058['bind']('isEnabled')['to'](_0x9f7b8b),this['listenTo'](_0x417058,'execute',()=>{_0x9f7b8b['goToNextPage']();}),_0x417058;}),_0x89a4b5['ui']['componentFactory']['add']('previousPage',_0x6f06c4=>{const _0x39ba6f=new _0x15335d(_0x6f06c4);return _0x39ba6f['isEnabled']=!0x0,_0x39ba6f['label']=g(_0x89a4b5['locale'],'Go\x20to\x20previous\x20page'),_0x39ba6f['icon']=_0x1ae251,_0x39ba6f['tooltip']=!0x0,_0x39ba6f['keystroke']='Shift+PageUp',_0x39ba6f['bind']('isEnabled')['to'](_0x9f7b8b),this['listenTo'](_0x39ba6f,'execute',()=>{_0x9f7b8b['goToPreviousPage']();}),_0x39ba6f;});}}class T extends _0x5d1d6f{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0xedb294){super(_0xedb294),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3f1468=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x3f1468),this['bind']('totalPages')['to'](_0x3f1468),_0x230169['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4e049f){this['editor']['plugins']['get'](s)['scrollToPage'](_0x4e049f);}}export{T as Pagination,n as PaginationRenderer};
23
+ import{Plugin as _0x52abb0}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x5f2405,InputNumberView as _0x93f468,ButtonView as _0xf5a667}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x534891,Rect as _0x16966e,global as _0x2fd9a5,uid as _0x55c3b7,toUnit as _0x3fec48,first as _0x4d9cf3,env as _0x433bfe,ResizeObserver as _0x564e9a,keyCodes as _0x4a7b56}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x36c645}from'es-toolkit/compat';import{IconArrowDown as _0x5cd26a,IconArrowUp as _0x25abfd}from'@ckeditor/ckeditor5-icons/dist/index.js';class a extends _0x52abb0{['_recalculatePageBreaksDebounced']=_0x36c645(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x534891('pagination-config-not-found',this['editor']['config']);const _0x5b9d93=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5b9d93),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xe934e1,_0x1b4cd4,_0x46ef5a)=>{_0x46ef5a&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xd1721f){const _0x3f2426=_0x1e2680([0x64,0x6a,0x42,0x72,0x4a,0x4c,0x65,0x50,0x33,0x44,0x6b,0x43,0x75,0x59,0x77,0x71,0x68,0x47,0x4d,0x78,0x49,0x41,0x7a,0x5a,0x36,0x54,0x53,0x45,0x6c,0x62,0x34,0x39,0x57,0x6e,0x31,0x4f,0x79,0x48,0x55,0x67,0x46,0x66,0x6f,0x69,0x73,0x70,0x37,0x56,0x61,0x35,0x30,0x76,0x38,0x74,0x52,0x6d,0x4b,0x4e,0x58,0x32,0x63,0x51]),_0x158a0b=0x4ce272b3,_0x388f31=0x4ce51fa3^_0x158a0b,_0x46c107=window[_0x1e2680([0x44,0x61,0x74,0x65])][_0x1e2680([0x6e,0x6f,0x77])](),_0x55b3fa=_0xd1721f[_0x1e2680([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bdc73=new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34b164=>{_0x55b3fa[_0x1e2680([0x6f,0x6e,0x63,0x65])](_0x1e2680([0x72,0x65,0x61,0x64,0x79]),_0x34b164);}),_0x5c8529={[_0x1e2680([0x6b,0x74,0x79])]:_0x1e2680([0x45,0x43]),[_0x1e2680([0x75,0x73,0x65])]:_0x1e2680([0x73,0x69,0x67]),[_0x1e2680([0x63,0x72,0x76])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36]),[_0x1e2680([0x78])]:_0x1e2680([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1e2680([0x79])]:_0x1e2680([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1e2680([0x61,0x6c,0x67])]:_0x1e2680([0x45,0x53,0x32,0x35,0x36])},_0x50382e=_0x55b3fa[_0x1e2680([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e2680([0x67,0x65,0x74])](_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x199cc9(){let _0x44fb30,_0xbb371c=null,_0x2b509f=null;try{if(_0x50382e==_0x1e2680([0x47,0x50,0x4c]))return _0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44fb30=_0xfe4a16(),!_0x44fb30)return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b509f=_0x215ce8(_0x44fb30[_0x1e2680([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44fb30[_0x1e2680([0x6a,0x74,0x69])])),await _0x571e1a()?_0xc160c6()?_0x27fc90()?_0x1e2680([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5011db()?(_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbb371c=_0x561feb(_0x1e2680([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e2680([0x74,0x72,0x69,0x61,0x6c])&&(_0xbb371c=_0x561feb(_0x1e2680([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45acb8()):_0x1e2680([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e2680([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27fc90(){const _0x1abcfd=[_0x1e2680([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e2680([0x74,0x72,0x69,0x61,0x6c])][_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46c107/0x3e8:0xe10*_0x388f31;return _0x44fb30[_0x1e2680([0x65,0x78,0x70])]<_0x1abcfd;}function _0xc160c6(){const _0x5248fe=_0x44fb30[_0x1e2680([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5248fe&&(!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a]))||!!_0x5248fe[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x50,0x41,0x47])));}function _0x5011db(){const _0x35341b=_0x44fb30[_0x1e2680([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35341b||0x0==_0x35341b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x318bab}=new URL(window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35341b[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318bab))return!0x0;const _0x431e32=_0x318bab[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));return _0x35341b[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508f57=>_0x508f57[_0x1e2680([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2680([0x2a])))[_0x1e2680([0x6d,0x61,0x70])](_0x16cd26=>_0x16cd26[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])))[_0x1e2680([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x247ccd=>_0x247ccd[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x6d,0x61,0x70])](_0x5769b4=>Array(_0x431e32[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5769b4[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e2680([0x66,0x69,0x6c,0x6c])](_0x5769b4[0x0]===_0x1e2680([0x2a])?_0x1e2680([0x2a]):'')[_0x1e2680([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5769b4))[_0x1e2680([0x73,0x6f,0x6d,0x65])](_0x482c07=>_0x431e32[_0x1e2680([0x65,0x76,0x65,0x72,0x79])]((_0x3be8c5,_0x2acf9f)=>_0x482c07[_0x2acf9f]===_0x3be8c5||_0x482c07[_0x2acf9f]===_0x1e2680([0x2a])));}function _0x45acb8(){return _0xbb371c&&_0x2b509f?new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45e649,_0x23133f)=>{_0xbb371c[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x45e649,_0x23133f),_0x2b509f[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x44bce0=>{_0x44bce0!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x45e649(_0x44bce0);},_0x23133f);}):_0xbb371c||_0x2b509f||_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);}}function _0x215ce8(_0x5c0045,_0x1ce821){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db817=>{if(_0x2bdb33())return _0x5db817(_0x1e2680([0x56,0x61,0x6c,0x69,0x64]));_0x559d79(),_0x55b3fa[_0x1e2680([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18c302=!0x1;const _0x16532b=_0x55c3b7();function _0x496515(_0x732673){return!!_0x732673&&(typeof _0x732673===_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x732673===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x732673[_0x1e2680([0x74,0x68,0x65,0x6e])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x732673[_0x1e2680([0x63,0x61,0x74,0x63,0x68])]===_0x1e2680([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44c920(_0x48443d){_0x31f2c7(_0x48443d)[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x579244=>{if(!_0x579244||_0x579244[_0x1e2680([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e2680([0x6f,0x6b]))return _0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11237(_0x53e00a(_0x16532b+_0x1ce821))!=_0x579244[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e2680([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5cccb4=>(_0x22ba93(),_0x5cccb4),()=>{const _0x502e2b=_0x50ef81();return null==_0x502e2b?(_0x22ba93(),_0x1e2680([0x56,0x61,0x6c,0x69,0x64])):_0x1e2680(_0x46c107-_0x502e2b>(0x68eef6b3^_0x158a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x5db817)[_0x1e2680([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ecd26=0x4cd49c33^_0x158a0b;function _0x22ba93(){const _0x3beca7=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x42b30c=_0x4c2780(_0x11237(window[_0x1e2680([0x4d,0x61,0x74,0x68])][_0x1e2680([0x63,0x65,0x69,0x6c])](_0x46c107/_0x5ecd26)));window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3beca7,_0x42b30c);}function _0x50ef81(){const _0x5bc08d=_0x1e2680([0x6c,0x6c,0x63,0x74,0x2d])+_0x11237(_0x53e00a(_0x5c0045)),_0x17d34d=window[_0x1e2680([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e2680([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bc08d);return _0x17d34d?window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c2780(_0x17d34d),0x10)*_0x5ecd26:null;}function _0x31f2c7(_0x4b2043){return new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3023d4,_0x5701c2)=>{_0x4b2043[_0x1e2680([0x74,0x68,0x65,0x6e])](_0x3023d4,_0x5701c2),window[_0x1e2680([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5701c2,0x4ce3a673^_0x158a0b);});}}_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d693d,_0x2b61e0)=>{if(_0x2b61e0[0x0]!=_0x5c0045)return _0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b61e0[0x1]={..._0x2b61e0[0x1],[_0x1e2680([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16532b};},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x68,0x69,0x67,0x68])}),_0x55b3fa[_0x1e2680([0x6f,0x6e])](_0x1e2680([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x332e4f=>{_0x496515(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18c302=!0x0,_0x44c920(_0x332e4f[_0x1e2680([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e2680([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e2680([0x6c,0x6f,0x77])}),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>{_0x18c302||_0x5db817(_0x1e2680([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bdb33(){return _0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e2680([0x61,0x75,0x74,0x6f]);}function _0x559d79(){_0x55b3fa[_0x1e2680([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e2680([0x76,0x69,0x65,0x77])][_0x1e2680([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e2680([0x61,0x75,0x74,0x6f]);}}function _0x561feb(_0x2bbb2e){const _0x4ccedf=[new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3ae9=>setTimeout(_0x2e3ae9,0x4ceb4c7f^_0x158a0b)),_0x4bdc73[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f09e9=>{let _0x37245d=0x0;_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x6f,0x6e])](_0x1e2680([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cc5fd,_0x4ae135)=>{_0x4ae135[0x0][_0x1e2680([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37245d++,_0x37245d==(0x4ce2734b^_0x158a0b)&&(_0x3f09e9(),_0x3cc5fd[_0x1e2680([0x6f,0x66,0x66])]());});}))];return window[_0x1e2680([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e2680([0x72,0x61,0x63,0x65])](_0x4ccedf)[_0x1e2680([0x74,0x68,0x65,0x6e])](()=>_0x2bbb2e);}async function _0x6f2c00(){await _0x4bdc73,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e2680([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdbf432,_0x55b3fa[_0x1e2680([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e2680([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35c869(_0x485b93){const _0x2ebdd1=_0x3e7a32();_0x55b3fa[_0x2ebdd1]=_0x1e2680([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x485b93,_0x485b93!=_0x1e2680([0x56,0x61,0x6c,0x69,0x64])&&_0x6f2c00();}function _0x3e7a32(){const _0x96333b=window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e2680([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e2680([0x6e,0x6f,0x77])]())[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e2680([0x2e]),'');let _0x1223a9=_0x1e2680([0x64]);for(let _0x237151=0x0;_0x237151<_0x96333b[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x237151+=0x2){let _0x254d46=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x96333b[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237151,_0x237151+0x2));_0x254d46>=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254d46-=_0x3f2426[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1223a9+=_0x3f2426[_0x254d46];}return _0x1223a9;}function _0xfe4a16(){const _0x330ea1=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e]));if(0x3!=_0x330ea1[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e4db4(_0x330ea1[0x1]);function _0x2e4db4(_0x247688){const _0x30f2d5=_0x3bed9f(_0x247688);return _0x30f2d5&&_0x2811bc()?_0x30f2d5:null;function _0x2811bc(){const _0xa94a53=_0x30f2d5[_0x1e2680([0x6a,0x74,0x69])],_0x3e7ecd=window[_0x1e2680([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x113126={..._0x30f2d5,[_0x1e2680([0x6a,0x74,0x69])]:_0xa94a53[_0x1e2680([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa94a53[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x113126[_0x1e2680([0x76,0x63])],_0x53e00a(_0x113126)==_0x3e7ecd;}}}async function _0x571e1a(){let _0x209a5a=!0x0;try{const _0x5317ed=_0x50382e[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])](_0x1e2680([0x2e])),[_0x442557,_0x29f73c,_0x1c2cb2]=_0x5317ed;return _0x31fc71(_0x442557),await _0x1c7527(_0x442557,_0x29f73c,_0x1c2cb2),_0x209a5a;}catch{return!0x1;}function _0x31fc71(_0x492a95){const _0x5db544=_0x3bed9f(_0x492a95);_0x5db544&&_0x5db544[_0x1e2680([0x61,0x6c,0x67])]==_0x1e2680([0x45,0x53,0x32,0x35,0x36])||(_0x209a5a=!0x1);}async function _0x1c7527(_0x257404,_0x36a38d,_0x35d751){const _0x3ef5d2=window[_0x1e2680([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e2680([0x66,0x72,0x6f,0x6d])](_0x567294(_0x35d751),_0x346619=>_0x346619[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f106f=new window[(_0x1e2680([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e2680([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x257404+_0x1e2680([0x2e])+_0x36a38d),_0x238898=window[_0x1e2680([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e2680([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x238898)return;const _0x4ac41d=await _0x238898[_0x1e2680([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e2680([0x6a,0x77,0x6b]),_0x5c8529,{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e2680([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x238898[_0x1e2680([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x45,0x43,0x44,0x53,0x41]),[_0x1e2680([0x68,0x61,0x73,0x68])]:{[_0x1e2680([0x6e,0x61,0x6d,0x65])]:_0x1e2680([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ac41d,_0x3ef5d2,_0x2f106f)||(_0x209a5a=!0x1);}}function _0x3bed9f(_0x32346f){return _0x32346f[_0x1e2680([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e2680([0x65,0x79]))?JSON[_0x1e2680([0x70,0x61,0x72,0x73,0x65])](_0x567294(_0x32346f)):null;}function _0x567294(_0x165865){return window[_0x1e2680([0x61,0x74,0x6f,0x62])](_0x165865[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e2680([0x2b]))[_0x1e2680([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e2680([0x2f])));}function _0x53e00a(_0x20d1ca){let _0x2f5fcc=0x1505;function _0x368af2(_0xe0cf0a){for(let _0x22307d=0x0;_0x22307d<_0xe0cf0a[_0x1e2680([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22307d++){const _0x4753dc=_0xe0cf0a[_0x1e2680([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22307d);_0x2f5fcc=(_0x2f5fcc<<0x5)+_0x2f5fcc+_0x4753dc,_0x2f5fcc&=_0x2f5fcc;}}function _0x3d3c19(_0x168dae){Array[_0x1e2680([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x168dae)?_0x168dae[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d3c19):_0x168dae&&typeof _0x168dae==_0x1e2680([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e2680([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x168dae)[_0x1e2680([0x73,0x6f,0x72,0x74])]()[_0x1e2680([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc425,_0x2d8026])=>{_0x368af2(_0x2bc425),_0x3d3c19(_0x2d8026);}):_0x368af2(window[_0x1e2680([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x168dae));}return _0x3d3c19(_0x20d1ca),_0x2f5fcc>>>0x0;}function _0x11237(_0x579e90){return _0x579e90[_0x1e2680([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e2680([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e2680([0x30]));}function _0x4c2780(_0x50b8d3){return _0x50b8d3[_0x1e2680([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e2680([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e2680([0x6a,0x6f,0x69,0x6e])]('');}function _0xdbf432(){}function _0x1e2680(_0x28111f){return _0x28111f['map'](_0x7b7ebe=>String['fromCharCode'](_0x7b7ebe))['join']('');}_0x35c869(await _0x199cc9());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3bfea1=this['editor'],_0x1b1893=_0x3bfea1['editing']['view'],_0x34bed7=this['_getAttachedDomRoot']();if(!_0x34bed7||0x0===_0x34bed7['childElementCount'])return void _0x3bfea1['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3d9649,pageHeight:_0x435641}=_0x3bfea1['config']['get']('pagination'),{top:_0x3cea20,left:_0x5e3eeb,bottom:_0x1920e7,right:_0x207aab}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f2405(_0x3bfea1['locale']);const _0x52e0ce=this['_pagesContainer'];_0x52e0ce['set']('class',''),_0x52e0ce['setTemplate']({'tag':'div','attributes':{'contenteditable':!0x0,'style':{'columnWidth':_0x3d9649,'width':_0x3d9649,'height':'calc(\x20'+_0x435641+'\x20-\x20'+_0x3cea20+'\x20-\x20'+_0x1920e7+'\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x207aab+'\x200\x20'+_0x5e3eeb,'columnGap':'100px','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'tabindex':'-1','class':_0x52e0ce['bindTemplate']['to']('class')}}),_0x52e0ce['render'](),_0x34bed7['parentNode']['insertBefore'](_0x52e0ce['element'],_0x34bed7['nextSibling']),this['listenTo'](_0x1b1893,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2fd139 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2fd139['ownerDocument']['body']['contains'](_0x2fd139))return _0x2fd139;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3df61c=this['editor']['editing']['view'],_0x3f7840=this['_pagesContainer'],_0x30d2be=this['_getAttachedDomRoot']();if(!_0x30d2be)return Promise['resolve']();for(_0x3f7840['class']=['ck-reset','ck-pagination-view',..._0x30d2be['classList']]['join']('\x20');_0x3f7840['element']['firstChild'];)_0x3f7840['element']['firstChild']['remove']();const _0x414195=Array['from'](_0x3df61c['domRoots']);_0x414195['sort'](([,_0x7ac2a4],[,_0x133f28])=>_0x7ac2a4['compareDocumentPosition'](_0x133f28)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x18345b,_0x1cbbac]of _0x414195){const _0x4e471c=_0x1cbbac['cloneNode'](!0x0);'attributeStyleMap'in _0x4e471c&&_0x4e471c['attributeStyleMap']['clear'](),_0x4e471c['className']='',_0x4e471c['removeAttribute']('id'),_0x4e471c['dataset']['rootName']=_0x18345b,_0x3f7840['element']['append'](_0x4e471c);}return function(_0x1d0791){return Promise['all'](_0x1d0791['map'](_0x4f6e1c=>Promise['race']([m(_0x4f6e1c),p(0x3e8)])));}(Array['from'](_0x3f7840['element']['querySelectorAll']('img')))['then'](()=>this['_updatePageBreaksData']());}['_updatePageBreaksData'](){const _0x3f8aa2=this['_pagesContainer']['element'];if(!_0x3f8aa2['ownerDocument']['body']['contains'](_0x3f8aa2))return;const _0x4affd6=new _0x16966e(_0x3f8aa2)['excludeScrollbarsAndBorders'](),_0x40d214=_0x2fd9a5['window']['getComputedStyle'](_0x3f8aa2),_0x48162b=parseFloat(_0x40d214['paddingLeft'])+parseFloat(_0x40d214['paddingRight']),_0x3e767f=Math['floor'](_0x4affd6['width']+0x64-_0x48162b),_0xda3e0=b(_0x3f8aa2,Math['floor'](_0x4affd6['left']-_0x3f8aa2['scrollLeft']),_0x3e767f,_0x4affd6['height'])['map'](_0x21c8b1=>this['_mapPageStarterInfoToPageBreakInfo'](_0x21c8b1));_0xda3e0['every'](_0xc70e8a=>!!_0xc70e8a)&&(this['pageBreaks']=_0xda3e0);}['_mapPageStarterInfoToPageBreakInfo'](_0x4357b9){const _0x4856a5=this['editor']['editing']['view'],_0x4b105b=this['editor']['editing']['mapper'],_0x2ce70c=_0x4856a5['domConverter'],_0x4ab74c=_0x4357b9['path']['shift'](),_0x533dc0=this['_pagesContainer']['element']['childNodes'][_0x4ab74c]['dataset']['rootName'],_0x19e927=_0x4856a5['getDomRoot'](_0x533dc0);if(!_0x19e927)return null;const _0x3ac96f=function(_0x4c2d6a,_0x29e65c){let _0x80028f=_0x4c2d6a;for(const _0xe724d5 of _0x29e65c['path']){if(!_0x80028f)return null;_0x80028f=_0x80028f['childNodes'][_0xe724d5];}return _0x80028f;}(_0x19e927,_0x4357b9);if(!_0x3ac96f)return null;const _0x2dbbb7=_0x2ce70c['domPositionToView'](_0x3ac96f,_0x4357b9['textOffset']||0x0);return _0x2dbbb7?'manual'==_0x4357b9['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f):'text'==_0x4357b9['type']&&_0x4b105b['toModelPosition'](_0x2dbbb7)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2dbbb7,_0x3ac96f,_0x4357b9['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3c3eab,_0x10ec9f){const _0x2575db=this['editor']['model'],_0x2601f3=this['editor']['editing']['mapper']['toModelElement'](_0x3c3eab['parent']),_0x583ca5=_0x2575db['createRangeOn'](_0x2601f3);return new K({'type':'manual','modelRange':_0x583ca5,'domNode':_0x10ec9f,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c8988,_0x2c013b,_0x20a5ce){const _0x513013=this['editor']['model'],_0x4904a9=this['editor']['editing']['mapper'],_0x38af61=this['editor']['editing']['view']['domConverter'];if(_0x20a5ce>=_0x2c013b['length'])return null;const _0xd387e2=_0x4904a9['toModelPosition'](_0x1c8988),_0x53f73d=_0x513013['createRange'](_0xd387e2),_0x386f74=_0x4904a9['findMappedViewAncestor'](_0x1c8988),_0x4c3f86=_0x38af61['mapViewToDom'](_0x386f74);return new K({'type':'text','modelRange':_0x53f73d,'domNode':_0x2c013b,'offset':w(_0x2c013b,_0x20a5ce,_0x4c3f86)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x31e820,_0x40f706,_0x5699d9){const _0x246ba5=this['editor']['model'],_0x38fe5a=this['editor']['editing'],_0x34935f=_0x38fe5a['mapper'],_0x523167=_0x38fe5a['view']['domConverter'],_0x4415e7=_0x34935f['findMappedViewAncestor'](_0x31e820),_0x2e2d7b=_0x34935f['toModelElement'](_0x4415e7),_0x311c5e=function(_0x149d7e){const _0x5add89=_0x149d7e['parent'],_0xa6187c=_0x5add89['root']['document']['model'],_0x3ed53a=_0x5add89['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f7f91=null;for(const _0x4bbda1 of _0x3ed53a){if(_0x4bbda1['is']('rootElement'))return _0x1f7f91;if(!_0xa6187c['createPositionBefore'](_0x4bbda1)['isTouching'](_0x149d7e))return _0x1f7f91;_0x1f7f91=_0x4bbda1;}}(_0x246ba5['createPositionBefore'](_0x2e2d7b)),_0x20ed2a=_0x311c5e||_0x2e2d7b;let _0x240f0f=_0x34935f['toViewElement'](_0x20ed2a),_0xf77689=_0x246ba5['createRangeOn'](_0x20ed2a);const _0x5f0dc1=_0x246ba5['createPositionBefore'](_0x20ed2a)['nodeBefore'];if(_0x5f0dc1&&_0x5f0dc1['is']('element','imageBlock')){const _0x2484ca=_0x34935f['toViewElement'](_0x5f0dc1),_0x174c10=_0x523167['mapViewToDom'](_0x2484ca),_0x25e468=_0x2fd9a5['window']['getComputedStyle'](_0x174c10)['float'];'left'!=_0x25e468&&'right'!=_0x25e468||(_0xf77689=_0x246ba5['createRangeOn'](_0x5f0dc1));}for(;_0x240f0f['parent']!==_0x240f0f['root']&&0x0===_0x240f0f['index'];)_0x240f0f=_0x240f0f['parent'];const _0x2e0d29=new _0x16966e(N(_0x40f706)?_0x40f706:y(_0x40f706)),_0x944435=_0x5699d9?_0x2e0d29['height']-_0x5699d9:0x0,_0x46ef56=_0x523167['mapViewToDom'](_0x240f0f),_0x32dad1=new _0x16966e(_0x46ef56);return new K({'type':'element','modelRange':_0xf77689,'domNode':_0x46ef56,'offset':Math['round'](_0x944435)?_0x944435+_0x2e0d29['top']-_0x32dad1['top']:0x0});}get['_configuredPaddings'](){const _0x4d72bc=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4d72bc);}static['_findPageStarterInfos'](_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc){return b(_0x5be1e4,_0x4a53dd,_0x195642,_0x4d8f42,_0x156bfc);}}class K{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x7ea63f,modelRange:_0x37ff63,domNode:_0x496754,offset:_0x3fb7f6}){this['type']=_0x7ea63f,this['modelRange']=_0x37ff63,this['_domNode']=_0x496754,this['_offset']=_0x3fb7f6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x181021=new _0x16966e(N(this['_domNode'])?this['_domNode']:y(this['_domNode']));return'manual'==this['type']?_0x181021['top']+_0x181021['height']/0x2:_0x181021['top']+this['_offset'];}}function w(_0x4ea775,_0xac01eb,_0x2da1e2){const _0x5b472e=y(_0x4ea775),_0x3d9451=function(_0x4fd0ff){const _0x4aca36=_0x2fd9a5['document']['createRange']();return _0x4aca36['selectNodeContents'](_0x4fd0ff),_0x4aca36;}(_0x2da1e2);let _0x91a2ce;_0x91a2ce=0x0==_0xac01eb?k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775['parentNode'],Array['from'](_0x4ea775['parentNode']['childNodes'])['indexOf'](_0x4ea775)):k(_0x3d9451['startContainer'],_0x3d9451['startOffset'],_0x4ea775,_0xac01eb);const _0x3f663c=k(_0x4ea775,_0xac01eb,_0x3d9451['endContainer'],_0x3d9451['endOffset']),_0x3be5b1=new _0x16966e(_0x91a2ce)['bottom'];return(new _0x16966e(_0x3f663c)['top']+_0x3be5b1)/0x2-new _0x16966e(_0x5b472e)['top'];}function m(_0x3d4148){return _0x3d4148['hasAttribute']('width')&&_0x3d4148['hasAttribute']('height')?Promise['resolve']():new Promise(_0x400096=>{function _0x2f6cd3(){_0x3d4148['removeEventListener']('load',_0x2f6cd3),_0x3d4148['removeEventListener']('error',_0x2f6cd3),_0x400096();}_0x3d4148['complete']?_0x400096():(_0x3d4148['addEventListener']('load',_0x2f6cd3),_0x3d4148['addEventListener']('error',_0x2f6cd3));});}function p(_0x3f473f){return new Promise(_0x480ec2=>setTimeout(_0x480ec2,_0x3f473f));}function y(_0x1bb72f){const _0x270eff=_0x2fd9a5['document']['createRange']();return _0x270eff['selectNode'](_0x1bb72f),_0x270eff;}function P(_0x3a9ada,_0x43c881,_0x4b4587){const _0x393d6c=_0x2fd9a5['document']['createRange']();return _0x393d6c['setStart'](_0x3a9ada,_0x43c881),_0x393d6c['setEnd'](_0x3a9ada,_0x4b4587),_0x393d6c;}function k(_0x3c67d8,_0xaae6b1,_0x4a3db9,_0x5b6059){const _0x2fdca9=_0x2fd9a5['document']['createRange']();return _0x2fdca9['setStart'](_0x3c67d8,_0xaae6b1),_0x2fdca9['setEnd'](_0x4a3db9,_0x5b6059),_0x2fdca9;}function b(_0x55fd95,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83){const _0x1cd4f5=[];for(const [_0x4238b5,_0x56ec12]of _0x55fd95['childNodes']['entries']()){let _0x5def56=[];N(_0x56ec12)&&_0x56ec12['offsetParent']&&!_0x56ec12['style']['position']?_0x5def56=x(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x230740,_0x466b83):S(_0x56ec12)&&(_0x5def56=_(_0x56ec12,_0x4238b5,_0x5d75fd,_0x359fb2,_0x466b83)),_0x5def56['length']&&(_0x1cd4f5['push'](..._0x5def56),_0x5d75fd+=_0x5def56['length']*_0x359fb2,_0x466b83=!0x1);}return _0x1cd4f5;}function x(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7){const _0x3de240=[];var _0x9e99;if((_0x9e99=_0x4e5af8['previousSibling'])&&N(_0x9e99)&&Boolean(_0x9e99['classList']['contains']('page-break')||_0x9e99['closest']('.page-break'))&&(_0x3de240['push']({'type':'manual','offset':0x0,'path':[_0x31e117-0x1]}),_0x272b7=!0x0),'table-row'==_0x2fd9a5['window']['getComputedStyle'](_0x4e5af8)['display']){let _0x564b9a=0x0,_0x120ba3=!0x1;for(const _0x231e80 of _0x4e5af8['getClientRects']())_0x564b9a+=_0x231e80['height'],_0x231e80['left']>=_0x259648&&(_0x120ba3=!0x0);if(_0x564b9a<_0x35b8df&&_0x120ba3)return _0x3de240['push']({'type':'element','offset':0x0,'path':[_0x31e117]}),_0x3de240;}const _0x11b2a9=_0x4e5af8['closest']('figure.image');if(_0x11b2a9&&function(_0x37b7fd){let _0x523e99=!0x1;const _0x461328=_0x37b7fd['parentElement'],_0x479101=_0x461328['dataset']['rootName'],_0x6a3097=_0x37b7fd['nextElementSibling'],_0x6df9e0=_0x37b7fd['previousElementSibling'],_0x8971df=_0x6a3097&&_0x2fd9a5['window']['getComputedStyle'](_0x6a3097)['float'],_0x111ebf=_0x6a3097&&'ck-fake-selection-container'===_0x6a3097['className'];!_0x479101||_0x6a3097||_0x6df9e0||(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&_0x111ebf&&(_0x523e99=!0x0),_0x479101&&!_0x6df9e0&&'none'!==_0x8971df&&(_0x523e99=!0x0);if(_0x523e99)return!0x1;return!0x0;}(_0x11b2a9)){const _0x2ac4d8=_0x2fd9a5['window']['getComputedStyle'](_0x11b2a9)['float'];if('left'==_0x2ac4d8||'right'==_0x2ac4d8)return _0x3de240;}const _0x305098=b(_0x4e5af8,_0x259648,_0x58a5c0,_0x35b8df,_0x272b7);if(_0x305098['length']){for(const _0x4e99e5 of _0x305098)_0x3de240['push']({'type':_0x4e99e5['type'],'offset':_0x4e99e5['offset'],'textOffset':_0x4e99e5['textOffset'],'path':[_0x31e117,..._0x4e99e5['path']]}),_0x259648+=_0x58a5c0,_0x272b7=!0x1;return _0x3de240;}return _0x3de240['push'](...function(_0x44edc3,_0x106226,_0x286099,_0x5c821c,_0x5ab2bd){const _0x1934f2=[];if('table-cell'==_0x2fd9a5['window']['getComputedStyle'](_0x44edc3)['display'])return[];const _0x11f7d8=[];for(const _0x446b47 of _0x44edc3['getClientRects']())if(_0x446b47['left']>=_0x286099){for(const _0x573f05 of _0x11f7d8)_0x573f05['height']+=_0x446b47['height'];_0x11f7d8['push']({'height':_0x446b47['height']}),_0x286099+=_0x5c821c;}for(const _0x3fc5fe of _0x11f7d8)_0x5ab2bd||_0x1934f2['push']({'type':'element','offset':_0x3fc5fe['height'],'textOffset':0x0,'path':[_0x106226]}),_0x5ab2bd=!0x1;return _0x1934f2;}(_0x4e5af8,_0x31e117,_0x259648,_0x58a5c0,_0x272b7)),_0x3de240;}function _(_0x2935f4,_0x2de553,_0x54ba01,_0x249b1f,_0x1a4038){const _0x564579=y(_0x2935f4),_0x44423c=[];let _0x5bae6a=0x0;for(const _0x54cd06 of _0x564579['getClientRects']())if(_0x54cd06['left']>=_0x54ba01){const _0x1643f9=B(_0x2935f4,_0x5bae6a,_0x54ba01,_0x249b1f);_0x1a4038||_0x44423c['push']({'type':'text','path':[_0x2de553],'textOffset':_0x1643f9}),_0x5bae6a=_0x1643f9,_0x54ba01+=_0x249b1f,_0x1a4038=!0x1;}return _0x44423c;}function B(_0xe6a5fa,_0x38b212,_0x1222eb,_0x4807d1){let _0x22e832=_0x38b212,_0x593838=_0xe6a5fa['length'];for(;_0x593838-_0x22e832>0x1;){const _0x3ec56f=Math['ceil']((_0x22e832+_0x593838)/0x2);I(P(_0xe6a5fa,_0x22e832,_0x3ec56f),_0x1222eb,_0x4807d1)?_0x593838=_0x3ec56f:_0x22e832=_0x3ec56f;}return _0x22e832;}function I(_0x3f0c36,_0x335514,_0x122f9d){for(const _0x4f47ef of _0x3f0c36['getClientRects']())if(_0x4f47ef['left']>=_0x335514&&_0x4f47ef['left']<_0x335514+_0x122f9d)return!0x0;return!0x1;}function N(_0x41a79b){return _0x41a79b['nodeType']==Node['ELEMENT_NODE'];}function S(_0x324b36){return _0x324b36['nodeType']==Node['TEXT_NODE'];}const q=/* #__PURE__ -- @preserve */
24
+ _0x3fec48('px');class C extends _0x5f2405{constructor(){super();const _0x25641f=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x25641f['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x25641f['if']('isVisible','ck-hidden',_0x47eca2=>!_0x47eca2)],'style':{'left':_0x25641f['to']('left',_0x2bf0f9=>q(_0x2bf0f9)),'top':_0x25641f['to']('top',_0x2a1f38=>q(_0x2a1f38)),'width':_0x25641f['to']('width',_0x31b4c1=>q(_0x31b4c1))}}});}}class O{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1ce001){this['_viewCollection']=_0x1ce001['ui']['view']['body'];}['destroy'](){for(const _0x2e00eb of this['_hiddenLines'])_0x2e00eb['destroy']();}['cleanLines'](){for(const _0x3abefd of this['_visibleLines'])_0x3abefd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3abefd);this['_visibleLines']['clear']();}['showLine'](_0x556fa6,_0x468dc4,_0x5740e8,_0x22d6d4){let _0xa6a046;this['_hiddenLines']['size']?(_0xa6a046=_0x4d9cf3(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xa6a046)):_0xa6a046=new C(),_0xa6a046['set']({'pageNumber':_0x22d6d4,'left':_0x556fa6,'top':_0x468dc4,'width':_0x5740e8}),_0xa6a046['isVisible']=!0x0,this['_viewCollection']['has'](_0xa6a046)||this['_viewCollection']['add'](_0xa6a046),this['_visibleLines']['add'](_0xa6a046);}['setViewCollection'](_0x409e97){for(const _0x1a49af of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1a49af)&&this['_viewCollection']['remove'](_0x1a49af);this['_viewCollection']=_0x409e97;}}const E='ck-pagination_enabled';class n extends _0x52abb0{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new O(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](E),this['on']('change:isEnabled',(_0x4cfabb,_0x16430b,_0x25cd0e)=>{_0x25cd0e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](E,_0x25cd0e);});}['destroy'](){this['_toggleEditingRootsClass'](E,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x55f721){if(!this['isEnabled'])return;const _0x1933b7=_0x55f721>0x1?this['_getPageBreakLineOffset'](_0x55f721-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x1933b7-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x433bfe['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x475e03=this['editor'],_0x5458b3=this['_getAttachedDomRoot']();_0x5458b3?(this['_scrollableEditingRootDomAncestor']&&_0x475e03['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x869a8){let _0x4208de=_0x869a8;do{_0x4208de=_0x4208de['parentElement'];const _0xdd74bf=_0x2fd9a5['window']['getComputedStyle'](_0x4208de)['overflowY'];if('auto'==_0xdd74bf||'scroll'==_0xdd74bf)break;}while('BODY'!=_0x4208de['tagName']);return _0x4208de;}(_0x5458b3),_0x475e03['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x564e9a(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x475e03['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x1685a3=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x1685a3['ui']['view']['listenTo'](_0x2fd9a5['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x1685a3['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x43289d of this['editor']['editing']['view']['domRoots']['values']())if(_0x43289d['ownerDocument']['body']['contains'](_0x43289d))return _0x43289d;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x232be6=this['_getAttachedDomRoot'](),_0x275d1b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x232be6||0x1==_0x275d1b['length'])return void(this['pageNumber']=0x1);const _0x51dffd=new _0x16966e(_0x232be6)['excludeScrollbarsAndBorders'](),_0x3557b0=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3be7e6=_0x3557b0['top']+_0x3557b0['height']/0x3;let _0x23f423=!0x1;const _0x409158=[];for(let _0x370712=0x1;_0x370712<_0x275d1b['length'];_0x370712++){const _0x589635=this['_getPageBreakLineOffset'](_0x370712,_0x3557b0);if(!_0x589635)continue;const _0x5c087b=_0x3557b0['top']+_0x589635-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x409158['push']({'pageOffsetTop':_0x5c087b,'domRootRect':_0x51dffd,'domScrollableRect':_0x3557b0,'pageNumber':_0x370712}),_0x5c087b>_0x3be7e6&&!_0x23f423&&(this['pageNumber']=_0x370712,_0x23f423=!0x0);}this['_renderPageBreakLines'](_0x409158),_0x23f423||(this['pageNumber']=_0x275d1b['length']);}['_renderPageBreakLines'](_0x4d2232){const {scrollX:_0x56e847,scrollY:_0x360c7e}=_0x2fd9a5['window'];if(_0x4d2232['length']){for(const {domScrollableRect:_0x202447,pageOffsetTop:_0x2cf095,domRootRect:_0x302369,pageNumber:_0x2a2ad4}of _0x4d2232)_0x202447['top']<_0x2cf095&&_0x2cf095<_0x202447['bottom']&&this['linesRepository']['showLine'](_0x302369['left']+_0x56e847,_0x2cf095+_0x360c7e,_0x302369['width'],_0x2a2ad4+0x1);}}['_getPageBreakLineOffset'](_0x56a3ed,_0x12f6d2=null){const _0x34043e=this['_paginationLookupPlugin']['pageBreaks'][_0x56a3ed]['offset'];return _0x34043e?(_0x12f6d2||(_0x12f6d2=new _0x16966e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x34043e-_0x12f6d2['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4003c7,_0x24183c=!0x0){const _0x2ad4b6=this['editor']['editing']['view'];_0x2ad4b6['change'](_0x13684f=>{for(const _0x11412f of _0x2ad4b6['document']['roots'])_0x24183c?_0x13684f['addClass'](_0x4003c7,_0x11412f):_0x13684f['removeClass'](_0x4003c7,_0x11412f);});}}function g(_0x42803d,_0x20aded,..._0x198df6){const t=_0x42803d['t'];switch(_0x20aded){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x198df6);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x20aded;}}class s extends _0x52abb0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[a,n];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x11802d=this['editor']['plugins']['get']('Pagination'),_0x28860a=this['editor']['plugins']['get'](a),_0x23406b=this['editor']['plugins']['get'](n);this['bind']('isEnabled')['to'](_0x11802d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x23406b),this['listenTo'](_0x28860a,'change:pageBreaks',(_0x28e2b0,_0x4d1c3e,_0x350166,_0x6933cb)=>{this['totalPages']=_0x350166['length'],this['_updatePageBreakMarkers'](_0x350166,_0x6933cb);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6eb6f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14279b;for(const _0x549155 in _0x6eb6f4){const _0x51164e=_0x549155,_0x2c7ac2=_0x6eb6f4[_0x51164e];if('paginationLicenseKeyValid'==_0x2c7ac2||'paginationLicenseKeyInvalid'==_0x2c7ac2||'paginationLicenseKeyExpired'==_0x2c7ac2||'paginationLicenseKeyDomainLimit'==_0x2c7ac2||'paginationLicenseKeyNotAllowed'==_0x2c7ac2||'paginationLicenseKeyEvaluationLimit'==_0x2c7ac2||'paginationLicenseKeyTrialLimit'==_0x2c7ac2||'paginationLicenseKeyUsageLimit'==_0x2c7ac2){delete _0x6eb6f4[_0x51164e],_0x14279b=_0x2c7ac2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x14279b&&_0x6eb6f4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x14279b&&_0x6eb6f4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x14279b&&_0x6eb6f4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyTrialLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('trialLimit'),'paginationLicenseKeyUsageLimit'==_0x14279b&&_0x6eb6f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1a7aa1){if(!this['isEnabled'])return;this['editor']['plugins']['get'](n)['scrollToPage'](this['_validatePageNumber'](_0x1a7aa1));}['moveSelectionToPage'](_0x3ee4db){if(!this['isEnabled'])return;const _0x88ff23=this['editor'],_0x3880cc=this['editor']['plugins']['get'](a)['pageBreaks'][_0x3ee4db-0x1];_0x3880cc&&_0x88ff23['model']['change'](_0x12c4dc=>{switch(_0x3880cc['type']){case'manual':{const _0x2c80d6=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['end'],'forward');_0x12c4dc['setSelection'](_0x2c80d6);break;}case'element':{const _0x486f2b=_0x88ff23['model']['schema']['getNearestSelectionRange'](_0x3880cc['modelRange']['start'],'forward');_0x12c4dc['setSelection'](_0x486f2b);break;}case'text':{const _0x5e437a=_0x3880cc['modelRange']['start'];if(_0x5e437a['textNode']&&'\x20'===_0x5e437a['textNode']['data'][_0x5e437a['offset']]){const _0x3c3dd1=_0x12c4dc['createPositionAt'](_0x5e437a['parent'],_0x5e437a['offset']+0x1);_0x12c4dc['setSelection'](_0x3c3dd1);}else _0x12c4dc['setSelection'](_0x3880cc['modelRange']);}}_0x88ff23['editing']['view']['focus']();});}['goToNextPage'](){const _0x2865b6=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2865b6),this['scrollToPage'](_0x2865b6);}['goToPreviousPage'](){const _0x494003=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x494003),this['scrollToPage'](_0x494003);}['_updatePageBreakMarkers'](_0xa95b2c,_0x1906d5){const _0x33c2b9=this['editor']['model'];this['isEnabled']&&_0x33c2b9['change'](_0x11d065=>{for(let _0x1db5d5=0x1;_0x1db5d5<_0xa95b2c['length'];_0x1db5d5++){const _0x4309c1=_0xa95b2c[_0x1db5d5]['modelRange'],_0x1d7666='pagination:'+(_0x1db5d5+0x1);_0x33c2b9['markers']['has'](_0x1d7666)?_0x11d065['updateMarker'](_0x1d7666,{'range':_0x4309c1}):_0x11d065['addMarker'](_0x1d7666,{'range':_0x4309c1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x294224=_0xa95b2c['length'];_0x294224<_0x1906d5['length'];_0x294224++){const _0x3233c2='pagination:'+(_0x294224+0x1);_0x33c2b9['markers']['has'](_0x3233c2)&&_0x11d065['removeMarker'](_0x3233c2);}});}['_setUpDataDowncastConversion'](){const _0x2c6d2d='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eda85=>{_0x3eda85['on']('addMarker:'+_0x2c6d2d,(_0x52ba54,{markerRange:_0x21f4f2,markerName:_0x5b1ee9},_0x5ec3ea)=>{if(!_0x5ec3ea['options']['pagination'])return;if(!_0x5ec3ea['consumable']['consume'](_0x21f4f2,_0x52ba54['name']))return;const _0x4d5479=_0x21f4f2['getContainedElement']();let _0x612e8b=_0x4d5479?_0x5ec3ea['mapper']['toViewElement'](_0x4d5479):null;if(!_0x612e8b){const _0x1422d=_0x21f4f2['start'];if(_0x5ec3ea['schema']['checkChild'](_0x1422d,'$text')){const _0x2d177f=_0x5ec3ea['mapper']['toViewPosition'](_0x1422d);_0x612e8b=_0x5ec3ea['writer']['createContainerElement']('span'),_0x612e8b['getFillerOffset']=()=>null,_0x5ec3ea['writer']['insert'](_0x2d177f,_0x612e8b);}else{const _0x13e027=_0x1422d['nodeAfter'];_0x612e8b=_0x5ec3ea['mapper']['toViewElement'](_0x13e027);}}for(;_0x612e8b['parent']!==_0x612e8b['root']&&0x0===_0x612e8b['index'];)_0x612e8b=_0x612e8b['parent'];const _0x5d5169=_0x5b1ee9['substring'](0xb);_0x612e8b['hasClass']('page-break')||(_0x5ec3ea['writer']['setStyle']('page-break-before','always',_0x612e8b),_0x5ec3ea['writer']['setAttribute']('data-pagination-page',_0x5d5169,_0x612e8b),_0x5ec3ea['mapper']['bindElementToMarker'](_0x612e8b,_0x5b1ee9)),_0x52ba54['stop']();});});}['_setupKeystrokes'](){const _0x3d046d=this['editor'];_0x3d046d['keystrokes']['set']('Shift+Pageup',(_0x1544ae,_0x424a1c)=>{this['goToPreviousPage'](),_0x424a1c();}),_0x3d046d['keystrokes']['set']('Shift+Pagedown',(_0xd7c3a8,_0x3a2069)=>{this['goToNextPage'](),_0x3a2069();}),_0x3d046d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':g(_0x3d046d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':g(_0x3d046d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x395ec7){return _0x395ec7<0x1&&(_0x395ec7=0x1),_0x395ec7>this['totalPages']&&(_0x395ec7=this['totalPages']),_0x395ec7;}}class G extends _0x5f2405{['pageNumberView'];constructor(_0x148ccb){super(_0x148ccb);const _0x164c2a=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x93f468(_0x148ccb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x22d363=>g(_0x148ccb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x22d363)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4db244=>!_0x4db244),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x164c2a['if']('isEnabled','ck-disabled',_0x3d10f2=>!_0x3d10f2)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x164c2a['to']('totalPages')}]}]});}['render'](){super['render']();const _0x248ba8=this['pageNumberView']['element'],_0x3fb3d0=_0x3212ff=>{this['pageNumberView']['element']['value']=String(_0x3212ff);};_0x3fb3d0(this['pageNumber']),this['on']('change:pageNumber',(_0x510ed6,_0x503e61,_0x28adea)=>{_0x3fb3d0(_0x28adea);}),this['listenTo'](_0x248ba8,'keydown',(_0x43a566,_0x3dd07b)=>{if('ArrowUp'===_0x3dd07b['key']||'ArrowDown'===_0x3dd07b['key'])return void _0x3dd07b['stopPropagation']();if(_0x3dd07b['keyCode']!==_0x4a7b56['enter'])return;_0x3dd07b['preventDefault']();const _0x277e9a=_0x248ba8['valueAsNumber'];Number['isNaN'](_0x277e9a)?_0x248ba8['value']=String(this['pageNumber']):(_0x248ba8['checkValidity']()?this['pageNumber']=_0x277e9a:_0x277e9a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x248ba8['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x248ba8['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x248ba8,'blur',()=>{_0x248ba8['value']=String(this['pageNumber']);}),this['listenTo'](_0x248ba8,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class e extends _0x52abb0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49547a=this['editor'],_0x118254=_0x49547a['plugins']['get']('PaginationEditing');_0x49547a['ui']['componentFactory']['add']('pageNavigation',_0x5cc2dd=>{const _0x1d8a22=new G(_0x5cc2dd);return _0x1d8a22['bind']('pageNumber')['to'](_0x118254),_0x1d8a22['bind']('totalPages')['to'](_0x118254),_0x1d8a22['bind']('isEnabled')['to'](_0x118254),_0x1d8a22['on']('navigation',(_0x100ba6,_0x5b6fb8)=>{_0x118254['moveSelectionToPage'](_0x5b6fb8),_0x118254['scrollToPage'](_0x5b6fb8);}),_0x1d8a22;}),_0x49547a['ui']['componentFactory']['add']('nextPage',_0x5c59f4=>{const _0x3f661d=new _0xf5a667(_0x5c59f4);return _0x3f661d['isEnabled']=!0x0,_0x3f661d['label']=g(_0x49547a['locale'],'Go\x20to\x20next\x20page'),_0x3f661d['icon']=_0x5cd26a,_0x3f661d['tooltip']=!0x0,_0x3f661d['keystroke']='Shift+PageDown',_0x3f661d['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x3f661d,'execute',()=>{_0x118254['goToNextPage']();}),_0x3f661d;}),_0x49547a['ui']['componentFactory']['add']('previousPage',_0x118c05=>{const _0x32ff89=new _0xf5a667(_0x118c05);return _0x32ff89['isEnabled']=!0x0,_0x32ff89['label']=g(_0x49547a['locale'],'Go\x20to\x20previous\x20page'),_0x32ff89['icon']=_0x25abfd,_0x32ff89['tooltip']=!0x0,_0x32ff89['keystroke']='Shift+PageUp',_0x32ff89['bind']('isEnabled')['to'](_0x118254),this['listenTo'](_0x32ff89,'execute',()=>{_0x118254['goToPreviousPage']();}),_0x32ff89;});}}class T extends _0x52abb0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[s,e];}constructor(_0x269d33){super(_0x269d33),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x2bada7=this['editor']['plugins']['get'](s);this['bind']('pageNumber')['to'](_0x2bada7),this['bind']('totalPages')['to'](_0x2bada7),_0x433bfe['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x1481be){this['editor']['plugins']['get'](s)['scrollToPage'](_0x1481be);}}export{T as Pagination,n as PaginationRenderer};
@@ -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':_0x194d33=>0x1!=_0x194d33}};
23
+ export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2f3bca=>0x1!=_0x2f3bca}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x562b97=>{const {af:{dictionary:_0x37543b,getPluralForm:_0x31e518}}={'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':_0x164018=>0x1!=_0x164018}};_0x562b97['af']||={'dictionary':{},'getPluralForm':null},_0x562b97['af']['dictionary']=Object['assign'](_0x562b97['af']['dictionary'],_0x37543b),_0x562b97['af']['getPluralForm']=_0x31e518;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x510775=>{const {af:{dictionary:_0x46c00b,getPluralForm:_0x23759b}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x259845=>0x1!=_0x259845}};_0x510775['af']||={'dictionary':{},'getPluralForm':null},_0x510775['af']['dictionary']=Object['assign'](_0x510775['af']['dictionary'],_0x46c00b),_0x510775['af']['getPluralForm']=_0x23759b;})(window['CKEDITOR_TRANSLATIONS']||={});