phcthemes_admin_panel_pack 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/common/ckeditor/ckeditor.js +7 -1367
  3. data/app/assets/javascripts/common/ckeditor/ckeditor.js.map +1 -0
  4. data/app/assets/javascripts/common/ckeditor/translations/af.js +1 -0
  5. data/app/assets/javascripts/common/ckeditor/translations/ar.js +1 -0
  6. data/app/assets/javascripts/common/ckeditor/translations/ast.js +1 -0
  7. data/app/assets/javascripts/common/ckeditor/translations/az.js +1 -0
  8. data/app/assets/javascripts/common/ckeditor/translations/bg.js +1 -0
  9. data/app/assets/javascripts/common/ckeditor/translations/ca.js +1 -0
  10. data/app/assets/javascripts/common/ckeditor/translations/cs.js +1 -0
  11. data/app/assets/javascripts/common/ckeditor/translations/da.js +1 -0
  12. data/app/assets/javascripts/common/ckeditor/translations/de-ch.js +1 -0
  13. data/app/assets/javascripts/common/ckeditor/translations/de.js +1 -0
  14. data/app/assets/javascripts/common/ckeditor/translations/el.js +1 -0
  15. data/app/assets/javascripts/common/ckeditor/translations/en-au.js +1 -0
  16. data/app/assets/javascripts/common/ckeditor/translations/en-gb.js +1 -0
  17. data/app/assets/javascripts/common/ckeditor/translations/eo.js +1 -0
  18. data/app/assets/javascripts/common/ckeditor/translations/es.js +1 -0
  19. data/app/assets/javascripts/common/ckeditor/translations/et.js +1 -0
  20. data/app/assets/javascripts/common/ckeditor/translations/eu.js +1 -0
  21. data/app/assets/javascripts/common/ckeditor/translations/fa.js +1 -0
  22. data/app/assets/javascripts/common/ckeditor/translations/fi.js +1 -0
  23. data/app/assets/javascripts/common/ckeditor/translations/fr.js +1 -0
  24. data/app/assets/javascripts/common/ckeditor/translations/gl.js +1 -0
  25. data/app/assets/javascripts/common/ckeditor/translations/gu.js +1 -0
  26. data/app/assets/javascripts/common/ckeditor/translations/he.js +1 -0
  27. data/app/assets/javascripts/common/ckeditor/translations/hr.js +1 -0
  28. data/app/assets/javascripts/common/ckeditor/translations/hu.js +1 -0
  29. data/app/assets/javascripts/common/ckeditor/translations/id.js +1 -0
  30. data/app/assets/javascripts/common/ckeditor/translations/it.js +1 -0
  31. data/app/assets/javascripts/common/ckeditor/translations/ja.js +1 -0
  32. data/app/assets/javascripts/common/ckeditor/translations/km.js +1 -0
  33. data/app/assets/javascripts/common/ckeditor/translations/kn.js +1 -0
  34. data/app/assets/javascripts/common/ckeditor/translations/ko.js +1 -0
  35. data/app/assets/javascripts/common/ckeditor/translations/ku.js +1 -0
  36. data/app/assets/javascripts/common/ckeditor/translations/lt.js +1 -0
  37. data/app/assets/javascripts/common/ckeditor/translations/lv.js +1 -0
  38. data/app/assets/javascripts/common/ckeditor/translations/nb.js +1 -0
  39. data/app/assets/javascripts/common/ckeditor/translations/ne.js +1 -0
  40. data/app/assets/javascripts/common/ckeditor/translations/nl.js +1 -0
  41. data/app/assets/javascripts/common/ckeditor/translations/no.js +1 -0
  42. data/app/assets/javascripts/common/ckeditor/translations/oc.js +1 -0
  43. data/app/assets/javascripts/common/ckeditor/translations/pl.js +1 -0
  44. data/app/assets/javascripts/common/ckeditor/translations/pt-br.js +1 -0
  45. data/app/assets/javascripts/common/ckeditor/translations/pt.js +1 -0
  46. data/app/assets/javascripts/common/ckeditor/translations/ro.js +1 -0
  47. data/app/assets/javascripts/common/ckeditor/translations/ru.js +1 -0
  48. data/app/assets/javascripts/common/ckeditor/translations/si.js +1 -0
  49. data/app/assets/javascripts/common/ckeditor/translations/sk.js +1 -0
  50. data/app/assets/javascripts/common/ckeditor/translations/sl.js +1 -0
  51. data/app/assets/javascripts/common/ckeditor/translations/sq.js +1 -0
  52. data/app/assets/javascripts/common/ckeditor/translations/sr-latn.js +1 -0
  53. data/app/assets/javascripts/common/ckeditor/translations/sr.js +1 -0
  54. data/app/assets/javascripts/common/ckeditor/translations/sv.js +1 -0
  55. data/app/assets/javascripts/common/ckeditor/translations/tr.js +1 -0
  56. data/app/assets/javascripts/common/ckeditor/translations/tt.js +1 -0
  57. data/app/assets/javascripts/common/ckeditor/translations/ug.js +1 -0
  58. data/app/assets/javascripts/common/ckeditor/translations/uk.js +1 -0
  59. data/app/assets/javascripts/common/ckeditor/translations/vi.js +1 -0
  60. data/app/assets/javascripts/common/ckeditor/translations/zh-cn.js +1 -0
  61. data/app/assets/javascripts/common/ckeditor/translations/zh.js +1 -0
  62. data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
  63. metadata +61 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ckeditor.js","sources":["webpack://ClassicEditor/ckeditor.js"],"sourcesContent":["/*!\n * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md.\n */\n(function(t){t[\"en\"]=Object.assign(t[\"en\"]||{},{a:\"Type your title\",b:\"Type or paste your content here.\",c:\"Image toolbar\",d:\"Media toolbar\",e:\"Table toolbar\",f:\"Words: %0\",g:\"Characters: %0\",h:\"Block quote\",i:\"Choose heading\",j:\"Heading\",k:\"Increase indent\",l:\"Decrease indent\",m:\"Link\",n:\"Numbered List\",o:\"Bulleted List\",p:\"media widget\",q:\"Insert media\",r:\"The URL must not be empty.\",s:\"This media URL is not supported.\",t:\"Bold\",u:\"Italic\",v:\"Code\",w:\"Strikethrough\",x:\"Subscript\",y:\"Superscript\",z:\"image widget\",aa:\"Enter image caption\",ab:\"Full size image\",ac:\"Side image\",ad:\"Left aligned image\",ae:\"Centered image\",af:\"Right aligned image\",ag:\"Widget toolbar\",ah:\"To-do List\",ai:\"Remove Format\",aj:\"Horizontal line\",ak:\"Yellow marker\",al:\"Green marker\",am:\"Pink marker\",an:\"Blue marker\",ao:\"Red pen\",ap:\"Green pen\",aq:\"Remove highlight\",ar:\"Highlight\",as:\"Text highlight toolbar\",at:\"Font Family\",au:\"Default\",av:\"Font Size\",aw:\"Tiny\",ax:\"Small\",ay:\"Big\",az:\"Huge\",ba:\"Font Color\",bb:\"Font Background Color\",bc:\"Change image text alternative\",bd:\"Rich Text Editor\",be:\"Dropdown toolbar\",bf:\"Black\",bg:\"Dim grey\",bh:\"Grey\",bi:\"Light grey\",bj:\"White\",bk:\"Red\",bl:\"Orange\",bm:\"Yellow\",bn:\"Light green\",bo:\"Green\",bp:\"Aquamarine\",bq:\"Turquoise\",br:\"Light blue\",bs:\"Blue\",bt:\"Purple\",bu:\"Remove color\",bv:\"Document colors\",bw:\"%0 of %1\",bx:\"Previous\",by:\"Next\",bz:\"Save\",ca:\"Cancel\",cb:\"Text alternative\",cc:\"Editor toolbar\",cd:\"Show more items\",ce:\"Undo\",cf:\"Redo\",cg:\"Paste the media URL in the input.\",ch:\"Tip: Paste the URL into the content to embed faster.\",ci:\"Media URL\",cj:\"Open in a new tab\",ck:\"Downloadable\",cl:\"Unlink\",cm:\"Edit link\",cn:\"Open link in new tab\",co:\"This link has no URL\",cp:\"Link URL\",cq:\"Paragraph\",cr:\"Heading 1\",cs:\"Heading 2\",ct:\"Heading 3\",cu:\"Heading 4\",cv:\"Heading 5\",cw:\"Heading 6\",cx:\"Rich Text Editor, %0\",cy:\"Insert code block\",cz:\"Align left\",da:\"Align right\",db:\"Align center\",dc:\"Justify\",dd:\"Text alignment\",de:\"Text alignment toolbar\",df:\"Insert table\",dg:\"Header column\",dh:\"Insert column left\",di:\"Insert column right\",dj:\"Delete column\",dk:\"Column\",dl:\"Header row\",dm:\"Insert row below\",dn:\"Insert row above\",do:\"Delete row\",dp:\"Row\",dq:\"Merge cell up\",dr:\"Merge cell right\",ds:\"Merge cell down\",dt:\"Merge cell left\",du:\"Split cell vertically\",dv:\"Split cell horizontally\",dw:\"Merge cells\",dx:\"Plain text\"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));(function t(e,n){if(typeof exports===\"object\"&&typeof module===\"object\")module.exports=n();else if(typeof define===\"function\"&&define.amd)define([],n);else if(typeof exports===\"object\")exports[\"ClassicEditor\"]=n();else e[\"ClassicEditor\"]=n()})(window,(function(){return function(t){var e={};function n(i){if(e[i]){return e[i].exports}var o=e[i]={i:i,l:false,exports:{}};t[i].call(o.exports,o,o.exports,n);o.l=true;return o.exports}n.m=t;n.c=e;n.d=function(t,e,i){if(!n.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:i})}};n.r=function(t){if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(t,\"__esModule\",{value:true})};n.t=function(t,e){if(e&1)t=n(t);if(e&8)return t;if(e&4&&typeof t===\"object\"&&t&&t.__esModule)return t;var i=Object.create(null);n.r(i);Object.defineProperty(i,\"default\",{enumerable:true,value:t});if(e&2&&typeof t!=\"string\")for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i};n.n=function(t){var e=t&&t.__esModule?function e(){return t[\"default\"]}:function e(){return t};n.d(e,\"a\",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p=\"\";return n(n.s=148)}([function(t,e,n){\"use strict\";n.d(e,\"b\",(function(){return o}));n.d(e,\"a\",(function(){return s}));const i=\"https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html\";class o extends Error{constructor(t,e,n){t=s(t);if(n){t+=\" \"+JSON.stringify(n)}super(t);this.name=\"CKEditorError\";this.context=e;this.data=n}is(t){return t===\"CKEditorError\"}static rethrowUnexpectedError(t,e){if(t.is&&t.is(\"CKEditorError\")){throw t}const n=new o(t.message,e);n.stack=t.stack;throw n}}function s(t){const e=t.match(/^([^:]+):/);if(!e){return t}return t+` Read more: ${i}#error-${e[1]}\\n`}},function(t,e,n){\"use strict\";var i=function t(){var e;return function t(){if(typeof e===\"undefined\"){e=Boolean(window&&document&&document.all&&!window.atob)}return e}}();var o=function t(){var e={};return function t(n){if(typeof e[n]===\"undefined\"){var i=document.querySelector(n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement){try{i=i.contentDocument.head}catch(t){i=null}}e[n]=i}return e[n]}}();var s=[];function r(t){var e=-1;for(var n=0;n<s.length;n++){if(s[n].identifier===t){e=n;break}}return e}function a(t,e){var n={};var i=[];for(var o=0;o<t.length;o++){var a=t[o];var c=e.base?a[0]+e.base:a[0];var l=n[c]||0;var d=\"\".concat(c,\" \").concat(l);n[c]=l+1;var u=r(d);var h={css:a[1],media:a[2],sourceMap:a[3]};if(u!==-1){s[u].references++;s[u].updater(h)}else{s.push({identifier:d,updater:g(h,e),references:1})}i.push(d)}return i}function c(t){var e=document.createElement(\"style\");var i=t.attributes||{};if(typeof i.nonce===\"undefined\"){var s=true?n.nc:undefined;if(s){i.nonce=s}}Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])}));if(typeof t.insert===\"function\"){t.insert(e)}else{var r=o(t.insert||\"head\");if(!r){throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\")}r.appendChild(e)}return e}function l(t){if(t.parentNode===null){return false}t.parentNode.removeChild(t)}var d=function t(){var e=[];return function t(n,i){e[n]=i;return e.filter(Boolean).join(\"\\n\")}}();function u(t,e,n,i){var o=n?\"\":i.media?\"@media \".concat(i.media,\" {\").concat(i.css,\"}\"):i.css;if(t.styleSheet){t.styleSheet.cssText=d(e,o)}else{var s=document.createTextNode(o);var r=t.childNodes;if(r[e]){t.removeChild(r[e])}if(r.length){t.insertBefore(s,r[e])}else{t.appendChild(s)}}}function h(t,e,n){var i=n.css;var o=n.media;var s=n.sourceMap;if(o){t.setAttribute(\"media\",o)}else{t.removeAttribute(\"media\")}if(s&&btoa){i+=\"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s)))),\" */\")}if(t.styleSheet){t.styleSheet.cssText=i}else{while(t.firstChild){t.removeChild(t.firstChild)}t.appendChild(document.createTextNode(i))}}var f=null;var m=0;function g(t,e){var n;var i;var o;if(e.singleton){var s=m++;n=f||(f=c(e));i=u.bind(null,n,s,false);o=u.bind(null,n,s,true)}else{n=c(e);i=h.bind(null,n,e);o=function t(){l(n)}}i(t);return function e(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap){return}i(t=n)}else{o()}}}t.exports=function(t,e){e=e||{};if(!e.singleton&&typeof e.singleton!==\"boolean\"){e.singleton=i()}t=t||[];var n=a(t,e);return function t(i){i=i||[];if(Object.prototype.toString.call(i)!==\"[object Array]\"){return}for(var o=0;o<n.length;o++){var c=n[o];var l=r(c);s[l].references--}var d=a(i,e);for(var u=0;u<n.length;u++){var h=n[u];var f=r(h);if(s[f].references===0){s[f].updater();s.splice(f,1)}}n=d}}},,function(t,e,n){\"use strict\";var i=n(8);var o=typeof self==\"object\"&&self&&self.Object===Object&&self;var s=i[\"a\"]||o||Function(\"return this\")();e[\"a\"]=s},function(t,e,n){\"use strict\";(function(t){var i=n(8);var o=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports;var s=o&&typeof t==\"object\"&&t&&!t.nodeType&&t;var r=s&&s.exports===o;var a=r&&i[\"a\"].process;var c=function(){try{var t=s&&s.require&&s.require(\"util\").types;if(t){return t}return a&&a.binding&&a.binding(\"util\")}catch(t){}}();e[\"a\"]=c}).call(this,n(9)(t))},function(t,e,n){var i=n(125);var o=n(15);var s=36e5;var r=6e4;var a=2;var c=/[T ]/;var l=/:/;var d=/^(\\d{2})$/;var u=[/^([+-]\\d{2})$/,/^([+-]\\d{3})$/,/^([+-]\\d{4})$/];var h=/^(\\d{4})/;var f=[/^([+-]\\d{4})/,/^([+-]\\d{5})/,/^([+-]\\d{6})/];var m=/^-(\\d{2})$/;var g=/^-?(\\d{3})$/;var p=/^-?(\\d{2})-?(\\d{2})$/;var b=/^-?W(\\d{2})$/;var w=/^-?W(\\d{2})-?(\\d{1})$/;var _=/^(\\d{2}([.,]\\d*)?)$/;var v=/^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/;var k=/^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/;var x=/([Z+-].*)$/;var y=/^(Z)$/;var A=/^([+-])(\\d{2})$/;var C=/^([+-])(\\d{2}):?(\\d{2})$/;function T(t,e){if(o(t)){return new Date(t.getTime())}else if(typeof t!==\"string\"){return new Date(t)}var n=e||{};var s=n.additionalDigits;if(s==null){s=a}else{s=Number(s)}var c=M(t);var l=E(c.date,s);var d=l.year;var u=l.restDateString;var h=P(u,d);if(h){var f=h.getTime();var m=0;var g;if(c.time){m=S(c.time)}if(c.timezone){g=I(c.timezone)*r}else{var p=f+m;var b=new Date(p);g=i(b);var w=new Date(p);w.setDate(b.getDate()+1);var _=i(w)-i(b);if(_>0){g+=_}}return new Date(f+m+g)}else{return new Date(t)}}function M(t){var e={};var n=t.split(c);var i;if(l.test(n[0])){e.date=null;i=n[0]}else{e.date=n[0];i=n[1]}if(i){var o=x.exec(i);if(o){e.time=i.replace(o[1],\"\");e.timezone=o[1]}else{e.time=i}}return e}function E(t,e){var n=u[e];var i=f[e];var o;o=h.exec(t)||i.exec(t);if(o){var s=o[1];return{year:parseInt(s,10),restDateString:t.slice(s.length)}}o=d.exec(t)||n.exec(t);if(o){var r=o[1];return{year:parseInt(r,10)*100,restDateString:t.slice(r.length)}}return{year:null}}function P(t,e){if(e===null){return null}var n;var i;var o;var s;if(t.length===0){i=new Date(0);i.setUTCFullYear(e);return i}n=m.exec(t);if(n){i=new Date(0);o=parseInt(n[1],10)-1;i.setUTCFullYear(e,o);return i}n=g.exec(t);if(n){i=new Date(0);var r=parseInt(n[1],10);i.setUTCFullYear(e,0,r);return i}n=p.exec(t);if(n){i=new Date(0);o=parseInt(n[1],10)-1;var a=parseInt(n[2],10);i.setUTCFullYear(e,o,a);return i}n=b.exec(t);if(n){s=parseInt(n[1],10)-1;return O(e,s)}n=w.exec(t);if(n){s=parseInt(n[1],10)-1;var c=parseInt(n[2],10)-1;return O(e,s,c)}return null}function S(t){var e;var n;var i;e=_.exec(t);if(e){n=parseFloat(e[1].replace(\",\",\".\"));return n%24*s}e=v.exec(t);if(e){n=parseInt(e[1],10);i=parseFloat(e[2].replace(\",\",\".\"));return n%24*s+i*r}e=k.exec(t);if(e){n=parseInt(e[1],10);i=parseInt(e[2],10);var o=parseFloat(e[3].replace(\",\",\".\"));return n%24*s+i*r+o*1e3}return null}function I(t){var e;var n;e=y.exec(t);if(e){return 0}e=A.exec(t);if(e){n=parseInt(e[2],10)*60;return e[1]===\"+\"?-n:n}e=C.exec(t);if(e){n=parseInt(e[2],10)*60+parseInt(e[3],10);return e[1]===\"+\"?-n:n}return 0}function O(t,e,n){e=e||0;n=n||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var o=i.getUTCDay()||7;var s=e*7+n+1-o;i.setUTCDate(i.getUTCDate()+s);return i}t.exports=T},function(t,e,n){\"use strict\";(function(t){var i=n(3);var o=n(17);var s=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports;var r=s&&typeof t==\"object\"&&t&&!t.nodeType&&t;var a=r&&r.exports===s;var c=a?i[\"a\"].Buffer:undefined;var l=c?c.isBuffer:undefined;var d=l||o[\"a\"];e[\"a\"]=d}).call(this,n(9)(t))},function(t,e,n){\"use strict\";(function(t){var e=n(0);const i=\"16.0.0\";const o=typeof window===\"object\"?window:t;if(o.CKEDITOR_VERSION){throw new e[\"b\"](\"ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.\",null)}else{o.CKEDITOR_VERSION=i}}).call(this,n(12))},function(t,e,n){\"use strict\";(function(t){var n=typeof t==\"object\"&&t&&t.Object===Object&&t;e[\"a\"]=n}).call(this,n(12))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);if(!e.children)e.children=[];Object.defineProperty(e,\"loaded\",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,\"id\",{enumerable:true,get:function(){return e.i}});Object.defineProperty(e,\"exports\",{enumerable:true});e.webpackPolyfill=1}return e}},function(t,e,n){var i=n(129);function o(t){return i(t,{weekStartsOn:1})}t.exports=o},function(t,e,n){var i=n(127);var o=6e4;var s=864e5;function r(t,e){var n=i(t);var r=i(e);var a=n.getTime()-n.getTimezoneOffset()*o;var c=r.getTime()-r.getTimezoneOffset()*o;return Math.round((a-c)/s)}t.exports=r},function(t,e){var n;n=function(){return this}();try{n=n||new Function(\"return this\")()}catch(t){if(typeof window===\"object\")n=window}t.exports=n},function(t,e,n){var i=n(1);var o=n(53);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e,n){var i=n(1);var o=n(92);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){function n(t){return t instanceof Date}t.exports=n},function(t,e,n){var i=n(5);var o=n(10);function s(t){var e=i(t);var n=e.getFullYear();var s=new Date(0);s.setFullYear(n+1,0,4);s.setHours(0,0,0,0);var r=o(s);var a=new Date(0);a.setFullYear(n,0,4);a.setHours(0,0,0,0);var c=o(a);if(e.getTime()>=r.getTime()){return n+1}else if(e.getTime()>=c.getTime()){return n}else{return n-1}}t.exports=s},function(t,e,n){\"use strict\";function i(){return false}e[\"a\"]=i},function(t,e,n){\"use strict\";(function(t){var i=n(3);var o=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports;var s=o&&typeof t==\"object\"&&t&&!t.nodeType&&t;var r=s&&s.exports===o;var a=r?i[\"a\"].Buffer:undefined,c=a?a.allocUnsafe:undefined;function l(t,e){if(e){return t.slice()}var n=t.length,i=c?c(n):new t.constructor(n);t.copy(i);return i}e[\"a\"]=l}).call(this,n(9)(t))},function(t){t.exports=JSON.parse('{\"ar\":{\"latex\":\"LaTeX\",\"cancel\":\"إلغاء\",\"accept\":\"موا�?ق\",\"manual\":\"الدليل\",\"insert_math\":\"إدراج صيغة رياضية - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"ca\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancel·lar\",\"accept\":\"Acceptar\",\"manual\":\"Manual\",\"insert_math\":\"Inserir fórmula matemàtica - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"cs\":{\"latex\":\"LaTeX\",\"cancel\":\"Storno\",\"accept\":\"OK\",\"manual\":\"Příru�?ka\",\"insert_math\":\"Vložit matematický vzorec - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"da\":{\"latex\":\"LaTeX\",\"cancel\":\"Annuller\",\"accept\":\"OK\",\"manual\":\"Brugervejledning\",\"insert_math\":\"Indsæt matematisk formel - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"de\":{\"latex\":\"LaTeX\",\"cancel\":\"Abbrechen\",\"accept\":\"OK\",\"manual\":\"Handbuch\",\"insert_math\":\"Mathematische Formel einfügen - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"en\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancel\",\"accept\":\"OK\",\"manual\":\"Manual\",\"insert_math\":\"Insert a math equation - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"es\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancelar\",\"accept\":\"Aceptar\",\"manual\":\"Manual\",\"insert_math\":\"Insertar fórmula matemática - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"et\":{\"latex\":\"LaTeX\",\"cancel\":\"Loobu\",\"accept\":\"OK\",\"manual\":\"Käsiraamat\",\"insert_math\":\"Lisa matemaatiline valem – WIRIS\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"eu\":{\"latex\":\"LaTeX\",\"cancel\":\"Ezeztatu\",\"accept\":\"Onartu\",\"manual\":\"Gida\",\"insert_math\":\"Txertatu matematikako formula - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"fi\":{\"latex\":\"LaTeX\",\"cancel\":\"Peruuta\",\"accept\":\"OK\",\"manual\":\"Manual\",\"insert_math\":\"Liitä matemaattinen kaava - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"fr\":{\"latex\":\"LaTeX\",\"cancel\":\"Annuler\",\"accept\":\"OK\",\"manual\":\"Manuel\",\"insert_math\":\"Insérer une formule mathématique - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"gl\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancelar\",\"accept\":\"Aceptar\",\"manual\":\"Manual\",\"insert_math\":\"Inserir fórmula matemática - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"he\":{\"latex\":\"LaTeX\",\"cancel\":\"ביטול\",\"accept\":\"�?ישור\",\"manual\":\"מדריך\",\"insert_math\":\"הוסף נוסחה מתמטית - MathType\",\"insert_chem\":\"הוספת כתיבה כימית - ChemType\",\"minimize\":\"מזערי\",\"maximize\":\"מרבי\",\"fullscreen\":\"מסך מל�?\",\"exit_fullscreen\":\"יצי�?ה ממצב מסך מל�?\",\"close\":\"סגירה\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"ה�?�? לצ�?ת? שינויי�? �?שר בוצעו ימחקו.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" �?יננה פונקציה\",\"exception_invalid_date_format\":\"תסדיר ת�?ריך �?ינו תקין : \",\"exception_casting\":\"ל�? ניתן להמיר \",\"exception_casting_to\":\" ל \"},\"hr\":{\"latex\":\"LaTeX\",\"cancel\":\"Poništi\",\"accept\":\"U redu\",\"manual\":\"Priru�?nik\",\"insert_math\":\"Umetnite matemati�?ku formulu - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"hu\":{\"latex\":\"LaTeX\",\"cancel\":\"Mégsem\",\"accept\":\"OK\",\"manual\":\"Kézikönyv\",\"insert_math\":\"Matematikai képlet beszúrása - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"it\":{\"latex\":\"LaTeX\",\"cancel\":\"Annulla\",\"accept\":\"Accetta\",\"manual\":\"Manuale\",\"insert_math\":\"Inserisci una formula matematica - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"ja\":{\"latex\":\"LaTeX\",\"cancel\":\"キャンセル\",\"accept\":\"OK\",\"manual\":\"マニュアル\",\"insert_math\":\"数�?を挿入 - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"ko\":{\"latex\":\"LaTeX\",\"cancel\":\"취소\",\"accept\":\"승�?�\",\"manual\":\"설명서\",\"insert_math\":\"수학 공�? 삽입 - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"nl\":{\"latex\":\"LaTeX\",\"cancel\":\"Annuleren\",\"accept\":\"OK\",\"manual\":\"Handleiding\",\"insert_math\":\"Wiskundige formule invoegen - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"no\":{\"latex\":\"LaTeX\",\"cancel\":\"Avbryt\",\"accept\":\"OK\",\"manual\":\"Håndbok\",\"insert_math\":\"Sett inn matematikkformel - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"pl\":{\"latex\":\"LaTeX\",\"cancel\":\"Anuluj\",\"accept\":\"OK\",\"manual\":\"Instrukcja\",\"insert_math\":\"Wstaw formułę matematyczną - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"pt\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancelar\",\"accept\":\"OK\",\"manual\":\"Manual\",\"insert_math\":\"Inserir fórmula matemática - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"pt_br\":{\"latex\":\"LaTeX\",\"cancel\":\"Cancelar\",\"accept\":\"OK\",\"manual\":\"Manual\",\"insert_math\":\"Inserir fórmula matemática - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"ru\":{\"latex\":\"LaTeX\",\"cancel\":\"отмена\",\"accept\":\"OK\",\"manual\":\"вручную\",\"insert_math\":\"В�?тавить математиче�?кую формулу: WIRIS\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"sv\":{\"latex\":\"LaTeX\",\"cancel\":\"Avbryt\",\"accept\":\"OK\",\"manual\":\"Bruksanvisning\",\"insert_math\":\"Infoga matematisk formel - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"tr\":{\"latex\":\"LaTeX\",\"cancel\":\"Vazgeç\",\"accept\":\"Tamam\",\"manual\":\"Kılavuz\",\"insert_math\":\"Matematik formülü ekle - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"zh\":{\"latex\":\"LaTeX\",\"cancel\":\"�?�消\",\"accept\":\"确定\",\"manual\":\"手册\",\"insert_math\":\"�?�入数学公�? - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"el\":{\"latex\":\"LaTeX\",\"cancel\":\"Άκυ�?ο\",\"accept\":\"ΟΚ\",\"manual\":\"Χει�?οκίνητα\",\"insert_math\":\"Εισαγωγή μαθηματικο�? τ�?που - MathType\",\"insert_chem\":\"Insert a chemistry formula - ChemType\",\"minimize\":\"Minimize\",\"maximize\":\"Maximize\",\"fullscreen\":\"Full-screen\",\"exit_fullscreen\":\"Exit full-screen\",\"close\":\"Close\",\"mathtype\":\"MathType\",\"title_modalwindow\":\"MathType modal window\",\"close_modal_warning\":\"Are you sure you want to leave? The changes you made will be lost.\",\"latex_name_label\":\"Latex Formula\",\"browser_no_compatible\":\"Your browser is not compatible with AJAX technology. Please, use the latest version of Mozilla Firefox.\",\"error_convert_accessibility\":\"Error converting from MathML to accessible text.\",\"exception_cross_site\":\"Cross site scripting is only allowed for HTTP.\",\"exception_high_surrogate\":\"High surrogate not followed by low surrogate in fixedCharCodeAt()\",\"exception_string_length\":\"Invalid string. Length must be a multiple of 4\",\"exception_key_nonobject\":\"Object.keys called on non-object\",\"exception_null_or_undefined\":\" this is null or not defined\",\"exception_not_function\":\" is not a function\",\"exception_invalid_date_format\":\"Invalid date format : \",\"exception_casting\":\"Cannot cast \",\"exception_casting_to\":\" to \"},\"\":{}}')},function(t,e,n){var i=n(124);var o=n(128);var s=n(16);var r=n(5);var a=n(131);var c=n(132);function l(t,e,n){var i=e?String(e):\"YYYY-MM-DDTHH:mm:ss.SSSZ\";var o=n||{};var s=o.locale;var l=c.format.formatters;var d=c.format.formattingTokensRegExp;if(s&&s.format&&s.format.formatters){l=s.format.formatters;if(s.format.formattingTokensRegExp){d=s.format.formattingTokensRegExp}}var h=r(t);if(!a(h)){return\"Invalid Date\"}var f=u(i,l,d);return f(h)}var d={M:function(t){return t.getMonth()+1},MM:function(t){return m(t.getMonth()+1,2)},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},D:function(t){return t.getDate()},DD:function(t){return m(t.getDate(),2)},DDD:function(t){return i(t)},DDDD:function(t){return m(i(t),3)},d:function(t){return t.getDay()},E:function(t){return t.getDay()||7},W:function(t){return o(t)},WW:function(t){return m(o(t),2)},YY:function(t){return m(t.getFullYear(),4).substr(2)},YYYY:function(t){return m(t.getFullYear(),4)},GG:function(t){return String(s(t)).substr(2)},GGGG:function(t){return s(t)},H:function(t){return t.getHours()},HH:function(t){return m(t.getHours(),2)},h:function(t){var e=t.getHours();if(e===0){return 12}else if(e>12){return e%12}else{return e}},hh:function(t){return m(d[\"h\"](t),2)},m:function(t){return t.getMinutes()},mm:function(t){return m(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return m(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return m(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return m(t.getMilliseconds(),3)},Z:function(t){return f(t.getTimezoneOffset(),\":\")},ZZ:function(t){return f(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function u(t,e,n){var i=t.match(n);var o=i.length;var s;var r;for(s=0;s<o;s++){r=e[i[s]]||d[i[s]];if(r){i[s]=r}else{i[s]=h(i[s])}}return function(t){var e=\"\";for(var n=0;n<o;n++){if(i[n]instanceof Function){e+=i[n](t,d)}else{e+=i[n]}}return e}}function h(t){if(t.match(/\\[[\\s\\S]/)){return t.replace(/^\\[|]$/g,\"\")}return t.replace(/\\\\/g,\"\")}function f(t,e){e=e||\"\";var n=t>0?\"-\":\"+\";var i=Math.abs(t);var o=Math.floor(i/60);var s=i%60;return n+m(o,2)+e+m(s,2)}function m(t,e){var n=Math.abs(t).toString();while(n.length<e){n=\"0\"+n}return n}t.exports=l},function(t,e,n){var i=n(1);var o=n(22);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-placeholder:before,.ck .ck-placeholder:before{content:attr(data-placeholder);pointer-events:none}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-placeholder:before,.ck .ck-placeholder:before{cursor:text;color:var(--ck-color-engine-placeholder-text)}\"},function(t,e,n){var i=n(1);var o=n(24);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-hidden{display:none!important}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{box-sizing:border-box;width:auto;height:auto;position:static}:root{--ck-z-default:1;--ck-z-modal:calc(var(--ck-z-default) + 999);--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#c4c4c4;--ck-color-base-action:#61b045;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#198cf0;--ck-color-base-active-focus:#0e7fe1;--ck-color-base-error:#db3700;--ck-color-focus-border:#1f89e5;--ck-color-focus-outer-shadow:#bcdefb;--ck-color-focus-disabled-shadow:rgba(119,186,248,0.3);--ck-color-focus-error-shadow:rgba(255,64,31,0.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,0.15);--ck-color-shadow-drop-active:rgba(0,0,0,0.2);--ck-color-shadow-inner:rgba(0,0,0,0.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#e6e6e6;--ck-color-button-default-active-background:#d9d9d9;--ck-color-button-default-active-shadow:#bfbfbf;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#dedede;--ck-color-button-on-hover-background:#c4c4c4;--ck-color-button-on-active-background:#bababa;--ck-color-button-on-active-shadow:#a1a1a1;--ck-color-button-on-disabled-background:#dedede;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#579e3d;--ck-color-button-action-active-background:#53973b;--ck-color-button-action-active-shadow:#498433;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#b0b0b0;--ck-color-switch-button-off-hover-background:#a3a3a3;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#579e3d;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,0.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:#c7c7c7;--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:#c7c7c7;--ck-color-input-disabled-text:#5c5c5c;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-base-active);--ck-color-list-button-on-background-focus:var(--ck-color-base-active-focus);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-foreground);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,177,255,0.1);--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck.ck-reset,.ck.ck-reset_all,.ck.ck-reset_all *{margin:0;padding:0;border:0;background:transparent;text-decoration:none;vertical-align:middle;transition:none;word-wrap:break-word}.ck.ck-reset_all,.ck.ck-reset_all *{border-collapse:collapse;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);color:var(--ck-color-text);text-align:left;white-space:nowrap;cursor:auto;float:none}.ck.ck-reset_all .ck-rtl *{text-align:right}.ck.ck-reset_all iframe{vertical-align:inherit}.ck.ck-reset_all textarea{white-space:pre-wrap}.ck.ck-reset_all input[type=password],.ck.ck-reset_all input[type=text],.ck.ck-reset_all textarea{cursor:text}.ck.ck-reset_all input[type=password][disabled],.ck.ck-reset_all input[type=text][disabled],.ck.ck-reset_all textarea[disabled]{cursor:default}.ck.ck-reset_all fieldset{padding:10px;border:2px groove #dfdee3}.ck.ck-reset_all button::-moz-focus-inner{padding:0;border:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}\"},function(t,e,n){var i=n(1);var o=n(26);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0}.ck.ck-editor__editable_inline{overflow:auto;padding:0 var(--ck-spacing-standard);border:1px solid transparent}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-base-foreground)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-base-foreground)}\"},function(t,e,n){var i=n(1);var o=n(28);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}\"},function(t,e,n){var i=n(1);var o=n(30);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{z-index:var(--ck-z-modal);position:fixed;top:0}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{top:auto;position:absolute}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{box-shadow:var(--ck-drop-shadow),0 0;border-width:0 1px 1px;border-top-left-radius:0;border-top-right-radius:0}\"},function(t,e,n){var i=n(1);var o=n(32);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on .ck-tooltip{display:none}.ck.ck-dropdown .ck-dropdown__panel{-webkit-backface-visibility:hidden;display:none;z-index:var(--ck-z-modal);position:absolute}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{top:100%;bottom:auto}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}:root{--ck-dropdown-arrow-size:calc(0.5*var(--ck-icon-size))}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{width:7em;overflow:hidden;text-overflow:ellipsis}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown__panel{box-shadow:var(--ck-drop-shadow),0 0;border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;min-width:100%}\"},function(t,e,n){var i=n(1);var o=n(34);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{width:var(--ck-icon-size);height:var(--ck-icon-size);font-size:.8333350694em;will-change:transform}.ck.ck-icon,.ck.ck-icon *{color:inherit;cursor:inherit}.ck.ck-icon :not([fill]){fill:currentColor}\"},function(t,e,n){var i=n(1);var o=n(36);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports='.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{position:absolute;pointer-events:none;-webkit-backface-visibility:hidden}.ck.ck-tooltip{visibility:hidden;opacity:0;display:none;z-index:var(--ck-z-modal)}.ck.ck-tooltip .ck-tooltip__text{display:inline-block}.ck.ck-tooltip .ck-tooltip__text:after{content:\"\";width:0;height:0}:root{--ck-tooltip-arrow-size:5px}.ck.ck-tooltip{left:50%;top:0;transition:opacity .2s ease-in-out .2s}.ck.ck-tooltip .ck-tooltip__text{border-radius:0}.ck-rounded-corners .ck.ck-tooltip .ck-tooltip__text,.ck.ck-tooltip .ck-tooltip__text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-tooltip .ck-tooltip__text{font-size:.9em;line-height:1.5;color:var(--ck-color-tooltip-text);padding:var(--ck-spacing-small) var(--ck-spacing-medium);background:var(--ck-color-tooltip-background);position:relative;left:-50%}.ck.ck-tooltip .ck-tooltip__text:after{transition:opacity .2s ease-in-out .2s;border-style:solid;left:50%}.ck.ck-tooltip.ck-tooltip_s{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(100%)}.ck.ck-tooltip.ck-tooltip_s .ck-tooltip__text:after{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:var(--ck-color-tooltip-background);border-right-color:transparent;border-top-color:transparent;border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:var(--ck-tooltip-arrow-size);border-right-width:var(--ck-tooltip-arrow-size);border-top-width:0}.ck.ck-tooltip.ck-tooltip_n{top:calc(-1*var(--ck-tooltip-arrow-size));transform:translateY(-100%)}.ck.ck-tooltip.ck-tooltip_n .ck-tooltip__text:after{bottom:calc(-1*var(--ck-tooltip-arrow-size));transform:translateX(-50%);border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-top-color:var(--ck-color-tooltip-background);border-left-width:var(--ck-tooltip-arrow-size);border-bottom-width:0;border-right-width:var(--ck-tooltip-arrow-size);border-top-width:var(--ck-tooltip-arrow-size)}'},function(t,e,n){var i=n(1);var o=n(38);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-button,a.ck.ck-button{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:block}@media (hover:none){.ck.ck-button .ck-tooltip,a.ck.ck-button .ck-tooltip{display:none}}.ck.ck-button,a.ck.ck-button{position:relative;display:inline-flex;align-items:center;justify-content:left}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button:hover .ck-tooltip,a.ck.ck-button:hover .ck-tooltip{visibility:visible;opacity:1}.ck.ck-button:focus:not(:hover) .ck-tooltip,a.ck.ck-button:focus:not(:hover) .ck-tooltip{display:none}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-default-active-shadow)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{white-space:nowrap;cursor:default;vertical-align:middle;padding:var(--ck-spacing-tiny);text-align:center;min-width:var(--ck-ui-component-min-height);min-height:var(--ck-ui-component-min-height);line-height:1;font-size:inherit;border:1px solid transparent;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;-webkit-appearance:none}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{font-size:inherit;font-weight:inherit;color:inherit;cursor:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__icon{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(-1*var(--ck-spacing-small));margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-right:calc(-1*var(--ck-spacing-small));margin-left:var(--ck-spacing-small)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-on-active-shadow)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background);box-shadow:inset 0 2px 2px var(--ck-color-button-action-active-shadow)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}\"},function(t,e,n){var i=n(1);var o=n(40);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-list{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{list-style-type:none;background:var(--ck-color-list-background)}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{min-height:unset;width:100%;text-align:left;border-radius:0;padding:calc(0.2*var(--ck-line-height-base)*var(--ck-font-size-base)) calc(0.4*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(1.2*var(--ck-line-height-base)*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck.ck-list__separator{height:1px;width:100%;background:var(--ck-color-base-border)}\"},function(t,e,n){var i=n(1);var o=n(42);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:1.0769230769em;--ck-switch-button-toggle-spacing:1px;--ck-switch-button-translation:1.3846153847em}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(2*var(--ck-spacing-large))}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(2*var(--ck-spacing-large))}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{transition:background .4s ease;width:var(--ck-switch-button-toggle-width);background:var(--ck-color-switch-button-off-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(0.5*var(--ck-border-radius))}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{margin:var(--ck-switch-button-toggle-spacing);width:var(--ck-switch-button-toggle-inner-size);height:var(--ck-switch-button-toggle-inner-size);background:var(--ck-color-switch-button-inner-background);transition:all .3s ease}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var(--ck-switch-button-translation))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(-1*var(--ck-switch-button-translation)))}\"},function(t,e,n){var i=n(1);var o=n(44);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-toolbar-dropdown .ck.ck-toolbar .ck.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar-dropdown .ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}\"},function(t,e,n){var i=n(1);var o=n(46);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}\"},function(t,e,n){var i=n(1);var o=n(48);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-toolbar{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-flow:row nowrap;align-items:center}.ck.ck-toolbar>.ck-toolbar__items{display:flex;flex-flow:row wrap;align-items:center;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);padding:0 var(--ck-spacing-small);border:1px solid var(--ck-color-toolbar-border)}.ck.ck-toolbar>.ck-toolbar__items>*{margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{width:100%;margin:0;border-radius:0;border:0}.ck.ck-toolbar>.ck-toolbar__items>*,.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;width:1px;min-width:1px;margin-top:0;margin-bottom:0;background:var(--ck-color-toolbar-border)}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__grouped-dropdown,[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{padding-right:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__items>*,[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__items>*{margin-left:var(--ck-spacing-small);margin-right:0}.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__items>:last-child,[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__items>:last-child{margin-left:0}.ck.ck-toolbar[dir=rtl].ck-toolbar_grouping>.ck-toolbar__items,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__grouped-dropdown,[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{padding-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__items>:last-child,[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__items>:last-child{margin-right:0}.ck.ck-toolbar[dir=ltr].ck-toolbar_grouping>.ck-toolbar__items,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{margin-right:var(--ck-spacing-small)}\"},function(t,e,n){var i=n(1);var o=n(50);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-modal)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}\"},function(t,e,n){var i=n(1);var o=n(52);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:5px solid #ccc}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}\"},function(t,e){t.exports=\".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}\"},function(t,e,n){var i=n(1);var o=n(55);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-resizer-size:10px;--ck-resizer-border-width:1px;--ck-resizer-border-radius:2px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-tooltip-offset:10px;--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2}.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected .ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover .ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);color:var(--ck-color-resizer-tooltip-text);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);font-size:var(--ck-font-size-tiny);display:block;padding:var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{top:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{top:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-width:var(--ck-widget-outline-thickness);outline-style:solid;outline-color:transparent;transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;background-color:var(--ck-color-widget-editable-focus-background)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{padding:4px;box-sizing:border-box;background-color:transparent;opacity:0;transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;transform:translateY(-100%);left:calc(0px - var(--ck-widget-outline-thickness))}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{width:var(--ck-widget-handler-icon-size);height:var(--ck-widget-handler-icon-size);color:var(--ck-color-widget-drag-handler-icon-color)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover .ck-widget__selection-handle{opacity:1;background-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected .ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover .ck-widget__selection-handle{opacity:1;background-color:var(--ck-color-focus-border)}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child,.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle .ck-widget__selection-handle:hover,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck-editor__editable.ck-read-only .ck-widget{--ck-widget-outline-thickness:0}\"},function(t,e,n){var i=n(1);var o=n(57);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-labeled-input .ck-labeled-input__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-input .ck-labeled-input__status_error{color:var(--ck-color-base-error)}\"},function(t,e,n){var i=n(1);var o=n(59);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-input-text-width:18em}.ck.ck-input-text{border-radius:0}.ck-rounded-corners .ck.ck-input-text,.ck.ck-input-text.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-text{box-shadow:var(--ck-inner-shadow),0 0;background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);min-width:var(--ck-input-text-width);min-height:var(--ck-ui-component-min-height);transition:box-shadow .2s ease-in-out,border .2s ease-in-out}.ck.ck-input-text:focus{outline:none;border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text[readonly]{border:1px solid var(--ck-color-input-disabled-border);background:var(--ck-color-input-disabled-background);color:var(--ck-color-input-disabled-text)}.ck.ck-input-text[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),var(--ck-inner-shadow)}.ck.ck-input-text.ck-error{border-color:var(--ck-color-input-error-border);animation:ck-text-input-shake .3s ease both}.ck.ck-input-text.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),var(--ck-inner-shadow)}@keyframes ck-text-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}\"},function(t,e,n){var i=n(1);var o=n(61);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-input{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-input{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}.ck.ck-text-alternative-form{padding:var(--ck-spacing-standard)}.ck.ck-text-alternative-form:focus{outline:none}[dir=ltr] .ck.ck-text-alternative-form>:not(:first-child),[dir=rtl] .ck.ck-text-alternative-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-text-alternative-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-text-alternative-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-text-alternative-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-text-alternative-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-text-alternative-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-text-alternative-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-text-alternative-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-text-alternative-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}\"},function(t,e,n){var i=n(1);var o=n(63);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-modal)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:\"\";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{width:0;height:0;border-style:solid}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:var(--ck-balloon-arrow-height);border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:0}.ck.ck-balloon-panel[class*=arrow_n]:before{border-bottom-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-left-color:transparent;border-right-color:transparent;border-top-color:transparent}.ck.ck-balloon-panel[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background);margin-top:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-width:var(--ck-balloon-arrow-half-width);border-bottom-width:0;border-right-width:var(--ck-balloon-arrow-half-width);border-top-width:var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-top-color:var(--ck-color-panel-border)}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent}.ck.ck-balloon-panel[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background);margin-bottom:var(--ck-balloon-arrow-offset)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(2*var(--ck-balloon-arrow-half-width));top:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{left:50%;margin-left:calc(-1*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{left:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{right:calc(2*var(--ck-balloon-arrow-half-width));bottom:calc(-1*var(--ck-balloon-arrow-height))}'},function(t,e,n){var i=n(1);var o=n(65);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-balloon-rotator__navigation{display:flex;align-items:center;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);margin-bottom:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-right:var(--ck-spacing-standard);margin-left:var(--ck-spacing-small)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}\"},function(t,e,n){var i=n(1);var o=n(67);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-modal) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{box-shadow:var(--ck-drop-shadow),0 0;min-height:15px;background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);width:100%;height:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}\"},function(t,e,n){var i=n(1);var o=n(69);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content .image{display:table;clear:both;text-align:center;margin:1em auto}.ck-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}\"},function(t,e,n){var i=n(1);var o=n(71);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}\"},function(t,e,n){var i=n(1);var o=n(73);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-image-style-spacing:1.5em}.ck-content .image-style-align-center,.ck-content .image-style-align-left,.ck-content .image-style-align-right,.ck-content .image-style-side{max-width:50%}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}\"},function(t,e,n){var i=n(1);var o=n(75);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}\"},function(t,e,n){var i=n(1);var o=n(77);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-input{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form{padding:var(--ck-spacing-standard)}.ck.ck-link-form:focus{outline:none}[dir=ltr] .ck.ck-link-form>:not(:first-child),[dir=rtl] .ck.ck-link-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-link-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-link-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}.ck.ck-link-form_layout-vertical{padding:0;min-width:var(--ck-input-text-width)}.ck.ck-link-form_layout-vertical .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical .ck-button{padding:var(--ck-spacing-standard);margin:0;border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border);width:50%}[dir=ltr] .ck.ck-link-form_layout-vertical .ck-button{margin-left:0}[dir=ltr] .ck.ck-link-form_layout-vertical .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin-left:0}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{border:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}\"},function(t,e,n){var i=n(1);var o=n(79);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions{padding:var(--ck-spacing-standard)}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{padding:0 var(--ck-spacing-medium);color:var(--ck-color-link-default);text-overflow:ellipsis;cursor:pointer;max-width:var(--ck-input-text-width);min-width:3em;text-align:center}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}.ck.ck-link-actions:focus{outline:none}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{min-width:0;max-width:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview):first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview):last-of-type{border-right:1px solid var(--ck-color-base-border)}}\"},function(t,e,n){var i=n(1);var o=n(81);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports='.ck-media__wrapper .ck-media__placeholder{display:flex;flex-direction:column;align-items:center}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:block}@media (hover:none){.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-tooltip{display:none}}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url:hover .ck-tooltip{visibility:visible;opacity:1}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{overflow:hidden;display:block}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"google.com/maps\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{padding:calc(3*var(--ck-spacing-standard));background:var(--ck-color-base-foreground)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{min-width:var(--ck-media-embed-placeholder-icon-size);height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);background-position:50%;background-size:cover}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{width:100%;height:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);white-space:nowrap;text-align:center;font-style:italic;text-overflow:ellipsis}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*=\"open.spotify.com\"]{max-width:300px;max-height:380px}.ck-media__wrapper[data-oembed-url*=\"google.com/maps\"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMDAzLjc4IDEuNjFoNDkuNjIxYzEuNjk0IDAgMy4xOS0uNzk4IDQuMTQ2LTIuMDM3eiIgZmlsbD0iIzVjODhjNSIvPjxwYXRoIGQ9Ik0yMjYuNzQyIDIyMi45ODhjLTkuMjY2IDAtMTYuNzc3IDcuMTctMTYuNzc3IDE2LjAxNC4wMDcgMi43NjIuNjYzIDUuNDc0IDIuMDkzIDcuODc1LjQzLjcwMy44MyAxLjQwOCAxLjE5IDIuMTA3LjMzMy41MDIuNjUgMS4wMDUuOTUgMS41MDguMzQzLjQ3Ny42NzMuOTU3Ljk4OCAxLjQ0IDEuMzEgMS43NjkgMi41IDMuNTAyIDMuNjM3IDUuMTY4Ljc5MyAxLjI3NSAxLjY4MyAyLjY0IDIuNDY2IDMuOTkgMi4zNjMgNC4wOTQgNC4wMDcgOC4wOTIgNC42IDEzLjkxNHYuMDEyYy4xODIuNDEyLjUxNi42NjYuODc5LjY2Ny40MDMtLjAwMS43NjgtLjMxNC45My0uNzk5LjYwMy01Ljc1NiAyLjIzOC05LjcyOSA0LjU4NS0xMy43OTQuNzgyLTEuMzUgMS42NzMtMi43MTUgMi40NjUtMy45OSAxLjEzNy0xLjY2NiAyLjMyOC0zLjQgMy42MzgtNS4xNjkuMzE1LS40ODIuNjQ1LS45NjIuOTg4LTEuNDM5LjMtLjUwMy42MTctMS4wMDYuOTUtMS41MDguMzU5LS43Ljc2LTEuNDA0IDEuMTktMi4xMDcgMS40MjYtMi40MDIgMi01LjExNCAyLjAwNC03Ljg3NSAwLTguODQ0LTcuNTExLTE2LjAxNC0xNi43NzYtMTYuMDE0eiIgZmlsbD0iI2RkNGIzZSIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48ZWxsaXBzZSByeT0iNS41NjQiIHJ4PSI1LjgyOCIgY3k9IjIzOS4wMDIiIGN4PSIyMjYuNzQyIiBmaWxsPSIjODAyZDI3IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0xOTAuMzAxIDIzNy4yODNjLTQuNjcgMC04LjQ1NyAzLjg1My04LjQ1NyA4LjYwNnMzLjc4NiA4LjYwNyA4LjQ1NyA4LjYwN2MzLjA0MyAwIDQuODA2LS45NTggNi4zMzctMi41MTYgMS41My0xLjU1NyAyLjA4Ny0zLjkxMyAyLjA4Ny02LjI5IDAtLjM2Mi0uMDIzLS43MjItLjA2NC0xLjA3OWgtOC4yNTd2My4wNDNoNC44NWMtLjE5Ny43NTktLjUzMSAxLjQ1LTEuMDU4IDEuOTg2LS45NDIuOTU4LTIuMDI4IDEuNTQ4LTMuOTAxIDEuNTQ4LTIuODc2IDAtNS4yMDgtMi4zNzItNS4yMDgtNS4yOTkgMC0yLjkyNiAyLjMzMi01LjI5OSA1LjIwOC01LjI5OSAxLjM5OSAwIDIuNjE4LjQwNyAzLjU4NCAxLjI5M2wyLjM4MS0yLjM4YzAtLjAwMi0uMDAzLS4wMDQtLjAwNC0uMDA1LTEuNTg4LTEuNTI0LTMuNjItMi4yMTUtNS45NTUtMi4yMTV6bTQuNDMgNS42NmwuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxNS4xODQgMjUxLjkyOWwtNy45OCA3Ljk3OSAyOC40NzcgMjguNDc1YTUuMjMzIDUuMjMzIDAgMDAuNDQ5LTIuMTIzdi0zMS4xNjVjLS40NjkuNjc1LS45MzQgMS4zNDktMS4zODIgMi4wMDUtLjc5MiAxLjI3NS0xLjY4MiAyLjY0LTIuNDY1IDMuOTktMi4zNDcgNC4wNjUtMy45ODIgOC4wMzgtNC41ODUgMTMuNzk0LS4xNjIuNDg1LS41MjcuNzk4LS45My43OTktLjM2My0uMDAxLS42OTctLjI1NS0uODc5LS42Njd2LS4wMTJjLS41OTMtNS44MjItMi4yMzctOS44Mi00LjYtMTMuOTE0LS43ODMtMS4zNS0xLjY3My0yLjcxNS0yLjQ2Ni0zLjk5LTEuMTM3LTEuNjY2LTIuMzI3LTMuNC0zLjYzNy01LjE2OWwtLjAwMi0uMDAzeiIgZmlsbD0iI2MzYzNjMyIvPjxwYXRoIGQ9Ik0yMTIuOTgzIDI0OC40OTVsLTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAwNS4yMzggNS4yMzhoMS4wMTVsMzUuNjY2LTM1LjY2NmExMzYuMjc1IDEzNi4yNzUgMCAwMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAwLS45ODktMS40NCAzNS4xMjcgMzUuMTI3IDAgMDAtLjk1LTEuNTA4Yy0uMDgzLS4xNjItLjE3Ni0uMzI2LS4yNjQtLjQ4OXoiIGZpbGw9IiNmZGRjNGYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTIxMS45OTggMjYxLjA4M2wtNi4xNTIgNi4xNTEgMjQuMjY0IDI0LjI2NGguNzgxYTUuMjI3IDUuMjI3IDAgMDA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*=\"facebook.com\"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c8,#b900b4,#f50000)}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OXptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OXoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzN6bTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1ek00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*=\"instagram.com\"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIGZpbGw9IiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*=\"twitter.com\"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}'},function(t,e,n){var i=n(1);var o=n(83);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-media-form{display:flex;align-items:flex-start;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-input{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-input{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}.ck.ck-media-form{padding:var(--ck-spacing-standard)}.ck.ck-media-form:focus{outline:none}[dir=ltr] .ck.ck-media-form>:not(:first-child),[dir=rtl] .ck.ck-media-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-media-form{padding:0;width:calc(0.8*var(--ck-input-text-width))}.ck.ck-media-form .ck-labeled-input{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-media-form .ck-labeled-input .ck-input-text{min-width:0;width:100%}.ck.ck-media-form .ck-labeled-input .ck-labeled-input__error{white-space:normal}.ck.ck-media-form .ck-button{padding:var(--ck-spacing-standard);margin-top:var(--ck-spacing-standard);border-radius:0;border:0;border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-media-form .ck-button{margin-left:0}[dir=ltr] .ck.ck-media-form .ck-button:first-of-type{border-right:1px solid var(--ck-color-base-border)}[dir=rtl] .ck.ck-media-form .ck-button{margin-left:0}[dir=rtl] .ck.ck-media-form .ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}}\"},function(t,e,n){var i=n(1);var o=n(85);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content .media{clear:both;margin:1em 0;display:block;min-width:15em}\"},function(t,e,n){var i=n(1);var o=n(87);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-table-focused-cell-background:#f5fafe}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused{background:var(--ck-color-table-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}\"},function(t,e,n){var i=n(1);var o=n(89);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2);padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0}.ck .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{width:var(--ck-insert-table-dropdown-box-width);height:var(--ck-insert-table-dropdown-box-height);margin:var(--ck-insert-table-dropdown-box-margin);border:1px solid var(--ck-color-base-border);border-radius:1px}.ck .ck-insert-table-dropdown-grid-box.ck-on{border-color:var(--ck-color-focus-border);background:var(--ck-color-focus-outer-shadow)}\"},function(t,e,n){var i=n(1);var o=n(91);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content .table{margin:1em auto;display:table}.ck-content .table table{border-collapse:collapse;border-spacing:0;border:1px double #b3b3b3}.ck-content .table table td,.ck-content .table table th{min-width:2em;padding:.4em;border-color:#d9d9d9}.ck-content .table table th{font-weight:700;background:#fafafa}\"},function(t,e){t.exports=\".ck-content code{background-color:hsla(0,0%,78%,.3);padding:.15em;border-radius:2px}\"},function(t,e,n){var i=n(1);var o=n(94);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button .ck-tooltip{display:none}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__action{border-top-right-radius:unset;border-bottom-right-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__action{border-top-left-radius:unset;border-bottom-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-radius:0}.ck-rounded-corners [dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow,[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:unset;border-bottom-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-top-right-radius:unset;border-bottom-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled){border-left-color:var(--ck-color-split-button-hover-border)}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled){border-right-color:var(--ck-color-split-button-hover-border)}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}\"},function(t,e,n){var i=n(1);var o=n(96);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-content pre{padding:1em;color:#353535;background:hsla(0,0%,78%,.3);border:1px solid #c4c4c4;border-radius:2px;text-align:left;direction:ltr;tab-size:4;white-space:pre-wrap;font-style:normal;min-width:200px}.ck-content pre code{background:unset;padding:0;border-radius:0}.ck.ck-editor__editable pre{position:relative}.ck.ck-editor__editable pre[data-language]:after{content:attr(data-language);position:absolute}:root{--ck-color-code-block-label-background:#757575}.ck.ck-editor__editable pre[data-language]:after{top:-1px;right:10px;background:var(--ck-color-code-block-label-background);font-size:10px;font-family:var(--ck-font-face);line-height:16px;padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);color:#fff;white-space:nowrap}.ck.ck-code-block-dropdown .ck-dropdown__panel{max-height:250px;overflow-y:auto;overflow-x:hidden}\"},function(t,e,n){var i=n(1);var o=n(98);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#000}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{width:var(--ck-color-grid-tile-size);height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;border:0}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-table__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{display:none;color:var(--ck-color-color-grid-check-icon)}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}\"},function(t,e,n){var i=n(1);var o=n(100);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-button.ck-color-table__remove-color{display:flex;align-items:center;width:100%}label.ck.ck-color-grid__label{font-weight:unset}.ck .ck-button.ck-color-table__remove-color{padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck .ck-button.ck-color-table__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-base-border)}[dir=ltr] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck .ck-button.ck-color-table__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard)}\"},function(t,e,n){var i=n(1);var o=n(102);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".text-tiny{font-size:.7em}.text-small{font-size:.85em}.text-big{font-size:1.4em}.text-huge{font-size:1.8em}\"},function(t,e,n){var i=n(1);var o=n(104);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-highlight-marker-yellow:#fdfd77;--ck-highlight-marker-green:#63f963;--ck-highlight-marker-pink:#fc7999;--ck-highlight-marker-blue:#72cdfd;--ck-highlight-pen-red:#e91313;--ck-highlight-pen-green:#180}.ck-content .marker-yellow{background-color:var(--ck-highlight-marker-yellow)}.ck-content .marker-green{background-color:var(--ck-highlight-marker-green)}.ck-content .marker-pink{background-color:var(--ck-highlight-marker-pink)}.ck-content .marker-blue{background-color:var(--ck-highlight-marker-blue)}.ck-content .pen-red{color:var(--ck-highlight-pen-red);background-color:transparent}.ck-content .pen-green{color:var(--ck-highlight-pen-green);background-color:transparent}\"},function(t,e,n){var i=n(1);var o=n(106);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck-editor__editable .ck-horizontal-line{overflow:hidden}.ck-content hr{border:solid #5e5e5e;border-width:1px 0 0;margin:0}.ck-editor__editable .ck-horizontal-line{padding:5px 0}\"},function(module,__webpack_exports__,__webpack_require__){\"use strict\";var md5;var _unused_webpack_default_export=md5;(function(){var HxOverrides=function(){};HxOverrides.__name__=true;HxOverrides.dateStr=function(t){var e=t.getMonth()+1;var n=t.getDate();var i=t.getHours();var o=t.getMinutes();var s=t.getSeconds();return t.getFullYear()+\"-\"+(e<10?\"0\"+e:\"\"+e)+\"-\"+(n<10?\"0\"+n:\"\"+n)+\" \"+(i<10?\"0\"+i:\"\"+i)+\":\"+(o<10?\"0\"+o:\"\"+o)+\":\"+(s<10?\"0\"+s:\"\"+s)};HxOverrides.strDate=function(t){switch(t.length){case 8:var e=t.split(\":\");var n=new Date;n.setTime(0);n.setUTCHours(e[0]);n.setUTCMinutes(e[1]);n.setUTCSeconds(e[2]);return n;case 10:var e=t.split(\"-\");return new Date(e[0],e[1]-1,e[2],0,0,0);case 19:var e=t.split(\" \");var i=e[0].split(\"-\");var o=e[1].split(\":\");return new Date(i[0],i[1]-1,i[2],o[0],o[1],o[2]);default:throw\"Invalid date format : \"+t}};HxOverrides.cca=function(t,e){var n=t.charCodeAt(e);if(n!=n)return undefined;return n};HxOverrides.substr=function(t,e,n){if(e!=null&&e!=0&&n!=null&&n<0)return\"\";if(n==null)n=t.length;if(e<0){e=t.length+e;if(e<0)e=0}else if(n<0)n=t.length+n-e;return t.substr(e,n)};HxOverrides.remove=function(t,e){var n=0;var i=t.length;while(n<i){if(t[n]==e){t.splice(n,1);return true}n++}return false};HxOverrides.iter=function(t){return{cur:0,arr:t,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}};var IntIter=function(t,e){this.min=t;this.max=e};IntIter.__name__=true;IntIter.prototype={next:function(){return this.min++},hasNext:function(){return this.min<this.max},__class__:IntIter};var Std=function(){};Std.__name__=true;Std[\"is\"]=function(t,e){return js.Boot.__instanceof(t,e)};Std.string=function(t){return js.Boot.__string_rec(t,\"\")};Std[\"int\"]=function(t){return t|0};Std.parseInt=function(t){var e=parseInt(t,10);if(e==0&&(HxOverrides.cca(t,1)==120||HxOverrides.cca(t,1)==88))e=parseInt(t);if(isNaN(e))return null;return e};Std.parseFloat=function(t){return parseFloat(t)};Std.random=function(t){return Math.floor(Math.random()*t)};var com=com||{};if(!com.wiris)com.wiris={};if(!com.wiris.js)com.wiris.js={};com.wiris.js.JsPluginTools=function(){this.tryReady()};com.wiris.js.JsPluginTools.__name__=true;com.wiris.js.JsPluginTools.main=function(){var t;t=com.wiris.js.JsPluginTools.getInstance();haxe.Timer.delay($bind(t,t.tryReady),100)};com.wiris.js.JsPluginTools.getInstance=function(){if(com.wiris.js.JsPluginTools.instance==null)com.wiris.js.JsPluginTools.instance=new com.wiris.js.JsPluginTools;return com.wiris.js.JsPluginTools.instance};com.wiris.js.JsPluginTools.bypassEncapsulation=function(){if(window.com==null)window.com={};if(window.com.wiris==null)window.com.wiris={};if(window.com.wiris.js==null)window.com.wiris.js={};if(window.com.wiris.js.JsPluginTools==null)window.com.wiris.js.JsPluginTools=com.wiris.js.JsPluginTools.getInstance()};com.wiris.js.JsPluginTools.prototype={md5encode:function(t){return haxe.Md5.encode(t)},doLoad:function(){this.ready=true;com.wiris.js.JsPluginTools.instance=this;com.wiris.js.JsPluginTools.bypassEncapsulation()},tryReady:function(){this.ready=false;if(js.Lib.document.readyState){this.doLoad();this.ready=true}if(!this.ready)haxe.Timer.delay($bind(this,this.tryReady),100)},__class__:com.wiris.js.JsPluginTools};var haxe=haxe||{};haxe.Log=function(){};haxe.Log.__name__=true;haxe.Log.trace=function(t,e){js.Boot.__trace(t,e)};haxe.Log.clear=function(){js.Boot.__clear_trace()};haxe.Md5=function(){};haxe.Md5.__name__=true;haxe.Md5.encode=function(t){return(new haxe.Md5).doEncode(t)};haxe.Md5.prototype={doEncode:function(t){var e=this.str2blks(t);var n=1732584193;var i=-271733879;var o=-1732584194;var s=271733878;var r;var a=0;while(a<e.length){var c=n;var l=i;var d=o;var u=s;r=0;n=this.ff(n,i,o,s,e[a],7,-680876936);s=this.ff(s,n,i,o,e[a+1],12,-389564586);o=this.ff(o,s,n,i,e[a+2],17,606105819);i=this.ff(i,o,s,n,e[a+3],22,-1044525330);n=this.ff(n,i,o,s,e[a+4],7,-176418897);s=this.ff(s,n,i,o,e[a+5],12,1200080426);o=this.ff(o,s,n,i,e[a+6],17,-1473231341);i=this.ff(i,o,s,n,e[a+7],22,-45705983);n=this.ff(n,i,o,s,e[a+8],7,1770035416);s=this.ff(s,n,i,o,e[a+9],12,-1958414417);o=this.ff(o,s,n,i,e[a+10],17,-42063);i=this.ff(i,o,s,n,e[a+11],22,-1990404162);n=this.ff(n,i,o,s,e[a+12],7,1804603682);s=this.ff(s,n,i,o,e[a+13],12,-40341101);o=this.ff(o,s,n,i,e[a+14],17,-1502002290);i=this.ff(i,o,s,n,e[a+15],22,1236535329);n=this.gg(n,i,o,s,e[a+1],5,-165796510);s=this.gg(s,n,i,o,e[a+6],9,-1069501632);o=this.gg(o,s,n,i,e[a+11],14,643717713);i=this.gg(i,o,s,n,e[a],20,-373897302);n=this.gg(n,i,o,s,e[a+5],5,-701558691);s=this.gg(s,n,i,o,e[a+10],9,38016083);o=this.gg(o,s,n,i,e[a+15],14,-660478335);i=this.gg(i,o,s,n,e[a+4],20,-405537848);n=this.gg(n,i,o,s,e[a+9],5,568446438);s=this.gg(s,n,i,o,e[a+14],9,-1019803690);o=this.gg(o,s,n,i,e[a+3],14,-187363961);i=this.gg(i,o,s,n,e[a+8],20,1163531501);n=this.gg(n,i,o,s,e[a+13],5,-1444681467);s=this.gg(s,n,i,o,e[a+2],9,-51403784);o=this.gg(o,s,n,i,e[a+7],14,1735328473);i=this.gg(i,o,s,n,e[a+12],20,-1926607734);n=this.hh(n,i,o,s,e[a+5],4,-378558);s=this.hh(s,n,i,o,e[a+8],11,-2022574463);o=this.hh(o,s,n,i,e[a+11],16,1839030562);i=this.hh(i,o,s,n,e[a+14],23,-35309556);n=this.hh(n,i,o,s,e[a+1],4,-1530992060);s=this.hh(s,n,i,o,e[a+4],11,1272893353);o=this.hh(o,s,n,i,e[a+7],16,-155497632);i=this.hh(i,o,s,n,e[a+10],23,-1094730640);n=this.hh(n,i,o,s,e[a+13],4,681279174);s=this.hh(s,n,i,o,e[a],11,-358537222);o=this.hh(o,s,n,i,e[a+3],16,-722521979);i=this.hh(i,o,s,n,e[a+6],23,76029189);n=this.hh(n,i,o,s,e[a+9],4,-640364487);s=this.hh(s,n,i,o,e[a+12],11,-421815835);o=this.hh(o,s,n,i,e[a+15],16,530742520);i=this.hh(i,o,s,n,e[a+2],23,-995338651);n=this.ii(n,i,o,s,e[a],6,-198630844);s=this.ii(s,n,i,o,e[a+7],10,1126891415);o=this.ii(o,s,n,i,e[a+14],15,-1416354905);i=this.ii(i,o,s,n,e[a+5],21,-57434055);n=this.ii(n,i,o,s,e[a+12],6,1700485571);s=this.ii(s,n,i,o,e[a+3],10,-1894986606);o=this.ii(o,s,n,i,e[a+10],15,-1051523);i=this.ii(i,o,s,n,e[a+1],21,-2054922799);n=this.ii(n,i,o,s,e[a+8],6,1873313359);s=this.ii(s,n,i,o,e[a+15],10,-30611744);o=this.ii(o,s,n,i,e[a+6],15,-1560198380);i=this.ii(i,o,s,n,e[a+13],21,1309151649);n=this.ii(n,i,o,s,e[a+4],6,-145523070);s=this.ii(s,n,i,o,e[a+11],10,-1120210379);o=this.ii(o,s,n,i,e[a+2],15,718787259);i=this.ii(i,o,s,n,e[a+9],21,-343485551);n=this.addme(n,c);i=this.addme(i,l);o=this.addme(o,d);s=this.addme(s,u);a+=16}return this.rhex(n)+this.rhex(i)+this.rhex(o)+this.rhex(s)},ii:function(t,e,n,i,o,s,r){return this.cmn(this.bitXOR(n,this.bitOR(e,~i)),t,e,o,s,r)},hh:function(t,e,n,i,o,s,r){return this.cmn(this.bitXOR(this.bitXOR(e,n),i),t,e,o,s,r)},gg:function(t,e,n,i,o,s,r){return this.cmn(this.bitOR(this.bitAND(e,i),this.bitAND(n,~i)),t,e,o,s,r)},ff:function(t,e,n,i,o,s,r){return this.cmn(this.bitOR(this.bitAND(e,n),this.bitAND(~e,i)),t,e,o,s,r)},cmn:function(t,e,n,i,o,s){return this.addme(this.rol(this.addme(this.addme(e,t),this.addme(i,s)),o),n)},rol:function(t,e){return t<<e|t>>>32-e},str2blks:function(t){var e=(t.length+8>>6)+1;var n=new Array;var i=0,o=e*16;while(i<o){var s=i++;n[s]=0}var s=0;while(s<t.length){n[s>>2]|=HxOverrides.cca(t,s)<<(t.length*8+s)%4*8;s++}n[s>>2]|=128<<(t.length*8+s)%4*8;var r=t.length*8;var a=e*16-2;n[a]=r&255;n[a]|=(r>>>8&255)<<8;n[a]|=(r>>>16&255)<<16;n[a]|=(r>>>24&255)<<24;return n},rhex:function(t){var e=\"\";var n=\"0123456789abcdef\";var i=0;while(i<4){var o=i++;e+=n.charAt(t>>o*8+4&15)+n.charAt(t>>o*8&15)}return e},addme:function(t,e){var n=(t&65535)+(e&65535);var i=(t>>16)+(e>>16)+(n>>16);return i<<16|n&65535},bitAND:function(t,e){var n=t&1&(e&1);var i=t>>>1&e>>>1;return i<<1|n},bitXOR:function(t,e){var n=t&1^e&1;var i=t>>>1^e>>>1;return i<<1|n},bitOR:function(t,e){var n=t&1|e&1;var i=t>>>1|e>>>1;return i<<1|n},__class__:haxe.Md5};haxe.Timer=function(t){var e=this;this.id=window.setInterval((function(){e.run()}),t)};haxe.Timer.__name__=true;haxe.Timer.delay=function(t,e){var n=new haxe.Timer(e);n.run=function(){n.stop();t()};return n};haxe.Timer.measure=function(t,e){var n=haxe.Timer.stamp();var i=t();haxe.Log.trace(haxe.Timer.stamp()-n+\"s\",e);return i};haxe.Timer.stamp=function(){return(new Date).getTime()/1e3};haxe.Timer.prototype={run:function(){},stop:function(){if(this.id==null)return;window.clearInterval(this.id);this.id=null},__class__:haxe.Timer};var js=js||{};js.Boot=function(){};js.Boot.__name__=true;js.Boot.__unhtml=function(t){return t.split(\"&\").join(\"&amp;\").split(\"<\").join(\"&lt;\").split(\">\").join(\"&gt;\")};js.Boot.__trace=function(t,e){var n=e!=null?e.fileName+\":\"+e.lineNumber+\": \":\"\";n+=js.Boot.__string_rec(t,\"\");var i;if(typeof document!=\"undefined\"&&(i=document.getElementById(\"haxe:trace\"))!=null)i.innerHTML+=js.Boot.__unhtml(n)+\"<br/>\";else if(typeof console!=\"undefined\"&&console.log!=null)console.log(n)};js.Boot.__clear_trace=function(){var t=document.getElementById(\"haxe:trace\");if(t!=null)t.innerHTML=\"\"};js.Boot.isClass=function(t){return t.__name__};js.Boot.isEnum=function(t){return t.__ename__};js.Boot.getClass=function(t){return t.__class__};js.Boot.__string_rec=function(t,e){if(t==null)return\"null\";if(e.length>=5)return\"<...>\";var n=typeof t;if(n==\"function\"&&(t.__name__||t.__ename__))n=\"object\";switch(n){case\"object\":if(t instanceof Array){if(t.__enum__){if(t.length==2)return t[0];var i=t[0]+\"(\";e+=\"\\t\";var o=2,s=t.length;while(o<s){var r=o++;if(r!=2)i+=\",\"+js.Boot.__string_rec(t[r],e);else i+=js.Boot.__string_rec(t[r],e)}return i+\")\"}var a=t.length;var r;var i=\"[\";e+=\"\\t\";var s=0;while(s<a){var c=s++;i+=(c>0?\",\":\"\")+js.Boot.__string_rec(t[c],e)}i+=\"]\";return i}var l;try{l=t.toString}catch(t){return\"???\"}if(l!=null&&l!=Object.toString){var d=t.toString();if(d!=\"[object Object]\")return d}var u=null;var i=\"{\\n\";e+=\"\\t\";var h=t.hasOwnProperty!=null;for(var u in t){if(h&&!t.hasOwnProperty(u)){continue}if(u==\"prototype\"||u==\"__class__\"||u==\"__super__\"||u==\"__interfaces__\"||u==\"__properties__\"){continue}if(i.length!=2)i+=\", \\n\";i+=e+u+\" : \"+js.Boot.__string_rec(t[u],e)}e=e.substring(1);i+=\"\\n\"+e+\"}\";return i;case\"function\":return\"<function>\";case\"string\":return t;default:return String(t)}};js.Boot.__interfLoop=function(t,e){if(t==null)return false;if(t==e)return true;var n=t.__interfaces__;if(n!=null){var i=0,o=n.length;while(i<o){var s=i++;var r=n[s];if(r==e||js.Boot.__interfLoop(r,e))return true}}return js.Boot.__interfLoop(t.__super__,e)};js.Boot.__instanceof=function(t,e){try{if(t instanceof e){if(e==Array)return t.__enum__==null;return true}if(js.Boot.__interfLoop(t.__class__,e))return true}catch(t){if(e==null)return false}switch(e){case Int:return Math.ceil(t%2147483648)===t;case Float:return typeof t==\"number\";case Bool:return t===true||t===false;case String:return typeof t==\"string\";case Dynamic:return true;default:if(t==null)return false;if(e==Class&&t.__name__!=null)return true;else null;if(e==Enum&&t.__ename__!=null)return true;else null;return t.__enum__==e}};js.Boot.__cast=function(t,e){if(js.Boot.__instanceof(t,e))return t;else throw\"Cannot cast \"+Std.string(t)+\" to \"+Std.string(e)};js.Lib=function(){};js.Lib.__name__=true;js.Lib.debug=function(){debugger};js.Lib.alert=function(t){alert(js.Boot.__string_rec(t,\"\"))};js.Lib.eval=function(code){return eval(code)};js.Lib.setErrorHandler=function(t){js.Lib.onerror=t};var $_;function $bind(t,e){var n=function(){return n.method.apply(n.scope,arguments)};n.scope=t;n.method=e;return n}if(Array.prototype.indexOf)HxOverrides.remove=function(t,e){var n=t.indexOf(e);if(n==-1)return false;t.splice(n,1);return true};else null;Math.__name__=[\"Math\"];Math.NaN=Number.NaN;Math.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY;Math.POSITIVE_INFINITY=Number.POSITIVE_INFINITY;Math.isFinite=function(t){return isFinite(t)};Math.isNaN=function(t){return isNaN(t)};String.prototype.__class__=String;String.__name__=true;Array.prototype.__class__=Array;Array.__name__=true;Date.prototype.__class__=Date;Date.__name__=[\"Date\"];var Int={__name__:[\"Int\"]};var Dynamic={__name__:[\"Dynamic\"]};var Float=Number;Float.__name__=[\"Float\"];var Bool=Boolean;Bool.__ename__=[\"Bool\"];var Class={__name__:[\"Class\"]};var Enum={};var Void={__ename__:[\"Void\"]};if(typeof document!=\"undefined\")js.Lib.document=document;if(typeof window!=\"undefined\"){js.Lib.window=window;js.Lib.window.onerror=function(t,e,n){var i=js.Lib.onerror;if(i==null)return false;return i(t,[e+\":\"+n])}}com.wiris.js.JsPluginTools.main();delete Array.prototype.__class__})();(function(){var HxOverrides=function(){};HxOverrides.__name__=true;HxOverrides.dateStr=function(t){var e=t.getMonth()+1;var n=t.getDate();var i=t.getHours();var o=t.getMinutes();var s=t.getSeconds();return t.getFullYear()+\"-\"+(e<10?\"0\"+e:\"\"+e)+\"-\"+(n<10?\"0\"+n:\"\"+n)+\" \"+(i<10?\"0\"+i:\"\"+i)+\":\"+(o<10?\"0\"+o:\"\"+o)+\":\"+(s<10?\"0\"+s:\"\"+s)};HxOverrides.strDate=function(t){switch(t.length){case 8:var e=t.split(\":\");var n=new Date;n.setTime(0);n.setUTCHours(e[0]);n.setUTCMinutes(e[1]);n.setUTCSeconds(e[2]);return n;case 10:var e=t.split(\"-\");return new Date(e[0],e[1]-1,e[2],0,0,0);case 19:var e=t.split(\" \");var i=e[0].split(\"-\");var o=e[1].split(\":\");return new Date(i[0],i[1]-1,i[2],o[0],o[1],o[2]);default:throw\"Invalid date format : \"+t}};HxOverrides.cca=function(t,e){var n=t.charCodeAt(e);if(n!=n)return undefined;return n};HxOverrides.substr=function(t,e,n){if(e!=null&&e!=0&&n!=null&&n<0)return\"\";if(n==null)n=t.length;if(e<0){e=t.length+e;if(e<0)e=0}else if(n<0)n=t.length+n-e;return t.substr(e,n)};HxOverrides.remove=function(t,e){var n=0;var i=t.length;while(n<i){if(t[n]==e){t.splice(n,1);return true}n++}return false};HxOverrides.iter=function(t){return{cur:0,arr:t,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}};var IntIter=function(t,e){this.min=t;this.max=e};IntIter.__name__=true;IntIter.prototype={next:function(){return this.min++},hasNext:function(){return this.min<this.max},__class__:IntIter};var Std=function(){};Std.__name__=true;Std[\"is\"]=function(t,e){return js.Boot.__instanceof(t,e)};Std.string=function(t){return js.Boot.__string_rec(t,\"\")};Std[\"int\"]=function(t){return t|0};Std.parseInt=function(t){var e=parseInt(t,10);if(e==0&&(HxOverrides.cca(t,1)==120||HxOverrides.cca(t,1)==88))e=parseInt(t);if(isNaN(e))return null;return e};Std.parseFloat=function(t){return parseFloat(t)};Std.random=function(t){return Math.floor(Math.random()*t)};var com=com||{};if(!com.wiris)com.wiris={};if(!com.wiris.js)com.wiris.js={};com.wiris.js.JsPluginTools=function(){this.tryReady()};com.wiris.js.JsPluginTools.__name__=true;com.wiris.js.JsPluginTools.main=function(){var t;t=com.wiris.js.JsPluginTools.getInstance();haxe.Timer.delay($bind(t,t.tryReady),100)};com.wiris.js.JsPluginTools.getInstance=function(){if(com.wiris.js.JsPluginTools.instance==null)com.wiris.js.JsPluginTools.instance=new com.wiris.js.JsPluginTools;return com.wiris.js.JsPluginTools.instance};com.wiris.js.JsPluginTools.bypassEncapsulation=function(){if(window.com==null)window.com={};if(window.com.wiris==null)window.com.wiris={};if(window.com.wiris.js==null)window.com.wiris.js={};if(window.com.wiris.js.JsPluginTools==null)window.com.wiris.js.JsPluginTools=com.wiris.js.JsPluginTools.getInstance()};com.wiris.js.JsPluginTools.prototype={md5encode:function(t){return haxe.Md5.encode(t)},doLoad:function(){this.ready=true;com.wiris.js.JsPluginTools.instance=this;com.wiris.js.JsPluginTools.bypassEncapsulation()},tryReady:function(){this.ready=false;if(js.Lib.document.readyState){this.doLoad();this.ready=true}if(!this.ready)haxe.Timer.delay($bind(this,this.tryReady),100)},__class__:com.wiris.js.JsPluginTools};var haxe=haxe||{};haxe.Log=function(){};haxe.Log.__name__=true;haxe.Log.trace=function(t,e){js.Boot.__trace(t,e)};haxe.Log.clear=function(){js.Boot.__clear_trace()};haxe.Md5=function(){};haxe.Md5.__name__=true;haxe.Md5.encode=function(t){return(new haxe.Md5).doEncode(t)};haxe.Md5.prototype={doEncode:function(t){var e=this.str2blks(t);var n=1732584193;var i=-271733879;var o=-1732584194;var s=271733878;var r;var a=0;while(a<e.length){var c=n;var l=i;var d=o;var u=s;r=0;n=this.ff(n,i,o,s,e[a],7,-680876936);s=this.ff(s,n,i,o,e[a+1],12,-389564586);o=this.ff(o,s,n,i,e[a+2],17,606105819);i=this.ff(i,o,s,n,e[a+3],22,-1044525330);n=this.ff(n,i,o,s,e[a+4],7,-176418897);s=this.ff(s,n,i,o,e[a+5],12,1200080426);o=this.ff(o,s,n,i,e[a+6],17,-1473231341);i=this.ff(i,o,s,n,e[a+7],22,-45705983);n=this.ff(n,i,o,s,e[a+8],7,1770035416);s=this.ff(s,n,i,o,e[a+9],12,-1958414417);o=this.ff(o,s,n,i,e[a+10],17,-42063);i=this.ff(i,o,s,n,e[a+11],22,-1990404162);n=this.ff(n,i,o,s,e[a+12],7,1804603682);s=this.ff(s,n,i,o,e[a+13],12,-40341101);o=this.ff(o,s,n,i,e[a+14],17,-1502002290);i=this.ff(i,o,s,n,e[a+15],22,1236535329);n=this.gg(n,i,o,s,e[a+1],5,-165796510);s=this.gg(s,n,i,o,e[a+6],9,-1069501632);o=this.gg(o,s,n,i,e[a+11],14,643717713);i=this.gg(i,o,s,n,e[a],20,-373897302);n=this.gg(n,i,o,s,e[a+5],5,-701558691);s=this.gg(s,n,i,o,e[a+10],9,38016083);o=this.gg(o,s,n,i,e[a+15],14,-660478335);i=this.gg(i,o,s,n,e[a+4],20,-405537848);n=this.gg(n,i,o,s,e[a+9],5,568446438);s=this.gg(s,n,i,o,e[a+14],9,-1019803690);o=this.gg(o,s,n,i,e[a+3],14,-187363961);i=this.gg(i,o,s,n,e[a+8],20,1163531501);n=this.gg(n,i,o,s,e[a+13],5,-1444681467);s=this.gg(s,n,i,o,e[a+2],9,-51403784);o=this.gg(o,s,n,i,e[a+7],14,1735328473);i=this.gg(i,o,s,n,e[a+12],20,-1926607734);n=this.hh(n,i,o,s,e[a+5],4,-378558);s=this.hh(s,n,i,o,e[a+8],11,-2022574463);o=this.hh(o,s,n,i,e[a+11],16,1839030562);i=this.hh(i,o,s,n,e[a+14],23,-35309556);n=this.hh(n,i,o,s,e[a+1],4,-1530992060);s=this.hh(s,n,i,o,e[a+4],11,1272893353);o=this.hh(o,s,n,i,e[a+7],16,-155497632);i=this.hh(i,o,s,n,e[a+10],23,-1094730640);n=this.hh(n,i,o,s,e[a+13],4,681279174);s=this.hh(s,n,i,o,e[a],11,-358537222);o=this.hh(o,s,n,i,e[a+3],16,-722521979);i=this.hh(i,o,s,n,e[a+6],23,76029189);n=this.hh(n,i,o,s,e[a+9],4,-640364487);s=this.hh(s,n,i,o,e[a+12],11,-421815835);o=this.hh(o,s,n,i,e[a+15],16,530742520);i=this.hh(i,o,s,n,e[a+2],23,-995338651);n=this.ii(n,i,o,s,e[a],6,-198630844);s=this.ii(s,n,i,o,e[a+7],10,1126891415);o=this.ii(o,s,n,i,e[a+14],15,-1416354905);i=this.ii(i,o,s,n,e[a+5],21,-57434055);n=this.ii(n,i,o,s,e[a+12],6,1700485571);s=this.ii(s,n,i,o,e[a+3],10,-1894986606);o=this.ii(o,s,n,i,e[a+10],15,-1051523);i=this.ii(i,o,s,n,e[a+1],21,-2054922799);n=this.ii(n,i,o,s,e[a+8],6,1873313359);s=this.ii(s,n,i,o,e[a+15],10,-30611744);o=this.ii(o,s,n,i,e[a+6],15,-1560198380);i=this.ii(i,o,s,n,e[a+13],21,1309151649);n=this.ii(n,i,o,s,e[a+4],6,-145523070);s=this.ii(s,n,i,o,e[a+11],10,-1120210379);o=this.ii(o,s,n,i,e[a+2],15,718787259);i=this.ii(i,o,s,n,e[a+9],21,-343485551);n=this.addme(n,c);i=this.addme(i,l);o=this.addme(o,d);s=this.addme(s,u);a+=16}return this.rhex(n)+this.rhex(i)+this.rhex(o)+this.rhex(s)},ii:function(t,e,n,i,o,s,r){return this.cmn(this.bitXOR(n,this.bitOR(e,~i)),t,e,o,s,r)},hh:function(t,e,n,i,o,s,r){return this.cmn(this.bitXOR(this.bitXOR(e,n),i),t,e,o,s,r)},gg:function(t,e,n,i,o,s,r){return this.cmn(this.bitOR(this.bitAND(e,i),this.bitAND(n,~i)),t,e,o,s,r)},ff:function(t,e,n,i,o,s,r){return this.cmn(this.bitOR(this.bitAND(e,n),this.bitAND(~e,i)),t,e,o,s,r)},cmn:function(t,e,n,i,o,s){return this.addme(this.rol(this.addme(this.addme(e,t),this.addme(i,s)),o),n)},rol:function(t,e){return t<<e|t>>>32-e},str2blks:function(t){var e=(t.length+8>>6)+1;var n=new Array;var i=0,o=e*16;while(i<o){var s=i++;n[s]=0}var s=0;while(s<t.length){n[s>>2]|=HxOverrides.cca(t,s)<<(t.length*8+s)%4*8;s++}n[s>>2]|=128<<(t.length*8+s)%4*8;var r=t.length*8;var a=e*16-2;n[a]=r&255;n[a]|=(r>>>8&255)<<8;n[a]|=(r>>>16&255)<<16;n[a]|=(r>>>24&255)<<24;return n},rhex:function(t){var e=\"\";var n=\"0123456789abcdef\";var i=0;while(i<4){var o=i++;e+=n.charAt(t>>o*8+4&15)+n.charAt(t>>o*8&15)}return e},addme:function(t,e){var n=(t&65535)+(e&65535);var i=(t>>16)+(e>>16)+(n>>16);return i<<16|n&65535},bitAND:function(t,e){var n=t&1&(e&1);var i=t>>>1&e>>>1;return i<<1|n},bitXOR:function(t,e){var n=t&1^e&1;var i=t>>>1^e>>>1;return i<<1|n},bitOR:function(t,e){var n=t&1|e&1;var i=t>>>1|e>>>1;return i<<1|n},__class__:haxe.Md5};haxe.Timer=function(t){var e=this;this.id=window.setInterval((function(){e.run()}),t)};haxe.Timer.__name__=true;haxe.Timer.delay=function(t,e){var n=new haxe.Timer(e);n.run=function(){n.stop();t()};return n};haxe.Timer.measure=function(t,e){var n=haxe.Timer.stamp();var i=t();haxe.Log.trace(haxe.Timer.stamp()-n+\"s\",e);return i};haxe.Timer.stamp=function(){return(new Date).getTime()/1e3};haxe.Timer.prototype={run:function(){},stop:function(){if(this.id==null)return;window.clearInterval(this.id);this.id=null},__class__:haxe.Timer};var js=js||{};js.Boot=function(){};js.Boot.__name__=true;js.Boot.__unhtml=function(t){return t.split(\"&\").join(\"&amp;\").split(\"<\").join(\"&lt;\").split(\">\").join(\"&gt;\")};js.Boot.__trace=function(t,e){var n=e!=null?e.fileName+\":\"+e.lineNumber+\": \":\"\";n+=js.Boot.__string_rec(t,\"\");var i;if(typeof document!=\"undefined\"&&(i=document.getElementById(\"haxe:trace\"))!=null)i.innerHTML+=js.Boot.__unhtml(n)+\"<br/>\";else if(typeof console!=\"undefined\"&&console.log!=null)console.log(n)};js.Boot.__clear_trace=function(){var t=document.getElementById(\"haxe:trace\");if(t!=null)t.innerHTML=\"\"};js.Boot.isClass=function(t){return t.__name__};js.Boot.isEnum=function(t){return t.__ename__};js.Boot.getClass=function(t){return t.__class__};js.Boot.__string_rec=function(t,e){if(t==null)return\"null\";if(e.length>=5)return\"<...>\";var n=typeof t;if(n==\"function\"&&(t.__name__||t.__ename__))n=\"object\";switch(n){case\"object\":if(t instanceof Array){if(t.__enum__){if(t.length==2)return t[0];var i=t[0]+\"(\";e+=\"\\t\";var o=2,s=t.length;while(o<s){var r=o++;if(r!=2)i+=\",\"+js.Boot.__string_rec(t[r],e);else i+=js.Boot.__string_rec(t[r],e)}return i+\")\"}var a=t.length;var r;var i=\"[\";e+=\"\\t\";var s=0;while(s<a){var c=s++;i+=(c>0?\",\":\"\")+js.Boot.__string_rec(t[c],e)}i+=\"]\";return i}var l;try{l=t.toString}catch(t){return\"???\"}if(l!=null&&l!=Object.toString){var d=t.toString();if(d!=\"[object Object]\")return d}var u=null;var i=\"{\\n\";e+=\"\\t\";var h=t.hasOwnProperty!=null;for(var u in t){if(h&&!t.hasOwnProperty(u)){continue}if(u==\"prototype\"||u==\"__class__\"||u==\"__super__\"||u==\"__interfaces__\"||u==\"__properties__\"){continue}if(i.length!=2)i+=\", \\n\";i+=e+u+\" : \"+js.Boot.__string_rec(t[u],e)}e=e.substring(1);i+=\"\\n\"+e+\"}\";return i;case\"function\":return\"<function>\";case\"string\":return t;default:return String(t)}};js.Boot.__interfLoop=function(t,e){if(t==null)return false;if(t==e)return true;var n=t.__interfaces__;if(n!=null){var i=0,o=n.length;while(i<o){var s=i++;var r=n[s];if(r==e||js.Boot.__interfLoop(r,e))return true}}return js.Boot.__interfLoop(t.__super__,e)};js.Boot.__instanceof=function(t,e){try{if(t instanceof e){if(e==Array)return t.__enum__==null;return true}if(js.Boot.__interfLoop(t.__class__,e))return true}catch(t){if(e==null)return false}switch(e){case Int:return Math.ceil(t%2147483648)===t;case Float:return typeof t==\"number\";case Bool:return t===true||t===false;case String:return typeof t==\"string\";case Dynamic:return true;default:if(t==null)return false;if(e==Class&&t.__name__!=null)return true;else null;if(e==Enum&&t.__ename__!=null)return true;else null;return t.__enum__==e}};js.Boot.__cast=function(t,e){if(js.Boot.__instanceof(t,e))return t;else throw\"Cannot cast \"+Std.string(t)+\" to \"+Std.string(e)};js.Lib=function(){};js.Lib.__name__=true;js.Lib.debug=function(){debugger};js.Lib.alert=function(t){alert(js.Boot.__string_rec(t,\"\"))};js.Lib.eval=function(code){return eval(code)};js.Lib.setErrorHandler=function(t){js.Lib.onerror=t};var $_;function $bind(t,e){var n=function(){return n.method.apply(n.scope,arguments)};n.scope=t;n.method=e;return n}if(Array.prototype.indexOf)HxOverrides.remove=function(t,e){var n=t.indexOf(e);if(n==-1)return false;t.splice(n,1);return true};else null;Math.__name__=[\"Math\"];Math.NaN=Number.NaN;Math.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY;Math.POSITIVE_INFINITY=Number.POSITIVE_INFINITY;Math.isFinite=function(t){return isFinite(t)};Math.isNaN=function(t){return isNaN(t)};String.prototype.__class__=String;String.__name__=true;Array.prototype.__class__=Array;Array.__name__=true;Date.prototype.__class__=Date;Date.__name__=[\"Date\"];var Int={__name__:[\"Int\"]};var Dynamic={__name__:[\"Dynamic\"]};var Float=Number;Float.__name__=[\"Float\"];var Bool=Boolean;Bool.__ename__=[\"Bool\"];var Class={__name__:[\"Class\"]};var Enum={};var Void={__ename__:[\"Void\"]};if(typeof document!=\"undefined\")js.Lib.document=document;if(typeof window!=\"undefined\"){js.Lib.window=window;js.Lib.window.onerror=function(t,e,n){var i=js.Lib.onerror;if(i==null)return false;return i(t,[e+\":\"+n])}}com.wiris.js.JsPluginTools.main()})();delete Array.prototype.__class__},function(t,e,n){var i=n(1);var o=n(109);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".wrs_modal_overlay{position:fixed;font-family:arial,sans-serif;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.8);z-index:999998;opacity:.65;pointer-events:auto}.wrs_modal_overlay.wrs_modal_android,.wrs_modal_overlay.wrs_modal_ios{visibility:hidden;display:none}.wrs_modal_overlay.wrs_modal_ios.moodle{position:fixed}.wrs_modal_overlay.wrs_modal_desktop.wrs_stack{background:transparent;display:none}.wrs_modal_overlay.wrs_modal_desktop.wrs_maximized{background:rgba(0,0,0,.8)}.wrs_modal_overlay.wrs_modal_desktop.wrs_closed,.wrs_modal_overlay.wrs_modal_desktop.wrs_minimized{background:transparent;display:none}.wrs_modal_title{color:#fff;padding:5px 0 5px 10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;text-align:left}.wrs_modal_close_button{background-repeat:no-repeat}.wrs_modal_close_button,.wrs_modal_minimize_button{float:right;cursor:pointer;color:#fff;padding:5px 10px 5px 0;margin:10px 7px 0 0}.wrs_modal_minimize_button{top:inherit}.wrs_modal_stack_button{float:right;cursor:pointer;color:#fff;margin:10px 7px 0 0;padding:5px 10px 5px 0;top:inherit}.wrs_modal_stack_button.wrs_minimized,.wrs_modal_stack_button.wrs_stack{visibility:hidden;margin:0;padding:0}.wrs_modal_maximize_button{float:right;cursor:pointer;color:#fff;margin:10px 7px 0 0;padding:5px 10px 5px 0;top:inherit}.wrs_modal_maximize_button.wrs_maximized{visibility:hidden;margin:0;padding:0}.wrs_modal_wrapper{display:block}.wrs_modal_title_bar{display:block;background-color:#778e9a}.wrs_modal_dialogContainer{border:none;background:#fafafa;z-index:999999}.wrs_modal_dialogContainer.wrs_modal_desktop{font-size:14px}.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_maximized{position:fixed}.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_minimized{position:fixed;top:inherit;margin:0 10px 0 0}.wrs_modal_dialogContainer.wrs_closed{visibility:hidden;display:none;opacity:0}.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_stack{position:fixed;bottom:0;right:0;box-shadow:0 2px 8px rgba(0,0,0,.5)}.wrs_modal_dialogContainer.wrs_drag,.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_drag{box-shadow:0 2px 8px rgba(0,0,0,.5)}.wrs_modal_dialogContainer.wrs_modal_android{width:99%;height:99%}.wrs_modal_dialogContainer.wrs_modal_android,.wrs_modal_dialogContainer.wrs_modal_ios{margin:auto;overflow:hidden;transform:translate(50%,-50%);top:50%;right:50%!important;position:fixed}.wrs_modal_dialogContainer.wrs_modal_ios{width:100%;height:100%}.wrs_content_container.wrs_minimized{display:none}.wrs_content_container.wrs_modal_android{width:100%;flex-grow:1;display:flex;flex-direction:column}.wrs_content_container.wrs_modal_android>div:first-child,.wrs_content_container.wrs_modal_desktop>div:first-child,.wrs_content_container.wrs_modal_ios>div:first-child{flex-grow:1}.wrs_modal_wrapper.wrs_modal_android{margin:auto;display:flex;flex-direction:column;height:100%;width:100%}.wrs_content_container.wrs_modal_desktop,.wrs_content_container.wrs_modal_ios{width:100%;flex-grow:1;display:flex;flex-direction:column}.wrs_modal_wrapper.wrs_modal_ios{margin:auto;display:flex;flex-direction:column;height:100%;width:100%}.wrs_virtual_keyboard{height:100%;width:100%;top:0;left:50%;transform:translate(-50%)}@media (orientation:portrait){.wrs_modal_dialogContainer.wrs_modal_mobile{width:100vmin;height:100vmin;margin:auto;border-width:0}.wrs_modal_wrapper.wrs_modal_mobile{width:100vmin;height:100vmin;margin:auto}}@media (orientation:landscape){.wrs_modal_dialogContainer.wrs_modal_mobile{width:100vmin;height:100vmin;margin:auto;border-width:0}.wrs_modal_wrapper.wrs_modal_mobile{width:100vmin;height:100vmin;margin:auto}}.wrs_modal_dialogContainer.wrs_modal_badStock,.wrs_modal_wrapper.wrs_modal_badStock{width:100%;height:280px;margin:0 auto;border-width:0}.wrs_noselect{-khtml-user-select:none}.wrs_bottom_right_resizer,.wrs_noselect{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wrs_bottom_right_resizer{width:10px;height:10px;color:#778e9a;position:absolute;right:4px;bottom:8px;cursor:se-resize}.wrs_bottom_left_resizer{width:15px;height:15px;color:#778e9a;position:absolute;left:0;top:0;cursor:se-resize}.wrs_modal_controls{height:42px;margin:3px 0;overflow:hidden;line-height:normal}.wrs_modal_links{margin:10px auto 0;font-family:arial,sans-serif;padding:6px;display:inline;float:right;text-align:right}.wrs_modal_links>a{text-decoration:none;color:#778e9a;font-size:16px}.wrs_modal_button_cancel,.wrs_modal_button_cancel:active,.wrs_modal_button_cancel:focus,.wrs_modal_button_cancel:hover,.wrs_modal_button_cancel:visited{min-width:80px;font-size:14px;border-radius:3px;border:1px solid #778e9a;padding:6px 8px;margin:10px auto 0 5px;cursor:pointer;font-family:arial,sans-serif;background-color:#ddd;height:32px}.wrs_modal_button_accept,.wrs_modal_button_accept:active,.wrs_modal_button_accept:focus,.wrs_modal_button_accept:hover,.wrs_modal_button_accept:visited{min-width:80px;font-size:14px;border-radius:3px;border:1px solid #778e9a;padding:6px 8px;margin:10px 5px 0 auto;color:#fff;background:#778e9a;cursor:pointer;font-family:arial,sans-serif;height:32px}.wrs_editor_vertical_bar{height:20px;float:right;background:none;width:20px;cursor:pointer}.wrs_modal_buttons_container{display:inline;float:left}.wrs_modal_buttons_container.wrs_modalAndroid{padding-left:6px}.wrs_modal_buttons_container.wrs_modalDesktop{padding-left:0}.wrs_modal_buttons_container>button{line-height:normal;background-image:none}.wrs_modal_wrapper{margin:6px;display:flex;flex-direction:column}.wrs_modal_wrapper.wrs_modal_desktop.wrs_minimized{display:none}@media only screen and (max-device-width:480px) and (orientation:portrait){#wrs_modal_wrapper{width:140%}}.wrs_popupmessage_overlay_envolture{display:none;width:100%}.wrs_popupmessage_overlay{position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:4;cursor:pointer}.wrs_popupmessage_panel{top:50%;left:50%;transform:translate(-50%,-50%);position:absolute;background:#fff;max-width:500px;width:75%;border-radius:2px;padding:20px;font-family:sans-serif;font-size:15px;text-align:left;color:#2e2e2e;z-index:5;max-height:75%;overflow:auto}.wrs_popupmessage_button_area{margin:10px 0 0}.wrs_panelContainer *{border:0}.wrs_button_cancel,.wrs_button_cancel:active,.wrs_button_cancel:focus,.wrs_button_cancel:hover,.wrs_button_cancel:visited{min-width:80px;font-size:14px;border-radius:3px;border:1px solid #778e9a;padding:6px 8px;margin:10px auto 0 5px;cursor:pointer;font-family:arial,sans-serif;background-color:#ddd;background-image:none;height:32px}.wrs_button_accept,.wrs_button_accept:active,.wrs_button_accept:focus,.wrs_button_accept:hover,.wrs_button_accept:visited{min-width:80px;font-size:14px;border-radius:3px;border:1px solid #778e9a;padding:6px 8px;margin:10px 5px 0 auto;color:#fff;background:#778e9a;cursor:pointer;font-family:arial,sans-serif;height:32px}.wrs_editor button{box-shadow:none}.wrs_editor .wrs_header button{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.wrs_modal_overlay.wrs_modal_desktop.wrs_stack.wrs_overlay_active{display:block}.wrs_toolbar tr:focus,.wrs_toolbar tr:hover{background:none}.wrs_modal_rtl .wrs_modal_button_cancel{margin-right:5px;margin-left:0}.wrs_modal_rtl .wrs_modal_button_accept{margin-right:0;margin-left:5px}.wrs_modal_rtl .wrs_button_cancel{margin-right:5px;margin-left:0}.wrs_modal_rtl .wrs_button_accept{margin-right:0;margin-left:5px}\"},function(t,e,n){var i=n(1);var o=n(111);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-mention-list-max-height:300px}.ck.ck-mentions{max-height:var(--ck-mention-list-max-height);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.ck.ck-mentions>.ck-list__item{overflow:hidden;flex-shrink:0}\"},function(t,e,n){var i=n(1);var o=n(113);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-mention-background:rgba(153,0,48,0.1);--ck-color-mention-text:#990030}.ck-content .mention{background:var(--ck-color-mention-background);color:var(--ck-color-mention-text)}\"},function(t,e,n){var i=n(1);var o=n(115);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;display:inline-block;position:relative;width:var(--ck-todo-list-checkmark-size);height:var(--ck-todo-list-checkmark-size);vertical-align:middle;border:0;left:-25px;margin-right:-15px;right:0;margin-left:0}.ck-content .todo-list .todo-list__label>input:before{display:block;position:absolute;box-sizing:border-box;content:\"\";width:100%;height:100%;border:1px solid #333;border-radius:2px;transition:box-shadow .25s ease-in-out,background .25s ease-in-out,border .25s ease-in-out}.ck-content .todo-list .todo-list__label>input:after{display:block;position:absolute;box-sizing:content-box;pointer-events:none;content:\"\";left:calc(var(--ck-todo-list-checkmark-size)/3);top:calc(var(--ck-todo-list-checkmark-size)/5.3);width:calc(var(--ck-todo-list-checkmark-size)/5.3);height:calc(var(--ck-todo-list-checkmark-size)/2.6);border-left:0 solid transparent;border-bottom:calc(var(--ck-todo-list-checkmark-size)/8) solid transparent;border-right:calc(var(--ck-todo-list-checkmark-size)/8) solid transparent;border-top:0 solid transparent;transform:rotate(45deg)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-right:0;right:-25px;margin-left:-15px}.ck-editor__editable .todo-list .todo-list__label>input{cursor:pointer}.ck-editor__editable .todo-list .todo-list__label>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}'},function(t,e,n){var i=n(1);var o=n(117);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,0.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,0.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,0.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,0.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,0.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,0.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,0.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,0.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0:after{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1:after{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2:after{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3:after{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4:after{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5:after{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6:after{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7:after{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}\"},function(t,e,n){var i=n(1);var o=n(119);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-comment-marker:#fef7a9;--ck-color-comment-marker-active:#fdf05d}.ck-comment-marker{background:var(--ck-color-comment-marker)}.ck-comment-marker.ck-widget{background-color:transparent;border:3px solid var(--ck-color-comment-marker)}.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-comment-marker--active.ck-widget{border-color:var(--ck-color-comment-marker-active)}.ck-comment-marker--active.ck-widget .ck-comment-marker{background-color:var(--ck-color-comment-marker)}.ck-comment-marker--active .ck-comment-marker{background:var(--ck-color-comment-marker-active)}\"},function(t,e,n){var i=n(1);var o=n(121);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-inline-annotation-container-width:300px;--ck-inline-annotation-container-max-height:400px}.ck.ck-balloon-panel .ck-annotation-wrapper{position:static;width:var(--ck-inline-annotation-container-width);max-height:var(--ck-inline-annotation-container-max-height);overflow-y:auto;overscroll-behavior-y:contain;overflow-x:hidden}.ck.ck-balloon-panel .ck-annotation{animation:none}.ck.ck-balloon-panel .ck-annotation-wrapper *{white-space:normal}.ck.ck-balloon-panel .ck-annotation-wrapper strong{font-weight:700}.ck.ck-balloon-panel .ck-annotation-wrapper i{font-style:italic}.ck.ck-balloon-panel button.ck-suggestion--accept .ck-tooltip__text,.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text{text-align:center}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip{left:unset;right:0}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text{left:unset}.ck.ck-balloon-panel button.ck-suggestion--discard .ck-tooltip__text:after{left:calc(100% - 10px)}\"},function(t,e,n){var i=n(1);var o=n(123);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff}.ck.ck-user{display:flex;justify-content:center;align-items:center;position:relative;border-radius:50%;overflow:hidden;background-color:var(--ck-user-avatar-background);height:var(--ck-user-avatar-size);width:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);min-height:var(--ck-user-avatar-size)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{display:none;width:inherit;height:inherit;background-position:50%;background-repeat:no-repeat;background-size:cover;background-color:var(--ck-user-avatar-background);border-radius:50%;border:2px solid var(--ck-user-avatar-background)}.ck.ck-user__img.ck-user__anonymous{display:block;background-image:url(\\\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z'/%3E%3C/svg%3E\\\")}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{display:block;background-color:#fff}.ck.ck-user__img.ck-user__img--hidden{display:none}\"},function(t,e,n){var i=n(5);var o=n(126);var s=n(11);function r(t){var e=i(t);var n=s(e,o(e));var r=n+1;return r}t.exports=r},function(t,e){var n=6e4;t.exports=function t(e){var i=new Date(e.getTime());var o=i.getTimezoneOffset();i.setSeconds(0,0);var s=i.getTime()%n;return o*n+s}},function(t,e,n){var i=n(5);function o(t){var e=i(t);var n=new Date(0);n.setFullYear(e.getFullYear(),0,1);n.setHours(0,0,0,0);return n}t.exports=o},function(t,e,n){var i=n(5);function o(t){var e=i(t);e.setHours(0,0,0,0);return e}t.exports=o},function(t,e,n){var i=n(5);var o=n(10);var s=n(130);var r=6048e5;function a(t){var e=i(t);var n=o(e).getTime()-s(e).getTime();return Math.round(n/r)+1}t.exports=a},function(t,e,n){var i=n(5);function o(t,e){var n=e?Number(e.weekStartsOn)||0:0;var o=i(t);var s=o.getDay();var r=(s<n?7:0)+s-n;o.setDate(o.getDate()-r);o.setHours(0,0,0,0);return o}t.exports=o},function(t,e,n){var i=n(16);var o=n(10);function s(t){var e=i(t);var n=new Date(0);n.setFullYear(e,0,4);n.setHours(0,0,0,0);var s=o(n);return s}t.exports=s},function(t,e,n){var i=n(15);function o(t){if(i(t)){return!isNaN(t)}else{throw new TypeError(toString.call(t)+\" is not an instance of Date\")}}t.exports=o},function(t,e,n){var i=n(133);var o=n(134);t.exports={distanceInWords:i(),format:o()}},function(t,e){function n(){var t={lessThanXSeconds:{one:\"less than a second\",other:\"less than {{count}} seconds\"},xSeconds:{one:\"1 second\",other:\"{{count}} seconds\"},halfAMinute:\"half a minute\",lessThanXMinutes:{one:\"less than a minute\",other:\"less than {{count}} minutes\"},xMinutes:{one:\"1 minute\",other:\"{{count}} minutes\"},aboutXHours:{one:\"about 1 hour\",other:\"about {{count}} hours\"},xHours:{one:\"1 hour\",other:\"{{count}} hours\"},xDays:{one:\"1 day\",other:\"{{count}} days\"},aboutXMonths:{one:\"about 1 month\",other:\"about {{count}} months\"},xMonths:{one:\"1 month\",other:\"{{count}} months\"},aboutXYears:{one:\"about 1 year\",other:\"about {{count}} years\"},xYears:{one:\"1 year\",other:\"{{count}} years\"},overXYears:{one:\"over 1 year\",other:\"over {{count}} years\"},almostXYears:{one:\"almost 1 year\",other:\"almost {{count}} years\"}};function e(e,n,i){i=i||{};var o;if(typeof t[e]===\"string\"){o=t[e]}else if(n===1){o=t[e].one}else{o=t[e].other.replace(\"{{count}}\",n)}if(i.addSuffix){if(i.comparison>0){return\"in \"+o}else{return o+\" ago\"}}return o}return{localize:e}}t.exports=n},function(t,e,n){var i=n(135);function o(){var t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];var e=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];var n=[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"];var o=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];var r=[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"];var a=[\"AM\",\"PM\"];var c=[\"am\",\"pm\"];var l=[\"a.m.\",\"p.m.\"];var d={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return o[t.getDay()]},dddd:function(t){return r[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?c[1]:c[0]},aa:function(t){return t.getHours()/12>=1?l[1]:l[0]}};var u=[\"M\",\"D\",\"DDD\",\"d\",\"Q\",\"W\"];u.forEach((function(t){d[t+\"o\"]=function(e,n){return s(n[t](e))}}));return{formatters:d,formattingTokensRegExp:i(d)}}function s(t){var e=t%100;if(e>20||e<10){switch(e%10){case 1:return t+\"st\";case 2:return t+\"nd\";case 3:return t+\"rd\"}}return t+\"th\"}t.exports=o},function(t,e){var n=[\"M\",\"MM\",\"Q\",\"D\",\"DD\",\"DDD\",\"DDDD\",\"d\",\"E\",\"W\",\"WW\",\"YY\",\"YYYY\",\"GG\",\"GGGG\",\"H\",\"HH\",\"h\",\"hh\",\"m\",\"mm\",\"s\",\"ss\",\"S\",\"SS\",\"SSS\",\"Z\",\"ZZ\",\"X\",\"x\"];function i(t){var e=[];for(var i in t){if(t.hasOwnProperty(i)){e.push(i)}}var o=n.concat(e).sort().reverse();var s=new RegExp(\"(\\\\[[^\\\\[]*\\\\])|(\\\\\\\\)?\"+\"(\"+o.join(\"|\")+\"|.)\",\"g\");return s}t.exports=i},function(t,e,n){var i=n(1);var o=n(137);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-annotation-icon:grey;--ck-color-annotation-info:#757575;--ck-annotation-button-size:0.85em}.ck .ck-annotation{--ck-user-avatar-size:28px;font-size:var(--ck-font-size-base);display:flex;position:relative;animation:fadeInLeft .3s;transition:background-color .3s ease;padding:var(--ck-spacing-standard)}.ck .ck-annotation .ck-button{background-color:transparent;min-width:unset;min-height:unset;cursor:pointer;color:var(--ck-color-annotation-icon);border-radius:var(--ck-border-radius);font-size:var(--ck-annotation-button-size)}.ck .ck-annotation__main{display:flex;flex-wrap:wrap;justify-content:space-between;width:calc(100% - var(--ck-user-avatar-size));transition:all .2s ease;border-radius:var(--ck-border-radius);padding-left:var(--ck-spacing-standard)}.ck .ck-annotation__main p{margin:0;white-space:normal;font-size:var(--ck-font-size-base);line-height:1.5em}.ck .ck-annotation__user{margin-top:var(--ck-spacing-small)}.ck .ck-annotation__info{display:flex;align-items:center;color:var(--ck-color-annotation-info);min-height:2.4em}.ck .ck-annotation__info-name,.ck .ck-annotation__info-time{font-weight:700;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ck-color-annotation-info);font-size:var(--ck-font-size-small)}.ck .ck-annotation__info-time{margin-left:var(--ck-spacing-large)}.ck .ck-annotation__actions{transition:opacity .2s ease;opacity:.5}.ck .ck-annotation__content-wrapper{width:100%}@keyframes fadeInLeft{0%{transform:translate3d(-5%,0,0);opacity:0}to{transform:translateZ(0);opacity:1}}\"},function(t,e,n){var i=n(1);var o=n(139);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=':root{--ck-color-comment-background:#f3f7fb;--ck-color-comment-separator:#cddeef;--ck-color-comment-remove-background:#fcc;--ck-color-comment-input-background:var(--ck-color-comment-background)}.ck .ck-comment__wrapper{font-size:var(--ck-font-size-base);position:relative;outline:0;transition:all .3s linear}.ck .ck-comment__wrapper.ck-comment--remove-confirmation{transform:translate3d(-100%,0,0)}.ck .ck-comment__wrapper:first-of-type{border-top-right-radius:var(--ck-border-radius);border-top-left-radius:var(--ck-border-radius)}.ck .ck-comment:after{content:\"\";display:block;position:absolute;opacity:1;top:calc(var(--ck-user-avatar-size) + var(--ck-spacing-small));left:calc(var(--ck-spacing-standard) + var(--ck-user-avatar-size)/2 - 2px);width:4px;height:100%;background-color:var(--ck-color-comment-separator)}.ck .ck-comment--remove{background-color:var(--ck-color-comment-remove-background)}.ck .ck-comment--edit{background-color:var(--ck-color-comment-input-background)}.ck .ck-comment--edit:after{opacity:0}.ck .ck-comment__main .ck-comment__input-wrapper{display:flex;flex-direction:column;position:relative;transition:all .3s linear}.ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input{padding:0}.ck .ck-comment__main .ck-comment__input-wrapper .ck-comment__input-actions{display:block}.ck .ck-comment__content{word-break:break-word}.ck .ck-comment__user{z-index:var(--ck-z-default)}.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit{color:var(--ck-color-button-save)}.ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel{color:var(--ck-color-button-cancel)}.ck .ck-comment__input p,.ck .ck-comment p{margin:0}.ck .ck-comment__input ol,.ck .ck-comment__input ul,.ck .ck-comment ol,.ck .ck-comment ul{padding-left:10px;margin-left:10px}.ck .ck-comment__input ul,.ck .ck-comment ul{list-style:disc;margin-bottom:5px;margin-top:0}.ck .ck-comment__input ul ul,.ck .ck-comment ul ul{list-style:circle}.ck .ck-comment__input ul ul ul,.ck .ck-comment ul ul ul{list-style:square}'},function(t,e,n){var i=n(1);var o=n(141);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=':root{--ck-color-thread-remove-background:var(--ck-color-comment-remove-background);--ck-color-comment-count:#5891ca}.ck .ck-thread{width:100%;color:var(--ck-color-base-text);outline:0;background-color:var(--ck-color-base-background);overflow:hidden;transition:all .3s ease;border-radius:var(--ck-border-radius)}.ck .ck-thread .ck-comment__wrapper:last-of-type .ck-comment:after{opacity:0}.ck .ck-thread__container{transition:transform .3s ease}.ck .ck-thread__comments{position:relative;z-index:var(--ck-z-default);list-style:none;margin:0;padding:0;border-radius:var(--ck-border-radius)}.ck .ck-thread__comment-count{--ck-user-avatar-size:28px;padding-left:calc(var(--ck-user-avatar-size) + var(--ck-spacing-standard)*2);color:var(--ck-color-comment-count);font-size:var(--ck-font-size-base);font-weight:700;cursor:pointer;transition:background-color .3s ease}.ck .ck-thread__comment-count:before{content:\"\\\\25BC\";margin-right:var(--ck-spacing-small)}.ck .ck-thread--active .ck-comment__options.ck-dropdown{display:block}.ck .ck-thread--active .ck-thread__input{display:block;background-color:var(--ck-color-comment-background)}.ck .ck-thread--active .ck-comment__wrapper .ck-comment--remove:after,.ck .ck-thread--active .ck-comment__wrapper:last-of-type .ck-comment:after{opacity:0}.ck .ck-thread--remove .ck-comment{background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread--remove .ck-thread__input--active{background-color:var(--ck-color-base-background)}.ck .ck-thread--remove .ck-thread__comment-count,.ck .ck-thread--remove .ck-thread__input--active.ck-thread__input{background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread--remove .ck-comment__wrapper .ck-comment:after{opacity:0}.ck .ck-thread--remove-confirmation .ck-thread__container{transform:translate3d(-100%,0,0)}.ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck .ck-thread__remove-confirm{font-size:var(--ck-font-size-base);position:absolute;display:flex;justify-content:flex-start;top:0;left:100%;width:100%;height:100%;background-color:var(--ck-color-comment-remove-background)}.ck .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:var(--ck-spacing-standard);height:100%;width:100%;max-height:400px}.ck .ck-thread__remove-confirm p{font-weight:700;margin:0}.ck .ck-thread__input{width:calc(100% - var(--ck-user-avatar-size));transition:background-color .2s ease-in-out;border-radius:var(--ck-border-radius)}'},function(t,e,n){var i=n(1);var o=n(143);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\".ck .ck-comment__input-container{--ck-user-avatar-size:28px;font-size:var(--ck-font-size-base);display:none;padding:var(--ck-spacing-standard);background:var(--ck-color-comment-background)}.ck .ck-comment__input-container--active{display:flex}.ck .ck-comment__input{padding:var(--ck-spacing-standard);padding-top:var(--ck-spacing-medium);color:var(--ck-color-base-text);border-width:0;resize:none;background-color:transparent;transition:color .3s ease-in-out}.ck .ck-comment__input:focus{outline:none}.ck .ck-comment__input .ck-editor__editable_inline{--ck-focus-ring:none;--ck-inner-shadow:none;padding:0;overflow:visible;border:0;background-color:transparent;word-break:break-word}.ck-comment__input-wrapper .ck.ck-editor__editable_inline :first-child{margin-top:0}.ck-comment__input-wrapper .ck.ck-editor__editable_inline :last-child{margin-bottom:0}.ck .ck-comment__input-actions{display:none;width:100%;text-align:right}.ck .ck-comment__input-actions .ck-button{background-color:transparent;min-width:unset;min-height:unset;cursor:pointer;color:var(--ck-color-annotations-icon);border-radius:var(--ck-border-radius);font-size:var(--ck-annotation-button-size)}.ck .ck-comment__input-actions .ck-button.ck-disabled{opacity:.3}.ck .ck-comment__input-actions--active,.ck .ck-comment__input-textarea{display:block}\"},function(t,e,n){var i=n(1);var o=n(145);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-color-annotation-wrapper-background:#fff;--ck-color-annotation-wrapper-drop-shadow:0 1px 1px 1px #e6e6e6}.ck.ck-sidebar{position:relative;transition:min-height .25s ease;outline:0}.ck-sidebar-item{position:absolute;width:100%;transition:top .3s ease,box-shadow .3s ease}.ck-sidebar-item--no-animation{transition:top 0s ease!important}.ck.ck-annotation-wrapper{outline:0;border-radius:var(--ck-border-radius);background:var(--ck-color-annotation-wrapper-background);box-shadow:var(--ck-color-annotation-wrapper-drop-shadow)}.ck.ck-annotation-wrapper:not(.ck-annotation-wrapper--active):hover{box-shadow:var(--ck-drop-shadow)}.ck.ck-annotation-wrapper--active{box-shadow:var(--ck-drop-shadow-active)}.ck.ck-annotation-wrapper--active .ck-annotation__actions,.ck.ck-annotation-wrapper:hover .ck-annotation__actions{opacity:1}.ck.ck-annotation-wrapper--active .ck-suggestion--accept,.ck.ck-annotation-wrapper:hover .ck-suggestion--accept{color:var(--ck-color-button-save)}.ck.ck-annotation-wrapper--active .ck-suggestion--discard,.ck.ck-annotation-wrapper:hover .ck-suggestion--discard{color:var(--ck-color-button-cancel)}\"},function(t,e,n){var i=n(1);var o=n(147);o=o.__esModule?o.default:o;if(typeof o===\"string\"){o=[[t.i,o,\"\"]]}var s={injectType:\"singletonStyleTag\"};s.insert=\"head\";s.singleton=true;var r=i(o,s);var a=o.locals?o.locals:{};t.exports=a},function(t,e){t.exports=\":root{--ck-annotation-counter-icon-size:18px;--ck-annotation-counter-number-size:10px;--ck-color-annotation-counter-comment:#f2de02;--ck-color-annotation-counter-suggestion-insertion:#5ad86b;--ck-color-annotation-counter-suggestion-deletion:#d85a79;--ck-color-annotation-counter-suggestion-format:#5ac1d8}.ck.ck-sidebar--narrow .ck-sidebar-item{display:flex;justify-content:center}.ck.ck-sidebar--narrow .ck-annotation-counter{font-size:var(--ck-annotation-counter-icon-size);min-height:unset;padding:0;cursor:pointer;color:grey}.ck.ck-sidebar--narrow .ck-annotation-counter:focus,.ck.ck-sidebar--narrow .ck-annotation-counter:hover{background:transparent;box-shadow:none;color:#4d4d4d}.ck.ck-sidebar--narrow .ck-annotation-counter__badge{border-radius:50%;position:absolute;width:16px;height:16px;background:#333;font-weight:700;color:#fff;font-size:var(--ck-annotation-counter-number-size);font-family:var(--ck-font-face);right:0;top:0;text-shadow:-1px 0 2px #444,1px 0 2px #444;display:flex;justify-content:center;line-height:16px;z-index:1}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--edit-mode{line-height:1}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-insertion,.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-replace{background:var(--ck-color-annotation-counter-suggestion-insertion)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-deletion{background:var(--ck-color-annotation-counter-suggestion-deletion)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--suggestion-format{background:var(--ck-color-annotation-counter-suggestion-format)}.ck.ck-sidebar--narrow .ck-annotation-counter__badge--comment{background:var(--ck-color-annotation-counter-comment)}\"},function(t,e,n){\"use strict\";n.r(e);var i=n(3);var o=i[\"a\"].Symbol;var s=o;var r=Object.prototype;var a=r.hasOwnProperty;var c=r.toString;var l=s?s.toStringTag:undefined;function d(t){var e=a.call(t,l),n=t[l];try{t[l]=undefined;var i=true}catch(t){}var o=c.call(t);if(i){if(e){t[l]=n}else{delete t[l]}}return o}var u=d;var h=Object.prototype;var f=h.toString;function m(t){return f.call(t)}var g=m;var p=\"[object Null]\",b=\"[object Undefined]\";var w=s?s.toStringTag:undefined;function _(t){if(t==null){return t===undefined?b:p}return w&&w in Object(t)?u(t):g(t)}var v=_;function k(t,e){return function(n){return t(e(n))}}var x=k;var y=x(Object.getPrototypeOf,Object);var A=y;function C(t){return t!=null&&typeof t==\"object\"}var T=C;var M=\"[object Object]\";var E=Function.prototype,P=Object.prototype;var S=E.toString;var I=P.hasOwnProperty;var O=S.call(Object);function N(t){if(!T(t)||v(t)!=M){return false}var e=A(t);if(e===null){return true}var n=I.call(e,\"constructor\")&&e.constructor;return typeof n==\"function\"&&n instanceof n&&S.call(n)==O}var L=N;function R(){this.__data__=[];this.size=0}var D=R;function j(t,e){return t===e||t!==t&&e!==e}var z=j;function B(t,e){var n=t.length;while(n--){if(z(t[n][0],e)){return n}}return-1}var V=B;var F=Array.prototype;var H=F.splice;function U(t){var e=this.__data__,n=V(e,t);if(n<0){return false}var i=e.length-1;if(n==i){e.pop()}else{H.call(e,n,1)}--this.size;return true}var W=U;function $(t){var e=this.__data__,n=V(e,t);return n<0?undefined:e[n][1]}var Y=$;function q(t){return V(this.__data__,t)>-1}var G=q;function K(t,e){var n=this.__data__,i=V(n,t);if(i<0){++this.size;n.push([t,e])}else{n[i][1]=e}return this}var J=K;function X(t){var e=-1,n=t==null?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}X.prototype.clear=D;X.prototype[\"delete\"]=W;X.prototype.get=Y;X.prototype.has=G;X.prototype.set=J;var Q=X;function Z(){this.__data__=new Q;this.size=0}var tt=Z;function et(t){var e=this.__data__,n=e[\"delete\"](t);this.size=e.size;return n}var nt=et;function it(t){return this.__data__.get(t)}var ot=it;function st(t){return this.__data__.has(t)}var rt=st;function at(t){var e=typeof t;return t!=null&&(e==\"object\"||e==\"function\")}var ct=at;var lt=\"[object AsyncFunction]\",dt=\"[object Function]\",ut=\"[object GeneratorFunction]\",ht=\"[object Proxy]\";function ft(t){if(!ct(t)){return false}var e=v(t);return e==dt||e==ut||e==lt||e==ht}var mt=ft;var gt=i[\"a\"][\"__core-js_shared__\"];var pt=gt;var bt=function(){var t=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||\"\");return t?\"Symbol(src)_1.\"+t:\"\"}();function wt(t){return!!bt&&bt in t}var _t=wt;var vt=Function.prototype;var kt=vt.toString;function xt(t){if(t!=null){try{return kt.call(t)}catch(t){}try{return t+\"\"}catch(t){}}return\"\"}var yt=xt;var At=/[\\\\^$.*+?()[\\]{}|]/g;var Ct=/^\\[object .+?Constructor\\]$/;var Tt=Function.prototype,Mt=Object.prototype;var Et=Tt.toString;var Pt=Mt.hasOwnProperty;var St=RegExp(\"^\"+Et.call(Pt).replace(At,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function It(t){if(!ct(t)||_t(t)){return false}var e=mt(t)?St:Ct;return e.test(yt(t))}var Ot=It;function Nt(t,e){return t==null?undefined:t[e]}var Lt=Nt;function Rt(t,e){var n=Lt(t,e);return Ot(n)?n:undefined}var Dt=Rt;var jt=Dt(i[\"a\"],\"Map\");var zt=jt;var Bt=Dt(Object,\"create\");var Vt=Bt;function Ft(){this.__data__=Vt?Vt(null):{};this.size=0}var Ht=Ft;function Ut(t){var e=this.has(t)&&delete this.__data__[t];this.size-=e?1:0;return e}var Wt=Ut;var $t=\"__lodash_hash_undefined__\";var Yt=Object.prototype;var qt=Yt.hasOwnProperty;function Gt(t){var e=this.__data__;if(Vt){var n=e[t];return n===$t?undefined:n}return qt.call(e,t)?e[t]:undefined}var Kt=Gt;var Jt=Object.prototype;var Xt=Jt.hasOwnProperty;function Qt(t){var e=this.__data__;return Vt?e[t]!==undefined:Xt.call(e,t)}var Zt=Qt;var te=\"__lodash_hash_undefined__\";function ee(t,e){var n=this.__data__;this.size+=this.has(t)?0:1;n[t]=Vt&&e===undefined?te:e;return this}var ne=ee;function ie(t){var e=-1,n=t==null?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}ie.prototype.clear=Ht;ie.prototype[\"delete\"]=Wt;ie.prototype.get=Kt;ie.prototype.has=Zt;ie.prototype.set=ne;var oe=ie;function se(){this.size=0;this.__data__={hash:new oe,map:new(zt||Q),string:new oe}}var re=se;function ae(t){var e=typeof t;return e==\"string\"||e==\"number\"||e==\"symbol\"||e==\"boolean\"?t!==\"__proto__\":t===null}var ce=ae;function le(t,e){var n=t.__data__;return ce(e)?n[typeof e==\"string\"?\"string\":\"hash\"]:n.map}var de=le;function ue(t){var e=de(this,t)[\"delete\"](t);this.size-=e?1:0;return e}var he=ue;function fe(t){return de(this,t).get(t)}var me=fe;function ge(t){return de(this,t).has(t)}var pe=ge;function be(t,e){var n=de(this,t),i=n.size;n.set(t,e);this.size+=n.size==i?0:1;return this}var we=be;function _e(t){var e=-1,n=t==null?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}_e.prototype.clear=re;_e.prototype[\"delete\"]=he;_e.prototype.get=me;_e.prototype.has=pe;_e.prototype.set=we;var ve=_e;var ke=200;function xe(t,e){var n=this.__data__;if(n instanceof Q){var i=n.__data__;if(!zt||i.length<ke-1){i.push([t,e]);this.size=++n.size;return this}n=this.__data__=new ve(i)}n.set(t,e);this.size=n.size;return this}var ye=xe;function Ae(t){var e=this.__data__=new Q(t);this.size=e.size}Ae.prototype.clear=tt;Ae.prototype[\"delete\"]=nt;Ae.prototype.get=ot;Ae.prototype.has=rt;Ae.prototype.set=ye;var Ce=Ae;function Te(t,e){var n=-1,i=t==null?0:t.length;while(++n<i){if(e(t[n],n,t)===false){break}}return t}var Me=Te;var Ee=function(){try{var t=Dt(Object,\"defineProperty\");t({},\"\",{});return t}catch(t){}}();var Pe=Ee;function Se(t,e,n){if(e==\"__proto__\"&&Pe){Pe(t,e,{configurable:true,enumerable:true,value:n,writable:true})}else{t[e]=n}}var Ie=Se;var Oe=Object.prototype;var Ne=Oe.hasOwnProperty;function Le(t,e,n){var i=t[e];if(!(Ne.call(t,e)&&z(i,n))||n===undefined&&!(e in t)){Ie(t,e,n)}}var Re=Le;function De(t,e,n,i){var o=!n;n||(n={});var s=-1,r=e.length;while(++s<r){var a=e[s];var c=i?i(n[a],t[a],a,n,t):undefined;if(c===undefined){c=t[a]}if(o){Ie(n,a,c)}else{Re(n,a,c)}}return n}var je=De;function ze(t,e){var n=-1,i=Array(t);while(++n<t){i[n]=e(n)}return i}var Be=ze;var Ve=\"[object Arguments]\";function Fe(t){return T(t)&&v(t)==Ve}var He=Fe;var Ue=Object.prototype;var We=Ue.hasOwnProperty;var $e=Ue.propertyIsEnumerable;var Ye=He(function(){return arguments}())?He:function(t){return T(t)&&We.call(t,\"callee\")&&!$e.call(t,\"callee\")};var qe=Ye;var Ge=Array.isArray;var Ke=Ge;var Je=n(6);var Xe=9007199254740991;var Qe=/^(?:0|[1-9]\\d*)$/;function Ze(t,e){var n=typeof t;e=e==null?Xe:e;return!!e&&(n==\"number\"||n!=\"symbol\"&&Qe.test(t))&&(t>-1&&t%1==0&&t<e)}var tn=Ze;var en=9007199254740991;function nn(t){return typeof t==\"number\"&&t>-1&&t%1==0&&t<=en}var on=nn;var sn=\"[object Arguments]\",rn=\"[object Array]\",an=\"[object Boolean]\",cn=\"[object Date]\",ln=\"[object Error]\",dn=\"[object Function]\",un=\"[object Map]\",hn=\"[object Number]\",fn=\"[object Object]\",mn=\"[object RegExp]\",gn=\"[object Set]\",pn=\"[object String]\",bn=\"[object WeakMap]\";var wn=\"[object ArrayBuffer]\",_n=\"[object DataView]\",vn=\"[object Float32Array]\",kn=\"[object Float64Array]\",xn=\"[object Int8Array]\",yn=\"[object Int16Array]\",An=\"[object Int32Array]\",Cn=\"[object Uint8Array]\",Tn=\"[object Uint8ClampedArray]\",Mn=\"[object Uint16Array]\",En=\"[object Uint32Array]\";var Pn={};Pn[vn]=Pn[kn]=Pn[xn]=Pn[yn]=Pn[An]=Pn[Cn]=Pn[Tn]=Pn[Mn]=Pn[En]=true;Pn[sn]=Pn[rn]=Pn[wn]=Pn[an]=Pn[_n]=Pn[cn]=Pn[ln]=Pn[dn]=Pn[un]=Pn[hn]=Pn[fn]=Pn[mn]=Pn[gn]=Pn[pn]=Pn[bn]=false;function Sn(t){return T(t)&&on(t.length)&&!!Pn[v(t)]}var In=Sn;function On(t){return function(e){return t(e)}}var Nn=On;var Ln=n(4);var Rn=Ln[\"a\"]&&Ln[\"a\"].isTypedArray;var Dn=Rn?Nn(Rn):In;var jn=Dn;var zn=Object.prototype;var Bn=zn.hasOwnProperty;function Vn(t,e){var n=Ke(t),i=!n&&qe(t),o=!n&&!i&&Object(Je[\"a\"])(t),s=!n&&!i&&!o&&jn(t),r=n||i||o||s,a=r?Be(t.length,String):[],c=a.length;for(var l in t){if((e||Bn.call(t,l))&&!(r&&(l==\"length\"||o&&(l==\"offset\"||l==\"parent\")||s&&(l==\"buffer\"||l==\"byteLength\"||l==\"byteOffset\")||tn(l,c)))){a.push(l)}}return a}var Fn=Vn;var Hn=Object.prototype;function Un(t){var e=t&&t.constructor,n=typeof e==\"function\"&&e.prototype||Hn;return t===n}var Wn=Un;var $n=x(Object.keys,Object);var Yn=$n;var qn=Object.prototype;var Gn=qn.hasOwnProperty;function Kn(t){if(!Wn(t)){return Yn(t)}var e=[];for(var n in Object(t)){if(Gn.call(t,n)&&n!=\"constructor\"){e.push(n)}}return e}var Jn=Kn;function Xn(t){return t!=null&&on(t.length)&&!mt(t)}var Qn=Xn;function Zn(t){return Qn(t)?Fn(t):Jn(t)}var ti=Zn;function ei(t,e){return t&&je(e,ti(e),t)}var ni=ei;function ii(t){var e=[];if(t!=null){for(var n in Object(t)){e.push(n)}}return e}var oi=ii;var si=Object.prototype;var ri=si.hasOwnProperty;function ai(t){if(!ct(t)){return oi(t)}var e=Wn(t),n=[];for(var i in t){if(!(i==\"constructor\"&&(e||!ri.call(t,i)))){n.push(i)}}return n}var ci=ai;function li(t){return Qn(t)?Fn(t,true):ci(t)}var di=li;function ui(t,e){return t&&je(e,di(e),t)}var hi=ui;var fi=n(18);function mi(t,e){var n=-1,i=t.length;e||(e=Array(i));while(++n<i){e[n]=t[n]}return e}var gi=mi;function pi(t,e){var n=-1,i=t==null?0:t.length,o=0,s=[];while(++n<i){var r=t[n];if(e(r,n,t)){s[o++]=r}}return s}var bi=pi;function wi(){return[]}var _i=wi;var vi=Object.prototype;var ki=vi.propertyIsEnumerable;var xi=Object.getOwnPropertySymbols;var yi=!xi?_i:function(t){if(t==null){return[]}t=Object(t);return bi(xi(t),(function(e){return ki.call(t,e)}))};var Ai=yi;function Ci(t,e){return je(t,Ai(t),e)}var Ti=Ci;function Mi(t,e){var n=-1,i=e.length,o=t.length;while(++n<i){t[o+n]=e[n]}return t}var Ei=Mi;var Pi=Object.getOwnPropertySymbols;var Si=!Pi?_i:function(t){var e=[];while(t){Ei(e,Ai(t));t=A(t)}return e};var Ii=Si;function Oi(t,e){return je(t,Ii(t),e)}var Ni=Oi;function Li(t,e,n){var i=e(t);return Ke(t)?i:Ei(i,n(t))}var Ri=Li;function Di(t){return Ri(t,ti,Ai)}var ji=Di;function zi(t){return Ri(t,di,Ii)}var Bi=zi;var Vi=Dt(i[\"a\"],\"DataView\");var Fi=Vi;var Hi=Dt(i[\"a\"],\"Promise\");var Ui=Hi;var Wi=Dt(i[\"a\"],\"Set\");var $i=Wi;var Yi=Dt(i[\"a\"],\"WeakMap\");var qi=Yi;var Gi=\"[object Map]\",Ki=\"[object Object]\",Ji=\"[object Promise]\",Xi=\"[object Set]\",Qi=\"[object WeakMap]\";var Zi=\"[object DataView]\";var to=yt(Fi),eo=yt(zt),no=yt(Ui),io=yt($i),oo=yt(qi);var so=v;if(Fi&&so(new Fi(new ArrayBuffer(1)))!=Zi||zt&&so(new zt)!=Gi||Ui&&so(Ui.resolve())!=Ji||$i&&so(new $i)!=Xi||qi&&so(new qi)!=Qi){so=function(t){var e=v(t),n=e==Ki?t.constructor:undefined,i=n?yt(n):\"\";if(i){switch(i){case to:return Zi;case eo:return Gi;case no:return Ji;case io:return Xi;case oo:return Qi}}return e}}var ro=so;var ao=Object.prototype;var co=ao.hasOwnProperty;function lo(t){var e=t.length,n=new t.constructor(e);if(e&&typeof t[0]==\"string\"&&co.call(t,\"index\")){n.index=t.index;n.input=t.input}return n}var uo=lo;var ho=i[\"a\"].Uint8Array;var fo=ho;function mo(t){var e=new t.constructor(t.byteLength);new fo(e).set(new fo(t));return e}var go=mo;function po(t,e){var n=e?go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var bo=po;var wo=/\\w*$/;function _o(t){var e=new t.constructor(t.source,wo.exec(t));e.lastIndex=t.lastIndex;return e}var vo=_o;var ko=s?s.prototype:undefined,xo=ko?ko.valueOf:undefined;function yo(t){return xo?Object(xo.call(t)):{}}var Ao=yo;function Co(t,e){var n=e?go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var To=Co;var Mo=\"[object Boolean]\",Eo=\"[object Date]\",Po=\"[object Map]\",So=\"[object Number]\",Io=\"[object RegExp]\",Oo=\"[object Set]\",No=\"[object String]\",Lo=\"[object Symbol]\";var Ro=\"[object ArrayBuffer]\",Do=\"[object DataView]\",jo=\"[object Float32Array]\",zo=\"[object Float64Array]\",Bo=\"[object Int8Array]\",Vo=\"[object Int16Array]\",Fo=\"[object Int32Array]\",Ho=\"[object Uint8Array]\",Uo=\"[object Uint8ClampedArray]\",Wo=\"[object Uint16Array]\",$o=\"[object Uint32Array]\";function Yo(t,e,n){var i=t.constructor;switch(e){case Ro:return go(t);case Mo:case Eo:return new i(+t);case Do:return bo(t,n);case jo:case zo:case Bo:case Vo:case Fo:case Ho:case Uo:case Wo:case $o:return To(t,n);case Po:return new i;case So:case No:return new i(t);case Io:return vo(t);case Oo:return new i;case Lo:return Ao(t)}}var qo=Yo;var Go=Object.create;var Ko=function(){function t(){}return function(e){if(!ct(e)){return{}}if(Go){return Go(e)}t.prototype=e;var n=new t;t.prototype=undefined;return n}}();var Jo=Ko;function Xo(t){return typeof t.constructor==\"function\"&&!Wn(t)?Jo(A(t)):{}}var Qo=Xo;var Zo=\"[object Map]\";function ts(t){return T(t)&&ro(t)==Zo}var es=ts;var ns=Ln[\"a\"]&&Ln[\"a\"].isMap;var is=ns?Nn(ns):es;var os=is;var ss=\"[object Set]\";function rs(t){return T(t)&&ro(t)==ss}var as=rs;var cs=Ln[\"a\"]&&Ln[\"a\"].isSet;var ls=cs?Nn(cs):as;var ds=ls;var us=1,hs=2,fs=4;var ms=\"[object Arguments]\",gs=\"[object Array]\",ps=\"[object Boolean]\",bs=\"[object Date]\",ws=\"[object Error]\",_s=\"[object Function]\",vs=\"[object GeneratorFunction]\",ks=\"[object Map]\",xs=\"[object Number]\",ys=\"[object Object]\",As=\"[object RegExp]\",Cs=\"[object Set]\",Ts=\"[object String]\",Ms=\"[object Symbol]\",Es=\"[object WeakMap]\";var Ps=\"[object ArrayBuffer]\",Ss=\"[object DataView]\",Is=\"[object Float32Array]\",Os=\"[object Float64Array]\",Ns=\"[object Int8Array]\",Ls=\"[object Int16Array]\",Rs=\"[object Int32Array]\",Ds=\"[object Uint8Array]\",js=\"[object Uint8ClampedArray]\",zs=\"[object Uint16Array]\",Bs=\"[object Uint32Array]\";var Vs={};Vs[ms]=Vs[gs]=Vs[Ps]=Vs[Ss]=Vs[ps]=Vs[bs]=Vs[Is]=Vs[Os]=Vs[Ns]=Vs[Ls]=Vs[Rs]=Vs[ks]=Vs[xs]=Vs[ys]=Vs[As]=Vs[Cs]=Vs[Ts]=Vs[Ms]=Vs[Ds]=Vs[js]=Vs[zs]=Vs[Bs]=true;Vs[ws]=Vs[_s]=Vs[Es]=false;function Fs(t,e,n,i,o,s){var r,a=e&us,c=e&hs,l=e&fs;if(n){r=o?n(t,i,o,s):n(t)}if(r!==undefined){return r}if(!ct(t)){return t}var d=Ke(t);if(d){r=uo(t);if(!a){return gi(t,r)}}else{var u=ro(t),h=u==_s||u==vs;if(Object(Je[\"a\"])(t)){return Object(fi[\"a\"])(t,a)}if(u==ys||u==ms||h&&!o){r=c||h?{}:Qo(t);if(!a){return c?Ni(t,hi(r,t)):Ti(t,ni(r,t))}}else{if(!Vs[u]){return o?t:{}}r=qo(t,u,a)}}s||(s=new Ce);var f=s.get(t);if(f){return f}s.set(t,r);if(ds(t)){t.forEach((function(i){r.add(Fs(i,e,n,i,t,s))}))}else if(os(t)){t.forEach((function(i,o){r.set(o,Fs(i,e,n,o,t,s))}))}var m=l?c?Bi:ji:c?keysIn:ti;var g=d?undefined:m(t);Me(g||t,(function(i,o){if(g){o=i;i=t[o]}Re(r,o,Fs(i,e,n,o,t,s))}));return r}var Hs=Fs;var Us=1,Ws=4;function $s(t,e){e=typeof e==\"function\"?e:undefined;return Hs(t,Us|Ws,e)}var Ys=$s;function qs(t){return T(t)&&t.nodeType===1&&!L(t)}var Gs=qs;class Ks{constructor(t,e){this._config={};if(e){this.define(e)}if(t){this._setObjectToTarget(this._config,t)}}set(t,e){this._setToTarget(this._config,t,e)}define(t,e){const n=true;this._setToTarget(this._config,t,e,n)}get(t){return this._getFromSource(this._config,t)}_setToTarget(t,e,n,i=false){if(L(e)){this._setObjectToTarget(t,e,i);return}const o=e.split(\".\");e=o.pop();for(const e of o){if(!L(t[e])){t[e]={}}t=t[e]}if(L(n)){if(!L(t[e])){t[e]={}}t=t[e];this._setObjectToTarget(t,n,i);return}if(i&&typeof t[e]!=\"undefined\"){return}t[e]=n}_getFromSource(t,e){const n=e.split(\".\");e=n.pop();for(const e of n){if(!L(t[e])){t=null;break}t=t[e]}return t?Js(t[e]):undefined}_setObjectToTarget(t,e,n){Object.keys(e).forEach(i=>{this._setToTarget(t,i,e[i],n)})}}function Js(t){return Ys(t,Xs)}function Xs(t){return Gs(t)?t:undefined}var Qs=n(0);function Zs(){return function t(){t.called=true}}var tr=Zs;class er{constructor(t,e){this.source=t;this.name=e;this.path=[];this.stop=tr();this.off=tr()}}function nr(){let t=\"e\";for(let e=0;e<8;e++){t+=Math.floor((1+Math.random())*65536).toString(16).substring(1)}return t}const ir={get(t){if(typeof t!=\"number\"){return this[t]||this.normal}else{return t}},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};var or=ir;var sr=n(7);const rr=Symbol(\"listeningTo\");const ar=Symbol(\"emitterId\");const cr={on(t,e,n={}){this.listenTo(this,t,e,n)},once(t,e,n){let i=false;const o=function(t,...n){if(!i){i=true;t.off();e.call(this,t,...n)}};this.listenTo(this,t,o,n)},off(t,e){this.stopListening(this,t,e)},listenTo(t,e,n,i={}){let o,s;if(!this[rr]){this[rr]={}}const r=this[rr];if(!hr(t)){ur(t)}const a=hr(t);if(!(o=r[a])){o=r[a]={emitter:t,callbacks:{}}}if(!(s=o.callbacks[e])){s=o.callbacks[e]=[]}s.push(n);gr(t,e);const c=pr(t,e);const l=or.get(i.priority);const d={callback:n,priority:l};for(const t of c){let e=false;for(let n=0;n<t.length;n++){if(t[n].priority<l){t.splice(n,0,d);e=true;break}}if(!e){t.push(d)}}},stopListening(t,e,n){const i=this[rr];let o=t&&hr(t);const s=i&&o&&i[o];const r=s&&e&&s.callbacks[e];if(!i||t&&!s||e&&!r){return}if(n){_r(t,e,n)}else if(r){while(n=r.pop()){_r(t,e,n)}delete s.callbacks[e]}else if(s){for(e in s.callbacks){this.stopListening(t,e)}delete i[o]}else{for(o in i){this.stopListening(i[o].emitter)}delete this[rr]}},fire(t,...e){try{const n=t instanceof er?t:new er(this,t);const i=n.name;let o=br(this,i);n.path.push(this);if(o){const t=[n,...e];o=Array.from(o);for(let e=0;e<o.length;e++){o[e].callback.apply(this,t);if(n.off.called){delete n.off.called;_r(this,i,o[e].callback)}if(n.stop.called){break}}}if(this._delegations){const t=this._delegations.get(i);const o=this._delegations.get(\"*\");if(t){wr(t,n,e)}if(o){wr(o,n,e)}}return n.return}catch(t){Qs[\"b\"].rethrowUnexpectedError(t,this)}},delegate(...t){return{to:(e,n)=>{if(!this._delegations){this._delegations=new Map}t.forEach(t=>{const i=this._delegations.get(t);if(!i){this._delegations.set(t,new Map([[e,n]]))}else{i.set(e,n)}})}}},stopDelegating(t,e){if(!this._delegations){return}if(!t){this._delegations.clear()}else if(!e){this._delegations.delete(t)}else{const n=this._delegations.get(t);if(n){n.delete(e)}}}};var lr=cr;function dr(t,e){if(t[rr]&&t[rr][e]){return t[rr][e].emitter}return null}function ur(t,e){if(!t[ar]){t[ar]=e||nr()}}function hr(t){return t[ar]}function fr(t){if(!t._events){Object.defineProperty(t,\"_events\",{value:{}})}return t._events}function mr(){return{callbacks:[],childEvents:[]}}function gr(t,e){const n=fr(t);if(n[e]){return}let i=e;let o=null;const s=[];while(i!==\"\"){if(n[i]){break}n[i]=mr();s.push(n[i]);if(o){n[i].childEvents.push(o)}o=i;i=i.substr(0,i.lastIndexOf(\":\"))}if(i!==\"\"){for(const t of s){t.callbacks=n[i].callbacks.slice()}n[i].childEvents.push(o)}}function pr(t,e){const n=fr(t)[e];if(!n){return[]}let i=[n.callbacks];for(let e=0;e<n.childEvents.length;e++){const o=pr(t,n.childEvents[e]);i=i.concat(o)}return i}function br(t,e){let n;if(!t._events||!(n=t._events[e])||!n.callbacks.length){if(e.indexOf(\":\")>-1){return br(t,e.substr(0,e.lastIndexOf(\":\")))}else{return null}}return n.callbacks}function wr(t,e,n){for(let[i,o]of t){if(!o){o=e.name}else if(typeof o==\"function\"){o=o(e.name)}const t=new er(e.source,o);t.path=[...e.path];i.fire(t,...n)}}function _r(t,e,n){const i=pr(t,e);for(const t of i){for(let e=0;e<t.length;e++){if(t[e].callback==n){t.splice(e,1);e--}}}}function vr(t,...e){e.forEach(e=>{Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)).forEach(n=>{if(n in t.prototype){return}const i=Object.getOwnPropertyDescriptor(e,n);i.enumerable=false;Object.defineProperty(t.prototype,n,i)})})}function kr(t,e){const n=Math.min(t.length,e.length);for(let i=0;i<n;i++){if(t[i]!=e[i]){return i}}if(t.length==e.length){return\"same\"}else if(t.length<e.length){return\"prefix\"}else{return\"extension\"}}var xr=4;function yr(t){return Hs(t,xr)}var Ar=yr;class Cr{constructor(){this.parent=null}get index(){let t;if(!this.parent){return null}if((t=this.parent.getChildIndex(this))==-1){throw new Qs[\"b\"](\"view-node-not-found-in-parent: The node's parent does not contain this node.\",this)}return t}get nextSibling(){const t=this.index;return t!==null&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return t!==null&&this.parent.getChild(t-1)||null}get root(){let t=this;while(t.parent){t=t.parent}return t}get document(){if(this.parent instanceof Cr){return this.parent.document}else{return null}}getPath(){const t=[];let e=this;while(e.parent){t.unshift(e.index);e=e.parent}return t}getAncestors(t={includeSelf:false,parentFirst:false}){const e=[];let n=t.includeSelf?this:this.parent;while(n){e[t.parentFirst?\"push\":\"unshift\"](n);n=n.parent}return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e);const i=t.getAncestors(e);let o=0;while(n[o]==i[o]&&n[o]){o++}return o===0?null:n[o-1]}isBefore(t){if(this==t){return false}if(this.root!==t.root){return false}const e=this.getPath();const n=t.getPath();const i=kr(e,n);switch(i){case\"prefix\":return true;case\"extension\":return false;default:return e[i]<n[i]}}isAfter(t){if(this==t){return false}if(this.root!==t.root){return false}return!this.isBefore(t)}_remove(){this.parent._removeChildren(this.index)}_fireChange(t,e){this.fire(\"change:\"+t,e);if(this.parent){this.parent._fireChange(t,e)}}toJSON(){const t=Ar(this);delete t.parent;return t}is(t){return t==\"node\"||t==\"view:node\"}}vr(Cr,lr);class Tr extends Cr{constructor(t){super();this._textData=t}is(t){return t==\"text\"||t==\"view:text\"||super.is(t)}get data(){return this._textData}get _data(){return this.data}set _data(t){this._fireChange(\"text\",this);this._textData=t}isSimilar(t){if(!(t instanceof Tr)){return false}return this===t||this.data===t.data}_clone(){return new Tr(this.data)}}class Mr{constructor(t,e,n){this.textNode=t;if(e<0||e>t.data.length){throw new Qs[\"b\"](\"view-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.\",this)}if(n<0||e+n>t.data.length){throw new Qs[\"b\"](\"view-textproxy-wrong-length: Given length value is incorrect.\",this)}this.data=t.data.substring(e,e+n);this.offsetInText=e}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}is(t){return t==\"textProxy\"||t==\"view:textProxy\"}getAncestors(t={includeSelf:false,parentFirst:false}){const e=[];let n=t.includeSelf?this.textNode:this.parent;while(n!==null){e[t.parentFirst?\"push\":\"unshift\"](n);n=n.parent}return e}}function Er(t){const e=new Map;for(const n in t){e.set(n,t[n])}return e}function Pr(t){return!!(t&&t[Symbol.iterator])}class Sr{constructor(...t){this._patterns=[];this.add(...t)}add(...t){for(let e of t){if(typeof e==\"string\"||e instanceof RegExp){e={name:e}}if(e.classes&&(typeof e.classes==\"string\"||e.classes instanceof RegExp)){e.classes=[e.classes]}this._patterns.push(e)}}match(...t){for(const e of t){for(const t of this._patterns){const n=Ir(e,t);if(n){return{element:e,pattern:t,match:n}}}}return null}matchAll(...t){const e=[];for(const n of t){for(const t of this._patterns){const i=Ir(n,t);if(i){e.push({element:n,pattern:t,match:i})}}}return e.length>0?e:null}getElementName(){if(this._patterns.length!==1){return null}const t=this._patterns[0];const e=t.name;return typeof t!=\"function\"&&e&&!(e instanceof RegExp)?e:null}}function Ir(t,e){if(typeof e==\"function\"){return e(t)}const n={};if(e.name){n.name=Or(e.name,t.name);if(!n.name){return null}}if(e.attributes){n.attributes=Nr(e.attributes,t);if(!n.attributes){return null}}if(e.classes){n.classes=Lr(e.classes,t);if(!n.classes){return false}}if(e.styles){n.styles=Rr(e.styles,t);if(!n.styles){return false}}return n}function Or(t,e){if(t instanceof RegExp){return t.test(e)}return t===e}function Nr(t,e){const n=[];for(const i in t){const o=t[i];if(e.hasAttribute(i)){const t=e.getAttribute(i);if(o===true){n.push(i)}else if(o instanceof RegExp){if(o.test(t)){n.push(i)}else{return null}}else if(t===o){n.push(i)}else{return null}}else{return null}}return n}function Lr(t,e){const n=[];for(const i of t){if(i instanceof RegExp){const t=e.getClassNames();for(const e of t){if(i.test(e)){n.push(e)}}if(n.length===0){return null}}else if(e.hasClass(i)){n.push(i)}else{return null}}return n}function Rr(t,e){const n=[];for(const i in t){const o=t[i];if(e.hasStyle(i)){const t=e.getStyle(i);if(o instanceof RegExp){if(o.test(t)){n.push(i)}else{return null}}else if(t===o){n.push(i)}else{return null}}else{return null}}return n}class Dr extends Cr{constructor(t,e,n){super();this.name=t;this._attrs=jr(e);this._children=[];if(n){this._insertChild(0,n)}this._classes=new Set;if(this._attrs.has(\"class\")){const t=this._attrs.get(\"class\");Br(this._classes,t);this._attrs.delete(\"class\")}this._styles=new Map;if(this._attrs.has(\"style\")){zr(this._styles,this._attrs.get(\"style\"));this._attrs.delete(\"style\")}this._customProperties=new Map}get childCount(){return this._children.length}get isEmpty(){return this._children.length===0}is(t,e=null){const n=t.replace(/^view:/,\"\");if(!e){return n==\"element\"||n==this.name||super.is(t)}else{return n==\"element\"&&e==this.name}}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){if(this._classes.size>0){yield\"class\"}if(this._styles.size>0){yield\"style\"}yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries();if(this._classes.size>0){yield[\"class\",this.getAttribute(\"class\")]}if(this._styles.size>0){yield[\"style\",this.getAttribute(\"style\")]}}getAttribute(t){if(t==\"class\"){if(this._classes.size>0){return[...this._classes].join(\" \")}return undefined}if(t==\"style\"){if(this._styles.size>0){let t=\"\";for(const[e,n]of this._styles){t+=`${e}:${n};`}return t}return undefined}return this._attrs.get(t)}hasAttribute(t){if(t==\"class\"){return this._classes.size>0}if(t==\"style\"){return this._styles.size>0}return this._attrs.has(t)}isSimilar(t){if(!(t instanceof Dr)){return false}if(this===t){return true}if(this.name!=t.name){return false}if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size){return false}for(const[e,n]of this._attrs){if(!t._attrs.has(e)||t._attrs.get(e)!==n){return false}}for(const e of this._classes){if(!t._classes.has(e)){return false}}for(const[e,n]of this._styles){if(!t._styles.has(e)||t._styles.get(e)!==n){return false}}return true}hasClass(...t){for(const e of t){if(!this._classes.has(e)){return false}}return true}getClassNames(){return this._classes.keys()}getStyle(t){return this._styles.get(t)}getStyleNames(){return this._styles.keys()}hasStyle(...t){for(const e of t){if(!this._styles.has(e)){return false}}return true}findAncestor(...t){const e=new Sr(...t);let n=this.parent;while(n){if(e.match(n)){return n}n=n.parent}return null}getCustomProperty(t){return this._customProperties.get(t)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const t=Array.from(this._classes).sort().join(\",\");const e=Array.from(this._styles).map(t=>`${t[0]}:${t[1]}`).sort().join(\";\");const n=Array.from(this._attrs).map(t=>`${t[0]}=\"${t[1]}\"`).sort().join(\" \");return this.name+(t==\"\"?\"\":` class=\"${t}\"`)+(e==\"\"?\"\":` style=\"${e}\"`)+(n==\"\"?\"\":` ${n}`)}_clone(t=false){const e=[];if(t){for(const n of this.getChildren()){e.push(n._clone(t))}}const n=new this.constructor(this.name,this._attrs,e);n._classes=new Set(this._classes);n._styles=new Map(this._styles);n._customProperties=new Map(this._customProperties);n.getFillerOffset=this.getFillerOffset;return n}_appendChild(t){return this._insertChild(this.childCount,t)}_insertChild(t,e){this._fireChange(\"children\",this);let n=0;const i=Vr(e);for(const e of i){if(e.parent!==null){e._remove()}e.parent=this;this._children.splice(t,0,e);t++;n++}return n}_removeChildren(t,e=1){this._fireChange(\"children\",this);for(let n=t;n<t+e;n++){this._children[n].parent=null}return this._children.splice(t,e)}_setAttribute(t,e){e=String(e);this._fireChange(\"attributes\",this);if(t==\"class\"){Br(this._classes,e)}else if(t==\"style\"){zr(this._styles,e)}else{this._attrs.set(t,e)}}_removeAttribute(t){this._fireChange(\"attributes\",this);if(t==\"class\"){if(this._classes.size>0){this._classes.clear();return true}return false}if(t==\"style\"){if(this._styles.size>0){this._styles.clear();return true}return false}return this._attrs.delete(t)}_addClass(t){this._fireChange(\"attributes\",this);t=Array.isArray(t)?t:[t];t.forEach(t=>this._classes.add(t))}_removeClass(t){this._fireChange(\"attributes\",this);t=Array.isArray(t)?t:[t];t.forEach(t=>this._classes.delete(t))}_setStyle(t,e){this._fireChange(\"attributes\",this);if(L(t)){const e=Object.keys(t);for(const n of e){this._styles.set(n,t[n])}}else{this._styles.set(t,e)}}_removeStyle(t){this._fireChange(\"attributes\",this);t=Array.isArray(t)?t:[t];t.forEach(t=>this._styles.delete(t))}_setCustomProperty(t,e){this._customProperties.set(t,e)}_removeCustomProperty(t){return this._customProperties.delete(t)}}function jr(t){if(L(t)){t=Er(t)}else{t=new Map(t)}for(const[e,n]of t){if(n===null){t.delete(e)}else if(typeof n!=\"string\"){t.set(e,String(n))}}return t}function zr(t,e){let n=null;let i=0;let o=0;let s=null;t.clear();if(e===\"\"){return}if(e.charAt(e.length-1)!=\";\"){e=e+\";\"}for(let r=0;r<e.length;r++){const a=e.charAt(r);if(n===null){switch(a){case\":\":if(!s){s=e.substr(i,r-i);o=r+1}break;case'\"':case\"'\":n=a;break;case\";\":{const n=e.substr(o,r-o);if(s){t.set(s.trim(),n.trim())}s=null;i=r+1;break}}}else if(a===n){n=null}}}function Br(t,e){const n=e.split(/\\s+/);t.clear();n.forEach(e=>t.add(e))}function Vr(t){if(typeof t==\"string\"){return[new Tr(t)]}if(!Pr(t)){t=[t]}return Array.from(t).map(t=>{if(typeof t==\"string\"){return new Tr(t)}if(t instanceof Mr){return new Tr(t.data)}return t})}class Fr extends Dr{constructor(t,e,n){super(t,e,n);this.getFillerOffset=Hr}is(t,e=null){const n=t&&t.replace(/^view:/,\"\");if(!e){return n==\"containerElement\"||super.is(t)}else{return n==\"containerElement\"&&e==this.name||super.is(t,e)}}}function Hr(){const t=[...this.getChildren()];const e=t[this.childCount-1];if(e&&e.is(\"element\",\"br\")){return this.childCount}for(const e of t){if(!e.is(\"uiElement\")){return null}}return this.childCount}function Ur(t){return t}var Wr=Ur;function $r(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var Yr=$r;var qr=Math.max;function Gr(t,e,n){e=qr(e===undefined?t.length-1:e,0);return function(){var i=arguments,o=-1,s=qr(i.length-e,0),r=Array(s);while(++o<s){r[o]=i[e+o]}o=-1;var a=Array(e+1);while(++o<e){a[o]=i[o]}a[e]=n(r);return Yr(t,this,a)}}var Kr=Gr;function Jr(t){return function(){return t}}var Xr=Jr;var Qr=!Pe?Wr:function(t,e){return Pe(t,\"toString\",{configurable:true,enumerable:false,value:Xr(e),writable:true})};var Zr=Qr;var ta=800,ea=16;var na=Date.now;function ia(t){var e=0,n=0;return function(){var i=na(),o=ea-(i-n);n=i;if(o>0){if(++e>=ta){return arguments[0]}}else{e=0}return t.apply(undefined,arguments)}}var oa=ia;var sa=oa(Zr);var ra=sa;function aa(t,e){return ra(Kr(t,e,Wr),t+\"\")}var ca=aa;function la(t,e,n){if(!ct(n)){return false}var i=typeof e;if(i==\"number\"?Qn(n)&&tn(e,n.length):i==\"string\"&&e in n){return z(n[e],t)}return false}var da=la;function ua(t){return ca((function(e,n){var i=-1,o=n.length,s=o>1?n[o-1]:undefined,r=o>2?n[2]:undefined;s=t.length>3&&typeof s==\"function\"?(o--,s):undefined;if(r&&da(n[0],n[1],r)){s=o<3?undefined:s;o=1}e=Object(e);while(++i<o){var a=n[i];if(a){t(e,a,i,s)}}return e}))}var ha=ua;var fa=ha((function(t,e){je(e,di(e),t)}));var ma=fa;const ga=Symbol(\"observableProperties\");const pa=Symbol(\"boundObservables\");const ba=Symbol(\"boundProperties\");const wa={set(t,e){if(ct(t)){Object.keys(t).forEach(e=>{this.set(e,t[e])},this);return}va(this);const n=this[ga];if(t in this&&!n.has(t)){throw new Qs[\"b\"](\"observable-set-cannot-override: Cannot override an existing property.\",this)}Object.defineProperty(this,t,{enumerable:true,configurable:true,get(){return n.get(t)},set(e){const i=n.get(t);let o=this.fire(\"set:\"+t,t,e,i);if(o===undefined){o=e}if(i!==o||!n.has(t)){n.set(t,o);this.fire(\"change:\"+t,t,o,i)}}});this[t]=e},bind(...t){if(!t.length||!Aa(t)){throw new Qs[\"b\"](\"observable-bind-wrong-properties: All properties must be strings.\",this)}if(new Set(t).size!==t.length){throw new Qs[\"b\"](\"observable-bind-duplicate-properties: Properties must be unique.\",this)}va(this);const e=this[ba];t.forEach(t=>{if(e.has(t)){throw new Qs[\"b\"](\"observable-bind-rebind: Cannot bind the same property more than once.\",this)}});const n=new Map;t.forEach(t=>{const i={property:t,to:[]};e.set(t,i);n.set(t,i)});return{to:ka,toMany:xa,_observable:this,_bindProperties:t,_to:[],_bindings:n}},unbind(...t){if(!(ga in this)){return}const e=this[ba];const n=this[pa];if(t.length){if(!Aa(t)){throw new Qs[\"b\"](\"observable-unbind-wrong-properties: Properties must be strings.\",this)}t.forEach(t=>{const i=e.get(t);if(!i){return}let o,s,r,a;i.to.forEach(t=>{o=t[0];s=t[1];r=n.get(o);a=r[s];a.delete(i);if(!a.size){delete r[s]}if(!Object.keys(r).length){n.delete(o);this.stopListening(o,\"change\")}});e.delete(t)})}else{n.forEach((t,e)=>{this.stopListening(e,\"change\")});n.clear();e.clear()}},decorate(t){const e=this[t];if(!e){throw new Qs[\"b\"](\"observablemixin-cannot-decorate-undefined: Cannot decorate an undefined method.\",this,{object:this,methodName:t})}this.on(t,(t,n)=>{t.return=e.apply(this,n)});this[t]=function(...e){return this.fire(t,e)}}};ma(wa,lr);var _a=wa;function va(t){if(ga in t){return}Object.defineProperty(t,ga,{value:new Map});Object.defineProperty(t,pa,{value:new Map});Object.defineProperty(t,ba,{value:new Map})}function ka(...t){const e=Ca(...t);const n=Array.from(this._bindings.keys());const i=n.length;if(!e.callback&&e.to.length>1){throw new Qs[\"b\"](\"observable-bind-to-no-callback: Binding multiple observables only possible with callback.\",this)}if(i>1&&e.callback){throw new Qs[\"b\"](\"observable-bind-to-extra-callback: Cannot bind multiple properties and use a callback in one binding.\",this)}e.to.forEach(t=>{if(t.properties.length&&t.properties.length!==i){throw new Qs[\"b\"](\"observable-bind-to-properties-length: The number of properties must match.\",this)}if(!t.properties.length){t.properties=this._bindProperties}});this._to=e.to;if(e.callback){this._bindings.get(n[0]).callback=e.callback}Pa(this._observable,this._to);Ma(this);this._bindProperties.forEach(t=>{Ea(this._observable,t)})}function xa(t,e,n){if(this._bindings.size>1){throw new Qs[\"b\"](\"observable-bind-to-many-not-one-binding: Cannot bind multiple properties with toMany().\",this)}this.to(...ya(t,e),n)}function ya(t,e){const n=t.map(t=>[t,e]);return Array.prototype.concat.apply([],n)}function Aa(t){return t.every(t=>typeof t==\"string\")}function Ca(...t){if(!t.length){throw new Qs[\"b\"](\"observable-bind-to-parse-error: Invalid argument syntax in `to()`.\",null)}const e={to:[]};let n;if(typeof t[t.length-1]==\"function\"){e.callback=t.pop()}t.forEach(t=>{if(typeof t==\"string\"){n.properties.push(t)}else if(typeof t==\"object\"){n={observable:t,properties:[]};e.to.push(n)}else{throw new Qs[\"b\"](\"observable-bind-to-parse-error: Invalid argument syntax in `to()`.\",null)}});return e}function Ta(t,e,n,i){const o=t[pa];const s=o.get(n);const r=s||{};if(!r[i]){r[i]=new Set}r[i].add(e);if(!s){o.set(n,r)}}function Ma(t){let e;t._bindings.forEach((n,i)=>{t._to.forEach(o=>{e=o.properties[n.callback?0:t._bindProperties.indexOf(i)];n.to.push([o.observable,e]);Ta(t._observable,n,o.observable,e)})})}function Ea(t,e){const n=t[ba];const i=n.get(e);let o;if(i.callback){o=i.callback.apply(t,i.to.map(t=>t[0][t[1]]))}else{o=i.to[0];o=o[0][o[1]]}if(t.hasOwnProperty(e)){t[e]=o}else{t.set(e,o)}}function Pa(t,e){e.forEach(e=>{const n=t[pa];let i;if(!n.get(e.observable)){t.listenTo(e.observable,\"change\",(o,s)=>{i=n.get(e.observable)[s];if(i){i.forEach(e=>{Ea(t,e.property)})}})}})}const Sa=Symbol(\"document\");class Ia extends Fr{constructor(t,e,n){super(t,e,n);this.set(\"isReadOnly\",false);this.set(\"isFocused\",false)}is(t,e=null){const n=t&&t.replace(/^view:/,\"\");if(!e){return n==\"editableElement\"||super.is(t)}else{return n==\"editableElement\"&&e==this.name||super.is(t,e)}}destroy(){this.stopListening()}get document(){return this.getCustomProperty(Sa)}set _document(t){if(this.getCustomProperty(Sa)){throw new Qs[\"b\"](\"view-editableelement-document-already-set: View document is already set.\",this)}this._setCustomProperty(Sa,t);this.bind(\"isReadOnly\").to(t);this.bind(\"isFocused\").to(t,\"isFocused\",e=>e&&t.selection.editableElement==this);this.listenTo(t.selection,\"change\",()=>{this.isFocused=t.isFocused&&t.selection.editableElement==this})}}vr(Ia,_a);const Oa=Symbol(\"rootName\");class Na extends Ia{constructor(t){super(t);this.rootName=\"main\"}is(t,e=null){const n=t.replace(/^view:/,\"\");if(!e){return n==\"rootElement\"||super.is(t)}else{return n==\"rootElement\"&&e==this.name||super.is(t,e)}}get rootName(){return this.getCustomProperty(Oa)}set rootName(t){this._setCustomProperty(Oa,t)}set _name(t){this.name=t}}class La{constructor(t={}){if(!t.boundaries&&!t.startPosition){throw new Qs[\"b\"](\"view-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.\",null)}if(t.direction&&t.direction!=\"forward\"&&t.direction!=\"backward\"){throw new Qs[\"b\"](\"view-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.\",t.startPosition,{direction:t.direction})}this.boundaries=t.boundaries||null;if(t.startPosition){this.position=Ra._createAt(t.startPosition)}else{this.position=Ra._createAt(t.boundaries[t.direction==\"backward\"?\"end\":\"start\"])}this.direction=t.direction||\"forward\";this.singleCharacters=!!t.singleCharacters;this.shallow=!!t.shallow;this.ignoreElementEnd=!!t.ignoreElementEnd;this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null;this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}skip(t){let e,n,i;do{i=this.position;({done:e,value:n}=this.next())}while(!e&&t(n));if(!e){this.position=i}}next(){if(this.direction==\"forward\"){return this._next()}else{return this._previous()}}_next(){let t=this.position.clone();const e=this.position;const n=t.parent;if(n.parent===null&&t.offset===n.childCount){return{done:true}}if(n===this._boundaryEndParent&&t.offset==this.boundaries.end.offset){return{done:true}}let i;if(n instanceof Tr){if(t.isAtEnd){this.position=Ra._createAfter(n);return this._next()}i=n.data[t.offset]}else{i=n.getChild(t.offset)}if(i instanceof Dr){if(!this.shallow){t=new Ra(i,0)}else{t.offset++}this.position=t;return this._formatReturnValue(\"elementStart\",i,e,t,1)}else if(i instanceof Tr){if(this.singleCharacters){t=new Ra(i,0);this.position=t;return this._next()}else{let n=i.data.length;let o;if(i==this._boundaryEndParent){n=this.boundaries.end.offset;o=new Mr(i,0,n);t=Ra._createAfter(o)}else{o=new Mr(i,0,i.data.length);t.offset++}this.position=t;return this._formatReturnValue(\"text\",o,e,t,n)}}else if(typeof i==\"string\"){let i;if(this.singleCharacters){i=1}else{const e=n===this._boundaryEndParent?this.boundaries.end.offset:n.data.length;i=e-t.offset}const o=new Mr(n,t.offset,i);t.offset+=i;this.position=t;return this._formatReturnValue(\"text\",o,e,t,i)}else{t=Ra._createAfter(n);this.position=t;if(this.ignoreElementEnd){return this._next()}else{return this._formatReturnValue(\"elementEnd\",n,e,t)}}}_previous(){let t=this.position.clone();const e=this.position;const n=t.parent;if(n.parent===null&&t.offset===0){return{done:true}}if(n==this._boundaryStartParent&&t.offset==this.boundaries.start.offset){return{done:true}}let i;if(n instanceof Tr){if(t.isAtStart){this.position=Ra._createBefore(n);return this._previous()}i=n.data[t.offset-1]}else{i=n.getChild(t.offset-1)}if(i instanceof Dr){if(!this.shallow){t=new Ra(i,i.childCount);this.position=t;if(this.ignoreElementEnd){return this._previous()}else{return this._formatReturnValue(\"elementEnd\",i,e,t)}}else{t.offset--;this.position=t;return this._formatReturnValue(\"elementStart\",i,e,t,1)}}else if(i instanceof Tr){if(this.singleCharacters){t=new Ra(i,i.data.length);this.position=t;return this._previous()}else{let n=i.data.length;let o;if(i==this._boundaryStartParent){const e=this.boundaries.start.offset;o=new Mr(i,e,i.data.length-e);n=o.data.length;t=Ra._createBefore(o)}else{o=new Mr(i,0,i.data.length);t.offset--}this.position=t;return this._formatReturnValue(\"text\",o,e,t,n)}}else if(typeof i==\"string\"){let i;if(!this.singleCharacters){const e=n===this._boundaryStartParent?this.boundaries.start.offset:0;i=t.offset-e}else{i=1}t.offset-=i;const o=new Mr(n,t.offset,i);this.position=t;return this._formatReturnValue(\"text\",o,e,t,i)}else{t=Ra._createBefore(n);this.position=t;return this._formatReturnValue(\"elementStart\",n,e,t,1)}}_formatReturnValue(t,e,n,i,o){if(e instanceof Mr){if(e.offsetInText+e.data.length==e.textNode.data.length){if(this.direction==\"forward\"&&!(this.boundaries&&this.boundaries.end.isEqual(this.position))){i=Ra._createAfter(e.textNode);this.position=i}else{n=Ra._createAfter(e.textNode)}}if(e.offsetInText===0){if(this.direction==\"backward\"&&!(this.boundaries&&this.boundaries.start.isEqual(this.position))){i=Ra._createBefore(e.textNode);this.position=i}else{n=Ra._createBefore(e.textNode)}}}return{done:false,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:o}}}}class Ra{constructor(t,e){this.parent=t;this.offset=e}get nodeAfter(){if(this.parent.is(\"text\")){return null}return this.parent.getChild(this.offset)||null}get nodeBefore(){if(this.parent.is(\"text\")){return null}return this.parent.getChild(this.offset-1)||null}get isAtStart(){return this.offset===0}get isAtEnd(){const t=this.parent.is(\"text\")?this.parent.data.length:this.parent.childCount;return this.offset===t}get root(){return this.parent.root}get editableElement(){let t=this.parent;while(!(t instanceof Ia)){if(t.parent){t=t.parent}else{return null}}return t}getShiftedBy(t){const e=Ra._createAt(this);const n=e.offset+t;e.offset=n<0?0:n;return e}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new La(e);n.skip(t);return n.position}getAncestors(){if(this.parent.is(\"documentFragment\")){return[this.parent]}else{return this.parent.getAncestors({includeSelf:true})}}getCommonAncestor(t){const e=this.getAncestors();const n=t.getAncestors();let i=0;while(e[i]==n[i]&&e[i]){i++}return i===0?null:e[i-1]}is(t){return t==\"position\"||t==\"view:position\"}isEqual(t){return this.parent==t.parent&&this.offset==t.offset}isBefore(t){return this.compareWith(t)==\"before\"}isAfter(t){return this.compareWith(t)==\"after\"}compareWith(t){if(this.root!==t.root){return\"different\"}if(this.isEqual(t)){return\"same\"}const e=this.parent.is(\"node\")?this.parent.getPath():[];const n=t.parent.is(\"node\")?t.parent.getPath():[];e.push(this.offset);n.push(t.offset);const i=kr(e,n);switch(i){case\"prefix\":return\"before\";case\"extension\":return\"after\";default:return e[i]<n[i]?\"before\":\"after\"}}getWalker(t={}){t.startPosition=this;return new La(t)}clone(){return new Ra(this.parent,this.offset)}static _createAt(t,e){if(t instanceof Ra){return new this(t.parent,t.offset)}else{const n=t;if(e==\"end\"){e=n.is(\"text\")?n.data.length:n.childCount}else if(e==\"before\"){return this._createBefore(n)}else if(e==\"after\"){return this._createAfter(n)}else if(e!==0&&!e){throw new Qs[\"b\"](\"view-createPositionAt-offset-required: \"+\"View#createPositionAt() requires the offset when the first parameter is a view item.\",n)}return new Ra(n,e)}}static _createAfter(t){if(t.is(\"textProxy\")){return new Ra(t.textNode,t.offsetInText+t.data.length)}if(!t.parent){throw new Qs[\"b\"](\"view-position-after-root: You can not make position after root.\",t,{root:t})}return new Ra(t.parent,t.index+1)}static _createBefore(t){if(t.is(\"textProxy\")){return new Ra(t.textNode,t.offsetInText)}if(!t.parent){throw new Qs[\"b\"](\"view-position-before-root: You can not make position before root.\",t,{root:t})}return new Ra(t.parent,t.index)}}class Da{constructor(t,e=null){this.start=t.clone();this.end=e?e.clone():t.clone()}*[Symbol.iterator](){yield*new La({boundaries:this,ignoreElementEnd:true})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let t=this.start.getLastMatchingPosition(ja,{direction:\"backward\"});let e=this.end.getLastMatchingPosition(ja);if(t.parent.is(\"text\")&&t.isAtStart){t=Ra._createBefore(t.parent)}if(e.parent.is(\"text\")&&e.isAtEnd){e=Ra._createAfter(e.parent)}return new Da(t,e)}getTrimmed(){let t=this.start.getLastMatchingPosition(ja);if(t.isAfter(this.end)||t.isEqual(this.end)){return new Da(t,t)}let e=this.end.getLastMatchingPosition(ja,{direction:\"backward\"});const n=t.nodeAfter;const i=e.nodeBefore;if(n&&n.is(\"text\")){t=new Ra(n,0)}if(i&&i.is(\"text\")){e=new Ra(i,i.data.length)}return new Da(t,e)}isEqual(t){return this==t||this.start.isEqual(t.start)&&this.end.isEqual(t.end)}containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end)}containsRange(t,e=false){if(t.isCollapsed){e=false}const n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start);const i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i}getDifference(t){const e=[];if(this.isIntersecting(t)){if(this.containsPosition(t.start)){e.push(new Da(this.start,t.start))}if(this.containsPosition(t.end)){e.push(new Da(t.end,this.end))}}else{e.push(this.clone())}return e}getIntersection(t){if(this.isIntersecting(t)){let e=this.start;let n=this.end;if(this.containsPosition(t.start)){e=t.start}if(this.containsPosition(t.end)){n=t.end}return new Da(e,n)}return null}getWalker(t={}){t.boundaries=this;return new La(t)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}clone(){return new Da(this.start,this.end)}*getItems(t={}){t.boundaries=this;t.ignoreElementEnd=true;const e=new La(t);for(const t of e){yield t.item}}*getPositions(t={}){t.boundaries=this;const e=new La(t);yield e.position;for(const t of e){yield t.nextPosition}}is(t){return t==\"range\"||t==\"view:range\"}isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}static _createFromParentsAndOffsets(t,e,n,i){return new this(new Ra(t,e),new Ra(n,i))}static _createFromPositionAndShift(t,e){const n=t;const i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n)}static _createIn(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}static _createOn(t){const e=t.is(\"textProxy\")?t.offsetSize:1;return this._createFromPositionAndShift(Ra._createBefore(t),e)}}function ja(t){if(t.item.is(\"attributeElement\")||t.item.is(\"uiElement\")){return true}return false}function za(t){let e=0;for(const n of t){e++}return e}class Ba{constructor(t=null,e,n){this._ranges=[];this._lastRangeBackward=false;this._isFake=false;this._fakeSelectionLabel=\"\";this.setTo(t,e,n)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length){return null}const t=this._ranges[this._ranges.length-1];const e=this._lastRangeBackward?t.end:t.start;return e.clone()}get focus(){if(!this._ranges.length){return null}const t=this._ranges[this._ranges.length-1];const e=this._lastRangeBackward?t.start:t.end;return e.clone()}get isCollapsed(){return this.rangeCount===1&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){if(this.anchor){return this.anchor.editableElement}return null}*getRanges(){for(const t of this._ranges){yield t.clone()}}getFirstRange(){let t=null;for(const e of this._ranges){if(!t||e.start.isBefore(t.start)){t=e}}return t?t.clone():null}getLastRange(){let t=null;for(const e of this._ranges){if(!t||e.end.isAfter(t.end)){t=e}}return t?t.clone():null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}isEqual(t){if(this.isFake!=t.isFake){return false}if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel){return false}if(this.rangeCount!=t.rangeCount){return false}else if(this.rangeCount===0){return true}if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus)){return false}for(const e of this._ranges){let n=false;for(const i of t._ranges){if(e.isEqual(i)){n=true;break}}if(!n){return false}}return true}isSimilar(t){if(this.isBackward!=t.isBackward){return false}const e=za(this.getRanges());const n=za(t.getRanges());if(e!=n){return false}if(e==0){return true}for(let e of this.getRanges()){e=e.getTrimmed();let n=false;for(let i of t.getRanges()){i=i.getTrimmed();if(e.start.isEqual(i.start)&&e.end.isEqual(i.end)){n=true;break}}if(!n){return false}}return true}getSelectedElement(){if(this.rangeCount!==1){return null}const t=this.getFirstRange();let e=t.start.nodeAfter;let n=t.end.nodeBefore;if(t.start.parent.is(\"text\")&&t.start.isAtEnd&&t.start.parent.nextSibling){e=t.start.parent.nextSibling}if(t.end.parent.is(\"text\")&&t.end.isAtStart&&t.end.parent.previousSibling){n=t.end.parent.previousSibling}return e instanceof Dr&&e==n?e:null}setTo(t,e,n){if(t===null){this._setRanges([]);this._setFakeOptions(e)}else if(t instanceof Ba||t instanceof Va){this._setRanges(t.getRanges(),t.isBackward);this._setFakeOptions({fake:t.isFake,label:t.fakeSelectionLabel})}else if(t instanceof Da){this._setRanges([t],e&&e.backward);this._setFakeOptions(e)}else if(t instanceof Ra){this._setRanges([new Da(t)]);this._setFakeOptions(e)}else if(t instanceof Cr){const i=!!n&&!!n.backward;let o;if(e===undefined){throw new Qs[\"b\"](\"view-selection-setTo-required-second-parameter: \"+\"selection.setTo requires the second parameter when the first parameter is a node.\",this)}else if(e==\"in\"){o=Da._createIn(t)}else if(e==\"on\"){o=Da._createOn(t)}else{o=new Da(Ra._createAt(t,e))}this._setRanges([o],i);this._setFakeOptions(n)}else if(Pr(t)){this._setRanges(t,e&&e.backward);this._setFakeOptions(e)}else{throw new Qs[\"b\"](\"view-selection-setTo-not-selectable: Cannot set selection to given place.\",this)}this.fire(\"change\")}setFocus(t,e){if(this.anchor===null){throw new Qs[\"b\"](\"view-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.\",this)}const n=Ra._createAt(t,e);if(n.compareWith(this.focus)==\"same\"){return}const i=this.anchor;this._ranges.pop();if(n.compareWith(i)==\"before\"){this._addRange(new Da(n,i),true)}else{this._addRange(new Da(i,n))}this.fire(\"change\")}is(t){return t==\"selection\"||t==\"view:selection\"}_setRanges(t,e=false){t=Array.from(t);this._ranges=[];for(const e of t){this._addRange(e)}this._lastRangeBackward=!!e}_setFakeOptions(t={}){this._isFake=!!t.fake;this._fakeSelectionLabel=t.fake?t.label||\"\":\"\"}_addRange(t,e=false){if(!(t instanceof Da)){throw new Qs[\"b\"](\"view-selection-add-range-not-range: \"+\"Selection range set to an object that is not an instance of view.Range\",this)}this._pushRange(t);this._lastRangeBackward=!!e}_pushRange(t){for(const e of this._ranges){if(t.isIntersecting(e)){throw new Qs[\"b\"](\"view-selection-range-intersects: Trying to add a range that intersects with another range from selection.\",this,{addedRange:t,intersectingRange:e})}}this._ranges.push(new Da(t.start,t.end))}}vr(Ba,lr);class Va{constructor(t=null,e,n){this._selection=new Ba;this._selection.delegate(\"change\").to(this);this._selection.setTo(t,e,n)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(t){return this._selection.isEqual(t)}isSimilar(t){return this._selection.isSimilar(t)}is(t){return t==\"selection\"||t==\"documentSelection\"||t==\"view:selection\"||t==\"view:documentSelection\"}_setTo(t,e,n){this._selection.setTo(t,e,n)}_setFocus(t,e){this._selection.setFocus(t,e)}}vr(Va,lr);class Fa{constructor(t={}){this._items=[];this._itemMap=new Map;this._idProperty=t.idProperty||\"id\";this._bindToExternalToInternalMap=new WeakMap;this._bindToInternalToExternalMap=new WeakMap;this._skippedIndexesFromExternal=[]}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(t,e){let n;const i=this._idProperty;if(i in t){n=t[i];if(typeof n!=\"string\"){throw new Qs[\"b\"](\"collection-add-invalid-id\",this)}if(this.get(n)){throw new Qs[\"b\"](\"collection-add-item-already-exists\",this)}}else{t[i]=n=nr()}if(e===undefined){e=this._items.length}else if(e>this._items.length||e<0){throw new Qs[\"b\"](\"collection-add-item-invalid-index\",this)}this._items.splice(e,0,t);this._itemMap.set(n,t);this.fire(\"add\",t,e);return this}get(t){let e;if(typeof t==\"string\"){e=this._itemMap.get(t)}else if(typeof t==\"number\"){e=this._items[t]}else{throw new Qs[\"b\"](\"collection-get-invalid-arg: Index or id must be given.\",this)}return e||null}has(t){if(typeof t==\"string\"){return this._itemMap.has(t)}else{const e=this._idProperty;const n=t[e];return this._itemMap.has(n)}}getIndex(t){let e;if(typeof t==\"string\"){e=this._itemMap.get(t)}else{e=t}return this._items.indexOf(e)}remove(t){let e,n,i;let o=false;const s=this._idProperty;if(typeof t==\"string\"){n=t;i=this._itemMap.get(n);o=!i;if(i){e=this._items.indexOf(i)}}else if(typeof t==\"number\"){e=t;i=this._items[e];o=!i;if(i){n=i[s]}}else{i=t;n=i[s];e=this._items.indexOf(i);o=e==-1||!this._itemMap.get(n)}if(o){throw new Qs[\"b\"](\"collection-remove-404: Item not found.\",this)}this._items.splice(e,1);this._itemMap.delete(n);const r=this._bindToInternalToExternalMap.get(i);this._bindToInternalToExternalMap.delete(i);this._bindToExternalToInternalMap.delete(r);this.fire(\"remove\",i,e);return i}map(t,e){return this._items.map(t,e)}find(t,e){return this._items.find(t,e)}filter(t,e){return this._items.filter(t,e)}clear(){if(this._bindToCollection){this.stopListening(this._bindToCollection);this._bindToCollection=null}while(this.length){this.remove(0)}}bindTo(t){if(this._bindToCollection){throw new Qs[\"b\"](\"collection-bind-to-rebind: The collection cannot be bound more than once.\",this)}this._bindToCollection=t;return{as:t=>{this._setUpBindToBinding(e=>new t(e))},using:t=>{if(typeof t==\"function\"){this._setUpBindToBinding(e=>t(e))}else{this._setUpBindToBinding(e=>e[t])}}}}_setUpBindToBinding(t){const e=this._bindToCollection;const n=(n,i,o)=>{const s=e._bindToCollection==this;const r=e._bindToInternalToExternalMap.get(i);if(s&&r){this._bindToExternalToInternalMap.set(i,r);this._bindToInternalToExternalMap.set(r,i)}else{const n=t(i);if(!n){this._skippedIndexesFromExternal.push(o);return}let s=o;for(const t of this._skippedIndexesFromExternal){if(o>t){s--}}for(const t of e._skippedIndexesFromExternal){if(s>=t){s++}}this._bindToExternalToInternalMap.set(i,n);this._bindToInternalToExternalMap.set(n,i);this.add(n,s);for(let t=0;t<e._skippedIndexesFromExternal.length;t++){if(s<=e._skippedIndexesFromExternal[t]){e._skippedIndexesFromExternal[t]++}}}};for(const t of e){n(null,t,e.getIndex(t))}this.listenTo(e,\"add\",n);this.listenTo(e,\"remove\",(t,e,n)=>{const i=this._bindToExternalToInternalMap.get(e);if(i){this.remove(i)}this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((t,e)=>{if(n<e){t.push(e-1)}if(n>e){t.push(e)}return t},[])})}[Symbol.iterator](){return this._items[Symbol.iterator]()}}vr(Fa,lr);class Ha{constructor(){this.selection=new Va;this.roots=new Fa({idProperty:\"rootName\"});this.set(\"isReadOnly\",false);this.set(\"isFocused\",false);this.set(\"isComposing\",false);this._postFixers=new Set}getRoot(t=\"main\"){return this.roots.get(t)}registerPostFixer(t){this._postFixers.add(t)}destroy(){this.roots.map(t=>t.destroy());this.stopListening()}_callPostFixers(t){let e=false;do{for(const n of this._postFixers){e=n(t);if(e){break}}}while(e)}}vr(Ha,_a);const Ua=10;class Wa extends Dr{constructor(t,e,n){super(t,e,n);this.getFillerOffset=$a;this._priority=Ua;this._id=null;this._clonesGroup=null}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(this.id===null){throw new Qs[\"b\"](\"attribute-element-get-elements-with-same-id-no-id: \"+\"Cannot get elements with the same id for an attribute element without id.\",this)}return new Set(this._clonesGroup)}is(t,e=null){const n=t&&t.replace(/^view:/,\"\");if(!e){return n==\"attributeElement\"||super.is(t)}else{return n==\"attributeElement\"&&e==this.name||super.is(t,e)}}isSimilar(t){if(this.id!==null||t.id!==null){return this.id===t.id}return super.isSimilar(t)&&this.priority==t.priority}_clone(t){const e=super._clone(t);e._priority=this._priority;e._id=this._id;return e}}Wa.DEFAULT_PRIORITY=Ua;function $a(){if(Ya(this)){return null}let t=this.parent;while(t&&t.is(\"attributeElement\")){if(Ya(t)>1){return null}t=t.parent}if(!t||Ya(t)>1){return null}return this.childCount}function Ya(t){return Array.from(t.getChildren()).filter(t=>!t.is(\"uiElement\")).length}class qa extends Dr{constructor(t,e,n){super(t,e,n);this.getFillerOffset=Ga}is(t,e=null){const n=t.replace(/^view:/,\"\");if(!e){return n==\"emptyElement\"||super.is(t)}else{return n==\"emptyElement\"&&e==this.name||super.is(t,e)}}_insertChild(t,e){if(e&&(e instanceof Cr||Array.from(e).length>0)){throw new Qs[\"b\"](\"view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.\",[this,e])}}}function Ga(){return null}const Ka=navigator.userAgent.toLowerCase();const Ja={isMac:Qa(Ka),isEdge:Za(Ka),isGecko:tc(Ka),isSafari:ec(Ka),isAndroid:nc(Ka),features:{isRegExpUnicodePropertySupported:ic()}};var Xa=Ja;function Qa(t){return t.indexOf(\"macintosh\")>-1}function Za(t){return!!t.match(/edge\\/(\\d+.?\\d*)/)}function tc(t){return!!t.match(/gecko\\/\\d+/)}function ec(t){return t.indexOf(\" applewebkit/\")>-1&&t.indexOf(\"chrome\")===-1}function nc(t){return t.indexOf(\"android\")>-1}function ic(){let t=false;try{t=\"ć\".search(new RegExp(\"[\\\\p{L}]\",\"u\"))===0}catch(t){}return t}const oc={\"⌘\":\"ctrl\",\"⇧\":\"shift\",\"⌥\":\"alt\"};const sc={ctrl:\"⌘\",shift:\"⇧\",alt:\"⌥\"};const rc=dc();function ac(t){let e;if(typeof t==\"string\"){e=rc[t.toLowerCase()];if(!e){throw new Qs[\"b\"](\"keyboard-unknown-key: Unknown key name.\",null,{key:t})}}else{e=t.keyCode+(t.altKey?rc.alt:0)+(t.ctrlKey?rc.ctrl:0)+(t.shiftKey?rc.shift:0)}return e}function cc(t){if(typeof t==\"string\"){t=uc(t)}return t.map(t=>typeof t==\"string\"?ac(t):t).reduce((t,e)=>e+t,0)}function lc(t){if(!Xa.isMac){return t}return uc(t).map(t=>sc[t.toLowerCase()]||t).reduce((t,e)=>{if(t.slice(-1)in oc){return t+e}else{return t+\"+\"+e}})}function dc(){const t={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,cmd:1114112,shift:2228224,alt:4456448};for(let e=65;e<=90;e++){const n=String.fromCharCode(e);t[n.toLowerCase()]=e}for(let e=48;e<=57;e++){t[e-48]=e}for(let e=112;e<=123;e++){t[\"f\"+(e-111)]=e}return t}function uc(t){return t.split(/\\s*\\+\\s*/)}class hc extends Dr{constructor(t,e,n){super(t,e,n);this.getFillerOffset=mc}is(t,e=null){const n=t.replace(/^view:/,\"\");if(!e){return n==\"uiElement\"||super.is(t)}else{return n==\"uiElement\"&&e==this.name||super.is(t,e)}}_insertChild(t,e){if(e&&(e instanceof Cr||Array.from(e).length>0)){throw new Qs[\"b\"](\"view-uielement-cannot-add: Cannot add child nodes to UIElement instance.\",this)}}render(t){return this.toDomElement(t)}toDomElement(t){const e=t.createElement(this.name);for(const t of this.getAttributeKeys()){e.setAttribute(t,this.getAttribute(t))}return e}}function fc(t){t.document.on(\"keydown\",(e,n)=>gc(e,n,t.domConverter))}function mc(){return null}function gc(t,e,n){if(e.keyCode==rc.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection();const i=t.rangeCount==1&&t.getRangeAt(0).collapsed;if(i||e.shiftKey){const e=t.focusNode;const o=t.focusOffset;const s=n.domPositionToView(e,o);if(s===null){return}let r=false;const a=s.getLastMatchingPosition(t=>{if(t.item.is(\"uiElement\")){r=true}if(t.item.is(\"uiElement\")||t.item.is(\"attributeElement\")){return true}return false});if(r){const e=n.viewPositionToDom(a);if(i){t.collapse(e.parent,e.offset)}else{t.extend(e.parent,e.offset)}}}}}class pc{constructor(t){this._children=[];if(t){this._insertChild(0,t)}}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return this.childCount===0}get root(){return this}get parent(){return null}is(t){return t==\"documentFragment\"||t==\"view:documentFragment\"}_appendChild(t){return this._insertChild(this.childCount,t)}getChild(t){return this._children[t]}getChildIndex(t){return this._children.indexOf(t)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(t,e){this._fireChange(\"children\",this);let n=0;const i=bc(e);for(const e of i){if(e.parent!==null){e._remove()}e.parent=this;this._children.splice(t,0,e);t++;n++}return n}_removeChildren(t,e=1){this._fireChange(\"children\",this);for(let n=t;n<t+e;n++){this._children[n].parent=null}return this._children.splice(t,e)}_fireChange(t,e){this.fire(\"change:\"+t,e)}}vr(pc,lr);function bc(t){if(typeof t==\"string\"){return[new Tr(t)]}if(!Pr(t)){t=[t]}return Array.from(t).map(t=>{if(typeof t==\"string\"){return new Tr(t)}if(t instanceof Mr){return new Tr(t.data)}return t})}class wc{constructor(t){this.document=t;this._cloneGroups=new Map}setSelection(t,e,n){this.document.selection._setTo(t,e,n)}setSelectionFocus(t,e){this.document.selection._setFocus(t,e)}createText(t){return new Tr(t)}createAttributeElement(t,e,n={}){const i=new Wa(t,e);if(n.priority){i._priority=n.priority}if(n.id){i._id=n.id}return i}createContainerElement(t,e){return new Fr(t,e)}createEditableElement(t,e){const n=new Ia(t,e);n._document=this.document;return n}createEmptyElement(t,e){return new qa(t,e)}createUIElement(t,e,n){const i=new hc(t,e);if(n){i.render=n}return i}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){if(L(t)&&n===undefined){n=e}n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}breakAttributes(t){if(t instanceof Ra){return this._breakAttributes(t)}else{return this._breakAttributesRange(t)}}breakContainer(t){const e=t.parent;if(!e.is(\"containerElement\")){throw new Qs[\"b\"](\"view-writer-break-non-container-element: Trying to break an element which is not a container element.\",this.document)}if(!e.parent){throw new Qs[\"b\"](\"view-writer-break-root: Trying to break root element.\",this.document)}if(t.isAtStart){return Ra._createBefore(e)}else if(!t.isAtEnd){const n=e._clone(false);this.insert(Ra._createAfter(e),n);const i=new Da(t,Ra._createAt(e,\"end\"));const o=new Ra(n,0);this.move(i,o)}return Ra._createAfter(e)}mergeAttributes(t){const e=t.offset;const n=t.parent;if(n.is(\"text\")){return t}if(n.is(\"attributeElement\")&&n.childCount===0){const t=n.parent;const e=n.index;n._remove();this._removeFromClonedElementsGroup(n);return this.mergeAttributes(new Ra(t,e))}const i=n.getChild(e-1);const o=n.getChild(e);if(!i||!o){return t}if(i.is(\"text\")&&o.is(\"text\")){return Ac(i,o)}else if(i.is(\"attributeElement\")&&o.is(\"attributeElement\")&&i.isSimilar(o)){const t=i.childCount;i._appendChild(o.getChildren());o._remove();this._removeFromClonedElementsGroup(o);return this.mergeAttributes(new Ra(i,t))}return t}mergeContainers(t){const e=t.nodeBefore;const n=t.nodeAfter;if(!e||!n||!e.is(\"containerElement\")||!n.is(\"containerElement\")){throw new Qs[\"b\"](\"view-writer-merge-containers-invalid-position: \"+\"Element before and after given position cannot be merged.\",this.document)}const i=e.getChild(e.childCount-1);const o=i instanceof Tr?Ra._createAt(i,\"end\"):Ra._createAt(e,\"end\");this.move(Da._createIn(n),Ra._createAt(e,\"end\"));this.remove(Da._createOn(n));return o}insert(t,e){e=Pr(e)?[...e]:[e];Cc(e,this.document);const n=vc(t);if(!n){throw new Qs[\"b\"](\"view-writer-invalid-position-container\",this.document)}const i=this._breakAttributes(t,true);const o=n._insertChild(i.offset,e);for(const t of e){this._addToClonedElementsGroup(t)}const s=i.getShiftedBy(o);const r=this.mergeAttributes(i);if(o===0){return new Da(r,r)}else{if(!r.isEqual(i)){s.offset--}const t=this.mergeAttributes(s);return new Da(r,t)}}remove(t){const e=t instanceof Da?t:Da._createOn(t);Ec(e,this.document);if(e.isCollapsed){return new pc}const{start:n,end:i}=this._breakAttributesRange(e,true);const o=n.parent;const s=i.offset-n.offset;const r=o._removeChildren(n.offset,s);for(const t of r){this._removeFromClonedElementsGroup(t)}const a=this.mergeAttributes(n);e.start=a;e.end=a.clone();return new pc(r)}clear(t,e){Ec(t,this.document);const n=t.getWalker({direction:\"backward\",ignoreElementEnd:true});for(const i of n){const n=i.item;let o;if(n.is(\"element\")&&e.isSimilar(n)){o=Da._createOn(n)}else if(!i.nextPosition.isAfter(t.start)&&n.is(\"textProxy\")){const t=n.getAncestors().find(t=>t.is(\"element\")&&e.isSimilar(t));if(t){o=Da._createIn(t)}}if(o){if(o.end.isAfter(t.end)){o.end=t.end}if(o.start.isBefore(t.start)){o.start=t.start}this.remove(o)}}}move(t,e){let n;if(e.isAfter(t.end)){e=this._breakAttributes(e,true);const i=e.parent;const o=i.childCount;t=this._breakAttributesRange(t,true);n=this.remove(t);e.offset+=i.childCount-o}else{n=this.remove(t)}return this.insert(e,n)}wrap(t,e){if(!(e instanceof Wa)){throw new Qs[\"b\"](\"view-writer-wrap-invalid-attribute\",this.document)}Ec(t,this.document);if(!t.isCollapsed){return this._wrapRange(t,e)}else{let n=t.start;if(n.parent.is(\"element\")&&!_c(n.parent)){n=n.getLastMatchingPosition(t=>t.item.is(\"uiElement\"))}n=this._wrapPosition(n,e);const i=this.document.selection;if(i.isCollapsed&&i.getFirstPosition().isEqual(t.start)){this.setSelection(n)}return new Da(n)}}unwrap(t,e){if(!(e instanceof Wa)){throw new Qs[\"b\"](\"view-writer-unwrap-invalid-attribute\",this.document)}Ec(t,this.document);if(t.isCollapsed){return t}const{start:n,end:i}=this._breakAttributesRange(t,true);const o=n.parent;const s=this._unwrapChildren(o,n.offset,i.offset,e);const r=this.mergeAttributes(s.start);if(!r.isEqual(s.start)){s.end.offset--}const a=this.mergeAttributes(s.end);return new Da(r,a)}rename(t,e){const n=new Fr(t,e.getAttributes());this.insert(Ra._createAfter(e),n);this.move(Da._createIn(e),Ra._createAt(n,0));this.remove(Da._createOn(e));return n}clearClonedElementsGroup(t){this._cloneGroups.delete(t)}createPositionAt(t,e){return Ra._createAt(t,e)}createPositionAfter(t){return Ra._createAfter(t)}createPositionBefore(t){return Ra._createBefore(t)}createRange(t,e){return new Da(t,e)}createRangeOn(t){return Da._createOn(t)}createRangeIn(t){return Da._createIn(t)}createSelection(t,e,n){return new Ba(t,e,n)}_wrapChildren(t,e,n,i){let o=e;const s=[];while(o<n){const e=t.getChild(o);const n=e.is(\"text\");const r=e.is(\"attributeElement\");const a=e.is(\"emptyElement\");const c=e.is(\"uiElement\");if(r&&this._wrapAttributeElement(i,e)){s.push(new Ra(t,o))}else if(n||a||c||r&&kc(i,e)){const n=i._clone();e._remove();n._appendChild(e);t._insertChild(o,n);this._addToClonedElementsGroup(n);s.push(new Ra(t,o))}else if(r){this._wrapChildren(e,0,e.childCount,i)}o++}let r=0;for(const t of s){t.offset-=r;if(t.offset==e){continue}const i=this.mergeAttributes(t);if(!i.isEqual(t)){r++;n--}}return Da._createFromParentsAndOffsets(t,e,t,n)}_unwrapChildren(t,e,n,i){let o=e;const s=[];while(o<n){const e=t.getChild(o);if(!e.is(\"attributeElement\")){o++;continue}if(e.isSimilar(i)){const i=e.getChildren();const r=e.childCount;e._remove();t._insertChild(o,i);this._removeFromClonedElementsGroup(e);s.push(new Ra(t,o),new Ra(t,o+r));o+=r;n+=r-1;continue}if(this._unwrapAttributeElement(i,e)){s.push(new Ra(t,o),new Ra(t,o+1));o++;continue}this._unwrapChildren(e,0,e.childCount,i);o++}let r=0;for(const t of s){t.offset-=r;if(t.offset==e||t.offset==n){continue}const i=this.mergeAttributes(t);if(!i.isEqual(t)){r++;n--}}return Da._createFromParentsAndOffsets(t,e,t,n)}_wrapRange(t,e){const{start:n,end:i}=this._breakAttributesRange(t,true);const o=n.parent;const s=this._wrapChildren(o,n.offset,i.offset,e);const r=this.mergeAttributes(s.start);if(!r.isEqual(s.start)){s.end.offset--}const a=this.mergeAttributes(s.end);return new Da(r,a)}_wrapPosition(t,e){if(e.isSimilar(t.parent)){return xc(t.clone())}if(t.parent.is(\"text\")){t=yc(t)}const n=this.createAttributeElement();n._priority=Number.POSITIVE_INFINITY;n.isSimilar=()=>false;t.parent._insertChild(t.offset,n);const i=new Da(t,t.getShiftedBy(1));this.wrap(i,e);const o=new Ra(n.parent,n.index);n._remove();const s=o.nodeBefore;const r=o.nodeAfter;if(s instanceof Tr&&r instanceof Tr){return Ac(s,r)}return xc(o)}_wrapAttributeElement(t,e){if(!Pc(t,e)){return false}if(t.name!==e.name||t.priority!==e.priority){return false}for(const n of t.getAttributeKeys()){if(n===\"class\"||n===\"style\"){continue}if(e.hasAttribute(n)&&e.getAttribute(n)!==t.getAttribute(n)){return false}}for(const n of t.getStyleNames()){if(e.hasStyle(n)&&e.getStyle(n)!==t.getStyle(n)){return false}}for(const n of t.getAttributeKeys()){if(n===\"class\"||n===\"style\"){continue}if(!e.hasAttribute(n)){this.setAttribute(n,t.getAttribute(n),e)}}for(const n of t.getStyleNames()){if(!e.hasStyle(n)){this.setStyle(n,t.getStyle(n),e)}}for(const n of t.getClassNames()){if(!e.hasClass(n)){this.addClass(n,e)}}return true}_unwrapAttributeElement(t,e){if(!Pc(t,e)){return false}if(t.name!==e.name||t.priority!==e.priority){return false}for(const n of t.getAttributeKeys()){if(n===\"class\"||n===\"style\"){continue}if(!e.hasAttribute(n)||e.getAttribute(n)!==t.getAttribute(n)){return false}}if(!e.hasClass(...t.getClassNames())){return false}for(const n of t.getStyleNames()){if(!e.hasStyle(n)||e.getStyle(n)!==t.getStyle(n)){return false}}for(const n of t.getAttributeKeys()){if(n===\"class\"||n===\"style\"){continue}this.removeAttribute(n,e)}this.removeClass(Array.from(t.getClassNames()),e);this.removeStyle(Array.from(t.getStyleNames()),e);return true}_breakAttributesRange(t,e=false){const n=t.start;const i=t.end;Ec(t,this.document);if(t.isCollapsed){const n=this._breakAttributes(t.start,e);return new Da(n,n)}const o=this._breakAttributes(i,e);const s=o.parent.childCount;const r=this._breakAttributes(n,e);o.offset+=o.parent.childCount-s;return new Da(r,o)}_breakAttributes(t,e=false){const n=t.offset;const i=t.parent;if(t.parent.is(\"emptyElement\")){throw new Qs[\"b\"](\"view-writer-cannot-break-empty-element\",this.document)}if(t.parent.is(\"uiElement\")){throw new Qs[\"b\"](\"view-writer-cannot-break-ui-element\",this.document)}if(!e&&i.is(\"text\")&&Mc(i.parent)){return t.clone()}if(Mc(i)){return t.clone()}if(i.is(\"text\")){return this._breakAttributes(yc(t),e)}const o=i.childCount;if(n==o){const t=new Ra(i.parent,i.index+1);return this._breakAttributes(t,e)}else{if(n===0){const t=new Ra(i.parent,i.index);return this._breakAttributes(t,e)}else{const t=i.index+1;const o=i._clone();i.parent._insertChild(t,o);this._addToClonedElementsGroup(o);const s=i.childCount-n;const r=i._removeChildren(n,s);o._appendChild(r);const a=new Ra(i.parent,t);return this._breakAttributes(a,e)}}}_addToClonedElementsGroup(t){if(!t.root.is(\"rootElement\")){return}if(t.is(\"element\")){for(const e of t.getChildren()){this._addToClonedElementsGroup(e)}}const e=t.id;if(!e){return}let n=this._cloneGroups.get(e);if(!n){n=new Set;this._cloneGroups.set(e,n)}n.add(t);t._clonesGroup=n}_removeFromClonedElementsGroup(t){if(t.is(\"element\")){for(const e of t.getChildren()){this._removeFromClonedElementsGroup(e)}}const e=t.id;if(!e){return}const n=this._cloneGroups.get(e);if(!n){return}n.delete(t)}}function _c(t){return Array.from(t.getChildren()).some(t=>!t.is(\"uiElement\"))}function vc(t){let e=t.parent;while(!Mc(e)){if(!e){return undefined}e=e.parent}return e}function kc(t,e){if(t.priority<e.priority){return true}else if(t.priority>e.priority){return false}return t.getIdentity()<e.getIdentity()}function xc(t){const e=t.nodeBefore;if(e&&e.is(\"text\")){return new Ra(e,e.data.length)}const n=t.nodeAfter;if(n&&n.is(\"text\")){return new Ra(n,0)}return t}function yc(t){if(t.offset==t.parent.data.length){return new Ra(t.parent.parent,t.parent.index+1)}if(t.offset===0){return new Ra(t.parent.parent,t.parent.index)}const e=t.parent.data.slice(t.offset);t.parent._data=t.parent.data.slice(0,t.offset);t.parent.parent._insertChild(t.parent.index+1,new Tr(e));return new Ra(t.parent.parent,t.parent.index+1)}function Ac(t,e){const n=t.data.length;t._data+=e.data;e._remove();return new Ra(t,n)}function Cc(t,e){for(const n of t){if(!Tc.some(t=>n instanceof t)){throw new Qs[\"b\"](\"view-writer-insert-invalid-node\",e)}if(!n.is(\"text\")){Cc(n.getChildren(),e)}}}const Tc=[Tr,Wa,Fr,qa,hc];function Mc(t){return t&&(t.is(\"containerElement\")||t.is(\"documentFragment\"))}function Ec(t,e){const n=vc(t.start);const i=vc(t.end);if(!n||!i||n!==i){throw new Qs[\"b\"](\"view-writer-invalid-range-container\",e)}}function Pc(t,e){return t.id===null&&e.id===null}function Sc(t){return Object.prototype.toString.call(t)==\"[object Text]\"}const Ic=t=>t.createTextNode(\" \");const Oc=t=>{const e=t.createElement(\"br\");e.dataset.ckeFiller=true;return e};const Nc=7;const Lc=(()=>{let t=\"\";for(let e=0;e<Nc;e++){t+=\"​\"}return t})();function Rc(t){return Sc(t)&&t.data.substr(0,Nc)===Lc}function Dc(t){return t.data.length==Nc&&Rc(t)}function jc(t){if(Rc(t)){return t.data.slice(Nc)}else{return t.data}}function zc(t){t.document.on(\"keydown\",Bc)}function Bc(t,e){if(e.keyCode==rc.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(t.rangeCount==1&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer;const n=t.getRangeAt(0).startOffset;if(Rc(e)&&n<=Nc){t.collapse(e,0)}}}}function Vc(t,e,n,i=false){n=n||function(t,e){return t===e};if(!Array.isArray(t)){t=Array.from(t)}if(!Array.isArray(e)){e=Array.from(e)}const o=Fc(t,e,n);return i?$c(o,e.length):Wc(e,o)}function Fc(t,e,n){const i=Hc(t,e,n);if(i===-1){return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1}}const o=Uc(t,i);const s=Uc(e,i);const r=Hc(o,s,n);const a=t.length-r;const c=e.length-r;return{firstIndex:i,lastIndexOld:a,lastIndexNew:c}}function Hc(t,e,n){for(let i=0;i<Math.max(t.length,e.length);i++){if(t[i]===undefined||e[i]===undefined||!n(t[i],e[i])){return i}}return-1}function Uc(t,e){return t.slice(e).reverse()}function Wc(t,e){const n=[];const{firstIndex:i,lastIndexOld:o,lastIndexNew:s}=e;if(s-i>0){n.push({index:i,type:\"insert\",values:t.slice(i,s)})}if(o-i>0){n.push({index:i+(s-i),type:\"delete\",howMany:o-i})}return n}function $c(t,e){const{firstIndex:n,lastIndexOld:i,lastIndexNew:o}=t;if(n===-1){return Array(e).fill(\"equal\")}let s=[];if(n>0){s=s.concat(Array(n).fill(\"equal\"))}if(o-n>0){s=s.concat(Array(o-n).fill(\"insert\"))}if(i-n>0){s=s.concat(Array(i-n).fill(\"delete\"))}if(o<e){s=s.concat(Array(e-o).fill(\"equal\"))}return s}function Yc(t,e,n){n=n||function(t,e){return t===e};const i=t.length;const o=e.length;if(i>200||o>200||i+o>300){return Yc.fastDiff(t,e,n,true)}let s,r;if(o<i){const n=t;t=e;e=n;s=\"delete\";r=\"insert\"}else{s=\"insert\";r=\"delete\"}const a=t.length;const c=e.length;const l=c-a;const d={};const u={};function h(i){const o=(u[i-1]!==undefined?u[i-1]:-1)+1;const l=u[i+1]!==undefined?u[i+1]:-1;const h=o>l?-1:1;if(d[i+h]){d[i]=d[i+h].slice(0)}if(!d[i]){d[i]=[]}d[i].push(o>l?s:r);let f=Math.max(o,l);let m=f-i;while(m<a&&f<c&&n(t[m],e[f])){m++;f++;d[i].push(\"equal\")}return f}let f=0;let m;do{for(m=-f;m<l;m++){u[m]=h(m)}for(m=l+f;m>l;m--){u[m]=h(m)}u[l]=h(l);f++}while(u[l]!==c);return d[l].slice(1)}Yc.fastDiff=Vc;function qc(t,e,n){t.insertBefore(n,t.childNodes[e]||null)}function Gc(t){const e=t.parentNode;if(e){e.removeChild(t)}}function Kc(t){if(t){if(t.defaultView){return t instanceof t.defaultView.Document}else if(t.ownerDocument&&t.ownerDocument.defaultView){return t instanceof t.ownerDocument.defaultView.Node}}return false}class Jc{constructor(t,e){this.domDocuments=new Set;this.domConverter=t;this.markedAttributes=new Set;this.markedChildren=new Set;this.markedTexts=new Set;this.selection=e;this.isFocused=false;this._inlineFiller=null;this._fakeSelectionContainer=null}markToSync(t,e){if(t===\"text\"){if(this.domConverter.mapViewToDom(e.parent)){this.markedTexts.add(e)}}else{if(!this.domConverter.mapViewToDom(e)){return}if(t===\"attributes\"){this.markedAttributes.add(e)}else if(t===\"children\"){this.markedChildren.add(e)}else{throw new Qs[\"b\"](\"view-renderer-unknown-type: Unknown type passed to Renderer.markToSync.\",this)}}}render(){let t;for(const t of this.markedChildren){this._updateChildrenMappings(t)}if(this._inlineFiller&&!this._isSelectionInInlineFiller()){this._removeInlineFiller()}if(this._inlineFiller){t=this._getInlineFillerPosition()}else if(this._needsInlineFillerAtSelection()){t=this.selection.getFirstPosition();this.markedChildren.add(t.parent)}for(const t of this.markedAttributes){this._updateAttrs(t)}for(const e of this.markedChildren){this._updateChildren(e,{inlineFillerPosition:t})}for(const e of this.markedTexts){if(!this.markedChildren.has(e.parent)&&this.domConverter.mapViewToDom(e.parent)){this._updateText(e,{inlineFillerPosition:t})}}if(t){const e=this.domConverter.viewPositionToDom(t);const n=e.parent.ownerDocument;if(!Rc(e.parent)){this._inlineFiller=Qc(n,e.parent,e.offset)}else{this._inlineFiller=e.parent}}else{this._inlineFiller=null}this._updateSelection();this._updateFocus();this.markedTexts.clear();this.markedAttributes.clear();this.markedChildren.clear()}_updateChildrenMappings(t){const e=this.domConverter.mapViewToDom(t);if(!e){return}const n=this.domConverter.mapViewToDom(t).childNodes;const i=Array.from(this.domConverter.viewChildrenToDom(t,e.ownerDocument,{withChildren:false}));const o=this._diffNodeLists(n,i);const s=this._findReplaceActions(o,n,i);if(s.indexOf(\"replace\")!==-1){const e={equal:0,insert:0,delete:0};for(const o of s){if(o===\"replace\"){const o=e.equal+e.insert;const s=e.equal+e.delete;const r=t.getChild(o);if(r&&!r.is(\"uiElement\")){this._updateElementMappings(r,n[s])}Gc(i[o]);e.equal++}else{e[o]++}}}}_updateElementMappings(t,e){this.domConverter.unbindDomElement(e);this.domConverter.bindElements(e,t);this.markedChildren.add(t);this.markedAttributes.add(t)}_getInlineFillerPosition(){const t=this.selection.getFirstPosition();if(t.parent.is(\"text\")){return Ra._createBefore(this.selection.getFirstPosition().parent)}else{return t}}_isSelectionInInlineFiller(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed){return false}const t=this.selection.getFirstPosition();const e=this.domConverter.viewPositionToDom(t);if(e&&Sc(e.parent)&&Rc(e.parent)){return true}return false}_removeInlineFiller(){const t=this._inlineFiller;if(!Rc(t)){throw new Qs[\"b\"](\"view-renderer-filler-was-lost: The inline filler node was lost.\",this)}if(Dc(t)){t.parentNode.removeChild(t)}else{t.data=t.data.substr(Nc)}this._inlineFiller=null}_needsInlineFillerAtSelection(){if(this.selection.rangeCount!=1||!this.selection.isCollapsed){return false}const t=this.selection.getFirstPosition();const e=t.parent;const n=t.offset;if(!this.domConverter.mapViewToDom(e.root)){return false}if(!e.is(\"element\")){return false}if(!Xc(e)){return false}if(n===e.getFillerOffset()){return false}const i=t.nodeBefore;const o=t.nodeAfter;if(i instanceof Tr||o instanceof Tr){return false}return true}_updateText(t,e){const n=this.domConverter.findCorrespondingDomText(t);const i=this.domConverter.viewToDom(t,n.ownerDocument);const o=n.data;let s=i.data;const r=e.inlineFillerPosition;if(r&&r.parent==t.parent&&r.offset==t.index){s=Lc+s}if(o!=s){const t=Vc(o,s);for(const e of t){if(e.type===\"insert\"){n.insertData(e.index,e.values.join(\"\"))}else{n.deleteData(e.index,e.howMany)}}}}_updateAttrs(t){const e=this.domConverter.mapViewToDom(t);if(!e){return}const n=Array.from(e.attributes).map(t=>t.name);const i=t.getAttributeKeys();for(const n of i){e.setAttribute(n,t.getAttribute(n))}for(const i of n){if(!t.hasAttribute(i)){e.removeAttribute(i)}}}_updateChildren(t,e){const n=this.domConverter.mapViewToDom(t);if(!n){return}const i=e.inlineFillerPosition;const o=this.domConverter.mapViewToDom(t).childNodes;const s=Array.from(this.domConverter.viewChildrenToDom(t,n.ownerDocument,{bind:true,inlineFillerPosition:i}));if(i&&i.parent===t){Qc(n.ownerDocument,s,i.offset)}const r=this._diffNodeLists(o,s);let a=0;const c=new Set;for(const t of r){if(t===\"insert\"){qc(n,a,s[a]);a++}else if(t===\"delete\"){c.add(o[a]);Gc(o[a])}else{this._markDescendantTextToSync(this.domConverter.domToView(s[a]));a++}}for(const t of c){if(!t.parentNode){this.domConverter.unbindDomElement(t)}}}_diffNodeLists(t,e){t=nl(t,this._fakeSelectionContainer);return Yc(t,e,tl.bind(null,this.domConverter))}_findReplaceActions(t,e,n){if(t.indexOf(\"insert\")===-1||t.indexOf(\"delete\")===-1){return t}let i=[];let o=[];let s=[];const r={equal:0,insert:0,delete:0};for(const a of t){if(a===\"insert\"){s.push(n[r.equal+r.insert])}else if(a===\"delete\"){o.push(e[r.equal+r.delete])}else{i=i.concat(Yc(o,s,Zc).map(t=>t===\"equal\"?\"replace\":t));i.push(\"equal\");o=[];s=[]}r[a]++}return i.concat(Yc(o,s,Zc).map(t=>t===\"equal\"?\"replace\":t))}_markDescendantTextToSync(t){if(!t){return}if(t.is(\"text\")){this.markedTexts.add(t)}else if(t.is(\"element\")){for(const e of t.getChildren()){this._markDescendantTextToSync(e)}}}_updateSelection(){if(this.selection.rangeCount===0){this._removeDomSelection();this._removeFakeSelection();return}const t=this.domConverter.mapViewToDom(this.selection.editableElement);if(!this.isFocused||!t){return}if(this.selection.isFake){this._updateFakeSelection(t)}else{this._removeFakeSelection();this._updateDomSelection(t)}}_updateFakeSelection(t){const e=t.ownerDocument;if(!this._fakeSelectionContainer){this._fakeSelectionContainer=il(e)}const n=this._fakeSelectionContainer;this.domConverter.bindFakeSelection(n,this.selection);if(!this._fakeSelectionNeedsUpdate(t)){return}if(!n.parentElement||n.parentElement!=t){t.appendChild(n)}n.textContent=this.selection.fakeSelectionLabel||\" \";const i=e.getSelection();const o=e.createRange();i.removeAllRanges();o.selectNodeContents(n);i.addRange(o)}_updateDomSelection(t){const e=t.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(e)){return}const n=this.domConverter.viewPositionToDom(this.selection.anchor);const i=this.domConverter.viewPositionToDom(this.selection.focus);t.focus();e.collapse(n.parent,n.offset);e.extend(i.parent,i.offset);if(Xa.isGecko){el(i,e)}}_domSelectionNeedsUpdate(t){if(!this.domConverter.isDomSelectionCorrect(t)){return true}const e=t&&this.domConverter.domSelectionToView(t);if(e&&this.selection.isEqual(e)){return false}if(!this.selection.isCollapsed&&this.selection.isSimilar(e)){return false}return true}_fakeSelectionNeedsUpdate(t){const e=this._fakeSelectionContainer;const n=t.ownerDocument.getSelection();if(!e||e.parentElement!==t){return true}if(n.anchorNode!==e&&!e.contains(n.anchorNode)){return true}return e.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const t of this.domDocuments){const e=t.getSelection();if(e.rangeCount){const e=t.activeElement;const n=this.domConverter.mapDomToView(e);if(e&&n){t.getSelection().removeAllRanges()}}}}_removeFakeSelection(){const t=this._fakeSelectionContainer;if(t){t.remove()}}_updateFocus(){if(this.isFocused){const t=this.selection.editableElement;if(t){this.domConverter.focus(t)}}}}vr(Jc,_a);function Xc(t){if(t.getAttribute(\"contenteditable\")==\"false\"){return false}const e=t.findAncestor(t=>t.hasAttribute(\"contenteditable\"));return!e||e.getAttribute(\"contenteditable\")==\"true\"}function Qc(t,e,n){const i=e instanceof Array?e:e.childNodes;const o=i[n];if(Sc(o)){o.data=Lc+o.data;return o}else{const o=t.createTextNode(Lc);if(Array.isArray(e)){i.splice(n,0,o)}else{qc(e,n,o)}return o}}function Zc(t,e){return Kc(t)&&Kc(e)&&!Sc(t)&&!Sc(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function tl(t,e,n){if(e===n){return true}else if(Sc(e)&&Sc(n)){return e.data===n.data}else if(t.isBlockFiller(e)&&t.isBlockFiller(n)){return true}return false}function el(t,e){const n=t.parent;if(n.nodeType!=Node.ELEMENT_NODE||t.offset!=n.childNodes.length-1){return}const i=n.childNodes[t.offset];if(i&&i.tagName==\"BR\"){e.addRange(e.getRangeAt(0))}}function nl(t,e){const n=Array.from(t);if(n.length==0||!e){return n}const i=n[n.length-1];if(i==e){n.pop()}return n}function il(t){const e=t.createElement(\"div\");Object.assign(e.style,{position:\"fixed\",top:0,left:\"-9999px\",width:\"42px\"});e.textContent=\" \";return e}var ol={window:window,document:document};function sl(t){let e=0;while(t.previousSibling){t=t.previousSibling;e++}return e}function rl(t){const e=[];while(t&&t.nodeType!=Node.DOCUMENT_NODE){e.unshift(t);t=t.parentNode}return e}function al(t,e){const n=rl(t);const i=rl(e);let o=0;while(n[o]==i[o]&&n[o]){o++}return o===0?null:n[o-1]}const cl=Oc(document);class ll{constructor(t={}){this.blockFillerMode=t.blockFillerMode||\"br\";this.preElements=[\"pre\"];this.blockElements=[\"p\",\"div\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"li\",\"dd\",\"dt\",\"figcaption\"];this._blockFiller=this.blockFillerMode==\"br\"?Oc:Ic;this._domToViewMapping=new WeakMap;this._viewToDomMapping=new WeakMap;this._fakeSelectionMapping=new WeakMap}bindFakeSelection(t,e){this._fakeSelectionMapping.set(t,new Ba(e))}fakeSelectionToView(t){return this._fakeSelectionMapping.get(t)}bindElements(t,e){this._domToViewMapping.set(t,e);this._viewToDomMapping.set(e,t)}unbindDomElement(t){const e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t);this._viewToDomMapping.delete(e);for(const e of Array.from(t.childNodes)){this.unbindDomElement(e)}}}bindDocumentFragments(t,e){this._domToViewMapping.set(t,e);this._viewToDomMapping.set(e,t)}viewToDom(t,e,n={}){if(t.is(\"text\")){const n=this._processDataFromViewText(t);return e.createTextNode(n)}else{if(this.mapViewToDom(t)){return this.mapViewToDom(t)}let i;if(t.is(\"documentFragment\")){i=e.createDocumentFragment();if(n.bind){this.bindDocumentFragments(i,t)}}else if(t.is(\"uiElement\")){i=t.render(e);if(n.bind){this.bindElements(i,t)}return i}else{if(t.hasAttribute(\"xmlns\")){i=e.createElementNS(t.getAttribute(\"xmlns\"),t.name)}else{i=e.createElement(t.name)}if(n.bind){this.bindElements(i,t)}for(const e of t.getAttributeKeys()){i.setAttribute(e,t.getAttribute(e))}}if(n.withChildren||n.withChildren===undefined){for(const o of this.viewChildrenToDom(t,e,n)){i.appendChild(o)}}return i}}*viewChildrenToDom(t,e,n={}){const i=t.getFillerOffset&&t.getFillerOffset();let o=0;for(const s of t.getChildren()){if(i===o){yield this._blockFiller(e)}yield this.viewToDom(s,e,n);o++}if(i===o){yield this._blockFiller(e)}}viewRangeToDom(t){const e=this.viewPositionToDom(t.start);const n=this.viewPositionToDom(t.end);const i=document.createRange();i.setStart(e.parent,e.offset);i.setEnd(n.parent,n.offset);return i}viewPositionToDom(t){const e=t.parent;if(e.is(\"text\")){const n=this.findCorrespondingDomText(e);if(!n){return null}let i=t.offset;if(Rc(n)){i+=Nc}return{parent:n,offset:i}}else{let n,i,o;if(t.offset===0){n=this.mapViewToDom(e);if(!n){return null}o=n.childNodes[0]}else{const e=t.nodeBefore;i=e.is(\"text\")?this.findCorrespondingDomText(e):this.mapViewToDom(t.nodeBefore);if(!i){return null}n=i.parentNode;o=i.nextSibling}if(Sc(o)&&Rc(o)){return{parent:o,offset:Nc}}const s=i?sl(i)+1:0;return{parent:n,offset:s}}}domToView(t,e={}){if(this.isBlockFiller(t,this.blockFillerMode)){return null}const n=this.getParentUIElement(t,this._domToViewMapping);if(n){return n}if(Sc(t)){if(Dc(t)){return null}else{const e=this._processDataFromDomText(t);return e===\"\"?null:new Tr(e)}}else if(this.isComment(t)){return null}else{if(this.mapDomToView(t)){return this.mapDomToView(t)}let n;if(this.isDocumentFragment(t)){n=new pc;if(e.bind){this.bindDocumentFragments(t,n)}}else{const i=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();n=new Dr(i);if(e.bind){this.bindElements(t,n)}const o=t.attributes;for(let t=o.length-1;t>=0;t--){n._setAttribute(o[t].name,o[t].value)}}if(e.withChildren||e.withChildren===undefined){for(const i of this.domChildrenToView(t,e)){n._appendChild(i)}}return n}}*domChildrenToView(t,e={}){for(let n=0;n<t.childNodes.length;n++){const i=t.childNodes[n];const o=this.domToView(i,e);if(o!==null){yield o}}}domSelectionToView(t){if(t.rangeCount===1){let e=t.getRangeAt(0).startContainer;if(Sc(e)){e=e.parentNode}const n=this.fakeSelectionToView(e);if(n){return n}}const e=this.isDomSelectionBackward(t);const n=[];for(let e=0;e<t.rangeCount;e++){const i=t.getRangeAt(e);const o=this.domRangeToView(i);if(o){n.push(o)}}return new Ba(n,{backward:e})}domRangeToView(t){const e=this.domPositionToView(t.startContainer,t.startOffset);const n=this.domPositionToView(t.endContainer,t.endOffset);if(e&&n){return new Da(e,n)}return null}domPositionToView(t,e){if(this.isBlockFiller(t,this.blockFillerMode)){return this.domPositionToView(t.parentNode,sl(t))}const n=this.mapDomToView(t);if(n&&n.is(\"uiElement\")){return Ra._createBefore(n)}if(Sc(t)){if(Dc(t)){return this.domPositionToView(t.parentNode,sl(t))}const n=this.findCorrespondingViewText(t);let i=e;if(!n){return null}if(Rc(t)){i-=Nc;i=i<0?0:i}return new Ra(n,i)}else{if(e===0){const e=this.mapDomToView(t);if(e){return new Ra(e,0)}}else{const n=t.childNodes[e-1];const i=Sc(n)?this.findCorrespondingViewText(n):this.mapDomToView(n);if(i&&i.parent){return new Ra(i.parent,i.index+1)}}return null}}mapDomToView(t){return this.getParentUIElement(t)||this._domToViewMapping.get(t)}findCorrespondingViewText(t){if(Dc(t)){return null}const e=this.getParentUIElement(t);if(e){return e}const n=t.previousSibling;if(n){if(!this.isElement(n)){return null}const t=this.mapDomToView(n);if(t){const e=t.nextSibling;if(e instanceof Tr){return t.nextSibling}else{return null}}}else{const e=this.mapDomToView(t.parentNode);if(e){const t=e.getChild(0);if(t instanceof Tr){return t}else{return null}}}return null}mapViewToDom(t){return this._viewToDomMapping.get(t)}findCorrespondingDomText(t){const e=t.previousSibling;if(e&&this.mapViewToDom(e)){return this.mapViewToDom(e).nextSibling}if(!e&&t.parent&&this.mapViewToDom(t.parent)){return this.mapViewToDom(t.parent).childNodes[0]}return null}focus(t){const e=this.mapViewToDom(t);if(e&&e.ownerDocument.activeElement!==e){const{scrollX:t,scrollY:n}=ol.window;const i=[];ul(e,t=>{const{scrollLeft:e,scrollTop:n}=t;i.push([e,n])});e.focus();ul(e,t=>{const[e,n]=i.shift();t.scrollLeft=e;t.scrollTop=n});ol.window.scrollTo(t,n)}}isElement(t){return t&&t.nodeType==Node.ELEMENT_NODE}isDocumentFragment(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isComment(t){return t&&t.nodeType==Node.COMMENT_NODE}isBlockFiller(t){if(this.blockFillerMode==\"br\"){return t.isEqualNode(cl)}if(t.tagName===\"BR\"&&fl(t,this.blockElements)&&t.parentNode.childNodes.length===1){return true}return hl(t,this.blockElements)}isDomSelectionBackward(t){if(t.isCollapsed){return false}const e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset);e.setEnd(t.focusNode,t.focusOffset);const n=e.collapsed;e.detach();return n}getParentUIElement(t){const e=rl(t);e.pop();while(e.length){const t=e.pop();const n=this._domToViewMapping.get(t);if(n&&n.is(\"uiElement\")){return n}}return null}isDomSelectionCorrect(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}_isDomSelectionPositionCorrect(t,e){if(Sc(t)&&Rc(t)&&e<Nc){return false}if(this.isElement(t)&&Rc(t.childNodes[e])){return false}const n=this.mapDomToView(t);if(n&&n.is(\"uiElement\")){return false}return true}_processDataFromViewText(t){let e=t.data;if(t.getAncestors().some(t=>this.preElements.includes(t.name))){return e}if(e.charAt(0)==\" \"){const n=this._getTouchingViewTextNode(t,false);const i=n&&this._nodeEndsWithSpace(n);if(i||!n){e=\" \"+e.substr(1)}}if(e.charAt(e.length-1)==\" \"){const n=this._getTouchingViewTextNode(t,true);if(e.charAt(e.length-2)==\" \"||!n||n.data.charAt(0)==\" \"){e=e.substr(0,e.length-1)+\" \"}}return e.replace(/ {2}/g,\"  \")}_nodeEndsWithSpace(t){if(t.getAncestors().some(t=>this.preElements.includes(t.name))){return false}const e=this._processDataFromViewText(t);return e.charAt(e.length-1)==\" \"}_processDataFromDomText(t){let e=t.data;if(dl(t,this.preElements)){return jc(t)}e=e.replace(/[ \\n\\t\\r]{1,}/g,\" \");const n=this._getTouchingInlineDomNode(t,false);const i=this._getTouchingInlineDomNode(t,true);const o=this._checkShouldLeftTrimDomText(n);const s=this._checkShouldRightTrimDomText(t,i);if(o){e=e.replace(/^ /,\"\")}if(s){e=e.replace(/ $/,\"\")}e=jc(new Text(e));e=e.replace(/ \\u00A0/g,\" \");if(/( |\\u00A0)\\u00A0$/.test(e)||!i||i.data&&i.data.charAt(0)==\" \"){e=e.replace(/\\u00A0$/,\" \")}if(o){e=e.replace(/^\\u00A0/,\" \")}return e}_checkShouldLeftTrimDomText(t){if(!t){return true}if(Gs(t)){return true}return/[^\\S\\u00A0]/.test(t.data.charAt(t.data.length-1))}_checkShouldRightTrimDomText(t,e){if(e){return false}return!Rc(t)}_getTouchingViewTextNode(t,e){const n=new La({startPosition:e?Ra._createAfter(t):Ra._createBefore(t),direction:e?\"forward\":\"backward\"});for(const t of n){if(t.item.is(\"containerElement\")){return null}else if(t.item.is(\"br\")){return null}else if(t.item.is(\"textProxy\")){return t.item}}return null}_getTouchingInlineDomNode(t,e){if(!t.parentNode){return null}const n=e?\"nextNode\":\"previousNode\";const i=t.ownerDocument;const o=rl(t)[0];const s=i.createTreeWalker(o,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode(t){if(Sc(t)){return NodeFilter.FILTER_ACCEPT}if(t.tagName==\"BR\"){return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP}});s.currentNode=t;const r=s[n]();if(r!==null){const e=al(t,r);if(e&&!dl(t,this.blockElements,e)&&!dl(r,this.blockElements,e)){return r}}return null}}function dl(t,e,n){let i=rl(t);if(n){i=i.slice(i.indexOf(n)+1)}return i.some(t=>t.tagName&&e.includes(t.tagName.toLowerCase()))}function ul(t,e){while(t&&t!=ol.document){e(t);t=t.parentNode}}function hl(t,e){const n=Sc(t)&&t.data==\" \";return n&&fl(t,e)&&t.parentNode.childNodes.length===1}function fl(t,e){const n=t.parentNode;return n&&n.tagName&&e.includes(n.tagName.toLowerCase())}function ml(t){const e=Object.prototype.toString.apply(t);if(e==\"[object Window]\"){return true}if(e==\"[object global]\"){return true}return false}const gl=ma({},lr,{listenTo(t,...e){if(Kc(t)||ml(t)){const n=this._getProxyEmitter(t)||new bl(t);n.attach(...e);t=n}lr.listenTo.call(this,t,...e)},stopListening(t,e,n){if(Kc(t)||ml(t)){const e=this._getProxyEmitter(t);if(!e){return}t=e}lr.stopListening.call(this,t,e,n);if(t instanceof bl){t.detach(e)}},_getProxyEmitter(t){return dr(this,wl(t))}});var pl=gl;class bl{constructor(t){ur(this,wl(t));this._domNode=t}}ma(bl.prototype,lr,{attach(t,e,n={}){if(this._domListeners&&this._domListeners[t]){return}const i=this._createDomListener(t,!!n.useCapture);this._domNode.addEventListener(t,i,!!n.useCapture);if(!this._domListeners){this._domListeners={}}this._domListeners[t]=i},detach(t){let e;if(this._domListeners[t]&&(!(e=this._events[t])||!e.callbacks.length)){this._domListeners[t].removeListener()}},_createDomListener(t,e){const n=e=>{this.fire(t,e)};n.removeListener=()=>{this._domNode.removeEventListener(t,n,e);delete this._domListeners[t]};return n}});function wl(t){return t[\"data-ck-expando\"]||(t[\"data-ck-expando\"]=nr())}class _l{constructor(t){this.view=t;this.document=t.document;this.isEnabled=false}enable(){this.isEnabled=true}disable(){this.isEnabled=false}destroy(){this.disable();this.stopListening()}}vr(_l,pl);var vl=\"__lodash_hash_undefined__\";function kl(t){this.__data__.set(t,vl);return this}var xl=kl;function yl(t){return this.__data__.has(t)}var Al=yl;function Cl(t){var e=-1,n=t==null?0:t.length;this.__data__=new ve;while(++e<n){this.add(t[e])}}Cl.prototype.add=Cl.prototype.push=xl;Cl.prototype.has=Al;var Tl=Cl;function Ml(t,e){var n=-1,i=t==null?0:t.length;while(++n<i){if(e(t[n],n,t)){return true}}return false}var El=Ml;function Pl(t,e){return t.has(e)}var Sl=Pl;var Il=1,Ol=2;function Nl(t,e,n,i,o,s){var r=n&Il,a=t.length,c=e.length;if(a!=c&&!(r&&c>a)){return false}var l=s.get(t);if(l&&s.get(e)){return l==e}var d=-1,u=true,h=n&Ol?new Tl:undefined;s.set(t,e);s.set(e,t);while(++d<a){var f=t[d],m=e[d];if(i){var g=r?i(m,f,d,e,t,s):i(f,m,d,t,e,s)}if(g!==undefined){if(g){continue}u=false;break}if(h){if(!El(e,(function(t,e){if(!Sl(h,e)&&(f===t||o(f,t,n,i,s))){return h.push(e)}}))){u=false;break}}else if(!(f===m||o(f,m,n,i,s))){u=false;break}}s[\"delete\"](t);s[\"delete\"](e);return u}var Ll=Nl;function Rl(t){var e=-1,n=Array(t.size);t.forEach((function(t,i){n[++e]=[i,t]}));return n}var Dl=Rl;function jl(t){var e=-1,n=Array(t.size);t.forEach((function(t){n[++e]=t}));return n}var zl=jl;var Bl=1,Vl=2;var Fl=\"[object Boolean]\",Hl=\"[object Date]\",Ul=\"[object Error]\",Wl=\"[object Map]\",$l=\"[object Number]\",Yl=\"[object RegExp]\",ql=\"[object Set]\",Gl=\"[object String]\",Kl=\"[object Symbol]\";var Jl=\"[object ArrayBuffer]\",Xl=\"[object DataView]\";var Ql=s?s.prototype:undefined,Zl=Ql?Ql.valueOf:undefined;function td(t,e,n,i,o,s,r){switch(n){case Xl:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset){return false}t=t.buffer;e=e.buffer;case Jl:if(t.byteLength!=e.byteLength||!s(new fo(t),new fo(e))){return false}return true;case Fl:case Hl:case $l:return z(+t,+e);case Ul:return t.name==e.name&&t.message==e.message;case Yl:case Gl:return t==e+\"\";case Wl:var a=Dl;case ql:var c=i&Bl;a||(a=zl);if(t.size!=e.size&&!c){return false}var l=r.get(t);if(l){return l==e}i|=Vl;r.set(t,e);var d=Ll(a(t),a(e),i,o,s,r);r[\"delete\"](t);return d;case Kl:if(Zl){return Zl.call(t)==Zl.call(e)}}return false}var ed=td;var nd=1;var id=Object.prototype;var od=id.hasOwnProperty;function sd(t,e,n,i,o,s){var r=n&nd,a=ji(t),c=a.length,l=ji(e),d=l.length;if(c!=d&&!r){return false}var u=c;while(u--){var h=a[u];if(!(r?h in e:od.call(e,h))){return false}}var f=s.get(t);if(f&&s.get(e)){return f==e}var m=true;s.set(t,e);s.set(e,t);var g=r;while(++u<c){h=a[u];var p=t[h],b=e[h];if(i){var w=r?i(b,p,h,e,t,s):i(p,b,h,t,e,s)}if(!(w===undefined?p===b||o(p,b,n,i,s):w)){m=false;break}g||(g=h==\"constructor\")}if(m&&!g){var _=t.constructor,v=e.constructor;if(_!=v&&(\"constructor\"in t&&\"constructor\"in e)&&!(typeof _==\"function\"&&_ instanceof _&&typeof v==\"function\"&&v instanceof v)){m=false}}s[\"delete\"](t);s[\"delete\"](e);return m}var rd=sd;var ad=1;var cd=\"[object Arguments]\",ld=\"[object Array]\",dd=\"[object Object]\";var ud=Object.prototype;var hd=ud.hasOwnProperty;function fd(t,e,n,i,o,s){var r=Ke(t),a=Ke(e),c=r?ld:ro(t),l=a?ld:ro(e);c=c==cd?dd:c;l=l==cd?dd:l;var d=c==dd,u=l==dd,h=c==l;if(h&&Object(Je[\"a\"])(t)){if(!Object(Je[\"a\"])(e)){return false}r=true;d=false}if(h&&!d){s||(s=new Ce);return r||jn(t)?Ll(t,e,n,i,o,s):ed(t,e,c,n,i,o,s)}if(!(n&ad)){var f=d&&hd.call(t,\"__wrapped__\"),m=u&&hd.call(e,\"__wrapped__\");if(f||m){var g=f?t.value():t,p=m?e.value():e;s||(s=new Ce);return o(g,p,n,i,s)}}if(!h){return false}s||(s=new Ce);return rd(t,e,n,i,o,s)}var md=fd;function gd(t,e,n,i,o){if(t===e){return true}if(t==null||e==null||!T(t)&&!T(e)){return t!==t&&e!==e}return md(t,e,n,i,gd,o)}var pd=gd;function bd(t,e,n){n=typeof n==\"function\"?n:undefined;var i=n?n(t,e):undefined;return i===undefined?pd(t,e,undefined,n):!!i}var wd=bd;class _d extends _l{constructor(t){super(t);this._config={childList:true,characterData:true,characterDataOldValue:true,subtree:true};this.domConverter=t.domConverter;this.renderer=t._renderer;this._domElements=[];this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(t){this._domElements.push(t);if(this.isEnabled){this._mutationObserver.observe(t,this._config)}}enable(){super.enable();for(const t of this._domElements){this._mutationObserver.observe(t,this._config)}}disable(){super.disable();this._mutationObserver.disconnect()}destroy(){super.destroy();this._mutationObserver.disconnect()}_onMutations(t){if(t.length===0){return}const e=this.domConverter;const n=new Map;const i=new Set;for(const n of t){if(n.type===\"childList\"){const t=e.mapDomToView(n.target);if(t&&t.is(\"uiElement\")){continue}if(t&&!this._isBogusBrMutation(n)){i.add(t)}}}for(const o of t){const t=e.mapDomToView(o.target);if(t&&t.is(\"uiElement\")){continue}if(o.type===\"characterData\"){const t=e.findCorrespondingViewText(o.target);if(t&&!i.has(t.parent)){n.set(t,{type:\"text\",oldText:t.data,newText:jc(o.target),node:t})}else if(!t&&Rc(o.target)){i.add(e.mapDomToView(o.target.parentNode))}}}const o=[];for(const t of n.values()){this.renderer.markToSync(\"text\",t.node);o.push(t)}for(const t of i){const n=e.mapViewToDom(t);const i=Array.from(t.getChildren());const s=Array.from(e.domChildrenToView(n,{withChildren:false}));if(!wd(i,s,a)){this.renderer.markToSync(\"children\",t);o.push({type:\"children\",oldChildren:i,newChildren:s,node:t})}}const s=t[0].target.ownerDocument.getSelection();let r=null;if(s&&s.anchorNode){const t=e.domPositionToView(s.anchorNode,s.anchorOffset);const n=e.domPositionToView(s.focusNode,s.focusOffset);if(t&&n){r=new Ba(t);r.setFocus(n)}}this.document.fire(\"mutations\",o,r);this.view.forceRender();function a(t,e){if(Array.isArray(t)){return}if(t===e){return true}else if(t.is(\"text\")&&e.is(\"text\")){return t.data===e.data}return false}}_isBogusBrMutation(t){let e=null;if(t.nextSibling===null&&t.removedNodes.length===0&&t.addedNodes.length==1){e=this.domConverter.domToView(t.addedNodes[0],{withChildren:false})}return e&&e.is(\"element\",\"br\")}}class vd{constructor(t,e,n){this.view=t;this.document=t.document;this.domEvent=e;this.domTarget=e.target;ma(this,n)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class kd extends _l{constructor(t){super(t);this.useCapture=false}observe(t){const e=typeof this.domEventType==\"string\"?[this.domEventType]:this.domEventType;e.forEach(e=>{this.listenTo(t,e,(t,e)=>{if(this.isEnabled){this.onDomEvent(e)}},{useCapture:this.useCapture})})}fire(t,e,n){if(this.isEnabled){this.document.fire(t,new vd(this.view,e,n))}}}class xd extends kd{constructor(t){super(t);this.domEventType=[\"keydown\",\"keyup\"]}onDomEvent(t){this.fire(t.type,t,{keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey||t.metaKey,shiftKey:t.shiftKey,get keystroke(){return ac(this)}})}}var yd=function(){return i[\"a\"].Date.now()};var Ad=yd;var Cd=\"[object Symbol]\";function Td(t){return typeof t==\"symbol\"||T(t)&&v(t)==Cd}var Md=Td;var Ed=0/0;var Pd=/^\\s+|\\s+$/g;var Sd=/^[-+]0x[0-9a-f]+$/i;var Id=/^0b[01]+$/i;var Od=/^0o[0-7]+$/i;var Nd=parseInt;function Ld(t){if(typeof t==\"number\"){return t}if(Md(t)){return Ed}if(ct(t)){var e=typeof t.valueOf==\"function\"?t.valueOf():t;t=ct(e)?e+\"\":e}if(typeof t!=\"string\"){return t===0?t:+t}t=t.replace(Pd,\"\");var n=Id.test(t);return n||Od.test(t)?Nd(t.slice(2),n?2:8):Sd.test(t)?Ed:+t}var Rd=Ld;var Dd=\"Expected a function\";var jd=Math.max,zd=Math.min;function Bd(t,e,n){var i,o,s,r,a,c,l=0,d=false,u=false,h=true;if(typeof t!=\"function\"){throw new TypeError(Dd)}e=Rd(e)||0;if(ct(n)){d=!!n.leading;u=\"maxWait\"in n;s=u?jd(Rd(n.maxWait)||0,e):s;h=\"trailing\"in n?!!n.trailing:h}function f(e){var n=i,s=o;i=o=undefined;l=e;r=t.apply(s,n);return r}function m(t){l=t;a=setTimeout(b,e);return d?f(t):r}function g(t){var n=t-c,i=t-l,o=e-n;return u?zd(o,s-i):o}function p(t){var n=t-c,i=t-l;return c===undefined||n>=e||n<0||u&&i>=s}function b(){var t=Ad();if(p(t)){return w(t)}a=setTimeout(b,g(t))}function w(t){a=undefined;if(h&&i){return f(t)}i=o=undefined;return r}function _(){if(a!==undefined){clearTimeout(a)}l=0;i=c=o=a=undefined}function v(){return a===undefined?r:w(Ad())}function k(){var t=Ad(),n=p(t);i=arguments;o=this;c=t;if(n){if(a===undefined){return m(c)}if(u){clearTimeout(a);a=setTimeout(b,e);return f(c)}}if(a===undefined){a=setTimeout(b,e)}return r}k.cancel=_;k.flush=v;return k}var Vd=Bd;class Fd extends _l{constructor(t){super(t);this._fireSelectionChangeDoneDebounced=Vd(t=>this.document.fire(\"selectionChangeDone\",t),200)}observe(){const t=this.document;t.on(\"keydown\",(e,n)=>{const i=t.selection;if(i.isFake&&Hd(n.keyCode)&&this.isEnabled){n.preventDefault();this._handleSelectionMove(n.keyCode)}},{priority:\"lowest\"})}destroy(){super.destroy();this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(t){const e=this.document.selection;const n=new Ba(e.getRanges(),{backward:e.isBackward,fake:false});if(t==rc.arrowleft||t==rc.arrowup){n.setTo(n.getFirstPosition())}if(t==rc.arrowright||t==rc.arrowdown){n.setTo(n.getLastPosition())}const i={oldSelection:e,newSelection:n,domSelection:null};this.document.fire(\"selectionChange\",i);this._fireSelectionChangeDoneDebounced(i)}}function Hd(t){return t==rc.arrowright||t==rc.arrowleft||t==rc.arrowup||t==rc.arrowdown}class Ud extends _l{constructor(t){super(t);this.mutationObserver=t.getObserver(_d);this.selection=this.document.selection;this.domConverter=t.domConverter;this._documents=new WeakSet;this._fireSelectionChangeDoneDebounced=Vd(t=>this.document.fire(\"selectionChangeDone\",t),200);this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3);this._loopbackCounter=0}observe(t){const e=t.ownerDocument;if(this._documents.has(e)){return}this.listenTo(e,\"selectionchange\",()=>{this._handleSelectionChange(e)});this._documents.add(e)}destroy(){super.destroy();clearInterval(this._clearInfiniteLoopInterval);this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionChange(t){if(!this.isEnabled||!this.document.isFocused&&!this.document.isReadOnly){return}this.mutationObserver.flush();const e=t.defaultView.getSelection();const n=this.domConverter.domSelectionToView(e);if(this.selection.isEqual(n)&&this.domConverter.isDomSelectionCorrect(e)){return}if(++this._loopbackCounter>60){return}if(this.selection.isSimilar(n)){this.view.forceRender()}else{const t={oldSelection:this.selection,newSelection:n,domSelection:e};this.document.fire(\"selectionChange\",t);this._fireSelectionChangeDoneDebounced(t)}}_clearInfiniteLoop(){this._loopbackCounter=0}}class Wd extends kd{constructor(t){super(t);this.domEventType=[\"focus\",\"blur\"];this.useCapture=true;const e=this.document;e.on(\"focus\",()=>{e.isFocused=true;this._renderTimeoutId=setTimeout(()=>t.forceRender(),50)});e.on(\"blur\",(n,i)=>{const o=e.selection.editableElement;if(o===null||o===i.target){e.isFocused=false;t.forceRender()}})}onDomEvent(t){this.fire(t.type,t)}destroy(){if(this._renderTimeoutId){clearTimeout(this._renderTimeoutId)}super.destroy()}}class $d extends kd{constructor(t){super(t);this.domEventType=[\"compositionstart\",\"compositionupdate\",\"compositionend\"];const e=this.document;e.on(\"compositionstart\",()=>{e.isComposing=true});e.on(\"compositionend\",()=>{e.isComposing=false})}onDomEvent(t){this.fire(t.type,t)}}class Yd extends kd{constructor(t){super(t);this.domEventType=[\"beforeinput\"]}onDomEvent(t){this.fire(t.type,t)}}function qd(t){return Object.prototype.toString.apply(t)==\"[object Range]\"}function Gd(t){const e=t.ownerDocument.defaultView.getComputedStyle(t);return{top:parseInt(e.borderTopWidth,10),right:parseInt(e.borderRightWidth,10),bottom:parseInt(e.borderBottomWidth,10),left:parseInt(e.borderLeftWidth,10)}}const Kd=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\"];class Jd{constructor(t){const e=qd(t);Object.defineProperty(this,\"_source\",{value:t._source||t,writable:true,enumerable:false});if(Gs(t)||e){if(e){Xd(this,Jd.getDomRangeRects(t)[0])}else{Xd(this,t.getBoundingClientRect())}}else if(ml(t)){const{innerWidth:e,innerHeight:n}=t;Xd(this,{top:0,right:e,bottom:n,left:0,width:e,height:n})}else{Xd(this,t)}}clone(){return new Jd(this)}moveTo(t,e){this.top=e;this.right=t+this.width;this.bottom=e+this.height;this.left=t;return this}moveBy(t,e){this.top+=e;this.right+=t;this.left+=t;this.bottom+=e;return this}getIntersection(t){const e={top:Math.max(this.top,t.top),right:Math.min(this.right,t.right),bottom:Math.min(this.bottom,t.bottom),left:Math.max(this.left,t.left)};e.width=e.right-e.left;e.height=e.bottom-e.top;if(e.width<0||e.height<0){return null}else{return new Jd(e)}}getIntersectionArea(t){const e=this.getIntersection(t);if(e){return e.getArea()}else{return 0}}getArea(){return this.width*this.height}getVisible(){const t=this._source;let e=this.clone();if(!Qd(t)){let n=t.parentNode||t.commonAncestorContainer;while(n&&!Qd(n)){const t=new Jd(n);const i=e.getIntersection(t);if(i){if(i.getArea()<e.getArea()){e=i}}else{return null}n=n.parentNode}}return e}isEqual(t){for(const e of Kd){if(this[e]!==t[e]){return false}}return true}contains(t){const e=this.getIntersection(t);return!!(e&&e.isEqual(t))}excludeScrollbarsAndBorders(){const t=this._source;let e,n,i;if(ml(t)){e=t.innerWidth-t.document.documentElement.clientWidth;n=t.innerHeight-t.document.documentElement.clientHeight;i=t.getComputedStyle(t.document.documentElement).direction}else{const o=Gd(this._source);e=t.offsetWidth-t.clientWidth-o.left-o.right;n=t.offsetHeight-t.clientHeight-o.top-o.bottom;i=t.ownerDocument.defaultView.getComputedStyle(t).direction;this.left+=o.left;this.top+=o.top;this.right-=o.right;this.bottom-=o.bottom;this.width=this.right-this.left;this.height=this.bottom-this.top}this.width-=e;if(i===\"ltr\"){this.right-=e}else{this.left+=e}this.height-=n;this.bottom-=n;return this}static getDomRangeRects(t){const e=[];const n=Array.from(t.getClientRects());if(n.length){for(const t of n){e.push(new Jd(t))}}else{let n=t.startContainer;if(Sc(n)){n=n.parentNode}const i=new Jd(n.getBoundingClientRect());i.right=i.left;i.width=0;e.push(i)}return e}}function Xd(t,e){for(const n of Kd){t[n]=e[n]}}function Qd(t){if(!Gs(t)){return false}return t===t.ownerDocument.body}const Zd={};function tu({target:t,viewportOffset:e=0}){const n=cu(t);let i=n;let o=null;while(i){let s;if(i==n){s=lu(t)}else{s=lu(o)}iu(s,()=>du(t,i));const r=du(t,i);nu(i,r,e);if(i.parent!=i){o=i.frameElement;i=i.parent;if(!o){return}}else{i=null}}}function eu(t){const e=lu(t);iu(e,()=>new Jd(t))}Object.assign(Zd,{scrollViewportToShowTarget:tu,scrollAncestorsToShowTarget:eu});function nu(t,e,n){const i=e.clone().moveBy(0,n);const o=e.clone().moveBy(0,-n);const s=new Jd(t).excludeScrollbarsAndBorders();const r=[o,i];if(!r.every(t=>s.contains(t))){let{scrollX:r,scrollY:a}=t;if(su(o,s)){a-=s.top-e.top+n}else if(ou(i,s)){a+=e.bottom-s.bottom+n}if(ru(e,s)){r-=s.left-e.left+n}else if(au(e,s)){r+=e.right-s.right+n}t.scrollTo(r,a)}}function iu(t,e){const n=cu(t);let i,o;while(t!=n.document.body){o=e();i=new Jd(t).excludeScrollbarsAndBorders();if(!i.contains(o)){if(su(o,i)){t.scrollTop-=i.top-o.top}else if(ou(o,i)){t.scrollTop+=o.bottom-i.bottom}if(ru(o,i)){t.scrollLeft-=i.left-o.left}else if(au(o,i)){t.scrollLeft+=o.right-i.right}}t=t.parentNode}}function ou(t,e){return t.bottom>e.bottom}function su(t,e){return t.top<e.top}function ru(t,e){return t.left<e.left}function au(t,e){return t.right>e.right}function cu(t){if(qd(t)){return t.startContainer.ownerDocument.defaultView}else{return t.ownerDocument.defaultView}}function lu(t){if(qd(t)){let e=t.commonAncestorContainer;if(Sc(e)){e=e.parentNode}return e}else{return t.parentNode}}function du(t,e){const n=cu(t);const i=new Jd(t);if(n===e){return i}else{let t=n;while(t!=e){const e=t.frameElement;const n=new Jd(e).excludeScrollbarsAndBorders();i.moveBy(n.left,n.top);t=t.parent}}return i}class uu{constructor(){this.document=new Ha;this.domConverter=new ll;this.domRoots=new Map;this.set(\"isRenderingInProgress\",false);this._renderer=new Jc(this.domConverter,this.document.selection);this._renderer.bind(\"isFocused\").to(this.document);this._initialDomRootAttributes=new WeakMap;this._observers=new Map;this._ongoingChange=false;this._postFixersInProgress=false;this._renderingDisabled=false;this._hasChangedSinceTheLastRendering=false;this._writer=new wc(this.document);this.addObserver(_d);this.addObserver(Ud);this.addObserver(Wd);this.addObserver(xd);this.addObserver(Fd);this.addObserver($d);if(Xa.isAndroid){this.addObserver(Yd)}zc(this);fc(this);this.on(\"render\",()=>{this._render();this.document.fire(\"layoutChanged\");this._hasChangedSinceTheLastRendering=false});this.listenTo(this.document.selection,\"change\",()=>{this._hasChangedSinceTheLastRendering=true})}attachDomRoot(t,e=\"main\"){const n=this.document.getRoot(e);n._name=t.tagName.toLowerCase();const i={};for(const{name:e,value:o}of Array.from(t.attributes)){i[e]=o;if(e===\"class\"){this._writer.addClass(o.split(\" \"),n)}else{this._writer.setAttribute(e,o,n)}}this._initialDomRootAttributes.set(t,i);const o=()=>{this._writer.setAttribute(\"contenteditable\",!n.isReadOnly,n);if(n.isReadOnly){this._writer.addClass(\"ck-read-only\",n)}else{this._writer.removeClass(\"ck-read-only\",n)}};o();this.domRoots.set(e,t);this.domConverter.bindElements(t,n);this._renderer.markToSync(\"children\",n);this._renderer.markToSync(\"attributes\",n);this._renderer.domDocuments.add(t.ownerDocument);n.on(\"change:children\",(t,e)=>this._renderer.markToSync(\"children\",e));n.on(\"change:attributes\",(t,e)=>this._renderer.markToSync(\"attributes\",e));n.on(\"change:text\",(t,e)=>this._renderer.markToSync(\"text\",e));n.on(\"change:isReadOnly\",()=>this.change(o));n.on(\"change\",()=>{this._hasChangedSinceTheLastRendering=true});for(const n of this._observers.values()){n.observe(t,e)}}detachDomRoot(t){const e=this.domRoots.get(t);Array.from(e.attributes).forEach(({name:t})=>e.removeAttribute(t));const n=this._initialDomRootAttributes.get(e);for(const t in n){e.setAttribute(t,n[t])}this.domRoots.delete(t);this.domConverter.unbindDomElement(e)}getDomRoot(t=\"main\"){return this.domRoots.get(t)}addObserver(t){let e=this._observers.get(t);if(e){return e}e=new t(this);this._observers.set(t,e);for(const[t,n]of this.domRoots){e.observe(n,t)}e.enable();return e}getObserver(t){return this._observers.get(t)}disableObservers(){for(const t of this._observers.values()){t.disable()}}enableObservers(){for(const t of this._observers.values()){t.enable()}}scrollToTheSelection(){const t=this.document.selection.getFirstRange();if(t){tu({target:this.domConverter.viewRangeToDom(t),viewportOffset:20})}}focus(){if(!this.document.isFocused){const t=this.document.selection.editableElement;if(t){this.domConverter.focus(t);this.forceRender()}else{}}}change(t){if(this.isRenderingInProgress||this._postFixersInProgress){throw new Qs[\"b\"](\"cannot-change-view-tree: \"+\"Attempting to make changes to the view when it is in an incorrect state: rendering or post-fixers are in progress. \"+\"This may cause some unexpected behavior and inconsistency between the DOM and the view.\",this)}try{if(this._ongoingChange){return t(this._writer)}this._ongoingChange=true;const e=t(this._writer);this._ongoingChange=false;if(!this._renderingDisabled&&this._hasChangedSinceTheLastRendering){this._postFixersInProgress=true;this.document._callPostFixers(this._writer);this._postFixersInProgress=false;this.fire(\"render\")}return e}catch(t){Qs[\"b\"].rethrowUnexpectedError(t,this)}}forceRender(){this._hasChangedSinceTheLastRendering=true;this.change(()=>{})}destroy(){for(const t of this._observers.values()){t.destroy()}this.document.destroy();this.stopListening()}createPositionAt(t,e){return Ra._createAt(t,e)}createPositionAfter(t){return Ra._createAfter(t)}createPositionBefore(t){return Ra._createBefore(t)}createRange(t,e){return new Da(t,e)}createRangeOn(t){return Da._createOn(t)}createRangeIn(t){return Da._createIn(t)}createSelection(t,e,n){return new Ba(t,e,n)}_disableRendering(t){this._renderingDisabled=t;if(t==false){this.change(()=>{})}}_render(){this.isRenderingInProgress=true;this.disableObservers();this._renderer.render();this.enableObservers();this.isRenderingInProgress=false}}vr(uu,_a);function hu(t){if(L(t)){return Er(t)}else{return new Map(t)}}class fu{constructor(t){this.parent=null;this._attrs=hu(t)}get index(){let t;if(!this.parent){return null}if((t=this.parent.getChildIndex(this))===null){throw new Qs[\"b\"](\"model-node-not-found-in-parent: The node's parent does not contain this node.\",this)}return t}get startOffset(){let t;if(!this.parent){return null}if((t=this.parent.getChildStartOffset(this))===null){throw new Qs[\"b\"](\"model-node-not-found-in-parent: The node's parent does not contain this node.\",this)}return t}get offsetSize(){return 1}get endOffset(){if(!this.parent){return null}return this.startOffset+this.offsetSize}get nextSibling(){const t=this.index;return t!==null&&this.parent.getChild(t+1)||null}get previousSibling(){const t=this.index;return t!==null&&this.parent.getChild(t-1)||null}get root(){let t=this;while(t.parent){t=t.parent}return t}get document(){if(this.root==this){return null}return this.root.document||null}getPath(){const t=[];let e=this;while(e.parent){t.unshift(e.startOffset);e=e.parent}return t}getAncestors(t={includeSelf:false,parentFirst:false}){const e=[];let n=t.includeSelf?this:this.parent;while(n){e[t.parentFirst?\"push\":\"unshift\"](n);n=n.parent}return e}getCommonAncestor(t,e={}){const n=this.getAncestors(e);const i=t.getAncestors(e);let o=0;while(n[o]==i[o]&&n[o]){o++}return o===0?null:n[o-1]}isBefore(t){if(this==t){return false}if(this.root!==t.root){return false}const e=this.getPath();const n=t.getPath();const i=kr(e,n);switch(i){case\"prefix\":return true;case\"extension\":return false;default:return e[i]<n[i]}}isAfter(t){if(this==t){return false}if(this.root!==t.root){return false}return!this.isBefore(t)}hasAttribute(t){return this._attrs.has(t)}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const t={};if(this._attrs.size){t.attributes=Array.from(this._attrs).reduce((t,e)=>{t[e[0]]=e[1];return t},{})}return t}is(t){return t==\"node\"||t==\"model:node\"}_clone(){return new fu(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(t,e){this._attrs.set(t,e)}_setAttributesTo(t){this._attrs=hu(t)}_removeAttribute(t){return this._attrs.delete(t)}_clearAttributes(){this._attrs.clear()}}class mu extends fu{constructor(t,e){super(e);this._data=t||\"\"}get offsetSize(){return this.data.length}get data(){return this._data}is(t){return t==\"text\"||t==\"model:text\"||super.is(t)}toJSON(){const t=super.toJSON();t.data=this.data;return t}_clone(){return new mu(this.data,this.getAttributes())}static fromJSON(t){return new mu(t.data,t.attributes)}}class gu{constructor(t,e,n){this.textNode=t;if(e<0||e>t.offsetSize){throw new Qs[\"b\"](\"model-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.\",this)}if(n<0||e+n>t.offsetSize){throw new Qs[\"b\"](\"model-textproxy-wrong-length: Given length value is incorrect.\",this)}this.data=t.data.substring(e,e+n);this.offsetInText=e}get startOffset(){return this.textNode.startOffset!==null?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return this.startOffset!==null?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}is(t){return t==\"textProxy\"||t==\"model:textProxy\"}getPath(){const t=this.textNode.getPath();if(t.length>0){t[t.length-1]+=this.offsetInText}return t}getAncestors(t={includeSelf:false,parentFirst:false}){const e=[];let n=t.includeSelf?this:this.parent;while(n){e[t.parentFirst?\"push\":\"unshift\"](n);n=n.parent}return e}hasAttribute(t){return this.textNode.hasAttribute(t)}getAttribute(t){return this.textNode.getAttribute(t)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}class pu{constructor(t){this._nodes=[];if(t){this._insertNodes(0,t)}}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((t,e)=>t+e.offsetSize,0)}getNode(t){return this._nodes[t]||null}getNodeIndex(t){const e=this._nodes.indexOf(t);return e==-1?null:e}getNodeStartOffset(t){const e=this.getNodeIndex(t);return e===null?null:this._nodes.slice(0,e).reduce((t,e)=>t+e.offsetSize,0)}indexToOffset(t){if(t==this._nodes.length){return this.maxOffset}const e=this._nodes[t];if(!e){throw new Qs[\"b\"](\"model-nodelist-index-out-of-bounds: Given index cannot be found in the node list.\",this)}return this.getNodeStartOffset(e)}offsetToIndex(t){let e=0;for(const n of this._nodes){if(t>=e&&t<e+n.offsetSize){return this.getNodeIndex(n)}e+=n.offsetSize}if(e!=t){throw new Qs[\"b\"](\"model-nodelist-offset-out-of-bounds: Given offset cannot be found in the node list.\",this,{offset:t,nodeList:this})}return this.length}_insertNodes(t,e){for(const t of e){if(!(t instanceof fu)){throw new Qs[\"b\"](\"model-nodelist-insertNodes-not-node: Trying to insert an object which is not a Node instance.\",this)}}this._nodes.splice(t,0,...e)}_removeNodes(t,e=1){return this._nodes.splice(t,e)}toJSON(){return this._nodes.map(t=>t.toJSON())}}class bu extends fu{constructor(t,e,n){super(e);this.name=t;this._children=new pu;if(n){this._insertChild(0,n)}}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return this.childCount===0}is(t,e=null){const n=t.replace(/^model:/,\"\");if(!e){return n==\"element\"||n==this.name||super.is(t)}else{return n==\"element\"&&e==this.name}}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}offsetToIndex(t){return this._children.offsetToIndex(t)}getNodeByPath(t){let e=this;for(const n of t){e=e.getChild(e.offsetToIndex(n))}return e}toJSON(){const t=super.toJSON();t.name=this.name;if(this._children.length>0){t.children=[];for(const e of this._children){t.children.push(e.toJSON())}}return t}_clone(t=false){const e=t?Array.from(this._children).map(t=>t._clone(true)):null;return new bu(this.name,this.getAttributes(),e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=wu(e);for(const t of n){if(t.parent!==null){t._remove()}t.parent=this}this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n){t.parent=null}return n}static fromJSON(t){let e=null;if(t.children){e=[];for(const n of t.children){if(n.name){e.push(bu.fromJSON(n))}else{e.push(mu.fromJSON(n))}}}return new bu(t.name,t.attributes,e)}}function wu(t){if(typeof t==\"string\"){return[new mu(t)]}if(!Pr(t)){t=[t]}return Array.from(t).map(t=>{if(typeof t==\"string\"){return new mu(t)}if(t instanceof gu){return new mu(t.data,t.getAttributes())}return t})}class _u{constructor(t={}){if(!t.boundaries&&!t.startPosition){throw new Qs[\"b\"](\"model-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.\",null)}const e=t.direction||\"forward\";if(e!=\"forward\"&&e!=\"backward\"){throw new Qs[\"b\"](\"model-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.\",t,{direction:e})}this.direction=e;this.boundaries=t.boundaries||null;if(t.startPosition){this.position=t.startPosition.clone()}else{this.position=yu._createAt(this.boundaries[this.direction==\"backward\"?\"end\":\"start\"])}this.position.stickiness=\"toNone\";this.singleCharacters=!!t.singleCharacters;this.shallow=!!t.shallow;this.ignoreElementEnd=!!t.ignoreElementEnd;this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null;this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null;this._visitedParent=this.position.parent}[Symbol.iterator](){return this}skip(t){let e,n,i,o;do{i=this.position;o=this._visitedParent;({done:e,value:n}=this.next())}while(!e&&t(n));if(!e){this.position=i;this._visitedParent=o}}next(){if(this.direction==\"forward\"){return this._next()}else{return this._previous()}}_next(){const t=this.position;const e=this.position.clone();const n=this._visitedParent;if(n.parent===null&&e.offset===n.maxOffset){return{done:true}}if(n===this._boundaryEndParent&&e.offset==this.boundaries.end.offset){return{done:true}}const i=e.textNode?e.textNode:e.nodeAfter;if(i instanceof bu){if(!this.shallow){e.path.push(0);this._visitedParent=i}else{e.offset++}this.position=e;return vu(\"elementStart\",i,t,e,1)}else if(i instanceof mu){let o;if(this.singleCharacters){o=1}else{let t=i.endOffset;if(this._boundaryEndParent==n&&this.boundaries.end.offset<t){t=this.boundaries.end.offset}o=t-e.offset}const s=e.offset-i.startOffset;const r=new gu(i,s,o);e.offset+=o;this.position=e;return vu(\"text\",r,t,e,o)}else{e.path.pop();e.offset++;this.position=e;this._visitedParent=n.parent;if(this.ignoreElementEnd){return this._next()}else{return vu(\"elementEnd\",n,t,e)}}}_previous(){const t=this.position;const e=this.position.clone();const n=this._visitedParent;if(n.parent===null&&e.offset===0){return{done:true}}if(n==this._boundaryStartParent&&e.offset==this.boundaries.start.offset){return{done:true}}const i=e.textNode?e.textNode:e.nodeBefore;if(i instanceof bu){e.offset--;if(!this.shallow){e.path.push(i.maxOffset);this.position=e;this._visitedParent=i;if(this.ignoreElementEnd){return this._previous()}else{return vu(\"elementEnd\",i,t,e)}}else{this.position=e;return vu(\"elementStart\",i,t,e,1)}}else if(i instanceof mu){let o;if(this.singleCharacters){o=1}else{let t=i.startOffset;if(this._boundaryStartParent==n&&this.boundaries.start.offset>t){t=this.boundaries.start.offset}o=e.offset-t}const s=e.offset-i.startOffset;const r=new gu(i,s-o,o);e.offset-=o;this.position=e;return vu(\"text\",r,t,e,o)}else{e.path.pop();this.position=e;this._visitedParent=n.parent;return vu(\"elementStart\",n,t,e,1)}}}function vu(t,e,n,i,o){return{done:false,value:{type:t,item:e,previousPosition:n,nextPosition:i,length:o}}}function ku(t){var e=t==null?0:t.length;return e?t[e-1]:undefined}var xu=ku;class yu{constructor(t,e,n=\"toNone\"){if(!t.is(\"element\")&&!t.is(\"documentFragment\")){throw new Qs[\"b\"](\"model-position-root-invalid: Position root invalid.\",t)}if(!(e instanceof Array)||e.length===0){throw new Qs[\"b\"](\"model-position-path-incorrect-format: Position path must be an array with at least one item.\",t,{path:e})}e=t.getPath().concat(e);t=t.root;this.root=t;this.path=e;this.stickiness=n}get offset(){return xu(this.path)}set offset(t){this.path[this.path.length-1]=t}get parent(){let t=this.root;for(let e=0;e<this.path.length-1;e++){t=t.getChild(t.offsetToIndex(this.path[e]));if(!t){throw new Qs[\"b\"](\"model-position-path-incorrect: The position's path is incorrect.\",this,{position:this})}}if(t.is(\"text\")){throw new Qs[\"b\"](\"model-position-path-incorrect: The position's path is incorrect.\",this,{position:this})}return t}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){const t=this.parent.getChild(this.index);return t instanceof mu&&t.startOffset<this.offset?t:null}get nodeAfter(){return this.textNode===null?this.parent.getChild(this.index):null}get nodeBefore(){return this.textNode===null?this.parent.getChild(this.index-1):null}get isAtStart(){return this.offset===0}get isAtEnd(){return this.offset==this.parent.maxOffset}compareWith(t){if(this.root!=t.root){return\"different\"}const e=kr(this.path,t.path);switch(e){case\"same\":return\"same\";case\"prefix\":return\"before\";case\"extension\":return\"after\";default:return this.path[e]<t.path[e]?\"before\":\"after\"}}getLastMatchingPosition(t,e={}){e.startPosition=this;const n=new _u(e);n.skip(t);return n.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){if(this.parent.is(\"documentFragment\")){return[this.parent]}else{return this.parent.getAncestors({includeSelf:true})}}getCommonPath(t){if(this.root!=t.root){return[]}const e=kr(this.path,t.path);const n=typeof e==\"string\"?Math.min(this.path.length,t.path.length):e;return this.path.slice(0,n)}getCommonAncestor(t){const e=this.getAncestors();const n=t.getAncestors();let i=0;while(e[i]==n[i]&&e[i]){i++}return i===0?null:e[i-1]}getShiftedBy(t){const e=this.clone();const n=e.offset+t;e.offset=n<0?0:n;return e}isAfter(t){return this.compareWith(t)==\"after\"}isBefore(t){return this.compareWith(t)==\"before\"}isEqual(t){return this.compareWith(t)==\"same\"}isTouching(t){let e=null;let n=null;const i=this.compareWith(t);switch(i){case\"same\":return true;case\"before\":e=yu._createAt(this);n=yu._createAt(t);break;case\"after\":e=yu._createAt(t);n=yu._createAt(this);break;default:return false}let o=e.parent;while(e.path.length+n.path.length){if(e.isEqual(n)){return true}if(e.path.length>n.path.length){if(e.offset!==o.maxOffset){return false}e.path=e.path.slice(0,-1);o=o.parent;e.offset++}else{if(n.offset!==0){return false}n.path=n.path.slice(0,-1)}}}is(t){return t==\"position\"||t==\"model:position\"}hasSameParentAs(t){if(this.root!==t.root){return false}const e=this.getParentPath();const n=t.getParentPath();return kr(e,n)==\"same\"}getTransformedByOperation(t){let e;switch(t.type){case\"insert\":e=this._getTransformedByInsertOperation(t);break;case\"move\":case\"remove\":case\"reinsert\":e=this._getTransformedByMoveOperation(t);break;case\"split\":e=this._getTransformedBySplitOperation(t);break;case\"merge\":e=this._getTransformedByMergeOperation(t);break;default:e=yu._createAt(this);break}return e}_getTransformedByInsertOperation(t){return this._getTransformedByInsertion(t.position,t.howMany)}_getTransformedByMoveOperation(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}_getTransformedBySplitOperation(t){const e=t.movedRange;const n=e.containsPosition(this)||e.start.isEqual(this)&&this.stickiness==\"toNext\";if(n){return this._getCombined(t.splitPosition,t.moveTargetPosition)}else{if(t.graveyardPosition){return this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1)}else{return this._getTransformedByInsertion(t.insertionPosition,1)}}}_getTransformedByMergeOperation(t){const e=t.movedRange;const n=e.containsPosition(this)||e.start.isEqual(this);let i;if(n){i=this._getCombined(t.sourcePosition,t.targetPosition);if(t.sourcePosition.isBefore(t.targetPosition)){i=i._getTransformedByDeletion(t.deletionPosition,1)}}else if(this.isEqual(t.deletionPosition)){i=yu._createAt(t.deletionPosition)}else{i=this._getTransformedByMove(t.deletionPosition,t.graveyardPosition,1)}return i}_getTransformedByDeletion(t,e){const n=yu._createAt(this);if(this.root!=t.root){return n}if(kr(t.getParentPath(),this.getParentPath())==\"same\"){if(t.offset<this.offset){if(t.offset+e>this.offset){return null}else{n.offset-=e}}}else if(kr(t.getParentPath(),this.getParentPath())==\"prefix\"){const i=t.path.length-1;if(t.offset<=this.path[i]){if(t.offset+e>this.path[i]){return null}else{n.path[i]-=e}}}return n}_getTransformedByInsertion(t,e){const n=yu._createAt(this);if(this.root!=t.root){return n}if(kr(t.getParentPath(),this.getParentPath())==\"same\"){if(t.offset<this.offset||t.offset==this.offset&&this.stickiness!=\"toPrevious\"){n.offset+=e}}else if(kr(t.getParentPath(),this.getParentPath())==\"prefix\"){const i=t.path.length-1;if(t.offset<=this.path[i]){n.path[i]+=e}}return n}_getTransformedByMove(t,e,n){e=e._getTransformedByDeletion(t,n);if(t.isEqual(e)){return yu._createAt(this)}const i=this._getTransformedByDeletion(t,n);const o=i===null||t.isEqual(this)&&this.stickiness==\"toNext\"||t.getShiftedBy(n).isEqual(this)&&this.stickiness==\"toPrevious\";if(o){return this._getCombined(t,e)}else{return i._getTransformedByInsertion(e,n)}}_getCombined(t,e){const n=t.path.length-1;const i=yu._createAt(e);i.stickiness=this.stickiness;i.offset=i.offset+this.path[n]-t.offset;i.path=i.path.concat(this.path.slice(n+1));return i}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(t,e,n=\"toNone\"){if(t instanceof yu){return new yu(t.root,t.path,t.stickiness)}else{const i=t;if(e==\"end\"){e=i.maxOffset}else if(e==\"before\"){return this._createBefore(i,n)}else if(e==\"after\"){return this._createAfter(i,n)}else if(e!==0&&!e){throw new Qs[\"b\"](\"model-createPositionAt-offset-required: \"+\"Model#createPositionAt() requires the offset when the first parameter is a model item.\",[this,t])}if(!i.is(\"element\")&&!i.is(\"documentFragment\")){throw new Qs[\"b\"](\"model-position-parent-incorrect: Position parent have to be a element or document fragment.\",[this,t])}const o=i.getPath();o.push(e);return new this(i.root,o,n)}}static _createAfter(t,e){if(!t.parent){throw new Qs[\"b\"](\"model-position-after-root: You cannot make a position after root.\",[this,t],{root:t})}return this._createAt(t.parent,t.endOffset,e)}static _createBefore(t,e){if(!t.parent){throw new Qs[\"b\"](\"model-position-before-root: You cannot make a position before root.\",t,{root:t})}return this._createAt(t.parent,t.startOffset,e)}static fromJSON(t,e){if(t.root===\"$graveyard\"){const n=new yu(e.graveyard,t.path);n.stickiness=t.stickiness;return n}if(!e.getRoot(t.root)){throw new Qs[\"b\"](\"model-position-fromjson-no-root: Cannot create position for document. Root with specified name does not exist.\",e,{rootName:t.root})}return new yu(e.getRoot(t.root),t.path,t.stickiness)}}class Au{constructor(t,e=null){this.start=yu._createAt(t);this.end=e?yu._createAt(e):yu._createAt(t);this.start.stickiness=this.isCollapsed?\"toNone\":\"toNext\";this.end.stickiness=this.isCollapsed?\"toNone\":\"toPrevious\"}*[Symbol.iterator](){yield*new _u({boundaries:this,ignoreElementEnd:true})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){const t=this.start.getParentPath();const e=this.end.getParentPath();return kr(t,e)==\"same\"}get root(){return this.start.root}containsPosition(t){return t.isAfter(this.start)&&t.isBefore(this.end)}containsRange(t,e=false){if(t.isCollapsed){e=false}const n=this.containsPosition(t.start)||e&&this.start.isEqual(t.start);const i=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return n&&i}containsItem(t){const e=yu._createBefore(t);return this.containsPosition(e)||this.start.isEqual(e)}is(t){return t==\"range\"||t==\"model:range\"}isEqual(t){return this.start.isEqual(t.start)&&this.end.isEqual(t.end)}isIntersecting(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}getDifference(t){const e=[];if(this.isIntersecting(t)){if(this.containsPosition(t.start)){e.push(new Au(this.start,t.start))}if(this.containsPosition(t.end)){e.push(new Au(t.end,this.end))}}else{e.push(new Au(this.start,this.end))}return e}getIntersection(t){if(this.isIntersecting(t)){let e=this.start;let n=this.end;if(this.containsPosition(t.start)){e=t.start}if(this.containsPosition(t.end)){n=t.end}return new Au(e,n)}return null}getMinimalFlatRanges(){const t=[];const e=this.start.getCommonPath(this.end).length;const n=yu._createAt(this.start);let i=n.parent;while(n.path.length>e+1){const e=i.maxOffset-n.offset;if(e!==0){t.push(new Au(n,n.getShiftedBy(e)))}n.path=n.path.slice(0,-1);n.offset++;i=i.parent}while(n.path.length<=this.end.path.length){const e=this.end.path[n.path.length-1];const i=e-n.offset;if(i!==0){t.push(new Au(n,n.getShiftedBy(i)))}n.offset=e;n.path.push(0)}return t}getWalker(t={}){t.boundaries=this;return new _u(t)}*getItems(t={}){t.boundaries=this;t.ignoreElementEnd=true;const e=new _u(t);for(const t of e){yield t.item}}*getPositions(t={}){t.boundaries=this;const e=new _u(t);yield e.position;for(const t of e){yield t.nextPosition}}getTransformedByOperation(t){switch(t.type){case\"insert\":return this._getTransformedByInsertOperation(t);case\"move\":case\"remove\":case\"reinsert\":return this._getTransformedByMoveOperation(t);case\"split\":return[this._getTransformedBySplitOperation(t)];case\"merge\":return[this._getTransformedByMergeOperation(t)]}return[new Au(this.start,this.end)]}getTransformedByOperations(t){const e=[new Au(this.start,this.end)];for(const n of t){for(let t=0;t<e.length;t++){const i=e[t].getTransformedByOperation(n);e.splice(t,1,...i);t+=i.length-1}}for(let t=0;t<e.length;t++){const n=e[t];for(let i=t+1;i<e.length;i++){const t=e[i];if(n.containsRange(t)||t.containsRange(n)||n.isEqual(t)){e.splice(i,1)}}}return e}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(t,e=false){return this._getTransformedByInsertion(t.position,t.howMany,e)}_getTransformedByMoveOperation(t,e=false){const n=t.sourcePosition;const i=t.howMany;const o=t.targetPosition;return this._getTransformedByMove(n,o,i,e)}_getTransformedBySplitOperation(t){const e=this.start._getTransformedBySplitOperation(t);let n=this.end._getTransformedBySplitOperation(t);if(this.end.isEqual(t.insertionPosition)){n=this.end.getShiftedBy(1)}if(e.root!=n.root){n=this.end.getShiftedBy(-1)}return new Au(e,n)}_getTransformedByMergeOperation(t){if(this.start.isEqual(t.targetPosition)&&this.end.isEqual(t.deletionPosition)){return new Au(this.start)}let e=this.start._getTransformedByMergeOperation(t);let n=this.end._getTransformedByMergeOperation(t);if(e.root!=n.root){n=this.end.getShiftedBy(-1)}if(e.isAfter(n)){if(t.sourcePosition.isBefore(t.targetPosition)){e=yu._createAt(n);e.offset=0}else{if(!t.deletionPosition.isEqual(e)){n=t.deletionPosition}e=t.targetPosition}return new Au(e,n)}return new Au(e,n)}_getTransformedByInsertion(t,e,n=false){if(n&&this.containsPosition(t)){return[new Au(this.start,t),new Au(t.getShiftedBy(e),this.end._getTransformedByInsertion(t,e))]}else{const n=new Au(this.start,this.end);n.start=n.start._getTransformedByInsertion(t,e);n.end=n.end._getTransformedByInsertion(t,e);return[n]}}_getTransformedByMove(t,e,n,i=false){if(this.isCollapsed){const i=this.start._getTransformedByMove(t,e,n);return[new Au(i)]}const o=Au._createFromPositionAndShift(t,n);const s=e._getTransformedByDeletion(t,n);if(this.containsPosition(e)&&!i){if(o.containsPosition(this.start)||o.containsPosition(this.end)){const i=this.start._getTransformedByMove(t,e,n);const o=this.end._getTransformedByMove(t,e,n);return[new Au(i,o)]}}let r;const a=this.getDifference(o);let c=null;const l=this.getIntersection(o);if(a.length==1){c=new Au(a[0].start._getTransformedByDeletion(t,n),a[0].end._getTransformedByDeletion(t,n))}else if(a.length==2){c=new Au(this.start,this.end._getTransformedByDeletion(t,n))}if(c){r=c._getTransformedByInsertion(s,n,l!==null||i)}else{r=[]}if(l){const t=new Au(l.start._getCombined(o.start,s),l.end._getCombined(o.start,s));if(r.length==2){r.splice(1,0,t)}else{r.push(t)}}return r}_getTransformedByDeletion(t,e){let n=this.start._getTransformedByDeletion(t,e);let i=this.end._getTransformedByDeletion(t,e);if(n==null&&i==null){return null}if(n==null){n=t}if(i==null){i=t}return new Au(n,i)}static _createFromPositionAndShift(t,e){const n=t;const i=t.getShiftedBy(e);return e>0?new this(n,i):new this(i,n)}static _createIn(t){return new this(yu._createAt(t,0),yu._createAt(t,t.maxOffset))}static _createOn(t){return this._createFromPositionAndShift(yu._createBefore(t),t.offsetSize)}static _createFromRanges(t){if(t.length===0){throw new Qs[\"b\"](\"range-create-from-ranges-empty-array: At least one range has to be passed.\",null)}else if(t.length==1){return t[0].clone()}const e=t[0];t.sort((t,e)=>t.start.isAfter(e.start)?1:-1);const n=t.indexOf(e);const i=new this(e.start,e.end);if(n>0){for(let e=n-1;true;e++){if(t[e].end.isEqual(i.start)){i.start=yu._createAt(t[e].start)}else{break}}}for(let e=n+1;e<t.length;e++){if(t[e].start.isEqual(i.end)){i.end=yu._createAt(t[e].end)}else{break}}return i}static fromJSON(t,e){return new this(yu.fromJSON(t.start,e),yu.fromJSON(t.end,e))}}class Cu{constructor(){this._modelToViewMapping=new WeakMap;this._viewToModelMapping=new WeakMap;this._viewToModelLengthCallbacks=new Map;this._markerNameToElements=new Map;this._elementToMarkerNames=new Map;this._unboundMarkerNames=new Set;this.on(\"modelToViewPosition\",(t,e)=>{if(e.viewPosition){return}const n=this._modelToViewMapping.get(e.modelPosition.parent);e.viewPosition=this._findPositionIn(n,e.modelPosition.offset)},{priority:\"low\"});this.on(\"viewToModelPosition\",(t,e)=>{if(e.modelPosition){return}const n=this.findMappedViewAncestor(e.viewPosition);const i=this._viewToModelMapping.get(n);const o=this._toModelOffset(e.viewPosition.parent,e.viewPosition.offset,n);e.modelPosition=yu._createAt(i,o)},{priority:\"low\"})}bindElements(t,e){this._modelToViewMapping.set(t,e);this._viewToModelMapping.set(e,t)}unbindViewElement(t){const e=this.toModelElement(t);this._viewToModelMapping.delete(t);if(this._elementToMarkerNames.has(t)){for(const e of this._elementToMarkerNames.get(t)){this._unboundMarkerNames.add(e)}}if(this._modelToViewMapping.get(e)==t){this._modelToViewMapping.delete(e)}}unbindModelElement(t){const e=this.toViewElement(t);this._modelToViewMapping.delete(t);if(this._viewToModelMapping.get(e)==t){this._viewToModelMapping.delete(e)}}bindElementToMarker(t,e){const n=this._markerNameToElements.get(e)||new Set;n.add(t);const i=this._elementToMarkerNames.get(t)||new Set;i.add(e);this._markerNameToElements.set(e,n);this._elementToMarkerNames.set(t,i)}unbindElementFromMarkerName(t,e){const n=this._markerNameToElements.get(e);if(n){n.delete(t);if(n.size==0){this._markerNameToElements.delete(e)}}const i=this._elementToMarkerNames.get(t);if(i){i.delete(e);if(i.size==0){this._elementToMarkerNames.delete(t)}}}flushUnboundMarkerNames(){const t=Array.from(this._unboundMarkerNames);this._unboundMarkerNames.clear();return t}clearBindings(){this._modelToViewMapping=new WeakMap;this._viewToModelMapping=new WeakMap;this._markerNameToElements=new Map;this._elementToMarkerNames=new Map;this._unboundMarkerNames=new Set}toModelElement(t){return this._viewToModelMapping.get(t)}toViewElement(t){return this._modelToViewMapping.get(t)}toModelRange(t){return new Au(this.toModelPosition(t.start),this.toModelPosition(t.end))}toViewRange(t){return new Da(this.toViewPosition(t.start),this.toViewPosition(t.end))}toModelPosition(t){const e={viewPosition:t,mapper:this};this.fire(\"viewToModelPosition\",e);return e.modelPosition}toViewPosition(t,e={isPhantom:false}){const n={modelPosition:t,mapper:this,isPhantom:e.isPhantom};this.fire(\"modelToViewPosition\",n);return n.viewPosition}markerNameToElements(t){const e=this._markerNameToElements.get(t);if(!e){return null}const n=new Set;for(const t of e){if(t.is(\"attributeElement\")){for(const e of t.getElementsWithSameId()){n.add(e)}}else{n.add(t)}}return n}registerViewToModelLength(t,e){this._viewToModelLengthCallbacks.set(t,e)}findMappedViewAncestor(t){let e=t.parent;while(!this._viewToModelMapping.has(e)){e=e.parent}return e}_toModelOffset(t,e,n){if(n!=t){const i=this._toModelOffset(t.parent,t.index,n);const o=this._toModelOffset(t,e,t);return i+o}if(t.is(\"text\")){return e}let i=0;for(let n=0;n<e;n++){i+=this.getModelLength(t.getChild(n))}return i}getModelLength(t){if(this._viewToModelLengthCallbacks.get(t.name)){const e=this._viewToModelLengthCallbacks.get(t.name);return e(t)}else if(this._viewToModelMapping.has(t)){return 1}else if(t.is(\"text\")){return t.data.length}else if(t.is(\"uiElement\")){return 0}else{let e=0;for(const n of t.getChildren()){e+=this.getModelLength(n)}return e}}_findPositionIn(t,e){let n;let i=0;let o=0;let s=0;if(t.is(\"text\")){return new Ra(t,e)}while(o<e){n=t.getChild(s);i=this.getModelLength(n);o+=i;s++}if(o==e){return this._moveViewPositionToTextNode(new Ra(t,s))}else{return this._findPositionIn(n,e-(o-i))}}_moveViewPositionToTextNode(t){const e=t.nodeBefore;const n=t.nodeAfter;if(e instanceof Tr){return new Ra(e,e.data.length)}else if(n instanceof Tr){return new Ra(n,0)}return t}}vr(Cu,lr);class Tu{constructor(){this._consumable=new Map;this._textProxyRegistry=new Map}add(t,e){e=Mu(e);if(t instanceof gu){t=this._getSymbolForTextProxy(t)}if(!this._consumable.has(t)){this._consumable.set(t,new Map)}this._consumable.get(t).set(e,true)}consume(t,e){e=Mu(e);if(t instanceof gu){t=this._getSymbolForTextProxy(t)}if(this.test(t,e)){this._consumable.get(t).set(e,false);return true}else{return false}}test(t,e){e=Mu(e);if(t instanceof gu){t=this._getSymbolForTextProxy(t)}const n=this._consumable.get(t);if(n===undefined){return null}const i=n.get(e);if(i===undefined){return null}return i}revert(t,e){e=Mu(e);if(t instanceof gu){t=this._getSymbolForTextProxy(t)}const n=this.test(t,e);if(n===false){this._consumable.get(t).set(e,true);return true}else if(n===true){return false}return null}_getSymbolForTextProxy(t){let e=null;const n=this._textProxyRegistry.get(t.startOffset);if(n){const i=n.get(t.endOffset);if(i){e=i.get(t.parent)}}if(!e){e=this._addSymbolForTextProxy(t.startOffset,t.endOffset,t.parent)}return e}_addSymbolForTextProxy(t,e,n){const i=Symbol(\"textProxySymbol\");let o,s;o=this._textProxyRegistry.get(t);if(!o){o=new Map;this._textProxyRegistry.set(t,o)}s=o.get(e);if(!s){s=new Map;o.set(e,s)}s.set(n,i);return i}}function Mu(t){const e=t.split(\":\");return e.length>1?e[0]+\":\"+e[1]:e[0]}class Eu{constructor(t){this.conversionApi=ma({dispatcher:this},t)}convertChanges(t,e,n){for(const e of t.getMarkersToRemove()){this.convertMarkerRemove(e.name,e.range,n)}for(const e of t.getChanges()){if(e.type==\"insert\"){this.convertInsert(Au._createFromPositionAndShift(e.position,e.length),n)}else if(e.type==\"remove\"){this.convertRemove(e.position,e.length,e.name,n)}else{this.convertAttribute(e.range,e.attributeKey,e.attributeOldValue,e.attributeNewValue,n)}}for(const t of this.conversionApi.mapper.flushUnboundMarkerNames()){const i=e.get(t).getRange();this.convertMarkerRemove(t,i,n);this.convertMarkerAdd(t,i,n)}for(const e of t.getMarkersToAdd()){this.convertMarkerAdd(e.name,e.range,n)}}convertInsert(t,e){this.conversionApi.writer=e;this.conversionApi.consumable=this._createInsertConsumable(t);for(const e of t){const t=e.item;const n=Au._createFromPositionAndShift(e.previousPosition,e.length);const i={item:t,range:n};this._testAndFire(\"insert\",i);for(const e of t.getAttributeKeys()){i.attributeKey=e;i.attributeOldValue=null;i.attributeNewValue=t.getAttribute(e);this._testAndFire(`attribute:${e}`,i)}}this._clearConversionApi()}convertRemove(t,e,n,i){this.conversionApi.writer=i;this.fire(\"remove:\"+n,{position:t,length:e},this.conversionApi);this._clearConversionApi()}convertAttribute(t,e,n,i,o){this.conversionApi.writer=o;this.conversionApi.consumable=this._createConsumableForRange(t,`attribute:${e}`);for(const o of t){const t=o.item;const s=Au._createFromPositionAndShift(o.previousPosition,o.length);const r={item:t,range:s,attributeKey:e,attributeOldValue:n,attributeNewValue:i};this._testAndFire(`attribute:${e}`,r)}this._clearConversionApi()}convertSelection(t,e,n){const i=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));this.conversionApi.writer=n;this.conversionApi.consumable=this._createSelectionConsumable(t,i);this.fire(\"selection\",{selection:t},this.conversionApi);if(!t.isCollapsed){return}for(const e of i){const n=e.getRange();if(!Pu(t.getFirstPosition(),e,this.conversionApi.mapper)){continue}const i={item:t,markerName:e.name,markerRange:n};if(this.conversionApi.consumable.test(t,\"addMarker:\"+e.name)){this.fire(\"addMarker:\"+e.name,i,this.conversionApi)}}for(const e of t.getAttributeKeys()){const n={item:t,range:t.getFirstRange(),attributeKey:e,attributeOldValue:null,attributeNewValue:t.getAttribute(e)};if(this.conversionApi.consumable.test(t,\"attribute:\"+n.attributeKey)){this.fire(\"attribute:\"+n.attributeKey+\":$text\",n,this.conversionApi)}}this._clearConversionApi()}convertMarkerAdd(t,e,n){if(!e.root.document||e.root.rootName==\"$graveyard\"){return}this.conversionApi.writer=n;const i=\"addMarker:\"+t;const o=new Tu;o.add(e,i);this.conversionApi.consumable=o;this.fire(i,{markerName:t,markerRange:e},this.conversionApi);if(!o.test(e,i)){return}this.conversionApi.consumable=this._createConsumableForRange(e,i);for(const n of e.getItems()){if(!this.conversionApi.consumable.test(n,i)){continue}const o={item:n,range:Au._createOn(n),markerName:t,markerRange:e};this.fire(i,o,this.conversionApi)}this._clearConversionApi()}convertMarkerRemove(t,e,n){if(!e.root.document||e.root.rootName==\"$graveyard\"){return}this.conversionApi.writer=n;this.fire(\"removeMarker:\"+t,{markerName:t,markerRange:e},this.conversionApi);this._clearConversionApi()}_createInsertConsumable(t){const e=new Tu;for(const n of t){const t=n.item;e.add(t,\"insert\");for(const n of t.getAttributeKeys()){e.add(t,\"attribute:\"+n)}}return e}_createConsumableForRange(t,e){const n=new Tu;for(const i of t.getItems()){n.add(i,e)}return n}_createSelectionConsumable(t,e){const n=new Tu;n.add(t,\"selection\");for(const i of e){n.add(t,\"addMarker:\"+i.name)}for(const e of t.getAttributeKeys()){n.add(t,\"attribute:\"+e)}return n}_testAndFire(t,e){if(!this.conversionApi.consumable.test(e.item,t)){return}const n=e.item.name||\"$text\";this.fire(t+\":\"+n,e,this.conversionApi)}_clearConversionApi(){delete this.conversionApi.writer;delete this.conversionApi.consumable}}vr(Eu,lr);function Pu(t,e,n){const i=e.getRange();const o=Array.from(t.getAncestors());o.shift();o.reverse();const s=o.some(t=>{if(i.containsItem(t)){const e=n.toViewElement(t);return!!e.getCustomProperty(\"addHighlight\")}});return!s}class Su{constructor(t,e,n){this._lastRangeBackward=false;this._ranges=[];this._attrs=new Map;if(t){this.setTo(t,e,n)}}get anchor(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}get focus(){if(this._ranges.length>0){const t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}get isCollapsed(){const t=this._ranges.length;if(t===1){return this._ranges[0].isCollapsed}else{return false}}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(t){if(this.rangeCount!=t.rangeCount){return false}else if(this.rangeCount===0){return true}if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus)){return false}for(const e of this._ranges){let n=false;for(const i of t._ranges){if(e.isEqual(i)){n=true;break}}if(!n){return false}}return true}*getRanges(){for(const t of this._ranges){yield new Au(t.start,t.end)}}getFirstRange(){let t=null;for(const e of this._ranges){if(!t||e.start.isBefore(t.start)){t=e}}return t?new Au(t.start,t.end):null}getLastRange(){let t=null;for(const e of this._ranges){if(!t||e.end.isAfter(t.end)){t=e}}return t?new Au(t.start,t.end):null}getFirstPosition(){const t=this.getFirstRange();return t?t.start.clone():null}getLastPosition(){const t=this.getLastRange();return t?t.end.clone():null}setTo(t,e,n){if(t===null){this._setRanges([])}else if(t instanceof Su){this._setRanges(t.getRanges(),t.isBackward)}else if(t&&typeof t.getRanges==\"function\"){this._setRanges(t.getRanges(),t.isBackward)}else if(t instanceof Au){this._setRanges([t],!!e&&!!e.backward)}else if(t instanceof yu){this._setRanges([new Au(t)])}else if(t instanceof fu){const i=!!n&&!!n.backward;let o;if(e==\"in\"){o=Au._createIn(t)}else if(e==\"on\"){o=Au._createOn(t)}else if(e!==undefined){o=new Au(yu._createAt(t,e))}else{throw new Qs[\"b\"](\"model-selection-setTo-required-second-parameter: \"+\"selection.setTo requires the second parameter when the first parameter is a node.\",[this,t])}this._setRanges([o],i)}else if(Pr(t)){this._setRanges(t,e&&!!e.backward)}else{throw new Qs[\"b\"](\"model-selection-setTo-not-selectable: Cannot set the selection to the given place.\",[this,t])}}_setRanges(t,e=false){t=Array.from(t);const n=t.some(e=>{if(!(e instanceof Au)){throw new Qs[\"b\"](\"model-selection-set-ranges-not-range: \"+\"Selection range set to an object that is not an instance of model.Range.\",[this,t])}return this._ranges.every(t=>!t.isEqual(e))});if(t.length===this._ranges.length&&!n){return}this._removeAllRanges();for(const e of t){this._pushRange(e)}this._lastRangeBackward=!!e;this.fire(\"change:range\",{directChange:true})}setFocus(t,e){if(this.anchor===null){throw new Qs[\"b\"](\"model-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.\",[this,t])}const n=yu._createAt(t,e);if(n.compareWith(this.focus)==\"same\"){return}const i=this.anchor;if(this._ranges.length){this._popRange()}if(n.compareWith(i)==\"before\"){this._pushRange(new Au(n,i));this._lastRangeBackward=true}else{this._pushRange(new Au(i,n));this._lastRangeBackward=false}this.fire(\"change:range\",{directChange:true})}getAttribute(t){return this._attrs.get(t)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(t){return this._attrs.has(t)}removeAttribute(t){if(this.hasAttribute(t)){this._attrs.delete(t);this.fire(\"change:attribute\",{attributeKeys:[t],directChange:true})}}setAttribute(t,e){if(this.getAttribute(t)!==e){this._attrs.set(t,e);this.fire(\"change:attribute\",{attributeKeys:[t],directChange:true})}}getSelectedElement(){if(this.rangeCount!==1){return null}const t=this.getFirstRange();const e=t.start.nodeAfter;const n=t.end.nodeBefore;return e instanceof bu&&e==n?e:null}is(t){return t==\"selection\"||t==\"model:selection\"}*getSelectedBlocks(){const t=new WeakSet;for(const e of this.getRanges()){const n=Nu(e.start,t);if(n&&Lu(n,e)){yield n}for(const n of e.getWalker()){const i=n.item;if(n.type==\"elementEnd\"&&Ou(i,t,e)){yield i}}const i=Nu(e.end,t);if(i&&!e.end.isTouching(yu._createAt(i,0))&&Lu(i,e)){yield i}}}containsEntireContent(t=this.anchor.root){const e=yu._createAt(t,0);const n=yu._createAt(t,\"end\");return e.isTouching(this.getFirstPosition())&&n.isTouching(this.getLastPosition())}_pushRange(t){this._checkRange(t);this._ranges.push(new Au(t.start,t.end))}_checkRange(t){for(let e=0;e<this._ranges.length;e++){if(t.isIntersecting(this._ranges[e])){throw new Qs[\"b\"](\"model-selection-range-intersects: Trying to add a range that intersects with another range in the selection.\",[this,t],{addedRange:t,intersectingRange:this._ranges[e]})}}}_removeAllRanges(){while(this._ranges.length>0){this._popRange()}}_popRange(){this._ranges.pop()}}vr(Su,lr);function Iu(t,e){if(e.has(t)){return false}e.add(t);return t.document.model.schema.isBlock(t)&&t.parent}function Ou(t,e,n){return Iu(t,e)&&Lu(t,n)}function Nu(t,e){const n=t.parent.document.model.schema;const i=t.parent.getAncestors({parentFirst:true,includeSelf:true});let o=false;const s=i.find(t=>{if(o){return false}o=n.isLimit(t);return!o&&Iu(t,e)});i.forEach(t=>e.add(t));return s}function Lu(t,e){const n=Ru(t);if(!n){return true}const i=e.containsRange(Au._createOn(n),true);return!i}function Ru(t){const e=t.document.model.schema;let n=t.parent;while(n){if(e.isBlock(n)){return n}n=n.parent}}class Du extends Au{constructor(t,e){super(t,e);ju.call(this)}detach(){this.stopListening()}is(t){return t==\"liveRange\"||t==\"model:liveRange\"||super.is(t)}toRange(){return new Au(this.start,this.end)}static fromRange(t){return new Du(t.start,t.end)}}function ju(){this.listenTo(this.root.document.model,\"applyOperation\",(t,e)=>{const n=e[0];if(!n.isDocumentOperation){return}zu.call(this,n)},{priority:\"low\"})}function zu(t){const e=this.getTransformedByOperation(t);const n=Au._createFromRanges(e);const i=!n.isEqual(this);const o=Bu(this,t);let s=null;if(i){if(n.root.rootName==\"$graveyard\"){if(t.type==\"remove\"){s=t.sourcePosition}else{s=t.deletionPosition}}const e=this.toRange();this.start=n.start;this.end=n.end;this.fire(\"change:range\",e,{deletionPosition:s})}else if(o){this.fire(\"change:content\",this.toRange(),{deletionPosition:s})}}function Bu(t,e){switch(e.type){case\"insert\":return t.containsPosition(e.position);case\"move\":case\"remove\":case\"reinsert\":case\"merge\":return t.containsPosition(e.sourcePosition)||t.start.isEqual(e.sourcePosition)||t.containsPosition(e.targetPosition);case\"split\":return t.containsPosition(e.splitPosition)||t.containsPosition(e.insertionPosition)}return false}vr(Du,lr);const Vu=\"selection:\";class Fu{constructor(t){this._selection=new Hu(t);this._selection.delegate(\"change:range\").to(this);this._selection.delegate(\"change:attribute\").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(t){return this._selection.containsEntireContent(t)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(t){return this._selection.getAttribute(t)}hasAttribute(t){return this._selection.hasAttribute(t)}refresh(){this._selection._updateMarkers();this._selection._updateAttributes(false)}is(t){return t==\"selection\"||t==\"model:selection\"||t==\"documentSelection\"||t==\"model:documentSelection\"}_setFocus(t,e){this._selection.setFocus(t,e)}_setTo(t,e,n){this._selection.setTo(t,e,n)}_setAttribute(t,e){this._selection.setAttribute(t,e)}_removeAttribute(t){this._selection.removeAttribute(t)}_getStoredAttributes(){return this._selection._getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(t){this._selection.restoreGravity(t)}static _getStoreAttributeKey(t){return Vu+t}static _isStoreAttributeKey(t){return t.startsWith(Vu)}}vr(Fu,lr);class Hu extends Su{constructor(t){super();this.markers=new Fa({idProperty:\"name\"});this._model=t.model;this._document=t;this._attributePriority=new Map;this._fixGraveyardRangesData=[];this._hasChangedRange=false;this._overriddenGravityRegister=new Set;this.listenTo(this._model,\"applyOperation\",(t,e)=>{const n=e[0];if(!n.isDocumentOperation||n.type==\"marker\"||n.type==\"rename\"||n.type==\"noop\"){return}while(this._fixGraveyardRangesData.length){const{liveRange:t,sourcePosition:e}=this._fixGraveyardRangesData.shift();this._fixGraveyardSelection(t,e)}if(this._hasChangedRange){this._hasChangedRange=false;this.fire(\"change:range\",{directChange:false})}},{priority:\"lowest\"});this.on(\"change:range\",()=>{for(const t of this.getRanges()){if(!this._document._validateSelectionRange(t)){throw new Qs[\"b\"](\"document-selection-wrong-position: Range from document selection starts or ends at incorrect position.\",this,{range:t})}}});this.listenTo(this._model.markers,\"update\",()=>this._updateMarkers());this.listenTo(this._document,\"change\",(t,e)=>{Wu(this._model,e)})}get isCollapsed(){const t=this._ranges.length;return t===0?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let t=0;t<this._ranges.length;t++){this._ranges[t].detach()}this.stopListening()}*getRanges(){if(this._ranges.length){yield*super.getRanges()}else{yield this._document._getDefaultRange()}}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(t,e,n){super.setTo(t,e,n);this._updateAttributes(true)}setFocus(t,e){super.setFocus(t,e);this._updateAttributes(true)}setAttribute(t,e){if(this._setAttribute(t,e)){const e=[t];this.fire(\"change:attribute\",{attributeKeys:e,directChange:true})}}removeAttribute(t){if(this._removeAttribute(t)){const e=[t];this.fire(\"change:attribute\",{attributeKeys:e,directChange:true})}}overrideGravity(){const t=nr();this._overriddenGravityRegister.add(t);if(this._overriddenGravityRegister.size===1){this._updateAttributes(true)}return t}restoreGravity(t){if(!this._overriddenGravityRegister.has(t)){throw new Qs[\"b\"](\"document-selection-gravity-wrong-restore: Attempting to restore the selection gravity for an unknown UID.\",this,{uid:t})}this._overriddenGravityRegister.delete(t);if(!this.isGravityOverridden){this._updateAttributes(true)}}_popRange(){this._ranges.pop().detach()}_pushRange(t){const e=this._prepareRange(t);if(e){this._ranges.push(e)}}_prepareRange(t){this._checkRange(t);if(t.root==this._document.graveyard){return}const e=Du.fromRange(t);e.on(\"change:range\",(t,n,i)=>{this._hasChangedRange=true;if(e.root==this._document.graveyard){this._fixGraveyardRangesData.push({liveRange:e,sourcePosition:i.deletionPosition})}});return e}_updateMarkers(){const t=[];for(const e of this._model.markers){const n=e.getRange();for(const i of this.getRanges()){if(n.containsRange(i,!i.isCollapsed)){t.push(e)}}}for(const e of t){if(!this.markers.has(e)){this.markers.add(e)}}for(const e of Array.from(this.markers)){if(!t.includes(e)){this.markers.remove(e)}}}_updateAttributes(t){const e=hu(this._getSurroundingAttributes());const n=hu(this.getAttributes());if(t){this._attributePriority=new Map;this._attrs=new Map}else{for(const[t,e]of this._attributePriority){if(e==\"low\"){this._attrs.delete(t);this._attributePriority.delete(t)}}}this._setAttributesTo(e);const i=[];for(const[t,e]of this.getAttributes()){if(!n.has(t)||n.get(t)!==e){i.push(t)}}for(const[t]of n){if(!this.hasAttribute(t)){i.push(t)}}if(i.length>0){this.fire(\"change:attribute\",{attributeKeys:i,directChange:false})}}_setAttribute(t,e,n=true){const i=n?\"normal\":\"low\";if(i==\"low\"&&this._attributePriority.get(t)==\"normal\"){return false}const o=super.getAttribute(t);if(o===e){return false}this._attrs.set(t,e);this._attributePriority.set(t,i);return true}_removeAttribute(t,e=true){const n=e?\"normal\":\"low\";if(n==\"low\"&&this._attributePriority.get(t)==\"normal\"){return false}this._attributePriority.set(t,n);if(!super.hasAttribute(t)){return false}this._attrs.delete(t);return true}_setAttributesTo(t){const e=new Set;for(const[e,n]of this.getAttributes()){if(t.get(e)===n){continue}this._removeAttribute(e,false)}for(const[n,i]of t){const t=this._setAttribute(n,i,false);if(t){e.add(n)}}return e}*_getStoredAttributes(){const t=this.getFirstPosition().parent;if(this.isCollapsed&&t.isEmpty){for(const e of t.getAttributeKeys()){if(e.startsWith(Vu)){const n=e.substr(Vu.length);yield[n,t.getAttribute(e)]}}}}_getSurroundingAttributes(){const t=this.getFirstPosition();const e=this._model.schema;let n=null;if(!this.isCollapsed){const t=this.getFirstRange();for(const i of t){if(i.item.is(\"element\")&&e.isObject(i.item)){break}if(i.type==\"text\"){n=i.item.getAttributes();break}}}else{const e=t.textNode?t.textNode:t.nodeBefore;const i=t.textNode?t.textNode:t.nodeAfter;if(!this.isGravityOverridden){n=Uu(e)}if(!n){n=Uu(i)}if(!this.isGravityOverridden&&!n){let t=e;while(t&&!n){t=t.previousSibling;n=Uu(t)}}if(!n){let t=i;while(t&&!n){t=t.nextSibling;n=Uu(t)}}if(!n){n=this._getStoredAttributes()}}return n}_fixGraveyardSelection(t,e){const n=e.clone();const i=this._model.schema.getNearestSelectionRange(n);const o=this._ranges.indexOf(t);this._ranges.splice(o,1);t.detach();if(i){const t=this._prepareRange(i);this._ranges.splice(o,0,t)}}}function Uu(t){if(t instanceof gu||t instanceof mu){return t.getAttributes()}return null}function Wu(t,e){const n=t.document.differ;for(const i of n.getChanges()){if(i.type!=\"insert\"){continue}const n=i.position.parent;const o=i.length===n.maxOffset;if(o){t.enqueueChange(e,t=>{const e=Array.from(n.getAttributeKeys()).filter(t=>t.startsWith(Vu));for(const i of e){t.removeAttribute(i,n)}})}}}class $u{constructor(t){this._dispatchers=t}add(t){for(const e of this._dispatchers){t(e)}return this}}var Yu=1,qu=4;function Gu(t){return Hs(t,Yu|qu)}var Ku=Gu;class Ju extends $u{elementToElement(t){return this.add(uh(t))}attributeToElement(t){return this.add(hh(t))}attributeToAttribute(t){return this.add(fh(t))}markerToElement(t){return this.add(mh(t))}markerToHighlight(t){return this.add(gh(t))}}function Xu(){return(t,e,n)=>{if(!n.consumable.consume(e.item,\"insert\")){return}const i=n.writer;const o=n.mapper.toViewPosition(e.range.start);const s=i.createText(e.item.data);i.insert(o,s)}}function Qu(){return(t,e,n)=>{const i=n.mapper.toViewPosition(e.position);const o=e.position.getShiftedBy(e.length);const s=n.mapper.toViewPosition(o,{isPhantom:true});const r=n.writer.createRange(i,s);const a=n.writer.remove(r.getTrimmed());for(const t of n.writer.createRangeIn(a).getItems()){n.mapper.unbindViewElement(t)}}}function Zu(t){const e=new Wa(\"span\",t.attributes);if(t.classes){e._addClass(t.classes)}if(t.priority){e._priority=t.priority}e._id=t.id;return e}function th(){return(t,e,n)=>{const i=e.selection;if(i.isCollapsed){return}if(!n.consumable.consume(i,\"selection\")){return}const o=[];for(const t of i.getRanges()){const e=n.mapper.toViewRange(t);o.push(e)}n.writer.setSelection(o,{backward:i.isBackward})}}function eh(){return(t,e,n)=>{const i=e.selection;if(!i.isCollapsed){return}if(!n.consumable.consume(i,\"selection\")){return}const o=n.writer;const s=i.getFirstPosition();const r=n.mapper.toViewPosition(s);const a=o.breakAttributes(r);o.setSelection(a)}}function nh(){return(t,e,n)=>{const i=n.writer;const o=i.document.selection;for(const t of o.getRanges()){if(t.isCollapsed){if(t.end.parent.document){n.writer.mergeAttributes(t.start)}}}i.setSelection(null)}}function ih(t){return(e,n,i)=>{const o=t(n.attributeOldValue,i.writer);const s=t(n.attributeNewValue,i.writer);if(!o&&!s){return}if(!i.consumable.consume(n.item,e.name)){return}const r=i.writer;const a=r.document.selection;if(n.item instanceof Su||n.item instanceof Fu){r.wrap(a.getFirstRange(),s)}else{let t=i.mapper.toViewRange(n.range);if(n.attributeOldValue!==null&&o){t=r.unwrap(t,o)}if(n.attributeNewValue!==null&&s){r.wrap(t,s)}}}}function oh(t){return(e,n,i)=>{const o=t(n.item,i.writer);if(!o){return}if(!i.consumable.consume(n.item,\"insert\")){return}const s=i.mapper.toViewPosition(n.range.start);i.mapper.bindElements(n.item,o);i.writer.insert(s,o)}}function sh(t){return(e,n,i)=>{n.isOpening=true;const o=t(n,i.writer);n.isOpening=false;const s=t(n,i.writer);if(!o||!s){return}const r=n.markerRange;if(r.isCollapsed&&!i.consumable.consume(r,e.name)){return}for(const t of r){if(!i.consumable.consume(t.item,e.name)){return}}const a=i.mapper;const c=i.writer;c.insert(a.toViewPosition(r.start),o);i.mapper.bindElementToMarker(o,n.markerName);if(!r.isCollapsed){c.insert(a.toViewPosition(r.end),s);i.mapper.bindElementToMarker(s,n.markerName)}e.stop()}}function rh(){return(t,e,n)=>{const i=n.mapper.markerNameToElements(e.markerName);if(!i){return}for(const t of i){n.mapper.unbindElementFromMarkerName(t,e.markerName);n.writer.clear(n.writer.createRangeOn(t),t)}n.writer.clearClonedElementsGroup(e.markerName);t.stop()}}function ah(t){return(e,n,i)=>{const o=t(n.attributeOldValue,n);const s=t(n.attributeNewValue,n);if(!o&&!s){return}if(!i.consumable.consume(n.item,e.name)){return}const r=i.mapper.toViewElement(n.item);const a=i.writer;if(!r){throw new Qs[\"b\"](\"conversion-attribute-to-attribute-on-text: \"+\"Trying to convert text node's attribute with attribute-to-attribute converter.\",[n,i])}if(n.attributeOldValue!==null&&o){if(o.key==\"class\"){const t=Array.isArray(o.value)?o.value:[o.value];for(const e of t){a.removeClass(e,r)}}else if(o.key==\"style\"){const t=Object.keys(o.value);for(const e of t){a.removeStyle(e,r)}}else{a.removeAttribute(o.key,r)}}if(n.attributeNewValue!==null&&s){if(s.key==\"class\"){const t=Array.isArray(s.value)?s.value:[s.value];for(const e of t){a.addClass(e,r)}}else if(s.key==\"style\"){const t=Object.keys(s.value);for(const e of t){a.setStyle(e,s.value[e],r)}}else{a.setAttribute(s.key,s.value,r)}}}}function ch(t){return(e,n,i)=>{if(!n.item){return}if(!(n.item instanceof Su||n.item instanceof Fu)&&!n.item.is(\"textProxy\")){return}const o=vh(t,n,i);if(!o){return}if(!i.consumable.consume(n.item,e.name)){return}const s=Zu(o);const r=i.writer;const a=r.document.selection;if(n.item instanceof Su||n.item instanceof Fu){r.wrap(a.getFirstRange(),s,a)}else{const t=i.mapper.toViewRange(n.range);const e=r.wrap(t,s);for(const t of e.getItems()){if(t.is(\"attributeElement\")&&t.isSimilar(s)){i.mapper.bindElementToMarker(t,n.markerName);break}}}}}function lh(t){return(e,n,i)=>{if(!n.item){return}if(!(n.item instanceof bu)){return}const o=vh(t,n,i);if(!o){return}if(!i.consumable.test(n.item,e.name)){return}const s=i.mapper.toViewElement(n.item);if(s&&s.getCustomProperty(\"addHighlight\")){i.consumable.consume(n.item,e.name);for(const t of Au._createIn(n.item)){i.consumable.consume(t.item,e.name)}s.getCustomProperty(\"addHighlight\")(s,o,i.writer);i.mapper.bindElementToMarker(s,n.markerName)}}}function dh(t){return(e,n,i)=>{if(n.markerRange.isCollapsed){return}const o=vh(t,n,i);if(!o){return}const s=Zu(o);const r=i.mapper.markerNameToElements(n.markerName);if(!r){return}for(const t of r){i.mapper.unbindElementFromMarkerName(t,n.markerName);if(t.is(\"attributeElement\")){i.writer.unwrap(i.writer.createRangeOn(t),s)}else{t.getCustomProperty(\"removeHighlight\")(t,o.id,i.writer)}}i.writer.clearClonedElementsGroup(n.markerName);e.stop()}}function uh(t){t=Ku(t);t.view=ph(t.view,\"container\");return e=>{e.on(\"insert:\"+t.model,oh(t.view),{priority:t.converterPriority||\"normal\"})}}function hh(t){t=Ku(t);const e=t.model.key?t.model.key:t.model;let n=\"attribute:\"+e;if(t.model.name){n+=\":\"+t.model.name}if(t.model.values){for(const e of t.model.values){t.view[e]=ph(t.view[e],\"attribute\")}}else{t.view=ph(t.view,\"attribute\")}const i=wh(t);return e=>{e.on(n,ih(i),{priority:t.converterPriority||\"normal\"})}}function fh(t){t=Ku(t);const e=t.model.key?t.model.key:t.model;let n=\"attribute:\"+e;if(t.model.name){n+=\":\"+t.model.name}if(t.model.values){for(const e of t.model.values){t.view[e]=_h(t.view[e])}}else{t.view=_h(t.view)}const i=wh(t);return e=>{e.on(n,ah(i),{priority:t.converterPriority||\"normal\"})}}function mh(t){t=Ku(t);t.view=ph(t.view,\"ui\");return e=>{e.on(\"addMarker:\"+t.model,sh(t.view),{priority:t.converterPriority||\"normal\"});e.on(\"removeMarker:\"+t.model,rh(t.view),{priority:t.converterPriority||\"normal\"})}}function gh(t){return e=>{e.on(\"addMarker:\"+t.model,ch(t.view),{priority:t.converterPriority||\"normal\"});e.on(\"addMarker:\"+t.model,lh(t.view),{priority:t.converterPriority||\"normal\"});e.on(\"removeMarker:\"+t.model,dh(t.view),{priority:t.converterPriority||\"normal\"})}}function ph(t,e){if(typeof t==\"function\"){return t}return(n,i)=>bh(t,i,e)}function bh(t,e,n){if(typeof t==\"string\"){t={name:t}}let i;const o=Object.assign({},t.attributes);if(n==\"container\"){i=e.createContainerElement(t.name,o)}else if(n==\"attribute\"){const n={priority:t.priority||Wa.DEFAULT_PRIORITY};i=e.createAttributeElement(t.name,o,n)}else{i=e.createUIElement(t.name,o)}if(t.styles){const n=Object.keys(t.styles);for(const o of n){e.setStyle(o,t.styles[o],i)}}if(t.classes){const n=t.classes;if(typeof n==\"string\"){e.addClass(n,i)}else{for(const t of n){e.addClass(t,i)}}}return i}function wh(t){if(t.model.values){return(e,n)=>{const i=t.view[e];if(i){return i(e,n)}return null}}else{return t.view}}function _h(t){if(typeof t==\"string\"){return e=>({key:t,value:e})}else if(typeof t==\"object\"){if(t.value){return()=>t}else{return e=>({key:t.key,value:e})}}else{return t}}function vh(t,e,n){const i=typeof t==\"function\"?t(e,n):t;if(!i){return null}if(!i.priority){i.priority=10}if(!i.id){i.id=e.markerName}return i}class kh extends $u{elementToElement(t){return this.add(Ch(t))}elementToAttribute(t){return this.add(Th(t))}attributeToAttribute(t){return this.add(Mh(t))}elementToMarker(t){return this.add(Eh(t))}}function xh(){return(t,e,n)=>{if(!e.modelRange&&n.consumable.consume(e.viewItem,{name:true})){const{modelRange:t,modelCursor:i}=n.convertChildren(e.viewItem,e.modelCursor);e.modelRange=t;e.modelCursor=i}}}function yh(){return(t,e,n)=>{if(n.schema.checkChild(e.modelCursor,\"$text\")){if(n.consumable.consume(e.viewItem)){const t=n.writer.createText(e.viewItem.data);n.writer.insert(t,e.modelCursor);e.modelRange=Au._createFromPositionAndShift(e.modelCursor,t.offsetSize);e.modelCursor=e.modelRange.end}}}}function Ah(t,e){return(n,i)=>{const o=i.newSelection;const s=new Su;const r=[];for(const t of o.getRanges()){r.push(e.toModelRange(t))}s.setTo(r,{backward:o.isBackward});if(!s.isEqual(t.document.selection)){t.change(t=>{t.setSelection(s)})}}}function Ch(t){t=Ku(t);const e=Sh(t);const n=Ph(t.view);const i=n?\"element:\"+n:\"element\";return n=>{n.on(i,e,{priority:t.converterPriority||\"normal\"})}}function Th(t){t=Ku(t);Nh(t);const e=Lh(t,false);const n=Ph(t.view);const i=n?\"element:\"+n:\"element\";return n=>{n.on(i,e,{priority:t.converterPriority||\"low\"})}}function Mh(t){t=Ku(t);let e=null;if(typeof t.view==\"string\"||t.view.key){e=Oh(t)}Nh(t,e);const n=Lh(t,true);return e=>{e.on(\"element\",n,{priority:t.converterPriority||\"low\"})}}function Eh(t){t=Ku(t);jh(t);return Ch(t)}function Ph(t){if(typeof t==\"string\"){return t}if(typeof t==\"object\"&&typeof t.name==\"string\"){return t.name}return null}function Sh(t){const e=t.view?new Sr(t.view):null;return(n,i,o)=>{let s={};if(e){const t=e.match(i.viewItem);if(!t){return}s=t.match}s.name=true;const r=Ih(t.model,i.viewItem,o.writer);if(!r){return}if(!o.consumable.test(i.viewItem,s)){return}const a=o.splitToAllowedParent(r,i.modelCursor);if(!a){return}o.writer.insert(r,a.position);o.convertChildren(i.viewItem,o.writer.createPositionAt(r,0));o.consumable.consume(i.viewItem,s);const c=o.getSplitParts(r);i.modelRange=new Au(o.writer.createPositionBefore(r),o.writer.createPositionAfter(c[c.length-1]));if(a.cursorParent){i.modelCursor=o.writer.createPositionAt(a.cursorParent,0)}else{i.modelCursor=i.modelRange.end}}}function Ih(t,e,n){if(t instanceof Function){return t(e,n)}else{return n.createElement(t)}}function Oh(t){if(typeof t.view==\"string\"){t.view={key:t.view}}const e=t.view.key;let n;if(e==\"class\"||e==\"style\"){const i=e==\"class\"?\"classes\":\"styles\";n={[i]:t.view.value}}else{const i=typeof t.view.value==\"undefined\"?/[\\s\\S]*/:t.view.value;n={attributes:{[e]:i}}}if(t.view.name){n.name=t.view.name}t.view=n;return e}function Nh(t,e=null){const n=e===null?true:t=>t.getAttribute(e);const i=typeof t.model!=\"object\"?t.model:t.model.key;const o=typeof t.model!=\"object\"||typeof t.model.value==\"undefined\"?n:t.model.value;t.model={key:i,value:o}}function Lh(t,e){const n=new Sr(t.view);return(i,o,s)=>{const r=n.match(o.viewItem);if(!r){return}const a=t.model.key;const c=typeof t.model.value==\"function\"?t.model.value(o.viewItem):t.model.value;if(c===null){return}if(Rh(t.view,o.viewItem)){r.match.name=true}else{delete r.match.name}if(!s.consumable.test(o.viewItem,r.match)){return}if(!o.modelRange){o=Object.assign(o,s.convertChildren(o.viewItem,o.modelCursor))}const l=Dh(o.modelRange,{key:a,value:c},e,s);if(l){s.consumable.consume(o.viewItem,r.match)}}}function Rh(t,e){const n=typeof t==\"function\"?t(e):t;if(typeof n==\"object\"&&!Ph(n)){return false}return!n.classes&&!n.attributes&&!n.styles}function Dh(t,e,n,i){let o=false;for(const s of Array.from(t.getItems({shallow:n}))){if(i.schema.checkAttribute(s,e.key)){i.writer.setAttribute(e.key,e.value,s);o=true}}return o}function jh(t){const e=t.model;t.model=(t,n)=>{const i=typeof e==\"string\"?e:e(t);return n.createElement(\"$marker\",{\"data-name\":i})}}class zh{constructor(t){this.model=t;this.view=new uu;this.mapper=new Cu;this.downcastDispatcher=new Eu({mapper:this.mapper});const e=this.model.document;const n=e.selection;const i=this.model.markers;this.listenTo(this.model,\"_beforeChanges\",()=>{this.view._disableRendering(true)},{priority:\"highest\"});this.listenTo(this.model,\"_afterChanges\",()=>{this.view._disableRendering(false)},{priority:\"lowest\"});this.listenTo(e,\"change\",()=>{this.view.change(t=>{this.downcastDispatcher.convertChanges(e.differ,i,t);this.downcastDispatcher.convertSelection(n,i,t)})},{priority:\"low\"});this.listenTo(this.view.document,\"selectionChange\",Ah(this.model,this.mapper));this.downcastDispatcher.on(\"insert:$text\",Xu(),{priority:\"lowest\"});this.downcastDispatcher.on(\"remove\",Qu(),{priority:\"low\"});this.downcastDispatcher.on(\"selection\",nh(),{priority:\"low\"});this.downcastDispatcher.on(\"selection\",th(),{priority:\"low\"});this.downcastDispatcher.on(\"selection\",eh(),{priority:\"low\"});this.view.document.roots.bindTo(this.model.document.roots).using(t=>{if(t.rootName==\"$graveyard\"){return null}const e=new Na(t.name);e.rootName=t.rootName;e._document=this.view.document;this.mapper.bindElements(t,e);return e})}destroy(){this.view.destroy();this.stopListening()}}vr(zh,_a);class Bh{constructor(t,e=[]){this._editor=t;this._availablePlugins=new Map;this._plugins=new Map;for(const t of e){this._availablePlugins.set(t,t);if(t.pluginName){this._availablePlugins.set(t.pluginName,t)}}}*[Symbol.iterator](){for(const t of this._plugins){if(typeof t[0]==\"function\"){yield t}}}get(t){const e=this._plugins.get(t);if(!e){const e=\"plugincollection-plugin-not-loaded: The requested plugin is not loaded.\";let n=t;if(typeof t==\"function\"){n=t.pluginName||t.name}throw new Qs[\"b\"](e,this._editor,{plugin:n})}return e}has(t){return this._plugins.has(t)}init(t,e=[]){const n=this;const i=this._editor;const o=new Set;const s=[];const r=m(t);const a=m(e);const c=f(t);if(c){const t=\"plugincollection-plugin-not-found: Some plugins are not available and could not be loaded.\";console.error(Object(Qs[\"a\"])(t),{plugins:c});return Promise.reject(new Qs[\"b\"](t,this._editor,{plugins:c}))}return Promise.all(r.map(l)).then(()=>d(s,\"init\")).then(()=>d(s,\"afterInit\")).then(()=>s);function l(t){if(a.includes(t)){return}if(n._plugins.has(t)||o.has(t)){return}return u(t).catch(e=>{console.error(Object(Qs[\"a\"])(\"plugincollection-load: It was not possible to load the plugin.\"),{plugin:t});throw e})}function d(t,e){return t.reduce((t,n)=>{if(!n[e]){return t}return t.then(n[e].bind(n))},Promise.resolve())}function u(t){return new Promise(r=>{o.add(t);if(t.requires){t.requires.forEach(n=>{const o=h(n);if(e.includes(o)){throw new Qs[\"b\"](\"plugincollection-required: Cannot load a plugin because one of its dependencies is listed in\"+\"the `removePlugins` option.\",i,{plugin:o,requiredBy:t})}l(o)})}const a=new t(i);n._add(t,a);s.push(a);r()})}function h(t){if(typeof t==\"function\"){return t}return n._availablePlugins.get(t)}function f(t){const e=[];for(const n of t){if(!h(n)){e.push(n)}}return e.length?e:null}function m(t){return t.map(t=>h(t)).filter(t=>!!t)}}destroy(){const t=Array.from(this).map(([,t])=>t).filter(t=>typeof t.destroy==\"function\").map(t=>t.destroy());return Promise.all(t)}_add(t,e){this._plugins.set(t,e);const n=t.pluginName;if(!n){return}if(this._plugins.has(n)){throw new Qs[\"b\"](\"plugincollection-plugin-name-conflict: Two plugins with the same name were loaded.\",null,{pluginName:n,plugin1:this._plugins.get(n).constructor,plugin2:t})}this._plugins.set(n,e)}}vr(Bh,lr);class Vh{constructor(){this._commands=new Map}add(t,e){this._commands.set(t,e)}get(t){return this._commands.get(t)}execute(t,...e){const n=this.get(t);if(!n){throw new Qs[\"b\"](\"commandcollection-command-not-found: Command does not exist.\",this,{commandName:t})}n.execute(...e)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const t of this.commands()){t.destroy()}}}if(!window.CKEDITOR_TRANSLATIONS){window.CKEDITOR_TRANSLATIONS={}}function Fh(t,e){const n=window.CKEDITOR_TRANSLATIONS[t]||(window.CKEDITOR_TRANSLATIONS[t]={});Object.assign(n,e)}function Hh(t,e){const n=$h();if(n===1){t=Object.keys(window.CKEDITOR_TRANSLATIONS)[0]}if(n===0||!Wh(t,e)){return e.replace(/ \\[context: [^\\]]+\\]$/,\"\")}const i=window.CKEDITOR_TRANSLATIONS[t];return i[e].replace(/ \\[context: [^\\]]+\\]$/,\"\")}function Uh(){window.CKEDITOR_TRANSLATIONS={}}function Wh(t,e){return t in window.CKEDITOR_TRANSLATIONS&&e in window.CKEDITOR_TRANSLATIONS[t]}function $h(){return Object.keys(window.CKEDITOR_TRANSLATIONS).length}const Yh=[\"ar\",\"fa\",\"he\",\"ku\",\"ug\"];class qh{constructor(t={}){this.uiLanguage=t.uiLanguage||\"en\";this.contentLanguage=t.contentLanguage||this.uiLanguage;this.uiLanguageDirection=Gh(this.uiLanguage);this.contentLanguageDirection=Gh(this.contentLanguage);this.t=(...t)=>this._t(...t)}get language(){console.warn(\"locale-deprecated-language-property: \"+\"The Locale#language property has been deprecated and will be removed in the near future. \"+\"Please use #uiLanguage and #contentLanguage properties instead.\");return this.uiLanguage}_t(t,e){let n=Hh(this.uiLanguage,t);if(e){n=n.replace(/%(\\d+)/g,(t,n)=>n<e.length?e[n]:t)}return n}}function Gh(t){return Yh.includes(t)?\"rtl\":\"ltr\"}class Kh{constructor(){this._consumables=new Map}add(t,e){let n;if(t.is(\"text\")||t.is(\"documentFragment\")){this._consumables.set(t,true);return}if(!this._consumables.has(t)){n=new Jh;this._consumables.set(t,n)}else{n=this._consumables.get(t)}n.add(e)}test(t,e){const n=this._consumables.get(t);if(n===undefined){return null}if(t.is(\"text\")||t.is(\"documentFragment\")){return n}return n.test(e)}consume(t,e){if(this.test(t,e)){if(t.is(\"text\")||t.is(\"documentFragment\")){this._consumables.set(t,false)}else{this._consumables.get(t).consume(e)}return true}return false}revert(t,e){const n=this._consumables.get(t);if(n!==undefined){if(t.is(\"text\")||t.is(\"documentFragment\")){this._consumables.set(t,true)}else{n.revert(e)}}}static consumablesFromElement(t){const e={name:true,attributes:[],classes:[],styles:[]};const n=t.getAttributeKeys();for(const t of n){if(t==\"style\"||t==\"class\"){continue}e.attributes.push(t)}const i=t.getClassNames();for(const t of i){e.classes.push(t)}const o=t.getStyleNames();for(const t of o){e.styles.push(t)}return e}static createFrom(t,e){if(!e){e=new Kh}if(t.is(\"text\")){e.add(t);return e}if(t.is(\"element\")){e.add(t,Kh.consumablesFromElement(t))}if(t.is(\"documentFragment\")){e.add(t)}for(const n of t.getChildren()){e=Kh.createFrom(n,e)}return e}}class Jh{constructor(){this._canConsumeName=null;this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(t){if(t.name){this._canConsumeName=true}for(const e in this._consumables){if(e in t){this._add(e,t[e])}}}test(t){if(t.name&&!this._canConsumeName){return this._canConsumeName}for(const e in this._consumables){if(e in t){const n=this._test(e,t[e]);if(n!==true){return n}}}return true}consume(t){if(t.name){this._canConsumeName=false}for(const e in this._consumables){if(e in t){this._consume(e,t[e])}}}revert(t){if(t.name){this._canConsumeName=true}for(const e in this._consumables){if(e in t){this._revert(e,t[e])}}}_add(t,e){const n=Ke(e)?e:[e];const i=this._consumables[t];for(const e of n){if(t===\"attributes\"&&(e===\"class\"||e===\"style\")){throw new Qs[\"b\"](\"viewconsumable-invalid-attribute: Classes and styles should be handled separately.\",this)}i.set(e,true)}}_test(t,e){const n=Ke(e)?e:[e];const i=this._consumables[t];for(const e of n){if(t===\"attributes\"&&(e===\"class\"||e===\"style\")){const t=e==\"class\"?\"classes\":\"styles\";const n=this._test(t,[...this._consumables[t].keys()]);if(n!==true){return n}}else{const t=i.get(e);if(t===undefined){return null}if(!t){return false}}}return true}_consume(t,e){const n=Ke(e)?e:[e];const i=this._consumables[t];for(const e of n){if(t===\"attributes\"&&(e===\"class\"||e===\"style\")){const t=e==\"class\"?\"classes\":\"styles\";this._consume(t,[...this._consumables[t].keys()])}else{i.set(e,false)}}}_revert(t,e){const n=Ke(e)?e:[e];const i=this._consumables[t];for(const e of n){if(t===\"attributes\"&&(e===\"class\"||e===\"style\")){const t=e==\"class\"?\"classes\":\"styles\";this._revert(t,[...this._consumables[t].keys()])}else{const t=i.get(e);if(t===false){i.set(e,true)}}}}}class Xh{constructor(){this._sourceDefinitions={};this._attributeProperties={};this.decorate(\"checkChild\");this.decorate(\"checkAttribute\");this.on(\"checkAttribute\",(t,e)=>{e[0]=new Qh(e[0])},{priority:\"highest\"});this.on(\"checkChild\",(t,e)=>{e[0]=new Qh(e[0]);e[1]=this.getDefinition(e[1])},{priority:\"highest\"})}register(t,e){if(this._sourceDefinitions[t]){throw new Qs[\"b\"](\"schema-cannot-register-item-twice: A single item cannot be registered twice in the schema.\",this,{itemName:t})}this._sourceDefinitions[t]=[Object.assign({},e)];this._clearCache()}extend(t,e){if(!this._sourceDefinitions[t]){throw new Qs[\"b\"](\"schema-cannot-extend-missing-item: Cannot extend an item which was not registered yet.\",this,{itemName:t})}this._sourceDefinitions[t].push(Object.assign({},e));this._clearCache()}getDefinitions(){if(!this._compiledDefinitions){this._compile()}return this._compiledDefinitions}getDefinition(t){let e;if(typeof t==\"string\"){e=t}else if(t.is&&(t.is(\"text\")||t.is(\"textProxy\"))){e=\"$text\"}else{e=t.name}return this.getDefinitions()[e]}isRegistered(t){return!!this.getDefinition(t)}isBlock(t){const e=this.getDefinition(t);return!!(e&&e.isBlock)}isLimit(t){const e=this.getDefinition(t);if(!e){return false}return!!(e.isLimit||e.isObject)}isObject(t){const e=this.getDefinition(t);return!!(e&&e.isObject)}isInline(t){const e=this.getDefinition(t);return!!(e&&e.isInline)}checkChild(t,e){if(!e){return false}return this._checkContextMatch(e,t)}checkAttribute(t,e){const n=this.getDefinition(t.last);if(!n){return false}return n.allowAttributes.includes(e)}checkMerge(t,e=null){if(t instanceof yu){const e=t.nodeBefore;const n=t.nodeAfter;if(!(e instanceof bu)){throw new Qs[\"b\"](\"schema-check-merge-no-element-before: The node before the merge position must be an element.\",this)}if(!(n instanceof bu)){throw new Qs[\"b\"](\"schema-check-merge-no-element-after: The node after the merge position must be an element.\",this)}return this.checkMerge(e,n)}for(const n of e.getChildren()){if(!this.checkChild(t,n)){return false}}return true}addChildCheck(t){this.on(\"checkChild\",(e,[n,i])=>{if(!i){return}const o=t(n,i);if(typeof o==\"boolean\"){e.stop();e.return=o}},{priority:\"high\"})}addAttributeCheck(t){this.on(\"checkAttribute\",(e,[n,i])=>{const o=t(n,i);if(typeof o==\"boolean\"){e.stop();e.return=o}},{priority:\"high\"})}setAttributeProperties(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}getAttributeProperties(t){return this._attributeProperties[t]||{}}getLimitElement(t){let e;if(t instanceof yu){e=t.parent}else{const n=t instanceof Au?[t]:Array.from(t.getRanges());e=n.reduce((t,e)=>{const n=e.getCommonAncestor();if(!t){return n}return t.getCommonAncestor(n,{includeSelf:true})},null)}while(!this.isLimit(e)){if(e.parent){e=e.parent}else{break}}return e}checkAttributeInSelection(t,e){if(t.isCollapsed){const n=t.getFirstPosition();const i=[...n.getAncestors(),new mu(\"\",t.getAttributes())];return this.checkAttribute(i,e)}else{const n=t.getRanges();for(const t of n){for(const n of t){if(this.checkAttribute(n.item,e)){return true}}}}return false}*getValidRanges(t,e){t=mf(t);for(const n of t){yield*this._getValidRangesForRange(n,e)}}getNearestSelectionRange(t,e=\"both\"){if(this.checkChild(t,\"$text\")){return new Au(t)}let n,i;if(e==\"both\"||e==\"backward\"){n=new _u({startPosition:t,direction:\"backward\"})}if(e==\"both\"||e==\"forward\"){i=new _u({startPosition:t})}for(const t of ff(n,i)){const e=t.walker==n?\"elementEnd\":\"elementStart\";const i=t.value;if(i.type==e&&this.isObject(i.item)){return Au._createOn(i.item)}if(this.checkChild(i.nextPosition,\"$text\")){return new Au(i.nextPosition)}}return null}findAllowedParent(t,e){let n=t.parent;while(n){if(this.checkChild(n,e)){return n}if(this.isLimit(n)){return null}n=n.parent}return null}removeDisallowedAttributes(t,e){for(const n of t){if(n.is(\"text\")){gf(this,n,e)}else{const t=Au._createIn(n);const i=t.getPositions();for(const t of i){const n=t.nodeBefore||t.parent;gf(this,n,e)}}}}createContext(t){return new Qh(t)}_clearCache(){this._compiledDefinitions=null}_compile(){const t={};const e=this._sourceDefinitions;const n=Object.keys(e);for(const i of n){t[i]=Zh(e[i],i)}for(const e of n){tf(t,e)}for(const e of n){ef(t,e)}for(const e of n){nf(t,e);of(t,e)}for(const e of n){sf(t,e);rf(t,e)}this._compiledDefinitions=t}_checkContextMatch(t,e,n=e.length-1){const i=e.getItem(n);if(t.allowIn.includes(i.name)){if(n==0){return true}else{const t=this.getDefinition(i);return this._checkContextMatch(t,e,n-1)}}else{return false}}*_getValidRangesForRange(t,e){let n=t.start;let i=t.start;for(const o of t.getItems({shallow:true})){if(o.is(\"element\")){yield*this._getValidRangesForRange(Au._createIn(o),e)}if(!this.checkAttribute(o,e)){if(!n.isEqual(i)){yield new Au(n,i)}n=yu._createAfter(o)}i=yu._createAfter(o)}if(!n.isEqual(i)){yield new Au(n,i)}}}vr(Xh,_a);class Qh{constructor(t){if(t instanceof Qh){return t}if(typeof t==\"string\"){t=[t]}else if(!Array.isArray(t)){t=t.getAncestors({includeSelf:true})}if(t[0]&&typeof t[0]!=\"string\"&&t[0].is(\"documentFragment\")){t.shift()}this._items=t.map(hf)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(t){const e=new Qh([t]);e._items=[...this._items,...e._items];return e}getItem(t){return this._items[t]}*getNames(){yield*this._items.map(t=>t.name)}endsWith(t){return Array.from(this.getNames()).join(\" \").endsWith(t)}}function Zh(t,e){const n={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],inheritTypesFrom:[]};af(t,n);cf(t,n,\"allowIn\");cf(t,n,\"allowContentOf\");cf(t,n,\"allowWhere\");cf(t,n,\"allowAttributes\");cf(t,n,\"allowAttributesOf\");cf(t,n,\"inheritTypesFrom\");lf(t,n);return n}function tf(t,e){for(const n of t[e].allowContentOf){if(t[n]){const i=df(t,n);i.forEach(t=>{t.allowIn.push(e)})}}delete t[e].allowContentOf}function ef(t,e){for(const n of t[e].allowWhere){const i=t[n];if(i){const n=i.allowIn;t[e].allowIn.push(...n)}}delete t[e].allowWhere}function nf(t,e){for(const n of t[e].allowAttributesOf){const i=t[n];if(i){const n=i.allowAttributes;t[e].allowAttributes.push(...n)}}delete t[e].allowAttributesOf}function of(t,e){const n=t[e];for(const e of n.inheritTypesFrom){const i=t[e];if(i){const t=Object.keys(i).filter(t=>t.startsWith(\"is\"));for(const e of t){if(!(e in n)){n[e]=i[e]}}}}delete n.inheritTypesFrom}function sf(t,e){const n=t[e];const i=n.allowIn.filter(e=>t[e]);n.allowIn=Array.from(new Set(i))}function rf(t,e){const n=t[e];n.allowAttributes=Array.from(new Set(n.allowAttributes))}function af(t,e){for(const n of t){const t=Object.keys(n).filter(t=>t.startsWith(\"is\"));for(const i of t){e[i]=n[i]}}}function cf(t,e,n){for(const i of t){if(typeof i[n]==\"string\"){e[n].push(i[n])}else if(Array.isArray(i[n])){e[n].push(...i[n])}}}function lf(t,e){for(const n of t){const t=n.inheritAllFrom;if(t){e.allowContentOf.push(t);e.allowWhere.push(t);e.allowAttributesOf.push(t);e.inheritTypesFrom.push(t)}}}function df(t,e){const n=t[e];return uf(t).filter(t=>t.allowIn.includes(n.name))}function uf(t){return Object.keys(t).map(e=>t[e])}function hf(t){if(typeof t==\"string\"){return{name:t,*getAttributeKeys(){},getAttribute(){}}}else{return{name:t.is(\"element\")?t.name:\"$text\",*getAttributeKeys(){yield*t.getAttributeKeys()},getAttribute(e){return t.getAttribute(e)}}}}function*ff(t,e){let n=false;while(!n){n=true;if(t){const e=t.next();if(!e.done){n=false;yield{walker:t,value:e.value}}}if(e){const t=e.next();if(!t.done){n=false;yield{walker:e,value:t.value}}}}}function*mf(t){for(const e of t){yield*e.getMinimalFlatRanges()}}function gf(t,e,n){for(const i of e.getAttributeKeys()){if(!t.checkAttribute(e,i)){n.removeAttribute(i,e)}}}class pf{constructor(t={}){this._splitParts=new Map;this._modelCursor=null;this.conversionApi=Object.assign({},t);this.conversionApi.convertItem=this._convertItem.bind(this);this.conversionApi.convertChildren=this._convertChildren.bind(this);this.conversionApi.splitToAllowedParent=this._splitToAllowedParent.bind(this);this.conversionApi.getSplitParts=this._getSplitParts.bind(this)}convert(t,e,n=[\"$root\"]){this.fire(\"viewCleanup\",t);this._modelCursor=wf(n,e);this.conversionApi.writer=e;this.conversionApi.consumable=Kh.createFrom(t);this.conversionApi.store={};const{modelRange:i}=this._convertItem(t,this._modelCursor);const o=e.createDocumentFragment();if(i){this._removeEmptyElements();for(const t of Array.from(this._modelCursor.parent.getChildren())){e.append(t,o)}o.markers=bf(o,e)}this._modelCursor=null;this._splitParts.clear();this.conversionApi.writer=null;this.conversionApi.store=null;return o}_convertItem(t,e){const n=Object.assign({viewItem:t,modelCursor:e,modelRange:null});if(t.is(\"element\")){this.fire(\"element:\"+t.name,n,this.conversionApi)}else if(t.is(\"text\")){this.fire(\"text\",n,this.conversionApi)}else{this.fire(\"documentFragment\",n,this.conversionApi)}if(n.modelRange&&!(n.modelRange instanceof Au)){throw new Qs[\"b\"](\"view-conversion-dispatcher-incorrect-result: Incorrect conversion result was dropped.\",this)}return{modelRange:n.modelRange,modelCursor:n.modelCursor}}_convertChildren(t,e){const n=new Au(e);let i=e;for(const e of Array.from(t.getChildren())){const t=this._convertItem(e,i);if(t.modelRange instanceof Au){n.end=t.modelRange.end;i=t.modelCursor}}return{modelRange:n,modelCursor:i}}_splitToAllowedParent(t,e){const n=this.conversionApi.schema.findAllowedParent(e,t);if(!n){return null}if(n===e.parent){return{position:e}}if(this._modelCursor.parent.getAncestors().includes(n)){return null}const i=this.conversionApi.writer.split(e,n);const o=[];for(const t of i.range.getWalker()){if(t.type==\"elementEnd\"){o.push(t.item)}else{const e=o.pop();const n=t.item;this._registerSplitPair(e,n)}}return{position:i.position,cursorParent:i.range.end.parent}}_registerSplitPair(t,e){if(!this._splitParts.has(t)){this._splitParts.set(t,[t])}const n=this._splitParts.get(t);this._splitParts.set(e,n);n.push(e)}_getSplitParts(t){let e;if(!this._splitParts.has(t)){e=[t]}else{e=this._splitParts.get(t)}return e}_removeEmptyElements(){let t=false;for(const e of this._splitParts.keys()){if(e.isEmpty){this.conversionApi.writer.remove(e);this._splitParts.delete(e);t=true}}if(t){this._removeEmptyElements()}}}vr(pf,lr);function bf(t,e){const n=new Set;const i=new Map;const o=Au._createIn(t).getItems();for(const t of o){if(t.name==\"$marker\"){n.add(t)}}for(const t of n){const n=t.getAttribute(\"data-name\");const o=e.createPositionBefore(t);if(!i.has(n)){i.set(n,new Au(o.clone()))}else{i.get(n).end=o.clone()}e.remove(t)}return i}function wf(t,e){let n;for(const i of new Qh(t)){const t={};for(const e of i.getAttributeKeys()){t[e]=i.getAttribute(e)}const o=e.createElement(i.name,t);if(n){e.append(o,n)}n=yu._createAt(o,0)}return n}class _f{constructor(t,e){this.model=t;this.processor=e;this.mapper=new Cu;this.downcastDispatcher=new Eu({mapper:this.mapper});this.downcastDispatcher.on(\"insert:$text\",Xu(),{priority:\"lowest\"});this.upcastDispatcher=new pf({schema:t.schema});this.upcastDispatcher.on(\"text\",yh(),{priority:\"lowest\"});this.upcastDispatcher.on(\"element\",xh(),{priority:\"lowest\"});this.upcastDispatcher.on(\"documentFragment\",xh(),{priority:\"lowest\"});this.decorate(\"init\");this.on(\"init\",()=>{this.fire(\"ready\")},{priority:\"lowest\"})}get(t){const{rootName:e=\"main\",trim:n=\"empty\"}=t||{};if(!this._checkIfRootsExists([e])){throw new Qs[\"b\"](\"datacontroller-get-non-existent-root: Attempting to get data from a non-existing root.\",this)}const i=this.model.document.getRoot(e);if(n===\"empty\"&&!this.model.hasContent(i,{ignoreWhitespaces:true})){return\"\"}return this.stringify(i)}stringify(t){const e=this.toView(t);return this.processor.toData(e)}toView(t){this.mapper.clearBindings();const e=Au._createIn(t);const n=new pc;const i=new wc(new Ha);this.mapper.bindElements(t,n);this.downcastDispatcher.convertInsert(e,i);if(!t.is(\"documentFragment\")){const e=vf(t);for(const[t,n]of e){this.downcastDispatcher.convertMarkerAdd(t,n,i)}}return n}init(t){if(this.model.document.version){throw new Qs[\"b\"](\"datacontroller-init-document-not-empty: Trying to set initial data to not empty document.\",this)}let e={};if(typeof t===\"string\"){e.main=t}else{e=t}if(!this._checkIfRootsExists(Object.keys(e))){throw new Qs[\"b\"](\"datacontroller-init-non-existent-root: Attempting to init data on a non-existing root.\",this)}this.model.enqueueChange(\"transparent\",t=>{for(const n of Object.keys(e)){const i=this.model.document.getRoot(n);t.insert(this.parse(e[n],i),i,0)}});return Promise.resolve()}set(t){let e={};if(typeof t===\"string\"){e.main=t}else{e=t}if(!this._checkIfRootsExists(Object.keys(e))){throw new Qs[\"b\"](\"datacontroller-set-non-existent-root: Attempting to set data on a non-existing root.\",this)}this.model.enqueueChange(\"transparent\",t=>{t.setSelection(null);t.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const n of Object.keys(e)){const i=this.model.document.getRoot(n);t.remove(t.createRangeIn(i));t.insert(this.parse(e[n],i),i,0)}})}parse(t,e=\"$root\"){const n=this.processor.toView(t);return this.toModel(n,e)}toModel(t,e=\"$root\"){return this.model.change(n=>this.upcastDispatcher.convert(t,n,e))}destroy(){this.stopListening()}_checkIfRootsExists(t){for(const e of t){if(!this.model.document.getRootNames().includes(e)){return false}}return true}}vr(_f,_a);function vf(t){const e=[];const n=t.root.document;if(!n){return[]}const i=Au._createIn(t);for(const t of n.model.markers){const n=i.getIntersection(t.getRange());if(n){e.push([t.name,n])}}return e}class kf{constructor(t,e){this._helpers=new Map;this._downcast=Array.isArray(t)?t:[t];this._createConversionHelpers({name:\"downcast\",dispatchers:this._downcast,isDowncast:true});this._upcast=Array.isArray(e)?e:[e];this._createConversionHelpers({name:\"upcast\",dispatchers:this._upcast,isDowncast:false})}addAlias(t,e){const n=this._downcast.includes(e);const i=this._upcast.includes(e);if(!i&&!n){throw new Qs[\"b\"](\"conversion-add-alias-dispatcher-not-registered: \"+\"Trying to register and alias for a dispatcher that nas not been registered.\",this)}this._createConversionHelpers({name:t,dispatchers:[e],isDowncast:n})}for(t){if(!this._helpers.has(t)){throw new Qs[\"b\"](\"conversion-for-unknown-group: Trying to add a converter to an unknown dispatchers group.\",this)}return this._helpers.get(t)}elementToElement(t){this.for(\"downcast\").elementToElement(t);for(const{model:e,view:n}of xf(t)){this.for(\"upcast\").elementToElement({model:e,view:n,converterPriority:t.converterPriority})}}attributeToElement(t){this.for(\"downcast\").attributeToElement(t);for(const{model:e,view:n}of xf(t)){this.for(\"upcast\").elementToAttribute({view:n,model:e,converterPriority:t.converterPriority})}}attributeToAttribute(t){this.for(\"downcast\").attributeToAttribute(t);for(const{model:e,view:n}of xf(t)){this.for(\"upcast\").attributeToAttribute({view:n,model:e})}}_createConversionHelpers({name:t,dispatchers:e,isDowncast:n}){if(this._helpers.has(t)){throw new Qs[\"b\"](\"conversion-group-exists: Trying to register a group name that has already been registered.\",this)}const i=n?new Ju(e):new kh(e);this._helpers.set(t,i)}}function*xf(t){if(t.model.values){for(const e of t.model.values){const n={key:t.model.key,value:e};const i=t.view[e];const o=t.upcastAlso?t.upcastAlso[e]:undefined;yield*yf(n,i,o)}}else{yield*yf(t.model,t.view,t.upcastAlso)}}function*yf(t,e,n){yield{model:t,view:e};if(n){n=Array.isArray(n)?n:[n];for(const e of n){yield{model:t,view:e}}}}class Af{constructor(t=\"default\"){this.operations=[];this.type=t}get baseVersion(){for(const t of this.operations){if(t.baseVersion!==null){return t.baseVersion}}return null}addOperation(t){t.batch=this;this.operations.push(t);return t}}class Cf{constructor(t){this.baseVersion=t;this.isDocumentOperation=this.baseVersion!==null;this.batch=null}_validate(){}toJSON(){const t=Object.assign({},this);t.__className=this.constructor.className;delete t.batch;delete t.isDocumentOperation;return t}static get className(){return\"Operation\"}static fromJSON(t){return new this(t.baseVersion)}}class Tf{constructor(t){this.markers=new Map;this._children=new pu;if(t){this._insertChild(0,t)}}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return this.childCount===0}get root(){return this}get parent(){return null}is(t){return t==\"documentFragment\"||t==\"model:documentFragment\"}getChild(t){return this._children.getNode(t)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(t){return this._children.getNodeIndex(t)}getChildStartOffset(t){return this._children.getNodeStartOffset(t)}getPath(){return[]}getNodeByPath(t){let e=this;for(const n of t){e=e.getChild(e.offsetToIndex(n))}return e}offsetToIndex(t){return this._children.offsetToIndex(t)}toJSON(){const t=[];for(const e of this._children){t.push(e.toJSON())}return t}static fromJSON(t){const e=[];for(const n of t){if(n.name){e.push(bu.fromJSON(n))}else{e.push(mu.fromJSON(n))}}return new Tf(e)}_appendChild(t){this._insertChild(this.childCount,t)}_insertChild(t,e){const n=Mf(e);for(const t of n){if(t.parent!==null){t._remove()}t.parent=this}this._children._insertNodes(t,n)}_removeChildren(t,e=1){const n=this._children._removeNodes(t,e);for(const t of n){t.parent=null}return n}}function Mf(t){if(typeof t==\"string\"){return[new mu(t)]}if(!Pr(t)){t=[t]}return Array.from(t).map(t=>{if(typeof t==\"string\"){return new mu(t)}if(t instanceof gu){return new mu(t.data,t.getAttributes())}return t})}function Ef(t,e){e=Of(e);const n=e.reduce((t,e)=>t+e.offsetSize,0);const i=t.parent;Lf(t);const o=t.index;i._insertChild(o,e);Nf(i,o+e.length);Nf(i,o);return new Au(t,t.getShiftedBy(n))}function Pf(t){if(!t.isFlat){throw new Qs[\"b\"](\"operation-utils-remove-range-not-flat: \"+\"Trying to remove a range which starts and ends in different element.\",this)}const e=t.start.parent;Lf(t.start);Lf(t.end);const n=e._removeChildren(t.start.index,t.end.index-t.start.index);Nf(e,t.start.index);return n}function Sf(t,e){if(!t.isFlat){throw new Qs[\"b\"](\"operation-utils-move-range-not-flat: \"+\"Trying to move a range which starts and ends in different element.\",this)}const n=Pf(t);e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset);return Ef(e,n)}function If(t,e,n){Lf(t.start);Lf(t.end);for(const i of t.getItems({shallow:true})){const t=i.is(\"textProxy\")?i.textNode:i;if(n!==null){t._setAttribute(e,n)}else{t._removeAttribute(e)}Nf(t.parent,t.index)}Nf(t.end.parent,t.end.index)}function Of(t){const e=[];if(!(t instanceof Array)){t=[t]}for(let n=0;n<t.length;n++){if(typeof t[n]==\"string\"){e.push(new mu(t[n]))}else if(t[n]instanceof gu){e.push(new mu(t[n].data,t[n].getAttributes()))}else if(t[n]instanceof Tf||t[n]instanceof pu){for(const i of t[n]){e.push(i)}}else if(t[n]instanceof fu){e.push(t[n])}}for(let t=1;t<e.length;t++){const n=e[t];const i=e[t-1];if(n instanceof mu&&i instanceof mu&&Rf(n,i)){e.splice(t-1,2,new mu(i.data+n.data,i.getAttributes()));t--}}return e}function Nf(t,e){const n=t.getChild(e-1);const i=t.getChild(e);if(n&&i&&n.is(\"text\")&&i.is(\"text\")&&Rf(n,i)){const o=new mu(n.data+i.data,n.getAttributes());t._removeChildren(e-1,2);t._insertChild(e-1,o)}}function Lf(t){const e=t.textNode;const n=t.parent;if(e){const i=t.offset-e.startOffset;const o=e.index;n._removeChildren(o,1);const s=new mu(e.data.substr(0,i),e.getAttributes());const r=new mu(e.data.substr(i),e.getAttributes());n._insertChild(o,[s,r])}}function Rf(t,e){const n=t.getAttributes();const i=e.getAttributes();for(const t of n){if(t[1]!==e.getAttribute(t[0])){return false}i.next()}return i.next().done}function Df(t,e){return pd(t,e)}var jf=Df;class zf extends Cf{constructor(t,e,n,i,o){super(o);this.range=t.clone();this.key=e;this.oldValue=n===undefined?null:n;this.newValue=i===undefined?null:i}get type(){if(this.oldValue===null){return\"addAttribute\"}else if(this.newValue===null){return\"removeAttribute\"}else{return\"changeAttribute\"}}clone(){return new zf(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new zf(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const t=super.toJSON();t.range=this.range.toJSON();return t}_validate(){if(!this.range.isFlat){throw new Qs[\"b\"](\"attribute-operation-range-not-flat: The range to change is not flat.\",this)}for(const t of this.range.getItems({shallow:true})){if(this.oldValue!==null&&!jf(t.getAttribute(this.key),this.oldValue)){throw new Qs[\"b\"](\"attribute-operation-wrong-old-value: Changed node has different attribute value than operation's \"+\"old attribute value.\",this,{item:t,key:this.key,value:this.oldValue})}if(this.oldValue===null&&this.newValue!==null&&t.hasAttribute(this.key)){throw new Qs[\"b\"](\"attribute-operation-attribute-exists: The attribute with given key already exists.\",this,{node:t,key:this.key})}}}_execute(){if(!jf(this.oldValue,this.newValue)){If(this.range,this.key,this.newValue)}}static get className(){return\"AttributeOperation\"}static fromJSON(t,e){return new zf(Au.fromJSON(t.range,e),t.key,t.oldValue,t.newValue,t.baseVersion)}}class Bf extends Cf{constructor(t,e){super(null);this.sourcePosition=t.clone();this.howMany=e}get type(){return\"detach\"}toJSON(){const t=super.toJSON();t.sourcePosition=this.sourcePosition.toJSON();return t}_validate(){if(this.sourcePosition.root.document){throw new Qs[\"b\"](\"detach-operation-on-document-node: Cannot detach document node.\",this)}}_execute(){Pf(Au._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return\"DetachOperation\"}}class Vf extends Cf{constructor(t,e,n,i){super(i);this.sourcePosition=t.clone();this.sourcePosition.stickiness=\"toNext\";this.howMany=e;this.targetPosition=n.clone();this.targetPosition.stickiness=\"toNone\"}get type(){if(this.targetPosition.root.rootName==\"$graveyard\"){return\"remove\"}else if(this.sourcePosition.root.rootName==\"$graveyard\"){return\"reinsert\"}return\"move\"}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const t=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new this.constructor(this.getMovedRangeStart(),this.howMany,t,this.baseVersion+1)}_validate(){const t=this.sourcePosition.parent;const e=this.targetPosition.parent;const n=this.sourcePosition.offset;const i=this.targetPosition.offset;if(n+this.howMany>t.maxOffset){throw new Qs[\"b\"](\"move-operation-nodes-do-not-exist: The nodes which should be moved do not exist.\",this)}else if(t===e&&n<i&&i<n+this.howMany){throw new Qs[\"b\"](\"move-operation-range-into-itself: Trying to move a range of nodes to the inside of that range.\",this)}else if(this.sourcePosition.root==this.targetPosition.root){if(kr(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())==\"prefix\"){const t=this.sourcePosition.path.length-1;if(this.targetPosition.path[t]>=n&&this.targetPosition.path[t]<n+this.howMany){throw new Qs[\"b\"](\"move-operation-node-into-itself: Trying to move a range of nodes into one of nodes from that range.\",this)}}}}_execute(){Sf(Au._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const t=super.toJSON();t.sourcePosition=this.sourcePosition.toJSON();t.targetPosition=this.targetPosition.toJSON();return t}static get className(){return\"MoveOperation\"}static fromJSON(t,e){const n=yu.fromJSON(t.sourcePosition,e);const i=yu.fromJSON(t.targetPosition,e);return new this(n,t.howMany,i,t.baseVersion)}}class Ff extends Cf{constructor(t,e,n){super(n);this.position=t.clone();this.position.stickiness=\"toNone\";this.nodes=new pu(Of(e));this.shouldReceiveAttributes=false}get type(){return\"insert\"}get howMany(){return this.nodes.maxOffset}clone(){const t=new pu([...this.nodes].map(t=>t._clone(true)));const e=new Ff(this.position,t,this.baseVersion);e.shouldReceiveAttributes=this.shouldReceiveAttributes;return e}getReversed(){const t=this.position.root.document.graveyard;const e=new yu(t,[0]);return new Vf(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}_validate(){const t=this.position.parent;if(!t||t.maxOffset<this.position.offset){throw new Qs[\"b\"](\"insert-operation-position-invalid: Insertion position is invalid.\",this)}}_execute(){const t=this.nodes;this.nodes=new pu([...t].map(t=>t._clone(true)));Ef(this.position,t)}toJSON(){const t=super.toJSON();t.position=this.position.toJSON();t.nodes=this.nodes.toJSON();return t}static get className(){return\"InsertOperation\"}static fromJSON(t,e){const n=[];for(const e of t.nodes){if(e.name){n.push(bu.fromJSON(e))}else{n.push(mu.fromJSON(e))}}const i=new Ff(yu.fromJSON(t.position,e),n,t.baseVersion);i.shouldReceiveAttributes=t.shouldReceiveAttributes;return i}}class Hf extends Cf{constructor(t,e,n,i,o,s){super(s);this.name=t;this.oldRange=e?e.clone():null;this.newRange=n?n.clone():null;this.affectsData=o;this._markers=i}get type(){return\"marker\"}clone(){return new Hf(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new Hf(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){const t=this.newRange?\"_set\":\"_remove\";this._markers[t](this.name,this.newRange,true,this.affectsData)}toJSON(){const t=super.toJSON();if(this.oldRange){t.oldRange=this.oldRange.toJSON()}if(this.newRange){t.newRange=this.newRange.toJSON()}delete t._markers;return t}static get className(){return\"MarkerOperation\"}static fromJSON(t,e){return new Hf(t.name,t.oldRange?Au.fromJSON(t.oldRange,e):null,t.newRange?Au.fromJSON(t.newRange,e):null,e.model.markers,t.affectsData,t.baseVersion)}}class Uf extends Cf{constructor(t,e,n,i){super(i);this.position=t;this.position.stickiness=\"toNext\";this.oldName=e;this.newName=n}get type(){return\"rename\"}clone(){return new Uf(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new Uf(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const t=this.position.nodeAfter;if(!(t instanceof bu)){throw new Qs[\"b\"](\"rename-operation-wrong-position: Given position is invalid or node after it is not an instance of Element.\",this)}else if(t.name!==this.oldName){throw new Qs[\"b\"](\"rename-operation-wrong-name: Element to change has different name than operation's old name.\",this)}}_execute(){const t=this.position.nodeAfter;t.name=this.newName}toJSON(){const t=super.toJSON();t.position=this.position.toJSON();return t}static get className(){return\"RenameOperation\"}static fromJSON(t,e){return new Uf(yu.fromJSON(t.position,e),t.oldName,t.newName,t.baseVersion)}}class Wf extends Cf{constructor(t,e,n,i,o){super(o);this.root=t;this.key=e;this.oldValue=n;this.newValue=i}get type(){if(this.oldValue===null){return\"addRootAttribute\"}else if(this.newValue===null){return\"removeRootAttribute\"}else{return\"changeRootAttribute\"}}clone(){return new Wf(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Wf(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is(\"documentFragment\")){throw new Qs[\"b\"](\"rootattribute-operation-not-a-root: The element to change is not a root element.\",this,{root:this.root,key:this.key})}if(this.oldValue!==null&&this.root.getAttribute(this.key)!==this.oldValue){throw new Qs[\"b\"](\"rootattribute-operation-wrong-old-value: Changed node has different attribute value than operation's \"+\"old attribute value.\",this,{root:this.root,key:this.key})}if(this.oldValue===null&&this.newValue!==null&&this.root.hasAttribute(this.key)){throw new Qs[\"b\"](\"rootattribute-operation-attribute-exists: The attribute with given key already exists.\",this,{root:this.root,key:this.key})}}_execute(){if(this.newValue!==null){this.root._setAttribute(this.key,this.newValue)}else{this.root._removeAttribute(this.key)}}toJSON(){const t=super.toJSON();t.root=this.root.toJSON();return t}static get className(){return\"RootAttributeOperation\"}static fromJSON(t,e){if(!e.getRoot(t.root)){throw new Qs[\"b\"](\"rootattribute-operation-fromjson-no-root: Cannot create RootAttributeOperation. Root with specified name does not exist.\",this,{rootName:t.root})}return new Wf(e.getRoot(t.root),t.key,t.oldValue,t.newValue,t.baseVersion)}}class $f extends Cf{constructor(t,e,n,i,o){super(o);this.sourcePosition=t.clone();this.sourcePosition.stickiness=\"toPrevious\";this.howMany=e;this.targetPosition=n.clone();this.targetPosition.stickiness=\"toNext\";this.graveyardPosition=i.clone()}get type(){return\"merge\"}get deletionPosition(){return new yu(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const t=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Au(this.sourcePosition,t)}clone(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const t=this.targetPosition._getTransformedByMergeOperation(this);const e=this.sourcePosition.path.slice(0,-1);const n=new yu(this.sourcePosition.root,e)._getTransformedByMergeOperation(this);const i=new Yf(t,this.howMany,this.graveyardPosition,this.baseVersion+1);i.insertionPosition=n;return i}_validate(){const t=this.sourcePosition.parent;const e=this.targetPosition.parent;if(!t.parent){throw new Qs[\"b\"](\"merge-operation-source-position-invalid: Merge source position is invalid.\",this)}else if(!e.parent){throw new Qs[\"b\"](\"merge-operation-target-position-invalid: Merge target position is invalid.\",this)}else if(this.howMany!=t.maxOffset){throw new Qs[\"b\"](\"merge-operation-how-many-invalid: Merge operation specifies wrong number of nodes to move.\",this)}}_execute(){const t=this.sourcePosition.parent;const e=Au._createIn(t);Sf(e,this.targetPosition);Sf(Au._createOn(t),this.graveyardPosition)}toJSON(){const t=super.toJSON();t.sourcePosition=t.sourcePosition.toJSON();t.targetPosition=t.targetPosition.toJSON();t.graveyardPosition=t.graveyardPosition.toJSON();return t}static get className(){return\"MergeOperation\"}static fromJSON(t,e){const n=yu.fromJSON(t.sourcePosition,e);const i=yu.fromJSON(t.targetPosition,e);const o=yu.fromJSON(t.graveyardPosition,e);return new this(n,t.howMany,i,o,t.baseVersion)}}class Yf extends Cf{constructor(t,e,n,i){super(i);this.splitPosition=t.clone();this.splitPosition.stickiness=\"toNext\";this.howMany=e;this.insertionPosition=Yf.getInsertionPosition(t);this.insertionPosition.stickiness=\"toNone\";this.graveyardPosition=n?n.clone():null;if(this.graveyardPosition){this.graveyardPosition.stickiness=\"toNext\"}}get type(){return\"split\"}get moveTargetPosition(){const t=this.insertionPosition.path.slice();t.push(0);return new yu(this.insertionPosition.root,t)}get movedRange(){const t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Au(this.splitPosition,t)}clone(){const t=new this.constructor(this.splitPosition,this.howMany,this.graveyardPosition,this.baseVersion);t.insertionPosition=this.insertionPosition;return t}getReversed(){const t=this.splitPosition.root.document.graveyard;const e=new yu(t,[0]);return new $f(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}_validate(){const t=this.splitPosition.parent;const e=this.splitPosition.offset;if(!t||t.maxOffset<e){throw new Qs[\"b\"](\"split-operation-position-invalid: Split position is invalid.\",this)}else if(!t.parent){throw new Qs[\"b\"](\"split-operation-split-in-root: Cannot split root element.\",this)}else if(this.howMany!=t.maxOffset-this.splitPosition.offset){throw new Qs[\"b\"](\"split-operation-how-many-invalid: Split operation specifies wrong number of nodes to move.\",this)}else if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter){throw new Qs[\"b\"](\"split-operation-graveyard-position-invalid: Graveyard position invalid.\",this)}}_execute(){const t=this.splitPosition.parent;if(this.graveyardPosition){Sf(Au._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition)}else{const e=t._clone();Ef(this.insertionPosition,e)}const e=new Au(yu._createAt(t,this.splitPosition.offset),yu._createAt(t,t.maxOffset));Sf(e,this.moveTargetPosition)}toJSON(){const t=super.toJSON();t.splitPosition=this.splitPosition.toJSON();t.insertionPosition=this.insertionPosition.toJSON();if(this.graveyardPosition){t.graveyardPosition=this.graveyardPosition.toJSON()}return t}static get className(){return\"SplitOperation\"}static getInsertionPosition(t){const e=t.path.slice(0,-1);e[e.length-1]++;return new yu(t.root,e)}static fromJSON(t,e){const n=yu.fromJSON(t.splitPosition,e);const i=yu.fromJSON(t.insertionPosition,e);const o=t.graveyardPosition?yu.fromJSON(t.graveyardPosition,e):null;const s=new this(n,t.howMany,o,t.baseVersion);s.insertionPosition=i;return s}}class qf extends bu{constructor(t,e,n=\"main\"){super(e);this._doc=t;this.rootName=n}get document(){return this._doc}is(t,e){const n=t.replace(\"model:\",\"\");if(!e){return n==\"rootElement\"||super.is(t)}else{return n==\"rootElement\"&&e==this.name||super.is(t,e)}}toJSON(){return this.rootName}}class Gf{constructor(t,e){this.model=t;this.batch=e}createText(t,e){return new mu(t,e)}createElement(t,e){return new bu(t,e)}createDocumentFragment(){return new Tf}insert(t,e,n=0){this._assertWriterUsedCorrectly();if(t instanceof mu&&t.data==\"\"){return}const i=yu._createAt(e,n);if(t.parent){if(Zf(t.root,i.root)){this.move(Au._createOn(t),i);return}else{if(t.root.document){throw new Qs[\"b\"](\"model-writer-insert-forbidden-move: \"+\"Cannot move a node from a document to a different tree. \"+\"It is forbidden to move a node that was already in a document outside of it.\",this)}else{this.remove(t)}}}const o=i.root.document?i.root.document.version:null;const s=new Ff(i,t,o);if(t instanceof mu){s.shouldReceiveAttributes=true}this.batch.addOperation(s);this.model.applyOperation(s);if(t instanceof Tf){for(const[e,n]of t.markers){const t=yu._createAt(n.root,0);const o=new Au(n.start._getCombined(t,i),n.end._getCombined(t,i));const s={range:o,usingOperation:true,affectsData:true};if(this.model.markers.has(e)){this.updateMarker(e,s)}else{this.addMarker(e,s)}}}}insertText(t,e,n,i){if(e instanceof Tf||e instanceof bu||e instanceof yu){this.insert(this.createText(t),e,n)}else{this.insert(this.createText(t,e),n,i)}}insertElement(t,e,n,i){if(e instanceof Tf||e instanceof bu||e instanceof yu){this.insert(this.createElement(t),e,n)}else{this.insert(this.createElement(t,e),n,i)}}append(t,e){this.insert(t,e,\"end\")}appendText(t,e,n){if(e instanceof Tf||e instanceof bu){this.insert(this.createText(t),e,\"end\")}else{this.insert(this.createText(t,e),n,\"end\")}}appendElement(t,e,n){if(e instanceof Tf||e instanceof bu){this.insert(this.createElement(t),e,\"end\")}else{this.insert(this.createElement(t,e),n,\"end\")}}setAttribute(t,e,n){this._assertWriterUsedCorrectly();if(n instanceof Au){const i=n.getMinimalFlatRanges();for(const n of i){Kf(this,t,e,n)}}else{Jf(this,t,e,n)}}setAttributes(t,e){for(const[n,i]of hu(t)){this.setAttribute(n,i,e)}}removeAttribute(t,e){this._assertWriterUsedCorrectly();if(e instanceof Au){const n=e.getMinimalFlatRanges();for(const e of n){Kf(this,t,null,e)}}else{Jf(this,t,null,e)}}clearAttributes(t){this._assertWriterUsedCorrectly();const e=t=>{for(const e of t.getAttributeKeys()){this.removeAttribute(e,t)}};if(!(t instanceof Au)){e(t)}else{for(const n of t.getItems()){e(n)}}}move(t,e,n){this._assertWriterUsedCorrectly();if(!(t instanceof Au)){throw new Qs[\"b\"](\"writer-move-invalid-range: Invalid range to move.\",this)}if(!t.isFlat){throw new Qs[\"b\"](\"writer-move-range-not-flat: Range to move is not flat.\",this)}const i=yu._createAt(e,n);if(i.isEqual(t.start)){return}this._addOperationForAffectedMarkers(\"move\",t);if(!Zf(t.root,i.root)){throw new Qs[\"b\"](\"writer-move-different-document: Range is going to be moved between different documents.\",this)}const o=t.root.document?t.root.document.version:null;const s=new Vf(t.start,t.end.offset-t.start.offset,i,o);this.batch.addOperation(s);this.model.applyOperation(s)}remove(t){this._assertWriterUsedCorrectly();const e=t instanceof Au?t:Au._createOn(t);const n=e.getMinimalFlatRanges().reverse();for(const t of n){this._addOperationForAffectedMarkers(\"move\",t);Qf(t.start,t.end.offset-t.start.offset,this.batch,this.model)}}merge(t){this._assertWriterUsedCorrectly();const e=t.nodeBefore;const n=t.nodeAfter;this._addOperationForAffectedMarkers(\"merge\",t);if(!(e instanceof bu)){throw new Qs[\"b\"](\"writer-merge-no-element-before: Node before merge position must be an element.\",this)}if(!(n instanceof bu)){throw new Qs[\"b\"](\"writer-merge-no-element-after: Node after merge position must be an element.\",this)}if(!t.root.document){this._mergeDetached(t)}else{this._merge(t)}}createPositionFromPath(t,e,n){return this.model.createPositionFromPath(t,e,n)}createPositionAt(t,e){return this.model.createPositionAt(t,e)}createPositionAfter(t){return this.model.createPositionAfter(t)}createPositionBefore(t){return this.model.createPositionBefore(t)}createRange(t,e){return this.model.createRange(t,e)}createRangeIn(t){return this.model.createRangeIn(t)}createRangeOn(t){return this.model.createRangeOn(t)}createSelection(t,e,n){return this.model.createSelection(t,e,n)}_mergeDetached(t){const e=t.nodeBefore;const n=t.nodeAfter;this.move(Au._createIn(n),yu._createAt(e,\"end\"));this.remove(n)}_merge(t){const e=yu._createAt(t.nodeBefore,\"end\");const n=yu._createAt(t.nodeAfter,0);const i=t.root.document.graveyard;const o=new yu(i,[0]);const s=t.root.document.version;const r=new $f(n,t.nodeAfter.maxOffset,e,o,s);this.batch.addOperation(r);this.model.applyOperation(r)}rename(t,e){this._assertWriterUsedCorrectly();if(!(t instanceof bu)){throw new Qs[\"b\"](\"writer-rename-not-element-instance: Trying to rename an object which is not an instance of Element.\",this)}const n=t.root.document?t.root.document.version:null;const i=new Uf(yu._createBefore(t),t.name,e,n);this.batch.addOperation(i);this.model.applyOperation(i)}split(t,e){this._assertWriterUsedCorrectly();let n=t.parent;if(!n.parent){throw new Qs[\"b\"](\"writer-split-element-no-parent: Element with no parent can not be split.\",this)}if(!e){e=n.parent}if(!t.parent.getAncestors({includeSelf:true}).includes(e)){throw new Qs[\"b\"](\"writer-split-invalid-limit-element: Limit element is not a position ancestor.\",this)}let i,o;do{const e=n.root.document?n.root.document.version:null;const s=n.maxOffset-t.offset;const r=new Yf(t,s,null,e);this.batch.addOperation(r);this.model.applyOperation(r);if(!i&&!o){i=n;o=t.parent.nextSibling}t=this.createPositionAfter(t.parent);n=t.parent}while(n!==e);return{position:t,range:new Au(yu._createAt(i,\"end\"),yu._createAt(o,0))}}wrap(t,e){this._assertWriterUsedCorrectly();if(!t.isFlat){throw new Qs[\"b\"](\"writer-wrap-range-not-flat: Range to wrap is not flat.\",this)}const n=e instanceof bu?e:new bu(e);if(n.childCount>0){throw new Qs[\"b\"](\"writer-wrap-element-not-empty: Element to wrap with is not empty.\",this)}if(n.parent!==null){throw new Qs[\"b\"](\"writer-wrap-element-attached: Element to wrap with is already attached to tree model.\",this)}this.insert(n,t.start);const i=new Au(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(i,yu._createAt(n,0))}unwrap(t){this._assertWriterUsedCorrectly();if(t.parent===null){throw new Qs[\"b\"](\"writer-unwrap-element-no-parent: Trying to unwrap an element which has no parent.\",this)}this.move(Au._createIn(t),this.createPositionAfter(t));this.remove(t)}addMarker(t,e){this._assertWriterUsedCorrectly();if(!e||typeof e.usingOperation!=\"boolean\"){throw new Qs[\"b\"](\"writer-addMarker-no-usingOperation: The options.usingOperation parameter is required when adding a new marker.\",this)}const n=e.usingOperation;const i=e.range;const o=e.affectsData===undefined?false:e.affectsData;if(this.model.markers.has(t)){throw new Qs[\"b\"](\"writer-addMarker-marker-exists: Marker with provided name already exists.\",this)}if(!i){throw new Qs[\"b\"](\"writer-addMarker-no-range: Range parameter is required when adding a new marker.\",this)}if(!n){return this.model.markers._set(t,i,n,o)}Xf(this,t,null,i,o);return this.model.markers.get(t)}updateMarker(t,e){this._assertWriterUsedCorrectly();const n=typeof t==\"string\"?t:t.name;const i=this.model.markers.get(n);if(!i){throw new Qs[\"b\"](\"writer-updateMarker-marker-not-exists: Marker with provided name does not exists.\",this)}if(!e){this.model.markers._refresh(i);return}const o=typeof e.usingOperation==\"boolean\";const s=typeof e.affectsData==\"boolean\";const r=s?e.affectsData:i.affectsData;if(!o&&!e.range&&!s){throw new Qs[\"b\"](\"writer-updateMarker-wrong-options: One of the options is required - provide range, usingOperations or affectsData.\",this)}const a=i.getRange();const c=e.range?e.range:a;if(o&&e.usingOperation!==i.managedUsingOperations){if(e.usingOperation){Xf(this,n,null,c,r)}else{Xf(this,n,a,null,r);this.model.markers._set(n,c,undefined,r)}return}if(i.managedUsingOperations){Xf(this,n,a,c,r)}else{this.model.markers._set(n,c,undefined,r)}}removeMarker(t){this._assertWriterUsedCorrectly();const e=typeof t==\"string\"?t:t.name;if(!this.model.markers.has(e)){throw new Qs[\"b\"](\"writer-removeMarker-no-marker: Trying to remove marker which does not exist.\",this)}const n=this.model.markers.get(e);if(!n.managedUsingOperations){this.model.markers._remove(e);return}const i=n.getRange();Xf(this,e,i,null,n.affectsData)}setSelection(t,e,n){this._assertWriterUsedCorrectly();this.model.document.selection._setTo(t,e,n)}setSelectionFocus(t,e){this._assertWriterUsedCorrectly();this.model.document.selection._setFocus(t,e)}setSelectionAttribute(t,e){this._assertWriterUsedCorrectly();if(typeof t===\"string\"){this._setSelectionAttribute(t,e)}else{for(const[e,n]of hu(t)){this._setSelectionAttribute(e,n)}}}removeSelectionAttribute(t){this._assertWriterUsedCorrectly();if(typeof t===\"string\"){this._removeSelectionAttribute(t)}else{for(const e of t){this._removeSelectionAttribute(e)}}}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(t){this.model.document.selection._restoreGravity(t)}_setSelectionAttribute(t,e){const n=this.model.document.selection;if(n.isCollapsed&&n.anchor.parent.isEmpty){const i=Fu._getStoreAttributeKey(t);this.setAttribute(i,e,n.anchor.parent)}n._setAttribute(t,e)}_removeSelectionAttribute(t){const e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){const n=Fu._getStoreAttributeKey(t);this.removeAttribute(n,e.anchor.parent)}e._removeAttribute(t)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this){throw new Qs[\"b\"](\"writer-incorrect-use: Trying to use a writer outside the change() block.\",this)}}_addOperationForAffectedMarkers(t,e){for(const n of this.model.markers){if(!n.managedUsingOperations){continue}const i=n.getRange();let o=false;if(t==\"move\"){o=e.containsPosition(i.start)||e.start.isEqual(i.start)||e.containsPosition(i.end)||e.end.isEqual(i.end)}else{const t=e.nodeBefore;const n=e.nodeAfter;const s=i.start.parent==t&&i.start.isAtEnd;const r=i.end.parent==n&&i.end.offset==0;const a=i.end.nodeAfter==n;const c=i.start.nodeAfter==n;o=s||r||a||c}if(o){this.updateMarker(n.name,{range:i})}}}}function Kf(t,e,n,i){const o=t.model;const s=o.document;let r=i.start;let a;let c;let l;for(const t of i.getWalker({shallow:true})){l=t.item.getAttribute(e);if(a&&c!=l){if(c!=n){d()}r=a}a=t.nextPosition;c=l}if(a instanceof yu&&a!=r&&c!=n){d()}function d(){const i=new Au(r,a);const l=i.root.document?s.version:null;const d=new zf(i,e,c,n,l);t.batch.addOperation(d);o.applyOperation(d)}}function Jf(t,e,n,i){const o=t.model;const s=o.document;const r=i.getAttribute(e);let a,c;if(r!=n){const l=i.root===i;if(l){const t=i.document?s.version:null;c=new Wf(i,e,r,n,t)}else{a=new Au(yu._createBefore(i),t.createPositionAfter(i));const o=a.root.document?s.version:null;c=new zf(a,e,r,n,o)}t.batch.addOperation(c);o.applyOperation(c)}}function Xf(t,e,n,i,o){const s=t.model;const r=s.document;const a=new Hf(e,n,i,s.markers,o,r.version);t.batch.addOperation(a);s.applyOperation(a)}function Qf(t,e,n,i){let o;if(t.root.document){const n=i.document;const s=new yu(n.graveyard,[0]);o=new Vf(t,e,s,n.version)}else{o=new Bf(t,e)}n.addOperation(o);i.applyOperation(o)}function Zf(t,e){if(t===e){return true}if(t instanceof qf&&e instanceof qf){return true}return false}class tm{constructor(t){this._markerCollection=t;this._changesInElement=new Map;this._elementSnapshots=new Map;this._changedMarkers=new Map;this._changeCount=0;this._cachedChanges=null;this._cachedChangesWithGraveyard=null}get isEmpty(){return this._changesInElement.size==0&&this._changedMarkers.size==0}refreshItem(t){if(this._isInInsertedElement(t.parent)){return}this._markRemove(t.parent,t.startOffset,t.offsetSize);this._markInsert(t.parent,t.startOffset,t.offsetSize);const e=Au._createOn(t);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getRange();this.bufferMarkerChange(t.name,e,e,t.affectsData)}this._cachedChanges=null}bufferOperation(t){switch(t.type){case\"insert\":{if(this._isInInsertedElement(t.position.parent)){return}this._markInsert(t.position.parent,t.position.offset,t.nodes.maxOffset);break}case\"addAttribute\":case\"removeAttribute\":case\"changeAttribute\":{for(const e of t.range.getItems({shallow:true})){if(this._isInInsertedElement(e.parent)){continue}this._markAttribute(e)}break}case\"remove\":case\"move\":case\"reinsert\":{if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition)){return}const e=this._isInInsertedElement(t.sourcePosition.parent);const n=this._isInInsertedElement(t.targetPosition.parent);if(!e){this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany)}if(!n){this._markInsert(t.targetPosition.parent,t.getMovedRangeStart().offset,t.howMany)}break}case\"rename\":{if(this._isInInsertedElement(t.position.parent)){return}this._markRemove(t.position.parent,t.position.offset,1);this._markInsert(t.position.parent,t.position.offset,1);const e=Au._createFromPositionAndShift(t.position,1);for(const t of this._markerCollection.getMarkersIntersectingRange(e)){const e=t.getRange();this.bufferMarkerChange(t.name,e,e,t.affectsData)}break}case\"split\":{const e=t.splitPosition.parent;if(!this._isInInsertedElement(e)){this._markRemove(e,t.splitPosition.offset,t.howMany)}if(!this._isInInsertedElement(t.insertionPosition.parent)){this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1)}if(t.graveyardPosition){this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1)}break}case\"merge\":{const e=t.sourcePosition.parent;if(!this._isInInsertedElement(e.parent)){this._markRemove(e.parent,e.startOffset,1)}const n=t.graveyardPosition.parent;this._markInsert(n,t.graveyardPosition.offset,1);const i=t.targetPosition.parent;if(!this._isInInsertedElement(i)){this._markInsert(i,t.targetPosition.offset,e.maxOffset)}break}}this._cachedChanges=null}bufferMarkerChange(t,e,n,i){const o=this._changedMarkers.get(t);if(!o){this._changedMarkers.set(t,{oldRange:e,newRange:n,affectsData:i})}else{o.newRange=n;o.affectsData=i;if(o.oldRange==null&&o.newRange==null){this._changedMarkers.delete(t)}}}getMarkersToRemove(){const t=[];for(const[e,n]of this._changedMarkers){if(n.oldRange!=null){t.push({name:e,range:n.oldRange})}}return t}getMarkersToAdd(){const t=[];for(const[e,n]of this._changedMarkers){if(n.newRange!=null){t.push({name:e,range:n.newRange})}}return t}getChangedMarkers(){return Array.from(this._changedMarkers).map(t=>({name:t[0],data:{oldRange:t[1].oldRange,newRange:t[1].newRange}}))}hasDataChanges(){for(const[,t]of this._changedMarkers){if(t.affectsData){return true}}return this._changesInElement.size>0}getChanges(t={includeChangesInGraveyard:false}){if(this._cachedChanges){if(t.includeChangesInGraveyard){return this._cachedChangesWithGraveyard.slice()}else{return this._cachedChanges.slice()}}const e=[];for(const t of this._changesInElement.keys()){const n=this._changesInElement.get(t).sort((t,e)=>{if(t.offset===e.offset){if(t.type!=e.type){return t.type==\"remove\"?-1:1}return 0}return t.offset<e.offset?-1:1});const i=this._elementSnapshots.get(t);const o=em(t.getChildren());const s=nm(i.length,n);let r=0;let a=0;for(const n of s){if(n===\"i\"){e.push(this._getInsertDiff(t,r,o[r].name));r++}else if(n===\"r\"){e.push(this._getRemoveDiff(t,r,i[a].name));a++}else if(n===\"a\"){const n=o[r].attributes;const s=i[a].attributes;let c;if(o[r].name==\"$text\"){c=new Au(yu._createAt(t,r),yu._createAt(t,r+1))}else{const e=t.offsetToIndex(r);c=new Au(yu._createAt(t,r),yu._createAt(t.getChild(e),0))}e.push(...this._getAttributesDiff(c,s,n));r++;a++}else{r++;a++}}}e.sort((t,e)=>{if(t.position.root!=e.position.root){return t.position.root.rootName<e.position.root.rootName?-1:1}if(t.position.isEqual(e.position)){return t.changeCount-e.changeCount}return t.position.isBefore(e.position)?-1:1});for(let t=1;t<e.length;t++){const n=e[t-1];const i=e[t];const o=n.type==\"remove\"&&i.type==\"remove\"&&n.name==\"$text\"&&i.name==\"$text\"&&n.position.isEqual(i.position);const s=n.type==\"insert\"&&i.type==\"insert\"&&n.name==\"$text\"&&i.name==\"$text\"&&n.position.parent==i.position.parent&&n.position.offset+n.length==i.position.offset;const r=n.type==\"attribute\"&&i.type==\"attribute\"&&n.position.parent==i.position.parent&&n.range.isFlat&&i.range.isFlat&&n.position.offset+n.length==i.position.offset&&n.attributeKey==i.attributeKey&&n.attributeOldValue==i.attributeOldValue&&n.attributeNewValue==i.attributeNewValue;if(o||s||r){e[t-1].length++;if(r){e[t-1].range.end=e[t-1].range.end.getShiftedBy(1)}e.splice(t,1);t--}}for(const t of e){delete t.changeCount;if(t.type==\"attribute\"){delete t.position;delete t.length}}this._changeCount=0;this._cachedChangesWithGraveyard=e.slice();this._cachedChanges=e.slice().filter(im);if(t.includeChangesInGraveyard){return this._cachedChangesWithGraveyard}else{return this._cachedChanges}}reset(){this._changesInElement.clear();this._elementSnapshots.clear();this._changedMarkers.clear();this._cachedChanges=null}_markInsert(t,e,n){const i={type:\"insert\",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,i)}_markRemove(t,e,n){const i={type:\"remove\",offset:e,howMany:n,count:this._changeCount++};this._markChange(t,i);this._removeAllNestedChanges(t,e,n)}_markAttribute(t){const e={type:\"attribute\",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}_markChange(t,e){this._makeSnapshot(t);const n=this._getChangesForElement(t);this._handleChange(e,n);n.push(e);for(let t=0;t<n.length;t++){if(n[t].howMany<1){n.splice(t,1);t--}}}_getChangesForElement(t){let e;if(this._changesInElement.has(t)){e=this._changesInElement.get(t)}else{e=[];this._changesInElement.set(t,e)}return e}_makeSnapshot(t){if(!this._elementSnapshots.has(t)){this._elementSnapshots.set(t,em(t.getChildren()))}}_handleChange(t,e){t.nodesToHandle=t.howMany;for(const n of e){const i=t.offset+t.howMany;const o=n.offset+n.howMany;if(t.type==\"insert\"){if(n.type==\"insert\"){if(t.offset<=n.offset){n.offset+=t.howMany}else if(t.offset<o){n.howMany+=t.nodesToHandle;t.nodesToHandle=0}}if(n.type==\"remove\"){if(t.offset<n.offset){n.offset+=t.howMany}}if(n.type==\"attribute\"){if(t.offset<=n.offset){n.offset+=t.howMany}else if(t.offset<o){const o=n.howMany;n.howMany=t.offset-n.offset;e.unshift({type:\"attribute\",offset:i,howMany:o-n.howMany,count:this._changeCount++})}}}if(t.type==\"remove\"){if(n.type==\"insert\"){if(i<=n.offset){n.offset-=t.howMany}else if(i<=o){if(t.offset<n.offset){const e=i-n.offset;n.offset=t.offset;n.howMany-=e;t.nodesToHandle-=e}else{n.howMany-=t.nodesToHandle;t.nodesToHandle=0}}else{if(t.offset<=n.offset){t.nodesToHandle-=n.howMany;n.howMany=0}else if(t.offset<o){const e=o-t.offset;n.howMany-=e;t.nodesToHandle-=e}}}if(n.type==\"remove\"){if(i<=n.offset){n.offset-=t.howMany}else if(t.offset<n.offset){t.nodesToHandle+=n.howMany;n.howMany=0}}if(n.type==\"attribute\"){if(i<=n.offset){n.offset-=t.howMany}else if(t.offset<n.offset){const e=i-n.offset;n.offset=t.offset;n.howMany-=e}else if(t.offset<o){if(i<=o){const i=n.howMany;n.howMany=t.offset-n.offset;const o=i-n.howMany-t.nodesToHandle;e.unshift({type:\"attribute\",offset:t.offset,howMany:o,count:this._changeCount++})}else{n.howMany-=o-t.offset}}}}if(t.type==\"attribute\"){if(n.type==\"insert\"){if(t.offset<n.offset&&i>n.offset){if(i>o){const t={type:\"attribute\",offset:o,howMany:i-o,count:this._changeCount++};this._handleChange(t,e);e.push(t)}t.nodesToHandle=n.offset-t.offset;t.howMany=t.nodesToHandle}else if(t.offset>=n.offset&&t.offset<o){if(i>o){t.nodesToHandle=i-o;t.offset=o}else{t.nodesToHandle=0}}}if(n.type==\"remove\"){if(t.offset<n.offset&&i>n.offset){const o={type:\"attribute\",offset:n.offset,howMany:i-n.offset,count:this._changeCount++};this._handleChange(o,e);e.push(o);t.nodesToHandle=n.offset-t.offset;t.howMany=t.nodesToHandle}}if(n.type==\"attribute\"){if(t.offset>=n.offset&&i<=o){t.nodesToHandle=0;t.howMany=0;t.offset=0}else if(t.offset<=n.offset&&i>=o){n.howMany=0}}}}t.howMany=t.nodesToHandle;delete t.nodesToHandle}_getInsertDiff(t,e,n){return{type:\"insert\",position:yu._createAt(t,e),name:n,length:1,changeCount:this._changeCount++}}_getRemoveDiff(t,e,n){return{type:\"remove\",position:yu._createAt(t,e),name:n,length:1,changeCount:this._changeCount++}}_getAttributesDiff(t,e,n){const i=[];n=new Map(n);for(const[o,s]of e){const e=n.has(o)?n.get(o):null;if(e!==s){i.push({type:\"attribute\",position:t.start,range:t.clone(),length:1,attributeKey:o,attributeOldValue:s,attributeNewValue:e,changeCount:this._changeCount++})}n.delete(o)}for(const[e,o]of n){i.push({type:\"attribute\",position:t.start,range:t.clone(),length:1,attributeKey:e,attributeOldValue:null,attributeNewValue:o,changeCount:this._changeCount++})}return i}_isInInsertedElement(t){const e=t.parent;if(!e){return false}const n=this._changesInElement.get(e);const i=t.startOffset;if(n){for(const t of n){if(t.type==\"insert\"&&i>=t.offset&&i<t.offset+t.howMany){return true}}}return this._isInInsertedElement(e)}_removeAllNestedChanges(t,e,n){const i=new Au(yu._createAt(t,e),yu._createAt(t,e+n));for(const t of i.getItems({shallow:true})){if(t.is(\"element\")){this._elementSnapshots.delete(t);this._changesInElement.delete(t);this._removeAllNestedChanges(t,0,t.maxOffset)}}}}function em(t){const e=[];for(const n of t){if(n.is(\"text\")){for(let t=0;t<n.data.length;t++){e.push({name:\"$text\",attributes:new Map(n.getAttributes())})}}else{e.push({name:n.name,attributes:new Map(n.getAttributes())})}}return e}function nm(t,e){const n=[];let i=0;let o=0;for(const t of e){if(t.offset>i){for(let e=0;e<t.offset-i;e++){n.push(\"e\")}o+=t.offset-i}if(t.type==\"insert\"){for(let e=0;e<t.howMany;e++){n.push(\"i\")}i=t.offset+t.howMany}else if(t.type==\"remove\"){for(let e=0;e<t.howMany;e++){n.push(\"r\")}i=t.offset;o+=t.howMany}else{n.push(...\"a\".repeat(t.howMany).split(\"\"));i=t.offset+t.howMany;o+=t.howMany}}if(o<t){for(let e=0;e<t-o-i;e++){n.push(\"e\")}}return n}function im(t){const e=t.position&&t.position.root.rootName==\"$graveyard\";const n=t.range&&t.range.root.rootName==\"$graveyard\";return!e&&!n}class om{constructor(){this._operations=[];this._undoPairs=new Map;this._undoneOperations=new Set}addOperation(t){if(this._operations.includes(t)){return}this._operations.push(t)}getOperations(t=0,e=Number.POSITIVE_INFINITY){if(t<0){return[]}return this._operations.slice(t,e)}getOperation(t){return this._operations[t]}setOperationAsUndone(t,e){this._undoPairs.set(e,t);this._undoneOperations.add(t)}isUndoingOperation(t){return this._undoPairs.has(t)}isUndoneOperation(t){return this._undoneOperations.has(t)}getUndoneOperation(t){return this._undoPairs.get(t)}}function sm(t){return!!t&&t.length==1&&/[\\u0300-\\u036f\\u1ab0-\\u1aff\\u1dc0-\\u1dff\\u20d0-\\u20ff\\ufe20-\\ufe2f]/.test(t)}function rm(t){return!!t&&t.length==1&&/[\\ud800-\\udbff]/.test(t)}function am(t){return!!t&&t.length==1&&/[\\udc00-\\udfff]/.test(t)}function cm(t,e){return rm(t.charAt(e-1))&&am(t.charAt(e))}function lm(t,e){return sm(t.charAt(e))}const dm=\"$graveyard\";class um{constructor(t){this.model=t;this.version=0;this.history=new om(this);this.selection=new Fu(this);this.roots=new Fa({idProperty:\"rootName\"});this.differ=new tm(t.markers);this._postFixers=new Set;this._hasSelectionChangedFromTheLastChangeBlock=false;this.createRoot(\"$root\",dm);this.listenTo(t,\"applyOperation\",(t,e)=>{const n=e[0];if(n.isDocumentOperation&&n.baseVersion!==this.version){throw new Qs[\"b\"](\"model-document-applyOperation-wrong-version: Only operations with matching versions can be applied.\",this,{operation:n})}},{priority:\"highest\"});this.listenTo(t,\"applyOperation\",(t,e)=>{const n=e[0];if(n.isDocumentOperation){this.differ.bufferOperation(n)}},{priority:\"high\"});this.listenTo(t,\"applyOperation\",(t,e)=>{const n=e[0];if(n.isDocumentOperation){this.version++;this.history.addOperation(n)}},{priority:\"low\"});this.listenTo(this.selection,\"change\",()=>{this._hasSelectionChangedFromTheLastChangeBlock=true});this.listenTo(t.markers,\"update\",(t,e,n,i)=>{this.differ.bufferMarkerChange(e.name,n,i,e.affectsData);if(n===null){e.on(\"change\",(t,n)=>{this.differ.bufferMarkerChange(e.name,n,e.getRange(),e.affectsData)})}})}get graveyard(){return this.getRoot(dm)}createRoot(t=\"$root\",e=\"main\"){if(this.roots.get(e)){throw new Qs[\"b\"](\"model-document-createRoot-name-exists: Root with specified name already exists.\",this,{name:e})}const n=new qf(this,t,e);this.roots.add(n);return n}destroy(){this.selection.destroy();this.stopListening()}getRoot(t=\"main\"){return this.roots.get(t)}getRootNames(){return Array.from(this.roots,t=>t.rootName).filter(t=>t!=dm)}registerPostFixer(t){this._postFixers.add(t)}toJSON(){const t=Ar(this);t.selection=\"[engine.model.DocumentSelection]\";t.model=\"[engine.model.Model]\";return t}_handleChangeBlock(t){if(this._hasDocumentChangedFromTheLastChangeBlock()){this._callPostFixers(t);this.selection.refresh();if(this.differ.hasDataChanges()){this.fire(\"change:data\",t.batch)}else{this.fire(\"change\",t.batch)}this.selection.refresh();this.differ.reset()}this._hasSelectionChangedFromTheLastChangeBlock=false}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){for(const t of this.roots){if(t!==this.graveyard){return t}}return this.graveyard}_getDefaultRange(){const t=this._getDefaultRoot();const e=this.model;const n=e.schema;const i=e.createPositionFromPath(t,[0]);const o=n.getNearestSelectionRange(i);return o||e.createRange(i)}_validateSelectionRange(t){return hm(t.start)&&hm(t.end)}_callPostFixers(t){let e=false;do{for(const n of this._postFixers){this.selection.refresh();e=n(t);if(e){break}}}while(e)}}vr(um,lr);function hm(t){const e=t.textNode;if(e){const n=e.data;const i=t.offset-e.startOffset;return!cm(n,i)&&!lm(n,i)}return true}class fm{constructor(){this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(t){return this._markers.has(t)}get(t){return this._markers.get(t)||null}_set(t,e,n=false,i=false){const o=t instanceof mm?t.name:t;const s=this._markers.get(o);if(s){const t=s.getRange();let r=false;if(!t.isEqual(e)){s._attachLiveRange(Du.fromRange(e));r=true}if(n!=s.managedUsingOperations){s._managedUsingOperations=n;r=true}if(typeof i===\"boolean\"&&i!=s.affectsData){s._affectsData=i;r=true}if(r){this.fire(\"update:\"+o,s,t,e)}return s}const r=Du.fromRange(e);const a=new mm(o,r,n,i);this._markers.set(o,a);this.fire(\"update:\"+o,a,null,e);return a}_remove(t){const e=t instanceof mm?t.name:t;const n=this._markers.get(e);if(n){this._markers.delete(e);this.fire(\"update:\"+e,n,n.getRange(),null);this._destroyMarker(n);return true}return false}_refresh(t){const e=t instanceof mm?t.name:t;const n=this._markers.get(e);if(!n){throw new Qs[\"b\"](\"markercollection-refresh-marker-not-exists: Marker with provided name does not exists.\",this)}const i=n.getRange();this.fire(\"update:\"+e,n,i,i,n.managedUsingOperations,n.affectsData)}*getMarkersAtPosition(t){for(const e of this){if(e.getRange().containsPosition(t)){yield e}}}*getMarkersIntersectingRange(t){for(const e of this){if(e.getRange().getIntersection(t)!==null){yield e}}}destroy(){for(const t of this._markers.values()){this._destroyMarker(t)}this._markers=null;this.stopListening()}*getMarkersGroup(t){for(const e of this._markers.values()){if(e.name.startsWith(t+\":\")){yield e}}}_destroyMarker(t){t.stopListening();t._detachLiveRange()}}vr(fm,lr);class mm{constructor(t,e,n,i){this.name=t;this._liveRange=this._attachLiveRange(e);this._managedUsingOperations=n;this._affectsData=i}get managedUsingOperations(){if(!this._liveRange){throw new Qs[\"b\"](\"marker-destroyed: Cannot use a destroyed marker instance.\",this)}return this._managedUsingOperations}get affectsData(){if(!this._liveRange){throw new Qs[\"b\"](\"marker-destroyed: Cannot use a destroyed marker instance.\",this)}return this._affectsData}getStart(){if(!this._liveRange){throw new Qs[\"b\"](\"marker-destroyed: Cannot use a destroyed marker instance.\",this)}return this._liveRange.start.clone()}getEnd(){if(!this._liveRange){throw new Qs[\"b\"](\"marker-destroyed: Cannot use a destroyed marker instance.\",this)}return this._liveRange.end.clone()}getRange(){if(!this._liveRange){throw new Qs[\"b\"](\"marker-destroyed: Cannot use a destroyed marker instance.\",this)}return this._liveRange.toRange()}is(t){return t==\"marker\"||t==\"model:marker\"}_attachLiveRange(t){if(this._liveRange){this._detachLiveRange()}t.delegate(\"change:range\").to(this);t.delegate(\"change:content\").to(this);this._liveRange=t;return t}_detachLiveRange(){this._liveRange.stopDelegating(\"change:range\",this);this._liveRange.stopDelegating(\"change:content\",this);this._liveRange.detach();this._liveRange=null}}vr(mm,lr);class gm extends yu{constructor(t,e,n=\"toNone\"){super(t,e,n);if(!this.root.is(\"rootElement\")){throw new Qs[\"b\"](\"model-liveposition-root-not-rootelement: LivePosition's root has to be an instance of RootElement.\",t)}pm.call(this)}detach(){this.stopListening()}is(t){return t==\"livePosition\"||t==\"model:livePosition\"||super.is(t)}toPosition(){return new yu(this.root,this.path.slice(),this.stickiness)}static fromPosition(t,e){return new this(t.root,t.path.slice(),e?e:t.stickiness)}}function pm(){this.listenTo(this.root.document.model,\"applyOperation\",(t,e)=>{const n=e[0];if(!n.isDocumentOperation){return}bm.call(this,n)},{priority:\"low\"})}function bm(t){const e=this.getTransformedByOperation(t);if(!this.isEqual(e)){const t=this.toPosition();this.path=e.path;this.root=e.root;this.fire(\"change\",t)}}vr(gm,lr);function wm(t,e,n,i){return t.change(o=>{let s;if(!n){s=t.document.selection}else if(n instanceof Su||n instanceof Fu){s=n}else{s=o.createSelection(n,i)}const r=s.getFirstPosition();if(!s.isCollapsed){t.deleteContent(s,{doNotAutoparagraph:true})}const a=new _m(t,o,r);let c;if(e.is(\"documentFragment\")){c=e.getChildren()}else{c=[e]}a.handleNodes(c,{isFirst:true,isLast:true});const l=a.getSelectionRange();if(l){if(s instanceof Fu){o.setSelection(l)}else{s.setTo(l)}}else{}const d=a.getAffectedRange()||t.createRange(r);a.destroy();return d})}class _m{constructor(t,e,n){this.model=t;this.writer=e;this.position=n;this.canMergeWith=new Set([this.position.parent]);this.schema=t.schema;this._filterAttributesOf=[];this._affectedStart=null;this._affectedEnd=null}handleNodes(t,e){t=Array.from(t);for(let n=0;n<t.length;n++){const i=t[n];this._handleNode(i,{isFirst:n===0&&e.isFirst,isLast:n===t.length-1&&e.isLast})}this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer);this._filterAttributesOf=[]}getSelectionRange(){if(this.nodeToSelect){return Au._createOn(this.nodeToSelect)}return this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){if(!this._affectedStart){return null}return new Au(this._affectedStart,this._affectedEnd)}destroy(){if(this._affectedStart){this._affectedStart.detach()}if(this._affectedEnd){this._affectedEnd.detach()}}_handleNode(t,e){if(this.schema.isObject(t)){this._handleObject(t,e);return}const n=this._checkAndSplitToAllowedPosition(t,e);if(!n){this._handleDisallowedNode(t,e);return}this._insert(t);this._mergeSiblingsOf(t,e)}_handleObject(t,e){if(this._checkAndSplitToAllowedPosition(t)){this._insert(t)}else{this._tryAutoparagraphing(t,e)}}_handleDisallowedNode(t,e){if(t.is(\"element\")){this.handleNodes(t.getChildren(),e)}else{this._tryAutoparagraphing(t,e)}}_insert(t){if(!this.schema.checkChild(this.position,t)){throw new Qs[\"b\"](\"insertcontent-wrong-position: Given node cannot be inserted on the given position.\",this,{node:t,position:this.position})}const e=gm.fromPosition(this.position,\"toNext\");this._setAffectedBoundaries(this.position);this.writer.insert(t,this.position);this.position=e.toPosition();e.detach();if(this.schema.isObject(t)&&!this.schema.checkChild(this.position,\"$text\")){this.nodeToSelect=t}else{this.nodeToSelect=null}this._filterAttributesOf.push(t)}_setAffectedBoundaries(t){if(!this._affectedStart){this._affectedStart=gm.fromPosition(t,\"toPrevious\")}if(!this._affectedEnd||this._affectedEnd.isBefore(t)){if(this._affectedEnd){this._affectedEnd.detach()}this._affectedEnd=gm.fromPosition(t,\"toNext\")}}_mergeSiblingsOf(t,e){if(!(t instanceof bu)){return}const n=this._canMergeLeft(t,e);const i=this._canMergeRight(t,e);const o=gm._createBefore(t);o.stickiness=\"toNext\";const s=gm._createAfter(t);s.stickiness=\"toNext\";if(n){const t=gm.fromPosition(this.position);t.stickiness=\"toNext\";if(this._affectedStart.isEqual(o)){this._affectedStart.detach();this._affectedStart=gm._createAt(o.nodeBefore,\"end\",\"toPrevious\")}this.writer.merge(o);if(o.isEqual(this._affectedEnd)&&e.isLast){this._affectedEnd.detach();this._affectedEnd=gm._createAt(o.nodeBefore,\"end\",\"toNext\")}this.position=t.toPosition();t.detach()}if(i){if(!this.position.isEqual(s)){throw new Qs[\"b\"](\"insertcontent-invalid-insertion-position\",this)}this.position=yu._createAt(s.nodeBefore,\"end\");const t=gm.fromPosition(this.position,\"toPrevious\");if(this._affectedEnd.isEqual(s)){this._affectedEnd.detach();this._affectedEnd=gm._createAt(s.nodeBefore,\"end\",\"toNext\")}this.writer.merge(s);if(s.getShiftedBy(-1).isEqual(this._affectedStart)&&e.isFirst){this._affectedStart.detach();this._affectedStart=gm._createAt(s.nodeBefore,0,\"toPrevious\")}this.position=t.toPosition();t.detach()}if(n||i){this._filterAttributesOf.push(this.position.parent)}o.detach();s.detach()}_canMergeLeft(t,e){const n=t.previousSibling;return e.isFirst&&n instanceof bu&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(n,t)}_canMergeRight(t,e){const n=t.nextSibling;return e.isLast&&n instanceof bu&&this.canMergeWith.has(n)&&this.model.schema.checkMerge(t,n)}_tryAutoparagraphing(t,e){const n=this.writer.createElement(\"paragraph\");if(this._getAllowedIn(n,this.position.parent)&&this.schema.checkChild(n,t)){n._appendChild(t);this._handleNode(n,e)}}_checkAndSplitToAllowedPosition(t){const e=this._getAllowedIn(t,this.position.parent);if(!e){return false}while(e!=this.position.parent){if(this.schema.isLimit(this.position.parent)){return false}if(this.position.isAtStart){const t=this.position.parent;this.position=this.writer.createPositionBefore(t);if(t.isEmpty&&t.parent===e){this.writer.remove(t)}}else if(this.position.isAtEnd){this.position=this.writer.createPositionAfter(this.position.parent)}else{const t=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position);this.writer.split(this.position);this.position=t;this.canMergeWith.add(this.position.nodeAfter)}}return true}_getAllowedIn(t,e){if(this.schema.checkChild(e,t)){return e}if(e.parent){return this._getAllowedIn(t,e.parent)}return null}}function vm(t,e,n={}){if(e.isCollapsed){return}const i=e.getFirstRange();if(i.root.rootName==\"$graveyard\"){return}const o=t.schema;t.change(t=>{if(!n.doNotResetEntireContent&&Tm(o,e)){Cm(t,e,o);return}const s=i.start;const r=gm.fromPosition(i.end,\"toNext\");if(!i.start.isTouching(i.end)){t.remove(i)}if(!n.leaveUnmerged){km(t,s,r);o.removeDisallowedAttributes(s.parent.getChildren(),t)}Mm(t,e,s);if(xm(o,s)){const i=o.getNearestSelectionRange(s);if(n.doNotAutoparagraph&&i){Mm(t,e,i)}else{Am(t,s,e)}}r.detach()})}function km(t,e,n){const i=e.parent;const o=n.parent;if(i==o){return}if(t.model.schema.isLimit(i)||t.model.schema.isLimit(o)){return}if(!ym(e,n,t.model.schema)){return}e=t.createPositionAfter(i);n=t.createPositionBefore(o);if(!n.isEqual(e)){t.insert(o,e)}t.merge(e);while(n.parent.isEmpty){const e=n.parent;n=t.createPositionBefore(e);t.remove(e)}km(t,e,n)}function xm(t,e){const n=t.checkChild(e,\"$text\");const i=t.checkChild(e,\"paragraph\");return!n&&i}function ym(t,e,n){const i=new Au(t,e);for(const t of i.getWalker()){if(n.isLimit(t.item)){return false}}return true}function Am(t,e,n){const i=t.createElement(\"paragraph\");t.insert(i,e);Mm(t,n,t.createPositionAt(i,0))}function Cm(t,e){const n=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(n));Am(t,t.createPositionAt(n,0),e)}function Tm(t,e){const n=t.getLimitElement(e);if(!e.containsEntireContent(n)){return false}const i=e.getFirstRange();if(i.start.parent==i.end.parent){return false}return t.checkChild(n,\"paragraph\")}function Mm(t,e,n){if(e instanceof Fu){t.setSelection(n)}else{e.setTo(n)}}const Em=' ,.?!:;\"-()';function Pm(t,e,n={}){const i=t.schema;const o=n.direction!=\"backward\";const s=n.unit?n.unit:\"character\";const r=e.focus;const a=new _u({boundaries:Nm(r,o),singleCharacters:true,direction:o?\"forward\":\"backward\"});const c={walker:a,schema:i,isForward:o,unit:s};let l;while(l=a.next()){if(l.done){return}const n=Sm(c,l.value);if(n){if(e instanceof Fu){t.change(t=>{t.setSelectionFocus(n)})}else{e.setFocus(n)}return}}}function Sm(t,e){if(e.type==\"text\"){if(t.unit===\"word\"){return Om(t.walker,t.isForward)}return Im(t.walker,t.unit,t.isForward)}if(e.type==(t.isForward?\"elementStart\":\"elementEnd\")){if(t.schema.isObject(e.item)){return yu._createAt(e.item,t.isForward?\"after\":\"before\")}if(t.schema.checkChild(e.nextPosition,\"$text\")){return e.nextPosition}}else{if(t.schema.isLimit(e.item)){t.walker.skip(()=>true);return}if(t.schema.checkChild(e.nextPosition,\"$text\")){return e.nextPosition}}}function Im(t,e){const n=t.position.textNode;if(n){const i=n.data;let o=t.position.offset-n.startOffset;while(cm(i,o)||e==\"character\"&&lm(i,o)){t.next();o=t.position.offset-n.startOffset}}return t.position}function Om(t,e){let n=t.position.textNode;if(n){let i=t.position.offset-n.startOffset;while(!Lm(n.data,i,e)&&!Rm(n,i,e)){t.next();const o=e?t.position.nodeAfter:t.position.nodeBefore;if(o&&o.is(\"text\")){const i=o.data.charAt(e?0:o.data.length-1);if(!Em.includes(i)){t.next();n=t.position.textNode}}i=t.position.offset-n.startOffset}}return t.position}function Nm(t,e){const n=t.root;const i=yu._createAt(n,e?\"end\":0);if(e){return new Au(t,i)}else{return new Au(i,t)}}function Lm(t,e,n){const i=e+(n?0:-1);return Em.includes(t.charAt(i))}function Rm(t,e,n){return e===(n?t.endOffset:0)}function Dm(t,e){return t.change(t=>{const n=t.createDocumentFragment();const i=e.getFirstRange();if(!i||i.isCollapsed){return n}const o=i.start.root;const s=i.start.getCommonPath(i.end);const r=o.getNodeByPath(s);let a;if(i.start.parent==i.end.parent){a=i}else{a=t.createRange(t.createPositionAt(r,i.start.path[s.length]),t.createPositionAt(r,i.end.path[s.length]+1))}const c=a.end.offset-a.start.offset;for(const e of a.getItems({shallow:true})){if(e.is(\"textProxy\")){t.appendText(e.data,e.getAttributes(),n)}else{t.append(e._clone(true),n)}}if(a!=i){const e=i._getTransformedByMove(a.start,t.createPositionAt(n,0),c)[0];const o=t.createRange(t.createPositionAt(n,0),e.start);const s=t.createRange(e.end,t.createPositionAt(n,\"end\"));jm(s,t);jm(o,t)}return n})}function jm(t,e){const n=[];Array.from(t.getItems({direction:\"backward\"})).map(t=>e.createRangeOn(t)).filter(e=>{const n=(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end));return n}).forEach(t=>{n.push(t.start.parent);e.remove(t)});n.forEach(t=>{let n=t;while(n.parent&&n.isEmpty){const t=e.createRangeOn(n);n=n.parent;e.remove(t)}})}function zm(t){t.document.registerPostFixer(e=>Bm(e,t))}function Bm(t,e){const n=e.document.selection;const i=e.schema;const o=[];let s=false;for(const t of n.getRanges()){const e=Vm(t,i);if(e){o.push(e);s=true}else{o.push(t)}}if(s){let e=o;if(o.length>1){const t=o[0].start;const n=o[o.length-1].end;e=[new Au(t,n)]}t.setSelection(e,{backward:n.isBackward})}}function Vm(t,e){if(t.isCollapsed){return Fm(t,e)}return Hm(t,e)}function Fm(t,e){const n=t.start;const i=e.getNearestSelectionRange(n);if(!i){return null}const o=i.start;if(n.isEqual(o)){return null}if(o.nodeAfter&&e.isLimit(o.nodeAfter)){return new Au(o,yu._createAfter(o.nodeAfter))}return new Au(o)}function Hm(t,e){const n=t.start;const i=t.end;const o=e.checkChild(n,\"$text\");const s=e.checkChild(i,\"$text\");const r=e.getLimitElement(n);const a=e.getLimitElement(i);if(r===a){if(o&&s){return null}if(Wm(n,i,e)){const t=n.nodeAfter&&e.isObject(n.nodeAfter);const o=t?null:e.getNearestSelectionRange(n,\"forward\");const s=i.nodeBefore&&e.isObject(i.nodeBefore);const r=s?null:e.getNearestSelectionRange(i,\"backward\");const a=o?o.start:n;const c=r?r.start:i;return new Au(a,c)}}const c=r&&!r.is(\"rootElement\");const l=a&&!a.is(\"rootElement\");if(c||l){const t=n.nodeAfter&&i.nodeBefore&&n.nodeAfter.parent===i.nodeBefore.parent;const o=c&&(!t||!$m(n.nodeAfter,e));const s=l&&(!t||!$m(i.nodeBefore,e));let d=n;let u=i;if(o){d=yu._createBefore(Um(r,e))}if(s){u=yu._createAfter(Um(a,e))}return new Au(d,u)}return null}function Um(t,e){let n=t;let i=n;while(e.isLimit(i)&&i.parent){n=i;i=i.parent}return n}function Wm(t,e,n){const i=t.nodeAfter&&!n.isLimit(t.nodeAfter)||n.checkChild(t,\"$text\");const o=e.nodeBefore&&!n.isLimit(e.nodeBefore)||n.checkChild(e,\"$text\");return i||o}function $m(t,e){return t&&e.isObject(t)}class Ym{constructor(){this.markers=new fm;this.document=new um(this);this.schema=new Xh;this._pendingChanges=[];this._currentWriter=null;[\"insertContent\",\"deleteContent\",\"modifySelection\",\"getSelectedContent\",\"applyOperation\"].forEach(t=>this.decorate(t));this.on(\"applyOperation\",(t,e)=>{const n=e[0];n._validate()},{priority:\"highest\"});this.schema.register(\"$root\",{isLimit:true});this.schema.register(\"$block\",{allowIn:\"$root\",isBlock:true});this.schema.register(\"$text\",{allowIn:\"$block\",isInline:true});this.schema.register(\"$clipboardHolder\",{allowContentOf:\"$root\",isLimit:true});this.schema.extend(\"$text\",{allowIn:\"$clipboardHolder\"});this.schema.register(\"$marker\");this.schema.addChildCheck((t,e)=>{if(e.name===\"$marker\"){return true}});zm(this)}change(t){try{if(this._pendingChanges.length===0){this._pendingChanges.push({batch:new Af,callback:t});return this._runPendingChanges()[0]}else{return t(this._currentWriter)}}catch(t){Qs[\"b\"].rethrowUnexpectedError(t,this)}}enqueueChange(t,e){try{if(typeof t===\"string\"){t=new Af(t)}else if(typeof t==\"function\"){e=t;t=new Af}this._pendingChanges.push({batch:t,callback:e});if(this._pendingChanges.length==1){this._runPendingChanges()}}catch(t){Qs[\"b\"].rethrowUnexpectedError(t,this)}}applyOperation(t){t._execute()}insertContent(t,e,n){return wm(this,t,e,n)}deleteContent(t,e){vm(this,t,e)}modifySelection(t,e){Pm(this,t,e)}getSelectedContent(t){return Dm(this,t)}hasContent(t,e){const n=t instanceof bu?Au._createIn(t):t;if(n.isCollapsed){return false}for(const t of this.markers.getMarkersIntersectingRange(n)){if(t.affectsData){return true}}const{ignoreWhitespaces:i=false}=e||{};for(const t of n.getItems()){if(t.is(\"textProxy\")){if(!i){return true}else if(t.data.search(/\\S/)!==-1){return true}}else if(this.schema.isObject(t)){return true}}return false}createPositionFromPath(t,e,n){return new yu(t,e,n)}createPositionAt(t,e){return yu._createAt(t,e)}createPositionAfter(t){return yu._createAfter(t)}createPositionBefore(t){return yu._createBefore(t)}createRange(t,e){return new Au(t,e)}createRangeIn(t){return Au._createIn(t)}createRangeOn(t){return Au._createOn(t)}createSelection(t,e,n){return new Su(t,e,n)}createBatch(t){return new Af(t)}destroy(){this.document.destroy();this.stopListening()}_runPendingChanges(){const t=[];this.fire(\"_beforeChanges\");while(this._pendingChanges.length){const e=this._pendingChanges[0].batch;this._currentWriter=new Gf(this,e);const n=this._pendingChanges[0].callback(this._currentWriter);t.push(n);this.document._handleChangeBlock(this._currentWriter);this._pendingChanges.shift();this._currentWriter=null}this.fire(\"_afterChanges\");return t}}vr(Ym,_a);class qm{constructor(){this._listener=Object.create(pl)}listenTo(t){this._listener.listenTo(t,\"keydown\",(t,e)=>{this._listener.fire(\"_keydown:\"+ac(e),e)})}set(t,e,n={}){const i=cc(t);const o=n.priority;this._listener.listenTo(this._listener,\"_keydown:\"+i,(t,n)=>{e(n,()=>{n.preventDefault();n.stopPropagation();t.stop()});t.return=true},{priority:o})}press(t){return!!this._listener.fire(\"_keydown:\"+ac(t),t)}destroy(){this._listener.stopListening()}}class Gm extends qm{constructor(t){super();this.editor=t}set(t,e,n={}){if(typeof e==\"string\"){const t=e;e=(e,n)=>{this.editor.execute(t);n()}}super.set(t,e,n)}}class Km{constructor(t){const e=this.constructor.builtinPlugins;this.config=new Ks(t,this.constructor.defaultConfig);this.config.define(\"plugins\",e);this.plugins=new Bh(this,e);this.commands=new Vh;const n=this.config.get(\"language\")||{};this.locale=new qh({uiLanguage:typeof n===\"string\"?n:n.ui,contentLanguage:this.config.get(\"language.content\")});this.t=this.locale.t;this.set(\"state\",\"initializing\");this.once(\"ready\",()=>this.state=\"ready\",{priority:\"high\"});this.once(\"destroy\",()=>this.state=\"destroyed\",{priority:\"high\"});this.set(\"isReadOnly\",false);this.model=new Ym;this.data=new _f(this.model);this.editing=new zh(this.model);this.editing.view.document.bind(\"isReadOnly\").to(this);this.conversion=new kf([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher);this.conversion.addAlias(\"dataDowncast\",this.data.downcastDispatcher);this.conversion.addAlias(\"editingDowncast\",this.editing.downcastDispatcher);this.keystrokes=new Gm(this);this.keystrokes.listenTo(this.editing.view.document)}initPlugins(){const t=this.config;const e=t.get(\"plugins\")||[];const n=t.get(\"removePlugins\")||[];const i=t.get(\"extraPlugins\")||[];return this.plugins.init(e.concat(i),n)}destroy(){let t=Promise.resolve();if(this.state==\"initializing\"){t=new Promise(t=>this.once(\"ready\",t))}return t.then(()=>{this.fire(\"destroy\");this.stopListening();this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy();this.data.destroy();this.editing.destroy();this.keystrokes.destroy()})}execute(...t){try{this.commands.execute(...t)}catch(t){Qs[\"b\"].rethrowUnexpectedError(t,this)}}}vr(Km,_a);const Jm={setData(t){this.data.set(t)},getData(t){return this.data.get(t)}};var Xm=Jm;function Qm(t,e){if(t instanceof HTMLTextAreaElement){t.value=e}t.innerHTML=e}const Zm={updateSourceElement(){if(!this.sourceElement){throw new Qs[\"b\"](\"editor-missing-sourceelement: Cannot update the source element of a detached editor.\",this)}Qm(this.sourceElement,this.data.get())}};var tg=Zm;function eg(t){if(!mt(t.updateSourceElement)){throw new Qs[\"b\"](\"attachtoform-missing-elementapi-interface: Editor passed to attachToForm() must implement ElementApi.\",t)}const e=t.sourceElement;if(e&&e.tagName.toLowerCase()===\"textarea\"&&e.form){let n;const i=e.form;const o=()=>t.updateSourceElement();if(mt(i.submit)){n=i.submit;i.submit=()=>{o();n.apply(i)}}i.addEventListener(\"submit\",o);t.on(\"destroy\",()=>{i.removeEventListener(\"submit\",o);if(n){i.submit=n}})}}class ng{getHtml(t){const e=document.implementation.createHTMLDocument(\"\");const n=e.createElement(\"div\");n.appendChild(t);return n.innerHTML}}class ig{constructor(){this._domParser=new DOMParser;this._domConverter=new ll({blockFillerMode:\"nbsp\"});this._htmlWriter=new ng}toData(t){const e=this._domConverter.viewToDom(t,document);return this._htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this._domConverter.domToView(e)}_toDom(t){const e=this._domParser.parseFromString(t,\"text/html\");const n=e.createDocumentFragment();const i=e.body.childNodes;while(i.length>0){n.appendChild(i[0])}return n}}class og{constructor(t){this.editor=t;this._components=new Map}*names(){for(const t of this._components.values()){yield t.originalName}}add(t,e){if(this.has(t)){throw new Qs[\"b\"](\"componentfactory-item-exists: The item already exists in the component factory.\",this,{name:t})}this._components.set(sg(t),{callback:e,originalName:t})}create(t){if(!this.has(t)){throw new Qs[\"b\"](\"componentfactory-item-missing: The required component is not registered in the factory.\",this,{name:t})}return this._components.get(sg(t)).callback(this.editor.locale)}has(t){return this._components.has(sg(t))}}function sg(t){return String(t).toLowerCase()}class rg{constructor(){this.set(\"isFocused\",false);this.set(\"focusedElement\",null);this._elements=new Set;this._nextEventLoopTimeout=null}add(t){if(this._elements.has(t)){throw new Qs[\"b\"](\"focusTracker-add-element-already-exist\",this)}this.listenTo(t,\"focus\",()=>this._focus(t),{useCapture:true});this.listenTo(t,\"blur\",()=>this._blur(),{useCapture:true});this._elements.add(t)}remove(t){if(t===this.focusedElement){this._blur(t)}if(this._elements.has(t)){this.stopListening(t);this._elements.delete(t)}}destroy(){this.stopListening()}_focus(t){clearTimeout(this._nextEventLoopTimeout);this.focusedElement=t;this.isFocused=true}_blur(){clearTimeout(this._nextEventLoopTimeout);this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null;this.isFocused=false},0)}}vr(rg,pl);vr(rg,_a);class ag{constructor(t){this.editor=t;this.componentFactory=new og(t);this.focusTracker=new rg;this._editableElementsMap=new Map;this.listenTo(t.editing.view.document,\"layoutChanged\",()=>this.update())}get element(){return null}update(){this.fire(\"update\")}destroy(){this.stopListening();this.focusTracker.destroy();for(const t of this._editableElementsMap.values()){t.ckeditorInstance=null}this._editableElementsMap=new Map}setEditableElement(t,e){this._editableElementsMap.set(t,e);if(!e.ckeditorInstance){e.ckeditorInstance=this.editor}}getEditableElement(t=\"main\"){return this._editableElementsMap.get(t)}getEditableElementsNames(){return this._editableElementsMap.keys()}get _editableElements(){console.warn(\"editor-ui-deprecated-editable-elements: \"+\"The EditorUI#_editableElements property has been deprecated and will be removed in the near future.\",{editorUI:this});return this._editableElementsMap}}vr(ag,lr);function cg({origin:t,originKeystrokeHandler:e,originFocusTracker:n,toolbar:i,beforeFocus:o,afterBlur:s}){n.add(i.element);e.set(\"Alt+F10\",(t,e)=>{if(n.isFocused&&!i.focusTracker.isFocused){if(o){o()}i.focus();e()}});i.keystrokes.set(\"Esc\",(e,n)=>{if(i.focusTracker.isFocused){t.focus();if(s){s()}n()}})}function lg(t){if(Array.isArray(t)){return{items:t}}if(!t){return{items:[]}}return Object.assign({items:[]},t)}var dg=n(21);const ug=new WeakMap;function hg(t){const{view:e,element:n,text:i,isDirectHost:o=true}=t;const s=e.document;if(!ug.has(s)){ug.set(s,new Map);s.registerPostFixer(t=>bg(s,t))}ug.get(s).set(n,{text:i,isDirectHost:o});e.change(t=>bg(s,t))}function fg(t,e){const n=e.document;t.change(t=>{if(!ug.has(n)){return}const i=ug.get(n);const o=i.get(e);t.removeAttribute(\"data-placeholder\",o.hostElement);gg(t,o.hostElement);i.delete(e)})}function mg(t,e){if(!e.hasClass(\"ck-placeholder\")){t.addClass(\"ck-placeholder\",e);return true}return false}function gg(t,e){if(e.hasClass(\"ck-placeholder\")){t.removeClass(\"ck-placeholder\",e);return true}return false}function pg(t){const e=t.document;if(!e){return false}const n=!Array.from(t.getChildren()).some(t=>!t.is(\"uiElement\"));if(!e.isFocused&&n){return true}const i=e.selection;const o=i.anchor;if(n&&o&&o.parent!==t){return true}return false}function bg(t,e){const n=ug.get(t);let i=false;for(const[t,o]of n){if(wg(e,t,o)){i=true}}return i}function wg(t,e,n){const{text:i,isDirectHost:o}=n;const s=o?e:_g(e);let r=false;if(!s){return false}n.hostElement=s;if(s.getAttribute(\"data-placeholder\")!==i){t.setAttribute(\"data-placeholder\",i,s);r=true}if(pg(s)){if(mg(t,s)){r=true}}else if(gg(t,s)){r=true}return r}function _g(t){if(t.childCount===1){const e=t.getChild(0);if(e.is(\"element\")&&!e.is(\"uiElement\")){return e}}return null}class vg{constructor(){this._replacedElements=[]}replace(t,e){this._replacedElements.push({element:t,newElement:e});t.style.display=\"none\";if(e){t.parentNode.insertBefore(e,t.nextSibling)}}restore(){this._replacedElements.forEach(({element:t,newElement:e})=>{t.style.display=\"\";if(e){e.remove()}});this._replacedElements=[]}}class kg extends ag{constructor(t,e){super(t);this.view=e;this._toolbarConfig=lg(t.config.get(\"toolbar\"));this._elementReplacer=new vg}get element(){return this.view.element}init(t){const e=this.editor;const n=this.view;const i=e.editing.view;const o=n.editable;const s=i.document.getRoot();o.name=s.rootName;n.render();const r=o.element;this.setEditableElement(o.name,r);this.focusTracker.add(r);n.editable.bind(\"isFocused\").to(this.focusTracker);i.attachDomRoot(r);if(t){this._elementReplacer.replace(t,this.element)}this._initPlaceholder();this._initToolbar();this.fire(\"ready\")}destroy(){const t=this.view;const e=this.editor.editing.view;this._elementReplacer.restore();e.detachDomRoot(t.editable.name);t.destroy();super.destroy()}_initToolbar(){const t=this.editor;const e=this.view;const n=t.editing.view;e.stickyPanel.bind(\"isActive\").to(this.focusTracker,\"isFocused\");e.stickyPanel.limiterElement=e.element;if(this._toolbarConfig.viewportTopOffset){e.stickyPanel.viewportTopOffset=this._toolbarConfig.viewportTopOffset}e.toolbar.fillFromConfig(this._toolbarConfig.items,this.componentFactory);cg({origin:n,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:e.toolbar})}_initPlaceholder(){const t=this.editor;const e=t.editing.view;const n=e.document.getRoot();const i=t.sourceElement;const o=t.config.get(\"placeholder\")||i&&i.tagName.toLowerCase()===\"textarea\"&&i.getAttribute(\"placeholder\");if(o){hg({view:e,element:n,text:o,isDirectHost:false})}}}class xg extends Fa{constructor(t){super({idProperty:\"viewUid\"});this.on(\"add\",(t,e,n)=>{if(!e.isRendered){e.render()}if(e.element&&this._parentElement){this._parentElement.insertBefore(e.element,this._parentElement.children[n])}});this.on(\"remove\",(t,e)=>{if(e.element&&this._parentElement){e.element.remove()}});this.locale=t;this._parentElement=null}destroy(){this.map(t=>t.destroy())}setParent(t){this._parentElement=t}delegate(...t){if(!t.length||!yg(t)){throw new Qs[\"b\"](\"ui-viewcollection-delegate-wrong-events: All event names must be strings.\",this)}return{to:e=>{for(const n of this){for(const i of t){n.delegate(i).to(e)}}this.on(\"add\",(n,i)=>{for(const n of t){i.delegate(n).to(e)}});this.on(\"remove\",(n,i)=>{for(const n of t){i.stopDelegating(n,e)}})}}}}function yg(t){return t.every(t=>typeof t==\"string\")}const Ag=\"http://www.w3.org/1999/xhtml\";class Cg{constructor(t){Object.assign(this,Dg(Rg(t)));this._isRendered=false;this._revertData=null}render(){const t=this._renderNode({intoFragment:true});this._isRendered=true;return t}apply(t){this._revertData=Kg();this._renderNode({node:t,isApplying:true,revertData:this._revertData});return t}revert(t){if(!this._revertData){throw new Qs[\"b\"](\"ui-template-revert-not-applied: Attempting to revert a template which has not been applied yet.\",[this,t])}this._revertTemplateFromNode(t,this._revertData)}*getViews(){function*t(e){if(e.children){for(const n of e.children){if(Yg(n)){yield n}else if(qg(n)){yield*t(n)}}}}yield*t(this)}static bind(t,e){return{to(n,i){return new Mg({eventNameOrFunction:n,attribute:n,observable:t,emitter:e,callback:i})},if(n,i,o){return new Eg({observable:t,emitter:e,attribute:n,valueIfTrue:i,callback:o})}}}static extend(t,e){if(t._isRendered){throw new Qs[\"b\"](\"template-extend-render: Attempting to extend a template which has already been rendered.\",[this,t])}Wg(t,Dg(Rg(e)))}_renderNode(t){let e;if(t.node){e=this.tag&&this.text}else{e=this.tag?this.text:!this.text}if(e){throw new Qs[\"b\"]('ui-template-wrong-syntax: Node definition must have either \"tag\" or \"text\" when rendering a new Node.',this)}if(this.text){return this._renderText(t)}else{return this._renderElement(t)}}_renderElement(t){let e=t.node;if(!e){e=t.node=document.createElementNS(this.ns||Ag,this.tag)}this._renderAttributes(t);this._renderElementChildren(t);this._setUpListeners(t);return e}_renderText(t){let e=t.node;if(e){t.revertData.text=e.textContent}else{e=t.node=document.createTextNode(\"\")}if(Pg(this.text)){this._bindToObservable({schema:this.text,updater:Og(e),data:t})}else{e.textContent=this.text.join(\"\")}return e}_renderAttributes(t){let e,n,i,o;if(!this.attributes){return}const s=t.node;const r=t.revertData;for(e in this.attributes){i=s.getAttribute(e);n=this.attributes[e];if(r){r.attributes[e]=i}o=ct(n[0])&&n[0].ns?n[0].ns:null;if(Pg(n)){const a=o?n[0].value:n;if(r&&Jg(e)){a.unshift(i)}this._bindToObservable({schema:a,updater:Ng(s,e,o),data:t})}else if(e==\"style\"&&typeof n[0]!==\"string\"){this._renderStyleAttribute(n[0],t)}else{if(r&&i&&Jg(e)){n.unshift(i)}n=n.map(t=>t?t.value||t:t).reduce((t,e)=>t.concat(e),[]).reduce(Hg,\"\");if(!$g(n)){s.setAttributeNS(o,e,n)}}}}_renderStyleAttribute(t,e){const n=e.node;for(const i in t){const o=t[i];if(Pg(o)){this._bindToObservable({schema:[o],updater:Lg(n,i),data:e})}else{n.style[i]=o}}}_renderElementChildren(t){const e=t.node;const n=t.intoFragment?document.createDocumentFragment():e;const i=t.isApplying;let o=0;for(const s of this.children){if(Gg(s)){if(!i){s.setParent(e);for(const t of s){n.appendChild(t.element)}}}else if(Yg(s)){if(!i){if(!s.isRendered){s.render()}n.appendChild(s.element)}}else if(Kc(s)){n.appendChild(s)}else{if(i){const e=t.revertData;const i=Kg();e.children.push(i);s._renderNode({node:n.childNodes[o++],isApplying:true,revertData:i})}else{n.appendChild(s.render())}}}if(t.intoFragment){e.appendChild(n)}}_setUpListeners(t){if(!this.eventListeners){return}for(const e in this.eventListeners){const n=this.eventListeners[e].map(n=>{const[i,o]=e.split(\"@\");return n.activateDomEventListener(i,o,t)});if(t.revertData){t.revertData.bindings.push(n)}}}_bindToObservable({schema:t,updater:e,data:n}){const i=n.revertData;Ig(t,e,n);const o=t.filter(t=>!$g(t)).filter(t=>t.observable).map(i=>i.activateAttributeListener(t,e,n));if(i){i.bindings.push(o)}}_revertTemplateFromNode(t,e){for(const t of e.bindings){for(const e of t){e()}}if(e.text){t.textContent=e.text;return}for(const n in e.attributes){const i=e.attributes[n];if(i===null){t.removeAttribute(n)}else{t.setAttribute(n,i)}}for(let n=0;n<e.children.length;++n){this._revertTemplateFromNode(t.childNodes[n],e.children[n])}}}vr(Cg,lr);class Tg{constructor(t){Object.assign(this,t)}getValue(t){const e=this.observable[this.attribute];return this.callback?this.callback(e,t):e}activateAttributeListener(t,e,n){const i=()=>Ig(t,e,n);this.emitter.listenTo(this.observable,\"change:\"+this.attribute,i);return()=>{this.emitter.stopListening(this.observable,\"change:\"+this.attribute,i)}}}class Mg extends Tg{activateDomEventListener(t,e,n){const i=(t,n)=>{if(!e||n.target.matches(e)){if(typeof this.eventNameOrFunction==\"function\"){this.eventNameOrFunction(n)}else{this.observable.fire(this.eventNameOrFunction,n)}}};this.emitter.listenTo(n.node,t,i);return()=>{this.emitter.stopListening(n.node,t,i)}}}class Eg extends Tg{getValue(t){const e=super.getValue(t);return $g(e)?false:this.valueIfTrue||true}}function Pg(t){if(!t){return false}if(t.value){t=t.value}if(Array.isArray(t)){return t.some(Pg)}else if(t instanceof Tg){return true}return false}function Sg(t,e){return t.map(t=>{if(t instanceof Tg){return t.getValue(e)}return t})}function Ig(t,e,{node:n}){let i=Sg(t,n);if(t.length==1&&t[0]instanceof Eg){i=i[0]}else{i=i.reduce(Hg,\"\")}if($g(i)){e.remove()}else{e.set(i)}}function Og(t){return{set(e){t.textContent=e},remove(){t.textContent=\"\"}}}function Ng(t,e,n){return{set(i){t.setAttributeNS(n,e,i)},remove(){t.removeAttributeNS(n,e)}}}function Lg(t,e){return{set(n){t.style[e]=n},remove(){t.style[e]=null}}}function Rg(t){const e=Ys(t,t=>{if(t&&(t instanceof Tg||qg(t)||Yg(t)||Gg(t))){return t}});return e}function Dg(t){if(typeof t==\"string\"){t=Bg(t)}else if(t.text){Vg(t)}if(t.on){t.eventListeners=zg(t.on);delete t.on}if(!t.text){if(t.attributes){jg(t.attributes)}const e=[];if(t.children){if(Gg(t.children)){e.push(t.children)}else{for(const n of t.children){if(qg(n)||Yg(n)||Kc(n)){e.push(n)}else{e.push(new Cg(n))}}}}t.children=e}return t}function jg(t){for(const e in t){if(t[e].value){t[e].value=[].concat(t[e].value)}Fg(t,e)}}function zg(t){for(const e in t){Fg(t,e)}return t}function Bg(t){return{text:[t]}}function Vg(t){if(!Array.isArray(t.text)){t.text=[t.text]}}function Fg(t,e){if(!Array.isArray(t[e])){t[e]=[t[e]]}}function Hg(t,e){if($g(e)){return t}else if($g(t)){return e}else{return`${t} ${e}`}}function Ug(t,e){for(const n in e){if(t[n]){t[n].push(...e[n])}else{t[n]=e[n]}}}function Wg(t,e){if(e.attributes){if(!t.attributes){t.attributes={}}Ug(t.attributes,e.attributes)}if(e.eventListeners){if(!t.eventListeners){t.eventListeners={}}Ug(t.eventListeners,e.eventListeners)}if(e.text){t.text.push(...e.text)}if(e.children&&e.children.length){if(t.children.length!=e.children.length){throw new Qs[\"b\"](\"ui-template-extend-children-mismatch: The number of children in extended definition does not match.\",t)}let n=0;for(const i of e.children){Wg(t.children[n++],i)}}}function $g(t){return!t&&t!==0}function Yg(t){return t instanceof Qg}function qg(t){return t instanceof Cg}function Gg(t){return t instanceof xg}function Kg(){return{children:[],bindings:[],attributes:{}}}function Jg(t){return t==\"class\"||t==\"style\"}var Xg=n(23);class Qg{constructor(t){this.element=null;this.isRendered=false;this.locale=t;this.t=t&&t.t;this._viewCollections=new Fa;this._unboundChildren=this.createCollection();this._viewCollections.on(\"add\",(e,n)=>{n.locale=t});this.decorate(\"render\")}get bindTemplate(){if(this._bindTemplate){return this._bindTemplate}return this._bindTemplate=Cg.bind(this,this)}createCollection(){const t=new xg;this._viewCollections.add(t);return t}registerChild(t){if(!Pr(t)){t=[t]}for(const e of t){this._unboundChildren.add(e)}}deregisterChild(t){if(!Pr(t)){t=[t]}for(const e of t){this._unboundChildren.remove(e)}}setTemplate(t){this.template=new Cg(t)}extendTemplate(t){Cg.extend(this.template,t)}render(){if(this.isRendered){throw new Qs[\"b\"](\"ui-view-render-already-rendered: This View has already been rendered.\",this)}if(this.template){this.element=this.template.render();this.registerChild(this.template.getViews())}this.isRendered=true}destroy(){this.stopListening();this._viewCollections.map(t=>t.destroy());if(this.template&&this.template._revertData){this.template.revert(this.element)}}}vr(Qg,pl);vr(Qg,_a);var Zg=n(25);class tp extends Qg{constructor(t){super(t);this.body=this.createCollection()}render(){super.render();this._renderBodyCollection()}destroy(){this._bodyCollectionContainer.remove();return super.destroy()}_renderBodyCollection(){const t=this.locale;const e=this._bodyCollectionContainer=new Cg({tag:\"div\",attributes:{class:[\"ck\",\"ck-reset_all\",\"ck-body\",\"ck-rounded-corners\"],dir:t.uiLanguageDirection},children:this.body}).render();document.body.appendChild(e)}}var ep=n(27);class np extends Qg{constructor(t){super(t);this.set(\"text\");this.set(\"for\");const e=this.bindTemplate;this.setTemplate({tag:\"label\",attributes:{class:[\"ck\",\"ck-label\"],for:e.to(\"for\")},children:[{text:e.to(\"text\")}]})}}class ip extends tp{constructor(t){super(t);const e=nr();this.top=this.createCollection();this.main=this.createCollection();this._voiceLabelView=this._createVoiceLabel(e);this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-reset\",\"ck-editor\",\"ck-rounded-corners\"],role:\"application\",dir:t.uiLanguageDirection,lang:t.uiLanguage,\"aria-labelledby\":`ck-editor__aria-label_${e}`},children:[this._voiceLabelView,{tag:\"div\",attributes:{class:[\"ck\",\"ck-editor__top\",\"ck-reset_all\"],role:\"presentation\"},children:this.top},{tag:\"div\",attributes:{class:[\"ck\",\"ck-editor__main\"],role:\"presentation\"},children:this.main}]})}_createVoiceLabel(t){const e=this.t;const n=new np;n.text=e(\"bd\");n.extendTemplate({attributes:{id:`ck-editor__aria-label_${t}`,class:\"ck-voice-label\"}});return n}}class op extends Qg{constructor(t,e,n){super(t);this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-content\",\"ck-editor__editable\",\"ck-rounded-corners\"],lang:t.contentLanguage,dir:t.contentLanguageDirection}});this.name=null;this.set(\"isFocused\",false);this._editableElement=n;this._hasExternalElement=!!this._editableElement;this._editingView=e}render(){super.render();if(this._hasExternalElement){this.template.apply(this.element=this._editableElement)}else{this._editableElement=this.element}this.on(\"change:isFocused\",()=>this._updateIsFocusedClasses());this._updateIsFocusedClasses()}destroy(){if(this._hasExternalElement){this.template.revert(this._editableElement)}super.destroy()}_updateIsFocusedClasses(){const t=this._editingView;if(t.isRenderingInProgress){n(this)}else{e(this)}function e(e){t.change(n=>{const i=t.document.getRoot(e.name);n.addClass(e.isFocused?\"ck-focused\":\"ck-blurred\",i);n.removeClass(e.isFocused?\"ck-blurred\":\"ck-focused\",i)})}function n(i){t.once(\"change:isRenderingInProgress\",(t,o,s)=>{if(!s){e(i)}else{n(i)}})}}}class sp extends op{constructor(t,e,n){super(t,e,n);this.extendTemplate({attributes:{role:\"textbox\",class:\"ck-editor__editable_inline\"}})}render(){super.render();const t=this._editingView;const e=this.t;t.change(n=>{const i=t.document.getRoot(this.name);n.setAttribute(\"aria-label\",e(\"cx\",[this.name]),i)})}}function rp(t){return e=>e+t}var ap=n(29);const cp=rp(\"px\");class lp extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.set(\"isActive\",false);this.set(\"isSticky\",false);this.set(\"limiterElement\",null);this.set(\"limiterBottomOffset\",50);this.set(\"viewportTopOffset\",0);this.set(\"_marginLeft\",null);this.set(\"_isStickyToTheLimiter\",false);this.set(\"_hasViewportTopOffset\",false);this.content=this.createCollection();this._contentPanelPlaceholder=new Cg({tag:\"div\",attributes:{class:[\"ck\",\"ck-sticky-panel__placeholder\"],style:{display:e.to(\"isSticky\",t=>t?\"block\":\"none\"),height:e.to(\"isSticky\",t=>t?cp(this._panelRect.height):null)}}}).render();this._contentPanel=new Cg({tag:\"div\",attributes:{class:[\"ck\",\"ck-sticky-panel__content\",e.if(\"isSticky\",\"ck-sticky-panel__content_sticky\"),e.if(\"_isStickyToTheLimiter\",\"ck-sticky-panel__content_sticky_bottom-limit\")],style:{width:e.to(\"isSticky\",t=>t?cp(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:e.to(\"_hasViewportTopOffset\",t=>t?cp(this.viewportTopOffset):null),bottom:e.to(\"_isStickyToTheLimiter\",t=>t?cp(this.limiterBottomOffset):null),marginLeft:e.to(\"_marginLeft\")}},children:this.content}).render();this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-sticky-panel\"]},children:[this._contentPanelPlaceholder,this._contentPanel]})}render(){super.render();this._checkIfShouldBeSticky();this.listenTo(ol.window,\"scroll\",()=>{this._checkIfShouldBeSticky()});this.listenTo(this,\"change:isActive\",()=>{this._checkIfShouldBeSticky()})}_checkIfShouldBeSticky(){const t=this._panelRect=this._contentPanel.getBoundingClientRect();let e;if(!this.limiterElement){this.isSticky=false}else{e=this._limiterRect=this.limiterElement.getBoundingClientRect();this.isSticky=this.isActive&&e.top<this.viewportTopOffset&&this._panelRect.height+this.limiterBottomOffset<e.height}if(this.isSticky){this._isStickyToTheLimiter=e.bottom<t.height+this.limiterBottomOffset+this.viewportTopOffset;this._hasViewportTopOffset=!this._isStickyToTheLimiter&&!!this.viewportTopOffset;this._marginLeft=this._isStickyToTheLimiter?null:cp(-ol.window.scrollX)}else{this._isStickyToTheLimiter=false;this._hasViewportTopOffset=false;this._marginLeft=null}}}class dp{constructor(t){Object.assign(this,t);if(t.actions&&t.keystrokeHandler){for(const e in t.actions){let n=t.actions[e];if(typeof n==\"string\"){n=[n]}for(const i of n){t.keystrokeHandler.set(i,(t,n)=>{this[e]();n()})}}}}get first(){return this.focusables.find(up)||null}get last(){return this.focusables.filter(up).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let t=null;if(this.focusTracker.focusedElement===null){return null}this.focusables.find((e,n)=>{const i=e.element===this.focusTracker.focusedElement;if(i){t=n}return i});return t}focusFirst(){this._focus(this.first)}focusLast(){this._focus(this.last)}focusNext(){this._focus(this.next)}focusPrevious(){this._focus(this.previous)}_focus(t){if(t){t.focus()}}_getFocusableItem(t){const e=this.current;const n=this.focusables.length;if(!n){return null}if(e===null){return this[t===1?\"first\":\"last\"]}let i=(e+n+t)%n;do{const e=this.focusables.get(i);if(up(e)){return e}i=(i+n+t)%n}while(i!==e);return null}}function up(t){return!!(t.focus&&ol.window.getComputedStyle(t.element).display!=\"none\")}class hp extends Qg{constructor(t){super(t);this.setTemplate({tag:\"span\",attributes:{class:[\"ck\",\"ck-toolbar__separator\"]}})}}const fp=100;function mp(t){if(typeof ol.window.ResizeObserver===\"function\"){return new ol.window.ResizeObserver(t)}else{return new gp(t)}}class gp{constructor(t){this._callback=t;this._elements=new Set;this._previousRects=new Map;this._periodicCheckTimeout=null}observe(t){this._elements.add(t);if(this._elements.size===1){this._startPeriodicCheck()}}unobserve(t){this._elements.delete(t);this._previousRects.delete(t);if(!this._elements.size){this._stopPeriodicCheck()}}disconnect(){this._elements.forEach(t=>this.unobserve(t))}_startPeriodicCheck(){const t=()=>{this._checkElementRectsAndExecuteCallback();this._periodicCheckTimeout=setTimeout(t,fp)};this.listenTo(ol.window,\"resize\",()=>{this._checkElementRectsAndExecuteCallback()});t()}_stopPeriodicCheck(){clearTimeout(this._periodicCheckTimeout);this.stopListening();this._previousRects.clear()}_checkElementRectsAndExecuteCallback(){const t=[];for(const e of this._elements){if(this._hasRectChanged(e)){t.push({target:e,contentRect:this._previousRects.get(e)})}}if(t.length){this._callback(t)}}_hasRectChanged(t){if(!t.ownerDocument.body.contains(t)){return false}const e=new Jd(t);const n=this._previousRects.get(t);const i=!n||!n.isEqual(e);this._previousRects.set(t,e);return i}}vr(gp,pl);function pp(t){return t.bindTemplate.to(e=>{if(e.target===t.element){e.preventDefault()}})}class bp extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.set(\"isVisible\",false);this.set(\"position\",\"se\");this.children=this.createCollection();this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-reset\",\"ck-dropdown__panel\",e.to(\"position\",t=>`ck-dropdown__panel_${t}`),e.if(\"isVisible\",\"ck-dropdown__panel-visible\")]},children:this.children,on:{selectstart:e.to(t=>t.preventDefault())}})}focus(){if(this.children.length){this.children.first.focus()}}focusLast(){if(this.children.length){const t=this.children.last;if(typeof t.focusLast===\"function\"){t.focusLast()}else{t.focus()}}}}var wp=n(31);function _p(t){while(t&&t.tagName.toLowerCase()!=\"html\"){if(ol.window.getComputedStyle(t).position!=\"static\"){return t}t=t.parentElement}return null}function vp({element:t,target:e,positions:n,limiter:i,fitInViewport:o}){if(mt(e)){e=e()}if(mt(i)){i=i()}const s=_p(t.parentElement);const r=new Jd(t);const a=new Jd(e);let c;let l;if(!i&&!o){[l,c]=kp(n[0],a,r)}else{const t=i&&new Jd(i).getVisible();const e=o&&new Jd(ol.window);[l,c]=xp(n,a,r,t,e)||kp(n[0],a,r)}let{left:d,top:u}=yp(c);if(s){const t=yp(new Jd(s));const e=Gd(s);d-=t.left;u-=t.top;d+=s.scrollLeft;u+=s.scrollTop;d-=e.left;u-=e.top}return{left:d,top:u,name:l}}function kp(t,e,n){const{left:i,top:o,name:s}=t(e,n);return[s,n.clone().moveTo(i,o)]}function xp(t,e,n,i,o){let s=0;let r=0;let a;let c;const l=n.getArea();t.some(t=>{const[d,u]=kp(t,e,n);let h;let f;if(i){if(o){const t=i.getIntersection(o);if(t){h=t.getIntersectionArea(u)}else{h=0}}else{h=i.getIntersectionArea(u)}}if(o){f=o.getIntersectionArea(u)}if(o&&!i){if(f>r){m()}}else if(!o&&i){if(h>s){m()}}else{if(f>r&&h>=s){m()}else if(f>=r&&h>s){m()}}function m(){r=f;s=h;a=u;c=d}return h===l});return a?[c,a]:null}function yp({left:t,top:e}){const{scrollX:n,scrollY:i}=ol.window;return{left:t+n,top:e+i}}class Ap extends Qg{constructor(t,e,n){super(t);const i=this.bindTemplate;this.buttonView=e;this.panelView=n;this.set(\"isOpen\",false);this.set(\"isEnabled\",true);this.set(\"class\");this.set(\"panelPosition\",\"auto\");this.focusTracker=new rg;this.keystrokes=new qm;this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-dropdown\",i.to(\"class\"),i.if(\"isEnabled\",\"ck-disabled\",t=>!t)]},children:[e,n]});e.extendTemplate({attributes:{class:[\"ck-dropdown__button\"]}})}render(){super.render();this.listenTo(this.buttonView,\"open\",()=>{this.isOpen=!this.isOpen});this.panelView.bind(\"isVisible\").to(this,\"isOpen\");this.on(\"change:isOpen\",()=>{if(!this.isOpen){return}if(this.panelPosition===\"auto\"){this.panelView.position=Ap._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:true,positions:this._panelPositions}).name}else{this.panelView.position=this.panelPosition}});this.keystrokes.listenTo(this.element);this.focusTracker.add(this.element);const t=(t,e)=>{if(this.isOpen){this.buttonView.focus();this.isOpen=false;e()}};this.keystrokes.set(\"arrowdown\",(t,e)=>{if(this.buttonView.isEnabled&&!this.isOpen){this.isOpen=true;e()}});this.keystrokes.set(\"arrowright\",(t,e)=>{if(this.isOpen){e()}});this.keystrokes.set(\"arrowleft\",t);this.keystrokes.set(\"esc\",t)}focus(){this.buttonView.focus()}get _panelPositions(){const{southEast:t,southWest:e,northEast:n,northWest:i}=Ap.defaultPanelPositions;if(this.locale.uiLanguageDirection===\"ltr\"){return[t,e,n,i]}else{return[e,t,i,n]}}}Ap.defaultPanelPositions={southEast:t=>({top:t.bottom,left:t.left,name:\"se\"}),southWest:(t,e)=>({top:t.bottom,left:t.left-e.width+t.width,name:\"sw\"}),northEast:(t,e)=>({top:t.top-e.height,left:t.left,name:\"ne\"}),northWest:(t,e)=>({top:t.bottom-e.height,left:t.left-e.width+t.width,name:\"nw\"})};Ap._getOptimalPosition=vp;var Cp=n(33);class Tp extends Qg{constructor(){super();const t=this.bindTemplate;this.set(\"content\",\"\");this.set(\"viewBox\",\"0 0 20 20\");this.set(\"fillColor\",\"\");this.setTemplate({tag:\"svg\",ns:\"http://www.w3.org/2000/svg\",attributes:{class:[\"ck\",\"ck-icon\"],viewBox:t.to(\"viewBox\")}})}render(){super.render();this._updateXMLContent();this._colorFillPaths();this.on(\"change:content\",()=>{this._updateXMLContent();this._colorFillPaths()});this.on(\"change:fillColor\",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const t=(new DOMParser).parseFromString(this.content.trim(),\"image/svg+xml\");const e=t.querySelector(\"svg\");const n=e.getAttribute(\"viewBox\");if(n){this.viewBox=n}this.element.innerHTML=\"\";while(e.childNodes.length>0){this.element.appendChild(e.childNodes[0])}}}_colorFillPaths(){if(this.fillColor){this.element.querySelectorAll(\".ck-icon__fill\").forEach(t=>{t.style.fill=this.fillColor})}}}var Mp=n(35);class Ep extends Qg{constructor(t){super(t);this.set(\"text\",\"\");this.set(\"position\",\"s\");const e=this.bindTemplate;this.setTemplate({tag:\"span\",attributes:{class:[\"ck\",\"ck-tooltip\",e.to(\"position\",t=>\"ck-tooltip_\"+t),e.if(\"text\",\"ck-hidden\",t=>!t.trim())]},children:[{tag:\"span\",attributes:{class:[\"ck\",\"ck-tooltip__text\"]},children:[{text:e.to(\"text\")}]}]})}}var Pp=n(37);class Sp extends Qg{constructor(t){super(t);const e=this.bindTemplate;const n=nr();this.set(\"class\");this.set(\"labelStyle\");this.set(\"icon\");this.set(\"isEnabled\",true);this.set(\"isOn\",false);this.set(\"isVisible\",true);this.set(\"isToggleable\",false);this.set(\"keystroke\");this.set(\"label\");this.set(\"tabindex\",-1);this.set(\"tooltip\");this.set(\"tooltipPosition\",\"s\");this.set(\"type\",\"button\");this.set(\"withText\",false);this.set(\"withKeystroke\",false);this.children=this.createCollection();this.tooltipView=this._createTooltipView();this.labelView=this._createLabelView(n);this.iconView=new Tp;this.iconView.extendTemplate({attributes:{class:\"ck-button__icon\"}});this.keystrokeView=this._createKeystrokeView();this.bind(\"_tooltipString\").to(this,\"tooltip\",this,\"label\",this,\"keystroke\",this._getTooltipString.bind(this));this.setTemplate({tag:\"button\",attributes:{class:[\"ck\",\"ck-button\",e.to(\"class\"),e.if(\"isEnabled\",\"ck-disabled\",t=>!t),e.if(\"isVisible\",\"ck-hidden\",t=>!t),e.to(\"isOn\",t=>t?\"ck-on\":\"ck-off\"),e.if(\"withText\",\"ck-button_with-text\"),e.if(\"withKeystroke\",\"ck-button_with-keystroke\")],type:e.to(\"type\",t=>t?t:\"button\"),tabindex:e.to(\"tabindex\"),\"aria-labelledby\":`ck-editor__aria-label_${n}`,\"aria-disabled\":e.if(\"isEnabled\",true,t=>!t),\"aria-pressed\":e.to(\"isOn\",t=>this.isToggleable?String(t):false)},children:this.children,on:{mousedown:e.to(t=>{t.preventDefault()}),click:e.to(t=>{if(this.isEnabled){this.fire(\"execute\")}else{t.preventDefault()}})}})}render(){super.render();if(this.icon){this.iconView.bind(\"content\").to(this,\"icon\");this.children.add(this.iconView)}this.children.add(this.tooltipView);this.children.add(this.labelView);if(this.withKeystroke){this.children.add(this.keystrokeView)}}focus(){this.element.focus()}_createTooltipView(){const t=new Ep;t.bind(\"text\").to(this,\"_tooltipString\");t.bind(\"position\").to(this,\"tooltipPosition\");return t}_createLabelView(t){const e=new Qg;const n=this.bindTemplate;e.setTemplate({tag:\"span\",attributes:{class:[\"ck\",\"ck-button__label\"],style:n.to(\"labelStyle\"),id:`ck-editor__aria-label_${t}`},children:[{text:this.bindTemplate.to(\"label\")}]});return e}_createKeystrokeView(){const t=new Qg;t.setTemplate({tag:\"span\",attributes:{class:[\"ck\",\"ck-button__keystroke\"]},children:[{text:this.bindTemplate.to(\"keystroke\",t=>lc(t))}]});return t}_getTooltipString(t,e,n){if(t){if(typeof t==\"string\"){return t}else{if(n){n=lc(n)}if(t instanceof Function){return t(e,n)}else{return`${e}${n?` (${n})`:\"\"}`}}}return\"\"}}var Ip='<svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z\"/></svg>';class Op extends Sp{constructor(t){super(t);this.arrowView=this._createArrowView();this.extendTemplate({attributes:{\"aria-haspopup\":true}});this.delegate(\"execute\").to(this,\"open\")}render(){super.render();this.children.add(this.arrowView)}_createArrowView(){const t=new Tp;t.content=Ip;t.extendTemplate({attributes:{class:\"ck-dropdown__arrow\"}});return t}}var Np=n(39);class Lp extends Qg{constructor(){super();this.items=this.createCollection();this.focusTracker=new rg;this.keystrokes=new qm;this._focusCycler=new dp({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"arrowup\",focusNext:\"arrowdown\"}});this.setTemplate({tag:\"ul\",attributes:{class:[\"ck\",\"ck-reset\",\"ck-list\"]},children:this.items})}render(){super.render();for(const t of this.items){this.focusTracker.add(t.element)}this.items.on(\"add\",(t,e)=>{this.focusTracker.add(e.element)});this.items.on(\"remove\",(t,e)=>{this.focusTracker.remove(e.element)});this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}class Rp extends Qg{constructor(t){super(t);this.children=this.createCollection();this.setTemplate({tag:\"li\",attributes:{class:[\"ck\",\"ck-list__item\"]},children:this.children})}focus(){this.children.first.focus()}}class Dp extends Qg{constructor(t){super(t);this.setTemplate({tag:\"li\",attributes:{class:[\"ck\",\"ck-list__separator\"]}})}}var jp=n(41);class zp extends Sp{constructor(t){super(t);this.isToggleable=true;this.toggleSwitchView=this._createToggleView();this.extendTemplate({attributes:{class:\"ck-switchbutton\"}})}render(){super.render();this.children.add(this.toggleSwitchView)}_createToggleView(){const t=new Qg;t.setTemplate({tag:\"span\",attributes:{class:[\"ck\",\"ck-button__toggle\"]},children:[{tag:\"span\",attributes:{class:[\"ck\",\"ck-button__toggle__inner\"]}}]});return t}}function Bp({emitter:t,activator:e,callback:n,contextElements:i}){t.listenTo(document,\"mousedown\",(t,{target:o})=>{if(!e()){return}for(const t of i){if(t.contains(o)){return}}n()})}var Vp=n(43);var Fp=n(45);function Hp(t,e=Op){const n=new e(t);const i=new bp(t);const o=new Ap(t,n,i);n.bind(\"isEnabled\").to(o);if(n instanceof Op){n.bind(\"isOn\").to(o,\"isOpen\")}else{n.arrowView.bind(\"isOn\").to(o,\"isOpen\")}$p(o);return o}function Up(t,e){const n=t.locale;const i=n.t;const o=t.toolbarView=new Xp(n);o.set(\"ariaLabel\",i(\"be\"));t.extendTemplate({attributes:{class:[\"ck-toolbar-dropdown\"]}});e.map(t=>o.items.add(t));t.panelView.children.add(o);o.items.delegate(\"execute\").to(t)}function Wp(t,e){const n=t.locale;const i=t.listView=new Lp(n);i.items.bindTo(e).using(({type:t,model:e})=>{if(t===\"separator\"){return new Dp(n)}else if(t===\"button\"||t===\"switchbutton\"){const i=new Rp(n);let o;if(t===\"button\"){o=new Sp(n)}else{o=new zp(n)}o.bind(...Object.keys(e)).to(e);o.delegate(\"execute\").to(i);i.children.add(o);return i}});t.panelView.children.add(i);i.items.delegate(\"execute\").to(t)}function $p(t){Yp(t);qp(t);Gp(t)}function Yp(t){t.on(\"render\",()=>{Bp({emitter:t,activator:()=>t.isOpen,callback:()=>{t.isOpen=false},contextElements:[t.element]})})}function qp(t){t.on(\"execute\",e=>{if(e.source instanceof zp){return}t.isOpen=false})}function Gp(t){t.keystrokes.set(\"arrowdown\",(e,n)=>{if(t.isOpen){t.panelView.focus();n()}});t.keystrokes.set(\"arrowup\",(e,n)=>{if(t.isOpen){t.panelView.focusLast();n()}})}var Kp='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"9.5\" cy=\"4.5\" r=\"1.5\"/><circle cx=\"9.5\" cy=\"10.5\" r=\"1.5\"/><circle cx=\"9.5\" cy=\"16.5\" r=\"1.5\"/></svg>\\n';var Jp=n(47);class Xp extends Qg{constructor(t,e){super(t);const n=this.bindTemplate;const i=this.t;this.options=e||{};this.set(\"ariaLabel\",i(\"cc\"));this.items=this.createCollection();this.focusTracker=new rg;this.keystrokes=new qm;this.set(\"class\");this.itemsView=new Qp(t);this.children=this.createCollection();this.children.add(this.itemsView);this.focusables=this.createCollection();this._focusCycler=new dp({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[\"arrowleft\",\"arrowup\"],focusNext:[\"arrowright\",\"arrowdown\"]}});this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-toolbar\",n.to(\"class\")],role:\"toolbar\",\"aria-label\":n.to(\"ariaLabel\")},children:this.children,on:{mousedown:pp(this)}});this._behavior=this.options.shouldGroupWhenFull?new tb(this):new Zp(this)}render(){super.render();for(const t of this.items){this.focusTracker.add(t.element)}this.items.on(\"add\",(t,e)=>{this.focusTracker.add(e.element)});this.items.on(\"remove\",(t,e)=>{this.focusTracker.remove(e.element)});this.keystrokes.listenTo(this.element);this._behavior.render(this)}destroy(){this._behavior.destroy();return super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(t,e){t.map(t=>{if(t==\"|\"){this.items.add(new hp)}else if(e.has(t)){this.items.add(e.create(t))}else{console.warn(Object(Qs[\"a\"])(\"toolbarview-item-unavailable: The requested toolbar item is unavailable.\"),{name:t})}})}}class Qp extends Qg{constructor(t){super(t);this.children=this.createCollection();this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-toolbar__items\"]},children:this.children})}}class Zp{constructor(t){const e=t.bindTemplate;t.set(\"isVertical\",false);t.itemsView.children.bindTo(t.items).using(t=>t);t.focusables.bindTo(t.items).using(t=>t);t.extendTemplate({attributes:{class:[e.if(\"isVertical\",\"ck-toolbar_vertical\")]}})}render(){}destroy(){}}class tb{constructor(t){this.viewChildren=t.children;this.viewFocusables=t.focusables;this.viewItemsView=t.itemsView;this.viewFocusTracker=t.focusTracker;this.viewLocale=t.locale;this.ungroupedItems=t.createCollection();this.groupedItems=t.createCollection();this.groupedItemsDropdown=this._createGroupedItemsDropdown();this.resizeObserver=null;this.cachedPadding=null;t.itemsView.children.bindTo(this.ungroupedItems).using(t=>t);this.ungroupedItems.on(\"add\",this._updateFocusCycleableItems.bind(this));this.ungroupedItems.on(\"remove\",this._updateFocusCycleableItems.bind(this));t.children.on(\"add\",this._updateFocusCycleableItems.bind(this));t.children.on(\"remove\",this._updateFocusCycleableItems.bind(this));t.items.on(\"add\",(t,e,n)=>{if(n>this.ungroupedItems.length){this.groupedItems.add(e,n-this.ungroupedItems.length)}else{this.ungroupedItems.add(e,n)}this._updateGrouping()});t.items.on(\"remove\",(t,e,n)=>{if(n>this.ungroupedItems.length){this.groupedItems.remove(e)}else{this.ungroupedItems.remove(e)}this._updateGrouping()});t.extendTemplate({attributes:{class:[\"ck-toolbar_grouping\"]}})}render(t){this.viewElement=t.element;this._enableGroupingOnResize()}destroy(){this.groupedItemsDropdown.destroy();this.resizeObserver.disconnect()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement)){return}let t;while(this._areItemsOverflowing){this._groupLastItem();t=true}if(!t&&this.groupedItems.length){while(this.groupedItems.length&&!this._areItemsOverflowing){this._ungroupFirstItem()}if(this._areItemsOverflowing){this._groupLastItem()}}}get _areItemsOverflowing(){if(!this.ungroupedItems.length){return false}const t=this.viewElement;const e=this.viewLocale.uiLanguageDirection;const n=new Jd(t.lastChild);const i=new Jd(t);if(!this.cachedPadding){const n=ol.window.getComputedStyle(t);const i=e===\"ltr\"?\"paddingRight\":\"paddingLeft\";this.cachedPadding=Number.parseInt(n[i])}if(e===\"ltr\"){return n.right>i.right-this.cachedPadding}else{return n.left<i.left+this.cachedPadding}}_enableGroupingOnResize(){let t;this.resizeObserver=mp(([e])=>{if(!t||t!==e.contentRect.width){this._updateGrouping();t=e.contentRect.width}});this.resizeObserver.observe(this.viewElement);this._updateGrouping()}_groupLastItem(){if(!this.groupedItems.length){this.viewChildren.add(new hp);this.viewChildren.add(this.groupedItemsDropdown);this.viewFocusTracker.add(this.groupedItemsDropdown.element)}this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first));if(!this.groupedItems.length){this.viewChildren.remove(this.groupedItemsDropdown);this.viewChildren.remove(this.viewChildren.last);this.viewFocusTracker.remove(this.groupedItemsDropdown.element)}}_createGroupedItemsDropdown(){const t=this.viewLocale;const e=t.t;const n=Hp(t);n.class=\"ck-toolbar__grouped-dropdown\";n.panelPosition=t.uiLanguageDirection===\"ltr\"?\"sw\":\"se\";Up(n,[]);n.buttonView.set({label:e(\"cd\"),tooltip:true,icon:Kp});n.toolbarView.items.bindTo(this.groupedItems).using(t=>t);return n}_updateFocusCycleableItems(){this.viewFocusables.clear();this.ungroupedItems.map(t=>{this.viewFocusables.add(t)});if(this.groupedItems.length){this.viewFocusables.add(this.groupedItemsDropdown)}}}var eb=n(49);class nb extends ip{constructor(t,e,n={}){super(t);this.stickyPanel=new lp(t);this.toolbar=new Xp(t,{shouldGroupWhenFull:n.shouldToolbarGroupWhenFull});this.editable=new sp(t,e)}render(){super.render();this.stickyPanel.content.add(this.toolbar);this.top.add(this.stickyPanel);this.main.add(this.editable)}}function ib(t){if(t instanceof HTMLTextAreaElement){return t.value}return t.innerHTML}class ob extends Km{constructor(t,e){super(e);if(Gs(t)){this.sourceElement=t}this.data.processor=new ig;this.model.document.createRoot();const n=!this.config.get(\"toolbar.shouldNotGroupWhenFull\");const i=new nb(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:n});this.ui=new kg(this,i);eg(this)}destroy(){if(this.sourceElement){this.updateSourceElement()}this.ui.destroy();return super.destroy()}static create(t,e={}){return new Promise(n=>{const i=new this(t,e);n(i.initPlugins().then(()=>i.ui.init(Gs(t)?t:null)).then(()=>{if(!Gs(t)&&e.initialData){throw new Qs[\"b\"](\"editor-create-initial-data: \"+\"The config.initialData option cannot be used together with initial data passed in Editor.create().\",null)}const n=e.initialData||sb(t);return i.data.init(n)}).then(()=>i.fire(\"ready\")).then(()=>i))})}}vr(ob,Xm);vr(ob,tg);function sb(t){return Gs(t)?ib(t):t}class rb{static get pluginName(){return\"BlockAutoformatEditing\"}constructor(t,e,n){let i;let o=null;if(typeof n==\"function\"){i=n}else{o=t.commands.get(n);i=()=>{t.execute(n)}}t.model.document.on(\"change\",(n,s)=>{if(o&&!o.isEnabled){return}if(s.type==\"transparent\"){return}const r=Array.from(t.model.document.differ.getChanges());const a=r[0];if(r.length!=1||a.type!==\"insert\"||a.name!=\"$text\"||a.length!=1){return}const c=a.position.parent;if(!c.is(\"paragraph\")||c.childCount!==1){return}const l=e.exec(c.getChild(0).data);if(!l){return}t.model.enqueueChange(t=>{const e=t.createPositionAt(c,0);const n=t.createPositionAt(c,l[0].length);const o=new Du(e,n);const s=i({match:l});if(s!==false){t.remove(o)}o.detach()})})}}function ab(t,e){let n=t.start;const i=Array.from(t.getItems()).reduce((t,i)=>{if(!(i.is(\"text\")||i.is(\"textProxy\"))){n=e.createPositionAfter(i);return\"\"}return t+i.data},\"\");return{text:i,range:e.createRange(n,t.end)}}class cb{static get pluginName(){return\"InlineAutoformatEditing\"}constructor(t,e,n){let i;let o;let s;let r;if(e instanceof RegExp){i=e}else{s=e}if(typeof n==\"string\"){o=n}else{r=n}s=s||(t=>{let e;const n=[];const o=[];while((e=i.exec(t))!==null){if(e&&e.length<4){break}let{index:t,1:i,2:s,3:r}=e;const a=i+s+r;t+=e[0].length-a.length;const c=[t,t+i.length];const l=[t+i.length+s.length,t+i.length+s.length+r.length];n.push(c);n.push(l);o.push([t+i.length,t+i.length+s.length])}return{remove:n,format:o}});r=r||((e,n)=>{const i=t.model.schema.getValidRanges(n,o);for(const t of i){e.setAttribute(o,true,t)}e.removeSelectionAttribute(o)});t.model.document.on(\"change\",(e,n)=>{if(n.type==\"transparent\"){return}const i=t.model;const o=i.document.selection;if(!o.isCollapsed){return}const a=Array.from(i.document.differ.getChanges());const c=a[0];if(a.length!=1||c.type!==\"insert\"||c.name!=\"$text\"||c.length!=1){return}const l=o.focus;const d=l.parent;const{text:u,range:h}=ab(i.createRange(i.createPositionAt(d,0),l),i);const f=s(u);const m=lb(h.start,f.format,i);const g=lb(h.start,f.remove,i);if(!(m.length&&g.length)){return}i.enqueueChange(t=>{const e=r(t,m);if(e===false){return}for(const e of g.reverse()){t.remove(e)}})})}}function lb(t,e,n){return e.filter(t=>t[0]!==undefined&&t[1]!==undefined).map(e=>n.createRange(t.getShiftedBy(e[0]),t.getShiftedBy(e[1])))}class db{constructor(t){this.editor=t}destroy(){this.stopListening()}}vr(db,_a);class ub extends db{static get pluginName(){return\"Autoformat\"}afterInit(){this._addListAutoformats();this._addBasicStylesAutoformats();this._addHeadingAutoformats();this._addBlockQuoteAutoformats();this._addCodeBlockAutoformats()}_addListAutoformats(){const t=this.editor.commands;if(t.get(\"bulletedList\")){new rb(this.editor,/^[*-]\\s$/,\"bulletedList\")}if(t.get(\"numberedList\")){new rb(this.editor,/^1[.|)]\\s$/,\"numberedList\")}}_addBasicStylesAutoformats(){const t=this.editor.commands;if(t.get(\"bold\")){const t=hb(this.editor,\"bold\");new cb(this.editor,/(\\*\\*)([^*]+)(\\*\\*)$/g,t);new cb(this.editor,/(__)([^_]+)(__)$/g,t)}if(t.get(\"italic\")){const t=hb(this.editor,\"italic\");new cb(this.editor,/(?:^|[^*])(\\*)([^*_]+)(\\*)$/g,t);new cb(this.editor,/(?:^|[^_])(_)([^_]+)(_)$/g,t)}if(t.get(\"code\")){const t=hb(this.editor,\"code\");new cb(this.editor,/(`)([^`]+)(`)$/g,t)}}_addHeadingAutoformats(){const t=this.editor.commands.get(\"heading\");if(t){t.modelElements.filter(t=>t.match(/^heading[1-6]$/)).forEach(e=>{const n=e[7];const i=new RegExp(`^(#{${n}})\\\\s$`);new rb(this.editor,i,()=>{if(!t.isEnabled){return false}this.editor.execute(\"heading\",{value:e})})})}}_addBlockQuoteAutoformats(){if(this.editor.commands.get(\"blockQuote\")){new rb(this.editor,/^>\\s$/,\"blockQuote\")}}_addCodeBlockAutoformats(){if(this.editor.commands.get(\"codeBlock\")){new rb(this.editor,/^```$/,\"codeBlock\")}}}function hb(t,e){return(n,i)=>{const o=t.commands.get(e);if(!o.isEnabled){return false}const s=t.model.schema.getValidRanges(i,e);for(const t of s){n.setAttribute(e,true,t)}n.removeSelectionAttribute(e)}}class fb{constructor(t){this.editor=t;this.set(\"value\",undefined);this.set(\"isEnabled\",false);this._disableStack=new Set;this.decorate(\"execute\");this.listenTo(this.editor.model.document,\"change\",()=>{this.refresh()});this.on(\"execute\",t=>{if(!this.isEnabled){t.stop()}},{priority:\"high\"});this.listenTo(t,\"change:isReadOnly\",(t,e,n)=>{if(n){this.forceDisabled(\"readOnlyMode\")}else{this.clearForceDisabled(\"readOnlyMode\")}})}refresh(){this.isEnabled=true}forceDisabled(t){this._disableStack.add(t);if(this._disableStack.size==1){this.on(\"set:isEnabled\",mb,{priority:\"highest\"});this.isEnabled=false}}clearForceDisabled(t){this._disableStack.delete(t);if(this._disableStack.size==0){this.off(\"set:isEnabled\",mb);this.refresh()}}execute(){}destroy(){this.stopListening()}}vr(fb,_a);function mb(t){t.return=false;t.stop()}function gb(t){const e=t.next();if(e.done){return null}return e.value}class pb extends fb{refresh(){this.value=this._getValue();this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor.model;const n=e.schema;const i=e.document.selection;const o=Array.from(i.getSelectedBlocks());const s=t.forceValue===undefined?!this.value:t.forceValue;e.change(t=>{if(!s){this._removeQuote(t,o.filter(bb))}else{const e=o.filter(t=>bb(t)||_b(n,t));this._applyQuote(t,e)}})}_getValue(){const t=this.editor.model.document.selection;const e=gb(t.getSelectedBlocks());return!!(e&&bb(e))}_checkEnabled(){if(this.value){return true}const t=this.editor.model.document.selection;const e=this.editor.model.schema;const n=gb(t.getSelectedBlocks());if(!n){return false}return _b(e,n)}_removeQuote(t,e){wb(t,e).reverse().forEach(e=>{if(e.start.isAtStart&&e.end.isAtEnd){t.unwrap(e.start.parent);return}if(e.start.isAtStart){const n=t.createPositionBefore(e.start.parent);t.move(e,n);return}if(!e.end.isAtEnd){t.split(e.end)}const n=t.createPositionAfter(e.end.parent);t.move(e,n)})}_applyQuote(t,e){const n=[];wb(t,e).reverse().forEach(e=>{let i=bb(e.start);if(!i){i=t.createElement(\"blockQuote\");t.wrap(e,i)}n.push(i)});n.reverse().reduce((e,n)=>{if(e.nextSibling==n){t.merge(t.createPositionAfter(e));return e}return n})}}function bb(t){return t.parent.name==\"blockQuote\"?t.parent:null}function wb(t,e){let n;let i=0;const o=[];while(i<e.length){const s=e[i];const r=e[i+1];if(!n){n=t.createPositionBefore(s)}if(!r||s.nextSibling!=r){o.push(t.createRange(n,t.createPositionAfter(s)));n=null}i++}return o}function _b(t,e){const n=t.checkChild(e.parent,\"blockQuote\");const i=t.checkChild([\"$root\",\"blockQuote\"],e);return n&&i}class vb extends db{static get pluginName(){return\"BlockQuoteEditing\"}init(){const t=this.editor;const e=t.model.schema;t.commands.add(\"blockQuote\",new pb(t));e.register(\"blockQuote\",{allowWhere:\"$block\",allowContentOf:\"$root\"});e.addChildCheck((t,e)=>{if(t.endsWith(\"blockQuote\")&&e.name==\"blockQuote\"){return false}});t.conversion.elementToElement({model:\"blockQuote\",view:\"blockquote\"});t.model.document.registerPostFixer(n=>{const i=t.model.document.differ.getChanges();for(const t of i){if(t.type==\"insert\"){const i=t.position.nodeAfter;if(!i){continue}if(i.is(\"blockQuote\")&&i.isEmpty){n.remove(i);return true}else if(i.is(\"blockQuote\")&&!e.checkChild(t.position,i)){n.unwrap(i);return true}else if(i.is(\"element\")){const t=n.createRangeIn(i);for(const i of t.getItems()){if(i.is(\"blockQuote\")&&!e.checkChild(n.createPositionBefore(i),i)){n.unwrap(i);return true}}}}else if(t.type==\"remove\"){const e=t.position.parent;if(e.is(\"blockQuote\")&&e.isEmpty){n.remove(e);return true}}}return false})}afterInit(){const t=this.editor;const e=t.commands.get(\"blockQuote\");this.listenTo(this.editor.editing.view.document,\"enter\",(t,n)=>{const i=this.editor.model.document;const o=i.selection.getLastPosition().parent;if(i.selection.isCollapsed&&o.isEmpty&&e.value){this.editor.execute(\"blockQuote\");this.editor.editing.view.scrollToTheSelection();n.preventDefault();t.stop()}})}}var kb='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z\"/></svg>';var xb=n(51);class yb extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(\"blockQuote\",n=>{const i=t.commands.get(\"blockQuote\");const o=new Sp(n);o.set({label:e(\"h\"),icon:kb,tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(\"blockQuote\"));return o})}}class Ab extends db{static get requires(){return[vb,yb]}static get pluginName(){return\"BlockQuote\"}}class Cb extends fb{constructor(t,e){super(t);this.attributeKey=e}refresh(){const t=this.editor.model;const e=t.document;this.value=this._getValueFromFirstAllowedNode();this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model;const n=e.document;const i=n.selection;const o=t.forceValue===undefined?!this.value:t.forceValue;e.change(t=>{if(i.isCollapsed){if(o){t.setSelectionAttribute(this.attributeKey,true)}else{t.removeSelectionAttribute(this.attributeKey)}}else{const n=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of n){if(o){t.setAttribute(this.attributeKey,o,e)}else{t.removeAttribute(this.attributeKey,e)}}}})}_getValueFromFirstAllowedNode(){const t=this.editor.model;const e=t.schema;const n=t.document.selection;if(n.isCollapsed){return n.hasAttribute(this.attributeKey)}for(const t of n.getRanges()){for(const n of t.getItems()){if(e.checkAttribute(n,this.attributeKey)){return n.hasAttribute(this.attributeKey)}}}return false}}const Tb=\"bold\";class Mb extends db{static get pluginName(){return\"BoldEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:Tb});t.model.schema.setAttributeProperties(Tb,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:Tb,view:\"strong\",upcastAlso:[\"b\",t=>{const e=t.getStyle(\"font-weight\");if(!e){return null}if(e==\"bold\"||Number(e)>=600){return{name:true,styles:[\"font-weight\"]}}}]});t.commands.add(Tb,new Cb(t,Tb));t.keystrokes.set(\"CTRL+B\",Tb)}}var Eb='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z\"/></svg>';const Pb=\"bold\";class Sb extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(Pb,n=>{const i=t.commands.get(Pb);const o=new Sp(n);o.set({label:e(\"t\"),icon:Eb,keystroke:\"CTRL+B\",tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(Pb));return o})}}class Ib extends db{static get requires(){return[Mb,Sb]}static get pluginName(){return\"Bold\"}}class Ob extends fb{refresh(){const t=this.editor.model;const e=t.document;const n=gb(e.selection.getSelectedBlocks());this.value=!!n&&n.is(\"paragraph\");this.isEnabled=!!n&&Nb(n,t.schema)}execute(t={}){const e=this.editor.model;const n=e.document;e.change(i=>{const o=(t.selection||n.selection).getSelectedBlocks();for(const t of o){if(!t.is(\"paragraph\")&&Nb(t,e.schema)){i.rename(t,\"paragraph\")}}})}}function Nb(t,e){return e.checkChild(t.parent,\"paragraph\")&&!e.isObject(t)}class Lb extends db{static get pluginName(){return\"Paragraph\"}init(){const t=this.editor;const e=t.model;const n=t.data;t.commands.add(\"paragraph\",new Ob(t));e.schema.register(\"paragraph\",{inheritAllFrom:\"$block\"});t.conversion.elementToElement({model:\"paragraph\",view:\"p\"});t.conversion.for(\"upcast\").elementToElement({model:(t,e)=>{if(!Lb.paragraphLikeElements.has(t.name)){return null}if(t.isEmpty){return null}return e.createElement(\"paragraph\")},converterPriority:\"low\"});n.upcastDispatcher.on(\"element\",(t,e,n)=>{if(!n.consumable.test(e.viewItem,{name:e.viewItem.name})){return}if(Db(e.viewItem,e.modelCursor,n.schema)){Object.assign(e,Rb(e.viewItem,e.modelCursor,n))}},{priority:\"low\"});n.upcastDispatcher.on(\"text\",(t,e,n)=>{if(e.modelRange){return}if(Db(e.viewItem,e.modelCursor,n.schema)){Object.assign(e,Rb(e.viewItem,e.modelCursor,n))}},{priority:\"lowest\"});e.document.registerPostFixer(t=>this._autoparagraphEmptyRoots(t));t.data.on(\"ready\",()=>{e.enqueueChange(\"transparent\",t=>this._autoparagraphEmptyRoots(t))},{priority:\"lowest\"})}_autoparagraphEmptyRoots(t){const e=this.editor.model;for(const n of e.document.getRootNames()){const i=e.document.getRoot(n);if(i.isEmpty&&i.rootName!=\"$graveyard\"){if(e.schema.checkChild(i,\"paragraph\")){t.insertElement(\"paragraph\",i);return true}}}}}Lb.paragraphLikeElements=new Set([\"blockquote\",\"dd\",\"div\",\"dt\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"li\",\"p\",\"td\"]);function Rb(t,e,n){const i=n.writer.createElement(\"paragraph\");n.writer.insert(i,e);return n.convertItem(t,n.writer.createPositionAt(i,0))}function Db(t,e,n){const i=n.createContext(e);if(!n.checkChild(i,\"paragraph\")){return false}if(!n.checkChild(i.push(\"paragraph\"),t)){return false}return true}class jb extends fb{constructor(t,e){super(t);this.modelElements=e}refresh(){const t=gb(this.editor.model.document.selection.getSelectedBlocks());this.value=!!t&&this.modelElements.includes(t.name)&&t.name;this.isEnabled=!!t&&this.modelElements.some(e=>zb(t,e,this.editor.model.schema))}execute(t){const e=this.editor.model;const n=e.document;const i=t.value;e.change(t=>{const o=Array.from(n.selection.getSelectedBlocks()).filter(t=>zb(t,i,e.schema));for(const e of o){if(!e.is(i)){t.rename(e,i)}}})}}function zb(t,e,n){return n.checkChild(t.parent,e)&&!n.isObject(t)}const Bb=\"paragraph\";class Vb extends db{static get pluginName(){return\"HeadingEditing\"}constructor(t){super(t);t.config.define(\"heading\",{options:[{model:\"paragraph\",title:\"Paragraph\",class:\"ck-heading_paragraph\"},{model:\"heading1\",view:\"h2\",title:\"Heading 1\",class:\"ck-heading_heading1\"},{model:\"heading2\",view:\"h3\",title:\"Heading 2\",class:\"ck-heading_heading2\"},{model:\"heading3\",view:\"h4\",title:\"Heading 3\",class:\"ck-heading_heading3\"}]})}static get requires(){return[Lb]}init(){const t=this.editor;const e=t.config.get(\"heading.options\");const n=[];for(const i of e){if(i.model!==Bb){t.model.schema.register(i.model,{inheritAllFrom:\"$block\"});t.conversion.elementToElement(i);n.push(i.model)}}this._addDefaultH1Conversion(t);t.commands.add(\"heading\",new jb(t,n))}afterInit(){const t=this.editor;const e=t.commands.get(\"enter\");const n=t.config.get(\"heading.options\");if(e){this.listenTo(e,\"afterExecute\",(e,i)=>{const o=t.model.document.selection.getFirstPosition().parent;const s=n.some(t=>o.is(t.model));if(s&&!o.is(Bb)&&o.childCount===0){i.writer.rename(o,Bb)}})}}_addDefaultH1Conversion(t){t.conversion.for(\"upcast\").elementToElement({model:\"heading1\",view:\"h1\",converterPriority:or.get(\"low\")+1})}}class Fb{constructor(t,e){if(e){ma(this,e)}if(t){this.set(t)}}}vr(Fb,_a);function Hb(t){const e=t.t;const n={Paragraph:e(\"cq\"),\"Heading 1\":e(\"cr\"),\"Heading 2\":e(\"cs\"),\"Heading 3\":e(\"ct\"),\"Heading 4\":e(\"cu\"),\"Heading 5\":e(\"cv\"),\"Heading 6\":e(\"cw\")};return t.config.get(\"heading.options\").map(t=>{const e=n[t.title];if(e&&e!=t.title){t.title=e}return t})}var Ub=n(13);class Wb extends db{init(){const t=this.editor;const e=t.t;const n=Hb(t);const i=e(\"i\");const o=e(\"j\");t.ui.componentFactory.add(\"heading\",e=>{const s={};const r=new Fa;const a=t.commands.get(\"heading\");const c=t.commands.get(\"paragraph\");const l=[a];for(const t of n){const e={type:\"button\",model:new Fb({label:t.title,class:t.class,withText:true})};if(t.model===\"paragraph\"){e.model.bind(\"isOn\").to(c,\"value\");e.model.set(\"commandName\",\"paragraph\");l.push(c)}else{e.model.bind(\"isOn\").to(a,\"value\",e=>e===t.model);e.model.set({commandName:\"heading\",commandValue:t.model})}r.add(e);s[t.model]=t.title}const d=Hp(e);Wp(d,r);d.buttonView.set({isOn:false,withText:true,tooltip:o});d.extendTemplate({attributes:{class:[\"ck-heading-dropdown\"]}});d.bind(\"isEnabled\").toMany(l,\"isEnabled\",(...t)=>t.some(t=>t));d.buttonView.bind(\"label\").to(a,\"value\",c,\"value\",(t,e)=>{const n=t||e&&\"paragraph\";return s[n]?s[n]:i});this.listenTo(d,\"execute\",e=>{t.execute(e.source.commandName,e.source.commandValue?{value:e.source.commandValue}:undefined);t.editing.view.focus()});return d})}}class $b extends db{static get requires(){return[Vb,Wb]}static get pluginName(){return\"Heading\"}}class Yb extends _l{observe(t){this.listenTo(t,\"load\",(t,e)=>{const n=e.target;if(n.tagName==\"IMG\"){this._fireEvents(e)}},{useCapture:true})}_fireEvents(t){if(this.isEnabled){this.document.fire(\"layoutChanged\");this.document.fire(\"imageLoaded\",t)}}}function qb(){return e=>{e.on(\"element:figure\",t)};function t(t,e,n){if(!n.consumable.test(e.viewItem,{name:true,classes:\"image\"})){return}const i=Array.from(e.viewItem.getChildren()).find(t=>t.is(\"img\"));if(!i||!i.hasAttribute(\"src\")||!n.consumable.test(i,{name:true})){return}const o=n.convertItem(i,e.modelCursor);const s=gb(o.modelRange.getItems());if(!s){return}n.convertChildren(e.viewItem,n.writer.createPositionAt(s,0));e.modelRange=o.modelRange;e.modelCursor=o.modelCursor}}function Gb(){return e=>{e.on(\"attribute:srcset:image\",t)};function t(t,e,n){if(!n.consumable.consume(e.item,t.name)){return}const i=n.writer;const o=n.mapper.toViewElement(e.item);const s=o.getChild(0);if(e.attributeNewValue===null){const t=e.attributeOldValue;if(t.data){i.removeAttribute(\"srcset\",s);i.removeAttribute(\"sizes\",s);if(t.width){i.removeAttribute(\"width\",s)}}}else{const t=e.attributeNewValue;if(t.data){i.setAttribute(\"srcset\",t.data,s);i.setAttribute(\"sizes\",\"100vw\",s);if(t.width){i.setAttribute(\"width\",t.width,s)}}}}}function Kb(t){return n=>{n.on(`attribute:${t}:image`,e)};function e(t,e,n){if(!n.consumable.consume(e.item,t.name)){return}const i=n.writer;const o=n.mapper.toViewElement(e.item);const s=o.getChild(0);if(e.attributeNewValue!==null){i.setAttribute(e.attributeKey,e.attributeNewValue,s)}else{i.removeAttribute(e.attributeKey,s)}}}class Jb{constructor(){this._stack=[]}add(t,e){const n=this._stack;const i=n[0];this._insertDescriptor(t);const o=n[0];if(i!==o&&!Xb(i,o)){this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e})}}remove(t,e){const n=this._stack;const i=n[0];this._removeDescriptor(t);const o=n[0];if(i!==o&&!Xb(i,o)){this.fire(\"change:top\",{oldDescriptor:i,newDescriptor:o,writer:e})}}_insertDescriptor(t){const e=this._stack;const n=e.findIndex(e=>e.id===t.id);if(Xb(t,e[n])){return}if(n>-1){e.splice(n,1)}let i=0;while(e[i]&&Qb(e[i],t)){i++}e.splice(i,0,t)}_removeDescriptor(t){const e=this._stack;const n=e.findIndex(e=>e.id===t);if(n>-1){e.splice(n,1)}}}vr(Jb,lr);function Xb(t,e){return t&&e&&t.priority==e.priority&&Zb(t.classes)==Zb(e.classes)}function Qb(t,e){if(t.priority>e.priority){return true}else if(t.priority<e.priority){return false}return Zb(t.classes)>Zb(e.classes)}function Zb(t){return Array.isArray(t)?t.sort().join(\",\"):t}var tw='<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z\"/><path fill-opacity=\".256\" d=\"M1 1h14v14H1z\"/><g class=\"ck-icon__selected-indicator\"><path d=\"M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z\"/><path fill-opacity=\".254\" d=\"M1 1h14v14H1z\"/></g></svg>';const ew=\"ck-widget\";const nw=\"ck-widget_selected\";function iw(t){if(!t.is(\"element\")){return false}return!!t.getCustomProperty(\"widget\")}function ow(t,e,n={}){if(!Xa.isEdge){e.setAttribute(\"contenteditable\",\"false\",t)}e.addClass(ew,t);e.setCustomProperty(\"widget\",true,t);t.getFillerOffset=uw;if(n.label){rw(t,n.label,e)}if(n.hasSelectionHandle){hw(t,e)}sw(t,e,(t,e,n)=>n.addClass(i(e.classes),t),(t,e,n)=>n.removeClass(i(e.classes),t));return t;function i(t){return Array.isArray(t)?t:[t]}}function sw(t,e,n,i){const o=new Jb;o.on(\"change:top\",(e,o)=>{if(o.oldDescriptor){i(t,o.oldDescriptor,o.writer)}if(o.newDescriptor){n(t,o.newDescriptor,o.writer)}});e.setCustomProperty(\"addHighlight\",(t,e,n)=>o.add(e,n),t);e.setCustomProperty(\"removeHighlight\",(t,e,n)=>o.remove(e,n),t)}function rw(t,e,n){n.setCustomProperty(\"widgetLabel\",e,t)}function aw(t){const e=t.getCustomProperty(\"widgetLabel\");if(!e){return\"\"}return typeof e==\"function\"?e():e}function cw(t,e){e.addClass([\"ck-editor__editable\",\"ck-editor__nested-editable\"],t);if(!Xa.isEdge){e.setAttribute(\"contenteditable\",t.isReadOnly?\"false\":\"true\",t);t.on(\"change:isReadOnly\",(n,i,o)=>{e.setAttribute(\"contenteditable\",o?\"false\":\"true\",t)})}t.on(\"change:isFocused\",(n,i,o)=>{if(o){e.addClass(\"ck-editor__nested-editable_focused\",t)}else{e.removeClass(\"ck-editor__nested-editable_focused\",t)}});return t}function lw(t,e){const n=t.getSelectedElement();if(n&&e.schema.isBlock(n)){return e.createPositionAfter(n)}const i=t.getSelectedBlocks().next().value;if(i){if(i.isEmpty){return e.createPositionAt(i,0)}const n=e.createPositionAfter(i);if(t.focus.isTouching(n)){return n}return e.createPositionBefore(i)}return t.focus}function dw(t,e){return(n,i)=>{const{mapper:o,viewPosition:s}=i;const r=o.findMappedViewAncestor(s);if(!e(r)){return}const a=o.toModelElement(r);i.modelPosition=t.createPositionAt(a,s.isAtStart?\"before\":\"after\")}}function uw(){return null}function hw(t,e){const n=e.createUIElement(\"div\",{class:\"ck ck-widget__selection-handle\"},(function(t){const e=this.toDomElement(t);const n=new Tp;n.set(\"content\",tw);n.render();e.appendChild(n.element);return e}));e.insert(e.createPositionAt(t,0),n);e.addClass([\"ck-widget_with-selection-handle\"],t)}function fw(t,e,n){e.setCustomProperty(\"image\",true,t);return ow(t,e,{label:i});function i(){const e=t.getChild(0);const i=e.getAttribute(\"alt\");return i?`${i} ${n}`:n}}function mw(t){return!!t.getCustomProperty(\"image\")&&iw(t)}function gw(t){const e=t.getSelectedElement();if(e&&mw(e)){return e}return null}function pw(t){return!!t&&t.is(\"image\")}function bw(t,e,n={}){const i=t.createElement(\"image\",n);const o=lw(e.document.selection,e);e.insertContent(i,o);if(i.parent){t.setSelection(i,\"on\")}}function ww(t){const e=t.schema;const n=t.document.selection;return _w(n,e,t)&&!vw(n,e)&&kw(n)}function _w(t,e,n){const i=xw(t,n);return e.checkChild(i,\"image\")}function vw(t,e){const n=t.getSelectedElement();return n&&e.isObject(n)}function kw(t){return[...t.focus.getAncestors()].every(t=>!t.is(\"image\"))}function xw(t,e){const n=lw(t,e);const i=n.parent;if(i.isEmpty&&!i.is(\"$root\")){return i.parent}return i}class yw extends fb{refresh(){this.isEnabled=ww(this.editor.model)}execute(t){const e=this.editor.model;e.change(n=>{const i=Array.isArray(t.source)?t.source:[t.source];for(const t of i){bw(n,e,{src:t})}})}}class Aw extends db{static get pluginName(){return\"ImageEditing\"}init(){const t=this.editor;const e=t.model.schema;const n=t.t;const i=t.conversion;t.editing.view.addObserver(Yb);e.register(\"image\",{isObject:true,isBlock:true,allowWhere:\"$block\",allowAttributes:[\"alt\",\"src\",\"srcset\"]});i.for(\"dataDowncast\").elementToElement({model:\"image\",view:(t,e)=>Cw(e)});i.for(\"editingDowncast\").elementToElement({model:\"image\",view:(t,e)=>fw(Cw(e),e,n(\"z\"))});i.for(\"downcast\").add(Kb(\"src\")).add(Kb(\"alt\")).add(Gb());i.for(\"upcast\").elementToElement({view:{name:\"img\",attributes:{src:true}},model:(t,e)=>e.createElement(\"image\",{src:t.getAttribute(\"src\")})}).attributeToAttribute({view:{name:\"img\",key:\"alt\"},model:\"alt\"}).attributeToAttribute({view:{name:\"img\",key:\"srcset\"},model:{key:\"srcset\",value:t=>{const e={data:t.getAttribute(\"srcset\")};if(t.hasAttribute(\"width\")){e.width=t.getAttribute(\"width\")}return e}}}).add(qb());t.commands.add(\"imageInsert\",new yw(t))}}function Cw(t){const e=t.createEmptyElement(\"img\");const n=t.createContainerElement(\"figure\",{class:\"image\"});t.insert(t.createPositionAt(n,0),e);return n}class Tw extends kd{constructor(t){super(t);this.domEventType=\"mousedown\"}onDomEvent(t){this.fire(t.type,t)}}var Mw=n(54);const Ew=cc(\"Ctrl+A\");class Pw extends db{static get pluginName(){return\"Widget\"}init(){const t=this.editor.editing.view;const e=t.document;this._previouslySelected=new Set;this.editor.editing.downcastDispatcher.on(\"selection\",(t,e,n)=>{this._clearPreviouslySelectedWidgets(n.writer);const i=n.writer;const o=i.document.selection;const s=o.getSelectedElement();let r=null;for(const t of o.getRanges()){for(const e of t){const t=e.item;if(iw(t)&&!Nw(t,r)){i.addClass(nw,t);this._previouslySelected.add(t);r=t;if(t==s){i.setSelection(o.getRanges(),{fake:true,label:aw(s)})}}}}},{priority:\"low\"});t.addObserver(Tw);this.listenTo(e,\"mousedown\",(...t)=>this._onMousedown(...t));this.listenTo(e,\"keydown\",(...t)=>this._onKeydown(...t),{priority:\"high\"});this.listenTo(e,\"delete\",(t,e)=>{if(this._handleDelete(e.direction==\"forward\")){e.preventDefault();t.stop()}},{priority:\"high\"})}_onMousedown(t,e){const n=this.editor;const i=n.editing.view;const o=i.document;let s=e.target;if(Ow(s)){if(Xa.isSafari&&e.domEvent.detail>=3){const t=n.editing.mapper;const i=t.toModelElement(s);this.editor.model.change(t=>{e.preventDefault();t.setSelection(i,\"in\")})}return}if(!iw(s)){s=s.findAncestor(iw);if(!s){return}}e.preventDefault();if(!o.isFocused){i.focus()}const r=n.editing.mapper.toModelElement(s);this._setSelectionOverElement(r)}_onKeydown(t,e){const n=e.keyCode;const i=this.editor.locale.contentLanguageDirection===\"ltr\";const o=n==rc.arrowdown||n==rc[i?\"arrowright\":\"arrowleft\"];let s=false;if(Sw(n)){s=this._handleArrowKeys(o)}else if(Iw(e)){s=this._selectAllNestedEditableContent()||this._selectAllContent()}else if(n===rc.enter){s=this._handleEnterKey(e.shiftKey)}if(s){e.preventDefault();t.stop()}}_handleDelete(t){if(this.editor.isReadOnly){return}const e=this.editor.model.document;const n=e.selection;if(!n.isCollapsed){return}const i=this._getObjectElementNextToSelection(t);if(i){this.editor.model.change(t=>{let e=n.anchor.parent;while(e.isEmpty){const n=e;e=n.parent;t.remove(n)}this._setSelectionOverElement(i)});return true}}_handleArrowKeys(t){const e=this.editor.model;const n=e.schema;const i=e.document;const o=i.selection;const s=o.getSelectedElement();if(s&&n.isObject(s)){const i=t?o.getLastPosition():o.getFirstPosition();const s=n.getNearestSelectionRange(i,t?\"forward\":\"backward\");if(s){e.change(t=>{t.setSelection(s)})}return true}if(!o.isCollapsed){return}const r=this._getObjectElementNextToSelection(t);if(!!r&&n.isObject(r)){this._setSelectionOverElement(r);return true}}_handleEnterKey(t){const e=this.editor.model;const n=e.document.selection;const i=n.getSelectedElement();if(Lw(i,e.schema)){e.change(n=>{let o=n.createPositionAt(i,t?\"before\":\"after\");const s=n.createElement(\"paragraph\");if(e.schema.isBlock(i.parent)){const t=e.schema.findAllowedParent(o,s);o=n.split(o,t).position}n.insert(s,o);n.setSelection(s,\"in\")});return true}}_selectAllNestedEditableContent(){const t=this.editor.model;const e=t.document.selection;const n=t.schema.getLimitElement(e);if(e.getFirstRange().root==n){return false}t.change(t=>{t.setSelection(t.createRangeIn(n))});return true}_selectAllContent(){const t=this.editor.model;const e=this.editor.editing;const n=e.view;const i=n.document;const o=i.selection;const s=o.getSelectedElement();if(s&&iw(s)){const n=e.mapper.toModelElement(s.parent);t.change(t=>{t.setSelection(t.createRangeIn(n))});return true}return false}_setSelectionOverElement(t){this.editor.model.change(e=>{e.setSelection(e.createRangeOn(t))})}_getObjectElementNextToSelection(t){const e=this.editor.model;const n=e.schema;const i=e.document.selection;const o=e.createSelection(i);e.modifySelection(o,{direction:t?\"forward\":\"backward\"});const s=t?o.focus.nodeBefore:o.focus.nodeAfter;if(!!s&&n.isObject(s)){return s}return null}_clearPreviouslySelectedWidgets(t){for(const e of this._previouslySelected){t.removeClass(nw,e)}this._previouslySelected.clear()}}function Sw(t){return t==rc.arrowright||t==rc.arrowleft||t==rc.arrowup||t==rc.arrowdown}function Iw(t){return ac(t)==Ew}function Ow(t){while(t){if(t.is(\"editableElement\")&&!t.is(\"rootElement\")){return true}if(iw(t)){return false}t=t.parent}return false}function Nw(t,e){if(!e){return false}return Array.from(t.getAncestors()).includes(e)}function Lw(t,e){return t&&e.isObject(t)&&!e.isInline(t)}class Rw extends fb{refresh(){const t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=pw(t);if(pw(t)&&t.hasAttribute(\"alt\")){this.value=t.getAttribute(\"alt\")}else{this.value=false}}execute(t){const e=this.editor.model;const n=e.document.selection.getSelectedElement();e.change(e=>{e.setAttribute(\"alt\",t.newValue,n)})}}class Dw extends db{static get pluginName(){return\"ImageTextAlternativeEditing\"}init(){this.editor.commands.add(\"imageTextAlternative\",new Rw(this.editor))}}var jw=n(56);class zw extends Qg{constructor(t,e){super(t);const n=`ck-input-${nr()}`;const i=`ck-status-${nr()}`;this.set(\"label\");this.set(\"value\");this.set(\"isReadOnly\",false);this.set(\"errorText\",null);this.set(\"infoText\",null);this.labelView=this._createLabelView(n);this.inputView=this._createInputView(e,n,i);this.statusView=this._createStatusView(i);this.bind(\"_statusText\").to(this,\"errorText\",this,\"infoText\",(t,e)=>t||e);const o=this.bindTemplate;this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-labeled-input\",o.if(\"isReadOnly\",\"ck-disabled\")]},children:[this.labelView,this.inputView,this.statusView]})}_createLabelView(t){const e=new np(this.locale);e.for=t;e.bind(\"text\").to(this,\"label\");return e}_createInputView(t,e,n){const i=new t(this.locale,n);i.id=e;i.ariaDescribedById=n;i.bind(\"value\").to(this);i.bind(\"isReadOnly\").to(this);i.bind(\"hasError\").to(this,\"errorText\",t=>!!t);i.on(\"input\",()=>{this.errorText=null});return i}_createStatusView(t){const e=new Qg(this.locale);const n=this.bindTemplate;e.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-labeled-input__status\",n.if(\"errorText\",\"ck-labeled-input__status_error\"),n.if(\"_statusText\",\"ck-hidden\",t=>!t)],id:t,role:n.if(\"errorText\",\"alert\")},children:[{text:n.to(\"_statusText\")}]});return e}select(){this.inputView.select()}focus(){this.inputView.focus()}}var Bw=n(58);class Vw extends Qg{constructor(t){super(t);this.set(\"value\");this.set(\"id\");this.set(\"placeholder\");this.set(\"isReadOnly\",false);this.set(\"hasError\",false);this.set(\"ariaDescribedById\");const e=this.bindTemplate;this.setTemplate({tag:\"input\",attributes:{type:\"text\",class:[\"ck\",\"ck-input\",\"ck-input-text\",e.if(\"hasError\",\"ck-error\")],id:e.to(\"id\"),placeholder:e.to(\"placeholder\"),readonly:e.to(\"isReadOnly\"),\"aria-invalid\":e.if(\"hasError\",true),\"aria-describedby\":e.to(\"ariaDescribedById\")},on:{input:e.to(\"input\")}})}render(){super.render();const t=t=>{this.element.value=!t&&t!==0?\"\":t};t(this.value);this.on(\"change:value\",(e,n,i)=>{t(i)})}select(){this.element.select()}focus(){this.element.focus()}}function Fw({view:t}){t.listenTo(t.element,\"submit\",(e,n)=>{n.preventDefault();t.fire(\"submit\")},{useCapture:true})}var Hw='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z\"/></svg>';var Uw='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.591 10.177l4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z\"/></svg>';var Ww=n(60);class $w extends Qg{constructor(t){super(t);const e=this.locale.t;this.focusTracker=new rg;this.keystrokes=new qm;this.labeledInput=this._createLabeledInputView();this.saveButtonView=this._createButton(e(\"bz\"),Hw,\"ck-button-save\");this.saveButtonView.type=\"submit\";this.cancelButtonView=this._createButton(e(\"ca\"),Uw,\"ck-button-cancel\",\"cancel\");this._focusables=new xg;this._focusCycler=new dp({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}});this.setTemplate({tag:\"form\",attributes:{class:[\"ck\",\"ck-text-alternative-form\"],tabindex:\"-1\"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render();this.keystrokes.listenTo(this.element);Fw({view:this});[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(t=>{this._focusables.add(t);this.focusTracker.add(t.element)})}_createButton(t,e,n,i){const o=new Sp(this.locale);o.set({label:t,icon:e,tooltip:true});o.extendTemplate({attributes:{class:n}});if(i){o.delegate(\"execute\").to(this,i)}return o}_createLabeledInputView(){const t=this.locale.t;const e=new zw(this.locale,Vw);e.label=t(\"cb\");e.inputView.placeholder=t(\"cb\");return e}}var Yw=n(62);const qw=rp(\"px\");const Gw=ol.document.body;class Kw extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.set(\"top\",0);this.set(\"left\",0);this.set(\"position\",\"arrow_nw\");this.set(\"isVisible\",false);this.set(\"withArrow\",true);this.set(\"class\");this.content=this.createCollection();this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-balloon-panel\",e.to(\"position\",t=>`ck-balloon-panel_${t}`),e.if(\"isVisible\",\"ck-balloon-panel_visible\"),e.if(\"withArrow\",\"ck-balloon-panel_with-arrow\"),e.to(\"class\")],style:{top:e.to(\"top\",qw),left:e.to(\"left\",qw)}},children:this.content})}show(){this.isVisible=true}hide(){this.isVisible=false}attachTo(t){this.show();const e=Kw.defaultPositions;const n=Object.assign({},{element:this.element,positions:[e.southArrowNorth,e.southArrowNorthWest,e.southArrowNorthEast,e.northArrowSouth,e.northArrowSouthWest,e.northArrowSouthEast],limiter:Gw,fitInViewport:true},t);const i=Kw._getOptimalPosition(n);const o=parseInt(i.left);const s=parseInt(i.top);const r=i.name;Object.assign(this,{top:s,left:o,position:r})}pin(t){this.unpin();this._pinWhenIsVisibleCallback=()=>{if(this.isVisible){this._startPinning(t)}else{this._stopPinning()}};this._startPinning(t);this.listenTo(this,\"change:isVisible\",this._pinWhenIsVisibleCallback)}unpin(){if(this._pinWhenIsVisibleCallback){this._stopPinning();this.stopListening(this,\"change:isVisible\",this._pinWhenIsVisibleCallback);this._pinWhenIsVisibleCallback=null;this.hide()}}_startPinning(t){this.attachTo(t);const e=Jw(t.target);const n=t.limiter?Jw(t.limiter):Gw;this.listenTo(ol.document,\"scroll\",(i,o)=>{const s=o.target;const r=e&&s.contains(e);const a=n&&s.contains(n);if(r||a||!e||!n){this.attachTo(t)}},{useCapture:true});this.listenTo(ol.window,\"resize\",()=>{this.attachTo(t)})}_stopPinning(){this.stopListening(ol.document,\"scroll\");this.stopListening(ol.window,\"resize\")}}function Jw(t){if(Gs(t)){return t}if(qd(t)){return t.commonAncestorContainer}if(typeof t==\"function\"){return Jw(t())}return null}Kw.arrowHorizontalOffset=25;Kw.arrowVerticalOffset=10;Kw._getOptimalPosition=vp;Kw.defaultPositions={northArrowSouth:(t,e)=>({top:Xw(t,e),left:t.left+t.width/2-e.width/2,name:\"arrow_s\"}),northArrowSouthEast:(t,e)=>({top:Xw(t,e),left:t.left+t.width/2-e.width+Kw.arrowHorizontalOffset,name:\"arrow_se\"}),northArrowSouthWest:(t,e)=>({top:Xw(t,e),left:t.left+t.width/2-Kw.arrowHorizontalOffset,name:\"arrow_sw\"}),northWestArrowSouth:(t,e)=>({top:Xw(t,e),left:t.left-e.width/2,name:\"arrow_s\"}),northWestArrowSouthWest:(t,e)=>({top:Xw(t,e),left:t.left-Kw.arrowHorizontalOffset,name:\"arrow_sw\"}),northWestArrowSouthEast:(t,e)=>({top:Xw(t,e),left:t.left-e.width+Kw.arrowHorizontalOffset,name:\"arrow_se\"}),northEastArrowSouth:(t,e)=>({top:Xw(t,e),left:t.right-e.width/2,name:\"arrow_s\"}),northEastArrowSouthEast:(t,e)=>({top:Xw(t,e),left:t.right-e.width+Kw.arrowHorizontalOffset,name:\"arrow_se\"}),northEastArrowSouthWest:(t,e)=>({top:Xw(t,e),left:t.right-Kw.arrowHorizontalOffset,name:\"arrow_sw\"}),southArrowNorth:(t,e)=>({top:Qw(t,e),left:t.left+t.width/2-e.width/2,name:\"arrow_n\"}),southArrowNorthEast:(t,e)=>({top:Qw(t,e),left:t.left+t.width/2-e.width+Kw.arrowHorizontalOffset,name:\"arrow_ne\"}),southArrowNorthWest:(t,e)=>({top:Qw(t,e),left:t.left+t.width/2-Kw.arrowHorizontalOffset,name:\"arrow_nw\"}),southWestArrowNorth:(t,e)=>({top:Qw(t,e),left:t.left-e.width/2,name:\"arrow_n\"}),southWestArrowNorthWest:(t,e)=>({top:Qw(t,e),left:t.left-Kw.arrowHorizontalOffset,name:\"arrow_nw\"}),southWestArrowNorthEast:(t,e)=>({top:Qw(t,e),left:t.left-e.width+Kw.arrowHorizontalOffset,name:\"arrow_ne\"}),southEastArrowNorth:(t,e)=>({top:Qw(t,e),left:t.right-e.width/2,name:\"arrow_n\"}),southEastArrowNorthEast:(t,e)=>({top:Qw(t,e),left:t.right-e.width+Kw.arrowHorizontalOffset,name:\"arrow_ne\"}),southEastArrowNorthWest:(t,e)=>({top:Qw(t,e),left:t.right-Kw.arrowHorizontalOffset,name:\"arrow_nw\"})};function Xw(t,e){return t.top-e.height-Kw.arrowVerticalOffset}function Qw(t){return t.bottom+Kw.arrowVerticalOffset}var Zw='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z\" /></svg>\\n';var t_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z\"/></svg>\\n';var e_=n(64);var n_=n(66);const i_=rp(\"px\");class o_ extends db{static get pluginName(){return\"ContextualBalloon\"}constructor(t){super(t);this.positionLimiter=()=>{const t=this.editor.editing.view;const e=t.document;const n=e.selection.editableElement;if(n){return t.domConverter.mapViewToDom(n.root)}return null};this.set(\"visibleView\",null);this.view=new Kw(t.locale);t.ui.view.body.add(this.view);t.ui.focusTracker.add(this.view.element);this._viewToStack=new Map;this._idToStack=new Map;this.set(\"_numberOfStacks\",0);this.set(\"_singleViewMode\",false);this._rotatorView=this._createRotatorView();this._fakePanelsView=this._createFakePanelsView()}hasView(t){return Array.from(this._viewToStack.keys()).includes(t)}add(t){if(this.hasView(t.view)){throw new Qs[\"b\"](\"contextualballoon-add-view-exist: Cannot add configuration of the same view twice.\",[this,t])}const e=t.stackId||\"main\";if(!this._idToStack.has(e)){this._idToStack.set(e,new Map([[t.view,t]]));this._viewToStack.set(t.view,this._idToStack.get(e));this._numberOfStacks=this._idToStack.size;if(!this._visibleStack||t.singleViewMode){this.showStack(e)}return}const n=this._idToStack.get(e);if(t.singleViewMode){this.showStack(e)}n.set(t.view,t);this._viewToStack.set(t.view,n);if(n===this._visibleStack){this._showView(t)}}remove(t){if(!this.hasView(t)){throw new Qs[\"b\"](\"contextualballoon-remove-view-not-exist: Cannot remove the configuration of a non-existent view.\",[this,t])}const e=this._viewToStack.get(t);if(this._singleViewMode&&this.visibleView===t){this._singleViewMode=false}if(this.visibleView===t){if(e.size===1){if(this._idToStack.size>1){this._showNextStack()}else{this.view.hide();this.visibleView=null;this._rotatorView.hideView()}}else{this._showView(Array.from(e.values())[e.size-2])}}if(e.size===1){this._idToStack.delete(this._getStackId(e));this._numberOfStacks=this._idToStack.size}else{e.delete(t)}this._viewToStack.delete(t)}updatePosition(t){if(t){this._visibleStack.get(this.visibleView).position=t}this.view.pin(this._getBalloonPosition());this._fakePanelsView.updatePosition()}showStack(t){this.visibleStack=t;const e=this._idToStack.get(t);if(!e){throw new Qs[\"b\"](\"contextualballoon-showstack-stack-not-exist: Cannot show a stack that does not exist.\",this)}if(this._visibleStack===e){return}this._showView(Array.from(e.values()).pop())}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(t){const e=Array.from(this._idToStack.entries()).find(e=>e[1]===t);return e[0]}_showNextStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)+1;if(!t[e]){e=0}this.showStack(this._getStackId(t[e]))}_showPrevStack(){const t=Array.from(this._idToStack.values());let e=t.indexOf(this._visibleStack)-1;if(!t[e]){e=t.length-1}this.showStack(this._getStackId(t[e]))}_createRotatorView(){const t=new s_(this.editor.locale);const e=this.editor.locale.t;this.view.content.add(t);t.bind(\"isNavigationVisible\").to(this,\"_numberOfStacks\",this,\"_singleViewMode\",(t,e)=>!e&&t>1);t.on(\"change:isNavigationVisible\",()=>this.updatePosition(),{priority:\"low\"});t.bind(\"counter\").to(this,\"visibleView\",this,\"_numberOfStacks\",(t,n)=>{if(n<2){return\"\"}const i=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return e(\"bw\",[i,n])});t.buttonNextView.on(\"execute\",()=>{if(t.focusTracker.isFocused){this.editor.editing.view.focus()}this._showNextStack()});t.buttonPrevView.on(\"execute\",()=>{if(t.focusTracker.isFocused){this.editor.editing.view.focus()}this._showPrevStack()});return t}_createFakePanelsView(){const t=new r_(this.editor.locale,this.view);t.bind(\"numberOfPanels\").to(this,\"_numberOfStacks\",this,\"_singleViewMode\",(t,e)=>{const n=!e&&t>=2;return n?Math.min(t-1,2):0});t.listenTo(this.view,\"change:top\",()=>t.updatePosition());t.listenTo(this.view,\"change:left\",()=>t.updatePosition());this.editor.ui.view.body.add(t);return t}_showView({view:t,balloonClassName:e=\"\",withArrow:n=true,singleViewMode:i=false}){this.view.class=e;this.view.withArrow=n;this._rotatorView.showView(t);this.visibleView=t;this.view.pin(this._getBalloonPosition());this._fakePanelsView.updatePosition();if(i){this._singleViewMode=true}}_getBalloonPosition(){let t=Array.from(this._visibleStack.values()).pop().position;if(t&&!t.limiter){t=Object.assign({},t,{limiter:this.positionLimiter})}return t}}class s_ extends Qg{constructor(t){super(t);const e=t.t;const n=this.bindTemplate;this.set(\"isNavigationVisible\",true);this.focusTracker=new rg;this.buttonPrevView=this._createButtonView(e(\"bx\"),Zw);this.buttonNextView=this._createButtonView(e(\"by\"),t_);this.content=this.createCollection();this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-balloon-rotator\"],\"z-index\":\"-1\"},children:[{tag:\"div\",attributes:{class:[\"ck-balloon-rotator__navigation\",n.to(\"isNavigationVisible\",t=>t?\"\":\"ck-hidden\")]},children:[this.buttonPrevView,{tag:\"span\",attributes:{class:[\"ck-balloon-rotator__counter\"]},children:[{text:n.to(\"counter\")}]},this.buttonNextView]},{tag:\"div\",attributes:{class:\"ck-balloon-rotator__content\"},children:this.content}]})}render(){super.render();this.focusTracker.add(this.element)}showView(t){this.hideView();this.content.add(t)}hideView(){this.content.clear()}_createButtonView(t,e){const n=new Sp(this.locale);n.set({label:t,icon:e,tooltip:true});return n}}class r_ extends Qg{constructor(t,e){super(t);const n=this.bindTemplate;this.set(\"top\",0);this.set(\"left\",0);this.set(\"height\",0);this.set(\"width\",0);this.set(\"numberOfPanels\",0);this.content=this.createCollection();this._balloonPanelView=e;this.setTemplate({tag:\"div\",attributes:{class:[\"ck-fake-panel\",n.to(\"numberOfPanels\",t=>t?\"\":\"ck-hidden\")],style:{top:n.to(\"top\",i_),left:n.to(\"left\",i_),width:n.to(\"width\",i_),height:n.to(\"height\",i_)}},children:this.content});this.on(\"change:numberOfPanels\",(t,e,n,i)=>{if(n>i){this._addPanels(n-i)}else{this._removePanels(i-n)}this.updatePosition()})}_addPanels(t){while(t--){const t=new Qg;t.setTemplate({tag:\"div\"});this.content.add(t);this.registerChild(t)}}_removePanels(t){while(t--){const t=this.content.last;this.content.remove(t);this.deregisterChild(t);t.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:t,left:e}=this._balloonPanelView;const{width:n,height:i}=new Jd(this._balloonPanelView.element);Object.assign(this,{top:t,left:e,width:n,height:i})}}}var a_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.085 6.22L2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21l-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z\"/></svg>';function c_(t){const e=t.plugins.get(\"ContextualBalloon\");if(gw(t.editing.view.document.selection)){const n=l_(t);e.updatePosition(n)}}function l_(t){const e=t.editing.view;const n=Kw.defaultPositions;return{target:e.domConverter.viewToDom(e.document.selection.getSelectedElement()),positions:[n.northArrowSouth,n.northArrowSouthWest,n.northArrowSouthEast,n.southArrowNorth,n.southArrowNorthWest,n.southArrowNorthEast]}}class d_ extends db{static get requires(){return[o_]}static get pluginName(){return\"ImageTextAlternativeUI\"}init(){this._createButton();this._createForm()}destroy(){super.destroy();this._form.destroy()}_createButton(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(\"imageTextAlternative\",n=>{const i=t.commands.get(\"imageTextAlternative\");const o=new Sp(n);o.set({label:e(\"bc\"),icon:a_,tooltip:true});o.bind(\"isEnabled\").to(i,\"isEnabled\");this.listenTo(o,\"execute\",()=>this._showForm());return o})}_createForm(){const t=this.editor;const e=t.editing.view;const n=e.document;this._balloon=this.editor.plugins.get(\"ContextualBalloon\");this._form=new $w(t.locale);this._form.render();this.listenTo(this._form,\"submit\",()=>{t.execute(\"imageTextAlternative\",{newValue:this._form.labeledInput.inputView.element.value});this._hideForm(true)});this.listenTo(this._form,\"cancel\",()=>{this._hideForm(true)});this._form.keystrokes.set(\"Esc\",(t,e)=>{this._hideForm(true);e()});this.listenTo(t.ui,\"update\",()=>{if(!gw(n.selection)){this._hideForm(true)}else if(this._isVisible){c_(t)}});Bp({emitter:this._form,activator:()=>this._isVisible,contextElements:[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible){return}const t=this.editor;const e=t.commands.get(\"imageTextAlternative\");const n=this._form.labeledInput;if(!this._isInBalloon){this._balloon.add({view:this._form,position:l_(t)})}n.value=n.inputView.element.value=e.value||\"\";this._form.labeledInput.select()}_hideForm(t){if(!this._isInBalloon){return}if(this._form.focusTracker.isFocused){this._form.saveButtonView.focus()}this._balloon.remove(this._form);if(t){this.editor.editing.view.focus()}}get _isVisible(){return this._balloon.visibleView===this._form}get _isInBalloon(){return this._balloon.hasView(this._form)}}class u_ extends db{static get requires(){return[Dw,d_]}static get pluginName(){return\"ImageTextAlternative\"}}var h_=n(68);class f_ extends db{static get requires(){return[Aw,Pw,u_]}static get pluginName(){return\"Image\"}}function m_(t,e){return n=>{const i=n.createEditableElement(\"figcaption\");n.setCustomProperty(\"imageCaption\",true,i);hg({view:t,element:i,text:e});return cw(i,n)}}function g_(t){return!!t.getCustomProperty(\"imageCaption\")}function p_(t){for(const e of t.getChildren()){if(!!e&&e.is(\"caption\")){return e}}return null}function b_(t){const e=t.parent;if(t.name==\"figcaption\"&&e&&e.name==\"figure\"&&e.hasClass(\"image\")){return{name:true}}return null}class w_ extends db{static get pluginName(){return\"ImageCaptionEditing\"}init(){const t=this.editor;const e=t.editing.view;const n=t.model.schema;const i=t.data;const o=t.editing;const s=t.t;n.register(\"caption\",{allowIn:\"image\",allowContentOf:\"$block\",isLimit:true});t.model.document.registerPostFixer(t=>this._insertMissingModelCaptionElement(t));t.conversion.for(\"upcast\").elementToElement({view:b_,model:\"caption\"});const r=t=>t.createContainerElement(\"figcaption\");i.downcastDispatcher.on(\"insert:caption\",__(r,false));const a=m_(e,s(\"aa\"));o.downcastDispatcher.on(\"insert:caption\",__(a));o.downcastDispatcher.on(\"insert\",this._fixCaptionVisibility(t=>t.item),{priority:\"high\"});o.downcastDispatcher.on(\"remove\",this._fixCaptionVisibility(t=>t.position.parent),{priority:\"high\"});e.document.registerPostFixer(t=>this._updateCaptionVisibility(t))}_updateCaptionVisibility(t){const e=this.editor.editing.mapper;const n=this._lastSelectedCaption;let i;const o=this.editor.model.document.selection;const s=o.getSelectedElement();if(s&&s.is(\"image\")){const t=p_(s);i=e.toViewElement(t)}const r=o.getFirstPosition();const a=k_(r.parent);if(a){i=e.toViewElement(a)}if(i){if(n){if(n===i){return y_(i,t)}else{x_(n,t);this._lastSelectedCaption=i;return y_(i,t)}}else{this._lastSelectedCaption=i;return y_(i,t)}}else{if(n){const e=x_(n,t);this._lastSelectedCaption=null;return e}else{return false}}}_fixCaptionVisibility(t){return(e,n,i)=>{const o=t(n);const s=k_(o);const r=this.editor.editing.mapper;const a=i.writer;if(s){const t=r.toViewElement(s);if(t){if(s.childCount){a.removeClass(\"ck-hidden\",t)}else{a.addClass(\"ck-hidden\",t)}}}}}_insertMissingModelCaptionElement(t){const e=this.editor.model;const n=e.document.differ.getChanges();const i=[];for(const t of n){if(t.type==\"insert\"&&t.name!=\"$text\"){const n=t.position.nodeAfter;if(n.is(\"image\")&&!p_(n)){i.push(n)}if(!n.is(\"image\")&&n.childCount){for(const t of e.createRangeIn(n).getItems()){if(t.is(\"image\")&&!p_(t)){i.push(t)}}}}}for(const e of i){t.appendElement(\"caption\",e)}return!!i.length}}function __(t,e=true){return(n,i,o)=>{const s=i.item;if(!s.childCount&&!e){return}if(pw(s.parent)){if(!o.consumable.consume(i.item,\"insert\")){return}const e=o.mapper.toViewElement(i.range.start.parent);const n=t(o.writer);const r=o.writer;if(!s.childCount){r.addClass(\"ck-hidden\",n)}v_(n,i.item,e,o)}}}function v_(t,e,n,i){const o=i.writer.createPositionAt(n,\"end\");i.writer.insert(o,t);i.mapper.bindElements(e,t)}function k_(t){const e=t.getAncestors({includeSelf:true});const n=e.find(t=>t.name==\"caption\");if(n&&n.parent&&n.parent.name==\"image\"){return n}return null}function x_(t,e){if(!t.childCount&&!t.hasClass(\"ck-hidden\")){e.addClass(\"ck-hidden\",t);return true}return false}function y_(t,e){if(t.hasClass(\"ck-hidden\")){e.removeClass(\"ck-hidden\",t);return true}return false}var A_=n(70);class C_ extends db{static get requires(){return[w_]}static get pluginName(){return\"ImageCaption\"}}class T_ extends fb{constructor(t,e){super(t);this.defaultStyle=false;this.styles=e.reduce((t,e)=>{t[e.name]=e;if(e.isDefault){this.defaultStyle=e.name}return t},{})}refresh(){const t=this.editor.model.document.selection.getSelectedElement();this.isEnabled=pw(t);if(!t){this.value=false}else if(t.hasAttribute(\"imageStyle\")){const e=t.getAttribute(\"imageStyle\");this.value=this.styles[e]?e:false}else{this.value=this.defaultStyle}}execute(t){const e=t.value;const n=this.editor.model;const i=n.document.selection.getSelectedElement();n.change(t=>{if(this.styles[e].isDefault){t.removeAttribute(\"imageStyle\",i)}else{t.setAttribute(\"imageStyle\",e,i)}})}}function M_(t){return(e,n,i)=>{if(!i.consumable.consume(n.item,e.name)){return}const o=P_(n.attributeNewValue,t);const s=P_(n.attributeOldValue,t);const r=i.mapper.toViewElement(n.item);const a=i.writer;if(s){a.removeClass(s.className,r)}if(o){a.addClass(o.className,r)}}}function E_(t){const e=t.filter(t=>!t.isDefault);return(t,n,i)=>{if(!n.modelRange){return}const o=n.viewItem;const s=gb(n.modelRange.getItems());if(!i.schema.checkAttribute(s,\"imageStyle\")){return}for(const t of e){if(i.consumable.consume(o,{classes:t.className})){i.writer.setAttribute(\"imageStyle\",t.name,s)}}}}function P_(t,e){for(const n of e){if(n.name===t){return n}}}var S_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 4.5V3h16v1.5zm2.5 3V12h11V7.5h-11zM4.061 6H15.94c.586 0 1.061.407 1.061.91v5.68c0 .503-.475.91-1.061.91H4.06c-.585 0-1.06-.407-1.06-.91V6.91C3 6.406 3.475 6 4.061 6zM2 16.5V15h16v1.5z\"/></svg>';var I_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\" clip-rule=\"evenodd\" stroke-linejoin=\"round\" stroke-miterlimit=\"1.414\"><path d=\"M18 4.5V3H2v1.5h16zm0 3V6h-5.674v1.5H18zm0 3V9h-5.674v1.5H18zm0 3V12h-5.674v1.5H18zm-8.5-6V12h-6V7.5h6zm.818-1.5H2.682C2.305 6 2 6.407 2 6.91v5.68c0 .503.305.91.682.91h7.636c.377 0 .682-.407.682-.91V6.91c0-.503-.305-.91-.682-.91zM18 16.5V15H2v1.5h16z\"/></svg>';var O_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 4.5V3h16v1.5zm4.5 3V12h7V7.5h-7zM5.758 6h8.484c.419 0 .758.407.758.91v5.681c0 .502-.34.909-.758.909H5.758c-.419 0-.758-.407-.758-.91V6.91c0-.503.34-.91.758-.91zM2 16.5V15h16v1.5z\"/></svg>';var N_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 4.5V3h16v1.5zm0 3V6h5.674v1.5zm0 3V9h5.674v1.5zm0 3V12h5.674v1.5zm8.5-6V12h6V7.5h-6zM9.682 6h7.636c.377 0 .682.407.682.91v5.68c0 .503-.305.91-.682.91H9.682c-.377 0-.682-.407-.682-.91V6.91c0-.503.305-.91.682-.91zM2 16.5V15h16v1.5z\"/></svg>';const L_={full:{name:\"full\",title:\"Full size image\",icon:S_,isDefault:true},side:{name:\"side\",title:\"Side image\",icon:N_,className:\"image-style-side\"},alignLeft:{name:\"alignLeft\",title:\"Left aligned image\",icon:I_,className:\"image-style-align-left\"},alignCenter:{name:\"alignCenter\",title:\"Centered image\",icon:O_,className:\"image-style-align-center\"},alignRight:{name:\"alignRight\",title:\"Right aligned image\",icon:N_,className:\"image-style-align-right\"}};const R_={full:S_,left:I_,right:N_,center:O_};function D_(t=[]){return t.map(j_)}function j_(t){if(typeof t==\"string\"){const e=t;if(L_[e]){t=Object.assign({},L_[e])}else{console.warn(Object(Qs[\"a\"])(\"image-style-not-found: There is no such image style of given name.\"),{name:e});t={name:e}}}else if(L_[t.name]){const e=L_[t.name];const n=Object.assign({},t);for(const i in e){if(!t.hasOwnProperty(i)){n[i]=e[i]}}t=n}if(typeof t.icon==\"string\"&&R_[t.icon]){t.icon=R_[t.icon]}return t}class z_ extends db{static get pluginName(){return\"ImageStyleEditing\"}init(){const t=this.editor;const e=t.model.schema;const n=t.data;const i=t.editing;t.config.define(\"image.styles\",[\"full\",\"side\"]);const o=D_(t.config.get(\"image.styles\"));e.extend(\"image\",{allowAttributes:\"imageStyle\"});const s=M_(o);i.downcastDispatcher.on(\"attribute:imageStyle:image\",s);n.downcastDispatcher.on(\"attribute:imageStyle:image\",s);n.upcastDispatcher.on(\"element:figure\",E_(o),{priority:\"low\"});t.commands.add(\"imageStyle\",new T_(t,o))}}var B_=n(72);class V_ extends db{static get pluginName(){return\"ImageStyleUI\"}get localizedDefaultStylesTitles(){const t=this.editor.t;return{\"Full size image\":t(\"ab\"),\"Side image\":t(\"ac\"),\"Left aligned image\":t(\"ad\"),\"Centered image\":t(\"ae\"),\"Right aligned image\":t(\"af\")}}init(){const t=this.editor;const e=t.config.get(\"image.styles\");const n=F_(D_(e),this.localizedDefaultStylesTitles);for(const t of n){this._createButton(t)}}_createButton(t){const e=this.editor;const n=`imageStyle:${t.name}`;e.ui.componentFactory.add(n,n=>{const i=e.commands.get(\"imageStyle\");const o=new Sp(n);o.set({label:t.title,icon:t.icon,tooltip:true,isToggleable:true});o.bind(\"isEnabled\").to(i,\"isEnabled\");o.bind(\"isOn\").to(i,\"value\",e=>e===t.name);this.listenTo(o,\"execute\",()=>e.execute(\"imageStyle\",{value:t.name}));return o})}}function F_(t,e){for(const n of t){if(e[n.title]){n.title=e[n.title]}}return t}class H_ extends db{static get requires(){return[z_,V_]}static get pluginName(){return\"ImageStyle\"}}class U_ extends db{static get requires(){return[o_]}static get pluginName(){return\"WidgetToolbarRepository\"}init(){const t=this.editor;if(t.plugins.has(\"BalloonToolbar\")){const e=t.plugins.get(\"BalloonToolbar\");this.listenTo(e,\"show\",e=>{if(Y_(t.editing.view.document.selection)){e.stop()}},{priority:\"high\"})}this._toolbarDefinitions=new Map;this._balloon=this.editor.plugins.get(\"ContextualBalloon\");this.listenTo(t.ui,\"update\",()=>{this._updateToolbarsVisibility()});this.listenTo(t.ui.focusTracker,\"change:isFocused\",()=>{this._updateToolbarsVisibility()},{priority:\"low\"})}destroy(){super.destroy();for(const t of this._toolbarDefinitions.values()){t.view.destroy()}}register(t,{ariaLabel:e,items:n,getRelatedElement:i,balloonClassName:o=\"ck-toolbar-container\"}){const s=this.editor;const r=s.t;const a=new Xp(s.locale);a.ariaLabel=e||r(\"ag\");if(this._toolbarDefinitions.has(t)){throw new Qs[\"b\"](\"widget-toolbar-duplicated: Toolbar with the given id was already added.\",this,{toolbarId:t})}a.fillFromConfig(n,s.ui.componentFactory);this._toolbarDefinitions.set(t,{view:a,getRelatedElement:i,balloonClassName:o})}_updateToolbarsVisibility(){let t=0;let e=null;let n=null;for(const i of this._toolbarDefinitions.values()){const o=i.getRelatedElement(this.editor.editing.view.document.selection);if(!this.editor.ui.focusTracker.isFocused){if(this._isToolbarVisible(i)){this._hideToolbar(i)}}else if(!o){if(this._isToolbarInBalloon(i)){this._hideToolbar(i)}}else{const s=o.getAncestors().length;if(s>t){t=s;e=o;n=i}}}if(n){this._showToolbar(n,e)}}_hideToolbar(t){this._balloon.remove(t.view);this.stopListening(this._balloon,\"change:visibleView\")}_showToolbar(t,e){if(this._isToolbarVisible(t)){W_(this.editor,e)}else if(!this._isToolbarInBalloon(t)){this._balloon.add({view:t.view,position:$_(this.editor,e),balloonClassName:t.balloonClassName});this.listenTo(this._balloon,\"change:visibleView\",()=>{for(const t of this._toolbarDefinitions.values()){if(this._isToolbarVisible(t)){const e=t.getRelatedElement(this.editor.editing.view.document.selection);W_(this.editor,e)}}})}}_isToolbarVisible(t){return this._balloon.visibleView===t.view}_isToolbarInBalloon(t){return this._balloon.hasView(t.view)}}function W_(t,e){const n=t.plugins.get(\"ContextualBalloon\");const i=$_(t,e);n.updatePosition(i)}function $_(t,e){const n=t.editing.view;const i=Kw.defaultPositions;return{target:n.domConverter.mapViewToDom(e),positions:[i.northArrowSouth,i.northArrowSouthWest,i.northArrowSouthEast,i.southArrowNorth,i.southArrowNorthWest,i.southArrowNorthEast]}}function Y_(t){const e=t.getSelectedElement();return!!(e&&iw(e))}class q_ extends db{static get requires(){return[U_]}static get pluginName(){return\"ImageToolbar\"}afterInit(){const t=this.editor;const e=t.t;const n=t.plugins.get(U_);n.register(\"image\",{ariaLabel:e(\"c\"),items:t.config.get(\"image.toolbar\")||[],getRelatedElement:gw})}}class G_ extends fb{constructor(t){super(t);this._childCommands=[]}refresh(){}execute(...t){const e=this._getFirstEnabledCommand();e.execute(t)}registerChildCommand(t){this._childCommands.push(t);t.on(\"change:isEnabled\",()=>this._checkEnabled());this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){return this._childCommands.find(t=>t.isEnabled)}}class K_ extends db{static get pluginName(){return\"IndentEditing\"}init(){const t=this.editor;t.commands.add(\"indent\",new G_(t));t.commands.add(\"outdent\",new G_(t))}}var J_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5z\"/><path d=\"M1.632 6.95L5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z\"/></svg>\\n';var X_='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5z\"/><path d=\"M4.368 6.95L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z\"/></svg>\\n';class Q_ extends db{static get pluginName(){return\"IndentUI\"}init(){const t=this.editor;const e=t.locale;const n=t.t;const i=e.uiLanguageDirection==\"ltr\"?J_:X_;const o=e.uiLanguageDirection==\"ltr\"?X_:J_;this._defineButton(\"indent\",n(\"k\"),i);this._defineButton(\"outdent\",n(\"l\"),o)}_defineButton(t,e,n){const i=this.editor;i.ui.componentFactory.add(t,o=>{const s=i.commands.get(t);const r=new Sp(o);r.set({label:e,icon:n,tooltip:true});r.bind(\"isOn\",\"isEnabled\").to(s,\"value\",\"isEnabled\");this.listenTo(r,\"execute\",()=>i.execute(t));return r})}}class Z_ extends db{static get pluginName(){return\"Indent\"}static get requires(){return[K_,Q_]}}const tv=\"italic\";class ev extends db{static get pluginName(){return\"ItalicEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:tv});t.model.schema.setAttributeProperties(tv,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:tv,view:\"i\",upcastAlso:[\"em\",{styles:{\"font-style\":\"italic\"}}]});t.commands.add(tv,new Cb(t,tv));t.keystrokes.set(\"CTRL+I\",tv)}}var nv='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.586 14.633l.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z\"/></svg>';const iv=\"italic\";class ov extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(iv,n=>{const i=t.commands.get(iv);const o=new Sp(n);o.set({label:e(\"u\"),icon:nv,keystroke:\"CTRL+I\",tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(iv));return o})}}class sv extends db{static get requires(){return[ev,ov]}static get pluginName(){return\"Italic\"}}function rv(t,e,n){return n.createRange(av(t,e,true,n),av(t,e,false,n))}function av(t,e,n,i){let o=t.textNode||(n?t.nodeBefore:t.nodeAfter);let s=null;while(o&&o.getAttribute(\"linkHref\")==e){s=o;o=n?o.previousSibling:o.nextSibling}return s?i.createPositionAt(s,n?\"before\":\"after\"):t}class cv extends fb{constructor(t){super(t);this.manualDecorators=new Fa}restoreManualDecoratorStates(){for(const t of this.manualDecorators){t.value=this._getDecoratorStateFromModel(t.id)}}refresh(){const t=this.editor.model;const e=t.document;this.value=e.selection.getAttribute(\"linkHref\");for(const t of this.manualDecorators){t.value=this._getDecoratorStateFromModel(t.id)}this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"linkHref\")}execute(t,e={}){const n=this.editor.model;const i=n.document.selection;const o=[];const s=[];for(const t in e){if(e[t]){o.push(t)}else{s.push(t)}}n.change(e=>{if(i.isCollapsed){const r=i.getFirstPosition();if(i.hasAttribute(\"linkHref\")){const a=rv(r,i.getAttribute(\"linkHref\"),n);e.setAttribute(\"linkHref\",t,a);o.forEach(t=>{e.setAttribute(t,true,a)});s.forEach(t=>{e.removeAttribute(t,a)});e.setSelection(a)}else if(t!==\"\"){const s=hu(i.getAttributes());s.set(\"linkHref\",t);o.forEach(t=>{s.set(t,true)});const a=e.createText(t,s);n.insertContent(a,r);e.setSelection(e.createRangeOn(a))}}else{const r=n.schema.getValidRanges(i.getRanges(),\"linkHref\");for(const n of r){e.setAttribute(\"linkHref\",t,n);o.forEach(t=>{e.setAttribute(t,true,n)});s.forEach(t=>{e.removeAttribute(t,n)})}}})}_getDecoratorStateFromModel(t){const e=this.editor.model.document;return e.selection.getAttribute(t)||false}}class lv extends fb{refresh(){this.isEnabled=this.editor.model.document.selection.hasAttribute(\"linkHref\")}execute(){const t=this.editor;const e=this.editor.model;const n=e.document.selection;const i=t.commands.get(\"link\");e.change(t=>{const o=n.isCollapsed?[rv(n.getFirstPosition(),n.getAttribute(\"linkHref\"),e)]:n.getRanges();for(const e of o){t.removeAttribute(\"linkHref\",e);if(i){for(const n of i.manualDecorators){t.removeAttribute(n.id,e)}}}})}}function dv(t,e,n){var i=-1,o=t.length;if(e<0){e=-e>o?0:o+e}n=n>o?o:n;if(n<0){n+=o}o=e>n?0:n-e>>>0;e>>>=0;var s=Array(o);while(++i<o){s[i]=t[i+e]}return s}var uv=dv;function hv(t,e,n){var i=t.length;n=n===undefined?i:n;return!e&&n>=i?t:uv(t,e,n)}var fv=hv;var mv=\"\\\\ud800-\\\\udfff\",gv=\"\\\\u0300-\\\\u036f\",pv=\"\\\\ufe20-\\\\ufe2f\",bv=\"\\\\u20d0-\\\\u20ff\",wv=gv+pv+bv,_v=\"\\\\ufe0e\\\\ufe0f\";var vv=\"\\\\u200d\";var kv=RegExp(\"[\"+vv+mv+wv+_v+\"]\");function xv(t){return kv.test(t)}var yv=xv;function Av(t){return t.split(\"\")}var Cv=Av;var Tv=\"\\\\ud800-\\\\udfff\",Mv=\"\\\\u0300-\\\\u036f\",Ev=\"\\\\ufe20-\\\\ufe2f\",Pv=\"\\\\u20d0-\\\\u20ff\",Sv=Mv+Ev+Pv,Iv=\"\\\\ufe0e\\\\ufe0f\";var Ov=\"[\"+Tv+\"]\",Nv=\"[\"+Sv+\"]\",Lv=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Rv=\"(?:\"+Nv+\"|\"+Lv+\")\",Dv=\"[^\"+Tv+\"]\",jv=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",zv=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Bv=\"\\\\u200d\";var Vv=Rv+\"?\",Fv=\"[\"+Iv+\"]?\",Hv=\"(?:\"+Bv+\"(?:\"+[Dv,jv,zv].join(\"|\")+\")\"+Fv+Vv+\")*\",Uv=Fv+Vv+Hv,Wv=\"(?:\"+[Dv+Nv+\"?\",Nv,jv,zv,Ov].join(\"|\")+\")\";var $v=RegExp(Lv+\"(?=\"+Lv+\")|\"+Wv+Uv,\"g\");function Yv(t){return t.match($v)||[]}var qv=Yv;function Gv(t){return yv(t)?qv(t):Cv(t)}var Kv=Gv;function Jv(t,e){var n=-1,i=t==null?0:t.length,o=Array(i);while(++n<i){o[n]=e(t[n],n,t)}return o}var Xv=Jv;var Qv=1/0;var Zv=s?s.prototype:undefined,tk=Zv?Zv.toString:undefined;function ek(t){if(typeof t==\"string\"){return t}if(Ke(t)){return Xv(t,ek)+\"\"}if(Md(t)){return tk?tk.call(t):\"\"}var e=t+\"\";return e==\"0\"&&1/t==-Qv?\"-0\":e}var nk=ek;function ik(t){return t==null?\"\":nk(t)}var ok=ik;function sk(t){return function(e){e=ok(e);var n=yv(e)?Kv(e):undefined;var i=n?n[0]:e.charAt(0);var o=n?fv(n,1).join(\"\"):e.slice(1);return i[t]()+o}}var rk=sk;var ak=rk(\"toUpperCase\");var ck=ak;const lk=/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205f\\u3000]/g;const dk=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function uk(t){return t.is(\"attributeElement\")&&!!t.getCustomProperty(\"link\")}function hk(t,e){const n=e.createAttributeElement(\"a\",{href:t},{priority:5});e.setCustomProperty(\"link\",true,n);return n}function fk(t){t=String(t);return mk(t)?t:\"#\"}function mk(t){const e=t.replace(lk,\"\");return e.match(dk)}function gk(t,e){const n={\"Open in a new tab\":t(\"cj\"),Downloadable:t(\"ck\")};e.forEach(t=>{if(t.label&&n[t.label]){t.label=n[t.label]}return t});return e}function pk(t){const e=[];if(t){for(const[n,i]of Object.entries(t)){const t=Object.assign({},i,{id:`link${ck(n)}`});e.push(t)}}return e}class bk{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(t){if(Array.isArray(t)){t.forEach(t=>this._definitions.add(t))}else{this._definitions.add(t)}}getDispatcher(){return t=>{t.on(\"attribute:linkHref\",(t,e,n)=>{if(!n.consumable.test(e.item,\"attribute:linkHref\")){return}const i=n.writer;const o=i.document.selection;for(const t of this._definitions){const s=i.createAttributeElement(\"a\",t.attributes,{priority:5});i.setCustomProperty(\"link\",true,s);if(t.callback(e.attributeNewValue)){if(e.item.is(\"selection\")){i.wrap(o.getFirstRange(),s)}else{i.wrap(n.mapper.toViewRange(e.range),s)}}else{i.unwrap(n.mapper.toViewRange(e.range),s)}}},{priority:\"high\"})}}}class wk{constructor({id:t,label:e,attributes:n}){this.id=t;this.set(\"value\");this.label=e;this.attributes=n}}vr(wk,_a);function _k({view:t,model:e,emitter:n,attribute:i,locale:o}){const s=new vk(e,n,i);const r=e.document.selection;n.listenTo(t.document,\"keydown\",(t,e)=>{if(!r.isCollapsed){return}if(e.shiftKey||e.altKey||e.ctrlKey){return}const n=e.keyCode==rc.arrowright;const i=e.keyCode==rc.arrowleft;if(!n&&!i){return}const a=r.getFirstPosition();const c=o.contentLanguageDirection;let l;if(c===\"ltr\"&&n||c===\"rtl\"&&i){l=s.handleForwardMovement(a,e)}else{l=s.handleBackwardMovement(a,e)}if(l){t.stop()}},{priority:or.get(\"high\")+1})}class vk{constructor(t,e,n){this.model=t;this.attribute=n;this._modelSelection=t.document.selection;this._overrideUid=null;this._isNextGravityRestorationSkipped=false;e.listenTo(this._modelSelection,\"change:range\",(t,e)=>{if(this._isNextGravityRestorationSkipped){this._isNextGravityRestorationSkipped=false;return}if(!this._isGravityOverridden){return}if(!e.directChange&&kk(this._modelSelection.getFirstPosition(),n)){return}this._restoreGravity()})}handleForwardMovement(t,e){const n=this.attribute;if(this._isGravityOverridden){return}if(t.isAtStart&&this._hasSelectionAttribute){return}if(Ak(t,n)&&this._hasSelectionAttribute){this._preventCaretMovement(e);this._removeSelectionAttribute();return true}if(xk(t,n)){this._preventCaretMovement(e);this._overrideGravity();return true}if(yk(t,n)&&this._hasSelectionAttribute){this._preventCaretMovement(e);this._overrideGravity();return true}}handleBackwardMovement(t,e){const n=this.attribute;if(this._isGravityOverridden){if(Ak(t,n)&&this._hasSelectionAttribute){this._preventCaretMovement(e);this._restoreGravity();this._removeSelectionAttribute();return true}else{this._preventCaretMovement(e);this._restoreGravity();if(t.isAtStart){this._removeSelectionAttribute()}return true}}else{if(Ak(t,n)&&!this._hasSelectionAttribute){this._preventCaretMovement(e);this._setSelectionAttributeFromTheNodeBefore(t);return true}if(t.isAtEnd&&yk(t,n)){if(this._hasSelectionAttribute){if(Ck(t,n)){this._skipNextAutomaticGravityRestoration();this._overrideGravity()}return}else{this._preventCaretMovement(e);this._setSelectionAttributeFromTheNodeBefore(t);return true}}if(t.isAtStart){if(this._hasSelectionAttribute){this._removeSelectionAttribute();this._preventCaretMovement(e);return true}return}if(Ck(t,n)){this._skipNextAutomaticGravityRestoration();this._overrideGravity()}}}get _isGravityOverridden(){return!!this._overrideUid}get _hasSelectionAttribute(){return this._modelSelection.hasAttribute(this.attribute)}_overrideGravity(){this._overrideUid=this.model.change(t=>t.overrideSelectionGravity())}_restoreGravity(){this.model.change(t=>{t.restoreSelectionGravity(this._overrideUid);this._overrideUid=null})}_preventCaretMovement(t){t.preventDefault()}_removeSelectionAttribute(){this.model.change(t=>{t.removeSelectionAttribute(this.attribute)})}_setSelectionAttributeFromTheNodeBefore(t){const e=this.attribute;this.model.change(n=>{n.setSelectionAttribute(this.attribute,t.nodeBefore.getAttribute(e))})}_skipNextAutomaticGravityRestoration(){this._isNextGravityRestorationSkipped=true}}function kk(t,e){return xk(t,e)||yk(t,e)}function xk(t,e){const{nodeBefore:n,nodeAfter:i}=t;const o=n?n.hasAttribute(e):false;const s=i?i.hasAttribute(e):false;return s&&(!o||n.getAttribute(e)!==i.getAttribute(e))}function yk(t,e){const{nodeBefore:n,nodeAfter:i}=t;const o=n?n.hasAttribute(e):false;const s=i?i.hasAttribute(e):false;return o&&(!s||n.getAttribute(e)!==i.getAttribute(e))}function Ak(t,e){const{nodeBefore:n,nodeAfter:i}=t;const o=n?n.hasAttribute(e):false;const s=i?i.hasAttribute(e):false;if(!s||!o){return}return i.getAttribute(e)!==n.getAttribute(e)}function Ck(t,e){return kk(t.getShiftedBy(-1),e)}var Tk=n(74);const Mk=\"ck-link_selected\";const Ek=\"automatic\";const Pk=\"manual\";const Sk=/^(https?:)?\\/\\//;class Ik extends db{static get pluginName(){return\"LinkEditing\"}constructor(t){super(t);t.config.define(\"link\",{addTargetToExternalLinks:false})}init(){const t=this.editor;const e=t.locale;t.model.schema.extend(\"$text\",{allowAttributes:\"linkHref\"});t.conversion.for(\"dataDowncast\").attributeToElement({model:\"linkHref\",view:hk});t.conversion.for(\"editingDowncast\").attributeToElement({model:\"linkHref\",view:(t,e)=>hk(fk(t),e)});t.conversion.for(\"upcast\").elementToAttribute({view:{name:\"a\",attributes:{href:true}},model:{key:\"linkHref\",value:t=>t.getAttribute(\"href\")}});t.commands.add(\"link\",new cv(t));t.commands.add(\"unlink\",new lv(t));const n=gk(t.t,pk(t.config.get(\"link.decorators\")));this._enableAutomaticDecorators(n.filter(t=>t.mode===Ek));this._enableManualDecorators(n.filter(t=>t.mode===Pk));_k({view:t.editing.view,model:t.model,emitter:this,attribute:\"linkHref\",locale:e});this._setupLinkHighlight()}_enableAutomaticDecorators(t){const e=this.editor;const n=new bk;if(e.config.get(\"link.addTargetToExternalLinks\")){n.add({id:\"linkIsExternal\",mode:Ek,callback:t=>Sk.test(t),attributes:{target:\"_blank\",rel:\"noopener noreferrer\"}})}n.add(t);if(n.length){e.conversion.for(\"downcast\").add(n.getDispatcher())}}_enableManualDecorators(t){if(!t.length){return}const e=this.editor;const n=e.commands.get(\"link\");const i=n.manualDecorators;t.forEach(t=>{e.model.schema.extend(\"$text\",{allowAttributes:t.id});i.add(new wk(t));e.conversion.for(\"downcast\").attributeToElement({model:t.id,view:(e,n)=>{if(e){const e=i.get(t.id).attributes;const o=n.createAttributeElement(\"a\",e,{priority:5});n.setCustomProperty(\"link\",true,o);return o}}});e.conversion.for(\"upcast\").elementToAttribute({view:{name:\"a\",attributes:i.get(t.id).attributes},model:{key:t.id}})})}_setupLinkHighlight(){const t=this.editor;const e=t.editing.view;const n=new Set;e.document.registerPostFixer(e=>{const i=t.model.document.selection;let o=false;if(i.hasAttribute(\"linkHref\")){const s=rv(i.getFirstPosition(),i.getAttribute(\"linkHref\"),t.model);const r=t.editing.mapper.toViewRange(s);for(const t of r.getItems()){if(t.is(\"a\")&&!t.hasClass(Mk)){e.addClass(Mk,t);n.add(t);o=true}}}return o});t.conversion.for(\"editingDowncast\").add(t=>{t.on(\"insert\",i,{priority:\"highest\"});t.on(\"remove\",i,{priority:\"highest\"});t.on(\"attribute\",i,{priority:\"highest\"});t.on(\"selection\",i,{priority:\"highest\"});function i(){e.change(t=>{for(const e of n.values()){t.removeClass(Mk,e);n.delete(e)}})}})}}class Ok extends kd{constructor(t){super(t);this.domEventType=\"click\"}onDomEvent(t){this.fire(t.type,t)}}var Nk=n(76);class Lk extends Qg{constructor(t,e=[]){super(t);const n=t.t;this.focusTracker=new rg;this.keystrokes=new qm;this.urlInputView=this._createUrlInput();this.saveButtonView=this._createButton(n(\"bz\"),Hw,\"ck-button-save\");this.saveButtonView.type=\"submit\";this.cancelButtonView=this._createButton(n(\"ca\"),Uw,\"ck-button-cancel\",\"cancel\");this._manualDecoratorSwitches=this._createManualDecoratorSwitches(e);this.children=this._createFormChildren(e);this._focusables=new xg;this._focusCycler=new dp({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}});const i=[\"ck\",\"ck-link-form\"];if(e.length){i.push(\"ck-link-form_layout-vertical\")}this.setTemplate({tag:\"form\",attributes:{class:i,tabindex:\"-1\"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((t,e)=>{t[e.name]=e.isOn;return t},{})}render(){super.render();Fw({view:this});const t=[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView];t.forEach(t=>{this._focusables.add(t);this.focusTracker.add(t.element)});this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const t=this.locale.t;const e=new zw(this.locale,Vw);e.label=t(\"cp\");e.inputView.placeholder=\"https://example.com\";return e}_createButton(t,e,n,i){const o=new Sp(this.locale);o.set({label:t,icon:e,tooltip:true});o.extendTemplate({attributes:{class:n}});if(i){o.delegate(\"execute\").to(this,i)}return o}_createManualDecoratorSwitches(t){const e=this.createCollection();for(const n of t){const t=new zp(this.locale);t.set({name:n.id,label:n.label,withText:true});t.bind(\"isOn\").to(n,\"value\");t.on(\"execute\",()=>{n.set(\"value\",!t.isOn)});e.add(t)}return e}_createFormChildren(t){const e=this.createCollection();e.add(this.urlInputView);if(t.length){const t=new Qg;t.setTemplate({tag:\"ul\",children:this._manualDecoratorSwitches.map(t=>({tag:\"li\",children:[t],attributes:{class:[\"ck\",\"ck-list__item\"]}})),attributes:{class:[\"ck\",\"ck-reset\",\"ck-list\"]}});e.add(t)}e.add(this.saveButtonView);e.add(this.cancelButtonView);return e}}var Rk='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.077 15l.991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562l-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z\"/></svg>';var Dk='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.3 17.37l-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506L13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5L9.375 17H19v1.5H8z\"/></svg>';var jk=n(78);class zk extends Qg{constructor(t){super(t);const e=t.t;this.focusTracker=new rg;this.keystrokes=new qm;this.previewButtonView=this._createPreviewButton();this.unlinkButtonView=this._createButton(e(\"cl\"),Rk,\"unlink\");this.editButtonView=this._createButton(e(\"cm\"),Dk,\"edit\");this.set(\"href\");this._focusables=new xg;this._focusCycler=new dp({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}});this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-link-actions\"],tabindex:\"-1\"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render();const t=[this.previewButtonView,this.editButtonView,this.unlinkButtonView];t.forEach(t=>{this._focusables.add(t);this.focusTracker.add(t.element)});this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}_createButton(t,e,n){const i=new Sp(this.locale);i.set({label:t,icon:e,tooltip:true});i.delegate(\"execute\").to(this,n);return i}_createPreviewButton(){const t=new Sp(this.locale);const e=this.bindTemplate;const n=this.t;t.set({withText:true,tooltip:n(\"cn\")});t.extendTemplate({attributes:{class:[\"ck\",\"ck-link-actions__preview\"],href:e.to(\"href\",t=>t&&fk(t)),target:\"_blank\",rel:\"noopener noreferrer\"}});t.bind(\"label\").to(this,\"href\",t=>t||n(\"co\"));t.bind(\"isEnabled\").to(this,\"href\",t=>!!t);t.template.tag=\"a\";t.template.eventListeners={};return t}}var Bk='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.077 15l.991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z\"/></svg>';const Vk=\"Ctrl+K\";class Fk extends db{static get requires(){return[o_]}static get pluginName(){return\"LinkUI\"}init(){const t=this.editor;t.editing.view.addObserver(Ok);this.actionsView=this._createActionsView();this.formView=this._createFormView();this._balloon=t.plugins.get(o_);this._createToolbarLinkButton();this._enableUserBalloonInteractions()}destroy(){super.destroy();this.formView.destroy()}_createActionsView(){const t=this.editor;const e=new zk(t.locale);const n=t.commands.get(\"link\");const i=t.commands.get(\"unlink\");e.bind(\"href\").to(n,\"value\");e.editButtonView.bind(\"isEnabled\").to(n);e.unlinkButtonView.bind(\"isEnabled\").to(i);this.listenTo(e,\"edit\",()=>{this._addFormView()});this.listenTo(e,\"unlink\",()=>{t.execute(\"unlink\");this._hideUI()});e.keystrokes.set(\"Esc\",(t,e)=>{this._hideUI();e()});e.keystrokes.set(Vk,(t,e)=>{this._addFormView();e()});return e}_createFormView(){const t=this.editor;const e=t.commands.get(\"link\");const n=new Lk(t.locale,e.manualDecorators);n.urlInputView.bind(\"value\").to(e,\"value\");n.urlInputView.bind(\"isReadOnly\").to(e,\"isEnabled\",t=>!t);n.saveButtonView.bind(\"isEnabled\").to(e);this.listenTo(n,\"submit\",()=>{t.execute(\"link\",n.urlInputView.inputView.element.value,n.getDecoratorSwitchesState());this._closeFormView()});this.listenTo(n,\"cancel\",()=>{this._closeFormView()});n.keystrokes.set(\"Esc\",(t,e)=>{this._closeFormView();e()});return n}_createToolbarLinkButton(){const t=this.editor;const e=t.commands.get(\"link\");const n=t.t;t.keystrokes.set(Vk,(t,n)=>{n();if(e.isEnabled){this._showUI(true)}});t.ui.componentFactory.add(\"link\",t=>{const i=new Sp(t);i.isEnabled=true;i.label=n(\"m\");i.icon=Bk;i.keystroke=Vk;i.tooltip=true;i.isToggleable=true;i.bind(\"isEnabled\").to(e,\"isEnabled\");i.bind(\"isOn\").to(e,\"value\",t=>!!t);this.listenTo(i,\"execute\",()=>this._showUI(true));return i})}_enableUserBalloonInteractions(){const t=this.editor.editing.view.document;this.listenTo(t,\"click\",()=>{const t=this._getSelectedLinkElement();if(t){this._showUI()}});this.editor.keystrokes.set(\"Tab\",(t,e)=>{if(this._areActionsVisible&&!this.actionsView.focusTracker.isFocused){this.actionsView.focus();e()}},{priority:\"high\"});this.editor.keystrokes.set(\"Esc\",(t,e)=>{if(this._isUIVisible){this._hideUI();e()}});Bp({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){if(this._areActionsInPanel){return}this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this._isFormInPanel){return}const t=this.editor;const e=t.commands.get(\"link\");this._balloon.add({view:this.formView,position:this._getBalloonPositionData()});if(this._balloon.visibleView===this.formView){this.formView.urlInputView.select()}this.formView.urlInputView.inputView.element.value=e.value||\"\"}_closeFormView(){const t=this.editor.commands.get(\"link\");t.restoreManualDecoratorStates();if(t.value!==undefined){this._removeFormView()}else{this._hideUI()}}_removeFormView(){if(this._isFormInPanel){this.formView.saveButtonView.focus();this._balloon.remove(this.formView);this.editor.editing.view.focus()}}_showUI(t=false){const e=this.editor;const n=e.commands.get(\"link\");if(!n.isEnabled){return}if(!this._getSelectedLinkElement()){this._addActionsView();if(t){this._balloon.showStack(\"main\")}this._addFormView()}else{if(this._areActionsVisible){this._addFormView()}else{this._addActionsView()}if(t){this._balloon.showStack(\"main\")}}this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel){return}const t=this.editor;this.stopListening(t.ui,\"update\");this.stopListening(this._balloon,\"change:visibleView\");t.editing.view.focus();this._removeFormView();this._balloon.remove(this.actionsView)}_startUpdatingUI(){const t=this.editor;const e=t.editing.view.document;let n=this._getSelectedLinkElement();let i=s();const o=()=>{const t=this._getSelectedLinkElement();const e=s();if(n&&!t||!n&&e!==i){this._hideUI()}else if(this._isUIVisible){this._balloon.updatePosition(this._getBalloonPositionData())}n=t;i=e};function s(){return e.selection.focus.getAncestors().reverse().find(t=>t.is(\"element\"))}this.listenTo(t.ui,\"update\",o);this.listenTo(this._balloon,\"change:visibleView\",o)}get _isFormInPanel(){return this._balloon.hasView(this.formView)}get _areActionsInPanel(){return this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){const t=this._balloon.visibleView;return t==this.formView||this._areActionsVisible}_getBalloonPositionData(){const t=this.editor.editing.view;const e=t.document;const n=this._getSelectedLinkElement();const i=n?t.domConverter.mapViewToDom(n):t.domConverter.viewRangeToDom(e.selection.getFirstRange());return{target:i}}_getSelectedLinkElement(){const t=this.editor.editing.view;const e=t.document.selection;if(e.isCollapsed){return Hk(e.getFirstPosition())}else{const n=e.getFirstRange().getTrimmed();const i=Hk(n.start);const o=Hk(n.end);if(!i||i!=o){return null}if(t.createRangeIn(i).getTrimmed().isEqual(n)){return i}else{return null}}}}function Hk(t){return t.getAncestors().find(t=>uk(t))}class Uk extends db{static get requires(){return[Ik,Fk]}static get pluginName(){return\"Link\"}}class Wk extends fb{constructor(t,e){super(t);this.type=e}refresh(){this.value=this._getValue();this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model;const e=t.document;const n=Array.from(e.selection.getSelectedBlocks()).filter(e=>Yk(e,t.schema));const i=this.value===true;t.change(t=>{if(i){let e=n[n.length-1].nextSibling;let i=Number.POSITIVE_INFINITY;let o=[];while(e&&e.name==\"listItem\"&&e.getAttribute(\"listIndent\")!==0){const t=e.getAttribute(\"listIndent\");if(t<i){i=t}const n=t-i;o.push({element:e,listIndent:n});e=e.nextSibling}o=o.reverse();for(const e of o){t.setAttribute(\"listIndent\",e.listIndent,e.element)}}if(!i){let t=Number.POSITIVE_INFINITY;for(const e of n){if(e.is(\"listItem\")&&e.getAttribute(\"listIndent\")<t){t=e.getAttribute(\"listIndent\")}}t=t===0?1:t;$k(n,true,t);$k(n,false,t)}for(const e of n.reverse()){if(i&&e.name==\"listItem\"){t.rename(e,\"paragraph\")}else if(!i&&e.name!=\"listItem\"){t.setAttributes({listType:this.type,listIndent:0},e);t.rename(e,\"listItem\")}else if(!i&&e.name==\"listItem\"&&e.getAttribute(\"listType\")!=this.type){t.setAttribute(\"listType\",this.type,e)}}})}_getValue(){const t=gb(this.editor.model.document.selection.getSelectedBlocks());return!!t&&t.is(\"listItem\")&&t.getAttribute(\"listType\")==this.type}_checkEnabled(){if(this.value){return true}const t=this.editor.model.document.selection;const e=this.editor.model.schema;const n=gb(t.getSelectedBlocks());if(!n){return false}return Yk(n,e)}}function $k(t,e,n){const i=e?t[0]:t[t.length-1];if(i.is(\"listItem\")){let o=i[e?\"previousSibling\":\"nextSibling\"];let s=i.getAttribute(\"listIndent\");while(o&&o.is(\"listItem\")&&o.getAttribute(\"listIndent\")>=n){if(s>o.getAttribute(\"listIndent\")){s=o.getAttribute(\"listIndent\")}if(o.getAttribute(\"listIndent\")==s){t[e?\"unshift\":\"push\"](o)}o=o[e?\"previousSibling\":\"nextSibling\"]}}}function Yk(t,e){return e.checkChild(t.parent,\"listItem\")&&!e.isObject(t)}class qk extends fb{constructor(t,e){super(t);this._indentBy=e==\"forward\"?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor.model;const e=t.document;let n=Array.from(e.selection.getSelectedBlocks());t.change(t=>{const e=n[n.length-1];let i=e.nextSibling;while(i&&i.name==\"listItem\"&&i.getAttribute(\"listIndent\")>e.getAttribute(\"listIndent\")){n.push(i);i=i.nextSibling}if(this._indentBy<0){n=n.reverse()}for(const e of n){const n=e.getAttribute(\"listIndent\")+this._indentBy;if(n<0){t.rename(e,\"paragraph\")}else{t.setAttribute(\"listIndent\",n,e)}}})}_checkEnabled(){const t=gb(this.editor.model.document.selection.getSelectedBlocks());if(!t||!t.is(\"listItem\")){return false}if(this._indentBy>0){const e=t.getAttribute(\"listIndent\");const n=t.getAttribute(\"listType\");let i=t.previousSibling;while(i&&i.is(\"listItem\")&&i.getAttribute(\"listIndent\")>=e){if(i.getAttribute(\"listIndent\")==e){return i.getAttribute(\"listType\")==n}i=i.previousSibling}return false}return true}}function Gk(t){const e=t.createContainerElement(\"li\");e.getFillerOffset=ex;return e}function Kk(t,e){const n=e.mapper;const i=e.writer;const o=t.getAttribute(\"listType\")==\"numbered\"?\"ol\":\"ul\";const s=Gk(i);const r=i.createContainerElement(o,null);i.insert(i.createPositionAt(r,0),s);n.bindElements(t,s);return s}function Jk(t,e,n,i){const o=e.parent;const s=n.mapper;const r=n.writer;let a=s.toViewPosition(i.createPositionBefore(t));const c=Zk(t.previousSibling,{sameIndent:true,smallerIndent:true,listIndent:t.getAttribute(\"listIndent\")});const l=t.previousSibling;if(c&&c.getAttribute(\"listIndent\")==t.getAttribute(\"listIndent\")){const t=s.toViewElement(c);a=r.breakContainer(r.createPositionAfter(t))}else{if(l&&l.name==\"listItem\"){a=s.toViewPosition(i.createPositionAt(l,\"end\"))}else{a=s.toViewPosition(i.createPositionBefore(t))}}a=Qk(a);r.insert(a,o);if(l&&l.name==\"listItem\"){const t=s.toViewElement(l);const n=r.createRange(r.createPositionAt(t,0),a);const i=n.getWalker({ignoreElementEnd:true});for(const t of i){if(t.item.is(\"li\")){const n=r.breakContainer(r.createPositionBefore(t.item));const o=t.item.parent;const s=r.createPositionAt(e,\"end\");Xk(r,s.nodeBefore,s.nodeAfter);r.move(r.createRangeOn(o),s);i.position=n}}}else{const n=o.nextSibling;if(n&&(n.is(\"ul\")||n.is(\"ol\"))){let i=null;for(const e of n.getChildren()){const n=s.toModelElement(e);if(n&&n.getAttribute(\"listIndent\")>t.getAttribute(\"listIndent\")){i=e}else{break}}if(i){r.breakContainer(r.createPositionAfter(i));r.move(r.createRangeOn(i.parent),r.createPositionAt(e,\"end\"))}}}Xk(r,o,o.nextSibling);Xk(r,o.previousSibling,o)}function Xk(t,e,n){if(!e||!n||e.name!=\"ul\"&&e.name!=\"ol\"){return null}if(e.name!=n.name||e.getAttribute(\"class\")!==n.getAttribute(\"class\")){return null}return t.mergeContainers(t.createPositionAfter(e))}function Qk(t){return t.getLastMatchingPosition(t=>t.item.is(\"uiElement\"))}function Zk(t,e){const n=!!e.sameIndent;const i=!!e.smallerIndent;const o=e.listIndent;let s=t;while(s&&s.name==\"listItem\"){const t=s.getAttribute(\"listIndent\");if(n&&o==t||i&&o>t){return s}s=s.previousSibling}return null}function tx(t,e,n,i){t.ui.componentFactory.add(e,o=>{const s=t.commands.get(e);const r=new Sp(o);r.set({label:n,icon:i,tooltip:true,isToggleable:true});r.bind(\"isOn\",\"isEnabled\").to(s,\"value\",\"isEnabled\");r.on(\"execute\",()=>t.execute(e));return r})}function ex(){const t=!this.isEmpty&&(this.getChild(0).name==\"ul\"||this.getChild(0).name==\"ol\");if(this.isEmpty||t){return 0}return Hr.call(this)}function nx(t){return(e,n,i)=>{const o=i.consumable;if(!o.test(n.item,\"insert\")||!o.test(n.item,\"attribute:listType\")||!o.test(n.item,\"attribute:listIndent\")){return}o.consume(n.item,\"insert\");o.consume(n.item,\"attribute:listType\");o.consume(n.item,\"attribute:listIndent\");const s=n.item;const r=Kk(s,i);Jk(s,r,i,t)}}function ix(t){return(e,n,i)=>{const o=i.mapper.toViewPosition(n.position).getLastMatchingPosition(t=>!t.item.is(\"li\"));const s=o.nodeAfter;const r=i.writer;r.breakContainer(r.createPositionBefore(s));r.breakContainer(r.createPositionAfter(s));const a=s.parent;const c=a.previousSibling;const l=r.createRangeOn(a);const d=r.remove(l);if(c&&c.nextSibling){Xk(r,c,c.nextSibling)}const u=i.mapper.toModelElement(s);wx(u.getAttribute(\"listIndent\")+1,n.position,l.start,s,i,t);for(const t of r.createRangeIn(d).getItems()){i.mapper.unbindViewElement(t)}e.stop()}}function ox(t,e,n){if(!n.consumable.consume(e.item,\"attribute:listType\")){return}const i=n.mapper.toViewElement(e.item);const o=n.writer;o.breakContainer(o.createPositionBefore(i));o.breakContainer(o.createPositionAfter(i));const s=i.parent;const r=e.attributeNewValue==\"numbered\"?\"ol\":\"ul\";o.rename(r,s)}function sx(t,e,n){const i=n.mapper.toViewElement(e.item);const o=i.parent;const s=n.writer;Xk(s,o,o.nextSibling);Xk(s,o.previousSibling,o);for(const t of e.item.getChildren()){n.consumable.consume(t,\"insert\")}}function rx(t){return(e,n,i)=>{if(!i.consumable.consume(n.item,\"attribute:listIndent\")){return}const o=i.mapper.toViewElement(n.item);const s=i.writer;s.breakContainer(s.createPositionBefore(o));s.breakContainer(s.createPositionAfter(o));const r=o.parent;const a=r.previousSibling;const c=s.createRangeOn(r);s.remove(c);if(a&&a.nextSibling){Xk(s,a,a.nextSibling)}wx(n.attributeOldValue+1,n.range.start,c.start,o,i,t);Jk(n.item,o,i,t);for(const t of n.item.getChildren()){i.consumable.consume(t,\"insert\")}}}function ax(t,e,n){if(e.item.name!=\"listItem\"){let t=n.mapper.toViewPosition(e.range.start);const i=n.writer;const o=[];while(t.parent.name==\"ul\"||t.parent.name==\"ol\"){t=i.breakContainer(t);if(t.parent.name!=\"li\"){break}const e=t;const n=i.createPositionAt(t.parent,\"end\");if(!e.isEqual(n)){const t=i.remove(i.createRange(e,n));o.push(t)}t=i.createPositionAfter(t.parent)}if(o.length>0){for(let e=0;e<o.length;e++){const n=t.nodeBefore;const s=i.insert(t,o[e]);t=s.end;if(e>0){const e=Xk(i,n,n.nextSibling);if(e&&e.parent==n){t.offset--}}}Xk(i,t.nodeBefore,t.nodeAfter)}}}function cx(t,e,n){const i=n.mapper.toViewPosition(e.position);const o=i.nodeBefore;const s=i.nodeAfter;Xk(n.writer,o,s)}function lx(t,e,n){if(n.consumable.consume(e.viewItem,{name:true})){const t=n.writer;const i=t.createElement(\"listItem\");const o=vx(e.viewItem);t.setAttribute(\"listIndent\",o,i);const s=e.viewItem.parent&&e.viewItem.parent.name==\"ol\"?\"numbered\":\"bulleted\";t.setAttribute(\"listType\",s,i);const r=n.splitToAllowedParent(i,e.modelCursor);if(!r){return}t.insert(i,r.position);const a=px(i,e.viewItem.getChildren(),n);e.modelRange=t.createRange(e.modelCursor,a);if(r.cursorParent){e.modelCursor=t.createPositionAt(r.cursorParent,0)}else{e.modelCursor=e.modelRange.end}}}function dx(t,e,n){if(n.consumable.test(e.viewItem,{name:true})){const t=Array.from(e.viewItem.getChildren());for(const e of t){const t=!(e.is(\"li\")||_x(e));if(t){e._remove()}}}}function ux(t,e,n){if(n.consumable.test(e.viewItem,{name:true})){if(e.viewItem.childCount===0){return}const t=[...e.viewItem.getChildren()];let n=false;let i=true;for(const e of t){if(n&&!_x(e)){e._remove()}if(e.is(\"text\")){if(i){e._data=e.data.replace(/^\\s+/,\"\")}if(!e.nextSibling||_x(e.nextSibling)){e._data=e.data.replace(/\\s+$/,\"\")}}else if(_x(e)){n=true}i=false}}}function hx(t){return(e,n)=>{if(n.isPhantom){return}const i=n.modelPosition.nodeBefore;if(i&&i.is(\"listItem\")){const e=n.mapper.toViewElement(i);const o=e.getAncestors().find(_x);const s=t.createPositionAt(e,0).getWalker();for(const t of s){if(t.type==\"elementStart\"&&t.item.is(\"li\")){n.viewPosition=t.previousPosition;break}else if(t.type==\"elementEnd\"&&t.item==o){n.viewPosition=t.nextPosition;break}}}}}function fx(t){return(e,n)=>{const i=n.viewPosition;const o=i.parent;const s=n.mapper;if(o.name==\"ul\"||o.name==\"ol\"){if(!i.isAtEnd){const e=s.toModelElement(i.nodeAfter);n.modelPosition=t.createPositionBefore(e)}else{const e=s.toModelElement(i.nodeBefore);const o=s.getModelLength(i.nodeBefore);n.modelPosition=t.createPositionBefore(e).getShiftedBy(o)}e.stop()}else if(o.name==\"li\"&&i.nodeBefore&&(i.nodeBefore.name==\"ul\"||i.nodeBefore.name==\"ol\")){const r=s.toModelElement(o);let a=1;let c=i.nodeBefore;while(c&&_x(c)){a+=s.getModelLength(c);c=c.previousSibling}n.modelPosition=t.createPositionBefore(r).getShiftedBy(a);e.stop()}}}function mx(t,e){const n=t.document.differ.getChanges();const i=new Map;let o=false;for(const i of n){if(i.type==\"insert\"&&i.name==\"listItem\"){s(i.position)}else if(i.type==\"insert\"&&i.name!=\"listItem\"){if(i.name!=\"$text\"){const n=i.position.nodeAfter;if(n.hasAttribute(\"listIndent\")){e.removeAttribute(\"listIndent\",n);o=true}if(n.hasAttribute(\"listType\")){e.removeAttribute(\"listType\",n);o=true}for(const e of Array.from(t.createRangeIn(n)).filter(t=>t.item.is(\"listItem\"))){s(e.previousPosition)}}const n=i.position.getShiftedBy(i.length);s(n)}else if(i.type==\"remove\"&&i.name==\"listItem\"){s(i.position)}else if(i.type==\"attribute\"&&i.attributeKey==\"listIndent\"){s(i.range.start)}else if(i.type==\"attribute\"&&i.attributeKey==\"listType\"){s(i.range.start)}}for(const t of i.values()){r(t);a(t)}return o;function s(t){const e=t.nodeBefore;if(!e||!e.is(\"listItem\")){const e=t.nodeAfter;if(e&&e.is(\"listItem\")){i.set(e,e)}}else{let n=e;if(i.has(n)){return}while(n.previousSibling&&n.previousSibling.is(\"listItem\")){n=n.previousSibling;if(i.has(n)){return}}i.set(t.nodeBefore,n)}}function r(t){let n=0;let i=null;while(t&&t.is(\"listItem\")){const s=t.getAttribute(\"listIndent\");if(s>n){let r;if(i===null){i=s-n;r=n}else{if(i>s){i=s}r=s-i}e.setAttribute(\"listIndent\",r,t);o=true}else{i=null;n=t.getAttribute(\"listIndent\")+1}t=t.nextSibling}}function a(t){let n=[];let i=null;while(t&&t.is(\"listItem\")){const s=t.getAttribute(\"listIndent\");if(i&&i.getAttribute(\"listIndent\")>s){n=n.slice(0,s+1)}if(s!=0){if(n[s]){const i=n[s];if(t.getAttribute(\"listType\")!=i){e.setAttribute(\"listType\",i,t);o=true}}else{n[s]=t.getAttribute(\"listType\")}}i=t;t=t.nextSibling}}}function gx(t,[e,n]){let i=e.is(\"documentFragment\")?e.getChild(0):e;let o;if(!n){o=this.document.selection}else{o=this.createSelection(n)}if(i&&i.is(\"listItem\")){const t=o.getFirstPosition();let e=null;if(t.parent.is(\"listItem\")){e=t.parent}else if(t.nodeBefore&&t.nodeBefore.is(\"listItem\")){e=t.nodeBefore}if(e){const t=e.getAttribute(\"listIndent\");if(t>0){while(i&&i.is(\"listItem\")){i._setAttribute(\"listIndent\",i.getAttribute(\"listIndent\")+t);i=i.nextSibling}}}}}function px(t,e,n){const{writer:i,schema:o}=n;let s=i.createPositionAfter(t);for(const r of e){if(r.name==\"ul\"||r.name==\"ol\"){s=n.convertItem(r,s).modelCursor}else{const e=n.convertItem(r,i.createPositionAt(t,\"end\"));const a=e.modelRange.start.nodeAfter;const c=a&&a.is(\"element\")&&!o.checkChild(t,a.name);if(c){if(e.modelCursor.parent.is(\"listItem\")){t=e.modelCursor.parent}else{t=bx(e.modelCursor)}s=i.createPositionAfter(t)}}}return s}function bx(t){const e=new _u({startPosition:t});let n;do{n=e.next()}while(!n.value.item.is(\"listItem\"));return n.value.item}function wx(t,e,n,i,o,s){const r=Zk(e.nodeBefore,{sameIndent:true,smallerIndent:true,listIndent:t,foo:\"b\"});const a=o.mapper;const c=o.writer;const l=r?r.getAttribute(\"listIndent\"):null;let d;if(!r){d=n}else if(l==t){const t=a.toViewElement(r).parent;d=c.createPositionAfter(t)}else{const t=s.createPositionAt(r,\"end\");d=a.toViewPosition(t)}d=Qk(d);for(const t of[...i.getChildren()]){if(_x(t)){d=c.move(c.createRangeOn(t),d).end;Xk(c,t,t.nextSibling);Xk(c,t.previousSibling,t)}}}function _x(t){return t.is(\"ol\")||t.is(\"ul\")}function vx(t){let e=0;let n=t.parent;while(n){if(n.is(\"li\")){e++}else{const t=n.previousSibling;if(t&&t.is(\"li\")){e++}}n=n.parent}return e}class kx extends db{static get pluginName(){return\"ListEditing\"}static get requires(){return[Lb]}init(){const t=this.editor;t.model.schema.register(\"listItem\",{inheritAllFrom:\"$block\",allowAttributes:[\"listType\",\"listIndent\"]});const e=t.data;const n=t.editing;t.model.document.registerPostFixer(e=>mx(t.model,e));n.mapper.registerViewToModelLength(\"li\",xx);e.mapper.registerViewToModelLength(\"li\",xx);n.mapper.on(\"modelToViewPosition\",hx(n.view));n.mapper.on(\"viewToModelPosition\",fx(t.model));e.mapper.on(\"modelToViewPosition\",hx(n.view));t.conversion.for(\"editingDowncast\").add(e=>{e.on(\"insert\",ax,{priority:\"high\"});e.on(\"insert:listItem\",nx(t.model));e.on(\"attribute:listType:listItem\",ox,{priority:\"high\"});e.on(\"attribute:listType:listItem\",sx,{priority:\"low\"});e.on(\"attribute:listIndent:listItem\",rx(t.model));e.on(\"remove:listItem\",ix(t.model));e.on(\"remove\",cx,{priority:\"low\"})});t.conversion.for(\"dataDowncast\").add(e=>{e.on(\"insert\",ax,{priority:\"high\"});e.on(\"insert:listItem\",nx(t.model))});t.conversion.for(\"upcast\").add(t=>{t.on(\"element:ul\",dx,{priority:\"high\"});t.on(\"element:ol\",dx,{priority:\"high\"});t.on(\"element:li\",ux,{priority:\"high\"});t.on(\"element:li\",lx)});t.model.on(\"insertContent\",gx,{priority:\"high\"});t.commands.add(\"numberedList\",new Wk(t,\"numbered\"));t.commands.add(\"bulletedList\",new Wk(t,\"bulleted\"));t.commands.add(\"indentList\",new qk(t,\"forward\"));t.commands.add(\"outdentList\",new qk(t,\"backward\"));const i=n.view.document;this.listenTo(i,\"enter\",(t,e)=>{const n=this.editor.model.document;const i=n.selection.getLastPosition().parent;if(n.selection.isCollapsed&&i.name==\"listItem\"&&i.isEmpty){this.editor.execute(\"outdentList\");e.preventDefault();t.stop()}});this.listenTo(i,\"delete\",(t,e)=>{if(e.direction!==\"backward\"){return}const n=this.editor.model.document.selection;if(!n.isCollapsed){return}const i=n.getFirstPosition();if(!i.isAtStart){return}const o=i.parent;if(o.name!==\"listItem\"){return}const s=o.previousSibling&&o.previousSibling.name===\"listItem\";if(s){return}this.editor.execute(\"outdentList\");e.preventDefault();t.stop()},{priority:\"high\"});const o=t=>(e,n)=>{const i=this.editor.commands.get(t);if(i.isEnabled){this.editor.execute(t);n()}};t.keystrokes.set(\"Tab\",o(\"indentList\"));t.keystrokes.set(\"Shift+Tab\",o(\"outdentList\"))}afterInit(){const t=this.editor.commands;const e=t.get(\"indent\");const n=t.get(\"outdent\");if(e){e.registerChildCommand(t.get(\"indentList\"))}if(n){n.registerChildCommand(t.get(\"outdentList\"))}}}function xx(t){let e=1;for(const n of t.getChildren()){if(n.name==\"ul\"||n.name==\"ol\"){for(const t of n.getChildren()){e+=xx(t)}}}return e}var yx='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z\"/></svg>';var Ax='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z\"/></svg>';class Cx extends db{init(){const t=this.editor.t;tx(this.editor,\"numberedList\",t(\"n\"),yx);tx(this.editor,\"bulletedList\",t(\"o\"),Ax)}}class Tx extends db{static get requires(){return[kx,Cx]}static get pluginName(){return\"List\"}}function Mx(t,e){return t=>{t.on(\"attribute:url:media\",n)};function n(n,i,o){if(!o.consumable.consume(i.item,n.name)){return}const s=i.attributeNewValue;const r=o.writer;const a=o.mapper.toViewElement(i.item);r.remove(r.createRangeIn(a));const c=t.getMediaViewElement(r,s,e);r.insert(r.createPositionAt(a,0),c)}}function Ex(t,e,n){e.setCustomProperty(\"media\",true,t);return ow(t,e,{label:n})}function Px(t){const e=t.getSelectedElement();if(e&&Sx(e)){return e}return null}function Sx(t){return!!t.getCustomProperty(\"media\")&&iw(t)}function Ix(t,e,n,i){const o=t.createContainerElement(\"figure\",{class:\"media\"});o.getFillerOffset=Lx;t.insert(t.createPositionAt(o,0),e.getMediaViewElement(t,n,i));return o}function Ox(t){const e=t.getSelectedElement();if(e&&e.is(\"media\")){return e}return null}function Nx(t,e,n){t.change(i=>{const o=i.createElement(\"media\",{url:e});t.insertContent(o,n);i.setSelection(o,\"on\")})}function Lx(){return null}class Rx extends fb{refresh(){const t=this.editor.model;const e=t.document.selection;const n=t.schema;const i=e.getFirstPosition();const o=Ox(e);let s=i.parent;if(s!=s.root){s=s.parent}this.value=o?o.getAttribute(\"url\"):null;this.isEnabled=n.checkChild(s,\"media\")}execute(t){const e=this.editor.model;const n=e.document.selection;const i=Ox(n);if(i){e.change(e=>{e.setAttribute(\"url\",t,i)})}else{const i=lw(n,e);Nx(e,t,i)}}}var Dx='<svg viewBox=\"0 0 64 42\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M47.426 17V3.713L63.102 0v19.389h-.001l.001.272c0 1.595-2.032 3.43-4.538 4.098-2.506.668-4.538-.083-4.538-1.678 0-1.594 2.032-3.43 4.538-4.098.914-.244 2.032-.565 2.888-.603V4.516L49.076 7.447v9.556A1.014 1.014 0 0 0 49 17h-1.574zM29.5 17h-8.343a7.073 7.073 0 1 0-4.657 4.06v3.781H3.3a2.803 2.803 0 0 1-2.8-2.804V8.63a2.803 2.803 0 0 1 2.8-2.805h4.082L8.58 2.768A1.994 1.994 0 0 1 10.435 1.5h8.985c.773 0 1.477.448 1.805 1.149l1.488 3.177H26.7c1.546 0 2.8 1.256 2.8 2.805V17zm-11.637 0H17.5a1 1 0 0 0-1 1v.05A4.244 4.244 0 1 1 17.863 17zm29.684 2c.97 0 .953-.048.953.889v20.743c0 .953.016.905-.953.905H19.453c-.97 0-.953.048-.953-.905V19.89c0-.937-.016-.889.97-.889h28.077zm-4.701 19.338V22.183H24.154v16.155h18.692zM20.6 21.375v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616V37.53H20.6zm24.233-16.155v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615V37.53h-1.615zM29.485 25.283a.4.4 0 0 1 .593-.35l9.05 4.977a.4.4 0 0 1 0 .701l-9.05 4.978a.4.4 0 0 1-.593-.35v-9.956z\"/></svg>';const jx=\"0 0 64 42\";class zx{constructor(t,e){const n=e.providers;const i=e.extraProviders||[];const o=new Set(e.removeProviders);const s=n.concat(i).filter(t=>{const e=t.name;if(!e){console.warn(Object(Qs[\"a\"])(\"media-embed-no-provider-name: The configured media provider has no name and cannot be used.\"),{provider:t});return false}return!o.has(e)});this.locale=t;this.providerDefinitions=s}hasMedia(t){return!!this._getMedia(t)}getMediaViewElement(t,e,n){return this._getMedia(e).getViewElement(t,n)}_getMedia(t){if(!t){return new Bx(this.locale)}t=t.trim();for(const e of this.providerDefinitions){const n=e.html;let i=e.url;if(!Array.isArray(i)){i=[i]}for(const e of i){const i=this._getUrlMatches(t,e);if(i){return new Bx(this.locale,t,i,n)}}}return null}_getUrlMatches(t,e){let n=t.match(e);if(n){return n}let i=t.replace(/^https?:\\/\\//,\"\");n=i.match(e);if(n){return n}i=i.replace(/^www\\./,\"\");n=i.match(e);if(n){return n}return null}}class Bx{constructor(t,e,n,i){this.url=this._getValidUrl(e);this._t=t.t;this._match=n;this._previewRenderer=i}getViewElement(t,e){const n={};if(e.renderForEditingView||e.renderMediaPreview&&this.url&&this._previewRenderer){if(this.url){n[\"data-oembed-url\"]=this.url}if(e.renderForEditingView){n.class=\"ck-media__wrapper\"}const i=this._getPreviewHtml(e);return t.createUIElement(\"div\",n,(function(t){const e=this.toDomElement(t);e.innerHTML=i;return e}))}else{if(this.url){n.url=this.url}return t.createEmptyElement(\"oembed\",n)}}_getPreviewHtml(t){if(this._previewRenderer){return this._previewRenderer(this._match)}else{if(this.url&&t.renderForEditingView){return this._getPlaceholderHtml()}return\"\"}}_getPlaceholderHtml(){const t=new Ep;const e=new Tp;t.text=this._t(\"Open media in new tab\");e.content=Dx;e.viewBox=jx;const n=new Cg({tag:\"div\",attributes:{class:\"ck ck-reset_all ck-media__placeholder\"},children:[{tag:\"div\",attributes:{class:\"ck-media__placeholder__icon\"},children:[e]},{tag:\"a\",attributes:{class:\"ck-media__placeholder__url\",target:\"_blank\",rel:\"noopener noreferrer\",href:this.url},children:[{tag:\"span\",attributes:{class:\"ck-media__placeholder__url__text\"},children:[this.url]},t]}]}).render();return n.outerHTML}_getValidUrl(t){if(!t){return null}if(t.match(/^https?/)){return t}return\"https://\"+t}}var Vx=n(80);class Fx extends db{static get pluginName(){return\"MediaEmbedEditing\"}constructor(t){super(t);t.config.define(\"mediaEmbed\",{providers:[{name:\"dailymotion\",url:/^dailymotion\\.com\\/video\\/(\\w+)/,html:t=>{const e=t[1];return'<div style=\"position: relative; padding-bottom: 100%; height: 0; \">'+`<iframe src=\"https://www.dailymotion.com/embed/video/${e}\" `+'style=\"position: absolute; width: 100%; height: 100%; top: 0; left: 0;\" '+'frameborder=\"0\" width=\"480\" height=\"270\" allowfullscreen allow=\"autoplay\">'+\"</iframe>\"+\"</div>\"}},{name:\"spotify\",url:[/^open\\.spotify\\.com\\/(artist\\/\\w+)/,/^open\\.spotify\\.com\\/(album\\/\\w+)/,/^open\\.spotify\\.com\\/(track\\/\\w+)/],html:t=>{const e=t[1];return'<div style=\"position: relative; padding-bottom: 100%; height: 0; padding-bottom: 126%;\">'+`<iframe src=\"https://open.spotify.com/embed/${e}\" `+'style=\"position: absolute; width: 100%; height: 100%; top: 0; left: 0;\" '+'frameborder=\"0\" allowtransparency=\"true\" allow=\"encrypted-media\">'+\"</iframe>\"+\"</div>\"}},{name:\"youtube\",url:[/^(?:m\\.)?youtube\\.com\\/watch\\?v=([\\w-]+)/,/^(?:m\\.)?youtube\\.com\\/v\\/([\\w-]+)/,/^youtube\\.com\\/embed\\/([\\w-]+)/,/^youtu\\.be\\/([\\w-]+)/],html:t=>{const e=t[1];return'<div style=\"position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;\">'+`<iframe src=\"https://www.youtube.com/embed/${e}\" `+'style=\"position: absolute; width: 100%; height: 100%; top: 0; left: 0;\" '+'frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen>'+\"</iframe>\"+\"</div>\"}},{name:\"vimeo\",url:[/^vimeo\\.com\\/(\\d+)/,/^vimeo\\.com\\/[^/]+\\/[^/]+\\/video\\/(\\d+)/,/^vimeo\\.com\\/album\\/[^/]+\\/video\\/(\\d+)/,/^vimeo\\.com\\/channels\\/[^/]+\\/(\\d+)/,/^vimeo\\.com\\/groups\\/[^/]+\\/videos\\/(\\d+)/,/^vimeo\\.com\\/ondemand\\/[^/]+\\/(\\d+)/,/^player\\.vimeo\\.com\\/video\\/(\\d+)/],html:t=>{const e=t[1];return'<div style=\"position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;\">'+`<iframe src=\"https://player.vimeo.com/video/${e}\" `+'style=\"position: absolute; width: 100%; height: 100%; top: 0; left: 0;\" '+'frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen>'+\"</iframe>\"+\"</div>\"}},{name:\"instagram\",url:/^instagram\\.com\\/p\\/(\\w+)/},{name:\"twitter\",url:/^twitter\\.com/},{name:\"googleMaps\",url:/^google\\.com\\/maps/},{name:\"flickr\",url:/^flickr\\.com/},{name:\"facebook\",url:/^facebook\\.com/}]});this.registry=new zx(t.locale,t.config.get(\"mediaEmbed\"))}init(){const t=this.editor;const e=t.model.schema;const n=t.t;const i=t.conversion;const o=t.config.get(\"mediaEmbed.previewsInData\");const s=this.registry;t.commands.add(\"mediaEmbed\",new Rx(t));e.register(\"media\",{isObject:true,isBlock:true,allowWhere:\"$block\",allowAttributes:[\"url\"]});i.for(\"dataDowncast\").elementToElement({model:\"media\",view:(t,e)=>{const n=t.getAttribute(\"url\");return Ix(e,s,n,{renderMediaPreview:n&&o})}});i.for(\"dataDowncast\").add(Mx(s,{renderMediaPreview:o}));i.for(\"editingDowncast\").elementToElement({model:\"media\",view:(t,e)=>{const i=t.getAttribute(\"url\");const o=Ix(e,s,i,{renderForEditingView:true});return Ex(o,e,n(\"p\"))}});i.for(\"editingDowncast\").add(Mx(s,{renderForEditingView:true}));i.for(\"upcast\").elementToElement({view:{name:\"oembed\",attributes:{url:true}},model:(t,e)=>{const n=t.getAttribute(\"url\");if(s.hasMedia(n)){return e.createElement(\"media\",{url:n})}}}).elementToElement({view:{name:\"div\",attributes:{\"data-oembed-url\":true}},model:(t,e)=>{const n=t.getAttribute(\"data-oembed-url\");if(s.hasMedia(n)){return e.createElement(\"media\",{url:n})}}})}}class Hx{constructor(t){this.files=Ux(t);this._native=t}get types(){return this._native.types}getData(t){return this._native.getData(t)}setData(t,e){this._native.setData(t,e)}}function Ux(t){const e=t.files?Array.from(t.files):[];const n=t.items?Array.from(t.items):[];if(e.length){return e}return n.filter(t=>t.kind===\"file\").map(t=>t.getAsFile())}class Wx extends kd{constructor(t){super(t);const e=this.document;this.domEventType=[\"paste\",\"copy\",\"cut\",\"drop\",\"dragover\"];this.listenTo(e,\"paste\",n,{priority:\"low\"});this.listenTo(e,\"drop\",n,{priority:\"low\"});function n(t,n){n.preventDefault();const i=n.dropRange?[n.dropRange]:Array.from(e.selection.getRanges());const o=new er(e,\"clipboardInput\");e.fire(o,{dataTransfer:n.dataTransfer,targetRanges:i});if(o.stop.called){n.stopPropagation()}}}onDomEvent(t){const e={dataTransfer:new Hx(t.clipboardData?t.clipboardData:t.dataTransfer)};if(t.type==\"drop\"){e.dropRange=$x(this.view,t)}this.fire(t.type,t,e)}}function $x(t,e){const n=e.target.ownerDocument;const i=e.clientX;const o=e.clientY;let s;if(n.caretRangeFromPoint&&n.caretRangeFromPoint(i,o)){s=n.caretRangeFromPoint(i,o)}else if(e.rangeParent){s=n.createRange();s.setStart(e.rangeParent,e.rangeOffset);s.collapse(true)}if(s){return t.domConverter.domRangeToView(s)}else{return t.document.selection.getFirstRange()}}function Yx(t){t=t.replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\\n/g,\"</p><p>\").replace(/^\\s/,\"&nbsp;\").replace(/\\s$/,\"&nbsp;\").replace(/\\s\\s/g,\" &nbsp;\");if(t.indexOf(\"</p><p>\")>-1){t=`<p>${t}</p>`}return t}function qx(t){return t.replace(/<span(?: class=\"Apple-converted-space\"|)>(\\s+)<\\/span>/g,(t,e)=>{if(e.length==1){return\" \"}return e})}const Gx=[\"figcaption\",\"li\"];function Kx(t){let e=\"\";if(t.is(\"text\")||t.is(\"textProxy\")){e=t.data}else if(t.is(\"img\")&&t.hasAttribute(\"alt\")){e=t.getAttribute(\"alt\")}else{let n=null;for(const i of t.getChildren()){const t=Kx(i);if(n&&(n.is(\"containerElement\")||i.is(\"containerElement\"))){if(Gx.includes(n.name)||Gx.includes(i.name)){e+=\"\\n\"}else{e+=\"\\n\\n\"}}e+=t;n=i}}return e}class Jx extends db{static get pluginName(){return\"Clipboard\"}init(){const t=this.editor;const e=t.model.document;const n=t.editing.view;const i=n.document;this._htmlDataProcessor=new ig;n.addObserver(Wx);this.listenTo(i,\"clipboardInput\",e=>{if(t.isReadOnly){e.stop()}},{priority:\"highest\"});this.listenTo(i,\"clipboardInput\",(t,e)=>{const i=e.dataTransfer;let o=\"\";if(i.getData(\"text/html\")){o=qx(i.getData(\"text/html\"))}else if(i.getData(\"text/plain\")){o=Yx(i.getData(\"text/plain\"))}o=this._htmlDataProcessor.toView(o);this.fire(\"inputTransformation\",{content:o,dataTransfer:i});n.scrollToTheSelection()},{priority:\"low\"});this.listenTo(this,\"inputTransformation\",(t,e)=>{if(!e.content.isEmpty){const t=this.editor.data;const n=this.editor.model;const i=t.toModel(e.content,\"$clipboardHolder\");if(i.childCount==0){return}n.insertContent(i)}},{priority:\"low\"});function o(n,o){const s=o.dataTransfer;o.preventDefault();const r=t.data.toView(t.model.getSelectedContent(e.selection));i.fire(\"clipboardOutput\",{dataTransfer:s,content:r,method:n.name})}this.listenTo(i,\"copy\",o,{priority:\"low\"});this.listenTo(i,\"cut\",(e,n)=>{if(t.isReadOnly){n.preventDefault()}else{o(e,n)}},{priority:\"low\"});this.listenTo(i,\"clipboardOutput\",(n,i)=>{if(!i.content.isEmpty){i.dataTransfer.setData(\"text/html\",this._htmlDataProcessor.toData(i.content));i.dataTransfer.setData(\"text/plain\",Kx(i.content))}if(i.method==\"cut\"){t.model.deleteContent(e.selection)}},{priority:\"low\"})}}class Xx extends Cf{get type(){return\"noop\"}clone(){return new Xx(this.baseVersion)}getReversed(){return new Xx(this.baseVersion+1)}_execute(){}static get className(){return\"NoOperation\"}}const Qx=new Map;function Zx(t,e,n){let i=Qx.get(t);if(!i){i=new Map;Qx.set(t,i)}i.set(e,n)}function ty(t,e){const n=Qx.get(t);if(n&&n.has(e)){return n.get(e)}return ey}function ey(t){return[t]}function ny(t,e,n={}){const i=ty(t.constructor,e.constructor);try{t=t.clone();return i(t,e,n)}catch(t){throw t}}function iy(t,e,n){t=t.slice();e=e.slice();const i=new oy(n.document,n.useRelations,n.forceWeakRemove);i.setOriginalOperations(t);i.setOriginalOperations(e);const o=i.originalOperations;if(t.length==0||e.length==0){return{operationsA:t,operationsB:e,originalOperations:o}}const s=new WeakMap;for(const e of t){s.set(e,0)}const r={nextBaseVersionA:t[t.length-1].baseVersion+1,nextBaseVersionB:e[e.length-1].baseVersion+1,originalOperationsACount:t.length,originalOperationsBCount:e.length};let a=0;while(a<t.length){const n=t[a];const o=s.get(n);if(o==e.length){a++;continue}const r=e[o];const c=ny(n,r,i.getContext(n,r,true));const l=ny(r,n,i.getContext(r,n,false));i.updateRelation(n,r);i.setOriginalOperations(c,n);i.setOriginalOperations(l,r);for(const t of c){s.set(t,o+l.length)}t.splice(a,1,...c);e.splice(o,1,...l)}if(n.padWithNoOps){const n=t.length-r.originalOperationsACount;const i=e.length-r.originalOperationsBCount;ry(t,i-n);ry(e,n-i)}sy(t,r.nextBaseVersionB);sy(e,r.nextBaseVersionA);return{operationsA:t,operationsB:e,originalOperations:o}}class oy{constructor(t,e,n=false){this.originalOperations=new Map;this._history=t.history;this._useRelations=e;this._forceWeakRemove=!!n;this._relations=new Map}setOriginalOperations(t,e=null){const n=e?this.originalOperations.get(e):null;for(const e of t){this.originalOperations.set(e,n||e)}}updateRelation(t,e){switch(t.constructor){case Vf:{switch(e.constructor){case $f:{if(t.targetPosition.isEqual(e.sourcePosition)||e.movedRange.containsPosition(t.targetPosition)){this._setRelation(t,e,\"insertAtSource\")}else if(t.targetPosition.isEqual(e.deletionPosition)){this._setRelation(t,e,\"insertBetween\")}else if(t.targetPosition.isAfter(e.sourcePosition)){this._setRelation(t,e,\"moveTargetAfter\")}break}case Vf:{if(t.targetPosition.isEqual(e.sourcePosition)||t.targetPosition.isBefore(e.sourcePosition)){this._setRelation(t,e,\"insertBefore\")}else{this._setRelation(t,e,\"insertAfter\")}break}}break}case Yf:{switch(e.constructor){case $f:{if(t.splitPosition.isBefore(e.sourcePosition)){this._setRelation(t,e,\"splitBefore\")}break}case Vf:{if(t.splitPosition.isEqual(e.sourcePosition)||t.splitPosition.isBefore(e.sourcePosition)){this._setRelation(t,e,\"splitBefore\")}break}}break}case $f:{switch(e.constructor){case $f:{if(!t.targetPosition.isEqual(e.sourcePosition)){this._setRelation(t,e,\"mergeTargetNotMoved\")}if(t.sourcePosition.isEqual(e.targetPosition)){this._setRelation(t,e,\"mergeSourceNotMoved\")}if(t.sourcePosition.isEqual(e.sourcePosition)){this._setRelation(t,e,\"mergeSameElement\")}break}case Yf:{if(t.sourcePosition.isEqual(e.splitPosition)){this._setRelation(t,e,\"splitAtSource\")}}}break}case Hf:{const n=t.newRange;if(!n){return}switch(e.constructor){case Vf:{const i=Au._createFromPositionAndShift(e.sourcePosition,e.howMany);const o=i.containsPosition(n.start)||i.start.isEqual(n.start);const s=i.containsPosition(n.end)||i.end.isEqual(n.end);if((o||s)&&!i.containsRange(n)){this._setRelation(t,e,{side:o?\"left\":\"right\",path:o?n.start.path.slice():n.end.path.slice()})}break}case $f:{const i=n.start.isEqual(e.targetPosition);const o=n.start.isEqual(e.deletionPosition);const s=n.end.isEqual(e.deletionPosition);const r=n.end.isEqual(e.sourcePosition);if(i||o||s||r){this._setRelation(t,e,{wasInLeftElement:i,wasStartBeforeMergedElement:o,wasEndBeforeMergedElement:s,wasInRightElement:r})}break}}break}}}getContext(t,e,n){return{aIsStrong:n,aWasUndone:this._wasUndone(t),bWasUndone:this._wasUndone(e),abRelation:this._useRelations?this._getRelation(t,e):null,baRelation:this._useRelations?this._getRelation(e,t):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(t){const e=this.originalOperations.get(t);return e.wasUndone||this._history.isUndoneOperation(e)}_getRelation(t,e){const n=this.originalOperations.get(e);const i=this._history.getUndoneOperation(n);if(!i){return null}const o=this.originalOperations.get(t);const s=this._relations.get(o);if(s){return s.get(i)||null}return null}_setRelation(t,e,n){const i=this.originalOperations.get(t);const o=this.originalOperations.get(e);let s=this._relations.get(i);if(!s){s=new Map;this._relations.set(i,s)}s.set(o,n)}}function sy(t,e){for(const n of t){n.baseVersion=e++}}function ry(t,e){for(let n=0;n<e;n++){t.push(new Xx(0))}}Zx(zf,zf,(t,e,n)=>{if(t.key===e.key){const i=t.range.getDifference(e.range).map(e=>new zf(e,t.key,t.oldValue,t.newValue,0));const o=t.range.getIntersection(e.range);if(o){if(n.aIsStrong){i.push(new zf(o,e.key,e.newValue,t.newValue,0))}}if(i.length==0){return[new Xx(0)]}return i}else{return[t]}});Zx(zf,Ff,(t,e)=>{if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){const n=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes);const i=n.map(e=>new zf(e,t.key,t.oldValue,t.newValue,t.baseVersion));if(e.shouldReceiveAttributes){const n=ay(e,t.key,t.oldValue);if(n){i.unshift(n)}}return i}t.range=t.range._getTransformedByInsertion(e.position,e.howMany,false)[0];return[t]});function ay(t,e,n){const i=t.nodes;const o=i.getNode(0).getAttribute(e);if(o==n){return null}const s=new Au(t.position,t.position.getShiftedBy(t.howMany));return new zf(s,e,o,n,0)}Zx(zf,$f,(t,e)=>{const n=[];if(t.range.start.hasSameParentAs(e.deletionPosition)){if(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition)){n.push(Au._createFromPositionAndShift(e.graveyardPosition,1))}}const i=t.range._getTransformedByMergeOperation(e);if(!i.isCollapsed){n.push(i)}return n.map(e=>new zf(e,t.key,t.oldValue,t.newValue,t.baseVersion))});Zx(zf,Vf,(t,e)=>{const n=cy(t.range,e);return n.map(e=>new zf(e,t.key,t.oldValue,t.newValue,t.baseVersion))});function cy(t,e){const n=Au._createFromPositionAndShift(e.sourcePosition,e.howMany);let i=null;let o=[];if(n.containsRange(t,true)){i=t}else if(t.start.hasSameParentAs(n.start)){o=t.getDifference(n);i=t.getIntersection(n)}else{o=[t]}const s=[];for(let t of o){t=t._getTransformedByDeletion(e.sourcePosition,e.howMany);const n=e.getMovedRangeStart();const i=t.start.hasSameParentAs(n);t=t._getTransformedByInsertion(n,e.howMany,i);s.push(...t)}if(i){s.push(i._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,false)[0])}return s}Zx(zf,Yf,(t,e)=>{if(t.range.end.isEqual(e.insertionPosition)){if(!e.graveyardPosition){t.range.end.offset++}return[t]}if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){const n=t.clone();n.range=new Au(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition));t.range.end=e.splitPosition.clone();t.range.end.stickiness=\"toPrevious\";return[t,n]}t.range=t.range._getTransformedBySplitOperation(e);return[t]});Zx(Ff,zf,(t,e)=>{const n=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){const i=ay(t,e.key,e.newValue);if(i){n.push(i)}}return n});Zx(Ff,Ff,(t,e,n)=>{if(t.position.isEqual(e.position)&&n.aIsStrong){return[t]}t.position=t.position._getTransformedByInsertOperation(e);return[t]});Zx(Ff,Vf,(t,e)=>{t.position=t.position._getTransformedByMoveOperation(e);return[t]});Zx(Ff,Yf,(t,e)=>{t.position=t.position._getTransformedBySplitOperation(e);return[t]});Zx(Ff,$f,(t,e)=>{t.position=t.position._getTransformedByMergeOperation(e);return[t]});Zx(Hf,Ff,(t,e)=>{if(t.oldRange){t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]}if(t.newRange){t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]}return[t]});Zx(Hf,Hf,(t,e,n)=>{if(t.name==e.name){if(n.aIsStrong){t.oldRange=e.newRange?e.newRange.clone():null}else{return[new Xx(0)]}}return[t]});Zx(Hf,$f,(t,e)=>{if(t.oldRange){t.oldRange=t.oldRange._getTransformedByMergeOperation(e)}if(t.newRange){t.newRange=t.newRange._getTransformedByMergeOperation(e)}return[t]});Zx(Hf,Vf,(t,e,n)=>{if(t.oldRange){t.oldRange=Au._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))}if(t.newRange){if(n.abRelation){const i=Au._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if(n.abRelation.side==\"left\"&&e.targetPosition.isEqual(t.newRange.start)){t.newRange.start.path=n.abRelation.path;t.newRange.end=i.end;return[t]}else if(n.abRelation.side==\"right\"&&e.targetPosition.isEqual(t.newRange.end)){t.newRange.start=i.start;t.newRange.end.path=n.abRelation.path;return[t]}}t.newRange=Au._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]});Zx(Hf,Yf,(t,e,n)=>{if(t.oldRange){t.oldRange=t.oldRange._getTransformedBySplitOperation(e)}if(t.newRange){if(n.abRelation){const i=t.newRange._getTransformedBySplitOperation(e);if(t.newRange.start.isEqual(e.splitPosition)&&n.abRelation.wasStartBeforeMergedElement){t.newRange.start=yu._createAt(e.insertionPosition)}else if(t.newRange.start.isEqual(e.splitPosition)&&!n.abRelation.wasInLeftElement){t.newRange.start=yu._createAt(e.moveTargetPosition)}if(t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasInRightElement){t.newRange.end=yu._createAt(e.moveTargetPosition)}else if(t.newRange.end.isEqual(e.splitPosition)&&n.abRelation.wasEndBeforeMergedElement){t.newRange.end=yu._createAt(e.insertionPosition)}else{t.newRange.end=i.end}return[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]});Zx($f,Ff,(t,e)=>{if(t.sourcePosition.hasSameParentAs(e.position)){t.howMany+=e.howMany}t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e);t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e);return[t]});Zx($f,$f,(t,e,n)=>{if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(!n.bWasUndone){return[new Xx(0)]}else{const n=e.graveyardPosition.path.slice();n.push(0);t.sourcePosition=new yu(e.graveyardPosition.root,n);t.howMany=0;return[t]}}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!n.bWasUndone&&n.abRelation!=\"splitAtSource\"){const i=t.targetPosition.root.rootName==\"$graveyard\";const o=e.targetPosition.root.rootName==\"$graveyard\";const s=i&&!o;const r=o&&!i;const a=r||!s&&n.aIsStrong;if(a){const n=e.targetPosition._getTransformedByMergeOperation(e);const i=t.targetPosition._getTransformedByMergeOperation(e);return[new Vf(n,t.howMany,i,0)]}else{return[new Xx(0)]}}if(t.sourcePosition.hasSameParentAs(e.targetPosition)){t.howMany+=e.howMany}t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e);t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e);if(!t.graveyardPosition.isEqual(e.graveyardPosition)||!n.aIsStrong){t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)}return[t]});Zx($f,Vf,(t,e,n)=>{const i=Au._createFromPositionAndShift(e.sourcePosition,e.howMany);if(e.type==\"remove\"&&!n.bWasUndone&&!n.forceWeakRemove){if(t.deletionPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(t.sourcePosition)){return[new Xx(0)]}}if(t.sourcePosition.hasSameParentAs(e.targetPosition)){t.howMany+=e.howMany}if(t.sourcePosition.hasSameParentAs(e.sourcePosition)){t.howMany-=e.howMany}t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e);t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e);if(!t.graveyardPosition.isEqual(e.targetPosition)){t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}return[t]});Zx($f,Yf,(t,e,n)=>{if(e.graveyardPosition){t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1);if(t.deletionPosition.isEqual(e.graveyardPosition)){t.howMany=e.howMany}}if(t.targetPosition.isEqual(e.splitPosition)){const i=e.howMany!=0;const o=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(i||o||n.abRelation==\"mergeTargetNotMoved\"){t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e);return[t]}}if(t.sourcePosition.isEqual(e.splitPosition)){if(n.abRelation==\"mergeSourceNotMoved\"){t.howMany=0;t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e);return[t]}if(n.abRelation==\"mergeSameElement\"||t.sourcePosition.offset>0){t.sourcePosition=e.moveTargetPosition.clone();t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e);return[t]}}if(t.sourcePosition.hasSameParentAs(e.splitPosition)){t.howMany=e.splitPosition.offset}t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e);t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e);return[t]});Zx(Vf,Ff,(t,e)=>{const n=Au._createFromPositionAndShift(t.sourcePosition,t.howMany);const i=n._getTransformedByInsertOperation(e,false)[0];t.sourcePosition=i.start;t.howMany=i.end.offset-i.start.offset;if(!t.targetPosition.isEqual(e.position)){t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)}return[t]});Zx(Vf,Vf,(t,e,n)=>{const i=Au._createFromPositionAndShift(t.sourcePosition,t.howMany);const o=Au._createFromPositionAndShift(e.sourcePosition,e.howMany);let s=n.aIsStrong;let r=!n.aIsStrong;if(n.abRelation==\"insertBefore\"||n.baRelation==\"insertAfter\"){r=true}else if(n.abRelation==\"insertAfter\"||n.baRelation==\"insertBefore\"){r=false}let a;if(t.targetPosition.isEqual(e.targetPosition)&&r){a=t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany)}else{a=t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany)}if(ly(t,e)&&ly(e,t)){return[e.getReversed()]}const c=i.containsPosition(e.targetPosition);if(c&&i.containsRange(o,true)){i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany);i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany);return dy([i],a)}const l=o.containsPosition(t.targetPosition);if(l&&o.containsRange(i,true)){i.start=i.start._getCombined(e.sourcePosition,e.getMovedRangeStart());i.end=i.end._getCombined(e.sourcePosition,e.getMovedRangeStart());return dy([i],a)}const d=kr(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if(d==\"prefix\"||d==\"extension\"){i.start=i.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany);i.end=i.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany);return dy([i],a)}if(t.type==\"remove\"&&e.type!=\"remove\"&&!n.aWasUndone&&!n.forceWeakRemove){s=true}else if(t.type!=\"remove\"&&e.type==\"remove\"&&!n.bWasUndone&&!n.forceWeakRemove){s=false}const u=[];const h=i.getDifference(o);for(const t of h){t.start=t.start._getTransformedByDeletion(e.sourcePosition,e.howMany);t.end=t.end._getTransformedByDeletion(e.sourcePosition,e.howMany);const n=kr(t.start.getParentPath(),e.getMovedRangeStart().getParentPath())==\"same\";const i=t._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,n);u.push(...i)}const f=i.getIntersection(o);if(f!==null&&s){f.start=f.start._getCombined(e.sourcePosition,e.getMovedRangeStart());f.end=f.end._getCombined(e.sourcePosition,e.getMovedRangeStart());if(u.length===0){u.push(f)}else if(u.length==1){if(o.start.isBefore(i.start)||o.start.isEqual(i.start)){u.unshift(f)}else{u.push(f)}}else{u.splice(1,0,f)}}if(u.length===0){return[new Xx(t.baseVersion)]}return dy(u,a)});Zx(Vf,Yf,(t,e,n)=>{let i=t.targetPosition.clone();if(!t.targetPosition.isEqual(e.insertionPosition)||!e.graveyardPosition||n.abRelation==\"moveTargetAfter\"){i=t.targetPosition._getTransformedBySplitOperation(e)}const o=Au._createFromPositionAndShift(t.sourcePosition,t.howMany);if(o.end.isEqual(e.insertionPosition)){if(!e.graveyardPosition){t.howMany++}t.targetPosition=i;return[t]}if(o.start.hasSameParentAs(e.splitPosition)&&o.containsPosition(e.splitPosition)){let t=new Au(e.splitPosition,o.end);t=t._getTransformedBySplitOperation(e);const n=[new Au(o.start,e.splitPosition),t];return dy(n,i)}if(t.targetPosition.isEqual(e.splitPosition)&&n.abRelation==\"insertAtSource\"){i=e.moveTargetPosition}if(t.targetPosition.isEqual(e.insertionPosition)&&n.abRelation==\"insertBetween\"){i=t.targetPosition}const s=o._getTransformedBySplitOperation(e);const r=[s];if(e.graveyardPosition){const i=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);if(t.howMany>1&&i&&!n.aWasUndone){r.push(Au._createFromPositionAndShift(e.insertionPosition,1))}}return dy(r,i)});Zx(Vf,$f,(t,e,n)=>{const i=Au._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&i.containsPosition(e.sourcePosition)){if(t.type==\"remove\"&&!n.forceWeakRemove){if(!n.aWasUndone){const n=[];let i=e.graveyardPosition.clone();let o=e.targetPosition._getTransformedByMergeOperation(e);if(t.howMany>1){n.push(new Vf(t.sourcePosition,t.howMany-1,t.targetPosition,0));i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1);o=o._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1)}const s=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition);const r=new Vf(i,1,s,0);const a=r.getMovedRangeStart().path.slice();a.push(0);const c=new yu(r.targetPosition.root,a);o=o._getTransformedByMove(i,s,1);const l=new Vf(o,e.howMany,c,0);n.push(r);n.push(l);return n}}else{if(t.howMany==1){if(!n.bWasUndone){return[new Xx(0)]}else{t.sourcePosition=e.graveyardPosition.clone();t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e);return[t]}}}}const o=Au._createFromPositionAndShift(t.sourcePosition,t.howMany);const s=o._getTransformedByMergeOperation(e);t.sourcePosition=s.start;t.howMany=s.end.offset-s.start.offset;t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e);return[t]});Zx(Uf,Ff,(t,e)=>{t.position=t.position._getTransformedByInsertOperation(e);return[t]});Zx(Uf,$f,(t,e)=>{if(t.position.isEqual(e.deletionPosition)){t.position=e.graveyardPosition.clone();t.position.stickiness=\"toNext\";return[t]}t.position=t.position._getTransformedByMergeOperation(e);return[t]});Zx(Uf,Vf,(t,e)=>{t.position=t.position._getTransformedByMoveOperation(e);return[t]});Zx(Uf,Uf,(t,e,n)=>{if(t.position.isEqual(e.position)){if(n.aIsStrong){t.oldName=e.newName}else{return[new Xx(0)]}}return[t]});Zx(Uf,Yf,(t,e)=>{const n=t.position.path;const i=e.splitPosition.getParentPath();if(kr(n,i)==\"same\"&&!e.graveyardPosition){const e=new Uf(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,e]}t.position=t.position._getTransformedBySplitOperation(e);return[t]});Zx(Wf,Wf,(t,e,n)=>{if(t.root===e.root&&t.key===e.key){if(!n.aIsStrong||t.newValue===e.newValue){return[new Xx(0)]}else{t.oldValue=e.newValue}}return[t]});Zx(Yf,Ff,(t,e)=>{if(t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset<e.position.offset){t.howMany+=e.howMany}t.splitPosition=t.splitPosition._getTransformedByInsertOperation(e);t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);return[t]});Zx(Yf,$f,(t,e,n)=>{if(!t.graveyardPosition&&!n.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){const n=e.graveyardPosition.path.slice();n.push(0);const i=new yu(e.graveyardPosition.root,n);const o=Yf.getInsertionPosition(new yu(e.graveyardPosition.root,n));const s=new Yf(i,0,null,0);s.insertionPosition=o;t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e);t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);t.graveyardPosition=s.insertionPosition.clone();t.graveyardPosition.stickiness=\"toNext\";return[s,t]}if(t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)){t.howMany--}if(t.splitPosition.hasSameParentAs(e.targetPosition)){t.howMany+=e.howMany}t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e);t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);if(t.graveyardPosition){t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)}return[t]});Zx(Yf,Vf,(t,e,n)=>{const i=Au._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){const o=i.start.isEqual(t.graveyardPosition)||i.containsPosition(t.graveyardPosition);if(!n.bWasUndone&&o){const n=t.splitPosition._getTransformedByMoveOperation(e);const i=t.graveyardPosition._getTransformedByMoveOperation(e);const o=i.path.slice();o.push(0);const s=new yu(i.root,o);const r=new Vf(n,t.howMany,s,0);return[r]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&i.containsPosition(t.splitPosition)){const n=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);t.howMany-=n;if(t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset<e.targetPosition.offset){t.howMany+=e.howMany}t.splitPosition=e.sourcePosition.clone();t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);return[t]}const o=t.splitPosition.isEqual(e.targetPosition);if(o&&(n.baRelation==\"insertAtSource\"||n.abRelation==\"splitBefore\")){t.howMany+=e.howMany;t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany);t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);return[t]}if(!e.sourcePosition.isEqual(e.targetPosition)){if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&t.splitPosition.offset<=e.sourcePosition.offset){t.howMany-=e.howMany}if(t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset<e.targetPosition.offset){t.howMany+=e.howMany}}t.splitPosition.stickiness=\"toNone\";t.splitPosition=t.splitPosition._getTransformedByMoveOperation(e);t.splitPosition.stickiness=\"toNext\";if(t.graveyardPosition){t.insertionPosition=t.insertionPosition._getTransformedByMoveOperation(e)}else{t.insertionPosition=Yf.getInsertionPosition(t.splitPosition)}return[t]});Zx(Yf,Yf,(t,e,n)=>{if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition){return[new Xx(0)]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){return[new Xx(0)]}if(n.abRelation==\"splitBefore\"){t.howMany=0;t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e);return[t]}}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){const i=t.splitPosition.root.rootName==\"$graveyard\";const o=e.splitPosition.root.rootName==\"$graveyard\";const s=i&&!o;const r=o&&!i;const a=r||!s&&n.aIsStrong;if(a){const n=[];if(e.howMany){n.push(new Vf(e.moveTargetPosition,e.howMany,e.splitPosition,0))}if(t.howMany){n.push(new Vf(t.splitPosition,t.howMany,t.moveTargetPosition,0))}return n}else{return[new Xx(0)]}}if(t.graveyardPosition){t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)}if(t.splitPosition.isEqual(e.insertionPosition)&&n.abRelation==\"splitBefore\"){t.howMany++;return[t]}if(e.splitPosition.isEqual(t.insertionPosition)&&n.baRelation==\"splitBefore\"){const n=e.insertionPosition.path.slice();n.push(0);const i=new yu(e.insertionPosition.root,n);const o=new Vf(t.insertionPosition,1,i,0);return[t,o]}if(t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset<e.splitPosition.offset){t.howMany-=e.howMany}t.splitPosition=t.splitPosition._getTransformedBySplitOperation(e);t.insertionPosition=Yf.getInsertionPosition(t.splitPosition);return[t]});function ly(t,e){return t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany)===null}function dy(t,e){const n=[];for(let i=0;i<t.length;i++){const o=t[i];const s=new Vf(o.start,o.end.offset-o.start.offset,e,0);n.push(s);for(let e=i+1;e<t.length;e++){t[e]=t[e]._getTransformedByMove(s.sourcePosition,s.targetPosition,s.howMany)[0]}e=e._getTransformedByMove(s.sourcePosition,s.targetPosition,s.howMany)}return n}class uy extends fb{constructor(t){super(t);this._stack=[];this._createdBatches=new WeakSet;this.refresh()}refresh(){this.isEnabled=this._stack.length>0}addBatch(t){const e=this.editor.model.document.selection;const n={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:n});this.refresh()}clearStack(){this._stack=[];this.refresh()}_restoreSelection(t,e,n){const i=this.editor.model;const o=i.document;const s=[];for(const e of t){const t=hy(e,n);const i=t.find(t=>t.start.root!=o.graveyard);if(i){s.push(i)}}if(s.length){i.change(t=>{t.setSelection(s,{backward:e})})}}_undo(t,e){const n=this.editor.model;const i=n.document;this._createdBatches.add(e);const o=t.operations.slice().filter(t=>t.isDocumentOperation);o.reverse();for(const t of o){const o=t.baseVersion+1;const s=Array.from(i.history.getOperations(o));const r=iy([t.getReversed()],s,{useRelations:true,document:this.editor.model.document,padWithNoOps:false,forceWeakRemove:true});const a=r.operationsA;for(const o of a){e.addOperation(o);n.applyOperation(o);i.history.setOperationAsUndone(t,o)}}}}function hy(t,e){const n=t.getTransformedByOperations(e);n.sort((t,e)=>t.start.isBefore(e.start)?-1:1);for(let t=1;t<n.length;t++){const e=n[t-1];const i=n[t];if(e.end.isTouching(i.start)){e.end=i.end;n.splice(t,1);t--}}return n}class fy extends uy{execute(t=null){const e=t?this._stack.findIndex(e=>e.batch==t):this._stack.length-1;const n=this._stack.splice(e,1)[0];const i=this.editor.model.createBatch(\"transparent\");this.editor.model.enqueueChange(i,()=>{this._undo(n.batch,i);const t=this.editor.model.document.history.getOperations(n.batch.baseVersion);this._restoreSelection(n.selection.ranges,n.selection.isBackward,t);this.fire(\"revert\",n.batch,i)});this.refresh()}}class my extends uy{execute(){const t=this._stack.pop();const e=this.editor.model.createBatch(\"transparent\");this.editor.model.enqueueChange(e,()=>{const n=t.batch.operations[t.batch.operations.length-1];const i=n.baseVersion+1;const o=this.editor.model.document.history.getOperations(i);this._restoreSelection(t.selection.ranges,t.selection.isBackward,o);this._undo(t.batch,e)});this.refresh()}}class gy extends db{static get pluginName(){return\"UndoEditing\"}constructor(t){super(t);this._batchRegistry=new WeakSet}init(){const t=this.editor;this._undoCommand=new fy(t);this._redoCommand=new my(t);t.commands.add(\"undo\",this._undoCommand);t.commands.add(\"redo\",this._redoCommand);this.listenTo(t.model,\"applyOperation\",(t,e)=>{const n=e[0];if(!n.isDocumentOperation){return}const i=n.batch;const o=this._redoCommand._createdBatches.has(i);const s=this._undoCommand._createdBatches.has(i);const r=this._batchRegistry.has(i);if(r||i.type==\"transparent\"&&!o&&!s){return}else{if(o){this._undoCommand.addBatch(i)}else if(!s){this._undoCommand.addBatch(i);this._redoCommand.clearStack()}}this._batchRegistry.add(i)},{priority:\"highest\"});this.listenTo(this._undoCommand,\"revert\",(t,e,n)=>{this._redoCommand.addBatch(n)});t.keystrokes.set(\"CTRL+Z\",\"undo\");t.keystrokes.set(\"CTRL+Y\",\"redo\");t.keystrokes.set(\"CTRL+SHIFT+Z\",\"redo\")}}var py='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.042 9.367l2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z\"/></svg>';var by='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M14.958 9.367l-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z\"/></svg>';class wy extends db{init(){const t=this.editor;const e=t.locale;const n=t.t;const i=e.uiLanguageDirection==\"ltr\"?py:by;const o=e.uiLanguageDirection==\"ltr\"?by:py;this._addButton(\"undo\",n(\"ce\"),\"CTRL+Z\",i);this._addButton(\"redo\",n(\"cf\"),\"CTRL+Y\",o)}_addButton(t,e,n,i){const o=this.editor;o.ui.componentFactory.add(t,s=>{const r=o.commands.get(t);const a=new Sp(s);a.set({label:e,icon:i,keystroke:n,tooltip:true});a.bind(\"isEnabled\").to(r,\"isEnabled\");this.listenTo(a,\"execute\",()=>o.execute(t));return a})}}class _y extends db{static get requires(){return[gy,wy]}static get pluginName(){return\"Undo\"}}const vy=/^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w.-]+)+[\\w\\-._~:/?#[\\]@!$&'()*+,;=]+$/;class ky extends db{static get requires(){return[Jx,_y]}static get pluginName(){return\"AutoMediaEmbed\"}constructor(t){super(t);this._timeoutId=null;this._positionToInsert=null}init(){const t=this.editor;const e=t.model.document;this.listenTo(t.plugins.get(Jx),\"inputTransformation\",()=>{const t=e.selection.getFirstRange();const n=gm.fromPosition(t.start);n.stickiness=\"toPrevious\";const i=gm.fromPosition(t.end);i.stickiness=\"toNext\";e.once(\"change:data\",()=>{this._embedMediaBetweenPositions(n,i);n.detach();i.detach()},{priority:\"high\"})});t.commands.get(\"undo\").on(\"execute\",()=>{if(this._timeoutId){ol.window.clearTimeout(this._timeoutId);this._positionToInsert.detach();this._timeoutId=null;this._positionToInsert=null}},{priority:\"high\"})}_embedMediaBetweenPositions(t,e){const n=this.editor;const i=n.plugins.get(Fx).registry;const o=new Du(t,e);const s=o.getWalker({ignoreElementEnd:true});let r=\"\";for(const t of s){if(t.item.is(\"textProxy\")){r+=t.item.data}}r=r.trim();if(!r.match(vy)){return}if(!i.hasMedia(r)){return}const a=n.commands.get(\"mediaEmbed\");if(!a.isEnabled){return}this._positionToInsert=gm.fromPosition(t);this._timeoutId=ol.window.setTimeout(()=>{n.model.change(t=>{this._timeoutId=null;t.remove(o);let e;if(this._positionToInsert.root.rootName!==\"$graveyard\"){e=this._positionToInsert}Nx(n.model,r,e);this._positionToInsert.detach();this._positionToInsert=null})},100)}}var xy=n(82);class yy extends Qg{constructor(t,e){super(e);const n=e.t;this.focusTracker=new rg;this.keystrokes=new qm;this.urlInputView=this._createUrlInput();this.saveButtonView=this._createButton(n(\"bz\"),Hw,\"ck-button-save\");this.saveButtonView.type=\"submit\";this.cancelButtonView=this._createButton(n(\"ca\"),Uw,\"ck-button-cancel\",\"cancel\");this._focusables=new xg;this._focusCycler=new dp({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"shift + tab\",focusNext:\"tab\"}});this._validators=t;this.setTemplate({tag:\"form\",attributes:{class:[\"ck\",\"ck-media-form\"],tabindex:\"-1\"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render();Fw({view:this});const t=[this.urlInputView,this.saveButtonView,this.cancelButtonView];t.forEach(t=>{this._focusables.add(t);this.focusTracker.add(t.element)});this.keystrokes.listenTo(this.element);const e=t=>t.stopPropagation();this.keystrokes.set(\"arrowright\",e);this.keystrokes.set(\"arrowleft\",e);this.keystrokes.set(\"arrowup\",e);this.keystrokes.set(\"arrowdown\",e);this.listenTo(this.urlInputView.element,\"selectstart\",(t,e)=>{e.stopPropagation()},{priority:\"high\"})}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.inputView.element.value.trim()}set url(t){this.urlInputView.inputView.element.value=t.trim()}isValid(){this.resetFormStatus();for(const t of this._validators){const e=t(this);if(e){this.urlInputView.errorText=e;return false}}return true}resetFormStatus(){this.urlInputView.errorText=null;this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const t=this.locale.t;const e=new zw(this.locale,Vw);const n=e.inputView;this._urlInputViewInfoDefault=t(\"cg\");this._urlInputViewInfoTip=t(\"ch\");e.label=t(\"ci\");e.infoText=this._urlInputViewInfoDefault;n.placeholder=\"https://example.com\";n.on(\"input\",()=>{e.infoText=n.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault});return e}_createButton(t,e,n,i){const o=new Sp(this.locale);o.set({label:t,icon:e,tooltip:true});o.extendTemplate({attributes:{class:n}});if(i){o.delegate(\"execute\").to(this,i)}return o}}var Ay='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M18.68 2.53c.6 0 .59-.03.59.55v12.84c0 .59.01.56-.59.56H1.29c-.6 0-.59.03-.59-.56V3.08c0-.58-.01-.55.6-.55h17.38zM15.77 14.5v-10H4.2v10h11.57zM2 4v1h1V4H2zm0 2v1h1V6H2zm0 2v1h1V8H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zM17 4v1h1V4h-1zm0 2v1h1V6h-1zm0 2v1h1V8h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zM7.5 6.677a.4.4 0 0 1 .593-.351l5.133 2.824a.4.4 0 0 1 0 .7l-5.133 2.824a.4.4 0 0 1-.593-.35V6.676z\"/></svg>';class Cy extends db{static get requires(){return[Fx]}static get pluginName(){return\"MediaEmbedUI\"}init(){const t=this.editor;const e=t.commands.get(\"mediaEmbed\");const n=t.plugins.get(Fx).registry;this.form=new yy(Ty(t.t,n),t.locale);t.ui.componentFactory.add(\"mediaEmbed\",n=>{const i=Hp(n);this._setUpDropdown(i,this.form,e,t);this._setUpForm(this.form,i,e);return i})}_setUpDropdown(t,e,n){const i=this.editor;const o=i.t;const s=t.buttonView;t.bind(\"isEnabled\").to(n);t.panelView.children.add(e);s.set({label:o(\"q\"),icon:Ay,tooltip:true});s.on(\"open\",()=>{e.url=n.value||\"\";e.urlInputView.select();e.focus()},{priority:\"low\"});t.on(\"submit\",()=>{if(e.isValid()){i.execute(\"mediaEmbed\",e.url);r()}});t.on(\"change:isOpen\",()=>e.resetFormStatus());t.on(\"cancel\",()=>r());function r(){i.editing.view.focus();t.isOpen=false}}_setUpForm(t,e,n){t.delegate(\"submit\",\"cancel\").to(e);t.urlInputView.bind(\"value\").to(n,\"value\");t.urlInputView.bind(\"isReadOnly\").to(n,\"isEnabled\",t=>!t);t.saveButtonView.bind(\"isEnabled\").to(n)}}function Ty(t,e){return[e=>{if(!e.url.length){return t(\"r\")}},n=>{if(!e.hasMedia(n.url)){return t(\"s\")}}]}var My=n(84);class Ey extends db{static get requires(){return[Fx,Cy,ky,Pw]}static get pluginName(){return\"MediaEmbed\"}}function Py(t,e){for(const n of t.getChildren()){if(n.is(\"b\")&&n.getStyle(\"font-weight\")===\"normal\"){const i=t.getChildIndex(n);e.remove(n);e.insertChild(i,n.getChildren(),t)}}}class Sy{createDocumentFragment(t){return new pc(t)}createElement(t,e,n){return new Dr(t,e,n)}createText(t){return new Tr(t)}clone(t,e=false){return t._clone(e)}appendChild(t,e){return e._appendChild(t)}insertChild(t,e,n){return n._insertChild(t,e)}removeChildren(t,e,n){return n._removeChildren(t,e)}remove(t){const e=t.parent;if(e){return this.removeChildren(e.getChildIndex(t),1,e)}return[]}replace(t,e){const n=t.parent;if(n){const i=n.getChildIndex(t);this.removeChildren(i,1,n);this.insertChild(i,e,n);return true}return false}unwrapElement(t){const e=t.parent;if(e){const n=e.getChildIndex(t);this.remove(t);this.insertChild(n,t.getChildren(),e)}}rename(t,e){const n=new Dr(t,e.getAttributes(),e.getChildren());return this.replace(e,n)?n:null}setAttribute(t,e,n){n._setAttribute(t,e)}removeAttribute(t,e){e._removeAttribute(t)}addClass(t,e){e._addClass(t)}removeClass(t,e){e._removeClass(t)}setStyle(t,e,n){if(L(t)&&n===undefined){n=e}n._setStyle(t,e)}removeStyle(t,e){e._removeStyle(t)}setCustomProperty(t,e,n){n._setCustomProperty(t,e)}removeCustomProperty(t,e){return e._removeCustomProperty(t)}createPositionAt(t,e){return Ra._createAt(t,e)}createPositionAfter(t){return Ra._createAfter(t)}createPositionBefore(t){return Ra._createBefore(t)}createRange(t,e){return new Da(t,e)}createRangeOn(t){return Da._createOn(t)}createRangeIn(t){return Da._createIn(t)}createSelection(t,e,n){return new Ba(t,e,n)}}function Iy(t,e){if(!t.childCount){return}const n=new Sy;const i=Ny(t,n);if(!i.length){return}let o=null;i.forEach((t,s)=>{if(!o||By(i[s-1],t)){const i=Ly(t,e);o=Ry(i,t.element,n)}const r=Dy(t.element,n);n.appendChild(r,o)})}function Oy(t,e){for(const n of e.createRangeIn(t)){const t=n.item;if(t.is(\"li\")){const n=t.getChild(0);if(n.is(\"p\")){e.unwrapElement(n)}}}}function Ny(t,e){const n=e.createRangeIn(t);const i=new Sr({name:/^p|h\\d+$/,styles:{\"mso-list\":/.*/}});const o=[];for(const t of n){if(t.type===\"elementStart\"&&i.match(t.item)){const e=jy(t.item);o.push({element:t.item,id:e.id,order:e.order,indent:e.indent})}}return o}function Ly(t,e){const n=new RegExp(`@list l${t.id}:level${t.indent}\\\\s*({[^}]*)`,\"gi\");const i=/mso-level-number-format:([^;]*);/gi;const o=n.exec(e);let s=\"decimal\";if(o&&o[1]){const t=i.exec(o[1]);if(t&&t[1]){s=t[1].trim()}}return{type:s!==\"bullet\"&&s!==\"image\"?\"ol\":\"ul\",style:s}}function Ry(t,e,n){const i=new Dr(t.type);const o=e.parent.getChildIndex(e);n.insertChild(o,i,e.parent);return i}function Dy(t,e){zy(t,e);return e.rename(\"li\",t)}function jy(t){const e={};const n=t.getStyle(\"mso-list\");if(n){const t=n.match(/(^|\\s+)l(\\d+)/i);const i=n.match(/\\s*lfo(\\d+)/i);const o=n.match(/\\s*level(\\d+)/i);if(t&&i&&o){e.id=t[2];e.order=i[1];e.indent=o[1]}}return e}function zy(t,e){const n=new Sr({name:\"span\",styles:{\"mso-list\":\"Ignore\"}});const i=e.createRangeIn(t);for(const t of i){if(t.type===\"elementStart\"&&n.match(t.item)){e.remove(t.item)}}}function By(t,e){if(t.id!==e.id){return true}const n=e.element.previousSibling;if(!n){return true}return!Vy(n)}function Vy(t){return t.is(\"ol\")||t.is(\"ul\")}const Fy=/id=(\"|')docs-internal-guid-[-0-9a-f]+(\"|')/i;class Hy{isActive(t){return Fy.test(t)}execute(t){const e=new Sy;Py(t.content,e);Oy(t.content,e)}}function Uy(t){return $y($y(t)).replace(/(<span\\s+style=['\"]mso-spacerun:yes['\"]>[\\s]*?)[\\r\\n]+(\\s*<\\/span>)/g,\"$1$2\").replace(/<span\\s+style=['\"]mso-spacerun:yes['\"]><\\/span>/g,\"\").replace(/ <\\//g,\" </\").replace(/ <o:p><\\/o:p>/g,\" <o:p></o:p>\").replace(/<o:p>(&nbsp;|\\u00A0)<\\/o:p>/g,\"\").replace(/>(\\s*[\\r\\n]\\s*)</g,\"><\")}function Wy(t){t.querySelectorAll(\"span[style*=spacerun]\").forEach(t=>{const e=t.childNodes&&t.childNodes[0]&&t.childNodes[0].data&&t.childNodes[0].data.length||0;t.innerHTML=Array(e+1).join(\"  \").substr(0,e)})}function $y(t){return t.replace(/<span(?: class=\"Apple-converted-space\"|)>(\\s+)<\\/span>/g,(t,e)=>e.length===1?\" \":Array(e.length+1).join(\"  \").substr(0,e.length))}function Yy(t){const e=new DOMParser;t=t.replace(/<!--\\[if gte vml 1]>/g,\"\");const n=Uy(Ky(t));const i=e.parseFromString(n,\"text/html\");Wy(i);const o=i.body.innerHTML;const s=qy(i);const r=Gy(i);return{body:s,bodyString:o,styles:r.styles,stylesString:r.stylesString}}function qy(t){const e=new ll({blockFillerMode:\"nbsp\"});const n=t.createDocumentFragment();const i=t.body.childNodes;while(i.length>0){n.appendChild(i[0])}return e.domToView(n)}function Gy(t){const e=[];const n=[];const i=Array.from(t.getElementsByTagName(\"style\"));for(const t of i){if(t.sheet&&t.sheet.cssRules&&t.sheet.cssRules.length){e.push(t.sheet);n.push(t.innerHTML)}}return{styles:e,stylesString:n.join(\" \")}}function Ky(t){const e=/<\\/body>(.*?)(<\\/html>|$)/;const n=t.match(e);if(n&&n[1]){t=t.slice(0,n.index)+t.slice(n.index).replace(n[1],\"\")}return t}function Jy(t,e){if(!t.childCount){return}const n=new Sy;const i=Qy(t,n);Zy(i,t,n);tA(t,n);const o=eA(t,n);if(o.length){iA(o,nA(e),n)}}function Xy(t){return btoa(t.match(/\\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(\"\"))}function Qy(t,e){const n=e.createRangeIn(t);const i=new Sr({name:/v:(.+)/});const o=[];for(const t of n){const e=t.item;const n=e.previousSibling&&e.previousSibling.name||null;if(i.match(e)&&e.getAttribute(\"o:gfxdata\")&&n!==\"v:shapetype\"){o.push(t.item.getAttribute(\"id\"))}}return o}function Zy(t,e,n){const i=n.createRangeIn(e);const o=new Sr({name:\"img\"});const s=[];for(const e of i){if(o.match(e.item)){const n=e.item;const i=n.getAttribute(\"v:shapes\")?n.getAttribute(\"v:shapes\").split(\" \"):[];if(i.length&&i.every(e=>t.indexOf(e)>-1)){s.push(n)}else if(!n.getAttribute(\"src\")){s.push(n)}}}for(const t of s){n.remove(t)}}function tA(t,e){const n=e.createRangeIn(t);const i=new Sr({name:/v:(.+)/});const o=[];for(const t of n){if(i.match(t.item)){o.push(t.item)}}for(const t of o){e.remove(t)}}function eA(t,e){const n=e.createRangeIn(t);const i=new Sr({name:\"img\"});const o=[];for(const t of n){if(i.match(t.item)){if(t.item.getAttribute(\"src\").startsWith(\"file://\")){o.push(t.item)}}}return o}function nA(t){if(!t){return[]}const e=/{\\\\pict[\\s\\S]+?\\\\bliptag-?\\d+(\\\\blipupi-?\\d+)?({\\\\\\*\\\\blipuid\\s?[\\da-fA-F]+)?[\\s}]*?/;const n=new RegExp(\"(?:(\"+e.source+\"))([\\\\da-fA-F\\\\s]+)\\\\}\",\"g\");const i=t.match(n);const o=[];if(i){for(const t of i){let n=false;if(t.includes(\"\\\\pngblip\")){n=\"image/png\"}else if(t.includes(\"\\\\jpegblip\")){n=\"image/jpeg\"}if(n){o.push({hex:t.replace(e,\"\").replace(/[^\\da-fA-F]/g,\"\"),type:n})}}}return o}function iA(t,e,n){if(t.length===e.length){for(let i=0;i<t.length;i++){const o=`data:${e[i].type};base64,${Xy(e[i].hex)}`;n.setAttribute(\"src\",o,t[i])}}}const oA=/<meta\\s*name=\"?generator\"?\\s*content=\"?microsoft\\s*word\\s*\\d+\"?\\/?>/i;const sA=/xmlns:o=\"urn:schemas-microsoft-com/i;class rA{isActive(t){return oA.test(t)||sA.test(t)}execute(t){const{body:e,stylesString:n}=Yy(t.dataTransfer.getData(\"text/html\"));Iy(e,n);Jy(e,t.dataTransfer.getData(\"text/rtf\"));t.content=e}}class aA extends db{static get pluginName(){return\"PasteFromOffice\"}static get requires(){return[Jx]}init(){const t=this.editor;const e=[];e.push(new rA);e.push(new Hy);t.plugins.get(\"Clipboard\").on(\"inputTransformation\",(t,n)=>{if(n.isTransformedWithPasteFromOffice){return}const i=n.dataTransfer.getData(\"text/html\");const o=e.find(t=>t.isActive(i));if(o){o.execute(n);n.isTransformedWithPasteFromOffice=true}},{priority:\"high\"})}}function cA(t,e){let n=e.parent;while(n){if(n.name===t){return n}n=n.parent}}function lA(t,e,n,i,o=1){if(e>o){i.setAttribute(t,e,n)}else{i.removeAttribute(t,n)}}function dA(t,e,n={}){const i=t.createElement(\"tableCell\",n);t.insertElement(\"paragraph\",i);t.insert(i,e)}function uA(){return t=>{t.on(\"element:table\",(t,e,n)=>{const i=e.viewItem;if(!n.consumable.test(i,{name:true})){return}const{rows:o,headingRows:s,headingColumns:r}=fA(i);const a={};if(r){a.headingColumns=r}if(s){a.headingRows=s}const c=n.writer.createElement(\"table\",a);const l=n.splitToAllowedParent(c,e.modelCursor);if(!l){return}n.writer.insert(c,l.position);n.consumable.consume(i,{name:true});if(o.length){o.forEach(t=>n.convertItem(t,n.writer.createPositionAt(c,\"end\")))}else{const t=n.writer.createElement(\"tableRow\");n.writer.insert(t,n.writer.createPositionAt(c,\"end\"));dA(n.writer,n.writer.createPositionAt(t,\"end\"))}e.modelRange=n.writer.createRange(n.writer.createPositionBefore(c),n.writer.createPositionAfter(c));if(l.cursorParent){e.modelCursor=n.writer.createPositionAt(l.cursorParent,0)}else{e.modelCursor=e.modelRange.end}})}}function hA(t){return e=>{e.on(`element:${t}`,(t,e,n)=>{const i=e.viewItem;if(!n.consumable.test(i,{name:true})){return}const o=n.writer.createElement(\"tableCell\");const s=n.splitToAllowedParent(o,e.modelCursor);if(!s){return}n.writer.insert(o,s.position);n.consumable.consume(i,{name:true});const r=n.writer.createPositionAt(o,0);n.convertChildren(i,r);if(!o.childCount){n.writer.insertElement(\"paragraph\",r)}e.modelRange=n.writer.createRange(n.writer.createPositionBefore(o),n.writer.createPositionAfter(o));e.modelCursor=e.modelRange.end})}}function fA(t){const e={headingRows:0,headingColumns:0};const n=[];const i=[];let o;for(const s of Array.from(t.getChildren())){if(s.name===\"tbody\"||s.name===\"thead\"||s.name===\"tfoot\"){if(s.name===\"thead\"&&!o){o=s}const t=Array.from(s.getChildren()).filter(t=>t.is(\"element\",\"tr\"));for(const s of t){if(s.parent.name===\"thead\"&&s.parent===o){e.headingRows++;n.push(s)}else{i.push(s);const t=mA(s,e,o);if(t>e.headingColumns){e.headingColumns=t}}}}}e.rows=[...n,...i];return e}function mA(t){let e=0;let n=0;const i=Array.from(t.getChildren()).filter(t=>t.name===\"th\"||t.name===\"td\");while(n<i.length&&i[n].name===\"th\"){const t=i[n];const o=parseInt(t.getAttribute(\"colspan\")||1);e=e+o;n++}return e}class gA{constructor(t,e={}){this.table=t;this.startRow=e.startRow||0;this.endRow=typeof e.endRow==\"number\"?e.endRow:undefined;this.includeSpanned=!!e.includeSpanned;this.column=typeof e.column==\"number\"?e.column:undefined;this._skipRows=new Set;this._row=0;this._column=0;this._cellIndex=0;this._spannedCells=new Map;this._nextCellAtColumn=-1}[Symbol.iterator](){return this}next(){const t=this.table.getChild(this._row);if(!t||this._isOverEndRow()){return{done:true}}let e,n,i;if(this._isSpanned(this._row,this._column)){e=this._getSpanned(this._row,this._column);n=!this.includeSpanned||this._shouldSkipRow()||this._shouldSkipColumn();i=this._formatOutValue(e,this._column,true)}else{e=t.getChild(this._cellIndex);if(!e){this._row++;this._column=0;this._cellIndex=0;this._nextCellAtColumn=-1;return this.next()}const o=parseInt(e.getAttribute(\"colspan\")||1);const s=parseInt(e.getAttribute(\"rowspan\")||1);if(o>1||s>1){this._recordSpans(this._row,this._column,s,o,e)}this._nextCellAtColumn=this._column+o;n=this._shouldSkipRow()||this._shouldSkipColumn();i=this._formatOutValue(e,this._column,false,s,o)}this._column++;if(this._column==this._nextCellAtColumn){this._cellIndex++}return n?this.next():i}skipRow(t){this._skipRows.add(t)}_isOverEndRow(){return this.endRow!==undefined&&this._row>this.endRow}_formatOutValue(t,e,n,i=1,o=1){return{done:false,value:{cell:t,row:this._row,column:e,isSpanned:n,rowspan:i,colspan:o,cellIndex:this._cellIndex}}}_shouldSkipRow(){const t=this._row<this.startRow;const e=this._skipRows.has(this._row);return t||e}_shouldSkipColumn(){if(this.column===undefined){return false}return this.column!=this._column}_isSpanned(t,e){if(!this._spannedCells.has(t)){return false}const n=this._spannedCells.get(t);return n.has(e)}_getSpanned(t,e){return this._spannedCells.get(t).get(e)}_recordSpans(t,e,n,i,o){for(let n=e+1;n<=e+i-1;n++){this._markSpannedCell(t,n,o)}for(let s=t+1;s<t+n;s++){for(let t=e;t<=e+i-1;t++){this._markSpannedCell(s,t,o)}}}_markSpannedCell(t,e,n){if(!this._spannedCells.has(t)){this._spannedCells.set(t,new Map)}const i=this._spannedCells.get(t);i.set(e,n)}}function pA(t,e){e.setCustomProperty(\"table\",true,t);return ow(t,e,{hasSelectionHandle:true})}function bA(t){return!!t.getCustomProperty(\"table\")&&iw(t)}function wA(t){const e=t.getSelectedElement();if(e&&bA(e)){return e}return null}function _A(t){const e=cA(\"table\",t.getFirstPosition());if(e&&bA(e.parent)){return e.parent}return null}function vA(t={}){return e=>e.on(\"insert:table\",(e,n,i)=>{const o=n.item;if(!i.consumable.consume(o,\"insert\")){return}i.consumable.consume(o,\"attribute:headingRows:table\");i.consumable.consume(o,\"attribute:headingColumns:table\");const s=t&&t.asWidget;const r=i.writer.createContainerElement(\"figure\",{class:\"table\"});const a=i.writer.createContainerElement(\"table\");i.writer.insert(i.writer.createPositionAt(r,0),a);let c;if(s){c=pA(r,i.writer)}const l=new gA(o);const d={headingRows:o.getAttribute(\"headingRows\")||0,headingColumns:o.getAttribute(\"headingColumns\")||0};const u=new Map;for(const e of l){const{row:n,cell:s}=e;const r=OA(IA(n,d),a,i);const c=o.getChild(n);const l=u.get(n)||PA(c,n,r,i);u.set(n,l);i.consumable.consume(s,\"insert\");const h=i.writer.createPositionAt(l,\"end\");EA(e,d,h,i,t)}const h=i.mapper.toViewPosition(n.range.start);i.mapper.bindElements(o,s?c:r);i.writer.insert(h,s?c:r)})}function kA(t={}){return e=>e.on(\"insert:tableRow\",(e,n,i)=>{const o=n.item;if(!i.consumable.consume(o,\"insert\")){return}const s=o.parent;const r=i.mapper.toViewElement(s);const a=jA(r);const c=s.getChildIndex(o);const l=new gA(s,{startRow:c,endRow:c});const d={headingRows:s.getAttribute(\"headingRows\")||0,headingColumns:s.getAttribute(\"headingColumns\")||0};const u=new Map;for(const e of l){const n=OA(IA(c,d),a,i);const s=u.get(c)||PA(o,c,n,i);u.set(c,s);i.consumable.consume(e.cell,\"insert\");const r=i.writer.createPositionAt(s,\"end\");EA(e,d,r,i,t)}})}function xA(t={}){return e=>e.on(\"insert:tableCell\",(e,n,i)=>{const o=n.item;if(!i.consumable.consume(o,\"insert\")){return}const s=o.parent;const r=s.parent;const a=r.getChildIndex(s);const c=new gA(r,{startRow:a,endRow:a});const l={headingRows:r.getAttribute(\"headingRows\")||0,headingColumns:r.getAttribute(\"headingColumns\")||0};for(const e of c){if(e.cell===o){const n=i.mapper.toViewElement(s);const r=i.writer.createPositionAt(n,s.getChildIndex(o));EA(e,l,r,i,t);return}}})}function yA(t={}){const e=!!t.asWidget;return t=>t.on(\"attribute:headingRows:table\",(t,n,i)=>{const o=n.item;if(!i.consumable.consume(n.item,t.name)){return}const s=i.mapper.toViewElement(o);const r=jA(s);const a=n.attributeOldValue;const c=n.attributeNewValue;if(c>a){const t=Array.from(o.getChildren()).filter(({index:t})=>l(t,a-1,c));const n=OA(\"thead\",r,i);DA(t,n,i,\"end\");for(const n of t){for(const t of n.getChildren()){TA(t,\"th\",i,e)}}RA(\"tbody\",r,i)}else{const t=Array.from(o.getChildren()).filter(({index:t})=>l(t,c-1,a)).reverse();const n=OA(\"tbody\",r,i);DA(t,n,i,0);const s=new gA(o,{startRow:c?c-1:c,endRow:a-1});const d={headingRows:o.getAttribute(\"headingRows\")||0,headingColumns:o.getAttribute(\"headingColumns\")||0};for(const t of s){MA(t,d,i,e)}RA(\"thead\",r,i)}function l(t,e,n){return t>e&&t<n}})}function AA(t={}){const e=!!t.asWidget;return t=>t.on(\"attribute:headingColumns:table\",(t,n,i)=>{const o=n.item;if(!i.consumable.consume(n.item,t.name)){return}const s={headingRows:o.getAttribute(\"headingRows\")||0,headingColumns:o.getAttribute(\"headingColumns\")||0};const r=n.attributeOldValue;const a=n.attributeNewValue;const c=(r>a?r:a)-1;for(const t of new gA(o)){if(t.column>c){continue}MA(t,s,i,e)}})}function CA(){return t=>t.on(\"remove:tableRow\",(t,e,n)=>{t.stop();const i=n.writer;const o=n.mapper;const s=o.toViewPosition(e.position).getLastMatchingPosition(t=>!t.item.is(\"tr\"));const r=s.nodeAfter;const a=r.parent;const c=i.createRangeOn(r);const l=i.remove(c);for(const t of i.createRangeIn(l).getItems()){o.unbindViewElement(t)}if(!a.childCount){i.remove(i.createRangeOn(a))}},{priority:\"higher\"})}function TA(t,e,n,i){const o=n.writer;const s=n.mapper.toViewElement(t);if(!s){return}let r;if(i){const t=o.createEditableElement(e,s.getAttributes());r=cw(t,o);o.insert(o.createPositionAfter(s),r);o.move(o.createRangeIn(s),o.createPositionAt(r,0));o.remove(o.createRangeOn(s))}else{r=o.rename(e,s)}n.mapper.unbindViewElement(s);n.mapper.bindElements(t,r)}function MA(t,e,n,i){const{cell:o}=t;const s=SA(t,e);const r=n.mapper.toViewElement(o);if(r&&r.name!==s){TA(o,s,n,i)}}function EA(t,e,n,i,o){const s=o&&o.asWidget;const r=SA(t,e);const a=s?cw(i.writer.createEditableElement(r),i.writer):i.writer.createContainerElement(r);const c=t.cell;const l=c.getChild(0);const d=c.childCount===1&&l.name===\"paragraph\";i.writer.insert(n,a);if(d&&!zA(l)){const t=c.getChild(0);const e=i.writer.createPositionAt(a,\"end\");i.consumable.consume(t,\"insert\");if(o.asWidget){const n=i.writer.createContainerElement(\"span\");i.mapper.bindElements(t,n);i.writer.insert(e,n);i.mapper.bindElements(c,a)}else{i.mapper.bindElements(c,a);i.mapper.bindElements(t,a)}}else{i.mapper.bindElements(c,a)}}function PA(t,e,n,i){i.consumable.consume(t,\"insert\");const o=i.writer.createContainerElement(\"tr\");i.mapper.bindElements(t,o);const s=t.parent.getAttribute(\"headingRows\")||0;const r=s>0&&e>=s?e-s:e;const a=i.writer.createPositionAt(n,r);i.writer.insert(a,o);return o}function SA(t,e){const{row:n,column:i}=t;const{headingColumns:o,headingRows:s}=e;const r=s&&s>n;if(r){return\"th\"}const a=o&&o>i;return a?\"th\":\"td\"}function IA(t,e){return t<e.headingRows?\"thead\":\"tbody\"}function OA(t,e,n){const i=NA(t,e);return i?i:LA(t,e,n)}function NA(t,e){for(const n of e.getChildren()){if(n.name==t){return n}}}function LA(t,e,n){const i=n.writer.createContainerElement(t);const o=n.writer.createPositionAt(e,t==\"tbody\"?\"end\":0);n.writer.insert(o,i);return i}function RA(t,e,n){const i=NA(t,e);if(i&&i.childCount===0){n.writer.remove(n.writer.createRangeOn(i))}}function DA(t,e,n,i){for(const o of t){const t=n.mapper.toViewElement(o);if(t){n.writer.move(n.writer.createRangeOn(t),n.writer.createPositionAt(e,i))}}}function jA(t){for(const e of t.getChildren()){if(e.name===\"table\"){return e}}}function zA(t){return!![...t.getAttributeKeys()].length}class BA extends fb{refresh(){const t=this.editor.model;const e=t.document.selection;const n=t.schema;const i=VA(e.getFirstPosition());this.isEnabled=n.checkChild(i,\"table\")}execute(t={}){const e=this.editor.model;const n=e.document.selection;const i=this.editor.plugins.get(\"TableUtils\");const o=parseInt(t.rows)||2;const s=parseInt(t.columns)||2;const r=lw(n,e);e.change(t=>{const n=i.createTable(t,o,s);e.insertContent(n,r);t.setSelection(t.createPositionAt(n.getNodeByPath([0,0,0]),0))})}}function VA(t){const e=t.parent;return e===e.root?e:e.parent}class FA extends fb{constructor(t,e={}){super(t);this.order=e.order||\"below\"}refresh(){const t=this.editor.model.document.selection;const e=cA(\"table\",t.getFirstPosition());this.isEnabled=!!e}execute(){const t=this.editor;const e=t.model.document.selection;const n=t.plugins.get(\"TableUtils\");const i=cA(\"tableCell\",e.getFirstPosition());const o=i.parent;const s=o.parent;const r=s.getChildIndex(o);const a=this.order===\"below\"?r+1:r;n.insertRows(s,{rows:1,at:a})}}class HA extends fb{constructor(t,e={}){super(t);this.order=e.order||\"right\"}refresh(){const t=this.editor.model.document.selection;const e=cA(\"table\",t.getFirstPosition());this.isEnabled=!!e}execute(){const t=this.editor;const e=t.model.document.selection;const n=t.plugins.get(\"TableUtils\");const i=e.getFirstPosition();const o=cA(\"tableCell\",i);const s=o.parent.parent;const{column:r}=n.getCellLocation(o);const a=this.order===\"right\"?r+1:r;n.insertColumns(s,{columns:1,at:a})}}class UA extends fb{constructor(t,e={}){super(t);this.direction=e.direction||\"horizontally\"}refresh(){const t=this.editor.model;const e=t.document;const n=cA(\"tableCell\",e.selection.getFirstPosition());this.isEnabled=!!n}execute(){const t=this.editor.model;const e=t.document;const n=e.selection;const i=n.getFirstPosition();const o=cA(\"tableCell\",i);const s=this.direction===\"horizontally\";const r=this.editor.plugins.get(\"TableUtils\");if(s){r.splitCellHorizontally(o,2)}else{r.splitCellVertically(o,2)}}}class WA extends fb{constructor(t,e){super(t);this.direction=e.direction;this.isHorizontal=this.direction==\"right\"||this.direction==\"left\"}refresh(){const t=this._getMergeableCell();this.value=t;this.isEnabled=!!t}execute(){const t=this.editor.model;const e=t.document;const n=cA(\"tableCell\",e.selection.getFirstPosition());const i=this.value;const o=this.direction;t.change(t=>{const e=o==\"right\"||o==\"down\";const s=e?n:i;const r=e?i:n;const a=r.parent;GA(r,s,t);const c=this.isHorizontal?\"colspan\":\"rowspan\";const l=parseInt(n.getAttribute(c)||1);const d=parseInt(i.getAttribute(c)||1);t.setAttribute(c,l+d,s);t.setSelection(t.createRangeIn(s));if(!a.childCount){qA(a,t)}})}_getMergeableCell(){const t=this.editor.model;const e=t.document;const n=cA(\"tableCell\",e.selection.getFirstPosition());if(!n){return}const i=this.editor.plugins.get(\"TableUtils\");const o=this.isHorizontal?$A(n,this.direction,i):YA(n,this.direction);if(!o){return}const s=this.isHorizontal?\"rowspan\":\"colspan\";const r=parseInt(n.getAttribute(s)||1);const a=parseInt(o.getAttribute(s)||1);if(a===r){return o}}}function $A(t,e,n){const i=t.parent;const o=i.parent;const s=e==\"right\"?t.nextSibling:t.previousSibling;const r=o.getAttribute(\"headingColumns\")||0;if(!s){return}const a=e==\"right\"?t:s;const c=e==\"right\"?s:t;const{column:l}=n.getCellLocation(a);const{column:d}=n.getCellLocation(c);const u=parseInt(a.getAttribute(\"colspan\")||1);const h=parseInt(c.getAttribute(\"colspan\")||1);const f=e==\"right\"&&d+h>r;const m=e==\"left\"&&l+u>r-1;if(r&&(f||m)){return}const g=l+u===d;return g?s:undefined}function YA(t,e){const n=t.parent;const i=n.parent;const o=i.getChildIndex(n);if(e==\"down\"&&o===i.childCount-1||e==\"up\"&&o===0){return}const s=parseInt(t.getAttribute(\"rowspan\")||1);const r=i.getAttribute(\"headingRows\")||0;const a=e==\"down\"&&o+s===r;const c=e==\"up\"&&o===r;if(r&&(a||c)){return}const l=parseInt(t.getAttribute(\"rowspan\")||1);const d=e==\"down\"?o+l:o;const u=[...new gA(i,{endRow:d})];const h=u.find(e=>e.cell===t);const f=h.column;const m=u.find(({row:t,rowspan:n,column:i})=>{if(i!==f){return false}if(e==\"down\"){return t===d}else{return d===t+n}});return m&&m.cell}function qA(t,e){const n=t.parent;const i=n.getChildIndex(t);for(const{cell:t,row:o,rowspan:s}of new gA(n,{endRow:i})){const n=o+s-1>=i;if(n){lA(\"rowspan\",s-1,t,e)}}e.remove(t)}function GA(t,e,n){if(!KA(t)){if(KA(e)){n.remove(n.createRangeIn(e))}n.move(n.createRangeIn(t),n.createPositionAt(e,\"end\"))}n.remove(t)}function KA(t){return t.childCount==1&&t.getChild(0).is(\"paragraph\")&&t.getChild(0).isEmpty}class JA extends fb{refresh(){const t=this.editor.model;const e=t.document;const n=cA(\"tableCell\",e.selection.getFirstPosition());this.isEnabled=!!n&&n.parent.parent.childCount>1}execute(){const t=this.editor.model;const e=t.document.selection;const n=e.getFirstPosition();const i=cA(\"tableCell\",n);const o=i.parent;const s=o.parent;const r=s.getChildIndex(o);const a=s.getAttribute(\"headingRows\")||0;t.change(t=>{if(a&&r<=a){lA(\"headingRows\",a-1,s,t,0)}const e=[...new gA(s,{endRow:r})];const n=new Map;e.filter(({row:t,rowspan:e})=>t===r&&e>1).forEach(({column:t,cell:e,rowspan:i})=>n.set(t,{cell:e,rowspanToSet:i-1}));e.filter(({row:t,rowspan:e})=>t<=r-1&&t+e>r).forEach(({cell:e,rowspan:n})=>lA(\"rowspan\",n-1,e,t));const i=r+1;const c=new gA(s,{includeSpanned:true,startRow:i,endRow:i});let l;for(const{row:e,column:i,cell:o}of[...c]){if(n.has(i)){const{cell:o,rowspanToSet:r}=n.get(i);const a=l?t.createPositionAfter(l):t.createPositionAt(s.getChild(e),0);t.move(t.createRangeOn(o),a);lA(\"rowspan\",r,o,t);l=o}else{l=o}}t.remove(o)})}}class XA extends fb{refresh(){const t=this.editor;const e=t.model.document.selection;const n=t.plugins.get(\"TableUtils\");const i=cA(\"tableCell\",e.getFirstPosition());this.isEnabled=!!i&&n.getColumns(i.parent.parent)>1}execute(){const t=this.editor.model;const e=t.document.selection;const n=e.getFirstPosition();const i=cA(\"tableCell\",n);const o=i.parent;const s=o.parent;const r=s.getAttribute(\"headingColumns\")||0;const a=s.getChildIndex(o);const c=[...new gA(s)];const l=c.find(t=>t.cell===i);const d=l.column;t.change(t=>{if(r&&a<=r){t.setAttribute(\"headingColumns\",r-1,s)}for(const{cell:e,column:n,colspan:i}of c){if(n<=d&&i>1&&n+i>d){lA(\"colspan\",i-1,e,t)}else if(n===d){t.remove(e)}}})}}class QA extends fb{refresh(){const t=this.editor.model;const e=t.document;const n=e.selection;const i=n.getFirstPosition();const o=cA(\"tableCell\",i);const s=!!o;this.isEnabled=s;this.value=s&&this._isInHeading(o,o.parent.parent)}execute(t={}){const e=this.editor.model;const n=e.document;const i=n.selection;const o=i.getFirstPosition();const s=cA(\"tableCell\",o);const r=s.parent;const a=r.parent;const c=a.getAttribute(\"headingRows\")||0;const l=r.index;if(t.forceValue===this.value){return}const d=this.value?l:l+1;e.change(t=>{if(d){const e=ZA(a,d,c);for(const n of e){tC(n,d,t)}}lA(\"headingRows\",d,a,t,0)})}_isInHeading(t,e){const n=parseInt(e.getAttribute(\"headingRows\")||0);return!!n&&t.parent.index<n}}function ZA(t,e,n){const i=[];const o=e>n?n:0;const s=e-1;const r=new gA(t,{startRow:o,endRow:s});for(const{row:t,rowspan:n,cell:o}of r){if(n>1&&t+n>e){i.push(o)}}return i}function tC(t,e,n){const i=t.parent;const o=i.parent;const s=i.index;const r=parseInt(t.getAttribute(\"rowspan\"));const a=e-s;const c={};const l=r-a;if(l>1){c.rowspan=l}const d=parseInt(t.getAttribute(\"colspan\")||1);if(d>1){c.colspan=d}const u=o.getChildIndex(i);const h=u+a;const f=[...new gA(o,{startRow:u,endRow:h,includeSpanned:true})];let m;for(const{row:e,column:i,cell:s,cellIndex:r}of f){if(s===t&&m===undefined){m=i}if(m!==undefined&&m===i&&e===h){const t=o.getChild(e);const i=n.createPositionAt(t,r);dA(n,i,c)}}lA(\"rowspan\",a,t,n)}class eC extends fb{refresh(){const t=this.editor.model;const e=t.document;const n=e.selection;const i=n.getFirstPosition();const o=cA(\"tableCell\",i);const s=!!o;this.isEnabled=s;this.value=s&&this._isInHeading(o,o.parent.parent)}execute(t={}){const e=this.editor.model;const n=e.document;const i=n.selection;const o=this.editor.plugins.get(\"TableUtils\");const s=i.getFirstPosition();const r=cA(\"tableCell\",s);const a=r.parent;const c=a.parent;const{column:l}=o.getCellLocation(r);if(t.forceValue===this.value){return}const d=this.value?l:l+1;e.change(t=>{lA(\"headingColumns\",d,c,t,0)})}_isInHeading(t,e){const n=parseInt(e.getAttribute(\"headingColumns\")||0);const i=this.editor.plugins.get(\"TableUtils\");const{column:o}=i.getCellLocation(t);return!!n&&o<n}}class nC extends db{static get pluginName(){return\"TableUtils\"}getCellLocation(t){const e=t.parent;const n=e.parent;const i=n.getChildIndex(e);const o=new gA(n,{startRow:i,endRow:i});for(const{cell:e,row:n,column:i}of o){if(e===t){return{row:n,column:i}}}}createTable(t,e,n){const i=t.createElement(\"table\");iC(t,i,0,e,n);return i}insertRows(t,e={}){const n=this.editor.model;const i=e.at||0;const o=e.rows||1;n.change(e=>{const n=t.getAttribute(\"headingRows\")||0;if(n>i){e.setAttribute(\"headingRows\",n+o,t)}if(i===0||i===t.childCount){iC(e,t,i,o,this.getColumns(t));return}const s=new gA(t,{endRow:i});let r=0;for(const{row:t,rowspan:n,colspan:a,cell:c}of s){const s=t<i;const l=t+n>i;if(s&&l){e.setAttribute(\"rowspan\",n+o,c)}if(t===i){r+=a}}iC(e,t,i,o,r)})}insertColumns(t,e={}){const n=this.editor.model;const i=e.at||0;const o=e.columns||1;n.change(e=>{const n=t.getAttribute(\"headingColumns\");if(i<n){e.setAttribute(\"headingColumns\",n+o,t)}const s=this.getColumns(t);if(i===0||s===i){for(const n of t.getChildren()){oC(o,e,e.createPositionAt(n,i?\"end\":0))}return}const r=new gA(t,{column:i,includeSpanned:true});for(const{row:n,cell:s,cellIndex:a}of r){const c=parseInt(s.getAttribute(\"rowspan\")||1);const l=parseInt(s.getAttribute(\"colspan\")||1);if(s.index!==i&&l>1){e.setAttribute(\"colspan\",l+o,s);r.skipRow(n);if(c>1){for(let t=n+1;t<n+c;t++){r.skipRow(t)}}}else{const i=e.createPositionAt(t.getChild(n),a);oC(o,e,i)}}})}splitCellVertically(t,e=2){const n=this.editor.model;const i=t.parent;const o=i.parent;const s=parseInt(t.getAttribute(\"rowspan\")||1);const r=parseInt(t.getAttribute(\"colspan\")||1);n.change(n=>{if(r>1){const{newCellsSpan:i,updatedSpan:o}=sC(r,e);lA(\"colspan\",o,t,n);const a={};if(i>1){a.colspan=i}if(s>1){a.rowspan=s}const c=r>e?e-1:r-1;oC(c,n,n.createPositionAfter(t),a)}if(r<e){const i=e-r;const a=[...new gA(o)];const{column:c}=a.find(({cell:e})=>e===t);const l=a.filter(({cell:e,colspan:n,column:i})=>{const o=e!==t&&i===c;const s=i<c&&i+n>c;return o||s});for(const{cell:t,colspan:e}of l){n.setAttribute(\"colspan\",e+i,t)}const d={};if(s>1){d.rowspan=s}oC(i,n,n.createPositionAfter(t),d);const u=o.getAttribute(\"headingColumns\")||0;if(u>c){lA(\"headingColumns\",u+i,o,n)}}})}splitCellHorizontally(t,e=2){const n=this.editor.model;const i=t.parent;const o=i.parent;const s=o.getChildIndex(i);const r=parseInt(t.getAttribute(\"rowspan\")||1);const a=parseInt(t.getAttribute(\"colspan\")||1);n.change(n=>{if(r>1){const i=[...new gA(o,{startRow:s,endRow:s+r-1,includeSpanned:true})];const{newCellsSpan:c,updatedSpan:l}=sC(r,e);lA(\"rowspan\",l,t,n);const{column:d}=i.find(({cell:e})=>e===t);const u={};if(c>1){u.rowspan=c}if(a>1){u.colspan=a}for(const{column:t,row:e,cellIndex:r}of i){const i=e>=s+l;const a=t===d;const h=(e+s+l)%c===0;if(i&&a&&h){const t=n.createPositionAt(o.getChild(e),r);oC(1,n,t,u)}}}if(r<e){const i=e-r;const c=[...new gA(o,{startRow:0,endRow:s})];for(const{cell:e,rowspan:o,row:r}of c){if(e!==t&&r+o>s){const t=o+i;n.setAttribute(\"rowspan\",t,e)}}const l={};if(a>1){l.colspan=a}iC(n,o,s+1,i,1,l);const d=o.getAttribute(\"headingRows\")||0;if(d>s){lA(\"headingRows\",d+i,o,n)}}})}getColumns(t){const e=t.getChild(0);return[...e.getChildren()].reduce((t,e)=>{const n=parseInt(e.getAttribute(\"colspan\")||1);return t+n},0)}}function iC(t,e,n,i,o,s={}){for(let r=0;r<i;r++){const i=t.createElement(\"tableRow\");t.insert(i,e,n);oC(o,t,t.createPositionAt(i,\"end\"),s)}}function oC(t,e,n,i={}){for(let o=0;o<t;o++){dA(e,n,i)}}function sC(t,e){if(t<e){return{newCellsSpan:1,updatedSpan:1}}const n=Math.floor(t/e);const i=t-n*e+n;return{newCellsSpan:n,updatedSpan:i}}function rC(t){t.document.registerPostFixer(e=>aC(e,t))}function aC(t,e){const n=e.document.differ.getChanges();let i=false;const o=new Set;for(const e of n){let n;if(e.name==\"table\"&&e.type==\"insert\"){n=e.position.nodeAfter}if(e.name==\"tableRow\"||e.name==\"tableCell\"){n=cA(\"table\",e.position)}if(hC(e)){n=cA(\"table\",e.range.start)}if(n&&!o.has(n)){i=cC(n,t)||i;i=lC(n,t)||i;o.add(n)}}return i}function cC(t,e){let n=false;const i=dC(t);if(i.length){n=true;for(const t of i){lA(\"rowspan\",t.rowspan,t.cell,e,1)}}return n}function lC(t,e){let n=false;const i=uC(t);const o=i[0];const s=Object.values(i).every(t=>t===o);if(!s){const o=Object.values(i).reduce((t,e)=>e>t?e:t,0);for(const[s,r]of Object.entries(i)){const i=o-r;if(i){for(let n=0;n<i;n++){dA(e,e.createPositionAt(t.getChild(s),\"end\"))}n=true}}}return n}function dC(t){const e=parseInt(t.getAttribute(\"headingRows\")||0);const n=t.childCount;const i=[];for(const{row:o,rowspan:s,cell:r}of new gA(t)){if(s<2){continue}const t=o<e;const a=t?e:n;if(o+s>a){const t=a-o;i.push({cell:r,rowspan:t})}}return i}function uC(t){const e={};for(const{row:n}of new gA(t,{includeSpanned:true})){if(!e[n]){e[n]=0}e[n]+=1}return e}function hC(t){const e=t.type===\"attribute\";const n=t.attributeKey;return e&&(n===\"headingRows\"||n===\"colspan\"||n===\"rowspan\")}function fC(t){t.document.registerPostFixer(e=>mC(e,t))}function mC(t,e){const n=e.document.differ.getChanges();let i=false;for(const e of n){if(e.type==\"insert\"&&e.name==\"table\"){i=gC(e.position.nodeAfter,t)||i}if(e.type==\"insert\"&&e.name==\"tableRow\"){i=pC(e.position.nodeAfter,t)||i}if(e.type==\"insert\"&&e.name==\"tableCell\"){i=bC(e.position.nodeAfter,t)||i}if(wC(e)){i=bC(e.position.parent,t)||i}}return i}function gC(t,e){let n=false;for(const i of t.getChildren()){n=pC(i,e)||n}return n}function pC(t,e){let n=false;for(const i of t.getChildren()){n=bC(i,e)||n}return n}function bC(t,e){if(t.childCount==0){e.insertElement(\"paragraph\",t);return true}const n=Array.from(t.getChildren()).filter(t=>t.is(\"text\"));for(const t of n){e.wrap(e.createRangeOn(t),\"paragraph\")}return!!n.length}function wC(t){if(!t.position||!t.position.parent.is(\"tableCell\")){return false}return t.type==\"insert\"&&t.name==\"$text\"||t.type==\"remove\"}function _C(t){t.document.registerPostFixer(()=>vC(t))}function vC(t){const e=t.document.differ;const n=new Set;for(const t of e.getChanges()){const e=t.type==\"insert\"||t.type==\"remove\"?t.position.parent:t.range.start.parent;if(e.is(\"tableCell\")&&kC(e,t.type)){n.add(e)}}if(n.size){for(const t of n.values()){e.refreshItem(t)}return true}return false}function kC(t,e){const n=Array.from(t.getChildren()).some(t=>t.is(\"paragraph\"));if(!n){return false}if(e==\"attribute\"){const e=Array.from(t.getChild(0).getAttributeKeys()).length;return t.childCount===1&&e<2}return t.childCount<=(e==\"insert\"?2:1)}var xC=n(86);class yC extends db{static get pluginName(){return\"TableEditing\"}init(){const t=this.editor;const e=t.model;const n=e.schema;const i=t.conversion;n.register(\"table\",{allowWhere:\"$block\",allowAttributes:[\"headingRows\",\"headingColumns\"],isLimit:true,isObject:true,isBlock:true});n.register(\"tableRow\",{allowIn:\"table\",isLimit:true});n.register(\"tableCell\",{allowIn:\"tableRow\",allowAttributes:[\"colspan\",\"rowspan\"],isLimit:true});n.extend(\"$block\",{allowIn:\"tableCell\"});n.addChildCheck((t,e)=>{if(e.name==\"table\"&&Array.from(t.getNames()).includes(\"table\")){return false}});i.for(\"upcast\").add(uA());i.for(\"editingDowncast\").add(vA({asWidget:true}));i.for(\"dataDowncast\").add(vA());i.for(\"upcast\").elementToElement({model:\"tableRow\",view:\"tr\"});i.for(\"editingDowncast\").add(kA({asWidget:true}));i.for(\"dataDowncast\").add(kA());i.for(\"downcast\").add(CA());i.for(\"upcast\").add(hA(\"td\"));i.for(\"upcast\").add(hA(\"th\"));i.for(\"editingDowncast\").add(xA({asWidget:true}));i.for(\"dataDowncast\").add(xA());i.attributeToAttribute({model:\"colspan\",view:\"colspan\"});i.attributeToAttribute({model:\"rowspan\",view:\"rowspan\"});i.for(\"editingDowncast\").add(AA({asWidget:true}));i.for(\"dataDowncast\").add(AA());i.for(\"editingDowncast\").add(yA({asWidget:true}));i.for(\"dataDowncast\").add(yA());t.commands.add(\"insertTable\",new BA(t));t.commands.add(\"insertTableRowAbove\",new FA(t,{order:\"above\"}));t.commands.add(\"insertTableRowBelow\",new FA(t,{order:\"below\"}));t.commands.add(\"insertTableColumnLeft\",new HA(t,{order:\"left\"}));t.commands.add(\"insertTableColumnRight\",new HA(t,{order:\"right\"}));t.commands.add(\"removeTableRow\",new JA(t));t.commands.add(\"removeTableColumn\",new XA(t));t.commands.add(\"splitTableCellVertically\",new UA(t,{direction:\"vertically\"}));t.commands.add(\"splitTableCellHorizontally\",new UA(t,{direction:\"horizontally\"}));t.commands.add(\"mergeTableCellRight\",new WA(t,{direction:\"right\"}));t.commands.add(\"mergeTableCellLeft\",new WA(t,{direction:\"left\"}));t.commands.add(\"mergeTableCellDown\",new WA(t,{direction:\"down\"}));t.commands.add(\"mergeTableCellUp\",new WA(t,{direction:\"up\"}));t.commands.add(\"setTableColumnHeader\",new eC(t));t.commands.add(\"setTableRowHeader\",new QA(t));rC(e);_C(e);fC(e);this.editor.keystrokes.set(\"Tab\",(...t)=>this._handleTabOnSelectedTable(...t),{priority:\"low\"});this.editor.keystrokes.set(\"Tab\",this._getTabHandler(true),{priority:\"low\"});this.editor.keystrokes.set(\"Shift+Tab\",this._getTabHandler(false),{priority:\"low\"})}static get requires(){return[nC]}_handleTabOnSelectedTable(t,e){const n=this.editor;const i=n.model.document.selection;if(!i.isCollapsed&&i.rangeCount===1&&i.getFirstRange().isFlat){const t=i.getSelectedElement();if(!t||!t.is(\"table\")){return}e();n.model.change(e=>{e.setSelection(e.createRangeIn(t.getChild(0).getChild(0)))})}}_getTabHandler(t){const e=this.editor;return(n,i)=>{const o=e.model.document.selection;const s=o.getFirstPosition();const r=cA(\"tableCell\",s);if(!r){return}i();const a=r.parent;const c=a.parent;const l=c.getChildIndex(a);const d=a.getChildIndex(r);const u=d===0;if(!t&&u&&l===0){return}const h=d===a.childCount-1;const f=l===c.childCount-1;if(t&&f&&h){e.execute(\"insertTableRowBelow\");if(l===c.childCount-1){return}}let m;if(t&&h){const t=c.getChild(l+1);m=t.getChild(0)}else if(!t&&u){const t=c.getChild(l-1);m=t.getChild(t.childCount-1)}else{m=a.getChild(d+(t?1:-1))}e.model.change(t=>{t.setSelection(t.createRangeIn(m))})}}}var AC=n(88);class CC extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.items=this.createCollection();this.set(\"rows\",0);this.set(\"columns\",0);this.bind(\"label\").to(this,\"columns\",this,\"rows\",(t,e)=>`${e} × ${t}`);this.setTemplate({tag:\"div\",attributes:{class:[\"ck\"]},children:[{tag:\"div\",attributes:{class:[\"ck-insert-table-dropdown__grid\"]},children:this.items},{tag:\"div\",attributes:{class:[\"ck-insert-table-dropdown__label\"]},children:[{text:e.to(\"label\")}]}],on:{mousedown:e.to(t=>{t.preventDefault()}),click:e.to(()=>{this.fire(\"execute\")})}});for(let t=0;t<100;t++){const e=new TC;e.on(\"over\",()=>{const e=Math.floor(t/10);const n=t%10;this.set(\"rows\",e+1);this.set(\"columns\",n+1)});this.items.add(e)}this.on(\"change:columns\",()=>{this._highlightGridBoxes()});this.on(\"change:rows\",()=>{this._highlightGridBoxes()})}focus(){}focusLast(){}_highlightGridBoxes(){const t=this.rows;const e=this.columns;this.items.map((n,i)=>{const o=Math.floor(i/10);const s=i%10;const r=o<t&&s<e;n.set(\"isOn\",r)})}}class TC extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.set(\"isOn\",false);this.setTemplate({tag:\"div\",attributes:{class:[\"ck-insert-table-dropdown-grid-box\",e.if(\"isOn\",\"ck-on\")]},on:{mouseover:e.to(\"over\")}})}}var MC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z\"/></svg>';var EC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z\" opacity=\".6\"/><path d=\"M18 7v1H2V7h16zm0 5v1H2v-1h16z\" opacity=\".6\"/><path d=\"M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z\"/></svg>';var PC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z\" opacity=\".6\"/><path d=\"M7 2h1v16H7V2zm5 0h1v16h-1V2z\" opacity=\".6\"/><path d=\"M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z\"/></svg>';var SC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z\" opacity=\".6\"/><path d=\"M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z\" opacity=\".6\"/><path d=\"M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z\"/></svg>';class IC extends db{init(){const t=this.editor;const e=this.editor.t;const n=t.locale.contentLanguageDirection;const i=n===\"ltr\";t.ui.componentFactory.add(\"insertTable\",n=>{const i=t.commands.get(\"insertTable\");const o=Hp(n);o.bind(\"isEnabled\").to(i);o.buttonView.set({icon:MC,label:e(\"df\"),tooltip:true});const s=new CC(n);o.panelView.children.add(s);s.delegate(\"execute\").to(o);o.buttonView.on(\"open\",()=>{s.rows=0;s.columns=0});o.on(\"execute\",()=>{t.execute(\"insertTable\",{rows:s.rows,columns:s.columns});t.editing.view.focus()});return o});t.ui.componentFactory.add(\"tableColumn\",t=>{const n=[{type:\"switchbutton\",model:{commandName:\"setTableColumnHeader\",label:e(\"dg\"),bindIsOn:true}},{type:\"separator\"},{type:\"button\",model:{commandName:i?\"insertTableColumnLeft\":\"insertTableColumnRight\",label:e(\"dh\")}},{type:\"button\",model:{commandName:i?\"insertTableColumnRight\":\"insertTableColumnLeft\",label:e(\"di\")}},{type:\"button\",model:{commandName:\"removeTableColumn\",label:e(\"dj\")}}];return this._prepareDropdown(e(\"dk\"),EC,n,t)});t.ui.componentFactory.add(\"tableRow\",t=>{const n=[{type:\"switchbutton\",model:{commandName:\"setTableRowHeader\",label:e(\"dl\"),bindIsOn:true}},{type:\"separator\"},{type:\"button\",model:{commandName:\"insertTableRowBelow\",label:e(\"dm\")}},{type:\"button\",model:{commandName:\"insertTableRowAbove\",label:e(\"dn\")}},{type:\"button\",model:{commandName:\"removeTableRow\",label:e(\"do\")}}];return this._prepareDropdown(e(\"dp\"),PC,n,t)});t.ui.componentFactory.add(\"mergeTableCells\",t=>{const n=[{type:\"button\",model:{commandName:\"mergeTableCellUp\",label:e(\"dq\")}},{type:\"button\",model:{commandName:i?\"mergeTableCellRight\":\"mergeTableCellLeft\",label:e(\"dr\")}},{type:\"button\",model:{commandName:\"mergeTableCellDown\",label:e(\"ds\")}},{type:\"button\",model:{commandName:i?\"mergeTableCellLeft\":\"mergeTableCellRight\",label:e(\"dt\")}},{type:\"separator\"},{type:\"button\",model:{commandName:\"splitTableCellVertically\",label:e(\"du\")}},{type:\"button\",model:{commandName:\"splitTableCellHorizontally\",label:e(\"dv\")}}];return this._prepareDropdown(e(\"dw\"),SC,n,t)})}_prepareDropdown(t,e,n,i){const o=this.editor;const s=Hp(i);const r=[];const a=new Fa;for(const t of n){OC(t,o,r,a)}Wp(s,a);s.buttonView.set({label:t,icon:e,tooltip:true});s.bind(\"isEnabled\").toMany(r,\"isEnabled\",(...t)=>t.some(t=>t));this.listenTo(s,\"execute\",t=>{o.execute(t.source.commandName);o.editing.view.focus()});return s}}function OC(t,e,n,i){const o=t.model=new Fb(t.model);const{commandName:s,bindIsOn:r}=t.model;if(t.type!==\"separator\"){const t=e.commands.get(s);n.push(t);o.set({commandName:s});o.bind(\"isEnabled\").to(t);if(r){o.bind(\"isOn\").to(t,\"value\")}}o.set({withText:true});i.add(t)}var NC=n(90);class LC extends db{static get requires(){return[yC,IC,Pw]}static get pluginName(){return\"Table\"}}class RC extends db{static get requires(){return[U_]}static get pluginName(){return\"TableToolbar\"}afterInit(){const t=this.editor;const e=t.t;const n=t.plugins.get(U_);const i=t.config.get(\"table.contentToolbar\");const o=t.config.get(\"table.tableToolbar\");if(i){n.register(\"tableContent\",{ariaLabel:e(\"e\"),items:i,getRelatedElement:_A})}if(o){n.register(\"table\",{ariaLabel:e(\"e\"),items:o,getRelatedElement:wA})}}}const DC=[\"left\",\"right\",\"center\",\"justify\"];function jC(t){return DC.includes(t)}function zC(t,e){if(e.contentLanguageDirection==\"rtl\"){return t===\"right\"}else{return t===\"left\"}}const BC=\"alignment\";class VC extends fb{refresh(){const t=this.editor;const e=t.locale;const n=gb(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=!!n&&this._canBeAligned(n);if(this.isEnabled&&n.hasAttribute(\"alignment\")){this.value=n.getAttribute(\"alignment\")}else{this.value=e.contentLanguageDirection===\"rtl\"?\"right\":\"left\"}}execute(t={}){const e=this.editor;const n=e.locale;const i=e.model;const o=i.document;const s=t.value;i.change(t=>{const e=Array.from(o.selection.getSelectedBlocks()).filter(t=>this._canBeAligned(t));const i=e[0].getAttribute(\"alignment\");const r=zC(s,n)||i===s||!s;if(r){FC(e,t)}else{HC(e,t,s)}})}_canBeAligned(t){return this.editor.model.schema.checkAttribute(t,BC)}}function FC(t,e){for(const n of t){e.removeAttribute(BC,n)}}function HC(t,e,n){for(const i of t){e.setAttribute(BC,n,i)}}class UC extends db{static get pluginName(){return\"AlignmentEditing\"}constructor(t){super(t);t.config.define(\"alignment\",{options:[...DC]})}init(){const t=this.editor;const e=t.locale;const n=t.model.schema;const i=t.config.get(\"alignment.options\").filter(jC);n.extend(\"$block\",{allowAttributes:\"alignment\"});t.model.schema.setAttributeProperties(\"alignment\",{isFormatting:true});const o=WC(i.filter(t=>!zC(t,e)));t.conversion.attributeToAttribute(o);t.commands.add(\"alignment\",new VC(t))}}function WC(t){const e={model:{key:\"alignment\",values:t.slice()},view:{}};for(const n of t){e.view[n]={key:\"style\",value:{\"text-align\":n}}}return e}var $C='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z\"/></svg>';var YC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z\"/></svg>';var qC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z\"/></svg>';var GC='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z\"/></svg>';const KC=new Map([[\"left\",$C],[\"right\",YC],[\"center\",qC],[\"justify\",GC]]);class JC extends db{get localizedOptionTitles(){const t=this.editor.t;return{left:t(\"cz\"),right:t(\"da\"),center:t(\"db\"),justify:t(\"dc\")}}static get pluginName(){return\"AlignmentUI\"}init(){const t=this.editor;const e=t.ui.componentFactory;const n=t.t;const i=t.config.get(\"alignment.options\");i.filter(jC).forEach(t=>this._addButton(t));e.add(\"alignment\",t=>{const o=Hp(t);const s=i.map(t=>e.create(`alignment:${t}`));Up(o,s);o.buttonView.set({label:n(\"dd\"),tooltip:true});o.toolbarView.isVertical=true;o.toolbarView.ariaLabel=n(\"de\");o.extendTemplate({attributes:{class:\"ck-alignment-dropdown\"}});const r=t.contentLanguageDirection===\"rtl\"?YC:$C;o.buttonView.bind(\"icon\").toMany(s,\"isOn\",(...t)=>{const e=t.findIndex(t=>t);if(e<0){return r}return s[e].icon});o.bind(\"isEnabled\").toMany(s,\"isEnabled\",(...t)=>t.some(t=>t));return o})}_addButton(t){const e=this.editor;e.ui.componentFactory.add(`alignment:${t}`,n=>{const i=e.commands.get(\"alignment\");const o=new Sp(n);o.set({label:this.localizedOptionTitles[t],icon:KC.get(t),tooltip:true,isToggleable:true});o.bind(\"isEnabled\").to(i);o.bind(\"isOn\").to(i,\"value\",e=>e===t);this.listenTo(o,\"execute\",()=>{e.execute(\"alignment\",{value:t});e.editing.view.focus()});return o})}}class XC extends db{static get requires(){return[UC,JC]}static get pluginName(){return\"Alignment\"}}const QC=\"code\";class ZC extends db{static get pluginName(){return\"CodeEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:QC});t.model.schema.setAttributeProperties(QC,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:QC,view:\"code\",upcastAlso:{styles:{\"word-wrap\":\"break-word\"}}});t.commands.add(QC,new Cb(t,QC))}}var tT='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.5 5.7l5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z\"/></svg>';var eT=n(14);const nT=\"code\";class iT extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(nT,n=>{const i=t.commands.get(nT);const o=new Sp(n);o.set({label:e(\"v\"),icon:tT,tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(nT));return o})}}class oT extends db{static get requires(){return[ZC,iT]}static get pluginName(){return\"Code\"}}function*sT(t,e){for(const n of e){if(n&&t.getAttributeProperties(n[0]).copyOnEnter){yield n}}}class rT extends fb{execute(){const t=this.editor.model;const e=t.document;t.change(n=>{cT(t,n,e.selection);this.fire(\"afterExecute\",{writer:n})})}refresh(){const t=this.editor.model;const e=t.document;this.isEnabled=aT(t.schema,e.selection)}}function aT(t,e){if(e.rangeCount>1){return false}const n=e.anchor;if(!n||!t.checkChild(n,\"softBreak\")){return false}const i=e.getFirstRange();const o=i.start.parent;const s=i.end.parent;if((dT(o,t)||dT(s,t))&&o!==s){return false}return true}function cT(t,e,n){const i=n.isCollapsed;const o=n.getFirstRange();const s=o.start.parent;const r=o.end.parent;const a=s==r;if(i){const i=sT(t.schema,n.getAttributes());lT(e,o.end);e.removeSelectionAttribute(n.getAttributeKeys());e.setSelectionAttribute(i)}else{const i=!(o.start.isAtStart&&o.end.isAtEnd);t.deleteContent(n,{leaveUnmerged:i});if(a){lT(e,n.focus)}else{if(i){e.setSelection(r,0)}}}}function lT(t,e){const n=t.createElement(\"softBreak\");t.insert(n,e);t.setSelection(n,\"after\")}function dT(t,e){if(t.is(\"rootElement\")){return false}return e.isLimit(t)||dT(t.parent,e)}class uT extends _l{constructor(t){super(t);const e=this.document;e.on(\"keydown\",(t,n)=>{if(this.isEnabled&&n.keyCode==rc.enter){let i;e.once(\"enter\",t=>i=t,{priority:\"highest\"});e.fire(\"enter\",new vd(e,n.domEvent,{isSoft:n.shiftKey}));if(i&&i.stop.called){t.stop()}}})}observe(){}}class hT extends db{static get pluginName(){return\"ShiftEnter\"}init(){const t=this.editor;const e=t.model.schema;const n=t.conversion;const i=t.editing.view;const o=i.document;e.register(\"softBreak\",{allowWhere:\"$text\",isInline:true});n.for(\"upcast\").elementToElement({model:\"softBreak\",view:\"br\"});n.for(\"downcast\").elementToElement({model:\"softBreak\",view:(t,e)=>e.createEmptyElement(\"br\")});i.addObserver(uT);t.commands.add(\"shiftEnter\",new rT(t));this.listenTo(o,\"enter\",(e,n)=>{n.preventDefault();if(!n.isSoft){return}t.execute(\"shiftEnter\");i.scrollToTheSelection()},{priority:\"low\"})}}function fT(t){const e=t.t;const n=t.config.get(\"codeBlock.languages\");for(const t of n){if(t.label===\"Plain text\"){t.label=e(\"dx\")}if(t.class===undefined){t.class=`language-${t.language}`}}return n}function mT(t,e,n){return Object.assign({},...t.map(t=>({[t[e]]:t[n]})))}function gT(t){return t.data.match(/^(\\s*)/)[0]}function pT(t,e){const n=t.createDocumentFragment();const i=e.split(\"\\n\").map(e=>t.createText(e));const o=i[i.length-1];for(const e of i){t.append(e,n);if(e!==o){t.appendElement(\"softBreak\",n)}}return n}function bT(t){const e=t.document.selection;const n=[];if(e.isCollapsed){n.push(e.anchor)}else{const i=e.getFirstRange().getWalker({ignoreElementEnd:true,direction:\"backward\"});for(const{item:e}of i){if(e.is(\"textProxy\")&&e.parent.is(\"codeBlock\")){const i=gT(e.textNode);const{parent:o,startOffset:s}=e.textNode;const r=t.createPositionAt(o,s+i.length);n.push(r)}}}return n}function wT(t){const e=gb(t.getSelectedBlocks());return e&&e.is(\"codeBlock\")}class _T extends fb{refresh(){this.value=this._getValue();this.isEnabled=this._checkEnabled()}execute(t={}){const e=this.editor;const n=e.model;const i=n.document.selection;const o=fT(e);const s=o[0];const r=Array.from(i.getSelectedBlocks());const a=t.forceValue===undefined?!this.value:t.forceValue;const c=t.language||s.language;n.change(t=>{if(a){this._applyCodeBlock(t,r,c)}else{this._removeCodeBlock(t,r)}})}_getValue(){const t=this.editor.model.document.selection;const e=gb(t.getSelectedBlocks());const n=!!(e&&e.is(\"codeBlock\"));return n?e.getAttribute(\"language\"):false}_checkEnabled(){if(this.value){return true}const t=this.editor.model.document.selection;const e=this.editor.model.schema;const n=gb(t.getSelectedBlocks());if(!n){return false}return vT(e,n)}_applyCodeBlock(t,e,n){const i=this.editor.model.schema;const o=e.filter(t=>vT(i,t));for(const e of o){t.rename(e,\"codeBlock\");t.setAttribute(\"language\",n,e);i.removeDisallowedAttributes([e],t)}o.reverse().forEach((e,n)=>{const i=o[n+1];if(e.previousSibling===i){t.appendElement(\"softBreak\",i);t.merge(t.createPositionBefore(e))}})}_removeCodeBlock(t,e){const n=e.filter(t=>t.is(\"codeBlock\"));for(const e of n){const n=t.createRangeOn(e);for(const e of Array.from(n.getItems()).reverse()){if(e.is(\"softBreak\")&&e.parent.is(\"codeBlock\")){const{position:n}=t.split(t.createPositionBefore(e));t.rename(n.nodeAfter,\"paragraph\");t.removeAttribute(\"language\",n.nodeAfter);t.remove(e)}}t.rename(e,\"paragraph\");t.removeAttribute(\"language\",e)}}}function vT(t,e){if(e.is(\"rootElement\")||t.isLimit(e)){return false}return t.checkChild(e.parent,\"codeBlock\")}class kT extends fb{constructor(t){super(t);this._indentSequence=t.config.get(\"codeBlock.indentSequence\")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor;const e=t.model;e.change(t=>{const n=bT(e);for(const e of n){t.insertText(this._indentSequence,e)}})}_checkEnabled(){if(!this._indentSequence){return false}return wT(this.editor.model.document.selection)}}class xT extends fb{constructor(t){super(t);this._indentSequence=t.config.get(\"codeBlock.indentSequence\")}refresh(){this.isEnabled=this._checkEnabled()}execute(){const t=this.editor;const e=t.model;e.change(t=>{const n=bT(e);for(const e of n){const n=yT(this.editor.model,e,this._indentSequence);if(n){t.remove(n)}}})}_checkEnabled(){if(!this._indentSequence){return false}const t=this.editor.model;if(!wT(t.document.selection)){return false}return bT(t).some(e=>yT(t,e,this._indentSequence))}}function yT(t,e,n){const i=AT(e);if(!i){return null}const o=gT(i);const s=o.lastIndexOf(n);if(s+n.length!==o.length){return null}if(s===-1){return null}const{parent:r,startOffset:a}=i;return t.createRange(t.createPositionAt(r,a+s),t.createPositionAt(r,a+s+n.length))}function AT(t){let e=t.parent.getChild(t.index);if(!e||e.is(\"softBreak\")){e=t.nodeBefore}if(!e||e.is(\"softBreak\")){return null}return e}function CT(t,e,n=false){const i=mT(e,\"language\",\"class\");const o=mT(e,\"language\",\"label\");return(e,s,r)=>{const{writer:a,mapper:c,consumable:l}=r;if(!l.consume(s.item,\"insert\")){return}const d=s.item.getAttribute(\"language\");const u=c.toViewPosition(t.createPositionBefore(s.item));const h={};if(n){h[\"data-language\"]=o[d]}const f=a.createContainerElement(\"pre\",h);const m=a.createContainerElement(\"code\",{class:i[d]||null});a.insert(a.createPositionAt(f,0),m);a.insert(u,f);c.bindElements(s.item,m)}}function TT(t){return(e,n,i)=>{if(n.item.parent.name!==\"codeBlock\"){return}const{writer:o,mapper:s,consumable:r}=i;if(!r.consume(n.item,\"insert\")){return}const a=s.toViewPosition(t.createPositionBefore(n.item));o.insert(a,o.createText(\"\\n\"))}}function MT(t,e){const n=mT(e,\"class\",\"language\");const i=e[0].language;return(e,o,s)=>{const r=o.viewItem;const a=r.getChild(0);if(!a||!a.is(\"code\")){return}const{consumable:c,writer:l}=s;if(!c.test(r,{name:true})||!c.test(a,{name:true})){return}const d=l.createElement(\"codeBlock\");const u=[...a.getClassNames()];if(!u.length){u.push(\"\")}for(const t of u){const e=n[t];if(e){l.setAttribute(\"language\",e,d);break}}if(!d.hasAttribute(\"language\")){l.setAttribute(\"language\",i,d)}const h=t.processor.toData(a);const f=ET(h);const m=pT(l,f);l.append(m,d);const g=s.splitToAllowedParent(d,o.modelCursor);if(!g){return}l.insert(d,g.position);c.consume(r,{name:true});c.consume(a,{name:true});const p=s.getSplitParts(d);o.modelRange=l.createRange(s.writer.createPositionBefore(d),s.writer.createPositionAfter(p[p.length-1]));if(g.cursorParent){o.modelCursor=l.createPositionAt(g.cursorParent,0)}else{o.modelCursor=o.modelRange.end}}}function ET(t){const e=new RegExp(/^<code[^>]*>([\\S\\s]*)<\\/code>$/).exec(t)[1];return e.replace(/&lt;/g,\"<\").replace(/&gt;/g,\">\")}const PT=\"paragraph\";class ST extends db{static get pluginName(){return\"CodeBlockEditing\"}static get requires(){return[hT]}constructor(t){super(t);t.config.define(\"codeBlock\",{languages:[{language:\"plaintext\",label:\"Plain text\"},{language:\"c\",label:\"C\"},{language:\"cs\",label:\"C#\"},{language:\"cpp\",label:\"C++\"},{language:\"css\",label:\"CSS\"},{language:\"diff\",label:\"Diff\"},{language:\"xml\",label:\"HTML/XML\"},{language:\"java\",label:\"Java\"},{language:\"javascript\",label:\"JavaScript\"},{language:\"php\",label:\"PHP\"},{language:\"python\",label:\"Python\"},{language:\"ruby\",label:\"Ruby\"},{language:\"typescript\",label:\"TypeScript\"}],indentSequence:\"\\t\"})}init(){const t=this.editor;const e=t.model.schema;const n=t.model;const i=fT(t);t.commands.add(\"codeBlock\",new _T(t));t.commands.add(\"indentCodeBlock\",new kT(t));t.commands.add(\"outdentCodeBlock\",new xT(t));const o=t=>(e,n)=>{const i=this.editor.commands.get(t);if(i.isEnabled){this.editor.execute(t);n()}};t.keystrokes.set(\"Tab\",o(\"indentCodeBlock\"));t.keystrokes.set(\"Shift+Tab\",o(\"outdentCodeBlock\"));e.register(\"codeBlock\",{allowWhere:\"$block\",isBlock:true,allowAttributes:[\"language\"]});e.extend(\"$text\",{allowIn:\"codeBlock\"});e.addAttributeCheck(t=>{if(t.endsWith(\"codeBlock $text\")){return false}});t.editing.downcastDispatcher.on(\"insert:codeBlock\",CT(n,i,true));t.data.downcastDispatcher.on(\"insert:codeBlock\",CT(n,i));t.data.downcastDispatcher.on(\"insert:softBreak\",TT(n),{priority:\"high\"});t.data.upcastDispatcher.on(\"element:pre\",MT(t.data,i));this.listenTo(t.editing.view.document,\"clipboardInput\",(t,e)=>{const i=n.document.selection;if(!i.anchor.parent.is(\"codeBlock\")){return}const o=e.dataTransfer.getData(\"text/plain\");n.change(e=>{n.insertContent(pT(e,o),i);t.stop()})});this.listenTo(n,\"getSelectedContent\",(t,[i])=>{const o=i.anchor;if(i.isCollapsed||!o.parent.is(\"codeBlock\")||!o.hasSameParentAs(i.focus)){return}n.change(n=>{const s=t.return;if(s.childCount>1||i.containsEntireContent(o.parent)){const e=n.createElement(\"codeBlock\",o.parent.getAttributes());n.append(s,e);const i=n.createDocumentFragment();n.append(e,i);t.return=i}else{const t=s.getChild(0);if(e.checkAttribute(t,\"code\")){n.setAttribute(\"code\",true,t)}}})})}afterInit(){const t=this.editor;const e=t.commands;const n=e.get(\"indent\");const i=e.get(\"outdent\");if(n){n.registerChildCommand(e.get(\"indentCodeBlock\"))}if(i){i.registerChildCommand(e.get(\"outdentCodeBlock\"))}this.listenTo(t.editing.view.document,\"enter\",(e,n)=>{const i=t.model.document.selection.getLastPosition().parent;if(!i.is(\"codeBlock\")){return}OT(t,n.isSoft)||NT(t,n.isSoft)||IT(t);n.preventDefault();e.stop()})}}function IT(t){const e=t.model;const n=e.document;const i=n.selection.getLastPosition();const o=i.nodeBefore||i.textNode;let s;if(o&&o.is(\"text\")){s=gT(o)}t.model.change(e=>{t.execute(\"shiftEnter\");if(s){e.insertText(s,n.selection.anchor)}})}function OT(t,e){const n=t.model;const i=n.document;const o=t.editing.view;const s=i.selection.getLastPosition();const r=s.nodeAfter;if(e||!i.selection.isCollapsed||!s.isAtStart){return false}if(!r||!r.is(\"softBreak\")){return false}t.model.change(e=>{t.execute(\"enter\");const n=i.selection.anchor.parent.previousSibling;e.rename(n,PT);e.setSelection(n,\"in\");t.model.schema.removeDisallowedAttributes([n],e);e.remove(r)});o.scrollToTheSelection();return true}function NT(t,e){const n=t.model;const i=n.document;const o=t.editing.view;const s=i.selection.getLastPosition();const r=s.nodeBefore;let a;if(e||!i.selection.isCollapsed||!s.isAtEnd||!r){return false}if(r.is(\"softBreak\")){a=n.createRangeOn(r)}else if(r.is(\"text\")&&!r.data.match(/\\S/)&&r.previousSibling&&r.previousSibling.is(\"softBreak\")){a=n.createRange(n.createPositionBefore(r.previousSibling),n.createPositionAfter(r))}else{return false}t.model.change(e=>{e.remove(a);t.execute(\"enter\");const n=i.selection.anchor.parent;e.rename(n,PT);t.model.schema.removeDisallowedAttributes([n],e)});o.scrollToTheSelection();return true}var LT=n(93);class RT extends Qg{constructor(t){super(t);const e=this.bindTemplate;this.set(\"icon\");this.set(\"isEnabled\",true);this.set(\"isOn\",false);this.set(\"isToggleable\",false);this.set(\"isVisible\",true);this.set(\"keystroke\");this.set(\"label\");this.set(\"tabindex\",-1);this.set(\"tooltip\");this.set(\"tooltipPosition\",\"s\");this.set(\"type\",\"button\");this.set(\"withText\",false);this.children=this.createCollection();this.actionView=this._createActionView();this.arrowView=this._createArrowView();this.keystrokes=new qm;this.focusTracker=new rg;this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-splitbutton\",e.if(\"isVisible\",\"ck-hidden\",t=>!t),this.arrowView.bindTemplate.if(\"isOn\",\"ck-splitbutton_open\")]},children:this.children})}render(){super.render();this.children.add(this.actionView);this.children.add(this.arrowView);this.focusTracker.add(this.actionView.element);this.focusTracker.add(this.arrowView.element);this.keystrokes.listenTo(this.element);this.keystrokes.set(\"arrowright\",(t,e)=>{if(this.focusTracker.focusedElement===this.actionView.element){this.arrowView.focus();e()}});this.keystrokes.set(\"arrowleft\",(t,e)=>{if(this.focusTracker.focusedElement===this.arrowView.element){this.actionView.focus();e()}})}focus(){this.actionView.focus()}_createActionView(){const t=new Sp;t.bind(\"icon\",\"isEnabled\",\"isOn\",\"isToggleable\",\"keystroke\",\"label\",\"tabindex\",\"tooltip\",\"tooltipPosition\",\"type\",\"withText\").to(this);t.extendTemplate({attributes:{class:\"ck-splitbutton__action\"}});t.delegate(\"execute\").to(this);return t}_createArrowView(){const t=new Sp;const e=t.bindTemplate;t.icon=Ip;t.extendTemplate({attributes:{class:\"ck-splitbutton__arrow\",\"aria-haspopup\":true,\"aria-expanded\":e.to(\"isOn\",t=>String(t))}});t.bind(\"isEnabled\").to(this);t.delegate(\"execute\").to(this,\"open\");return t}}var DT='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.87 12.61a.75.75 0 01-.089.976l-.085.07-3.154 2.254 3.412 2.414a.75.75 0 01.237.95l-.057.095a.75.75 0 01-.95.237l-.096-.058-4.272-3.022-.003-1.223 4.01-2.867a.75.75 0 011.047.174zm2.795-.231l.095.057 4.011 2.867-.003 1.223-4.272 3.022-.095.058a.75.75 0 01-.88-.151l-.07-.086-.058-.095a.75.75 0 01.15-.88l.087-.07 3.412-2.414-3.154-2.253-.085-.071a.75.75 0 01.862-1.207zM16 0a2 2 0 012 2v9.354l-.663-.492-.837-.001V2a.5.5 0 00-.5-.5H2a.5.5 0 00-.5.5v15a.5.5 0 00.5.5h3.118L7.156 19H2a2 2 0 01-2-2V2a2 2 0 012-2h14zM5.009 15l.003 1H3v-1h2.009zm2.188-2l-1.471 1H5v-1h2.197zM10 11v.095L8.668 12H7v-1h3zm4-2v1H7V9h7zm0-2v1H7V7h7zm-4-2v1H5V5h5zM6 3v1H3V3h3z\"/></svg>\\n';var jT=n(95);class zT extends db{init(){const t=this.editor;const e=t.t;const n=t.ui.componentFactory;const i=fT(t);const o=i[0];n.add(\"codeBlock\",n=>{const s=t.commands.get(\"codeBlock\");const r=Hp(n,RT);const a=r.buttonView;a.set({label:e(\"cy\"),tooltip:true,icon:DT,isToggleable:true});a.bind(\"isOn\").to(s,\"value\",t=>!!t);a.on(\"execute\",()=>{t.execute(\"codeBlock\",{language:o.language});t.editing.view.focus()});r.on(\"execute\",e=>{t.execute(\"codeBlock\",{language:e.source._codeBlockLanguage,forceValue:true});t.editing.view.focus()});r.class=\"ck-code-block-dropdown\";r.bind(\"isEnabled\").to(s);Wp(r,this._getLanguageListItemDefinitions(i));return r})}_getLanguageListItemDefinitions(t){const e=this.editor;const n=e.commands.get(\"codeBlock\");const i=new Fa;for(const e of t){const t={type:\"button\",model:new Fb({_codeBlockLanguage:e.language,label:e.label,withText:true})};t.model.bind(\"isOn\").to(n,\"value\",e=>e===t.model._codeBlockLanguage);i.add(t)}return i}}class BT extends db{static get requires(){return[ST,zT]}static get pluginName(){return\"CodeBlock\"}}class VT extends fb{constructor(t,e){super(t);this.attributeKey=e}refresh(){const t=this.editor.model;const e=t.document;this.value=e.selection.getAttribute(this.attributeKey);this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model;const n=e.document;const i=n.selection;const o=t.value;e.change(t=>{if(i.isCollapsed){if(o){t.setSelectionAttribute(this.attributeKey,o)}else{t.removeSelectionAttribute(this.attributeKey)}}else{const n=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of n){if(o){t.setAttribute(this.attributeKey,o,e)}else{t.removeAttribute(this.attributeKey,e)}}}})}}var FT='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><g><path class=\"ck-icon__fill\" d=\"M16.935 5.328a2 2 0 010 2.829l-7.778 7.778a2 2 0 01-2.829 0L3.5 13.107a1.999 1.999 0 112.828-2.829l.707.707a1 1 0 001.414 0l5.658-5.657a2 2 0 012.828 0z\"/><path d=\"M14.814 6.035L8.448 12.4a1 1 0 01-1.414 0l-1.413-1.415A1 1 0 104.207 12.4l2.829 2.829a1 1 0 001.414 0l7.778-7.778a1 1 0 10-1.414-1.415z\"/></g></svg>\\n';class HT extends Sp{constructor(t){super(t);const e=this.bindTemplate;this.set(\"color\");this.set(\"hasBorder\");this.icon=FT;this.extendTemplate({attributes:{style:{backgroundColor:e.to(\"color\")},class:[\"ck\",\"ck-color-grid__tile\",e.if(\"hasBorder\",\"ck-color-table__color-tile_bordered\")]}})}render(){super.render();this.iconView.fillColor=\"hsl(0, 0%, 100%)\"}}var UT=n(97);class WT extends Qg{constructor(t,e){super(t);const n=e&&e.colorDefinitions||[];const i={};if(e&&e.columns){i.gridTemplateColumns=`repeat( ${e.columns}, 1fr)`}this.set(\"selectedColor\");this.items=this.createCollection();this.focusTracker=new rg;this.keystrokes=new qm;this._focusCycler=new dp({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"arrowleft\",focusNext:\"arrowright\"}});this.items.on(\"add\",(t,e)=>{e.isOn=e.color===this.selectedColor});n.forEach(t=>{const e=new HT;e.set({color:t.color,label:t.label,tooltip:true,hasBorder:t.options.hasBorder});e.on(\"execute\",()=>{this.fire(\"execute\",{value:t.color,hasBorder:t.options.hasBorder,label:t.label})});this.items.add(e)});this.setTemplate({tag:\"div\",children:this.items,attributes:{class:[\"ck\",\"ck-color-grid\"],style:i}});this.on(\"change:selectedColor\",(t,e,n)=>{for(const t of this.items){t.isOn=t.color===n}})}focus(){if(this.items.length){this.items.first.focus()}}focusLast(){if(this.items.length){this.items.last.focus()}}render(){super.render();for(const t of this.items){this.focusTracker.add(t.element)}this.items.on(\"add\",(t,e)=>{this.focusTracker.add(e.element)});this.items.on(\"remove\",(t,e)=>{this.focusTracker.remove(e.element)});this.keystrokes.listenTo(this.element)}}class $T extends Fa{constructor(t){super(t);this.set(\"isEmpty\",true)}add(t,e){if(this.find(e=>e.color===t.color)){return}super.add(t,e);this.set(\"isEmpty\",false)}remove(t){const e=super.remove(t);if(this.length===0){this.set(\"isEmpty\",true)}return e}hasColor(t){return!!this.find(e=>e.color===t)}}vr($T,_a);var YT='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.636 9.531l-2.758 3.94a.5.5 0 0 0 .122.696l3.224 2.284h1.314l2.636-3.736L8.636 9.53zm.288 8.451L5.14 15.396a2 2 0 0 1-.491-2.786l6.673-9.53a2 2 0 0 1 2.785-.49l3.742 2.62a2 2 0 0 1 .491 2.785l-7.269 10.053-2.147-.066z\"/><path d=\"M4 18h5.523v-1H4zm-2 0h1v-1H2z\"/></svg>';var qT=n(99);class GT extends Qg{constructor(t,{colors:e,columns:n,removeButtonLabel:i,documentColorsLabel:o,documentColorsCount:s}){super(t);this.items=this.createCollection();this.colorDefinitions=e;this.focusTracker=new rg;this.keystrokes=new qm;this.set(\"selectedColor\");this.removeButtonLabel=i;this.columns=n;this.documentColors=new $T;this.documentColorsCount=s;this.staticColorsGrid=this._createStaticColorsGrid();this.documentColorsGrid;this._focusCycler=new dp({focusables:this.items,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:\"arrowup\",focusNext:\"arrowdown\"}});this.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-color-table\"]},children:this.items});this.items.add(this._removeColorButton());this.items.add(this.staticColorsGrid);if(s){const t=Cg.bind(this.documentColors,this.documentColors);const e=new np(this.locale);e.text=o;e.extendTemplate({attributes:{class:[\"ck\",\"ck-color-grid__label\",t.if(\"isEmpty\",\"ck-hidden\")]}});this.items.add(e);this.documentColorsGrid=this._createDocumentColorsGrid();this.items.add(this.documentColorsGrid)}}updateDocumentColors(t,e){const n=t.document;const i=this.documentColorsCount;this.documentColors.clear();for(const o of n.getRootNames()){const s=n.getRoot(o);const r=t.createRangeIn(s);for(const t of r.getItems()){if(t.is(\"textProxy\")&&t.hasAttribute(e)){this._addColorToDocumentColors(t.getAttribute(e));if(this.documentColors.length>=i){return}}}}}updateSelectedColors(){const t=this.documentColorsGrid;const e=this.staticColorsGrid;const n=this.selectedColor;e.selectedColor=n;if(t){t.selectedColor=n}}render(){super.render();for(const t of this.items){this.focusTracker.add(t.element)}this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_removeColorButton(){const t=new Sp;t.set({withText:true,icon:YT,tooltip:true,label:this.removeButtonLabel});t.class=\"ck-color-table__remove-color\";t.on(\"execute\",()=>{this.fire(\"execute\",{value:null})});return t}_createStaticColorsGrid(){const t=new WT(this.locale,{colorDefinitions:this.colorDefinitions,columns:this.columns});t.delegate(\"execute\").to(this);return t}_createDocumentColorsGrid(){const t=Cg.bind(this.documentColors,this.documentColors);const e=new WT(this.locale,{columns:this.columns});e.delegate(\"execute\").to(this);e.extendTemplate({attributes:{class:t.if(\"isEmpty\",\"ck-hidden\")}});e.items.bindTo(this.documentColors).using(t=>{const e=new HT;e.set({color:t.color,hasBorder:t.options&&t.options.hasBorder});if(t.label){e.set({label:t.label,tooltip:true})}e.on(\"execute\",()=>{this.fire(\"execute\",{value:t.color})});return e});this.documentColors.on(\"change:isEmpty\",(t,n,i)=>{if(i){e.selectedColor=null}});return e}_addColorToDocumentColors(t){const e=this.colorDefinitions.find(e=>e.color===t);if(!e){this.documentColors.add({color:t,label:t,options:{hasBorder:false}})}else{this.documentColors.add(Object.assign({},e))}}}const KT=\"fontSize\";const JT=\"fontFamily\";const XT=\"fontColor\";const QT=\"fontBackgroundColor\";function ZT(t,e){const n={model:{key:t,values:[]},view:{},upcastAlso:{}};for(const t of e){n.model.values.push(t.model);n.view[t.model]=t.view;if(t.upcastAlso){n.upcastAlso[t.model]=t.upcastAlso}}return n}function tM(t){return e=>sM(e.getStyle(t))}function eM(t){return(e,n)=>n.createAttributeElement(\"span\",{style:`${t}:${e}`},{priority:7})}function nM(t){return t.map(rM).filter(t=>!!t)}function iM({dropdownView:t,colors:e,columns:n,removeButtonLabel:i,documentColorsLabel:o,documentColorsCount:s}){const r=t.locale;const a=new GT(r,{colors:e,columns:n,removeButtonLabel:i,documentColorsLabel:o,documentColorsCount:s});t.colorTableView=a;t.panelView.children.add(a);a.delegate(\"execute\").to(t,\"execute\");return a}function oM(t,e){const n=t.t;const i={Black:n(\"bf\"),\"Dim grey\":n(\"bg\"),Grey:n(\"bh\"),\"Light grey\":n(\"bi\"),White:n(\"bj\"),Red:n(\"bk\"),Orange:n(\"bl\"),Yellow:n(\"bm\"),\"Light green\":n(\"bn\"),Green:n(\"bo\"),Aquamarine:n(\"bp\"),Turquoise:n(\"bq\"),\"Light blue\":n(\"br\"),Blue:n(\"bs\"),Purple:n(\"bt\")};return e.map(t=>{const e=i[t.label];if(e&&e!=t.label){t.label=e}return t})}function sM(t){return t.replace(/\\s/g,\"\")}function rM(t){if(typeof t===\"string\"){return{model:t.replace(/ /g,\"\"),label:t,hasBorder:false,view:{name:\"span\",styles:{color:t}}}}else{return{model:t.color.replace(/ /g,\"\"),label:t.label||t.color,hasBorder:t.hasBorder===undefined?false:t.hasBorder,view:{name:\"span\",styles:{color:`${t.color}`}}}}}class aM extends VT{constructor(t){super(t,QT)}}class cM extends db{static get pluginName(){return\"FontBackgroundColorEditing\"}constructor(t){super(t);t.config.define(QT,{colors:[{color:\"hsl(0, 0%, 0%)\",label:\"Black\"},{color:\"hsl(0, 0%, 30%)\",label:\"Dim grey\"},{color:\"hsl(0, 0%, 60%)\",label:\"Grey\"},{color:\"hsl(0, 0%, 90%)\",label:\"Light grey\"},{color:\"hsl(0, 0%, 100%)\",label:\"White\",hasBorder:true},{color:\"hsl(0, 75%, 60%)\",label:\"Red\"},{color:\"hsl(30, 75%, 60%)\",label:\"Orange\"},{color:\"hsl(60, 75%, 60%)\",label:\"Yellow\"},{color:\"hsl(90, 75%, 60%)\",label:\"Light green\"},{color:\"hsl(120, 75%, 60%)\",label:\"Green\"},{color:\"hsl(150, 75%, 60%)\",label:\"Aquamarine\"},{color:\"hsl(180, 75%, 60%)\",label:\"Turquoise\"},{color:\"hsl(210, 75%, 60%)\",label:\"Light blue\"},{color:\"hsl(240, 75%, 60%)\",label:\"Blue\"},{color:\"hsl(270, 75%, 60%)\",label:\"Purple\"}],columns:5});t.conversion.for(\"upcast\").elementToAttribute({view:{name:\"span\",styles:{\"background-color\":/[\\s\\S]+/}},model:{key:QT,value:tM(\"background-color\")}});t.conversion.for(\"downcast\").attributeToElement({model:QT,view:eM(\"background-color\")});t.commands.add(QT,new aM(t));t.model.schema.extend(\"$text\",{allowAttributes:QT});t.model.schema.setAttributeProperties(QT,{isFormatting:true,copyOnEnter:true})}}class lM extends db{constructor(t,{commandName:e,icon:n,componentName:i,dropdownLabel:o}){super(t);this.commandName=e;this.componentName=i;this.icon=n;this.dropdownLabel=o;this.columns=t.config.get(`${this.componentName}.columns`);this.colorTableView}init(){const t=this.editor;const e=t.t;const n=t.commands.get(this.commandName);const i=nM(t.config.get(this.componentName).colors);const o=oM(t,i);const s=t.config.get(`${this.componentName}.documentColors`);t.ui.componentFactory.add(this.componentName,i=>{const r=Hp(i);this.colorTableView=iM({dropdownView:r,colors:o.map(t=>({label:t.label,color:t.model,options:{hasBorder:t.hasBorder}})),columns:this.columns,removeButtonLabel:e(\"bu\"),documentColorsLabel:s!==0?e(\"bv\"):undefined,documentColorsCount:s===undefined?this.columns:s});this.colorTableView.bind(\"selectedColor\").to(n,\"value\");r.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:true});r.extendTemplate({attributes:{class:\"ck-color-ui-dropdown\"}});r.bind(\"isEnabled\").to(n);r.on(\"execute\",(e,n)=>{t.execute(this.commandName,n);t.editing.view.focus()});r.on(\"change:isOpen\",(e,n,i)=>{if(i){if(s!==0){this.colorTableView.updateDocumentColors(t.model,this.componentName)}this.colorTableView.updateSelectedColors()}});return r})}}var dM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z\"/></svg>';class uM extends lM{constructor(t){const e=t.locale.t;super(t,{commandName:QT,componentName:QT,icon:dM,dropdownLabel:e(\"bb\")})}static get pluginName(){return\"FontBackgroundColorUI\"}}class hM extends db{static get requires(){return[cM,uM]}static get pluginName(){return\"FontBackgroundColor\"}}class fM extends VT{constructor(t){super(t,XT)}}class mM extends db{static get pluginName(){return\"FontColorEditing\"}constructor(t){super(t);t.config.define(XT,{colors:[{color:\"hsl(0, 0%, 0%)\",label:\"Black\"},{color:\"hsl(0, 0%, 30%)\",label:\"Dim grey\"},{color:\"hsl(0, 0%, 60%)\",label:\"Grey\"},{color:\"hsl(0, 0%, 90%)\",label:\"Light grey\"},{color:\"hsl(0, 0%, 100%)\",label:\"White\",hasBorder:true},{color:\"hsl(0, 75%, 60%)\",label:\"Red\"},{color:\"hsl(30, 75%, 60%)\",label:\"Orange\"},{color:\"hsl(60, 75%, 60%)\",label:\"Yellow\"},{color:\"hsl(90, 75%, 60%)\",label:\"Light green\"},{color:\"hsl(120, 75%, 60%)\",label:\"Green\"},{color:\"hsl(150, 75%, 60%)\",label:\"Aquamarine\"},{color:\"hsl(180, 75%, 60%)\",label:\"Turquoise\"},{color:\"hsl(210, 75%, 60%)\",label:\"Light blue\"},{color:\"hsl(240, 75%, 60%)\",label:\"Blue\"},{color:\"hsl(270, 75%, 60%)\",label:\"Purple\"}],columns:5});t.conversion.for(\"upcast\").elementToAttribute({view:{name:\"span\",styles:{color:/[\\s\\S]+/}},model:{key:XT,value:tM(\"color\")}});t.conversion.for(\"downcast\").attributeToElement({model:XT,view:eM(\"color\")});t.commands.add(XT,new fM(t));t.model.schema.extend(\"$text\",{allowAttributes:XT});t.model.schema.setAttributeProperties(XT,{isFormatting:true,copyOnEnter:true})}}var gM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.4 10.3L10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zM16 18.5H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z\"/></svg>\\n';class pM extends lM{constructor(t){const e=t.locale.t;super(t,{commandName:XT,componentName:XT,icon:gM,dropdownLabel:e(\"ba\")})}static get pluginName(){return\"FontColorUI\"}}class bM extends db{static get requires(){return[mM,pM]}static get pluginName(){return\"FontColor\"}}class wM extends VT{constructor(t){super(t,KT)}}function _M(t){return t.map(kM).filter(t=>!!t)}const vM={tiny:{title:\"Tiny\",model:\"tiny\",view:{name:\"span\",classes:\"text-tiny\",priority:7}},small:{title:\"Small\",model:\"small\",view:{name:\"span\",classes:\"text-small\",priority:7}},big:{title:\"Big\",model:\"big\",view:{name:\"span\",classes:\"text-big\",priority:7}},huge:{title:\"Huge\",model:\"huge\",view:{name:\"span\",classes:\"text-huge\",priority:7}}};function kM(t){if(typeof t===\"object\"){return t}if(vM[t]){return vM[t]}if(t===\"default\"){return{model:undefined,title:\"Default\"}}const e=parseFloat(t);if(isNaN(e)){return}return xM(e)}function xM(t){const e=String(t);return{title:e,model:t,view:{name:\"span\",styles:{\"font-size\":`${t}px`},priority:7}}}class yM extends db{static get pluginName(){return\"FontSizeEditing\"}constructor(t){super(t);t.config.define(KT,{options:[\"tiny\",\"small\",\"default\",\"big\",\"huge\"]});const e=_M(this.editor.config.get(\"fontSize.options\")).filter(t=>t.model);const n=ZT(KT,e);t.conversion.attributeToElement(n);t.commands.add(KT,new wM(t))}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:KT});t.model.schema.setAttributeProperties(KT,{isFormatting:true,copyOnEnter:true})}}var AM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.816 11.5L7.038 4.785 4.261 11.5h5.555zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13zm7.55 2.279l.779-.779.707.707-2.265 2.265-2.193-2.265.707-.707.765.765V4.825c0-.042 0-.083.002-.123l-.77.77-.707-.707L17.207 2.5l2.265 2.265-.707.707-.782-.782c.002.043.003.089.003.135v10.454z\"/></svg>';var CM=n(101);class TM extends db{init(){const t=this.editor;const e=t.t;const n=this._getLocalizedOptions();const i=t.commands.get(KT);t.ui.componentFactory.add(KT,o=>{const s=Hp(o);Wp(s,MM(n,i));s.buttonView.set({label:e(\"av\"),icon:AM,tooltip:true});s.extendTemplate({attributes:{class:[\"ck-font-size-dropdown\"]}});s.bind(\"isEnabled\").to(i);this.listenTo(s,\"execute\",e=>{t.execute(e.source.commandName,{value:e.source.commandParam});t.editing.view.focus()});return s})}_getLocalizedOptions(){const t=this.editor;const e=t.t;const n={Default:e(\"au\"),Tiny:e(\"aw\"),Small:e(\"ax\"),Big:e(\"ay\"),Huge:e(\"az\")};const i=_M(t.config.get(KT).options);return i.map(t=>{const e=n[t.title];if(e&&e!=t.title){t=Object.assign({},t,{title:e})}return t})}}function MM(t,e){const n=new Fa;for(const i of t){const t={type:\"button\",model:new Fb({commandName:KT,commandParam:i.model,label:i.title,class:\"ck-fontsize-option\",withText:true})};if(i.view&&i.view.styles){t.model.set(\"labelStyle\",`font-size:${i.view.styles[\"font-size\"]}`)}if(i.view&&i.view.classes){t.model.set(\"class\",`${t.model.class} ${i.view.classes}`)}t.model.bind(\"isOn\").to(e,\"value\",t=>t===i.model);n.add(t)}return n}class EM extends db{static get requires(){return[yM,TM]}static get pluginName(){return\"FontSize\"}}class PM extends VT{constructor(t){super(t,JT)}}function SM(t){return t.map(IM).filter(t=>!!t)}function IM(t){if(typeof t===\"object\"){return t}if(t===\"default\"){return{title:\"Default\",model:undefined}}if(typeof t!==\"string\"){return}return OM(t)}function OM(t){const e=t.replace(/\"|'/g,\"\").split(\",\");const n=e[0];const i=e.map(NM).join(\", \");return{title:n,model:n,view:{name:\"span\",styles:{\"font-family\":i},priority:7}}}function NM(t){t=t.trim();if(t.indexOf(\" \")>0){t=`'${t}'`}return t}class LM extends db{static get pluginName(){return\"FontFamilyEditing\"}constructor(t){super(t);t.config.define(JT,{options:[\"default\",\"Arial, Helvetica, sans-serif\",\"Courier New, Courier, monospace\",\"Georgia, serif\",\"Lucida Sans Unicode, Lucida Grande, sans-serif\",\"Tahoma, Geneva, sans-serif\",\"Times New Roman, Times, serif\",\"Trebuchet MS, Helvetica, sans-serif\",\"Verdana, Geneva, sans-serif\"]})}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:JT});t.model.schema.setAttributeProperties(JT,{isFormatting:true,copyOnEnter:true});const e=SM(t.config.get(\"fontFamily.options\")).filter(t=>t.model);const n=ZT(JT,e);t.conversion.attributeToElement(n);t.commands.add(JT,new PM(t))}}var RM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z\"/></svg>';class DM extends db{init(){const t=this.editor;const e=t.t;const n=this._getLocalizedOptions();const i=t.commands.get(JT);t.ui.componentFactory.add(JT,o=>{const s=Hp(o);Wp(s,jM(n,i));s.buttonView.set({label:e(\"at\"),icon:RM,tooltip:true});s.extendTemplate({attributes:{class:\"ck-font-family-dropdown\"}});s.bind(\"isEnabled\").to(i);this.listenTo(s,\"execute\",e=>{t.execute(e.source.commandName,{value:e.source.commandParam});t.editing.view.focus()});return s})}_getLocalizedOptions(){const t=this.editor;const e=t.t;const n=SM(t.config.get(JT).options);return n.map(t=>{if(t.title===\"Default\"){t.title=e(\"au\")}return t})}}function jM(t,e){const n=new Fa;for(const i of t){const t={type:\"button\",model:new Fb({commandName:JT,commandParam:i.model,label:i.title,withText:true})};t.model.bind(\"isOn\").to(e,\"value\",t=>t===i.model);if(i.view&&i.view.styles){t.model.set(\"labelStyle\",`font-family: ${i.view.styles[\"font-family\"]}`)}n.add(t)}return n}class zM extends db{static get requires(){return[LM,DM]}static get pluginName(){return\"FontFamily\"}}class BM extends fb{refresh(){const t=this.editor.model;const e=t.document;this.value=e.selection.getAttribute(\"highlight\");this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"highlight\")}execute(t={}){const e=this.editor.model;const n=e.document;const i=n.selection;const o=t.value;e.change(t=>{const n=e.schema.getValidRanges(i.getRanges(),\"highlight\");if(i.isCollapsed){const e=i.getFirstPosition();if(i.hasAttribute(\"highlight\")){const n=t=>t.item.hasAttribute(\"highlight\")&&t.item.getAttribute(\"highlight\")===this.value;const i=e.getLastMatchingPosition(n,{direction:\"backward\"});const s=e.getLastMatchingPosition(n);const r=t.createRange(i,s);if(!o||this.value===o){t.removeAttribute(\"highlight\",r);t.removeSelectionAttribute(\"highlight\")}else{t.setAttribute(\"highlight\",o,r);t.setSelectionAttribute(\"highlight\",o)}}else if(o){t.setSelectionAttribute(\"highlight\",o)}}else{for(const e of n){if(o){t.setAttribute(\"highlight\",o,e)}else{t.removeAttribute(\"highlight\",e)}}}})}}class VM extends db{static get pluginName(){return\"HighlightEditing\"}constructor(t){super(t);t.config.define(\"highlight\",{options:[{model:\"yellowMarker\",class:\"marker-yellow\",title:\"Yellow marker\",color:\"var(--ck-highlight-marker-yellow)\",type:\"marker\"},{model:\"greenMarker\",class:\"marker-green\",title:\"Green marker\",color:\"var(--ck-highlight-marker-green)\",type:\"marker\"},{model:\"pinkMarker\",class:\"marker-pink\",title:\"Pink marker\",color:\"var(--ck-highlight-marker-pink)\",type:\"marker\"},{model:\"blueMarker\",class:\"marker-blue\",title:\"Blue marker\",color:\"var(--ck-highlight-marker-blue)\",type:\"marker\"},{model:\"redPen\",class:\"pen-red\",title:\"Red pen\",color:\"var(--ck-highlight-pen-red)\",type:\"pen\"},{model:\"greenPen\",class:\"pen-green\",title:\"Green pen\",color:\"var(--ck-highlight-pen-green)\",type:\"pen\"}]})}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:\"highlight\"});const e=t.config.get(\"highlight.options\");t.conversion.attributeToElement(FM(e));t.commands.add(\"highlight\",new BM(t))}}function FM(t){const e={model:{key:\"highlight\",values:[]},view:{}};for(const n of t){e.model.values.push(n.model);e.view[n.model]={name:\"mark\",classes:n.class}}return e}var HM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path class=\"ck-icon__fill\" d=\"M10.798 1.59L3.002 12.875l1.895 1.852 2.521 1.402 6.997-12.194z\"/><path d=\"M2.556 16.727l.234-.348c-.297-.151-.462-.293-.498-.426-.036-.137.002-.416.115-.837.094-.25.15-.449.169-.595a4.495 4.495 0 0 0 0-.725c-.209-.621-.303-1.041-.284-1.26.02-.218.178-.506.475-.862l6.77-9.414c.539-.91 1.605-.85 3.199.18 1.594 1.032 2.188 1.928 1.784 2.686l-5.877 10.36c-.158.412-.333.673-.526.782-.193.108-.604.179-1.232.21-.362.131-.608.237-.738.318-.13.081-.305.238-.526.47-.293.265-.504.397-.632.397-.096 0-.27-.075-.524-.226l-.31.41-1.6-1.12zm-.279.415l1.575 1.103-.392.515H1.19l1.087-1.618zm8.1-13.656l-4.953 6.9L8.75 12.57l4.247-7.574c.175-.25-.188-.647-1.092-1.192-.903-.546-1.412-.652-1.528-.32zM8.244 18.5L9.59 17h9.406v1.5H8.245z\"/></svg>';var UM='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path class=\"ck-icon__fill\" d=\"M10.126 2.268L2.002 13.874l1.895 1.852 2.521 1.402L14.47 5.481l-1.543-2.568-2.801-.645z\"/><path d=\"M4.5 18.088l-2.645-1.852-.04-2.95-.006-.005.006-.008v-.025l.011.008L8.73 2.97c.165-.233.356-.417.567-.557l-1.212.308L4.604 7.9l-.83-.558 3.694-5.495 2.708-.69 1.65 1.145.046.018.85-1.216 2.16 1.512-.856 1.222c.828.967 1.144 2.141.432 3.158L7.55 17.286l.006.005-3.055.797H4.5zm-.634.166l-1.976.516-.026-1.918 2.002 1.402zM9.968 3.817l-.006-.004-6.123 9.184 3.277 2.294 6.108-9.162.005.003c.317-.452-.16-1.332-1.064-1.966-.891-.624-1.865-.776-2.197-.349zM8.245 18.5L9.59 17h9.406v1.5H8.245z\"/></svg>';var WM=n(103);class $M extends db{get localizedOptionTitles(){const t=this.editor.t;return{\"Yellow marker\":t(\"ak\"),\"Green marker\":t(\"al\"),\"Pink marker\":t(\"am\"),\"Blue marker\":t(\"an\"),\"Red pen\":t(\"ao\"),\"Green pen\":t(\"ap\")}}static get pluginName(){return\"HighlightUI\"}init(){const t=this.editor.config.get(\"highlight.options\");for(const e of t){this._addHighlighterButton(e)}this._addRemoveHighlightButton();this._addDropdown(t)}_addRemoveHighlightButton(){const t=this.editor.t;this._addButton(\"removeHighlight\",t(\"aq\"),YT)}_addHighlighterButton(t){const e=this.editor.commands.get(\"highlight\");this._addButton(\"highlight:\"+t.model,t.title,qM(t.type),t.model,n);function n(n){n.bind(\"isEnabled\").to(e,\"isEnabled\");n.bind(\"isOn\").to(e,\"value\",e=>e===t.model);n.iconView.fillColor=t.color;n.isToggleable=true}}_addButton(t,e,n,i,o=(()=>{})){const s=this.editor;s.ui.componentFactory.add(t,t=>{const r=new Sp(t);const a=this.localizedOptionTitles[e]?this.localizedOptionTitles[e]:e;r.set({label:a,icon:n,tooltip:true});r.on(\"execute\",()=>{s.execute(\"highlight\",{value:i});s.editing.view.focus()});o(r);return r})}_addDropdown(t){const e=this.editor;const n=e.t;const i=e.ui.componentFactory;const o=t[0];const s=t.reduce((t,e)=>{t[e.model]=e;return t},{});i.add(\"highlight\",r=>{const a=e.commands.get(\"highlight\");const c=Hp(r,RT);const l=c.buttonView;l.set({tooltip:n(\"ar\"),lastExecuted:o.model,commandValue:o.model,isToggleable:true});l.bind(\"icon\").to(a,\"value\",t=>qM(u(t,\"type\")));l.bind(\"color\").to(a,\"value\",t=>u(t,\"color\"));l.bind(\"commandValue\").to(a,\"value\",t=>u(t,\"model\"));l.bind(\"isOn\").to(a,\"value\",t=>!!t);l.delegate(\"execute\").to(c);const d=t.map(t=>{const e=i.create(\"highlight:\"+t.model);this.listenTo(e,\"execute\",()=>c.buttonView.set({lastExecuted:t.model}));return e});c.bind(\"isEnabled\").toMany(d,\"isEnabled\",(...t)=>t.some(t=>t));d.push(new hp);d.push(i.create(\"removeHighlight\"));Up(c,d);YM(c);c.toolbarView.ariaLabel=n(\"as\");l.on(\"execute\",()=>{e.execute(\"highlight\",{value:l.commandValue});e.editing.view.focus()});function u(t,e){const n=!t||t===l.lastExecuted?l.lastExecuted:t;return s[n][e]}return c})}}function YM(t){const e=t.buttonView.actionView;e.iconView.bind(\"fillColor\").to(t.buttonView,\"color\")}function qM(t){return t===\"marker\"?HM:UM}class GM extends db{static get requires(){return[VM,$M]}static get pluginName(){return\"Highlight\"}}class KM extends fb{refresh(){this.isEnabled=JM(this.editor.model)}execute(){const t=this.editor.model;t.change(e=>{const n=e.createElement(\"horizontalLine\");t.insertContent(n);let i=n.nextSibling;const o=i&&t.schema.checkChild(i,\"$text\");if(!o&&t.schema.checkChild(n.parent,\"paragraph\")){i=e.createElement(\"paragraph\");e.insert(i,e.createPositionAfter(n))}if(i){e.setSelection(i,0)}})}}function JM(t){const e=t.schema;const n=t.document.selection;return XM(n,e,t)&&!QM(n,e)}function XM(t,e,n){const i=ZM(t,n);return e.checkChild(i,\"horizontalLine\")}function QM(t,e){const n=t.getSelectedElement();return n&&e.isObject(n)}function ZM(t,e){const n=lw(t,e);const i=n.parent;if(i.isEmpty&&!i.is(\"$root\")){return i.parent}return i}var tE=n(105);class eE extends db{static get pluginName(){return\"HorizontalLineEditing\"}init(){const t=this.editor;const e=t.model.schema;const n=t.t;const i=t.conversion;e.register(\"horizontalLine\",{isObject:true,allowWhere:\"$block\"});i.for(\"dataDowncast\").elementToElement({model:\"horizontalLine\",view:(t,e)=>e.createEmptyElement(\"hr\")});i.for(\"editingDowncast\").elementToElement({model:\"horizontalLine\",view:(t,e)=>{const i=n(\"aj\");const o=e.createContainerElement(\"div\");const s=e.createEmptyElement(\"hr\");e.addClass(\"ck-horizontal-line\",o);e.setCustomProperty(\"hr\",true,o);e.insert(e.createPositionAt(o,0),s);return nE(o,e,i)}});i.for(\"upcast\").elementToElement({view:\"hr\",model:\"horizontalLine\"});t.commands.add(\"horizontalLine\",new KM(t))}}function nE(t,e,n){e.setCustomProperty(\"horizontalLine\",true,t);return ow(t,e,{label:n})}var iE='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 9h16v2H2z\" /></svg>\\n';class oE extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(\"horizontalLine\",n=>{const i=t.commands.get(\"horizontalLine\");const o=new Sp(n);o.set({label:e(\"aj\"),icon:iE,tooltip:true});o.bind(\"isEnabled\").to(i,\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(\"horizontalLine\"));return o})}}class sE extends db{static get requires(){return[eE,oE]}static get pluginName(){return\"HorizontalLine\"}}class rE extends fb{constructor(t,e){super(t);this._indentBehavior=e}refresh(){const t=this.editor;const e=t.model;const n=gb(e.document.selection.getSelectedBlocks());if(!n||!e.schema.checkAttribute(n,\"blockIndent\")){this.isEnabled=false;return}this.isEnabled=this._indentBehavior.checkEnabled(n.getAttribute(\"blockIndent\"))}execute(){const t=this.editor.model;const e=aE(t);t.change(t=>{for(const n of e){const e=n.getAttribute(\"blockIndent\");const i=this._indentBehavior.getNextIndent(e);if(i){t.setAttribute(\"blockIndent\",i,n)}else{t.removeAttribute(\"blockIndent\",n)}}})}}function aE(t){const e=t.document.selection;const n=t.schema;const i=Array.from(e.getSelectedBlocks());return i.filter(t=>n.checkAttribute(t,\"blockIndent\"))}class cE{constructor(t){this.isForward=t.direction===\"forward\";this.offset=t.offset;this.unit=t.unit}checkEnabled(t){const e=parseFloat(t||0);return this.isForward||e>0}getNextIndent(t){const e=parseFloat(t||0);const n=!t||t.endsWith(this.unit);if(!n){return this.isForward?this.offset+this.unit:undefined}const i=this.isForward?this.offset:-this.offset;const o=e+i;return o>0?o+this.unit:undefined}}class lE{constructor(t){this.isForward=t.direction===\"forward\";this.classes=t.classes}checkEnabled(t){const e=this.classes.indexOf(t);if(this.isForward){return e<this.classes.length-1}else{return e>=0}}getNextIndent(t){const e=this.classes.indexOf(t);const n=this.isForward?1:-1;return this.classes[e+n]}}class dE extends db{constructor(t){super(t);t.config.define(\"indentBlock\",{offset:40,unit:\"px\"})}static get pluginName(){return\"IndentBlock\"}init(){const t=this.editor;const e=t.config.get(\"indentBlock\");const n=!e.classes||!e.classes.length;const i=Object.assign({direction:\"forward\"},e);const o=Object.assign({direction:\"backward\"},e);if(n){this._setupConversionUsingOffset(t.conversion);t.commands.add(\"indentBlock\",new rE(t,new cE(i)));t.commands.add(\"outdentBlock\",new rE(t,new cE(o)))}else{this._setupConversionUsingClasses(e.classes);t.commands.add(\"indentBlock\",new rE(t,new lE(i)));t.commands.add(\"outdentBlock\",new rE(t,new lE(o)))}}afterInit(){const t=this.editor;const e=t.model.schema;const n=t.commands.get(\"indent\");const i=t.commands.get(\"outdent\");const o=[\"paragraph\",\"heading1\",\"heading2\",\"heading3\",\"heading4\",\"heading5\",\"heading6\"];o.forEach(t=>{if(e.isRegistered(t)){e.extend(t,{allowAttributes:\"blockIndent\"})}});n.registerChildCommand(t.commands.get(\"indentBlock\"));i.registerChildCommand(t.commands.get(\"outdentBlock\"))}_setupConversionUsingOffset(){const t=this.editor.conversion;const e=this.editor.locale;const n=e.contentLanguageDirection===\"rtl\"?\"margin-right\":\"margin-left\";t.for(\"upcast\").attributeToAttribute({view:{styles:{[n]:/[\\s\\S]+/}},model:{key:\"blockIndent\",value:t=>t.getStyle(n)}});t.for(\"upcast\").attributeToAttribute({view:{styles:{margin:/[\\s\\S]+/}},model:{key:\"blockIndent\",value:t=>uE(t.getStyle(\"margin\"),n)}});t.for(\"downcast\").attributeToAttribute({model:\"blockIndent\",view:t=>({key:\"style\",value:{[n]:t}})})}_setupConversionUsingClasses(t){const e={model:{key:\"blockIndent\",values:[]},view:{}};for(const n of t){e.model.values.push(n);e.view[n]={key:\"class\",value:[n]}}this.editor.conversion.attributeToAttribute(e)}}function uE(t,e){const n=t.split(\" \");let i;i=n[0];if(n[1]){i=n[1]}if(n[3]){if(e===\"margin-left\"){i=n[3]}else{i=n[1]}}return i}class hE{static get safeXmlCharactersEntities(){return{tagOpener:\"&laquo;\",tagCloser:\"&raquo;\",doubleQuote:\"&uml;\",realDoubleQuote:\"&quot;\"}}static get safeBadBlackboardCharacters(){return{ltElement:\"«mo»<«/mo»\",gtElement:\"«mo»>«/mo»\",ampElement:\"«mo»&«/mo»\"}}static get safeGoodBlackboardCharacters(){return{ltElement:\"«mo»§lt;«/mo»\",gtElement:\"«mo»§gt;«/mo»\",ampElement:\"«mo»§amp;«/mo»\"}}static get xmlCharacters(){return{id:\"xmlCharacters\",tagOpener:\"<\",tagCloser:\">\",doubleQuote:'\"',ampersand:\"&\",quote:\"'\"}}static get safeXmlCharacters(){return{id:\"safeXmlCharacters\",tagOpener:\"«\",tagCloser:\"»\",doubleQuote:\"¨\",ampersand:\"§\",quote:\"`\",realDoubleQuote:\"¨\"}}}class fE{static isMathmlInAttribute(t,e){const n=\"['\\\"][\\\\s]*=[\\\\s]*[\\\\w-]+\";const i=\"\\\"[^\\\"]*\\\"|'[^']*'\";const o=`[\\\\s]*(${i})[\\\\s]*=[\\\\s]*[\\\\w-]+[\\\\s]*`;const s=`('${o}')*`;const r=`^${n}${s}[\\\\s]+gmi<`;const a=new RegExp(r);const c=t.substring(0,e);const l=c.split(\"\").reverse().join(\"\");const d=a.test(l);return d}static safeXmlDecode(t){let{tagOpener:e}=hE.safeXmlCharactersEntities;let{tagCloser:n}=hE.safeXmlCharactersEntities;let{doubleQuote:i}=hE.safeXmlCharactersEntities;let{realDoubleQuote:o}=hE.safeXmlCharactersEntities;t=t.split(e).join(hE.safeXmlCharacters.tagOpener);t=t.split(n).join(hE.safeXmlCharacters.tagCloser);t=t.split(i).join(hE.safeXmlCharacters.doubleQuote);t=t.split(o).join(hE.safeXmlCharacters.realDoubleQuote);const{ltElement:s}=hE.safeBadBlackboardCharacters;const{gtElement:r}=hE.safeBadBlackboardCharacters;const{ampElement:a}=hE.safeBadBlackboardCharacters;if(\"_wrs_blackboard\"in window&&window._wrs_blackboard){t=t.split(s).join(hE.safeGoodBlackboardCharacters.ltElement);t=t.split(r).join(hE.safeGoodBlackboardCharacters.gtElement);t=t.split(a).join(hE.safeGoodBlackboardCharacters.ampElement)}({tagOpener:e}=hE.safeXmlCharacters);({tagCloser:n}=hE.safeXmlCharacters);({doubleQuote:i}=hE.safeXmlCharacters);({realDoubleQuote:o}=hE.safeXmlCharacters);const{ampersand:c}=hE.safeXmlCharacters;const{quote:l}=hE.safeXmlCharacters;t=t.split(e).join(hE.xmlCharacters.tagOpener);t=t.split(n).join(hE.xmlCharacters.tagCloser);t=t.split(i).join(hE.xmlCharacters.doubleQuote);t=t.split(c).join(hE.xmlCharacters.ampersand);t=t.split(l).join(hE.xmlCharacters.quote);let d=\"\";let u=null;for(let e=0;e<t.length;e+=1){const n=t.charAt(e);if(u==null){if(n===\"$\"){u=\"\"}else{d+=n}}else if(n===\";\"){d+=`&${u}`;u=null}else if(n.match(/([a-zA-Z0-9#._-] | '-')/)){u+=n}else{d+=`$${u}`;u=null;e-=1}}return d}static safeXmlEncode(t){const{tagOpener:e}=hE.xmlCharacters;const{tagCloser:n}=hE.xmlCharacters;const{doubleQuote:i}=hE.xmlCharacters;const{ampersand:o}=hE.xmlCharacters;const{quote:s}=hE.xmlCharacters;t=t.split(e).join(hE.safeXmlCharacters.tagOpener);t=t.split(n).join(hE.safeXmlCharacters.tagCloser);t=t.split(i).join(hE.safeXmlCharacters.doubleQuote);t=t.split(o).join(hE.safeXmlCharacters.ampersand);t=t.split(s).join(hE.safeXmlCharacters.quote);return t}static mathMLEntities(t){let e=\"\";for(let n=0;n<t.length;n+=1){const i=t.charAt(n);if(t.codePointAt(n)>128){e+=`&#${t.codePointAt(n)};`;if(t.codePointAt(n)>65535){n+=1}}else if(i===\"&\"){const o=t.indexOf(\";\",n+1);if(o>=0){const i=document.createElement(\"span\");i.innerHTML=t.substring(n,o+1);e+=`&#${kE.fixedCharCodeAt(i.textContent||i.innerText,0)};`;n=o}else{e+=i}}else{e+=i}}return e}static addCustomEditorClassAttribute(t,e){let n=\"\";const i=t.indexOf(\"<math\");if(i===0){const o=t.indexOf(\">\");if(t.indexOf(\"class\")===-1){n=`${t.substr(i,o)} class=\"wrs_${e}\">`;n+=t.substr(o+1,t.length);return n}}return t}static removeCustomEditorClassAttribute(t,e){if(t.indexOf(\"class\")===-1||t.indexOf(`wrs_${e}`)===-1){return t}if(t.indexOf(`class=\"wrs_${e}\"`)!==-1){return t.replace(`class=\"wrs_${e}\"`,\"\")}return t.replace(`wrs_${e}`,\"\")}static addAnnotation(t,e,n){const i=t.indexOf(\"<annotation\");let o=\"\";if(i!==-1){const i=t.indexOf(\"</semantics>\");o=`${t.substring(0,i)}<annotation encoding=\"${n}\">${e}</annotation>${t.substring(i)}`}else if(fE.isEmpty(t)){const i=t.indexOf(\"/>\");const s=t.indexOf(\">\");const r=s===i?i:s;o=`${t.substring(0,r)}><semantics><annotation encoding=\"${n}\">${e}</annotation></semantics></math>`}else{const i=t.indexOf(\">\")+1;const s=t.lastIndexOf(\"</math>\");const r=t.substring(i,s);o=`${t.substring(0,i)}<semantics>${r}<annotation encoding=\"${n}\">${e}</annotation></semantics></math>`}return o}static removeAnnotation(t,e){let n=t;const i=`<annotation encoding=\"${e}\">`;const o=\"</annotation>\";const s=t.indexOf(i);if(s!==-1){let e=false;let i=t.indexOf(\"<annotation\");while(i!==-1){if(i!==s){e=true}i=t.indexOf(\"<annotation\",i+1)}if(e){const e=t.indexOf(o,s);const i=e+o.length;const r=t.substring(0,s);n=r+t.substring(i)}else{n=fE.removeSemantics(t)}}return n}static removeSemantics(t){const e=\"</math>\";const n=\"<semantics>\";const i=\"<annotation\";let o=t;const s=t.indexOf(n);if(s!==-1){const r=t.indexOf(i,s+n.length);if(r!==-1){o=t.substring(0,s)+t.substring(s+n.length,r)+e}}return o}static removeSemanticsOcurrences(t,e=hE.xmlCharacters){const n=`${e.tagOpener}math`;const i=`${e.tagOpener}/math${e.tagCloser}`;const o=`/${e.tagCloser}`;const{tagCloser:s}=e;const r=`${e.tagOpener}semantics${e.tagCloser}`;const a=`${e.tagOpener}annotation encoding=`;let c=\"\";let l=t.indexOf(n);let d=0;while(l!==-1){c+=t.substring(d,l);const e=t.indexOf(i,l);const u=t.indexOf(o,l);const h=t.indexOf(s,l);if(e!==-1){d=e}else if(u===h-1){d=u}const f=t.indexOf(r,l);if(f!==-1){const e=t.substring(l,f);const o=t.indexOf(a,l);if(o!==-1){const s=f+r.length;const a=t.substring(s,o);c+=e+a+i;l=t.indexOf(n,l+n.length);d+=i.length}else{d=l;l=t.indexOf(n,l+n.length)}}else{d=l;l=t.indexOf(n,l+n.length)}}c+=t.substring(d,t.length);return c}static containClass(t,e){const n=t.indexOf(\"class\");if(n===-1){return false}const i=t.indexOf(\">\",n);const o=t.substring(n,i);if(o.indexOf(e)!==-1){return true}return false}static isEmpty(t){const e=\">\";const n=\"/>\";const i=t.indexOf(e);const o=t.indexOf(n);let s=false;if(o!==-1){if(o===i-1){s=true}}if(!s){const e=new RegExp(\"</(.+:)?math>\");const n=e.exec(t);if(n){s=i+1===n.index}}return s}static encodeProperties(t){const e=/\\w+=\".*?\"/g;const n=t=>{const e=t.indexOf('\"');const n=t.substring(e+1,t.length-1);const i=kE.htmlEntities(n);const o=`${t.substring(0,e+1)}${i}\"`;return o};const i=t.replace(e,n);return i}}class mE{static addConfiguration(t){Object.assign(mE.properties,t)}static get properties(){return mE._properties}static set properties(t){mE._properties=t}static get(t){if(!Object.prototype.hasOwnProperty.call(mE.properties,t)){if(Object.prototype.hasOwnProperty.call(mE.properties,\"_wrs_conf_\")){return mE.properties[`_wrs_conf_${t}`]}return false}return mE.properties[t]}static set(t,e){mE.properties[t]=e}static update(t,e){if(!mE.get(t)){mE.set(t,e)}else{const n=Object.assign(mE.get(t),e);mE.set(t,n)}}}mE._properties={};class gE{constructor(){this.cache=[]}populate(t,e){this.cache[t]=e}get(t){if(Object.prototype.hasOwnProperty.call(this.cache,t)){return this.cache[t]}return false}}class pE{constructor(){this.listeners=[]}add(t){this.listeners.push(t)}fire(t,e){for(let n=0;n<this.listeners.length&&!e.cancelled;n+=1){if(this.listeners[n].eventName===t){this.listeners[n].callback(e)}}return e.defaultPrevented}static newListener(t,e){const n={};n.eventName=t;n.callback=e;return n}}class bE{static get listeners(){return bE._listeners}static addListener(t){bE.listeners.add(t)}static fireEvent(t,e){bE.listeners.fire(t,e)}static get parameters(){return bE._parameters}static set parameters(t){bE._parameters=t}static get servicePaths(){return bE._servicePaths}static set servicePaths(t){bE._servicePaths=t}static setServicePath(t,e){bE.servicePaths[t]=e}static getServicePath(t){return bE.servicePaths[t]}static get integrationPath(){return bE._integrationPath}static set integrationPath(t){bE._integrationPath=t}static getServerURL(){const t=window.location.href;const e=t.split(\"/\");const n=`${e[0]}//${e[2]}`;return n}static init(t){bE.parameters=t;let e=bE.createServiceURI(\"configurationjs\");let n=bE.createServiceURI(\"createimage\");let i=bE.createServiceURI(\"showimage\");let o=bE.createServiceURI(\"getmathml\");let s=bE.createServiceURI(\"service\");if(bE.parameters.URI.indexOf(\"/\")===0){const t=bE.getServerURL();e=t+e;i=t+i;n=t+n;o=t+o;s=t+s}bE.setServicePath(\"configurationjs\",e);bE.setServicePath(\"showimage\",i);bE.setServicePath(\"createimage\",n);bE.setServicePath(\"service\",s);bE.setServicePath(\"getmathml\",o);bE.setServicePath(\"configurationjs\",e);bE.listeners.fire(\"onInit\",{})}static getUrl(t,e){const n=window.location.toString().substr(0,window.location.toString().lastIndexOf(\"/\")+1);const i=kE.createHttpRequest();if(i){if(typeof e===\"undefined\"||typeof e===\"undefined\"){i.open(\"GET\",t,false)}else if(t.substr(0,1)===\"/\"||t.substr(0,7)===\"http://\"||t.substr(0,8)===\"https://\"){i.open(\"POST\",t,false)}else{i.open(\"POST\",n+t,false)}if(typeof e!==\"undefined\"&&e){i.setRequestHeader(\"Content-type\",\"application/x-www-form-urlencoded; charset=UTF-8\");i.send(kE.httpBuildQuery(e))}else{i.send(null)}return i.responseText}return\"\"}static getService(t,e,n){let i;if(n===true){const n=`${bE.getServicePath(t)}?${e}`;i=bE.getUrl(n)}else{const n=bE.getServicePath(t);i=bE.getUrl(n,e)}return i}static getServerLanguageFromService(t){if(t.indexOf(\".php\")!==-1){return\"php\"}if(t.indexOf(\".aspx\")!==-1){return\"aspx\"}if(t.indexOf(\"wirispluginengine\")!==-1){return\"ruby\"}return\"java\"}static createServiceURI(t){const e=bE.serverExtension();return kE.concatenateUrl(bE.parameters.URI,t)+e}static serverExtension(){if(bE.parameters.server.indexOf(\"php\")!==-1){return\".php\"}if(bE.parameters.server.indexOf(\"aspx\")!==-1){return\".aspx\"}return\"\"}}bE._servicePaths={};bE._integrationPath=\"\";bE._listeners=new pE;bE._parameters={};class wE{static get cache(){return wE._cache}static set cache(t){wE._cache=t}static getLatexFromMathML(t){const e=fE.removeSemantics(t);const{cache:n}=wE;const i={service:\"mathml2latex\",mml:e};const o=JSON.parse(bE.getService(\"service\",i));let s=\"\";if(o.status===\"ok\"){s=o.result.text;const e=kE.htmlEntities(s);const i=fE.addAnnotation(t,e,\"LaTeX\");n.populate(s,i)}return s}static getMathMLFromLatex(t,e){const n=wE.cache;if(wE.cache.get(t)){return wE.cache.get(t)}const i={service:\"latex2mathml\",latex:t};if(e){i.saveLatex=\"\"}const o=JSON.parse(bE.getService(\"service\",i));let s;if(o.status===\"ok\"){let e=o.result.text;e=e.split(\"\\r\").join(\"\").split(\"\\n\").join(\" \");if(e.indexOf(\"semantics\")===-1&&e.indexOf(\"annotation\")===-1){e=fE.addAnnotation(e,t,\"LaTeX\");s=e}else{s=e}if(!n.get(t)){n.populate(t,e)}}else{s=`$$${t}$$`}return s}static parseMathmlToLatex(t,e){let n=\"\";const i=`${e.tagOpener}math`;const o=`${e.tagOpener}/math${e.tagCloser}`;const s=`${e.tagOpener}annotation encoding=${e.doubleQuote}LaTeX${e.doubleQuote}${e.tagCloser}`;const r=`${e.tagOpener}/annotation${e.tagCloser}`;let a=t.indexOf(i);let c=0;let l;let d;let u;while(a!==-1){n+=t.substring(c,a);c=t.indexOf(o,a);if(c===-1){c=t.length-1}else{c+=o.length}l=t.substring(a,c);d=l.indexOf(s);if(d!==-1){d+=s.length;u=l.indexOf(r);let t=l.substring(d,u);if(e===hE.safeXmlCharacters){t=fE.safeXmlDecode(t)}n+=`$$${t}$$`;wE.cache.populate(t,l)}else{n+=l}a=t.indexOf(i,c)}n+=t.substring(c,t.length);return n}static getLatexFromTextNode(t,e,n){const i={open:\"$$\",close:\"$$\"};if(typeof n===\"undefined\"||n==null){n=i}let o=t;while(o.previousSibling&&o.previousSibling.nodeType===3){o=o.previousSibling}function s(t,e,i){let o=t.nodeValue.indexOf(i,e);while(o===-1){t=t.nextSibling;if(!t){return null}o=t.nodeValue?t.nodeValue.indexOf(n.close):-1}return{node:t,position:o}}function r(t,e,n,i){if(t===n){return e<=i}while(t&&t!==n){t=t.nextSibling}return t===n}let a;let c={node:o,position:0};const l=n.open.length;do{a=s(c.node,c.position,n.open);if(a==null||r(t,e,a.node,a.position)){return null}c=s(a.node,a.position+l,n.close);if(c==null){return null}c.position+=l}while(r(c.node,c.position,t,e));let d;if(a.node===c.node){d=a.node.nodeValue.substring(a.position+l,c.position-l)}else{const t=a.position+l;d=a.node.nodeValue.substring(t,a.node.nodeValue.length);let e=a.node;do{e=e.nextSibling;if(e===c.node){d+=c.node.nodeValue.substring(0,c.position-l)}else{d+=e.nodeValue?e.nodeValue:\"\"}}while(e!==c.node)}return{latex:d,startNode:a.node,startPosition:a.position,endNode:c.node,endPosition:c.position}}}wE._cache=new gE;var _E=n(19);class vE{constructor(){throw new Error(\"Static class StringManager can not be instantiated.\")}static get(t){let{language:e}=this;if(!(e in this.strings)){console.warn(`Unknown language ${e} set in StringManager.`);e=\"en\"}if(!(t in this.strings[e])){console.warn(`Unknown key ${t} in StringManager.`);return t}return this.strings[e][t]}}vE.strings=_E;vE.language=\"en\";class kE{static fireEvent(t,e){if(document.createEvent){const n=document.createEvent(\"HTMLEvents\");n.initEvent(e,true,true);return!t.dispatchEvent(n)}const n=document.createEventObject();return t.fireEvent(`on${e}`,n)}static addEvent(t,e,n){if(t.addEventListener){t.addEventListener(e,n,true)}else if(t.attachEvent){t.attachEvent(`on${e}`,n)}}static removeEvent(t,e,n){if(t.removeEventListener){t.removeEventListener(e,n,true)}else if(t.detachEvent){t.detachEvent(`on${e}`,n)}}static addElementEvents(t,e,n,i){if(e){kE.addEvent(t,\"dblclick\",t=>{const n=t||window.event;const i=n.srcElement?n.srcElement:n.target;e(i,n)})}if(n){kE.addEvent(t,\"mousedown\",t=>{const e=t||window.event;const i=e.srcElement?e.srcElement:e.target;n(i,e)})}if(i){kE.addEvent(t,\"mouseup\",t=>{const e=t||window.event;const n=e.srcElement?e.srcElement:e.target;i(n,e)})}}static addClass(t,e){if(!kE.containsClass(t,e)){t.className+=` ${e}`}}static containsClass(t,e){if(t==null||!(\"className\"in t)){return false}const n=t.className.split(\" \");for(let t=n.length-1;t>=0;t-=1){if(n[t]===e){return true}}return false}static removeClass(t,e){let n=\"\";const i=t.className.split(\" \");for(let t=0;t<i.length;t+=1){if(i[t]!==e){n+=`${i[t]} `}}t.className=n.trim()}static convertOldXmlinitialtextAttribute(t){const e=\"value=\";const n=t.indexOf(\"xmlinitialtext\");const i=t.indexOf(e,n);const o=t.charAt(i+e.length);const s=i+e.length+1;const r=t.indexOf(o,s);const a=t.substring(s,r);let c=a.split(\"«\").join(\"§lt;\");c=c.split(\"»\").join(\"§gt;\");c=c.split(\"&\").join(\"§\");c=c.split(\"¨\").join(\"§quot;\");t=t.split(a).join(c);return t}static createElement(t,e,n){if(e===undefined){e={}}if(n===undefined){n=document}let i;try{let o=`<${t}`;Object.keys(e).forEach(t=>{o+=` ${t}=\"${kE.htmlEntities(e[t])}\"`});o+=\">\";i=n.createElement(o)}catch(o){i=n.createElement(t);Object.keys(e).forEach(t=>{i.setAttribute(t,e[t])})}return i}static createObject(t,e){if(e===undefined){e=document}t=t.split(\"<applet \").join('<span wirisObject=\"WirisApplet\" ').split(\"<APPLET \").join('<span wirisObject=\"WirisApplet\" ');t=t.split(\"</applet>\").join(\"</span>\").split(\"</APPLET>\").join(\"</span>\");t=t.split(\"<param \").join('<br wirisObject=\"WirisParam\" ').split(\"<PARAM \").join('<br wirisObject=\"WirisParam\" ');t=t.split(\"</param>\").join(\"</br>\").split(\"</PARAM>\").join(\"</br>\");const n=kE.createElement(\"div\",{},e);n.innerHTML=t;function i(t){if(t.getAttribute&&t.getAttribute(\"wirisObject\")===\"WirisParam\"){const n={};for(let e=0;e<t.attributes.length;e+=1){if(t.attributes[e].nodeValue!==null){n[t.attributes[e].nodeName]=t.attributes[e].nodeValue}}const i=kE.createElement(\"param\",n,e);if(i.NAME){i.name=i.NAME;i.value=i.VALUE}i.removeAttribute(\"wirisObject\");t.parentNode.replaceChild(i,t)}else if(t.getAttribute&&t.getAttribute(\"wirisObject\")===\"WirisApplet\"){const n={};for(let e=0;e<t.attributes.length;e+=1){if(t.attributes[e].nodeValue!==null){n[t.attributes[e].nodeName]=t.attributes[e].nodeValue}}const o=kE.createElement(\"applet\",n,e);o.removeAttribute(\"wirisObject\");for(let e=0;e<t.childNodes.length;e+=1){i(t.childNodes[e]);if(t.childNodes[e].nodeName.toLowerCase()===\"param\"){o.appendChild(t.childNodes[e]);e-=1}}t.parentNode.replaceChild(o,t)}else{for(let e=0;e<t.childNodes.length;e+=1){i(t.childNodes[e])}}}i(n);return n.firstChild}static createObjectCode(t){if(typeof t===\"undefined\"||t===null){return null}if(t.nodeType===1){let e=`<${t.tagName}`;for(let n=0;n<t.attributes.length;n+=1){if(t.attributes[n].specified){e+=` ${t.attributes[n].name}=\"${kE.htmlEntities(t.attributes[n].value)}\"`}}if(t.childNodes.length>0){e+=\">\";for(let n=0;n<t.childNodes.length;n+=1){e+=kE.createObject(t.childNodes[n])}e+=`</${t.tagName}>`}else if(t.nodeName===\"DIV\"||t.nodeName===\"SCRIPT\"){e+=`></${t.tagName}>`}else{e+=\"/>\"}return e}if(t.nodeType===3){return kE.htmlEntities(t.nodeValue)}return\"\"}static concatenateUrl(t,e){let n=\"\";if(t.indexOf(\"/\")!==t.length&&e.indexOf(\"/\")!==0){n=\"/\"}return(t+n+e).replace(/([^:]\\/)\\/+/g,\"$1\")}static htmlEntities(t){return t.split(\"&\").join(\"&amp;\").split(\"<\").join(\"&lt;\").split(\">\").join(\"&gt;\").split('\"').join(\"&quot;\")}static htmlEntitiesDecode(t){const e=document.createElement(\"textarea\");e.innerHTML=t;return e.value}static createHttpRequest(){const t=window.location.toString().substr(0,window.location.toString().lastIndexOf(\"/\")+1);if(t.substr(0,7)===\"file://\"){throw vE.get(\"exception_cross_site\")}if(typeof XMLHttpRequest!==\"undefined\"){return new XMLHttpRequest}try{return new ActiveXObject(\"Msxml2.XMLHTTP\")}catch(t){try{return new ActiveXObject(\"Microsoft.XMLHTTP\")}catch(t){return null}}}static httpBuildQuery(t){let e=\"\";Object.keys(t).forEach(n=>{if(t[n]!=null){e+=`${kE.urlEncode(n)}=${kE.urlEncode(t[n])}&`}});if(e.substring(e.length-1)===\"&\"){e=e.substring(0,e.length-1)}return e}static propertiesToString(t){const e=[];Object.keys(t).forEach(n=>{if(Object.prototype.hasOwnProperty.call(t,n)){e.push(n)}});const n=e.length;for(let t=0;t<n;t+=1){for(let i=t+1;i<n;i+=1){const n=e[t];const o=e[i];if(kE.compareStrings(n,o)>0){e[t]=o;e[i]=n}}}let i=\"\";for(let o=0;o<n;o+=1){const n=e[o];i+=n;i+=\"=\";let s=t[n];s=s.replace(\"\\\\\",\"\\\\\\\\\");s=s.replace(\"\\n\",\"\\\\n\");s=s.replace(\"\\r\",\"\\\\r\");s=s.replace(\"\\t\",\"\\\\t\");i+=s;i+=\"\\n\"}return i}static compareStrings(t,e){let n;const i=t.length;const o=e.length;const s=i>o?o:i;for(n=0;n<s;n+=1){const i=kE.fixedCharCodeAt(t,n)-kE.fixedCharCodeAt(e,n);if(i!==0){return i}}return t.length-e.length}static fixedCharCodeAt(t,e){e=e||0;const n=t.charCodeAt(e);let i;let o;if(n>=55296&&n<=56319){i=n;o=t.charCodeAt(e+1);if(Number.isNaN(o)){throw vE.get(\"exception_high_surrogate\")}return(i-55296)*1024+(o-56320)+65536}if(n>=56320&&n<=57343){return false}return n}static urlToAssArray(t){let e;e=t.indexOf(\"?\");if(e>0){const n=t.substring(e+1);const i=n.split(\"&\");const o={};for(e=0;e<i.length;e+=1){const t=i[e];const n=t.split(\"=\");if(n.length>1){o[n[0]]=decodeURIComponent(n[1].replace(/\\+/g,\" \"))}}return o}return{}}static urlEncode(t){let e=\"\";e=encodeURIComponent(t);return e}static getWIRISImageOutput(t,e,n){const i=kE.createObject(t);if(i){if(i.className===mE.get(\"imageClassName\")||i.getAttribute(mE.get(\"imageMathmlAttribute\"))){if(!e){return t}const o=i.getAttribute(mE.get(\"imageMathmlAttribute\"));let s=fE.safeXmlDecode(o);if(!mE.get(\"saveHandTraces\")){s=fE.removeAnnotation(s,\"application/json\")}if(s==null){s=i.getAttribute(\"alt\")}if(n){const t=fE.safeXmlEncode(s);return t}return s}}return t}static getNodeLength(t){const e={IMG:1,BR:1};if(t.nodeType===3){return t.nodeValue.length}if(t.nodeType===1){let n=e[t.nodeName.toUpperCase()];if(n===undefined){n=0}for(let e=0;e<t.childNodes.length;e+=1){n+=kE.getNodeLength(t.childNodes[e])}return n}return 0}static getSelectedItem(t,e,n){let i;if(e){i=t.contentWindow;i.focus()}else{i=window;t.focus()}if(document.selection&&!n){const n=i.document.selection.createRange();if(n.parentElement){if(n.htmlText.length>0){if(n.text.length===0){return kE.getSelectedItem(t,e,true)}return null}i.document.execCommand(\"InsertImage\",false,\"#\");let o=n.parentElement();if(o.nodeName.toUpperCase()!==\"IMG\"){n.pasteHTML('<span id=\"wrs_openEditorWindow_temporalObject\"></span>');o=i.document.getElementById(\"wrs_openEditorWindow_temporalObject\")}let s;let r;if(o.nextSibling&&o.nextSibling.nodeType===3){s=o.nextSibling;r=0}else if(o.previousSibling&&o.previousSibling.nodeType===3){s=o.previousSibling;r=s.nodeValue.length}else{s=i.document.createTextNode(\"\");o.parentNode.insertBefore(s,o);r=0}o.parentNode.removeChild(o);return{node:s,caretPosition:r}}if(n.length>1){return null}return{node:n.item(0)}}if(i.getSelection){let t;const e=i.getSelection();try{t=e.getRangeAt(0)}catch(e){t=i.document.createRange()}const n=t.startContainer;if(n.nodeType===3){return{node:n,caretPosition:t.startOffset}}if(n!==t.endContainer){return null}if(n.nodeType===1){const e=t.startOffset;if(n.childNodes[e]){return{node:n.childNodes[e]}}}}return null}static getSelectedItemOnTextarea(t){const e=document.createTextNode(t.value);const n=wE.getLatexFromTextNode(e,t.selectionStart);if(n===null){return null}return{node:e,caretPosition:t.selectionStart,startPosition:n.startPosition,endPosition:n.endPosition}}static getElementsByNameFromString(t,e,n){const i=[];t=t.toLowerCase();e=e.toLowerCase();let o=t.indexOf(`<${e} `);while(o!==-1){let s;if(n){s=\">\"}else{s=`</${e}>`}let r=t.indexOf(s,o);if(r!==-1){r+=s.length;i.push({start:o,end:r})}else{r=o+1}o=t.indexOf(`<${e} `,r)}return i}static decode64(t){const e=\"+\".charCodeAt(0);const n=\"/\".charCodeAt(0);const i=\"0\".charCodeAt(0);const o=\"a\".charCodeAt(0);const s=\"A\".charCodeAt(0);const r=\"-\".charCodeAt(0);const a=\"_\".charCodeAt(0);const c=t.charCodeAt(0);if(c===e||c===r){return 62}if(c===n||c===a){return 63}if(c<i){return-1}if(c<i+10){return c-i+26+26}if(c<s+26){return c-s}if(c<o+26){return c-o+26}return null}static b64ToByteArray(t,e){let n;if(t.length%4>0){throw new Error(\"Invalid string. Length must be a multiple of 4\")}const i=[];let o;let s;if(!e){if(t.charAt(t.length-2)===\"=\"){s=2}else if(t.charAt(t.length-1)===\"=\"){s=1}else{s=0}o=s>0?t.length-4:t.length}else{o=e}let r;for(r=0;r<o;r+=4){n=kE.decode64(t.charAt(r))<<18|kE.decode64(t.charAt(r+1))<<12|kE.decode64(t.charAt(r+2))<<6|kE.decode64(t.charAt(r+3));i.push(n>>16&255);i.push(n>>8&255);i.push(n&255)}if(s){if(s===2){n=kE.decode64(t.charAt(r))<<2|kE.decode64(t.charAt(r+1))>>4;i.push(n&255)}else if(s===1){n=kE.decode64(t.charAt(r))<<10|kE.decode64(t.charAt(r+1))<<4|kE.decode64(t.charAt(r+2))>>2;i.push(n>>8&255);i.push(n&255)}}return i}static readInt32(t){if(t.length<4){return false}const e=t.splice(0,4);return e[0]<<24|e[1]<<16|e[2]<<8|e[3]<<0}static readByte(t){return t.shift()<<0}static readBytes(t,e,n){return t.splice(e,n)}static updateTextArea(t,e){if(t&&e){t.focus();if(t.selectionStart!=null){const{selectionEnd:n}=t;const i=t.value.substring(0,t.selectionStart);const o=t.value.substring(n,t.value.length);t.value=i+e+o;t.selectionEnd=n+e.length}else{const t=document.selection.createRange();t.text=e}}}static updateExistingTextOnTextarea(t,e,n,i){t.focus();const o=t.value.substring(0,n);t.value=o+e+t.value.substring(i,t.value.length);t.selectionEnd=n+e.length}static addArgument(t,e,n){let i;if(t.indexOf(\"?\")>0){i=\"&\"}else{i=\"?\"}return`${t+i+e}=${n}`}}class xE{static removeImgDataAttributes(t){const e=[];const{attributes:n}=t;Object.keys(n).forEach(t=>{const i=n[t];if(i.name.indexOf(\"data-\")===0){e.push(i.name)}});e.forEach(e=>{t.removeAttribute(e)})}static clone(t,e){const n=mE.get(\"imageCustomEditorName\");if(!t.hasAttribute(n)){e.removeAttribute(n)}const i=mE.get(\"imageMathmlAttribute\");const o=[i,n,\"alt\",\"height\",\"width\",\"style\",\"src\",\"role\"];o.forEach(n=>{const i=t.getAttribute(n);if(i){e.setAttribute(n,i)}})}static setImgSize(t,e,n){let i;let o;let s;let r;if(n){if(mE.get(\"imageFormat\")===\"svg\"){if(mE.get(\"saveMode\")!==\"base64\"){i=xE.getMetricsFromSvgString(e)}else{o=t.src.substr(t.src.indexOf(\"base64,\")+7,t.src.length);r=\"\";s=kE.b64ToByteArray(o,o.length);for(let t=0;t<s.length;t+=1){r+=String.fromCharCode(s[t])}i=xE.getMetricsFromSvgString(r)}}else{o=t.src.substr(t.src.indexOf(\"base64,\")+7,t.src.length);s=kE.b64ToByteArray(o,88);i=xE.getMetricsFromBytes(s)}}else{i=kE.urlToAssArray(e)}let a=i.cw;if(!a){return}let c=i.ch;let l=i.cb;const{dpi:d}=i;if(d){a=a*96/d;c=c*96/d;l=l*96/d}t.width=a;t.height=c;t.style.verticalAlign=`-${c-l}px`}static fixAfterResize(t){t.removeAttribute(\"style\");t.removeAttribute(\"width\");t.removeAttribute(\"height\");t.style.maxWidth=\"none\";if(t.src.indexOf(\"data:image\")!==-1){if(mE.get(\"imageFormat\")===\"svg\"){const e=decodeURIComponent(t.src.substring(32,t.src.length));xE.setImgSize(t,e,true)}else{const e=t.src.substring(22,t.src.length);xE.setImgSize(t,e,true)}}else{xE.setImgSize(t,t.src)}}static getMetricsFromSvgString(t){let e=t.indexOf('height=\"');let n=t.indexOf('\"',e+8,t.length);const i=t.substring(e+8,n);e=t.indexOf('width=\"');n=t.indexOf('\"',e+7,t.length);const o=t.substring(e+7,n);e=t.indexOf('wrs:baseline=\"');n=t.indexOf('\"',e+14,t.length);const s=t.substring(e+14,n);if(typeof o!==\"undefined\"){const t=[];t.cw=o;t.ch=i;if(typeof s!==\"undefined\"){t.cb=s}return t}return[]}static getMetricsFromBytes(t){kE.readBytes(t,0,8);let e;let n;let i;let o;let s;while(t.length>=4){i=kE.readInt32(t);if(i===1229472850){e=kE.readInt32(t);n=kE.readInt32(t);kE.readInt32(t);kE.readByte(t)}else if(i===1650545477){o=kE.readInt32(t)}else if(i===1883789683){s=kE.readInt32(t);s=Math.round(s/39.37);kE.readInt32(t);kE.readByte(t)}kE.readInt32(t)}if(typeof e!==\"undefined\"){const t=[];t.cw=e;t.ch=n;t.dpi=s;if(o){t.cb=o}return t}return[]}}class yE{static get cache(){return yE._cache}static set cache(t){yE._cache=t}static mathMLToAccessible(t,e,n){if(typeof e===\"undefined\"){e=\"en\"}if(fE.containClass(t,\"wrs_chemistry\")){n.mode=\"chemistry\"}let i=\"\";if(yE.cache.get(t)){i=yE.cache.get(t)}else{n.service=\"mathml2accessible\";n.lang=e;const o=JSON.parse(bE.getService(\"service\",n));if(o.status!==\"error\"){i=o.result.text;yE.cache.populate(t,i)}else{i=vE.get(\"error_convert_accessibility\")}}return i}}yE._cache=new gE;var AE=n(107);class CE{static mathmlToImgObject(t,e,n,i){const o=t.createElement(\"img\");o.align=\"middle\";o.style.maxWidth=\"none\";const s=n||{};s.mml=e;s.lang=i;s.metrics=\"true\";s.centerbaseline=\"false\";if(mE.get(\"saveMode\")===\"base64\"&&mE.get(\"base64savemode\")===\"default\"){s.base64=true}o.className=mE.get(\"imageClassName\");if(e.indexOf('class=\"')!==-1){let t=e.substring(e.indexOf('class=\"')+'class=\"'.length,e.length);t=t.substring(0,t.indexOf('\"'));t=t.substring(4,t.length);o.setAttribute(mE.get(\"imageCustomEditorName\"),t)}if(mE.get(\"wirisPluginPerformance\")&&(mE.get(\"saveMode\")===\"xml\"||mE.get(\"saveMode\")===\"safeXml\")){let t=JSON.parse(CE.createShowImageSrc(s,i));if(t.status===\"warning\"){try{t=JSON.parse(bE.getService(\"showimage\",s))}catch(t){return null}}({result:t}=t);if(t.format===\"png\"){o.src=`data:image/png;base64,${t.content}`}else{o.src=`data:image/svg+xml;charset=utf8,${kE.urlEncode(t.content)}`}o.setAttribute(mE.get(\"imageMathmlAttribute\"),fE.safeXmlEncode(e));xE.setImgSize(o,t.content,true);if(mE.get(\"enableAccessibility\")){if(typeof t.alt===\"undefined\"){o.alt=yE.mathMLToAccessible(e,i,s)}else{o.alt=t.alt}}}else{const t=CE.createImageSrc(e,s);o.setAttribute(mE.get(\"imageMathmlAttribute\"),fE.safeXmlEncode(e));o.src=t;xE.setImgSize(o,t,mE.get(\"saveMode\")===\"base64\"&&mE.get(\"base64savemode\")===\"default\");if(mE.get(\"enableAccessibility\")){o.alt=yE.mathMLToAccessible(e,i,s)}}if(typeof CE.observer!==\"undefined\"){CE.observer.observe(o)}o.setAttribute(\"role\",\"math\");return o}static createImageSrc(t,e){if(mE.get(\"saveMode\")===\"base64\"&&mE.get(\"base64savemode\")===\"default\"){e.base64=true}let n=bE.getService(\"createimage\",e);if(n.indexOf(\"@BASE@\")!==-1){const t=bE.getServicePath(\"createimage\").split(\"/\");t.pop();n=n.split(\"@BASE@\").join(t.join(\"/\"))}return n}static initParse(t,e){t=CE.initParseSaveMode(t,e);return CE.initParseEditMode(t)}static initParseSaveMode(t,e){if(mE.get(\"saveMode\")){t=wE.parseMathmlToLatex(t,hE.safeXmlCharacters);t=wE.parseMathmlToLatex(t,hE.xmlCharacters);t=CE.parseMathmlToImg(t,hE.safeXmlCharacters,e);t=CE.parseMathmlToImg(t,hE.xmlCharacters,e);if(mE.get(\"saveMode\")===\"base64\"&&mE.get(\"base64savemode\")===\"image\"){t=CE.codeImgTransform(t,\"base642showimage\")}}return t}static initParseEditMode(t){if(mE.get(\"parseModes\").indexOf(\"latex\")!==-1){const e=kE.getElementsByNameFromString(t,\"img\",true);const n='encoding=\"LaTeX\">';let i=0;for(let o=0;o<e.length;o+=1){const s=t.substring(e[o].start+i,e[o].end+i);if(s.indexOf(` class=\"${mE.get(\"imageClassName\")}\"`)!==-1){let r=` ${mE.get(\"imageMathmlAttribute\")}=\"`;let a=s.indexOf(r);if(a===-1){r=' alt=\"';a=s.indexOf(r)}if(a!==-1){a+=r.length;const c=s.indexOf('\"',a);const l=fE.safeXmlDecode(s.substring(a,c));let d=l.indexOf(n);if(d!==-1){d+=n.length;const s=l.indexOf(\"</annotation>\",d);const r=l.substring(d,s);const a=`$$${kE.htmlEntitiesDecode(r)}$$`;const c=t.substring(0,e[o].start+i);const u=t.substring(e[o].end+i);t=c+a+u;i+=a.length-(e[o].end-e[o].start)}}}}}return t}static endParse(t){const e=CE.endParseEditMode(t);const n=CE.endParseSaveMode(e);return n}static endParseEditMode(t){if(mE.get(\"parseModes\").indexOf(\"latex\")!==-1){let e=\"\";let n=0;let i=t.indexOf(\"$$\");while(i!==-1){e+=t.substring(n,i);n=t.indexOf(\"$$\",i+2);if(n!==-1){const o=t.substring(i+2,n);const s=kE.htmlEntitiesDecode(o);let r=wE.getMathMLFromLatex(s,true);if(!mE.get(\"saveHandTraces\")){r=fE.removeAnnotation(r,\"application/json\")}e+=r;n+=2}else{e+=\"$$\";n=i+2}i=t.indexOf(\"$$\",n)}e+=t.substring(n,t.length);t=e}return t}static endParseSaveMode(t){if(mE.get(\"saveMode\")){if(mE.get(\"saveMode\")===\"safeXml\"){t=CE.codeImgTransform(t,\"img2mathml\")}else if(mE.get(\"saveMode\")===\"xml\"){t=CE.codeImgTransform(t,\"img2mathml\")}else if(mE.get(\"saveMode\")===\"base64\"&&mE.get(\"base64savemode\")===\"image\"){t=CE.codeImgTransform(t,\"img264\")}}return t}static createShowImageSrc(t,e){const n=[];const i=[\"mml\",\"color\",\"centerbaseline\",\"zoom\",\"dpi\",\"fontSize\",\"fontFamily\",\"defaultStretchy\",\"backgroundColor\",\"format\"];i.forEach(e=>{const o=i[e];if(typeof t[o]!==\"undefined\"){n[o]=t[o]}});const o={};Object.keys(t).forEach(e=>{if(e!==\"mml\"){o[e]=t[e]}});o.formula=com.wiris.js.JsPluginTools.md5encode(kE.propertiesToString(n));o.lang=typeof e===\"undefined\"?\"en\":e;o.version=mE.get(\"version\");const s=bE.getService(\"showimage\",kE.httpBuildQuery(o),true);return s}static codeImgTransform(t,e){let n=\"\";let i=0;const o=/<img/gi;const s=o.source.length;while(o.test(t)){const r=o.lastIndex-s;n+=t.substring(i,r);let a=r+1;while(a<t.length&&i<=r){const e=t.charAt(a);if(e==='\"'||e===\"'\"){const n=t.indexOf(e,a+1);if(n===-1){a=t.length}else{a=n}}else if(e===\">\"){i=a+1}a+=1}if(i<r){n+=t.substring(r,t.length);return n}let c=t.substring(r,i);const l=kE.createObject(c);let d=l.getAttribute(mE.get(\"imageMathmlAttribute\"));let u;let h;if(e===\"base642showimage\"){if(d==null){d=l.getAttribute(\"alt\")}d=fE.safeXmlDecode(d);c=CE.mathmlToImgObject(document,d,null,null);n+=kE.createObjectCode(c)}else if(e===\"img2mathml\"){if(mE.get(\"saveMode\")){if(mE.get(\"saveMode\")===\"safeXml\"){u=true;h=true}else if(mE.get(\"saveMode\")===\"xml\"){u=true;h=false}}n+=kE.getWIRISImageOutput(c,u,h)}else if(e===\"img264\"){if(d===null){d=l.getAttribute(\"alt\")}d=fE.safeXmlDecode(d);const t={};t.base64=\"true\";c=CE.mathmlToImgObject(document,d,t,null);xE.setImgSize(c,c.src,true);n+=kE.createObjectCode(c)}}n+=t.substring(i,t.length);return n}static parseMathmlToImg(t,e,n){let i=\"\";const o=`${e.tagOpener}math`;const s=`${e.tagOpener}/math${e.tagCloser}`;let r=t.indexOf(o);let a=0;while(r!==-1){i+=t.substring(a,r);const c=t.indexOf(mE.get(\"imageMathmlAttribute\"));a=t.indexOf(s,r);if(a===-1){a=t.length-1}else if(c!==-1){a+=t.indexOf(\"/>\",r)}else{a+=s.length}if(!fE.isMathmlInAttribute(t,r)&&c===-1){let o=t.substring(r,a);o=e.id===hE.safeXmlCharacters.id?fE.safeXmlDecode(o):fE.mathMLEntities(o);i+=kE.createObjectCode(CE.mathmlToImgObject(document,o,null,n))}else{i+=t.substring(r,a)}r=t.indexOf(o,a)}i+=t.substring(a,t.length);return i}}if(typeof MutationObserver!==\"undefined\"){const t=new MutationObserver(t=>{t.forEach(t=>{if(t.oldValue===mE.get(\"imageClassName\")&&t.attributeName===\"class\"&&t.target.className.indexOf(mE.get(\"imageClassName\"))===-1){t.target.className=mE.get(\"imageClassName\")}})});CE.observer=Object.create(t);CE.observer.Config={attributes:true,attributeOldValue:true};CE.observer.observe=function t(e){Object.getPrototypeOf(this).observe(e,this.Config)}}class TE{constructor(){this.isContentChanged=false;this.waitingForChanges=false}setIsContentChanged(t){this.isContentChanged=t}getIsContentChanged(){return this.isContentChanged}setWaitingForChanges(t){this.waitingForChanges=t}caretPositionChanged(t){}clipboardChanged(t){}contentChanged(t){if(this.waitingForChanges===true&&this.isContentChanged===false){this.isContentChanged=true}}styleChanged(t){}transformationReceived(t){}}class ME{constructor(t){this.editorAttributes={};if(\"editorAttributes\"in t){this.editorAttributes=t.editorAttributes}else{throw new Error(\"ContentManager constructor error: editorAttributes property missed.\")}this.customEditors=null;if(\"customEditors\"in t){this.customEditors=t.customEditors}this.environment={};if(\"environment\"in t){this.environment=t.environment}else{throw new Error(\"ContentManager constructor error: environment property missed\")}this.language=\"\";if(\"language\"in t){this.language=t.language}else{throw new Error(\"ContentManager constructor error: language property missed\")}this.editorListener=new TE;this.editor=null;this.ua=navigator.userAgent.toLowerCase();this.deviceProperties={};this.deviceProperties.isAndroid=this.ua.indexOf(\"android\")>-1;this.deviceProperties.isIOS=this.ua.indexOf(\"ipad\")>-1||this.ua.indexOf(\"iphone\")>-1;this.toolbar=null;this.modalDialogInstance=null;this.listeners=new pE;this.mathML=null;this.isNewElement=true;this.integrationModel=null;this.isEditorLoaded=false}addListener(t){this.listeners.add(t)}setIntegrationModel(t){this.integrationModel=t}setModalDialogInstance(t){this.modalDialogInstance=t}insert(){this.updateTitle(this.modalDialogInstance);this.insertEditor(this.modalDialogInstance)}insertEditor(){if(window.com&&window.com.wiris&&window.com.wiris.jsEditor&&window.com.wiris.jsEditor.JsEditor&&window.com.wiris.jsEditor.JsEditor.newInstance){this.editor=window.com.wiris.jsEditor.JsEditor.newInstance(this.editorAttributes);this.editor.insertInto(this.modalDialogInstance.contentContainer);this.editor.focus();if(this.modalDialogInstance.rtl){this.editor.action(\"rtl\")}if(this.editor.getEditorModel().isRTL()){this.editor.element.style.direction=\"rtl\"}this.editor.getEditorModel().addEditorListener(this.editorListener);if(this.modalDialogInstance.deviceProperties.isIOS){setTimeout((function t(){this.modalDialogInstance.hideKeyboard()}),400);const t=document.getElementsByClassName(\"wrs_formulaDisplay\")[0];kE.addEvent(t,\"focus\",this.modalDialogInstance.handleOpenedIosSoftkeyboard);kE.addEvent(t,\"blur\",this.modalDialogInstance.handleClosedIosSoftkeyboard)}this.listeners.fire(\"onLoad\",{});this.isEditorLoaded=true}else{setTimeout(ME.prototype.insertEditor.bind(this),100)}}init(){const t=document.createElement(\"script\");t.type=\"text/javascript\";let e=mE.get(\"editorUrl\");const n=document.createElement(\"a\");n.href=e;if(window.location.href.indexOf(\"https://\")===0){if(n.protocol===\"http:\"){n.protocol=\"https:\"}}if(n.port===\"80\"||n.port===\"443\"){e=`${n.protocol}//${n.hostname}/${n.pathname}`}else{e=`${n.protocol}//${n.hostname}:${n.port}/${n.pathname}`}const i={};if(\"editor\"in this.environment){i.editor=this.environment.editor}else{i.editor=\"unknown\"}if(\"mode\"in this.environment){i.mode=this.environment.mode}else{i.mode=mE.get(\"saveMode\")}if(\"version\"in this.environment){i.version=this.environment.version}else{i.version=mE.get(\"version\")}t.src=`${e}?lang=${this.language}&stats-editor=${i.editor}&stats-mode=${i.mode}&stats-version=${i.version}`;document.getElementsByTagName(\"head\")[0].appendChild(t)}setInitialContent(){if(!this.isNewElement){this.setMathML(this.mathML)}}setMathML(t,e){if(typeof e===\"undefined\"){e=false}this.editor.setMathMLWithCallback(t,()=>{this.editorListener.setWaitingForChanges(true)});setTimeout(()=>{this.editorListener.setIsContentChanged(false)},500);if(!e){this.onFocus()}}onFocus(){if(typeof this.editor!==\"undefined\"&&this.editor!=null){this.editor.focus()}}submitAction(){if(!this.editor.isFormulaEmpty()){let t=this.editor.getMathMLWithSemantics();if(this.customEditors.getActiveEditor()!==null){const{toolbar:e}=this.customEditors.getActiveEditor();t=fE.addCustomEditorClassAttribute(t,e)}else{Object.keys(this.customEditors.editors).forEach(e=>{t=fE.removeCustomEditorClassAttribute(t,e)})}const e=fE.mathMLEntities(t);this.integrationModel.updateFormula(e)}else{this.integrationModel.updateFormula(null)}this.customEditors.disable();this.integrationModel.notifyWindowClosed();this.setEmptyMathML();this.customEditors.disable()}setEmptyMathML(){if(this.deviceProperties.isAndroid||this.deviceProperties.isIOS){if(this.editor.getEditorModel().isRTL()){this.setMathML('<math dir=\"rtl\"><semantics><annotation encoding=\"application/json\">[]</annotation></semantics></math>',true)}else{this.setMathML('<math><semantics><annotation encoding=\"application/json\">[]</annotation></semantics></math>',true)}}else if(this.editor.getEditorModel().isRTL()){this.setMathML('<math dir=\"rtl\"/>',true)}else{this.setMathML(\"<math/>\",true)}}onOpen(){if(this.isNewElement){this.setEmptyMathML()}else{this.setMathML(this.mathML)}this.updateToolbar();this.onFocus()}updateToolbar(){this.updateTitle(this.modalDialogInstance);const t=this.customEditors.getActiveEditor();if(t){const e=t.toolbar?t.toolbar:_wrs_int_wirisProperties.toolbar;if(this.toolbar==null||this.toolbar!==e){this.setToolbar(e)}}else{const t=this.getToolbar();if(this.toolbar==null||this.toolbar!==t){this.setToolbar(t);this.customEditors.disable()}}}updateTitle(){const t=this.customEditors.getActiveEditor();if(t){this.modalDialogInstance.setTitle(t.title)}else{this.modalDialogInstance.setTitle(\"MathType\")}}getToolbar(){let t=\"general\";if(\"toolbar\"in this.editorAttributes){({toolbar:t}=this.editorAttributes)}if(t===\"general\"){t=typeof _wrs_int_wirisProperties===\"undefined\"||typeof _wrs_int_wirisProperties.toolbar===\"undefined\"?\"general\":_wrs_int_wirisProperties.toolbar}return t}setToolbar(t){this.toolbar=t;this.editor.setParams({toolbar:this.toolbar})}hasChanges(){return!this.editor.isFormulaEmpty()&&this.editorListener.getIsContentChanged()}onKeyDown(t){if(t.key!==undefined&&t.repeat===false){if(t.key===\"Escape\"||t.key===\"Esc\"){let e=document.getElementsByClassName(\"wrs_expandButton wrs_expandButtonFor3RowsLayout wrs_pressed\");if(e.length===0){e=document.getElementsByClassName(\"wrs_expandButton wrs_expandButtonFor2RowsLayout wrs_pressed\");if(e.length===0){e=document.getElementsByClassName(\"wrs_select wrs_pressed\");if(e.length===0){this.modalDialogInstance.cancelAction();t.stopPropagation();t.preventDefault()}}}}else if(t.shiftKey&&t.key===\"Tab\"){if(document.activeElement===this.modalDialogInstance.submitButton){this.editor.focus();t.stopPropagation();t.preventDefault()}else{const e=document.querySelector('[title=\"Manual\"]');if(document.activeElement===e){this.modalDialogInstance.cancelButton.focus();t.stopPropagation();t.preventDefault()}}}else if(t.key===\"Tab\"){if(document.activeElement===this.modalDialogInstance.cancelButton){const e=document.querySelector('[title=\"Manual\"]');e.focus();t.stopPropagation();t.preventDefault()}else{const e=document.getElementsByClassName(\"wrs_formulaDisplay\")[0];if(e.getAttribute(\"class\")===\"wrs_formulaDisplay wrs_focused\"){this.modalDialogInstance.submitButton.focus();t.stopPropagation();t.preventDefault()}}}}}}class EE{constructor(){this.editors=[];this.activeEditor=\"default\"}addEditor(t,e){const n={};n.name=e.name;n.toolbar=e.toolbar;n.icon=e.icon;n.confVariable=e.confVariable;n.title=e.title;n.tooltip=e.tooltip;this.editors[t]=n}enable(t){this.activeEditor=t}disable(){this.activeEditor=\"default\"}getActiveEditor(){if(this.activeEditor!==\"default\"){return this.editors[this.activeEditor]}return null}}const PE={imageCustomEditorName:\"data-custom-editor\",imageClassName:\"Wirisformula\",CASClassName:\"Wiriscas\"};var SE=PE;class IE{constructor(){this.cancelled=false;this.defaultPrevented=false}cancel(){this.cancelled=true}preventDefault(){this.defaultPrevented=true}}class OE{constructor(t){this.overlayElement=t.overlayElement;this.callbacks=t.callbacks;this.overlayWrapper=this.overlayElement.appendChild(document.createElement(\"div\"));this.overlayWrapper.setAttribute(\"class\",\"wrs_popupmessage_overlay_envolture\");this.message=this.overlayWrapper.appendChild(document.createElement(\"div\"));this.message.id=\"wrs_popupmessage\";this.message.setAttribute(\"class\",\"wrs_popupmessage_panel\");this.message.setAttribute(\"role\",\"dialog\");this.message.setAttribute(\"aria-describedby\",\"description_txt\");const e=document.createElement(\"p\");const n=document.createTextNode(t.strings.message);e.appendChild(n);e.id=\"description_txt\";this.message.appendChild(e);const i=this.overlayWrapper.appendChild(document.createElement(\"div\"));i.setAttribute(\"class\",\"wrs_popupmessage_overlay\");i.addEventListener(\"click\",this.cancelAction.bind(this));this.buttonArea=this.message.appendChild(document.createElement(\"div\"));this.buttonArea.setAttribute(\"class\",\"wrs_popupmessage_button_area\");this.buttonArea.id=\"wrs_popup_button_area\";const o={class:\"wrs_button_accept\",innerHTML:t.strings.submitString,id:\"wrs_popup_accept_button\"};this.closeButton=this.createButton(o,this.closeAction.bind(this));this.buttonArea.appendChild(this.closeButton);const s={class:\"wrs_button_cancel\",innerHTML:t.strings.cancelString,id:\"wrs_popup_cancel_button\"};this.cancelButton=this.createButton(s,this.cancelAction.bind(this));this.buttonArea.appendChild(this.cancelButton)}createButton(t,e){let n={};n=document.createElement(\"button\");n.setAttribute(\"id\",t.id);n.setAttribute(\"class\",t.class);n.innerHTML=t.innerHTML;n.addEventListener(\"click\",e);return n}show(){if(this.overlayWrapper.style.display!==\"block\"){document.activeElement.blur();this.overlayWrapper.style.display=\"block\";this.closeButton.focus()}else{this.overlayWrapper.style.display=\"none\";_wrs_modalWindow.focus()}}cancelAction(){this.overlayWrapper.style.display=\"none\";if(typeof this.callbacks.cancelCallback!==\"undefined\"){this.callbacks.cancelCallback()}}closeAction(){this.cancelAction();if(typeof this.callbacks.closeCallback!==\"undefined\"){this.callbacks.closeCallback()}}onKeyDown(t){if(t.key!==undefined){if(t.key===\"Escape\"||t.key===\"Esc\"){this.cancelAction();t.stopPropagation();t.preventDefault()}else if(t.key===\"Tab\"){if(document.activeElement===this.closeButton){this.cancelButton.focus()}else{this.closeButton.focus()}t.stopPropagation();t.preventDefault()}}}}var NE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg3783\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata3789\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs3787\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image3791\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAACXBIWXMAAC4jAAAuIwF4pT92AAAB\\nvklEQVRYw83Z23GDMBAF0AsNhBIowSVQgjuISnAJKSEdZNOBS6CDOBUkqSC4gs2PyGhAQg92se4M\\n4w8bccYW2hVumBmRdAB6ADfopQcw2SOYNoIkAL8APgB8AzgLI0/2S/iy1xkt3B9m9h0dM9/YHxM4\\nJ/c4MfPkGX+y763OyYVKgUPQTXAJdC84Bg2CS6Gl4FSoF7wHmgvOhbrgzsW+8L4YJegccrEj749R\\ngs7ZXGdz8wbAeNbREcDTzrHvblEgBbAUFACuy6JALJeL0E/P9sbvmBnNojcgAM+oJ58AhrlnWM5Z\\nA+C9RmiokakBvIJuNTLSc7hojqY0Mo8EB6Ep2CPBm9BU7BHgKDQHqwlOguZiNcDJ0JLe4FV4iaLY\\nJjF16dLqnoob+EdDs8A1QJPBtUCTwDVBo+DaoJvgNvBIR6rDl9wirbA1QIPgVgl6VwHb+dAr7Jkk\\nS/Pg3mCkVOslxxV9yBFqSqTA/3N2Utkzye3pftw5OxzQ5tHeddcdzGj3o4VgClUwowgtAVOs3BpF\\naA6YUnsDowhNAVNu12UUoVtgCn2+ifxp1wO42Ner4KPR5dJ2tsse2ZLvTQxbVf4AmC2z7WnSvpIA\\nAAAASUVORK5CYII=\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var LE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg2\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata8\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs6\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image10\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAACXBIWXMAAC4jAAAuIwF4pT92AAAB\\n2ElEQVRYw9XZoXPCMBTH8S+5KfDzQ29606CH3/SmQTO96aGHHn/F0Himh8eDZSblQknSJH2F0DtE\\nQw8+12vyfulr7XY7LuW4qvj+DugD18AC+AE2woa+/mz07y9cF7Y8d7YPDEtjK2AsCB4BvdLYHPi0\\nXawioAA3wAfQaQiKHhuFYl1QSbAL6gWrSKgEuArqBKsEaB1wKNQKVsasHybcpRhwLNQED0zsoMbz\\nFwJOhWL6Cmzd2e0D14Wi1/k9di2wFNnAEtBifd9jv4GtIPgaeBOCAkzLFayr/6idWSSY6DJ8sHT9\\n6VK6zRFqKwo5gQ+grnKbA/gI6gsy5wRboT7sucBOaBX21GAvNAR7KnAlNBTbNDgIGoMtwO/C0Gko\\nNBZbN525tk+dJrAj4F4YGxXgVQS019DkCgarM0OjwCoDaDBYZQINAquMoJVglRnUC1YZQp1g1RB0\\nJryn65jYJ0HoRGPHguDX8hsZ6VAiGX4eUrJBbHqSArdN7LLBmCcBnpvYWfHWo6E8Wge8Ar7Kj8E4\\nARwcnBPBB20BE7uJBMdAU8BH/YvyBAsFp0BjwNZGi201qALXgYaAnR0hX2upAzwDj/p8raFL5I4u\\n8ALc6vNfvc+ztq5al9Rh/AfwZZ/LmlMllAAAAABJRU5ErkJggg==\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var RE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg3793\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata3799\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs3797\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image3801\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\\njwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAG4SURBVFhHvZnhUYNAEEbRBkwH2oGUkA40FWgJ\\nKSEdaAmxA0vQDmIHKSFWgPuAHZkEAnd8y5v5kuNHMm+WY1mSm6qqCiGlZdUspXzxopY9Wu6bpZQf\\nSxlRWapwVx9p2dy2CxUHy9ryWx9pKdWyECYcIQshwlGyIBeOlAWpcLQsyISXkAWEX5tlPkvJwnP7\\nns1SsnvLS7PMZwlZiShEy8pEIVJWKgpRsnJRiJBNFf2wbCzjfZgRUZi9JYWDxT9bWk6WIXbKym4t\\nKRVloObO5oze6ZClWX9a5jyOcOrfmuUkXPRUH/1zVRhZpvsnCxN+jnDqHh0SdQaFu9vg0ZIqrBZ1\\neoXP92yKcJSocyHcd4FNEY4WdbrCR1rGrukMF9BWVhZvLZ7U9rS2nH9HVvoq63iFu+RUlOpIuCYL\\nCCPIqVjq1A9j5R3aBnMY2kKzMlbZHPQVbVHLhomCUjZUFFSy35ZQUVDIMo+Gi4JCltFwERSy75Y5\\n4+VkFLLcKHLHyyRUF1jOeJmMShbChZWy0Df8yFDLgg8/cpCN6I9cdHJhZHmy7X2anAnCtDUZ/j/Y\\ng2X2j709MHhTDAFF8QdK9SRpUl2yFgAAAABJRU5ErkJggg==\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var DE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg12\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata18\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs16\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image20\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\\njwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAGMSURBVFhHvdk7TsNAFIVhQ0l6elLDJqCGngXQ\\nU7MA6rALahZATQ81C6APrXP/jEaKHD/i8TnzS1eaICF/2I4f4qxt20bYOmaVlrK2Mb8s1Nj3mIu0\\nlPYZszlPa1kvMf9pKe02Zq3Gcrhc4JUaSzawA0sWsAtLcrATS1KwG0sycA0sAd6kZXm1sNzVHtOy\\nvBpYoK8xV/tPC3JjZVByYqVQcmHlUHJgLVBSY0ugPP7xO5PXYSW2FMr19ytm8sahxD7ElEBzk3c6\\nsFysn/afymKPvsXMueh3oblRMNibmPuYZ34wsyWHfqhB8OFpwKvDHLADmusFd8/ZU8FOaO4I3PcF\\nmwLXgOYOwVtexdnwdUy3vg2UQPnD2eji+vZsrruHS/eoBEpjWMpgrhi1Dv1gY6fBkuRQmtqzJVmg\\npMbaoKTEWqGkwtqhpMBWgZICWwVKCuwpzxKSFNi5T2vFqb5gVcAqLNnBSixZwWos2cBg/9JSmgUM\\n9iMt5QFe8tZ8VP6n3WXMHQtxPzHfabm0ptkBwWhpthzMp7YAAAAASUVORK5CYII=\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var jE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg3813\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata3819\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs3817\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image3821\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAACXBIWXMAAC4jAAAuIwF4pT92AAAA\\nnUlEQVRYw+3Z0QnCMBSF4T/FATqCG1g3cISO0NE6iiPoCE5gneD40ohPvgkJ/AcC9/EjHELgliT0\\nkoGOIlasWLFixYoVK1asWLFixYoVK1bsjxy+5hlYgLEx47ofSEKSJW1nTUJJMgLPDlpwHoCpk8rO\\nvgZixf4Zu3Vi3cq+WroBp4ahL+BYa3AB7o1CH7vvc7M1U4N/g2sdSk8bxjfDaMNdr+hmAQAAAABJ\\nRU5ErkJggg==\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var zE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg32\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata38\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs36\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image40\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAACXBIWXMAAC4jAAAuIwF4pT92AAAA\\npklEQVRYw+3ZLQ4CMRCG4bcbFOvXg99T7FG4BafAw1VALx7dWyy2mIoGgSOZJu/n6p70ZybppFIK\\nvWSgo4gVK1asWLFixYoVK1asWLFixYoV+yO7r/UMHIAxiO8FZGBrsUfgDEwBN/QNXIA11S/PW1Bo\\nCz4N9ein4Nd1Dyw9PbDR0iVW7J+xudax6HkOtZVdg0MfQE7N0G4GlmANYgNW4A6QepowfgDMXB26\\nb1V6LAAAAABJRU5ErkJggg==\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var BE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg3823\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata3829\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs3827\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image3831\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\\njwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAHOSURBVFhH1ZiLUcMwEEQNDcQl0AEuISVABZhO\\nUkroICVAB6ECoINQgdmVfR5FlmQrkZzjzezEzsc8NPqcdNd1XfVfuB9ec3NAmv4yiRo5ImzBlm+c\\nwZYtEHJCGsT3eSgHxKZFxs/tL+aMkCK8R3yMwu4PcsVmiXBIVDDCvh/miEtMeE5UaEsNMJcN8o64\\ng26PvPSXs9S+/zRHQtgtvLRFCb9blZpnYw/9Rb6RR3M3zxtiprFbyKYwipK1+uwlnIkSrbITUaJR\\n1itKtMkGRYk2WRZAQbTNBpzWtggrrwnaWja00hk0DrCgsEZZ4hXWKksmwjLAHobkgOv+V3+ZhXHQ\\niWxKqXYLKNyILDdqbPKlldASPhA+Mxc7uwatkSOSix1iP//q2APshLBvfJo7hbizgQj/mDtl+KYu\\nCj8h7NSqCM2zXJvZwqqEY4uCOuGYLKEwJ3kVzMlyscg5915FTFbdqhaSVbn8+mTV1gmurOqCxpZN\\nEeUu9BlZd1obioTkQ7IhPGTjYZuPIoUMK/GUFrX39asuHJTlH3w1d3FCBxCrCUufZX+NCUdPSsAq\\nwu4A8wnPiQrFhW1Z4govFRWKCoeOjzjoZF92CdwpZy6AquoPvJRHJxB8bJ8AAAAASUVORK5CYII=\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var VE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.76 13.76\"\\n height=\"13.76\"\\n width=\"13.76\"\\n id=\"svg42\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata48\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs46\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image50\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAYAAADhXXHAAAAAAXNSR0IArs4c6QAAAARnQU1BAACx\\njwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAAG/SURBVFhH1ZgxUsMwEEUNJRyAGmp6qKGn5xRQ\\nQ08NNfRQQw11DpAaanIAWrMv8WaELSlexhLLm/mRnImiF48jr7zVtm3zX9ju2ik5llxLdpdHNg4k\\nT5I7yWB8Cdl9yZHkRmIRRpQxOxK+YzC+hKwSnTBBKKoMxpeUBSbkksgRE1V+CJeWhUPJ5ao7ICeq\\nrIVryMKJpC88RlTZk1SThVDYIvoluZIsSqyz511SfEg4UxbRdw5qnlmFa9AsCn8hO4aBKHiUjYqC\\nN9mkKHiSzYqCJ9lPSVIUPMmySqTudEu8XbOxO90ab7KQFPYoC1Fhr7IwENbagMLCUtXnoCTM1QZW\\n3iS3dFT2mRfHvEjuVfZUckFnQh67dgqo1GYqC1MLn3XtZIR/sFcJW2C39FcD18KxpcutcGqddSmc\\nuykg/LDq+iAnC/OudUFOVrfLbkjJWvb11YjJuhSFvqxbUQhlXYuCylpE2YXy2SkLlVEgaxVluzyT\\nIEutWQ1kKZYtouF2maK4mjCyFN6bJsw9gKgmrNdsbsKNT0qEKsIqC7EJx4gqxYVDWQgntIgqRYXD\\nbY3CLpcVgmdPC974BYy3/MgRNM03hR9ubFTHT48AAAAASUVORK5CYII=\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.76\" />\\n</svg>\\n';var FE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.44 13.76\"\\n height=\"13.76\"\\n width=\"13.44\"\\n id=\"svg3803\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata3809\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs3807\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image3811\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAArCAYAAAAOnxr+AAAACXBIWXMAAC4jAAAuIwF4pT92AAAA\\nvElEQVRYw+3ZSw0CMRSF4b8T9iAFB4wDkDAWcICEkTA4GAeAA3AADurgsCkbAgsSMrmFczZNd1/a\\n3vSVJFFDGipJNdBZaRdAB2wC2TIwAgNAkrQEjsA86GBegDZJGoF18JnfJtVR9idXvaGGGmrod/b6\\nV9kD14k9LbD6FDqUM8CU2b2Deo0aaqihhhpqqKGGGhr1hH/wiP469FaBMzflEhc9PZKQ1CtmsqRO\\nEunpHbeNNN3A+dFJ/mf6V+gduGPIoUgKLbAAAAAASUVORK5CYII=\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.44\" />\\n</svg>\\n';var HE='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\\n<svg\\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\\n xmlns:cc=\"http://creativecommons.org/ns#\"\\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\\n xmlns:svg=\"http://www.w3.org/2000/svg\"\\n xmlns=\"http://www.w3.org/2000/svg\"\\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\\n viewBox=\"0 0 13.44 13.76\"\\n height=\"13.76\"\\n width=\"13.44\"\\n id=\"svg22\"\\n version=\"1.1\">\\n <metadata\\n id=\"metadata28\">\\n <rdf:RDF>\\n <cc:Work\\n rdf:about=\"\">\\n <dc:format>image/svg+xml</dc:format>\\n <dc:type\\n rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\\n <dc:title></dc:title>\\n </cc:Work>\\n </rdf:RDF>\\n </metadata>\\n <defs\\n id=\"defs26\" />\\n <image\\n y=\"0\"\\n x=\"0\"\\n id=\"image30\"\\n xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAArCAYAAAAOnxr+AAAACXBIWXMAAC4jAAAuIwF4pT92AAAA\\nvUlEQVRYw+3ZsQ3CMBCF4d8WFekZgBqWIDUDZACmYBQWYIn0pGYAegZIexROERHRIBTdhXeVy08+\\nyT4/JzMjQmWCVBjoarSugK0z3/0degKODjeyBy5Am8ysARrnnT8nM7sCa+fQLgdAAlQ6ngQVVFBB\\nfzeUTK6t8VAwU328ztV6QQUVVFBBBRVUUEG9Ds41sJvZs/8GelDrlw7tAjhvmZLo9o6RD4bEGUp+\\nX1My/I0T4HN4rrcASf9M/wp9ASNzIKYYz2hAAAAAAElFTkSuQmCC\\n\"\\n style=\"image-rendering:optimizeQuality\"\\n preserveAspectRatio=\"none\"\\n height=\"13.76\"\\n width=\"13.44\" />\\n</svg>\\n';class UE{constructor(t){this.attributes=t;const e=navigator.userAgent.toLowerCase();const n=e.indexOf(\"android\")>-1;const i=e.indexOf(\"ipad\")>-1||e.indexOf(\"iphone\")>-1;this.iosSoftkeyboardOpened=false;this.iosMeasureUnit=e.indexOf(\"crios\")===-1?\"%\":\"vh\";this.iosDivHeight=`100%${this.iosMeasureUnit}`;const o=window.outerWidth;const s=window.outerHeight;const r=o>s;const a=o<s;const c=r&&this.attributes.height>s;const l=a&&this.attributes.width>o;const d=c||l;this.instanceId=document.getElementsByClassName(\"wrs_modal_dialogContainer\").length;this.deviceProperties={orientation:r?\"landscape\":\"portait\",isAndroid:n,isIOS:i,isMobile:d,isDesktop:!d&&!i&&!n};this.properties={created:false,state:\"\",previousState:\"\",position:{bottom:0,right:10},size:{height:338,width:580}};this.websiteBeforeLockParameters=null;let u={};u.class=\"wrs_modal_overlay\";u.id=this.getElementId(u.class);this.overlay=kE.createElement(\"div\",u);u={};u.class=\"wrs_modal_title_bar\";u.id=this.getElementId(u.class);this.titleBar=kE.createElement(\"div\",u);u={};u.class=\"wrs_modal_title\";u.id=this.getElementId(u.class);this.title=kE.createElement(\"div\",u);this.title.innerHTML=\"\";u={};u.class=\"wrs_modal_close_button\";u.id=this.getElementId(u.class);u.title=vE.get(\"close\");u.style={};this.closeDiv=kE.createElement(\"a\",u);this.closeDiv.setAttribute(\"role\",\"button\");let h=`background-size: 10px; background-image: url(data:image/svg+xml;base64,${window.btoa(NE)})`;let f=`background-size: 10px; background-image: url(data:image/svg+xml;base64,${window.btoa(LE)})`;this.closeDiv.setAttribute(\"style\",h);this.closeDiv.setAttribute(\"onmouseover\",`this.style = \"${f}\";`);this.closeDiv.setAttribute(\"onmouseout\",`this.style = \"${h}\";`);u={};u.class=\"wrs_modal_stack_button\";u.id=this.getElementId(u.class);u.title=vE.get(\"exit_fullscreen\");this.stackDiv=kE.createElement(\"a\",u);this.stackDiv.setAttribute(\"role\",\"button\");h=`background-size: 10px; background-image: url(data:image/svg+xml;base64,${window.btoa(BE)})`;f=`background-size: 10px; background-image: url(data:image/svg+xml;base64,${window.btoa(VE)})`;this.stackDiv.setAttribute(\"style\",h);this.stackDiv.setAttribute(\"onmouseover\",`this.style = \"${f}\";`);this.stackDiv.setAttribute(\"onmouseout\",`this.style = \"${h}\";`);u={};u.class=\"wrs_modal_maximize_button\";u.id=this.getElementId(u.class);u.title=vE.get(\"fullscreen\");this.maximizeDiv=kE.createElement(\"a\",u);this.maximizeDiv.setAttribute(\"role\",\"button\");h=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(RE)})`;f=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(DE)})`;this.maximizeDiv.setAttribute(\"style\",h);this.maximizeDiv.setAttribute(\"onmouseover\",`this.style = \"${f}\";`);this.maximizeDiv.setAttribute(\"onmouseout\",`this.style = \"${h}\";`);u={};u.class=\"wrs_modal_minimize_button\";u.id=this.getElementId(u.class);u.title=vE.get(\"minimize\");this.minimizeDiv=kE.createElement(\"a\",u);this.minimizeDiv.setAttribute(\"role\",\"button\");h=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(jE)})`;f=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(zE)})`;this.minimizeDiv.setAttribute(\"style\",h);this.minimizeDiv.setAttribute(\"onmouseover\",`this.style = \"${f}\";`);this.minimizeDiv.setAttribute(\"onmouseout\",`this.style = \"${h}\";`);u={};u.class=\"wrs_modal_dialogContainer\";u.id=this.getElementId(u.class);u.role=\"dialog\";this.container=kE.createElement(\"div\",u);this.container.setAttribute(\"aria-labeledby\",\"wrs_modal_title[0]\");u={};u.class=\"wrs_modal_wrapper\";u.id=this.getElementId(u.class);this.wrapper=kE.createElement(\"div\",u);u={};u.class=\"wrs_content_container\";u.id=this.getElementId(u.class);this.contentContainer=kE.createElement(\"div\",u);u={};u.class=\"wrs_modal_controls\";u.id=this.getElementId(u.class);this.controls=kE.createElement(\"div\",u);u={};u.class=\"wrs_modal_buttons_container\";u.id=this.getElementId(u.class);this.buttonContainer=kE.createElement(\"div\",u);this.submitButton=this.createSubmitButton({id:this.getElementId(\"wrs_modal_button_accept\"),class:\"wrs_modal_button_accept\",innerHTML:vE.get(\"accept\")},this.submitAction.bind(this));this.cancelButton=this.createSubmitButton({id:this.getElementId(\"wrs_modal_button_cancel\"),class:\"wrs_modal_button_cancel\",innerHTML:vE.get(\"cancel\")},this.cancelAction.bind(this));this.contentManager=null;const m={cancelString:vE.get(\"cancel\"),submitString:vE.get(\"close\"),message:vE.get(\"close_modal_warning\")};const g={closeCallback:()=>{this.close()},cancelCallback:()=>{this.focus()}};const p={overlayElement:this.container,callbacks:g,strings:m};this.popup=new OE(p);this.rtl=false;if(\"rtl\"in this.attributes){this.rtl=this.attributes.rtl}this.handleOpenedIosSoftkeyboard=this.handleOpenedIosSoftkeyboard.bind(this);this.handleClosedIosSoftkeyboard=this.handleClosedIosSoftkeyboard.bind(this)}setContentManager(t){this.contentManager=t}getContentManager(){return this.contentManager}submitAction(){if(typeof this.contentManager.submitAction!==\"undefined\"){this.contentManager.submitAction()}this.close()}cancelAction(){if(typeof this.contentManager.hasChanges===\"undefined\"){this.close()}else if(!this.contentManager.hasChanges()){this.close()}else{this.showPopUpMessage()}}createSubmitButton(t,e){class n{constructor(){this.element=document.createElement(\"button\");this.element.id=t.id;this.element.className=t.class;this.element.innerHTML=t.innerHTML;kE.addEvent(this.element,\"click\",e)}getElement(){return this.element}}return new n(t,e).getElement()}create(){this.titleBar.appendChild(this.closeDiv);this.titleBar.appendChild(this.stackDiv);this.titleBar.appendChild(this.maximizeDiv);this.titleBar.appendChild(this.minimizeDiv);this.titleBar.appendChild(this.title);if(this.deviceProperties.isDesktop){this.container.appendChild(this.titleBar)}this.wrapper.appendChild(this.contentContainer);this.wrapper.appendChild(this.controls);this.controls.appendChild(this.buttonContainer);this.buttonContainer.appendChild(this.submitButton);this.buttonContainer.appendChild(this.cancelButton);this.container.appendChild(this.wrapper);this.recalculateScrollBar();document.body.appendChild(this.container);document.body.appendChild(this.overlay);if(this.deviceProperties.isDesktop){this.createModalWindowDesktop();this.createResizeButtons();this.addListeners();if(mE.get(\"modalWindowFullScreen\")){this.maximize()}}else if(this.deviceProperties.isAndroid){this.createModalWindowAndroid()}else if(this.deviceProperties.isIOS&&!this.deviceProperties.isMobile){this.createModalWindowIos()}if(this.contentManager!=null){this.contentManager.insert(this)}this.properties.open=true;this.properties.created=true;if(this.isRTL()){this.container.style.right=`${window.innerWidth-this.scrollbarWidth-this.container.offsetWidth}px`;this.container.className+=\" wrs_modal_rtl\"}}createResizeButtons(){this.resizerBR=document.createElement(\"div\");this.resizerBR.className=\"wrs_bottom_right_resizer\";this.resizerBR.innerHTML=\"◢\";this.resizerTL=document.createElement(\"div\");this.resizerTL.className=\"wrs_bottom_left_resizer\";this.container.appendChild(this.resizerBR);this.titleBar.appendChild(this.resizerTL);kE.addEvent(this.resizerBR,\"mousedown\",this.activateResizeStateBR.bind(this));kE.addEvent(this.resizerTL,\"mousedown\",this.activateResizeStateTL.bind(this))}activateResizeStateBR(t){this.initializeResizeProperties(t,false)}activateResizeStateTL(t){this.initializeResizeProperties(t,true)}initializeResizeProperties(t,e){kE.addClass(document.body,\"wrs_noselect\");kE.addClass(this.overlay,\"wrs_overlay_active\");this.resizeDataObject={x:this.eventClient(t).X,y:this.eventClient(t).Y};this.initialWidth=parseInt(this.container.style.width,10);this.initialHeight=parseInt(this.container.style.height,10);if(!e){this.initialRight=parseInt(this.container.style.right,10);this.initialBottom=parseInt(this.container.style.bottom,10)}else{this.leftScale=true}if(!this.initialRight){this.initialRight=0}if(!this.initialBottom){this.initialBottom=0}document.body.style[\"user-select\"]=\"none\"}open(){this.removeClass(\"wrs_closed\");const{isIOS:t}=this.deviceProperties;const{isAndroid:e}=this.deviceProperties;const{isMobile:n}=this.deviceProperties;if(t||e||n){this.restoreWebsiteScale();this.lockWebsiteScroll();setTimeout(()=>{this.hideKeyboard()},400)}if(!this.properties.created){this.create()}else{if(!this.properties.open){this.properties.open=true;if(!this.deviceProperties.isAndroid&&!this.deviceProperties.isIOS){this.restoreState()}}if(this.deviceProperties.isDesktop&&mE.get(\"modalWindowFullScreen\")){this.maximize()}if(this.deviceProperties.isIOS){this.iosSoftkeyboardOpened=false;this.setContainerHeight(`${100+this.iosMeasureUnit}`)}}if(this.contentManager.isEditorLoaded===false){const t=pE.newListener(\"onLoad\",()=>{this.contentManager.onOpen(this)});this.contentManager.addListener(t)}else{this.contentManager.onOpen(this)}}close(){this.removeClass(\"wrs_maximized\");this.removeClass(\"wrs_minimized\");this.removeClass(\"wrs_stack\");this.addClass(\"wrs_closed\");this.saveModalProperties();this.unlockWebsiteScroll();this.properties.open=false}restoreWebsiteScale(){let t=document.querySelector(\"meta[name=viewport]\");const e=[\"initial-scale=\",\"minimum-scale=\",\"maximum-scale=\"];const n=[\"1.0\",\"1.0\",\"1.0\"];const i=(t,e)=>{const i=t.getAttribute(\"content\");if(i){const o=i.split(\",\");let s=\"\";const r=[];for(let t=0;t<o.length;t+=1){let n=false;let i=0;while(!n&&i<e.length){if(o[t].indexOf(e[i])){n=true}i+=1}if(!n){r.push(o[t])}}for(let t=0;t<e.length;t+=1){const i=e[t]+n[t];s+=t===0?i:`,${i}`}for(let t=0;t<r.length;t+=1){s+=`,${r[t]}`}t.setAttribute(\"content\",s);t.setAttribute(\"content\",\"\");t.setAttribute(\"content\",i)}else{t.setAttribute(\"content\",\"initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0\");t.removeAttribute(\"content\")}};if(!t){t=document.createElement(\"meta\");document.getElementsByTagName(\"head\")[0].appendChild(t);i(t,e,n);t.remove()}else{i(t,e,n)}}lockWebsiteScroll(){this.websiteBeforeLockParameters={bodyStylePosition:document.body.style.position?document.body.style.position:\"\",bodyStyleOverflow:document.body.style.overflow?document.body.style.overflow:\"\",htmlStyleOverflow:document.documentElement.style.overflow?document.documentElement.style.overflow:\"\",windowScrollX:window.scrollX,windowScrollY:window.scrollY}}unlockWebsiteScroll(){if(this.websiteBeforeLockParameters){document.body.style.position=this.websiteBeforeLockParameters.bodyStylePosition;document.body.style.overflow=this.websiteBeforeLockParameters.bodyStyleOverflow;document.documentElement.style.overflow=this.websiteBeforeLockParameters.htmlStyleOverflow;const{windowScrollX:t}=this.websiteBeforeLockParameters;const{windowScrollY:e}=this.websiteBeforeLockParameters;window.scrollTo(t,e);this.websiteBeforeLockParameters=null}}isIE11(){if(navigator.userAgent.search(\"Msie/\")>=0||navigator.userAgent.search(\"Trident/\")>=0||navigator.userAgent.search(\"Edge/\")>=0){return true}return false}isRTL(){if(this.attributes.language===\"ar\"||this.attributes.language===\"he\"){return true}return this.rtl}addClass(t){kE.addClass(this.overlay,t);kE.addClass(this.titleBar,t);kE.addClass(this.overlay,t);kE.addClass(this.container,t);kE.addClass(this.contentContainer,t);kE.addClass(this.stackDiv,t);kE.addClass(this.minimizeDiv,t);kE.addClass(this.maximizeDiv,t);kE.addClass(this.wrapper,t)}removeClass(t){kE.removeClass(this.overlay,t);kE.removeClass(this.titleBar,t);kE.removeClass(this.overlay,t);kE.removeClass(this.container,t);kE.removeClass(this.contentContainer,t);kE.removeClass(this.stackDiv,t);kE.removeClass(this.minimizeDiv,t);kE.removeClass(this.maximizeDiv,t);kE.removeClass(this.wrapper,t)}createModalWindowDesktop(){this.addClass(\"wrs_modal_desktop\");this.stack()}createModalWindowAndroid(){this.addClass(\"wrs_modal_android\");window.addEventListener(\"resize\",this.orientationChangeAndroidSoftkeyboard.bind(this))}createModalWindowIos(){this.addClass(\"wrs_modal_ios\");window.addEventListener(\"resize\",this.orientationChangeIosSoftkeyboard.bind(this))}restoreState(){if(this.properties.state===\"maximized\"){this.maximize()}else if(this.properties.state===\"minimized\"){this.properties.state=this.properties.previousState;this.properties.previousState=\"\";this.minimize()}else{this.stack()}}stack(){this.properties.previousState=this.properties.state;this.properties.state=\"stack\";this.removeClass(\"wrs_maximized\");this.minimizeDiv.title=vE.get(\"minimize\");this.removeClass(\"wrs_minimized\");this.addClass(\"wrs_stack\");const t=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(jE)})`;const e=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(zE)})`;this.minimizeDiv.setAttribute(\"style\",t);this.minimizeDiv.setAttribute(\"onmouseover\",`this.style = \"${e}\";`);this.minimizeDiv.setAttribute(\"onmouseout\",`this.style = \"${t}\";`);this.restoreModalProperties();if(typeof this.resizerBR!==\"undefined\"&&typeof this.resizerTL!==\"undefined\"){this.setResizeButtonsVisibility()}this.recalculateScrollBar();this.recalculatePosition();this.recalculateScale();this.focus()}minimize(){this.saveModalProperties();if(this.properties.state===\"minimized\"&&this.properties.previousState===\"stack\"){this.stack()}else if(this.properties.state===\"minimized\"&&this.properties.previousState===\"maximized\"){this.maximize()}else{this.container.style.height=\"30px\";this.container.style.width=\"250px\";this.container.style.bottom=\"0px\";this.container.style.right=\"10px\";this.removeListeners();this.properties.previousState=this.properties.state;this.properties.state=\"minimized\";this.setResizeButtonsVisibility();this.minimizeDiv.title=vE.get(\"maximize\");if(kE.containsClass(this.overlay,\"wrs_stack\")){this.removeClass(\"wrs_stack\")}else{this.removeClass(\"wrs_maximized\")}this.addClass(\"wrs_minimized\");const t=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(FE)})`;const e=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(HE)})`;this.minimizeDiv.setAttribute(\"style\",t);this.minimizeDiv.setAttribute(\"onmouseover\",`this.style = \"${e}\";`);this.minimizeDiv.setAttribute(\"onmouseout\",`this.style = \"${t}\";`)}}maximize(){this.saveModalProperties();if(this.properties.state!==\"maximized\"){this.properties.previousState=this.properties.state;this.properties.state=\"maximized\"}this.setResizeButtonsVisibility();if(kE.containsClass(this.overlay,\"wrs_minimized\")){this.minimizeDiv.title=vE.get(\"minimize\");this.removeClass(\"wrs_minimized\")}else if(kE.containsClass(this.overlay,\"wrs_stack\")){this.container.style.left=null;this.container.style.top=null;this.removeClass(\"wrs_stack\")}this.addClass(\"wrs_maximized\");const t=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(jE)})`;const e=`background-size: 10px; background-repeat: no-repeat; background-image: url(data:image/svg+xml;base64,${window.btoa(zE)})`;this.minimizeDiv.setAttribute(\"style\",t);this.minimizeDiv.setAttribute(\"onmouseover\",`this.style = \"${e}\";`);this.minimizeDiv.setAttribute(\"onmouseout\",`this.style = \"${t}\";`);this.setSize(parseInt(window.innerHeight*.8,10),parseInt(window.innerWidth*.8,10));if(this.container.clientHeight>700){this.container.style.height=\"700px\"}if(this.container.clientWidth>1200){this.container.style.width=\"1200px\"}const{innerHeight:n}=window;const{innerWidth:i}=window;const{offsetHeight:o}=this.container;const{offsetWidth:s}=this.container;const r=n/2-o/2;const a=i/2-s/2;this.setPosition(r,a);this.recalculateScale();this.recalculatePosition();this.recalculateSize();this.focus()}setSize(t,e){this.container.style.height=`${t}px`;this.container.style.width=`${e}px`;this.recalculateSize()}setPosition(t,e){this.container.style.bottom=`${t}px`;this.container.style.right=`${e}px`}saveModalProperties(){if(this.properties.state===\"stack\"){this.properties.position.bottom=parseInt(this.container.style.bottom,10);this.properties.position.right=parseInt(this.container.style.right,10);this.properties.size.width=parseInt(this.container.style.width,10);this.properties.size.height=parseInt(this.container.style.height,10)}}restoreModalProperties(){if(this.properties.state===\"stack\"){this.setPosition(this.properties.position.bottom,this.properties.position.right);this.setSize(this.properties.size.height,this.properties.size.width)}}recalculateSize(){this.wrapper.style.width=`${this.container.clientWidth-12}px`;this.wrapper.style.height=`${this.container.clientHeight-38}px`;this.contentContainer.style.height=`${parseInt(this.wrapper.offsetHeight-50,10)}px`}setResizeButtonsVisibility(){if(this.properties.state===\"stack\"){this.resizerTL.style.visibility=\"visible\";this.resizerBR.style.visibility=\"visible\"}else{this.resizerTL.style.visibility=\"hidden\";this.resizerBR.style.visibility=\"hidden\"}}addListeners(){this.maximizeDiv.addEventListener(\"click\",this.maximize.bind(this),true);this.stackDiv.addEventListener(\"click\",this.stack.bind(this),true);this.minimizeDiv.addEventListener(\"click\",this.minimize.bind(this),true);this.closeDiv.addEventListener(\"click\",this.cancelAction.bind(this));this.overlay.addEventListener(\"click\",this.cancelAction.bind(this));kE.addEvent(window,\"mousedown\",this.startDrag.bind(this));kE.addEvent(window,\"mouseup\",this.stopDrag.bind(this));kE.addEvent(window,\"mousemove\",this.drag.bind(this));kE.addEvent(window,\"resize\",this.onWindowResize.bind(this));kE.addEvent(this.container,\"keydown\",this.onKeyDown.bind(this))}removeListeners(){kE.removeEvent(window,\"mousedown\",this.startDrag);kE.removeEvent(window,\"mouseup\",this.stopDrag);kE.removeEvent(window,\"mousemove\",this.drag);kE.removeEvent(window,\"resize\",this.onWindowResize);kE.removeEvent(this.container,\"keydown\",this.onKeyDown)}eventClient(t){if(typeof t.clientX===\"undefined\"&&t.changedTouches){const e={X:t.changedTouches[0].clientX,Y:t.changedTouches[0].clientY};return e}const e={X:t.clientX,Y:t.clientY};return e}startDrag(t){if(this.properties.state===\"minimized\"){return}if(t.target===this.title){if(typeof this.dragDataObject===\"undefined\"||this.dragDataObject===null){this.dragDataObject={x:this.eventClient(t).X,y:this.eventClient(t).Y};this.lastDrag={x:\"0px\",y:\"0px\"};if(this.container.style.right===\"\"){this.container.style.right=\"0px\"}if(this.container.style.bottom===\"\"){this.container.style.bottom=\"0px\"}if(this.isIE11()){}kE.addClass(document.body,\"wrs_noselect\");kE.addClass(this.overlay,\"wrs_overlay_active\");this.limitWindow=this.getLimitWindow()}}}drag(t){if(this.dragDataObject){t.preventDefault();let e=Math.min(this.eventClient(t).Y,this.limitWindow.minPointer.y);e=Math.max(this.limitWindow.maxPointer.y,e);let n=Math.min(this.eventClient(t).X,this.limitWindow.minPointer.x);n=Math.max(this.limitWindow.maxPointer.x,n);const i=`${n-this.dragDataObject.x}px`;const o=`${e-this.dragDataObject.y}px`;this.lastDrag={x:i,y:o};this.container.style.transform=`translate3d(${i},${o},0)`}if(this.resizeDataObject){const{innerWidth:e}=window;const{innerHeight:n}=window;let i=Math.min(this.eventClient(t).X,e-this.scrollbarWidth-7);let o=Math.min(this.eventClient(t).Y,n-7);if(i<0){i=0}if(o<0){o=0}let s;if(this.leftScale){s=-1}else{s=1}this.container.style.width=`${this.initialWidth+s*(i-this.resizeDataObject.x)}px`;this.container.style.height=`${this.initialHeight+s*(o-this.resizeDataObject.y)}px`;if(!this.leftScale){if(this.resizeDataObject.x-i-this.initialWidth<-580){this.container.style.right=`${this.initialRight-(i-this.resizeDataObject.x)}px`}else{this.container.style.right=`${this.initialRight+this.initialWidth-580}px`;this.container.style.width=\"580px\"}if(this.resizeDataObject.y-o<this.initialHeight-338){this.container.style.bottom=`${this.initialBottom-(o-this.resizeDataObject.y)}px`}else{this.container.style.bottom=`${this.initialBottom+this.initialHeight-338}px`;this.container.style.height=\"338px\"}}this.recalculateScale();this.recalculatePosition()}}getLimitWindow(){const t=window.innerWidth;const e=window.innerHeight;const{offsetHeight:n}=this.container;const i=parseInt(this.container.style.bottom,10);const o=parseInt(this.container.style.right,10);const{pageXOffset:s}=window;const r=this.dragDataObject.y;const a=this.dragDataObject.x;const c=n+i-(e-(r-s));const l=t-this.scrollbarWidth-(a-s)-o;const d=e-this.container.offsetHeight+c;const u=this.title.offsetHeight-(this.title.offsetHeight-c);const h=t-l-this.scrollbarWidth;const f=this.container.offsetWidth-l;const m={x:h,y:d};const g={x:f,y:u};return{minPointer:m,maxPointer:g}}getScrollBarWidth(){const t=document.createElement(\"p\");t.style.width=\"100%\";t.style.height=\"200px\";const e=document.createElement(\"div\");e.style.position=\"absolute\";e.style.top=\"0px\";e.style.left=\"0px\";e.style.visibility=\"hidden\";e.style.width=\"200px\";e.style.height=\"150px\";e.style.overflow=\"hidden\";e.appendChild(t);document.body.appendChild(e);const n=t.offsetWidth;e.style.overflow=\"scroll\";let i=t.offsetWidth;if(n===i){i=e.clientWidth}document.body.removeChild(e);return n-i}stopDrag(){if(this.dragDataObject||this.resizeDataObject){this.container.style.transform=\"\";if(this.dragDataObject){this.container.style.right=`${parseInt(this.container.style.right,10)-parseInt(this.lastDrag.x,10)}px`;this.container.style.bottom=`${parseInt(this.container.style.bottom,10)-parseInt(this.lastDrag.y,10)}px`}this.focus();document.body.style[\"user-select\"]=\"\";if(this.isIE11()){}kE.removeClass(document.body,\"wrs_noselect\");kE.removeClass(this.overlay,\"wrs_overlay_active\")}this.dragDataObject=null;this.resizeDataObject=null;this.initialWidth=null;this.leftScale=null}onWindowResize(){this.recalculateScrollBar();this.recalculatePosition();this.recalculateScale()}onKeyDown(t){if(t.key!==undefined){if(this.popup.overlayWrapper.style.display!==\"block\"){if(t.key===\"Escape\"||t.key===\"Esc\"){if(this.properties.open){this.contentManager.onKeyDown(t)}}else if(t.shiftKey&&t.key===\"Tab\"){if(document.activeElement===this.cancelButton){this.submitButton.focus();t.stopPropagation();t.preventDefault()}else{this.contentManager.onKeyDown(t)}}else if(t.key===\"Tab\"){if(document.activeElement===this.submitButton){this.cancelButton.focus();t.stopPropagation();t.preventDefault()}else{this.contentManager.onKeyDown(t)}}}else{this.popup.onKeyDown(t)}}}recalculatePosition(){this.container.style.right=`${Math.min(parseInt(this.container.style.right,10),window.innerWidth-this.scrollbarWidth-this.container.offsetWidth)}px`;if(parseInt(this.container.style.right,10)<0){this.container.style.right=\"0px\"}this.container.style.bottom=`${Math.min(parseInt(this.container.style.bottom,10),window.innerHeight-this.container.offsetHeight)}px`;if(parseInt(this.container.style.bottom,10)<0){this.container.style.bottom=\"0px\"}}recalculateScale(){let t=false;if(parseInt(this.container.style.width,10)>580){this.container.style.width=`${Math.min(parseInt(this.container.style.width,10),window.innerWidth-this.scrollbarWidth)}px`;t=true}else{this.container.style.width=\"580px\";t=true}if(parseInt(this.container.style.height,10)>338){this.container.style.height=`${Math.min(parseInt(this.container.style.height,10),window.innerHeight)}px`;t=true}else{this.container.style.height=\"338px\";t=true}if(t){this.recalculateSize()}}recalculateScrollBar(){this.hasScrollBar=window.innerWidth>document.documentElement.clientWidth;if(this.hasScrollBar){this.scrollbarWidth=this.getScrollBarWidth()}else{this.scrollbarWidth=0}}hideKeyboard(){const t=document.createElement(\"input\");this.container.appendChild(t);t.focus();t.blur();t.remove()}focus(){if(this.contentManager!=null&&typeof this.contentManager.onFocus!==\"undefined\"){this.contentManager.onFocus()}}portraitMode(){return window.innerHeight>window.innerWidth}handleOpenedIosSoftkeyboard(){if(!this.iosSoftkeyboardOpened&&this.iosDivHeight!=null&&this.iosDivHeight===`100${this.iosMeasureUnit}`){if(this.portraitMode()){this.setContainerHeight(`63${this.iosMeasureUnit}`)}else{this.setContainerHeight(`40${this.iosMeasureUnit}`)}}this.iosSoftkeyboardOpened=true}handleClosedIosSoftkeyboard(){this.iosSoftkeyboardOpened=false;this.setContainerHeight(`100${this.iosMeasureUnit}`)}orientationChangeIosSoftkeyboard(){if(this.iosSoftkeyboardOpened){if(this.portraitMode()){this.setContainerHeight(`63${this.iosMeasureUnit}`)}else{this.setContainerHeight(`40${this.iosMeasureUnit}`)}}else{this.setContainerHeight(`100${this.iosMeasureUnit}`)}}orientationChangeAndroidSoftkeyboard(){this.setContainerHeight(\"100%\")}setContainerHeight(t){this.iosDivHeight=t;this.wrapper.style.height=t}showPopUpMessage(){if(this.properties.state===\"minimized\"){this.stack()}this.popup.show()}setTitle(t){this.title.innerHTML=t}getElementId(t){return`${t}[${this.instanceId}]`}}var WE;var $E=WE;\n/*! http://mths.be/codepointat v0.1.0 by @mathias */if(!String.prototype.codePointAt){(function(){\"use strict\";var t=function(t){if(this==null){throw TypeError()}var e=String(this);var n=e.length;var i=t?Number(t):0;if(i!=i){i=0}if(i<0||i>=n){return undefined}var o=e.charCodeAt(i);var s;if(o>=55296&&o<=56319&&n>i+1){s=e.charCodeAt(i+1);if(s>=56320&&s<=57343){return(o-55296)*1024+s-56320+65536}}return o};if(Object.defineProperty){Object.defineProperty(String.prototype,\"codePointAt\",{value:t,configurable:true,writable:true})}else{String.prototype.codePointAt=t}})()}if(typeof Object.assign!=\"function\"){Object.defineProperty(Object,\"assign\",{value:function t(e,n){\"use strict\";if(e==null){throw new TypeError(\"Cannot convert undefined or null to object\")}var i=Object(e);for(var o=1;o<arguments.length;o++){var s=arguments[o];if(s!=null){for(var r in s){if(Object.prototype.hasOwnProperty.call(s,r)){i[r]=s[r]}}}}return i},writable:true,configurable:true})}var YE=n(108);class qE{constructor(t){this.language=\"en\";this.editMode=\"images\";this.modalDialog=null;this.customEditors=new EE;const e={name:\"Chemistry\",toolbar:\"chemistry\",icon:\"chem.png\",confVariable:\"chemEnabled\",title:\"ChemType\",tooltip:\"Insert a chemistry formula - ChemType\"};this.customEditors.addEditor(\"chemistry\",e);this.environment={};this.editionProperties={};this.editionProperties.isNewElement=true;this.editionProperties.temporalImage=null;this.editionProperties.latexRange=null;this.editionProperties.range=null;this.integrationModel=null;this.contentManager=null;this.browser=(()=>{const t=navigator.userAgent;let e=\"none\";if(t.search(\"Edge/\")>=0){e=\"EDGE\"}else if(t.search(\"Chrome/\")>=0){e=\"CHROME\"}else if(t.search(\"Trident/\")>=0){e=\"IE\"}else if(t.search(\"Firefox/\")>=0){e=\"FIREFOX\"}else if(t.search(\"Safari/\")>=0){e=\"SAFARI\"}return e})();this.listeners=new pE;this.serviceProviderProperties={};if(\"serviceProviderProperties\"in t){this.serviceProviderProperties=t.serviceProviderProperties}else{throw new Error(\"serviceProviderProperties property missing.\")}}static get globalListeners(){return qE._globalListeners}static set globalListeners(t){qE._globalListeners=t}static get initialized(){return qE._initialized}static set initialized(t){qE._initialized=t}setIntegrationModel(t){this.integrationModel=t}setEnvironment(t){if(\"editor\"in t){this.environment.editor=t.editor}if(\"mode\"in t){this.environment.mode=t.mode}if(\"version\"in t){this.environment.version=t.version}}getModalDialog(){return this.modalDialog}init(){if(!qE.initialized){const t=pE.newListener(\"onInit\",()=>{const t=bE.getService(\"configurationjs\",\"\",\"get\");const e=JSON.parse(t);mE.addConfiguration(e);mE.addConfiguration(SE);vE.language=this.language;this.listeners.fire(\"onLoad\",{})});bE.addListener(t);bE.init(this.serviceProviderProperties);qE.initialized=true}else{this.listeners.fire(\"onLoad\",{})}}addListener(t){this.listeners.add(t)}static addGlobalListener(t){qE.globalListeners.add(t)}beforeUpdateFormula(t,e){const n=new IE;n.mathml=t;n.wirisProperties={};if(e!=null){Object.keys(e).forEach(t=>{n.wirisProperties[t]=e[t]})}n.language=this.language;n.editMode=this.editMode;if(this.listeners.fire(\"onBeforeFormulaInsertion\",n)){return{}}if(qE.globalListeners.fire(\"onBeforeFormulaInsertion\",n)){return{}}return{mathml:n.mathml,wirisProperties:n.wirisProperties}}insertFormula(t,e,n,i){const o={};if(!n){this.insertElementOnSelection(null,t,e)}else if(this.editMode===\"latex\"){o.latex=wE.getLatexFromMathML(n);if(!!this.integrationModel.fillNonLatexNode&&!o.latex){const i=new IE;i.editMode=this.editMode;i.windowTarget=e;i.focusElement=t;i.latex=o.latex;this.integrationModel.fillNonLatexNode(i,e,n)}else{o.node=e.document.createTextNode(`$$${o.latex}$$`)}this.insertElementOnSelection(o.node,t,e)}else{o.node=CE.mathmlToImgObject(e.document,n,i,this.language);this.insertElementOnSelection(o.node,t,e)}return o}afterUpdateFormula(t,e,n,i){const o=new IE;o.editMode=this.editMode;o.windowTarget=e;o.focusElement=t;o.node=n;o.latex=i;if(this.listeners.fire(\"onAfterFormulaInsertion\",o)){return{}}if(qE.globalListeners.fire(\"onAfterFormulaInsertion\",o)){return{}}return{}}placeCaretAfterNode(t){this.integrationModel.getSelection();const e=t.ownerDocument;if(typeof e.getSelection!==\"undefined\"&&!!t.parentElement){const n=e.createRange();n.setStartAfter(t);n.collapse(true);const i=e.getSelection();i.removeAllRanges();i.addRange(n);e.body.focus()}}insertElementOnSelection(t,e,n){if(this.editionProperties.isNewElement){if(t){if(e.type===\"textarea\"){kE.updateTextArea(e,t.textContent)}else if(document.selection&&document.getSelection===0){let e=n.document.selection.createRange();n.document.execCommand(\"InsertImage\",false,t.src);if(!(\"parentElement\"in e)){n.document.execCommand(\"delete\",false);e=n.document.selection.createRange();n.document.execCommand(\"InsertImage\",false,t.src)}if(\"parentElement\"in e){const n=e.parentElement();if(n.nodeName.toUpperCase()===\"IMG\"){n.parentNode.replaceChild(t,n)}else{e.pasteHTML(kE.createObjectCode(t))}}}else{const e=this.integrationModel.getSelection();let n=null;if(this.editionProperties.range){({range:n}=this.editionProperties);this.editionProperties.range=null}else{n=e.getRangeAt(0)}n.deleteContents();let i=n.startContainer;const o=n.startOffset;if(i.nodeType===3){i=i.splitText(o);i.parentNode.insertBefore(t,i)}else if(i.nodeType===1){i.insertBefore(t,i.childNodes[o])}this.placeCaretAfterNode(t)}}else if(e.type===\"textarea\"){e.focus()}else{const t=this.integrationModel.getSelection();t.removeAllRanges();if(this.editionProperties.range){const{range:e}=this.editionProperties;this.editionProperties.range=null;t.addRange(e)}}}else if(this.editionProperties.latexRange){if(document.selection&&document.getSelection===0){this.editionProperties.isNewElement=true;this.editionProperties.latexRange.select();this.insertElementOnSelection(t,e,n)}else{this.editionProperties.latexRange.deleteContents();this.editionProperties.latexRange.insertNode(t);this.placeCaretAfterNode(t)}}else if(e.type===\"textarea\"){let n;if(typeof this.integrationModel.getSelectedItem!==\"undefined\"){n=this.integrationModel.getSelectedItem(e,false)}else{n=kE.getSelectedItemOnTextarea(e)}kE.updateExistingTextOnTextarea(e,t.textContent,n.startPosition,n.endPosition)}else{if(t&&t.nodeName.toLowerCase()===\"img\"){xE.removeImgDataAttributes(this.editionProperties.temporalImage);xE.clone(t,this.editionProperties.temporalImage)}else{this.editionProperties.temporalImage.remove()}this.placeCaretAfterNode(this.editionProperties.temporalImage)}}openModalDialog(t,e){this.editMode=\"images\";try{if(e){t.contentWindow.focus();const e=t.contentWindow.getSelection();this.editionProperties.range=e.getRangeAt(0)}else{t.focus();const e=getSelection();this.editionProperties.range=e.getRangeAt(0)}}catch(t){this.editionProperties.range=null}if(e===undefined){e=true}this.editionProperties.latexRange=null;if(t){let n;if(typeof this.integrationModel.getSelectedItem!==\"undefined\"){n=this.integrationModel.getSelectedItem(t,e)}else{n=kE.getSelectedItem(t,e)}if(n){if(!n.caretPosition&&kE.containsClass(n.node,mE.get(\"imageClassName\"))){this.editionProperties.temporalImage=n.node;this.editionProperties.isNewElement=false}else if(n.node.nodeType===3){if(this.integrationModel.getMathmlFromTextNode){const t=this.integrationModel.getMathmlFromTextNode(n.node,n.caretPosition);if(t){this.editMode=\"latex\";this.editionProperties.isNewElement=false;this.editionProperties.temporalImage=document.createElement(\"img\");this.editionProperties.temporalImage.setAttribute(mE.get(\"imageMathmlAttribute\"),fE.safeXmlEncode(t))}}else{const i=wE.getLatexFromTextNode(n.node,n.caretPosition);if(i){const n=wE.getMathMLFromLatex(i.latex);this.editMode=\"latex\";this.editionProperties.isNewElement=false;this.editionProperties.temporalImage=document.createElement(\"img\");this.editionProperties.temporalImage.setAttribute(mE.get(\"imageMathmlAttribute\"),fE.safeXmlEncode(n));const o=e?t.contentWindow:window;if(t.tagName.toLowerCase()!==\"textarea\"){if(document.selection){let t=0;let e=i.startNode.previousSibling;while(e){t+=kE.getNodeLength(e);e=e.previousSibling}this.editionProperties.latexRange=o.document.selection.createRange();this.editionProperties.latexRange.moveToElementText(i.startNode.parentNode);this.editionProperties.latexRange.move(\"character\",t+i.startPosition);this.editionProperties.latexRange.moveEnd(\"character\",i.latex.length+4)}else{this.editionProperties.latexRange=o.document.createRange();this.editionProperties.latexRange.setStart(i.startNode,i.startPosition);this.editionProperties.latexRange.setEnd(i.endNode,i.endPosition)}}}}}}else if(t.tagName.toLowerCase()===\"textarea\"){this.editMode=\"latex\"}}const n=mE.get(\"editorAttributes\").split(\", \");const i={};for(let t=0,e=n.length;t<e;t+=1){const e=n[t].split(\"=\");const o=e[0];const s=e[1];i[o]=s}const o={};const s=mE.get(\"editorParameters\");const r=this.integrationModel.editorParameters;Object.assign(o,i,s);Object.assign(o,i,r);o.language=this.language;o.rtl=this.integrationModel.rtl;const a={};a.editorAttributes=o;a.language=this.language;a.customEditors=this.customEditors;a.environment=this.environment;if(this.modalDialog==null){this.modalDialog=new UE(o);this.contentManager=new ME(a);const t=pE.newListener(\"onLoad\",()=>{this.contentManager.isNewElement=this.editionProperties.isNewElement;if(this.editionProperties.temporalImage!=null){const t=fE.safeXmlDecode(this.editionProperties.temporalImage.getAttribute(mE.get(\"imageMathmlAttribute\")));this.contentManager.mathML=t}});this.contentManager.addListener(t);this.contentManager.init();this.modalDialog.setContentManager(this.contentManager);this.contentManager.setModalDialogInstance(this.modalDialog)}else{this.contentManager.isNewElement=this.editionProperties.isNewElement;if(this.editionProperties.temporalImage!=null){const t=fE.safeXmlDecode(this.editionProperties.temporalImage.getAttribute(mE.get(\"imageMathmlAttribute\")));this.contentManager.mathML=t}}this.contentManager.setIntegrationModel(this.integrationModel);this.modalDialog.open()}getCustomEditors(){return this.customEditors}}qE._globalListeners=new pE;qE._initialized=false;class GE{constructor(t){this.language=\"en\";this.serviceProviderProperties={};if(\"serviceProviderProperties\"in t){this.serviceProviderProperties=t.serviceProviderProperties}this.configurationService=\"\";if(\"configurationService\"in t){this.serviceProviderProperties.URI=t.configurationService;console.warn(\"Deprecated property configurationService. Use serviceParameters on instead.\",[t.configurationService])}this.version=\"version\"in t?t.version:\"\";this.target=null;if(\"target\"in t){this.target=t.target}else{throw new Error(\"IntegrationModel constructor error: target property missed.\")}if(\"scriptName\"in t){this.scriptName=t.scriptName}this.callbackMethodArguments={};if(\"callbackMethodArguments\"in t){this.callbackMethodArguments=t.callbackMethodArguments}this.environment={};if(\"environment\"in t){this.environment=t.environment}this.isIframe=false;if(this.target!=null){this.isIframe=this.target.tagName.toUpperCase()===\"IFRAME\"}this.editorObject=null;if(\"editorObject\"in t){this.editorObject=t.editorObject}this.rtl=false;if(\"rtl\"in t){this.rtl=t.rtl}this.managesLanguage=false;if(\"managesLanguage\"in t){this.managesLanguage=t.managesLanguage}this.temporalImageResizing=false;this.core=null;this.listeners=new pE;if(\"integrationParameters\"in t){GE.integrationParameters.forEach(e=>{if(e in t.integrationParameters){const n=t.integrationParameters[e];if(Object.keys(n).length!==0){this[e]=n}}})}}init(){this.language=this.getLanguage();const t=pE.newListener(\"onLoad\",()=>{this.callbackFunction(this.callbackMethodArguments)});if(this.serviceProviderProperties.URI.indexOf(\"configuration\")!==-1){const t=this.serviceProviderProperties.URI;const e=bE.getServerLanguageFromService(t);this.serviceProviderProperties.server=e;const n=this.serviceProviderProperties.URI.indexOf(\"configuration\");const i=this.serviceProviderProperties.URI.substring(0,n);this.serviceProviderProperties.URI=i}let e=this.serviceProviderProperties.URI;e=e.indexOf(\"/\")===0||e.indexOf(\"http\")===0?e:kE.concatenateUrl(this.getPath(),e);this.serviceProviderProperties.URI=e;const n={};n.serviceProviderProperties=this.serviceProviderProperties;this.setCore(new qE(n));this.core.addListener(t);this.core.language=this.language;this.core.init();this.core.setEnvironment(this.environment)}getPath(){if(typeof this.scriptName===\"undefined\"){throw new Error(\"scriptName property needed for getPath.\")}const t=document.getElementsByTagName(\"script\");let e=\"\";for(let n=0;n<t.length;n+=1){const i=t[n].src.lastIndexOf(this.scriptName);if(i>=0){e=t[n].src.substr(0,i-1)}}return e}setLanguage(t){this.language=t}setCore(t){this.core=t;t.setIntegrationModel(this)}getCore(){return this.core}setTarget(t){this.target=t;this.isIframe=this.target.tagName.toUpperCase()===\"IFRAME\"}setEditorObject(t){this.editorObject=t}openNewFormulaEditor(){this.core.editionProperties.isNewElement=true;this.core.openModalDialog(this.target,this.isIframe)}openExistingFormulaEditor(){this.core.editionProperties.isNewElement=false;this.core.openModalDialog(this.target,this.isIframe)}updateFormula(t){if(this.editorParameters){t=com.wiris.editor.util.EditorUtils.addAnnotation(t,\"application/vnd.wiris.mtweb-params+json\",JSON.stringify(this.editorParameters))}let e;let n;const i=null;if(this.isIframe){e=this.target.contentWindow;n=this.target.contentWindow}else{e=this.target;n=window}let o=this.core.beforeUpdateFormula(t,i);if(!o){return\"\"}o=this.insertFormula(e,n,o.mathml,o.wirisProperties);if(!o){return\"\"}return this.core.afterUpdateFormula(o.focusElement,o.windowTarget,o.node,o.latex)}insertFormula(t,e,n,i){return this.core.insertFormula(t,e,n,i)}getSelection(){if(this.isIframe){this.target.contentWindow.focus();return this.target.contentWindow.getSelection()}this.target.focus();return window.getSelection()}addEvents(){const t=this.isIframe?this.target.contentWindow.document:this.target;kE.addElementEvents(t,(t,e)=>{this.doubleClickHandler(t,e)},(t,e)=>{this.mousedownHandler(t,e)},(t,e)=>{this.mouseupHandler(t,e)})}doubleClickHandler(t){if(t.nodeName.toLowerCase()===\"img\"){this.core.getCustomEditors().disable();const e=mE.get(\"imageCustomEditorName\");if(t.hasAttribute(e)){const n=t.getAttribute(e);this.core.getCustomEditors().enable(n)}if(kE.containsClass(t,mE.get(\"imageClassName\"))){this.core.editionProperties.temporalImage=t;this.core.editionProperties.isNewElement=true;this.openExistingFormulaEditor()}}}mouseupHandler(){if(this.temporalImageResizing){setTimeout(()=>{xE.fixAfterResize(this.temporalImageResizing)},10)}}mousedownHandler(t){if(t.nodeName.toLowerCase()===\"img\"){if(kE.containsClass(t,mE.get(\"imageClassName\"))){this.temporalImageResizing=t}}}getLanguage(){return this.getBrowserLanguage()}getBrowserLanguage(){let t=\"en\";if(navigator.userLanguage){t=navigator.userLanguage.substring(0,2)}else if(navigator.language){t=navigator.language.substring(0,2)}else{t=\"en\"}return t}callbackFunction(){const t=pE.newListener(\"onTargetReady\",()=>{this.addEvents(this.target)});this.listeners.add(t)}notifyWindowClosed(){}getMathmlFromTextNode(t,e){}fillNonLatexNode(t,e,n){}getSelectedItem(t,e){}}GE.prototype.getMathmlFromTextNode=undefined;GE.prototype.fillNonLatexNode=undefined;GE.prototype.getSelectedItem=undefined;GE.integrationParameters=[\"serviceProviderProperties\",\"editorParameters\"];let KE=[\"abs\",\"and\",\"annotation\",\"annotation-xml\",\"apply\",\"approx\",\"arccos\",\"arccosh\",\"arccot\",\"arccoth\",\"arccsc\",\"arccsch\",\"arcsec\",\"arcsech\",\"arcsin\",\"arcsinh\",\"arctan\",\"arctanh\",\"arg\",\"bind\",\"bvar\",\"card\",\"cartesianproduct\",\"cbytes\",\"ceiling\",\"cerror\",\"ci\",\"cn\",\"codomain\",\"complexes\",\"compose\",\"condition\",\"conjugate\",\"cos\",\"cosh\",\"cot\",\"coth\",\"cs\",\"csc\",\"csch\",\"csymbol\",\"curl\",\"declare\",\"degree\",\"determinant\",\"diff\",\"divergence\",\"divide\",\"domain\",\"domainofapplication\",\"emptyset\",\"eq\",\"equivalent\",\"eulergamma\",\"exists\",\"exp\",\"exponentiale\",\"factorial\",\"factorof\",\"false\",\"floor\",\"fn\",\"forall\",\"gcd\",\"geq\",\"grad\",\"gt\",\"ident\",\"image\",\"imaginary\",\"imaginaryi\",\"implies\",\"in\",\"infinity\",\"int\",\"integers\",\"intersect\",\"interval\",\"inverse\",\"lambda\",\"laplacian\",\"lcm\",\"leq\",\"limit\",\"list\",\"ln\",\"log\",\"logbase\",\"lowlimit\",\"lt\",\"maction\",\"maligngroup\",\"malignmark\",\"matrix\",\"matrixrow\",\"max\",\"mean\",\"median\",\"menclose\",\"merror\",\"mfenced\",\"mfrac\",\"mglyph\",\"mi\",\"min\",\"minus\",\"mlabeledtr\",\"mlongdiv\",\"mmultiscripts\",\"mn\",\"mo\",\"mode\",\"moment\",\"momentabout\",\"mover\",\"mpadded\",\"mphantom\",\"mprescripts\",\"mroot\",\"mrow\",\"ms\",\"mscarries\",\"mscarry\",\"msgroup\",\"msline\",\"mspace\",\"msqrt\",\"msrow\",\"mstack\",\"mstyle\",\"msub\",\"msubsup\",\"msup\",\"mtable\",\"mtd\",\"mtext\",\"mtr\",\"munder\",\"munderover\",\"naturalnumbers\",\"neq\",\"none\",\"not\",\"notanumber\",\"notin\",\"notprsubset\",\"notsubset\",\"or\",\"otherwise\",\"outerproduct\",\"partialdiff\",\"pi\",\"piece\",\"piecewise\",\"plus\",\"power\",\"primes\",\"product\",\"prsubset\",\"quotient\",\"rationals\",\"real\",\"reals\",\"reln\",\"rem\",\"root\",\"scalarproduct\",\"sdev\",\"sec\",\"sech\",\"selector\",\"semantics\",\"sep\",\"set\",\"setdiff\",\"share\",\"sin\",\"sinh\",\"subset\",\"sum\",\"tan\",\"tanh\",\"tendsto\",\"times\",\"transpose\",\"true\",\"union\",\"uplimit\",\"variance\",\"vector\",\"vectorproduct\",\"xor\"];let JE=\"math\";let XE=new Map([...KE,JE].map(t=>[t,\"math-\"+t]));let QE=XE.get(JE);let ZE=[\"columnalign\",\"accentunder\",\"subscriptshift\",\"infixlinebreakstyle\",\"mslinethickness\",\"close\",\"rightoverhang\",\"longdivstyle\",\"linebreak\",\"bevelled\",\"overflow\",\"xml:lang\",\"leftoverhang\",\"columnwidth\",\"equalcolumns\",\"id\",\"fontfamily\",\"separators\",\"minlabelspacing\",\"scriptlevel\",\"height\",\"occurrence\",\"stackalign\",\"color\",\"cdgroup\",\"veryverythickmathspace\",\"rowspacing\",\"name\",\"other\",\"order\",\"macros\",\"veryverythinmathspace\",\"notation\",\"columnspan\",\"fence\",\"valign\",\"maxsize\",\"indentshiftfirst\",\"lspace\",\"lquote\",\"position\",\"crossout\",\"equalrows\",\"altimg-height\",\"voffset\",\"dir\",\"frame\",\"denomalign\",\"%XLINK.prefix;:href\",\"actiontype\",\"mode\",\"display\",\"linethickness\",\"maxwidth\",\"length\",\"columnlines\",\"movablelimits\",\"lineleading\",\"scriptsizemultiplier\",\"linebreakstyle\",\"charalign\",\"charspacing\",\"rquote\",\"altimg\",\"verythinmathspace\",\"rowlines\",\"accent\",\"groupalign\",\"separator\",\"mathbackground\",\"nargs\",\"indenttarget\",\"verythickmathspace\",\"mathsize\",\"symmetric\",\"edge\",\"open\",\"side\",\"thinmathspace\",\"fontstyle\",\"encoding\",\"selection\",\"columnspacing\",\"decimalpoint\",\"stretchy\",\"cd\",\"scriptminsize\",\"width\",\"indentalignfirst\",\"shift\",\"index\",\"linebreakmultchar\",\"xml:space\",\"scope\",\"largeop\",\"alttext\",\"altimg-valign\",\"base\",\"closure\",\"minsize\",\"indentalign\",\"framespacing\",\"definitionURL\",\"rspace\",\"numalign\",\"fontweight\",\"class\",\"rowalign\",\"form\",\"alignmentscope\",\"align\",\"%XLINK.prefix;:type\",\"depth\",\"fontsize\",\"type\",\"background\",\"displaystyle\",\"superscriptshift\",\"mediummathspace\",\"rowspan\",\"indentshiftlast\",\"location\",\"xref\",\"altimg-width\",\"thickmathspace\",\"indentalignlast\",\"mathcolor\",\"indentshift\",\"mathvariant\",\"xmlns\"];let tP=[{realName:JE,modelName:QE,definition:{allowWhere:[\"$block\",\"$inline\",\"$text\"],allowAttributes:ZE,isBlock:false,isLimit:true,isObject:true},needsCasting:true,allowsText:true},...KE.map(t=>({realName:t,modelName:XE.get(t),definition:{allowIn:[...XE.values(),XE.get(JE)],allowAttributes:ZE},needsCasting:true,allowsText:true}))];class eP{constructor(t={}){this.namespaces=t.namespaces||[];this._domParser=new DOMParser;this._domConverter=new ll({blockFillerMode:\"nbsp\"});this._htmlWriter=new ng}toData(t){const e=this._domConverter.viewToDom(t,document);return this._htmlWriter.getHtml(e)}toView(t){const e=this._toDom(t);return this._domConverter.domToView(e,{keepOriginalCase:true})}_toDom(t){const e=this.namespaces.map(t=>`xmlns:${t}=\"nsp\"`).join(\" \");t=`<xml ${e}>${t}</xml>`;const n=this._domParser.parseFromString(t,\"text/xml\");const i=n.querySelector(\"parsererror\");if(i){throw new Error(\"Parse error - \"+i.textContent)}const o=n.createDocumentFragment();const s=n.documentElement.childNodes;while(s.length>0){o.appendChild(s[0])}return o}}class nP extends eP{constructor(t={}){super(t);this._domConverter=new ll({blockFiller:Oc})}toData(t){const e=this._domConverter.viewToDom(t,document);let n=[...e.children];let i;while(i=n.pop()){if(i.nodeName.toLowerCase()==\"br\"&&i.hasAttribute(\"data-cke-filler\")&&i.closest(\"math\")){i.parentNode.removeChild(i)}for(let t of i.attributes){i.setAttribute(t.name,t.value.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\"))}n.push(...i.children)}const o=document.implementation.createHTMLDocument(\"\");const s=o.createElement(\"div\");s.appendChild(e);return s.innerHTML.replace(/&amp;/g,\"&\")}toView(t){let e=new DOMParser;t=t.replace(/&.*?;/g,t=>{let n=e.parseFromString(t,\"text/html\").body.childNodes[0].data;return n==\"<\"||n==\">\"?t:n});t=t.replace(/[\\u00A0-\\u9999]/gm,t=>\"&#\"+t.charCodeAt(0)+\";\");t=t.replace(/<(?:area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)[\\s\\S]*?>/g,t=>t.replace(/([^\\/])>/,\"$1/>\"));const n=this._toDom(t);return this._domConverter.domToView(n,{keepOriginalCase:true})}}class iP extends db{static get requires(){return[]}static get pluginName(){return\"MathML\"}init(){const t=this.editor;const e=t.model.schema;for(const{realName:n,modelName:i,definition:o,needsCasting:s}of tP){e.register(i,o);if(s){t.conversion.elementToElement({model:i,view:n});t.conversion.attributeToAttribute({model:{name:i,key:\"href\"},view:{name:n,key:\"href\"}})}}for(const e of ZE){t.conversion.attributeToAttribute({model:e,view:e})}e.extend(\"$text\",{allowIn:tP.filter(t=>t.allowsText).map(t=>t.modelName)});e.addAttributeCheck(t=>{const e=Array.from(t.getNames());if(e[e.length-1]==\"$text\"&&e.some(t=>t.startsWith(\"math-\"))){return false}});t.data.processor=new nP}}class oP extends nP{toData(t){let e=super.toData(t);const n=/<math.*?<\\/math.*?>/g;let i=e.split(n);let o=e.match(n)||[];let s,r,a;let c,l;for(let t=0;t<o.length;t++){c=o[t].indexOf(\">\")+1;l=o[t].indexOf(\"</math\",c);s=o[t].substring(0,c);r=o[t].substring(c,l);a=o[t].substring(l);r=fE.removeAnnotation(r,\"application/json\");o[t]=s+r+a}let d=i.map((t,e)=>[t,o[e]]).reduce((t,e)=>t.concat(e),[]).filter(t=>typeof t!==\"undefined\").reduce((t,e)=>t+e);d=CE.endParseEditMode(d);return d}}function sP(t){return e=>{e.on(\"insert:math-math\",(e,n,i)=>{const o=n.item;if(!i.consumable.consume(o,\"insert\")){return}for(const e of t.model.createRangeIn(o).getItems()){i.consumable.consume(e,\"insert\");for(const t of e.getAttributeKeys()){i.consumable.consume(e,\"attribute:\"+t)}}for(const t of o.getAttributeKeys()){i.consumable.consume(o,\"attribute:\"+t)}const s=new ig;const r=new oP;const a=r.toData(o).replace(/<math-/g,\"<\").replace(/<\\/math-/g,\"</\");let c;if(a.match(/<math[\\s|>]/g)){let o=CE.initParse(a,t.config.get(\"language\"));let r=s.toView(o).getChild(0);if(!r.getAttributes){console.log(\"No attrs!\");o=CE.initParse(\"<math></math>\");r=s.toView(o).getChild(0)}let l={};for(const[t,e]of r.getAttributes()){l[t]=e}c=i.writer.createEmptyElement(\"img\",l);c.getFillerOffset=()=>null;i.mapper.bindElements(n.item,c);const d=i.mapper.toViewPosition(n.range.start);i.writer.insert(d,c);e.stop()}},{priority:\"high\"})}}class rP extends GE{constructor(t){const e=t.editorObject;if(typeof e.config!=\"undefined\"&&typeof e.config.get(\"mathTypeParameters\")!=\"undefined\"){t.integrationParameters=e.config.get(\"mathTypeParameters\")}super(t);this.integrationFolderName=\"ckeditor_wiris\"}getLanguage(){return this.editorObject.config.get(\"language\")}addEditorListeners(){const t=this.editorObject;if(typeof t.config.wirislistenersdisabled==\"undefined\"||!t.config.wirislistenersdisabled){this.checkElement()}}checkElement(){const t=this.editorObject;const e=t.sourceElement;if(!e.wirisActive){this.setTarget(e);this.addEvents();e.wirisActive=true}}doubleClickHandler(t,e){if(t.nodeName.toLowerCase()==\"img\"){if(kE.containsClass(t,mE.get(\"imageClassName\"))){if(typeof e.stopPropagation!=\"undefined\"){e.stopPropagation()}else{e.returnValue=false}this.core.getCustomEditors().disable();const n=t.getAttribute(mE.get(\"imageCustomEditorName\"));if(n){this.core.getCustomEditors().enable(n)}this.core.editionProperties.temporalImage=t;this.openExistingFormulaEditor()}}}getCorePath(){return null}callbackFunction(){super.callbackFunction();this.addEditorListeners()}openNewFormulaEditor(){this.core.editionProperties.selection=this.editorObject.editing.view.document.selection;return super.openNewFormulaEditor()}insertMathml(t){return this.editorObject.model.change(e=>{const n=this.getCore();const i=new oP;let o;if(t){const e=i.toView(t);o=this.editorObject.data.toModel(e).getChild(0)}if(n.editionProperties.isNewElement){let t=this.core.editionProperties.selection||this.editorObject.editing.view.document.selection;let n=this.editorObject.editing.mapper.toModelPosition(t.getLastPosition());if(o){e.insert(o,n)}if(!t.isCollapsed){for(const n of t.getRanges()){e.remove(this.editorObject.editing.mapper.toModelRange(n))}}}else{const t=n.editionProperties.temporalImage;const i=this.editorObject.editing.view.domConverter.domToView(t);const s=this.editorObject.editing.mapper.toModelElement(i);const r=yu._createBefore(s);if(o){e.insert(o,r)}e.remove(s)}return o})}findText(t){let e=t;let n;while(!n){n=this.editorObject.editing.mapper.toModelElement(this.editorObject.editing.view.domConverter.domToView(e));e=e.parentElement}const i=this.editorObject.model.createRangeIn(n);const o=Array.from(i.getItems());for(const e of o){if(e.is(\"textProxy\")&&e.data==t.data){return e.textNode}}}insertFormula(t,e,n,i){let o={};if(!n){this.insertMathml(\"\")}else if(this.core.editMode==\"latex\"){o.latex=wE.getLatexFromMathML(n);o.node=e.document.createTextNode(\"$$\"+o.latex+\"$$\");this.editorObject.model.change(t=>{const e=this.core.editionProperties.latexRange;const n=this.findText(e.startContainer);const i=this.findText(e.endContainer);const s=t.createPositionAt(n.parent,n.startOffset+e.startOffset);const r=t.createPositionAt(i.parent,i.startOffset+e.endOffset);const a=t.createRange(s,r);t.remove(a);t.insertText(\"$$\"+o.latex+\"$$\",n.getAttributes(),s)})}else{o.node=this.editorObject.editing.view.domConverter.viewToDom(this.editorObject.editing.mapper.toViewElement(this.insertMathml(n)))}return o}notifyWindowClosed(){this.editorObject.editing.view.focus()}}class aP extends fb{constructor(t){super(t)}execute(t={}){if(!t.hasOwnProperty(\"integration\")||!(t.integration instanceof rP)){throw'Must pass a valid CKEditor5Integration instance as attribute \"integration\" of options'}const e=t.integration;e.core.getCustomEditors().disable();e.openNewFormulaEditor()}}class cP extends fb{constructor(t){super(t)}execute(t={}){if(!t.hasOwnProperty(\"integration\")||!(t.integration instanceof rP)){throw'Must pass a valid CKEditor5Integration instance as attribute \"integration\" of options'}const e=t.integration;e.core.getCustomEditors().enable(\"chemistry\");e.openNewFormulaEditor()}}var lP='<?xml version=\"1.0\" encoding=\"utf-8\"?>\\n\\x3c!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\\x3e\\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\\n\\t viewBox=\"0 0 300 261.7\" style=\"enable-background:new 0 0 300 261.7;\" xml:space=\"preserve\">\\n<style type=\"text/css\">\\n\\t.st0{fill:#FFFFFF;}\\n\\t.st1{fill:#EF4A5F;}\\n\\t.st2{fill:#C8202F;}\\n</style>\\n<path class=\"st0\" d=\"M300,32.8c0-16.4-13.4-29.7-29.9-29.7c-2.9,0-7.2,0.8-7.2,0.8c-37.9,9.1-71.3,14-112,14c-0.3,0-0.6,0-1,0\\n\\tc-16.5,0-29.9,13.3-29.9,29.7c0,16.4,13.4,29.7,29.9,29.7l0,0c45.3,0,83.1-5.3,125.3-15.3h0C289.3,59.5,300,47.4,300,32.8\"/>\\n<path class=\"st0\" d=\"M90.2,257.7c-11.4,0-21.9-6.4-27-16.7l-60-119.9c-7.5-14.9-1.4-33.1,13.5-40.5c14.9-7.5,33.1-1.4,40.5,13.5\\n\\tl27.3,54.7L121.1,39c5.3-15.8,22.4-24.4,38.2-19.1c15.8,5.3,24.4,22.4,19.1,38.2l-59.6,179c-3.9,11.6-14.3,19.7-26.5,20.6\\n\\tC91.6,257.7,90.9,257.7,90.2,257.7\"/>\\n<g>\\n\\t<g>\\n\\t\\t<path class=\"st1\" d=\"M90.2,257.7c-11.4,0-21.9-6.4-27-16.7l-60-119.9c-7.5-14.9-1.4-33.1,13.5-40.5c14.9-7.5,33.1-1.4,40.5,13.5\\n\\t\\t\\tl27.3,54.7L121.1,39c5.3-15.8,22.4-24.4,38.2-19.1c15.8,5.3,24.4,22.4,19.1,38.2l-59.6,179c-3.9,11.6-14.3,19.7-26.5,20.6\\n\\t\\t\\tC91.6,257.7,90.9,257.7,90.2,257.7\"/>\\n\\t</g>\\n</g>\\n<g>\\n\\t<g>\\n\\t\\t<path class=\"st2\" d=\"M300,32.8c0-16.4-13.4-29.7-29.9-29.7c-2.9,0-7.2,0.8-7.2,0.8c-37.9,9.1-71.3,14-112,14c-0.3,0-0.6,0-1,0\\n\\t\\t\\tc-16.5,0-29.9,13.3-29.9,29.7c0,16.4,13.4,29.7,29.9,29.7l0,0c45.3,0,83.1-5.3,125.3-15.3h0C289.3,59.5,300,47.4,300,32.8\"/>\\n\\t</g>\\n</g>\\n</svg>\\n';var dP='<?xml version=\"1.0\" encoding=\"utf-8\"?>\\n\\x3c!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\\x3e\\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\\n\\t viewBox=\"0 0 40.3 49.5\" style=\"enable-background:new 0 0 40.3 49.5;\" xml:space=\"preserve\">\\n<style type=\"text/css\">\\n\\t.st0{fill:#A4CF61;}\\n</style>\\n<path class=\"st0\" d=\"M39.2,12.1c0-1.9-1.1-3.6-2.7-4.4L24.5,0.9l0,0c-0.7-0.4-1.5-0.6-2.4-0.6c-0.9,0-1.7,0.2-2.4,0.6l0,0L2.3,10.8\\n\\tl0,0C0.9,11.7,0,13.2,0,14.9h0v19.6h0c0,1.7,0.9,3.3,2.3,4.1l0,0l17.4,9.9l0,0c0.7,0.4,1.5,0.6,2.4,0.6c0.9,0,1.7-0.2,2.4-0.6l0,0\\n\\tl12.2-6.9h0c1.5-0.8,2.6-2.5,2.6-4.3c0-2.7-2.2-4.9-4.9-4.9c-0.9,0-1.8,0.3-2.5,0.7l0,0l-9.7,5.6l-12.3-7V17.8l12.3-7l9.9,5.7l0,0\\n\\tc0.7,0.4,1.5,0.6,2.4,0.6C37,17,39.2,14.8,39.2,12.1\"/>\\n</svg>\\n';window.WirisPlugin={Core:qE,Parser:CE,Image:xE,MathML:fE,Util:kE,Configuration:mE,Listeners:pE,IntegrationModel:GE,Latex:wE};class uP extends db{static get requires(){return[iP]}static get pluginName(){return\"MathType\"}init(){const t=this.editor;t.conversion.for(\"editingDowncast\").add(sP(t));const e={};e.environment={};e.environment.editor=\"CKEditor5\";e.editorObject=t;e.serviceProviderProperties={};e.serviceProviderProperties.URI=\"https://www.wiris.net/demo/plugins/app\";e.serviceProviderProperties.server=\"java\";e.target=t.sourceElement;e.scriptName=\"bundle.js\";e.managesLanguage=true;let n;if(e.target){n=new rP(e);n.init();n.listeners.fire(\"onTargetReady\",{});n.checkElement();this.listenTo(t.editing.view.document,\"click\",(t,e)=>{if(e.domEvent.detail==2){n.doubleClickHandler(e.domTarget,e.domEvent);t.stop()}},{priority:\"highest\"})}t.commands.add(\"MathType\",new aP(t));t.commands.add(\"ChemType\",new cP(t));t.ui.componentFactory.add(\"MathType\",e=>{const i=new Sp(e);i.set({label:\"Insert a math equation - MathType\",icon:lP,tooltip:true});i.on(\"execute\",()=>{t.execute(\"MathType\",{integration:n})});return i});t.ui.componentFactory.add(\"ChemType\",e=>{const i=new Sp(e);i.set({label:\"Insert a chemistry formula - ChemType\",icon:dP,tooltip:true});i.on(\"execute\",()=>{t.execute(\"ChemType\",{integration:n})});return i});t.editing.view.addObserver(Ok);t.editing.view.document.on(\"keydown\",i);function i(t,e){if(e.keyCode==rc.arrowleft){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(t.rangeCount==1&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer;if(e.nodeName==\"img\"&&e.classList.contains(\"Wirisformula\")){t.collapse(e.parentNode,Array.from(e.parentNode.children).indexOf(e))}}}else if(e.keyCode==rc.arrowright){const t=e.domTarget.ownerDocument.defaultView.getSelection();if(t.rangeCount==1&&t.getRangeAt(0).collapsed){const e=t.getRangeAt(0).startContainer;if(e.nodeName==\"img\"&&e.classList.contains(\"Wirisformula\")){t.collapse(e.parentNode,Array.from(e.parentNode.children).indexOf(e)+1)}}}}t.data.processor=new oP}}class hP extends db{static get requires(){return[U_]}static get pluginName(){return\"MediaEmbedToolbar\"}afterInit(){const t=this.editor;const e=t.t;const n=t.plugins.get(U_);n.register(\"mediaEmbed\",{ariaLabel:e(\"d\"),items:t.config.get(\"mediaEmbed.toolbar\")||[],getRelatedElement:Px})}}class fP extends fb{refresh(){const t=this.editor.model;const e=t.document;this.isEnabled=t.schema.checkAttributeInSelection(e.selection,\"mention\")}execute(t){const e=this.editor.model;const n=e.document;const i=n.selection;const o=typeof t.mention==\"string\"?{id:t.mention}:t.mention;const s=o.id;const r=t.range||i.getFirstRange();const a=t.text||s;const c=gP({_text:a,id:s},o);if(t.marker.length!=1){throw new Qs[\"b\"](\"mentioncommand-incorrect-marker: The marker must be a single character.\",this)}if(s.charAt(0)!=t.marker){throw new Qs[\"b\"](\"mentioncommand-incorrect-id: The item id must start with the marker character.\",this)}e.change(t=>{const n=hu(i.getAttributes());const o=new Map(n.entries());o.set(\"mention\",c);e.insertContent(t.createText(a,o),r);e.insertContent(t.createText(\" \",n),r.start.getShiftedBy(a.length))})}}class mP extends db{static get pluginName(){return\"MentionEditing\"}init(){const t=this.editor;const e=t.model;const n=e.document;e.schema.extend(\"$text\",{allowAttributes:\"mention\"});t.conversion.for(\"upcast\").elementToAttribute({view:{name:\"span\",key:\"data-mention\",classes:\"mention\"},model:{key:\"mention\",value:pP}});t.conversion.for(\"downcast\").attributeToElement({model:\"mention\",view:wP});t.conversion.for(\"downcast\").add(bP);n.registerPostFixer(t=>kP(t,n,e.schema));n.registerPostFixer(t=>xP(t,n));n.registerPostFixer(t=>_P(t,n));t.commands.add(\"mention\",new fP(t))}}function gP(t,e){return Object.assign({_uid:nr()},t,e||{})}function pP(t,e){const n=t.getAttribute(\"data-mention\");const i=t.getChild(0);if(!i){return}const o={id:n,_text:i.data};return gP(o,e)}function bP(t){t.on(\"attribute:mention\",(t,e,n)=>{const i=e.attributeNewValue;if(!e.item.is(\"textProxy\")||!i){return}const o=e.range.start;const s=o.textNode||o.nodeAfter;if(s.data!=i._text){n.consumable.consume(e.item,t.name)}},{priority:\"highest\"})}function wP(t,e){if(!t){return}const n={class:\"mention\",\"data-mention\":t.id};const i={id:t._uid,priority:20};return e.createAttributeElement(\"span\",n,i)}function _P(t,e){const n=e.selection;const i=n.focus;if(n.isCollapsed&&n.hasAttribute(\"mention\")&&vP(i)){t.removeSelectionAttribute(\"mention\");return true}}function vP(t){const e=t.isAtStart;const n=t.nodeBefore&&t.nodeBefore.is(\"text\");return n||e}function kP(t,e,n){const i=e.differ.getChanges();let o=false;for(const e of i){const i=e.position;if(e.name==\"$text\"){const e=i.textNode&&i.textNode.nextSibling;o=AP(i.textNode,t)||o;o=AP(e,t)||o;o=AP(i.nodeBefore,t)||o;o=AP(i.nodeAfter,t)||o}if(e.name!=\"$text\"&&e.type==\"insert\"){const e=i.nodeAfter;for(const n of t.createRangeIn(e).getItems()){o=AP(n,t)||o}}if(e.type==\"insert\"&&n.isInline(e.name)){const e=i.nodeAfter&&i.nodeAfter.nextSibling;o=AP(i.nodeBefore,t)||o;o=AP(e,t)||o}}return o}function xP(t,e){const n=e.differ.getChanges();let i=false;for(const e of n){if(e.type===\"attribute\"&&e.attributeKey!=\"mention\"){const n=e.range.start.nodeBefore;const o=e.range.end.nodeAfter;for(const s of[n,o]){if(yP(s)&&s.getAttribute(e.attributeKey)!=e.attributeNewValue){t.setAttribute(e.attributeKey,e.attributeNewValue,s);i=true}}}}return i}function yP(t){if(!t||!(t.is(\"text\")||t.is(\"textProxy\"))||!t.hasAttribute(\"mention\")){return false}const e=t.data;const n=t.getAttribute(\"mention\");const i=n._text;return e!=i}function AP(t,e){if(yP(t)){e.removeAttribute(\"mention\",t);return true}return false}class CP{constructor(t,e){this.model=t;this.testCallback=e;this.hasMatch=false;this._startListening()}_startListening(){const t=this.model;const e=t.document;e.selection.on(\"change:range\",(t,{directChange:n})=>{if(!n){return}if(!e.selection.isCollapsed){if(this.hasMatch){this.fire(\"unmatched\");this.hasMatch=false}return}this._evaluateTextBeforeSelection(\"selection\")});e.on(\"change:data\",(t,e)=>{if(e.type==\"transparent\"){return}this._evaluateTextBeforeSelection(\"data\",{batch:e})})}_evaluateTextBeforeSelection(t,e={}){const n=this.model;const i=n.document;const o=i.selection;const s=n.createRange(n.createPositionAt(o.focus.parent,0),o.focus);const{text:r,range:a}=ab(s,n);const c=this.testCallback(r);if(!c&&this.hasMatch){this.fire(\"unmatched\")}this.hasMatch=c;if(c){const n=Object.assign(e,{text:r,range:a});this.fire(`matched:${t}`,n)}}}vr(CP,lr);var TP=n(110);class MP extends Lp{constructor(t){super(t);this.extendTemplate({attributes:{class:[\"ck-mentions\"],tabindex:\"-1\"}})}selectFirst(){this.select(0)}selectNext(){const t=this.selected;const e=this.items.getIndex(t);this.select(e+1)}selectPrevious(){const t=this.selected;const e=this.items.getIndex(t);this.select(e-1)}select(t){let e=0;if(t>0&&t<this.items.length){e=t}else if(t<0){e=this.items.length-1}const n=this.items.get(e);if(this.selected===n){return}if(this.selected){this.selected.removeHighlight()}n.highlight();this.selected=n;if(!this._isItemVisibleInScrolledArea(n)){this.element.scrollTop=n.element.offsetTop}}executeSelected(){this.selected.fire(\"execute\")}_isItemVisibleInScrolledArea(t){return new Jd(this.element).contains(new Jd(t.element))}}class EP extends Qg{constructor(t,e){super(t);this.template=false;this.domElement=e;this.domElement.classList.add(\"ck-button\");this.set(\"isOn\",false);this.on(\"change:isOn\",(t,e,n)=>{if(n){this.domElement.classList.add(\"ck-on\");this.domElement.classList.remove(\"ck-off\")}else{this.domElement.classList.add(\"ck-off\");this.domElement.classList.remove(\"ck-on\")}});this.listenTo(this.domElement,\"click\",()=>{this.fire(\"execute\")})}render(){super.render();this.element=this.domElement}}class PP extends Rp{highlight(){const t=this.children.first;t.isOn=true}removeHighlight(){const t=this.children.first;t.isOn=false}}const SP=3;class IP extends db{static get pluginName(){return\"MentionUI\"}constructor(t){super(t);this._mentionsView=this._createMentionView();this._mentionsConfigurations=new Map;t.config.define(\"mention\",{feeds:[]})}init(){const t=this.editor;this._balloon=t.plugins.get(o_);t.editing.view.document.on(\"keydown\",(t,e)=>{if(jP(e.keyCode)&&this._isUIVisible){e.preventDefault();t.stop();if(e.keyCode==rc.arrowdown){this._mentionsView.selectNext()}if(e.keyCode==rc.arrowup){this._mentionsView.selectPrevious()}if(e.keyCode==rc.enter||e.keyCode==rc.tab||e.keyCode==rc.space){this._mentionsView.executeSelected()}if(e.keyCode==rc.esc){this._hideUIAndRemoveMarker()}}},{priority:\"highest\"});Bp({emitter:this._mentionsView,activator:()=>this._isUIVisible,contextElements:[this._balloon.view.element],callback:()=>this._hideUIAndRemoveMarker()});const e=t.config.get(\"mention.feeds\");for(const t of e){const e=t.feed;const n=t.marker;if(!n||n.length!=1){throw new Qs[\"b\"](\"mentionconfig-incorrect-marker: The marker must be provided and it must be a single character.\",null)}const i=t.minimumCharacters||0;const o=typeof e==\"function\"?e.bind(this.editor):DP(e);const s=this._setupTextWatcherForFeed(n,i);const r=t.itemRenderer;const a={watcher:s,marker:n,feedCallback:o,itemRenderer:r};this._mentionsConfigurations.set(n,a)}}destroy(){super.destroy();this._mentionsView.destroy()}static get requires(){return[o_]}get _isUIVisible(){return this._balloon.visibleView===this._mentionsView}_createMentionView(){const t=this.editor.locale;const e=new MP(t);this._items=new Fa;e.items.bindTo(this._items).using(n=>{const{item:i,marker:o}=n;const s=new PP(t);const r=this._renderItem(i,o);r.delegate(\"execute\").to(s);s.children.add(r);s.item=i;s.marker=o;s.on(\"execute\",()=>{e.fire(\"execute\",{item:i,marker:o})});return s});e.on(\"execute\",(t,e)=>{const n=this.editor;const i=n.model;const o=e.item;const s=e.marker;const r=n.model.markers.get(\"mention\");const a=i.createPositionAt(i.document.selection.focus);const c=i.createPositionAt(r.getStart());const l=i.createRange(c,a);this._hideUIAndRemoveMarker();n.execute(\"mention\",{mention:o,text:o.text,marker:s,range:l});n.editing.view.focus()});return e}_getItemRenderer(t){const{itemRenderer:e}=this._mentionsConfigurations.get(t);return e}_getFeed(t,e){const{feedCallback:n}=this._mentionsConfigurations.get(t);return Promise.resolve().then(()=>n(e))}_setupTextWatcherForFeed(t,e){const n=this.editor;const i=new CP(n.model,LP(t,e));i.on(\"matched\",(e,i)=>{const o=n.model.document.selection;const s=o.focus;const r=s.textNode&&s.textNode.hasAttribute(\"mention\");const a=s.nodeBefore;if(r||a&&a.is(\"text\")&&a.hasAttribute(\"mention\")){this._hideUIAndRemoveMarker();return}const c=RP(t,i.text);const l=t.length+c.length;const d=s.getShiftedBy(-l);const u=s.getShiftedBy(-c.length);const h=n.model.createRange(d,u);let f;if(n.model.markers.has(\"mention\")){f=n.model.markers.get(\"mention\")}else{f=n.model.change(t=>t.addMarker(\"mention\",{range:h,usingOperation:false,affectsData:false}))}this._getFeed(t,c).then(e=>{this._items.clear();for(const n of e){const e=typeof n!=\"object\"?{id:n,text:n}:n;this._items.add({item:e,marker:t})}if(this._items.length){this._showUI(f)}else{this._hideUIAndRemoveMarker()}})});i.on(\"unmatched\",()=>{this._hideUIAndRemoveMarker()});return i}_showUI(t){if(this._isUIVisible){this._balloon.updatePosition(this._getBalloonPanelPositionData(t,this._mentionsView.position))}else{this._balloon.add({view:this._mentionsView,position:this._getBalloonPanelPositionData(t,this._mentionsView.position),withArrow:false,singleViewMode:true})}this._mentionsView.position=this._balloon.view.position;this._mentionsView.selectFirst()}_hideUIAndRemoveMarker(){if(this._balloon.hasView(this._mentionsView)){this._balloon.remove(this._mentionsView)}if(this.editor.model.markers.has(\"mention\")){this.editor.model.change(t=>t.removeMarker(\"mention\"))}this._mentionsView.position=undefined}_renderItem(t,e){const n=this.editor;let i;let o=t.id;const s=this._getItemRenderer(e);if(s){const e=s(t);if(typeof e!=\"string\"){i=new EP(n.locale,e)}else{o=e}}if(!i){const t=new Sp(n.locale);t.label=o;t.withText=true;i=t}return i}_getBalloonPanelPositionData(t,e){const n=this.editor;const i=this.editor.editing;const o=i.view.domConverter;const s=i.mapper;return{target:()=>{let e=t.getRange();if(e.start.root.rootName==\"$graveyard\"){e=n.model.document.selection.getFirstRange()}const i=s.toViewRange(e);const r=Jd.getDomRangeRects(o.viewRangeToDom(i));return r.pop()},limiter:()=>{const t=this.editor.editing.view;const e=t.document;const n=e.selection.editableElement;if(n){return t.domConverter.mapViewToDom(n.root)}return null},positions:OP(e)}}}function OP(t){const e={caret_se:t=>({top:t.bottom+SP,left:t.right,name:\"caret_se\"}),caret_ne:(t,e)=>({top:t.top-e.height-SP,left:t.right,name:\"caret_ne\"}),caret_sw:(t,e)=>({top:t.bottom+SP,left:t.right-e.width,name:\"caret_sw\"}),caret_nw:(t,e)=>({top:t.top-e.height-SP,left:t.right-e.width,name:\"caret_nw\"})};if(e.hasOwnProperty(t)){return[e[t]]}return[e.caret_se,e.caret_sw,e.caret_ne,e.caret_nw]}function NP(t,e){const n=e==0?\"*\":`{${e},}`;const i=Xa.features.isRegExpUnicodePropertySupported?\"\\\\p{Ps}\\\\p{Pi}\\\"'\":\"\\\\(\\\\[{\\\"'\";const o=Xa.features.isRegExpUnicodePropertySupported?\"\\\\p{L}\\\\p{N}\":\"a-zA-ZÀ-ž0-9\";const s=`(?:^|[ ${i}])([${t}])([_${o}]${n})$`;return new RegExp(s,\"u\")}function LP(t,e){const n=NP(t,e);return t=>n.test(t)}function RP(t,e){const n=NP(t,0);const i=e.match(n);return i[2]}function DP(t){return e=>{const n=t.filter(t=>{const n=typeof t==\"string\"?t:String(t.id);return n.toLowerCase().includes(e.toLowerCase())}).slice(0,10);return Promise.resolve(n)}}function jP(t){const e=[rc.arrowup,rc.arrowdown,rc.enter,rc.tab,rc.space,rc.esc];return e.includes(t)}var zP=n(112);class BP extends db{toMentionAttribute(t,e){return pP(t,e)}static get pluginName(){return\"Mention\"}static get requires(){return[mP,IP]}}const VP=\"strikethrough\";class FP extends db{static get pluginName(){return\"StrikethroughEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:VP});t.model.schema.setAttributeProperties(VP,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:VP,view:\"s\",upcastAlso:[\"del\",\"strike\",{styles:{\"text-decoration\":\"line-through\"}}]});t.commands.add(VP,new Cb(t,VP));t.keystrokes.set(\"CTRL+SHIFT+X\",\"strikethrough\")}}var HP='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9L6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z\"/><path d=\"M3 10.5V9h14v1.5z\"/></svg>';const UP=\"strikethrough\";class WP extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(UP,n=>{const i=t.commands.get(UP);const o=new Sp(n);o.set({label:e(\"w\"),icon:HP,keystroke:\"CTRL+SHIFT+X\",tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(UP));return o})}}class $P extends db{static get requires(){return[FP,WP]}static get pluginName(){return\"Strikethrough\"}}const YP=\"subscript\";class qP extends db{static get pluginName(){return\"SubscriptEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:YP});t.model.schema.setAttributeProperties(YP,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:YP,view:\"sub\",upcastAlso:[{styles:{\"vertical-align\":\"sub\"}}]});t.commands.add(YP,new Cb(t,YP))}}var GP='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z\"/></svg>';const KP=\"subscript\";class JP extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(KP,n=>{const i=t.commands.get(KP);const o=new Sp(n);o.set({label:e(\"x\"),icon:GP,tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(KP));return o})}}class XP extends db{static get requires(){return[qP,JP]}static get pluginName(){return\"Subscript\"}}const QP=\"superscript\";class ZP extends db{static get pluginName(){return\"SuperscriptEditing\"}init(){const t=this.editor;t.model.schema.extend(\"$text\",{allowAttributes:QP});t.model.schema.setAttributeProperties(QP,{isFormatting:true,copyOnEnter:true});t.conversion.attributeToElement({model:QP,view:\"sup\",upcastAlso:[{styles:{\"vertical-align\":\"super\"}}]});t.commands.add(QP,new Cb(t,QP))}}var tS='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z\"/></svg>';const eS=\"superscript\";class nS extends db{init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(eS,n=>{const i=t.commands.get(eS);const o=new Sp(n);o.set({label:e(\"y\"),icon:tS,tooltip:true,isToggleable:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(eS));return o})}}class iS extends db{static get requires(){return[ZP,nS]}static get pluginName(){return\"Superscript\"}}const oS=\"todoListChecked\";class sS extends fb{constructor(t){super(t);this._selectedElements=[];this.on(\"execute\",()=>{this.refresh()},{priority:\"highest\"})}refresh(){this._selectedElements=this._getSelectedItems();this.value=this._selectedElements.every(t=>!!t.getAttribute(\"todoListChecked\"));this.isEnabled=!!this._selectedElements.length}_getSelectedItems(){const t=this.editor.model;const e=t.schema;const n=t.document.selection.getFirstRange();const i=n.start.parent;const o=[];if(e.checkAttribute(i,oS)){o.push(i)}for(const t of n.getItems()){if(e.checkAttribute(t,oS)&&!o.includes(t)){o.push(t)}}return o}execute(t={}){this.editor.model.change(e=>{for(const n of this._selectedElements){const i=t.forceValue===undefined?!this.value:t.forceValue;if(i){e.setAttribute(oS,true,n)}else{e.removeAttribute(oS,n)}}})}}var rS=\"[object String]\";function aS(t){return typeof t==\"string\"||!Ke(t)&&T(t)&&v(t)==rS}var cS=aS;function lS(t,e,n={},i=[]){const o=n&&n.xmlns;const s=o?t.createElementNS(o,e):t.createElement(e);for(const t in n){s.setAttribute(t,n[t])}if(cS(i)||!Pr(i)){i=[i]}for(let e of i){if(cS(e)){e=t.createTextNode(e)}s.appendChild(e)}return s}function dS(t,e){return(n,i,o)=>{const s=o.consumable;if(!s.test(i.item,\"insert\")||!s.test(i.item,\"attribute:listType\")||!s.test(i.item,\"attribute:listIndent\")){return}if(i.item.getAttribute(\"listType\")!=\"todo\"){return}const r=i.item;s.consume(r,\"insert\");s.consume(r,\"attribute:listType\");s.consume(r,\"attribute:listIndent\");s.consume(r,\"attribute:todoListChecked\");const a=o.writer;const c=Kk(r,o);const l=!!r.getAttribute(\"todoListChecked\");const d=bS(r,a,l,e);a.addClass(\"todo-list\",c.parent);a.insert(a.createPositionAt(c,0),d);Jk(r,c,o,t)}}function uS(t){return(e,n,i)=>{const o=i.consumable;if(!o.test(n.item,\"insert\")||!o.test(n.item,\"attribute:listType\")||!o.test(n.item,\"attribute:listIndent\")){return}if(n.item.getAttribute(\"listType\")!=\"todo\"){return}o.consume(n.item,\"insert\");o.consume(n.item,\"attribute:listType\");o.consume(n.item,\"attribute:listIndent\");const s=i.writer;const r=n.item;const a=Kk(r,i);s.addClass(\"todo-list\",a.parent);const c=s.createAttributeElement(\"label\",{class:\"todo-list__label\"});const l=s.createEmptyElement(\"input\",{type:\"checkbox\",disabled:\"disabled\"});if(n.item.getAttribute(\"todoListChecked\")){s.setAttribute(\"checked\",\"checked\",l);s.addClass(\"todo-list__label\",c)}s.insert(s.createPositionAt(a,0),l);s.wrap(s.createRangeOn(l),c);Jk(r,a,i,t)}}function hS(t,e,n){const i=e.range.start.parent;if(i.name!=\"listItem\"||i.getAttribute(\"listType\")!=\"todo\"){return}if(!n.consumable.consume(e.item,\"insert\")){return}const o=n.writer;const s=n.mapper.toViewPosition(e.range.start);const r=o.createText(e.item.data);const a=o.createAttributeElement(\"span\",{class:\"todo-list__label__description\"});const c=s.parent.getChild(0);o.insert(o.createPositionAt(s.parent,\"end\"),r);o.wrap(o.createRangeOn(r),a);o.wrap(o.createRangeOn(r.parent),c)}function fS(t,e,n){const i=e.modelCursor;const o=i.parent;const s=e.viewItem;if(s.getAttribute(\"type\")!=\"checkbox\"||o.name!=\"listItem\"||!i.isAtStart){return}if(!n.consumable.consume(s,{name:true})){return}const r=n.writer;r.setAttribute(\"listType\",\"todo\",o);if(e.viewItem.hasAttribute(\"checked\")){r.setAttribute(\"todoListChecked\",true,o)}e.modelRange=r.createRange(i)}function mS(t,e){return(n,i,o)=>{const s=o.mapper.toViewElement(i.item);const r=o.writer;if(i.attributeNewValue==\"todo\"){const e=!!i.item.getAttribute(\"todoListChecked\");const n=bS(i.item,r,e,t);r.addClass(\"todo-list\",s.parent);r.insert(r.createPositionAt(s,0),n)}else if(i.attributeOldValue==\"todo\"){r.removeClass(\"todo-list\",s.parent);r.remove(wS(s,e))}}}function gS(t){return(e,n,i)=>{if(n.item.getAttribute(\"listType\")!=\"todo\"){return}if(!i.consumable.consume(n.item,\"attribute:todoListChecked\")){return}const{mapper:o,writer:s}=i;const r=!!n.item.getAttribute(\"todoListChecked\");const a=o.toViewElement(n.item);const c=a.getChild(0);const l=bS(n.item,s,r,t);s.insert(s.createPositionAfter(c),l);s.remove(c)}}function pS(t,e){return(n,i)=>{const o=i.modelPosition;const s=o.parent;if(!s.is(\"listItem\")||s.getAttribute(\"listType\")!=\"todo\"||o.offset!==0){return}const r=e.toViewElement(s);const a=wS(r,t);if(!a){return}if(a.nextSibling&&!a.nextSibling.is(\"uiElement\")){i.viewPosition=t.createPositionAt(a.nextSibling,0)}else{i.viewPosition=t.createPositionAfter(a)}}}function bS(t,e,n,i){const o=e.createUIElement(\"label\",{class:\"todo-list__label\",contenteditable:false},(function(e){const o=lS(document,\"input\",{type:\"checkbox\"});if(n){o.setAttribute(\"checked\",\"checked\")}o.addEventListener(\"change\",()=>i(t));const s=this.toDomElement(e);s.appendChild(o);return s}));return o}function wS(t,e){const n=e.createRangeIn(t);for(const t of n){if(t.item.is(\"uiElement\",\"label\")){return t.item}}}class _S extends db{static get pluginName(){return\"TodoListEditing\"}static get requires(){return[kx]}init(){const t=this.editor;const{editing:e,data:n,model:i}=t;i.schema.extend(\"listItem\",{allowAttributes:[\"todoListChecked\"]});i.schema.addAttributeCheck((t,e)=>{const n=t.last;if(e==\"todoListChecked\"&&n.name==\"listItem\"&&n.getAttribute(\"listType\")!=\"todo\"){return false}});t.commands.add(\"todoList\",new Wk(t,\"todo\"));t.commands.add(\"todoListCheck\",new sS(t));n.downcastDispatcher.on(\"insert:listItem\",uS(i),{priority:\"high\"});n.downcastDispatcher.on(\"insert:$text\",hS,{priority:\"high\"});e.downcastDispatcher.on(\"insert:listItem\",dS(i,t=>this._handleCheckmarkChange(t)),{priority:\"high\"});e.downcastDispatcher.on(\"attribute:listType:listItem\",mS(t=>this._handleCheckmarkChange(t),e.view));e.downcastDispatcher.on(\"attribute:todoListChecked:listItem\",gS(t=>this._handleCheckmarkChange(t)));e.mapper.on(\"modelToViewPosition\",pS(e.view,e.mapper));n.upcastDispatcher.on(\"element:input\",fS,{priority:\"high\"});const o=t.locale.contentLanguageDirection===\"ltr\"?\"arrowleft\":\"arrowright\";t.keystrokes.set(o,(t,e)=>vS(e,i));t.keystrokes.set(\"Ctrl+space\",()=>t.execute(\"todoListCheck\"));const s=new Set;this.listenTo(i,\"applyOperation\",(t,e)=>{const n=e[0];if(n.type==\"rename\"&&n.oldName==\"listItem\"){const t=n.position.nodeAfter;if(t.hasAttribute(\"todoListChecked\")){s.add(t)}}else if(n.type==\"changeAttribute\"&&n.key==\"listType\"&&n.oldValue===\"todo\"){for(const t of n.range.getItems()){if(t.hasAttribute(\"todoListChecked\")&&t.getAttribute(\"listType\")!==\"todo\"){s.add(t)}}}});i.document.registerPostFixer(t=>{let e=false;for(const n of s){t.removeAttribute(\"todoListChecked\",n);e=true}s.clear();return e})}_handleCheckmarkChange(t){const e=this.editor;const n=e.model;const i=Array.from(n.document.selection.getRanges());n.change(n=>{n.setSelection(t,\"end\");e.execute(\"todoListCheck\");n.setSelection(i)})}}function vS(t,e){const n=e.schema;const i=e.document.selection;if(!i.isCollapsed){return}const o=i.getFirstPosition();const s=o.parent;if(s.name===\"listItem\"&&s.getAttribute(\"listType\")==\"todo\"&&o.isAtStart){const i=n.getNearestSelectionRange(e.createPositionBefore(s),\"backward\");if(i){t();e.change(t=>t.setSelection(i))}}}var kS='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.3148 14.7048l2.2237-2.2406c.2661-.2622.6975-.2622.9636 0a.6644.6644 0 0 1 0 .9494l-2.6373 2.6573a.6823.6823 0 0 1-.1115.089c-.2526.1968-.6193.1797-.852-.0512L.6885 14.886a.6352.6352 0 0 1 0-.9032.6471.6471 0 0 1 .9102 0l.7161.722zM7.5 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5c-.414 0-.75-.336-.75-.75zM2.3288 5.7453l2.2097-2.2265c.2661-.2622.6975-.2622.9636 0a.6644.6644 0 0 1 0 .9494L2.8648 7.1256a.6848.6848 0 0 1-.4953.1965.6444.6444 0 0 1-.4682-.187L.6885 5.9125a.6352.6352 0 0 1 0-.9033.6471.6471 0 0 1 .9102 0l.7301.7361zM7.5 5.75A.75.75 0 0 1 8.25 5h9.5a.75.75 0 1 1 0 1.5h-9.5c-.414 0-.75-.336-.75-.75z\"/></svg>';class xS extends db{init(){const t=this.editor.t;tx(this.editor,\"todoList\",t(\"ah\"),kS)}}var yS=n(114);class AS extends db{static get requires(){return[_S,xS]}static get pluginName(){return\"TodoList\"}}function CS(t){if(t.is(\"text\")||t.is(\"textProxy\")){return t.data}let e=\"\";let n=null;for(const i of t.getChildren()){const t=CS(i);if(n&&n.is(\"element\")){e+=\"\\n\"}e+=t;n=i}return e}var TS=\"Expected a function\";function MS(t,e,n){var i=true,o=true;if(typeof t!=\"function\"){throw new TypeError(TS)}if(ct(n)){i=\"leading\"in n?!!n.leading:i;o=\"trailing\"in n?!!n.trailing:o}return Vd(t,e,{leading:i,maxWait:e,trailing:o})}var ES=MS;class PS extends db{constructor(t){super(t);this.set(\"characters\",0);this.set(\"words\",0);Object.defineProperties(this,{characters:{get(){return this.characters=this._getCharacters()}},words:{get(){return this.words=this._getWords()}}});this.set(\"_wordsLabel\");this.set(\"_charactersLabel\");this._config=t.config.get(\"wordCount\")||{};this._outputView;this._wordsMatchRegExp=Xa.features.isRegExpUnicodePropertySupported?new RegExp(\"[\\\\p{L}\\\\p{N}\\\\p{M}\\\\p{Pd}\\\\p{Pc}]+\",\"gu\"):/[_\\-a-zA-Z0-9À-ž]+/gu}static get pluginName(){return\"WordCount\"}init(){const t=this.editor;t.model.document.on(\"change:data\",ES(this._refreshStats.bind(this),250));if(typeof this._config.onUpdate==\"function\"){this.on(\"update\",(t,e)=>{this._config.onUpdate(e)})}if(Gs(this._config.container)){this._config.container.appendChild(this.wordCountContainer)}}destroy(){if(this._outputView){this._outputView.element.remove();this._outputView.destroy()}super.destroy()}get wordCountContainer(){const t=this.editor;const e=t.t;const n=t.config.get(\"wordCount.displayWords\");const i=t.config.get(\"wordCount.displayCharacters\");const o=Cg.bind(this,this);const s=[];if(!this._outputView){this._outputView=new Qg;if(n||n===undefined){this.bind(\"_wordsLabel\").to(this,\"words\",t=>e(\"f\",[t]));s.push({tag:\"div\",children:[{text:[o.to(\"_wordsLabel\")]}],attributes:{class:\"ck-word-count__words\"}})}if(i||i===undefined){this.bind(\"_charactersLabel\").to(this,\"characters\",t=>e(\"g\",[t]));s.push({tag:\"div\",children:[{text:[o.to(\"_charactersLabel\")]}],attributes:{class:\"ck-word-count__characters\"}})}this._outputView.setTemplate({tag:\"div\",attributes:{class:[\"ck\",\"ck-word-count\"]},children:s});this._outputView.render()}return this._outputView.element}_getCharacters(){const t=CS(this.editor.model.document.getRoot());return t.replace(/\\n/g,\"\").length}_getWords(){const t=CS(this.editor.model.document.getRoot());const e=t.match(this._wordsMatchRegExp)||[];return e.length}_refreshStats(){const t=this.words=this._getWords();const e=this.characters=this._getCharacters();this.fire(\"update\",{words:t,characters:e})}}const SS=new Set([\"paragraph\",\"heading1\",\"heading2\",\"heading3\",\"heading4\",\"heading5\",\"heading6\"]);class IS extends db{static get pluginName(){return\"Title\"}static get requires(){return[Lb]}init(){const t=this.editor;const e=t.model;this._bodyPlaceholder=null;e.schema.register(\"title\",{isBlock:true,allowIn:\"$root\"});e.schema.register(\"title-content\",{isBlock:true,allowIn:\"title\",allowAttributes:[\"alignment\"]});e.schema.extend(\"$text\",{allowIn:\"title-content\"});e.schema.addAttributeCheck(t=>{if(t.endsWith(\"title-content $text\")){return false}});t.editing.mapper.on(\"modelToViewPosition\",NS(t.editing.view));t.data.mapper.on(\"modelToViewPosition\",NS(t.editing.view));t.conversion.for(\"downcast\").elementToElement({model:\"title-content\",view:\"h1\"});t.data.upcastDispatcher.on(\"element:h1\",OS,{priority:\"high\"});t.data.upcastDispatcher.on(\"element:h2\",OS,{priority:\"high\"});t.data.upcastDispatcher.on(\"element:h3\",OS,{priority:\"high\"});e.document.registerPostFixer(t=>this._fixTitleContent(t));e.document.registerPostFixer(t=>this._fixTitleElement(t));e.document.registerPostFixer(t=>this._fixBodyElement(t));e.document.registerPostFixer(t=>this._fixExtraParagraph(t));this._attachPlaceholders();this._attachTabPressHandling()}getTitle(){const t=this._getTitleElement();const e=t.getChild(0);return this.editor.data.stringify(e)}getBody(){const t=this.editor.data;const e=this.editor.model;const n=this.editor.model.document.getRoot();const i=new wc(new Ha);const o=e.createRangeIn(n);const s=new pc;t.mapper.clearBindings();t.mapper.bindElements(n,s);t.downcastDispatcher.convertInsert(o,i);const r=e.createPositionAfter(n.getChild(0));const a=e.createRange(r,e.createPositionAt(n,\"end\"));for(const n of e.markers){const e=a.getIntersection(n.getRange());if(e){t.downcastDispatcher.convertMarkerAdd(n.name,e,i)}}i.remove(i.createRangeOn(s.getChild(0)));return this.editor.data.processor.toData(s)}_getTitleElement(){const t=this.editor.model.document.getRoot();for(const e of t.getChildren()){if(LS(e)){return e}}}_fixTitleContent(t){const e=this._getTitleElement();if(!e||e.maxOffset===1){return false}const n=Array.from(e.getChildren());n.shift();for(const i of n){t.move(t.createRangeOn(i),e,\"after\");t.rename(i,\"paragraph\")}return true}_fixTitleElement(t){const e=this.editor.model;const n=e.document.getRoot();const i=Array.from(n.getChildren()).filter(LS);const o=i[0];const s=n.getChild(0);if(s.is(\"title\")){return DS(i,t,e)}if(!o&&!SS.has(s.name)){const e=t.createElement(\"title\");t.insert(e,n);t.insertElement(\"title-content\",e);return true}if(SS.has(s.name)){RS(s,t,e)}else{t.move(t.createRangeOn(o),n,0)}DS(i,t,e);return true}_fixBodyElement(t){const e=this.editor.model.document.getRoot();if(e.childCount<2){this._bodyPlaceholder=t.createElement(\"paragraph\");t.insert(this._bodyPlaceholder,e,1);return true}return false}_fixExtraParagraph(t){const e=this.editor.model.document.getRoot();const n=this._bodyPlaceholder;if(zS(n,e)){this._bodyPlaceholder=null;t.remove(n);return true}return false}_attachPlaceholders(){const t=this.editor;const e=t.t;const n=t.editing.view;const i=n.document.getRoot();const o=t.sourceElement;const s=t.config.get(\"title.placeholder\")||e(\"a\");const r=t.config.get(\"placeholder\")||o&&o.tagName.toLowerCase()===\"textarea\"&&o.getAttribute(\"placeholder\")||e(\"b\");t.editing.downcastDispatcher.on(\"insert:title-content\",(t,e,i)=>{hg({view:n,element:i.mapper.toViewElement(e.item),text:s})});let a;n.document.registerPostFixer(t=>{const e=i.getChild(1);let n=false;if(e!==a){if(a){gg(t,a);t.removeAttribute(\"data-placeholder\",a)}t.setAttribute(\"data-placeholder\",r,e);a=e;n=true}if(pg(e)&&i.childCount===2&&e.name===\"p\"){n=mg(t,e)?true:n}else{n=gg(t,e)?true:n}return n})}_attachTabPressHandling(){const t=this.editor;const e=t.model;t.keystrokes.set(\"TAB\",(t,n)=>{e.change(t=>{const i=e.document.selection;const o=Array.from(i.getSelectedBlocks());if(o.length===1&&o[0].is(\"title-content\")){const i=e.document.getRoot().getChild(1);t.setSelection(i,0);n()}})});t.keystrokes.set(\"SHIFT + TAB\",(n,i)=>{e.change(n=>{const o=e.document.selection;if(!o.isCollapsed){return}const s=t.model.document.getRoot();const r=gb(o.getSelectedBlocks());const a=o.getFirstPosition();const c=s.getChild(0);const l=s.getChild(1);if(r===l&&a.isAtStart){n.setSelection(c.getChild(0),0);i()}})})}}function OS(t,e,n){const i=e.modelCursor;const o=e.viewItem;if(!i.isAtStart||!i.parent.is(\"$root\")){return}if(!n.consumable.consume(o,{name:true})){return}const s=n.writer;const r=s.createElement(\"title\");const a=s.createElement(\"title-content\");s.append(a,r);s.insert(r,i);n.convertChildren(o,s.createPositionAt(a,0));e.modelRange=s.createRangeOn(r);e.modelCursor=s.createPositionAt(e.modelRange.end)}function NS(t){return(e,n)=>{const i=n.modelPosition.parent;if(!i.is(\"title\")){return}const o=i.parent;const s=n.mapper.toViewElement(o);n.viewPosition=t.createPositionAt(s,0);e.stop()}}function LS(t){return t.is(\"title\")}function RS(t,e,n){const i=e.createElement(\"title\");e.insert(i,t,\"before\");e.insert(t,i,0);e.rename(t,\"title-content\");n.schema.removeDisallowedAttributes([t],e)}function DS(t,e,n){let i=false;for(const o of t){if(o.index!==0){jS(o,e,n);i=true}}return i}function jS(t,e,n){const i=t.getChild(0);if(i.isEmpty){e.remove(t);return}e.move(e.createRangeOn(i),t,\"before\");e.rename(i,\"paragraph\");e.remove(t);n.schema.removeDisallowedAttributes([i],e)}function zS(t,e){if(!t||!t.is(\"paragraph\")||t.childCount){return false}if(e.childCount<=2||e.getChild(e.childCount-1)!==t){return false}return true}var BS='<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.69 14.915c.053.052.173.083.36.093a.366.366 0 0 1 .345.485l-.003.01a.738.738 0 0 1-.697.497h-2.67a.374.374 0 0 1-.353-.496l.013-.038a.681.681 0 0 1 .644-.458c.197-.012.325-.043.386-.093a.28.28 0 0 0 .072-.11L9.592 4.5H6.269c-.359-.017-.609.013-.75.09-.142.078-.289.265-.442.563-.192.29-.516.464-.864.464H4.17a.43.43 0 0 1-.407-.569L4.46 3h13.08l-.62 2.043a.81.81 0 0 1-.775.574h-.114a.486.486 0 0 1-.486-.486c.001-.284-.054-.464-.167-.54-.112-.076-.367-.106-.766-.091h-3.28l-2.68 10.257c-.006.074.007.127.038.158zM3 17h8a.5.5 0 1 1 0 1H3a.5.5 0 1 1 0-1zm11.299 1.17a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.06-1.06l1.415 1.414 1.414-1.415a.75.75 0 1 1 1.06 1.06l-1.413 1.415 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414-1.414 1.414z\"/></svg>';const VS=\"removeFormat\";class FS extends db{static get pluginName(){return\"RemoveFormatUI\"}init(){const t=this.editor;const e=t.t;t.ui.componentFactory.add(VS,n=>{const i=t.commands.get(VS);const o=new Sp(n);o.set({label:e(\"ai\"),icon:BS,tooltip:true});o.bind(\"isOn\",\"isEnabled\").to(i,\"value\",\"isEnabled\");this.listenTo(o,\"execute\",()=>t.execute(VS));return o})}}class HS extends fb{refresh(){const t=this.editor.model;this.isEnabled=!!gb(this._getFormattingItems(t.document.selection,t.schema))}execute(){const t=this.editor.model;const e=t.schema;t.change(n=>{for(const i of this._getFormattingItems(t.document.selection,e)){if(i.is(\"selection\")){for(const t of this._getFormattingAttributes(i,e)){n.removeSelectionAttribute(t)}}else{const t=n.createRangeOn(i);for(const o of this._getFormattingAttributes(i,e)){n.removeAttribute(o,t)}}}})}*_getFormattingItems(t,e){const n=t=>!!gb(this._getFormattingAttributes(t,e));for(const e of t.getRanges()){for(const t of e.getItems()){if(n(t)){yield t}}}if(n(t)){yield t}}*_getFormattingAttributes(t,e){for(const[n]of t.getAttributes()){const t=e.getAttributeProperties(n);if(t&&t.isFormatting){yield n}}}}class US extends db{static get pluginName(){return\"RemoveFormatEditing\"}init(){const t=this.editor;t.commands.add(\"removeFormat\",new HS(t))}}class WS extends db{static get requires(){return[US,FS]}static get pluginName(){return\"RemoveFormat\"}}class $S extends db{static get pluginName(){return\"PendingActions\"}init(){this.set(\"hasAny\",false);this._actions=new Fa({idProperty:\"_id\"});this._actions.delegate(\"add\",\"remove\").to(this)}add(t){if(typeof t!==\"string\"){throw new Qs[\"b\"](\"pendingactions-add-invalid-message: The message must be a string.\",this)}const e=Object.create(_a);e.set(\"message\",t);this._actions.add(e);this.hasAny=true;return e}remove(t){this._actions.remove(t);this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}var YS=[\"isCollapsed\",\"execute\",\"change\",\"addMarker\",\"getFirstRange\",\"editor\",\"model\",\"document\",\"selection\",\"isEnabled\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(YS,425);var qS=function(t,e){t=t-0;var n=YS[t];return n};class GS extends fb{[\"refresh\"](){const t=this[qS(\"0x0\")][qS(\"0x1\")][qS(\"0x2\")][qS(\"0x3\")];this[qS(\"0x4\")]=!t[qS(\"0x5\")]}[qS(\"0x6\")]({threadId:t=nr()}={}){const e=this[qS(\"0x0\")][qS(\"0x1\")];e[qS(\"0x7\")](n=>{n[qS(\"0x8\")](\"comment:\"+t,{range:e[\"document\"][qS(\"0x3\")][qS(\"0x9\")](),usingOperation:!1,affectData:!1})})}}var KS=[\"comment:\",\"removeMarker\",\"execute\",\"markers\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(KS,150);var JS=function(t,e){t=t-0;var n=KS[t];return n};class XS extends fb{[JS(\"0x0\")]({threadId:t}){const e=this[\"editor\"][\"model\"],n=e[JS(\"0x1\")][\"get\"](JS(\"0x2\")+t);n&&e[\"change\"](t=>{t[JS(\"0x3\")](n)})}}var QS=[\"length\",\"change\",\"updateMarker\",\"adapter\",\"addComment\",\"pendingComments\",\"set\",\"then\",\"remove\",\"adapter-\",\"createdAt\",\"updateComment\",\"catch\",\"error\",\"addcommentcommand-internal-error: Adding comment threw an error.\",\"resolve\",\"author\",\"editor\",\"model\",\"threads\",\"get\",\"markers\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(QS,302);var ZS=function(t,e){t=t-0;var n=QS[t];return n};class tI extends fb{constructor(t,e,n){super(t),this[\"$\"]=e,this[\"O\"]=n}get[ZS(\"0x0\")](){return this[\"O\"][\"me\"]}[\"execute\"]({threadId:t,commentId:e=nr(),content:n}){const i=this[ZS(\"0x1\")][ZS(\"0x2\")],o=this[\"$\"],s=o[ZS(\"0x3\")][ZS(\"0x4\")](t);o[\"addComment\"]({threadId:t,commentId:e,content:n,authorId:this[\"author\"][\"id\"],createdAt:new Date});const r=i[ZS(\"0x5\")][ZS(\"0x4\")](\"comment:\"+t);return r&&1===s[ZS(\"0x6\")]&&i[ZS(\"0x7\")](t=>{t[ZS(\"0x8\")](r,{usingOperation:!0,affectsData:!0})}),o[ZS(\"0x9\")]&&\"function\"==typeof o[ZS(\"0x9\")][ZS(\"0xa\")]?(o[ZS(\"0xb\")][ZS(\"0xc\")](\"adapter-\"+e),o[ZS(\"0x9\")][ZS(\"0xa\")]({threadId:t,commentId:e,content:n})[ZS(\"0xd\")](n=>{o[ZS(\"0xb\")][ZS(\"0xe\")](ZS(\"0xf\")+e),n&&n[ZS(\"0x10\")]&&o[ZS(\"0x11\")]({threadId:t,commentId:e,createdAt:n[ZS(\"0x10\")]})})[ZS(\"0x12\")](t=>{throw console[ZS(\"0x13\")](t),new Qs[\"b\"](ZS(\"0x14\"),this)})):Promise[ZS(\"0x15\")]()}}var eI=[\"remove\",\"catch\",\"error\",\"updatecommentcommand-internal-error: Updating comment resulted in an error\",\"execute\",\"_commentIdToThreadId\",\"get\",\"updateComment\",\"adapter\",\"function\",\"pendingComments\",\"adapter-\",\"then\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(eI,212);var nI=function(t,e){t=t-0;var n=eI[t];return n};class iI extends fb{constructor(t,e,n){super(t),this[\"$\"]=e,this[\"O\"]=n}[nI(\"0x0\")]({commentId:t,content:e}){const n=this[\"$\"],i=n[nI(\"0x1\")][nI(\"0x2\")](t);return n[nI(\"0x3\")]({commentId:t,content:e}),n[nI(\"0x4\")]&&nI(\"0x5\")==typeof n[\"adapter\"][\"updateComment\"]?(n[nI(\"0x6\")][\"set\"](nI(\"0x7\")+t),n[nI(\"0x4\")][nI(\"0x3\")]({threadId:i,commentId:t,content:e})[nI(\"0x8\")](()=>n[nI(\"0x6\")][nI(\"0x9\")](nI(\"0x7\")+t))[nI(\"0xa\")](t=>{throw console[nI(\"0xb\")](t),new Qs[\"b\"](nI(\"0xc\"),this)})):Promise[\"resolve\"]()}[\"isEnabledForComment\"](t){return this[\"O\"][\"me\"]===t[\"author\"]}}var oI=[\"remove\",\"catch\",\"error\",\"resolve\",\"isEnabledForComment\",\"author\",\"_commentIdToThreadId\",\"get\",\"function\",\"removeComment\",\"pendingComments\",\"adapter-\",\"adapter\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(oI,201);var sI=function(t,e){t=t-0;var n=oI[t];return n};class rI extends fb{constructor(t,e,n){super(t),this[\"$\"]=e,this[\"O\"]=n}[\"execute\"]({commentId:t}){const e=this[\"$\"],n=e[sI(\"0x0\")][sI(\"0x1\")](t);return e[\"removeComment\"](t),e[\"adapter\"]&&sI(\"0x2\")==typeof e[\"adapter\"][sI(\"0x3\")]?(e[sI(\"0x4\")][\"set\"](sI(\"0x5\")+t),e[sI(\"0x6\")][sI(\"0x3\")]({threadId:n,commentId:t})[\"then\"](()=>e[sI(\"0x4\")][sI(\"0x7\")](sI(\"0x5\")+t))[sI(\"0x8\")](t=>{throw console[sI(\"0x9\")](t),new Qs[\"b\"](\"removecommentcommand-internal-error: Removing comment error.\",this)})):Promise[sI(\"0xa\")]()}[sI(\"0xb\")](t){return this[\"O\"][\"me\"]===t[sI(\"0xc\")]}}var aI=n(116);var cI=[\"user-invalid-id: The ID must be a string.\",\"color\",\"trim\",\"name\",\"avatar\",\"isAnonymous\",\"Anonymous\",\"map\",\"charAt\",\"join\",\"toUpperCase\",\"ck-user__bg-color--\",\"getSelectionClass\",\"ck-user__selection--\",\"getMarkerClass\",\"ck-user__marker--\",\"pluginName\",\"Users\",\"getOperationAuthor\",\"config\",\"get\",\"users.colorsCount\",\"init\",\"editor\",\"users\",\"licenseKey\",\"licenseKeyTrial\",\"licenseKeyInvalid\",\"licenseKeyValid\",\"info\",\"You are using the trial version of CKEditor 5 collaboration plugin with limited usage. Make sure you will not use it in the production environment.\",\"licenseKeyTrialLimit\",\"trial-license-key-reached-limit: You have exhausted the trial usage limit. You need to restart the editor now. Please contact our customer support to get a full access at https://ckeditor.com/contact/.\",\"addUser\",\"add\",\"getUser\",\"defineMe\",\"users-me-already-defined: Cannot add a local user more than once.\",\"warn\",\"anonymous-user\",\"isReadOnly\",\"destroy\",\"string\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(cI,317);var lI=function(t,e){t=t-0;var n=cI[t];return n};class dI extends db{static get[lI(\"0x0\")](){return lI(\"0x1\")}constructor(t){super(t),this[\"s\"]=null,this[\"decorate\"](lI(\"0x2\")),this[\"i\"]=t[lI(\"0x3\")][lI(\"0x4\")](lI(\"0x5\"))||8}[lI(\"0x6\")](){const t=this[lI(\"0x7\")];this[lI(\"0x8\")]=new Fa,this[\"o\"]=0,this[\"licenseKey\"]=t[lI(\"0x3\")][lI(\"0x4\")](lI(\"0x9\"));let e=!1;this[\"s\"]=setInterval(()=>{let n;for(const e in t){const i=t[e];lI(\"0xa\")!==i&&lI(\"0xb\")!==i&&lI(\"0xc\")!==i||(n=i)}if(lI(\"0xb\")===n)throw this[\"l\"](),new Qs[\"b\"](\"invalid-license-key: Invalid license key. Please contact our customer support at https://ckeditor.com/contact/.\",null);if(lI(\"0xa\")!==n)n&&clearInterval(this[\"s\"]);else{e||(console[lI(\"0xd\")](lI(\"0xe\")),e=!0);for(const e in t)if(lI(\"0xf\")===t[e])throw this[\"l\"](),new Qs[\"b\"](lI(\"0x10\"),null)}},2e3)}[lI(\"0x11\")](t){t=Object[\"assign\"]({},t,{color:this[\"u\"]()});const e=new uI(t,this[lI(\"0x7\")]);return this[\"users\"][lI(\"0x12\")](e),e}[lI(\"0x13\")](t){return this[\"users\"][lI(\"0x4\")](t)}[lI(\"0x14\")](t){if(this[\"h\"])throw new Qs[\"b\"](lI(\"0x15\"),null);if(!this[lI(\"0x13\")](t))throw new Qs[\"b\"](\"users-me-missing-user: Cannot add an undefined user as a local user.\",null);this[\"h\"]=t}get[\"me\"](){if(!this[\"h\"]){console[lI(\"0x16\")](Object(Qs[\"a\"])(\"users-me-not-defined: Local user is not defined.\"));const t=lI(\"0x17\");this[lI(\"0x11\")]({name:\"\",id:t}),this[lI(\"0x14\")](t)}return this[\"getUser\"](this[\"h\"])}[lI(\"0x2\")](){return this[\"me\"]}[\"u\"](){return this[\"o\"]>=this[\"i\"]&&(this[\"o\"]=0),new hI(this[\"o\"]++)}[\"l\"](){clearInterval(this[\"s\"]),this[lI(\"0x7\")][lI(\"0x18\")]=!0}[\"destroy\"](){super[lI(\"0x19\")](),clearInterval(this[\"s\"])}}class uI{constructor(t,e){if(!t[\"id\"]||lI(\"0x1a\")!=typeof t[\"id\"])throw new Qs[\"b\"](lI(\"0x1b\"),e);this[\"id\"]=t[\"id\"],this[lI(\"0x1c\")]=t[lI(\"0x1c\")],this[\"name\"]=function(t=\"\"){if(0===t[lI(\"0x1d\")]()[\"length\"])return\"Anonymous\";return t[lI(\"0x1d\")]()}(t[lI(\"0x1e\")]),this[lI(\"0x1f\")]=t[\"avatar\"]}get[lI(\"0x20\")](){return lI(\"0x21\")==this[lI(\"0x1e\")]}get[\"initials\"](){return this[\"name\"][\"split\"](\" \")[lI(\"0x22\")](t=>t[lI(\"0x23\")](0))[\"slice\"](0,2)[lI(\"0x24\")](\"\")[lI(\"0x25\")]()}}class hI{constructor(t){this[\"m\"]=t}[\"getBackgroundColorClass\"](){return lI(\"0x26\")+this[\"m\"]}[lI(\"0x27\")](){return lI(\"0x28\")+this[\"m\"]}[lI(\"0x29\")](){return lI(\"0x2a\")+this[\"m\"]}}var fI=n(118);var mI=[\"CommentsEditing\",\"threads\",\"set\",\"activeMarker\",\"change:activeMarker\",\"model\",\"change\",\"markers\",\"has\",\"updateMarker\",\"_isThreadsLoadingPaused\",\"data\",\"once\",\"ready\",\"_commentIdToThreadId\",\"pendingComments\",\"plugins\",\"get\",\"init\",\"editor\",\"replace\",\"test\",\"length\",\"charAt\",\"indexOf\",\"fromCharCode\",\"from\",\"charCodeAt\",\"pop\",\"push\",\"slice\",\"substring\",\"map\",\"join\",\"isDocumentOperation\",\"config\",\"off\",\"add\",\"addCommentThread\",\"removeCommentThread\",\"commands\",\"removeComment\",\"adapter\",\"commentsediting-adapter-already-set: Cannot set adapter more than once.\",\"string\",\"commentthread-invalid-id: CommentThread id has to be a string.\",\"assign\",\"addComment\",\"commentsediting-invalid-comment-id: Comment id has to be a string.\",\"commentsediting-invalid-comment-authorId: Comment author id is required and has to be a string.\",\"trim\",\"commentsediting-invalid-content: Comment content has to be a string.\",\"getUser\",\"commentsediting-user-not-exists: Comment author is not defined in Users plugin.\",\"updateComment\",\"commentsediting-missing-comment: Cannot update not existing Comment.\",\"content\",\"createdAt\",\"remove\",\"delete\",\"resolve\",'\" id is not added to the editor nor adapter is defined.',\"function\",\"getCommentThread\",\"commentsediting-missing-thread-and-adapter-method: \",'Comment thread with \"',\"then\",\"catch\",\"error\",\"commentsEditing-getCommentThread: Comments editing - getting a comment thread failed.\",\"getCommentThreads\",\"find\",\"name\",\"includes\",\"conversion\",\"for\",\"markerToHighlight\",\"comment\",\"markerName\",\"ck-comment-marker--active\",\"dataDowncast\",\"isOpening\",\"start\",\"end\",\"elementToMarker\",\"registerPostFixer\",\"document\",\"_changedMarkers\",\"newRange\",\"root\",\"rootName\",\"isEqual\",\"hasContent\",\"removeMarker\",\"change:_isThreadsLoadingPaused\",\"update:comment\",\"fire\",\"threadUnloaded\",\"managedUsingOperations\",\"_getCommentThread\",\"destroyed\",\"state\",\"threadLoaded\",\"split\",\"schema\",\"createRange\",\"getWalker\",\"text\",\"createPositionBefore\",\"isCollapsed\",\"listenTo\",\"getIndex\",\"stopListening\",\"destroy\",\"getTime\",\"toJSON\",\"author\",\"size\",\"iterator\",\"values\",\"pluginName\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(mI,241);var gI=function(t,e){t=t-0;var n=mI[t];return n};class pI extends db{static get[\"requires\"](){return[dI,$S]}static get[gI(\"0x0\")](){return gI(\"0x1\")}constructor(t){super(t),this[gI(\"0x2\")]=new Fa,this[gI(\"0x3\")](gI(\"0x4\"),null),this[\"on\"](gI(\"0x5\"),(e,n,i,o)=>{t[gI(\"0x6\")][gI(\"0x7\")](e=>{t[gI(\"0x6\")][gI(\"0x8\")][gI(\"0x9\")](i)&&e[gI(\"0xa\")](i),t[gI(\"0x6\")][\"markers\"][gI(\"0x9\")](o)&&e[gI(\"0xa\")](o)})}),this[gI(\"0x3\")](gI(\"0xb\"),!0),t[gI(\"0xc\")][gI(\"0xd\")](gI(\"0xe\"),()=>this[\"_isThreadsLoadingPaused\"]=!1),this[gI(\"0xf\")]=new Map,this[gI(\"0x10\")]=new kI(t[gI(\"0x11\")][gI(\"0x12\")]($S))}[gI(\"0x13\")](){const t=this[gI(\"0x14\")];!function(t){const e=[1,85,78,115,198,255,50,112,83,87,161],n=c([52,48,51,56,50,52,48,56]),i=[127,34,6,211,167,86,146,199,132,160,18],o=c([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]);function s(s){if(t[c([112,108,117,103,105,110,115])][c([104,97,115])](c([82,101,97,108,84,105,109,101,67,111,108,108,97,98,111,114,97,116,105,111,110,67,108,105,101,110,116]))){const e=t[c([112,108,117,103,105,110,115])][c([103,101,116])](c([82,101,97,108,84,105,109,101,67,111,108,108,97,98,111,114,97,116,105,111,110,67,108,105,101,110,116]));if(typeof e[c([95,115,97,118,101,79,112,101,114,97,116,105,111,110,73,110,66,117,102,102,101,114])]==c([102,117,110,99,116,105,111,110])&&e[c([95,115,97,118,101,79,112,101,114,97,116,105,111,110,73,110,66,117,102,102,101,114])](c([115,101,108,101,99,116,105,111,110]))==c([99,104,97,110,103,101,100]))return r(c([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]))}try{const l=function(t){const n=new(window[c([85,105,110,116,56,65,114,114,97,121])])([...e,29,221,175,90,231,133,239,240,75,180,...i]);return function(t,e){const n=function(t){const e=o+c([43,47,61]);if(t=String(t)[gI(\"0x15\")](/[\\t\\n\\f\\r ]+/g,\"\"),!/^(?:[A-Za-z\\d+\\/]{4})*?(?:[A-Za-z\\d+\\/]{2}(?:==)?|[A-Za-z\\d+\\/]{3}=?)?$/[gI(\"0x16\")](t))throw new TypeError(c([70,97,105,108,101,100,32,116,111,32,112,97,114,115,101,32,98,97,115,101,54,52,32,116,111,32,115,116,114,105,110,103,46]));t+=c([61,61])[\"slice\"](2-(3&t[gI(\"0x17\")]));let n,i,s,r=\"\";for(let o=0;o<t[gI(\"0x17\")];)n=e[\"indexOf\"](t[gI(\"0x18\")](o++))<<18|e[gI(\"0x19\")](t[gI(\"0x18\")](o++))<<12|(i=e[gI(\"0x19\")](t[gI(\"0x18\")](o++)))<<6|(s=e[gI(\"0x19\")](t[gI(\"0x18\")](o++))),r+=64===i?String[gI(\"0x1a\")](n>>16&255):64===s?String[\"fromCharCode\"](n>>16&255,n>>8&255):String[gI(\"0x1a\")](n>>16&255,n>>8&255,255&n);return r}(t),i=Array[gI(\"0x1b\")](function(t){const e=new Uint8Array(t[gI(\"0x17\")]);for(let n=0;n<t[\"length\"];n++)e[n]=t[gI(\"0x1c\")](n);return e}(n)),s=i[gI(\"0x1d\")](),r=i[gI(\"0x1d\")]();return function(t){let e=\"\";for(const n of t)e+=String[gI(\"0x1a\")](n);return e}(function(t,e,n){const i={};i[c([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},i[c([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],i[c([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],i[c([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],i[c([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],i[c([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],i[c([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],i[c([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],i[c([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],i[c([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],i[c([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const o=new Uint8Array(16);for(let t=15;t>=0;--t)o[t]=n%256,n=parseInt(n/256);let s=null,r=16;const a=new Uint8Array(e),l=[],d=[];!function(){const t=i[c([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][a[gI(\"0x17\")]];for(let e=0;e<=t;e++)l[gI(\"0x1e\")]([0,0,0,0]),d[gI(\"0x1e\")]([0,0,0,0]);const e=4*(t+1),n=a[\"length\"]/4,o=u(a);let s;for(let e=0;e<n;e++)l[s=e>>2][e%4]=o[e],d[t-s][e%4]=o[e];let r,h=0,f=n;for(;f<e;){r=o[n-1],o[0]^=i[c([83])][r>>16&255]<<24^i[c([83])][r>>8&255]<<16^i[c([83])][255&r]<<8^i[c([83])][r>>24&255]^i[c([114,99,111,110])][h]<<24,h+=1;for(let t=1;t<n/2;t++)o[t]^=o[t-1];r=o[n/2-1],o[n/2]^=i[c([83])][255&r]^i[c([83])][r>>8&255]<<8^i[c([83])][r>>16&255]<<16^i[c([83])][r>>24&255]<<24;for(let t=n/2+1;t<n;t++)o[t]^=o[t-1];let s,a,u=0;for(;u<n&&f<e;)a=f%4,l[s=f>>2][a]=o[u],d[t-s][a]=o[u++],f++}for(let e=1;e<t;e++)for(let t=0;t<4;t++)r=d[e][t],d[e][t]=i[c([85,49])][r>>24&255]^i[c([85,50])][r>>16&255]^i[c([85,51])][r>>8&255]^i[c([85,52])][255&r]}();for(let e=0;e<t[gI(\"0x17\")];e++)16===r&&(s=f(o),r=0,h(o)),t[e]^=s[r++];return t;function u(t){const e=[];for(let n=0;n<t[gI(\"0x17\")];n+=4)e[gI(\"0x1e\")](t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]);return e}function h(t){for(let e=15;e>=0;e--){if(255!==t[e]){t[e]++;break}t[e]=0}}function f(t){const e=l[gI(\"0x17\")]-1,n=[0,0,0,0];let o=u(t);for(let t=0;t<4;t++)o[t]^=l[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)n[e]=i[c([84,49])][o[e]>>24&255]^i[c([84,50])][o[(e+1)%4]>>16&255]^i[c([84,51])][o[(e+2)%4]>>8&255]^i[c([84,52])][255&o[(e+3)%4]]^l[t][e];o=n[gI(\"0x1f\")]()}const s=new Uint8Array(16);let r;for(let t=0;t<4;t++)r=l[e][t],s[4*t]=255&(i[c([83])][o[t]>>24&255]^r>>24),s[4*t+1]=255&(i[c([83])][o[(t+1)%4]>>16&255]^r>>16),s[4*t+2]=255&(i[c([83])][o[(t+2)%4]>>8&255]^r>>8),s[4*t+3]=255&(i[c([83])][255&o[(t+3)%4]]^r);return s}}(i,e,r+256*s))}(t,n)}(s),d=JSON[\"parse\"](l),u=parseInt(d[c([49])]),h=parseInt(d[c([51])]),f=parseInt(d[c([52])])||0,m=parseInt(d[c([53])])||0,g=2;if(!(f&1)||t[c([112,108,117,103,105,110,115])][c([104,97,115])](c([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&!(f&g))return a(),r(c([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(m&&!window[c([111,112,101,110])][c([99,108,111,115,101,100])])return a(),r(c([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(parseInt(n)/2>u)return a(),r(c([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]));if(t[c([112,108,117,103,105,110,115])][c([104,97,115])](c([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))){const e=t[c([112,108,117,103,105,110,115])][c([103,101,116])](c([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]));if(parseInt(e[c([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])])/2>u)return a(),r(c([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}return r(h?c([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108]):c([108,105,99,101,110,115,101,75,101,121,86,97,108,105,100]))}catch(t){return a(),r(c([108,105,99,101,110,115,101,75,101,121,73,110,118,97,108,105,100]))}}function r(e){const n=function(){const t=String(window[c([112,101,114,102,111,114,109,97,110,99,101])][c([110,111,119])]())[gI(\"0x15\")](c([46]),\"\");let e=\"\";for(let n=0;n<t[gI(\"0x17\")];n+=2){let i=parseInt(t[gI(\"0x20\")](n,n+2));i>=o[gI(\"0x17\")]&&(i-=o[gI(\"0x17\")]),e+=o[i]}return e}();return t[n]=e,e}function a(){t[c([109,111,100,101,108])][c([99,104,97,110,103,101])]=()=>{},t[c([109,111,100,101,108])][c([101,110,113,117,101,117,101,67,104,97,110,103,101])]=()=>{},t[c([112,108,117,103,105,110,115])][c([103,101,116])](pI)[c([95,99,111,109,109,101,110,116,73,100,84,111,84,104,114,101,97,100,73,100])][c([99,108,101,97,114])]()}function c(t){return t[gI(\"0x21\")](t=>String[gI(\"0x1a\")](t))[gI(\"0x22\")](\"\")}t[c([111,110])](c([114,101,97,100,121]),()=>{let e,n=0;t[c([109,111,100,101,108])][c([111,110])](c([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(i,o)=>{o[0][gI(\"0x23\")]&&n++,6===n?e=s(t[gI(\"0x24\")][gI(\"0x12\")](c([108,105,99,101,110,115,101,75,101,121]))):e===c([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108])&&504===n?(a(),r(c([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108,76,105,109,105,116])),i[gI(\"0x25\")]()):e&&e!==c([108,105,99,101,110,115,101,75,101,121,84,114,105,97,108])&&i[gI(\"0x25\")]()},{priority:c([104,105,103,104,101,115,116])})})}(t);const e=t[\"plugins\"][gI(\"0x12\")](dI);t[\"commands\"][gI(\"0x26\")](gI(\"0x27\"),new GS(t)),t[\"commands\"][gI(\"0x26\")](gI(\"0x28\"),new XS(t)),t[gI(\"0x29\")][gI(\"0x26\")](\"addComment\",new tI(t,this,e)),t[\"commands\"][gI(\"0x26\")](\"updateComment\",new iI(t,this,e)),t[gI(\"0x29\")][\"add\"](gI(\"0x2a\"),new rI(t,this,e)),this[\"U\"](),this[\"P\"]()}set[gI(\"0x2b\")](t){if(this[\"Z\"])throw new Qs[\"b\"](gI(\"0x2c\"),this);this[\"Z\"]=t}get[\"adapter\"](){return this[\"Z\"]}[gI(\"0x27\")]({threadId:t,comments:e=[]}){if(gI(\"0x2d\")!=typeof t)throw new Qs[\"b\"](gI(\"0x2e\"),this);this[\"threads\"][gI(\"0x26\")](new _I(t));for(const n of e)this[\"addComment\"](Object[gI(\"0x2f\")]({threadId:t},n))}[gI(\"0x30\")]({threadId:t,commentId:e,content:n,authorId:i,createdAt:o}){if(gI(\"0x2d\")!=typeof e)throw new Qs[\"b\"](gI(\"0x31\"),this);if(this[gI(\"0xf\")][\"get\"](e))throw new Qs[\"b\"](\"commentsediting-duplicated-comment-id: Comment id has to be unique.\",this);if(gI(\"0x2d\")!=typeof i)throw new Qs[\"b\"](gI(\"0x32\"),this);if(gI(\"0x2d\")!=typeof n||!n[gI(\"0x33\")]())throw new Qs[\"b\"](gI(\"0x34\"),this);const s=this[gI(\"0x2\")][gI(\"0x12\")](t);if(!s)throw new Qs[\"b\"](\"commentsediting-missing-comment-thread: Cannot add Comment to not existing CommentThread.\",this);const r=this[gI(\"0x14\")][gI(\"0x11\")][gI(\"0x12\")](dI)[gI(\"0x35\")](i);if(!r)throw new Qs[\"b\"](gI(\"0x36\"),this);s[gI(\"0x26\")](new vI({id:e,author:r,content:n,createdAt:o})),this[\"_commentIdToThreadId\"][\"set\"](e,t)}[gI(\"0x37\")]({commentId:t,content:e,createdAt:n}){const i=this[gI(\"0xf\")][\"get\"](t);if(!i)throw new Qs[\"b\"](gI(\"0x38\"),this);if(e&&(gI(\"0x2d\")!=typeof e||!e[\"trim\"]()))throw new Qs[\"b\"](gI(\"0x34\"),this);const o=this[gI(\"0x2\")][gI(\"0x12\")](i)[gI(\"0x12\")](t);e&&e!=o[gI(\"0x39\")]&&(o[\"content\"]=e),n&&n!=o[\"createdAt\"]&&(o[gI(\"0x3a\")]=n)}[gI(\"0x2a\")](t){const e=this[gI(\"0xf\")][\"get\"](t);if(!e)throw new Qs[\"b\"](\"commentsediting-missing-comment: Cannot remove not existing Comment.\",this);const n=this[\"threads\"][gI(\"0x12\")](e);n[gI(\"0x3b\")](n[gI(\"0x12\")](t)),this[gI(\"0xf\")][gI(\"0x3c\")](t)}[\"_getCommentThread\"](t){const e=this[\"threads\"][gI(\"0x12\")](t);if(e)return Promise[gI(\"0x3d\")](e);if(!this[gI(\"0x2b\")])throw new Qs[\"b\"](\"commentsediting-missing-thread-and-adapter: \"+('Comment thread with \"'+t+gI(\"0x3e\")),this);if(gI(\"0x3f\")!=typeof this[\"adapter\"][gI(\"0x40\")])throw new Qs[\"b\"](gI(\"0x41\")+(gI(\"0x42\")+t+'\" id is not added to the editor nor adapter.getCommentThread() is defined.'),this);return this[gI(\"0x2b\")][gI(\"0x40\")](t)[gI(\"0x43\")](e=>{if(e)return this[\"addCommentThread\"](e),this[gI(\"0x2\")][gI(\"0x12\")](t)})[gI(\"0x44\")](t=>{throw console[gI(\"0x45\")](t),new Qs[\"b\"](gI(\"0x46\"),this[gI(\"0x14\")])})}*[gI(\"0x47\")](){const t=Array[\"from\"](this[gI(\"0x14\")][gI(\"0x6\")][gI(\"0x8\")]);for(const e of this[gI(\"0x2\")])e[gI(\"0x17\")]&&t[gI(\"0x48\")](t=>t[gI(\"0x49\")][gI(\"0x4a\")](e[\"id\"]))&&(yield e[\"toJSON\"]())}[\"U\"](){const t=this[\"editor\"];t[gI(\"0x4b\")][gI(\"0x4c\")](\"editingDowncast\")[gI(\"0x4d\")]({model:gI(\"0x4e\"),view:t=>{const{id:e}=bI(t[gI(\"0x4f\")]),n=[\"ck-comment-marker\"];return this[gI(\"0x4\")]===t[gI(\"0x4f\")]&&n[gI(\"0x1e\")](gI(\"0x50\")),{classes:n,attributes:{\"data-comment\":e}}}}),t[gI(\"0x4b\")][gI(\"0x4c\")](gI(\"0x51\"))[\"markerToElement\"]({model:gI(\"0x4e\"),view:(e,n)=>{const i=t[gI(\"0x6\")][gI(\"0x8\")][gI(\"0x12\")](e[gI(\"0x4f\")]),o=bI(e[gI(\"0x4f\")])[\"id\"];if(i[\"affectsData\"])return n[\"createUIElement\"](gI(\"0x4e\"),{id:o,type:e[gI(\"0x52\")]?gI(\"0x53\"):gI(\"0x54\")})}}),t[gI(\"0x4b\")][\"for\"](\"upcast\")[gI(\"0x55\")]({view:{name:\"comment\",attribute:{id:/^\\w/}},model:t=>\"comment:\"+t[\"getAttribute\"](\"id\")})}[\"P\"](){const t=this[gI(\"0x14\")],e=new Set,n=new Set;t[\"model\"][\"document\"][gI(\"0x56\")](i=>{let o=!1;for(const[s,r]of t[gI(\"0x6\")][gI(\"0x57\")][\"differ\"][gI(\"0x58\")]){const{group:a,id:c}=bI(s);let l=r[gI(\"0x59\")];if(\"comment\"!=a||!l)continue;const d=n[gI(\"0x9\")](c),u=\"$graveyard\"==l[gI(\"0x5a\")][gI(\"0x5b\")];u||!(l=wI(l,t[gI(\"0x6\")]))||l[gI(\"0x5c\")](r[gI(\"0x59\")])?l&&(!d||!u&&t[gI(\"0x6\")][gI(\"0x5d\")](l))?d||u||(n[gI(\"0x26\")](c),this[gI(\"0xb\")]?e[\"add\"](s):this[\"X\"](s)):(i[gI(\"0x5e\")](s),o=!0):(i[\"updateMarker\"](s,{range:l}),o=!0)}return o}),this[\"on\"](gI(\"0x5f\"),(t,n,i)=>{if(!i&&e[\"size\"])for(const t of e)this[\"X\"](t),e[gI(\"0x3c\")](t)}),this[\"listenTo\"](t[\"model\"][\"markers\"],gI(\"0x60\"),(t,i,o,s)=>{if(s)return;const{id:r}=bI(i[gI(\"0x49\")]),a=this[gI(\"0x2\")][gI(\"0x12\")](r);n[gI(\"0x3c\")](r),e[gI(\"0x3c\")](i[gI(\"0x49\")]),a&&(a[gI(\"0x17\")]||this[\"threads\"][gI(\"0x3b\")](r),this[gI(\"0x61\")](gI(\"0x62\"),a))})}[\"X\"](t){const e=this[gI(\"0x14\")][\"model\"][\"markers\"][gI(\"0x12\")](t),{id:n}=bI(t);e[gI(\"0x63\")]||this[gI(\"0x27\")]({threadId:n}),this[gI(\"0x64\")](n)[gI(\"0x43\")](t=>{gI(\"0x65\")!=this[gI(\"0x14\")][gI(\"0x66\")]&&(t?this[gI(\"0x61\")](gI(\"0x67\"),t):this[gI(\"0x14\")][\"execute\"](gI(\"0x28\"),{threadId:n}))})}}function bI(t){const e=t[gI(\"0x68\")](\":\");return{group:e[0],id:e[1]}}function wI(t,e){const n=e[gI(\"0x69\")],i=e[gI(\"0x6a\")](t[gI(\"0x53\")]);for(const o of t[gI(\"0x6b\")]()){const{type:t,item:s,nextPosition:r}=o;if(gI(\"0x6c\")==t||n[\"isObject\"](s)){const t=e[gI(\"0x6d\")](s);i[gI(\"0x6e\")]&&(i[\"start\"]=t),i[gI(\"0x54\")]=r}}return i[gI(\"0x6e\")]?null:i}class _I extends Fa{constructor(t){super(),this[\"id\"]=t}[\"add\"](t){return this[gI(\"0x6f\")](t,\"change\",(e,n)=>{if(\"createdAt\"==n){const e=this[\"Y\"](t);e-1!=this[gI(\"0x70\")](t)&&e+1!=this[gI(\"0x70\")](t)&&(this[gI(\"0x3b\")](t),this[gI(\"0x26\")](t))}this[gI(\"0x61\")](gI(\"0x7\"))}),t[gI(\"0x3a\")]?super[gI(\"0x26\")](t,this[\"Y\"](t)):super[gI(\"0x26\")](t)}[gI(\"0x3b\")](t){return this[gI(\"0x71\")](t),t[gI(\"0x72\")](),super[gI(\"0x3b\")](t)}[\"Y\"](t){const e=this[\"find\"](e=>new Date(e[gI(\"0x3a\")])[gI(\"0x73\")]()>new Date(t[gI(\"0x3a\")])[gI(\"0x73\")]());return e?this[\"getIndex\"](e):this[\"length\"]}[gI(\"0x74\")](){return{threadId:this[\"id\"],comments:this[gI(\"0x21\")](t=>t[gI(\"0x74\")]())}}}class vI{constructor(t){this[\"id\"]=t[\"id\"],this[\"author\"]=t[\"author\"],this[gI(\"0x3\")](gI(\"0x39\"),t[gI(\"0x39\")]),this[gI(\"0x3\")](gI(\"0x3a\"),t[\"createdAt\"])}[\"toJSON\"](){return{commentId:this[\"id\"],content:this[gI(\"0x39\")],createdAt:this[gI(\"0x3a\")],authorId:this[gI(\"0x75\")][\"id\"]}}[gI(\"0x72\")](){this[gI(\"0x71\")]()}}vr(vI,_a);class kI{constructor(t){this[\"tt\"]=t,this[\"et\"]=new Set}[gI(\"0x3\")](t){this[\"et\"][\"add\"](t),this[\"nt\"]||(this[\"nt\"]=this[\"tt\"][gI(\"0x26\")](\"Unsaved changes in comments.\"))}[gI(\"0x3b\")](t){this[\"et\"][gI(\"0x3c\")](t),this[\"nt\"]&&!this[\"et\"][gI(\"0x76\")]&&(this[\"tt\"][gI(\"0x3b\")](this[\"nt\"]),this[\"nt\"]=null)}[Symbol[gI(\"0x77\")]](){return this[\"et\"][gI(\"0x78\")]()[Symbol[gI(\"0x77\")]]()}}var xI=[\"change:isEnabled\",\"pluginName\",\"CommentsOnly\",\"requires\",\"editor\",\"config\",\"get\",\"commentsOnly\",\"includes\",\"constructor\",\"forceDisabled\",\"commentsOnlyMode\",\"document\",\"listenTo\",\"cut\",\"stop\",\"clipboardInput\",\"highest\",\"delete\",\"commands\",\"clearForceDisabled\",\"stopListening\",\"editing\",\"view\",\"set\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(xI,174);var yI=function(t,e){t=t-0;var n=xI[t];return n};class AI extends db{constructor(t){super(t),this[\"Ot\"]=[tI,iI,rI,GS,XS],this[yI(\"0x0\")](\"isEnabled\",!1),this[\"on\"](yI(\"0x1\"),(t,e,n)=>{n?this[\"Mt\"]():this[\"It\"]()})}static get[yI(\"0x2\")](){return yI(\"0x3\")}static get[yI(\"0x4\")](){return[pI]}[\"afterInit\"](){this[\"isEnabled\"]=!!this[yI(\"0x5\")][yI(\"0x6\")][yI(\"0x7\")](yI(\"0x8\"))}[\"Mt\"](){for(const t of this[yI(\"0x5\")][\"commands\"][\"commands\"]())this[\"Ot\"][yI(\"0x9\")](t[yI(\"0xa\")])||t[yI(\"0xb\")](yI(\"0xc\"));const t=this[yI(\"0x5\")][\"editing\"][\"view\"][yI(\"0xd\")];this[yI(\"0xe\")](t,yI(\"0xf\"),t=>t[yI(\"0x10\")](),{priority:\"highest\"}),this[\"listenTo\"](t,yI(\"0x11\"),t=>t[yI(\"0x10\")](),{priority:yI(\"0x12\")}),this[yI(\"0xe\")](t,yI(\"0x13\"),t=>t[\"stop\"](),{priority:\"highest\"})}[\"It\"](){for(const t of this[yI(\"0x5\")][yI(\"0x14\")][yI(\"0x14\")]())this[\"Ot\"][yI(\"0x9\")](t[\"constructor\"])||t[yI(\"0x15\")](yI(\"0xc\"));this[yI(\"0x16\")](this[yI(\"0x5\")][yI(\"0x17\")][yI(\"0x18\")][yI(\"0xd\")])}}var CI='\\x3c!--\\n\\n What you\\'re currently looking at is the source code of a legally protected, proprietary software.\\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\\n\\n Copyright (c) 2003-2019, CKSource Frederico Knabben. All rights reserved.\\n\\n!--\\x3e\\n\\n<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2.5 9.41c0 3.54 3.24 6.42 7.23 6.42 1.03 0 2.02-.19 2.95-.56 1.65.93 1.79.98 3.62 1.63.3.11.57.13.61.05.04-.08.02-.43-.08-.75-.48-1.63-.87-1.77-1.01-3.32a5.87 5.87 0 0 0 1.15-3.47C16.97 5.88 13.72 3 9.73 3S2.5 5.88 2.5 9.41zm9.64 0c0-.52.44-.95.97-.95s.96.43.96.95c0 .53-.43.95-.96.95a.96.96 0 0 1-.97-.95zm-3.37 0c0-.52.43-.95.96-.95.54 0 .97.43.97.95 0 .53-.43.95-.97.95a.96.96 0 0 1-.96-.95zm-3.38 0c0-.52.44-.95.97-.95s.96.43.96.95c0 .53-.43.95-.96.95a.96.96 0 0 1-.97-.95z\"/></svg>\\n';var TI=[\"cancel\",\"attributes\",\"type\",\"class\",\"attributeName\",\"childList\",\"observe\",\"disconnect\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(TI,465);var MI=function(t,e){t=t-0;var n=TI[t];return n};function EI(t){const e=ES(t,30),n=new MutationObserver(t=>{for(const n of t)(MI(\"0x0\")==n[MI(\"0x1\")]&&MI(\"0x2\")==n[MI(\"0x3\")]||MI(\"0x4\")==n[MI(\"0x1\")])&&e()});return{attach(t){n[MI(\"0x5\")](t,{attributes:!0,childList:!0,subtree:!0})},detach(){n[MI(\"0x6\")](),e[MI(\"0x7\")]()}}}var PI=[\"ck-annotation-wrapper--active\",\"element\",\"render\",\"add\",\"destroy\",\"detach\",\"mainView\",\"narrowView\",\"focusTracker\",\"keystrokes\",\"Esc\",\"fire\",\"set\",\"targetRect\",\"height\",\"active\",\"updateHeight\",\"content\",\"createCollection\",\"bindTemplate\",\"setTemplate\",\"ck-rounded-corners\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(PI,160);var SI=function(t,e){t=t-0;var n=PI[t];return n};class II extends Qg{constructor(t,e,n){super(t),this[\"id\"]=nr(),this[SI(\"0x0\")]=e,this[SI(\"0x1\")]=n,this[SI(\"0x2\")]=new rg,this[SI(\"0x3\")]=new qm,this[SI(\"0x3\")][\"set\"](SI(\"0x4\"),()=>this[SI(\"0x5\")](SI(\"0x4\"))),this[SI(\"0x6\")](SI(\"0x7\"),{top:0,right:0,bottom:0,left:0}),this[SI(\"0x6\")](SI(\"0x8\"),0),this[SI(\"0x6\")](SI(\"0x9\")),this[\"K\"]=EI(()=>this[SI(\"0xa\")]()),this[SI(\"0xb\")]=this[SI(\"0xc\")](),this[SI(\"0xb\")][\"add\"](this[\"mainView\"]);const i=this[SI(\"0xd\")];this[SI(\"0xe\")]({tag:\"div\",attributes:{class:[\"ck\",\"ck-annotation-wrapper\",SI(\"0xf\"),i[\"if\"](SI(\"0x9\"),SI(\"0x10\"))],tabindex:-1},children:this[\"content\"]})}[SI(\"0xa\")](){const t=this[SI(\"0x11\")][\"clientHeight\"];t&&(this[\"height\"]=t)}[SI(\"0x12\")](){super[SI(\"0x12\")](),this[SI(\"0x2\")][SI(\"0x13\")](this[SI(\"0x11\")]),this[SI(\"0x3\")][\"listenTo\"](this[\"element\"]),this[\"K\"][\"attach\"](this[SI(\"0x11\")])}[SI(\"0x14\")](){this[SI(\"0xb\")][\"clear\"](),this[\"keystrokes\"][\"destroy\"](),this[SI(\"0x2\")][SI(\"0x14\")](),this[\"K\"][SI(\"0x15\")](),super[SI(\"0x14\")]()}}var OI=n(120);var NI=[\"InlineAnnotations\",\"editing\",\"view\",\"get\",\"init\",\"editor\",\"plugins\",\"register\",\"inline\",\"keystrokes\",\"set\",\"Esc\",\"isAttached\",\"visibleView\",\"items\",\"has\",\"add\",\"afterInit\",\"uiType\",\"destroy\",\"detach\",\"attach\",\"inlineannotations-attach-already-attached: Cannot attach the same annotations twice.\",\"listenTo\",\"focusTracker\",\"change:isFocused\",\"remove\",\"change:selectedViews\",\"includes\",\"delete\",\"getAnnotationView\",\"mainView\",\"change:activeView\",\"change:visibleView\",\"stopListening\",\"change:height\",\"activeView\",\"update\",\"updatePosition\",\"document\",\"clear\",\"refreshActiveView\",\"inlineannotations-detach-not-attached: Cannot detach not attached annotations.\",\"hasView\",\"showStack\",\"getMarkers\",\"getMarkerDomElement\",\"requires\",\"pluginName\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(NI,243);var LI=function(t,e){t=t-0;var n=NI[t];return n};class RI extends db{static get[LI(\"0x0\")](){return[zI,o_]}static get[LI(\"0x1\")](){return LI(\"0x2\")}constructor(t){super(t),t[LI(\"0x3\")][LI(\"0x4\")][\"addObserver\"](Tw),this[\"isAttached\"]=!1,this[\"k\"]=new Set,this[\"v\"]=t[\"plugins\"][LI(\"0x5\")](o_)}[LI(\"0x6\")](){this[\"A\"]=this[LI(\"0x7\")][LI(\"0x8\")][LI(\"0x5\")](zI),this[\"A\"][LI(\"0x9\")](LI(\"0xa\"),this),this[LI(\"0x7\")][LI(\"0xb\")][LI(\"0xc\")](LI(\"0xd\"),(t,e)=>{const n=this[\"v\"],i=this[\"A\"];this[LI(\"0xe\")]&&n[LI(\"0xf\")]&&i[LI(\"0x10\")][LI(\"0x11\")](n[\"visibleView\"])&&(this[\"k\"][LI(\"0x12\")](n[LI(\"0xf\")]),this[\"I\"](n[LI(\"0xf\")]),e())})}[LI(\"0x13\")](){this[\"A\"][LI(\"0x14\")]||this[\"A\"][\"switchTo\"](\"inline\")}[LI(\"0x15\")](){this[\"isAttached\"]&&this[LI(\"0x16\")]()}[LI(\"0x17\")](){const t=this[\"A\"],e=this[\"v\"];if(this[\"isAttached\"])throw new Qs[\"b\"](LI(\"0x18\"),this);this[LI(\"0x19\")](this[\"editor\"][\"ui\"][LI(\"0x1a\")],LI(\"0x1b\"),(e,n,i)=>{if(!i)for(const e of t[LI(\"0x10\")])this[\"I\"](e)}),this[LI(\"0x19\")](t[LI(\"0x10\")],LI(\"0x1c\"),(t,e)=>{this[\"I\"](e)}),this[LI(\"0x19\")](t,LI(\"0x1d\"),(e,n,i,o)=>{for(const e of o)i[LI(\"0x1e\")](e)||this[\"k\"][LI(\"0x1f\")](t[LI(\"0x20\")](e));for(const e of t[LI(\"0x10\")])i[LI(\"0x1e\")](e[LI(\"0x21\")])||this[\"I\"](e);for(const e of i)this[\"V\"](t[\"getAnnotationView\"](e))}),this[LI(\"0x19\")](t,LI(\"0x22\"),(n,i,o)=>{o&&e[LI(\"0xf\")]&&this[\"V\"](t[LI(\"0x20\")](o),!0)}),this[LI(\"0x19\")](e,LI(\"0x23\"),(n,i,o,s)=>{s&&this[LI(\"0x24\")](s),o&&t[\"items\"][\"has\"](o)&&(this[LI(\"0x19\")](o,LI(\"0x25\"),()=>e[\"updatePosition\"]()),this[LI(\"0x19\")](o,LI(\"0xd\"),()=>{this[\"k\"][\"add\"](o),this[\"I\"](o),this[\"editor\"][LI(\"0x3\")][LI(\"0x4\")][\"focus\"]()}),t[LI(\"0x26\")]!==o[\"mainView\"]&&(t[\"activeView\"]=o[LI(\"0x21\")]))}),this[LI(\"0x19\")](this[LI(\"0x7\")][\"ui\"],LI(\"0x27\"),()=>{e[\"visibleView\"]&&t[LI(\"0x10\")][LI(\"0x11\")](e[LI(\"0xf\")])&&e[LI(\"0x28\")]()}),this[LI(\"0x19\")](this[LI(\"0x7\")][LI(\"0x3\")][\"view\"][LI(\"0x29\")],\"mousedown\",()=>{this[\"k\"][LI(\"0x2a\")](),this[\"A\"][LI(\"0x2b\")]()}),this[LI(\"0xe\")]=!0}[\"detach\"](){if(!this[LI(\"0xe\")])throw new Qs[\"b\"](LI(\"0x2c\"),this);const t=this[\"A\"],e=this[\"v\"];for(const e of t[\"selectedViews\"])this[\"I\"](t[LI(\"0x20\")](e));this[\"stopListening\"](t[\"items\"]),this[LI(\"0x24\")](t),this[LI(\"0x24\")](e),this[LI(\"0x24\")](this[LI(\"0x7\")][\"ui\"]),this[LI(\"0x24\")](this[LI(\"0x7\")][\"ui\"][\"focusTracker\"]),this[LI(\"0x24\")](this[LI(\"0x7\")][\"editing\"][LI(\"0x4\")][LI(\"0x29\")]),this[\"isAttached\"]=!1}[\"V\"](t,e){this[LI(\"0x7\")][\"ui\"][\"focusTracker\"][\"isFocused\"]&&(this[\"k\"][LI(\"0x11\")](t)||(this[\"v\"][LI(\"0x2d\")](t)||this[\"v\"][LI(\"0x12\")]({stackId:t[\"id\"],view:t,position:{target:()=>this[\"_\"](t[LI(\"0x21\")])}}),e&&this[\"v\"][LI(\"0x2e\")](t[\"id\"])))}[\"I\"](t){this[\"v\"][\"hasView\"](t)&&this[\"v\"][\"remove\"](t)}[\"_\"](t){const e=this[\"A\"][LI(\"0x2f\")](t)[0];return e?this[\"A\"][LI(\"0x30\")](e):{}}}var DI=[\"selectedViews\",\"_throttledOrderUpdate\",\"editor\",\"model\",\"document\",\"registerPostFixer\",\"refreshActiveView\",\"listenTo\",\"selection\",\"change:range\",\"editing\",\"view\",\"change:isFocused\",\"focusTracker\",\"addEventListener\",\"resize\",\"register\",\"has\",\"annotations-register-already-registered: UI of a given name already registered.\",\"attach\",\"function\",\"detach\",\"annotations-register-invalid-interface: UI plugin does not have both #attach and #detach methods.\",\"switchTo\",\"annotations-switchto-missing-ui: UI of a given name has been not registered.\",\"get\",\"add\",\"annotations-duplicated-item: Given view already added to the annotations.\",\"isArray\",\"addMarker\",\"render\",\"element\",\"bind\",\"active\",\"getMarkers\",\"targetRect\",\"remove\",\"getAnnotationView\",\"_markerToView\",\"delete\",\"splice\",\"length\",\"before\",\"getRange\",\"compareWith\",\"hasMarker\",\"removeMarker\",\"indexOf\",\"pop\",\"isFocused\",\"includes\",\"getMarkerDomElement\",\"mapper\",\"markerNameToElements\",\"name\",\"values\",\"domConverter\",\"mapViewToDom\",\"destroy\",\"removeEventListener\",\"cancel\",\"map\",\"markers\",\"push\",\"sort\",\"end\",\"start\",\"isAfter\",\"isBefore\",\"isTouching\",\"mainView\",\"from\",\"getIndex\",\"max\",\"top\",\"left\",\"requires\",\"pluginName\",\"uiType\",\"items\",\"set\",\"activeView\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(DI,240);var jI=function(t,e){t=t-0;var n=DI[t];return n};class zI extends db{static get[jI(\"0x0\")](){return[RI]}static get[jI(\"0x1\")](){return\"Annotations\"}constructor(t){super(t),this[jI(\"0x2\")]=\"\",this[jI(\"0x3\")]=new Fa,this[jI(\"0x4\")](jI(\"0x5\"),null),this[jI(\"0x4\")](jI(\"0x6\"),[]),this[\"_markerToView\"]=new Map,this[\"i\"]=new Map,this[\"s\"]=new Map,this[\"o\"]=new Map,this[jI(\"0x7\")]=ES(()=>{this[\"h\"](),this[\"u\"]()},400,{leading:!1})}[\"init\"](){const t=this[jI(\"0x8\")];t[jI(\"0x9\")][jI(\"0xa\")][jI(\"0xb\")](()=>this[jI(\"0xc\")]()),this[jI(\"0xd\")](t[\"model\"][jI(\"0xa\")][jI(\"0xe\")],jI(\"0xf\"),(t,{directChange:e})=>{e&&(this[jI(\"0x5\")]=null)}),this[\"listenTo\"](t[jI(\"0x10\")][jI(\"0x11\")][jI(\"0xa\")],jI(\"0x12\"),(t,e,n)=>{n&&this[jI(\"0xc\")]()}),this[jI(\"0xd\")](t[\"ui\"][jI(\"0x13\")],\"change:isFocused\",(t,e,n)=>{n||(this[jI(\"0x5\")]=null)}),this[jI(\"0xd\")](t[\"ui\"],\"update\",this[\"_throttledOrderUpdate\"]),window[jI(\"0x14\")](jI(\"0x15\"),this[\"_throttledOrderUpdate\"])}[jI(\"0x16\")](t,e){if(this[\"o\"][jI(\"0x17\")](t))throw new Qs[\"b\"](jI(\"0x18\"),this);if(\"function\"!=typeof e[jI(\"0x19\")]||jI(\"0x1a\")!=typeof e[jI(\"0x1b\")])throw new Qs[\"b\"](jI(\"0x1c\"),this);this[\"o\"][jI(\"0x4\")](t,e)}[jI(\"0x1d\")](t){if(!this[\"o\"][jI(\"0x17\")](t))throw new Qs[\"b\"](jI(\"0x1e\"),this);this[jI(\"0x2\")]!==t&&(this[\"uiType\"]&&this[\"o\"][jI(\"0x1f\")](this[jI(\"0x2\")])[jI(\"0x1b\")](),this[jI(\"0x2\")]=t,this[\"o\"][jI(\"0x1f\")](this[jI(\"0x2\")])[jI(\"0x19\")]())}[jI(\"0x20\")](t,e,n){if(this[\"s\"][jI(\"0x17\")](t))throw new Qs[\"b\"](jI(\"0x21\"),this);Array[jI(\"0x22\")](n)||(n=[n]);for(const e of n)this[jI(\"0x23\")](t,e);const i=new II(this[jI(\"0x8\")][\"locale\"],t,e);i[jI(\"0x24\")](),this[\"editor\"][\"ui\"][jI(\"0x13\")][jI(\"0x20\")](i[jI(\"0x25\")]),i[jI(\"0x26\")](jI(\"0x27\"))[\"to\"](this,jI(\"0x5\"),e=>e===t),i[jI(\"0x13\")][\"on\"](jI(\"0x12\"),(e,n,i)=>{i&&(this[jI(\"0x5\")]=t)}),this[\"l\"](i,this[jI(\"0x28\")](t)[0]);const o=this[\"g\"](i[jI(\"0x29\")]);this[jI(\"0x3\")][jI(\"0x20\")](i,o),this[\"s\"][jI(\"0x4\")](t,i)}[jI(\"0x2a\")](t){if(!this[\"s\"][jI(\"0x17\")](t))return;this[\"activeView\"]===t&&(this[jI(\"0x5\")]=null);const e=this[jI(\"0x2b\")](t);this[jI(\"0x8\")][\"ui\"][jI(\"0x13\")][jI(\"0x2a\")](e[\"element\"]);for(const e of this[jI(\"0x28\")](t))this[jI(\"0x2c\")][jI(\"0x2d\")](e);this[\"i\"][\"delete\"](t),this[\"s\"][jI(\"0x2d\")](e),this[jI(\"0x3\")][jI(\"0x2a\")](e),e[\"destroy\"]()}[jI(\"0x23\")](t,e){let n=[];if(this[\"i\"][jI(\"0x17\")](t)){const i=e[\"getRange\"]()[\"start\"];(n=this[jI(\"0x28\")](t))[jI(\"0x2e\")](function(t,e){for(let n=0;n<e[jI(\"0x2f\")];n++)if(jI(\"0x30\")!==e[n][jI(\"0x31\")]()[\"start\"][jI(\"0x32\")](t))return n;return e[jI(\"0x2f\")]}(i,n),0,e)}else n=[e];this[\"_markerToView\"][\"set\"](e,t),this[\"i\"][jI(\"0x4\")](t,n)}[jI(\"0x33\")](t){return this[\"_markerToView\"][jI(\"0x17\")](t)}[jI(\"0x34\")](t){const e=this[\"_markerToView\"][jI(\"0x1f\")](t),n=this[jI(\"0x28\")](e);n[jI(\"0x2e\")](n[jI(\"0x35\")](t),1),this[\"_markerToView\"][jI(\"0x2d\")](t)}[\"setMarkers\"](t,e){const n=this[jI(\"0x28\")](t);for(;n[jI(\"0x2f\")];){const t=n[jI(\"0x36\")]();this[jI(\"0x2c\")][\"delete\"](t)}for(const n of e)this[\"addMarker\"](t,n)}[jI(\"0xc\")](){this[jI(\"0x6\")]=this[\"m\"]();const t=this[jI(\"0x2b\")](this[jI(\"0x5\")]);t&&t[\"focusTracker\"][jI(\"0x37\")]||this[jI(\"0x6\")][jI(\"0x38\")](this[jI(\"0x5\")])||(this[jI(\"0x5\")]=this[jI(\"0x6\")][0]||null)}[jI(\"0x2b\")](t){return this[\"s\"][\"get\"](t)}[jI(\"0x28\")](t){return this[\"i\"][jI(\"0x1f\")](t)}[jI(\"0x39\")](t){const e=this[\"editor\"][jI(\"0x10\")],n=e[jI(\"0x3a\")][jI(\"0x3b\")](t[jI(\"0x3c\")]),i=gb(n[jI(\"0x3d\")]());return e[jI(\"0x11\")][jI(\"0x3e\")][jI(\"0x3f\")](i)}[\"destroy\"](){super[jI(\"0x40\")](),window[jI(\"0x41\")](jI(\"0x15\"),this[jI(\"0x7\")]),this[jI(\"0x7\")][jI(\"0x42\")](),this[jI(\"0x3\")][jI(\"0x43\")](t=>t[jI(\"0x40\")]())}[\"m\"](){const t=[];for(const e of this[jI(\"0x8\")][jI(\"0x9\")][jI(\"0xa\")][jI(\"0xe\")][jI(\"0x44\")])this[jI(\"0x2c\")][jI(\"0x17\")](e)&&t[\"push\"](this[jI(\"0x2c\")][jI(\"0x1f\")](e));const e=this[\"editor\"][\"model\"][\"document\"][jI(\"0xe\")];if(e[\"isCollapsed\"])for(const n of this[\"p\"](e[\"getFirstPosition\"]()))t[jI(\"0x45\")](n);return t[jI(\"0x46\")]((t,e)=>{const n=this[\"getMarkers\"](t),i=this[jI(\"0x28\")](e),o=n[0][jI(\"0x31\")]()[\"start\"],s=n[n[jI(\"0x2f\")]-1][jI(\"0x31\")]()[jI(\"0x47\")],r=i[0][\"getRange\"]()[jI(\"0x48\")],a=i[i[jI(\"0x2f\")]-1][jI(\"0x31\")]()[jI(\"0x47\")];return o[jI(\"0x49\")](r)&&s[jI(\"0x4a\")](a)?-1:o[jI(\"0x4a\")](r)&&s[jI(\"0x49\")](a)?1:0})}[\"p\"](t){const e=[];for(const[n,i]of this[\"i\"])if(!(i[jI(\"0x2f\")]<2))for(let o=1;o<i[\"length\"];o++){const s=i[o-1][jI(\"0x31\")](),r=i[o][jI(\"0x31\")]();s[jI(\"0x47\")][jI(\"0x4b\")](t)&&r[jI(\"0x48\")][jI(\"0x4b\")](t)&&e[jI(\"0x45\")](n)}return e}[\"h\"](){for(const t of this[\"items\"])this[\"l\"](t)}[\"l\"](t,e){e||(e=this[\"getMarkers\"](t[jI(\"0x4c\")])[0]),t[jI(\"0x29\")]=new Jd(this[jI(\"0x39\")](e))}[\"u\"](){const t=Array[jI(\"0x4d\")](this[jI(\"0x3\")])[\"sort\"]((t,e)=>BI(t[jI(\"0x29\")],e[\"targetRect\"]));for(let e=t[jI(\"0x2f\")]-1;e>0;e--){const n=t[e];e!==this[jI(\"0x3\")][jI(\"0x4e\")](n)&&(this[jI(\"0x3\")][jI(\"0x2a\")](n),this[\"items\"][jI(\"0x20\")](n,e))}}[\"g\"](t){let e=0;for(const n of this[jI(\"0x3\")]){const i=this[\"getMarkers\"](n[jI(\"0x4c\")])[0];if(i){const n=this[jI(\"0x39\")](i);if(BI(t,new Jd(n))<0)return e}e++}return Math[jI(\"0x4f\")](0,e)}}function BI(t,e){return t[jI(\"0x50\")]<e[jI(\"0x50\")]?-1:t[jI(\"0x50\")]===e[jI(\"0x50\")]&&t[jI(\"0x51\")]<e[\"left\"]?-1:t[\"top\"]===e[jI(\"0x50\")]&&t[jI(\"0x51\")]===e[\"left\"]?0:1}var VI='\\x3c!--\\n\\n What you\\'re currently looking at is the source code of a legally protected, proprietary software.\\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\\n\\n Copyright (c) 2003-2019, CKSource Frederico Knabben. All rights reserved.\\n\\n!--\\x3e\\n\\n<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 9.4a1 1 0 0 1 2 0c0 .5-.5 1-1 1a1 1 0 0 1-1-1zM8.7 9.4c0-.5.4-1 1-1 .5 0 .9.5.9 1s-.4 1-1 1a1 1 0 0 1-1-1zM6.3 8.5c.5 0 1 .4 1 1 0 .4-.5.9-1 .9a1 1 0 0 1-1-1c0-.5.4-1 1-1z\"/><path d=\"M16 17.4c.6.2 1 .2 1.3-.2V16l-.5-1.1-.3-.7-.3-1.3c.8-1 1.2-2.3 1.2-3.6 0-3.8-3.5-6.9-7.8-6.9-4.2 0-7.7 3-7.7 7 0 3.7 3.5 6.8 7.7 6.8 1 0 2-.1 3-.5 1.4.8 1.6 1 3.4 1.6zm-3.2-2.6h-.4c-.9.4-1.8.5-2.8.5C6 15.3 3 12.7 3 9.4c0-3.2 3-5.9 6.7-5.9 3.8 0 6.8 2.7 6.8 6 0 1-.4 2.2-1 3l-.2.2v.2c0 .7.2 1.2.4 1.8l.3.7a10.4 10.4 0 0 1 .4 1c-1.8-.6-2-.7-3.5-1.6z\"/></svg>\\n';var FI=[\"setTemplate\",\"span\",\"ck-annotation-counter__badge\",\"ck-annotation-counter__badge--edit-mode\",\"children\",\"bindTemplate\",\"set\",\"isEdit\",\"number\",\"bind\",\"_badge\",\"...\",\"extendTemplate\",\"ck-annotation-counter\",\"counterView\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(FI,275);var HI=function(t,e){t=t-0;var n=FI[t];return n};class UI extends Sp{constructor(t){super(t);const e=this[HI(\"0x0\")];this[HI(\"0x1\")](HI(\"0x2\"),!1),this[HI(\"0x1\")](HI(\"0x3\"),0),this[HI(\"0x4\")](HI(\"0x5\"))[\"to\"](this,HI(\"0x2\"),this,HI(\"0x3\"),(t,e)=>t?HI(\"0x6\"):e),this[HI(\"0x1\")](\"annotationType\",\"\"),this[\"icon\"]=VI,this[HI(\"0x7\")]({attributes:{class:[HI(\"0x8\")]}}),this[HI(\"0x9\")]=new Qg,this[HI(\"0x9\")][HI(\"0xa\")]({tag:HI(\"0xb\"),attributes:{class:[HI(\"0xc\"),e[\"to\"](\"annotationType\",t=>\"ck-annotation-counter__badge--\"+t),e[\"if\"](HI(\"0x2\"),HI(\"0xd\"))]},children:[{text:e[\"to\"](HI(\"0x5\"))}]}),this[HI(\"0xe\")][\"add\"](this[HI(\"0x9\")])}}var WI=[\"label\",\"extendTemplate\",\"ck-thread__remove-confirm-\",\"execute\",\"fire\",\"bindTemplate\",\"Yes\",\"cancelView\",\"cancel\",\"set\",\"message\",\"Are you sure?\",\"div\",\"ck-thread__remove-confirm-actions\",\"submitView\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(WI,485);var $I=function(t,e){t=t-0;var n=WI[t];return n};class YI extends Qg{constructor(t){super(t);const e=this[$I(\"0x0\")];this[\"submitView\"]=this[\"Nt\"](t,$I(\"0x1\"),Hw,\"submit\"),this[$I(\"0x2\")]=this[\"Nt\"](t,\"No\",Uw,$I(\"0x3\")),this[$I(\"0x4\")]($I(\"0x5\"),$I(\"0x6\")),this[\"setTemplate\"]({tag:\"div\",attributes:{class:[\"ck-thread__remove-confirm\"]},children:[{tag:$I(\"0x7\"),attributes:{class:\"ck-thread__remove-confirm-inner\"},children:[{tag:\"p\",children:[{text:e[\"to\"]($I(\"0x5\"))}]},{tag:\"div\",attributes:{class:$I(\"0x8\")},children:[this[$I(\"0x9\")],this[$I(\"0x2\")]]}]}]})}[\"Nt\"](t,e,n,i){const o=new Sp(t);return o[$I(\"0xa\")]=e,o[\"icon\"]=n,o[$I(\"0xb\")]({attributes:{class:$I(\"0xc\")+i}}),o[\"on\"]($I(\"0xd\"),()=>this[$I(\"0xe\")](i)),o}}var qI=[\"element\",\"destroy\",\"remove\",\"isConfirm\",\"appendChild\",\"registerChild\",\"submit\",\"fire\",\"confirmView\",\"locale\",\"render\",\"message\",\"once\",\"cancel\",\"stopListening\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(qI,353);var GI=function(t,e){t=t-0;var n=qI[t];return n};var KI={showConfirm(t,e){return this[GI(\"0x0\")]=new YI(this[GI(\"0x1\")]),this[GI(\"0x0\")][GI(\"0x2\")](),this[GI(\"0x0\")][GI(\"0x3\")]=t,this[\"confirmView\"][GI(\"0x4\")](GI(\"0x5\"),()=>{this[GI(\"0x0\")][GI(\"0x6\")](this[GI(\"0x7\")]),this[GI(\"0x0\")][GI(\"0x8\")](),this[GI(\"0x0\")][GI(\"0x7\")][GI(\"0x9\")](),this[\"deregisterChild\"](this[\"confirmView\"]),this[GI(\"0x0\")]=void 0,this[GI(\"0xa\")]=!1}),e[GI(\"0xb\")](this[\"confirmView\"][GI(\"0x7\")]),this[GI(\"0xc\")](this[\"confirmView\"]),this[\"set\"](GI(\"0xa\"),!0),new Promise(t=>this[GI(\"0x0\")][\"on\"](GI(\"0xd\"),t))},cancelConfirm(){this[GI(\"0xa\")]&&this[GI(\"0x0\")][GI(\"0xe\")](GI(\"0x5\"))}};var JI=n(122);var XI=[\"avatar\",\"ck-user__avatar\",\"setTemplate\",\"div\",\"url('\",\"ck ck-user__name ck-user__name--hidden\",\"ck ck-user__name\",\"initials\",\"name\",\"isAnonymous\",\"push\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(XI,448);var QI=function(t,e){t=t-0;var n=XI[t];return n};class ZI extends Qg{constructor(t,e){super(t),this[QI(\"0x0\")]=e[QI(\"0x0\")];const n=[\"ck\",\"ck-user__img\"];e[QI(\"0x1\")]&&n[QI(\"0x2\")](\"ck-user__anonymous\"),e[QI(\"0x3\")]&&n[QI(\"0x2\")](QI(\"0x4\")),this[QI(\"0x5\")]({tag:QI(\"0x6\"),attributes:{class:[\"ck\",\"ck-user\"],\"data-user-id\":e[\"id\"]},children:[{tag:QI(\"0x6\"),attributes:{class:n,style:{\"background-image\":e[QI(\"0x3\")]?QI(\"0x7\")+e[QI(\"0x3\")]+\"')\":\"\"}}},{tag:QI(\"0x6\"),attributes:{class:e[QI(\"0x3\")]?QI(\"0x8\"):QI(\"0x9\")},children:[{text:e[QI(\"0xa\")]}]}]})}}var tO='\\x3c!--\\n\\n What you\\'re currently looking at is the source code of a legally protected, proprietary software.\\n CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,\\n all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.\\n\\n Copyright (c) 2003-2019, CKSource Frederico Knabben. All rights reserved.\\n\\n!--\\x3e\\n\\n<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.2 7h9.2c.6 0 1 .4 1 1v9.9c0 .5-.4 1-1 1H5.2a1 1 0 0 1-1-1V8c0-.6.4-1 1-1zm1 1.5c-.3 0-.5.2-.5.5v8c0 .3.2.5.5.5h.5c.2 0 .5-.2.5-.5V9c0-.3-.3-.5-.5-.5h-.5zm3.2 0c-.2 0-.5.2-.5.5v8c0 .3.3.5.5.5h.5c.3 0 .5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.4zm3.5 0c-.2 0-.5.2-.5.5v8c0 .3.3.5.5.5h.5c.3 0 .5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.5zm-1.4-7.1H8.3L6.5 3.6H3.8c-.5 0-.7.3-.7.8s.2.7.7.7h12c.6 0 .9-.2.9-.7 0-.5-.3-.8-1-.8h-2.4l-1.8-2.2z\"/></svg>\\n';var eO=[\"isConfirm\",\"ck-comment--remove-confirmation\",\"ck-comment\",\"isEdit\",\"ck-comment--edit\",\"nextAction\",\"ck-comment--\",\"div\",\"ck-comment__main\",\"ck-annotation__main\",\"ck-comment__info\",\"ck-annotation__info\",\"ck-comment__info-name\",\"ck-annotation__info-name\",\"time\",\"ck-comment__actions\",\"ck-annotation__actions\",\"ck-comment__actions--hidden\",\"ck-annotation__actions--hidden\",\"ck-annotation__content-wrapper\",\"locale\",\"label\",\"Edit\",\"icon\",\"Remove\",\"ck-comment--remove\",\"mouseenter\",\"focus\",\"listenTo\",\"blur\",\"render\",\"editButton\",\"element\",\"edit\",\"remove\",\"set\",\"createdAt\",\"content\",\"createCollection\",\"removeButton\",\"userView\",\"extendTemplate\",\"ck-comment__user\",\"bindTemplate\",\"setTemplate\",\"ck-comment__wrapper\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(eO,495);var nO=function(t,e){t=t-0;var n=eO[t];return n};class iO extends Qg{constructor(t,{author:e,commentId:n,formatDateTime:i}){super(t),this[nO(\"0x0\")](\"isEdit\",!1),this[\"set\"](\"nextAction\",null),this[nO(\"0x0\")](nO(\"0x1\"),null),this[nO(\"0x2\")]=this[nO(\"0x3\")](),this[\"editButton\"]=this[\"At\"](),this[nO(\"0x4\")]=this[\"Et\"](),this[nO(\"0x5\")]=new ZI(t,e),this[\"userView\"][nO(\"0x6\")]({attributes:{class:[nO(\"0x7\"),\"ck-annotation__user\"]}});const o=this[nO(\"0x8\")];this[nO(\"0x9\")]({tag:\"li\",attributes:{class:[nO(\"0xa\"),o[\"if\"](nO(\"0xb\"),nO(\"0xc\"))],tabindex:-1},children:[{tag:\"div\",attributes:{class:[nO(\"0xd\"),\"ck-annotation\",o[\"if\"](nO(\"0xe\"),nO(\"0xf\")),o[\"to\"](nO(\"0x10\"),t=>t?nO(\"0x11\")+t:\"\")],\"data-author-id\":e[\"id\"],\"data-comment-id\":n},children:[this[nO(\"0x5\")],{tag:nO(\"0x12\"),attributes:{class:[nO(\"0x13\"),nO(\"0x14\")]},children:[{tag:\"div\",attributes:{class:[nO(\"0x15\"),nO(\"0x16\")]},children:[{tag:\"span\",children:[{text:this[\"userView\"][\"name\"]}],attributes:{class:[nO(\"0x17\"),nO(\"0x18\")]}},{tag:nO(\"0x19\"),attributes:{datetime:o[\"to\"](\"createdAt\"),class:[\"ck-comment__info-time\",\"ck-annotation__info-time\"]},children:[{text:o[\"to\"](\"createdAt\",t=>i(t))}]}]},{tag:nO(\"0x12\"),attributes:{class:[nO(\"0x1a\"),nO(\"0x1b\"),o[\"if\"](nO(\"0xe\"),nO(\"0x1c\")),o[\"if\"](nO(\"0xe\"),nO(\"0x1d\"))]},children:[this[\"editButton\"],this[\"removeButton\"]]},{tag:nO(\"0x12\"),attributes:{class:[nO(\"0x1e\")]},children:this[\"content\"]}]}]}]})}[\"At\"](){const t=new Sp(this[nO(\"0x1f\")]);return t[nO(\"0x20\")]=nO(\"0x21\"),t[nO(\"0x22\")]=Dk,t[\"extendTemplate\"]({attributes:{class:nO(\"0xf\")}}),t}[\"Et\"](){const t=new Sp(this[nO(\"0x1f\")]);return t[nO(\"0x20\")]=nO(\"0x23\"),t[\"icon\"]=tO,t[nO(\"0x6\")]({attributes:{class:nO(\"0x24\")}}),t}[\"Bt\"](t,e){this[\"listenTo\"](t,nO(\"0x25\"),()=>this[\"nextAction\"]=e),this[\"listenTo\"](t,nO(\"0x26\"),()=>this[nO(\"0x10\")]=e),this[nO(\"0x27\")](t,\"mouseleave\",()=>this[nO(\"0x10\")]=null),this[nO(\"0x27\")](t,nO(\"0x28\"),()=>this[nO(\"0x10\")]=null)}[nO(\"0x29\")](){super[\"render\"](),this[\"Bt\"](this[nO(\"0x2a\")][nO(\"0x2b\")],nO(\"0x2c\")),this[\"Bt\"](this[nO(\"0x4\")][nO(\"0x2b\")],nO(\"0x2d\"))}}vr(iO,KI);var oO=[\"content\",\"set\",\"setTemplate\",\"div\",\"ck-annotation__content\",\"render\",\"change:content\",\"element\",\"innerHTML\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(oO,145);var sO=function(t,e){t=t-0;var n=oO[t];return n};class rO extends Qg{constructor(t){super(t),this[sO(\"0x0\")](\"content\",\"\"),this[sO(\"0x1\")]({tag:sO(\"0x2\"),attributes:{class:[\"ck-comment__content\",sO(\"0x3\")]}})}[sO(\"0x4\")](){super[sO(\"0x4\")](),this[\"on\"](sO(\"0x5\"),(t,e,n)=>{this[sO(\"0x6\")][\"innerHTML\"]=n}),this[sO(\"0x6\")][sO(\"0x7\")]=this[sO(\"0x8\")]}}var aO=[\"main\",\"createCollection\",\"setTemplate\",\"div\",\"ck-rounded-corners\",\"ck-comment__input\",\"comment\",\"uiLanguageDirection\",\"uiLanguage\",\"ck-editor__main\",\"presentation\",\"render\",\"add\",\"editable\",\"element\",\"focus\",\"text\",\"Comment editor\",\"ck-editor__aria-label_\",\"ck-voice-label\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(aO,220);var cO=function(t,e){t=t-0;var n=aO[t];return n};class lO extends tp{constructor(t,e){super(t);const n=nr();this[cO(\"0x0\")]=this[cO(\"0x1\")](),this[\"editable\"]=new sp(t,e),this[\"ii\"]=this[\"ei\"](n),this[cO(\"0x2\")]({tag:cO(\"0x3\"),attributes:{class:[\"ck-reset\",\"ck-editor\",cO(\"0x4\"),cO(\"0x5\")],role:cO(\"0x6\"),dir:t[cO(\"0x7\")],lang:t[cO(\"0x8\")],\"aria-labelledby\":\"cke-editor__aria-label_\"+n},children:[this[\"ii\"],{tag:\"div\",attributes:{class:cO(\"0x9\"),role:cO(\"0xa\")},children:this[cO(\"0x0\")]}]})}[cO(\"0xb\")](){super[cO(\"0xb\")](),this[\"main\"][cO(\"0xc\")](this[cO(\"0xd\")])}[\"focus\"](){this[cO(\"0xd\")][cO(\"0xe\")][cO(\"0xf\")]()}[\"ei\"](t){const e=new np;return e[cO(\"0x10\")]=cO(\"0x11\"),e[\"extendTemplate\"]({attributes:{id:cO(\"0x12\")+t,class:cO(\"0x13\")}}),e}}var dO=[\"document\",\"getRoot\",\"name\",\"rootName\",\"render\",\"element\",\"add\",\"bind\",\"isFocused\",\"focusTracker\",\"fire\",\"ready\",\"destroy\",\"view\",\"locale\",\"editor\",\"editable\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(dO,115);var uO=function(t,e){t=t-0;var n=dO[t];return n};class hO extends ag{constructor(t){super(t),this[uO(\"0x0\")]=new lO(t[uO(\"0x1\")],t[\"editing\"][uO(\"0x0\")])}get[\"element\"](){return this[\"view\"][\"element\"]}[\"init\"](){const t=this[uO(\"0x2\")][\"editing\"][uO(\"0x0\")],e=this[uO(\"0x0\")][uO(\"0x3\")],n=t[uO(\"0x4\")][uO(\"0x5\")]();e[uO(\"0x6\")]=n[uO(\"0x7\")],this[uO(\"0x0\")][uO(\"0x8\")]();const i=e[uO(\"0x9\")];this[\"setEditableElement\"](e[uO(\"0x6\")],i),this[\"focusTracker\"][uO(\"0xa\")](i),this[\"view\"][uO(\"0x3\")][uO(\"0xb\")](uO(\"0xc\"))[\"to\"](this[uO(\"0xd\")]),t[\"attachDomRoot\"](i),this[uO(\"0xe\")](uO(\"0xf\"))}[\"destroy\"](){this[\"view\"][uO(\"0x10\")](),super[uO(\"0x10\")]()}}class fO extends fb{execute(){const t=this.editor.model;const e=t.document;t.change(n=>{mO(this.editor.model,n,e.selection,t.schema);this.fire(\"afterExecute\",{writer:n})})}}function mO(t,e,n,i){const o=n.isCollapsed;const s=n.getFirstRange();const r=s.start.parent;const a=s.end.parent;if(i.isLimit(r)||i.isLimit(a)){if(!o&&r==a){t.deleteContent(n)}return}if(o){const t=sT(e.model.schema,n.getAttributes());gO(e,s.start);e.setSelectionAttribute(t)}else{const i=!(s.start.isAtStart&&s.end.isAtEnd);const o=r==a;t.deleteContent(n,{leaveUnmerged:i});if(i){if(o){gO(e,n.focus)}else{e.setSelection(a,0)}}}}function gO(t,e){t.split(e);t.setSelection(e.parent.nextSibling,0)}class pO extends db{static get pluginName(){return\"Enter\"}init(){const t=this.editor;const e=t.editing.view;const n=e.document;e.addObserver(uT);t.commands.add(\"enter\",new fO(t));this.listenTo(n,\"enter\",(n,i)=>{i.preventDefault();if(i.isSoft){return}t.execute(\"enter\");e.scrollToTheSelection()},{priority:\"low\"})}}class bO{constructor(t,e=20){this.model=t;this.size=0;this.limit=e;this.isLocked=false;this._changeCallback=(t,e)=>{if(e.type!=\"transparent\"&&e!==this._batch){this._reset(true)}};this._selectionChangeCallback=()=>{this._reset()};this.model.document.on(\"change\",this._changeCallback);this.model.document.selection.on(\"change:range\",this._selectionChangeCallback);this.model.document.selection.on(\"change:attribute\",this._selectionChangeCallback)}get batch(){if(!this._batch){this._batch=this.model.createBatch()}return this._batch}input(t){this.size+=t;if(this.size>=this.limit){this._reset(true)}}lock(){this.isLocked=true}unlock(){this.isLocked=false}destroy(){this.model.document.off(\"change\",this._changeCallback);this.model.document.selection.off(\"change:range\",this._selectionChangeCallback);this.model.document.selection.off(\"change:attribute\",this._selectionChangeCallback)}_reset(t){if(!this.isLocked||t){this._batch=null;this.size=0}}}class wO extends fb{constructor(t,e){super(t);this._buffer=new bO(t.model,e);this._batches=new WeakSet}get buffer(){return this._buffer}destroy(){super.destroy();this._buffer.destroy()}execute(t={}){const e=this.editor.model;const n=e.document;const i=t.text||\"\";const o=i.length;const s=t.range||n.selection.getFirstRange();const r=t.resultRange;e.enqueueChange(this._buffer.batch,t=>{const a=s.isCollapsed;this._buffer.lock();e.deleteContent(e.createSelection(s));if(i){e.insertContent(t.createText(i,n.selection.getAttributes()),s.start)}if(r){t.setSelection(r)}else if(a){t.setSelection(s.start.getShiftedBy(o))}this._buffer.unlock();this._buffer.input(o);this._batches.add(this._buffer.batch)})}}function _O(t){let e=null;const n=t.model;const i=t.editing.view;const o=t.commands.get(\"input\");if(Xa.isAndroid){i.document.on(\"beforeinput\",(t,e)=>s(e),{priority:\"lowest\"})}else{i.document.on(\"keydown\",(t,e)=>s(e),{priority:\"lowest\"})}i.document.on(\"compositionstart\",r,{priority:\"lowest\"});i.document.on(\"compositionend\",()=>{e=n.createSelection(n.document.selection)},{priority:\"lowest\"});function s(t){const s=n.document;const r=i.document.isComposing;const c=e&&e.isEqual(s.selection);e=null;if(!o.isEnabled){return}if(kO(t)||s.selection.isCollapsed){return}if(r&&t.keyCode===229){return}if(!r&&t.keyCode===229&&c){return}a()}function r(){const t=n.document;const e=t.selection.rangeCount===1?t.selection.getFirstRange().isFlat:true;if(t.selection.isCollapsed||e){return}a()}function a(){const t=o.buffer;t.lock();n.enqueueChange(t.batch,()=>{n.deleteContent(n.document.selection)});t.unlock()}}const vO=[ac(\"arrowUp\"),ac(\"arrowRight\"),ac(\"arrowDown\"),ac(\"arrowLeft\"),9,16,17,18,19,20,27,33,34,35,36,45,91,93,144,145,173,174,175,176,177,178,179,255];for(let t=112;t<=135;t++){vO.push(t)}function kO(t){if(t.ctrlKey){return true}return vO.includes(t.keyCode)}function xO(t,e){const n=[];let i=0;let o;t.forEach(t=>{if(t==\"equal\"){s();i++}else if(t==\"insert\"){if(r(\"insert\")){o.values.push(e[i])}else{s();o={type:\"insert\",index:i,values:[e[i]]}}i++}else{if(r(\"delete\")){o.howMany++}else{s();o={type:\"delete\",index:i,howMany:1}}}});s();return n;function s(){if(o){n.push(o);o=null}}function r(t){return o&&o.type==t}}function yO(t){if(t.length==0){return false}for(const e of t){if(e.type===\"children\"&&!AO(e)){return true}}return false}function AO(t){if(t.newChildren.length-t.oldChildren.length!=1){return}const e=Yc(t.oldChildren,t.newChildren,CO);const n=xO(e,t.newChildren);if(n.length>1){return}const i=n[0];if(!(!!i.values[0]&&i.values[0].is(\"text\"))){return}return i}function CO(t,e){if(!!t&&t.is(\"text\")&&!!e&&e.is(\"text\")){return t.data===e.data}else{return t===e}}function TO(t){t.editing.view.document.on(\"mutations\",(e,n,i)=>{new MO(t).handle(n,i)})}class MO{constructor(t){this.editor=t;this.editing=this.editor.editing}handle(t,e){if(yO(t)){this._handleContainerChildrenMutations(t,e)}else{for(const n of t){this._handleTextMutation(n,e);this._handleTextNodeInsertion(n)}}}_handleContainerChildrenMutations(t,e){const n=EO(t);if(!n){return}const i=this.editor.editing.view.domConverter;const o=i.mapViewToDom(n);const s=new ll;const r=this.editor.data.toModel(s.domToView(o)).getChild(0);const a=this.editor.editing.mapper.toModelElement(n);if(!a){return}const c=Array.from(r.getChildren());const l=Array.from(a.getChildren());const d=c[c.length-1];const u=l[l.length-1];if(d&&d.is(\"softBreak\")&&u&&!u.is(\"softBreak\")){c.pop()}const h=this.editor.model.schema;if(!PO(c,h)||!PO(l,h)){return}const f=c.map(t=>t.is(\"text\")?t.data:\"@\").join(\"\").replace(/\\u00A0/g,\" \");const m=l.map(t=>t.is(\"text\")?t.data:\"@\").join(\"\").replace(/\\u00A0/g,\" \");if(m===f){return}const g=Yc(m,f);const{firstChangeAt:p,insertions:b,deletions:w}=SO(g);let _=null;if(e){_=this.editing.mapper.toModelRange(e.getFirstRange())}const v=f.substr(p,b);const k=this.editor.model.createRange(this.editor.model.createPositionAt(a,p),this.editor.model.createPositionAt(a,p+w));this.editor.execute(\"input\",{text:v,range:k,resultRange:_})}_handleTextMutation(t,e){if(t.type!=\"text\"){return}const n=t.newText.replace(/\\u00A0/g,\" \");const i=t.oldText.replace(/\\u00A0/g,\" \");if(i===n){return}const o=Yc(i,n);const{firstChangeAt:s,insertions:r,deletions:a}=SO(o);let c=null;if(e){c=this.editing.mapper.toModelRange(e.getFirstRange())}const l=this.editing.view.createPositionAt(t.node,s);const d=this.editing.mapper.toModelPosition(l);const u=this.editor.model.createRange(d,d.getShiftedBy(a));const h=n.substr(s,r);this.editor.execute(\"input\",{text:h,range:u,resultRange:c})}_handleTextNodeInsertion(t){if(t.type!=\"children\"){return}const e=AO(t);const n=this.editing.view.createPositionAt(t.node,e.index);const i=this.editing.mapper.toModelPosition(n);const o=e.values[0].data;this.editor.execute(\"input\",{text:o.replace(/\\u00A0/g,\" \"),range:this.editor.model.createRange(i)})}}function EO(t){const e=t.map(t=>t.node).reduce((t,e)=>t.getCommonAncestor(e,{includeSelf:true}));if(!e){return}return e.getAncestors({includeSelf:true,parentFirst:true}).find(t=>t.is(\"containerElement\")||t.is(\"rootElement\"))}function PO(t,e){return t.every(t=>e.isInline(t))}function SO(t){let e=null;let n=null;for(let i=0;i<t.length;i++){const o=t[i];if(o!=\"equal\"){e=e===null?i:e;n=i}}let i=0;let o=0;for(let s=e;s<=n;s++){if(t[s]!=\"insert\"){i++}if(t[s]!=\"delete\"){o++}}return{insertions:o,deletions:i,firstChangeAt:e}}class IO extends db{static get pluginName(){return\"Input\"}init(){const t=this.editor;const e=new wO(t,t.config.get(\"typing.undoStep\")||20);t.commands.add(\"input\",e);_O(t);TO(t)}isInput(t){const e=this.editor.commands.get(\"input\");return e._batches.has(t)}}class OO extends fb{constructor(t,e){super(t);this.direction=e;this._buffer=new bO(t.model,t.config.get(\"typing.undoStep\"))}get buffer(){return this._buffer}execute(t={}){const e=this.editor.model;const n=e.document;e.enqueueChange(this._buffer.batch,i=>{this._buffer.lock();const o=i.createSelection(t.selection||n.selection);const s=o.isCollapsed;if(o.isCollapsed){e.modifySelection(o,{direction:this.direction,unit:t.unit})}if(this._shouldEntireContentBeReplacedWithParagraph(t.sequence||1)){this._replaceEntireContentWithParagraph(i);return}if(o.isCollapsed){return}let r=0;o.getFirstRange().getMinimalFlatRanges().forEach(t=>{r+=za(t.getWalker({singleCharacters:true,ignoreElementEnd:true,shallow:true}))});e.deleteContent(o,{doNotResetEntireContent:s});this._buffer.input(r);i.setSelection(o);this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(t){if(t>1){return false}const e=this.editor.model;const n=e.document;const i=n.selection;const o=e.schema.getLimitElement(i);const s=i.isCollapsed&&i.containsEntireContent(o);if(!s){return false}if(!e.schema.checkChild(o,\"paragraph\")){return false}const r=o.getChild(0);if(r&&r.name===\"paragraph\"){return false}return true}_replaceEntireContentWithParagraph(t){const e=this.editor.model;const n=e.document;const i=n.selection;const o=e.schema.getLimitElement(i);const s=t.createElement(\"paragraph\");t.remove(t.createRangeIn(o));t.insert(s,o);t.setSelection(s,0)}}class NO extends _l{constructor(t){super(t);const e=t.document;let n=0;e.on(\"keyup\",(t,e)=>{if(e.keyCode==rc.delete||e.keyCode==rc.backspace){n=0}});e.on(\"keydown\",(t,e)=>{const o={};if(e.keyCode==rc.delete){o.direction=\"forward\";o.unit=\"character\"}else if(e.keyCode==rc.backspace){o.direction=\"backward\";o.unit=\"codePoint\"}else{return}const s=Xa.isMac?e.altKey:e.ctrlKey;o.unit=s?\"word\":o.unit;o.sequence=++n;i(t,e.domEvent,o)});if(Xa.isAndroid){e.on(\"beforeinput\",(e,n)=>{if(n.domEvent.inputType!=\"deleteContentBackward\"){return}const o={unit:\"codepoint\",direction:\"backward\",sequence:1};const s=n.domTarget.ownerDocument.defaultView.getSelection();if(s.anchorNode==s.focusNode&&s.anchorOffset+1!=s.focusOffset){o.selectionToRemove=t.domConverter.domSelectionToView(s)}i(e,n.domEvent,o)})}function i(t,n,i){let o;e.once(\"delete\",t=>o=t,{priority:Number.POSITIVE_INFINITY});e.fire(\"delete\",new vd(e,n,i));if(o&&o.stop.called){t.stop()}}}observe(){}}class LO extends db{static get pluginName(){return\"Delete\"}init(){const t=this.editor;const e=t.editing.view;const n=e.document;e.addObserver(NO);t.commands.add(\"forwardDelete\",new OO(t,\"forward\"));t.commands.add(\"delete\",new OO(t,\"backward\"));this.listenTo(n,\"delete\",(n,i)=>{const o={unit:i.unit,sequence:i.sequence};if(i.selectionToRemove){const e=t.model.createSelection();const n=[];for(const e of i.selectionToRemove.getRanges()){n.push(t.editing.mapper.toModelRange(e))}e.setTo(n);o.selection=e}t.execute(i.direction==\"forward\"?\"forwardDelete\":\"delete\",o);i.preventDefault();e.scrollToTheSelection()});if(Xa.isAndroid){let t=null;this.listenTo(n,\"delete\",(e,n)=>{const i=n.domTarget.ownerDocument.defaultView.getSelection();t={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}},{priority:\"lowest\"});this.listenTo(n,\"keyup\",(e,n)=>{if(t){const e=n.domTarget.ownerDocument.defaultView.getSelection();e.collapse(t.anchorNode,t.anchorOffset);e.extend(t.focusNode,t.focusOffset);t=null}})}}}class RO extends db{static get requires(){return[IO,LO]}static get pluginName(){return\"Typing\"}}class DO extends db{static get requires(){return[Jx,pO,hT,RO,_y]}static get pluginName(){return\"Essentials\"}}var jO=[\"defaultPlugins\",\"set\",\"model\",\"document\",\"data\",\"initPlugins\",\"then\",\"init\",\"fire\",\"ready\",\"destroy\",\"focus\",\"change\",\"getRoot\",\"getChild\",\"childCount\",\"setSelection\",\"editing\",\"view\",\"name\",\"placeholderElement\",\"placeholder\",\"plugins\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(jO,114);var zO=function(t,e){t=t-0;var n=jO[t];return n};class BO extends Km{constructor(t={}){t[zO(\"0x0\")]||(t[zO(\"0x0\")]=BO[zO(\"0x1\")]),super(t),this[\"ui\"]=new hO(this),this[zO(\"0x2\")](\"placeholder\",\"\"),this[zO(\"0x3\")][zO(\"0x4\")][\"on\"](\"change\",()=>this[\"at\"](),{priority:\"low\"}),this[\"on\"](\"change:placeholder\",()=>this[\"at\"]()),this[zO(\"0x3\")][zO(\"0x4\")][\"createRoot\"](),this[zO(\"0x5\")][\"processor\"]=new ig}[\"create\"](){return this[zO(\"0x6\")]()[zO(\"0x7\")](()=>this[\"ui\"][zO(\"0x8\")]())[zO(\"0x7\")](()=>this[zO(\"0x5\")][\"init\"](\"\"))[zO(\"0x7\")](()=>this[zO(\"0x9\")](zO(\"0xa\")))}[zO(\"0xb\")](){return super[\"destroy\"]()[zO(\"0x7\")](()=>this[\"ui\"][zO(\"0xb\")]())}[zO(\"0xc\")](){this[zO(\"0x3\")][zO(\"0xd\")](t=>{const e=this[zO(\"0x3\")][\"document\"][zO(\"0xe\")](),n=e[zO(\"0xf\")](e[zO(\"0x10\")]-1);t[zO(\"0x11\")](n,\"end\"),this[zO(\"0x12\")][zO(\"0x13\")][zO(\"0xc\")]()})}[\"at\"](){const t=this[zO(\"0x12\")][zO(\"0x13\")],e=t[zO(\"0x4\")][zO(\"0xe\")](),n=e[zO(\"0xf\")](0);e[zO(\"0x10\")]>1||!n||\"p\"!=n[zO(\"0x14\")]?this[zO(\"0x15\")]&&(fg(t,this[zO(\"0x15\")]),this[zO(\"0x15\")]=void 0):(hg({view:t,element:n,text:this[zO(\"0x16\")]}),this[zO(\"0x15\")]=n)}}vr(BO,_a),vr(BO,Xm),BO[zO(\"0x1\")]=[DO,ub,Lb,Ib,sv,Tx];var VO=[\"execute\",\"submit\",\"length\",\"Comment content is too long. Your comment has a \",\" characters but the limit is a 4000 characters.\",\"high\",\"render\",\"listenTo\",\"add\",\"create\",\"then\",\"insertBefore\",\"element\",\"firstChild\",\"model\",\"document\",\"change\",\"editor\",\"focus\",\"destroy\",\"extendTemplate\",\"ck-comment__input-actions--submit\",\"label\",\"Submit\",\"bind\",\"isEnabled\",\"disabledSubmit\",\"trim\",\"locale\",\"ck-comment__input-actions--cancel\",\"Cancel\",\"view\",\"forEach\",\"tab\",\"focusNext\",\"low\",\"keystrokes\",\"focusTracker\",\"set\",\"value\",\"placeholder\",\"cancelButtonView\",\"setTemplate\",\"div\",\"ck-comment__input-actions\",\"submitButtonView\",\"Esc\",\"fire\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(VO,132);var FO=function(t,e){t=t-0;var n=VO[t];return n};class HO extends Qg{constructor(t,e){super(t),this[\"editor\"]=new BO(e),this[FO(\"0x0\")]=new qm,this[FO(\"0x1\")]=new rg,this[FO(\"0x2\")](FO(\"0x3\"),\"\"),this[FO(\"0x2\")](\"disabledSubmit\",!1),this[FO(\"0x2\")](FO(\"0x4\"),\"\"),this[\"submitButtonView\"]=this[\"yt\"](),this[FO(\"0x5\")]=this[\"xt\"](),this[FO(\"0x6\")]({tag:\"div\",attributes:{class:[\"ck-comment__input-wrapper\"]},children:[{tag:FO(\"0x7\"),attributes:{class:[FO(\"0x8\")]},children:[this[FO(\"0x9\")],this[FO(\"0x5\")]]}]}),this[FO(\"0x0\")][FO(\"0x2\")](FO(\"0xa\"),(t,e)=>{this[FO(\"0x5\")][FO(\"0xb\")](FO(\"0xc\")),e()}),this[\"on\"](FO(\"0xd\"),(t,e)=>{e[FO(\"0xe\")]>4e3&&(alert(FO(\"0xf\")+e[FO(\"0xe\")]+FO(\"0x10\")),t[\"stop\"]())},{priority:FO(\"0x11\")})}[\"render\"](){super[FO(\"0x12\")]();const{editor:t,element:e}=this;this[FO(\"0x0\")][FO(\"0x13\")](e),this[FO(\"0x1\")][FO(\"0x14\")](e),t[FO(\"0x15\")]()[FO(\"0x16\")](()=>{e[FO(\"0x17\")](t[\"ui\"][FO(\"0x18\")],e[FO(\"0x19\")]),t[FO(\"0x1a\")][FO(\"0x1b\")][\"on\"](FO(\"0x1c\"),()=>this[FO(\"0x3\")]=t[\"getData\"]()),t[\"bind\"](FO(\"0x4\"))[\"to\"](this),this[\"St\"](t),this[\"fire\"](\"editorReady\")})}[\"focus\"](){this[FO(\"0x1d\")][FO(\"0x1e\")]()}[\"destroy\"](){return this[\"isRendered\"]?this[FO(\"0x1d\")][FO(\"0x1f\")]()[FO(\"0x16\")](()=>super[FO(\"0x1f\")]()):Promise[\"resolve\"](super[FO(\"0x1f\")]())}[\"yt\"](){const t=new Sp(this[\"locale\"]);return t[FO(\"0x20\")]({attributes:{class:[FO(\"0x21\")]}}),t[FO(\"0x22\")]=FO(\"0x23\"),t[\"icon\"]=Hw,t[\"on\"](FO(\"0xc\"),()=>this[FO(\"0xb\")](FO(\"0xd\"),this[FO(\"0x3\")])),t[FO(\"0x24\")](FO(\"0x25\"))[\"to\"](this,FO(\"0x3\"),this,FO(\"0x26\"),(t,e)=>!e&&!!t[FO(\"0x27\")]()),t}[\"xt\"](){const t=new Sp(this[FO(\"0x28\")]);return t[FO(\"0x20\")]({attributes:{class:[FO(\"0x29\")]}}),t[FO(\"0x22\")]=FO(\"0x2a\"),t[\"icon\"]=Uw,t[\"on\"](FO(\"0xc\"),()=>{this[FO(\"0x1d\")][\"setData\"](\"\"),this[FO(\"0xb\")](\"cancel\")}),t}[\"St\"](t){const e=this[FO(\"0x1\")],n=new xg;[t[\"ui\"][FO(\"0x2b\")],this[FO(\"0x9\")],this[FO(\"0x5\")]][FO(\"0x2c\")](t=>{n[\"add\"](t),e[FO(\"0x14\")](t[FO(\"0x18\")])});const i=new dp({focusables:n,focusTracker:e});this[\"keystrokes\"][\"set\"](FO(\"0x2d\"),(t,e)=>{i[FO(\"0x2e\")](),e()},{priority:FO(\"0x2f\")}),this[\"keystrokes\"][FO(\"0x2\")](\"shift + tab\",(t,e)=>{i[\"focusPrevious\"](),e()},{priority:\"low\"})}}var UO=[\"indexOf\",\"join\",\"...\",\"replace\",\"split\",\"length\",\"startsWith\",\"match\",\"push\",\"slice\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(UO,442);var WO=function(t,e){t=t-0;var n=UO[t];return n};function $O(t,{limit:e,suffix:n=WO(\"0x0\")}){const i=[];let o=0;const s=t[WO(\"0x1\")](/</g,\"\\n<\")[WO(\"0x1\")](/>/g,\">\\n\")[WO(\"0x1\")](/^\\n/g,\"\")[\"replace\"](/\\n$/g,\"\")[WO(\"0x2\")](\"\\n\");for(let t=0;t<s[WO(\"0x3\")];t++){let r=s[t];const a=YO(r);if(r[WO(\"0x4\")](\"<\")){if(o>=e){const t=r[WO(\"0x5\")](/[a-zA-Z]+/)[0];r[WO(\"0x4\")](\"</\")?(i[WO(\"0x3\")]&&(r=\"\"),i[\"pop\"]()):(i[WO(\"0x6\")](t),r=\"\")}}else if(o>=e)r=\"\";else if(o+a[WO(\"0x3\")]>=e){let t=e-o;if(\" \"===a[t-1])t--;else{const e=a[WO(\"0x7\")](t)[WO(\"0x8\")](\" \");-1!==e?t+=e:t=r[\"length\"]}r=a[\"slice\"](0,t)[WO(\"0x9\")](\"\")+n,o=e}else o+=a[\"length\"];s[t]=r}return s[WO(\"0x9\")](\"\\n\")[WO(\"0x1\")](/\\n/g,\"\")}function YO(t){const e=[];for(let n=0;n<t[\"length\"];n++){const i=t[\"substring\"](n)[WO(\"0x5\")](/^&[a-z0-9#]+;/);if(i){const t=i[0];e[\"push\"](t),n+=t[WO(\"0x3\")]-1}else e[WO(\"0x6\")](t[n])}return e}var qO=[\"bind\",\"isVisible\",\"isEnabled\",\"isEnabledForComment\",\"editButton\",\"execute\",\"removeButton\",\"showConfirm\",\"Delete comment?\",\"element\",\"updateComment\",\"submit\",\"comment-controller-update-comment-command-disabled: Cannot edit comment when `updateComment` command is disabled.\",\"cancel\",\"once\",\"editorReady\",\"editor\",\"setData\",\"focus\",\"commentcontroller-permision-denied: Permission denied for editing comment.\",\"remove\",\"add\",\"localeData\",\"placeholder\",\"Reply...\",\"isCollapsed\",\"view\",\"comment\",\"max\",\"createElement\",\"div\",\"innerHTML\",\"textContent\",\"content\",\"expand\",\"collapse\",\"isEdit\",\"destroy\",\"stopListening\",\"resolve\",\"then\",\"locale\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(qO,274);var GO=function(t,e){t=t-0;var n=qO[t];return n};const KO=200,JO=140;class XO{constructor(t,e,n,i){this[GO(\"0x0\")]=t,this[\"comment\"]=e,this[\"it\"]=n,this[\"st\"]=i,this[GO(\"0x1\")]=GO(\"0x2\"),this[\"set\"](GO(\"0x3\"),!1),this[\"set\"](\"isEdit\",!1),this[GO(\"0x4\")]=this[\"ot\"](),this[\"on\"](\"change:isEdit\",(t,e,n)=>this[\"rt\"](n))}get[\"id\"](){return this[GO(\"0x5\")][\"id\"]}get[\"weight\"](){return Math[GO(\"0x6\")](function(t){const e=document[GO(\"0x7\")](GO(\"0x8\"));return e[GO(\"0x9\")]=t,e[GO(\"0xa\")][\"length\"]}(this[\"comment\"][GO(\"0xb\")]),KO)}[GO(\"0xc\")](){this[GO(\"0x3\")]=!1}[GO(\"0xd\")](){this[GO(\"0xe\")]||(this[GO(\"0x3\")]=!0)}[GO(\"0xf\")](){return this[GO(\"0x10\")](),this[GO(\"0x4\")][GO(\"0xf\")](),Promise[GO(\"0x11\")]()[GO(\"0x12\")](()=>this[\"view\"][GO(\"0xb\")][\"get\"](0)[GO(\"0xf\")]())}[\"ot\"](){const t=new iO(this[GO(\"0x0\")][GO(\"0x13\")],{author:this[GO(\"0x5\")][\"author\"],commentId:this[GO(\"0x5\")][\"id\"],formatDateTime:this[\"localeData\"][\"formatDateTime\"]}),{updateComment:e,removeComment:n}=this[\"it\"];return t[GO(\"0x14\")](\"isEdit\")[\"to\"](this),t[GO(\"0x14\")](\"createdAt\")[\"to\"](this[GO(\"0x5\")]),t[\"content\"][\"add\"](this[\"ht\"]()),t[\"editButton\"][GO(\"0x14\")](GO(\"0x15\"))[\"to\"](e,GO(\"0x16\"),t=>t&&e[GO(\"0x17\")](this[GO(\"0x5\")])),t[GO(\"0x18\")][\"on\"](GO(\"0x19\"),()=>this[GO(\"0xe\")]=!0),t[GO(\"0x1a\")][GO(\"0x14\")](GO(\"0x15\"))[\"to\"](n,GO(\"0x16\"),t=>t&&n[GO(\"0x17\")](this[GO(\"0x5\")])),t[GO(\"0x1a\")][\"on\"](\"execute\",()=>{t[GO(\"0x1b\")](GO(\"0x1c\"),t[GO(\"0x1d\")])[\"then\"](()=>{n[GO(\"0x19\")]({commentId:this[\"id\"]})})}),t}[\"ht\"](){const t=new rO(this[GO(\"0x0\")][\"locale\"]);return t[GO(\"0x14\")](GO(\"0xb\"))[\"to\"](this[GO(\"0x5\")],GO(\"0xb\"),this,\"isCollapsed\",(t,e)=>e?$O(t,{limit:JO}):t),t}[\"ct\"](){const t=new HO(this[GO(\"0x0\")][GO(\"0x13\")],this[\"st\"]),e=this[\"it\"][GO(\"0x1e\")];return t[GO(\"0x1\")]=this[GO(\"0x1\")],t[\"bind\"](\"disabledSubmit\")[\"to\"](e,GO(\"0x16\"),t=>!t),t[\"on\"](GO(\"0x1f\"),(t,n)=>{if(!e[GO(\"0x16\")])throw new Qs[\"b\"](GO(\"0x20\"),this);e[GO(\"0x19\")]({commentId:this[\"id\"],content:n}),this[GO(\"0xe\")]=!1,this[\"dt\"]()}),t[\"on\"](GO(\"0x21\"),()=>{this[GO(\"0xe\")]=!1,this[\"dt\"]()}),t[GO(\"0x22\")](GO(\"0x23\"),()=>{t[GO(\"0x24\")][GO(\"0x25\")](this[GO(\"0x5\")][GO(\"0xb\")]),t[GO(\"0x26\")]()}),t}[\"rt\"](t){const e=this[\"it\"][\"updateComment\"];if(t&&!e[GO(\"0x17\")](this[GO(\"0x5\")]))throw new Qs[\"b\"](GO(\"0x27\"),this);if(t&&!e[GO(\"0x16\")])throw new Qs[\"b\"](GO(\"0x20\"),this);this[GO(\"0x4\")][GO(\"0xb\")][GO(\"0x28\")](0)[GO(\"0xf\")](),t?this[GO(\"0x4\")][GO(\"0xb\")][GO(\"0x29\")](this[\"ct\"]()):this[GO(\"0x4\")][GO(\"0xb\")][\"add\"](this[\"ht\"]())}[\"dt\"](){this[GO(\"0x4\")][\"element\"][GO(\"0x26\")]()}}vr(XO,_a);var QO=[\"active\",\"visibleInput\",\"visibleActions\",\"nextAction\",\"focusTracker\",\"comments\",\"createCollection\",\"userView\",\"ck-thread__user\",\"bindTemplate\",\"div\",\"ck-thread\",\"isConfirm\",\"ck-thread--remove-confirmation\",\"ck-thread--\",\"ck-thread__container\",\"ck-comment__input-container\",\"ck-comment__input-container--active\",\"ck-comment__input-container--active-actions\",\"commentInputView\",\"render\",\"add\",\"element\",\"containerElement\",\"querySelector\",\".ck-thread__container\",\"destroy\",\"then\",\"locale\",\"extendTemplate\",\"ck-thread__input\",\"extend\",\"template\",\"children\",\"set\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(QO,139);var ZO=function(t,e){t=t-0;var n=QO[t];return n};class tN extends Qg{constructor(t,e,n,i){super(t),this[ZO(\"0x0\")](ZO(\"0x1\"),!1),this[ZO(\"0x0\")](ZO(\"0x2\"),!1),this[ZO(\"0x0\")](ZO(\"0x3\"),!1),this[\"set\"](ZO(\"0x4\"),null),this[ZO(\"0x5\")]=new rg,this[ZO(\"0x6\")]=this[ZO(\"0x7\")](),this[\"commentInputView\"]=this[\"ct\"](i),this[ZO(\"0x8\")]=new ZI(t,e),this[ZO(\"0x8\")][\"extendTemplate\"]({attributes:{class:ZO(\"0x9\")}});const o=this[ZO(\"0xa\")];this[\"setTemplate\"]({tag:ZO(\"0xb\"),attributes:{class:[ZO(\"0xc\"),o[\"if\"](ZO(\"0x1\"),\"ck-thread--active\"),o[\"if\"](ZO(\"0xd\"),ZO(\"0xe\")),o[\"to\"](\"nextAction\",t=>t?ZO(\"0xf\")+t:\"\")],\"data-thread-id\":n,tabindex:-1},children:[{tag:ZO(\"0xb\"),attributes:{class:ZO(\"0x10\")},children:[{tag:\"ul\",attributes:{class:[\"ck-thread__comments\"]},children:this[ZO(\"0x6\")]},{tag:ZO(\"0xb\"),attributes:{class:[ZO(\"0x11\"),o[\"if\"](ZO(\"0x2\"),ZO(\"0x12\")),o[\"if\"](\"visibleActions\",ZO(\"0x13\"))]},children:[this[ZO(\"0x8\")],this[ZO(\"0x14\")]]}]}]})}[ZO(\"0x15\")](){super[ZO(\"0x15\")](),this[ZO(\"0x5\")][ZO(\"0x16\")](this[ZO(\"0x17\")]),this[ZO(\"0x18\")]=this[\"element\"][ZO(\"0x19\")](ZO(\"0x1a\"))}[ZO(\"0x1b\")](){return this[ZO(\"0x14\")][ZO(\"0x1b\")]()[ZO(\"0x1c\")](()=>super[ZO(\"0x1b\")]())}[\"ct\"](t){const e=new HO(this[ZO(\"0x1d\")],t),n=this[ZO(\"0xa\")];return e[ZO(\"0x1e\")]({attributes:{class:ZO(\"0x1f\")}}),Cg[ZO(\"0x20\")](e[ZO(\"0x21\")][ZO(\"0x22\")][0],{attributes:{class:[n[\"if\"](ZO(\"0x3\"),\"ck-comment__input-actions--active\")]}}),e}}vr(tN,KI);var eN=[\"count\",\"setTemplate\",\"ck-thread__comment-count\",\" Comment\",\"set\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(eN,329);var nN=function(t,e){t=t-0;var n=eN[t];return n};class iN extends Qg{constructor(t){super(t),this[nN(\"0x0\")](nN(\"0x1\"));const e=this[\"bindTemplate\"];this[nN(\"0x2\")]({tag:\"li\",attributes:{class:nN(\"0x3\")},children:[{text:e[\"to\"](\"count\",t=>1==t?t+nN(\"0x4\"):t+\" Comments\")}]})}}var oN=[\"every\",\"commentthreadcontroller-comment-already-collapsed: Cannot collapse collapsed comment.\",\"last\",\"expand\",\"get\",\"collapsed\",\"addComment\",\"author\",\"using\",\"locale\",\"bind\",\"count\",\"commentInputView\",\"placeholder\",\"submit\",\"editor\",\"setData\",\"low\",\"cancel\",\"change:value\",\"disabledSubmit\",\"isEnabled\",\"value\",\"has\",\"removeAllRanges\",\"element\",\"focus\",\"cancelConfirm\",\"find\",\"localeData\",\"thread\",\"commentControllers\",\"bindTo\",\"change:isEdit\",\"visibleCommentControllers\",\"add\",\"length\",\"isEdit\",\"set\",\"isCollapsed\",\"active\",\"visibleInput\",\"visibleActions\",\"view\",\"collapse\",\"removeCommentThread\",\"change:isEnabled\",\"change:active\",\"change\",\"listenTo\",\"remove\",\"destroy\",\"removeComment\",\"execute\",\"focusTracker\",\"isFocused\",\"totalWeight\",\"reduce\",\"from\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(oN,147);var sN=function(t,e){t=t-0;var n=oN[t];return n};const rN=500,aN=2;class cN{constructor(t,e,n,i){this[sN(\"0x0\")]=t,this[sN(\"0x1\")]=e,this[\"it\"]=n,this[sN(\"0x2\")]=new Fa,this[\"commentControllers\"][sN(\"0x3\")](this[sN(\"0x1\")])[\"using\"](e=>{const o=new XO(t,e,n,i);return o[\"on\"](sN(\"0x4\"),()=>this[\"lt\"]()),o}),this[sN(\"0x5\")]=function(t){const e=new Fa;for(const n of t)e[sN(\"0x6\")](n);return e}(this[sN(\"0x2\")]),this[\"set\"](sN(\"0x7\"),this[sN(\"0x2\")][sN(\"0x7\")]),this[\"set\"](sN(\"0x8\"),!1),this[sN(\"0x9\")](sN(\"0xa\"),!1),this[\"set\"](sN(\"0xb\"),!1),this[sN(\"0x9\")](sN(\"0xc\"),!1),this[sN(\"0x9\")](sN(\"0xd\"),!1),this[sN(\"0xe\")]=this[\"ut\"](i),this[sN(\"0xf\")](),this[\"listenTo\"](this[\"it\"][sN(\"0x10\")],sN(\"0x11\"),()=>{this[\"pt\"]()}),this[\"on\"](sN(\"0x12\"),(t,e,n)=>{this[\"ft\"](),n||this[\"pt\"]()}),this[\"listenTo\"](this[sN(\"0x1\")],sN(\"0x13\"),()=>{this[\"ft\"]()}),this[sN(\"0x14\")](this[sN(\"0x2\")],sN(\"0x6\"),(t,e)=>{this[\"length\"]=this[sN(\"0x2\")][sN(\"0x7\")],this[\"vt\"](e)}),this[sN(\"0x14\")](this[sN(\"0x2\")],sN(\"0x15\"),(t,e)=>{this[\"length\"]=this[sN(\"0x2\")][sN(\"0x7\")],this[\"bt\"](e),e[sN(\"0x16\")](),this[\"lt\"]()}),this[sN(\"0x14\")](this[\"it\"][sN(\"0x17\")],sN(\"0x18\"),()=>{this[sN(\"0xe\")][sN(\"0x19\")][sN(\"0x1a\")]&&this[\"dt\"]()},{priority:\"low\"})}get[\"id\"](){return this[\"thread\"][\"id\"]}get[sN(\"0x1b\")](){return Array[\"from\"](this[\"commentControllers\"])[sN(\"0x1c\")]((t,e)=>t+e[\"weight\"],0)}get[\"gt\"](){return!this[\"active\"]&&this[sN(\"0x1b\")]>rN&&Array[sN(\"0x1d\")](this[\"commentControllers\"])[sN(\"0x1e\")](t=>!t[sN(\"0x8\")])}[sN(\"0xf\")](){if(this[sN(\"0xa\")])throw new Qs[\"b\"](sN(\"0x1f\"),this);const t=this[sN(\"0x7\")]-aN;for(let e=1;e<=t;e++)this[sN(\"0x5\")][sN(\"0x15\")](this[sN(\"0x2\")][\"get\"](e));this[sN(\"0x5\")][\"length\"]<this[\"length\"]&&this[\"wt\"](),this[sN(\"0x1b\")]>rN&&(this[sN(\"0x5\")][\"first\"][sN(\"0xf\")](),this[sN(\"0x5\")][sN(\"0x20\")][sN(\"0xf\")](),this[sN(\"0xa\")]=!0)}[sN(\"0x21\")](){this[\"visibleCommentControllers\"][sN(\"0x22\")](sN(\"0x23\"))&&this[\"Ct\"]();for(let t=0;t<this[sN(\"0x7\")];t++){const e=this[\"commentControllers\"][sN(\"0x22\")](t);this[sN(\"0x5\")][sN(\"0x22\")](t)!=e&&this[sN(\"0x5\")][\"add\"](e,t)}for(const t of this[sN(\"0x2\")])t[sN(\"0x21\")]();this[sN(\"0xa\")]=!1}[sN(\"0x16\")](){return this[\"stopListening\"](),Promise[\"all\"]([this[sN(\"0xe\")],...this[sN(\"0x2\")]][\"map\"](t=>t[\"destroy\"]()))}[\"ut\"](t){const e=new tN(this[sN(\"0x0\")][\"locale\"],this[\"it\"][sN(\"0x24\")][sN(\"0x25\")],this[\"id\"],t);return e[\"bind\"](sN(\"0xb\"),sN(\"0xc\"),sN(\"0xd\"))[\"to\"](this),e[\"comments\"][sN(\"0x3\")](this[sN(\"0x5\")])[sN(\"0x26\")](t=>{if(sN(\"0x23\")===t[\"id\"]){const t=new iN(this[sN(\"0x0\")][sN(\"0x27\")]);return t[sN(\"0x28\")](sN(\"0x29\"))[\"to\"](this,sN(\"0x7\"),t=>t-aN),t}return t[\"view\"]}),this[\"_t\"](e[sN(\"0x2a\")]),e}[\"_t\"](t){t[sN(\"0x2b\")]=\"Reply...\",t[\"on\"](sN(\"0x2c\"),(e,n)=>{this[\"it\"][sN(\"0x24\")][\"execute\"]({threadId:this[\"id\"],content:n}),t[sN(\"0x2d\")][sN(\"0x2e\")](\"\")},{priority:\"high\"}),t[\"on\"](sN(\"0x2c\"),()=>{this[\"dt\"]()},{priority:sN(\"0x2f\")}),t[\"on\"](sN(\"0x30\"),()=>{this[\"dt\"]()},{priority:sN(\"0x2f\")}),t[\"on\"](sN(\"0x31\"),()=>this[\"lt\"]()),t[\"bind\"](sN(\"0x32\"))[\"to\"](this[\"it\"][sN(\"0x24\")],sN(\"0x33\"),t=>!t),this[sN(\"0x28\")](\"visibleInput\")[\"to\"](this,\"active\",this[\"it\"][\"addComment\"],sN(\"0x33\"),t,sN(\"0x34\"),(t,e,n)=>{const i=!!n;return i||!i&&t&&e}),this[sN(\"0x28\")](sN(\"0xd\"))[\"to\"](t[sN(\"0x19\")],sN(\"0x1a\"),t,\"value\",(t,e)=>t||!!e)}[\"ft\"](){this[\"isCollapsed\"]&&!this[\"gt\"]?this[\"expand\"]():!this[\"isCollapsed\"]&&this[\"gt\"]&&this[\"collapse\"]()}[\"vt\"](t){this[sN(\"0x5\")][sN(\"0x6\")](t),this[sN(\"0xa\")]?(t[sN(\"0xf\")](),this[sN(\"0x5\")][sN(\"0x35\")](sN(\"0x23\"))||this[\"wt\"](),this[sN(\"0x5\")][sN(\"0x15\")](this[sN(\"0x5\")][\"length\"]-2)):this[\"gt\"]&&this[\"collapse\"]()}[\"bt\"](t){let e=!1;if(this[sN(\"0x5\")][sN(\"0x22\")](t[\"id\"])&&(this[sN(\"0x5\")][sN(\"0x15\")](t),e=!0),!this[sN(\"0xa\")])return;if(!this[\"gt\"])return void this[sN(\"0x21\")]();const n=this[sN(\"0x5\")][\"getIndex\"](sN(\"0x23\")),i=n>-1;i&&this[sN(\"0x7\")]<=aN&&this[\"Ct\"](),e&&i&&(0===n?this[sN(\"0x5\")][sN(\"0x6\")](this[\"commentControllers\"][\"first\"],0):this[sN(\"0x5\")][\"add\"](this[sN(\"0x2\")][sN(\"0x20\")]))}[\"wt\"](){this[\"visibleCommentControllers\"][sN(\"0x6\")]({kt:sN(\"0x23\"),id:sN(\"0x23\")},1)}[\"Ct\"](){this[sN(\"0x5\")][sN(\"0x15\")](sN(\"0x23\"))}[\"dt\"](){document[\"getSelection\"]()[sN(\"0x36\")](),this[sN(\"0xe\")][sN(\"0x37\")][sN(\"0x38\")]()}[\"pt\"](){this[\"view\"][\"cancelConfirm\"]();for(const t of this[sN(\"0x2\")])t[\"view\"][sN(\"0x39\")]()}[\"lt\"](){this[sN(\"0x8\")]=!!this[sN(\"0xe\")][sN(\"0x2a\")][sN(\"0x34\")]||!!this[sN(\"0x2\")][sN(\"0x3a\")](t=>t[sN(\"0x8\")])}}vr(cN,_a);var lN=n(20);var dN=n.n(lN);var uN=n(11);var hN=n.n(uN);var fN=[\"dateTimeFormat\",\"function\",\"invalid-date-time-format: Date format must be a function.\",\"[Today] hh:mmA\",\"[Last] dddd hh:mmA\",\"MM-DD-YYYY hh:mmA\",\"config\",\"get\",\"locale\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(fN,384);var mN=function(t,e){t=t-0;var n=fN[t];return n};function gN(t){const e=t[mN(\"0x0\")][mN(\"0x1\")](mN(\"0x2\"))||{};if(void 0!==e[mN(\"0x3\")]&&mN(\"0x4\")!=typeof e[mN(\"0x3\")])throw new Qs[\"b\"](mN(\"0x5\"),t);return t=>{const n=new Date,i=hN()(n,t);return e[mN(\"0x3\")]?e[mN(\"0x3\")](t):dN()(t,0===i?mN(\"0x6\"):1===i?\"[Yesterday] hh:mmA\":i<7?mN(\"0x7\"):mN(\"0x8\"))}}var pN=n(136);var bN=n(138);var wN=n(140);var _N=n(142);var vN=[\"comment\",\"addCommentThread\",\"tooltip\",\"Comment\",\"icon\",\"bind\",\"execute\",\"editor\",\"removeCommentThread\",\"addComment\",\"removeComment\",\"config\",\"locale\",\"commentInputView\",\"length\",\"once\",\"change:length\",\"editorReady\",\"placeholder\",\"Reply...\",\"Write a comment...\",\"submit\",\"editing\",\"cancel\",\"stop\",\"change:active\",\"value\",\"change:isEdit\",\"annotationType\",\"isEdit\",\"registerChild\",\"commands\",\"unbind\",\"isVisible\",\"isEnabled\",\"from\",\"commentControllers\",\"every\",\"isEnabledForComment\",\"nextAction\",\"removeButton\",\"Delete comment thread?\",\"containerElement\",\"high\",\"init\",\"plugins\",\"get\",\"threadLoaded\",\"model\",\"comment:\",\"_modelToController\",\"set\",\"view\",\"add\",\"element\",\"focus\",\"activeView\",\"listenTo\",\"threadUnloaded\",\"delete\",\"pendingComments\",\"remove\",\"has\",\"active\",\"activeMarker\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(vN,499);var kN=function(t,e){t=t-0;var n=vN[t];return n};class xN extends db{static get[\"requires\"](){return[zI,pI]}constructor(t){super(t),this[\"_modelToController\"]=new Map,this[\"ee\"]=new Map}[kN(\"0x0\")](){const t=this[\"editor\"],e=t[kN(\"0x1\")][\"get\"](pI),n=this[\"editor\"][kN(\"0x1\")][kN(\"0x2\")](zI);this[\"listenTo\"](e,kN(\"0x3\"),(e,i)=>{const o=this[\"te\"](i),s=t[kN(\"0x4\")][\"markers\"][kN(\"0x2\")](kN(\"0x5\")+i[\"id\"]),r=this[\"oe\"](o);this[kN(\"0x6\")][\"set\"](i,o),this[\"ee\"][kN(\"0x7\")](o[kN(\"0x8\")],o),n[kN(\"0x9\")](o[kN(\"0x8\")],r,s),o[\"length\"]||(o[kN(\"0x8\")][kN(\"0xa\")][kN(\"0xb\")](),n[kN(\"0xc\")]=o[\"view\"])}),this[kN(\"0xd\")](e,kN(\"0xe\"),(t,i)=>{const o=this[kN(\"0x6\")][kN(\"0x2\")](i);o&&(n[\"remove\"](o[kN(\"0x8\")]),o[\"destroy\"](),this[\"_modelToController\"][kN(\"0xf\")](i),this[\"ee\"][kN(\"0xf\")](o[\"view\"]),e[kN(\"0x10\")][kN(\"0x11\")](o[\"id\"]))}),this[kN(\"0xd\")](n,\"change:activeView\",(t,n,i,o)=>{if(o&&this[\"ee\"][\"has\"](o)&&(this[\"ee\"][kN(\"0x2\")](o)[\"active\"]=!1),i&&this[\"ee\"][kN(\"0x12\")](i)){const t=this[\"ee\"][\"get\"](i);t[kN(\"0x13\")]=!0,e[kN(\"0x14\")]=kN(\"0x5\")+t[\"id\"]}else e[kN(\"0x14\")]=null}),t[\"ui\"][\"componentFactory\"][kN(\"0x9\")](kN(\"0x15\"),e=>{const n=new Sp(e),i=t[\"commands\"][\"get\"](kN(\"0x16\"));return n[\"label\"]=\"Inline comment\",n[kN(\"0x17\")]=kN(\"0x18\"),n[kN(\"0x19\")]=CI,n[kN(\"0x1a\")](\"isEnabled\")[\"to\"](i),this[kN(\"0xd\")](n,kN(\"0x1b\"),()=>i[kN(\"0x1b\")]()),n})}[\"te\"](t){const e=this[kN(\"0x1c\")],n=e[kN(\"0x1\")][kN(\"0x2\")](pI),i=e[\"commands\"],o={addCommentThread:i[\"get\"](kN(\"0x16\")),removeCommentThread:i[kN(\"0x2\")](kN(\"0x1d\")),addComment:i[kN(\"0x2\")](kN(\"0x1e\")),updateComment:i[\"get\"](\"updateComment\"),removeComment:i[\"get\"](kN(\"0x1f\"))},s=e[kN(\"0x20\")][kN(\"0x2\")](\"comments.editorConfig\"),r={locale:e[kN(\"0x21\")],formatDateTime:gN(e)},a=new cN(r,t,o,s),c=a[kN(\"0x8\")][kN(\"0x22\")];return a[kN(\"0x23\")]?yN(this[kN(\"0x1c\")],a):(a[kN(\"0x24\")](kN(\"0x25\"),()=>yN(e,a)),c[\"once\"](kN(\"0x26\"),()=>c[\"focus\"]())),c[kN(\"0x1a\")](kN(\"0x27\"))[\"to\"](a,kN(\"0x23\"),t=>t?kN(\"0x28\"):kN(\"0x29\")),c[\"on\"](kN(\"0x2a\"),t=>{1===a[kN(\"0x23\")]&&(e[kN(\"0x2b\")][kN(\"0x8\")][kN(\"0xb\")](),t[\"stop\"]())}),c[\"on\"](kN(\"0x2c\"),t=>{a[kN(\"0x23\")]||(e[\"execute\"](kN(\"0x1d\"),{threadId:a[\"id\"]}),e[kN(\"0x2b\")][kN(\"0x8\")][kN(\"0xb\")](),t[kN(\"0x2d\")]())}),a[\"on\"](kN(\"0x2e\"),(t,n,i)=>{i||a[kN(\"0x23\")]||c[kN(\"0x2f\")]||e[kN(\"0x1b\")](\"removeCommentThread\",{threadId:a[\"id\"]})}),a[\"on\"](kN(\"0x30\"),(t,e,i)=>{i?n[kN(\"0x10\")][kN(\"0x7\")](a[\"id\"]):n[kN(\"0x10\")][\"remove\"](a[\"id\"])}),a}[\"oe\"](t){const e=new UI;return e[kN(\"0x31\")]=kN(\"0x15\"),e[kN(\"0x1a\")](\"number\")[\"to\"](t,kN(\"0x23\")),e[\"bind\"](kN(\"0x32\"))[\"to\"](t,kN(\"0x32\"),t,kN(\"0x23\"),(t,e)=>!e||t),t[kN(\"0x8\")][kN(\"0x33\")](e),e}}function yN(t,e){const n=e[\"commentControllers\"][kN(\"0x2\")](0),i=t[kN(\"0x34\")][kN(\"0x2\")](kN(\"0x1d\")),o=t[kN(\"0x34\")][kN(\"0x2\")](kN(\"0x1f\"));n[kN(\"0x27\")]=kN(\"0x29\"),n[kN(\"0x8\")][\"removeButton\"][kN(\"0x35\")](),n[\"view\"][\"removeButton\"][kN(\"0x1a\")](kN(\"0x36\"))[\"to\"](i,kN(\"0x37\"),e,\"length\",t=>t&&Array[kN(\"0x38\")](e[kN(\"0x39\")])[kN(\"0x3a\")](t=>o[kN(\"0x3b\")](t[kN(\"0x15\")]))),e[\"view\"][kN(\"0x1a\")](kN(\"0x3c\"))[\"to\"](n[\"view\"],kN(\"0x3c\"),t=>\"remove\"===t?kN(\"0x11\"):null),n[kN(\"0x8\")][kN(\"0x3d\")][\"on\"](kN(\"0x1b\"),n=>{n[\"stop\"](),e[kN(\"0x8\")][\"showConfirm\"](kN(\"0x3e\"),e[\"view\"][kN(\"0x3f\")])[\"then\"](()=>{t[\"execute\"](\"removeCommentThread\",{threadId:e[\"id\"]}),t[kN(\"0x2b\")][\"view\"][kN(\"0xb\")]()})},{priority:kN(\"0x40\")})}var AN=n(144);var CN=[\"set\",\"minHeight\",\"class\",\"list\",\"createCollection\",\"setTemplate\",\"div\",\"ck-sidebar\",\"ck-reset\",\"bindTemplate\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(CN,439);var TN=function(t,e){t=t-0;var n=CN[t];return n};const MN=rp(\"px\");class EN extends Qg{constructor(t){super(t);const e=this[TN(\"0x0\")];this[TN(\"0x1\")](TN(\"0x2\"),0),this[TN(\"0x1\")](TN(\"0x3\"),\"\"),this[TN(\"0x4\")]=this[TN(\"0x5\")](),this[TN(\"0x6\")]({tag:TN(\"0x7\"),attributes:{class:[\"ck\",TN(\"0x8\"),TN(\"0x9\"),e[\"to\"](TN(\"0x3\"))],style:{minHeight:e[\"to\"](TN(\"0x2\"),t=>t?MN(t+10):null)},tabindex:-1},children:this[TN(\"0x4\")]})}}var PN=[\"top\",\"height\",\"bind\",\"bottom\",\"targetTop\",\"isAnimationDisabled\",\"updateHeight\",\"content\",\"createCollection\",\"bindTemplate\",\"setTemplate\",\"div\",\"ck-sidebar-item--no-animation\",\"render\",\"element\",\"clientHeight\",\"resetTop\",\"destroy\",\"set\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(PN,322);var SN=function(t,e){t=t-0;var n=PN[t];return n};const IN=rp(\"px\");class ON extends Qg{constructor(t){super(t),this[SN(\"0x0\")](SN(\"0x1\")),this[SN(\"0x0\")](SN(\"0x2\"),0),this[SN(\"0x3\")](SN(\"0x4\"))[\"to\"](this,SN(\"0x1\"),this,SN(\"0x2\"),(t,e)=>(t||0)+e),this[\"set\"](SN(\"0x5\"),0),this[\"on\"](\"change:targetTop\",()=>this[\"resetTop\"]()),this[SN(\"0x0\")](SN(\"0x6\"),!1),this[\"K\"]=EI(()=>this[SN(\"0x7\")]()),this[SN(\"0x8\")]=this[SN(\"0x9\")]();const e=this[SN(\"0xa\")];this[SN(\"0xb\")]({tag:SN(\"0xc\"),attributes:{class:[\"ck-sidebar-item\",e[\"to\"](\"isAnimationDisabled\",t=>t?SN(\"0xd\"):\"\")],style:{top:e[\"to\"](\"top\",IN)}},children:this[SN(\"0x8\")]})}[\"render\"](){super[SN(\"0xe\")](),this[\"K\"][\"attach\"](this[SN(\"0xf\")])}[SN(\"0x7\")](){const t=this[\"element\"][SN(\"0x10\")];t&&(this[SN(\"0x2\")]=t)}[SN(\"0x11\")](){this[\"top\"]=this[SN(\"0x5\")]}[SN(\"0x12\")](){this[\"content\"][\"clear\"](),this[\"K\"][\"detach\"](),super[\"destroy\"]()}}var NN=[\"_annotationViewToSidebarItemView\",\"content\",\"bind\",\"targetRect\",\"top\",\"change:top\",\"length\",\"activeView\",\"change:bottom\",\"resetTop\",\"destroy\",\"delete\",\"registerChild\",\"change:_lastItem\",\"minHeight\",\"bottom\",\"getIndex\",\"updateHeight\",\"parentNode\",\"push\",\"requires\",\"pluginName\",\"Sidebar\",\"set\",\"_lastItem\",\"view\",\"container\",\"plugins\",\"get\",\"Annotations\",\"editor\",\"config\",\"sidebar.container\",\"setContainer\",\"sidebar-setcontainer-invalid-element: Container element is not a HTMLElement.\",\"addViewToContainer\",\"appendChild\",\"element\",\"class\",\"change:activeView\",\"getAnnotationView\",\"getSidebarItemView\",\"listenTo\",\"remove\",\"update\",\"removeViewFromContainer\",\"stopListening\",\"items\",\"list\",\"clear\",\"createSidebarItemView\",\"mainView\",\"sidebar-invalid-layout: Missing positioned container for the editor with a sidebar.\",\"locale\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(NN,290);var LN=function(t,e){t=t-0;var n=NN[t];return n};class RN extends db{static get[LN(\"0x0\")](){return[zI]}static get[LN(\"0x1\")](){return LN(\"0x2\")}constructor(t){super(t),this[LN(\"0x3\")](LN(\"0x4\")),this[LN(\"0x5\")]=this[\"M\"](),this[LN(\"0x3\")](LN(\"0x6\"),null),this[\"H\"]=25,this[\"T\"]=new Map,this[\"_annotationViewToSidebarItemView\"]=new Map}[\"init\"](){this[\"A\"]=this[\"editor\"][LN(\"0x7\")][LN(\"0x8\")](LN(\"0x9\"));const t=this[LN(\"0xa\")][LN(\"0xb\")][\"get\"](LN(\"0xc\"));t&&this[\"setContainer\"](t)}[LN(\"0xd\")](t){if(!Gs(t))throw new Qs[\"b\"](LN(\"0xe\"),this);this[\"container\"]=t}[LN(\"0xf\")]({viewClass:t=\"\",spaceBetweenItems:e=25}={}){const n=this[LN(\"0xa\")],i=n[LN(\"0x7\")][\"get\"](zI);if(!Gs(this[LN(\"0x6\")]))throw new Qs[\"b\"](\"sidebar-addviewtocontainer-missing-container: Missing container element.\",this);this[\"container\"][LN(\"0x10\")](this[LN(\"0x5\")][LN(\"0x11\")]),this[LN(\"0x5\")][LN(\"0x12\")]=t,this[\"H\"]=e,this[\"listenTo\"](i,LN(\"0x13\"),(t,e,n)=>{if(n){const t=i[LN(\"0x14\")](n),e=this[LN(\"0x15\")](t);e&&e[\"resetTop\"]()}}),this[LN(\"0x16\")](i[\"items\"],LN(\"0x17\"),(t,e,n)=>{this[\"R\"](e,n)}),n[\"ui\"][LN(\"0x18\")]()}[LN(\"0x19\")](){const t=this[\"A\"];this[LN(\"0x1a\")](t[\"items\"]),this[LN(\"0x1a\")](t,LN(\"0x13\")),this[\"view\"][LN(\"0x11\")][LN(\"0x17\")]();for(const e of t[LN(\"0x1b\")])this[\"R\"](e);this[\"view\"][LN(\"0x1c\")][LN(\"0x1d\")](),this[LN(\"0x5\")][LN(\"0x12\")]=\"\",this[LN(\"0x4\")]=null,this[\"q\"]=null}[LN(\"0x1e\")](t,e){e||(e=t);const n=this[\"A\"],i=t[LN(\"0x1f\")],o=n[\"getMarkers\"](i)[0],s=this[LN(\"0x6\")],r=this[\"A\"][\"getMarkerDomElement\"](o),a=this[\"F\"](s,r);if(!a)throw new Qs[\"b\"](LN(\"0x20\"),this);const c=new ON(this[\"editor\"][LN(\"0x21\")]);this[\"T\"][LN(\"0x3\")](c,t),this[LN(\"0x22\")][LN(\"0x3\")](t,c),c[LN(\"0x23\")][\"add\"](e),c[LN(\"0x24\")](\"targetTop\")[\"to\"](t,LN(\"0x25\"),t=>{const e=new Jd(a)[\"top\"],n=new Jd(this[LN(\"0x5\")][\"element\"])[LN(\"0x26\")]-e;return t[\"top\"]-e-n}),this[LN(\"0x16\")](c,LN(\"0x27\"),ES(()=>{if(!c[LN(\"0x23\")][LN(\"0x28\")])return;const t=this[\"W\"](c);if(!t)return;const e=this[\"T\"][LN(\"0x8\")](t);n[LN(\"0x29\")]===e[LN(\"0x1f\")]?this[\"j\"](t,c):this[\"D\"](c,t)},10,{leading:!1})),this[LN(\"0x16\")](c,LN(\"0x2a\"),ES(()=>{if(!c[LN(\"0x23\")][\"length\"])return;const t=this[\"G\"](c);if(!t)return;const e=this[\"T\"][LN(\"0x8\")](t);n[LN(\"0x29\")]===e[LN(\"0x1f\")]?this[\"D\"](t,c):this[\"j\"](c,t)},10,{leading:!1}));const l=this[\"W\"](c);if(l){this[\"j\"](l,c)||c[LN(\"0x2b\")]()}else c[LN(\"0x2b\")]();return this[\"J\"](),c}[LN(\"0x15\")](t){return this[LN(\"0x22\")][LN(\"0x8\")](t)}[\"R\"](t,e){const n=this[LN(\"0x15\")](t);if(this[LN(\"0x1a\")](n),n[LN(\"0x2c\")](),this[LN(\"0x22\")][LN(\"0x2d\")](t),this[\"T\"][LN(\"0x2d\")](n),void 0===e)return;const i=this[\"A\"][LN(\"0x1b\")][LN(\"0x8\")](e-1),o=this[\"A\"][LN(\"0x1b\")][LN(\"0x8\")](e);i&&this[LN(\"0x15\")](i)[LN(\"0x2b\")](),o&&this[LN(\"0x15\")](o)[LN(\"0x2b\")](),this[\"J\"]()}[\"M\"](){const t=new EN(this[LN(\"0xa\")][LN(\"0x21\")]);return this[LN(\"0xa\")][\"ui\"][LN(\"0x5\")][LN(\"0x2e\")](t),this[\"on\"](LN(\"0x2f\"),(e,n,i,o)=>{o&&t[\"unbind\"](LN(\"0x30\")),i?t[\"bind\"](LN(\"0x30\"))[\"to\"](i,LN(\"0x31\")):t[\"minHeight\"]=null}),t}[\"J\"](){const t=this[LN(\"0x15\")](this[\"A\"][LN(\"0x1b\")][\"last\"]);t!==this[\"_lastItem\"]&&(this[LN(\"0x4\")]=t)}[\"W\"](t){const e=this[\"A\"][LN(\"0x1b\")],n=this[\"T\"][LN(\"0x8\")](t),i=e[LN(\"0x8\")](e[LN(\"0x32\")](n)-1);return this[LN(\"0x15\")](i)}[\"G\"](t){const e=this[\"A\"][LN(\"0x1b\")],n=this[\"T\"][LN(\"0x8\")](t),i=e[\"get\"](e[LN(\"0x32\")](n)+1);return this[LN(\"0x15\")](i)}[\"D\"](t,e){t[\"updateHeight\"]();const n=jN(e[\"bottom\"]+this[\"H\"],t[LN(\"0x26\")]);return!!n&&(e[LN(\"0x26\")]-=n,!0)}[\"j\"](t,e){t[LN(\"0x33\")]();const n=jN(t[LN(\"0x31\")]+this[\"H\"],e[LN(\"0x26\")]);return!!n&&(e[LN(\"0x26\")]+=n,!0)}[\"F\"](t,e){if(!this[\"q\"]){const n=DN(t),i=DN(e);this[\"q\"]=function(t,e){for(let n=0;n<t[LN(\"0x28\")];n++)for(let i=0;i<e[LN(\"0x28\")];i++)if(t[n]===e[i])return t[n]}(n,i)}return this[\"q\"]}}function DN(t){const e=[];let n=t;for(;null!==n;)(n=_p(n[LN(\"0x34\")]))&&e[LN(\"0x35\")](n);return e}function jN(t,e){return Math[\"max\"](t-e,0)}var zN=[\"plugins\",\"get\",\"Sidebar\",\"register\",\"wideSidebar\",\"attach\",\"isAttached\",\"set:container\",\"listenTo\",\"change:container\",\"off\",\"addViewToContainer\",\"ck-sidebar--wide\",\"view\",\"list\",\"items\",\"createSidebarItemView\",\"detach\",\"destroy\",\"requires\",\"pluginName\",\"init\",\"editor\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(zN,272);var BN=function(t,e){t=t-0;var n=zN[t];return n};class VN extends db{static get[BN(\"0x0\")](){return[RN,zI]}static get[BN(\"0x1\")](){return\"WideSidebar\"}constructor(t){super(t),this[\"isAttached\"]=!1}[BN(\"0x2\")](){const t=this[BN(\"0x3\")][BN(\"0x4\")][BN(\"0x5\")](\"Annotations\"),e=this[BN(\"0x3\")][BN(\"0x4\")][BN(\"0x5\")](BN(\"0x6\"));t[BN(\"0x7\")](BN(\"0x8\"),this),e[\"container\"]&&t[\"switchTo\"](BN(\"0x8\"))}[BN(\"0x9\")](){const t=this[\"editor\"][BN(\"0x4\")][BN(\"0x5\")](BN(\"0x6\")),e=this[BN(\"0x3\")][BN(\"0x4\")][BN(\"0x5\")](\"Annotations\");if(this[BN(\"0xa\")])throw new Qs[\"b\"](\"widesidebar-attach-already-attached: Cannot attach wide sidebar twice.\",this);this[\"isAttached\"]=!0,this[\"listenTo\"](t,BN(\"0xb\"),()=>{this[\"detach\"](),this[BN(\"0xc\")](t,BN(\"0xd\"),t=>{t[BN(\"0xe\")](),this[BN(\"0x9\")]()})}),t[BN(\"0xf\")]({viewClass:BN(\"0x10\")}),t[BN(\"0x11\")][BN(\"0x12\")][\"bindTo\"](e[BN(\"0x13\")])[\"using\"](e=>t[BN(\"0x14\")](e))}[BN(\"0x15\")](){if(!this[BN(\"0xa\")])throw new Qs[\"b\"](\"widesidebar-detach-not-attached: Cannot detach not attached sidebar.\",this);const t=this[BN(\"0x3\")][BN(\"0x4\")][BN(\"0x5\")](BN(\"0x6\"));t[\"removeViewFromContainer\"](),this[\"stopListening\"](t),this[\"isAttached\"]=!1}[BN(\"0x16\")](){this[BN(\"0xa\")]&&this[\"detach\"]()}}var FN=n(146);var HN=[\"Esc\",\"isAttached\",\"isVisible\",\"first\",\"narrowsidebar-attach-already-attached: Cannot attach narrow sidebar twice.\",\"set:container\",\"change:container\",\"off\",\"attach\",\"addViewToContainer\",\"ck-sidebar--narrow\",\"list\",\"bindTo\",\"items\",\"using\",\"narrowView\",\"listenTo\",\"execute\",\"clear\",\"content\",\"activeView\",\"mainView\",\"render\",\"change:activeView\",\"getAnnotationView\",\"isAnimationDisabled\",\"getSidebarItemView\",\"high\",\"editing\",\"document\",\"mousedown\",\"change:selectedViews\",\"includes\",\"delete\",\"update\",\"detach\",\"narrowsidebar-detach-not-attached: Cannot detach not attached sidebar.\",\"Sidebar\",\"removeViewFromContainer\",\"stopListening\",\"destroy\",\"element\",\"southArrowNorthEast\",\"northArrowSouth\",\"southArrowNorthWest\",\"northArrowSouthWest\",\"focus\",\"change:height\",\"requires\",\"NarrowSidebar\",\"view\",\"addObserver\",\"init\",\"editor\",\"plugins\",\"get\",\"Annotations\",\"register\",\"narrowSidebar\",\"balloonPanelView\",\"locale\",\"body\",\"add\",\"focusTracker\",\"keystrokes\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})(HN,113);var UN=function(t,e){t=t-0;var n=HN[t];return n};class WN extends db{static get[UN(\"0x0\")](){return[RN,zI]}static get[\"pluginName\"](){return UN(\"0x1\")}constructor(t){super(t),t[\"editing\"][UN(\"0x2\")][UN(\"0x3\")](Tw),this[\"isAttached\"]=!1,this[\"k\"]=new Set}[UN(\"0x4\")](){this[UN(\"0x5\")][UN(\"0x6\")][UN(\"0x7\")](UN(\"0x8\"))[UN(\"0x9\")](UN(\"0xa\"),this),this[UN(\"0xb\")]=new Kw(this[\"editor\"][UN(\"0xc\")]),this[UN(\"0x5\")][\"ui\"][UN(\"0x2\")][UN(\"0xd\")][UN(\"0xe\")](this[\"balloonPanelView\"]),this[UN(\"0x5\")][\"ui\"][UN(\"0xf\")][UN(\"0xe\")](this[UN(\"0xb\")][\"element\"]),this[UN(\"0x5\")][UN(\"0x10\")][\"set\"](UN(\"0x11\"),(t,e)=>{this[UN(\"0x12\")]&&this[UN(\"0xb\")][UN(\"0x13\")]&&(this[\"k\"][UN(\"0xe\")](this[UN(\"0xb\")][\"content\"][UN(\"0x14\")]),this[\"S\"](),e())})}[\"attach\"](){const t=this[UN(\"0x5\")][UN(\"0x6\")][\"get\"](\"Sidebar\"),e=this[UN(\"0x5\")][UN(\"0x6\")][UN(\"0x7\")](UN(\"0x8\")),n=this[UN(\"0xb\")];if(this[UN(\"0x12\")])throw new Qs[\"b\"](UN(\"0x15\"),this);this[UN(\"0x12\")]=!0,this[\"listenTo\"](t,UN(\"0x16\"),()=>{this[\"detach\"](),this[\"listenTo\"](t,UN(\"0x17\"),t=>{t[UN(\"0x18\")](),this[UN(\"0x19\")]()})}),t[UN(\"0x1a\")]({viewClass:UN(\"0x1b\"),spaceBetweenItems:5}),t[UN(\"0x2\")][UN(\"0x1c\")][UN(\"0x1d\")](e[UN(\"0x1e\")])[UN(\"0x1f\")](i=>{const o=t[\"createSidebarItemView\"](i,i[UN(\"0x20\")]);return o[UN(\"0x21\")](i[UN(\"0x20\")],UN(\"0x22\"),()=>{this[\"k\"][UN(\"0x23\")](),n[UN(\"0x24\")][UN(\"0x14\")]!==i?(this[\"B\"](i),i[\"element\"][\"focus\"](),e[UN(\"0x25\")]=i[UN(\"0x26\")]):this[\"S\"](!0)}),o[UN(\"0x27\")](),o}),this[\"listenTo\"](e,UN(\"0x28\"),(n,i,o,s)=>{if(s){const n=e[UN(\"0x29\")](s);t[\"getSidebarItemView\"](n)[UN(\"0x2a\")]=!1}if(o){const n=e[UN(\"0x29\")](o);t[UN(\"0x2b\")](n)[UN(\"0x2a\")]=!0}},{priority:UN(\"0x2c\")}),this[UN(\"0x21\")](this[\"editor\"][UN(\"0x2d\")][UN(\"0x2\")][UN(\"0x2e\")],UN(\"0x2f\"),()=>this[\"k\"][UN(\"0x23\")]()),this[UN(\"0x21\")](e,UN(\"0x28\"),(n,i,o)=>{const s=e[UN(\"0x29\")](o),r=t[\"getSidebarItemView\"](s);o&&r?this[\"B\"](s):this[\"S\"]()}),this[UN(\"0x21\")](e,UN(\"0x30\"),(t,n,i,o)=>{for(const t of o)i[UN(\"0x31\")](t)||this[\"k\"][UN(\"0x32\")](e[UN(\"0x29\")](t))}),this[UN(\"0x21\")](this[UN(\"0x5\")][\"ui\"],UN(\"0x33\"),()=>{n[UN(\"0x13\")]&&this[\"C\"]()})}[UN(\"0x34\")](){if(!this[\"isAttached\"])throw new Qs[\"b\"](UN(\"0x35\"),this);const t=this[UN(\"0x5\")][UN(\"0x6\")][UN(\"0x7\")](UN(\"0x36\")),e=this[UN(\"0x5\")][UN(\"0x6\")][UN(\"0x7\")](UN(\"0x8\"));this[\"S\"](),t[UN(\"0x37\")](),this[UN(\"0x38\")](t),this[UN(\"0x38\")](e),this[UN(\"0x38\")](this[UN(\"0x5\")][\"ui\"]),this[UN(\"0x38\")](this[UN(\"0x5\")][UN(\"0x2d\")][UN(\"0x2\")][UN(\"0x2e\")]),this[UN(\"0x12\")]=!1}[UN(\"0x39\")](){this[UN(\"0x12\")]&&this[UN(\"0x34\")]()}[\"B\"](t){if(this[\"k\"][\"has\"](t))return;const e=this[UN(\"0xb\")][UN(\"0x24\")][UN(\"0x14\")];e!==t?(e&&this[\"L\"](e),this[\"N\"](t),this[UN(\"0xb\")][UN(\"0x24\")][UN(\"0x23\")](),this[UN(\"0xb\")][UN(\"0x24\")][UN(\"0xe\")](t),this[\"C\"]()):this[\"C\"]()}[\"C\"](){const t=this[UN(\"0xb\")][UN(\"0x24\")][\"first\"][UN(\"0x20\")][UN(\"0x3a\")],e=function(){const t=Kw[\"defaultPositions\"];return[t[UN(\"0x3b\")],t[\"northArrowSouthEast\"],t[\"southArrowNorth\"],t[UN(\"0x3c\")],t[UN(\"0x3d\")],t[UN(\"0x3e\")]]}();this[UN(\"0xb\")][\"pin\"]({target:t,positions:e})}[\"S\"](t){const e=this[\"balloonPanelView\"],n=e[\"content\"][UN(\"0x14\")];n&&(this[\"L\"](n),e[\"unpin\"](),e[\"content\"][UN(\"0x23\")](),t&&this[\"editor\"][UN(\"0x2d\")][UN(\"0x2\")][UN(\"0x3f\")]())}[\"N\"](t){this[\"listenTo\"](t,UN(\"0x40\"),()=>this[\"C\"]()),this[UN(\"0x21\")](t,UN(\"0x11\"),()=>{this[\"k\"][UN(\"0xe\")](t),this[\"S\"](!0)})}[\"L\"](t){this[\"stopListening\"](t)}}var $N=[\"updateComment\",\"removeComment\",\"getCommentThreads\",\"requires\",\"Comments\",\"init\",\"editor\",\"licenseKey\",\"adapter\",\"plugins\",\"get\",\"addCommentThread\",\"addComment\"];(function(t,e){var n=function(e){while(--e){t[\"push\"](t[\"shift\"]())}};n(++e)})($N,159);var YN=function(t,e){t=t-0;var n=$N[t];return n};class qN extends db{static get[YN(\"0x0\")](){return[pI,AI,xN,VN,WN]}static get[\"pluginName\"](){return YN(\"0x1\")}[YN(\"0x2\")](){this[\"licenseKey\"]=this[YN(\"0x3\")][\"config\"][\"get\"](YN(\"0x4\"))}set[YN(\"0x5\")](t){this[YN(\"0x3\")][YN(\"0x6\")][YN(\"0x7\")](pI)[\"adapter\"]=t}get[\"adapter\"](){return this[YN(\"0x3\")][\"plugins\"][YN(\"0x7\")](pI)[YN(\"0x5\")]}[YN(\"0x8\")](...t){this[YN(\"0x3\")][\"plugins\"][YN(\"0x7\")](pI)[YN(\"0x8\")](...t)}[YN(\"0x9\")](...t){this[\"editor\"][\"plugins\"][YN(\"0x7\")](pI)[YN(\"0x9\")](...t)}[\"updateComment\"](...t){this[YN(\"0x3\")][\"plugins\"][\"get\"](pI)[YN(\"0xa\")](...t)}[YN(\"0xb\")](...t){this[YN(\"0x3\")][YN(\"0x6\")][\"get\"](pI)[YN(\"0xb\")](...t)}[YN(\"0xc\")](){return this[YN(\"0x3\")][YN(\"0x6\")][YN(\"0x7\")](pI)[YN(\"0xc\")]()}}n.d(e,\"default\",(function(){return GN}));class GN extends ob{}GN.builtinPlugins=[ub,Ab,Ib,$b,f_,C_,H_,q_,Z_,sv,Uk,Tx,Ey,aA,LC,RC,XC,oT,BT,hM,bM,EM,zM,GM,sE,dE,uP,hP,BP,$P,XP,iS,AS,PS,IS,WS,qN,DO,Lb]}])[\"default\"]}));"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ (function(d){d['af']=Object.assign(d['af']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Blok-aanhaling",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Vetgedruk",u:"Skuinsgedruk",v:"Kode",w:"Deurgetrek",x:"Onderskrif",y:"Boskrif",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Verwyder formatering",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Berg",ca:"Kanselleer",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Belyn links",da:"Belyn regs",db:"Belyn in die middel",dc:"Belyn beide kante",dd:"Teksbelyning",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ar']=Object.assign(d['ar']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"اقتباس",i:"اختر عنوان",j:"عنوان",k:"Increase indent",l:"Decrease indent",m:"رابط",n:"قائمة رقمية",o:"قائمة نقطية",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"عريض",u:"مائل",v:"شفرة برمجية",w:"يتوسطه خط",x:"Subscript",y:"Superscript",z:"عنصر الصورة",aa:"ادخل عنوان الصورة",ab:"صورة بحجم كامل",ac:"صورة جانبية",ad:"صورة بمحاذاة لليسار",ae:"صورة بالوسط",af:"صورة بمحاذاة لليمين",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"تحديد اصفر",al:"تحديد اخضر",am:"تحديد وردي",an:"تحديد ازرق",ao:"تحديد احمر",ap:"قلم اخضر",aq:"إزالة التحديد",ar:"تحديد",as:"Text highlight toolbar",at:"نوع الخط",au:"افتراضي",av:"حجم الخط",aw:"ضئيل",ax:"صغير",ay:"كبير",az:"ضخم",ba:"Font Color",bb:"Font Background Color",bc:"غير النص البديل للصورة",bd:"معالج نصوص",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"حفظ",ca:"إلغاء",cb:"النص البديل",cc:"Editor toolbar",cd:"Show more items",ce:"تراجع",cf:"إعادة",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"إلغاء الرابط",cm:"تحرير الرابط",cn:"فتح الرابط في تبويب جديد",co:"لا يحتوي هذا الرابط على عنوان",cp:"رابط عنوان",cq:"فقرة",cr:"عنوان 1",cs:"عنوان 2",ct:"عنوان 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"معالج نصوص، 0%",cy:"Insert code block",cz:"محاذاة لليسار",da:"محاذاة لليمين",db:"محاذاة في المنتصف",dc:"ضبط",dd:"محاذاة النص",de:"Text alignment toolbar",df:"إدراج جدول",dg:"عمود عنوان",dh:"Insert column left",di:"Insert column right",dj:"حذف العمود",dk:"عمود",dl:"صف عنوان",dm:"ادراج صف بعد",dn:"ادراج صف قبل",do:"حذف الصف",dp:"صف",dq:"دمج الخلايا للأعلى",dr:"دمج الخلايا لليمين",ds:"دمج الخلايا للأسفل",dt:"دمج الخلايا لليسار",du:"فصل الخلايا بشكل عمودي",dv:"فصل الخلايا بشكل افقي",dw:"دمج الخلايا",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ast']=Object.assign(d['ast']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Enllazar",n:"Llista numberada",o:"Llista con viñetes",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Negrina",u:"Cursiva",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"complementu d'imaxen",aa:"Enter image caption",ab:"Imaxen a tamañu completu",ac:"Imaxen llateral",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Editor de testu arriquecíu",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Guardar",ca:"Encaboxar",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Desfacer",cf:"Refacer",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Desenllazar",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"URL del enllaz",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Editor de testu arriquecíu, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['az']=Object.assign(d['az']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Şəkil paneli",d:"Media paneli",e:"Cədvəl paneli",f:"Sözlər: %0",g:"Simvolar: %0",h:"Sitat bloku",i:"Başlıqı seç",j:"Başlıq",k:"Boş yeri böyüt",l:"Boş yeri kiçilt",m:"Əlaqələndir",n:"Nömrələnmiş siyahı",o:"Markerlənmiş siyahı",p:"media vidgeti",q:"Media əlavə ed",r:"URL boş olmamalıdır.",s:"Bu media URL dəstəklənmir.",t:"Yarıqalın",u:"Maili",v:"Kod",w:"Qaralanmış",x:"Alt yazı",y:"Üst yazı",z:"Şəkil vidgetı",aa:"Şəkil başlığı daxil edin",ab:"Tam ölçülü şəkili",ac:"Yan şəkil",ad:"Soldan düzləndir",ae:"Mərkəzə düzləndir",af:"Sağdan düzləndir",ag:"Vidgetin paneli",ah:"To-do siyahı",ai:"Formatı Ləğv Et",aj:"Horizontal line",ak:"Sarı marker",al:"Yaşıl marker",am:"Çəhrayı marker",an:"Mavi marker",ao:"Qırmızı qələm",ap:"Yaşıl qələm",aq:"Vurgulanı sil",ar:"Vurğulamaq",as:"Vurğulamaq paneli",at:"Şrift ailəsi",au:"Default",av:"Şrift ölçüsü",aw:"Miniatür",ax:"Kiçik",ay:"Böyük",az:"Nəhəng",ba:"Şrift Rəngi",bb:"Şrift Fonunun Rəngi",bc:"Alternativ mətni redaktə et",bd:"Rich Text Redaktoru",be:"Açılan paneli",bf:"Qara",bg:"Tünd boz",bh:"Boz",bi:"Açıq boz",bj:"Ağ",bk:"Qırmızı",bl:"Narıncı",bm:"Sarı",bn:"Açıq yaşıl",bo:"Yaşıl",bp:"Akvamarin",bq:"Firuzəyi",br:"Açıq mavi",bs:"Mavi",bt:"Bənövşəyi",bu:"Rəngi ləğv et",bv:"Rənglər",bw:"%1-dən %0",bx:"Əvvəlki",by:"Növbəti",bz:"Yadda saxla",ca:"İmtina et",cb:"Alternativ mətn",cc:"Redaktorun paneli",cd:"Show more items",ce:"İmtina et",cf:"Təkrar et",cg:"Media URL-ni xanaya əlavə edin",ch:"Məsləhət: Sürətli qoşma üçün URL-i kontentə əlavə edin",ci:"Media URL",cj:"Yeni pəncərədə aç",ck:"Yüklənə bilər",cl:"Linki sil",cm:"Linki redaktə et",cn:"Linki yeni pəncərədə aç",co:"Bu linkdə URL yoxdur",cp:"Linkin URL",cq:"Abzas",cr:"Başlıq 1",cs:"Başlıq 2",ct:"Başlıq 3",cu:"Başlıq 4",cv:"Başlıq 5",cw:"Başlıq 6",cx:"Rich Text Redaktoru, %0",cy:"Insert code block",cz:"Soldan düzləndir",da:"Sağdan düzləndir",db:"Mərkəzə düzləndir",dc:"Eninə görə",dd:"Mətn düzləndirməsi",de:"Mətnin düzləndirmə paneli",df:"Cədvəli əlavə et",dg:"Başlıqlı sütun",dh:"Sola sütun əlavə et",di:"Sağa sütun əlavə et",dj:"Sütunları sil",dk:"Sütun",dl:"Başlıqlı sətir",dm:"Yuxarıya sətir əlavə et",dn:"Aşağıya sətir əlavə et",do:"Sətirləri sil",dp:"Sətir",dq:"Xanaları yuxarı birləşdir",dr:"Xanaları sağa birləşdir",ds:"Xanaları aşağı birləşdir",dt:"Xanaları sola birləşdir",du:"Xanaları şaquli böl",dv:"Xanaları üfüqi böl",dw:"Xanaları birləşdir",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['bg']=Object.assign(d['bg']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Цитат",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Удебелен",u:"Курсив",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Запазване",ca:"Отказ",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Параграф",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ca']=Object.assign(d['ca']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Cita de bloc",i:"Escull capçalera",j:"Capçalera",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Negreta",u:"Cursiva",v:"Codi",w:"Marcat",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Marcador groc",al:"Marcador verd",am:"Marcador rosa",an:"Marcador blau",ao:"Marcador vermell",ap:"Bolígraf verd",aq:"Esborrar destacat",ar:"Destacat",as:"Text highlight toolbar",at:"Font",au:"Predeterminada",av:"Mida de la font",aw:"Molt petita",ax:"Peita",ay:"Gran",az:"Molt gran",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Desar",ca:"Cancel·lar",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Pàrraf",cr:"Capçalera 1",cs:"Capçalera 2",ct:"Capçalera 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Alineació esquerra",da:"Alineació dreta",db:"Alineació centre",dc:"Justificar",dd:"Alineació text",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['cs']=Object.assign(d['cs']||{},{a:"Sem zadejte název",b:"Zde zadejte nebo vložte obsah.",c:"Panel nástrojů obrázku",d:"Panel nástrojů médií",e:"Panel nástrojů tabulky",f:"Počet slov: %0",g:"Počet znaků: %0",h:"Citace",i:"Zvolte nadpis",j:"Nadpis",k:"Zvětšit odsazení",l:"Zmenšit odsazení",m:"Odkaz",n:"Číslování",o:"Odrážky",p:"ovládací prvek médií",q:"Vložit média",r:"URL adresa musí být vyplněna.",s:"Tato adresa bohužel není podporována.",t:"Tučné",u:"Kurzíva",v:"Kódový blok",w:"Přeškrtnuté",x:"Dolní index",y:"Horní index",z:"ovládací prvek obrázku",aa:"Zadejte popis obrázku",ab:"Obrázek v plné velikosti",ac:"Postranní obrázek",ad:"Obrázek zarovnaný vlevo",ae:"Obrázek zarovnaný na střed",af:"Obrázek zarovnaný vpravo",ag:"Panel nástrojů ovládacího prvku",ah:"Seznam úkolů",ai:"Odstranit formátování",aj:"Vodorovná čára",ak:"Žlutý fix",al:"Zelený fix",am:"Růžový fix",an:"Modrý fix",ao:"Červený fix",ap:"Zelené pero",aq:"Odstranit zvýraznění",ar:"Zvýraznění",as:"Panel nástrojů zvýraznění textu",at:"Typ písma",au:"Výchozí",av:"Velikost písma",aw:"Drobné",ax:"Malé",ay:"Velké",az:"Obrovské",ba:"Barva písma",bb:"Barva pozadí písma",bc:"Změnit alternativní text obrázku",bd:"Textový editor",be:"Rozbalovací panel nástrojů",bf:"Černá",bg:"Tmavě šedá",bh:"Šedá",bi:"Světle šedá",bj:"Bílá",bk:"Červená",bl:"Oranžová",bm:"Žlutá",bn:"Světle zelená",bo:"Zelená",bp:"Akvamarínová",bq:"Tyrkysová",br:"Světle modrá",bs:"Modrá",bt:"Fialová",bu:"Odstranit barvu",bv:"Barvy dokumentu",bw:"%0 z %1",bx:"Předchozí",by:"Další",bz:"Uložit",ca:"Zrušit",cb:"Alternativní text",cc:"Panel nástrojů editoru",cd:"Zobrazit další položky",ce:"Zpět",cf:"Znovu",cg:"Vložte URL média do vstupního pole.",ch:"Rada: Vložte URL přímo do editoru pro rychlejší vnoření.",ci:"URL adresa",cj:"Otevřít v nové kartě",ck:"Ke stažení",cl:"Odstranit odkaz",cm:"Upravit odkaz",cn:"Otevřít odkaz v nové kartě",co:"Tento odkaz nemá žádnou URL",cp:"URL odkazu",cq:"Odstavec",cr:"Nadpis 1",cs:"Nadpis 2",ct:"Nadpis 3",cu:"Nadpis 4",cv:"Nadpis 5",cw:"Nadpis 6",cx:"Textový editor, %0",cy:"Insert code block",cz:"Zarovnat vlevo",da:"Zarovnat vpravo",db:"Zarovnat na střed",dc:"Zarovnat do bloku",dd:"Zarovnání textu",de:"Panel nástrojů zarovnání textu",df:"Vložit tabulku",dg:"Sloupec záhlaví",dh:"Vložit sloupec vlevo",di:"Vložit sloupec vpravo",dj:"Smazat sloupec",dk:"Sloupec",dl:"Řádek záhlaví",dm:"Vložit řádek pod",dn:"Vložit řádek před",do:"Smazat řádek",dp:"Řádek",dq:"Sloučit s buňkou nad",dr:"Sloučit s buňkou vpravo",ds:"Sloučit s buňkou pod",dt:"Sloučit s buňkou vlevo",du:"Rozdělit buňky vertikálně",dv:"Rozdělit buňky horizontálně",dw:"Sloučit buňky",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['da']=Object.assign(d['da']||{},{a:"Skriv din titel",b:"Skriv eller indsæt dit indhold her.",c:"Billedværktøjslinje",d:"Medie værktøjslinje",e:"Tabel værktøjslinje",f:"Ord: %0",g:"Karakterer: %0",h:"Blot citat",i:"Vælg overskrift",j:"Overskrift",k:"Forøg indrykning",l:"Formindsk indrykning",m:"Link",n:"Opstilling med tal",o:"Punktopstilling",p:"mediewidget",q:"Indsæt medie",r:"URLen kan ikke være tom.",s:"Denne medie URL understøttes ikke.",t:"Fed",u:"Kursiv",v:"Kode",w:"Gennemstreg",x:"Sænket skrift",y:"Hævet skrift",z:"billed widget",aa:"Indtast billedoverskrift",ab:"Fuld billedstørrelse",ac:"Sidebillede",ad:"Venstrestillet billede",ae:"Centreret billede",af:"Højrestillet billede",ag:"Widget værktøjslinje",ah:"To-do liste",ai:"Fjern format",aj:"Horisontal linje",ak:"Gul markør",al:"Grøn markør",am:"Lyserød markør",an:"Blå markør",ao:"Rød pen",ap:"Grøn pen",aq:"Fjern fremhævning",ar:"Fremhæv",as:"Tekstfremhævning værktøjslinje",at:"Skriftfamilie",au:"Standard",av:"Skriftstørrelse",aw:"Lillebitte",ax:"Lille",ay:"Stor",az:"Kæmpe",ba:"Skriftfarve",bb:"Skrift baggrundsfarve",bc:"Skift alternativ billedtekst",bd:"Wysiwyg editor",be:"Dropdown værktøjslinje",bf:"Sort",bg:"Dunkel grå",bh:"Grå",bi:"Lys grå",bj:"Hvid",bk:"Rød",bl:"Orange",bm:"Gyl",bn:"Lys grøn",bo:"Grøn",bp:"Marineblå",bq:"Turkis",br:"Lys blå",bs:"Blå",bt:"Lilla",bu:"Fjern farve",bv:"Dokumentfarve",bw:"%0 af %1",bx:"Forrige",by:"Næste",bz:"Gem",ca:"Annullér",cb:"Alternativ tekst",cc:"Editor værktøjslinje",cd:"Vis flere emner",ce:"Fortryd",cf:"Gentag",cg:"Indsæt medie URLen i feltet.",ch:"Tip: Indsæt URLen i indholdet for at indlejre hurtigere.",ci:"Medie URL",cj:"Åben i ny fane",ck:"Kan downloades",cl:"Fjern link",cm:"Redigér link",cn:"Åben link i ny fane",co:"Dette link har ingen URL",cp:"Link URL",cq:"Afsnit",cr:"Overskrift 1",cs:"Overskrift 2",ct:"Overskrift 3",cu:"Overskrift 4",cv:"Overskrift 5",cw:"Overskrift 6",cx:"Wysiwyg editor, %0",cy:"Insert code block",cz:"Justér venstre",da:"Justér højre",db:"Justér center",dc:"Justér",dd:"Tekstjustering",de:"Tekstjustering værktøjslinje",df:"Indsæt tabel",dg:"Headerkolonne",dh:"Indsæt kolonne venstre",di:"Indsæt kolonne højre",dj:"Slet kolonne",dk:"Kolonne",dl:"Headerrække",dm:"Indsæt header under",dn:"Indsæt header over",do:"Slet række",dp:"Række",dq:"Flet celler op",dr:"Flet celler højre",ds:"Flet celler ned",dt:"Flet celler venstre",du:"Del celle vertikalt",dv:"Del celle horisontalt",dw:"Flet celler",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['de-ch']=Object.assign(d['de-ch']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Blockzitat",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Bold",u:"Italic",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich-Text-Edito",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Save",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Rückgängig",cf:"Wiederherstellen",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich-Text-Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Tabelle einfügen",dg:"Kopfspalte",dh:"Insert column left",di:"Insert column right",dj:"Spalte löschen",dk:"Spalte",dl:"Kopfspalte",dm:"Zeile unten einfügen",dn:"Zeile oben einfügen",do:"Zeile löschen",dp:"Zeile",dq:"Zelle oben verbinden",dr:"Zele rechts verbinden",ds:"Zelle unten verbinden",dt:"Zelle links verbinden",du:"Zelle vertikal teilen",dv:"Zelle horizontal teilen",dw:"Zellen verbinden",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['de']=Object.assign(d['de']||{},{a:"Titel eingeben",b:"Hier Inhalt einfügen.",c:"Bild Werkzeugleiste",d:"Medien Werkzeugleiste",e:"Tabelle Werkzeugleiste",f:"Wörter: %0 ",g:"Zeichen: %0 ",h:"Blockzitat",i:"Überschrift auswählen",j:"Überschrift",k:"Einzug vergrößern",l:"Einzug verkleinern",m:"Link",n:"Nummerierte Liste",o:"Aufzählungsliste",p:"Medien-Widget",q:"Medium einfügen",r:"Die Url darf nicht leer sein",s:"Diese Medien-Url wird nicht unterstützt",t:"Fett",u:"Kursiv",v:"Code",w:"Durchgestrichen",x:"Tiefgestellt",y:"Hochgestellt",z:"Bild-Steuerelement",aa:"Bildunterschrift eingeben",ab:"Bild in voller Größe",ac:"Seitenbild",ad:"linksbündiges Bild",ae:"zentriertes Bild",af:"rechtsbündiges Bild",ag:"Widget Werkzeugleiste",ah:"Aufgabenliste",ai:"Formatierung entfernen",aj:"Horizontale Linie",ak:"Gelber Marker",al:"Grüner Marker",am:"Pinker Marker",an:"Blauer Marker",ao:"Rote Schriftfarbe",ap:"Grüne Schriftfarbe",aq:"Texthervorhebung entfernen",ar:"Texthervorhebung",as:"Text hervorheben Werkzeugleiste",at:"Schriftart",au:"Standard",av:"Schriftgröße",aw:"Sehr klein",ax:"Klein",ay:"Groß",az:"Sehr groß",ba:"Schriftfarbe",bb:"Hintergrundfarbe",bc:"Alternativ Text ändern",bd:"Rich Text Editor",be:"Dropdown-Liste Werkzeugleiste",bf:"Schwarz",bg:"Dunkelgrau",bh:"Grau",bi:"Hellgrau",bj:"Weiß",bk:"Rot",bl:"Orange",bm:"Gelb",bn:"Hellgrün",bo:"Grün",bp:"Aquamarinblau",bq:"Türkis",br:"Hellblau",bs:"Blau",bt:"Violett",bu:"Farbe entfernen",bv:"Dokumentfarben",bw:"%0 von %1",bx:"vorherige",by:"Nächste",bz:"Speichern",ca:"Abbrechen",cb:"Textalternative",cc:"Editor Werkzeugleiste",cd:"Mehr anzeigen",ce:"Rückgängig",cf:"Wiederherstellen",cg:"Medien-URL in das Eingabefeld einfügen.",ch:"Tipp: Zum schnelleren Einbetten können Sie die Medien-URL in den Inhalt einfügen.",ci:"Medien-Url",cj:"In neuem Tab öffnen",ck:"Herunterladbar",cl:"Link entfernen",cm:"Link bearbeiten",cn:"Link im neuen Tab öffnen",co:"Dieser Link hat keine Adresse",cp:"Link Adresse",cq:"Absatz",cr:"Überschrift 1",cs:"Überschrift 2",ct:"Überschrift 3",cu:"Überschrift 4",cv:"Überschrift 5",cw:"Überschrift 6",cx:"Rich-Text-Editor, %0",cy:"Insert code block",cz:"Linksbündig",da:"Rechtsbündig",db:"Zentriert",dc:"Blocksatz",dd:"Textausrichtung",de:"Text-Ausrichtung Toolbar",df:"Tabelle einfügen",dg:"Kopfspalte",dh:"Spalte links einfügen",di:"Spalte rechts einfügen",dj:"Spalte löschen",dk:"Spalte",dl:"Kopfzeile",dm:"Zeile unten einfügen",dn:"Zeile oben einfügen",do:"Zeile löschen",dp:"Zeile",dq:"Zelle verbinden",dr:"Zelle rechts verbinden",ds:"Zelle unten verbinden",dt:"Zelle links verbinden",du:"Zelle vertikal teilen",dv:"Zelle horizontal teilen",dw:"Zellen verbinden",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['el']=Object.assign(d['el']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Περιοχή παράθεσης",i:"Επιλέξτε κεφαλίδα",j:"Κεφαλίδα",k:"Increase indent",l:"Decrease indent",m:"Σύνδεσμος",n:"Αριθμημένη λίστα",o:"Λίστα κουκκίδων",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Έντονη",u:"Πλάγια",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Λεζάντα",ab:"Εικόνα πλήρης μεγέθους",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Αλλαγή εναλλακτικού κείμενου",bd:"Επεξεργαστής Πλούσιου Κειμένου",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Αποθήκευση",ca:"Ακύρωση",cb:"Εναλλακτικό κείμενο",cc:"Editor toolbar",cd:"Show more items",ce:"Αναίρεση",cf:"Επανάληψη",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Αφαίρεση συνδέσμου",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Διεύθυνση συνδέσμου",cq:"Παράγραφος",cr:"Κεφαλίδα 1",cs:"Κεφαλίδα 2",ct:"Κεφαλίδα 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Επεξεργαστής Πλούσιου Κειμένου, 0%",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['en-au']=Object.assign(d['en-au']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Bold",u:"Italic",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centred image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Colour",bb:"Font Background Colour",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove colour",bv:"Document colours",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Save",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align centre",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['en-gb']=Object.assign(d['en-gb']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"Media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Bold",u:"Italic",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"Image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centred image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Colour",bb:"Font Background Colour",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove colour",bv:"Document colours",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Save",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['eo']=Object.assign(d['eo']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Elektu ĉapon",j:"Ĉapo",k:"Increase indent",l:"Decrease indent",m:"Ligilo",n:"Numerita Listo",o:"Bula Listo",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"grasa",u:"kursiva",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"bilda fenestraĵo",aa:"Skribu klarigon pri la bildo",ab:"Bildo kun reala dimensio",ac:"Flanka biildo",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Ŝanĝu la alternativan tekston de la bildo",bd:"Redaktilo de Riĉa Teksto",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Konservi",ca:"Nuligi",cb:"Alternativa teksto",cc:"Editor toolbar",cd:"Show more items",ce:"Malfari",cf:"Refari",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Malligi",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"URL de la ligilo",cq:"Paragrafo",cr:"Ĉapo 1",cs:"Ĉapo 2",ct:"Ĉapo 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Redaktilo de Riĉa Teksto, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['es']=Object.assign(d['es']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Palabras: %0",g:"Caracteres: %0",h:"Entrecomillado",i:"Elegir Encabezado",j:"Encabezado",k:"Aumentar sangría",l:"Disminuir sangría",m:"Enlace",n:"Lista numerada",o:"Lista de puntos",p:"Widget multimedia",q:"Insertar multimedia",r:"La URL no debe estar vacía",s:"La URL de multimedia no está soportada",t:"Negrita",u:"Cursiva",v:"Código",w:"Tachado",x:"Subíndice",y:"Superíndice",z:"Widget de imagen",aa:"Introducir título de la imagen",ab:"Imagen a tamaño completo",ac:"Imagen lateral",ad:"Imagen alineada a la izquierda",ae:"Imagen centrada",af:"Imagen alineada a la derecha",ag:"Widget toolbar",ah:"To-do List",ai:"Quitar Formato",aj:"Horizontal line",ak:"Marcador amarillo",al:"Marcador verde",am:"Marcador rosa",an:"Marcador azul",ao:"Texto rojo",ap:"Texto verde",aq:"Quitar resaltado",ar:"Resaltar",as:"Text highlight toolbar",at:"Fuente",au:"Por defecto",av:"Tamaño de fuente",aw:"Minúsculo",ax:"Pequeño",ay:"Grande",az:"Enorme",ba:"Color de Fuente",bb:"Color de Fondo",bc:"Cambiar el texto alternativo de la imagen",bd:"Editor de Texto Enriquecido",be:"Dropdown toolbar",bf:"Negro",bg:"Gris Oscuro",bh:"Gris",bi:"Gris Claro",bj:"Blanco",bk:"Rojo",bl:"Anaranjado",bm:"Amarillo",bn:"Verde Claro",bo:"Verde",bp:"Aguamarina",bq:"Turquesa",br:"Azul Claro",bs:"Azul",bt:"Morado",bu:"Remover color",bv:"Colores del documento",bw:"%0 de %1",bx:"Anterior",by:"Siguiente",bz:"Guardar",ca:"Cancelar",cb:"Texto alternativo",cc:"Editor toolbar",cd:"Show more items",ce:"Deshacer",cf:"Rehacer",cg:"Pega la URL del contenido multimedia",ch:"Tip: pega la URL dentro del contenido para embeber más rápido",ci:"URL multimedia",cj:"Abrir en una pestaña nueva ",ck:"Descargable",cl:"Quitar enlace",cm:"Editar enlace",cn:"Abrir enlace en una pestaña nueva",co:"Este enlace no tiene URL",cp:"URL del enlace",cq:"Párrafo",cr:"Encabezado 1",cs:"Encabezado 2",ct:"Encabezado 3",cu:"Encabezado 4",cv:"Encabezado 5",cw:"Encabezado 6",cx:"Editor de Texto Enriquecido, %0",cy:"Insert code block",cz:"Alinear a la izquierda",da:"Alinear a la derecha",db:"Centrar",dc:"Justificar",dd:"Alineamiento del texto",de:"Text alignment toolbar",df:"Insertar tabla",dg:"Columna de encabezado",dh:"Insertar columna izquierda",di:"Insertar columna derecha",dj:"Eliminar columna",dk:"Columna",dl:"Fila de encabezado",dm:"Insertar fila debajo",dn:"Insertar fila encima",do:"Eliminar fila",dp:"Fila",dq:"Combinar celda superior",dr:"Combinar celda derecha",ds:"Combinar celda inferior",dt:"Combinar celda izquierda",du:"Dividir celdas verticalmente",dv:"Dividir celdas horizontalmente",dw:"Combinar celdas",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['et']=Object.assign(d['et']||{},{a:"Sisesta pealkiri",b:"Siia tipi või kopeeri tekst.",c:"Piltide tööriistariba",d:"Meedia tööriistariba",e:"Tabelite tööriistariba",f:"Sõnu: %0",g:"Märke: %0",h:"Tsitaat",i:"Vali pealkiri",j:"Pealkiri",k:"Suurenda taanet",l:"Vähenda taanet",m:"Link",n:"Nummerdatud loetelu",o:"Punktidega loetelu",p:"meedia vidin",q:"Sisesta meedia",r:"URL-i lahter ei tohi olla tühi.",s:"See meedia URL pole toetatud.",t:"Rasvane",u:"Kaldkiri",v:"Kood",w:"Läbijoonitud",x:"Alaindeks",y:"Ülaindeks",z:"pildi vidin",aa:"Sisesta pildi pealkiri",ab:"Täissuuruses pilt",ac:"Pilt küljel",ad:"Vasakule joondatud pilt",ae:"Keskele joondatud pilt",af:"Paremale joondatud pilt",ag:"Vidinate tööriistariba",ah:"Tööde nimekiri",ai:"Eemalda vorming",aj:"Horisontaalne joon",ak:"Kollane marker",al:"Roheline marker",am:"Roosa marker",an:"Sinine marker",ao:"Punane pliiats",ap:"Roheline pliiats",aq:"Eemalda esiletõstmine",ar:"Tõsta esile",as:"Teksti markeerimise tööriistariba",at:"Kirjastiil",au:"Vaikimisi",av:"Teksti suurus",aw:"Imepisike",ax:"Väike",ay:"Suur",az:"Ülisuur",ba:"Fondi värvus",bb:"Kirja tausta värvus",bc:"Muuda pildi asenduskirjeldust",bd:"Tekstiredaktor",be:"Avatav tööriistariba",bf:"Must",bg:"Tumehall",bh:"Hall",bi:"Helehall",bj:"Valge",bk:"Punane",bl:"Oranž",bm:"Kollane",bn:"Heleroheline",bo:"Roheline",bp:"Akvamariin",bq:"Türkiis",br:"Helesinine",bs:"Sinine",bt:"Lilla",bu:"Eemalda värv",bv:"Dokumendi värvid",bw:"%0 / %1",bx:"Eelmine",by:"Järgmine",bz:"Salvesta",ca:"Loobu",cb:"Asenduskirjeldus",cc:"Redaktori tööriistariba",cd:"Näita veel",ce:"Võta tagasi",cf:"Tee uuesti",cg:"Aseta meedia URL sisendi lahtrisse.",ch:"Vihje: asetades meedia URLi otse sisusse saab selle lisada kiiremini.",ci:"Meedia URL",cj:"Ava uuel kaardil",ck:"Allalaaditav",cl:"Eemalda link",cm:"Muuda linki",cn:"Ava link uuel vahekaardil",co:"Sellel lingil puudub URL",cp:"Lingi URL",cq:"Lõik",cr:"Pealkiri 1",cs:"Pealkiri 2",ct:"Pealkiri 3",cu:"Pealkiri 4",cv:"Pealkiri 5",cw:"Pealkiri 6",cx:"Tekstiredaktor, %0",cy:"Insert code block",cz:"Vasakjoondus",da:"Paremjoondus",db:"Keskjoondus",dc:"Rööpjoondus",dd:"Teksti joondamine",de:"Teksti joonduse tööriistariba",df:"Sisesta tabel",dg:"Päise veerg",dh:"Sisesta veerg vasakule",di:"Sisesta veerg paremale",dj:"Kustuta veerg",dk:"Veerg",dl:"Päise rida",dm:"Sisesta rida allapoole",dn:"Sisesta rida ülespoole",do:"Kustuta rida",dp:"Rida",dq:"Liida ülemise lahtriga",dr:"Liida paremal oleva lahtriga",ds:"Liida alumise lahtriga",dt:"Liida vasakul oleva lahtriga",du:"Jaga lahter vertikaalselt",dv:"Jaga lahter horisontaalselt",dw:"Liida lahtrid",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['eu']=Object.assign(d['eu']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Aipua",i:"Aukeratu izenburua",j:"Izenburua",k:"Increase indent",l:"Decrease indent",m:"Esteka",n:"Zenbakidun zerrenda",o:"Buletdun zerrenda",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Lodia",u:"Etzana",v:"Kodea",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"irudi widgeta",aa:"Sartu irudiaren epigrafea",ab:"Tamaina osoko irudia",ac:"Alboko irudia",ad:"Ezkerrean lerrokatutako irudia",ae:"Zentratutako irudia",af:"Eskuinean lerrokatutako irudia",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Aldatu irudiaren ordezko testua",bd:"Testu aberastuaren editorea",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Gorde",ca:"Utzi",cb:"Ordezko testua",cc:"Editor toolbar",cd:"Show more items",ce:"Desegin",cf:"Berregin",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Desestekatu",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Estekaren URLa",cq:"Paragrafoa",cr:"Izenburua 1",cs:"Izenburua 2",ct:"Izenburua 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Testu aberastuaren editorea, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['fa']=Object.assign(d['fa']||{},{a:"Type your title",b:"Type or paste your content here.",c:"نوارابزار تصویر",d:"نوارابزار رسانه",e:"نوارابزار جدول",f:"تعداد لغات : 0%",g:"تعداد حروف : 0%",h:" بلوک نقل قول",i:"انتخاب عنوان",j:"عنوان",k:"افزایش تورفتگی",l:"کاهش تورفتگی",m:"پیوند",n:"لیست عددی",o:"لیست نشانه‌دار",p:"ویجت رسانه",q:"وارد کردن رسانه",r:"آدرس اینترنتی URL نباید خالی باشد.",s:"این آدرس اینترنتی رسانه پشتیبانی نمی‌شود",t:"درشت",u:"کج",v:"کد",w:"خط خورده",x:"پایین نویس",y:"بالانویس",z:"ابزاره تصویر",aa:"عنوان تصویر را وارد کنید",ab:"تصویر در اندازه کامل",ac:"تصویر جانبی",ad:"تصویر تراز شده چپ",ae:"تصویر در وسط",af:"تصویر تراز شده راست",ag:"نوار ابزارک ها",ah:"لیست انجام کار",ai:"حذف کردن قالب",aj:"Horizontal line",ak:"نشانگر زرد",al:"نشانگر سبز",am:"نشانگر صورتی",an:"نشانگر آبی",ao:"قلم قرمز",ap:"قلم سبز",aq:"حذف برجسته",ar:"برجسته",as:"نوارابزار برجستگی متن",at:"خانواده فونت",au:"پیش فرض",av:"اندازه فونت",aw:"بسیار کوچک",ax:"کوچک",ay:"بزرگ",az:"بسیار بزرگ",ba:"رنگ فونت",bb:"رنگ پس زمینه فونت",bc:"تغییر متن جایگزین تصویر",bd:"ویرایشگر متن غنی",be:"نوارابزار کشویی",bf:"سیاه",bg:"خاکستری تیره",bh:"خاکستری",bi:"خاکستری روشن",bj:"سفید",bk:"قرمز",bl:"نارنجی",bm:"زرد",bn:"سبز روشن",bo:"سبز",bp:"زمرد کبود",bq:"فیروزه ای",br:"آبی روشن",bs:"آبی",bt:"بنفش",bu:"حذف رنگ",bv:"رنگ اسناد",bw:"0% از 1%",bx:"قبلی",by:"بعدی",bz:"ذخیره",ca:"لغو",cb:"متن جایگزین",cc:"نوارابزار ویرایشگر",cd:"Show more items",ce:"بازگردانی",cf:"باز انجام",cg:"آدرس رسانه را در ورودی قرار دهید",ch:"نکته : آدرس را در محتوا قراردهید تا سریع تر جاسازی شود",ci:"آدرس اینترنتی رسانه",cj:"بازکردن در برگه جدید",ck:"قابل بارگیری",cl:"لغو پیوند",cm:"ویرایش پیوند",cn:"باز کردن پیوند در برگه جدید",co:"این پیوند نشانی اینترنتی ندارد",cp:"نشانی اینترنتی پیوند",cq:"پاراگراف",cr:"عنوان 1",cs:"عنوان 2",ct:"عنوان 3",cu:"عنوان 4",cv:"عنوان 5",cw:"عنوان 6",cx:"ویرایشگر متن غنی، %0",cy:"Insert code block",cz:"تراز چپ",da:"تراز راست",db:"تراز وسط",dc:"هم تراز کردن",dd:"تراز متن",de:"نوارابزار تراز متن",df:"درج جدول",dg:"ستون سربرگ",dh:"درج ستون در سمت چپ",di:"درج ستون در سمت راست",dj:"حذف ستون",dk:"ستون",dl:"سطر سربرگ",dm:"درج سطر در پایین",dn:"درج سطر در بالا",do:"حذف سطر",dp:"سطر",dq:"ادغام سلول بالا",dr:"ادغام سلول راست",ds:"ادغام سلول پایین",dt:"ادغام سلول چپ",du:"تقسیم عمودی سلول",dv:"تقسیم افقی سلول",dw:"ادغام سلول ها",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['fi']=Object.assign(d['fi']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Sanoja: %0",g:"Merkkejä: %0",h:"Lainaus",i:"Valitse otsikko",j:"Otsikkotyyli",k:"Lisää sisennystä",l:"Vähennä sisennystä",m:"Linkki",n:"Numeroitu lista",o:"Lista",p:"media widget",q:"Insert media",r:"URL-osoite ei voi olla tyhjä.",s:"This media URL is not supported.",t:"Lihavointi",u:"Kursivointi",v:"Koodi",w:"Yliviivaus",x:"Alaindeksi",y:"Yläindeksi",z:"Kuvavimpain",aa:"Syötä kuvateksti",ab:"Täysikokoinen kuva",ac:"Pieni kuva",ad:"Vasemmalle tasattu kuva",ae:"Keskitetty kuva",af:"Oikealle tasattu kuva",ag:"Widget toolbar",ah:"To-do List",ai:"Poista muotoilu",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Poista korostus",ar:"Korosta",as:"Text highlight toolbar",at:"Fonttiperhe",au:"Oletus",av:"Fontin koko",aw:"Hyvin pieni",ax:"Pieni",ay:"Suuri",az:"Hyvin suuri",ba:"Fontin väri",bb:"Fontin taustaväri",bc:"Vaihda kuvan vaihtoehtoinen teksti",bd:"Rikas tekstieditori",be:"Dropdown toolbar",bf:"Musta",bg:"Dim grey",bh:"Harmaa",bi:"Vaaleanharmaa",bj:"Valkoinen",bk:"Punainen",bl:"Oranssi",bm:"Keltainen",bn:"Vaaleanvihreä",bo:"Vihreä",bp:"Akvamariini",bq:"Turkoosi",br:"Vaaleansininen",bs:"Sininen",bt:"Purppura",bu:"Poista väri",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Tallenna",ca:"Peruuta",cb:"Vaihtoehtoinen teksti",cc:"Editor toolbar",cd:"Show more items",ce:"Peru",cf:"Tee uudelleen",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Poista linkki",cm:"Muokkaa linkkiä",cn:"Avaa linkki uudessa välilehdessä",co:"Linkillä ei ole URL-osoitetta",cp:"Linkin osoite",cq:"Kappale",cr:"Otsikko 1",cs:"Otsikko 2",ct:"Otsikko 3",cu:"Otsikko 4",cv:"Otsikko 5",cw:"Otsikko 6",cx:"Rikas tekstieditori, %0",cy:"Insert code block",cz:"Tasaa vasemmalle",da:"Tasaa oikealle",db:"Tasaa keskelle",dc:"Tasaa molemmat reunat",dd:"Tekstin tasaus",de:"Text alignment toolbar",df:"Lisää taulukko",dg:"Otsikkosarake",dh:"Lisää sarake vasemmalle",di:"Lisää sarake oikealle",dj:"Poista sarake",dk:"Sarake",dl:"Otsikkorivi",dm:"Lisää rivi alle",dn:"Lisää rivi ylle",do:"Poista rivi",dp:"Rivi",dq:"Yhdistä solu ylös",dr:"Yhdistä solu oikealle",ds:"Yhdistä solu alas",dt:"Yhdistä solu vasemmalle",du:"Jaa solu pystysuunnassa",dv:"Jaa solu vaakasuunnassa",dw:"Yhdistä tai jaa soluja",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['fr']=Object.assign(d['fr']||{},{a:"Rentrer votre titre",b:"Noter ou coller votre contenu ici",c:"Barre d'outils des images",d:"Barre d'outils des médias",e:"Barre d'outils des tableaux",f:"Mots : %0",g:"Caractères : %0",h:"Citation",i:"Choisir l'en-tête",j:"En-tête",k:"Augmenter le retrait",l:"Diminuer le retrait",m:"Lien",n:"Liste numérotée",o:"Liste à puces",p:"widget média",q:"Insérer un média",r:"L'URL ne doit pas être vide.",s:"Cette URL de média n'est pas supportée.",t:"Gras",u:"Italique",v:"Code",w:"Barré",x:"Indice",y:"Exposant",z:"Objet image",aa:"Saisir la légende de l’image",ab:"Image taille réelle",ac:"Image latérale",ad:"Image alignée à gauche",ae:"Image centrée",af:"Image alignée à droite",ag:"Barre d'outils du widget",ah:"Liste de tâches",ai:"Enlever le format",aj:"Ligne horizontale",ak:"Marqueur jaune",al:"Marqueur vert",am:"Marqueur rose",an:"Marqueur bleu",ao:"Crayon rouge",ap:"Crayon vert",aq:"Enlever le surlignage",ar:"Surlignage",as:"Barre d'outils du surlignage",at:"Police",au:"Par défaut",av:"Taille de police",aw:"Minuscule",ax:"Petit",ay:"Grand",az:"Enorme",ba:"Couleur de police",bb:"Couleur d'arrière-plan",bc:"Changer le texte alternatif à l’image",bd:"Éditeur de texte enrichi",be:"Barre d'outils dans un menu déroulant",bf:"Noir",bg:"Gris pâle",bh:"Gris",bi:"Gris clair",bj:"Blanc",bk:"Rouge",bl:"Orange",bm:"Jaune",bn:"Vert clair",bo:"Vert",bp:"Bleu vert",bq:"Turquoise",br:"Bleu clair",bs:"Bleu",bt:"Violet",bu:"Enlever la couleur",bv:"Couleurs du document",bw:"%0 sur %1",bx:"Précedent",by:"Suivant",bz:"Enregistrer",ca:"Annuler",cb:"Texte alternatif",cc:"Barre d'outils de l'éditeur",cd:"Montrer plus d'éléments",ce:"Annuler",cf:"Restaurer",cg:"Coller l'URL du média",ch:"Astuce : Copier l'URL du média dans le contenu pour l'insérer plus rapidement",ci:"URL de média",cj:"Ouvrir dans un nouvel onglet",ck:"Fichier téléchargeable",cl:"Supprimer le lien",cm:"Modifier le lien",cn:"Ouvrir le lien dans un nouvel onglet",co:"Ce lien n'a pas d'URL",cp:"URL du lien",cq:"Paragraphe",cr:"Titre 1",cs:"Titre 2",ct:"Titre 3",cu:"Titre 4",cv:"Titre 5",cw:"Titre 6",cx:"Éditeur de texte enrichi, %0",cy:"Insert code block",cz:"Aligner à gauche",da:"Aligner à droite",db:"Centrer",dc:"Justifier",dd:"Alignement du texte",de:"Barre d'outils d'alignement du texte",df:"Insérer un tableau",dg:"Colonne d'entête",dh:"Insérer une colonne à gauche",di:"Insérer une colonne à droite",dj:"Supprimer la colonne",dk:"Colonne",dl:"Ligne d'entête",dm:"Insérer une ligne en-dessous",dn:"Insérer une ligne au-dessus",do:"Supprimer la ligne",dp:"Ligne",dq:"Fusionner la cellule au-dessus",dr:"Fusionner la cellule à droite",ds:"Fusionner la cellule en-dessous",dt:"Fusionner la cellule à gauche",du:"Scinder la cellule verticalement",dv:"Scinder la cellule horizontalement",dw:"Fusionner les cellules",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['gl']=Object.assign(d['gl']||{},{a:"Escriba o seu título",b:"Escriba ou pegue o seu contido aquí.",c:"Barra de ferramentas de imaxe",d:"Barra de ferramentas de multimedia",e:"Barra de ferramentas de táboas",f:"Palabras: %0",g:"Caracteres: %0",h:"Cita de bloque",i:"Escolla o título",j:"Título",k:"Aumentar sangrado",l:"Reducir sangrado",m:"Ligar",n:"Lista numerada",o:"Lista viñeteada",p:"trebello multimedia",q:"Inserir elemento multimedia",r:"O URL non debe estar baleiro.",s:"Este URL multimedia non é compatible.",t:"Negra",u:"Itálica",v:"Código",w:"Riscado",x:"Subíndice",y:"Superíndice",z:"Trebello de imaxe",aa:"Introduza o título da imaxe",ab:"Imaxe a tamaño completo",ac:"Lado da imaxe",ad:"Imaxe aliñada á esquerda",ae:"Imaxe centrada horizontalmente",af:"Imaxe aliñada á dereita",ag:"Barra de ferramentas de trebellos",ah:"Lista de cousas por facer",ai:"Retirar o formato",aj:"Liña horizontal",ak:"Marcador marelo",al:"Marcador verde",am:"Marcador rosa",an:"Marcador azul",ao:"Pluma vermella",ap:"Pluma verde",aq:"Retirar o resaltado",ar:"Resaltado",as:"Barra de ferramentas para resaltar texto",at:"Familia tipográfica",au:"Predeterminada",av:"Tamaño da letra",aw:"Diminuta",ax:"Pequena",ay:"Grande",az:"Enorme",ba:"Cor da letra",bb:"Cor do fondo da letra",bc:"Cambiar o texto alternativo da imaxe",bd:"Editor de texto mellorado",be:"Barra de ferramentas despregábel",bf:"Negro",bg:"Gris fume",bh:"Gris",bi:"Gris claro",bj:"Branco",bk:"Vermello",bl:"Laranxa",bm:"Amarelo",bn:"Verde claro",bo:"Verde",bp:"Augamariña",bq:"Turquesa",br:"Azul claro",bs:"Azul",bt:"Púrpura",bu:"Retirar a cor",bv:"Cores do documento",bw:"%0 de %1",bx:"Anterior",by:"Seguinte",bz:"Gardar",ca:"Cancelar",cb:"Texto alternativo",cc:"Barra de ferramentas do editor",cd:"Amosar máis elementos",ce:"Desfacer",cf:"Refacer",cg:"Pegue o URL do medio na entrada.",ch:"Consello: Pegue o URL no contido para incrustalo máis rápido.",ci:"URL multimedia",cj:"Abrir nunha nova lapela",ck:"Descargábel",cl:"Desligar",cm:"Editar a ligazón",cn:"Abrir a ligazón nunha nova lapela",co:"Esta ligazón non ten URL",cp:"URL de ligazón",cq:"Parágrafo",cr:"Título 1",cs:"Título 2",ct:"Título 3",cu:"Título 4",cv:"Título 5",cw:"Título 6",cx:"Editor de texto mellorado, %0",cy:"Insert code block",cz:"Aliñar á esquerda",da:"Aliñar á dereita",db:"Centrar horizontalmente",dc:"Xustificado",dd:"Aliñamento do texto",de:"Barra de ferramentas de aliñamento de textos",df:"Inserir táboa",dg:"Cabeceira de columna",dh:"Inserir columna á esquerda",di:"Inserir columna á dereita",dj:"Eliminar columna",dk:"Columna",dl:"Cabeceira de fila",dm:"Inserir fila embaixo",dn:"Inserir fila enriba",do:"Eliminar fila",dp:"Fila",dq:"Combinar cela cara arriba",dr:"Combinar cela cara a dereita",ds:"Combinar cela cara abaixo",dt:"Combinar cela cara a esquerda",du:"Dividir cela en vertical",dv:"Dividir cela en horizontal",dw:"Combinar celas",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['gu']=Object.assign(d['gu']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:" વિચાર ટાંકો",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"ઘાટુ - બોલ્ડ્",u:"ત્રાંસુ - ઇટલિક્",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Save",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['he']=Object.assign(d['he']||{},{a:"הזן כותרת",b:"הזן או הדבק את התוכן כאן",c:"סרגל תמונה",d:"Media toolbar",e:"Table toolbar",f:"מס' מילים: %0",g:"מס' תווים: %0",h:"בלוק ציטוט",i:"בחר סוג כותרת",j:"כותרת",k:"Increase indent",l:"Decrease indent",m:"קישור",n:"רשימה ממוספרת",o:"רשימה מנוקדת",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"מודגש",u:"נטוי",v:"קוד",w:"קו חוצה",x:"כתב תחתי",y:"כתב עילי",z:"תמונה",aa:"הזן כותרת תמונה",ab:"תמונה בפריסה מלאה",ac:"תמונת צד",ad:"תמונה מיושרת לשמאל",ae:"תמונה ממרוכזת",af:"תמונה מיושרת לימין",ag:"סרגל יישומון",ah:"רשימת מטלות",ai:"Remove Format",aj:"קו אופקי",ak:"סימון צהוב",al:"סימון ירוק",am:"סימון וורוד",an:"סימון כחול",ao:"עט אדום",ap:"עט ירוק",aq:"הסר הדגשה",ar:"הדגשה",as:"סרגל הדגשת טקסט",at:"Font Family",au:"ברירת מחדל",av:"גודל טקסט",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"שינוי טקסט אלטרנטיבי לתמונה",bd:"עורך טקסט עשיר",be:"סרגל כלים נפתח",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"0% מתוך %1",bx:"הקודם",by:"הבא",bz:"שמירה",ca:"ביטול",cb:"טקסט אלטרנטיבי",cc:"סרגל הכלים",cd:"הצד פריטים נוספים",ce:"ביטול",cf:"ביצוע מחדש",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"ביטול קישור",cm:"עריכת קישור",cn:"פתח קישור בכרטיסייה חדשה",co:"לקישור זה אין כתובת אתר",cp:"קישור כתובת אתר",cq:"פיסקה",cr:"כותרת 1",cs:"כותרת 2",ct:"כותרת 3",cu:"כותרת 4",cv:"כותרת 5",cw:"כותרת 6",cx:"עורך טקסט עשיר, %0",cy:"Insert code block",cz:"יישור לשמאל",da:"יישור לימין",db:"יישור באמצע",dc:"מרכוז גבולות",dd:"יישור טקסט",de:"סרגל כלים יישור טקסט",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['hr']=Object.assign(d['hr']||{},{a:"Utipkajte naslov",b:"Utipkajte ili zalijepite Vaš sadržaj ovdje.",c:"Traka za slike",d:"Traka za medije",e:"Traka za tablice",f:"Riječi: %0",g:"Znakova: %0",h:"Blok citat",i:"Odaberite naslov",j:"Naslov",k:"Povećaj uvlačenje",l:"Umanji uvlačenje",m:"Veza",n:"Brojčana lista",o:"Obična lista",p:"dodatak za medije",q:"Ubaci medij",r:"URL ne smije biti prazan.",s:"URL nije podržan.",t:"Podebljano",u:"Ukošeno",v:"Kod",w:"Precrtano",x:"Indeks",y:"Eksponent",z:"Slika widget",aa:"Unesite naslov slike",ab:"Slika pune veličine",ac:"Slika sa strane",ad:"Lijevo poravnata slika",ae:"Centrirana slika",af:"Slika poravnata desno",ag:"Traka sa spravicama",ah:"Lista zadataka za obaviti",ai:"Ukloni format",aj:"Vodoravna linija",ak:"Žuti marker",al:"Zeleni marker",am:"Rozi marker",an:"Plavi marker",ao:"Crveno pero",ap:"Zeleno pero",aq:"Ukloni isticanje",ar:"Istakni",as:"Traka za isticanje teksta",at:"Obitelj fonta",au:"Podrazumijevano",av:"Veličina fonta",aw:"Sićušan",ax:"Mali",ay:"Veliki",az:"Ogroman",ba:"Boja Fonta",bb:"Pozadinska Boja Fonta",bc:"Promijeni alternativni tekst slike",bd:"Rich Text Editor",be:"Traka padajućeg izbornika",bf:"Crna",bg:"Tamnosiva",bh:"Siva",bi:"Svijetlosiva",bj:"Bijela",bk:"Crvena",bl:"Narančasta",bm:"Žuta",bn:"Svijetlozelena",bo:"Zelena",bp:"Akvamarin",bq:"Tirkizna",br:"Svijetloplava",bs:"Plava",bt:"Ljubičasta",bu:"Ukloni boju",bv:"Boje dokumenta",bw:"%0 od %1",bx:"Prethodni",by:"Sljedeći",bz:"Snimi",ca:"Poništi",cb:"Alternativni tekst",cc:"Traka uređivača",cd:"Prikaži više stavaka",ce:"Poništi",cf:"Ponovi",cg:"Zalijepi URL medija u ulaz.",ch:"Natuknica: Za brže ugrađivanje zalijepite URL u sadržaj.",ci:"URL medija",cj:"Otvori u novoj kartici",ck:"Moguće preuzeti",cl:"Ukloni vezu",cm:"Uredi vezu",cn:"Otvori vezu u novoj kartici",co:"Ova veza nema URL",cp:"URL veze",cq:"Paragraf",cr:"Naslov 1",cs:"Naslov 2",ct:"Naslov 3",cu:"Naslov 4",cv:"Naslov 5",cw:"Naslov 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Poravnaj ulijevo",da:"Poravnaj udesno",db:"Poravnaj po sredini",dc:"Razvuci",dd:"Poravnanje teksta",de:"Traka za poravnanje",df:"Ubaci tablicu",dg:"Kolona zaglavlja",dh:"Umetni stupac lijevo",di:"Umetni stupac desno",dj:"Obriši kolonu",dk:"Kolona",dl:"Red zaglavlja",dm:"Ubaci red ispod",dn:"Ubaci red iznad",do:"Obriši red",dp:"Red",dq:"Spoji ćelije prema gore",dr:"Spoji ćelije prema desno",ds:"Spoji ćelije prema dolje",dt:"Spoji ćelije prema lijevo",du:"Razdvoji ćeliju okomito",dv:"Razdvoji ćeliju vodoravno",dw:"Spoji ćelije",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['hu']=Object.assign(d['hu']||{},{a:"Adja meg a címet",b:"Írja be, vagy illessze be a tartalmat.",c:"Kép eszköztár",d:"Média eszköztár",e:"Táblázat eszköztár",f:"Szavak: %0",g:"Karakterek: %0",h:"Idézet",i:"Stílus megadása",j:"Stílusok",k:"Behúzás növelése",l:"Behúzás csökkentése",m:"Link",n:"Számozott lista",o:"Pontozott lista",p:"Média widget",q:"Média beszúrása",r:"Az URL nem lehet üres.",s:"Ez a média URL típus nem támogatott.",t:"Félkövér",u:"Dőlt",v:"Forráskód",w:"Áthúzott",x:"Alsó index",y:"Felső index",z:"képmodul",aa:"Képaláírás megadása",ab:"Teljes méretű kép",ac:"Oldalsó kép",ad:"Balra igazított kép",ae:"Középre igazított kép",af:"Jobbra igazított kép",ag:"Widget eszköztár",ah:"Tennivaló lista",ai:"Formázás eltávolítása",aj:"Vízszintes elválasztóvonal",ak:"Sárga kiemelő",al:"Zöld kiemelő",am:"Rózsaszín kiemelő",an:"Kék kiemelő",ao:"Piros toll",ap:"Zöld toll",aq:"Kiemelés eltávolítása",ar:"Kiemelés",as:"Szöveg kiemelés eszköztár",at:"Betűtípus",au:"Alapértelmezett",av:"Betűméret",aw:"Apró",ax:"Kicsi",ay:"Nagy",az:"Hatalmas",ba:"Betűszín",bb:"Betű háttérszín",bc:"Helyettesítő szöveg módosítása",bd:"Bővített szövegszerkesztő",be:"Lenyíló eszköztár",bf:"Fekete",bg:"Halvány szürke",bh:"Szürke",bi:"Világosszürke",bj:"Fehér",bk:"Piros",bl:"Narancs",bm:"Sárga",bn:"Világoszöld",bo:"Zöld",bp:"Kékeszöld",bq:"Türkiz",br:"Világoskék",bs:"Kék",bt:"Lila",bu:"Szín eltávolítása",bv:"Dokumentum színek",bw:"%0 / %1",bx:"Előző",by:"Következő",bz:"Mentés",ca:"Mégsem",cb:"Helyettesítő szöveg",cc:"Szerkesztő eszköztár",cd:"További elemek",ce:"Visszavonás",cf:"Újra",cg:"Illessze be a média URL-jét.",ch:"Tipp: Illessze be a média URL-jét a tartalomba.",ci:"Média URL",cj:"Megnyitás új lapon",ck:"Letölthető",cl:"Link eltávolítása",cm:"Link szerkesztése",cn:"Link megnyitása új ablakban",co:"A link nem tartalmaz URL-t",cp:"URL link",cq:"Bekezdés",cr:"Címsor 1",cs:"Címsor 2",ct:"Címsor 3",cu:"Címsor 4",cv:"Címsor 5",cw:"Címsor 6",cx:"Bővített szövegszerkesztő, %0",cy:"Insert code block",cz:"Balra igazítás",da:"Jobbra igazítás",db:"Középre igazítás",dc:"Sorkizárt",dd:"Szöveg igazítása",de:"Szöveg igazítás eszköztár",df:"Táblázat beszúrása",dg:"Oszlop fejléc",dh:"Oszlop beszúrása balra",di:"Oszlop beszúrása jobbra",dj:"Oszlop törlése",dk:"Oszlop",dl:"Sor fejléc",dm:"Sor beszúrása alá",dn:"Sor beszúrása fölé",do:"Sor törlése",dp:"Sor",dq:"Cellák egyesítése felfelé",dr:"Cellák egyesítése jobbra",ds:"Cellák egyesítése lefelé",dt:"Cellák egyesítése balra",du:"Cella felosztása függőlegesen",dv:"Cella felosztása vízszintesen",dw:"Cellaegyesítés",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['id']=Object.assign(d['id']||{},{a:"Ketik judul Anda",b:"Ketik atau tempel konten Anda di sini.",c:"Alat gambar",d:"Alat media",e:"Alat tabel",f:"Kata: %0",g:"Karakter: %0",h:"Kutipan",i:"Pilih tajuk",j:"Tajuk",k:"Tambah indentasi",l:"Kurangi indentasi",m:"Tautan",n:"Daftar Berangka",o:"Daftar Tak Berangka",p:"widget media",q:"Sisipkan media",r:"URL tidak boleh kosong.",s:"URL media ini tidak didukung.",t:"Tebal",u:"Miring",v:"Kode",w:"Coret",x:"Subskrip",y:"Superskrip",z:"widget gambar",aa:"Tambahkan deskripsi gambar",ab:"Gambar ukuran penuh",ac:"Gambar sisi",ad:"Gambar rata kiri",ae:"Gambar rata tengah",af:"Gambar rata kanan",ag:"Alat widget",ah:"Daftar untuk-dikerjakan",ai:"Hapus Format",aj:"Garis horizontal",ak:"Marka kuning",al:"Marka hijau",am:"Marka merah jambu",an:"Marka biru",ao:"Pena merah",ap:"Pena hijau",aq:"Hapus tanda",ar:"Tanda",as:"Alat penanda teks",at:"Jenis Huruf",au:"Bawaan",av:"Ukuran Huruf",aw:"Sangat Kecil",ax:"Kecil",ay:"Besar",az:"Sangat Besar",ba:"Warna Huruf",bb:"Warna Latar Huruf",bc:"Ganti alternatif teks gambar",bd:"Editor Teks Kaya",be:"Alat dropdown",bf:"Hitam",bg:"Kelabu gelap",bh:"Kelabu",bi:"Kelabu terang",bj:"Putih",bk:"Merah",bl:"Jingga",bm:"Kuning",bn:"Hijau terang",bo:"Hijau",bp:"Biru laut",bq:"Turkish",br:"Biru terang",bs:"Biru",bt:"Ungu",bu:"Hapus warna",bv:"Warna dokumen",bw:"%0 dari %1",bx:"Sebelumnya",by:"Berikutnya",bz:"Simpan",ca:"Batal",cb:"Alternatif teks",cc:"Alat editor",cd:"Show more items",ce:"Batal",cf:"Lakukan lagi",cg:"Tempelkan URL ke dalam bidang masukan.",ch:"Tip: Tempelkan URL ke bagian konten untuk sisip cepat.",ci:"URL Media",cj:"Buka di tab baru",ck:"Dapat diunduh",cl:"Hapus tautan",cm:"Sunting tautan",cn:"Buka tautan di tab baru",co:"Tautan ini tidak memiliki URL",cp:"URL tautan",cq:"Paragraf",cr:"Tajuk 1",cs:"Tajuk 2",ct:"Tajuk 3",cu:"Tajuk 4",cv:"Tajuk 5",cw:"Tajuk 6",cx:"Editor Teks Kaya, %0",cy:"Insert code block",cz:"Rata kiri",da:"Rata kanan",db:"Rata tengah",dc:"Rata kanan-kiri",dd:"Perataan teks",de:"Alat perataan teks",df:"Sisipkan tabel",dg:"Kolom tajuk",dh:"Sisipkan kolom ke kiri",di:"Sisipkan kolom ke kanan",dj:"Hapus kolom",dk:"Kolom",dl:"Baris tajuk",dm:"Sisipkan baris ke bawah",dn:"Sisipkan baris ke atas",do:"Hapus baris",dp:"Baris",dq:"Gabungkan sel ke atas",dr:"Gabungkan sel ke kanan",ds:"Gabungkan sel ke bawah",dt:"Gabungkan sel ke kiri",du:"Bagikan sel secara vertikal",dv:"Bagikan sel secara horizontal",dw:"Gabungkan sel",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['it']=Object.assign(d['it']||{},{a:"Inserire il proprio titolo",b:"Inserire o incollare qui il proprio contenuto.",c:"Barra degli strumenti dell'immagine",d:"Barra degli strumenti degli elementi multimediali",e:"Barra degli strumenti della tabella",f:"Parole: %0",g:"Caratteri: %0",h:"Blocco citazione",i:"Seleziona intestazione",j:"Intestazione",k:"Aumenta rientro",l:"Riduci rientro",m:"Collegamento",n:"Elenco numerato",o:"Elenco puntato",p:"widget media",q:"Inserisci media",r:"L'URL non può essere vuoto.",s:"Questo URL di file multimediali non è supportato.",t:"Grassetto",u:"Corsivo",v:"Codice",w:"Barrato",x:"Pedice",y:"Apice",z:"Widget immagine",aa:"inserire didascalia dell'immagine",ab:"Immagine a dimensione intera",ac:"Immagine laterale",ad:"Immagine allineata a sinistra",ae:"Immagine centrata",af:"Immagine allineata a destra",ag:"Barra degli strumenti del widget",ah:"Elenco cose da fare",ai:"Rimuovi formato",aj:"Linea orizzontale",ak:"Contrassegno giallo",al:"Contrassegno verde",am:"Contrassegno rosa",an:"Contrassegno blu",ao:"Penna rossa",ap:"Penna verde",aq:"Rimuovi evidenziazione",ar:"Evidenzia",as:"Barra degli strumenti dell'evidenziazione del testo",at:"Tipo di caratteri",au:"Predefinito",av:"Dimensione caratteri",aw:"Piccolissimi",ax:"Piccoli",ay:"Grandi",az:"Grandissimi",ba:"Colore caratteri",bb:"Colore di sfondo caratteri",bc:"Cambia testo alternativo dell'immagine",bd:"Editor di testo formattato",be:"Barra degli strumenti del menu a discesa",bf:"Nero",bg:"Grigio tenue",bh:"Grigio",bi:"Grigio chiaro",bj:"Bianco",bk:"Rosso",bl:"Arancio",bm:"Giallo",bn:"Verde chiaro",bo:"Verde",bp:"Aquamarina",bq:"Turchese",br:"Azzurro",bs:"Blu",bt:"Porpora",bu:"Rimuovi colore",bv:"Colori del docmento",bw:"%0 di %1",bx:"Indietro",by:"Avanti",bz:"Salva",ca:"Annulla",cb:"Testo alternativo",cc:"Barra degli strumenti dell'editor",cd:"Mostra più elementi",ce:"Annulla",cf:"Ripristina",cg:"Incolla l'URL del file multimediale nell'input.",ch:"Consiglio: incolla l'URL nel contenuto per un'incorporazione più veloce.",ci:"URL media",cj:"Apri in una nuova scheda",ck:"Scaricabile",cl:"Elimina collegamento",cm:"Modifica collegamento",cn:"Apri collegamento in nuova scheda",co:"Questo collegamento non ha un URL",cp:"URL del collegamento",cq:"Paragrafo",cr:"Intestazione 1",cs:"Intestazione 2",ct:"Intestazione 3",cu:"Intestazione 4",cv:"Intestazione 5",cw:"Intestazione 6",cx:"Editor di testo formattato, %0",cy:"Insert code block",cz:"Allinea a sinistra",da:"Allinea a destra",db:"Allinea al centro",dc:"Giustifica",dd:"Allineamento del testo",de:"Barra degli strumenti dell'allineamento",df:"Inserisci tabella",dg:"Intestazione colonna",dh:"Inserisci colonna a sinistra",di:"Inserisci colonna a destra",dj:"Elimina colonna",dk:"Colonna",dl:"Riga d'intestazione",dm:"Inserisci riga sotto",dn:"Inserisci riga sopra",do:"Elimina riga",dp:"Riga",dq:"Unisci cella sopra",dr:"Unisci cella a destra",ds:"Unisci cella sotto",dt:"Unisci cella a sinistra",du:"Dividi cella verticalmente",dv:"Dividi cella orizzontalmente",dw:"Unisci celle",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ja']=Object.assign(d['ja']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"ブロッククオート(引用)",i:"見出しを選択",j:"見出し",k:"Increase indent",l:"Decrease indent",m:"リンク",n:"番号付きリスト",o:"箇条書きリスト",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"ボールド",u:"イタリック",v:"コード",w:"取り消し線",x:"下付き文字",y:"上付き文字",z:"画像ウィジェット",aa:"画像の注釈を入力",ab:"フルサイズ画像",ac:"サイドイメージ",ad:"左寄せ画像",ae:"中央寄せ画像",af:"右寄せ画像",ag:"Widget toolbar",ah:"To-do List",ai:"フォーマットの削除",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"画像の代替テキストを変更",bd:"リッチテキストエディター",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"保存",ca:"キャンセル",cb:"代替テキスト",cc:"Editor toolbar",cd:"Show more items",ce:"元に戻す",cf:"やり直し",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"リンク解除",cm:"リンクを編集",cn:"新しいタブでリンクを開く",co:"リンクにURLが設定されていません",cp:"リンクURL",cq:"パラグラフ",cr:"見出し1",cs:"見出し2",ct:"見出し3 ",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"リッチテキストエディター, %0",cy:"Insert code block",cz:"左揃え",da:"右揃え",db:"中央揃え",dc:"両端揃え",dd:"文字揃え",de:"Text alignment toolbar",df:"表の挿入",dg:"見出し列",dh:"Insert column left",di:"Insert column right",dj:"列を削除",dk:"列",dl:"見出し行",dm:"下に行を挿入",dn:"上に行を挿入",do:"行を削除",dp:"行",dq:"上のセルと結合",dr:"右のセルと結合",ds:"下のセルと結合",dt:"左のセルと結合",du:"横にセルを分離",dv:"縦にセルを分離",dw:"セルを結合",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['km']=Object.assign(d['km']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"ប្លុក​ពាក្យ​សម្រង់",i:"ជ្រើសរើស​ក្បាលអត្ថបទ",j:"ក្បាលអត្ថបទ",k:"Increase indent",l:"Decrease indent",m:"តំណ",n:"បញ្ជី​ជា​លេខ",o:"បញ្ជី​ជា​ចំណុច",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"ដិត",u:"ទ្រេត",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"វិដជិត​រូបភាព",aa:"បញ្ចូល​ពាក្យ​ពណ៌នា​រូបភាព",ab:"រូបភាព​ពេញ​ទំហំ",ac:"រូបភាព​នៅ​ខាង",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"រក្សាទុ",ca:"បោះបង់",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"លែង​ធ្វើ​វិញ",cf:"ធ្វើ​វិញ",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"ផ្ដាច់​តំណ",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"URL តំណ",cq:"កថាខណ្ឌ",cr:"ក្បាលអត្ថបទ 1",cs:"ក្បាលអត្ថបទ 2",ct:"ក្បាលអត្ថបទ 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"កម្មវិធី​កែសម្រួល​អត្ថបទ​សម្បូរបែប, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['kn']=Object.assign(d['kn']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"‍‍‍‍ಗುರುತಿಸಲಾದ ‍‍ಉಲ್ಲೇಖ",i:"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",j:"ಶೀರ್ಷಿಕೆ",k:"Increase indent",l:"Decrease indent",m:"‍ಕೊಂಡಿ",n:"‍ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ‍",o:"‍‍ಬುಲೆಟ್ ಪಟ್ಟಿ",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"‍‍ದಪ್ಪ",u:"‍ಇಟಾಲಿಕ್",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"‍ಚಿತ್ರ ವಿಜೆಟ್",aa:"‍ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು",ab:"‍ಪೂರ್ಣ ‍‍ಅಳತೆಯ ಚಿತ್ರ",ac:"‍ಪಕ್ಕದ ಚಿತ್ರ",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"‍ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು",bd:"‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍‍",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"ಉಳಿಸು",ca:"ರದ್ದುಮಾಡು",cb:"‍ಪಠ್ಯದ ಬದಲಿ",cc:"Editor toolbar",cd:"Show more items",ce:"‍‍ರದ್ದು",cf:"‍ಮತ್ತೆ ಮಾಡು",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"‍ಕೊಂಡಿ ತೆಗೆ",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"‍ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು",cq:"ಪ್ಯಾರಾಗ್ರಾಫ್",cr:"ಶೀರ್ಷಿಕೆ 1",cs:"ಶೀರ್ಷಿಕೆ 2",ct:"ಶೀರ್ಷಿಕೆ 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"‍ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ‍, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ko']=Object.assign(d['ko']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"인용 단락",i:"제목 선택",j:"제목",k:"Increase indent",l:"Decrease indent",m:"링크",n:"번호매기기",o:"글머리기호",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"굵게",u:"기울임꼴",v:"소스",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"이미지 위젯",aa:"이미지 설명을 입력하세요",ab:"문서 너비",ac:"내부 우측 정렬",ad:"왼쪽 정렬",ae:"가운데 정렬",af:"오른쪽 정렬",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"대체 텍스트 변경",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"저장",ca:"취소",cb:"대체 텍스트",cc:"Editor toolbar",cd:"Show more items",ce:"실행 취소",cf:"다시 실행",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"링크 삭제",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"링크 주소",cq:"문단",cr:"제목1",cs:"제목2",ct:"제목3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ku']=Object.assign(d['ku']||{},{a:"نوسینی ناونیشان",b:"بنووسە یاخوود ناوەڕۆکی کۆپیکراو لیڕە بلکێنە",c:"تووڵامرازی وێنە",d:"تووڵامرازی مێدیا",e:"تووڵامرازی خشتە",f:"وشەکان: %0",g:"نووسەکان: %0",h:"وتەی وەرگیراو",i:"سەرنووسە هەڵبژێرە",j:"سەرنووسە",k:"زیادکردنی بۆشایی",l:"کەمکردنەوەی بۆشایی",m:"بەستەر",n:"لیستەی ژمارەیی",o:"لیستەی خاڵەیی",p:"ویدجێتتی مێدیا",q:"مێدیا دابنێ",r:"پێویستە بەستەر بەتاڵ نەبێت.",s:"ئەم بەستەری مێدیایە پاڵپشتی ناکرێت.",t:"قەڵەو",u:"لار",v:"کۆد",w:"هێڵ بەسەرداهاتوو",x:"ژێرنووس",y:"سەرنووس",z:"وێدجیتی وێنە",aa:"سەردێڕی وێنە دابنێ",ab:"پڕ بەقەبارەی وێنە",ac:"لای وێنە",ad:"ڕیزکردنی وێنە بۆ لای چەپ",ae:"ناوەڕاستکراوی وێنە",af:"ڕیزکردنی وێنە بۆ لای ڕاست",ag:"تووڵامرازی ویدجێت",ah:"لیستەی کردن",ai:"لابردنی شێواز",aj:"هێڵی ئاسۆیی",ak:"نیشانەکەری زەرد",al:"نیشانەکەری سەوز",am:"نیشانەکەری پەمەیی",an:"نیشانەکەری شین",ao:"پێنووسی سۆر",ap:"پێنووسی سەوز",aq:"لابردنی بەرچاوکەر",ar:"بەرچاوکردن",as:"تووڵامرازی نیشانکردنی تێکست",at:"فۆنتی خێزانی",au:"بنچینە",av:"قەبارەی فۆنت",aw:"گچکە",ax:"بچوک",ay:"گەورە",az:"زۆر گەورە",ba:"ڕەنگی فۆنت",bb:"ڕەنگی پاشبنەمای فۆنت",bc:"گۆڕینی جێگروەی تێکیسی وێنە",bd:"سەرنوسەری دەقی بەپیت",be:"تووڵامرازی لیستەیی",bf:"ڕەش",bg:"ڕەساسی تاریک",bh:"ڕەساسی",bi:"ڕەساسی ڕووناک",bj:"سپی",bk:"سور",bl:"پرتەقاڵی",bm:"زەرد",bn:"سەوزی ڕووناک",bo:"سەوز",bp:"شینی دەریایی",bq:"شینی ئاسمانی",br:"شینی ڕووناک",bs:"شین",bt:"مۆر",bu:"لابردنی ڕەنگ",bv:"ڕەنگەکانی دۆکومێنت",bw:"%0 لە %1",bx:"پێشتر",by:"دواتر",bz:"پاشکەوتکردن",ca:"هەڵوەشاندنەوە",cb:"جێگرەوەی تێکست",cc:"تووڵامرازی دەسکاریکەر",cd:"بڕگەی زیاتر نیشانبدە",ce:"وەک خۆی لێ بکەوە",cf:"هەلگەڕاندنەوە",cg:"بەستەری مێدیاکە لە خانەکە بلکێنە.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"بەستەری مێدیا",cj:"کردنەوەی لە پەنجەرەیەکی نوێ",ck:"Downloadable",cl:"لابردنی بەستەر",cm:"دەستکاری بەستەر",cn:"کردنەوەی بەستەرەکە لە پەڕەیەکی نوێ",co:"ئەم بەستەرە ناونیشانی نیە",cp:"ناونیشانی بەستەر",cq:"پەراگراف",cr:"سەرنووسەی 1",cs:"سەرنووسەی 2",ct:"سەرنووسەی 3",cu:"سەرنووسەی 4",cv:"سەرنووسەی 5",cw:"سەرنووسەی 6",cx:"سەرنوسەری دەقی بەپیت, %0",cy:"Insert code block",cz:"بەهێڵکردنی چەپ",da:"بەهێڵکردنی ڕاست",db:"بەهێڵکردنی ناورەڕاست",dc:"هاوستوونی",dd:"ڕیززکردنی تێکست",de:"تووڵامرازی ڕیززکردنی تێکست",df:"خشتە دابنێ",dg:"ستوونی دەسپێک",dh:"دانانی ستوون لە چەپ",di:"دانانی ستوون لە ڕاست",dj:"سڕینەوەی ستوون",dk:"ستوون",dl:"ڕیزی دەسپێک",dm:"دانانی ڕیز لە ژێرەوە",dn:"دانانی ڕیز لە سەرەوە",do:"سڕینەوەی ڕیز",dp:"ڕیز",dq:"تێکەڵکردنی خانەکان بەرەو سەر",dr:"تێکەڵکردنی خانەکان بەرەو ڕاست",ds:"تێکەڵکردنی خانەکان بەرەو ژێرەوە",dt:"تێکەڵکردنی خانەکان بەرەو چەپ",du:"بەشکردنی خانەکان بە ئەستوونی",dv:"بەشکردنی خانەکان بە ئاسۆیی",dw:"تێکەڵکردنی خانەکان",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['lt']=Object.assign(d['lt']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Žodžių: %0",g:"Simbolių: %0",h:"Citata",i:"Pasirinkite antraštę",j:"Antraštė",k:"Padidinti atitraukimą",l:"Sumažinti atitraukimą",m:"Pridėti nuorodą",n:"Numeruotas rąrašas",o:"Sąrašas",p:"media valdiklis",q:"Įterpkite media",r:"URL negali būti tuščias.",s:"Šis media URL yra nepalaikomas.",t:"Paryškintas",u:"Kursyvas",v:"Kodas",w:"Perbrauktas",x:"Žemiau",y:"Aukščiau",z:"vaizdų valdiklis",aa:"Įveskite vaizdo antraštę",ab:"Pilno dydžio vaizdas",ac:"Vaizdas šone",ad:"Vaizdas kairėje",ae:"Vaizdas centre",af:"Vaizdas dešinėje",ag:"Widget toolbar",ah:"To-do List",ai:"Naikinti formatavimą",aj:"Horizontal line",ak:"Geltonas žymeklis",al:"Žalias žymeklis",am:"Rožinis žymeklis",an:"Mėlynas žymeklis",ao:"Raudonas žymeklis",ap:"Žalias žymeklis",aq:"Panaikinti pažymėjimą",ar:"Pažymėti žymekliu",as:"Text highlight toolbar",at:"Šrifto šeima",au:"Numatyta",av:"Šrifto dydis",aw:"Mažytis",ax:"Mažas",ay:"Didelis",az:"Milžiniškas",ba:"Šrifto spalva",bb:"Šrifto fono spalva",bc:"Pakeisti vaizdo alternatyvųjį tekstą",bd:"Raiškiojo teksto redaktorius",be:"Dropdown toolbar",bf:"Juoda",bg:"Pilkšva",bh:"Pilka",bi:"Šviesiai pilka",bj:"Balta",bk:"Raudona",bl:"Oranžinė",bm:"Geltona",bn:"Šviesiai žalia",bo:"Žalia",bp:"Aquamarine",bq:"Turkio",br:"Šviesiai mėlyna",bs:"Mėlyna",bt:"Violetinė",bu:"Pašalinti spalvą",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Išsaugoti",ca:"Atšaukti",cb:"Alternatyvusis tekstas",cc:"Editor toolbar",cd:"Show more items",ce:"Atgal",cf:"Pirmyn",cg:"Įklijuokite media URL adresą į įvedimo lauką.",ch:"Patarimas: norėdami greičiau įterpti media tiesiog įklijuokite URL į turinį.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Pašalinti nuorodą",cm:"Keisti nuorodą",cn:"Atidaryti nuorodą naujame skirtuke",co:"Ši nuorda neturi URL",cp:"Nuorodos URL",cq:"Paragrafas",cr:"Antraštė 1",cs:"Antraštė 2",ct:"Antraštė 3",cu:"Antraštė 4",cv:"Antraštė 5",cw:"Antraštė 6",cx:"Raiškiojo teksto redaktorius, %0",cy:"Insert code block",cz:"Lygiuoti į kairę",da:"Lygiuoti į dešinę",db:"Centruoti",dc:"Lygiuoti per visą plotį",dd:"Teksto lygiavimas",de:"Text alignment toolbar",df:"Įterpti lentelę",dg:"Antraštės stulpelis",dh:"Įterpti stulpelį kairėje",di:"Įterpti stulpelį dešinėje",dj:"Ištrinti stulpelį",dk:"Stulpelis",dl:"Antraštės eilutė",dm:"Įterpti eilutę žemiau",dn:"Įterpti eilutę aukščiau",do:"Ištrinti eilutę",dp:"Eilutė",dq:"Prijungti langelį viršuje",dr:"Prijungti langelį dešinėje",ds:"Prijungti langelį apačioje",dt:"Prijungti langelį kairėje",du:"Padalinti langelį vertikaliai",dv:"Padalinti langelį horizontaliai",dw:"Sujungti langelius",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['lv']=Object.assign(d['lv']||{},{a:"Ievadiet virsrakstu",b:"Rakstiet vai ielīmējiet saturu šeit.",c:"Attēlu rīkjosla",d:"Mediju rīkjosla",e:"Tabulas rīkjosla",f:"Vārdi: %0",g:"Rakstzīmes: %0",h:"Citāts",i:"Izvēlēties virsrakstu",j:"Virsraksts",k:"Palielināt atkāpi",l:"Samazināt atkāpi",m:"Saite",n:"Numurēts Saraksts",o:"Nenumurēts Saraksts",p:"medija sīkrīks",q:"Ievietot mediju",r:"URL ir jābūt ievadītam.",s:"Šis medija URL netiek atbalstīts.",t:"Trekns",u:"Kursīvs",v:"Kods",w:"Nosvītrots",x:"Apakšraksts",y:"Augšraksts",z:"attēla sīkrīks",aa:"Ievadiet attēla parakstu",ab:"Pilna izmēra attēls",ac:"Sānā novietots attēls",ad:"Pa kreisi līdzināts attēls",ae:"Centrēts attēls",af:"Pa labi līdzināts attēls",ag:"Sīkrīku rīkjosla",ah:"To-do Saraksts",ai:"Noņemt formatējumu",aj:"Horizontāli atdalošā līnija",ak:"Dzeltens marķieris",al:"Zaļš marķieris",am:"Rozā marķieris",an:"Zils marķieris",ao:"Sarkana pildspalva",ap:"Zaļa pildspalva",aq:"Noņemt izcēlumu",ar:"Izcelt",as:"Teksta izcēluma rīkjosla",at:"Fonts",au:"Noklusējuma",av:"Fonta Lielums",aw:"Ļoti mazs",ax:"Mazs",ay:"Liels",az:"Milzīgs",ba:"Fonta krāsa",bb:"Fonta fona krāsa",bc:"Mainīt attēla alternatīvo tekstu",bd:"Bagātinātais Teksta Redaktors",be:"Papildus izvēlnes rīkjosla",bf:"Melns",bg:"Blāvi pelēks",bh:"Pelēks",bi:"Gaiši pelēks",bj:"Balts",bk:"Sarkans",bl:"Oranžs",bm:"Dzeltens",bn:"Gaiši zaļš",bo:"Zaļš",bp:"Akvamarīns",bq:"Tirkīza",br:"Gaiši zils",bs:"Zils",bt:"Violets",bu:"Noņemt krāsu",bv:"Krāsas dokumentā",bw:"%0 no %1",bx:"Iepriekšējā",by:"Nākamā",bz:"Saglabāt",ca:"Atcelt",cb:"Alternatīvais teksts",cc:"Redaktora rīkjosla",cd:"Parādīt vairāk vienumus",ce:"Atsaukt",cf:"Uz priekšu",cg:"Ielīmējiet medija URL teksta laukā.",ch:"Padoms: Ielīmējiet adresi saturā, lai iegultu",ci:"Medija URL",cj:"Atvērt jaunā cilnē",ck:"Lejupielādējams",cl:"Noņemt Saiti",cm:"Labot Saiti",cn:"Atvērt saiti jaunā cilnē",co:"Saitei nav norādīts URL",cp:"Saites URL",cq:"Pagrāfs",cr:"Virsraksts 1",cs:"Virsraksts 2",ct:"Virsraksts 3",cu:"Virsraksts 4",cv:"Virsraksts 5",cw:"Virsraksts 6",cx:"Bagātinātais Teksta Redaktors, %0",cy:"Insert code block",cz:"Pa kreisi",da:"Pa labi",db:"Centrēt",dc:"Izlīdzināt abas malas",dd:"Teksta izlīdzināšana",de:"Teksta līdzināšanas rīkjosla",df:"Ievietot tabulu",dg:"Šī kolonna ir galvene",dh:"Ievietot kolonnu pa kreisi",di:"Ievietot kolonnu pa labi",dj:"Dzēst kolonnu",dk:"Kolonna",dl:"Šī rinda ir galvene",dm:"Ievietot rindu zem",dn:"Ievietot rindu virs",do:"Dzēst rindu",dp:"Rinda",dq:"Apvienot šūnas uz augšu",dr:"Apvienot šūnas pa labi",ds:"Apvienot šūnas uz leju",dt:"Apvienot šūnas pa kreisi",du:"Atdalīt šūnu vertikāli",dv:"Atdalīt šūnu horizontāli",dw:"Apvienot šūnas",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['nb']=Object.assign(d['nb']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Blokksitat",i:"Velg overskrift",j:"Overskrift",k:"Increase indent",l:"Decrease indent",m:"Lenke",n:"Nummerert liste",o:"Punktmerket liste",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Fet",u:"Kursiv",v:"Kode",w:"Gjennomstreking",x:"Subscript",y:"Superscript",z:"Bilde-widget",aa:"Skriv inn bildetekst",ab:"Bilde i full størrelse",ac:"Sidebilde",ad:"Venstrejustert bilde",ae:"Midtstilt bilde",af:"Høyrejustert bilde",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Gul uthevingsfarge",al:"Grønn uthevingsfarge",am:"Rosa uthevingsfarge",an:"Blå uthevingsfarge",ao:"Rød penn",ap:"Grønn penn",aq:"Fjern uthevingsfarge",ar:"Utheving",as:"Text highlight toolbar",at:"Skrifttype",au:"Standard",av:"Skriftstørrelse",aw:"Veldig liten",ax:"Liten",ay:"Stor",az:"Veldig stor",ba:"Font Color",bb:"Font Background Color",bc:"Endre tekstalternativ for bilde",bd:"Rikteksteditor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Lagre",ca:"Avbryt",cb:"Tekstalternativ for bilde",cc:"Editor toolbar",cd:"Show more items",ce:"Angre",cf:"Gjør om",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Fjern lenke",cm:"Rediger lenke",cn:"Åpne lenke i ny fane",co:"Denne lenken har ingen URL",cp:"URL for lenke",cq:"Avsnitt",cr:"Overskrift 1",cs:"Overskrift 2",ct:"Overskrift 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rikteksteditor, %0",cy:"Insert code block",cz:"Venstrejuster",da:"Høyrejuster",db:"Midstill",dc:"Blokkjuster",dd:"Tekstjustering",de:"Text alignment toolbar",df:"Sett inn tabell",dg:"Overskriftkolonne",dh:"Insert column left",di:"Insert column right",dj:"Slett kolonne",dk:"Kolonne",dl:"Overskriftrad",dm:"Sett inn rad under",dn:"Sett inn rad over",do:"Slett rad",dp:"Rad",dq:"Slå sammen celle opp",dr:"Slå sammen celle til høyre",ds:"Slå sammen celle ned",dt:"Slå sammen celle til venstre",du:"Del celle vertikalt",dv:"Del celle horisontalt",dw:"Slå sammen celler",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ne']=Object.assign(d['ne']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"शब्दहरू: 0%",g:"क्यारेक्टरहरू: 0%",h:"ब्लक उद्धरण",i:"शीर्षक छनौट गर्नुहोस्",j:"शीर्षक",k:"इन्डेन्ट बढाउन",l:"इन्डेन्ट घटाउन",m:"लिङ्क",n:"सूचीबद्ध सूची",o:"गोली चिन्ह अङ्कित सूची",p:"मिडिया विजेट",q:"मिडिया सम्मिलित गर्नुहोस्।",r:"यूआरएल खाली हुनु हुँदैन।",s:"यो मिडिया यूआरएल समर्थित छैन।",t:"बोल्ड",u:"इटालिक",v:"कोड",w:"स्ट्राइकथ्रू",x:"सबस्क्रिप्ट",y:"सुपरस्क्रिप्ट",z:"तस्वीर विजेट",aa:"तस्वीर क्याप्शन प्रविष्ट गर्नुहोस्",ab:"पूर्ण आकार तस्वीर",ac:"साइड तस्वीर",ad:"बायाँ पङ्क्ति तस्वीर",ae:"केन्द्रित तस्वीर",af:"दायाँ पङ्क्तिबद्ध तस्वीर",ag:"Widget toolbar",ah:"To-do List",ai:"ढाँचा हटाउनुहोस्",aj:"Horizontal line",ak:"पहेंलो मार्कर",al:"हरियो मार्कर",am:"गुलाबी मार्कर",an:"नीलो मार्कर",ao:"रातो कलम",ap:"हरियो कलम",aq:"हाइलाइट हटाउनुहोस्",ar:"हाइलाइट",as:"Text highlight toolbar",at:"फन्ट परिवार",au:"पूर्वनिर्धारित",av:"फन्ट आकार",aw:"सानो",ax:"सानो",ay:"ठूलो",az:"विशाल",ba:"फन्ट रंग",bb:"पृष्ठभूमिको फन्ट रंग",bc:"तस्वीर पाठ विकल्प परिवर्तन गर्नुहोस्",bd:"धनी पाठ सम्पादक",be:"Dropdown toolbar",bf:"कालो",bg:"धमिलो खैरो",bh:"खैरो",bi:"हल्का खैरो",bj:"सेतो",bk:"रातो",bl:"सुन्तला रंग",bm:"पहेंलो",bn:"हल्का हरियो",bo:"हरियो",bp:"अव्कवामरिन",bq:"त्रकोइस",br:"हल्का निलो",bs:"निलो",bt:"बैंगनी रंग",bu:"रंग हटाउन",bv:"कागजात रंग",bw:"०% मध्ये १%",bx:"अघिल्लो",by:"अर्को",bz:"सुरक्षित गर्नुहोस्",ca:"रद्द गर्नुहोस्",cb:"पाठ विकल्प",cc:"Editor toolbar",cd:"Show more items",ce:"पूर्ववत",cf:"रिडु",cg:"इनपुटमा मिडिया यूआरएल पेस्ट गर्नुहोस्।",ch:"सुझाव:छिटो इम्बेड गर्न यूआरएल सामग्रीमा पेस्ट गर्नुहोस्।",ci:"मिडिया यूआरएल",cj:"नयाँ ट्याबमा खोल्न",ck:"डाउनलोड योग्य",cl:"अनलिङ्क गर्नुहोस्",cm:"लिङ्क सम्पादन गर्नुहोस्",cn:"नयाँ ट्याबमा लिङ्क खोल्नुहोस्",co:"यो लिङ्कसँग यूआरएल छैन",cp:"लिङ्क यूआरएल",cq:"अनुच्छेद",cr:"शीर्षक-एक",cs:"शीर्षक २",ct:"शीर्षक ३",cu:"शीर्षक ४",cv:"शीर्षक ५",cw:"शीर्षक ६",cx:"धनी पाठ सम्पादक, %0",cy:"Insert code block",cz:"बायाँ पङ्क्तिबद्ध गर्नुहोस्",da:"दायाँ पङ्क्तिबद्ध गर्नुहोस्",db:"केन्द्र पङ्क्तिबद्ध गर्नुहोस्",dc:"जस्टिफाइ गर्नुहोस्",dd:"पाठ संरेखण",de:"Text alignment toolbar",df:"तालिका सम्मिलित गर्नुहोस्",dg:"हेडर स्तम्भ",dh:"बायाँ स्तम्भ सम्मिलित गर्न",di:"दायाँ स्तम्भ सम्मिलित गर्न",dj:"स्तम्भ मेटाउनुहोस्",dk:"स्तम्भ",dl:"हेडर पङ्क्ति",dm:"तल पंक्ति सम्मिलित गर्नुहोस्",dn:"माथि पंक्ति सम्मिलित गर्नुहोस्",do:"पङ्क्ति मेटाउनुहोस्",dp:"पङ्क्ति",dq:"कक्ष माथि मर्ज गर्नुहोस्",dr:"दायाँ कक्ष मर्ज गर्नुहोस्",ds:"कक्ष तल मर्ज गर्नुहोस्",dt:"सेल बायाँ मर्ज गर्नुहोस्",du:"ठाडो कक्ष विभाजित गर्नुहोस्",dv:"क्षैतिज कक्ष विभाजित गर्नुहोस्",dw:"कक्ष मर्ज गर्नुहोस्",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['nl']=Object.assign(d['nl']||{},{a:"Voor uw titel in",b:"Voer or plak uw inhoud in",c:"Afbeeldingswerkbalk",d:"Media werkbalk",e:"Tabel werkbalk",f:"Woorden: 0%",g:"Tekens: 0%",h:"Blok citaat",i:"Kies kop",j:"Koppen",k:"Inspringen",l:"Minder inspringen",m:"Link",n:"Genummerde lijst",o:"Ongenummerde lijst",p:"media widget",q:"Voer media in",r:"De URL mag niet leeg zijn.",s:"Deze media URL wordt niet ondersteund.",t:"Vet",u:"Cursief",v:"Code",w:"Doorhalen",x:"Subscript",y:"Superscript",z:"afbeeldingswidget",aa:"Typ een afbeeldingsbijschrift",ab:"Afbeelding op volledige grootte",ac:"Afbeelding naast tekst",ad:"Links uitgelijnde afbeelding",ae:"Gecentreerde afbeelding",af:"Rechts uitgelijnde afbeelding",ag:"Widget werkbalk",ah:"To-do lijst",ai:"Verwijder format",aj:"Horizontale lijn",ak:"Gele marker",al:"Groene marker",am:"Roze marker",an:"Blauwe marker",ao:"Rode pen",ap:"Groene pen",aq:"Verwijder markering",ar:"Markeren",as:"Tekst markering werkbalk",at:"Lettertype",au:"Standaard",av:"Lettergrootte",aw:"Zeer klein",ax:"Klein",ay:"Groot",az:"Zeer groot",ba:"Tekstkleur",bb:"Tekst achtergrondkleur",bc:"Verander alt-tekst van de afbeelding",bd:"Tekstbewerker",be:"Drop-down werkbalk",bf:"Zwart",bg:"Gedimd grijs",bh:"Grijs",bi:"Lichtgrijs",bj:"Wit",bk:"Rood",bl:"Oranje",bm:"Geel",bn:"Lichtgroen",bo:"Groen",bp:"Aquamarijn",bq:"Turquoise",br:"Lichtblauw",bs:"Blauw",bt:"Paars",bu:"Verwijder kleur",bv:"Document kleur",bw:"0% van 1%",bx:"Vorige",by:"Volgende",bz:"Opslaan",ca:"Annuleren",cb:"Alt-tekst",cc:"Editor welkbalk",cd:"Meer items weergeven",ce:"Ongedaan maken",cf:"Opnieuw",cg:"Plak de media URL in het invoerveld.",ch:"Tip: plak de URL in de inhoud om deze sneller in te laten sluiten.",ci:"Media URL",cj:"Open een nieuw tabblad",ck:"Downloadbaar",cl:"Verwijder link",cm:"Bewerk link",cn:"Open link in nieuw tabblad",co:"Deze link heeft geen URL",cp:"Link URL",cq:"Paragraaf",cr:"Kop 1",cs:"Kop 2",ct:"Kop 3",cu:"Kop 4",cv:"Kop 5",cw:"Kop 6",cx:"Tekstbewerker, 0%",cy:"Insert code block",cz:"Links uitlijnen",da:"Rechts uitlijnen",db:"Midden uitlijnen",dc:"Volledig uitlijnen",dd:"Tekst uitlijning",de:"Tekst uitlijning werkbalk",df:"Tabel invoegen",dg:"Titel kolom",dh:"Kolom links invoegen",di:"Kolom rechts invoegen",dj:"Verwijder kolom",dk:"Kolom",dl:"Titel rij",dm:"Rij hieronder invoegen",dn:"Rij hierboven invoegen",do:"Verwijder rij",dp:"Rij",dq:"Cel hierboven samenvoegen",dr:"Cel hierna samenvoegen",ds:"Cel hieronder samenvoegen",dt:"Cel hiervoor samenvoegen",du:"Splits cel verticaal",dv:"Splits cel horizontaal",dw:"Cellen samenvoegen",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['no']=Object.assign(d['no']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Ord: %0",g:"Tegn: %0",h:"Blokksitat",i:"Velg overskrift",j:"Overskrift",k:"Øk innrykk",l:"Reduser innrykk",m:"Lenke",n:"Nummerert liste",o:"Punktliste",p:"media-widget",q:"Sett inn media",r:"URL-en kan ikke være tom.",s:"Denne media-URL-en er ikke støttet.",t:"Fet",u:"Kursiv",v:"Kode",w:"Gjennomstreket",x:"Senket skrift",y:"Hevet skrift",z:"Bilde-widget",aa:"Skriv inn bildetekst",ab:"Bilde i full størrelse",ac:"Sidestilt bilde",ad:"Venstrejustert bilde",ae:"Midtstilt bilde",af:"Høyrejustert bilde",ag:"Widget toolbar",ah:"To-do List",ai:"Fjern formatering",aj:"Horizontal line",ak:"Gul utheving",al:"Grønn utheving",am:"Rosa utheving",an:"Blå utheving",ao:"Rød penn",ap:"Grønn penn",aq:"Fjern utheving",ar:"Utheving",as:"Text highlight toolbar",at:"Skrifttypefamilie",au:"Standard",av:"Skriftstørrelse",aw:"Veldig liten",ax:"Liten",ay:"Stor",az:"Veldig stor",ba:"Skriftfarge",bb:"Uthevingsfarge for tekst",bc:"Endre tekstalternativ til bildet",bd:"Tekstredigeringsverktøy for rik tekst",be:"Dropdown toolbar",bf:"Svart",bg:"Svak grå",bh:"Grå",bi:"Lysegrå",bj:"Hvit",bk:"Rød",bl:"Oransje",bm:"Gul",bn:"Lysegrønn",bo:"Grønn",bp:"Akvamarin",bq:"Turkis",br:"Lyseblå",bs:"Blå",bt:"Lilla",bu:"Fjern farge",bv:"Dokumentfarger",bw:"%0 av %1",bx:"Forrige",by:"Neste",bz:"Lagre",ca:"Avbryt",cb:"Tekstalternativ",cc:"Editor toolbar",cd:"Show more items",ce:"Angre",cf:"Gjør om",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media-URL",cj:"Åpne i ny fane",ck:"Nedlastbar",cl:"Fjern lenke",cm:"Rediger lenke",cn:"Åpne lenke i ny fane",co:"Denne lenken mangler en URL",cp:"Lenke-URL",cq:"Avsnitt",cr:"Overskrift 1",cs:"Overskrift 2",ct:"Overskrift 3",cu:"Overskrift 4",cv:"Overskrift 5",cw:"Overskrift 6",cx:"Tekstredigeringsverktøy for rik tekst, %0",cy:"Insert code block",cz:"Venstrejuster",da:"Høyrejuster",db:"Midtstill",dc:"Blokkjuster",dd:"Tekstjustering",de:"Text alignment toolbar",df:"Sett inn tabell",dg:"Overskriftkolonne",dh:"Sett inn kolonne til venstre",di:"Sett inn kolonne til høyre",dj:"Slett kolonne",dk:"Kolonne",dl:"Overskriftrad",dm:"Sett inn rad under",dn:"Sett inn rad over",do:"Slett rad",dp:"Rad",dq:"Slå sammen celle over",dr:"Slå sammen celle til høyre",ds:"Slå sammen celle under",dt:"Slå sammen celle til venstre",du:"Del opp celle vertikalt",dv:"Del opp celle horisontalt",dw:"Slå sammen celler",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['oc']=Object.assign(d['oc']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Gras",u:"Italica",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Enregistrar",ca:"Anullar",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['pl']=Object.assign(d['pl']||{},{a:"Podaj tytuł",b:"Wpisz lub wklej tutaj treść dokumentu.",c:"Pasek narzędzi obrazka",d:"Pasek narzędzi mediów",e:"Pasek narzędzi tabel",f:"Słowa: %0",g:"Znaki: %0",h:"Cytat blokowy",i:"Wybierz nagłówek",j:"Nagłówek",k:"Zwiększ wcięcie",l:"Zmniejsz wcięcie",m:"Wstaw odnośnik",n:"Lista numerowana",o:"Lista wypunktowana",p:"widget osadzenia mediów",q:"Wstaw media",r:"Adres URL nie może być pusty.",s:"Ten rodzaj adresu URL nie jest obsługiwany.",t:"Pogrubienie",u:"Kursywa",v:"Kod",w:"Przekreślenie",x:"Indeks dolny",y:"Indeks górny",z:"Obraz",aa:"Wstaw tytuł obrazka",ab:"Obraz w pełnym rozmiarze",ac:"Obraz dosunięty do brzegu, oblewany tekstem",ad:"Obraz wyrównany do lewej",ae:"Obraz wyrównany do środka",af:"Obraz wyrównany do prawej",ag:"Pasek widgetów",ah:"Lista rzeczy do zrobienia",ai:"Usuń formatowanie",aj:"Linia pozioma",ak:"Żółty marker",al:"Zielony marker",am:"Różowy marker",an:"Niebieski marker",ao:"Czerwony długopis",ap:"Zielony długopis",aq:"Usuń podświetlenie",ar:"Podświetlenie",as:"Pasek narzędzi podświetleń",at:"Czcionka",au:"Domyślny",av:"Rozmiar czcionki",aw:"Bardzo mały",ax:"Mały",ay:"Duży",az:"Bardzo duży",ba:"Kolor czcionki",bb:"Kolor tła czcionki",bc:"Zmień tekst zastępczy obrazka",bd:"Edytor tekstu sformatowanego",be:"Rozwijany pasek narzędzi",bf:"Czarny",bg:"Ciemnoszary",bh:"Szary",bi:"Jasnoszary",bj:"Biały",bk:"Czerwony",bl:"Pomarańczowy",bm:"Żółty",bn:"Jasnozielony",bo:"Zielony",bp:"Akwamaryna",bq:"Turkusowy",br:"Jasnoniebieski",bs:"Niebieski",bt:"Purpurowy",bu:"Usuń kolor",bv:"Kolory dokumentu",bw:"%0 z %1",bx:"Poprzedni",by:"Następny",bz:"Zapisz",ca:"Anuluj",cb:"Tekst zastępczy obrazka",cc:"Pasek narzędzi edytora",cd:"Pokaż więcej",ce:"Cofnij",cf:"Ponów",cg:"Wklej adres URL mediów do pola.",ch:"Wskazówka: Wklej URL do treści edytora, by łatwiej osadzić media.",ci:"Adres URL",cj:"Otwórz w nowej zakładce",ck:"Do pobrania",cl:"Usuń odnośnik",cm:"Edytuj odnośnik",cn:"Otwórz odnośnik w nowym oknie",co:"Nie podano adresu URL odnośnika",cp:"Adres URL",cq:"Akapit",cr:"Nagłówek 1",cs:"Nagłówek 2",ct:"Nagłówek 3",cu:"Nagłówek 4",cv:"Nagłówek 5",cw:"Nagłówek 6",cx:"Edytor tekstu sformatowanego, %0",cy:"Insert code block",cz:"Wyrównaj do lewej",da:"Wyrównaj do prawej",db:"Wyrównaj do środka",dc:"Wyrównaj obustronnie",dd:"Wyrównanie tekstu",de:"Pasek narzędzi wyrównania tekstu",df:"Wstaw tabelę",dg:"Kolumna nagłówka",dh:"Wstaw kolumnę z lewej",di:"Wstaw kolumnę z prawej",dj:"Usuń kolumnę",dk:"Kolumna",dl:"Wiersz nagłówka",dm:"Wstaw wiersz poniżej",dn:"Wstaw wiersz ponad",do:"Usuń wiersz",dp:"Wiersz",dq:"Scal komórkę w górę",dr:"Scal komórkę w prawo",ds:"Scal komórkę w dół",dt:"Scal komórkę w lewo",du:"Podziel komórkę pionowo",dv:"Podziel komórkę poziomo",dw:"Scal komórki",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['pt-br']=Object.assign(d['pt-br']||{},{a:"Digite o título",b:"Digite ou cole o conteúdo aqui.",c:"Ferramentas de Imagem",d:"Ferramentas de Mídia",e:"Ferramentas de Tabela",f:"Palavras: %0",g:"Caracteres: %0",h:"Bloco de citação",i:"Escolha o título",j:"Titulo",k:"Aumentar indentação",l:"Diminuir indentação",m:"Link",n:"Lista numerada",o:"Lista com marcadores",p:"Ferramenta de mídia",q:"Inserir mídia",r:"A URL não pode ficar em branco.",s:"A URL desta mídia não é suportada.",t:"Negrito",u:"Itálico",v:"Código",w:"Tachado",x:"Subscrito",y:"Sobrescrito",z:"Ferramenta de imagem",aa:"Inserir legenda da imagem",ab:"Imagem completa",ac:"Imagem lateral",ad:"Imagem alinhada à esquerda",ae:"Imagem centralizada",af:"Imagem alinhada à direita",ag:"Ferramentas de Widgets",ah:"Lista de Tarefas",ai:"Remover Formatação",aj:"Linha horizontal",ak:"Marcador amarelo",al:"Marcador verde",am:"Marcador rosa",an:"Marcador azul",ao:"Caneta vermelha",ap:"Caneta verde",aq:"Remover realce",ar:"Realce",as:"Ferramentas de realce",at:"Fonte",au:"Padrão",av:"Tamanho da fonte",aw:"Minúsculo",ax:"Pequeno",ay:"Grande",az:"Gigante",ba:"Cor da Fonte",bb:"Cor de Fundo",bc:"Alterar texto alternativo da imagem",bd:"Editor de Formatação",be:"Barra de Ferramentas da Lista Suspensa",bf:"Preto",bg:"Cinza escuro",bh:"Cinza",bi:"Cinza claro",bj:"Branco",bk:"Vermelho",bl:"Laranja",bm:"Amarelo",bn:"Verde claro",bo:"Verde",bp:"Água-marinha",bq:"Turquesa",br:"Azul claro",bs:"Azul",bt:"Púrpura",bu:"Remover cor",bv:"Cores do documento",bw:"%0 de %1",bx:"Anterior",by:"Próximo",bz:"Salvar",ca:"Cancelar",cb:"Texto alternativo",cc:"Ferramentas do Editor",cd:"Exibir mais itens",ce:"Desfazer",cf:"Refazer",cg:"Cole o endereço da mídia no campo.",ch:"Cole o endereço dentro do conteúdo para embutir mais rapidamente.",ci:"URL da mídia",cj:"Abrir em nova aba",ck:"Pode ser baixado",cl:"Remover link",cm:"Editar link",cn:"Abrir link em nova aba",co:"Este link não possui uma URL",cp:"URL",cq:"Parágrafo",cr:"Título 1",cs:"Título 2",ct:"Título 3",cu:"Título 4",cv:"Título 5",cw:"Título 6",cx:"Editor de Formatação, %0",cy:"Insert code block",cz:"Alinhar à esquerda",da:"Alinhar à direita",db:"Centralizar",dc:"Justificar",dd:"Alinhamento do texto",de:"Ferramentas de alinhamento de texto",df:"Inserir tabela",dg:"Coluna de cabeçalho",dh:"Inserir coluna à esquerda",di:"Inserir coluna à direita",dj:"Excluir coluna",dk:"Coluna",dl:"Linha de cabeçalho",dm:"Inserir linha abaixo",dn:"Inserir linha acima",do:"Excluir linha",dp:"Linha",dq:"Mesclar acima",dr:"Mesclar à direita",ds:"Mesclar abaixo",dt:"Mesclar à esquerda",du:"Dividir verticalmente",dv:"Dividir horizontalmente",dw:"Mesclar células",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['pt']=Object.assign(d['pt']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Cabeçalho",k:"Increase indent",l:"Decrease indent",m:"Hiperligação",n:"Lista ordenada",o:"Lista não ordenada",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Negrito",u:"Itálico",v:"Código",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"módulo de imagem",aa:"Indicar legenda da imagem",ab:"Imagem em tamanho completo",ac:"Imagem lateral",ad:"Left aligned image",ae:"Imagem centrada",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Padrão",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Editor de texto avançado",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Guardar",ca:"Cancelar",cb:"Texto alternativo",cc:"Editor toolbar",cd:"Show more items",ce:"Desfazer",cf:"Refazer",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Desligar",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"URL da ligação",cq:"Parágrafo",cr:"Cabeçalho 1",cs:"Cabeçalho 2",ct:"Cabeçalho 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Editor de texto avançado, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ro']=Object.assign(d['ro']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Bară imagine",d:"Bară media",e:"Bară tabel",f:"Cuvinte: %0",g:"Caractere: %0",h:"Bloc citat",i:"Alege titlu",j:"Titlu",k:"Mărește indent",l:"Micșorează indent",m:"Link",n:"Listă numerotată",o:"Listă cu puncte",p:"widget media",q:"Inserează media",r:"URL-ul nu trebuie să fie gol.",s:"Acest URL media nu este suportat.",t:"Îngroșat",u:"Cursiv",v:"Cod",w:"Tăiere text cu o linie",x:"Indice",y:"Exponent",z:"widget imagine",aa:"Introdu titlul descriptiv al imaginii",ab:"Imagine mărime completă",ac:"Imagine laterală",ad:"Imagine aliniată la stânga",ae:"Imagine aliniată pe centru",af:"Imagine aliniată la dreapta",ag:"Bară widget",ah:"Listă cu activități",ai:"Șterge formatare",aj:"Horizontal line",ak:"Evidențiator galben",al:"Evidențiator verde",am:"Evidențiator roz",an:"Evidențiator albastru",ao:"Pix roșu",ap:"Pix verde",aq:"Șterge evidențiere text",ar:"Evidențiere text",as:"Bară evidențiere text",at:"Familie font",au:"Implicită",av:"Dimensiune font",aw:"Foarte mică",ax:"Mică",ay:"Mare",az:"Foarte mare",ba:"Culoare font",bb:"Culoarea de fundal a fontului",bc:"Schimbă textul alternativ al imaginii",bd:"Editor de text",be:"Bară listă opțiuni",bf:"Negru",bg:"Gri slab",bh:"Gri",bi:"Gri deschis",bj:"Alb",bk:"Roșu",bl:"Portocaliu",bm:"Galben",bn:"Verde deschis",bo:"Verde",bp:"Acvamarin",bq:"Turcoaz",br:"Albastru deschis",bs:"Albastru",bt:"Violet",bu:"Șterge culoare",bv:"Culorile din document",bw:"%0 din %1",bx:"Înapoi",by:"Înainte",bz:"Salvare",ca:"Anulare",cb:"Text alternativ",cc:"Bară editor",cd:"Show more items",ce:"Anulare",cf:"Revenire",cg:"Adaugă URL-ul media in input.",ch:"Sugestie: adaugă URL-ul în conținut pentru a fi adăugat mai rapid.",ci:"Media URL",cj:"Deschide în tab nou",ck:"Descărcabil",cl:"Șterge link",cm:"Modifică link",cn:"Deschide link în tab nou",co:"Acest link nu are niciun URL",cp:"Link URL",cq:"Paragraf",cr:"Titlu 1",cs:"Titlu 2",ct:"Titlu 3",cu:"Titlu 4",cv:"Titlu 5",cw:"Titlu 6",cx:"Editor de text, %0",cy:"Insert code block",cz:"Aliniază la stânga",da:"Aliniază la dreapta",db:"Aliniază la centru",dc:"Aliniază stânga-dreapta",dd:"Aliniere text",de:"Bara aliniere text",df:"Inserează tabel",dg:"Antet coloană",dh:"Inserează coloană la stânga",di:"Inserează coloană la dreapta",dj:"Șterge coloană",dk:"Coloană",dl:"Rând antet",dm:"Inserează rând dedesubt",dn:"Inserează rând deasupra",do:"Șterge rând",dp:"Rând",dq:"Îmbină celula în sus",dr:"Îmbină celula la dreapta",ds:"Îmbină celula în jos",dt:"Îmbină celula la stânga",du:"Scindează celula pe verticală",dv:"Scindează celula pe orizontală",dw:"Îmbină celulele",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ru']=Object.assign(d['ru']||{},{a:"Введите заголовок",b:"Введите или вставьте сюда ваш текст",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Цитата",i:"Выбрать заголовок",j:"Заголовок",k:"Увеличить отступ",l:"Уменьшить отступ",m:"Ссылка",n:"Нумерованный список",o:"Маркированный список",p:"медиа-виджет",q:"Вставить медиа",r:"URL не должен быть пустым.",s:"Этот URL медиа не поддерживается.",t:"Жирный",u:"Курсив",v:"Исходный код",w:"Зачеркнутый",x:"Подстрочный",y:"Надстрочный",z:"Виджет изображений",aa:"Подпись к изображению",ab:"Оригинальный размер изображения",ac:"Боковое изображение",ad:"Выравнивание по левому краю",ae:"Выравнивание по центру",af:"Выравнивание по правому краю",ag:"Widget toolbar",ah:"Список задач",ai:"Убрать форматирование",aj:"Горизонтальная линия",ak:"Выделение жёлтым маркером",al:"Выделение зелёным маркером",am:"Выделение розовым маркером",an:"Выделение синим маркером",ao:"Красный цвет текста",ap:"Зеленый цвет текста",aq:"Убрать выделение",ar:"Выделить",as:"Text highlight toolbar",at:"Семейство шрифтов",au:"По умолчанию",av:"Размер шрифта",aw:"Очень мелкий",ax:"Мелкий",ay:"Крупный",az:"Очень крупный",ba:"Цвет шрифта",bb:"Цвет фона",bc:"Редактировать альтернативный текст",bd:"Редактор",be:"Dropdown toolbar",bf:"Чёрный",bg:"Тёмно-серый",bh:"Серый",bi:"Светло-серый",bj:"Белый",bk:"Красный",bl:"Оранжевый",bm:"Жёлтый",bn:"Салатовый",bo:"Зелёный",bp:"Аквамариновый",bq:"Бирюзовый",br:"Голубой",bs:"Синий",bt:"Фиолетовый",bu:"Убрать цвет",bv:"Цвет страницы",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Сохранить",ca:"Отмена",cb:"Альтернативный текст",cc:"Editor toolbar",cd:"Show more items",ce:"Отменить",cf:"Повторить",cg:"Вставьте URL медиа в поле ввода.",ch:"Подсказка: Вставьте URL в контент для быстрого включения.",ci:"URL медиа",cj:"Open in a new tab",ck:"Downloadable",cl:"Убрать ссылку",cm:"Редактировать ссылку",cn:"Открыть ссылку в новой вкладке",co:"Для этой ссылки не установлен адрес URL",cp:"Ссылка URL",cq:"Параграф",cr:"Заголовок 1",cs:"Заголовок 2",ct:"Заголовок 3",cu:"Заголовок 4",cv:"Заголовок 5",cw:"Заголовок 6",cx:"Редактор, %0",cy:"Insert code block",cz:"Выравнивание по левому краю",da:"Выравнивание по правому краю",db:"Выравнивание по центру",dc:"Выравнивание по ширине",dd:"Выравнивание текста",de:"Выравнивание",df:"Вставить таблицу",dg:"Столбец заголовков",dh:"Вставить столбец слева",di:"Вставить столбец справа",dj:"Удалить столбец",dk:"Столбец",dl:"Строка заголовков",dm:"Вставить строку ниже",dn:"Вставить строку выше",do:"Удалить строку",dp:"Строка",dq:"Объединить с ячейкой сверху",dr:"Объединить с ячейкой справа",ds:"Объединить с ячейкой снизу",dt:"Объединить с ячейкой слева",du:"Разделить ячейку вертикально",dv:"Разделить ячейку горизонтально",dw:"Объединить ячейки",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['si']=Object.assign(d['si']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"අංකිත ලැයිස්තුව",o:"බුලටිත ලැයිස්තුව",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"තදකුරු",u:"ඇලකුරු",v:"Code",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Save",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"අහෝසි කරන්න",cf:"නැවත කරන්න",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sk']=Object.assign(d['sk']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Panel nástrojov obrázka",d:"Media toolbar",e:"Panel nástrojov tabuľky",f:"Slov: %0",g:"Znakov: %0",h:"Citát",i:"Vyberte nadpis",j:"Nadpis",k:"Zväčšiť odsadenie",l:"Zmenšiť odsadenie",m:"Odkaz",n:"Číslovaný zoznam",o:"Zoznam s odrážkami",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Tučné",u:"Kurzíva",v:"Kód",w:"Preškrtnuté",x:"Dolný index",y:"Horný index",z:"widget obrázka",aa:"Vložte popis obrázka",ab:"Obrázok v plnej veľkosti",ac:"Bočný obrázok",ad:"Zarovnať vľavo",ae:"Zarovnať na stred",af:"Zarovnať vpravo",ag:"Panel nástrojov ovládacieho prvku",ah:"To-do zoznam",ai:"Vyčistiť formátovanie",aj:"Vodorovná čiara",ak:"Žltý zvýrazňovač",al:"Zelený zvýrazňovač",am:"Ružový zvýrazňovač",an:"Modrý zvýrazňovač",ao:"Červené pero",ap:"Zelené pero",aq:"Odstrániť zvýraznenie",ar:"Zvýraznenie",as:"Panel nástrojov zvýraznenia textu",at:"Názov písma",au:"Predvolené",av:"Veľkosť písma",aw:"Veľmi malé",ax:"Malé",ay:"Veľké",az:"Veľmi veľké",ba:"Farba písma",bb:"Farba zvýraznenia textu",bc:"Zmeňte alternatívny text obrázka",bd:"Editor s formátovaním",be:"Panel nástrojov roletového menu",bf:"Čierna",bg:"Tmavosivá",bh:"Sivá",bi:"Bledosivá",bj:"Biela",bk:"Červená",bl:"Oranžová",bm:"Žltá",bn:"Bledozelená",bo:"Zelená",bp:"Akvamarínová",bq:"Tyrkysová",br:"Bledomodrá",bs:"Modrá",bt:"Fialová",bu:"Zrušiť farbu",bv:"Farby dokumentu",bw:"%0 z %1",bx:"Predchádzajúce",by:"Ďalšie",bz:"Uložiť",ca:"Zrušiť",cb:"Alternatívny text",cc:"Panel nástrojov editora",cd:"Show more items",ce:"Späť",cf:"Znova",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Otvoriť v novej záložke",ck:"Na stiahnutie",cl:"Zrušiť odkaz",cm:"Upraviť odkaz",cn:"Otvoriť odkaz v novom okne",co:"Tento odkaz nemá nastavenú URL adresu",cp:"URL adresa",cq:"Paragraf",cr:"Nadpis 1",cs:"Nadpis 2",ct:"Nadpis 3",cu:"Nadpis 4",cv:"Nadpis 5",cw:"Nadpis 6",cx:"Editor s formátovaním, %0",cy:"Insert code block",cz:"Zarovnať vľavo",da:"Zarovnať vpravo",db:"Zarovnať na stred",dc:"Do bloku",dd:"Zarovnanie textu",de:"Panel nástrojov zarovnania textu",df:"Vložiť tabuľku",dg:"Stĺpec hlavičky",dh:"Vložiť stĺpec vľavo",di:"Vložiť stĺpec vpravo",dj:"Odstrániť stĺpec",dk:"Stĺpec",dl:"Riadok hlavičky",dm:"Vložiť riadok pod",dn:"Vložiť riadok nad",do:"Odstrániť riadok",dp:"Riadok",dq:"Zlúčiť bunku hore",dr:"Zlúčiť bunku vpravo",ds:"Zlúčiť bunku dole",dt:"Zlúčiť bunku vľavo",du:"Rozdeliť bunku zvislo",dv:"Rozdeliť bunku vodorovne",dw:"Zlúčiť bunky",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sl']=Object.assign(d['sl']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Blokiraj citat",i:"Izberi naslov",j:"Naslov",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Krepko",u:"Poševno",v:"Koda",w:"Prečrtano",x:"Naročnik",y:"Nadpis",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Vrsta oz. tip pisave",au:"Privzeto",av:"Velikost pisave",aw:"Drobna",ax:"Majhna",ay:"Veliko",az:"Ogromno",ba:"Barva pisave",bb:"Barva ozadja pisave",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Črna",bg:"Temno siva",bh:"Siva",bi:"Svetlo siva",bj:"Bela",bk:"Rdeča",bl:"Oranžna",bm:"Rumena",bn:"Svetlo zelena",bo:"Zelena",bp:"Akvamarin",bq:"Turkizna",br:"Svetlo modra",bs:"Modra",bt:"Vijolična",bu:"Odstrani barvo",bv:"Barve dokumenta",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Shrani",ca:"Prekliči",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Redo",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Odstavek",cr:"Naslov 1",cs:"Naslov 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Poravnava levo",da:"Poravnava desno",db:"Sredinska poravnava",dc:"Postavi na sredino",dd:"Poravnava besedila",de:"Orodna vrstica besedila",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sq']=Object.assign(d['sq']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Thonjëzat",i:"Përzgjidh nëntitullin",j:"Nëntitulli",k:"Increase indent",l:"Decrease indent",m:"Shto nyjën",n:"Listë me Numra",o:"Listë me Pika",p:"Vegla e medies",q:"Shto Medie",r:"URL nuk duhet të jetë e zbrazët.",s:"URL e medies nuk mbështetet.",t:"Trash",u:"Pjerrtë",v:"Kod",w:"Vi në mes",x:"Subscript",y:"Superscript",z:"Vegla e fotos",aa:"Shto përshkrimin e fotos",ab:"Foto me madhësi të plotë",ac:"Foto anësore",ad:"Foto e vendosur majtas",ae:"Foto e vendosur në mes",af:"Foto e vendosur djathtas",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Shënuesi verdh",al:"Shënuesi gjelbër",am:"Shënuesi rozë",an:"Shënuesi kaltër",ao:"Lapsi kuq",ap:"Lapsi gjelbër",aq:"Largo ngjyrimet",ar:"Ngjyrimi",as:"Text highlight toolbar",at:"Familja e fontit",au:"Parazgjedhur",av:"Madhësia tekstit",aw:"I vocërr",ax:"I vogël",ay:"I madh",az:"I stërmadh",ba:"Font Color",bb:"Font Background Color",bc:"Ndrysho tekstin zgjedhor të fotos",bd:"Redaktues i Tekstit të Pasur",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Ruaj",ca:"Anulo",cb:"Teksti zgjedhor",cc:"Editor toolbar",cd:"Show more items",ce:"Rikthe",cf:"Ribëj",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"URL e Medies",cj:"Open in a new tab",ck:"Downloadable",cl:"Largo nyjën",cm:"Redakto nyjën",cn:"Hap nyjën në faqe të re",co:"Kjo nyje nuk ka URL",cp:"Nyja e URL-së",cq:"Paragrafi",cr:"Nëntitulli 1",cs:"Nëntitulli 2",ct:"Nëntitulli 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Redaktues i Tekstit të Pasur, %0",cy:"Insert code block",cz:"Radhit majtas",da:"Radhit djathtas",db:"Radhit në mes",dc:"Plotësim",dd:"Radhitja e tekstit",de:"Text alignment toolbar",df:"Shto tabelë",dg:"Kolona e kokës",dh:"Insert column left",di:"Insert column right",dj:"Gris kolonën",dk:"Kolona",dl:"Rreshti i kokës",dm:"Shto rresht poshtë",dn:"Shto rresht sipër",do:"Grish rreshtin",dp:"Rreshti",dq:"Bashko kutizat sipër",dr:"Bashko kutizat djathtas",ds:"Bashko kutizat poshtë",dt:"Bashko kutizat majtas",du:"Ndajë kutizat vertikalisht",dv:"Ndaj kutizat horizontalisht",dw:"Bashko kutizat",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sr-latn']=Object.assign(d['sr-latn']||{},{a:"Odredite naslov",b:"Upišite ili nalepite naslov",c:"Slika traka sa alatkama",d:"Mediji traka sa alatkama",e:"Tabela traka sa alatkama",f:"Reči: %0",g:"Karakteri: %0",h:"Citat",i:"Odredi stil",j:"Stilovi",k:"Povećaj uclačenje",l:"Smanji uvlačenje",m:"Link",n:"Lista sa brojevima",o:"Lista sa tačkama",p:"Media widget",q:"Dodaj media",r:"URL ne sme biti prazan.",s:"Ovaj media URL tip nije podržan.",t:"Podebljano",u:"Kurziv",v:"Kod",w:"Precrtan",x:"Index dole",y:"Index gore",z:"modul sa slikom",aa:"Odredi tekst ispod slike",ab:"Slika u punoj veličini",ac:"Bočna slika",ad:"Leva slika",ae:"Slika u sredini",af:"Desna slika",ag:"Видгет трака са алаткама",ah:"Lista obaveza",ai:"Ukloni formatiranje",aj:"Horizontalna razdelna linija",ak:"Žuti marker",al:"Zeleni marker",am:"Roza marker",an:"Plavi marker",ao:"Crvena olovka",ap:"Zelena olovka",aq:"Ukloni isticanje",ar:"Isticanje",as:"Alatke za markiranje teksta",at:"Font",au:"Оsnovni",av:"Veličina fonta",aw:"Sitno",ax:"Malo",ay:"Veliko",az:"Ogromno",ba:"Boja slova",bb:"Boja pozadine slova",bc:"Izmena alternativnog teksta",bd:"Prošireni uređivač teksta",be:"Padajuća traka sa alatkama",bf:"Crna",bg:"Bledo siva",bh:"Siva",bi:"Svetlo siva",bj:"Bela",bk:"Crvena",bl:"Narandžasta",bm:"Žuta",bn:"Svetlo zelena",bo:"Zelena",bp:"Zelenkastoplava",bq:"Tirkizna",br:"Svetloplava",bs:"Plava",bt:"Ljubičasta",bu:"Otkloni boju",bv:"Boje dokumenta",bw:"%0 of %1",bx:"Prethodni",by:"Sledeći",bz:"Sačuvaj",ca:"Odustani",cb:"Alternativni tekst",cc:"Uređivač traka sa alatkama",cd:"Prikaži još stavki",ce:"Povlačenje",cf:"Ponovo",cg:" Nalepi medijski URL u polje za unos.",ch:"Savet: Zalepite URL u sadržaj da bi ste ga brže ugradili.",ci:"Media URL",cj:"Otvori u novoj kartici",ck:"Moguće preuzimanje",cl:"Оtkloni link",cm:"Ispravi link",cn:"Otvori link u novom prozoru",co:"Link ne sadrži URL",cp:"URL link",cq:"Pasus",cr:"Naslov 1",cs:"Naslov 2",ct:"Naslov 3",cu:"Naslov 4",cv:"Naslov 5",cw:"Naslov 6",cx:"Prošireni uređivač teksta, %0",cy:"Insert code block",cz:"Levo ravnanje",da:"Desno ravnanje",db:"Centralno ravnanje",dc:"Obostrano ravnanje",dd:"Ravnanje teksta",de:"Alatke za ravnanje teksta",df:"Dodaj tabelu",dg:"Kolona za zaglavlje",dh:"Dodaj kolonu levo",di:"Dodaj kolonu desno",dj:"Briši kolonu",dk:"Kolona",dl:"Red za zaglavlje",dm:"Dodaj red ispod",dn:"Dodaj red iznad",do:"Briši red",dp:"Red",dq:"Spoj ćelije na gore",dr:"Spoj ćelije na desno",ds:"Spoj ćelije na dole",dt:"Spoj ćelije na levo",du:"Deli ćelije uspravno",dv:"Deli ćelije vodoravno",dw:"Spoj ćelije",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sr']=Object.assign(d['sr']||{},{a:"Одредите наслов",b:"Упишите или налепите наслов",c:"Слика трака са алтакама",d:"Медији трака са алаткама",e:"Табела трака са алаткама",f:"Речи: %0",g:"Карактери: %0",h:"Цитат",i:"Одреди стил",j:"Стилови",k:"Повећај увлачење",l:"Смањи увлачење",m:"Линк",n:"Листа са бројевима",o:"Листа са тачкама",p:"Медиа wидгет",q:"Додај медиа",r:"УРЛ не сме бити празан.",s:"Овај медиа УРЛ тип није подржан.",t:"Подебљано",u:"Курзив",v:"Код",w:"Прецртан",x:"Индекс доле",y:"Индекс горе",z:"модул са сликом",aa:"Одреди текст испод слике",ab:"Слика у пуној величини",ac:"Бочна слика",ad:"Лева слика",ae:"Слика у средини",af:"Десна слика",ag:"Widget traka sa alatkama",ah:"Листа обавеза",ai:"Уклони форматирање",aj:"Хоризонтална разделна линија",ak:"Жути маркер",al:"Зелени маркер",am:"Роза маркер",an:"Плави маркер",ao:"Црвена оловка",ap:"Зелена оловка",aq:"Уклони истицање",ar:"Истицање",as:"Алатке за маркирање текста",at:"Фонт",au:"Основни",av:"Величина фонта",aw:"Ситно",ax:"Мало",ay:"Велико",az:"Огромно",ba:"Боја слова",bb:"Боја позадине слова",bc:"Измена алтернативног текста",bd:"Проширен уређивач текста",be:"Падајућа трака са алаткама",bf:"Црна",bg:"Бледо сива",bh:"Сива",bi:"Светло сива",bj:"Бела",bk:"Црвена",bl:"Нараџаста",bm:"Жута",bn:"Светлозелена",bo:"Зелена",bp:"Зеленкастоплава",bq:"Тиркизна",br:"Светлоплава",bs:"Плава",bt:"Љубичаста",bu:"Отклони боју",bv:"Боје документа",bw:"%0 of %1",bx:"Претходни",by:"Следећи",bz:"Сачувај",ca:"Одустани",cb:"Алтернативни текст",cc:"Уређивач трака са алаткама",cd:"Прикажи још ставки",ce:"Повлачење",cf:"Поново",cg:"Налепи медијски УРЛ у поље за унос",ch:"Савет: Залепите УРЛ у садржај да би сте га брже уградили.",ci:"Mедиа УРЛ",cj:"Отвори у новој картици",ck:"Могуће преузимање",cl:"Отклони линк",cm:"Исправи линк",cn:"Отвори линк у новом прозору",co:"Линк не садржи УРЛ",cp:"УРЛ линк",cq:"Пасус",cr:"Наслов 1",cs:"Наслов 2",ct:"Наслов 3",cu:"Наслов 4",cv:"Наслов 5",cw:"Наслов 6",cx:"Проширени уређивач текста, %0",cy:"Insert code block",cz:"Лево равнање",da:"Десно равнање",db:"Централно равнанје",dc:"Обострано равнање",dd:"Равнање текста",de:"Алатке за равнање текста",df:"Додај табелу",dg:"Колона за заглавље",dh:"Додај колону лево",di:"Додај колону десно",dj:"Бриши колону",dk:"Колона",dl:"Ред за заглавлје",dm:"Додај ред испод",dn:"Додај ред изнад",do:"Бриши ред",dp:"Ред",dq:"Спој ћелије на горе",dr:"Спој ћелије на десно",ds:"Спој ћелије на доле",dt:"Cпој ћелије на лево",du:"Дели ћелије усправно",dv:"Дели ћелије водоравно",dw:"Спој ћелије",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['sv']=Object.assign(d['sv']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Blockcitat",i:"Välj rubrik",j:"Rubrik",k:"Increase indent",l:"Decrease indent",m:"Länk",n:"Numrerad lista",o:"Punktlista",p:"media widget",q:"Lägg in media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Fet",u:"Kursiv",v:"Kod",w:"Genomstruken",x:"Nedsänkta tecken",y:"Upphöjda tecken",z:"image widget",aa:"Fyll i bildtext",ab:"Bild i full storlek",ac:"Kantbild",ad:"Vänsterjusterad bild",ae:"Centrerad bild",af:"Högerjusterad bild",ag:"Widget toolbar",ah:"To-do List",ai:"Radera formatering",aj:"Horizontal line",ak:"Gul markering",al:"Grön markering",am:"Rosa markering",an:"Blå markering",ao:"Röd penna",ap:"Grön penna",aq:"Ta bort markering",ar:"Markera",as:"Text highlight toolbar",at:"Typsnitt",au:"Standard",av:"Teckenstorlek",aw:"Mycket liten",ax:"Liten",ay:"Stor",az:"Enorm",ba:"Font Color",bb:"Font Background Color",bc:"Ändra bildens alternativa text",bd:"Rich Text-editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Spara",ca:"Avbryt",cb:"Alternativ text",cc:"Editor toolbar",cd:"Show more items",ce:"Ångra",cf:"Gör om",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Ta bort länk",cm:"Redigera länk",cn:"Öppna länk i ny flik",co:"Denna länk saknar URL",cp:"Länkens URL",cq:"Paragraf",cr:"Rubrik 1",cs:"Rubrik 2",ct:"Rubrik 3",cu:"Rubrik 4",cv:"Rubrik 5",cw:"Rubrik 6",cx:"Rich Text-editor, %0",cy:"Insert code block",cz:"Vänsterjustera",da:"Högerjustera",db:"Centrera",dc:"Justera till marginaler",dd:"Textjustering",de:"Text alignment toolbar",df:"Lägg in tabell",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Ta bort kolumn",dk:"Kolumn",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Ta bort rad",dp:"Rad",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['tr']=Object.assign(d['tr']||{},{a:"Başlığınızı yazınız",b:"İçeriğinizi buraya yapıştırın yada yazın.",c:"Resim araç çubuğu",d:"Medya araç çubuğu",e:"Tablo araç çubuğu",f:"Kelimeler: %0",g:"Karakterler: %0",h:"Alıntı",i:"Başlık tipi seç",j:"Başlık",k:"Girintiyi arttır",l:"Girintiyi azalt",m:"Bağlantı",n:"Numaralı Liste",o:"Simgeli Liste",p:"Medya Aracı",q:"Medya Ekle",r:"URL boş olamaz.",s:"Desteklenmeyen Medya URL'si.",t:"Kalın",u:"İtalik",v:"Kod",w:"Üstü çizili",x:"Alt Simge",y:"Üst Simge",z:"Görsel Bileşeni",aa:"Resim açıklaması gir",ab:"Tam Boyut Görsel",ac:"Yan Görsel",ad:"Sola hizalı görsel",ae:"Ortalanmış görsel",af:"Sağa hizalı görsel",ag:"Bileşen araç çubuğu",ah:"Yapılacaklar Listesi",ai:"Biçimlendirmeyi Kaldır",aj:"Yatay çiizgi",ak:"Sarı işaretleyici",al:"Yeşil işaretleyici",am:"Pembe işaretleyici",an:"Mavi işaretleyici",ao:"Kırmızı kalem",ap:"Yeşik kalem",aq:"Vurgulamayı temizle",ar:"Vurgu",as:"Yazı Vurgulama Araç Çubuğu",at:"Yazı Tipi Ailesi",au:"Varsayılan",av:"Yazı Boyutu",aw:"Çok Küçük",ax:"Küçük",ay:"Büyük",az:"Çok Büyük",ba:"Yazı Tipi Rengi",bb:"Yazı Tipi Arkaplan Rengi",bc:"Görsel alternatif yazısını değiştir",bd:"Zengin İçerik Editörü",be:"Açılır araç çubuğu",bf:"Siyah",bg:"Koyu Gri",bh:"Gri",bi:"Açık Gri",bj:"Beyaz",bk:"Kırmızı",bl:"Turuncu",bm:"Sarı",bn:"Açık Yeşil",bo:"Yeşil",bp:"Akuamarin",bq:"Turkuaz",br:"Açık Mavi",bs:"Mavi",bt:"Mor",bu:"Rengi Sil",bv:"Belge Rengi",bw:"%0/%1",bx:"Önceki",by:"Sonraki",bz:"Kaydet",ca:"İptal",cb:"Yazı alternatifi",cc:"Düzenleme araç çubuğu",cd:"Daha fazla madde göster",ce:"Geri al",cf:"Tekrar yap",cg:"Media URL'siini metin kutusuna yapıştırınız.",ch:"İpucu: İçeriği daha hızlı yerleştirmek için URL'yi yapıştırın.",ci:"Medya URL'si",cj:"Yeni sekmede aç",ck:"İndirilebilir",cl:"Bağlantıyı kaldır",cm:"Bağlantıyı değiştir",cn:"Yeni sekmede aç",co:"Bağlantı adresi yok",cp:"Bağlantı Adresi",cq:"Paragraf",cr:"1. Seviye Başlık",cs:"2. Seviye Başlık",ct:"3. Seviye Başlık",cu:"4. Seviye Başlık",cv:"5. Seviye Başlık",cw:"6. Seviye Başlık",cx:"Zengin İçerik Editörü, %0",cy:"Insert code block",cz:"Sola hizala",da:"Sağa hizala",db:"Ortala",dc:"İki yana yasla",dd:"Yazı hizalama",de:"Yazı Hizlama Araç Çubuğu",df:"Tablo Ekle",dg:"Başlık kolonu",dh:"Sola kolon ekle",di:"Sağa kolon ekle",dj:"Kolonu sil",dk:"Kolon",dl:"Başlık satırı",dm:"Alta satır ekle",dn:"Üste satır ekle",do:"Satırı sil",dp:"Satır",dq:"Yukarı doğru birleştir",dr:"Sağa doğru birleştir",ds:"Aşağıya doğru birleştir",dt:"Sola doğru birleştir",du:"Hücreyi dikey böl",dv:"Hücreyi yatay böl",dw:"Hücreleri birleştir",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['tt']=Object.assign(d['tt']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"Block quote",i:"Choose heading",j:"Heading",k:"Increase indent",l:"Decrease indent",m:"Link",n:"Numbered List",o:"Bulleted List",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"Калын",u:"Italic",v:"Код",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"image widget",aa:"Enter image caption",ab:"Full size image",ac:"Side image",ad:"Left aligned image",ae:"Centered image",af:"Right aligned image",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"Change image text alternative",bd:"Rich Text Editor",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"Сакла",ca:"Cancel",cb:"Text alternative",cc:"Editor toolbar",cd:"Show more items",ce:"Undo",cf:"Кабатла",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"Unlink",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"Link URL",cq:"Paragraph",cr:"Heading 1",cs:"Heading 2",ct:"Heading 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"Rich Text Editor, %0",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['ug']=Object.assign(d['ug']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"Words: %0",g:"Characters: %0",h:"قىسمەن قوللىنىش",i:"تېما تاللاش",j:"تېما",k:"Increase indent",l:"Decrease indent",m:"ئۇلاش",n:"نومۇر جەدىۋېلى",o:"بەلگە جەدىۋېلى",p:"media widget",q:"Insert media",r:"The URL must not be empty.",s:"This media URL is not supported.",t:"توم",u:"يانتۇ",v:"كودى",w:"Strikethrough",x:"Subscript",y:"Superscript",z:"رەسىمچىك",aa:"رەسىمنىڭ تېمىسىنى كىرگۈزۈڭ",ab:"ئەسلى چوڭلۇقتىكى رەسىم",ac:"يان رەسىم",ad:"سولغا توغۇرلانغان رەسىم",ae:"ئوتتۇردىكى رەسىم",af:"ئوڭغا توغۇرلانغان رەسىم",ag:"Widget toolbar",ah:"To-do List",ai:"Remove Format",aj:"Horizontal line",ak:"Yellow marker",al:"Green marker",am:"Pink marker",an:"Blue marker",ao:"Red pen",ap:"Green pen",aq:"Remove highlight",ar:"Highlight",as:"Text highlight toolbar",at:"Font Family",au:"Default",av:"Font Size",aw:"Tiny",ax:"Small",ay:"Big",az:"Huge",ba:"Font Color",bb:"Font Background Color",bc:"رەسىملىك تېكىست تاللىغۇچنى ئۆزگەرتىش",bd:"تېكىست تەھرىرلىگۈچ",be:"Dropdown toolbar",bf:"Black",bg:"Dim grey",bh:"Grey",bi:"Light grey",bj:"White",bk:"Red",bl:"Orange",bm:"Yellow",bn:"Light green",bo:"Green",bp:"Aquamarine",bq:"Turquoise",br:"Light blue",bs:"Blue",bt:"Purple",bu:"Remove color",bv:"Document colors",bw:"%0 of %1",bx:"Previous",by:"Next",bz:"ساقلاش",ca:"قالدۇرۇش",cb:"تېكىست ئاملاشتۇرۇش",cc:"Editor toolbar",cd:"Show more items",ce:"قالدۇرۇش",cf:"قايتا قىلىش",cg:"Paste the media URL in the input.",ch:"Tip: Paste the URL into the content to embed faster.",ci:"Media URL",cj:"Open in a new tab",ck:"Downloadable",cl:"ئۈزۈش",cm:"Edit link",cn:"Open link in new tab",co:"This link has no URL",cp:"ئۇلاش ئادىرسى",cq:"بۆلەك",cr:"تېما 1",cs:"تېما 2",ct:"تېما 3",cu:"Heading 4",cv:"Heading 5",cw:"Heading 6",cx:"تېكىست تەھرىرلىگۈچ، 0%",cy:"Insert code block",cz:"Align left",da:"Align right",db:"Align center",dc:"Justify",dd:"Text alignment",de:"Text alignment toolbar",df:"Insert table",dg:"Header column",dh:"Insert column left",di:"Insert column right",dj:"Delete column",dk:"Column",dl:"Header row",dm:"Insert row below",dn:"Insert row above",do:"Delete row",dp:"Row",dq:"Merge cell up",dr:"Merge cell right",ds:"Merge cell down",dt:"Merge cell left",du:"Split cell vertically",dv:"Split cell horizontally",dw:"Merge cells",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['uk']=Object.assign(d['uk']||{},{a:"Введіть назву",b:"Введіть або вставте свій вміст тут.",c:"Панелі інструментів зображення",d:"Панель інструментів медіа",e:"Панель інструментів таблиці",f:"Слова: %0",g:"Символи: %0",h:"Цитата",i:"Оберіть заголовок",j:"Заголовок",k:"Збільшити відступ",l:"Зменшити відступ",m:"Посилання",n:"Нумерований список",o:"Маркерний список",p:"медіа віджет",q:"Вставити медіа",r:"URL не повинен бути порожнім.",s:"Даний медіа URL не підтримується.",t:"Жирний",u:"Курсив",v:"Код",w:"Закреслений",x:"Нижній індекс",y:"Верхній індекс",z:"Віджет зображення",aa:"Введіть підпис зображення",ab:"Повний розмір зображення",ac:"Бокове зображення",ad:"Зображення ліворуч",ae:"Зображення по центру",af:"Зображення праворуч",ag:"Панель інструментів віджетів",ah:"Список справ",ai:"Видалити форматування",aj:"Горизонтальна лінія",ak:"Жовтий маркер",al:"Зелений маркер",am:"Рожевий маркер",an:"Синій маркер",ao:"Червоний маркер",ap:"Зелений маркер",aq:"Видалити виділення",ar:"Виділення",as:"Text highlight toolbar",at:"Сімейство шрифтів",au:"За замовчуванням",av:"Розмір шрифту",aw:"Крихітний",ax:"Маленький",ay:"Великий",az:"Величезний",ba:"Колір шрифту",bb:"Колір тла шрифту",bc:"Змінити текстову альтернативу зображення",bd:"Розширений текстовий редактор",be:"Dropdown toolbar",bf:"Чорний",bg:"Темно-сірий",bh:"Сірий",bi:"Світло-сірий",bj:"Білий",bk:"Червоний",bl:"Помаранчевий",bm:"Жовтий",bn:"Світло-зелений",bo:"Зелений",bp:"Аквамариновий",bq:"Бірюзовий",br:"Світло-синій",bs:"Синій",bt:"Фіолетовий",bu:"Видалити колір",bv:"Кольори документу",bw:"%0 із %1",bx:"Попередній",by:"Наступний",bz:"Зберегти",ca:"Відміна",cb:"Текстова альтернатива",cc:"Панель інструментів редактора",cd:"Показати більше",ce:"Відміна",cf:"Повтор",cg:"Вставте URL на медіа в інпут.",ch:"Вставте URL у вміст для швидкого перекладу.",ci:"Медіа URL",cj:"Вікрити у новій вкладці",ck:"Завантажувальне",cl:"Видалити посилання",cm:"Редагувати посилання",cn:"Відкрити посилання у новій вкладці",co:"Це посилання не має URL",cp:"URL посилання",cq:"Параграф",cr:"Заголовок 1",cs:"Заголовок 2",ct:"Заголовок 3",cu:"Заголовок 4",cv:"Заголовок 5",cw:"Заголовок 6",cx:"Розширений текстовий редактор, %0",cy:"Insert code block",cz:"По лівому краю",da:"По правому краю",db:"По центру",dc:"По ширині",dd:"Вирівнювання тексту",de:"Панель інструментів вирівнювання тексту",df:"Вставити таблицю",dg:"Заголовок стовпця",dh:"Вставити стовпець зліва",di:"Вставити стовпець справа",dj:"Видалити стовпець",dk:"Стовпець",dl:"Заголовок рядка",dm:"Вставити рядок зверху",dn:"Вставити рядок знизу",do:"Видалити рядок",dp:"Рядок",dq:"Поєднати комірки вгору",dr:"Поєднати комірки праворуч",ds:"Поєднати комірки внизу",dt:"Поєднати комірки ліворуч",du:"Розділити комірки вертикально",dv:"Розділити комірки горизонтально",dw:"Поєднати комірки",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['vi']=Object.assign(d['vi']||{},{a:"Nhập tựa đề",b:"Nhập hoặc dán nội dung tại đây",c:"Thanh công cụ hình ảnh",d:"Thanh công cụ đa phương tiện",e:"Thanh công cụ bảng",f:"Số chữ: %0",g:"Số ký tự: %0",h:"Trích dẫn",i:"Chọn tiêu đề",j:"Tiêu đề",k:"Tăng lề",l:"Giảm lề",m:"Chèn liên kết",n:"Danh sách đánh số",o:"Danh sách đánh ký hiệu",p:"tiện ích đa phương tiện",q:"Chèn đa phương tiện",r:"Đường dẫn không được để trống",s:"Đường dẫn đa phương tiện không hỗ trợ",t:"Đậm",u:"Nghiêng",v:"Code",w:"Gạch ngang",x:"Chữ nhỏ dưới",y:"Chữ nhỏ trên",z:"tiện ích ảnh",aa:"Nhập mô tả ảnh",ab:"Ảnh đầy đủ",ac:"Ảnh một bên",ad:"Ảnh canh trái",ae:"Ảnh canh giữa",af:"Ảnh canh phải",ag:"Thanh công cụ tiện ích",ah:"Danh sách cần làm",ai:"Xóa định dang",aj:"Đường ngang",ak:"Bút vàng",al:"Bút xanh lá",am:"Bút hồng",an:"Bút xanh dương",ao:"Mực đỏ",ap:"Mực xanh",aq:"Xóa làm nổi",ar:"Làm nổi",as:"Thanh công cụ làm nổi chữ",at:"Họ chữ",au:"Mặc định",av:"Cỡ chữ",aw:"Bé",ax:"Nhỏ",ay:"Lớn",az:"Khổng lồ",ba:"Màu chữ",bb:"Màu nền chữ",bc:"Đổi chữ alt của ảnh",bd:"Trình soạn thảo văn bản",be:"Thanh công cụ danh mục",bf:"Đen",bg:"Xám mờ",bh:"Xám",bi:"Xám nhạt",bj:"Trắng",bk:"Đỏ",bl:"Cam",bm:"Vàng",bn:"Xanh lá nhạt",bo:"Xanh lá",bp:"Xanh ngọc biển",bq:"Xanh ngọc bích",br:"Xanh dương",bs:"Xanh biển",bt:"Tím",bu:"Xóa màu",bv:"Màu văn bản",bw:"%0 đến %1",bx:"Quay lại",by:"Tiếp theo",bz:"Lưu",ca:"Hủy",cb:"Chữ alt",cc:"Thanh công cụ biên tập",cd:"Xem thêm",ce:"Hoàn tác",cf:"Tiếp tục",cg:"Dán đường dẫn đa phương tiện vào trường",ch:"Mẹo: Dán đường dẫn vào nội dung để nhúng ngay",ci:"Đường dẫn đa phương tiện",cj:"Mở trên tab mới",ck:"Có thể tải về",cl:"Bỏ liên kết",cm:"Sửa liên kết",cn:"Mở liên kết",co:"Liên kết không có đường dẫn",cp:"Đường dẫn liên kết",cq:"Đoạn văn",cr:"Tiêu đề 1",cs:"Tiêu đề 2",ct:"Tiêu đề 3",cu:"Tiêu đề 4",cv:"Tiêu đề 5",cw:"Tiêu đề 6",cx:"Trình soạn thảo văn bản, %0",cy:"Insert code block",cz:"Canh trái",da:"Canh phải",db:"Canh giữa",dc:"Canh đều",dd:"Căn chỉnh văn bản",de:"Thanh công cụ canh chữ",df:"Tạo bảng",dg:"Tiêu đề cột",dh:"Thêm cột vào bên trái",di:"Thêm cột vào bên phải",dj:"Xoá cột",dk:"Cột",dl:"Tiêu đề hàng",dm:"Thêm hàng ở dưới",dn:"Thêm hàng phía trên",do:"Xoá hàng",dp:"Hàng",dq:"Sát nhập ô lên trên",dr:"Sát nhập ô qua phải",ds:"Sát nhập ô xuống dưới",dt:"Sát nhập ô qua trái",du:"Tách ô theo chiều dọc",dv:"Tách ô theo chiều ngang",dw:"Sát nhập ô",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['zh-cn']=Object.assign(d['zh-cn']||{},{a:"输入标题",b:"在这里输入或粘贴内容",c:"图片工具栏",d:"媒体工具栏",e:"表格工具栏",f:"字数:%0",g:"字符数:%0",h:"块引用",i:"标题类型",j:"标题",k:"增加缩进",l:"减少缩进",m:"超链接",n:"编号列表",o:"项目列表",p:"媒体小部件",q:"插入媒体",r:"URL不可以为空。",s:"不支持此媒体URL。",t:"加粗",u:"倾斜",v:"代码",w:"删除线",x:"下标",y:"上标",z:"图像小部件",aa:"输入图片标题",ab:"图片通栏显示",ac:"图片侧边显示",ad:"图片左侧对齐",ae:"图片居中",af:"图片右侧对齐",ag:"小部件工具栏",ah:"待办列表",ai:"移除格式",aj:"分割线",ak:"黄色标记",al:"绿色标记",am:"粉色标记",an:"蓝色标记",ao:"红色笔",ap:"绿色笔",aq:"清除高亮",ar:"高亮",as:"文本高亮工具栏",at:"字体",au:"默认",av:"字体大小",aw:"极小",ax:"小",ay:"大",az:"极大",ba:"字体颜色",bb:"字体背景色",bc:"更改图片替换文本",bd:"富文本编辑器",be:"下拉工具栏",bf:"黑色",bg:"暗灰色",bh:"灰色",bi:"浅灰色",bj:"白色",bk:"红色",bl:"橙色",bm:"黄色",bn:"浅绿色",bo:"绿色",bp:"海蓝色",bq:"青色",br:"浅蓝色",bs:"蓝色",bt:"紫色",bu:"移除颜色",bv:"文档中的颜色",bw:"第 %0 步,共 %1 步",bx:"上一步",by:"下一步",bz:"保存",ca:"取消",cb:"替换文本",cc:"编辑器工具栏",cd:"显示更多",ce:"撤销",cf:"重做",cg:"在输入中粘贴媒体URL",ch:"提示:将URL粘贴到内容中可更快地嵌入",ci:"媒体URL",cj:"在新标签页中打开",ck:"可下载",cl:"取消超链接",cm:"修改链接",cn:"在新标签页中打开链接",co:"此链接没有设置网址",cp:"链接网址",cq:"段落",cr:"标题 1",cs:"标题 2",ct:"标题 3",cu:"标题 4",cv:"标题 5",cw:"标题 6",cx:"富文本编辑器, %0",cy:"Insert code block",cz:"左对齐",da:"右对齐",db:"居中",dc:"两端对齐",dd:"对齐",de:"对齐工具栏",df:"插入表格",dg:"标题列",dh:"左侧插入列",di:"右侧插入列",dj:"删除本列",dk:"列",dl:"标题行",dm:"在下面插入一行",dn:"在上面插入一行",do:"删除本行",dp:"行",dq:"向上合并单元格",dr:"向右合并单元格",ds:"向下合并单元格",dt:"向左合并单元格",du:"垂直拆分单元格",dv:"水平分割单元格",dw:"合并单元格",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ (function(d){d['zh']=Object.assign(d['zh']||{},{a:"Type your title",b:"Type or paste your content here.",c:"Image toolbar",d:"Media toolbar",e:"Table toolbar",f:"字數: %0",g:"字元數: %0",h:"塊引用",i:"選取標題",j:"標題",k:"增加縮排",l:"減少縮排",m:"連結",n:"有編號的清單",o:"項目符號清單",p:"影音小工具",q:"插入影音",r:"URL不能空白。",s:"影音URL不支援。",t:"粗體",u:"斜體",v:"程式碼",w:"刪除線",x:"下標",y:"上標",z:"圖片小工具",aa:"輸入圖片說明",ab:"完整大小圖片",ac:"側邊圖片",ad:"向左對齊圖片",ae:"置中圖片",af:"向右對齊圖片",ag:"Widget toolbar",ah:"To-do List",ai:"移除格式",aj:"Horizontal line",ak:"黃色標記",al:"綠色標記",am:"粉色標記",an:"藍色標記",ao:"紅色筆",ap:"綠色筆",aq:"清除高亮",ar:"高亮",as:"Text highlight toolbar",at:"字型",au:"預設",av:"字體大小",aw:"特小",ax:"小",ay:"大",az:"特大",ba:"字體顏色",bb:"前景顏色",bc:"變更圖片的文字替代",bd:"豐富文字編輯器",be:"Dropdown toolbar",bf:"黑色",bg:"淡灰色",bh:"灰色",bi:"亮灰色",bj:"白色",bk:"紅色",bl:"橘色",bm:"黃色",bn:"亮綠色",bo:"綠色",bp:"淺綠色",bq:"藍綠色",br:"亮藍色",bs:"藍色",bt:"紫色",bu:"移除顏色",bv:"Document colors",bw:"%0/%1",bx:"上一",by:"下一",bz:"儲存",ca:"取消",cb:"文字替代",cc:"Editor toolbar",cd:"Show more items",ce:"取消",cf:"重做",cg:"在輸入框貼上影音URL。",ch:"提示:在內容貼上URL更快崁入。",ci:"影音URL",cj:"在新視窗開啟",ck:"可下載",cl:"取消連結",cm:"編輯連結",cn:"在新視窗開啟連結",co:"連結沒有URL",cp:"連結˙ URL",cq:"段落",cr:"標題 1",cs:"標題 2",ct:"標題 3",cu:"標題 4",cv:"標題 5",cw:"標題 6",cx:"豐富文字編輯器,%0",cy:"Insert code block",cz:"靠左對齊",da:"靠右對齊",db:"置中對齊",dc:"左右對齊",dd:"文字對齊",de:"Text alignment toolbar",df:"插入表格",dg:"標題欄",dh:"插入左方欄",di:"插入右方欄",dj:"刪除欄",dk:"欄",dl:"標題列",dm:"插入下方列",dn:"插入上方列",do:"刪除列",dp:"列",dq:"合併上方儲存格",dr:"合併右方儲存格",ds:"合併下方儲存格",dt:"合併左方儲存格",du:"垂直分割儲存格",dv:"水平分割儲存格",dw:"合併儲存格",dx:"Plain text"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1,3 +1,3 @@
1
1
  module PhcthemesAdminPanelPack
2
- VERSION = "1.4.5"
2
+ VERSION = "1.4.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcthemes_admin_panel_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-22 00:00:00.000000000 Z
11
+ date: 2020-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -289,7 +289,66 @@ files:
289
289
  - app/assets/javascripts/common/bootstrap/bootstrap.three.js
290
290
  - app/assets/javascripts/common/chartjs/chart.js
291
291
  - app/assets/javascripts/common/ckeditor/ckeditor.js
292
+ - app/assets/javascripts/common/ckeditor/ckeditor.js.map
293
+ - app/assets/javascripts/common/ckeditor/translations/af.js
294
+ - app/assets/javascripts/common/ckeditor/translations/ar.js
295
+ - app/assets/javascripts/common/ckeditor/translations/ast.js
296
+ - app/assets/javascripts/common/ckeditor/translations/az.js
297
+ - app/assets/javascripts/common/ckeditor/translations/bg.js
298
+ - app/assets/javascripts/common/ckeditor/translations/ca.js
299
+ - app/assets/javascripts/common/ckeditor/translations/cs.js
300
+ - app/assets/javascripts/common/ckeditor/translations/da.js
301
+ - app/assets/javascripts/common/ckeditor/translations/de-ch.js
302
+ - app/assets/javascripts/common/ckeditor/translations/de.js
303
+ - app/assets/javascripts/common/ckeditor/translations/el.js
304
+ - app/assets/javascripts/common/ckeditor/translations/en-au.js
305
+ - app/assets/javascripts/common/ckeditor/translations/en-gb.js
292
306
  - app/assets/javascripts/common/ckeditor/translations/en.js
307
+ - app/assets/javascripts/common/ckeditor/translations/eo.js
308
+ - app/assets/javascripts/common/ckeditor/translations/es.js
309
+ - app/assets/javascripts/common/ckeditor/translations/et.js
310
+ - app/assets/javascripts/common/ckeditor/translations/eu.js
311
+ - app/assets/javascripts/common/ckeditor/translations/fa.js
312
+ - app/assets/javascripts/common/ckeditor/translations/fi.js
313
+ - app/assets/javascripts/common/ckeditor/translations/fr.js
314
+ - app/assets/javascripts/common/ckeditor/translations/gl.js
315
+ - app/assets/javascripts/common/ckeditor/translations/gu.js
316
+ - app/assets/javascripts/common/ckeditor/translations/he.js
317
+ - app/assets/javascripts/common/ckeditor/translations/hr.js
318
+ - app/assets/javascripts/common/ckeditor/translations/hu.js
319
+ - app/assets/javascripts/common/ckeditor/translations/id.js
320
+ - app/assets/javascripts/common/ckeditor/translations/it.js
321
+ - app/assets/javascripts/common/ckeditor/translations/ja.js
322
+ - app/assets/javascripts/common/ckeditor/translations/km.js
323
+ - app/assets/javascripts/common/ckeditor/translations/kn.js
324
+ - app/assets/javascripts/common/ckeditor/translations/ko.js
325
+ - app/assets/javascripts/common/ckeditor/translations/ku.js
326
+ - app/assets/javascripts/common/ckeditor/translations/lt.js
327
+ - app/assets/javascripts/common/ckeditor/translations/lv.js
328
+ - app/assets/javascripts/common/ckeditor/translations/nb.js
329
+ - app/assets/javascripts/common/ckeditor/translations/ne.js
330
+ - app/assets/javascripts/common/ckeditor/translations/nl.js
331
+ - app/assets/javascripts/common/ckeditor/translations/no.js
332
+ - app/assets/javascripts/common/ckeditor/translations/oc.js
333
+ - app/assets/javascripts/common/ckeditor/translations/pl.js
334
+ - app/assets/javascripts/common/ckeditor/translations/pt-br.js
335
+ - app/assets/javascripts/common/ckeditor/translations/pt.js
336
+ - app/assets/javascripts/common/ckeditor/translations/ro.js
337
+ - app/assets/javascripts/common/ckeditor/translations/ru.js
338
+ - app/assets/javascripts/common/ckeditor/translations/si.js
339
+ - app/assets/javascripts/common/ckeditor/translations/sk.js
340
+ - app/assets/javascripts/common/ckeditor/translations/sl.js
341
+ - app/assets/javascripts/common/ckeditor/translations/sq.js
342
+ - app/assets/javascripts/common/ckeditor/translations/sr-latn.js
343
+ - app/assets/javascripts/common/ckeditor/translations/sr.js
344
+ - app/assets/javascripts/common/ckeditor/translations/sv.js
345
+ - app/assets/javascripts/common/ckeditor/translations/tr.js
346
+ - app/assets/javascripts/common/ckeditor/translations/tt.js
347
+ - app/assets/javascripts/common/ckeditor/translations/ug.js
348
+ - app/assets/javascripts/common/ckeditor/translations/uk.js
349
+ - app/assets/javascripts/common/ckeditor/translations/vi.js
350
+ - app/assets/javascripts/common/ckeditor/translations/zh-cn.js
351
+ - app/assets/javascripts/common/ckeditor/translations/zh.js
293
352
  - app/assets/javascripts/common/clipboardjs/clipboard.js
294
353
  - app/assets/javascripts/common/custom/custom.js
295
354
  - app/assets/javascripts/common/datatables/datatables.js