This file is indexed.

/usr/share/javascript/rainbow/rainbow.min.js is in libjs-rainbow 1.1.8+ds1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Copyright 2012 Craig Campbell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Rainbow is a simple code syntax highlighter
 *
 * @preserve @version 1.1.8
 * @url rainbowco.de
 */window.Rainbow=function(){function k(a,b,c,d){var e=a.getAttribute&&a.getAttribute(b)||0;if(!e){c=a.attributes;for(d=0;d<c.length;++d)if(c[d].nodeName===b)return c[d].nodeValue}return e}function l(a,b){a.className+=a.className?" "+b:b}function m(a,b){return(" "+a.className+" ").indexOf(" "+b+" ")>-1}function n(a){var b=k(a,"data-language")||k(a.parentNode,"data-language");if(!b){var c=/\blang(?:uage)?-(\w+)/,d=a.className.match(c)||a.parentNode.className.match(c);d&&(b=d[1])}return b}function o(a){return a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/&(?![\w\#]+;)/g,"&amp;")}function p(a,b,c,d){return c>=a&&c<b?!0:d>a&&d<b}function q(a,b,c,d){return c==a&&d==b?!1:c<=a&&d>=b}function r(c,d){for(var f in b[e]){f=parseInt(f,10),q(f,b[e][f],c,d)&&(delete b[e][f],delete a[e][f]);if(p(f,b[e][f],c,d))return!0}return!1}function s(a,b){return'<span class="'+a.replace(/\./g," ")+(i?" "+i:"")+'">'+b+"</span>"}function t(a,b){var c=0,d;for(d=1;d<b;++d)a[d]&&(c+=a[d].length);return c}function u(c,d,f,h){var i=c.exec(f);if(!i)return h();++g,!d.name&&typeof d["matches"][0]=="string"&&(d.name=d.matches[0],delete d.matches[0]);var j=i[0],k=i.index,l=i[0].length+k,m=function(){var a=function(){u(c,d,f,h)};return g%100>0?a():setTimeout(a,0)};if(r(k,l))return m();var n=function(c){d.name&&(c=s(d.name,c)),a[e]||(a[e]={},b[e]={}),a[e][k]={replace:i[0],"with":c},b[e][k]=l,m()},o=y(d.matches),p=function(a,b,c){if(a>=b.length)return c(j);var e=function(){p(++a,b,c)},f=i[b[a]];if(!f)return e();var g=d.matches[b[a]],h=g.language,k=g.name&&g.matches?g.matches:g,l=function(c,d,f){j=x(t(i,b[a]),c,f?s(f,d):d,j),e()};if(h)return B(f,h,function(a){l(f,a)});if(typeof g=="string")return l(f,f,g);z(f,k.length?k:[k],function(a){l(f,a,g.matches?g.name:0)})};p(0,o,n)}function v(a){return d[a]}function w(a){var b=c[a]||[],d=c[f]||[];return v(a)?b:b.concat(d)}function x(a,b,c,d){var e=d.substr(a);return d.substr(0,a)+e.replace(b,c)}function y(a){var b=[],c,d;for(var e in a)a.hasOwnProperty(e)&&b.push(e);return b.sort(function(a,b){return b-a})}function z(c,d,f){function g(d,h){if(h<d.length)return u(d[h].pattern,d[h],c,function(){g(d,++h)});A(c,function(c){delete a[e],delete b[e],--e,f(c)})}++e,g(d,0)}function A(b,c){function d(b,c,f,g){if(f<c.length){++h;var i=c[f],j=a[e][i];b=x(i,j.replace,j["with"],b);var k=function(){d(b,c,++f,g)};return h%250>0?k():setTimeout(k,0)}g(b)}var f=y(a[e]);d(b,f,0,c)}function B(a,b,c){var d=w(b);z(o(a),d,c)}function C(c,d,e){if(d<c.length){var f=c[d],g=n(f);return!m(f,"rainbow")&&g?(g=g.toLowerCase(),l(f,"rainbow"),B(f.innerHTML,g,function(h){f.innerHTML=h,a={},b={},j&&j(f,g),setTimeout(function(){C(c,++d,e)},0)})):C(c,++d,e)}e&&e()}function D(a,b){a=a&&typeof a.getElementsByTagName=="function"?a:document;var c=a.getElementsByTagName("pre"),d=a.getElementsByTagName("code"),e,f=[];for(e=0;e<d.length;++e)f.push(d[e]);for(e=0;e<c.length;++e)c[e].getElementsByTagName("code").length||f.push(c[e]);C(f,0,b)}var a={},b={},c={},d={},e=0,f=0,g=0,h=0,i,j;return{extend:function(a,b,e){arguments.length==1&&(b=a,a=f),d[a]=e,c[a]=b.concat(c[a]||[])},onHighlight:function(a){j=a},addClass:function(a){i=a},color:function(){if(typeof arguments[0]=="string")return B(arguments[0],arguments[1],arguments[2]);if(typeof arguments[0]=="function")return D(0,arguments[0]);D(arguments[0],arguments[1])}}}(),function(){if(window.addEventListener)return window.addEventListener("load",Rainbow.color,!1);window.attachEvent("onload",Rainbow.color)}(),Rainbow.onHighlight=Rainbow.onHighlight,Rainbow.addClass=Rainbow.addClass;