-{getChild:function(a){if(1>arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,b,d){for(var c=b.children,e,f=[],h=[],g=0;g<c.length&&(e=c[g]);g++){var k=[];f.push(k);h.push(CKEDITOR.dialog._.uiElementBuilders[e.type].build(a,e,k))}return new CKEDITOR.ui.dialog[b.type](a,
-h,f,d,b)}};CKEDITOR.dialog.addUIElement("hbox",a);CKEDITOR.dialog.addUIElement("vbox",a)})();CKEDITOR.dialogCommand=function(a,b){this.dialogName=a;CKEDITOR.tools.extend(this,b,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var b=this.tabId;a.openDialog(this.dialogName,function(a){b&&a.selectPage(b)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,b=/^\d*$/,d=/^\d*(?:\.\d+)?$/,c=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,e=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
-f=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var b=this&&this.getValue?this.getValue():a[0],d,c=CKEDITOR.VALIDATE_AND,e=[],f;for(f=0;f<a.length;f++)if("function"==typeof a[f])e.push(a[f]);else break;f<a.length&&"string"==typeof a[f]&&(d=a[f],f++);f<a.length&&"number"==typeof a[f]&&(c=a[f]);var h=c==CKEDITOR.VALIDATE_AND?!0:!1;for(f=0;f<e.length;f++)h=c==CKEDITOR.VALIDATE_AND?h&&
-e[f](b):h||e[f](b);return h?!0:d}},regex:function(a,b){return function(d){d=this&&this.getValue?this.getValue():d;return a.test(d)?!0:b}},notEmpty:function(b){return this.regex(a,b)},integer:function(a){return this.regex(b,a)},number:function(a){return this.regex(d,a)},cssLength:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return c.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.trim(a))},
-a)},equals:function(a,b){return this.functions(function(b){return b==a},b)},notEqual:function(a,b){return this.functions(function(b){return b!=a},b)}};CKEDITOR.on("instanceDestroyed",function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var b;b=CKEDITOR.dialog._.currentTop;)b.hide();for(var d in A)A[d].remove();A={}}a=a.editor._.storedDialogs;for(var c in a)a[c].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,b){var d=null,c=CKEDITOR.dialog._.dialogDefinitions[a];
-null===CKEDITOR.dialog._.currentTop&&t(this);if("function"==typeof c)d=this._.storedDialogs||(this._.storedDialogs={}),d=d[a]||(d[a]=new CKEDITOR.dialog(this,a)),b&&b.call(d,d),d.show();else{if("failed"==c)throw p(this),Error('[CKEDITOR.dialog.openDialog] Dialog "'+a+'" failed when loading definition.');"string"==typeof c&&CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(c),function(){"function"!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&&(CKEDITOR.dialog._.dialogDefinitions[a]="failed");this.openDialog(a,
-b)},this,0,1)}CKEDITOR.skin.loadPart("dialog");return d}})}(),CKEDITOR.plugins.add("dialog",{requires:"dialogui",init:function(c){c.on("doubleclick",function(g){g.data.dialog&&c.openDialog(g.data.dialog)},null,null,999)}}),function(){CKEDITOR.plugins.add("a11yhelp",{requires:"dialog",availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,"fr-ca":1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,
-ku:1,lt:1,lv:1,mk:1,mn:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},init:function(c){var g=this;c.addCommand("a11yHelp",{exec:function(){var f=c.langCode,f=g.availableLangs[f]?f:g.availableLangs[f.replace(/-.*/,"")]?f.replace(/-.*/,""):"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(g.path+"dialogs/lang/"+f+".js"),function(){c.lang.a11yhelp=g.langEntries[f];c.openDialog("a11yHelp")})},modes:{wysiwyg:1,source:1},
-readOnly:1,canUndo:!1});c.setKeystroke(CKEDITOR.ALT+48,"a11yHelp");CKEDITOR.dialog.add("a11yHelp",this.path+"dialogs/a11yhelp.js");c.on("ariaEditorHelpLabel",function(f){f.data.label=c.lang.common.editorHelp})}})}(),CKEDITOR.plugins.add("about",{requires:"dialog",init:function(c){var g=c.addCommand("about",new CKEDITOR.dialogCommand("about"));g.modes={wysiwyg:1,source:1};g.canUndo=!1;g.readOnly=1;c.ui.addButton&&c.ui.addButton("About",{label:c.lang.about.dlgTitle,command:"about",toolbar:"about"});
-CKEDITOR.dialog.add("about",this.path+"dialogs/about.js")}}),"use strict",function(){function c(c){function f(){m=c.document;l=m[CKEDITOR.env.ie?"getBody":"getDocumentElement"]();b=CKEDITOR.env.quirks?m.getBody():m.getDocumentElement();var a=CKEDITOR.env.quirks?b:b.findOne("body");a&&(a.setStyle("height","auto"),a.setStyle("min-height",CKEDITOR.env.safari?"0%":"auto"));h=CKEDITOR.dom.element.createFromHtml('\x3cspan style\x3d"margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;"\x3e'+
-(CKEDITOR.env.webkit?"\x26nbsp;":"")+"\x3c/span\x3e",m)}function e(){t&&b.setStyle("overflow-y","hidden");var e=c.window.getViewPaneSize().height,f;l.append(h);f=h.getDocumentPosition(m).y+h.$.offsetHeight;h.remove();f+=d;f=Math.max(f,a);f=Math.min(f,n);f!=e&&k!=f&&(f=c.fire("autoGrow",{currentHeight:e,newHeight:f}).newHeight,c.resize(c.container.getStyle("width"),f,!0),k=f);t||(f<n&&b.$.scrollHeight>b.$.clientHeight?b.setStyle("overflow-y","hidden"):b.removeStyle("overflow-y"))}var k,m,l,b,h,d=c.config.autoGrow_bottomSpace||
-0,a=void 0!==c.config.autoGrow_minHeight?c.config.autoGrow_minHeight:200,n=c.config.autoGrow_maxHeight||Infinity,t=!c.config.autoGrow_maxHeight;c.addCommand("autogrow",{exec:e,modes:{wysiwyg:1},readOnly:1,canUndo:!1,editorFocus:!1});var p={contentDom:1,key:1,selectionChange:1,insertElement:1,mode:1},x;for(x in p)c.on(x,function(a){"wysiwyg"==a.editor.mode&&setTimeout(function(){var a=c.getCommand("maximize");!c.window||a&&a.state==CKEDITOR.TRISTATE_ON?k=null:(e(),t||e())},100)});c.on("afterCommandExec",
-function(a){"maximize"==a.data.name&&"wysiwyg"==a.editor.mode&&(a.data.command.state==CKEDITOR.TRISTATE_ON?b.removeStyle("overflow-y"):e())});c.on("contentDom",f);f();c.config.autoGrow_onStartup&&c.editable().isVisible()&&c.execCommand("autogrow")}CKEDITOR.plugins.add("autogrow",{init:function(g){if(g.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE)g.on("instanceReady",function(){g.editable().isInline()?g.ui.space("contents").setStyle("height","auto"):c(g)})}})}(),CKEDITOR.plugins.add("basicstyles",{init:function(c){var g=
-0,f=function(f,b,h,d){if(d){d=new CKEDITOR.style(d);var a=e[h];a.unshift(d);c.attachStyleStateChange(d,function(a){!c.readOnly&&c.getCommand(h).setState(a)});c.addCommand(h,new CKEDITOR.styleCommand(d,{contentForms:a}));c.ui.addButton&&c.ui.addButton(f,{label:b,command:h,toolbar:"basicstyles,"+(g+=10)})}},e={bold:["strong","b",["span",function(c){c=c.styles["font-weight"];return"bold"==c||700<=+c}]],italic:["em","i",["span",function(c){return"italic"==c.styles["font-style"]}]],underline:["u",["span",
-function(c){return"underline"==c.styles["text-decoration"]}]],strike:["s","strike",["span",function(c){return"line-through"==c.styles["text-decoration"]}]],subscript:["sub"],superscript:["sup"]},k=c.config,m=c.lang.basicstyles;f("Bold",m.bold,"bold",k.coreStyles_bold);f("Italic",m.italic,"italic",k.coreStyles_italic);f("Underline",m.underline,"underline",k.coreStyles_underline);f("Strike",m.strike,"strike",k.coreStyles_strike);f("Subscript",m.subscript,"subscript",k.coreStyles_subscript);f("Superscript",
-m.superscript,"superscript",k.coreStyles_superscript);c.setKeystroke([[CKEDITOR.CTRL+66,"bold"],[CKEDITOR.CTRL+73,"italic"],[CKEDITOR.CTRL+85,"underline"]])}}),CKEDITOR.config.coreStyles_bold={element:"strong",overrides:"b"},CKEDITOR.config.coreStyles_italic={element:"em",overrides:"i"},CKEDITOR.config.coreStyles_underline={element:"u"},CKEDITOR.config.coreStyles_strike={element:"s",overrides:"strike"},CKEDITOR.config.coreStyles_subscript={element:"sub"},CKEDITOR.config.coreStyles_superscript={element:"sup"},
-function(){var c={exec:function(c){var f=c.getCommand("blockquote").state,e=c.getSelection(),k=e&&e.getRanges()[0];if(k){var m=e.createBookmarks();if(CKEDITOR.env.ie){var l=m[0].startNode,b=m[0].endNode,h;if(l&&"blockquote"==l.getParent().getName())for(h=l;h=h.getNext();)if(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary()){l.move(h,!0);break}if(b&&"blockquote"==b.getParent().getName())for(h=b;h=h.getPrevious();)if(h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary()){b.move(h);break}}var d=k.createIterator();
-d.enlargeBr=c.config.enterMode!=CKEDITOR.ENTER_BR;if(f==CKEDITOR.TRISTATE_OFF){for(l=[];f=d.getNextParagraph();)l.push(f);1>l.length&&(f=c.document.createElement(c.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),b=m.shift(),k.insertNode(f),f.append(new CKEDITOR.dom.text("",c.document)),k.moveToBookmark(b),k.selectNodeContents(f),k.collapse(!0),b=k.createBookmark(),l.push(f),m.unshift(b));h=l[0].getParent();k=[];for(b=0;b<l.length;b++)f=l[b],h=h.getCommonAncestor(f.getParent());for(f={table:1,tbody:1,
-tr:1,ol:1,ul:1};f[h.getName()];)h=h.getParent();for(b=null;0<l.length;){for(f=l.shift();!f.getParent().equals(h);)f=f.getParent();f.equals(b)||k.push(f);b=f}for(;0<k.length;)if(f=k.shift(),"blockquote"==f.getName()){for(b=new CKEDITOR.dom.documentFragment(c.document);f.getFirst();)b.append(f.getFirst().remove()),l.push(b.getLast());b.replace(f)}else l.push(f);k=c.document.createElement("blockquote");for(k.insertBefore(l[0]);0<l.length;)f=l.shift(),k.append(f)}else if(f==CKEDITOR.TRISTATE_ON){b=[];
-for(h={};f=d.getNextParagraph();){for(l=k=null;f.getParent();){if("blockquote"==f.getParent().getName()){k=f.getParent();l=f;break}f=f.getParent()}k&&l&&!l.getCustomData("blockquote_moveout")&&(b.push(l),CKEDITOR.dom.element.setMarker(h,l,"blockquote_moveout",!0))}CKEDITOR.dom.element.clearAllMarkers(h);f=[];l=[];for(h={};0<b.length;)d=b.shift(),k=d.getParent(),d.getPrevious()?d.getNext()?(d.breakParent(d.getParent()),l.push(d.getNext())):d.remove().insertAfter(k):d.remove().insertBefore(k),k.getCustomData("blockquote_processed")||
-(l.push(k),CKEDITOR.dom.element.setMarker(h,k,"blockquote_processed",!0)),f.push(d);CKEDITOR.dom.element.clearAllMarkers(h);for(b=l.length-1;0<=b;b--){k=l[b];a:{h=k;for(var d=0,a=h.getChildCount(),n=void 0;d<a&&(n=h.getChild(d));d++)if(n.type==CKEDITOR.NODE_ELEMENT&&n.isBlockBoundary()){h=!1;break a}h=!0}h&&k.remove()}if(c.config.enterMode==CKEDITOR.ENTER_BR)for(k=!0;f.length;)if(d=f.shift(),"div"==d.getName()){b=new CKEDITOR.dom.documentFragment(c.document);!k||!d.getPrevious()||d.getPrevious().type==
-CKEDITOR.NODE_ELEMENT&&d.getPrevious().isBlockBoundary()||b.append(c.document.createElement("br"));for(k=d.getNext()&&!(d.getNext().type==CKEDITOR.NODE_ELEMENT&&d.getNext().isBlockBoundary());d.getFirst();)d.getFirst().remove().appendTo(b);k&&b.append(c.document.createElement("br"));b.replace(d);k=!1}}e.selectBookmarks(m);c.focus()}},refresh:function(c,f){this.setState(c.elementPath(f.block||f.blockLimit).contains("blockquote",1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:"blockquote",allowedContent:"blockquote",
-requiredContent:"blockquote"};CKEDITOR.plugins.add("blockquote",{init:function(g){g.blockless||(g.addCommand("blockquote",c),g.ui.addButton&&g.ui.addButton("Blockquote",{label:g.lang.blockquote.toolbar,command:"blockquote",toolbar:"blocks,10"}))}})}(),"use strict",function(){function c(c,e){CKEDITOR.tools.extend(this,e,{editor:c,id:"cke-"+CKEDITOR.tools.getUniqueId(),area:c._.notificationArea});e.type||(this.type="info");this.element=this._createElement();c.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}
-function g(c){var e=this;this.editor=c;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,this);c.on("destroy",function(){e._removeListeners();e.element.remove()})}CKEDITOR.plugins.add("notification",{init:function(c){function e(c){var e=new CKEDITOR.dom.element("div");e.setStyles({position:"fixed","margin-left":"-9999px"});e.setAttributes({"aria-live":"assertive",
-"aria-atomic":"true"});e.setText(c);CKEDITOR.document.getBody().append(e);setTimeout(function(){e.remove()},100)}c._.notificationArea=new g(c);c.showNotification=function(e,g,l){var b,h;"progress"==g?b=l:h=l;e=new CKEDITOR.plugins.notification(c,{message:e,type:g,progress:b,duration:h});e.show();return e};c.on("key",function(g){if(27==g.data.keyCode){var m=c._.notificationArea.notifications;m.length&&(e(c.lang.notification.closed),m[m.length-1].hide(),g.cancel())}})}});c.prototype={show:function(){!1!==
-this.editor.fire("notificationShow",{notification:this})&&(this.area.add(this),this._hideAfterTimeout())},update:function(c){var e=!0;!1===this.editor.fire("notificationUpdate",{notification:this,options:c})&&(e=!1);var g=this.element,m=g.findOne(".cke_notification_message"),l=g.findOne(".cke_notification_progress"),b=c.type;g.removeAttribute("role");c.progress&&"progress"!=this.type&&(b="progress");b&&(g.removeClass(this._getClass()),g.removeAttribute("aria-label"),this.type=b,g.addClass(this._getClass()),
-g.setAttribute("aria-label",this.type),"progress"!=this.type||l?"progress"!=this.type&&l&&l.remove():(l=this._createProgressElement(),l.insertBefore(m)));void 0!==c.message&&(this.message=c.message,m.setHtml(this.message));void 0!==c.progress&&(this.progress=c.progress,l&&l.setStyle("width",this._getPercentageProgress()));e&&c.important&&(g.setAttribute("role","alert"),this.isVisible()||this.area.add(this));this.duration=c.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire("notificationHide",
-{notification:this})&&this.area.remove(this)},isVisible:function(){return 0<=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var c=this,e,g,m=this.editor.lang.common.close;e=new CKEDITOR.dom.element("div");e.addClass("cke_notification");e.addClass(this._getClass());e.setAttributes({id:this.id,role:"alert","aria-label":this.type});"progress"==this.type&&e.append(this._createProgressElement());g=new CKEDITOR.dom.element("p");g.addClass("cke_notification_message");g.setHtml(this.message);
-e.append(g);g=CKEDITOR.dom.element.createFromHtml('\x3ca class\x3d"cke_notification_close" href\x3d"javascript:void(0)" title\x3d"'+m+'" role\x3d"button" tabindex\x3d"-1"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e');e.append(g);g.on("click",function(){c.editor.focus();c.hide()});return e},_getClass:function(){return"progress"==this.type?"cke_notification_info":"cke_notification_"+this.type},_createProgressElement:function(){var c=new CKEDITOR.dom.element("span");c.addClass("cke_notification_progress");
-c.setStyle("width",this._getPercentageProgress());return c},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+"%"},_hideAfterTimeout:function(){var c=this,e;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);if("number"==typeof this.duration)e=this.duration;else if("info"==this.type||"success"==this.type)e="number"==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;e&&(c._hideTimeoutId=setTimeout(function(){c.hide()},e))}};g.prototype=
-{add:function(c){this.notifications.push(c);this.element.append(c.element);1==this.element.getChildCount()&&(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(c){var e=CKEDITOR.tools.indexOf(this.notifications,c);0>e||(this.notifications.splice(e,1),c.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var c=this.editor,e=c.config,g=new CKEDITOR.dom.element("div");g.addClass("cke_notifications_area");
-g.setAttribute("id","cke_notifications_area_"+c.name);g.setStyle("z-index",e.baseFloatZIndex-2);return g},_attachListeners:function(){var c=CKEDITOR.document.getWindow(),e=this.editor;c.on("scroll",this._uiBuffer.input);c.on("resize",this._uiBuffer.input);e.on("change",this._changeBuffer.input);e.on("floatingSpaceLayout",this._layout,this,null,20);e.on("blur",this._layout,this,null,20)},_removeListeners:function(){var c=CKEDITOR.document.getWindow(),e=this.editor;c.removeListener("scroll",this._uiBuffer.input);
-c.removeListener("resize",this._uiBuffer.input);e.removeListener("change",this._changeBuffer.input);e.removeListener("floatingSpaceLayout",this._layout);e.removeListener("blur",this._layout)},_layout:function(){function c(){e.setStyle("left",u(v+m.width-n-t))}var e=this.element,g=this.editor,m=g.ui.contentsElement.getClientRect(),l=g.ui.contentsElement.getDocumentPosition(),b,h,d=e.getClientRect(),a,n=this._notificationWidth,t=this._notificationMargin;a=CKEDITOR.document.getWindow();var p=a.getScrollPosition(),
-x=a.getViewPaneSize(),r=CKEDITOR.document.getBody(),q=r.getDocumentPosition(),u=CKEDITOR.tools.cssLength;n&&t||(a=this.element.getChild(0),n=this._notificationWidth=a.getClientRect().width,t=this._notificationMargin=parseInt(a.getComputedStyle("margin-left"),10)+parseInt(a.getComputedStyle("margin-right"),10));g.toolbar&&(b=g.ui.space("top"),h=b.getClientRect());b&&b.isVisible()&&h.bottom>m.top&&h.bottom<m.bottom-d.height?e.setStyles({position:"fixed",top:u(h.bottom)}):0<m.top?e.setStyles({position:"absolute",
-top:u(l.y)}):l.y+m.height-d.height>p.y?e.setStyles({position:"fixed",top:0}):e.setStyles({position:"absolute",top:u(l.y+m.height-d.height)});var v="fixed"==e.getStyle("position")?m.left:"static"!=r.getComputedStyle("position")?l.x-q.x:l.x;m.width<n+t?l.x+n+t>p.x+x.width?c():e.setStyle("left",u(v)):l.x+n+t>p.x+x.width?e.setStyle("left",u(v)):l.x+m.width/2+n/2+t>p.x+x.width?e.setStyle("left",u(v-l.x+p.x+x.width-n-t)):0>m.left+m.width-n-t?c():0>m.left+m.width/2-n/2?e.setStyle("left",u(v-l.x+p.x)):e.setStyle("left",
-u(v+m.width/2-n/2-t/2))}};CKEDITOR.plugins.notification=c}(),function(){var c='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' title\x3d"{title}" tabindex\x3d"-1" hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasArrow}" aria-disabled\x3d"{ariaDisabled}"';CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(c+=
-' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(c+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var c=c+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{style}"'),c=c+'\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_button_label cke_button__{name}_label" aria-hidden\x3d"false"\x3e{label}\x3c/span\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_button_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e',
-g=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),f=CKEDITOR.addTemplate("button",c);CKEDITOR.plugins.add("button",{beforeInit:function(c){c.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";CKEDITOR.ui.button=function(c){CKEDITOR.tools.extend(this,c,{title:c.label,click:c.click||function(f){f.execCommand(c.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(c){return new CKEDITOR.ui.button(c)}};
-CKEDITOR.ui.button.prototype={render:function(c,k){function m(){var a=c.mode;a&&(a=this.modes[a]?void 0!==u[a]?u[a]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,a=c.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED:a,this.setState(a),this.refresh&&this.refresh())}var l=CKEDITOR.env,b=this._.id=CKEDITOR.tools.getNextId(),h="",d=this.command,a,n,t;this._.editor=c;var p={id:b,button:this,editor:c,focus:function(){CKEDITOR.document.getById(b).focus()},execute:function(){this.button.click(c)},attach:function(a){this.button.attach(a)}},
-x=CKEDITOR.tools.addFunction(function(a){if(p.onkey)return a=new CKEDITOR.dom.event(a),!1!==p.onkey(p,a.getKeystroke())}),r=CKEDITOR.tools.addFunction(function(a){var b;p.onfocus&&(b=!1!==p.onfocus(p,new CKEDITOR.dom.event(a)));return b}),q=0;p.clickFn=a=CKEDITOR.tools.addFunction(function(){q&&(c.unlockSelection(1),q=0);p.execute();l.iOS&&c.focus()});if(this.modes){var u={};c.on("beforeModeUnload",function(){c.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(u[c.mode]=this._.state)},this);c.on("activeFilterChange",
-m,this);c.on("mode",m,this);!this.readOnly&&c.on("readOnly",m,this)}else d&&(d=c.getCommand(d))&&(d.on("state",function(){this.setState(d.state)},this),h+=d.state==CKEDITOR.TRISTATE_ON?"on":d.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");if(this.directional)c.on("contentDirChanged",function(a){var b=CKEDITOR.document.getById(this._.id),d=b.getFirst();a=a.data;a!=c.lang.dir?b.addClass("cke_"+a):b.removeClass("cke_ltr").removeClass("cke_rtl");d.setAttribute("style",CKEDITOR.skin.getIconStyle(v,
-"rtl"==a,this.icon,this.iconOffset))},this);d?(n=c.getCommandKeystroke(d))&&(t=CKEDITOR.tools.keystrokeToString(c.lang.common.keyboard,n)):h+="off";var v=n=this.name||this.command;this.icon&&!/\./.test(this.icon)&&(v=this.icon,this.icon=null);h={id:b,name:n,iconName:v,label:this.label,cls:this.className||"",state:h,ariaDisabled:"disabled"==h?"true":"false",title:this.title+(t?" ("+t.display+")":""),ariaShortcut:t?c.lang.common.keyboardShortcut+" "+t.aria:"",titleJs:l.gecko&&!l.hc?"":(this.title||
-"").replace("'",""),hasArrow:this.hasArrow?"true":"false",keydownFn:x,focusFn:r,clickFn:a,style:CKEDITOR.skin.getIconStyle(v,"rtl"==c.lang.dir,this.icon,this.iconOffset),arrowHtml:this.hasArrow?g.output():""};f.output(h,k);if(this.onRender)this.onRender();return p},setState:function(c){if(this._.state==c)return!1;this._.state=c;var f=CKEDITOR.document.getById(this._.id);return f?(f.setState(c,"cke_button"),c==CKEDITOR.TRISTATE_DISABLED?f.setAttribute("aria-disabled",!0):f.removeAttribute("aria-disabled"),
-this.hasArrow?(c=c==CKEDITOR.TRISTATE_ON?this._.editor.lang.button.selectedLabel.replace(/%1/g,this.label):this.label,CKEDITOR.document.getById(this._.id+"_label").setText(c)):c==CKEDITOR.TRISTATE_ON?f.setAttribute("aria-pressed",!0):f.removeAttribute("aria-pressed"),!0):!1},getState:function(){return this._.state},toFeature:function(c){if(this._.feature)return this._.feature;var f=this;this.allowedContent||this.requiredContent||!this.command||(f=c.getCommand(this.command)||f);return this._.feature=
-f}};CKEDITOR.ui.prototype.addButton=function(c,f){this.add(c,CKEDITOR.UI_BUTTON,f)}}(),function(){function c(c){function e(){for(var a=f(),d=CKEDITOR.tools.clone(c.config.toolbarGroups)||g(c),h=0;h<d.length;h++){var m=d[h];if("/"!=m){"string"==typeof m&&(m=d[h]={name:m});var r,q=m.groups;if(q)for(var u=0;u<q.length;u++)r=q[u],(r=a[r])&&b(m,r);(r=a[m.name])&&b(m,r)}}return d}function f(){var a={},b,d,e;for(b in c.ui.items)d=c.ui.items[b],e=d.toolbar||"others",e=e.split(","),d=e[0],e=parseInt(e[1]||
--1,10),a[d]||(a[d]=[]),a[d].push({name:b,order:e});for(d in a)a[d]=a[d].sort(function(a,b){return a.order==b.order?0:0>b.order?-1:0>a.order?1:a.order<b.order?-1:1});return a}function b(a,b){if(b.length){a.items?a.items.push(c.ui.create("-")):a.items=[];for(var e;e=b.shift();)e="string"==typeof e?e:e.name,d&&-1!=CKEDITOR.tools.indexOf(d,e)||(e=c.ui.create(e))&&c.addFeature(e)&&a.items.push(e)}}function h(a){var d=[],c,e,f;for(c=0;c<a.length;++c)e=a[c],f={},"/"==e?d.push(e):CKEDITOR.tools.isArray(e)?
-(b(f,CKEDITOR.tools.clone(e)),d.push(f)):e.items&&(b(f,CKEDITOR.tools.clone(e.items)),f.name=e.name,d.push(f));return d}var d=c.config.removeButtons,d=d&&d.split(","),a=c.config.toolbar;"string"==typeof a&&(a=c.config["toolbar_"+a]);return c.toolbar=a?h(a):e()}function g(c){return c._.toolbarGroups||(c._.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},"/",
-{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"},"/",{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}])}var f=function(){this.toolbars=[];this.focusCommandExecuted=!1};f.prototype.focus=function(){for(var c=0,e;e=this.toolbars[c++];)for(var f=0,b;b=e.items[f++];)if(b.focus){b.focus();return}};var e={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(c){c.toolbox&&(c.toolbox.focusCommandExecuted=
-!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){c.toolbox.focus()},100):c.toolbox.focus())}};CKEDITOR.plugins.add("toolbar",{requires:"button",init:function(g){var m,l=function(b,c){var d,a="rtl"==g.lang.dir,e=g.config.toolbarGroupCycling,f=a?37:39,a=a?39:37,e=void 0===e||e;switch(c){case 9:case CKEDITOR.SHIFT+9:for(;!d||!d.items.length;)if(d=9==c?(d?d.next:b.toolbar.next)||g.toolbox.toolbars[0]:(d?d.previous:b.toolbar.previous)||g.toolbox.toolbars[g.toolbox.toolbars.length-1],d.items.length)for(b=
-d.items[m?d.items.length-1:0];b&&!b.focus;)(b=m?b.previous:b.next)||(d=0);b&&b.focus();return!1;case f:d=b;do d=d.next,!d&&e&&(d=b.toolbar.items[0]);while(d&&!d.focus);d?d.focus():l(b,9);return!1;case 40:return b.button&&b.button.hasArrow?b.execute():l(b,40==c?f:a),!1;case a:case 38:d=b;do d=d.previous,!d&&e&&(d=b.toolbar.items[b.toolbar.items.length-1]);while(d&&!d.focus);d?d.focus():(m=1,l(b,CKEDITOR.SHIFT+9),m=0);return!1;case 27:return g.focus(),!1;case 13:case 32:return b.execute(),!1}return!0};
-g.on("uiSpace",function(b){if(b.data.space==g.config.toolbarLocation){b.removeListener();g.toolbox=new f;var e=CKEDITOR.tools.getNextId(),d=['\x3cspan id\x3d"',e,'" class\x3d"cke_voice_label"\x3e',g.lang.toolbar.toolbars,"\x3c/span\x3e",'\x3cspan id\x3d"'+g.ui.spaceId("toolbox")+'" class\x3d"cke_toolbox" role\x3d"group" aria-labelledby\x3d"',e,'" onmousedown\x3d"return false;"\x3e'],e=!1!==g.config.toolbarStartupExpanded,a,n;g.config.toolbarCanCollapse&&g.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&
-d.push('\x3cspan class\x3d"cke_toolbox_main"'+(e?"\x3e":' style\x3d"display:none"\x3e'));for(var m=g.toolbox.toolbars,p=c(g),x=p.length,r=0;r<x;r++){var q,u=0,v,z=p[r],w="/"!==z&&("/"===p[r+1]||r==x-1),B;if(z)if(a&&(d.push("\x3c/span\x3e"),n=a=0),"/"===z)d.push('\x3cspan class\x3d"cke_toolbar_break"\x3e\x3c/span\x3e');else{B=z.items||z;for(var A=0;A<B.length;A++){var C=B[A],y;if(C){var F=function(a){a=a.render(g,d);E=u.items.push(a)-1;0<E&&(a.previous=u.items[E-1],a.previous.next=a);a.toolbar=u;a.onkey=
-l;a.onfocus=function(){g.toolbox.focusCommandExecuted||g.focus()}};if(C.type==CKEDITOR.UI_SEPARATOR)n=a&&C;else{y=!1!==C.canGroup;if(!u){q=CKEDITOR.tools.getNextId();u={id:q,items:[]};v=z.name&&(g.lang.toolbar.toolbarGroups[z.name]||z.name);d.push('\x3cspan id\x3d"',q,'" class\x3d"cke_toolbar'+(w?' cke_toolbar_last"':'"'),v?' aria-labelledby\x3d"'+q+'_label"':"",' role\x3d"toolbar"\x3e');v&&d.push('\x3cspan id\x3d"',q,'_label" class\x3d"cke_voice_label"\x3e',v,"\x3c/span\x3e");d.push('\x3cspan class\x3d"cke_toolbar_start"\x3e\x3c/span\x3e');
-var E=m.push(u)-1;0<E&&(u.previous=m[E-1],u.previous.next=u)}y?a||(d.push('\x3cspan class\x3d"cke_toolgroup" role\x3d"presentation"\x3e'),a=1):a&&(d.push("\x3c/span\x3e"),a=0);n&&(F(n),n=0);F(C)}}}a&&(d.push("\x3c/span\x3e"),n=a=0);u&&d.push('\x3cspan class\x3d"cke_toolbar_end"\x3e\x3c/span\x3e\x3c/span\x3e')}}g.config.toolbarCanCollapse&&d.push("\x3c/span\x3e");if(g.config.toolbarCanCollapse&&g.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var G=CKEDITOR.tools.addFunction(function(){g.execCommand("toolbarCollapse")});
-g.on("destroy",function(){CKEDITOR.tools.removeFunction(G)});g.addCommand("toolbarCollapse",{readOnly:1,exec:function(a){var b=a.ui.space("toolbar_collapser"),d=b.getPrevious(),c=a.ui.space("contents"),e=d.getParent(),f=parseInt(c.$.style.height,10),h=e.$.offsetHeight,g=b.hasClass("cke_toolbox_collapser_min");g?(d.show(),b.removeClass("cke_toolbox_collapser_min"),b.setAttribute("title",a.lang.toolbar.toolbarCollapse)):(d.hide(),b.addClass("cke_toolbox_collapser_min"),b.setAttribute("title",a.lang.toolbar.toolbarExpand));
-b.getFirst().setText(g?"▲":"◀");c.setStyle("height",f-(e.$.offsetHeight-h)+"px");a.fire("resize",{outerHeight:a.container.$.offsetHeight,contentsHeight:c.$.offsetHeight,outerWidth:a.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});g.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),"toolbarCollapse");d.push('\x3ca title\x3d"'+(e?g.lang.toolbar.toolbarCollapse:g.lang.toolbar.toolbarExpand)+'" id\x3d"'+g.ui.spaceId("toolbar_collapser")+'" tabIndex\x3d"-1" class\x3d"cke_toolbox_collapser');
-e||d.push(" cke_toolbox_collapser_min");d.push('" onclick\x3d"CKEDITOR.tools.callFunction('+G+')"\x3e','\x3cspan class\x3d"cke_arrow"\x3e\x26#9650;\x3c/span\x3e',"\x3c/a\x3e")}d.push("\x3c/span\x3e");b.data.html+=d.join("")}});g.on("destroy",function(){if(this.toolbox){var b,c=0,d,a,e;for(b=this.toolbox.toolbars;c<b.length;c++)for(a=b[c].items,d=0;d<a.length;d++)e=a[d],e.clickFn&&CKEDITOR.tools.removeFunction(e.clickFn),e.keyDownFn&&CKEDITOR.tools.removeFunction(e.keyDownFn)}});g.on("uiReady",function(){var b=
-g.ui.space("toolbox");b&&g.focusManager.add(b,1)});g.addCommand("toolbarFocus",e);g.setKeystroke(CKEDITOR.ALT+121,"toolbarFocus");g.ui.add("-",CKEDITOR.UI_SEPARATOR,{});g.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(b,c){c.push('\x3cspan class\x3d"cke_toolbar_separator" role\x3d"separator"\x3e\x3c/span\x3e');return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(c,e,f){var b=g(this.editor),h=0===e,d={name:c};if(f){if(f=CKEDITOR.tools.search(b,function(a){return a.name==
-f})){!f.groups&&(f.groups=[]);if(e&&(e=CKEDITOR.tools.indexOf(f.groups,e),0<=e)){f.groups.splice(e+1,0,c);return}h?f.groups.splice(0,0,c):f.groups.push(c);return}e=null}e&&(e=CKEDITOR.tools.indexOf(b,function(a){return a.name==e}));h?b.splice(0,0,c):"number"==typeof e?b.splice(e+1,0,d):b.push(c)}}(),CKEDITOR.UI_SEPARATOR="separator",CKEDITOR.config.toolbarLocation="top","use strict",function(){function c(a,b,d){b.type||(b.type="auto");if(d&&!1===a.fire("beforePaste",b)||!b.dataValue&&b.dataTransfer.isEmpty())return!1;
-b.dataValue||(b.dataValue="");if(CKEDITOR.env.gecko&&"drop"==b.method&&a.toolbox)a.once("afterPaste",function(){a.toolbox.focus()});return a.fire("paste",b)}function g(a){function b(){var d=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var c=function(b){a.readOnly&&"cut"==b.name||y.initPasteDataTransfer(b,a);b.data.preventDefault()};d.on("copy",c);d.on("cut",c);d.on("cut",function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}d.on(y.mainPasteEvent,function(a){"beforepaste"==
-y.mainPasteEvent&&F||B(a)});"beforepaste"==y.mainPasteEvent&&(d.on("paste",function(a){E||(f(),a.data.preventDefault(),B(a),g("paste"))}),d.on("contextmenu",h,null,null,0),d.on("beforepaste",function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));d.on("beforecut",function(){!F&&k(a)});var e;d.attachListener(CKEDITOR.env.ie?d:a.document.getDocumentElement(),"mouseup",function(){e=setTimeout(function(){A()},0)});a.on("destroy",function(){clearTimeout(e)});d.on("keyup",A)}function d(b){return{type:b,
-canUndo:"cut"==b,startDisabled:!0,fakeKeystroke:"cut"==b?CKEDITOR.CTRL+88:CKEDITOR.CTRL+67,exec:function(){"cut"==this.type&&k();var b;var d=this.type;if(CKEDITOR.env.ie)b=g(d);else try{b=a.document.$.execCommand(d,!1,null)}catch(c){b=!1}b||a.showNotification(a.lang.clipboard[this.type+"Error"]);return b}}}function e(){return{canUndo:!1,async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,b){function d(b,h){h="undefined"!==typeof h?h:!0;b?(b.method="paste",b.dataTransfer||(b.dataTransfer=y.initPasteDataTransfer()),
-c(a,b,h)):f&&a.showNotification(k,"info",a.config.clipboard_notificationDuration);a.fire("afterCommandExec",{name:"paste",command:e,returnValue:!!b})}b="undefined"!==typeof b&&null!==b?b:{};var e=this,f="undefined"!==typeof b.notification?b.notification:!0,h=b.type,g=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,a.getCommandKeystroke(this)),k="string"===typeof f?f:a.lang.clipboard.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+g.aria+'"\x3e'+g.display+"\x3c/kbd\x3e"),g="string"===
-typeof b?b:b.dataValue;h?a._.nextPasteType=h:delete a._.nextPasteType;"string"===typeof g?d({dataValue:g}):a.getClipboardData(d)}}}function f(){E=1;setTimeout(function(){E=0},100)}function h(){F=1;setTimeout(function(){F=0},10)}function g(b){var d=a.document,c=d.getBody(),e=!1,f=function(){e=!0};c.on(b,f);7<CKEDITOR.env.version?d.$.execCommand(b):d.$.selection.createRange().execCommand(b);c.removeListener(b,f);return e}function k(){if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks){var b=a.getSelection(),
-d,c,e;b.getType()==CKEDITOR.SELECTION_ELEMENT&&(d=b.getSelectedElement())&&(c=b.getRanges()[0],e=a.document.createText(""),e.insertBefore(d),c.setStartBefore(e),c.setEndAfter(d),b.selectRanges([c]),setTimeout(function(){d.getParent()&&(e.remove(),b.selectElement(d))},0))}}function l(b,d){var c=a.document,e=a.editable(),f=function(a){a.cancel()},h;if(!c.getById("cke_pastebin")){var g=a.getSelection(),k=g.createBookmarks();CKEDITOR.env.ie&&g.root.fire("selectionchange");var n=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&&
-!e.is("body")||CKEDITOR.env.ie?"div":"body",c);n.setAttributes({id:"cke_pastebin","data-cke-temp":"1"});var m=0,c=c.getWindow();CKEDITOR.env.webkit?(e.append(n),n.addClass("cke_editable"),e.is("body")||(m="static"!=e.getComputedStyle("position")?e:CKEDITOR.dom.element.get(e.$.offsetParent),m=m.getDocumentPosition().y)):e.getAscendant(CKEDITOR.env.ie?"body":"html",1).append(n);n.setStyles({position:"absolute",top:c.getScrollPosition().y-m+10+"px",width:"1px",height:Math.max(1,c.getViewPaneSize().height-
-20)+"px",overflow:"hidden",margin:0,padding:0});CKEDITOR.env.safari&&n.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","text"));(m=n.getParent().isReadOnly())?(n.setOpacity(0),n.setAttribute("contenteditable",!0)):n.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-10000px");a.on("selectionChange",f,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)h=e.once("blur",f,null,null,-100);m&&n.focus();m=new CKEDITOR.dom.range(n);m.selectNodeContents(n);var q=m.select();CKEDITOR.env.ie&&
-(h=e.once("blur",function(){a.lockSelection(q)}));var v=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=v);h&&h.removeListener();CKEDITOR.env.ie&&e.focus();g.selectBookmarks(k);n.remove();var b;CKEDITOR.env.webkit&&(b=n.getFirst())&&b.is&&b.hasClass("Apple-style-span")&&(n=b);a.removeListener("selectionChange",f);d(n.getHtml())},0)}}function m(){if("paste"==y.mainPasteEvent)return a.fire("beforePaste",{type:"auto",
-method:"paste"}),!1;a.focus();f();var b=a.focusManager;b.lock();if(a.editable().fire(y.mainPasteEvent)&&!g("paste"))return b.unlock(),!1;b.unlock();return!0}function w(b){if("wysiwyg"==a.mode)switch(b.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:b=a.editable();f();"paste"==y.mainPasteEvent&&b.fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire("saveSnapshot"),setTimeout(function(){a.fire("saveSnapshot")},50)}}function B(b){var d={type:"auto",method:"paste",
-dataTransfer:y.initPasteDataTransfer(b)};d.dataTransfer.cacheData();var e=!1!==a.fire("beforePaste",d);e&&y.canClipboardApiBeTrusted(d.dataTransfer,a)?(b.data.preventDefault(),setTimeout(function(){c(a,d)},0)):l(b,function(b){d.dataValue=b.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,"");e&&c(a,d)})}function A(){if("wysiwyg"==a.mode){var b=C("paste");a.getCommand("cut").setState(C("cut"));a.getCommand("copy").setState(C("copy"));a.getCommand("paste").setState(b);a.fire("pasteState",b)}}function C(b){if(G&&
-b in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==b)return CKEDITOR.TRISTATE_OFF;b=a.getSelection();var d=b.getRanges();return b.getType()==CKEDITOR.SELECTION_NONE||1==d.length&&d[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var y=CKEDITOR.plugins.clipboard,F=0,E=0,G=0;(function(){a.on("key",w);a.on("contentDom",b);a.on("selectionChange",function(a){G=a.data.selection.getRanges()[0].checkReadOnly();A()});a.contextMenu&&a.contextMenu.addListener(function(a,b){G=b.getRanges()[0].checkReadOnly();
-return{cut:C("cut"),copy:C("copy"),paste:C("paste")}})})();(function(){function b(d,c,e,f,h){var g=a.lang.clipboard[c];a.addCommand(c,e);a.ui.addButton&&a.ui.addButton(d,{label:g,command:c,toolbar:"clipboard,"+f});a.addMenuItems&&a.addMenuItem(c,{label:g,command:c,group:"clipboard",order:h})}b("Cut","cut",d("cut"),10,1);b("Copy","copy",d("copy"),20,4);b("Paste","paste",e(),30,8)})();a.getClipboardData=function(b,d){function c(a){a.removeListener();a.cancel();d(a.data)}d||(d=b,b=null);a.on("paste",
-c,null,null,0);!1===m()&&(a.removeListener("paste",c),d(null))}}function f(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&&!a.match(/^(<div><br( ?\/)?><\/div>|<div>[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi)&&!a.match(/^(<p>([^<]|<br( ?\/)?>)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi))return"html"}else return"html";return"htmlifiedtext"}function e(a,b){function d(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",
-~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}b=b.replace(/\s+/g," ").replace(/> +</g,"\x3e\x3c").replace(/<br ?\/>/gi,"\x3cbr\x3e");b=b.replace(/<\/?[A-Z]+>/g,function(a){return a.toLowerCase()});if(b.match(/^[^<]$/))return b;CKEDITOR.env.webkit&&-1<b.indexOf("\x3cdiv\x3e")&&(b=b.replace(/^(<div>(<br>|)<\/div>)(?!$|(<div>(<br>|)<\/div>))/g,"\x3cbr\x3e").replace(/^(<div>(<br>|)<\/div>){2}(?!$)/g,"\x3cdiv\x3e\x3c/div\x3e"),b.match(/<div>(<br>|)<\/div>/)&&(b="\x3cp\x3e"+b.replace(/(<div>(<br>|)<\/div>)+/g,function(a){return d(a.split("\x3c/div\x3e\x3cdiv\x3e").length+
-1)})+"\x3c/p\x3e"),b=b.replace(/<\/div><div>/g,"\x3cbr\x3e"),b=b.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(b=b.replace(/^<br><br>$/,"\x3cbr\x3e")),-1<b.indexOf("\x3cbr\x3e\x3cbr\x3e")&&(b="\x3cp\x3e"+b.replace(/(<br>){2,}/g,function(a){return d(a.length/4)})+"\x3c/p\x3e"));return l(a,b)}function k(){function a(){var a={},b;for(b in CKEDITOR.dtd)"$"!=b.charAt(0)&&"div"!=b&&"span"!=b&&(a[b]=1);return a}var b={};return{get:function(d){return"plain-text"==
-d?b.plainText||(b.plainText=new CKEDITOR.filter("br")):"semantic-content"==d?((d=b.semanticContent)||(d=new CKEDITOR.filter,d.allow({$1:{elements:a(),attributes:!0,styles:!1,classes:!1}}),d=b.semanticContent=d),d):d?new CKEDITOR.filter(d):null}}}function m(a,b,d){b=CKEDITOR.htmlParser.fragment.fromHtml(b);var c=new CKEDITOR.htmlParser.basicWriter;d.applyTo(b,!0,!1,a.activeEnterMode);b.writeHtml(c);return c.getHtml()}function l(a,b){a.enterMode==CKEDITOR.ENTER_BR?b=b.replace(/(<\/p><p>)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e",
-a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(b=b.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return b}function b(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function h(a){var b=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function d(b,e,f){e.select();c(a,{dataTransfer:f,method:"drop"},1);f.sourceEditor.fire("saveSnapshot");f.sourceEditor.editable().extractHtmlFromRange(b);f.sourceEditor.getSelection().selectRanges([b]);f.sourceEditor.fire("saveSnapshot")}
-function e(d,f){d.select();c(a,{dataTransfer:f,method:"drop"},1);b.resetDragDataTransfer()}function f(b,d,c){var e={$:b.data.$,target:b.data.getTarget()};d&&(e.dragRange=d);c&&(e.dropRange=c);!1===a.fire(b.name,e)&&b.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()}var g=a.editable(),k=CKEDITOR.plugins.clipboard.getDropTarget(a),l=a.ui.space("top"),m=a.ui.space("bottom");b.preventDefaultDropOnElement(l);b.preventDefaultDropOnElement(m);
-g.attachListener(k,"dragstart",f);g.attachListener(a,"dragstart",b.resetDragDataTransfer,b,null,1);g.attachListener(a,"dragstart",function(d){b.initDragDataTransfer(d,a)},null,null,2);g.attachListener(a,"dragstart",function(){var d=b.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(b.dragStartContainerChildCount=d?h(d.startContainer):null,b.dragEndContainerChildCount=d?h(d.endContainer):null)},null,null,100);g.attachListener(k,"dragend",f);g.attachListener(a,"dragend",
-b.initDragDataTransfer,b,null,1);g.attachListener(a,"dragend",b.resetDragDataTransfer,b,null,100);g.attachListener(k,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var b=a.data.getTarget();b&&b.is&&b.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&&a.data.preventDefault()}});g.attachListener(k,"drop",function(d){if(!d.data.$.defaultPrevented){d.data.preventDefault();var c=d.data.getTarget();
-if(!c.isReadOnly()||c.type==CKEDITOR.NODE_ELEMENT&&c.is("html")){var c=b.getRangeAtDropPosition(d,a),e=b.dragRange;c&&f(d,e,c)}}},null,null,9999);g.attachListener(a,"drop",b.initDragDataTransfer,b,null,1);g.attachListener(a,"drop",function(c){if(c=c.data){var f=c.dropRange,h=c.dragRange,g=c.dataTransfer;g.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?setTimeout(function(){b.internalDrop(h,f,g,a)},0):g.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?d(h,f,g):e(f,g)}},null,null,9999)})}
-var d;CKEDITOR.plugins.add("clipboard",{requires:"notification,toolbar",init:function(a){var b,d=k();a.config.forcePasteAsPlainText?b="plain-text":a.config.pasteFilter?b=a.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in a.config||(b="semantic-content");a.pasteFilter=d.get(b);g(a);h(a);if(CKEDITOR.env.gecko){var c=["image/png","image/jpeg","image/gif"],l;a.on("paste",function(b){var d=b.data,e=d.dataTransfer;if(!d.dataValue&&"paste"==d.method&&e&&1==e.getFilesCount()&&l!=e.id&&(e=e.getFile(0),
--1!=CKEDITOR.tools.indexOf(c,e.type))){var f=new FileReader;f.addEventListener("load",function(){b.data.dataValue='\x3cimg src\x3d"'+f.result+'" /\x3e';a.fire("paste",b.data)},!1);f.addEventListener("abort",function(){a.fire("paste",b.data)},!1);f.addEventListener("error",function(){a.fire("paste",b.data)},!1);f.readAsDataURL(e);l=d.dataTransfer.id;b.stop()}},null,null,1)}a.on("paste",function(b){b.data.dataTransfer||(b.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!b.data.dataValue){var d=
-b.data.dataTransfer,c=d.getData("text/html");if(c)b.data.dataValue=c,b.data.type="html";else if(c=d.getData("text/plain"))b.data.dataValue=a.editable().transformPlainTextToHtml(c),b.data.type="text"}},null,null,1);a.on("paste",function(a){var b=a.data.dataValue,d=CKEDITOR.dtd.$block;-1<b.indexOf("Apple-")&&(b=b.replace(/<span class="Apple-converted-space"> <\/span>/gi," "),"html"!=a.data.type&&(b=b.replace(/<span class="Apple-tab-span"[^>]*>([^<]*)<\/span>/gi,function(a,b){return b.replace(/\t/g,
-"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1<b.indexOf('\x3cbr class\x3d"Apple-interchange-newline"\x3e')&&(a.data.startsWithEOL=1,a.data.preSniffing="html",b=b.replace(/<br class="Apple-interchange-newline">/,"")),b=b.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(b.match(/^<[^<]+cke_(editable|contents)/i)){var c,e,f=new CKEDITOR.dom.element("div");for(f.setHtml(b);1==f.getChildCount()&&(c=f.getFirst())&&c.type==CKEDITOR.NODE_ELEMENT&&(c.hasClass("cke_editable")||c.hasClass("cke_contents"));)f=e=c;
-e&&(b=e.getHtml().replace(/<br>$/i,""))}CKEDITOR.env.ie?b=b.replace(/^ (?: |\r\n)?<(\w+)/g,function(b,c){return c.toLowerCase()in d?(a.data.preSniffing="html","\x3c"+c):b}):CKEDITOR.env.webkit?b=b.replace(/<\/(\w+)><div><br><\/div>$/,function(b,c){return c in d?(a.data.endsWithEOL=1,"\x3c/"+c+"\x3e"):b}):CKEDITOR.env.gecko&&(b=b.replace(/(\s)<br>$/,"$1"));a.data.dataValue=b},null,null,3);a.on("paste",function(b){b=b.data;var c=a._.nextPasteType||b.type,h=b.dataValue,g,k=a.config.clipboard_defaultContentType||
-"html",l=b.dataTransfer.getTransferType(a);g="html"==c||"html"==b.preSniffing?"html":f(h);delete a._.nextPasteType;"htmlifiedtext"==g&&(h=e(a.config,h));"text"==c&&"html"==g?h=m(a,h,d.get("plain-text")):l==CKEDITOR.DATA_TRANSFER_EXTERNAL&&a.pasteFilter&&!b.dontFilter&&(h=m(a,h,a.pasteFilter));b.startsWithEOL&&(h='\x3cbr data-cke-eol\x3d"1"\x3e'+h);b.endsWithEOL&&(h+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==c&&(c="html"==g||"html"==k?"html":"text");b.type=c;b.dataValue=h;delete b.preSniffing;delete b.startsWithEOL;
-delete b.endsWithEOL},null,null,6);a.on("paste",function(b){b=b.data;b.dataValue&&(a.insertHtml(b.dataValue,b.type,b.range),setTimeout(function(){a.fire("afterPaste")},0))},null,null,1E3)}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:(!CKEDITOR.env.ie||16<=CKEDITOR.env.version)&&!CKEDITOR.env.iOS,isCustomDataTypesSupported:!CKEDITOR.env.ie||16<=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9<CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&&!CKEDITOR.env.edge?"beforepaste":
-"paste",canClipboardApiBeTrusted:function(a,b){return a.getTransferType(b)!=CKEDITOR.DATA_TRANSFER_EXTERNAL||CKEDITOR.env.chrome&&!a.isEmpty()||CKEDITOR.env.gecko&&(a.getData("text/html")||a.getFilesCount())||CKEDITOR.env.safari&&603<=CKEDITOR.env.version&&!CKEDITOR.env.iOS||CKEDITOR.env.edge&&16<=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var b=a.editable();return CKEDITOR.env.ie&&9>CKEDITOR.env.version||b.isInline()?b:a.document},fixSplitNodesAfterDrop:function(a,b,d,c){function e(a,
-d,c){var f=a;f.type==CKEDITOR.NODE_TEXT&&(f=a.getParent());if(f.equals(d)&&c!=d.getChildCount())return a=b.startContainer.getChild(b.startOffset-1),d=b.startContainer.getChild(b.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&d&&d.type==CKEDITOR.NODE_TEXT&&(c=a.getLength(),a.setText(a.getText()+d.getText()),d.remove(),b.setStart(a,c),b.collapse(!0)),!0}var f=b.startContainer;"number"==typeof c&&"number"==typeof d&&f.type==CKEDITOR.NODE_ELEMENT&&(e(a.startContainer,f,d)||e(a.endContainer,f,c))},isDropRangeAffectedByDragRange:function(a,
-b){var d=b.startContainer,c=b.endOffset;return a.endContainer.equals(d)&&a.endOffset<=c||a.startContainer.getParent().equals(d)&&a.startContainer.getIndex()<c||a.endContainer.getParent().equals(d)&&a.endContainer.getIndex()<c?!0:!1},internalDrop:function(a,b,d,e){var f=CKEDITOR.plugins.clipboard,h=e.editable(),g,k;e.fire("saveSnapshot");e.fire("lockSnapshot",{dontUpdate:1});CKEDITOR.env.ie&&10>CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,b,f.dragStartContainerChildCount,f.dragEndContainerChildCount);
-(k=this.isDropRangeAffectedByDragRange(a,b))||(g=a.createBookmark(!1));f=b.clone().createBookmark(!1);k&&(g=a.createBookmark(!1));a=g.startNode;b=g.endNode;k=f.startNode;b&&a.getPosition(k)&CKEDITOR.POSITION_PRECEDING&&b.getPosition(k)&CKEDITOR.POSITION_FOLLOWING&&k.insertBefore(a);a=e.createRange();a.moveToBookmark(g);h.extractHtmlFromRange(a,1);b=e.createRange();b.moveToBookmark(f);c(e,{dataTransfer:d,method:"drop",range:b},1);e.fire("unlockSnapshot")},getRangeAtDropPosition:function(a,b){var d=
-a.data.$,c=d.clientX,e=d.clientY,f=b.getSelection(!0).getRanges()[0],h=b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&b.document.$.caretRangeFromPoint(c,e))d=b.document.$.caretRangeFromPoint(c,e),h.setStart(CKEDITOR.dom.node(d.startContainer),d.startOffset),h.collapse(!0);else if(d.rangeParent)h.setStart(CKEDITOR.dom.node(d.rangeParent),d.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&&8<CKEDITOR.env.version&&f&&b.editable().hasFocus)return f;if(document.body.createTextRange){b.focus();
-d=b.document.getBody().$.createTextRange();try{for(var g=!1,k=0;20>k&&!g;k++){if(!g)try{d.moveToPoint(c,e-k),g=!0}catch(l){}if(!g)try{d.moveToPoint(c,e+k),g=!0}catch(m){}}if(g){var B="cke-temp-"+(new Date).getTime();d.pasteHTML('\x3cspan id\x3d"'+B+'"\x3e\x3c/span\x3e');var A=b.document.getById(B);h.moveToPosition(A,CKEDITOR.POSITION_BEFORE_START);A.remove()}else{var C=b.document.$.elementFromPoint(c,e),y=new CKEDITOR.dom.element(C),F;if(y.equals(b.editable())||"html"==y.getName())return f&&f.startContainer&&
-!f.startContainer.equals(b.editable())?f:null;F=y.getClientRect();c<F.left?h.setStartAt(y,CKEDITOR.POSITION_AFTER_START):h.setStartAt(y,CKEDITOR.POSITION_BEFORE_END);h.collapse(!0)}}catch(E){return null}}else return null}return h},initDragDataTransfer:function(a,b){var d=a.data.$?a.data.$.dataTransfer:null,c=new this.dataTransfer(d,b);"dragstart"===a.name&&c.storeId();d?this.dragData&&c.id==this.dragData.id?c=this.dragData:this.dragData=c:this.dragData?c=this.dragData:this.dragData=c;a.data.dataTransfer=
-c},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,b){if(this.isCustomCopyCutSupported){if(a&&a.data&&a.data.$){var d=a.data.$.clipboardData,c=new this.dataTransfer(d,b);"copy"!==a.name&&"cut"!==a.name||c.storeId();this.copyCutData&&c.id==this.copyCutData.id?(c=this.copyCutData,c.$=d):this.copyCutData=c;return c}return new this.dataTransfer(null,b)}return new this.dataTransfer(CKEDITOR.env.edge&&a&&a.data.$&&a.data.$.clipboardData||null,b)},preventDefaultDropOnElement:function(a){a&&
-a.on("dragover",b)}};d=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?"cke/id":"Text";CKEDITOR.plugins.clipboard.dataTransfer=function(a,b){a&&(this.$=a);this._={metaRegExp:/^<meta.*?>/i,bodyRegExp:/<body(?:[\s\S]*?)>([\s\S]*)<\/body>/i,fragmentRegExp:/\x3c!--(?:Start|End)Fragment--\x3e/g,data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"==a?"Text":"url"==a?"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);
-this.id=this.getData(d);this.id||(this.id="Text"==d?"":"cke-"+CKEDITOR.tools.getUniqueId());b&&(this.sourceEditor=b,this.setData("text/html",b.getSelectedHtml(1)),"Text"==d||this.getData("text/plain")||this.setData("text/plain",b.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype={getData:function(a,b){a=this._.normalizeType(a);var d="text/html"==a&&b?this._.nativeHtmlCache:
-this._.data[a];if(void 0===d||null===d||""===d){if(this._.fallbackDataTransfer.isRequired())d=this._.fallbackDataTransfer.getData(a,b);else try{d=this.$.getData(a)||""}catch(c){d=""}"text/html"!=a||b||(d=this._stripHtml(d))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"==d.substring(0,7)&&(d="");if("string"===typeof d)var e=d.indexOf("\x3c/html\x3e"),d=-1!==e?d.substring(0,e+7):d;return d},setData:function(a,b){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(b),
-this._.nativeHtmlCache=b):this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==d&&"Text"==a&&(this.id=b),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,b);else try{this.$.setData(a,b)}catch(c){}},storeId:function(){"Text"!==d&&this.setData(d,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor==a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},
-cacheData:function(){function a(a){a=b._.normalizeType(a);var d=b.getData(a);"text/html"==a&&(b._.nativeHtmlCache=b.getData(a,!0),d=b._stripHtml(d));d&&(b._.data[a]=d)}if(this.$){var b=this,d,c;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(d=0;d<this.$.types.length;d++)a(this.$.types[d])}else a("Text"),a("URL");c=this._getImageFromClipboard();if(this.$&&this.$.files||c){this._.files=[];if(this.$.files&&this.$.files.length)for(d=0;d<this.$.files.length;d++)this._.files.push(this.$.files[d]);
-0===this._.files.length&&c&&this._.files.push(c)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&&this.$.files&&this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&&this.$.files&&this.$.files.length?this.$.files[a]:0===a?this._getImageFromClipboard():void 0},isEmpty:function(){var a={},b;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.objectKeys(this._.data),
-function(b){a[b]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var c=0;c<this.$.types.length;c++)a[this.$.types[c]]=1}else a.Text=1,a.URL=1;"Text"!=d&&(a[d]=0);for(b in a)if(a[b]&&""!==this.getData(b))return!1;return!0},_getImageFromClipboard:function(){var a;if(this.$&&this.$.items&&this.$.items[0])try{if((a=this.$.items[0].getAsFile())&&a.type)return a}catch(b){}},_stripHtml:function(a){if(a&&a.length){a=a.replace(this._.metaRegExp,"");var b=this._.bodyRegExp.exec(a);
-b&&b.length&&(a=b[1],a=a.replace(this._.fragmentRegExp,""))}return a}};CKEDITOR.plugins.clipboard.fallbackDataTransfer=function(a){this._dataTransfer=a;this._customDataFallbackType="text/html"};CKEDITOR.plugins.clipboard.fallbackDataTransfer._isCustomMimeTypeSupported=null;CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes=[];CKEDITOR.plugins.clipboard.fallbackDataTransfer.prototype={isRequired:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer,b=this._dataTransfer.$;if(null===
-a._isCustomMimeTypeSupported)if(b){a._isCustomMimeTypeSupported=!1;try{b.setData("cke/mimetypetest","cke test value"),a._isCustomMimeTypeSupported="cke test value"===b.getData("cke/mimetypetest"),b.clearData("cke/mimetypetest")}catch(d){}}else return!1;return!a._isCustomMimeTypeSupported},getData:function(a,b){var d=this._getData(this._customDataFallbackType,!0);if(b)return d;var d=this._extractDataComment(d),c=null,c=a===this._customDataFallbackType?d.content:d.data&&d.data[a]?d.data[a]:this._getData(a,
-!0);return null!==c?c:""},setData:function(a,b){var d=a===this._customDataFallbackType;d&&(b=this._applyDataComment(b,this._getFallbackTypeData()));var c=b,e=this._dataTransfer.$;try{e.setData(a,c),d&&(this._dataTransfer._.nativeHtmlCache=c)}catch(f){if(this._isUnsupportedMimeTypeError(f)){d=CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(d._customTypes,a)&&d._customTypes.push(a);var d=this._getFallbackTypeContent(),h=this._getFallbackTypeData();h[a]=c;try{c=this._applyDataComment(d,
-h),e.setData(this._customDataFallbackType,c),this._dataTransfer._.nativeHtmlCache=c}catch(g){c=""}}}return c},_getData:function(a,b){var d=this._dataTransfer._.data;if(!b&&d[a])return d[a];try{return this._dataTransfer.$.getData(a)}catch(c){return null}},_getFallbackTypeContent:function(){var a=this._dataTransfer._.data[this._customDataFallbackType];a||(a=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).content);return a},_getFallbackTypeData:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes,
-b=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).data||{},d=this._dataTransfer._.data;CKEDITOR.tools.array.forEach(a,function(a){void 0!==d[a]?b[a]=d[a]:void 0!==b[a]&&(b[a]=b[a])},this);return b},_isUnsupportedMimeTypeError:function(a){return a.message&&-1!==a.message.search(/element not found/gi)},_extractDataComment:function(a){var b={data:null,content:a||""};if(a&&16<a.length){var d;(d=/\x3c!--cke-data:(.*?)--\x3e/g.exec(a))&&d[1]&&(b.data=JSON.parse(decodeURIComponent(d[1])),
-b.content=a.replace(d[0],""))}return b},_applyDataComment:function(a,b){var d="";b&&CKEDITOR.tools.objectKeys(b).length&&(d="\x3c!--cke-data:"+encodeURIComponent(JSON.stringify(b))+"--\x3e");return d+(a&&a.length?a:"")}}}(),CKEDITOR.config.clipboard_notificationDuration=1E4,function(){CKEDITOR.plugins.add("panel",{beforeInit:function(c){c.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}});CKEDITOR.UI_PANEL="panel";CKEDITOR.ui.panel=function(c,f){f&&CKEDITOR.tools.extend(this,f);CKEDITOR.tools.extend(this,
-{className:"",css:[]});this.id=CKEDITOR.tools.getNextId();this.document=c;this.isFramed=this.forceIFrame||this.css.length;this._={blocks:{}}};CKEDITOR.ui.panel.handler={create:function(c){return new CKEDITOR.ui.panel(c)}};var c=CKEDITOR.addTemplate("panel",'\x3cdiv lang\x3d"{langCode}" id\x3d"{id}" dir\x3d{dir} class\x3d"cke cke_reset_all {editorId} cke_panel cke_panel {cls} cke_{dir}" style\x3d"z-index:{z-index}" role\x3d"presentation"\x3e{frame}\x3c/div\x3e'),g=CKEDITOR.addTemplate("panel-frame",
-'\x3ciframe id\x3d"{id}" class\x3d"cke_panel_frame" role\x3d"presentation" frameborder\x3d"0" src\x3d"{src}"\x3e\x3c/iframe\x3e'),f=CKEDITOR.addTemplate("panel-frame-inner",'\x3c!DOCTYPE html\x3e\x3chtml class\x3d"cke_panel_container {env}" dir\x3d"{dir}" lang\x3d"{langCode}"\x3e\x3chead\x3e{css}\x3c/head\x3e\x3cbody class\x3d"cke_{dir}" style\x3d"margin:0;padding:0" onload\x3d"{onload}"\x3e\x3c/body\x3e\x3c/html\x3e');CKEDITOR.ui.panel.prototype={render:function(e,k){this.getHolderElement=function(){var b=
-this._.holder;if(!b){if(this.isFramed){var b=this.document.getById(this.id+"_frame"),c=b.getParent(),b=b.getFrameDocument();CKEDITOR.env.iOS&&c.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"});c=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=!0;if(this.onLoad)this.onLoad()},this));b.write(f.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:"window.parent.CKEDITOR.tools.callFunction("+c+");"},m)));b.getWindow().$.CKEDITOR=CKEDITOR;
-b.on("keydown",function(b){var a=b.data.getKeystroke(),c=this.document.getById(this.id).getAttribute("dir");this._.onKeyDown&&!1===this._.onKeyDown(a)?b.data.preventDefault():(27==a||a==("rtl"==c?39:37))&&this.onEscape&&!1===this.onEscape(a)&&b.data.preventDefault()},this);b=b.getBody();b.unselectable();CKEDITOR.env.air&&CKEDITOR.tools.callFunction(c)}else b=this.document.getById(this.id);this._.holder=b}return b};var m={editorId:e.id,id:this.id,langCode:e.langCode,dir:e.lang.dir,cls:this.className,
-frame:"",env:CKEDITOR.env.cssClass,"z-index":e.config.baseFloatZIndex+1};if(this.isFramed){var l=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?"javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";m.frame=g.output({id:this.id+"_frame",src:l})}l=c.output(m);k&&k.push(l);return l},addBlock:function(c,f){f=this._.blocks[c]=f instanceof CKEDITOR.ui.panel.block?f:new CKEDITOR.ui.panel.block(this.getHolderElement(),f);this._.currentBlock||
-this.showBlock(c);return f},getBlock:function(c){return this._.blocks[c]},showBlock:function(c){c=this._.blocks[c];var f=this._.currentBlock,g=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");f&&f.hide();this._.currentBlock=c;CKEDITOR.fire("ariaWidget",g);c._.focusIndex=-1;this._.onKeyDown=c.onKeyDown&&CKEDITOR.tools.bind(c.onKeyDown,c);c.show();return c},destroy:function(){this.element&&this.element.remove()}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(c,
-f){this.element=c.append(c.getDocument().createElement("div",{attributes:{tabindex:-1,"class":"cke_panel_block"},styles:{display:"none"}}));f&&CKEDITOR.tools.extend(this,f);this.element.setAttributes({role:this.attributes.role||"presentation","aria-label":this.attributes["aria-label"],title:this.attributes.title||this.attributes["aria-label"]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(c){-1!=c&&(c=this.element.getElementsByTag("a").getItem(this._.focusIndex=
-c),CKEDITOR.env.webkit&&c.getDocument().getWindow().focus(),c.focus(),this.onMark&&this.onMark(c))},markFirstDisplayed:function(c){for(var f=function(b){return b.type==CKEDITOR.NODE_ELEMENT&&"none"==b.getStyle("display")},g=this._.getItems(),l,b,h=g.count()-1;0<=h;h--)if(l=g.getItem(h),l.getAscendant(f)||(b=l,this._.focusIndex=h),"true"==l.getAttribute("aria-selected")){b=l;this._.focusIndex=h;break}b&&(c&&c(),CKEDITOR.env.webkit&&b.getDocument().getWindow().focus(),b.focus(),this.onMark&&this.onMark(b))},
-getItems:function(){return this.element.getElementsByTag("a")}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){this.onHide&&!0===this.onHide.call(this)||this.element.setStyle("display","none")},onKeyDown:function(c,f){var g=this.keys[c];switch(g){case "next":for(var l=this._.focusIndex,g=this.element.getElementsByTag("a"),b;b=g.getItem(++l);)if(b.getAttribute("_cke_focus")&&b.$.offsetWidth){this._.focusIndex=l;b.focus();break}return b||f?!1:(this._.focusIndex=-1,this.onKeyDown(c,
-1));case "prev":l=this._.focusIndex;for(g=this.element.getElementsByTag("a");0<l&&(b=g.getItem(--l));){if(b.getAttribute("_cke_focus")&&b.$.offsetWidth){this._.focusIndex=l;b.focus();break}b=null}return b||f?!1:(this._.focusIndex=g.count(),this.onKeyDown(c,1));case "click":case "mouseup":return l=this._.focusIndex,(b=0<=l&&this.element.getElementsByTag("a").getItem(l))&&(b.$[g]?b.$[g]():b.$["on"+g]()),!1}return!0}}})}(),CKEDITOR.plugins.add("floatpanel",{requires:"panel"}),function(){function c(c,
-e,k,m,l){l=CKEDITOR.tools.genKey(e.getUniqueId(),k.getUniqueId(),c.lang.dir,c.uiColor||"",m.css||"",l||"");var b=g[l];b||(b=g[l]=new CKEDITOR.ui.panel(e,m),b.element=k.append(CKEDITOR.dom.element.createFromHtml(b.render(c),e)),b.element.setStyles({display:"none",position:"absolute"}));return b}var g={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(f,e,g,m){function l(){a.hide()}g.forceIFrame=1;g.toolbarRelated&&f.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(e=CKEDITOR.document.getById("cke_"+
-f.name));var b=e.getDocument();m=c(f,b,e,g,m||0);var h=m.element,d=h.getFirst(),a=this;h.disableContextMenu();this.element=h;this._={editor:f,panel:m,parentElement:e,definition:g,document:b,iframe:d,children:[],dir:f.lang.dir,showBlockParams:null};f.on("mode",l);f.on("resize",l);b.getWindow().on("resize",function(){this.reposition()},this)},proto:{addBlock:function(c,e){return this._.panel.addBlock(c,e)},addListBlock:function(c,e){return this._.panel.addListBlock(c,e)},getBlock:function(c){return this._.panel.getBlock(c)},
-showBlock:function(c,e,g,m,l,b){var h=this._.panel,d=h.showBlock(c);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var a=this._.editor.editable();this._.returnFocus=a.hasFocus?a:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var n=this.element,a=this._.iframe,a=CKEDITOR.env.ie&&!CKEDITOR.env.edge?a:new CKEDITOR.dom.window(a.$.contentWindow),t=n.getDocument(),p=this._.parentElement.getPositionedAncestor(),x=e.getDocumentPosition(t),t=p?p.getDocumentPosition(t):
-{x:0,y:0},r="rtl"==this._.dir,q=x.x+(m||0)-t.x,u=x.y+(l||0)-t.y;!r||1!=g&&4!=g?r||2!=g&&3!=g||(q+=e.$.offsetWidth-1):q+=e.$.offsetWidth;if(3==g||4==g)u+=e.$.offsetHeight-1;this._.panel._.offsetParentId=e.getId();n.setStyles({top:u+"px",left:0,display:""});n.setOpacity(0);n.getFirst().removeStyle("width");this._.editor.focusManager.add(a);this._.blurSet||(CKEDITOR.event.useCapture=!0,a.on("blur",function(a){function b(){delete this._.returnFocus;this.hide()}this.allowBlur()&&a.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&&
-this.visible&&!this._.activeChild&&(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(b,0,this)):b.call(this))},this),a.on("focus",function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)},this),CKEDITOR.env.iOS&&(a.on("touchstart",function(){clearTimeout(this._.hideTimeout)},this),a.on("touchend",function(){this._.hideTimeout=0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);h.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&&
-!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=n;a.removeStyle("width");if(d.autoSize){var c=d.element.getDocument(),c=(CKEDITOR.env.webkit||CKEDITOR.env.edge?d.element:c.getBody()).$.scrollWidth;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<c&&(c+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle("width",c+10+"px");c=d.element.$.scrollHeight;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<c&&(c+=(a.$.offsetHeight||0)-(a.$.clientHeight||
-0)+3);a.setStyle("height",c+"px");h._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");r&&(q-=n.$.offsetWidth);n.setStyle("left",q+"px");var c=h.element.getWindow(),a=n.$.getBoundingClientRect(),c=c.getViewPaneSize(),e=a.width||a.right-a.left,f=a.height||a.bottom-a.top,g=r?a.right:c.width-a.left,k=r?c.width-a.right:a.left;r?g<e&&(q=k>e?q+e:c.width>e?q-a.left:q-a.right+c.width):g<e&&(q=k>e?q-e:c.width>e?q-a.right+c.width:q-a.left);e=a.top;c.height-
-a.top<f&&(u=e>f?u-f:c.height>f?u-a.bottom+c.height:u-a.top);CKEDITOR.env.ie&&(c=a=new CKEDITOR.dom.element(n.$.offsetParent),"html"==c.getName()&&(c=c.getDocument().getBody()),"rtl"==c.getComputedStyle("direction")&&(q=CKEDITOR.env.ie8Compat?q-2*n.getDocument().getDocumentElement().$.scrollLeft:q-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),l;(l=a.getCustomData("activePanel"))&&l.onHide&&l.onHide.call(this,1);a.setCustomData("activePanel",this);n.setStyles({top:u+"px",left:q+"px"});n.setOpacity(1);
-b&&b()},this);h.isLoaded?a():h.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();d.element.focus();CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){d.markFirstDisplayed?d.markFirstDisplayed():d._.markFirstDisplayed()},0):d.markFirstDisplayed?d.markFirstDisplayed():d._.markFirstDisplayed();this._.editor.fire("panelShow",this)},
-0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var c=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(),this.showBlock.apply(this,c))},focus:function(){if(CKEDITOR.env.webkit){var c=CKEDITOR.document.getActive();c&&!c.equals(this._.iframe)&&c.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var c=this._.iframe.getFrameDocument().getActive();c&&c.is("a")&&(this._.lastFocused=
-c)},hide:function(c){if(this.visible&&(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&&this._.iframe.getFrameDocument().$.activeElement.blur();this.element.setStyle("display","none");this.visible=0;this.element.getFirst().removeCustomData("activePanel");if(c=c&&this._.returnFocus)CKEDITOR.env.webkit&&c.type&&c.getWindow().$.focus(),c.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire("panelHide",this)}},allowBlur:function(c){var e=this._.panel;
-void 0!==c&&(e.allowBlur=c);return e.allowBlur},showAsChild:function(c,e,g,m,l,b){if(this._.activeChild!=c||c._.panel._.offsetParentId!=g.getId())this.hideChild(),c.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=c,this._.focused=!1,c.showBlock(e,g,m,l,b),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){c.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(c){var e=
-this._.activeChild;e&&(delete e.onHide,delete this._.activeChild,e.hide(),c&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var c=CKEDITOR.tools.isEmpty(CKEDITOR.instances),e;for(e in g){var k=g[e];c?k.destroy():k.element.hide()}c&&(g={})})}(),CKEDITOR.plugins.add("menu",{requires:"floatpanel",beforeInit:function(c){for(var g=c.config.menu_groups.split(","),f=c._.menuGroups={},e=c._.menuItems={},k=0;k<g.length;k++)f[g[k]]=k+1;c.addMenuGroup=function(c,e){f[c]=e||100};c.addMenuItem=function(c,
-g){f[g.group]&&(e[c]=new CKEDITOR.menuItem(this,c,g))};c.addMenuItems=function(c){for(var e in c)this.addMenuItem(e,c[e])};c.getMenuItem=function(c){return e[c]};c.removeMenuItem=function(c){delete e[c]}}}),function(){function c(c){c.sort(function(c,b){return c.group<b.group?-1:c.group>b.group?1:c.order<b.order?-1:c.order>b.order?1:0})}var g='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{label}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"';
-CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(g+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(g+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');var g=g+(' onmouseover\x3d"CKEDITOR.tools.callFunction({hoverFn},{index});" onmouseout\x3d"CKEDITOR.tools.callFunction({moveOutFn},{index});" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;"\x3e'),f=CKEDITOR.addTemplate("menuItem",
-g+'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e'),e=CKEDITOR.addTemplate("menuArrow",'\x3cspan class\x3d"cke_menuarrow"\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e'),
-k=CKEDITOR.addTemplate("menuShortcut",'\x3cspan class\x3d"cke_menubutton_label cke_menubutton_shortcut"\x3e{shortcut}\x3c/span\x3e');CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(c,e){e=this._.definition=e||{};this.id=CKEDITOR.tools.getNextId();this.editor=c;this.items=[];this._.listeners=[];this._.level=e.level||1;var b=CKEDITOR.tools.extend({},e.panel,{css:[CKEDITOR.skin.getPath("editor")],level:this._.level-1,block:{}}),f=b.block.attributes=b.attributes||{};!f.role&&(f.role="menu");this._.panelDefinition=
-b},_:{onShow:function(){var c=this.editor.getSelection(),e=c&&c.getStartElement(),b=this.editor.elementPath(),f=this._.listeners;this.removeAll();for(var d=0;d<f.length;d++){var a=f[d](e,c,b);if(a)for(var g in a){var k=this.editor.getMenuItem(g);!k||k.command&&!this.editor.getCommand(k.command).state||(k.state=a[g],this.add(k))}}},onClick:function(c){this.hide();if(c.onClick)c.onClick();else c.command&&this.editor.execCommand(c.command)},onEscape:function(c){var e=this.parent;e?e._.panel.hideChild(1):
-27==c&&this.hide(1);return!1},onHide:function(){this.onHide&&this.onHide()},showSubMenu:function(c){var e=this._.subMenu,b=this.items[c];if(b=b.getItems&&b.getItems()){e?e.removeAll():(e=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),e.parent=this,e._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var f in b){var d=this.editor.getMenuItem(f);d&&(d.state=b[f],e.add(d))}var a=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+
-String(c));setTimeout(function(){e.show(a,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(c){c.order||(c.order=this.items.length);this.items.push(c)},removeAll:function(){this.items=[]},show:function(e,f,b,h){if(!this.parent&&(this._.onShow(),!this.items.length))return;f=f||("rtl"==this.editor.lang.dir?2:1);var d=this.items,a=this.editor,g=this._.panel,k=this._.element;if(!g){g=this._.panel=new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);
-g.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);g.onShow=function(){g._.panel.getHolderElement().getParent().addClass("cke").addClass("cke_reset_all")};g.onHide=CKEDITOR.tools.bind(function(){this._.onHide&&this._.onHide()},this);k=g.addBlock(this.id,this._.panelDefinition.block);k.autoSize=!0;var p=k.keys;p[40]="next";p[9]="next";p[38]="prev";p[CKEDITOR.SHIFT+9]="prev";p["rtl"==a.lang.dir?37:39]=CKEDITOR.env.ie?"mouseup":"click";p[32]=CKEDITOR.env.ie?"mouseup":
-"click";CKEDITOR.env.ie&&(p[13]="mouseup");k=this._.element=k.element;p=k.getDocument();p.getBody().setStyle("overflow","hidden");p.getElementsByTag("html").getItem(0).setStyle("overflow","hidden");this._.itemOverFn=CKEDITOR.tools.addFunction(function(b){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,a.config.menu_subMenuDelay||400,this,[b])},this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);
-this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var b=this.items[a];if(b.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(b.getItems)this._.showSubMenu(a);else this._.onClick(b)},this)}c(d);for(var p=a.elementPath(),p=['\x3cdiv class\x3d"cke_menu'+(p&&p.direction()!=a.lang.dir?" cke_mixed_dir_content":"")+'" role\x3d"presentation"\x3e'],x=d.length,r=x&&d[0].group,q=0;q<x;q++){var u=d[q];r!=u.group&&(p.push('\x3cdiv class\x3d"cke_menuseparator" role\x3d"separator"\x3e\x3c/div\x3e'),
-r=u.group);u.render(this,q,p)}p.push("\x3c/div\x3e");k.setHtml(p.join(""));CKEDITOR.ui.fire("ready",this);this.parent?this.parent._.panel.showAsChild(g,this.id,e,f,b,h):g.showBlock(this.id,e,f,b,h);a.fire("menuShow",[g])},addListener:function(c){this._.listeners.push(c)},hide:function(c){this._.onHide&&this._.onHide();this._.panel&&this._.panel.hide(c)}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(c,e,b){CKEDITOR.tools.extend(this,b,{order:0,className:"cke_menubutton__"+e});this.group=
-c._.menuGroups[this.group];this.editor=c;this.name=e},proto:{render:function(c,g,b){var h=c.id+String(g),d="undefined"==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,a="",n=this.editor,t,p,x=d==CKEDITOR.TRISTATE_ON?"on":d==CKEDITOR.TRISTATE_DISABLED?"disabled":"off";this.role in{menuitemcheckbox:1,menuitemradio:1}&&(a=' aria-checked\x3d"'+(d==CKEDITOR.TRISTATE_ON?"true":"false")+'"');var r=this.getItems,q="\x26#"+("rtl"==this.editor.lang.dir?"9668":"9658")+";",u=this.name;this.icon&&!/\./.test(this.icon)&&
-(u=this.icon);this.command&&(t=n.getCommand(this.command),(t=n.getCommandKeystroke(t))&&(p=CKEDITOR.tools.keystrokeToString(n.lang.common.keyboard,t)));c={id:h,name:this.name,iconName:u,label:this.label,cls:this.className||"",state:x,hasPopup:r?"true":"false",disabled:d==CKEDITOR.TRISTATE_DISABLED,title:this.label+(p?" ("+p.display+")":""),ariaShortcut:p?n.lang.common.keyboardShortcut+" "+p.aria:"",href:"javascript:void('"+(this.label||"").replace("'")+"')",hoverFn:c._.itemOverFn,moveOutFn:c._.itemOutFn,
-clickFn:c._.itemClickFn,index:g,iconStyle:CKEDITOR.skin.getIconStyle(u,"rtl"==this.editor.lang.dir,u==this.icon?null:this.icon,this.iconOffset),shortcutHtml:p?k.output({shortcut:p.display}):"",arrowHtml:r?e.output({label:q}):"",role:this.role?this.role:"menuitem",ariaChecked:a};f.output(c,b)}}})}(),CKEDITOR.config.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div",
-CKEDITOR.plugins.add("contextmenu",{requires:"menu",onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(c){this.base.call(this,c,{panel:{className:"cke_menu_panel",attributes:{"aria-label":c.lang.contextmenu.options}}})},proto:{addTarget:function(c,g){c.on("contextmenu",function(c){c=c.data;var e=CKEDITOR.env.webkit?f:CKEDITOR.env.mac?c.$.metaKey:c.$.ctrlKey;if(!g||!e){c.preventDefault();if(CKEDITOR.env.mac&&CKEDITOR.env.webkit){var e=this.editor,
-l=(new CKEDITOR.dom.elementPath(c.getTarget(),e.editable())).contains(function(a){return a.hasAttribute("contenteditable")},!0);l&&"false"==l.getAttribute("contenteditable")&&e.getSelection().fake(l)}var l=c.getTarget().getDocument(),b=c.getTarget().getDocument().getDocumentElement(),e=!l.equals(CKEDITOR.document),l=l.getWindow().getScrollPosition(),h=e?c.$.clientX:c.$.pageX||l.x+c.$.clientX,d=e?c.$.clientY:c.$.pageY||l.y+c.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(b,null,h,d)},CKEDITOR.env.ie?
-200:0,this)}},this);if(CKEDITOR.env.webkit){var f,e=function(){f=0};c.on("keydown",function(c){f=CKEDITOR.env.mac?c.data.$.metaKey:c.data.$.ctrlKey});c.on("keyup",e);c.on("contextmenu",e)}},open:function(c,g,f,e){!1!==this.editor.config.enableContextMenu&&(this.editor.focus(),c=c||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(c,g,f,e))}}})},beforeInit:function(c){var g=c.contextMenu=new CKEDITOR.plugins.contextMenu(c);c.on("contentDom",function(){g.addTarget(c.editable(),
-!1!==c.config.browserContextMenuOnCtrl)});c.addCommand("contextMenu",{exec:function(){c.contextMenu.open(c.document.getBody())}});c.setKeystroke(CKEDITOR.SHIFT+121,"contextMenu");c.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,"contextMenu")}}),function(){function c(c,f){function l(b){b=a.list[b];var d;b.equals(c.editable())||"true"==b.getAttribute("contenteditable")?(d=c.createRange(),d.selectNodeContents(b),d=d.select()):(d=c.getSelection(),d.selectElement(b));CKEDITOR.env.ie&&c.fire("selectionChange",
-{selection:d,path:new CKEDITOR.dom.elementPath(b)});c.focus()}function b(){d&&d.setHtml('\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');delete a.list}var h=c.ui.spaceId("path"),d,a=c._.elementsPath,n=a.idBase;f.html+='\x3cspan id\x3d"'+h+'_label" class\x3d"cke_voice_label"\x3e'+c.lang.elementspath.eleLabel+'\x3c/span\x3e\x3cspan id\x3d"'+h+'" class\x3d"cke_path" role\x3d"group" aria-labelledby\x3d"'+h+'_label"\x3e\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e';
-c.on("uiReady",function(){var a=c.ui.space("path");a&&c.focusManager.add(a,1)});a.onClick=l;var t=CKEDITOR.tools.addFunction(l),p=CKEDITOR.tools.addFunction(function(b,d){var e=a.idBase,f;d=new CKEDITOR.dom.event(d);f="rtl"==c.lang.dir;switch(d.getKeystroke()){case f?39:37:case 9:return(f=CKEDITOR.document.getById(e+(b+1)))||(f=CKEDITOR.document.getById(e+"0")),f.focus(),!1;case f?37:39:case CKEDITOR.SHIFT+9:return(f=CKEDITOR.document.getById(e+(b-1)))||(f=CKEDITOR.document.getById(e+(a.list.length-
-1))),f.focus(),!1;case 27:return c.focus(),!1;case 13:case 32:return l(b),!1}return!0});c.on("selectionChange",function(b){for(var f=[],g=a.list=[],l=[],m=a.filters,z=!0,w=b.data.path.elements,B=w.length;B--;){var A=w[B],C=0;b=A.data("cke-display-name")?A.data("cke-display-name"):A.data("cke-real-element-type")?A.data("cke-real-element-type"):A.getName();(z=A.hasAttribute("contenteditable")?"true"==A.getAttribute("contenteditable"):z)||A.hasAttribute("contenteditable")||(C=1);for(var y=0;y<m.length;y++){var F=
-m[y](A,b);if(!1===F){C=1;break}b=F||b}C||(g.unshift(A),l.unshift(b))}g=g.length;for(m=0;m<g;m++)b=l[m],z=c.lang.elementspath.eleTitle.replace(/%1/,b),b=e.output({id:n+m,label:z,text:b,jsTitle:"javascript:void('"+b+"')",index:m,keyDownFn:p,clickFn:t}),f.unshift(b);d||(d=CKEDITOR.document.getById(h));l=d;l.setHtml(f.join("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');c.fire("elementsPathUpdate",{space:l})});c.on("readOnly",b);c.on("contentDomUnload",b);c.addCommand("elementsPathFocus",
-g.toolbarFocus);c.setKeystroke(CKEDITOR.ALT+122,"elementsPathFocus")}var g={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(c){(c=CKEDITOR.document.getById(c._.elementsPath.idBase+"0"))&&c.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},f="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(f+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(f+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var e=CKEDITOR.addTemplate("pathItem",'\x3ca id\x3d"{id}" href\x3d"{jsTitle}" tabindex\x3d"-1" class\x3d"cke_path_item" title\x3d"{label}"'+
-f+' hidefocus\x3d"true" onkeydown\x3d"return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );" onclick\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;" role\x3d"button" aria-label\x3d"{label}"\x3e{text}\x3c/a\x3e');CKEDITOR.plugins.add("elementspath",{init:function(e){e._.elementsPath={idBase:"cke_elementspath_"+CKEDITOR.tools.getNextNumber()+"_",filters:[]};e.on("uiSpace",function(f){"bottom"==f.data.space&&c(e,f.data)})}})}(),function(){function c(d,a,c){c=d.config.forceEnterMode||
-c;if("wysiwyg"==d.mode){a||(a=d.activeEnterMode);var e=d.elementPath();e&&!e.isContextFor("p")&&(a=CKEDITOR.ENTER_BR,c=1);d.fire("saveSnapshot");a==CKEDITOR.ENTER_BR?l(d,a,null,c):b(d,a,null,c);d.fire("saveSnapshot")}}function g(b){b=b.getSelection().getRanges(!0);for(var a=b.length-1;0<a;a--)b[a].deleteContents();return b[0]}function f(b){var a=b.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&"true"==a.getAttribute("contenteditable")},!0);if(b.root.equals(a))return b;
-a=new CKEDITOR.dom.range(a);a.moveToRange(b);return a}CKEDITOR.plugins.add("enterkey",{init:function(b){b.addCommand("enter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){c(a)}});b.addCommand("shiftEnter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){c(a,a.activeShiftEnterMode,1)}});b.setKeystroke([[13,"enter"],[CKEDITOR.SHIFT+13,"shiftEnter"]])}});var e=CKEDITOR.dom.walker.whitespaces(),k=CKEDITOR.dom.walker.bookmark();CKEDITOR.plugins.enterkey={enterBlock:function(b,a,c,m){if(c=c||g(b)){c=
-f(c);var p=c.document,x=c.checkStartOfBlock(),r=c.checkEndOfBlock(),q=b.elementPath(c.startContainer),u=q.block,v=a==CKEDITOR.ENTER_DIV?"div":"p",z;if(x&&r){if(u&&(u.is("li")||u.getParent().is("li"))){u.is("li")||(u=u.getParent());c=u.getParent();z=c.getParent();m=!u.hasPrevious();var w=!u.hasNext(),v=b.getSelection(),B=v.createBookmarks(),x=u.getDirection(1),r=u.getAttribute("class"),A=u.getAttribute("style"),C=z.getDirection(1)!=x;b=b.enterMode!=CKEDITOR.ENTER_BR||C||A||r;if(z.is("li"))m||w?(m&&
-w&&c.remove(),u[w?"insertAfter":"insertBefore"](z)):u.breakParent(z);else{if(b)if(q.block.is("li")?(z=p.createElement(a==CKEDITOR.ENTER_P?"p":"div"),C&&z.setAttribute("dir",x),A&&z.setAttribute("style",A),r&&z.setAttribute("class",r),u.moveChildren(z)):z=q.block,m||w)z[m?"insertBefore":"insertAfter"](c);else u.breakParent(c),z.insertAfter(c);else if(u.appendBogus(!0),m||w)for(;p=u[m?"getFirst":"getLast"]();)p[m?"insertBefore":"insertAfter"](c);else for(u.breakParent(c);p=u.getLast();)p.insertAfter(c);
-u.remove()}v.selectBookmarks(B);return}if(u&&u.getParent().is("blockquote")){u.breakParent(u.getParent());u.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||u.getPrevious().remove();u.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||u.getNext().remove();c.moveToElementEditStart(u);c.select();return}}else if(u&&u.is("pre")&&!r){l(b,a,c,m);return}if(x=c.splitBlock(v)){a=x.previousBlock;u=x.nextBlock;q=x.wasStartOfBlock;b=x.wasEndOfBlock;u?(B=u.getParent(),B.is("li")&&(u.breakParent(B),
-u.move(u.getNext(),1))):a&&(B=a.getParent())&&B.is("li")&&(a.breakParent(B),B=a.getNext(),c.moveToElementEditStart(B),a.move(a.getPrevious()));if(q||b){if(a){if(a.is("li")||!h.test(a.getName())&&!a.is("pre"))z=a.clone()}else u&&(z=u.clone());z?m&&!z.is("li")&&z.renameNode(v):B&&B.is("li")?z=B:(z=p.createElement(v),a&&(w=a.getDirection())&&z.setAttribute("dir",w));if(p=x.elementPath)for(m=0,v=p.elements.length;m<v;m++){B=p.elements[m];if(B.equals(p.block)||B.equals(p.blockLimit))break;CKEDITOR.dtd.$removeEmpty[B.getName()]&&
-(B=B.clone(),z.moveChildren(B),z.append(B))}z.appendBogus();z.getParent()||c.insertNode(z);z.is("li")&&z.removeAttribute("value");!CKEDITOR.env.ie||!q||b&&a.getChildCount()||(c.moveToElementEditStart(b?a:z),c.select());c.moveToElementEditStart(q&&!b?u:z)}else u.is("li")&&(z=c.clone(),z.selectNodeContents(u),z=new CKEDITOR.dom.walker(z),z.evaluator=function(a){return!(k(a)||e(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in CKEDITOR.dtd.$inline&&!(a.getName()in CKEDITOR.dtd.$empty))},(B=z.next())&&
-B.type==CKEDITOR.NODE_ELEMENT&&B.is("ul","ol")&&(CKEDITOR.env.needsBrFiller?p.createElement("br"):p.createText(" ")).insertBefore(B)),u&&c.moveToElementEditStart(u);c.select();c.scrollIntoView()}}},enterBr:function(d,a,c,e){if(c=c||g(d)){var f=c.document,k=c.checkEndOfBlock(),l=new CKEDITOR.dom.elementPath(d.getSelection().getStartElement()),m=l.block,u=m&&l.block.getName();e||"li"!=u?(!e&&k&&h.test(u)?(k=m.getDirection())?(f=f.createElement("div"),f.setAttribute("dir",k),f.insertAfter(m),c.setStart(f,
-0)):(f.createElement("br").insertAfter(m),CKEDITOR.env.gecko&&f.createText("").insertAfter(m),c.setStartAt(m.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(d="pre"==u&&CKEDITOR.env.ie&&8>CKEDITOR.env.version?f.createText("\r"):f.createElement("br"),c.deleteContents(),c.insertNode(d),CKEDITOR.env.needsBrFiller?(f.createText("").insertAfter(d),k&&(m||l.blockLimit).appendBogus(),d.getNext().$.nodeValue="",c.setStartAt(d.getNext(),CKEDITOR.POSITION_AFTER_START)):
-c.setStartAt(d,CKEDITOR.POSITION_AFTER_END)),c.collapse(!0),c.select(),c.scrollIntoView()):b(d,a,c,e)}}};var m=CKEDITOR.plugins.enterkey,l=m.enterBr,b=m.enterBlock,h=/^h[1-6]$/}(),function(){function c(c,f){var e={},k=[],m={nbsp:" ",shy:"",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};c=c.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(b,a){var c=f?"\x26"+a+";":m[a];e[c]=f?m[a]:"\x26"+a+";";k.push(c);return""});if(!f&&c){c=c.split(",");var l=document.createElement("div"),b;l.innerHTML=
-"\x26"+c.join(";\x26")+";";b=l.innerHTML;l=null;for(l=0;l<b.length;l++){var h=b.charAt(l);e[h]="\x26"+c[l]+";";k.push(h)}}e.regex=k.join(f?"|":"");return e}CKEDITOR.plugins.add("entities",{afterInit:function(g){function f(a){return h[a]}function e(a){return"force"!=k.entities_processNumerical&&l[a]?l[a]:"\x26#"+a.charCodeAt(0)+";"}var k=g.config;if(g=(g=g.dataProcessor)&&g.htmlFilter){var m=[];!1!==k.basicEntities&&m.push("nbsp,gt,lt,amp");k.entities&&(m.length&&m.push("quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro"),
-k.entities_latin&&m.push("Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml"),k.entities_greek&&m.push("Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv"),
-k.entities_additional&&m.push(k.entities_additional));var l=c(m.join(",")),b=l.regex?"["+l.regex+"]":"a^";delete l.regex;k.entities&&k.entities_processNumerical&&(b="[^ -~]|"+b);var b=new RegExp(b,"g"),h=c("nbsp,gt,lt,amp,shy",!0),d=new RegExp(h.regex,"g");g.addRules({text:function(a){return a.replace(d,f).replace(b,e)}},{applyToAll:!0,excludeNestedEditable:!0})}}})}(),CKEDITOR.config.basicEntities=!0,CKEDITOR.config.entities=!0,CKEDITOR.config.entities_latin=!0,CKEDITOR.config.entities_greek=!0,
-CKEDITOR.config.entities_additional="#39",CKEDITOR.plugins.add("popup"),CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(c,g,f,e){g=g||"80%";f=f||"70%";"string"==typeof g&&1<g.length&&"%"==g.substr(g.length-1,1)&&(g=parseInt(window.screen.width*parseInt(g,10)/100,10));"string"==typeof f&&1<f.length&&"%"==f.substr(f.length-1,1)&&(f=parseInt(window.screen.height*parseInt(f,10)/100,10));640>g&&(g=640);420>f&&(f=420);var k=parseInt((window.screen.height-f)/2,10),m=parseInt((window.screen.width-
-g)/2,10);e=(e||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+g+",height\x3d"+f+",top\x3d"+k+",left\x3d"+m;var l=window.open("",null,e,!0);if(!l)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(l.moveTo(m,k),l.resizeTo(g,f)),l.focus(),l.location.href=c}catch(b){window.open(c,null,e,!0)}return!0}}),function(){function c(b,d){var a=[];if(d)for(var c in d)a.push(c+
-"\x3d"+encodeURIComponent(d[c]));else return b;return b+(-1!=b.indexOf("?")?"\x26":"?")+a.join("\x26")}function g(b){b+="";return b.charAt(0).toUpperCase()+b.substr(1)}function f(){var b=this.getDialog(),d=b.getParentEditor();d._.filebrowserSe=this;var a=d.config["filebrowser"+g(b.getName())+"WindowWidth"]||d.config.filebrowserWindowWidth||"80%",b=d.config["filebrowser"+g(b.getName())+"WindowHeight"]||d.config.filebrowserWindowHeight||"70%",e=this.filebrowser.params||{};e.CKEditor=d.name;e.CKEditorFuncNum=
-d._.filebrowserFn;e.langCode||(e.langCode=d.langCode);e=c(this.filebrowser.url,e);d.popup(e,a,b,d.config.filebrowserWindowFeatures||d.config.fileBrowserWindowFeatures)}function e(){var b=this.getDialog();b.getParentEditor()._.filebrowserSe=this;return b.getContentElement(this["for"][0],this["for"][1]).getInputElement().$.value&&b.getContentElement(this["for"][0],this["for"][1]).getAction()?!0:!1}function k(b,d,a){var e=a.params||{};e.CKEditor=b.name;e.CKEditorFuncNum=b._.filebrowserFn;e.langCode||
-(e.langCode=b.langCode);d.action=c(a.url,e);d.filebrowser=a}function m(b,d,a,c){if(c&&c.length)for(var l,p=c.length;p--;)if(l=c[p],"hbox"!=l.type&&"vbox"!=l.type&&"fieldset"!=l.type||m(b,d,a,l.children),l.filebrowser)if("string"==typeof l.filebrowser&&(l.filebrowser={action:"fileButton"==l.type?"QuickUpload":"Browse",target:l.filebrowser}),"Browse"==l.filebrowser.action){var x=l.filebrowser.url;void 0===x&&(x=b.config["filebrowser"+g(d)+"BrowseUrl"],void 0===x&&(x=b.config.filebrowserBrowseUrl));
-x&&(l.onClick=f,l.filebrowser.url=x,l.hidden=!1)}else if("QuickUpload"==l.filebrowser.action&&l["for"]&&(x=l.filebrowser.url,void 0===x&&(x=b.config["filebrowser"+g(d)+"UploadUrl"],void 0===x&&(x=b.config.filebrowserUploadUrl)),x)){var r=l.onClick;l.onClick=function(a){var b=a.sender;if(r&&!1===r.call(b,a))return!1;if(e.call(b,a)){a=b.getDialog().getContentElement(this["for"][0],this["for"][1]).getInputElement();if(b=new CKEDITOR.dom.element(a.$.form))(a=b.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):
-(a=new CKEDITOR.dom.element("input"),a.setAttributes({name:"ckCsrfToken",type:"hidden"}),b.append(a)),a.setAttribute("value",CKEDITOR.tools.getCsrfToken());return!0}return!1};l.filebrowser.url=x;l.hidden=!1;k(b,a.getContents(l["for"][0]).get(l["for"][1]),l.filebrowser)}}function l(b,d,a){if(-1!==a.indexOf(";")){a=a.split(";");for(var c=0;c<a.length;c++)if(l(b,d,a[c]))return!0;return!1}return(b=b.getContents(d).get(a).filebrowser)&&b.url}function b(b,c){var a=this._.filebrowserSe.getDialog(),e=this._.filebrowserSe["for"],
-f=this._.filebrowserSe.filebrowser.onSelect;e&&a.getContentElement(e[0],e[1]).reset();if("function"!=typeof c||!1!==c.call(this._.filebrowserSe))if(!f||!1!==f.call(this._.filebrowserSe,b,c))if("string"==typeof c&&c&&alert(c),b&&(e=this._.filebrowserSe,a=e.getDialog(),e=e.filebrowser.target||null))if(e=e.split(":"),f=a.getContentElement(e[0],e[1]))f.setValue(b),a.selectPage(e[0])}CKEDITOR.plugins.add("filebrowser",{requires:"popup",init:function(c){c._.filebrowserFn=CKEDITOR.tools.addFunction(b,c);
-c.on("destroy",function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on("dialogDefinition",function(b){if(b.editor.plugins.filebrowser)for(var c=b.data.definition,a,e=0;e<c.contents.length;++e)if(a=c.contents[e])m(b.editor,b.data.name,c,a.elements),a.hidden&&a.filebrowser&&(a.hidden=!l(c,a.id,a.filebrowser))})}(),function(){function c(c){var k=c.config,m=c.fire("uiSpace",{space:"top",html:""}).html,l=function(){function a(b,c,d){h.setStyle(c,f(d));h.setStyle("position",b)}function b(c){var e=
-m.getDocumentPosition();switch(c){case "top":a("absolute","top",e.y-v-B);break;case "pin":a("fixed","top",C);break;case "bottom":a("absolute","top",e.y+(q.height||q.bottom-q.top)+B)}d=c}var d,m,r,q,u,v,z,w=k.floatSpaceDockedOffsetX||0,B=k.floatSpaceDockedOffsetY||0,A=k.floatSpacePinnedOffsetX||0,C=k.floatSpacePinnedOffsetY||0;return function(a){if(m=c.editable()){var n=a&&"focus"==a.name;n&&h.show();c.fire("floatingSpaceLayout",{show:n});h.removeStyle("left");h.removeStyle("right");r=h.getClientRect();
-q=m.getClientRect();u=g.getViewPaneSize();v=r.height;z="pageXOffset"in g.$?g.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;d?(v+B<=q.top?b("top"):v+B>u.height-q.bottom?b("pin"):b("bottom"),a=u.width/2,a=k.floatSpacePreferRight?"right":0<q.left&&q.right<u.width&&q.width>r.width?"rtl"==k.contentsLangDirection?"right":"left":a-q.left>q.right-a?"left":"right",r.width>u.width?(a="left",n=0):(n="left"==a?0<q.left?q.left:0:q.right<u.width?u.width-q.right:0,n+r.width>u.width&&(a="left"==a?
-"right":"left",n=0)),h.setStyle(a,f(("pin"==d?A:w)+n+("pin"==d?0:"left"==a?z:-z)))):(d="pin",b("pin"),l(a))}}}();if(m){var b=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(c.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(c.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':
-" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),h=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(b.output({content:m,id:c.id,langDir:c.lang.dir,langCode:c.langCode,name:c.name,style:"display:none;z-index:"+(k.baseFloatZIndex-1),topId:c.ui.spaceId("top"),voiceLabel:c.title}))),d=CKEDITOR.tools.eventsBuffer(500,l),a=CKEDITOR.tools.eventsBuffer(100,l);h.unselectable();h.on("mousedown",
-function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});c.on("focus",function(b){l(b);c.on("change",d.input);g.on("scroll",a.input);g.on("resize",a.input)});c.on("blur",function(){h.hide();c.removeListener("change",d.input);g.removeListener("scroll",a.input);g.removeListener("resize",a.input)});c.on("destroy",function(){g.removeListener("scroll",a.input);g.removeListener("resize",a.input);h.clearCustomData();h.remove()});c.focusManager.hasFocus&&h.show();c.focusManager.add(h,
-1)}}var g=CKEDITOR.document.getWindow(),f=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(e){e.on("loaded",function(){c(this)},null,null,20)}})}(),CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var c=CKEDITOR.addTemplate("panel-list",'\x3cul role\x3d"presentation" class\x3d"cke_panel_list"\x3e{items}\x3c/ul\x3e'),g=CKEDITOR.addTemplate("panel-list-item",'\x3cli id\x3d"{id}" class\x3d"cke_panel_listItem" role\x3dpresentation\x3e\x3ca id\x3d"{id}_option" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"{title}" href\x3d"javascript:void(\'{val}\')" {onclick}\x3d"CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;" role\x3d"option"\x3e{text}\x3c/a\x3e\x3c/li\x3e'),
-f=CKEDITOR.addTemplate("panel-list-group",'\x3ch1 id\x3d"{id}" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),e=/\'/g;CKEDITOR.ui.panel.prototype.addListBlock=function(c,e){return this.addBlock(c,new CKEDITOR.ui.listBlock(this.getHolderElement(),e))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(c,e){e=e||{};var f=e.attributes||(e.attributes={});(this.multiSelect=!!e.multiSelect)&&(f["aria-multiselectable"]=!0);!f.role&&
-(f.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",f.role);f=this.keys;f[40]="next";f[9]="next";f[38]="prev";f[CKEDITOR.SHIFT+9]="prev";f[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(f[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var e=c.output({items:this._.pendingList.join("")});this._.pendingList=[];this._.pendingHtml.push(e);delete this._.started}},getClick:function(){this._.click||
-(this._.click=CKEDITOR.tools.addFunction(function(c){var e=this.toggle(c);if(this.onClick)this.onClick(c,e)},this));return this._.click}},proto:{add:function(c,f,l){var b=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[c]=b;var h;h=CKEDITOR.tools.htmlEncodeAttr(c).replace(e,"\\'");c={id:b,val:h,onclick:CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(l||c),text:f||c};
-this._.pendingList.push(g.output(c))},startGroup:function(c){this._.close();var e=CKEDITOR.tools.getNextId();this._.groups[c]=e;this._.pendingHtml.push(f.output({id:e,label:c}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(""));delete this._.size;this._.pendingHtml=[]},toggle:function(c){var e=this.isMarked(c);e?this.unmark(c):this.mark(c);return!e},hideGroup:function(c){var e=(c=this.element.getDocument().getById(this._.groups[c]))&&c.getNext();c&&(c.setStyle("display",
-"none"),e&&"ul"==e.getName()&&e.setStyle("display","none"))},hideItem:function(c){this.element.getDocument().getById(this._.items[c]).setStyle("display","none")},showAll:function(){var c=this._.items,e=this._.groups,f=this.element.getDocument(),b;for(b in c)f.getById(c[b]).setStyle("display","");for(var g in e)c=f.getById(e[g]),b=c.getNext(),c.setStyle("display",""),b&&"ul"==b.getName()&&b.setStyle("display","")},mark:function(c){this.multiSelect||this.unmarkAll();c=this._.items[c];var e=this.element.getDocument().getById(c);
-e.addClass("cke_selected");this.element.getDocument().getById(c+"_option").setAttribute("aria-selected",!0);this.onMark&&this.onMark(e)},markFirstDisplayed:function(){var c=this;this._.markFirstDisplayed(function(){c.multiSelect||c.unmarkAll()})},unmark:function(c){var e=this.element.getDocument();c=this._.items[c];var f=e.getById(c);f.removeClass("cke_selected");e.getById(c+"_option").removeAttribute("aria-selected");this.onUnmark&&this.onUnmark(f)},unmarkAll:function(){var c=this._.items,e=this.element.getDocument(),
-f;for(f in c){var b=c[f];e.getById(b).removeClass("cke_selected");e.getById(b+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(c){return this.element.getDocument().getById(this._.items[c]).hasClass("cke_selected")},focus:function(c){this._.focusIndex=-1;var e=this.element.getElementsByTag("a"),f,b=-1;if(c)for(f=this.element.getDocument().getById(this._.items[c]).getFirst();c=e.getItem(++b);){if(c.equals(f)){this._.focusIndex=b;break}}else this.element.focus();
-f&&setTimeout(function(){f.focus()},0)}}})}}),CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(c){c.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}}),function(){var c='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?
-"":" href\x3d\"javascript:void('{titleJs}')\"")+' hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-haspopup\x3d"true"';CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(c+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(c+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var c=c+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event,this);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':
-"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan id\x3d"{id}_text" class\x3d"cke_combo_text cke_combo_inlinelabel"\x3e{label}\x3c/span\x3e\x3cspan class\x3d"cke_combo_open"\x3e\x3cspan class\x3d"cke_combo_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":CKEDITOR.env.air?"\x26nbsp;":"")+"\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e"),g=CKEDITOR.addTemplate("combo",c);CKEDITOR.UI_RICHCOMBO="richcombo";CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(c){CKEDITOR.tools.extend(this,
-c,{canGroup:!1,title:c.label,modes:{wysiwyg:1},editorFocus:1});c=this.panel||{};delete this.panel;this.id=CKEDITOR.tools.getNextNumber();this.document=c.parent&&c.parent.getDocument()||CKEDITOR.document;c.className="cke_combopanel";c.block={multiSelect:c.multiSelect,attributes:c.attributes};c.toolbarRelated=!0;this._={panelDefinition:c,items:{}}},proto:{renderHtml:function(c){var e=[];this.render(c,e);return e.join("")},render:function(c,e){function k(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var a=
-this.modes[c.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;c.readOnly&&!this.readOnly&&(a=CKEDITOR.TRISTATE_DISABLED);this.setState(a);this.setValue("");a!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var m=CKEDITOR.env,l="cke_"+this.id,b=CKEDITOR.tools.addFunction(function(a){t&&(c.unlockSelection(1),t=0);d.execute(a)},this),h=this,d={id:l,combo:this,focus:function(){CKEDITOR.document.getById(l).getChild(1).focus()},execute:function(a){var b=h._;if(b.state!=CKEDITOR.TRISTATE_DISABLED)if(h.createPanel(c),
-b.on)b.panel.hide();else{h.commit();var d=h.getValue();d?b.list.mark(d):b.list.unmarkAll();b.panel.showBlock(h.id,new CKEDITOR.dom.element(a),4)}},clickFn:b};c.on("activeFilterChange",k,this);c.on("mode",k,this);c.on("selectionChange",k,this);!this.readOnly&&c.on("readOnly",k,this);var a=CKEDITOR.tools.addFunction(function(a,c){a=new CKEDITOR.dom.event(a);var e=a.getKeystroke();switch(e){case 13:case 32:case 40:CKEDITOR.tools.callFunction(b,c);break;default:d.onkey(d,e)}a.preventDefault()}),n=CKEDITOR.tools.addFunction(function(){d.onfocus&&
-d.onfocus()}),t=0;d.keyDownFn=a;m={id:l,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:m.gecko&&!m.hc?"":(this.title||"").replace("'",""),keydownFn:a,focusFn:n,clickFn:b};g.output(m,e);if(this.onRender)this.onRender();return d},createPanel:function(c){if(!this._.panel){var e=this._.panelDefinition,g=this._.panelDefinition.block,m=e.parent||CKEDITOR.document.getBody(),l="cke_combopanel__"+this.name,b=new CKEDITOR.ui.floatPanel(c,m,e),e=b.addListBlock(this.id,
-g),h=this;b.onShow=function(){this.element.addClass(l);h.setState(CKEDITOR.TRISTATE_ON);h._.on=1;h.editorFocus&&!c.focusManager.hasFocus&&c.focus();if(h.onOpen)h.onOpen()};b.onHide=function(b){this.element.removeClass(l);h.setState(h.modes&&h.modes[c.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);h._.on=0;if(!b&&h.onClose)h.onClose()};b.onEscape=function(){b.hide(1)};e.onClick=function(c,a){h.onClick&&h.onClick.call(h,c,a);b.hide()};this._.panel=b;this._.list=e;b.getBlock(this.id).onHide=
-function(){h._.on=0;h.setState(CKEDITOR.TRISTATE_OFF)};this.init&&this.init()}},setValue:function(c,e){this._.value=c;var g=this.document.getById("cke_"+this.id+"_text");g&&(c||e?g.removeClass("cke_combo_inlinelabel"):(e=this.label,g.addClass("cke_combo_inlinelabel")),g.setText("undefined"!=typeof e?e:c))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(c){this._.list.mark(c)},hideItem:function(c){this._.list.hideItem(c)},hideGroup:function(c){this._.list.hideGroup(c)},
-showAll:function(){this._.list.showAll()},add:function(c,e,g){this._.items[c]=g||c;this._.list.add(c,e,g)},startGroup:function(c){this._.list.startGroup(c)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this));this._.committed=1},setState:function(c){if(this._.state!=c){var e=this.document.getById("cke_"+this.id);e.setState(c,"cke_combo");c==CKEDITOR.TRISTATE_DISABLED?e.setAttribute("aria-disabled",!0):e.removeAttribute("aria-disabled");this._.state=
-c}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&&this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&&(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))}},statics:{handler:{create:function(c){return new CKEDITOR.ui.richCombo(c)}}}});CKEDITOR.ui.prototype.addRichCombo=function(c,e){this.add(c,CKEDITOR.UI_RICHCOMBO,e)}}(),CKEDITOR.plugins.add("format",{requires:"richcombo",init:function(c){if(!c.blockless){for(var g=
-c.config,f=c.lang.format,e=g.format_tags.split(";"),k={},m=0,l=[],b=0;b<e.length;b++){var h=e[b],d=new CKEDITOR.style(g["format_"+h]);if(!c.filter.customConfig||c.filter.check(d))m++,k[h]=d,k[h]._.enterMode=c.config.enterMode,l.push(d)}0!==m&&c.ui.addRichCombo("Format",{label:f.label,title:f.panelTitle,toolbar:"styles,20",allowedContent:l,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(g.contentsCss),multiSelect:!1,attributes:{"aria-label":f.panelTitle}},init:function(){this.startGroup(f.panelTitle);
-for(var a in k){var b=f["tag_"+a];this.add(a,k[a].buildPreview(b),b)}},onClick:function(a){c.focus();c.fire("saveSnapshot");a=k[a];var b=c.elementPath();a.checkActive(b,c)||c.applyStyle(a);setTimeout(function(){c.fire("saveSnapshot")},0)},onRender:function(){c.on("selectionChange",function(a){var b=this.getValue();a=a.data.path;this.refresh();for(var d in k)if(k[d].checkActive(a,c)){d!=b&&this.setValue(d,c.lang.format["tag_"+d]);return}this.setValue("")},this)},onOpen:function(){this.showAll();for(var a in k)c.activeFilter.check(k[a])||
-this.hideItem(a)},refresh:function(){var a=c.elementPath();if(a){if(a.isContextFor("p"))for(var b in k)if(c.activeFilter.check(k[b]))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}}),CKEDITOR.config.format_tags="p;h1;h2;h3;h4;h5;h6;pre;address;div",CKEDITOR.config.format_p={element:"p"},CKEDITOR.config.format_div={element:"div"},CKEDITOR.config.format_pre={element:"pre"},CKEDITOR.config.format_address={element:"address"},CKEDITOR.config.format_h1={element:"h1"},CKEDITOR.config.format_h2={element:"h2"},
-CKEDITOR.config.format_h3={element:"h3"},CKEDITOR.config.format_h4={element:"h4"},CKEDITOR.config.format_h5={element:"h5"},CKEDITOR.config.format_h6={element:"h6"},function(){var c={canUndo:!1,exec:function(c){var f=c.document.createElement("hr");c.insertElement(f)},allowedContent:"hr",requiredContent:"hr"};CKEDITOR.plugins.add("horizontalrule",{init:function(g){g.blockless||(g.addCommand("horizontalrule",c),g.ui.addButton&&g.ui.addButton("HorizontalRule",{label:g.lang.horizontalrule.toolbar,command:"horizontalrule",
-toolbar:"insert,40"}))}})}(),CKEDITOR.plugins.add("htmlwriter",{init:function(c){var g=new CKEDITOR.htmlWriter;g.forceSimpleAmpersand=c.config.forceSimpleAmpersand;g.indentationChars=c.config.dataIndentationChars||"\t";c.dataProcessor.writer=g}}),CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){this.base();this.indentationChars="\t";this.selfClosingEnd=" /\x3e";this.lineBreakChars="\n";this.sortAttributes=1;this._.indent=0;this._.indentation="";this._.inPre=
-0;this._.rules={};var c=CKEDITOR.dtd,g;for(g in CKEDITOR.tools.extend({},c.$nonBodyContent,c.$block,c.$listItem,c.$tableContent))this.setRules(g,{indent:!c[g]["#"],breakBeforeOpen:1,breakBeforeClose:!c[g]["#"],breakAfterClose:1,needsSpace:g in c.$block&&!(g in{li:1,dt:1,dd:1})});this.setRules("br",{breakAfterOpen:1});this.setRules("title",{indent:0,breakAfterOpen:0});this.setRules("style",{indent:0,breakBeforeClose:1});this.setRules("pre",{breakAfterOpen:1,indent:0})},proto:{openTag:function(c){var g=
-this._.rules[c];this._.afterCloser&&g&&g.needsSpace&&this._.needsSpace&&this._.output.push("\n");this._.indent?this.indentation():g&&g.breakBeforeOpen&&(this.lineBreak(),this.indentation());this._.output.push("\x3c",c);this._.afterCloser=0},openTagClose:function(c,g){var f=this._.rules[c];g?(this._.output.push(this.selfClosingEnd),f&&f.breakAfterClose&&(this._.needsSpace=f.needsSpace)):(this._.output.push("\x3e"),f&&f.indent&&(this._.indentation+=this.indentationChars));f&&f.breakAfterOpen&&this.lineBreak();
-"pre"==c&&(this._.inPre=1)},attribute:function(c,g){"string"==typeof g&&(this.forceSimpleAmpersand&&(g=g.replace(/&/g,"\x26")),g=CKEDITOR.tools.htmlEncodeAttr(g));this._.output.push(" ",c,'\x3d"',g,'"')},closeTag:function(c){var g=this._.rules[c];g&&g.indent&&(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():g&&g.breakBeforeClose&&(this.lineBreak(),this.indentation());this._.output.push("\x3c/",c,"\x3e");"pre"==c&&(this._.inPre=0);g&&
-g.breakAfterClose&&(this.lineBreak(),this._.needsSpace=g.needsSpace);this._.afterCloser=1},text:function(c){this._.indent&&(this.indentation(),!this._.inPre&&(c=CKEDITOR.tools.ltrim(c)));this._.output.push(c)},comment:function(c){this._.indent&&this.indentation();this._.output.push("\x3c!--",c,"--\x3e")},lineBreak:function(){!this._.inPre&&0<this._.output.length&&this._.output.push(this.lineBreakChars);this._.indent=1},indentation:function(){!this._.inPre&&this._.indentation&&this._.output.push(this._.indentation);
-this._.indent=0},reset:function(){this._.output=[];this._.indent=0;this._.indentation="";this._.afterCloser=0;this._.inPre=0;this._.needsSpace=0},setRules:function(c,g){var f=this._.rules[c];f?CKEDITOR.tools.extend(f,g,!0):this._.rules[c]=g}}}),"use strict",function(){function c(b,c){CKEDITOR.tools.extend(this,{editor:b,editable:b.editable(),doc:b.document,win:b.window},c,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?"editable":
-"doc"]}function g(b,c){CKEDITOR.tools.extend(this,c,{editor:b},!0)}function f(b,c){var a=b.editable();CKEDITOR.tools.extend(this,{editor:b,editable:a,inline:a.isInline(),doc:b.document,win:b.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},c,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var e=CKEDITOR.tools.bind(this.queryViewport,this),f=CKEDITOR.tools.bind(this.hideVisible,this),g=CKEDITOR.tools.bind(this.removeAll,
-this);a.attachListener(this.winTop,"resize",e);a.attachListener(this.winTop,"scroll",e);a.attachListener(this.winTop,"resize",f);a.attachListener(this.win,"scroll",f);a.attachListener(this.inline?a:this.frame,"mouseout",function(a){var b=a.data.$.clientX;a=a.data.$.clientY;this.queryViewport();(b<=this.rect.left||b>=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=b||b>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);a.attachListener(b,
-"resize",e);a.attachListener(b,"mode",g);b.on("destroy",g);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},m,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},k,{left:"0px","border-left-color":"red",
-"border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},k,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function e(c){var d;if(d=c&&c.type==CKEDITOR.NODE_ELEMENT)d=!(l[c.getComputedStyle("float")]||l[c.getAttribute("align")]);return d&&!b[c.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;
-CKEDITOR.LINEUTILS_INSIDE=4;c.prototype={start:function(b){var c=this,a=this.editor,e=this.doc,f,g,k,l,m=CKEDITOR.tools.eventsBuffer(50,function(){a.readOnly||"wysiwyg"!=a.mode||(c.relations={},(g=e.$.elementFromPoint(k,l))&&g.nodeType&&(f=new CKEDITOR.dom.element(g),c.traverseSearch(f),isNaN(k+l)||c.pixelSearch(f,k,l),b&&b(c.relations,k,l)))});this.listener=this.editable.attachListener(this.target,"mousemove",function(a){k=a.data.$.clientX;l=a.data.$.clientY;m.input()});this.editable.attachListener(this.inline?
-this.editable:this.frame,"mouseout",function(){m.reset()})},stop:function(){this.listener&&this.listener.removeListener()},getRange:function(){var b={};b[CKEDITOR.LINEUTILS_BEFORE]=CKEDITOR.POSITION_BEFORE_START;b[CKEDITOR.LINEUTILS_AFTER]=CKEDITOR.POSITION_AFTER_END;b[CKEDITOR.LINEUTILS_INSIDE]=CKEDITOR.POSITION_AFTER_START;return function(c){var a=this.editor.createRange();a.moveToPosition(this.relations[c.uid].element,b[c.type]);return a}}(),store:function(){function b(c,a,e){var f=c.getUniqueId();
-f in e?e[f].type|=a:e[f]={element:c,type:a}}return function(c,a){var f;a&CKEDITOR.LINEUTILS_AFTER&&e(f=c.getNext())&&f.isVisible()&&(b(f,CKEDITOR.LINEUTILS_BEFORE,this.relations),a^=CKEDITOR.LINEUTILS_AFTER);a&CKEDITOR.LINEUTILS_INSIDE&&e(f=c.getFirst())&&f.isVisible()&&(b(f,CKEDITOR.LINEUTILS_BEFORE,this.relations),a^=CKEDITOR.LINEUTILS_INSIDE);b(c,a,this.relations)}}(),traverseSearch:function(b){var c,a,f;do if(f=b.$["data-cke-expando"],!(f&&f in this.relations)){if(b.equals(this.editable))break;
-if(e(b))for(c in this.lookups)(a=this.lookups[c](b))&&this.store(b,a)}while((!b||b.type!=CKEDITOR.NODE_ELEMENT||"true"!=b.getAttribute("contenteditable"))&&(b=b.getParent()))},pixelSearch:function(){function b(a,f,g,h,k){for(var l=0,m;k(g);){g+=h;if(25==++l)break;if(m=this.doc.$.elementFromPoint(f,g))if(m==a)l=0;else if(c(a,m)&&(l=0,e(m=new CKEDITOR.dom.element(m))))return m}}var c=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,b){return a.contains(b)}:function(a,b){return!!(a.compareDocumentPosition(b)&
-16)};return function(a,c,d){var f=this.win.getViewPaneSize().height,g=b.call(this,a.$,c,d,-1,function(a){return 0<a});c=b.call(this,a.$,c,d,1,function(a){return a<f});if(g)for(this.traverseSearch(g);!g.getParent().equals(a);)g=g.getParent();if(c)for(this.traverseSearch(c);!c.getParent().equals(a);)c=c.getParent();for(;g||c;){g&&(g=g.getNext(e));if(!g||g.equals(c))break;this.traverseSearch(g);c&&(c=c.getPrevious(e));if(!c||c.equals(g))break;this.traverseSearch(c)}}}(),greedySearch:function(){this.relations=
-{};for(var b=this.editable.getElementsByTag("*"),c=0,a,f,g;a=b.getItem(c++);)if(!a.equals(this.editable)&&a.type==CKEDITOR.NODE_ELEMENT&&(a.hasAttribute("contenteditable")||!a.isReadOnly())&&e(a)&&a.isVisible())for(g in this.lookups)(f=this.lookups[g](a))&&this.store(a,f);return this.relations}};g.prototype={locate:function(){function b(c,a){var f=c.element[a===CKEDITOR.LINEUTILS_BEFORE?"getPrevious":"getNext"]();return f&&e(f)?(c.siblingRect=f.getClientRect(),a==CKEDITOR.LINEUTILS_BEFORE?(c.siblingRect.bottom+
-c.elementRect.top)/2:(c.elementRect.bottom+c.siblingRect.top)/2):a==CKEDITOR.LINEUTILS_BEFORE?c.elementRect.top:c.elementRect.bottom}return function(c){var a;this.locations={};for(var e in c)a=c[e],a.elementRect=a.element.getClientRect(),a.type&CKEDITOR.LINEUTILS_BEFORE&&this.store(e,CKEDITOR.LINEUTILS_BEFORE,b(a,CKEDITOR.LINEUTILS_BEFORE)),a.type&CKEDITOR.LINEUTILS_AFTER&&this.store(e,CKEDITOR.LINEUTILS_AFTER,b(a,CKEDITOR.LINEUTILS_AFTER)),a.type&CKEDITOR.LINEUTILS_INSIDE&&this.store(e,CKEDITOR.LINEUTILS_INSIDE,
-(a.elementRect.top+a.elementRect.bottom)/2);return this.locations}}(),sort:function(){var b,c,a,e;return function(f,g){b=this.locations;c=[];for(var k in b)for(var l in b[k])if(a=Math.abs(f-b[k][l]),c.length){for(e=0;e<c.length;e++)if(a<c[e].dist){c.splice(e,0,{uid:+k,type:l,dist:a});break}e==c.length&&c.push({uid:+k,type:l,dist:a})}else c.push({uid:+k,type:l,dist:a});return"undefined"!=typeof g?c.slice(0,g):c}}(),store:function(b,c,a){this.locations[b]||(this.locations[b]={});this.locations[b][c]=
-a}};var k={display:"block",width:"0px",height:"0px","border-color":"transparent","border-style":"solid",position:"absolute",top:"-6px"},m={height:"0px","border-top":"1px dashed red",position:"absolute","z-index":9999};f.prototype={removeAll:function(){for(var b in this.hidden)this.hidden[b].remove(),delete this.hidden[b];for(b in this.visible)this.visible[b].remove(),delete this.visible[b]},hideLine:function(b){var c=b.getUniqueId();b.hide();this.hidden[c]=b;delete this.visible[c]},showLine:function(b){var c=
-b.getUniqueId();b.show();this.visible[c]=b;delete this.hidden[c]},hideVisible:function(){for(var b in this.visible)this.hideLine(this.visible[b])},placeLine:function(b,c){var a,e,f;if(a=this.getStyle(b.uid,b.type)){for(f in this.visible)if(this.visible[f].getCustomData("hash")!==this.hash){e=this.visible[f];break}if(!e)for(f in this.hidden)if(this.hidden[f].getCustomData("hash")!==this.hash){this.showLine(e=this.hidden[f]);break}e||this.showLine(e=this.addLine());e.setCustomData("hash",this.hash);
-this.visible[e.getUniqueId()]=e;e.setStyles(a);c&&c(e)}},getStyle:function(b,c){var a=this.relations[b],e=this.locations[b][c],f={};f.width=a.siblingRect?Math.max(a.siblingRect.width,a.elementRect.width):a.elementRect.width;f.top=this.inline?e+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+e;if(f.top-this.winTopScroll.y<this.rect.top||f.top-this.winTopScroll.y>this.rect.bottom)return!1;this.inline?f.left=a.elementRect.left-this.rect.relativeX:(0<a.elementRect.left?f.left=
-this.rect.left+a.elementRect.left:(f.width+=a.elementRect.left,f.left=this.rect.left),0<(a=f.left+f.width-(this.rect.left+this.winPane.width))&&(f.width-=a));f.left+=this.winTopScroll.x;for(var g in f)f[g]=CKEDITOR.tools.cssLength(f[g]);return f},addLine:function(){var b=CKEDITOR.dom.element.createFromHtml(this.lineTpl);b.appendTo(this.container);return b},prepare:function(b,c){this.relations=b;this.locations=c;this.hash=Math.random()},cleanup:function(){var b,c;for(c in this.visible)b=this.visible[c],
-b.getCustomData("hash")!==this.hash&&this.hideLine(b)},queryViewport:function(){this.winPane=this.win.getViewPaneSize();this.winTopScroll=this.winTop.getScrollPosition();this.winTopPane=this.winTop.getViewPaneSize();this.rect=this.getClientRect(this.inline?this.editable:this.frame)},getClientRect:function(b){b=b.getClientRect();var c=this.container.getDocumentPosition(),a=this.container.getComputedStyle("position");b.relativeX=b.relativeY=0;"static"!=a&&(b.relativeY=c.y,b.relativeX=c.x,b.top-=b.relativeY,
-b.bottom-=b.relativeY,b.left-=b.relativeX,b.right-=b.relativeX);return b}};var l={left:1,right:1,center:1},b={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:c,locator:g,liner:f}}(),function(){function c(c){return c.getName&&!c.hasAttribute("data-cke-temp")}CKEDITOR.plugins.add("widgetselection",{init:function(c){if(CKEDITOR.env.webkit){var f=CKEDITOR.plugins.widgetselection;c.on("contentDom",function(c){c=c.editor;var g=c.document,m=c.editable();m.attachListener(g,"keydown",function(c){var b=
-c.data.$;65==c.data.getKey()&&(CKEDITOR.env.mac&&b.metaKey||!CKEDITOR.env.mac&&b.ctrlKey)&&CKEDITOR.tools.setTimeout(function(){f.addFillers(m)||f.removeFillers(m)},0)},null,null,-1);c.on("selectionCheck",function(c){f.removeFillers(c.editor.editable())});c.on("paste",function(c){c.data.dataValue=f.cleanPasteData(c.data.dataValue)});"selectall"in c.plugins&&f.addSelectAllIntegration(c)})}}});CKEDITOR.plugins.widgetselection={startFiller:null,endFiller:null,fillerAttribute:"data-cke-filler-webkit",
-fillerContent:"\x26nbsp;",fillerTagName:"div",addFillers:function(g){var f=g.editor;if(!this.isWholeContentSelected(g)&&0<g.getChildCount()){var e=g.getFirst(c),k=g.getLast(c);e&&e.type==CKEDITOR.NODE_ELEMENT&&!e.isEditable()&&(this.startFiller=this.createFiller(),g.append(this.startFiller,1));k&&k.type==CKEDITOR.NODE_ELEMENT&&!k.isEditable()&&(this.endFiller=this.createFiller(!0),g.append(this.endFiller,0));if(this.hasFiller(g))return f=f.createRange(),f.selectNodeContents(g),f.select(),!0}return!1},
-removeFillers:function(c){if(this.hasFiller(c)&&!this.isWholeContentSelected(c)){var f=c.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dstart]"),e=c.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dend]");this.startFiller&&f&&this.startFiller.equals(f)?this.removeFiller(this.startFiller,c):this.startFiller=f;this.endFiller&&e&&this.endFiller.equals(e)?this.removeFiller(this.endFiller,c):this.endFiller=e}},cleanPasteData:function(c){c&&c.length&&(c=c.replace(this.createFillerRegex(),
-"").replace(this.createFillerRegex(!0),""));return c},isWholeContentSelected:function(c){var f=c.editor.getSelection().getRanges()[0];return!f||f&&f.collapsed?!1:(f=f.clone(),f.enlarge(CKEDITOR.ENLARGE_ELEMENT),!!(f&&c&&f.startContainer&&f.endContainer&&0===f.startOffset&&f.endOffset===c.getChildCount()&&f.startContainer.equals(c)&&f.endContainer.equals(c)))},hasFiller:function(c){return 0<c.find(this.fillerTagName+"["+this.fillerAttribute+"]").count()},createFiller:function(c){var f=new CKEDITOR.dom.element(this.fillerTagName);
-f.setHtml(this.fillerContent);f.setAttribute(this.fillerAttribute,c?"end":"start");f.setAttribute("data-cke-temp",1);f.setStyles({display:"block",width:0,height:0,padding:0,border:0,margin:0,position:"absolute",top:0,left:"-9999px",opacity:0,overflow:"hidden"});return f},removeFiller:function(c,f){if(c){var e=f.editor,k=f.editor.getSelection().getRanges()[0].startPath(),m=e.createRange(),l,b;k.contains(c)&&(l=c.getHtml(),b=!0);k="start"==c.getAttribute(this.fillerAttribute);c.remove();l&&0<l.length&&
-l!=this.fillerContent?(f.insertHtmlIntoRange(l,e.getSelection().getRanges()[0]),m.setStartAt(f.getChild(f.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),e.getSelection().selectRanges([m])):b&&(k?m.setStartAt(f.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):m.setEndAt(f.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),f.editor.getSelection().selectRanges([m]))}},createFillerRegex:function(c){var f=this.createFiller(c).getOuterHtml().replace(/style="[^"]*"/gi,'style\x3d"[^"]*"').replace(/>[^<]*</gi,
-"\x3e[^\x3c]*\x3c");return new RegExp((c?"":"^")+f+(c?"$":""))},addSelectAllIntegration:function(c){var f=this;c.editable().attachListener(c,"beforeCommandExec",function(e){var k=c.editable();"selectAll"==e.data.name&&k&&f.addFillers(k)},null,null,9999)}}}(),"use strict",function(){function c(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};F(this);y(this);this.on("checkWidgets",
-l);this.editor.on("contentDomInvalidated",this.checkWidgets,this);C(this);w(this);B(this);z(this);A(this)}function g(a,b,c,d,e){var f=a.editor;CKEDITOR.tools.extend(this,d,{editor:f,id:b,inline:"span"==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},"function"==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:g.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&&"string"==typeof d.downcast?
-d.downcasts[d.downcast]:d.downcast}},!0);a.fire("instanceCreated",this);aa(this,d);this.init&&this.init();this.inited=!0;(a=this.element.data("cke-widget-data"))&&this.setData(JSON.parse(decodeURIComponent(a)));e&&this.setData(e);this.data.classes||this.setData("classes",this.getClasses());this.dataReady=!0;R(this);this.fire("data",this.data);this.isInited()&&f.editable().contains(this.wrapper)&&(this.ready=!0,this.fire("ready"))}function f(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a;
-this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function e(a,b){a.addCommand(b.name,{exec:function(a,c){function d(){a.widgets.finalizeCreation(h)}var e=a.widgets.focused;if(e&&e.name==b.name)e.edit();else if(b.insert)b.insert();else if(b.template){var e="function"==typeof b.defaults?
-b.defaults():b.defaults,e=CKEDITOR.dom.element.createFromHtml(b.template.output(e)),f,g=a.widgets.wrapElement(e,b.name),h=new CKEDITOR.dom.documentFragment(g.getDocument());h.append(g);(f=a.widgets.initOn(e,b,c&&c.startupData))?(e=f.once("edit",function(b){if(b.data.dialog)f.once("dialog",function(b){b=b.data;var c,e;c=b.once("ok",d,null,null,20);e=b.once("cancel",function(b){b.data&&!1===b.data.hide||a.widgets.destroy(f,!0)});b.once("hide",function(){c.removeListener();e.removeListener()})});else d()},
-null,null,999),f.edit(),e.removeListener()):d()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function k(a,b){function c(a,d){var e=b.upcast.split(","),f,g;for(g=0;g<e.length;g++)if(f=e[g],f===a.name)return b.upcasts[f].call(this,a,d);return!1}function d(b,c,e){var f=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]>e});0>f&&(f=a._.upcasts.length);a._.upcasts.splice(f,0,[CKEDITOR.tools.bind(b,
-c),c.name,e])}var e=b.upcast,f=b.upcastPriority||10;e&&("string"==typeof e?d(c,b,f):d(e,b,f))}function m(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire("widgetBlurred",{widget:b});b.setFocused(!1);!c&&b.editor.resetDirty()}}function l(a){a=a.data;if("wysiwyg"==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,h;if(b){for(d in c)c[d].isReady()&&!b.contains(c[d].wrapper)&&this.destroy(c[d],!0);if(a&&a.initOnlyNew)c=this.initOnAll();else{var k=b.find(".cke_widget_wrapper"),
-c=[];d=0;for(e=k.count();d<e;d++){f=k.getItem(d);if(h=!this.getByElement(f,!0)){a:{h=r;for(var l=f;l=l.getParent();)if(h(l)){h=!0;break a}h=!1}h=!h}h&&b.contains(f)&&(f.addClass("cke_widget_new"),c.push(this.initOn(f.getFirst(g.isDomWidgetElement))))}}a&&a.focusInited&&1==c.length&&c[0].focus()}}}function b(a){if("undefined"!=typeof a.attributes&&a.attributes["data-widget"]){var b=h(a),c=d(a),e=!1;b&&b.value&&b.value.match(/^\s/g)&&(b.parent.attributes["data-cke-white-space-first"]=1,b.value=b.value.replace(/^\s/g,
-"\x26nbsp;"),e=!0);c&&c.value&&c.value.match(/\s$/g)&&(c.parent.attributes["data-cke-white-space-last"]=1,c.value=c.value.replace(/\s$/g,"\x26nbsp;"),e=!0);e&&(a.attributes["data-cke-widget-white-space"]=1)}}function h(a){return a.find(function(a){return 3===a.type},!0).shift()}function d(a){return a.find(function(a){return 3===a.type},!0).pop()}function a(a,b,c){if(!c.allowedContent&&!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d={});a=d[b];a||(a=c.allowedContent?
-new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&&a.disallow(c.disallowedContent));return a}function n(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var e,f,h,k,l;if("data-cke-widget-wrapper"in a.attributes)return(a=a.getFirst(g.isParserWidgetElement))&&b.push([a]),!1;if("data-widget"in a.attributes)return b.push([a]),!1;if(l=c.length){if(a.attributes["data-cke-widget-upcasted"])return!1;k=0;for(e=d.length;k<e;++k)if(!1===
-d[k](a))return;for(k=0;k<l;++k)if(e=c[k],h={},f=e[0](a,h))return f instanceof CKEDITOR.htmlParser.element&&(a=f),a.attributes["data-cke-widget-data"]=encodeURIComponent(JSON.stringify(h)),a.attributes["data-cke-widget-upcasted"]=1,b.push([a,e[1]]),!1}}}}function t(a,b){return{tabindex:-1,contenteditable:"false","data-cke-widget-wrapper":1,"data-cke-filter":"off","class":"cke_widget_wrapper cke_widget_new cke_widget_"+(a?"inline":"block")+(b?" cke_widget_"+b:"")}}function p(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=
-CKEDITOR.dtd[a.name];if(d&&!d[c.name]){var d=a.split(b),e=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||d.remove();return p(e,b,c)}}a.add(c,b)}function x(a,b){return"boolean"==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function r(a){return a.hasAttribute("data-cke-temp")}function q(a,b,c,d){var e=a.editor;e.fire("lockSnapshot");c?(d=c.data("cke-widget-editable"),d=b.editables[d],a.widgetHoldingFocusedEditable=b,b.focusedEditable=d,c.addClass("cke_widget_editable_focused"),
-d.filter&&e.setActiveFilter(d.filter),e.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass("cke_widget_editable_focused"),b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,e.setActiveFilter(null),e.setActiveEnterMode(null,null));e.fire("unlockSnapshot")}function u(a){a.contextMenu&&a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire("contextMenu",{})})}function v(a,b){return CKEDITOR.tools.trim(b)}function z(a){var b=a.editor,
-c=CKEDITOR.plugins.lineutils;b.on("dragstart",function(c){var d=c.data.target;g.isDomDragHandler(d)&&(d=a.getByElement(d),c.data.dataTransfer.setData("cke/widget-id",d.id),b.focus(),d.focus())});b.on("drop",function(c){var d=c.data.dataTransfer,e=d.getData("cke/widget-id"),f=d.getTransferType(b),d=b.createRange();""!==e&&f===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c.cancel():""!==e&&f==CKEDITOR.DATA_TRANSFER_INTERNAL&&(e=a.instances[e])&&(d.setStartBefore(e.wrapper),d.setEndAfter(e.wrapper),c.data.dragRange=
-d,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData("text/html",b.editable().getHtmlFromRange(d).getHtml()),b.widgets.destroy(e,!0))});b.on("contentDom",function(){var d=b.editable();CKEDITOR.tools.extend(a,{finder:new c.finder(b,{lookups:{"default":function(b){if(!b.is(CKEDITOR.dtd.$listItem)&&b.is(CKEDITOR.dtd.$block)&&!g.isDomNestedEditable(b)&&!a._.draggedWidget.wrapper.contains(b)){var c=g.getNestedEditable(d,
-b);if(c){b=a._.draggedWidget;if(a.getByElement(c)==b)return;c=CKEDITOR.filter.instances[c.data("cke-filter")];b=b.requiredContent;if(c&&b&&!c.check(b))return}return CKEDITOR.LINEUTILS_BEFORE|CKEDITOR.LINEUTILS_AFTER}}}}),locator:new c.locator(b),liner:new c.liner(b,{lineStyle:{cursor:"move !important","border-top-color":"#666"},tipLeftStyle:{"border-left-color":"#666"},tipRightStyle:{"border-right-color":"#666"}})},!0)})}function w(a){var b=a.editor;b.on("contentDom",function(){var c=b.editable(),
-d=c.isInline()?c:b.document,e,f;c.attachListener(d,"mousedown",function(c){var d=c.data.getTarget();e=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;f=0;e&&(e.inline&&d.type==CKEDITOR.NODE_ELEMENT&&d.hasAttribute("data-cke-widget-drag-handler")?(f=1,a.focused!=e&&b.getSelection().removeAllRanges()):g.getNestedEditable(e.wrapper,d)?e=null:(c.data.preventDefault(),CKEDITOR.env.ie||e.focus()))});c.attachListener(d,"mouseup",function(){f&&e&&e.wrapper&&(f=0,e.focus())});CKEDITOR.env.ie&&c.attachListener(d,
-"mouseup",function(){setTimeout(function(){e&&e.wrapper&&c.contains(e.wrapper)&&(e.focus(),e=null)})})});b.on("doubleclick",function(b){var c=a.getByElement(b.data.element);if(c&&!g.getNestedEditable(c.wrapper,b.data.element))return c.fire("doubleclick",{element:b.data.element})},null,null,1)}function B(a){a.editor.on("key",function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,e;c?e=c.fire("key",{keyCode:b.data.keyCode}):d&&(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),
-d=d.editor.createRange(),d.selectNodeContents(b),c&&d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),e=!1):8==c||46==c?(e=d.editor.getSelection().getRanges(),d=e[0],e=!(1==e.length&&d.collapsed&&d.checkBoundaryOfElement(b,CKEDITOR[8==c?"START":"END"]))):e=void 0);return e},null,null,1)}function A(a){function b(c){a.focused&&H(a.focused,"cut"==c.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable();a.attachListener(a,"copy",b);a.attachListener(a,"cut",b)})}function C(a){var b=
-a.editor;b.on("selectionCheck",function(){a.fire("checkSelection")});a.on("checkSelection",a.checkSelection,a);b.on("selectionChange",function(c){var d=(c=g.getNestedEditable(b.editable(),c.data.selection.getStartElement()))&&a.getByElement(c),e=a.widgetHoldingFocusedEditable;e?e===d&&e.focusedEditable.equals(c)||(q(a,e,null),d&&c&&q(a,d,c)):d&&c&&q(a,d,c)});b.on("dataReady",function(){E(a).commit()});b.on("blur",function(){var b;(b=a.focused)&&m(a,b);(b=a.widgetHoldingFocusedEditable)&&q(a,b,null)})}
-function y(a){var b=a.editor,c={};b.on("toDataFormat",function(b){var e=CKEDITOR.tools.getNextNumber(),f=[];b.data.downcastingSessionId=e;c[e]=f;b.data.dataValue.forEach(function(b){var c=b.attributes,e;if("data-cke-widget-white-space"in c){e=h(b);var k=d(b);e.parent.attributes["data-cke-white-space-first"]&&(e.value=e.value.replace(/^ /g," "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in c){if(c=a.instances[c["data-cke-widget-id"]])e=
-b.getFirst(g.isParserWidgetElement),f.push({wrapper:b,element:e,widget:c,editables:{}}),"1"!=e.attributes["data-cke-widget-keep-attr"]&&delete e.attributes["data-widget"]}else if("data-cke-widget-editable"in c)return f[f.length-1].editables[c["data-cke-widget-editable"]]=b,!1},CKEDITOR.NODE_ELEMENT,!0)},null,null,8);b.on("toDataFormat",function(a){if(a.data.downcastingSessionId){a=c[a.data.downcastingSessionId];for(var b,d,e,f,g,h;b=a.shift();){d=b.widget;e=b.element;f=d._.downcastFn&&d._.downcastFn.call(d,
-e);for(h in b.editables)g=b.editables[h],delete g.attributes.contenteditable,g.setHtml(d.editables[h].getData());f||(f=e);b.wrapper.replaceWith(f)}}},null,null,13);b.on("contentDomUnload",function(){a.destroyAll(!0)})}function F(a){var b=a.editor,c,d;b.on("toHtml",function(b){var d=n(a),e;for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);e=d.toBeWrapped.pop();){var f=e[0],h=f.parent;h.type==CKEDITOR.NODE_ELEMENT&&h.attributes["data-cke-widget-wrapper"]&&h.replaceWith(f);a.wrapElement(e[0],
-e[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&&g.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&&g.isParserWidgetWrapper(b.data.dataValue.children[0])},null,null,8);b.on("dataReady",function(){if(d)for(var c=b.editable().find(".cke_widget_wrapper"),e,f,h=0,k=c.count();h<k;++h)e=c.getItem(h),f=e.getFirst(g.isDomWidgetElement),f.type==CKEDITOR.NODE_ELEMENT&&f.data("widget")?(f.replace(e),a.wrapElement(f)):e.remove();d=0;a.destroyAll(!0);
-a.initOnAll()});b.on("loadSnapshot",function(b){/data-cke-widget/.test(b.data)&&(d=1);a.destroyAll(!0)},null,null,9);b.on("paste",function(a){a=a.data;a.dataValue=a.dataValue.replace(V,v);a.range&&(a=g.getNestedEditable(b.editable(),a.range.startContainer))&&(a=CKEDITOR.filter.instances[a.data("cke-filter")])&&b.setActiveFilter(a)});b.on("afterInsertHtml",function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}):(b.fire("lockSnapshot"),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire("unlockSnapshot"))})}
-function E(a){var b=a.selected,c=[],d=b.slice(0),e=null;return{select:function(a){0>CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){e=a;return this},commit:function(){var f=a.focused!==e,g,h;a.editor.fire("lockSnapshot");for(f&&(g=a.focused)&&m(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(),g.setSelected(!1),!h&&g.editor.resetDirty());f&&e&&(h=a.editor.checkDirty(),a.focused=e,a.fire("widgetFocused",
-{widget:e}),e.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function G(a,b,c){var d=0;b=L(b);var e=a.data.classes||{},f;if(b){for(e=CKEDITOR.tools.clone(e);f=b.pop();)c?e[f]||(d=e[f]=1):e[f]&&(delete e[f],d=1);d&&a.setData("classes",e)}}function I(a){a.cancel()}function H(a,b){var c=a.editor,d=c.document,e=CKEDITOR.env.edge&&16<=CKEDITOR.env.version;if(!d.getById("cke_copybin")){var f=!c.blockless&&!CKEDITOR.env.ie||e?"div":
-"span",e=d.createElement(f),g=d.createElement(f),f=CKEDITOR.env.ie&&9>CKEDITOR.env.version;g.setAttributes({id:"cke_copybin","data-cke-temp":"1"});e.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"});e.setStyle("ltr"==c.config.contentsLangDirection?"left":"right","-5000px");var h=c.createRange();h.setStartBefore(a.wrapper);h.setEndAfter(a.wrapper);e.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e\x3c/span\x3e'+c.editable().getHtmlFromRange(h).getHtml()+'\x3cspan data-cke-copybin-end\x3d"1"\x3e\x3c/span\x3e');
-c.fire("saveSnapshot");c.fire("lockSnapshot");g.append(e);c.editable().append(g);var k=c.on("selectionChange",I,null,null,0),l=a.repository.on("checkSelection",I,null,null,0);if(f)var m=d.getDocumentElement().$,n=m.scrollTop;h=c.createRange();h.selectNodeContents(e);h.select();f&&(m.scrollTop=n);setTimeout(function(){b||a.focus();g.remove();k.removeListener();l.removeListener();c.fire("unlockSnapshot");b&&(a.repository.del(a),c.fire("saveSnapshot"))},100)}}function L(a){return(a=(a=a.getDefinition().attributes)&&
-a["class"])?a.split(/\s+/):null}function K(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&b.focusManager.focus(c)}function D(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(),this.editor.selectionChange(1))}function S(a){var b=null;a.on("data",function(){var a=this.data.classes,c;if(b!=a){for(c in b)a&&a[c]||this.removeClass(c);for(c in a)this.addClass(c);
-b=a}})}function N(a){a.on("data",function(){if(a.wrapper){var b=this.getLabel?this.getLabel():this.editor.lang.widget.label.replace(/%1/,this.pathName||this.element.getName());a.wrapper.setAttribute("role","region");a.wrapper.setAttribute("aria-label",b)}},null,null,9999)}function P(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(g.isDomDragHandlerContainer),d;c?d=c.findOne("img"):(c=new CKEDITOR.dom.element("span",b.document),c.setAttributes({"class":"cke_reset cke_widget_drag_handler_container",
-style:"background:rgba(220,220,220,0.5);background-image:url("+b.plugins.widget.path+"images/handle.png)"}),d=new CKEDITOR.dom.element("img",b.document),d.setAttributes({"class":"cke_reset cke_widget_drag_handler","data-cke-widget-drag-handler":"1",src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:"presentation"}),a.inline&&d.setAttribute("draggable","true"),c.append(d),a.wrapper.append(c));a.wrapper.on("dragover",function(a){a.data.preventDefault()});a.wrapper.on("mouseenter",
-a.updateDragHandlerPosition,a);setTimeout(function(){a.on("data",a.updateDragHandlerPosition,a)},50);if(!a.inline&&(d.on("mousedown",J,a),CKEDITOR.env.ie&&9>CKEDITOR.env.version))d.on("dragstart",function(a){a.data.preventDefault(!0)});a.dragHandlerContainer=c}}function J(a){function b(){var c;for(q.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var e=this.repository.finder,f=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(f.visible)||(d=e.getRange(d[0]),
-this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");f.hideVisible();g.fire("dragend",{target:c})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=this.repository.finder,d=this.repository.locator,e=this.repository.liner,f=this.editor,g=f.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var n=c.greedySearch(),q=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(n);k=d.sort(m,1);k.length&&(e.prepare(n,l),e.placeLine(k[0]),
-e.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;q.input()}));f.fire("dragstart",{target:a.sender});h.push(f.document.once("mouseup",b,this));g.isInline()||h.push(CKEDITOR.document.once("mouseup",b,this))}}function U(a){var b,c,d=a.editables;a.editables={};if(a.editables)for(b in d)c=d[b],a.initEditable(b,"string"==typeof c?{selector:c}:c)}function Y(a){if(a.mask){var b=a.wrapper.findOne(".cke_widget_mask");b||(b=new CKEDITOR.dom.element("img",
-a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_mask"}),a.wrapper.append(b));a.mask=b}}function Z(a){if(a.parts){var b={},c,d;for(d in a.parts)c=a.wrapper.findOne(a.parts[d]),b[d]=c;a.parts=b}}function aa(a,b){M(a);Z(a);U(a);Y(a);P(a);S(a);N(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart",function(b){var c=b.data.getTarget();g.getNestedEditable(a,c)||a.inline&&g.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new");
-a.element.addClass("cke_widget_element");a.on("key",function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){H(a,b==CKEDITOR.CTRL+88);return}if(b in T||CKEDITOR.CTRL&b||CKEDITOR.ALT&b)return}return!1},null,null,999);a.on("doubleclick",function(b){a.edit()&&b.cancel()});if(b.data)a.on("data",b.data);if(b.edit)a.on("edit",b.edit)}function M(a){(a.wrapper=a.element.getParent()).setAttribute("data-cke-widget-id",a.id)}function R(a){a.element.data("cke-widget-data",
-encodeURIComponent(JSON.stringify(a.data)))}function O(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}var c={};CKEDITOR.style.addCustomHandler({type:"widget",setup:function(a){this.widget=a.widget;if(this.group="string"==typeof a.group?[a.group]:a.group){a=this.widget;var b;c[a]||(c[a]={});for(var d=0,e=this.group.length;d<e;d++)b=this.group[d],c[a][b]||(c[a][b]=[]),c[a][b].push(this)}},apply:function(a){var b;a instanceof
-CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&(b=a.widgets.focused,this.group&&this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b,d,e=!1;if(!(a instanceof CKEDITOR.editor))return!1;d=a.elementPath();if(this.checkApplicable(d,a))for(var f=0,g=this.group.length;f<g;f++){b=c[this.widget][this.group[f]];for(var h=0;h<
-b.length;h++)b[h]!==this&&b[h].checkActive(d,a)&&(a.widgets.focused.removeStyle(b[h]),e=!0)}return e},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)},checkApplicable:function(a,b){return b instanceof CKEDITOR.editor?this.checkElement(a.lastElement):!1},checkElementMatch:b,checkElementRemovable:b,checkElement:function(a){return g.isDomWidgetWrapper(a)?(a=a.getFirst(g.isDomWidgetElement))&&a.data("widget")==this.widget:!1},buildPreview:function(a){return a||this._.definition.name},
-toAllowedContentRules:function(a){if(!a)return null;a=a.widgets.registered[this.widget];var b,c={};if(!a)return null;if(a.styleableElements){b=this.getClassesArray();if(!b)return null;c[a.styleableElements]={classes:b,propertiesOnly:!0};return c}return a.styleToAllowedContentRules?a.styleToAllowedContentRules(this):null},getClassesArray:function(){var a=this._.definition.attributes&&this._.definition.attributes["class"];return a?CKEDITOR.tools.trim(a).split(/\s+/):null},applyToRange:a,removeFromRange:a,
-applyToObject:a})}CKEDITOR.plugins.add("widget",{requires:"lineutils,clipboard,widgetselection",onLoad:function(){void 0!==CKEDITOR.document.$.querySelectorAll&&(CKEDITOR.addCss(".cke_widget_wrapper{position:relative;outline:none}.cke_widget_inline{display:inline-block}.cke_widget_wrapper:hover\x3e.cke_widget_element{outline:2px solid yellow;cursor:default}.cke_widget_wrapper:hover .cke_widget_editable{outline:2px solid yellow}.cke_widget_wrapper.cke_widget_focused\x3e.cke_widget_element,.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{outline:2px solid #ace}.cke_widget_editable{cursor:text}.cke_widget_drag_handler_container{position:absolute;width:15px;height:0;display:none;opacity:0.75;transition:height 0s 0.2s;line-height:0}.cke_widget_wrapper:hover\x3e.cke_widget_drag_handler_container{height:15px;transition:none}.cke_widget_drag_handler_container:hover{opacity:1}img.cke_widget_drag_handler{cursor:move;width:15px;height:15px;display:inline-block}.cke_widget_mask{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{cursor:move !important}"),
-O())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&&(a.widgets=new c(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,e;for(d in b)c=b[d],(e=c.button)&&a.ui.addButton&&a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:e,command:c.name,toolbar:"insert,10"});u(a)}}});c.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(a,b){b=CKEDITOR.tools.prototypedCopy(b);b.name=a;b._=b._||{};this.editor.fire("widgetDefinition",
-b);b.template&&(b.template=new CKEDITOR.template(b.template));e(this.editor,b);k(this,b);return this.registered[a]=b},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)},checkSelection:function(){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=E(this),d;if(b&&(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=g.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));
+{getChild:function(a){if(1>arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,b,c){for(var d=b.children,g,e=[],f=[],h=0;h<d.length&&(g=d[h]);h++){var k=[];e.push(k);f.push(CKEDITOR.dialog._.uiElementBuilders[g.type].build(a,g,k))}return new CKEDITOR.ui.dialog[b.type](a,
+f,e,c,b)}};CKEDITOR.dialog.addUIElement("hbox",a);CKEDITOR.dialog.addUIElement("vbox",a)})();CKEDITOR.dialogCommand=function(a,b){this.dialogName=a;CKEDITOR.tools.extend(this,b,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var b=this.tabId;a.openDialog(this.dialogName,function(a){b&&a.selectPage(b)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,b=/^\d*$/,c=/^\d*(?:\.\d+)?$/,d=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,g=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
+e=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var b=this&&this.getValue?this.getValue():a[0],c,d=CKEDITOR.VALIDATE_AND,g=[],e;for(e=0;e<a.length;e++)if("function"==typeof a[e])g.push(a[e]);else break;e<a.length&&"string"==typeof a[e]&&(c=a[e],e++);e<a.length&&"number"==typeof a[e]&&(d=a[e]);var f=d==CKEDITOR.VALIDATE_AND?!0:!1;for(e=0;e<g.length;e++)f=d==CKEDITOR.VALIDATE_AND?f&&
+g[e](b):f||g[e](b);return f?!0:c}},regex:function(a,b){return function(c){c=this&&this.getValue?this.getValue():c;return a.test(c)?!0:b}},notEmpty:function(b){return this.regex(a,b)},integer:function(a){return this.regex(b,a)},number:function(a){return this.regex(c,a)},cssLength:function(a){return this.functions(function(a){return g.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return d.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))},
+a)},equals:function(a,b){return this.functions(function(b){return b==a},b)},notEqual:function(a,b){return this.functions(function(b){return b!=a},b)}};CKEDITOR.on("instanceDestroyed",function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var b;b=CKEDITOR.dialog._.currentTop;)b.hide();for(var c in y)y[c].remove();y={}}a=a.editor._.storedDialogs;for(var d in a)a[d].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,b){var c=null,d=CKEDITOR.dialog._.dialogDefinitions[a];
+null===CKEDITOR.dialog._.currentTop&&w(this);if("function"==typeof d)c=this._.storedDialogs||(this._.storedDialogs={}),c=c[a]||(c[a]=new CKEDITOR.dialog(this,a)),b&&b.call(c,c),c.show();else{if("failed"==d)throw v(this),Error('[CKEDITOR.dialog.openDialog] Dialog "'+a+'" failed when loading definition.');"string"==typeof d&&CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(d),function(){"function"!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&&(CKEDITOR.dialog._.dialogDefinitions[a]="failed");this.openDialog(a,
+b)},this,0,1)}CKEDITOR.skin.loadPart("dialog");return c}})}(),CKEDITOR.plugins.add("dialog",{requires:"dialogui",init:function(f){f.on("doubleclick",function(h){h.data.dialog&&f.openDialog(h.data.dialog)},null,null,999)}}),function(){CKEDITOR.plugins.add("a11yhelp",{requires:"dialog",availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,"fr-ca":1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,
+ku:1,lt:1,lv:1,mk:1,mn:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},init:function(f){var h=this;f.addCommand("a11yHelp",{exec:function(){var e=f.langCode,e=h.availableLangs[e]?e:h.availableLangs[e.replace(/-.*/,"")]?e.replace(/-.*/,""):"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(h.path+"dialogs/lang/"+e+".js"),function(){f.lang.a11yhelp=h.langEntries[e];f.openDialog("a11yHelp")})},modes:{wysiwyg:1,source:1},
+readOnly:1,canUndo:!1});f.setKeystroke(CKEDITOR.ALT+48,"a11yHelp");CKEDITOR.dialog.add("a11yHelp",this.path+"dialogs/a11yhelp.js");f.on("ariaEditorHelpLabel",function(e){e.data.label=f.lang.common.editorHelp})}})}(),CKEDITOR.plugins.add("about",{requires:"dialog",init:function(f){var h=f.addCommand("about",new CKEDITOR.dialogCommand("about"));h.modes={wysiwyg:1,source:1};h.canUndo=!1;h.readOnly=1;f.ui.addButton&&f.ui.addButton("About",{label:f.lang.about.dlgTitle,command:"about",toolbar:"about"});
+CKEDITOR.dialog.add("about",this.path+"dialogs/about.js")}}),"use strict",function(){function f(f){function e(){l=f.document;m=l[CKEDITOR.env.ie?"getBody":"getDocumentElement"]();b=CKEDITOR.env.quirks?l.getBody():l.getDocumentElement();var a=CKEDITOR.env.quirks?b:b.findOne("body");a&&(a.setStyle("height","auto"),a.setStyle("min-height",CKEDITOR.env.safari?"0%":"auto"));g=CKEDITOR.dom.element.createFromHtml('\x3cspan style\x3d"margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;"\x3e'+
+(CKEDITOR.env.webkit?"\x26nbsp;":"")+"\x3c/span\x3e",l)}function k(){w&&b.setStyle("overflow-y","hidden");var e=f.window.getViewPaneSize().height,k;m.append(g);k=g.getDocumentPosition(l).y+g.$.offsetHeight;g.remove();k+=c;k=Math.max(k,a);k=Math.min(k,n);k!=e&&d!=k&&(k=f.fire("autoGrow",{currentHeight:e,newHeight:k}).newHeight,f.resize(f.container.getStyle("width"),k,!0),d=k);w||(k<n&&b.$.scrollHeight>b.$.clientHeight?b.setStyle("overflow-y","hidden"):b.removeStyle("overflow-y"))}var d,l,m,b,g,c=f.config.autoGrow_bottomSpace||
+0,a=void 0!==f.config.autoGrow_minHeight?f.config.autoGrow_minHeight:200,n=f.config.autoGrow_maxHeight||Infinity,w=!f.config.autoGrow_maxHeight;f.addCommand("autogrow",{exec:k,modes:{wysiwyg:1},readOnly:1,canUndo:!1,editorFocus:!1});var v={contentDom:1,key:1,selectionChange:1,insertElement:1,mode:1},t;for(t in v)f.on(t,function(a){"wysiwyg"==a.editor.mode&&setTimeout(function(){var a=f.getCommand("maximize");!f.window||a&&a.state==CKEDITOR.TRISTATE_ON?d=null:(k(),w||k())},100)});f.on("afterCommandExec",
+function(a){"maximize"==a.data.name&&"wysiwyg"==a.editor.mode&&(a.data.command.state==CKEDITOR.TRISTATE_ON?b.removeStyle("overflow-y"):k())});f.on("contentDom",e);e();f.config.autoGrow_onStartup&&f.editable().isVisible()&&f.execCommand("autogrow")}CKEDITOR.plugins.add("autogrow",{init:function(h){if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE)h.on("instanceReady",function(){h.editable().isInline()?h.ui.space("contents").setStyle("height","auto"):f(h)})}})}(),CKEDITOR.plugins.add("basicstyles",{init:function(f){var h=
+0,e=function(d,b,g,c){if(c){c=new CKEDITOR.style(c);var a=k[g];a.unshift(c);f.attachStyleStateChange(c,function(a){!f.readOnly&&f.getCommand(g).setState(a)});f.addCommand(g,new CKEDITOR.styleCommand(c,{contentForms:a}));f.ui.addButton&&f.ui.addButton(d,{label:b,command:g,toolbar:"basicstyles,"+(h+=10)})}},k={bold:["strong","b",["span",function(d){d=d.styles["font-weight"];return"bold"==d||700<=+d}]],italic:["em","i",["span",function(d){return"italic"==d.styles["font-style"]}]],underline:["u",["span",
+function(d){return"underline"==d.styles["text-decoration"]}]],strike:["s","strike",["span",function(d){return"line-through"==d.styles["text-decoration"]}]],subscript:["sub"],superscript:["sup"]},d=f.config,l=f.lang.basicstyles;e("Bold",l.bold,"bold",d.coreStyles_bold);e("Italic",l.italic,"italic",d.coreStyles_italic);e("Underline",l.underline,"underline",d.coreStyles_underline);e("Strike",l.strike,"strike",d.coreStyles_strike);e("Subscript",l.subscript,"subscript",d.coreStyles_subscript);e("Superscript",
+l.superscript,"superscript",d.coreStyles_superscript);f.setKeystroke([[CKEDITOR.CTRL+66,"bold"],[CKEDITOR.CTRL+73,"italic"],[CKEDITOR.CTRL+85,"underline"]])}}),CKEDITOR.config.coreStyles_bold={element:"strong",overrides:"b"},CKEDITOR.config.coreStyles_italic={element:"em",overrides:"i"},CKEDITOR.config.coreStyles_underline={element:"u"},CKEDITOR.config.coreStyles_strike={element:"s",overrides:"strike"},CKEDITOR.config.coreStyles_subscript={element:"sub"},CKEDITOR.config.coreStyles_superscript={element:"sup"},
+function(){var f={exec:function(f){var e=f.getCommand("blockquote").state,k=f.getSelection(),d=k&&k.getRanges()[0];if(d){var l=k.createBookmarks();if(CKEDITOR.env.ie){var m=l[0].startNode,b=l[0].endNode,g;if(m&&"blockquote"==m.getParent().getName())for(g=m;g=g.getNext();)if(g.type==CKEDITOR.NODE_ELEMENT&&g.isBlockBoundary()){m.move(g,!0);break}if(b&&"blockquote"==b.getParent().getName())for(g=b;g=g.getPrevious();)if(g.type==CKEDITOR.NODE_ELEMENT&&g.isBlockBoundary()){b.move(g);break}}var c=d.createIterator();
+c.enlargeBr=f.config.enterMode!=CKEDITOR.ENTER_BR;if(e==CKEDITOR.TRISTATE_OFF){for(m=[];e=c.getNextParagraph();)m.push(e);1>m.length&&(e=f.document.createElement(f.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),b=l.shift(),d.insertNode(e),e.append(new CKEDITOR.dom.text("",f.document)),d.moveToBookmark(b),d.selectNodeContents(e),d.collapse(!0),b=d.createBookmark(),m.push(e),l.unshift(b));g=m[0].getParent();d=[];for(b=0;b<m.length;b++)e=m[b],g=g.getCommonAncestor(e.getParent());for(e={table:1,tbody:1,
+tr:1,ol:1,ul:1};e[g.getName()];)g=g.getParent();for(b=null;0<m.length;){for(e=m.shift();!e.getParent().equals(g);)e=e.getParent();e.equals(b)||d.push(e);b=e}for(;0<d.length;)if(e=d.shift(),"blockquote"==e.getName()){for(b=new CKEDITOR.dom.documentFragment(f.document);e.getFirst();)b.append(e.getFirst().remove()),m.push(b.getLast());b.replace(e)}else m.push(e);d=f.document.createElement("blockquote");for(d.insertBefore(m[0]);0<m.length;)e=m.shift(),d.append(e)}else if(e==CKEDITOR.TRISTATE_ON){b=[];
+for(g={};e=c.getNextParagraph();){for(m=d=null;e.getParent();){if("blockquote"==e.getParent().getName()){d=e.getParent();m=e;break}e=e.getParent()}d&&m&&!m.getCustomData("blockquote_moveout")&&(b.push(m),CKEDITOR.dom.element.setMarker(g,m,"blockquote_moveout",!0))}CKEDITOR.dom.element.clearAllMarkers(g);e=[];m=[];for(g={};0<b.length;)c=b.shift(),d=c.getParent(),c.getPrevious()?c.getNext()?(c.breakParent(c.getParent()),m.push(c.getNext())):c.remove().insertAfter(d):c.remove().insertBefore(d),d.getCustomData("blockquote_processed")||
+(m.push(d),CKEDITOR.dom.element.setMarker(g,d,"blockquote_processed",!0)),e.push(c);CKEDITOR.dom.element.clearAllMarkers(g);for(b=m.length-1;0<=b;b--){d=m[b];a:{g=d;for(var c=0,a=g.getChildCount(),n=void 0;c<a&&(n=g.getChild(c));c++)if(n.type==CKEDITOR.NODE_ELEMENT&&n.isBlockBoundary()){g=!1;break a}g=!0}g&&d.remove()}if(f.config.enterMode==CKEDITOR.ENTER_BR)for(d=!0;e.length;)if(c=e.shift(),"div"==c.getName()){b=new CKEDITOR.dom.documentFragment(f.document);!d||!c.getPrevious()||c.getPrevious().type==
+CKEDITOR.NODE_ELEMENT&&c.getPrevious().isBlockBoundary()||b.append(f.document.createElement("br"));for(d=c.getNext()&&!(c.getNext().type==CKEDITOR.NODE_ELEMENT&&c.getNext().isBlockBoundary());c.getFirst();)c.getFirst().remove().appendTo(b);d&&b.append(f.document.createElement("br"));b.replace(c);d=!1}}k.selectBookmarks(l);f.focus()}},refresh:function(f,e){this.setState(f.elementPath(e.block||e.blockLimit).contains("blockquote",1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:"blockquote",allowedContent:"blockquote",
+requiredContent:"blockquote"};CKEDITOR.plugins.add("blockquote",{init:function(h){h.blockless||(h.addCommand("blockquote",f),h.ui.addButton&&h.ui.addButton("Blockquote",{label:h.lang.blockquote.toolbar,command:"blockquote",toolbar:"blocks,10"}))}})}(),"use strict",function(){function f(e,f){CKEDITOR.tools.extend(this,f,{editor:e,id:"cke-"+CKEDITOR.tools.getUniqueId(),area:e._.notificationArea});f.type||(this.type="info");this.element=this._createElement();e.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}
+function h(e){var f=this;this.editor=e;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,this);e.on("destroy",function(){f._removeListeners();f.element.remove()})}CKEDITOR.plugins.add("notification",{init:function(e){function f(d){var e=new CKEDITOR.dom.element("div");e.setStyles({position:"fixed","margin-left":"-9999px"});e.setAttributes({"aria-live":"assertive",
+"aria-atomic":"true"});e.setText(d);CKEDITOR.document.getBody().append(e);setTimeout(function(){e.remove()},100)}e._.notificationArea=new h(e);e.showNotification=function(d,f,h){var b,g;"progress"==f?b=h:g=h;d=new CKEDITOR.plugins.notification(e,{message:d,type:f,progress:b,duration:g});d.show();return d};e.on("key",function(d){if(27==d.data.keyCode){var h=e._.notificationArea.notifications;h.length&&(f(e.lang.notification.closed),h[h.length-1].hide(),d.cancel())}})}});f.prototype={show:function(){!1!==
+this.editor.fire("notificationShow",{notification:this})&&(this.area.add(this),this._hideAfterTimeout())},update:function(e){var f=!0;!1===this.editor.fire("notificationUpdate",{notification:this,options:e})&&(f=!1);var d=this.element,h=d.findOne(".cke_notification_message"),m=d.findOne(".cke_notification_progress"),b=e.type;d.removeAttribute("role");e.progress&&"progress"!=this.type&&(b="progress");b&&(d.removeClass(this._getClass()),d.removeAttribute("aria-label"),this.type=b,d.addClass(this._getClass()),
+d.setAttribute("aria-label",this.type),"progress"!=this.type||m?"progress"!=this.type&&m&&m.remove():(m=this._createProgressElement(),m.insertBefore(h)));void 0!==e.message&&(this.message=e.message,h.setHtml(this.message));void 0!==e.progress&&(this.progress=e.progress,m&&m.setStyle("width",this._getPercentageProgress()));f&&e.important&&(d.setAttribute("role","alert"),this.isVisible()||this.area.add(this));this.duration=e.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire("notificationHide",
+{notification:this})&&this.area.remove(this)},isVisible:function(){return 0<=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var e=this,f,d,h=this.editor.lang.common.close;f=new CKEDITOR.dom.element("div");f.addClass("cke_notification");f.addClass(this._getClass());f.setAttributes({id:this.id,role:"alert","aria-label":this.type});"progress"==this.type&&f.append(this._createProgressElement());d=new CKEDITOR.dom.element("p");d.addClass("cke_notification_message");d.setHtml(this.message);
+f.append(d);d=CKEDITOR.dom.element.createFromHtml('\x3ca class\x3d"cke_notification_close" href\x3d"javascript:void(0)" title\x3d"'+h+'" role\x3d"button" tabindex\x3d"-1"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e');f.append(d);d.on("click",function(){e.editor.focus();e.hide()});return f},_getClass:function(){return"progress"==this.type?"cke_notification_info":"cke_notification_"+this.type},_createProgressElement:function(){var e=new CKEDITOR.dom.element("span");e.addClass("cke_notification_progress");
+e.setStyle("width",this._getPercentageProgress());return e},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+"%"},_hideAfterTimeout:function(){var e=this,f;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);if("number"==typeof this.duration)f=this.duration;else if("info"==this.type||"success"==this.type)f="number"==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;f&&(e._hideTimeoutId=setTimeout(function(){e.hide()},f))}};h.prototype=
+{add:function(e){this.notifications.push(e);this.element.append(e.element);1==this.element.getChildCount()&&(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(e){var f=CKEDITOR.tools.indexOf(this.notifications,e);0>f||(this.notifications.splice(f,1),e.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var e=this.editor,f=e.config,d=new CKEDITOR.dom.element("div");d.addClass("cke_notifications_area");
+d.setAttribute("id","cke_notifications_area_"+e.name);d.setStyle("z-index",f.baseFloatZIndex-2);return d},_attachListeners:function(){var e=CKEDITOR.document.getWindow(),f=this.editor;e.on("scroll",this._uiBuffer.input);e.on("resize",this._uiBuffer.input);f.on("change",this._changeBuffer.input);f.on("floatingSpaceLayout",this._layout,this,null,20);f.on("blur",this._layout,this,null,20)},_removeListeners:function(){var e=CKEDITOR.document.getWindow(),f=this.editor;e.removeListener("scroll",this._uiBuffer.input);
+e.removeListener("resize",this._uiBuffer.input);f.removeListener("change",this._changeBuffer.input);f.removeListener("floatingSpaceLayout",this._layout);f.removeListener("blur",this._layout)},_layout:function(){function e(){f.setStyle("left",A(r+h.width-n-w))}var f=this.element,d=this.editor,h=d.ui.contentsElement.getClientRect(),m=d.ui.contentsElement.getDocumentPosition(),b,g,c=f.getClientRect(),a,n=this._notificationWidth,w=this._notificationMargin;a=CKEDITOR.document.getWindow();var v=a.getScrollPosition(),
+t=a.getViewPaneSize(),p=CKEDITOR.document.getBody(),q=p.getDocumentPosition(),A=CKEDITOR.tools.cssLength;n&&w||(a=this.element.getChild(0),n=this._notificationWidth=a.getClientRect().width,w=this._notificationMargin=parseInt(a.getComputedStyle("margin-left"),10)+parseInt(a.getComputedStyle("margin-right"),10));d.toolbar&&(b=d.ui.space("top"),g=b.getClientRect());b&&b.isVisible()&&g.bottom>h.top&&g.bottom<h.bottom-c.height?f.setStyles({position:"fixed",top:A(g.bottom)}):0<h.top?f.setStyles({position:"absolute",
+top:A(m.y)}):m.y+h.height-c.height>v.y?f.setStyles({position:"fixed",top:0}):f.setStyles({position:"absolute",top:A(m.y+h.height-c.height)});var r="fixed"==f.getStyle("position")?h.left:"static"!=p.getComputedStyle("position")?m.x-q.x:m.x;h.width<n+w?m.x+n+w>v.x+t.width?e():f.setStyle("left",A(r)):m.x+n+w>v.x+t.width?f.setStyle("left",A(r)):m.x+h.width/2+n/2+w>v.x+t.width?f.setStyle("left",A(r-m.x+v.x+t.width-n-w)):0>h.left+h.width-n-w?e():0>h.left+h.width/2-n/2?f.setStyle("left",A(r-m.x+v.x)):f.setStyle("left",
+A(r+h.width/2-n/2-w/2))}};CKEDITOR.plugins.notification=f}(),function(){var f='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' title\x3d"{title}" tabindex\x3d"-1" hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasArrow}" aria-disabled\x3d"{ariaDisabled}"';CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(f+=
+' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(f+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var f=f+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{style}"'),f=f+'\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_button_label cke_button__{name}_label" aria-hidden\x3d"false"\x3e{label}\x3c/span\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_button_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e',
+h=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),e=CKEDITOR.addTemplate("button",f);CKEDITOR.plugins.add("button",{beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_BUTTON,CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";CKEDITOR.ui.button=function(e){CKEDITOR.tools.extend(this,e,{title:e.label,click:e.click||function(d){d.execCommand(e.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(e){return new CKEDITOR.ui.button(e)}};
+CKEDITOR.ui.button.prototype={render:function(f,d){function l(){var a=f.mode;a&&(a=this.modes[a]?void 0!==m[a]?m[a]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,a=f.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED:a,this.setState(a),this.refresh&&this.refresh())}var m=null,b=CKEDITOR.env,g=this._.id=CKEDITOR.tools.getNextId(),c="",a=this.command,n,w,v;this._.editor=f;var t={id:g,button:this,editor:f,focus:function(){CKEDITOR.document.getById(g).focus()},execute:function(){this.button.click(f)},
+attach:function(a){this.button.attach(a)}},p=CKEDITOR.tools.addFunction(function(a){if(t.onkey)return a=new CKEDITOR.dom.event(a),!1!==t.onkey(t,a.getKeystroke())}),q=CKEDITOR.tools.addFunction(function(a){var b;t.onfocus&&(b=!1!==t.onfocus(t,new CKEDITOR.dom.event(a)));return b}),A=0;t.clickFn=n=CKEDITOR.tools.addFunction(function(){A&&(f.unlockSelection(1),A=0);t.execute();b.iOS&&f.focus()});this.modes?(m={},f.on("beforeModeUnload",function(){f.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(m[f.mode]=
+this._.state)},this),f.on("activeFilterChange",l,this),f.on("mode",l,this),!this.readOnly&&f.on("readOnly",l,this)):a&&(a=f.getCommand(a))&&(a.on("state",function(){this.setState(a.state)},this),c+=a.state==CKEDITOR.TRISTATE_ON?"on":a.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");var r;if(this.directional)f.on("contentDirChanged",function(a){var b=CKEDITOR.document.getById(this._.id),c=b.getFirst();a=a.data;a!=f.lang.dir?b.addClass("cke_"+a):b.removeClass("cke_ltr").removeClass("cke_rtl");c.setAttribute("style",
+CKEDITOR.skin.getIconStyle(r,"rtl"==a,this.icon,this.iconOffset))},this);a?(w=f.getCommandKeystroke(a))&&(v=CKEDITOR.tools.keystrokeToString(f.lang.common.keyboard,w)):c+="off";w=this.name||this.command;var C=null,B=this.icon;r=w;this.icon&&!/\./.test(this.icon)?(r=this.icon,B=null):(this.icon&&(C=this.icon),CKEDITOR.env.hidpi&&this.iconHiDpi&&(C=this.iconHiDpi));C?(CKEDITOR.skin.addIcon(C,C),B=null):C=r;c={id:g,name:w,iconName:r,label:this.label,cls:this.className||"",state:c,ariaDisabled:"disabled"==
+c?"true":"false",title:this.title+(v?" ("+v.display+")":""),ariaShortcut:v?f.lang.common.keyboardShortcut+" "+v.aria:"",titleJs:b.gecko&&!b.hc?"":(this.title||"").replace("'",""),hasArrow:this.hasArrow?"true":"false",keydownFn:p,focusFn:q,clickFn:n,style:CKEDITOR.skin.getIconStyle(C,"rtl"==f.lang.dir,B,this.iconOffset),arrowHtml:this.hasArrow?h.output():""};e.output(c,d);if(this.onRender)this.onRender();return t},setState:function(e){if(this._.state==e)return!1;this._.state=e;var d=CKEDITOR.document.getById(this._.id);
+return d?(d.setState(e,"cke_button"),e==CKEDITOR.TRISTATE_DISABLED?d.setAttribute("aria-disabled",!0):d.removeAttribute("aria-disabled"),this.hasArrow?(e=e==CKEDITOR.TRISTATE_ON?this._.editor.lang.button.selectedLabel.replace(/%1/g,this.label):this.label,CKEDITOR.document.getById(this._.id+"_label").setText(e)):e==CKEDITOR.TRISTATE_ON?d.setAttribute("aria-pressed",!0):d.removeAttribute("aria-pressed"),!0):!1},getState:function(){return this._.state},toFeature:function(e){if(this._.feature)return this._.feature;
+var d=this;this.allowedContent||this.requiredContent||!this.command||(d=e.getCommand(this.command)||d);return this._.feature=d}};CKEDITOR.ui.prototype.addButton=function(e,d){this.add(e,CKEDITOR.UI_BUTTON,d)}}(),function(){function f(d){function e(){for(var a=f(),c=CKEDITOR.tools.clone(d.config.toolbarGroups)||h(d),g=0;g<c.length;g++){var k=c[g];if("/"!=k){"string"==typeof k&&(k=c[g]={name:k});var l,q=k.groups;if(q)for(var A=0;A<q.length;A++)l=q[A],(l=a[l])&&b(k,l);(l=a[k.name])&&b(k,l)}}return c}
+function f(){var a={},b,c,g;for(b in d.ui.items)c=d.ui.items[b],g=c.toolbar||"others",g=g.split(","),c=g[0],g=parseInt(g[1]||-1,10),a[c]||(a[c]=[]),a[c].push({name:b,order:g});for(c in a)a[c]=a[c].sort(function(a,b){return a.order==b.order?0:0>b.order?-1:0>a.order?1:a.order<b.order?-1:1});return a}function b(a,b){if(b.length){a.items?a.items.push(d.ui.create("-")):a.items=[];for(var g;g=b.shift();)g="string"==typeof g?g:g.name,c&&-1!=CKEDITOR.tools.indexOf(c,g)||(g=d.ui.create(g))&&d.addFeature(g)&&
+a.items.push(g)}}function g(a){var c=[],d,g,e;for(d=0;d<a.length;++d)g=a[d],e={},"/"==g?c.push(g):CKEDITOR.tools.isArray(g)?(b(e,CKEDITOR.tools.clone(g)),c.push(e)):g.items&&(b(e,CKEDITOR.tools.clone(g.items)),e.name=g.name,c.push(e));return c}var c=d.config.removeButtons,c=c&&c.split(","),a=d.config.toolbar;"string"==typeof a&&(a=d.config["toolbar_"+a]);return d.toolbar=a?g(a):e()}function h(d){return d._.toolbarGroups||(d._.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},
+{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},"/",{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"},"/",{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}])}var e=function(){this.toolbars=[];this.focusCommandExecuted=!1};e.prototype.focus=function(){for(var d=0,e;e=this.toolbars[d++];)for(var f=
+0,b;b=e.items[f++];)if(b.focus){b.focus();return}};var k={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(d){d.toolbox&&(d.toolbox.focusCommandExecuted=!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){d.toolbox.focus()},100):d.toolbox.focus())}};CKEDITOR.plugins.add("toolbar",{requires:"button",init:function(d){var h,m=function(b,g){var c,a="rtl"==d.lang.dir,e=d.config.toolbarGroupCycling,f=a?37:39,a=a?39:37,e=void 0===e||e;switch(g){case 9:case CKEDITOR.SHIFT+9:for(;!c||!c.items.length;)if(c=
+9==g?(c?c.next:b.toolbar.next)||d.toolbox.toolbars[0]:(c?c.previous:b.toolbar.previous)||d.toolbox.toolbars[d.toolbox.toolbars.length-1],c.items.length)for(b=c.items[h?c.items.length-1:0];b&&!b.focus;)(b=h?b.previous:b.next)||(c=0);b&&b.focus();return!1;case f:c=b;do c=c.next,!c&&e&&(c=b.toolbar.items[0]);while(c&&!c.focus);c?c.focus():m(b,9);return!1;case 40:return b.button&&b.button.hasArrow?b.execute():m(b,40==g?f:a),!1;case a:case 38:c=b;do c=c.previous,!c&&e&&(c=b.toolbar.items[b.toolbar.items.length-
+1]);while(c&&!c.focus);c?c.focus():(h=1,m(b,CKEDITOR.SHIFT+9),h=0);return!1;case 27:return d.focus(),!1;case 13:case 32:return b.execute(),!1}return!0};d.on("uiSpace",function(b){if(b.data.space==d.config.toolbarLocation){b.removeListener();d.toolbox=new e;var g=CKEDITOR.tools.getNextId(),c=['\x3cspan id\x3d"',g,'" class\x3d"cke_voice_label"\x3e',d.lang.toolbar.toolbars,"\x3c/span\x3e",'\x3cspan id\x3d"'+d.ui.spaceId("toolbox")+'" class\x3d"cke_toolbox" role\x3d"group" aria-labelledby\x3d"',g,'" onmousedown\x3d"return false;"\x3e'],
+g=!1!==d.config.toolbarStartupExpanded,a,h;d.config.toolbarCanCollapse&&d.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&c.push('\x3cspan class\x3d"cke_toolbox_main"'+(g?"\x3e":' style\x3d"display:none"\x3e'));for(var k=d.toolbox.toolbars,l=f(d),t=l.length,p=0;p<t;p++){var q,A=0,r,C=l[p],B="/"!==C&&("/"===l[p+1]||p==t-1),u;if(C)if(a&&(c.push("\x3c/span\x3e"),h=a=0),"/"===C)c.push('\x3cspan class\x3d"cke_toolbar_break"\x3e\x3c/span\x3e');else{u=C.items||C;for(var y=0;y<u.length;y++){var x=u[y],z;if(x){var I=
+function(a){a=a.render(d,c);F=A.items.push(a)-1;0<F&&(a.previous=A.items[F-1],a.previous.next=a);a.toolbar=A;a.onkey=m;a.onfocus=function(){d.toolbox.focusCommandExecuted||d.focus()}};if(x.type==CKEDITOR.UI_SEPARATOR)h=a&&x;else{z=!1!==x.canGroup;if(!A){q=CKEDITOR.tools.getNextId();A={id:q,items:[]};r=C.name&&(d.lang.toolbar.toolbarGroups[C.name]||C.name);c.push('\x3cspan id\x3d"',q,'" class\x3d"cke_toolbar'+(B?' cke_toolbar_last"':'"'),r?' aria-labelledby\x3d"'+q+'_label"':"",' role\x3d"toolbar"\x3e');
+r&&c.push('\x3cspan id\x3d"',q,'_label" class\x3d"cke_voice_label"\x3e',r,"\x3c/span\x3e");c.push('\x3cspan class\x3d"cke_toolbar_start"\x3e\x3c/span\x3e');var F=k.push(A)-1;0<F&&(A.previous=k[F-1],A.previous.next=A)}z?a||(c.push('\x3cspan class\x3d"cke_toolgroup" role\x3d"presentation"\x3e'),a=1):a&&(c.push("\x3c/span\x3e"),a=0);h&&(I(h),h=0);I(x)}}}a&&(c.push("\x3c/span\x3e"),h=a=0);A&&c.push('\x3cspan class\x3d"cke_toolbar_end"\x3e\x3c/span\x3e\x3c/span\x3e')}}d.config.toolbarCanCollapse&&c.push("\x3c/span\x3e");
+if(d.config.toolbarCanCollapse&&d.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var E=CKEDITOR.tools.addFunction(function(){d.execCommand("toolbarCollapse")});d.on("destroy",function(){CKEDITOR.tools.removeFunction(E)});d.addCommand("toolbarCollapse",{readOnly:1,exec:function(a){var b=a.ui.space("toolbar_collapser"),c=b.getPrevious(),d=a.ui.space("contents"),g=c.getParent(),e=parseInt(d.$.style.height,10),f=g.$.offsetHeight,h=b.hasClass("cke_toolbox_collapser_min");h?(c.show(),b.removeClass("cke_toolbox_collapser_min"),
+b.setAttribute("title",a.lang.toolbar.toolbarCollapse)):(c.hide(),b.addClass("cke_toolbox_collapser_min"),b.setAttribute("title",a.lang.toolbar.toolbarExpand));b.getFirst().setText(h?"▲":"◀");d.setStyle("height",e-(g.$.offsetHeight-f)+"px");a.fire("resize",{outerHeight:a.container.$.offsetHeight,contentsHeight:d.$.offsetHeight,outerWidth:a.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});d.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),"toolbarCollapse");c.push('\x3ca title\x3d"'+
+(g?d.lang.toolbar.toolbarCollapse:d.lang.toolbar.toolbarExpand)+'" id\x3d"'+d.ui.spaceId("toolbar_collapser")+'" tabIndex\x3d"-1" class\x3d"cke_toolbox_collapser');g||c.push(" cke_toolbox_collapser_min");c.push('" onclick\x3d"CKEDITOR.tools.callFunction('+E+')"\x3e','\x3cspan class\x3d"cke_arrow"\x3e\x26#9650;\x3c/span\x3e',"\x3c/a\x3e")}c.push("\x3c/span\x3e");b.data.html+=c.join("")}});d.on("destroy",function(){if(this.toolbox){var b,d=0,c,a,e;for(b=this.toolbox.toolbars;d<b.length;d++)for(a=b[d].items,
+c=0;c<a.length;c++)e=a[c],e.clickFn&&CKEDITOR.tools.removeFunction(e.clickFn),e.keyDownFn&&CKEDITOR.tools.removeFunction(e.keyDownFn)}});d.on("uiReady",function(){var b=d.ui.space("toolbox");b&&d.focusManager.add(b,1)});d.addCommand("toolbarFocus",k);d.setKeystroke(CKEDITOR.ALT+121,"toolbarFocus");d.ui.add("-",CKEDITOR.UI_SEPARATOR,{});d.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(b,d){d.push('\x3cspan class\x3d"cke_toolbar_separator" role\x3d"separator"\x3e\x3c/span\x3e');
+return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(d,e,f){var b=h(this.editor),g=0===e,c={name:d};if(f){if(f=CKEDITOR.tools.search(b,function(a){return a.name==f})){!f.groups&&(f.groups=[]);if(e&&(e=CKEDITOR.tools.indexOf(f.groups,e),0<=e)){f.groups.splice(e+1,0,d);return}g?f.groups.splice(0,0,d):f.groups.push(d);return}e=null}e&&(e=CKEDITOR.tools.indexOf(b,function(a){return a.name==e}));g?b.splice(0,0,d):"number"==typeof e?b.splice(e+1,0,c):b.push(d)}}(),CKEDITOR.UI_SEPARATOR="separator",
+CKEDITOR.config.toolbarLocation="top","use strict",function(){function f(a,b,c){b.type||(b.type="auto");if(c&&!1===a.fire("beforePaste",b)||!b.dataValue&&b.dataTransfer.isEmpty())return!1;b.dataValue||(b.dataValue="");if(CKEDITOR.env.gecko&&"drop"==b.method&&a.toolbox)a.once("afterPaste",function(){a.toolbox.focus()});return a.fire("paste",b)}function h(a){function b(){var c=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var d=function(b){a.getSelection().isCollapsed()||(a.readOnly&&
+"cut"==b.name||z.initPasteDataTransfer(b,a),b.data.preventDefault())};c.on("copy",d);c.on("cut",d);c.on("cut",function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}c.on(z.mainPasteEvent,function(a){"beforepaste"==z.mainPasteEvent&&I||u(a)});"beforepaste"==z.mainPasteEvent&&(c.on("paste",function(a){F||(g(),a.data.preventDefault(),u(a),h("paste"))}),c.on("contextmenu",e,null,null,0),c.on("beforepaste",function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||e()},null,null,0));c.on("beforecut",
+function(){!I&&k(a)});var f;c.attachListener(CKEDITOR.env.ie?c:a.document.getDocumentElement(),"mouseup",function(){f=setTimeout(function(){y()},0)});a.on("destroy",function(){clearTimeout(f)});c.on("keyup",y)}function c(b){return{type:b,canUndo:"cut"==b,startDisabled:!0,fakeKeystroke:"cut"==b?CKEDITOR.CTRL+88:CKEDITOR.CTRL+67,exec:function(){"cut"==this.type&&k();var b;var c=this.type;if(CKEDITOR.env.ie)b=h(c);else try{b=a.document.$.execCommand(c,!1,null)}catch(d){b=!1}b||a.showNotification(a.lang.clipboard[this.type+
+"Error"]);return b}}}function d(){return{canUndo:!1,async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,b){function c(b,e){e="undefined"!==typeof e?e:!0;b?(b.method="paste",b.dataTransfer||(b.dataTransfer=z.initPasteDataTransfer()),f(a,b,e)):g&&!a._.forcePasteDialog&&a.showNotification(k,"info",a.config.clipboard_notificationDuration);a._.forcePasteDialog=!1;a.fire("afterCommandExec",{name:"paste",command:d,returnValue:!!b})}b="undefined"!==typeof b&&null!==b?b:{};var d=this,g="undefined"!==typeof b.notification?
+b.notification:!0,e=b.type,h=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,a.getCommandKeystroke(this)),k="string"===typeof g?g:a.lang.clipboard.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+h.aria+'"\x3e'+h.display+"\x3c/kbd\x3e"),h="string"===typeof b?b:b.dataValue;e&&!0!==a.config.forcePasteAsPlainText&&"allow-word"!==a.config.forcePasteAsPlainText?a._.nextPasteType=e:delete a._.nextPasteType;"string"===typeof h?c({dataValue:h}):a.getClipboardData(c)}}}function g(){F=1;setTimeout(function(){F=
+0},100)}function e(){I=1;setTimeout(function(){I=0},10)}function h(b){var c=a.document,d=c.getBody(),g=!1,e=function(){g=!0};d.on(b,e);7<CKEDITOR.env.version?c.$.execCommand(b):c.$.selection.createRange().execCommand(b);d.removeListener(b,e);return g}function k(){if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks){var b=a.getSelection(),c,d,g;b.getType()==CKEDITOR.SELECTION_ELEMENT&&(c=b.getSelectedElement())&&(d=b.getRanges()[0],g=a.document.createText(""),g.insertBefore(c),d.setStartBefore(g),d.setEndAfter(c),
+b.selectRanges([d]),setTimeout(function(){c.getParent()&&(g.remove(),b.selectElement(c))},0))}}function l(b,c){var d=a.document,g=a.editable(),e=function(a){a.cancel()},f;if(!d.getById("cke_pastebin")){var h=a.getSelection(),k=h.createBookmarks();CKEDITOR.env.ie&&h.root.fire("selectionchange");var n=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&&!g.is("body")||CKEDITOR.env.ie?"div":"body",d);n.setAttributes({id:"cke_pastebin","data-cke-temp":"1"});var m=0,d=d.getWindow();CKEDITOR.env.webkit?(g.append(n),
+n.addClass("cke_editable"),g.is("body")||(m="static"!=g.getComputedStyle("position")?g:CKEDITOR.dom.element.get(g.$.offsetParent),m=m.getDocumentPosition().y)):g.getAscendant(CKEDITOR.env.ie?"body":"html",1).append(n);n.setStyles({position:"absolute",top:d.getScrollPosition().y-m+10+"px",width:"1px",height:Math.max(1,d.getViewPaneSize().height-20)+"px",overflow:"hidden",margin:0,padding:0});CKEDITOR.env.safari&&n.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","text"));(m=n.getParent().isReadOnly())?
+(n.setOpacity(0),n.setAttribute("contenteditable",!0)):n.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-10000px");a.on("selectionChange",e,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)f=g.once("blur",e,null,null,-100);m&&n.focus();m=new CKEDITOR.dom.range(n);m.selectNodeContents(n);var q=m.select();CKEDITOR.env.ie&&(f=g.once("blur",function(){a.lockSelection(q)}));var r=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=
+r);f&&f.removeListener();CKEDITOR.env.ie&&g.focus();h.selectBookmarks(k);n.remove();var b;CKEDITOR.env.webkit&&(b=n.getFirst())&&b.is&&b.hasClass("Apple-style-span")&&(n=b);a.removeListener("selectionChange",e);c(n.getHtml())},0)}}function m(){if("paste"==z.mainPasteEvent)return a.fire("beforePaste",{type:"auto",method:"paste"}),!1;a.focus();g();var b=a.focusManager;b.lock();if(a.editable().fire(z.mainPasteEvent)&&!h("paste"))return b.unlock(),!1;b.unlock();return!0}function B(b){if("wysiwyg"==a.mode)switch(b.data.keyCode){case CKEDITOR.CTRL+
+86:case CKEDITOR.SHIFT+45:b=a.editable();g();"paste"==z.mainPasteEvent&&b.fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire("saveSnapshot"),setTimeout(function(){a.fire("saveSnapshot")},50)}}function u(b){var c={type:"auto",method:"paste",dataTransfer:z.initPasteDataTransfer(b)};c.dataTransfer.cacheData();var d=!1!==a.fire("beforePaste",c);d&&z.canClipboardApiBeTrusted(c.dataTransfer,a)?(b.data.preventDefault(),setTimeout(function(){f(a,c)},0)):l(b,function(b){c.dataValue=
+b.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,"");d&&f(a,c)})}function y(){if("wysiwyg"==a.mode){var b=x("paste");a.getCommand("cut").setState(x("cut"));a.getCommand("copy").setState(x("copy"));a.getCommand("paste").setState(b);a.fire("pasteState",b)}}function x(b){if(E&&b in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==b)return CKEDITOR.TRISTATE_OFF;b=a.getSelection();var c=b.getRanges();return b.getType()==CKEDITOR.SELECTION_NONE||1==c.length&&c[0].collapsed?CKEDITOR.TRISTATE_DISABLED:
+CKEDITOR.TRISTATE_OFF}var z=CKEDITOR.plugins.clipboard,I=0,F=0,E=0;(function(){a.on("key",B);a.on("contentDom",b);a.on("selectionChange",function(a){E=a.data.selection.getRanges()[0].checkReadOnly();y()});if(a.contextMenu){a.contextMenu.addListener(function(a,b){E=b.getRanges()[0].checkReadOnly();return{cut:x("cut"),copy:x("copy"),paste:x("paste")}});var c=null;a.on("menuShow",function(){c&&(c.removeListener(),c=null);var b=a.contextMenu.findItemByCommandName("paste");b&&b.element&&(c=b.element.on("touchend",
+function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once("instanceReady",function(){a._.pasteButtons&&CKEDITOR.tools.array.forEach(a._.pasteButtons,function(b){if(b=a.ui.get(b))if(b=CKEDITOR.document.getById(b._.id))b.on("touchend",function(){a._.forcePasteDialog=!0})})})})();(function(){function b(c,d,g,e,f){var h=a.lang.clipboard[d];a.addCommand(d,g);a.ui.addButton&&a.ui.addButton(c,{label:h,command:d,toolbar:"clipboard,"+e});a.addMenuItems&&a.addMenuItem(d,{label:h,command:d,group:"clipboard",
+order:f})}b("Cut","cut",c("cut"),10,1);b("Copy","copy",c("copy"),20,4);b("Paste","paste",d(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push("Paste")})();a.getClipboardData=function(b,c){function d(a){a.removeListener();a.cancel();c(a.data)}function g(a){a.removeListener();a.cancel();c({type:f,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:"paste"})}var e=!1,f="auto";c||(c=b,b=null);a.on("beforePaste",function(a){a.removeListener();e=!0;f=a.data.type},null,
+null,1E3);a.on("paste",d,null,null,0);!1===m()&&(a.removeListener("paste",d),a._.forcePasteDialog&&e&&a.fire("pasteDialog")?(a.on("pasteDialogCommit",g),a.on("dialogHide",function(a){a.removeListener();a.data.removeListener("pasteDialogCommit",g);a.data._.committed||c(null)})):c(null))}}function e(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&&!a.match(/^(<div><br( ?\/)?><\/div>|<div>[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi)&&!a.match(/^(<p>([^<]|<br( ?\/)?>)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi))return"html"}else return"html";
+return"htmlifiedtext"}function k(a,b){function c(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}b=b.replace(/(?!\u3000)\s+/g," ").replace(/> +</g,"\x3e\x3c").replace(/<br ?\/>/gi,"\x3cbr\x3e");b=b.replace(/<\/?[A-Z]+>/g,function(a){return a.toLowerCase()});if(b.match(/^[^<]$/))return b;CKEDITOR.env.webkit&&-1<b.indexOf("\x3cdiv\x3e")&&(b=b.replace(/^(<div>(<br>|)<\/div>)(?!$|(<div>(<br>|)<\/div>))/g,"\x3cbr\x3e").replace(/^(<div>(<br>|)<\/div>){2}(?!$)/g,"\x3cdiv\x3e\x3c/div\x3e"),
+b.match(/<div>(<br>|)<\/div>/)&&(b="\x3cp\x3e"+b.replace(/(<div>(<br>|)<\/div>)+/g,function(a){return c(a.split("\x3c/div\x3e\x3cdiv\x3e").length+1)})+"\x3c/p\x3e"),b=b.replace(/<\/div><div>/g,"\x3cbr\x3e"),b=b.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(b=b.replace(/^<br><br>$/,"\x3cbr\x3e")),-1<b.indexOf("\x3cbr\x3e\x3cbr\x3e")&&(b="\x3cp\x3e"+b.replace(/(<br>){2,}/g,function(a){return c(a.length/4)})+"\x3c/p\x3e"));return m(a,b)}function d(){function a(){var a=
+{},b;for(b in CKEDITOR.dtd)"$"!=b.charAt(0)&&"div"!=b&&"span"!=b&&(a[b]=1);return a}var b={};return{get:function(c){return"plain-text"==c?b.plainText||(b.plainText=new CKEDITOR.filter("br")):"semantic-content"==c?((c=b.semanticContent)||(c=new CKEDITOR.filter,c.allow({$1:{elements:a(),attributes:!0,styles:!1,classes:!1}}),c=b.semanticContent=c),c):c?new CKEDITOR.filter(c):null}}}function l(a,b,c){b=CKEDITOR.htmlParser.fragment.fromHtml(b);var d=new CKEDITOR.htmlParser.basicWriter;c.applyTo(b,!0,!1,
+a.activeEnterMode);b.writeHtml(d);return d.getHtml()}function m(a,b){a.enterMode==CKEDITOR.ENTER_BR?b=b.replace(/(<\/p><p>)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e",a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(b=b.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return b}function b(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function g(a){var b=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function c(b,d,g){d.select();f(a,{dataTransfer:g,
+method:"drop"},1);g.sourceEditor.fire("saveSnapshot");g.sourceEditor.editable().extractHtmlFromRange(b);g.sourceEditor.getSelection().selectRanges([b]);g.sourceEditor.fire("saveSnapshot")}function d(c,g){c.select();f(a,{dataTransfer:g,method:"drop"},1);b.resetDragDataTransfer()}function g(b,c,d){var e={$:b.data.$,target:b.data.getTarget()};c&&(e.dragRange=c);d&&(e.dropRange=d);!1===a.fire(b.name,e)&&b.data.preventDefault()}function e(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()}
+var h=a.editable(),k=CKEDITOR.plugins.clipboard.getDropTarget(a),l=a.ui.space("top"),m=a.ui.space("bottom");b.preventDefaultDropOnElement(l);b.preventDefaultDropOnElement(m);h.attachListener(k,"dragstart",g);h.attachListener(a,"dragstart",b.resetDragDataTransfer,b,null,1);h.attachListener(a,"dragstart",function(c){b.initDragDataTransfer(c,a)},null,null,2);h.attachListener(a,"dragstart",function(){var c=b.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(b.dragStartContainerChildCount=
+c?e(c.startContainer):null,b.dragEndContainerChildCount=c?e(c.endContainer):null)},null,null,100);h.attachListener(k,"dragend",g);h.attachListener(a,"dragend",b.initDragDataTransfer,b,null,1);h.attachListener(a,"dragend",b.resetDragDataTransfer,b,null,100);h.attachListener(k,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var b=a.data.getTarget();b&&b.is&&b.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&&
+a.data.preventDefault()}});h.attachListener(k,"drop",function(c){if(!c.data.$.defaultPrevented){c.data.preventDefault();var d=c.data.getTarget();if(!d.isReadOnly()||d.type==CKEDITOR.NODE_ELEMENT&&d.is("html")){var d=b.getRangeAtDropPosition(c,a),e=b.dragRange;d&&g(c,e,d)}}},null,null,9999);h.attachListener(a,"drop",b.initDragDataTransfer,b,null,1);h.attachListener(a,"drop",function(g){if(g=g.data){var e=g.dropRange,f=g.dragRange,h=g.dataTransfer;h.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?
+setTimeout(function(){b.internalDrop(f,e,h,a)},0):h.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c(f,e,h):d(e,h)}},null,null,9999)})}var c;CKEDITOR.plugins.add("clipboard",{requires:"dialog,notification,toolbar",init:function(a){var b,c=d();a.config.forcePasteAsPlainText?b="plain-text":a.config.pasteFilter?b=a.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in a.config||(b="semantic-content");a.pasteFilter=c.get(b);h(a);g(a);CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+
+"dialogs/paste.js"));if(CKEDITOR.env.gecko){var f=["image/png","image/jpeg","image/gif"],m;a.on("paste",function(b){var c=b.data,d=c.dataTransfer;if(!c.dataValue&&"paste"==c.method&&d&&1==d.getFilesCount()&&m!=d.id&&(d=d.getFile(0),-1!=CKEDITOR.tools.indexOf(f,d.type))){var g=new FileReader;g.addEventListener("load",function(){b.data.dataValue='\x3cimg src\x3d"'+g.result+'" /\x3e';a.fire("paste",b.data)},!1);g.addEventListener("abort",function(){a.fire("paste",b.data)},!1);g.addEventListener("error",
+function(){a.fire("paste",b.data)},!1);g.readAsDataURL(d);m=c.dataTransfer.id;b.stop()}},null,null,1)}a.on("paste",function(b){b.data.dataTransfer||(b.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!b.data.dataValue){var c=b.data.dataTransfer,d=c.getData("text/html");if(d)b.data.dataValue=d,b.data.type="html";else if(d=c.getData("text/plain"))b.data.dataValue=a.editable().transformPlainTextToHtml(d),b.data.type="text"}},null,null,1);a.on("paste",function(a){var b=a.data.dataValue,
+c=CKEDITOR.dtd.$block;-1<b.indexOf("Apple-")&&(b=b.replace(/<span class="Apple-converted-space"> <\/span>/gi," "),"html"!=a.data.type&&(b=b.replace(/<span class="Apple-tab-span"[^>]*>([^<]*)<\/span>/gi,function(a,b){return b.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1<b.indexOf('\x3cbr class\x3d"Apple-interchange-newline"\x3e')&&(a.data.startsWithEOL=1,a.data.preSniffing="html",b=b.replace(/<br class="Apple-interchange-newline">/,"")),b=b.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));
+if(b.match(/^<[^<]+cke_(editable|contents)/i)){var d,g,e=new CKEDITOR.dom.element("div");for(e.setHtml(b);1==e.getChildCount()&&(d=e.getFirst())&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasClass("cke_editable")||d.hasClass("cke_contents"));)e=g=d;g&&(b=g.getHtml().replace(/<br>$/i,""))}CKEDITOR.env.ie?b=b.replace(/^ (?: |\r\n)?<(\w+)/g,function(b,d){return d.toLowerCase()in c?(a.data.preSniffing="html","\x3c"+d):b}):CKEDITOR.env.webkit?b=b.replace(/<\/(\w+)><div><br><\/div>$/,function(b,d){return d in
+c?(a.data.endsWithEOL=1,"\x3c/"+d+"\x3e"):b}):CKEDITOR.env.gecko&&(b=b.replace(/(\s)<br>$/,"$1"));a.data.dataValue=b},null,null,3);a.on("paste",function(b){b=b.data;var d=a._.nextPasteType||b.type,g=b.dataValue,f,h=a.config.clipboard_defaultContentType||"html",m=b.dataTransfer.getTransferType(a)==CKEDITOR.DATA_TRANSFER_EXTERNAL,n=!0===a.config.forcePasteAsPlainText;f="html"==d||"html"==b.preSniffing?"html":e(g);delete a._.nextPasteType;"htmlifiedtext"==f&&(g=k(a.config,g));if("text"==d&&"html"==f)g=
+l(a,g,c.get("plain-text"));else if(m&&a.pasteFilter&&!b.dontFilter||n)g=l(a,g,a.pasteFilter);b.startsWithEOL&&(g='\x3cbr data-cke-eol\x3d"1"\x3e'+g);b.endsWithEOL&&(g+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==d&&(d="html"==f||"html"==h?"html":"text");b.type=d;b.dataValue=g;delete b.preSniffing;delete b.startsWithEOL;delete b.endsWithEOL},null,null,6);a.on("paste",function(b){b=b.data;b.dataValue&&(a.insertHtml(b.dataValue,b.type,b.range),setTimeout(function(){a.fire("afterPaste")},0))},null,null,
+1E3);a.on("pasteDialog",function(b){setTimeout(function(){a.openDialog("paste",b.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:(!CKEDITOR.env.ie||16<=CKEDITOR.env.version)&&!CKEDITOR.env.iOS,isCustomDataTypesSupported:!CKEDITOR.env.ie||16<=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9<CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&&!CKEDITOR.env.edge?"beforepaste":"paste",addPasteButton:function(a,b,c){a.ui.addButton&&(a.ui.addButton(b,c),a._.pasteButtons||
+(a._.pasteButtons=[]),a._.pasteButtons.push(b))},canClipboardApiBeTrusted:function(a,b){return a.getTransferType(b)!=CKEDITOR.DATA_TRANSFER_EXTERNAL||CKEDITOR.env.chrome&&!a.isEmpty()||CKEDITOR.env.gecko&&(a.getData("text/html")||a.getFilesCount())||CKEDITOR.env.safari&&603<=CKEDITOR.env.version&&!CKEDITOR.env.iOS||CKEDITOR.env.edge&&16<=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var b=a.editable();return CKEDITOR.env.ie&&9>CKEDITOR.env.version||b.isInline()?b:a.document},fixSplitNodesAfterDrop:function(a,
+b,c,d){function g(a,c,d){var e=a;e.type==CKEDITOR.NODE_TEXT&&(e=a.getParent());if(e.equals(c)&&d!=c.getChildCount())return a=b.startContainer.getChild(b.startOffset-1),c=b.startContainer.getChild(b.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&c&&c.type==CKEDITOR.NODE_TEXT&&(d=a.getLength(),a.setText(a.getText()+c.getText()),c.remove(),b.setStart(a,d),b.collapse(!0)),!0}var e=b.startContainer;"number"==typeof d&&"number"==typeof c&&e.type==CKEDITOR.NODE_ELEMENT&&(g(a.startContainer,e,c)||g(a.endContainer,
+e,d))},isDropRangeAffectedByDragRange:function(a,b){var c=b.startContainer,d=b.endOffset;return a.endContainer.equals(c)&&a.endOffset<=d||a.startContainer.getParent().equals(c)&&a.startContainer.getIndex()<d||a.endContainer.getParent().equals(c)&&a.endContainer.getIndex()<d?!0:!1},internalDrop:function(a,b,c,d){var g=CKEDITOR.plugins.clipboard,e=d.editable(),h,k;d.fire("saveSnapshot");d.fire("lockSnapshot",{dontUpdate:1});CKEDITOR.env.ie&&10>CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,b,g.dragStartContainerChildCount,
+g.dragEndContainerChildCount);(k=this.isDropRangeAffectedByDragRange(a,b))||(h=a.createBookmark(!1));g=b.clone().createBookmark(!1);k&&(h=a.createBookmark(!1));a=h.startNode;b=h.endNode;k=g.startNode;b&&a.getPosition(k)&CKEDITOR.POSITION_PRECEDING&&b.getPosition(k)&CKEDITOR.POSITION_FOLLOWING&&k.insertBefore(a);a=d.createRange();a.moveToBookmark(h);e.extractHtmlFromRange(a,1);b=d.createRange();b.moveToBookmark(g);f(d,{dataTransfer:c,method:"drop",range:b},1);d.fire("unlockSnapshot")},getRangeAtDropPosition:function(a,
+b){var c=a.data.$,d=c.clientX,g=c.clientY,e=b.getSelection(!0).getRanges()[0],f=b.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&b.document.$.caretRangeFromPoint(d,g))c=b.document.$.caretRangeFromPoint(d,g),f.setStart(CKEDITOR.dom.node(c.startContainer),c.startOffset),f.collapse(!0);else if(c.rangeParent)f.setStart(CKEDITOR.dom.node(c.rangeParent),c.rangeOffset),f.collapse(!0);else{if(CKEDITOR.env.ie&&8<CKEDITOR.env.version&&e&&b.editable().hasFocus)return e;
+if(document.body.createTextRange){b.focus();c=b.document.getBody().$.createTextRange();try{for(var h=!1,k=0;20>k&&!h;k++){if(!h)try{c.moveToPoint(d,g-k),h=!0}catch(l){}if(!h)try{c.moveToPoint(d,g+k),h=!0}catch(m){}}if(h){var u="cke-temp-"+(new Date).getTime();c.pasteHTML('\x3cspan id\x3d"'+u+'"\x3e\x3c/span\x3e');var y=b.document.getById(u);f.moveToPosition(y,CKEDITOR.POSITION_BEFORE_START);y.remove()}else{var x=b.document.$.elementFromPoint(d,g),z=new CKEDITOR.dom.element(x),I;if(z.equals(b.editable())||
+"html"==z.getName())return e&&e.startContainer&&!e.startContainer.equals(b.editable())?e:null;I=z.getClientRect();d<I.left?f.setStartAt(z,CKEDITOR.POSITION_AFTER_START):f.setStartAt(z,CKEDITOR.POSITION_BEFORE_END);f.collapse(!0)}}catch(F){return null}}else return null}return f},initDragDataTransfer:function(a,b){var c=a.data.$?a.data.$.dataTransfer:null,d=new this.dataTransfer(c,b);"dragstart"===a.name&&d.storeId();c?this.dragData&&d.id==this.dragData.id?d=this.dragData:this.dragData=d:this.dragData?
+d=this.dragData:this.dragData=d;a.data.dataTransfer=d},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,b){if(this.isCustomCopyCutSupported){if(a&&a.data&&a.data.$){var c=a.data.$.clipboardData,d=new this.dataTransfer(c,b);"copy"!==a.name&&"cut"!==a.name||d.storeId();this.copyCutData&&d.id==this.copyCutData.id?(d=this.copyCutData,d.$=c):this.copyCutData=d;return d}return new this.dataTransfer(null,b)}return new this.dataTransfer(CKEDITOR.env.edge&&a&&a.data.$&&
+a.data.$.clipboardData||null,b)},preventDefaultDropOnElement:function(a){a&&a.on("dragover",b)}};c=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?"cke/id":"Text";CKEDITOR.plugins.clipboard.dataTransfer=function(a,b){a&&(this.$=a);this._={metaRegExp:/^<meta.*?>/i,bodyRegExp:/<body(?:[\s\S]*?)>([\s\S]*)<\/body>/i,fragmentRegExp:/\x3c!--(?:Start|End)Fragment--\x3e/g,data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"==a?"Text":"url"==a?
+"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(c);this.id||(this.id="Text"==c?"":"cke-"+CKEDITOR.tools.getUniqueId());b&&(this.sourceEditor=b,this.setData("text/html",b.getSelectedHtml(1)),"Text"==c||this.getData("text/plain")||this.setData("text/plain",b.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype=
+{getData:function(a,b){a=this._.normalizeType(a);var c="text/html"==a&&b?this._.nativeHtmlCache:this._.data[a];if(void 0===c||null===c||""===c){if(this._.fallbackDataTransfer.isRequired())c=this._.fallbackDataTransfer.getData(a,b);else try{c=this.$.getData(a)||""}catch(d){c=""}"text/html"!=a||b||(c=this._stripHtml(c))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"==c.substring(0,7)&&(c="");if("string"===typeof c)var g=c.indexOf("\x3c/html\x3e"),c=-1!==g?c.substring(0,g+7):c;return c},
+setData:function(a,b){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(b),this._.nativeHtmlCache=b):this._.data[a]=b;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==c&&"Text"==a&&(this.id=b),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,b);else try{this.$.setData(a,b)}catch(d){}},storeId:function(){"Text"!==c&&this.setData(c,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor==
+a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},cacheData:function(){function a(a){a=b._.normalizeType(a);var c=b.getData(a);"text/html"==a&&(b._.nativeHtmlCache=b.getData(a,!0),c=b._stripHtml(c));c&&(b._.data[a]=c)}if(this.$){var b=this,c,d;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(c=0;c<this.$.types.length;c++)a(this.$.types[c])}else a("Text"),a("URL");d=this._getImageFromClipboard();if(this.$&&this.$.files||
+d){this._.files=[];if(this.$.files&&this.$.files.length)for(c=0;c<this.$.files.length;c++)this._.files.push(this.$.files[c]);0===this._.files.length&&d&&this._.files.push(d)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&&this.$.files&&this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&&this.$.files&&this.$.files.length?this.$.files[a]:0===a?this._getImageFromClipboard():
+void 0},isEmpty:function(){var a={},b;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.objectKeys(this._.data),function(b){a[b]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var d=0;d<this.$.types.length;d++)a[this.$.types[d]]=1}else a.Text=1,a.URL=1;"Text"!=c&&(a[c]=0);for(b in a)if(a[b]&&""!==this.getData(b))return!1;return!0},_getImageFromClipboard:function(){var a;if(this.$&&this.$.items&&this.$.items[0])try{if((a=this.$.items[0].getAsFile())&&
+a.type)return a}catch(b){}},_stripHtml:function(a){if(a&&a.length){a=a.replace(this._.metaRegExp,"");var b=this._.bodyRegExp.exec(a);b&&b.length&&(a=b[1],a=a.replace(this._.fragmentRegExp,""))}return a}};CKEDITOR.plugins.clipboard.fallbackDataTransfer=function(a){this._dataTransfer=a;this._customDataFallbackType="text/html"};CKEDITOR.plugins.clipboard.fallbackDataTransfer._isCustomMimeTypeSupported=null;CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes=[];CKEDITOR.plugins.clipboard.fallbackDataTransfer.prototype=
+{isRequired:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer,b=this._dataTransfer.$;if(null===a._isCustomMimeTypeSupported)if(b){a._isCustomMimeTypeSupported=!1;if(CKEDITOR.env.edge&&17<=CKEDITOR.env.version)return!0;try{b.setData("cke/mimetypetest","cke test value"),a._isCustomMimeTypeSupported="cke test value"===b.getData("cke/mimetypetest"),b.clearData("cke/mimetypetest")}catch(c){}}else return!1;return!a._isCustomMimeTypeSupported},getData:function(a,b){var c=this._getData(this._customDataFallbackType,
+!0);if(b)return c;var c=this._extractDataComment(c),d=null,d=a===this._customDataFallbackType?c.content:c.data&&c.data[a]?c.data[a]:this._getData(a,!0);return null!==d?d:""},setData:function(a,b){var c=a===this._customDataFallbackType;c&&(b=this._applyDataComment(b,this._getFallbackTypeData()));var d=b,g=this._dataTransfer.$;try{g.setData(a,d),c&&(this._dataTransfer._.nativeHtmlCache=d)}catch(e){if(this._isUnsupportedMimeTypeError(e)){c=CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(c._customTypes,
+a)&&c._customTypes.push(a);var c=this._getFallbackTypeContent(),f=this._getFallbackTypeData();f[a]=d;try{d=this._applyDataComment(c,f),g.setData(this._customDataFallbackType,d),this._dataTransfer._.nativeHtmlCache=d}catch(h){d=""}}}return d},_getData:function(a,b){var c=this._dataTransfer._.data;if(!b&&c[a])return c[a];try{return this._dataTransfer.$.getData(a)}catch(d){return null}},_getFallbackTypeContent:function(){var a=this._dataTransfer._.data[this._customDataFallbackType];a||(a=this._extractDataComment(this._getData(this._customDataFallbackType,
+!0)).content);return a},_getFallbackTypeData:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes,b=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).data||{},c=this._dataTransfer._.data;CKEDITOR.tools.array.forEach(a,function(a){void 0!==c[a]?b[a]=c[a]:void 0!==b[a]&&(b[a]=b[a])},this);return b},_isUnsupportedMimeTypeError:function(a){return a.message&&-1!==a.message.search(/element not found/gi)},_extractDataComment:function(a){var b={data:null,content:a||
+""};if(a&&16<a.length){var c;(c=/\x3c!--cke-data:(.*?)--\x3e/g.exec(a))&&c[1]&&(b.data=JSON.parse(decodeURIComponent(c[1])),b.content=a.replace(c[0],""))}return b},_applyDataComment:function(a,b){var c="";b&&CKEDITOR.tools.objectKeys(b).length&&(c="\x3c!--cke-data:"+encodeURIComponent(JSON.stringify(b))+"--\x3e");return c+(a&&a.length?a:"")}}}(),CKEDITOR.config.clipboard_notificationDuration=1E4,function(){CKEDITOR.plugins.add("panel",{beforeInit:function(e){e.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}});
+CKEDITOR.UI_PANEL="panel";CKEDITOR.ui.panel=function(e,d){d&&CKEDITOR.tools.extend(this,d);CKEDITOR.tools.extend(this,{className:"",css:[]});this.id=CKEDITOR.tools.getNextId();this.document=e;this.isFramed=this.forceIFrame||this.css.length;this._={blocks:{}}};CKEDITOR.ui.panel.handler={create:function(e){return new CKEDITOR.ui.panel(e)}};var f=CKEDITOR.addTemplate("panel",'\x3cdiv lang\x3d"{langCode}" id\x3d"{id}" dir\x3d{dir} class\x3d"cke cke_reset_all {editorId} cke_panel cke_panel {cls} cke_{dir}" style\x3d"z-index:{z-index}" role\x3d"presentation"\x3e{frame}\x3c/div\x3e'),
+h=CKEDITOR.addTemplate("panel-frame",'\x3ciframe id\x3d"{id}" class\x3d"cke_panel_frame" role\x3d"presentation" frameborder\x3d"0" src\x3d"{src}"\x3e\x3c/iframe\x3e'),e=CKEDITOR.addTemplate("panel-frame-inner",'\x3c!DOCTYPE html\x3e\x3chtml class\x3d"cke_panel_container {env}" dir\x3d"{dir}" lang\x3d"{langCode}"\x3e\x3chead\x3e{css}\x3c/head\x3e\x3cbody class\x3d"cke_{dir}" style\x3d"margin:0;padding:0" onload\x3d"{onload}"\x3e\x3c/body\x3e\x3c/html\x3e');CKEDITOR.ui.panel.prototype={render:function(k,
+d){this.getHolderElement=function(){var b=this._.holder;if(!b){if(this.isFramed){var b=this.document.getById(this.id+"_frame"),d=b.getParent(),b=b.getFrameDocument();CKEDITOR.env.iOS&&d.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"});d=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded=!0;if(this.onLoad)this.onLoad()},this));b.write(e.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:"window.parent.CKEDITOR.tools.callFunction("+
+d+");"},l)));b.getWindow().$.CKEDITOR=CKEDITOR;b.on("keydown",function(b){var a=b.data.getKeystroke(),d=this.document.getById(this.id).getAttribute("dir");this._.onKeyDown&&!1===this._.onKeyDown(a)?b.data.preventDefault():(27==a||a==("rtl"==d?39:37))&&this.onEscape&&!1===this.onEscape(a)&&b.data.preventDefault()},this);b=b.getBody();b.unselectable();CKEDITOR.env.air&&CKEDITOR.tools.callFunction(d)}else b=this.document.getById(this.id);this._.holder=b}return b};var l={editorId:k.id,id:this.id,langCode:k.langCode,
+dir:k.lang.dir,cls:this.className,frame:"",env:CKEDITOR.env.cssClass,"z-index":k.config.baseFloatZIndex+1};if(this.isFramed){var m=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?"javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";l.frame=h.output({id:this.id+"_frame",src:m})}m=f.output(l);d&&d.push(m);return m},addBlock:function(e,d){d=this._.blocks[e]=d instanceof CKEDITOR.ui.panel.block?d:new CKEDITOR.ui.panel.block(this.getHolderElement(),
+d);this._.currentBlock||this.showBlock(e);return d},getBlock:function(e){return this._.blocks[e]},showBlock:function(e){e=this._.blocks[e];var d=this._.currentBlock,f=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");d&&d.hide();this._.currentBlock=e;CKEDITOR.fire("ariaWidget",f);e._.focusIndex=-1;this._.onKeyDown=e.onKeyDown&&CKEDITOR.tools.bind(e.onKeyDown,e);e.show();return e},destroy:function(){this.element&&this.element.remove()}};CKEDITOR.ui.panel.block=
+CKEDITOR.tools.createClass({$:function(e,d){this.element=e.append(e.getDocument().createElement("div",{attributes:{tabindex:-1,"class":"cke_panel_block"},styles:{display:"none"}}));d&&CKEDITOR.tools.extend(this,d);this.element.setAttributes({role:this.attributes.role||"presentation","aria-label":this.attributes["aria-label"],title:this.attributes.title||this.attributes["aria-label"]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(e){-1!=e&&(e=this.element.getElementsByTag("a").getItem(this._.focusIndex=
+e),CKEDITOR.env.webkit&&e.getDocument().getWindow().focus(),e.focus(),this.onMark&&this.onMark(e))},markFirstDisplayed:function(e){for(var d=function(b){return b.type==CKEDITOR.NODE_ELEMENT&&"none"==b.getStyle("display")},f=this._.getItems(),h,b,g=f.count()-1;0<=g;g--)if(h=f.getItem(g),h.getAscendant(d)||(b=h,this._.focusIndex=g),"true"==h.getAttribute("aria-selected")){b=h;this._.focusIndex=g;break}b&&(e&&e(),CKEDITOR.env.webkit&&b.getDocument().getWindow().focus(),b.focus(),this.onMark&&this.onMark(b))},
+getItems:function(){return this.element.getElementsByTag("a")}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){this.onHide&&!0===this.onHide.call(this)||this.element.setStyle("display","none")},onKeyDown:function(e,d){var f=this.keys[e];switch(f){case "next":for(var h=this._.focusIndex,f=this.element.getElementsByTag("a"),b;b=f.getItem(++h);)if(b.getAttribute("_cke_focus")&&b.$.offsetWidth){this._.focusIndex=h;b.focus();break}return b||d?!1:(this._.focusIndex=-1,this.onKeyDown(e,
+1));case "prev":h=this._.focusIndex;for(f=this.element.getElementsByTag("a");0<h&&(b=f.getItem(--h));){if(b.getAttribute("_cke_focus")&&b.$.offsetWidth){this._.focusIndex=h;b.focus();break}b=null}return b||d?!1:(this._.focusIndex=f.count(),this.onKeyDown(e,1));case "click":case "mouseup":return h=this._.focusIndex,(b=0<=h&&this.element.getElementsByTag("a").getItem(h))&&(b.$[f]?b.$[f]():b.$["on"+f]()),!1}return!0}}})}(),CKEDITOR.plugins.add("floatpanel",{requires:"panel"}),function(){function f(e,
+f,d,l,m){m=CKEDITOR.tools.genKey(f.getUniqueId(),d.getUniqueId(),e.lang.dir,e.uiColor||"",l.css||"",m||"");var b=h[m];b||(b=h[m]=new CKEDITOR.ui.panel(f,l),b.element=d.append(CKEDITOR.dom.element.createFromHtml(b.render(e),f)),b.element.setStyles({display:"none",position:"absolute"}));return b}var h={};CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(e,h,d,l){function m(){a.hide()}d.forceIFrame=1;d.toolbarRelated&&e.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(h=CKEDITOR.document.getById("cke_"+
+e.name));var b=h.getDocument();l=f(e,b,h,d,l||0);var g=l.element,c=g.getFirst(),a=this;g.disableContextMenu();this.element=g;this._={editor:e,panel:l,parentElement:h,definition:d,document:b,iframe:c,children:[],dir:e.lang.dir,showBlockParams:null};e.on("mode",m);e.on("resize",m);b.getWindow().on("resize",function(){this.reposition()},this)},proto:{addBlock:function(e,f){return this._.panel.addBlock(e,f)},addListBlock:function(e,f){return this._.panel.addListBlock(e,f)},getBlock:function(e){return this._.panel.getBlock(e)},
+showBlock:function(e,f,d,h,m,b){var g=this._.panel,c=g.showBlock(e);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var a=this._.editor.editable();this._.returnFocus=a.hasFocus?a:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement);this._.hideTimeout=0;var n=this.element,a=this._.iframe,a=CKEDITOR.env.ie&&!CKEDITOR.env.edge?a:new CKEDITOR.dom.window(a.$.contentWindow),w=n.getDocument(),v=this._.parentElement.getPositionedAncestor(),t=f.getDocumentPosition(w),w=v?v.getDocumentPosition(w):
+{x:0,y:0},p="rtl"==this._.dir,q=t.x+(h||0)-w.x,A=t.y+(m||0)-w.y;!p||1!=d&&4!=d?p||2!=d&&3!=d||(q+=f.$.offsetWidth-1):q+=f.$.offsetWidth;if(3==d||4==d)A+=f.$.offsetHeight-1;this._.panel._.offsetParentId=f.getId();n.setStyles({top:A+"px",left:0,display:""});n.setOpacity(0);n.getFirst().removeStyle("width");this._.editor.focusManager.add(a);this._.blurSet||(CKEDITOR.event.useCapture=!0,a.on("blur",function(a){function b(){delete this._.returnFocus;this.hide()}this.allowBlur()&&a.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&&
+this.visible&&!this._.activeChild&&(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(b,0,this)):b.call(this))},this),a.on("focus",function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)},this),CKEDITOR.env.iOS&&(a.on("touchstart",function(){clearTimeout(this._.hideTimeout)},this),a.on("touchend",function(){this._.hideTimeout=0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);g.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&&
+!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=n;a.removeStyle("width");if(c.autoSize){var d=c.element.getDocument(),d=(CKEDITOR.env.webkit||CKEDITOR.env.edge?c.element:d.getBody()).$.scrollWidth;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<d&&(d+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle("width",d+10+"px");d=c.element.$.scrollHeight;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<d&&(d+=(a.$.offsetHeight||0)-(a.$.clientHeight||
+0)+3);a.setStyle("height",d+"px");g._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");p&&(q-=n.$.offsetWidth);n.setStyle("left",q+"px");var d=g.element.getWindow(),a=n.$.getBoundingClientRect(),d=d.getViewPaneSize(),e=a.width||a.right-a.left,f=a.height||a.bottom-a.top,h=p?a.right:d.width-a.left,k=p?d.width-a.right:a.left;p?h<e&&(q=k>e?q+e:d.width>e?q-a.left:q-a.right+d.width):h<e&&(q=k>e?q-e:d.width>e?q-a.right+d.width:q-a.left);e=a.top;d.height-
+a.top<f&&(A=e>f?A-f:d.height>f?A-a.bottom+d.height:A-a.top);CKEDITOR.env.ie&&(d=a=new CKEDITOR.dom.element(n.$.offsetParent),"html"==d.getName()&&(d=d.getDocument().getBody()),"rtl"==d.getComputedStyle("direction")&&(q=CKEDITOR.env.ie8Compat?q-2*n.getDocument().getDocumentElement().$.scrollLeft:q-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),l;(l=a.getCustomData("activePanel"))&&l.onHide&&l.onHide.call(this,1);a.setCustomData("activePanel",this);n.setStyles({top:A+"px",left:q+"px"});n.setOpacity(1);
+b&&b()},this);g.isLoaded?a():g.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();c.element.focus();CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){c.markFirstDisplayed?c.markFirstDisplayed():c._.markFirstDisplayed()},0):c.markFirstDisplayed?c.markFirstDisplayed():c._.markFirstDisplayed();this._.editor.fire("panelShow",this)},
+0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var e=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(),this.showBlock.apply(this,e))},focus:function(){if(CKEDITOR.env.webkit){var e=CKEDITOR.document.getActive();e&&!e.equals(this._.iframe)&&e.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var e=this._.iframe.getFrameDocument().getActive();e&&e.is("a")&&(this._.lastFocused=
+e)},hide:function(e){if(this.visible&&(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&&this._.iframe.getFrameDocument().$.activeElement.blur();this.element.setStyle("display","none");this.visible=0;this.element.getFirst().removeCustomData("activePanel");if(e=e&&this._.returnFocus)CKEDITOR.env.webkit&&e.type&&e.getWindow().$.focus(),e.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire("panelHide",this)}},allowBlur:function(e){var f=this._.panel;
+void 0!==e&&(f.allowBlur=e);return f.allowBlur},showAsChild:function(e,f,d,h,m,b){if(this._.activeChild!=e||e._.panel._.offsetParentId!=d.getId())this.hideChild(),e.onHide=CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=e,this._.focused=!1,e.showBlock(f,d,h,m,b),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){e.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(e){var f=
+this._.activeChild;f&&(delete f.onHide,delete this._.activeChild,f.hide(),e&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var e=CKEDITOR.tools.isEmpty(CKEDITOR.instances),f;for(f in h){var d=h[f];e?d.destroy():d.element.hide()}e&&(h={})})}(),CKEDITOR.plugins.add("menu",{requires:"floatpanel",beforeInit:function(f){for(var h=f.config.menu_groups.split(","),e=f._.menuGroups={},k=f._.menuItems={},d=0;d<h.length;d++)e[h[d]]=d+1;f.addMenuGroup=function(d,f){e[d]=f||100};f.addMenuItem=function(d,
+f){e[f.group]&&(k[d]=new CKEDITOR.menuItem(this,d,f))};f.addMenuItems=function(d){for(var e in d)this.addMenuItem(e,d[e])};f.getMenuItem=function(d){return k[d]};f.removeMenuItem=function(d){delete k[d]}}}),function(){function f(d){d.sort(function(d,b){return d.group<b.group?-1:d.group>b.group?1:d.order<b.order?-1:d.order>b.order?1:0})}var h='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{label}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"';
+CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(h+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(h+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');var h=h+(' onmouseover\x3d"CKEDITOR.tools.callFunction({hoverFn},{index});" onmouseout\x3d"CKEDITOR.tools.callFunction({moveOutFn},{index});" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;"\x3e'),e=CKEDITOR.addTemplate("menuItem",
+h+'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e'),k=CKEDITOR.addTemplate("menuArrow",'\x3cspan class\x3d"cke_menuarrow"\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e'),
+d=CKEDITOR.addTemplate("menuShortcut",'\x3cspan class\x3d"cke_menubutton_label cke_menubutton_shortcut"\x3e{shortcut}\x3c/span\x3e');CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(d,e){e=this._.definition=e||{};this.id=CKEDITOR.tools.getNextId();this.editor=d;this.items=[];this._.listeners=[];this._.level=e.level||1;var b=CKEDITOR.tools.extend({},e.panel,{css:[CKEDITOR.skin.getPath("editor")],level:this._.level-1,block:{}}),g=b.block.attributes=b.attributes||{};!g.role&&(g.role="menu");this._.panelDefinition=
+b},_:{onShow:function(){var d=this.editor.getSelection(),e=d&&d.getStartElement(),b=this.editor.elementPath(),g=this._.listeners;this.removeAll();for(var c=0;c<g.length;c++){var a=g[c](e,d,b);if(a)for(var f in a){var h=this.editor.getMenuItem(f);!h||h.command&&!this.editor.getCommand(h.command).state||(h.state=a[f],this.add(h))}}},onClick:function(d){this.hide();if(d.onClick)d.onClick();else d.command&&this.editor.execCommand(d.command)},onEscape:function(d){var e=this.parent;e?e._.panel.hideChild(1):
+27==d&&this.hide(1);return!1},onHide:function(){this.onHide&&this.onHide()},showSubMenu:function(d){var e=this._.subMenu,b=this.items[d];if(b=b.getItems&&b.getItems()){e?e.removeAll():(e=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),e.parent=this,e._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var g in b){var c=this.editor.getMenuItem(g);c&&(c.state=b[g],e.add(c))}var a=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+
+String(d));setTimeout(function(){e.show(a,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(d){d.order||(d.order=this.items.length);this.items.push(d)},removeAll:function(){this.items=[]},show:function(d,e,b,g){if(!this.parent&&(this._.onShow(),!this.items.length))return;e=e||("rtl"==this.editor.lang.dir?2:1);var c=this.items,a=this.editor,h=this._.panel,k=this._.element;if(!h){h=this._.panel=new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);
+h.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);h.onShow=function(){h._.panel.getHolderElement().getParent().addClass("cke").addClass("cke_reset_all")};h.onHide=CKEDITOR.tools.bind(function(){this._.onHide&&this._.onHide()},this);k=h.addBlock(this.id,this._.panelDefinition.block);k.autoSize=!0;var v=k.keys;v[40]="next";v[9]="next";v[38]="prev";v[CKEDITOR.SHIFT+9]="prev";v["rtl"==a.lang.dir?37:39]=CKEDITOR.env.ie?"mouseup":"click";v[32]=CKEDITOR.env.ie?"mouseup":
+"click";CKEDITOR.env.ie&&(v[13]="mouseup");k=this._.element=k.element;v=k.getDocument();v.getBody().setStyle("overflow","hidden");v.getElementsByTag("html").getItem(0).setStyle("overflow","hidden");this._.itemOverFn=CKEDITOR.tools.addFunction(function(b){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,a.config.menu_subMenuDelay||400,this,[b])},this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);
+this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var b=this.items[a];if(b.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(b.getItems)this._.showSubMenu(a);else this._.onClick(b)},this)}f(c);for(var v=a.elementPath(),v=['\x3cdiv class\x3d"cke_menu'+(v&&v.direction()!=a.lang.dir?" cke_mixed_dir_content":"")+'" role\x3d"presentation"\x3e'],t=c.length,p=t&&c[0].group,q=0;q<t;q++){var A=c[q];p!=A.group&&(v.push('\x3cdiv class\x3d"cke_menuseparator" role\x3d"separator"\x3e\x3c/div\x3e'),
+p=A.group);A.render(this,q,v)}v.push("\x3c/div\x3e");k.setHtml(v.join(""));CKEDITOR.ui.fire("ready",this);this.parent?this.parent._.panel.showAsChild(h,this.id,d,e,b,g):h.showBlock(this.id,d,e,b,g);a.fire("menuShow",[h])},addListener:function(d){this._.listeners.push(d)},hide:function(d){this._.onHide&&this._.onHide();this._.panel&&this._.panel.hide(d)},findItemByCommandName:function(d){var e=CKEDITOR.tools.array.filter(this.items,function(b){return d===b.command});return e.length?(e=e[0],{item:e,
+element:this._.element.findOne("."+e.className)}):null}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(d,e,b){CKEDITOR.tools.extend(this,b,{order:0,className:"cke_menubutton__"+e});this.group=d._.menuGroups[this.group];this.editor=d;this.name=e},proto:{render:function(f,h,b){var g=f.id+String(h),c="undefined"==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,a="",n=this.editor,w,v,t=c==CKEDITOR.TRISTATE_ON?"on":c==CKEDITOR.TRISTATE_DISABLED?"disabled":"off";this.role in{menuitemcheckbox:1,
+menuitemradio:1}&&(a=' aria-checked\x3d"'+(c==CKEDITOR.TRISTATE_ON?"true":"false")+'"');var p=this.getItems,q="\x26#"+("rtl"==this.editor.lang.dir?"9668":"9658")+";",A=this.name;this.icon&&!/\./.test(this.icon)&&(A=this.icon);this.command&&(w=n.getCommand(this.command),(w=n.getCommandKeystroke(w))&&(v=CKEDITOR.tools.keystrokeToString(n.lang.common.keyboard,w)));f={id:g,name:this.name,iconName:A,label:this.label,cls:this.className||"",state:t,hasPopup:p?"true":"false",disabled:c==CKEDITOR.TRISTATE_DISABLED,
+title:this.label+(v?" ("+v.display+")":""),ariaShortcut:v?n.lang.common.keyboardShortcut+" "+v.aria:"",href:"javascript:void('"+(this.label||"").replace("'")+"')",hoverFn:f._.itemOverFn,moveOutFn:f._.itemOutFn,clickFn:f._.itemClickFn,index:h,iconStyle:CKEDITOR.skin.getIconStyle(A,"rtl"==this.editor.lang.dir,A==this.icon?null:this.icon,this.iconOffset),shortcutHtml:v?d.output({shortcut:v.display}):"",arrowHtml:p?k.output({label:q}):"",role:this.role?this.role:"menuitem",ariaChecked:a};e.output(f,b)}}})}(),
+CKEDITOR.config.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div",CKEDITOR.plugins.add("contextmenu",{requires:"menu",onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(f){this.base.call(this,f,{panel:{className:"cke_menu_panel",attributes:{"aria-label":f.lang.contextmenu.options}}})},proto:{addTarget:function(f,
+h){f.on("contextmenu",function(d){d=d.data;var f=CKEDITOR.env.webkit?e:CKEDITOR.env.mac?d.$.metaKey:d.$.ctrlKey;if(!h||!f){d.preventDefault();if(CKEDITOR.env.mac&&CKEDITOR.env.webkit){var f=this.editor,k=(new CKEDITOR.dom.elementPath(d.getTarget(),f.editable())).contains(function(a){return a.hasAttribute("contenteditable")},!0);k&&"false"==k.getAttribute("contenteditable")&&f.getSelection().fake(k)}var k=d.getTarget().getDocument(),b=d.getTarget().getDocument().getDocumentElement(),f=!k.equals(CKEDITOR.document),
+k=k.getWindow().getScrollPosition(),g=f?d.$.clientX:d.$.pageX||k.x+d.$.clientX,c=f?d.$.clientY:d.$.pageY||k.y+d.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(b,null,g,c)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var e,k=function(){e=0};f.on("keydown",function(d){e=CKEDITOR.env.mac?d.data.$.metaKey:d.data.$.ctrlKey});f.on("keyup",k);f.on("contextmenu",k)}},open:function(f,h,e,k){!1!==this.editor.config.enableContextMenu&&(this.editor.focus(),f=f||CKEDITOR.document.getDocumentElement(),
+this.editor.selectionChange(1),this.show(f,h,e,k))}}})},beforeInit:function(f){var h=f.contextMenu=new CKEDITOR.plugins.contextMenu(f);f.on("contentDom",function(){h.addTarget(f.editable(),!1!==f.config.browserContextMenuOnCtrl)});f.addCommand("contextMenu",{exec:function(){f.contextMenu.open(f.document.getBody())}});f.setKeystroke(CKEDITOR.SHIFT+121,"contextMenu");f.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,"contextMenu")}}),function(){function f(d,e){function f(b){b=a.list[b];var c;b.equals(d.editable())||
+"true"==b.getAttribute("contenteditable")?(c=d.createRange(),c.selectNodeContents(b),c=c.select()):(c=d.getSelection(),c.selectElement(b));CKEDITOR.env.ie&&d.fire("selectionChange",{selection:c,path:new CKEDITOR.dom.elementPath(b)});d.focus()}function b(){c&&c.setHtml('\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');delete a.list}var g=d.ui.spaceId("path"),c,a=d._.elementsPath,n=a.idBase;e.html+='\x3cspan id\x3d"'+g+'_label" class\x3d"cke_voice_label"\x3e'+d.lang.elementspath.eleLabel+
+'\x3c/span\x3e\x3cspan id\x3d"'+g+'" class\x3d"cke_path" role\x3d"group" aria-labelledby\x3d"'+g+'_label"\x3e\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e';d.on("uiReady",function(){var a=d.ui.space("path");a&&d.focusManager.add(a,1)});a.onClick=f;var w=CKEDITOR.tools.addFunction(f),v=CKEDITOR.tools.addFunction(function(b,c){var e=a.idBase,g;c=new CKEDITOR.dom.event(c);g="rtl"==d.lang.dir;switch(c.getKeystroke()){case g?39:37:case 9:return(g=CKEDITOR.document.getById(e+
+(b+1)))||(g=CKEDITOR.document.getById(e+"0")),g.focus(),!1;case g?37:39:case CKEDITOR.SHIFT+9:return(g=CKEDITOR.document.getById(e+(b-1)))||(g=CKEDITOR.document.getById(e+(a.list.length-1))),g.focus(),!1;case 27:return d.focus(),!1;case 13:case 32:return f(b),!1}return!0});d.on("selectionChange",function(b){for(var e=[],f=a.list=[],h=[],l=a.filters,m=!0,B=b.data.path.elements,u=B.length;u--;){var y=B[u],x=0;b=y.data("cke-display-name")?y.data("cke-display-name"):y.data("cke-real-element-type")?y.data("cke-real-element-type"):
+y.getName();(m=y.hasAttribute("contenteditable")?"true"==y.getAttribute("contenteditable"):m)||y.hasAttribute("contenteditable")||(x=1);for(var z=0;z<l.length;z++){var I=l[z](y,b);if(!1===I){x=1;break}b=I||b}x||(f.unshift(y),h.unshift(b))}f=f.length;for(l=0;l<f;l++)b=h[l],m=d.lang.elementspath.eleTitle.replace(/%1/,b),b=k.output({id:n+l,label:m,text:b,jsTitle:"javascript:void('"+b+"')",index:l,keyDownFn:v,clickFn:w}),e.unshift(b);c||(c=CKEDITOR.document.getById(g));h=c;h.setHtml(e.join("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');
+d.fire("elementsPathUpdate",{space:h})});d.on("readOnly",b);d.on("contentDomUnload",b);d.addCommand("elementsPathFocus",h.toolbarFocus);d.setKeystroke(CKEDITOR.ALT+122,"elementsPathFocus")}var h={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(d){(d=CKEDITOR.document.getById(d._.elementsPath.idBase+"0"))&&d.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},e="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(e+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(e+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');
+var k=CKEDITOR.addTemplate("pathItem",'\x3ca id\x3d"{id}" href\x3d"{jsTitle}" tabindex\x3d"-1" class\x3d"cke_path_item" title\x3d"{label}"'+e+' hidefocus\x3d"true" onkeydown\x3d"return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );" onclick\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;" role\x3d"button" aria-label\x3d"{label}"\x3e{text}\x3c/a\x3e');CKEDITOR.plugins.add("elementspath",{init:function(d){d._.elementsPath={idBase:"cke_elementspath_"+CKEDITOR.tools.getNextNumber()+
+"_",filters:[]};d.on("uiSpace",function(e){"bottom"==e.data.space&&f(d,e.data)})}})}(),function(){function f(c,a,d){d=c.config.forceEnterMode||d;if("wysiwyg"==c.mode){a||(a=c.activeEnterMode);var e=c.elementPath();e&&!e.isContextFor("p")&&(a=CKEDITOR.ENTER_BR,d=1);c.fire("saveSnapshot");a==CKEDITOR.ENTER_BR?m(c,a,null,d):b(c,a,null,d);c.fire("saveSnapshot")}}function h(b){b=b.getSelection().getRanges(!0);for(var a=b.length-1;0<a;a--)b[a].deleteContents();return b[0]}function e(b){var a=b.startContainer.getAscendant(function(a){return a.type==
+CKEDITOR.NODE_ELEMENT&&"true"==a.getAttribute("contenteditable")},!0);if(b.root.equals(a))return b;a=new CKEDITOR.dom.range(a);a.moveToRange(b);return a}CKEDITOR.plugins.add("enterkey",{init:function(b){b.addCommand("enter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){f(a)}});b.addCommand("shiftEnter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){f(a,a.activeShiftEnterMode,1)}});b.setKeystroke([[13,"enter"],[CKEDITOR.SHIFT+13,"shiftEnter"]])}});var k=CKEDITOR.dom.walker.whitespaces(),d=
+CKEDITOR.dom.walker.bookmark(),l,m,b,g;CKEDITOR.plugins.enterkey={enterBlock:function(b,a,f,l){function v(a){var b;if(a===CKEDITOR.ENTER_BR||-1===CKEDITOR.tools.indexOf(["td","th"],A.lastElement.getName())||1!==A.lastElement.getChildCount())return!1;a=A.lastElement.getChild(0).clone(!0);(b=a.getBogus())&&b.remove();return a.getText().length?!1:!0}if(f=f||h(b)){f=e(f);var t=f.document,p=f.checkStartOfBlock(),q=f.checkEndOfBlock(),A=b.elementPath(f.startContainer),r=A.block,C=a==CKEDITOR.ENTER_DIV?
+"div":"p",B;if(p&&q){if(r&&(r.is("li")||r.getParent().is("li"))){r.is("li")||(r=r.getParent());f=r.getParent();B=f.getParent();l=!r.hasPrevious();var q=!r.hasNext(),C=b.getSelection(),p=C.createBookmarks(),u=r.getDirection(1),y=r.getAttribute("class"),x=r.getAttribute("style"),z=B.getDirection(1)!=u;b=b.enterMode!=CKEDITOR.ENTER_BR||z||x||y;if(B.is("li"))l||q?(l&&q&&f.remove(),r[q?"insertAfter":"insertBefore"](B)):r.breakParent(B);else{if(b)if(A.block.is("li")?(B=t.createElement(a==CKEDITOR.ENTER_P?
+"p":"div"),z&&B.setAttribute("dir",u),x&&B.setAttribute("style",x),y&&B.setAttribute("class",y),r.moveChildren(B)):B=A.block,l||q)B[l?"insertBefore":"insertAfter"](f);else r.breakParent(f),B.insertAfter(f);else if(r.appendBogus(!0),l||q)for(;t=r[l?"getFirst":"getLast"]();)t[l?"insertBefore":"insertAfter"](f);else for(r.breakParent(f);t=r.getLast();)t.insertAfter(f);r.remove()}C.selectBookmarks(p);return}if(r&&r.getParent().is("blockquote")){r.breakParent(r.getParent());r.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||
+r.getPrevious().remove();r.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||r.getNext().remove();f.moveToElementEditStart(r);f.select();return}}else if(r&&r.is("pre")&&!q){m(b,a,f,l);return}if(x=f.splitBlock(C)){b=x.previousBlock;r=x.nextBlock;p=x.wasStartOfBlock;q=x.wasEndOfBlock;r?(u=r.getParent(),u.is("li")&&(r.breakParent(u),r.move(r.getNext(),1))):b&&(u=b.getParent())&&u.is("li")&&(b.breakParent(u),u=b.getNext(),f.moveToElementEditStart(u),b.move(b.getPrevious()));if(p||q)if(v(a))f.moveToElementEditStart(f.getTouchedStartNode());
+else{if(b){if(b.is("li")||!g.test(b.getName())&&!b.is("pre"))B=b.clone()}else r&&(B=r.clone());B?l&&!B.is("li")&&B.renameNode(C):u&&u.is("li")?B=u:(B=t.createElement(C),b&&(y=b.getDirection())&&B.setAttribute("dir",y));if(t=x.elementPath)for(a=0,l=t.elements.length;a<l;a++){C=t.elements[a];if(C.equals(t.block)||C.equals(t.blockLimit))break;CKEDITOR.dtd.$removeEmpty[C.getName()]&&(C=C.clone(),B.moveChildren(C),B.append(C))}B.appendBogus();B.getParent()||f.insertNode(B);B.is("li")&&B.removeAttribute("value");
+!CKEDITOR.env.ie||!p||q&&b.getChildCount()||(f.moveToElementEditStart(q?b:B),f.select());f.moveToElementEditStart(p&&!q?r:B)}else r.is("li")&&(B=f.clone(),B.selectNodeContents(r),B=new CKEDITOR.dom.walker(B),B.evaluator=function(a){return!(d(a)||k(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in CKEDITOR.dtd.$inline&&!(a.getName()in CKEDITOR.dtd.$empty))},(u=B.next())&&u.type==CKEDITOR.NODE_ELEMENT&&u.is("ul","ol")&&(CKEDITOR.env.needsBrFiller?t.createElement("br"):t.createText(" ")).insertBefore(u)),
+r&&f.moveToElementEditStart(r);f.select();f.scrollIntoView()}}},enterBr:function(c,a,d,e){if(d=d||h(c)){var f=d.document,k=d.checkEndOfBlock(),l=new CKEDITOR.dom.elementPath(c.getSelection().getStartElement()),m=l.block,A=m&&l.block.getName();e||"li"!=A?(!e&&k&&g.test(A)?(k=m.getDirection())?(f=f.createElement("div"),f.setAttribute("dir",k),f.insertAfter(m),d.setStart(f,0)):(f.createElement("br").insertAfter(m),CKEDITOR.env.gecko&&f.createText("").insertAfter(m),d.setStartAt(m.getNext(),CKEDITOR.env.ie?
+CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(c="pre"==A&&CKEDITOR.env.ie&&8>CKEDITOR.env.version?f.createText("\r"):f.createElement("br"),d.deleteContents(),d.insertNode(c),CKEDITOR.env.needsBrFiller?(f.createText("").insertAfter(c),k&&(m||l.blockLimit).appendBogus(),c.getNext().$.nodeValue="",d.setStartAt(c.getNext(),CKEDITOR.POSITION_AFTER_START)):d.setStartAt(c,CKEDITOR.POSITION_AFTER_END)),d.collapse(!0),d.select(),d.scrollIntoView()):b(c,a,d,e)}}};l=CKEDITOR.plugins.enterkey;
+m=l.enterBr;b=l.enterBlock;g=/^h[1-6]$/}(),function(){function f(f,e){var k={},d=[],l={nbsp:" ",shy:"",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};f=f.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(b,a){var g=e?"\x26"+a+";":l[a];k[g]=e?l[a]:"\x26"+a+";";d.push(g);return""});if(!e&&f){f=f.split(",");var m=document.createElement("div"),b;m.innerHTML="\x26"+f.join(";\x26")+";";b=m.innerHTML;m=null;for(m=0;m<b.length;m++){var g=b.charAt(m);k[g]="\x26"+f[m]+";";d.push(g)}}k.regex=d.join(e?
+"|":"");return k}CKEDITOR.plugins.add("entities",{afterInit:function(h){function e(a){return g[a]}function k(a){return"force"!=d.entities_processNumerical&&m[a]?m[a]:"\x26#"+a.charCodeAt(0)+";"}var d=h.config;if(h=(h=h.dataProcessor)&&h.htmlFilter){var l=[];!1!==d.basicEntities&&l.push("nbsp,gt,lt,amp");d.entities&&(l.length&&l.push("quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro"),
+d.entities_latin&&l.push("Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml"),d.entities_greek&&l.push("Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv"),
+d.entities_additional&&l.push(d.entities_additional));var m=f(l.join(",")),b=m.regex?"["+m.regex+"]":"a^";delete m.regex;d.entities&&d.entities_processNumerical&&(b="[^ -~]|"+b);var b=new RegExp(b,"g"),g=f("nbsp,gt,lt,amp,shy",!0),c=new RegExp(g.regex,"g");h.addRules({text:function(a){return a.replace(c,e).replace(b,k)}},{applyToAll:!0,excludeNestedEditable:!0})}}})}(),CKEDITOR.config.basicEntities=!0,CKEDITOR.config.entities=!0,CKEDITOR.config.entities_latin=!0,CKEDITOR.config.entities_greek=!0,
+CKEDITOR.config.entities_additional="#39",CKEDITOR.plugins.add("popup"),CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(f,h,e,k){h=h||"80%";e=e||"70%";"string"==typeof h&&1<h.length&&"%"==h.substr(h.length-1,1)&&(h=parseInt(window.screen.width*parseInt(h,10)/100,10));"string"==typeof e&&1<e.length&&"%"==e.substr(e.length-1,1)&&(e=parseInt(window.screen.height*parseInt(e,10)/100,10));640>h&&(h=640);420>e&&(e=420);var d=parseInt((window.screen.height-e)/2,10),l=parseInt((window.screen.width-
+h)/2,10);k=(k||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+h+",height\x3d"+e+",top\x3d"+d+",left\x3d"+l;var m=window.open("",null,k,!0);if(!m)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(m.moveTo(l,d),m.resizeTo(h,e)),m.focus(),m.location.href=f}catch(b){window.open(f,null,k,!0)}return!0}}),"use strict",function(){function f(d){this.editor=d;this.loaders=
+[]}function h(d,f,h){var b=d.config.fileTools_defaultFileName;this.editor=d;this.lang=d.lang;"string"===typeof f?(this.data=f,this.file=e(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=f,this.total=this.file.size,this.loaded=0);h?this.fileName=h:this.file.name?this.fileName=this.file.name:(d=this.file.type.split("/"),b&&(d[0]=b),this.fileName=d.join("."));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status="created";this.abort=function(){this.changeStatus("abort")}}
+function e(d){var e=d.match(k)[1];d=d.replace(k,"");d=atob(d);var f=[],b,g,c,a;for(b=0;b<d.length;b+=512){g=d.slice(b,b+512);c=Array(g.length);for(a=0;a<g.length;a++)c[a]=g.charCodeAt(a);g=new Uint8Array(c);f.push(g)}return new Blob(f,{type:e})}CKEDITOR.plugins.add("filetools",{beforeInit:function(d){d.uploadRepository=new f(d);d.on("fileUploadRequest",function(d){var e=d.data.fileLoader;e.xhr.open("POST",e.uploadUrl,!0);d.data.requestData.upload={file:e.file,name:e.fileName}},null,null,5);d.on("fileUploadRequest",
+function(e){var f=e.data.fileLoader,b=new FormData;e=e.data.requestData;var g=d.config.fileTools_requestHeaders,c,a;for(a in e){var h=e[a];"object"===typeof h&&h.file?b.append(a,h.file,h.name):b.append(a,h)}b.append("ckCsrfToken",CKEDITOR.tools.getCsrfToken());if(g)for(c in g)f.xhr.setRequestHeader(c,g[c]);f.xhr.send(b)},null,null,999);d.on("fileUploadResponse",function(d){var e=d.data.fileLoader,b=e.xhr,g=d.data;try{var c=JSON.parse(b.responseText);c.error&&c.error.message&&(g.message=c.error.message);
+if(c.uploaded)for(var a in c)g[a]=c[a];else d.cancel()}catch(f){g.message=e.lang.filetools.responseError,CKEDITOR.warn("filetools-response-error",{responseText:b.responseText}),d.cancel()}},null,null,999)}});f.prototype={create:function(d,e,f){f=f||h;var b=this.loaders.length;d=new f(this.editor,d,e);d.id=b;this.loaders[b]=d;this.fire("instanceCreated",d);return d},isFinished:function(){for(var d=0;d<this.loaders.length;++d)if(!this.loaders[d].isFinished())return!1;return!0}};h.prototype={loadAndUpload:function(d,
+e){var f=this;this.once("loaded",function(b){b.cancel();f.once("update",function(b){b.cancel()},null,null,0);f.upload(d,e)},null,null,0);this.load()},load:function(){var d=this,e=this.reader=new FileReader;d.changeStatus("loading");this.abort=function(){d.reader.abort()};e.onabort=function(){d.changeStatus("abort")};e.onerror=function(){d.message=d.lang.filetools.loadError;d.changeStatus("error")};e.onprogress=function(e){d.loaded=e.loaded;d.update()};e.onload=function(){d.loaded=d.total;d.data=e.result;
+d.changeStatus("loaded")};e.readAsDataURL(this.file)},upload:function(d,e){var f=e||{};d?(this.uploadUrl=d,this.xhr=new XMLHttpRequest,this.attachRequestListeners(),this.editor.fire("fileUploadRequest",{fileLoader:this,requestData:f})&&this.changeStatus("uploading")):(this.message=this.lang.filetools.noUrlError,this.changeStatus("error"))},attachRequestListeners:function(){function d(){"error"!=f.status&&(f.message=f.lang.filetools.networkError,f.changeStatus("error"))}function e(){"abort"!=f.status&&
+f.changeStatus("abort")}var f=this,b=this.xhr;f.abort=function(){b.abort();e()};b.onerror=d;b.onabort=e;b.upload?(b.upload.onprogress=function(b){b.lengthComputable&&(f.uploadTotal||(f.uploadTotal=b.total),f.uploaded=b.loaded,f.update())},b.upload.onerror=d,b.upload.onabort=e):(f.uploadTotal=f.total,f.update());b.onload=function(){f.update();if("abort"!=f.status)if(f.uploaded=f.uploadTotal,200>b.status||299<b.status)f.message=f.lang.filetools["httpError"+b.status],f.message||(f.message=f.lang.filetools.httpError.replace("%1",
+b.status)),f.changeStatus("error");else{for(var d={fileLoader:f},c=["message","fileName","url"],a=f.editor.fire("fileUploadResponse",d),e=0;e<c.length;e++){var h=c[e];"string"===typeof d[h]&&(f[h]=d[h])}f.responseData=d;delete f.responseData.fileLoader;!1===a?f.changeStatus("error"):f.changeStatus("uploaded")}}},changeStatus:function(d){this.status=d;if("error"==d||"abort"==d||"loaded"==d||"uploaded"==d)this.abort=function(){};this.fire(d);this.update()},update:function(){this.fire("update")},isFinished:function(){return!!this.status.match(/^(?:loaded|uploaded|error|abort)$/)}};
+CKEDITOR.event.implementOn(f.prototype);CKEDITOR.event.implementOn(h.prototype);var k=/^data:(\S*?);base64,/;CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{uploadRepository:f,fileLoader:h,getUploadUrl:function(d,e){var f=CKEDITOR.tools.capitalize;return e&&d[e+"UploadUrl"]?d[e+"UploadUrl"]:d.uploadUrl?d.uploadUrl:e&&d["filebrowser"+f(e,1)+"UploadUrl"]?d["filebrowser"+f(e,1)+"UploadUrl"]+"\x26responseType\x3djson":d.filebrowserUploadUrl?d.filebrowserUploadUrl+
+"\x26responseType\x3djson":null},isTypeSupported:function(d,e){return!!d.type.match(e)},isFileUploadSupported:"function"===typeof FileReader&&"function"===typeof(new FileReader).readAsDataURL&&"function"===typeof FormData&&"function"===typeof(new FormData).append&&"function"===typeof XMLHttpRequest&&"function"===typeof Blob})}(),function(){function f(a,b){var c=[];if(b)for(var d in b)c.push(d+"\x3d"+encodeURIComponent(b[d]));else return a;return a+(-1!=a.indexOf("?")?"\x26":"?")+c.join("\x26")}function h(a){return!a.match(/command=QuickUpload/)||
+a.match(/(\?|&)responseType=json/)?a:f(a,{responseType:"json"})}function e(a){a+="";return a.charAt(0).toUpperCase()+a.substr(1)}function k(){var a=this.getDialog(),b=a.getParentEditor();b._.filebrowserSe=this;var c=b.config["filebrowser"+e(a.getName())+"WindowWidth"]||b.config.filebrowserWindowWidth||"80%",a=b.config["filebrowser"+e(a.getName())+"WindowHeight"]||b.config.filebrowserWindowHeight||"70%",d=this.filebrowser.params||{};d.CKEditor=b.name;d.CKEditorFuncNum=b._.filebrowserFn;d.langCode||
+(d.langCode=b.langCode);d=f(this.filebrowser.url,d);b.popup(d,c,a,b.config.filebrowserWindowFeatures||b.config.fileBrowserWindowFeatures)}function d(a){var b=new CKEDITOR.dom.element(a.$.form);b&&((a=b.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):(a=new CKEDITOR.dom.element("input"),a.setAttributes({name:"ckCsrfToken",type:"hidden"}),b.append(a)),a.setAttribute("value",CKEDITOR.tools.getCsrfToken()))}function l(){var a=this.getDialog();a.getParentEditor()._.filebrowserSe=this;return a.getContentElement(this["for"][0],
+this["for"][1]).getInputElement().$.value&&a.getContentElement(this["for"][0],this["for"][1]).getAction()?!0:!1}function m(a,b,c){var d=c.params||{};d.CKEditor=a.name;d.CKEditorFuncNum=a._.filebrowserFn;d.langCode||(d.langCode=a.langCode);b.action=f(c.url,d);b.filebrowser=c}function b(c,f,v,t){if(t&&t.length)for(var p,q=t.length;q--;)if(p=t[q],"hbox"!=p.type&&"vbox"!=p.type&&"fieldset"!=p.type||b(c,f,v,p.children),p.filebrowser)if("string"==typeof p.filebrowser&&(p.filebrowser={action:"fileButton"==
+p.type?"QuickUpload":"Browse",target:p.filebrowser}),"Browse"==p.filebrowser.action){var A=p.filebrowser.url;void 0===A&&(A=c.config["filebrowser"+e(f)+"BrowseUrl"],void 0===A&&(A=c.config.filebrowserBrowseUrl));A&&(p.onClick=k,p.filebrowser.url=A,p.hidden=!1)}else if("QuickUpload"==p.filebrowser.action&&p["for"]&&(A=p.filebrowser.url,void 0===A&&(A=c.config["filebrowser"+e(f)+"UploadUrl"],void 0===A&&(A=c.config.filebrowserUploadUrl)),A)){var r=p.onClick;p.onClick=function(b){var e=b.sender,f=e.getDialog().getContentElement(this["for"][0],
+this["for"][1]).getInputElement(),k=CKEDITOR.fileTools&&CKEDITOR.fileTools.isFileUploadSupported;if(r&&!1===r.call(e,b))return!1;if(l.call(e,b)){if("form"!==c.config.filebrowserUploadMethod&&k)return b=c.uploadRepository.create(f.$.files[0]),b.on("uploaded",function(b){var c=b.sender.responseData;a.call(b.sender.editor,c.url,c.message)}),b.on("error",g.bind(this)),b.on("abort",g.bind(this)),b.loadAndUpload(h(A)),"xhr";d(f);return!0}return!1};p.filebrowser.url=A;p.hidden=!1;m(c,v.getContents(p["for"][0]).get(p["for"][1]),
+p.filebrowser)}}function g(a){var b={};try{b=JSON.parse(a.sender.xhr.response)||{}}catch(c){}this.enable();alert(b.error?b.error.message:a.sender.message)}function c(a,b,d){if(-1!==d.indexOf(";")){d=d.split(";");for(var e=0;e<d.length;e++)if(c(a,b,d[e]))return!0;return!1}return(a=a.getContents(b).get(d).filebrowser)&&a.url}function a(a,b){var c=this._.filebrowserSe.getDialog(),d=this._.filebrowserSe["for"],e=this._.filebrowserSe.filebrowser.onSelect;d&&c.getContentElement(d[0],d[1]).reset();if("function"!=
+typeof b||!1!==b.call(this._.filebrowserSe))if(!e||!1!==e.call(this._.filebrowserSe,a,b))if("string"==typeof b&&b&&alert(b),a&&(d=this._.filebrowserSe,c=d.getDialog(),d=d.filebrowser.target||null))if(d=d.split(":"),e=c.getContentElement(d[0],d[1]))e.setValue(a),c.selectPage(d[0])}CKEDITOR.plugins.add("filebrowser",{requires:"popup,filetools",init:function(b){b._.filebrowserFn=CKEDITOR.tools.addFunction(a,b);b.on("destroy",function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on("dialogDefinition",
+function(a){if(a.editor.plugins.filebrowser)for(var d=a.data.definition,e,g=0;g<d.contents.length;++g)if(e=d.contents[g])b(a.editor,a.data.name,d,e.elements),e.hidden&&e.filebrowser&&(e.hidden=!c(d,e.id,e.filebrowser))})}(),function(){function f(f){var d=f.config,l=f.fire("uiSpace",{space:"top",html:""}).html,m=function(){function a(b,c,d){g.setStyle(c,e(d));g.setStyle("position",b)}function b(d){var e=l.getDocumentPosition();switch(d){case "top":a("absolute","top",e.y-r-u);break;case "pin":a("fixed",
+"top",x);break;case "bottom":a("absolute","top",e.y+(q.height||q.bottom-q.top)+u)}c=d}var c,l,p,q,A,r,C,B=d.floatSpaceDockedOffsetX||0,u=d.floatSpaceDockedOffsetY||0,y=d.floatSpacePinnedOffsetX||0,x=d.floatSpacePinnedOffsetY||0;return function(a){if(l=f.editable()){var n=a&&"focus"==a.name;n&&g.show();f.fire("floatingSpaceLayout",{show:n});g.removeStyle("left");g.removeStyle("right");p=g.getClientRect();q=l.getClientRect();A=h.getViewPaneSize();r=p.height;C="pageXOffset"in h.$?h.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;
+c?(r+u<=q.top?b("top"):r+u>A.height-q.bottom?b("pin"):b("bottom"),a=A.width/2,a=d.floatSpacePreferRight?"right":0<q.left&&q.right<A.width&&q.width>p.width?"rtl"==d.contentsLangDirection?"right":"left":a-q.left>q.right-a?"left":"right",p.width>A.width?(a="left",n=0):(n="left"==a?0<q.left?q.left:0:q.right<A.width?A.width-q.right:0,n+p.width>A.width&&(a="left"==a?"right":"left",n=0)),g.setStyle(a,e(("pin"==c?y:B)+n+("pin"==c?0:"left"==a?C:-C)))):(c="pin",b("pin"),m(a))}}}();if(l){var b=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+
+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(f.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(f.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),g=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(b.output({content:l,
+id:f.id,langDir:f.lang.dir,langCode:f.langCode,name:f.name,style:"display:none;z-index:"+(d.baseFloatZIndex-1),topId:f.ui.spaceId("top"),voiceLabel:f.title}))),c=CKEDITOR.tools.eventsBuffer(500,m),a=CKEDITOR.tools.eventsBuffer(100,m);g.unselectable();g.on("mousedown",function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});f.on("focus",function(b){m(b);f.on("change",c.input);h.on("scroll",a.input);h.on("resize",a.input)});f.on("blur",function(){g.hide();f.removeListener("change",
+c.input);h.removeListener("scroll",a.input);h.removeListener("resize",a.input)});f.on("destroy",function(){h.removeListener("scroll",a.input);h.removeListener("resize",a.input);g.clearCustomData();g.remove()});f.focusManager.hasFocus&&g.show();f.focusManager.add(g,1)}}var h=CKEDITOR.document.getWindow(),e=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(e){e.on("loaded",function(){f(this)},null,null,20)}})}(),CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var f=
+CKEDITOR.addTemplate("panel-list",'\x3cul role\x3d"presentation" class\x3d"cke_panel_list"\x3e{items}\x3c/ul\x3e'),h=CKEDITOR.addTemplate("panel-list-item",'\x3cli id\x3d"{id}" class\x3d"cke_panel_listItem" role\x3dpresentation\x3e\x3ca id\x3d"{id}_option" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"{title}" href\x3d"javascript:void(\'{val}\')" {onclick}\x3d"CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;" role\x3d"option"\x3e{text}\x3c/a\x3e\x3c/li\x3e'),e=CKEDITOR.addTemplate("panel-list-group",
+'\x3ch1 id\x3d"{id}" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),k=/\'/g;CKEDITOR.ui.panel.prototype.addListBlock=function(d,e){return this.addBlock(d,new CKEDITOR.ui.listBlock(this.getHolderElement(),e))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(d,e){e=e||{};var f=e.attributes||(e.attributes={});(this.multiSelect=!!e.multiSelect)&&(f["aria-multiselectable"]=!0);!f.role&&(f.role="listbox");this.base.apply(this,arguments);
+this.element.setAttribute("role",f.role);f=this.keys;f[40]="next";f[9]="next";f[38]="prev";f[CKEDITOR.SHIFT+9]="prev";f[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(f[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var d=f.output({items:this._.pendingList.join("")});this._.pendingList=[];this._.pendingHtml.push(d);delete this._.started}},getClick:function(){this._.click||(this._.click=CKEDITOR.tools.addFunction(function(d){var e=
+this.toggle(d);if(this.onClick)this.onClick(d,e)},this));return this._.click}},proto:{add:function(d,e,f){var b=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[d]=b;var g;g=CKEDITOR.tools.htmlEncodeAttr(d).replace(k,"\\'");d={id:b,val:g,onclick:CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(f||d),text:e||d};this._.pendingList.push(h.output(d))},startGroup:function(d){this._.close();
+var f=CKEDITOR.tools.getNextId();this._.groups[d]=f;this._.pendingHtml.push(e.output({id:f,label:d}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(""));delete this._.size;this._.pendingHtml=[]},toggle:function(d){var e=this.isMarked(d);e?this.unmark(d):this.mark(d);return!e},hideGroup:function(d){var e=(d=this.element.getDocument().getById(this._.groups[d]))&&d.getNext();d&&(d.setStyle("display","none"),e&&"ul"==e.getName()&&e.setStyle("display","none"))},hideItem:function(d){this.element.getDocument().getById(this._.items[d]).setStyle("display",
+"none")},showAll:function(){var d=this._.items,e=this._.groups,f=this.element.getDocument(),b;for(b in d)f.getById(d[b]).setStyle("display","");for(var g in e)d=f.getById(e[g]),b=d.getNext(),d.setStyle("display",""),b&&"ul"==b.getName()&&b.setStyle("display","")},mark:function(d){this.multiSelect||this.unmarkAll();d=this._.items[d];var e=this.element.getDocument().getById(d);e.addClass("cke_selected");this.element.getDocument().getById(d+"_option").setAttribute("aria-selected",!0);this.onMark&&this.onMark(e)},
+markFirstDisplayed:function(){var d=this;this._.markFirstDisplayed(function(){d.multiSelect||d.unmarkAll()})},unmark:function(d){var e=this.element.getDocument();d=this._.items[d];var f=e.getById(d);f.removeClass("cke_selected");e.getById(d+"_option").removeAttribute("aria-selected");this.onUnmark&&this.onUnmark(f)},unmarkAll:function(){var d=this._.items,e=this.element.getDocument(),f;for(f in d){var b=d[f];e.getById(b).removeClass("cke_selected");e.getById(b+"_option").removeAttribute("aria-selected")}this.onUnmark&&
+this.onUnmark()},isMarked:function(d){return this.element.getDocument().getById(this._.items[d]).hasClass("cke_selected")},focus:function(d){this._.focusIndex=-1;var e=this.element.getElementsByTag("a"),f,b=-1;if(d)for(f=this.element.getDocument().getById(this._.items[d]).getFirst();d=e.getItem(++b);){if(d.equals(f)){this._.focusIndex=b;break}}else this.element.focus();f&&setTimeout(function(){f.focus()},0)}}})}}),CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(f){f.ui.addHandler(CKEDITOR.UI_RICHCOMBO,
+CKEDITOR.ui.richCombo.handler)}}),function(){var f='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-haspopup\x3d"true"';CKEDITOR.env.gecko&&CKEDITOR.env.mac&&
+(f+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(f+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var f=f+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event,this);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" '+(CKEDITOR.env.ie?'onclick\x3d"return false;" onmouseup':"onclick")+'\x3d"CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan id\x3d"{id}_text" class\x3d"cke_combo_text cke_combo_inlinelabel"\x3e{label}\x3c/span\x3e\x3cspan class\x3d"cke_combo_open"\x3e\x3cspan class\x3d"cke_combo_arrow"\x3e'+
+(CKEDITOR.env.hc?"\x26#9660;":CKEDITOR.env.air?"\x26nbsp;":"")+"\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e"),h=CKEDITOR.addTemplate("combo",f);CKEDITOR.UI_RICHCOMBO="richcombo";CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(e){CKEDITOR.tools.extend(this,e,{canGroup:!1,title:e.label,modes:{wysiwyg:1},editorFocus:1});e=this.panel||{};delete this.panel;this.id=CKEDITOR.tools.getNextNumber();this.document=e.parent&&e.parent.getDocument()||CKEDITOR.document;e.className="cke_combopanel";
+e.block={multiSelect:e.multiSelect,attributes:e.attributes};e.toolbarRelated=!0;this._={panelDefinition:e,items:{}}},proto:{renderHtml:function(e){var f=[];this.render(e,f);return f.join("")},render:function(e,f){function d(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var a=this.modes[e.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;e.readOnly&&!this.readOnly&&(a=CKEDITOR.TRISTATE_DISABLED);this.setState(a);this.setValue("");a!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var l=
+CKEDITOR.env,m="cke_"+this.id,b=CKEDITOR.tools.addFunction(function(a){w&&(e.unlockSelection(1),w=0);c.execute(a)},this),g=this,c={id:m,combo:this,focus:function(){CKEDITOR.document.getById(m).getChild(1).focus()},execute:function(a){var b=g._;if(b.state!=CKEDITOR.TRISTATE_DISABLED)if(g.createPanel(e),b.on)b.panel.hide();else{g.commit();var c=g.getValue();c?b.list.mark(c):b.list.unmarkAll();b.panel.showBlock(g.id,new CKEDITOR.dom.element(a),4)}},clickFn:b};e.on("activeFilterChange",d,this);e.on("mode",
+d,this);e.on("selectionChange",d,this);!this.readOnly&&e.on("readOnly",d,this);var a=CKEDITOR.tools.addFunction(function(a,d){a=new CKEDITOR.dom.event(a);var e=a.getKeystroke();switch(e){case 13:case 32:case 40:CKEDITOR.tools.callFunction(b,d);break;default:c.onkey(c,e)}a.preventDefault()}),n=CKEDITOR.tools.addFunction(function(){c.onfocus&&c.onfocus()}),w=0;c.keyDownFn=a;l={id:m,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:l.gecko&&!l.hc?"":(this.title||
+"").replace("'",""),keydownFn:a,focusFn:n,clickFn:b};h.output(l,f);if(this.onRender)this.onRender();return c},createPanel:function(e){if(!this._.panel){var f=this._.panelDefinition,d=this._.panelDefinition.block,h=f.parent||CKEDITOR.document.getBody(),m="cke_combopanel__"+this.name,b=new CKEDITOR.ui.floatPanel(e,h,f),f=b.addListBlock(this.id,d),g=this;b.onShow=function(){this.element.addClass(m);g.setState(CKEDITOR.TRISTATE_ON);g._.on=1;g.editorFocus&&!e.focusManager.hasFocus&&e.focus();if(g.onOpen)g.onOpen()};
+b.onHide=function(b){this.element.removeClass(m);g.setState(g.modes&&g.modes[e.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);g._.on=0;if(!b&&g.onClose)g.onClose()};b.onEscape=function(){b.hide(1)};f.onClick=function(c,a){g.onClick&&g.onClick.call(g,c,a);b.hide()};this._.panel=b;this._.list=f;b.getBlock(this.id).onHide=function(){g._.on=0;g.setState(CKEDITOR.TRISTATE_OFF)};this.init&&this.init()}},setValue:function(e,f){this._.value=e;var d=this.document.getById("cke_"+this.id+"_text");d&&
+(e||f?d.removeClass("cke_combo_inlinelabel"):(f=this.label,d.addClass("cke_combo_inlinelabel")),d.setText("undefined"!=typeof f?f:e))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(e){this._.list.mark(e)},hideItem:function(e){this._.list.hideItem(e)},hideGroup:function(e){this._.list.hideGroup(e)},showAll:function(){this._.list.showAll()},add:function(e,f,d){this._.items[e]=d||e;this._.list.add(e,f,d)},startGroup:function(e){this._.list.startGroup(e)},
+commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this));this._.committed=1},setState:function(e){if(this._.state!=e){var f=this.document.getById("cke_"+this.id);f.setState(e,"cke_combo");e==CKEDITOR.TRISTATE_DISABLED?f.setAttribute("aria-disabled",!0):f.removeAttribute("aria-disabled");this._.state=e}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&&this.setState(this._.lastState)},disable:function(){this._.state!=
+CKEDITOR.TRISTATE_DISABLED&&(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))}},statics:{handler:{create:function(e){return new CKEDITOR.ui.richCombo(e)}}}});CKEDITOR.ui.prototype.addRichCombo=function(e,f){this.add(e,CKEDITOR.UI_RICHCOMBO,f)}}(),CKEDITOR.plugins.add("format",{requires:"richcombo",init:function(f){if(!f.blockless){for(var h=f.config,e=f.lang.format,k=h.format_tags.split(";"),d={},l=0,m=[],b=0;b<k.length;b++){var g=k[b],c=new CKEDITOR.style(h["format_"+g]);
+if(!f.filter.customConfig||f.filter.check(c))l++,d[g]=c,d[g]._.enterMode=f.config.enterMode,m.push(c)}0!==l&&f.ui.addRichCombo("Format",{label:e.label,title:e.panelTitle,toolbar:"styles,20",allowedContent:m,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(h.contentsCss),multiSelect:!1,attributes:{"aria-label":e.panelTitle}},init:function(){this.startGroup(e.panelTitle);for(var a in d){var b=e["tag_"+a];this.add(a,d[a].buildPreview(b),b)}},onClick:function(a){f.focus();f.fire("saveSnapshot");a=
+d[a];var b=f.elementPath();a.checkActive(b,f)||f.applyStyle(a);setTimeout(function(){f.fire("saveSnapshot")},0)},onRender:function(){f.on("selectionChange",function(a){var b=this.getValue();a=a.data.path;this.refresh();for(var c in d)if(d[c].checkActive(a,f)){c!=b&&this.setValue(c,f.lang.format["tag_"+c]);return}this.setValue("")},this)},onOpen:function(){this.showAll();for(var a in d)f.activeFilter.check(d[a])||this.hideItem(a)},refresh:function(){var a=f.elementPath();if(a){if(a.isContextFor("p"))for(var b in d)if(f.activeFilter.check(d[b]))return;
+this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}}),CKEDITOR.config.format_tags="p;h1;h2;h3;h4;h5;h6;pre;address;div",CKEDITOR.config.format_p={element:"p"},CKEDITOR.config.format_div={element:"div"},CKEDITOR.config.format_pre={element:"pre"},CKEDITOR.config.format_address={element:"address"},CKEDITOR.config.format_h1={element:"h1"},CKEDITOR.config.format_h2={element:"h2"},CKEDITOR.config.format_h3={element:"h3"},CKEDITOR.config.format_h4={element:"h4"},CKEDITOR.config.format_h5={element:"h5"},CKEDITOR.config.format_h6=
+{element:"h6"},function(){var f={canUndo:!1,exec:function(f){var e=f.document.createElement("hr");f.insertElement(e)},allowedContent:"hr",requiredContent:"hr"};CKEDITOR.plugins.add("horizontalrule",{init:function(h){h.blockless||(h.addCommand("horizontalrule",f),h.ui.addButton&&h.ui.addButton("HorizontalRule",{label:h.lang.horizontalrule.toolbar,command:"horizontalrule",toolbar:"insert,40"}))}})}(),CKEDITOR.plugins.add("htmlwriter",{init:function(f){var h=new CKEDITOR.htmlWriter;h.forceSimpleAmpersand=
+f.config.forceSimpleAmpersand;h.indentationChars=f.config.dataIndentationChars||"\t";f.dataProcessor.writer=h}}),CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){this.base();this.indentationChars="\t";this.selfClosingEnd=" /\x3e";this.lineBreakChars="\n";this.sortAttributes=1;this._.indent=0;this._.indentation="";this._.inPre=0;this._.rules={};var f=CKEDITOR.dtd,h;for(h in CKEDITOR.tools.extend({},f.$nonBodyContent,f.$block,f.$listItem,f.$tableContent))this.setRules(h,
+{indent:!f[h]["#"],breakBeforeOpen:1,breakBeforeClose:!f[h]["#"],breakAfterClose:1,needsSpace:h in f.$block&&!(h in{li:1,dt:1,dd:1})});this.setRules("br",{breakAfterOpen:1});this.setRules("title",{indent:0,breakAfterOpen:0});this.setRules("style",{indent:0,breakBeforeClose:1});this.setRules("pre",{breakAfterOpen:1,indent:0})},proto:{openTag:function(f){var h=this._.rules[f];this._.afterCloser&&h&&h.needsSpace&&this._.needsSpace&&this._.output.push("\n");this._.indent?this.indentation():h&&h.breakBeforeOpen&&
+(this.lineBreak(),this.indentation());this._.output.push("\x3c",f);this._.afterCloser=0},openTagClose:function(f,h){var e=this._.rules[f];h?(this._.output.push(this.selfClosingEnd),e&&e.breakAfterClose&&(this._.needsSpace=e.needsSpace)):(this._.output.push("\x3e"),e&&e.indent&&(this._.indentation+=this.indentationChars));e&&e.breakAfterOpen&&this.lineBreak();"pre"==f&&(this._.inPre=1)},attribute:function(f,h){"string"==typeof h&&(this.forceSimpleAmpersand&&(h=h.replace(/&/g,"\x26")),h=CKEDITOR.tools.htmlEncodeAttr(h));
+this._.output.push(" ",f,'\x3d"',h,'"')},closeTag:function(f){var h=this._.rules[f];h&&h.indent&&(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():h&&h.breakBeforeClose&&(this.lineBreak(),this.indentation());this._.output.push("\x3c/",f,"\x3e");"pre"==f&&(this._.inPre=0);h&&h.breakAfterClose&&(this.lineBreak(),this._.needsSpace=h.needsSpace);this._.afterCloser=1},text:function(f){this._.indent&&(this.indentation(),!this._.inPre&&(f=CKEDITOR.tools.ltrim(f)));
+this._.output.push(f)},comment:function(f){this._.indent&&this.indentation();this._.output.push("\x3c!--",f,"--\x3e")},lineBreak:function(){!this._.inPre&&0<this._.output.length&&this._.output.push(this.lineBreakChars);this._.indent=1},indentation:function(){!this._.inPre&&this._.indentation&&this._.output.push(this._.indentation);this._.indent=0},reset:function(){this._.output=[];this._.indent=0;this._.indentation="";this._.afterCloser=0;this._.inPre=0;this._.needsSpace=0},setRules:function(f,h){var e=
+this._.rules[f];e?CKEDITOR.tools.extend(e,h,!0):this._.rules[f]=h}}}),"use strict",function(){function f(b,c){CKEDITOR.tools.extend(this,{editor:b,editable:b.editable(),doc:b.document,win:b.window},c,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?"editable":"doc"]}function h(b,c){CKEDITOR.tools.extend(this,c,{editor:b},!0)}function e(b,c){var a=b.editable();CKEDITOR.tools.extend(this,{editor:b,editable:a,inline:a.isInline(),doc:b.document,
+win:b.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},c,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var e=CKEDITOR.tools.bind(this.queryViewport,this),f=CKEDITOR.tools.bind(this.hideVisible,this),h=CKEDITOR.tools.bind(this.removeAll,this);a.attachListener(this.winTop,"resize",e);a.attachListener(this.winTop,"scroll",e);a.attachListener(this.winTop,"resize",f);a.attachListener(this.win,"scroll",f);a.attachListener(this.inline?
+a:this.frame,"mouseout",function(a){var b=a.data.$.clientX;a=a.data.$.clientY;this.queryViewport();(b<=this.rect.left||b>=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=b||b>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);a.attachListener(b,"resize",e);a.attachListener(b,"mode",h);b.on("destroy",h);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},
+l,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},d,{left:"0px","border-left-color":"red","border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},d,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function k(d){var c;if(c=d&&d.type==CKEDITOR.NODE_ELEMENT)c=!(m[d.getComputedStyle("float")]||m[d.getAttribute("align")]);return c&&
+!b[d.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;f.prototype={start:function(b){var c=this,a=this.editor,d=this.doc,e,f,h,k,l=CKEDITOR.tools.eventsBuffer(50,function(){a.readOnly||"wysiwyg"!=a.mode||(c.relations={},(f=d.$.elementFromPoint(h,k))&&f.nodeType&&(e=new CKEDITOR.dom.element(f),c.traverseSearch(e),isNaN(h+k)||c.pixelSearch(e,h,k),b&&b(c.relations,h,k)))});this.listener=this.editable.attachListener(this.target,
+"mousemove",function(a){h=a.data.$.clientX;k=a.data.$.clientY;l.input()});this.editable.attachListener(this.inline?this.editable:this.frame,"mouseout",function(){l.reset()})},stop:function(){this.listener&&this.listener.removeListener()},getRange:function(){var b={};b[CKEDITOR.LINEUTILS_BEFORE]=CKEDITOR.POSITION_BEFORE_START;b[CKEDITOR.LINEUTILS_AFTER]=CKEDITOR.POSITION_AFTER_END;b[CKEDITOR.LINEUTILS_INSIDE]=CKEDITOR.POSITION_AFTER_START;return function(c){var a=this.editor.createRange();a.moveToPosition(this.relations[c.uid].element,
+b[c.type]);return a}}(),store:function(){function b(c,a,d){var e=c.getUniqueId();e in d?d[e].type|=a:d[e]={element:c,type:a}}return function(c,a){var d;a&CKEDITOR.LINEUTILS_AFTER&&k(d=c.getNext())&&d.isVisible()&&(b(d,CKEDITOR.LINEUTILS_BEFORE,this.relations),a^=CKEDITOR.LINEUTILS_AFTER);a&CKEDITOR.LINEUTILS_INSIDE&&k(d=c.getFirst())&&d.isVisible()&&(b(d,CKEDITOR.LINEUTILS_BEFORE,this.relations),a^=CKEDITOR.LINEUTILS_INSIDE);b(c,a,this.relations)}}(),traverseSearch:function(b){var c,a,d;do if(d=b.$["data-cke-expando"],
+!(d&&d in this.relations)){if(b.equals(this.editable))break;if(k(b))for(c in this.lookups)(a=this.lookups[c](b))&&this.store(b,a)}while((!b||b.type!=CKEDITOR.NODE_ELEMENT||"true"!=b.getAttribute("contenteditable"))&&(b=b.getParent()))},pixelSearch:function(){function b(a,d,e,f,g){for(var h=0,l;g(e);){e+=f;if(25==++h)break;if(l=this.doc.$.elementFromPoint(d,e))if(l==a)h=0;else if(c(a,l)&&(h=0,k(l=new CKEDITOR.dom.element(l))))return l}}var c=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,b){return a.contains(b)}:
+function(a,b){return!!(a.compareDocumentPosition(b)&16)};return function(a,c,d){var e=this.win.getViewPaneSize().height,f=b.call(this,a.$,c,d,-1,function(a){return 0<a});c=b.call(this,a.$,c,d,1,function(a){return a<e});if(f)for(this.traverseSearch(f);!f.getParent().equals(a);)f=f.getParent();if(c)for(this.traverseSearch(c);!c.getParent().equals(a);)c=c.getParent();for(;f||c;){f&&(f=f.getNext(k));if(!f||f.equals(c))break;this.traverseSearch(f);c&&(c=c.getPrevious(k));if(!c||c.equals(f))break;this.traverseSearch(c)}}}(),
+greedySearch:function(){this.relations={};for(var b=this.editable.getElementsByTag("*"),c=0,a,d,e;a=b.getItem(c++);)if(!a.equals(this.editable)&&a.type==CKEDITOR.NODE_ELEMENT&&(a.hasAttribute("contenteditable")||!a.isReadOnly())&&k(a)&&a.isVisible())for(e in this.lookups)(d=this.lookups[e](a))&&this.store(a,d);return this.relations}};h.prototype={locate:function(){function b(c,a){var d=c.element[a===CKEDITOR.LINEUTILS_BEFORE?"getPrevious":"getNext"]();return d&&k(d)?(c.siblingRect=d.getClientRect(),
+a==CKEDITOR.LINEUTILS_BEFORE?(c.siblingRect.bottom+c.elementRect.top)/2:(c.elementRect.bottom+c.siblingRect.top)/2):a==CKEDITOR.LINEUTILS_BEFORE?c.elementRect.top:c.elementRect.bottom}return function(c){var a;this.locations={};for(var d in c)a=c[d],a.elementRect=a.element.getClientRect(),a.type&CKEDITOR.LINEUTILS_BEFORE&&this.store(d,CKEDITOR.LINEUTILS_BEFORE,b(a,CKEDITOR.LINEUTILS_BEFORE)),a.type&CKEDITOR.LINEUTILS_AFTER&&this.store(d,CKEDITOR.LINEUTILS_AFTER,b(a,CKEDITOR.LINEUTILS_AFTER)),a.type&
+CKEDITOR.LINEUTILS_INSIDE&&this.store(d,CKEDITOR.LINEUTILS_INSIDE,(a.elementRect.top+a.elementRect.bottom)/2);return this.locations}}(),sort:function(){var b,c,a,d;return function(e,f){b=this.locations;c=[];for(var h in b)for(var k in b[h])if(a=Math.abs(e-b[h][k]),c.length){for(d=0;d<c.length;d++)if(a<c[d].dist){c.splice(d,0,{uid:+h,type:k,dist:a});break}d==c.length&&c.push({uid:+h,type:k,dist:a})}else c.push({uid:+h,type:k,dist:a});return"undefined"!=typeof f?c.slice(0,f):c}}(),store:function(b,
+c,a){this.locations[b]||(this.locations[b]={});this.locations[b][c]=a}};var d={display:"block",width:"0px",height:"0px","border-color":"transparent","border-style":"solid",position:"absolute",top:"-6px"},l={height:"0px","border-top":"1px dashed red",position:"absolute","z-index":9999};e.prototype={removeAll:function(){for(var b in this.hidden)this.hidden[b].remove(),delete this.hidden[b];for(b in this.visible)this.visible[b].remove(),delete this.visible[b]},hideLine:function(b){var c=b.getUniqueId();
+b.hide();this.hidden[c]=b;delete this.visible[c]},showLine:function(b){var c=b.getUniqueId();b.show();this.visible[c]=b;delete this.hidden[c]},hideVisible:function(){for(var b in this.visible)this.hideLine(this.visible[b])},placeLine:function(b,c){var a,d,e;if(a=this.getStyle(b.uid,b.type)){for(e in this.visible)if(this.visible[e].getCustomData("hash")!==this.hash){d=this.visible[e];break}if(!d)for(e in this.hidden)if(this.hidden[e].getCustomData("hash")!==this.hash){this.showLine(d=this.hidden[e]);
+break}d||this.showLine(d=this.addLine());d.setCustomData("hash",this.hash);this.visible[d.getUniqueId()]=d;d.setStyles(a);c&&c(d)}},getStyle:function(b,c){var a=this.relations[b],d=this.locations[b][c],e={};e.width=a.siblingRect?Math.max(a.siblingRect.width,a.elementRect.width):a.elementRect.width;e.top=this.inline?d+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+d;if(e.top-this.winTopScroll.y<this.rect.top||e.top-this.winTopScroll.y>this.rect.bottom)return!1;this.inline?
+e.left=a.elementRect.left-this.rect.relativeX:(0<a.elementRect.left?e.left=this.rect.left+a.elementRect.left:(e.width+=a.elementRect.left,e.left=this.rect.left),0<(a=e.left+e.width-(this.rect.left+this.winPane.width))&&(e.width-=a));e.left+=this.winTopScroll.x;for(var f in e)e[f]=CKEDITOR.tools.cssLength(e[f]);return e},addLine:function(){var b=CKEDITOR.dom.element.createFromHtml(this.lineTpl);b.appendTo(this.container);return b},prepare:function(b,c){this.relations=b;this.locations=c;this.hash=Math.random()},
+cleanup:function(){var b,c;for(c in this.visible)b=this.visible[c],b.getCustomData("hash")!==this.hash&&this.hideLine(b)},queryViewport:function(){this.winPane=this.win.getViewPaneSize();this.winTopScroll=this.winTop.getScrollPosition();this.winTopPane=this.winTop.getViewPaneSize();this.rect=this.getClientRect(this.inline?this.editable:this.frame)},getClientRect:function(b){b=b.getClientRect();var c=this.container.getDocumentPosition(),a=this.container.getComputedStyle("position");b.relativeX=b.relativeY=
+0;"static"!=a&&(b.relativeY=c.y,b.relativeX=c.x,b.top-=b.relativeY,b.bottom-=b.relativeY,b.left-=b.relativeX,b.right-=b.relativeX);return b}};var m={left:1,right:1,center:1},b={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:f,locator:h,liner:e}}(),function(){function f(f){return f.getName&&!f.hasAttribute("data-cke-temp")}CKEDITOR.plugins.add("widgetselection",{init:function(f){if(CKEDITOR.env.webkit){var e=CKEDITOR.plugins.widgetselection;f.on("contentDom",function(f){f=f.editor;var d=f.editable();
+d.attachListener(d,"keydown",function(f){f.data.getKeystroke()==CKEDITOR.CTRL+65&&CKEDITOR.tools.setTimeout(function(){e.addFillers(d)||e.removeFillers(d)},0)},null,null,-1);f.on("selectionCheck",function(d){e.removeFillers(d.editor.editable())});f.on("paste",function(d){d.data.dataValue=e.cleanPasteData(d.data.dataValue)});"selectall"in f.plugins&&e.addSelectAllIntegration(f)})}}});CKEDITOR.plugins.widgetselection={startFiller:null,endFiller:null,fillerAttribute:"data-cke-filler-webkit",fillerContent:"\x26nbsp;",
+fillerTagName:"div",addFillers:function(h){var e=h.editor;if(!this.isWholeContentSelected(h)&&0<h.getChildCount()){var k=h.getFirst(f),d=h.getLast(f);k&&k.type==CKEDITOR.NODE_ELEMENT&&!k.isEditable()&&(this.startFiller=this.createFiller(),h.append(this.startFiller,1));d&&d.type==CKEDITOR.NODE_ELEMENT&&!d.isEditable()&&(this.endFiller=this.createFiller(!0),h.append(this.endFiller,0));if(this.hasFiller(h))return e=e.createRange(),e.selectNodeContents(h),e.select(),!0}return!1},removeFillers:function(f){if(this.hasFiller(f)&&
+!this.isWholeContentSelected(f)){var e=f.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dstart]"),k=f.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dend]");this.startFiller&&e&&this.startFiller.equals(e)?this.removeFiller(this.startFiller,f):this.startFiller=e;this.endFiller&&k&&this.endFiller.equals(k)?this.removeFiller(this.endFiller,f):this.endFiller=k}},cleanPasteData:function(f){f&&f.length&&(f=f.replace(this.createFillerRegex(),"").replace(this.createFillerRegex(!0),""));
+return f},isWholeContentSelected:function(f){var e=f.editor.getSelection().getRanges()[0];return!e||e&&e.collapsed?!1:(e=e.clone(),e.enlarge(CKEDITOR.ENLARGE_ELEMENT),!!(e&&f&&e.startContainer&&e.endContainer&&0===e.startOffset&&e.endOffset===f.getChildCount()&&e.startContainer.equals(f)&&e.endContainer.equals(f)))},hasFiller:function(f){return 0<f.find(this.fillerTagName+"["+this.fillerAttribute+"]").count()},createFiller:function(f){var e=new CKEDITOR.dom.element(this.fillerTagName);e.setHtml(this.fillerContent);
+e.setAttribute(this.fillerAttribute,f?"end":"start");e.setAttribute("data-cke-temp",1);e.setStyles({display:"block",width:0,height:0,padding:0,border:0,margin:0,position:"absolute",top:0,left:"-9999px",opacity:0,overflow:"hidden"});return e},removeFiller:function(f,e){if(f){var k=e.editor,d=e.editor.getSelection().getRanges()[0].startPath(),l=k.createRange(),m,b;d.contains(f)&&(m=f.getHtml(),b=!0);d="start"==f.getAttribute(this.fillerAttribute);f.remove();m&&0<m.length&&m!=this.fillerContent?(e.insertHtmlIntoRange(m,
+k.getSelection().getRanges()[0]),l.setStartAt(e.getChild(e.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),k.getSelection().selectRanges([l])):b&&(d?l.setStartAt(e.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):l.setEndAt(e.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),e.editor.getSelection().selectRanges([l]))}},createFillerRegex:function(f){var e=this.createFiller(f).getOuterHtml().replace(/style="[^"]*"/gi,'style\x3d"[^"]*"').replace(/>[^<]*</gi,"\x3e[^\x3c]*\x3c");return new RegExp((f?
+"":"^")+e+(f?"$":""))},addSelectAllIntegration:function(f){var e=this;f.editable().attachListener(f,"beforeCommandExec",function(k){var d=f.editable();"selectAll"==k.data.name&&d&&e.addFillers(d)},null,null,9999)}}}(),"use strict",function(){function f(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};I(this);z(this);this.on("checkWidgets",m);this.editor.on("contentDomInvalidated",
+this.checkWidgets,this);x(this);B(this);u(this);C(this);y(this)}function h(a,b,c,d,e){var f=a.editor;CKEDITOR.tools.extend(this,d,{editor:f,id:b,inline:"span"==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},"function"==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:h.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&&"string"==typeof d.downcast?d.downcasts[d.downcast]:d.downcast}},!0);
+a.fire("instanceCreated",this);Z(this,d);this.init&&this.init();this.inited=!0;(a=this.element.data("cke-widget-data"))&&this.setData(JSON.parse(decodeURIComponent(a)));e&&this.setData(e);this.data.classes||this.setData("classes",this.getClasses());this.dataReady=!0;Q(this);this.fire("data",this.data);this.isInited()&&f.editable().contains(this.wrapper)&&(this.ready=!0,this.fire("ready"))}function e(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a;this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?
+(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function k(a,b){a.addCommand(b.name,{exec:function(a,c){function d(){a.widgets.finalizeCreation(h)}var e=a.widgets.focused;if(e&&e.name==b.name)e.edit();else if(b.insert)b.insert();else if(b.template){var e="function"==typeof b.defaults?b.defaults():b.defaults,e=CKEDITOR.dom.element.createFromHtml(b.template.output(e)),
+f,g=a.widgets.wrapElement(e,b.name),h=new CKEDITOR.dom.documentFragment(g.getDocument());h.append(g);(f=a.widgets.initOn(e,b,c&&c.startupData))?(e=f.once("edit",function(b){if(b.data.dialog)f.once("dialog",function(b){b=b.data;var c,e;c=b.once("ok",d,null,null,20);e=b.once("cancel",function(b){b.data&&!1===b.data.hide||a.widgets.destroy(f,!0)});b.once("hide",function(){c.removeListener();e.removeListener()})});else d()},null,null,999),f.edit(),e.removeListener()):d()}},allowedContent:b.allowedContent,
+requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function d(a,b){function c(a,d){var e=b.upcast.split(","),f,g;for(g=0;g<e.length;g++)if(f=e[g],f===a.name)return b.upcasts[f].call(this,a,d);return!1}function d(b,c,e){var f=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]>e});0>f&&(f=a._.upcasts.length);a._.upcasts.splice(f,0,[CKEDITOR.tools.bind(b,c),c.name,e])}var e=b.upcast,f=b.upcastPriority||10;e&&("string"==typeof e?d(c,
+b,f):d(e,b,f))}function l(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire("widgetBlurred",{widget:b});b.setFocused(!1);!c&&b.editor.resetDirty()}}function m(a){a=a.data;if("wysiwyg"==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,g;if(b){for(d in c)c[d].isReady()&&!b.contains(c[d].wrapper)&&this.destroy(c[d],!0);if(a&&a.initOnlyNew)c=this.initOnAll();else{var k=b.find(".cke_widget_wrapper"),c=[];d=0;for(e=k.count();d<e;d++){f=k.getItem(d);if(g=!this.getByElement(f,
+!0)){a:{g=p;for(var l=f;l=l.getParent();)if(g(l)){g=!0;break a}g=!1}g=!g}g&&b.contains(f)&&(f.addClass("cke_widget_new"),c.push(this.initOn(f.getFirst(h.isDomWidgetElement))))}}a&&a.focusInited&&1==c.length&&c[0].focus()}}}function b(a){if("undefined"!=typeof a.attributes&&a.attributes["data-widget"]){var b=g(a),d=c(a),e=!1;b&&b.value&&b.value.match(/^\s/g)&&(b.parent.attributes["data-cke-white-space-first"]=1,b.value=b.value.replace(/^\s/g,"\x26nbsp;"),e=!0);d&&d.value&&d.value.match(/\s$/g)&&(d.parent.attributes["data-cke-white-space-last"]=
+1,d.value=d.value.replace(/\s$/g,"\x26nbsp;"),e=!0);e&&(a.attributes["data-cke-widget-white-space"]=1)}}function g(a){return a.find(function(a){return 3===a.type},!0).shift()}function c(a){return a.find(function(a){return 3===a.type},!0).pop()}function a(a,b,c){if(!c.allowedContent&&!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d={});a=d[b];a||(a=c.allowedContent?new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&&a.disallow(c.disallowedContent));
+return a}function n(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var e,f,g,k,l;if("data-cke-widget-wrapper"in a.attributes)return(a=a.getFirst(h.isParserWidgetElement))&&b.push([a]),!1;if("data-widget"in a.attributes)return b.push([a]),!1;if(l=c.length){if(a.attributes["data-cke-widget-upcasted"])return!1;k=0;for(e=d.length;k<e;++k)if(!1===d[k](a))return;for(k=0;k<l;++k)if(e=c[k],g={},f=e[0](a,g))return f instanceof CKEDITOR.htmlParser.element&&(a=f),a.attributes["data-cke-widget-data"]=
+encodeURIComponent(JSON.stringify(g)),a.attributes["data-cke-widget-upcasted"]=1,b.push([a,e[1]]),!1}}}}function w(a,b){return{tabindex:-1,contenteditable:"false","data-cke-widget-wrapper":1,"data-cke-filter":"off","class":"cke_widget_wrapper cke_widget_new cke_widget_"+(a?"inline":"block")+(b?" cke_widget_"+b:"")}}function v(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=CKEDITOR.dtd[a.name];if(d&&!d[c.name]){var d=a.split(b),e=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||
+d.remove();return v(e,b,c)}}a.add(c,b)}function t(a,b){return"boolean"==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function p(a){return a.hasAttribute("data-cke-temp")}function q(a,b,c,d){var e=a.editor;e.fire("lockSnapshot");c?(d=c.data("cke-widget-editable"),d=b.editables[d],a.widgetHoldingFocusedEditable=b,b.focusedEditable=d,c.addClass("cke_widget_editable_focused"),d.filter&&e.setActiveFilter(d.filter),e.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass("cke_widget_editable_focused"),
+b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,e.setActiveFilter(null),e.setActiveEnterMode(null,null));e.fire("unlockSnapshot")}function A(a){a.contextMenu&&a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire("contextMenu",{})})}function r(a,b){return CKEDITOR.tools.trim(b)}function C(a){var b=a.editor,c=CKEDITOR.plugins.lineutils;b.on("dragstart",function(c){var d=c.data.target;h.isDomDragHandler(d)&&(d=a.getByElement(d),c.data.dataTransfer.setData("cke/widget-id",
+d.id),b.focus(),d.focus())});b.on("drop",function(c){var d=c.data.dataTransfer,e=d.getData("cke/widget-id"),f=d.getTransferType(b),d=b.createRange();""!==e&&f===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?c.cancel():""!==e&&f==CKEDITOR.DATA_TRANSFER_INTERNAL&&(e=a.instances[e])&&(d.setStartBefore(e.wrapper),d.setEndAfter(e.wrapper),c.data.dragRange=d,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData("text/html",
+b.editable().getHtmlFromRange(d).getHtml()),b.widgets.destroy(e,!0))});b.on("contentDom",function(){var d=b.editable();CKEDITOR.tools.extend(a,{finder:new c.finder(b,{lookups:{"default":function(b){if(!b.is(CKEDITOR.dtd.$listItem)&&b.is(CKEDITOR.dtd.$block)&&!h.isDomNestedEditable(b)&&!a._.draggedWidget.wrapper.contains(b)){var c=h.getNestedEditable(d,b);if(c){b=a._.draggedWidget;if(a.getByElement(c)==b)return;c=CKEDITOR.filter.instances[c.data("cke-filter")];b=b.requiredContent;if(c&&b&&!c.check(b))return}return CKEDITOR.LINEUTILS_BEFORE|
+CKEDITOR.LINEUTILS_AFTER}}}}),locator:new c.locator(b),liner:new c.liner(b,{lineStyle:{cursor:"move !important","border-top-color":"#666"},tipLeftStyle:{"border-left-color":"#666"},tipRightStyle:{"border-right-color":"#666"}})},!0)})}function B(a){var b=a.editor;b.on("contentDom",function(){var c=b.editable(),d=c.isInline()?c:b.document,e,f;c.attachListener(d,"mousedown",function(c){var d=c.data.getTarget();e=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;f=0;e&&(e.inline&&d.type==CKEDITOR.NODE_ELEMENT&&
+d.hasAttribute("data-cke-widget-drag-handler")?(f=1,a.focused!=e&&b.getSelection().removeAllRanges()):h.getNestedEditable(e.wrapper,d)?e=null:(c.data.preventDefault(),CKEDITOR.env.ie||e.focus()))});c.attachListener(d,"mouseup",function(){f&&e&&e.wrapper&&(f=0,e.focus())});CKEDITOR.env.ie&&c.attachListener(d,"mouseup",function(){setTimeout(function(){e&&e.wrapper&&c.contains(e.wrapper)&&(e.focus(),e=null)})})});b.on("doubleclick",function(b){var c=a.getByElement(b.data.element);if(c&&!h.getNestedEditable(c.wrapper,
+b.data.element))return c.fire("doubleclick",{element:b.data.element})},null,null,1)}function u(a){a.editor.on("key",function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,e;c?e=c.fire("key",{keyCode:b.data.keyCode}):d&&(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),d=d.editor.createRange(),d.selectNodeContents(b),c&&d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),e=!1):8==c||46==c?(e=d.editor.getSelection().getRanges(),d=e[0],e=!(1==e.length&&d.collapsed&&
+d.checkBoundaryOfElement(b,CKEDITOR[8==c?"START":"END"]))):e=void 0);return e},null,null,1)}function y(a){function b(c){a.focused&&G(a.focused,"cut"==c.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable();a.attachListener(a,"copy",b);a.attachListener(a,"cut",b)})}function x(a){var b=a.editor;b.on("selectionCheck",function(){a.fire("checkSelection")});a.on("checkSelection",a.checkSelection,a);b.on("selectionChange",function(c){var d=(c=h.getNestedEditable(b.editable(),c.data.selection.getStartElement()))&&
+a.getByElement(c),e=a.widgetHoldingFocusedEditable;e?e===d&&e.focusedEditable.equals(c)||(q(a,e,null),d&&c&&q(a,d,c)):d&&c&&q(a,d,c)});b.on("dataReady",function(){F(a).commit()});b.on("blur",function(){var b;(b=a.focused)&&l(a,b);(b=a.widgetHoldingFocusedEditable)&&q(a,b,null)})}function z(a){var b=a.editor,d={};b.on("toDataFormat",function(b){var e=CKEDITOR.tools.getNextNumber(),f=[];b.data.downcastingSessionId=e;d[e]=f;b.data.dataValue.forEach(function(b){var d=b.attributes,e;if("data-cke-widget-white-space"in
+d){e=g(b);var k=c(b);e.parent.attributes["data-cke-white-space-first"]&&(e.value=e.value.replace(/^ /g," "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in d){if(d=a.instances[d["data-cke-widget-id"]])e=b.getFirst(h.isParserWidgetElement),f.push({wrapper:b,element:e,widget:d,editables:{}}),"1"!=e.attributes["data-cke-widget-keep-attr"]&&delete e.attributes["data-widget"]}else if("data-cke-widget-editable"in d)return f[f.length-
+1].editables[d["data-cke-widget-editable"]]=b,!1},CKEDITOR.NODE_ELEMENT,!0)},null,null,8);b.on("toDataFormat",function(a){if(a.data.downcastingSessionId){a=d[a.data.downcastingSessionId];for(var b,c,e,f,g,h;b=a.shift();){c=b.widget;e=b.element;f=c._.downcastFn&&c._.downcastFn.call(c,e);for(h in b.editables)g=b.editables[h],delete g.attributes.contenteditable,g.setHtml(c.editables[h].getData());f||(f=e);b.wrapper.replaceWith(f)}}},null,null,13);b.on("contentDomUnload",function(){a.destroyAll(!0)})}
+function I(a){var b=a.editor,c,d;b.on("toHtml",function(b){var d=n(a),e;for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);e=d.toBeWrapped.pop();){var f=e[0],g=f.parent;g.type==CKEDITOR.NODE_ELEMENT&&g.attributes["data-cke-widget-wrapper"]&&g.replaceWith(f);a.wrapElement(e[0],e[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[0])},
+null,null,8);b.on("dataReady",function(){if(d)for(var c=b.editable().find(".cke_widget_wrapper"),e,f,g=0,k=c.count();g<k;++g)e=c.getItem(g),f=e.getFirst(h.isDomWidgetElement),f.type==CKEDITOR.NODE_ELEMENT&&f.data("widget")?(f.replace(e),a.wrapElement(f)):e.remove();d=0;a.destroyAll(!0);a.initOnAll()});b.on("loadSnapshot",function(b){/data-cke-widget/.test(b.data)&&(d=1);a.destroyAll(!0)},null,null,9);b.on("paste",function(a){a=a.data;a.dataValue=a.dataValue.replace(V,r);a.range&&(a=h.getNestedEditable(b.editable(),
+a.range.startContainer))&&(a=CKEDITOR.filter.instances[a.data("cke-filter")])&&b.setActiveFilter(a)});b.on("afterInsertHtml",function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}):(b.fire("lockSnapshot"),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire("unlockSnapshot"))})}function F(a){var b=a.selected,c=[],d=b.slice(0),e=null;return{select:function(a){0>CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){e=a;return this},
+commit:function(){var f=a.focused!==e,g,h;a.editor.fire("lockSnapshot");for(f&&(g=a.focused)&&l(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(),g.setSelected(!1),!h&&g.editor.resetDirty());f&&e&&(h=a.editor.checkDirty(),a.focused=e,a.fire("widgetFocused",{widget:e}),e.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function E(a,b,c){var d=0;b=L(b);var e=a.data.classes||{},f;if(b){for(e=
+CKEDITOR.tools.clone(e);f=b.pop();)c?e[f]||(d=e[f]=1):e[f]&&(delete e[f],d=1);d&&a.setData("classes",e)}}function H(a){a.cancel()}function G(a,b){var c=a.editor,d=c.document,e=CKEDITOR.env.edge&&16<=CKEDITOR.env.version;if(!d.getById("cke_copybin")){var f=!c.blockless&&!CKEDITOR.env.ie||e?"div":"span",e=d.createElement(f),g=d.createElement(f),f=CKEDITOR.env.ie&&9>CKEDITOR.env.version;g.setAttributes({id:"cke_copybin","data-cke-temp":"1"});e.setStyles({position:"absolute",width:"1px",height:"1px",
+overflow:"hidden"});e.setStyle("ltr"==c.config.contentsLangDirection?"left":"right","-5000px");var h=c.createRange();h.setStartBefore(a.wrapper);h.setEndAfter(a.wrapper);e.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e\x3c/span\x3e'+c.editable().getHtmlFromRange(h).getHtml()+'\x3cspan data-cke-copybin-end\x3d"1"\x3e\x3c/span\x3e');c.fire("saveSnapshot");c.fire("lockSnapshot");g.append(e);c.editable().append(g);var k=c.on("selectionChange",H,null,null,0),l=a.repository.on("checkSelection",H,
+null,null,0);if(f)var m=d.getDocumentElement().$,q=m.scrollTop;h=c.createRange();h.selectNodeContents(e);h.select();f&&(m.scrollTop=q);setTimeout(function(){b||a.focus();g.remove();k.removeListener();l.removeListener();c.fire("unlockSnapshot");b&&!c.readOnly&&(a.repository.del(a),c.fire("saveSnapshot"))},100)}}function L(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function O(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&
+b.focusManager.focus(c)}function D(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(),this.editor.selectionChange(1))}function S(a){var b=null;a.on("data",function(){var a=this.data.classes,c;if(b!=a){for(c in b)a&&a[c]||this.removeClass(c);for(c in a)this.addClass(c);b=a}})}function J(a){a.on("data",function(){if(a.wrapper){var b=this.getLabel?this.getLabel():this.editor.lang.widget.label.replace(/%1/,this.pathName||this.element.getName());
+a.wrapper.setAttribute("role","region");a.wrapper.setAttribute("aria-label",b)}},null,null,9999)}function R(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(h.isDomDragHandlerContainer),d;c?d=c.findOne("img"):(c=new CKEDITOR.dom.element("span",b.document),c.setAttributes({"class":"cke_reset cke_widget_drag_handler_container",style:"background:rgba(220,220,220,0.5);background-image:url("+b.plugins.widget.path+"images/handle.png)"}),d=new CKEDITOR.dom.element("img",b.document),d.setAttributes({"class":"cke_reset cke_widget_drag_handler",
+"data-cke-widget-drag-handler":"1",src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:"presentation"}),a.inline&&d.setAttribute("draggable","true"),c.append(d),a.wrapper.append(c));a.wrapper.on("dragover",function(a){a.data.preventDefault()});a.wrapper.on("mouseenter",a.updateDragHandlerPosition,a);setTimeout(function(){a.on("data",a.updateDragHandlerPosition,a)},50);if(!a.inline&&(d.on("mousedown",K,a),CKEDITOR.env.ie&&9>CKEDITOR.env.version))d.on("dragstart",
+function(a){a.data.preventDefault(!0)});a.dragHandlerContainer=c}}function K(a){function b(){var c;for(r.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var e=this.repository.finder,f=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(f.visible)||(d=e.getRange(d[0]),this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");f.hideVisible();g.fire("dragend",{target:c})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=
+this.repository.finder,d=this.repository.locator,e=this.repository.liner,f=this.editor,g=f.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var q=c.greedySearch(),r=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(q);k=d.sort(m,1);k.length&&(e.prepare(q,l),e.placeLine(k[0]),e.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;r.input()}));f.fire("dragstart",{target:a.sender});h.push(f.document.once("mouseup",b,this));g.isInline()||
+h.push(CKEDITOR.document.once("mouseup",b,this))}}function U(a){var b,c,d=a.editables;a.editables={};if(a.editables)for(b in d)c=d[b],a.initEditable(b,"string"==typeof c?{selector:c}:c)}function X(a){if(a.mask){var b=a.wrapper.findOne(".cke_widget_mask");b||(b=new CKEDITOR.dom.element("img",a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_mask"}),a.wrapper.append(b));a.mask=b}}function Y(a){if(a.parts){var b={},c,d;for(d in a.parts)c=a.wrapper.findOne(a.parts[d]),
+b[d]=c;a.parts=b}}function Z(a,b){M(a);Y(a);U(a);X(a);R(a);S(a);J(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart",function(b){var c=b.data.getTarget();h.getNestedEditable(a,c)||a.inline&&h.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new");a.element.addClass("cke_widget_element");a.on("key",function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){G(a,b==CKEDITOR.CTRL+88);return}if(b in T||CKEDITOR.CTRL&
+b||CKEDITOR.ALT&b)return}return!1},null,null,999);a.on("doubleclick",function(b){a.edit()&&b.cancel()});if(b.data)a.on("data",b.data);if(b.edit)a.on("edit",b.edit)}function M(a){(a.wrapper=a.element.getParent()).setAttribute("data-cke-widget-id",a.id)}function Q(a){a.element.data("cke-widget-data",encodeURIComponent(JSON.stringify(a.data)))}function N(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}var c={};CKEDITOR.style.addCustomHandler({type:"widget",
+setup:function(a){this.widget=a.widget;if(this.group="string"==typeof a.group?[a.group]:a.group){a=this.widget;var b;c[a]||(c[a]={});for(var d=0,e=this.group.length;d<e;d++)b=this.group[d],c[a][b]||(c[a][b]=[]),c[a][b].push(this)}},apply:function(a){var b;a instanceof CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&(b=a.widgets.focused,this.group&&this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof CKEDITOR.editor&&this.checkApplicable(a.elementPath(),
+a)&&a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b,d,e=!1;if(!(a instanceof CKEDITOR.editor))return!1;d=a.elementPath();if(this.checkApplicable(d,a))for(var f=0,g=this.group.length;f<g;f++){b=c[this.widget][this.group[f]];for(var h=0;h<b.length;h++)b[h]!==this&&b[h].checkActive(d,a)&&(a.widgets.focused.removeStyle(b[h]),e=!0)}return e},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)},checkApplicable:function(a,b){return b instanceof CKEDITOR.editor?
+this.checkElement(a.lastElement):!1},checkElementMatch:b,checkElementRemovable:b,checkElement:function(a){return h.isDomWidgetWrapper(a)?(a=a.getFirst(h.isDomWidgetElement))&&a.data("widget")==this.widget:!1},buildPreview:function(a){return a||this._.definition.name},toAllowedContentRules:function(a){if(!a)return null;a=a.widgets.registered[this.widget];var b,c={};if(!a)return null;if(a.styleableElements){b=this.getClassesArray();if(!b)return null;c[a.styleableElements]={classes:b,propertiesOnly:!0};
+return c}return a.styleToAllowedContentRules?a.styleToAllowedContentRules(this):null},getClassesArray:function(){var a=this._.definition.attributes&&this._.definition.attributes["class"];return a?CKEDITOR.tools.trim(a).split(/\s+/):null},applyToRange:a,removeFromRange:a,applyToObject:a})}CKEDITOR.plugins.add("widget",{requires:"lineutils,clipboard,widgetselection",onLoad:function(){void 0!==CKEDITOR.document.$.querySelectorAll&&(CKEDITOR.addCss(".cke_widget_wrapper{position:relative;outline:none}.cke_widget_inline{display:inline-block}.cke_widget_wrapper:hover\x3e.cke_widget_element{outline:2px solid #ffd25c;cursor:default}.cke_widget_wrapper:hover .cke_widget_editable{outline:2px solid #ffd25c}.cke_widget_wrapper.cke_widget_focused\x3e.cke_widget_element,.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{outline:2px solid #47a4f5}.cke_widget_editable{cursor:text}.cke_widget_drag_handler_container{position:absolute;width:15px;height:0;display:none;opacity:0.75;transition:height 0s 0.2s;line-height:0}.cke_widget_wrapper:hover\x3e.cke_widget_drag_handler_container{height:15px;transition:none}.cke_widget_drag_handler_container:hover{opacity:1}img.cke_widget_drag_handler{cursor:move;width:15px;height:15px;display:inline-block}.cke_widget_mask{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{cursor:move !important}"),
+N())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&&(a.widgets=new f(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,e;for(d in b)c=b[d],(e=c.button)&&a.ui.addButton&&a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:e,command:c.name,toolbar:"insert,10"});A(a)}}});f.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(a,b){b=CKEDITOR.tools.prototypedCopy(b);b.name=a;b._=b._||{};this.editor.fire("widgetDefinition",
+b);b.template&&(b.template=new CKEDITOR.template(b.template));k(this.editor,b);d(this,b);return this.registered[a]=b},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)},checkSelection:function(){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=F(this),d;if(b&&(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=h.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));