You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/NzbDrone.Web/Scripts/2011.2.712/telerik.editor.min.js

1 line
69 KiB

(function(s){var at=s.telerik;at.scripts.push("telerik.editor.js");function G(a5){var a4={};for(var a3=0;a3<a5.length;a3++){a4[a5[a3]]=true}return a4}var aN=G("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed".split(","));var H="div,p,h1,h2,h3,h4,h5,h6,address,applet,blockquote,button,center,dd,dir,dl,dt,fieldset,form,frameset,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,pre,script,table,tbody,td,tfoot,th,thead,tr,ul".split(",");var N=G(H);var aW=G("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var".split(","));var M=G("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected".split(","));var g=function(a3){if(a3.nodeType==1){a3.normalize()}};if(s.browser.msie&&parseInt(s.browser.version)>8){g=function(a4){if(a4.nodeType==1&&a4.firstChild){var a3=a4.firstChild,a5=a3;while(a5=a5.nextSibling){if(a5.nodeType==3&&a3.nodeType==3){a5.nodeValue=a3.nodeValue+a5.nodeValue;D.remove(a3)}a3=a5}}}}function p(a3){var a4=0;while(a3=a3.previousSibling){a4++}return a4}function af(a3){return a3&&a3.nodeValue!==null&&a3.data!==null}function k(a3,a4){try{return !af(a3)&&(s.contains(a3,af(a4)?a4.parentNode:a4)||a4.parentNode==a3)}catch(a5){return false}}function z(a4,a3){return k(a4,a3)||a4==a3}function aC(a4,a3){if(k(a4,a3)){while(a3&&a3.parentNode!=a4){a3=a3.parentNode}}return a3}function aH(a3){return af(a3)?a3.length:a3.childNodes.length}function aw(a3,a5){var a4=a3.cloneNode(false);a3.deleteData(a5,a3.length);a4.deleteData(0,a5);D.insertAfter(a4,a3)}function B(a4,a5){for(var a6 in a5){var a3=a4[a6];if(a6=="float"){a3=a4[s.support.cssFloat?"cssFloat":"styleFloat"]}if(typeof a3=="object"){if(!B(a3,a5[a6])){return false}}else{if(a3!=a5[a6]){return false}}}return true}var aE=/^\s+$/;var e=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i;var ah=("color,padding-left,padding-right,padding-top,padding-bottom,background-color,background-attachment,background-image,background-position,background-repeat,border-top-style,border-top-width,border-top-color,border-bottom-style,border-bottom-width,border-bottom-color,border-left-style,border-left-width,border-left-color,border-right-style,border-right-width,border-right-color,font-family,font-size,font-style,font-variant,font-weight,line-height").split(",");var D={blockParentOrBody:function(a3){return D.parentOfType(a3,H)||a3.ownerDocument.body},normalize:g,toHex:function(a3){var a4=e.exec(a3);if(!a4){return a3}return"#"+s.map(a4.slice(1),function(a5){return a5=parseInt(a5).toString(16),a5.length>1?a5:"0"+a5}).join("")},encode:function(a3){return a3.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00a0/g,"&nbsp;")},name:function(a3){return a3.nodeName.toLowerCase()},significantChildNodes:function(a3){return s.grep(a3.childNodes,function(a4){return a4.nodeType!=3||!D.isWhitespace(a4)})},lastTextNode:function(a4){if(a4.nodeType==3){return a4}var a3=null;for(var a5=a4.lastChild;a5;a5=a5.previousSibling){if(a3=D.lastTextNode(a5)){return a3}}return a3},is:function(a3,a4){return D.name(a3)==a4},isMarker:function(a3){return a3.className=="t-marker"},isWhitespace:function(a3){return aE.test(a3.nodeValue)},isBlock:function(a3){return N[D.name(a3)]},isEmpty:function(a3){return aN[D.name(a3)]},isInline:function(a3){return aW[D.name(a3)]},scrollTo:function(a3){a3.ownerDocument.body.scrollTop=s(af(a3)?a3.parentNode:a3).offset().top},insertAt:function(a4,a3,a5){a4.insertBefore(a3,a4.childNodes[a5]||null)},insertBefore:function(a3,a4){if(a4.parentNode){return a4.parentNode.insertBefore(a3,a4)}else{return a4}},insertAfter:function(a3,a4){return a4.parentNode.insertBefore(a3,a4.nextSibling)},remove:function(a3){a3.parentNode.removeChild(a3)},trim:function(a4){for(var a3=a4.childNodes.length-1;a3>=0;a3--){var a5=a4.childNodes[a3];if(af(a5)){if(a5.nodeValue.replace(/\ufeff/g,"").length==0){D.remove(a5)}if(D.isWhitespace(a5)){D.insertBefore(a5,a4)}}else{if(a5.className!