rescode
Version:
Generate Codes (EAN13, QRCODE ..)
953 lines • 51.2 kB
JavaScript
var BWIPJS = require("../bwip.js");
// file: bwipp/telepen.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 telepen
if (!BWIPJS.bwipp["renlinear"]) BWIPJS.load("bwipp/renlinear.js");
BWIPJS.bwipp["telepen"]=function() {
this.dict["renlinear"]=BWIPJS.bwipp["renlinear"];
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]=this.stk[this.ptr-1]; this.ptr++;
var t=this.dstk.get("msg");
if (t===undefined) throw new Error("dict: msg: 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;
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;
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-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
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;
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++]=1;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
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;
this.ptr--;
this.stk[this.ptr]=this.stk[this.ptr-1]; this.ptr++;
this.stk[this.ptr++]=0;
this.stk[this.ptr++]=3;
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-1]=parseInt(this.stk[this.ptr-1],10);
var t=this.dstk.get("msg");
if (t===undefined) throw new Error("dict: msg: 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;
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++]=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;
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;
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++]=3;
this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=3;
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-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2;
}
function $f7(){
this.stk[this.ptr]=this.stk[this.ptr-1]; this.ptr++;
var t=this.dstk.get("msg");
if (t===undefined) throw new Error("dict: msg: 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;
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;
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-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
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;
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++]="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;
this.stk[this.ptr++]="barcode"; //ident
var t=this.dstk.get("msg");
if (t===undefined) throw new Error("dict: msg: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=0;
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-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2;
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
return -1;
}
function $f8(){
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++]=$f6;
this.stk[this.ptr++]=$f7;
var t8=this.stk[--this.ptr];
var t9=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t9.call(this)==-1) return -1;
} else {
if (t8.call(this)==-1) return -1;
}
}
function $f9(){
this.stk[this.ptr++]="msg"; //ident
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;
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]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="j"; //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("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++]=$f8;
var t10=this.stk[--this.ptr];
while (true) {
if (t10.call(this)==-1) break;
}
}
function $f10(){
return -1;
}
function $f11(){
this.stk[this.ptr++]="indx"; //ident
var t=this.dstk.get("np");
if (t===undefined) throw new Error("dict: np: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=0;
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-1]=parseInt(this.stk[this.ptr-1],10);
this.stk[this.ptr++]=17;
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 $f12(){
this.stk[this.ptr++]="indx"; //ident
var t=this.dstk.get("np");
if (t===undefined) throw new Error("dict: np: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-1]=parseInt(this.stk[this.ptr-1],10);
this.stk[this.ptr++]=27;
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 $f13(){
this.stk[this.ptr++]="np"; //ident
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++]=2;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("np");
if (t===undefined) throw new Error("dict: np: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=1;
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++]=BWIPJS.psstring("X");
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++]=$f11;
this.stk[this.ptr++]=$f12;
var t13=this.stk[--this.ptr];
var t14=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t14.call(this)==-1) return -1;
} else {
if (t13.call(this)==-1) return -1;
}
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("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++]=Infinity;
var t=this.dstk.get("np");
if (t===undefined) throw new Error("dict: np: 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;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
var t=this.dstk.get("textyoffset");
if (t===undefined) throw new Error("dict: textyoffset: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textfont");
if (t===undefined) throw new Error("dict: textfont: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textsize");
if (t===undefined) throw new Error("dict: textsize: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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;
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++]=2;
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++]="indx"; //ident
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;
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.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("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++]=Infinity;
this.stk[this.ptr++]=BWIPJS.psstring(" ");
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++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
var t=this.dstk.get("textyoffset");
if (t===undefined) throw new Error("dict: textyoffset: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textfont");
if (t===undefined) throw new Error("dict: textfont: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textsize");
if (t===undefined) throw new Error("dict: textsize: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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;
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++]=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 $f15(){
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;
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++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]>this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=$f13;
this.stk[this.ptr++]=$f14;
var t15=this.stk[--this.ptr];
var t16=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t16.call(this)==-1) return -1;
} else {
if (t15.call(this)==-1) return -1;
}
}
function $f16(){
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("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++]=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;
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++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
var t=this.dstk.get("textyoffset");
if (t===undefined) throw new Error("dict: textyoffset: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textfont");
if (t===undefined) throw new Error("dict: textfont: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textsize");
if (t===undefined) throw new Error("dict: textsize: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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 $f17(){
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("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++]=Infinity;
this.stk[this.ptr++]=BWIPJS.psstring(" ");
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++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
var t=this.dstk.get("textyoffset");
if (t===undefined) throw new Error("dict: textyoffset: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textfont");
if (t===undefined) throw new Error("dict: textfont: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("textsize");
if (t===undefined) throw new Error("dict: textsize: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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 $f18(){
this.stk[this.ptr++]="indx"; //ident
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;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("indx");
if (t===undefined) throw new Error("dict: indx: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=32;
this.stk[this.ptr-2]=this.stk[this.ptr-2]>=this.stk[this.ptr-1]; this.ptr--;
var t=this.dstk.get("indx");
if (t===undefined) throw new Error("dict: indx: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=126;
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++]=$f16;
this.stk[this.ptr++]=$f17;
var t17=this.stk[--this.ptr];
var t18=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t18.call(this)==-1) return -1;
} else {
if (t17.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++]=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 $f19(){
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("barlen");
if (t===undefined) throw new Error("dict: barlen: 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]=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 t12=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t12.call(this)==-1) return -1;
}
var t=this.dstk.get("numeric");
if (t===undefined) throw new Error("dict: numeric: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=$f15;
this.stk[this.ptr++]=$f18;
var t19=this.stk[--this.ptr];
var t20=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t20.call(this)==-1) return -1;
} else {
if (t19.call(this)==-1) return -1;
}
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("indx");
if (t===undefined) throw new Error("dict: indx: 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++]="enc"; //ident
var t=this.dstk.get("encs");
if (t===undefined) throw new Error("dict: encs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("indx");
if (t===undefined) throw new Error("dict: indx: 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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
this.stk[this.ptr++]="l"; //ident
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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-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++]="j"; //ident
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++]=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 $f20(){
this.stk[this.ptr++]=48;
this.stk[this.ptr-2]=this.stk[this.ptr-2]-this.stk[this.ptr-1]; this.ptr--;
}
function $f21(){
var t=this.dstk.get("height");
if (t===undefined) throw new Error("dict: height: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
}
function $f22(){
this.stk[this.ptr++]=0;
}
function $f23(){
this.stk[this.ptr++]="txt"; //ident
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;
}
this.stk[this.ptr++]=20;
this.stk[this.ptr-1]={};
this.dict=this.stk[--this.ptr]; this.dstk.push(this.dict);
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;
this.stk[this.ptr++]="barcode"; //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++]="numeric"; //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++]="dontdraw"; //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++]="includetext"; //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++]="textfont"; //ident
this.stk[this.ptr++]="Courier"; //ident
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="textsize"; //ident
this.stk[this.ptr++]=10;
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="textyoffset"; //ident
this.stk[this.ptr++]=-7;
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="height"; //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++]="parse"; //ident
this.stk[this.ptr++]=false;
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
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-1]=BWIPJS.pstype(this.stk[this.ptr-1]);
this.stk[this.ptr++]="stringtype"; //ident
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++]=$f4;
var t4=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t4.call(this)==-1) return -1;
}
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++]=$f5;
var t7=this.stk[--this.ptr];
var t6=this.stk[--this.ptr];
for (t5 in t6) {
if (t6 instanceof BWIPJS.psstring || t6 instanceof BWIPJS.psarray) {
if (t5.charCodeAt(0) > 57) continue;
this.stk[this.ptr++]=t6.get(t5);
} else {
this.stk[this.ptr++]=t5;
this.stk[this.ptr++]=t6[t5];
}
if (t7.call(this)==-1) break;
}
this.stk[this.ptr++]="textfont"; //ident
var t=this.dstk.get("textfont");
if (t===undefined) throw new Error("dict: textfont: 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;
this.stk[this.ptr++]="textsize"; //ident
var t=this.dstk.get("textsize");
if (t===undefined) throw new Error("dict: textsize: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-1]=parseFloat(this.stk[this.ptr-1]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="textyoffset"; //ident
var t=this.dstk.get("textyoffset");
if (t===undefined) throw new Error("dict: textyoffset: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-1]=parseFloat(this.stk[this.ptr-1]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="height"; //ident
var t=this.dstk.get("height");
if (t===undefined) throw new Error("dict: height: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-1]=parseFloat(this.stk[this.ptr-1]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("parse");
if (t===undefined) throw new Error("dict: parse: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=$f9;
var t11=this.stk[--this.ptr];
if (this.stk[--this.ptr]) {
if (t11.call(this)==-1) return -1;
}
this.stk[this.ptr++]="encs"; //ident
this.stk[this.ptr++]=BWIPJS.psarray([BWIPJS.psstring("31313131"),BWIPJS.psstring("1131313111"),BWIPJS.psstring("33313111"),BWIPJS.psstring("1111313131"),BWIPJS.psstring("3111313111"),BWIPJS.psstring("11333131"),BWIPJS.psstring("13133131"),BWIPJS.psstring("111111313111"),BWIPJS.psstring("31333111"),BWIPJS.psstring("1131113131"),BWIPJS.psstring("33113131"),BWIPJS.psstring("1111333111"),BWIPJS.psstring("3111113131"),BWIPJS.psstring("1113133111"),BWIPJS.psstring("1311133111"),BWIPJS.psstring("111111113131"),BWIPJS.psstring("3131113111"),BWIPJS.psstring("11313331"),BWIPJS.psstring("333331"),BWIPJS.psstring("111131113111"),BWIPJS.psstring("31113331"),BWIPJS.psstring("1133113111"),BWIPJS.psstring("1313113111"),BWIPJS.psstring("1111113331"),BWIPJS.psstring("31131331"),BWIPJS.psstring("113111113111"),BWIPJS.psstring("3311113111"),BWIPJS.psstring("1111131331"),BWIPJS.psstring("311111113111"),BWIPJS.psstring("1113111331"),BWIPJS.psstring("1311111331"),BWIPJS.psstring("11111111113111"),BWIPJS.psstring("31313311"),BWIPJS.psstring("1131311131"),BWIPJS.psstring("33311131"),BWIPJS.psstring("1111313311"),BWIPJS.psstring("3111311131"),BWIPJS.psstring("11333311"),BWIPJS.psstring("13133311"),BWIPJS.psstring("111111311131"),BWIPJS.psstring("31331131"),BWIPJS.psstring("1131113311"),BWIPJS.psstring("33113311"),BWIPJS.psstring("1111331131"),BWIPJS.psstring("3111113311"),BWIPJS.psstring("1113131131"),BWIPJS.psstring("1311131131"),BWIPJS.psstring("111111113311"),BWIPJS.psstring("3131111131"),BWIPJS.psstring("1131131311"),BWIPJS.psstring("33131311"),BWIPJS.psstring("111131111131"),BWIPJS.psstring("3111131311"),BWIPJS.psstring("1133111131"),BWIPJS.psstring("1313111131"),BWIPJS.psstring("111111131311"),BWIPJS.psstring("3113111311"),BWIPJS.psstring("113111111131"),BWIPJS.psstring("3311111131"),BWIPJS.psstring("111113111311"),BWIPJS.psstring("311111111131"),BWIPJS.psstring("111311111311"),BWIPJS.psstring("131111111311"),BWIPJS.psstring("11111111111131"),BWIPJS.psstring("3131311111"),BWIPJS.psstring("11313133"),BWIPJS.psstring("333133"),BWIPJS.psstring("111131311111"),BWIPJS.psstring("31113133"),BWIPJS.psstring("1133311111"),BWIPJS.psstring("1313311111"),BWIPJS.psstring("1111113133"),BWIPJS.psstring("313333"),BWIPJS.psstring("113111311111"),BWIPJS.psstring("3311311111"),BWIPJS.psstring("11113333"),BWIPJS.psstring("311111311111"),BWIPJS.psstring("11131333"),BWIPJS.psstring("13111333"),BWIPJS.psstring("11111111311111"),BWIPJS.psstring("31311133"),BWIPJS.psstring("1131331111"),BWIPJS.psstring("33331111"),BWIPJS.psstring("1111311133"),BWIPJS.psstring("3111331111"),BWIPJS.psstring("11331133"),BWIPJS.psstring("13131133"),BWIPJS.psstring("111111331111"),BWIPJS.psstring("3113131111"),BWIPJS.psstring("1131111133"),BWIPJS.psstring("33111133"),BWIPJS.psstring("111113131111"),BWIPJS.psstring("3111111133"),BWIPJS.psstring("111311131111"),BWIPJS.psstring("131111131111"),BWIPJS.psstring("111111111133"),BWIPJS.psstring("31311313"),BWIPJS.psstring("113131111111"),BWIPJS.psstring("3331111111"),BWIPJS.psstring("1111311313"),BWIPJS.psstring("311131111111"),BWIPJS.psstring("11331313"),BWIPJS.psstring("13131313"),BWIPJS.psstring("11111131111111"),BWIPJS.psstring("3133111111"),BWIPJS.psstring("1131111313"),BWIPJS.psstring("33111313"),BWIPJS.psstring("111133111111"),BWIPJS.psstring("3111111313"),BWIPJS.psstring("111313111111"),BWIPJS.psstring("131113111111"),BWIPJS.psstring("111111111313"),BWIPJS.psstring("313111111111"),BWIPJS.psstring("1131131113"),BWIPJS.psstring("33131113"),BWIPJS.psstring("11113111111111"),BWIPJS.psstring("3111131113"),BWIPJS.psstring("113311111111"),BWIPJS.psstring("131311111111"),BWIPJS.psstring("111111131113"),BWIPJS.psstring("3113111113"),BWIPJS.psstring("11311111111111"),BWIPJS.psstring("331111111111"),BWIPJS.psstring("111113111113"),BWIPJS.psstring("31111111111111"),BWIPJS.psstring("111311111113"),BWIPJS.psstring("131111111113"),BWIPJS.psstring("1111111111111111")]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="barlen"; //ident
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;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="sbs"; //ident
var t=this.dstk.get("barlen");
if (t===undefined) throw new Error("dict: barlen: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=16;
this.stk[this.ptr-2]=this.stk[this.ptr-2]*this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr++]=48;
this.stk[this.ptr-2]=this.stk[this.ptr-2]+this.stk[this.ptr-1]; this.ptr--;
this.stk[this.ptr-1]=BWIPJS.psstring(this.stk[this.ptr-1]);
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="txt"; //ident
var t=this.dstk.get("barlen");
if (t===undefined) throw new Error("dict: barlen: 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++]="enc"; //ident
var t=this.dstk.get("encs");
if (t===undefined) throw new Error("dict: encs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=95;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=0;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
this.stk[this.ptr++]="l"; //ident
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="checksum"; //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++]="i"; //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++]="j"; //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++]=$f19;
var t21=this.stk[--this.ptr];
while (true) {
if (t21.call(this)==-1) break;
}
this.stk[this.ptr++]="checksum"; //ident
this.stk[this.ptr++]=127;
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;
this.stk[this.ptr++]=127;
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++]=127;
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++]="enc"; //ident
var t=this.dstk.get("encs");
if (t===undefined) throw new Error("dict: encs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
this.stk[this.ptr++]="l"; //ident
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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-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++]="enc"; //ident
var t=this.dstk.get("encs");
if (t===undefined) throw new Error("dict: encs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=122;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr-3].assign(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=3;
this.stk[this.ptr++]="l"; //ident
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
var t=this.dstk.get("enc");
if (t===undefined) throw new Error("dict: enc: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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-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++]="sbs"; //ident
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=0;
var t=this.dstk.get("l");
if (t===undefined) throw new Error("dict: l: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]="txt"; //ident
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;
this.stk[this.ptr++]=0;
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-3]=this.stk[this.ptr-3].subset(this.stk[this.ptr-2],this.stk[this.ptr-1]); this.ptr-=2;
this.dict[this.stk[this.ptr-2]]=this.stk[this.ptr-1]; this.ptr-=2;
this.stk[this.ptr++]=Infinity;
this.stk[this.ptr++]="ren"; //ident
var t=this.dstk.get("renlinear");
if (t===undefined) throw new Error("//renlinear: undefined");
this.stk[this.ptr++]=t;
this.stk[this.ptr++]="sbs"; //ident
this.stk[this.ptr++]=Infinity;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=$f20;
var t24=this.stk[--this.ptr];
var t23=this.stk[--this.ptr];
for (t22 in t23) {
if (t23 instanceof BWIPJS.psstring || t23 instanceof BWIPJS.psarray) {
if (t22.charCodeAt(0) > 57) continue;
this.stk[this.ptr++]=t23.get(t22);
} else {
this.stk[this.ptr++]=t22;
this.stk[this.ptr++]=t23[t22];
}
if (t24.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.stk[this.ptr++]="bhs"; //ident
this.stk[this.ptr++]=Infinity;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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;
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]=Math.floor(this.stk[this.ptr-2]/this.stk[this.ptr-1]); this.ptr--;
this.stk[this.ptr++]=$f21;
var t27=this.stk[--this.ptr];
var t25=this.stk[--this.ptr];
for (var t26=0; t26<t25; t26++) {
if (t27.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.stk[this.ptr++]="bbs"; //ident
this.stk[this.ptr++]=Infinity;
var t=this.dstk.get("sbs");
if (t===undefined) throw new Error("dict: sbs: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
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;
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]=Math.floor(this.stk[this.ptr-2]/this.stk[this.ptr-1]); this.ptr--;
this.stk[this.ptr++]=$f22;
var t30=this.stk[--this.ptr];
var t28=this.stk[--this.ptr];
for (var t29=0; t29<t28; t29++) {
if (t30.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);
var t=this.dstk.get("includetext");
if (t===undefined) throw new Error("dict: includetext: undefined");
if (t instanceof Function) t.call(this); else this.stk[this.ptr++]=t;
this.stk[this.ptr++]=$f23;
var t31=this.stk[--this.ptr];
if (