aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/encoding/tests/compression/colors3.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/encoding/tests/compression/colors3.js')
-rw-r--r--includes/js/dojox/encoding/tests/compression/colors3.js53
1 files changed, 53 insertions, 0 deletions
diff --git a/includes/js/dojox/encoding/tests/compression/colors3.js b/includes/js/dojox/encoding/tests/compression/colors3.js
new file mode 100644
index 0000000..f0a1587
--- /dev/null
+++ b/includes/js/dojox/encoding/tests/compression/colors3.js
@@ -0,0 +1,53 @@
+if(!dojo._hasResource["dojox.encoding.tests.compression.colors3"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.encoding.tests.compression.colors3"] = true;
+dojo.provide("dojox.encoding.tests.compression.colors3");
+
+// all CSS3 colors
+dojox.encoding.tests.compression.colors3 = {};
+
+(function(){
+ var n = "!N!C@\",5%;!.4)1D7()4E!K!FS-!2).Q:52E`!B\"!;!)*+I!M!#&'E+9%(#!T9Q=.\"TE5F'6%$B91H/)DCQW=^&G#QY>:\"!!?*#D.57Z.]5**+0]/!G!!,X=/%2O'%1U&#W9%%86_BQU3#!N.!DA-%F>X'#9;6\"%+EK)X#A+A;+-+\"G\"T$76:L1;)'+?ENA1%L+C\\O+U+\"Q!+#,E+.E1H-[VA#\"5%O\\X)BS:%V2&2#,3I0NWE%F7?L8U!U\\\\B3C_GZ?P3N]A3\\]$)%TUK$E9EL6ZA`T%IFY$Q?/3;=Q)$QE#AQ\\11$&M!'$$XK!T?2%C7QU\"110A#/#:'U=C!7,\"=*!+BQ)%AG[)W&#CFBG\"A!/1E!5/$AU\"A/$J:*E+LQ77;%M6H/XD,H1'!)#U=&K1\"&R02U'$H5*[%Y+$3;/1'#\"-XQV8C(/GABVQQW+RS5U3QE!V<6[=YS@!0=1!:Z=93M$7W\":3;!Z0!GJM'\"QGAJ*=3(C&5I=0,6AP6H4+=:M:B)CO-D?]<,2^H-`7S<E8%#\\\\G=1ZM^B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[!0^`2I+UUL3-!)#!W,`9`W.(1/$1\\I,O^>[T````^@8V``]!GMUS!!!!";
+ var B = function(f){ var t = this; t.f = f; t.y = t.t = 0; t.x = f.charCodeAt(0) - 33; };
+ B.prototype.g = function(b){
+ var r = 0, t = this;
+ while(b){
+ var w = Math.min(b, 6 - t.t), v = t.x >>> (6 - t.t - w);
+ r <<= w; r |= v & ~(~0 << w);
+ if((t.t += w) == 6){ t.x = t.f.charCodeAt(++t.y) - 33; t.t = 0; }
+ b -= w;
+ }
+ return r;
+ };
+ var D = function(n, w){
+ this.c = new Array(n); this.w = w; this.p = -1;
+ for(var i = 0; i < n; ++i){ this.c[i] = [i + 97]; }
+ };
+ D.prototype.d = function(s){
+ var c = s.g(this.w), t = this, v;
+ if(c < t.c.length){
+ v = t.c[c];
+ if(t.p >= 0){
+ t.c.push(t.c[t.p].concat(v[0]));
+ }
+ }else{
+ t.c.push([]);
+ ++t.w;
+ return [];
+ }
+ t.p = c;
+ return v;
+ };
+ var i = new B(n), d = new D(27, 5), t = [];
+ while(t.length < 1455){
+ var v = d.d(i);
+ dojo.forEach(v, function(x){ t.push(x); });
+ }
+ var n2 = dojo.map(t, function(x){ return String.fromCharCode(x); }).join("").split("{");
+ i = new B(c);
+ for(var j = 0; j < n2.length; ++j){
+ dojox.encoding.tests.compression.colors3[n2[j]] = [i.g(8), i.g(8), i.g(8)];
+ }
+})();
+
+}