Lines Matching refs:k

21 …env.webkit?"-webkit-":CKEDITOR.env.ie?"-ms-":"",b=/&/g,c=/>/g,e=/</g,l=/"/g,k=/&(lt|gt|amp|quot|nb…  variable
25 …(c,"\x26gt;").replace(e,"\x26lt;")},htmlDecode:function(a){return a.replace(k,h)},htmlEncodeAttr:f…
49 …ion:1,table:1,ul:1},l={command:1,link:1,meta:1,noscript:1,script:1,style:1},k={},d={"#":1},h={cent…
50k,article:c,aside:c,audio:a({source:1,track:1},c),b:b,base:k,bdi:b,bdo:b,blockquote:c,body:c,br:k,…
51k,fieldset:a({legend:1},c),figcaption:c,figure:a({figcaption:1},c),footer:c,form:c,h1:b,h2:b,h3:b,…
52k,span:b,strong:b,style:d,sub:b,summary:a({h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},b),sup:b,table:{caption:…
53 dialog:k,dir:{li:1},font:b,isindex:k,noframes:c,strike:b,tt:b};a(f,{$block:a({audio:1,dd:1,dt:1,fig…
79 …=0;b&&c<a.length;c++){var e=a[c];if(f)for(var l=-1,k=0;k<b.childNodes.length;k++){var d=b.childNod…
85 …in(", #"+c+" ")}function c(a){for(var b=0,c=0,g=k[a].length;c<g;c++)b+=parseFloat(this.getComputed…
109k=this.$.getBoundingClientRect(),l=g.$.documentElement,q=l.clientTop||e.$.clientTop||0,v=l.clientL…
110k=q.$.offsetParent)?new CKEDITOR.dom.element(k):null}a&&(k=this.getWindow(),q=a.getWindow(),!k.equ…
111 …ch(e){}}while(b=b.getParent())}},scrollIntoParent:function(a,b,c){var g,e,f,k;function l(b,g){/bod…
113 …-x.x||0;k=e.y-v(this,"top")-x.y||0;g=e.x+g+v(this,"right")-(x.x+z)||0;e=e.y+B+v(this,"bottom")-(x.…
115k;if(!(f in b))if("checked"==f&&(k=this.getAttribute(f)))a.setAttribute(f,k);else if(!CKEDITOR.env…
119 …(e),g.type==CKEDITOR.NODE_ELEMENT?g.forEach(a,b):b&&g.type!=b||a(g)}}});var k={width:["border-left… class in AnonymousFunctione4ea0038af00
122 …Container;c=g.endContainer;var e=g.startOffset,f=g.endOffset,m,h=this.guard,k=this.type,n=a?"getPr…
124 k,m):(a?c.type==CKEDITOR.NODE_ELEMENT&&(c=0<f?c.getChild(f-1):!1===m(c,!0)?null:c.getPreviousSource…
128 …ype==a)}};CKEDITOR.dom.walker.bogus=function(a){function b(a){return!l(a)&&!k(a)}return function(g…
129 …CKEDITOR.dom.walker.whitespaces(),k=CKEDITOR.dom.walker.bookmark(),d=CKEDITOR.dom.walker.temp(),h=…
130 CKEDITOR.dom.walker.ignored=function(a){return function(b){b=l(b)||k(b)||d(b);return!!(a^b)}};var m…
132 … f(a,b,c,d,e){function f(a,b,g,c){var d=g?a.getPrevious():a.getNext();if(c&&k)return d;r||c?b.appe…
134 b.mergeSiblings(!1),a.moveToBookmark({startNode:c}))):a.collapse(!0)}a.optimizeBookmark();var k=0==…
137k(d)||d.type==CKEDITOR.NODE_ELEMENT&&d.is(CKEDITOR.dtd.$removeEmpty)}}function e(a){return functio…
149 …eturn!0};if(this.collapsed)break;var m=this.getCommonAncestor(),h=this.root,k,l,r,z,A,y=!1,D,C;D=t…
150 …():!h.contains(r))break;y&&"inline"==r.getComputedStyle("display")||(y=!1,A?k=r:this.setStartBefor…
151 …nodeName.toLowerCase()]){z=null;break}z&&(D=!!C.length)}else z=null;D&&(y?A?k=r:r&&this.setStartBe…
153 …&&!D){r=z;z=null;break}z=D}else r=null}r&&(r=c(r.getParent()))}k&&l&&(m=k.contains(l)?l:k,this.set…
157 …is.startContainer,h=this.endContainer,k=this.startOffset,l=this.endOffset,r=c=1;m&&m.type==CKEDITO…
177 …on(a,b){var c=this.getCommonAncestor(),d=this.getBoundaryNodes(),e=[],f,m,h,k;if(c&&c.find)for(m=c…
178 ….startNode.equals(c),k=c.getPosition(d.endNode)&CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IS_C…
181 …RT:CKEDITOR.END)}var e=/^[\r\n\t ]+$/,l=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.…
182 k(a)},h={dd:1,dt:1,li:1};a.prototype={getNextParagraph:function(a){var g,f,k,t,w;a=a||"p";if(this._…
186k=v.equals(q);break}f&&(f.setEndAt(v,CKEDITOR.POSITION_BEFORE_START),"br"!=z&&(this._.nextNode=v))…
187k||z.equals(q);f.setEndAt(z,CKEDITOR.POSITION_BEFORE_END);break}v=z;B=1;k=v.equals(q);r=1}B&&f.set…
188 …),w=f.splitBlock(),t=!w.wasStartOfBlock,w=!w.wasEndOfBlock,f.insertNode(g)):k||(this._.nextNode=g.…
189 …getPrevious(l)||t.getNext(l))&&t.remove();this._.nextNode||(this._.nextNode=k||g.equals(q)||!q?nul…
194 … h=f;h.elements=k(h.elements,/\s+/)||null;h.propertiesOnly=h.propertiesOnly||!0===h.elements;var m…
195 m)||null;var r=h,v=N[l],n=k(h[N[l]],m),z=h[l],G=[],x=!0,A=void 0;n?x=!1:n={};for(A in z)"!"==A.char…
198 …bled||a.customConfig&&!c||!b)return!1;a._.cachedChecks={};return!0}function k(a,b){if(!a)return!1;… function
201 …oCallbacks&&a.elementCallbacks){a:{h=a.elementCallbacks;for(var m=0,k=h.length,l;m<k;++m)if(l=h[m]…
202k=a._;a=k.allowedRules.elements[m];h=k.allowedRules.generic;m=k.disallowedRules.elements[m];k=k.di…
203 …tributes;var G=a.validStyles;h=a.validClasses;var m=b.attributes,x=b.styles,k=b.classes;l=b.classB…
204 …le=N);if(!a.allClasses||a.hadInvalidClass){for(A=0;A<k.length;++A)(a.allClasses||h[k[A]])&&r.push(
207k,f=d.length;0<f;)h=d[--f],g&&(h.type==CKEDITOR.NODE_TEXT||h.type==CKEDITOR.NODE_ELEMENT&&F.$inlin…
208 k[h.name]||c.push({check:"el-up",el:h}));a.remove()}}else d in{style:1,script:1}?a.remove():(a.pare…
212 …!1;var e=this,g=[],f=this.editor&&this.editor.config.protectedSource,h,m=!1,k={doFilter:!c,doTrans… class in AnonymousFunctione4ea003816f00
213 ….tools.objectKeys(a.attributes).join("|").indexOf("data-cke-"))if(h=t(e,a,g,k),h&1)m=!0;else if(h&…
214 …==d.children.length&&(l=d.children[0]).type==CKEDITOR.NODE_ELEMENT&&t(e,l,c,k);c=!c.length}c||g.pu…
217 … 0,m=void 0,k=void 0,l=void 0;c=[];for(f=0;f<b.length;++f)h=b[f],"string"==typeof h?(h=h.split(/\s…
218 g.left.getDefinition().element),k instanceof CKEDITOR.style&&(k=D(k)),c.push({check:m==g?null:m,lef…
219 …class"].split(/\s+/):[],styles:e,children:[]};var h=CKEDITOR.tools.clone(e),k=[],l;if(!1!==b&&(l=t…
220 …th;++d)z(this,e,l[d]);q(e)}t(this,h,k,{doFilter:!0,doTransform:!1!==b,skipRequired:!c,skipFinalVal…
231 f=this.keystrokes[e],k=this._.editor;a=!1===k.fire("key",{keyCode:e,domEvent:b});a||(f&&(a=!1!==k.e…
233 …oader=function(){var a={},f={};return{load:function(b,c,e,l){var k="string"==typeof b;k&&(b=[b]);e…
234 h=[],m=[],g=function(a){c&&(k?c.call(e,a):c.call(e,h,m))};if(0===d)g(!0);else{var n=function(a,b){(…
235 …s.load(b.scriptUrl,b.callback,CKEDITOR,0)}var c=[];return function(e,f){var k=this;c.push({scriptU…
236 callback:function(){f&&f.apply(this,arguments);c.shift();a.call(k)}});1==c.length&&a.call(this)}}()…
238k={},d={},h=0;h<a.length;h++){var m=a[h];if(m)if(c[m]||e[m])d[m]=this.get(m);else{var g=this.getFi…
239 …(CKEDITOR.plugins.load,function(a){var f={};return function(b,c,e){var l={},k=function(b){a.call(t… function
240 …)k.call(this,b);else{for(d in l)n=l[d],n.onLoad&&!n.onLoad._called&&(!1===n.onLoad()&&delete l[d],…
246k(a){var b=a.config.customConfig;if(!b)return!1;var b=CKEDITOR.getUrl(b),c=q[b]||(q[b]={});c.fn?(c…
249 b.customConfig);k(a)||a.fireOnce("customConfigLoaded")}function h(a){CKEDITOR.skin.loadPart("editor…
251k=m.lang,l=null,r=m.requires,n;CKEDITOR.tools.isArray(r)&&(r=r.join(","));if(r&&(n=r.match(f)))for…
254k=a[m],l=k.startContainer.getAscendant("tr",!0);c(k)?(g||(g=l.getAscendant("table").clone(),g.appe…
265k;c=this._.htmlPartsRegex.exec(b);){e=c.index;if(e>l)if(l=b.substring(l,e),k)k.push(l);else this.o…
310 …)},filter:function(a,b){var f=this,k,d;b=f.getFilterContext(b);if(b.off)return!0;if(!f.parent)a.on…
311k)))return this.remove(),!1;f.name=d;if(!(f=a.onElement(b,f)))return this.remove(),!1;if(f!==this)…
312 …l=this.name,k=[],d=this.attributes,h,m;a.openTag(l,d);for(h in d)k.push([h,d[h]]);a.sortAttributes…
314k=0;k<b.length;++k)b[k].parent=f;f.children=b;b[0]&&(b[0].previous=null);0<a&&(this.children[a-1].…
322k){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw'… argument
323 …d","required")),delete this.element)}function b(a){var b=a.name,f=a.element,k=a.elementMode,d=a.fi…
325 …entation"\x3e'+h+"\x3c/span\x3e":"",outerEl:CKEDITOR.env.ie?"span":"div"}));k==CKEDITOR.ELEMENT_MO…
326 ….width;k=a.config.height;f&&b.setStyle("width",CKEDITOR.tools.cssLength(f));k&&a.ui.space("content…
327k=a[b];if(k.name||k.id){if("string"==typeof arguments[0]){if(!(new RegExp("(?:^|\\s)"+arguments[0]…
328k=this._.modes;if(a!=f.mode&&k&&k[a]){f.fire("beforeSetMode",a);if(f.mode){var d=f.checkDirty(),k=…
329k){var d=this.container,h=this.ui.space("contents"),m=CKEDITOR.env.webkit&&this.document&&this.doc… argument
330 …th="100%");this.fire("resize",{outerHeight:b,contentsHeight:d,outerWidth:a||k.getSize("width")})};…
331 …e&&CKEDITOR.env.needsBrFiller)if(g=f(g,d))g.appendBogus(),m=CKEDITOR.env.ie;k(b,d.block,e)&&h.coll…
334 …OR.dom.walker(f),a.guard=b(!0),d=!1,a.checkForward(),d}return null}function k(a,b,c){return!1!==a.…
353 …var f=e.getHead(),k=f.getCustomData("stylesheet");k?h!=k.getText()&&(CKEDITOR.env.ie&&9>CKEDITOR.e…
354 …,d;if(c in n){b=a.getSelection();var e,f=b.getRanges()[0],h=f.startPath(),m,k,u,c=8==c;CKEDITOR.en…
356k=h.blockLimit.getAscendant("table"))&&f.checkBoundaryOfElement(k,c?CKEDITOR.START:CKEDITOR.END)&&…
366k=d.range.startContainer;e=d.range.startPath();for(var k=l[k.getName()],n=0,u=c.getChildren(),v=u.…
367 …tChildren(),f=g.count(),h,m=0,k=l[c],n=!b.is(l.$inline)||b.is("br");for(n&&d.push(" ");m<f;m++)h=g…
375 …POSITION_AFTER_START),M=1)):M=0}if(M)x=0<p;else{M=R.startPath();!t.isBlock&&k(n.editor,M.block,M.b…
389 …KEDITOR.dom.walker(c),h=c.startPath().contains(d),m=c.endPath().contains(d),k={};f.guard=function(…
390k,a,l,1)}if(f&&h&&a.equals(h))g=c.clone(),g.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),e.push(g);els…
392k,l=f.getCommonAncestor();l.is(CKEDITOR.dtd.$tableContent)&&!l.is(d)&&(l=l.getAscendant("table",!0…
393k,CKEDITOR.POSITION_BEFORE_START),h=f.clone(),h.setEndAt(l,CKEDITOR.POSITION_AFTER_END),m=f.clone(…
395 …ditablePosition(null,!0)},autoParagraph:function(a,b){var c=b.startPath(),e;k(a,c.block,c.blockLim…
399 k=1===g.length&&g[0]._getTableElement()&&g[0]._getTableElement().is("table"),l=1===e.length&&e[0].c…
400 …selection:b,path:c}))}function l(){z=!0;r||(k.call(this),r=CKEDITOR.tools.setTimeout(k,200,this))}…
409 …("contenteditable")&&b}}var f=c.document,h=CKEDITOR.document,m=c.editable(),k=f.getBody(),n=f.getD…
412 …){var p,w;n.on("mousedown",function(a){function b(a){a=a.data.$;if(p){var c=k.$.createTextRange();…
413 …(a.getTarget().is("html")&&a.$.y<n.$.clientHeight&&a.$.x<n.$.clientWidth){p=k.$.createTextRange();…
424 …set:0};for(var e=d.children,g,f,h=b.duplicate(),m=0,k=e.length-1,l=-1,n,r;m<=k;)if(l=Math.floor((m…
425 b),0<n)k=l-1;else if(0>n)m=l+1;else return{container:d,offset:a(g)};if(-1==l||l==e.length-1&&0>n){h…
433 …iddenSelectionContainer;this.reset();if(e)for(var e=this.root,f,k=0;k<b.length;++k)f=b[k],f.endCon…
443 …d,CKEDITOR.POSITION_BEFORE_END);else{var g=this.element,h=this._.definition,m,k=h.ignoreReadonly,l=
444 k||h.includeReadonly;null==l&&(l=c.root.getCustomData("cke_includeReadonly"));var n=CKEDITOR.dtd[g]…
445 …rent(),y=h,C=g,da=m,!D||!(D.getDtd()||CKEDITOR.dtd.span)[C]&&!da||y.parentRule&&!y.parentRule(D))k=
446k=!B.getNext(I))&&(F=B.getParent(),n[F.getName()])&&f(F,v,h,N);)B=F;q.setEndAfter(B)}}else k=!0;x=…
447k.getAttribute(ea)==ha?y[ea]=1:C[ea]=1);for(E in h.styles)!D[E]&&(ha=z.getStyle(E))&&(k.getStyle(E…
449 …vable(m)){var k;!e&&a.collapsed&&(a.checkBoundaryOfElement(m,CKEDITOR.END)||(k=a.checkBoundaryOfEl…
451 …h(b,a.root)).contains(this.element,1))&&!a.isReadOnly()&&x(a,this)}function k(a){var b=a.getCommon…
467 h:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.removeFromRange(a)},applyToObject:function(a)…
474 …e<b.length;e++){var f=b[e],k=f.style.checkActive(a.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.T…
476 …ITOR.dtd.$empty||(f[b]=1);CKEDITOR.dom.elementPath=function(b,e){var l=null,k=null,d=[],h=b,m;e=e|…
477k&&(m=h.getName(),"true"==h.getAttribute("contenteditable")?k=h:!l&&f[m]&&(l=h),a[m])){if(m=!l&&"d…
481k=c[e?"endContainer":"startContainer"],d=e?"endOffset":"startOffset",h=f?c.document.getById(a.star…
482k;return c}CKEDITOR.dom.rangeList=function(a){if(a instanceof CKEDITOR.dom.rangeList)return a;a?a …
483k=1;else if(c(h)||h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary())continue;break}if(!k)break;m+…
485 …),l[a]=1);b&&b()}function c(a){var b=a.getById(k);b||(b=a.getHead().append("style"),b.setAttribute…
488 …or"),m=c(this,"panel"));a=[[h,a]];e([b],f,a);e(d,m,a)}).call(this,a)}});var k="cke_ui_color",d=[],…
491 …tch(/[^#]./g),f=0;3>f;f++){var k=f,d;d=parseInt(e[f],16);d=("0"+(0>c?0|d*(1+c):0|d+(255-d)*c).toSt…
496 this)},this),this._.domOnChangeRegistered=!0);this.on("change",b)}},!0),l=/^on([A-Z]\w+)/,k=functio… function
497 …[];var k={role:c.role||"presentation"};c.includeLabel&&(k["aria-labelledby"]=f.labelId);CKEDITOR.u… class in AnonymousFunctione4ea003831e00
499k={"class":"cke_dialog_ui_input_"+c.type,id:f,type:c.type};c.validate&&(this.validate=c.validate);… class in AnonymousFunctione4ea003832000
500 …];c.width&&a.push('style\x3d"width:'+c.width+'" ');a.push("\x3e\x3cinput ");k["aria-labelledby"]=t…
501k["aria-required"]=this._.required);for(var b in k)a.push(b+'\x3d"'+k[b]+'" ');a.push(" /\x3e\x3c/…
502 …e_dialog_ui_input_textarea" role\x3d"presentation"\x3e\x3ctextarea id\x3d"',k,'" '],b;for(b in l)a…
503 …"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":f};k(a);c["default"]&&(g.…
505 …lue:B,"aria-labelledby":z},y=[];f._["default"]==B&&(A.checked="checked");k(r);k(x);"undefined"!=ty…
507k=CKEDITOR.tools.getNextId()+"_label";CKEDITOR.ui.dialog.uiElement.call(this,b,f,d,"a",null,{style…
509 …id 0!==c.size&&(g.size=c.size);void 0!==c.multiple&&(g.multiple=c.multiple);k(a);for(var l=0,u;l<c…
511 …c);c.validate&&(this.validate=c.validate);var f=CKEDITOR.tools.extend({},c),k=f.onClick;f.classNam…
512k&&!1===k.call(this,a)||(b.getContentElement(d[0],d[1]).submit(),this.disable())};b.on("load",func…
513 …s,d,e,k,"span",null,null,"");k=k.join("").match(a);l=l.match(b)||["","",""];c.test(l[1])&&(l[1]=l[…
526 …onbeforeunload \x3d function() {window.parent.CKEDITOR.tools.callFunction("+k+")}","\x3c/script\x3…
527k=this.formUnloadNumber,l=b.dialog._.editor.lang.dir,v=b.dialog._.editor.langCode;f||(f=this.formL…
528 CKEDITOR.tools.removeFunction(k)}));CKEDITOR.env.gecko?setTimeout(a,500):a()},getValue:function(){r…
530k=[],l=0;l<d.length&&(e=d[l]);l++){var v=[];f.push(v);k.push(CKEDITOR.dialog._.uiElementBuilders[e…
534 …se:e,tabs:c.getChild(2),contents:c.getChild([3,0,0,0]),footer:c.getChild([3,0,1,0])}}}function k(a, class in AnonymousFunctione4ea003836e00
536k=a.getSize(),m=CKEDITOR.document.getWindow().getViewPaneSize(),l=c.data.$.screenX,n=c.data.$.scre…
538 …getComputedStyle("right"),B=a.getPosition();B.y+v>k.height&&(v=k.height-B.y);(n?p:B.x)+x>k.width&&…
540k,m,l,n,r=CKEDITOR.tools.addFunction(function(d){l=a.getSize();var e=a.parts.contents;e.$.getEleme…
545 …DITOR.env.ie6Compat){var k=function(){h();arguments.callee.prevScrollHandler.apply(this,arguments)… function
546 window.onscroll=k},0);h()}}function t(a){y&&(a.focusManager.remove(y),a=CKEDITOR.document.getWindow…
548 …ex-b.focusIndex});for(var b=a.length,c=0;c<b;c++)a[c].focusIndex=c}function k(a){var b=y._.focusLi… function
549 …ke(),e="rtl"==b.lang.dir,g=[37,38,39,40];w=t=0;if(9==d||d==CKEDITOR.SHIFT+9)k(d==CKEDITOR.SHIFT+9?…
551 this._.tabBarMode=!1,this._.currentFocusIndex=-1,k(1),w=1;u(c)}}function u(a){w?a.data.preventDefau…
555 …hide:!0}).hide&&this.hide();a.data.preventDefault()},this);this.changeFocus=k;var C=this._.element…
557 (a=x.onFocus.call(this))&&a.focus():k(1))},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on(…
558 this._.tabBarMode&&(this._.tabBarMode=!1,this._.currentFocusIndex=-1,k(1)),a.data.preventDefault())…
563k=this._.contents[a.id][h];"hbox"!=k.type&&"vbox"!=k.type&&k.getInputElement()&&(k.requiredContent…
574 …=this._.focusList.length,this._.focusList.push(new k(this,a,b));else{this._.focusList.splice(b,0,n…
583 k=["\x3c",h," "],m=(e&&e.call?e(b):e)||{},l=(f&&f.call?f(b):f)||{},n=(g&&g.call?g.call(this,a,b):g)…
584 …")+x.join("; "));for(r in l)k.push(r+'\x3d"'+CKEDITOR.tools.htmlEncode(l[r])+'" ');k.push("\x3e",n…
587k,m={role:"presentation"};e&&e.align&&(m.align=e.align);CKEDITOR.ui.dialog.uiElement.call(this,a,e…
588k==c.length-1&&(b="cke_dialog_ui_hbox_last");a.push('\x3ctd class\x3d"',b,'" role\x3d"presentation…
590k=[];b.push('\x3ctr\x3e\x3ctd role\x3d"presentation" ');g&&k.push("width:"+w(g||"100%"));h?k.push(…
595 …=[],h=0;h<d.length&&(e=d[h]);h++){var k=[];f.push(k);g.push(CKEDITOR.dialog._.uiElementBuilders[e.…
609 …d 0===c||c;if(!c){d=b.lastElement;for(var e=a.editable();d&&!(d.getName()in k||d.equals(e));){var …
610 …tion(),h=c.config.enterMode,k=d.getRanges();if(k&&k.length){for(var m={},v=d.createBookmarks(),k=k
612 …||"style"==d&&(c||e.test(f))){a:{h=this;for(var k=h.getDocument().getBody().getParent();h;){if(h.e…
613k=a.apply(this,arguments),h!=this.getDirection(1)))return this.getDocument().fire("dirChanged",thi…
615k=l[0].startNode,d=l[0].endNode,h;if(k&&"blockquote"==k.getParent().getName())for(h=k;h=h.getNext(…
616k=[];b=m.getNextParagraph();)k.push(b);1>k.length&&(b=a.document.createElement(a.config.enterMode=…
617k.length;d++)b=k[d],h=h.getCommonAncestor(b.getParent());for(b={table:1,tbody:1,tr:1,ol:1,ul:1};b[…
618 k.length;)b=k.shift(),e.append(b)}else if(b==CKEDITOR.TRISTATE_ON){d=[];for(h={};b=m.getNextParagra…
619k.push(e),CKEDITOR.dom.element.setMarker(h,e,"blockquote_processed",!0)),b.push(m);CKEDITOR.dom.el…
625 …ITOR.TRISTATE_DISABLED:b,this.setState(b),this.refresh&&this.refresh())}var k=CKEDITOR.env,d=this.…
626 …ITOR.tools.addFunction(function(){v&&(a.unlockSelection(1),v=0);t.execute();k.iOS&&a.focus()});if(…
628 …"),ariaShortcut:p?a.lang.common.keyboardShortcut+" "+p.aria:"",titleJs:k.gecko&&!k.hc?"":(this.tit…
635 …}};CKEDITOR.plugins.add("toolbar",{requires:"button",init:function(e){var f,k=function(a,b){var c,… function
636k(a,9);return!1;case 40:return a.button&&a.button.hasArrow?a.execute():k(a,40==b?p:g),!1;case g:ca…
639 k;a.onfocus=function(){e.toolbox.focusCommandExecuted||e.focus()}};if(y.type==CKEDITOR.UI_SEPARATOR…
646 …ion=function(b,c,e){var f,k;"progress"==c?f=e:k=e;b=new CKEDITOR.plugins.notification(a,{message:b…
655 b=b.ui.space("top"),l=b.getClientRect(),k=f.getClientRect(),d,h=this._notificationWidth,m=this._not…
656k.height?f.setStyles({position:"fixed",top:w(l.bottom)}):0<c.top?f.setStyles({position:"absolute",…
658 …nPasteEvent&&(a.on("paste",function(a){F||(f(),a.data.preventDefault(),z(a),k("paste"))}),a.on("co…
660k(c);else try{a=b.document.$.execCommand(c,!1,null)}catch(d){a=!1}a||b.showNotification(b.lang.cli…
661 …tools.keystrokeToString(b.lang.common.keyboard,b.getCommandKeystroke(this)),k="string"===typeof f?…
662 …nction(){F=0},100)}function h(){C=1;setTimeout(function(){C=0},10)}function k(a){var c=b.document,… function
663 …cancel()},h;if(!d.getById("cke_pastebin")){var k=b.getSelection(),m=k.createBookmarks();CKEDITOR.e…
666k.selectBookmarks(m);n.remove();var a;CKEDITOR.env.webkit&&(a=n.getFirst())&&a.is&&a.hasClass("App…
669 …copy:y("copy"),paste:y("paste")}})})();(function(){function a(c,d,e,f,h){var k=b.lang.clipboard[d];
670 …ui.addButton&&b.ui.addButton(c,{label:k,command:d,toolbar:"clipboard,"+f});b.addMenuItems&&b.addMe…
673 …lace(/(<br>){2,}/g,function(a){return c(a.length/4)})+"\x3c/p\x3e"));return k(a,b)}function e(){fu…
674 …plyTo(b,!0,!1,a.activeEnterMode);b.writeHtml(d);return d.getHtml()}function k(a,b){a.enterMode==CK…
676 …type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()}var k=b.editable(),m=CKEDI…
677 k.attachListener(m,"dragstart",f);k.attachListener(b,"dragstart",c.resetDragDataTransfer,c,null,1);
678k.attachListener(b,"dragend",c.resetDragDataTransfer,c,null,100);k.attachListener(m,"dragover",fun…
679k.attachListener(b,"drop",c.initDragDataTransfer,c,null,1);k.attachListener(b,"drop",function(a){i…
680k=e();a.config.forcePasteAsPlainText?d="plain-text":a.config.pasteFilter?d=a.config.pasteFilter:!C…
685 …asteType;"htmlifiedtext"==h&&(f=c(a.config,f));"text"==e&&"html"==h?f=l(a,f,k.get("plain-text")):n…
689k,m;e.fire("saveSnapshot");e.fire("lockSnapshot",{dontUpdate:1});CKEDITOR.env.ie&&10>CKEDITOR.env.…
690 k.endNode;m=f.startNode;c&&b.getPosition(m)&CKEDITOR.POSITION_PRECEDING&&c.getPosition(m)&CKEDITOR.…
691 …Body().$.createTextRange();try{for(var k=!1,m=0;20>m&&!k;m++){if(!k)try{c.moveToPoint(d,e-m),k=!0}…
692 e+m),k=!0}catch(r){}}if(k){var z="cke-temp-"+(new Date).getTime();c.pasteHTML('\x3cspan id\x3d"'+z+…
702k=this._.panel=new CKEDITOR.ui.floatPanel(a,l,c),c=k.addBlock(b.id,e),d=this;k.onShow=function(){d…
703 d.onClose)d.onClose()};k.onEscape=function(){k.hide(1);d.document.getById(b.id).focus()};if(this.on…
708k=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?"javascript:void(function(){"+encodeURICom…
711 …tItems(),k,d,h=f.count()-1;0<=h;h--)if(k=f.getItem(h),k.getAscendant(b)||(d=k,this._.focusIndex=h)…
712 …ar k=this._.focusIndex,f=this.element.getElementsByTag("a"),d;d=f.getItem(++k);)if(d.getAttribute(…
713k=this._.focusIndex;for(f=this.element.getElementsByTag("a");0<k&&(d=f.getItem(--k));){if(d.getAtt… argument
714k){k=CKEDITOR.tools.genKey(c.getUniqueId(),e.getUniqueId(),a.lang.dir,a.uiColor||"",l.css||"",k||"… function
715 …ame:m,children:[],dir:b.lang.dir,showBlockParams:null};b.on("mode",k);b.on("resize",k);d.getWindow…
716 showBlock:function(a,c,e,f,k,d){var h=this._.panel,m=h.showBlock(a);this._.showBlockParams=[].slice… argument
717 {x:0,y:0},q="rtl"==this._.dir,v=w.x+(f||0)-p.x,u=w.y+(k||0)-p.y;!q||1!=e&&4!=e?q||2!=e&&3!=e||(v+=c…
721 …$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),k;(k=a.getCustomData("activePanel"))&&k.onHide…
725k,d){if(this._.activeChild!=a||a._.panel._.offsetParentId!=e.getId())this.hideChild(),a.onHide=CKE… argument
727 …css:CKEDITOR.skin.getPath("editor"),attributes:{role:"listbox","aria-label":k.panelTitle}},onBlock…
729 …);for(h=0;h<c.count();h++){var k=c.getItem(h);k.removeAttribute("aria-selected");b&&b==e(k.getAttr…
731 …x3ca class\x3d"cke_colorauto" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"',k.auto,'" onclick\x3d"…
732 k.auto,'\')" role\x3d"option" aria-posinset\x3d"1" aria-setsize\x3d"',v,'"\x3e\x3ctable role\x3d"pr…
734k.more,'" onclick\x3d"CKEDITOR.tools.callFunction(',u,",'?','",d,"');return false;\" href\x3d\"jav…
735 …eplace(/#/,"").toLowerCase()}var l=a.config,k=a.lang.colorbutton;if(!CKEDITOR.env.hc){f("TextColor…
736 …yles=c.styles;b.attributes=c.attributes||{};return b}}]];f("BGColor","back",k.bgColorTitle,20,d)}}…
753k=a,l=/\s/g,r="p br ol ul li td th div caption body".split(" "),n=!1,q=!1,p,w;do{for(p=b(k,g);!p&&
754k.getStyle("display")||!k.getText()));for(k||(k=a);k.type!==CKEDITOR.NODE_TEXT;)k=!n||g||q?k.getCh…
778 k=(new CKEDITOR.dom.elementPath(a.getTarget(),c.editable())).contains(function(a){return a.hasAttri…
781 …reateAdvancedTab:function(c,e,l){e||(e=b);var k=c.lang.common,d={id:"advanced",label:k.advancedTab…
782k.id,setup:a,commit:f}),e.dir&&h.push({id:"advLangDir",att:"dir",type:"select",requiredContent:l?l…
783 …equiredContent:l?l+"{cke-xyz}":null,label:k.styles,"default":"",validate:CKEDITOR.dialog.validate.…
784 …Classes",att:"class",type:"text",requiredContent:l?l+"(cke-xyz)":null,label:k.cssClasses,"default"…
786 …-div-added"))}for(var f=a.getSelection(),k=f&&f.getRanges(),d,h=f.createBookmarks(),m=[],g=0;g<k.l…
788 !a.isReadOnly()},1)}}}(),function(){function a(a,b){function k(b){b=g.list[b];var c;b.equals(a.edit… function
789 …a.ui.space("path");b&&a.focusManager.add(b,1)});g.onClick=k;var p=CKEDITOR.tools.addFunction(k),t=…
790 …focus(),!1;case 13:case 32:return k(b),!1}return!0});a.on("selectionChange",function(){for(var b=[…
791k.length;D++){var C=k[D](A,r);if(!1===C){y=1;break}r=C||r}y||(d.unshift(A),f.unshift(r))}d=d.lengt…
792 r+"')",index:k,keyDownFn:t,clickFn:p}),b.unshift(r);m||(m=CKEDITOR.document.getById(h));f=m;f.setHt…
794 …"p")||(b=CKEDITOR.ENTER_BR,c=1),a.fire("saveSnapshot"),b==CKEDITOR.ENTER_BR?k(a,b,null,c):d(a,b,nu…
799 l.moveToElementEditStart(u);l.select();return}}else if(u&&u.is("pre")&&!q){k(a,d,l,p);return}if(w=l…
801 …Start(u);l.select();l.scrollIntoView()}}},enterBr:function(a,b,c,e){if(c=c||f(a)){var k=c.document,
802 …())?(k=k.createElement("div"),k.setAttribute("dir",l),k.insertAfter(v),c.setStart(k,0)):(k.createE…
803 k.createText("\r"):k.createElement("br"),c.deleteContents(),c.insertNode(a),CKEDITOR.env.needsBrFil…
804k=document.createElement("div"),d;k.innerHTML="\x26"+a.join(";\x26")+";";d=k.innerHTML;k=null;for…
805 e.entities_processNumerical&&k[a]?k[a]:"\x26#"+a.charCodeAt(0)+";"}var e=f.config;if(f=(f=f.dataPro…
807 …_additional&&l.push(e.entities_additional));var k=a(l.join(",")),d=k.regex?"["+k.regex+"]":"a^";de…
809 …r k=window.open("",null,c,!0);if(!k)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" c…
812 …action=a(d.url,e);c.filebrowser=d}function l(a,d,g,k){if(k&&k.length)for(var p,t=k.length;t--;)if(… argument
814 …["for"][1]),p.filebrowser)}}function k(a,b,c){if(-1!==c.indexOf(";")){c=c.split(";");for(var d=0;d… function
816 …d])l(a.editor,a.data.name,b,c.elements),c.hidden&&c.filebrowser&&(c.hidden=!k(b,c.id,c.filebrowser…
825 …ter)&&e.addRules({elements:{"cke:object":function(e){var k=e.attributes;if(!(k.classid&&String(k.c…
826k=0;k<e.children.length;k++)if("cke:embed"==e.children[k].name){if(!a(e.children[k]))break;return … function
829 h.setStyle(d,b(("pin"==m?A:r)+n+("pin"==m?0:"left"==d?B:-B)))):(m="pin",g("pin"),k(d))}}}();if(l){v…
830 …voiceLabel:a.title}))),m=CKEDITOR.tools.eventsBuffer(500,k),g=CKEDITOR.tools.eventsBuffer(100,k);h…
831 …Target().hasAscendant("a",1)||a.preventDefault()});a.on("focus",function(b){k(b);a.on("change",m.i…
835k){var d=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);… argument
844k="cke_"+this.id,d=CKEDITOR.tools.addFunction(function(c){p&&(a.unlockSelection(1),p=0);m.execute(…
846k,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:l.…
847k);h.setState(CKEDITOR.TRISTATE_ON);h._.on=1;h.editorFocus&&!a.focusManager.hasFocus&&a.focus();if…
850 …(a,c){this.add(a,CKEDITOR.UI_RICHCOMBO,c)}}(),function(){function a(a,c,e,l,k,d,h,m){var g=a.confi… argument
851 p=k.split(";");k=[];for(var t={},w=0;w<p.length;w++){var q=p[w];if(q){var q=q.split("/"),v={},u=p[w…
853k=a.elementPath(),m=k.contains(function(a){return g.checkElementRemovable(a)});if(m){var l=h.check…
854 …ND):(h.splitElement(m),h.moveToPosition(m,CKEDITOR.POSITION_AFTER_END)),f(h,k.elements.slice(),m);…
858k=[],d=0;d<c.length;d++){var h=c[d],m=new CKEDITOR.style(f["format_"+h]);if(!a.filter.customConfig…
863k=function(c,d,h){var k={allowedContent:e[d],requiredContent:l[d]};"form"==d&&(k.context="form");a… function
864k("Checkbox","checkbox",d+"checkbox.js");k("Radio","radio",d+"radio.js");k("TextField","textfield"…
865 …rea:{label:f.forms.textarea.title,command:"textarea",group:"textarea"}},h&&(k.imagebutton={label:f…
866 …group:"imagebutton"}),!a.blockless&&(k.form={label:f.forms.form.menu,command:"form",group:"form"})…
881k){var d=a(b),h;d&&(h=f(d),h==c?(d.removeStyle("float"),c==f(d)&&d.removeAttribute("align")):d.set… argument
882k.cancel())})}}b.plugins.image2||(c("left"),c("right"),c("center"),c("block"))}})}(),CKEDITOR.conf…
883 l.selectBookmarks(k)},e,null,100)}var f=CKEDITOR.TRISTATE_DISABLED,b=CKEDITOR.TRISTATE_OFF;CKEDITOR…
889 …ATE_OFF;CKEDITOR.plugins.add("indentblock",{requires:"indent",init:function(k){function d(){h.spec… argument
891 …m){var h=m,d=d.$.className.match(this.classNameRegex),k=this.isIndent,h=d?k?d[1]!=h.slice(-1):!0:k
892 …KEDITOR.plugins.indent,m=k.config.indentClasses;h.registerCommands(k,{indentblock:new d(k,"indentb…
893 ….length)return!1;q=f.getParents(!0);for(l=0;l<q.length;l++)if(q[l].getName&&k[q[l].getName()]){f=q…
895k;)CKEDITOR.env.needsNbspFiller&&!f.getFirst(b)&&f.append(t.document.createText(" ")),f.append(C);…
896k))&&t.setEndAt(w,CKEDITOR.POSITION_BEFORE_END);if(!w){var q=t.getEnclosedNode();q&&q.type==CKEDIT…
897 k&&(q=new CKEDITOR.dom.walker(t),q.evaluator=f,t.endContainer=q.previous());if(w)return c(w)}return…
898 …ns.indentList.firstItemInPath(this.context,b,c);return c&&this.isIndent&&!d?k:l}:function(a,b){ret…
899 l:k},exec:CKEDITOR.tools.bind(a,this)}}var e=CKEDITOR.plugins.indent;e.registerCommands(b,{indentli…
900 …r=a;this.name=b;this.value=f;this.context="p";b=a.config.justifyClasses;var k=a.config.enterMode==…
901 ….join("|")+")(?\x3d$|\\s)");this.requiredContent=k+"("+this.cssClassName+")"}else this.requiredCon…
902 …r(var k=new CKEDITOR.dom.walker(f),d;d=k.next();)if(d.type==CKEDITOR.NODE_ELEMENT)if(!d.equals(a.d…
903 …{exec:function(b){var f=b.getSelection(),l=b.config.enterMode;if(f){for(var k=f.createBookmarks(),…
904 …-align",this.value)}b.focus();b.forceNextSelectionCheck();f.selectBookmarks(k)}},refresh:function(…
905k=new f(a,"justifyright","right"),d=new f(a,"justifyblock","justify");a.addCommand("justifyleft",e…
908 …|["ar:Arabic:rtl","fr:French","es:Spanish"],b=this,c=a.lang.language,e={},l,k,d,h;a.addCommand("la…
909k=l[0],d="language_"+k,e[d]={label:l[1],langId:k,group:"language",order:h,ltr:"rtl"!=(""+l[2]).toL…
919 …)))return"anchor"})}});var e=/^javascript:/,l=/^mailto:([^?]+)(?:\?(.+))?$/,k=/subject=([^;?:@&=$,…
924 "anchor",A.anchor={},A.anchor.name=A.anchor.id=r[1];else if(r=c.match(l)){z=c.match(k);c=c.match(d)…
926k=d.email,h=k.address;switch(e){case "":case "encode":var l=encodeURIComponent(k.subject||""),m=en…
927k&&e.push("+'",a(k),"'"),e.push(")")):e=["mailto:",h,k];break;default:e=h.split("@",2),k.name=e[0]…
932 …nkShowTargetTab:!0})}(),function(){function a(a,b,c){function d(c){if(!(!(l=k[c?"getFirst":"getLas…
933 …].indent;for(h=e[g].indent;e[g]&&e[g].indent>=h;)e[g].indent+=f,g++;g--}var k=CKEDITOR.plugins.lis…
934 d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function f(a,b){this.name=a;this.contex…
936 …getChild(d.startOffset))?f.insertBefore(m):d.startContainer.append(f);p&&(f=k(p))&&(l.contains(p)?…
937 ….$list&&c(e);d.moveToBookmark(h);d.select();a.fire("saveSnapshot")}function k(a){return(a=a.getLas…
938k=a.getChild(g);k.type==CKEDITOR.NODE_ELEMENT&&k.getName()in CKEDITOR.dtd.$list&&CKEDITOR.plugins.…
939k,"listarray_index",c.length);c.push(l);for(var m=0,n=k.getChildCount(),p;m<n;m++)p=k.getChild(m),…
941k.$.documentMode&&C.append(k.createText(" ")),C.append(p.listNode),p=p.nextIndex;else if(-1==H.ind…
942 …lass(N);E=null;K&&(C.append(K),K=null);C.append(J.clone(1,1))}else V?(E||(E=k.createElement(I),C.a…
943 …ast(g))&&F.type==CKEDITOR.NODE_ELEMENT&&F.is(CKEDITOR.dtd.$block)||C.append(k.createElement("br"))…
944k=f=e=void 0,e=c.getDirection()))){for(f=c.getParent();f&&!(k=f.getDirection());)f=f.getParent();e…
945k.getFirst(g)){var l=1==h.length&&h[0];(e=l&&l.getEnclosedNode())&&e.is&&this.type==e.getName()&&t…
947k.push(y),CKEDITOR.dom.element.setMarker(m,F,"list_group_object",y));t=1;break}t||(t=C,t.getCustom…
953 …checkBoundaryOfElement(y,CKEDITOR.START)&&(y=y.getParent())&&y.is("li")&&(y=k(y))?(f=y,y=y.getPrev…
954 …getFirst(g),h.checkBoundaryOfElement(f,CKEDITOR.START)&&(y=t.getPrevious(g),k(f)?y&&(h.moveToEleme…
956 …checkEndOfBlock()?(m.block.remove(),h.moveToElementEditStart(y),h.select()):k(y)?(h.moveToElementE…
960k(b);if("true"==c.getAttribute("contenteditable"))return b;if(c.is(a.triggers))return c}return nul… function
964k={};this.trigger=d;e&&r(a,e,!0);f&&r(a,f,!0);r(a,h,!0);a.inInlineMode&&z(a,!0);h.equals(c)?(k.lef…
965k.top=e.size.bottom+e.size.margin.bottom):k.top=f.size.top-f.size.margin.top;d.is(P)||l(k.top,b.sc…
966 …eMode&&(k.top--,k.top+=b.editable.scroll.top,k.left+=b.editable.scroll.left);for(var m in k)k[m]=C…
967 …a.editor,f;E.ie&&a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(O):(f=(f=k(a.element,!0))&&f.da…
969 …dant(R,1);if(!q(a,f)&&f&&!f.equals(a.editable)&&!f.contains(a.editable)){(g=k(f))&&"false"==g.getA…
973k=[],m,q;if(l(c.y,h.size.top-1,h.size.top+g))q=!1;else if(l(c.y,h.size.bottom-g,h.size.bottom+1))q…
974k=[null,h][q?"reverse":"concat"]().concat([q?G:N,J,m,h.equals(a.editable[q?"getLast":"getFirst"](a…
975k.top=f.y-(c?0:a.view.scroll.y);k.left=f.x-(c?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.ou…
976 k,!0)}function r(a,b,c){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScrol…
977k=!1,l=!1,m=a.view.pane.height,r=a.mouse;r.y+h<m&&0<r.y-h;){k||(k=b(e,d));l||(l=b(g,d));!k&&0<r.y-…
978 k*(c.magicline_holdDistance||.5),boxColor:c.magicline_color||"#ff0000",rtl:"rtl"==c.contentsLangDir…
979k.is(H.$inline)||(l.inInlineMode&&!t(k)&&k.setStyles({position:"relative",top:null,left:null}),d.c…
980k.attachListener(k,"keyup",function(){l.hiddenMode=0}),k.attachListener(k,"keydown",function(b){if…
981 …wer)?l.line.attach().place():(l.trigger=null,l.line.detach()),v=!1)},30)}}),k.attachListener(p,"sc…
982 0)},50)))}),k.attachListener(I?n:p,"mousedown",function(){"wysiwyg"==a.mode&&(l.line.detach(),l.hid…
986k;if(!n(f)||f.contains(e.editable)||f.isReadOnly())return null;k=y(e,function(a,b){return!b.equals…
987 …if(!p||!u||!l(e.mouse.y,p.size.top,u.size.bottom))return null;k.upper=p;k.lower=u;return k.set(V,8…
999 …ssor,e=c&&c.dataFilter,c=c&&c.htmlFilter,l=/page-break-after\s*:\s*always/i,k=/display\s*:\s*none/…
1000 …;else if(l.test(a.attributes.style)){var c=a.children[0];c&&"span"==c.name&&k.test(c.attributes.st…
1002 …ar l=e.data,k=(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?l.dataTransfer.getData("text/…
1003 if(k&&(b||h.test(k))&&(!1!==f.fire("pasteFromWord",d)||b)){l.dontFilter=!0;var m=a(f,c,function(){i…
1006 …y ",k=b.document&&b.document.getBody();k&&(k.getAttribute("id")&&(e+='id\x3d"'+k.getAttribute("id"…
1007 …/body\x3e\x3c/html\x3e"}f=640;e=420;k=80;try{var d=window.screen,f=Math.round(.8*d.width),e=Math.r…
1008 …scrollbars\x3dyes,resizable\x3dyes,width\x3d"+f+",height\x3d"+e+",left\x3d"+k);CKEDITOR.env.ie&&d&…
1011 …ins.removeformat.filter,e=a.getSelection().getRanges(),l=e.createIterator(),k=function(a){return a…
1012 …eadOnly()){if(m.getPosition(g)&CKEDITOR.POSITION_CONTAINS)break;m=m.getNext(k)}else n=m.getNextSou…
1014 …=h.width,f=h.height,k=e+(b.data.$.screenX-d.x)*("rtl"==l?-1:1);b=f+(b.data.$.screenY-d.y);m&&(e=Ma…
1015 …=c.resize_minHeight&&(c.resize_minHeight=250);if(!1!==c.resize_enabled){var k=null,d,h,m=("both"==…
1016 …ight,n=CKEDITOR.tools.addFunction(function(e){k||(k=a.getResizable());h={width:k.$.offsetWidth||0,…
1027 …tSelectedElement();c=!c&&a._.savedSelection.getRanges();for(var k=0;k<c.length;k++)f=c[k],"string"…
1028 …,(d<f.startOffset||d<f.endOffset)&&a.unlockSelection(!1))}},this,null,-10)},k=function(){b?a.confi…
1029k);a.on("beforeCommandExec",function(b){var c=a.scayt,e=!1,g=!1,k=!0;b.data.name in f.options.disa…
1030 g=!0),"language"===b.data.name&&(g=e=!0),a.fire("reloadMarkupScayt",{removeOptions:{removeInside:k,…
1031 …ion(){c();(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE||a.plugins.divarea)&&k()},this,null,50);a.o…
1032 k=a.scayt;k&&setTimeout(function(){g&&(c.selectionNode=a.plugins.language.getCurrentLangElement(a),…
1041k=CKEDITOR.tools.search,d=CKEDITOR.tools.indexOf;a.config.scayt_disableOptionsStorage=function(a){…
1042k=function(b){if(a.scayt&&(b.hasAttribute(f.options.data_attribute_name)||b.hasAttribute(f.options… function
1047k=b?"startGrammarCheck":"startSpellCheck",d=a.scayt;if(0<f.length&&"no_any_suggestions"!==f[0])if(…
1048 …),a.addCommand(h,this.createCommand(CKEDITOR.plugins.scayt.suggestions[b],l,k)),a.addMenuItem(h,{l…
1049 …his.scaytMenuDefinition(a),e={},l=a.config.scayt_contextCommands.split("|"),k=f.getAttribute(b.get…
1050k,word:e}),e=this.buildSuggestionMenuItems(a,CKEDITOR.plugins.scayt.suggestions,d)):h&&(c=c.grayt,…
1059k;try{k=e(l)}catch(d){f.alarmCompatibilityMessage(),delete l.charsToObserve,k=e(l)}k.subscribe("su…
1060k.subscribe("graytStateChanged",function(d){b.state.grayt[a.name]=d.state});k.addMarkupHandler&&k.…
1064 …de(a[f],function(a){return function(c){var e=c.editor.scayt,f=this.contents,k=c.contents,d=null;CK…
1065 "",c.contents=e.removeMarkupFromString(k)||"");d=a.apply(this,arguments);this.contents=f;c.contents…
1067 …){var a="p div pre address blockquote h1 h2 h3 h4 h5 h6".split(" "),b,c,e,l,k=CKEDITOR.getUrl(this…
1068 h+"{background-image:url("+CKEDITOR.getUrl(k+"images/block_"+m+".png")+")}";CKEDITOR.addCss((b+"{ba…
1073 …ion(a){return function(b,f){a.apply(this,arguments);var k=parseInt(this.getValue(),10);f[!k||0>=k?…
1089 …,{init:function(e){for(var l=!1!==e.config.enableTabKeyTools,k=e.config.tabSpaces||0,d="";k--;)d+=…
1090 ….element.prototype.focusNext=function(a,f){var b=void 0===f?this.getTabIndex():f,c,e,l,k,d,h;if(0>=
1091 …sVisible()&&!(0>(h=d.getTabIndex()))){if(c&&h==b){l=d;break}h>b&&(!l||!k||h<k)?(l=d,k=h):l||0!==h||
1092k=h)}}l&&l.focus()},CKEDITOR.dom.element.prototype.focusPrevious=function(a,f){for(var b=void 0===…
1093 d>k)&&(l=h,k=d)}}l&&l.focus()},CKEDITOR.plugins.add("table",{requires:"dialog",init:function(a){fun…
1095 …ntains("table",1);if(b){var f=b.getParent(),k=a.editable();1!=f.getChildCount()||f.is("td","th")||…
1097k=e[h];if(k.collapsed)(k=k.getCommonAncestor().getAscendant({td:1,th:1},!0))&&c(k)&&f.push(k);els…
1098k=d.getParent().$.rowIndex+d.$.rowSpan-1,d=new CKEDITOR.dom.element(f.$.rows[k]),h=c?h:k,g=c?g:d,d…
1099k+=l.colSpan-1}c?e.insertBefore(g):e.insertAfter(g)}function b(c){if(c instanceof CKEDITOR.dom.sel…
1100 …veToPosition(f,CKEDITOR.POSITION_BEFORE_START);h=new CKEDITOR.dom.element(g[k+1]||(0<h?g[h-1]:null…
1101k=CKEDITOR.tools.buildTableMap(f),f=[],g=[],d=k.length,l=0;l<d;l++)f.push(k[l][h]),g.push(c?k[l][h…
1102 k.colSpan+=1):(h=new CKEDITOR.dom.element(f[l]),k=h.clone(),k.removeAttribute("colSpan"),k.appendBo…
1103k=0;m=e[k++];)if((n=m.getPrevious())&&!n.getCustomData("delete_cell")||(n=m.getNext())&&!n.getCust…
1105 …ar g;b=e[0];f=b.getAscendant("table");var h=CKEDITOR.tools.buildTableMap(f),k=h.length,l=h[0].leng…
1107 …ldren(b);b.appendBogus();w>=l?b.removeAttribute("rowSpan"):b.$.rowSpan=t;t>=k?b.removeAttribute("c…
1108k=m(g,h,d),l=d.$.rowSpan,n;if(1<l){n=Math.ceil(l/2);for(var l=Math.floor(l/2),e=h+n,f=new CKEDITOR…
1109 …2);else{for(var h=e=1,k=[],l=0;l<f.length;l++){var n=f[l];k.push(n[g]);1<n[g].rowSpan&&(l+=n[g].ro…
1113 …f=d[d.length-1],d=e.getAscendant("table"),g=CKEDITOR.tools.buildTableMap(d),k,l,m=[];c.reset();for…
1114k=p),g[n][p]==f.$&&(l=p);for(n=k;n<=l;n++)for(p=0;p<g.length;p++)f=g[p],e=new CKEDITOR.dom.element…
1117 …ction(a){a=a.getSelection();k(a,!0)}}));m("cellInsertAfter",e({requiredContent:"table",exec:functi…
1123k=[];for(f=f||0;f<=c;f++){l++;!k[l]&&(k[l]=[]);for(var d=-1,h=b;h<=(-1===e?a[f].cells.length-1:e);…
1124k[l+n]=[]);for(var p=0;p<g;p++)k[l+n][d+p]=a[f].cells[h]}d+=g-1;if(-1!==e&&d>=e)break}}return k},f…
1125 …)&&(h.push(d),CKEDITOR.dom.element.setMarker(k,d,"selected_cell",!0));CKEDITOR.dom.element.clearAl…
1127 …n");1>c.count()||(c=a(c.getItem(0),c.getItem(c.count()-1)),e(b,c))}function k(b,d,f){var g=v(b.get…
1130 …&&(w={active:!0},CKEDITOR.document.on("mouseup",h,null,{editor:g}));(t||p)&&k(g,t||p,a);"mouseup"=…
1131 f=a.document,g=a.createRange(),h=f.getDocumentElement().$,k=CKEDITOR.env.ie&&9>CKEDITOR.env.version…
1132 …ppend(n),t=a.on("selectionChange",c,null,null,0),k&&(p=h.scrollTop),g.selectNodeContents(m),g.sele…
1133 …editor,h=g.getSelection(),k=new CKEDITOR.dom.element("body"),l=0,m=0,n=0,p=0,t={},q,w,J,P,K,S,O;k.…
1134 …rent();if(!q)for(O=0;O<w.length;O++)w[O].setHtml("");if(1<k.getChildCount()||!p)w[0].setHtml(k.get…
1136k=q[O]&&q[O][w]?new CKEDITOR.dom.element(q[O][w]):null,S&&!S.getCustomData("processed")){if(k&&k.g…
1138 …});var h=g[0].getBoundaryNodes(),k=h.startNode,h=h.endNode;if(k&&k.is&&k.is(e)){for(var l=k.getAsc…
1139k.contains(a)&&a.is&&a.is("td","th")};m&&!p(m);)m=m.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT…
1140k,l,m;if(d[f]&&(g=a.getSelection())&&g.isInTable()&&g.isFake)if(k=g.getRanges(),l=k[0]._getTableEl…
1145 function(b){return a[b]};CKEDITOR.loadTemplates=function(a,c){for(var e=[],l=0,k=a.length;l<k;l++)f…
1146 …d=c.readOnly?!1:"wysiwyg"==c.mode;g.onChange()}var g=c.undoManager=new b(c),k=g.editingHandler=new…
1147 …function(a){g.save(a.data&&a.data.contentOnly)});c.on("contentDom",k.attachListeners,k);c.on("inst…
1150 …|"ready"!=f.status||"wysiwyg"!=f.mode)return!1;var k=f.editable();if(!k||"ready"!=k.status)return!…
1151 …!1}else!1!==e&&f.fire("change");k.splice(this.index+1,k.length-this.index-1);k.length==this.limit&…
1158 a;this.ignoreInputEvent=!1;this.keyEventsStack=new k;this.lastKeydownImage=null};l.prototype={onKey…
1161 …r.editor,"blur",function(){e.keyEventsStack.remove(9)},null,null,999)}};var k=CKEDITOR.plugins.und…
1162 function(){this.stack=[]};k.prototype={push:function(a){a=this.stack.push({keyCode:a,inputs:0});ret…