Lines Matching refs:K

148 (function(){function a(a){a.collapsed=a.startContainer&&a.endContainer&&a.startContainer.equals(a.endContainer)&&a.startOffset==a.endOffset}function d(a,b,c,d,f){function g(a,b,c,e){var G=c?a.getPrevious():a.getNext();if(e&&k)return G;n||e?b.append(a.clone(!0,f),c):(a.remove(),q&&b.append(a,c));return G}function m(){var a,b,c,e=Math.min(O.length,l.length);for(a=0;a<e;a++)if(b=O[a],c=l[a],!b.equals(c))return a;return a-1}function h(){var b=K-1,c=D&&z&&!r.equals(C);b<B-1||b<A-1||c?(c?a.moveToPosition(C,
150 L=a.startOffset,E=a.endOffset,N,t,D,z,I,P;if(n&&C.type==CKEDITOR.NODE_TEXT&&(r.equals(C)||r.type===CKEDITOR.NODE_ELEMENT&&r.getFirst().equals(C)))c.append(a.document.createText(C.substring(L,E)));else{C.type==CKEDITOR.NODE_TEXT?n?P=!0:C=C.split(E):0<C.getChildCount()?E>=C.getChildCount()?(C=C.getChild(E-1),t=!0):C=C.getChild(E):z=t=!0;r.type==CKEDITOR.NODE_TEXT?n?I=!0:r.split(L):0<r.getChildCount()?0===L?(r=r.getChild(L),N=!0):r=r.getChild(L-1):D=N=!0;for(var O=r.getParents(),l=C.getParents(),K=m(),
151 B=O.length-1,A=l.length-1,J=c,G,X,V,da=-1,Q=K;Q<=B;Q++){X=O[Q];V=X.getNext();for(Q!=B||X.equals(l[Q])&&B<A?b&&(G=J.append(X.clone(0,f))):N?g(X,J,!1,D):I&&J.append(a.document.createText(X.substring(L)));V;){if(V.equals(l[Q])){da=Q;break}V=g(V,J)}J=G}J=c;for(Q=K;Q<=A;Q++)if(c=l[Q],V=c.getPrevious(),c.equals(O[Q]))b&&(J=J.getChild(0));else{Q!=A||c.equals(O[Q])&&A<B?b&&(G=J.append(c.clone(0,f))):t?g(c,J,!1,z):P&&J.append(a.document.createText(c.substring(0,E)));if(Q>da)for(;V;)V=g(V,J,!0);J=G}n||h()}}
170 h=this.root;n.setStartAt(h,CKEDITOR.POSITION_AFTER_START);n.setEnd(this.startContainer,this.startOffset);n=new CKEDITOR.dom.walker(n);var I,P,O=CKEDITOR.dom.walker.blockBoundary(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),l=null,K=function(a){if(a.type==CKEDITOR.NODE_ELEMENT&&"false"==a.getAttribute("contenteditable"))if(l){if(l.equals(a)){l=null;return}}else l=a;else if(l)return;var b=O(a);b||(I=a);return b},f=function(a){var b=K(a);!b&&a.is&&a.is("br")&&(P=a);return b};n.guard=K;n=n.lastBackward();
172 n.guard=a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?f:K;I=l=P=null;n=n.lastForward();I=I||h;this.setEndAt(I,!n&&this.checkEndOfBlock()||n&&I.contains(n)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);P&&this.setEndAfter(P)}},shrink:function(a,b,c){var d="boolean"===typeof c?c:c&&"boolean"===typeof c.shrinkOnBlockBoundary?c.shrinkOnBlockBoundary:!0,f=c&&c.skipBogus;if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var g=this.clone(),m=this.startContainer,h=this.endContainer,k=this.startOffset,
224 a=a.split(/\s*,\s*/).sort();for(var b={};a.length;)b[a.shift()]="cke-test";return b}function e(a){var b,c,d,e,f={},n=1;for(a=z(a);b=a.match(l);)(c=b[2])?(d=y(c,"styles"),e=y(c,"attrs"),c=y(c,"classes")):d=e=c=null,f["$"+n++]={elements:b[1],classes:c,styles:d,attributes:e},a=a.slice(b[0].length);return f}function y(a,b){var c=a.match(K[b]);return c?z(c[1]):null}function v(a){var b=a.styleBackup=a.attributes.style,c=a.classBackup=a.attributes["class"];a.styles||(a.styles=CKEDITOR.tools.parseCssText(b||
227 n=a.validClasses;var g=b.attributes,I=b.styles,t=b.classes;D=b.classBackup;var L=b.styleBackup,K,E,O=[],z=[],J=/^data-cke-/;k=!1;delete g.style;delete g["class"];delete b.classBackup;delete b.styleBackup;if(!a.allAttributes)for(K in g)C[K]||(J.test(K)?K==(E=K.replace(/^data-cke-saved-/,""))||C[E]||(delete g[K],k=!0):(delete g[K],k=!0));if(!a.allStyles||a.hadInvalidStyle){for(K in I)a.allStyles||h[K]?O.push(K+":"+I[K]):k=!0;O.length&&(g.style=O.sort().join("; "))}else L&&(g.style=L);if(!a.allClasses||
228 a.hadInvalidClass){for(K=0;K<t.length;++K)(a.allClasses||n[t[K]])&&z.push(t[K]);z.length&&(g["class"]=z.sort().join(" "));D&&z.length<D.split(/\s+/).length&&(k=!0)}else D&&(g["class"]=D);k&&(l=1);if(!f.skipFinalValidation&&!m(b))return e.push(b),1}f.toHtml&&(b.name=b.name.replace(A,"cke:$1"));return l}function F(a){var b=[],c;for(c in a)-1<c.indexOf("*")&&b.push(c.replace(/\*/g,".*"));return b.length?new RegExp("^(?:"+b.join("|")+")$"):null}function u(a){var b=a.attributes,c;delete b.style;delete b["class"];
246 delete this._;delete this.allowedContent;delete this.disallowedContent}};var P={styles:1,attributes:1,classes:1},O={styles:"requiredStyles",attributes:"requiredAttributes",classes:"requiredClasses"},l=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,K={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},B=/^cke:(object|embed|param)$/,A=/^(object|embed|param)$/,J;J=CKEDITOR.filter.transformationsTools={sizeToStyle:function(a){this.lengthToStyle(a,
331 {applyToAll:!0});f.addRules(N);f.addRules(t,{applyToAll:!0});f.addRules(a(b,"html"),{applyToAll:!0});b.on("toHtml",function(a){a=a.data;var c=a.dataValue,f,c=c.replace(K,""),c=M(c,b),c=e(c,O),c=q(c),c=e(c,P),c=c.replace(B,"$1cke:$2"),c=c.replace(J,"\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),c=c.replace(/(<pre\b[^>]*>)(\r\n|\n)/g,"$1$2$2"),c=c.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");f=a.context||b.editable().getName();var l;CKEDITOR.env.ie&&9>CKEDITOR.env.version&&"pre"==
341 O=/(<textarea(?=[ >])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,l=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,K=new RegExp("("+x("\x3ccke:encoded\x3e")+"(.*?)"+x("\x3c/cke:encoded\x3e")+")|("+x("\x3c")+x("/")+"?"+x("cke:encoded\x3e")+")","gi"),B=/(<\/?)((?:object|embed|param|html|body|head|title)([\s][^>]*)?>)/gi,A=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,J=/<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi})();"use strict";
407 h3:1,h4:1,h5:1,h6:1},m=CKEDITOR.tools.extend({},D.$inline);delete m.br;return function(z,l,K,B){var A=z.editor,J=!1;"unfiltered_html"==l&&(l="html",J=!0);if(!B.checkReadOnly()){var G=(new CKEDITOR.dom.elementPath(B.startContainer,B.root)).blockLimit||B.root;z={type:l,dontFilter:J,editable:z,editor:A,range:B,blockLimit:G,mergeCandidates:[],zombies:[]};l=z.range;B=z.mergeCandidates;var q,p;"text"==z.type&&l.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&&(q=CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",
409 if(A=q.contains(f,!1,1))l.splitElement(A),z.inlineStylesRoot=A,z.inlineStylesPeak=q.lastElement;q=l.createBookmark();(A=q.startNode.getPrevious(c))&&a(A)&&f(A)&&B.push(A);(A=q.startNode.getNext(c))&&a(A)&&f(A)&&B.push(A);for(A=q.startNode;(A=A.getParent())&&f(A);)B.push(A);l.moveToBookmark(q);if(q=K){q=z.range;if("text"==z.type&&z.inlineStylesRoot){p=z.inlineStylesPeak;l=p.getDocument().createText("{cke-peak}");for(B=z.inlineStylesRoot.getParent();!p.equals(B);)l=l.appendTo(p.clone()),p=p.getParent();
410 K=l.getOuterHtml().split("{cke-peak}").join(K)}p=z.blockLimit.getName();if(/^\s+|\s+$/.test(K)&&"span"in CKEDITOR.dtd[p]){var u='\x3cspan data-cke-marker\x3d"1"\x3e\x26nbsp;\x3c/span\x3e';K=u+K+u}K=z.editor.dataProcessor.toHtml(K,{context:null,fixForBody:!1,protectedWhitespaces:!!u,dontFilter:z.dontFilter,filter:z.editor.activeFilter,enterMode:z.editor.activeEnterMode});p=q.document.createElement("body");p.setHtml(K);u&&(p.getFirst().remove(),p.getLast().remove());if((u=q.startPath().block)&&(1!=
411 u.getChildCount()||!u.getBogus()))a:{var y;if(1==p.getChildCount()&&a(y=p.getFirst())&&y.is(I)&&!y.hasAttribute("contenteditable")){u=y.getElementsByTag("*");q=0;for(B=u.count();q<B;q++)if(l=u.getItem(q),!l.is(m))break a;y.moveChildren(y.getParent(1));y.remove()}}z.dataWrapper=p;q=K}if(q){y=z.range;q=y.document;var x;p=z.blockLimit;B=0;var w,u=[],F,T;K=A=0;var H,M;l=y.startContainer;var J=z.endPath.elements[0],W,G=J.getPosition(l),v=!!J.getCommonAncestor(l)&&G!=CKEDITOR.POSITION_IDENTICAL&&!(G&CKEDITOR.POSITION_CONTAINS+
412 CKEDITOR.POSITION_IS_CONTAINED);l=b(z.dataWrapper,z);for(t(l,y);B<l.length;B++){G=l[B];if(x=G.isLineBreak){x=y;H=p;var S=void 0,Y=void 0;G.hasBlockSibling?x=1:(S=x.startContainer.getAscendant(D.$block,1))&&S.is({div:1,p:1})?(Y=S.getPosition(H),Y==CKEDITOR.POSITION_IDENTICAL||Y==CKEDITOR.POSITION_CONTAINS?x=0:(H=x.splitElement(S),x.moveToPosition(H,CKEDITOR.POSITION_AFTER_START),x=1)):x=0}if(x)K=0<B;else{x=y.startPath();!G.isBlock&&k(z.editor,x.block,x.blockLimit)&&(T=h(z.editor))&&(T=q.createElement(T),
414 [],Y=H.length,Z=0,ba=void 0,ca=0,U=-1;Z<Y;Z++)ba=H[Z]," "==ba?(ca||W&&!Z||(S.push(new CKEDITOR.dom.text(" ")),U=S.length),ca=1):(S.push(ba),ca=0);x&&U==S.length&&S.pop();W=S}}if(W){for(;x=W.pop();)y.insertNode(x);W=0}else y.insertNode(G.node);G.lastNotAllowed&&B<l.length-1&&((M=v?J:M)&&y.setEndAt(M,CKEDITOR.POSITION_AFTER_START),A=0);y.collapse()}}1!=l.length?w=!1:(w=l[0],w=w.isElement&&"false"==w.node.getAttribute("contenteditable"));w&&(K=!0,x=l[0].node,y.setStartAt(x,CKEDITOR.POSITION_BEFORE_START),
415 y.setEndAt(x,CKEDITOR.POSITION_AFTER_END));z.dontMoveCaret=K;z.bogusNeededBlocks=u}w=z.range;var R;M=z.bogusNeededBlocks;for(W=w.createBookmark();F=z.zombies.pop();)F.getParent()&&(T=w.clone(),T.moveToElementEditStart(F),T.removeEmptyBlocksAtEnd());if(M)for(;F=M.pop();)CKEDITOR.env.needsBrFiller?F.appendBogus():F.append(w.document.createText(" "));for(;F=z.mergeCandidates.pop();)F.mergeSiblings();w.moveToBookmark(W);if(!z.dontMoveCaret){for(F=e(w);F&&a(F)&&!F.is(D.$empty);){if(F.isBlockBoundary())w.moveToPosition(F,
582 footer:c.getChild([3,0,1,0])}}}function K(a,b,c){this.element=b;this.focusIndex=c;this.tabIndex=0;this.isFocusable=function(){return!b.getAttribute("disabled")&&b.isVisible()};this.focus=function(){a._.currentFocusIndex=this.focusIndex;this.element.focus()};b.on("keydown",function(a){a.data.getKeystroke()in{32:1,13:1}&&this.fire("click")});b.on("focus",function(){this.fire("mouseover")});b.on("blur",function(){this.fire("mouseout")})}function W(a){function b(){a.layout()}var c=CKEDITOR.document.getWindow();
621 enableButton:function(a){return this._.buttons[a].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(a,b){if("undefined"==typeof b)b=this._.focusList.length,this._.focusList.push(new K(this,a,b));else{this._.focusList.splice(b,0,new K(this,a,b));for(var c=b+1;c<this._.focusList.length;c++)this._.focusList[c].focusIndex++}},
1009 linkShowTargetTab:!0})})();(function(){function K(a,l,d,f){for(var e=CKEDITOR.plugins.list.listToArray(l.root,d),g=[],b=0;b<l.contents.length;b++){var h=l.contents[b];(h=h.getAscendant("li",!0))&&!h.getCustomData("list_item_processed")&&(g.push(h),CKEDITOR.dom.element.setMarker(d,h,"list_item_processed",!0))}for(var h=l.root.getDocument(),k,c,b=0;b<g.length;b++){var p=g[b].getCustomData("listarray_index");k=e[p].parent;k.is(this.type)||(c=h.createElement(this.type),k.copyAttributes(c,{start:1,type:1}),c.removeStyle("list-style-type"),
1028 p)?r.getCustomData("list_group_object_"+p).contents.push(m):(n={root:r,contents:[m]},CKEDITOR.dom.element.setMarker(c,r,"list_group_object_"+p,n),h.push(n)))}}for(q=[];0<h.length;)n=h.shift(),this.state==CKEDITOR.TRISTATE_OFF?l(n)||(u[n.root.getName()]?K.call(this,a,n,c,q):L.call(this,a,n,q)):this.state==CKEDITOR.TRISTATE_ON&&u[n.root.getName()]&&!l(n)&&N.call(this,a,n,c);for(w=0;w<q.length;w++)G(q[w]);CKEDITOR.dom.element.clearAllMarkers(c);g.selectBookmarks(e);a.focus()},refresh:function(a,l){var d=
1044 b.data.preventDefault(!0)});d.on("mousedown",function(a){a.data.preventDefault(!0)});a.line=d}function S(a,c,d){var b=new CKEDITOR.dom.range(a.doc),e=a.editor,f;t.ie&&a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(J):(f=(f=P(a.element,!0))&&f.data("cke-enter-mode")||a.enterMode,f=new R(K[f],a.doc),f.is("br")||a.doc.createText(J).appendTo(f));d&&e.fire("saveSnapshot");c(f);b.moveToPosition(f,CKEDITOR.POSITION_AFTER_START);e.getSelection().selectRanges([b]);a.hotNode=f;d&&e.fire("saveSnapshot")}
1060 boxTrigger:z,isLine:A,getAscendantTrigger:O,getNonEmptyNeighbour:w,getSize:U,that:b,triggerEdge:ea,triggerEditable:ca,triggerExpand:ia})},this)}});var v=CKEDITOR.tools.extend,R=CKEDITOR.dom.element,G=R.createFromHtml,t=CKEDITOR.env,ja=CKEDITOR.env.ie&&9>CKEDITOR.env.version,B=CKEDITOR.dtd,K={},I=128,da=64,T=32,M=16,C=4,D=2,x=1,J=" ",fa=B.$listItem,oa=B.$tableContent,ma=v({},B.$nonEditable,B.$empty),Z=B.$block,ga=100,Q="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;",
1061 X=Q+"border-color:transparent;display:block;border-style:solid;",W="\x3cspan\x3e"+J+"\x3c/span\x3e";K[CKEDITOR.ENTER_BR]="br";K[CKEDITOR.ENTER_P]="p";K[CKEDITOR.ENTER_DIV]="div";z.prototype={set:function(a,c,d){this.properties=a+c+(d||x);return this},is:function(a){return(this.properties&a)==a}};var ha=function(){function a(a,d){var b=a.$.elementFromPoint(d.x,d.y);return b&&b.nodeType?new CKEDITOR.dom.element(b):null}return function(c,d,b){if(!c.mouse)return null;var e=c.doc,f=c.line.wrap;b=b||c.mouse;
1103 CKEDITOR.config.specialChars="! \x26quot; # $ % \x26amp; ' ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; \x26lt; \x3d \x26gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x26euro; \x26lsquo; \x26rsquo; \x26ldquo; \x26rdquo; \x26ndash; \x26mdash; \x26iexcl; \x26cent; \x26pound; \x26curren; \x26yen; \x26brvbar; \x26sect; \x26uml; \x26copy; \x26ordf; \x26laquo; \x26not; \x26reg; \x26macr; \x26deg; \x26sup2; \x26sup3; \x26acute; \x26micro; \x26para; \x26middot; \x26cedil; \x26sup1; \x26ordm; \x26raquo; \x26frac14; \x26frac12; \x26frac34; \x26iquest; \x26Agrave; \x26Aacute; \x26Acirc; \x26Atilde; \x26Auml; \x26Aring; \x26AElig; \x26Ccedil; \x26Egrave; \x26Eacute; \x26Ecirc; \x26Euml; \x26Igrave; \x26Iacute; \x26Icirc; \x26Iuml; \x26ETH; \x26Ntilde; \x26Ograve; \x26Oacute; \x26Ocirc; \x26Otilde; \x26Ouml; \x26times; \x26Oslash; \x26Ugrave; \x26Uacute; \x26Ucirc; \x26Uuml; \x26Yacute; \x26THORN; \x26szlig; \x26agrave; \x26aacute; \x26acirc; \x26atilde; \x26auml; \x26aring; \x26aelig; \x26ccedil; \x26egrave; \x26eacute; \x26ecirc; \x26euml; \x26igrave; \x26iacute; \x26icirc; \x26iuml; \x26eth; \x26ntilde; \x26ograve; \x26oacute; \x26ocirc; \x26otilde; \x26ouml; \x26divide; \x26oslash; \x26ugrave; \x26uacute; \x26ucirc; \x26uuml; \x26yacute; \x26thorn; \x26yuml; \x26OElig; \x26oelig; \x26#372; \x26#374 \x26#373 \x26#375; \x26sbquo; \x26#8219; \x26bdquo; \x26hellip; \x26trade; \x26#9658; \x26bull; \x26rarr; \x26rArr; \x26hArr; \x26diams; \x26asymp;".split(" ");CKEDITOR.plugins.add("scayt",{requires:"menubutton,dialog",tabToOpen:null,dialogName:"scaytDialog",onLoad:function(a){"moono-lisa"==(CKEDITOR.skinName||a.config.skin)&&CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(this.path+"skins/"+CKEDITOR.skin.name+"/scayt.css"));CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl(this.path+"dialogs/dialog.css"))},init:function(a){var c=this,d=CKEDITOR.plugins.scayt;this.bindEvents(a);this.parseConfig(a);this.addRule(a);CKEDITOR.dialog.add(this.dialogName,
1197 for(d=0;d<c.count();d++)c.getItem(d).removeClass("cke_table-faked-selection");0<c.count()&&c.getItem(0).getAscendant("table").data("cke-table-faked-selection-table",!1);a.fire("unlockSnapshot");b&&(m={active:!1},a.getSelection().isInTable()&&a.getSelection().reset())}function t(a,b){var c=[],d,e;for(e=0;e<b.length;e++)d=a.createRange(),d.setStartBefore(b[e]),d.setEndAfter(b[e]),c.push(d);a.getSelection().selectRanges(c)}function K(a){var b=a.editable().find(".cke_table-faked-selection");1>b.count()||
1202 a.name&&(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT&&(c(a.data.getTarget())||b(h,k))&&K(e),m={active:!1},CKEDITOR.document.removeListener("mouseup",w))}}function N(a){var b=a.data.getTarget().getAscendant({td:1,th:1},!0);b&&!b.hasClass("cke_table-faked-selection")&&(a.cancel(),a.data.preventDefault())}function O(a,b){function c(a){a.cancel()}var d=a.getSelection(),e=d.createBookmarks(),g=a.document,h=a.createRange(),k=g.getDocumentElement().$,f=CKEDITOR.env.ie&&9>CKEDITOR.env.version,
1288 l.selectNodeContents(e);l.select();f&&(n.scrollTop=r);setTimeout(function(){b||a.focus();h.remove();g.removeListener();m.removeListener();c.fire("unlockSnapshot");b&&!c.readOnly&&(a.repository.del(a),c.fire("saveSnapshot"))},100)}}function H(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function J(){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 K(){CKEDITOR.env.gecko&&
1311 a);a||("0"==this.element.data("cke-widget-keep-attr")&&this.element.removeAttribute("data-widget"),this.element.removeAttributes(["data-cke-widget-data","data-cke-widget-keep-attr"]),this.element.removeClass("cke_widget_element"),this.element.replace(this.wrapper));this.wrapper=null},destroyEditable:function(a,b){var c=this.editables[a],d=!0;c.removeListener("focus",K);c.removeListener("blur",J);this.editor.focusManager.remove(c);if(c.filter){for(var e in this.repository.instances){var f=this.repository.instances[e];
1315 c.on("focus",K,this),CKEDITOR.env.ie&&c.on("blur",J,this),c._.initialSetData=!0,c.setData(c.getHtml()),!0):!1},_findOneNotNested:function(a){a=this.wrapper.find(a);for(var b,c,d=0;d<a.count();d++)if(b=a.getItem(d),c=b.getAscendant(g.isDomWidgetWrapper),this.wrapper.equals(c))return b;return null},isInited:function(){return!(!this.wrapper||!this.inited)},isReady:function(){return this.isInited()&&this.ready},focus:function(){var a=this.editor.getSelection();if(a){var b=this.editor.checkDirty();a.fake(this.wrapper);