(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1128:function(t,e,r){"use strict";var n=r(1153),o=r(1483),i=r(1484);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._config={},r&&this.define(r),e&&this._setObjectToTarget(this._config,e)}var e,r,i;return e=t,(r=[{key:"set",value:function(t,e){this._setToTarget(this._config,t,e)}},{key:"define",value:function(t,e){this._setToTarget(this._config,t,e,!0)}},{key:"get",value:function(t){return this._getFromSource(this._config,t)}},{key:"_setToTarget",value:function(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Object(n.a)(e))this._setObjectToTarget(t,e,o);else{var i=e.split(".");e=i.pop();var a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;Object(n.a)(t[f])||(t[f]={}),t=t[f]}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}if(Object(n.a)(r))return Object(n.a)(t[e])||(t[e]={}),t=t[e],void this._setObjectToTarget(t,r,o);o&&void 0!==t[e]||(t[e]=r)}}},{key:"_getFromSource",value:function(t,e){var r=e.split(".");e=r.pop();var i=!0,a=!1,s=void 0;try{for(var c,l=r[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var f=c.value;if(!Object(n.a)(t[f])){t=null;break}t=t[f]}}catch(t){a=!0,s=t}finally{try{i||null==l.return||l.return()}finally{if(a)throw s}}return t?function(t){return Object(o.a)(t,u)}(t[e]):void 0}},{key:"_setObjectToTarget",value:function(t,e,r){var n=this;Object.keys(e).forEach((function(o){n._setToTarget(t,o,e[o],r)}))}}])&&a(e.prototype,r),i&&a(e,i),t}();function u(t){return Object(i.a)(t)?t:void 0}var c=r(808);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t,e,r){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var v=Symbol("rootName"),b=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=h(this,d(e).call(this,t))).rootName="main",r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.replace(/^view:/,"");return r?"rootElement"==n&&r==this.name||p(d(e.prototype),"is",this).call(this,t,r):"rootElement"==n||p(d(e.prototype),"is",this).call(this,t)}},{key:"rootName",get:function(){return this.getCustomProperty(v)},set:function(t){this._setCustomProperty(v,t)}},{key:"_name",set:function(t){this.name=t}}])&&f(r.prototype,n),o&&f(r,o),e}(c.a),g=r(903),m=r(660),w=r(616),k=r(623);function _(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var O=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.selection=new g.a,this.roots=new m.a({idProperty:"rootName"}),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isComposing",!1),this._postFixers=new Set}var e,r,n;return e=t,(r=[{key:"getRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.roots.get(t)}},{key:"registerPostFixer",value:function(t){this._postFixers.add(t)}},{key:"destroy",value:function(){this.roots.map((function(t){return t.destroy()})),this.stopListening()}},{key:"_callPostFixers",value:function(t){var e=!1;do{var r=!0,n=!1,o=void 0;try{for(var i,a=this._postFixers[Symbol.iterator]();!(r=(i=a.next()).done)&&!(e=(0,i.value)(t));r=!0);}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}while(e)}}])&&_(e.prototype,r),n&&_(e,n),t}();Object(w.a)(O,k.a);var S=r(640),x=r(683),P=r(659),E=r(899),A=r(647),T=r(613);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t,e,r){return(D="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=N(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var B=10,I=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=R(this,N(e).call(this,t,r,n))).getFillerOffset=L,o._priority=B,o._id=null,o._clonesGroup=null,o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(e,t),r=e,(n=[{key:"getElementsWithSameId",value:function(){if(null===this.id)throw new T.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)}},{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t&&t.replace(/^view:/,"");return r?"attributeElement"==n&&r==this.name||D(N(e.prototype),"is",this).call(this,t,r):"attributeElement"==n||D(N(e.prototype),"is",this).call(this,t)}},{key:"isSimilar",value:function(t){return null!==this.id||null!==t.id?this.id===t.id:D(N(e.prototype),"isSimilar",this).call(this,t)&&this.priority==t.priority}},{key:"_clone",value:function(t){var r=D(N(e.prototype),"_clone",this).call(this,t);return r._priority=this._priority,r._id=this._id,r}},{key:"priority",get:function(){return this._priority}},{key:"id",get:function(){return this._id}}])&&j(r.prototype,n),o&&j(r,o),e}(A.a);function L(){if(M(this))return null;for(var t=this.parent;t&&t.is("attributeElement");){if(M(t)>1)return null;t=t.parent}return!t||M(t)>1?null:this.childCount}function M(t){return Array.from(t.getChildren()).filter((function(t){return!t.is("uiElement")})).length}I.DEFAULT_PRIORITY=B;var V=r(681);function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function z(t,e){return!e||"object"!==F(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t,e,r){return(H="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=G(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var J=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=z(this,G(e).call(this,t,r,n))).getFillerOffset=Y,o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.replace(/^view:/,"");return r?"emptyElement"==n&&r==this.name||H(G(e.prototype),"is",this).call(this,t,r):"emptyElement"==n||H(G(e.prototype),"is",this).call(this,t)}},{key:"_insertChild",value:function(t,e){if(e&&(e instanceof V.a||Array.from(e).length>0))throw new T.b("view-emptyelement-cannot-add: Cannot add child nodes to EmptyElement instance.",[this,e])}}])&&U(r.prototype,n),o&&U(r,o),e}(A.a);function Y(){return null}var K=r(628);function $(t){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function X(t,e){return!e||"object"!==$(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Z(t,e,r){return(Z="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=tt(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function tt(t){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var rt=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=X(this,tt(e).call(this,t,r,n))).getFillerOffset=ot,o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&et(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.replace(/^view:/,"");return r?"uiElement"==n&&r==this.name||Z(tt(e.prototype),"is",this).call(this,t,r):"uiElement"==n||Z(tt(e.prototype),"is",this).call(this,t)}},{key:"_insertChild",value:function(t,e){if(e&&(e instanceof V.a||Array.from(e).length>0))throw new T.b("view-uielement-cannot-add: Cannot add child nodes to UIElement instance.",this)}},{key:"render",value:function(t){return this.toDomElement(t)}},{key:"toDomElement",value:function(t){var e=t.createElement(this.name),r=!0,n=!1,o=void 0;try{for(var i,a=this.getAttributeKeys()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e.setAttribute(s,this.getAttribute(s))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}}])&&Q(r.prototype,n),o&&Q(r,o),e}(A.a);function nt(t){t.document.on("keydown",(function(e,r){return function(t,e,r){if(e.keyCode==K.c.arrowright){var n=e.domTarget.ownerDocument.defaultView.getSelection(),o=1==n.rangeCount&&n.getRangeAt(0).collapsed;if(o||e.shiftKey){var i=n.focusNode,a=n.focusOffset,s=r.domPositionToView(i,a);if(null===s)return;var u=!1,c=s.getLastMatchingPosition((function(t){return t.item.is("uiElement")&&(u=!0),!(!t.item.is("uiElement")&&!t.item.is("attributeElement"))}));if(u){var l=r.viewPositionToDom(c);o?n.collapse(l.parent,l.offset):n.extend(l.parent,l.offset)}}}}(0,r,t.domConverter)}))}function ot(){return null}var it=r(811),at=r(639),st=r(649);function ut(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ct(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var lt=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.document=e,this._cloneGroups=new Map}var e,r,o;return e=t,(r=[{key:"setSelection",value:function(t,e,r){this.document.selection._setTo(t,e,r)}},{key:"setSelectionFocus",value:function(t,e){this.document.selection._setFocus(t,e)}},{key:"createText",value:function(t){return new st.a(t)}},{key:"createAttributeElement",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new I(t,e);return r.priority&&(n._priority=r.priority),r.id&&(n._id=r.id),n}},{key:"createContainerElement",value:function(t,e){return new E.a(t,e)}},{key:"createEditableElement",value:function(t,e){var r=new c.a(t,e);return r._document=this.document,r}},{key:"createEmptyElement",value:function(t,e){return new J(t,e)}},{key:"createUIElement",value:function(t,e,r){var n=new rt(t,e);return r&&(n.render=r),n}},{key:"setAttribute",value:function(t,e,r){r._setAttribute(t,e)}},{key:"removeAttribute",value:function(t,e){e._removeAttribute(t)}},{key:"addClass",value:function(t,e){e._addClass(t)}},{key:"removeClass",value:function(t,e){e._removeClass(t)}},{key:"setStyle",value:function(t,e,r){Object(n.a)(t)&&void 0===r&&(r=e),r._setStyle(t,e)}},{key:"removeStyle",value:function(t,e){e._removeStyle(t)}},{key:"setCustomProperty",value:function(t,e,r){r._setCustomProperty(t,e)}},{key:"removeCustomProperty",value:function(t,e){return e._removeCustomProperty(t)}},{key:"breakAttributes",value:function(t){return t instanceof S.a?this._breakAttributes(t):this._breakAttributesRange(t)}},{key:"breakContainer",value:function(t){var e=t.parent;if(!e.is("containerElement"))throw new T.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 T.b("view-writer-break-root: Trying to break root element.",this.document);if(t.isAtStart)return S.a._createBefore(e);if(!t.isAtEnd){var r=e._clone(!1);this.insert(S.a._createAfter(e),r);var n=new x.a(t,S.a._createAt(e,"end")),o=new S.a(r,0);this.move(n,o)}return S.a._createAfter(e)}},{key:"mergeAttributes",value:function(t){var e=t.offset,r=t.parent;if(r.is("text"))return t;if(r.is("attributeElement")&&0===r.childCount){var n=r.parent,o=r.index;return r._remove(),this._removeFromClonedElementsGroup(r),this.mergeAttributes(new S.a(n,o))}var i=r.getChild(e-1),a=r.getChild(e);if(!i||!a)return t;if(i.is("text")&&a.is("text"))return yt(i,a);if(i.is("attributeElement")&&a.is("attributeElement")&&i.isSimilar(a)){var s=i.childCount;return i._appendChild(a.getChildren()),a._remove(),this._removeFromClonedElementsGroup(a),this.mergeAttributes(new S.a(i,s))}return t}},{key:"mergeContainers",value:function(t){var e=t.nodeBefore,r=t.nodeAfter;if(!(e&&r&&e.is("containerElement")&&r.is("containerElement")))throw new T.b("view-writer-merge-containers-invalid-position: Element before and after given position cannot be merged.",this.document);var n=e.getChild(e.childCount-1),o=n instanceof st.a?S.a._createAt(n,"end"):S.a._createAt(e,"end");return this.move(x.a._createIn(r),S.a._createAt(e,"end")),this.remove(x.a._createOn(r)),o}},{key:"insert",value:function(t,e){!function t(e,r){var n=!0,o=!1,i=void 0;try{for(var a,s=function(){var e=a.value;if(!vt.some((function(t){return e instanceof t})))throw new T.b("view-writer-insert-invalid-node",r);e.is("text")||t(e.getChildren(),r)},u=e[Symbol.iterator]();!(n=(a=u.next()).done);n=!0)s()}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}}(e=Object(at.a)(e)?ut(e):[e],this.document);var r=ft(t);if(!r)throw new T.b("view-writer-invalid-position-container",this.document);var n=this._breakAttributes(t,!0),o=r._insertChild(n.offset,e),i=!0,a=!1,s=void 0;try{for(var u,c=e[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;this._addToClonedElementsGroup(l)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}var f=n.getShiftedBy(o),h=this.mergeAttributes(n);if(0===o)return new x.a(h,h);h.isEqual(n)||f.offset--;var p=this.mergeAttributes(f);return new x.a(h,p)}},{key:"remove",value:function(t){var e=t instanceof x.a?t:x.a._createOn(t);if(gt(e,this.document),e.isCollapsed)return new it.a;var r=this._breakAttributesRange(e,!0),n=r.start,o=r.end,i=n.parent,a=o.offset-n.offset,s=i._removeChildren(n.offset,a),u=!0,c=!1,l=void 0;try{for(var f,h=s[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;this._removeFromClonedElementsGroup(p)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}var d=this.mergeAttributes(n);return e.start=d,e.end=d.clone(),new it.a(s)}},{key:"clear",value:function(t,e){gt(t,this.document);var r=t.getWalker({direction:"backward",ignoreElementEnd:!0}),n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c=u.item,l=void 0;if(c.is("element")&&e.isSimilar(c))l=x.a._createOn(c);else if(!u.nextPosition.isAfter(t.start)&&c.is("textProxy")){var f=c.getAncestors().find((function(t){return t.is("element")&&e.isSimilar(t)}));f&&(l=x.a._createIn(f))}l&&(l.end.isAfter(t.end)&&(l.end=t.end),l.start.isBefore(t.start)&&(l.start=t.start),this.remove(l))}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}},{key:"move",value:function(t,e){var r;if(e.isAfter(t.end)){var n=(e=this._breakAttributes(e,!0)).parent,o=n.childCount;t=this._breakAttributesRange(t,!0),r=this.remove(t),e.offset+=n.childCount-o}else r=this.remove(t);return this.insert(e,r)}},{key:"wrap",value:function(t,e){if(!(e instanceof I))throw new T.b("view-writer-wrap-invalid-attribute",this.document);if(gt(t,this.document),t.isCollapsed){var r=t.start;r.parent.is("element")&&(o=r.parent,!Array.from(o.getChildren()).some((function(t){return!t.is("uiElement")})))&&(r=r.getLastMatchingPosition((function(t){return t.item.is("uiElement")}))),r=this._wrapPosition(r,e);var n=this.document.selection;return n.isCollapsed&&n.getFirstPosition().isEqual(t.start)&&this.setSelection(r),new x.a(r)}return this._wrapRange(t,e);var o}},{key:"unwrap",value:function(t,e){if(!(e instanceof I))throw new T.b("view-writer-unwrap-invalid-attribute",this.document);if(gt(t,this.document),t.isCollapsed)return t;var r=this._breakAttributesRange(t,!0),n=r.start,o=r.end,i=n.parent,a=this._unwrapChildren(i,n.offset,o.offset,e),s=this.mergeAttributes(a.start);s.isEqual(a.start)||a.end.offset--;var u=this.mergeAttributes(a.end);return new x.a(s,u)}},{key:"rename",value:function(t,e){var r=new E.a(t,e.getAttributes());return this.insert(S.a._createAfter(e),r),this.move(x.a._createIn(e),S.a._createAt(r,0)),this.remove(x.a._createOn(e)),r}},{key:"clearClonedElementsGroup",value:function(t){this._cloneGroups.delete(t)}},{key:"createPositionAt",value:function(t,e){return S.a._createAt(t,e)}},{key:"createPositionAfter",value:function(t){return S.a._createAfter(t)}},{key:"createPositionBefore",value:function(t){return S.a._createBefore(t)}},{key:"createRange",value:function(t,e){return new x.a(t,e)}},{key:"createRangeOn",value:function(t){return x.a._createOn(t)}},{key:"createRangeIn",value:function(t){return x.a._createIn(t)}},{key:"createSelection",value:function(t,e,r){return new P.a(t,e,r)}},{key:"_wrapChildren",value:function(t,e,r,n){for(var o=e,i=[];o<r;){var a=t.getChild(o),s=a.is("text"),u=a.is("attributeElement"),c=a.is("emptyElement"),l=a.is("uiElement");if(u&&this._wrapAttributeElement(n,a))i.push(new S.a(t,o));else if(s||c||l||u&&ht(n,a)){var f=n._clone();a._remove(),f._appendChild(a),t._insertChild(o,f),this._addToClonedElementsGroup(f),i.push(new S.a(t,o))}else u&&this._wrapChildren(a,0,a.childCount,n);o++}for(var h=0,p=0,d=i;p<d.length;p++){var y=d[p];y.offset-=h,y.offset!=e&&(this.mergeAttributes(y).isEqual(y)||(h++,r--))}return x.a._createFromParentsAndOffsets(t,e,t,r)}},{key:"_unwrapChildren",value:function(t,e,r,n){for(var o=e,i=[];o<r;){var a=t.getChild(o);if(a.is("attributeElement"))if(a.isSimilar(n)){var s=a.getChildren(),u=a.childCount;a._remove(),t._insertChild(o,s),this._removeFromClonedElementsGroup(a),i.push(new S.a(t,o),new S.a(t,o+u)),o+=u,r+=u-1}else this._unwrapAttributeElement(n,a)?(i.push(new S.a(t,o),new S.a(t,o+1)),o++):(this._unwrapChildren(a,0,a.childCount,n),o++);else o++}for(var c=0,l=0,f=i;l<f.length;l++){var h=f[l];h.offset-=c,h.offset!=e&&h.offset!=r&&(this.mergeAttributes(h).isEqual(h)||(c++,r--))}return x.a._createFromParentsAndOffsets(t,e,t,r)}},{key:"_wrapRange",value:function(t,e){var r=this._breakAttributesRange(t,!0),n=r.start,o=r.end,i=n.parent,a=this._wrapChildren(i,n.offset,o.offset,e),s=this.mergeAttributes(a.start);s.isEqual(a.start)||a.end.offset--;var u=this.mergeAttributes(a.end);return new x.a(s,u)}},{key:"_wrapPosition",value:function(t,e){if(e.isSimilar(t.parent))return pt(t.clone());t.parent.is("text")&&(t=dt(t));var r=this.createAttributeElement();r._priority=Number.POSITIVE_INFINITY,r.isSimilar=function(){return!1},t.parent._insertChild(t.offset,r);var n=new x.a(t,t.getShiftedBy(1));this.wrap(n,e);var o=new S.a(r.parent,r.index);r._remove();var i=o.nodeBefore,a=o.nodeAfter;return i instanceof st.a&&a instanceof st.a?yt(i,a):pt(o)}},{key:"_wrapAttributeElement",value:function(t,e){if(!mt(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;var r=!0,n=!1,o=void 0;try{for(var i,a=t.getAttributeKeys()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if("class"!==s&&"style"!==s&&e.hasAttribute(s)&&e.getAttribute(s)!==t.getAttribute(s))return!1}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}var u=!0,c=!1,l=void 0;try{for(var f,h=t.getStyleNames()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;if(e.hasStyle(p)&&e.getStyle(p)!==t.getStyle(p))return!1}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}var d=!0,y=!1,v=void 0;try{for(var b,g=t.getAttributeKeys()[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;"class"!==m&&"style"!==m&&(e.hasAttribute(m)||this.setAttribute(m,t.getAttribute(m),e))}}catch(t){y=!0,v=t}finally{try{d||null==g.return||g.return()}finally{if(y)throw v}}var w=!0,k=!1,_=void 0;try{for(var O,S=t.getStyleNames()[Symbol.iterator]();!(w=(O=S.next()).done);w=!0){var x=O.value;e.hasStyle(x)||this.setStyle(x,t.getStyle(x),e)}}catch(t){k=!0,_=t}finally{try{w||null==S.return||S.return()}finally{if(k)throw _}}var P=!0,E=!1,A=void 0;try{for(var T,C=t.getClassNames()[Symbol.iterator]();!(P=(T=C.next()).done);P=!0){var j=T.value;e.hasClass(j)||this.addClass(j,e)}}catch(t){E=!0,A=t}finally{try{P||null==C.return||C.return()}finally{if(E)throw A}}return!0}},{key:"_unwrapAttributeElement",value:function(t,e){if(!mt(t,e))return!1;if(t.name!==e.name||t.priority!==e.priority)return!1;var r=!0,n=!1,o=void 0;try{for(var i,a=t.getAttributeKeys()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if("class"!==s&&"style"!==s&&(!e.hasAttribute(s)||e.getAttribute(s)!==t.getAttribute(s)))return!1}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}if(!e.hasClass.apply(e,ut(t.getClassNames())))return!1;var u=!0,c=!1,l=void 0;try{for(var f,h=t.getStyleNames()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;if(!e.hasStyle(p)||e.getStyle(p)!==t.getStyle(p))return!1}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}var d=!0,y=!1,v=void 0;try{for(var b,g=t.getAttributeKeys()[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;"class"!==m&&"style"!==m&&this.removeAttribute(m,e)}}catch(t){y=!0,v=t}finally{try{d||null==g.return||g.return()}finally{if(y)throw v}}return this.removeClass(Array.from(t.getClassNames()),e),this.removeStyle(Array.from(t.getStyleNames()),e),!0}},{key:"_breakAttributesRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.start,n=t.end;if(gt(t,this.document),t.isCollapsed){var o=this._breakAttributes(t.start,e);return new x.a(o,o)}var i=this._breakAttributes(n,e),a=i.parent.childCount,s=this._breakAttributes(r,e);return i.offset+=i.parent.childCount-a,new x.a(s,i)}},{key:"_breakAttributes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.offset,n=t.parent;if(t.parent.is("emptyElement"))throw new T.b("view-writer-cannot-break-empty-element",this.document);if(t.parent.is("uiElement"))throw new T.b("view-writer-cannot-break-ui-element",this.document);if(!e&&n.is("text")&&bt(n.parent))return t.clone();if(bt(n))return t.clone();if(n.is("text"))return this._breakAttributes(dt(t),e);var o=n.childCount;if(r==o){var i=new S.a(n.parent,n.index+1);return this._breakAttributes(i,e)}if(0===r){var a=new S.a(n.parent,n.index);return this._breakAttributes(a,e)}var s=n.index+1,u=n._clone();n.parent._insertChild(s,u),this._addToClonedElementsGroup(u);var c=n.childCount-r,l=n._removeChildren(r,c);u._appendChild(l);var f=new S.a(n.parent,s);return this._breakAttributes(f,e)}},{key:"_addToClonedElementsGroup",value:function(t){if(t.root.is("rootElement")){if(t.is("element")){var e=!0,r=!1,n=void 0;try{for(var o,i=t.getChildren()[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._addToClonedElementsGroup(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}var s=t.id;if(s){var u=this._cloneGroups.get(s);u||(u=new Set,this._cloneGroups.set(s,u)),u.add(t),t._clonesGroup=u}}}},{key:"_removeFromClonedElementsGroup",value:function(t){if(t.is("element")){var e=!0,r=!1,n=void 0;try{for(var o,i=t.getChildren()[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._removeFromClonedElementsGroup(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}var s=t.id;if(s){var u=this._cloneGroups.get(s);u&&u.delete(t)}}}])&&ct(e.prototype,r),o&&ct(e,o),t}();function ft(t){for(var e=t.parent;!bt(e);){if(!e)return;e=e.parent}return e}function ht(t,e){return t.priority<e.priority||!(t.priority>e.priority)&&t.getIdentity()<e.getIdentity()}function pt(t){var e=t.nodeBefore;if(e&&e.is("text"))return new S.a(e,e.data.length);var r=t.nodeAfter;return r&&r.is("text")?new S.a(r,0):t}function dt(t){if(t.offset==t.parent.data.length)return new S.a(t.parent.parent,t.parent.index+1);if(0===t.offset)return new S.a(t.parent.parent,t.parent.index);var e=t.parent.data.slice(t.offset);return t.parent._data=t.parent.data.slice(0,t.offset),t.parent.parent._insertChild(t.parent.index+1,new st.a(e)),new S.a(t.parent.parent,t.parent.index+1)}function yt(t,e){var r=t.data.length;return t._data+=e.data,e._remove(),new S.a(t,r)}var vt=[st.a,I,E.a,J,rt];function bt(t){return t&&(t.is("containerElement")||t.is("documentFragment"))}function gt(t,e){var r=ft(t.start),n=ft(t.end);if(!r||!n||r!==n)throw new T.b("view-writer-invalid-range-container",e)}function mt(t,e){return null===t.id&&null===e.id}var wt=r(702),kt=r(812);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function _t(t,e,r){t.insertBefore(r,t.childNodes[e]||null)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function Ot(t){var e=t.parentNode;e&&e.removeChild(t)}var St=r(684),xt=r(813),Pt=r(905),Et=r(661);function At(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Tt=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.domDocuments=new Set,this.domConverter=e,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this.selection=r,this.isFocused=!1,this._inlineFiller=null,this._fakeSelectionContainer=null}var e,r,n;return e=t,(r=[{key:"markToSync",value:function(t,e){if("text"===t)this.domConverter.mapViewToDom(e.parent)&&this.markedTexts.add(e);else{if(!this.domConverter.mapViewToDom(e))return;if("attributes"===t)this.markedAttributes.add(e);else{if("children"!==t)throw new T.b("view-renderer-unknown-type: Unknown type passed to Renderer.markToSync.",this);this.markedChildren.add(e)}}}},{key:"render",value:function(){var t,e=!0,r=!1,n=void 0;try{for(var o,i=this.markedChildren[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._updateChildrenMappings(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?t=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(t=this.selection.getFirstPosition(),this.markedChildren.add(t.parent));var s=!0,u=!1,c=void 0;try{for(var l,f=this.markedAttributes[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;this._updateAttrs(h)}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}var p=!0,d=!1,y=void 0;try{for(var v,b=this.markedChildren[Symbol.iterator]();!(p=(v=b.next()).done);p=!0){var g=v.value;this._updateChildren(g,{inlineFillerPosition:t})}}catch(t){d=!0,y=t}finally{try{p||null==b.return||b.return()}finally{if(d)throw y}}var m=!0,w=!1,k=void 0;try{for(var _,O=this.markedTexts[Symbol.iterator]();!(m=(_=O.next()).done);m=!0){var S=_.value;!this.markedChildren.has(S.parent)&&this.domConverter.mapViewToDom(S.parent)&&this._updateText(S,{inlineFillerPosition:t})}}catch(t){w=!0,k=t}finally{try{m||null==O.return||O.return()}finally{if(w)throw k}}if(t){var x=this.domConverter.viewPositionToDom(t),P=x.parent.ownerDocument;Object(wt.h)(x.parent)?this._inlineFiller=x.parent:this._inlineFiller=Ct(P,x.parent,x.offset)}else this._inlineFiller=null;this._updateSelection(),this._updateFocus(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}},{key:"_updateChildrenMappings",value:function(t){var e=this.domConverter.mapViewToDom(t);if(e){var r=this.domConverter.mapViewToDom(t).childNodes,n=Array.from(this.domConverter.viewChildrenToDom(t,e.ownerDocument,{withChildren:!1})),o=this._diffNodeLists(r,n),i=this._findReplaceActions(o,r,n);if(-1!==i.indexOf("replace")){var a={equal:0,insert:0,delete:0},s=!0,u=!1,c=void 0;try{for(var l,f=i[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;if("replace"===h){var p=a.equal+a.insert,d=a.equal+a.delete,y=t.getChild(p);y&&!y.is("uiElement")&&this._updateElementMappings(y,r[d]),Ot(n[p]),a.equal++}else a[h]++}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}}}}},{key:"_updateElementMappings",value:function(t,e){this.domConverter.unbindDomElement(e),this.domConverter.bindElements(e,t),this.markedChildren.add(t),this.markedAttributes.add(t)}},{key:"_getInlineFillerPosition",value:function(){var t=this.selection.getFirstPosition();return t.parent.is("text")?S.a._createBefore(this.selection.getFirstPosition().parent):t}},{key:"_isSelectionInInlineFiller",value:function(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;var t=this.selection.getFirstPosition(),e=this.domConverter.viewPositionToDom(t);return!!(e&&Object(St.a)(e.parent)&&Object(wt.h)(e.parent))}},{key:"_removeInlineFiller",value:function(){var t=this._inlineFiller;if(!Object(wt.h)(t))throw new T.b("view-renderer-filler-was-lost: The inline filler node was lost.",this);Object(wt.g)(t)?t.parentNode.removeChild(t):t.data=t.data.substr(wt.c),this._inlineFiller=null}},{key:"_needsInlineFillerAtSelection",value:function(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;var t=this.selection.getFirstPosition(),e=t.parent,r=t.offset;if(!this.domConverter.mapViewToDom(e.root))return!1;if(!e.is("element"))return!1;if(!function(t){if("false"==t.getAttribute("contenteditable"))return!1;var e=t.findAncestor((function(t){return t.hasAttribute("contenteditable")}));return!e||"true"==e.getAttribute("contenteditable")}(e))return!1;if(r===e.getFillerOffset())return!1;var n=t.nodeBefore,o=t.nodeAfter;return!(n instanceof st.a||o instanceof st.a)}},{key:"_updateText",value:function(t,e){var r=this.domConverter.findCorrespondingDomText(t),n=this.domConverter.viewToDom(t,r.ownerDocument),o=r.data,i=n.data,a=e.inlineFillerPosition;if(a&&a.parent==t.parent&&a.offset==t.index&&(i=wt.b+i),o!=i){var s=Object(Pt.a)(o,i),u=!0,c=!1,l=void 0;try{for(var f,h=s[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;"insert"===p.type?r.insertData(p.index,p.values.join("")):r.deleteData(p.index,p.howMany)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}}},{key:"_updateAttrs",value:function(t){var e=this.domConverter.mapViewToDom(t);if(e){var r=Array.from(e.attributes).map((function(t){return t.name})),n=t.getAttributeKeys(),o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;e.setAttribute(c,t.getAttribute(c))}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}var l=!0,f=!1,h=void 0;try{for(var p,d=r[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;t.hasAttribute(y)||e.removeAttribute(y)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}}}},{key:"_updateChildren",value:function(t,e){var r=this.domConverter.mapViewToDom(t);if(r){var n=e.inlineFillerPosition,o=this.domConverter.mapViewToDom(t).childNodes,i=Array.from(this.domConverter.viewChildrenToDom(t,r.ownerDocument,{bind:!0,inlineFillerPosition:n}));n&&n.parent===t&&Ct(r.ownerDocument,i,n.offset);var a=this._diffNodeLists(o,i),s=0,u=new Set,c=!0,l=!1,f=void 0;try{for(var h,p=a[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;"insert"===d?(_t(r,s,i[s]),s++):"delete"===d?(u.add(o[s]),Ot(o[s])):(this._markDescendantTextToSync(this.domConverter.domToView(i[s])),s++)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}var y=!0,v=!1,b=void 0;try{for(var g,m=u[Symbol.iterator]();!(y=(g=m.next()).done);y=!0){var w=g.value;w.parentNode||this.domConverter.unbindDomElement(w)}}catch(t){v=!0,b=t}finally{try{y||null==m.return||m.return()}finally{if(v)throw b}}}}},{key:"_diffNodeLists",value:function(t,e){return r=t,n=this._fakeSelectionContainer,o=Array.from(r),t=0!=o.length&&n?(o[o.length-1]==n&&o.pop(),o):o,Object(kt.a)(t,e,Rt.bind(null,this.domConverter));var r,n,o}},{key:"_findReplaceActions",value:function(t,e,r){if(-1===t.indexOf("insert")||-1===t.indexOf("delete"))return t;var n=[],o=[],i=[],a={equal:0,insert:0,delete:0},s=!0,u=!1,c=void 0;try{for(var l,f=t[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;"insert"===h?i.push(r[a.equal+a.insert]):"delete"===h?o.push(e[a.equal+a.delete]):((n=n.concat(Object(kt.a)(o,i,jt).map((function(t){return"equal"===t?"replace":t})))).push("equal"),o=[],i=[]),a[h]++}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}return n.concat(Object(kt.a)(o,i,jt).map((function(t){return"equal"===t?"replace":t})))}},{key:"_markDescendantTextToSync",value:function(t){if(t)if(t.is("text"))this.markedTexts.add(t);else if(t.is("element")){var e=!0,r=!1,n=void 0;try{for(var o,i=t.getChildren()[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._markDescendantTextToSync(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}}},{key:"_updateSelection",value:function(){if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();var t=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&t&&(this.selection.isFake?this._updateFakeSelection(t):(this._removeFakeSelection(),this._updateDomSelection(t)))}},{key:"_updateFakeSelection",value:function(t){var e=t.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(t){var e=t.createElement("div");return Object.assign(e.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),e.textContent=" ",e}(e));var r=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(r,this.selection),this._fakeSelectionNeedsUpdate(t)){r.parentElement&&r.parentElement==t||t.appendChild(r),r.textContent=this.selection.fakeSelectionLabel||" ";var n=e.getSelection(),o=e.createRange();n.removeAllRanges(),o.selectNodeContents(r),n.addRange(o)}}},{key:"_updateDomSelection",value:function(t){var e=t.ownerDocument.defaultView.getSelection();if(this._domSelectionNeedsUpdate(e)){var r=this.domConverter.viewPositionToDom(this.selection.anchor),n=this.domConverter.viewPositionToDom(this.selection.focus);t.focus(),e.collapse(r.parent,r.offset),e.extend(n.parent,n.offset),Et.a.isGecko&&function(t,e){var r=t.parent;if(r.nodeType==Node.ELEMENT_NODE&&t.offset==r.childNodes.length-1){var n=r.childNodes[t.offset];n&&"BR"==n.tagName&&e.addRange(e.getRangeAt(0))}}(n,e)}}},{key:"_domSelectionNeedsUpdate",value:function(t){if(!this.domConverter.isDomSelectionCorrect(t))return!0;var e=t&&this.domConverter.domSelectionToView(t);return!(e&&this.selection.isEqual(e)||!this.selection.isCollapsed&&this.selection.isSimilar(e))}},{key:"_fakeSelectionNeedsUpdate",value:function(t){var e=this._fakeSelectionContainer,r=t.ownerDocument.getSelection();return!e||e.parentElement!==t||r.anchorNode!==e&&!e.contains(r.anchorNode)||e.textContent!==this.selection.fakeSelectionLabel}},{key:"_removeDomSelection",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this.domDocuments[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i=n.value;if(i.getSelection().rangeCount){var a=i.activeElement,s=this.domConverter.mapDomToView(a);a&&s&&i.getSelection().removeAllRanges()}}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}},{key:"_removeFakeSelection",value:function(){var t=this._fakeSelectionContainer;t&&t.remove()}},{key:"_updateFocus",value:function(){if(this.isFocused){var t=this.selection.editableElement;t&&this.domConverter.focus(t)}}}])&&At(e.prototype,r),n&&At(e,n),t}();function Ct(t,e,r){var n=e instanceof Array?e:e.childNodes,o=n[r];if(Object(St.a)(o))return o.data=wt.b+o.data,o;var i=t.createTextNode(wt.b);return Array.isArray(e)?n.splice(r,0,i):_t(e,r,i),i}function jt(t,e){return Object(xt.a)(t)&&Object(xt.a)(e)&&!Object(St.a)(t)&&!Object(St.a)(e)&&t.tagName.toLowerCase()===e.tagName.toLowerCase()}function Rt(t,e,r){return e===r||(Object(St.a)(e)&&Object(St.a)(r)?e.data===r.data:!(!t.isBlockFiller(e)||!t.isBlockFiller(r)))}Object(w.a)(Tt,k.a);var Dt=r(870),Nt=r(662),qt=r(1132);var Bt=function(t,e,r){var n=(r="function"==typeof r?r:void 0)?r(t,e):void 0;return void 0===n?Object(qt.a)(t,e,void 0,r):!!n};function It(t){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Mt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vt(t,e,r){return(Vt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ft(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ut(t,e){return(Ut=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var zt=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=function(t,e){return!e||"object"!==It(e)&&"function"!=typeof e?Mt(t):e}(this,Ft(e).call(this,t)))._config={childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},r.domConverter=t.domConverter,r.renderer=t._renderer,r._domElements=[],r._mutationObserver=new window.MutationObserver(r._onMutations.bind(Mt(r))),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ut(t,e)}(e,t),r=e,(n=[{key:"flush",value:function(){this._onMutations(this._mutationObserver.takeRecords())}},{key:"observe",value:function(t){this._domElements.push(t),this.isEnabled&&this._mutationObserver.observe(t,this._config)}},{key:"enable",value:function(){Vt(Ft(e.prototype),"enable",this).call(this);var t=!0,r=!1,n=void 0;try{for(var o,i=this._domElements[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;this._mutationObserver.observe(a,this._config)}}catch(t){r=!0,n=t}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"disable",value:function(){Vt(Ft(e.prototype),"disable",this).call(this),this._mutationObserver.disconnect()}},{key:"destroy",value:function(){Vt(Ft(e.prototype),"destroy",this).call(this),this._mutationObserver.disconnect()}},{key:"_onMutations",value:function(t){if(0!==t.length){var e=this.domConverter,r=new Map,n=new Set,o=!0,i=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("childList"===c.type){var l=e.mapDomToView(c.target);if(l&&l.is("uiElement"))continue;l&&!this._isBogusBrMutation(c)&&n.add(l)}}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}var f=!0,h=!1,p=void 0;try{for(var d,y=t[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value,b=e.mapDomToView(v.target);if(!(b&&b.is("uiElement")||"characterData"!==v.type)){var g=e.findCorrespondingViewText(v.target);g&&!n.has(g.parent)?r.set(g,{type:"text",oldText:g.data,newText:Object(wt.e)(v.target),node:g}):!g&&Object(wt.h)(v.target)&&n.add(e.mapDomToView(v.target.parentNode))}}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}var m=[],w=!0,k=!1,_=void 0;try{for(var O,S=r.values()[Symbol.iterator]();!(w=(O=S.next()).done);w=!0){var x=O.value;this.renderer.markToSync("text",x.node),m.push(x)}}catch(t){k=!0,_=t}finally{try{w||null==S.return||S.return()}finally{if(k)throw _}}var E=!0,A=!1,T=void 0;try{for(var C,j=n[Symbol.iterator]();!(E=(C=j.next()).done);E=!0){var R=C.value,D=e.mapViewToDom(R),N=Array.from(R.getChildren()),q=Array.from(e.domChildrenToView(D,{withChildren:!1}));Bt(N,q,V)||(this.renderer.markToSync("children",R),m.push({type:"children",oldChildren:N,newChildren:q,node:R}))}}catch(t){A=!0,T=t}finally{try{E||null==j.return||j.return()}finally{if(A)throw T}}var B=t[0].target.ownerDocument.getSelection(),I=null;if(B&&B.anchorNode){var L=e.domPositionToView(B.anchorNode,B.anchorOffset),M=e.domPositionToView(B.focusNode,B.focusOffset);L&&M&&(I=new P.a(L)).setFocus(M)}this.document.fire("mutations",m,I),this.view.forceRender()}function V(t,e){if(!Array.isArray(t))return t===e||!(!t.is("text")||!e.is("text"))&&t.data===e.data}}},{key:"_isBogusBrMutation",value:function(t){var e=null;return null===t.nextSibling&&0===t.removedNodes.length&&1==t.addedNodes.length&&(e=this.domConverter.domToView(t.addedNodes[0],{withChildren:!1})),e&&e.is("element","br")}}])&&Lt(r.prototype,n),o&&Lt(r,o),e}(Nt.a),Ht=r(663);function Gt(t){return(Gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Wt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Jt(t,e){return!e||"object"!==Gt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Yt(t){return(Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Kt(t,e){return(Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var $t=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Jt(this,Yt(e).call(this,t))).domEventType=["keydown","keyup"],r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kt(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){this.fire(t.type,t,{keyCode:t.keyCode,altKey:t.altKey,ctrlKey:t.ctrlKey||t.metaKey,shiftKey:t.shiftKey,get keystroke(){return Object(K.a)(this)}})}}])&&Wt(r.prototype,n),o&&Wt(r,o),e}(Ht.a),Qt=r(638),Xt=r(625),Zt=function(){return Xt.a.Date.now()},te=r(907),ee=NaN,re=/^\s+|\s+$/g,ne=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ie=/^0o[0-7]+$/i,ae=parseInt;var se=function(t){if("number"==typeof t)return t;if(Object(te.a)(t))return ee;if(Object(Qt.a)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(Qt.a)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(re,"");var r=oe.test(t);return r||ie.test(t)?ae(t.slice(2),r?2:8):ne.test(t)?ee:+t},ue="Expected a function",ce=Math.max,le=Math.min;var fe=function(t,e,r){var n,o,i,a,s,u,c=0,l=!1,f=!1,h=!0;if("function"!=typeof t)throw new TypeError(ue);function p(e){var r=n,i=o;return n=o=void 0,c=e,a=t.apply(i,r)}function d(t){var r=t-u;return void 0===u||r>=e||r<0||f&&t-c>=i}function y(){var t=Zt();if(d(t))return v(t);s=setTimeout(y,function(t){var r=e-(t-u);return f?le(r,i-(t-c)):r}(t))}function v(t){return s=void 0,h&&n?p(t):(n=o=void 0,a)}function b(){var t=Zt(),r=d(t);if(n=arguments,o=this,u=t,r){if(void 0===s)return function(t){return c=t,s=setTimeout(y,e),l?p(t):a}(u);if(f)return clearTimeout(s),s=setTimeout(y,e),p(u)}return void 0===s&&(s=setTimeout(y,e)),a}return e=se(e)||0,Object(Qt.a)(r)&&(l=!!r.leading,i=(f="maxWait"in r)?ce(se(r.maxWait)||0,e):i,h="trailing"in r?!!r.trailing:h),b.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=u=o=s=void 0},b.flush=function(){return void 0===s?a:v(Zt())},b};function he(t){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function de(t,e){return!e||"object"!==he(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ye(t,e,r){return(ye="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ve(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ve(t){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function be(t,e){return(be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ge=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=de(this,ve(e).call(this,t)))._fireSelectionChangeDoneDebounced=fe((function(t){return r.document.fire("selectionChangeDone",t)}),200),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&be(t,e)}(e,t),r=e,(n=[{key:"observe",value:function(){var t=this,e=this.document;e.on("keydown",(function(r,n){var o;e.selection.isFake&&((o=n.keyCode)==K.c.arrowright||o==K.c.arrowleft||o==K.c.arrowup||o==K.c.arrowdown)&&t.isEnabled&&(n.preventDefault(),t._handleSelectionMove(n.keyCode))}),{priority:"lowest"})}},{key:"destroy",value:function(){ye(ve(e.prototype),"destroy",this).call(this),this._fireSelectionChangeDoneDebounced.cancel()}},{key:"_handleSelectionMove",value:function(t){var e=this.document.selection,r=new P.a(e.getRanges(),{backward:e.isBackward,fake:!1});t!=K.c.arrowleft&&t!=K.c.arrowup||r.setTo(r.getFirstPosition()),t!=K.c.arrowright&&t!=K.c.arrowdown||r.setTo(r.getLastPosition());var n={oldSelection:e,newSelection:r,domSelection:null};this.document.fire("selectionChange",n),this._fireSelectionChangeDoneDebounced(n)}}])&&pe(r.prototype,n),o&&pe(r,o),e}(Nt.a);function me(t){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function we(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ke(t,e){return!e||"object"!==me(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _e(t,e,r){return(_e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Oe(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Oe(t){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Se(t,e){return(Se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var xe=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ke(this,Oe(e).call(this,t))).mutationObserver=t.getObserver(zt),r.selection=r.document.selection,r.domConverter=t.domConverter,r._documents=new WeakSet,r._fireSelectionChangeDoneDebounced=fe((function(t){return r.document.fire("selectionChangeDone",t)}),200),r._clearInfiniteLoopInterval=setInterval((function(){return r._clearInfiniteLoop()}),1e3),r._loopbackCounter=0,r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Se(t,e)}(e,t),r=e,(n=[{key:"observe",value:function(t){var e=this,r=t.ownerDocument;this._documents.has(r)||(this.listenTo(r,"selectionchange",(function(){e._handleSelectionChange(r)})),this._documents.add(r))}},{key:"destroy",value:function(){_e(Oe(e.prototype),"destroy",this).call(this),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel()}},{key:"_handleSelectionChange",value:function(t){if(this.isEnabled&&(this.document.isFocused||this.document.isReadOnly)){this.mutationObserver.flush();var e=t.defaultView.getSelection(),r=this.domConverter.domSelectionToView(e);if(!(this.selection.isEqual(r)&&this.domConverter.isDomSelectionCorrect(e)||++this._loopbackCounter>60))if(this.selection.isSimilar(r))this.view.forceRender();else{var n={oldSelection:this.selection,newSelection:r,domSelection:e};this.document.fire("selectionChange",n),this._fireSelectionChangeDoneDebounced(n)}}}},{key:"_clearInfiniteLoop",value:function(){this._loopbackCounter=0}}])&&we(r.prototype,n),o&&we(r,o),e}(Nt.a);function Pe(t){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ee(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ae(t,e){return!e||"object"!==Pe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Te(t,e,r){return(Te="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ce(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Ce(t){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function je(t,e){return(je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Re=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ae(this,Ce(e).call(this,t))).domEventType=["focus","blur"],r.useCapture=!0;var n=r.document;return n.on("focus",(function(){n.isFocused=!0,r._renderTimeoutId=setTimeout((function(){return t.forceRender()}),50)})),n.on("blur",(function(e,r){var o=n.selection.editableElement;null!==o&&o!==r.target||(n.isFocused=!1,t.forceRender())})),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&je(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){this.fire(t.type,t)}},{key:"destroy",value:function(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),Te(Ce(e.prototype),"destroy",this).call(this)}}])&&Ee(r.prototype,n),o&&Ee(r,o),e}(Ht.a);function De(t){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function qe(t,e){return!e||"object"!==De(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Be(t){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ie(t,e){return(Ie=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Le=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=qe(this,Be(e).call(this,t))).domEventType=["compositionstart","compositionupdate","compositionend"];var n=r.document;return n.on("compositionstart",(function(){n.isComposing=!0})),n.on("compositionend",(function(){n.isComposing=!1})),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ie(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){this.fire(t.type,t)}}])&&Ne(r.prototype,n),o&&Ne(r,o),e}(Ht.a);function Me(t){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ve(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Fe(t,e){return!e||"object"!==Me(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ue(t){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ze(t,e){return(ze=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md.
 */var He=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Fe(this,Ue(e).call(this,t))).domEventType=["beforeinput"],r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ze(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){this.fire(t.type,t)}}])&&Ve(r.prototype,n),o&&Ve(r,o),e}(Ht.a),Ge=r(815),We=r(664);function Je(t){for(var e=t.target,r=t.viewportOffset,n=void 0===r?0:r,o=tr(e),i=o,a=null;i;){Ke(er(i==o?e:a),(function(){return rr(e,i)}));var s=rr(e,i);if(Ye(i,s,n),i.parent!=i){if(a=i.frameElement,i=i.parent,!a)return}else i=null}}function Ye(t,e,r){var n=e.clone().moveBy(0,r),o=e.clone().moveBy(0,-r),i=new We.a(t).excludeScrollbarsAndBorders();if(![o,n].every((function(t){return i.contains(t)}))){var a=t.scrollX,s=t.scrollY;Qe(o,i)?s-=i.top-e.top+r:$e(n,i)&&(s+=e.bottom-i.bottom+r),Xe(e,i)?a-=i.left-e.left+r:Ze(e,i)&&(a+=e.right-i.right+r),t.scrollTo(a,s)}}function Ke(t,e){for(var r,n,o=tr(t);t!=o.document.body;)n=e(),(r=new We.a(t).excludeScrollbarsAndBorders()).contains(n)||(Qe(n,r)?t.scrollTop-=r.top-n.top:$e(n,r)&&(t.scrollTop+=n.bottom-r.bottom),Xe(n,r)?t.scrollLeft-=r.left-n.left:Ze(n,r)&&(t.scrollLeft+=n.right-r.right)),t=t.parentNode}function $e(t,e){return t.bottom>e.bottom}function Qe(t,e){return t.top<e.top}function Xe(t,e){return t.left<e.left}function Ze(t,e){return t.right>e.right}function tr(t){return Object(Ge.a)(t)?t.startContainer.ownerDocument.defaultView:t.ownerDocument.defaultView}function er(t){if(Object(Ge.a)(t)){var e=t.commonAncestorContainer;return Object(St.a)(e)&&(e=e.parentNode),e}return t.parentNode}function rr(t,e){var r=tr(t),n=new We.a(t);if(r===e)return n;for(var o=r;o!=e;){var i=o.frameElement,a=new We.a(i).excludeScrollbarsAndBorders();n.moveBy(a.left,a.top),o=o.parent}return n}function nr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.assign({},{scrollViewportToShowTarget:Je,scrollAncestorsToShowTarget:function(t){Ke(er(t),(function(){return new We.a(t)}))}});
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var ir=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.document=new O,this.domConverter=new Dt.a,this.domRoots=new Map,this.set("isRenderingInProgress",!1),this._renderer=new Tt(this.domConverter,this.document.selection),this._renderer.bind("isFocused").to(this.document),this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this._writer=new lt(this.document),this.addObserver(zt),this.addObserver(xe),this.addObserver(Re),this.addObserver($t),this.addObserver(ge),this.addObserver(Le),Et.a.isAndroid&&this.addObserver(He),Object(wt.f)(this),nt(this),this.on("render",(function(){e._render(),e.document.fire("layoutChanged"),e._hasChangedSinceTheLastRendering=!1})),this.listenTo(this.document.selection,"change",(function(){e._hasChangedSinceTheLastRendering=!0}))}var e,r,n;return e=t,(r=[{key:"attachDomRoot",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main",n=this.document.getRoot(r);n._name=t.tagName.toLowerCase();for(var o={},i=0,a=Array.from(t.attributes);i<a.length;i++){var s=a[i],u=s.name,c=s.value;o[u]=c,"class"===u?this._writer.addClass(c.split(" "),n):this._writer.setAttribute(u,c,n)}this._initialDomRootAttributes.set(t,o);var l=function(){e._writer.setAttribute("contenteditable",!n.isReadOnly,n),n.isReadOnly?e._writer.addClass("ck-read-only",n):e._writer.removeClass("ck-read-only",n)};l(),this.domRoots.set(r,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",(function(t,r){return e._renderer.markToSync("children",r)})),n.on("change:attributes",(function(t,r){return e._renderer.markToSync("attributes",r)})),n.on("change:text",(function(t,r){return e._renderer.markToSync("text",r)})),n.on("change:isReadOnly",(function(){return e.change(l)})),n.on("change",(function(){e._hasChangedSinceTheLastRendering=!0}));var f=!0,h=!1,p=void 0;try{for(var d,y=this._observers.values()[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value;v.observe(t,r)}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}}},{key:"detachDomRoot",value:function(t){var e=this.domRoots.get(t);Array.from(e.attributes).forEach((function(t){var r=t.name;return e.removeAttribute(r)}));var r=this._initialDomRootAttributes.get(e);for(var n in r)e.setAttribute(n,r[n]);this.domRoots.delete(t),this.domConverter.unbindDomElement(e)}},{key:"getDomRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.domRoots.get(t)}},{key:"addObserver",value:function(t){var e=this._observers.get(t);if(e)return e;e=new t(this),this._observers.set(t,e);var r=!0,n=!1,o=void 0;try{for(var i,a=this.domRoots[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=nr(i.value,2),u=s[0],c=s[1];e.observe(c,u)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e.enable(),e}},{key:"getObserver",value:function(t){return this._observers.get(t)}},{key:"disableObservers",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this._observers.values()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)n.value.disable()}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}},{key:"enableObservers",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this._observers.values()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)n.value.enable()}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}},{key:"scrollToTheSelection",value:function(){var t=this.document.selection.getFirstRange();t&&Je({target:this.domConverter.viewRangeToDom(t),viewportOffset:20})}},{key:"focus",value:function(){if(!this.document.isFocused){var t=this.document.selection.editableElement;t&&(this.domConverter.focus(t),this.forceRender())}}},{key:"change",value:function(t){if(this.isRenderingInProgress||this._postFixersInProgress)throw new T.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=!0;var e=t(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),e}catch(t){T.b.rethrowUnexpectedError(t,this)}}},{key:"forceRender",value:function(){this._hasChangedSinceTheLastRendering=!0,this.change((function(){}))}},{key:"destroy",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this._observers.values()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)n.value.destroy()}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}this.document.destroy(),this.stopListening()}},{key:"createPositionAt",value:function(t,e){return S.a._createAt(t,e)}},{key:"createPositionAfter",value:function(t){return S.a._createAfter(t)}},{key:"createPositionBefore",value:function(t){return S.a._createBefore(t)}},{key:"createRange",value:function(t,e){return new x.a(t,e)}},{key:"createRangeOn",value:function(t){return x.a._createOn(t)}},{key:"createRangeIn",value:function(t){return x.a._createIn(t)}},{key:"createSelection",value:function(t,e,r){return new P.a(t,e,r)}},{key:"_disableRendering",value:function(t){this._renderingDisabled=t,0==t&&this.change((function(){}))}},{key:"_render",value:function(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}])&&or(e.prototype,r),n&&or(e,n),t}();Object(w.a)(ir,k.a);var ar=r(622),sr=r(619),ur=r(621);function cr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var lr=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),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",(function(t,r){if(!r.viewPosition){var n=e._modelToViewMapping.get(r.modelPosition.parent);r.viewPosition=e._findPositionIn(n,r.modelPosition.offset)}}),{priority:"low"}),this.on("viewToModelPosition",(function(t,r){if(!r.modelPosition){var n=e.findMappedViewAncestor(r.viewPosition),o=e._viewToModelMapping.get(n),i=e._toModelOffset(r.viewPosition.parent,r.viewPosition.offset,n);r.modelPosition=ar.a._createAt(o,i)}}),{priority:"low"})}var e,r,n;return e=t,(r=[{key:"bindElements",value:function(t,e){this._modelToViewMapping.set(t,e),this._viewToModelMapping.set(e,t)}},{key:"unbindViewElement",value:function(t){var e=this.toModelElement(t);if(this._viewToModelMapping.delete(t),this._elementToMarkerNames.has(t)){var r=!0,n=!1,o=void 0;try{for(var i,a=this._elementToMarkerNames.get(t)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;this._unboundMarkerNames.add(s)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}this._modelToViewMapping.get(e)==t&&this._modelToViewMapping.delete(e)}},{key:"unbindModelElement",value:function(t){var e=this.toViewElement(t);this._modelToViewMapping.delete(t),this._viewToModelMapping.get(e)==t&&this._viewToModelMapping.delete(e)}},{key:"bindElementToMarker",value:function(t,e){var r=this._markerNameToElements.get(e)||new Set;r.add(t);var n=this._elementToMarkerNames.get(t)||new Set;n.add(e),this._markerNameToElements.set(e,r),this._elementToMarkerNames.set(t,n)}},{key:"unbindElementFromMarkerName",value:function(t,e){var r=this._markerNameToElements.get(e);r&&(r.delete(t),0==r.size&&this._markerNameToElements.delete(e));var n=this._elementToMarkerNames.get(t);n&&(n.delete(e),0==n.size&&this._elementToMarkerNames.delete(t))}},{key:"flushUnboundMarkerNames",value:function(){var t=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),t}},{key:"clearBindings",value:function(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set}},{key:"toModelElement",value:function(t){return this._viewToModelMapping.get(t)}},{key:"toViewElement",value:function(t){return this._modelToViewMapping.get(t)}},{key:"toModelRange",value:function(t){return new sr.a(this.toModelPosition(t.start),this.toModelPosition(t.end))}},{key:"toViewRange",value:function(t){return new x.a(this.toViewPosition(t.start),this.toViewPosition(t.end))}},{key:"toModelPosition",value:function(t){var e={viewPosition:t,mapper:this};return this.fire("viewToModelPosition",e),e.modelPosition}},{key:"toViewPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isPhantom:!1},r={modelPosition:t,mapper:this,isPhantom:e.isPhantom};return this.fire("modelToViewPosition",r),r.viewPosition}},{key:"markerNameToElements",value:function(t){var e=this._markerNameToElements.get(t);if(!e)return null;var r=new Set,n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(u.is("attributeElement")){var c=!0,l=!1,f=void 0;try{for(var h,p=u.getElementsWithSameId()[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;r.add(d)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}else r.add(u)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},{key:"registerViewToModelLength",value:function(t,e){this._viewToModelLengthCallbacks.set(t,e)}},{key:"findMappedViewAncestor",value:function(t){for(var e=t.parent;!this._viewToModelMapping.has(e);)e=e.parent;return e}},{key:"_toModelOffset",value:function(t,e,r){if(r!=t)return this._toModelOffset(t.parent,t.index,r)+this._toModelOffset(t,e,t);if(t.is("text"))return e;for(var n=0,o=0;o<e;o++)n+=this.getModelLength(t.getChild(o));return n}},{key:"getModelLength",value:function(t){if(this._viewToModelLengthCallbacks.get(t.name))return this._viewToModelLengthCallbacks.get(t.name)(t);if(this._viewToModelMapping.has(t))return 1;if(t.is("text"))return t.data.length;if(t.is("uiElement"))return 0;var e=0,r=!0,n=!1,o=void 0;try{for(var i,a=t.getChildren()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e+=this.getModelLength(s)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}},{key:"_findPositionIn",value:function(t,e){var r,n=0,o=0,i=0;if(t.is("text"))return new S.a(t,e);for(;o<e;)r=t.getChild(i),o+=n=this.getModelLength(r),i++;return o==e?this._moveViewPositionToTextNode(new S.a(t,i)):this._findPositionIn(r,e-(o-n))}},{key:"_moveViewPositionToTextNode",value:function(t){var e=t.nodeBefore,r=t.nodeAfter;return e instanceof st.a?new S.a(e,e.data.length):r instanceof st.a?new S.a(r,0):t}}])&&cr(e.prototype,r),n&&cr(e,n),t}();Object(w.a)(lr,ur.c);var fr=r(665);function hr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var pr=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._consumable=new Map,this._textProxyRegistry=new Map}var e,r,n;return e=t,(r=[{key:"add",value:function(t,e){e=dr(e),t instanceof fr.a&&(t=this._getSymbolForTextProxy(t)),this._consumable.has(t)||this._consumable.set(t,new Map),this._consumable.get(t).set(e,!0)}},{key:"consume",value:function(t,e){return e=dr(e),t instanceof fr.a&&(t=this._getSymbolForTextProxy(t)),!!this.test(t,e)&&(this._consumable.get(t).set(e,!1),!0)}},{key:"test",value:function(t,e){e=dr(e),t instanceof fr.a&&(t=this._getSymbolForTextProxy(t));var r=this._consumable.get(t);if(void 0===r)return null;var n=r.get(e);return void 0===n?null:n}},{key:"revert",value:function(t,e){e=dr(e),t instanceof fr.a&&(t=this._getSymbolForTextProxy(t));var r=this.test(t,e);return!1===r?(this._consumable.get(t).set(e,!0),!0):!0!==r&&null}},{key:"_getSymbolForTextProxy",value:function(t){var e=null,r=this._textProxyRegistry.get(t.startOffset);if(r){var n=r.get(t.endOffset);n&&(e=n.get(t.parent))}return e||(e=this._addSymbolForTextProxy(t.startOffset,t.endOffset,t.parent)),e}},{key:"_addSymbolForTextProxy",value:function(t,e,r){var n,o,i=Symbol("textProxySymbol");return(n=this._textProxyRegistry.get(t))||(n=new Map,this._textProxyRegistry.set(t,n)),(o=n.get(e))||(o=new Map,n.set(e,o)),o.set(r,i),i}}])&&hr(e.prototype,r),n&&hr(e,n),t}();function dr(t){var e=t.split(":");return e.length>1?e[0]+":"+e[1]:e[0]}var yr=r(1488);function vr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var br=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.conversionApi=Object(yr.a)({dispatcher:this},e)}var e,r,n;return e=t,(r=[{key:"convertChanges",value:function(t,e,r){var n=!0,o=!1,i=void 0;try{for(var a,s=t.getMarkersToRemove()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;this.convertMarkerRemove(u.name,u.range,r)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}var c=!0,l=!1,f=void 0;try{for(var h,p=t.getChanges()[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;"insert"==d.type?this.convertInsert(sr.a._createFromPositionAndShift(d.position,d.length),r):"remove"==d.type?this.convertRemove(d.position,d.length,d.name,r):this.convertAttribute(d.range,d.attributeKey,d.attributeOldValue,d.attributeNewValue,r)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}var y=!0,v=!1,b=void 0;try{for(var g,m=this.conversionApi.mapper.flushUnboundMarkerNames()[Symbol.iterator]();!(y=(g=m.next()).done);y=!0){var w=g.value,k=e.get(w).getRange();this.convertMarkerRemove(w,k,r),this.convertMarkerAdd(w,k,r)}}catch(t){v=!0,b=t}finally{try{y||null==m.return||m.return()}finally{if(v)throw b}}var _=!0,O=!1,S=void 0;try{for(var x,P=t.getMarkersToAdd()[Symbol.iterator]();!(_=(x=P.next()).done);_=!0){var E=x.value;this.convertMarkerAdd(E.name,E.range,r)}}catch(t){O=!0,S=t}finally{try{_||null==P.return||P.return()}finally{if(O)throw S}}}},{key:"convertInsert",value:function(t,e){this.conversionApi.writer=e,this.conversionApi.consumable=this._createInsertConsumable(t);var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=s.item,c={item:u,range:sr.a._createFromPositionAndShift(s.previousPosition,s.length)};this._testAndFire("insert",c);var l=!0,f=!1,h=void 0;try{for(var p,d=u.getAttributeKeys()[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;c.attributeKey=y,c.attributeOldValue=null,c.attributeNewValue=u.getAttribute(y),this._testAndFire("attribute:".concat(y),c)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}this._clearConversionApi()}},{key:"convertRemove",value:function(t,e,r,n){this.conversionApi.writer=n,this.fire("remove:"+r,{position:t,length:e},this.conversionApi),this._clearConversionApi()}},{key:"convertAttribute",value:function(t,e,r,n,o){this.conversionApi.writer=o,this.conversionApi.consumable=this._createConsumableForRange(t,"attribute:".concat(e));var i=!0,a=!1,s=void 0;try{for(var u,c=t[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value,f={item:l.item,range:sr.a._createFromPositionAndShift(l.previousPosition,l.length),attributeKey:e,attributeOldValue:r,attributeNewValue:n};this._testAndFire("attribute:".concat(e),f)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}this._clearConversionApi()}},{key:"convertSelection",value:function(t,e,r){var n=Array.from(e.getMarkersAtPosition(t.getFirstPosition()));if(this.conversionApi.writer=r,this.conversionApi.consumable=this._createSelectionConsumable(t,n),this.fire("selection",{selection:t},this.conversionApi),t.isCollapsed){for(var o=0,i=n;o<i.length;o++){var a=i[o],s=a.getRange();if(gr(t.getFirstPosition(),a,this.conversionApi.mapper)){var u={item:t,markerName:a.name,markerRange:s};this.conversionApi.consumable.test(t,"addMarker:"+a.name)&&this.fire("addMarker:"+a.name,u,this.conversionApi)}}var c=!0,l=!1,f=void 0;try{for(var h,p=t.getAttributeKeys()[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value,y={item:t,range:t.getFirstRange(),attributeKey:d,attributeOldValue:null,attributeNewValue:t.getAttribute(d)};this.conversionApi.consumable.test(t,"attribute:"+y.attributeKey)&&this.fire("attribute:"+y.attributeKey+":$text",y,this.conversionApi)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}this._clearConversionApi()}}},{key:"convertMarkerAdd",value:function(t,e,r){if(e.root.document&&"$graveyard"!=e.root.rootName){this.conversionApi.writer=r;var n="addMarker:"+t,o=new pr;if(o.add(e,n),this.conversionApi.consumable=o,this.fire(n,{markerName:t,markerRange:e},this.conversionApi),o.test(e,n)){this.conversionApi.consumable=this._createConsumableForRange(e,n);var i=!0,a=!1,s=void 0;try{for(var u,c=e.getItems()[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;if(this.conversionApi.consumable.test(l,n)){var f={item:l,range:sr.a._createOn(l),markerName:t,markerRange:e};this.fire(n,f,this.conversionApi)}}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}this._clearConversionApi()}}}},{key:"convertMarkerRemove",value:function(t,e,r){e.root.document&&"$graveyard"!=e.root.rootName&&(this.conversionApi.writer=r,this.fire("removeMarker:"+t,{markerName:t,markerRange:e},this.conversionApi),this._clearConversionApi())}},{key:"_createInsertConsumable",value:function(t){var e=new pr,r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value.item;e.add(s,"insert");var u=!0,c=!1,l=void 0;try{for(var f,h=s.getAttributeKeys()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;e.add(s,"attribute:"+p)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}},{key:"_createConsumableForRange",value:function(t,e){var r=new pr,n=!0,o=!1,i=void 0;try{for(var a,s=t.getItems()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;r.add(u,e)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},{key:"_createSelectionConsumable",value:function(t,e){var r=new pr;r.add(t,"selection");var n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;r.add(t,"addMarker:"+u.name)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}var c=!0,l=!1,f=void 0;try{for(var h,p=t.getAttributeKeys()[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;r.add(t,"attribute:"+d)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}return r}},{key:"_testAndFire",value:function(t,e){if(this.conversionApi.consumable.test(e.item,t)){var r=e.item.name||"$text";this.fire(t+":"+r,e,this.conversionApi)}}},{key:"_clearConversionApi",value:function(){delete this.conversionApi.writer,delete this.conversionApi.consumable}}])&&vr(e.prototype,r),n&&vr(e,n),t}();function gr(t,e,r){var n=e.getRange(),o=Array.from(t.getAncestors());return o.shift(),o.reverse(),!o.some((function(t){if(n.containsItem(t))return!!r.toViewElement(t).getCustomProperty("addHighlight")}))}Object(w.a)(br,ur.c);var mr=r(626),wr=r(686);function kr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var _r=function(){function t(e,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._lastRangeBackward=!1,this._ranges=[],this._attrs=new Map,e&&this.setTo(e,r,n)}var e,r,n;return e=t,(r=[{key:"isEqual",value:function(t){if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;var e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=!1,u=!0,c=!1,l=void 0;try{for(var f,h=t._ranges[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;if(a.isEqual(p)){s=!0;break}}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}if(!s)return!1}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return!0}},{key:"getRanges",value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=!0,r=!1,n=void 0,t.prev=3,o=this._ranges[Symbol.iterator]();case 5:if(e=(i=o.next()).done){t.next=12;break}return a=i.value,t.next=9,new sr.a(a.start,a.end);case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),r=!0,n=t.t0;case 18:t.prev=18,t.prev=19,e||null==o.return||o.return();case 21:if(t.prev=21,!r){t.next=24;break}throw n;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}}),t,this,[[3,14,18,26],[19,,21,25]])}))},{key:"getFirstRange",value:function(){var t=null,e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;t&&!a.start.isBefore(t.start)||(t=a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t?new sr.a(t.start,t.end):null}},{key:"getLastRange",value:function(){var t=null,e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;t&&!a.end.isAfter(t.end)||(t=a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t?new sr.a(t.start,t.end):null}},{key:"getFirstPosition",value:function(){var t=this.getFirstRange();return t?t.start.clone():null}},{key:"getLastPosition",value:function(){var t=this.getLastRange();return t?t.end.clone():null}},{key:"setTo",value:function(e,r,n){if(null===e)this._setRanges([]);else if(e instanceof t)this._setRanges(e.getRanges(),e.isBackward);else if(e&&"function"==typeof e.getRanges)this._setRanges(e.getRanges(),e.isBackward);else if(e instanceof sr.a)this._setRanges([e],!!r&&!!r.backward);else if(e instanceof ar.a)this._setRanges([new sr.a(e)]);else if(e instanceof wr.a){var o,i=!!n&&!!n.backward;if("in"==r)o=sr.a._createIn(e);else if("on"==r)o=sr.a._createOn(e);else{if(void 0===r)throw new T.b("model-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.",[this,e]);o=new sr.a(ar.a._createAt(e,r))}this._setRanges([o],i)}else{if(!Object(at.a)(e))throw new T.b("model-selection-setTo-not-selectable: Cannot set the selection to the given place.",[this,e]);this._setRanges(e,r&&!!r.backward)}}},{key:"_setRanges",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(t=Array.from(t)).some((function(r){if(!(r instanceof sr.a))throw new T.b("model-selection-set-ranges-not-range: Selection range set to an object that is not an instance of model.Range.",[e,t]);return e._ranges.every((function(t){return!t.isEqual(r)}))}));if(t.length!==this._ranges.length||n){this._removeAllRanges();var o=!0,i=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;this._pushRange(c)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}this._lastRangeBackward=!!r,this.fire("change:range",{directChange:!0})}}},{key:"setFocus",value:function(t,e){if(null===this.anchor)throw new T.b("model-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.",[this,t]);var r=ar.a._createAt(t,e);if("same"!=r.compareWith(this.focus)){var n=this.anchor;this._ranges.length&&this._popRange(),"before"==r.compareWith(n)?(this._pushRange(new sr.a(r,n)),this._lastRangeBackward=!0):(this._pushRange(new sr.a(n,r)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}}},{key:"getAttribute",value:function(t){return this._attrs.get(t)}},{key:"getAttributes",value:function(){return this._attrs.entries()}},{key:"getAttributeKeys",value:function(){return this._attrs.keys()}},{key:"hasAttribute",value:function(t){return this._attrs.has(t)}},{key:"removeAttribute",value:function(t){this.hasAttribute(t)&&(this._attrs.delete(t),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}},{key:"setAttribute",value:function(t,e){this.getAttribute(t)!==e&&(this._attrs.set(t,e),this.fire("change:attribute",{attributeKeys:[t],directChange:!0}))}},{key:"getSelectedElement",value:function(){if(1!==this.rangeCount)return null;var t=this.getFirstRange(),e=t.start.nodeAfter,r=t.end.nodeBefore;return e instanceof mr.a&&e==r?e:null}},{key:"is",value:function(t){return"selection"==t||"model:selection"==t}},{key:"getSelectedBlocks",value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a,s,u,c,l,f,h,p,d,y,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=new WeakSet,r=!0,n=!1,o=void 0,t.prev=4,i=this.getRanges()[Symbol.iterator]();case 6:if(r=(a=i.next()).done){t.next=47;break}if(s=a.value,!(u=xr(s.start,e))||!Pr(u,s)){t.next=12;break}return t.next=12,u;case 12:c=!0,l=!1,f=void 0,t.prev=15,h=s.getWalker()[Symbol.iterator]();case 17:if(c=(p=h.next()).done){t.next=26;break}if(d=p.value,y=d.item,"elementEnd"!=d.type||!Sr(y,e,s)){t.next=23;break}return t.next=23,y;case 23:c=!0,t.next=17;break;case 26:t.next=32;break;case 28:t.prev=28,t.t0=t.catch(15),l=!0,f=t.t0;case 32:t.prev=32,t.prev=33,c||null==h.return||h.return();case 35:if(t.prev=35,!l){t.next=38;break}throw f;case 38:return t.finish(35);case 39:return t.finish(32);case 40:if(!(v=xr(s.end,e))||s.end.isTouching(ar.a._createAt(v,0))||!Pr(v,s)){t.next=44;break}return t.next=44,v;case 44:r=!0,t.next=6;break;case 47:t.next=53;break;case 49:t.prev=49,t.t1=t.catch(4),n=!0,o=t.t1;case 53:t.prev=53,t.prev=54,r||null==i.return||i.return();case 56:if(t.prev=56,!n){t.next=59;break}throw o;case 59:return t.finish(56);case 60:return t.finish(53);case 61:case"end":return t.stop()}}),t,this,[[4,49,53,61],[15,28,32,40],[33,,35,39],[54,,56,60]])}))},{key:"containsEntireContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.anchor.root,e=ar.a._createAt(t,0),r=ar.a._createAt(t,"end");return e.isTouching(this.getFirstPosition())&&r.isTouching(this.getLastPosition())}},{key:"_pushRange",value:function(t){this._checkRange(t),this._ranges.push(new sr.a(t.start,t.end))}},{key:"_checkRange",value:function(t){for(var e=0;e<this._ranges.length;e++)if(t.isIntersecting(this._ranges[e]))throw new T.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]})}},{key:"_removeAllRanges",value:function(){for(;this._ranges.length>0;)this._popRange()}},{key:"_popRange",value:function(){this._ranges.pop()}},{key:"anchor",get:function(){if(this._ranges.length>0){var t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.end:t.start}return null}},{key:"focus",get:function(){if(this._ranges.length>0){var t=this._ranges[this._ranges.length-1];return this._lastRangeBackward?t.start:t.end}return null}},{key:"isCollapsed",get:function(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}},{key:"rangeCount",get:function(){return this._ranges.length}},{key:"isBackward",get:function(){return!this.isCollapsed&&this._lastRangeBackward}}])&&kr(e.prototype,r),n&&kr(e,n),t}();function Or(t,e){return!e.has(t)&&(e.add(t),t.document.model.schema.isBlock(t)&&t.parent)}function Sr(t,e,r){return Or(t,e)&&Pr(t,r)}function xr(t,e){var r=t.parent.document.model.schema,n=t.parent.getAncestors({parentFirst:!0,includeSelf:!0}),o=!1,i=n.find((function(t){return!o&&(!(o=r.isLimit(t))&&Or(t,e))}));return n.forEach((function(t){return e.add(t)})),i}function Pr(t,e){var r=function(t){var e=t.document.model.schema,r=t.parent;for(;r;){if(e.isBlock(r))return r;r=r.parent}}(t);return!r||!e.containsRange(sr.a._createOn(r),!0)}function Er(t){return(Er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ar(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Tr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cr(t,e,r){return(Cr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=jr(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function jr(t){return(jr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rr(t,e){return(Rr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */Object(w.a)(_r,ur.c);var Dr=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==Er(e)&&"function"!=typeof e?Tr(t):e}(this,jr(e).call(this,t,r)),Nr.call(Tr(n)),n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rr(t,e)}(e,t),r=e,o=[{key:"fromRange",value:function(t){return new e(t.start,t.end)}}],(n=[{key:"detach",value:function(){this.stopListening()}},{key:"is",value:function(t){return"liveRange"==t||"model:liveRange"==t||Cr(jr(e.prototype),"is",this).call(this,t)}},{key:"toRange",value:function(){return new sr.a(this.start,this.end)}}])&&Ar(r.prototype,n),o&&Ar(r,o),e}(sr.a);function Nr(){var t=this;this.listenTo(this.root.document.model,"applyOperation",(function(e,r){var n=r[0];n.isDocumentOperation&&qr.call(t,n)}),{priority:"low"})}function qr(t){var e=this.getTransformedByOperation(t),r=sr.a._createFromRanges(e),n=!r.isEqual(this),o=function(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!1}(this,t),i=null;if(n){"$graveyard"==r.root.rootName&&(i="remove"==t.type?t.sourcePosition:t.deletionPosition);var a=this.toRange();this.start=r.start,this.end=r.end,this.fire("change:range",a,{deletionPosition:i})}else o&&this.fire("change:content",this.toRange(),{deletionPosition:i})}Object(w.a)(Dr,ur.c);var Br=r(634),Ir=r(704),Lr=r(658);function Mr(t){return(Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Fr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,r){return(Ur="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=zr(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function zr(t){return(zr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Hr(t,e){return(Hr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Jr(t,e,r){return e&&Wr(t.prototype,e),r&&Wr(t,r),t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Yr="selection:",Kr=function(){function t(e){Gr(this,t),this._selection=new $r(e),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this)}return Jr(t,[{key:"getRanges",value:function(){return this._selection.getRanges()}},{key:"getFirstPosition",value:function(){return this._selection.getFirstPosition()}},{key:"getLastPosition",value:function(){return this._selection.getLastPosition()}},{key:"getFirstRange",value:function(){return this._selection.getFirstRange()}},{key:"getLastRange",value:function(){return this._selection.getLastRange()}},{key:"getSelectedBlocks",value:function(){return this._selection.getSelectedBlocks()}},{key:"getSelectedElement",value:function(){return this._selection.getSelectedElement()}},{key:"containsEntireContent",value:function(t){return this._selection.containsEntireContent(t)}},{key:"destroy",value:function(){this._selection.destroy()}},{key:"getAttributeKeys",value:function(){return this._selection.getAttributeKeys()}},{key:"getAttributes",value:function(){return this._selection.getAttributes()}},{key:"getAttribute",value:function(t){return this._selection.getAttribute(t)}},{key:"hasAttribute",value:function(t){return this._selection.hasAttribute(t)}},{key:"refresh",value:function(){this._selection._updateMarkers(),this._selection._updateAttributes(!1)}},{key:"is",value:function(t){return"selection"==t||"model:selection"==t||"documentSelection"==t||"model:documentSelection"==t}},{key:"_setFocus",value:function(t,e){this._selection.setFocus(t,e)}},{key:"_setTo",value:function(t,e,r){this._selection.setTo(t,e,r)}},{key:"_setAttribute",value:function(t,e){this._selection.setAttribute(t,e)}},{key:"_removeAttribute",value:function(t){this._selection.removeAttribute(t)}},{key:"_getStoredAttributes",value:function(){return this._selection._getStoredAttributes()}},{key:"_overrideGravity",value:function(){return this._selection.overrideGravity()}},{key:"_restoreGravity",value:function(t){this._selection.restoreGravity(t)}},{key:"isCollapsed",get:function(){return this._selection.isCollapsed}},{key:"anchor",get:function(){return this._selection.anchor}},{key:"focus",get:function(){return this._selection.focus}},{key:"rangeCount",get:function(){return this._selection.rangeCount}},{key:"hasOwnRange",get:function(){return this._selection.hasOwnRange}},{key:"isBackward",get:function(){return this._selection.isBackward}},{key:"isGravityOverridden",get:function(){return this._selection.isGravityOverridden}},{key:"markers",get:function(){return this._selection.markers}},{key:"_ranges",get:function(){return this._selection._ranges}}],[{key:"_getStoreAttributeKey",value:function(t){return Yr+t}},{key:"_isStoreAttributeKey",value:function(t){return t.startsWith(Yr)}}]),t}();Object(w.a)(Kr,ur.c);var $r=function(t){function e(t){var r;return Gr(this,e),(r=function(t,e){return!e||"object"!==Mr(e)&&"function"!=typeof e?Fr(t):e}(this,zr(e).call(this))).markers=new m.a({idProperty:"name"}),r._model=t.model,r._document=t,r._attributePriority=new Map,r._fixGraveyardRangesData=[],r._hasChangedRange=!1,r._overriddenGravityRegister=new Set,r.listenTo(r._model,"applyOperation",(function(t,e){var n=e[0];if(n.isDocumentOperation&&"marker"!=n.type&&"rename"!=n.type&&"noop"!=n.type){for(;r._fixGraveyardRangesData.length;){var o=r._fixGraveyardRangesData.shift(),i=o.liveRange,a=o.sourcePosition;r._fixGraveyardSelection(i,a)}r._hasChangedRange&&(r._hasChangedRange=!1,r.fire("change:range",{directChange:!1}))}}),{priority:"lowest"}),r.on("change:range",(function(){var t=!0,e=!1,n=void 0;try{for(var o,i=r.getRanges()[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if(!r._document._validateSelectionRange(a))throw new T.b("document-selection-wrong-position: Range from document selection starts or ends at incorrect position.",Fr(r),{range:a})}}catch(t){e=!0,n=t}finally{try{t||null==i.return||i.return()}finally{if(e)throw n}}})),r.listenTo(r._model.markers,"update",(function(){return r._updateMarkers()})),r.listenTo(r._document,"change",(function(t,e){!function(t,e){var r=t.document.differ,n=!0,o=!1,i=void 0;try{for(var a,s=function(){var r=a.value;if("insert"!=r.type)return"continue";var n=r.position.parent;r.length===n.maxOffset&&t.enqueueChange(e,(function(t){var e=Array.from(n.getAttributeKeys()).filter((function(t){return t.startsWith(Yr)})),r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;t.removeAttribute(u,n)}}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}}))},u=r.getChanges()[Symbol.iterator]();!(n=(a=u.next()).done);n=!0)s()}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}}(r._model,e)})),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hr(t,e)}(e,t),Jr(e,[{key:"destroy",value:function(){for(var t=0;t<this._ranges.length;t++)this._ranges[t].detach();this.stopListening()}},{key:"getRanges",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._ranges.length){t.next=4;break}return t.delegateYield(Ur(zr(e.prototype),"getRanges",this).call(this),"t0",2);case 2:t.next=6;break;case 4:return t.next=6,this._document._getDefaultRange();case 6:case"end":return t.stop()}}),t,this)}))},{key:"getFirstRange",value:function(){return Ur(zr(e.prototype),"getFirstRange",this).call(this)||this._document._getDefaultRange()}},{key:"getLastRange",value:function(){return Ur(zr(e.prototype),"getLastRange",this).call(this)||this._document._getDefaultRange()}},{key:"setTo",value:function(t,r,n){Ur(zr(e.prototype),"setTo",this).call(this,t,r,n),this._updateAttributes(!0)}},{key:"setFocus",value:function(t,r){Ur(zr(e.prototype),"setFocus",this).call(this,t,r),this._updateAttributes(!0)}},{key:"setAttribute",value:function(t,e){if(this._setAttribute(t,e)){var r=[t];this.fire("change:attribute",{attributeKeys:r,directChange:!0})}}},{key:"removeAttribute",value:function(t){if(this._removeAttribute(t)){var e=[t];this.fire("change:attribute",{attributeKeys:e,directChange:!0})}}},{key:"overrideGravity",value:function(){var t=Object(Lr.a)();return this._overriddenGravityRegister.add(t),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),t}},{key:"restoreGravity",value:function(t){if(!this._overriddenGravityRegister.has(t))throw new T.b("document-selection-gravity-wrong-restore: Attempting to restore the selection gravity for an unknown UID.",this,{uid:t});this._overriddenGravityRegister.delete(t),this.isGravityOverridden||this._updateAttributes(!0)}},{key:"_popRange",value:function(){this._ranges.pop().detach()}},{key:"_pushRange",value:function(t){var e=this._prepareRange(t);e&&this._ranges.push(e)}},{key:"_prepareRange",value:function(t){var e=this;if(this._checkRange(t),t.root!=this._document.graveyard){var r=Dr.fromRange(t);return r.on("change:range",(function(t,n,o){e._hasChangedRange=!0,r.root==e._document.graveyard&&e._fixGraveyardRangesData.push({liveRange:r,sourcePosition:o.deletionPosition})})),r}}},{key:"_updateMarkers",value:function(){var t=[],e=!0,r=!1,n=void 0;try{for(var o,i=this._model.markers[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=a.getRange(),u=!0,c=!1,l=void 0;try{for(var f,h=this.getRanges()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;s.containsRange(p,!p.isCollapsed)&&t.push(a)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}for(var d=0,y=t;d<y.length;d++){var v=y[d];this.markers.has(v)||this.markers.add(v)}for(var b=0,g=Array.from(this.markers);b<g.length;b++){var m=g[b];t.includes(m)||this.markers.remove(m)}}},{key:"_updateAttributes",value:function(t){var e=Object(Ir.a)(this._getSurroundingAttributes()),r=Object(Ir.a)(this.getAttributes());if(t)this._attributePriority=new Map,this._attrs=new Map;else{var n=!0,o=!1,i=void 0;try{for(var a,s=this._attributePriority[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=Vr(a.value,2),c=u[0];"low"==u[1]&&(this._attrs.delete(c),this._attributePriority.delete(c))}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}this._setAttributesTo(e);var l=[],f=!0,h=!1,p=void 0;try{for(var d,y=this.getAttributes()[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=Vr(d.value,2),b=v[0],g=v[1];r.has(b)&&r.get(b)===g||l.push(b)}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}var m=!0,w=!1,k=void 0;try{for(var _,O=r[Symbol.iterator]();!(m=(_=O.next()).done);m=!0){var S=Vr(_.value,1)[0];this.hasAttribute(S)||l.push(S)}}catch(t){w=!0,k=t}finally{try{m||null==O.return||O.return()}finally{if(w)throw k}}l.length>0&&this.fire("change:attribute",{attributeKeys:l,directChange:!1})}},{key:"_setAttribute",value:function(t,r){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=n?"normal":"low";if("low"==o&&"normal"==this._attributePriority.get(t))return!1;var i=Ur(zr(e.prototype),"getAttribute",this).call(this,t);return i!==r&&(this._attrs.set(t,r),this._attributePriority.set(t,o),!0)}},{key:"_removeAttribute",value:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=r?"normal":"low";return("low"!=n||"normal"!=this._attributePriority.get(t))&&(this._attributePriority.set(t,n),!!Ur(zr(e.prototype),"hasAttribute",this).call(this,t)&&(this._attrs.delete(t),!0))}},{key:"_setAttributesTo",value:function(t){var e=new Set,r=!0,n=!1,o=void 0;try{for(var i,a=this.getAttributes()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=Vr(i.value,2),u=s[0],c=s[1];t.get(u)!==c&&this._removeAttribute(u,!1)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}var l=!0,f=!1,h=void 0;try{for(var p,d=t[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=Vr(p.value,2),v=y[0],b=y[1];this._setAttribute(v,b,!1)&&e.add(v)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}return e}},{key:"_getStoredAttributes",value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.getFirstPosition().parent,!this.isCollapsed||!e.isEmpty){t.next=30;break}r=!0,n=!1,o=void 0,t.prev=5,i=e.getAttributeKeys()[Symbol.iterator]();case 7:if(r=(a=i.next()).done){t.next=16;break}if(!(s=a.value).startsWith(Yr)){t.next=13;break}return u=s.substr(Yr.length),t.next=13,[u,e.getAttribute(s)];case 13:r=!0,t.next=7;break;case 16:t.next=22;break;case 18:t.prev=18,t.t0=t.catch(5),n=!0,o=t.t0;case 22:t.prev=22,t.prev=23,r||null==i.return||i.return();case 25:if(t.prev=25,!n){t.next=28;break}throw o;case 28:return t.finish(25);case 29:return t.finish(22);case 30:case"end":return t.stop()}}),t,this,[[5,18,22,30],[23,,25,29]])}))},{key:"_getSurroundingAttributes",value:function(){var t=this.getFirstPosition(),e=this._model.schema,r=null;if(this.isCollapsed){var n=t.textNode?t.textNode:t.nodeBefore,o=t.textNode?t.textNode:t.nodeAfter;if(this.isGravityOverridden||(r=Qr(n)),r||(r=Qr(o)),!this.isGravityOverridden&&!r)for(var i=n;i&&!r;)r=Qr(i=i.previousSibling);if(!r)for(var a=o;a&&!r;)r=Qr(a=a.nextSibling);r||(r=this._getStoredAttributes())}else{var s=this.getFirstRange(),u=!0,c=!1,l=void 0;try{for(var f,h=s[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;if(p.item.is("element")&&e.isObject(p.item))break;if("text"==p.type){r=p.item.getAttributes();break}}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}return r}},{key:"_fixGraveyardSelection",value:function(t,e){var r=e.clone(),n=this._model.schema.getNearestSelectionRange(r),o=this._ranges.indexOf(t);if(this._ranges.splice(o,1),t.detach(),n){var i=this._prepareRange(n);this._ranges.splice(o,0,i)}}},{key:"isCollapsed",get:function(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:Ur(zr(e.prototype),"isCollapsed",this)}},{key:"anchor",get:function(){return Ur(zr(e.prototype),"anchor",this)||this._document._getDefaultRange().start}},{key:"focus",get:function(){return Ur(zr(e.prototype),"focus",this)||this._document._getDefaultRange().end}},{key:"rangeCount",get:function(){return this._ranges.length?this._ranges.length:1}},{key:"hasOwnRange",get:function(){return this._ranges.length>0}},{key:"isGravityOverridden",get:function(){return!!this._overriddenGravityRegister.size}}]),e}(_r);function Qr(t){return t instanceof fr.a||t instanceof Br.a?t.getAttributes():null}function Xr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Zr=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._dispatchers=e}var e,r,n;return e=t,(r=[{key:"add",value:function(t){var e=!0,r=!1,n=void 0;try{for(var o,i=this._dispatchers[Symbol.iterator]();!(e=(o=i.next()).done);e=!0)t(o.value)}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return this}}])&&Xr(e.prototype,r),n&&Xr(e,n),t}(),tn=r(867),en=1,rn=4;var nn=function(t){return Object(tn.a)(t,en|rn)};function on(t){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function an(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function sn(t,e){return!e||"object"!==on(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function un(t){return(un=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cn(t,e){return(cn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ln=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),sn(this,un(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cn(t,e)}(e,t),r=e,(n=[{key:"elementToElement",value:function(t){return this.add(function(t){return(t=nn(t)).view=hn(t.view,"container"),function(e){var r;e.on("insert:"+t.model,(r=t.view,function(t,e,n){var o=r(e.item,n.writer);if(o&&n.consumable.consume(e.item,"insert")){var i=n.mapper.toViewPosition(e.range.start);n.mapper.bindElements(e.item,o),n.writer.insert(i,o)}}),{priority:t.converterPriority||"normal"})}}(t))}},{key:"attributeToElement",value:function(t){return this.add(function(t){var e="attribute:"+((t=nn(t)).model.key?t.model.key:t.model);if(t.model.name&&(e+=":"+t.model.name),t.model.values){var r=!0,n=!1,o=void 0;try{for(var i,a=t.model.values[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;t.view[s]=hn(t.view[s],"attribute")}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}else t.view=hn(t.view,"attribute");var u=pn(t);return function(r){r.on(e,function(t){return function(e,r,n){var o=t(r.attributeOldValue,n.writer),i=t(r.attributeNewValue,n.writer);if((o||i)&&n.consumable.consume(r.item,e.name)){var a=n.writer,s=a.document.selection;if(r.item instanceof _r||r.item instanceof Kr)a.wrap(s.getFirstRange(),i);else{var u=n.mapper.toViewRange(r.range);null!==r.attributeOldValue&&o&&(u=a.unwrap(u,o)),null!==r.attributeNewValue&&i&&a.wrap(u,i)}}}}(u),{priority:t.converterPriority||"normal"})}}(t))}},{key:"attributeToAttribute",value:function(t){return this.add(function(t){var e="attribute:"+((t=nn(t)).model.key?t.model.key:t.model);if(t.model.name&&(e+=":"+t.model.name),t.model.values){var r=!0,n=!1,o=void 0;try{for(var i,a=t.model.values[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;t.view[s]=dn(t.view[s])}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}else t.view=dn(t.view);var u=pn(t);return function(r){var n;r.on(e,(n=u,function(t,e,r){var o=n(e.attributeOldValue,e),i=n(e.attributeNewValue,e);if((o||i)&&r.consumable.consume(e.item,t.name)){var a=r.mapper.toViewElement(e.item),s=r.writer;if(!a)throw new T.b("conversion-attribute-to-attribute-on-text: Trying to convert text node's attribute with attribute-to-attribute converter.",[e,r]);if(null!==e.attributeOldValue&&o)if("class"==o.key){var u=Array.isArray(o.value)?o.value:[o.value],c=!0,l=!1,f=void 0;try{for(var h,p=u[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;s.removeClass(d,a)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}else if("style"==o.key)for(var y=0,v=Object.keys(o.value);y<v.length;y++){var b=v[y];s.removeStyle(b,a)}else s.removeAttribute(o.key,a);if(null!==e.attributeNewValue&&i)if("class"==i.key){var g=Array.isArray(i.value)?i.value:[i.value],m=!0,w=!1,k=void 0;try{for(var _,O=g[Symbol.iterator]();!(m=(_=O.next()).done);m=!0){var S=_.value;s.addClass(S,a)}}catch(t){w=!0,k=t}finally{try{m||null==O.return||O.return()}finally{if(w)throw k}}}else if("style"==i.key)for(var x=0,P=Object.keys(i.value);x<P.length;x++){var E=P[x];s.setStyle(E,i.value[E],a)}else s.setAttribute(i.key,i.value,a)}}),{priority:t.converterPriority||"normal"})}}(t))}},{key:"markerToElement",value:function(t){return this.add(function(t){return(t=nn(t)).view=hn(t.view,"ui"),function(e){var r;e.on("addMarker:"+t.model,(r=t.view,function(t,e,n){e.isOpening=!0;var o=r(e,n.writer);e.isOpening=!1;var i=r(e,n.writer);if(o&&i){var a=e.markerRange;if(!a.isCollapsed||n.consumable.consume(a,t.name)){var s=!0,u=!1,c=void 0;try{for(var l,f=a[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;if(!n.consumable.consume(h.item,t.name))return}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}var p=n.mapper,d=n.writer;d.insert(p.toViewPosition(a.start),o),n.mapper.bindElementToMarker(o,e.markerName),a.isCollapsed||(d.insert(p.toViewPosition(a.end),i),n.mapper.bindElementToMarker(i,e.markerName)),t.stop()}}}),{priority:t.converterPriority||"normal"}),e.on("removeMarker:"+t.model,(t.view,function(t,e,r){var n=r.mapper.markerNameToElements(e.markerName);if(n){var o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;r.mapper.unbindElementFromMarkerName(c,e.markerName),r.writer.clear(r.writer.createRangeOn(c),c)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}r.writer.clearClonedElementsGroup(e.markerName),t.stop()}}),{priority:t.converterPriority||"normal"})}}(t))}},{key:"markerToHighlight",value:function(t){return this.add(function(t){return function(e){var r;e.on("addMarker:"+t.model,(r=t.view,function(t,e,n){if(e.item&&(e.item instanceof _r||e.item instanceof Kr||e.item.is("textProxy"))){var o=yn(r,e,n);if(o&&n.consumable.consume(e.item,t.name)){var i=fn(o),a=n.writer,s=a.document.selection;if(e.item instanceof _r||e.item instanceof Kr)a.wrap(s.getFirstRange(),i,s);else{var u=n.mapper.toViewRange(e.range),c=a.wrap(u,i),l=!0,f=!1,h=void 0;try{for(var p,d=c.getItems()[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;if(y.is("attributeElement")&&y.isSimilar(i)){n.mapper.bindElementToMarker(y,e.markerName);break}}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}}}}}),{priority:t.converterPriority||"normal"}),e.on("addMarker:"+t.model,function(t){return function(e,r,n){if(r.item&&r.item instanceof mr.a){var o=yn(t,r,n);if(o&&n.consumable.test(r.item,e.name)){var i=n.mapper.toViewElement(r.item);if(i&&i.getCustomProperty("addHighlight")){n.consumable.consume(r.item,e.name);var a=!0,s=!1,u=void 0;try{for(var c,l=sr.a._createIn(r.item)[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;n.consumable.consume(f.item,e.name)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}i.getCustomProperty("addHighlight")(i,o,n.writer),n.mapper.bindElementToMarker(i,r.markerName)}}}}}(t.view),{priority:t.converterPriority||"normal"}),e.on("removeMarker:"+t.model,function(t){return function(e,r,n){if(!r.markerRange.isCollapsed){var o=yn(t,r,n);if(o){var i=fn(o),a=n.mapper.markerNameToElements(r.markerName);if(a){var s=!0,u=!1,c=void 0;try{for(var l,f=a[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;n.mapper.unbindElementFromMarkerName(h,r.markerName),h.is("attributeElement")?n.writer.unwrap(n.writer.createRangeOn(h),i):h.getCustomProperty("removeHighlight")(h,o.id,n.writer)}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}n.writer.clearClonedElementsGroup(r.markerName),e.stop()}}}}}(t.view),{priority:t.converterPriority||"normal"})}}(t))}}])&&an(r.prototype,n),o&&an(r,o),e}(Zr);function fn(t){var e=new I("span",t.attributes);return t.classes&&e._addClass(t.classes),t.priority&&(e._priority=t.priority),e._id=t.id,e}function hn(t,e){return"function"==typeof t?t:function(r,n){return function(t,e,r){"string"==typeof t&&(t={name:t});var n,o=Object.assign({},t.attributes);if("container"==r)n=e.createContainerElement(t.name,o);else if("attribute"==r){var i={priority:t.priority||I.DEFAULT_PRIORITY};n=e.createAttributeElement(t.name,o,i)}else n=e.createUIElement(t.name,o);if(t.styles)for(var a=Object.keys(t.styles),s=0,u=a;s<u.length;s++){var c=u[s];e.setStyle(c,t.styles[c],n)}if(t.classes){var l=t.classes;if("string"==typeof l)e.addClass(l,n);else{var f=!0,h=!1,p=void 0;try{for(var d,y=l[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value;e.addClass(v,n)}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}}}return n}(t,n,e)}}function pn(t){return t.model.values?function(e,r){var n=t.view[e];return n?n(e,r):null}:t.view}function dn(t){return"string"==typeof t?function(e){return{key:t,value:e}}:"object"==on(t)?t.value?function(){return t}:function(e){return{key:t.key,value:e}}:t}function yn(t,e,r){var n="function"==typeof t?t(e,r):t;return n?(n.priority||(n.priority=10),n.id||(n.id=e.markerName),n):null}var vn=r(902);function bn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gn(t){return(gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function mn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wn(t,e){return!e||"object"!==gn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function kn(t){return(kn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _n(t,e){return(_n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var On=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),wn(this,kn(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_n(t,e)}(e,t),r=e,(n=[{key:"elementToElement",value:function(t){return this.add(Sn(t))}},{key:"elementToAttribute",value:function(t){return this.add(function(t){Pn(t=nn(t));var e=En(t,!1),r=xn(t.view),n=r?"element:"+r:"element";return function(r){r.on(n,e,{priority:t.converterPriority||"low"})}}(t))}},{key:"attributeToAttribute",value:function(t){return this.add(function(t){t=nn(t);var e=null;("string"==typeof t.view||t.view.key)&&(e=function(t){"string"==typeof t.view&&(t.view={key:t.view});var e,r=t.view.key;if("class"==r||"style"==r)e=bn({},"class"==r?"classes":"styles",t.view.value);else{var n=void 0===t.view.value?/[\s\S]*/:t.view.value;e={attributes:bn({},r,n)}}return t.view.name&&(e.name=t.view.name),t.view=e,r}(t)),Pn(t,e);var r=En(t,!0);return function(e){e.on("element",r,{priority:t.converterPriority||"low"})}}(t))}},{key:"elementToMarker",value:function(t){return this.add(function(t){return function(t){var e=t.model;t.model=function(t,r){var n="string"==typeof e?e:e(t);return r.createElement("$marker",{"data-name":n})}}(t=nn(t)),Sn(t)}(t))}}])&&mn(r.prototype,n),o&&mn(r,o),e}(Zr);function Sn(t){var e=function(t){var e=t.view?new vn.a(t.view):null;return function(r,n,o){var i={};if(e){var a=e.match(n.viewItem);if(!a)return;i=a.match}i.name=!0;var s,u,c,l=(s=t.model,u=n.viewItem,c=o.writer,s instanceof Function?s(u,c):c.createElement(s));if(l&&o.consumable.test(n.viewItem,i)){var f=o.splitToAllowedParent(l,n.modelCursor);if(f){o.writer.insert(l,f.position),o.convertChildren(n.viewItem,o.writer.createPositionAt(l,0)),o.consumable.consume(n.viewItem,i);var h=o.getSplitParts(l);n.modelRange=new sr.a(o.writer.createPositionBefore(l),o.writer.createPositionAfter(h[h.length-1])),f.cursorParent?n.modelCursor=o.writer.createPositionAt(f.cursorParent,0):n.modelCursor=n.modelRange.end}}}}(t=nn(t)),r=xn(t.view),n=r?"element:"+r:"element";return function(r){r.on(n,e,{priority:t.converterPriority||"normal"})}}function xn(t){return"string"==typeof t?t:"object"==gn(t)&&"string"==typeof t.name?t.name:null}function Pn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=null===e||function(t){return t.getAttribute(e)},n="object"!=gn(t.model)?t.model:t.model.key,o="object"!=gn(t.model)||void 0===t.model.value?r:t.model.value;t.model={key:n,value:o}}function En(t,e){var r=new vn.a(t.view);return function(n,o,i){var a=r.match(o.viewItem);if(a){var s=t.model.key,u="function"==typeof t.model.value?t.model.value(o.viewItem):t.model.value;if(null!==u)if(!function(t,e){var r="function"==typeof t?t(e):t;if("object"==gn(r)&&!xn(r))return!1;return!r.classes&&!r.attributes&&!r.styles}(t.view,o.viewItem)?delete a.match.name:a.match.name=!0,i.consumable.test(o.viewItem,a.match))o.modelRange||(o=Object.assign(o,i.convertChildren(o.viewItem,o.modelCursor))),function(t,e,r,n){for(var o=!1,i=0,a=Array.from(t.getItems({shallow:r}));i<a.length;i++){var s=a[i];n.schema.checkAttribute(s,e.key)&&(n.writer.setAttribute(e.key,e.value,s),o=!0)}return o}(o.modelRange,{key:s,value:u},e,i)&&i.consumable.consume(o.viewItem,a.match)}}}function An(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Tn=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.view=new ir,this.mapper=new lr,this.downcastDispatcher=new br({mapper:this.mapper});var n=this.model.document,o=n.selection,i=this.model.markers;this.listenTo(this.model,"_beforeChanges",(function(){r.view._disableRendering(!0)}),{priority:"highest"}),this.listenTo(this.model,"_afterChanges",(function(){r.view._disableRendering(!1)}),{priority:"lowest"}),this.listenTo(n,"change",(function(){r.view.change((function(t){r.downcastDispatcher.convertChanges(n.differ,i,t),r.downcastDispatcher.convertSelection(o,i,t)}))}),{priority:"low"}),this.listenTo(this.view.document,"selectionChange",function(t,e){return function(r,n){var o=n.newSelection,i=new _r,a=[],s=!0,u=!1,c=void 0;try{for(var l,f=o.getRanges()[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;a.push(e.toModelRange(h))}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}i.setTo(a,{backward:o.isBackward}),i.isEqual(t.document.selection)||t.change((function(t){t.setSelection(i)}))}}(this.model,this.mapper)),this.downcastDispatcher.on("insert:$text",(function(t,e,r){if(r.consumable.consume(e.item,"insert")){var n=r.writer,o=r.mapper.toViewPosition(e.range.start),i=n.createText(e.item.data);n.insert(o,i)}}),{priority:"lowest"}),this.downcastDispatcher.on("remove",(function(t,e,r){var n=r.mapper.toViewPosition(e.position),o=e.position.getShiftedBy(e.length),i=r.mapper.toViewPosition(o,{isPhantom:!0}),a=r.writer.createRange(n,i),s=r.writer.remove(a.getTrimmed()),u=!0,c=!1,l=void 0;try{for(var f,h=r.writer.createRangeIn(s).getItems()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;r.mapper.unbindViewElement(p)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}),{priority:"low"}),this.downcastDispatcher.on("selection",(function(t,e,r){var n=r.writer,o=n.document.selection,i=!0,a=!1,s=void 0;try{for(var u,c=o.getRanges()[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;l.isCollapsed&&l.end.parent.document&&r.writer.mergeAttributes(l.start)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}n.setSelection(null)}),{priority:"low"}),this.downcastDispatcher.on("selection",(function(t,e,r){var n=e.selection;if(!n.isCollapsed&&r.consumable.consume(n,"selection")){var o=[],i=!0,a=!1,s=void 0;try{for(var u,c=n.getRanges()[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value,f=r.mapper.toViewRange(l);o.push(f)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}r.writer.setSelection(o,{backward:n.isBackward})}}),{priority:"low"}),this.downcastDispatcher.on("selection",(function(t,e,r){var n=e.selection;if(n.isCollapsed&&r.consumable.consume(n,"selection")){var o=r.writer,i=n.getFirstPosition(),a=r.mapper.toViewPosition(i),s=o.breakAttributes(a);o.setSelection(s)}}),{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using((function(t){if("$graveyard"==t.rootName)return null;var e=new b(t.name);return e.rootName=t.rootName,e._document=r.view.document,r.mapper.bindElements(t,e),e}))}var e,r,n;return e=t,(r=[{key:"destroy",value:function(){this.view.destroy(),this.stopListening()}}])&&An(e.prototype,r),n&&An(e,n),t}();function Cn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function jn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object(w.a)(Tn,k.a);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Rn=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._editor=e,this._availablePlugins=new Map,this._plugins=new Map;var n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;this._availablePlugins.set(u,u),u.pluginName&&this._availablePlugins.set(u.pluginName,u)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}var e,r,n;return e=t,(r=[{key:Symbol.iterator,value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=!0,r=!1,n=void 0,t.prev=3,o=this._plugins[Symbol.iterator]();case 5:if(e=(i=o.next()).done){t.next=13;break}if("function"!=typeof(a=i.value)[0]){t.next=10;break}return t.next=10,a;case 10:e=!0,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),r=!0,n=t.t0;case 19:t.prev=19,t.prev=20,e||null==o.return||o.return();case 22:if(t.prev=22,!r){t.next=25;break}throw n;case 25:return t.finish(22);case 26:return t.finish(19);case 27:case"end":return t.stop()}}),t,this,[[3,15,19,27],[20,,22,26]])}))},{key:"get",value:function(t){var e=this._plugins.get(t);if(!e){var r=t;throw"function"==typeof t&&(r=t.pluginName||t.name),new T.b("plugincollection-plugin-not-loaded: The requested plugin is not loaded.",this._editor,{plugin:r})}return e}},{key:"has",value:function(t){return this._plugins.has(t)}},{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this,n=this._editor,o=new Set,i=[],a=y(t),s=y(e),u=d(t);if(u){var c="plugincollection-plugin-not-found: Some plugins are not available and could not be loaded.";return console.error(Object(T.a)(c),{plugins:u}),Promise.reject(new T.b(c,this._editor,{plugins:u}))}return Promise.all(a.map(l)).then((function(){return f(i,"init")})).then((function(){return f(i,"afterInit")})).then((function(){return i}));function l(t){if(!s.includes(t)&&!r._plugins.has(t)&&!o.has(t))return h(t).catch((function(e){throw console.error(Object(T.a)("plugincollection-load: It was not possible to load the plugin."),{plugin:t}),e}))}function f(t,e){return t.reduce((function(t,r){return r[e]?t.then(r[e].bind(r)):t}),Promise.resolve())}function h(t){return new Promise((function(a){o.add(t),t.requires&&t.requires.forEach((function(r){var o=p(r);if(e.includes(o))throw new T.b("plugincollection-required: Cannot load a plugin because one of its dependencies is listed inthe `removePlugins` option.",n,{plugin:o,requiredBy:t});l(o)}));var s=new t(n);r._add(t,s),i.push(s),a()}))}function p(t){return"function"==typeof t?t:r._availablePlugins.get(t)}function d(t){var e=[],r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;p(s)||e.push(s)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e.length?e:null}function y(t){return t.map((function(t){return p(t)})).filter((function(t){return!!t}))}}},{key:"destroy",value:function(){var t=Array.from(this).map((function(t){return Cn(t,2)[1]})).filter((function(t){return"function"==typeof t.destroy})).map((function(t){return t.destroy()}));return Promise.all(t)}},{key:"_add",value:function(t,e){this._plugins.set(t,e);var r=t.pluginName;if(r){if(this._plugins.has(r))throw new T.b("plugincollection-plugin-name-conflict: Two plugins with the same name were loaded.",null,{pluginName:r,plugin1:this._plugins.get(r).constructor,plugin2:t});this._plugins.set(r,e)}}}])&&jn(e.prototype,r),n&&jn(e,n),t}();function Dn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object(w.a)(Rn,ur.c);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Nn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._commands=new Map}var e,r,n;return e=t,(r=[{key:"add",value:function(t,e){this._commands.set(t,e)}},{key:"get",value:function(t){return this._commands.get(t)}},{key:"execute",value:function(t){var e=this.get(t);if(!e)throw new T.b("commandcollection-command-not-found: Command does not exist.",this,{commandName:t});for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e.execute.apply(e,n)}},{key:"names",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._commands.keys(),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"commands",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._commands.values(),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:Symbol.iterator,value:function(){return this._commands[Symbol.iterator]()}},{key:"destroy",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this.commands()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)n.value.destroy()}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}}])&&Dn(e.prototype,r),n&&Dn(e,n),t}();
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function qn(t,e){var r=Object.keys(window.CKEDITOR_TRANSLATIONS).length;return 1===r&&(t=Object.keys(window.CKEDITOR_TRANSLATIONS)[0]),0!==r&&function(t,e){return t in window.CKEDITOR_TRANSLATIONS&&e in window.CKEDITOR_TRANSLATIONS[t]}(t,e)?window.CKEDITOR_TRANSLATIONS[t][e].replace(/ \[context: [^\]]+\]$/,""):e.replace(/ \[context: [^\]]+\]$/,"")}function Bn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={});
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var In=["ar","fa","he","ku","ug"],Ln=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.uiLanguage=r.uiLanguage||"en",this.contentLanguage=r.contentLanguage||this.uiLanguage,this.uiLanguageDirection=Mn(this.uiLanguage),this.contentLanguageDirection=Mn(this.contentLanguage),this.t=function(){return e._t.apply(e,arguments)}}var e,r,n;return e=t,(r=[{key:"_t",value:function(t,e){var r=qn(this.uiLanguage,t);return e&&(r=r.replace(/%(\d+)/g,(function(t,r){return r<e.length?e[r]:t}))),r}},{key:"language",get:function(){return 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."),this.uiLanguage}}])&&Bn(e.prototype,r),n&&Bn(e,n),t}();function Mn(t){return In.includes(t)?"rtl":"ltr"}var Vn=r(679);function Fn(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Hn(t,e,r){return e&&zn(t.prototype,e),r&&zn(t,r),t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Gn=function(){function t(){Un(this,t),this._consumables=new Map}return Hn(t,[{key:"add",value:function(t,e){var r;t.is("text")||t.is("documentFragment")?this._consumables.set(t,!0):(this._consumables.has(t)?r=this._consumables.get(t):(r=new Wn,this._consumables.set(t,r)),r.add(e))}},{key:"test",value:function(t,e){var r=this._consumables.get(t);return void 0===r?null:t.is("text")||t.is("documentFragment")?r:r.test(e)}},{key:"consume",value:function(t,e){return!!this.test(t,e)&&(t.is("text")||t.is("documentFragment")?this._consumables.set(t,!1):this._consumables.get(t).consume(e),!0)}},{key:"revert",value:function(t,e){var r=this._consumables.get(t);void 0!==r&&(t.is("text")||t.is("documentFragment")?this._consumables.set(t,!0):r.revert(e))}}],[{key:"consumablesFromElement",value:function(t){var e={name:!0,attributes:[],classes:[],styles:[]},r=t.getAttributeKeys(),n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;"style"!=u&&"class"!=u&&e.attributes.push(u)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}var c=t.getClassNames(),l=!0,f=!1,h=void 0;try{for(var p,d=c[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;e.classes.push(y)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}var v=t.getStyleNames(),b=!0,g=!1,m=void 0;try{for(var w,k=v[Symbol.iterator]();!(b=(w=k.next()).done);b=!0){var _=w.value;e.styles.push(_)}}catch(t){g=!0,m=t}finally{try{b||null==k.return||k.return()}finally{if(g)throw m}}return e}},{key:"createFrom",value:function(e,r){if(r||(r=new t),e.is("text"))return r.add(e),r;e.is("element")&&r.add(e,t.consumablesFromElement(e)),e.is("documentFragment")&&r.add(e);var n=!0,o=!1,i=void 0;try{for(var a,s=e.getChildren()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;r=t.createFrom(u,r)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}]),t}(),Wn=function(){function t(){Un(this,t),this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}return Hn(t,[{key:"add",value:function(t){for(var e in t.name&&(this._canConsumeName=!0),this._consumables)e in t&&this._add(e,t[e])}},{key:"test",value:function(t){if(t.name&&!this._canConsumeName)return this._canConsumeName;for(var e in this._consumables)if(e in t){var r=this._test(e,t[e]);if(!0!==r)return r}return!0}},{key:"consume",value:function(t){for(var e in t.name&&(this._canConsumeName=!1),this._consumables)e in t&&this._consume(e,t[e])}},{key:"revert",value:function(t){for(var e in t.name&&(this._canConsumeName=!0),this._consumables)e in t&&this._revert(e,t[e])}},{key:"_add",value:function(t,e){var r=Object(Vn.a)(e)?e:[e],n=this._consumables[t],o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("attributes"===t&&("class"===c||"style"===c))throw new T.b("viewconsumable-invalid-attribute: Classes and styles should be handled separately.",this);n.set(c,!0)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}},{key:"_test",value:function(t,e){var r=Object(Vn.a)(e)?e:[e],n=this._consumables[t],o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("attributes"!==t||"class"!==c&&"style"!==c){var l=n.get(c);if(void 0===l)return null;if(!l)return!1}else{var f="class"==c?"classes":"styles",h=this._test(f,Fn(this._consumables[f].keys()));if(!0!==h)return h}}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return!0}},{key:"_consume",value:function(t,e){var r=Object(Vn.a)(e)?e:[e],n=this._consumables[t],o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("attributes"!==t||"class"!==c&&"style"!==c)n.set(c,!1);else{var l="class"==c?"classes":"styles";this._consume(l,Fn(this._consumables[l].keys()))}}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}},{key:"_revert",value:function(t,e){var r=Object(Vn.a)(e)?e:[e],n=this._consumables[t],o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("attributes"!==t||"class"!==c&&"style"!==c){!1===n.get(c)&&n.set(c,!0)}else{var l="class"==c?"classes":"styles";this._revert(l,Fn(this._consumables[l].keys()))}}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}}]),t}(),Jn=r(703),Yn=regeneratorRuntime.mark(po),Kn=regeneratorRuntime.mark(yo);function $n(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Qn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function to(t,e,r){return e&&Zn(t.prototype,e),r&&Zn(t,r),t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var eo=function(){function t(){var e=this;Xn(this,t),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(function(t,e){e[0]=new ro(e[0])}),{priority:"highest"}),this.on("checkChild",(function(t,r){r[0]=new ro(r[0]),r[1]=e.getDefinition(r[1])}),{priority:"highest"})}return to(t,[{key:"register",value:function(t,e){if(this._sourceDefinitions[t])throw new T.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()}},{key:"extend",value:function(t,e){if(!this._sourceDefinitions[t])throw new T.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()}},{key:"getDefinitions",value:function(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}},{key:"getDefinition",value:function(t){var e;return e="string"==typeof t?t:t.is&&(t.is("text")||t.is("textProxy"))?"$text":t.name,this.getDefinitions()[e]}},{key:"isRegistered",value:function(t){return!!this.getDefinition(t)}},{key:"isBlock",value:function(t){var e=this.getDefinition(t);return!(!e||!e.isBlock)}},{key:"isLimit",value:function(t){var e=this.getDefinition(t);return!!e&&!(!e.isLimit&&!e.isObject)}},{key:"isObject",value:function(t){var e=this.getDefinition(t);return!(!e||!e.isObject)}},{key:"isInline",value:function(t){var e=this.getDefinition(t);return!(!e||!e.isInline)}},{key:"checkChild",value:function(t,e){return!!e&&this._checkContextMatch(e,t)}},{key:"checkAttribute",value:function(t,e){var r=this.getDefinition(t.last);return!!r&&r.allowAttributes.includes(e)}},{key:"checkMerge",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t instanceof ar.a){var r=t.nodeBefore,n=t.nodeAfter;if(!(r instanceof mr.a))throw new T.b("schema-check-merge-no-element-before: The node before the merge position must be an element.",this);if(!(n instanceof mr.a))throw new T.b("schema-check-merge-no-element-after: The node after the merge position must be an element.",this);return this.checkMerge(r,n)}var o=!0,i=!1,a=void 0;try{for(var s,u=e.getChildren()[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if(!this.checkChild(t,c))return!1}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return!0}},{key:"addChildCheck",value:function(t){this.on("checkChild",(function(e,r){var n=Qn(r,2),o=n[0],i=n[1];if(i){var a=t(o,i);"boolean"==typeof a&&(e.stop(),e.return=a)}}),{priority:"high"})}},{key:"addAttributeCheck",value:function(t){this.on("checkAttribute",(function(e,r){var n=Qn(r,2),o=n[0],i=n[1],a=t(o,i);"boolean"==typeof a&&(e.stop(),e.return=a)}),{priority:"high"})}},{key:"setAttributeProperties",value:function(t,e){this._attributeProperties[t]=Object.assign(this.getAttributeProperties(t),e)}},{key:"getAttributeProperties",value:function(t){return this._attributeProperties[t]||{}}},{key:"getLimitElement",value:function(t){var e;t instanceof ar.a?e=t.parent:e=(t instanceof sr.a?[t]:Array.from(t.getRanges())).reduce((function(t,e){var r=e.getCommonAncestor();return t?t.getCommonAncestor(r,{includeSelf:!0}):r}),null);for(;!this.isLimit(e)&&e.parent;)e=e.parent;return e}},{key:"checkAttributeInSelection",value:function(t,e){if(t.isCollapsed){var r=t.getFirstPosition(),n=[].concat($n(r.getAncestors()),[new Br.a("",t.getAttributes())]);return this.checkAttribute(n,e)}var o=t.getRanges(),i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value,f=!0,h=!1,p=void 0;try{for(var d,y=l[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value;if(this.checkAttribute(v.item,e))return!0}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}return!1}},{key:"getValidRanges",value:regeneratorRuntime.mark((function t(e,r){var n,o,i,a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=yo(e),n=!0,o=!1,i=void 0,t.prev=4,a=e[Symbol.iterator]();case 6:if(n=(s=a.next()).done){t.next=12;break}return u=s.value,t.delegateYield(this._getValidRangesForRange(u,r),"t0",9);case 9:n=!0,t.next=6;break;case 12:t.next=18;break;case 14:t.prev=14,t.t1=t.catch(4),o=!0,i=t.t1;case 18:t.prev=18,t.prev=19,n||null==a.return||a.return();case 21:if(t.prev=21,!o){t.next=24;break}throw i;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}}),t,this,[[4,14,18,26],[19,,21,25]])}))},{key:"getNearestSelectionRange",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";if(this.checkChild(t,"$text"))return new sr.a(t);"both"!=n&&"backward"!=n||(e=new Jn.a({startPosition:t,direction:"backward"})),"both"!=n&&"forward"!=n||(r=new Jn.a({startPosition:t}));var o=!0,i=!1,a=void 0;try{for(var s,u=po(e,r)[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=c.walker==e?"elementEnd":"elementStart",f=c.value;if(f.type==l&&this.isObject(f.item))return sr.a._createOn(f.item);if(this.checkChild(f.nextPosition,"$text"))return new sr.a(f.nextPosition)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return null}},{key:"findAllowedParent",value:function(t,e){for(var r=t.parent;r;){if(this.checkChild(r,e))return r;if(this.isLimit(r))return null;r=r.parent}return null}},{key:"removeDisallowedAttributes",value:function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(s.is("text"))vo(this,s,e);else{var u=sr.a._createIn(s).getPositions(),c=!0,l=!1,f=void 0;try{for(var h,p=u[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;vo(this,d.nodeBefore||d.parent,e)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}},{key:"createContext",value:function(t){return new ro(t)}},{key:"_clearCache",value:function(){this._compiledDefinitions=null}},{key:"_compile",value:function(){for(var t={},e=this._sourceDefinitions,r=Object.keys(e),n=0,o=r;n<o.length;n++){var i=o[n];t[i]=no(e[i],i)}for(var a=0,s=r;a<s.length;a++){oo(t,s[a])}for(var u=0,c=r;u<c.length;u++){io(t,c[u])}for(var l=0,f=r;l<f.length;l++){var h=f[l];ao(t,h),so(t,h)}for(var p=0,d=r;p<d.length;p++){var y=d[p];uo(t,y),co(t,y)}this._compiledDefinitions=t}},{key:"_checkContextMatch",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length-1,n=e.getItem(r);if(t.allowIn.includes(n.name)){if(0==r)return!0;var o=this.getDefinition(n);return this._checkContextMatch(o,e,r-1)}return!1}},{key:"_getValidRangesForRange",value:regeneratorRuntime.mark((function t(e,r){var n,o,i,a,s,u,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.start,o=e.start,i=!0,a=!1,s=void 0,t.prev=5,u=e.getItems({shallow:!0})[Symbol.iterator]();case 7:if(i=(c=u.next()).done){t.next=20;break}if(!(l=c.value).is("element")){t.next=11;break}return t.delegateYield(this._getValidRangesForRange(sr.a._createIn(l),r),"t0",11);case 11:if(this.checkAttribute(l,r)){t.next=16;break}if(n.isEqual(o)){t.next=15;break}return t.next=15,new sr.a(n,o);case 15:n=ar.a._createAfter(l);case 16:o=ar.a._createAfter(l);case 17:i=!0,t.next=7;break;case 20:t.next=26;break;case 22:t.prev=22,t.t1=t.catch(5),a=!0,s=t.t1;case 26:t.prev=26,t.prev=27,i||null==u.return||u.return();case 29:if(t.prev=29,!a){t.next=32;break}throw s;case 32:return t.finish(29);case 33:return t.finish(26);case 34:if(n.isEqual(o)){t.next=37;break}return t.next=37,new sr.a(n,o);case 37:case"end":return t.stop()}}),t,this,[[5,22,26,34],[27,,29,33]])}))}]),t}();Object(w.a)(eo,k.a);var ro=function(){function t(e){if(Xn(this,t),e instanceof t)return e;"string"==typeof e?e=[e]:Array.isArray(e)||(e=e.getAncestors({includeSelf:!0})),e[0]&&"string"!=typeof e[0]&&e[0].is("documentFragment")&&e.shift(),this._items=e.map(ho)}return to(t,[{key:Symbol.iterator,value:function(){return this._items[Symbol.iterator]()}},{key:"push",value:function(e){var r=new t([e]);return r._items=[].concat($n(this._items),$n(r._items)),r}},{key:"getItem",value:function(t){return this._items[t]}},{key:"getNames",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._items.map((function(t){return t.name})),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"endsWith",value:function(t){return Array.from(this.getNames()).join(" ").endsWith(t)}},{key:"length",get:function(){return this._items.length}},{key:"last",get:function(){return this._items[this._items.length-1]}}]),t}();function no(t,e){var r={name:e,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],inheritTypesFrom:[]};return function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=Object.keys(s).filter((function(t){return t.startsWith("is")})),c=!0,l=!1,f=void 0;try{for(var h,p=u[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;e[d]=s[d]}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}(t,r),lo(t,r,"allowIn"),lo(t,r,"allowContentOf"),lo(t,r,"allowWhere"),lo(t,r,"allowAttributes"),lo(t,r,"allowAttributesOf"),lo(t,r,"inheritTypesFrom"),function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value.inheritAllFrom;s&&(e.allowContentOf.push(s),e.allowWhere.push(s),e.allowAttributesOf.push(s),e.inheritTypesFrom.push(s))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}(t,r),r}function oo(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[e].allowContentOf[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(t[s])fo(t,s).forEach((function(t){t.allowIn.push(e)}))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}delete t[e].allowContentOf}function io(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[e].allowWhere[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=t[i.value];if(s){var u,c=s.allowIn;(u=t[e].allowIn).push.apply(u,$n(c))}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}delete t[e].allowWhere}function ao(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[e].allowAttributesOf[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=t[i.value];if(s){var u,c=s.allowAttributes;(u=t[e].allowAttributes).push.apply(u,$n(c))}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}delete t[e].allowAttributesOf}function so(t,e){var r=t[e],n=!0,o=!1,i=void 0;try{for(var a,s=r.inheritTypesFrom[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=t[a.value];if(u){var c=Object.keys(u).filter((function(t){return t.startsWith("is")})),l=!0,f=!1,h=void 0;try{for(var p,d=c[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;y in r||(r[y]=u[y])}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}}}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}delete r.inheritTypesFrom}function uo(t,e){var r=t[e],n=r.allowIn.filter((function(e){return t[e]}));r.allowIn=Array.from(new Set(n))}function co(t,e){var r=t[e];r.allowAttributes=Array.from(new Set(r.allowAttributes))}function lo(t,e,r){var n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if("string"==typeof u[r])e[r].push(u[r]);else if(Array.isArray(u[r])){var c;(c=e[r]).push.apply(c,$n(u[r]))}}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}function fo(t,e){var r,n=t[e];return(r=t,Object.keys(r).map((function(t){return r[t]}))).filter((function(t){return t.allowIn.includes(n.name)}))}function ho(t){return"string"==typeof t?{name:t,getAttributeKeys:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})),getAttribute:function(){}}:{name:t.is("element")?t.name:"$text",getAttributeKeys:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(t.getAttributeKeys(),"t0",1);case 1:case"end":return e.stop()}}),e)})),getAttribute:function(e){return t.getAttribute(e)}}}function po(t,e){var r,n,o;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:r=!1;case 1:if(r){i.next=17;break}if(r=!0,!t){i.next=9;break}if((n=t.next()).done){i.next=9;break}return r=!1,i.next=9,{walker:t,value:n.value};case 9:if(!e){i.next=15;break}if((o=e.next()).done){i.next=15;break}return r=!1,i.next=15,{walker:e,value:o.value};case 15:i.next=1;break;case 17:case"end":return i.stop()}}),Yn)}function yo(t){var e,r,n,o,i,a;return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:e=!0,r=!1,n=void 0,s.prev=3,o=t[Symbol.iterator]();case 5:if(e=(i=o.next()).done){s.next=11;break}return a=i.value,s.delegateYield(a.getMinimalFlatRanges(),"t0",8);case 8:e=!0,s.next=5;break;case 11:s.next=17;break;case 13:s.prev=13,s.t1=s.catch(3),r=!0,n=s.t1;case 17:s.prev=17,s.prev=18,e||null==o.return||o.return();case 20:if(s.prev=20,!r){s.next=23;break}throw n;case 23:return s.finish(20);case 24:return s.finish(17);case 25:case"end":return s.stop()}}),Kn,null,[[3,13,17,25],[18,,20,24]])}function vo(t,e,r){var n=!0,o=!1,i=void 0;try{for(var a,s=e.getAttributeKeys()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;t.checkAttribute(e,u)||r.removeAttribute(u,e)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}function bo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var go=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._splitParts=new Map,this._modelCursor=null,this.conversionApi=Object.assign({},e),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)}var e,r,n;return e=t,(r=[{key:"convert",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["$root"];this.fire("viewCleanup",t),this._modelCursor=wo(r,e),this.conversionApi.writer=e,this.conversionApi.consumable=Gn.createFrom(t),this.conversionApi.store={};var n=this._convertItem(t,this._modelCursor),o=n.modelRange,i=e.createDocumentFragment();if(o){this._removeEmptyElements();for(var a=0,s=Array.from(this._modelCursor.parent.getChildren());a<s.length;a++){var u=s[a];e.append(u,i)}i.markers=mo(i,e)}return this._modelCursor=null,this._splitParts.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,i}},{key:"_convertItem",value:function(t,e){var r=Object.assign({viewItem:t,modelCursor:e,modelRange:null});if(t.is("element")?this.fire("element:"+t.name,r,this.conversionApi):t.is("text")?this.fire("text",r,this.conversionApi):this.fire("documentFragment",r,this.conversionApi),r.modelRange&&!(r.modelRange instanceof sr.a))throw new T.b("view-conversion-dispatcher-incorrect-result: Incorrect conversion result was dropped.",this);return{modelRange:r.modelRange,modelCursor:r.modelCursor}}},{key:"_convertChildren",value:function(t,e){for(var r=new sr.a(e),n=e,o=0,i=Array.from(t.getChildren());o<i.length;o++){var a=i[o],s=this._convertItem(a,n);s.modelRange instanceof sr.a&&(r.end=s.modelRange.end,n=s.modelCursor)}return{modelRange:r,modelCursor:n}}},{key:"_splitToAllowedParent",value:function(t,e){var r=this.conversionApi.schema.findAllowedParent(e,t);if(!r)return null;if(r===e.parent)return{position:e};if(this._modelCursor.parent.getAncestors().includes(r))return null;var n=this.conversionApi.writer.split(e,r),o=[],i=!0,a=!1,s=void 0;try{for(var u,c=n.range.getWalker()[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;if("elementEnd"==l.type)o.push(l.item);else{var f=o.pop(),h=l.item;this._registerSplitPair(f,h)}}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}return{position:n.position,cursorParent:n.range.end.parent}}},{key:"_registerSplitPair",value:function(t,e){this._splitParts.has(t)||this._splitParts.set(t,[t]);var r=this._splitParts.get(t);this._splitParts.set(e,r),r.push(e)}},{key:"_getSplitParts",value:function(t){return this._splitParts.has(t)?this._splitParts.get(t):[t]}},{key:"_removeEmptyElements",value:function(){var t=!1,e=!0,r=!1,n=void 0;try{for(var o,i=this._splitParts.keys()[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;a.isEmpty&&(this.conversionApi.writer.remove(a),this._splitParts.delete(a),t=!0)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}t&&this._removeEmptyElements()}}])&&bo(e.prototype,r),n&&bo(e,n),t}();function mo(t,e){var r=new Set,n=new Map,o=sr.a._createIn(t).getItems(),i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;"$marker"==l.name&&r.add(l)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}var f=!0,h=!1,p=void 0;try{for(var d,y=r[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value,b=v.getAttribute("data-name"),g=e.createPositionBefore(v);n.has(b)?n.get(b).end=g.clone():n.set(b,new sr.a(g.clone())),e.remove(v)}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}return n}function wo(t,e){var r,n=!0,o=!1,i=void 0;try{for(var a,s=new ro(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c={},l=!0,f=!1,h=void 0;try{for(var p,d=u.getAttributeKeys()[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;c[y]=u.getAttribute(y)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}var v=e.createElement(u.name,c);r&&e.append(v,r),r=ar.a._createAt(v,0)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}function ko(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object(w.a)(go,ur.c);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Oo=function(){function t(e,r){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.processor=r,this.mapper=new lr,this.downcastDispatcher=new br({mapper:this.mapper}),this.downcastDispatcher.on("insert:$text",(function(t,e,r){if(r.consumable.consume(e.item,"insert")){var n=r.writer,o=r.mapper.toViewPosition(e.range.start),i=n.createText(e.item.data);n.insert(o,i)}}),{priority:"lowest"}),this.upcastDispatcher=new go({schema:e.schema}),this.upcastDispatcher.on("text",(function(t,e,r){if(r.schema.checkChild(e.modelCursor,"$text")&&r.consumable.consume(e.viewItem)){var n=r.writer.createText(e.viewItem.data);r.writer.insert(n,e.modelCursor),e.modelRange=sr.a._createFromPositionAndShift(e.modelCursor,n.offsetSize),e.modelCursor=e.modelRange.end}}),{priority:"lowest"}),this.upcastDispatcher.on("element",(function(t,e,r){if(!e.modelRange&&r.consumable.consume(e.viewItem,{name:!0})){var n=r.convertChildren(e.viewItem,e.modelCursor),o=n.modelRange,i=n.modelCursor;e.modelRange=o,e.modelCursor=i}}),{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(function(t,e,r){if(!e.modelRange&&r.consumable.consume(e.viewItem,{name:!0})){var n=r.convertChildren(e.viewItem,e.modelCursor),o=n.modelRange,i=n.modelCursor;e.modelRange=o,e.modelCursor=i}}),{priority:"lowest"}),this.decorate("init"),this.on("init",(function(){n.fire("ready")}),{priority:"lowest"})}var e,r,n;return e=t,(r=[{key:"get",value:function(t){var e=t||{},r=e.rootName,n=void 0===r?"main":r,o=e.trim,i=void 0===o?"empty":o;if(!this._checkIfRootsExists([n]))throw new T.b("datacontroller-get-non-existent-root: Attempting to get data from a non-existing root.",this);var a=this.model.document.getRoot(n);return"empty"!==i||this.model.hasContent(a,{ignoreWhitespaces:!0})?this.stringify(a):""}},{key:"stringify",value:function(t){var e=this.toView(t);return this.processor.toData(e)}},{key:"toView",value:function(t){this.mapper.clearBindings();var e=sr.a._createIn(t),r=new it.a,n=new lt(new O);if(this.mapper.bindElements(t,r),this.downcastDispatcher.convertInsert(e,n),!t.is("documentFragment")){var o=function(t){var e=[],r=t.root.document;if(!r)return[];var n=sr.a._createIn(t),o=!0,i=!1,a=void 0;try{for(var s,u=r.model.markers[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=n.getIntersection(c.getRange());l&&e.push([c.name,l])}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return e}(t),i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=ko(u.value,2),f=l[0],h=l[1];this.downcastDispatcher.convertMarkerAdd(f,h,n)}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}}return r}},{key:"init",value:function(t){var e=this;if(this.model.document.version)throw new T.b("datacontroller-init-document-not-empty: Trying to set initial data to not empty document.",this);var r={};if("string"==typeof t?r.main=t:r=t,!this._checkIfRootsExists(Object.keys(r)))throw new T.b("datacontroller-init-non-existent-root: Attempting to init data on a non-existing root.",this);return this.model.enqueueChange("transparent",(function(t){for(var n=0,o=Object.keys(r);n<o.length;n++){var i=o[n],a=e.model.document.getRoot(i);t.insert(e.parse(r[i],a),a,0)}})),Promise.resolve()}},{key:"set",value:function(t){var e=this,r={};if("string"==typeof t?r.main=t:r=t,!this._checkIfRootsExists(Object.keys(r)))throw new T.b("datacontroller-set-non-existent-root: Attempting to set data on a non-existing root.",this);this.model.enqueueChange("transparent",(function(t){t.setSelection(null),t.removeSelectionAttribute(e.model.document.selection.getAttributeKeys());for(var n=0,o=Object.keys(r);n<o.length;n++){var i=o[n],a=e.model.document.getRoot(i);t.remove(t.createRangeIn(a)),t.insert(e.parse(r[i],a),a,0)}}))}},{key:"parse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$root",r=this.processor.toView(t);return this.toModel(r,e)}},{key:"toModel",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$root";return this.model.change((function(n){return e.upcastDispatcher.convert(t,n,r)}))}},{key:"destroy",value:function(){this.stopListening()}},{key:"_checkIfRootsExists",value:function(t){var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;if(!this.model.document.getRootNames().includes(a))return!1}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return!0}}])&&_o(e.prototype,r),n&&_o(e,n),t}();Object(w.a)(Oo,k.a);var So=regeneratorRuntime.mark(Ao),xo=regeneratorRuntime.mark(To);function Po(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Eo=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._helpers=new Map,this._downcast=Array.isArray(e)?e:[e],this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=Array.isArray(r)?r:[r],this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}var e,r,n;return e=t,(r=[{key:"addAlias",value:function(t,e){var r=this._downcast.includes(e);if(!this._upcast.includes(e)&&!r)throw new T.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:r})}},{key:"for",value:function(t){if(!this._helpers.has(t))throw new T.b("conversion-for-unknown-group: Trying to add a converter to an unknown dispatchers group.",this);return this._helpers.get(t)}},{key:"elementToElement",value:function(t){this.for("downcast").elementToElement(t);var e=!0,r=!1,n=void 0;try{for(var o,i=Ao(t)[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=a.model,u=a.view;this.for("upcast").elementToElement({model:s,view:u,converterPriority:t.converterPriority})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"attributeToElement",value:function(t){this.for("downcast").attributeToElement(t);var e=!0,r=!1,n=void 0;try{for(var o,i=Ao(t)[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=a.model,u=a.view;this.for("upcast").elementToAttribute({view:u,model:s,converterPriority:t.converterPriority})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"attributeToAttribute",value:function(t){this.for("downcast").attributeToAttribute(t);var e=!0,r=!1,n=void 0;try{for(var o,i=Ao(t)[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=a.model,u=a.view;this.for("upcast").attributeToAttribute({view:u,model:s})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"_createConversionHelpers",value:function(t){var e=t.name,r=t.dispatchers,n=t.isDowncast;if(this._helpers.has(e))throw new T.b("conversion-group-exists: Trying to register a group name that has already been registered.",this);var o=n?new ln(r):new On(r);this._helpers.set(e,o)}}])&&Po(e.prototype,r),n&&Po(e,n),t}();function Ao(t){var e,r,n,o,i,a,s,u,c;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(!t.model.values){l.next=31;break}e=!0,r=!1,n=void 0,l.prev=4,o=t.model.values[Symbol.iterator]();case 6:if(e=(i=o.next()).done){l.next=15;break}return a=i.value,s={key:t.model.key,value:a},u=t.view[a],c=t.upcastAlso?t.upcastAlso[a]:void 0,l.delegateYield(To(s,u,c),"t0",12);case 12:e=!0,l.next=6;break;case 15:l.next=21;break;case 17:l.prev=17,l.t1=l.catch(4),r=!0,n=l.t1;case 21:l.prev=21,l.prev=22,e||null==o.return||o.return();case 24:if(l.prev=24,!r){l.next=27;break}throw n;case 27:return l.finish(24);case 28:return l.finish(21);case 29:l.next=32;break;case 31:return l.delegateYield(To(t.model,t.view,t.upcastAlso),"t2",32);case 32:case"end":return l.stop()}}),So,null,[[4,17,21,29],[22,,24,28]])}function To(t,e,r){var n,o,i,a,s,u;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,{model:t,view:e};case 2:if(!r){c.next=30;break}r=Array.isArray(r)?r:[r],n=!0,o=!1,i=void 0,c.prev=7,a=r[Symbol.iterator]();case 9:if(n=(s=a.next()).done){c.next=16;break}return u=s.value,c.next=13,{model:t,view:u};case 13:n=!0,c.next=9;break;case 16:c.next=22;break;case 18:c.prev=18,c.t0=c.catch(7),o=!0,i=c.t0;case 22:c.prev=22,c.prev=23,n||null==a.return||a.return();case 25:if(c.prev=25,!o){c.next=28;break}throw i;case 28:return c.finish(25);case 29:return c.finish(22);case 30:case"end":return c.stop()}}),xo,null,[[7,18,22,30],[23,,25,29]])}function Co(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var jo=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.operations=[],this.type=e}var e,r,n;return e=t,(r=[{key:"addOperation",value:function(t){return t.batch=this,this.operations.push(t),t}},{key:"baseVersion",get:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this.operations[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i=n.value;if(null!==i.baseVersion)return i.baseVersion}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}return null}}])&&Co(e.prototype,r),n&&Co(e,n),t}(),Ro=r(1144),Do=r(629),No=r(666);function qo(t){return(qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Bo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Io(t,e){return!e||"object"!==qo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Lo(t,e,r){return(Lo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Mo(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Mo(t){return(Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vo(t,e){return(Vo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Fo=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=Io(this,Mo(e).call(this,null))).sourcePosition=t.clone(),n.howMany=r,n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vo(t,e)}(e,t),r=e,o=[{key:"className",get:function(){return"DetachOperation"}}],(n=[{key:"toJSON",value:function(){var t=Lo(Mo(e.prototype),"toJSON",this).call(this);return t.sourcePosition=this.sourcePosition.toJSON(),t}},{key:"_validate",value:function(){if(this.sourcePosition.root.document)throw new T.b("detach-operation-on-document-node: Cannot detach document node.",this)}},{key:"_execute",value:function(){Object(No.d)(sr.a._createFromPositionAndShift(this.sourcePosition,this.howMany))}},{key:"type",get:function(){return"detach"}}])&&Bo(r.prototype,n),o&&Bo(r,o),e}(Do.a),Uo=r(910),zo=r(911),Ho=r(816),Go=r(912),Wo=r(913),Jo=r(817),Yo=r(818),Ko=r(909);function $o(t){return($o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Xo(t,e){return!e||"object"!==$o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Zo(t,e,r){return(Zo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ti(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ti(t){return(ti=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ei(t,e){return(ei=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ri=function(t){function e(t,r){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"main";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=Xo(this,ti(e).call(this,r)))._doc=t,n.rootName=o,n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ei(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t,r){var n=t.replace("model:","");return r?"rootElement"==n&&r==this.name||Zo(ti(e.prototype),"is",this).call(this,t,r):"rootElement"==n||Zo(ti(e.prototype),"is",this).call(this,t)}},{key:"toJSON",value:function(){return this.rootName}},{key:"document",get:function(){return this._doc}}])&&Qo(r.prototype,n),o&&Qo(r,o),e}(mr.a);function ni(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function oi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var ii=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.batch=r}var e,r,n;return e=t,(r=[{key:"createText",value:function(t,e){return new Br.a(t,e)}},{key:"createElement",value:function(t,e){return new mr.a(t,e)}},{key:"createDocumentFragment",value:function(){return new Ko.a}},{key:"insert",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this._assertWriterUsedCorrectly(),!(t instanceof Br.a&&""==t.data)){var n=ar.a._createAt(e,r);if(t.parent){if(li(t.root,n.root))return void this.move(sr.a._createOn(t),n);if(t.root.document)throw new T.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);this.remove(t)}var o=n.root.document?n.root.document.version:null,i=new Uo.a(n,t,o);if(t instanceof Br.a&&(i.shouldReceiveAttributes=!0),this.batch.addOperation(i),this.model.applyOperation(i),t instanceof Ko.a){var a=!0,s=!1,u=void 0;try{for(var c,l=t.markers[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=ni(c.value,2),h=f[0],p=f[1],d=ar.a._createAt(p.root,0),y=new sr.a(p.start._getCombined(d,n),p.end._getCombined(d,n)),v={range:y,usingOperation:!0,affectsData:!0};this.model.markers.has(h)?this.updateMarker(h,v):this.addMarker(h,v)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}}},{key:"insertText",value:function(t,e,r,n){e instanceof Ko.a||e instanceof mr.a||e instanceof ar.a?this.insert(this.createText(t),e,r):this.insert(this.createText(t,e),r,n)}},{key:"insertElement",value:function(t,e,r,n){e instanceof Ko.a||e instanceof mr.a||e instanceof ar.a?this.insert(this.createElement(t),e,r):this.insert(this.createElement(t,e),r,n)}},{key:"append",value:function(t,e){this.insert(t,e,"end")}},{key:"appendText",value:function(t,e,r){e instanceof Ko.a||e instanceof mr.a?this.insert(this.createText(t),e,"end"):this.insert(this.createText(t,e),r,"end")}},{key:"appendElement",value:function(t,e,r){e instanceof Ko.a||e instanceof mr.a?this.insert(this.createElement(t),e,"end"):this.insert(this.createElement(t,e),r,"end")}},{key:"setAttribute",value:function(t,e,r){if(this._assertWriterUsedCorrectly(),r instanceof sr.a){var n=r.getMinimalFlatRanges(),o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0)ai(this,t,e,s.value)}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}else si(this,t,e,r)}},{key:"setAttributes",value:function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=Object(Ir.a)(t)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=ni(i.value,2),u=s[0],c=s[1];this.setAttribute(u,c,e)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}},{key:"removeAttribute",value:function(t,e){if(this._assertWriterUsedCorrectly(),e instanceof sr.a){var r=e.getMinimalFlatRanges(),n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)ai(this,t,null,a.value)}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}else si(this,t,null,e)}},{key:"clearAttributes",value:function(t){var e=this;this._assertWriterUsedCorrectly();var r=function(t){var r=!0,n=!1,o=void 0;try{for(var i,a=t.getAttributeKeys()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e.removeAttribute(s,t)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}};if(t instanceof sr.a){var n=!0,o=!1,i=void 0;try{for(var a,s=t.getItems()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)r(a.value)}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}else r(t)}},{key:"move",value:function(t,e,r){if(this._assertWriterUsedCorrectly(),!(t instanceof sr.a))throw new T.b("writer-move-invalid-range: Invalid range to move.",this);if(!t.isFlat)throw new T.b("writer-move-range-not-flat: Range to move is not flat.",this);var n=ar.a._createAt(e,r);if(!n.isEqual(t.start)){if(this._addOperationForAffectedMarkers("move",t),!li(t.root,n.root))throw new T.b("writer-move-different-document: Range is going to be moved between different documents.",this);var o=t.root.document?t.root.document.version:null,i=new Ho.a(t.start,t.end.offset-t.start.offset,n,o);this.batch.addOperation(i),this.model.applyOperation(i)}}},{key:"remove",value:function(t){this._assertWriterUsedCorrectly();var e=(t instanceof sr.a?t:sr.a._createOn(t)).getMinimalFlatRanges().reverse(),r=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;this._addOperationForAffectedMarkers("move",s),ci(s.start,s.end.offset-s.start.offset,this.batch,this.model)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}},{key:"merge",value:function(t){this._assertWriterUsedCorrectly();var e=t.nodeBefore,r=t.nodeAfter;if(this._addOperationForAffectedMarkers("merge",t),!(e instanceof mr.a))throw new T.b("writer-merge-no-element-before: Node before merge position must be an element.",this);if(!(r instanceof mr.a))throw new T.b("writer-merge-no-element-after: Node after merge position must be an element.",this);t.root.document?this._merge(t):this._mergeDetached(t)}},{key:"createPositionFromPath",value:function(t,e,r){return this.model.createPositionFromPath(t,e,r)}},{key:"createPositionAt",value:function(t,e){return this.model.createPositionAt(t,e)}},{key:"createPositionAfter",value:function(t){return this.model.createPositionAfter(t)}},{key:"createPositionBefore",value:function(t){return this.model.createPositionBefore(t)}},{key:"createRange",value:function(t,e){return this.model.createRange(t,e)}},{key:"createRangeIn",value:function(t){return this.model.createRangeIn(t)}},{key:"createRangeOn",value:function(t){return this.model.createRangeOn(t)}},{key:"createSelection",value:function(t,e,r){return this.model.createSelection(t,e,r)}},{key:"_mergeDetached",value:function(t){var e=t.nodeBefore,r=t.nodeAfter;this.move(sr.a._createIn(r),ar.a._createAt(e,"end")),this.remove(r)}},{key:"_merge",value:function(t){var e=ar.a._createAt(t.nodeBefore,"end"),r=ar.a._createAt(t.nodeAfter,0),n=t.root.document.graveyard,o=new ar.a(n,[0]),i=t.root.document.version,a=new Yo.a(r,t.nodeAfter.maxOffset,e,o,i);this.batch.addOperation(a),this.model.applyOperation(a)}},{key:"rename",value:function(t,e){if(this._assertWriterUsedCorrectly(),!(t instanceof mr.a))throw new T.b("writer-rename-not-element-instance: Trying to rename an object which is not an instance of Element.",this);var r=t.root.document?t.root.document.version:null,n=new Go.a(ar.a._createBefore(t),t.name,e,r);this.batch.addOperation(n),this.model.applyOperation(n)}},{key:"split",value:function(t,e){this._assertWriterUsedCorrectly();var r,n,o=t.parent;if(!o.parent)throw new T.b("writer-split-element-no-parent: Element with no parent can not be split.",this);if(e||(e=o.parent),!t.parent.getAncestors({includeSelf:!0}).includes(e))throw new T.b("writer-split-invalid-limit-element: Limit element is not a position ancestor.",this);do{var i=o.root.document?o.root.document.version:null,a=o.maxOffset-t.offset,s=new Jo.a(t,a,null,i);this.batch.addOperation(s),this.model.applyOperation(s),r||n||(r=o,n=t.parent.nextSibling),o=(t=this.createPositionAfter(t.parent)).parent}while(o!==e);return{position:t,range:new sr.a(ar.a._createAt(r,"end"),ar.a._createAt(n,0))}}},{key:"wrap",value:function(t,e){if(this._assertWriterUsedCorrectly(),!t.isFlat)throw new T.b("writer-wrap-range-not-flat: Range to wrap is not flat.",this);var r=e instanceof mr.a?e:new mr.a(e);if(r.childCount>0)throw new T.b("writer-wrap-element-not-empty: Element to wrap with is not empty.",this);if(null!==r.parent)throw new T.b("writer-wrap-element-attached: Element to wrap with is already attached to tree model.",this);this.insert(r,t.start);var n=new sr.a(t.start.getShiftedBy(1),t.end.getShiftedBy(1));this.move(n,ar.a._createAt(r,0))}},{key:"unwrap",value:function(t){if(this._assertWriterUsedCorrectly(),null===t.parent)throw new T.b("writer-unwrap-element-no-parent: Trying to unwrap an element which has no parent.",this);this.move(sr.a._createIn(t),this.createPositionAfter(t)),this.remove(t)}},{key:"addMarker",value:function(t,e){if(this._assertWriterUsedCorrectly(),!e||"boolean"!=typeof e.usingOperation)throw new T.b("writer-addMarker-no-usingOperation: The options.usingOperation parameter is required when adding a new marker.",this);var r=e.usingOperation,n=e.range,o=void 0!==e.affectsData&&e.affectsData;if(this.model.markers.has(t))throw new T.b("writer-addMarker-marker-exists: Marker with provided name already exists.",this);if(!n)throw new T.b("writer-addMarker-no-range: Range parameter is required when adding a new marker.",this);return r?(ui(this,t,null,n,o),this.model.markers.get(t)):this.model.markers._set(t,n,r,o)}},{key:"updateMarker",value:function(t,e){this._assertWriterUsedCorrectly();var r="string"==typeof t?t:t.name,n=this.model.markers.get(r);if(!n)throw new T.b("writer-updateMarker-marker-not-exists: Marker with provided name does not exists.",this);if(e){var o="boolean"==typeof e.usingOperation,i="boolean"==typeof e.affectsData,a=i?e.affectsData:n.affectsData;if(!o&&!e.range&&!i)throw new T.b("writer-updateMarker-wrong-options: One of the options is required - provide range, usingOperations or affectsData.",this);var s=n.getRange(),u=e.range?e.range:s;o&&e.usingOperation!==n.managedUsingOperations?e.usingOperation?ui(this,r,null,u,a):(ui(this,r,s,null,a),this.model.markers._set(r,u,void 0,a)):n.managedUsingOperations?ui(this,r,s,u,a):this.model.markers._set(r,u,void 0,a)}else this.model.markers._refresh(n)}},{key:"removeMarker",value:function(t){this._assertWriterUsedCorrectly();var e="string"==typeof t?t:t.name;if(!this.model.markers.has(e))throw new T.b("writer-removeMarker-no-marker: Trying to remove marker which does not exist.",this);var r=this.model.markers.get(e);r.managedUsingOperations?ui(this,e,r.getRange(),null,r.affectsData):this.model.markers._remove(e)}},{key:"setSelection",value:function(t,e,r){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(t,e,r)}},{key:"setSelectionFocus",value:function(t,e){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(t,e)}},{key:"setSelectionAttribute",value:function(t,e){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._setSelectionAttribute(t,e);else{var r=!0,n=!1,o=void 0;try{for(var i,a=Object(Ir.a)(t)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=ni(i.value,2),u=s[0],c=s[1];this._setSelectionAttribute(u,c)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}}},{key:"removeSelectionAttribute",value:function(t){if(this._assertWriterUsedCorrectly(),"string"==typeof t)this._removeSelectionAttribute(t);else{var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._removeSelectionAttribute(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}}},{key:"overrideSelectionGravity",value:function(){return this.model.document.selection._overrideGravity()}},{key:"restoreSelectionGravity",value:function(t){this.model.document.selection._restoreGravity(t)}},{key:"_setSelectionAttribute",value:function(t,e){var r=this.model.document.selection;if(r.isCollapsed&&r.anchor.parent.isEmpty){var n=Kr._getStoreAttributeKey(t);this.setAttribute(n,e,r.anchor.parent)}r._setAttribute(t,e)}},{key:"_removeSelectionAttribute",value:function(t){var e=this.model.document.selection;if(e.isCollapsed&&e.anchor.parent.isEmpty){var r=Kr._getStoreAttributeKey(t);this.removeAttribute(r,e.anchor.parent)}e._removeAttribute(t)}},{key:"_assertWriterUsedCorrectly",value:function(){if(this.model._currentWriter!==this)throw new T.b("writer-incorrect-use: Trying to use a writer outside the change() block.",this)}},{key:"_addOperationForAffectedMarkers",value:function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=this.model.markers[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(s.managedUsingOperations){var u=s.getRange(),c=!1;if("move"==t)c=e.containsPosition(u.start)||e.start.isEqual(u.start)||e.containsPosition(u.end)||e.end.isEqual(u.end);else{var l=e.nodeBefore,f=e.nodeAfter,h=u.start.parent==l&&u.start.isAtEnd,p=u.end.parent==f&&0==u.end.offset,d=u.end.nodeAfter==f,y=u.start.nodeAfter==f;c=h||p||d||y}c&&this.updateMarker(s.name,{range:u})}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}}])&&oi(e.prototype,r),n&&oi(e,n),t}();function ai(t,e,r,n){var o,i,a,s=t.model,u=s.document,c=n.start,l=!0,f=!1,h=void 0;try{for(var p,d=n.getWalker({shallow:!0})[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;a=y.item.getAttribute(e),o&&i!=a&&(i!=r&&v(),c=o),o=y.nextPosition,i=a}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}function v(){var n=new sr.a(c,o),a=n.root.document?u.version:null,l=new Ro.a(n,e,i,r,a);t.batch.addOperation(l),s.applyOperation(l)}o instanceof ar.a&&o!=c&&i!=r&&v()}function si(t,e,r,n){var o,i,a=t.model,s=a.document,u=n.getAttribute(e);if(u!=r){if(n.root===n){var c=n.document?s.version:null;i=new Wo.a(n,e,u,r,c)}else{var l=(o=new sr.a(ar.a._createBefore(n),t.createPositionAfter(n))).root.document?s.version:null;i=new Ro.a(o,e,u,r,l)}t.batch.addOperation(i),a.applyOperation(i)}}function ui(t,e,r,n,o){var i=t.model,a=i.document,s=new zo.a(e,r,n,i.markers,o,a.version);t.batch.addOperation(s),i.applyOperation(s)}function ci(t,e,r,n){var o;if(t.root.document){var i=n.document,a=new ar.a(i.graveyard,[0]);o=new Ho.a(t,e,a,i.version)}else o=new Fo(t,e);r.addOperation(o),n.applyOperation(o)}function li(t,e){return t===e||t instanceof ri&&e instanceof ri}function fi(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function hi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function pi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var di=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._markerCollection=e,this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null}var e,r,n;return e=t,(r=[{key:"refreshItem",value:function(t){if(!this._isInInsertedElement(t.parent)){this._markRemove(t.parent,t.startOffset,t.offsetSize),this._markInsert(t.parent,t.startOffset,t.offsetSize);var e=sr.a._createOn(t),r=!0,n=!1,o=void 0;try{for(var i,a=this._markerCollection.getMarkersIntersectingRange(e)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=s.getRange();this.bufferMarkerChange(s.name,u,u,s.affectsData)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}this._cachedChanges=null}}},{key:"bufferOperation",value:function(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":var e=!0,r=!1,n=void 0;try{for(var o,i=t.range.getItems({shallow:!0})[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._isInInsertedElement(a.parent)||this._markAttribute(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}break;case"remove":case"move":case"reinsert":if(t.sourcePosition.isEqual(t.targetPosition)||t.sourcePosition.getShiftedBy(t.howMany).isEqual(t.targetPosition))return;var s=this._isInInsertedElement(t.sourcePosition.parent),u=this._isInInsertedElement(t.targetPosition.parent);s||this._markRemove(t.sourcePosition.parent,t.sourcePosition.offset,t.howMany),u||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);var c=sr.a._createFromPositionAndShift(t.position,1),l=!0,f=!1,h=void 0;try{for(var p,d=this._markerCollection.getMarkersIntersectingRange(c)[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value,v=y.getRange();this.bufferMarkerChange(y.name,v,v,y.affectsData)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}break;case"split":var b=t.splitPosition.parent;this._isInInsertedElement(b)||this._markRemove(b,t.splitPosition.offset,t.howMany),this._isInInsertedElement(t.insertionPosition.parent)||this._markInsert(t.insertionPosition.parent,t.insertionPosition.offset,1),t.graveyardPosition&&this._markRemove(t.graveyardPosition.parent,t.graveyardPosition.offset,1);break;case"merge":var g=t.sourcePosition.parent;this._isInInsertedElement(g.parent)||this._markRemove(g.parent,g.startOffset,1);var m=t.graveyardPosition.parent;this._markInsert(m,t.graveyardPosition.offset,1);var w=t.targetPosition.parent;this._isInInsertedElement(w)||this._markInsert(w,t.targetPosition.offset,g.maxOffset)}this._cachedChanges=null}},{key:"bufferMarkerChange",value:function(t,e,r,n){var o=this._changedMarkers.get(t);o?(o.newRange=r,o.affectsData=n,null==o.oldRange&&null==o.newRange&&this._changedMarkers.delete(t)):this._changedMarkers.set(t,{oldRange:e,newRange:r,affectsData:n})}},{key:"getMarkersToRemove",value:function(){var t=[],e=!0,r=!1,n=void 0;try{for(var o,i=this._changedMarkers[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=hi(o.value,2),s=a[0],u=a[1];null!=u.oldRange&&t.push({name:s,range:u.oldRange})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t}},{key:"getMarkersToAdd",value:function(){var t=[],e=!0,r=!1,n=void 0;try{for(var o,i=this._changedMarkers[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=hi(o.value,2),s=a[0],u=a[1];null!=u.newRange&&t.push({name:s,range:u.newRange})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t}},{key:"getChangedMarkers",value:function(){return Array.from(this._changedMarkers).map((function(t){return{name:t[0],data:{oldRange:t[1].oldRange,newRange:t[1].newRange}}}))}},{key:"hasDataChanges",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this._changedMarkers[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)if(hi(n.value,2)[1].affectsData)return!0}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}return this._changesInElement.size>0}},{key:"getChanges",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeChangesInGraveyard:!1};if(this._cachedChanges)return t.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();var e=[],r=!0,n=!1,o=void 0;try{for(var i,a=this._changesInElement.keys()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=this._changesInElement.get(s).sort((function(t,e){return t.offset===e.offset?t.type!=e.type?"remove"==t.type?-1:1:0:t.offset<e.offset?-1:1})),c=this._elementSnapshots.get(s),l=yi(s.getChildren()),f=vi(c.length,u),h=0,p=0,d=!0,y=!1,v=void 0;try{for(var b,g=f[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;if("i"===m)e.push(this._getInsertDiff(s,h,l[h].name)),h++;else if("r"===m)e.push(this._getRemoveDiff(s,h,c[p].name)),p++;else if("a"===m){var w=l[h].attributes,k=c[p].attributes,_=void 0;if("$text"==l[h].name)_=new sr.a(ar.a._createAt(s,h),ar.a._createAt(s,h+1));else{var O=s.offsetToIndex(h);_=new sr.a(ar.a._createAt(s,h),ar.a._createAt(s.getChild(O),0))}e.push.apply(e,fi(this._getAttributesDiff(_,k,w))),h++,p++}else h++,p++}}catch(t){y=!0,v=t}finally{try{d||null==g.return||g.return()}finally{if(y)throw v}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}e.sort((function(t,e){return t.position.root!=e.position.root?t.position.root.rootName<e.position.root.rootName?-1:1:t.position.isEqual(e.position)?t.changeCount-e.changeCount:t.position.isBefore(e.position)?-1:1}));for(var S=1;S<e.length;S++){var x=e[S-1],P=e[S],E="remove"==x.type&&"remove"==P.type&&"$text"==x.name&&"$text"==P.name&&x.position.isEqual(P.position),A="insert"==x.type&&"insert"==P.type&&"$text"==x.name&&"$text"==P.name&&x.position.parent==P.position.parent&&x.position.offset+x.length==P.position.offset,T="attribute"==x.type&&"attribute"==P.type&&x.position.parent==P.position.parent&&x.range.isFlat&&P.range.isFlat&&x.position.offset+x.length==P.position.offset&&x.attributeKey==P.attributeKey&&x.attributeOldValue==P.attributeOldValue&&x.attributeNewValue==P.attributeNewValue;(E||A||T)&&(e[S-1].length++,T&&(e[S-1].range.end=e[S-1].range.end.getShiftedBy(1)),e.splice(S,1),S--)}for(var C=0,j=e;C<j.length;C++){var R=j[C];delete R.changeCount,"attribute"==R.type&&(delete R.position,delete R.length)}return this._changeCount=0,this._cachedChangesWithGraveyard=e.slice(),this._cachedChanges=e.slice().filter(bi),t.includeChangesInGraveyard?this._cachedChangesWithGraveyard:this._cachedChanges}},{key:"reset",value:function(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._cachedChanges=null}},{key:"_markInsert",value:function(t,e,r){var n={type:"insert",offset:e,howMany:r,count:this._changeCount++};this._markChange(t,n)}},{key:"_markRemove",value:function(t,e,r){var n={type:"remove",offset:e,howMany:r,count:this._changeCount++};this._markChange(t,n),this._removeAllNestedChanges(t,e,r)}},{key:"_markAttribute",value:function(t){var e={type:"attribute",offset:t.startOffset,howMany:t.offsetSize,count:this._changeCount++};this._markChange(t.parent,e)}},{key:"_markChange",value:function(t,e){this._makeSnapshot(t);var r=this._getChangesForElement(t);this._handleChange(e,r),r.push(e);for(var n=0;n<r.length;n++)r[n].howMany<1&&(r.splice(n,1),n--)}},{key:"_getChangesForElement",value:function(t){var e;return this._changesInElement.has(t)?e=this._changesInElement.get(t):(e=[],this._changesInElement.set(t,e)),e}},{key:"_makeSnapshot",value:function(t){this._elementSnapshots.has(t)||this._elementSnapshots.set(t,yi(t.getChildren()))}},{key:"_handleChange",value:function(t,e){t.nodesToHandle=t.howMany;var r=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=t.offset+t.howMany,c=s.offset+s.howMany;if("insert"==t.type&&("insert"==s.type&&(t.offset<=s.offset?s.offset+=t.howMany:t.offset<c&&(s.howMany+=t.nodesToHandle,t.nodesToHandle=0)),"remove"==s.type&&t.offset<s.offset&&(s.offset+=t.howMany),"attribute"==s.type))if(t.offset<=s.offset)s.offset+=t.howMany;else if(t.offset<c){var l=s.howMany;s.howMany=t.offset-s.offset,e.unshift({type:"attribute",offset:u,howMany:l-s.howMany,count:this._changeCount++})}if("remove"==t.type){if("insert"==s.type)if(u<=s.offset)s.offset-=t.howMany;else if(u<=c)if(t.offset<s.offset){var f=u-s.offset;s.offset=t.offset,s.howMany-=f,t.nodesToHandle-=f}else s.howMany-=t.nodesToHandle,t.nodesToHandle=0;else if(t.offset<=s.offset)t.nodesToHandle-=s.howMany,s.howMany=0;else if(t.offset<c){var h=c-t.offset;s.howMany-=h,t.nodesToHandle-=h}if("remove"==s.type&&(u<=s.offset?s.offset-=t.howMany:t.offset<s.offset&&(t.nodesToHandle+=s.howMany,s.howMany=0)),"attribute"==s.type)if(u<=s.offset)s.offset-=t.howMany;else if(t.offset<s.offset){var p=u-s.offset;s.offset=t.offset,s.howMany-=p}else if(t.offset<c)if(u<=c){var d=s.howMany;s.howMany=t.offset-s.offset;var y=d-s.howMany-t.nodesToHandle;e.unshift({type:"attribute",offset:t.offset,howMany:y,count:this._changeCount++})}else s.howMany-=c-t.offset}if("attribute"==t.type){if("insert"==s.type)if(t.offset<s.offset&&u>s.offset){if(u>c){var v={type:"attribute",offset:c,howMany:u-c,count:this._changeCount++};this._handleChange(v,e),e.push(v)}t.nodesToHandle=s.offset-t.offset,t.howMany=t.nodesToHandle}else t.offset>=s.offset&&t.offset<c&&(u>c?(t.nodesToHandle=u-c,t.offset=c):t.nodesToHandle=0);if("remove"==s.type&&t.offset<s.offset&&u>s.offset){var b={type:"attribute",offset:s.offset,howMany:u-s.offset,count:this._changeCount++};this._handleChange(b,e),e.push(b),t.nodesToHandle=s.offset-t.offset,t.howMany=t.nodesToHandle}"attribute"==s.type&&(t.offset>=s.offset&&u<=c?(t.nodesToHandle=0,t.howMany=0,t.offset=0):t.offset<=s.offset&&u>=c&&(s.howMany=0))}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}t.howMany=t.nodesToHandle,delete t.nodesToHandle}},{key:"_getInsertDiff",value:function(t,e,r){return{type:"insert",position:ar.a._createAt(t,e),name:r,length:1,changeCount:this._changeCount++}}},{key:"_getRemoveDiff",value:function(t,e,r){return{type:"remove",position:ar.a._createAt(t,e),name:r,length:1,changeCount:this._changeCount++}}},{key:"_getAttributesDiff",value:function(t,e,r){var n=[];r=new Map(r);var o=!0,i=!1,a=void 0;try{for(var s,u=e[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=hi(s.value,2),l=c[0],f=c[1],h=r.has(l)?r.get(l):null;h!==f&&n.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:l,attributeOldValue:f,attributeNewValue:h,changeCount:this._changeCount++}),r.delete(l)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}var p=!0,d=!1,y=void 0;try{for(var v,b=r[Symbol.iterator]();!(p=(v=b.next()).done);p=!0){var g=hi(v.value,2),m=g[0],w=g[1];n.push({type:"attribute",position:t.start,range:t.clone(),length:1,attributeKey:m,attributeOldValue:null,attributeNewValue:w,changeCount:this._changeCount++})}}catch(t){d=!0,y=t}finally{try{p||null==b.return||b.return()}finally{if(d)throw y}}return n}},{key:"_isInInsertedElement",value:function(t){var e=t.parent;if(!e)return!1;var r=this._changesInElement.get(e),n=t.startOffset;if(r){var o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("insert"==c.type&&n>=c.offset&&n<c.offset+c.howMany)return!0}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}return this._isInInsertedElement(e)}},{key:"_removeAllNestedChanges",value:function(t,e,r){var n=new sr.a(ar.a._createAt(t,e),ar.a._createAt(t,e+r)),o=!0,i=!1,a=void 0;try{for(var s,u=n.getItems({shallow:!0})[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;c.is("element")&&(this._elementSnapshots.delete(c),this._changesInElement.delete(c),this._removeAllNestedChanges(c,0,c.maxOffset))}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}},{key:"isEmpty",get:function(){return 0==this._changesInElement.size&&0==this._changedMarkers.size}}])&&pi(e.prototype,r),n&&pi(e,n),t}();function yi(t){var e=[],r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(s.is("text"))for(var u=0;u<s.data.length;u++)e.push({name:"$text",attributes:new Map(s.getAttributes())});else e.push({name:s.name,attributes:new Map(s.getAttributes())})}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}function vi(t,e){var r=[],n=0,o=0,i=!0,a=!1,s=void 0;try{for(var u,c=e[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;if(l.offset>n){for(var f=0;f<l.offset-n;f++)r.push("e");o+=l.offset-n}if("insert"==l.type){for(var h=0;h<l.howMany;h++)r.push("i");n=l.offset+l.howMany}else if("remove"==l.type){for(var p=0;p<l.howMany;p++)r.push("r");n=l.offset,o+=l.howMany}else r.push.apply(r,fi("a".repeat(l.howMany).split(""))),n=l.offset+l.howMany,o+=l.howMany}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}if(o<t)for(var d=0;d<t-o-n;d++)r.push("e");return r}function bi(t){var e=t.position&&"$graveyard"==t.position.root.rootName,r=t.range&&"$graveyard"==t.range.root.rootName;return!e&&!r}function gi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var mi=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._operations=[],this._undoPairs=new Map,this._undoneOperations=new Set}var e,r,n;return e=t,(r=[{key:"addOperation",value:function(t){this._operations.includes(t)||this._operations.push(t)}},{key:"getOperations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return t<0?[]:this._operations.slice(t,e)}},{key:"getOperation",value:function(t){return this._operations[t]}},{key:"setOperationAsUndone",value:function(t,e){this._undoPairs.set(e,t),this._undoneOperations.add(t)}},{key:"isUndoingOperation",value:function(t){return this._undoPairs.has(t)}},{key:"isUndoneOperation",value:function(t){return this._undoneOperations.has(t)}},{key:"getUndoneOperation",value:function(t){return this._undoPairs.get(t)}}])&&gi(e.prototype,r),n&&gi(e,n),t}();
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function wi(t,e){return!!(r=t.charAt(e-1))&&1==r.length&&/[\ud800-\udbff]/.test(r)&&function(t){return!!t&&1==t.length&&/[\udc00-\udfff]/.test(t)}(t.charAt(e));var r}function ki(t,e){return!!(r=t.charAt(e))&&1==r.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(r);var r}var _i=r(1485);function Oi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Si="$graveyard",xi=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.version=0,this.history=new mi(this),this.selection=new Kr(this),this.roots=new m.a({idProperty:"rootName"}),this.differ=new di(e.markers),this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",Si),this.listenTo(e,"applyOperation",(function(t,e){var n=e[0];if(n.isDocumentOperation&&n.baseVersion!==r.version)throw new T.b("model-document-applyOperation-wrong-version: Only operations with matching versions can be applied.",r,{operation:n})}),{priority:"highest"}),this.listenTo(e,"applyOperation",(function(t,e){var n=e[0];n.isDocumentOperation&&r.differ.bufferOperation(n)}),{priority:"high"}),this.listenTo(e,"applyOperation",(function(t,e){var n=e[0];n.isDocumentOperation&&(r.version++,r.history.addOperation(n))}),{priority:"low"}),this.listenTo(this.selection,"change",(function(){r._hasSelectionChangedFromTheLastChangeBlock=!0})),this.listenTo(e.markers,"update",(function(t,e,n,o){r.differ.bufferMarkerChange(e.name,n,o,e.affectsData),null===n&&e.on("change",(function(t,n){r.differ.bufferMarkerChange(e.name,n,e.getRange(),e.affectsData)}))}))}var e,r,n;return e=t,(r=[{key:"createRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$root",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main";if(this.roots.get(e))throw new T.b("model-document-createRoot-name-exists: Root with specified name already exists.",this,{name:e});var r=new ri(this,t,e);return this.roots.add(r),r}},{key:"destroy",value:function(){this.selection.destroy(),this.stopListening()}},{key:"getRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this.roots.get(t)}},{key:"getRootNames",value:function(){return Array.from(this.roots,(function(t){return t.rootName})).filter((function(t){return t!=Si}))}},{key:"registerPostFixer",value:function(t){this._postFixers.add(t)}},{key:"toJSON",value:function(){var t=Object(_i.a)(this);return t.selection="[engine.model.DocumentSelection]",t.model="[engine.model.Model]",t}},{key:"_handleChangeBlock",value:function(t){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(t),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",t.batch):this.fire("change",t.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}},{key:"_hasDocumentChangedFromTheLastChangeBlock",value:function(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}},{key:"_getDefaultRoot",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this.roots[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i=n.value;if(i!==this.graveyard)return i}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}return this.graveyard}},{key:"_getDefaultRange",value:function(){var t=this._getDefaultRoot(),e=this.model,r=e.schema,n=e.createPositionFromPath(t,[0]);return r.getNearestSelectionRange(n)||e.createRange(n)}},{key:"_validateSelectionRange",value:function(t){return Pi(t.start)&&Pi(t.end)}},{key:"_callPostFixers",value:function(t){var e=!1;do{var r=!0,n=!1,o=void 0;try{for(var i,a=this._postFixers[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(this.selection.refresh(),e=s(t))break}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}while(e)}},{key:"graveyard",get:function(){return this.getRoot(Si)}}])&&Oi(e.prototype,r),n&&Oi(e,n),t}();function Pi(t){var e=t.textNode;if(e){var r=e.data,n=t.offset-e.startOffset;return!wi(r,n)&&!ki(r,n)}return!0}function Ei(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ai(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ti(t,e,r){return e&&Ai(t.prototype,e),r&&Ai(t,r),t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */Object(w.a)(xi,ur.c);var Ci=function(){function t(){Ei(this,t),this._markers=new Map}return Ti(t,[{key:Symbol.iterator,value:function(){return this._markers.values()}},{key:"has",value:function(t){return this._markers.has(t)}},{key:"get",value:function(t){return this._markers.get(t)||null}},{key:"_set",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t instanceof ji?t.name:t,i=this._markers.get(o);if(i){var a=i.getRange(),s=!1;return a.isEqual(e)||(i._attachLiveRange(Dr.fromRange(e)),s=!0),r!=i.managedUsingOperations&&(i._managedUsingOperations=r,s=!0),"boolean"==typeof n&&n!=i.affectsData&&(i._affectsData=n,s=!0),s&&this.fire("update:"+o,i,a,e),i}var u=Dr.fromRange(e),c=new ji(o,u,r,n);return this._markers.set(o,c),this.fire("update:"+o,c,null,e),c}},{key:"_remove",value:function(t){var e=t instanceof ji?t.name:t,r=this._markers.get(e);return!!r&&(this._markers.delete(e),this.fire("update:"+e,r,r.getRange(),null),this._destroyMarker(r),!0)}},{key:"_refresh",value:function(t){var e=t instanceof ji?t.name:t,r=this._markers.get(e);if(!r)throw new T.b("markercollection-refresh-marker-not-exists: Marker with provided name does not exists.",this);var n=r.getRange();this.fire("update:"+e,r,n,n,r.managedUsingOperations,r.affectsData)}},{key:"getMarkersAtPosition",value:regeneratorRuntime.mark((function t(e){var r,n,o,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!0,n=!1,o=void 0,t.prev=3,i=this[Symbol.iterator]();case 5:if(r=(a=i.next()).done){t.next=13;break}if(!(s=a.value).getRange().containsPosition(e)){t.next=10;break}return t.next=10,s;case 10:r=!0,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),n=!0,o=t.t0;case 19:t.prev=19,t.prev=20,r||null==i.return||i.return();case 22:if(t.prev=22,!n){t.next=25;break}throw o;case 25:return t.finish(22);case 26:return t.finish(19);case 27:case"end":return t.stop()}}),t,this,[[3,15,19,27],[20,,22,26]])}))},{key:"getMarkersIntersectingRange",value:regeneratorRuntime.mark((function t(e){var r,n,o,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!0,n=!1,o=void 0,t.prev=3,i=this[Symbol.iterator]();case 5:if(r=(a=i.next()).done){t.next=13;break}if(null===(s=a.value).getRange().getIntersection(e)){t.next=10;break}return t.next=10,s;case 10:r=!0,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),n=!0,o=t.t0;case 19:t.prev=19,t.prev=20,r||null==i.return||i.return();case 22:if(t.prev=22,!n){t.next=25;break}throw o;case 25:return t.finish(22);case 26:return t.finish(19);case 27:case"end":return t.stop()}}),t,this,[[3,15,19,27],[20,,22,26]])}))},{key:"destroy",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this._markers.values()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i=n.value;this._destroyMarker(i)}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}this._markers=null,this.stopListening()}},{key:"getMarkersGroup",value:regeneratorRuntime.mark((function t(e){var r,n,o,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!0,n=!1,o=void 0,t.prev=3,i=this._markers.values()[Symbol.iterator]();case 5:if(r=(a=i.next()).done){t.next=13;break}if(!(s=a.value).name.startsWith(e+":")){t.next=10;break}return t.next=10,s;case 10:r=!0,t.next=5;break;case 13:t.next=19;break;case 15:t.prev=15,t.t0=t.catch(3),n=!0,o=t.t0;case 19:t.prev=19,t.prev=20,r||null==i.return||i.return();case 22:if(t.prev=22,!n){t.next=25;break}throw o;case 25:return t.finish(22);case 26:return t.finish(19);case 27:case"end":return t.stop()}}),t,this,[[3,15,19,27],[20,,22,26]])}))},{key:"_destroyMarker",value:function(t){t.stopListening(),t._detachLiveRange()}}]),t}();Object(w.a)(Ci,ur.c);var ji=function(){function t(e,r,n,o){Ei(this,t),this.name=e,this._liveRange=this._attachLiveRange(r),this._managedUsingOperations=n,this._affectsData=o}return Ti(t,[{key:"getStart",value:function(){if(!this._liveRange)throw new T.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.start.clone()}},{key:"getEnd",value:function(){if(!this._liveRange)throw new T.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.end.clone()}},{key:"getRange",value:function(){if(!this._liveRange)throw new T.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._liveRange.toRange()}},{key:"is",value:function(t){return"marker"==t||"model:marker"==t}},{key:"_attachLiveRange",value:function(t){return this._liveRange&&this._detachLiveRange(),t.delegate("change:range").to(this),t.delegate("change:content").to(this),this._liveRange=t,t}},{key:"_detachLiveRange",value:function(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}},{key:"managedUsingOperations",get:function(){if(!this._liveRange)throw new T.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._managedUsingOperations}},{key:"affectsData",get:function(){if(!this._liveRange)throw new T.b("marker-destroyed: Cannot use a destroyed marker instance.",this);return this._affectsData}}]),t}();function Ri(t){return(Ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Di(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ni(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qi(t,e,r){return(qi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Bi(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Bi(t){return(Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ii(t,e){return(Ii=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */Object(w.a)(ji,ur.c);var Li=function(t){function e(t,r){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toNone";if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),!(n=function(t,e){return!e||"object"!==Ri(e)&&"function"!=typeof e?Ni(t):e}(this,Bi(e).call(this,t,r,o))).root.is("rootElement"))throw new T.b("model-liveposition-root-not-rootelement: LivePosition's root has to be an instance of RootElement.",t);return Mi.call(Ni(n)),n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ii(t,e)}(e,t),r=e,o=[{key:"fromPosition",value:function(t,e){return new this(t.root,t.path.slice(),e||t.stickiness)}}],(n=[{key:"detach",value:function(){this.stopListening()}},{key:"is",value:function(t){return"livePosition"==t||"model:livePosition"==t||qi(Bi(e.prototype),"is",this).call(this,t)}},{key:"toPosition",value:function(){return new ar.a(this.root,this.path.slice(),this.stickiness)}}])&&Di(r.prototype,n),o&&Di(r,o),e}(ar.a);function Mi(){var t=this;this.listenTo(this.root.document.model,"applyOperation",(function(e,r){var n=r[0];n.isDocumentOperation&&Vi.call(t,n)}),{priority:"low"})}function Vi(t){var e=this.getTransformedByOperation(t);if(!this.isEqual(e)){var r=this.toPosition();this.path=e.path,this.root=e.root,this.fire("change",r)}}function Fi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object(w.a)(Li,ur.c);var Ui=function(){function t(e,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.writer=r,this.position=n,this.canMergeWith=new Set([this.position.parent]),this.schema=e.schema,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null}var e,r,n;
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */return e=t,(r=[{key:"handleNodes",value:function(t,e){t=Array.from(t);for(var r=0;r<t.length;r++){var n=t[r];this._handleNode(n,{isFirst:0===r&&e.isFirst,isLast:r===t.length-1&&e.isLast})}this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}},{key:"getSelectionRange",value:function(){return this.nodeToSelect?sr.a._createOn(this.nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}},{key:"getAffectedRange",value:function(){return this._affectedStart?new sr.a(this._affectedStart,this._affectedEnd):null}},{key:"destroy",value:function(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}},{key:"_handleNode",value:function(t,e){this.schema.isObject(t)?this._handleObject(t,e):this._checkAndSplitToAllowedPosition(t,e)?(this._insert(t),this._mergeSiblingsOf(t,e)):this._handleDisallowedNode(t,e)}},{key:"_handleObject",value:function(t,e){this._checkAndSplitToAllowedPosition(t)?this._insert(t):this._tryAutoparagraphing(t,e)}},{key:"_handleDisallowedNode",value:function(t,e){t.is("element")?this.handleNodes(t.getChildren(),e):this._tryAutoparagraphing(t,e)}},{key:"_insert",value:function(t){if(!this.schema.checkChild(this.position,t))throw new T.b("insertcontent-wrong-position: Given node cannot be inserted on the given position.",this,{node:t,position:this.position});var e=Li.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this.writer.insert(t,this.position),this.position=e.toPosition(),e.detach(),this.schema.isObject(t)&&!this.schema.checkChild(this.position,"$text")?this.nodeToSelect=t:this.nodeToSelect=null,this._filterAttributesOf.push(t)}},{key:"_setAffectedBoundaries",value:function(t){this._affectedStart||(this._affectedStart=Li.fromPosition(t,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(t)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=Li.fromPosition(t,"toNext"))}},{key:"_mergeSiblingsOf",value:function(t,e){if(t instanceof mr.a){var r=this._canMergeLeft(t,e),n=this._canMergeRight(t,e),o=Li._createBefore(t);o.stickiness="toNext";var i=Li._createAfter(t);if(i.stickiness="toNext",r){var a=Li.fromPosition(this.position);a.stickiness="toNext",this._affectedStart.isEqual(o)&&(this._affectedStart.detach(),this._affectedStart=Li._createAt(o.nodeBefore,"end","toPrevious")),this.writer.merge(o),o.isEqual(this._affectedEnd)&&e.isLast&&(this._affectedEnd.detach(),this._affectedEnd=Li._createAt(o.nodeBefore,"end","toNext")),this.position=a.toPosition(),a.detach()}if(n){if(!this.position.isEqual(i))throw new T.b("insertcontent-invalid-insertion-position",this);this.position=ar.a._createAt(i.nodeBefore,"end");var s=Li.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(i)&&(this._affectedEnd.detach(),this._affectedEnd=Li._createAt(i.nodeBefore,"end","toNext")),this.writer.merge(i),i.getShiftedBy(-1).isEqual(this._affectedStart)&&e.isFirst&&(this._affectedStart.detach(),this._affectedStart=Li._createAt(i.nodeBefore,0,"toPrevious")),this.position=s.toPosition(),s.detach()}(r||n)&&this._filterAttributesOf.push(this.position.parent),o.detach(),i.detach()}}},{key:"_canMergeLeft",value:function(t,e){var r=t.previousSibling;return e.isFirst&&r instanceof mr.a&&this.canMergeWith.has(r)&&this.model.schema.checkMerge(r,t)}},{key:"_canMergeRight",value:function(t,e){var r=t.nextSibling;return e.isLast&&r instanceof mr.a&&this.canMergeWith.has(r)&&this.model.schema.checkMerge(t,r)}},{key:"_tryAutoparagraphing",value:function(t,e){var r=this.writer.createElement("paragraph");this._getAllowedIn(r,this.position.parent)&&this.schema.checkChild(r,t)&&(r._appendChild(t),this._handleNode(r,e))}},{key:"_checkAndSplitToAllowedPosition",value:function(t){var e=this._getAllowedIn(t,this.position.parent);if(!e)return!1;for(;e!=this.position.parent;){if(this.schema.isLimit(this.position.parent))return!1;if(this.position.isAtStart){var r=this.position.parent;this.position=this.writer.createPositionBefore(r),r.isEmpty&&r.parent===e&&this.writer.remove(r)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{var n=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=n,this.canMergeWith.add(this.position.nodeAfter)}}return!0}},{key:"_getAllowedIn",value:function(t,e){return this.schema.checkChild(e,t)?e:e.parent?this._getAllowedIn(t,e.parent):null}}])&&Fi(e.prototype,r),n&&Fi(e,n),t}();
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function zi(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e.isCollapsed){var n=e.getFirstRange();if("$graveyard"!=n.root.rootName){var o=t.schema;t.change((function(t){if(r.doNotResetEntireContent||!function(t,e){var r=t.getLimitElement(e);if(!e.containsEntireContent(r))return!1;var n=e.getFirstRange();if(n.start.parent==n.end.parent)return!1;return t.checkChild(r,"paragraph")}(o,e)){var i=n.start,a=Li.fromPosition(n.end,"toNext");if(n.start.isTouching(n.end)||t.remove(n),r.leaveUnmerged||(!function t(e,r,n){var o=r.parent;var i=n.parent;if(o==i)return;if(e.model.schema.isLimit(o)||e.model.schema.isLimit(i))return;if(!function(t,e,r){var n=new sr.a(t,e),o=!0,i=!1,a=void 0;try{for(var s,u=n.getWalker()[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if(r.isLimit(c.item))return!1}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return!0}(r,n,e.model.schema))return;r=e.createPositionAfter(o);n=e.createPositionBefore(i);n.isEqual(r)||e.insert(i,r);e.merge(r);for(;n.parent.isEmpty;){var a=n.parent;n=e.createPositionBefore(a),e.remove(a)}t(e,r,n)}(t,i,a),o.removeDisallowedAttributes(i.parent.getChildren(),t)),Gi(t,e,i),function(t,e){var r=t.checkChild(e,"$text"),n=t.checkChild(e,"paragraph");return!r&&n}(o,i)){var s=o.getNearestSelectionRange(i);r.doNotAutoparagraph&&s?Gi(t,e,s):Hi(t,i,e)}a.detach()}else!function(t,e){var r=t.model.schema.getLimitElement(e);t.remove(t.createRangeIn(r)),Hi(t,t.createPositionAt(r,0),e)}(t,e)}))}}}function Hi(t,e,r){var n=t.createElement("paragraph");t.insert(n,e),Gi(t,r,t.createPositionAt(n,0))}function Gi(t,e,r){e instanceof Kr?t.setSelection(r):e.setTo(r)}function Wi(t){return(Wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Ji=' ,.?!:;"-()';function Yi(t,e){for(var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.schema,i="backward"!=n.direction,a=n.unit?n.unit:"character",s=e.focus,u=new Jn.a({boundaries:Ki(s,i),singleCharacters:!0,direction:i?"forward":"backward"}),c={walker:u,schema:o,isForward:i,unit:a},l=function(){if(r.done)return{v:void 0};var n=function(t,e){if("text"==e.type)return"word"===t.unit?function(t,e){var r=t.position.textNode;if(r)for(var n=t.position.offset-r.startOffset;!$i(r.data,n,e)&&!Qi(r,n,e);){t.next();var o=e?t.position.nodeAfter:t.position.nodeBefore;if(o&&o.is("text")){var i=o.data.charAt(e?0:o.data.length-1);Ji.includes(i)||(t.next(),r=t.position.textNode)}n=t.position.offset-r.startOffset}return t.position}(t.walker,t.isForward):function(t,e){var r=t.position.textNode;if(r)for(var n=r.data,o=t.position.offset-r.startOffset;wi(n,o)||"character"==e&&ki(n,o);)t.next(),o=t.position.offset-r.startOffset;return t.position}(t.walker,t.unit,t.isForward);if(e.type==(t.isForward?"elementStart":"elementEnd")){if(t.schema.isObject(e.item))return ar.a._createAt(e.item,t.isForward?"after":"before");if(t.schema.checkChild(e.nextPosition,"$text"))return e.nextPosition}else{if(t.schema.isLimit(e.item))return void t.walker.skip((function(){return!0}));if(t.schema.checkChild(e.nextPosition,"$text"))return e.nextPosition}}(c,r.value);return n?(e instanceof Kr?t.change((function(t){t.setSelectionFocus(n)})):e.setFocus(n),{v:void 0}):void 0};r=u.next();){var f=l();if("object"===Wi(f))return f.v}}function Ki(t,e){var r=t.root,n=ar.a._createAt(r,e?"end":0);return e?new sr.a(t,n):new sr.a(n,t)}function $i(t,e,r){var n=e+(r?0:-1);return Ji.includes(t.charAt(n))}function Qi(t,e,r){return e===(r?t.endOffset:0)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function Xi(t,e){var r=[];Array.from(t.getItems({direction:"backward"})).map((function(t){return e.createRangeOn(t)})).filter((function(e){return(e.start.isAfter(t.start)||e.start.isEqual(t.start))&&(e.end.isBefore(t.end)||e.end.isEqual(t.end))})).forEach((function(t){r.push(t.start.parent),e.remove(t)})),r.forEach((function(t){for(var r=t;r.parent&&r.isEmpty;){var n=e.createRangeOn(r);r=r.parent,e.remove(n)}}))}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function Zi(t){t.document.registerPostFixer((function(e){return function(t,e){var r=e.document.selection,n=e.schema,o=[],i=!1,a=!0,s=!1,u=void 0;try{for(var c,l=r.getRanges()[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=ta(f,n);h?(o.push(h),i=!0):o.push(f)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}if(i){var p=o;if(o.length>1){var d=o[0].start,y=o[o.length-1].end;p=[new sr.a(d,y)]}t.setSelection(p,{backward:r.isBackward})}}(e,t)}))}function ta(t,e){return t.isCollapsed?function(t,e){var r=t.start,n=e.getNearestSelectionRange(r);if(!n)return null;var o=n.start;if(r.isEqual(o))return null;if(o.nodeAfter&&e.isLimit(o.nodeAfter))return new sr.a(o,ar.a._createAfter(o.nodeAfter));return new sr.a(o)}(t,e):function(t,e){var r=t.start,n=t.end,o=e.checkChild(r,"$text"),i=e.checkChild(n,"$text"),a=e.getLimitElement(r),s=e.getLimitElement(n);if(a===s){if(o&&i)return null;if(function(t,e,r){var n=t.nodeAfter&&!r.isLimit(t.nodeAfter)||r.checkChild(t,"$text"),o=e.nodeBefore&&!r.isLimit(e.nodeBefore)||r.checkChild(e,"$text");return n||o}(r,n,e)){var u=r.nodeAfter&&e.isObject(r.nodeAfter)?null:e.getNearestSelectionRange(r,"forward"),c=n.nodeBefore&&e.isObject(n.nodeBefore)?null:e.getNearestSelectionRange(n,"backward"),l=u?u.start:r,f=c?c.start:n;return new sr.a(l,f)}}var h=a&&!a.is("rootElement"),p=s&&!s.is("rootElement");if(h||p){var d=r.nodeAfter&&n.nodeBefore&&r.nodeAfter.parent===n.nodeBefore.parent,y=h&&(!d||!ra(r.nodeAfter,e)),v=p&&(!d||!ra(n.nodeBefore,e)),b=r,g=n;return y&&(b=ar.a._createBefore(ea(a,e))),v&&(g=ar.a._createAfter(ea(s,e))),new sr.a(b,g)}return null}(t,e)}function ea(t,e){for(var r=t,n=r;e.isLimit(n)&&n.parent;)r=n,n=n.parent;return r}function ra(t,e){return t&&e.isObject(t)}function na(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var oa=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.markers=new Ci,this.document=new xi(this),this.schema=new eo,this._pendingChanges=[],this._currentWriter=null,["insertContent","deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach((function(t){return e.decorate(t)})),this.on("applyOperation",(function(t,e){e[0]._validate()}),{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$block",{allowIn:"$root",isBlock:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",isLimit:!0}),this.schema.extend("$text",{allowIn:"$clipboardHolder"}),this.schema.register("$marker"),this.schema.addChildCheck((function(t,e){if("$marker"===e.name)return!0})),Zi(this)}var e,r,n;return e=t,(r=[{key:"change",value:function(t){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new jo,callback:t}),this._runPendingChanges()[0]):t(this._currentWriter)}catch(t){T.b.rethrowUnexpectedError(t,this)}}},{key:"enqueueChange",value:function(t,e){try{"string"==typeof t?t=new jo(t):"function"==typeof t&&(e=t,t=new jo),this._pendingChanges.push({batch:t,callback:e}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(t){T.b.rethrowUnexpectedError(t,this)}}},{key:"applyOperation",value:function(t){t._execute()}},{key:"insertContent",value:function(t,e,r){return function(t,e,r,n){return t.change((function(o){var i,a=(i=r?r instanceof _r||r instanceof Kr?r:o.createSelection(r,n):t.document.selection).getFirstPosition();i.isCollapsed||t.deleteContent(i,{doNotAutoparagraph:!0});var s,u=new Ui(t,o,a);s=e.is("documentFragment")?e.getChildren():[e],u.handleNodes(s,{isFirst:!0,isLast:!0});var c=u.getSelectionRange();c&&(i instanceof Kr?o.setSelection(c):i.setTo(c));var l=u.getAffectedRange()||t.createRange(a);return u.destroy(),l}))}(this,t,e,r)}},{key:"deleteContent",value:function(t,e){zi(this,t,e)}},{key:"modifySelection",value:function(t,e){Yi(this,t,e)}},{key:"getSelectedContent",value:function(t){return function(t,e){return t.change((function(t){var r=t.createDocumentFragment(),n=e.getFirstRange();if(!n||n.isCollapsed)return r;var o,i=n.start.root,a=n.start.getCommonPath(n.end),s=i.getNodeByPath(a),u=(o=n.start.parent==n.end.parent?n:t.createRange(t.createPositionAt(s,n.start.path[a.length]),t.createPositionAt(s,n.end.path[a.length]+1))).end.offset-o.start.offset,c=!0,l=!1,f=void 0;try{for(var h,p=o.getItems({shallow:!0})[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;d.is("textProxy")?t.appendText(d.data,d.getAttributes(),r):t.append(d._clone(!0),r)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}if(o!=n){var y=n._getTransformedByMove(o.start,t.createPositionAt(r,0),u)[0],v=t.createRange(t.createPositionAt(r,0),y.start);Xi(t.createRange(y.end,t.createPositionAt(r,"end")),t),Xi(v,t)}return r}))}(this,t)}},{key:"hasContent",value:function(t,e){var r=t instanceof mr.a?sr.a._createIn(t):t;if(r.isCollapsed)return!1;var n=!0,o=!1,i=void 0;try{for(var a,s=this.markers.getMarkersIntersectingRange(r)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(a.value.affectsData)return!0}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}var u=(e||{}).ignoreWhitespaces,c=void 0!==u&&u,l=!0,f=!1,h=void 0;try{for(var p,d=r.getItems()[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;if(y.is("textProxy")){if(!c)return!0;if(-1!==y.data.search(/\S/))return!0}else if(this.schema.isObject(y))return!0}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}return!1}},{key:"createPositionFromPath",value:function(t,e,r){return new ar.a(t,e,r)}},{key:"createPositionAt",value:function(t,e){return ar.a._createAt(t,e)}},{key:"createPositionAfter",value:function(t){return ar.a._createAfter(t)}},{key:"createPositionBefore",value:function(t){return ar.a._createBefore(t)}},{key:"createRange",value:function(t,e){return new sr.a(t,e)}},{key:"createRangeIn",value:function(t){return sr.a._createIn(t)}},{key:"createRangeOn",value:function(t){return sr.a._createOn(t)}},{key:"createSelection",value:function(t,e,r){return new _r(t,e,r)}},{key:"createBatch",value:function(t){return new jo(t)}},{key:"destroy",value:function(){this.document.destroy(),this.stopListening()}},{key:"_runPendingChanges",value:function(){var t=[];for(this.fire("_beforeChanges");this._pendingChanges.length;){var e=this._pendingChanges[0].batch;this._currentWriter=new ii(this,e);var r=this._pendingChanges[0].callback(this._currentWriter);t.push(r),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}return this.fire("_afterChanges"),t}}])&&na(e.prototype,r),n&&na(e,n),t}();Object(w.a)(oa,k.a);var ia=r(667);function aa(t){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ua(t,e){return!e||"object"!==aa(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ca(t,e,r){return(ca="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=la(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function la(t){return(la=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fa(t,e){return(fa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ha=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ua(this,la(e).call(this))).editor=t,r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}(e,t),r=e,(n=[{key:"set",value:function(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof r){var i=r;r=function(t,e){n.editor.execute(i),e()}}ca(la(e.prototype),"set",this).call(this,t,r,o)}}])&&sa(r.prototype,n),o&&sa(r,o),e}(ia.a);function pa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var da=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=this.constructor.builtinPlugins;this.config=new s(e,this.constructor.defaultConfig),this.config.define("plugins",n),this.plugins=new Rn(this,n),this.commands=new Nn;var o=this.config.get("language")||{};this.locale=new Ln({uiLanguage:"string"==typeof o?o:o.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.set("state","initializing"),this.once("ready",(function(){return r.state="ready"}),{priority:"high"}),this.once("destroy",(function(){return r.state="destroyed"}),{priority:"high"}),this.set("isReadOnly",!1),this.model=new oa,this.data=new Oo(this.model),this.editing=new Tn(this.model),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Eo([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 ha(this),this.keystrokes.listenTo(this.editing.view.document)}var e,r,n;return e=t,(r=[{key:"initPlugins",value:function(){var t=this.config,e=t.get("plugins")||[],r=t.get("removePlugins")||[],n=t.get("extraPlugins")||[];return this.plugins.init(e.concat(n),r)}},{key:"destroy",value:function(){var t=this,e=Promise.resolve();return"initializing"==this.state&&(e=new Promise((function(e){return t.once("ready",e)}))),e.then((function(){t.fire("destroy"),t.stopListening(),t.commands.destroy()})).then((function(){return t.plugins.destroy()})).then((function(){t.model.destroy(),t.data.destroy(),t.editing.destroy(),t.keystrokes.destroy()}))}},{key:"execute",value:function(){try{var t;(t=this.commands).execute.apply(t,arguments)}catch(t){T.b.rethrowUnexpectedError(t,this)}}}])&&pa(e.prototype,r),n&&pa(e,n),t}();Object(w.a)(da,k.a);var ya=r(1140),va=r(618),ba=r(1138),ga=r(620),ma=r(641),wa=r(707);function ka(t){return(ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _a(t,e){return!e||"object"!==ka(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Oa(t){return(Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Sa(t,e){return(Sa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var xa=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=_a(this,Oa(e).call(this,t))).setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}(e,t),e}(ga.a),Pa=r(650),Ea=r(685);function Aa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Ta=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._callback=e,this._elements=new Set,this._previousRects=new Map,this._periodicCheckTimeout=null}var e,r,n;
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */return e=t,(r=[{key:"observe",value:function(t){this._elements.add(t),1===this._elements.size&&this._startPeriodicCheck()}},{key:"unobserve",value:function(t){this._elements.delete(t),this._previousRects.delete(t),this._elements.size||this._stopPeriodicCheck()}},{key:"disconnect",value:function(){var t=this;this._elements.forEach((function(e){return t.unobserve(e)}))}},{key:"_startPeriodicCheck",value:function(){var t=this;this.listenTo(Pa.a.window,"resize",(function(){t._checkElementRectsAndExecuteCallback()})),function e(){t._checkElementRectsAndExecuteCallback(),t._periodicCheckTimeout=setTimeout(e,100)}()}},{key:"_stopPeriodicCheck",value:function(){clearTimeout(this._periodicCheckTimeout),this.stopListening(),this._previousRects.clear()}},{key:"_checkElementRectsAndExecuteCallback",value:function(){var t=[],e=!0,r=!1,n=void 0;try{for(var o,i=this._elements[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._hasRectChanged(a)&&t.push({target:a,contentRect:this._previousRects.get(a)})}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}t.length&&this._callback(t)}},{key:"_hasRectChanged",value:function(t){if(!t.ownerDocument.body.contains(t))return!1;var e=new We.a(t),r=this._previousRects.get(t),n=!r||!r.isEqual(e);return this._previousRects.set(t,e),n}}])&&Aa(e.prototype,r),n&&Aa(e,n),t}();function Ca(t){return(Ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ja(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ra(t,e){return!e||"object"!==Ca(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Da(t){return(Da=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Na(t,e){return(Na=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */Object(w.a)(Ta,Ea.a);var qa=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(r=Ra(this,Da(e).call(this,t))).bindTemplate;return r.set("isVisible",!1),r.set("position","se"),r.children=r.createCollection(),r.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",n.to("position",(function(t){return"ck-dropdown__panel_".concat(t)})),n.if("isVisible","ck-dropdown__panel-visible")]},children:r.children,on:{selectstart:n.to((function(t){return t.preventDefault()}))}}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Na(t,e)}(e,t),r=e,(n=[{key:"focus",value:function(){this.children.length&&this.children.first.focus()}},{key:"focusLast",value:function(){if(this.children.length){var t=this.children.last;"function"==typeof t.focusLast?t.focusLast():t.focus()}}}])&&ja(r.prototype,n),o&&ja(r,o),e}(ga.a),Ba=(r(1171),r(1143));function Ia(t){return(Ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function La(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ma(t,e){return!e||"object"!==Ia(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Va(t,e,r){return(Va="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Fa(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Fa(t){return(Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ua(t,e){return(Ua=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var za=function(t){function e(t,r,n){var o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=(o=Ma(this,Fa(e).call(this,t))).bindTemplate;return o.buttonView=r,o.panelView=n,o.set("isOpen",!1),o.set("isEnabled",!0),o.set("class"),o.set("panelPosition","auto"),o.focusTracker=new ma.a,o.keystrokes=new ia.a,o.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",i.to("class"),i.if("isEnabled","ck-disabled",(function(t){return!t}))]},children:[r,n]}),r.extendTemplate({attributes:{class:["ck-dropdown__button"]}}),o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ua(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;Va(Fa(e.prototype),"render",this).call(this),this.listenTo(this.buttonView,"open",(function(){t.isOpen=!t.isOpen})),this.panelView.bind("isVisible").to(this,"isOpen"),this.on("change:isOpen",(function(){t.isOpen&&("auto"===t.panelPosition?t.panelView.position=e._getOptimalPosition({element:t.panelView.element,target:t.buttonView.element,fitInViewport:!0,positions:t._panelPositions}).name:t.panelView.position=t.panelPosition)})),this.keystrokes.listenTo(this.element),this.focusTracker.add(this.element);var r=function(e,r){t.isOpen&&(t.buttonView.focus(),t.isOpen=!1,r())};this.keystrokes.set("arrowdown",(function(e,r){t.buttonView.isEnabled&&!t.isOpen&&(t.isOpen=!0,r())})),this.keystrokes.set("arrowright",(function(e,r){t.isOpen&&r()})),this.keystrokes.set("arrowleft",r),this.keystrokes.set("esc",r)}},{key:"focus",value:function(){this.buttonView.focus()}},{key:"_panelPositions",get:function(){var t=e.defaultPanelPositions,r=t.southEast,n=t.southWest,o=t.northEast,i=t.northWest;return"ltr"===this.locale.uiLanguageDirection?[r,n,o,i]:[n,r,i,o]}}])&&La(r.prototype,n),o&&La(r,o),e}(ga.a);za.defaultPanelPositions={southEast:function(t){return{top:t.bottom,left:t.left,name:"se"}},southWest:function(t,e){return{top:t.bottom,left:t.left-e.width+t.width,name:"sw"}},northEast:function(t,e){return{top:t.top-e.height,left:t.left,name:"ne"}},northWest:function(t,e){return{top:t.bottom-e.height,left:t.left-e.width+t.width,name:"nw"}}},za._getOptimalPosition=Ba.a;var Ha=r(627),Ga=r(917);function Wa(t){return(Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ja(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ya(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ka(t,e,r){return(Ka="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=$a(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function $a(t){return($a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qa(t,e){return(Qa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Xa=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=function(t,e){return!e||"object"!==Wa(e)&&"function"!=typeof e?Ya(t):e}(this,$a(e).call(this,t))).arrowView=r._createArrowView(),r.extendTemplate({attributes:{"aria-haspopup":!0}}),r.delegate("execute").to(Ya(r),"open"),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qa(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){Ka($a(e.prototype),"render",this).call(this),this.children.add(this.arrowView)}},{key:"_createArrowView",value:function(){var t=new Ga.a;return t.content='<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>',t.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),t}}])&&Ja(r.prototype,n),o&&Ja(r,o),e}(Ha.a);r(1173);function Za(t){return(Za="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ts(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function es(t,e){return!e||"object"!==Za(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rs(t,e,r){return(rs="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ns(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ns(t){return(ns=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function os(t,e){return(os=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */ga.a;function is(t){return(is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function as(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ss(t,e){return!e||"object"!==is(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function us(t){return(us=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function cs(t,e){return(cs=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */ga.a;function ls(t){return(ls="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fs(t,e){return!e||"object"!==ls(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function hs(t){return(hs=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ps(t,e){return(ps=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */ga.a;var ds=r(918),ys=r(919);r(1177),r(1179);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function vs(t){var e=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xa)(t),r=new qa(t),n=new za(t,e,r);return e.bind("isEnabled").to(n),e instanceof Xa?e.bind("isOn").to(n,"isOpen"):e.arrowView.bind("isOn").to(n,"isOpen"),function(t){(function(t){t.on("render",(function(){Object(ys.a)({emitter:t,activator:function(){return t.isOpen},callback:function(){t.isOpen=!1},contextElements:[t.element]})}))})(t),function(t){t.on("execute",(function(e){e.source instanceof ds.a||(t.isOpen=!1)}))}(t),function(t){t.keystrokes.set("arrowdown",(function(e,r){t.isOpen&&(t.panelView.focus(),r())})),t.keystrokes.set("arrowup",(function(e,r){t.isOpen&&(t.panelView.focusLast(),r())}))}(t)}(n),n}r(1181);function bs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function gs(t){return(gs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ms(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ws(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ks(t,e,r){return e&&ws(t.prototype,e),r&&ws(t,r),t}function _s(t,e){return!e||"object"!==gs(e)&&"function"!=typeof e?Os(t):e}function Os(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,r){return(Ss="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=xs(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function xs(t){return(xs=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ps(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function Es(t,e){return(Es=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var As=function(t){function e(t,r){var n;ms(this,e);var o,i=(n=_s(this,xs(e).call(this,t))).bindTemplate,a=n.t;return n.options=r||{},n.set("ariaLabel",a("Editor toolbar")),n.items=n.createCollection(),n.focusTracker=new ma.a,n.keystrokes=new ia.a,n.set("class"),n.itemsView=new Ts(t),n.children=n.createCollection(),n.children.add(n.itemsView),n.focusables=n.createCollection(),n._focusCycler=new wa.a({focusables:n.focusables,focusTracker:n.focusTracker,keystrokeHandler:n.keystrokes,actions:{focusPrevious:["arrowleft","arrowup"],focusNext:["arrowright","arrowdown"]}}),n.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar",i.to("class")],role:"toolbar","aria-label":i.to("ariaLabel")},children:n.children,on:{mousedown:(o=Os(n),o.bindTemplate.to((function(t){t.target===o.element&&t.preventDefault()})))}}),n._behavior=n.options.shouldGroupWhenFull?new js(Os(n)):new Cs(Os(n)),n}return Ps(e,t),ks(e,[{key:"render",value:function(){var t=this;Ss(xs(e.prototype),"render",this).call(this);var r=!0,n=!1,o=void 0;try{for(var i,a=this.items[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;this.focusTracker.add(s.element)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}this.items.on("add",(function(e,r){t.focusTracker.add(r.element)})),this.items.on("remove",(function(e,r){t.focusTracker.remove(r.element)})),this.keystrokes.listenTo(this.element),this._behavior.render(this)}},{key:"destroy",value:function(){return this._behavior.destroy(),Ss(xs(e.prototype),"destroy",this).call(this)}},{key:"focus",value:function(){this._focusCycler.focusFirst()}},{key:"focusLast",value:function(){this._focusCycler.focusLast()}},{key:"fillFromConfig",value:function(t,e){var r=this;t.map((function(t){"|"==t?r.items.add(new xa):e.has(t)?r.items.add(e.create(t)):console.warn(Object(T.a)("toolbarview-item-unavailable: The requested toolbar item is unavailable."),{name:t})}))}}]),e}(ga.a),Ts=function(t){function e(t){var r;return ms(this,e),(r=_s(this,xs(e).call(this,t))).children=r.createCollection(),r.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:r.children}),r}return Ps(e,t),e}(ga.a),Cs=function(){function t(e){ms(this,t);var r=e.bindTemplate;e.set("isVertical",!1),e.itemsView.children.bindTo(e.items).using((function(t){return t})),e.focusables.bindTo(e.items).using((function(t){return t})),e.extendTemplate({attributes:{class:[r.if("isVertical","ck-toolbar_vertical")]}})}return ks(t,[{key:"render",value:function(){}},{key:"destroy",value:function(){}}]),t}(),js=function(){function t(e){var r=this;ms(this,t),this.viewChildren=e.children,this.viewFocusables=e.focusables,this.viewItemsView=e.itemsView,this.viewFocusTracker=e.focusTracker,this.viewLocale=e.locale,this.ungroupedItems=e.createCollection(),this.groupedItems=e.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),this.resizeObserver=null,this.cachedPadding=null,e.itemsView.children.bindTo(this.ungroupedItems).using((function(t){return t})),this.ungroupedItems.on("add",this._updateFocusCycleableItems.bind(this)),this.ungroupedItems.on("remove",this._updateFocusCycleableItems.bind(this)),e.children.on("add",this._updateFocusCycleableItems.bind(this)),e.children.on("remove",this._updateFocusCycleableItems.bind(this)),e.items.on("add",(function(t,e,n){n>r.ungroupedItems.length?r.groupedItems.add(e,n-r.ungroupedItems.length):r.ungroupedItems.add(e,n),r._updateGrouping()})),e.items.on("remove",(function(t,e,n){n>r.ungroupedItems.length?r.groupedItems.remove(e):r.ungroupedItems.remove(e),r._updateGrouping()})),e.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}return ks(t,[{key:"render",value:function(t){this.viewElement=t.element,this._enableGroupingOnResize()}},{key:"destroy",value:function(){this.groupedItemsDropdown.destroy(),this.resizeObserver.disconnect()}},{key:"_updateGrouping",value:function(){if(this.viewElement.ownerDocument.body.contains(this.viewElement)){for(var t;this._areItemsOverflowing;)this._groupLastItem(),t=!0;if(!t&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}}}},{key:"_enableGroupingOnResize",value:function(){var t,e,r=this;this.resizeObserver=(e=function(e){var n=bs(e,1)[0];t&&t===n.contentRect.width||(r._updateGrouping(),t=n.contentRect.width)},"function"==typeof Pa.a.window.ResizeObserver?new Pa.a.window.ResizeObserver(e):new Ta(e)),this.resizeObserver.observe(this.viewElement),this._updateGrouping()}},{key:"_groupLastItem",value:function(){this.groupedItems.length||(this.viewChildren.add(new xa),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}},{key:"_ungroupFirstItem",value:function(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}},{key:"_createGroupedItemsDropdown",value:function(){var t=this.viewLocale,e=t.t,r=vs(t);return r.class="ck-toolbar__grouped-dropdown",r.panelPosition="ltr"===t.uiLanguageDirection?"sw":"se",function(t,e){var r=t.locale,n=r.t,o=t.toolbarView=new As(r);o.set("ariaLabel",n("Dropdown toolbar")),t.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),e.map((function(t){return o.items.add(t)})),t.panelView.children.add(o),o.items.delegate("execute").to(t)}(r,[]),r.buttonView.set({label:e("Show more items"),tooltip:!0,icon:'<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'}),r.toolbarView.items.bindTo(this.groupedItems).using((function(t){return t})),r}},{key:"_updateFocusCycleableItems",value:function(){var t=this;this.viewFocusables.clear(),this.ungroupedItems.map((function(e){t.viewFocusables.add(e)})),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}},{key:"_areItemsOverflowing",get:function(){if(!this.ungroupedItems.length)return!1;var t=this.viewElement,e=this.viewLocale.uiLanguageDirection,r=new We.a(t.lastChild),n=new We.a(t);if(!this.cachedPadding){var o=Pa.a.window.getComputedStyle(t),i="ltr"===e?"paddingRight":"paddingLeft";this.cachedPadding=Number.parseInt(o[i])}return"ltr"===e?r.right>n.right-this.cachedPadding:r.left<n.left+this.cachedPadding}}]),t}(),Rs=r(914);function Ds(t){return(Ds="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ns(t,e){return!e||"object"!==Ds(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function qs(t,e,r){return(qs="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Bs(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Bs(t){return(Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Is(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ls(t,e,r){return e&&Is(t.prototype,e),r&&Is(t,r),t}function Ms(t,e){return(Ms=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Vs=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ns(this,Bs(e).call(this,t))).toolbarView=r._createToolbarView(),r.focusTracker=new ma.a,t.ui.once("ready",(function(){r.focusTracker.add(t.ui.getEditableElement()),r.focusTracker.add(r.toolbarView.element)})),r._balloon=t.plugins.get(ba.a),r._fireSelectionChangeDebounced=fe((function(){return r.fire("_selectionChangeDebounced")}),200),r.decorate("show"),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}(e,t),Ls(e,null,[{key:"pluginName",get:function(){return"BalloonToolbar"}},{key:"requires",get:function(){return[ba.a]}}]),Ls(e,[{key:"init",value:function(){var t=this,e=this.editor.model.document.selection;this.listenTo(this.focusTracker,"change:isFocused",(function(e,r,n){var o=t._balloon.visibleView===t.toolbarView;!n&&o?t.hide():n&&t.show()})),this.listenTo(e,"change:range",(function(r,n){(n.directChange||e.isCollapsed)&&t.hide(),t._fireSelectionChangeDebounced()})),this.listenTo(this,"_selectionChangeDebounced",(function(){t.editor.editing.view.document.isFocused&&t.show()}))}},{key:"afterInit",value:function(){var t=
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){return Array.isArray(t)?{items:t}:t?Object.assign({items:[]},t):{items:[]}}(this.editor.config.get("balloonToolbar")),e=this.editor.ui.componentFactory;this.toolbarView.fillFromConfig(t.items,e)}},{key:"_createToolbarView",value:function(){var t=new As(this.editor.locale);return t.extendTemplate({attributes:{class:["ck-toolbar_floating"]}}),t.render(),t}},{key:"show",value:function(){var t=this,e=this.editor;this._balloon.hasView(this.toolbarView)||e.model.document.selection.isCollapsed||Array.from(this.toolbarView.items).every((function(t){return void 0!==t.isEnabled&&!t.isEnabled}))||(this.listenTo(this.editor.ui,"update",(function(){t._balloon.updatePosition(t._getBalloonPositionData())})),this._balloon.add({view:this.toolbarView,position:this._getBalloonPositionData(),balloonClassName:"ck-toolbar-container"}))}},{key:"hide",value:function(){this._balloon.hasView(this.toolbarView)&&(this.stopListening(this.editor.ui,"update"),this._balloon.remove(this.toolbarView))}},{key:"_getBalloonPositionData",value:function(){var t=this.editor.editing.view,e=t.document,r=e.selection,n=e.selection.isBackward;return{target:function(){var e=n?r.getFirstRange():r.getLastRange(),o=We.a.getDomRangeRects(t.domConverter.viewRangeToDom(e));return n?o[0]:(o.length>1&&0===o[o.length-1].width&&o.pop(),o[o.length-1])},positions:Fs(n)}}},{key:"destroy",value:function(){qs(Bs(e.prototype),"destroy",this).call(this),this.stopListening(),this._fireSelectionChangeDebounced.cancel(),this.toolbarView.destroy(),this.focusTracker.destroy()}}]),e}(va.a);function Fs(t){var e=Rs.a.defaultPositions;return t?[e.northWestArrowSouth,e.northWestArrowSouthWest,e.northWestArrowSouthEast,e.southWestArrowNorth,e.southWestArrowNorthWest,e.southWestArrowNorthEast]:[e.southEastArrowNorth,e.southEastArrowNorthEast,e.southEastArrowNorthWest,e.northEastArrowSouth,e.northEastArrowSouthEast,e.northEastArrowSouthWest]}function Us(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var zs=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.editor=e,this._components=new Map}var e,r,n;return e=t,(r=[{key:"names",value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=!0,r=!1,n=void 0,t.prev=3,o=this._components.values()[Symbol.iterator]();case 5:if(e=(i=o.next()).done){t.next=12;break}return a=i.value,t.next=9,a.originalName;case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),r=!0,n=t.t0;case 18:t.prev=18,t.prev=19,e||null==o.return||o.return();case 21:if(t.prev=21,!r){t.next=24;break}throw n;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}}),t,this,[[3,14,18,26],[19,,21,25]])}))},{key:"add",value:function(t,e){if(this.has(t))throw new T.b("componentfactory-item-exists: The item already exists in the component factory.",this,{name:t});this._components.set(Hs(t),{callback:e,originalName:t})}},{key:"create",value:function(t){if(!this.has(t))throw new T.b("componentfactory-item-missing: The required component is not registered in the factory.",this,{name:t});return this._components.get(Hs(t)).callback(this.editor.locale)}},{key:"has",value:function(t){return this._components.has(Hs(t))}}])&&Us(e.prototype,r),n&&Us(e,n),t}();function Hs(t){return String(t).toLowerCase()}function Gs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Ws=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.editor=e,this.componentFactory=new zs(e),this.focusTracker=new ma.a,this._editableElementsMap=new Map,this.listenTo(e.editing.view.document,"layoutChanged",(function(){return r.update()}))}var e,r,n;return e=t,(r=[{key:"update",value:function(){this.fire("update")}},{key:"destroy",value:function(){this.stopListening(),this.focusTracker.destroy();var t=!0,e=!1,r=void 0;try{for(var n,o=this._editableElementsMap.values()[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)n.value.ckeditorInstance=null}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}this._editableElementsMap=new Map}},{key:"setEditableElement",value:function(t,e){this._editableElementsMap.set(t,e),e.ckeditorInstance||(e.ckeditorInstance=this.editor)}},{key:"getEditableElement",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"main";return this._editableElementsMap.get(t)}},{key:"getEditableElementsNames",value:function(){return this._editableElementsMap.keys()}},{key:"element",get:function(){return null}},{key:"_editableElements",get:function(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}}])&&Gs(e.prototype,r),n&&Gs(e,n),t}();Object(w.a)(Ws,ur.c);r(1183);function Js(t,e){return function(t){if(Array.isArray(t))return t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ys=new WeakMap;function Ks(t,e){return!!e.hasClass("ck-placeholder")&&(t.removeClass("ck-placeholder",e),!0)}function $s(t,e){var r=Ys.get(t),n=!1,o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=Js(s.value,2);Qs(e,c[0],c[1])&&(n=!0)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return n}function Qs(t,e,r){var n=r.text,o=r.isDirectHost?e:function(t){if(1===t.childCount){var e=t.getChild(0);if(e.is("element")&&!e.is("uiElement"))return e}return null}(e),i=!1;return!!o&&(r.hostElement=o,o.getAttribute("data-placeholder")!==n&&(t.setAttribute("data-placeholder",n,o),i=!0),!function(t){var e=t.document;if(!e)return!1;var r=!Array.from(t.getChildren()).some((function(t){return!t.is("uiElement")}));if(!e.isFocused&&r)return!0;var n=e.selection.anchor;return!(!r||!n||n.parent===t)}(o)?Ks(t,o)&&(i=!0):function(t,e){return!e.hasClass("ck-placeholder")&&(t.addClass("ck-placeholder",e),!0)}(t,o)&&(i=!0),i)}function Xs(t){return(Xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function tu(t,e){return!e||"object"!==Xs(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function eu(t,e,r){return(eu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ru(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ru(t){return(ru=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nu(t,e){return(nu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ou=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=tu(this,ru(e).call(this,t))).view=r,n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nu(t,e)}(e,t),r=e,(n=[{key:"init",value:function(){var t=this.editor,e=this.view,r=t.plugins.get("BalloonToolbar"),n=t.editing.view,o=e.editable,i=n.document.getRoot();o.name=i.rootName,e.render();var a=o.element;this.setEditableElement(o.name,a),this.focusTracker.add(a),o.bind("isFocused").to(this.focusTracker),n.attachDomRoot(a),
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){var e=t.origin,r=t.originKeystrokeHandler,n=t.originFocusTracker,o=t.toolbar,i=t.beforeFocus,a=t.afterBlur;n.add(o.element),r.set("Alt+F10",(function(t,e){n.isFocused&&!o.focusTracker.isFocused&&(i&&i(),o.focus(),e())})),o.keystrokes.set("Esc",(function(t,r){o.focusTracker.isFocused&&(e.focus(),a&&a(),r())}))}({origin:n,originFocusTracker:this.focusTracker,originKeystrokeHandler:t.keystrokes,toolbar:r.toolbarView,beforeFocus:function(){r.show()},afterBlur:function(){r.hide()}}),this._initPlaceholder(),this.fire("ready")}},{key:"destroy",value:function(){var t=this.view;this.editor.editing.view.detachDomRoot(t.editable.name),t.destroy(),eu(ru(e.prototype),"destroy",this).call(this)}},{key:"_initPlaceholder",value:function(){var t,e,r,n,o,i,a,s=this.editor,u=s.editing.view,c=u.document.getRoot(),l=s.sourceElement,f=s.config.get("placeholder")||l&&"textarea"===l.tagName.toLowerCase()&&l.getAttribute("placeholder");f&&(e=(t={view:u,element:c,text:f,isDirectHost:!1}).view,r=t.element,n=t.text,o=t.isDirectHost,i=void 0===o||o,a=e.document,Ys.has(a)||(Ys.set(a,new Map),a.registerPostFixer((function(t){return $s(a,t)}))),Ys.get(a).set(r,{text:n,isDirectHost:i}),e.change((function(t){return $s(a,t)})))}},{key:"element",get:function(){return this.view.editable.element}}])&&Zs(r.prototype,n),o&&Zs(r,o),e}(Ws),iu=r(915);r(1185);function au(t){return(au="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function su(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function uu(t,e){return!e||"object"!==au(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function cu(t,e,r){return(cu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=lu(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function lu(t){return(lu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fu(t,e){return(fu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var hu=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=uu(this,lu(e).call(this,t))).body=r.createCollection(),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){cu(lu(e.prototype),"render",this).call(this),this._renderBodyCollection()}},{key:"destroy",value:function(){return this._bodyCollectionContainer.remove(),cu(lu(e.prototype),"destroy",this).call(this)}},{key:"_renderBodyCollection",value:function(){var t=this.locale,e=this._bodyCollectionContainer=new iu.a({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:t.uiLanguageDirection},children:this.body}).render();document.body.appendChild(e)}}])&&su(r.prototype,n),o&&su(r,o),e}(ga.a);function pu(t){return(pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function du(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function yu(t,e){return!e||"object"!==pu(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vu(t,e,r){return(vu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=bu(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function bu(t){return(bu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function gu(t,e){return(gu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function mu(t){return(mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ku(t,e){return!e||"object"!==mu(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _u(t,e,r){return(_u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Ou(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Ou(t){return(Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Su(t,e){return(Su=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var xu=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=ku(this,Ou(e).call(this,t,r,n))).extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;_u(Ou(e.prototype),"render",this).call(this);var r=this._editingView,n=this.t;r.change((function(e){var o=r.document.getRoot(t.name);e.setAttribute("aria-label",n("Rich Text Editor, %0",[t.name]),o)}))}}])&&wu(r.prototype,n),o&&wu(r,o),e}(function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=yu(this,bu(e).call(this,t))).setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:t.contentLanguage,dir:t.contentLanguageDirection}}),o.name=null,o.set("isFocused",!1),o._editableElement=n,o._hasExternalElement=!!o._editableElement,o._editingView=r,o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gu(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;vu(bu(e.prototype),"render",this).call(this),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",(function(){return t._updateIsFocusedClasses()})),this._updateIsFocusedClasses()}},{key:"destroy",value:function(){this._hasExternalElement&&this.template.revert(this._editableElement),vu(bu(e.prototype),"destroy",this).call(this)}},{key:"_updateIsFocusedClasses",value:function(){var t=this._editingView;function e(e){t.change((function(r){var n=t.document.getRoot(e.name);r.addClass(e.isFocused?"ck-focused":"ck-blurred",n),r.removeClass(e.isFocused?"ck-blurred":"ck-focused",n)}))}t.isRenderingInProgress?function r(n){t.once("change:isRenderingInProgress",(function(t,o,i){i?r(n):e(n)}))}(this):e(this)}}])&&du(r.prototype,n),o&&du(r,o),e}(ga.a));function Pu(t){return(Pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Eu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Au(t,e){return!e||"object"!==Pu(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tu(t,e,r){return(Tu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Cu(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Cu(t){return(Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ju(t,e){return(ju=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Ru=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=Au(this,Cu(e).call(this,t))).editable=new xu(t,r,n),o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){Tu(Cu(e.prototype),"render",this).call(this),this.registerChild(this.editable)}}])&&Eu(r.prototype,n),o&&Eu(r,o),e}(hu);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function Du(t,e){t instanceof HTMLTextAreaElement&&(t.value=e),t.innerHTML=e}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var Nu={setData:function(t){this.data.set(t)},getData:function(t){return this.data.get(t)}},qu={updateSourceElement:function(){if(!this.sourceElement)throw new T.b("editor-missing-sourceelement: Cannot update the source element of a detached editor.",this);Du(this.sourceElement,this.data.get())}},Bu=r(888);function Iu(t){return(Iu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Mu(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vu(t,e,r){return(Vu="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Fu(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function Fu(t){return(Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Uu(t,e){return(Uu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return zu}));var zu=function(t){function e(t,r){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==Iu(e)&&"function"!=typeof e?Mu(t):e}(this,Fu(e).call(this,r)),Object(i.a)(t)&&(n.sourceElement=t,
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){var e=t.sourceElement;if(e){if(e.ckeditorInstance)throw new T.b("editor-source-element-already-used: The DOM element cannot be used to create multiple editor instances.",t);e.ckeditorInstance=t,t.once("destroy",(function(){delete e.ckeditorInstance}))}}(Mu(n)));var o=n.config.get("plugins");o.push(Vs),n.config.set("plugins",o),n.config.define("balloonToolbar",n.config.get("toolbar")),n.data.processor=new ya.a,n.model.document.createRoot();var a=new Ru(n.locale,n.editing.view,n.sourceElement);return n.ui=new ou(Mu(n),a),
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){if(!Object(Bu.a)(t.updateSourceElement))throw new T.b("attachtoform-missing-elementapi-interface: Editor passed to attachToForm() must implement ElementApi.",t);var e=t.sourceElement;if(e&&"textarea"===e.tagName.toLowerCase()&&e.form){var r,n=e.form,o=function(){return t.updateSourceElement()};Object(Bu.a)(n.submit)&&(r=n.submit,n.submit=function(){o(),r.apply(n)}),n.addEventListener("submit",o),t.on("destroy",(function(){n.removeEventListener("submit",o),r&&(n.submit=r)}))}}(Mu(n)),n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}(e,t),r=e,o=[{key:"create",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n){var o=Object(i.a)(t);if(o&&"TEXTAREA"===t.tagName)throw new T.b("editor-wrong-element: This type of editor cannot be initialized inside <textarea> element.",null);var a=new e(t,r);n(a.initPlugins().then((function(){a.ui.init()})).then((function(){if(!o&&r.initialData)throw new T.b("editor-create-initial-data: The config.initialData option cannot be used together with initial data passed in Editor.create().",null);var e=r.initialData||Hu(t);return a.data.init(e)})).then((function(){return a.fire("ready")})).then((function(){return a})))}))}}],(n=[{key:"destroy",value:function(){var t=this,r=this.getData();return this.ui.destroy(),Vu(Fu(e.prototype),"destroy",this).call(this).then((function(){t.sourceElement&&Du(t.sourceElement,r)}))}}])&&Lu(r.prototype,n),o&&Lu(r,o),e}(da);function Hu(t){return Object(i.a)(t)?(e=t)instanceof HTMLTextAreaElement?e.value:e.innerHTML:t;var e}Object(w.a)(zu,Nu),Object(w.a)(zu,qu)},1129:function(t,e,r){"use strict";var n=r(618),o=r(663),i=r(1142);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.files=function(t){var e=t.files?Array.from(t.files):[],r=t.items?Array.from(t.items):[];if(e.length)return e;return r.filter((function(t){return"file"===t.kind})).map((function(t){return t.getAsFile()}))}(e),this._native=e}var e,r,n;return e=t,(r=[{key:"getData",value:function(t){return this._native.getData(t)}},{key:"setData",value:function(t,e){this._native.setData(t,e)}},{key:"types",get:function(){return this._native.types}}])&&a(e.prototype,r),n&&a(e,n),t}();function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var p=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(r=l(this,f(e).call(this,t))).document;function o(t,e){e.preventDefault();var r=e.dropRange?[e.dropRange]:Array.from(n.selection.getRanges()),o=new i.a(n,"clipboardInput");n.fire(o,{dataTransfer:e.dataTransfer,targetRanges:r}),o.stop.called&&e.stopPropagation()}return r.domEventType=["paste","copy","cut","drop","dragover"],r.listenTo(n,"paste",o,{priority:"low"}),r.listenTo(n,"drop",o,{priority:"low"}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){var e={dataTransfer:new s(t.clipboardData?t.clipboardData:t.dataTransfer)};"drop"==t.type&&(e.dropRange=function(t,e){var r,n=e.target.ownerDocument,o=e.clientX,i=e.clientY;return n.caretRangeFromPoint&&n.caretRangeFromPoint(o,i)?r=n.caretRangeFromPoint(o,i):e.rangeParent&&((r=n.createRange()).setStart(e.rangeParent,e.rangeOffset),r.collapse(!0)),r?t.domConverter.domRangeToView(r):t.document.selection.getFirstRange()}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(this.view,t)),this.fire(t.type,t,e)}}])&&c(r.prototype,n),o&&c(r,o),e}(o.a);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var d=["figcaption","li"];var y=r(1140);function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var k=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),g(this,m(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"Clipboard"}}],(n=[{key:"init",value:function(){var t=this,e=this.editor,r=e.model.document,n=e.editing.view,o=n.document;function i(t,n){var i=n.dataTransfer;n.preventDefault();var a=e.data.toView(e.model.getSelectedContent(r.selection));o.fire("clipboardOutput",{dataTransfer:i,content:a,method:t.name})}this._htmlDataProcessor=new y.a,n.addObserver(p),this.listenTo(o,"clipboardInput",(function(t){e.isReadOnly&&t.stop()}),{priority:"highest"}),this.listenTo(o,"clipboardInput",(function(e,r){var o,i=r.dataTransfer,a="";i.getData("text/html")?a=
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){return t.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(function(t,e){return 1==e.length?" ":e}))}(i.getData("text/html")):i.getData("text/plain")&&((o=(o=i.getData("text/plain")).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\n/g,"</p><p>").replace(/^\s/,"&nbsp;").replace(/\s$/,"&nbsp;").replace(/\s\s/g," &nbsp;")).indexOf("</p><p>")>-1&&(o="<p>".concat(o,"</p>")),a=o),a=t._htmlDataProcessor.toView(a),t.fire("inputTransformation",{content:a,dataTransfer:i}),n.scrollToTheSelection()}),{priority:"low"}),this.listenTo(this,"inputTransformation",(function(e,r){if(!r.content.isEmpty){var n=t.editor.data,o=t.editor.model,i=n.toModel(r.content,"$clipboardHolder");if(0==i.childCount)return;o.insertContent(i)}}),{priority:"low"}),this.listenTo(o,"copy",i,{priority:"low"}),this.listenTo(o,"cut",(function(t,r){e.isReadOnly?r.preventDefault():i(t,r)}),{priority:"low"}),this.listenTo(o,"clipboardOutput",(function(n,o){o.content.isEmpty||(o.dataTransfer.setData("text/html",t._htmlDataProcessor.toData(o.content)),o.dataTransfer.setData("text/plain",function t(e){var r="";if(e.is("text")||e.is("textProxy"))r=e.data;else if(e.is("img")&&e.hasAttribute("alt"))r=e.getAttribute("alt");else{var n=null,o=!0,i=!1,a=void 0;try{for(var s,u=e.getChildren()[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value,l=t(c);n&&(n.is("containerElement")||c.is("containerElement"))&&(d.includes(n.name)||d.includes(c.name)?r+="\n":r+="\n\n"),r+=l,n=c}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}return r}(o.content))),"cut"==o.method&&e.model.deleteContent(r.selection)}),{priority:"low"})}}])&&b(r.prototype,n),o&&b(r,o),e}(n.a),_=r(630),O=regeneratorRuntime.mark(S);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function S(t,e){var r,n,o,i,a,s;return regeneratorRuntime.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:r=!0,n=!1,o=void 0,u.prev=3,i=e[Symbol.iterator]();case 5:if(r=(a=i.next()).done){u.next=13;break}if(!(s=a.value)||!t.getAttributeProperties(s[0]).copyOnEnter){u.next=10;break}return u.next=10,s;case 10:r=!0,u.next=5;break;case 13:u.next=19;break;case 15:u.prev=15,u.t0=u.catch(3),n=!0,o=u.t0;case 19:u.prev=19,u.prev=20,r||null==i.return||i.return();case 22:if(u.prev=22,!n){u.next=25;break}throw o;case 25:return u.finish(22);case 26:return u.finish(19);case 27:case"end":return u.stop()}}),O,null,[[3,15,19,27],[20,,22,26]])}function x(t){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function E(t,e){return!e||"object"!==x(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var C=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),E(this,A(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}(e,t),r=e,(n=[{key:"execute",value:function(){var t=this,e=this.editor.model,r=e.document;e.change((function(n){!function(t,e,r,n){var o=r.isCollapsed,i=r.getFirstRange(),a=i.start.parent,s=i.end.parent;if(n.isLimit(a)||n.isLimit(s))o||a!=s||t.deleteContent(r);else if(o){var u=S(e.model.schema,r.getAttributes());j(e,i.start),e.setSelectionAttribute(u)}else{var c=!(i.start.isAtStart&&i.end.isAtEnd),l=a==s;t.deleteContent(r,{leaveUnmerged:c}),c&&(l?j(e,r.focus):e.setSelection(s,0))}}(t.editor.model,n,r.selection,e.schema),t.fire("afterExecute",{writer:n})}))}}])&&P(r.prototype,n),o&&P(r,o),e}(_.a);function j(t,e){t.split(e),t.setSelection(e.parent.nextSibling,0)}var R=r(662),D=r(814),N=r(628);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function I(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var V=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(r=I(this,L(e).call(this,t))).document;return n.on("keydown",(function(t,e){var o;r.isEnabled&&e.keyCode==N.c.enter&&(n.once("enter",(function(t){return o=t}),{priority:"highest"}),n.fire("enter",new D.a(n,e.domEvent,{isSoft:e.shiftKey})),o&&o.stop.called&&t.stop())})),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(e,t),r=e,(n=[{key:"observe",value:function(){}}])&&B(r.prototype,n),o&&B(r,o),e}(R.a);function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function z(t,e){return!e||"object"!==F(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function G(t,e){return(G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var W=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),z(this,H(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"Enter"}}],(n=[{key:"init",value:function(){var t=this.editor,e=t.editing.view,r=e.document;e.addObserver(V),t.commands.add("enter",new C(t)),this.listenTo(r,"enter",(function(r,n){n.preventDefault(),n.isSoft||(t.execute("enter"),e.scrollToTheSelection())}),{priority:"low"})}}])&&U(r.prototype,n),o&&U(r,o),e}(n.a);function J(t){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function K(t,e){return!e||"object"!==J(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var X=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),K(this,$(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(e,t),r=e,(n=[{key:"execute",value:function(){var t=this,e=this.editor.model,r=e.document;e.change((function(n){!function(t,e,r){var n=r.isCollapsed,o=r.getFirstRange(),i=o.start.parent,a=o.end.parent,s=i==a;if(n){var u=S(t.schema,r.getAttributes());Z(e,o.end),e.removeSelectionAttribute(r.getAttributeKeys()),e.setSelectionAttribute(u)}else{var c=!(o.start.isAtStart&&o.end.isAtEnd);t.deleteContent(r,{leaveUnmerged:c}),s?Z(e,r.focus):c&&e.setSelection(a,0)}}(e,n,r.selection),t.fire("afterExecute",{writer:n})}))}},{key:"refresh",value:function(){var t=this.editor.model,e=t.document;this.isEnabled=function(t,e){if(e.rangeCount>1)return!1;var r=e.anchor;if(!r||!t.checkChild(r,"softBreak"))return!1;var n=e.getFirstRange(),o=n.start.parent,i=n.end.parent;return!tt(o,t)&&!tt(i,t)||o===i}(t.schema,e.selection)}}])&&Y(r.prototype,n),o&&Y(r,o),e}(_.a);function Z(t,e){var r=t.createElement("softBreak");t.insert(r,e),t.setSelection(r,"after")}function tt(t,e){return!t.is("rootElement")&&(e.isLimit(t)||tt(t.parent,e))}function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function nt(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var at=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),nt(this,ot(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"ShiftEnter"}}],(n=[{key:"init",value:function(){var t=this.editor,e=t.model.schema,r=t.conversion,n=t.editing.view,o=n.document;e.register("softBreak",{allowWhere:"$text",isInline:!0}),r.for("upcast").elementToElement({model:"softBreak",view:"br"}),r.for("downcast").elementToElement({model:"softBreak",view:function(t,e){return e.createEmptyElement("br")}}),n.addObserver(V),t.commands.add("shiftEnter",new X(t)),this.listenTo(o,"enter",(function(e,r){r.preventDefault(),r.isSoft&&(t.execute("shiftEnter"),n.scrollToTheSelection())}),{priority:"low"})}}])&&rt(r.prototype,n),o&&rt(r,o),e}(n.a);function st(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var ut=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.size=0,this.limit=n,this.isLocked=!1,this._changeCallback=function(t,e){"transparent"!=e.type&&e!==r._batch&&r._reset(!0)},this._selectionChangeCallback=function(){r._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)}var e,r,n;return e=t,(r=[{key:"input",value:function(t){this.size+=t,this.size>=this.limit&&this._reset(!0)}},{key:"lock",value:function(){this.isLocked=!0}},{key:"unlock",value:function(){this.isLocked=!1}},{key:"destroy",value:function(){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)}},{key:"_reset",value:function(t){this.isLocked&&!t||(this._batch=null,this.size=0)}},{key:"batch",get:function(){return this._batch||(this._batch=this.model.createBatch()),this._batch}}])&&st(e.prototype,r),n&&st(e,n),t}();function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ft(t,e){return!e||"object"!==ct(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ht(t,e,r){return(ht="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=pt(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function pt(t){return(pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dt(t,e){return(dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var yt=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=ft(this,pt(e).call(this,t)))._buffer=new ut(t.model,r),n._batches=new WeakSet,n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dt(t,e)}(e,t),r=e,(n=[{key:"destroy",value:function(){ht(pt(e.prototype),"destroy",this).call(this),this._buffer.destroy()}},{key:"execute",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.editor.model,n=r.document,o=e.text||"",i=o.length,a=e.range||n.selection.getFirstRange(),s=e.resultRange;r.enqueueChange(this._buffer.batch,(function(e){var u=a.isCollapsed;t._buffer.lock(),r.deleteContent(r.createSelection(a)),o&&r.insertContent(e.createText(o,n.selection.getAttributes()),a.start),s?e.setSelection(s):u&&e.setSelection(a.start.getShiftedBy(i)),t._buffer.unlock(),t._buffer.input(i),t._batches.add(t._buffer.batch)}))}},{key:"buffer",get:function(){return this._buffer}}])&&lt(r.prototype,n),o&&lt(r,o),e}(_.a),vt=r(661);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function bt(t){var e=null,r=t.model,n=t.editing.view,o=t.commands.get("input");function i(t){var i=r.document,s=n.document.isComposing,u=e&&e.isEqual(i.selection);e=null,o.isEnabled&&(function(t){if(t.ctrlKey)return!0;return gt.includes(t.keyCode)}(t)||i.selection.isCollapsed||s&&229===t.keyCode||!s&&229===t.keyCode&&u||a())}function a(){var t=o.buffer;t.lock(),r.enqueueChange(t.batch,(function(){r.deleteContent(r.document.selection)})),t.unlock()}vt.a.isAndroid?n.document.on("beforeinput",(function(t,e){return i(e)}),{priority:"lowest"}):n.document.on("keydown",(function(t,e){return i(e)}),{priority:"lowest"}),n.document.on("compositionstart",(function(){var t=r.document,e=1!==t.selection.rangeCount||t.selection.getFirstRange().isFlat;if(t.selection.isCollapsed||e)return;a()}),{priority:"lowest"}),n.document.on("compositionend",(function(){e=r.createSelection(r.document.selection)}),{priority:"lowest"})}for(var gt=[Object(N.a)("arrowUp"),Object(N.a)("arrowRight"),Object(N.a)("arrowDown"),Object(N.a)("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],mt=112;mt<=135;mt++)gt.push(mt);var wt=r(812),kt=r(870);function _t(t){if(t.newChildren.length-t.oldChildren.length==1){var e=
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t,e){var r,n=[],o=0;return t.forEach((function(t){"equal"==t?(i(),o++):"insert"==t?(a("insert")?r.values.push(e[o]):(i(),r={type:"insert",index:o,values:[e[o]]}),o++):a("delete")?r.howMany++:(i(),r={type:"delete",index:o,howMany:1})})),i(),n;function i(){r&&(n.push(r),r=null)}function a(t){return r&&r.type==t}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(Object(wt.a)(t.oldChildren,t.newChildren,Ot),t.newChildren);if(!(e.length>1)){var r=e[0];if(r.values[0]&&r.values[0].is("text"))return r}}}function Ot(t,e){return t&&t.is("text")&&e&&e.is("text")?t.data===e.data:t===e}function St(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var xt=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.editor=e,this.editing=this.editor.editing}var e,r,n;
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */return e=t,(r=[{key:"handle",value:function(t,e){if(function(t){if(0==t.length)return!1;var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;if("children"===a.type&&!_t(a))return!0}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return!1}(t))this._handleContainerChildrenMutations(t,e);else{var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;this._handleTextMutation(s,e),this._handleTextNodeInsertion(s)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}}},{key:"_handleContainerChildrenMutations",value:function(t,e){var r=function(t){var e=t.map((function(t){return t.node})).reduce((function(t,e){return t.getCommonAncestor(e,{includeSelf:!0})}));if(e)return e.getAncestors({includeSelf:!0,parentFirst:!0}).find((function(t){return t.is("containerElement")||t.is("rootElement")}))}(t);if(r){var n=this.editor.editing.view.domConverter.mapViewToDom(r),o=new kt.a,i=this.editor.data.toModel(o.domToView(n)).getChild(0),a=this.editor.editing.mapper.toModelElement(r);if(a){var s=Array.from(i.getChildren()),u=Array.from(a.getChildren()),c=s[s.length-1],l=u[u.length-1];c&&c.is("softBreak")&&l&&!l.is("softBreak")&&s.pop();var f=this.editor.model.schema;if(Pt(s,f)&&Pt(u,f)){var h=s.map((function(t){return t.is("text")?t.data:"@"})).join("").replace(/\u00A0/g," "),p=u.map((function(t){return t.is("text")?t.data:"@"})).join("").replace(/\u00A0/g," ");if(p!==h){var d=Et(Object(wt.a)(p,h)),y=d.firstChangeAt,v=d.insertions,b=d.deletions,g=null;e&&(g=this.editing.mapper.toModelRange(e.getFirstRange()));var m=h.substr(y,v),w=this.editor.model.createRange(this.editor.model.createPositionAt(a,y),this.editor.model.createPositionAt(a,y+b));this.editor.execute("input",{text:m,range:w,resultRange:g})}}}}}},{key:"_handleTextMutation",value:function(t,e){if("text"==t.type){var r=t.newText.replace(/\u00A0/g," "),n=t.oldText.replace(/\u00A0/g," ");if(n!==r){var o=Et(Object(wt.a)(n,r)),i=o.firstChangeAt,a=o.insertions,s=o.deletions,u=null;e&&(u=this.editing.mapper.toModelRange(e.getFirstRange()));var c=this.editing.view.createPositionAt(t.node,i),l=this.editing.mapper.toModelPosition(c),f=this.editor.model.createRange(l,l.getShiftedBy(s)),h=r.substr(i,a);this.editor.execute("input",{text:h,range:f,resultRange:u})}}}},{key:"_handleTextNodeInsertion",value:function(t){if("children"==t.type){var e=_t(t),r=this.editing.view.createPositionAt(t.node,e.index),n=this.editing.mapper.toModelPosition(r),o=e.values[0].data;this.editor.execute("input",{text:o.replace(/\u00A0/g," "),range:this.editor.model.createRange(n)})}}}])&&St(e.prototype,r),n&&St(e,n),t}();function Pt(t,e){return t.every((function(t){return e.isInline(t)}))}function Et(t){for(var e=null,r=null,n=0;n<t.length;n++){"equal"!=t[n]&&(e=null===e?n:e,r=n)}for(var o=0,i=0,a=e;a<=r;a++)"insert"!=t[a]&&o++,"delete"!=t[a]&&i++;return{insertions:i,deletions:o,firstChangeAt:e}}function At(t){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ct(t,e){return!e||"object"!==At(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function jt(t){return(jt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Dt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Ct(this,jt(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"Input"}}],(n=[{key:"init",value:function(){var t=this.editor,e=new yt(t,t.config.get("typing.undoStep")||20);t.commands.add("input",e),bt(t),function(t){t.editing.view.document.on("mutations",(function(e,r,n){new xt(t).handle(r,n)}))}(t)}},{key:"isInput",value:function(t){return this.editor.commands.get("input")._batches.has(t)}}])&&Tt(r.prototype,n),o&&Tt(r,o),e}(n.a),Nt=r(904);function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Bt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function It(t,e){return!e||"object"!==qt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Lt(t){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mt(t,e){return(Mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Vt=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=It(this,Lt(e).call(this,t))).direction=r,n._buffer=new ut(t.model,t.config.get("typing.undoStep")),n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}(e,t),r=e,(n=[{key:"execute",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.editor.model,n=r.document;r.enqueueChange(this._buffer.batch,(function(o){t._buffer.lock();var i=o.createSelection(e.selection||n.selection),a=i.isCollapsed;if(i.isCollapsed&&r.modifySelection(i,{direction:t.direction,unit:e.unit}),t._shouldEntireContentBeReplacedWithParagraph(e.sequence||1))t._replaceEntireContentWithParagraph(o);else if(!i.isCollapsed){var s=0;i.getFirstRange().getMinimalFlatRanges().forEach((function(t){s+=Object(Nt.a)(t.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))})),r.deleteContent(i,{doNotResetEntireContent:a}),t._buffer.input(s),o.setSelection(i),t._buffer.unlock()}}))}},{key:"_shouldEntireContentBeReplacedWithParagraph",value:function(t){if(t>1)return!1;var e=this.editor.model,r=e.document.selection,n=e.schema.getLimitElement(r);if(!r.isCollapsed||!r.containsEntireContent(n))return!1;if(!e.schema.checkChild(n,"paragraph"))return!1;var o=n.getChild(0);return!o||"paragraph"!==o.name}},{key:"_replaceEntireContentWithParagraph",value:function(t){var e=this.editor.model,r=e.document.selection,n=e.schema.getLimitElement(r),o=t.createElement("paragraph");t.remove(t.createRangeIn(n)),t.insert(o,n),t.setSelection(o,0)}},{key:"buffer",get:function(){return this._buffer}}])&&Bt(r.prototype,n),o&&Bt(r,o),e}(_.a);function Ft(t){return(Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function zt(t,e){return!e||"object"!==Ft(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ht(t){return(Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Gt(t,e){return(Gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Wt=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=zt(this,Ht(e).call(this,t));var n=t.document,o=0;function i(t,e,r){var o;n.once("delete",(function(t){return o=t}),{priority:Number.POSITIVE_INFINITY}),n.fire("delete",new D.a(n,e,r)),o&&o.stop.called&&t.stop()}return n.on("keyup",(function(t,e){e.keyCode!=N.c.delete&&e.keyCode!=N.c.backspace||(o=0)})),n.on("keydown",(function(t,e){var r={};if(e.keyCode==N.c.delete)r.direction="forward",r.unit="character";else{if(e.keyCode!=N.c.backspace)return;r.direction="backward",r.unit="codePoint"}var n=vt.a.isMac?e.altKey:e.ctrlKey;r.unit=n?"word":r.unit,r.sequence=++o,i(t,e.domEvent,r)})),vt.a.isAndroid&&n.on("beforeinput",(function(e,r){if("deleteContentBackward"==r.domEvent.inputType){var n={unit:"codepoint",direction:"backward",sequence:1},o=r.domTarget.ownerDocument.defaultView.getSelection();o.anchorNode==o.focusNode&&o.anchorOffset+1!=o.focusOffset&&(n.selectionToRemove=t.domConverter.domSelectionToView(o)),i(e,r.domEvent,n)}})),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gt(t,e)}(e,t),r=e,(n=[{key:"observe",value:function(){}}])&&Ut(r.prototype,n),o&&Ut(r,o),e}(R.a);function Jt(t){return(Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Kt(t,e){return!e||"object"!==Jt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Xt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Kt(this,$t(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qt(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"Delete"}}],(n=[{key:"init",value:function(){var t=this.editor,e=t.editing.view,r=e.document;if(e.addObserver(Wt),t.commands.add("forwardDelete",new Vt(t,"forward")),t.commands.add("delete",new Vt(t,"backward")),this.listenTo(r,"delete",(function(r,n){var o={unit:n.unit,sequence:n.sequence};if(n.selectionToRemove){var i=t.model.createSelection(),a=[],s=!0,u=!1,c=void 0;try{for(var l,f=n.selectionToRemove.getRanges()[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;a.push(t.editing.mapper.toModelRange(h))}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}i.setTo(a),o.selection=i}t.execute("forward"==n.direction?"forwardDelete":"delete",o),n.preventDefault(),e.scrollToTheSelection()})),vt.a.isAndroid){var n=null;this.listenTo(r,"delete",(function(t,e){var r=e.domTarget.ownerDocument.defaultView.getSelection();n={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}}),{priority:"lowest"}),this.listenTo(r,"keyup",(function(t,e){if(n){var r=e.domTarget.ownerDocument.defaultView.getSelection();r.collapse(n.anchorNode,n.anchorOffset),r.extend(n.focusNode,n.focusOffset),n=null}}))}}}])&&Yt(r.prototype,n),o&&Yt(r,o),e}(n.a);function Zt(t){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function te(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ee(t,e){return!e||"object"!==Zt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function re(t){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ne(t,e){return(ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var oe=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),ee(this,re(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ne(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[Dt,Xt]}},{key:"pluginName",get:function(){return"Typing"}}],(n=null)&&te(r.prototype,n),o&&te(r,o),e}(n.a),ie=r(910),ae=r(1144),se=r(912),ue=r(911),ce=r(816),le=r(913),fe=r(818),he=r(817);function pe(t){return(pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function de(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ye(t,e){return!e||"object"!==pe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ve(t){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function be(t,e){return(be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ge=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),ye(this,ve(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&be(t,e)}(e,t),r=e,o=[{key:"className",get:function(){return"NoOperation"}}],(n=[{key:"clone",value:function(){return new e(this.baseVersion)}},{key:"getReversed",value:function(){return new e(this.baseVersion+1)}},{key:"_execute",value:function(){}},{key:"type",get:function(){return"noop"}}])&&de(r.prototype,n),o&&de(r,o),e}(r(629).a),me=r(619),we=r(622),ke=r(648);function _e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Oe(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Se=new Map;function xe(t,e,r){var n=Se.get(t);n||(n=new Map,Se.set(t,n)),n.set(e,r)}function Pe(t){return[t]}function Ee(t,e){var r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(r=t.constructor,n=e.constructor,(o=Se.get(r))&&o.has(n)?o.get(n):Pe);try{return a(t=t.clone(),e,i)}catch(t){throw t}}function Ae(t,e,r){t=t.slice(),e=e.slice();var n=new Te(r.document,r.useRelations,r.forceWeakRemove);n.setOriginalOperations(t),n.setOriginalOperations(e);var o=n.originalOperations;if(0==t.length||0==e.length)return{operationsA:t,operationsB:e,originalOperations:o};var i=new WeakMap,a=!0,s=!1,u=void 0;try{for(var c,l=t[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;i.set(f,0)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}for(var h={nextBaseVersionA:t[t.length-1].baseVersion+1,nextBaseVersionB:e[e.length-1].baseVersion+1,originalOperationsACount:t.length,originalOperationsBCount:e.length},p=0;p<t.length;){var d,y,v=t[p],b=i.get(v);if(b!=e.length){var g=e[b],m=Ee(v,g,n.getContext(v,g,!0)),w=Ee(g,v,n.getContext(g,v,!1));n.updateRelation(v,g),n.setOriginalOperations(m,v),n.setOriginalOperations(w,g);var k=!0,_=!1,O=void 0;try{for(var S,x=m[Symbol.iterator]();!(k=(S=x.next()).done);k=!0){var P=S.value;i.set(P,b+w.length)}}catch(t){_=!0,O=t}finally{try{k||null==x.return||x.return()}finally{if(_)throw O}}(d=t).splice.apply(d,[p,1].concat(Oe(m))),(y=e).splice.apply(y,[b,1].concat(Oe(w)))}else p++}if(r.padWithNoOps){var E=t.length-h.originalOperationsACount,A=e.length-h.originalOperationsBCount;je(t,A-E),je(e,E-A)}return Ce(t,h.nextBaseVersionB),Ce(e,h.nextBaseVersionA),{operationsA:t,operationsB:e,originalOperations:o}}var Te=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.originalOperations=new Map,this._history=e.history,this._useRelations=r,this._forceWeakRemove=!!n,this._relations=new Map}var e,r,n;return e=t,(r=[{key:"setOriginalOperations",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e?this.originalOperations.get(e):null,n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;this.originalOperations.set(u,r||u)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}},{key:"updateRelation",value:function(t,e){switch(t.constructor){case ce.a:switch(e.constructor){case fe.a:t.targetPosition.isEqual(e.sourcePosition)||e.movedRange.containsPosition(t.targetPosition)?this._setRelation(t,e,"insertAtSource"):t.targetPosition.isEqual(e.deletionPosition)?this._setRelation(t,e,"insertBetween"):t.targetPosition.isAfter(e.sourcePosition)&&this._setRelation(t,e,"moveTargetAfter");break;case ce.a:t.targetPosition.isEqual(e.sourcePosition)||t.targetPosition.isBefore(e.sourcePosition)?this._setRelation(t,e,"insertBefore"):this._setRelation(t,e,"insertAfter")}break;case he.a:switch(e.constructor){case fe.a:t.splitPosition.isBefore(e.sourcePosition)&&this._setRelation(t,e,"splitBefore");break;case ce.a:(t.splitPosition.isEqual(e.sourcePosition)||t.splitPosition.isBefore(e.sourcePosition))&&this._setRelation(t,e,"splitBefore")}break;case fe.a:switch(e.constructor){case fe.a:t.targetPosition.isEqual(e.sourcePosition)||this._setRelation(t,e,"mergeTargetNotMoved"),t.sourcePosition.isEqual(e.targetPosition)&&this._setRelation(t,e,"mergeSourceNotMoved"),t.sourcePosition.isEqual(e.sourcePosition)&&this._setRelation(t,e,"mergeSameElement");break;case he.a:t.sourcePosition.isEqual(e.splitPosition)&&this._setRelation(t,e,"splitAtSource")}break;case ue.a:var r=t.newRange;if(!r)return;switch(e.constructor){case ce.a:var n=me.a._createFromPositionAndShift(e.sourcePosition,e.howMany),o=n.containsPosition(r.start)||n.start.isEqual(r.start),i=n.containsPosition(r.end)||n.end.isEqual(r.end);!o&&!i||n.containsRange(r)||this._setRelation(t,e,{side:o?"left":"right",path:o?r.start.path.slice():r.end.path.slice()});break;case fe.a:var a=r.start.isEqual(e.targetPosition),s=r.start.isEqual(e.deletionPosition),u=r.end.isEqual(e.deletionPosition),c=r.end.isEqual(e.sourcePosition);(a||s||u||c)&&this._setRelation(t,e,{wasInLeftElement:a,wasStartBeforeMergedElement:s,wasEndBeforeMergedElement:u,wasInRightElement:c})}}}},{key:"getContext",value:function(t,e,r){return{aIsStrong:r,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}}},{key:"_wasUndone",value:function(t){var e=this.originalOperations.get(t);return e.wasUndone||this._history.isUndoneOperation(e)}},{key:"_getRelation",value:function(t,e){var r=this.originalOperations.get(e),n=this._history.getUndoneOperation(r);if(!n)return null;var o=this.originalOperations.get(t),i=this._relations.get(o);return i&&i.get(n)||null}},{key:"_setRelation",value:function(t,e,r){var n=this.originalOperations.get(t),o=this.originalOperations.get(e),i=this._relations.get(n);i||(i=new Map,this._relations.set(n,i)),i.set(o,r)}}])&&_e(e.prototype,r),n&&_e(e,n),t}();function Ce(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){i.value.baseVersion=e++}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}function je(t,e){for(var r=0;r<e;r++)t.push(new ge(0))}function Re(t,e,r){var n=t.nodes.getNode(0).getAttribute(e);if(n==r)return null;var o=new me.a(t.position,t.position.getShiftedBy(t.howMany));return new ae.a(o,e,n,r,0)}function De(t,e){return null===t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany)}function Ne(t,e){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=new ce.a(o.start,o.end.offset-o.start.offset,e,0);r.push(i);for(var a=n+1;a<t.length;a++)t[a]=t[a]._getTransformedByMove(i.sourcePosition,i.targetPosition,i.howMany)[0];e=e._getTransformedByMove(i.sourcePosition,i.targetPosition,i.howMany)}return r}function qe(t){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Be(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ie(t,e){return!e||"object"!==qe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Le(t){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Me(t,e){return(Me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */xe(ae.a,ae.a,(function(t,e,r){if(t.key===e.key){var n=t.range.getDifference(e.range).map((function(e){return new ae.a(e,t.key,t.oldValue,t.newValue,0)})),o=t.range.getIntersection(e.range);return o&&r.aIsStrong&&n.push(new ae.a(o,e.key,e.newValue,t.newValue,0)),0==n.length?[new ge(0)]:n}return[t]})),xe(ae.a,ie.a,(function(t,e){if(t.range.start.hasSameParentAs(e.position)&&t.range.containsPosition(e.position)){var r=t.range._getTransformedByInsertion(e.position,e.howMany,!e.shouldReceiveAttributes).map((function(e){return new ae.a(e,t.key,t.oldValue,t.newValue,t.baseVersion)}));if(e.shouldReceiveAttributes){var n=Re(e,t.key,t.oldValue);n&&r.unshift(n)}return r}return t.range=t.range._getTransformedByInsertion(e.position,e.howMany,!1)[0],[t]})),xe(ae.a,fe.a,(function(t,e){var r=[];t.range.start.hasSameParentAs(e.deletionPosition)&&(t.range.containsPosition(e.deletionPosition)||t.range.start.isEqual(e.deletionPosition))&&r.push(me.a._createFromPositionAndShift(e.graveyardPosition,1));var n=t.range._getTransformedByMergeOperation(e);return n.isCollapsed||r.push(n),r.map((function(e){return new ae.a(e,t.key,t.oldValue,t.newValue,t.baseVersion)}))})),xe(ae.a,ce.a,(function(t,e){return function(t,e){var r=me.a._createFromPositionAndShift(e.sourcePosition,e.howMany),n=null,o=[];r.containsRange(t,!0)?n=t:t.start.hasSameParentAs(r.start)?(o=t.getDifference(r),n=t.getIntersection(r)):o=[t];var i=[],a=!0,s=!1,u=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f=f._getTransformedByDeletion(e.sourcePosition,e.howMany);var h=e.getMovedRangeStart(),p=f.start.hasSameParentAs(h);f=f._getTransformedByInsertion(h,e.howMany,p),i.push.apply(i,Oe(f))}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}n&&i.push(n._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany,!1)[0]);return i}(t.range,e).map((function(e){return new ae.a(e,t.key,t.oldValue,t.newValue,t.baseVersion)}))})),xe(ae.a,he.a,(function(t,e){if(t.range.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.range.end.offset++,[t];if(t.range.start.hasSameParentAs(e.splitPosition)&&t.range.containsPosition(e.splitPosition)){var r=t.clone();return r.range=new me.a(e.moveTargetPosition.clone(),t.range.end._getCombined(e.splitPosition,e.moveTargetPosition)),t.range.end=e.splitPosition.clone(),t.range.end.stickiness="toPrevious",[t,r]}return t.range=t.range._getTransformedBySplitOperation(e),[t]})),xe(ie.a,ae.a,(function(t,e){var r=[t];if(t.shouldReceiveAttributes&&t.position.hasSameParentAs(e.range.start)&&e.range.containsPosition(t.position)){var n=Re(t,e.key,e.newValue);n&&r.push(n)}return r})),xe(ie.a,ie.a,(function(t,e,r){return t.position.isEqual(e.position)&&r.aIsStrong?[t]:(t.position=t.position._getTransformedByInsertOperation(e),[t])})),xe(ie.a,ce.a,(function(t,e){return t.position=t.position._getTransformedByMoveOperation(e),[t]})),xe(ie.a,he.a,(function(t,e){return t.position=t.position._getTransformedBySplitOperation(e),[t]})),xe(ie.a,fe.a,(function(t,e){return t.position=t.position._getTransformedByMergeOperation(e),[t]})),xe(ue.a,ie.a,(function(t,e){return t.oldRange&&(t.oldRange=t.oldRange._getTransformedByInsertOperation(e)[0]),t.newRange&&(t.newRange=t.newRange._getTransformedByInsertOperation(e)[0]),[t]})),xe(ue.a,ue.a,(function(t,e,r){if(t.name==e.name){if(!r.aIsStrong)return[new ge(0)];t.oldRange=e.newRange?e.newRange.clone():null}return[t]})),xe(ue.a,fe.a,(function(t,e){return t.oldRange&&(t.oldRange=t.oldRange._getTransformedByMergeOperation(e)),t.newRange&&(t.newRange=t.newRange._getTransformedByMergeOperation(e)),[t]})),xe(ue.a,ce.a,(function(t,e,r){if(t.oldRange&&(t.oldRange=me.a._createFromRanges(t.oldRange._getTransformedByMoveOperation(e))),t.newRange){if(r.abRelation){var n=me.a._createFromRanges(t.newRange._getTransformedByMoveOperation(e));if("left"==r.abRelation.side&&e.targetPosition.isEqual(t.newRange.start))return t.newRange.start.path=r.abRelation.path,t.newRange.end=n.end,[t];if("right"==r.abRelation.side&&e.targetPosition.isEqual(t.newRange.end))return t.newRange.start=n.start,t.newRange.end.path=r.abRelation.path,[t]}t.newRange=me.a._createFromRanges(t.newRange._getTransformedByMoveOperation(e))}return[t]})),xe(ue.a,he.a,(function(t,e,r){if(t.oldRange&&(t.oldRange=t.oldRange._getTransformedBySplitOperation(e)),t.newRange){if(r.abRelation){var n=t.newRange._getTransformedBySplitOperation(e);return t.newRange.start.isEqual(e.splitPosition)&&r.abRelation.wasStartBeforeMergedElement?t.newRange.start=we.a._createAt(e.insertionPosition):t.newRange.start.isEqual(e.splitPosition)&&!r.abRelation.wasInLeftElement&&(t.newRange.start=we.a._createAt(e.moveTargetPosition)),t.newRange.end.isEqual(e.splitPosition)&&r.abRelation.wasInRightElement?t.newRange.end=we.a._createAt(e.moveTargetPosition):t.newRange.end.isEqual(e.splitPosition)&&r.abRelation.wasEndBeforeMergedElement?t.newRange.end=we.a._createAt(e.insertionPosition):t.newRange.end=n.end,[t]}t.newRange=t.newRange._getTransformedBySplitOperation(e)}return[t]})),xe(fe.a,ie.a,(function(t,e){return t.sourcePosition.hasSameParentAs(e.position)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByInsertOperation(e),t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e),[t]})),xe(fe.a,fe.a,(function(t,e,r){if(t.sourcePosition.isEqual(e.sourcePosition)&&t.targetPosition.isEqual(e.targetPosition)){if(r.bWasUndone){var n=e.graveyardPosition.path.slice();return n.push(0),t.sourcePosition=new we.a(e.graveyardPosition.root,n),t.howMany=0,[t]}return[new ge(0)]}if(t.sourcePosition.isEqual(e.sourcePosition)&&!t.targetPosition.isEqual(e.targetPosition)&&!r.bWasUndone&&"splitAtSource"!=r.abRelation){var o="$graveyard"==t.targetPosition.root.rootName,i="$graveyard"==e.targetPosition.root.rootName;if(i&&!o||!(o&&!i)&&r.aIsStrong){var a=e.targetPosition._getTransformedByMergeOperation(e),s=t.targetPosition._getTransformedByMergeOperation(e);return[new ce.a(a,t.howMany,s,0)]}return[new ge(0)]}return t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMergeOperation(e),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),t.graveyardPosition.isEqual(e.graveyardPosition)&&r.aIsStrong||(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),xe(fe.a,ce.a,(function(t,e,r){var n=me.a._createFromPositionAndShift(e.sourcePosition,e.howMany);return"remove"==e.type&&!r.bWasUndone&&!r.forceWeakRemove&&t.deletionPosition.hasSameParentAs(e.sourcePosition)&&n.containsPosition(t.sourcePosition)?[new ge(0)]:(t.sourcePosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.sourcePosition.hasSameParentAs(e.sourcePosition)&&(t.howMany-=e.howMany),t.sourcePosition=t.sourcePosition._getTransformedByMoveOperation(e),t.targetPosition=t.targetPosition._getTransformedByMoveOperation(e),t.graveyardPosition.isEqual(e.targetPosition)||(t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)),[t])})),xe(fe.a,he.a,(function(t,e,r){if(e.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByDeletion(e.graveyardPosition,1),t.deletionPosition.isEqual(e.graveyardPosition)&&(t.howMany=e.howMany)),t.targetPosition.isEqual(e.splitPosition)){var n=0!=e.howMany,o=e.graveyardPosition&&t.deletionPosition.isEqual(e.graveyardPosition);if(n||o||"mergeTargetNotMoved"==r.abRelation)return t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),[t]}if(t.sourcePosition.isEqual(e.splitPosition)){if("mergeSourceNotMoved"==r.abRelation)return t.howMany=0,t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t];if("mergeSameElement"==r.abRelation||t.sourcePosition.offset>0)return t.sourcePosition=e.moveTargetPosition.clone(),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]}return t.sourcePosition.hasSameParentAs(e.splitPosition)&&(t.howMany=e.splitPosition.offset),t.sourcePosition=t.sourcePosition._getTransformedBySplitOperation(e),t.targetPosition=t.targetPosition._getTransformedBySplitOperation(e),[t]})),xe(ce.a,ie.a,(function(t,e){var r=me.a._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByInsertOperation(e,!1)[0];return t.sourcePosition=r.start,t.howMany=r.end.offset-r.start.offset,t.targetPosition.isEqual(e.position)||(t.targetPosition=t.targetPosition._getTransformedByInsertOperation(e)),[t]})),xe(ce.a,ce.a,(function(t,e,r){var n,o=me.a._createFromPositionAndShift(t.sourcePosition,t.howMany),i=me.a._createFromPositionAndShift(e.sourcePosition,e.howMany),a=r.aIsStrong,s=!r.aIsStrong;if("insertBefore"==r.abRelation||"insertAfter"==r.baRelation?s=!0:"insertAfter"!=r.abRelation&&"insertBefore"!=r.baRelation||(s=!1),n=t.targetPosition.isEqual(e.targetPosition)&&s?t.targetPosition._getTransformedByDeletion(e.sourcePosition,e.howMany):t.targetPosition._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),De(t,e)&&De(e,t))return[e.getReversed()];if(o.containsPosition(e.targetPosition)&&o.containsRange(i,!0))return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Ne([o],n);if(i.containsPosition(t.targetPosition)&&i.containsRange(o,!0))return o.start=o.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),o.end=o.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),Ne([o],n);var u=Object(ke.a)(t.sourcePosition.getParentPath(),e.sourcePosition.getParentPath());if("prefix"==u||"extension"==u)return o.start=o.start._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),o.end=o.end._getTransformedByMove(e.sourcePosition,e.targetPosition,e.howMany),Ne([o],n);"remove"!=t.type||"remove"==e.type||r.aWasUndone||r.forceWeakRemove?"remove"==t.type||"remove"!=e.type||r.bWasUndone||r.forceWeakRemove||(a=!1):a=!0;var c=[],l=o.getDifference(i),f=!0,h=!1,p=void 0;try{for(var d,y=l[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value;v.start=v.start._getTransformedByDeletion(e.sourcePosition,e.howMany),v.end=v.end._getTransformedByDeletion(e.sourcePosition,e.howMany);var b="same"==Object(ke.a)(v.start.getParentPath(),e.getMovedRangeStart().getParentPath()),g=v._getTransformedByInsertion(e.getMovedRangeStart(),e.howMany,b);c.push.apply(c,Oe(g))}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}var m=o.getIntersection(i);return null!==m&&a&&(m.start=m.start._getCombined(e.sourcePosition,e.getMovedRangeStart()),m.end=m.end._getCombined(e.sourcePosition,e.getMovedRangeStart()),0===c.length?c.push(m):1==c.length?i.start.isBefore(o.start)||i.start.isEqual(o.start)?c.unshift(m):c.push(m):c.splice(1,0,m)),0===c.length?[new ge(t.baseVersion)]:Ne(c,n)})),xe(ce.a,he.a,(function(t,e,r){var n=t.targetPosition.clone();t.targetPosition.isEqual(e.insertionPosition)&&e.graveyardPosition&&"moveTargetAfter"!=r.abRelation||(n=t.targetPosition._getTransformedBySplitOperation(e));var o=me.a._createFromPositionAndShift(t.sourcePosition,t.howMany);if(o.end.isEqual(e.insertionPosition))return e.graveyardPosition||t.howMany++,t.targetPosition=n,[t];if(o.start.hasSameParentAs(e.splitPosition)&&o.containsPosition(e.splitPosition)){var i=new me.a(e.splitPosition,o.end);return i=i._getTransformedBySplitOperation(e),Ne([new me.a(o.start,e.splitPosition),i],n)}t.targetPosition.isEqual(e.splitPosition)&&"insertAtSource"==r.abRelation&&(n=e.moveTargetPosition),t.targetPosition.isEqual(e.insertionPosition)&&"insertBetween"==r.abRelation&&(n=t.targetPosition);var a=[o._getTransformedBySplitOperation(e)];if(e.graveyardPosition){var s=o.start.isEqual(e.graveyardPosition)||o.containsPosition(e.graveyardPosition);t.howMany>1&&s&&!r.aWasUndone&&a.push(me.a._createFromPositionAndShift(e.insertionPosition,1))}return Ne(a,n)})),xe(ce.a,fe.a,(function(t,e,r){var n=me.a._createFromPositionAndShift(t.sourcePosition,t.howMany);if(e.deletionPosition.hasSameParentAs(t.sourcePosition)&&n.containsPosition(e.sourcePosition))if("remove"!=t.type||r.forceWeakRemove){if(1==t.howMany)return r.bWasUndone?(t.sourcePosition=e.graveyardPosition.clone(),t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]):[new ge(0)]}else if(!r.aWasUndone){var o=[],i=e.graveyardPosition.clone(),a=e.targetPosition._getTransformedByMergeOperation(e);t.howMany>1&&(o.push(new ce.a(t.sourcePosition,t.howMany-1,t.targetPosition,0)),i=i._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1),a=a._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany-1));var s=e.deletionPosition._getCombined(t.sourcePosition,t.targetPosition),u=new ce.a(i,1,s,0),c=u.getMovedRangeStart().path.slice();c.push(0);var l=new we.a(u.targetPosition.root,c);a=a._getTransformedByMove(i,s,1);var f=new ce.a(a,e.howMany,l,0);return o.push(u),o.push(f),o}var h=me.a._createFromPositionAndShift(t.sourcePosition,t.howMany)._getTransformedByMergeOperation(e);return t.sourcePosition=h.start,t.howMany=h.end.offset-h.start.offset,t.targetPosition=t.targetPosition._getTransformedByMergeOperation(e),[t]})),xe(se.a,ie.a,(function(t,e){return t.position=t.position._getTransformedByInsertOperation(e),[t]})),xe(se.a,fe.a,(function(t,e){return t.position.isEqual(e.deletionPosition)?(t.position=e.graveyardPosition.clone(),t.position.stickiness="toNext",[t]):(t.position=t.position._getTransformedByMergeOperation(e),[t])})),xe(se.a,ce.a,(function(t,e){return t.position=t.position._getTransformedByMoveOperation(e),[t]})),xe(se.a,se.a,(function(t,e,r){if(t.position.isEqual(e.position)){if(!r.aIsStrong)return[new ge(0)];t.oldName=e.newName}return[t]})),xe(se.a,he.a,(function(t,e){var r=t.position.path,n=e.splitPosition.getParentPath();if("same"==Object(ke.a)(r,n)&&!e.graveyardPosition){var o=new se.a(t.position.getShiftedBy(1),t.oldName,t.newName,0);return[t,o]}return t.position=t.position._getTransformedBySplitOperation(e),[t]})),xe(le.a,le.a,(function(t,e,r){if(t.root===e.root&&t.key===e.key){if(!r.aIsStrong||t.newValue===e.newValue)return[new ge(0)];t.oldValue=e.newValue}return[t]})),xe(he.a,ie.a,(function(t,e){return t.splitPosition.hasSameParentAs(e.position)&&t.splitPosition.offset<e.position.offset&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByInsertOperation(e),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),[t]})),xe(he.a,fe.a,(function(t,e,r){if(!t.graveyardPosition&&!r.bWasUndone&&t.splitPosition.hasSameParentAs(e.sourcePosition)){var n=e.graveyardPosition.path.slice();n.push(0);var o=new we.a(e.graveyardPosition.root,n),i=he.a.getInsertionPosition(new we.a(e.graveyardPosition.root,n)),a=new he.a(o,0,null,0);return a.insertionPosition=i,t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),t.graveyardPosition=a.insertionPosition.clone(),t.graveyardPosition.stickiness="toNext",[a,t]}return t.splitPosition.hasSameParentAs(e.deletionPosition)&&!t.splitPosition.isAfter(e.deletionPosition)&&t.howMany--,t.splitPosition.hasSameParentAs(e.targetPosition)&&(t.howMany+=e.howMany),t.splitPosition=t.splitPosition._getTransformedByMergeOperation(e),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedByMergeOperation(e)),[t]})),xe(he.a,ce.a,(function(t,e,r){var n=me.a._createFromPositionAndShift(e.sourcePosition,e.howMany);if(t.graveyardPosition){var o=n.start.isEqual(t.graveyardPosition)||n.containsPosition(t.graveyardPosition);if(!r.bWasUndone&&o){var i=t.splitPosition._getTransformedByMoveOperation(e),a=t.graveyardPosition._getTransformedByMoveOperation(e),s=a.path.slice();s.push(0);var u=new we.a(a.root,s);return[new ce.a(i,t.howMany,u,0)]}t.graveyardPosition=t.graveyardPosition._getTransformedByMoveOperation(e)}if(t.splitPosition.hasSameParentAs(e.sourcePosition)&&n.containsPosition(t.splitPosition)){var c=e.howMany-(t.splitPosition.offset-e.sourcePosition.offset);return t.howMany-=c,t.splitPosition.hasSameParentAs(e.targetPosition)&&t.splitPosition.offset<e.targetPosition.offset&&(t.howMany+=e.howMany),t.splitPosition=e.sourcePosition.clone(),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),[t]}return!t.splitPosition.isEqual(e.targetPosition)||"insertAtSource"!=r.baRelation&&"splitBefore"!=r.abRelation?(e.sourcePosition.isEqual(e.targetPosition)||(t.splitPosition.hasSameParentAs(e.sourcePosition)&&t.splitPosition.offset<=e.sourcePosition.offset&&(t.howMany-=e.howMany),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",t.graveyardPosition?t.insertionPosition=t.insertionPosition._getTransformedByMoveOperation(e):t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),[t]):(t.howMany+=e.howMany,t.splitPosition=t.splitPosition._getTransformedByDeletion(e.sourcePosition,e.howMany),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),[t])})),xe(he.a,he.a,(function(t,e,r){if(t.splitPosition.isEqual(e.splitPosition)){if(!t.graveyardPosition&&!e.graveyardPosition)return[new ge(0)];if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition))return[new ge(0)];if("splitBefore"==r.abRelation)return t.howMany=0,t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e),[t]}if(t.graveyardPosition&&e.graveyardPosition&&t.graveyardPosition.isEqual(e.graveyardPosition)){var n="$graveyard"==t.splitPosition.root.rootName,o="$graveyard"==e.splitPosition.root.rootName;if(o&&!n||!(n&&!o)&&r.aIsStrong){var i=[];return e.howMany&&i.push(new ce.a(e.moveTargetPosition,e.howMany,e.splitPosition,0)),t.howMany&&i.push(new ce.a(t.splitPosition,t.howMany,t.moveTargetPosition,0)),i}return[new ge(0)]}if(t.graveyardPosition&&(t.graveyardPosition=t.graveyardPosition._getTransformedBySplitOperation(e)),t.splitPosition.isEqual(e.insertionPosition)&&"splitBefore"==r.abRelation)return t.howMany++,[t];if(e.splitPosition.isEqual(t.insertionPosition)&&"splitBefore"==r.baRelation){var a=e.insertionPosition.path.slice();a.push(0);var s=new we.a(e.insertionPosition.root,a);return[t,new ce.a(t.insertionPosition,1,s,0)]}return t.splitPosition.hasSameParentAs(e.splitPosition)&&t.splitPosition.offset<e.splitPosition.offset&&(t.howMany-=e.howMany),t.splitPosition=t.splitPosition._getTransformedBySplitOperation(e),t.insertionPosition=he.a.getInsertionPosition(t.splitPosition),[t]}));var Ve=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ie(this,Le(e).call(this,t)))._stack=[],r._createdBatches=new WeakSet,r.refresh(),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Me(t,e)}(e,t),r=e,(n=[{key:"refresh",value:function(){this.isEnabled=this._stack.length>0}},{key:"addBatch",value:function(t){var e=this.editor.model.document.selection,r={ranges:e.hasOwnRange?Array.from(e.getRanges()):[],isBackward:e.isBackward};this._stack.push({batch:t,selection:r}),this.refresh()}},{key:"clearStack",value:function(){this._stack=[],this.refresh()}},{key:"_restoreSelection",value:function(t,e,r){var n=this.editor.model,o=n.document,i=[],a=!0,s=!1,u=void 0;try{for(var c,l=t[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=Fe(c.value,r).find((function(t){return t.start.root!=o.graveyard}));f&&i.push(f)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}i.length&&n.change((function(t){t.setSelection(i,{backward:e})}))}},{key:"_undo",value:function(t,e){var r=this.editor.model,n=r.document;this._createdBatches.add(e);var o=t.operations.slice().filter((function(t){return t.isDocumentOperation}));o.reverse();var i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value,f=l.baseVersion+1,h=Array.from(n.history.getOperations(f)),p=Ae([l.getReversed()],h,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA,d=!0,y=!1,v=void 0;try{for(var b,g=p[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;e.addOperation(m),r.applyOperation(m),n.history.setOperationAsUndone(l,m)}}catch(t){y=!0,v=t}finally{try{d||null==g.return||g.return()}finally{if(y)throw v}}}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}}}])&&Be(r.prototype,n),o&&Be(r,o),e}(_.a);function Fe(t,e){var r=t.getTransformedByOperations(e);r.sort((function(t,e){return t.start.isBefore(e.start)?-1:1}));for(var n=1;n<r.length;n++){var o=r[n-1],i=r[n];o.end.isTouching(i.start)&&(o.end=i.end,r.splice(n,1),n--)}return r}function Ue(t){return(Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ze(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function He(t,e){return!e||"object"!==Ue(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function We(t,e){return(We=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Je=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),He(this,Ge(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&We(t,e)}(e,t),r=e,(n=[{key:"execute",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=e?this._stack.findIndex((function(t){return t.batch==e})):this._stack.length-1,n=this._stack.splice(r,1)[0],o=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(o,(function(){t._undo(n.batch,o);var e=t.editor.model.document.history.getOperations(n.batch.baseVersion);t._restoreSelection(n.selection.ranges,n.selection.isBackward,e),t.fire("revert",n.batch,o)})),this.refresh()}}])&&ze(r.prototype,n),o&&ze(r,o),e}(Ve);function Ye(t){return(Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ke(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $e(t,e){return!e||"object"!==Ye(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Qe(t){return(Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Xe(t,e){return(Xe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Ze=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),$e(this,Qe(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xe(t,e)}(e,t),r=e,(n=[{key:"execute",value:function(){var t=this,e=this._stack.pop(),r=this.editor.model.createBatch("transparent");this.editor.model.enqueueChange(r,(function(){var n=e.batch.operations[e.batch.operations.length-1].baseVersion+1,o=t.editor.model.document.history.getOperations(n);t._restoreSelection(e.selection.ranges,e.selection.isBackward,o),t._undo(e.batch,r)})),this.refresh()}}])&&Ke(r.prototype,n),o&&Ke(r,o),e}(Ve);function tr(t){return(tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function er(t,e){return!e||"object"!==tr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rr(t){return(rr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function or(t,e,r){return e&&nr(t.prototype,e),r&&nr(t,r),t}function ir(t,e){return(ir=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var ar=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=er(this,rr(e).call(this,t)))._batchRegistry=new WeakSet,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ir(t,e)}(e,t),or(e,null,[{key:"pluginName",get:function(){return"UndoEditing"}}]),or(e,[{key:"init",value:function(){var t=this,e=this.editor;this._undoCommand=new Je(e),this._redoCommand=new Ze(e),e.commands.add("undo",this._undoCommand),e.commands.add("redo",this._redoCommand),this.listenTo(e.model,"applyOperation",(function(e,r){var n=r[0];if(n.isDocumentOperation){var o=n.batch,i=t._redoCommand._createdBatches.has(o),a=t._undoCommand._createdBatches.has(o);t._batchRegistry.has(o)||"transparent"==o.type&&!i&&!a||(i?t._undoCommand.addBatch(o):a||(t._undoCommand.addBatch(o),t._redoCommand.clearStack()),t._batchRegistry.add(o))}}),{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(function(e,r,n){t._redoCommand.addBatch(n)})),e.keystrokes.set("CTRL+Z","undo"),e.keystrokes.set("CTRL+Y","redo"),e.keystrokes.set("CTRL+SHIFT+Z","redo")}}]),e}(n.a),sr=r(627),ur='<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>',cr='<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>';function lr(t){return(lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function hr(t,e){return!e||"object"!==lr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function pr(t){return(pr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function dr(t,e){return(dr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var yr=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),hr(this,pr(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dr(t,e)}(e,t),r=e,(n=[{key:"init",value:function(){var t=this.editor,e=t.locale,r=t.t,n="ltr"==e.uiLanguageDirection?ur:cr,o="ltr"==e.uiLanguageDirection?cr:ur;this._addButton("undo",r("Undo"),"CTRL+Z",n),this._addButton("redo",r("Redo"),"CTRL+Y",o)}},{key:"_addButton",value:function(t,e,r,n){var o=this,i=this.editor;i.ui.componentFactory.add(t,(function(a){var s=i.commands.get(t),u=new sr.a(a);return u.set({label:e,icon:n,keystroke:r,tooltip:!0}),u.bind("isEnabled").to(s,"isEnabled"),o.listenTo(u,"execute",(function(){return i.execute(t)})),u}))}}])&&fr(r.prototype,n),o&&fr(r,o),e}(n.a);function vr(t){return(vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function br(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gr(t,e){return!e||"object"!==vr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function mr(t){return(mr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wr(t,e){return(wr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var kr=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),gr(this,mr(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wr(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[ar,yr]}},{key:"pluginName",get:function(){return"Undo"}}],(n=null)&&br(r.prototype,n),o&&br(r,o),e}(n.a);function _r(t){return(_r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Sr(t,e){return!e||"object"!==_r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function xr(t){return(xr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pr(t,e){return(Pr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return Er}));var Er=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Sr(this,xr(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pr(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[k,W,at,oe,kr]}},{key:"pluginName",get:function(){return"Essentials"}}],(n=null)&&Or(r.prototype,n),o&&Or(r,o),e}(n.a)},1130:function(t,e,r){"use strict";var n=r(618),o=r(630);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function i(t,e,r){return r.createRange(a(t,e,!0,r),a(t,e,!1,r))}function a(t,e,r,n){for(var o=t.textNode||(r?t.nodeBefore:t.nodeAfter),i=null;o&&o.getAttribute("linkHref")==e;)i=o,o=r?o.previousSibling:o.nextSibling;return i?n.createPositionAt(i,r?"before":"after"):t}var s=r(704),u=r(660);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var d=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=f(this,h(e).call(this,t))).manualDecorators=new u.a,r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),r=e,(n=[{key:"restoreManualDecoratorStates",value:function(){var t=!0,e=!1,r=void 0;try{for(var n,o=this.manualDecorators[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var i=n.value;i.value=this._getDecoratorStateFromModel(i.id)}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}},{key:"refresh",value:function(){var t=this.editor.model,e=t.document;this.value=e.selection.getAttribute("linkHref");var r=!0,n=!1,o=void 0;try{for(var i,a=this.manualDecorators[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;s.value=this._getDecoratorStateFromModel(s.id)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}this.isEnabled=t.schema.checkAttributeInSelection(e.selection,"linkHref")}},{key:"execute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.editor.model,n=r.document.selection,o=[],a=[];for(var u in e)e[u]?o.push(u):a.push(u);r.change((function(e){if(n.isCollapsed){var u=n.getFirstPosition();if(n.hasAttribute("linkHref")){var c=i(u,n.getAttribute("linkHref"),r);e.setAttribute("linkHref",t,c),o.forEach((function(t){e.setAttribute(t,!0,c)})),a.forEach((function(t){e.removeAttribute(t,c)})),e.setSelection(c)}else if(""!==t){var l=Object(s.a)(n.getAttributes());l.set("linkHref",t),o.forEach((function(t){l.set(t,!0)}));var f=e.createText(t,l);r.insertContent(f,u),e.setSelection(e.createRangeOn(f))}}else{var h=r.schema.getValidRanges(n.getRanges(),"linkHref"),p=!0,d=!1,y=void 0;try{for(var v,b=function(){var r=v.value;e.setAttribute("linkHref",t,r),o.forEach((function(t){e.setAttribute(t,!0,r)})),a.forEach((function(t){e.removeAttribute(t,r)}))},g=h[Symbol.iterator]();!(p=(v=g.next()).done);p=!0)b()}catch(t){d=!0,y=t}finally{try{p||null==g.return||g.return()}finally{if(d)throw y}}}}))}},{key:"_getDecoratorStateFromModel",value:function(t){return this.editor.model.document.selection.getAttribute(t)||!1}}])&&l(r.prototype,n),o&&l(r,o),e}(o.a);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function b(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var w=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,g(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(e,t),r=e,(n=[{key:"refresh",value:function(){this.isEnabled=this.editor.model.document.selection.hasAttribute("linkHref")}},{key:"execute",value:function(){var t=this.editor,e=this.editor.model,r=e.document.selection,n=t.commands.get("link");e.change((function(t){var o=r.isCollapsed?[i(r.getFirstPosition(),r.getAttribute("linkHref"),e)]:r.getRanges(),a=!0,s=!1,u=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;if(t.removeAttribute("linkHref",f),n){var h=!0,p=!1,d=void 0;try{for(var y,v=n.manualDecorators[Symbol.iterator]();!(h=(y=v.next()).done);h=!0){var b=y.value;t.removeAttribute(b.id,f)}}catch(t){p=!0,d=t}finally{try{h||null==v.return||v.return()}finally{if(p)throw d}}}}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}))}}])&&v(r.prototype,n),o&&v(r,o),e}(o.a);var k=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i};var _=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:k(t,e,r)},O=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var S=function(t){return O.test(t)};var x=function(t){return t.split("")},P="[\\ud800-\\udfff]",E="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",A="\\ud83c[\\udffb-\\udfff]",T="[^\\ud800-\\udfff]",C="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",R="(?:"+E+"|"+A+")"+"?",D="[\\ufe0e\\ufe0f]?"+R+("(?:\\u200d(?:"+[T,C,j].join("|")+")[\\ufe0e\\ufe0f]?"+R+")*"),N="(?:"+[T+E+"?",E,C,j,P].join("|")+")",q=RegExp(A+"(?="+A+")|"+N+D,"g");var B=function(t){return t.match(q)||[]};var I=function(t){return S(t)?B(t):x(t)},L=r(678);var M=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},V=r(679),F=r(907),U=1/0,z=L.a?L.a.prototype:void 0,H=z?z.toString:void 0;var G=function t(e){if("string"==typeof e)return e;if(Object(V.a)(e))return M(e,t)+"";if(Object(F.a)(e))return H?H.call(e):"";var r=e+"";return"0"==r&&1/e==-U?"-0":r};var W=function(t){return null==t?"":G(t)};var J=function(t){return function(e){e=W(e);var r=S(e)?I(e):void 0,n=r?r[0]:e.charAt(0),o=r?_(r,1).join(""):e.slice(1);return n[t]()+o}}("toUpperCase");function Y(t,e){return function(t){if(Array.isArray(t))return t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,$=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function Q(t,e){var r=e.createAttributeElement("a",{href:t},{priority:5});return e.setCustomProperty("link",!0,r),r}function X(t){return function(t){return t.replace(K,"").match($)}(t=String(t))?t:"#"}function Z(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md.
 */
var tt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._definitions=new Set}var e,r,n;return e=t,(r=[{key:"add",value:function(t){var e=this;Array.isArray(t)?t.forEach((function(t){return e._definitions.add(t)})):this._definitions.add(t)}},{key:"getDispatcher",value:function(){var t=this;return function(e){e.on("attribute:linkHref",(function(e,r,n){if(n.consumable.test(r.item,"attribute:linkHref")){var o=n.writer,i=o.document.selection,a=!0,s=!1,u=void 0;try{for(var c,l=t._definitions[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=o.createAttributeElement("a",f.attributes,{priority:5});o.setCustomProperty("link",!0,h),f.callback(r.attributeNewValue)?r.item.is("selection")?o.wrap(i.getFirstRange(),h):o.wrap(n.mapper.toViewRange(r.range),h):o.unwrap(n.mapper.toViewRange(r.range),h)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}),{priority:"high"})}}},{key:"length",get:function(){return this._definitions.size}}])&&Z(e.prototype,r),n&&Z(e,n),t}(),et=r(623),rt=r(616);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var nt=function t(e){var r=e.id,n=e.label,o=e.attributes;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id=r,this.set("value"),this.label=n,this.attributes=o};Object(rt.a)(nt,et.a);var ot=r(628),it=r(900);function at(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var st=function(){function t(e,r,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e,this.attribute=n,this._modelSelection=e.document.selection,this._overrideUid=null,this._isNextGravityRestorationSkipped=!1,r.listenTo(this._modelSelection,"change:range",(function(t,e){o._isNextGravityRestorationSkipped?o._isNextGravityRestorationSkipped=!1:o._isGravityOverridden&&(!e.directChange&&ut(o._modelSelection.getFirstPosition(),n)||o._restoreGravity())}))}var e,r,n;
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */return e=t,(r=[{key:"handleForwardMovement",value:function(t,e){var r=this.attribute;if(!(this._isGravityOverridden||t.isAtStart&&this._hasSelectionAttribute))return ft(t,r)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._removeSelectionAttribute(),!0):ct(t,r)?(this._preventCaretMovement(e),this._overrideGravity(),!0):lt(t,r)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._overrideGravity(),!0):void 0}},{key:"handleBackwardMovement",value:function(t,e){var r=this.attribute;return this._isGravityOverridden?ft(t,r)&&this._hasSelectionAttribute?(this._preventCaretMovement(e),this._restoreGravity(),this._removeSelectionAttribute(),!0):(this._preventCaretMovement(e),this._restoreGravity(),t.isAtStart&&this._removeSelectionAttribute(),!0):ft(t,r)&&!this._hasSelectionAttribute?(this._preventCaretMovement(e),this._setSelectionAttributeFromTheNodeBefore(t),!0):t.isAtEnd&&lt(t,r)?this._hasSelectionAttribute?void(ht(t,r)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity())):(this._preventCaretMovement(e),this._setSelectionAttributeFromTheNodeBefore(t),!0):t.isAtStart?this._hasSelectionAttribute?(this._removeSelectionAttribute(),this._preventCaretMovement(e),!0):void 0:void(ht(t,r)&&(this._skipNextAutomaticGravityRestoration(),this._overrideGravity()))}},{key:"_overrideGravity",value:function(){this._overrideUid=this.model.change((function(t){return t.overrideSelectionGravity()}))}},{key:"_restoreGravity",value:function(){var t=this;this.model.change((function(e){e.restoreSelectionGravity(t._overrideUid),t._overrideUid=null}))}},{key:"_preventCaretMovement",value:function(t){t.preventDefault()}},{key:"_removeSelectionAttribute",value:function(){var t=this;this.model.change((function(e){e.removeSelectionAttribute(t.attribute)}))}},{key:"_setSelectionAttributeFromTheNodeBefore",value:function(t){var e=this,r=this.attribute;this.model.change((function(n){n.setSelectionAttribute(e.attribute,t.nodeBefore.getAttribute(r))}))}},{key:"_skipNextAutomaticGravityRestoration",value:function(){this._isNextGravityRestorationSkipped=!0}},{key:"_isGravityOverridden",get:function(){return!!this._overrideUid}},{key:"_hasSelectionAttribute",get:function(){return this._modelSelection.hasAttribute(this.attribute)}}])&&at(e.prototype,r),n&&at(e,n),t}();function ut(t,e){return ct(t,e)||lt(t,e)}function ct(t,e){var r=t.nodeBefore,n=t.nodeAfter,o=!!r&&r.hasAttribute(e);return!!n&&n.hasAttribute(e)&&(!o||r.getAttribute(e)!==n.getAttribute(e))}function lt(t,e){var r=t.nodeBefore,n=t.nodeAfter,o=!!r&&r.hasAttribute(e),i=!!n&&n.hasAttribute(e);return o&&(!i||r.getAttribute(e)!==n.getAttribute(e))}function ft(t,e){var r=t.nodeBefore,n=t.nodeAfter,o=!!r&&r.hasAttribute(e);if(!!n&&n.hasAttribute(e)&&o)return n.getAttribute(e)!==r.getAttribute(e)}function ht(t,e){return ut(t.getShiftedBy(-1),e)}r(1189);function pt(t){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){return!e||"object"!==pt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function yt(t){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function vt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function bt(t,e,r){return e&&vt(t.prototype,e),r&&vt(t,r),t}function gt(t,e){return(gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var mt="ck-link_selected",wt=/^(https?:)?\/\//,kt=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=dt(this,yt(e).call(this,t)),t.config.define("link",{addTargetToExternalLinks:!1}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gt(t,e)}(e,t),bt(e,null,[{key:"pluginName",get:function(){return"LinkEditing"}}]),bt(e,[{key:"init",value:function(){var t=this.editor,e=t.locale;t.model.schema.extend("$text",{allowAttributes:"linkHref"}),t.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:Q}),t.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:function(t,e){return Q(X(t),e)}}),t.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:function(t){return t.getAttribute("href")}}}),t.commands.add("link",new d(t)),t.commands.add("unlink",new w(t));var r=function(t,e){var r={"Open in a new tab":t("Open in a new tab"),Downloadable:t("Downloadable")};return e.forEach((function(t){return t.label&&r[t.label]&&(t.label=r[t.label]),t})),e}(t.t,function(t){var e=[];if(t)for(var r=0,n=Object.entries(t);r<n.length;r++){var o=Y(n[r],2),i=o[0],a=o[1],s=Object.assign({},a,{id:"link".concat(J(i))});e.push(s)}return e}(t.config.get("link.decorators")));this._enableAutomaticDecorators(r.filter((function(t){return"automatic"===t.mode}))),this._enableManualDecorators(r.filter((function(t){return"manual"===t.mode}))),function(t){var e=t.view,r=t.model,n=t.emitter,o=t.attribute,i=t.locale,a=new st(r,n,o),s=r.document.selection;n.listenTo(e.document,"keydown",(function(t,e){if(s.isCollapsed&&!(e.shiftKey||e.altKey||e.ctrlKey)){var r=e.keyCode==ot.c.arrowright,n=e.keyCode==ot.c.arrowleft;if(r||n){var o=s.getFirstPosition(),u=i.contentLanguageDirection;("ltr"===u&&r||"rtl"===u&&n?a.handleForwardMovement(o,e):a.handleBackwardMovement(o,e))&&t.stop()}}}),{priority:it.a.get("high")+1})}({view:t.editing.view,model:t.model,emitter:this,attribute:"linkHref",locale:e}),this._setupLinkHighlight()}},{key:"_enableAutomaticDecorators",value:function(t){var e=this.editor,r=new tt;e.config.get("link.addTargetToExternalLinks")&&r.add({id:"linkIsExternal",mode:"automatic",callback:function(t){return wt.test(t)},attributes:{target:"_blank",rel:"noopener noreferrer"}}),r.add(t),r.length&&e.conversion.for("downcast").add(r.getDispatcher())}},{key:"_enableManualDecorators",value:function(t){if(t.length){var e=this.editor,r=e.commands.get("link").manualDecorators;t.forEach((function(t){e.model.schema.extend("$text",{allowAttributes:t.id}),r.add(new nt(t)),e.conversion.for("downcast").attributeToElement({model:t.id,view:function(e,n){if(e){var o=r.get(t.id).attributes,i=n.createAttributeElement("a",o,{priority:5});return n.setCustomProperty("link",!0,i),i}}}),e.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:r.get(t.id).attributes},model:{key:t.id}})}))}}},{key:"_setupLinkHighlight",value:function(){var t=this.editor,e=t.editing.view,r=new Set;e.document.registerPostFixer((function(e){var n=t.model.document.selection,o=!1;if(n.hasAttribute("linkHref")){var a=i(n.getFirstPosition(),n.getAttribute("linkHref"),t.model),s=t.editing.mapper.toViewRange(a),u=!0,c=!1,l=void 0;try{for(var f,h=s.getItems()[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;p.is("a")&&!p.hasClass(mt)&&(e.addClass(mt,p),r.add(p),o=!0)}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}return o})),t.conversion.for("editingDowncast").add((function(t){function n(){e.change((function(t){var e=!0,n=!1,o=void 0;try{for(var i,a=r.values()[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var s=i.value;t.removeClass(mt,s),r.delete(s)}}catch(t){n=!0,o=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw o}}}))}t.on("insert",n,{priority:"highest"}),t.on("remove",n,{priority:"highest"}),t.on("attribute",n,{priority:"highest"}),t.on("selection",n,{priority:"highest"})}))}}]),e}(n.a);function _t(t){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ot(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function St(t,e){return!e||"object"!==_t(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pt(t,e){return(Pt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Et=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=St(this,xt(e).call(this,t))).domEventType="click",r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}(e,t),r=e,(n=[{key:"onDomEvent",value:function(t){this.fire(t.type,t)}}])&&Ot(r.prototype,n),o&&Ot(r,o),e}(r(663).a),At=r(1138),Tt=r(919),Ct=r(627),jt=r(620),Rt=r(706),Dt=r(918),Nt=r(658);r(1191);function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Bt(t,e){return!e||"object"!==qt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Mt=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Bt(this,It(e).call(this,t))).set("text"),r.set("for");var n=r.bindTemplate;return r.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],for:n.to("for")},children:[{text:n.to("text")}]}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(e,t),e}(jt.a);r(1193);function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ut(t){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function zt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Gt=function(t){function e(t,r){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?zt(t):e}(this,Ut(e).call(this,t));var o="ck-input-".concat(Object(Nt.a)()),i="ck-status-".concat(Object(Nt.a)());n.set("label"),n.set("value"),n.set("isReadOnly",!1),n.set("errorText",null),n.set("infoText",null),n.labelView=n._createLabelView(o),n.inputView=n._createInputView(r,o,i),n.statusView=n._createStatusView(i),n.bind("_statusText").to(zt(n),"errorText",zt(n),"infoText",(function(t,e){return t||e}));var a=n.bindTemplate;return n.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-input",a.if("isReadOnly","ck-disabled")]},children:[n.labelView,n.inputView,n.statusView]}),n}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(e,t),r=e,(n=[{key:"_createLabelView",value:function(t){var e=new Mt(this.locale);return e.for=t,e.bind("text").to(this,"label"),e}},{key:"_createInputView",value:function(t,e,r){var n=this,o=new t(this.locale,r);return o.id=e,o.ariaDescribedById=r,o.bind("value").to(this),o.bind("isReadOnly").to(this),o.bind("hasError").to(this,"errorText",(function(t){return!!t})),o.on("input",(function(){n.errorText=null})),o}},{key:"_createStatusView",value:function(t){var e=new jt.a(this.locale),r=this.bindTemplate;return e.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-input__status",r.if("errorText","ck-labeled-input__status_error"),r.if("_statusText","ck-hidden",(function(t){return!t}))],id:t,role:r.if("errorText","alert")},children:[{text:r.to("_statusText")}]}),e}},{key:"select",value:function(){this.inputView.select()}},{key:"focus",value:function(){this.inputView.focus()}}])&&Ft(r.prototype,n),o&&Ft(r,o),e}(jt.a);r(1195);function Wt(t){return(Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Yt(t,e){return!e||"object"!==Wt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Kt(t,e,r){return(Kt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=$t(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function $t(t){return($t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Xt=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Yt(this,$t(e).call(this,t))).set("value"),r.set("id"),r.set("placeholder"),r.set("isReadOnly",!1),r.set("hasError",!1),r.set("ariaDescribedById");var n=r.bindTemplate;return r.setTemplate({tag:"input",attributes:{type:"text",class:["ck","ck-input","ck-input-text",n.if("hasError","ck-error")],id:n.to("id"),placeholder:n.to("placeholder"),readonly:n.to("isReadOnly"),"aria-invalid":n.if("hasError",!0),"aria-describedby":n.to("ariaDescribedById")},on:{input:n.to("input")}}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qt(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;Kt($t(e.prototype),"render",this).call(this);var r=function(e){t.element.value=e||0===e?e:""};r(this.value),this.on("change:value",(function(t,e,n){r(n)}))}},{key:"select",value:function(){this.element.select()}},{key:"focus",value:function(){this.element.focus()}}])&&Jt(r.prototype,n),o&&Jt(r,o),e}(jt.a);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Zt=r(641),te=r(707),ee=r(667),re='<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>',ne='<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>';r(1197);function oe(t){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ie(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ae(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function se(t,e){return!e||"object"!==oe(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ue(t,e,r){return(ue="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ce(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ce(t){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function le(t,e){return(le=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var fe=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=se(this,ce(e).call(this,t));var o=t.t;r.focusTracker=new Zt.a,r.keystrokes=new ee.a,r.urlInputView=r._createUrlInput(),r.saveButtonView=r._createButton(o("Save"),re,"ck-button-save"),r.saveButtonView.type="submit",r.cancelButtonView=r._createButton(o("Cancel"),ne,"ck-button-cancel","cancel"),r._manualDecoratorSwitches=r._createManualDecoratorSwitches(n),r.children=r._createFormChildren(n),r._focusables=new Rt.a,r._focusCycler=new te.a({focusables:r._focusables,focusTracker:r.focusTracker,keystrokeHandler:r.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});var i=["ck","ck-link-form"];return n.length&&i.push("ck-link-form_layout-vertical"),r.setTemplate({tag:"form",attributes:{class:i,tabindex:"-1"},children:r.children}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&le(t,e)}(e,t),r=e,(n=[{key:"getDecoratorSwitchesState",value:function(){return Array.from(this._manualDecoratorSwitches).reduce((function(t,e){return t[e.name]=e.isOn,t}),{})}},{key:"render",value:function(){var t,r=this;ue(ce(e.prototype),"render",this).call(this),(t=this).listenTo(t.element,"submit",(function(e,r){r.preventDefault(),t.fire("submit")}),{useCapture:!0}),[this.urlInputView].concat(ie(this._manualDecoratorSwitches),[this.saveButtonView,this.cancelButtonView]).forEach((function(t){r._focusables.add(t),r.focusTracker.add(t.element)})),this.keystrokes.listenTo(this.element)}},{key:"focus",value:function(){this._focusCycler.focusFirst()}},{key:"_createUrlInput",value:function(){var t=this.locale.t,e=new Gt(this.locale,Xt);return e.label=t("Link URL"),e.inputView.placeholder="https://example.com",e}},{key:"_createButton",value:function(t,e,r,n){var o=new Ct.a(this.locale);return o.set({label:t,icon:e,tooltip:!0}),o.extendTemplate({attributes:{class:r}}),n&&o.delegate("execute").to(this,n),o}},{key:"_createManualDecoratorSwitches",value:function(t){var e=this,r=this.createCollection(),n=!0,o=!1,i=void 0;try{for(var a,s=function(){var t=a.value,n=new Dt.a(e.locale);n.set({name:t.id,label:t.label,withText:!0}),n.bind("isOn").to(t,"value"),n.on("execute",(function(){t.set("value",!n.isOn)})),r.add(n)},u=t[Symbol.iterator]();!(n=(a=u.next()).done);n=!0)s()}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}},{key:"_createFormChildren",value:function(t){var e=this.createCollection();if(e.add(this.urlInputView),t.length){var r=new jt.a;r.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map((function(t){return{tag:"li",children:[t],attributes:{class:["ck","ck-list__item"]}}})),attributes:{class:["ck","ck-reset","ck-list"]}}),e.add(r)}return e.add(this.saveButtonView),e.add(this.cancelButtonView),e}}])&&ae(r.prototype,n),o&&ae(r,o),e}(jt.a),he='<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>',pe='<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>';r(1199);function de(t){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ye(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ve(t,e){return!e||"object"!==de(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function be(t,e,r){return(be="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ge(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function ge(t){return(ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function me(t,e){return(me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var we=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=ve(this,ge(e).call(this,t));var n=t.t;return r.focusTracker=new Zt.a,r.keystrokes=new ee.a,r.previewButtonView=r._createPreviewButton(),r.unlinkButtonView=r._createButton(n("Unlink"),he,"unlink"),r.editButtonView=r._createButton(n("Edit link"),pe,"edit"),r.set("href"),r._focusables=new Rt.a,r._focusCycler=new te.a({focusables:r._focusables,focusTracker:r.focusTracker,keystrokeHandler:r.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),r.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions"],tabindex:"-1"},children:[r.previewButtonView,r.editButtonView,r.unlinkButtonView]}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&me(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;be(ge(e.prototype),"render",this).call(this),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach((function(e){t._focusables.add(e),t.focusTracker.add(e.element)})),this.keystrokes.listenTo(this.element)}},{key:"focus",value:function(){this._focusCycler.focusFirst()}},{key:"_createButton",value:function(t,e,r){var n=new Ct.a(this.locale);return n.set({label:t,icon:e,tooltip:!0}),n.delegate("execute").to(this,r),n}},{key:"_createPreviewButton",value:function(){var t=new Ct.a(this.locale),e=this.bindTemplate,r=this.t;return t.set({withText:!0,tooltip:r("Open link in new tab")}),t.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:e.to("href",(function(t){return t&&X(t)})),target:"_blank"}}),t.bind("label").to(this,"href",(function(t){return t||r("This link has no URL")})),t.bind("isEnabled").to(this,"href",(function(t){return!!t})),t.template.tag="a",t.template.eventListeners={},t}}])&&ye(r.prototype,n),o&&ye(r,o),e}(jt.a);function ke(t){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Oe(t,e){return!e||"object"!==ke(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Se(t,e,r){return(Se="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=xe(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function xe(t){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pe(t,e){return(Pe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var Ee=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Oe(this,xe(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pe(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[At.a]}},{key:"pluginName",get:function(){return"LinkUI"}}],(n=[{key:"init",value:function(){var t=this.editor;t.editing.view.addObserver(Et),this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._balloon=t.plugins.get(At.a),this._createToolbarLinkButton(),this._enableUserBalloonInteractions()}},{key:"destroy",value:function(){Se(xe(e.prototype),"destroy",this).call(this),this.formView.destroy()}},{key:"_createActionsView",value:function(){var t=this,e=this.editor,r=new we(e.locale),n=e.commands.get("link"),o=e.commands.get("unlink");return r.bind("href").to(n,"value"),r.editButtonView.bind("isEnabled").to(n),r.unlinkButtonView.bind("isEnabled").to(o),this.listenTo(r,"edit",(function(){t._addFormView()})),this.listenTo(r,"unlink",(function(){e.execute("unlink"),t._hideUI()})),r.keystrokes.set("Esc",(function(e,r){t._hideUI(),r()})),r.keystrokes.set("Ctrl+K",(function(e,r){t._addFormView(),r()})),r}},{key:"_createFormView",value:function(){var t=this,e=this.editor,r=e.commands.get("link"),n=new fe(e.locale,r.manualDecorators);return n.urlInputView.bind("value").to(r,"value"),n.urlInputView.bind("isReadOnly").to(r,"isEnabled",(function(t){return!t})),n.saveButtonView.bind("isEnabled").to(r),this.listenTo(n,"submit",(function(){e.execute("link",n.urlInputView.inputView.element.value,n.getDecoratorSwitchesState()),t._closeFormView()})),this.listenTo(n,"cancel",(function(){t._closeFormView()})),n.keystrokes.set("Esc",(function(e,r){t._closeFormView(),r()})),n}},{key:"_createToolbarLinkButton",value:function(){var t=this,e=this.editor,r=e.commands.get("link"),n=e.t;e.keystrokes.set("Ctrl+K",(function(e,n){n(),r.isEnabled&&t._showUI(!0)})),e.ui.componentFactory.add("link",(function(e){var o=new Ct.a(e);return o.isEnabled=!0,o.label=n("Link"),o.icon='<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>',o.keystroke="Ctrl+K",o.tooltip=!0,o.isToggleable=!0,o.bind("isEnabled").to(r,"isEnabled"),o.bind("isOn").to(r,"value",(function(t){return!!t})),t.listenTo(o,"execute",(function(){return t._showUI(!0)})),o}))}},{key:"_enableUserBalloonInteractions",value:function(){var t=this,e=this.editor.editing.view.document;this.listenTo(e,"click",(function(){t._getSelectedLinkElement()&&t._showUI()})),this.editor.keystrokes.set("Tab",(function(e,r){t._areActionsVisible&&!t.actionsView.focusTracker.isFocused&&(t.actionsView.focus(),r())}),{priority:"high"}),this.editor.keystrokes.set("Esc",(function(e,r){t._isUIVisible&&(t._hideUI(),r())})),Object(Tt.a)({emitter:this.formView,activator:function(){return t._isUIInPanel},contextElements:[this._balloon.view.element],callback:function(){return t._hideUI()}})}},{key:"_addActionsView",value:function(){this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}},{key:"_addFormView",value:function(){if(!this._isFormInPanel){var t=this.editor.commands.get("link");this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.select(),this.formView.urlInputView.inputView.element.value=t.value||""}}},{key:"_closeFormView",value:function(){var t=this.editor.commands.get("link");t.restoreManualDecoratorStates(),void 0!==t.value?this._removeFormView():this._hideUI()}},{key:"_removeFormView",value:function(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus())}},{key:"_showUI",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.editor,r=e.commands.get("link");r.isEnabled&&(this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),t&&this._balloon.showStack("main")):(this._addActionsView(),t&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI())}},{key:"_hideUI",value:function(){if(this._isUIInPanel){var 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)}}},{key:"_startUpdatingUI",value:function(){var t=this,e=this.editor,r=e.editing.view.document,n=this._getSelectedLinkElement(),o=a(),i=function(){var e=t._getSelectedLinkElement(),r=a();n&&!e||!n&&r!==o?t._hideUI():t._isUIVisible&&t._balloon.updatePosition(t._getBalloonPositionData()),n=e,o=r};function a(){return r.selection.focus.getAncestors().reverse().find((function(t){return t.is("element")}))}this.listenTo(e.ui,"update",i),this.listenTo(this._balloon,"change:visibleView",i)}},{key:"_getBalloonPositionData",value:function(){var t=this.editor.editing.view,e=t.document,r=this._getSelectedLinkElement();return{target:r?t.domConverter.mapViewToDom(r):t.domConverter.viewRangeToDom(e.selection.getFirstRange())}}},{key:"_getSelectedLinkElement",value:function(){var t=this.editor.editing.view,e=t.document.selection;if(e.isCollapsed)return Ae(e.getFirstPosition());var r=e.getFirstRange().getTrimmed(),n=Ae(r.start),o=Ae(r.end);return n&&n==o&&t.createRangeIn(n).getTrimmed().isEqual(r)?n:null}},{key:"_isFormInPanel",get:function(){return this._balloon.hasView(this.formView)}},{key:"_areActionsInPanel",get:function(){return this._balloon.hasView(this.actionsView)}},{key:"_areActionsVisible",get:function(){return this._balloon.visibleView===this.actionsView}},{key:"_isUIInPanel",get:function(){return this._isFormInPanel||this._areActionsInPanel}},{key:"_isUIVisible",get:function(){return this._balloon.visibleView==this.formView||this._areActionsVisible}}])&&_e(r.prototype,n),o&&_e(r,o),e}(n.a);function Ae(t){return t.getAncestors().find((function(t){return(e=t).is("attributeElement")&&!!e.getCustomProperty("link");var e}))}function Te(t){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ce(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function je(t,e){return!e||"object"!==Te(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Re(t){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function De(t,e){return(De=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return Ne}));var Ne=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),je(this,Re(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&De(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[kt,Ee]}},{key:"pluginName",get:function(){return"Link"}}],(n=null)&&Ce(r.prototype,n),o&&Ce(r,o),e}(n.a)},1131:function(t,e,r){"use strict";var n=r(655),o=Object(n.a)(Object,"create");var i=function(){this.__data__=o?o(null):{},this.size=0};var a=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},s="__lodash_hash_undefined__",u=Object.prototype.hasOwnProperty;var c=function(t){var e=this.__data__;if(o){var r=e[t];return r===s?void 0:r}return u.call(e,t)?e[t]:void 0},l=Object.prototype.hasOwnProperty;var f=function(t){var e=this.__data__;return o?void 0!==e[t]:l.call(e,t)},h="__lodash_hash_undefined__";var p=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===e?h:e,this};function d(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}d.prototype.clear=i,d.prototype.delete=a,d.prototype.get=c,d.prototype.has=f,d.prototype.set=p;var y=d,v=r(786),b=r(801);var g=function(){this.size=0,this.__data__={hash:new y,map:new(b.a||v.a),string:new y}};var m=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var w=function(t,e){var r=t.__data__;return m(e)?r["string"==typeof e?"string":"hash"]:r.map};var k=function(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e};var _=function(t){return w(this,t).get(t)};var O=function(t){return w(this,t).has(t)};var S=function(t,e){var r=w(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function x(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}x.prototype.clear=g,x.prototype.delete=k,x.prototype.get=_,x.prototype.has=O,x.prototype.set=S;e.a=x},1132:function(t,e,r){"use strict";var n=r(1133),o=r(1131),i="__lodash_hash_undefined__";var a=function(t){return this.__data__.set(t,i),this};var s=function(t){return this.__data__.has(t)};function u(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new o.a;++e<r;)this.add(t[e])}u.prototype.add=u.prototype.push=a,u.prototype.has=s;var c=u;var l=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var f=function(t,e){return t.has(e)},h=1,p=2;var d=function(t,e,r,n,o,i){var a=r&h,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var d=i.get(t);if(d&&i.get(e))return d==e;var y=-1,v=!0,b=r&p?new c:void 0;for(i.set(t,e),i.set(e,t);++y<s;){var g=t[y],m=e[y];if(n)var w=a?n(m,g,y,e,t,i):n(g,m,y,t,e,i);if(void 0!==w){if(w)continue;v=!1;break}if(b){if(!l(e,(function(t,e){if(!f(b,e)&&(g===t||o(g,t,r,n,i)))return b.push(e)}))){v=!1;break}}else if(g!==m&&!o(g,m,r,n,i)){v=!1;break}}return i.delete(t),i.delete(e),v},y=r(678),v=r(896),b=r(701);var g=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};var m=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},w=1,k=2,_="[object Boolean]",O="[object Date]",S="[object Error]",x="[object Map]",P="[object Number]",E="[object RegExp]",A="[object Set]",T="[object String]",C="[object Symbol]",j="[object ArrayBuffer]",R="[object DataView]",D=y.a?y.a.prototype:void 0,N=D?D.valueOf:void 0;var q=function(t,e,r,n,o,i,a){switch(r){case R:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case j:return!(t.byteLength!=e.byteLength||!i(new v.a(t),new v.a(e)));case _:case O:case P:return Object(b.a)(+t,+e);case S:return t.name==e.name&&t.message==e.message;case E:case T:return t==e+"";case x:var s=g;case A:var u=n&w;if(s||(s=m),t.size!=e.size&&!u)return!1;var c=a.get(t);if(c)return c==e;n|=k,a.set(t,e);var l=d(s(t),s(e),n,o,i,a);return a.delete(t),l;case C:if(N)return N.call(t)==N.call(e)}return!1},B=r(898),I=1,L=Object.prototype.hasOwnProperty;var M=function(t,e,r,n,o,i){var a=r&I,s=Object(B.a)(t),u=s.length;if(u!=Object(B.a)(e).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in e:L.call(e,l)))return!1}var f=i.get(t);if(f&&i.get(e))return f==e;var h=!0;i.set(t,e),i.set(e,t);for(var p=a;++c<u;){var d=t[l=s[c]],y=e[l];if(n)var v=a?n(y,d,l,e,t,i):n(d,y,l,t,e,i);if(!(void 0===v?d===y||o(d,y,r,n,i):v)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var b=t.constructor,g=e.constructor;b!=g&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof g&&g instanceof g)&&(h=!1)}return i.delete(t),i.delete(e),h},V=r(787),F=r(679),U=r(802),z=r(1141),H=1,G="[object Arguments]",W="[object Array]",J="[object Object]",Y=Object.prototype.hasOwnProperty;var K=function(t,e,r,o,i,a){var s=Object(F.a)(t),u=Object(F.a)(e),c=s?W:Object(V.a)(t),l=u?W:Object(V.a)(e),f=(c=c==G?J:c)==J,h=(l=l==G?J:l)==J,p=c==l;if(p&&Object(U.a)(t)){if(!Object(U.a)(e))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new n.a),s||Object(z.a)(t)?d(t,e,r,o,i,a):q(t,e,c,r,o,i,a);if(!(r&H)){var y=f&&Y.call(t,"__wrapped__"),v=h&&Y.call(e,"__wrapped__");if(y||v){var b=y?t.value():t,g=v?e.value():e;return a||(a=new n.a),i(b,g,r,o,a)}}return!!p&&(a||(a=new n.a),M(t,e,r,o,i,a))},$=r(633);e.a=function t(e,r,n,o,i){return e===r||(null==e||null==r||!Object($.a)(e)&&!Object($.a)(r)?e!=e&&r!=r:K(e,r,n,o,t,i))}},1133:function(t,e,r){"use strict";var n=r(786);var o=function(){this.__data__=new n.a,this.size=0};var i=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};var a=function(t){return this.__data__.get(t)};var s=function(t){return this.__data__.has(t)},u=r(801),c=r(1131),l=200;var f=function(t,e){var r=this.__data__;if(r instanceof n.a){var o=r.__data__;if(!u.a||o.length<l-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new c.a(o)}return r.set(t,e),this.size=r.size,this};function h(t){var e=this.__data__=new n.a(t);this.size=e.size}h.prototype.clear=o,h.prototype.delete=i,h.prototype.get=a,h.prototype.has=s,h.prototype.set=f;e.a=h},1134:function(t,e,r){"use strict";var n=r(618),o=r(630),i=r(920);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,c(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,(n=[{key:"refresh",value:function(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}},{key:"execute",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.editor.model,n=r.schema,o=r.document.selection,i=Array.from(o.getSelectedBlocks()),a=void 0===e.forceValue?!this.value:e.forceValue;r.change((function(e){if(a){var r=i.filter((function(t){return h(t)||d(n,t)}));t._applyQuote(e,r)}else t._removeQuote(e,i.filter(h))}))}},{key:"_getValue",value:function(){var t=this.editor.model.document.selection,e=Object(i.a)(t.getSelectedBlocks());return!(!e||!h(e))}},{key:"_checkEnabled",value:function(){if(this.value)return!0;var t=this.editor.model.document.selection,e=this.editor.model.schema,r=Object(i.a)(t.getSelectedBlocks());return!!r&&d(e,r)}},{key:"_removeQuote",value:function(t,e){p(t,e).reverse().forEach((function(e){if(e.start.isAtStart&&e.end.isAtEnd)t.unwrap(e.start.parent);else if(e.start.isAtStart){var r=t.createPositionBefore(e.start.parent);t.move(e,r)}else{e.end.isAtEnd||t.split(e.end);var n=t.createPositionAfter(e.end.parent);t.move(e,n)}}))}},{key:"_applyQuote",value:function(t,e){var r=[];p(t,e).reverse().forEach((function(e){var n=h(e.start);n||(n=t.createElement("blockQuote"),t.wrap(e,n)),r.push(n)})),r.reverse().reduce((function(e,r){return e.nextSibling==r?(t.merge(t.createPositionAfter(e)),e):r}))}}])&&s(r.prototype,n),o&&s(r,o),e}(o.a);function h(t){return"blockQuote"==t.parent.name?t.parent:null}function p(t,e){for(var r,n=0,o=[];n<e.length;){var i=e[n],a=e[n+1];r||(r=t.createPositionBefore(i)),a&&i.nextSibling==a||(o.push(t.createRange(r,t.createPositionAfter(i))),r=null),n++}return o}function d(t,e){var r=t.checkChild(e.parent,"blockQuote"),n=t.checkChild(["$root","blockQuote"],e);return r&&n}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function b(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var w=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,g(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"BlockQuoteEditing"}}],(n=[{key:"init",value:function(){var t=this.editor,e=t.model.schema;t.commands.add("blockQuote",new f(t)),e.register("blockQuote",{allowWhere:"$block",allowContentOf:"$root"}),e.addChildCheck((function(t,e){if(t.endsWith("blockQuote")&&"blockQuote"==e.name)return!1})),t.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),t.model.document.registerPostFixer((function(r){var n=t.model.document.differ.getChanges(),o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if("insert"==c.type){var l=c.position.nodeAfter;if(!l)continue;if(l.is("blockQuote")&&l.isEmpty)return r.remove(l),!0;if(l.is("blockQuote")&&!e.checkChild(c.position,l))return r.unwrap(l),!0;if(l.is("element")){var f=r.createRangeIn(l),h=!0,p=!1,d=void 0;try{for(var y,v=f.getItems()[Symbol.iterator]();!(h=(y=v.next()).done);h=!0){var b=y.value;if(b.is("blockQuote")&&!e.checkChild(r.createPositionBefore(b),b))return r.unwrap(b),!0}}catch(t){p=!0,d=t}finally{try{h||null==v.return||v.return()}finally{if(p)throw d}}}}else if("remove"==c.type){var g=c.position.parent;if(g.is("blockQuote")&&g.isEmpty)return r.remove(g),!0}}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return!1}))}},{key:"afterInit",value:function(){var t=this,e=this.editor.commands.get("blockQuote");this.listenTo(this.editor.editing.view.document,"enter",(function(r,n){var o=t.editor.model.document,i=o.selection.getLastPosition().parent;o.selection.isCollapsed&&i.isEmpty&&e.value&&(t.editor.execute("blockQuote"),t.editor.editing.view.scrollToTheSelection(),n.preventDefault(),r.stop())}))}}])&&v(r.prototype,n),o&&v(r,o),e}(n.a),k=r(627);r(1187);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function S(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var E=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,x(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(e,t),r=e,(n=[{key:"init",value:function(){var t=this,e=this.editor,r=e.t;e.ui.componentFactory.add("blockQuote",(function(n){var o=e.commands.get("blockQuote"),i=new k.a(n);return i.set({label:r("Block quote"),icon:'<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>',tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),t.listenTo(i,"execute",(function(){return e.execute("blockQuote")})),i}))}}])&&O(r.prototype,n),o&&O(r,o),e}(n.a);function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function C(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return D}));var D=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),C(this,j(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[w,E]}},{key:"pluginName",get:function(){return"BlockQuote"}}],(n=null)&&T(r.prototype,n),o&&T(r,o),e}(n.a)},1135:function(t,e,r){"use strict";var n=r(618),o=r(921);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,u(e).apply(this,arguments))}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,i=[{key:"pluginName",get:function(){return"BoldEditing"}}],(n=[{key:"init",value:function(){var t=this.editor;t.model.schema.extend("$text",{allowAttributes:"bold"}),t.model.schema.setAttributeProperties("bold",{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:"bold",view:"strong",upcastAlso:["b",function(t){var e=t.getStyle("font-weight");return e?"bold"==e||Number(e)>=600?{name:!0,styles:["font-weight"]}:void 0:null}]}),t.commands.add("bold",new o.a(t,"bold")),t.keystrokes.set("CTRL+B","bold")}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a),f=r(627);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var b=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,y(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(e,t),r=e,(n=[{key:"init",value:function(){var t=this,e=this.editor,r=e.t;e.ui.componentFactory.add("bold",(function(n){var o=e.commands.get("bold"),i=new f.a(n);return i.set({label:r("Bold"),icon:'<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>',keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),t.listenTo(i,"execute",(function(){return e.execute("bold")})),i}))}}])&&p(r.prototype,n),o&&p(r,o),e}(n.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return O}));var O=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),w(this,k(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[l,b]}},{key:"pluginName",get:function(){return"Bold"}}],(n=null)&&m(r.prototype,n),o&&m(r,o),e}(n.a)},1136:function(t,e,r){"use strict";var n=r(618),o=r(921);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,u(e).apply(this,arguments))}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,i=[{key:"pluginName",get:function(){return"ItalicEditing"}}],(n=[{key:"init",value:function(){var t=this.editor;t.model.schema.extend("$text",{allowAttributes:"italic"}),t.model.schema.setAttributeProperties("italic",{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:"italic",view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add("italic",new o.a(t,"italic")),t.keystrokes.set("CTRL+I","italic")}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a),f=r(627);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var b=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,y(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(e,t),r=e,(n=[{key:"init",value:function(){var t=this,e=this.editor,r=e.t;e.ui.componentFactory.add("italic",(function(n){var o=e.commands.get("italic"),i=new f.a(n);return i.set({label:r("Italic"),icon:'<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>',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),i.bind("isOn","isEnabled").to(o,"value","isEnabled"),t.listenTo(i,"execute",(function(){return e.execute("italic")})),i}))}}])&&p(r.prototype,n),o&&p(r,o),e}(n.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return O}));var O=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),w(this,k(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(e,t),r=e,o=[{key:"requires",get:function(){return[l,b]}},{key:"pluginName",get:function(){return"Italic"}}],(n=null)&&m(r.prototype,n),o&&m(r,o),e}(n.a)},1137:function(t,e,r){"use strict";var n=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},o=r(676),i=r(633),a="[object Arguments]";var s=function(t){return Object(i.a)(t)&&Object(o.a)(t)==a},u=Object.prototype,c=u.hasOwnProperty,l=u.propertyIsEnumerable,f=s(function(){return arguments}())?s:function(t){return Object(i.a)(t)&&c.call(t,"callee")&&!l.call(t,"callee")},h=r(679),p=r(802),d=r(895),y=r(1141),v=Object.prototype.hasOwnProperty;e.a=function(t,e){var r=Object(h.a)(t),o=!r&&f(t),i=!r&&!o&&Object(p.a)(t),a=!r&&!o&&!i&&Object(y.a)(t),s=r||o||i||a,u=s?n(t.length,String):[],c=u.length;for(var l in t)!e&&!v.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Object(d.a)(l,c))||u.push(l);return u}},1138:function(t,e,r){"use strict";var n=r(618),o=r(914),i=r(620),a=r(627),s=r(613),u=r(641),c=r(916),l=r(664),f='<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',h='<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';r(1167),r(1169);function p(t,e,r){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=b(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function m(t,e,r){return e&&g(t.prototype,e),r&&g(t,r),t}function w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return O}));var _=Object(c.a)("px"),O=function(t){function e(t){var r;return y(this,e),(r=v(this,b(e).call(this,t))).positionLimiter=function(){var t=r.editor.editing.view,e=t.document.selection.editableElement;return e?t.domConverter.mapViewToDom(e.root):null},r.set("visibleView",null),r.view=new o.a(t.locale),t.ui.view.body.add(r.view),t.ui.focusTracker.add(r.view.element),r._viewToStack=new Map,r._idToStack=new Map,r.set("_numberOfStacks",0),r.set("_singleViewMode",!1),r._rotatorView=r._createRotatorView(),r._fakePanelsView=r._createFakePanelsView(),r}return w(e,t),m(e,null,[{key:"pluginName",get:function(){return"ContextualBalloon"}}]),m(e,[{key:"hasView",value:function(t){return Array.from(this._viewToStack.keys()).includes(t)}},{key:"add",value:function(t){if(this.hasView(t.view))throw new s.b("contextualballoon-add-view-exist: Cannot add configuration of the same view twice.",[this,t]);var e=t.stackId||"main";if(!this._idToStack.has(e))return this._idToStack.set(e,new Map([[t.view,t]])),this._viewToStack.set(t.view,this._idToStack.get(e)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!t.singleViewMode||this.showStack(e));var r=this._idToStack.get(e);t.singleViewMode&&this.showStack(e),r.set(t.view,t),this._viewToStack.set(t.view,r),r===this._visibleStack&&this._showView(t)}},{key:"remove",value:function(t){if(!this.hasView(t))throw new s.b("contextualballoon-remove-view-not-exist: Cannot remove the configuration of a non-existent view.",[this,t]);var e=this._viewToStack.get(t);this._singleViewMode&&this.visibleView===t&&(this._singleViewMode=!1),this.visibleView===t&&(1===e.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(e.values())[e.size-2])),1===e.size?(this._idToStack.delete(this._getStackId(e)),this._numberOfStacks=this._idToStack.size):e.delete(t),this._viewToStack.delete(t)}},{key:"updatePosition",value:function(t){t&&(this._visibleStack.get(this.visibleView).position=t),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}},{key:"showStack",value:function(t){this.visibleStack=t;var e=this._idToStack.get(t);if(!e)throw new s.b("contextualballoon-showstack-stack-not-exist: Cannot show a stack that does not exist.",this);this._visibleStack!==e&&this._showView(Array.from(e.values()).pop())}},{key:"_getStackId",value:function(t){return Array.from(this._idToStack.entries()).find((function(e){return e[1]===t}))[0]}},{key:"_showNextStack",value:function(){var t=Array.from(this._idToStack.values()),e=t.indexOf(this._visibleStack)+1;t[e]||(e=0),this.showStack(this._getStackId(t[e]))}},{key:"_showPrevStack",value:function(){var t=Array.from(this._idToStack.values()),e=t.indexOf(this._visibleStack)-1;t[e]||(e=t.length-1),this.showStack(this._getStackId(t[e]))}},{key:"_createRotatorView",value:function(){var t=this,e=new S(this.editor.locale),r=this.editor.locale.t;return this.view.content.add(e),e.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(function(t,e){return!e&&t>1})),e.on("change:isNavigationVisible",(function(){return t.updatePosition()}),{priority:"low"}),e.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(function(e,n){if(n<2)return"";var o=Array.from(t._idToStack.values()).indexOf(t._visibleStack)+1;return r("%0 of %1",[o,n])})),e.buttonNextView.on("execute",(function(){e.focusTracker.isFocused&&t.editor.editing.view.focus(),t._showNextStack()})),e.buttonPrevView.on("execute",(function(){e.focusTracker.isFocused&&t.editor.editing.view.focus(),t._showPrevStack()})),e}},{key:"_createFakePanelsView",value:function(){var t=new x(this.editor.locale,this.view);return t.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(function(t,e){return!e&&t>=2?Math.min(t-1,2):0})),t.listenTo(this.view,"change:top",(function(){return t.updatePosition()})),t.listenTo(this.view,"change:left",(function(){return t.updatePosition()})),this.editor.ui.view.body.add(t),t}},{key:"_showView",value:function(t){var e=t.view,r=t.balloonClassName,n=void 0===r?"":r,o=t.withArrow,i=void 0===o||o,a=t.singleViewMode,s=void 0!==a&&a;this.view.class=n,this.view.withArrow=i,this._rotatorView.showView(e),this.visibleView=e,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),s&&(this._singleViewMode=!0)}},{key:"_getBalloonPosition",value:function(){var t=Array.from(this._visibleStack.values()).pop().position;return t&&!t.limiter&&(t=Object.assign({},t,{limiter:this.positionLimiter})),t}},{key:"_visibleStack",get:function(){return this._viewToStack.get(this.visibleView)}}]),e}(n.a),S=function(t){function e(t){var r;y(this,e),r=v(this,b(e).call(this,t));var n=t.t,o=r.bindTemplate;return r.set("isNavigationVisible",!0),r.focusTracker=new u.a,r.buttonPrevView=r._createButtonView(n("Previous"),f),r.buttonNextView=r._createButtonView(n("Next"),h),r.content=r.createCollection(),r.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",o.to("isNavigationVisible",(function(t){return t?"":"ck-hidden"}))]},children:[r.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:o.to("counter")}]},r.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:r.content}]}),r}return w(e,t),m(e,[{key:"render",value:function(){p(b(e.prototype),"render",this).call(this),this.focusTracker.add(this.element)}},{key:"showView",value:function(t){this.hideView(),this.content.add(t)}},{key:"hideView",value:function(){this.content.clear()}},{key:"_createButtonView",value:function(t,e){var r=new a.a(this.locale);return r.set({label:t,icon:e,tooltip:!0}),r}}]),e}(i.a),x=function(t){function e(t,r){var n;y(this,e);var o=(n=v(this,b(e).call(this,t))).bindTemplate;return n.set("top",0),n.set("left",0),n.set("height",0),n.set("width",0),n.set("numberOfPanels",0),n.content=n.createCollection(),n._balloonPanelView=r,n.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",o.to("numberOfPanels",(function(t){return t?"":"ck-hidden"}))],style:{top:o.to("top",_),left:o.to("left",_),width:o.to("width",_),height:o.to("height",_)}},children:n.content}),n.on("change:numberOfPanels",(function(t,e,r,o){r>o?n._addPanels(r-o):n._removePanels(o-r),n.updatePosition()})),n}return w(e,t),m(e,[{key:"_addPanels",value:function(t){for(;t--;){var e=new i.a;e.setTemplate({tag:"div"}),this.content.add(e),this.registerChild(e)}}},{key:"_removePanels",value:function(t){for(;t--;){var e=this.content.last;this.content.remove(e),this.deregisterChild(e),e.destroy()}}},{key:"updatePosition",value:function(){if(this.numberOfPanels){var t=this._balloonPanelView,e=t.top,r=t.left,n=new l.a(this._balloonPanelView.element),o=n.width,i=n.height;Object.assign(this,{top:e,left:r,width:o,height:i})}}}]),e}(i.a)},1139:function(t,e,r){"use strict";var n=r(630),o=r(920);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,u(e).apply(this,arguments))}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,(n=[{key:"refresh",value:function(){var t=this.editor.model,e=t.document,r=Object(o.a)(e.selection.getSelectedBlocks());this.value=!!r&&r.is("paragraph"),this.isEnabled=!!r&&f(r,t.schema)}},{key:"execute",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.editor.model,r=e.document;e.change((function(n){var o=(t.selection||r.selection).getSelectedBlocks(),i=!0,a=!1,s=void 0;try{for(var u,c=o[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;!l.is("paragraph")&&f(l,e.schema)&&n.rename(l,"paragraph")}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}}))}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a);function f(t,e){return e.checkChild(t.parent,"paragraph")&&!e.isObject(t)}var h=r(618);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function y(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return g}));var g=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,v(e).apply(this,arguments))}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(e,t),r=e,o=[{key:"pluginName",get:function(){return"Paragraph"}}],(n=[{key:"init",value:function(){var t=this,r=this.editor,n=r.model,o=r.data;r.commands.add("paragraph",new l(r)),n.schema.register("paragraph",{inheritAllFrom:"$block"}),r.conversion.elementToElement({model:"paragraph",view:"p"}),r.conversion.for("upcast").elementToElement({model:function(t,r){return e.paragraphLikeElements.has(t.name)?t.isEmpty?null:r.createElement("paragraph"):null},converterPriority:"low"}),o.upcastDispatcher.on("element",(function(t,e,r){r.consumable.test(e.viewItem,{name:e.viewItem.name})&&w(e.viewItem,e.modelCursor,r.schema)&&Object.assign(e,m(e.viewItem,e.modelCursor,r))}),{priority:"low"}),o.upcastDispatcher.on("text",(function(t,e,r){e.modelRange||w(e.viewItem,e.modelCursor,r.schema)&&Object.assign(e,m(e.viewItem,e.modelCursor,r))}),{priority:"lowest"}),n.document.registerPostFixer((function(e){return t._autoparagraphEmptyRoots(e)})),r.data.on("ready",(function(){n.enqueueChange("transparent",(function(e){return t._autoparagraphEmptyRoots(e)}))}),{priority:"lowest"})}},{key:"_autoparagraphEmptyRoots",value:function(t){var e=this.editor.model,r=!0,n=!1,o=void 0;try{for(var i,a=e.document.getRootNames()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=e.document.getRoot(s);if(u.isEmpty&&"$graveyard"!=u.rootName&&e.schema.checkChild(u,"paragraph"))return t.insertElement("paragraph",u),!0}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}}])&&d(r.prototype,n),o&&d(r,o),e}(h.a);function m(t,e,r){var n=r.writer.createElement("paragraph");return r.writer.insert(n,e),r.convertItem(t,r.writer.createPositionAt(n,0))}function w(t,e,r){var n=r.createContext(e);return!!r.checkChild(n,"paragraph")&&!!r.checkChild(n.push("paragraph"),t)}g.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td"])},1140:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,o;return e=t,(r=[{key:"getHtml",value:function(t){var e=document.implementation.createHTMLDocument("").createElement("div");return e.appendChild(t),e.innerHTML}}])&&n(e.prototype,r),o&&n(e,o),t}(),i=r(870);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(e,"a",(function(){return s}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._domParser=new DOMParser,this._domConverter=new i.a({blockFillerMode:"nbsp"}),this._htmlWriter=new o}var e,r,n;return e=t,(r=[{key:"toData",value:function(t){var e=this._domConverter.viewToDom(t,document);return this._htmlWriter.getHtml(e)}},{key:"toView",value:function(t){var e=this._toDom(t);return this._domConverter.domToView(e)}},{key:"_toDom",value:function(t){for(var e=this._domParser.parseFromString(t,"text/html"),r=e.createDocumentFragment(),n=e.body.childNodes;n.length>0;)r.appendChild(n[0]);return r}}])&&a(e.prototype,r),n&&a(e,n),t}()},1141:function(t,e,r){"use strict";var n=r(676),o=r(894),i=r(633),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(t){return Object(i.a)(t)&&Object(o.a)(t.length)&&!!a[Object(n.a)(t)]},u=r(807),c=r(806),l=c.a&&c.a.isTypedArray,f=l?Object(u.a)(l):s;e.a=f},1142:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var n=function(){return function t(){t.called=!0}};r.d(e,"a",(function(){return o}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var o=function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.source=e,this.name=r,this.path=[],this.stop=n(),this.off=n()}},1143:function(t,e,r){"use strict";var n=r(650),o=r(664);var i=r(908),a=r(888);function s(t,e){return function(t){if(Array.isArray(t))return t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(t){var e=t.element,r=t.target,u=t.positions,f=t.limiter,h=t.fitInViewport;Object(a.a)(r)&&(r=r()),Object(a.a)(f)&&(f=f());var p,d,y=
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function(t){for(;t&&"html"!=t.tagName.toLowerCase();){if("static"!=n.a.window.getComputedStyle(t).position)return t;t=t.parentElement}return null}(e.parentElement),v=new o.a(e),b=new o.a(r);if(f||h){var g=function(t,e,r,n,o){var i,a,u=0,l=0,f=r.getArea();return t.some((function(t){var h,p,d=s(c(t,e,r),2),y=d[0],v=d[1];if(n)if(o){var b=n.getIntersection(o);h=b?b.getIntersectionArea(v):0}else h=n.getIntersectionArea(v);function g(){l=p,u=h,i=v,a=y}return o&&(p=o.getIntersectionArea(v)),o&&!n?p>l&&g():!o&&n?h>u&&g():p>l&&h>=u?g():p>=l&&h>u&&g(),h===f})),i?[a,i]:null}(u,b,v,f&&new o.a(f).getVisible(),h&&new o.a(n.a.window))||c(u[0],b,v),m=s(g,2);d=m[0],p=m[1]}else{var w=s(c(u[0],b,v),2);d=w[0],p=w[1]}var k=l(p),_=k.left,O=k.top;if(y){var S=l(new o.a(y)),x=Object(i.a)(y);_-=S.left,O-=S.top,_+=y.scrollLeft,O+=y.scrollTop,_-=x.left,O-=x.top}return{left:_,top:O,name:d}}function c(t,e,r){var n=t(e,r),o=n.left,i=n.top;return[n.name,r.clone().moveTo(o,i)]}function l(t){var e=t.left,r=t.top,o=n.a.window;return{left:e+o.scrollX,top:r+o.scrollY}}r.d(e,"a",(function(){return u}))},1144:function(t,e,r){"use strict";var n=r(629),o=r(619),i=r(613),a=r(666),s=r(1132);var u=function(t,e){return Object(s.a)(t,e)};function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t,e,r){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return y}));var y=function(t){function e(t,r,n,o,i){var a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(a=f(this,p(e).call(this,i))).range=t.clone(),a.key=r,a.oldValue=void 0===n?null:n,a.newValue=void 0===o?null:o,a}var r,n,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),r=e,s=[{key:"fromJSON",value:function(t,r){return new e(o.a.fromJSON(t.range,r),t.key,t.oldValue,t.newValue,t.baseVersion)}},{key:"className",get:function(){return"AttributeOperation"}}],(n=[{key:"clone",value:function(){return new e(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}},{key:"getReversed",value:function(){return new e(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}},{key:"toJSON",value:function(){var t=h(p(e.prototype),"toJSON",this).call(this);return t.range=this.range.toJSON(),t}},{key:"_validate",value:function(){if(!this.range.isFlat)throw new i.b("attribute-operation-range-not-flat: The range to change is not flat.",this);var t=!0,e=!1,r=void 0;try{for(var n,o=this.range.getItems({shallow:!0})[Symbol.iterator]();!(t=(n=o.next()).done);t=!0){var a=n.value;if(null!==this.oldValue&&!u(a.getAttribute(this.key),this.oldValue))throw new i.b("attribute-operation-wrong-old-value: Changed node has different attribute value than operation's old attribute value.",this,{item:a,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&a.hasAttribute(this.key))throw new i.b("attribute-operation-attribute-exists: The attribute with given key already exists.",this,{node:a,key:this.key})}}catch(t){e=!0,r=t}finally{try{t||null==o.return||o.return()}finally{if(e)throw r}}}},{key:"_execute",value:function(){u(this.oldValue,this.newValue)||Object(a.e)(this.range,this.key,this.newValue)}},{key:"type",get:function(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}}])&&l(r.prototype,n),s&&l(r,s),e}(n.a)},1153:function(t,e,r){"use strict";var n=r(676),o=r(800),i=r(633),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);e.a=function(t){if(!Object(i.a)(t)||Object(n.a)(t)!=a)return!1;var e=Object(o.a)(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==f}},1154:function(t,e,r){"use strict";e.a=function(){return!1}},1155:function(t,e,r){"use strict";(function(t){var n=r(625),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}}).call(this,r(803)(t))},1156:function(t){t.exports=JSON.parse('{"a":"15.0.0"}')},1157:function(t,e,r){var n=r(1158);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("49cf92af",n,!0,{})},1158:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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:#47a4f5;--ck-color-focus-shadow:rgba(119,186,248,0.5);--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-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)}",""])},1159:function(t,e,r){var n=r(1160);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("e961c5cc",n,!0,{})},1160:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,':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))}',""])},1161:function(t,e,r){var n=r(1162);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("3db8afdb",n,!0,{})},1162:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1163:function(t,e,r){var n=r(1164);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("6ea32537",n,!0,{})},1164:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,'.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{position:absolute;pointer-events:none;-webkit-backface-visibility:hidden}.ck-tooltip{visibility:hidden;opacity:0;display:none;z-index:var(--ck-z-modal)}.ck-tooltip .ck-tooltip__text{display:inline-block}.ck-tooltip .ck-tooltip__text:after{content:"";width:0;height:0}:root{--ck-tooltip-arrow-size:5px}.ck.ck-tooltip{left:50%;top:0}.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)}.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{border-style:solid;left:50%}.ck.ck-tooltip,.ck.ck-tooltip .ck-tooltip__text:after{transition:opacity .2s ease-in-out .2s}',""])},1165:function(t,e,r){var n=r(1166);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("25cdf0e2",n,!0,{})},1166:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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_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 .ck-button__label,.ck.ck-button:focus:not(:hover) .ck-tooltip,a.ck.ck-button .ck-button__label,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;-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;border-color:transparent}.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-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-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 .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-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}",""])},1167:function(t,e,r){var n=r(1168);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("b3ce22a8",n,!0,{})},1168:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1169:function(t,e,r){var n=r(1170);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("0af22990",n,!0,{})},1170:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1171:function(t,e,r){var n=r(1172);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("7c56ffc3",n,!0,{})},1172:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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;will-change:transform}.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{transform:translate3d(0,100%,0)}.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-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 .ck-button.ck-dropdown__button .ck-button__label{width:7em;overflow:hidden;text-overflow:ellipsis}.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%}",""])},1173:function(t,e,r){var n=r(1174);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("2fbdc614",n,!0,{})},1174:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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;border: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:hover:not(ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.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)}",""])},1175:function(t,e,r){var n=r(1176);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("ffb7f93c",n,!0,{})},1176:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.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: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-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-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)))}",""])},1177:function(t,e,r){var n=r(1178);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("197ded3e",n,!0,{})},1178:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1179:function(t,e,r){var n=r(1180);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("0c227b83",n,!0,{})},1180:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1181:function(t,e,r){var n=r(1182);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("57c944a2",n,!0,{})},1182:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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=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)}.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)}",""])},1183:function(t,e,r){var n=r(1184);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("2d8ebdc2",n,!0,{})},1184:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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)}",""])},1185:function(t,e,r){var n=r(1186);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("7270ef13",n,!0,{})},1186:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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)}",""])},1187:function(t,e,r){var n=r(1188);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("6f145384",n,!0,{})},1188:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1189:function(t,e,r){var n=r(1190);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("18a53c78",n,!0,{})},1190:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}",""])},1191:function(t,e,r){var n=r(1192);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("4bf49288",n,!0,{})},1192:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}",""])},1193:function(t,e,r){var n=r(1194);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("ec814886",n,!0,{})},1194:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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)}",""])},1195:function(t,e,r){var n=r(1196);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("e553a92a",n,!0,{})},1196:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,":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-property:box-shadow,border;transition:.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)}}",""])},1197:function(t,e,r){var n=r(1198);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("95a60210",n,!0,{})},1198:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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}",""])},1199:function(t,e,r){var n=r(1200);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(615).default)("7206c15a",n,!0,{})},1200:function(t,e,r){(t.exports=r(614)(!1)).push([t.i,".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.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 .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: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)}}",""])},1201:function(t,e,r){var n=r(1202),o=r(923),i=r(708),a=r(934),s=r(1234),u=["style","script"];function c(t,e,r){var n=null,o=a.splitCssSearchTag(r);return function t(e){n||e.forEach((function(e){if(!n){if(e.name===o.element){var r=e.attribs&&e.attribs.class?e.attribs.class.split(" "):[],i=e.attribs&&e.attribs.id?e.attribs.id.split(" "):[];if(o.classes.every((function(t){return r.indexOf(t)>=0}))&&o.ids.every((function(t){return i.indexOf(t)>=0})))return void(n=[e])}e.children&&t(e.children)}}))}(t),e.returnDomByDefault?n||t:n}function l(t,e,r){arguments.length<3&&(r="");var o=/\s$/,i=Object.assign({},s,e.format);return t?(t.forEach((function(t){switch(t.type){case"tag":switch(t.name.toLowerCase()){case"img":r+=i.image(t,e);break;case"a":t.trimLeadingSpace=o.test(r),r+=i.anchor(t,l,e);break;case"p":r+=i.paragraph(t,l,e);break;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":r+=i.heading(t,l,e);break;case"br":r+=i.lineBreak(t,l,e);break;case"hr":r+=i.horizontalLine(t,l,e);break;case"ul":r+=i.unorderedList(t,l,e);break;case"ol":r+=i.orderedList(t,l,e);break;case"pre":var a=Object.assign({},e);a.isInPre=!0,r+=i.paragraph(t,l,a);break;case"table":r=function(t,e){if(!0===e)return!0;function r(t){return t.substr(1)}function o(t,e){return t.filter(function(t){return function(e){return e.startsWith(t)}}(e)).map(r)}var i=o(e,"."),a=o(e,"#");return t&&(n(i,t.class)||n(a,t.id))}(t.attribs,e.tables)?r+i.table(t,l,e):l(t.children||[],e,r);break;case"blockquote":r+=i.blockquote(t,l,e);break;default:r=l(t.children||[],e,r)}break;case"text":"\r\n"!==t.data&&(t.trimLeadingSpace=o.test(r),r+=i.text(t,e));break;default:n(u,t.type)||(r=l(t.children||[],e,r))}e.lineCharCount=r.length-(r.lastIndexOf("\n")+1)})),r):r}e.fromString=function(t,e){return function(t,e){e=Object.assign({wordwrap:80,tables:[],preserveNewlines:!1,uppercaseHeadings:!0,singleNewLineParagraphs:!1,hideLinkHrefIfSameAsText:!1,linkHrefBaseUrl:null,noLinkBrackets:!1,noAnchorUrl:!0,baseElement:"body",returnDomByDefault:!0,format:{},decodeOptions:{isAttributeValue:!1,strict:!1},longWordSplit:{wrapCharacters:[],forceWrapOnLimit:!1},unorderedListItemPrefix:" * "},e||{});var r=new i.DefaultHandler((function(t,e){}),{verbose:!0});new i.Parser(r).parseComplete(t),e.lineCharCount=0;for(var n="",a=Array.isArray(e.baseElement)?e.baseElement:[e.baseElement],s=0;s<a.length;++s)n+=l(c(r.dom,e,a[s]),e);return o(n)}(t,e||{})}},1202:function(t,e,r){var n=r(303),o=r(34),i=r(1203),a=r(59),s=r(1204),u=Math.max;t.exports=function(t,e,r,c){t=o(t)?t:s(t),r=r&&!c?a(r):0;var l=t.length;return r<0&&(r=u(l+r,0)),i(t)?r<=l&&t.indexOf(e,r)>-1:!!l&&n(t,e,r)>-1}},1203:function(t,e,r){var n=r(28),o=r(3),i=r(11),a="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&n(t)==a}},1204:function(t,e,r){var n=r(1205),o=r(39);t.exports=function(t){return null==t?[]:n(t,o(t))}},1205:function(t,e,r){var n=r(60);t.exports=function(t,e){return n(e,(function(e){return t[e]}))}},1206:function(t,e,r){var n=r(303);t.exports=function(t,e){for(var r=t.length;r--&&n(e,t[r],0)>-1;);return r}},1207:function(t,e){t.exports=function(t){return t.split("")}},1208:function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+n+"?",n,a,s,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");t.exports=function(t){return t.match(f)||[]}},1209:function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},1210:function(t,e,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var o,i,a,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),i=t._events),a=i[e]),void 0===a)a=i[e]=r,++t._eventsCount;else if("function"==typeof a?a=i[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(t))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return t}function f(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,t))}function h(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=f.bind(n);return o.listener=r,n.wrapFn=o,o}function p(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(o):y(o,o.length)}function d(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");u=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)i(u,this,e);else{var c=u.length,l=y(u,c);for(r=0;r<c;++r)i(l[r],this,e)}return!0},s.prototype.addListener=function(t,e){return l(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return l(this,t,e,!0)},s.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.on(t,h(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.prependListener(t,h(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,i,a;if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);if(void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===e||r[i].listener===e){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},1211:function(t,e,r){var n=r(929),o=t.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(t){var e=i[t];Object.defineProperty(o,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},1212:function(t,e,r){var n=r(928),o=r(930);function i(t,e){this.init(t,e)}function a(t,e){return o.getElementsByTagName(t,e,!0)}function s(t,e){return o.getElementsByTagName(t,e,!0,1)[0]}function u(t,e,r){return o.getText(o.getElementsByTagName(t,e,r,1)).trim()}function c(t,e,r,n,o){var i=u(r,n,o);i&&(t[e]=i)}r(709)(i,n),i.prototype.init=n;var l=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};i.prototype.onend=function(){var t,e,r={},o=s(l,this.dom);o&&("feed"===o.name?(e=o.children,r.type="atom",c(r,"id","id",e),c(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),c(r,"description","subtitle",e),(t=u("updated",e))&&(r.updated=new Date(t)),c(r,"author","email",e,!0),r.items=a("entry",e).map((function(t){var e,r={};return c(r,"id","id",t=t.children),c(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=u("summary",t)||u("content",t))&&(r.description=e),(e=u("updated",t))&&(r.pubDate=new Date(e)),r}))):(e=s("channel",o.children).children,r.type=o.name.substr(0,3),r.id="",c(r,"title","title",e),c(r,"link","link",e),c(r,"description","description",e),(t=u("lastBuildDate",e))&&(r.updated=new Date(t)),c(r,"author","managingEditor",e,!0),r.items=a("item",o.children).map((function(t){var e,r={};return c(r,"id","guid",t=t.children),c(r,"title","title",t),c(r,"link","link",t),c(r,"description","description",t),(e=u("pubDate",t))&&(r.pubDate=new Date(e)),r})))),this.dom=r,n.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},t.exports=i},1213:function(t,e,r){var n=r(668),o=r(1214),i=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return o(t,e)})).join(""):""},getOuterHTML:o,getText:function t(e){if(Array.isArray(e))return e.map(t).join("");if(i(e))return"br"===e.name?"\n":t(e.children);if(e.type===n.CDATA)return t(e.children);if(e.type===n.Text)return e.data;return""}}},1214:function(t,e,r){var n=r(668),o=r(1215),i={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",o=0;o<t.length;o++){var i=t[o];"root"===i.type?r+=s(i.children,e):n.isTag(i)?r+=u(i,e):i.type===n.Directive?r+=c(i):i.type===n.Comment?r+=h(i):i.type===n.CDATA?r+=f(i):r+=l(i,e)}return r};function u(t,e){"svg"===t.name&&(e={decodeEntities:e.decodeEntities,xmlMode:!0});var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var i in t)n&&(n+=" "),n+=i,(null!==(r=t[i])&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?o.encodeXML(r):r)+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=s(t.children,e)),a[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}function c(t){return"<"+t.data+">"}function l(t,e){var r=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in i||(r=o.encodeXML(r)),r}function f(t){return"<![CDATA["+t.children[0].data+"]]>"}function h(t){return"\x3c!--"+t.data+"--\x3e"}},1215:function(t,e,r){var n=r(1216),o=r(1217);e.decode=function(t,e){return(!e||e<=0?o.XML:o.HTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?o.XML:o.HTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?n.XML:n.HTML)(t)},e.encodeXML=n.XML,e.encodeHTML4=e.encodeHTML5=e.encodeHTML=n.HTML,e.decodeXML=e.decodeXMLStrict=o.XML,e.decodeHTML4=e.decodeHTML5=e.decodeHTML=o.HTML,e.decodeHTML4Strict=e.decodeHTML5Strict=e.decodeHTMLStrict=o.HTMLStrict,e.escape=n.escape},1216:function(t,e,r){var n=s(r(823)),o=u(n);e.XML=p(n,o);var i=s(r(822)),a=u(i);function s(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function u(t){var e=[],r=[];return Object.keys(t).forEach((function(t){1===t.length?e.push("\\"+t):r.push(t)})),r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.HTML=p(i,a);var c=/[^\0-\x7F]/g,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}function h(t){return"&#x"+(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function p(t,e){function r(e){return t[e]}return function(t){return t.replace(e,r).replace(l,h).replace(c,f)}}var d=u(n);e.escape=function(t){return t.replace(d,f).replace(l,h).replace(c,f)}},1217:function(t,e,r){var n=r(822),o=r(927),i=r(823),a=r(926),s=c(i),u=c(n);function c(t){var e=Object.keys(t).join("|"),r=h(t),n=new RegExp("&(?:"+(e+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(t){return String(t).replace(n,r)}}var l=function(){for(var t=Object.keys(o).sort(f),e=Object.keys(n).sort(f),r=0,i=0;r<e.length;r++)t[i]===e[r]?(e[r]+=";?",i++):e[r]+=";";var a=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=h(n);function u(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(a,u)}}();function f(t,e){return t<e?1:-1}function h(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?a(parseInt(e.substr(3),16)):a(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}t.exports={XML:s,HTML:l,HTMLStrict:u}},1218:function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},1219:function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var o=e.parent=t.parent;if(o){var i=o.children;i[i.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var r=t.children[t.children.length-2];r.next=e,e.prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var o=r.children;o.splice(o.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},1220:function(t,e,r){var n=r(668).isTag;function o(t,e,r,n){for(var i,a=[],s=0,u=e.length;s<u&&!(t(e[s])&&(a.push(e[s]),--n<=0))&&(i=e[s].children,!(r&&i&&i.length>0&&(i=o(t,i,r,n),a=a.concat(i),(n-=i.length)<=0)));s++);return a}t.exports={filter:function(t,e,r,n){Array.isArray(e)||(e=[e]);"number"==typeof n&&isFinite(n)||(n=1/0);return o(t,e,!1!==r,n)},find:o,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){var o=null;for(var i=0,a=r.length;i<a&&!o;i++)n(r[i])&&(e(r[i])?o=r[i]:r[i].children.length>0&&(o=t(e,r[i].children)));return o},existsOne:function t(e,r){for(var o=0,i=r.length;o<i;o++)if(n(r[o])&&(e(r[o])||r[o].children.length>0&&t(e,r[o].children)))return!0;return!1},findAll:function(t,e){var r=[],o=e.slice();for(;o.length;){var i=o.shift();n(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),t(i)&&r.push(i))}return r}}},1221:function(t,e,r){var n=r(668),o=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){if("tag_name"===r){if(!o(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(o(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1}else;return!0};var i={tag_name:function(t){return"function"==typeof t?function(e){return o(e)&&t(e.name)}:"*"===t?o:function(e){return o(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"==typeof t?function(e){return!o(e)&&t(e.data)}:function(e){return!o(e)&&e.data===t}}};function a(t,e){return"function"==typeof e?function(r){return r.attribs&&e(r.attribs[t])}:function(r){return r.attribs&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}e.getElements=function(t,e,r,n){var o=Object.keys(t).map((function(e){var r=t[e];return e in i?i[e](r):a(e,r)}));return 0===o.length?[]:this.filter(o.reduce(s),e,r,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(a("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(i.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(i.tag_type(t),e,r,n)}},1222:function(t,e){e.removeSubsets=function(t){for(var e,r,n,o=t.length;--o>-1;){for(e=r=t[o],t[o]=null,n=!0;r;){if(t.indexOf(r)>-1){n=!1,t.splice(o,1);break}r=r.parent}n&&(t[o]=e)}return t};var r=1,n=2,o=4,i=8,a=16,s=e.compareDocumentPosition=function(t,e){var s,u,c,l,f,h,p=[],d=[];if(t===e)return 0;for(s=t;s;)p.unshift(s),s=s.parent;for(s=e;s;)d.unshift(s),s=s.parent;for(h=0;p[h]===d[h];)h++;return 0===h?r:(c=(u=p[h-1]).children,l=p[h],f=d[h],c.indexOf(l)>c.indexOf(f)?u===e?o|a:o:u===t?n|i:n)};e.uniqueSort=function(t){var e,r,i=t.length;for(t=t.slice();--i>-1;)e=t[i],(r=t.indexOf(e))>-1&&r<i&&t.splice(i,1);return t.sort((function(t,e){var r=s(t,e);return r&n?-1:r&o?1:0})),t}},1223:function(t,e,r){t.exports=o;var n=r(931);function o(t){n.call(this,new i(this),t)}function i(t){this.scope=t}r(709)(o,n),o.prototype.readable=!0;var a=r(708).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])i.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===a[t])i.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==a[t])throw Error("wrong number of arguments!");i.prototype["on"+t]=function(e,r){this.scope.emit(t,e,r)}}}))},1224:function(t,e,r){"use strict";var n=r(1225).Buffer,o=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===o||!o(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=f,e=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},i.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},i.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var o=a(e[n]);if(o>=0)return o>0&&(t.lastNeed=o-1),o;if(--n<r||-2===o)return 0;if((o=a(e[n]))>=0)return o>0&&(t.lastNeed=o-2),o;if(--n<r||-2===o)return 0;if((o=a(e[n]))>=0)return o>0&&(2===o?o=0:t.lastNeed=o-3),o;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},i.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},1225:function(t,e,r){var n=r(933),o=n.Buffer;function i(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a),i(o,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},1226:function(t,e,r){"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=c(t),a=n[0],s=n[1],u=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,u[l++]=255&e);1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i=[],a=0,s=r-o;a<s;a+=16383)i.push(l(t,a,a+16383>s?s:a+16383));1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,r){for(var o,i,a=[],s=e;s<r;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},1227:function(t,e){e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,h=r?-1:1,p=t[e+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=s;l>0;i=256*i+t[e+f],f+=h,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,o),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&s,p+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[r+p]=255&a,p+=d,a/=256,c-=8);t[r+p-d]|=128*y}},1228:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},1229:function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var o=r(708).EVENTS;Object.keys(o).forEach((function(t){if(0===o[t])t="on"+t,n.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===o[t])t="on"+t,n.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==o[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this._cbs[t]&&this._cbs[t](e,r)}}}))},1230:function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var o=r(708).EVENTS;Object.keys(o).forEach((function(t){if(0===o[t])t="on"+t,n.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===o[t])t="on"+t,n.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==o[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this.events.push([t,e,r]),this._cbs[t]&&this._cbs[t](e,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},1231:function(t,e,r){var n=r(314)(r(1232));t.exports=n},1232:function(t,e,r){var n=r(308),o=r(60),i=r(306),a=r(305),s=r(1233),u=Math.max;t.exports=function(t){if(!t||!t.length)return[];var e=0;return t=n(t,(function(t){if(s(t))return e=u(t.length,e),!0})),a(e,(function(e){return o(t,i(e))}))}},1233:function(t,e,r){var n=r(34),o=r(11);t.exports=function(t){return o(t)&&n(t)}},1234:function(t,e,r){var n=r(1235),o=r(1238),i=r(1239),a=r(935),s=r(1242),u=r(1247),c=r(934);function l(t,e){var r=t.data||"";return r=u.decode(r,e.decodeOptions),e.isInPre?r:c.wordwrap(t.trimLeadingSpace?a(r):r,e)}function f(t,e,r){var n=e(t.children,r);return r.uppercaseHeadings&&(n=n.toUpperCase()),n+"\n"}function h(t,e,r,n){(n=Object.assign({},n)).wordwrap&&(n.wordwrap-=t.length);var o=r(e.children,n);return t+(o=o.replace(/\n/g,"\n"+" ".repeat(t.length)))+"\n"}var p=/^\s*$/;e.text=l,e.image=function(t,e){if(e.ignoreImage)return"";var r="",n=t.attribs||{};return n.alt&&(r+=u.decode(n.alt,e.decodeOptions),n.src&&(r+=" ")),n.src&&(r+="["+n.src+"]"),r},e.lineBreak=function(t,e,r){return"\n"+e(t.children,r)},e.paragraph=function(t,e,r){var n=e(t.children,r);return r.singleNewLineParagraphs?n+"\n":n+"\n\n"},e.anchor=function(t,e,r){var n="",o=r.lineCharCount,i=e(t.children||[],r);i||(i="");var s=t.trimLeadingSpace?a(i):i;return r.ignoreHref||(t.attribs&&t.attribs.href&&(n=t.attribs.href.replace(/^mailto:/,"")),n&&(!r.noAnchorUrl||r.noAnchorUrl&&"#"!==n[0])&&(r.linkHrefBaseUrl&&0===n.indexOf("/")&&(n=r.linkHrefBaseUrl+n),r.hideLinkHrefIfSameAsText&&n===c.replaceAll(s,"\n","")||(r.noLinkBrackets?s+=" "+n:s+=" ["+n+"]"))),r.lineCharCount=o,l({data:s||n,trimLeadingSpace:t.trimLeadingSpace},r)},e.heading=f,e.table=function(t,e,r){var a=[];return t.children.forEach((function t(n){if("tag"!==n.type)return;switch(n.name.toLowerCase()){case"thead":case"tbody":case"tfoot":case"center":return void n.children.forEach(t);case"tr":var s=[];n.children.forEach((function(t){var n,a;if("tag"===t.type)switch(t.name.toLowerCase()){case"th":n=f(t,e,r).split("\n"),s.push(o(n));break;case"td":n=e(t.children,r).split("\n"),s.push(o(n)),t.attribs&&t.attribs.colspan&&(a=t.attribs.colspan-1||0,i(a,(function(){s.push([""])})))}})),(s=c.arrayZip(s)).forEach((function(t){t=t.map((function(t){return t||""})),a.push(t)}))}})),function(t){var e=t.map((function(t){return t.map((function(t){return t.length}))}));e=(e=c.arrayZip(e)).map((function(t){return n(t)}));var r="";return t.forEach((function(t){var n=0;t.forEach((function(t){r+=s(t.trim(),e[n++]," ")+"   "})),r+="\n"})),r+"\n"}(a)},e.orderedList=function(t,e,r){var n="",o=(t.children||[]).filter((function(t){return"text"!==t.type||!p.test(t.data)})),i=function(){switch(t.attribs.type||"1"){case"a":return function(t,e){return String.fromCharCode(e+t+97)};case"A":return function(t,e){return String.fromCharCode(e+t+65)};case"1":default:return function(t,e){return e+1+t}}}();if(o.length){var a=Number(t.attribs.start||"1")-1,s=(o.length+a).toString().length;o.forEach((function(t,o){var u=i(a,o),c=s-u.toString().length,l=" "+u+". "+" ".repeat(c);n+=h(l,t,e,r)}))}return n+"\n"},e.unorderedList=function(t,e,r){var n="",o=r.unorderedListItemPrefix;return(t.children||[]).filter((function(t){return"text"!==t.type||!p.test(t.data)})).forEach((function(t){n+=h(o,t,e,r)})),n+"\n"},e.listItem=h,e.horizontalLine=function(t,e,r){return"\n"+"-".repeat(r.wordwrap)+"\n\n"},e.blockquote=function(t,e,r){return"> "+e(t.children,r)+"\n"}},1235:function(t,e,r){var n=r(1236),o=r(1237),i=r(33);t.exports=function(t){return t&&t.length?n(t,i,o):void 0}},1236:function(t,e,r){var n=r(35);t.exports=function(t,e,r){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=e(a);if(null!=s&&(void 0===u?s==s&&!n(s):r(s,u)))var u=s,c=a}return c}},1237:function(t,e){t.exports=function(t,e){return t>e}},1238:function(t,e){t.exports=function(t){for(var e=-1,r=null==t?0:t.length,n=0,o=[];++e<r;){var i=t[e];i&&(o[n++]=i)}return o}},1239:function(t,e,r){var n=r(305),o=r(1240),i=r(59),a=9007199254740991,s=4294967295,u=Math.min;t.exports=function(t,e){if((t=i(t))<1||t>a)return[];var r=s,c=u(t,s);e=o(e),t-=s;for(var l=n(c,e);++r<t;)e(r);return l}},1240:function(t,e,r){var n=r(33);t.exports=function(t){return"function"==typeof t?t:n}},1241:function(t,e,r){var n=r(303);t.exports=function(t,e){for(var r=-1,o=t.length;++r<o&&n(e,t[r],0)>-1;);return r}},1242:function(t,e,r){var n=r(1243),o=r(936),i=r(59),a=r(151);t.exports=function(t,e,r){t=a(t);var s=(e=i(e))?o(t):0;return e&&s<e?t+n(e-s,r):t}},1243:function(t,e,r){var n=r(1244),o=r(304),i=r(819),a=r(821),s=r(936),u=r(820),c=Math.ceil;t.exports=function(t,e){var r=(e=void 0===e?" ":o(e)).length;if(r<2)return r?n(e,t):e;var l=n(e,c(t/s(e)));return a(e)?i(u(l),0,t).join(""):l.slice(0,t)}},1244:function(t,e){var r=9007199254740991,n=Math.floor;t.exports=function(t,e){var o="";if(!t||e<1||e>r)return o;do{e%2&&(o+=t),(e=n(e/2))&&(t+=t)}while(e);return o}},1245:function(t,e,r){var n=r(306)("length");t.exports=n},1246:function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+n+"?",n,a,s,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");t.exports=function(t){for(var e=f.lastIndex=0;f.test(t);)++e;return e}},1247:function(t,e,r){(function(t,n){var o;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */!function(i){var a=e,s=(t&&t.exports,"object"==typeof n&&n);s.global!==s&&s.window;var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,h={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ﬀ":"fflig","ﬃ":"ffilig","ﬄ":"ffllig","ﬁ":"filig",fj:"fjlig","ﬂ":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ĳ":"ijlig","Ĳ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ŉ":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},y=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,v=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,b=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",Ffr:"𝔉",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ĳ",IJlig:"Ĳ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},m={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},k=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],_=String.fromCharCode,O={}.hasOwnProperty,S=function(t,e){return O.call(t,e)},x=function(t,e){if(!t)return e;var r,n={};for(r in e)n[r]=S(t,r)?t[r]:e[r];return n},P=function(t,e){var r="";return t>=55296&&t<=57343||t>1114111?(e&&T("character reference outside the permissible Unicode range"),"�"):S(w,t)?(e&&T("disallowed character reference"),w[t]):(e&&function(t,e){for(var r=-1,n=t.length;++r<n;)if(t[r]==e)return!0;return!1}(k,t)&&T("disallowed character reference"),t>65535&&(r+=_((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=_(t))},E=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},A=function(t){return"&#"+t+";"},T=function(t){throw Error("Parse error: "+t)},C=function(t,e){(e=x(e,C.options)).strict&&v.test(t)&&T("forbidden code point");var r=e.encodeEverything,n=e.useNamedReferences,o=e.allowUnsafeSymbols,i=e.decimal?A:E,a=function(t){return i(t.charCodeAt(0))};return r?(t=t.replace(c,(function(t){return n&&S(h,t)?"&"+h[t]+";":a(t)})),n&&(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(t=t.replace(f,(function(t){return"&"+h[t]+";"})))):n?(o||(t=t.replace(p,(function(t){return"&"+h[t]+";"}))),t=(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(f,(function(t){return"&"+h[t]+";"}))):o||(t=t.replace(p,a)),t.replace(u,(function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return i(1024*(e-55296)+r-56320+65536)})).replace(l,a)};C.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var j=function(t,e){var r=(e=x(e,j.options)).strict;return r&&y.test(t)&&T("malformed character reference"),t.replace(b,(function(t,n,o,i,a,s,u,c,l){var f,h,p,d,y,v;return n?g[y=n]:o?(y=o,(v=i)&&e.isAttributeValue?(r&&"="==v&&T("`&` did not start a character reference"),t):(r&&T("named character reference was not terminated by a semicolon"),m[y]+(v||""))):a?(p=a,h=s,r&&!h&&T("character reference was not terminated by a semicolon"),f=parseInt(p,10),P(f,r)):u?(d=u,h=c,r&&!h&&T("character reference was not terminated by a semicolon"),f=parseInt(d,16),P(f,r)):(r&&T("named character reference was not terminated by a semicolon"),t)}))};j.options={isAttributeValue:!1,strict:!1};var R={version:"1.2.0",encode:C,decode:j,escape:function(t){return t.replace(p,(function(t){return d[t]}))},unescape:j};void 0===(o=function(){return R}.call(e,r,e,t))||(t.exports=o)}()}).call(this,r(94)(t),r(7))},1483:function(t,e,r){"use strict";var n=r(867),o=1,i=4;e.a=function(t,e){return e="function"==typeof e?e:void 0,Object(n.a)(t,o|i,e)}},1484:function(t,e,r){"use strict";var n=r(633),o=r(1153);e.a=function(t){return Object(n.a)(t)&&1===t.nodeType&&!Object(o.a)(t)}},1485:function(t,e,r){"use strict";var n=r(867),o=4;e.a=function(t){return Object(n.a)(t,o)}},1488:function(t,e,r){"use strict";var n=r(680);var o=function(t){return t};var i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)},a=Math.max;var s=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,s=a(n.length-e,0),u=Array(s);++o<s;)u[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=r(u),i(t,this,c)}};var u=function(t){return function(){return t}},c=r(890),l=c.a?function(t,e){return Object(c.a)(t,"toString",{configurable:!0,enumerable:!1,value:u(e),writable:!0})}:o,f=800,h=16,p=Date.now;var d=function(t){var e=0,r=0;return function(){var n=p(),o=h-(n-r);if(r=n,o>0){if(++e>=f)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(l);var y=function(t,e){return d(s(t,e,o),t+"")},v=r(701),b=r(805),g=r(895),m=r(638);var w=function(t,e,r){if(!Object(m.a)(r))return!1;var n=typeof e;return!!("number"==n?Object(b.a)(r)&&Object(g.a)(e,r.length):"string"==n&&e in r)&&Object(v.a)(r[e],t)};var k=function(t){return y((function(e,r){var n=-1,o=r.length,i=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&w(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var s=r[n];s&&t(e,s,n,i)}return e}))},_=r(871),O=k((function(t,e){Object(n.a)(e,Object(_.a)(e),t)}));e.a=O},613:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t){var e="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return s(t,arguments,c(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,t)})(t)}function s(t,e,r){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&u(o,r.prototype),o}).apply(null,arguments)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"b",(function(){return f})),r.d(e,"a",(function(){return h}));var l="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html",f=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=h(t),n&&(t+=" "+JSON.stringify(n)),(o=i(this,c(e).call(this,t))).name="CKEditorError",o.context=r,o.data=n,o}var r,n,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),r=e,a=[{key:"rethrowUnexpectedError",value:function(t,r){if(t.is&&t.is("CKEditorError"))throw t;throw new e("unexpected-error",r,{originalError:{message:t.message,stack:t.stack,name:t.name}})}}],(n=[{key:"is",value:function(t){return"CKEditorError"===t}}])&&o(r.prototype,n),a&&o(r,a),e}(a(Error));function h(t){var e=t.match(/^([^:]+):/);return e?t+" Read more: ".concat(l,"#error-").concat(e[1],"\n"):t}},616:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];r.forEach((function(e){Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)).forEach((function(r){if(!(r in t.prototype)){var n=Object.getOwnPropertyDescriptor(e,r);n.enumerable=!1,Object.defineProperty(t.prototype,r,n)}}))}))}r.d(e,"a",(function(){return n}))},618:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(623),o=r(616);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.editor=e}var e,r,n;return e=t,(r=[{key:"destroy",value:function(){this.stopListening()}}])&&i(e.prototype,r),n&&i(e,n),t}();Object(o.a)(a,n.a)},619:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(622),o=r(703),i=r(613),a=r(648);function s(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.start=n.a._createAt(e),this.end=r?n.a._createAt(r):n.a._createAt(e),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}var e,r,c;return e=t,r=[{key:Symbol.iterator,value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(new o.a({boundaries:this,ignoreElementEnd:!0}),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"containsPosition",value:function(t){return t.isAfter(this.start)&&t.isBefore(this.end)}},{key:"containsRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.isCollapsed&&(e=!1);var r=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),n=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return r&&n}},{key:"containsItem",value:function(t){var e=n.a._createBefore(t);return this.containsPosition(e)||this.start.isEqual(e)}},{key:"is",value:function(t){return"range"==t||"model:range"==t}},{key:"isEqual",value:function(t){return this.start.isEqual(t.start)&&this.end.isEqual(t.end)}},{key:"isIntersecting",value:function(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}},{key:"getDifference",value:function(e){var r=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&r.push(new t(this.start,e.start)),this.containsPosition(e.end)&&r.push(new t(e.end,this.end))):r.push(new t(this.start,this.end)),r}},{key:"getIntersection",value:function(e){if(this.isIntersecting(e)){var r=this.start,n=this.end;return this.containsPosition(e.start)&&(r=e.start),this.containsPosition(e.end)&&(n=e.end),new t(r,n)}return null}},{key:"getMinimalFlatRanges",value:function(){for(var e=[],r=this.start.getCommonPath(this.end).length,o=n.a._createAt(this.start),i=o.parent;o.path.length>r+1;){var a=i.maxOffset-o.offset;0!==a&&e.push(new t(o,o.getShiftedBy(a))),o.path=o.path.slice(0,-1),o.offset++,i=i.parent}for(;o.path.length<=this.end.path.length;){var s=this.end.path[o.path.length-1],u=s-o.offset;0!==u&&e.push(new t(o,o.getShiftedBy(u))),o.offset=s,o.path.push(0)}return e}},{key:"getWalker",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.boundaries=this,new o.a(t)}},{key:"getItems",value:regeneratorRuntime.mark((function t(){var e,r,n,i,a,s,u,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=l.length>0&&void 0!==l[0]?l[0]:{}).boundaries=this,e.ignoreElementEnd=!0,r=new o.a(e),n=!0,i=!1,a=void 0,t.prev=7,s=r[Symbol.iterator]();case 9:if(n=(u=s.next()).done){t.next=16;break}return c=u.value,t.next=13,c.item;case 13:n=!0,t.next=9;break;case 16:t.next=22;break;case 18:t.prev=18,t.t0=t.catch(7),i=!0,a=t.t0;case 22:t.prev=22,t.prev=23,n||null==s.return||s.return();case 25:if(t.prev=25,!i){t.next=28;break}throw a;case 28:return t.finish(25);case 29:return t.finish(22);case 30:case"end":return t.stop()}}),t,this,[[7,18,22,30],[23,,25,29]])}))},{key:"getPositions",value:regeneratorRuntime.mark((function t(){var e,r,n,i,a,s,u,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=l.length>0&&void 0!==l[0]?l[0]:{}).boundaries=this,r=new o.a(e),t.next=5,r.position;case 5:n=!0,i=!1,a=void 0,t.prev=8,s=r[Symbol.iterator]();case 10:if(n=(u=s.next()).done){t.next=17;break}return c=u.value,t.next=14,c.nextPosition;case 14:n=!0,t.next=10;break;case 17:t.next=23;break;case 19:t.prev=19,t.t0=t.catch(8),i=!0,a=t.t0;case 23:t.prev=23,t.prev=24,n||null==s.return||s.return();case 26:if(t.prev=26,!i){t.next=29;break}throw a;case 29:return t.finish(26);case 30:return t.finish(23);case 31:case"end":return t.stop()}}),t,this,[[8,19,23,31],[24,,26,30]])}))},{key:"getTransformedByOperation",value:function(e){switch(e.type){case"insert":return this._getTransformedByInsertOperation(e);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(e);case"split":return[this._getTransformedBySplitOperation(e)];case"merge":return[this._getTransformedByMergeOperation(e)]}return[new t(this.start,this.end)]}},{key:"getTransformedByOperations",value:function(e){var r=[new t(this.start,this.end)],n=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done);n=!0)for(var c=a.value,l=0;l<r.length;l++){var f=r[l].getTransformedByOperation(c);r.splice.apply(r,[l,1].concat(s(f))),l+=f.length-1}}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}for(var h=0;h<r.length;h++)for(var p=r[h],d=h+1;d<r.length;d++){var y=r[d];(p.containsRange(y)||y.containsRange(p)||p.isEqual(y))&&r.splice(d,1)}return r}},{key:"getCommonAncestor",value:function(){return this.start.getCommonAncestor(this.end)}},{key:"toJSON",value:function(){return{start:this.start.toJSON(),end:this.end.toJSON()}}},{key:"clone",value:function(){return new this.constructor(this.start,this.end)}},{key:"_getTransformedByInsertOperation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._getTransformedByInsertion(t.position,t.howMany,e)}},{key:"_getTransformedByMoveOperation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.sourcePosition,n=t.howMany,o=t.targetPosition;return this._getTransformedByMove(r,o,n,e)}},{key:"_getTransformedBySplitOperation",value:function(e){var r=this.start._getTransformedBySplitOperation(e),n=this.end._getTransformedBySplitOperation(e);return this.end.isEqual(e.insertionPosition)&&(n=this.end.getShiftedBy(1)),r.root!=n.root&&(n=this.end.getShiftedBy(-1)),new t(r,n)}},{key:"_getTransformedByMergeOperation",value:function(e){if(this.start.isEqual(e.targetPosition)&&this.end.isEqual(e.deletionPosition))return new t(this.start);var r=this.start._getTransformedByMergeOperation(e),o=this.end._getTransformedByMergeOperation(e);return r.root!=o.root&&(o=this.end.getShiftedBy(-1)),r.isAfter(o)?(e.sourcePosition.isBefore(e.targetPosition)?(r=n.a._createAt(o)).offset=0:(e.deletionPosition.isEqual(r)||(o=e.deletionPosition),r=e.targetPosition),new t(r,o)):new t(r,o)}},{key:"_getTransformedByInsertion",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n&&this.containsPosition(e))return[new t(this.start,e),new t(e.getShiftedBy(r),this.end._getTransformedByInsertion(e,r))];var o=new t(this.start,this.end);return o.start=o.start._getTransformedByInsertion(e,r),o.end=o.end._getTransformedByInsertion(e,r),[o]}},{key:"_getTransformedByMove",value:function(e,r,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.isCollapsed){var i=this.start._getTransformedByMove(e,r,n);return[new t(i)]}var a,s=t._createFromPositionAndShift(e,n),u=r._getTransformedByDeletion(e,n);if(this.containsPosition(r)&&!o&&(s.containsPosition(this.start)||s.containsPosition(this.end))){var c=this.start._getTransformedByMove(e,r,n),l=this.end._getTransformedByMove(e,r,n);return[new t(c,l)]}var f=this.getDifference(s),h=null,p=this.getIntersection(s);if(1==f.length?h=new t(f[0].start._getTransformedByDeletion(e,n),f[0].end._getTransformedByDeletion(e,n)):2==f.length&&(h=new t(this.start,this.end._getTransformedByDeletion(e,n))),a=h?h._getTransformedByInsertion(u,n,null!==p||o):[],p){var d=new t(p.start._getCombined(s.start,u),p.end._getCombined(s.start,u));2==a.length?a.splice(1,0,d):a.push(d)}return a}},{key:"_getTransformedByDeletion",value:function(e,r){var n=this.start._getTransformedByDeletion(e,r),o=this.end._getTransformedByDeletion(e,r);return null==n&&null==o?null:(null==n&&(n=e),null==o&&(o=e),new t(n,o))}},{key:"isCollapsed",get:function(){return this.start.isEqual(this.end)}},{key:"isFlat",get:function(){var t=this.start.getParentPath(),e=this.end.getParentPath();return"same"==Object(a.a)(t,e)}},{key:"root",get:function(){return this.start.root}}],c=[{key:"_createFromPositionAndShift",value:function(t,e){var r=t,n=t.getShiftedBy(e);return e>0?new this(r,n):new this(n,r)}},{key:"_createIn",value:function(t){return new this(n.a._createAt(t,0),n.a._createAt(t,t.maxOffset))}},{key:"_createOn",value:function(t){return this._createFromPositionAndShift(n.a._createBefore(t),t.offsetSize)}},{key:"_createFromRanges",value:function(t){if(0===t.length)throw new i.b("range-create-from-ranges-empty-array: At least one range has to be passed.",null);if(1==t.length)return t[0].clone();var e=t[0];t.sort((function(t,e){return t.start.isAfter(e.start)?1:-1}));var r=t.indexOf(e),o=new this(e.start,e.end);if(r>0)for(var a=r-1;t[a].end.isEqual(o.start);a++)o.start=n.a._createAt(t[a].start);for(var s=r+1;s<t.length&&t[s].start.isEqual(o.end);s++)o.end=n.a._createAt(t[s].end);return o}},{key:"fromJSON",value:function(t,e){return new this(n.a.fromJSON(t.start,e),n.a.fromJSON(t.end,e))}}],r&&u(e.prototype,r),c&&u(e,c),t}()},620:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(613),o=r(706),i=r(915),a=r(685),s=r(623),u=r(660),c=r(616),l=r(639);r(1157);function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=null,this.isRendered=!1,this.locale=e,this.t=e&&e.t,this._viewCollections=new u.a,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(function(t,r){r.locale=e})),this.decorate("render")}var e,r,a;return e=t,(r=[{key:"createCollection",value:function(){var t=new o.a;return this._viewCollections.add(t),t}},{key:"registerChild",value:function(t){Object(l.a)(t)||(t=[t]);var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._unboundChildren.add(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"deregisterChild",value:function(t){Object(l.a)(t)||(t=[t]);var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;this._unboundChildren.remove(a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}}},{key:"setTemplate",value:function(t){this.template=new i.a(t)}},{key:"extendTemplate",value:function(t){i.a.extend(this.template,t)}},{key:"render",value:function(){if(this.isRendered)throw new n.b("ui-view-render-already-rendered: This View has already been rendered.",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}},{key:"destroy",value:function(){this.stopListening(),this._viewCollections.map((function(t){return t.destroy()})),this.template&&this.template._revertData&&this.template.revert(this.element)}},{key:"bindTemplate",get:function(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=i.a.bind(this,this)}}])&&f(e.prototype,r),a&&f(e,a),t}();Object(c.a)(h,a.a),Object(c.a)(h,s.a)},621:function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return p}));var n=r(1142),o=r(658),i=r(900),a=(r(682),r(613));function s(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(t,e){return function(t){if(Array.isArray(t))return t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=Symbol("listeningTo"),l=Symbol("emitterId"),f={on:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.listenTo(this,t,e,r)},once:function(t,e,r){var n=!1;this.listenTo(this,t,(function(t){if(!n){n=!0,t.off();for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];e.call.apply(e,[this,t].concat(o))}}),r)},off:function(t,e){this.stopListening(this,t,e)},listenTo:function(t,e,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this[c]||(this[c]={});var s=this[c];d(t)||p(t);var u=d(t);(n=s[u])||(n=s[u]={emitter:t,callbacks:{}}),(o=n.callbacks[e])||(o=n.callbacks[e]=[]),o.push(r),v(t,e);var l=b(t,e),f=i.a.get(a.priority),h={callback:r,priority:f},y=!0,g=!1,m=void 0;try{for(var w,k=l[Symbol.iterator]();!(y=(w=k.next()).done);y=!0){for(var _=w.value,O=!1,S=0;S<_.length;S++)if(_[S].priority<f){_.splice(S,0,h),O=!0;break}O||_.push(h)}}catch(t){g=!0,m=t}finally{try{y||null==k.return||k.return()}finally{if(g)throw m}}},stopListening:function(t,e,r){var n=this[c],o=t&&d(t),i=n&&o&&n[o],a=i&&e&&i.callbacks[e];if(!(!n||t&&!i||e&&!a))if(r)w(t,e,r);else if(a){for(;r=a.pop();)w(t,e,r);delete i.callbacks[e]}else if(i){for(e in i.callbacks)this.stopListening(t,e);delete n[o]}else{for(o in n)this.stopListening(n[o].emitter);delete this[c]}},fire:function(t){try{var e=t instanceof n.a?t:new n.a(this,t),r=e.name,o=g(this,r);e.path.push(this);for(var i=arguments.length,s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];if(o){var c=[e].concat(s);o=Array.from(o);for(var l=0;l<o.length&&(o[l].callback.apply(this,c),e.off.called&&(delete e.off.called,w(this,r,o[l].callback)),!e.stop.called);l++);}if(this._delegations){var f=this._delegations.get(r),h=this._delegations.get("*");f&&m(f,e,s),h&&m(h,e,s)}return e.return}catch(t){a.b.rethrowUnexpectedError(t,this)}},delegate:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return{to:function(e,n){t._delegations||(t._delegations=new Map),r.forEach((function(r){var o=t._delegations.get(r);o?o.set(e,n):t._delegations.set(r,new Map([[e,n]]))}))}}},stopDelegating:function(t,e){if(this._delegations)if(t)if(e){var r=this._delegations.get(t);r&&r.delete(e)}else this._delegations.delete(t);else this._delegations.clear()}};function h(t,e){return t[c]&&t[c][e]?t[c][e].emitter:null}function p(t,e){t[l]||(t[l]=e||Object(o.a)())}function d(t){return t[l]}function y(t){return t._events||Object.defineProperty(t,"_events",{value:{}}),t._events}function v(t,e){var r=y(t);if(!r[e]){for(var n=e,o=null,i=[];""!==n&&!r[n];)r[n]={callbacks:[],childEvents:[]},i.push(r[n]),o&&r[n].childEvents.push(o),o=n,n=n.substr(0,n.lastIndexOf(":"));if(""!==n){var a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){c.value.callbacks=r[n].callbacks.slice()}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}r[n].childEvents.push(o)}}}function b(t,e){var r=y(t)[e];if(!r)return[];for(var n=[r.callbacks],o=0;o<r.childEvents.length;o++){var i=b(t,r.childEvents[o]);n=n.concat(i)}return n}function g(t,e){var r;return t._events&&(r=t._events[e])&&r.callbacks.length?r.callbacks:e.indexOf(":")>-1?g(t,e.substr(0,e.lastIndexOf(":"))):null}function m(t,e,r){var o=!0,i=!1,a=void 0;try{for(var c,l=t[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var f=u(c.value,2),h=f[0],p=f[1];p?"function"==typeof p&&(p=p(e.name)):p=e.name;var d=new n.a(e.source,p);d.path=s(e.path),h.fire.apply(h,[d].concat(s(r)))}}catch(t){i=!0,a=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}}function w(t,e,r){var n=b(t,e),o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0)for(var c=s.value,l=0;l<c.length;l++)c[l].callback==r&&(c.splice(l,1),l--)}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}e.c=f},622:function(t,e,r){"use strict";var n=r(703),o=r(648),i=r(613),a=r(634);var s=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};r(682);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(e,"a",(function(){return c}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toNone";if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e.is("element")&&!e.is("documentFragment"))throw new i.b("model-position-root-invalid: Position root invalid.",e);if(!(r instanceof Array)||0===r.length)throw new i.b("model-position-path-incorrect-format: Position path must be an array with at least one item.",e,{path:r});r=e.getPath().concat(r),e=e.root,this.root=e,this.path=r,this.stickiness=n}var e,r,c;return e=t,c=[{key:"_createAt",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toNone";if(e instanceof t)return new t(e.root,e.path,e.stickiness);var o=e;if("end"==r)r=o.maxOffset;else{if("before"==r)return this._createBefore(o,n);if("after"==r)return this._createAfter(o,n);if(0!==r&&!r)throw new i.b("model-createPositionAt-offset-required: Model#createPositionAt() requires the offset when the first parameter is a model item.",[this,e])}if(!o.is("element")&&!o.is("documentFragment"))throw new i.b("model-position-parent-incorrect: Position parent have to be a element or document fragment.",[this,e]);var a=o.getPath();return a.push(r),new this(o.root,a,n)}},{key:"_createAfter",value:function(t,e){if(!t.parent)throw new i.b("model-position-after-root: You cannot make a position after root.",[this,t],{root:t});return this._createAt(t.parent,t.endOffset,e)}},{key:"_createBefore",value:function(t,e){if(!t.parent)throw new i.b("model-position-before-root: You cannot make a position before root.",t,{root:t});return this._createAt(t.parent,t.startOffset,e)}},{key:"fromJSON",value:function(e,r){if("$graveyard"===e.root){var n=new t(r.graveyard,e.path);return n.stickiness=e.stickiness,n}if(!r.getRoot(e.root))throw new i.b("model-position-fromjson-no-root: Cannot create position for document. Root with specified name does not exist.",r,{rootName:e.root});return new t(r.getRoot(e.root),e.path,e.stickiness)}}],(r=[{key:"compareWith",value:function(t){if(this.root!=t.root)return"different";var e=Object(o.a)(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"}}},{key:"getLastMatchingPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.startPosition=this;var r=new n.a(e);return r.skip(t),r.position}},{key:"getParentPath",value:function(){return this.path.slice(0,-1)}},{key:"getAncestors",value:function(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}},{key:"getCommonPath",value:function(t){if(this.root!=t.root)return[];var e=Object(o.a)(this.path,t.path),r="string"==typeof e?Math.min(this.path.length,t.path.length):e;return this.path.slice(0,r)}},{key:"getCommonAncestor",value:function(t){for(var e=this.getAncestors(),r=t.getAncestors(),n=0;e[n]==r[n]&&e[n];)n++;return 0===n?null:e[n-1]}},{key:"getShiftedBy",value:function(t){var e=this.clone(),r=e.offset+t;return e.offset=r<0?0:r,e}},{key:"isAfter",value:function(t){return"after"==this.compareWith(t)}},{key:"isBefore",value:function(t){return"before"==this.compareWith(t)}},{key:"isEqual",value:function(t){return"same"==this.compareWith(t)}},{key:"isTouching",value:function(e){var r=null,n=null;switch(this.compareWith(e)){case"same":return!0;case"before":r=t._createAt(this),n=t._createAt(e);break;case"after":r=t._createAt(e),n=t._createAt(this);break;default:return!1}for(var o=r.parent;r.path.length+n.path.length;){if(r.isEqual(n))return!0;if(r.path.length>n.path.length){if(r.offset!==o.maxOffset)return!1;r.path=r.path.slice(0,-1),o=o.parent,r.offset++}else{if(0!==n.offset)return!1;n.path=n.path.slice(0,-1)}}}},{key:"is",value:function(t){return"position"==t||"model:position"==t}},{key:"hasSameParentAs",value:function(t){if(this.root!==t.root)return!1;var e=this.getParentPath(),r=t.getParentPath();return"same"==Object(o.a)(e,r)}},{key:"getTransformedByOperation",value:function(e){var r;switch(e.type){case"insert":r=this._getTransformedByInsertOperation(e);break;case"move":case"remove":case"reinsert":r=this._getTransformedByMoveOperation(e);break;case"split":r=this._getTransformedBySplitOperation(e);break;case"merge":r=this._getTransformedByMergeOperation(e);break;default:r=t._createAt(this)}return r}},{key:"_getTransformedByInsertOperation",value:function(t){return this._getTransformedByInsertion(t.position,t.howMany)}},{key:"_getTransformedByMoveOperation",value:function(t){return this._getTransformedByMove(t.sourcePosition,t.targetPosition,t.howMany)}},{key:"_getTransformedBySplitOperation",value:function(t){var e=t.movedRange;return e.containsPosition(this)||e.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(t.splitPosition,t.moveTargetPosition):t.graveyardPosition?this._getTransformedByMove(t.graveyardPosition,t.insertionPosition,1):this._getTransformedByInsertion(t.insertionPosition,1)}},{key:"_getTransformedByMergeOperation",value:function(e){var r,n=e.movedRange;return n.containsPosition(this)||n.start.isEqual(this)?(r=this._getCombined(e.sourcePosition,e.targetPosition),e.sourcePosition.isBefore(e.targetPosition)&&(r=r._getTransformedByDeletion(e.deletionPosition,1))):r=this.isEqual(e.deletionPosition)?t._createAt(e.deletionPosition):this._getTransformedByMove(e.deletionPosition,e.graveyardPosition,1),r}},{key:"_getTransformedByDeletion",value:function(e,r){var n=t._createAt(this);if(this.root!=e.root)return n;if("same"==Object(o.a)(e.getParentPath(),this.getParentPath())){if(e.offset<this.offset){if(e.offset+r>this.offset)return null;n.offset-=r}}else if("prefix"==Object(o.a)(e.getParentPath(),this.getParentPath())){var i=e.path.length-1;if(e.offset<=this.path[i]){if(e.offset+r>this.path[i])return null;n.path[i]-=r}}return n}},{key:"_getTransformedByInsertion",value:function(e,r){var n=t._createAt(this);if(this.root!=e.root)return n;if("same"==Object(o.a)(e.getParentPath(),this.getParentPath()))(e.offset<this.offset||e.offset==this.offset&&"toPrevious"!=this.stickiness)&&(n.offset+=r);else if("prefix"==Object(o.a)(e.getParentPath(),this.getParentPath())){var i=e.path.length-1;e.offset<=this.path[i]&&(n.path[i]+=r)}return n}},{key:"_getTransformedByMove",value:function(e,r,n){if(r=r._getTransformedByDeletion(e,n),e.isEqual(r))return t._createAt(this);var o=this._getTransformedByDeletion(e,n);return null===o||e.isEqual(this)&&"toNext"==this.stickiness||e.getShiftedBy(n).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(e,r):o._getTransformedByInsertion(r,n)}},{key:"_getCombined",value:function(e,r){var n=e.path.length-1,o=t._createAt(r);return o.stickiness=this.stickiness,o.offset=o.offset+this.path[n]-e.offset,o.path=o.path.concat(this.path.slice(n+1)),o}},{key:"toJSON",value:function(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}},{key:"clone",value:function(){return new this.constructor(this.root,this.path,this.stickiness)}},{key:"offset",get:function(){return s(this.path)},set:function(t){this.path[this.path.length-1]=t}},{key:"parent",get:function(){for(var t=this.root,e=0;e<this.path.length-1;e++)if(!(t=t.getChild(t.offsetToIndex(this.path[e]))))throw new i.b("model-position-path-incorrect: The position's path is incorrect.",this,{position:this});if(t.is("text"))throw new i.b("model-position-path-incorrect: The position's path is incorrect.",this,{position:this});return t}},{key:"index",get:function(){return this.parent.offsetToIndex(this.offset)}},{key:"textNode",get:function(){var t=this.parent.getChild(this.index);return t instanceof a.a&&t.startOffset<this.offset?t:null}},{key:"nodeAfter",get:function(){return null===this.textNode?this.parent.getChild(this.index):null}},{key:"nodeBefore",get:function(){return null===this.textNode?this.parent.getChild(this.index-1):null}},{key:"isAtStart",get:function(){return 0===this.offset}},{key:"isAtEnd",get:function(){return this.offset==this.parent.maxOffset}}])&&u(e.prototype,r),c&&u(e,c),t}()},623:function(t,e,r){"use strict";var n=r(621),o=r(613),i=r(638),a=r(1488);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var c=Symbol("observableProperties"),l=Symbol("boundObservables"),f=Symbol("boundProperties"),h={set:function(t,e){var r=this;if(Object(i.a)(t))Object.keys(t).forEach((function(e){r.set(e,t[e])}),this);else{p(this);var n=this[c];if(t in this&&!n.has(t))throw new o.b("observable-set-cannot-override: Cannot override an existing property.",this);Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return n.get(t)},set:function(e){var r=n.get(t),o=this.fire("set:"+t,t,e,r);void 0===o&&(o=e),r===o&&n.has(t)||(n.set(t,o),this.fire("change:"+t,t,o,r))}}),this[t]=e}},bind:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(!r.length||!v(r))throw new o.b("observable-bind-wrong-properties: All properties must be strings.",this);if(new Set(r).size!==r.length)throw new o.b("observable-bind-duplicate-properties: Properties must be unique.",this);p(this);var i=this[f];r.forEach((function(e){if(i.has(e))throw new o.b("observable-bind-rebind: Cannot bind the same property more that once.",t)}));var a=new Map;return r.forEach((function(t){var e={property:t,to:[]};i.set(t,e),a.set(t,e)})),{to:d,toMany:y,_observable:this,_bindProperties:r,_to:[],_bindings:a}},unbind:function(){var t=this;if(c in this){for(var e=this[f],r=this[l],n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];if(i.length){if(!v(i))throw new o.b("observable-unbind-wrong-properties: Properties must be strings.",this);i.forEach((function(n){var o,i,a,s,u=e.get(n);u&&(u.to.forEach((function(e){o=e[0],i=e[1],a=r.get(o),(s=a[i]).delete(u),s.size||delete a[i],Object.keys(a).length||(r.delete(o),t.stopListening(o,"change"))})),e.delete(n))}))}else r.forEach((function(e,r){t.stopListening(r,"change")})),r.clear(),e.clear()}},decorate:function(t){var e=this,r=this[t];if(!r)throw new o.b("observablemixin-cannot-decorate-undefined: Cannot decorate an undefined method.",this,{object:this,methodName:t});this.on(t,(function(t,n){t.return=r.apply(e,n)})),this[t]=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return this.fire(t,r)}}};function p(t){c in t||(Object.defineProperty(t,c,{value:new Map}),Object.defineProperty(t,l,{value:new Map}),Object.defineProperty(t,f,{value:new Map}))}function d(){var t,e,r,n=this,i=b.apply(void 0,arguments),a=Array.from(this._bindings.keys()),s=a.length;if(!i.callback&&i.to.length>1)throw new o.b("observable-bind-to-no-callback: Binding multiple observables only possible with callback.",this);if(s>1&&i.callback)throw new o.b("observable-bind-to-extra-callback: Cannot bind multiple properties and use a callback in one binding.",this);i.to.forEach((function(t){if(t.properties.length&&t.properties.length!==s)throw new o.b("observable-bind-to-properties-length: The number of properties must match.",n);t.properties.length||(t.properties=n._bindProperties)})),this._to=i.to,i.callback&&(this._bindings.get(a[0]).callback=i.callback),t=this._observable,this._to.forEach((function(e){var r,n=t[l];n.get(e.observable)||t.listenTo(e.observable,"change",(function(o,i){(r=n.get(e.observable)[i])&&r.forEach((function(e){g(t,e.property)}))}))})),(e=this)._bindings.forEach((function(t,n){e._to.forEach((function(o){r=o.properties[t.callback?0:e._bindProperties.indexOf(n)],t.to.push([o.observable,r]),function(t,e,r,n){var o=t[l],i=o.get(r),a=i||{};a[n]||(a[n]=new Set),a[n].add(e),i||o.set(r,a)}(e._observable,t,o.observable,r)}))})),this._bindProperties.forEach((function(t){g(n._observable,t)}))}function y(t,e,r){if(this._bindings.size>1)throw new o.b("observable-bind-to-many-not-one-binding: Cannot bind multiple properties with toMany().",this);this.to.apply(this,u(function(t,e){var r=t.map((function(t){return[t,e]}));return Array.prototype.concat.apply([],r)}(t,e)).concat([r]))}function v(t){return t.every((function(t){return"string"==typeof t}))}function b(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)throw new o.b("observable-bind-to-parse-error: Invalid argument syntax in `to()`.",null);var n,i={to:[]};return"function"==typeof e[e.length-1]&&(i.callback=e.pop()),e.forEach((function(t){if("string"==typeof t)n.properties.push(t);else{if("object"!=s(t))throw new o.b("observable-bind-to-parse-error: Invalid argument syntax in `to()`.",null);n={observable:t,properties:[]},i.to.push(n)}})),i}function g(t,e){var r,n=t[f].get(e);r=n.callback?n.callback.apply(t,n.to.map((function(t){return t[0][t[1]]}))):(r=n.to[0])[0][r[1]],t.hasOwnProperty(e)?t[e]=r:t.set(e,r)}Object(a.a)(h,n.c),e.a=h},625:function(t,e,r){"use strict";var n=r(885),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.a||o||Function("return this")();e.a=i},626:function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));var n=r(686),o=r(705),i=r(634),a=r(665),s=r(639);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t,e,r){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var d=function(t){function e(t,r,n){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=l(this,h(e).call(this,r))).name=t,i._children=new o.a,n&&i._insertChild(0,n),i}var r,n,u;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),r=e,u=[{key:"fromJSON",value:function(t){var r=null;if(t.children){r=[];var n=!0,o=!1,a=void 0;try{for(var s,u=t.children[Symbol.iterator]();!(n=(s=u.next()).done);n=!0){var c=s.value;c.name?r.push(e.fromJSON(c)):r.push(i.a.fromJSON(c))}}catch(t){o=!0,a=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}}return new e(t.name,t.attributes,r)}}],(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.replace(/^model:/,"");return r?"element"==n&&r==this.name:"element"==n||n==this.name||f(h(e.prototype),"is",this).call(this,t)}},{key:"getChild",value:function(t){return this._children.getNode(t)}},{key:"getChildren",value:function(){return this._children[Symbol.iterator]()}},{key:"getChildIndex",value:function(t){return this._children.getNodeIndex(t)}},{key:"getChildStartOffset",value:function(t){return this._children.getNodeStartOffset(t)}},{key:"offsetToIndex",value:function(t){return this._children.offsetToIndex(t)}},{key:"getNodeByPath",value:function(t){var e=this,r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e=e.getChild(e.offsetToIndex(s))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}},{key:"toJSON",value:function(){var t=f(h(e.prototype),"toJSON",this).call(this);if(t.name=this.name,this._children.length>0){t.children=[];var r=!0,n=!1,o=void 0;try{for(var i,a=this._children[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;t.children.push(s.toJSON())}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}return t}},{key:"_clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=t?Array.from(this._children).map((function(t){return t._clone(!0)})):null;return new e(this.name,this.getAttributes(),r)}},{key:"_appendChild",value:function(t){this._insertChild(this.childCount,t)}},{key:"_insertChild",value:function(t,e){var r=function(t){return"string"==typeof t?[new i.a(t)]:(Object(s.a)(t)||(t=[t]),Array.from(t).map((function(t){return"string"==typeof t?new i.a(t):t instanceof a.a?new i.a(t.data,t.getAttributes()):t})))}(e),n=!0,o=!1,u=void 0;try{for(var c,l=r[Symbol.iterator]();!(n=(c=l.next()).done);n=!0){var f=c.value;null!==f.parent&&f._remove(),f.parent=this}}catch(t){o=!0,u=t}finally{try{n||null==l.return||l.return()}finally{if(o)throw u}}this._children._insertNodes(t,r)}},{key:"_removeChildren",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this._children._removeNodes(t,e),n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;u.parent=null}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},{key:"childCount",get:function(){return this._children.length}},{key:"maxOffset",get:function(){return this._children.maxOffset}},{key:"isEmpty",get:function(){return 0===this.childCount}}])&&c(r.prototype,n),u&&c(r,u),e}(n.a)},627:function(t,e,r){"use strict";var n=r(620),o=r(917);r(1163);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var c=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=a(this,s(e).call(this,t))).set("text",""),r.set("position","s");var n=r.bindTemplate;return r.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip",n.to("position",(function(t){return"ck-tooltip_"+t})),n.if("text","ck-hidden",(function(t){return!t.trim()}))]},children:[{tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:n.to("text")}]}]}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),e}(n.a),l=r(658),f=r(628);r(1165);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t,e,r){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return g}));var g=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(r=function(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?d(t):e}(this,v(e).call(this,t))).bindTemplate,i=Object(l.a)();return r.set("class"),r.set("labelStyle"),r.set("icon"),r.set("isEnabled",!0),r.set("isOn",!1),r.set("isVisible",!0),r.set("isToggleable",!1),r.set("keystroke"),r.set("label"),r.set("tabindex",-1),r.set("tooltip"),r.set("tooltipPosition","s"),r.set("type","button"),r.set("withText",!1),r.children=r.createCollection(),r.tooltipView=r._createTooltipView(),r.labelView=r._createLabelView(i),r.iconView=new o.a,r.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),r.bind("_tooltipString").to(d(r),"tooltip",d(r),"label",d(r),"keystroke",r._getTooltipString.bind(d(r))),r.setTemplate({tag:"button",attributes:{class:["ck","ck-button",n.to("class"),n.if("isEnabled","ck-disabled",(function(t){return!t})),n.if("isVisible","ck-hidden",(function(t){return!t})),n.to("isOn",(function(t){return t?"ck-on":"ck-off"})),n.if("withText","ck-button_with-text")],type:n.to("type",(function(t){return t||"button"})),tabindex:n.to("tabindex"),"aria-labelledby":"ck-editor__aria-label_".concat(i),"aria-disabled":n.if("isEnabled",!0,(function(t){return!t})),"aria-pressed":n.to("isOn",(function(t){return!!r.isToggleable&&String(t)}))},children:r.children,on:{mousedown:n.to((function(t){t.preventDefault()})),click:n.to((function(t){r.isEnabled?r.fire("execute"):t.preventDefault()}))}}),r}var r,i,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(e,t),r=e,(i=[{key:"render",value:function(){y(v(e.prototype),"render",this).call(this),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.tooltipView),this.children.add(this.labelView)}},{key:"focus",value:function(){this.element.focus()}},{key:"_createTooltipView",value:function(){var t=new c;return t.bind("text").to(this,"_tooltipString"),t.bind("position").to(this,"tooltipPosition"),t}},{key:"_createLabelView",value:function(t){var e=new n.a,r=this.bindTemplate;return e.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:r.to("labelStyle"),id:"ck-editor__aria-label_".concat(t)},children:[{text:this.bindTemplate.to("label")}]}),e}},{key:"_getTooltipString",value:function(t,e,r){return t?"string"==typeof t?t:(r&&(r=Object(f.b)(r)),t instanceof Function?t(e,r):"".concat(e).concat(r?" (".concat(r,")"):"")):""}}])&&p(r.prototype,i),a&&p(r,a),e}(n.a)},628:function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"a",(function(){return u})),r.d(e,"d",(function(){return c})),r.d(e,"b",(function(){return l}));var n=r(613),o=r(661),i={"⌘":"ctrl","⇧":"shift","⌥":"alt"},a={ctrl:"⌘",shift:"⇧",alt:"⌥"},s=function(){for(var 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},e=65;e<=90;e++){var r=String.fromCharCode(e);t[r.toLowerCase()]=e}for(var n=48;n<=57;n++)t[n-48]=n;for(var o=112;o<=123;o++)t["f"+(o-111)]=o;return t}();function u(t){var e;if("string"==typeof t){if(!(e=s[t.toLowerCase()]))throw new n.b("keyboard-unknown-key: Unknown key name.",null,{key:t})}else e=t.keyCode+(t.altKey?s.alt:0)+(t.ctrlKey?s.ctrl:0)+(t.shiftKey?s.shift:0);return e}function c(t){return"string"==typeof t&&(t=f(t)),t.map((function(t){return"string"==typeof t?u(t):t})).reduce((function(t,e){return e+t}),0)}function l(t){return o.a.isMac?f(t).map((function(t){return a[t.toLowerCase()]||t})).reduce((function(t,e){return t.slice(-1)in i?t+e:t+"+"+e})):t}function f(t){return t.split(/\s*\+\s*/)}},629:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(e,"a",(function(){return o}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.baseVersion=e,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}var e,r,o;return e=t,o=[{key:"fromJSON",value:function(t){return new this(t.baseVersion)}},{key:"className",get:function(){return"Operation"}}],(r=[{key:"_validate",value:function(){}},{key:"toJSON",value:function(){var t=Object.assign({},this);return t.__className=this.constructor.className,delete t.batch,delete t.isDocumentOperation,t}}])&&n(e.prototype,r),o&&n(e,o),t}()},630:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(623),o=r(616);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var a=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.editor=e,this.set("value",void 0),this.set("isEnabled",!1),this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",(function(){r.refresh()})),this.on("execute",(function(t){r.isEnabled||t.stop()}),{priority:"high"}),this.listenTo(e,"change:isReadOnly",(function(t,e,n){n?r.forceDisabled("readOnlyMode"):r.clearForceDisabled("readOnlyMode")}))}var e,r,n;return e=t,(r=[{key:"refresh",value:function(){this.isEnabled=!0}},{key:"forceDisabled",value:function(t){this._disableStack.add(t),1==this._disableStack.size&&(this.on("set:isEnabled",s,{priority:"highest"}),this.isEnabled=!1)}},{key:"clearForceDisabled",value:function(t){this._disableStack.delete(t),0==this._disableStack.size&&(this.off("set:isEnabled",s),this.refresh())}},{key:"execute",value:function(){}},{key:"destroy",value:function(){this.stopListening()}}])&&i(e.prototype,r),n&&i(e,n),t}();function s(t){t.return=!1,t.stop()}Object(o.a)(a,n.a)},633:function(t,e,r){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},634:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t,e,r){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return c}));var c=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=i(this,s(e).call(this,r)))._data=t||"",n}var r,n,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),r=e,c=[{key:"fromJSON",value:function(t){return new e(t.data,t.attributes)}}],(n=[{key:"is",value:function(t){return"text"==t||"model:text"==t||a(s(e.prototype),"is",this).call(this,t)}},{key:"toJSON",value:function(){var t=a(s(e.prototype),"toJSON",this).call(this);return t.data=this.data,t}},{key:"_clone",value:function(){return new e(this.data,this.getAttributes())}},{key:"offsetSize",get:function(){return this.data.length}},{key:"data",get:function(){return this._data}}])&&o(r.prototype,n),c&&o(r,c),e}(r(686).a)},638:function(t,e,r){"use strict";e.a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},639:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){return!(!t||!t[Symbol.iterator])}r.d(e,"a",(function(){return n}))},640:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(810),o=r(648),i=r(613),a=r(808);r(682);function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var u=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parent=e,this.offset=r}var e,r,u;return e=t,u=[{key:"_createAt",value:function(e,r){if(e instanceof t)return new this(e.parent,e.offset);var n=e;if("end"==r)r=n.is("text")?n.data.length:n.childCount;else{if("before"==r)return this._createBefore(n);if("after"==r)return this._createAfter(n);if(0!==r&&!r)throw new i.b("view-createPositionAt-offset-required: View#createPositionAt() requires the offset when the first parameter is a view item.",n)}return new t(n,r)}},{key:"_createAfter",value:function(e){if(e.is("textProxy"))return new t(e.textNode,e.offsetInText+e.data.length);if(!e.parent)throw new i.b("view-position-after-root: You can not make position after root.",e,{root:e});return new t(e.parent,e.index+1)}},{key:"_createBefore",value:function(e){if(e.is("textProxy"))return new t(e.textNode,e.offsetInText);if(!e.parent)throw new i.b("view-position-before-root: You can not make position before root.",e,{root:e});return new t(e.parent,e.index)}}],(r=[{key:"getShiftedBy",value:function(e){var r=t._createAt(this),n=r.offset+e;return r.offset=n<0?0:n,r}},{key:"getLastMatchingPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.startPosition=this;var r=new n.a(e);return r.skip(t),r.position}},{key:"getAncestors",value:function(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}},{key:"getCommonAncestor",value:function(t){for(var e=this.getAncestors(),r=t.getAncestors(),n=0;e[n]==r[n]&&e[n];)n++;return 0===n?null:e[n-1]}},{key:"is",value:function(t){return"position"==t||"view:position"==t}},{key:"isEqual",value:function(t){return this.parent==t.parent&&this.offset==t.offset}},{key:"isBefore",value:function(t){return"before"==this.compareWith(t)}},{key:"isAfter",value:function(t){return"after"==this.compareWith(t)}},{key:"compareWith",value:function(t){if(this.root!==t.root)return"different";if(this.isEqual(t))return"same";var e=this.parent.is("node")?this.parent.getPath():[],r=t.parent.is("node")?t.parent.getPath():[];e.push(this.offset),r.push(t.offset);var n=Object(o.a)(e,r);switch(n){case"prefix":return"before";case"extension":return"after";default:return e[n]<r[n]?"before":"after"}}},{key:"getWalker",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.startPosition=this,new n.a(t)}},{key:"clone",value:function(){return new t(this.parent,this.offset)}},{key:"nodeAfter",get:function(){return this.parent.is("text")?null:this.parent.getChild(this.offset)||null}},{key:"nodeBefore",get:function(){return this.parent.is("text")?null:this.parent.getChild(this.offset-1)||null}},{key:"isAtStart",get:function(){return 0===this.offset}},{key:"isAtEnd",get:function(){var t=this.parent.is("text")?this.parent.data.length:this.parent.childCount;return this.offset===t}},{key:"root",get:function(){return this.parent.root}},{key:"editableElement",get:function(){for(var t=this.parent;!(t instanceof a.a);){if(!t.parent)return null;t=t.parent}return t}}])&&s(e.prototype,r),u&&s(e,u),t}()},641:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(685),o=r(623),i=r(613),a=r(616);function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.set("isFocused",!1),this.set("focusedElement",null),this._elements=new Set,this._nextEventLoopTimeout=null}var e,r,n;return e=t,(r=[{key:"add",value:function(t){var e=this;if(this._elements.has(t))throw new i.b("focusTracker-add-element-already-exist",this);this.listenTo(t,"focus",(function(){return e._focus(t)}),{useCapture:!0}),this.listenTo(t,"blur",(function(){return e._blur()}),{useCapture:!0}),this._elements.add(t)}},{key:"remove",value:function(t){t===this.focusedElement&&this._blur(t),this._elements.has(t)&&(this.stopListening(t),this._elements.delete(t))}},{key:"destroy",value:function(){this.stopListening()}},{key:"_focus",value:function(t){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=t,this.isFocused=!0}},{key:"_blur",value:function(){var t=this;clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout((function(){t.focusedElement=null,t.isFocused=!1}),0)}}])&&s(e.prototype,r),n&&s(e,n),t}();Object(a.a)(u,n.a),Object(a.a)(u,o.a)},647:function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=r(681),o=r(649),i=r(809),a=r(901),s=r(639),u=r(902),c=r(1153);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e,r){return(f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&g(o,r.prototype),o}).apply(null,arguments)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function p(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t,e,r){return(v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=b(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var m=function(t){function e(t,r,n){var o;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=y(this,b(e).call(this))).name=t,o._attrs=function(t){t=Object(c.a)(t)?Object(a.a)(t):new Map(t);var e=!0,r=!1,n=void 0;try{for(var o,i=t[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var s=h(o.value,2),u=s[0],l=s[1];null===l?t.delete(u):"string"!=typeof l&&t.set(u,String(l))}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t}(r),o._children=[],n&&o._insertChild(0,n),o._classes=new Set,o._attrs.has("class")){var i=o._attrs.get("class");k(o._classes,i),o._attrs.delete("class")}return o._styles=new Map,o._attrs.has("style")&&(w(o._styles,o._attrs.get("style")),o._attrs.delete("style")),o._customProperties=new Map,o}var r,n,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.replace(/^view:/,"");return r?"element"==n&&r==this.name:"element"==n||n==this.name||v(b(e.prototype),"is",this).call(this,t)}},{key:"getChild",value:function(t){return this._children[t]}},{key:"getChildIndex",value:function(t){return this._children.indexOf(t)}},{key:"getChildren",value:function(){return this._children[Symbol.iterator]()}},{key:"getAttributeKeys",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this._classes.size>0)){t.next=3;break}return t.next=3,"class";case 3:if(!(this._styles.size>0)){t.next=6;break}return t.next=6,"style";case 6:return t.delegateYield(this._attrs.keys(),"t0",7);case 7:case"end":return t.stop()}}),t,this)}))},{key:"getAttributes",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._attrs.entries(),"t0",1);case 1:if(!(this._classes.size>0)){t.next=4;break}return t.next=4,["class",this.getAttribute("class")];case 4:if(!(this._styles.size>0)){t.next=7;break}return t.next=7,["style",this.getAttribute("style")];case 7:case"end":return t.stop()}}),t,this)}))},{key:"getAttribute",value:function(t){if("class"==t)return this._classes.size>0?p(this._classes).join(" "):void 0;if("style"!=t)return this._attrs.get(t);if(this._styles.size>0){var e="",r=!0,n=!1,o=void 0;try{for(var i,a=this._styles[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=h(i.value,2),u=s[0],c=s[1];e+="".concat(u,":").concat(c,";")}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}}},{key:"hasAttribute",value:function(t){return"class"==t?this._classes.size>0:"style"==t?this._styles.size>0:this._attrs.has(t)}},{key:"isSimilar",value:function(t){if(!(t instanceof e))return!1;if(this===t)return!0;if(this.name!=t.name)return!1;if(this._attrs.size!==t._attrs.size||this._classes.size!==t._classes.size||this._styles.size!==t._styles.size)return!1;var r=!0,n=!1,o=void 0;try{for(var i,a=this._attrs[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=h(i.value,2),u=s[0],c=s[1];if(!t._attrs.has(u)||t._attrs.get(u)!==c)return!1}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}var l=!0,f=!1,p=void 0;try{for(var d,y=this._classes[Symbol.iterator]();!(l=(d=y.next()).done);l=!0){var v=d.value;if(!t._classes.has(v))return!1}}catch(t){f=!0,p=t}finally{try{l||null==y.return||y.return()}finally{if(f)throw p}}var b=!0,g=!1,m=void 0;try{for(var w,k=this._styles[Symbol.iterator]();!(b=(w=k.next()).done);b=!0){var _=h(w.value,2),O=_[0],S=_[1];if(!t._styles.has(O)||t._styles.get(O)!==S)return!1}}catch(t){g=!0,m=t}finally{try{b||null==k.return||k.return()}finally{if(g)throw m}}return!0}},{key:"hasClass",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=0,o=e;n<o.length;n++){var i=o[n];if(!this._classes.has(i))return!1}return!0}},{key:"getClassNames",value:function(){return this._classes.keys()}},{key:"getStyle",value:function(t){return this._styles.get(t)}},{key:"getStyleNames",value:function(){return this._styles.keys()}},{key:"hasStyle",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=0,o=e;n<o.length;n++){var i=o[n];if(!this._styles.has(i))return!1}return!0}},{key:"findAncestor",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=f(u.a,e),o=this.parent;o;){if(n.match(o))return o;o=o.parent}return null}},{key:"getCustomProperty",value:function(t){return this._customProperties.get(t)}},{key:"getCustomProperties",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._customProperties.entries(),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"getIdentity",value:function(){var t=Array.from(this._classes).sort().join(","),e=Array.from(this._styles).map((function(t){return"".concat(t[0],":").concat(t[1])})).sort().join(";"),r=Array.from(this._attrs).map((function(t){return"".concat(t[0],'="').concat(t[1],'"')})).sort().join(" ");return this.name+(""==t?"":' class="'.concat(t,'"'))+(""==e?"":' style="'.concat(e,'"'))+(""==r?"":" ".concat(r))}},{key:"_clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=[];if(t){var r=!0,n=!1,o=void 0;try{for(var i,a=this.getChildren()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e.push(s._clone(t))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}var u=new this.constructor(this.name,this._attrs,e);return u._classes=new Set(this._classes),u._styles=new Map(this._styles),u._customProperties=new Map(this._customProperties),u.getFillerOffset=this.getFillerOffset,u}},{key:"_appendChild",value:function(t){return this._insertChild(this.childCount,t)}},{key:"_insertChild",value:function(t,e){this._fireChange("children",this);var r=0,n=function(t){return"string"==typeof t?[new o.a(t)]:(Object(s.a)(t)||(t=[t]),Array.from(t).map((function(t){return"string"==typeof t?new o.a(t):t instanceof i.a?new o.a(t.data):t})))}(e),a=!0,u=!1,c=void 0;try{for(var l,f=n[Symbol.iterator]();!(a=(l=f.next()).done);a=!0){var h=l.value;null!==h.parent&&h._remove(),h.parent=this,this._children.splice(t,0,h),t++,r++}}catch(t){u=!0,c=t}finally{try{a||null==f.return||f.return()}finally{if(u)throw c}}return r}},{key:"_removeChildren",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._fireChange("children",this);for(var r=t;r<t+e;r++)this._children[r].parent=null;return this._children.splice(t,e)}},{key:"_setAttribute",value:function(t,e){e=String(e),this._fireChange("attributes",this),"class"==t?k(this._classes,e):"style"==t?w(this._styles,e):this._attrs.set(t,e)}},{key:"_removeAttribute",value:function(t){return this._fireChange("attributes",this),"class"==t?this._classes.size>0&&(this._classes.clear(),!0):"style"==t?this._styles.size>0&&(this._styles.clear(),!0):this._attrs.delete(t)}},{key:"_addClass",value:function(t){var e=this;this._fireChange("attributes",this),(t=Array.isArray(t)?t:[t]).forEach((function(t){return e._classes.add(t)}))}},{key:"_removeClass",value:function(t){var e=this;this._fireChange("attributes",this),(t=Array.isArray(t)?t:[t]).forEach((function(t){return e._classes.delete(t)}))}},{key:"_setStyle",value:function(t,e){if(this._fireChange("attributes",this),Object(c.a)(t))for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];this._styles.set(o,t[o])}else this._styles.set(t,e)}},{key:"_removeStyle",value:function(t){var e=this;this._fireChange("attributes",this),(t=Array.isArray(t)?t:[t]).forEach((function(t){return e._styles.delete(t)}))}},{key:"_setCustomProperty",value:function(t,e){this._customProperties.set(t,e)}},{key:"_removeCustomProperty",value:function(t){return this._customProperties.delete(t)}},{key:"childCount",get:function(){return this._children.length}},{key:"isEmpty",get:function(){return 0===this._children.length}}])&&d(r.prototype,n),l&&d(r,l),e}(n.a);function w(t,e){var r=null,n=0,o=0,i=null;if(t.clear(),""!==e){";"!=e.charAt(e.length-1)&&(e+=";");for(var a=0;a<e.length;a++){var s=e.charAt(a);if(null===r)switch(s){case":":i||(i=e.substr(n,a-n),o=a+1);break;case'"':case"'":r=s;break;case";":var u=e.substr(o,a-o);i&&t.set(i.trim(),u.trim()),i=null,n=a+1}else s===r&&(r=null)}}}function k(t,e){var r=e.split(/\s+/);t.clear(),r.forEach((function(e){return t.add(e)}))}},648:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t,e){for(var r=Math.min(t.length,e.length),n=0;n<r;n++)if(t[n]!=e[n])return n;return t.length==e.length?"same":t.length<e.length?"prefix":"extension"}r.d(e,"a",(function(){return n}))},649:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t,e,r){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return c}));var c=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=i(this,s(e).call(this)))._textData=t,r}var r,n,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){return"text"==t||"view:text"==t||a(s(e.prototype),"is",this).call(this,t)}},{key:"isSimilar",value:function(t){return t instanceof e&&(this===t||this.data===t.data)}},{key:"_clone",value:function(){return new e(this.data)}},{key:"data",get:function(){return this._textData}},{key:"_data",get:function(){return this.data},set:function(t){this._fireChange("text",this),this._textData=t}}])&&o(r.prototype,n),c&&o(r,c),e}(r(681).a)},650:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */e.a={window:window,document:document}},655:function(t,e,r){"use strict";var n,o=r(888),i=r(625).a["__core-js_shared__"],a=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";var s=function(t){return!!a&&a in t},u=r(638),c=r(887),l=/^\[object .+?Constructor\]$/,f=Function.prototype,h=Object.prototype,p=f.toString,d=h.hasOwnProperty,y=RegExp("^"+p.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var v=function(t){return!(!Object(u.a)(t)||s(t))&&(Object(o.a)(t)?y:l).test(Object(c.a)(t))};var b=function(t,e){return null==t?void 0:t[e]};e.a=function(t,e){var r=b(t,e);return v(r)?r:void 0}},658:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(){for(var t="e",e=0;e<8;e++)t+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return t}r.d(e,"a",(function(){return n}))},659:function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));var n=r(613),o=r(683),i=r(640),a=r(616),s=r(621),u=r(681),c=r(647),l=r(904),f=r(639),h=r(903);function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var d=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",this.setTo(e,r,n)}var e,r,a;return e=t,(r=[{key:"getRanges",value:regeneratorRuntime.mark((function t(){var e,r,n,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=!0,r=!1,n=void 0,t.prev=3,o=this._ranges[Symbol.iterator]();case 5:if(e=(i=o.next()).done){t.next=12;break}return a=i.value,t.next=9,a.clone();case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),r=!0,n=t.t0;case 18:t.prev=18,t.prev=19,e||null==o.return||o.return();case 21:if(t.prev=21,!r){t.next=24;break}throw n;case 24:return t.finish(21);case 25:return t.finish(18);case 26:case"end":return t.stop()}}),t,this,[[3,14,18,26],[19,,21,25]])}))},{key:"getFirstRange",value:function(){var t=null,e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;t&&!a.start.isBefore(t.start)||(t=a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t?t.clone():null}},{key:"getLastRange",value:function(){var t=null,e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;t&&!a.end.isAfter(t.end)||(t=a)}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t?t.clone():null}},{key:"getFirstPosition",value:function(){var t=this.getFirstRange();return t?t.start.clone():null}},{key:"getLastPosition",value:function(){var t=this.getLastRange();return t?t.end.clone():null}},{key:"isEqual",value:function(t){if(this.isFake!=t.isFake)return!1;if(this.isFake&&this.fakeSelectionLabel!=t.fakeSelectionLabel)return!1;if(this.rangeCount!=t.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(t.anchor)||!this.focus.isEqual(t.focus))return!1;var e=!0,r=!1,n=void 0;try{for(var o,i=this._ranges[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value,s=!1,u=!0,c=!1,l=void 0;try{for(var f,h=t._ranges[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;if(a.isEqual(p)){s=!0;break}}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}if(!s)return!1}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return!0}},{key:"isSimilar",value:function(t){if(this.isBackward!=t.isBackward)return!1;var e=Object(l.a)(this.getRanges());if(e!=Object(l.a)(t.getRanges()))return!1;if(0==e)return!0;var r=!0,n=!1,o=void 0;try{for(var i,a=this.getRanges()[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;s=s.getTrimmed();var u=!1,c=!0,f=!1,h=void 0;try{for(var p,d=t.getRanges()[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){var y=p.value;if(y=y.getTrimmed(),s.start.isEqual(y.start)&&s.end.isEqual(y.end)){u=!0;break}}}catch(t){f=!0,h=t}finally{try{c||null==d.return||d.return()}finally{if(f)throw h}}if(!u)return!1}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!0}},{key:"getSelectedElement",value:function(){if(1!==this.rangeCount)return null;var t=this.getFirstRange(),e=t.start.nodeAfter,r=t.end.nodeBefore;return t.start.parent.is("text")&&t.start.isAtEnd&&t.start.parent.nextSibling&&(e=t.start.parent.nextSibling),t.end.parent.is("text")&&t.end.isAtStart&&t.end.parent.previousSibling&&(r=t.end.parent.previousSibling),e instanceof c.a&&e==r?e:null}},{key:"setTo",value:function(e,r,a){if(null===e)this._setRanges([]),this._setFakeOptions(r);else if(e instanceof t||e instanceof h.a)this._setRanges(e.getRanges(),e.isBackward),this._setFakeOptions({fake:e.isFake,label:e.fakeSelectionLabel});else if(e instanceof o.a)this._setRanges([e],r&&r.backward),this._setFakeOptions(r);else if(e instanceof i.a)this._setRanges([new o.a(e)]),this._setFakeOptions(r);else if(e instanceof u.a){var s,c=!!a&&!!a.backward;if(void 0===r)throw new n.b("view-selection-setTo-required-second-parameter: selection.setTo requires the second parameter when the first parameter is a node.",this);s="in"==r?o.a._createIn(e):"on"==r?o.a._createOn(e):new o.a(i.a._createAt(e,r)),this._setRanges([s],c),this._setFakeOptions(a)}else{if(!Object(f.a)(e))throw new n.b("view-selection-setTo-not-selectable: Cannot set selection to given place.",this);this._setRanges(e,r&&r.backward),this._setFakeOptions(r)}this.fire("change")}},{key:"setFocus",value:function(t,e){if(null===this.anchor)throw new n.b("view-selection-setFocus-no-ranges: Cannot set selection focus if there are no ranges in selection.",this);var r=i.a._createAt(t,e);if("same"!=r.compareWith(this.focus)){var a=this.anchor;this._ranges.pop(),"before"==r.compareWith(a)?this._addRange(new o.a(r,a),!0):this._addRange(new o.a(a,r)),this.fire("change")}}},{key:"is",value:function(t){return"selection"==t||"view:selection"==t}},{key:"_setRanges",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=Array.from(t),this._ranges=[];var r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;this._addRange(s)}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}this._lastRangeBackward=!!e}},{key:"_setFakeOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._isFake=!!t.fake,this._fakeSelectionLabel=t.fake&&t.label||""}},{key:"_addRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(t instanceof o.a))throw new n.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}},{key:"_pushRange",value:function(t){var e=!0,r=!1,i=void 0;try{for(var a,s=this._ranges[Symbol.iterator]();!(e=(a=s.next()).done);e=!0){var u=a.value;if(t.isIntersecting(u))throw new n.b("view-selection-range-intersects: Trying to add a range that intersects with another range from selection.",this,{addedRange:t,intersectingRange:u})}}catch(t){r=!0,i=t}finally{try{e||null==s.return||s.return()}finally{if(r)throw i}}this._ranges.push(new o.a(t.start,t.end))}},{key:"isFake",get:function(){return this._isFake}},{key:"fakeSelectionLabel",get:function(){return this._fakeSelectionLabel}},{key:"anchor",get:function(){if(!this._ranges.length)return null;var t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.end:t.start).clone()}},{key:"focus",get:function(){if(!this._ranges.length)return null;var t=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?t.start:t.end).clone()}},{key:"isCollapsed",get:function(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}},{key:"rangeCount",get:function(){return this._ranges.length}},{key:"isBackward",get:function(){return!this.isCollapsed&&this._lastRangeBackward}},{key:"editableElement",get:function(){return this.anchor?this.anchor.editableElement:null}}])&&p(e.prototype,r),a&&p(e,a),t}();Object(a.a)(d,s.c)},660:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(621),o=r(613),i=r(658),a=r(616);function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._items=[],this._itemMap=new Map,this._idProperty=e.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[]}var e,r,n;return e=t,(r=[{key:"add",value:function(t,e){var r,n=this._idProperty;if(n in t){if("string"!=typeof(r=t[n]))throw new o.b("collection-add-invalid-id",this);if(this.get(r))throw new o.b("collection-add-item-already-exists",this)}else t[n]=r=Object(i.a)();if(void 0===e)e=this._items.length;else if(e>this._items.length||e<0)throw new o.b("collection-add-item-invalid-index",this);return this._items.splice(e,0,t),this._itemMap.set(r,t),this.fire("add",t,e),this}},{key:"get",value:function(t){var e;if("string"==typeof t)e=this._itemMap.get(t);else{if("number"!=typeof t)throw new o.b("collection-get-invalid-arg: Index or id must be given.",this);e=this._items[t]}return e||null}},{key:"has",value:function(t){if("string"==typeof t)return this._itemMap.has(t);var e=t[this._idProperty];return this._itemMap.has(e)}},{key:"getIndex",value:function(t){var e;return e="string"==typeof t?this._itemMap.get(t):t,this._items.indexOf(e)}},{key:"remove",value:function(t){var e,r,n,i=!1,a=this._idProperty;if("string"==typeof t?(r=t,i=!(n=this._itemMap.get(r)),n&&(e=this._items.indexOf(n))):"number"==typeof t?(e=t,i=!(n=this._items[e]),n&&(r=n[a])):(r=(n=t)[a],i=-1==(e=this._items.indexOf(n))||!this._itemMap.get(r)),i)throw new o.b("collection-remove-404: Item not found.",this);this._items.splice(e,1),this._itemMap.delete(r);var s=this._bindToInternalToExternalMap.get(n);return this._bindToInternalToExternalMap.delete(n),this._bindToExternalToInternalMap.delete(s),this.fire("remove",n,e),n}},{key:"map",value:function(t,e){return this._items.map(t,e)}},{key:"find",value:function(t,e){return this._items.find(t,e)}},{key:"filter",value:function(t,e){return this._items.filter(t,e)}},{key:"clear",value:function(){for(this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);this.length;)this.remove(0)}},{key:"bindTo",value:function(t){var e=this;if(this._bindToCollection)throw new o.b("collection-bind-to-rebind: The collection cannot be bound more than once.",this);return this._bindToCollection=t,{as:function(t){e._setUpBindToBinding((function(e){return new t(e)}))},using:function(t){"function"==typeof t?e._setUpBindToBinding((function(e){return t(e)})):e._setUpBindToBinding((function(e){return e[t]}))}}}},{key:"_setUpBindToBinding",value:function(t){var e=this,r=this._bindToCollection,n=function(n,o,i){var a=r._bindToCollection==e,s=r._bindToInternalToExternalMap.get(o);if(a&&s)e._bindToExternalToInternalMap.set(o,s),e._bindToInternalToExternalMap.set(s,o);else{var u=t(o);if(!u)return void e._skippedIndexesFromExternal.push(i);var c=i,l=!0,f=!1,h=void 0;try{for(var p,d=e._skippedIndexesFromExternal[Symbol.iterator]();!(l=(p=d.next()).done);l=!0)i>p.value&&c--}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}var y=!0,v=!1,b=void 0;try{for(var g,m=r._skippedIndexesFromExternal[Symbol.iterator]();!(y=(g=m.next()).done);y=!0)c>=g.value&&c++}catch(t){v=!0,b=t}finally{try{y||null==m.return||m.return()}finally{if(v)throw b}}e._bindToExternalToInternalMap.set(o,u),e._bindToInternalToExternalMap.set(u,o),e.add(u,c);for(var w=0;w<r._skippedIndexesFromExternal.length;w++)c<=r._skippedIndexesFromExternal[w]&&r._skippedIndexesFromExternal[w]++}},o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;n(0,c,r.getIndex(c))}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}this.listenTo(r,"add",n),this.listenTo(r,"remove",(function(t,r,n){var o=e._bindToExternalToInternalMap.get(r);o&&e.remove(o),e._skippedIndexesFromExternal=e._skippedIndexesFromExternal.reduce((function(t,e){return n<e&&t.push(e-1),n>e&&t.push(e),t}),[])}))}},{key:Symbol.iterator,value:function(){return this._items[Symbol.iterator]()}},{key:"length",get:function(){return this._items.length}},{key:"first",get:function(){return this._items[0]||null}},{key:"last",get:function(){return this._items[this.length-1]||null}}])&&s(e.prototype,r),n&&s(e,n),t}();Object(a.a)(u,n.c)},661:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var n=navigator.userAgent.toLowerCase(),o={isMac:function(t){return t.indexOf("macintosh")>-1}(n),isEdge:function(t){return!!t.match(/edge\/(\d+.?\d*)/)}(n),isGecko:function(t){return!!t.match(/gecko\/\d+/)}(n),isSafari:function(t){return t.indexOf(" applewebkit/")>-1&&-1===t.indexOf("chrome")}(n),isAndroid:function(t){return t.indexOf("android")>-1}(n),features:{isRegExpUnicodePropertySupported:function(){var t=!1;try{t=0==="ć".search(new RegExp("[\\p{L}]","u"))}catch(t){}return t}()}};e.a=o},662:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(685),o=r(616);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.view=e,this.document=e.document,this.isEnabled=!1}var e,r,n;return e=t,(r=[{key:"enable",value:function(){this.isEnabled=!0}},{key:"disable",value:function(){this.isEnabled=!1}},{key:"destroy",value:function(){this.disable(),this.stopListening()}}])&&i(e.prototype,r),n&&i(e,n),t}();Object(o.a)(a,n.a)},663:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(662),o=r(814);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var l=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=s(this,u(e).call(this,t))).useCapture=!1,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,(n=[{key:"observe",value:function(t){var e=this;("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach((function(r){e.listenTo(t,r,(function(t,r){e.isEnabled&&e.onDomEvent(r)}),{useCapture:e.useCapture})}))}},{key:"fire",value:function(t,e,r){this.isEnabled&&this.document.fire(t,new o.a(this.view,e,r))}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a)},664:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(815),o=r(906),i=r(908),a=r(684),s=r(1484);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=["top","right","bottom","left","width","height"],l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var r=Object(n.a)(e);if(Object.defineProperty(this,"_source",{value:e._source||e,writable:!0,enumerable:!1}),Object(s.a)(e)||r)f(this,r?t.getDomRangeRects(e)[0]:e.getBoundingClientRect());else if(Object(o.a)(e)){var i=e.innerWidth,a=e.innerHeight;f(this,{top:0,right:i,bottom:a,left:0,width:i,height:a})}else f(this,e)}var e,r,l;return e=t,l=[{key:"getDomRangeRects",value:function(e){var r=[],n=Array.from(e.getClientRects());if(n.length){var o=!0,i=!1,s=void 0;try{for(var u,c=n[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var l=u.value;r.push(new t(l))}}catch(t){i=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw s}}}else{var f=e.startContainer;Object(a.a)(f)&&(f=f.parentNode);var h=new t(f.getBoundingClientRect());h.right=h.left,h.width=0,r.push(h)}return r}}],(r=[{key:"clone",value:function(){return new t(this)}},{key:"moveTo",value:function(t,e){return this.top=e,this.right=t+this.width,this.bottom=e+this.height,this.left=t,this}},{key:"moveBy",value:function(t,e){return this.top+=e,this.right+=t,this.left+=t,this.bottom+=e,this}},{key:"getIntersection",value:function(e){var r={top:Math.max(this.top,e.top),right:Math.min(this.right,e.right),bottom:Math.min(this.bottom,e.bottom),left:Math.max(this.left,e.left)};return r.width=r.right-r.left,r.height=r.bottom-r.top,r.width<0||r.height<0?null:new t(r)}},{key:"getIntersectionArea",value:function(t){var e=this.getIntersection(t);return e?e.getArea():0}},{key:"getArea",value:function(){return this.width*this.height}},{key:"getVisible",value:function(){var e=this._source,r=this.clone();if(!h(e))for(var n=e.parentNode||e.commonAncestorContainer;n&&!h(n);){var o=new t(n),i=r.getIntersection(o);if(!i)return null;i.getArea()<r.getArea()&&(r=i),n=n.parentNode}return r}},{key:"isEqual",value:function(t){var e=!0,r=!1,n=void 0;try{for(var o,i=c[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;if(this[a]!==t[a])return!1}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return!0}},{key:"contains",value:function(t){var e=this.getIntersection(t);return!(!e||!e.isEqual(t))}},{key:"excludeScrollbarsAndBorders",value:function(){var t,e,r,n=this._source;if(Object(o.a)(n))t=n.innerWidth-n.document.documentElement.clientWidth,e=n.innerHeight-n.document.documentElement.clientHeight,r=n.getComputedStyle(n.document.documentElement).direction;else{var a=Object(i.a)(this._source);t=n.offsetWidth-n.clientWidth-a.left-a.right,e=n.offsetHeight-n.clientHeight-a.top-a.bottom,r=n.ownerDocument.defaultView.getComputedStyle(n).direction,this.left+=a.left,this.top+=a.top,this.right-=a.right,this.bottom-=a.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=t,"ltr"===r?this.right-=t:this.left+=t,this.height-=e,this.bottom-=e,this}}])&&u(e.prototype,r),l&&u(e,l),t}();function f(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=c[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;t[s]=e[s]}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}function h(t){return!!Object(s.a)(t)&&t===t.ownerDocument.body}},665:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(613);function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var i=function(){function t(e,r,o){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.textNode=e,r<0||r>e.offsetSize)throw new n.b("model-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.",this);if(o<0||r+o>e.offsetSize)throw new n.b("model-textproxy-wrong-length: Given length value is incorrect.",this);this.data=e.data.substring(r,r+o),this.offsetInText=r}var e,r,i;return e=t,(r=[{key:"is",value:function(t){return"textProxy"==t||"model:textProxy"==t}},{key:"getPath",value:function(){var t=this.textNode.getPath();return t.length>0&&(t[t.length-1]+=this.offsetInText),t}},{key:"getAncestors",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeSelf:!1,parentFirst:!1},e=[],r=t.includeSelf?this:this.parent;r;)e[t.parentFirst?"push":"unshift"](r),r=r.parent;return e}},{key:"hasAttribute",value:function(t){return this.textNode.hasAttribute(t)}},{key:"getAttribute",value:function(t){return this.textNode.getAttribute(t)}},{key:"getAttributes",value:function(){return this.textNode.getAttributes()}},{key:"getAttributeKeys",value:function(){return this.textNode.getAttributeKeys()}},{key:"startOffset",get:function(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}},{key:"offsetSize",get:function(){return this.data.length}},{key:"endOffset",get:function(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}},{key:"isPartial",get:function(){return this.offsetSize!==this.textNode.offsetSize}},{key:"parent",get:function(){return this.textNode.parent}},{key:"root",get:function(){return this.textNode.root}},{key:"document",get:function(){return this.textNode.document}}])&&o(e.prototype,r),i&&o(e,i),t}()},666:function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"d",(function(){return f})),r.d(e,"b",(function(){return h})),r.d(e,"e",(function(){return p})),r.d(e,"c",(function(){return d}));var n=r(686),o=r(634),i=r(665),a=r(619),s=r(909),u=r(705),c=r(613);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function l(t,e){var r=(e=d(e)).reduce((function(t,e){return t+e.offsetSize}),0),n=t.parent;v(t);var o=t.index;return n._insertChild(o,e),y(n,o+e.length),y(n,o),new a.a(t,t.getShiftedBy(r))}function f(t){if(!t.isFlat)throw new c.b("operation-utils-remove-range-not-flat: Trying to remove a range which starts and ends in different element.",this);var e=t.start.parent;v(t.start),v(t.end);var r=e._removeChildren(t.start.index,t.end.index-t.start.index);return y(e,t.start.index),r}function h(t,e){if(!t.isFlat)throw new c.b("operation-utils-move-range-not-flat: Trying to move a range which starts and ends in different element.",this);var r=f(t);return l(e=e._getTransformedByDeletion(t.start,t.end.offset-t.start.offset),r)}function p(t,e,r){v(t.start),v(t.end);var n=!0,o=!1,i=void 0;try{for(var a,s=t.getItems({shallow:!0})[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c=u.is("textProxy")?u.textNode:u;null!==r?c._setAttribute(e,r):c._removeAttribute(e),y(c.parent,c.index)}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}y(t.end.parent,t.end.index)}function d(t){var e=[];t instanceof Array||(t=[t]);for(var r=0;r<t.length;r++)if("string"==typeof t[r])e.push(new o.a(t[r]));else if(t[r]instanceof i.a)e.push(new o.a(t[r].data,t[r].getAttributes()));else if(t[r]instanceof s.a||t[r]instanceof u.a){var a=!0,c=!1,l=void 0;try{for(var f,h=t[r][Symbol.iterator]();!(a=(f=h.next()).done);a=!0){var p=f.value;e.push(p)}}catch(t){c=!0,l=t}finally{try{a||null==h.return||h.return()}finally{if(c)throw l}}}else t[r]instanceof n.a&&e.push(t[r]);for(var d=1;d<e.length;d++){var y=e[d],v=e[d-1];y instanceof o.a&&v instanceof o.a&&b(y,v)&&(e.splice(d-1,2,new o.a(v.data+y.data,v.getAttributes())),d--)}return e}function y(t,e){var r=t.getChild(e-1),n=t.getChild(e);if(r&&n&&r.is("text")&&n.is("text")&&b(r,n)){var i=new o.a(r.data+n.data,r.getAttributes());t._removeChildren(e-1,2),t._insertChild(e-1,i)}}function v(t){var e=t.textNode,r=t.parent;if(e){var n=t.offset-e.startOffset,i=e.index;r._removeChildren(i,1);var a=new o.a(e.data.substr(0,n),e.getAttributes()),s=new o.a(e.data.substr(n),e.getAttributes());r._insertChild(i,[a,s])}}function b(t,e){var r=t.getAttributes(),n=e.getAttributes(),o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;if(c[1]!==e.getAttribute(c[0]))return!1;n.next()}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return n.next().done}},667:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(685),o=r(628);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._listener=Object.create(n.a)}var e,r,a;return e=t,(r=[{key:"listenTo",value:function(t){var e=this;this._listener.listenTo(t,"keydown",(function(t,r){e._listener.fire("_keydown:"+Object(o.a)(r),r)}))}},{key:"set",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object(o.d)(t),i=r.priority;this._listener.listenTo(this._listener,"_keydown:"+n,(function(t,r){e(r,(function(){r.preventDefault(),r.stopPropagation(),t.stop()})),t.return=!0}),{priority:i})}},{key:"press",value:function(t){return!!this._listener.fire("_keydown:"+Object(o.a)(t),t)}},{key:"destroy",value:function(){this._listener.stopListening()}}])&&i(e.prototype,r),a&&i(e,a),t}()},668:function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},676:function(t,e,r){"use strict";var n=r(678),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n.a?n.a.toStringTag:void 0;var u=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[s]=r:delete t[s]),o},c=Object.prototype.toString;var l=function(t){return c.call(t)},f="[object Null]",h="[object Undefined]",p=n.a?n.a.toStringTag:void 0;e.a=function(t){return null==t?void 0===t?h:f:p&&p in Object(t)?u(t):l(t)}},678:function(t,e,r){"use strict";var n=r(625).a.Symbol;e.a=n},679:function(t,e,r){"use strict";var n=Array.isArray;e.a=n},680:function(t,e,r){"use strict";var n=r(891),o=r(889);e.a=function(t,e,r,i){var a=!r;r||(r={});for(var s=-1,u=e.length;++s<u;){var c=e[s],l=i?i(r[c],t[c],c,r,t):void 0;void 0===l&&(l=t[c]),a?Object(o.a)(r,c,l):Object(n.a)(r,c,l)}return r}},681:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(613),o=r(621),i=r(616),a=r(648),s=r(1485);r(682);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parent=null}var e,r,o;return e=t,(r=[{key:"getPath",value:function(){for(var t=[],e=this;e.parent;)t.unshift(e.index),e=e.parent;return t}},{key:"getAncestors",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeSelf:!1,parentFirst:!1},e=[],r=t.includeSelf?this:this.parent;r;)e[t.parentFirst?"push":"unshift"](r),r=r.parent;return e}},{key:"getCommonAncestor",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getAncestors(e),n=t.getAncestors(e),o=0;r[o]==n[o]&&r[o];)o++;return 0===o?null:r[o-1]}},{key:"isBefore",value:function(t){if(this==t)return!1;if(this.root!==t.root)return!1;var e=this.getPath(),r=t.getPath(),n=Object(a.a)(e,r);switch(n){case"prefix":return!0;case"extension":return!1;default:return e[n]<r[n]}}},{key:"isAfter",value:function(t){return this!=t&&this.root===t.root&&!this.isBefore(t)}},{key:"_remove",value:function(){this.parent._removeChildren(this.index)}},{key:"_fireChange",value:function(t,e){this.fire("change:"+t,e),this.parent&&this.parent._fireChange(t,e)}},{key:"toJSON",value:function(){var t=Object(s.a)(this);return delete t.parent,t}},{key:"is",value:function(t){return"node"==t||"view:node"==t}},{key:"index",get:function(){var t;if(!this.parent)return null;if(-1==(t=this.parent.getChildIndex(this)))throw new n.b("view-node-not-found-in-parent: The node's parent does not contain this node.",this);return t}},{key:"nextSibling",get:function(){var t=this.index;return null!==t&&this.parent.getChild(t+1)||null}},{key:"previousSibling",get:function(){var t=this.index;return null!==t&&this.parent.getChild(t-1)||null}},{key:"root",get:function(){for(var t=this;t.parent;)t=t.parent;return t}},{key:"document",get:function(){return this.parent instanceof t?this.parent.document:null}}])&&u(e.prototype,r),o&&u(e,o),t}();Object(i.a)(c,o.c)},682:function(t,e,r){"use strict";(function(t){var e=r(1156),n=r(613);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var i="object"===("undefined"==typeof window?"undefined":o(window))?window:t;if(i.CKEDITOR_VERSION)throw new n.b("ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.",null);i.CKEDITOR_VERSION=e.a}).call(this,r(7))},683:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(640),o=r(810);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var a=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.start=e.clone(),this.end=r?r.clone():e.clone()}var e,r,a;return e=t,r=[{key:Symbol.iterator,value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(new o.a({boundaries:this,ignoreElementEnd:!0}),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"getEnlarged",value:function(){var e=this.start.getLastMatchingPosition(s,{direction:"backward"}),r=this.end.getLastMatchingPosition(s);return e.parent.is("text")&&e.isAtStart&&(e=n.a._createBefore(e.parent)),r.parent.is("text")&&r.isAtEnd&&(r=n.a._createAfter(r.parent)),new t(e,r)}},{key:"getTrimmed",value:function(){var e=this.start.getLastMatchingPosition(s);if(e.isAfter(this.end)||e.isEqual(this.end))return new t(e,e);var r=this.end.getLastMatchingPosition(s,{direction:"backward"}),o=e.nodeAfter,i=r.nodeBefore;return o&&o.is("text")&&(e=new n.a(o,0)),i&&i.is("text")&&(r=new n.a(i,i.data.length)),new t(e,r)}},{key:"isEqual",value:function(t){return this==t||this.start.isEqual(t.start)&&this.end.isEqual(t.end)}},{key:"containsPosition",value:function(t){return t.isAfter(this.start)&&t.isBefore(this.end)}},{key:"containsRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.isCollapsed&&(e=!1);var r=this.containsPosition(t.start)||e&&this.start.isEqual(t.start),n=this.containsPosition(t.end)||e&&this.end.isEqual(t.end);return r&&n}},{key:"getDifference",value:function(e){var r=[];return this.isIntersecting(e)?(this.containsPosition(e.start)&&r.push(new t(this.start,e.start)),this.containsPosition(e.end)&&r.push(new t(e.end,this.end))):r.push(this.clone()),r}},{key:"getIntersection",value:function(e){if(this.isIntersecting(e)){var r=this.start,n=this.end;return this.containsPosition(e.start)&&(r=e.start),this.containsPosition(e.end)&&(n=e.end),new t(r,n)}return null}},{key:"getWalker",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.boundaries=this,new o.a(t)}},{key:"getCommonAncestor",value:function(){return this.start.getCommonAncestor(this.end)}},{key:"clone",value:function(){return new t(this.start,this.end)}},{key:"getItems",value:regeneratorRuntime.mark((function t(){var e,r,n,i,a,s,u,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=l.length>0&&void 0!==l[0]?l[0]:{}).boundaries=this,e.ignoreElementEnd=!0,r=new o.a(e),n=!0,i=!1,a=void 0,t.prev=7,s=r[Symbol.iterator]();case 9:if(n=(u=s.next()).done){t.next=16;break}return c=u.value,t.next=13,c.item;case 13:n=!0,t.next=9;break;case 16:t.next=22;break;case 18:t.prev=18,t.t0=t.catch(7),i=!0,a=t.t0;case 22:t.prev=22,t.prev=23,n||null==s.return||s.return();case 25:if(t.prev=25,!i){t.next=28;break}throw a;case 28:return t.finish(25);case 29:return t.finish(22);case 30:case"end":return t.stop()}}),t,this,[[7,18,22,30],[23,,25,29]])}))},{key:"getPositions",value:regeneratorRuntime.mark((function t(){var e,r,n,i,a,s,u,c,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=l.length>0&&void 0!==l[0]?l[0]:{}).boundaries=this,r=new o.a(e),t.next=5,r.position;case 5:n=!0,i=!1,a=void 0,t.prev=8,s=r[Symbol.iterator]();case 10:if(n=(u=s.next()).done){t.next=17;break}return c=u.value,t.next=14,c.nextPosition;case 14:n=!0,t.next=10;break;case 17:t.next=23;break;case 19:t.prev=19,t.t0=t.catch(8),i=!0,a=t.t0;case 23:t.prev=23,t.prev=24,n||null==s.return||s.return();case 26:if(t.prev=26,!i){t.next=29;break}throw a;case 29:return t.finish(26);case 30:return t.finish(23);case 31:case"end":return t.stop()}}),t,this,[[8,19,23,31],[24,,26,30]])}))},{key:"is",value:function(t){return"range"==t||"view:range"==t}},{key:"isIntersecting",value:function(t){return this.start.isBefore(t.end)&&this.end.isAfter(t.start)}},{key:"isCollapsed",get:function(){return this.start.isEqual(this.end)}},{key:"isFlat",get:function(){return this.start.parent===this.end.parent}},{key:"root",get:function(){return this.start.root}}],a=[{key:"_createFromParentsAndOffsets",value:function(t,e,r,o){return new this(new n.a(t,e),new n.a(r,o))}},{key:"_createFromPositionAndShift",value:function(t,e){var r=t,n=t.getShiftedBy(e);return e>0?new this(r,n):new this(n,r)}},{key:"_createIn",value:function(t){return this._createFromParentsAndOffsets(t,0,t,t.childCount)}},{key:"_createOn",value:function(t){var e=t.is("textProxy")?t.offsetSize:1;return this._createFromPositionAndShift(n.a._createBefore(t),e)}}],r&&i(e.prototype,r),a&&i(e,a),t}();function s(t){return!(!t.item.is("attributeElement")&&!t.item.is("uiElement"))}},684:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){return"[object Text]"==Object.prototype.toString.call(t)}r.d(e,"a",(function(){return n}))},685:function(t,e,r){"use strict";var n=r(621),o=r(658),i=r(813),a=r(906),s=r(1488);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var u=Object(s.a)({},n.c,{listenTo:function(t){for(var e,r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];if(Object(i.a)(t)||Object(a.a)(t)){var u=this._getProxyEmitter(t)||new c(t);u.attach.apply(u,o),t=u}(e=n.c.listenTo).call.apply(e,[this,t].concat(o))},stopListening:function(t,e,r){if(Object(i.a)(t)||Object(a.a)(t)){var o=this._getProxyEmitter(t);if(!o)return;t=o}n.c.stopListening.call(this,t,e,r),t instanceof c&&t.detach(e)},_getProxyEmitter:function(t){return Object(n.a)(this,l(t))}});e.a=u;var c=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Object(n.b)(this,l(e)),this._domNode=e};function l(t){return t["data-ck-expando"]||(t["data-ck-expando"]=Object(o.a)())}Object(s.a)(c.prototype,n.c,{attach:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._domListeners||!this._domListeners[t]){var n=this._createDomListener(t,!!r.useCapture);this._domNode.addEventListener(t,n,!!r.useCapture),this._domListeners||(this._domListeners={}),this._domListeners[t]=n}},detach:function(t){var e;!this._domListeners[t]||(e=this._events[t])&&e.callbacks.length||this._domListeners[t].removeListener()},_createDomListener:function(t,e){var r=this,n=function(e){r.fire(t,e)};return n.removeListener=function(){r._domNode.removeEventListener(t,n,e),delete r._domListeners[t]},n}})},686:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(704),o=r(613),i=r(648);r(682);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parent=null,this._attrs=Object(n.a)(e)}var e,r,s;return e=t,(r=[{key:"getPath",value:function(){for(var t=[],e=this;e.parent;)t.unshift(e.startOffset),e=e.parent;return t}},{key:"getAncestors",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeSelf:!1,parentFirst:!1},e=[],r=t.includeSelf?this:this.parent;r;)e[t.parentFirst?"push":"unshift"](r),r=r.parent;return e}},{key:"getCommonAncestor",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getAncestors(e),n=t.getAncestors(e),o=0;r[o]==n[o]&&r[o];)o++;return 0===o?null:r[o-1]}},{key:"isBefore",value:function(t){if(this==t)return!1;if(this.root!==t.root)return!1;var e=this.getPath(),r=t.getPath(),n=Object(i.a)(e,r);switch(n){case"prefix":return!0;case"extension":return!1;default:return e[n]<r[n]}}},{key:"isAfter",value:function(t){return this!=t&&this.root===t.root&&!this.isBefore(t)}},{key:"hasAttribute",value:function(t){return this._attrs.has(t)}},{key:"getAttribute",value:function(t){return this._attrs.get(t)}},{key:"getAttributes",value:function(){return this._attrs.entries()}},{key:"getAttributeKeys",value:function(){return this._attrs.keys()}},{key:"toJSON",value:function(){var t={};return this._attrs.size&&(t.attributes=Array.from(this._attrs).reduce((function(t,e){return t[e[0]]=e[1],t}),{})),t}},{key:"is",value:function(t){return"node"==t||"model:node"==t}},{key:"_clone",value:function(){return new t(this._attrs)}},{key:"_remove",value:function(){this.parent._removeChildren(this.index)}},{key:"_setAttribute",value:function(t,e){this._attrs.set(t,e)}},{key:"_setAttributesTo",value:function(t){this._attrs=Object(n.a)(t)}},{key:"_removeAttribute",value:function(t){return this._attrs.delete(t)}},{key:"_clearAttributes",value:function(){this._attrs.clear()}},{key:"index",get:function(){var t;if(!this.parent)return null;if(null===(t=this.parent.getChildIndex(this)))throw new o.b("model-node-not-found-in-parent: The node's parent does not contain this node.",this);return t}},{key:"startOffset",get:function(){var t;if(!this.parent)return null;if(null===(t=this.parent.getChildStartOffset(this)))throw new o.b("model-node-not-found-in-parent: The node's parent does not contain this node.",this);return t}},{key:"offsetSize",get:function(){return 1}},{key:"endOffset",get:function(){return this.parent?this.startOffset+this.offsetSize:null}},{key:"nextSibling",get:function(){var t=this.index;return null!==t&&this.parent.getChild(t+1)||null}},{key:"previousSibling",get:function(){var t=this.index;return null!==t&&this.parent.getChild(t-1)||null}},{key:"root",get:function(){for(var t=this;t.parent;)t=t.parent;return t}},{key:"document",get:function(){return this.root==this?null:this.root.document||null}}])&&a(e.prototype,r),s&&a(e,s),t}()},701:function(t,e,r){"use strict";e.a=function(t,e){return t===e||t!=t&&e!=e}},702:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"h",(function(){return c})),r.d(e,"g",(function(){return l})),r.d(e,"e",(function(){return f})),r.d(e,"f",(function(){return h}));var n=r(628),o=r(684),i=function(t){return t.createTextNode(" ")},a=function(t){var e=t.createElement("br");return e.dataset.ckeFiller=!0,e},s=7,u=function(){for(var t="",e=0;e<s;e++)t+="​";return t}();function c(t){return Object(o.a)(t)&&t.data.substr(0,s)===u}function l(t){return t.data.length==s&&c(t)}function f(t){return c(t)?t.data.slice(s):t.data}function h(t){t.document.on("keydown",p)}function p(t,e){if(e.keyCode==n.c.arrowleft){var r=e.domTarget.ownerDocument.defaultView.getSelection();if(1==r.rangeCount&&r.getRangeAt(0).collapsed){var o=r.getRangeAt(0).startContainer,i=r.getRangeAt(0).startOffset;c(o)&&i<=s&&r.collapse(o,0)}}}},703:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(634),o=r(665),i=r(626),a=r(622),s=r(613);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e.boundaries&&!e.startPosition)throw new s.b("model-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.",null);var r=e.direction||"forward";if("forward"!=r&&"backward"!=r)throw new s.b("model-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.",e,{direction:r});this.direction=r,this.boundaries=e.boundaries||null,e.startPosition?this.position=e.startPosition.clone():this.position=a.a._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}var e,r,c;return e=t,(r=[{key:Symbol.iterator,value:function(){return this}},{key:"skip",value:function(t){var e,r,n,o;do{n=this.position,o=this._visitedParent;var i=this.next();e=i.done,r=i.value}while(!e&&t(r));e||(this.position=n,this._visitedParent=o)}},{key:"next",value:function(){return"forward"==this.direction?this._next():this._previous()}},{key:"_next",value:function(){var t=this.position,e=this.position.clone(),r=this._visitedParent;if(null===r.parent&&e.offset===r.maxOffset)return{done:!0};if(r===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0};var a=e.textNode?e.textNode:e.nodeAfter;if(a instanceof i.a)return this.shallow?e.offset++:(e.path.push(0),this._visitedParent=a),this.position=e,l("elementStart",a,t,e,1);if(a instanceof n.a){var s;if(this.singleCharacters)s=1;else{var u=a.endOffset;this._boundaryEndParent==r&&this.boundaries.end.offset<u&&(u=this.boundaries.end.offset),s=u-e.offset}var c=e.offset-a.startOffset,f=new o.a(a,c,s);return e.offset+=s,this.position=e,l("text",f,t,e,s)}return e.path.pop(),e.offset++,this.position=e,this._visitedParent=r.parent,this.ignoreElementEnd?this._next():l("elementEnd",r,t,e)}},{key:"_previous",value:function(){var t=this.position,e=this.position.clone(),r=this._visitedParent;if(null===r.parent&&0===e.offset)return{done:!0};if(r==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0};var a=e.textNode?e.textNode:e.nodeBefore;if(a instanceof i.a)return e.offset--,this.shallow?(this.position=e,l("elementStart",a,t,e,1)):(e.path.push(a.maxOffset),this.position=e,this._visitedParent=a,this.ignoreElementEnd?this._previous():l("elementEnd",a,t,e));if(a instanceof n.a){var s;if(this.singleCharacters)s=1;else{var u=a.startOffset;this._boundaryStartParent==r&&this.boundaries.start.offset>u&&(u=this.boundaries.start.offset),s=e.offset-u}var c=e.offset-a.startOffset,f=new o.a(a,c-s,s);return e.offset-=s,this.position=e,l("text",f,t,e,s)}return e.path.pop(),this.position=e,this._visitedParent=r.parent,l("elementStart",r,t,e,1)}}])&&u(e.prototype,r),c&&u(e,c),t}();function l(t,e,r,n,o){return{done:!1,value:{type:t,item:e,previousPosition:r,nextPosition:n,length:o}}}},704:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(901),o=r(1153);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function i(t){return Object(o.a)(t)?Object(n.a)(t):new Map(t)}},705:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(686),o=r(613);function i(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._nodes=[],e&&this._insertNodes(0,e)}var e,r,s;return e=t,(r=[{key:Symbol.iterator,value:function(){return this._nodes[Symbol.iterator]()}},{key:"getNode",value:function(t){return this._nodes[t]||null}},{key:"getNodeIndex",value:function(t){var e=this._nodes.indexOf(t);return-1==e?null:e}},{key:"getNodeStartOffset",value:function(t){var e=this.getNodeIndex(t);return null===e?null:this._nodes.slice(0,e).reduce((function(t,e){return t+e.offsetSize}),0)}},{key:"indexToOffset",value:function(t){if(t==this._nodes.length)return this.maxOffset;var e=this._nodes[t];if(!e)throw new o.b("model-nodelist-index-out-of-bounds: Given index cannot be found in the node list.",this);return this.getNodeStartOffset(e)}},{key:"offsetToIndex",value:function(t){var e=0,r=!0,n=!1,i=void 0;try{for(var a,s=this._nodes[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(t>=e&&t<e+u.offsetSize)return this.getNodeIndex(u);e+=u.offsetSize}}catch(t){n=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}if(e!=t)throw new o.b("model-nodelist-offset-out-of-bounds: Given offset cannot be found in the node list.",this,{offset:t,nodeList:this});return this.length}},{key:"_insertNodes",value:function(t,e){var r,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0)if(!(c.value instanceof n.a))throw new o.b("model-nodelist-insertNodes-not-node: Trying to insert an object which is not a Node instance.",this)}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}(r=this._nodes).splice.apply(r,[t,0].concat(i(e)))}},{key:"_removeNodes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._nodes.splice(t,e)}},{key:"toJSON",value:function(){return this._nodes.map((function(t){return t.toJSON()}))}},{key:"length",get:function(){return this._nodes.length}},{key:"maxOffset",get:function(){return this._nodes.reduce((function(t,e){return t+e.offsetSize}),0)}}])&&a(e.prototype,r),s&&a(e,s),t}()},706:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(613);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var c=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=a(this,s(e).call(this,{idProperty:"viewUid"}))).on("add",(function(t,e,n){e.isRendered||e.render(),e.element&&r._parentElement&&r._parentElement.insertBefore(e.element,r._parentElement.children[n])})),r.on("remove",(function(t,e){e.element&&r._parentElement&&e.element.remove()})),r.locale=t,r._parentElement=null,r}var r,o,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,t),r=e,(o=[{key:"destroy",value:function(){this.map((function(t){return t.destroy()}))}},{key:"setParent",value:function(t){this._parentElement=t}},{key:"delegate",value:function(){for(var t=this,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(!r.length||!l(r))throw new n.b("ui-viewcollection-delegate-wrong-events: All event names must be strings.",this);return{to:function(e){var n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c=!0,l=!1,f=void 0;try{for(var h,p=r[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;u.delegate(d).to(e)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}t.on("add",(function(t,n){var o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;n.delegate(c).to(e)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}})),t.on("remove",(function(t,n){var o=!0,i=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;n.stopDelegating(c,e)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}}))}}}}])&&i(r.prototype,o),c&&i(r,c),e}(r(660).a);function l(t){return t.every((function(t){return"string"==typeof t}))}},707:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(650);function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var i=function(){function t(e){var r=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Object.assign(this,e),e.actions&&e.keystrokeHandler){var n=function(t){var n=e.actions[t];"string"==typeof n&&(n=[n]);var o=!0,i=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var c=s.value;e.keystrokeHandler.set(c,(function(e,n){r[t](),n()}))}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}};for(var o in e.actions)n(o)}}var e,r,n;return e=t,(r=[{key:"focusFirst",value:function(){this._focus(this.first)}},{key:"focusLast",value:function(){this._focus(this.last)}},{key:"focusNext",value:function(){this._focus(this.next)}},{key:"focusPrevious",value:function(){this._focus(this.previous)}},{key:"_focus",value:function(t){t&&t.focus()}},{key:"_getFocusableItem",value:function(t){var e=this.current,r=this.focusables.length;if(!r)return null;if(null===e)return this[1===t?"first":"last"];var n=(e+r+t)%r;do{var o=this.focusables.get(n);if(a(o))return o;n=(n+r+t)%r}while(n!==e);return null}},{key:"first",get:function(){return this.focusables.find(a)||null}},{key:"last",get:function(){return this.focusables.filter(a).slice(-1)[0]||null}},{key:"next",get:function(){return this._getFocusableItem(1)}},{key:"previous",get:function(){return this._getFocusableItem(-1)}},{key:"current",get:function(){var t=this,e=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((function(r,n){var o=r.element===t.focusTracker.focusedElement;return o&&(e=n),o})),e)}}])&&o(e.prototype,r),n&&o(e,n),t}();function a(t){return!(!t.focus||"none"==n.a.window.getComputedStyle(t.element).display)}},708:function(t,e,r){var n=r(924),o=r(928);function i(e,r){return delete t.exports[e],t.exports[e]=r,r}t.exports={Parser:n,Tokenizer:r(925),ElementType:r(668),DomHandler:o,get FeedHandler(){return i("FeedHandler",r(1212))},get Stream(){return i("Stream",r(1223))},get WritableStream(){return i("WritableStream",r(931))},get ProxyHandler(){return i("ProxyHandler",r(1229))},get DomUtils(){return i("DomUtils",r(930))},get CollectingHandler(){return i("CollectingHandler",r(1230))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new o(e);return new n(r,e).end(t),r.dom},parseFeed:function(e,r){var o=new t.exports.FeedHandler(r);return new n(o,r).end(e),o.dom},createDomStream:function(t,e,r){var i=new o(t,e,r);return new n(i,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},709:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},786:function(t,e,r){"use strict";var n=function(){this.__data__=[],this.size=0},o=r(701);var i=function(t,e){for(var r=t.length;r--;)if(Object(o.a)(t[r][0],e))return r;return-1},a=Array.prototype.splice;var s=function(t){var e=this.__data__,r=i(e,t);return!(r<0)&&(r==e.length-1?e.pop():a.call(e,r,1),--this.size,!0)};var u=function(t){var e=this.__data__,r=i(e,t);return r<0?void 0:e[r][1]};var c=function(t){return i(this.__data__,t)>-1};var l=function(t,e){var r=this.__data__,n=i(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function f(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}f.prototype.clear=n,f.prototype.delete=s,f.prototype.get=u,f.prototype.has=c,f.prototype.set=l;e.a=f},787:function(t,e,r){"use strict";var n=r(655),o=r(625),i=Object(n.a)(o.a,"DataView"),a=r(801),s=Object(n.a)(o.a,"Promise"),u=Object(n.a)(o.a,"Set"),c=Object(n.a)(o.a,"WeakMap"),l=r(676),f=r(887),h=Object(f.a)(i),p=Object(f.a)(a.a),d=Object(f.a)(s),y=Object(f.a)(u),v=Object(f.a)(c),b=l.a;(i&&"[object DataView]"!=b(new i(new ArrayBuffer(1)))||a.a&&"[object Map]"!=b(new a.a)||s&&"[object Promise]"!=b(s.resolve())||u&&"[object Set]"!=b(new u)||c&&"[object WeakMap]"!=b(new c))&&(b=function(t){var e=Object(l.a)(t),r="[object Object]"==e?t.constructor:void 0,n=r?Object(f.a)(r):"";if(n)switch(n){case h:return"[object DataView]";case p:return"[object Map]";case d:return"[object Promise]";case y:return"[object Set]";case v:return"[object WeakMap]"}return e});e.a=b},800:function(t,e,r){"use strict";var n=r(886),o=Object(n.a)(Object.getPrototypeOf,Object);e.a=o},801:function(t,e,r){"use strict";var n=r(655),o=r(625),i=Object(n.a)(o.a,"Map");e.a=i},802:function(t,e,r){"use strict";(function(t){var n=r(625),o=r(1154),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?n.a.Buffer:void 0,u=(s?s.isBuffer:void 0)||o.a;e.a=u}).call(this,r(803)(t))},803:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},804:function(t,e,r){"use strict";var n=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},805:function(t,e,r){"use strict";var n=r(888),o=r(894);e.a=function(t){return null!=t&&Object(o.a)(t.length)&&!Object(n.a)(t)}},806:function(t,e,r){"use strict";(function(t){var n=r(885),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.a.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();e.a=s}).call(this,r(803)(t))},807:function(t,e,r){"use strict";e.a=function(t){return function(e){return t(e)}}},808:function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));var n=r(899),o=r(613),i=r(616),a=r(623);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t,e,r){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var p=Symbol("document"),d=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=c(this,f(e).call(this,t,r,n))).set("isReadOnly",!1),o.set("isFocused",!1),o}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t&&t.replace(/^view:/,"");return r?"editableElement"==n&&r==this.name||l(f(e.prototype),"is",this).call(this,t,r):"editableElement"==n||l(f(e.prototype),"is",this).call(this,t)}},{key:"destroy",value:function(){this.stopListening()}},{key:"document",get:function(){return this.getCustomProperty(p)}},{key:"_document",set:function(t){var e=this;if(this.getCustomProperty(p))throw new o.b("view-editableelement-document-already-set: View document is already set.",this);this._setCustomProperty(p,t),this.bind("isReadOnly").to(t),this.bind("isFocused").to(t,"isFocused",(function(r){return r&&t.selection.editableElement==e})),this.listenTo(t.selection,"change",(function(){e.isFocused=t.isFocused&&t.selection.editableElement==e}))}}])&&u(r.prototype,n),i&&u(r,i),e}(n.a);Object(i.a)(d,a.a)},809:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(613);function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var i=function(){function t(e,r,o){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.textNode=e,r<0||r>e.data.length)throw new n.b("view-textproxy-wrong-offsetintext: Given offsetInText value is incorrect.",this);if(o<0||r+o>e.data.length)throw new n.b("view-textproxy-wrong-length: Given length value is incorrect.",this);this.data=e.data.substring(r,r+o),this.offsetInText=r}var e,r,i;return e=t,(r=[{key:"is",value:function(t){return"textProxy"==t||"view:textProxy"==t}},{key:"getAncestors",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeSelf:!1,parentFirst:!1},e=[],r=t.includeSelf?this.textNode:this.parent;null!==r;)e[t.parentFirst?"push":"unshift"](r),r=r.parent;return e}},{key:"offsetSize",get:function(){return this.data.length}},{key:"isPartial",get:function(){return this.data.length!==this.textNode.data.length}},{key:"parent",get:function(){return this.textNode.parent}},{key:"root",get:function(){return this.textNode.root}},{key:"document",get:function(){return this.textNode.document}}])&&o(e.prototype,r),i&&o(e,i),t}()},810:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(647),o=r(649),i=r(809),a=r(640),s=r(613);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e.boundaries&&!e.startPosition)throw new s.b("view-tree-walker-no-start-position: Neither boundaries nor starting position have been defined.",null);if(e.direction&&"forward"!=e.direction&&"backward"!=e.direction)throw new s.b("view-tree-walker-unknown-direction: Only `backward` and `forward` direction allowed.",e.startPosition,{direction:e.direction});this.boundaries=e.boundaries||null,e.startPosition?this.position=a.a._createAt(e.startPosition):this.position=a.a._createAt(e.boundaries["backward"==e.direction?"end":"start"]),this.direction=e.direction||"forward",this.singleCharacters=!!e.singleCharacters,this.shallow=!!e.shallow,this.ignoreElementEnd=!!e.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}var e,r,c;return e=t,(r=[{key:Symbol.iterator,value:function(){return this}},{key:"skip",value:function(t){var e,r,n;do{n=this.position;var o=this.next();e=o.done,r=o.value}while(!e&&t(r));e||(this.position=n)}},{key:"next",value:function(){return"forward"==this.direction?this._next():this._previous()}},{key:"_next",value:function(){var t,e=this.position.clone(),r=this.position,s=e.parent;if(null===s.parent&&e.offset===s.childCount)return{done:!0};if(s===this._boundaryEndParent&&e.offset==this.boundaries.end.offset)return{done:!0};if(s instanceof o.a){if(e.isAtEnd)return this.position=a.a._createAfter(s),this._next();t=s.data[e.offset]}else t=s.getChild(e.offset);if(t instanceof n.a)return this.shallow?e.offset++:e=new a.a(t,0),this.position=e,this._formatReturnValue("elementStart",t,r,e,1);if(t instanceof o.a){if(this.singleCharacters)return e=new a.a(t,0),this.position=e,this._next();var u,c=t.data.length;return t==this._boundaryEndParent?(c=this.boundaries.end.offset,u=new i.a(t,0,c),e=a.a._createAfter(u)):(u=new i.a(t,0,t.data.length),e.offset++),this.position=e,this._formatReturnValue("text",u,r,e,c)}if("string"==typeof t){var l;l=this.singleCharacters?1:(s===this._boundaryEndParent?this.boundaries.end.offset:s.data.length)-e.offset;var f=new i.a(s,e.offset,l);return e.offset+=l,this.position=e,this._formatReturnValue("text",f,r,e,l)}return e=a.a._createAfter(s),this.position=e,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",s,r,e)}},{key:"_previous",value:function(){var t,e=this.position.clone(),r=this.position,s=e.parent;if(null===s.parent&&0===e.offset)return{done:!0};if(s==this._boundaryStartParent&&e.offset==this.boundaries.start.offset)return{done:!0};if(s instanceof o.a){if(e.isAtStart)return this.position=a.a._createBefore(s),this._previous();t=s.data[e.offset-1]}else t=s.getChild(e.offset-1);if(t instanceof n.a)return this.shallow?(e.offset--,this.position=e,this._formatReturnValue("elementStart",t,r,e,1)):(e=new a.a(t,t.childCount),this.position=e,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",t,r,e));if(t instanceof o.a){if(this.singleCharacters)return e=new a.a(t,t.data.length),this.position=e,this._previous();var u,c=t.data.length;if(t==this._boundaryStartParent){var l=this.boundaries.start.offset;c=(u=new i.a(t,l,t.data.length-l)).data.length,e=a.a._createBefore(u)}else u=new i.a(t,0,t.data.length),e.offset--;return this.position=e,this._formatReturnValue("text",u,r,e,c)}if("string"==typeof t){var f;if(this.singleCharacters)f=1;else{var h=s===this._boundaryStartParent?this.boundaries.start.offset:0;f=e.offset-h}e.offset-=f;var p=new i.a(s,e.offset,f);return this.position=e,this._formatReturnValue("text",p,r,e,f)}return e=a.a._createBefore(s),this.position=e,this._formatReturnValue("elementStart",s,r,e,1)}},{key:"_formatReturnValue",value:function(t,e,r,n,o){return e instanceof i.a&&(e.offsetInText+e.data.length==e.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?r=a.a._createAfter(e.textNode):(n=a.a._createAfter(e.textNode),this.position=n)),0===e.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?r=a.a._createBefore(e.textNode):(n=a.a._createBefore(e.textNode),this.position=n))),{done:!1,value:{type:t,item:e,previousPosition:r,nextPosition:n,length:o}}}}])&&u(e.prototype,r),c&&u(e,c),t}()},811:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(649),o=r(809),i=r(616),a=r(639),s=r(621);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._children=[],e&&this._insertChild(0,e)}var e,r,i;return e=t,(r=[{key:Symbol.iterator,value:function(){return this._children[Symbol.iterator]()}},{key:"is",value:function(t){return"documentFragment"==t||"view:documentFragment"==t}},{key:"_appendChild",value:function(t){return this._insertChild(this.childCount,t)}},{key:"getChild",value:function(t){return this._children[t]}},{key:"getChildIndex",value:function(t){return this._children.indexOf(t)}},{key:"getChildren",value:function(){return this._children[Symbol.iterator]()}},{key:"_insertChild",value:function(t,e){this._fireChange("children",this);var r=0,i=function(t){return"string"==typeof t?[new n.a(t)]:(Object(a.a)(t)||(t=[t]),Array.from(t).map((function(t){return"string"==typeof t?new n.a(t):t instanceof o.a?new n.a(t.data):t})))}(e),s=!0,u=!1,c=void 0;try{for(var l,f=i[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value;null!==h.parent&&h._remove(),h.parent=this,this._children.splice(t,0,h),t++,r++}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}return r}},{key:"_removeChildren",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._fireChange("children",this);for(var r=t;r<t+e;r++)this._children[r].parent=null;return this._children.splice(t,e)}},{key:"_fireChange",value:function(t,e){this.fire("change:"+t,e)}},{key:"childCount",get:function(){return this._children.length}},{key:"isEmpty",get:function(){return 0===this.childCount}},{key:"root",get:function(){return this}},{key:"parent",get:function(){return null}}])&&u(e.prototype,r),i&&u(e,i),t}();Object(i.a)(c,s.c)},812:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(905);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function o(t,e,r){r=r||function(t,e){return t===e};var n,i,a=t.length,s=e.length;if(a>200||s>200||a+s>300)return o.fastDiff(t,e,r,!0);if(s<a){var u=t;t=e,e=u,n="delete",i="insert"}else n="insert",i="delete";var c=t.length,l=e.length,f=l-c,h={},p={};function d(o){var a=(void 0!==p[o-1]?p[o-1]:-1)+1,s=void 0!==p[o+1]?p[o+1]:-1,u=a>s?-1:1;h[o+u]&&(h[o]=h[o+u].slice(0)),h[o]||(h[o]=[]),h[o].push(a>s?n:i);for(var f=Math.max(a,s),d=f-o;d<c&&f<l&&r(t[d],e[f]);)d++,f++,h[o].push("equal");return f}var y,v=0;do{for(y=-v;y<f;y++)p[y]=d(y);for(y=f+v;y>f;y--)p[y]=d(y);p[f]=d(f),v++}while(p[f]!==l);return h[f].slice(1)}o.fastDiff=n.a},813:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){if(t){if(t.defaultView)return t instanceof t.defaultView.Document;if(t.ownerDocument&&t.ownerDocument.defaultView)return t instanceof t.ownerDocument.defaultView.Node}return!1}r.d(e,"a",(function(){return n}))},814:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(1488);function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var i=function(){function t(e,r,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.view=e,this.document=e.document,this.domEvent=r,this.domTarget=r.target,Object(n.a)(this,o)}var e,r,i;return e=t,(r=[{key:"preventDefault",value:function(){this.domEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.domEvent.stopPropagation()}},{key:"target",get:function(){return this.view.domConverter.mapDomToView(this.domTarget)}}])&&o(e.prototype,r),i&&o(e,i),t}()},815:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){return"[object Range]"==Object.prototype.toString.apply(t)}r.d(e,"a",(function(){return n}))},816:function(t,e,r){"use strict";r.d(e,"a",(function(){return y}));var n=r(629),o=r(622),i=r(619),a=r(613),s=r(648),u=r(666);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t,e,r){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var y=function(t){function e(t,r,n,o){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=f(this,p(e).call(this,o))).sourcePosition=t.clone(),i.sourcePosition.stickiness="toNext",i.howMany=r,i.targetPosition=n.clone(),i.targetPosition.stickiness="toNone",i}var r,n,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),r=e,c=[{key:"fromJSON",value:function(t,e){var r=o.a.fromJSON(t.sourcePosition,e),n=o.a.fromJSON(t.targetPosition,e);return new this(r,t.howMany,n,t.baseVersion)}},{key:"className",get:function(){return"MoveOperation"}}],(n=[{key:"clone",value:function(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}},{key:"getMovedRangeStart",value:function(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}},{key:"getReversed",value:function(){var t=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new this.constructor(this.getMovedRangeStart(),this.howMany,t,this.baseVersion+1)}},{key:"_validate",value:function(){var t=this.sourcePosition.parent,e=this.targetPosition.parent,r=this.sourcePosition.offset,n=this.targetPosition.offset;if(r+this.howMany>t.maxOffset)throw new a.b("move-operation-nodes-do-not-exist: The nodes which should be moved do not exist.",this);if(t===e&&r<n&&n<r+this.howMany)throw new a.b("move-operation-range-into-itself: Trying to move a range of nodes to the inside of that range.",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==Object(s.a)(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){var o=this.sourcePosition.path.length-1;if(this.targetPosition.path[o]>=r&&this.targetPosition.path[o]<r+this.howMany)throw new a.b("move-operation-node-into-itself: Trying to move a range of nodes into one of nodes from that range.",this)}}},{key:"_execute",value:function(){Object(u.b)(i.a._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}},{key:"toJSON",value:function(){var t=h(p(e.prototype),"toJSON",this).call(this);return t.sourcePosition=this.sourcePosition.toJSON(),t.targetPosition=this.targetPosition.toJSON(),t}},{key:"type",get:function(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}}])&&l(r.prototype,n),c&&l(r,c),e}(n.a)},817:function(t,e,r){"use strict";r.d(e,"a",(function(){return y}));var n=r(629),o=r(818),i=r(622),a=r(619),s=r(666),u=r(613);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t,e,r){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var y=function(t){function e(t,r,n,o){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=f(this,p(e).call(this,o))).splitPosition=t.clone(),i.splitPosition.stickiness="toNext",i.howMany=r,i.insertionPosition=e.getInsertionPosition(t),i.insertionPosition.stickiness="toNone",i.graveyardPosition=n?n.clone():null,i.graveyardPosition&&(i.graveyardPosition.stickiness="toNext"),i}var r,n,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),r=e,c=[{key:"getInsertionPosition",value:function(t){var e=t.path.slice(0,-1);return e[e.length-1]++,new i.a(t.root,e)}},{key:"fromJSON",value:function(t,e){var r=i.a.fromJSON(t.splitPosition,e),n=i.a.fromJSON(t.insertionPosition,e),o=t.graveyardPosition?i.a.fromJSON(t.graveyardPosition,e):null,a=new this(r,t.howMany,o,t.baseVersion);return a.insertionPosition=n,a}},{key:"className",get:function(){return"SplitOperation"}}],(n=[{key:"clone",value:function(){var t=new this.constructor(this.splitPosition,this.howMany,this.graveyardPosition,this.baseVersion);return t.insertionPosition=this.insertionPosition,t}},{key:"getReversed",value:function(){var t=this.splitPosition.root.document.graveyard,e=new i.a(t,[0]);return new o.a(this.moveTargetPosition,this.howMany,this.splitPosition,e,this.baseVersion+1)}},{key:"_validate",value:function(){var t=this.splitPosition.parent,e=this.splitPosition.offset;if(!t||t.maxOffset<e)throw new u.b("split-operation-position-invalid: Split position is invalid.",this);if(!t.parent)throw new u.b("split-operation-split-in-root: Cannot split root element.",this);if(this.howMany!=t.maxOffset-this.splitPosition.offset)throw new u.b("split-operation-how-many-invalid: Split operation specifies wrong number of nodes to move.",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new u.b("split-operation-graveyard-position-invalid: Graveyard position invalid.",this)}},{key:"_execute",value:function(){var t=this.splitPosition.parent;if(this.graveyardPosition)Object(s.b)(a.a._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{var e=t._clone();Object(s.a)(this.insertionPosition,e)}var r=new a.a(i.a._createAt(t,this.splitPosition.offset),i.a._createAt(t,t.maxOffset));Object(s.b)(r,this.moveTargetPosition)}},{key:"toJSON",value:function(){var t=h(p(e.prototype),"toJSON",this).call(this);return t.splitPosition=this.splitPosition.toJSON(),t.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(t.graveyardPosition=this.graveyardPosition.toJSON()),t}},{key:"type",get:function(){return"split"}},{key:"moveTargetPosition",get:function(){var t=this.insertionPosition.path.slice();return t.push(0),new i.a(this.insertionPosition.root,t)}},{key:"movedRange",get:function(){var t=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new a.a(this.splitPosition,t)}}])&&l(r.prototype,n),c&&l(r,c),e}(n.a)},818:function(t,e,r){"use strict";r.d(e,"a",(function(){return y}));var n=r(629),o=r(817),i=r(622),a=r(619),s=r(666),u=r(613);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t,e,r){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var y=function(t){function e(t,r,n,o,i){var a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(a=f(this,p(e).call(this,i))).sourcePosition=t.clone(),a.sourcePosition.stickiness="toPrevious",a.howMany=r,a.targetPosition=n.clone(),a.targetPosition.stickiness="toNext",a.graveyardPosition=o.clone(),a}var r,n,c;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,t),r=e,c=[{key:"fromJSON",value:function(t,e){var r=i.a.fromJSON(t.sourcePosition,e),n=i.a.fromJSON(t.targetPosition,e),o=i.a.fromJSON(t.graveyardPosition,e);return new this(r,t.howMany,n,o,t.baseVersion)}},{key:"className",get:function(){return"MergeOperation"}}],(n=[{key:"clone",value:function(){return new this.constructor(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}},{key:"getReversed",value:function(){var t=this.targetPosition._getTransformedByMergeOperation(this),e=this.sourcePosition.path.slice(0,-1),r=new i.a(this.sourcePosition.root,e)._getTransformedByMergeOperation(this),n=new o.a(t,this.howMany,this.graveyardPosition,this.baseVersion+1);return n.insertionPosition=r,n}},{key:"_validate",value:function(){var t=this.sourcePosition.parent,e=this.targetPosition.parent;if(!t.parent)throw new u.b("merge-operation-source-position-invalid: Merge source position is invalid.",this);if(!e.parent)throw new u.b("merge-operation-target-position-invalid: Merge target position is invalid.",this);if(this.howMany!=t.maxOffset)throw new u.b("merge-operation-how-many-invalid: Merge operation specifies wrong number of nodes to move.",this)}},{key:"_execute",value:function(){var t=this.sourcePosition.parent,e=a.a._createIn(t);Object(s.b)(e,this.targetPosition),Object(s.b)(a.a._createOn(t),this.graveyardPosition)}},{key:"toJSON",value:function(){var t=h(p(e.prototype),"toJSON",this).call(this);return t.sourcePosition=t.sourcePosition.toJSON(),t.targetPosition=t.targetPosition.toJSON(),t.graveyardPosition=t.graveyardPosition.toJSON(),t}},{key:"type",get:function(){return"merge"}},{key:"deletionPosition",get:function(){return new i.a(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}},{key:"movedRange",get:function(){var t=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new a.a(this.sourcePosition,t)}}])&&l(r.prototype,n),c&&l(r,c),e}(n.a)},819:function(t,e,r){var n=r(311);t.exports=function(t,e,r){var o=t.length;return r=void 0===r?o:r,!e&&r>=o?t:n(t,e,r)}},820:function(t,e,r){var n=r(1207),o=r(821),i=r(1208);t.exports=function(t){return o(t)?i(t):n(t)}},821:function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},822:function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},823:function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},867:function(t,e,r){"use strict";var n=r(1133);var o=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},i=r(891),a=r(680),s=r(872);var u=function(t,e){return t&&Object(a.a)(e,Object(s.a)(e),t)},c=r(871);var l=function(t,e){return t&&Object(a.a)(e,Object(c.a)(e),t)},f=r(1155);var h=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e},p=r(873);var d=function(t,e){return Object(a.a)(t,Object(p.a)(t),e)},y=r(893),v=r(800),b=r(892),g=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Object(y.a)(e,Object(p.a)(t)),t=Object(v.a)(t);return e}:b.a;var m=function(t,e){return Object(a.a)(t,g(t),e)},w=r(898),k=r(897);var _=function(t){return Object(k.a)(t,c.a,g)},O=r(787),S=Object.prototype.hasOwnProperty;var x=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&S.call(t,"index")&&(r.index=t.index,r.input=t.input),r},P=r(896);var E=function(t){var e=new t.constructor(t.byteLength);return new P.a(e).set(new P.a(t)),e};var A=function(t,e){var r=e?E(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)},T=/\w*$/;var C=function(t){var e=new t.constructor(t.source,T.exec(t));return e.lastIndex=t.lastIndex,e},j=r(678),R=j.a?j.a.prototype:void 0,D=R?R.valueOf:void 0;var N=function(t){return D?Object(D.call(t)):{}};var q=function(t,e){var r=e?E(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)},B="[object Boolean]",I="[object Date]",L="[object Map]",M="[object Number]",V="[object RegExp]",F="[object Set]",U="[object String]",z="[object Symbol]",H="[object ArrayBuffer]",G="[object DataView]",W="[object Float32Array]",J="[object Float64Array]",Y="[object Int8Array]",K="[object Int16Array]",$="[object Int32Array]",Q="[object Uint8Array]",X="[object Uint8ClampedArray]",Z="[object Uint16Array]",tt="[object Uint32Array]";var et=function(t,e,r){var n=t.constructor;switch(e){case H:return E(t);case B:case I:return new n(+t);case G:return A(t,r);case W:case J:case Y:case K:case $:case Q:case X:case Z:case tt:return q(t,r);case L:return new n;case M:case U:return new n(t);case V:return C(t);case F:return new n;case z:return N(t)}},rt=r(638),nt=Object.create,ot=function(){function t(){}return function(e){if(!Object(rt.a)(e))return{};if(nt)return nt(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),it=r(804);var at=function(t){return"function"!=typeof t.constructor||Object(it.a)(t)?{}:ot(Object(v.a)(t))},st=r(679),ut=r(802),ct=r(633),lt="[object Map]";var ft=function(t){return Object(ct.a)(t)&&Object(O.a)(t)==lt},ht=r(807),pt=r(806),dt=pt.a&&pt.a.isMap,yt=dt?Object(ht.a)(dt):ft,vt="[object Set]";var bt=function(t){return Object(ct.a)(t)&&Object(O.a)(t)==vt},gt=pt.a&&pt.a.isSet,mt=gt?Object(ht.a)(gt):bt,wt=1,kt=2,_t=4,Ot="[object Arguments]",St="[object Function]",xt="[object GeneratorFunction]",Pt="[object Object]",Et={};Et[Ot]=Et["[object Array]"]=Et["[object ArrayBuffer]"]=Et["[object DataView]"]=Et["[object Boolean]"]=Et["[object Date]"]=Et["[object Float32Array]"]=Et["[object Float64Array]"]=Et["[object Int8Array]"]=Et["[object Int16Array]"]=Et["[object Int32Array]"]=Et["[object Map]"]=Et["[object Number]"]=Et[Pt]=Et["[object RegExp]"]=Et["[object Set]"]=Et["[object String]"]=Et["[object Symbol]"]=Et["[object Uint8Array]"]=Et["[object Uint8ClampedArray]"]=Et["[object Uint16Array]"]=Et["[object Uint32Array]"]=!0,Et["[object Error]"]=Et[St]=Et["[object WeakMap]"]=!1;e.a=function t(e,r,a,c,p,y){var v,b=r&wt,g=r&kt,k=r&_t;if(a&&(v=p?a(e,c,p,y):a(e)),void 0!==v)return v;if(!Object(rt.a)(e))return e;var S=Object(st.a)(e);if(S){if(v=x(e),!b)return h(e,v)}else{var P=Object(O.a)(e),E=P==St||P==xt;if(Object(ut.a)(e))return Object(f.a)(e,b);if(P==Pt||P==Ot||E&&!p){if(v=g||E?{}:at(e),!b)return g?m(e,l(v,e)):d(e,u(v,e))}else{if(!Et[P])return p?e:{};v=et(e,P,b)}}y||(y=new n.a);var A=y.get(e);if(A)return A;y.set(e,v),mt(e)?e.forEach((function(n){v.add(t(n,r,a,n,e,y))})):yt(e)&&e.forEach((function(n,o){v.set(o,t(n,r,a,o,e,y))}));var T=k?g?_:w.a:g?keysIn:s.a,C=S?void 0:T(e);return o(C||e,(function(n,o){C&&(n=e[o=n]),Object(i.a)(v,o,t(n,r,a,o,e,y))})),v}},870:function(t,e,r){"use strict";var n=r(649),o=r(647),i=r(640),a=r(683),s=r(659),u=r(811),c=r(810),l=r(702),f=r(650);
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function h(t){for(var e=0;t.previousSibling;)t=t.previousSibling,e++;return e}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */function p(t){for(var e=[];t&&t.nodeType!=Node.DOCUMENT_NODE;)e.unshift(t),t=t.parentNode;return e}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var d=r(684),y=r(1484);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function b(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(e,"a",(function(){return m}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var g=Object(l.a)(document),m=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.blockFillerMode=e.blockFillerMode||"br",this.preElements=["pre"],this.blockElements=["p","div","h1","h2","h3","h4","h5","h6","li","dd","dt","figcaption"],this._blockFiller="br"==this.blockFillerMode?l.a:l.d,this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap}var e,r,m;return e=t,(r=[{key:"bindFakeSelection",value:function(t,e){this._fakeSelectionMapping.set(t,new s.a(e))}},{key:"fakeSelectionToView",value:function(t){return this._fakeSelectionMapping.get(t)}},{key:"bindElements",value:function(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}},{key:"unbindDomElement",value:function(t){var e=this._domToViewMapping.get(t);if(e){this._domToViewMapping.delete(t),this._viewToDomMapping.delete(e);for(var r=0,n=Array.from(t.childNodes);r<n.length;r++){var o=n[r];this.unbindDomElement(o)}}}},{key:"bindDocumentFragments",value:function(t,e){this._domToViewMapping.set(t,e),this._viewToDomMapping.set(e,t)}},{key:"viewToDom",value:function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.is("text")){var o=this._processDataFromViewText(t);return e.createTextNode(o)}if(this.mapViewToDom(t))return this.mapViewToDom(t);if(t.is("documentFragment"))r=e.createDocumentFragment(),n.bind&&this.bindDocumentFragments(r,t);else{if(t.is("uiElement"))return r=t.render(e),n.bind&&this.bindElements(r,t),r;r=t.hasAttribute("xmlns")?e.createElementNS(t.getAttribute("xmlns"),t.name):e.createElement(t.name),n.bind&&this.bindElements(r,t);var i=!0,a=!1,s=void 0;try{for(var u,c=t.getAttributeKeys()[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;r.setAttribute(l,t.getAttribute(l))}}catch(t){a=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}}if(n.withChildren||void 0===n.withChildren){var f=!0,h=!1,p=void 0;try{for(var d,y=this.viewChildrenToDom(t,e,n)[Symbol.iterator]();!(f=(d=y.next()).done);f=!0){var v=d.value;r.appendChild(v)}}catch(t){h=!0,p=t}finally{try{f||null==y.return||y.return()}finally{if(h)throw p}}}return r}},{key:"viewChildrenToDom",value:regeneratorRuntime.mark((function t(e,r){var n,o,i,a,s,u,c,l,f,h=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=h.length>2&&void 0!==h[2]?h[2]:{},o=e.getFillerOffset&&e.getFillerOffset(),i=0,a=!0,s=!1,u=void 0,t.prev=6,c=e.getChildren()[Symbol.iterator]();case 8:if(a=(l=c.next()).done){t.next=19;break}if(f=l.value,o!==i){t.next=13;break}return t.next=13,this._blockFiller(r);case 13:return t.next=15,this.viewToDom(f,r,n);case 15:i++;case 16:a=!0,t.next=8;break;case 19:t.next=25;break;case 21:t.prev=21,t.t0=t.catch(6),s=!0,u=t.t0;case 25:t.prev=25,t.prev=26,a||null==c.return||c.return();case 28:if(t.prev=28,!s){t.next=31;break}throw u;case 31:return t.finish(28);case 32:return t.finish(25);case 33:if(o!==i){t.next=36;break}return t.next=36,this._blockFiller(r);case 36:case"end":return t.stop()}}),t,this,[[6,21,25,33],[26,,28,32]])}))},{key:"viewRangeToDom",value:function(t){var e=this.viewPositionToDom(t.start),r=this.viewPositionToDom(t.end),n=document.createRange();return n.setStart(e.parent,e.offset),n.setEnd(r.parent,r.offset),n}},{key:"viewPositionToDom",value:function(t){var e,r,n,o=t.parent;if(o.is("text")){var i=this.findCorrespondingDomText(o);if(!i)return null;var a=t.offset;return Object(l.h)(i)&&(a+=l.c),{parent:i,offset:a}}if(0===t.offset){if(!(e=this.mapViewToDom(o)))return null;n=e.childNodes[0]}else{var s=t.nodeBefore;if(!(r=s.is("text")?this.findCorrespondingDomText(s):this.mapViewToDom(t.nodeBefore)))return null;e=r.parentNode,n=r.nextSibling}return Object(d.a)(n)&&Object(l.h)(n)?{parent:n,offset:l.c}:{parent:e,offset:r?h(r)+1:0}}},{key:"domToView",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isBlockFiller(t,this.blockFillerMode))return null;var r,i=this.getParentUIElement(t,this._domToViewMapping);if(i)return i;if(Object(d.a)(t)){if(Object(l.g)(t))return null;var a=this._processDataFromDomText(t);return""===a?null:new n.a(a)}if(this.isComment(t))return null;if(this.mapDomToView(t))return this.mapDomToView(t);if(this.isDocumentFragment(t))r=new u.a,e.bind&&this.bindDocumentFragments(t,r);else{var s=e.keepOriginalCase?t.tagName:t.tagName.toLowerCase();r=new o.a(s),e.bind&&this.bindElements(t,r);for(var c=t.attributes,f=c.length-1;f>=0;f--)r._setAttribute(c[f].name,c[f].value)}if(e.withChildren||void 0===e.withChildren){var h=!0,p=!1,y=void 0;try{for(var v,b=this.domChildrenToView(t,e)[Symbol.iterator]();!(h=(v=b.next()).done);h=!0){var g=v.value;r._appendChild(g)}}catch(t){p=!0,y=t}finally{try{h||null==b.return||b.return()}finally{if(p)throw y}}}return r}},{key:"domChildrenToView",value:regeneratorRuntime.mark((function t(e){var r,n,o,i,a=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=a.length>1&&void 0!==a[1]?a[1]:{},n=0;case 2:if(!(n<e.childNodes.length)){t.next=11;break}if(o=e.childNodes[n],null===(i=this.domToView(o,r))){t.next=8;break}return t.next=8,i;case 8:n++,t.next=2;break;case 11:case"end":return t.stop()}}),t,this)}))},{key:"domSelectionToView",value:function(t){if(1===t.rangeCount){var e=t.getRangeAt(0).startContainer;Object(d.a)(e)&&(e=e.parentNode);var r=this.fakeSelectionToView(e);if(r)return r}for(var n=this.isDomSelectionBackward(t),o=[],i=0;i<t.rangeCount;i++){var a=t.getRangeAt(i),u=this.domRangeToView(a);u&&o.push(u)}return new s.a(o,{backward:n})}},{key:"domRangeToView",value:function(t){var e=this.domPositionToView(t.startContainer,t.startOffset),r=this.domPositionToView(t.endContainer,t.endOffset);return e&&r?new a.a(e,r):null}},{key:"domPositionToView",value:function(t,e){if(this.isBlockFiller(t,this.blockFillerMode))return this.domPositionToView(t.parentNode,h(t));var r=this.mapDomToView(t);if(r&&r.is("uiElement"))return i.a._createBefore(r);if(Object(d.a)(t)){if(Object(l.g)(t))return this.domPositionToView(t.parentNode,h(t));var n=this.findCorrespondingViewText(t),o=e;return n?(Object(l.h)(t)&&(o=(o-=l.c)<0?0:o),new i.a(n,o)):null}if(0===e){var a=this.mapDomToView(t);if(a)return new i.a(a,0)}else{var s=t.childNodes[e-1],u=Object(d.a)(s)?this.findCorrespondingViewText(s):this.mapDomToView(s);if(u&&u.parent)return new i.a(u.parent,u.index+1)}return null}},{key:"mapDomToView",value:function(t){return this.getParentUIElement(t)||this._domToViewMapping.get(t)}},{key:"findCorrespondingViewText",value:function(t){if(Object(l.g)(t))return null;var e=this.getParentUIElement(t);if(e)return e;var r=t.previousSibling;if(r){if(!this.isElement(r))return null;var o=this.mapDomToView(r);if(o)return o.nextSibling instanceof n.a?o.nextSibling:null}else{var i=this.mapDomToView(t.parentNode);if(i){var a=i.getChild(0);return a instanceof n.a?a:null}}return null}},{key:"mapViewToDom",value:function(t){return this._viewToDomMapping.get(t)}},{key:"findCorrespondingDomText",value:function(t){var e=t.previousSibling;return e&&this.mapViewToDom(e)?this.mapViewToDom(e).nextSibling:!e&&t.parent&&this.mapViewToDom(t.parent)?this.mapViewToDom(t.parent).childNodes[0]:null}},{key:"focus",value:function(t){var e=this.mapViewToDom(t);if(e&&e.ownerDocument.activeElement!==e){var r=f.a.window,n=r.scrollX,o=r.scrollY,i=[];k(e,(function(t){var e=t.scrollLeft,r=t.scrollTop;i.push([e,r])})),e.focus(),k(e,(function(t){var e=v(i.shift(),2),r=e[0],n=e[1];t.scrollLeft=r,t.scrollTop=n})),f.a.window.scrollTo(n,o)}}},{key:"isElement",value:function(t){return t&&t.nodeType==Node.ELEMENT_NODE}},{key:"isDocumentFragment",value:function(t){return t&&t.nodeType==Node.DOCUMENT_FRAGMENT_NODE}},{key:"isComment",value:function(t){return t&&t.nodeType==Node.COMMENT_NODE}},{key:"isBlockFiller",value:function(t){return"br"==this.blockFillerMode?t.isEqualNode(g):function(t,e){return Object(d.a)(t)&&" "==t.data&&function(t,e){var r=t.parentNode;return r&&r.tagName&&e.includes(r.tagName.toLowerCase())}(t,e)&&1===t.parentNode.childNodes.length}(t,this.blockElements)}},{key:"isDomSelectionBackward",value:function(t){if(t.isCollapsed)return!1;var e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);var r=e.collapsed;return e.detach(),r}},{key:"getParentUIElement",value:function(t){var e=p(t);for(e.pop();e.length;){var r=e.pop(),n=this._domToViewMapping.get(r);if(n&&n.is("uiElement"))return n}return null}},{key:"isDomSelectionCorrect",value:function(t){return this._isDomSelectionPositionCorrect(t.anchorNode,t.anchorOffset)&&this._isDomSelectionPositionCorrect(t.focusNode,t.focusOffset)}},{key:"_isDomSelectionPositionCorrect",value:function(t,e){if(Object(d.a)(t)&&Object(l.h)(t)&&e<l.c)return!1;if(this.isElement(t)&&Object(l.h)(t.childNodes[e]))return!1;var r=this.mapDomToView(t);return!r||!r.is("uiElement")}},{key:"_processDataFromViewText",value:function(t){var e=this,r=t.data;if(t.getAncestors().some((function(t){return e.preElements.includes(t.name)})))return r;if(" "==r.charAt(0)){var n=this._getTouchingViewTextNode(t,!1);(!n||!this._nodeEndsWithSpace(n))&&n||(r=" "+r.substr(1))}if(" "==r.charAt(r.length-1)){var o=this._getTouchingViewTextNode(t,!0);" "!=r.charAt(r.length-2)&&o&&" "!=o.data.charAt(0)||(r=r.substr(0,r.length-1)+" ")}return r.replace(/ {2}/g,"  ")}},{key:"_nodeEndsWithSpace",value:function(t){var e=this;if(t.getAncestors().some((function(t){return e.preElements.includes(t.name)})))return!1;var r=this._processDataFromViewText(t);return" "==r.charAt(r.length-1)}},{key:"_processDataFromDomText",value:function(t){var e=t.data;if(w(t,this.preElements))return Object(l.e)(t);e=e.replace(/[ \n\t\r]{1,}/g," ");var r=this._getTouchingInlineDomNode(t,!1),n=this._getTouchingInlineDomNode(t,!0),o=this._checkShouldLeftTrimDomText(r),i=this._checkShouldRightTrimDomText(t,n);return o&&(e=e.replace(/^ /,"")),i&&(e=e.replace(/ $/,"")),e=(e=Object(l.e)(new Text(e))).replace(/ \u00A0/g,"  "),(/( |\u00A0)\u00A0$/.test(e)||!n||n.data&&" "==n.data.charAt(0))&&(e=e.replace(/\u00A0$/," ")),o&&(e=e.replace(/^\u00A0/," ")),e}},{key:"_checkShouldLeftTrimDomText",value:function(t){return!t||!!Object(y.a)(t)||/[^\S\u00A0]/.test(t.data.charAt(t.data.length-1))}},{key:"_checkShouldRightTrimDomText",value:function(t,e){return!e&&!Object(l.h)(t)}},{key:"_getTouchingViewTextNode",value:function(t,e){var r=new c.a({startPosition:e?i.a._createAfter(t):i.a._createBefore(t),direction:e?"forward":"backward"}),n=!0,o=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(n=(s=u.next()).done);n=!0){var l=s.value;if(l.item.is("containerElement"))return null;if(l.item.is("br"))return null;if(l.item.is("textProxy"))return l.item}}catch(t){o=!0,a=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return null}},{key:"_getTouchingInlineDomNode",value:function(t,e){if(!t.parentNode)return null;var r=e?"nextNode":"previousNode",n=t.ownerDocument,o=p(t)[0],i=n.createTreeWalker(o,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,{acceptNode:function(t){return Object(d.a)(t)?NodeFilter.FILTER_ACCEPT:"BR"==t.tagName?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});i.currentNode=t;var a=i[r]();if(null!==a){var s=function(t,e){for(var r=p(t),n=p(e),o=0;r[o]==n[o]&&r[o];)o++;return 0===o?null:r[o-1]}(t,a);if(s&&!w(t,this.blockElements,s)&&!w(a,this.blockElements,s))return a}return null}}])&&b(e.prototype,r),m&&b(e,m),t}();function w(t,e,r){var n=p(t);return r&&(n=n.slice(n.indexOf(r)+1)),n.some((function(t){return t.tagName&&e.includes(t.tagName.toLowerCase())}))}function k(t,e){for(;t&&t!=f.a.document;)e(t),t=t.parentNode}},871:function(t,e,r){"use strict";var n=r(1137),o=r(638),i=r(804);var a=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e},s=Object.prototype.hasOwnProperty;var u=function(t){if(!Object(o.a)(t))return a(t);var e=Object(i.a)(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r},c=r(805);e.a=function(t){return Object(c.a)(t)?Object(n.a)(t,!0):u(t)}},872:function(t,e,r){"use strict";var n=r(1137),o=r(804),i=r(886),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var u=function(t){if(!Object(o.a)(t))return a(t);var e=[];for(var r in Object(t))s.call(t,r)&&"constructor"!=r&&e.push(r);return e},c=r(805);e.a=function(t){return Object(c.a)(t)?Object(n.a)(t):u(t)}},873:function(t,e,r){"use strict";var n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i},o=r(892),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o.a;e.a=s},884:function(t,e,r){(function(t){var r,n,o,i;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/*!
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md.
 */window,i=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==a(t)&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(t,e,r){"use strict";(function(t){var r="object"==a(t)&&t&&t.Object===Object&&t;e.a=r}).call(this,r(1))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==("undefined"==typeof window?"undefined":a(window))&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e);var n=function(t){var e=a(t);return null!=t&&("object"==e||"function"==e)},o=r(0),i="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,s=o.a||i||Function("return this")(),u=function(){return s.Date.now()},c=s.Symbol,l=Object.prototype,f=l.hasOwnProperty,h=l.toString,p=c?c.toStringTag:void 0,d=Object.prototype.toString,y=c?c.toStringTag:void 0,v=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":y&&y in Object(t)?function(t){var e=f.call(t,p),r=t[p];try{t[p]=void 0;var n=!0}catch(t){}var o=h.call(t);return n&&(e?t[p]=r:delete t[p]),o}(t):function(t){return d.call(t)}(t)},b=function(t){return"symbol"==a(t)||function(t){return null!=t&&"object"==a(t)}(t)&&"[object Symbol]"==v(t)},g=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,k=/^0o[0-7]+$/i,_=parseInt,O=function(t){if("number"==typeof t)return t;if(b(t))return NaN;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(g,"");var r=w.test(t);return r||k.test(t)?_(t.slice(2),r?2:8):m.test(t)?NaN:+t},S=Math.max,x=Math.min,P={name:"ckeditor",render:function(t){return t(this.tagName)},props:{editor:{type:Function,default:null},value:{type:String,default:""},config:{type:Object,default:function(){return{}}},tagName:{type:String,default:"div"},disabled:{type:Boolean,default:!1}},data:function(){return{instance:null,$_lastEditorData:{type:String,default:""}}},mounted:function(){var t=this;this.value&&Object.assign(this.config,{initialData:this.value}),this.editor.create(this.$el,this.config).then((function(e){t.instance=e,e.isReadOnly=t.disabled,t.$_setUpEditorEvents(),t.$emit("ready",e)})).catch((function(t){console.error(t)}))},beforeDestroy:function(){this.instance&&(this.instance.destroy(),this.instance=null),this.$emit("destroy",this.instance)},watch:{value:function(t,e){t!==e&&t!==this.$_lastEditorData&&this.instance.setData(t)},disabled:function(t){this.instance.isReadOnly=t}},methods:{$_setUpEditorEvents:function(){var t=this,e=this.instance;e.model.document.on("change:data",function(t,e,r){var o,i,a,s,c,l,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var r=o,n=i;return o=i=void 0,f=e,s=t.apply(n,r)}function v(t){var r=t-l;return void 0===l||r>=e||r<0||p&&t-f>=a}function b(){var t=u();if(v(t))return g(t);c=setTimeout(b,function(t){var r=e-(t-l);return p?x(r,a-(t-f)):r}(t))}function g(t){return c=void 0,d&&o?y(t):(o=i=void 0,s)}function m(){var t=u(),r=v(t);if(o=arguments,i=this,l=t,r){if(void 0===c)return function(t){return f=t,c=setTimeout(b,e),h?y(t):s}(l);if(p)return clearTimeout(c),c=setTimeout(b,e),y(l)}return void 0===c&&(c=setTimeout(b,e)),s}return e=O(e)||0,n(r)&&(h=!!r.leading,a=(p="maxWait"in r)?S(O(r.maxWait)||0,e):a,d="trailing"in r?!!r.trailing:d),m.cancel=function(){void 0!==c&&clearTimeout(c),f=0,o=l=i=c=void 0},m.flush=function(){return void 0===c?s:g(u())},m}((function(r){var n=t.$_lastEditorData=e.getData();t.$emit("input",n,r,e)}),300)),e.editing.view.document.on("focus",(function(r){t.$emit("focus",r,e)})),e.editing.view.document.on("blur",(function(r){t.$emit("blur",r,e)}))}}},E={install:function(t){t.component("ckeditor",P)},component:P};e.default=E}]).default},"object"==a(e)&&"object"==a(t)?t.exports=i():(n=[],void 0===(o="function"==typeof(r=i)?r.apply(e,n):r)||(t.exports=o))}).call(this,r(94)(t))},885:function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(7))},886:function(t,e,r){"use strict";e.a=function(t,e){return function(r){return t(e(r))}}},887:function(t,e,r){"use strict";var n=Function.prototype.toString;e.a=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},888:function(t,e,r){"use strict";var n=r(676),o=r(638),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.a=function(t){if(!Object(o.a)(t))return!1;var e=Object(n.a)(t);return e==a||e==s||e==i||e==u}},889:function(t,e,r){"use strict";var n=r(890);e.a=function(t,e,r){"__proto__"==e&&n.a?Object(n.a)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},890:function(t,e,r){"use strict";var n=r(655),o=function(){try{var t=Object(n.a)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.a=o},891:function(t,e,r){"use strict";var n=r(889),o=r(701),i=Object.prototype.hasOwnProperty;e.a=function(t,e,r){var a=t[e];i.call(t,e)&&Object(o.a)(a,r)&&(void 0!==r||e in t)||Object(n.a)(t,e,r)}},892:function(t,e,r){"use strict";e.a=function(){return[]}},893:function(t,e,r){"use strict";e.a=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},894:function(t,e,r){"use strict";var n=9007199254740991;e.a=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},895:function(t,e,r){"use strict";var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.a=function(t,e){var r=typeof t;return!!(e=null==e?n:e)&&("number"==r||"symbol"!=r&&o.test(t))&&t>-1&&t%1==0&&t<e}},896:function(t,e,r){"use strict";var n=r(625).a.Uint8Array;e.a=n},897:function(t,e,r){"use strict";var n=r(893),o=r(679);e.a=function(t,e,r){var i=e(t);return Object(o.a)(t)?i:Object(n.a)(i,r(t))}},898:function(t,e,r){"use strict";var n=r(897),o=r(873),i=r(872);e.a=function(t){return Object(n.a)(t,i.a,o.a)}},899:function(t,e,r){"use strict";function n(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t,e,r){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return l}));var l=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=a(this,u(e).call(this,t,r,n))).getFillerOffset=f,o}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,(n=[{key:"is",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t&&t.replace(/^view:/,"");return r?"containerElement"==n&&r==this.name||s(u(e.prototype),"is",this).call(this,t,r):"containerElement"==n||s(u(e.prototype),"is",this).call(this,t)}}])&&i(r.prototype,n),o&&i(r,o),e}(r(647).a);function f(){var t=n(this.getChildren()),e=t[this.childCount-1];if(e&&e.is("element","br"))return this.childCount;var r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){if(!a.value.is("uiElement"))return null}}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return this.childCount}},900:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */e.a={get:function(t){return"number"!=typeof t?this[t]||this.normal:t},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5}},901:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var e=new Map;for(var r in t)e.set(r,t[r]);return e}r.d(e,"a",(function(){return n}))},902:function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}r.d(e,"a",(function(){return o}));
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._patterns=[],this.add.apply(this,arguments)}var e,r,o;return e=t,(r=[{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=0,o=e;n<o.length;n++){var i=o[n];("string"==typeof i||i instanceof RegExp)&&(i={name:i}),i.classes&&("string"==typeof i.classes||i.classes instanceof RegExp)&&(i.classes=[i.classes]),this._patterns.push(i)}}},{key:"match",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=0,o=e;n<o.length;n++){var a=o[n],s=!0,u=!1,c=void 0;try{for(var l,f=this._patterns[Symbol.iterator]();!(s=(l=f.next()).done);s=!0){var h=l.value,p=i(a,h);if(p)return{element:a,pattern:h,match:p}}}catch(t){u=!0,c=t}finally{try{s||null==f.return||f.return()}finally{if(u)throw c}}}return null}},{key:"matchAll",value:function(){for(var t=[],e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var s=a[o],u=!0,c=!1,l=void 0;try{for(var f,h=this._patterns[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value,d=i(s,p);d&&t.push({element:s,pattern:p,match:d})}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}return t.length>0?t:null}},{key:"getElementName",value:function(){if(1!==this._patterns.length)return null;var t=this._patterns[0],e=t.name;return"function"==typeof t||!e||e instanceof RegExp?null:e}}])&&n(e.prototype,r),o&&n(e,o),t}();function i(t,e){if("function"==typeof e)return e(t);var r={};return e.name&&(r.name=function(t,e){if(t instanceof RegExp)return t.test(e);return t===e}(e.name,t.name),!r.name)?null:e.attributes&&(r.attributes=function(t,e){var r=[];for(var n in t){var o=t[n];if(!e.hasAttribute(n))return null;var i=e.getAttribute(n);if(!0===o)r.push(n);else if(o instanceof RegExp){if(!o.test(i))return null;r.push(n)}else{if(i!==o)return null;r.push(n)}}return r}(e.attributes,t),!r.attributes)?null:!(e.classes&&(r.classes=function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(u instanceof RegExp){var c=e.getClassNames(),l=!0,f=!1,h=void 0;try{for(var p,d=c[Symbol.iterator]();!(l=(p=d.next()).done);l=!0){var y=p.value;u.test(y)&&r.push(y)}}catch(t){f=!0,h=t}finally{try{l||null==d.return||d.return()}finally{if(f)throw h}}if(0===r.length)return null}else{if(!e.hasClass(u))return null;r.push(u)}}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(e.classes,t),!r.classes))&&(!(e.styles&&(r.styles=function(t,e){var r=[];for(var n in t){var o=t[n];if(!e.hasStyle(n))return null;var i=e.getStyle(n);if(o instanceof RegExp){if(!o.test(i))return null;r.push(n)}else{if(i!==o)return null;r.push(n)}}return r}(e.styles,t),!r.styles))&&r)}},903:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(659),o=r(616),i=r(621);function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var s=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._selection=new n.a,this._selection.delegate("change").to(this),this._selection.setTo(e,r,o)}var e,r,o;return e=t,(r=[{key:"getRanges",value:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(this._selection.getRanges(),"t0",1);case 1:case"end":return t.stop()}}),t,this)}))},{key:"getFirstRange",value:function(){return this._selection.getFirstRange()}},{key:"getLastRange",value:function(){return this._selection.getLastRange()}},{key:"getFirstPosition",value:function(){return this._selection.getFirstPosition()}},{key:"getLastPosition",value:function(){return this._selection.getLastPosition()}},{key:"getSelectedElement",value:function(){return this._selection.getSelectedElement()}},{key:"isEqual",value:function(t){return this._selection.isEqual(t)}},{key:"isSimilar",value:function(t){return this._selection.isSimilar(t)}},{key:"is",value:function(t){return"selection"==t||"documentSelection"==t||"view:selection"==t||"view:documentSelection"==t}},{key:"_setTo",value:function(t,e,r){this._selection.setTo(t,e,r)}},{key:"_setFocus",value:function(t,e){this._selection.setFocus(t,e)}},{key:"isFake",get:function(){return this._selection.isFake}},{key:"fakeSelectionLabel",get:function(){return this._selection.fakeSelectionLabel}},{key:"anchor",get:function(){return this._selection.anchor}},{key:"focus",get:function(){return this._selection.focus}},{key:"isCollapsed",get:function(){return this._selection.isCollapsed}},{key:"rangeCount",get:function(){return this._selection.rangeCount}},{key:"isBackward",get:function(){return this._selection.isBackward}},{key:"editableElement",get:function(){return this._selection.editableElement}},{key:"_ranges",get:function(){return this._selection._ranges}}])&&a(e.prototype,r),o&&a(e,o),t}();Object(o.a)(s,i.c)},904:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var e=0,r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){i.value;e++}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}r.d(e,"a",(function(){return n}))},905:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r=r||function(t,e){return t===e},Array.isArray(t)||(t=Array.from(t)),Array.isArray(e)||(e=Array.from(e));var a=function(t,e,r){var n=o(t,e,r);if(-1===n)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};var a=i(t,n),s=i(e,n),u=o(a,s,r),c=t.length-u,l=e.length-u;return{firstIndex:n,lastIndexOld:c,lastIndexNew:l}}(t,e,r);return n?function(t,e){var r=t.firstIndex,n=t.lastIndexOld,o=t.lastIndexNew;if(-1===r)return Array(e).fill("equal");var i=[];r>0&&(i=i.concat(Array(r).fill("equal")));o-r>0&&(i=i.concat(Array(o-r).fill("insert")));n-r>0&&(i=i.concat(Array(n-r).fill("delete")));o<e&&(i=i.concat(Array(e-o).fill("equal")));return i}(a,e.length):function(t,e){var r=[],n=e.firstIndex,o=e.lastIndexOld,i=e.lastIndexNew;i-n>0&&r.push({index:n,type:"insert",values:t.slice(n,i)});o-n>0&&r.push({index:n+(i-n),type:"delete",howMany:o-n});return r}(e,a)}function o(t,e,r){for(var n=0;n<Math.max(t.length,e.length);n++)if(void 0===t[n]||void 0===e[n]||!r(t[n],e[n]))return n;return-1}function i(t,e){return t.slice(e).reverse()}r.d(e,"a",(function(){return n}))},906:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var e=Object.prototype.toString.apply(t);return"[object Window]"==e||"[object global]"==e}r.d(e,"a",(function(){return n}))},907:function(t,e,r){"use strict";var n=r(676),o=r(633),i="[object Symbol]";e.a=function(t){return"symbol"==typeof t||Object(o.a)(t)&&Object(n.a)(t)==i}},908:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var 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)}}r.d(e,"a",(function(){return n}))},909:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(705),o=r(626),i=r(634),a=r(665),s=r(639);function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.markers=new Map,this._children=new n.a,e&&this._insertChild(0,e)}var e,r,c;return e=t,r=[{key:Symbol.iterator,value:function(){return this.getChildren()}},{key:"is",value:function(t){return"documentFragment"==t||"model:documentFragment"==t}},{key:"getChild",value:function(t){return this._children.getNode(t)}},{key:"getChildren",value:function(){return this._children[Symbol.iterator]()}},{key:"getChildIndex",value:function(t){return this._children.getNodeIndex(t)}},{key:"getChildStartOffset",value:function(t){return this._children.getNodeStartOffset(t)}},{key:"getPath",value:function(){return[]}},{key:"getNodeByPath",value:function(t){var e=this,r=!0,n=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;e=e.getChild(e.offsetToIndex(s))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return e}},{key:"offsetToIndex",value:function(t){return this._children.offsetToIndex(t)}},{key:"toJSON",value:function(){var t=[],e=!0,r=!1,n=void 0;try{for(var o,i=this._children[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var a=o.value;t.push(a.toJSON())}}catch(t){r=!0,n=t}finally{try{e||null==i.return||i.return()}finally{if(r)throw n}}return t}},{key:"_appendChild",value:function(t){this._insertChild(this.childCount,t)}},{key:"_insertChild",value:function(t,e){var r=function(t){return"string"==typeof t?[new i.a(t)]:(Object(s.a)(t)||(t=[t]),Array.from(t).map((function(t){return"string"==typeof t?new i.a(t):t instanceof a.a?new i.a(t.data,t.getAttributes()):t})))}(e),n=!0,o=!1,u=void 0;try{for(var c,l=r[Symbol.iterator]();!(n=(c=l.next()).done);n=!0){var f=c.value;null!==f.parent&&f._remove(),f.parent=this}}catch(t){o=!0,u=t}finally{try{n||null==l.return||l.return()}finally{if(o)throw u}}this._children._insertNodes(t,r)}},{key:"_removeChildren",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this._children._removeNodes(t,e),n=!0,o=!1,i=void 0;try{for(var a,s=r[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;u.parent=null}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},{key:"childCount",get:function(){return this._children.length}},{key:"maxOffset",get:function(){return this._children.maxOffset}},{key:"isEmpty",get:function(){return 0===this.childCount}},{key:"root",get:function(){return this}},{key:"parent",get:function(){return null}}],c=[{key:"fromJSON",value:function(e){var r=[],n=!0,a=!1,s=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done);n=!0){var l=u.value;l.name?r.push(o.a.fromJSON(l)):r.push(i.a.fromJSON(l))}}catch(t){a=!0,s=t}finally{try{n||null==c.return||c.return()}finally{if(a)throw s}}return new t(r)}}],r&&u(e.prototype,r),c&&u(e,c),t}()},910:function(t,e,r){"use strict";r.d(e,"a",(function(){return g}));var n=r(629),o=r(622),i=r(705),a=r(816),s=r(666),u=r(634),c=r(626),l=r(613);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t,e,r){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=v(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var g=function(t){function e(t,r,n){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=d(this,v(e).call(this,n))).position=t.clone(),o.position.stickiness="toNone",o.nodes=new i.a(Object(s.c)(r)),o.shouldReceiveAttributes=!1,o}var r,n,f;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(e,t),r=e,f=[{key:"fromJSON",value:function(t,r){var n=[],i=!0,a=!1,s=void 0;try{for(var l,f=t.nodes[Symbol.iterator]();!(i=(l=f.next()).done);i=!0){var h=l.value;h.name?n.push(c.a.fromJSON(h)):n.push(u.a.fromJSON(h))}}catch(t){a=!0,s=t}finally{try{i||null==f.return||f.return()}finally{if(a)throw s}}var p=new e(o.a.fromJSON(t.position,r),n,t.baseVersion);return p.shouldReceiveAttributes=t.shouldReceiveAttributes,p}},{key:"className",get:function(){return"InsertOperation"}}],(n=[{key:"clone",value:function(){var t=new i.a(h(this.nodes).map((function(t){return t._clone(!0)}))),r=new e(this.position,t,this.baseVersion);return r.shouldReceiveAttributes=this.shouldReceiveAttributes,r}},{key:"getReversed",value:function(){var t=this.position.root.document.graveyard,e=new o.a(t,[0]);return new a.a(this.position,this.nodes.maxOffset,e,this.baseVersion+1)}},{key:"_validate",value:function(){var t=this.position.parent;if(!t||t.maxOffset<this.position.offset)throw new l.b("insert-operation-position-invalid: Insertion position is invalid.",this)}},{key:"_execute",value:function(){var t=this.nodes;this.nodes=new i.a(h(t).map((function(t){return t._clone(!0)}))),Object(s.a)(this.position,t)}},{key:"toJSON",value:function(){var t=y(v(e.prototype),"toJSON",this).call(this);return t.position=this.position.toJSON(),t.nodes=this.nodes.toJSON(),t}},{key:"type",get:function(){return"insert"}},{key:"howMany",get:function(){return this.nodes.maxOffset}}])&&p(r.prototype,n),f&&p(r,f),e}(n.a)},911:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(629),o=r(619);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t,e,r){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var f=function(t){function e(t,r,n,o,i,a){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(u=s(this,c(e).call(this,a))).name=t,u.oldRange=r?r.clone():null,u.newRange=n?n.clone():null,u.affectsData=i,u._markers=o,u}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,i=[{key:"fromJSON",value:function(t,r){return new e(t.name,t.oldRange?o.a.fromJSON(t.oldRange,r):null,t.newRange?o.a.fromJSON(t.newRange,r):null,r.model.markers,t.affectsData,t.baseVersion)}},{key:"className",get:function(){return"MarkerOperation"}}],(n=[{key:"clone",value:function(){return new e(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}},{key:"getReversed",value:function(){return new e(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}},{key:"_execute",value:function(){var t=this.newRange?"_set":"_remove";this._markers[t](this.name,this.newRange,!0,this.affectsData)}},{key:"toJSON",value:function(){var t=u(c(e.prototype),"toJSON",this).call(this);return this.oldRange&&(t.oldRange=this.oldRange.toJSON()),this.newRange&&(t.newRange=this.newRange.toJSON()),delete t._markers,t}},{key:"type",get:function(){return"marker"}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a)},912:function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(629),o=r(626),i=r(613),a=r(622);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t,e,r){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=f(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var p=function(t){function e(t,r,n,o){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=c(this,f(e).call(this,o))).position=t,i.position.stickiness="toNext",i.oldName=r,i.newName=n,i}var r,n,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(e,t),r=e,s=[{key:"fromJSON",value:function(t,r){return new e(a.a.fromJSON(t.position,r),t.oldName,t.newName,t.baseVersion)}},{key:"className",get:function(){return"RenameOperation"}}],(n=[{key:"clone",value:function(){return new e(this.position.clone(),this.oldName,this.newName,this.baseVersion)}},{key:"getReversed",value:function(){return new e(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}},{key:"_validate",value:function(){var t=this.position.nodeAfter;if(!(t instanceof o.a))throw new i.b("rename-operation-wrong-position: Given position is invalid or node after it is not an instance of Element.",this);if(t.name!==this.oldName)throw new i.b("rename-operation-wrong-name: Element to change has different name than operation's old name.",this)}},{key:"_execute",value:function(){this.position.nodeAfter.name=this.newName}},{key:"toJSON",value:function(){var t=l(f(e.prototype),"toJSON",this).call(this);return t.position=this.position.toJSON(),t}},{key:"type",get:function(){return"rename"}}])&&u(r.prototype,n),s&&u(r,s),e}(n.a)},913:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(629),o=r(613);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t,e,r){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var f=function(t){function e(t,r,n,o,i){var a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(a=s(this,c(e).call(this,i))).root=t,a.key=r,a.oldValue=n,a.newValue=o,a}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,i=[{key:"fromJSON",value:function(t,r){if(!r.getRoot(t.root))throw new o.b("rootattribute-operation-fromjson-no-root: Cannot create RootAttributeOperation. Root with specified name does not exist.",this,{rootName:t.root});return new e(r.getRoot(t.root),t.key,t.oldValue,t.newValue,t.baseVersion)}},{key:"className",get:function(){return"RootAttributeOperation"}}],(n=[{key:"clone",value:function(){return new e(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}},{key:"getReversed",value:function(){return new e(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}},{key:"_validate",value:function(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new o.b("rootattribute-operation-not-a-root: The element to change is not a root element.",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new o.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(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new o.b("rootattribute-operation-attribute-exists: The attribute with given key already exists.",this,{root:this.root,key:this.key})}},{key:"_execute",value:function(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}},{key:"toJSON",value:function(){var t=u(c(e.prototype),"toJSON",this).call(this);return t.root=this.root.toJSON(),t}},{key:"type",get:function(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}}])&&a(r.prototype,n),i&&a(r,i),e}(n.a)},914:function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));var n=r(620),o=r(1143),i=r(815),a=r(916),s=r(650),u=r(1484);r(1159);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md.
 */var d=Object(a.a)("px"),y=s.a.document.body,v=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=(r=f(this,h(e).call(this,t))).bindTemplate;return r.set("top",0),r.set("left",0),r.set("position","arrow_nw"),r.set("isVisible",!1),r.set("withArrow",!0),r.set("class"),r.content=r.createCollection(),r.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",n.to("position",(function(t){return"ck-balloon-panel_".concat(t)})),n.if("isVisible","ck-balloon-panel_visible"),n.if("withArrow","ck-balloon-panel_with-arrow"),n.to("class")],style:{top:n.to("top",d),left:n.to("left",d)}},children:r.content}),r}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),r=e,(n=[{key:"show",value:function(){this.isVisible=!0}},{key:"hide",value:function(){this.isVisible=!1}},{key:"attachTo",value:function(t){this.show();var r=e.defaultPositions,n=Object.assign({},{element:this.element,positions:[r.southArrowNorth,r.southArrowNorthWest,r.southArrowNorthEast,r.northArrowSouth,r.northArrowSouthWest,r.northArrowSouthEast],limiter:y,fitInViewport:!0},t),o=e._getOptimalPosition(n),i=parseInt(o.left),a=parseInt(o.top),s=o.name;Object.assign(this,{top:a,left:i,position:s})}},{key:"pin",value:function(t){var e=this;this.unpin(),this._pinWhenIsVisibleCallback=function(){e.isVisible?e._startPinning(t):e._stopPinning()},this._startPinning(t),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}},{key:"unpin",value:function(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}},{key:"_startPinning",value:function(t){var e=this;this.attachTo(t);var r=b(t.target),n=t.limiter?b(t.limiter):y;this.listenTo(s.a.document,"scroll",(function(o,i){var a=i.target,s=r&&a.contains(r),u=n&&a.contains(n);!s&&!u&&r&&n||e.attachTo(t)}),{useCapture:!0}),this.listenTo(s.a.window,"resize",(function(){e.attachTo(t)}))}},{key:"_stopPinning",value:function(){this.stopListening(s.a.document,"scroll"),this.stopListening(s.a.window,"resize")}}])&&l(r.prototype,n),o&&l(r,o),e}(n.a);function b(t){return Object(u.a)(t)?t:Object(i.a)(t)?t.commonAncestorContainer:"function"==typeof t?b(t()):null}function g(t,e){return t.top-e.height-v.arrowVerticalOffset}function m(t){return t.bottom+v.arrowVerticalOffset}v.arrowHorizontalOffset=25,v.arrowVerticalOffset=10,v._getOptimalPosition=o.a,v.defaultPositions={northArrowSouth:function(t,e){return{top:g(t,e),left:t.left+t.width/2-e.width/2,name:"arrow_s"}},northArrowSouthEast:function(t,e){return{top:g(t,e),left:t.left+t.width/2-e.width+v.arrowHorizontalOffset,name:"arrow_se"}},northArrowSouthWest:function(t,e){return{top:g(t,e),left:t.left+t.width/2-v.arrowHorizontalOffset,name:"arrow_sw"}},northWestArrowSouth:function(t,e){return{top:g(t,e),left:t.left-e.width/2,name:"arrow_s"}},northWestArrowSouthWest:function(t,e){return{top:g(t,e),left:t.left-v.arrowHorizontalOffset,name:"arrow_sw"}},northWestArrowSouthEast:function(t,e){return{top:g(t,e),left:t.left-e.width+v.arrowHorizontalOffset,name:"arrow_se"}},northEastArrowSouth:function(t,e){return{top:g(t,e),left:t.right-e.width/2,name:"arrow_s"}},northEastArrowSouthEast:function(t,e){return{top:g(t,e),left:t.right-e.width+v.arrowHorizontalOffset,name:"arrow_se"}},northEastArrowSouthWest:function(t,e){return{top:g(t,e),left:t.right-v.arrowHorizontalOffset,name:"arrow_sw"}},southArrowNorth:function(t,e){return{top:m(t),left:t.left+t.width/2-e.width/2,name:"arrow_n"}},southArrowNorthEast:function(t,e){return{top:m(t),left:t.left+t.width/2-e.width+v.arrowHorizontalOffset,name:"arrow_ne"}},southArrowNorthWest:function(t,e){return{top:m(t),left:t.left+t.width/2-v.arrowHorizontalOffset,name:"arrow_nw"}},southWestArrowNorth:function(t,e){return{top:m(t),left:t.left-e.width/2,name:"arrow_n"}},southWestArrowNorthWest:function(t,e){return{top:m(t),left:t.left-v.arrowHorizontalOffset,name:"arrow_nw"}},southWestArrowNorthEast:function(t,e){return{top:m(t),left:t.left-e.width+v.arrowHorizontalOffset,name:"arrow_ne"}},southEastArrowNorth:function(t,e){return{top:m(t),left:t.right-e.width/2,name:"arrow_n"}},southEastArrowNorthEast:function(t,e){return{top:m(t),left:t.right-e.width+v.arrowHorizontalOffset,name:"arrow_ne"}},southEastArrowNorthWest:function(t,e){return{top:m(t),left:t.right-v.arrowHorizontalOffset,name:"arrow_nw"}}}},915:function(t,e,r){"use strict";r.d(e,"a",(function(){return _}));var n=r(613),o=r(616),i=r(621),a=r(620),s=r(706),u=r(813),c=r(638),l=r(1483);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(t,e,r){return(p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function d(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function k(t,e,r){return e&&w(t.prototype,e),r&&w(t,r),t}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var _=function(){function t(e){m(this,t),Object.assign(this,R(j(e))),this._isRendered=!1,this._revertData=null}return k(t,[{key:"render",value:function(){var t=this._renderNode({intoFragment:!0});return this._isRendered=!0,t}},{key:"apply",value:function(t){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:t,isApplying:!0,revertData:this._revertData}),t}},{key:"revert",value:function(t){if(!this._revertData)throw new n.b("ui-template-revert-not-applied: Attempting to revert a template which has not been applied yet.",[this,t]);this._revertTemplateFromNode(t,this._revertData)}},{key:"getViews",value:regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=function(t){var n,o,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.children){e.next=32;break}n=!0,o=!1,i=void 0,e.prev=4,a=t.children[Symbol.iterator]();case 6:if(n=(s=a.next()).done){e.next=18;break}if(!I(u=s.value)){e.next=13;break}return e.next=11,u;case 11:e.next=15;break;case 13:if(!L(u)){e.next=15;break}return e.delegateYield(r(u),"t0",15);case 15:n=!0,e.next=6;break;case 18:e.next=24;break;case 20:e.prev=20,e.t1=e.catch(4),o=!0,i=e.t1;case 24:e.prev=24,e.prev=25,n||null==a.return||a.return();case 27:if(e.prev=27,!o){e.next=30;break}throw i;case 30:return e.finish(27);case 31:return e.finish(24);case 32:case"end":return e.stop()}}),e,null,[[4,20,24,32],[25,,27,31]])},e=regeneratorRuntime.mark(r),t.delegateYield(r(this),"t0",3);case 3:case"end":return t.stop()}}),t,this)}))},{key:"_renderNode",value:function(t){if(t.node?this.tag&&this.text:this.tag?this.text:!this.text)throw new n.b('ui-template-wrong-syntax: Node definition must have either "tag" or "text" when rendering a new Node.',this);return this.text?this._renderText(t):this._renderElement(t)}},{key:"_renderElement",value:function(t){var e=t.node;return e||(e=t.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(t),this._renderElementChildren(t),this._setUpListeners(t),e}},{key:"_renderText",value:function(t){var e=t.node;return e?t.revertData.text=e.textContent:e=t.node=document.createTextNode(""),P(this.text)?this._bindToObservable({schema:this.text,updater:A(e),data:t}):e.textContent=this.text.join(""),e}},{key:"_renderAttributes",value:function(t){var e,r,n,o;if(this.attributes){var i=t.node,a=t.revertData;for(e in this.attributes)if(n=i.getAttribute(e),r=this.attributes[e],a&&(a.attributes[e]=n),o=Object(c.a)(r[0])&&r[0].ns?r[0].ns:null,P(r)){var s=o?r[0].value:r;a&&V(e)&&s.unshift(n),this._bindToObservable({schema:s,updater:T(i,e,o),data:t})}else"style"==e&&"string"!=typeof r[0]?this._renderStyleAttribute(r[0],t):(a&&n&&V(e)&&r.unshift(n),B(r=r.map((function(t){return t&&t.value||t})).reduce((function(t,e){return t.concat(e)}),[]).reduce(N,""))||i.setAttributeNS(o,e,r))}}},{key:"_renderStyleAttribute",value:function(t,e){var r=e.node;for(var n in t){var o=t[n];P(o)?this._bindToObservable({schema:[o],updater:C(r,n),data:e}):r.style[n]=o}}},{key:"_renderElementChildren",value:function(t){var e=t.node,r=t.intoFragment?document.createDocumentFragment():e,n=t.isApplying,o=0,i=!0,a=!1,s=void 0;try{for(var c,l=this.children[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var f=c.value;if(M(f)){if(!n){f.setParent(e);var h=!0,p=!1,d=void 0;try{for(var y,v=f[Symbol.iterator]();!(h=(y=v.next()).done);h=!0){var b=y.value;r.appendChild(b.element)}}catch(t){p=!0,d=t}finally{try{h||null==v.return||v.return()}finally{if(p)throw d}}}}else if(I(f))n||(f.isRendered||f.render(),r.appendChild(f.element));else if(Object(u.a)(f))r.appendChild(f);else if(n){var g=t.revertData,m={children:[],bindings:[],attributes:{}};g.children.push(m),f._renderNode({node:r.childNodes[o++],isApplying:!0,revertData:m})}else r.appendChild(f.render())}}catch(t){a=!0,s=t}finally{try{i||null==l.return||l.return()}finally{if(a)throw s}}t.intoFragment&&e.appendChild(r)}},{key:"_setUpListeners",value:function(t){var e=this;if(this.eventListeners){var r=function(r){var n=e.eventListeners[r].map((function(e){var n=g(r.split("@"),2),o=n[0],i=n[1];return e.activateDomEventListener(o,i,t)}));t.revertData&&t.revertData.bindings.push(n)};for(var n in this.eventListeners)r(n)}}},{key:"_bindToObservable",value:function(t){var e=t.schema,r=t.updater,n=t.data,o=n.revertData;E(e,r,n);var i=e.filter((function(t){return!B(t)})).filter((function(t){return t.observable})).map((function(t){return t.activateAttributeListener(e,r,n)}));o&&o.bindings.push(i)}},{key:"_revertTemplateFromNode",value:function(t,e){var r=!0,n=!1,o=void 0;try{for(var i,a=e.bindings[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value,u=!0,c=!1,l=void 0;try{for(var f,h=s[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){(0,f.value)()}}catch(t){c=!0,l=t}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}if(e.text)t.textContent=e.text;else{for(var p in e.attributes){var d=e.attributes[p];null===d?t.removeAttribute(p):t.setAttribute(p,d)}for(var y=0;y<e.children.length;++y)this._revertTemplateFromNode(t.childNodes[y],e.children[y])}}}],[{key:"bind",value:function(t,e){return{to:function(r,n){return new S({eventNameOrFunction:r,attribute:r,observable:t,emitter:e,callback:n})},if:function(r,n,o){return new x({observable:t,emitter:e,attribute:r,valueIfTrue:n,callback:o})}}}},{key:"extend",value:function(t,e){if(t._isRendered)throw new n.b("template-extend-render: Attempting to extend a template which has already been rendered.",[this,t]);!function t(e,r){r.attributes&&(e.attributes||(e.attributes={}),q(e.attributes,r.attributes));r.eventListeners&&(e.eventListeners||(e.eventListeners={}),q(e.eventListeners,r.eventListeners));if(r.text){var o;(o=e.text).push.apply(o,h(r.text))}if(r.children&&r.children.length){if(e.children.length!=r.children.length)throw new n.b("ui-template-extend-children-mismatch: The number of children in extended definition does not match.",e);var i=0,a=!0,s=!1,u=void 0;try{for(var c,l=r.children[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;t(e.children[i++],f)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}(t,R(j(e)))}}]),t}();Object(o.a)(_,i.c);var O=function(){function t(e){m(this,t),Object.assign(this,e)}return k(t,[{key:"getValue",value:function(t){var e=this.observable[this.attribute];return this.callback?this.callback(e,t):e}},{key:"activateAttributeListener",value:function(t,e,r){var n=this,o=function(){return E(t,e,r)};return this.emitter.listenTo(this.observable,"change:"+this.attribute,o),function(){n.emitter.stopListening(n.observable,"change:"+n.attribute,o)}}}]),t}(),S=function(t){function e(){return m(this,e),d(this,y(e).apply(this,arguments))}return v(e,t),k(e,[{key:"activateDomEventListener",value:function(t,e,r){var n=this,o=function(t,r){e&&!r.target.matches(e)||("function"==typeof n.eventNameOrFunction?n.eventNameOrFunction(r):n.observable.fire(n.eventNameOrFunction,r))};return this.emitter.listenTo(r.node,t,o),function(){n.emitter.stopListening(r.node,t,o)}}}]),e}(O),x=function(t){function e(){return m(this,e),d(this,y(e).apply(this,arguments))}return v(e,t),k(e,[{key:"getValue",value:function(t){return!B(p(y(e.prototype),"getValue",this).call(this,t))&&(this.valueIfTrue||!0)}}]),e}(O);function P(t){return!!t&&(t.value&&(t=t.value),Array.isArray(t)?t.some(P):t instanceof O)}function E(t,e,r){var n=function(t,e){return t.map((function(t){return t instanceof O?t.getValue(e):t}))}(t,r.node);B(n=1==t.length&&t[0]instanceof x?n[0]:n.reduce(N,""))?e.remove():e.set(n)}function A(t){return{set:function(e){t.textContent=e},remove:function(){t.textContent=""}}}function T(t,e,r){return{set:function(n){t.setAttributeNS(r,e,n)},remove:function(){t.removeAttributeNS(r,e)}}}function C(t,e){return{set:function(r){t.style[e]=r},remove:function(){t.style[e]=null}}}function j(t){return Object(l.a)(t,(function(t){if(t&&(t instanceof O||L(t)||I(t)||M(t)))return t}))}function R(t){if("string"==typeof t?t=function(t){return{text:[t]}}(t):t.text&&function(t){Array.isArray(t.text)||(t.text=[t.text])}(t),t.on&&(t.eventListeners=function(t){for(var e in t)D(t,e);return t}(t.on),delete t.on),!t.text){t.attributes&&function(t){for(var e in t)t[e].value&&(t[e].value=[].concat(t[e].value)),D(t,e)}(t.attributes);var e=[];if(t.children)if(M(t.children))e.push(t.children);else{var r=!0,n=!1,o=void 0;try{for(var i,a=t.children[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;L(s)||I(s)||Object(u.a)(s)?e.push(s):e.push(new _(s))}}catch(t){n=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}}t.children=e}return t}function D(t,e){Array.isArray(t[e])||(t[e]=[t[e]])}function N(t,e){return B(e)?t:B(t)?e:"".concat(t," ").concat(e)}function q(t,e){for(var r in e){var n;if(t[r])(n=t[r]).push.apply(n,h(e[r]));else t[r]=e[r]}}function B(t){return!t&&0!==t}function I(t){return t instanceof a.a}function L(t){return t instanceof _}function M(t){return t instanceof s.a}function V(t){return"class"==t||"style"==t}},916:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){return function(e){return e+t}}r.d(e,"a",(function(){return n}))},917:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(620);r(1161);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t,e,r){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var l=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=(t=a(this,u(e).call(this))).bindTemplate;return t.set("content",""),t.set("viewBox","0 0 20 20"),t.set("fillColor",""),t.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon"],viewBox:r.to("viewBox")}}),t}var r,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,(n=[{key:"render",value:function(){var t=this;s(u(e.prototype),"render",this).call(this),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",(function(){t._updateXMLContent(),t._colorFillPaths()})),this.on("change:fillColor",(function(){t._colorFillPaths()}))}},{key:"_updateXMLContent",value:function(){if(this.content){var t=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),e=t.getAttribute("viewBox");for(e&&(this.viewBox=e),this.element.innerHTML="";t.childNodes.length>0;)this.element.appendChild(t.childNodes[0])}}},{key:"_colorFillPaths",value:function(){var t=this;this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach((function(e){e.style.fill=t.fillColor}))}}])&&i(r.prototype,n),o&&i(r,o),e}(n.a)},918:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(620),o=r(627);r(1175);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t,e,r){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */var f=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=s(this,c(e).call(this,t))).isToggleable=!0,r.toggleSwitchView=r._createToggleView(),r.extendTemplate({attributes:{class:"ck-switchbutton"}}),r}var r,o,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,(o=[{key:"render",value:function(){u(c(e.prototype),"render",this).call(this),this.children.add(this.toggleSwitchView)}},{key:"_createToggleView",value:function(){var t=new n.a;return t.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),t}}])&&a(r.prototype,o),i&&a(r,i),e}(o.a)},919:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var e=t.emitter,r=t.activator,n=t.callback,o=t.contextElements;e.listenTo(document,"mousedown",(function(t,e){var i=e.target;if(r()){var a=!0,s=!1,u=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){if(c.value.contains(i))return}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}n()}}))}r.d(e,"a",(function(){return n}))},920:function(t,e,r){"use strict";
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
function n(t){var e=t.next();return e.done?null:e.value}r.d(e,"a",(function(){return n}))},921:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}
/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */r.d(e,"a",(function(){return u}));var u=function(t){function e(t,r){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=i(this,a(e).call(this,t))).attributeKey=r,n}var r,n,u;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(e,t),r=e,(n=[{key:"refresh",value:function(){var t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}},{key:"execute",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.editor.model,n=r.document,o=n.selection,i=void 0===e.forceValue?!this.value:e.forceValue;r.change((function(e){if(o.isCollapsed)i?e.setSelectionAttribute(t.attributeKey,!0):e.removeSelectionAttribute(t.attributeKey);else{var n=r.schema.getValidRanges(o.getRanges(),t.attributeKey),a=!0,s=!1,u=void 0;try{for(var c,l=n[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;i?e.setAttribute(t.attributeKey,i,f):e.removeAttribute(t.attributeKey,f)}}catch(t){s=!0,u=t}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}))}},{key:"_getValueFromFirstAllowedNode",value:function(){var t=this.editor.model,e=t.schema,r=t.document.selection;if(r.isCollapsed)return r.hasAttribute(this.attributeKey);var n=!0,o=!1,i=void 0;try{for(var a,s=r.getRanges()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value,c=!0,l=!1,f=void 0;try{for(var h,p=u.getItems()[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var d=h.value;if(e.checkAttribute(d,this.attributeKey))return d.hasAttribute(this.attributeKey)}}catch(t){l=!0,f=t}finally{try{c||null==p.return||p.return()}finally{if(l)throw f}}}}catch(t){o=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return!1}}])&&o(r.prototype,n),u&&o(r,u),e}(r(630).a)},922:function(t,e,r){t.exports=r(1201)},923:function(t,e,r){var n=r(304),o=r(819),i=r(1206),a=r(820),s=r(151),u=/\s+$/;t.exports=function(t,e,r){if((t=s(t))&&(r||void 0===e))return t.replace(u,"");if(!t||!(e=n(e)))return t;var c=a(t),l=i(c,a(e))+1;return o(c,0,l).join("")}},924:function(t,e,r){var n=r(925),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},u={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function l(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(709)(l,r(1210).EventEmitter),l.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},l.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},l.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in i)for(var e;(e=this._stack[this._stack.length-1])in i[t];this.onclosetag(e));!this._options.xmlMode&&t in a||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in u&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},l.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},l.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in u)&&this._foreignContext.pop(),!this._stack.length||t in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},l.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},l.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},l.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},l.prototype.onattribdata=function(t){this._attribvalue+=t},l.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},l.prototype._getInstructionName=function(t){var e=t.search(c),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},l.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},l.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},l.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},l.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},l.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},l.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},l.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},l.prototype.parseComplete=function(t){this.reset(),this.end(t)},l.prototype.write=function(t){this._tokenizer.write(t)},l.prototype.end=function(t){this._tokenizer.end(t)},l.prototype.pause=function(){this._tokenizer.pause()},l.prototype.resume=function(){this._tokenizer.resume()},l.prototype.parseChunk=l.prototype.write,l.prototype.done=l.prototype.end,t.exports=l},925:function(t,e,r){t.exports=vt;var n=r(926),o=r(822),i=r(927),a=r(823),s=0,u=s++,c=s++,l=s++,f=s++,h=s++,p=s++,d=s++,y=s++,v=s++,b=s++,g=s++,m=s++,w=s++,k=s++,_=s++,O=s++,S=s++,x=s++,P=s++,E=s++,A=s++,T=s++,C=s++,j=s++,R=s++,D=s++,N=s++,q=s++,B=s++,I=s++,L=s++,M=s++,V=s++,F=s++,U=s++,z=s++,H=s++,G=s++,W=s++,J=s++,Y=s++,K=s++,$=s++,Q=s++,X=s++,Z=s++,tt=s++,et=s++,rt=s++,nt=s++,ot=s++,it=s++,at=s++,st=s++,ut=s++,ct=0,lt=ct++,ft=ct++,ht=ct++;function pt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function dt(t,e,r){var n=t.toLowerCase();return t===n?function(t){t===n?this._state=e:(this._state=r,this._index--)}:function(o){o===n||o===t?this._state=e:(this._state=r,this._index--)}}function yt(t,e){var r=t.toLowerCase();return function(n){n===r||n===t?this._state=e:(this._state=l,this._index--)}}function vt(t,e){this._state=u,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=u,this._special=lt,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}vt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===lt&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=u,this._state=ot,this._sectionStart=this._index)},vt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==lt||pt(t)?this._state=u:"!"===t?(this._state=_,this._sectionStart=this._index+1):"?"===t?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?l:L,this._sectionStart=this._index)},vt.prototype._stateInTagName=function(t){("/"===t||">"===t||pt(t))&&(this._emitToken("onopentagname"),this._state=y,this._index--)},vt.prototype._stateBeforeCloseingTagName=function(t){pt(t)||(">"===t?this._state=u:this._special!==lt?"s"===t||"S"===t?this._state=M:(this._state=u,this._index--):(this._state=p,this._sectionStart=this._index))},vt.prototype._stateInCloseingTagName=function(t){(">"===t||pt(t))&&(this._emitToken("onclosetag"),this._state=d,this._index--)},vt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=u,this._sectionStart=this._index+1)},vt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=u,this._sectionStart=this._index+1):"/"===t?this._state=f:pt(t)||(this._state=v,this._sectionStart=this._index)},vt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=u,this._sectionStart=this._index+1):pt(t)||(this._state=y,this._index--)},vt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||pt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},vt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=g:"/"===t||">"===t?(this._cbs.onattribend(),this._state=y,this._index--):pt(t)||(this._cbs.onattribend(),this._state=v,this._sectionStart=this._index)},vt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=m,this._sectionStart=this._index+1):"'"===t?(this._state=w,this._sectionStart=this._index+1):pt(t)||(this._state=k,this._sectionStart=this._index,this._index--)},vt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},vt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},vt.prototype._stateInAttributeValueNoQuotes=function(t){pt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=y,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},vt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?T:"-"===t?x:O},vt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=u,this._sectionStart=this._index+1)},vt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=u,this._sectionStart=this._index+1)},vt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=P,this._sectionStart=this._index+1):this._state=O},vt.prototype._stateInComment=function(t){"-"===t&&(this._state=E)},vt.prototype._stateAfterComment1=function(t){this._state="-"===t?A:P},vt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=u,this._sectionStart=this._index+1):"-"!==t&&(this._state=P)},vt.prototype._stateBeforeCdata1=dt("C",C,O),vt.prototype._stateBeforeCdata2=dt("D",j,O),vt.prototype._stateBeforeCdata3=dt("A",R,O),vt.prototype._stateBeforeCdata4=dt("T",D,O),vt.prototype._stateBeforeCdata5=dt("A",N,O),vt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=q,this._sectionStart=this._index+1):(this._state=O,this._index--)},vt.prototype._stateInCdata=function(t){"]"===t&&(this._state=B)},vt.prototype._stateAfterCdata1=function(t){this._state="]"===t?I:q},vt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=u,this._sectionStart=this._index+1):"]"!==t&&(this._state=q)},vt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=V:"t"===t||"T"===t?this._state=$:(this._state=l,this._index--)},vt.prototype._stateBeforeSpecialEnd=function(t){this._special!==ft||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=u:this._state=tt:this._state=G},vt.prototype._stateBeforeScript1=yt("R",F),vt.prototype._stateBeforeScript2=yt("I",U),vt.prototype._stateBeforeScript3=yt("P",z),vt.prototype._stateBeforeScript4=yt("T",H),vt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||pt(t))&&(this._special=ft),this._state=l,this._index--},vt.prototype._stateAfterScript1=dt("R",W,u),vt.prototype._stateAfterScript2=dt("I",J,u),vt.prototype._stateAfterScript3=dt("P",Y,u),vt.prototype._stateAfterScript4=dt("T",K,u),vt.prototype._stateAfterScript5=function(t){">"===t||pt(t)?(this._special=lt,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=u},vt.prototype._stateBeforeStyle1=yt("Y",Q),vt.prototype._stateBeforeStyle2=yt("L",X),vt.prototype._stateBeforeStyle3=yt("E",Z),vt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||pt(t))&&(this._special=ht),this._state=l,this._index--},vt.prototype._stateAfterStyle1=dt("Y",et,u),vt.prototype._stateAfterStyle2=dt("L",rt,u),vt.prototype._stateAfterStyle3=dt("E",nt,u),vt.prototype._stateAfterStyle4=function(t){">"===t||pt(t)?(this._special=lt,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=u},vt.prototype._stateBeforeEntity=dt("#",it,at),vt.prototype._stateBeforeNumericEntity=dt("X",ut,st),vt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?a:o;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},vt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var r=this._buffer.substr(t,e);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=e+1);e--}},vt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==u?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},vt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var o=this._buffer.substring(r,this._index),i=parseInt(o,e);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},vt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},vt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},vt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===u?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},vt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},vt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===u?this._stateText(t):this._state===c?this._stateBeforeTagName(t):this._state===l?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===p?this._stateInCloseingTagName(t):this._state===d?this._stateAfterCloseingTagName(t):this._state===f?this._stateInSelfClosingTag(t):this._state===y?this._stateBeforeAttributeName(t):this._state===v?this._stateInAttributeName(t):this._state===b?this._stateAfterAttributeName(t):this._state===g?this._stateBeforeAttributeValue(t):this._state===m?this._stateInAttributeValueDoubleQuotes(t):this._state===w?this._stateInAttributeValueSingleQuotes(t):this._state===k?this._stateInAttributeValueNoQuotes(t):this._state===_?this._stateBeforeDeclaration(t):this._state===O?this._stateInDeclaration(t):this._state===S?this._stateInProcessingInstruction(t):this._state===x?this._stateBeforeComment(t):this._state===P?this._stateInComment(t):this._state===E?this._stateAfterComment1(t):this._state===A?this._stateAfterComment2(t):this._state===T?this._stateBeforeCdata1(t):this._state===C?this._stateBeforeCdata2(t):this._state===j?this._stateBeforeCdata3(t):this._state===R?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===N?this._stateBeforeCdata6(t):this._state===q?this._stateInCdata(t):this._state===B?this._stateAfterCdata1(t):this._state===I?this._stateAfterCdata2(t):this._state===L?this._stateBeforeSpecial(t):this._state===M?this._stateBeforeSpecialEnd(t):this._state===V?this._stateBeforeScript1(t):this._state===F?this._stateBeforeScript2(t):this._state===U?this._stateBeforeScript3(t):this._state===z?this._stateBeforeScript4(t):this._state===H?this._stateBeforeScript5(t):this._state===G?this._stateAfterScript1(t):this._state===W?this._stateAfterScript2(t):this._state===J?this._stateAfterScript3(t):this._state===Y?this._stateAfterScript4(t):this._state===K?this._stateAfterScript5(t):this._state===$?this._stateBeforeStyle1(t):this._state===Q?this._stateBeforeStyle2(t):this._state===X?this._stateBeforeStyle3(t):this._state===Z?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===ot?this._stateBeforeEntity(t):this._state===it?this._stateBeforeNumericEntity(t):this._state===at?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ut?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},vt.prototype.pause=function(){this._running=!1},vt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},vt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},vt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},vt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===q||this._state===B||this._state===I?this._cbs.oncdata(t):this._state===P||this._state===E||this._state===A?this._cbs.oncomment(t):this._state!==at||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ut||this._xmlMode?this._state!==l&&this._state!==y&&this._state!==g&&this._state!==b&&this._state!==v&&this._state!==w&&this._state!==m&&this._state!==k&&this._state!==p&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},vt.prototype.reset=function(){vt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},vt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},vt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},vt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},vt.prototype._emitPartial=function(t){this._baseState!==u?this._cbs.onattribdata(t):this._cbs.ontext(t)}},926:function(t,e,r){var n=r(1209);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in n&&(t=n[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},927:function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},928:function(t,e,r){var n=r(668),o=/\s+/g,i=r(929),a=r(1211);function s(t,e,r){"object"==typeof t?(r=e,e=t,t=null):"function"==typeof e&&(r=e,e=u),this._callback=t,this._options=e||u,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"==typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(a):Object.create(i),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?n.Script:"style"===t?n.Style:n.Tag,name:t,attribs:e,children:[]},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===n.Text)r?e.data=(e.data+t).replace(o," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===n.Text)r?e.data=(e.data+t).replace(o," "):e.data+=t;else{r&&(t=t.replace(o," "));var i=this._createDomElement({data:t,type:n.Text});this._addDomElement(i)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===n.Comment)e.data+=t;else{var r={data:t,type:n.Comment},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:n.Text}],type:n.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:n.Directive});this._addDomElement(r)},t.exports=s},929:function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return o[this.type]||o.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},o={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},930:function(t,e,r){var n=t.exports;[r(1213),r(1218),r(1219),r(1220),r(1221),r(1222)].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e].bind(n)}))}))},931:function(t,e,r){t.exports=s;var n=r(924),o=r(932).Writable,i=r(1224).StringDecoder,a=r(933).Buffer;function s(t,e){var r=this._parser=new n(t,e),a=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(709)(s,o),s.prototype._write=function(t,e,r){t instanceof a&&(t=this._decoder.write(t)),this._parser.write(t),r()}},933:function(t,e,r){"use strict";(function(t){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var n=r(1226),o=r(1227),i=r(1228);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=h(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,r),o=(t=s(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(u.isBuffer(e)){var r=0|p(e.length);return 0===(t=s(t,r)).length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):h(t,e);if("Buffer"===e.type&&i(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(l(e),t=s(t,e<0?0:0|p(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|p(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(t).length;default:if(n)return F(t).length;e=(""+e).toLowerCase(),n=!0}}function y(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return x(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,o);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(t,i)===c(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,h=0;h<u;h++)if(c(t,i+h)!==c(e,h)){f=!1;break}if(f)return i}return-1}function m(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function w(t,e,r,n){return z(F(e,t.length-r),t,r,n)}function k(t,e,r,n){return z(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function _(t,e,r,n){return k(t,e,r,n)}function O(t,e,r,n){return z(U(e),t,r,n)}function S(t,e,r,n){return z(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function x(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function P(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,u,c=t[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=t[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(t){var e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=E));return r}(n)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return function(t,e,r,n){return l(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return f(null,t)},u.allocUnsafeSlow=function(t){return f(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,o){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),c=this.slice(n,o),l=t.slice(e,r),f=0;f<s;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return b(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return b(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return m(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return k(this,t,e,r);case"latin1":case"binary":return _(this,t,e,r);case"base64":return O(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function A(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function T(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function C(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=V(t[i]);return o}function j(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function R(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function q(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function B(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(t,e,r,n,i){return i||B(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function L(t,e,r,n,i){return i||B(t,0,r,8),o.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=u.prototype;else{var o=e-t;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},u.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return I(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return I(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=u.isBuffer(t)?t:F(new u(t,n).toString()),s=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var M=/[^+\/0-9A-Za-z-_]/g;function V(t){return t<16?"0"+t.toString(16):t.toString(16)}function F(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function U(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(7))},934:function(t,e,r){var n=r(1231),o=r(923);e.wordwrap=function(t,e){var r=e.wordwrap,n=e.preserveNewlines,i=e.lineCharCount,a=t.startsWith(" ")?" ":"";i+=a.length;var s=[];return(n?t.trim().replace(/\n/g,"\n ").split(/\ +/):t.trim().split(/\s+/)).forEach((function(t){(r||0===r)&&i>0&&(i+t.length>r||i+t.indexOf("\n")>r)&&(a+=s.join(" ")+"\n",s.length=i=0),(r||0===r)&&e.longWordSplit&&t.length>r&&(t=function(t,e){for(var r=e.longWordSplit.wrapCharacters||[],n=e.longWordSplit.forceWrapOnLimit||!1,o=e.wordwrap,i=[],a=0;t.length>o;){var s=t.substr(0,o),u=t.substr(o),c=s.lastIndexOf(r[a]);if(c>-1)t=s.substr(c+1)+u,i.push(s.substr(0,c+1));else{if(++a>=r.length){if(n){if(i.push(s),(t=u).length>o)continue}else t=s+u,e.preserveNewlines||(t+="\n");break}t=s+u}}return i.push(t),i.join("\n")}(t,e)),s.push(t),-1!==t.indexOf("\n")?(a+=s.join(" "),s.length=0,(i=t.length-(t.lastIndexOf("\n")+1))&&(a+=" ",i++)):i+=t.length+1})),a+=s.join(" "),t.endsWith(" ")?a.endsWith(" ")||(a+=" "):a=o(a),a},e.arrayZip=function(t){return n.apply(null,t)},e.splitCssSearchTag=function(t){function e(t,e){for(var r,n=[];null!==(r=t.exec(e));)n.push(r[1]);return n}var r={};return r.element=/(^\w*)/g.exec(t)[1],r.classes=e(/\.([\d\w-]*)/g,t),r.ids=e(/#([\d\w-]*)/g,t),r},e.replaceAll=function(t,e,r){var n=new RegExp(e,"g");return t.replace(n,r)}},935:function(t,e,r){var n=r(304),o=r(819),i=r(1241),a=r(820),s=r(151),u=/^\s+/;t.exports=function(t,e,r){if((t=s(t))&&(r||void 0===e))return t.replace(u,"");if(!t||!(e=n(e)))return t;var c=a(t),l=i(c,a(e));return o(c,l).join("")}},936:function(t,e,r){var n=r(1245),o=r(821),i=r(1246);t.exports=function(t){return o(t)?i(t):n(t)}}}]);
//# sourceMappingURL=mail.3.4535d44736f5bad05772.js.map