diff --git a/ckeditor-dev b/ckeditor-dev
index 5fe059002f..d529d176d7 160000
--- a/ckeditor-dev
+++ b/ckeditor-dev
@@ -1 +1 @@
-Subproject commit 5fe059002f8c207df80b44ef999f3d1eec280694
+Subproject commit d529d176d70016ce8bcf51eb87ce7802a05fe5f9
diff --git a/ckeditor/CHANGES.md b/ckeditor/CHANGES.md
index 24258bb65c..9a4b45a817 100644
--- a/ckeditor/CHANGES.md
+++ b/ckeditor/CHANGES.md
@@ -1,6 +1,140 @@
CKEditor 4 Changelog
====================
+## CKEditor 4.21.0
+
+**Security Updates:**
+
+A cross-site scripting vulnerability has been discovered affecting [Iframe Dialog](https://ckeditor.com/cke4/addon/iframe) and [Media Embed](https://ckeditor.com/cke4/addon/embed) plugins.
+
+This vulnerability might affect a small percentage of integrators that depend on dynamic editor initialization/destroy mechanism. See [GitHub advisory](https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-vh5c-xwqv-cv9g) for more details.
+
+**Potential breaking changes**
+
+In some rare cases, a security release may introduce a breaking change to your application. We have provided configuration options that will help you mitigate any potential issues with the upgrade:
+
+- Starting from version 4.21, the [Iframe Dialog](https://ckeditor.com/cke4/addon/iframe) plugin applies the `sandbox` attribute by default, which restricts JavaScript code execution in the iframe element. To change this behavior, configure the [`config.iframe_attributes`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-iframe_attributes) option.
+- Starting from version 4.21, the [Media Embed](https://ckeditor.com/cke4/addon/embed) plugin regenerates the entire content of the embed widget by default. To change this behavior, configure the [`config.embed_keepOriginalContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-embed_keepOriginalContent) option.
+
+If you choose to change either of the above options, make sure to properly configure [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) to avoid any potential security issues that may arise from embedding iframe elements on your web page.
+
+You can read more details in the relevant security advisory and [contact us](security@cksource.com) if you have more questions.
+
+**An upgrade is highly recommended!**
+
+New Features:
+
+* [#4400](https://github.com/ckeditor/ckeditor4/issues/4400): Added the [`config.uploadImage_supportedTypes`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-uploadImage_supportedTypes) configuration option allowing to change the image formats accepted by the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin. Thanks to [SilverYoCha](https://github.com/SilverYoCha)!
+
+Fixed Issues:
+
+* [#5431](https://github.com/ckeditor/ckeditor4/issues/5431): Fixed: No notification is shown when pasting or dropping unsupported image types into the editor.
+
+## CKEditor 4.20.2
+
+Fixed Issues:
+
+* [#439](https://github.com/ckeditor/ckeditor4/issues/439): Fixed: Incorrect Tab and Shift+Tab navigation for radio buttons inside the dialog.
+* [#4829](https://github.com/ckeditor/ckeditor4/issues/4829): Fixed: Undo reversed entire table content instead of a single cell. Thanks to that fix, multiple changes in a table can be undone one by one.
+* [#5396](https://github.com/ckeditor/ckeditor4/issues/5396): Fixed: Event listeners for `popstate` and `hashchange` events on the `window`, added by the [Maximize](https://ckeditor.com/cke4/addon/maximize) plugin, were not removed when destroying the editor instance.
+* [#5414](https://github.com/ckeditor/ckeditor4/issues/5414): Fixed: File and image uploaders based on the [Upload Widget plugin](https://ckeditor.com/cke4/addon/uploadwidget) and [Easy Image plugin ](https://ckeditor.com/cke4/addon/easyimage) didn't fire the [`change` event](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) upon finishing upload, resulting in passing incorrect data in form controls for integration frameworks, like [Reactive forms in Angular](https://angular.io/guide/reactive-forms).
+* [#698](https://github.com/ckeditor/ckeditor4/issues/698): Fixed: An error was thrown after applying formatting to the widget with inline editable and switching to the source mode. Thanks to [Glen](https://github.com/glen-84)!
+
+API changes:
+
+* [#3540](https://github.com/ckeditor/ckeditor4/issues/3540): The [startup data](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html) passed to the widget's command is now used to also populate the widget's template.
+* [#5352](https://github.com/ckeditor/ckeditor4/issues/5352): Added the [`colorButton_contentsCss`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_contentsCss) configuration option allowing to add custom CSS to the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) menu content. Thanks to [mihilion](https://github.com/mihilion)!
+
+## CKEditor 4.20.1
+
+Fixed Issues:
+
+* [#5333](https://github.com/ckeditor/ckeditor4/issues/5333): Fixed: The original name of the uploaded image is not preserved by the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin if the [Clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin has enabled image handling.
+* [#2881](https://github.com/ckeditor/ckeditor4/issues/2881): Fixed: Changing table headers from "Both" to "First column" in the [Table](https://ckeditor.com/cke4/addon/table) dialog does not change the first column cell correctly.
+* [#2996](https://github.com/ckeditor/ckeditor4/issues/2996): Fixed: Table header "scope" attribute is incorrect for the "Headers: both" option in the [Table](https://ckeditor.com/cke4/addon/table) dialog.
+* [#4802](https://github.com/ckeditor/ckeditor4/issues/4802): Fixed: [Tableselection](https://ckeditor.com/cke4/addon/tableselection) caret moves to the previous cell after tabbing into the next cell and then removing its content.
+* [#5365](https://github.com/ckeditor/ckeditor4/issues/5365): Fixed: The value of the [`config.baseFloatZIndex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-baseFloatZIndex) config variable is incorrectly applied to parent dialog when the child dialog is closed resulting in the dialog overlay covering up the dialog. Thanks to [JenoDK](https://github.com/JenoDK)!
+* [#5305](https://github.com/ckeditor/ckeditor4/issues/5305): Fixed: Anchor name can invalidly include spaces.
+
+## CKEditor 4.20
+
+New Features:
+
+* [#5084](https://github.com/ckeditor/ckeditor4/issues/5084): Added the [`config.tabletools_scopedHeaders`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-tabletools_scopedHeaders) configuration option controlling the behaviour of table headers with and without the `[scope]` attribute.
+* [#5219](https://github.com/ckeditor/ckeditor4/issues/5219): Added the [`config.image2_defaultLockRatio`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-image2_defaultLockRatio) configuration option allowing to set the default value of the "Lock ratio" option in the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) dialog.
+* [#2008](https://github.com/ckeditor/ckeditor-dev/pull/2008): Extended the [Mentions](https://ckeditor.com/cke4/addon/mentions) and [Emoji](https://ckeditor.com/cke4/addon/emoji) plugins with a feature option that adds a space after an accepted autocompletion match. See:
+ * [`configDefinition.followingSpace`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_mentions_configDefinition.html#property-followingSpace) option for the mentions plugin, and
+ * [`config.emoji_followingSpace`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-emoji_followingSpace) option for the emoji plugin.
+* [#5215](https://github.com/ckeditor/ckeditor4/issues/5215): Added the [`config.coreStyles_toggleSubSup`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-coreStyles_toggleSubSup) configuration option which disallows setting the subscript and superscript on the same element simultaneously using UI buttons. This option is turned off by default.
+
+Fixed Issues:
+
+* [#4889](https://github.com/ckeditor/ckeditor4/issues/4889): Fixed: Incorrect position of the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) cursor after scrolling the editor horizontally.
+* [#5319](https://github.com/ckeditor/ckeditor4/issues/5319): Fixed: [Autolink](https://ckeditor.com/cke4/addon/autolink) [`config.autolink_urlRegex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autolink_urlRegex) option produced invalid links when configured directly using the editor instance config. Thanks to [Aigars Zeiza](https://github.com/Zuzon)!
+* [#4941](https://github.com/ckeditor/ckeditor4/issues/4941): Fixed: Some entities got wrongly encoded when using [`entities_processNumerical = true`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-entities_processNumerical) configuration option.
+* [#4931](https://github.com/ckeditor/ckeditor4/issues/4931): Fixed: Selecting the whole editor content when there is only a list with an empty element at the end inside and deleting it did not delete all list items.
+
+
+API changes:
+
+* [#5122](https://github.com/ckeditor/ckeditor4/issues/5122): Added the ability to provide a list of buttons as an array to the [`config.removeButtons`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removeButtons) config variable.
+* [#2008](https://github.com/ckeditor/ckeditor-dev/pull/2008): Added [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) [`followingSpace`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_autocomplete_configDefinition.html#property-followingSpace) option that finishes an accepted match with a space.
+
+## CKEditor 4.19.1
+
+Fixed Issues:
+
+* [#5125](https://github.com/ckeditor/ckeditor4/issues/5125): Fixed: Deleting a widget with disabled [autoParagraph](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autoParagraph) by the keyboard `backspace` key removes the editor editable area and crashes the editor.
+* [#5135](https://github.com/ckeditor/ckeditor4/issues/5135): Fixed: The [`checkbox.setValue`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_dialog_checkbox.html#method-setValue) and [`radio.setValue`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_dialog_radio.html#method-setValue) methods are not chainable as stated in the documentation. Thanks to [Jordan Bradford](https://github.com/LordPachelbel)!
+* [#5085](https://github.com/ckeditor/ckeditor4/issues/5085): Fixed: The [Language](https://ckeditor.com/cke4/addon/language) plugin removes the element marking the text in foreign language if said element does not have an information about the text direction.
+* [#4284](https://github.com/ckeditor/ckeditor4/issues/4284): Fixed: [Tableselection](https://ckeditor.com/cke4/addon/tableselection) Merging cells with a rowspan throws an unexpected error and does not create an undo step.
+* [#5184](https://github.com/ckeditor/ckeditor4/issues/5184): Fixed: The [Editor Placeholder](https://ckeditor.com/cke4/addon/wysiwygarea) plugin degrades typing performance.
+* [#5158](https://github.com/ckeditor/ckeditor4/issues/5158): Fixed: [`CKEDITOR.tools#convertToPx()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-convertToPx) gives invalid results if the helper calculator element was deleted from the DOM.
+* [#5234](https://github.com/ckeditor/ckeditor4/issues/5234): Fixed: [Easy Image](https://ckeditor.com/cke4/addon/easyimage) doesn't allow to upload images files using toolbar button.
+* [#438](https://github.com/ckeditor/ckeditor4/issues/438): Fixed: It is impossible to navigate to the [elementspath](https://ckeditor.com/cke4/addon/elementspath) from the [toolbar](https://ckeditor.com/cke4/addon/toolbar) by keyboard and vice versa.
+* [#4449](https://github.com/ckeditor/ckeditor4/issues/4449): Fixed: [`dialog.validate#functions`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-functions) incorrectly composes functions that return an optional error message, like e.g. [`dialog.validate.number`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-number) due to unnecessary return type coercion.
+* [#4473](https://github.com/ckeditor/ckeditor4/issues/4473): Fixed: The [dialog.validate](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html) method does not accept parameter value. The issue originated in [dialog.validate.functions](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-functions) method that did not properly propagate parameter value to validator. Affected validators:
+ * [`functions`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-functions)
+ * [`equals`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-equals)
+ * [`notEqual`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-notEqual)
+ * [`cssLength`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-cssLength)
+ * [`htmlLength`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-htmlLength)
+ * [`inlineStyle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_validate.html#method-inlineStyle)
+* [#5147](https://github.com/ckeditor/ckeditor4/issues/5147): Fixed: The [Accessibility Help](https://ckeditor.com/cke4/addon/a11yhelp) dialog does not contain info about focus being moved back to the editing area upon leaving dialogs.
+* [#5144](https://github.com/ckeditor/ckeditor4/issues/5144): Fixed: [Menu buttons](https://ckeditor.com/cke4/addon/menubutton) and [panel buttons](https://ckeditor.com/cke4/addon/panelbutton) incorrectly indicate the open status of their associated pop-up menus in the browser's accessibility tree.
+* [#5022](https://github.com/ckeditor/ckeditor4/issues/5022): Fixed: [Find and Replace](https://ckeditor.com/cke4/addon/find) does not respond to the `Enter` key.
+
+API changes:
+
+* [#5184](https://github.com/ckeditor/ckeditor4/issues/5184): Added the [`config.editorplaceholder_delay`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-editorplaceholder_delay) configuration option allowing to delay placeholder before it is toggled when changing editor content.
+* [#5184](https://github.com/ckeditor/ckeditor4/issues/5184): Added the [`CKEDITOR.tools#debounce()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-debounce) function allowing to postpone a passed function execution until the given milliseconds have elapsed since the last time it was invoked.
+
+## CKEditor 4.19.0
+
+New features:
+
+* [#2444](https://github.com/ckeditor/ckeditor4/issues/2444): Togglable toolbar buttons are now exposed as toggle buttons in the browser's accessibility tree.
+* [#4641](https://github.com/ckeditor/ckeditor4/issues/4641): Added an option allowing to cancel the [Delayed Editor Creation](https://ckeditor.com/docs/ckeditor4/latest/features/delayed_creation.html) feature as a function handle for editor creators ([`CKEDITOR.replace`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-replace), [`CKEDITOR.inline`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-inline), [`CKEDITOR.appendTo`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-appendTo)).
+* [#4986](https://github.com/ckeditor/ckeditor4/issues/4986): Added [`config.shiftLineBreaks`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-shiftLineBreaks) allowing to preserve inline elements formatting when the `shift`+`enter` keystroke is used.
+* [#2445](https://github.com/ckeditor/ckeditor4/issues/2445): Added [`config.applicationTitle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-applicationTitle) configuration option allowing to customize or disable the editor's application region label. This option, combined with [`config.title`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-title), gives much better control over the editor's labels read by screen readers.
+
+Fixed Issues:
+
+* [#4543](https://github.com/ckeditor/ckeditor4/issues/4543): Fixed: Toolbar buttons toggle state is not correctly announced by screen readers lacking the information whether the feature is on or off.
+* [#4052](https://github.com/ckeditor/ckeditor4/issues/4052): Fixed: Editor labels are read incorrectly by screen readers due to invalid editor control type for the [Iframe Editing Area](https://ckeditor.com/cke4/addon/wysiwygarea) editors.
+* [#1904](https://github.com/ckeditor/ckeditor4/issues/1904): Fixed: Screen readers are not announcing the read-only editor state.
+* [#4904](https://github.com/ckeditor/ckeditor4/issues/4904): Fixed: Table cell selection and navigation with the `tab` key behavior is inconsistent after adding a new row.
+* [#3394](https://github.com/ckeditor/ckeditor4/issues/3394): Fixed: [Enhanced image](https://ckeditor.com/cke4/addon/image2) plugin dialog is not supporting URL with query string parameters. Thanks to [Simon Urli](https://github.com/surli)!
+* [#5049](https://github.com/ckeditor/ckeditor4/issues/5049): Fixed: The editor fails in strict mode due to not following the `use strict` directives in a core editor module.
+* [#5095](https://github.com/ckeditor/ckeditor4/issues/5095): Fixed: The [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin shows notification about unsupported file format when the file type is different than `jpg`, `gif`, `png`, not respecting [supported types](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-supportedTypes) by the [Upload Widget](https://ckeditor.com/cke4/addon/uploadwidget) plugin.
+* [#4855](https://github.com/ckeditor/ckeditor4/issues/4855): [iOS] Fixed: Focusing toolbar buttons with an enabled VoiceOver screen reader moves the browser focus into an editable area and interrupts button functionality.
+
+API changes:
+
+* [#4641](https://github.com/ckeditor/ckeditor4/issues/4641): The [`CKEDITOR.replace`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-replace), [`CKEDITOR.inline`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-inline), [`CKEDITOR.appendTo`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-appendTo) functions are now returning a handle function allowing to cancel the [Delayed Editor Creation](https://ckeditor.com/docs/ckeditor4/latest/features/delayed_creation.html) feature.
+* [#5095](https://github.com/ckeditor/ckeditor4/issues/5095): Added the [CKEDITOR.plugins.clipboard.addFileMatcher](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard.html#method-addFileMatcher) function allowing to define file formats supported by the [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin. Trying to paste unsupported files will result in a notification that a file cannot be dropped or pasted into the editor.
+* [#2445](https://github.com/ckeditor/ckeditor4/issues/2445): Added [`config.applicationTitle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-applicationTitle) alongside [`CKEDITOR.editor#applicationTitle`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-applicationTitle) to allow customizing editor's application region label.
+
## CKEditor 4.18.0
**Security Updates:**
diff --git a/ckeditor/LICENSE.md b/ckeditor/LICENSE.md
index 7efd4ef509..76830084b5 100644
--- a/ckeditor/LICENSE.md
+++ b/ckeditor/LICENSE.md
@@ -2,7 +2,7 @@ Software License Agreement
==========================
CKEditor - The text editor for Internet - https://ckeditor.com/
-Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
+Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
Licensed under the terms of any of the following licenses at your
choice:
@@ -37,7 +37,7 @@ done by developers outside of CKSource with their express permission.
The following libraries are included in CKEditor under the MIT license (see Appendix D):
-* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2022, CKSource Holding sp. z o.o.
+* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2023, CKSource Holding sp. z o.o.
* PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca.
* CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke and others.
* ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors.
diff --git a/ckeditor/adapters/jquery.js b/ckeditor/adapters/jquery.js
index 0defc72049..6afae1ec2d 100644
--- a/ckeditor/adapters/jquery.js
+++ b/ckeditor/adapters/jquery.js
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
+ Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(a){if("undefined"==typeof a)throw Error("jQuery should be loaded before CKEditor jQuery adapter.");if("undefined"==typeof CKEDITOR)throw Error("CKEditor should be loaded before CKEditor jQuery adapter.");CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},
diff --git a/ckeditor/ckeditor.js b/ckeditor/ckeditor.js
index 9360003802..8100400764 100644
--- a/ckeditor/ckeditor.js
+++ b/ckeditor/ckeditor.js
@@ -1,15 +1,15 @@
/*
-Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
+Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license/
*/
-(function(){window.CKEDITOR&&window.CKEDITOR.dom||(window.CKEDITOR||(window.CKEDITOR=function(){var c=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"M9Q8",version:"4.18.0 DEV",revision:"ab04b6a9ec",rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:c},status:"unloaded",basePath:function(){var e=window.CKEDITOR_BASEPATH||"";if(!e)for(var a=document.getElementsByTagName("script"),g=0;gw.getListenerIndex(g)){w=w.listeners;k||(k=this);isNaN(b)&&(b=10);d.fn=g;d.priority=b;for(var y=w.length-1;0<=y;y--)if(w[y].priority<=b)return w.splice(y+1,0,d),{removeListener:f};w.unshift(d)}return{removeListener:f}},once:function(){var a=Array.prototype.slice.call(arguments),c=a[1];a[1]=function(a){a.removeListener();return c.apply(this,arguments)};return this.on.apply(this,
-a)},capture:function(){CKEDITOR.event.useCapture=1;var a=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return a},fire:function(){var a=0,l=function(){a=1},k=0,m=function(){k=1};return function(b,d,f){var p=g(this)[b];b=a;var w=k;a=k=0;if(p){var y=p.listeners;if(y.length)for(var y=y.slice(0),h,t=0;tw.getListenerIndex(g)){w=w.listeners;k||(k=this);isNaN(b)&&(b=10);d.fn=g;d.priority=b;for(var z=w.length-1;0<=z;z--)if(w[z].priority<=b)return w.splice(z+1,0,d),{removeListener:f};w.unshift(d)}return{removeListener:f}},once:function(){var a=Array.prototype.slice.call(arguments),c=a[1];a[1]=function(a){a.removeListener();return c.apply(this,arguments)};return this.on.apply(this,
+a)},capture:function(){CKEDITOR.event.useCapture=1;var a=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return a},fire:function(){var a=0,l=function(){a=1},k=0,m=function(){k=1};return function(b,d,f){var n=g(this)[b];b=a;var w=k;a=k=0;if(n){var z=n.listeners;if(z.length)for(var z=z.slice(0),h,t=0;tdocument.documentMode),mobile:-1a;g.css
function(){if("basic_ready"!=CKEDITOR.status)CKEDITOR.loadFullCore._load=1;else{delete CKEDITOR.loadFullCore;var c=document.createElement("script");c.type="text/javascript";c.src=CKEDITOR.basePath+"ckeditor.js";document.getElementsByTagName("head")[0].appendChild(c)}};CKEDITOR.loadFullCoreTimeout=0;CKEDITOR.add=function(c){(this._.pending||(this._.pending=[])).push(c)};(function(){CKEDITOR.domReady(function(){var c=CKEDITOR.loadFullCore,h=CKEDITOR.loadFullCoreTimeout;c&&(CKEDITOR.status="basic_ready",
c&&c._load?c():h&&setTimeout(function(){CKEDITOR.loadFullCore&&CKEDITOR.loadFullCore()},1E3*h))})})();CKEDITOR.status="basic_loaded"}(),"use strict",CKEDITOR.VERBOSITY_WARN=1,CKEDITOR.VERBOSITY_ERROR=2,CKEDITOR.verbosity=CKEDITOR.VERBOSITY_WARN|CKEDITOR.VERBOSITY_ERROR,CKEDITOR.warn=function(c,h){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_WARN&&CKEDITOR.fire("log",{type:"warn",errorCode:c,additionalData:h})},CKEDITOR.error=function(c,h){CKEDITOR.verbosity&CKEDITOR.VERBOSITY_ERROR&&CKEDITOR.fire("log",
{type:"error",errorCode:c,additionalData:h})},CKEDITOR.on("log",function(c){if(window.console&&window.console.log){var h=console[c.data.type]?c.data.type:"log",g=c.data.errorCode;if(c=c.data.additionalData)console[h]("[CKEDITOR] Error code: "+g+".",c);else console[h]("[CKEDITOR] Error code: "+g+".");console[h]("[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#"+g)}},null,null,999),CKEDITOR.dom={},function(){function c(f,b,a){this._minInterval=
-f;this._context=a;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(b,a||{});var d=this;this.input=function(){function f(){d._lastOutput=(new Date).getTime();d._scheduledTimer=0;d._call()}if(!d._scheduledTimer||!1!==d._reschedule()){var p=(new Date).getTime()-d._lastOutput;p/g,k=/|\s) /g,function(f,b){return b+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var f=0;return function(){return++f}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var f="e",b=0;8>b;b++)f+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return f},override:function(f,
-b){var a=b(f);a.prototype=f.prototype;return a},setTimeout:function(f,b,a,d,e){e||(e=window);a||(a=e);return e.setTimeout(function(){d?f.apply(a,[].concat(d)):f.apply(a)},b||0)},throttle:function(f,b,a){return new this.buffers.throttle(f,b,a)},trim:function(){var f=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(b){return b.replace(f,"")}}(),ltrim:function(){var f=/^[ \t\n\r]+/g;return function(b){return b.replace(f,"")}}(),rtrim:function(){var f=/[ \t\n\r]+$/g;return function(b){return b.replace(f,
-"")}}(),indexOf:function(f,b){if("function"==typeof b)for(var a=0,d=f.length;aparseFloat(a);d&&(a=a.replace("-",""));f.setStyle("width",a);b=f.getClientRect();a=Math.round(b.width);return d?-a:a}return a}}(),repeat:function(f,b){return Array(b+1).join(f)},tryThese:function(){for(var f,b=0,a=arguments.length;bb;b++)f[b]=("0"+parseInt(f[b],10).toString(16)).slice(-2);return"#"+f.join("")})},normalizeHex:function(f){return f.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,
-function(f,b,a,d){f=b.toLowerCase();3==f.length&&(f=f.split(""),f=[f[0],f[0],f[1],f[1],f[2],f[2]].join(""));return"#"+f+d})},_isValidColorFormat:function(f){if(!f)return!1;f=f.replace(/\s+/g,"");return/^[a-z0-9()#%,./]+$/i.test(f)},parseCssText:function(f,b,a){var d={};a&&(f=(new CKEDITOR.dom.element("span")).setAttribute("style",f).getAttribute("style")||"");f&&(f=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(f)));if(!f||";"==f)return d;f.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,
-function(f,a,p){b&&(a=a.toLowerCase(),"font-family"==a&&(p=p.replace(/\s*,\s*/g,",")),p=CKEDITOR.tools.trim(p));d[a]=p});return d},writeCssText:function(f,b){var a,d=[];for(a in f)d.push(a+":"+f[a]);b&&d.sort();return d.join("; ")},objectCompare:function(f,b,a){var d;if(!f&&!b)return!0;if(!f||!b)return!1;for(d in f)if(f[d]!=b[d])return!1;if(!a)for(d in b)if(f[d]!=b[d])return!1;return!0},objectKeys:function(f){return CKEDITOR.tools.object.keys(f)},convertArrayToObject:function(f,b){var a={};1==arguments.length&&
-(b=!0);for(var d=0,e=f.length;da;a++)f.push(Math.floor(256*Math.random()));for(a=0;a=d||0==a&&48<=
-d&&57>=d||1==a&&48<=d&&57>=d&&45==c?e+("\\"+d.toString(16)+" "):0==a&&1==b&&45==d?e+("\\"+f.charAt(a)):128<=d||45==d||95==d||48<=d&&57>=d||65<=d&&90>=d||97<=d&&122>=d?e+f.charAt(a):e+("\\"+f.charAt(a));f=e}else f="";return f},getMouseButton:function(f){return(f=f&&f.data?f.data.$:f)?CKEDITOR.tools.normalizeMouseButton(f.button):!1},normalizeMouseButton:function(f,b){if(!CKEDITOR.env.ie||9<=CKEDITOR.env.version&&!CKEDITOR.env.ie6Compat)return f;for(var a=[[CKEDITOR.MOUSE_BUTTON_LEFT,1],[CKEDITOR.MOUSE_BUTTON_MIDDLE,
-4],[CKEDITOR.MOUSE_BUTTON_RIGHT,2]],d=0;dc)for(g=c;3>g;g++)e[g]=0;m[0]=(e[0]&252)>>2;m[1]=(e[0]&3)<<4|e[1]>>4;m[2]=(e[1]&15)<<2|(e[2]&192)>>6;m[3]=e[2]&63;for(g=0;4>g;g++)b=g<=c?
-b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(m[g]):b+"\x3d"}return b},style:{parse:{_borderStyle:"none hidden dotted dashed solid double groove ridge inset outset".split(" "),_widthRegExp:/^(thin|medium|thick|[\+-]?\d+(\.\d+)?[a-z%]+|[\+-]?0+(\.0+)?|\.\d+[a-z%]+)$/,_rgbaRegExp:/rgba?\(\s*\d+%?\s*,\s*\d+%?\s*,\s*\d+%?\s*(?:,\s*[0-9.]+\s*)?\)/gi,_hslaRegExp:/hsla?\(\s*[0-9.]+\s*,\s*\d+%\s*,\s*\d+%\s*(?:,\s*[0-9.]+\s*)?\)/gi,background:function(f){var b={},a=this._findColor(f);
-a.length&&(b.color=a[0],CKEDITOR.tools.array.forEach(a,function(b){f=f.replace(b,"")}));if(f=CKEDITOR.tools.trim(f))b.unprocessed=f;return b},margin:function(f){return CKEDITOR.tools.style.parse.sideShorthand(f,function(f){return f.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||["0px"]})},sideShorthand:function(f,b){function a(f){d.top=e[f[0]];d.right=e[f[1]];d.bottom=e[f[2]];d.left=e[f[3]]}var d={},e=b?b(f):f.split(/\s+/);switch(e.length){case 1:a([0,0,0,0]);break;case 2:a([0,
-1,0,1]);break;case 3:a([0,1,2,1]);break;case 4:a([0,1,2,3])}return d},border:function(f){return CKEDITOR.tools.style.border.fromCssRule(f)},_findColor:function(f){var b=[],a=CKEDITOR.tools.array,b=b.concat(f.match(this._rgbaRegExp)||[]),b=b.concat(f.match(this._hslaRegExp)||[]);return b=b.concat(a.filter(f.split(/\s+/),function(f){return f.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:f.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(f,b,a){var d=[];this.forEach(f,
-function(e,c){b.call(a,e,c,f)&&d.push(e)});return d},find:function(f,b,a){for(var d=f.length,e=0;eCKEDITOR.env.version&&(!f||"object"!==typeof f)){b=[];if("string"===typeof f)for(a=0;aCKEDITOR.env.version)for(e=0;eCKEDITOR.env.version&&
-(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&a(e);return e},hasPrevious:function(){return!!this.$.previousSibling},hasNext:function(){return!!this.$.nextSibling},insertAfter:function(c){c.$.parentNode.insertBefore(this.$,c.$.nextSibling);return c},insertBefore:function(c){c.$.parentNode.insertBefore(this.$,c.$);return c},insertBeforeMe:function(c){this.$.parentNode.insertBefore(c.$,this.$);return c},getAddress:function(c){for(var h=[],g=this.getDocument().$.documentElement,
-a=this;a&&a!=g;){var e=a.getParent();e&&h.unshift(this.getIndex.call(a,c));a=e}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(c){function h(a,e){var c=e?a.getNext():a.getPrevious();return c&&c.type==CKEDITOR.NODE_TEXT?c.isEmpty()?h(c,e):c:null}var g=this,a=-1,e;if(!this.getParent()||c&&g.type==CKEDITOR.NODE_TEXT&&g.isEmpty()&&!h(g)&&!h(g,!0))return-1;do if(!c||g.equals(this)||g.type!=CKEDITOR.NODE_TEXT||!e&&
-!g.isEmpty())a++,e=g.type==CKEDITOR.NODE_TEXT;while(g=g.getPrevious());return a},getNextSourceNode:function(c,h,g){if(g&&!g.call){var a=g;g=function(e){return!e.equals(a)}}c=!c&&this.getFirst&&this.getFirst();var e;if(!c){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;c=this.getNext()}for(;!c&&(e=(e||this).getParent());){if(g&&!1===g(e,!0))return null;c=e.getNext()}return!c||g&&!1===g(c)?null:h&&h!=c.type?c.getNextSourceNode(!1,h,g):c},getPreviousSourceNode:function(c,h,g){if(g&&
-!g.call){var a=g;g=function(e){return!e.equals(a)}}c=!c&&this.getLast&&this.getLast();var e;if(!c){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;c=this.getPrevious()}for(;!c&&(e=(e||this).getParent());){if(g&&!1===g(e,!0))return null;c=e.getPrevious()}return!c||g&&!1===g(c)?null:h&&c.type!=h?c.getPreviousSourceNode(!1,h,g):c},getPrevious:function(c){var h=this.$,g;do g=(h=h.previousSibling)&&10!=h.nodeType&&new CKEDITOR.dom.node(h);while(g&&c&&!c(g));return g},getNext:function(c){var h=
-this.$,g;do g=(h=h.nextSibling)&&new CKEDITOR.dom.node(h);while(g&&c&&!c(g));return g},getParent:function(c){var h=this.$.parentNode;return h&&(h.nodeType==CKEDITOR.NODE_ELEMENT||c&&h.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)?new CKEDITOR.dom.node(h):null},getParents:function(c){var h=this,g=[];do g[c?"push":"unshift"](h);while(h=h.getParent());return g},getCommonAncestor:function(c){if(c.equals(this))return this;if(c.contains&&c.contains(this))return c;var h=this.contains?this:this.getParent();
-do if(h.contains(c))return h;while(h=h.getParent());return null},getPosition:function(c){var h=this.$,g=c.$;if(h.compareDocumentPosition)return h.compareDocumentPosition(g);if(h==g)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&&c.type==CKEDITOR.NODE_ELEMENT){if(h.contains){if(h.contains(g))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(g.contains(h))return CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||
-0>g.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndex=document.documentMode||!h||(c=h+":"+c);return new CKEDITOR.dom.nodeList(this.$.getElementsByTagName(c))},
-getHead:function(){var c=this.$.getElementsByTagName("head")[0];return c=c?new CKEDITOR.dom.element(c):this.getDocumentElement().append(new CKEDITOR.dom.element("head"),!0)},getBody:function(){return new CKEDITOR.dom.element(this.$.body)},getDocumentElement:function(){return new CKEDITOR.dom.element(this.$.documentElement)},getWindow:function(){return new CKEDITOR.dom.window(this.$.parentWindow||this.$.defaultView)},write:function(c){this.$.open("text/html","replace");CKEDITOR.env.ie&&(c=c.replace(/(?:^\s*]*?>)|^/i,
-'$\x26\n\x3cscript data-cke-temp\x3d"1"\x3e('+CKEDITOR.tools.fixDomain+")();\x3c/script\x3e"));this.$.write(c);this.$.close()},find:function(c){return new CKEDITOR.dom.nodeList(this.$.querySelectorAll(c))},findOne:function(c){return(c=this.$.querySelector(c))?new CKEDITOR.dom.element(c):null},_getHtml5ShivFrag:function(){var c=this.getCustomData("html5ShivFrag");c||(c=this.$.createDocumentFragment(),CKEDITOR.tools.enableHtml5Elements(c,!0),this.setCustomData("html5ShivFrag",c));return c}}),CKEDITOR.dom.nodeList=
-function(c){this.$=c},CKEDITOR.dom.nodeList.prototype={count:function(){return this.$.length},getItem:function(c){return 0>c||c>=this.$.length?null:(c=this.$[c])?new CKEDITOR.dom.node(c):null},toArray:function(){return CKEDITOR.tools.array.map(this.$,function(c){return new CKEDITOR.dom.node(c)})}},CKEDITOR.dom.element=function(c,h){"string"==typeof c&&(c=(h?h.$:document).createElement(c));CKEDITOR.dom.domObject.call(this,c)},CKEDITOR.dom.element.get=function(c){return(c="string"==typeof c?document.getElementById(c)||
-document.getElementsByName(c)[0]:c)&&(c.$?c:new CKEDITOR.dom.element(c))},CKEDITOR.dom.element.prototype=new CKEDITOR.dom.node,CKEDITOR.dom.element.createFromHtml=function(c,h){var g=new CKEDITOR.dom.element("div",h);g.setHtml(c);return g.getFirst().remove()},CKEDITOR.dom.element.setMarker=function(c,h,g,a){var e=h.getCustomData("list_marker_id")||h.setCustomData("list_marker_id",CKEDITOR.tools.getNextNumber()).getCustomData("list_marker_id"),l=h.getCustomData("list_marker_names")||h.setCustomData("list_marker_names",
-{}).getCustomData("list_marker_names");c[e]=h;l[g]=1;return h.setCustomData(g,a)},CKEDITOR.dom.element.clearAllMarkers=function(c){for(var h in c)CKEDITOR.dom.element.clearMarkers(c,c[h],1)},CKEDITOR.dom.element.clearMarkers=function(c,h,g){var a=h.getCustomData("list_marker_names"),e=h.getCustomData("list_marker_id"),l;for(l in a)h.removeCustomData(l);h.removeCustomData("list_marker_names");g&&(h.removeCustomData("list_marker_id"),delete c[e])},function(){function c(a,b){return-1<(" "+a+" ").replace(l,
-" ").indexOf(" "+b+" ")}function h(a){var b=!0;a.$.id||(a.$.id="cke_tmp_"+CKEDITOR.tools.getNextNumber(),b=!1);return function(){b||a.removeAttribute("id")}}function g(a,b){var d=CKEDITOR.tools.escapeCss(a.$.id);return"#"+d+" "+b.split(/,\s*/).join(", #"+d+" ")}function a(a){for(var b=0,d=0,f=k[a].length;dCKEDITOR.env.version?
-this.$.text+=a:this.append(new CKEDITOR.dom.text(a))},appendBogus:function(a){if(a||CKEDITOR.env.needsBrFiller){for(a=this.getLast();a&&a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.rtrim(a.getText());)a=a.getPrevious();a&&a.is&&a.is("br")||(a=this.getDocument().createElement("br"),CKEDITOR.env.gecko&&a.setAttribute("type","_moz"),this.append(a))}},breakParent:function(a,b){var d=new CKEDITOR.dom.range(this.getDocument());d.setStartAfter(this);d.setEndAfter(a);var f=d.extractContents(!1,b||!1),e;d.insertNode(this.remove());
-if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(d=new CKEDITOR.dom.element("div");e=f.getFirst();)e.$.style.backgroundColor&&(e.$.style.backgroundColor=e.$.style.backgroundColor),d.append(e);d.insertAfter(this);d.remove(!0)}else f.insertAfterNode(this)},contains:document.compareDocumentPosition?function(a){return!!(this.$.compareDocumentPosition(a.$)&16)}:function(a){var b=this.$;return a.type!=CKEDITOR.NODE_ELEMENT?b.contains(a.getParent().$):b!=a.$&&b.contains(a.$)},focus:function(){function a(){try{this.$.focus()}catch(b){}}
-return function(b){b?CKEDITOR.tools.setTimeout(a,100,this):a.call(this)}}(),getHtml:function(){var a=this.$.innerHTML;return CKEDITOR.env.ie?a.replace(/<\?[^>]*>/g,""):a},getOuterHtml:function(){if(this.$.outerHTML)return this.$.outerHTML.replace(/<\?[^>]*>/,"");var a=this.$.ownerDocument.createElement("div");a.appendChild(this.$.cloneNode(!0));return a.innerHTML},getClientRect:function(a){var b=CKEDITOR.tools.extend({},this.$.getBoundingClientRect());!b.width&&(b.width=b.right-b.left);!b.height&&
-(b.height=b.bottom-b.top);return a?CKEDITOR.tools.getAbsoluteRectPosition(this.getWindow(),b):b},setHtml:CKEDITOR.env.ie&&9>CKEDITOR.env.version?function(a){try{var b=this.$;if(this.getParent())return b.innerHTML=a;var d=this.getDocument()._getHtml5ShivFrag();d.appendChild(b);b.innerHTML=a;d.removeChild(b);return a}catch(f){this.$.innerHTML="";b=new CKEDITOR.dom.element("body",this.getDocument());b.$.innerHTML=a;for(b=b.getChildren();b.count();)this.append(b.getItem(0));return a}}:function(a){return this.$.innerHTML=
-a},setText:function(){var a=document.createElement("p");a.innerHTML="x";a=a.textContent;return function(b){this.$[a?"textContent":"innerText"]=b}}(),getAttribute:function(){var a=function(a){return this.$.getAttribute(a,2)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){switch(a){case "class":a="className";break;case "http-equiv":a="httpEquiv";break;case "name":return this.$.name;case "tabindex":return a=this.$.getAttribute(a,2),0!==a&&0===this.$.tabIndex&&(a=null),
-a;case "checked":return a=this.$.attributes.getNamedItem(a),(a.specified?a.nodeValue:this.$.checked)?"checked":null;case "hspace":case "value":return this.$[a];case "style":return this.$.style.cssText;case "contenteditable":case "contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(a,2)}:a}(),getAttributes:function(a){var b={},d=this.$.attributes,f;a=CKEDITOR.tools.isArray(a)?a:[];for(f=0;f=document.documentMode){var b=this.$.scopeName;"HTML"!=b&&(a=b.toLowerCase()+":"+a)}this.getName=function(){return a};return this.getName()},getValue:function(){return this.$.value},getFirst:function(a){var b=this.$.firstChild;(b=b&&new CKEDITOR.dom.node(b))&&a&&!a(b)&&(b=b.getNext(a));return b},getLast:function(a){var b=this.$.lastChild;(b=b&&new CKEDITOR.dom.node(b))&&a&&!a(b)&&(b=b.getPrevious(a));return b},getStyle:function(a){return this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]},
-is:function(){var a=this.getName();if("object"==typeof arguments[0])return!!arguments[0][a];for(var b=0;bCKEDITOR.env.version&&this.is("a")){var d=this.getParent();d.type==CKEDITOR.NODE_ELEMENT&&(d=d.clone(),d.setHtml(b),b=d.getHtml(),d.setHtml(a),a=d.getHtml())}return b==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),b,d;a&&CKEDITOR.env.webkit&&(b=this.getWindow(),!b.equals(CKEDITOR.document.getWindow())&&(d=b.$.frameElement)&&(a=(new CKEDITOR.dom.element(d)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1;
-for(var a=this.getChildren(),b=0,d=a.count();bCKEDITOR.env.version?function(b){return"name"==b?!!this.$.name:a.call(this,b)}:a:function(a){return!!this.$.attributes.getNamedItem(a)}}(),hide:function(){this.setStyle("display","none")},moveChildren:function(a,b){var d=this.$;a=a.$;if(d!=a){var f;if(b)for(;f=d.lastChild;)a.insertBefore(d.removeChild(f),a.firstChild);else for(;f=d.firstChild;)a.appendChild(d.removeChild(f))}},mergeSiblings:function(){function a(b,d,f){if(d&&d.type==CKEDITOR.NODE_ELEMENT){for(var e=
-[];d.data("cke-bookmark")||d.isEmptyInlineRemoveable();)if(e.push(d),d=f?d.getNext():d.getPrevious(),!d||d.type!=CKEDITOR.NODE_ELEMENT)return;if(b.isIdentical(d)){for(var c=f?b.getLast():b.getFirst();e.length;)e.shift().move(b,!f);d.moveChildren(b,!f);d.remove();c&&c.type==CKEDITOR.NODE_ELEMENT&&c.mergeSiblings()}}}return function(b){if(!1===b||CKEDITOR.dtd.$removeEmpty[this.getName()]||this.is("a"))a(this,this.getNext(),!0),a(this,this.getPrevious())}}(),show:function(){this.setStyles({display:"",
-visibility:""})},setAttribute:function(){var a=function(a,d){this.$.setAttribute(a,d);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(b,d){"class"==b?this.$.className=d:"style"==b?this.$.style.cssText=d:"tabindex"==b?this.$.tabIndex=d:"checked"==b?this.$.checked=d:"contenteditable"==b?a.call(this,"contentEditable",d):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(b,d){if("src"==b&&d.match(/^http:\/\//))try{a.apply(this,
-arguments)}catch(f){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var b in a)this.setAttribute(b,a[b]);return this},setValue:function(a){this.$.value=a;return this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(a){"class"==a?a="className":"tabindex"==a?a="tabIndex":"contenteditable"==a&&(a="contentEditable");this.$.removeAttribute(a)}:a}(),removeAttributes:function(a){if(CKEDITOR.tools.isArray(a))for(var b=
-0;bCKEDITOR.env.version?(a=Math.round(100*a),this.setStyle("filter",100<=a?"":"progid:DXImageTransform.Microsoft.Alpha(opacity\x3d"+a+")")):this.setStyle("opacity",a)},unselectable:function(){this.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select",
-"none"));if(CKEDITOR.env.ie){this.setAttribute("unselectable","on");for(var a,b=this.getElementsByTag("*"),d=0,f=b.count();dg||0g?g:e);d&&(0>c||0c?c:f,0)},setState:function(a,b,d){b=b||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(b+"_on");this.removeClass(b+
-"_off");this.removeClass(b+"_disabled");d&&this.setAttribute("aria-pressed",!0);d&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(b+"_disabled");this.removeClass(b+"_off");this.removeClass(b+"_on");d&&this.setAttribute("aria-disabled",!0);d&&this.removeAttribute("aria-pressed");break;default:this.addClass(b+"_off"),this.removeClass(b+"_on"),this.removeClass(b+"_disabled"),d&&this.removeAttribute("aria-pressed"),d&&this.removeAttribute("aria-disabled")}},
-getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(b){a.src=a.src}return a&&new CKEDITOR.dom.document(a.contentWindow.document)},copyAttributes:function(a,b){var d=this.$.attributes;b=b||{};for(var f=0;fCKEDITOR.env.version){var e=f.ownerDocument.createEventObject(),c;for(c in b)e[c]=b[c];f.fireEvent(d,
-e)}else f[f[a]?a:d](b)},isDetached:function(){var a=this.getDocument(),b=a.getDocumentElement();return b.equals(this)||b.contains(this)?!CKEDITOR.env.ie||8=z.getChildCount()?(z=z.getChild(C-1),E=!0):z=z.getChild(C):K=E=!0;u.type==
-CKEDITOR.NODE_TEXT?q?F=!0:u.split(A):0da)for(;U;)U=g(U,N,!0);N=V}q||k()}}function g(){var a=!1,b=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!0),e=CKEDITOR.dom.walker.bogus();return function(c){return d(c)||b(c)?!0:e(c)&&!a?a=!0:c.type==CKEDITOR.NODE_TEXT&&(c.hasAscendant("pre")||CKEDITOR.tools.trim(c.getText()).length)||c.type==CKEDITOR.NODE_ELEMENT&&!c.is(l)?!1:!0}}function a(a){var b=CKEDITOR.dom.walker.whitespaces(),
-d=CKEDITOR.dom.walker.bookmark(1);return function(e){return d(e)||b(e)?!0:!a&&k(e)||e.type==CKEDITOR.NODE_ELEMENT&&e.is(CKEDITOR.dtd.$removeEmpty)}}function e(a){return function(){var e;return this[a?"getPreviousNode":"getNextNode"](function(a){!e&&d(a)&&(e=a);return b(a)&&!(k(a)&&a.equals(e))})}}var l={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,"var":1},k=CKEDITOR.dom.walker.bogus(),
-m=/^[\t\r\n ]*(?: |\xa0)$/,b=CKEDITOR.dom.walker.editable(),d=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var a=new CKEDITOR.dom.range(this.root);a._setStartContainer(this.startContainer);a.startOffset=this.startOffset;a._setEndContainer(this.endContainer);a.endOffset=this.endOffset;a.collapsed=this.collapsed;return a},collapse:function(a){a?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer),
-this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(a){var b=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,2,b,!1,"undefined"==typeof a?!0:a);return b},deleteContents:function(a){this.collapsed||h(this,0,null,a)},extractContents:function(a,b){var d=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,1,d,a,"undefined"==typeof b?!0:b);return d},equals:function(a){return this.startOffset===a.startOffset&&this.endOffset===a.endOffset&&
-this.startContainer.equals(a.startContainer)&&this.endContainer.equals(a.endContainer)},createBookmark:function(a){function b(a){return a.getAscendant(function(a){var f;if(f=a.data&&a.data("cke-temp"))f=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],a.getAttribute("id"));return f},!0)}var d=this.startContainer,e=this.endContainer,c=this.collapsed,g,l,k,h;g=this.document.createElement("span");g.data("cke-bookmark",1);g.setStyle("display","none");g.setHtml("\x26nbsp;");a&&(k="cke_bm_"+
-CKEDITOR.tools.getNextNumber(),g.setAttribute("id",k+(c?"C":"S")));c||(l=g.clone(),l.setHtml("\x26nbsp;"),a&&l.setAttribute("id",k+"E"),h=this.clone(),b(e)&&(e=b(e),h.moveToPosition(e,CKEDITOR.POSITION_AFTER_END)),h.collapse(),h.insertNode(l));h=this.clone();b(d)&&(e=b(d),h.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START));h.collapse(!0);h.insertNode(g);l?(this.setStartAfter(g),this.setEndBefore(l)):this.moveToPosition(g,CKEDITOR.POSITION_AFTER_END);return{startNode:a?k+(c?"C":"S"):g,endNode:a?k+
-"E":l,serializable:a,collapsed:c}},createBookmark2:function(){function a(f){var b=f.container,e=f.offset,c;c=b;var g=e;c=c.type!=CKEDITOR.NODE_ELEMENT||0===g||g==c.getChildCount()?0:c.getChild(g-1).type==CKEDITOR.NODE_TEXT&&c.getChild(g).type==CKEDITOR.NODE_TEXT;c&&(b=b.getChild(e-1),e=b.getLength());if(b.type==CKEDITOR.NODE_ELEMENT&&0=a.offset&&(a.offset=e.getIndex(),a.container=e.getParent()))}}var d=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT,
-!0);return function(d){var e=this.collapsed,c={container:this.startContainer,offset:this.startOffset},g={container:this.endContainer,offset:this.endOffset};d&&(a(c),b(c,this.root),e||(a(g),b(g,this.root)));return{start:c.container.getAddress(d),end:e?null:g.container.getAddress(d),startOffset:c.offset,endOffset:g.offset,normalized:d,collapsed:e,is2:!0}}}(),moveToBookmark:function(a){if(a.is2){var b=this.document.getByAddress(a.start,a.normalized),d=a.startOffset,e=a.end&&this.document.getByAddress(a.end,
-a.normalized);a=a.endOffset;this.setStart(b,d);e?this.setEnd(e,a):this.collapse(!0)}else b=(d=a.serializable)?this.document.getById(a.startNode):a.startNode,a=d?this.document.getById(a.endNode):a.endNode,this.setStartBefore(b),b.remove(),a?(this.setEndBefore(a),a.remove()):this.collapse(!0)},getBoundaryNodes:function(){var a=this.startContainer,b=this.endContainer,d=this.startOffset,e=this.endOffset,c;if(a.type==CKEDITOR.NODE_ELEMENT)if(c=a.getChildCount(),c>d)a=a.getChild(d);else if(1>c)a=a.getPreviousSourceNode();
-else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a);a=a.getNextSourceNode()||a}if(b.type==CKEDITOR.NODE_ELEMENT)if(c=b.getChildCount(),c>e)b=b.getChild(e).getPreviousSourceNode(!0);else if(1>c)b=b.getPreviousSourceNode();else{for(b=b.$;b.lastChild;)b=b.lastChild;b=new CKEDITOR.dom.node(b)}a.getPosition(b)&CKEDITOR.POSITION_FOLLOWING&&(a=b);return{startNode:a,endNode:b}},getCommonAncestor:function(a,b){var d=this.startContainer,e=this.endContainer,d=d.equals(e)?a&&d.type==CKEDITOR.NODE_ELEMENT&&
-this.startOffset==this.endOffset-1?d.getChild(this.startOffset):d:d.getCommonAncestor(e);return b&&!d.is?d.getParent():d},optimize:function(){var a=this.startContainer,b=this.startOffset;a.type!=CKEDITOR.NODE_ELEMENT&&(b?b>=a.getLength()&&this.setStartAfter(a):this.setStartBefore(a));a=this.endContainer;b=this.endOffset;a.type!=CKEDITOR.NODE_ELEMENT&&(b?b>=a.getLength()&&this.setEndAfter(a):this.setEndBefore(a))},optimizeBookmark:function(){var a=this.startContainer,b=this.endContainer;a.is&&a.is("span")&&
-a.data("cke-bookmark")&&this.setStartAt(a,CKEDITOR.POSITION_BEFORE_START);b&&b.is&&b.is("span")&&b.data("cke-bookmark")&&this.setEndAt(b,CKEDITOR.POSITION_AFTER_END)},trim:function(a,b){var d=this.startContainer,e=this.startOffset,c=this.collapsed;if((!a||c)&&d&&d.type==CKEDITOR.NODE_TEXT){if(e)if(e>=d.getLength())e=d.getIndex()+1,d=d.getParent();else{var g=d.split(e),e=d.getIndex()+1,d=d.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(g,this.endOffset-this.startOffset):d.equals(this.endContainer)&&
-(this.endOffset+=1)}else e=d.getIndex(),d=d.getParent();this.setStart(d,e);if(c){this.collapse(!0);return}}d=this.endContainer;e=this.endOffset;b||c||!d||d.type!=CKEDITOR.NODE_TEXT||(e?(e>=d.getLength()||d.split(e),e=d.getIndex()+1):e=d.getIndex(),d=d.getParent(),this.setEnd(d,e))},enlarge:function(a,b){function d(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")?null:a}var e=new RegExp(/[^\s\ufeff]/);switch(a){case CKEDITOR.ENLARGE_INLINE:var c=1;case CKEDITOR.ENLARGE_ELEMENT:var g=
-function(a,f){var b=new CKEDITOR.dom.range(k);b.setStart(a,f);b.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);var b=new CKEDITOR.dom.walker(b),d;for(b.guard=function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary())};d=b.next();){if(d.type!=CKEDITOR.NODE_TEXT)return!1;D=d!=a?d.getText():d.substring(f);if(e.test(D))return!1}return!0};if(this.collapsed)break;var l=this.getCommonAncestor(),k=this.root,h,m,q,u,z,A=!1,C,D;C=this.startContainer;var E=this.startOffset;C.type==CKEDITOR.NODE_TEXT?
-(E&&(C=!CKEDITOR.tools.trim(C.substring(0,E)).length&&C,A=!!C),C&&((u=C.getPrevious())||(q=C.getParent()))):(E&&(u=C.getChild(E-1)||C.getLast()),u||(q=C));for(q=d(q);q||u;){if(q&&!u){!z&&q.equals(l)&&(z=!0);if(c?q.isBlockBoundary():!k.contains(q))break;A&&"inline"==q.getComputedStyle("display")||(A=!1,z?h=q:this.setStartBefore(q));u=q.getPrevious()}for(;u;)if(C=!1,u.type==CKEDITOR.NODE_COMMENT)u=u.getPrevious();else{if(u.type==CKEDITOR.NODE_TEXT)D=u.getText(),e.test(D)&&(u=null),C=/[\s\ufeff]$/.test(D);
-else if((u.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||b&&u.is("br"))&&!u.data("cke-bookmark"))if(A&&CKEDITOR.dtd.$removeEmpty[u.getName()]){D=u.getText();if(e.test(D))u=null;else for(var E=u.$.getElementsByTagName("*"),G=0,K;K=E[G++];)if(!CKEDITOR.dtd.$removeEmpty[K.nodeName.toLowerCase()]){u=null;break}u&&(C=!!D.length)}else u=null;C&&(A?z?h=q:q&&this.setStartBefore(q):A=!0);if(u){C=u.getPrevious();if(!q&&!C){q=u;u=null;break}u=C}else q=null}q&&(q=d(q.getParent()))}C=this.endContainer;E=this.endOffset;
-q=u=null;z=A=!1;C.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(C.substring(E)).length?A=!0:(A=!C.getLength(),E==C.getLength()?(u=C.getNext())||(q=C.getParent()):g(C,E)&&(q=C.getParent())):(u=C.getChild(E))||(q=C);for(;q||u;){if(q&&!u){!z&&q.equals(l)&&(z=!0);if(c?q.isBlockBoundary():!k.contains(q))break;A&&"inline"==q.getComputedStyle("display")||(A=!1,z?m=q:q&&this.setEndAfter(q));u=q.getNext()}for(;u;){C=!1;if(u.type==CKEDITOR.NODE_TEXT)D=u.getText(),g(u,0)||(u=null),C=/^[\s\ufeff]/.test(D);else if(u.type==
-CKEDITOR.NODE_ELEMENT){if((0=l.getLength()?g.setStartAfter(l):(g.setStartBefore(l),d=0):g.setStartBefore(l));k&&k.type==CKEDITOR.NODE_TEXT&&(m?m>=k.getLength()?g.setEndAfter(k):(g.setEndAfter(k),q=0):g.setEndBefore(k));var g=new CKEDITOR.dom.walker(g),u=CKEDITOR.dom.walker.bookmark(),z=CKEDITOR.dom.walker.bogus();g.evaluator=
-function(b){return b.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var A;g.guard=function(b,d){if(c&&z(b)||u(b))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&&b.type==CKEDITOR.NODE_TEXT||d&&b.equals(A)||!1===e&&b.type==CKEDITOR.NODE_ELEMENT&&b.isBlockBoundary()||b.type==CKEDITOR.NODE_ELEMENT&&b.hasAttribute("contenteditable"))return!1;d||b.type!=CKEDITOR.NODE_ELEMENT||(A=b);return!0};d&&(l=g[a==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(l,b?CKEDITOR.POSITION_AFTER_START:
-CKEDITOR.POSITION_BEFORE_START);q&&(g.reset(),(g=g[a==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(g,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!d&&!q)}},insertNode:function(a){this.optimizeBookmark();this.trim(!1,!0);var b=this.startContainer,d=b.getChild(this.startOffset);d?a.insertBefore(d):b.append(a);a.getParent()&&a.getParent().equals(this.endContainer)&&this.endOffset++;this.setStartBefore(a)},moveToPosition:function(a,b){this.setStartAt(a,
-b);this.collapse(!0)},moveToRange:function(a){this.setStart(a.startContainer,a.startOffset);this.setEnd(a.endContainer,a.endOffset)},selectNodeContents:function(a){this.setStart(a,0);this.setEnd(a,a.type==CKEDITOR.NODE_TEXT?a.getLength():a.getChildCount())},setStart:function(a,b){a.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[a.getName()]&&(b=a.getIndex(),a=a.getParent());this._setStartContainer(a);this.startOffset=b;this.endContainer||(this._setEndContainer(a),this.endOffset=b);c(this)},setEnd:function(a,
-b){a.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[a.getName()]&&(b=a.getIndex()+1,a=a.getParent());this._setEndContainer(a);this.endOffset=b;this.startContainer||(this._setStartContainer(a),this.startOffset=b);c(this)},setStartAfter:function(a){this.setStart(a.getParent(),a.getIndex()+1)},setStartBefore:function(a){this.setStart(a.getParent(),a.getIndex())},setEndAfter:function(a){this.setEnd(a.getParent(),a.getIndex()+1)},setEndBefore:function(a){this.setEnd(a.getParent(),a.getIndex())},setStartAt:function(a,
-b){switch(b){case CKEDITOR.POSITION_AFTER_START:this.setStart(a,0);break;case CKEDITOR.POSITION_BEFORE_END:a.type==CKEDITOR.NODE_TEXT?this.setStart(a,a.getLength()):this.setStart(a,a.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setStartBefore(a);break;case CKEDITOR.POSITION_AFTER_END:this.setStartAfter(a)}c(this)},setEndAt:function(a,b){switch(b){case CKEDITOR.POSITION_AFTER_START:this.setEnd(a,0);break;case CKEDITOR.POSITION_BEFORE_END:a.type==CKEDITOR.NODE_TEXT?this.setEnd(a,
-a.getLength()):this.setEnd(a,a.getChildCount());break;case CKEDITOR.POSITION_BEFORE_START:this.setEndBefore(a);break;case CKEDITOR.POSITION_AFTER_END:this.setEndAfter(a)}c(this)},fixBlock:function(a,b){var d=this.createBookmark(),e=this.document.createElement(b);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(e);e.trim();this.insertNode(e);var c=e.getBogus();c&&c.remove();e.appendBogus();this.moveToBookmark(d);return e},splitBlock:function(a,b){var d=
-new CKEDITOR.dom.elementPath(this.startContainer,this.root),e=new CKEDITOR.dom.elementPath(this.endContainer,this.root),c=d.block,g=e.block,l=null;if(!d.blockLimit.equals(e.blockLimit))return null;"br"!=a&&(c||(c=this.fixBlock(!0,a),g=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),g||(g=this.fixBlock(!1,a)));d=c&&this.checkStartOfBlock();e=g&&this.checkEndOfBlock();this.deleteContents();c&&c.equals(g)&&(e?(l=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g,
-CKEDITOR.POSITION_AFTER_END),g=null):d?(l=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(c,CKEDITOR.POSITION_BEFORE_START),c=null):(g=this.splitElement(c,b||!1),c.is("ul","ol")||c.appendBogus()));return{previousBlock:c,nextBlock:g,wasStartOfBlock:d,wasEndOfBlock:e,elementPath:l}},splitElement:function(a,b){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var d=this.extractContents(!1,b||!1),e=a.clone(!1,b||!1);d.appendTo(e);e.insertAfter(a);
-this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return e},removeEmptyBlocksAtEnd:function(){function a(f){return function(a){return b(a)||d(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.isEmptyInlineRemoveable()||f.is("table")&&a.is("caption")?!1:!0}}var b=CKEDITOR.dom.walker.whitespaces(),d=CKEDITOR.dom.walker.bookmark(!1);return function(b){for(var d=this.createBookmark(),e=this[b?"endPath":"startPath"](),c=e.block||e.blockLimit,g;c&&!c.equals(e.root)&&!c.getFirst(a(c));)g=c.getParent(),this[b?"setEndAt":
-"setStartAt"](c,CKEDITOR.POSITION_AFTER_END),c.remove(1),c=g;this.moveToBookmark(d)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(b,d){var e=d==CKEDITOR.START,c=this.clone();c.collapse(e);c[e?"setStartAt":"setEndAt"](b,e?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);c=new CKEDITOR.dom.walker(c);c.evaluator=a(e);return c[e?
-"checkBackward":"checkForward"]()},checkStartOfBlock:function(a){var b=this.startContainer,d=this.startOffset;CKEDITOR.env.ie&&d&&b.type==CKEDITOR.NODE_TEXT&&(b=CKEDITOR.tools.ltrim(b.substring(0,d)),m.test(b)&&this.trim(0,1));a||this.trim();a=new CKEDITOR.dom.elementPath(this.startContainer,this.root);b=this.clone();b.collapse(!0);b.setStartAt(a.block||a.blockLimit,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(b);a.evaluator=g();return a.checkBackward()},checkEndOfBlock:function(a){var b=
-this.endContainer,d=this.endOffset;CKEDITOR.env.ie&&b.type==CKEDITOR.NODE_TEXT&&(b=CKEDITOR.tools.rtrim(b.substring(d)),m.test(b)&&this.trim(1,0));a||this.trim();a=new CKEDITOR.dom.elementPath(this.endContainer,this.root);b=this.clone();b.collapse(!1);b.setEndAt(a.block||a.blockLimit,CKEDITOR.POSITION_BEFORE_END);a=new CKEDITOR.dom.walker(b);a.evaluator=g();return a.checkForward()},getPreviousNode:function(a,b,d){var e=this.clone();e.collapse(1);e.setStartAt(d||this.root,CKEDITOR.POSITION_AFTER_START);
-d=new CKEDITOR.dom.walker(e);d.evaluator=a;d.guard=b;return d.previous()},getNextNode:function(a,b,d){var e=this.clone();e.collapse();e.setEndAt(d||this.root,CKEDITOR.POSITION_BEFORE_END);d=new CKEDITOR.dom.walker(e);d.evaluator=a;d.guard=b;return d.next()},checkReadOnly:function(){function a(b,f){for(;b;){if(b.type==CKEDITOR.NODE_ELEMENT){if("false"==b.getAttribute("contentEditable")&&!b.data("cke-editable"))return 0;if(b.is("html")||"true"==b.getAttribute("contentEditable")&&(b.contains(f)||b.equals(f)))break}b=
-b.getParent()}return 1}return function(){var b=this.startContainer,d=this.endContainer;return!(a(b,d)&&a(d,b))}}(),moveToElementEditablePosition:function(a,b){if(a.type==CKEDITOR.NODE_ELEMENT&&!a.isEditable(!1))return this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:CKEDITOR.POSITION_BEFORE_START),!0;for(var e=0;a;){if(a.type==CKEDITOR.NODE_TEXT){b&&this.endContainer&&this.checkEndOfBlock()&&m.test(a.getText())?this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(a,b?CKEDITOR.POSITION_AFTER_END:
-CKEDITOR.POSITION_BEFORE_START);e=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,b?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),e=1;else if(b&&a.is("br")&&this.endContainer&&this.checkEndOfBlock())this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);else if("false"==a.getAttribute("contenteditable")&&a.is(CKEDITOR.dtd.$block))return this.setStartBefore(a),this.setEndAfter(a),!0;var c=a,g=e,l=void 0;c.type==CKEDITOR.NODE_ELEMENT&&c.isEditable(!1)&&
-(l=c[b?"getLast":"getFirst"](d));g||l||(l=c[b?"getPrevious":"getNext"](d));a=l}return!!e},moveToClosestEditablePosition:function(a,b){var d,e=0,c,g,l=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(d=new CKEDITOR.dom.range(this.root),d.moveToPosition(a,l[b?0:1])):d=this.clone();if(a&&!a.is(CKEDITOR.dtd.$block))e=1;else if(c=d[b?"getNextEditableNode":"getPreviousEditableNode"]())e=1,(g=c.type==CKEDITOR.NODE_ELEMENT)&&c.is(CKEDITOR.dtd.$block)&&"false"==c.getAttribute("contenteditable")?
-(d.setStartAt(c,CKEDITOR.POSITION_BEFORE_START),d.setEndAt(c,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&g&&c.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(d.setEnd(c,0),d.collapse()):d.moveToPosition(c,l[b?1:0]);e&&this.moveToRange(d);return!!e},moveToElementEditStart:function(a){return this.moveToElementEditablePosition(a)},moveToElementEditEnd:function(a){return this.moveToElementEditablePosition(a,!0)},getEnclosedNode:function(){var a=this.clone();a.optimize();if(a.startContainer.type!=
-CKEDITOR.NODE_ELEMENT||a.endContainer.type!=CKEDITOR.NODE_ELEMENT)return null;var a=new CKEDITOR.dom.walker(a),b=CKEDITOR.dom.walker.bookmark(!1,!0),d=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return d(a)&&b(a)};var e=a.next();a.reset();return e&&e.equals(a.previous())?e:null},getTouchedStartNode:function(){var a=this.startContainer;return this.collapsed||a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.startOffset)||a},getTouchedEndNode:function(){var a=this.endContainer;return this.collapsed||
-a.type!=CKEDITOR.NODE_ELEMENT?a:a.getChild(this.endOffset-1)||a},getNextEditableNode:e(),getPreviousEditableNode:e(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var b=this.getTouchedStartNode(),d=this.getTouchedEndNode(),e=b.getAscendant("table",!0),d=d.getAscendant("table",!0);return e&&!this.root.contains(e)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):e&&d&&(e.equals(d)||e.contains(d)||d.contains(e))?b.getAscendant(a,!0):null},scrollIntoView:function(){var a=
-new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),b,d,e,c=this.clone();c.optimize();(e=c.startContainer.type==CKEDITOR.NODE_TEXT)?(d=c.startContainer.getText(),b=c.startContainer.split(c.startOffset),a.insertAfter(c.startContainer)):c.insertNode(a);a.scrollIntoView();e&&(c.startContainer.setText(d),b.remove());a.remove()},getClientRects:function(){function a(b,d){var f=CKEDITOR.tools.array.map(b,function(a){return a}),e=new CKEDITOR.dom.range(d.root),c,g,
-l;d.startContainer instanceof CKEDITOR.dom.element&&(g=0===d.startOffset&&d.startContainer.hasAttribute("data-widget"));d.endContainer instanceof CKEDITOR.dom.element&&(l=(l=d.endOffset===(d.endContainer.getChildCount?d.endContainer.getChildCount():d.endContainer.length))&&d.endContainer.hasAttribute("data-widget"));g&&e.setStart(d.startContainer.getParent(),d.startContainer.getIndex());l&&e.setEnd(d.endContainer.getParent(),d.endContainer.getIndex()+1);if(g||l)d=e;e=d.cloneContents().find("[data-cke-widget-id]").toArray();
-if(e=CKEDITOR.tools.array.map(e,function(a){var b=d.root.editor;a=a.getAttribute("data-cke-widget-id");return b.widgets.instances[a].element}))return e=CKEDITOR.tools.array.map(e,function(a){var b;b=a.getParent().hasClass("cke_widget_wrapper")?a.getParent():a;c=this.root.getDocument().$.createRange();c.setStart(b.getParent().$,b.getIndex());c.setEnd(b.getParent().$,b.getIndex()+1);b=c.getClientRects();b.widgetRect=a.getClientRect();return b},d),CKEDITOR.tools.array.forEach(e,function(a){function b(e){CKEDITOR.tools.array.forEach(f,
-function(b,c){var g=CKEDITOR.tools.objectCompare(a[e],b);g||(g=CKEDITOR.tools.objectCompare(a.widgetRect,b));g&&(Array.prototype.splice.call(f,c,a.length-e,a.widgetRect),d=!0)});d||(earguments.length||(this.range=a,this.forceBrBreak=0,this.enlargeBr=1,this.enforceRealBlocks=0,this._||(this._={}))}function h(a){var b=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return b.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return b}function g(a,b,e,c){a:{null==
-c&&(c=h(e));for(var l;l=c.shift();)if(l.getDtd().p){c={element:l,remaining:c};break a}c=null}if(!c)return 0;if((l=CKEDITOR.filter.instances[c.element.data("cke-filter")])&&!l.check(b))return g(a,b,e,c.remaining);b=new CKEDITOR.dom.range(c.element);b.selectNodeContents(c.element);b=b.createIterator();b.enlargeBr=a.enlargeBr;b.enforceRealBlocks=a.enforceRealBlocks;b.activeFilter=b.filter=l;a._.nestedEditable={element:c.element,container:e,remaining:c.remaining,iterator:b};return 1}function a(a,b,e){if(!b)return!1;
-a=a.clone();a.collapse(!e);return a.checkBoundaryOfElement(b,e?CKEDITOR.START:CKEDITOR.END)}var e=/^[\r\n\t ]+$/,l=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),m=function(a){return l(a)&&k(a)},b={dd:1,dt:1,li:1};c.prototype={getNextParagraph:function(d){var f,c,k,h,r;d=d||"p";if(this._.nestedEditable){if(f=this._.nestedEditable.iterator.getNextParagraph(d))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,f;this.activeFilter=this.filter;if(g(this,d,
-this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(d);this._.nestedEditable=null}if(!this.range.root.getDtd()[d])return null;if(!this._.started){var t=this.range.clone();c=t.startPath();var v=t.endPath(),B=!t.collapsed&&a(t,c.block),n=!t.collapsed&&a(t,v.block,1);t.shrink(CKEDITOR.SHRINK_ELEMENT,!0);B&&t.setStartAt(c.block,CKEDITOR.POSITION_BEFORE_END);n&&t.setEndAt(v.block,
-CKEDITOR.POSITION_AFTER_START);c=t.endContainer.hasAscendant("pre",!0)||t.startContainer.hasAscendant("pre",!0);t.enlarge(this.forceBrBreak&&!c||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);t.collapsed||(c=new CKEDITOR.dom.walker(t.clone()),v=CKEDITOR.dom.walker.bookmark(!0,!0),c.evaluator=v,this._.nextNode=c.next(),c=new CKEDITOR.dom.walker(t.clone()),c.evaluator=v,c=c.previous(),this._.lastNode=c.getNextSourceNode(!0,null,t.root),this._.lastNode&&this._.lastNode.type==
-CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(v=this.range.clone(),v.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),v.checkEndOfBlock()&&(v=new CKEDITOR.dom.elementPath(v.endContainer,v.root),this._.lastNode=(v.block||v.blockLimit).getNextSourceNode(!0))),this._.lastNode&&t.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=t.document.createText(""),this._.lastNode.insertAfter(c)),t=null);this._.started=
-1;c=t}v=this._.nextNode;t=this._.lastNode;for(this._.nextNode=null;v;){var B=0,n=v.hasAscendant("pre"),x=v.type!=CKEDITOR.NODE_ELEMENT,q=0;if(x)v.type==CKEDITOR.NODE_TEXT&&e.test(v.getText())&&(x=0);else{var u=v.getName();if(CKEDITOR.dtd.$block[u]&&"false"==v.getAttribute("contenteditable")){f=v;g(this,d,f);break}else if(v.isBlockBoundary(this.forceBrBreak&&!n&&{br:1})){if("br"==u)x=1;else if(!c&&!v.getChildCount()&&"hr"!=u){f=v;k=v.equals(t);break}c&&(c.setEndAt(v,CKEDITOR.POSITION_BEFORE_START),
-"br"!=u&&(this._.nextNode=v));B=1}else{if(v.getFirst()){c||(c=this.range.clone(),c.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));v=v.getFirst();continue}x=1}}x&&!c&&(c=this.range.clone(),c.setStartAt(v,CKEDITOR.POSITION_BEFORE_START));k=(!B||x)&&v.equals(t);if(c&&!B)for(;!v.getNext(m)&&!k;){u=v.getParent();if(u.isBlockBoundary(this.forceBrBreak&&!n&&{br:1})){B=1;x=0;k||u.equals(t);c.setEndAt(u,CKEDITOR.POSITION_BEFORE_END);break}v=u;x=1;k=v.equals(t);q=1}x&&c.setEndAt(v,CKEDITOR.POSITION_AFTER_END);
-v=this._getNextSourceNode(v,q,t);if((k=!v)||B&&c)break}if(!f){if(!c)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;f=new CKEDITOR.dom.elementPath(c.startContainer,c.root);v=f.blockLimit;B={div:1,th:1,td:1};f=f.block;!f&&v&&!this.enforceRealBlocks&&B[v.getName()]&&c.checkStartOfBlock()&&c.checkEndOfBlock()&&!v.equals(c.root)?f=v:!f||this.enforceRealBlocks&&f.is(b)?(f=this.range.document.createElement(d),c.extractContents().appendTo(f),f.trim(),c.insertNode(f),h=r=!0):
-"li"!=f.getName()?c.checkStartOfBlock()&&c.checkEndOfBlock()||(f=f.clone(!1),c.extractContents().appendTo(f),f.trim(),r=c.splitBlock(),h=!r.wasStartOfBlock,r=!r.wasEndOfBlock,c.insertNode(f)):k||(this._.nextNode=f.equals(t)?null:this._getNextSourceNode(c.getBoundaryNodes().endNode,1,t))}h&&(h=f.getPrevious())&&h.type==CKEDITOR.NODE_ELEMENT&&("br"==h.getName()?h.remove():h.getLast()&&"br"==h.getLast().$.nodeName.toLowerCase()&&h.getLast().remove());r&&(h=f.getLast())&&h.type==CKEDITOR.NODE_ELEMENT&&
-"br"==h.getName()&&(!CKEDITOR.env.needsBrFiller||h.getPrevious(l)||h.getNext(l))&&h.remove();this._.nextNode||(this._.nextNode=k||f.equals(t)||!t?null:this._getNextSourceNode(f,1,t));return f},_getNextSourceNode:function(a,b,e){function c(a){return!(a.equals(e)||a.equals(g))}var g=this.range.root;for(a=a.getNextSourceNode(b,null,c);!l(a);)a=a.getNextSourceNode(b,null,c);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new c(this)}}(),CKEDITOR.command=function(c,h){this.uiItems=
-[];this.exec=function(a){if(this.state==CKEDITOR.TRISTATE_DISABLED||!this.checkAllowed())return!1;this.editorFocus&&c.focus();return!1===this.fire("exec")?!0:!1!==h.exec.call(this,c,a)};this.refresh=function(a,e){if(!this.readOnly&&a.readOnly)return!0;if(this.context&&!e.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[a.mode]&&this.disable();return!1===this.fire("refresh",{editor:a,path:e})?!0:h.refresh&&!1!==h.refresh.apply(this,
-arguments)};var g;this.checkAllowed=function(a){return a||"boolean"!=typeof g?g=c.activeFilter.checkFeature(this):g};CKEDITOR.tools.extend(this,h,{modes:{wysiwyg:1},editorFocus:1,contextSensitive:!!h.context,state:CKEDITOR.TRISTATE_DISABLED});CKEDITOR.event.call(this)},CKEDITOR.command.prototype={enable:function(){this.state==CKEDITOR.TRISTATE_DISABLED&&this.checkAllowed()&&this.setState(this.preserveState&&"undefined"!=typeof this.previousState?this.previousState:CKEDITOR.TRISTATE_OFF)},disable:function(){this.setState(CKEDITOR.TRISTATE_DISABLED)},
-setState:function(c){if(this.state==c||c!=CKEDITOR.TRISTATE_DISABLED&&!this.checkAllowed())return!1;this.previousState=this.state;this.state=c;this.fire("state");return!0},toggleState:function(){this.state==CKEDITOR.TRISTATE_OFF?this.setState(CKEDITOR.TRISTATE_ON):this.state==CKEDITOR.TRISTATE_ON&&this.setState(CKEDITOR.TRISTATE_OFF)}},CKEDITOR.event.implementOn(CKEDITOR.command.prototype),CKEDITOR.ADDITIONAL_RESOURCE_PARAMS={},CKEDITOR.ENTER_P=1,CKEDITOR.ENTER_BR=2,CKEDITOR.ENTER_DIV=3,CKEDITOR.config=
-{customConfig:"config.js",autoUpdateElement:!0,language:"",defaultLanguage:"en",contentsLangDirection:"",enterMode:CKEDITOR.ENTER_P,forceEnterMode:!1,shiftEnterMode:CKEDITOR.ENTER_BR,docType:"\x3c!DOCTYPE html\x3e",bodyId:"",bodyClass:"",fullPage:!1,height:200,contentsCss:CKEDITOR.getUrl("contents.css"),extraPlugins:"",removePlugins:"",protectedSource:[],tabIndex:0,useComputedState:!0,width:"",baseFloatZIndex:1E4,blockedKeystrokes:[CKEDITOR.CTRL+66,CKEDITOR.CTRL+73,CKEDITOR.CTRL+85]},function(){function c(a,
-b,d,f,e){var c,g;a=[];for(c in b){g=b[c];g="boolean"==typeof g?{}:"function"==typeof g?{match:g}:G(g);"$"!=c.charAt(0)&&(g.elements=c);d&&(g.featureName=d.toLowerCase());var l=g;l.elements=k(l.elements,/\s+/)||null;l.propertiesOnly=l.propertiesOnly||!0===l.elements;var h=/\s*,\s*/,m=void 0;for(m in M){l[m]=k(l[m],h)||null;var p=l,O=H[m],v=k(l[H[m]],h),n=l[m],w=[],J=!0,L=void 0;v?J=!1:v={};for(L in n)"!"==L.charAt(0)&&(L=L.slice(1),w.push(L),v[L]=!0,J=!1);for(;L=w.pop();)n[L]=n["!"+L],delete n["!"+
-L];p[O]=(J?!1:v)||null}l.match=l.match||null;f.push(g);a.push(g)}b=e.elements;e=e.generic;var q;d=0;for(f=a.length;d=--b&&(l&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"),p(e))},y=function(a,b){c[a]=1;var d=h[a];delete h[a];for(var f=0;f=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?f.$.onreadystatechange=function(){if("loaded"==f.$.readyState||"complete"==
-f.$.readyState)f.$.onreadystatechange=null,y(b,!0)}:(f.$.onload=function(){setTimeout(function(){f.$.onload=null;f.$.onerror=null;y(b,!0)},0)},f.$.onerror=function(){f.$.onload=null;f.$.onerror=null;y(b,!1)}));f.appendTo(CKEDITOR.document.getHead())}}};l&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var t=0;t]+)>)|(?:!--([\S|\s]*?)--!?>)|(?:([^\/\s>]+)((?:\s+[\w\-:.]+(?:\s*=\s*?(?:(?:"[^"]*")|(?:'[^']*')|[^\s"'\/>]+))?)*)[\S\s]*?(\/?)>))/g}},function(){var c=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,h={checked:1,
-compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};CKEDITOR.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(g){for(var a,e,l=0,k;a=this._.htmlPartsRegex.exec(g);){e=a.index;if(e>l)if(l=g.substring(l,e),k)k.push(l);else this.onText(l);l=this._.htmlPartsRegex.lastIndex;if(e=a[1])if(e=e.toLowerCase(),k&&CKEDITOR.dtd.$cdata[e]&&(this.onCDATA(k.join("")),
-k=null),!k){this.onTagClose(e);continue}if(k)k.push(a[0]);else if(e=a[3]){if(e=e.toLowerCase(),!/="/.test(e)){var m={},b,d=a[4];a=!!a[5];if(d)for(;b=c.exec(d);){var f=b[1].toLowerCase();b=b[2]||b[3]||b[4]||"";m[f]=!b&&h[f]?f:CKEDITOR.tools.htmlDecodeAttr(b)}this.onTagOpen(e,m,a);!k&&CKEDITOR.dtd.$cdata[e]&&(k=[])}}else if(e=a[2])this.onComment(e)}if(g.length>l)this.onText(g.substring(l,g.length))}}}(),CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(c){this._.output.push("\x3c",
-c)},openTagClose:function(c,h){h?this._.output.push(" /\x3e"):this._.output.push("\x3e")},attribute:function(c,h){"string"==typeof h&&(h=CKEDITOR.tools.htmlEncodeAttr(h));this._.output.push(" ",c,'\x3d"',h,'"')},closeTag:function(c){this._.output.push("\x3c/",c,"\x3e")},text:function(c){this._.output.push(c)},comment:function(c){this._.output.push("\x3c!--",c,"--\x3e")},write:function(c){this._.output.push(c)},reset:function(){this._.output=[];this._.indent=!1},getHtml:function(c){var h=this._.output.join("");
-c&&this.reset();return h}}}),"use strict",function(){CKEDITOR.htmlParser.node=function(){};CKEDITOR.htmlParser.node.prototype={remove:function(){var c=this.parent.children,h=CKEDITOR.tools.indexOf(c,this),g=this.previous,a=this.next;g&&(g.next=a);a&&(a.previous=g);c.splice(h,1);this.parent=null},replaceWith:function(c){var h=this.parent.children,g=CKEDITOR.tools.indexOf(h,this),a=c.previous=this.previous,e=c.next=this.next;a&&(a.next=c);e&&(e.previous=c);h[g]=c;c.parent=this.parent;this.parent=null},
-insertAfter:function(c){var h=c.parent.children,g=CKEDITOR.tools.indexOf(h,c),a=c.next;h.splice(g+1,0,this);this.next=c.next;this.previous=c;c.next=this;a&&(a.previous=this);this.parent=c.parent},insertBefore:function(c){var h=c.parent.children,g=CKEDITOR.tools.indexOf(h,c);h.splice(g,0,this);this.next=c;(this.previous=c.previous)&&(c.previous.next=this);c.previous=this;this.parent=c.parent},getAscendant:function(c){var h="function"==typeof c?c:"string"==typeof c?function(a){return a.name==c}:function(a){return a.name in
-c},g=this.parent;for(;g&&g.type==CKEDITOR.NODE_ELEMENT;){if(h(g))return g;g=g.parent}return null},wrapWith:function(c){this.replaceWith(c);c.add(this);return c},getIndex:function(){return CKEDITOR.tools.indexOf(this.parent.children,this)},getFilterContext:function(c){return c||{}}}}(),"use strict",CKEDITOR.htmlParser.comment=function(c){this.value=c;this._={isBlockLike:!1}},CKEDITOR.htmlParser.comment.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_COMMENT,filter:function(c,
-h){var g=this.value;if(!(g=c.onComment(h,g,this)))return this.remove(),!1;if("string"!=typeof g)return this.replaceWith(g),!1;this.value=g;return!0},writeHtml:function(c,h){h&&this.filter(h);c.comment(this.value)}}),"use strict",function(){CKEDITOR.htmlParser.text=function(c){this.value=c;this._={isBlockLike:!1}};CKEDITOR.htmlParser.text.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(c,h){if(!(this.value=c.onText(h,this.value,this)))return this.remove(),
-!1},writeHtml:function(c,h){h&&this.filter(h);c.text(this.value)}})}(),"use strict",function(){CKEDITOR.htmlParser.cdata=function(c){this.value=c};CKEDITOR.htmlParser.cdata.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_TEXT,filter:function(c){var h=this.getAscendant("style");if(h&&h.getAscendant({math:1,svg:1})){var h=CKEDITOR.htmlParser.fragment.fromHtml(this.value),g=new CKEDITOR.htmlParser.basicWriter;c.applyTo(h);h.writeHtml(g);this.value=g.getHtml()}},writeHtml:function(c){c.write(this.value)}})}(),
-"use strict",CKEDITOR.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:!0,hasInlineStarted:!1}},function(){function c(a){return a.attributes["data-cke-survive"]?!1:"a"==a.name&&a.attributes.href||CKEDITOR.dtd.$removeEmpty[a.name]}var h=CKEDITOR.tools.extend({table:1,ul:1,ol:1,dl:1},CKEDITOR.dtd.table,CKEDITOR.dtd.ul,CKEDITOR.dtd.ol,CKEDITOR.dtd.dl),g={ol:1,ul:1},a=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),
-e={ul:"li",ol:"li",dl:"dd",table:"tbody",tbody:"tr",thead:"tr",tfoot:"tr",tr:"td"};CKEDITOR.htmlParser.fragment.fromHtml=function(l,k,m){function b(a){var b;if(0k;k++)if(l=e[k]){l=l.exec(c,a,this);if(!1===l)return null;if(l&&l!=a)return this.onNode(c,l);if(a.parent&&!a.name)break}return a},onNode:function(c,a){var e=a.type;return e==CKEDITOR.NODE_ELEMENT?this.onElement(c,a):e==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(c,a.value,a)):e==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(c,a.value,a)):null},onAttribute:function(c,a,e,l){return(e=this.attributesRules[e])?e.exec(c,l,a,this):l}}});
-CKEDITOR.htmlParser.filterRulesGroup=c;c.prototype={add:function(c,a,e){this.rules.splice(this.findIndex(a),0,{value:c,priority:a,options:e})},addMany:function(c,a,e){for(var l=[this.findIndex(a),0],k=0,h=c.length;k/g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function p(a){return a.replace(H,function(a,b){return decodeURIComponent(b)})}
-function w(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,function(a){return"\x3c!--"+n+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\x3e"})}function y(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)})}function r(a,b){var d=b._.dataStore;return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g,function(a,b){return decodeURIComponent(b)}).replace(/\{cke_protected_(\d+)\}/g,function(a,b){return d&&d[b]||""})}
-function t(a,b,d){var f=[],e=b.config.protectedSource,c=b._.dataStore||(b._.dataStore={id:1}),g=new RegExp("\x3c\\!--\\{cke_temp_"+d+"(comment)?\\}(\\d*?)--\x3e","g"),e=[/