mirror of https://github.com/Radarr/Radarr
1 line
74 KiB
JavaScript
1 line
74 KiB
JavaScript
|
(function(a){var b=a.telerik;b.scripts.push("telerik.editor.js");function av(a7){var a8={};for(var a6=0;a6<a7.length;a6++){a8[a7[a6]]=true}return a8}var x=av("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed".split(",")),g="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(","),f=av(g),ab="span,em,a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,strike,strong,sub,sup,textarea,tt,u,var".split(","),aa=av(ab),C=av("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected".split(","));var az=function(a6){if(a6.nodeType==1){a6.normalize()}};if(a.browser.msie&&parseInt(a.browser.version)>=8){az=function(a7){if(a7.nodeType==1&&a7.firstChild){var a8=a7.firstChild,a6=a8;while(a6=a6.nextSibling){if(a6.nodeType==3&&a8.nodeType==3){a6.nodeValue=a8.nodeValue+a6.nodeValue;v.remove(a8)}a8=a6}}}}function E(a7){var a6=0;while(a7=a7.previousSibling){a6++}return a6}function ak(a6){return a6&&a6.nodeValue!==null&&a6.data!==null}function ai(a8,a7){try{return !ak(a8)&&(a.contains(a8,ak(a7)?a7.parentNode:a7)||a7.parentNode==a8)}catch(a6){return false}}function aj(a7,a6){return ai(a7,a6)||a7==a6}function D(a7,a6){if(ai(a7,a6)){while(a6&&a6.parentNode!=a7){a6=a6.parentNode}}return a6}function R(a6){return ak(a6)?a6.length:a6.childNodes.length}function aQ(a7,a8){var a6=a7.cloneNode(false);a7.deleteData(a8,a7.length);a6.deleteData(0,a8);v.insertAfter(a6,a7)}function e(a8,a6){for(var a7 in a6){var a9=a8[a7];if(a7=="float"){a9=a8[a.support.cssFloat?"cssFloat":"styleFloat"]}if(typeof a9=="object"){if(!e(a9,a6[a7])){return false}}else{if(a9!=a6[a7]){return false}}}return true}var a4=/^\s+$/;var aJ=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i;var t=("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 v={blockParentOrBody:function(a6){return v.parentOfType(a6,g)||a6.ownerDocument.body},normalize:az,toHex:function(a6){var a7=aJ.exec(a6);if(!a7){return a6}return"#"+a.map(a7.slice(1),function(a8){return a8=parseInt(a8).toString(16),a8.length>1?a8:"0"+a8}).join("")},encode:function(a6){return a6.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\u00a0/g," ")},name:function(a6){return a6.nodeName.toLowerCase()},significantChildNodes:function(a6){return a.grep(a6.childNodes,function(a7){return a7.nodeType!=3||!v.isWhitespace(a7)})},lastTextNode:function(a7){if(a7.nodeType==3){return a7}var a8=null;for(var a6=a7.lastChild;a6;a6=a6.previousSibling){if(a8=v.lastTextNode(a6)){return a8}}return a8},is:function(a6,a7){return v.name(a6)==a7},isMarker:function(a6){return a6.className=="t-marker"},isWhitespace:function(a6){return a4.test(a6.nodeValue)},isBlock:function(a6){return f[v.name(a6)]},isEmpty:function(a6){return x[v.name(a6)]},isInline:function(a6){return aa[v.name(a6)]},scrollTo:function(a6){a6.ownerDocument.body.scrollTop=a(ak(a6)?a6.parentNode:a6).offset().top},insertAt:function(a7,a6,a8){a7.insertBefore(a6,a7.childNodes[a8]||null)},insertBefore:function(a6,a7){if(a7.parentNode){return a7.parentNode.insertBefore(a6,a7)}else{return a7}},insertAfter:function(a6,a7){return a7.parentNode.insertBefore(a6,a7.nextSibling)},remove:function(a6){a6.parentNode.removeChild(a6)},trim:function(a8){for(var a6=a8.childNodes.length-1;a6>=0;a6--){var a7=a8.childNodes[a6];if(ak(a7)){if(a7.nodeValue.replace(/\ufeff/g,"").length==0){v.remove(a7)}if(v.isWhitespace(a7)){v.insertBefore(a7,a8)}}else{if(a7.className!="
|