UNPKG

rescode

Version:

Generate Codes (EAN13, QRCODE ..)

1,046 lines 161 kB
var BWIPJS = require("../bwip.js"); // file: bwipp/databaromni.js // // This code was automatically generated from: // Barcode Writer in Pure PostScript - Version 2013-01-25 // // Copyright (c) 2011-2013 Mark Warren // Copyright (c) 2004-2013 Terry Burton // // See the LICENSE file in the bwip.js root directory // for the extended copyright notice. // BEGIN databaromni if (!BWIPJS.bwipp["renlinear"]) BWIPJS.load("bwipp/renlinear.js"); if (!BWIPJS.bwipp["renmatrix"]) BWIPJS.load("bwipp/renmatrix.js"); BWIPJS.bwipp["databaromni"]=function() { this.dict["renlinear"]=BWIPJS.bwipp["renlinear"]; this.dict["renmatrix"]=BWIPJS.bwipp["renmatrix"]; function $f0(){ return -1; } function $f1(){ var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f2(){ this.stk[this.ptr++]=true; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f3(){ var a=/^\s*([^\s]+)(\s+.*)?$/.exec(this.stk[this.ptr-1]); if (a) { this.stk[this.ptr-1]=BWIPJS.psstring(a[2]===undefined?"":a[2]); this.stk[this.ptr++]=BWIPJS.psstring(a[1]); this.stk[this.ptr++]=true; } else { this.stk[this.ptr-1]=false; } this.stk[this.ptr++]=false; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f0; var t0=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t0.call(this)==-1) return -1; } this.stk[this.ptr]=this.stk[this.ptr-1]; this.ptr++; if (typeof(this.stk[this.ptr-1].length)!=="number") throw "length: invalid: " + BWIPJS.pstype(this.stk[this.ptr-1]); this.stk[this.ptr-1]=this.stk[this.ptr-1].length; this.stk[this.ptr-1]=BWIPJS.psstring(this.stk[this.ptr-1]); var t=this.stk[this.ptr-2].toString(); this.stk[this.ptr-1].assign(0,t); this.stk[this.ptr-2]=this.stk[this.ptr-1].subset(0,t.length); this.ptr--; this.stk[this.ptr++]=BWIPJS.psstring("="); var h=this.stk[this.ptr-2]; var t=h.indexOf(this.stk[this.ptr-1]); if (t==-1) { this.stk[this.ptr-1]=false; } else { this.stk[this.ptr-2]=h.subset(t+this.stk[this.ptr-1].length); this.stk[this.ptr-1]=h.subset(t,this.stk[this.ptr-1].length); this.stk[this.ptr++]=h.subset(0,t); this.stk[this.ptr++]=true; } this.stk[this.ptr++]=true; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f1; this.stk[this.ptr++]=$f2; var t1=this.stk[--this.ptr]; var t2=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t2.call(this)==-1) return -1; } else { if (t1.call(this)==-1) return -1; } } function $f4(){ this.stk[this.ptr++]=1; this.stk[this.ptr-1]={}; this.dict=this.stk[--this.ptr]; this.dstk.push(this.dict); var t=this.dstk.get("options"); if (t===undefined) throw new Error("dict: options: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=$f3; var t3=this.stk[--this.ptr]; while (true) { if (t3.call(this)==-1) break; } this.stk[this.ptr++]=this.dict; this.dstk.pop(); this.dict=this.dstk[this.dstk.length-1]; this.stk[this.ptr++]="options"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f5(){ this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f6(){ this.stk[this.ptr++]="height"; //ident this.stk[this.ptr++]=13; this.stk[this.ptr++]=72; this.stk[this.ptr-2]=this.stk[this.ptr-2]/this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f7(){ this.stk[this.ptr++]=1; } function $f8(){ this.stk[this.ptr++]=0; } function $f9(){ this.stk[this.ptr++]=48; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; } function $f10(){ this.stk[this.ptr++]="binval"; //ident this.stk[this.ptr++]=Infinity; var t=this.dstk.get("linkage"); if (t===undefined) throw new Error("dict: linkage: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=$f7; this.stk[this.ptr++]=$f8; var t9=this.stk[--this.ptr]; var t10=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t10.call(this)==-1) return -1; } else { if (t9.call(this)==-1) return -1; } var t=this.dstk.get("barcode"); if (t===undefined) throw new Error("dict: barcode: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=4; this.stk[this.ptr++]=13; this.stk[this.ptr-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2; this.stk[this.ptr++]=$f9; var t13=this.stk[--this.ptr]; var t12=this.stk[--this.ptr]; for (t11 in t12) { if (t12 instanceof BWIPJS.psstring || t12 instanceof BWIPJS.psarray) { if (t11.charCodeAt(0) > 57) continue; this.stk[this.ptr++]=t12.get(t11); } else { this.stk[this.ptr++]=t11; this.stk[this.ptr++]=t12[t11]; } if (t13.call(this)==-1) break; } for (var i = this.ptr-1; i >= 0 && this.stk[i] !== Infinity; i--) ; if (i < 0) throw "array: underflow"; var t = this.stk.splice(i+1, this.ptr-1-i); this.ptr = i; this.stk[this.ptr++]=BWIPJS.psarray(t); this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f11(){ var t=this.dstk.get("barcode"); if (t===undefined) throw new Error("dict: barcode: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=0; this.stk[this.ptr++]=4; this.stk[this.ptr-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2; this.stk[this.ptr++]=BWIPJS.psstring("(01)"); if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f10; var t14=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t14.call(this)==-1) return -1; } } function $f12(){ this.stk[this.ptr++]=3; this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; } function $f13(){ this.stk[this.ptr++]="i"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="checksum"; //ident var t=this.dstk.get("checksum"); if (t===undefined) throw new Error("dict: checksum: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("barcode"); if (t===undefined) throw new Error("dict: barcode: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=4; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; this.stk[this.ptr++]=48; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]%this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=0; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f12; var t16=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t16.call(this)==-1) return -1; } this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f14(){ this.stk[this.ptr++]="i"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("txt"); if (t===undefined) throw new Error("dict: txt: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=Infinity; var t=this.dstk.get("barcode"); if (t===undefined) throw new Error("dict: barcode: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2; this.stk[this.ptr++]=0; this.stk[this.ptr++]=0; this.stk[this.ptr++]=BWIPJS.psstring(""); this.stk[this.ptr++]=0; for (var i = this.ptr-1; i >= 0 && this.stk[i] !== Infinity; i--) ; if (i < 0) throw "array: underflow"; var t = this.stk.splice(i+1, this.ptr-1-i); this.ptr = i; this.stk[this.ptr++]=BWIPJS.psarray(t); if (this.stk[this.ptr-3] instanceof BWIPJS.psstring || this.stk[this.ptr-3] instanceof BWIPJS.psarray) this.stk[this.ptr-3].set(this.stk[this.ptr-2], this.stk[this.ptr-1]); else this.stk[this.ptr-3][this.stk[this.ptr-2].toString()]=this.stk[this.ptr-1]; this.ptr-=3; } function $f15(){ var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; } function $f16(){ this.stk[this.ptr++]=1; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr-2]=Math.floor(this.stk[this.ptr-2]/this.stk[this.ptr-1]); this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; } function $f17(){ this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=1; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr++]=3; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr-2]=this.stk[this.ptr-2]<=this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f16; var t28=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t28.call(this)==-1) return -1; } } function $f18(){ return -1; } function $f19(){ this.stk[this.ptr++]=1; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr++]=3; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr-2]=this.stk[this.ptr-2]>this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f18; var t34=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t34.call(this)==-1) return -1; } this.stk[this.ptr++]=1; if (this.stk[this.ptr-1] >= this.ptr) throw "index: underflow"; this.stk[this.ptr-1]=this.stk[this.ptr-2-this.stk[this.ptr-1]]; this.stk[this.ptr-2]=Math.floor(this.stk[this.ptr-2]/this.stk[this.ptr-1]); this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; } function $f20(){ this.stk[this.ptr++]=2; if (typeof(this.stk[this.ptr-1])=="number") { for (var n=this.stk[--this.ptr],t=this.ptr+n; this.ptr<t; this.ptr++) this.stk[this.ptr]=this.stk[this.ptr-n]; } else if (this.stk[this.ptr-1] instanceof BWIPJS.psstring||this.stk[this.ptr-1] instanceof BWIPJS.psarray) { this.stk[this.ptr-1].assign(0,this.stk[this.ptr-2]); this.stk[this.ptr-2]=this.stk[this.ptr-1].subset(0,this.stk[this.ptr-2].length); this.ptr--; } else { var src=this.stk[this.ptr-2]; var dst=this.stk[this.ptr-1]; for (var i in src) dst[i]=src[i]; this.stk[this.ptr-2]=dst; this.ptr--; } this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; if (typeof(this.stk[this.ptr-1])=="number") { for (var n=this.stk[--this.ptr],t=this.ptr+n; this.ptr<t; this.ptr++) this.stk[this.ptr]=this.stk[this.ptr-n]; } else if (this.stk[this.ptr-1] instanceof BWIPJS.psstring||this.stk[this.ptr-1] instanceof BWIPJS.psarray) { this.stk[this.ptr-1].assign(0,this.stk[this.ptr-2]); this.stk[this.ptr-2]=this.stk[this.ptr-1].subset(0,this.stk[this.ptr-2].length); this.ptr--; } else { var src=this.stk[this.ptr-2]; var dst=this.stk[this.ptr-1]; for (var i in src) dst[i]=src[i]; this.stk[this.ptr-2]=dst; this.ptr--; } this.stk[this.ptr-2]=this.stk[this.ptr-2]<this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f15; var t27=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t27.call(this)==-1) return -1; } this.stk[this.ptr++]=1; this.stk[this.ptr++]=1; this.stk[this.ptr++]=5; this.stk[this.ptr++]=3; var b=this.stk[--this.ptr]; var a=this.stk[--this.ptr]; if (a > this.ptr) throw "roll: underflow: this.ptr="+this.ptr+",offset="+a; if (b < 0) var t=this.stk.splice(this.ptr-a, -b); else var t=this.stk.splice(this.ptr-a, a-b); this.stk.splice.apply(this.stk, [this.ptr-t.length, 0].concat(t)); this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=-1; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.stk[this.ptr++]=$f17; var t33=this.stk[--this.ptr]; var t31=this.stk[--this.ptr]; var t30=this.stk[--this.ptr]; var t29=this.stk[--this.ptr]; for (var t32=t29; t30<0 ? t32>=t31 : t32<=t31; t32+=t30) { this.stk[this.ptr++]=t32; if (t33.call(this)==-1) break; } this.stk[this.ptr++]=$f19; var t35=this.stk[--this.ptr]; while (true) { if (t35.call(this)==-1) break; } var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.ptr--; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.ptr--; } function $f21(){ this.stk[this.ptr++]="sval"; //ident var t=this.dstk.get("sval"); if (t===undefined) throw new Error("dict: sval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("ncr"); if (t===undefined) throw new Error("dict: ncr: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f22(){ var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=3; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("ncr"); if (t===undefined) throw new Error("dict: ncr: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]="lval"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; var t=this.dstk.get("lval"); if (t===undefined) throw new Error("dict: lval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f23(){ this.stk[this.ptr++]="lval"; //ident this.stk[this.ptr++]=0; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=-1; var t=this.dstk.get("mw"); if (t===undefined) throw new Error("dict: mw: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f22; var t41=this.stk[--this.ptr]; var t39=this.stk[--this.ptr]; var t38=this.stk[--this.ptr]; var t37=this.stk[--this.ptr]; for (var t40=t37; t38<0 ? t40>=t39 : t40<=t39; t40+=t38) { this.stk[this.ptr++]=t40; if (t41.call(this)==-1) break; } this.stk[this.ptr++]="sval"; //ident var t=this.dstk.get("sval"); if (t===undefined) throw new Error("dict: sval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("lval"); if (t===undefined) throw new Error("dict: lval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f24(){ this.stk[this.ptr++]="sval"; //ident var t=this.dstk.get("sval"); if (t===undefined) throw new Error("dict: sval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f25(){ var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("mw"); if (t===undefined) throw new Error("dict: mw: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]>this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f24; var t42=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t42.call(this)==-1) return -1; } } function $f26(){ return -1; } function $f27(){ this.stk[this.ptr++]="sval"; //ident var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("ncr"); if (t===undefined) throw new Error("dict: ncr: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("oe"); if (t===undefined) throw new Error("dict: oe: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("mask"); if (t===undefined) throw new Error("dict: mask: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=0; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-2]=this.stk[this.ptr-2]&&this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]&this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=-2; this.stk[this.ptr-2]=this.stk[this.ptr-2]>=this.stk[this.ptr-1]; this.ptr--; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-2]=this.stk[this.ptr-2]&&this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]&this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f21; var t36=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t36.call(this)==-1) return -1; } var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]>this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f23; this.stk[this.ptr++]=$f25; var t43=this.stk[--this.ptr]; var t44=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t44.call(this)==-1) return -1; } else { if (t43.call(this)==-1) return -1; } this.stk[this.ptr++]="val"; //ident var t=this.dstk.get("val"); if (t===undefined) throw new Error("dict: val: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("sval"); if (t===undefined) throw new Error("dict: sval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("val"); if (t===undefined) throw new Error("dict: val: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=0; this.stk[this.ptr-2]=this.stk[this.ptr-2]<this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f26; var t45=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t45.call(this)==-1) return -1; } this.stk[this.ptr++]="ew"; //ident var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="mask"; //ident var t=this.dstk.get("mask"); if (t===undefined) throw new Error("dict: mask: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-1]<0) this.stk[this.ptr-2]>>>=-this.stk[this.ptr-1]; else this.stk[this.ptr-2]<<=this.stk[this.ptr-1]; this.ptr--; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-1]=!this.stk[this.ptr-1]; else this.stk[this.ptr-1]=~this.stk[this.ptr-1]; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-2]=this.stk[this.ptr-2]&&this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]&this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f28(){ this.stk[this.ptr++]="bar"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="ew"; //ident this.stk[this.ptr++]=1; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="mask"; //ident var t=this.dstk.get("mask"); if (t===undefined) throw new Error("dict: mask: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-1]<0) this.stk[this.ptr-2]>>>=-this.stk[this.ptr-1]; else this.stk[this.ptr-2]<<=this.stk[this.ptr-1]; this.ptr--; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-2]=this.stk[this.ptr-2]||this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]|this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]=$f27; var t46=this.stk[--this.ptr]; while (true) { if (t46.call(this)==-1) break; } this.stk[this.ptr++]="val"; //ident var t=this.dstk.get("val"); if (t===undefined) throw new Error("dict: val: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("sval"); if (t===undefined) throw new Error("dict: sval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="nm"; //ident var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("out"); if (t===undefined) throw new Error("dict: out: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("bar"); if (t===undefined) throw new Error("dict: bar: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("ew"); if (t===undefined) throw new Error("dict: ew: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-3] instanceof BWIPJS.psstring || this.stk[this.ptr-3] instanceof BWIPJS.psarray) this.stk[this.ptr-3].set(this.stk[this.ptr-2], this.stk[this.ptr-1]); else this.stk[this.ptr-3][this.stk[this.ptr-2].toString()]=this.stk[this.ptr-1]; this.ptr-=3; } function $f29(){ this.stk[this.ptr++]="oe"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="el"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="mw"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="nm"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="val"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="out"; //ident var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-1]=BWIPJS.psarray(this.stk[this.ptr-1]); this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="mask"; //ident this.stk[this.ptr++]=0; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]=0; this.stk[this.ptr++]=1; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=2; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f28; var t51=this.stk[--this.ptr]; var t49=this.stk[--this.ptr]; var t48=this.stk[--this.ptr]; var t47=this.stk[--this.ptr]; for (var t50=t47; t48<0 ? t50>=t49 : t50<=t49; t50+=t48) { this.stk[this.ptr++]=t50; if (t51.call(this)==-1) break; } var t=this.dstk.get("out"); if (t===undefined) throw new Error("dict: out: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("el"); if (t===undefined) throw new Error("dict: el: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("nm"); if (t===undefined) throw new Error("dict: nm: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-3] instanceof BWIPJS.psstring || this.stk[this.ptr-3] instanceof BWIPJS.psarray) this.stk[this.ptr-3].set(this.stk[this.ptr-2], this.stk[this.ptr-1]); else this.stk[this.ptr-3][this.stk[this.ptr-2].toString()]=this.stk[this.ptr-1]; this.ptr-=3; var t=this.dstk.get("out"); if (t===undefined) throw new Error("dict: out: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; } function $f30(){ this.stk[this.ptr++]="i"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("binval"); if (t===undefined) throw new Error("dict: binval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=2; if (typeof(this.stk[this.ptr-1])=="number") { for (var n=this.stk[--this.ptr],t=this.ptr+n; this.ptr<t; this.ptr++) this.stk[this.ptr]=this.stk[this.ptr-n]; } else if (this.stk[this.ptr-1] instanceof BWIPJS.psstring||this.stk[this.ptr-1] instanceof BWIPJS.psarray) { this.stk[this.ptr-1].assign(0,this.stk[this.ptr-2]); this.stk[this.ptr-2]=this.stk[this.ptr-1].subset(0,this.stk[this.ptr-2].length); this.ptr--; } else { var src=this.stk[this.ptr-2]; var dst=this.stk[this.ptr-1]; for (var i in src) dst[i]=src[i]; this.stk[this.ptr-2]=dst; this.ptr--; } if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; var t=this.dstk.get("binval"); if (t===undefined) throw new Error("dict: binval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; this.stk[this.ptr++]=4537077; this.stk[this.ptr-2]=this.stk[this.ptr-2]%this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=10; this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; if (this.stk[this.ptr-3] instanceof BWIPJS.psstring || this.stk[this.ptr-3] instanceof BWIPJS.psarray) this.stk[this.ptr-3].set(this.stk[this.ptr-2], this.stk[this.ptr-1]); else this.stk[this.ptr-3][this.stk[this.ptr-2].toString()]=this.stk[this.ptr-1]; this.ptr-=3; var t=this.dstk.get("binval"); if (t===undefined) throw new Error("dict: binval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("binval"); if (t===undefined) throw new Error("dict: binval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; this.stk[this.ptr++]=4537077; this.stk[this.ptr-2]=Math.floor(this.stk[this.ptr-2]/this.stk[this.ptr-1]); this.ptr--; if (this.stk[this.ptr-3] instanceof BWIPJS.psstring || this.stk[this.ptr-3] instanceof BWIPJS.psarray) this.stk[this.ptr-3].set(this.stk[this.ptr-2], this.stk[this.ptr-1]); else this.stk[this.ptr-3][this.stk[this.ptr-2].toString()]=this.stk[this.ptr-1]; this.ptr-=3; } function $f31(){ this.ptr--; } function $f32(){ this.stk[this.ptr++]="i"; //ident this.stk[this.ptr++]=false; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="left"; //ident var t=this.dstk.get("left"); if (t===undefined) throw new Error("dict: left: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=3; this.stk[this.ptr++]=-1; var b=this.stk[--this.ptr]; var a=this.stk[--this.ptr]; if (a > this.ptr) throw "roll: underflow: this.ptr="+this.ptr+",offset="+a; if (b < 0) var t=this.stk.splice(this.ptr-a, -b); else var t=this.stk.splice(this.ptr-a, a-b); this.stk.splice.apply(this.stk, [this.ptr-t.length, 0].concat(t)); this.stk[this.ptr++]=10; this.stk[this.ptr++]=13; var t=this.dstk.get("j"); if (t===undefined) throw new Error("dict: j: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=Math.pow(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr--; this.stk[this.ptr-1]=parseInt(this.stk[this.ptr-1],10); this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f33(){ this.stk[this.ptr++]="j"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; var t=this.dstk.get("binval"); if (t===undefined) throw new Error("dict: binval: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("j"); if (t===undefined) throw new Error("dict: j: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; this.stk[this.ptr]=this.stk[this.ptr-1]; this.ptr++; this.stk[this.ptr++]=0; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring) this.stk[this.ptr-2]=this.stk[this.ptr-2].toString()==this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]==this.stk[this.ptr-1]; this.ptr--; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (typeof(this.stk[this.ptr-1])=="boolean") this.stk[this.ptr-2]=this.stk[this.ptr-2]&&this.stk[this.ptr-1]; else this.stk[this.ptr-2]=this.stk[this.ptr-2]&this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f31; this.stk[this.ptr++]=$f32; var t57=this.stk[--this.ptr]; var t58=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t58.call(this)==-1) return -1; } else { if (t57.call(this)==-1) return -1; } } function $f34(){ } function $f35(){ var t=this.dstk.get("tab164"); if (t===undefined) throw new Error("dict: tab164: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=7; this.stk[this.ptr-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2; this.stk[this.ptr++]=$f34; var t66=this.stk[--this.ptr]; var t65=this.stk[--this.ptr]; for (t64 in t65) { if (t65 instanceof BWIPJS.psstring || t65 instanceof BWIPJS.psarray) { if (t64.charCodeAt(0) > 57) continue; this.stk[this.ptr++]=t65.get(t64); } else { this.stk[this.ptr++]=t64; this.stk[this.ptr++]=t65[t64]; } if (t66.call(this)==-1) break; } this.stk[this.ptr++]="d1te"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1to"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1mwe"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1mwo"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1ele"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1elo"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d1gs"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; return -1; } function $f36(){ var t=this.dstk.get("d1"); if (t===undefined) throw new Error("dict: d1: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("tab164"); if (t===undefined) throw new Error("dict: tab164: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; if (this.stk[this.ptr-2] instanceof BWIPJS.psstring || this.stk[this.ptr-2] instanceof BWIPJS.psarray) this.stk[this.ptr-2]=this.stk[this.ptr-2].get(this.stk[this.ptr-1]); else this.stk[this.ptr-2]=this.stk[this.ptr-2][this.stk[this.ptr-1].toString()]; this.ptr--; this.stk[this.ptr-2]=this.stk[this.ptr-2]<=this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=$f35; var t67=this.stk[--this.ptr]; if (this.stk[--this.ptr]) { if (t67.call(this)==-1) return -1; } this.stk[this.ptr++]="i"; //ident var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=8; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; } function $f37(){ } function $f38(){ var t=this.dstk.get("tab154"); if (t===undefined) throw new Error("dict: tab154: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("i"); if (t===undefined) throw new Error("dict: i: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; this.stk[this.ptr++]=1; this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--; this.stk[this.ptr++]=7; this.stk[this.ptr-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2; this.stk[this.ptr++]=$f37; var t71=this.stk[--this.ptr]; var t70=this.stk[--this.ptr]; for (t69 in t70) { if (t70 instanceof BWIPJS.psstring || t70 instanceof BWIPJS.psarray) { if (t69.charCodeAt(0) > 57) continue; this.stk[this.ptr++]=t70.get(t69); } else { this.stk[this.ptr++]=t69; this.stk[this.ptr++]=t70[t69]; } if (t71.call(this)==-1) break; } this.stk[this.ptr++]="d2te"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2to"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2mwe"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2mwo"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2ele"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2elo"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; this.stk[this.ptr++]="d2gs"; //ident var t=this.stk[this.ptr-2]; this.stk[this.ptr-2]=this.stk[this.ptr-1]; this.stk[this.ptr-1]=t; this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2; return -1; } function $f39(){ var t=this.dstk.get("d2"); if (t===undefined) throw new Error("dict: d2: undefined"); if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t; var t=this.dstk.get("tab154"); if (t===undefined) throw new Error("dict: t