1&&"string"==typeof u&&Re.test(u))return this.each(function(){R(this).domManip(e,i,n)});if(R.isFunction(u))return this.each(function(a){var r=R(this);e[0]=u.call(this,a,i?r.html():t),r.domManip(e,i,n)});if(this[0]){if(r=(s=(a=R.buildFragment(e,this,h)).fragment).firstChild,1===s.childNodes.length&&(s=r),r)for(i=i&&R.nodeName(r,"tr"),o=a.cacheable||p-1;d0?this.clone(!0):this).get(),R(s[a])[t](n),r=r.concat(n);return this.pushStack(r,e,s.selector)}}),R.extend({clone:function(e,t,i){var n,a,r,s;if(R.support.html5Clone||R.isXMLDoc(e)||!Ve.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(Ge.innerHTML=e.outerHTML,Ge.removeChild(s=Ge.firstChild)),!(R.support.noCloneEvent&&R.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||R.isXMLDoc(e)))for(u(e,s),n=h(e),a=h(s),r=0;n[r];++r)a[r]&&u(n[r],a[r]);if(t&&(d(e,s),i))for(n=h(e),a=h(s),r=0;n[r];++r)d(n[r],a[r]);return n=a=null,s},clean:function(e,t,i,n){var a,r,s,o,l,d,u,h,f,m,g,v=t===j&&Ye,y=[];for(t&&void 0!==t.createDocumentFragment||(t=j),a=0;null!=(s=e[a]);a++)if("number"==typeof s&&(s+=""),s){if("string"==typeof s)if(Pe.test(s)){for(v=v||c(t),u=t.createElement("div"),v.appendChild(u),s=s.replace(Oe,"<$1>$2>"),o=(Le.exec(s)||["",""])[1].toLowerCase(),d=(l=Qe[o]||Qe._default)[0],u.innerHTML=l[1]+s+l[2];d--;)u=u.lastChild;if(!R.support.tbody)for(h=Be.test(s),r=(f="table"!==o||h?"