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.
Readarr/NzbDrone.Web/Scripts/2011.1.315/telerik.editor.min.js

1 line
68 KiB

(function(s){var ar=s.telerik;function G(a2){var a1={};for(var a0=0;a0<a2.length;a0++){a1[a2[a0]]=true}return a1}var aL=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 aT=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(a0){if(a0.nodeType==1){a0.normalize()}};if(s.browser.msie&&parseInt(s.browser.version)>8){g=function(a1){if(a1.nodeType==1&&a1.firstChild){var a0=a1.firstChild,a2=a0;while(a2=a2.nextSibling){if(a2.nodeType==3&&a0.nodeType==3){a2.nodeValue=a0.nodeValue+a2.nodeValue;D.remove(a0)}a0=a2}}}}function p(a0){var a1=0;while(a0=a0.previousSibling){a1++}return a1}function af(a0){return a0&&a0.nodeValue!==null&&a0.data!==null}function k(a0,a1){try{return !af(a0)&&(s.contains(a0,af(a1)?a1.parentNode:a1)||a1.parentNode==a0)}catch(a2){return false}}function z(a1,a0){return k(a1,a0)||a1==a0}function aB(a1,a0){if(k(a1,a0)){while(a0&&a0.parentNode!=a1){a0=a0.parentNode}}return a0}function aG(a0){return af(a0)?a0.length:a0.childNodes.length}function av(a0,a2){var a1=a0.cloneNode(false);a0.deleteData(a2,a0.length);a1.deleteData(0,a2);D.insertAfter(a1,a0)}function B(a1,a2){for(var a3 in a2){var a0=a1[a3];if(a3=="float"){a0=a1[s.support.cssFloat?"cssFloat":"styleFloat"]}if(typeof a0=="object"){if(!B(a0,a2[a3])){return false}}else{if(a0!=a2[a3]){return false}}}return true}var aD=/^\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(a0){return D.parentOfType(a0,H)||a0.ownerDocument.body},normalize:g,toHex:function(a0){var a1=e.exec(a0);if(!a1){return a0}return"#"+s.map(a1.slice(1),function(a2){return a2=parseInt(a2).toString(16),a2.length>1?a2:"0"+a2}).join("")},encode:function(a0){return a0.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\u00a0/g,"&nbsp;")},name:function(a0){return a0.nodeName.toLowerCase()},significantChildNodes:function(a0){return s.grep(a0.childNodes,function(a1){return a1.nodeType!=3||!D.isWhitespace(a1)})},lastTextNode:function(a1){if(a1.nodeType==3){return a1}var a0=null;for(var a2=a1.lastChild;a2;a2=a2.previousSibling){if(a0=D.lastTextNode(a2)){return a0}}return a0},is:function(a0,a1){return D.name(a0)==a1},isMarker:function(a0){return a0.className=="t-marker"},isWhitespace:function(a0){return aD.test(a0.nodeValue)},isBlock:function(a0){return N[D.name(a0)]},isEmpty:function(a0){return aL[D.name(a0)]},isInline:function(a0){return aT[D.name(a0)]},scrollTo:function(a0){a0.ownerDocument.body.scrollTop=s(af(a0)?a0.parentNode:a0).offset().top},insertAt:function(a1,a0,a2){a1.insertBefore(a0,a1.childNodes[a2]||null)},insertBefore:function(a0,a1){if(a1.parentNode){return a1.parentNode.insertBefore(a0,a1)}else{return a1}},insertAfter:function(a0,a1){return a1.parentNode.insertBefore(a0,a1.nextSibling)},remove:function(a0){a0.parentNode.removeChild(a0)},trim:function(a1){for(var a0=a1.childNodes.length-1;a0>=0;a0--){var a2=a1.childNodes[a0];if(af(a2)){if(a2.nodeValue.replace(/\ufeff/g,"").length==0){D.remove(a2)}if(D.isWhitespace(a2)){D.insertBefore(a2,a1)}}else{if(a2.className!="t-marker"){D.trim(a2);if(a2.childNo