12 |
- (function(e){function t(t){for(var s,i,u=t[0],o=t[1],c=t[2],b=0,d=[];b<u.length;b++)i=u[b],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&d.push(r[i][0]),r[i]=0;for(s in o)Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);l&&l(t);while(d.length)d.shift()();return a.push.apply(a,c||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],s=!0,u=1;u<n.length;u++){var o=n[u];0!==r[o]&&(s=!1)}s&&(a.splice(t--,1),e=i(i.s=n[0]))}return e}var s={},r={app:0},a=[];function i(t){if(s[t])return s[t].exports;var n=s[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=s,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var u=window["webpackJsonp"]=window["webpackJsonp"]||[],o=u.push.bind(u);u.push=t,u=u.slice();for(var c=0;c<u.length;c++)t(u[c]);var l=o;a.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"034f":function(e,t,n){"use strict";n("85ec")},"224f":function(e,t,n){},3662:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var s=n("1da1");n("96cf");Array.prototype.pipeline=function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var n,s,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(null!==this&&"undefined"!==typeof this){e.next=2;break}throw new TypeError("Array.prototype.pipeline called on null or undefined");case 2:if("function"===typeof t){e.next=4;break}throw new TypeError(t+" is not a function");case 4:r=this.length>>>0,n=0;case 6:if(!(r>n)){e.next=13;break}return e.next=9,t(s,this[n],n,this);case 9:s=e.sent;case 10:++n,e.next=6;break;case 13:return e.abrupt("return",s);case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();var r=function(){for(var e=this,t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return n.pipeline((function(t,n){return n.call(e,t)}))},a=r},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var s=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("HelloWorld")],1)},a=[],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{staticStyle:{width:"100vw",height:"100vh"}},[n("el-header",{staticStyle:{background:"#F5F5F5",display:"flex",height:"40px",border:"1px solid #e8e8e8","align-items":"center"}},[n("div",{staticClass:"upload-icon",on:{click:e.print}},[n("font-awesome-icon",{attrs:{icon:"print"}}),n("div",{staticClass:"upload-icon"},[e._v("打印")])],1),e.ofdObj?n("div",{staticStyle:{display:"flex","align-items":"center"}},[e.ofdBase64?n("div",{staticClass:"upload-icon",staticStyle:{"margin-left":"10px"},on:{click:e.downPdf}},[e._v(" 下载PDF "),n("font-awesome-icon",{attrs:{icon:"download"}})],1):e._e(),n("div",{staticClass:"scale-icon",staticStyle:{"margin-left":"10px"},on:{click:e.plus}},[n("font-awesome-icon",{attrs:{icon:"search-plus"}})],1),n("div",{staticClass:"scale-icon",on:{click:e.minus}},[n("font-awesome-icon",{attrs:{icon:"search-minus"}})],1),n("div",{staticClass:"scale-icon"},[n("font-awesome-icon",{attrs:{icon:"step-backward"},on:{click:e.firstPage}})],1),n("div",{staticClass:"scale-icon",staticStyle:{"font-size":"18px"},on:{click:e.prePage}},[n("font-awesome-icon",{attrs:{icon:"caret-left"}})],1),n("div",{staticClass:"scale-icon"},[e._v(" "+e._s(e.pageIndex)+"/"+e._s(e.pageCount)+" ")]),n("div",{staticClass:"scale-icon",staticStyle:{"font-size":"18px"},on:{click:e.nextPage}},[n("font-awesome-icon",{attrs:{icon:"caret-right"}})],1),n("div",{staticClass:"scale-icon",on:{click:e.lastPage}},[n("font-awesome-icon",{attrs:{icon:"step-forward"}})],1)]):e._e()]),n("el-main",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{height:"auto",background:"#808080",padding:"0"},attrs:{id:"main"}},[n("div",{ref:"contentDiv",staticClass:"main-section",attrs:{id:"content"},on:{mousewheel:e.scrool}})])],1)},u=[],o=n("b85c"),c=(n("4de4"),n("5319"),n("ac1f"),n("4d63"),n("25f0"),n("466d"),n("841c"),n("81a2")),l={name:"ofd",data:function(){return{dragseal:!1,docleft:0,leftMenu_width:0,pdfFile:null,ofdBase64:null,loading:!1,pageIndex:1,pageCount:0,scale:0,title:null,value:null,dialogFormVisible:!1,ofdObj:null,screenWidth:document.body.clientWidth}},created:function(){this.pdfFile=null,this.file=null},mounted:function(){this.screenWidth=document.body.clientWidth;var e=this;this.$refs.contentDiv.addEventListener("scroll",this.scrool),window.onresize=function(){return function(){e.screenWidth=document.body.clientWidth-88;var t=Object(c["c"])(e.screenWidth,e.ofdObj);e.displayOfdDiv(t)}()},this.openFile()},methods:{print:function(){var e=this.$refs["contentDiv"],t=e.children;this.loading=!0,this.progressVisible=!0;var n,s=[],r=0,a=Object(o["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;s.push(i.cloneNode(!0)),this.percentage=r/t.length}}catch(f){a.e(f)}finally{a.f()}if(s.length>0){var u=window.open("打印窗口","_blank"),c=u.document.body;console.log(s.length);var l,b=Object(o["a"])(s);try{for(b.s();!(l=b.n()).done;){var d=l.value;c.appendChild(d)}}catch(f){b.e(f)}finally{b.f()}this.progressVisible=!1,this.loading=!1,u.focus(),u.print(),u.close()}},printSecret:function(){var e,t=document.getElementsByTagName("img"),n=Object(o["a"])(t);try{for(n.s();!(e=n.n()).done;){var s=e.value;s.style.filter="grayscale(100%)"}}catch(u){n.e(u)}finally{n.f()}this.print();var r,a=Object(o["a"])(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;i.style.filter=""}}catch(u){a.e(u)}finally{a.f()}},scrool:function(){for(var e,t,n=(null===(e=this.$refs.contentDiv.firstElementChild)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.top)-60,s=0,r=0,a=0;a<this.$refs.contentDiv.childElementCount;a++){var i,u;if(s+=Math.abs(null===(i=this.$refs.contentDiv.children.item(a))||void 0===i?void 0:i.style.height.replace("px",""))+Math.abs(null===(u=this.$refs.contentDiv.children.item(a))||void 0===u?void 0:u.style.marginBottom.replace("px","")),Math.abs(n)<s){r=a;break}}this.pageIndex=r+1},showMore:function(e,t){this.dialogFormVisible=!0,this.value=document.getElementById(t).innerText,this.title=e},plus:function(){Object(c["e"])(++this.scale);var e=Object(c["d"])(this.ofdObj);this.displayOfdDiv(e)},minus:function(){Object(c["e"])(--this.scale);var e=Object(c["d"])(this.ofdObj);this.displayOfdDiv(e)},prePage:function(){var e=document.getElementById("content"),t=e.children.item(this.pageIndex-2);null===t||void 0===t||t.scrollIntoView(!0),t&&(this.pageIndex=this.pageIndex-1)},firstPage:function(){var e=document.getElementById("content"),t=e.firstElementChild;null===t||void 0===t||t.scrollIntoView(!0),t&&(this.pageIndex=1)},nextPage:function(){var e=document.getElementById("content"),t=e.children.item(this.pageIndex);null===t||void 0===t||t.scrollIntoView(!0),t&&++this.pageIndex},lastPage:function(){var e=document.getElementById("content"),t=e.lastElementChild;null===t||void 0===t||t.scrollIntoView(!0),t&&(this.pageIndex=e.childElementCount)},getQueryString:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(t);return null!=n?unescape(n[2]):null},openFile:function(){var e=null;console.log(this.getQueryString("file")),e=this.getQueryString("file"),this.getOfdDocumentObj(e,this.screenWidth)},getOfdDocumentObj:function(e,t){var n=this,s=(new Date).getTime();this.loading=!0,Object(c["b"])({ofd:e,success:function(e){console.log(e);var r=(new Date).getTime();console.log("解析ofd",r-s),n.ofdObj=e[0],n.pageCount=e[0].pages.length;var a=Object(c["c"])(t,e[0]),i=(new Date).getTime();console.log("xml转svg",i-r),n.displayOfdDiv(a);var u=(new Date).getTime();console.log("svg渲染到页面",u-i),n.loading=!1},fail:function(e){console.log("OFD打开失败"+e)}})},displayOfdDiv:function(e){this.scale=Object(c["a"])();var t=document.getElementById("content");t.innerHTML="";var n,s=Object(o["a"])(e);try{for(s.s();!(n=s.n()).done;){var r=n.value;t.appendChild(r)}}catch(a){s.e(a)}finally{s.f()}}}},b=l,d=(n("f120"),n("2877")),f=Object(d["a"])(b,i,u,!1,null,"df08fc1e",null),h=f.exports,p={name:"App",components:{HelloWorld:h}},v=p,g=(n("034f"),Object(d["a"])(v,r,a,!1,null,null,null)),m=g.exports,y=(n("5717"),n("5c96")),w=n.n(y),x=(n("0fae"),n("ecee")),O=n("c074"),j=n("ad3d"),k=n("bc3a"),S=n.n(k);s["default"].prototype.$axios=S.a,x["c"].add(O["a"]),s["default"].config.productionTip=!1,s["default"].component("font-awesome-icon",j["a"]),s["default"].use(w.a),new s["default"]({render:function(e){return e(m)}}).$mount("#app")},5717:function(e,t,n){},"67d3":function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return p}));var s=n("b85c"),r=n("3835"),a=n("1da1"),i=(n("96cf"),n("d3b7"),n("99af"),n("1276"),n("ac1f"),n("b64b"),n("5319"),n("25f0"),n("4ec9"),n("3ca3"),n("ddb0"),n("159b"),n("3662")),u=n("c4e3"),o=n.n(u),c=n("6b33"),l=n("73fd"),b=n("a9c6"),d=n("74db"),f=function(e){return new Promise((function(t,n){o.a.loadAsync(e).then((function(e){t(e)}),(function(e){n(e)}))}))},h=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,P(t,"OFD.xml");case 2:return n=e.sent,s=n["json"]["ofd:OFD"]["ofd:DocBody"],r=[],r=r.concat(s),e.abrupt("return",[t,r]);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,i,u,o,c,l,b;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object(r["a"])(t,2),a=n[0],i=n[1],u=[],o=Object(s["a"])(i),e.prev=3,o.s();case 5:if((c=o.n()).done){e.next=29;break}if(l=c.value,!l){e.next=27;break}return e.next=10,v(a,l);case 10:return b=e.sent,e.next=13,g(b);case 13:return b=e.sent,e.next=16,y(b);case 16:return b=e.sent,e.next=19,w(b);case 19:return b=e.sent,e.next=22,x(b);case 22:return b=e.sent,e.next=25,O(b);case 25:b=e.sent,u.push(b);case 27:e.next=5;break;case 29:e.next=34;break;case 31:e.prev=31,e.t0=e["catch"](3),o.e(e.t0);case 34:return e.prev=34,o.f(),e.finish(34);case 37:return e.abrupt("return",u);case 38:case"end":return e.stop()}}),e,null,[[3,31,34,37]])})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){var r,a,i,u,o,l,b,d,f,h,p,v,g,m,y,w,x,O;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n["ofd:DocRoot"],r=Object(c["m"])(r),a=r.split("/")[0],i=n["ofd:Signatures"],e.next=6,D(t,i,a);case 6:u=e.sent,o={},l=Object(s["a"])(u),e.prev=9,l.s();case 11:if((b=l.n()).done){e.next=25;break}if(d=b.value,!(d.sealObj&&Object.keys(d.sealObj).length>0)){e.next=23;break}if("ofd"!==d.sealObj.type){e.next=22;break}return e.next=17,B(d);case 17:f=e.sent,h=Object(s["a"])(f);try{for(h.s();!(p=h.n()).done;)v=p.value,d.stampAnnot.boundary=Object(c["l"])(d.stampAnnot["@_Boundary"]),d.stampAnnot.pageRef=d.stampAnnot["@_PageRef"],o[d.stampAnnot["@_PageRef"]]||(o[d.stampAnnot["@_PageRef"]]=[]),o[d.stampAnnot["@_PageRef"]].push({type:"ofd",obj:v,stamp:d})}catch(j){h.e(j)}finally{h.f()}e.next=23;break;case 22:if("png"===d.sealObj.type){g="data:image/png;base64,"+btoa(String.fromCharCode.apply(null,d.sealObj.ofdArray)),m=[],m=m.concat(d.stampAnnot),y=Object(s["a"])(m);try{for(y.s();!(w=y.n()).done;)x=w.value,x&&(O={img:g,pageId:x["@_PageRef"],boundary:Object(c["l"])(x["@_Boundary"]),clip:Object(c["l"])(x["@_Clip"])},o[x["@_PageRef"]]||(o[x["@_PageRef"]]=[]),o[x["@_PageRef"]].push({type:"png",obj:O,stamp:d}))}catch(j){y.e(j)}finally{y.f()}}case 23:e.next=11;break;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e["catch"](9),l.e(e.t0);case 30:return e.prev=30,l.f(),e.finish(30);case 33:return e.abrupt("return",[t,a,r,o]);case 34:case"end":return e.stop()}}),e,null,[[9,27,30,33]])})));return function(t,n){return e.apply(this,arguments)}}(),g=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Object(r["a"])(t,4),s=n[0],a=n[1],i=n[2],u=n[3],e.next=3,P(s,i);case 3:if(o=e.sent,c=o["json"]["ofd:Document"],l=c["ofd:Annotations"],b=[],!l){e.next=15;break}if(-1!==l.indexOf("/")&&(d=l.substring(0,l.indexOf("/"))),-1===l.indexOf(a)&&(l="".concat(a,"/").concat(l)),!s.files[l]){e.next=15;break}return e.next=13,P(s,l);case 13:l=e.sent,b=b.concat(l["json"]["ofd:Annotations"]["ofd:Page"]);case 15:return e.next=17,m(d,b,a,s);case 17:return f=e.sent,e.abrupt("return",[s,a,c,u,f]);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r,a){var i,u,o,l,b,d,f,h,p,v,g,m,y,w,x;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i={},u=Object(s["a"])(n),e.prev=2,u.s();case 4:if((o=u.n()).done){e.next=44;break}if(l=o.value,l){e.next=8;break}return e.abrupt("continue",42);case 8:if(b=l["@_PageID"],d=l["ofd:FileLoc"],d=Object(c["m"])(d),t&&-1===d.indexOf(t)&&(d="".concat(t,"/").concat(d)),-1===d.indexOf(r)&&(d="".concat(r,"/").concat(d)),!a.files[d]){e.next=42;break}return e.next=16,P(a,d);case 16:f=e.sent,h=[],h=h.concat(f["json"]["ofd:PageAnnot"]["ofd:Annot"]),i[b]||(i[b]=[]),p=Object(s["a"])(h),e.prev=21,p.s();case 23:if((v=p.n()).done){e.next=34;break}if(g=v.value,g){e.next=27;break}return e.abrupt("continue",32);case 27:m=g["@_Type"],y=!g["@_Visible"]||g["@_Visible"],w=g["ofd:Appearance"],x={type:m,appearance:w,visible:y},i[b].push(x);case 32:e.next=23;break;case 34:e.next=39;break;case 36:e.prev=36,e.t0=e["catch"](21),p.e(e.t0);case 39:return e.prev=39,p.f(),e.finish(39);case 42:e.next=4;break;case 44:e.next=49;break;case 46:e.prev=46,e.t1=e["catch"](2),u.e(e.t1);case 49:return e.prev=49,u.f(),e.finish(49);case 52:return e.abrupt("return",i);case 53:case"end":return e.stop()}}),e,null,[[2,46,49,52],[21,36,39,42]])})));return function(t,n,s,r){return e.apply(this,arguments)}}(),y=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f,h,p;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(r["a"])(t,5),s=n[0],a=n[1],i=n[2],u=n[3],o=n[4],c=i["ofd:CommonData"]["ofd:DocumentRes"],l={},b={},d={},f=[],!c){e.next=23;break}if(-1==c.indexOf(a)&&(c="".concat(a,"/").concat(c)),!s.files[c]){e.next=23;break}return e.next=11,P(s,c);case 11:return h=e.sent,p=h["json"]["ofd:Res"],e.next=15,j(p);case 15:return l=e.sent,e.next=18,k(p);case 18:return b=e.sent,e.next=21,S(s,p,a);case 21:d=e.sent,f=_(p);case 23:return e.abrupt("return",[s,a,i,u,o,l,b,d,f]);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,s,a,i,u,o,c,l,b,d,f,h,p,v,g,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(r["a"])(t,9),s=n[0],a=n[1],i=n[2],u=n[3],o=n[4],c=n[5],l=n[6],b=n[7],d=n[8],f=i["ofd:CommonData"]["ofd:PublicRes"],!f){e.next=22;break}if(-1==f.indexOf(a)&&(f="".concat(a,"/").concat(f)),!s.files[f]){e.next=22;break}return e.next=7,P(s,f);case 7:return h=e.sent,p=h["json"]["ofd:Res"],e.next=11,j(p);case 11:return v=e.sent,c=Object.assign(c,v),e.next=15,k(p);case 15:return g=e.sent,l=Object.assign(l,g),e.next=19,S(s,p,a);case 19:m=e.sent,b=Object.assign(b,m),d=d.concat(_(p));case 22:return e.abrupt("return",[s,a,i,u,o,c,l,b,d]);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,i,u,o,c,l,b,d,f,h,p,v,g,m,y,w;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object(r["a"])(t,9),a=n[0],i=n[1],u=n[2],o=n[3],c=n[4],l=n[5],b=n[6],d=n[7],f=n[8],h=u["ofd:CommonData"]["ofd:TemplatePage"],p=[],p=p.concat(h),v={},g=Object(s["a"])(p),e.prev=6,g.s();case 8:if((m=g.n()).done){e.next=17;break}if(y=m.value,!y){e.next=15;break}return e.next=13,A(a,y,i);case 13:w=e.sent,v[Object.keys(w)[0]]=w[Object.keys(w)[0]];case 15:e.next=8;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e["catch"](6),g.e(e.t0);case 22:return e.prev=22,g.f(),e.finish(22);case 25:return e.abrupt("return",[a,i,u,o,c,v,l,b,d,f]);case 26:case"end":return e.stop()}}),e,null,[[6,19,22,25]])})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,a,i,u,o,c,l,b,d,f,h,p,v,g,m,y,w,x,O,j,k;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=Object(r["a"])(t,10),a=n[0],i=n[1],u=n[2],o=n[3],c=n[4],l=n[5],b=n[6],d=n[7],f=n[8],h=n[9],p=u["ofd:Pages"]["ofd:Page"],v=[],v=v.concat(p),g=[],m=Object(s["a"])(v),e.prev=6,m.s();case 8:if((y=m.n()).done){e.next=22;break}if(w=y.value,!w){e.next=20;break}return e.next=13,A(a,w,i);case 13:x=e.sent,O=Object.keys(x)[0],j=o[O],j&&(x[O].stamp=j),k=c[O],k&&(x[O].annotation=k),g.push(x);case 20:e.next=8;break;case 22:e.next=27;break;case 24:e.prev=24,e.t0=e["catch"](6),m.e(e.t0);case 27:return e.prev=27,m.f(),e.finish(27);case 30:return e.abrupt("return",{doc:i,document:u,pages:g,tpls:l,stampAnnot:o,fontResObj:b,drawParamResObj:d,multiMediaResObj:f,compositeGraphicUnits:h});case 31:case"end":return e.stop()}}),e,null,[[6,24,27,30]])})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,u,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t["ofd:Fonts"],r={},n){a=[],a=a.concat(n["ofd:Font"]),i=Object(s["a"])(a);try{for(i.s();!(u=i.n()).done;)o=u.value,o&&(o["@_FamilyName"]?r[o["@_ID"]]=o["@_FamilyName"]:r[o["@_ID"]]=o["@_FontName"])}catch(c){i.e(c)}finally{i.f()}}return e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var n,r,a,i,u,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t["ofd:DrawParams"],r={},n){a=[],a=a.concat(n["ofd:DrawParam"]),i=Object(s["a"])(a);try{for(i.s();!(u=i.n()).done;)o=u.value,o&&(r[o["@_ID"]]={LineWidth:o["@_LineWidth"],FillColor:o["ofd:FillColor"]?o["ofd:FillColor"]["@_Value"]:"",StrokeColor:o["ofd:StrokeColor"]?o["ofd:StrokeColor"]["@_Value"]:"",relative:o["@_Relative"]})}catch(c){i.e(c)}finally{i.f()}}return e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r){var a,i,u,o,l,b,d,f,h,p,v;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=n["ofd:MultiMedias"],i={},!a){e.next=41;break}u=[],u=u.concat(a["ofd:MultiMedia"]),o=Object(s["a"])(u),e.prev=6,o.s();case 8:if((l=o.n()).done){e.next=33;break}if(b=l.value,!b){e.next=31;break}if(d=b["ofd:MediaFile"],n["@_BaseLoc"]&&-1===d.indexOf(n["@_BaseLoc"])&&(d="".concat(n["@_BaseLoc"],"/").concat(d)),-1===d.indexOf(r)&&(d="".concat(r,"/").concat(d)),"image"!==b["@_Type"].toLowerCase()){e.next=30;break}if(f=b["@_Format"],h=Object(c["g"])(d),(!f||"gbig2"!==f.toLowerCase()&&"jb2"!==f.toLowerCase())&&(!h||"jb2"!==h.toLowerCase()&&"gbig2"!==h.toLowerCase())){e.next=24;break}return e.next=20,F(t,d);case 20:p=e.sent,i[b["@_ID"]]=p,e.next=28;break;case 24:return e.next=26,R(t,d);case 26:v=e.sent,i[b["@_ID"]]={img:v,format:"png"};case 28:e.next=31;break;case 30:i[b["@_ID"]]=d;case 31:e.next=8;break;case 33:e.next=38;break;case 35:e.prev=35,e.t0=e["catch"](6),o.e(e.t0);case 38:return e.prev=38,o.f(),e.finish(38);case 41:return e.abrupt("return",i);case 42:case"end":return e.stop()}}),e,null,[[6,35,38,41]])})));return function(t,n,s){return e.apply(this,arguments)}}(),_=function(e){var t=e["ofd:CompositeGraphicUnits"],n=[];if(t){var r=[];r=r.concat(t["ofd:CompositeGraphicUnit"]);var a,i=Object(s["a"])(r);try{for(i.s();!(a=i.n()).done;){var u=a.value;u&&n.push(u)}}catch(o){i.e(o)}finally{i.f()}}return n},A=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,s){var r,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=n["@_BaseLoc"],-1==r.indexOf(s)&&(r="".concat(s,"/").concat(r)),e.next=4,P(t,r);case 4:return a=e.sent,i={},i[n["@_ID"]]={json:a["json"]["ofd:Page"],xml:a["xml"]},e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t,n,s){return e.apply(this,arguments)}}(),D=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n,r){var a,i,u,o,l,b,d,f,h;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=[],!n){e.next=37;break}if(n=Object(c["m"])(n),-1===n.indexOf(r)&&(n="".concat(r,"/").concat(n)),!t.files[n]){e.next=37;break}return e.next=7,P(t,n);case 7:i=e.sent,u=i["json"]["ofd:Signatures"]["ofd:Signature"],o=[],o=o.concat(u),l=Object(s["a"])(o),e.prev=12,l.s();case 14:if((b=l.n()).done){e.next=29;break}if(d=b.value,!d){e.next=27;break}return f=d["@_BaseLoc"],h=d["@_ID"],f=Object(c["m"])(f),-1===f.indexOf("Signs")&&(f="Signs/".concat(f)),-1===f.indexOf(r)&&(f="".concat(r,"/").concat(f)),e.t0=a,e.next=25,C(t,f,h);case 25:e.t1=e.sent,e.t0.push.call(e.t0,e.t1);case 27:e.next=14;break;case 29:e.next=34;break;case 31:e.prev=31,e.t2=e["catch"](12),l.e(e.t2);case 34:return e.prev=34,l.f(),e.finish(34);case 37:return e.abrupt("return",a);case 38:case"end":return e.stop()}}),e,null,[[12,31,34,37]])})));return function(t,n,s){return e.apply(this,arguments)}}(),I=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t.files[n].async("uint8array"));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(n,s,r){var i,u,o,c,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,P(n,s);case 2:return i=t.sent,u=i["json"]["ofd:Signature"]["ofd:SignedValue"],u=u.toString().replace("/",""),n.files[u]||(u="".concat(s.substring(0,s.lastIndexOf("/")),"/").concat(u)),t.next=8,Object(b["b"])(n,u);case 8:return o=t.sent,c=i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["@_CheckMethod"],e.toBeChecked=new Map,l=new Array,i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:References"]["ofd:Reference"].forEach(function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t){var s,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!=Object.keys(t).length&&0!=Object.keys(t["@_FileRef"]).length){e.next=2;break}return e.abrupt("return",!0);case 2:return s=t["ofd:CheckValue"],r=t["@_FileRef"].replace("/",""),e.next=6,I(n,r);case 6:a=e.sent,l.push({fileData:a,hashed:s,checkMethod:c});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.toBeChecked.set(r,l),t.abrupt("return",{stampAnnot:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:StampAnnot"],sealObj:o,signedInfo:{signatureID:r,VerifyRet:o.verifyRet,Provider:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:Provider"],SignatureMethod:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:SignatureMethod"],SignatureDateTime:i["json"]["ofd:Signature"]["ofd:SignedInfo"]["ofd:SignatureDateTime"]}});case 15:case"end":return t.stop()}}),t)})));return function(e,n,s){return t.apply(this,arguments)}}(),B=function(e){var t=this;return new Promise((function(n,s){i["a"].call(t,Object(a["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f(e.sealObj.ofdArray);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),h,p).then((function(e){n(e)})).catch((function(e){s(e)}))}))},P=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("string").then((function(t){var n={attributeNamePrefix:"@_",ignoreAttributes:!1,parseNodeValue:!1,trimValues:!1},s=d.parse(t,n),r={xml:t,json:s};e(r)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),F=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("uint8array").then((function(t){var n=new l["a"],s=n.parse(t);e({img:s,width:n.width,height:n.height,format:"gbig2"})}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),R=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("base64").then((function(t){var n="data:image/png;base64,"+t;e(n)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()}).call(this,n("c8ba"))},"6b33":function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"n",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"m",(function(){return p})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return x})),n.d(t,"l",(function(){return O})),n.d(t,"k",(function(){return j})),n.d(t,"j",(function(){return k})),n.d(t,"e",(function(){return S})),n.d(t,"a",(function(){return _}));var s=n("b85c"),r=(n("1276"),n("ac1f"),n("498a"),n("5319"),n("d3b7"),n("25f0"),n("b64b"),n("99af"),n("a15b"),function(e){var t=e.split(" "),n=[],s=0;while(s<t.length){if("M"===t[s]||"S"===t[s]){var r={type:"M",x:parseFloat(t[s+1]),y:parseFloat(t[s+2])};s+=3,n.push(r)}if("L"===t[s]){var a={type:"L",x:parseFloat(t[s+1]),y:parseFloat(t[s+2])};s+=3,n.push(a)}else if("C"===t[s]){var i={type:"C",x:0,y:0};n.push(i),s++}else if("B"===t[s]){var u={type:"B",x1:parseFloat(t[s+1]),y1:parseFloat(t[s+2]),x2:parseFloat(t[s+3]),y2:parseFloat(t[s+4]),x3:parseFloat(t[s+5]),y3:parseFloat(t[s+6])};s+=7,n.push(u)}else if("Q"===t[s]){var o={type:"Q",x1:parseFloat(t[s+1]),y1:parseFloat(t[s+2]),x2:parseFloat(t[s+3]),y2:parseFloat(t[s+4])};s+=5,n.push(o)}else if("A"===t[s]){var c={type:"A",rx:parseFloat(t[s+1]),ry:parseFloat(t[s+2]),rotation:parseFloat(t[s+3]),arc:parseFloat(t[s+4]),sweep:parseFloat(t[s+5]),x:parseFloat(t[s+6]),y:parseFloat(t[s+7])};s+=8,n.push(c)}else s++}return n}),a=function(e){for(var t=[],n=0;n<e.length;n++){var s=e[n];if("M"===s.type||"L"===s.type||"C"===s.type){var r=0,a=0;r=s.x,a=s.y,s.x=d(r),s.y=d(a),t.push(s)}else if("B"===s.type){var i=s.x1,u=s.y1,o=s.x2,c=s.y2,l=s.x3,b=s.y3,f={type:"B",x1:d(i),y1:d(u),x2:d(o),y2:d(c),x3:d(l),y3:d(b)};t.push(f)}else if("Q"===s.type){var h=s.x1,p=s.y1,v=s.x2,g=s.y2,m={type:"Q",x1:d(h),y1:d(p),x2:d(v),y2:d(g)};t.push(m)}else if("A"===s.type){var y=s.rx,w=s.ry,x=s.rotation,O=s.arc,j=s.sweep,k=s.x,S=s.y,_={type:"A",rx:d(y),ry:d(w),rotation:x,arc:O,sweep:j,x:d(k),y:d(S)};t.push(_)}}return t},i=function(e,t){return e*t/25.4},u=10,o=u,c=function(e){u=e>5?5:e},l=function(e){o=e>1?e:1,o=o>u?u:o},b=function(){return o},d=function(e){return i(e,25.4*o)},f=function(e){if(-1===e.indexOf("g")){var t,n=[],r=Object(s["a"])(e.split(" "));try{for(r.s();!(t=r.n()).done;){var a=t.value;n.push(parseFloat(a))}}catch(p){r.e(p)}finally{r.f()}return n}var i,u=e.split(" "),o=!1,c=!1,l=0,b=[],d=Object(s["a"])(u);try{for(d.s();!(i=d.n()).done;){var f=i.value;if("g"===f)o=!0;else{if(!f||0==f.trim().length)continue;if(o)l=parseInt(f),c=!0,o=!1;else if(c){for(var h=0;h<l;h++)b.push(parseFloat(f));c=!1}else b.push(parseFloat(f))}}}catch(p){d.e(p)}finally{d.f()}return b},h=function(e){var t=0,n=0,r=[];if(!e)return r;var a,i=Object(s["a"])(e);try{for(i.s();!(a=i.n()).done;){var u=a.value;if(u){t=parseFloat(u["@_X"]),n=parseFloat(u["@_Y"]),isNaN(t)&&(t=0),isNaN(n)&&(n=0);var o=[],c=[];u["@_DeltaX"]&&u["@_DeltaX"].length>0&&(o=f(u["@_DeltaX"])),u["@_DeltaY"]&&u["@_DeltaY"].length>0&&(c=f(u["@_DeltaY"]));var l=u["#text"];if(l){l+="",l=y(l),l=l.replace(/ /g," ");for(var b=0;b<l.length;b++){b>0&&o.length>0&&(t+=o[b-1]),b>0&&c.length>0&&(n+=c[b-1]);var h=l.substring(b,b+1),p={x:d(t),y:d(n),text:h};r.push(p)}}}}}catch(v){i.e(v)}finally{i.f()}return r},p=function(e){return e&&0===e.indexOf("/")&&(e=e.replace("/","")),e},v=function(e){return e||"string"===typeof e?e.substring(e.lastIndexOf(".")+1):""},g=/&\w+;|&#(\d+);/g,m={"<":"<",">":">","&":"&"," ":" ",""":'"',"©":"","'":"'"},y=function(e){return e=void 0!=e?e:this.toString(),"string"!=typeof e?e:e.replace(g,(function(e,t){var n=m[e];return void 0==n&&(n=isNaN(t)?e:String.fromCharCode(160==t?32:t)),n}))},w={"楷体":"楷体, KaiTi, Kai, simkai",kaiti:"楷体, KaiTi, Kai, simkai",Kai:"楷体, KaiTi, Kai",simsun:"SimSun, simsun, Songti SC","宋体":"SimSun, simsun, Songti SC","黑体":"SimHei, STHeiti, simhei","仿宋":"FangSong, STFangsong, simfang","小标宋体":"sSun","方正小标宋_gbk":"sSun","仿宋_gb2312":"FangSong, STFangsong, simfang","楷体_gb2312":"楷体, KaiTi, Kai, simkai",couriernew:"Courier New","courier new":"Courier New"},x=function(e){w[e.toLowerCase()]&&(e=w[e.toLowerCase()]);for(var t=0,n=Object.keys(w);t<n.length;t++){var s=n[t];if(-1!=e.toLowerCase().indexOf(s.toLowerCase()))return w[s]}return e},O=function(e){if(e){var t=e.split(" ");return{x:parseFloat(t[0]),y:parseFloat(t[1]),w:parseFloat(t[2]),h:parseFloat(t[3])}}return null},j=function(e){var t=e.split(" ");return t},k=function(e){if(e){if(-1!==e.indexOf("#"))return e=e.replace(/#/g,""),e=e.replace(/ /g,""),e="#"+e.toString(),e;var t=e.split(" ");return"rgb(".concat(t[0],", ").concat(t[1],", ").concat(t[2],")")}return"rgb(0, 0, 0)"},S=function(e){return{x:d(e.x),y:d(e.y),w:d(e.w),h:d(e.h)}},_=function(e){for(var t=[],n=0,s=0;s<2*e.length;s+=2)t[s>>>3]|=parseInt(e[n],10)<<24-s%8*4,n++;for(var r=[],a=0;a<e.length;a++){var i=t[a>>>2]>>>24-a%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")}},"73fd":function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var s=n("d4ec"),r=n("262e"),a=n("2caf"),i=(n("fd87"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("d3b7"),n("5cc6"),n("99af"),n("84c3"),n("143c"),n("8a59"),n("fb2c"),n("bee2")),u=(n("53ca"),n("8ba4"),n("a9e3"),n("2b3d"),n("3ca3"),n("ddb0"),n("b0c0"),n("5319"),n("ac1f"),n("a15b"),n("fb6a"),n("25f0"),n("4d90"),n("7f3b"),{ERRORS:0,WARNINGS:1,INFOS:5}),o=u.WARNINGS;function c(e){o>=u.INFOS&&console.log("Info: ".concat(e))}function l(e){throw new Error(e)}function b(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var d=function(){function e(t){this.constructor===e&&l("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="})(),n("90d7");function f(e){return e<=0?0:Math.ceil(Math.log2(e))}function h(e,t){return e[t]<<24>>24}function p(e,t){return e[t]<<8|e[t+1]}function v(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}var g=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],m=function(){function e(t,n,r){Object(s["a"])(this,e),this.data=t,this.bp=n,this.dataEnd=r,this.chigh=t[n],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}return Object(i["a"])(e,[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var n,s=e[t]>>1,r=1&e[t],a=g[s],i=a.qe,u=this.a-i;if(this.chigh<i)u<i?(u=i,n=r,s=a.nmps):(u=i,n=1^r,1===a.switchFlag&&(r=n),s=a.nlps);else{if(this.chigh-=i,0!==(32768&u))return this.a=u,r;u<i?(n=1^r,1===a.switchFlag&&(r=n),s=a.nlps):(n=r,s=a.nmps)}do{0===this.ct&&this.byteIn(),u<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0===(32768&u));return this.a=u,e[t]=s<<1|r,n}}]),e}(),y=function(){var e=-2,t=-1,n=0,s=1,r=2,a=3,i=4,u=5,o=6,l=7,b=8,d=[[-1,-1],[-1,-1],[7,b],[7,l],[6,o],[6,o],[6,u],[6,u],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[4,n],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,s],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,i],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[3,a],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r],[1,r]],f=[[-1,-1],[12,e],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],h=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],p=[[-1,-1],[-1,-1],[12,e],[12,e],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],v=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],g=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"function"!==typeof e.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=e,this.eof=!1,this.encoding=t.K||0,this.eoline=t.EndOfLine||!1,this.byteAlign=t.EncodedByteAlign||!1,this.columns=t.Columns||1728,this.rows=t.Rows||0;var n,s=t.EndOfBlock;null!==s&&void 0!==s||(s=!0),this.eoblock=s,this.black=t.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;while(0===(n=this._lookBits(12)))this._eatBits(1);1===n&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}return m.prototype={readNextChar:function(){if(this.eof)return-1;var e,d,f,h,p,v=this.refLine,g=this.codingLine,m=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var y,w,x;if(this.err=!1,this.nextLine2D){for(h=0;g[h]<m;++h)v[h]=g[h];v[h++]=m,v[h]=m,g[0]=0,this.codingPos=0,e=0,d=0;while(g[this.codingPos]<m)switch(y=this._getTwoDimCode(),y){case n:this._addPixels(v[e+1],d),v[e+1]<m&&(e+=2);break;case s:if(y=w=0,d){do{y+=x=this._getBlackCode()}while(x>=64);do{w+=x=this._getWhiteCode()}while(x>=64)}else{do{y+=x=this._getWhiteCode()}while(x>=64);do{w+=x=this._getBlackCode()}while(x>=64)}this._addPixels(g[this.codingPos]+y,d),g[this.codingPos]<m&&this._addPixels(g[this.codingPos]+w,1^d);while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2;break;case l:if(this._addPixels(v[e]+3,d),d^=1,g[this.codingPos]<m){++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case u:if(this._addPixels(v[e]+2,d),d^=1,g[this.codingPos]<m){++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case a:if(this._addPixels(v[e]+1,d),d^=1,g[this.codingPos]<m){++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case r:if(this._addPixels(v[e],d),d^=1,g[this.codingPos]<m){++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case b:if(this._addPixelsNeg(v[e]-3,d),d^=1,g[this.codingPos]<m){e>0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case o:if(this._addPixelsNeg(v[e]-2,d),d^=1,g[this.codingPos]<m){e>0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case i:if(this._addPixelsNeg(v[e]-1,d),d^=1,g[this.codingPos]<m){e>0?--e:++e;while(v[e]<=g[this.codingPos]&&v[e]<m)e+=2}break;case t:this._addPixels(m,0),this.eof=!0;break;default:c("bad 2d code"),this._addPixels(m,0),this.err=!0}}else{g[0]=0,this.codingPos=0,d=0;while(g[this.codingPos]<m){if(y=0,d)do{y+=x=this._getBlackCode()}while(x>=64);else do{y+=x=this._getWhiteCode()}while(x>=64);this._addPixels(g[this.codingPos]+y,d),d^=1}}var O=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(y=this._lookBits(12),this.eoline)while(y!==t&&1!==y)this._eatBits(1),y=this._lookBits(12);else while(0===y)this._eatBits(1),y=this._lookBits(12);1===y?(this._eatBits(12),O=!0):y===t&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&O&&this.byteAlign){if(y=this._lookBits(12),1===y){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(h=0;h<4;++h)y=this._lookBits(12),1!==y&&c("bad rtc code: "+y),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){while(1){if(y=this._lookBits(13),y===t)return this.eof=!0,-1;if(y>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&y))}g[0]>0?this.outputBits=g[this.codingPos=0]:this.outputBits=g[this.codingPos=1],this.row++}if(this.outputBits>=8)p=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&g[this.codingPos]<m&&(this.codingPos++,this.outputBits=g[this.codingPos]-g[this.codingPos-1]);else{f=8,p=0;do{this.outputBits>f?(p<<=f,1&this.codingPos||(p|=255>>8-f),this.outputBits-=f,f=0):(p<<=this.outputBits,1&this.codingPos||(p|=255>>8-this.outputBits),f-=this.outputBits,this.outputBits=0,g[this.codingPos]<m?(this.codingPos++,this.outputBits=g[this.codingPos]-g[this.codingPos-1]):f>0&&(p<<=f,f=0))}while(f)}return this.black&&(p^=255),p},_addPixels:function(e,t){var n=this.codingLine,s=this.codingPos;e>n[s]&&(e>this.columns&&(c("row is wrong length"),this.err=!0,e=this.columns),1&s^t&&++s,n[s]=e),this.codingPos=s},_addPixelsNeg:function(e,t){var n=this.codingLine,s=this.codingPos;if(e>n[s])e>this.columns&&(c("row is wrong length"),this.err=!0,e=this.columns),1&s^t&&++s,n[s]=e;else if(e<n[s]){e<0&&(c("invalid code"),this.err=!0,e=0);while(s>0&&e<n[s-1])--s;n[s]=e}this.codingPos=s},_findTableCode:function(e,n,s,r){for(var a=r||0,i=e;i<=n;++i){var u=this._lookBits(i);if(u===t)return[!0,1,!1];if(i<n&&(u<<=n-i),!a||u>=a){var o=s[u-a];if(o[0]===i)return this._eatBits(i),[!0,o[1],!0]}}return[!1,0,!1]},_getTwoDimCode:function(){var e,n=0;if(this.eoblock){if(n=this._lookBits(7),e=d[n],e&&e[0]>0)return this._eatBits(e[0]),e[1]}else{var s=this._findTableCode(1,7,d);if(s[0]&&s[2])return s[1]}return c("Bad two dim code"),t},_getWhiteCode:function(){var e,n=0;if(this.eoblock){if(n=this._lookBits(12),n===t)return 1;if(e=n>>5===0?f[n]:h[n>>3],e[0]>0)return this._eatBits(e[0]),e[1]}else{var s=this._findTableCode(1,9,h);if(s[0])return s[1];if(s=this._findTableCode(11,12,f),s[0])return s[1]}return c("bad white code"),this._eatBits(1),1},_getBlackCode:function(){var e,n;if(this.eoblock){if(e=this._lookBits(13),e===t)return 1;if(n=e>>7===0?p[e]:e>>9===0&&e>>7!==0?v[(e>>1)-64]:g[e>>7],n[0]>0)return this._eatBits(n[0]),n[1]}else{var s=this._findTableCode(2,6,g);if(s[0])return s[1];if(s=this._findTableCode(7,12,v,64),s[0])return s[1];if(s=this._findTableCode(10,13,p),s[0])return s[1]}return c("bad black code"),this._eatBits(1),1},_lookBits:function(e){var n;while(this.inputBits<e){if(-1===(n=this.source.next()))return 0===this.inputBits?t:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|n,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e},_eatBits:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}},m}(),w=function(e){Object(r["a"])(n,e);var t=Object(a["a"])(n);function n(e){return Object(s["a"])(this,n),t.call(this,"JBIG2 error: ".concat(e))}return n}(d),x=function(){function e(){}function t(e,t,n){this.data=e,this.start=t,this.end=n}function n(e,t,n){var s=e.getContexts(t),r=1;function a(e){for(var t=0,a=0;a<e;a++){var i=n.readBit(s,r);r=r<256?r<<1|i:511&(r<<1|i)|256,t=t<<1|i}return t>>>0}var i=a(1),u=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);return 0===i?u:u>0?-u:null}function s(e,t,n){for(var s=e.getContexts("IAID"),r=1,a=0;a<n;a++){var i=t.readBit(s,r);r=r<<1|i}return n<31?r&(1<<n)-1:2147483647&r}e.prototype={getContexts:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}},t.prototype={get decoder(){var e=new m(this.data,this.start,this.end);return b(this,"decoder",e)},get contextCache(){var t=new e;return b(this,"contextCache",t)}};var r=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],a=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],i=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],u=[39717,1941,229,405],o=[32,8];function c(e,t,n){var s,r,a,i,u,o,c,l=n.decoder,b=n.contextCache.getContexts("GB"),d=[],f=31735;for(r=0;r<t;r++)for(u=d[r]=new Uint8Array(e),o=r<1?u:d[r-1],c=r<2?u:d[r-2],s=c[0]<<13|c[1]<<12|c[2]<<11|o[0]<<7|o[1]<<6|o[2]<<5|o[3]<<4,a=0;a<e;a++)u[a]=i=l.readBit(b,s),s=(s&f)<<1|(a+3<e?c[a+3]<<11:0)|(a+4<e?o[a+4]<<4:0)|i;return d}function l(e,t,n,s,r,i,o,l){if(e){var b=new N(l.data,l.start,l.end);return U(b,t,n,!1)}if(0===s&&!i&&!r&&4===o.length&&3===o[0].x&&-1===o[0].y&&-3===o[1].x&&-1===o[1].y&&2===o[2].x&&-2===o[2].y&&-2===o[3].x&&-2===o[3].y)return c(t,n,l);var d=!!i,f=a[s].concat(o);f.sort((function(e,t){return e.y-t.y||e.x-t.x}));var h,p,v=f.length,g=new Int8Array(v),m=new Int8Array(v),y=[],w=0,x=0,O=0,j=0;for(p=0;p<v;p++)g[p]=f[p].x,m[p]=f[p].y,x=Math.min(x,f[p].x),O=Math.max(O,f[p].x),j=Math.min(j,f[p].y),p<v-1&&f[p].y===f[p+1].y&&f[p].x===f[p+1].x-1?w|=1<<v-1-p:y.push(p);var k=y.length,S=new Int8Array(k),_=new Int8Array(k),A=new Uint16Array(k);for(h=0;h<k;h++)p=y[h],S[h]=f[p].x,_[h]=f[p].y,A[h]=1<<v-1-p;for(var D,I,C,B,P,F=-x,R=-j,T=t-O,L=u[s],E=new Uint8Array(t),M=[],q=l.decoder,V=l.contextCache.getContexts("GB"),H=0,W=0,G=0;G<n;G++){if(r){var z=q.readBit(V,L);if(H^=z,H){M.push(E);continue}}for(E=new Uint8Array(E),M.push(E),D=0;D<t;D++)if(d&&i[G][D])E[D]=0;else{if(D>=F&&D<T&&G>=R)for(W=W<<1&w,p=0;p<k;p++)I=G+_[p],C=D+S[p],B=M[I][C],B&&(B=A[p],W|=B);else for(W=0,P=v-1,p=0;p<v;p++,P--)C=D+g[p],C>=0&&C<t&&(I=G+m[p],I>=0&&(B=M[I][C],B&&(W|=B<<P)));var J=q.readBit(V,W);E[D]=J}}return M}function d(e,t,n,s,r,a,u,c,l){var b=i[n].coding;0===n&&(b=b.concat([c[0]]));var d,f=b.length,h=new Int32Array(f),p=new Int32Array(f);for(d=0;d<f;d++)h[d]=b[d].x,p[d]=b[d].y;var v=i[n].reference;0===n&&(v=v.concat([c[1]]));var g=v.length,m=new Int32Array(g),y=new Int32Array(g);for(d=0;d<g;d++)m[d]=v[d].x,y[d]=v[d].y;for(var x=s[0].length,O=s.length,j=o[n],k=[],S=l.decoder,_=l.contextCache.getContexts("GR"),A=0,D=0;D<t;D++){if(u){var I=S.readBit(_,j);if(A^=I,A)throw new w("prediction is not supported")}var C=new Uint8Array(e);k.push(C);for(var B=0;B<e;B++){var P,F,R=0;for(d=0;d<f;d++)P=D+p[d],F=B+h[d],P<0||F<0||F>=e?R<<=1:R=R<<1|k[P][F];for(d=0;d<g;d++)P=D+y[d]-a,F=B+m[d]-r,P<0||P>=O||F<0||F>=x?R<<=1:R=R<<1|s[P][F];var T=S.readBit(_,R);C[B]=T}}return k}function g(e,t,r,a,i,u,o,c,b,h,p,v){if(e&&t)throw new w("symbol refinement with Huffman is not supported");var g,m,y=[],O=0,j=f(r.length+a),k=p.decoder,S=p.contextCache;e&&(g=M(1),m=[],j=Math.max(j,1));while(y.length<a){var _=e?u.tableDeltaHeight.decode(v):n(S,"IADH",k);O+=_;var A=0,D=0,I=e?m.length:0;while(1){var C,B=e?u.tableDeltaWidth.decode(v):n(S,"IADW",k);if(null===B)break;if(A+=B,D+=A,t){var P=n(S,"IAAI",k);if(P>1)C=x(e,t,A,O,0,P,1,r.concat(y),j,0,0,1,0,u,b,h,p,0,v);else{var F=s(S,k,j),R=n(S,"IARDX",k),T=n(S,"IARDY",k),L=F<r.length?r[F]:y[F-r.length];C=d(A,O,b,L,R,T,!1,h,p)}y.push(C)}else e?m.push(A):(C=l(!1,A,O,o,!1,null,c,p),y.push(C))}if(e&&!t){var E=u.tableBitmapSize.decode(v);v.byteAlign();var N=void 0;if(0===E)N=W(v,D,O);else{var q=v.end,V=v.position+E;v.end=V,N=U(v,D,O,!1),v.end=q,v.position=V}var H=m.length;if(I===H-1)y.push(N);else{var G=void 0,z=void 0,J=0,X=void 0,K=void 0,Y=void 0;for(G=I;G<H;G++){for(K=m[G],X=J+K,Y=[],z=0;z<O;z++)Y.push(N[z].subarray(J,X));y.push(Y),J=X}}}}var $=[],Q=[],Z=!1,ee=r.length+a;while(Q.length<ee){var te=e?g.decode(v):n(S,"IAEX",k);while(te--)Q.push(Z);Z=!Z}for(var ne=0,se=r.length;ne<se;ne++)Q[ne]&&$.push(r[ne]);for(var re=0;re<a;ne++,re++)Q[ne]&&$.push(y[re]);return $}function x(e,t,r,a,i,u,o,c,l,b,f,h,p,v,g,m,y,x,O){if(e&&t)throw new w("refinement with Huffman is not supported");var j,k,S=[];for(j=0;j<a;j++){if(k=new Uint8Array(r),i)for(var _=0;_<r;_++)k[_]=i;S.push(k)}var A=y.decoder,D=y.contextCache,I=e?-v.tableDeltaT.decode(O):-n(D,"IADT",A),C=0;j=0;while(j<u){var B=e?v.tableDeltaT.decode(O):n(D,"IADT",A);I+=B;var P=e?v.tableFirstS.decode(O):n(D,"IAFS",A);C+=P;var F=C;do{var R=0;o>1&&(R=e?O.readBits(x):n(D,"IAIT",A));var T=o*I+R,L=e?v.symbolIDTable.decode(O):s(D,A,l),E=t&&(e?O.readBit():n(D,"IARI",A)),M=c[L],N=M[0].length,q=M.length;if(E){var V=n(D,"IARDW",A),H=n(D,"IARDH",A),W=n(D,"IARDX",A),U=n(D,"IARDY",A);N+=V,q+=H,M=d(N,q,g,M,(V>>1)+W,(H>>1)+U,!1,m,y)}var G,z,J,X=T-(1&h?0:q-1),K=F-(2&h?N-1:0);if(b){for(G=0;G<q;G++)if(k=S[K+G],k){J=M[G];var Y=Math.min(r-X,N);switch(p){case 0:for(z=0;z<Y;z++)k[X+z]|=J[z];break;case 2:for(z=0;z<Y;z++)k[X+z]^=J[z];break;default:throw new w("operator ".concat(p," is not supported"))}}F+=q-1}else{for(z=0;z<q;z++)if(k=S[X+z],k)switch(J=M[z],p){case 0:for(G=0;G<N;G++)k[K+G]|=J[G];break;case 2:for(G=0;G<N;G++)k[K+G]^=J[G];break;default:throw new w("operator ".concat(p," is not supported"))}F+=N-1}j++;var $=e?v.tableDeltaS.decode(O):n(D,"IADS",A);if(null===$)break;F+=$+f}while(1)}return S}function O(e,t,n,s,r,a){var i=[];e||(i.push({x:-t,y:0}),0===r&&(i.push({x:-3,y:-1}),i.push({x:2,y:-2}),i.push({x:-2,y:-2})));for(var u=(s+1)*t,o=l(e,u,n,r,!1,null,i,a),c=[],b=0;b<=s;b++){for(var d=[],f=t*b,h=f+t,p=0;p<n;p++)d.push(o[p].subarray(f,h));c.push(d)}return c}function j(e,t,n,s,r,a,i,u,o,c,b,d,h,p,v){var g=null;if(i)throw new w("skip is not supported");if(0!==u)throw new w("operator "+u+" is not supported in halftone region");var m,y,x,O=[];for(m=0;m<r;m++){if(x=new Uint8Array(s),a)for(y=0;y<s;y++)x[y]=a;O.push(x)}var j=t.length,k=t[0],S=k[0].length,_=k.length,A=f(j),D=[];e||(D.push({x:n<=1?3:2,y:-1}),0===n&&(D.push({x:-3,y:-1}),D.push({x:2,y:-2}),D.push({x:-2,y:-2})));var I,C,B,P,F,R,T,L,E,M,q,V=[];for(e&&(I=new N(v.data,v.start,v.end)),m=A-1;m>=0;m--)C=e?U(I,o,c,!0):l(!1,o,c,n,!1,g,D,v),V[m]=C;for(B=0;B<c;B++)for(P=0;P<o;P++){for(F=0,R=0,y=A-1;y>=0;y--)F=V[y][B][P]^F,R|=F<<y;if(T=t[R],L=b+B*p+P*h>>8,E=d+B*h-P*p>>8,L>=0&&L+S<=s&&E>=0&&E+_<=r)for(m=0;m<_;m++)for(q=O[E+m],M=T[m],y=0;y<S;y++)q[L+y]|=M[y];else{var H=void 0,W=void 0;for(m=0;m<_;m++)if(W=E+m,!(W<0||W>=r))for(q=O[W],M=T[m],y=0;y<S;y++)H=L+y,H>=0&&H<s&&(q[H]|=M[y])}}return O}function k(e,t){var n={};n.number=v(e,t);var s=e[t+4],a=63&s;if(!r[a])throw new w("invalid segment type: "+a);n.type=a,n.typeName=r[a],n.deferredNonRetain=!!(128&s);var i=!!(64&s),u=e[t+5],o=u>>5&7,c=[31&u],l=t+6;if(7===u){o=536870911&v(e,l-1),l+=3;var b=o+7>>3;c[0]=e[l++];while(--b>0)c.push(e[l++])}else if(5===u||6===u)throw new w("invalid referred-to flags");n.retainBits=c;var d=4;n.number<=256?d=1:n.number<=65536&&(d=2);var f,h,g=[];for(f=0;f<o;f++){var m=void 0;m=1===d?e[l]:2===d?p(e,l):v(e,l),g.push(m),l+=d}if(n.referredTo=g,i?(n.pageAssociation=v(e,l),l+=4):n.pageAssociation=e[l++],n.length=v(e,l),l+=4,4294967295===n.length){if(38!==a)throw new w("invalid unknown segment length");var y=_(e,l),x=e[l+A],O=!!(1&x),j=6,k=new Uint8Array(j);for(O||(k[0]=255,k[1]=172),k[2]=y.height>>>24&255,k[3]=y.height>>16&255,k[4]=y.height>>8&255,k[5]=255&y.height,f=l,h=e.length;f<h;f++){var S=0;while(S<j&&k[S]===e[f+S])S++;if(S===j){n.length=f+j;break}}if(4294967295===n.length)throw new w("segment end was not found")}return n.headerEnd=l,n}function S(e,t,n,s){var r=[],a=n;while(a<s){var i=k(t,a);a=i.headerEnd;var u={header:i,data:t};if(e.randomAccess||(u.start=a,a+=i.length,u.end=a),r.push(u),51===i.type)break}if(e.randomAccess)for(var o=0,c=r.length;o<c;o++)r[o].start=a,a+=r[o].header.length,r[o].end=a;return r}function _(e,t){return{width:v(e,t),height:v(e,t+4),x:v(e,t+8),y:v(e,t+12),combinationOperator:7&e[t+16]}}var A=17;function D(e,t){var n,s,r,a,i=e.header,u=e.data,o=e.start,c=e.end;switch(i.type){case 0:var l={},b=p(u,o);if(l.huffman=!!(1&b),l.refinement=!!(2&b),l.huffmanDHSelector=b>>2&3,l.huffmanDWSelector=b>>4&3,l.bitmapSizeSelector=b>>6&1,l.aggregationInstancesSelector=b>>7&1,l.bitmapCodingContextUsed=!!(256&b),l.bitmapCodingContextRetained=!!(512&b),l.template=b>>10&3,l.refinementTemplate=b>>12&1,o+=2,!l.huffman){for(a=0===l.template?4:1,s=[],r=0;r<a;r++)s.push({x:h(u,o),y:h(u,o+1)}),o+=2;l.at=s}if(l.refinement&&!l.refinementTemplate){for(s=[],r=0;r<2;r++)s.push({x:h(u,o),y:h(u,o+1)}),o+=2;l.refinementAt=s}l.numberOfExportedSymbols=v(u,o),o+=4,l.numberOfNewSymbols=v(u,o),o+=4,n=[l,i.number,i.referredTo,u,o,c];break;case 6:case 7:var d={};d.info=_(u,o),o+=A;var f=p(u,o);if(o+=2,d.huffman=!!(1&f),d.refinement=!!(2&f),d.logStripSize=f>>2&3,d.stripSize=1<<d.logStripSize,d.referenceCorner=f>>4&3,d.transposed=!!(64&f),d.combinationOperator=f>>7&3,d.defaultPixelValue=f>>9&1,d.dsOffset=f<<17>>27,d.refinementTemplate=f>>15&1,d.huffman){var g=p(u,o);o+=2,d.huffmanFS=3&g,d.huffmanDS=g>>2&3,d.huffmanDT=g>>4&3,d.huffmanRefinementDW=g>>6&3,d.huffmanRefinementDH=g>>8&3,d.huffmanRefinementDX=g>>10&3,d.huffmanRefinementDY=g>>12&3,d.huffmanRefinementSizeSelector=!!(16384&g)}if(d.refinement&&!d.refinementTemplate){for(s=[],r=0;r<2;r++)s.push({x:h(u,o),y:h(u,o+1)}),o+=2;d.refinementAt=s}d.numberOfSymbolInstances=v(u,o),o+=4,n=[d,i.referredTo,u,o,c];break;case 16:var m={},y=u[o++];m.mmr=!!(1&y),m.template=y>>1&3,m.patternWidth=u[o++],m.patternHeight=u[o++],m.maxPatternIndex=v(u,o),o+=4,n=[m,i.number,u,o,c];break;case 22:case 23:var x={};x.info=_(u,o),o+=A;var O=u[o++];x.mmr=!!(1&O),x.template=O>>1&3,x.enableSkip=!!(8&O),x.combinationOperator=O>>4&7,x.defaultPixelValue=O>>7&1,x.gridWidth=v(u,o),o+=4,x.gridHeight=v(u,o),o+=4,x.gridOffsetX=4294967295&v(u,o),o+=4,x.gridOffsetY=4294967295&v(u,o),o+=4,x.gridVectorX=p(u,o),o+=2,x.gridVectorY=p(u,o),o+=2,n=[x,i.referredTo,u,o,c];break;case 38:case 39:var j={};j.info=_(u,o),o+=A;var k=u[o++];if(j.mmr=!!(1&k),j.template=k>>1&3,j.prediction=!!(8&k),!j.mmr){for(a=0===j.template?4:1,s=[],r=0;r<a;r++)s.push({x:h(u,o),y:h(u,o+1)}),o+=2;j.at=s}n=[j,u,o,c];break;case 48:var S={width:v(u,o),height:v(u,o+4),resolutionX:v(u,o+8),resolutionY:v(u,o+12)};4294967295===S.height&&delete S.height;var D=u[o+16];p(u,o+17),S.lossless=!!(1&D),S.refinement=!!(2&D),S.defaultPixelValue=D>>2&1,S.combinationOperator=D>>3&3,S.requiresBuffer=!!(32&D),S.combinationOperatorOverride=!!(64&D),n=[S];break;case 49:break;case 50:break;case 51:break;case 53:n=[i.number,u,o,c];break;case 62:break;default:throw new w("segment type ".concat(i.typeName,"(").concat(i.type,")")+" is not implemented")}var I="on"+i.typeName;I in t&&t[I].apply(t,n)}function I(e,t){for(var n=0,s=e.length;n<s;n++)D(e[n],t)}function C(e){for(var t=new P,n=0,s=e.length;n<s;n++){var r=e[n],a=S({},r.data,r.start,r.end);I(a,t)}return t.buffer}function B(e){var t=e.length,n=0;if(151!==e[n]||74!==e[n+1]||66!==e[n+2]||50!==e[n+3]||13!==e[n+4]||10!==e[n+5]||26!==e[n+6]||10!==e[n+7])throw new w("parseJbig2 - invalid header.");var s=Object.create(null);n+=8;var r=e[n++];s.randomAccess=!(1&r),2&r||(s.numberOfPages=v(e,n),n+=4);var a=S(s,e,n,t),i=new P;I(a,i);for(var u=i.currentPageInfo,o=u.width,c=u.height,l=i.buffer,b=new Uint8ClampedArray(o*c),d=0,f=0,h=0;h<c;h++)for(var p=0,g=void 0,m=0;m<o;m++)p||(p=128,g=l[f++]),b[d++]=g&p?0:255,p>>=1;return{imgData:b,width:o,height:c}}function P(){}function F(e){2===e.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange="lower"===e[4])}function R(e){this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}function T(e,t){t||this.assignPrefixCodes(e),this.rootNode=new R(null);for(var n=0,s=e.length;n<s;n++){var r=e[n];r.prefixLength>0&&this.rootNode.buildTree(r,r.prefixLength-1)}}function L(e,t,n){var s,r,a=e[t],i=4294967295&v(e,t+1),u=4294967295&v(e,t+5),o=new N(e,t+9,n),c=1+(a>>1&7),l=1+(a>>4&7),b=[],d=i;do{s=o.readBits(c),r=o.readBits(l),b.push(new F([d,s,r,0])),d+=1<<r}while(d<u);return s=o.readBits(c),b.push(new F([i-1,s,32,0,"lower"])),s=o.readBits(c),b.push(new F([u,s,32,0])),1&a&&(s=o.readBits(c),b.push(new F([s,0]))),new T(b,!1)}P.prototype={onPageInformation:function(e){this.currentPageInfo=e;var t=e.width+7>>3,n=new Uint8ClampedArray(t*e.height);if(e.defaultPixelValue)for(var s=0,r=n.length;s<r;s++)n[s]=255;this.buffer=n},drawBitmap:function(e,t){var n,s,r,a,i=this.currentPageInfo,u=e.width,o=e.height,c=i.width+7>>3,l=i.combinationOperatorOverride?e.combinationOperator:i.combinationOperator,b=this.buffer,d=128>>(7&e.x),f=e.y*c+(e.x>>3);switch(l){case 0:for(n=0;n<o;n++){for(r=d,a=f,s=0;s<u;s++)t[n][s]&&(b[a]|=r),r>>=1,r||(r=128,a++);f+=c}break;case 2:for(n=0;n<o;n++){for(r=d,a=f,s=0;s<u;s++)t[n][s]&&(b[a]^=r),r>>=1,r||(r=128,a++);f+=c}break;default:throw new w("operator ".concat(l," is not supported"))}},onImmediateGenericRegion:function(e,n,s,r){var a=e.info,i=new t(n,s,r),u=l(e.mmr,a.width,a.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(a,u)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(e,n,s,r,a,i){var u,o;e.huffman&&(u=H(e,s,this.customTables),o=new N(r,a,i));var c=this.symbols;c||(this.symbols=c={});for(var l=[],b=0,d=s.length;b<d;b++){var f=c[s[b]];f&&(l=l.concat(f))}var h=new t(r,a,i);c[n]=g(e.huffman,e.refinement,l,e.numberOfNewSymbols,e.numberOfExportedSymbols,u,e.template,e.at,e.refinementTemplate,e.refinementAt,h,o)},onImmediateTextRegion:function(e,n,s,r,a){for(var i,u,o=e.info,c=this.symbols,l=[],b=0,d=n.length;b<d;b++){var h=c[n[b]];h&&(l=l.concat(h))}var p=f(l.length);e.huffman&&(u=new N(s,r,a),i=V(e,n,this.customTables,l.length,u));var v=new t(s,r,a),g=x(e.huffman,e.refinement,o.width,o.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,l,p,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,i,e.refinementTemplate,e.refinementAt,v,e.logStripSize,u);this.drawBitmap(o,g)},onImmediateLosslessTextRegion:function(){this.onImmediateTextRegion.apply(this,arguments)},onPatternDictionary:function(e,n,s,r,a){var i=this.patterns;i||(this.patterns=i={});var u=new t(s,r,a);i[n]=O(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,u)},onImmediateHalftoneRegion:function(e,n,s,r,a){var i=this.patterns[n[0]],u=e.info,o=new t(s,r,a),c=j(e.mmr,i,e.template,u.width,u.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,o);this.drawBitmap(u,c)},onImmediateLosslessHalftoneRegion:function(){this.onImmediateHalftoneRegion.apply(this,arguments)},onTables:function(e,t,n,s){var r=this.customTables;r||(this.customTables=r={}),r[e]=L(t,n,s)}},R.prototype={buildTree:function(e,t){var n=e.prefixCode>>t&1;if(t<=0)this.children[n]=new R(e);else{var s=this.children[n];s||(this.children[n]=s=new R(null)),s.buildTree(e,t-1)}},decodeNode:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var n=this.children[e.readBit()];if(!n)throw new w("invalid Huffman data");return n.decodeNode(e)}},T.prototype={decode:function(e){return this.rootNode.decodeNode(e)},assignPrefixCodes:function(e){for(var t=e.length,n=0,s=0;s<t;s++)n=Math.max(n,e[s].prefixLength);for(var r=new Uint32Array(n+1),a=0;a<t;a++)r[e[a].prefixLength]++;var i,u,o,c=1,l=0;r[0]=0;while(c<=n){l=l+r[c-1]<<1,i=l,u=0;while(u<t)o=e[u],o.prefixLength===c&&(o.prefixCode=i,i++),u++;c++}}};var E={};function M(e){var t,n=E[e];if(n)return n;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:t=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:t=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:t=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:t=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:t=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:t=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:t=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:t=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:t=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:t=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:t=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new w("standard table B.".concat(e," does not exist"))}for(var s=0,r=t.length;s<r;s++)t[s]=new F(t[s]);return n=new T(t,!0),E[e]=n,n}function N(e,t,n){this.data=e,this.start=t,this.end=n,this.position=t,this.shift=-1,this.currentByte=0}function q(e,t,n){for(var s=0,r=0,a=t.length;r<a;r++){var i=n[t[r]];if(i){if(e===s)return i;s++}}throw new w("can't find custom Huffman table")}function V(e,t,n,s,r){for(var a=[],i=0;i<=34;i++){var u=r.readBits(4);a.push(new F([i,u,0,0]))}var o=new T(a,!1);a.length=0;for(var c=0;c<s;){var l=o.decode(r);if(l>=32){var b=void 0,d=void 0,f=void 0;switch(l){case 32:if(0===c)throw new w("no previous value in symbol ID table");d=r.readBits(2)+3,b=a[c-1].prefixLength;break;case 33:d=r.readBits(3)+3,b=0;break;case 34:d=r.readBits(7)+11,b=0;break;default:throw new w("invalid code length in symbol ID table")}for(f=0;f<d;f++)a.push(new F([c,b,0,0])),c++}else a.push(new F([c,l,0,0])),c++}r.byteAlign();var h,p,v,g=new T(a,!1),m=0;switch(e.huffmanFS){case 0:case 1:h=M(e.huffmanFS+6);break;case 3:h=q(m,t,n),m++;break;default:throw new w("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:p=M(e.huffmanDS+8);break;case 3:p=q(m,t,n),m++;break;default:throw new w("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:v=M(e.huffmanDT+11);break;case 3:v=q(m,t,n),m++;break;default:throw new w("invalid Huffman DT selector")}if(e.refinement)throw new w("refinement with Huffman is not supported");return{symbolIDTable:g,tableFirstS:h,tableDeltaS:p,tableDeltaT:v}}function H(e,t,n){var s,r,a,i,u=0;switch(e.huffmanDHSelector){case 0:case 1:s=M(e.huffmanDHSelector+4);break;case 3:s=q(u,t,n),u++;break;default:throw new w("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:r=M(e.huffmanDWSelector+2);break;case 3:r=q(u,t,n),u++;break;default:throw new w("invalid Huffman DW selector")}return e.bitmapSizeSelector?(a=q(u,t,n),u++):a=M(1),i=e.aggregationInstancesSelector?q(u,t,n):M(1),{tableDeltaHeight:s,tableDeltaWidth:r,tableBitmapSize:a,tableAggregateInstances:i}}function W(e,t,n){for(var s=[],r=0;r<n;r++){var a=new Uint8Array(t);s.push(a);for(var i=0;i<t;i++)a[i]=e.readBit();e.byteAlign()}return s}function U(e,t,n,s){for(var r,a={K:-1,Columns:t,Rows:n,BlackIs1:!0,EndOfBlock:s},i=new y(e,a),u=[],o=!1,c=0;c<n;c++){var l=new Uint8Array(t);u.push(l);for(var b=-1,d=0;d<t;d++)b<0&&(r=i.readNextChar(),-1===r&&(r=0,o=!0),b=7),l[d]=r>>b&1,b--}if(s&&!o)for(var f=5,h=0;h<f;h++)if(-1===i.readNextChar())break;return u}function G(){}return N.prototype={readBit:function(){if(this.shift<0){if(this.position>=this.end)throw new w("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e},readBits:function(e){var t,n=0;for(t=e-1;t>=0;t--)n|=this.readBit()<<t;return n},byteAlign:function(){this.shift=-1},next:function(){return this.position>=this.end?-1:this.data[this.position++]}},G.prototype={parseChunks:function(e){return C(e)},parse:function(e){var t=B(e),n=t.imgData,s=t.width,r=t.height;return this.width=s,this.height=r,n}},G}()},"7efc":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u}));var s=n("b85c"),r=(n("b64b"),n("1276"),n("ac1f"),n("b680"),n("99af"),n("8a59"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("d3b7"),n("5319"),n("6b33")),a=function(e,t,n){var s,a=n[Object.keys(n)[0]]["json"]["ofd:Area"];if(a){var i=a["ofd:PhysicalBox"];if(i)s=i;else{var u=a["ofd:ApplicationBox"];if(u)s=u;else{var o=a["ofd:ContentBox"];o&&(s=o)}}}else{var c=t["ofd:CommonData"]["ofd:PageArea"],l=c["ofd:PhysicalBox"];if(l)s=l;else{var b=c["ofd:ApplicationBox"];if(b)s=b;else{var d=c["ofd:ContentBox"];d&&(s=d)}}}var f=s.split(" "),h=((e-10)/parseFloat(f[2])).toFixed(1);return Object(r["n"])(h),Object(r["o"])(h),s=Object(r["l"])(s),s=Object(r["e"])(s),s},i=function(e,t){var n,s=t[Object.keys(t)[0]]["json"]["ofd:Area"];if(s){var a=s["ofd:PhysicalBox"];if(a)n=a;else{var i=s["ofd:ApplicationBox"];if(i)n=i;else{var u=s["ofd:ContentBox"];u&&(n=u)}}}else{var o=e["ofd:CommonData"]["ofd:PageArea"],c=o["ofd:PhysicalBox"];if(c)n=c;else{var l=o["ofd:ApplicationBox"];if(l)n=l;else{var b=o["ofd:ContentBox"];b&&(n=b)}}}return n=Object(r["l"])(n),n=Object(r["e"])(n),n},u=function(e,t,n,a,i,u,b){var d=Object.keys(t)[0],h=t[d]["json"]["ofd:Template"];if(h){var p=[],v=n[h["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"];p=p.concat(v);var g,m=Object(s["a"])(p);try{for(m.s();!(g=m.n()).done;){var y=g.value;y&&l(e,a,i,u,b,y,!1)}}catch(L){m.e(L)}finally{m.f()}}var w=t[d]["json"]["ofd:Content"]["ofd:Layer"],x=[];x=x.concat(w);var O,j=Object(s["a"])(x);try{for(j.s();!(O=j.n()).done;){var k=O.value;k&&l(e,a,i,u,b,k,!1)}}catch(L){j.e(L)}finally{j.f()}if(t[d].stamp){var S,_=t[d].json.pfIndex,A=Object(s["a"])(t[d].stamp);try{for(A.s();!(S=A.n()).done;){var D=S.value;if("ofd"===D.type)c(e,D.obj.pages,D.obj.tpls,!0,D.stamp.stampAnnot,D.obj.fontResObj,D.obj.drawParamResObj,D.obj.multiMediaResObj,b,D.stamp.sealObj.SES_Signature,D.stamp.signedInfo,_);else if("png"===D.type){var I=Object(r["e"])(D.obj.boundary),C=(Array.isArray(D.stamp.stampAnnot)?D.stamp.stampAnnot[0]["@_ID"]:D.stamp.stampAnnot["@_ID"])+_,B=f(e.style.width,e.style.height,D.obj.img,I,D.obj.clip,!0,D.stamp.sealObj.SES_Signature,D.stamp.signedInfo,C);e.appendChild(B)}}}catch(L){A.e(L)}finally{A.f()}}if(t[d].annotation){var P,F=t[d].json.pfIndex,R=Object(s["a"])(t[d].annotation);try{for(R.s();!(P=R.n()).done;){var T=P.value;o(e,T,a,i,u,b,F)}}catch(L){R.e(L)}finally{R.f()}}},o=function(e,t,n,s,a,i,u){var o=document.createElement("div");o.setAttribute("style","overflow: hidden;z-index:".concat(t["@_ID"]+u,";position:relative;"));var c=t["appearance"]["@_Boundary"];if(c){var b=Object(r["e"])(Object(r["l"])(c));o.setAttribute("style","overflow: hidden;z-index:".concat(t["@_ID"]+u,";position:absolute; left: ").concat(b.x,"px; top: ").concat(b.y,"px; width: ").concat(b.w,"px; height: ").concat(b.h,"px"))}var d=t["appearance"];l(o,n,s,a,i,d,!1),e.appendChild(o)},c=function(e,t,n,a,i,u,o,c,b,d,f,h){var p,v=Object(s["a"])(t);try{for(v.s();!(p=v.n()).done;){var g=p.value,m=Object.keys(g)[0],y={x:0,y:0,w:0,h:0};a&&i&&(y=i.boundary);var w=Object(r["e"])(y),x=document.createElement("div");x.setAttribute("name","seal_img_div"),x.setAttribute("style","z-index:".concat(h+1e4,";cursor: pointer; position:relative; left: ").concat(w.x,"px; top: ").concat(w.y,"px; width: ").concat(w.w,"px; height: ").concat(w.h,"px")),x.setAttribute("data-ses-signature","".concat(JSON.stringify(d))),x.setAttribute("data-signed-info","".concat(JSON.stringify(f)));var O=g[m]["json"]["ofd:Template"];if(O){var j=n[O["@_TemplateID"]]["json"]["ofd:Content"]["ofd:Layer"],k=[];k=k.concat(j);var S,_=Object(s["a"])(k);try{for(_.s();!(S=_.n()).done;){var A=S.value;A&&l(x,u,o,c,b,A,a)}}catch(F){_.e(F)}finally{_.f()}}var D=g[m]["json"]["ofd:Content"]["ofd:Layer"],I=[];I=I.concat(D);var C,B=Object(s["a"])(I);try{for(B.s();!(C=B.n()).done;){var P=C.value;P&&l(x,u,o,c,b,P,a)}}catch(F){B.e(F)}finally{B.f()}e.appendChild(x)}}catch(F){v.e(F)}finally{v.f()}},l=function e(t,n,a,i,u,o,c,l,d,f){var v=null,g=null,m=Object(r["f"])(.353),y=o["@_DrawParam"];y&&Object.keys(a).length>0&&a[y]&&(a[y]["relative"]&&(y=a[y]["relative"],a[y]["FillColor"]&&(v=Object(r["j"])(a[y]["FillColor"])),a[y]["StrokeColor"]&&(g=Object(r["j"])(a[y]["StrokeColor"])),a[y]["LineWidth"]&&(m=Object(r["f"])(a[y]["LineWidth"]))),a[y]["FillColor"]&&(v=Object(r["j"])(a[y]["FillColor"])),a[y]["StrokeColor"]&&(g=Object(r["j"])(a[y]["StrokeColor"])),a[y]["LineWidth"]&&(m=Object(r["f"])(a[y]["LineWidth"])));var w=o["ofd:ImageObject"],x=[];x=x.concat(w);var O,j=Object(s["a"])(x);try{for(j.s();!(O=j.n()).done;){var k=O.value;if(k){var S=b(t.style.width,t.style.height,i,k,c,d);t.appendChild(S)}}}catch(ee){j.e(ee)}finally{j.f()}var _=o["ofd:PathObject"],A=[];A=A.concat(_);var D,I=Object(s["a"])(A);try{for(I.s();!(D=I.n()).done;){var C=D.value;if(C){var B=p(a,C,v,g,m,c,l,d,f);t.appendChild(B)}}}catch(ee){I.e(ee)}finally{I.f()}var P=o["ofd:TextObject"],F=[];F=F.concat(P);var R,T=Object(s["a"])(F);try{for(T.s();!(R=T.n()).done;){var L=R.value;if(L){var E=h(n,L,v,g);t.appendChild(E)}}}catch(ee){T.e(ee)}finally{T.f()}var M=o["ofd:CompositeObject"],N=[];N=N.concat(M);var q,V=Object(s["a"])(N);try{for(V.s();!(q=V.n()).done;){var H=q.value;if(H){var W,U=Object(s["a"])(u);try{for(U.s();!(W=U.n()).done;){var G=W.value;if(G["@_ID"]===H["@_ResourceID"]){var z=H["@_Alpha"],J=H["@_Boundary"],X=H["@_CTM"];e(t,n,a,i,u,G["ofd:Content"],!1,z,J,X);break}}}catch(ee){U.e(ee)}finally{U.f()}}}}catch(ee){V.e(ee)}finally{V.f()}var K=o["ofd:PageBlock"],Y=[];Y=Y.concat(K);var $,Q=Object(s["a"])(Y);try{for(Q.s();!($=Q.n()).done;){var Z=$.value;Z&&e(t,n,a,i,u,Z,c)}}catch(ee){Q.e(ee)}finally{Q.f()}},b=function(e,t,n,s,a,i){var u=Object(r["l"])(s["@_Boundary"]);u=Object(r["e"])(u);var o=s["@_ResourceID"];if("gbig2"===n[o].format){var c=n[o].img,l=n[o].width,b=n[o].height;return d(c,l,b,u,s["@_ID"])}var h=s["@_CTM"];return f(e,t,n[o].img,u,!1,a,null,null,s["@_ID"],h,i)},d=function(e,t,n,s,r){for(var a=new Uint8ClampedArray(4*t*n),i=0;i<e.length;i++)a[4*i]=e[i],a[4*i+1]=e[i],a[4*i+2]=e[i],a[4*i+3]=255;var u=new ImageData(a,t,n),o=document.createElement("canvas");o.width=t,o.height=n;var c=o.getContext("2d");return c.putImageData(u,0,0),o.setAttribute("style","left: ".concat(s.x,"px; top: ").concat(s.y,"px; width: ").concat(s.w,"px; height: ").concat(s.h,"px;z-index: ").concat(r)),o.style.position="absolute",o},f=function(e,t,n,s,a,i,u,o,c,l,b){var d=document.createElement("div");i&&(d.setAttribute("name","seal_img_div"),d.setAttribute("data-ses-signature","".concat(JSON.stringify(u))),d.setAttribute("data-signed-info","".concat(JSON.stringify(o))));var f=document.createElement("img");if(f.src=n,i&&(f.setAttribute("width","100%"),f.setAttribute("height","100%")),l){var h=Object(r["k"])(l);f.setAttribute("width","".concat(Object(r["f"])(h[0]),"px")),f.setAttribute("height","".concat(Object(r["f"])(h[3]),"px")),f.setAttribute("transform","matrix(".concat(h[0]," ").concat(h[1]," ").concat(h[2]," ").concat(h[3]," ").concat(Object(r["f"])(h[4])," ").concat(Object(r["f"])(h[5]),")"))}b&&(f.setAttribute("width","100%"),f.setAttribute("height","100%"),f.removeAttribute("transform")),d.appendChild(f);var p=parseFloat(e.replace("px","")),v=parseFloat(t.replace("px","")),g=s.w>p?p:s.w,m=s.h>v?v:s.h,y="";return a&&(a=Object(r["e"])(a),y="clip: rect(".concat(a.y,"px, ").concat(a.w+a.x,"px, ").concat(a.h+a.y,"px, ").concat(a.x,"px)")),d.setAttribute("style","cursor: pointer; overflow: hidden; position: absolute; left: ".concat(y?s.x:s.x<0?0:s.x,"px; top: ").concat(y?s.y:s.y<0?0:s.y,"px; width: ").concat(g,"px; height: ").concat(m,"px; ").concat(y,";z-index: ").concat(c)),d},h=function(e,t,n,a){var i=1,u=Object(r["l"])(t["@_Boundary"]);u=Object(r["e"])(u);var o=t["@_CTM"],c=t["@_HScale"],l=t["@_Font"],b=t["@_Weight"],d=Object(r["f"])(parseFloat(t["@_Size"])),f=[];f=f.concat(t["ofd:TextCode"]);var h=Object(r["c"])(f),p=document.createElementNS("http://www.w3.org/2000/svg","svg");p.setAttribute("version","1.1");var v=t["ofd:FillColor"],g=!1;if(v){v["@_Value"]&&(n=Object(r["j"])(v["@_Value"]));var m=v["@_Alpha"];m&&(i=m>1?m/255:m);var y=v["ofd:AxialShd"];if(y){g=!0;var w=document.createElement("linearGradient");w.setAttribute("id","".concat(t["@_ID"])),w.setAttribute("x1","0%"),w.setAttribute("y1","0%"),w.setAttribute("x2","100%"),w.setAttribute("y2","100%");var x,O=Object(s["a"])(y["ofd:Segment"]);try{for(O.s();!(x=O.n()).done;){var j=x.value;if(j){var k=document.createElement("stop");k.setAttribute("offset","".concat(100*j["@_Position"],"%")),k.setAttribute("style","stop-color:".concat(Object(r["j"])(j["ofd:Color"]["@_Value"]),";stop-opacity:1")),w.appendChild(k),n=Object(r["j"])(j["ofd:Color"]["@_Value"])}}}catch(R){O.e(R)}finally{O.f()}p.appendChild(w)}}var S,_=Object(s["a"])(h);try{for(_.s();!(S=_.n()).done;){var A=S.value;if(A&&!isNaN(A.x)){var D=document.createElementNS("http://www.w3.org/2000/svg","text");if(D.setAttribute("x",A.x),D.setAttribute("y",A.y),D.innerHTML=A.text,o){var I=Object(r["k"])(o);D.setAttribute("transform","matrix(".concat(I[0]," ").concat(I[1]," ").concat(I[2]," ").concat(I[3]," ").concat(Object(r["f"])(I[4])," ").concat(Object(r["f"])(I[5]),")"))}c&&D.setAttribute("transform","matrix(".concat(c,", 0, 0, 1, ").concat((1-c)*A.x,", 0)")),g?D.setAttribute("fill",n):(D.setAttribute("fill",a),D.setAttribute("fill",n),D.setAttribute("fill-opacity",i)),D.setAttribute("style","font-weight: ".concat(b,";font-size:").concat(d,"px;font-family: ").concat(Object(r["h"])(e[l]),";")),p.appendChild(D)}}}catch(R){_.e(R)}finally{_.f()}var C=u.w,B=u.h,P=u.x,F=u.y;return p.setAttribute("style","overflow:visible;position:absolute;width:".concat(C,"px;height:").concat(B,"px;left:").concat(P,"px;top:").concat(F,"px;z-index:").concat(t["@_ID"])),p},p=function(e,t,n,a,i,u,o,c,l){var b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("version","1.1");var d=Object(r["l"])(t["@_Boundary"]);if(!d)return b;d=Object(r["e"])(d);var f=t["@_LineWidth"],h=t["ofd:AbbreviatedData"],p=Object(r["b"])(Object(r["d"])(h)),v=t["@_CTM"],g=document.createElementNS("http://www.w3.org/2000/svg","path");f&&(i=Object(r["f"])(f));var m=t["@_DrawParam"];if(m&&(f=e[m].LineWidth,f&&(i=Object(r["f"])(f))),v){var y=Object(r["k"])(v);g.setAttribute("transform","matrix(".concat(y[0]," ").concat(y[1]," ").concat(y[2]," ").concat(y[3]," ").concat(Object(r["f"])(y[4])," ").concat(Object(r["f"])(y[5]),")"))}var w=t["ofd:StrokeColor"];if(w){w["@_Value"]&&(a=Object(r["j"])(w["@_Value"]));var x=w["ofd:AxialShd"];if(x){!0;var O=document.createElement("linearGradient");O.setAttribute("id","".concat(t["@_ID"])),O.setAttribute("x1","0%"),O.setAttribute("y1","0%"),O.setAttribute("x2","100%"),O.setAttribute("y2","100%");var j,k=Object(s["a"])(x["ofd:Segment"]);try{for(k.s();!(j=k.n()).done;){var S=j.value;if(S){var _=document.createElement("stop");_.setAttribute("offset","".concat(100*S["@_Position"],"%")),_.setAttribute("style","stop-color:".concat(Object(r["j"])(S["ofd:Color"]["@_Value"]),";stop-opacity:1")),O.appendChild(_),a=Object(r["j"])(S["ofd:Color"]["@_Value"])}}}catch(Q){k.e(Q)}finally{k.f()}b.appendChild(O)}}var A=t["ofd:FillColor"];if(A){A["@_Value"]&&(n=Object(r["j"])(A["@_Value"]));var D=A["ofd:AxialShd"];if(D){!0;var I=document.createElement("linearGradient");I.setAttribute("id","".concat(t["@_ID"])),I.setAttribute("x1","0%"),I.setAttribute("y1","0%"),I.setAttribute("x2","100%"),I.setAttribute("y2","100%");var C,B=Object(s["a"])(D["ofd:Segment"]);try{for(B.s();!(C=B.n()).done;){var P=C.value;if(P){var F=document.createElement("stop");F.setAttribute("offset","".concat(100*P["@_Position"],"%")),F.setAttribute("style","stop-color:".concat(Object(r["j"])(P["ofd:Color"]["@_Value"]),";stop-opacity:1")),I.appendChild(F),n=Object(r["j"])(P["ofd:Color"]["@_Value"])}}}catch(Q){B.e(Q)}finally{B.f()}b.appendChild(I)}}if(i>0&&!a&&(a=n,a||(a="rgb(0, 0, 0)")),o&&g.setAttribute("fill-opacity","".concat(o/255)),"false"!=t["@_Stroke"]&&(g.setAttribute("stroke","".concat(a)),g.setAttribute("stroke-width","".concat(i,"px"))),"false"!=t["@_Fill"]&&g.setAttribute("fill","".concat(u?"none":n||"none")),t["@_Join"]&&g.setAttribute("stroke-linejoin","".concat(t["@_Join"])),t["@_Cap"]&&g.setAttribute("stroke-linecap","".concat(t["@_Cap"])),t["@_DashPattern"]){var R=t["@_DashPattern"],T=Object(r["k"])(R),L=0;t["@_DashOffset"]&&(L=t["@_DashOffset"]),g.setAttribute("stroke-dasharray","".concat(Object(r["f"])(T[0]),",").concat(Object(r["f"])(T[1]))),g.setAttribute("stroke-dashoffset","".concat(Object(r["f"])(L),"px"))}var E,M="",N=Object(s["a"])(p);try{for(N.s();!(E=N.n()).done;){var q=E.value;"M"===q.type?M+="M".concat(q.x," ").concat(q.y," "):"L"===q.type?M+="L".concat(q.x," ").concat(q.y," "):"B"===q.type?M+="C".concat(q.x1," ").concat(q.y1," ").concat(q.x2," ").concat(q.y2," ").concat(q.x3," ").concat(q.y3," "):"Q"===q.type?M+="Q".concat(q.x1," ").concat(q.y1," ").concat(q.x2," ").concat(q.y2," "):"A"===q.type?M+="A".concat(q.rx,",").concat(q.ry," ").concat(q.rotation," ").concat(q.arc,",").concat(q.sweep," ").concat(q.x,",").concat(q.y):"C"===q.type&&(M+="Z")}}catch(Q){N.e(Q)}finally{N.f()}g.setAttribute("d",M),b.appendChild(g);var V=u?d.w:Math.ceil(d.w),H=u?d.h:Math.ceil(d.h),W=d.x,U=d.y;if(b.setAttribute("style","overflow:visible;position:absolute;width:".concat(V,"px;height:").concat(H,"px;left:").concat(W,"px;top:").concat(U,"px;z-index:").concat(t["@_ID"])),c){var G=document.createElementNS("http://www.w3.org/2000/svg","svg");G.setAttribute("version","1.1");var z=Object(r["l"])(c);z=Object(r["e"])(z);var J=Math.ceil(z.w),X=Math.ceil(z.h),K=z.x,Y=z.y;if(G.setAttribute("style","overflow:hidden;position:absolute;width:".concat(J,"px;height:").concat(X,"px;left:").concat(K,"px;top:").concat(Y,"px;z-index:").concat(t["@_ID"])),l){var $=Object(r["k"])(l);b.setAttribute("transform","matrix(".concat($[0]," ").concat($[1]," ").concat($[2]," ").concat($[3]," ").concat(Object(r["f"])($[4])," ").concat(Object(r["f"])($[5]),")"))}return G.appendChild(b),G}return b}},"7f3b":function(e,t,n){"use strict";(function(e){n("6c57"),n("d3b7"),n("25f0"),n("2ca0"),n("8a79"),n("2532"),n("caad"),n("a630"),n("3ca3"),n("c1f9"),n("90d7"),n("9129"),n("a9e3"),n("8ba4"),n("5cc6"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("2b3d"),n("ddb0"),n("4ec9"),n("6062"),n("10d1"),n("1fe2"),n("f5b2"),n("f6d6"),n("a4d3"),n("e01a"),n("4d90"),n("843c"),n("07ac"),n("4fad");var t=n("d00a");"undefined"!==typeof PDFJSDev&&PDFJSDev.test("SKIP_BABEL")||"undefined"!==typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!==typeof globalThis&&globalThis.Math===Math||(globalThis=n("eb73")),globalThis._pdfjsCompatibilityChecked=!0,function(){!globalThis.btoa&&t["a"]&&(globalThis.btoa=function(t){return e.from(t,"binary").toString("base64")})}(),function(){!globalThis.atob&&t["a"]&&(globalThis.atob=function(t){return e.from(t,"base64").toString("binary")})}(),function(){String.prototype.startsWith||n("d2a2")}(),function(){String.prototype.endsWith||n("8f4c")}(),function(){String.prototype.includes||n("4661")}(),function(){Array.prototype.includes||n("bf2c")}(),function(){Array.from||n("6b84")}(),function(){Object.assign||n("2418")}(),function(){Object.fromEntries||n("8ac5")}(),function(){Math.log2||(Math.log2=n("dc57"))}(),function(){Number.isNaN||(Number.isNaN=n("9020"))}(),function(){Number.isInteger||(Number.isInteger=n("f2e6"))}(),function(){Uint8Array.prototype.slice||n("8f2a")}(),function(){"undefined"!==typeof PDFJSDev&&PDFJSDev.test("IMAGE_DECODERS")||globalThis.Promise.allSettled||(globalThis.Promise=n("3980"))}(),function(){"undefined"!==typeof PDFJSDev&&PDFJSDev.test("PRODUCTION")&&PDFJSDev.test("GENERIC")&&(PDFJSDev.test("IMAGE_DECODERS")||(globalThis.URL=n("14d8")))}(),function(){if("undefined"===typeof PDFJSDev||!PDFJSDev.test("IMAGE_DECODERS")){var e=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(t){}e||(globalThis.ReadableStream=n("87c2").ReadableStream)}}(),function(){globalThis.Map&&globalThis.Map.prototype.entries||(globalThis.Map=n("5eff"))}(),function(){globalThis.Set&&globalThis.Set.prototype.entries||(globalThis.Set=n("9a35"))}(),function(){globalThis.WeakMap||(globalThis.WeakMap=n("ad63"))}(),function(){globalThis.WeakSet||(globalThis.WeakSet=n("ee42"))}(),function(){String.prototype.codePointAt||n("d627")}(),function(){String.fromCodePoint||(String.fromCodePoint=n("1cd7"))}(),function(){globalThis.Symbol||n("1f4a")}(),function(){String.prototype.padStart||n("1920")}(),function(){String.prototype.padEnd||n("476b")}(),function(){Object.values||(Object.values=n("4e28"))}(),function(){Object.entries||(Object.entries=n("a960"))}())}).call(this,n("b639").Buffer)},"81a2":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return g})),n.d(t,"a",(function(){return m}));var s=n("b85c"),r=n("1da1"),a=(n("96cf"),n("d3b7"),n("c19f"),n("b64b"),n("99af"),n("7efc")),i=n("3662"),u=n("67d3"),o=(n("a9c6"),n("6b33")),c={};function l(){try{return new window.XMLHttpRequest}catch(e){}}function b(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}c._getBinaryFromXHR=function(e){return e.response||e.responseText};var d="undefined"!==typeof window&&window.ActiveXObject?function(){return l()||b()}:l;c.getBinaryContent=function(e,t){var n,s,r,a;console.log("getBinaryContent"),t||(t={}),"function"===typeof t?(a=t,t={}):"function"===typeof t.callback&&(a=t.callback),a||"undefined"===typeof Promise?(s=function(e){a(null,e)},r=function(e){a(e,null)}):n=new Promise((function(e,t){s=e,r=t}));try{var i=d();i.open("GET",e,!0),"responseType"in i&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.onreadystatechange=function(t){if(4===i.readyState)if(200===i.status||0===i.status)try{s(c._getBinaryFromXHR(i))}catch(n){r(new Error(n))}else r(new Error("Ajax error for "+e+" : "+this.status+" "+this.statusText))},t.progress&&(i.onprogress=function(n){t.progress({path:e,originalEvent:n,percent:n.loaded/n.total*100,loaded:n.loaded,total:n.total})}),i.withCredentials=!0,i.send()}catch(u){r(new Error(u),null)}return n};var f=function(e){e.ofd instanceof File||e.ofd instanceof ArrayBuffer?h(e):c.getBinaryContent(e.ofd,(function(t,n){t?e.fail&&e.fail(t):(e.ofd=n,h(e))}))},h=function(t){e.xmlParseFlag=0,i["a"].call(this,Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["c"])(t.ofd);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),u["a"],u["b"]).then((function(e){t.success&&t.success(e)})).catch((function(e){console.log(e),t.fail&&t.fail(e)}))},p=function(e,t){var n=[];if(!t)return n;var r,i=Object(s["a"])(t.pages);try{for(i.s();!(r=i.n()).done;){var u=r.value,o=Object(a["a"])(e,t.document,u),c=Object.keys(u)[0],l=document.createElement("div");l.id=c,l.setAttribute("style","margin-bottom: 20px;position: relative;width:".concat(o.w,"px;height:").concat(o.h,"px;background: white;")),Object(a["c"])(l,u,t.tpls,t.fontResObj,t.drawParamResObj,t.multiMediaResObj,t.compositeGraphicUnits),n.push(l)}}catch(b){i.e(b)}finally{i.f()}return n},v=function(e){var t=[];if(!e)return t;var n,r=Object(s["a"])(e.pages);try{for(r.s();!(n=r.n()).done;){var i=n.value,u=Object(a["b"])(e.document,i),o=Object.keys(i)[0],c=document.createElement("div");c.id=o,c.setAttribute("style","overflow: hidden;margin-bottom: 20px;position: relative;width:".concat(u.w,"px;height:").concat(u.h,"px;background: white;")),Object(a["c"])(c,i,e.tpls,e.fontResObj,e.drawParamResObj,e.multiMediaResObj,e.compositeGraphicUnits),t.push(c)}}catch(l){r.e(l)}finally{r.f()}return t},g=function(e){Object(o["o"])(e)},m=function(){return Object(o["i"])()}}).call(this,n("c8ba"))},"85ec":function(e,t,n){},a9c6:function(e,t,n){"use strict";n.d(t,"b",(function(){return q})),n.d(t,"a",(function(){return V}));var s=n("b85c"),r=n("1da1"),a=(n("96cf"),n("d3b7"),n("5319"),n("ac1f"),n("4c53"),n("159b"),n("4ec9"),n("3ca3"),n("ddb0"),n("1276"),n("6f9c")),i=n.n(a),u=n("64c1"),o=n.n(u),c=n("a476"),l=n.n(c),b=n("8060");n("a15b"),n("25f0"),n("f5b2"),n("13d5"),n("99af");function d(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function f(e){for(var t=8,n="",s=0;s<e.length/t;s++)n+=d(parseInt(e.substr(s*t,t),2).toString(16),2);return n}function h(e){for(var t=2,n="",s=0;s<e.length/t;s++)n+=d(parseInt(e.substr(s*t,t),16).toString(2),8);return n}function p(e,t){return e.substring(t%e.length)+e.substr(0,t%e.length)}function v(e,t,n){for(var s,r=e||"",a=t||"",i=[],u=r.length-1;u>=0;u--)s=n(r[u],a[u],s),i[u]=s[0];return i.join("")}function g(e,t){return v(e,t,(function(e,t){return[e===t?"0":"1"]}))}function m(e,t){return v(e,t,(function(e,t){return["1"===e&&"1"===t?"1":"0"]}))}function y(e,t){return v(e,t,(function(e,t){return["1"===e||"1"===t?"1":"0"]}))}function w(e,t){var n=v(e,t,(function(e,t,n){var s=n?n[1]:"0";return e!==t?["0"===s?"1":"0",s]:[s,e]}));return n}function x(e){return v(e,void 0,(function(e){return["1"===e?"0":"1"]}))}function O(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return n.reduce((function(t,n){return e(t,n)}))}}function j(e){return O(g)(e,p(e,9),p(e,17))}function k(e){return O(g)(e,p(e,15),p(e,23))}function S(e,t,n,s){return s>=0&&s<=15?O(g)(e,t,n):O(y)(m(e,t),m(e,n),m(t,n))}function _(e,t,n,s){return s>=0&&s<=15?O(g)(e,t,n):y(m(e,t),m(x(e),n))}function A(e){return h(e>=0&&e<=15?"79cc4519":"7a879d8a")}function D(e,t){for(var n=32,s=[],r=[],a=0;a<16;a++)s.push(t.substr(a*n,n));for(var i=16;i<68;i++)s.push(O(g)(k(O(g)(s[i-16],s[i-9],p(s[i-3],15))),p(s[i-13],7),s[i-6]));for(var u=0;u<64;u++)r.push(g(s[u],s[u+4]));for(var o=[],c=0;c<8;c++)o.push(e.substr(c*n,n));for(var l,b,d,f,h=o[0],v=o[1],m=o[2],y=o[3],x=o[4],D=o[5],I=o[6],C=o[7],B=0;B<64;B++)l=p(O(w)(p(h,12),x,p(A(B),B)),7),b=g(l,p(h,12)),d=O(w)(S(h,v,m,B),y,b,r[B]),f=O(w)(_(x,D,I,B),C,l,s[B]),y=m,m=p(v,9),v=h,h=d,C=I,I=p(D,19),D=x,x=j(f);return g([h,v,m,y,x,D,I,C].join(""),e)}function I(e){var t=h(e),n=t.length,s=n%512;s=s>=448?512-s%448-1:448-s-1;for(var r="".concat(t,"1").concat(d("",s)).concat(d(n.toString(2),64)).toString(),a=(n+s+65)/512,i=h("7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e"),u=0;u<=a-1;u++){var o=r.substr(512*u,512);i=D(i,o)}return f(i)}var C=n("8237"),B=n.n(C),P=n("6199"),F=n.n(P),R=n("81fa"),T=n.n(R),L=n("6b33"),E=function(e,t,n){var s=Object(L["a"])(o.a.decode(t));return n=n.toLowerCase(),n.indexOf("1.2.156.10197.1.401")>=0||n.indexOf("sm3")>=0?s==I(Object(L["a"])(e)):n.indexOf("md5")>=0?s==B()(e):n.indexOf("sha1")>=0?s==F()(e):""},M=function(e){try{var t=e.realVersion<4?e.toSign.signatureAlgorithm:e.signatureAlgID;t=t.toLowerCase();var n=e.toSignDer;if(t.indexOf("1.2.156.10197.1.501")>=0||t.indexOf("sm2")>=0){var s=e.signature.replace(/ /g,"").replace(/\n/g,"");0==s.indexOf("00")&&(s=s.substr(2,s.length-2));var r=e.realVersion<4?e.toSign.cert:e.cert,a=r.subjectPublicKeyInfo.subjectPublicKey.replace(/ /g,"").replace(/\n/g,"");return 0==a.indexOf("00")&&(a=a.substr(2,a.length-2)),b["sm2"].doVerifySignature(n,s,a,{der:!0,hash:!0,userId:"1234567812345678"})}var i=new T.a.KJUR.crypto.Signature({alg:"SHA1withRSA"}),u=e.realVersion<4?e.toSign.cert:e.cert,o=e.signature.replace(/ /g,"").replace(/\n/g,"");return 0==o.indexOf("00")&&(o=o.substr(2,o.length-2)),i.init(u),i.updateHex(n),i.verify(o)}catch(c){return console.log(c),!1}},N=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,q=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,s){t.files[n].async("base64").then((function(t){var n=H(t);e(n)}),(function(e){s(e)}))})));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),V=function(e){var t,n=!0,r=Object(s["a"])(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,i=E(a.fileData,a.hashed,a.checkMethod);n=n&&i}}catch(u){r.e(u)}finally{r.f()}return n},H=function(e){try{var t=N.test(e)?i.a.decode(e):o.a.unarmor(e);return W(t)}catch(n){return console.log(n),{}}},W=function(e,t){t=t||0;try{var n=G(e,t),s=n.toSign.eseal.esealInfo.picture.type,r=n.toSign.eseal.esealInfo.picture.data.byte;return{ofdArray:r,type:s.toLowerCase(),SES_Signature:n,verifyRet:M(n)}}catch(a){return console.log(a),{}}},U=function(e){e=e.replace("Unrecognized time: ","");e.indexOf("Z");return e=e.replace("Z",""),e=e.substr(0,1)<"5"?"20"+e:"19"+e,e},G=function(e,t){t=t||0;var n,s=l.a.decode(e,t);try{var r,a,i,u,o,c,b,d,f,h,p,v,g,m,y,w,x,O,j,k,S,_,A,D,I,C,B,P,F,R,T,L,E,M,N,q,V,H,W,G,X,K,Y,$,Q,Z,ee,te,ne,se,re,ae,ie,ue,oe,ce,le,be,de,fe,he,pe,ve,ge,me,ye,we,xe,Oe,je,ke,Se,_e,Ae,De,Ie,Ce,Be,Pe,Fe,Re,Te,Le,Ee,Me,Ne,qe,Ve,He,We,Ue,Ge,ze,Je,Xe,Ke,Ye,$e,Qe,Ze,et=U(null===(r=s.sub[0])||void 0===r||null===(a=r.sub[1])||void 0===a||null===(i=a.sub[0])||void 0===i||null===(u=i.sub[2])||void 0===u||null===(o=u.sub[3])||void 0===o?void 0:o.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[3].header,s.sub[0].sub[1].sub[0].sub[2].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[3].header+s.sub[0].sub[1].sub[0].sub[2].sub[3].length)),tt=U(null===(c=s.sub[0])||void 0===c||null===(b=c.sub[1])||void 0===b||null===(d=b.sub[0])||void 0===d||null===(f=d.sub[2])||void 0===f||null===(h=f.sub[4])||void 0===h?void 0:h.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header,s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header+s.sub[0].sub[1].sub[0].sub[2].sub[4].length)),nt=U(null===(p=s.sub[0])||void 0===p||null===(v=p.sub[1])||void 0===v||null===(g=v.sub[0])||void 0===g||null===(m=g.sub[2])||void 0===m||null===(y=m.sub[5])||void 0===y?void 0:y.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header,s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header+s.sub[0].sub[1].sub[0].sub[2].sub[5].length)),st=U(null===(w=s.sub[0])||void 0===w||null===(x=w.sub[2])||void 0===x?void 0:x.stream.parseTime(s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header,s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header+s.sub[0].sub[2].length,!1)),rt=null===(O=s.sub[0])||void 0===O||null===(j=O.sub[1])||void 0===j||null===(k=j.sub[0])||void 0===k||null===(S=k.sub[2])||void 0===S?void 0:S.sub[2],at=new Array;rt&&rt.sub.forEach((function(e){at.push(e.stream.parseOctetString(e.stream.pos+e.header,e.stream.pos+e.header+e.length))}));var it=null===(_=s.sub[0])||void 0===_||null===(A=_.sub[1])||void 0===A||null===(D=A.sub[0])||void 0===D?void 0:D.sub[4],ut=new Array;it&&it.sub.forEach((function(e){var t,n,s;ut.push({extnID:null===(t=e.sub[0])||void 0===t?void 0:t.stream.parseOID(e.sub[0].stream.pos+e.sub[0].header,e.sub[0].stream.pos+e.sub[0].header+e.sub[0].length),critical:null===(n=e.sub[1])||void 0===n?void 0:n.stream.parseInteger(e.sub[1].stream.pos+e.sub[1].header,e.sub[1].stream.pos+e.sub[1].header+e.sub[1].length),extnValue:null===(s=e.sub[2])||void 0===s?void 0:s.stream.parseOctetString(e.sub[2].stream.pos+e.sub[2].header,e.sub[2].stream.pos+e.sub[2].header+e.sub[2].length)})})),n={realVersion:1,toSignDer:null===(I=s.sub[0])||void 0===I?void 0:I.stream.enc.subarray(s.sub[0].stream.pos,s.sub[0].stream.pos+s.sub[0].header+s.sub[0].length),toSign:{version:null===(C=s.sub[0])||void 0===C||null===(B=C.sub[0])||void 0===B?void 0:B.stream.parseInteger(s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header,s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header+s.sub[0].sub[0].length),eseal:{esealInfo:{header:{ID:null===(P=s.sub[0])||void 0===P||null===(F=P.sub[1])||void 0===F||null===(R=F.sub[0])||void 0===R||null===(T=R.sub[0])||void 0===T||null===(L=T.sub[0])||void 0===L?void 0:L.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header,s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header+s.sub[0].sub[1].sub[0].sub[0].sub[0].length),version:null===(E=s.sub[0])||void 0===E||null===(M=E.sub[1])||void 0===M||null===(N=M.sub[0])||void 0===N||null===(q=N.sub[0])||void 0===q||null===(V=q.sub[1])||void 0===V?void 0:V.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[0].sub[1].length),Vid:null===(H=s.sub[0])||void 0===H||null===(W=H.sub[1])||void 0===W||null===(G=W.sub[0])||void 0===G||null===(X=G.sub[0])||void 0===X||null===(K=X.sub[2])||void 0===K?void 0:K.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header,s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header+s.sub[0].sub[1].sub[0].sub[0].sub[2].length)},esID:null===(Y=s.sub[0])||void 0===Y||null===($=Y.sub[1])||void 0===$||null===(Q=$.sub[0])||void 0===Q||null===(Z=Q.sub[1])||void 0===Z?void 0:Z.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[1].length),property:{type:null===(ee=s.sub[0])||void 0===ee||null===(te=ee.sub[1])||void 0===te||null===(ne=te.sub[0])||void 0===ne||null===(se=ne.sub[2])||void 0===se||null===(re=se.sub[0])||void 0===re?void 0:re.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header,s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header+s.sub[0].sub[1].sub[0].sub[2].sub[0].length),name:null===(ae=s.sub[0])||void 0===ae||null===(ie=ae.sub[1])||void 0===ie||null===(ue=ie.sub[0])||void 0===ue||null===(oe=ue.sub[2])||void 0===oe||null===(ce=oe.sub[1])||void 0===ce?void 0:ce.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header,s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header+s.sub[0].sub[1].sub[0].sub[2].sub[1].length),certList:at,createDate:et,validStart:tt,validEnd:nt},picture:{type:null===(le=s.sub[0])||void 0===le||null===(be=le.sub[1])||void 0===be||null===(de=be.sub[0])||void 0===de||null===(fe=de.sub[3])||void 0===fe||null===(he=fe.sub[0])||void 0===he?void 0:he.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header,s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header+s.sub[0].sub[1].sub[0].sub[3].sub[0].length),data:{hex:null===(pe=s.sub[0])||void 0===pe||null===(ve=pe.sub[1])||void 0===ve||null===(ge=ve.sub[0])||void 0===ge||null===(me=ge.sub[3])||void 0===me||null===(ye=me.sub[1])||void 0===ye?void 0:ye.stream.parseOctetString(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length),byte:null===(we=s.sub[0])||void 0===we||null===(xe=we.sub[1])||void 0===xe||null===(Oe=xe.sub[0])||void 0===Oe||null===(je=Oe.sub[3])||void 0===je||null===(ke=je.sub[1])||void 0===ke?void 0:ke.stream.enc.subarray(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length)},width:null===(Se=s.sub[0])||void 0===Se||null===(_e=Se.sub[1])||void 0===_e||null===(Ae=_e.sub[0])||void 0===Ae||null===(De=Ae.sub[3])||void 0===De||null===(Ie=De.sub[2])||void 0===Ie?void 0:Ie.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header,s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header+s.sub[0].sub[1].sub[0].sub[3].sub[2].length),height:null===(Ce=s.sub[0])||void 0===Ce||null===(Be=Ce.sub[1])||void 0===Be||null===(Pe=Be.sub[0])||void 0===Pe||null===(Fe=Pe.sub[3])||void 0===Fe||null===(Re=Fe.sub[3])||void 0===Re?void 0:Re.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header,s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header+s.sub[0].sub[1].sub[0].sub[3].sub[3].length)},extDatas:ut},signInfo:{cert:z(null===(Te=s.sub[0])||void 0===Te||null===(Le=Te.sub[1])||void 0===Le||null===(Ee=Le.sub[1])||void 0===Ee?void 0:Ee.sub[0]),signatureAlgorithm:null===(Me=s.sub[0])||void 0===Me||null===(Ne=Me.sub[1])||void 0===Ne||null===(qe=Ne.sub[1])||void 0===qe||null===(Ve=qe.sub[1])||void 0===Ve?void 0:Ve.stream.parseOID(s.sub[0].sub[1].sub[1].sub[1].stream.pos+s.sub[0].sub[1].sub[1].sub[1].header,s.sub[0].sub[1].sub[1].sub[1].stream.pos+s.sub[0].sub[1].sub[1].sub[1].header+s.sub[0].sub[1].sub[1].sub[1].length),signData:null===(He=s.sub[0])||void 0===He||null===(We=He.sub[1])||void 0===We||null===(Ue=We.sub[1])||void 0===Ue||null===(Ge=Ue.sub[2])||void 0===Ge?void 0:Ge.stream.hexDump(s.sub[0].sub[1].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[1].sub[2].header,s.sub[0].sub[1].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[1].sub[2].header+s.sub[0].sub[1].sub[1].sub[2].length,!1)}},timeInfo:st,dataHash:null===(ze=s.sub[0])||void 0===ze||null===(Je=ze.sub[3])||void 0===Je?void 0:Je.stream.hexDump(s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header,s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header+s.sub[0].sub[3].length,!1),propertyInfo:null===(Xe=s.sub[0])||void 0===Xe||null===(Ke=Xe.sub[4])||void 0===Ke?void 0:Ke.stream.parseStringUTF(s.sub[0].sub[4].stream.pos+s.sub[0].sub[4].header,s.sub[0].sub[4].stream.pos+s.sub[0].sub[4].header+s.sub[0].sub[4].length),cert:z(null===(Ye=s.sub[0])||void 0===Ye?void 0:Ye.sub[5]),signatureAlgorithm:null===($e=s.sub[0])||void 0===$e||null===(Qe=$e.sub[6])||void 0===Qe?void 0:Qe.stream.parseOID(s.sub[0].sub[6].stream.pos+s.sub[0].sub[6].header,s.sub[0].sub[6].stream.pos+s.sub[0].sub[6].header+s.sub[0].sub[6].length)},signature:null===(Ze=s.sub[1])||void 0===Ze?void 0:Ze.stream.hexDump(s.sub[1].stream.pos+s.sub[1].header,s.sub[1].stream.pos+s.sub[1].header+s.sub[1].length,!1)}}catch(as){try{var ot,ct,lt,bt,dt,ft,ht,pt,vt,gt,mt,yt,wt,xt,Ot,jt,kt,St,_t,At,Dt,It,Ct,Bt,Pt,Ft,Rt,Tt,Lt,Et,Mt,Nt,qt,Vt,Ht,Wt,Ut,Gt,zt,Jt,Xt,Kt,Yt,$t,Qt,Zt,en,tn,nn,sn,rn,an,un,on,cn,ln,bn,dn,fn,hn,pn,vn,gn,mn,yn,wn,xn,On,jn,kn,Sn,_n,An,Dn,In,Cn,Bn,Pn,Fn,Rn,Tn,Ln,En,Mn,Nn,qn,Vn,Hn,Wn,Un,Gn,zn,Jn,Xn,Kn,Yn,$n,Qn,Zn,es=null===(ot=s.sub[0])||void 0===ot||null===(ct=ot.sub[1])||void 0===ct||null===(lt=ct.sub[0])||void 0===lt||null===(bt=lt.sub[2])||void 0===bt||null===(dt=bt.sub[2])||void 0===dt?void 0:dt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[2].header,s.sub[0].sub[1].sub[0].sub[2].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[2].header+s.sub[0].sub[1].sub[0].sub[2].sub[2].length),ts=null===(ft=s.sub[0])||void 0===ft||null===(ht=ft.sub[1])||void 0===ht||null===(pt=ht.sub[0])||void 0===pt||null===(vt=pt.sub[2])||void 0===vt?void 0:vt.sub[3],ns=new Array;ts&&ts.sub.forEach((function(e){ns.push(e.stream.parseOctetString(e.stream.pos+e.header,e.stream.pos+e.header+e.length))}));var ss=null===(gt=s.sub[0])||void 0===gt||null===(mt=gt.sub[1])||void 0===mt||null===(yt=mt.sub[0])||void 0===yt?void 0:yt.sub[4],rs=new Array;ss&&ss.sub.forEach((function(e){var t,n,s;rs.push({extnID:null===(t=e.sub[0])||void 0===t?void 0:t.stream.parseOID(e.sub[0].stream.pos+e.sub[0].header,e.sub[0].stream.pos+e.sub[0].header+e.sub[0].length),critical:null===(n=e.sub[1])||void 0===n?void 0:n.stream.parseInteger(e.sub[1].stream.pos+e.sub[1].header,e.sub[1].stream.pos+e.sub[1].header+e.sub[1].length),extnValue:null===(s=e.sub[2])||void 0===s?void 0:s.stream.parseOctetString(e.sub[2].stream.pos+e.sub[2].header,e.sub[2].stream.pos+e.sub[2].header+e.sub[2].length)})})),n={realVersion:4,toSignDer:null===(wt=s.sub[0])||void 0===wt?void 0:wt.stream.enc.subarray(s.sub[0].stream.pos,s.sub[0].stream.pos+s.sub[0].header+s.sub[0].length),toSign:{version:null===(xt=s.sub[0])||void 0===xt||null===(Ot=xt.sub[0])||void 0===Ot?void 0:Ot.stream.parseInteger(s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header,s.sub[0].sub[0].stream.pos+s.sub[0].sub[0].header+s.sub[0].sub[0].length),eseal:{esealInfo:{header:{ID:null===(jt=s.sub[0])||void 0===jt||null===(kt=jt.sub[1])||void 0===kt||null===(St=kt.sub[0])||void 0===St||null===(_t=St.sub[0])||void 0===_t||null===(At=_t.sub[0])||void 0===At?void 0:At.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header,s.sub[0].sub[1].sub[0].sub[0].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[0].header+s.sub[0].sub[1].sub[0].sub[0].sub[0].length),version:null===(Dt=s.sub[0])||void 0===Dt||null===(It=Dt.sub[1])||void 0===It||null===(Ct=It.sub[0])||void 0===Ct||null===(Bt=Ct.sub[0])||void 0===Bt||null===(Pt=Bt.sub[1])||void 0===Pt?void 0:Pt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[0].sub[1].length),Vid:null===(Ft=s.sub[0])||void 0===Ft||null===(Rt=Ft.sub[1])||void 0===Rt||null===(Tt=Rt.sub[0])||void 0===Tt||null===(Lt=Tt.sub[0])||void 0===Lt||null===(Et=Lt.sub[2])||void 0===Et?void 0:Et.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header,s.sub[0].sub[1].sub[0].sub[0].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[0].sub[2].header+s.sub[0].sub[1].sub[0].sub[0].sub[2].length)},esID:null===(Mt=s.sub[0])||void 0===Mt||null===(Nt=Mt.sub[1])||void 0===Nt||null===(qt=Nt.sub[0])||void 0===qt||null===(Vt=qt.sub[1])||void 0===Vt?void 0:Vt.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header,s.sub[0].sub[1].sub[0].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[1].header+s.sub[0].sub[1].sub[0].sub[1].length),property:{type:null===(Ht=s.sub[0])||void 0===Ht||null===(Wt=Ht.sub[1])||void 0===Wt||null===(Ut=Wt.sub[0])||void 0===Ut||null===(Gt=Ut.sub[2])||void 0===Gt||null===(zt=Gt.sub[0])||void 0===zt?void 0:zt.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header,s.sub[0].sub[1].sub[0].sub[2].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[0].header+s.sub[0].sub[1].sub[0].sub[2].sub[0].length),name:null===(Jt=s.sub[0])||void 0===Jt||null===(Xt=Jt.sub[1])||void 0===Xt||null===(Kt=Xt.sub[0])||void 0===Kt||null===(Yt=Kt.sub[2])||void 0===Yt||null===($t=Yt.sub[1])||void 0===$t?void 0:$t.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header,s.sub[0].sub[1].sub[0].sub[2].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[1].header+s.sub[0].sub[1].sub[0].sub[2].sub[1].length),certListType:es,certList:ns,createDate:null===(Qt=s.sub[0])||void 0===Qt||null===(Zt=Qt.sub[1])||void 0===Zt||null===(en=Zt.sub[0])||void 0===en||null===(tn=en.sub[2])||void 0===tn||null===(nn=tn.sub[4])||void 0===nn?void 0:nn.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header,s.sub[0].sub[1].sub[0].sub[2].sub[4].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[4].header+s.sub[0].sub[1].sub[0].sub[2].sub[4].length),validStart:null===(sn=s.sub[0])||void 0===sn||null===(rn=sn.sub[1])||void 0===rn||null===(an=rn.sub[0])||void 0===an||null===(un=an.sub[2])||void 0===un||null===(on=un.sub[5])||void 0===on?void 0:on.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header,s.sub[0].sub[1].sub[0].sub[2].sub[5].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[5].header+s.sub[0].sub[1].sub[0].sub[2].sub[5].length),validEnd:null===(cn=s.sub[0])||void 0===cn||null===(ln=cn.sub[1])||void 0===ln||null===(bn=ln.sub[0])||void 0===bn||null===(dn=bn.sub[2])||void 0===dn||null===(fn=dn.sub[6])||void 0===fn?void 0:fn.stream.parseTime(s.sub[0].sub[1].sub[0].sub[2].sub[6].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[6].header,s.sub[0].sub[1].sub[0].sub[2].sub[6].stream.pos+s.sub[0].sub[1].sub[0].sub[2].sub[6].header+s.sub[0].sub[1].sub[0].sub[2].sub[6].length)},picture:{type:null===(hn=s.sub[0])||void 0===hn||null===(pn=hn.sub[1])||void 0===pn||null===(vn=pn.sub[0])||void 0===vn||null===(gn=vn.sub[3])||void 0===gn||null===(mn=gn.sub[0])||void 0===mn?void 0:mn.stream.parseStringUTF(s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header,s.sub[0].sub[1].sub[0].sub[3].sub[0].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[0].header+s.sub[0].sub[1].sub[0].sub[3].sub[0].length),data:{hex:null===(yn=s.sub[0])||void 0===yn||null===(wn=yn.sub[1])||void 0===wn||null===(xn=wn.sub[0])||void 0===xn||null===(On=xn.sub[3])||void 0===On||null===(jn=On.sub[1])||void 0===jn?void 0:jn.stream.parseOctetString(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length),byte:null===(kn=s.sub[0])||void 0===kn||null===(Sn=kn.sub[1])||void 0===Sn||null===(_n=Sn.sub[0])||void 0===_n||null===(An=_n.sub[3])||void 0===An||null===(Dn=An.sub[1])||void 0===Dn?void 0:Dn.stream.enc.subarray(s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header,s.sub[0].sub[1].sub[0].sub[3].sub[1].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[1].header+s.sub[0].sub[1].sub[0].sub[3].sub[1].length)},width:null===(In=s.sub[0])||void 0===In||null===(Cn=In.sub[1])||void 0===Cn||null===(Bn=Cn.sub[0])||void 0===Bn||null===(Pn=Bn.sub[3])||void 0===Pn||null===(Fn=Pn.sub[2])||void 0===Fn?void 0:Fn.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header,s.sub[0].sub[1].sub[0].sub[3].sub[2].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[2].header+s.sub[0].sub[1].sub[0].sub[3].sub[2].length),height:null===(Rn=s.sub[0])||void 0===Rn||null===(Tn=Rn.sub[1])||void 0===Tn||null===(Ln=Tn.sub[0])||void 0===Ln||null===(En=Ln.sub[3])||void 0===En||null===(Mn=En.sub[3])||void 0===Mn?void 0:Mn.stream.parseInteger(s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header,s.sub[0].sub[1].sub[0].sub[3].sub[3].stream.pos+s.sub[0].sub[1].sub[0].sub[3].sub[3].header+s.sub[0].sub[1].sub[0].sub[3].sub[3].length)},extDatas:rs},cert:z(null===(Nn=s.sub[0])||void 0===Nn||null===(qn=Nn.sub[1])||void 0===qn?void 0:qn.sub[1]),signAlgID:null===(Vn=s.sub[0])||void 0===Vn||null===(Hn=Vn.sub[1])||void 0===Hn||null===(Wn=Hn.sub[2])||void 0===Wn?void 0:Wn.stream.parseOID(s.sub[0].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[2].header,s.sub[0].sub[1].sub[2].stream.pos+s.sub[0].sub[1].sub[2].header+s.sub[0].sub[1].sub[2].length),signedValue:null===(Un=s.sub[0])||void 0===Un||null===(Gn=Un.sub[1])||void 0===Gn||null===(zn=Gn.sub[3])||void 0===zn?void 0:zn.stream.hexDump(s.sub[0].sub[1].sub[3].stream.pos+s.sub[0].sub[1].sub[3].header,s.sub[0].sub[1].sub[3].stream.pos+s.sub[0].sub[1].sub[3].header+s.sub[0].sub[1].sub[3].length,!1)},timeInfo:null===(Jn=s.sub[0])||void 0===Jn||null===(Xn=Jn.sub[2])||void 0===Xn?void 0:Xn.stream.parseTime(s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header,s.sub[0].sub[2].stream.pos+s.sub[0].sub[2].header+s.sub[0].sub[2].length,!1),dataHash:null===(Kn=s.sub[0])||void 0===Kn||null===(Yn=Kn.sub[3])||void 0===Yn?void 0:Yn.stream.hexDump(s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header,s.sub[0].sub[3].stream.pos+s.sub[0].sub[3].header+s.sub[0].sub[3].length,!1),propertyInfo:J(s.sub[0].sub[4])},cert:z(s.sub[1]),signatureAlgID:null===($n=s.sub[2])||void 0===$n?void 0:$n.stream.parseOID(s.sub[2].stream.pos+s.sub[2].header,s.sub[2].stream.pos+s.sub[2].header+s.sub[2].length),signature:null===(Qn=s.sub[3])||void 0===Qn?void 0:Qn.stream.hexDump(s.sub[3].stream.pos+s.sub[3].header,s.sub[3].stream.pos+s.sub[3].header+s.sub[3].length,!1),timpStamp:null===(Zn=s.sub[4])||void 0===Zn?void 0:Zn.stream.parseTime(s.sub[4].stream.pos+s.sub[4].header,s.sub[4].stream.pos+s.sub[4].header+s.sub[4].length)}}catch(as){console.log(as),n={}}}return n},z=function(e,t){t=t||0;try{var n,s,r=e.sub[0].sub[0].sub[5],a=new Map;r.sub.forEach((function(e){var t,n=e.sub[0].sub[0].content().split("\n")[0],s=null===(t=e.sub[0].sub[1])||void 0===t?void 0:t.stream.parseStringUTF(e.sub[0].sub[1].stream.pos+e.sub[0].sub[1].header,e.sub[0].sub[1].stream.pos+e.sub[0].sub[1].header+e.sub[0].sub[1].length);a.set(n,s)}));var i=e.sub[0].sub[0].sub[6];return{subject:a,commonName:a.get("2.5.4.3"),subjectPublicKeyInfo:{algorithm:null===(n=i.sub[0])||void 0===n?void 0:n.stream.parseOID(i.sub[0].stream.pos+i.sub[0].header,i.sub[0].stream.pos+i.sub[0].header+i.sub[0].length),subjectPublicKey:null===(s=i.sub[1])||void 0===s?void 0:s.stream.hexDump(i.sub[1].stream.pos+i.sub[1].header,i.sub[1].stream.pos+i.sub[1].header+i.sub[1].length)}}}catch(u){return console.log(u),{}}},J=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},d00a:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var s=n("53ca"),r="object"===("undefined"===typeof e?"undefined":Object(s["a"])(e))&&e+""==="[object process]"&&!e.versions.nw&&!(e.versions.electron&&e.type&&"browser"!==e.type)}).call(this,n("4362"))},f120:function(e,t,n){"use strict";n("224f")}});
- //# sourceMappingURL=app.7cf24e91.js.map
|