@toolspack/ttd-common 0.2.0 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ttd-common"]=t(require("vue")):e["ttd-common"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){function t(t){for(var r,i,o=t[0],a=t[1],s=0,c=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&c.push(n[i][0]),n[i]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);u&&u(t);while(c.length)c.shift()()}var r={},n={0:0};function i(e){return o.p+"ttd-common.umd.min."+({1:"vendors~pdfjsWorker"}[e]||e)+".js"}function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(e){var t=[],r=n[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,i){r=n[e]=[t,i]}));t.push(r[2]=a);var s,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=i(e);var u=new Error;s=function(t){c.onerror=c.onload=null,clearTimeout(l);var r=n[e];if(0!==r){if(r){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,r[1](u)}n[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:c})}),12e4);c.onerror=c.onload=s,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=r,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=("undefined"!==typeof self?self:this)["webpackJsonpttd_common"]=("undefined"!==typeof self?self:this)["webpackJsonpttd_common"]||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var u=s;return o(o.s="fb15")}({0:function(e,t){},"00ee":function(e,t,r){var n=r("b622"),i=n("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0116":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-group[data-v-306aff2c]{margin-bottom:20px;border:1px solid #ccc}.title-con[data-v-306aff2c]{text-indent:20px;color:#333;font-size:20px;line-height:50px;border-bottom:1px solid #ccc;margin-bottom:-1px;margin-right:-1px}.label-done-area[data-v-306aff2c]{width:320px}.label-list[data-v-306aff2c]{padding:20px 0;text-align:center}.label-list .label-item[data-v-306aff2c]{margin-bottom:20px}.label-list .label-item .btn[data-v-306aff2c]{width:240px;border-radius:18px;background:#ebeef3;color:#222;border:none}.label-list .label-item .btn[data-v-306aff2c]:hover{background:#def5fd}.gongzhang img[data-v-306aff2c]{width:100%;height:100%}.label-preview h4[data-v-306aff2c]{text-align:center}.label-preview .con-list[data-v-306aff2c]{margin:10px;border:1px solid #ccc;padding:20px}.label-name[data-v-306aff2c]{margin-top:10px;color:#20a0ff;font-size:14px}.allSign[data-v-306aff2c]{margin-bottom:20px}.view-btn[data-v-306aff2c]{width:40px;height:20px;background:none;font-size:12px!important;border:1px solid #3d82f7;text-align:center;line-height:20px;font-size:14px;border-radius:2px;padding:0;color:#3d82f7;float:right;cursor:pointer;outline:none}.single-list[data-v-306aff2c]{padding:15px 0}.colorChnage[data-v-306aff2c]{color:#2e6be6!important}",""]),e.exports=t},"0366":function(e,t,r){var n=r("1c0b");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},"0538":function(e,t,r){"use strict";var n=r("1c0b"),i=r("861d"),o=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),a=function(){var n=r.concat(o.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return i(t.prototype)&&(a.prototype=t.prototype),a}},"057f":function(e,t,r){var n=r("fc6a"),i=r("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},"06cf":function(e,t,r){var n=r("83ab"),i=r("d1e7"),o=r("5c6c"),a=r("fc6a"),s=r("c04e"),c=r("5135"),u=r("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(r){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},"07ac":function(e,t,r){var n=r("23e7"),i=r("6f53").values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=S,t.resolveObject=x,t.format=A,t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),f=["'"].concat(l),h=["%","/","?",";","#"].concat(f),d=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r("b383");function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}function A(e){return i.isString(e)&&(e=w(e)),e instanceof o?e.format():o.prototype.format.call(e)}function S(e,t){return w(e,!1,!0).resolve(t)}function x(e,t){return e?w(e,!1,!0).resolveObject(t):t}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(s),l=/\\/g;u[0]=u[0].replace(l,"/"),e=u.join(s);var w=e;if(w=w.trim(),!r&&1===e.split("#").length){var A=c.exec(w);if(A)return this.path=w,this.href=w,this.pathname=A[1],A[2]?(this.search=A[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=a.exec(w);if(S){S=S[0];var x=S.toLowerCase();this.protocol=x,w=w.substr(S.length)}if(r||S||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===w.substr(0,2);!k||S&&y[S]||(w=w.substr(2),this.slashes=!0)}if(!y[S]&&(k||S&&!b[S])){for(var C,P,E=-1,R=0;R<d.length;R++){var T=w.indexOf(d[R]);-1!==T&&(-1===E||T<E)&&(E=T)}P=-1===E?w.lastIndexOf("@"):w.lastIndexOf("@",E),-1!==P&&(C=w.slice(0,P),w=w.slice(P+1),this.auth=decodeURIComponent(C)),E=-1;for(R=0;R<h.length;R++){T=w.indexOf(h[R]);-1!==T&&(-1===E||T<E)&&(E=T)}-1===E&&(E=w.length),this.host=w.slice(0,E),w=w.slice(E),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var I=this.hostname.split(/\./),L=(R=0,I.length);R<L;R++){var F=I[R];if(F&&!F.match(v)){for(var D="",j=0,M=F.length;j<M;j++)F.charCodeAt(j)>127?D+="x":D+=F[j];if(!D.match(v)){var N=I.slice(0,R),U=I.slice(R+1),q=F.match(g);q&&(N.push(q[1]),U.unshift(q[2])),U.length&&(w="/"+U.join(".")+w),this.hostname=N.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",W=this.hostname||"";this.host=W+B,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!m[x])for(R=0,L=f.length;R<L;R++){var G=f[R];if(-1!==w.indexOf(G)){var z=encodeURIComponent(G);z===G&&(z=escape(G)),w=w.split(G).join(z)}}var Y=w.indexOf("#");-1!==Y&&(this.hash=w.substr(Y),w=w.slice(0,Y));var H=w.indexOf("?");if(-1!==H?(this.search=w.substr(H),this.query=w.substr(H+1),t&&(this.query=_.parse(this.query)),w=w.slice(0,H)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var X=this.search||"";this.path=B+X}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=_.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+o+r+s+n},o.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(r[l]=e[l])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var d=f[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||y[e.protocol])r.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var v=r.pathname||"",g=r.search||"";r.path=v+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||m||r.host&&e.pathname,A=w,S=r.pathname&&r.pathname.split("/")||[],x=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(x&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===S[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=p;else if(p.length)S||(S=[]),S.pop(),S=S.concat(p),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(x){r.hostname=r.host=S.shift();var k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=S.slice(-1)[0],P=(r.host||e.host||S.length>1)&&("."===C||".."===C)||""===C,E=0,R=S.length;R>=0;R--)C=S[R],"."===C?S.splice(R,1):".."===C?(S.splice(R,1),E++):E&&(S.splice(R,1),E--);if(!w&&!A)for(;E--;E)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),P&&"/"!==S.join("/").substr(-1)&&S.push("");var T=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(x){r.hostname=r.host=T?"":S.length?S.shift():"";k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return w=w||r.host&&S.length,w&&!T&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b25":function(e,t,r){var n=r("a691"),i=r("50c4");e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length or index");return r}},"0c47":function(e,t,r){var n=r("da84"),i=r("d44e");i(n.JSON,"JSON",!0)},"0cb2":function(e,t,r){var n=r("7b0b"),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,r,c,u,l){var f=r+e.length,h=c.length,d=s;return void 0!==u&&(u=n(u),d=a),o.call(l,d,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(f);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>h){var l=i(s/10);return 0===l?n:l<=h?void 0===c[l-1]?o.charAt(1):c[l-1]+o.charAt(1):n}a=c[s-1]}return void 0===a?"":a}))}},"0ccb":function(e,t,r){var n=r("50c4"),i=r("1148"),o=r("1d80"),a=Math.ceil,s=function(e){return function(t,r,s){var c,u,l=String(o(t)),f=l.length,h=void 0===s?" ":String(s),d=n(r);return d<=f||""==h?l:(c=d-f,u=i.call(h,a(c/h.length)),u.length>c&&(u=u.slice(0,c)),e?l+u:u+l)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("cc12");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,r){var n=r("6eeb"),i=Date.prototype,o="Invalid Date",a="toString",s=i[a],c=i.getTime;new Date(NaN)+""!=o&&n(i,a,(function(){var e=c.call(this);return e===e?s.call(this):o}))},"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("c430"),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"0e90":function(e,t,r){"use strict";r("15e0")},1:function(e,t){},"103f":function(e,t,r){var n=r("0116");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("6723d7f8",n,!0,{sourceMap:!1,shadowMode:!1})},"10d1":function(e,t,r){"use strict";var n,i=r("da84"),o=r("e2cc"),a=r("f183"),s=r("6d61"),c=r("acac"),u=r("861d"),l=r("69f3").enforce,f=r("7f9a"),h=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",p,c);if(f&&h){n=c.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,m=g["delete"],y=g.has,b=g.get,_=g.set;o(g,{delete:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),m.call(this,e)||t.frozen["delete"](e)}return m.call(this,e)},has:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!d(e)){var r=l(this);r.frozen||(r.frozen=new n),y.call(this,e)?_.call(this,e,t):r.frozen.set(e,t)}else _.call(this,e,t);return this}})}},1148:function(e,t,r){"use strict";var n=r("a691"),i=r("1d80");e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},1276:function(e,t,r){"use strict";var n=r("d784"),i=r("44e7"),o=r("825a"),a=r("1d80"),s=r("4840"),c=r("8aa5"),u=r("50c4"),l=r("14c3"),f=r("9263"),h=r("d039"),d=[].push,p=Math.min,v=4294967295,g=!h((function(){return!RegExp(v,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),o=void 0===r?v:r>>>0;if(0===o)return[];if(void 0===e)return[n];if(!i(e))return t.call(n,e,o);var s,c,u,l=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,h+"g");while(s=f.call(g,n)){if(c=g.lastIndex,c>p&&(l.push(n.slice(p,s.index)),s.length>1&&s.index<n.length&&d.apply(l,s.slice(1)),u=s[0].length,p=c,l.length>=o))break;g.lastIndex===s.index&&g.lastIndex++}return p===n.length?!u&&g.test("")||l.push(""):l.push(n.slice(p)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,r):n.call(String(i),t,r)},function(e,i){var a=r(n,e,this,i,n!==t);if(a.done)return a.value;var f=o(e),h=String(this),d=s(f,RegExp),m=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),b=new d(g?f:"^(?:"+f.source+")",y),_=void 0===i?v:i>>>0;if(0===_)return[];if(0===h.length)return null===l(b,h)?[h]:[];var w=0,A=0,S=[];while(A<h.length){b.lastIndex=g?A:0;var x,k=l(b,g?h:h.slice(A));if(null===k||(x=p(u(b.lastIndex+(g?0:A)),h.length))===w)A=c(h,A,m);else{if(S.push(h.slice(w,A)),S.length===_)return S;for(var C=1;C<=k.length-1;C++)if(S.push(k[C]),S.length===_)return S;A=w=x}}return S.push(h.slice(w)),S}]}),!g)},"130f":function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("2cf4"),a=!i.setImmediate||!i.clearImmediate;n({global:!0,bind:!0,enumerable:!0,forced:a},{setImmediate:o.set,clearImmediate:o.clear})},"131a":function(e,t,r){var n=r("23e7"),i=r("d2bb");n({target:"Object",stat:!0},{setPrototypeOf:i})},"143c":function(e,t,r){var n=r("74e8");n("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"145e":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),o=r("50c4"),a=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=o(r.length),c=i(e,s),u=i(t,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:i(l,s))-u,s-c),h=1;u<c&&c<u+f&&(h=-1,u+=f-1,c+=f-1);while(f-- >0)u in r?r[c]=r[u]:delete r[c],c+=h,u+=h;return r}},"14c3":function(e,t,r){var n=r("c6b6"),i=r("9263");e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"159b":function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("17c2"),a=r("9112");for(var s in i){var c=n[s],u=c&&c.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(l){u.forEach=o}}},"15e0":function(e,t,r){var n=r("5652");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("8ee3d4ec",n,!0,{sourceMap:!1,shadowMode:!1})},1652:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".CryptoAgent-wrapper[data-v-4bfd8131]{height:0;width:0;position:absoute;left:-5000px}",""]),e.exports=t},"170b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("50c4"),o=r("23cb"),a=r("4840"),s=n.aTypedArray,c=n.exportTypedArrayMethod;c("subarray",(function(e,t){var r=s(this),n=r.length,c=o(e,n);return new(a(r,r.constructor))(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,i((void 0===t?n:o(t,n))-c))}))},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,i=r("a640"),o=r("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,r){var n=r("f8cd");e.exports=function(e,t){var r=n(e);if(r%t)throw RangeError("Wrong offset");return r}},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=36,l=1,f=26,h=38,d=700,p=72,v=128,g="-",m=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-l,A=Math.floor,S=String.fromCharCode;function x(e){throw new RangeError(_[e])}function k(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function C(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(b,".");var i=e.split("."),o=k(i,t).join(".");return n+o}function P(e){var t,r,n=[],i=0,o=e.length;while(i<o)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function E(e){return k(e,(function(e){var t="";return e>65535&&(e-=65536,t+=S(e>>>10&1023|55296),e=56320|1023&e),t+=S(e),t})).join("")}function R(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var n=0;for(e=r?A(e/d):e>>1,e+=A(e/t);e>w*f>>1;n+=u)e=A(e/w);return A(n+(w+1)*e/(e+h))}function I(e){var t,r,n,i,o,a,s,h,d,m,y=[],b=e.length,_=0,w=v,S=p;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&x("not-basic"),y.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<b;){for(o=_,a=1,s=u;;s+=u){if(i>=b&&x("invalid-input"),h=R(e.charCodeAt(i++)),(h>=u||h>A((c-_)/a))&&x("overflow"),_+=h*a,d=s<=S?l:s>=S+f?f:s-S,h<d)break;m=u-d,a>A(c/m)&&x("overflow"),a*=m}t=y.length+1,S=O(_-o,t,0==o),A(_/t)>c-w&&x("overflow"),w+=A(_/t),_%=t,y.splice(_++,0,w)}return E(y)}function L(e){var t,r,n,i,o,a,s,h,d,m,y,b,_,w,k,C=[];for(e=P(e),b=e.length,t=v,r=0,o=p,a=0;a<b;++a)y=e[a],y<128&&C.push(S(y));n=i=C.length,i&&C.push(g);while(n<b){for(s=c,a=0;a<b;++a)y=e[a],y>=t&&y<s&&(s=y);for(_=n+1,s-t>A((c-r)/_)&&x("overflow"),r+=(s-t)*_,t=s,a=0;a<b;++a)if(y=e[a],y<t&&++r>c&&x("overflow"),y==t){for(h=r,d=u;;d+=u){if(m=d<=o?l:d>=o+f?f:d-o,h<m)break;k=h-m,w=u-m,C.push(S(T(m+k%w,0))),h=A(k/w)}C.push(S(T(h,0))),o=O(r,_,n==i),r=0,++n}++r,++t}return C.join("")}function F(e){return C(e,(function(e){return m.test(e)?I(e.slice(4).toLowerCase()):e}))}function D(e){return C(e,(function(e){return y.test(e)?"xn--"+L(e):e}))}s={version:"1.4.1",ucs2:{decode:P,encode:E},decode:I,encode:L,toASCII:D,toUnicode:F},i=function(){return s}.call(t,r,t,e),void 0===i||(e.exports=i)})()}).call(this,r("62e4")(e),r("c8ba"))},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,r){var n=r("b622"),i=n("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d1c":function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("37e8");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:o})},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("2d00"),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1de5":function(e,t,r){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1fb5":function(e,t,r){"use strict";t.byteLength=l,t.toByteArray=h,t.fromByteArray=v;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function h(e){var t,r,n=u(e),a=n[0],s=n[1],c=new o(f(e,a,s)),l=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c}function d(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(d(n));return i.join("")}function v(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(p(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe2":function(e,t,r){"use strict";var n=r("6d61"),i=r("acac");n("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},2:function(e,t){},"219c":function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].sort;o("sort",(function(e){return a.call(i(this),e)}))},2266:function(e,t,r){var n=r("825a"),i=r("e95a"),o=r("50c4"),a=r("0366"),s=r("35a1"),c=r("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,f,h,d,p,v,g,m=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),w=a(t,m,1+y+_),A=function(e){return l&&c(l),new u(!0,e)},S=function(e){return y?(n(e),_?w(e[0],e[1],A):w(e[0],e[1])):_?w(e,A):w(e)};if(b)l=e;else{if(f=s(e),"function"!=typeof f)throw TypeError("Target is not iterable");if(i(f)){for(h=0,d=o(e.length);d>h;h++)if(p=S(e[h]),p&&p instanceof u)return p;return new u(!1)}l=f.call(e)}v=l.next;while(!(g=v.call(l)).done){try{p=S(g.value)}catch(x){throw c(l),x}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},2340:function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAsgAAsAAAAAERQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8g04JY21hcAAAAYAAAADDAAACaPEEbSNnbHlmAAACRAAABkQAAAkwJEzYcWhlYWQAAAiIAAAAMQAAADYcMD0BaGhlYQAACLwAAAAgAAAAJAgYA8xobXR4AAAI3AAAABcAAAA4OD//9GxvY2EAAAj0AAAAHgAAAB4RoA9kbWF4cAAACRQAAAAfAAAAIAEfAGluYW1lAAAJNAAAAUUAAAJtPlT+fXBvc3QAAAp8AAAApAAAAN4mZI1+eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWGcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBye8b7hZW7438AQw9zG0AAUZgTJAQDhMwwNeJzlkjEOglAMhn8EFZWXOBrjwMTklWBiY4BzODNwCBcWJ8/zw8AdsH1lMEZPYJvvJa99eW3+FsAaQChchQgIngig9pBo4OMh9j4e4Sb3E44SiemYMmPBhi079kM5VpObZ2DJ5Kw/M18tkB/Nz7i8uXa2wUpqH7BFLO8Sqeuw811ufvz2T5b4877cnCpv6EyZGqIhmBmiJpgbOlMWhigM1oZoDTaGqA62hu4CO0Mrszd0d4bS0B7GypA5YXIGoheF80ZLAHicnVZdjBNVFL5nbmem3Zlpe2emM0vXbTvttlNcWHHbzqzAlmIiMSZEiIaASDQxBoM84F/WBNESDCQ+iD8koD4Y5UUJJBCJGiPuJpiQaEgMPvCzDyCguDEYfVEj7cVzO6ys+GJsmnvvuXPON98599xzhlBCrm+n1+lLJE4KZIwQYCXmq27ol0fArxTVJKiK7ebAdUbDJoRBHZSiLx7Ve+Jo75GNalJ11a6xK1fG8NGr6x/55pH1r1aq1ZtLfmDV4VUrJ7xi0ZtYeXMJd8IafqBnuPsWi2jJtVssoiXBXwy5t2OEtolGXLKCPECIXCF+QEKHuArxkR8SRQdyYI06gmgSUqCoSToIpYbgvwya0KhX0B+1qKhKplQPcBeVbaVUrPRUJDLNL8gyFKanoSDL/ML059dk+drnvfFEaXHGcQFShs3mJVIJdRVLzM9piWSfoQ9mskM6u68/4ywf6Pe8fmeQyXZ7LhACL5tFwlE6YjoszGUXMTvlxK2sm9D14XlsQU7XswbLJ3QN39M/6rec7Dy+xlvkDTr9aaOPEAnj8CWdoi3ikdsxBui0OJqccFU470aBGEFnoyBADkaDeqWoSOSLjgy7nounVTm+aSvEfjh46HtZ2ropLqvp+HO7JLnLL0GwutFYHSyVu8d2nF5M5XQq1jg+cfCHGGpPHG/EUmmZLj6941iX9s8XisHs2XxCf6WLcZ0g95GHMbNKs68tV/xyBU/CyYMaBncgV5SS4Fq53omMQEn1QzGngIaqUKOKq+SRtis7QWjVabmSBMeV1bJvBRUEkGn8Xqg2q/gHP2HwMda3QQX1jTeHaHLy/j7b+sUwYQxs44jBJCv5urLNYNQ2ts5/fVyJJU4skShItViyT9KMDIw9yR8zbMoMeFflw9WfBNBy2CeN5QV+9WgfFMB4JuEkDhw/ZBnvvMg8YAjduWgwMMC6La09bEAmi4J0d9+jmht/n8+ocVl5O6HDIjANmjO6e3xID9hQfWh4AgKE+nD1bQQwZp9SoPeSNAYN7xnesQRU6njJwLGlX/gWtrCYhif4vnRxIYPX0rCWP8WKC03YCBvNhUWG0gjG+xacANNZTSACXlxEgzS8JnD4PnhC4PAtafgAdgsc/hZ/S+CgJHAUxJmilzCvVLxhKWIRhzQQPlPLlDI1ppYatZDVGMVZrjXCFPju7H0TKVfDTFOjXMQNKLTbU61WqzfAoDQ0VB4vWKf27T8bi53dv+lgHYLm189PdmS5M3n0D1MqoB602q0Wn4LWdTL1rBSGd01IeyYpqqMRPL6msPFZQG20iX1/+AbfSXrqP/It5yFUI24Rz9LNq4Ibt/LtbBkqLy1Y3+6dJVyTeoS7sVh38ujv1v8grPbq1zKsXymSJwvIXb0a9iDeYA85MKTiISOWBIqih5wYih5u+1ibGKaF4zJbwTo9Dj0hkwR8clMAodaEUSeDaiX6XecFvwHQ8OnL1TpAPQGlbOezbAlwpitwPmuYJmatya8ZJhtgAKY+u+DXdAtY1jSNtgBYEQF1PvMbdEeE0Pkjmt+xdNhjMGbwzbrVRIhmkrFkUzfPmkZT7DcNk/84V4nQ639iHIDuxBPLkyWiivuB5FdiqiK5TizE1hPUy39nEjpWy9i4Nw41UU+GRQkvKljTi4rt0Ktr124eemU3f2/ndn1iG2zYe8SqV7ono2PrjfzjtlU127Zl2W2zarVt07TWrd0LG7ZN6Nt38vd2vzK0+bBVqa+bNcAR1vxD3xYIvTrX406Qu0b6sYMuIGQu03CuH3f2HLkDqCeI1jxBHuYSO/lv4tbhr/hH4oWwEt9fm8No478JW0dgKfJCjnN6Yxq7Qo3cQ4hVE31tGDJYCDBLmlCuIUfMEyFhu6sHEMlqaQRzaAmGNZBHnUG4YSfyrAkbrtrZrH11wB+AhvTyjEiEbDU7g5swbGdFVlwWCpeznaetgUi3EkKWttFiWojTUe7MWAMD1gxudrcAqt/AQdsEqgj0oILqRHyftPH7pN2Lbxm9wN6OHR77vELKWNiiMolFTo7KZFTk4jLkzpyBnKLwi2fO8IvU0DQu6Z6rAde97nmtoMPPmpvXualB+xw/jx3eO3cOPGzM58f1gs77NBd1ftMsNJyn5dHwip4nfwFYrApWeJxjYGRgYADiDbNnCMTz23xl4GZhAIE72X/qYfT/X/8bWOyZ24BcDgYmkCgAZmQNdgAAAHicY2BkYGBu+N/AEMNi9//X//8s9gxAERTABwCrAgbreJxjYWBgYCGE7UD0/18QDBEDADjGBGkAAAAAAABeAOIBLAHGAeoCDgJmAr4DQgOgA+wEUASYAAB4nGNgZGBg4GOIZWBnAAEmIOYCQgaG/2A+AwATegGJAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nG2NzQ6CMBCEu4r8FEXj2YcQNb4OWVTaNWSL0Ebs01tC4sk5bCY7mW/EQsyS4r8KWMASIlhBDAmkkIGEHNawgQK24kA3w41h6zV5Z2pC47Xj4+lcXq6RfrRd/iT0SF4bVnvrOkKeP4OmGmk3ASrse/OuelLaypCyNS7QstEhBxyy/Lky/4Q7damluEFWd0wGZ8awnL5C1BGrWAVTkxBfUeY8aQ=="},"23cb":function(e,t,r){var n=r("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},"23dc":function(e,t,r){var n=r("d44e");n(Math,"Math",!0)},"23e7":function(e,t,r){var n=r("da84"),i=r("06cf").f,o=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),u=r("94ca");e.exports=function(e,t){var r,l,f,h,d,p,v=e.target,g=e.global,m=e.stat;if(l=g?n:m?n[v]||s(v,{}):(n[v]||{}).prototype,l)for(f in t){if(d=t[f],e.noTargetGet?(p=i(l,f),h=p&&p.value):h=l[f],r=u(g?f:v+(m?".":"#")+f,e.forced),!r&&void 0!==h){if(typeof d===typeof h)continue;c(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(l,f,d,e)}}},"241c":function(e,t,r){var n=r("ca84"),i=r("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"===typeof btoa){var o=i(n),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&i[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},2532:function(e,t,r){"use strict";var n=r("23e7"),i=r("5a34"),o=r("1d80"),a=r("ab13");n({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},"25a1":function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").right,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),i=r("825a"),o=r("d039"),a=r("ad6d"),s="toString",c=RegExp.prototype,u=c[s],l=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(l||f)&&n(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),r=e.flags,n=String(void 0===r&&e instanceof RegExp&&!("flags"in c)?a.call(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),i=r("9bf2"),o=r("b622"),a=r("83ab"),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"26e9":function(e,t,r){"use strict";var n=r("23e7"),i=r("e8b5"),o=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},"277d":function(e,t,r){var n=r("23e7"),i=r("e8b5");n({target:"Array",stat:!0},{isArray:i})},2954:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4840"),o=r("d039"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod,u=[].slice,l=o((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var r=u.call(a(this),e,t),n=i(this,this.constructor),o=0,c=r.length,l=new(s(n))(c);while(c>o)l[o]=r[o++];return l}),l)},"2a62":function(e,t,r){var n=r("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return n(t.call(e)).value}},"2a90":function(e,t,r){var n=r("e017");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("baf8cd94",n,!0,{sourceMap:!1,shadowMode:!1})},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),o=r("83ab"),a=r("0d3b"),s=r("da84"),c=r("37e8"),u=r("6eeb"),l=r("19aa"),f=r("5135"),h=r("60da"),d=r("4df4"),p=r("6547").codeAt,v=r("5fb2"),g=r("d44e"),m=r("9861"),y=r("69f3"),b=s.URL,_=m.URLSearchParams,w=m.getState,A=y.set,S=y.getterFor("URL"),x=Math.floor,k=Math.pow,C="Invalid authority",P="Invalid scheme",E="Invalid host",R="Invalid port",T=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,I=/\d/,L=/^(0x|0X)/,F=/^[0-7]+$/,D=/^\d+$/,j=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\u0009\u000A\u000D]/g,B=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return E;if(r=G(t.slice(1,-1)),!r)return E;e.host=r}else if(Z(e)){if(t=v(t),M.test(t))return E;if(r=W(t),null===r)return E;e.host=r}else{if(N.test(t))return E;for(r="",n=d(t),i=0;i<n.length;i++)r+=K(n[i],H);e.host=r}},W=function(e){var t,r,n,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),t=c.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=c[n],""==i)return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=L.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?D:8==o?F:j).test(i))return e;a=parseInt(i,o)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*k(256,3-n);return s},G=function(e){var t,r,n,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,u++,l=u}while(h()){if(8==u)return;if(":"!=h()){t=r=0;while(r<4&&j.test(h()))t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!I.test(h()))return;while(I.test(h())){if(o=parseInt(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;c[u++]=t}else{if(null!==l)return;f++,u++,l=u}}if(null!==l){a=u-l,u=7;while(0!=u&&a>0)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s}else if(8!=u)return;return c},z=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t},Y=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=z(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},H={},X=h({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},X,{"#":1,"?":1,"{":1,"}":1}),Q=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var r=p(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return f(J,e.scheme)},$=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&T.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},ce={},ue={},le={},fe={},he={},de={},pe={},ve={},ge={},me={},ye={},be={},_e={},we={},Ae={},Se={},xe={},ke={},Ce={},Pe=function(e,t,r,i){var o,a,s,c,u=r||ae,l=0,h="",p=!1,v=!1,g=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(q,""),o=d(t);while(l<=o.length){switch(a=o[l],u){case ae:if(!a||!T.test(a)){if(r)return P;u=ce;continue}h+=a.toLowerCase(),u=se;break;case se:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return P;h="",u=ce,l=0;continue}if(r&&(Z(e)!=f(J,h)||"file"==h&&($(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=be:Z(e)&&i&&i.scheme==e.scheme?u=ue:Z(e)?u=de:"/"==o[l+1]?(u=le,l++):(e.cannotBeABaseURL=!0,e.path.push(""),u=xe)}break;case ce:if(!i||i.cannotBeABaseURL&&"#"!=a)return P;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Ce;break}u="file"==i.scheme?be:fe;continue;case ue:if("/"!=a||"/"!=o[l+1]){u=fe;continue}u=pe,l++;break;case le:if("/"==a){u=ve;break}u=Se;continue;case fe:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))u=he;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=Se;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ce}break;case he:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=Se;continue}u=ve}else u=pe;break;case de:if(u=pe,"/"!=a||"/"!=h.charAt(l+1))continue;l++;break;case pe:if("/"!=a&&"\\"!=a){u=ve;continue}break;case ve:if("@"==a){p&&(h="%40"+h),p=!0,s=d(h);for(var m=0;m<s.length;m++){var y=s[m];if(":"!=y||g){var b=K(y,Q);g?e.password+=b:e.username+=b}else g=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(p&&""==h)return C;l-=d(h).length+1,h="",u=ge}else h+=a;break;case ge:case me:if(r&&"file"==e.scheme){u=we;continue}if(":"!=a||v){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==h)return E;if(r&&""==h&&($(e)||null!==e.port))return;if(c=B(e,h),c)return c;if(h="",u=Ae,r)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return E;if(c=B(e,h),c)return c;if(h="",u=ye,r==me)return}break;case ye:if(!I.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||r){if(""!=h){var _=parseInt(h,10);if(_>65535)return R;e.port=Z(e)&&_===J[e.scheme]?null:_,h=""}if(r)return;u=Ae;continue}return R}h+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=_e;else{if(!i||"file"!=i.scheme){u=Se;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){re(o.slice(l).join(""))||(e.host=i.host,e.path=i.path.slice(),ne(e)),u=Se;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ce}}break;case _e:if("/"==a||"\\"==a){u=we;break}i&&"file"==i.scheme&&!re(o.slice(l).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=Se;continue;case we:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(h))u=Se;else if(""==h){if(e.host="",r)return;u=Ae}else{if(c=B(e,h),c)return c;if("localhost"==e.host&&(e.host=""),r)return;h="",u=Ae}continue}h+=a;break;case Ae:if(Z(e)){if(u=Se,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=Se,"/"!=a))continue}else e.fragment="",u=Ce;else e.query="",u=ke;break;case Se:if(a==n||"/"==a||"\\"==a&&Z(e)||!r&&("?"==a||"#"==a)){if(oe(h)?(ne(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(h)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=ke):"#"==a&&(e.fragment="",u=Ce)}else h+=K(a,V);break;case xe:"?"==a?(e.query="",u=ke):"#"==a?(e.fragment="",u=Ce):a!=n&&(e.path[0]+=K(a,H));break;case ke:r||"#"!=a?a!=n&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,H)):(e.fragment="",u=Ce);break;case Ce:a!=n&&(e.fragment+=K(a,X));break}l++}},Ee=function(e){var t,r,n=l(this,Ee,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=A(n,{type:"URL"});if(void 0!==i)if(i instanceof Ee)t=S(i);else if(r=Pe(t={},String(i)),r)throw TypeError(r);if(r=Pe(s,a,null,t),r)throw TypeError(r);var c=s.searchParams=new _,u=w(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},o||(n.href=Te.call(n),n.origin=Oe.call(n),n.protocol=Ie.call(n),n.username=Le.call(n),n.password=Fe.call(n),n.host=De.call(n),n.hostname=je.call(n),n.port=Me.call(n),n.pathname=Ne.call(n),n.search=Ue.call(n),n.searchParams=qe.call(n),n.hash=Be.call(n))},Re=Ee.prototype,Te=function(){var e=S(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",$(e)&&(u+=r+(n?":"+n:"")+"@"),u+=Y(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},Oe=function(){var e=S(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Z(e)?t+"://"+Y(e.host)+(null!==r?":"+r:""):"null"},Ie=function(){return S(this).scheme+":"},Le=function(){return S(this).username},Fe=function(){return S(this).password},De=function(){var e=S(this),t=e.host,r=e.port;return null===t?"":null===r?Y(t):Y(t)+":"+r},je=function(){var e=S(this).host;return null===e?"":Y(e)},Me=function(){var e=S(this).port;return null===e?"":String(e)},Ne=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=S(this).query;return e?"?"+e:""},qe=function(){return S(this).searchParams},Be=function(){var e=S(this).fragment;return e?"#"+e:""},We=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Re,{href:We(Te,(function(e){var t=S(this),r=String(e),n=Pe(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:We(Oe),protocol:We(Ie,(function(e){var t=S(this);Pe(t,String(e)+":",ae)})),username:We(Le,(function(e){var t=S(this),r=d(String(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=K(r[n],Q)}})),password:We(Fe,(function(e){var t=S(this),r=d(String(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=K(r[n],Q)}})),host:We(De,(function(e){var t=S(this);t.cannotBeABaseURL||Pe(t,String(e),ge)})),hostname:We(je,(function(e){var t=S(this);t.cannotBeABaseURL||Pe(t,String(e),me)})),port:We(Me,(function(e){var t=S(this);ee(t)||(e=String(e),""==e?t.port=null:Pe(t,e,ye))})),pathname:We(Ne,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Pe(t,e+"",Ae))})),search:We(Ue,(function(e){var t=S(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Pe(t,e,ke)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:We(qe),hash:We(Be,(function(e){var t=S(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Pe(t,e,Ce)):t.fragment=null}))}),u(Re,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),u(Re,"toString",(function(){return Te.call(this)}),{enumerable:!0}),b){var Ge=b.createObjectURL,ze=b.revokeObjectURL;Ge&&u(Ee,"createObjectURL",(function(e){return Ge.apply(b,arguments)})),ze&&u(Ee,"revokeObjectURL",(function(e){return ze.apply(b,arguments)}))}g(Ee,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ee})},"2ca0":function(e,t,r){"use strict";var n=r("23e7"),i=r("06cf").f,o=r("50c4"),a=r("5a34"),s=r("1d80"),c=r("ab13"),u=r("c430"),l="".startsWith,f=Math.min,h=c("startsWith"),d=!u&&!h&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!d&&!h},{startsWith:function(e){var t=String(s(this));a(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return l?l.call(t,n,r):t.slice(r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,i,o,a=r("da84"),s=r("d039"),c=r("0366"),u=r("1be4"),l=r("cc12"),f=r("1cdc"),h=r("605d"),d=a.location,p=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,y=a.Dispatch,b=0,_={},w="onreadystatechange",A=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},S=function(e){return function(){A(e)}},x=function(e){A(e.data)},k=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};p&&v||(p=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete _[e]},h?n=function(e){g.nextTick(S(e))}:y&&y.now?n=function(e){y.now(S(e))}:m&&!f?(i=new m,o=i.port2,i.port1.onmessage=x,n=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(k)?(n=k,a.addEventListener("message",x,!1)):n=w in l("script")?function(e){u.appendChild(l("script"))[w]=function(){u.removeChild(this),A(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:p,clear:v}},"2d00":function(e,t,r){var n,i,o=r("da84"),a=r("342f"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?(n=u.split("."),i=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=n[1]))),e.exports=i&&+i},3:function(e,t){},"30ea":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".mouse-right-el{position:absolute;display:inline-block;width:40px;text-align:center;line-height:20px;font-size:12px;background:#6495ed;border:1px solid #fff;border-radius:2px;cursor:pointer}.label-shape2 .close{top:0!important;right:0!important}",""]),e.exports=t},3280:function(e,t,r){"use strict";var n=r("ebb5"),i=r("e58c"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("lastIndexOf",(function(e){return i.apply(o(this),arguments)}))},3410:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("7b0b"),a=r("e163"),s=r("e177"),c=i((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),i=r("3f8c"),o=r("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[n(e)]}},"35e8":function(e,t,r){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"37e8":function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("825a"),a=r("df75");e.exports=n?Object.defineProperties:function(e,t){o(e);var r,n=a(t),s=n.length,c=0;while(s>c)i.f(e,r=n[c++],t[r]);return e}},"3a50":function(e,t,r){var n=r("6780");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("271332fa",n,!0,{sourceMap:!1,shadowMode:!1})},"3a7b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").findIndex,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c5d":function(e,t,r){"use strict";var n=r("ebb5"),i=r("50c4"),o=r("182d"),a=r("7b0b"),s=r("d039"),c=n.aTypedArray,u=n.exportTypedArrayMethod,l=s((function(){new Int8Array(1).set({})}));u("set",(function(e){c(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(e),s=i(n.length),u=0;if(s+t>r)throw RangeError("Wrong length");while(u<s)this[t+u]=n[u++]}),l)},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,i=r("69f3"),o=r("7dd0"),a="String Iterator",s=i.set,c=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},"3db7":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-style[data-v-3e9e96f1]{width:100%;height:100%;background:#ff8c00;text-align:center}.label-style i[data-v-3e9e96f1]{display:inline-block;margin-top:60px;font-size:14px;color:#fff}.label-shape2 .label-style[data-v-3e9e96f1]{border-radius:50%}",""]),e.exports=t},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").map,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(o(e,e.constructor)))(t)}))}))},"408a":function(e,t,r){var n=r("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=n(e))throw TypeError("Incorrect invocation");return+e}},4160:function(e,t,r){"use strict";var n=r("23e7"),i=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,r){var n=r("da84");e.exports=n},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,r){var n=r("d039"),i=r("c6b6"),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,r){var n=r("b622"),i=r("7c73"),o=r("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),i=r("c6b6"),o=r("b622"),a=o("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"45fc":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").some,o=r("a640"),a=r("ae40"),s=o("some"),c=a("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4795:function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("342f"),a=[].slice,s=/MSIE .\./.test(o),c=function(e){return function(t,r){var n=arguments.length>2,i=n?a.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,r)}};n({global:!0,bind:!0,forced:s},{setTimeout:c(i.setTimeout),setInterval:c(i.setInterval)})},4840:function(e,t,r){var n=r("825a"),i=r("1c0b"),o=r("b622"),a=o("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},4930:function(e,t,r){var n=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"498a":function(e,t,r){"use strict";var n=r("23e7"),i=r("58a8").trim,o=r("c8d2");n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l={id:e+":"+i,css:s,media:c,sourceMap:u};n[a]?n[a].parts.push(l):r.push(n[a]={id:a,parts:[l]})}return r}r.r(t),r.d(t,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,h="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,r,i){u=r,f=i||{};var a=n(e,t);return v(a),function(t){for(var r=[],i=0;i<a.length;i++){var s=a[i],c=o[s.id];c.refs--,r.push(c)}t?(a=n(e,t),v(a)):a=[];for(i=0;i<r.length;i++){c=r[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],n=o[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(m(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(m(r.parts[i]));o[r.id]={id:r.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function m(e){var t,r,n=document.querySelector("style["+h+'~="'+e.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(d){var i=c++;n=s||(s=g()),t=b.bind(null,n,i,!1),r=b.bind(null,n,i,!0)}else n=g(),t=_.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}();function b(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function _(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(h,t.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"4a9b":function(e,t,r){var n=r("74e8");n("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"4d63":function(e,t,r){var n=r("83ab"),i=r("da84"),o=r("94ca"),a=r("7156"),s=r("9bf2").f,c=r("241c").f,u=r("44e7"),l=r("ad6d"),f=r("9f7f"),h=r("6eeb"),d=r("d039"),p=r("69f3").set,v=r("2626"),g=r("b622"),m=g("match"),y=i.RegExp,b=y.prototype,_=/a/g,w=/a/g,A=new y(_)!==_,S=f.UNSUPPORTED_Y,x=n&&o("RegExp",!A||S||d((function(){return w[m]=!1,y(_)!=_||y(w)==w||"/a/i"!=y(_,"i")})));if(x){var k=function(e,t){var r,n=this instanceof k,i=u(e),o=void 0===t;if(!n&&i&&e.constructor===k&&o)return e;A?i&&!o&&(e=e.source):e instanceof k&&(o&&(t=l.call(e)),e=e.source),S&&(r=!!t&&t.indexOf("y")>-1,r&&(t=t.replace(/y/g,"")));var s=a(A?new y(e,t):y(e,t),n?this:b,k);return S&&r&&p(s,{sticky:r}),s},C=function(e){e in k||s(k,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},P=c(y),E=0;while(P.length>E)C(P[E++]);b.constructor=k,k.prototype=b,h(i,"RegExp",k)}v("RegExp")},"4d64":function(e,t,r){var n=r("fc6a"),i=r("50c4"),o=r("23cb"),a=function(e){return function(t,r,a){var s,c=n(t),u=i(c.length),l=o(a,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d90":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").start,o=r("9a0c");n({target:"String",proto:!0,forced:o},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4de4":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").filter,o=r("1dde"),a=r("ae40"),s=o("filter"),c=a("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),o=r("9bdd"),a=r("e95a"),s=r("50c4"),c=r("8418"),u=r("35a1");e.exports=function(e){var t,r,l,f,h,d,p=i(e),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=u(p),_=0;if(y&&(m=n(m,g>2?arguments[2]:void 0,2)),void 0==b||v==Array&&a(b))for(t=s(p.length),r=new v(t);t>_;_++)d=y?m(p[_],_):p[_],c(r,_,d);else for(f=b.call(p),h=f.next,r=new v;!(l=h.call(f)).done;_++)d=y?o(f,m,[l.value,_],!0):l.value,c(r,_,d);return r.length=_,r}},"4e82":function(e,t,r){"use strict";var n=r("23e7"),i=r("1c0b"),o=r("7b0b"),a=r("d039"),s=r("a640"),c=[],u=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),h=s("sort"),d=l||!f||!h;n({target:"Array",proto:!0,forced:d},{sort:function(e){return void 0===e?u.call(o(this)):u.call(o(this),i(e))}})},"50c4":function(e,t,r){var n=r("a691"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},5135:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},5319:function(e,t,r){"use strict";var n=r("d784"),i=r("825a"),o=r("50c4"),a=r("a691"),s=r("1d80"),c=r("8aa5"),u=r("0cb2"),l=r("14c3"),f=Math.max,h=Math.min,d=function(e){return void 0===e?e:String(e)};n("replace",2,(function(e,t,r,n){var p=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,g=p?"$":"$0";return[function(r,n){var i=s(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!p&&v||"string"===typeof n&&-1===n.indexOf(g)){var s=r(t,e,this,n);if(s.done)return s.value}var m=i(e),y=String(this),b="function"===typeof n;b||(n=String(n));var _=m.global;if(_){var w=m.unicode;m.lastIndex=0}var A=[];while(1){var S=l(m,y);if(null===S)break;if(A.push(S),!_)break;var x=String(S[0]);""===x&&(m.lastIndex=c(y,o(m.lastIndex),w))}for(var k="",C=0,P=0;P<A.length;P++){S=A[P];for(var E=String(S[0]),R=f(h(a(S.index),y.length),0),T=[],O=1;O<S.length;O++)T.push(d(S[O]));var I=S.groups;if(b){var L=[E].concat(T,R,y);void 0!==I&&L.push(I);var F=String(n.apply(void 0,L))}else F=u(E,y,R,T,I,n);R>=C&&(k+=y.slice(C,R)+F,C=R+E.length)}return k+y.slice(C)}]}))},"54d1":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,'.label-view[data-v-68b54e2b]{position:relative;float:left;width:100%;height:100%;overflow:hidden}.label-view .tag[data-v-68b54e2b]{position:absolute;z-index:999;top:0;display:none}.labelCon[data-v-68b54e2b]{position:absolute;width:100%;height:100%;top:0;left:0;text-align:center;color:#fff;font-size:12px;display:table;white-space:nowrap}.labelCon .span-text[data-v-68b54e2b]{display:table-cell;vertical-align:middle}.label-proterty[data-v-68b54e2b]{position:absolute;bottom:0;right:10px;color:#206ad4;font-size:14px}.resize-tag[data-v-68b54e2b]{width:10px;height:10px;overflow:hidden;position:absolute;cursor:se-resize;right:0;bottom:0}.resize-tag[data-v-68b54e2b]:after{content:"";display:inline-block;width:15px;height:3px;border:1px solid #666;transform-origin:center;transform:rotate(135deg) translate(-2px,5px)}.close[data-v-68b54e2b]{width:20px;height:20px;border-radius:50%;position:absolute;top:-10px;right:-10px;background:coral;color:#fff;transform:rotate(45deg);text-align:center;line-height:20px;cursor:pointer}i[data-v-68b54e2b]{font-style:normal}',""]),e.exports=t},"55cb":function(e,t,r){e.exports=r.p+"img/iconfont.18b11516.svg"},5652:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".CryptoAgent-wrapper[data-v-9e75e8c0]{height:0;width:0;position:absoute;left:-5000px}",""]),e.exports=t},"565f":function(e,t,r){var n=r("c962");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("3a5d17ce",n,!0,{sourceMap:!1,shadowMode:!1})},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),i=r("241c"),o=r("7418"),a=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("1d80"),i=r("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),c=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5aae":function(e,t,r){"use strict";r("802f")},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cc6":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"5d41":function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("825a"),a=r("5135"),s=r("06cf"),c=r("e163");function u(e,t){var r,n,l=arguments.length<3?e:arguments[2];return o(e)===l?e[t]:(r=s.f(e,t))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):i(n=c(e))?u(n,t,l):void 0}n({target:"Reflect",stat:!0},{get:u})},"5e89":function(e,t,r){var n=r("861d"),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},"5f96":function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].join;o("join",(function(e){return a.apply(i(this),arguments)}))},"5fb2":function(e,t,r){"use strict";var n=2147483647,i=36,o=1,a=26,s=38,c=700,u=72,l=128,f="-",h=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",v=i-o,g=Math.floor,m=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},_=function(e,t,r){var n=0;for(e=r?g(e/c):e>>1,e+=g(e/t);e>v*a>>1;n+=i)e=g(e/v);return g(n+(v+1)*e/(e+s))},w=function(e){var t=[];e=y(e);var r,s,c=e.length,h=l,d=0,v=u;for(r=0;r<e.length;r++)s=e[r],s<128&&t.push(m(s));var w=t.length,A=w;w&&t.push(f);while(A<c){var S=n;for(r=0;r<e.length;r++)s=e[r],s>=h&&s<S&&(S=s);var x=A+1;if(S-h>g((n-d)/x))throw RangeError(p);for(d+=(S-h)*x,h=S,r=0;r<e.length;r++){if(s=e[r],s<h&&++d>n)throw RangeError(p);if(s==h){for(var k=d,C=i;;C+=i){var P=C<=v?o:C>=v+a?a:C-v;if(k<P)break;var E=k-P,R=i-P;t.push(m(b(P+E%R))),k=g(E/R)}t.push(m(b(k))),v=_(d,x,A==w),d=0,++A}}++d,++h}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(d,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(h.test(r)?"xn--"+w(r):r);return n.join(".")}},"605d":function(e,t,r){var n=r("c6b6"),i=r("da84");e.exports="process"==n(i.process)},"60bd":function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),o=r("e260"),a=r("b622"),s=a("iterator"),c=n.Uint8Array,u=o.values,l=o.keys,f=o.entries,h=i.aTypedArray,d=i.exportTypedArrayMethod,p=c&&c.prototype[s],v=!!p&&("values"==p.name||void 0==p.name),g=function(){return u.call(h(this))};d("entries",(function(){return f.call(h(this))})),d("keys",(function(){return l.call(h(this))})),d("values",g,!v),d(s,g,!v)},"60da":function(e,t,r){"use strict";var n=r("83ab"),i=r("d039"),o=r("df75"),a=r("7418"),s=r("d1e7"),c=r("7b0b"),u=r("44ad"),l=Object.assign,f=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||o(l({},t)).join("")!=i}))?function(e,t){var r=c(e),i=arguments.length,l=1,f=a.f,h=s.f;while(i>l){var d,p=u(arguments[l++]),v=f?o(p).concat(f(p)):o(p),g=v.length,m=0;while(g>m)d=v[m++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:l},"621a":function(e,t,r){"use strict";var n=r("da84"),i=r("83ab"),o=r("a981"),a=r("9112"),s=r("e2cc"),c=r("d039"),u=r("19aa"),l=r("a691"),f=r("50c4"),h=r("0b25"),d=r("77a7"),p=r("e163"),v=r("d2bb"),g=r("241c").f,m=r("9bf2").f,y=r("81d5"),b=r("d44e"),_=r("69f3"),w=_.get,A=_.set,S="ArrayBuffer",x="DataView",k="prototype",C="Wrong length",P="Wrong index",E=n[S],R=E,T=n[x],O=T&&T[k],I=Object.prototype,L=n.RangeError,F=d.pack,D=d.unpack,j=function(e){return[255&e]},M=function(e){return[255&e,e>>8&255]},N=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},U=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return F(e,23,4)},B=function(e){return F(e,52,8)},W=function(e,t){m(e[k],t,{get:function(){return w(this)[t]}})},G=function(e,t,r,n){var i=h(r),o=w(e);if(i+t>o.byteLength)throw L(P);var a=w(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return n?c:c.reverse()},z=function(e,t,r,n,i,o){var a=h(r),s=w(e);if(a+t>s.byteLength)throw L(P);for(var c=w(s.buffer).bytes,u=a+s.byteOffset,l=n(+i),f=0;f<t;f++)c[u+f]=l[o?f:t-f-1]};if(o){if(!c((function(){E(1)}))||!c((function(){new E(-1)}))||c((function(){return new E,new E(1.5),new E(NaN),E.name!=S}))){R=function(e){return u(this,R),new E(h(e))};for(var Y,H=R[k]=E[k],X=g(E),V=0;X.length>V;)(Y=X[V++])in R||a(R,Y,E[Y]);H.constructor=R}v&&p(O)!==I&&v(O,I);var Q=new T(new R(2)),K=O.setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||s(O,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else R=function(e){u(this,R,S);var t=h(e);A(this,{bytes:y.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},T=function(e,t,r){u(this,T,x),u(e,R,x);var n=w(e).byteLength,o=l(t);if(o<0||o>n)throw L("Wrong offset");if(r=void 0===r?n-o:f(r),o+r>n)throw L(C);A(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(W(R,"byteLength"),W(T,"buffer"),W(T,"byteLength"),W(T,"byteOffset")),s(T[k],{getInt8:function(e){return G(this,1,e)[0]<<24>>24},getUint8:function(e){return G(this,1,e)[0]},getInt16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return U(G(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return U(G(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return D(G(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return D(G(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){z(this,1,e,j,t)},setUint8:function(e,t){z(this,1,e,j,t)},setInt16:function(e,t){z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){z(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){z(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){z(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){z(this,8,e,B,t,arguments.length>2?arguments[2]:void 0)}});b(R,S),b(T,x),e.exports={ArrayBuffer:R,DataView:T}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6494:function(e,t,r){"use strict";r("a046")},"649e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").some,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},6547:function(e,t,r){var n=r("a691"),i=r("1d80"),o=function(e){return function(t,r){var o,a,s=String(i(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,r){var n=r("861d"),i=r("e8b5"),o=r("b622"),a=o("species");e.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!i(r.prototype)?n(r)&&(r=r[a],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},"660a":function(e,t,r){var n=r("3db7");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("58a08748",n,!0,{sourceMap:!1,shadowMode:!1})},6780:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".cfca-pdf{width:100%;min-height:100%;position:relative;margin-top:-1px}.cfca-pdf .fontSize1{font-size:65%}.cfca-pdf .fontSize1,.cfca-pdf .fontSize2{font-family:Verdana,Geneva,Arial,Helvetica,sans-serif}.cfca-pdf .fontSize2{font-size:70%}.cfca-pdf .fontSize3{font-size:75%;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif}.cfca-pdf .fakehlink{cursor:pointer;text-decoration:underline;font-weight:400;line-height:26px;color:#06c}.cfca-pdf .plaintext{line-height:28px}.cfca-pdf .blankline{height:5px}.cfca-pdf .remaining{width:100%;position:absolute;z-index:1;top:72px;bottom:0}.cfca-pdf .cfca-page .page-num{display:inline-block;width:auto}.cfca-pdf .cfca-page .page-num input{display:inline-block;width:48px;height:32px;border:1px solid #ccc;border-radius:2px;margin:0 5px}.cfca-pdf .cfca-pdf-wrapper{position:relative;width:560px;margin:0 auto;box-shadow:0 5px 10px 0 rgba(0,0,0,.05)}.cfca-pdf .cfca-pdf-wrapper .cfca-left,.cfca-pdf .cfca-pdf-wrapper .cfca-right{color:#dcdcdc;position:absolute;width:73px;height:130px;text-align:center;font-size:33px;cursor:pointer;border-radius:4px;top:50%;left:-72px}.cfca-pdf .cfca-pdf-wrapper .disabled{cursor:not-allowed}.cfca-pdf .cfca-pdf-wrapper .cfca-right{left:auto;right:-72px}.cfca-pdf .cfca-pdf-wrapper .cfca-content{display:flex;flex-direction:column;justify-content:space-between;position:relative;background:#fff;border:1px solid #d4d4d4;border-radius:0;padding:0;box-sizing:border-box;overflow:hidden}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-object{box-sizing:border-box;position:relative}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-object .obj-wrapper{height:758px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page{position:relative;height:48px;line-height:48px;box-sizing:border-box;overflow:hidden;padding:0 20px;text-align:left;font-size:14px;background:#fff;color:#666;border-bottom:1px solid #d4d4d4}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .cfca-title h2{max-width:340px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:18px;color:#222;line-height:48px;font-weight:400;margin:0;padding:0}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .cfca-title .sub-title{font-size:12px;color:#999;line-height:17px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .fr{position:absolute;right:20px;top:0;max-width:180px;white-space:nowrap;text-overflow:ellipsis}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .di{margin-left:10px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-control{line-height:64px;box-sizing:border-box;overflow:hidden;padding:0 20px;text-align:right;font-size:14px;background:#f5f5f5;color:#666}",""]),e.exports=t},"69f3":function(e,t,r){var n,i,o,a=r("7f9a"),s=r("da84"),c=r("861d"),u=r("9112"),l=r("5135"),f=r("c6cd"),h=r("f772"),d=r("d012"),p=s.WeakMap,v=function(e){return o(e)?i(e):n(e,{})},g=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(a){var m=f.state||(f.state=new p),y=m.get,b=m.has,_=m.set;n=function(e,t){return t.facade=e,_.call(m,e,t),t},i=function(e){return y.call(m,e)||{}},o=function(e){return b.call(m,e)}}else{var w=h("state");d[w]=!0,n=function(e,t){return t.facade=e,u(e,w,t),t},i=function(e){return l(e,w)?e[w]:{}},o=function(e){return l(e,w)}}e.exports={set:n,get:i,has:o,enforce:v,getterFor:g}},"6ca0":function(e,t,r){"use strict";r("565f")},"6cb7":function(e,t,r){"use strict";r("eabf")},"6d61":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("f183"),c=r("2266"),u=r("19aa"),l=r("861d"),f=r("d039"),h=r("1c7e"),d=r("d44e"),p=r("7156");e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),m=v?"set":"add",y=i[e],b=y&&y.prototype,_=y,w={},A=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(o(e,"function"!=typeof y||!(g||b.forEach&&!f((function(){(new y).entries().next()})))))_=r.getConstructor(t,e,v,m),s.REQUIRED=!0;else if(o(e,!0)){var S=new _,x=S[m](g?{}:-0,1)!=S,k=f((function(){S.has(1)})),C=h((function(e){new y(e)})),P=!g&&f((function(){var e=new y,t=5;while(t--)e[m](t,t);return!e.has(-0)}));C||(_=t((function(t,r){u(t,_,e);var n=p(new y,t,_);return void 0!=r&&c(r,n[m],{that:n,AS_ENTRIES:v}),n})),_.prototype=b,b.constructor=_),(k||P)&&(A("delete"),A("has"),v&&A("get")),(P||x)&&A(m),g&&b.clear&&delete b.clear}return w[e]=_,n({global:!0,forced:_!=y},w),d(_,e),g||r.setStrong(_,e,v),_}},"6eba":function(e,t,r){var n=r("23e7");n({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"6eeb":function(e,t,r){var n=r("da84"),i=r("9112"),o=r("5135"),a=r("ce4e"),s=r("8925"),c=r("69f3"),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,r,s){var c,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),c=l(r),c.source||(c.source=f.join("string"==typeof t?t:""))),e!==n?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=r:i(e,t,r)):h?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},"6f53":function(e,t,r){var n=r("83ab"),i=r("df75"),o=r("fc6a"),a=r("d1e7").f,s=function(e){return function(t){var r,s=o(t),c=i(s),u=c.length,l=0,f=[];while(u>l)r=c[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},7037:function(e,t,r){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n},7039:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("057f").f,a=i((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:o})},7156:function(e,t,r){var n=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},"72f7":function(e,t,r){"use strict";var n=r("ebb5").exportTypedArrayMethod,i=r("d039"),o=r("da84"),a=o.Uint8Array,s=a&&a.prototype||{},c=[].toString,u=[].join;i((function(){c.call({})}))&&(c=function(){return u.call(this)});var l=s.toString!=c;n("toString",c,l)},"735e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("81d5"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("fill",(function(e){return i.apply(o(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),i=r("5135"),o=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},"74e8":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("83ab"),a=r("8aa7"),s=r("ebb5"),c=r("621a"),u=r("19aa"),l=r("5c6c"),f=r("9112"),h=r("50c4"),d=r("0b25"),p=r("182d"),v=r("c04e"),g=r("5135"),m=r("f5df"),y=r("861d"),b=r("7c73"),_=r("d2bb"),w=r("241c").f,A=r("a078"),S=r("b727").forEach,x=r("2626"),k=r("9bf2"),C=r("06cf"),P=r("69f3"),E=r("7156"),R=P.get,T=P.set,O=k.f,I=C.f,L=Math.round,F=i.RangeError,D=c.ArrayBuffer,j=c.DataView,M=s.NATIVE_ARRAY_BUFFER_VIEWS,N=s.TYPED_ARRAY_TAG,U=s.TypedArray,q=s.TypedArrayPrototype,B=s.aTypedArrayConstructor,W=s.isTypedArray,G="BYTES_PER_ELEMENT",z="Wrong length",Y=function(e,t){var r=0,n=t.length,i=new(B(e))(n);while(n>r)i[r]=t[r++];return i},H=function(e,t){O(e,t,{get:function(){return R(this)[t]}})},X=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},V=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Q=function(e,t){return V(e,t=v(t,!0))?l(2,e[t]):I(e,t)},K=function(e,t,r){return!(V(e,t=v(t,!0))&&y(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?O(e,t,r):(e[t]=r.value,e)};o?(M||(C.f=Q,k.f=K,H(q,"buffer"),H(q,"byteOffset"),H(q,"byteLength"),H(q,"length")),n({target:"Object",stat:!0,forced:!M},{getOwnPropertyDescriptor:Q,defineProperty:K}),e.exports=function(e,t,r){var o=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,l="set"+e,v=i[s],g=v,m=g&&g.prototype,k={},C=function(e,t){var r=R(e);return r.view[c](t*o+r.byteOffset,!0)},P=function(e,t,n){var i=R(e);r&&(n=(n=L(n))<0?0:n>255?255:255&n),i.view[l](t*o+i.byteOffset,n,!0)},I=function(e,t){O(e,t,{get:function(){return C(this,t)},set:function(e){return P(this,t,e)},enumerable:!0})};M?a&&(g=t((function(e,t,r,n){return u(e,g,s),E(function(){return y(t)?X(t)?void 0!==n?new v(t,p(r,o),n):void 0!==r?new v(t,p(r,o)):new v(t):W(t)?Y(g,t):A.call(g,t):new v(d(t))}(),e,g)})),_&&_(g,U),S(w(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=m):(g=t((function(e,t,r,n){u(e,g,s);var i,a,c,l=0,f=0;if(y(t)){if(!X(t))return W(t)?Y(g,t):A.call(g,t);i=t,f=p(r,o);var v=t.byteLength;if(void 0===n){if(v%o)throw F(z);if(a=v-f,a<0)throw F(z)}else if(a=h(n)*o,a+f>v)throw F(z);c=a/o}else c=d(t),a=c*o,i=new D(a);T(e,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new j(i)});while(l<c)I(e,l++)})),_&&_(g,U),m=g.prototype=b(q)),m.constructor!==g&&f(m,"constructor",g),N&&f(m,N,s),k[s]=g,n({global:!0,forced:g!=v,sham:!M},k),G in g||f(g,G,o),G in m||f(m,G,o),x(s)}):e.exports=function(){}},"77a7":function(e,t){var r=1/0,n=Math.abs,i=Math.pow,o=Math.floor,a=Math.log,s=Math.LN2,c=function(e,t,c){var u,l,f,h=new Array(c),d=8*c-t-1,p=(1<<d)-1,v=p>>1,g=23===t?i(2,-24)-i(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for(e=n(e),e!=e||e===r?(l=e!=e?1:0,u=p):(u=o(a(e)/s),e*(f=i(2,-u))<1&&(u--,f*=2),e+=u+v>=1?g/f:g*i(2,1-v),e*f>=2&&(u++,f/=2),u+v>=p?(l=0,u=p):u+v>=1?(l=(e*f-1)*i(2,t),u+=v):(l=e*i(2,v-1)*i(2,t),u=0));t>=8;h[y++]=255&l,l/=256,t-=8);for(u=u<<t|l,d+=t;d>0;h[y++]=255&u,u/=256,d-=8);return h[--y]|=128*m,h},u=function(e,t){var n,o=e.length,a=8*o-t-1,s=(1<<a)-1,c=s>>1,u=a-7,l=o-1,f=e[l--],h=127&f;for(f>>=7;u>0;h=256*h+e[l],l--,u-=8);for(n=h&(1<<-u)-1,h>>=-u,u+=t;u>0;n=256*n+e[l],l--,u-=8);if(0===h)h=1-c;else{if(h===s)return n?NaN:f?-r:r;n+=i(2,t),h-=c}return(f?-1:1)*n*i(2,h-t)};e.exports={pack:c,unpack:u}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a82":function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("9bf2");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:o.f})},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7bb1":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-done-area .label-group .el-submenu__title{font-size:18px;padding:0!important;border-bottom:1px solid #dcdde3}.label-done-area .label-group .el-submenu__title:hover{color:#2e6be6}.label-done-area .label-group .el-menu-item{padding:0!important}.label-done-area .label-group .el-menu.el-menu--inline{border-bottom:1px solid #dcdde3}.label-done-area .label-group .title-con.el-dropdown{width:280px}.label-done-area .label-group .el-icon-arrow-down.el-icon--right{position:absolute;top:50%;right:20px;transform:translateY(-50%)}.label-done-area .label-group .el-submenu.is-opened .el-submenu__title{background:#fff!important;border-bottom:1px solid #dcdde3}.label-done-area .label-group .el-menu.el-menu--inline li{background:#fbfcfd!important}.label-done-area .label-group .el-menu-item-group__title{height:0!important;padding:0!important}.label-done-area .label-group .el-submenu.is-active>.el-submenu__title,.label-done-area .label-group .el-submenu.is-active>.el-submenu__title i{color:#2e6be6!important}.label-done-area .label-group .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.label-done-area .label-group .label-item-btn{line-height:50px;width:280px;background:none;color:#222;border:none;cursor:pointer;padding:0;text-align:left;font-size:16px}",""]),e.exports=t},"7c73":function(e,t,r){var n,i=r("825a"),o=r("37e8"),a=r("7839"),s=r("d012"),c=r("1be4"),u=r("cc12"),l=r("f772"),f=">",h="<",d="prototype",p="script",v=l("IE_PROTO"),g=function(){},m=function(e){return h+p+f+e+h+"/"+p+f},y=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),r="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},_=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=n?y(n):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[d]=i(e),r=new g,g[d]=null,r[v]=e):r=_(),void 0===t?r:o(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").find,o=r("44d2"),a=r("ae40"),s="find",c=!0,u=a(s);s in[]&&Array(1)[s]((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!u},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("9ed3"),o=r("e163"),a=r("d2bb"),s=r("d44e"),c=r("9112"),u=r("6eeb"),l=r("b622"),f=r("c430"),h=r("3f8c"),d=r("ae93"),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,r,l,d,w,A){i(r,t,l);var S,x,k,C=function(e){if(e===d&&O)return O;if(!v&&e in R)return R[e];switch(e){case m:return function(){return new r(this,e)};case y:return function(){return new r(this,e)};case b:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",E=!1,R=e.prototype,T=R[g]||R["@@iterator"]||d&&R[d],O=!v&&T||C(d),I="Array"==t&&R.entries||T;if(I&&(S=o(I.call(new e)),p!==Object.prototype&&S.next&&(f||o(S)===p||(a?a(S,p):"function"!=typeof S[g]&&c(S,g,_)),s(S,P,!0,!0),f&&(h[P]=_))),d==y&&T&&T.name!==y&&(E=!0,O=function(){return T.call(this)}),f&&!A||R[g]===O||c(R,g,O),h[t]=O,d)if(x={values:C(y),keys:w?O:C(m),entries:C(b)},A)for(k in x)(v||E||!(k in R))&&u(R,k,x[k]);else n({target:t,proto:!0,forced:v||E},x);return x}},"7e12":function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseFloat,s=1/a(o+"-0")!==-1/0;e.exports=s?function(e){var t=i(String(e)),r=a(t);return 0===r&&"-"==t.charAt(0)?-0:r}:a},"7f9a":function(e,t,r){var n=r("da84"),i=r("8925"),o=n.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"802f":function(e,t,r){var n=r("7bb1");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("623d3298",n,!0,{sourceMap:!1,shadowMode:!1})},"81d5":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),o=r("50c4");e.exports=function(e){var t=n(this),r=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,u=void 0===c?r:i(c,r);while(u>s)t[s++]=e;return t}},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"82da":function(e,t,r){var n=r("23e7"),i=r("ebb5"),o=i.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:i.isView})},"82f8":function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").includes,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("c04e"),i=r("9bf2"),o=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},"843c":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").end,o=r("9a0c");n({target:"String",proto:!0,forced:o},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"857a":function(e,t,r){var n=r("1d80"),i=/"/g;e.exports=function(e,t,r,o){var a=String(n(e)),s="<"+t;return""!==r&&(s+=" "+r+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+t+">"}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"86b6":function(e,t,r){"use strict";r("103f")},8875:function(e,t,r){var n,i,o;(function(r,a){i=[],n=a,o="function"===typeof n?n.apply(t,i):n,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),c=s&&s[1]||!1,u=s&&s[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===l&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===c)return f[h];if(c===l&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,r){var n=r("c6cd"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},"8a59":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},"8a79":function(e,t,r){"use strict";var n=r("23e7"),i=r("06cf").f,o=r("50c4"),a=r("5a34"),s=r("1d80"),c=r("ab13"),u=r("c430"),l="".endsWith,f=Math.min,h=c("endsWith"),d=!u&&!h&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!d&&!h},{endsWith:function(e){var t=String(s(this));a(e);var r=arguments.length>1?arguments[1]:void 0,n=o(t.length),i=void 0===r?n:f(o(r),n),c=String(e);return l?l.call(t,c,i):t.slice(i-c.length,i)===c}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8aa7":function(e,t,r){var n=r("da84"),i=r("d039"),o=r("1c7e"),a=r("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},"8ba4":function(e,t,r){var n=r("23e7"),i=r("5e89");n({target:"Number",stat:!0},{isInteger:i})},"8bbf":function(t,r){t.exports=e},"8ef7":function(e,t,r){e.exports=r.p+"fonts/iconfont.3303ffae.ttf"},"90d7":function(e,t,r){var n=r("23e7"),i=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9129:function(e,t,r){var n=r("23e7");n({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},9152:function(e,t){
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ttd-common"]=t(require("vue")):e["ttd-common"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){function t(t){for(var r,i,o=t[0],a=t[1],s=0,c=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&c.push(n[i][0]),n[i]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);u&&u(t);while(c.length)c.shift()()}var r={},n={0:0};function i(e){return o.p+"ttd-common.umd.min."+({1:"vendors~pdfjsWorker"}[e]||e)+".js"}function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(e){var t=[],r=n[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,i){r=n[e]=[t,i]}));t.push(r[2]=a);var s,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=i(e);var u=new Error;s=function(t){c.onerror=c.onload=null,clearTimeout(l);var r=n[e];if(0!==r){if(r){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,r[1](u)}n[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:c})}),12e4);c.onerror=c.onload=s,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=r,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var a=("undefined"!==typeof self?self:this)["webpackJsonpttd_common"]=("undefined"!==typeof self?self:this)["webpackJsonpttd_common"]||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var u=s;return o(o.s="fb15")}({0:function(e,t){},"00ee":function(e,t,r){var n=r("b622"),i=n("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},"0366":function(e,t,r){var n=r("1c0b");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},"03bd":function(e,t,r){"use strict";r("4403")},"0538":function(e,t,r){"use strict";var n=r("1c0b"),i=r("861d"),o=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=o.call(arguments,1),a=function(){var n=r.concat(o.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return i(t.prototype)&&(a.prototype=t.prototype),a}},"057f":function(e,t,r){var n=r("fc6a"),i=r("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},"06cf":function(e,t,r){var n=r("83ab"),i=r("d1e7"),o=r("5c6c"),a=r("fc6a"),s=r("c04e"),c=r("5135"),u=r("0cfb"),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(r){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},"0744":function(e,t,r){"use strict";r("689a")},"07ac":function(e,t,r){var n=r("23e7"),i=r("6f53").values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},"0a78":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".pdf-view[data-v-c340782e]{height:100%;max-width:100%}.pdf-view-control[data-v-c340782e]{text-align:center;margin:10px 0}.pdf-view-area[data-v-c340782e]{position:relative;margin:0 auto;min-height:700px}.pdf-view-area .canvasstyle[data-v-c340782e]{display:block;margin:0 auto}.pdf-view-area .label-area[data-v-c340782e]{position:absolute;right:0;bottom:0;top:0;left:0}.pdf-view-empty[data-v-c340782e]{text-align:center;line-height:150px;font-size:14px;color:#999}",""]),e.exports=t},"0b16":function(e,t,r){"use strict";var n=r("1985"),i=r("35e8");function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=S,t.resolveObject=x,t.format=A,t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),f=["'"].concat(l),h=["%","/","?",";","#"].concat(f),d=["/","?","#"],p=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r("b383");function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}function A(e){return i.isString(e)&&(e=w(e)),e instanceof o?e.format():o.prototype.format.call(e)}function S(e,t){return w(e,!1,!0).resolve(t)}function x(e,t){return e?w(e,!1,!0).resolveObject(t):t}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(s),l=/\\/g;u[0]=u[0].replace(l,"/"),e=u.join(s);var w=e;if(w=w.trim(),!r&&1===e.split("#").length){var A=c.exec(w);if(A)return this.path=w,this.href=w,this.pathname=A[1],A[2]?(this.search=A[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=a.exec(w);if(S){S=S[0];var x=S.toLowerCase();this.protocol=x,w=w.substr(S.length)}if(r||S||w.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===w.substr(0,2);!k||S&&y[S]||(w=w.substr(2),this.slashes=!0)}if(!y[S]&&(k||S&&!b[S])){for(var C,P,E=-1,R=0;R<d.length;R++){var T=w.indexOf(d[R]);-1!==T&&(-1===E||T<E)&&(E=T)}P=-1===E?w.lastIndexOf("@"):w.lastIndexOf("@",E),-1!==P&&(C=w.slice(0,P),w=w.slice(P+1),this.auth=decodeURIComponent(C)),E=-1;for(R=0;R<h.length;R++){T=w.indexOf(h[R]);-1!==T&&(-1===E||T<E)&&(E=T)}-1===E&&(E=w.length),this.host=w.slice(0,E),w=w.slice(E),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var I=this.hostname.split(/\./),L=(R=0,I.length);R<L;R++){var F=I[R];if(F&&!F.match(v)){for(var D="",j=0,M=F.length;j<M;j++)F.charCodeAt(j)>127?D+="x":D+=F[j];if(!D.match(v)){var N=I.slice(0,R),U=I.slice(R+1),q=F.match(g);q&&(N.push(q[1]),U.unshift(q[2])),U.length&&(w="/"+U.join(".")+w),this.hostname=N.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",W=this.hostname||"";this.host=W+B,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!m[x])for(R=0,L=f.length;R<L;R++){var G=f[R];if(-1!==w.indexOf(G)){var z=encodeURIComponent(G);z===G&&(z=escape(G)),w=w.split(G).join(z)}}var Y=w.indexOf("#");-1!==Y&&(this.hash=w.substr(Y),w=w.slice(0,Y));var H=w.indexOf("?");if(-1!==H?(this.search=w.substr(H),this.query=w.substr(H+1),t&&(this.query=_.parse(this.query)),w=w.slice(0,H)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var X=this.search||"";this.path=B+X}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=_.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+o+r+s+n},o.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(r[l]=e[l])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var f=Object.keys(e),h=0;h<f.length;h++){var d=f[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||y[e.protocol])r.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var v=r.pathname||"",g=r.search||"";r.path=v+g}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||m||r.host&&e.pathname,A=w,S=r.pathname&&r.pathname.split("/")||[],x=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(x&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===S[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=p;else if(p.length)S||(S=[]),S.pop(),S=S.concat(p),r.search=e.search,r.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(x){r.hostname=r.host=S.shift();var k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=S.slice(-1)[0],P=(r.host||e.host||S.length>1)&&("."===C||".."===C)||""===C,E=0,R=S.length;R>=0;R--)C=S[R],"."===C?S.splice(R,1):".."===C?(S.splice(R,1),E++):E&&(S.splice(R,1),E--);if(!w&&!A)for(;E--;E)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),P&&"/"!==S.join("/").substr(-1)&&S.push("");var T=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(x){r.hostname=r.host=T?"":S.length?S.shift():"";k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");k&&(r.auth=k.shift(),r.host=r.hostname=k.shift())}return w=w||r.host&&S.length,w&&!T&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0b25":function(e,t,r){var n=r("a691"),i=r("50c4");e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw RangeError("Wrong length or index");return r}},"0c47":function(e,t,r){var n=r("da84"),i=r("d44e");i(n.JSON,"JSON",!0)},"0cb2":function(e,t,r){var n=r("7b0b"),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,r,c,u,l){var f=r+e.length,h=c.length,d=s;return void 0!==u&&(u=n(u),d=a),o.call(l,d,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(f);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>h){var l=i(s/10);return 0===l?n:l<=h?void 0===c[l-1]?o.charAt(1):c[l-1]+o.charAt(1):n}a=c[s-1]}return void 0===a?"":a}))}},"0ccb":function(e,t,r){var n=r("50c4"),i=r("1148"),o=r("1d80"),a=Math.ceil,s=function(e){return function(t,r,s){var c,u,l=String(o(t)),f=l.length,h=void 0===s?" ":String(s),d=n(r);return d<=f||""==h?l:(c=d-f,u=i.call(h,a(c/h.length)),u.length>c&&(u=u.slice(0,c)),e?l+u:u+l)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("cc12");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,r){var n=r("6eeb"),i=Date.prototype,o="Invalid Date",a="toString",s=i[a],c=i.getTime;new Date(NaN)+""!=o&&n(i,a,(function(){var e=c.call(this);return e===e?s.call(this):o}))},"0d3b":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("c430"),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},"0e90":function(e,t,r){"use strict";r("15e0")},1:function(e,t){},"10d1":function(e,t,r){"use strict";var n,i=r("da84"),o=r("e2cc"),a=r("f183"),s=r("6d61"),c=r("acac"),u=r("861d"),l=r("69f3").enforce,f=r("7f9a"),h=!i.ActiveXObject&&"ActiveXObject"in i,d=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",p,c);if(f&&h){n=c.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,m=g["delete"],y=g.has,b=g.get,_=g.set;o(g,{delete:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),m.call(this,e)||t.frozen["delete"](e)}return m.call(this,e)},has:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new n),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!d(e)){var r=l(this);r.frozen||(r.frozen=new n),y.call(this,e)?_.call(this,e,t):r.frozen.set(e,t)}else _.call(this,e,t);return this}})}},1148:function(e,t,r){"use strict";var n=r("a691"),i=r("1d80");e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},1276:function(e,t,r){"use strict";var n=r("d784"),i=r("44e7"),o=r("825a"),a=r("1d80"),s=r("4840"),c=r("8aa5"),u=r("50c4"),l=r("14c3"),f=r("9263"),h=r("d039"),d=[].push,p=Math.min,v=4294967295,g=!h((function(){return!RegExp(v,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),o=void 0===r?v:r>>>0;if(0===o)return[];if(void 0===e)return[n];if(!i(e))return t.call(n,e,o);var s,c,u,l=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,h+"g");while(s=f.call(g,n)){if(c=g.lastIndex,c>p&&(l.push(n.slice(p,s.index)),s.length>1&&s.index<n.length&&d.apply(l,s.slice(1)),u=s[0].length,p=c,l.length>=o))break;g.lastIndex===s.index&&g.lastIndex++}return p===n.length?!u&&g.test("")||l.push(""):l.push(n.slice(p)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,r):n.call(String(i),t,r)},function(e,i){var a=r(n,e,this,i,n!==t);if(a.done)return a.value;var f=o(e),h=String(this),d=s(f,RegExp),m=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),b=new d(g?f:"^(?:"+f.source+")",y),_=void 0===i?v:i>>>0;if(0===_)return[];if(0===h.length)return null===l(b,h)?[h]:[];var w=0,A=0,S=[];while(A<h.length){b.lastIndex=g?A:0;var x,k=l(b,g?h:h.slice(A));if(null===k||(x=p(u(b.lastIndex+(g?0:A)),h.length))===w)A=c(h,A,m);else{if(S.push(h.slice(w,A)),S.length===_)return S;for(var C=1;C<=k.length-1;C++)if(S.push(k[C]),S.length===_)return S;A=w=x}}return S.push(h.slice(w)),S}]}),!g)},"130f":function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("2cf4"),a=!i.setImmediate||!i.clearImmediate;n({global:!0,bind:!0,enumerable:!0,forced:a},{setImmediate:o.set,clearImmediate:o.clear})},"131a":function(e,t,r){var n=r("23e7"),i=r("d2bb");n({target:"Object",stat:!0},{setPrototypeOf:i})},"143c":function(e,t,r){var n=r("74e8");n("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"145e":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),o=r("50c4"),a=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=o(r.length),c=i(e,s),u=i(t,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:i(l,s))-u,s-c),h=1;u<c&&c<u+f&&(h=-1,u+=f-1,c+=f-1);while(f-- >0)u in r?r[c]=r[u]:delete r[c],c+=h,u+=h;return r}},1495:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".CryptoAgent-wrapper[data-v-9702b0e8]{height:0;width:0;position:absoute;left:-5000px}",""]),e.exports=t},"14c3":function(e,t,r){var n=r("c6b6"),i=r("9263");e.exports=function(e,t){var r=e.exec;if("function"===typeof r){var o=r.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"159b":function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("17c2"),a=r("9112");for(var s in i){var c=n[s],u=c&&c.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(l){u.forEach=o}}},"15e0":function(e,t,r){var n=r("5652");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("8ee3d4ec",n,!0,{sourceMap:!1,shadowMode:!1})},"170b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("50c4"),o=r("23cb"),a=r("4840"),s=n.aTypedArray,c=n.exportTypedArrayMethod;c("subarray",(function(e,t){var r=s(this),n=r.length,c=o(e,n);return new(a(r,r.constructor))(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,i((void 0===t?n:o(t,n))-c))}))},"17c2":function(e,t,r){"use strict";var n=r("b727").forEach,i=r("a640"),o=r("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,r){var n=r("f8cd");e.exports=function(e,t){var r=n(e);if(r%t)throw RangeError("Wrong offset");return r}},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=36,l=1,f=26,h=38,d=700,p=72,v=128,g="-",m=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-l,A=Math.floor,S=String.fromCharCode;function x(e){throw new RangeError(_[e])}function k(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function C(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(b,".");var i=e.split("."),o=k(i,t).join(".");return n+o}function P(e){var t,r,n=[],i=0,o=e.length;while(i<o)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function E(e){return k(e,(function(e){var t="";return e>65535&&(e-=65536,t+=S(e>>>10&1023|55296),e=56320|1023&e),t+=S(e),t})).join("")}function R(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function O(e,t,r){var n=0;for(e=r?A(e/d):e>>1,e+=A(e/t);e>w*f>>1;n+=u)e=A(e/w);return A(n+(w+1)*e/(e+h))}function I(e){var t,r,n,i,o,a,s,h,d,m,y=[],b=e.length,_=0,w=v,S=p;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&x("not-basic"),y.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<b;){for(o=_,a=1,s=u;;s+=u){if(i>=b&&x("invalid-input"),h=R(e.charCodeAt(i++)),(h>=u||h>A((c-_)/a))&&x("overflow"),_+=h*a,d=s<=S?l:s>=S+f?f:s-S,h<d)break;m=u-d,a>A(c/m)&&x("overflow"),a*=m}t=y.length+1,S=O(_-o,t,0==o),A(_/t)>c-w&&x("overflow"),w+=A(_/t),_%=t,y.splice(_++,0,w)}return E(y)}function L(e){var t,r,n,i,o,a,s,h,d,m,y,b,_,w,k,C=[];for(e=P(e),b=e.length,t=v,r=0,o=p,a=0;a<b;++a)y=e[a],y<128&&C.push(S(y));n=i=C.length,i&&C.push(g);while(n<b){for(s=c,a=0;a<b;++a)y=e[a],y>=t&&y<s&&(s=y);for(_=n+1,s-t>A((c-r)/_)&&x("overflow"),r+=(s-t)*_,t=s,a=0;a<b;++a)if(y=e[a],y<t&&++r>c&&x("overflow"),y==t){for(h=r,d=u;;d+=u){if(m=d<=o?l:d>=o+f?f:d-o,h<m)break;k=h-m,w=u-m,C.push(S(T(m+k%w,0))),h=A(k/w)}C.push(S(T(h,0))),o=O(r,_,n==i),r=0,++n}++r,++t}return C.join("")}function F(e){return C(e,(function(e){return m.test(e)?I(e.slice(4).toLowerCase()):e}))}function D(e){return C(e,(function(e){return y.test(e)?"xn--"+L(e):e}))}s={version:"1.4.1",ucs2:{decode:P,encode:E},decode:I,encode:L,toASCII:D,toUnicode:F},i=function(){return s}.call(t,r,t,e),void 0===i||(e.exports=i)})()}).call(this,r("62e4")(e),r("c8ba"))},"19aa":function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},"1be4":function(e,t,r){var n=r("d066");e.exports=n("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,r){var n=r("b622"),i=n("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var n={};n[i]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(c){}return r}},"1cdc":function(e,t,r){var n=r("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d1c":function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("37e8");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:o})},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1dde":function(e,t,r){var n=r("d039"),i=r("b622"),o=r("2d00"),a=i("species");e.exports=function(e){return o>=51||!n((function(){var t=[],r=t.constructor={};return r[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1de5":function(e,t,r){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1fb5":function(e,t,r){"use strict";t.byteLength=l,t.toByteArray=h,t.fromByteArray=v;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function f(e,t,r){return 3*(t+r)/4-r}function h(e){var t,r,n=u(e),a=n[0],s=n[1],c=new o(f(e,a,s)),l=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c}function d(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(d(n));return i.join("")}function v(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(p(e,s,s+a>c?c:s+a));return 1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fe2":function(e,t,r){"use strict";var n=r("6d61"),i=r("acac");n("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},2:function(e,t){},"219c":function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].sort;o("sort",(function(e){return a.call(i(this),e)}))},2266:function(e,t,r){var n=r("825a"),i=r("e95a"),o=r("50c4"),a=r("0366"),s=r("35a1"),c=r("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,f,h,d,p,v,g,m=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),w=a(t,m,1+y+_),A=function(e){return l&&c(l),new u(!0,e)},S=function(e){return y?(n(e),_?w(e[0],e[1],A):w(e[0],e[1])):_?w(e,A):w(e)};if(b)l=e;else{if(f=s(e),"function"!=typeof f)throw TypeError("Target is not iterable");if(i(f)){for(h=0,d=o(e.length);d>h;h++)if(p=S(e[h]),p&&p instanceof u)return p;return new u(!1)}l=f.call(e)}v=l.next;while(!(g=v.call(l)).done){try{p=S(g.value)}catch(x){throw c(l),x}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},2340:function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAsgAAsAAAAAERQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8g04JY21hcAAAAYAAAADDAAACaPEEbSNnbHlmAAACRAAABkQAAAkwJEzYcWhlYWQAAAiIAAAAMQAAADYcMD0BaGhlYQAACLwAAAAgAAAAJAgYA8xobXR4AAAI3AAAABcAAAA4OD//9GxvY2EAAAj0AAAAHgAAAB4RoA9kbWF4cAAACRQAAAAfAAAAIAEfAGluYW1lAAAJNAAAAUUAAAJtPlT+fXBvc3QAAAp8AAAApAAAAN4mZI1+eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWGcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBye8b7hZW7438AQw9zG0AAUZgTJAQDhMwwNeJzlkjEOglAMhn8EFZWXOBrjwMTklWBiY4BzODNwCBcWJ8/zw8AdsH1lMEZPYJvvJa99eW3+FsAaQChchQgIngig9pBo4OMh9j4e4Sb3E44SiemYMmPBhi079kM5VpObZ2DJ5Kw/M18tkB/Nz7i8uXa2wUpqH7BFLO8Sqeuw811ufvz2T5b4877cnCpv6EyZGqIhmBmiJpgbOlMWhigM1oZoDTaGqA62hu4CO0Mrszd0d4bS0B7GypA5YXIGoheF80ZLAHicnVZdjBNVFL5nbmem3Zlpe2emM0vXbTvttlNcWHHbzqzAlmIiMSZEiIaASDQxBoM84F/WBNESDCQ+iD8koD4Y5UUJJBCJGiPuJpiQaEgMPvCzDyCguDEYfVEj7cVzO6ys+GJsmnvvuXPON98599xzhlBCrm+n1+lLJE4KZIwQYCXmq27ol0fArxTVJKiK7ebAdUbDJoRBHZSiLx7Ve+Jo75GNalJ11a6xK1fG8NGr6x/55pH1r1aq1ZtLfmDV4VUrJ7xi0ZtYeXMJd8IafqBnuPsWi2jJtVssoiXBXwy5t2OEtolGXLKCPECIXCF+QEKHuArxkR8SRQdyYI06gmgSUqCoSToIpYbgvwya0KhX0B+1qKhKplQPcBeVbaVUrPRUJDLNL8gyFKanoSDL/ML059dk+drnvfFEaXHGcQFShs3mJVIJdRVLzM9piWSfoQ9mskM6u68/4ywf6Pe8fmeQyXZ7LhACL5tFwlE6YjoszGUXMTvlxK2sm9D14XlsQU7XswbLJ3QN39M/6rec7Dy+xlvkDTr9aaOPEAnj8CWdoi3ikdsxBui0OJqccFU470aBGEFnoyBADkaDeqWoSOSLjgy7nounVTm+aSvEfjh46HtZ2ropLqvp+HO7JLnLL0GwutFYHSyVu8d2nF5M5XQq1jg+cfCHGGpPHG/EUmmZLj6941iX9s8XisHs2XxCf6WLcZ0g95GHMbNKs68tV/xyBU/CyYMaBncgV5SS4Fq53omMQEn1QzGngIaqUKOKq+SRtis7QWjVabmSBMeV1bJvBRUEkGn8Xqg2q/gHP2HwMda3QQX1jTeHaHLy/j7b+sUwYQxs44jBJCv5urLNYNQ2ts5/fVyJJU4skShItViyT9KMDIw9yR8zbMoMeFflw9WfBNBy2CeN5QV+9WgfFMB4JuEkDhw/ZBnvvMg8YAjduWgwMMC6La09bEAmi4J0d9+jmht/n8+ocVl5O6HDIjANmjO6e3xID9hQfWh4AgKE+nD1bQQwZp9SoPeSNAYN7xnesQRU6njJwLGlX/gWtrCYhif4vnRxIYPX0rCWP8WKC03YCBvNhUWG0gjG+xacANNZTSACXlxEgzS8JnD4PnhC4PAtafgAdgsc/hZ/S+CgJHAUxJmilzCvVLxhKWIRhzQQPlPLlDI1ppYatZDVGMVZrjXCFPju7H0TKVfDTFOjXMQNKLTbU61WqzfAoDQ0VB4vWKf27T8bi53dv+lgHYLm189PdmS5M3n0D1MqoB602q0Wn4LWdTL1rBSGd01IeyYpqqMRPL6msPFZQG20iX1/+AbfSXrqP/It5yFUI24Rz9LNq4Ibt/LtbBkqLy1Y3+6dJVyTeoS7sVh38ujv1v8grPbq1zKsXymSJwvIXb0a9iDeYA85MKTiISOWBIqih5wYih5u+1ibGKaF4zJbwTo9Dj0hkwR8clMAodaEUSeDaiX6XecFvwHQ8OnL1TpAPQGlbOezbAlwpitwPmuYJmatya8ZJhtgAKY+u+DXdAtY1jSNtgBYEQF1PvMbdEeE0Pkjmt+xdNhjMGbwzbrVRIhmkrFkUzfPmkZT7DcNk/84V4nQ639iHIDuxBPLkyWiivuB5FdiqiK5TizE1hPUy39nEjpWy9i4Nw41UU+GRQkvKljTi4rt0Ktr124eemU3f2/ndn1iG2zYe8SqV7ono2PrjfzjtlU127Zl2W2zarVt07TWrd0LG7ZN6Nt38vd2vzK0+bBVqa+bNcAR1vxD3xYIvTrX406Qu0b6sYMuIGQu03CuH3f2HLkDqCeI1jxBHuYSO/lv4tbhr/hH4oWwEt9fm8No478JW0dgKfJCjnN6Yxq7Qo3cQ4hVE31tGDJYCDBLmlCuIUfMEyFhu6sHEMlqaQRzaAmGNZBHnUG4YSfyrAkbrtrZrH11wB+AhvTyjEiEbDU7g5swbGdFVlwWCpeznaetgUi3EkKWttFiWojTUe7MWAMD1gxudrcAqt/AQdsEqgj0oILqRHyftPH7pN2Lbxm9wN6OHR77vELKWNiiMolFTo7KZFTk4jLkzpyBnKLwi2fO8IvU0DQu6Z6rAde97nmtoMPPmpvXualB+xw/jx3eO3cOPGzM58f1gs77NBd1ftMsNJyn5dHwip4nfwFYrApWeJxjYGRgYADiDbNnCMTz23xl4GZhAIE72X/qYfT/X/8bWOyZ24BcDgYmkCgAZmQNdgAAAHicY2BkYGBu+N/AEMNi9//X//8s9gxAERTABwCrAgbreJxjYWBgYCGE7UD0/18QDBEDADjGBGkAAAAAAABeAOIBLAHGAeoCDgJmAr4DQgOgA+wEUASYAAB4nGNgZGBg4GOIZWBnAAEmIOYCQgaG/2A+AwATegGJAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nG2NzQ6CMBCEu4r8FEXj2YcQNb4OWVTaNWSL0Ebs01tC4sk5bCY7mW/EQsyS4r8KWMASIlhBDAmkkIGEHNawgQK24kA3w41h6zV5Z2pC47Xj4+lcXq6RfrRd/iT0SF4bVnvrOkKeP4OmGmk3ASrse/OuelLaypCyNS7QstEhBxyy/Lky/4Q7damluEFWd0wGZ8awnL5C1BGrWAVTkxBfUeY8aQ=="},"23cb":function(e,t,r){var n=r("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},"23dc":function(e,t,r){var n=r("d44e");n(Math,"Math",!0)},"23e7":function(e,t,r){var n=r("da84"),i=r("06cf").f,o=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),u=r("94ca");e.exports=function(e,t){var r,l,f,h,d,p,v=e.target,g=e.global,m=e.stat;if(l=g?n:m?n[v]||s(v,{}):(n[v]||{}).prototype,l)for(f in t){if(d=t[f],e.noTargetGet?(p=i(l,f),h=p&&p.value):h=l[f],r=u(g?f:v+(m?".":"#")+f,e.forced),!r&&void 0!==h){if(typeof d===typeof h)continue;c(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(l,f,d,e)}}},"241c":function(e,t,r){var n=r("ca84"),i=r("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},"24fb":function(e,t,r){"use strict";function n(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"===typeof btoa){var o=i(n),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(r," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);n&&i[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},2532:function(e,t,r){"use strict";var n=r("23e7"),i=r("5a34"),o=r("1d80"),a=r("ab13");n({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},"25a1":function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").right,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduceRight",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(e,t,r){"use strict";var n=r("6eeb"),i=r("825a"),o=r("d039"),a=r("ad6d"),s="toString",c=RegExp.prototype,u=c[s],l=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(l||f)&&n(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),r=e.flags,n=String(void 0===r&&e instanceof RegExp&&!("flags"in c)?a.call(e):r);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,r){"use strict";var n=r("d066"),i=r("9bf2"),o=r("b622"),a=r("83ab"),s=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},"26e9":function(e,t,r){"use strict";var n=r("23e7"),i=r("e8b5"),o=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),o.call(this)}})},"277d":function(e,t,r){var n=r("23e7"),i=r("e8b5");n({target:"Array",stat:!0},{isArray:i})},2954:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4840"),o=r("d039"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod,u=[].slice,l=o((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var r=u.call(a(this),e,t),n=i(this,this.constructor),o=0,c=r.length,l=new(s(n))(c);while(c>o)l[o]=r[o++];return l}),l)},"2a62":function(e,t,r){var n=r("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return n(t.call(e)).value}},"2a90":function(e,t,r){var n=r("e017");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("baf8cd94",n,!0,{sourceMap:!1,shadowMode:!1})},"2b3d":function(e,t,r){"use strict";r("3ca3");var n,i=r("23e7"),o=r("83ab"),a=r("0d3b"),s=r("da84"),c=r("37e8"),u=r("6eeb"),l=r("19aa"),f=r("5135"),h=r("60da"),d=r("4df4"),p=r("6547").codeAt,v=r("5fb2"),g=r("d44e"),m=r("9861"),y=r("69f3"),b=s.URL,_=m.URLSearchParams,w=m.getState,A=y.set,S=y.getterFor("URL"),x=Math.floor,k=Math.pow,C="Invalid authority",P="Invalid scheme",E="Invalid host",R="Invalid port",T=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,I=/\d/,L=/^(0x|0X)/,F=/^[0-7]+$/,D=/^\d+$/,j=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\u0009\u000A\u000D]/g,B=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return E;if(r=G(t.slice(1,-1)),!r)return E;e.host=r}else if(Z(e)){if(t=v(t),M.test(t))return E;if(r=W(t),null===r)return E;e.host=r}else{if(N.test(t))return E;for(r="",n=d(t),i=0;i<n.length;i++)r+=K(n[i],H);e.host=r}},W=function(e){var t,r,n,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),t=c.length,t>4)return e;for(r=[],n=0;n<t;n++){if(i=c[n],""==i)return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=L.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?D:8==o?F:j).test(i))return e;a=parseInt(i,o)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*k(256,3-n);return s},G=function(e){var t,r,n,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,u++,l=u}while(h()){if(8==u)return;if(":"!=h()){t=r=0;while(r<4&&j.test(h()))t=16*t+parseInt(h(),16),f++,r++;if("."==h()){if(0==r)return;if(f-=r,u>6)return;n=0;while(h()){if(i=null,n>0){if(!("."==h()&&n<4))return;f++}if(!I.test(h()))return;while(I.test(h())){if(o=parseInt(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;c[u++]=t}else{if(null!==l)return;f++,u++,l=u}}if(null!==l){a=u-l,u=7;while(0!=u&&a>0)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s}else if(8!=u)return;return c},z=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t},Y=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=z(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},H={},X=h({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),V=h({},X,{"#":1,"?":1,"{":1,"}":1}),Q=h({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var r=p(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return f(J,e.scheme)},$=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&T.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},ce={},ue={},le={},fe={},he={},de={},pe={},ve={},ge={},me={},ye={},be={},_e={},we={},Ae={},Se={},xe={},ke={},Ce={},Pe=function(e,t,r,i){var o,a,s,c,u=r||ae,l=0,h="",p=!1,v=!1,g=!1;r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(q,""),o=d(t);while(l<=o.length){switch(a=o[l],u){case ae:if(!a||!T.test(a)){if(r)return P;u=ce;continue}h+=a.toLowerCase(),u=se;break;case se:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return P;h="",u=ce,l=0;continue}if(r&&(Z(e)!=f(J,h)||"file"==h&&($(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=be:Z(e)&&i&&i.scheme==e.scheme?u=ue:Z(e)?u=de:"/"==o[l+1]?(u=le,l++):(e.cannotBeABaseURL=!0,e.path.push(""),u=xe)}break;case ce:if(!i||i.cannotBeABaseURL&&"#"!=a)return P;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=Ce;break}u="file"==i.scheme?be:fe;continue;case ue:if("/"!=a||"/"!=o[l+1]){u=fe;continue}u=pe,l++;break;case le:if("/"==a){u=ve;break}u=Se;continue;case fe:if(e.scheme=i.scheme,a==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))u=he;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=Se;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ce}break;case he:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=Se;continue}u=ve}else u=pe;break;case de:if(u=pe,"/"!=a||"/"!=h.charAt(l+1))continue;l++;break;case pe:if("/"!=a&&"\\"!=a){u=ve;continue}break;case ve:if("@"==a){p&&(h="%40"+h),p=!0,s=d(h);for(var m=0;m<s.length;m++){var y=s[m];if(":"!=y||g){var b=K(y,Q);g?e.password+=b:e.username+=b}else g=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(p&&""==h)return C;l-=d(h).length+1,h="",u=ge}else h+=a;break;case ge:case me:if(r&&"file"==e.scheme){u=we;continue}if(":"!=a||v){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)){if(Z(e)&&""==h)return E;if(r&&""==h&&($(e)||null!==e.port))return;if(c=B(e,h),c)return c;if(h="",u=Ae,r)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return E;if(c=B(e,h),c)return c;if(h="",u=ye,r==me)return}break;case ye:if(!I.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Z(e)||r){if(""!=h){var _=parseInt(h,10);if(_>65535)return R;e.port=Z(e)&&_===J[e.scheme]?null:_,h=""}if(r)return;u=Ae;continue}return R}h+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)u=_e;else{if(!i||"file"!=i.scheme){u=Se;continue}if(a==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ke;else{if("#"!=a){re(o.slice(l).join(""))||(e.host=i.host,e.path=i.path.slice(),ne(e)),u=Se;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=Ce}}break;case _e:if("/"==a||"\\"==a){u=we;break}i&&"file"==i.scheme&&!re(o.slice(l).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=Se;continue;case we:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(h))u=Se;else if(""==h){if(e.host="",r)return;u=Ae}else{if(c=B(e,h),c)return c;if("localhost"==e.host&&(e.host=""),r)return;h="",u=Ae}continue}h+=a;break;case Ae:if(Z(e)){if(u=Se,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(u=Se,"/"!=a))continue}else e.fragment="",u=Ce;else e.query="",u=ke;break;case Se:if(a==n||"/"==a||"\\"==a&&Z(e)||!r&&("?"==a||"#"==a)){if(oe(h)?(ne(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(h)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",u=ke):"#"==a&&(e.fragment="",u=Ce)}else h+=K(a,V);break;case xe:"?"==a?(e.query="",u=ke):"#"==a?(e.fragment="",u=Ce):a!=n&&(e.path[0]+=K(a,H));break;case ke:r||"#"!=a?a!=n&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,H)):(e.fragment="",u=Ce);break;case Ce:a!=n&&(e.fragment+=K(a,X));break}l++}},Ee=function(e){var t,r,n=l(this,Ee,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=A(n,{type:"URL"});if(void 0!==i)if(i instanceof Ee)t=S(i);else if(r=Pe(t={},String(i)),r)throw TypeError(r);if(r=Pe(s,a,null,t),r)throw TypeError(r);var c=s.searchParams=new _,u=w(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},o||(n.href=Te.call(n),n.origin=Oe.call(n),n.protocol=Ie.call(n),n.username=Le.call(n),n.password=Fe.call(n),n.host=De.call(n),n.hostname=je.call(n),n.port=Me.call(n),n.pathname=Ne.call(n),n.search=Ue.call(n),n.searchParams=qe.call(n),n.hash=Be.call(n))},Re=Ee.prototype,Te=function(){var e=S(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",$(e)&&(u+=r+(n?":"+n:"")+"@"),u+=Y(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},Oe=function(){var e=S(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&Z(e)?t+"://"+Y(e.host)+(null!==r?":"+r:""):"null"},Ie=function(){return S(this).scheme+":"},Le=function(){return S(this).username},Fe=function(){return S(this).password},De=function(){var e=S(this),t=e.host,r=e.port;return null===t?"":null===r?Y(t):Y(t)+":"+r},je=function(){var e=S(this).host;return null===e?"":Y(e)},Me=function(){var e=S(this).port;return null===e?"":String(e)},Ne=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=S(this).query;return e?"?"+e:""},qe=function(){return S(this).searchParams},Be=function(){var e=S(this).fragment;return e?"#"+e:""},We=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Re,{href:We(Te,(function(e){var t=S(this),r=String(e),n=Pe(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:We(Oe),protocol:We(Ie,(function(e){var t=S(this);Pe(t,String(e)+":",ae)})),username:We(Le,(function(e){var t=S(this),r=d(String(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=K(r[n],Q)}})),password:We(Fe,(function(e){var t=S(this),r=d(String(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=K(r[n],Q)}})),host:We(De,(function(e){var t=S(this);t.cannotBeABaseURL||Pe(t,String(e),ge)})),hostname:We(je,(function(e){var t=S(this);t.cannotBeABaseURL||Pe(t,String(e),me)})),port:We(Me,(function(e){var t=S(this);ee(t)||(e=String(e),""==e?t.port=null:Pe(t,e,ye))})),pathname:We(Ne,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Pe(t,e+"",Ae))})),search:We(Ue,(function(e){var t=S(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Pe(t,e,ke)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:We(qe),hash:We(Be,(function(e){var t=S(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Pe(t,e,Ce)):t.fragment=null}))}),u(Re,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),u(Re,"toString",(function(){return Te.call(this)}),{enumerable:!0}),b){var Ge=b.createObjectURL,ze=b.revokeObjectURL;Ge&&u(Ee,"createObjectURL",(function(e){return Ge.apply(b,arguments)})),ze&&u(Ee,"revokeObjectURL",(function(e){return ze.apply(b,arguments)}))}g(Ee,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ee})},"2ca0":function(e,t,r){"use strict";var n=r("23e7"),i=r("06cf").f,o=r("50c4"),a=r("5a34"),s=r("1d80"),c=r("ab13"),u=r("c430"),l="".startsWith,f=Math.min,h=c("startsWith"),d=!u&&!h&&!!function(){var e=i(String.prototype,"startsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!d&&!h},{startsWith:function(e){var t=String(s(this));a(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return l?l.call(t,n,r):t.slice(r,r+n.length)===n}})},"2cf4":function(e,t,r){var n,i,o,a=r("da84"),s=r("d039"),c=r("0366"),u=r("1be4"),l=r("cc12"),f=r("1cdc"),h=r("605d"),d=a.location,p=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,y=a.Dispatch,b=0,_={},w="onreadystatechange",A=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},S=function(e){return function(){A(e)}},x=function(e){A(e.data)},k=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};p&&v||(p=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete _[e]},h?n=function(e){g.nextTick(S(e))}:y&&y.now?n=function(e){y.now(S(e))}:m&&!f?(i=new m,o=i.port2,i.port1.onmessage=x,n=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(k)?(n=k,a.addEventListener("message",x,!1)):n=w in l("script")?function(e){u.appendChild(l("script"))[w]=function(){u.removeChild(this),A(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:p,clear:v}},"2d00":function(e,t,r){var n,i,o=r("da84"),a=r("342f"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?(n=u.split("."),i=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=n[1]))),e.exports=i&&+i},3:function(e,t){},3097:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-done-area .label-group .el-submenu__title[data-v-3b6f6e50]{font-size:18px;padding:0!important;border-bottom:1px solid #dcdde3}.label-done-area .label-group .el-submenu__title[data-v-3b6f6e50]:hover{color:#2e6be6}.label-done-area .label-group .el-menu-item[data-v-3b6f6e50]{padding:0!important}.label-done-area .label-group .el-menu.el-menu--inline[data-v-3b6f6e50]{border-bottom:1px solid #dcdde3}.label-done-area .label-group .title-con.el-dropdown[data-v-3b6f6e50]{width:280px}.label-done-area .label-group .el-icon-arrow-down.el-icon--right[data-v-3b6f6e50]{position:absolute;top:50%;right:20px;transform:translateY(-50%)}.label-done-area .label-group .el-submenu.is-opened .el-submenu__title[data-v-3b6f6e50]{background:#fff!important;border-bottom:1px solid #dcdde3}.label-done-area .label-group .el-menu.el-menu--inline li[data-v-3b6f6e50]{background:#fbfcfd!important}.label-done-area .label-group .el-menu-item-group__title[data-v-3b6f6e50]{height:0!important;padding:0!important}.label-done-area .label-group .el-submenu.is-active>.el-submenu__title[data-v-3b6f6e50],.label-done-area .label-group .el-submenu.is-active>.el-submenu__title i[data-v-3b6f6e50]{color:#2e6be6!important}.label-done-area .label-group .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow[data-v-3b6f6e50]{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.label-done-area .label-group .label-item-btn[data-v-3b6f6e50]{line-height:50px;width:280px;background:none;color:#222;border:none;cursor:pointer;padding:0;text-align:left;font-size:16px}",""]),e.exports=t},"30ea":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".mouse-right-el{position:absolute;display:inline-block;width:40px;text-align:center;line-height:20px;font-size:12px;background:#6495ed;border:1px solid #fff;border-radius:2px;cursor:pointer}.label-shape2 .close{top:0!important;right:0!important}",""]),e.exports=t},3280:function(e,t,r){"use strict";var n=r("ebb5"),i=r("e58c"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("lastIndexOf",(function(e){return i.apply(o(this),arguments)}))},3410:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("7b0b"),a=r("e163"),s=r("e177"),c=i((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},"342f":function(e,t,r){var n=r("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,r){var n=r("f5df"),i=r("3f8c"),o=r("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[n(e)]}},"35e8":function(e,t,r){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"37e8":function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("825a"),a=r("df75");e.exports=n?Object.defineProperties:function(e,t){o(e);var r,n=a(t),s=n.length,c=0;while(s>c)i.f(e,r=n[c++],t[r]);return e}},"3a50":function(e,t,r){var n=r("6780");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("271332fa",n,!0,{sourceMap:!1,shadowMode:!1})},"3a7b":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").findIndex,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"3bbe":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c5d":function(e,t,r){"use strict";var n=r("ebb5"),i=r("50c4"),o=r("182d"),a=r("7b0b"),s=r("d039"),c=n.aTypedArray,u=n.exportTypedArrayMethod,l=s((function(){new Int8Array(1).set({})}));u("set",(function(e){c(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(e),s=i(n.length),u=0;if(s+t>r)throw RangeError("Wrong length");while(u<s)this[t+u]=n[u++]}),l)},"3ca3":function(e,t,r){"use strict";var n=r("6547").charAt,i=r("69f3"),o=r("7dd0"),a="String Iterator",s=i.set,c=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},"3db7":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-style[data-v-3e9e96f1]{width:100%;height:100%;background:#ff8c00;text-align:center}.label-style i[data-v-3e9e96f1]{display:inline-block;margin-top:60px;font-size:14px;color:#fff}.label-shape2 .label-style[data-v-3e9e96f1]{border-radius:50%}",""]),e.exports=t},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").map,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(o(e,e.constructor)))(t)}))}))},"408a":function(e,t,r){var n=r("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=n(e))throw TypeError("Incorrect invocation");return+e}},4160:function(e,t,r){"use strict";var n=r("23e7"),i=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(e,t,r){var n=r("da84");e.exports=n},4362:function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r("df7c")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},4403:function(e,t,r){var n=r("bf27");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("54296728",n,!0,{sourceMap:!1,shadowMode:!1})},"44ad":function(e,t,r){var n=r("d039"),i=r("c6b6"),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,r){var n=r("b622"),i=r("7c73"),o=r("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,r){var n=r("da84");e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},"44e7":function(e,t,r){var n=r("861d"),i=r("c6b6"),o=r("b622"),a=o("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"45fc":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").some,o=r("a640"),a=r("ae40"),s=o("some"),c=a("some");n({target:"Array",proto:!0,forced:!s||!c},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4795:function(e,t,r){var n=r("23e7"),i=r("da84"),o=r("342f"),a=[].slice,s=/MSIE .\./.test(o),c=function(e){return function(t,r){var n=arguments.length>2,i=n?a.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,r)}};n({global:!0,bind:!0,forced:s},{setTimeout:c(i.setTimeout),setInterval:c(i.setInterval)})},4840:function(e,t,r){var n=r("825a"),i=r("1c0b"),o=r("b622"),a=o("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||void 0==(r=n(o)[a])?t:i(r)}},4930:function(e,t,r){var n=r("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"498a":function(e,t,r){"use strict";var n=r("23e7"),i=r("58a8").trim,o=r("c8d2");n({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l={id:e+":"+i,css:s,media:c,sourceMap:u};n[a]?n[a].parts.push(l):r.push(n[a]={id:a,parts:[l]})}return r}r.r(t),r.d(t,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,h="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,r,i){u=r,f=i||{};var a=n(e,t);return v(a),function(t){for(var r=[],i=0;i<a.length;i++){var s=a[i],c=o[s.id];c.refs--,r.push(c)}t?(a=n(e,t),v(a)):a=[];for(i=0;i<r.length;i++){c=r[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var r=e[t],n=o[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(m(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(m(r.parts[i]));o[r.id]={id:r.id,refs:1,parts:a}}}}function g(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function m(e){var t,r,n=document.querySelector("style["+h+'~="'+e.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(d){var i=c++;n=s||(s=g()),t=b.bind(null,n,i,!1),r=b.bind(null,n,i,!0)}else n=g(),t=_.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var y=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}();function b(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function _(e,t){var r=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(h,t.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"4a9b":function(e,t,r){var n=r("74e8");n("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"4d63":function(e,t,r){var n=r("83ab"),i=r("da84"),o=r("94ca"),a=r("7156"),s=r("9bf2").f,c=r("241c").f,u=r("44e7"),l=r("ad6d"),f=r("9f7f"),h=r("6eeb"),d=r("d039"),p=r("69f3").set,v=r("2626"),g=r("b622"),m=g("match"),y=i.RegExp,b=y.prototype,_=/a/g,w=/a/g,A=new y(_)!==_,S=f.UNSUPPORTED_Y,x=n&&o("RegExp",!A||S||d((function(){return w[m]=!1,y(_)!=_||y(w)==w||"/a/i"!=y(_,"i")})));if(x){var k=function(e,t){var r,n=this instanceof k,i=u(e),o=void 0===t;if(!n&&i&&e.constructor===k&&o)return e;A?i&&!o&&(e=e.source):e instanceof k&&(o&&(t=l.call(e)),e=e.source),S&&(r=!!t&&t.indexOf("y")>-1,r&&(t=t.replace(/y/g,"")));var s=a(A?new y(e,t):y(e,t),n?this:b,k);return S&&r&&p(s,{sticky:r}),s},C=function(e){e in k||s(k,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},P=c(y),E=0;while(P.length>E)C(P[E++]);b.constructor=k,k.prototype=b,h(i,"RegExp",k)}v("RegExp")},"4d64":function(e,t,r){var n=r("fc6a"),i=r("50c4"),o=r("23cb"),a=function(e){return function(t,r,a){var s,c=n(t),u=i(c.length),l=o(a,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4d90":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").start,o=r("9a0c");n({target:"String",proto:!0,forced:o},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4de4":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").filter,o=r("1dde"),a=r("ae40"),s=o("filter"),c=a("filter");n({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,r){"use strict";var n=r("0366"),i=r("7b0b"),o=r("9bdd"),a=r("e95a"),s=r("50c4"),c=r("8418"),u=r("35a1");e.exports=function(e){var t,r,l,f,h,d,p=i(e),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=u(p),_=0;if(y&&(m=n(m,g>2?arguments[2]:void 0,2)),void 0==b||v==Array&&a(b))for(t=s(p.length),r=new v(t);t>_;_++)d=y?m(p[_],_):p[_],c(r,_,d);else for(f=b.call(p),h=f.next,r=new v;!(l=h.call(f)).done;_++)d=y?o(f,m,[l.value,_],!0):l.value,c(r,_,d);return r.length=_,r}},"4e82":function(e,t,r){"use strict";var n=r("23e7"),i=r("1c0b"),o=r("7b0b"),a=r("d039"),s=r("a640"),c=[],u=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),h=s("sort"),d=l||!f||!h;n({target:"Array",proto:!0,forced:d},{sort:function(e){return void 0===e?u.call(o(this)):u.call(o(this),i(e))}})},"50c4":function(e,t,r){var n=r("a691"),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},5135:function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},5319:function(e,t,r){"use strict";var n=r("d784"),i=r("825a"),o=r("50c4"),a=r("a691"),s=r("1d80"),c=r("8aa5"),u=r("0cb2"),l=r("14c3"),f=Math.max,h=Math.min,d=function(e){return void 0===e?e:String(e)};n("replace",2,(function(e,t,r,n){var p=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,g=p?"$":"$0";return[function(r,n){var i=s(this),o=void 0==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!p&&v||"string"===typeof n&&-1===n.indexOf(g)){var s=r(t,e,this,n);if(s.done)return s.value}var m=i(e),y=String(this),b="function"===typeof n;b||(n=String(n));var _=m.global;if(_){var w=m.unicode;m.lastIndex=0}var A=[];while(1){var S=l(m,y);if(null===S)break;if(A.push(S),!_)break;var x=String(S[0]);""===x&&(m.lastIndex=c(y,o(m.lastIndex),w))}for(var k="",C=0,P=0;P<A.length;P++){S=A[P];for(var E=String(S[0]),R=f(h(a(S.index),y.length),0),T=[],O=1;O<S.length;O++)T.push(d(S[O]));var I=S.groups;if(b){var L=[E].concat(T,R,y);void 0!==I&&L.push(I);var F=String(n.apply(void 0,L))}else F=u(E,y,R,T,I,n);R>=C&&(k+=y.slice(C,R)+F,C=R+E.length)}return k+y.slice(C)}]}))},"55cb":function(e,t,r){e.exports=r.p+"img/iconfont.18b11516.svg"},5652:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".CryptoAgent-wrapper[data-v-9e75e8c0]{height:0;width:0;position:absoute;left:-5000px}",""]),e.exports=t},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.3",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),i=r("241c"),o=r("7418"),a=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("1d80"),i=r("5899"),o="["+i+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),c=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cc6":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"5d41":function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("825a"),a=r("5135"),s=r("06cf"),c=r("e163");function u(e,t){var r,n,l=arguments.length<3?e:arguments[2];return o(e)===l?e[t]:(r=s.f(e,t))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):i(n=c(e))?u(n,t,l):void 0}n({target:"Reflect",stat:!0},{get:u})},"5e89":function(e,t,r){var n=r("861d"),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},"5f96":function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=[].join;o("join",(function(e){return a.apply(i(this),arguments)}))},"5fb2":function(e,t,r){"use strict";var n=2147483647,i=36,o=1,a=26,s=38,c=700,u=72,l=128,f="-",h=/[^\0-\u007E]/,d=/[.\u3002\uFF0E\uFF61]/g,p="Overflow: input needs wider integers to process",v=i-o,g=Math.floor,m=String.fromCharCode,y=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t},b=function(e){return e+22+75*(e<26)},_=function(e,t,r){var n=0;for(e=r?g(e/c):e>>1,e+=g(e/t);e>v*a>>1;n+=i)e=g(e/v);return g(n+(v+1)*e/(e+s))},w=function(e){var t=[];e=y(e);var r,s,c=e.length,h=l,d=0,v=u;for(r=0;r<e.length;r++)s=e[r],s<128&&t.push(m(s));var w=t.length,A=w;w&&t.push(f);while(A<c){var S=n;for(r=0;r<e.length;r++)s=e[r],s>=h&&s<S&&(S=s);var x=A+1;if(S-h>g((n-d)/x))throw RangeError(p);for(d+=(S-h)*x,h=S,r=0;r<e.length;r++){if(s=e[r],s<h&&++d>n)throw RangeError(p);if(s==h){for(var k=d,C=i;;C+=i){var P=C<=v?o:C>=v+a?a:C-v;if(k<P)break;var E=k-P,R=i-P;t.push(m(b(P+E%R))),k=g(E/R)}t.push(m(b(k))),v=_(d,x,A==w),d=0,++A}}++d,++h}return t.join("")};e.exports=function(e){var t,r,n=[],i=e.toLowerCase().replace(d,".").split(".");for(t=0;t<i.length;t++)r=i[t],n.push(h.test(r)?"xn--"+w(r):r);return n.join(".")}},"605d":function(e,t,r){var n=r("c6b6"),i=r("da84");e.exports="process"==n(i.process)},"60bd":function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),o=r("e260"),a=r("b622"),s=a("iterator"),c=n.Uint8Array,u=o.values,l=o.keys,f=o.entries,h=i.aTypedArray,d=i.exportTypedArrayMethod,p=c&&c.prototype[s],v=!!p&&("values"==p.name||void 0==p.name),g=function(){return u.call(h(this))};d("entries",(function(){return f.call(h(this))})),d("keys",(function(){return l.call(h(this))})),d("values",g,!v),d(s,g,!v)},"60da":function(e,t,r){"use strict";var n=r("83ab"),i=r("d039"),o=r("df75"),a=r("7418"),s=r("d1e7"),c=r("7b0b"),u=r("44ad"),l=Object.assign,f=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||o(l({},t)).join("")!=i}))?function(e,t){var r=c(e),i=arguments.length,l=1,f=a.f,h=s.f;while(i>l){var d,p=u(arguments[l++]),v=f?o(p).concat(f(p)):o(p),g=v.length,m=0;while(g>m)d=v[m++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:l},"621a":function(e,t,r){"use strict";var n=r("da84"),i=r("83ab"),o=r("a981"),a=r("9112"),s=r("e2cc"),c=r("d039"),u=r("19aa"),l=r("a691"),f=r("50c4"),h=r("0b25"),d=r("77a7"),p=r("e163"),v=r("d2bb"),g=r("241c").f,m=r("9bf2").f,y=r("81d5"),b=r("d44e"),_=r("69f3"),w=_.get,A=_.set,S="ArrayBuffer",x="DataView",k="prototype",C="Wrong length",P="Wrong index",E=n[S],R=E,T=n[x],O=T&&T[k],I=Object.prototype,L=n.RangeError,F=d.pack,D=d.unpack,j=function(e){return[255&e]},M=function(e){return[255&e,e>>8&255]},N=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},U=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return F(e,23,4)},B=function(e){return F(e,52,8)},W=function(e,t){m(e[k],t,{get:function(){return w(this)[t]}})},G=function(e,t,r,n){var i=h(r),o=w(e);if(i+t>o.byteLength)throw L(P);var a=w(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return n?c:c.reverse()},z=function(e,t,r,n,i,o){var a=h(r),s=w(e);if(a+t>s.byteLength)throw L(P);for(var c=w(s.buffer).bytes,u=a+s.byteOffset,l=n(+i),f=0;f<t;f++)c[u+f]=l[o?f:t-f-1]};if(o){if(!c((function(){E(1)}))||!c((function(){new E(-1)}))||c((function(){return new E,new E(1.5),new E(NaN),E.name!=S}))){R=function(e){return u(this,R),new E(h(e))};for(var Y,H=R[k]=E[k],X=g(E),V=0;X.length>V;)(Y=X[V++])in R||a(R,Y,E[Y]);H.constructor=R}v&&p(O)!==I&&v(O,I);var Q=new T(new R(2)),K=O.setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||s(O,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else R=function(e){u(this,R,S);var t=h(e);A(this,{bytes:y.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},T=function(e,t,r){u(this,T,x),u(e,R,x);var n=w(e).byteLength,o=l(t);if(o<0||o>n)throw L("Wrong offset");if(r=void 0===r?n-o:f(r),o+r>n)throw L(C);A(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(W(R,"byteLength"),W(T,"buffer"),W(T,"byteLength"),W(T,"byteOffset")),s(T[k],{getInt8:function(e){return G(this,1,e)[0]<<24>>24},getUint8:function(e){return G(this,1,e)[0]},getInt16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return U(G(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return U(G(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return D(G(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return D(G(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){z(this,1,e,j,t)},setUint8:function(e,t){z(this,1,e,j,t)},setInt16:function(e,t){z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){z(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){z(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){z(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){z(this,8,e,B,t,arguments.length>2?arguments[2]:void 0)}});b(R,S),b(T,x),e.exports={ArrayBuffer:R,DataView:T}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"649e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").some,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},6547:function(e,t,r){var n=r("a691"),i=r("1d80"),o=function(e){return function(t,r){var o,a,s=String(i(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(e,t,r){var n=r("861d"),i=r("e8b5"),o=r("b622"),a=o("species");e.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==Array&&!i(r.prototype)?n(r)&&(r=r[a],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},"660a":function(e,t,r){var n=r("3db7");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("58a08748",n,!0,{sourceMap:!1,shadowMode:!1})},6780:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".cfca-pdf{width:100%;min-height:100%;position:relative;margin-top:-1px}.cfca-pdf .fontSize1{font-size:65%}.cfca-pdf .fontSize1,.cfca-pdf .fontSize2{font-family:Verdana,Geneva,Arial,Helvetica,sans-serif}.cfca-pdf .fontSize2{font-size:70%}.cfca-pdf .fontSize3{font-size:75%;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif}.cfca-pdf .fakehlink{cursor:pointer;text-decoration:underline;font-weight:400;line-height:26px;color:#06c}.cfca-pdf .plaintext{line-height:28px}.cfca-pdf .blankline{height:5px}.cfca-pdf .remaining{width:100%;position:absolute;z-index:1;top:72px;bottom:0}.cfca-pdf .cfca-page .page-num{display:inline-block;width:auto}.cfca-pdf .cfca-page .page-num input{display:inline-block;width:48px;height:32px;border:1px solid #ccc;border-radius:2px;margin:0 5px}.cfca-pdf .cfca-pdf-wrapper{position:relative;width:560px;margin:0 auto;box-shadow:0 5px 10px 0 rgba(0,0,0,.05)}.cfca-pdf .cfca-pdf-wrapper .cfca-left,.cfca-pdf .cfca-pdf-wrapper .cfca-right{color:#dcdcdc;position:absolute;width:73px;height:130px;text-align:center;font-size:33px;cursor:pointer;border-radius:4px;top:50%;left:-72px}.cfca-pdf .cfca-pdf-wrapper .disabled{cursor:not-allowed}.cfca-pdf .cfca-pdf-wrapper .cfca-right{left:auto;right:-72px}.cfca-pdf .cfca-pdf-wrapper .cfca-content{display:flex;flex-direction:column;justify-content:space-between;position:relative;background:#fff;border:1px solid #d4d4d4;border-radius:0;padding:0;box-sizing:border-box;overflow:hidden}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-object{box-sizing:border-box;position:relative}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-object .obj-wrapper{height:758px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page{position:relative;height:48px;line-height:48px;box-sizing:border-box;overflow:hidden;padding:0 20px;text-align:left;font-size:14px;background:#fff;color:#666;border-bottom:1px solid #d4d4d4}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .cfca-title h2{max-width:340px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:18px;color:#222;line-height:48px;font-weight:400;margin:0;padding:0}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .cfca-title .sub-title{font-size:12px;color:#999;line-height:17px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .fr{position:absolute;right:20px;top:0;max-width:180px;white-space:nowrap;text-overflow:ellipsis}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-page .di{margin-left:10px}.cfca-pdf .cfca-pdf-wrapper .cfca-content .cfca-control{line-height:64px;box-sizing:border-box;overflow:hidden;padding:0 20px;text-align:right;font-size:14px;background:#f5f5f5;color:#666}",""]),e.exports=t},"689a":function(e,t,r){var n=r("3097");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("320be724",n,!0,{sourceMap:!1,shadowMode:!1})},"69f3":function(e,t,r){var n,i,o,a=r("7f9a"),s=r("da84"),c=r("861d"),u=r("9112"),l=r("5135"),f=r("c6cd"),h=r("f772"),d=r("d012"),p=s.WeakMap,v=function(e){return o(e)?i(e):n(e,{})},g=function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(a){var m=f.state||(f.state=new p),y=m.get,b=m.has,_=m.set;n=function(e,t){return t.facade=e,_.call(m,e,t),t},i=function(e){return y.call(m,e)||{}},o=function(e){return b.call(m,e)}}else{var w=h("state");d[w]=!0,n=function(e,t){return t.facade=e,u(e,w,t),t},i=function(e){return l(e,w)?e[w]:{}},o=function(e){return l(e,w)}}e.exports={set:n,get:i,has:o,enforce:v,getterFor:g}},"6cb7":function(e,t,r){"use strict";r("eabf")},"6d61":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("f183"),c=r("2266"),u=r("19aa"),l=r("861d"),f=r("d039"),h=r("1c7e"),d=r("d44e"),p=r("7156");e.exports=function(e,t,r){var v=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),m=v?"set":"add",y=i[e],b=y&&y.prototype,_=y,w={},A=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(o(e,"function"!=typeof y||!(g||b.forEach&&!f((function(){(new y).entries().next()})))))_=r.getConstructor(t,e,v,m),s.REQUIRED=!0;else if(o(e,!0)){var S=new _,x=S[m](g?{}:-0,1)!=S,k=f((function(){S.has(1)})),C=h((function(e){new y(e)})),P=!g&&f((function(){var e=new y,t=5;while(t--)e[m](t,t);return!e.has(-0)}));C||(_=t((function(t,r){u(t,_,e);var n=p(new y,t,_);return void 0!=r&&c(r,n[m],{that:n,AS_ENTRIES:v}),n})),_.prototype=b,b.constructor=_),(k||P)&&(A("delete"),A("has"),v&&A("get")),(P||x)&&A(m),g&&b.clear&&delete b.clear}return w[e]=_,n({global:!0,forced:_!=y},w),d(_,e),g||r.setStrong(_,e,v),_}},"6eba":function(e,t,r){var n=r("23e7");n({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"6eeb":function(e,t,r){var n=r("da84"),i=r("9112"),o=r("5135"),a=r("ce4e"),s=r("8925"),c=r("69f3"),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,r,s){var c,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),c=l(r),c.source||(c.source=f.join("string"==typeof t?t:""))),e!==n?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=r:i(e,t,r)):h?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},"6f53":function(e,t,r){var n=r("83ab"),i=r("df75"),o=r("fc6a"),a=r("d1e7").f,s=function(e){return function(t){var r,s=o(t),c=i(s),u=c.length,l=0,f=[];while(u>l)r=c[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},7037:function(e,t,r){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}r("a4d3"),r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n},7039:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("057f").f,a=i((function(){return!Object.getOwnPropertyNames(1)}));n({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:o})},7156:function(e,t,r){var n=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==r&&n(a=o.prototype)&&a!==r.prototype&&i(e,a),e}},"72f7":function(e,t,r){"use strict";var n=r("ebb5").exportTypedArrayMethod,i=r("d039"),o=r("da84"),a=o.Uint8Array,s=a&&a.prototype||{},c=[].toString,u=[].join;i((function(){c.call({})}))&&(c=function(){return u.call(this)});var l=s.toString!=c;n("toString",c,l)},"735e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("81d5"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("fill",(function(e){return i.apply(o(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,r){var n=r("428f"),i=r("5135"),o=r("e538"),a=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},"74e8":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("83ab"),a=r("8aa7"),s=r("ebb5"),c=r("621a"),u=r("19aa"),l=r("5c6c"),f=r("9112"),h=r("50c4"),d=r("0b25"),p=r("182d"),v=r("c04e"),g=r("5135"),m=r("f5df"),y=r("861d"),b=r("7c73"),_=r("d2bb"),w=r("241c").f,A=r("a078"),S=r("b727").forEach,x=r("2626"),k=r("9bf2"),C=r("06cf"),P=r("69f3"),E=r("7156"),R=P.get,T=P.set,O=k.f,I=C.f,L=Math.round,F=i.RangeError,D=c.ArrayBuffer,j=c.DataView,M=s.NATIVE_ARRAY_BUFFER_VIEWS,N=s.TYPED_ARRAY_TAG,U=s.TypedArray,q=s.TypedArrayPrototype,B=s.aTypedArrayConstructor,W=s.isTypedArray,G="BYTES_PER_ELEMENT",z="Wrong length",Y=function(e,t){var r=0,n=t.length,i=new(B(e))(n);while(n>r)i[r]=t[r++];return i},H=function(e,t){O(e,t,{get:function(){return R(this)[t]}})},X=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},V=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Q=function(e,t){return V(e,t=v(t,!0))?l(2,e[t]):I(e,t)},K=function(e,t,r){return!(V(e,t=v(t,!0))&&y(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?O(e,t,r):(e[t]=r.value,e)};o?(M||(C.f=Q,k.f=K,H(q,"buffer"),H(q,"byteOffset"),H(q,"byteLength"),H(q,"length")),n({target:"Object",stat:!0,forced:!M},{getOwnPropertyDescriptor:Q,defineProperty:K}),e.exports=function(e,t,r){var o=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,l="set"+e,v=i[s],g=v,m=g&&g.prototype,k={},C=function(e,t){var r=R(e);return r.view[c](t*o+r.byteOffset,!0)},P=function(e,t,n){var i=R(e);r&&(n=(n=L(n))<0?0:n>255?255:255&n),i.view[l](t*o+i.byteOffset,n,!0)},I=function(e,t){O(e,t,{get:function(){return C(this,t)},set:function(e){return P(this,t,e)},enumerable:!0})};M?a&&(g=t((function(e,t,r,n){return u(e,g,s),E(function(){return y(t)?X(t)?void 0!==n?new v(t,p(r,o),n):void 0!==r?new v(t,p(r,o)):new v(t):W(t)?Y(g,t):A.call(g,t):new v(d(t))}(),e,g)})),_&&_(g,U),S(w(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=m):(g=t((function(e,t,r,n){u(e,g,s);var i,a,c,l=0,f=0;if(y(t)){if(!X(t))return W(t)?Y(g,t):A.call(g,t);i=t,f=p(r,o);var v=t.byteLength;if(void 0===n){if(v%o)throw F(z);if(a=v-f,a<0)throw F(z)}else if(a=h(n)*o,a+f>v)throw F(z);c=a/o}else c=d(t),a=c*o,i=new D(a);T(e,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new j(i)});while(l<c)I(e,l++)})),_&&_(g,U),m=g.prototype=b(q)),m.constructor!==g&&f(m,"constructor",g),N&&f(m,N,s),k[s]=g,n({global:!0,forced:g!=v,sham:!M},k),G in g||f(g,G,o),G in m||f(m,G,o),x(s)}):e.exports=function(){}},"77a7":function(e,t){var r=1/0,n=Math.abs,i=Math.pow,o=Math.floor,a=Math.log,s=Math.LN2,c=function(e,t,c){var u,l,f,h=new Array(c),d=8*c-t-1,p=(1<<d)-1,v=p>>1,g=23===t?i(2,-24)-i(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for(e=n(e),e!=e||e===r?(l=e!=e?1:0,u=p):(u=o(a(e)/s),e*(f=i(2,-u))<1&&(u--,f*=2),e+=u+v>=1?g/f:g*i(2,1-v),e*f>=2&&(u++,f/=2),u+v>=p?(l=0,u=p):u+v>=1?(l=(e*f-1)*i(2,t),u+=v):(l=e*i(2,v-1)*i(2,t),u=0));t>=8;h[y++]=255&l,l/=256,t-=8);for(u=u<<t|l,d+=t;d>0;h[y++]=255&u,u/=256,d-=8);return h[--y]|=128*m,h},u=function(e,t){var n,o=e.length,a=8*o-t-1,s=(1<<a)-1,c=s>>1,u=a-7,l=o-1,f=e[l--],h=127&f;for(f>>=7;u>0;h=256*h+e[l],l--,u-=8);for(n=h&(1<<-u)-1,h>>=-u,u+=t;u>0;n=256*n+e[l],l--,u-=8);if(0===h)h=1-c;else{if(h===s)return n?NaN:f?-r:r;n+=i(2,t),h-=c}return(f?-1:1)*n*i(2,h-t)};e.exports={pack:c,unpack:u}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a82":function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("9bf2");n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:o.f})},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7c73":function(e,t,r){var n,i=r("825a"),o=r("37e8"),a=r("7839"),s=r("d012"),c=r("1be4"),u=r("cc12"),l=r("f772"),f=">",h="<",d="prototype",p="script",v=l("IE_PROTO"),g=function(){},m=function(e){return h+p+f+e+h+"/"+p+f},y=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=u("iframe"),r="java"+p+":";return t.style.display="none",c.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},_=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}_=n?y(n):b();var e=a.length;while(e--)delete _[d][a[e]];return _()};s[v]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[d]=i(e),r=new g,g[d]=null,r[v]=e):r=_(),void 0===t?r:o(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").find,o=r("44d2"),a=r("ae40"),s="find",c=!0,u=a(s);s in[]&&Array(1)[s]((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!u},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("9ed3"),o=r("e163"),a=r("d2bb"),s=r("d44e"),c=r("9112"),u=r("6eeb"),l=r("b622"),f=r("c430"),h=r("3f8c"),d=r("ae93"),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),m="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,r,l,d,w,A){i(r,t,l);var S,x,k,C=function(e){if(e===d&&O)return O;if(!v&&e in R)return R[e];switch(e){case m:return function(){return new r(this,e)};case y:return function(){return new r(this,e)};case b:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",E=!1,R=e.prototype,T=R[g]||R["@@iterator"]||d&&R[d],O=!v&&T||C(d),I="Array"==t&&R.entries||T;if(I&&(S=o(I.call(new e)),p!==Object.prototype&&S.next&&(f||o(S)===p||(a?a(S,p):"function"!=typeof S[g]&&c(S,g,_)),s(S,P,!0,!0),f&&(h[P]=_))),d==y&&T&&T.name!==y&&(E=!0,O=function(){return T.call(this)}),f&&!A||R[g]===O||c(R,g,O),h[t]=O,d)if(x={values:C(y),keys:w?O:C(m),entries:C(b)},A)for(k in x)(v||E||!(k in R))&&u(R,k,x[k]);else n({target:t,proto:!0,forced:v||E},x);return x}},"7e12":function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseFloat,s=1/a(o+"-0")!==-1/0;e.exports=s?function(e){var t=i(String(e)),r=a(t);return 0===r&&"-"==t.charAt(0)?-0:r}:a},"7f9a":function(e,t,r){var n=r("da84"),i=r("8925"),o=n.WeakMap;e.exports="function"===typeof o&&/native code/.test(i(o))},"81d5":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),o=r("50c4");e.exports=function(e){var t=n(this),r=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,u=void 0===c?r:i(c,r);while(u>s)t[s++]=e;return t}},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"82da":function(e,t,r){var n=r("23e7"),i=r("ebb5"),o=i.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!o},{isView:i.isView})},"82f8":function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").includes,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,r){"use strict";var n=r("c04e"),i=r("9bf2"),o=r("5c6c");e.exports=function(e,t,r){var a=n(t);a in e?i.f(e,a,o(0,r)):e[a]=r}},"843c":function(e,t,r){"use strict";var n=r("23e7"),i=r("0ccb").end,o=r("9a0c");n({target:"String",proto:!0,forced:o},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"857a":function(e,t,r){var n=r("1d80"),i=/"/g;e.exports=function(e,t,r,o){var a=String(n(e)),s="<"+t;return""!==r&&(s+=" "+r+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+t+">"}},"861d":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},8875:function(e,t,r){var n,i,o;(function(r,a){i=[],n=a,o="function"===typeof n?n.apply(t,i):n,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(d.stack)||a.exec(d.stack),c=s&&s[1]||!1,u=s&&s[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===l&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===c)return f[h];if(c===l&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return e}))},8925:function(e,t,r){var n=r("c6cd"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},"8a59":function(e,t,r){var n=r("74e8");n("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},"8a79":function(e,t,r){"use strict";var n=r("23e7"),i=r("06cf").f,o=r("50c4"),a=r("5a34"),s=r("1d80"),c=r("ab13"),u=r("c430"),l="".endsWith,f=Math.min,h=c("endsWith"),d=!u&&!h&&!!function(){var e=i(String.prototype,"endsWith");return e&&!e.writable}();n({target:"String",proto:!0,forced:!d&&!h},{endsWith:function(e){var t=String(s(this));a(e);var r=arguments.length>1?arguments[1]:void 0,n=o(t.length),i=void 0===r?n:f(o(r),n),c=String(e);return l?l.call(t,c,i):t.slice(i-c.length,i)===c}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8aa7":function(e,t,r){var n=r("da84"),i=r("d039"),o=r("1c7e"),a=r("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!a||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},"8ba4":function(e,t,r){var n=r("23e7"),i=r("5e89");n({target:"Number",stat:!0},{isInteger:i})},"8bbf":function(t,r){t.exports=e},"8ef7":function(e,t,r){e.exports=r.p+"fonts/iconfont.3303ffae.ttf"},"90d7":function(e,t,r){var n=r("23e7"),i=Math.log,o=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),o=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},9129:function(e,t,r){var n=r("23e7");n({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},9152:function(e,t){
2
2
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
3
- t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?h/c:h*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=p,a/=256,u-=8);e[r+d-p]|=128*v}},"91dd":function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;o&&"number"===typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,h,d,p,v=e[l].replace(s,"%20"),g=v.indexOf(r);g>=0?(f=v.substr(0,g),h=v.substr(g+1)):(f=v,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(a,d)?i(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},9263:function(e,t,r){"use strict";var n=r("ad6d"),i=r("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],f=c||l||u;f&&(s=function(e){var t,r,i,s,f=this,h=u&&f.sticky,d=n.call(f),p=f.source,v=0,g=e;return h&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),g=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,v++),r=new RegExp("^(?:"+p+")",d)),l&&(r=new RegExp("^"+p+"$(?!\\s)",d)),c&&(t=f.lastIndex),i=o.call(h?r:f,g),h?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:c&&i&&(f.lastIndex=f.global?i.index+i[0].length:t),l&&i&&i.length>1&&a.call(i[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}),e.exports=s},"944a":function(e,t,r){var n=r("746f");n("toStringTag")},"94ca":function(e,t,r){var n=r("d039"),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},9511:function(e,t,r){(function(e,n,i,o){var a,s,c;r("a4d3"),r("e01a"),r("b636"),r("d28b"),r("944a"),r("99af"),r("a623"),r("cb29"),r("4160"),r("a630"),r("caad"),r("c975"),r("277d"),r("e260"),r("a15b"),r("baa5"),r("d81d"),r("26e9"),r("fb6a"),r("45fc"),r("4e82"),r("a434"),r("c19f"),r("82da"),r("ace4"),r("b420"),r("6eba"),r("0d03"),r("c0b6"),r("b0c0"),r("0c47"),r("90d7"),r("23dc"),r("a9e3"),r("8ba4"),r("9129"),r("b680"),r("cca6"),r("b8bf"),r("1d1c"),r("7a82"),r("dca8"),r("e439"),r("7039"),r("3410"),r("c906"),r("b64b"),r("cee8"),r("131a"),r("d3b7"),r("07ac"),r("acd8"),r("e25e"),r("e6cf"),r("a79d"),r("5d41"),r("4d63"),r("ac1f"),r("25f0"),r("f5b2"),r("8a79"),r("f6d6"),r("2532"),r("3ca3"),r("843c"),r("4d90"),r("5319"),r("1276"),r("2ca0"),r("498a"),r("cc71"),r("cfc3"),r("4a9b"),r("143c"),r("5cc6"),r("8a59"),r("fb2c"),r("9a8c"),r("a975"),r("735e"),r("c1ac"),r("d139"),r("3a7b"),r("d5d6"),r("82f8"),r("e91f"),r("60bd"),r("5f96"),r("3280"),r("3fcc"),r("ca91"),r("25a1"),r("cd26"),r("3c5d"),r("2954"),r("649e"),r("219c"),r("170b"),r("b39a"),r("72f7"),r("10d1"),r("1fe2"),r("159b"),r("ddb0"),r("130f"),r("4795"),r("2b3d");var u=r("7037");
3
+ t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?h/c:h*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+d]=255&a,d+=p,a/=256,u-=8);e[r+d-p]|=128*v}},"91dd":function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var a={};if("string"!==typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;o&&"number"===typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,h,d,p,v=e[l].replace(s,"%20"),g=v.indexOf(r);g>=0?(f=v.substr(0,g),h=v.substr(g+1)):(f=v,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(a,d)?i(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},"924f":function(e,t,r){var n=r("0a78");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("10bd1514",n,!0,{sourceMap:!1,shadowMode:!1})},9263:function(e,t,r){"use strict";var n=r("ad6d"),i=r("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,c=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],f=c||l||u;f&&(s=function(e){var t,r,i,s,f=this,h=u&&f.sticky,d=n.call(f),p=f.source,v=0,g=e;return h&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),g=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,v++),r=new RegExp("^(?:"+p+")",d)),l&&(r=new RegExp("^"+p+"$(?!\\s)",d)),c&&(t=f.lastIndex),i=o.call(h?r:f,g),h?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:c&&i&&(f.lastIndex=f.global?i.index+i[0].length:t),l&&i&&i.length>1&&a.call(i[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}),e.exports=s},"944a":function(e,t,r){var n=r("746f");n("toStringTag")},"94ca":function(e,t,r){var n=r("d039"),i=/#|\.prototype\./,o=function(e,t){var r=s[a(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},9511:function(e,t,r){(function(e,n,i,o){var a,s,c;r("a4d3"),r("e01a"),r("b636"),r("d28b"),r("944a"),r("99af"),r("a623"),r("cb29"),r("4160"),r("a630"),r("caad"),r("c975"),r("277d"),r("e260"),r("a15b"),r("baa5"),r("d81d"),r("26e9"),r("fb6a"),r("45fc"),r("4e82"),r("a434"),r("c19f"),r("82da"),r("ace4"),r("b420"),r("6eba"),r("0d03"),r("c0b6"),r("b0c0"),r("0c47"),r("90d7"),r("23dc"),r("a9e3"),r("8ba4"),r("9129"),r("b680"),r("cca6"),r("b8bf"),r("1d1c"),r("7a82"),r("dca8"),r("e439"),r("7039"),r("3410"),r("c906"),r("b64b"),r("cee8"),r("131a"),r("d3b7"),r("07ac"),r("acd8"),r("e25e"),r("e6cf"),r("a79d"),r("5d41"),r("4d63"),r("ac1f"),r("25f0"),r("f5b2"),r("8a79"),r("f6d6"),r("2532"),r("3ca3"),r("843c"),r("4d90"),r("5319"),r("1276"),r("2ca0"),r("498a"),r("cc71"),r("cfc3"),r("4a9b"),r("143c"),r("5cc6"),r("8a59"),r("fb2c"),r("9a8c"),r("a975"),r("735e"),r("c1ac"),r("d139"),r("3a7b"),r("d5d6"),r("82f8"),r("e91f"),r("60bd"),r("5f96"),r("3280"),r("3fcc"),r("ca91"),r("25a1"),r("cd26"),r("3c5d"),r("2954"),r("649e"),r("219c"),r("170b"),r("b39a"),r("72f7"),r("10d1"),r("1fe2"),r("159b"),r("ddb0"),r("130f"),r("4795"),r("2b3d");var u=r("7037");
4
4
  /**
5
5
  * @licstart The following is the entire license notice for the
6
6
  * Javascript code in this page
@@ -21,12 +21,12 @@ t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=
21
21
  *
22
22
  * @licend The above is the entire license notice for the
23
23
  * Javascript code in this page
24
- */(function(e,r){"object"===u(t)&&"object"===u(o)?o.exports=r():(s=[],a=r,c="function"===typeof a?a.apply(t,s):a,void 0===c||(o.exports=c))})(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===u(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";var n=r(1),i=r(147),o=r(162),a=r(163),s=r(151),c=r(164),u=r(156),l=r(153),f=r(4);if(f()){var h=r(165).PDFNodeStream;i.setPDFNetworkStreamFactory((function(e){return new h(e)}))}else{var d,p=r(168).PDFNetworkStream;s.isFetchSupported()&&(d=r(169).PDFFetchStream),i.setPDFNetworkStreamFactory((function(e){return d&&s.isValidFetchUrl(e.url)?new d(e):new p(e)}))}t.build=i.build,t.version=i.version,t.getDocument=i.getDocument,t.LoopbackPort=i.LoopbackPort,t.PDFDataRangeTransport=i.PDFDataRangeTransport,t.PDFWorker=i.PDFWorker,t.renderTextLayer=o.renderTextLayer,t.AnnotationLayer=a.AnnotationLayer,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=c.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.CMapCompressionType=n.CMapCompressionType,t.PermissionFlag=n.PermissionFlag,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.VerbosityLevel=n.VerbosityLevel,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.Util=n.Util,t.ReadableStream=n.ReadableStream,t.URL=n.URL,t.RenderingCancelledException=s.RenderingCancelledException,t.getFilenameFromUrl=s.getFilenameFromUrl,t.LinkTarget=s.LinkTarget,t.addLinkAttributes=s.addLinkAttributes,t.loadScript=s.loadScript,t.PDFDateString=s.PDFDateString,t.GlobalWorkerOptions=u.GlobalWorkerOptions,t.apiCompatibilityParams=l.apiCompatibilityParams},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=H,t.arraysToBytes=X,t.assert=T,t.bytesToString=z,t.createPromiseCapability=de,t.getVerbosityLevel=C,t.info=P,t.isArrayBuffer=le,t.isArrayEqual=fe,t.isBool=se,t.isEmptyObj=ae,t.isNum=ce,t.isString=ue,t.isSpace=he,t.isSameOrigin=O,t.createValidAbsoluteUrl=L,t.isLittleEndian=$,t.isEvalSupported=ee,t.log2=Q,t.readInt8=K,t.readUint16=J,t.readUint32=Z,t.removeNullCharacters=G,t.setVerbosityLevel=k,t.shadow=F,t.string32=V,t.stringToBytes=Y,t.stringToPDFString=ne,t.stringToUTF8String=ie,t.utf8StringToString=oe,t.warn=E,t.unreachable=R,Object.defineProperty(t,"ReadableStream",{enumerable:!0,get:function(){return n.ReadableStream}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.NativeImageDecoding=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0,r(2);var n=r(143),i=r(145);function o(e){return o="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},o(e)}var a=[1,0,0,1,0,0];t.IDENTITY_MATRIX=a;var s=[.001,0,0,.001,0,0];t.FONT_IDENTITY_MATRIX=s;var c={NONE:"none",DECODE:"decode",DISPLAY:"display"};t.NativeImageDecoding=c;var l={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.PermissionFlag=l;var f={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.TextRenderingMode=f;var h={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.ImageKind=h;var d={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationType=d;var p={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFlag=p;var v={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationFieldFlag=v;var g={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationBorderStyleType=g;var m={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9};t.StreamType=m;var y={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};t.FontType=y;var b={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=b;var _={NONE:0,BINARY:1,STREAM:2};t.CMapCompressionType=_;var w={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.OPS=w;var A={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};t.UNSUPPORTED_FEATURES=A;var S={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};t.PasswordResponses=S;var x=b.WARNINGS;function k(e){Number.isInteger(e)&&(x=e)}function C(){return x}function P(e){x>=b.INFOS&&console.log("Info: "+e)}function E(e){x>=b.WARNINGS&&console.log("Warning: "+e)}function R(e){throw new Error(e)}function T(e,t){e||R(t)}function O(e,t){try{var r=new i.URL(e);if(!r.origin||"null"===r.origin)return!1}catch(o){return!1}var n=new i.URL(t,r);return r.origin===n.origin}function I(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function L(e,t){if(!e)return null;try{var r=t?new i.URL(e,t):new i.URL(e);if(I(r))return r}catch(n){}return null}function F(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var D=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=new Error,e.constructor=e,e}();t.PasswordException=D;var j=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=new Error,e.constructor=e,e}();t.UnknownErrorException=j;var M=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.InvalidPDFException=M;var N=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.MissingPDFException=N;var U=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=new Error,e.constructor=e,e}();t.UnexpectedResponseException=U;var q=function(){function e(e){this.message=e}return e.prototype=new Error,e.prototype.name="FormatError",e.constructor=e,e}();t.FormatError=q;var B=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.AbortException=B;var W=/\x00/g;function G(e){return"string"!==typeof e?(E("The argument for removeNullCharacters must be a string."),e):e.replace(W,"")}function z(e){T(null!==e&&"object"===o(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],i=0;i<t;i+=r){var a=Math.min(i+r,t),s=e.subarray(i,a);n.push(String.fromCharCode.apply(null,s))}return n.join("")}function Y(e){T("string"===typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function H(e){return void 0!==e.length?e.length:(T(void 0!==e.byteLength),e.byteLength)}function X(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,o=e.length;for(t=0;t<o;t++)r=e[t],n=H(r),i+=n;var a=0,s=new Uint8Array(i);for(t=0;t<o;t++)r=e[t],r instanceof Uint8Array||(r="string"===typeof r?Y(r):new Uint8Array(r)),n=r.byteLength,s.set(r,a),a+=n;return s}function V(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function Q(e){return e<=0?0:Math.ceil(Math.log2(e))}function K(e,t){return e[t]<<24>>24}function J(e,t){return e[t]<<8|e[t+1]}function Z(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function $(){var e=new Uint8Array(4);e[0]=1;var t=new Uint32Array(e.buffer,0,1);return 1===t[0]}function ee(){try{return new Function(""),!0}catch(e){return!1}}var te=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];return e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){var r=e[0]*t[0]+e[1]*t[2]+t[4],n=e[0]*t[1]+e[1]*t[3]+t[5];return[r,n]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2],n=(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,i=(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r;return[n,i]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),o=e.applyTransform([t[0],t[3]],r),a=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],o[0],a[0]),Math.min(n[1],i[1],o[1],a[1]),Math.max(n[0],i[0],o[0],a[0]),Math.max(n[1],i[1],o[1],a[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],a=(r+o)/2,s=Math.sqrt((r+o)*(r+o)-4*(r*o-i*n))/2,c=a+s||1,u=a-s||1;return[Math.sqrt(c),Math.sqrt(u)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),o=[t[1],t[3],r[1],r[3]].sort(n),a=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(a[0]=i[1],a[2]=i[2],(o[0]===t[1]&&o[1]===r[1]||o[0]===r[1]&&o[1]===t[1])&&(a[1]=o[1],a[3]=o[2],a))},e}();t.Util=te;var re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ne(e){var t,r=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=re[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")}function ie(e){return decodeURIComponent(escape(e))}function oe(e){return unescape(encodeURIComponent(e))}function ae(e){for(var t in e)return!1;return!0}function se(e){return"boolean"===typeof e}function ce(e){return"number"===typeof e}function ue(e){return"string"===typeof e}function le(e){return"object"===o(e)&&null!==e&&void 0!==e.byteLength}function fe(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}function he(e){return 32===e||9===e||13===e||10===e}function de(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,n){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,n(e)}})),e}var pe=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&i.URL.createObjectURL){var o=new Blob([t],{type:r});return i.URL.createObjectURL(o)}for(var a="data:"+r+";base64,",s=0,c=t.length;s<c;s+=3){var u=255&t[s],l=255&t[s+1],f=255&t[s+2],h=u>>2,d=(3&u)<<4|l>>4,p=s+1<c?(15&l)<<2|f>>6:64,v=s+2<c?63&f:64;a+=e[h]+e[d]+e[p]+e[v]}return a}}();t.createObjectURL=pe},function(t,r,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},i(e)}var o=n(3);if(!o._pdfjsCompatibilityChecked){o._pdfjsCompatibilityChecked=!0;var a=n(4),s="object"===("undefined"===typeof window?"undefined":i(window))&&"object"===("undefined"===typeof document?"undefined":i(document));(function(){!o.btoa&&a()&&(o.btoa=function(t){return e.from(t,"binary").toString("base64")})})(),function(){!o.atob&&a()&&(o.atob=function(t){return e.from(t,"base64").toString("binary")})}(),function(){s&&"undefined"===typeof Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function(){if(s&&!a()){var e=document.createElement("div");if(e.classList.add("testOne","testTwo"),!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,r=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];t.call(this,a)}},DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=0,o=t;i<o.length;i++){var a=o[i];r.call(this,a)}}}}}(),function(){if(s&&!a()){var e=document.createElement("div");!1!==e.classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t})}}(),function(){String.prototype.startsWith||n(5)}(),function(){String.prototype.endsWith||n(36)}(),function(){String.prototype.includes||n(38)}(),function(){Array.prototype.includes||n(40)}(),function(){Array.from||n(47)}(),function(){Object.assign||n(70)}(),function(){Math.log2||(Math.log2=n(75))}(),function(){Number.isNaN||(Number.isNaN=n(77))}(),function(){Number.isInteger||(Number.isInteger=n(79))}(),function(){o.Promise&&o.Promise.prototype&&o.Promise.prototype["finally"]||(o.Promise=n(82))}(),function(){o.WeakMap||(o.WeakMap=n(102))}(),function(){o.WeakSet||(o.WeakSet=n(119))}(),function(){String.codePointAt||(String.codePointAt=n(123))}(),function(){String.fromCodePoint||(String.fromCodePoint=n(125))}(),function(){o.Symbol||n(127)}(),function(){String.prototype.padStart||n(134)}(),function(){String.prototype.padEnd||n(138)}(),function(){Object.values||(Object.values=n(140))}()}},function(e,t,r){"use strict";e.exports="undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof n&&n.Math===Math?n:"undefined"!==typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}e.exports=function(){return"object"===("undefined"===typeof i?"undefined":n(i))&&i+""==="[object process]"&&!i.versions["nw"]&&!i.versions["electron"]}},function(e,t,r){"use strict";r(6),e.exports=r(9).String.startsWith},function(e,t,r){"use strict";var n=r(7),i=r(28),o=r(30),a="startsWith",s=""[a];n(n.P+n.F*r(35)(a),"String",{startsWith:function(e){var t=o(this,e,a),r=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return s?s.call(t,n,r):t.slice(r,r+n.length)===n}})},function(e,t,r){"use strict";var n=r(8),i=r(9),o=r(10),a=r(20),s=r(26),c="prototype",u=function e(t,r,u){var l,f,h,d,p=t&e.F,v=t&e.G,g=t&e.S,m=t&e.P,y=t&e.B,b=v?n:g?n[r]||(n[r]={}):(n[r]||{})[c],_=v?i:i[r]||(i[r]={}),w=_[c]||(_[c]={});for(l in v&&(u=r),u)f=!p&&b&&void 0!==b[l],h=(f?b:u)[l],d=y&&f?s(h,n):m&&"function"==typeof h?s(Function.call,h):h,b&&a(b,l,h,t&e.U),_[l]!=h&&o(_,l,d),m&&w[l]!=h&&(w[l]=h)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){"use strict";var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,r){"use strict";var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,r){"use strict";var n=r(11),i=r(19);e.exports=r(15)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(12),i=r(14),o=r(18),a=Object.defineProperty;t.f=r(15)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}e.exports=function(e){return"object"===n(e)?null!==e:"function"===typeof e}},function(e,t,r){"use strict";e.exports=!r(15)&&!r(16)((function(){return 7!=Object.defineProperty(r(17)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";e.exports=!r(16)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){"use strict";var n=r(13),i=r(8).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(8),i=r(10),o=r(21),a=r(22)("src"),s=r(23),c="toString",u=(""+s).split(c);r(9).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,r){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,r){"use strict";var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,r){"use strict";e.exports=r(24)("native-function-to-string",Function.toString)},function(e,t,r){"use strict";var n=r(9),i=r(8),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(25)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(27);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(29),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,r){"use strict";var n=r(31),i=r(34);e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(e))}},function(e,t,r){"use strict";var n=r(13),i=r(32),o=r(33)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(24)("wks"),i=r(22),o=r(8).Symbol,a="function"==typeof o,s=e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=n},function(e,t,r){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(33)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(i){}}return!0}},function(e,t,r){"use strict";r(37),e.exports=r(9).String.endsWith},function(e,t,r){"use strict";var n=r(7),i=r(28),o=r(30),a="endsWith",s=""[a];n(n.P+n.F*r(35)(a),"String",{endsWith:function(e){var t=o(this,e,a),r=arguments.length>1?arguments[1]:void 0,n=i(t.length),c=void 0===r?n:Math.min(i(r),n),u=String(e);return s?s.call(t,u,c):t.slice(c-u.length,c)===u}})},function(e,t,r){"use strict";r(39),e.exports=r(9).String.includes},function(e,t,r){"use strict";var n=r(7),i=r(30),o="includes";n(n.P+n.F*r(35)(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){"use strict";r(41),e.exports=r(9).Array.includes},function(e,t,r){"use strict";var n=r(7),i=r(42)(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(46)("includes")},function(e,t,r){"use strict";var n=r(43),i=r(28),o=r(45);e.exports=function(e){return function(t,r,a){var s,c=n(t),u=i(c.length),l=o(a,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(44),i=r(34);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";var n=r(32);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(29),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},function(e,t,r){"use strict";var n=r(33)("unscopables"),i=Array.prototype;void 0==i[n]&&r(10)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){"use strict";r(48),r(63),e.exports=r(9).Array.from},function(e,t,r){"use strict";var n=r(49)(!0);r(50)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){"use strict";var n=r(29),i=r(34);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,r){"use strict";var n=r(25),i=r(7),o=r(20),a=r(10),s=r(51),c=r(52),u=r(60),l=r(61),f=r(33)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};e.exports=function(e,t,r,m,y,b,_){c(r,t,m);var w,A,S,x=function(e){if(!h&&e in E)return E[e];switch(e){case p:return function(){return new r(this,e)};case v:return function(){return new r(this,e)}}return function(){return new r(this,e)}},k=t+" Iterator",C=y==v,P=!1,E=e.prototype,R=E[f]||E[d]||y&&E[y],T=R||x(y),O=y?C?x("entries"):T:void 0,I="Array"==t&&E.entries||R;if(I&&(S=l(I.call(new e)),S!==Object.prototype&&S.next&&(u(S,k,!0),n||"function"==typeof S[f]||a(S,f,g))),C&&R&&R.name!==v&&(P=!0,T=function(){return R.call(this)}),n&&!_||!h&&!P&&E[f]||a(E,f,T),s[t]=T,s[k]=g,y)if(w={values:C?T:x(v),keys:b?T:x(p),entries:O},_)for(A in w)A in E||o(E,A,w[A]);else i(i.P+i.F*(h||P),t,w);return w}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(53),i=r(19),o=r(60),a={};r(10)(a,r(33)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(12),i=r(54),o=r(58),a=r(57)("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=r(17)("iframe"),n=o.length,i="<",a=">";t.style.display="none",r(59).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(n--)delete u[c][o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[c]=n(e),r=new s,s[c]=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){"use strict";var n=r(11),i=r(12),o=r(55);e.exports=r(15)?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,c=0;while(s>c)n.f(e,r=a[c++],t[r]);return e}},function(e,t,r){"use strict";var n=r(56),i=r(58);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(21),i=r(43),o=r(42)(!1),a=r(57)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},function(e,t,r){"use strict";var n=r(24)("keys"),i=r(22);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(8).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(11).f,i=r(21),o=r(33)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(21),i=r(62),o=r(57)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(34);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";var n=r(26),i=r(7),o=r(62),a=r(64),s=r(65),c=r(28),u=r(66),l=r(67);i(i.S+i.F*!r(69)((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,f,h=o(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(h);if(g&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(t=c(h.length),r=new d(t);t>m;m++)u(r,m,g?v(h[m],m):h[m]);else for(f=y.call(h),r=new d;!(i=f.next()).done;m++)u(r,m,g?a(f,v,[i.value,m],!0):i.value);return r.length=m,r}})},function(e,t,r){"use strict";var n=r(12);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e["return"];throw void 0!==o&&n(o.call(e)),a}}},function(e,t,r){"use strict";var n=r(51),i=r(33)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){"use strict";var n=r(11),i=r(19);e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(68),i=r(33)("iterator"),o=r(51);e.exports=r(9).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){"use strict";var n=r(32),i=r(33)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(33)("iterator"),i=!1;try{var o=[7][n]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},e(o)}catch(a){}return r}},function(e,t,r){"use strict";r(71),e.exports=r(9).Object.assign},function(e,t,r){"use strict";var n=r(7);n(n.S+n.F,"Object",{assign:r(72)})},function(e,t,r){"use strict";var n=r(15),i=r(55),o=r(73),a=r(74),s=r(62),c=r(44),u=Object.assign;e.exports=!u||r(16)((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n}))?function(e,t){var r=s(e),u=arguments.length,l=1,f=o.f,h=a.f;while(u>l){var d,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,m=0;while(g>m)d=v[m++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:u},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";r(76),e.exports=r(9).Math.log2},function(e,t,r){"use strict";var n=r(7);n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,r){"use strict";r(78),e.exports=r(9).Number.isNaN},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";r(80),e.exports=r(9).Number.isInteger},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isInteger:r(81)})},function(e,t,r){"use strict";var n=r(13),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){"use strict";r(83),r(48),r(84),r(87),r(100),r(101),e.exports=r(9).Promise},function(e,t,r){"use strict";var n=r(68),i={};i[r(33)("toStringTag")]="z",i+""!="[object z]"&&r(20)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},function(e,t,r){"use strict";for(var n=r(85),i=r(55),o=r(20),a=r(8),s=r(10),c=r(51),u=r(33),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v<p.length;v++){var g,m=p[v],y=d[m],b=a[m],_=b&&b.prototype;if(_&&(_[l]||s(_,l,h),_[f]||s(_,f,m),c[m]=h,y))for(g in n)_[g]||o(_,g,n[g],!0)}},function(e,t,r){"use strict";var n=r(46),i=r(86),o=r(51),a=r(43);e.exports=r(50)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,i,o,a,s=r(25),c=r(8),u=r(26),l=r(68),f=r(7),h=r(13),d=r(27),p=r(88),v=r(89),g=r(90),m=r(91).set,y=r(93)(),b=r(94),_=r(95),w=r(96),A=r(97),S="Promise",x=c.TypeError,k=c.process,C=k&&k.versions,P=C&&C.v8||"",E=c[S],R="process"==l(k),T=function(){},O=i=b.f,I=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[r(33)("species")]=function(e){e(T,T)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(n){}}(),L=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){var n=e._v,i=1==e._s,o=0,a=function(t){var r,o,a,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&M(e),e._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===t.promise?u(x("Promise-chain cycle")):(o=L(r))?o.call(r,c,u):c(r)):u(n)}catch(f){l&&!a&&l.exit(),u(f)}};while(r.length>o)a(r[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){m.call(c,(function(){var t,r,n,i=e._v,o=j(e);if(o&&(t=_((function(){R?k.emit("unhandledRejection",i,e):(r=c.onunhandledrejection)?r({promise:e,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=R||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){m.call(c,(function(){var t;R?k.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},U=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(r=L(t))?y((function(){var i={_w:n,_d:!1};try{r.call(t,u(e,i,1),u(N,i,1))}catch(o){N.call(i,o)}})):(n._v=t,n._s=1,F(n,!1))}catch(i){N.call({_w:n,_d:!1},i)}}};I||(E=function(e){p(this,E,S,"_h"),d(e),n.call(this);try{e(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(98)(E.prototype,{then:function(e,t){var r=O(g(this,E));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(U,e,1),this.reject=u(N,e,1)},b.f=O=function(e){return e===E||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!I,{Promise:E}),r(60)(E,S),r(99)(S),a=r(9)[S],f(f.S+f.F*!I,S,{reject:function(e){var t=O(this),r=t.reject;return r(e),t.promise}}),f(f.S+f.F*(s||!I),S,{resolve:function(e){return A(s&&this===a?E:this,e)}}),f(f.S+f.F*!(I&&r(69)((function(e){E.all(e)["catch"](T)}))),S,{all:function(e){var t=this,r=O(t),n=r.resolve,i=r.reject,o=_((function(){var r=[],o=0,a=1;v(e,!1,(function(e){var s=o++,c=!1;r.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=O(t),n=r.reject,i=_((function(){v(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n=r(26),i=r(64),o=r(65),a=r(12),s=r(28),c=r(67),u={},l={},f=e.exports=function(e,t,r,f,h){var d,p,v,g,m=h?function(){return e}:c(e),y=n(r,f,t?2:1),b=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(d=s(e.length);d>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===l)return g}else for(v=m.call(e);!(p=v.next()).done;)if(g=i(v,y,p.value,t),g===u||g===l)return g};f.BREAK=u,f.RETURN=l},function(e,t,r){"use strict";var n=r(12),i=r(27),o=r(33)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){"use strict";var n,i,o,a=r(26),s=r(92),c=r(59),u=r(17),l=r(8),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){b.call(e.data)};h&&d||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},n(g),g},d=function(e){delete m[e]},"process"==r(32)(f)?n=function(e){f.nextTick(a(b,e,1))}:v&&v.now?n=function(e){v.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,n=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:d}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){"use strict";var n=r(8),i=r(91).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r(32)(a);e.exports=function(){var e,t,r,u=function(){var n,i;c&&(n=a.domain)&&n.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?r():t=void 0,o}}t=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(u)}}else r=function(){i.call(n,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){"use strict";var n=r(27);function i(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},function(e,t,r){"use strict";var n=r(8),i=n.navigator;e.exports=i&&i.userAgent||""},function(e,t,r){"use strict";var n=r(12),i=r(13),o=r(94);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},function(e,t,r){"use strict";var n=r(20);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(8),i=r(11),o=r(15),a=r(33)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(7),i=r(9),o=r(8),a=r(90),s=r(97);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},function(e,t,r){"use strict";var n=r(7),i=r(94),o=r(95);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=o(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";r(83),r(84),r(103),r(115),r(117),e.exports=r(9).WeakMap},function(e,t,r){"use strict";var n,i=r(8),o=r(104)(0),a=r(20),s=r(108),c=r(72),u=r(109),l=r(13),f=r(110),h=r(110),d=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",v=s.getWeak,g=Object.isExtensible,m=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(l(e)){var t=v(e);return!0===t?m(f(this,p)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,p),e,t)}},_=e.exports=r(111)(p,y,b,u,!0,!0);h&&d&&(n=u.getConstructor(y,p),c(n.prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=_.prototype,r=t[e];a(t,e,(function(t,i){if(l(t)&&!g(t)){this._f||(this._f=new n);var o=this._f[e](t,i);return"set"==e?this:o}return r.call(this,t,i)}))})))},function(e,t,r){"use strict";var n=r(26),i=r(44),o=r(62),a=r(28),s=r(105);e.exports=function(e,t){var r=1==e,c=2==e,u=3==e,l=4==e,f=6==e,h=5==e||f,d=t||s;return function(t,s,p){for(var v,g,m=o(t),y=i(m),b=n(s,p,3),_=a(y.length),w=0,A=r?d(t,_):c?d(t,0):void 0;_>w;w++)if((h||w in y)&&(v=y[w],g=b(v,w,m),e))if(r)A[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:A.push(v)}else if(l)return!1;return f?-1:u||l?l:A}}},function(e,t,r){"use strict";var n=r(106);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(13),i=r(107),o=r(33)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(32);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(22)("meta"),o=r(13),a=r(21),s=r(11).f,c=0,l=Object.isExtensible||function(){return!0},f=!r(16)((function(){return l(Object.preventExtensions({}))})),h=function(e){s(e,i,{value:{i:"O"+ ++c,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==n(e)?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";h(e)}return e[i].i},p=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;h(e)}return e[i].w},v=function(e){return f&&g.NEED&&l(e)&&!a(e,i)&&h(e),e},g=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:p,onFreeze:v}},function(e,t,r){"use strict";var n=r(98),i=r(108).getWeak,o=r(12),a=r(13),s=r(88),c=r(89),u=r(104),l=r(21),f=r(110),h=u(5),d=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},m=function(e,t){return h(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var r=m(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=d(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,o){var u=e((function(e,n){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&c(n,r,e[o],e)}));return n(u.prototype,{delete:function(e){if(!a(e))return!1;var r=i(e);return!0===r?v(f(this,t))["delete"](e):r&&l(r,this._i)&&delete r[this._i]},has:function(e){if(!a(e))return!1;var r=i(e);return!0===r?v(f(this,t)).has(e):r&&l(r,this._i)}}),u},def:function(e,t,r){var n=i(o(t),!0);return!0===n?v(e).set(t,r):n[e._i]=r,e},ufstore:v}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,r){"use strict";var n=r(8),i=r(7),o=r(20),a=r(98),s=r(108),c=r(89),u=r(88),l=r(13),f=r(16),h=r(69),d=r(60),p=r(112);e.exports=function(e,t,r,v,g,m){var y=n[e],b=y,_=g?"set":"add",w=b&&b.prototype,A={},S=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof b&&(m||w.forEach&&!f((function(){(new b).entries().next()})))){var x=new b,k=x[_](m?{}:-0,1)!=x,C=f((function(){x.has(1)})),P=h((function(e){new b(e)})),E=!m&&f((function(){var e=new b,t=5;while(t--)e[_](t,t);return!e.has(-0)}));P||(b=t((function(t,r){u(t,b,e);var n=p(new y,t,b);return void 0!=r&&c(r,g,n[_],n),n})),b.prototype=w,w.constructor=b),(C||E)&&(S("delete"),S("has"),g&&S("get")),(E||k)&&S(_),m&&w.clear&&delete w.clear}else b=v.getConstructor(t,e,g,_),a(b.prototype,r),s.NEED=!0;return d(b,e),A[e]=b,i(i.G+i.W+i.F*(b!=y),A),m||v.setStrong(b,e,g),b}},function(e,t,r){"use strict";var n=r(13),i=r(113).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t,r){"use strict";var n=r(13),i=r(12),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(26)(Function.call,r(114).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){"use strict";var n=r(74),i=r(19),o=r(43),a=r(18),s=r(21),c=r(14),u=Object.getOwnPropertyDescriptor;t.f=r(15)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";r(116)("WeakMap")},function(e,t,r){"use strict";var n=r(7);e.exports=function(e){n(n.S,e,{of:function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";r(118)("WeakMap")},function(e,t,r){"use strict";var n=r(7),i=r(27),o=r(26),a=r(89);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,c=arguments[1];return i(this),t=void 0!==c,t&&i(c),void 0==e?new this:(r=[],t?(n=0,s=o(c,arguments[2],2),a(e,!1,(function(e){r.push(s(e,n++))}))):a(e,!1,r.push,r),new this(r))}})}},function(e,t,r){"use strict";r(83),r(84),r(120),r(121),r(122),e.exports=r(9).WeakSet},function(e,t,r){"use strict";var n=r(109),i=r(110),o="WeakSet";r(111)(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return n.def(i(this,o),e,!0)}},n,!1,!0)},function(e,t,r){"use strict";r(116)("WeakSet")},function(e,t,r){"use strict";r(118)("WeakSet")},function(e,t,r){"use strict";r(124),e.exports=r(9).String.codePointAt},function(e,t,r){"use strict";var n=r(7),i=r(49)(!1);n(n.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,r){"use strict";r(126),e.exports=r(9).String.fromCodePoint},function(e,t,r){"use strict";var n=r(7),i=r(45),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},function(e,t,r){"use strict";r(128),r(83),e.exports=r(9).Symbol},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(8),o=r(21),a=r(15),s=r(7),c=r(20),l=r(108).KEY,f=r(16),h=r(24),d=r(60),p=r(22),v=r(33),g=r(129),m=r(130),y=r(131),b=r(107),_=r(12),w=r(13),A=r(62),S=r(43),x=r(18),k=r(19),C=r(53),P=r(132),E=r(114),R=r(73),T=r(11),O=r(55),I=E.f,L=T.f,F=P.f,D=i.Symbol,j=i.JSON,M=j&&j.stringify,N="prototype",U=v("_hidden"),q=v("toPrimitive"),B={}.propertyIsEnumerable,W=h("symbol-registry"),G=h("symbols"),z=h("op-symbols"),Y=Object[N],H="function"==typeof D&&!!R.f,X=i.QObject,V=!X||!X[N]||!X[N].findChild,Q=a&&f((function(){return 7!=C(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=I(Y,t);n&&delete Y[t],L(e,t,r),n&&e!==Y&&L(Y,t,n)}:L,K=function(e){var t=G[e]=C(D[N]);return t._k=e,t},J=H&&"symbol"==n(D.iterator)?function(e){return"symbol"==n(e)}:function(e){return e instanceof D},Z=function(e,t,r){return e===Y&&Z(z,t,r),_(e),t=x(t,!0),_(r),o(G,t)?(r.enumerable?(o(e,U)&&e[U][t]&&(e[U][t]=!1),r=C(r,{enumerable:k(0,!1)})):(o(e,U)||L(e,U,k(1,{})),e[U][t]=!0),Q(e,t,r)):L(e,t,r)},$=function(e,t){_(e);var r,n=y(t=S(t)),i=0,o=n.length;while(o>i)Z(e,r=n[i++],t[r]);return e},ee=function(e,t){return void 0===t?C(e):$(C(e),t)},te=function(e){var t=B.call(this,e=x(e,!0));return!(this===Y&&o(G,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(G,e)||o(this,U)&&this[U][e])||t)},re=function(e,t){if(e=S(e),t=x(t,!0),e!==Y||!o(G,t)||o(z,t)){var r=I(e,t);return!r||!o(G,t)||o(e,U)&&e[U][t]||(r.enumerable=!0),r}},ne=function(e){var t,r=F(S(e)),n=[],i=0;while(r.length>i)o(G,t=r[i++])||t==U||t==l||n.push(t);return n},ie=function(e){var t,r=e===Y,n=F(r?z:S(e)),i=[],a=0;while(n.length>a)!o(G,t=n[a++])||r&&!o(Y,t)||i.push(G[t]);return i};H||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(r){this===Y&&t.call(z,r),o(this,U)&&o(this[U],e)&&(this[U][e]=!1),Q(this,e,k(1,r))};return a&&V&&Q(Y,e,{configurable:!0,set:t}),K(e)},c(D[N],"toString",(function(){return this._k})),E.f=re,T.f=Z,r(133).f=P.f=ne,r(74).f=te,R.f=ie,a&&!r(25)&&c(Y,"propertyIsEnumerable",te,!0),g.f=function(e){return K(v(e))}),s(s.G+s.W+s.F*!H,{Symbol:D});for(var oe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ae=0;oe.length>ae;)v(oe[ae++]);for(var se=O(v.store),ce=0;se.length>ce;)m(se[ce++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(W,e+="")?W[e]:W[e]=D(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in W)if(W[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!H,"Object",{create:ee,defineProperty:Z,defineProperties:$,getOwnPropertyDescriptor:re,getOwnPropertyNames:ne,getOwnPropertySymbols:ie});var ue=f((function(){R.f(1)}));s(s.S+s.F*ue,"Object",{getOwnPropertySymbols:function(e){return R.f(A(e))}}),j&&s(s.S+s.F*(!H||f((function(){var e=D();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(w(t)||void 0!==e)&&!J(e))return b(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!J(t))return t}),n[1]=t,M.apply(j,n)}}),D[N][q]||r(10)(D[N],q,D[N].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,r){"use strict";t.f=r(33)},function(e,t,r){"use strict";var n=r(8),i=r(9),o=r(25),a=r(129),s=r(11).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){"use strict";var n=r(55),i=r(73),o=r(74);e.exports=function(e){var t=n(e),r=i.f;if(r){var a,s=r(e),c=o.f,u=0;while(s.length>u)c.call(e,a=s[u++])&&t.push(a)}return t}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(43),o=r(133).f,a={}.toString,s="object"==("undefined"===typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?c(e):o(i(e))}},function(e,t,r){"use strict";var n=r(56),i=r(58).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";r(135),e.exports=r(9).String.padStart},function(e,t,r){"use strict";var n=r(7),i=r(136),o=r(96),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,r){"use strict";var n=r(28),i=r(137),o=r(34);e.exports=function(e,t,r,a){var s=String(o(e)),c=s.length,u=void 0===r?" ":String(r),l=n(t);if(l<=c||""==u)return s;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},function(e,t,r){"use strict";var n=r(29),i=r(34);e.exports=function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},function(e,t,r){"use strict";r(139),e.exports=r(9).String.padEnd},function(e,t,r){"use strict";var n=r(7),i=r(136),o=r(96),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,r){"use strict";r(141),e.exports=r(9).Object.values},function(e,t,r){"use strict";var n=r(7),i=r(142)(!1);n(n.S,"Object",{values:function(e){return i(e)}})},function(e,t,r){"use strict";var n=r(15),i=r(55),o=r(43),a=r(74).f;e.exports=function(e){return function(t){var r,s=o(t),c=i(s),u=c.length,l=0,f=[];while(u>l)r=c[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}}},function(e,t,r){"use strict";var n=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(i){}t.ReadableStream=n?ReadableStream:r(144).ReadableStream},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}(function(e,t){for(var r in t)e[r]=t[r]})(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},o=r(1),a=o.assert;function s(e){return"string"===typeof e||"symbol"===("undefined"===typeof e?"undefined":i(e))}function c(e,t,r){if("function"!==typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return"object"===("undefined"===typeof e?"undefined":i(e))&&null!==e||"function"===typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"===typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&(e!==1/0&&!(e<0))},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(s(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return c(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(s(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(i){return Promise.reject(i)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(s(t)),a(Array.isArray(r)),a(Array.isArray(i));var o=void 0;try{o=e[t]}catch(u){return Promise.reject(u)}if(void 0===o)return n.apply(null,i);try{return Promise.resolve(c(o,e,r))}catch(l){return Promise.reject(l)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(e=Number(e),Number.isNaN(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!==typeof e)throw new TypeError("size property of a queuing strategy must be a function");return r=t.ValidateAndNormalizeHighWaterMark(r),{size:e,highWaterMark:r}}},function(e,t,r){function n(e){e&&e.constructor===i&&setTimeout((function(){throw e}),0)}function i(e){this.name="AssertionError",this.message=e||"",this.stack=(new Error).stack}function o(e,t){if(!e)throw new i(t)}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,e.exports={rethrowAssertionErrorRejection:n,AssertionError:i,assert:o}},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(0),a=o.InvokeOrNoop,s=o.PromiseInvokeOrNoop,c=o.ValidateAndNormalizeQueuingStrategy,u=o.typeIsObject,l=r(1),f=l.assert,h=l.rethrowAssertionErrorRejection,d=r(3),p=d.DequeueValue,v=d.EnqueueValueWithSize,g=d.PeekQueueValue,m=d.ResetQueue,y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,o=r.highWaterMark,a=void 0===o?1:o;i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1;var s=t.type;if(void 0!==s)throw new RangeError("Invalid type is specified");this._writableStreamController=new X(this,t,n,a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(oe("abort")):!0===w(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):A(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw oe("getWriter");return b(this)}},{key:"locked",get:function(){if(!1===_(this))throw oe("locked");return w(this)}}]),e}();function b(e){return new M(e)}function _(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function w(e){return f(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function A(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=new TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);f("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var o=new Promise((function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}}));return!1===i&&k(e,n),o}function S(e){f(!0===w(e)),f("writable"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._writeRequests.push(n)}));return t}function x(e,t){var r=e._state;"writable"!==r?(f("erroring"===r),C(e)):k(e,t)}function k(e,t){f(void 0===e._storedError,"stream._storedError === undefined"),f("writable"===e._state,"state must be writable");var r=e._writableStreamController;f(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&G(n,t),!1===I(e)&&!0===r._started&&C(e)}function C(e){f("erroring"===e._state,"stream._state === erroring"),f(!1===I(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++){var n=e._writeRequests[r];n._reject(t)}if(e._writeRequests=[],void 0!==e._pendingAbortRequest){var i=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===i._wasAlreadyErroring)return i._reject(t),void D(e);var o=e._writableStreamController.__abortSteps(i._reason);o.then((function(){i._resolve(),D(e)}),(function(t){i._reject(t),D(e)}))}else D(e)}function P(e){f(void 0!==e._inFlightWriteRequest),e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function E(e,t){f(void 0!==e._inFlightWriteRequest),e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,f("writable"===e._state||"erroring"===e._state),x(e,t)}function R(e){f(void 0!==e._inFlightCloseRequest),e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0;var t=e._state;f("writable"===t||"erroring"===t),"erroring"===t&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var r=e._writer;void 0!==r&&de(r),f(void 0===e._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),f(void 0===e._storedError,"stream._storedError === undefined")}function T(e,t){f(void 0!==e._inFlightCloseRequest),e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,f("writable"===e._state||"erroring"===e._state),void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),x(e,t)}function O(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function I(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function L(e){f(void 0===e._inFlightCloseRequest),f(void 0!==e._closeRequest),e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function F(e){f(void 0===e._inFlightWriteRequest,"there must be no pending write request"),f(0!==e._writeRequests.length,"writeRequests must not be empty"),e._inFlightWriteRequest=e._writeRequests.shift()}function D(e){f("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(f(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(fe(t,e._storedError),t._closedPromise["catch"]((function(){})))}function j(e,t){f("writable"===e._state),f(!1===O(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?ye(r):(f(!1===t),_e(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:b,IsWritableStream:_,IsWritableStreamLocked:w,WritableStream:y,WritableStreamAbort:A,WritableStreamDefaultControllerError:ie,WritableStreamDefaultWriterCloseWithErrorPropagation:B,WritableStreamDefaultWriterRelease:Y,WritableStreamDefaultWriterWrite:H,WritableStreamCloseQueuedOrInFlight:O};var M=function(){function e(t){if(i(this,e),!1===_(t))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===w(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===O(t)&&!0===t._backpressure?pe(this):ge(this),ce(this);else if("erroring"===r)ve(this,t._storedError),this._readyPromise["catch"]((function(){})),ce(this);else if("closed"===r)ge(this),le(this);else{f("errored"===r,"state must be errored");var n=t._storedError;ve(this,n),this._readyPromise["catch"]((function(){})),ue(this,n),this._closedPromise["catch"]((function(){}))}}return n(e,[{key:"abort",value:function(e){return!1===N(this)?Promise.reject(ae("abort")):void 0===this._ownerWritableStream?Promise.reject(se("abort")):U(this,e)}},{key:"close",value:function(){if(!1===N(this))return Promise.reject(ae("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(se("close")):!0===O(e)?Promise.reject(new TypeError("cannot close an already-closing stream")):q(this)}},{key:"releaseLock",value:function(){if(!1===N(this))throw ae("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(f(void 0!==e._writer),Y(this))}},{key:"write",value:function(e){return!1===N(this)?Promise.reject(ae("write")):void 0===this._ownerWritableStream?Promise.reject(se("write to")):H(this,e)}},{key:"closed",get:function(){return!1===N(this)?Promise.reject(ae("closed")):this._closedPromise}},{key:"desiredSize",get:function(){if(!1===N(this))throw ae("desiredSize");if(void 0===this._ownerWritableStream)throw se("desiredSize");return z(this)}},{key:"ready",get:function(){return!1===N(this)?Promise.reject(ae("ready")):this._readyPromise}}]),e}();function N(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function U(e,t){var r=e._ownerWritableStream;return f(void 0!==r),A(r,t)}function q(e){var t=e._ownerWritableStream;f(void 0!==t);var r=t._state;if("closed"===r||"errored"===r)return Promise.reject(new TypeError("The stream (in "+r+" state) is not in the writable state and cannot be closed"));f("writable"===r||"erroring"===r),f(!1===O(t));var n=new Promise((function(e,r){var n={_resolve:e,_reject:r};t._closeRequest=n}));return!0===t._backpressure&&"writable"===r&&_e(e),V(t._writableStreamController),n}function B(e){var t=e._ownerWritableStream;f(void 0!==t);var r=t._state;return!0===O(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(f("writable"===r||"erroring"===r),q(e))}function W(e,t){"pending"===e._closedPromiseState?fe(e,t):he(e,t),e._closedPromise["catch"]((function(){}))}function G(e,t){"pending"===e._readyPromiseState?me(e,t):be(e,t),e._readyPromise["catch"]((function(){}))}function z(e){var t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:K(t._writableStreamController)}function Y(e){var t=e._ownerWritableStream;f(void 0!==t),f(t._writer===e);var r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");G(e,r),W(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function H(e,t){var r=e._ownerWritableStream;f(void 0!==r);var n=r._writableStreamController,i=Q(n,t);if(r!==e._ownerWritableStream)return Promise.reject(se("write to"));var o=r._state;if("errored"===o)return Promise.reject(r._storedError);if(!0===O(r)||"closed"===o)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return Promise.reject(r._storedError);f("writable"===o);var a=S(r);return J(n,t,i),a}var X=function(){function e(t,r,n,o){if(i(this,e),!1===_(t))throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,m(this),this._started=!1;var a=c(n,o);this._strategySize=a.size,this._strategyHWM=a.highWaterMark;var s=ne(this);j(t,s)}return n(e,[{key:"error",value:function(e){if(!1===Z(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var t=this._controlledWritableStream._state;"writable"===t&&ie(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){m(this)}},{key:"__startSteps",value:function(){var e=this,t=a(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then((function(){f("writable"===r._state||"erroring"===r._state),e._started=!0,$(e)}),(function(t){f("writable"===r._state||"erroring"===r._state),e._started=!0,x(r,t)}))["catch"](h)}}]),e}();function V(e){v(e,"close",0),$(e)}function Q(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(n){return ee(e,n),1}}function K(e){return e._strategyHWM-e._queueTotalSize}function J(e,t,r){var n={chunk:t};try{v(e,n,r)}catch(a){return void ee(e,a)}var i=e._controlledWritableStream;if(!1===O(i)&&"writable"===i._state){var o=ne(e);j(i,o)}$(e)}function Z(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSink")}function $(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r)if("erroring"!==r){if(0!==e._queue.length){var n=g(e);"close"===n?te(e):re(e,n.chunk)}}else C(t)}}function ee(e,t){"writable"===e._controlledWritableStream._state&&ie(e,t)}function te(e){var t=e._controlledWritableStream;L(t),p(e),f(0===e._queue.length,"queue must be empty once the final write record is dequeued");var r=s(e._underlyingSink,"close",[]);r.then((function(){R(t)}),(function(e){T(t,e)}))["catch"](h)}function re(e,t){var r=e._controlledWritableStream;F(r);var n=s(e._underlyingSink,"write",[t,e]);n.then((function(){P(r);var t=r._state;if(f("writable"===t||"erroring"===t),p(e),!1===O(r)&&"writable"===t){var n=ne(e);j(r,n)}$(e)}),(function(e){E(r,e)}))["catch"](h)}function ne(e){var t=K(e);return t<=0}function ie(e,t){var r=e._controlledWritableStream;f("writable"===r._state),k(r,t)}function oe(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function ae(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function se(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function ce(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"}))}function ue(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function le(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function fe(e,t){f(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),f(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),f("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function he(e,t){f(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),f(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),f("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(t),e._closedPromiseState="rejected"}function de(e){f(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),f(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),f("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function pe(e){e._readyPromise=new Promise((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function ve(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function ge(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function me(e,t){f(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),f(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function ye(e){f(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),f(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=new Promise((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function be(e,t){f(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),f(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t),e._readyPromiseState="rejected"}function _e(e){f(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),f(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0),i=n.IsFiniteNonNegativeNumber,o=r(1),a=o.assert;t.DequeueValue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),a(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),r=Number(r),!i(r))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),a(e._queue.length>0,"Spec-level failure: should never peek at an empty queue.");var t=e._queue[0];return t.value},t.ResetQueue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(0),a=o.ArrayBufferCopy,s=o.CreateIterResultObject,c=o.IsFiniteNonNegativeNumber,u=o.InvokeOrNoop,l=o.PromiseInvokeOrNoop,f=o.TransferArrayBuffer,h=o.ValidateAndNormalizeQueuingStrategy,d=o.ValidateAndNormalizeHighWaterMark,p=r(0),v=p.createArrayFromList,g=p.createDataProperty,m=p.typeIsObject,y=r(1),b=y.assert,_=y.rethrowAssertionErrorRejection,w=r(3),A=w.DequeueValue,S=w.EnqueueValueWithSize,x=w.ResetQueue,k=r(2),C=k.AcquireWritableStreamDefaultWriter,P=k.IsWritableStream,E=k.IsWritableStreamLocked,R=k.WritableStreamAbort,T=k.WritableStreamDefaultWriterCloseWithErrorPropagation,O=k.WritableStreamDefaultWriterRelease,I=k.WritableStreamDefaultWriterWrite,L=k.WritableStreamCloseQueuedOrInFlight,F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,o=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var a=t.type,s=String(a);if("bytes"===s)void 0===o&&(o=0),this._readableStreamController=new _e(this,t,o);else{if(void 0!==a)throw new RangeError("Invalid type is specified");void 0===o&&(o=1),this._readableStreamController=new le(this,t,n,o)}}return n(e,[{key:"cancel",value:function(e){return!1===M(this)?Promise.reject(Ye("cancel")):!0===U(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):H(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===M(this))throw Ye("getReader");if(void 0===t)return j(this);if(t=String(t),"byob"===t)return D(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable,i=this.pipeTo(r,t);return it(i),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,o=r.preventCancel;if(!1===M(this))return Promise.reject(Ye("pipeTo"));if(!1===P(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=Boolean(n),i=Boolean(i),o=Boolean(o),!0===U(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===E(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var a=j(this),s=C(e),c=!1,u=Promise.resolve();return new Promise((function(r,l){function f(){return u=Promise.resolve(),!0===c?Promise.resolve():s._readyPromise.then((function(){return ue(a).then((function(e){var t=e.value,r=e.done;!0!==r&&(u=I(s,t)["catch"]((function(){})))}))})).then(f)}if(p(t,a._closedPromise,(function(t){!1===i?g((function(){return R(e,t)}),!0,t):m(!0,t)})),p(e,s._closedPromise,(function(e){!1===o?g((function(){return H(t,e)}),!0,e):m(!0,e)})),v(t,a._closedPromise,(function(){!1===n?g((function(){return T(s)})):m()})),!0===L(e)||"closed"===e._state){var h=new TypeError("the destination writable stream closed before all data could be piped to it");!1===o?g((function(){return H(t,h)}),!0,h):m(!0,h)}function d(){var e=u;return u.then((function(){return e!==u?d():void 0}))}function p(e,t,r){"errored"===e._state?r(e._storedError):t["catch"](r)["catch"](_)}function v(e,t,r){"closed"===e._state?r():t.then(r)["catch"](_)}function g(t,r,n){function i(){t().then((function(){return y(r,n)}),(function(e){return y(!0,e)}))["catch"](_)}!0!==c&&(c=!0,"writable"===e._state&&!1===L(e)?d().then(i):i())}function m(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===L(e)?d().then((function(){return y(t,r)}))["catch"](_):y(t,r))}function y(e,t){O(s),se(a),e?l(t):r(void 0)}f()["catch"]((function(e){u=Promise.resolve(),_(e)}))}))}},{key:"tee",value:function(){if(!1===M(this))throw Ye("tee");var e=q(this,!1);return v(e)}},{key:"locked",get:function(){if(!1===M(this))throw Ye("locked");return U(this)}}]),e}();function D(e){return new re(e)}function j(e){return new te(e)}function M(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function N(e){return b(!0===M(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed}function U(e){return b(!0===M(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function q(e,t){b(!0===M(e)),b("boolean"===typeof t);var r=j(e),n={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0};n.promise=new Promise((function(e){n._resolve=e}));var i=B();i._reader=r,i._teeState=n,i._cloneForBranch2=t;var o=W();o._stream=e,o._teeState=n;var a=G();a._stream=e,a._teeState=n;var s=Object.create(Object.prototype);g(s,"pull",i),g(s,"cancel",o);var c=new F(s),u=Object.create(Object.prototype);g(u,"pull",i),g(u,"cancel",a);var l=new F(u);return i._branch1=c._readableStreamController,i._branch2=l._readableStreamController,r._closedPromise["catch"]((function(e){!0!==n.closedOrErrored&&(ge(i._branch1,e),ge(i._branch2,e),n.closedOrErrored=!0)})),[c,l]}function B(){function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ue(t).then((function(e){b(m(e));var t=e.value,o=e.done;if(b("boolean"===typeof o),!0===o&&!1===i.closedOrErrored&&(!1===i.canceled1&&pe(r),!1===i.canceled2&&pe(n),i.closedOrErrored=!0),!0!==i.closedOrErrored){var a=t,s=t;!1===i.canceled1&&ve(r,a),!1===i.canceled2&&ve(n,s)}}))}return e}function W(){function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=v([n.reason1,n.reason2]),o=H(r,i);n._resolve(o)}return n.promise}return e}function G(){function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=v([n.reason1,n.reason2]),o=H(r,i);n._resolve(o)}return n.promise}return e}function z(e){b(!0===ne(e._reader)),b("readable"===e._state||"closed"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readIntoRequests.push(n)}));return t}function Y(e){b(!0===ie(e._reader)),b("readable"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readRequests.push(n)}));return t}function H(e,t){if(e._disturbed=!0,"closed"===e._state)return Promise.resolve(void 0);if("errored"===e._state)return Promise.reject(e._storedError);X(e);var r=e._readableStreamController.__cancelSteps(t);return r.then((function(){}))}function X(e){b("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===ie(t)){for(var r=0;r<t._readRequests.length;r++){var n=t._readRequests[r]._resolve;n(s(void 0,!0))}t._readRequests=[]}$e(t)}}function V(e,t){b(!0===M(e),"stream must be ReadableStream"),b("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===ie(r)){for(var n=0;n<r._readRequests.length;n++){var i=r._readRequests[n];i._reject(t)}r._readRequests=[]}else{b(ne(r),"reader must be ReadableStreamBYOBReader");for(var o=0;o<r._readIntoRequests.length;o++){var a=r._readIntoRequests[o];a._reject(t)}r._readIntoRequests=[]}Je(r,t),r._closedPromise["catch"]((function(){}))}}function Q(e,t,r){var n=e._reader;b(n._readIntoRequests.length>0);var i=n._readIntoRequests.shift();i._resolve(s(t,r))}function K(e,t,r){var n=e._reader;b(n._readRequests.length>0);var i=n._readRequests.shift();i._resolve(s(t,r))}function J(e){return e._reader._readIntoRequests.length}function Z(e){return e._reader._readRequests.length}function $(e){var t=e._reader;return void 0!==t&&!1!==ne(t)}function ee(e){var t=e._reader;return void 0!==t&&!1!==ie(t)}e.exports={ReadableStream:F,IsReadableStreamDisturbed:N,ReadableStreamDefaultControllerClose:pe,ReadableStreamDefaultControllerEnqueue:ve,ReadableStreamDefaultControllerError:ge,ReadableStreamDefaultControllerGetDesiredSize:ye};var te=function(){function e(t){if(i(this,e),!1===M(t))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===U(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");oe(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===ie(this)?Promise.reject(Xe("cancel")):void 0===this._ownerReadableStream?Promise.reject(He("cancel")):ae(this,e)}},{key:"read",value:function(){return!1===ie(this)?Promise.reject(Xe("read")):void 0===this._ownerReadableStream?Promise.reject(He("read from")):ue(this)}},{key:"releaseLock",value:function(){if(!1===ie(this))throw Xe("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");se(this)}}},{key:"closed",get:function(){return!1===ie(this)?Promise.reject(Xe("closed")):this._closedPromise}}]),e}(),re=function(){function e(t){if(i(this,e),!M(t))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===we(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(U(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");oe(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return ne(this)?void 0===this._ownerReadableStream?Promise.reject(He("cancel")):ae(this,e):Promise.reject(et("cancel"))}},{key:"read",value:function(e){return ne(this)?void 0===this._ownerReadableStream?Promise.reject(He("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):ce(this,e):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(et("read"))}},{key:"releaseLock",value:function(){if(!ne(this))throw et("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");se(this)}}},{key:"closed",get:function(){return ne(this)?this._closedPromise:Promise.reject(et("closed"))}}]),e}();function ne(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function ie(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function oe(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?Ve(e):"closed"===t._state?Ke(e):(b("errored"===t._state,"state must be errored"),Qe(e,t._storedError),e._closedPromise["catch"]((function(){})))}function ae(e,t){var r=e._ownerReadableStream;return b(void 0!==r),H(r,t)}function se(e){b(void 0!==e._ownerReadableStream),b(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?Je(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):Ze(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise["catch"]((function(){})),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ce(e,t){var r=e._ownerReadableStream;return b(void 0!==r),r._disturbed=!0,"errored"===r._state?Promise.reject(r._storedError):Le(r._readableStreamController,t)}function ue(e){var t=e._ownerReadableStream;return b(void 0!==t),t._disturbed=!0,"closed"===t._state?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(b("readable"===t._state),t._readableStreamController.__pullSteps())}var le=function(){function e(t,r,n,o){if(i(this,e),!1===M(t))throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,x(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var a=h(n,o);this._strategySize=a.size,this._strategyHWM=a.highWaterMark;var s=this,c=u(r,"start",[this]);Promise.resolve(c).then((function(){s._started=!0,b(!1===s._pulling),b(!1===s._pullAgain),he(s)}),(function(e){me(s,e)}))["catch"](_)}return n(e,[{key:"close",value:function(){if(!1===fe(this))throw tt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");pe(this)}},{key:"enqueue",value:function(e){if(!1===fe(this))throw tt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ve(this,e)}},{key:"error",value:function(e){if(!1===fe(this))throw tt("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw new TypeError("The stream is "+t._state+" and so cannot be errored");ge(this,e)}},{key:"__cancelSteps",value:function(e){return x(this),l(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=A(this);return!0===this._closeRequested&&0===this._queue.length?X(e):he(this),Promise.resolve(s(t,!1))}var r=Y(e);return he(this),r}},{key:"desiredSize",get:function(){if(!1===fe(this))throw tt("desiredSize");return ye(this)}}]),e}();function fe(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")}function he(e){var t=de(e);if(!1!==t)if(!0!==e._pulling){b(!1===e._pullAgain),e._pulling=!0;var r=l(e._underlyingSource,"pull",[e]);r.then((function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,he(e)}),(function(t){me(e,t)}))["catch"](_)}else e._pullAgain=!0}function de(e){var t=e._controlledReadableStream;if("closed"===t._state||"errored"===t._state)return!1;if(!0===e._closeRequested)return!1;if(!1===e._started)return!1;if(!0===U(t)&&Z(t)>0)return!0;var r=ye(e);return r>0}function pe(e){var t=e._controlledReadableStream;b(!1===e._closeRequested),b("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&X(t)}function ve(e,t){var r=e._controlledReadableStream;if(b(!1===e._closeRequested),b("readable"===r._state),!0===U(r)&&Z(r)>0)K(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(o){throw me(e,o),o}}try{S(e,t,n)}catch(a){throw me(e,a),a}}he(e)}function ge(e,t){var r=e._controlledReadableStream;b("readable"===r._state),x(e),V(r,t)}function me(e,t){"readable"===e._controlledReadableStream._state&&ge(e,t)}function ye(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}var be=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===Ae(this))throw rt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");Ge(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===Ae(this))throw rt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");ze(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),_e=function(){function e(t,r,n){if(i(this,e),!1===M(t))throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,xe(this),this._queue=this._queueTotalSize=void 0,x(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=d(n);var o=r.autoAllocateChunkSize;if(void 0!==o&&(!1===Number.isInteger(o)||o<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=o,this._pendingPullIntos=[];var a=this,s=u(r,"start",[this]);Promise.resolve(s).then((function(){a._started=!0,b(!1===a._pulling),b(!1===a._pullAgain),Se(a)}),(function(e){"readable"===t._state&&Be(a,e)}))["catch"](_)}return n(e,[{key:"close",value:function(){if(!1===we(this))throw nt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Ue(this)}},{key:"enqueue",value:function(e){if(!1===we(this))throw nt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");qe(this,e)}},{key:"error",value:function(e){if(!1===we(this))throw nt("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw new TypeError("The stream is "+t._state+" and so cannot be errored");Be(this,e)}},{key:"__cancelSteps",value:function(e){if(this._pendingPullIntos.length>0){var t=this._pendingPullIntos[0];t.bytesFilled=0}return x(this),l(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(b(!0===ee(e)),this._queueTotalSize>0){b(0===Z(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,Te(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(c){return Promise.reject(c)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(u){return Promise.reject(u)}var o={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var a=Y(e);return Se(this),a}},{key:"byobRequest",get:function(){if(!1===we(this))throw nt("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new be(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===we(this))throw nt("desiredSize");return We(this)}}]),e}();function we(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource")}function Ae(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Se(e){var t=Ne(e);if(!1!==t)if(!0!==e._pulling){b(!1===e._pullAgain),e._pulling=!0;var r=l(e._underlyingByteSource,"pull",[e]);r.then((function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Se(e))}),(function(t){"readable"===e._controlledReadableStream._state&&Be(e,t)}))["catch"](_)}else e._pullAgain=!0}function xe(e){Oe(e),e._pendingPullIntos=[]}function ke(e,t){b("errored"!==e._state,"state must not be errored");var r=!1;"closed"===e._state&&(b(0===t.bytesFilled),r=!0);var n=Ce(t);"default"===t.readerType?K(e,n,r):(b("byob"===t.readerType),Q(e,n,r))}function Ce(e){var t=e.bytesFilled,r=e.elementSize;return b(t<=e.byteLength),b(t%r===0),new e.ctor(e.buffer,e.byteOffset,t/r)}function Pe(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function Ee(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+i,s=o-o%r,c=i,u=!1;s>n&&(c=s-t.bytesFilled,u=!0);var l=e._queue;while(c>0){var f=l[0],h=Math.min(c,f.byteLength),d=t.byteOffset+t.bytesFilled;a(t.buffer,d,f.buffer,f.byteOffset,h),f.byteLength===h?l.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,Re(e,h,t),c-=h}return!1===u&&(b(0===e._queueTotalSize,"queue must be empty"),b(t.bytesFilled>0),b(t.bytesFilled<t.elementSize)),u}function Re(e,t,r){b(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),Oe(e),r.bytesFilled+=t}function Te(e){b("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?X(e._controlledReadableStream):Se(e)}function Oe(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function Ie(e){b(!1===e._closeRequested);while(e._pendingPullIntos.length>0){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===Ee(e,t)&&(Me(e),ke(e._controlledReadableStream,t))}}function Le(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,o={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return o.buffer=f(o.buffer),e._pendingPullIntos.push(o),z(r);if("closed"===r._state){var a=new t.constructor(o.buffer,o.byteOffset,0);return Promise.resolve(s(a,!0))}if(e._queueTotalSize>0){if(!0===Ee(e,o)){var c=Ce(o);return Te(e),Promise.resolve(s(c,!1))}if(!0===e._closeRequested){var u=new TypeError("Insufficient bytes to fill elements in the given buffer");return Be(e,u),Promise.reject(u)}}o.buffer=f(o.buffer),e._pendingPullIntos.push(o);var l=z(r);return Se(e),l}function Fe(e,t){t.buffer=f(t.buffer),b(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===$(r))while(J(r)>0){var n=Me(e);ke(r,n)}}function De(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(Re(e,t,r),!(r.bytesFilled<r.elementSize)){Me(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,o=r.buffer.slice(i-n,i);Pe(e,o,0,o.byteLength)}r.buffer=f(r.buffer),r.bytesFilled-=n,ke(e._controlledReadableStream,r),Ie(e)}}function je(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");Fe(e,r)}else b("readable"===n._state),De(e,t,r)}function Me(e){var t=e._pendingPullIntos.shift();return Oe(e),t}function Ne(e){var t=e._controlledReadableStream;return"readable"===t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===ee(t)&&Z(t)>0||(!0===$(t)&&J(t)>0||We(e)>0))))}function Ue(e){var t=e._controlledReadableStream;if(b(!1===e._closeRequested),b("readable"===t._state),e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Be(e,n),n}}X(t)}}function qe(e,t){var r=e._controlledReadableStream;b(!1===e._closeRequested),b("readable"===r._state);var n=t.buffer,i=t.byteOffset,o=t.byteLength,a=f(n);if(!0===ee(r))if(0===Z(r))Pe(e,a,i,o);else{b(0===e._queue.length);var s=new Uint8Array(a,i,o);K(r,s,!1)}else!0===$(r)?(Pe(e,a,i,o),Ie(e)):(b(!1===U(r),"stream must not be locked"),Pe(e,a,i,o))}function Be(e,t){var r=e._controlledReadableStream;b("readable"===r._state),xe(e),x(e),V(r,t)}function We(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}function Ge(e,t){if(t=Number(t),!1===c(t))throw new RangeError("bytesWritten must be a finite");b(e._pendingPullIntos.length>0),je(e,t)}function ze(e,t){b(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,je(e,t.byteLength)}function Ye(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function He(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Xe(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function Ve(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function Qe(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Ke(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Je(e,t){b(void 0!==e._closedPromise_resolve),b(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Ze(e,t){b(void 0===e._closedPromise_resolve),b(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)}function $e(e){b(void 0!==e._closedPromise_resolve),b(void 0!==e._closedPromise_reject),e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function et(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function tt(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function rt(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function nt(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function it(e){try{Promise.prototype.then.call(e,void 0,(function(){}))}catch(t){}}},function(e,t,r){var n=r(6),i=r(4),o=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=o.AcquireWritableStreamDefaultWriter,t.IsWritableStream=o.IsWritableStream,t.IsWritableStreamLocked=o.IsWritableStreamLocked,t.WritableStream=o.WritableStream,t.WritableStreamAbort=o.WritableStreamAbort,t.WritableStreamDefaultControllerError=o.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=o.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=o.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=o.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(1),a=o.assert,s=r(0),c=s.InvokeOrNoop,u=s.PromiseInvokeOrPerformFallback,l=s.PromiseInvokeOrNoop,f=s.typeIsObject,h=r(4),d=h.ReadableStream,p=h.ReadableStreamDefaultControllerClose,v=h.ReadableStreamDefaultControllerEnqueue,g=h.ReadableStreamDefaultControllerError,m=h.ReadableStreamDefaultControllerGetDesiredSize,y=r(2),b=y.WritableStream,_=y.WritableStreamDefaultControllerError;function w(e){if(!0===e._errored)throw new TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw new TypeError("Readable side is already closed");x(e)}function A(e,t){if(!0===e._errored)throw new TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw new TypeError("Readable side is already closed");var r=e._readableController;try{v(r,t)}catch(o){throw e._readableClosed=!0,k(e,o),e._storedError}var n=m(r),i=n<=0;!0===i&&!1===e._backpressure&&E(e,!0)}function S(e,t){if(!0===e._errored)throw new TypeError("TransformStream is already errored");C(e,t)}function x(e){a(!1===e._errored),a(!1===e._readableClosed);try{p(e._readableController)}catch(t){a(!1)}e._readableClosed=!0}function k(e,t){!1===e._errored&&C(e,t)}function C(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&_(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function P(e){return a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function E(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise((function(t){e._backpressureChangePromise_resolve=t})),e._backpressureChangePromise.then((function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")})),e._backpressure=t}function R(e,t){var r=t._controlledTransformStream;return A(r,e),Promise.resolve()}function T(e,t){a(!1===e._errored),a(!1===e._transforming),a(!1===e._backpressure),e._transforming=!0;var r=e._transformer,n=e._transformStreamController,i=u(r,"transform",[t,n],R,[t,n]);return i.then((function(){return e._transforming=!1,P(e)}),(function(t){return k(e,t),Promise.reject(t)}))}function O(e){return!!f(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function I(e){return!!f(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}var L=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then((function(){return P(t)}))}},{key:"write",value:function(e){var t=this._transformStream;return T(t,e)}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,C(e,new TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;a(!1===e._transforming),e._writableDone=!0;var t=l(e._transformer,"flush",[e._transformStreamController]);return t.then((function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&x(e),Promise.resolve())}))["catch"]((function(t){return k(e,t),Promise.reject(e._storedError)}))}}]),e}(),F=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then((function(){return a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)}))}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),E(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,C(e,new TypeError("Readable side canceled"))}}]),e}(),D=function(){function e(t){if(i(this,e),!1===I(t))throw new TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw new TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===O(this))throw M("enqueue");A(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===O(this))throw M("close");w(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===O(this))throw M("error");S(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===O(this))throw M("desiredSize");var e=this._controlledTransformStream,t=e._readableController;return m(t)}}]),e}(),j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new D(this);var o=void 0,s=new Promise((function(e){o=e})),u=new F(this,s);this._readable=new d(u,r);var l=new L(this,s);this._writable=new b(l,n),a(void 0!==this._writableController),a(void 0!==this._readableController);var f=m(this._readableController);E(this,f<=0);var h=this,p=c(t,"start",[h._transformStreamController]);o(p),s["catch"]((function(e){!1===h._errored&&(h._errored=!0,h._storedError=e)}))}return n(e,[{key:"readable",get:function(){if(!1===I(this))throw N("readable");return this._readable}},{key:"writable",get:function(){if(!1===I(this))throw N("writable");return this._writable}}]),e}();function M(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function N(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:j}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=!1;try{if("function"===typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var o=new URL("b","http://a");o.pathname="c%20d",i="http://a/c%20d"===o.href}}catch(c){}if(i)t.URL=URL;else{var a=r(146).URL,s=r(3).URL;s&&(a.createObjectURL=function(e){return s.createObjectURL.apply(s,arguments)},a.revokeObjectURL=function(e){s.revokeObjectURL(e)}),t.URL=a}},function(e,t,r){"use strict";(function(){var e=Object.create(null);e["ftp"]=21,e["file"]=0,e["gopher"]=70,e["http"]=80,e["https"]=443,e["ws"]=80,e["wss"]=443;var r=Object.create(null);function n(t){return void 0!==e[t]}function i(){h.call(this),this._isInvalid=!0}function o(e){return""===e&&i.call(this),e.toLowerCase()}function a(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function s(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var c,u=/[a-zA-Z]/,l=/[a-zA-Z0-9\+\-\.]/;function f(t,f,h){function d(e){b.push(e)}var p=f||"scheme start",v=0,g="",m=!1,y=!1,b=[];e:while((t[v-1]!==c||0===v)&&!this._isInvalid){var _=t[v];switch(p){case"scheme start":if(!_||!u.test(_)){if(f){d("Invalid scheme.");break e}g="",p="no scheme";continue}g+=_.toLowerCase(),p="scheme";break;case"scheme":if(_&&l.test(_))g+=_.toLowerCase();else{if(":"!==_){if(f){if(_===c)break e;d("Code point not allowed in scheme: "+_);break e}g="",v=0,p="no scheme";continue}if(this._scheme=g,g="",f)break e;n(this._scheme)&&(this._isRelative=!0),p="file"===this._scheme?"relative":this._isRelative&&h&&h._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===_?(this._query="?",p="query"):"#"===_?(this._fragment="#",p="fragment"):_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=a(_));break;case"no scheme":if(h&&n(h._scheme)){p="relative";continue}d("Missing scheme."),i.call(this);break;case"relative or authority":if("/"!==_||"/"!==t[v+1]){d("Expected /, got: "+_),p="relative";continue}p="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=h._scheme),_===c){this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query=h._query,this._username=h._username,this._password=h._password;break e}if("/"===_||"\\"===_)"\\"===_&&d("\\ is an invalid code point."),p="relative slash";else if("?"===_)this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query="?",this._username=h._username,this._password=h._password,p="query";else{if("#"!==_){var w=t[v+1],A=t[v+2];("file"!==this._scheme||!u.test(_)||":"!==w&&"|"!==w||A!==c&&"/"!==A&&"\\"!==A&&"?"!==A&&"#"!==A)&&(this._host=h._host,this._port=h._port,this._username=h._username,this._password=h._password,this._path=h._path.slice(),this._path.pop()),p="relative path";continue}this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query=h._query,this._fragment="#",this._username=h._username,this._password=h._password,p="fragment"}break;case"relative slash":if("/"!==_&&"\\"!==_){"file"!==this._scheme&&(this._host=h._host,this._port=h._port,this._username=h._username,this._password=h._password),p="relative path";continue}"\\"===_&&d("\\ is an invalid code point."),p="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==_){d("Expected '/', got: "+_),p="authority ignore slashes";continue}p="authority second slash";break;case"authority second slash":if(p="authority ignore slashes","/"!==_){d("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){p="authority";continue}d("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(d("@ already seen."),g+="%40"),m=!0;for(var S=0;S<g.length;S++){var x=g[S];if("\t"!==x&&"\n"!==x&&"\r"!==x)if(":"!==x||null!==this._password){var k=a(x);null!==this._password?this._password+=k:this._username+=k}else this._password="";else d("Invalid whitespace in authority.")}g=""}else{if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){v-=g.length,g="",p="host";continue}g+=_}break;case"file host":if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){2!==g.length||!u.test(g[0])||":"!==g[1]&&"|"!==g[1]?(0===g.length||(this._host=o.call(this,g),g=""),p="relative path start"):p="relative path";continue}"\t"===_||"\n"===_||"\r"===_?d("Invalid whitespace in file host."):g+=_;break;case"host":case"hostname":if(":"!==_||y){if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=o.call(this,g),g="",p="relative path start",f)break e;continue}"\t"!==_&&"\n"!==_&&"\r"!==_?("["===_?y=!0:"]"===_&&(y=!1),g+=_):d("Invalid code point in host/hostname: "+_)}else if(this._host=o.call(this,g),g="",p="port","hostname"===f)break e;break;case"port":if(/[0-9]/.test(_))g+=_;else{if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_||f){if(""!==g){var C=parseInt(g,10);C!==e[this._scheme]&&(this._port=C+""),g=""}if(f)break e;p="relative path start";continue}"\t"===_||"\n"===_||"\r"===_?d("Invalid code point in port: "+_):i.call(this)}break;case"relative path start":if("\\"===_&&d("'\\' not allowed in path."),p="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":var P;if(_!==c&&"/"!==_&&"\\"!==_&&(f||"?"!==_&&"#"!==_))"\t"!==_&&"\n"!==_&&"\r"!==_&&(g+=a(_));else"\\"===_&&d("\\ not allowed in relative path."),(P=r[g.toLowerCase()])&&(g=P),".."===g?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===g&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==g&&("file"===this._scheme&&0===this._path.length&&2===g.length&&u.test(g[0])&&"|"===g[1]&&(g=g[0]+":"),this._path.push(g)),g="","?"===_?(this._query="?",p="query"):"#"===_&&(this._fragment="#",p="fragment");break;case"query":f||"#"!==_?_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._query+=s(_)):(this._fragment="#",p="fragment");break;case"fragment":_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_);break}v++}}function h(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function d(e,t){void 0===t||t instanceof d||(t=new d(String(t))),this._url=e,h.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");f.call(this,r,null,t)}d.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""===this._username&&null===this._password||(e=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){h.call(this),f.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||f.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],f.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"===e[0]&&(e=e.slice(1)),f.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"===e[0]&&(e=e.slice(1)),f.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new d(this._schemeData).origin||"null"}catch(t){}return"null"}return e=this.host,e?this._scheme+"://"+e:""}},t.URL=d})()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocument=B,t.setPDFNetworkStreamFactory=q,t.build=t.version=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=void 0;var i=m(n(148)),o=n(1),a=n(151),s=n(152),c=n(153),l=n(154),f=m(n(3)),h=n(156),d=n(157),p=n(158),v=n(160),g=n(161);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function b(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){y(o,n,i,a,s,"next",e)}function s(e){y(o,n,i,a,s,"throw",e)}a(void 0)}))}}function _(e,t){return S(e)||A(e,t)||w()}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function A(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function S(e){if(Array.isArray(e))return e}function x(e){return P(e)||C(e)||k()}function k(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function C(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function P(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t&&R(e.prototype,t),r&&R(e,r),e}function O(e){return O="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},O(e)}var I,L=65536,F=!1,D=null,j=!1;"undefined"===typeof window?(F=!0,j=!0):j=!0,"undefined"!==typeof requirejs&&requirejs.toUrl&&(I=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var M,N="undefined"!==typeof requirejs&&requirejs.load;if(D=j?function(){return new Promise((function(e,t){r.e(1).then(function(){try{var n;n=r("55db"),e(n.WorkerMessageHandler)}catch(i){t(i)}}.bind(null,r)).catch(t)}))}:N?function(){return new Promise((function(e,t){requirejs(["pdfjs-dist/build/pdf.worker"],(function(r){try{e(r.WorkerMessageHandler)}catch(n){t(n)}}),t)}))}:null,!I&&"object"===("undefined"===typeof document?"undefined":O(document))&&"currentScript"in document){var U=document.currentScript&&document.currentScript.src;U&&(I=U.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function q(e){M=e}function B(e){var t,r=new G;if("string"===typeof e)t={url:e};else if((0,o.isArrayBuffer)(e))t={data:e};else if(e instanceof z)t={range:e};else{if("object"!==O(e))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var n=Object.create(null),i=null,s=null;for(var u in t)if("url"!==u||"undefined"===typeof window)if("range"!==u)if("worker"!==u)if("data"!==u||t[u]instanceof Uint8Array)n[u]=t[u];else{var l=t[u];if("string"===typeof l)n[u]=(0,o.stringToBytes)(l);else if("object"!==O(l)||null===l||isNaN(l.length)){if(!(0,o.isArrayBuffer)(l))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");n[u]=new Uint8Array(l)}else n[u]=new Uint8Array(l)}else s=t[u];else i=t[u];else n[u]=new o.URL(t[u],window.location).href;n.rangeChunkSize=n.rangeChunkSize||L,n.CMapReaderFactory=n.CMapReaderFactory||a.DOMCMapReaderFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.pdfBug=!0===n.pdfBug;var f=Object.values(o.NativeImageDecoding);if(void 0!==n.nativeImageDecoderSupport&&f.includes(n.nativeImageDecoderSupport)||(n.nativeImageDecoderSupport=c.apiCompatibilityParams.nativeImageDecoderSupport||o.NativeImageDecoding.DECODE),Number.isInteger(n.maxImageSize)||(n.maxImageSize=-1),"boolean"!==typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!==typeof n.disableFontFace&&(n.disableFontFace=c.apiCompatibilityParams.disableFontFace||!1),"boolean"!==typeof n.disableRange&&(n.disableRange=!1),"boolean"!==typeof n.disableStream&&(n.disableStream=!1),"boolean"!==typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),"boolean"!==typeof n.disableCreateObjectURL&&(n.disableCreateObjectURL=c.apiCompatibilityParams.disableCreateObjectURL||!1),(0,o.setVerbosityLevel)(n.verbosity),!s){var p={postMessageTransfers:n.postMessageTransfers,verbosity:n.verbosity,port:h.GlobalWorkerOptions.workerPort};s=p.port?V.fromPort(p):new V(p),r._worker=s}var g=r.docId;return s.promise.then((function(){if(r.destroyed)throw new Error("Loading aborted");return W(s,n,i,g).then((function(e){if(r.destroyed)throw new Error("Loading aborted");var t;i?t=new v.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(t=M({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream}));var o=new d.MessageHandler(g,e,s.port);o.postMessageTransfers=s.postMessageTransfers;var a=new Q(o,r,t,n);r._transport=a,o.send("Ready",null)}))}))["catch"](r._capability.reject),r}function W(e,t,r,n){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(r&&(t.length=r.length,t.initialData=r.initialData,t.progressiveDone=r.progressiveDone),e.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.2.228",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,disableCreateObjectURL:t.disableCreateObjectURL,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,nativeImageDecoderSupport:t.nativeImageDecoderSupport,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}var G=function(){var e=0,t=function(){function t(){E(this,t),this._capability=(0,o.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return T(t,[{key:"destroy",value:function(){var e=this;this.destroyed=!0;var t=this._transport?this._transport.destroy():Promise.resolve();return t.then((function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)}))}},{key:"then",value:function(e,t){return(0,a.deprecated)("PDFDocumentLoadingTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._capability.promise}}]),t}();return t}(),z=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];E(this,e),this.length=t,this.initialData=r,this.progressiveDone=n,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,o.createPromiseCapability)()}return T(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var r=!0,n=!1,i=void 0;try{for(var o,a=this._rangeListeners[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value;s(e,t)}}catch(c){n=!0,i=c}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}}},{key:"onDataProgress",value:function(e,t){var r=this;this._readyCapability.promise.then((function(){var n=!0,i=!1,o=void 0;try{for(var a,s=r._progressListeners[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;c(e,t)}}catch(u){i=!0,o=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var r=!0,n=!1,i=void 0;try{for(var o,a=t._progressiveReadListeners[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value;s(e)}}catch(c){n=!0,i=c}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t=!0,r=!1,n=void 0;try{for(var i,o=e._progressiveDoneListeners[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;a()}}catch(s){r=!0,n=s}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,o.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();t.PDFDataRangeTransport=z;var Y=function(){function e(t,r){E(this,e),this._pdfInfo=t,this._transport=r}return T(e,[{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenActionDestination",value:function(){return this._transport.getOpenActionDestination()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),e}();t.PDFDocumentProxy=Y;var H=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];E(this,e),this.pageIndex=t,this._pageInfo=r,this._transport=n,this._stats=i?new a.StatTimer:a.DummyStatTimer,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new K,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return T(e,[{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,r=e.rotation,n=void 0===r?this.rotate:r,i=e.dontFlip,o=void 0!==i&&i;return(arguments.length>1||"number"===typeof arguments[0])&&((0,a.deprecated)("getViewport is called with obsolete arguments."),t=arguments[0],n="number"===typeof arguments[1]?arguments[1]:this.rotate,o="boolean"===typeof arguments[2]&&arguments[2]),new a.PageViewport({viewBox:this.view,scale:t,rotation:n,dontFlip:o})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,r=void 0===t?null:t;return this.annotationsPromise&&this.annotationsIntent===r||(this.annotationsPromise=this._transport.getAnnotations(this.pageIndex,r),this.annotationsIntent=r),this.annotationsPromise}},{key:"render",value:function(e){var t=this,r=e.canvasContext,n=e.viewport,i=e.intent,s=void 0===i?"display":i,c=e.enableWebGL,u=void 0!==c&&c,l=e.renderInteractiveForms,f=void 0!==l&&l,h=e.transform,d=void 0===h?null:h,p=e.imageLayer,v=void 0===p?null:p,m=e.canvasFactory,y=void 0===m?null:m,b=e.background,_=void 0===b?null:b,w=this._stats;w.time("Overall"),this.pendingCleanup=!1;var A="print"===s?"print":"display",S=y||new a.DOMCanvasFactory,x=new g.WebGLContext({enable:u});this.intentStates[A]||(this.intentStates[A]=Object.create(null));var k=this.intentStates[A];k.displayReadyCapability||(k.receivingOperatorList=!0,k.displayReadyCapability=(0,o.createPromiseCapability)(),k.operatorList={fnArray:[],argsArray:[],lastChunk:!1},w.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:A,renderInteractiveForms:!0===f}));var C=function(e){var r=k.renderTasks.indexOf(P);r>=0&&k.renderTasks.splice(r,1),(t.cleanupAfterRender||"print"===A)&&(t.pendingCleanup=!0),t._tryCleanup(),e?P.capability.reject(e):P.capability.resolve(),w.timeEnd("Rendering"),w.timeEnd("Overall")},P=new Z({callback:C,params:{canvasContext:r,viewport:n,transform:d,imageLayer:v,background:_},objs:this.objs,commonObjs:this.commonObjs,operatorList:k.operatorList,pageNumber:this.pageNumber,canvasFactory:S,webGLContext:x,useRequestAnimationFrame:"print"!==A,pdfBug:this._pdfBug});k.renderTasks||(k.renderTasks=[]),k.renderTasks.push(P);var E=P.task;return k.displayReadyCapability.promise.then((function(e){t.pendingCleanup?C():(w.time("Rendering"),P.initializeGraphics(e),P.operatorListChanged())}))["catch"](C),E}},{key:"getOperatorList",value:function(){function e(){if(n.operatorList.lastChunk){n.opListReadCapability.resolve(n.operatorList);var e=n.renderTasks.indexOf(r);e>=0&&n.renderTasks.splice(e,1)}}var t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r,n=this.intentStates[t];return n.opListReadCapability||(r={},r.operatorListChanged=e,n.receivingOperatorList=!0,n.opListReadCapability=(0,o.createPromiseCapability)(),n.renderTasks=[],n.renderTasks.push(r),n.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),n.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,r=void 0!==t&&t,n=e.disableCombineTextItems,i=void 0!==n&&n,o=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===r,combineTextItems:!0!==i},{highWaterMark:o,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise((function(e,r){function n(){i.read().then((function(t){var r,i=t.value,a=t.done;a?e(o):(Object.assign(o.styles,i.styles),(r=o.items).push.apply(r,x(i.items)),n())}),r)}var i=t.getReader(),o={items:[],styles:Object.create(null)};n()}))}},{key:"_destroy",value:function(){this.destroyed=!0,this._transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach((function(t){if("oplist"!==t){var r=this.intentStates[t];r.renderTasks.forEach((function(t){var r=t.capability.promise["catch"]((function(){}));e.push(r),t.cancel()}))}}),this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup&&!Object.keys(this.intentStates).some((function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList}),this)&&(Object.keys(this.intentStates).forEach((function(e){delete this.intentStates[e]}),this),this.objs.clear(),this.annotationsPromise=null,e&&this._stats instanceof a.StatTimer&&(this._stats=new a.StatTimer),this.pendingCleanup=!1)}},{key:"_startRenderPage",value:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)}},{key:"_renderPageChunk",value:function(e,t){for(var r=this.intentStates[t],n=0,i=e.length;n<i;n++)r.operatorList.fnArray.push(e.fnArray[n]),r.operatorList.argsArray.push(e.argsArray[n]);r.operatorList.lastChunk=e.lastChunk;for(var o=0;o<r.renderTasks.length;o++)r.renderTasks[o].operatorListChanged();e.lastChunk&&(r.receivingOperatorList=!1,this._tryCleanup())}},{key:"pageNumber",get:function(){return this.pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats instanceof a.StatTimer?this._stats:null}}]),e}();t.PDFPageProxy=H;var X=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];E(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return T(e,[{key:"postMessage",value:function(e,t){var r=this;function n(e){if("object"!==O(e)||null===e)return e;if(i.has(e))return i.get(e);var r,a;if((r=e.buffer)&&(0,o.isArrayBuffer)(r)){var s=t&&t.includes(r);return a=e===r?e:s?new e.constructor(r,e.byteOffset,e.byteLength):new e.constructor(e),i.set(e,a),a}for(var c in a=Array.isArray(e)?[]:{},i.set(e,a),e){var u=void 0,l=e;while(!(u=Object.getOwnPropertyDescriptor(l,c)))l=Object.getPrototypeOf(l);"undefined"!==typeof u.value&&"function"!==typeof u.value&&(a[c]=n(u.value))}return a}if(this._defer){var i=new WeakMap,a={data:n(e)};this._deferred.then((function(){r._listeners.forEach((function(e){e.call(this,a)}),r)}))}else this._listeners.forEach((function(t){t.call(this,{data:e})}),this)}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();t.LoopbackPort=X;var V=function(){var e,t=new WeakMap,r=0;function n(){if(h.GlobalWorkerOptions.workerSrc)return h.GlobalWorkerOptions.workerSrc;if("undefined"!==typeof I)return I;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function i(){try{if("undefined"!==typeof window)return window.pdfjsWorker&&window.pdfjsWorker.WorkerMessageHandler}catch(e){}return null}function s(){if(e)return e.promise;e=(0,o.createPromiseCapability)();var t=i();if(t)return e.resolve(t),e.promise;var r=D||function(){return(0,a.loadScript)(n()).then((function(){return window.pdfjsWorker.WorkerMessageHandler}))};return r().then(e.resolve,e.reject),e.promise}function c(e){var t="importScripts('"+e+"');";return o.URL.createObjectURL(new Blob([t]))}var u=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.name,i=void 0===n?null:n,a=r.port,s=void 0===a?null:a,c=r.postMessageTransfers,u=void 0===c||c,l=r.verbosity,f=void 0===l?(0,o.getVerbosityLevel)():l;if(E(this,e),s&&t.has(s))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=i,this.destroyed=!1,this.postMessageTransfers=!1!==u,this.verbosity=f,this._readyCapability=(0,o.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,s)return t.set(s,this),void this._initializeFromPort(s);this._initialize()}return T(e,[{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new d.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!==typeof Worker&&!F&&!i()){var t=n();try{(0,o.isSameOrigin)(window.location.href,t)||(t=c(new o.URL(t,window.location).href));var r=new Worker(t),a=new d.MessageHandler("main","worker",r),s=function(){r.removeEventListener("error",u),a.destroy(),r.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},u=function(){e._webWorker||s()};r.addEventListener("error",u),a.on("test",(function(t){r.removeEventListener("error",u),e.destroyed?s():t&&t.supportTypedArray?(e._messageHandler=a,e._port=r,e._webWorker=r,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),a.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),a.destroy(),r.terminate())})),a.on("ready",(function(t){if(r.removeEventListener("error",u),e.destroyed)s();else try{l()}catch(n){e._setupFakeWorker()}}));var l=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{a.send("test",t,[t.buffer])}catch(r){(0,o.info)("Cannot use postMessage transfers"),t[0]=0,a.send("test",t)}};return void l()}catch(f){(0,o.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;F||((0,o.warn)("Setting up fake worker."),F=!0),s().then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new X;e._port=n;var i="fake"+r++,o=new d.MessageHandler(i+"_worker",i,n);t.setup(o,n);var a=new d.MessageHandler(i,i+"_worker",n);e._messageHandler=a,e._readyCapability.resolve()}}))["catch"]((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),t["delete"](this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(r){if(!r||!r.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return t.has(r.port)?t.get(r.port):new e(r)}},{key:"getWorkerSrc",value:function(){return n()}}]),e}();return u}();t.PDFWorker=V;var Q=function(){function e(t,r,n,i){E(this,e),this.messageHandler=t,this.loadingTask=r,this.commonObjs=new K,this.fontLoader=new s.FontLoader({docId:r.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,o.createPromiseCapability)(),this.setupMessageHandler()}return T(e,[{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,o.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach((function(e){e&&t.push(e._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then((function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",(function(e,t){var r=this;(0,o.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then((function(e){var r=e.value,n=e.done;n?t.close():((0,o.assert)((0,o.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r]))}))["catch"]((function(e){t.error(e)}))},t.onCancel=function(e){r._fullReader.cancel(e)}}),this),e.on("ReaderHeadersReady",(function(e){var r=this,n=(0,o.createPromiseCapability)(),i=this._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(r._lastProgress&&t.onProgress&&t.onProgress(r._lastProgress),i.onProgress=function(e){t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),n.reject),n.promise}),this),e.on("GetRangeReader",(function(e,t){(0,o.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);r?(t.onPull=function(){r.read().then((function(e){var r=e.value,n=e.done;n?t.close():((0,o.assert)((0,o.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r]))}))["catch"]((function(e){t.error(e)}))},t.onCancel=function(e){r.cancel(e)}):t.close()}),this),e.on("GetDoc",(function(e){var r=e.pdfInfo;this._numPages=r.numPages,t._capability.resolve(new Y(r,this))}),this),e.on("PasswordRequest",(function(e){var r=this;if(this._passwordCapability=(0,o.createPromiseCapability)(),t.onPassword){var n=function(e){r._passwordCapability.resolve({password:e})};try{t.onPassword(n,e.code)}catch(i){this._passwordCapability.reject(i)}}else this._passwordCapability.reject(new o.PasswordException(e.message,e.code));return this._passwordCapability.promise}),this),e.on("PasswordException",(function(e){t._capability.reject(new o.PasswordException(e.message,e.code))}),this),e.on("InvalidPDF",(function(e){t._capability.reject(new o.InvalidPDFException(e.message))}),this),e.on("MissingPDF",(function(e){t._capability.reject(new o.MissingPDFException(e.message))}),this),e.on("UnexpectedResponse",(function(e){t._capability.reject(new o.UnexpectedResponseException(e.message,e.status))}),this),e.on("UnknownError",(function(e){t._capability.reject(new o.UnknownErrorException(e.message,e.details))}),this),e.on("DataLoaded",(function(e){t.onProgress&&t.onProgress({loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)}),this),e.on("StartRenderPage",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t._stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}}),this),e.on("RenderPageChunk",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t._renderPageChunk(e.operatorList,e.intent)}}),this),e.on("commonobj",(function(t){var r=this;if(!this.destroyed){var n=_(t,3),i=n[0],a=n[1],c=n[2];if(!this.commonObjs.has(i))switch(a){case"Font":var u=this._params;if("error"in c){var l=c.error;(0,o.warn)("Error during font loading: ".concat(l)),this.commonObjs.resolve(i,l);break}var h=null;u.pdfBug&&f["default"].FontInspector&&f["default"].FontInspector.enabled&&(h={registerFont:function(e,t){f["default"]["FontInspector"].fontAdded(e,t)}});var d=new s.FontFaceObject(c,{isEvalSupported:u.isEvalSupported,disableFontFace:u.disableFontFace,ignoreErrors:u.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:h});this.fontLoader.bind(d).then((function(){r.commonObjs.resolve(i,d)}),(function(t){e.sendWithPromise("FontFallback",{id:i})["finally"]((function(){r.commonObjs.resolve(i,d)}))}));break;case"FontPath":case"FontType3Res":this.commonObjs.resolve(i,c);break;default:throw new Error("Got unknown common object type ".concat(a))}}}),this),e.on("obj",(function(e){if(!this.destroyed){var t=_(e,4),r=t[0],n=t[1],i=t[2],o=t[3],s=this.pageCache[n];if(!s.objs.has(r))switch(i){case"JpegStream":return new Promise((function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=function(){t(new Error("Error during JPEG image loading")),(0,a.releaseImageResources)(r)},r.src=o})).then((function(e){s.objs.resolve(r,e)}));case"Image":s.objs.resolve(r,o);var c=8e6;o&&"data"in o&&o.data.length>c&&(s.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(i))}}}),this),e.on("DocProgress",(function(e){this.destroyed||t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}),this),e.on("PageError",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex],r=t.intentStates[e.intent];if(!r.displayReadyCapability)throw new Error(e.error);if(r.displayReadyCapability.reject(new Error(e.error)),r.operatorList){r.operatorList.lastChunk=!0;for(var n=0;n<r.renderTasks.length;n++)r.renderTasks[n].operatorListChanged()}}}),this),e.on("UnsupportedFeature",this._onUnsupportedFeature,this),e.on("JpegDecode",(function(e){if(this.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"===typeof document)return Promise.reject(new Error('"document" is not defined.'));var t=_(e,2),r=t[0],n=t[1];return 3!==n&&1!==n?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise((function(e,t){var i=new Image;i.onload=function(){var t=i.width,r=i.height,o=t*r,s=4*o,c=new Uint8ClampedArray(o*n),u=document.createElement("canvas");u.width=t,u.height=r;var l=u.getContext("2d");l.drawImage(i,0,0);var f=l.getImageData(0,0,t,r).data;if(3===n)for(var h=0,d=0;h<s;h+=4,d+=3)c[d]=f[h],c[d+1]=f[h+1],c[d+2]=f[h+2];else if(1===n)for(var p=0,v=0;p<s;p+=4,v++)c[v]=f[p];e({data:c,width:t,height:r}),(0,a.releaseImageResources)(i),u.width=0,u.height=0,u=null,l=null},i.onerror=function(){t(new Error("JpegDecode failed to load image")),(0,a.releaseImageResources)(i)},i.src=r}))}),this),e.on("FetchBuiltInCMap",(function(e){return this.destroyed?Promise.reject(new Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})}),this)}},{key:"_onUnsupportedFeature",value:function(e){var t=e.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(t)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var r=e-1;if(r in this.pagePromises)return this.pagePromises[r];var n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var n=new H(r,e,t,t._params.pdfBug);return t.pageCache[r]=n,n}));return this.pagePromises[r]=n,n}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})["catch"]((function(e){return Promise.reject(new Error(e))}))}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!==typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenActionDestination",value:function(){return this.messageHandler.sendWithPromise("GetOpenActionDestination",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){return{info:t[0],metadata:t[1]?new p.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var e=this._params;return(0,o.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableCreateObjectURL:e.disableCreateObjectURL,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport})}}]),e}(),K=function(){function e(){E(this,e),this._objs=Object.create(null)}return T(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,o.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var r=this._objs[e];if(!r||!r.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return r.data}},{key:"has",value:function(e){var t=this._objs[e];return!!t&&t.resolved}},{key:"resolve",value:function(e,t){var r=this._ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)}},{key:"clear",value:function(){for(var e in this._objs){var t=this._objs[e].data;"undefined"!==typeof Image&&t instanceof Image&&(0,a.releaseImageResources)(t)}this._objs=Object.create(null)}}]),e}(),J=function(){function e(t){E(this,e),this._internalRenderTask=t,this.onContinue=null}return T(e,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"then",value:function(e,t){return(0,a.deprecated)("RenderTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),e}(),Z=function(){var e=new WeakSet,t=function(){function t(e){var r=e.callback,n=e.params,i=e.objs,a=e.commonObjs,s=e.operatorList,c=e.pageNumber,u=e.canvasFactory,l=e.webGLContext,f=e.useRequestAnimationFrame,h=void 0!==f&&f,d=e.pdfBug,p=void 0!==d&&d;E(this,t),this.callback=r,this.params=n,this.objs=i,this.commonObjs=a,this.operatorListIdx=null,this.operatorList=s,this.pageNumber=c,this.canvasFactory=u,this.webGLContext=l,this._pdfBug=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!==typeof window,this.cancelled=!1,this.capability=(0,o.createPromiseCapability)(),this.task=new J(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}return T(t,[{key:"initializeGraphics",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.add(this._canvas)}this._pdfBug&&f["default"].StepperManager&&f["default"].StepperManager.enabled&&(this.stepper=f["default"].StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params,n=r.canvasContext,i=r.viewport,o=r.transform,a=r.imageLayer,s=r.background;this.gfx=new l.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,a),this.gfx.beginDrawing({transform:o,viewport:i,transparency:t,background:s}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback(t||new a.RenderingCancelledException("Rendering cancelled, page ".concat(this.pageNumber),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound()["catch"](e.cancel.bind(e))})):Promise.resolve().then(this._nextBound)["catch"](this.cancel.bind(this))}},{key:"_next",value:function(){var t=b(i["default"].mark((function t(){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)})));function r(){return t.apply(this,arguments)}return r}()}]),t}();return t}(),$="2.2.228";t.version=$;var ee="d7afb74a";t.build=ee},function(e,t,r){"use strict";e.exports=r(149)},function(e,t,r){"use strict";(function(e){function t(e){return t="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},t(e)}var r=function(e){var r,n=Object.prototype,i=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new R(n||[]);return o._invoke=k(e,r,a),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[a]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&i.call(w,a)&&(b=w);var A=y.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function r(n,o,a,s){var c=l(e[n],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===t(f)&&i.call(f,"__await")?Promise.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):Promise.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var n;function o(e,t){function i(){return new Promise((function(n,i){r(e,t,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=o}function k(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return O()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?p:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function C(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=r,C(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){while(++n<e.length)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:r,done:!0}}return m.prototype=A.constructor=y,y.constructor=m,y[c]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},S(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var o=new x(u(t,r,n,i));return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(A),A[c]="Generator",A[a]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=r}catch(n){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(150)(e))},function(e,t,r){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=_,t.getFilenameFromUrl=w,t.isFetchSupported=k,t.isValidFetchUrl=C,t.loadScript=P,t.deprecated=E,t.releaseImageResources=R,t.PDFDateString=t.DummyStatTimer=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.RenderingCancelledException=t.PageViewport=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,c,"next",e)}function c(e){a(o,n,i,s,c,"throw",e)}s(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}var f="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=f;var h="http://www.w3.org/2000/svg",d=function(){function e(){c(this,e)}return l(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||r<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}();t.DOMCanvasFactory=d;var p=function(){function e(t){var r=t.baseUrl,n=void 0===r?null:r,i=t.isCompressed,o=void 0!==i&&i;c(this,e),this.baseUrl=n,this.isCompressed=o}return l(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=s(n["default"].mark((function e(t){var r,o,a,c=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(r){e.next=5;break}throw new Error("CMap name must be specified.");case 5:if(o=this.baseUrl+r+(this.isCompressed?".bcmap":""),a=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,!k()||!C(o,document.baseURI)){e.next=9;break}return e.abrupt("return",fetch(o).then(function(){var e=s(n["default"].mark((function e(t){var r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}throw new Error(t.statusText);case 2:if(!c.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,t.arrayBuffer();case 6:e.t1=e.sent,r=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=i.stringToBytes,e.next=13,t.text();case 13:e.t3=e.sent,r=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:r,compressionType:a});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())["catch"]((function(e){throw new Error("Unable to load ".concat(c.isCompressed?"binary ":"")+"CMap at: ".concat(o))})));case 9:return e.abrupt("return",new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",o,!0),c.isCompressed&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE){var n;if(200===r.status||0===r.status)if(c.isCompressed&&r.response?n=new Uint8Array(r.response):!c.isCompressed&&r.responseText&&(n=(0,i.stringToBytes)(r.responseText)),n)return void e({cMapData:n,compressionType:a});t(new Error(r.statusText))}},r.send(null)}))["catch"]((function(e){throw new Error("Unable to load ".concat(c.isCompressed?"binary ":"")+"CMap at: ".concat(o))})));case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}())}]),e}();t.DOMCMapReaderFactory=p;var v=function(){function e(){c(this,e)}return l(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(h,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,i.assert)("string"===typeof e,"Invalid SVG element type"),document.createElementNS(h,e)}}]),e}();t.DOMSVGFactory=v;var g=function(){function e(t){var r=t.viewBox,n=t.scale,i=t.rotation,o=t.offsetX,a=void 0===o?0:o,s=t.offsetY,u=void 0===s?0:s,l=t.dontFlip,f=void 0!==l&&l;c(this,e),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=a,this.offsetY=u;var h,d,p,v,g,m,y,b,_=(r[2]+r[0])/2,w=(r[3]+r[1])/2;switch(i%=360,i=i<0?i+360:i,i){case 180:h=-1,d=0,p=0,v=1;break;case 90:h=0,d=1,p=1,v=0;break;case 270:h=0,d=-1,p=-1,v=0;break;default:h=1,d=0,p=0,v=-1;break}f&&(p=-p,v=-v),0===h?(g=Math.abs(w-r[1])*n+a,m=Math.abs(_-r[0])*n+u,y=Math.abs(r[3]-r[1])*n,b=Math.abs(r[2]-r[0])*n):(g=Math.abs(_-r[0])*n+a,m=Math.abs(w-r[1])*n+u,y=Math.abs(r[2]-r[0])*n,b=Math.abs(r[3]-r[1])*n),this.transform=[h*n,d*n,p*n,v*n,g-h*n*_-p*n*w,m-d*n*_-v*n*w],this.width=y,this.height=b}return l(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.scale,n=void 0===r?this.scale:r,i=t.rotation,o=void 0===i?this.rotation:i,a=t.dontFlip,s=void 0!==a&&a;return new e({viewBox:this.viewBox.slice(),scale:n,rotation:o,offsetX:this.offsetX,offsetY:this.offsetY,dontFlip:s})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),r=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=g;var m=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=new Error,e.prototype.name="RenderingCancelledException",e.constructor=e,e}();t.RenderingCancelledException=m;var y={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};t.LinkTarget=y;var b=["","_self","_blank","_parent","_top"];function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.url,n=t.target,o=t.rel;if(e.href=e.title=r?(0,i.removeNullCharacters)(r):"",r){var a=Object.values(y),s=a.includes(n)?n:y.NONE;e.target=b[s],e.rel="string"===typeof o?o:f}}function w(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)}var A=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];c(this,e),this.enabled=!!t,this.started=Object.create(null),this.times=[]}return l(e,[{key:"time",value:function(e){this.enabled&&(e in this.started&&(0,i.warn)("Timer is already running for "+e),this.started[e]=Date.now())}},{key:"timeEnd",value:function(e){this.enabled&&(e in this.started||(0,i.warn)("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])}},{key:"toString",value:function(){var e="",t=0,r=!0,n=!1,i=void 0;try{for(var o,a=this.times[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value,c=s.name;c.length>t&&(t=c.length)}}catch(g){n=!0,i=g}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}var u=!0,l=!1,f=void 0;try{for(var h,d=this.times[Symbol.iterator]();!(u=(h=d.next()).done);u=!0){var p=h.value,v=p.end-p.start;e+="".concat(p.name.padEnd(t)," ").concat(v,"ms\n")}}catch(g){l=!0,f=g}finally{try{u||null==d["return"]||d["return"]()}finally{if(l)throw f}}return e}}]),e}();t.StatTimer=A;var S,x=function(){function e(){c(this,e),(0,i.unreachable)("Cannot initialize DummyStatTimer.")}return l(e,null,[{key:"time",value:function(e){}},{key:"timeEnd",value:function(e){}},{key:"toString",value:function(){return""}}]),e}();function k(){return"undefined"!==typeof fetch&&"undefined"!==typeof Response&&"body"in Response.prototype&&"undefined"!==typeof ReadableStream}function C(e,t){try{var r=t?new i.URL(e,t):new i.URL(e),n=r.protocol;return"http:"===n||"https:"===n}catch(o){return!1}}function P(e){return new Promise((function(t,r){var n=document.createElement("script");n.src=e,n.onload=t,n.onerror=function(){r(new Error("Cannot load script at: ".concat(n.src)))},(document.head||document.documentElement).appendChild(n)}))}function E(e){console.log("Deprecated API usage: "+e)}function R(e){(0,i.assert)(e instanceof Image,"Invalid `img` parameter.");var t=e.src;"string"===typeof t&&t.startsWith("blob:")&&i.URL.revokeObjectURL&&i.URL.revokeObjectURL(t),e.removeAttribute("src")}t.DummyStatTimer=x;var T=function(){function e(){c(this,e)}return l(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;S||(S=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=S.exec(e);if(!t)return null;var r=parseInt(t[1],10),n=parseInt(t[2],10);n=n>=1&&n<=12?n-1:0;var o=parseInt(t[3],10);o=o>=1&&o<=31?o:1;var a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var c=parseInt(t[6],10);c=c>=0&&c<=59?c:0;var u=t[7]||"Z",l=parseInt(t[8],10);l=l>=0&&l<=23?l:0;var f=parseInt(t[9],10)||0;return f=f>=0&&f<=59?f:0,"-"===u?(a+=l,s+=f):"+"===u&&(a-=l,s-=f),new Date(Date.UTC(r,n,o,a,s,c))}}]),e}();t.PDFDateString=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},a(e)}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){d(o,n,i,a,s,"next",e)}function s(e){d(o,n,i,a,s,"throw",e)}a(void 0)}))}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}var y,b=function(){function e(t){var r=t.docId,n=t.onUnsupportedFeature;v(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=r,this._onUnsupportedFeature=n,this.nativeFontFaces=[],this.styleElement=null}return m(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||(t=this.styleElement=document.createElement("style"),t.id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach((function(e){document.fonts["delete"](e)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:function(){var e=p(n["default"].mark((function e(t){var r,o,a=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return",void 0);case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(r=t.createNativeFontFace(),!r){e.next=18;break}return this.addNativeFontFace(r),e.prev=7,e.next=10,r.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e["catch"](7),this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)("Failed to load font '".concat(r.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return",void 0);case 19:if(o=t.createFontFaceRule(),!o){e.next=25;break}if(this.insertRule(o),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return",void 0);case 24:return e.abrupt("return",new Promise((function(e){var r=a._queueLoadingCallback(e);a._prepareFontLoadEvent([o],[t],r)})));case 25:return e.abrupt("return",void 0);case 26:case"end":return e.stop()}}),e,this,[[7,12]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"_queueLoadingCallback",value:function(e){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,r){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){(0,i.unreachable)("Abstract method `isFontLoadingAPISupported`.")}},{key:"isSyncFontLoadingSupported",get:function(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}}]),e}();t.FontLoader=y,t.FontLoader=y=function(e){function t(e){var r;return v(this,t),r=s(this,l(t).call(this,e)),r.loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return f(t,e),m(t,[{key:"_queueLoadingCallback",value:function(e){function t(){(0,i.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;while(r.requests.length>0&&r.requests[0].done){var e=r.requests.shift();setTimeout(e.callback,0)}}var r=this.loadingContext,n={id:"pdfjs-font-loading-".concat(r.nextRequestId++),done:!1,complete:t,callback:e};return r.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(e,t,r){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,r,n){var i=e.substring(0,t),o=e.substring(t+r);return i+n+o}var a,s,c=document.createElement("canvas");c.width=1,c.height=1;var u=c.getContext("2d"),l=0;function f(e,t){if(l++,l>30)return(0,i.warn)("Load test font never loaded."),void t();u.font="30px "+e,u.fillText(".",0,20);var r=u.getImageData(0,0,1,1);r.data[3]>0?t():setTimeout(f.bind(null,e,t))}var h="lt".concat(Date.now()).concat(this.loadTestFontId++),d=this._loadTestFont,p=976;d=o(d,p,h.length,h);var v=16,g=1482184792,m=n(d,v);for(a=0,s=h.length-3;a<s;a+=4)m=m-g+n(h,a)|0;a<h.length&&(m=m-g+n(h+"XXX",a)|0),d=o(d,v,4,(0,i.string32)(m));var y="url(data:font/opentype;base64,".concat(btoa(d),");"),b='@font-face {font-family:"'.concat(h,'";src:').concat(y,"}");this.insertRule(b);var _=[];for(a=0,s=t.length;a<s;a++)_.push(t[a].loadedName);_.push(h);var w=document.createElement("div");for(w.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),a=0,s=_.length;a<s;++a){var A=document.createElement("span");A.textContent="Hi",A.style.fontFamily=_[a],w.appendChild(A)}document.body.appendChild(w),f(h,(function(){document.body.removeChild(w),r.complete()}))}},{key:"isFontLoadingAPISupported",get:function(){var e="undefined"!==typeof document&&!!document.fonts;if(e&&"undefined"!==typeof navigator){var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]<63&&(e=!1)}return(0,i.shadow)(this,"isFontLoadingAPISupported",e)}},{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"===typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]>=14&&(e=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_loadTestFont",get:function(){var e=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,i.shadow)(this,"_loadTestFont",e())}}]),t}(b);var _={get value(){return(0,i.shadow)(this,"value",(0,i.isEvalSupported)())}},w=function(){function e(t,r){var n=r.isEvalSupported,i=void 0===n||n,o=r.disableFontFace,a=void 0!==o&&o,s=r.ignoreErrors,c=void 0!==s&&s,u=r.onUnsupportedFeature,l=void 0===u?null:u,f=r.fontRegistry,h=void 0===f?null:f;for(var d in v(this,e),this.compiledGlyphs=Object.create(null),t)this[d]=t[d];this.isEvalSupported=!1!==i,this.disableFontFace=!0===a,this.ignoreErrors=!0===c,this._onUnsupportedFeature=l,this.fontRegistry=h}return m(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e=(0,i.bytesToString)(new Uint8Array(this.data)),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");"),r='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),r}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var r,n;try{r=e.get(this.loadedName+"_path_"+t)}catch(u){if(!this.ignoreErrors)throw u;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)('getPathGenerator - ignoring character: "'.concat(u,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&_.value){for(var o,a="",s=0,c=r.length;s<c;s++)n=r[s],o=void 0!==n.args?n.args.join(","):"",a+="c."+n.cmd+"("+o+");\n";return this.compiledGlyphs[t]=new Function("c","size",a)}return this.compiledGlyphs[t]=function(e,t){for(var i=0,o=r.length;i<o;i++)n=r[i],"scale"===n.cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}}]),e}();t.FontFaceObject=w},function(e,t,r){"use strict";var n=Object.create(null),i=r(4),o="undefined"!==typeof navigator&&navigator.userAgent||"",a=/Trident/.test(o),s=/CriOS/.test(o);(function(){(a||s)&&(n.disableCreateObjectURL=!0)})(),function(){i()&&(n.disableFontFace=!0,n.nativeImageDecoderSupport="none")}(),t.apiCompatibilityParams=Object.freeze(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(1),i=r(155),o=16,a=100,s=4096,c=.65,u=!0,l=1e3,f=16,h={get value(){return(0,n.shadow)(h,"value",(0,n.isLittleEndian)())}};function d(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],a=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*o-n*a)/c,(r*o-t*a)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,o,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*o+s[2]*a+s[4],s[1]*o+s[3]*a+s[5]],e._originalTransform(t,r,n,i,o,a)},e.setTransform=function(t,r,n,i,o,a){this._transformMatrix=[t,r,n,i,o,a],e._originalSetTransform(t,r,n,i,o,a)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,n[0]*-r+n[2]*t,n[1]*-r+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var p=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&d(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}();function v(e){var t,r,n,i,o=1e3,a=e.width,s=e.height,c=a+1,u=new Uint8Array(c*(s+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),f=a+7&-8,h=e.data,d=new Uint8Array(f*s),p=0;for(t=0,i=h.length;t<i;t++){var v=128,g=h[t];while(v>0)d[p++]=g&v?0:255,v>>=1}var m=0;for(p=0,0!==d[p]&&(u[0]=1,++m),r=1;r<a;r++)d[p]!==d[p+1]&&(u[r]=d[p]?2:1,++m),p++;for(0!==d[p]&&(u[r]=2,++m),t=1;t<s;t++){p=t*f,n=t*c,d[p-f]!==d[p]&&(u[n]=d[p]?1:8,++m);var y=(d[p]?4:0)+(d[p-f]?8:0);for(r=1;r<a;r++)y=(y>>2)+(d[p+1]?4:0)+(d[p-f+1]?8:0),l[y]&&(u[n+r]=l[y],++m),p++;if(d[p-f]!==d[p]&&(u[n+r]=d[p]?2:4,++m),m>o)return null}for(p=f*(s-1),n=t*c,0!==d[p]&&(u[n]=8,++m),r=1;r<a;r++)d[p]!==d[p+1]&&(u[n+r]=d[p]?4:8,++m),p++;if(0!==d[p]&&(u[n+r]=4,++m),m>o)return null;var b=new Int32Array([0,c,-1,0,-c,0,0,0,1]),_=[];for(t=0;m&&t<=s;t++){var w=t*c,A=w+a;while(w<A&&!u[w])w++;if(w!==A){var S,x=[w%c,t],k=u[w],C=w;do{var P=b[k];do{w+=P}while(!u[w]);S=u[w],5!==S&&10!==S?(k=S,u[w]=0):(k=S&51*k>>4,u[w]&=k>>2|k<<2),x.push(w%c),x.push(w/c|0),u[w]||--m}while(C!==w);_.push(x),--t}}var E=function(e){e.save(),e.scale(1/a,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,r=_.length;t<r;t++){var n=_[t];e.moveTo(n[0],n[1]);for(var i=2,o=n.length;i<o;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()};return E}var g=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),m=function(){var e=15,t=10;function r(e,t,r,n,i,o){this.ctx=e,this.current=new g,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.webGLContext=i,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new p(this.canvasFactory),e&&d(e),this._cachedGetSinglePixelWidth=null}function m(e,t){if("undefined"!==typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var r,i,o,a,s,c=t.height,u=t.width,l=c%f,d=(c-l)/f,p=0===l?d:d+1,v=e.createImageData(u,f),g=0,m=t.data,y=v.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var b=m.byteLength,_=new Uint32Array(y.buffer,0,y.byteLength>>2),w=_.length,A=u+7>>3,S=4294967295,x=h.value?4278190080:255;for(i=0;i<p;i++){for(a=i<d?f:l,r=0,o=0;o<a;o++){for(var k=b-g,C=0,P=k>A?u:8*k-7,E=-8&P,R=0,T=0;C<E;C+=8)T=m[g++],_[r++]=128&T?S:x,_[r++]=64&T?S:x,_[r++]=32&T?S:x,_[r++]=16&T?S:x,_[r++]=8&T?S:x,_[r++]=4&T?S:x,_[r++]=2&T?S:x,_[r++]=1&T?S:x;for(;C<P;C++)0===R&&(T=m[g++],R=128),_[r++]=T&R?S:x,R>>=1}while(r<w)_[r++]=0;e.putImageData(v,0,i*f)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(o=0,s=u*f*4,i=0;i<d;i++)y.set(m.subarray(g,g+s)),g+=s,e.putImageData(v,0,o),o+=f;i<p&&(s=u*l*4,y.set(m.subarray(g,g+s)),e.putImageData(v,0,o))}else{if(t.kind!==n.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));for(a=f,s=u*a,i=0;i<p;i++){for(i>=d&&(a=l,s=u*a),r=0,o=s;o--;)y[r++]=m[g++],y[r++]=m[g++],y[r++]=m[g++],y[r++]=255;e.putImageData(v,0,i*f)}}}}function y(e,t){for(var r=t.height,n=t.width,i=r%f,o=(r-i)/f,a=0===i?o:o+1,s=e.createImageData(n,f),c=0,u=t.data,l=s.data,h=0;h<a;h++){for(var d=h<o?f:i,p=3,v=0;v<d;v++)for(var g=0,m=0;m<n;m++){if(!g){var y=u[c++];g=128}l[p]=y&g?0:255,p+=4,g>>=1}e.putImageData(s,0,h*f)}}function b(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var o=r[n];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function _(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function w(e,t,r,n){for(var i=e.length,o=3;o<i;o+=4){var a=e[o];if(0===a)e[o-3]=t,e[o-2]=r,e[o-1]=n;else if(a<255){var s=255-a;e[o-3]=e[o-3]*a+t*s>>8,e[o-2]=e[o-2]*a+r*s>>8,e[o-1]=e[o-1]*a+n*s>>8}}}function A(e,t,r){for(var n=e.length,i=1/255,o=3;o<n;o+=4){var a=r?r[e[o]]:e[o];t[o]=t[o]*a*i|0}}function S(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var o=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[o>>8]>>8:t[i]*o>>16}}function x(e,t,r,n,i,o,a){var s,c=!!o,u=c?o[0]:0,l=c?o[1]:0,f=c?o[2]:0;s="Luminosity"===i?S:A;for(var h=1048576,d=Math.min(n,Math.ceil(h/r)),p=0;p<n;p+=d){var v=Math.min(d,n-p),g=e.getImageData(0,p,r,v),m=t.getImageData(0,p,r,v);c&&w(g.data,u,l,f),s(g.data,m.data,a),e.putImageData(m,0,p)}}function k(e,t,r,n){var i=t.canvas,o=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var a=t.backdrop||null;if(!t.transferMap&&n.isEnabled){var s=n.composeSMask({layer:r.canvas,mask:i,properties:{subtype:t.subtype,backdrop:a}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(s,t.offsetX,t.offsetY)}x(o,r,i.width,i.height,t.subtype,a,t.transferMap),e.drawImage(i,0,0)}var C=["butt","round","square"],P=["miter","round","bevel"],E={},R={};for(var T in r.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=void 0!==n&&n,o=e.background,a=void 0===o?null:o,s=this.ctx.canvas.width,c=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,c),this.ctx.restore(),i){var u=this.cachedCanvases.getCanvas("transparent",s,c,!0);this.compositeCtx=this.ctx,this.transparentCanvas=u.canvas,this.ctx=u.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),_(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(r,i,o,a){var s=r.argsArray,c=r.fnArray,u=i||0,l=s.length;if(l===u)return u;var f,h=l-u>t&&"function"===typeof o,d=h?Date.now()+e:0,p=0,v=this.commonObjs,g=this.objs;while(1){if(void 0!==a&&u===a.nextBreakPoint)return a.breakIt(u,o),u;if(f=c[u],f!==n.OPS.dependency)this[f].apply(this,s[u]);else{var m=!0,y=!1,b=void 0;try{for(var _,w=s[u][Symbol.iterator]();!(m=(_=w.next()).done);m=!0){var A=_.value,S=A.startsWith("g_")?v:g;if(!S.has(A))return S.get(A,o),u}}catch(x){y=!0,b=x}finally{try{m||null==w["return"]||w["return"]()}finally{if(y)throw b}}}if(u++,u===l)return u;if(h&&++p>t){if(Date.now()>d)return o(),u;p=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=C[e]},setLineJoin:function(e){this.ctx.lineJoin=P[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],o=n[1];switch(i){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null;break}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),o=this.ctx,a=o.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,a),e.startTransformInverse=s.mozCurrentTransformInverse,b(o,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(o),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),b(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),b(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,o){this.ctx.transform(e,t,r,n,i,o),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,o=i.x,a=i.y,s=0,c=0,u=e.length;s<u;s++)switch(0|e[s]){case n.OPS.rectangle:o=t[c++],a=t[c++];var l=t[c++],f=t[c++];0===l&&(l=this.getSinglePixelWidth()),0===f&&(f=this.getSinglePixelWidth());var h=o+l,d=a+f;this.ctx.moveTo(o,a),this.ctx.lineTo(h,a),this.ctx.lineTo(h,d),this.ctx.lineTo(o,d),this.ctx.lineTo(o,a),this.ctx.closePath();break;case n.OPS.moveTo:o=t[c++],a=t[c++],r.moveTo(o,a);break;case n.OPS.lineTo:o=t[c++],a=t[c++],r.lineTo(o,a);break;case n.OPS.curveTo:o=t[c+4],a=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],o,a),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(o,a,t[c],t[c+1],t[c+2],t[c+3]),o=t[c+2],a=t[c+3],c+=4;break;case n.OPS.curveTo3:o=t[c+2],a=t[c+3],r.bezierCurveTo(t[c],t[c+1],o,a,o,a),c+=4;break;case n.OPS.closePath:r.closePath();break}i.setCurrentPoint(o,a)},closePath:function(){this.ctx.closePath()},stroke:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(this.getSinglePixelWidth()*c,this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=E},eoClip:function(){this.pendingClip=R},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw new Error("Can't find font for ".concat(e));if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var s=r.loadedName||"sans-serif",c=r.black?"900":r.bold?"bold":"normal",u=r.italic?"italic":"normal",l='"'.concat(s,'", ').concat(r.fallbackName),f=t<o?o:t>a?a:t;this.current.fontSizeScale=t/f,this.ctx.font="".concat(u," ").concat(c," ").concat(f,"px ").concat(l)}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,o){this.current.textMatrix=[e,t,r,n,i,o],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r,i){var o,a=this.ctx,s=this.current,c=s.font,u=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,f=u&n.TextRenderingMode.FILL_STROKE_MASK,h=!!(u&n.TextRenderingMode.ADD_TO_PATH_FLAG),d=s.patternFill&&c.data;if((c.disableFontFace||h||d)&&(o=c.getPathGenerator(this.commonObjs,e)),c.disableFontFace||d?(a.save(),a.translate(t,r),a.beginPath(),o(a,l),i&&a.setTransform.apply(a,i),f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||a.fill(),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||a.fillText(e,t,r),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||a.strokeText(e,t,r)),h){var p=this.pendingTextPaths||(this.pendingTextPaths=[]);p.push({transform:a.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:o})}},get isFontSubpixelAAEnabled(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10),t=e.context;t.scale(1.5,1),t.fillText("I",0,10);for(var r=t.getImageData(0,0,10,10).data,i=!1,o=3;o<r.length;o+=4)if(r[o]>0&&r[o]<255){i=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",i)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var o,a=this.ctx,s=t.fontSizeScale,u=t.charSpacing,l=t.wordSpacing,f=t.fontDirection,h=t.textHScale*f,d=e.length,p=r.vertical,v=p?1:-1,g=r.defaultVMetrics,m=i*t.fontMatrix[0],y=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace&&!t.patternFill;if(a.save(),t.patternFill){a.save();var b=t.fillColor.getPattern(a,this);o=a.mozCurrentTransform,a.restore(),a.fillStyle=b}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),f>0?a.scale(h,-1):a.scale(h,1);var _=t.lineWidth,w=t.textMatrixScale;if(0===w||0===_){var A=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;A!==n.TextRenderingMode.STROKE&&A!==n.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,_=this.getSinglePixelWidth()*c)}else _/=w;1!==s&&(a.scale(s,s),_/=s),a.lineWidth=_;var S,x=0;for(S=0;S<d;++S){var k=e[S];if((0,n.isNum)(k))x+=v*k*i/1e3;else{var C,P,E,R,T,O,I,L=!1,F=(k.isSpace?l:0)+u,D=k.fontChar,j=k.accent,M=k.width;if(p)T=k.vmetric||g,O=k.vmetric?T[1]:.5*M,O=-O*m,I=T[2]*m,M=T?-T[0]:M,C=O/s,P=(x+I)/s;else C=x/s,P=0;if(r.remeasure&&M>0){var N=1e3*a.measureText(D).width/i*s;if(M<N&&this.isFontSubpixelAAEnabled){var U=M/N;L=!0,a.save(),a.scale(U,1),C/=U}else M!==N&&(C+=(M-N)/2e3*i/s)}(k.isInFont||r.missingFile)&&(y&&!j?a.fillText(D,C,P):(this.paintChar(D,C,P,o),j&&(E=C+j.offset.x/s,R=P-j.offset.y/s,this.paintChar(j.fontChar,E,R,o))));var q=M*m+F*f;x+=q,L&&a.restore()}}p?t.y-=x*h:t.x+=x*h,a.restore()}},showType3Text:function(e){var t,r,i,o,a=this.ctx,s=this.current,c=s.font,u=s.fontSize,l=s.fontDirection,f=c.vertical?1:-1,h=s.charSpacing,d=s.wordSpacing,p=s.textHScale*l,v=s.fontMatrix||n.FONT_IDENTITY_MATRIX,g=e.length,m=s.textRenderingMode===n.TextRenderingMode.INVISIBLE;if(!m&&0!==u){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(p,l),t=0;t<g;++t)if(r=e[t],(0,n.isNum)(r))o=f*r*u/1e3,this.ctx.translate(o,0),s.x+=o*p;else{var y=(r.isSpace?d:0)+h,b=c.charProcOperatorList[r.operatorListId];if(b){this.processingType3=r,this.save(),a.scale(u,u),a.transform.apply(a,v),this.executeOperatorList(b),this.restore();var _=n.Util.applyTransform([r.width,0],v);i=_[0]*u+y,a.translate(i,0),s.x+=i*p}else(0,n.warn)('Type3 character "'.concat(r.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,o){this.ctx.rect(r,n,i-r,o-n),this.clip(),this.endPath()},getColorN_Pattern:function(e){var t,n=this;if("TilingPattern"===e[0]){var o=e[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(e){return new r(e,n.commonObjs,n.objs,n.canvasFactory,n.webGLContext)}};t=new i.TilingPattern(e,o,this.ctx,s,a)}else t=(0,i.getShadingPatternFromIR)(e);return t},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var o=t.mozCurrentTransformInverse;if(o){var a=t.canvas,s=a.width,c=a.height,u=n.Util.applyTransform([0,0],o),l=n.Util.applyTransform([0,c],o),f=n.Util.applyTransform([s,0],o),h=n.Util.applyTransform([s,c],o),d=Math.min(u[0],l[0],f[0],h[0]),p=Math.min(u[1],l[1],f[1],h[1]),v=Math.max(u[0],l[0],f[0],h[0]),g=Math.max(u[1],l[1],f[1],h[1]);this.ctx.fillRect(d,p,v-d,g-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,n.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,n.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),o=[0,0,t.canvas.width,t.canvas.height];i=n.Util.intersect(i,o)||[0,0,0,0];var a=Math.floor(i[0]),c=Math.floor(i[1]),u=Math.max(Math.ceil(i[2])-a,1),l=Math.max(Math.ceil(i[3])-c,1),f=1,h=1;u>s&&(f=u/s,u=s),l>s&&(h=l/s,l=s);var d="groupAt"+this.groupLevel;e.smask&&(d+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(d,u,l,!0),v=p.context;v.scale(1/f,1/h),v.translate(-a,-c),v.transform.apply(v,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:v,offsetX:a,offsetY:c,scaleX:f,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(a,c),t.scale(f,h)),b(t,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),_(this.ctx),this.current=new g,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(i){this.save();var o=this.ctx;if(o.scale(1/t,-1/r),o.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var a=o.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/a[0],height:r/a[3]})}this.restore()}else(0,n.warn)("Dependent image isn't ready yet")},paintImageMaskXObject:function(e){var t=this.ctx,r=e.width,n=e.height,i=this.current.fillColor,o=this.current.patternFill,a=this.processingType3;if(u&&a&&void 0===a.compiled&&(a.compiled=r<=l&&n<=l?v({data:e.data,width:r,height:n}):null),a&&a.compiled)a.compiled(t);else{var s=this.cachedCanvases.getCanvas("maskCanvas",r,n),c=s.context;c.save(),y(c,e),c.globalCompositeOperation="source-in",c.fillStyle=o?i.getPattern(c,this):i,c.fillRect(0,0,r,n),c.restore(),this.paintInlineImageXObject(s.canvas)}},paintImageMaskXObjectRepeat:function(e,t,r,n){var i=e.width,o=e.height,a=this.current.fillColor,s=this.current.patternFill,c=this.cachedCanvases.getCanvas("maskCanvas",i,o),u=c.context;u.save(),y(u,e),u.globalCompositeOperation="source-in",u.fillStyle=s?a.getPattern(u,this):a,u.fillRect(0,0,i,o),u.restore();for(var l=this.ctx,f=0,h=n.length;f<h;f+=2)l.save(),l.transform(t,0,0,r,n[f],n[f+1]),l.scale(1,-1),l.drawImage(c.canvas,0,0,i,o,0,-1,1,1),l.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=0,o=e.length;i<o;i++){var a=e[i],s=a.width,c=a.height,u=this.cachedCanvases.getCanvas("maskCanvas",s,c),l=u.context;l.save(),y(l,a),l.globalCompositeOperation="source-in",l.fillStyle=n?r.getPattern(l,this):r,l.fillRect(0,0,s,c),l.restore(),t.save(),t.transform.apply(t,a.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,s,c,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.processingType3?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,n.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,r,i){var o=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(o){for(var a=o.width,s=o.height,c=[],u=0,l=i.length;u<l;u+=2)c.push({transform:[t,0,0,r,i[u],i[u+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,c)}else(0,n.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(e){var t=e.width,r=e.height,n=this.ctx;this.save(),n.scale(1/t,-1/r);var i,o,a=n.mozCurrentTransformInverse,s=a[0],c=a[1],u=Math.max(Math.sqrt(s*s+c*c),1),l=a[2],f=a[3],h=Math.max(Math.sqrt(l*l+f*f),1);if("function"===typeof HTMLElement&&e instanceof HTMLElement||!e.data)i=e;else{o=this.cachedCanvases.getCanvas("inlineImage",t,r);var d=o.context;m(d,e),i=o.canvas}var p=t,v=r,g="prescale1";while(u>2&&p>1||h>2&&v>1){var y=p,b=v;u>2&&p>1&&(y=Math.ceil(p/2),u/=p/y),h>2&&v>1&&(b=Math.ceil(v/2),h/=v/b),o=this.cachedCanvases.getCanvas(g,y,b),d=o.context,d.clearRect(0,0,y,b),d.drawImage(i,0,0,p,v,0,0,y,b),i=o.canvas,p=y,v=b,g="prescale1"===g?"prescale2":"prescale1"}if(n.drawImage(i,0,0,p,v,0,-r,t,r),this.imageLayer){var _=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:t/a[0],height:r/a[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,t){var r=this.ctx,n=e.width,i=e.height,o=this.cachedCanvases.getCanvas("inlineImage",n,i),a=o.context;m(a,e);for(var s=0,c=t.length;s<c;s++){var u=t[s];if(r.save(),r.transform.apply(r,u.transform),r.scale(1,-1),r.drawImage(o.canvas,u.x,u.y,u.w,u.h,0,-1,1,1),this.imageLayer){var l=this.getCanvasPosition(u.x,u.y);this.imageLayer.appendImage({imgData:e,left:l[0],top:l[1],width:n,height:i})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===R?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this._cachedGetSinglePixelWidth){var t=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)r.prototype[n.OPS[T]]=r.prototype[T];return r}();t.CanvasGraphics=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=a,t.TilingPattern=void 0;var n=r(1),i={RadialAxial:{fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],o=e[5],a=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],o,i[0],i[1],a));for(var c=0,u=r.length;c<u;++c){var l=r[c];s.addColorStop(l[0],l[1])}return s}}}}},o=function(){function e(e,t,r,n,i,o,a,s){var c,u=t.coords,l=t.colors,f=e.data,h=4*e.width;u[r+1]>u[n+1]&&(c=r,r=n,n=c,c=o,o=a,a=c),u[n+1]>u[i+1]&&(c=n,n=i,i=c,c=a,a=s,s=c),u[r+1]>u[n+1]&&(c=r,r=n,n=c,c=o,o=a,a=c);var d=(u[r]+t.offsetX)*t.scaleX,p=(u[r+1]+t.offsetY)*t.scaleY,v=(u[n]+t.offsetX)*t.scaleX,g=(u[n+1]+t.offsetY)*t.scaleY,m=(u[i]+t.offsetX)*t.scaleX,y=(u[i+1]+t.offsetY)*t.scaleY;if(!(p>=y))for(var b,_,w,A,S,x,k,C,P,E=l[o],R=l[o+1],T=l[o+2],O=l[a],I=l[a+1],L=l[a+2],F=l[s],D=l[s+1],j=l[s+2],M=Math.round(p),N=Math.round(y),U=M;U<=N;U++){U<g?(P=U<p?0:p===g?1:(p-U)/(p-g),b=d-(d-v)*P,_=E-(E-O)*P,w=R-(R-I)*P,A=T-(T-L)*P):(P=U>y?1:g===y?0:(g-U)/(g-y),b=v-(v-m)*P,_=O-(O-F)*P,w=I-(I-D)*P,A=L-(L-j)*P),P=U<p?0:U>y?1:(p-U)/(p-y),S=d-(d-m)*P,x=E-(E-F)*P,k=R-(R-D)*P,C=T-(T-j)*P;for(var q=Math.round(Math.min(b,S)),B=Math.round(Math.max(b,S)),W=h*U+4*q,G=q;G<=B;G++)P=(b-G)/(b-S),P=P<0?0:P>1?1:P,f[W++]=_-(_-x)*P|0,f[W++]=w-(w-k)*P|0,f[W++]=A-(A-C)*P|0,f[W++]=255}}function t(t,r,n){var i,o,a=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,u=Math.floor(a.length/c)-1,l=c-1;for(i=0;i<u;i++)for(var f=i*c,h=0;h<l;h++,f++)e(t,n,a[f],a[f+1],a[f+c],s[f],s[f+1],s[f+c]),e(t,n,a[f+c+1],a[f+1],a[f+c],s[f+c+1],s[f+1],s[f+c]);break;case"triangles":for(i=0,o=a.length;i<o;i+=3)e(t,n,a[i],a[i+1],a[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}function r(e,r,n,i,o,a,s,c){var u,l,f,h,d=1.1,p=3e3,v=2,g=Math.floor(e[0]),m=Math.floor(e[1]),y=Math.ceil(e[2])-g,b=Math.ceil(e[3])-m,_=Math.min(Math.ceil(Math.abs(y*r[0]*d)),p),w=Math.min(Math.ceil(Math.abs(b*r[1]*d)),p),A=y/_,S=b/w,x={coords:n,colors:i,offsetX:-g,offsetY:-m,scaleX:1/A,scaleY:1/S},k=_+2*v,C=w+2*v;if(c.isEnabled)u=c.drawFigures({width:_,height:w,backgroundColor:a,figures:o,context:x}),l=s.getCanvas("mesh",k,C,!1),l.context.drawImage(u,v,v),u=l.canvas;else{l=s.getCanvas("mesh",k,C,!1);var P=l.context,E=P.createImageData(_,w);if(a){var R=E.data;for(f=0,h=R.length;f<h;f+=4)R[f]=a[0],R[f+1]=a[1],R[f+2]=a[2],R[f+3]=255}for(f=0;f<o.length;f++)t(E,o[f],x);P.putImageData(E,v,v),u=l.canvas}return{canvas:u,offsetX:g-v*A,offsetY:m-v*S,scaleX:A,scaleY:S}}return r}();function a(e){var t=i[e[0]];if(!t)throw new Error("Unknown IR type: ".concat(e[0]));return t.fromIR(e)}i.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],a=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,u,l){var f;if(l)f=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(f=n.Util.singularValueDecompose2dScale(u.baseTransform),s){var h=n.Util.singularValueDecompose2dScale(s);f=[f[0]*h[0],f[1]*h[1]]}var d=o(a,f,t,r,i,l?null:c,u.cachedCanvases,u.webGLContext);return l||(e.setTransform.apply(e,u.baseTransform),s&&e.transform.apply(e,s)),e.translate(d.offsetX,d.offsetY),e.scale(d.scaleX,d.scaleY),e.createPattern(d.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e={COLORED:1,UNCOLORED:2},t=3e3;function r(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return r.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,s=this.tilingType,c=this.color,u=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var l=r[0],f=r[1],h=r[2],d=r[3],p=n.Util.singularValueDecompose2dScale(this.matrix),v=n.Util.singularValueDecompose2dScale(this.baseTransform),g=[p[0]*v[0],p[1]*v[1]],m=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),y=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),b=e.cachedCanvases.getCanvas("pattern",m.size,y.size,!0),_=b.context,w=u.createCanvasGraphics(_);return w.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(w,a,c),w.transform(m.scale,0,0,y.scale,0,0),w.transform(1,0,0,1,-l,-f),this.clipBbox(w,r,l,f,h,d),w.executeOperatorList(t),this.ctx.transform(1,0,0,1,l,f),this.ctx.scale(1/m.scale,1/y.scale),b.canvas},getSizeAndScale:function(e,r,n){e=Math.abs(e);var i=Math.max(t,r),o=Math.ceil(e*n);return o>=i?o=i:n=o/e,{scale:n,size:o}},clipBbox:function(e,t,r,n,i,o){if(Array.isArray(t)&&4===t.length){var a=i-r,s=o-n;e.ctx.rect(r,n,a,s),e.clip(),e.endPath()}},setFillAndStrokeStyleToContext:function(t,r,i){var o=t.ctx,a=t.current;switch(r){case e.COLORED:var s=this.ctx;o.fillStyle=s.fillStyle,o.strokeStyle=s.strokeStyle,a.fillColor=s.fillStyle,a.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var c=n.Util.makeCssRgb(i[0],i[1],i[2]);o.fillStyle=c,o.strokeStyle=c,a.fillColor=c,a.strokeColor=c;break;default:throw new n.FormatError("Unsupported paint type: ".concat(r))}},getPattern:function(e,t){e=this.ctx,e.setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);var r=this.createPatternCanvas(t);return e.createPattern(r,"repeat")}},r}();t.TilingPattern=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=g;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},a(e)}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function l(e,t){return f.apply(this,arguments)}function f(){return f=c(n["default"].mark((function e(t,r){var i,o=arguments;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=o.length>2&&void 0!==o[2]?o[2]:null,t){e.next=3;break}return e.abrupt("return",void 0);case 3:return e.abrupt("return",t.apply(i,r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function h(e){if("object"!==a(e))return e;switch(e.name){case"AbortException":return new i.AbortException(e.message);case"MissingPDFException":return new i.MissingPDFException(e.message);case"UnexpectedResponseException":return new i.UnexpectedResponseException(e.message,e.status);default:return new i.UnknownErrorException(e.message,e.details)}}function d(e){return!(e instanceof Error)||e instanceof i.AbortException||e instanceof i.MissingPDFException||e instanceof i.UnexpectedResponseException||e instanceof i.UnknownErrorException?e:new i.UnknownErrorException(e.message,e.toString())}function p(e,t,r){t?e.resolve():e.reject(r)}function v(e){return Promise.resolve(e)["catch"]((function(){}))}function g(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),o=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName)if(t.stream)n._processStreamMessage(t);else if(t.isReply){var a=t.callbackId;if(!(t.callbackId in i))throw new Error("Cannot resolve callback ".concat(a));var s=i[a];delete i[a],"error"in t?s.reject(h(t.error)):s.resolve(t.data)}else{if(!(t.action in o))throw new Error("Unknown action from worker: ".concat(t.action));var c=o[t.action];if(t.callbackId){var u=n.sourceName,l=t.sourceName;Promise.resolve().then((function(){return c[0].call(c[1],t.data)})).then((function(e){r.postMessage({sourceName:u,targetName:l,isReply:!0,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:u,targetName:l,isReply:!0,callbackId:t.callbackId,error:d(e)})}))}else t.streamId?n._createStreamSink(t):c[0].call(c[1],t.data)}},r.addEventListener("message",this._onComObjOnMessage)}g.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,o={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},a=(0,i.createPromiseCapability)();this.callbacksCapabilities[n]=a;try{this.postMessage(o,r)}catch(s){a.reject(s)}return a.promise},sendWithStream:function(e,t,r,n){var o=this,a=this.streamId++,s=this.sourceName,c=this.targetName;return new i.ReadableStream({start:function(r){var n=(0,i.createPromiseCapability)();return o.streamControllers[a]={controller:r,startCall:n,isClosed:!1},o.postMessage({sourceName:s,targetName:c,action:e,streamId:a,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=(0,i.createPromiseCapability)();return o.streamControllers[a].pullCall=t,o.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:a,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=(0,i.createPromiseCapability)();return o.streamControllers[a].cancelCall=t,o.streamControllers[a].isClosed=!0,o.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:a}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],o=e.streamId,a=e.desiredSize,s=this.sourceName,c=e.sourceName,u=(0,i.createPromiseCapability)(),f=function(e){var r=e.stream,n=e.chunk,i=e.transfers,a=e.success,u=e.reason;t.postMessage({sourceName:s,targetName:c,stream:r,streamId:o,chunk:n,success:a,reason:u},i)},h={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),f({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(this.isCancelled=!0,f({stream:"close"}),delete r.streamSinks[o])},error:function(e){this.isCancelled||(this.isCancelled=!0,f({stream:"error",reason:e}))},sinkCapability:u,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[o]=h,l(n[0],[e.data,h],n[1]).then((function(){f({stream:"start_complete",success:!0})}),(function(e){f({stream:"start_complete",success:!1,reason:e})}))},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,o=e.streamId,a=function(e){var i=e.stream,a=e.success,s=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:i,success:a,streamId:o,reason:s})},s=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map((function(e){return e&&v(e.promise)}))).then((function(){delete t.streamControllers[e.streamId]}))};switch(e.stream){case"start_complete":p(this.streamControllers[e.streamId].startCall,e.success,h(e.reason));break;case"pull_complete":p(this.streamControllers[e.streamId].pullCall,e.success,h(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){a({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,l(this.streamSinks[e.streamId].onPull).then((function(){a({stream:"pull_complete",success:!0})}),(function(e){a({stream:"pull_complete",success:!1,reason:e})}));break;case"enqueue":(0,i.assert)(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if((0,i.assert)(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),s();break;case"error":(0,i.assert)(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(h(e.reason)),s();break;case"cancel_complete":p(this.streamControllers[e.streamId].cancelCall,e.success,h(e.reason)),s();break;case"cancel":if(!this.streamSinks[e.streamId])break;l(this.streamSinks[e.streamId].onCancel,[h(e.reason)]).then((function(){a({stream:"cancel_complete",success:!0})}),(function(e){a({stream:"cancel_complete",success:!1,reason:e})})),this.streamSinks[e.streamId].sinkCapability.reject(h(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=r(1),i=r(159);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}var c=function(){function e(t){o(this,e),(0,n.assert)("string"===typeof t,"Metadata: input is not a string"),t=this._repair(t);var r=new i.SimpleXMLParser,a=r.parseFromString(t);this._metadata=Object.create(null),a&&this._parse(a)}return s(e,[{key:"_repair",value:function(e){return e.replace(/^([^<]+)/,"").replace(/>\\376\\377([^<]+)/g,(function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,(function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),n="",i=0,o=r.length;i<o;i+=2){var a=256*r.charCodeAt(i)+r.charCodeAt(i+1);n+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+n}))}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase()){t=t.firstChild;while(t&&"rdf:rdf"!==t.nodeName.toLowerCase())t=t.nextSibling}var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,o=n.length;i<o;i++){var a=n[i];if("rdf:description"===a.nodeName.toLowerCase())for(var s=0,c=a.childNodes.length;s<c;s++)if("#text"!==a.childNodes[s].nodeName.toLowerCase()){var u=a.childNodes[s],l=u.nodeName.toLowerCase();this._metadata[l]=u.textContent.trim()}}}},{key:"get",value:function(e){var t=this._metadata[e];return"undefined"!==typeof t?t:null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return"undefined"!==typeof this._metadata[e]}}]),e}();t.Metadata=c},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}function i(e,t){return s(e)||a(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function s(e){if(Array.isArray(e))return e}function c(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t,r){return f="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=h(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},f(e,t,r||e)}function h(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=d(e),null===e)break;return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=void 0;var b={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function _(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||"\t"===r}function w(e){for(var t=0,r=e.length;t<r;t++)if(!_(e,t))return!1;return!0}var A=function(){function e(){g(this,e)}return y(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCharCode(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCharCode(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r,n=t,i=[];function o(){while(n<e.length&&_(e,n))++n}while(n<e.length&&!_(e,n)&&">"!==e[n]&&"/"!==e[n])++n;r=e.substring(t,n),o();while(n<e.length&&">"!==e[n]&&"/"!==e[n]&&"?"!==e[n]){o();var a="",s="";while(n<e.length&&!_(e,n)&&"="!==e[n])a+=e[n],++n;if(o(),"="!==e[n])return null;++n,o();var c=e[n];if('"'!==c&&"'"!==c)return null;var u=e.indexOf(c,++n);if(u<0)return null;s=e.substring(n,u),i.push({name:a,value:this._resolveEntities(s)}),n=u+1,o()}return{name:r,attributes:i,parsed:n-t}}},{key:"_parseProcessingInstruction",value:function(e,t){var r,n,i=t;function o(){while(i<e.length&&_(e,i))++i}while(i<e.length&&!_(e,i)&&">"!==e[i]&&"/"!==e[i])++i;r=e.substring(t,i),o();var a=i;while(i<e.length&&("?"!==e[i]||">"!==e[i+1]))++i;return n=e.substring(a,i),{name:r,value:n,parsed:i-t}}},{key:"parseXml",value:function(e){var t=0;while(t<e.length){var r=e[t],n=t;if("<"===r){++n;var i=e[n],o=void 0;switch(i){case"/":if(++n,o=e.indexOf(">",n),o<0)return void this.onError(b.UnterminatedElement);this.onEndElement(e.substring(n,o)),n=o+1;break;case"?":++n;var a=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+a.parsed,n+a.parsed+2))return void this.onError(b.UnterminatedXmlDeclaration);this.onPi(a.name,a.value),n+=a.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if(o=e.indexOf("--\x3e",n+3),o<0)return void this.onError(b.UnterminatedComment);this.onComment(e.substring(n+3,o)),n=o+3}else if("[CDATA["===e.substring(n+1,n+8)){if(o=e.indexOf("]]>",n+8),o<0)return void this.onError(b.UnterminatedCdat);this.onCdata(e.substring(n+8,o)),n=o+3}else{if("DOCTYPE"!==e.substring(n+1,n+8))return void this.onError(b.MalformedElement);var s=e.indexOf("[",n+8),c=!1;if(o=e.indexOf(">",n+8),o<0)return void this.onError(b.UnterminatedDoctypeDeclaration);if(s>0&&o>s){if(o=e.indexOf("]>",n+8),o<0)return void this.onError(b.UnterminatedDoctypeDeclaration);c=!0}var u=e.substring(n+8,o+(c?1:0));this.onDoctype(u),n=o+(c?2:1)}break;default:var l=this._parseContent(e,n);if(null===l)return void this.onError(b.MalformedElement);var f=!1;if("/>"===e.substring(n+l.parsed,n+l.parsed+2))f=!0;else if(">"!==e.substring(n+l.parsed,n+l.parsed+1))return void this.onError(b.UnterminatedElement);this.onBeginElement(l.name,l.attributes,f),n+=l.parsed+(f?2:1);break}}else{while(n<e.length&&"<"!==e[n])n++;var h=e.substring(t,n);this.onText(this._resolveEntities(h))}t=n}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),S=function(){function e(t,r){g(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return y(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}}]),e}(),x=function(e){function t(){var e;return g(this,t),e=c(this,d(t).call(this)),e._currentFragment=null,e._stack=null,e._errorCode=b.NoError,e}return p(t,e),y(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=b.NoError,this.parseXml(e),this._errorCode===b.NoError){var t=i(this._currentFragment,1),r=t[0];if(r)return{documentElement:r}}}},{key:"onResolveEntity",value:function(e){switch(e){case"apos":return"'"}return f(d(t.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!w(e)){var t=new S("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new S("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){var n=new S(e);n.childNodes=[],this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(A);t.SimpleXMLParser=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,c,"next",e)}function c(e){a(o,n,i,s,c,"throw",e)}s(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}var f=function(){function e(t,r){var n=this;c(this,e),(0,i.assert)(r),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1;var o=t.initialData;if(o&&o.length>0){var a=new Uint8Array(o).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=r,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){n._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){n._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){n._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){n._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return l(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some((function(r){return r._begin===e.begin&&(r._enqueue(t),!0)}));(0,i.assert)(r)}}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var r=this._fullRequestReader;r&&r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,i.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new h(this,e,this._progressiveDone)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new d(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeReaders.slice(0);t.forEach((function(t){t.cancel(e)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFDataTransportStream=f;var h=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this._stream=t,this._done=n||!1,this._filename=null,this._queuedChunks=r||[],this._loaded=0;var i=!0,o=!1,a=void 0;try{for(var s,u=this._queuedChunks[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;this._loaded+=l.byteLength}}catch(f){o=!0,a=f}finally{try{i||null==u["return"]||u["return"]()}finally{if(o)throw a}}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),e}(),d=function(){function e(t,r,n){c(this,e),this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{var t=this._requests.shift();t.resolve({value:e,done:!1}),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var n=r(1);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}var s=function(){function e(t){var r=t.enable,n=void 0!==r&&r;i(this,e),this._enabled=!0===n}return a(e,[{key:"composeSMask",value:function(e){var t=e.layer,r=e.mask,n=e.properties;return c.composeSMask(t,r,n)}},{key:"drawFigures",value:function(e){var t=e.width,r=e.height,n=e.backgroundColor,i=e.figures,o=e.context;return c.drawFigures(t,r,n,i,o)}},{key:"clear",value:function(){c.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=c.tryInitGL()),(0,n.shadow)(this,"isEnabled",e)}}]),e}();t.WebGLContext=s;var c=function(){function e(e,t,r){var n=e.createShader(r);e.shaderSource(n,t),e.compileShader(n);var i=e.getShaderParameter(n,e.COMPILE_STATUS);if(!i){var o=e.getShaderInfoLog(n);throw new Error("Error during shader compilation: "+o)}return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function n(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);e.linkProgram(r);var o=e.getProgramParameter(r,e.LINK_STATUS);if(!o){var a=e.getProgramInfoLog(r);throw new Error("Error during program linking: "+a)}return r}function i(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}var o,a;function s(){o||(a=document.createElement("canvas"),o=a.getContext("webgl",{premultipliedalpha:!1}))}var c=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",u=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",l=null;function f(){var e,i;s(),e=a,a=null,i=o,o=null;var f=t(i,c),h=r(i,u),d=n(i,[f,h]);i.useProgram(d);var p={};p.gl=i,p.canvas=e,p.resolutionLocation=i.getUniformLocation(d,"u_resolution"),p.positionLocation=i.getAttribLocation(d,"a_position"),p.backdropLocation=i.getUniformLocation(d,"u_backdrop"),p.subtypeLocation=i.getUniformLocation(d,"u_subtype");var v=i.getAttribLocation(d,"a_texCoord"),g=i.getUniformLocation(d,"u_image"),m=i.getUniformLocation(d,"u_mask"),y=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,y),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(v),i.vertexAttribPointer(v,2,i.FLOAT,!1,0,0),i.uniform1i(g,0),i.uniform1i(m,1),l=p}function h(e,t,r){var n=e.width,o=e.height;l||f();var a=l,s=a.canvas,c=a.gl;s.width=n,s.height=o,c.viewport(0,0,c.drawingBufferWidth,c.drawingBufferHeight),c.uniform2f(a.resolutionLocation,n,o),r.backdrop?c.uniform4f(a.resolutionLocation,r.backdrop[0],r.backdrop[1],r.backdrop[2],1):c.uniform4f(a.resolutionLocation,0,0,0,0),c.uniform1i(a.subtypeLocation,"Luminosity"===r.subtype?1:0);var u=i(c,e,c.TEXTURE0),h=i(c,t,c.TEXTURE1),d=c.createBuffer();return c.bindBuffer(c.ARRAY_BUFFER,d),c.bufferData(c.ARRAY_BUFFER,new Float32Array([0,0,n,0,0,o,0,o,n,0,n,o]),c.STATIC_DRAW),c.enableVertexAttribArray(a.positionLocation),c.vertexAttribPointer(a.positionLocation,2,c.FLOAT,!1,0,0),c.clearColor(0,0,0,0),c.enable(c.BLEND),c.blendFunc(c.ONE,c.ONE_MINUS_SRC_ALPHA),c.clear(c.COLOR_BUFFER_BIT),c.drawArrays(c.TRIANGLES,0,6),c.flush(),c.deleteTexture(u),c.deleteTexture(h),c.deleteBuffer(d),s}var d=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",p=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",v=null;function g(){var e,i;s(),e=a,a=null,i=o,o=null;var c=t(i,d),u=r(i,p),l=n(i,[c,u]);i.useProgram(l);var f={};f.gl=i,f.canvas=e,f.resolutionLocation=i.getUniformLocation(l,"u_resolution"),f.scaleLocation=i.getUniformLocation(l,"u_scale"),f.offsetLocation=i.getUniformLocation(l,"u_offset"),f.positionLocation=i.getAttribLocation(l,"a_position"),f.colorLocation=i.getAttribLocation(l,"a_color"),v=f}function m(e,t,r,n,i){v||g();var o=v,a=o.canvas,s=o.gl;a.width=e,a.height=t,s.viewport(0,0,s.drawingBufferWidth,s.drawingBufferHeight),s.uniform2f(o.resolutionLocation,e,t);var c,u,l,f=0;for(c=0,u=n.length;c<u;c++)switch(n[c].type){case"lattice":l=n[c].coords.length/n[c].verticesPerRow|0,f+=(l-1)*(n[c].verticesPerRow-1)*6;break;case"triangles":f+=n[c].coords.length;break}var h=new Float32Array(2*f),d=new Uint8Array(3*f),p=i.coords,m=i.colors,y=0,b=0;for(c=0,u=n.length;c<u;c++){var _=n[c],w=_.coords,A=_.colors;switch(_.type){case"lattice":var S=_.verticesPerRow;l=w.length/S|0;for(var x=1;x<l;x++)for(var k=x*S+1,C=1;C<S;C++,k++)h[y]=p[w[k-S-1]],h[y+1]=p[w[k-S-1]+1],h[y+2]=p[w[k-S]],h[y+3]=p[w[k-S]+1],h[y+4]=p[w[k-1]],h[y+5]=p[w[k-1]+1],d[b]=m[A[k-S-1]],d[b+1]=m[A[k-S-1]+1],d[b+2]=m[A[k-S-1]+2],d[b+3]=m[A[k-S]],d[b+4]=m[A[k-S]+1],d[b+5]=m[A[k-S]+2],d[b+6]=m[A[k-1]],d[b+7]=m[A[k-1]+1],d[b+8]=m[A[k-1]+2],h[y+6]=h[y+2],h[y+7]=h[y+3],h[y+8]=h[y+4],h[y+9]=h[y+5],h[y+10]=p[w[k]],h[y+11]=p[w[k]+1],d[b+9]=d[b+3],d[b+10]=d[b+4],d[b+11]=d[b+5],d[b+12]=d[b+6],d[b+13]=d[b+7],d[b+14]=d[b+8],d[b+15]=m[A[k]],d[b+16]=m[A[k]+1],d[b+17]=m[A[k]+2],y+=12,b+=18;break;case"triangles":for(var P=0,E=w.length;P<E;P++)h[y]=p[w[P]],h[y+1]=p[w[P]+1],d[b]=m[A[P]],d[b+1]=m[A[P]+1],d[b+2]=m[A[P]+2],y+=2,b+=3;break}}r?s.clearColor(r[0]/255,r[1]/255,r[2]/255,1):s.clearColor(0,0,0,0),s.clear(s.COLOR_BUFFER_BIT);var R=s.createBuffer();s.bindBuffer(s.ARRAY_BUFFER,R),s.bufferData(s.ARRAY_BUFFER,h,s.STATIC_DRAW),s.enableVertexAttribArray(o.positionLocation),s.vertexAttribPointer(o.positionLocation,2,s.FLOAT,!1,0,0);var T=s.createBuffer();return s.bindBuffer(s.ARRAY_BUFFER,T),s.bufferData(s.ARRAY_BUFFER,d,s.STATIC_DRAW),s.enableVertexAttribArray(o.colorLocation),s.vertexAttribPointer(o.colorLocation,3,s.UNSIGNED_BYTE,!1,0,0),s.uniform2f(o.scaleLocation,i.scaleX,i.scaleY),s.uniform2f(o.offsetLocation,i.offsetX,i.offsetY),s.drawArrays(s.TRIANGLES,0,f),s.flush(),s.deleteBuffer(R),s.deleteBuffer(T),a}return{tryInitGL:function(){try{return s(),!!o}catch(e){}return!1},composeSMask:h,drawFigures:m,cleanup:function(){l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),v&&v.canvas&&(v.canvas.width=0,v.canvas.height=0),l=null,v=null}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(1),i=o(r(3));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){var e=1e5,t=/\S/;function r(e){return!t.test(e)}var o=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function a(e,t,i){var a=document.createElement("span"),s={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(e._textDivs.push(a),r(t.str))return s.isWhitespace=!0,void e._textDivProperties.set(a,s);var c=n.Util.transform(e._viewport.transform,t.transform),u=Math.atan2(c[1],c[0]),l=i[t.fontName];l.vertical&&(u+=Math.PI/2);var f,h,d=Math.sqrt(c[2]*c[2]+c[3]*c[3]),p=d;if(l.ascent?p=l.ascent*p:l.descent&&(p=(1+l.descent)*p),0===u?(f=c[4],h=c[5]-p):(f=c[4]+p*Math.sin(u),h=c[5]-p*Math.cos(u)),o[1]=f,o[3]=h,o[5]=d,o[7]=l.fontFamily,s.style=o.join(""),a.setAttribute("style",s.style),a.textContent=t.str,e._fontInspectorEnabled&&(a.dataset.fontName=t.fontName),0!==u&&(s.angle=u*(180/Math.PI)),t.str.length>1&&(l.vertical?s.canvasWidth=t.height*e._viewport.scale:s.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(a,s),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection){var v=1,g=0;0!==u&&(v=Math.cos(u),g=Math.sin(u));var m,y,b=(l.vertical?t.height:t.width)*e._viewport.scale,_=d;0!==u?(m=[v,g,-g,v,f,h],y=n.Util.getAxialAlignedBoundingBox([0,0,b,_],m)):y=[f,h,f+b,h+_],e._bounds.push({left:y[0],top:y[1],right:y[2],bottom:y[3],div:a,size:[b,_],m:m})}}function s(t){if(!t._canceled){var r=t._textDivs,n=t._capability,i=r.length;if(i>e)return t._renderingDone=!0,void n.resolve();if(!t._textContentStream)for(var o=0;o<i;o++)t._layoutText(r[o]);t._renderingDone=!0,n.resolve()}}function c(e){for(var t=e._bounds,r=e._viewport,i=u(r.width,r.height,t),o=0;o<i.length;o++){var a=t[o].div,s=e._textDivProperties.get(a);if(0!==s.angle){var c=i[o],l=t[o],f=l.m,h=f[0],d=f[1],p=[[0,0],[0,l.size[1]],[l.size[0],0],l.size],v=new Float64Array(64);p.forEach((function(e,t){var r=n.Util.applyTransform(e,f);v[t+0]=h&&(c.left-r[0])/h,v[t+4]=d&&(c.top-r[1])/d,v[t+8]=h&&(c.right-r[0])/h,v[t+12]=d&&(c.bottom-r[1])/d,v[t+16]=d&&(c.left-r[0])/-d,v[t+20]=h&&(c.top-r[1])/h,v[t+24]=d&&(c.right-r[0])/-d,v[t+28]=h&&(c.bottom-r[1])/h,v[t+32]=h&&(c.left-r[0])/-h,v[t+36]=d&&(c.top-r[1])/-d,v[t+40]=h&&(c.right-r[0])/-h,v[t+44]=d&&(c.bottom-r[1])/-d,v[t+48]=d&&(c.left-r[0])/d,v[t+52]=h&&(c.top-r[1])/-h,v[t+56]=d&&(c.right-r[0])/d,v[t+60]=h&&(c.bottom-r[1])/-h}));var g=function(e,t,r){for(var n=0,i=0;i<r;i++){var o=e[t++];o>0&&(n=n?Math.min(o,n):o)}return n},m=1+Math.min(Math.abs(h),Math.abs(d));s.paddingLeft=g(v,32,16)/m,s.paddingTop=g(v,48,16)/m,s.paddingRight=g(v,0,16)/m,s.paddingBottom=g(v,16,16)/m,e._textDivProperties.set(a,s)}else s.paddingLeft=t[o].left-i[o].left,s.paddingTop=t[o].top-i[o].top,s.paddingRight=i[o].right-t[o].right,s.paddingBottom=i[o].bottom-t[o].bottom,e._textDivProperties.set(a,s)}}function u(e,t,r){var n=r.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));l(e,n);var i=new Array(r.length);return n.forEach((function(e){var t=e.index;i[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}})),r.map((function(t,r){var o=i[r],a=n[r];a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=r,a.x1New=void 0,a.x2New=void 0})),l(t,n),n.forEach((function(e){var t=e.index;i[t].top=e.x1New,i[t].bottom=e.x2New})),i}function l(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var r={x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0},n=[{start:-1/0,end:1/0,boundary:r}];t.forEach((function(e){var t=0;while(t<n.length&&n[t].end<=e.y1)t++;var r,i,o=n.length-1;while(o>=0&&n[o].start>=e.y2)o--;var a,s,c=-1/0;for(a=t;a<=o;a++){var u;r=n[a],i=r.boundary,u=i.x2>e.x1?i.index>e.index?i.x1New:e.x1:void 0===i.x2New?(i.x2+e.x1)/2:i.x2New,u>c&&(c=u)}for(e.x1New=c,a=t;a<=o;a++)r=n[a],i=r.boundary,void 0===i.x2New?i.x2>e.x1?i.index>e.index&&(i.x2New=i.x2):i.x2New=c:i.x2New>c&&(i.x2New=Math.max(c,i.x2));var l=[],f=null;for(a=t;a<=o;a++){r=n[a],i=r.boundary;var h=i.x2>e.x2?i:e;f===h?l[l.length-1].end=r.end:(l.push({start:r.start,end:r.end,boundary:h}),f=h)}for(n[t].start<e.y1&&(l[0].start=e.y1,l.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[o].end&&(l[l.length-1].end=e.y2,l.push({start:e.y2,end:n[o].end,boundary:n[o].boundary})),a=t;a<=o;a++)if(r=n[a],i=r.boundary,void 0===i.x2New){var d=!1;for(s=t-1;!d&&s>=0&&n[s].start>=i.y1;s--)d=n[s].boundary===i;for(s=o+1;!d&&s<n.length&&n[s].end<=i.y2;s++)d=n[s].boundary===i;for(s=0;!d&&s<l.length;s++)d=l[s].boundary===i;d||(i.x2New=c)}Array.prototype.splice.apply(n,[t,o-t+1].concat(l))})),n.forEach((function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))}))}function f(e){var t=this,r=e.textContent,o=e.textContentStream,a=e.container,s=e.viewport,c=e.textDivs,u=e.textContentItemsStr,l=e.enhanceTextSelection;this._textContent=r,this._textContentStream=o,this._container=a,this._viewport=s,this._textDivs=c||[],this._textContentItemsStr=u||[],this._enhanceTextSelection=!!l,this._fontInspectorEnabled=!(!i["default"].FontInspector||!i["default"].FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise["finally"]((function(){t._layoutTextCtx&&(t._layoutTextCtx.canvas.width=0,t._layoutTextCtx.canvas.height=0,t._layoutTextCtx=null)}))}function h(e){var t=new f({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}return f.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(e,t){for(var r=0,n=e.length;r<n;r++)this._textContentItemsStr.push(e[r].str),a(this,e[r],t)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,i=e.style.fontFamily;n===this._layoutTextLastFontSize&&i===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=n+" "+i,this._layoutTextLastFontSize=n,this._layoutTextLastFontFamily=i);var o=this._layoutTextCtx.measureText(e.textContent).width,a="";0!==r.canvasWidth&&o>0&&(r.scale=r.canvasWidth/o,a="scaleX(".concat(r.scale,")")),0!==r.angle&&(a="rotate(".concat(r.angle,"deg) ").concat(a)),a.length>0&&(r.originalTransform=a,e.style.transform=a),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,r=(0,n.createPromiseCapability)(),i=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var a=this._textContent.items,c=this._textContent.styles;this._processItems(a,c),r.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');var u=function e(){t._reader.read().then((function(n){var o=n.value,a=n.done;a?r.resolve():(Object.assign(i,o.styles),t._processItems(o.items,i),e())}),r.reject)};this._reader=this._textContentStream.getReader(),u()}r.promise.then((function(){i=null,e?t._renderTimer=setTimeout((function(){s(t),t._renderTimer=null}),e):s(t)}),this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(c(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var n=this._textDivs[t],i=this._textDivProperties.get(n);if(!i.isWhitespace)if(e){var o="",a="";1!==i.scale&&(o="scaleX("+i.scale+")"),0!==i.angle&&(o="rotate("+i.angle+"deg) "+o),0!==i.paddingLeft&&(a+=" padding-left: "+i.paddingLeft/i.scale+"px;",o+=" translateX("+-i.paddingLeft/i.scale+"px)"),0!==i.paddingTop&&(a+=" padding-top: "+i.paddingTop+"px;",o+=" translateY("+-i.paddingTop+"px)"),0!==i.paddingRight&&(a+=" padding-right: "+i.paddingRight/i.scale+"px;"),0!==i.paddingBottom&&(a+=" padding-bottom: "+i.paddingBottom+"px;"),""!==a&&n.setAttribute("style",i.style+a),""!==o&&(n.style.transform=o)}else n.style.padding=0,n.style.transform=i.originalTransform||""}}}},h}();t.renderTextLayer=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=r(151),i=r(1);function o(e,t,r){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=a(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},o(e,t,r||e)}function a(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=f(e),null===e)break;return e}function s(e){return s="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},s(e)}function c(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}var m=function(){function e(){p(this,e)}return g(e,null,[{key:"create",value:function(e){var t=e.data.annotationType;switch(t){case i.AnnotationType.LINK:return new b(e);case i.AnnotationType.TEXT:return new _(e);case i.AnnotationType.WIDGET:var r=e.data.fieldType;switch(r){case"Tx":return new A(e);case"Btn":return e.data.radioButton?new x(e):e.data.checkBox?new S(e):new k(e);case"Ch":return new C(e)}return new w(e);case i.AnnotationType.POPUP:return new P(e);case i.AnnotationType.FREETEXT:return new R(e);case i.AnnotationType.LINE:return new T(e);case i.AnnotationType.SQUARE:return new O(e);case i.AnnotationType.CIRCLE:return new I(e);case i.AnnotationType.POLYLINE:return new L(e);case i.AnnotationType.CARET:return new D(e);case i.AnnotationType.INK:return new j(e);case i.AnnotationType.POLYGON:return new F(e);case i.AnnotationType.HIGHLIGHT:return new M(e);case i.AnnotationType.UNDERLINE:return new N(e);case i.AnnotationType.SQUIGGLY:return new U(e);case i.AnnotationType.STRIKEOUT:return new q(e);case i.AnnotationType.STAMP:return new B(e);case i.AnnotationType.FILEATTACHMENT:return new W(e);default:return new y(e)}}}]),e}(),y=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];p(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return g(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,o=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var c=i.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(o.style.transform="matrix("+n.transform.join(",")+")",o.style.transformOrigin=-c[0]+"px "+-c[1]+"px",!e&&t.borderStyle.width>0){o.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,l=t.borderStyle.verticalCornerRadius;if(u>0||l>0){var f=u+"px / "+l+"px";o.style.borderRadius=f}switch(t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid";break;default:break}t.color?o.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left=c[0]+"px",o.style.top=c[1]+"px",o.style.width=a+"px",o.style.height=s+"px",o}},{key:"_createPopup",value:function(e,t,r){t||(t=document.createElement("div"),t.style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new E({container:e,trigger:t,color:r.color,title:r.title,modificationDate:r.modificationDate,contents:r.contents,hideWrapper:!0}),i=n.render();i.style.left=e.style.width,e.appendChild(i)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),b=function(e){function t(e){p(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,r=document.createElement("a");return(0,n.addLinkAttributes)(r,{url:e.url,target:e.newWindow?n.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel}),e.url||(e.action?this._bindNamedAction(r,e.action):this._bindLink(r,e.dest)),this.container.appendChild(r),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(y),_=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(y),w=function(e){function t(){return p(this,t),c(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){return this.container}}]),t}(y),A=function(e){function t(e){p(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["left","center","right"];this.container.className="textWidgetAnnotation";var t=null;if(this.renderInteractiveForms){if(this.data.multiLine?(t=document.createElement("textarea"),t.textContent=this.data.fieldValue):(t=document.createElement("input"),t.type="text",t.setAttribute("value",this.data.fieldValue)),t.disabled=this.data.readOnly,null!==this.data.maxLen&&(t.maxLength=this.data.maxLen),this.data.comb){var r=this.data.rect[2]-this.data.rect[0],n=r/this.data.maxLen;t.classList.add("comb"),t.style.letterSpacing="calc("+n+"px - 1ch)"}}else{t=document.createElement("div"),t.textContent=this.data.fieldValue,t.style.verticalAlign="middle",t.style.display="table-cell";var i=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(i=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(t,i)}return null!==this.data.textAlignment&&(t.style.textAlign=e[this.data.textAlignment]),this.container.appendChild(t),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(w),S=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),x=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),k=function(e){function t(){return p(this,t),c(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){var e=o(f(t.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),t}(b),C=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,this.data.combo||(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.includes(n.displayValue)&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}]),t}(w),P=function(e){function t(e){p(this,t);var r=!(!e.data.title&&!e.data.contents);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",e.includes(this.data.parentType))return this.container;var t='[data-annotation-id="'+this.data.parentId+'"]',r=this.layer.querySelector(t);if(!r)return this.container;var n=new E({container:this.container,trigger:r,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),i=parseFloat(r.style.left),o=parseFloat(r.style.width);return this.container.style.transformOrigin=-(i+o)+"px -"+r.style.top,this.container.style.left=i+o+"px",this.container.appendChild(n.render()),this.container}}]),t}(y),E=function(){function e(t){p(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return g(e,[{key:"render",value:function(){var e=.7,t=document.createElement("div");t.className="popupWrapper",this.hideElement=this.hideWrapper?t:this.container,this.hideElement.setAttribute("hidden",!0);var r=document.createElement("div");r.className="popup";var o=this.color;if(o){var a=e*(255-o[0])+o[0],s=e*(255-o[1])+o[1],c=e*(255-o[2])+o[2];r.style.backgroundColor=i.Util.makeCssRgb(0|a,0|s,0|c)}var u=document.createElement("h1");u.textContent=this.title,r.appendChild(u);var l=n.PDFDateString.toDateObject(this.modificationDate);if(l){var f=document.createElement("span");f.textContent="{{date}}, {{time}}",f.dataset.l10nId="annotation_date_string",f.dataset.l10nArgs=JSON.stringify({date:l.toLocaleDateString(),time:l.toLocaleTimeString()}),r.appendChild(f)}var h=this._formatContents(this.contents);return r.appendChild(h),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),r.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(r),t}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var o=r[n];t.appendChild(document.createTextNode(o)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),R=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),T=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(y),O=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",t-i),o.setAttribute("height",r-i),o.setAttribute("stroke-width",i),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),n.appendChild(o),this.container.append(n),this._createPopup(this.container,o,e),this.container}}]),t}(y),I=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",r/2),o.setAttribute("rx",t/2-i/2),o.setAttribute("ry",r/2-i/2),o.setAttribute("stroke-width",i),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),n.appendChild(o),this.container.append(n),this._createPopup(this.container,o,e),this.container}}]),t}(y),L=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=c(this,f(t).call(this,e,n,!0)),r.containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.vertices,o=[],a=0,s=i.length;a<s;a++){var c=i[a].x-e.rect[0],u=e.rect[3]-i[a].y;o.push(c+","+u)}o=o.join(" ");var l=e.borderStyle.width,f=this.svgFactory.createElement(this.svgElementName);return f.setAttribute("points",o),f.setAttribute("stroke-width",l),f.setAttribute("stroke","transparent"),f.setAttribute("fill","none"),n.appendChild(f),this.container.append(n),this._createPopup(this.container,f,e),this.container}}]),t}(y),F=function(e){function t(e){var r;return p(this,t),r=c(this,f(t).call(this,e)),r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return h(t,e),t}(L),D=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),j=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=c(this,f(t).call(this,e,n,!0)),r.containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.inkLists,o=0,a=i.length;o<a;o++){for(var s=i[o],c=[],u=0,l=s.length;u<l;u++){var f=s[u].x-e.rect[0],h=e.rect[3]-s[u].y;c.push(f+","+h)}c=c.join(" ");var d=e.borderStyle.width,p=this.svgFactory.createElement(this.svgElementName);p.setAttribute("points",c),p.setAttribute("stroke-width",d),p.setAttribute("stroke","transparent"),p.setAttribute("fill","none"),this._createPopup(this.container,p,e),n.appendChild(p)}return this.container.append(n),this.container}}]),t}(y),M=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),N=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),U=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),q=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),B=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),W=function(e){function t(e){var r;p(this,t),r=c(this,f(t).call(this,e,!0));var o=r.data.file,a=o.filename,s=o.content;return r.filename=(0,n.getFilenameFromUrl)(a),r.content=s,r.linkService.eventBus&&r.linkService.eventBus.dispatch("fileattachmentannotation",{source:l(r),id:(0,i.stringToPDFString)(a),filename:a,content:s}),r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),t}(y),G=function(){function e(){p(this,e)}return g(e,null,[{key:"render",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var i=e.annotations[t];if(i){var o=m.create({data:i,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new n.DOMSVGFactory});o.isRenderable&&e.div.appendChild(o.render())}}}},{key:"update",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t],i=e.div.querySelector('[data-annotation-id="'+n.id+'"]');i&&(i.style.transform="matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=G},function(t,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SVGGraphics=void 0;var a=o(1),s=o(151),c=u(o(4));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return d(e)||h(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function h(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function d(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function p(e,t){return m(e)||g(e,t)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function g(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function m(e){if(Array.isArray(e))return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}var w=function(){throw new Error("Not implemented: SVGGraphics")};n.SVGGraphics=w;var A=function(e){var t=[],r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;"save"!==c.fn?"restore"===c.fn?t=r.pop():t.push(c):(t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items)}}catch(u){i=!0,o=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return t},S=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do{r--}while("0"===t[r]);return t.substring(0,"."===t[r]?r:r+1)},x=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(S(e[0])," ").concat(S(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(S(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(S(e[4])," ").concat(S(e[5]),")");return"matrix(".concat(S(e[0])," ").concat(S(e[1])," ").concat(S(e[2])," ").concat(S(e[3])," ").concat(S(e[4])," ")+"".concat(S(e[5]),")")},k={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},C="http://www.w3.org/XML/1998/namespace",P="http://www.w3.org/1999/xlink",E=["butt","round","square"],R=["miter","round","bevel"],T=function(){for(var t=new Uint8Array([137,80,78,71,13,10,26,10]),n=12,o=new Int32Array(256),s=0;s<256;s++){for(var u=s,l=0;l<8;l++)u=1&u?3988292384^u>>1&2147483647:u>>1&2147483647;o[s]=u}function f(e,t,r){for(var n=-1,i=t;i<r;i++){var a=255&(n^e[i]),s=o[a];n=n>>>8^s}return-1^n}function h(e,t,r,n){var i=n,o=t.length;r[i]=o>>24&255,r[i+1]=o>>16&255,r[i+2]=o>>8&255,r[i+3]=255&o,i+=4,r[i]=255&e.charCodeAt(0),r[i+1]=255&e.charCodeAt(1),r[i+2]=255&e.charCodeAt(2),r[i+3]=255&e.charCodeAt(3),i+=4,r.set(t,i),i+=t.length;var a=f(r,n+4,i);r[i]=a>>24&255,r[i+1]=a>>16&255,r[i+2]=a>>8&255,r[i+3]=255&a}function d(e,t,r){for(var n=1,i=0,o=t;o<r;++o)n=(n+(255&e[o]))%65521,i=(i+n)%65521;return i<<16|n}function p(t){if(!(0,c["default"])())return v(t);try{var n;n=parseInt(i.versions.node)>=8?t:new e(t);var o=r(0).deflateSync(n,{level:9});return o instanceof Uint8Array?o:new Uint8Array(o)}catch(s){(0,a.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+s)}return v(t)}function v(e){var t=e.length,r=65535,n=Math.ceil(t/r),i=new Uint8Array(2+t+5*n+4),o=0;i[o++]=120,i[o++]=156;var a=0;while(t>r)i[o++]=0,i[o++]=255,i[o++]=255,i[o++]=0,i[o++]=0,i.set(e.subarray(a,a+r),o),o+=r,a+=r,t-=r;i[o++]=1,i[o++]=255&t,i[o++]=t>>8&255,i[o++]=255&~t,i[o++]=(65535&~t)>>8&255,i.set(e.subarray(a),o),o+=e.length-a;var s=d(e,0,e.length);return i[o++]=s>>24&255,i[o++]=s>>16&255,i[o++]=s>>8&255,i[o++]=255&s,i}function g(e,r,i,o){var s,c,u,l=e.width,f=e.height,d=e.data;switch(r){case a.ImageKind.GRAYSCALE_1BPP:c=0,s=1,u=l+7>>3;break;case a.ImageKind.RGB_24BPP:c=2,s=8,u=3*l;break;case a.ImageKind.RGBA_32BPP:c=6,s=8,u=4*l;break;default:throw new Error("invalid format")}for(var v=new Uint8Array((1+u)*f),g=0,m=0,y=0;y<f;++y)v[g++]=0,v.set(d.subarray(m,m+u),g),m+=u,g+=u;if(r===a.ImageKind.GRAYSCALE_1BPP&&o){g=0;for(var b=0;b<f;b++){g++;for(var _=0;_<u;_++)v[g++]^=255}}var w=new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,s,c,0,0,0]),A=p(v),S=t.length+3*n+w.length+A.length,x=new Uint8Array(S),k=0;return x.set(t,k),k+=t.length,h("IHDR",w,x,k),k+=n+w.length,h("IDATA",A,x,k),k+=n+A.length,h("IEND",new Uint8Array(0),x,k),(0,a.createObjectURL)(x,"image/png",i)}return function(e,t,r){var n=void 0===e.kind?a.ImageKind.GRAYSCALE_1BPP:e.kind;return g(e,n,t,r)}}(),O=function(){function e(){y(this,e),this.fontSizeScale=1,this.fontWeight=k.fontWeight,this.fontSize=0,this.textMatrix=a.IDENTITY_MATRIX,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=a.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=k.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return _(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),I=0,L=0,F=0;n.SVGGraphics=w=function(){function e(t,r,n){for(var i in y(this,e),this.svgFactory=new s.DOMSVGFactory,this.current=new O,this.transformMatrix=a.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=r,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[],a.OPS)this._operatorIdMapping[a.OPS[i]]=i}return _(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,r=e.fnArray,n=e.argsArray,i=0,o=r.length;i<o;i++)if(r[i]===a.OPS.dependency){var s=!0,c=!1,u=void 0;try{for(var l,f=function(){var e=l.value,r=e.startsWith("g_")?t.commonObjs:t.objs,n=new Promise((function(t){r.get(e,t)}));t.current.dependencies.push(n)},h=n[i][Symbol.iterator]();!(s=(l=h.next()).done);s=!0)f()}catch(d){c=!0,u=d}finally{try{s||null==h["return"]||h["return"]()}finally{if(c)throw u}}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,r,n,i,o){var s=[e,t,r,n,i,o];this.transformMatrix=a.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then((function(){return r.transformMatrix=a.IDENTITY_MATRIX,r.executeOpTree(r.convertOpList(e)),n}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,r=e.argsArray,n=e.fnArray,i=[],o=0,a=n.length;o<a;o++){var s=n[o];i.push({fnId:s,fn:t[s],args:r[o]})}return A(i)}},{key:"executeOpTree",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value,c=s.fn,u=s.fnId,l=s.args;switch(0|u){case a.OPS.beginText:this.beginText();break;case a.OPS.dependency:break;case a.OPS.setLeading:this.setLeading(l);break;case a.OPS.setLeadingMoveText:this.setLeadingMoveText(l[0],l[1]);break;case a.OPS.setFont:this.setFont(l);break;case a.OPS.showText:this.showText(l[0]);break;case a.OPS.showSpacedText:this.showText(l[0]);break;case a.OPS.endText:this.endText();break;case a.OPS.moveText:this.moveText(l[0],l[1]);break;case a.OPS.setCharSpacing:this.setCharSpacing(l[0]);break;case a.OPS.setWordSpacing:this.setWordSpacing(l[0]);break;case a.OPS.setHScale:this.setHScale(l[0]);break;case a.OPS.setTextMatrix:this.setTextMatrix(l[0],l[1],l[2],l[3],l[4],l[5]);break;case a.OPS.setTextRise:this.setTextRise(l[0]);break;case a.OPS.setTextRenderingMode:this.setTextRenderingMode(l[0]);break;case a.OPS.setLineWidth:this.setLineWidth(l[0]);break;case a.OPS.setLineJoin:this.setLineJoin(l[0]);break;case a.OPS.setLineCap:this.setLineCap(l[0]);break;case a.OPS.setMiterLimit:this.setMiterLimit(l[0]);break;case a.OPS.setFillRGBColor:this.setFillRGBColor(l[0],l[1],l[2]);break;case a.OPS.setStrokeRGBColor:this.setStrokeRGBColor(l[0],l[1],l[2]);break;case a.OPS.setStrokeColorN:this.setStrokeColorN(l);break;case a.OPS.setFillColorN:this.setFillColorN(l);break;case a.OPS.shadingFill:this.shadingFill(l[0]);break;case a.OPS.setDash:this.setDash(l[0],l[1]);break;case a.OPS.setRenderingIntent:this.setRenderingIntent(l[0]);break;case a.OPS.setFlatness:this.setFlatness(l[0]);break;case a.OPS.setGState:this.setGState(l[0]);break;case a.OPS.fill:this.fill();break;case a.OPS.eoFill:this.eoFill();break;case a.OPS.stroke:this.stroke();break;case a.OPS.fillStroke:this.fillStroke();break;case a.OPS.eoFillStroke:this.eoFillStroke();break;case a.OPS.clip:this.clip("nonzero");break;case a.OPS.eoClip:this.clip("evenodd");break;case a.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case a.OPS.paintJpegXObject:this.paintJpegXObject(l[0],l[1],l[2]);break;case a.OPS.paintImageXObject:this.paintImageXObject(l[0]);break;case a.OPS.paintInlineImageXObject:this.paintInlineImageXObject(l[0]);break;case a.OPS.paintImageMaskXObject:this.paintImageMaskXObject(l[0]);break;case a.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(l[0],l[1]);break;case a.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case a.OPS.closePath:this.closePath();break;case a.OPS.closeStroke:this.closeStroke();break;case a.OPS.closeFillStroke:this.closeFillStroke();break;case a.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case a.OPS.nextLine:this.nextLine();break;case a.OPS.transform:this.transform(l[0],l[1],l[2],l[3],l[4],l[5]);break;case a.OPS.constructPath:this.constructPath(l[0],l[1]);break;case a.OPS.endPath:this.endPath();break;case 92:this.group(s.items);break;default:(0,a.warn)("Unimplemented operator ".concat(c));break}}}catch(f){r=!0,n=f}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,r,n,i,o){var a=this.current;a.textMatrix=a.lineMatrix=[e,t,r,n,i,o],a.textMatrixScale=Math.sqrt(e*e+t*t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(S(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",S(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=a.IDENTITY_MATRIX,e.lineMatrix=a.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[]}},{key:"moveText",value:function(e,t){var r=this.current;r.x=r.lineX+=e,r.y=r.lineY+=t,r.xcoords=[],r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"font-family",r.fontFamily),r.tspan.setAttributeNS(null,"font-size","".concat(S(r.fontSize),"px")),r.tspan.setAttributeNS(null,"y",S(-r.y))}},{key:"showText",value:function(e){var t=this.current,r=t.font,n=t.fontSize;if(0!==n){var i=t.charSpacing,o=t.wordSpacing,s=t.fontDirection,c=t.textHScale*s,u=r.vertical,l=n*t.fontMatrix[0],f=0,h=!0,d=!1,p=void 0;try{for(var v,g=e[Symbol.iterator]();!(h=(v=g.next()).done);h=!0){var m=v.value;if(null!==m)if((0,a.isNum)(m))f+=-m*n*.001;else{var y=m.width,b=m.fontChar,_=(m.isSpace?o:0)+i,w=y*l+_*s;m.isInFont||r.missingFile?(t.xcoords.push(t.x+f*c),t.tspan.textContent+=b,f+=w):f+=w}else f+=s*o}}catch(R){d=!0,p=R}finally{try{h||null==g["return"]||g["return"]()}finally{if(d)throw p}}u?t.y-=f*c:t.x+=f*c,t.tspan.setAttributeNS(null,"x",t.xcoords.map(S).join(" ")),t.tspan.setAttributeNS(null,"y",S(-t.y)),t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(S(t.fontSize),"px")),t.fontStyle!==k.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==k.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var A=t.textRenderingMode&a.TextRenderingMode.FILL_STROKE_MASK;if(A===a.TextRenderingMode.FILL||A===a.TextRenderingMode.FILL_STROKE?(t.fillColor!==k.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===a.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),A===a.TextRenderingMode.STROKE||A===a.TextRenderingMode.FILL_STROKE){var P=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,P)}var E=t.textMatrix;0!==t.textRise&&(E=E.slice(),E[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(x(E)," scale(1, -1)")),t.txtElement.setAttributeNS(C,"xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,a.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,r=this.commonObjs.get(e[0]),n=e[1];t.font=r,this.embedFonts&&r.data&&!this.embeddedFonts[r.loadedName]&&(this.addFontStyle(r),this.embeddedFonts[r.loadedName]=r),t.fontMatrix=r.fontMatrix?r.fontMatrix:a.FONT_IDENTITY_MATRIX;var i=r.black?r.bold?"bolder":"bold":r.bold?"bold":"normal",o=r.italic?"italic":"normal";n<0?(n=-n,t.fontDirection=-1):t.fontDirection=1,t.fontSize=n,t.fontFamily=r.loadedName,t.fontWeight=i,t.fontStyle=o,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",S(-t.y)),t.xcoords=[]}},{key:"endText",value:function(){var e=this.current;e.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement&&e.txtElement.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=E[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=R[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,r){this.current.strokeColor=a.Util.makeCssRgb(e,t,r)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,r){this.current.fillColor=a.Util.makeCssRgb(e,t,r),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,r=this.viewport.height,n=a.Util.inverseTransform(this.transformMatrix),i=a.Util.applyTransform([0,0],n),o=a.Util.applyTransform([0,r],n),s=a.Util.applyTransform([t,0],n),c=a.Util.applyTransform([t,r],n),u=Math.min(i[0],o[0],s[0],c[0]),l=Math.min(i[1],o[1],s[1],c[1]),f=Math.max(i[0],o[0],s[0],c[0]),h=Math.max(i[1],o[1],s[1],c[1]),d=this.svgFactory.createElement("svg:rect");d.setAttributeNS(null,"x",u),d.setAttributeNS(null,"y",l),d.setAttributeNS(null,"width",f-u),d.setAttributeNS(null,"height",h-l),d.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this._ensureTransformGroup().appendChild(d)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],r=e[2],n=e[3]||a.IDENTITY_MATRIX,i=p(e[4],4),o=i[0],s=i[1],c=i[2],u=i[3],f=e[5],h=e[6],d=e[7],v="shading".concat(F++),g=a.Util.applyTransform([o,s],n),m=p(g,2),y=m[0],b=m[1],_=a.Util.applyTransform([c,u],n),w=p(_,2),A=w[0],S=w[1],x=a.Util.singularValueDecompose2dScale(n),k=p(x,2),C=k[0],P=k[1],E=f*C,R=h*P,T=this.svgFactory.createElement("svg:pattern");T.setAttributeNS(null,"id",v),T.setAttributeNS(null,"patternUnits","userSpaceOnUse"),T.setAttributeNS(null,"width",E),T.setAttributeNS(null,"height",R),T.setAttributeNS(null,"x","".concat(y)),T.setAttributeNS(null,"y","".concat(b));var O=this.svg,I=this.transformMatrix,L=this.current.fillColor,D=this.current.strokeColor,j=this.svgFactory.create(A-y,S-b);if(this.svg=j,this.transformMatrix=n,2===d){var M=a.Util.makeCssRgb.apply(a.Util,l(t));this.current.fillColor=M,this.current.strokeColor=M}return this.executeOpTree(this.convertOpList(r)),this.svg=O,this.transformMatrix=I,this.current.fillColor=L,this.current.strokeColor=D,T.appendChild(j.childNodes[0]),this.defs.appendChild(T),"url(#".concat(v,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,r="shading".concat(F++),n=e[2];switch(e[1]){case"axial":var i=e[3],o=e[4];t=this.svgFactory.createElement("svg:linearGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",i[0]),t.setAttributeNS(null,"y1",i[1]),t.setAttributeNS(null,"x2",o[0]),t.setAttributeNS(null,"y2",o[1]);break;case"radial":var s=e[3],c=e[4],u=e[5],l=e[6];t=this.svgFactory.createElement("svg:radialGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",c[0]),t.setAttributeNS(null,"cy",c[1]),t.setAttributeNS(null,"r",l),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var f=!0,h=!1,d=void 0;try{for(var p,v=n[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var g=p.value,m=this.svgFactory.createElement("svg:stop");m.setAttributeNS(null,"offset",g[0]),m.setAttributeNS(null,"stop-color",g[1]),t.appendChild(m)}}catch(y){h=!0,d=y}finally{try{f||null==v["return"]||v["return"]()}finally{if(h)throw d}}return this.defs.appendChild(t),"url(#".concat(r,")");case"Mesh":return(0,a.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var r=this.current,n=r.x,i=r.y,o=[],s=0,c=!0,u=!1,l=void 0;try{for(var f,h=e[Symbol.iterator]();!(c=(f=h.next()).done);c=!0){var d=f.value;switch(0|d){case a.OPS.rectangle:n=t[s++],i=t[s++];var p=t[s++],v=t[s++],g=n+p,m=i+v;o.push("M",S(n),S(i),"L",S(g),S(i),"L",S(g),S(m),"L",S(n),S(m),"Z");break;case a.OPS.moveTo:n=t[s++],i=t[s++],o.push("M",S(n),S(i));break;case a.OPS.lineTo:n=t[s++],i=t[s++],o.push("L",S(n),S(i));break;case a.OPS.curveTo:n=t[s+4],i=t[s+5],o.push("C",S(t[s]),S(t[s+1]),S(t[s+2]),S(t[s+3]),S(n),S(i)),s+=6;break;case a.OPS.curveTo2:n=t[s+2],i=t[s+3],o.push("C",S(n),S(i),S(t[s]),S(t[s+1]),S(t[s+2]),S(t[s+3])),s+=4;break;case a.OPS.curveTo3:n=t[s+2],i=t[s+3],o.push("C",S(t[s]),S(t[s+1]),S(n),S(i),S(n),S(i)),s+=4;break;case a.OPS.closePath:o.push("Z");break}}}catch(y){u=!0,l=y}finally{try{c||null==h["return"]||h["return"]()}finally{if(u)throw l}}o=o.join(" "),r.path&&e.length>0&&e[0]!==a.OPS.rectangle&&e[0]!==a.OPS.moveTo?o=r.path.getAttributeNS(null,"d")+o:(r.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(r.path)),r.path.setAttributeNS(null,"d",o),r.path.setAttributeNS(null,"fill","none"),r.element=r.path,r.setCurrentPoint(n,i)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(I++),r=this.svgFactory.createElement("svg:clipPath");r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"transform",x(this.transformMatrix));var n=e.element.cloneNode(!0);"evenodd"===this.pendingClip?n.setAttributeNS(null,"clip-rule","evenodd"):n.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,r.appendChild(n),this.defs.appendChild(r),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach((function(e){e.clipGroup=null})),r.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=p(i.value,2),c=s[0],u=s[1];switch(c){case"LW":this.setLineWidth(u);break;case"LC":this.setLineCap(u);break;case"LJ":this.setLineJoin(u);break;case"ML":this.setMiterLimit(u);break;case"D":this.setDash(u[0],u[1]);break;case"RI":this.setRenderingIntent(u);break;case"FL":this.setFlatness(u);break;case"Font":this.setFont(u);break;case"CA":this.setStrokeAlpha(u);break;case"ca":this.setFillAlpha(u);break;default:(0,a.warn)("Unimplemented graphic state operator ".concat(c));break}}}catch(l){r=!0,n=l}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.current,n=r.dashArray;1!==t&&n.length>0&&(n=n.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",r.strokeColor),e.setAttributeNS(null,"stroke-opacity",r.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",S(r.miterLimit)),e.setAttributeNS(null,"stroke-linecap",r.lineCap),e.setAttributeNS(null,"stroke-linejoin",r.lineJoin),e.setAttributeNS(null,"stroke-width",S(t*r.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",n.map(S).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",S(t*r.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintJpegXObject",value:function(e,t,r){var n=this.objs.get(e),i=this.svgFactory.createElement("svg:image");i.setAttributeNS(P,"xlink:href",n.src),i.setAttributeNS(null,"width",S(t)),i.setAttributeNS(null,"height",S(r)),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",S(-r)),i.setAttributeNS(null,"transform","scale(".concat(S(1/t)," ").concat(S(-1/r),")")),this._ensureTransformGroup().appendChild(i)}},{key:"paintImageXObject",value:function(e){var t=this.objs.get(e);t?this.paintInlineImageXObject(t):(0,a.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var r=e.width,n=e.height,i=T(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",S(r)),o.setAttributeNS(null,"height",S(n)),this.current.element=o,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS(P,"xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",S(-n)),a.setAttributeNS(null,"width",S(r)+"px"),a.setAttributeNS(null,"height",S(n)+"px"),a.setAttributeNS(null,"transform","scale(".concat(S(1/r)," ").concat(S(-1/n),")")),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,r=e.width,n=e.height,i=t.fillColor;t.maskId="mask".concat(L++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",S(r)),a.setAttributeNS(null,"height",S(n)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,o)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var r=t[2]-t[0],n=t[3]-t[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",t[0]),i.setAttributeNS(null,"y",t[1]),i.setAttributeNS(null,"width",S(r)),i.setAttributeNS(null,"height",S(n)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),r=this.svgFactory.createElement("svg:defs");t.appendChild(r),this.defs=r;var n=this.svgFactory.createElement("svg:g");return n.setAttributeNS(null,"transform",x(e.transform)),t.appendChild(n),this.svg=n,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",x(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=s(n(148)),o=n(1),a=n(166);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},c(e)}function l(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function v(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){v(o,n,i,a,s,"next",e)}function s(e){v(o,n,i,a,s,"throw",e)}a(void 0)}))}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}var _=r(1),w=r(2),A=r(3),S=r("0b16"),x=/^file:\/\/\/[a-zA-Z]:\//;function k(e){var t=S.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?S.parse("file:///".concat(e)):(t.host||(t.protocol="file:"),t)}var C=function(){function e(t){m(this,e),this.source=t,this.url=k(t.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return b(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader),this._fullRequestReader=this.isFsUrl?new I(this):new T(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=this.isFsUrl?new L(this,e,t):new O(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFNodeStream=C;var P=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),E=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)();var r=t.source;this._isStreamingSupported=!r.disableStream}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function R(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var T=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=function(t){if(404===t.statusCode){var n=new o.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var i=function(e){return r._readableStream.headers[e.toLowerCase()]},s=(0,a.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),c=s.allowRangeRequests,u=s.suggestedLength;r._isRangeSupported=c,r._contentLength=u||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(i)};return r._request=null,"http:"===r._url.protocol?r._request=w.request(R(r._url,e.httpHeaders),n):r._request=A.request(R(r._url,e.httpHeaders),n),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return d(t,e),t}(P),O=function(e){function t(e,r,n){var i;for(var a in m(this,t),i=l(this,h(t).call(this,e)),i._httpHeaders={},e.httpHeaders){var s=e.httpHeaders[a];"undefined"!==typeof s&&(i._httpHeaders[a]=s)}i._httpHeaders["Range"]="bytes=".concat(r,"-").concat(n-1);var c=function(e){if(404!==e.statusCode)i._setReadableStream(e);else{var t=new o.MissingPDFException('Missing PDF "'.concat(i._url,'".'));i._storedError=t}};return i._request=null,"http:"===i._url.protocol?i._request=w.request(R(i._url,i._httpHeaders),c):i._request=A.request(R(i._url,i._httpHeaders),c),i._request.on("error",(function(e){i._storedError=e})),i._request.end(),i}return d(t,e),t}(E),I=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=decodeURIComponent(r._url.path);return x.test(r._url.href)&&(n=n.replace(/^\//,"")),_.lstat(n,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new o.MissingPDFException('Missing PDF "'.concat(n,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(_.createReadStream(n)),r._headersCapability.resolve()})),r}return d(t,e),t}(P),L=function(e){function t(e,r,n){var i;m(this,t),i=l(this,h(t).call(this,e));var o=decodeURIComponent(i._url.path);return x.test(i._url.href)&&(o=o.replace(/^\//,"")),i._setReadableStream(_.createReadStream(o,{start:r,end:n-1})),i}return d(t,e),t}(E)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=s,t.extractFilenameFromHeader=a,t.validateRangeRequestCapabilities=o,t.validateResponseStatus=c;var n=r(1),i=r(167);function o(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,o=e.disableRange;(0,n.assert)(i>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);if(!Number.isInteger(s))return a;if(a.suggestedLength=s,s<=2*i)return a;if(o||!r)return a;if("bytes"!==t("Accept-Ranges"))return a;var c=t("Content-Encoding")||"identity";return"identity"!==c||(a.allowRangeRequests=!0),a}function a(e){var t=e("Content-Disposition");if(t){var r=(0,i.getFilenameFromContentDispositionHeader)(t);if(/\.pdf$/i.test(r))return r}return null}function s(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)}function c(e){return 200===e||206===e}},function(e,t,r){"use strict";function n(e,t){return a(e)||o(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function o(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function a(e){if(Array.isArray(e))return e}function s(e){var t=!0,r=s("filename\\*","i").exec(e);if(r){r=r[1];var i=f(r);return i=unescape(i),i=h(i),i=d(i),u(i)}if(r=l(e),r){var o=d(r);return u(o)}if(r=s("filename","i").exec(e),r){r=r[1];var a=f(r);return a=d(a),u(a)}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function c(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{var n=new TextDecoder(e,{fatal:!0}),i=Array.from(r,(function(e){return 255&e.charCodeAt(0)}));r=n.decode(new Uint8Array(i)),t=!1}catch(o){if(/^utf-?8$/i.test(e))try{r=decodeURIComponent(escape(r)),t=!1}catch(a){}}}return r}function u(e){return t&&/[\x80-\xff]/.test(e)&&(e=c("utf-8",e),t&&(e=c("iso-8859-1",e))),e}function l(e){var t,r=[],i=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");while(null!==(t=i.exec(e))){var o=t,a=n(o,4),c=a[1],u=a[2],l=a[3];if(c=parseInt(c,10),c in r){if(0===c)break}else r[c]=[u,l]}var d=[];for(c=0;c<r.length;++c){if(!(c in r))break;var p=n(r[c],2);u=p[0],l=p[1];l=f(l),u&&(l=unescape(l),0===c&&(l=h(l))),d.push(l)}return d.join("")}function f(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),r=0;r<t.length;++r){var n=t[r].indexOf('"');-1!==n&&(t[r]=t[r].slice(0,n),t.length=r+1),t[r]=t[r].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function h(e){var t=e.indexOf("'");if(-1===t)return e;var r=e.slice(0,t),n=e.slice(t+1),i=n.replace(/^[^']*'/,"");return c(r,i)}function d(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,r,n){if("q"===r||"Q"===r)return n=n.replace(/_/g," "),n=n.replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})),c(t,n);try{n=atob(n)}catch(i){}return c(t,n)}))}return""}Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var n=a(r(148)),i=r(1),o=r(166);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}var h=200,d=206;function p(e){var t=e.response;if("string"!==typeof t)return t;var r=(0,i.stringToBytes)(t);return r.buffer}var v=function(){function e(t,r){u(this,e),this.url=t,r=r||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||{},this.withCredentials=r.withCredentials||!1,this.getXhr=r.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return f(e,[{key:"requestRange",value:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[i];"undefined"!==typeof o&&t.setRequestHeader(i,o)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),n.expectedStatus=d):n.expectedStatus=h,t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r}},{key:"onProgress",value:function(e,t){var r=this.pendingRequests[e];r&&r.onProgress&&r.onProgress(t)}},{key:"onStateChange",value:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===n.status&&this.isHttp)r.onError&&r.onError(n.status);else{var i=n.status||h,o=i===h&&r.expectedStatus===d;if(o||i===r.expectedStatus){var a=p(n);if(i===d){var s=n.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);r.onDone({begin:parseInt(c[1],10),chunk:a})}else a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}else r.onError&&r.onError(n.status)}}}},{key:"hasPendingRequests",value:function(){for(var e in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),g=function(){function e(t){u(this,e),this._source=t,this._manager=new v(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new m(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new y(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}}]),e}();t.PDFNetworkStream=g;var m=function(){function e(t,r){u(this,e),this._manager=t;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}return f(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=function(e){return t.getResponseHeader(e)},n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(r),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(e)if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(e){var t=this._url,r=(0,o.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach((function(e){e.reject(r)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),e}(),y=function(){function e(t,r,n){u(this,e),this._manager=t;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}return f(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;if(this._requests.length>0){var r=this._requests.shift();r.resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=a(r(148)),i=r(1),o=r(166);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function h(e,t,r){return{method:"GET",headers:e,signal:r&&r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var d=function(){function e(t){u(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new p(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new v(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFFetchStream=d;var p=function(){function e(t){var r=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var n=t.source;for(var a in this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._headers=new Headers,this._stream.httpHeaders){var s=this._stream.httpHeaders[a];"undefined"!==typeof s&&this._headers.append(a,s)}var c=n.url;fetch(c,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,c);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=function(t){return e.headers.get(t)},n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),a=n.allowRangeRequests,s=n.suggestedLength;r._isRangeSupported=a,r._contentLength=s||r._contentLength,r._filename=(0,o.extractFilenameFromHeader)(t),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("Streaming is disabled."))}))["catch"](this._headersCapability.reject),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r,i,o;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(r).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),v=function(){function e(t,r,n){var a=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;for(var c in this._withCredentials=s.withCredentials||!1,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._headers=new Headers,this._stream.httpHeaders){var l=this._stream.httpHeaders[c];"undefined"!==typeof l&&this._headers.append(c,l)}this._headers.append("Range","bytes=".concat(r,"-").concat(n-1));var f=s.url;fetch(f,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,f);a._readCapability.resolve(),a._reader=e.body.getReader()})),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r,i,o;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(r).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}()}])}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"),r("62e4")(e))},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(I){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new R(n||[]);return o._invoke=k(e,r,a),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(I){return{type:"throw",arg:I}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==r&&n.call(w,o)&&(b=w);var A=y.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;function o(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function k(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return O()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?p:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var r=e[o];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){while(++i<e.length)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:O}}function O(){return{value:t,done:!0}}return m.prototype=A.constructor=y,y.constructor=m,m.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},S(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new x(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(A),c(A,s,"Generator"),A[o]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),o=r("0d3b"),a=r("6eeb"),s=r("e2cc"),c=r("d44e"),u=r("9ed3"),l=r("69f3"),f=r("19aa"),h=r("5135"),d=r("0366"),p=r("f5df"),v=r("825a"),g=r("861d"),m=r("7c73"),y=r("5c6c"),b=r("9a1f"),_=r("35a1"),w=r("b622"),A=i("fetch"),S=i("Headers"),x=w("iterator"),k="URLSearchParams",C=k+"Iterator",P=l.set,E=l.getterFor(k),R=l.getterFor(C),T=/\+/g,O=Array(4),I=function(e){return O[e-1]||(O[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},L=function(e){try{return decodeURIComponent(e)}catch(t){return e}},F=function(e){var t=e.replace(T," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace(I(r--),L);return t}},D=/[!'()~]|%20/g,j={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(e){return j[e]},N=function(e){return encodeURIComponent(e).replace(D,M)},U=function(e,t){if(t){var r,n,i=t.split("&"),o=0;while(o<i.length)r=i[o++],r.length&&(n=r.split("="),e.push({key:F(n.shift()),value:F(n.join("="))}))}},q=function(e){this.entries.length=0,U(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},W=u((function(e,t){P(this,{type:C,iterator:b(E(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),G=function(){f(this,G,k);var e,t,r,n,i,o,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(P(l,{type:k,entries:d,updateURL:function(){},updateSearchParams:q}),void 0!==u)if(g(u))if(e=_(u),"function"===typeof e){t=e.call(u),r=t.next;while(!(n=r.call(t)).done){if(i=b(v(n.value)),o=i.next,(a=o.call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}}else for(c in u)h(u,c)&&d.push({key:c,value:u[c]+""});else U(d,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},z=G.prototype;s(z,{append:function(e,t){B(arguments.length,2);var r=E(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){B(arguments.length,1);var t=E(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){B(arguments.length,1);for(var t=E(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){B(arguments.length,1);var t=E(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var r,n=E(this),i=n.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)r=i[c],r.key===a&&(o?i.splice(c--,1):(o=!0,r.value=s));o||i.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=E(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=E(this).entries,n=d(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new W(this,"keys")},values:function(){return new W(this,"values")},entries:function(){return new W(this,"entries")}},{enumerable:!0}),a(z,x,z.entries),a(z,"toString",(function(){var e,t=E(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(N(e.key)+"="+N(e.value));return r.join("&")}),{enumerable:!0}),c(G,k),n({global:!0,forced:!o},{URLSearchParams:G}),o||"function"!=typeof A||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(r=t.body,p(r)===k&&(n=t.headers?new S(t.headers):new S,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:y(0,String(r)),headers:y(0,n)}))),i.push(t)),A.apply(this,i)}}),e.exports={URLSearchParams:G,getState:E}},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),o=r("e8b5"),a=r("861d"),s=r("7b0b"),c=r("50c4"),u=r("8418"),l=r("65f0"),f=r("1dde"),h=r("b622"),d=r("2d00"),p=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=d>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!m||!y;n({target:"Array",proto:!0,forced:_},{concat:function(e){var t,r,n,i,o,a=s(this),f=l(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?a:arguments[t],b(o)){if(i=c(o.length),h+i>v)throw TypeError(g);for(r=0;r<i;r++,h++)r in o&&u(f,h,o[r])}else{if(h>=v)throw TypeError(g);u(f,h++,o)}return f.length=h,f}})},"9a0c":function(e,t,r){var n=r("342f");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9a8c":function(e,t,r){"use strict";var n=r("ebb5"),i=r("145e"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("copyWithin",(function(e,t){return i.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9b37":function(e,t,r){"use strict";r("2a90")},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){throw i(e),a}}},"9bf2":function(e,t,r){var n=r("83ab"),i=r("0cfb"),o=r("825a"),a=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),o=r("5c6c"),a=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,u,!1,!0),s[u]=c,e}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a046:function(e,t,r){var n=r("1652");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("4d6d7015",n,!0,{sourceMap:!1,shadowMode:!1})},a078:function(e,t,r){var n=r("7b0b"),i=r("50c4"),o=r("35a1"),a=r("e95a"),s=r("0366"),c=r("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,r,u,l,f,h,d=n(e),p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=o(d);if(void 0!=m&&!a(m)){f=m.call(d),h=f.next,d=[];while(!(l=h.call(f)).done)d.push(l.value)}for(g&&p>2&&(v=s(v,arguments[2],2)),r=i(d.length),u=new(c(this))(r),t=0;r>t;t++)u[t]=g?v(d[t],t):d[t];return u}},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("44ad"),o=r("fc6a"),a=r("a640"),s=[].join,c=i!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:c||!u},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("23cb"),o=r("a691"),a=r("50c4"),s=r("7b0b"),c=r("65f0"),u=r("8418"),l=r("1dde"),f=r("ae40"),h=l("splice"),d=f("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,v=Math.min,g=9007199254740991,m="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!h||!d},{splice:function(e,t){var r,n,l,f,h,d,y=s(this),b=a(y.length),_=i(e,b),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=b-_):(r=w-2,n=v(p(o(t),0),b-_)),b+r-n>g)throw TypeError(m);for(l=c(y,n),f=0;f<n;f++)h=_+f,h in y&&u(l,f,y[h]);if(l.length=n,r<n){for(f=_;f<b-n;f++)h=f+n,d=f+r,h in y?y[d]=y[h]:delete y[d];for(f=b;f>b-n+r;f--)delete y[f-1]}else if(r>n)for(f=b-n;f>_;f--)h=f+n-1,d=f+r-1,h in y?y[d]=y[h]:delete y[d];for(f=0;f<r;f++)y[f+_]=arguments[f+2];return y.length=b-n+r,l}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("d066"),a=r("c430"),s=r("83ab"),c=r("4930"),u=r("fdbf"),l=r("d039"),f=r("5135"),h=r("e8b5"),d=r("861d"),p=r("825a"),v=r("7b0b"),g=r("fc6a"),m=r("c04e"),y=r("5c6c"),b=r("7c73"),_=r("df75"),w=r("241c"),A=r("057f"),S=r("7418"),x=r("06cf"),k=r("9bf2"),C=r("d1e7"),P=r("9112"),E=r("6eeb"),R=r("5692"),T=r("f772"),O=r("d012"),I=r("90e3"),L=r("b622"),F=r("e538"),D=r("746f"),j=r("d44e"),M=r("69f3"),N=r("b727").forEach,U=T("hidden"),q="Symbol",B="prototype",W=L("toPrimitive"),G=M.set,z=M.getterFor(q),Y=Object[B],H=i.Symbol,X=o("JSON","stringify"),V=x.f,Q=k.f,K=A.f,J=C.f,Z=R("symbols"),$=R("op-symbols"),ee=R("string-to-symbol-registry"),te=R("symbol-to-string-registry"),re=R("wks"),ne=i.QObject,ie=!ne||!ne[B]||!ne[B].findChild,oe=s&&l((function(){return 7!=b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=V(Y,t);n&&delete Y[t],Q(e,t,r),n&&e!==Y&&Q(Y,t,n)}:Q,ae=function(e,t){var r=Z[e]=b(H[B]);return G(r,{type:q,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ce=function(e,t,r){e===Y&&ce($,t,r),p(e);var n=m(t,!0);return p(r),f(Z,n)?(r.enumerable?(f(e,U)&&e[U][n]&&(e[U][n]=!1),r=b(r,{enumerable:y(0,!1)})):(f(e,U)||Q(e,U,y(1,{})),e[U][n]=!0),oe(e,n,r)):Q(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=_(r).concat(pe(r));return N(n,(function(t){s&&!fe.call(r,t)||ce(e,t,r[t])})),e},le=function(e,t){return void 0===t?b(e):ue(b(e),t)},fe=function(e){var t=m(e,!0),r=J.call(this,t);return!(this===Y&&f(Z,t)&&!f($,t))&&(!(r||!f(this,t)||!f(Z,t)||f(this,U)&&this[U][t])||r)},he=function(e,t){var r=g(e),n=m(t,!0);if(r!==Y||!f(Z,n)||f($,n)){var i=V(r,n);return!i||!f(Z,n)||f(r,U)&&r[U][n]||(i.enumerable=!0),i}},de=function(e){var t=K(g(e)),r=[];return N(t,(function(e){f(Z,e)||f(O,e)||r.push(e)})),r},pe=function(e){var t=e===Y,r=K(t?$:g(e)),n=[];return N(r,(function(e){!f(Z,e)||t&&!f(Y,e)||n.push(Z[e])})),n};if(c||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),r=function(e){this===Y&&r.call($,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),oe(this,t,y(1,e))};return s&&ie&&oe(Y,t,{configurable:!0,set:r}),ae(t,e)},E(H[B],"toString",(function(){return z(this).tag})),E(H,"withoutSetter",(function(e){return ae(I(e),e)})),C.f=fe,k.f=ce,x.f=he,w.f=A.f=de,S.f=pe,F.f=function(e){return ae(L(e),e)},s&&(Q(H[B],"description",{configurable:!0,get:function(){return z(this).description}}),a||E(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(_(re),(function(e){D(e)})),n({target:q,stat:!0,forced:!c},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var r=H(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:le,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:l((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(v(e))}}),X){var ve=!c||l((function(){var e=H();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}));n({target:"JSON",stat:!0,forced:ve},{stringify:function(e,t,r){var n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t,(d(t)||void 0!==e)&&!se(e))return h(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),i[1]=t,X.apply(null,i)}})}H[B][W]||P(H[B],W,H[B].valueOf),j(H,q),O[U]=!0},a623:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").every,o=r("a640"),a=r("ae40"),s=o("every"),c=a("every");n({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),o=r("1c7e"),a=!o((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a676:function(e,t,r){var n=r("54d1");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("37e73bba",n,!0,{sourceMap:!1,shadowMode:!1})},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},a79d:function(e,t,r){"use strict";var n=r("23e7"),i=r("c430"),o=r("fea9"),a=r("d039"),s=r("d066"),c=r("4840"),u=r("cdf9"),l=r("6eeb"),f=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));n({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),i||"function"!=typeof o||o.prototype["finally"]||l(o.prototype,"finally",s("Promise").prototype["finally"])},a975:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").every,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},a9e3:function(e,t,r){"use strict";var n=r("83ab"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("5135"),c=r("c6b6"),u=r("7156"),l=r("c04e"),f=r("d039"),h=r("7c73"),d=r("241c").f,p=r("06cf").f,v=r("9bf2").f,g=r("58a8").trim,m="Number",y=i[m],b=y.prototype,_=c(h(b))==m,w=function(e){var t,r,n,i,o,a,s,c,u=l(e,!1);if("string"==typeof u&&u.length>2)if(u=g(u),t=u.charCodeAt(0),43===t||45===t){if(r=u.charCodeAt(2),88===r||120===r)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(c=o.charCodeAt(s),c<48||c>i)return NaN;return parseInt(o,n)}return+u};if(o(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var A,S=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof S&&(_?f((function(){b.valueOf.call(r)})):c(r)!=m)?u(new y(w(t)),r,S):w(t)},x=n?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;x.length>k;k++)s(y,A=x[k])&&!s(S,A)&&v(S,A,p(y,A));S.prototype=b,b.constructor=S,a(i,m,S)}},ab13:function(e,t,r){var n=r("b622"),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},abcd:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".el-dialog[data-v-7c80f08a]{border-radius:5px;background:#fff;box-shadow:0 5px 10px 0 rgba(0,0,0,.05);border-radius:10px;overflow:hidden}.discard-flow[data-v-7c80f08a]{margin-top:25px;border-top:1px dashed #c9c9c9}.discard-flow__title[data-v-7c80f08a]{margin-top:13px;font-size:16px;color:#c9c9c9;line-height:22px}.discard-flow__title.acitve[data-v-7c80f08a]{color:#474d55}.discard-flow__list[data-v-7c80f08a]{margin-top:4px;font-size:13px;color:#999;line-height:20px}.discard-flow .words[data-v-7c80f08a]{margin-right:30px;color:#101010}.discard-flow .words[data-v-7c80f08a]:last-child{margin:0}.remark-wrapper[data-v-7c80f08a]{margin-top:20px}.remark-wrapper .remark[data-v-7c80f08a]{height:64px}",""]),e.exports=t},ac1f:function(e,t,r){"use strict";var n=r("23e7"),i=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},acac:function(e,t,r){"use strict";var n=r("e2cc"),i=r("f183").getWeakData,o=r("825a"),a=r("861d"),s=r("19aa"),c=r("2266"),u=r("b727"),l=r("5135"),f=r("69f3"),h=f.set,d=f.getterFor,p=u.find,v=u.findIndex,g=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,u){var f=e((function(e,n){s(e,f,t),h(e,{type:t,id:g++,frozen:void 0}),void 0!=n&&c(n,e[u],{that:e,AS_ENTRIES:r})})),p=d(t),v=function(e,t,r){var n=p(e),a=i(o(t),!0);return!0===a?m(n).set(t,r):a[n.id]=r,e};return n(f.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var r=i(e);return!0===r?m(t)["delete"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var r=i(e);return!0===r?m(t).has(e):r&&l(r,t.id)}}),n(f.prototype,r?{get:function(e){var t=p(this);if(a(e)){var r=i(e);return!0===r?m(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},acd8:function(e,t,r){var n=r("23e7"),i=r("7e12");n({global:!0,forced:parseFloat!=i},{parseFloat:i})},ace4:function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),o=r("621a"),a=r("825a"),s=r("23cb"),c=r("50c4"),u=r("4840"),l=o.ArrayBuffer,f=o.DataView,h=l.prototype.slice,d=i((function(){return!new l(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:d},{slice:function(e,t){if(void 0!==h&&void 0===t)return h.call(a(this),e);var r=a(this).byteLength,n=s(e,r),i=s(void 0===t?r:t,r),o=new(u(this,l))(c(i-n)),d=new f(this),p=new f(o),v=0;while(n<i)p.setUint8(v++,d.getUint8(n++));return o}})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},adf8:function(e,t,r){e.exports=r.p+"fonts/iconfont.1a79c8ea.eot"},ae40:function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var r=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,f=o(t,1)?t[1]:void 0;return s[e]=!!r&&!i((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,r.call(e,l,f)}))}},ae93:function(e,t,r){"use strict";var n,i,o,a=r("d039"),s=r("e163"),c=r("9112"),u=r("5135"),l=r("b622"),f=r("c430"),h=l("iterator"),d=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=s(s(o)),i!==Object.prototype&&(n=i)):d=!0);var v=void 0==n||a((function(){var e={};return n[h].call(e)!==e}));v&&(n={}),f&&!v||u(n,h)||c(n,h,p),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},af03:function(e,t,r){var n=r("d039");e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},b041:function(e,t,r){"use strict";var n=r("00ee"),i=r("f5df");e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),i=r("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,c="name";n&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b352:function(e,t,r){var n=r("30ea");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("634cd40a",n,!0,{sourceMap:!1,shadowMode:!1})},b383:function(e,t,r){"use strict";t.decode=t.parse=r("91dd"),t.encode=t.stringify=r("e099")},b39a:function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),o=r("d039"),a=n.Int8Array,s=i.aTypedArray,c=i.exportTypedArrayMethod,u=[].toLocaleString,l=[].slice,f=!!a&&o((function(){u.call(new a(1))})),h=o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])}));c("toLocaleString",(function(){return u.apply(f?l.call(s(this)):s(this),arguments)}),h)},b420:function(e,t,r){var n=r("23e7"),i=r("621a"),o=r("a981");n({global:!0,forced:!o},{DataView:i.DataView})},b575:function(e,t,r){var n,i,o,a,s,c,u,l,f=r("da84"),h=r("06cf").f,d=r("2cf4").set,p=r("1cdc"),v=r("a4b4"),g=r("605d"),m=f.MutationObserver||f.WebKitMutationObserver,y=f.document,b=f.process,_=f.Promise,w=h(f,"queueMicrotask"),A=w&&w.value;A||(n=function(){var e,t;g&&(e=b.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},p||g||v||!m||!y?_&&_.resolve?(u=_.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=g?function(){b.nextTick(n)}:function(){d.call(f,n)}:(s=!0,c=y.createTextNode(""),new m(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=A||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},b622:function(e,t,r){var n=r("da84"),i=r("5692"),o=r("5135"),a=r("90e3"),s=r("4930"),c=r("fdbf"),u=i("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},b636:function(e,t,r){var n=r("746f");n("asyncIterator")},b639:function(e,t,r){"use strict";(function(e){
24
+ */(function(e,r){"object"===u(t)&&"object"===u(o)?o.exports=r():(s=[],a=r,c="function"===typeof a?a.apply(t,s):a,void 0===c||(o.exports=c))})(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===u(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";var n=r(1),i=r(147),o=r(162),a=r(163),s=r(151),c=r(164),u=r(156),l=r(153),f=r(4);if(f()){var h=r(165).PDFNodeStream;i.setPDFNetworkStreamFactory((function(e){return new h(e)}))}else{var d,p=r(168).PDFNetworkStream;s.isFetchSupported()&&(d=r(169).PDFFetchStream),i.setPDFNetworkStreamFactory((function(e){return d&&s.isValidFetchUrl(e.url)?new d(e):new p(e)}))}t.build=i.build,t.version=i.version,t.getDocument=i.getDocument,t.LoopbackPort=i.LoopbackPort,t.PDFDataRangeTransport=i.PDFDataRangeTransport,t.PDFWorker=i.PDFWorker,t.renderTextLayer=o.renderTextLayer,t.AnnotationLayer=a.AnnotationLayer,t.createPromiseCapability=n.createPromiseCapability,t.PasswordResponses=n.PasswordResponses,t.InvalidPDFException=n.InvalidPDFException,t.MissingPDFException=n.MissingPDFException,t.SVGGraphics=c.SVGGraphics,t.NativeImageDecoding=n.NativeImageDecoding,t.CMapCompressionType=n.CMapCompressionType,t.PermissionFlag=n.PermissionFlag,t.UnexpectedResponseException=n.UnexpectedResponseException,t.OPS=n.OPS,t.VerbosityLevel=n.VerbosityLevel,t.UNSUPPORTED_FEATURES=n.UNSUPPORTED_FEATURES,t.createValidAbsoluteUrl=n.createValidAbsoluteUrl,t.createObjectURL=n.createObjectURL,t.removeNullCharacters=n.removeNullCharacters,t.shadow=n.shadow,t.Util=n.Util,t.ReadableStream=n.ReadableStream,t.URL=n.URL,t.RenderingCancelledException=s.RenderingCancelledException,t.getFilenameFromUrl=s.getFilenameFromUrl,t.LinkTarget=s.LinkTarget,t.addLinkAttributes=s.addLinkAttributes,t.loadScript=s.loadScript,t.PDFDateString=s.PDFDateString,t.GlobalWorkerOptions=u.GlobalWorkerOptions,t.apiCompatibilityParams=l.apiCompatibilityParams},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=H,t.arraysToBytes=X,t.assert=T,t.bytesToString=z,t.createPromiseCapability=de,t.getVerbosityLevel=C,t.info=P,t.isArrayBuffer=le,t.isArrayEqual=fe,t.isBool=se,t.isEmptyObj=ae,t.isNum=ce,t.isString=ue,t.isSpace=he,t.isSameOrigin=O,t.createValidAbsoluteUrl=L,t.isLittleEndian=$,t.isEvalSupported=ee,t.log2=Q,t.readInt8=K,t.readUint16=J,t.readUint32=Z,t.removeNullCharacters=G,t.setVerbosityLevel=k,t.shadow=F,t.string32=V,t.stringToBytes=Y,t.stringToPDFString=ne,t.stringToUTF8String=ie,t.utf8StringToString=oe,t.warn=E,t.unreachable=R,Object.defineProperty(t,"ReadableStream",{enumerable:!0,get:function(){return n.ReadableStream}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return i.URL}}),t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.NativeImageDecoding=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=void 0,r(2);var n=r(143),i=r(145);function o(e){return o="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},o(e)}var a=[1,0,0,1,0,0];t.IDENTITY_MATRIX=a;var s=[.001,0,0,.001,0,0];t.FONT_IDENTITY_MATRIX=s;var c={NONE:"none",DECODE:"decode",DISPLAY:"display"};t.NativeImageDecoding=c;var l={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.PermissionFlag=l;var f={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.TextRenderingMode=f;var h={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.ImageKind=h;var d={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationType=d;var p={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFlag=p;var v={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationFieldFlag=v;var g={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationBorderStyleType=g;var m={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9};t.StreamType=m;var y={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};t.FontType=y;var b={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=b;var _={NONE:0,BINARY:1,STREAM:2};t.CMapCompressionType=_;var w={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.OPS=w;var A={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};t.UNSUPPORTED_FEATURES=A;var S={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};t.PasswordResponses=S;var x=b.WARNINGS;function k(e){Number.isInteger(e)&&(x=e)}function C(){return x}function P(e){x>=b.INFOS&&console.log("Info: "+e)}function E(e){x>=b.WARNINGS&&console.log("Warning: "+e)}function R(e){throw new Error(e)}function T(e,t){e||R(t)}function O(e,t){try{var r=new i.URL(e);if(!r.origin||"null"===r.origin)return!1}catch(o){return!1}var n=new i.URL(t,r);return r.origin===n.origin}function I(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function L(e,t){if(!e)return null;try{var r=t?new i.URL(e,t):new i.URL(e);if(I(r))return r}catch(n){}return null}function F(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var D=function(){function e(e,t){this.name="PasswordException",this.message=e,this.code=t}return e.prototype=new Error,e.constructor=e,e}();t.PasswordException=D;var j=function(){function e(e,t){this.name="UnknownErrorException",this.message=e,this.details=t}return e.prototype=new Error,e.constructor=e,e}();t.UnknownErrorException=j;var M=function(){function e(e){this.name="InvalidPDFException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.InvalidPDFException=M;var N=function(){function e(e){this.name="MissingPDFException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.MissingPDFException=N;var U=function(){function e(e,t){this.name="UnexpectedResponseException",this.message=e,this.status=t}return e.prototype=new Error,e.constructor=e,e}();t.UnexpectedResponseException=U;var q=function(){function e(e){this.message=e}return e.prototype=new Error,e.prototype.name="FormatError",e.constructor=e,e}();t.FormatError=q;var B=function(){function e(e){this.name="AbortException",this.message=e}return e.prototype=new Error,e.constructor=e,e}();t.AbortException=B;var W=/\x00/g;function G(e){return"string"!==typeof e?(E("The argument for removeNullCharacters must be a string."),e):e.replace(W,"")}function z(e){T(null!==e&&"object"===o(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],i=0;i<t;i+=r){var a=Math.min(i+r,t),s=e.subarray(i,a);n.push(String.fromCharCode.apply(null,s))}return n.join("")}function Y(e){T("string"===typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function H(e){return void 0!==e.length?e.length:(T(void 0!==e.byteLength),e.byteLength)}function X(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,n,i=0,o=e.length;for(t=0;t<o;t++)r=e[t],n=H(r),i+=n;var a=0,s=new Uint8Array(i);for(t=0;t<o;t++)r=e[t],r instanceof Uint8Array||(r="string"===typeof r?Y(r):new Uint8Array(r)),n=r.byteLength,s.set(r,a),a+=n;return s}function V(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function Q(e){return e<=0?0:Math.ceil(Math.log2(e))}function K(e,t){return e[t]<<24>>24}function J(e,t){return e[t]<<8|e[t+1]}function Z(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function $(){var e=new Uint8Array(4);e[0]=1;var t=new Uint32Array(e.buffer,0,1);return 1===t[0]}function ee(){try{return new Function(""),!0}catch(e){return!1}}var te=function(){function e(){}var t=["rgb(",0,",",0,",",0,")"];return e.makeCssRgb=function(e,r,n){return t[1]=e,t[3]=r,t[5]=n,t.join("")},e.transform=function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]},e.applyTransform=function(e,t){var r=e[0]*t[0]+e[1]*t[2]+t[4],n=e[0]*t[1]+e[1]*t[3]+t[5];return[r,n]},e.applyInverseTransform=function(e,t){var r=t[0]*t[3]-t[1]*t[2],n=(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,i=(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r;return[n,i]},e.getAxialAlignedBoundingBox=function(t,r){var n=e.applyTransform(t,r),i=e.applyTransform(t.slice(2,4),r),o=e.applyTransform([t[0],t[3]],r),a=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],o[0],a[0]),Math.min(n[1],i[1],o[1],a[1]),Math.max(n[0],i[0],o[0],a[0]),Math.max(n[1],i[1],o[1],a[1])]},e.inverseTransform=function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]},e.apply3dTransform=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]},e.singularValueDecompose2dScale=function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],a=(r+o)/2,s=Math.sqrt((r+o)*(r+o)-4*(r*o-i*n))/2,c=a+s||1,u=a-s||1;return[Math.sqrt(c),Math.sqrt(u)]},e.normalizeRect=function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t},e.intersect=function(t,r){function n(e,t){return e-t}var i=[t[0],t[2],r[0],r[2]].sort(n),o=[t[1],t[3],r[1],r[3]].sort(n),a=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),(i[0]===t[0]&&i[1]===r[0]||i[0]===r[0]&&i[1]===t[0])&&(a[0]=i[1],a[2]=i[2],(o[0]===t[1]&&o[1]===r[1]||o[0]===r[1]&&o[1]===t[1])&&(a[1]=o[1],a[3]=o[2],a))},e}();t.Util=te;var re=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ne(e){var t,r=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)n.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));else for(t=0;t<r;++t){var i=re[e.charCodeAt(t)];n.push(i?String.fromCharCode(i):e.charAt(t))}return n.join("")}function ie(e){return decodeURIComponent(escape(e))}function oe(e){return unescape(encodeURIComponent(e))}function ae(e){for(var t in e)return!1;return!0}function se(e){return"boolean"===typeof e}function ce(e){return"number"===typeof e}function ue(e){return"string"===typeof e}function le(e){return"object"===o(e)&&null!==e&&void 0!==e.byteLength}function fe(e,t){return e.length===t.length&&e.every((function(e,r){return e===t[r]}))}function he(e){return 32===e||9===e||13===e||10===e}function de(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,n){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,n(e)}})),e}var pe=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&i.URL.createObjectURL){var o=new Blob([t],{type:r});return i.URL.createObjectURL(o)}for(var a="data:"+r+";base64,",s=0,c=t.length;s<c;s+=3){var u=255&t[s],l=255&t[s+1],f=255&t[s+2],h=u>>2,d=(3&u)<<4|l>>4,p=s+1<c?(15&l)<<2|f>>6:64,v=s+2<c?63&f:64;a+=e[h]+e[d]+e[p]+e[v]}return a}}();t.createObjectURL=pe},function(t,r,n){"use strict";function i(e){return i="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},i(e)}var o=n(3);if(!o._pdfjsCompatibilityChecked){o._pdfjsCompatibilityChecked=!0;var a=n(4),s="object"===("undefined"===typeof window?"undefined":i(window))&&"object"===("undefined"===typeof document?"undefined":i(document));(function(){!o.btoa&&a()&&(o.btoa=function(t){return e.from(t,"binary").toString("base64")})})(),function(){!o.atob&&a()&&(o.atob=function(t){return e.from(t,"base64").toString("binary")})}(),function(){s&&"undefined"===typeof Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function(){if(s&&!a()){var e=document.createElement("div");if(e.classList.add("testOne","testTwo"),!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,r=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];t.call(this,a)}},DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=0,o=t;i<o.length;i++){var a=o[i];r.call(this,a)}}}}}(),function(){if(s&&!a()){var e=document.createElement("div");!1!==e.classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t})}}(),function(){String.prototype.startsWith||n(5)}(),function(){String.prototype.endsWith||n(36)}(),function(){String.prototype.includes||n(38)}(),function(){Array.prototype.includes||n(40)}(),function(){Array.from||n(47)}(),function(){Object.assign||n(70)}(),function(){Math.log2||(Math.log2=n(75))}(),function(){Number.isNaN||(Number.isNaN=n(77))}(),function(){Number.isInteger||(Number.isInteger=n(79))}(),function(){o.Promise&&o.Promise.prototype&&o.Promise.prototype["finally"]||(o.Promise=n(82))}(),function(){o.WeakMap||(o.WeakMap=n(102))}(),function(){o.WeakSet||(o.WeakSet=n(119))}(),function(){String.codePointAt||(String.codePointAt=n(123))}(),function(){String.fromCodePoint||(String.fromCodePoint=n(125))}(),function(){o.Symbol||n(127)}(),function(){String.prototype.padStart||n(134)}(),function(){String.prototype.padEnd||n(138)}(),function(){Object.values||(Object.values=n(140))}()}},function(e,t,r){"use strict";e.exports="undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof n&&n.Math===Math?n:"undefined"!==typeof self&&self.Math===Math?self:{}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}e.exports=function(){return"object"===("undefined"===typeof i?"undefined":n(i))&&i+""==="[object process]"&&!i.versions["nw"]&&!i.versions["electron"]}},function(e,t,r){"use strict";r(6),e.exports=r(9).String.startsWith},function(e,t,r){"use strict";var n=r(7),i=r(28),o=r(30),a="startsWith",s=""[a];n(n.P+n.F*r(35)(a),"String",{startsWith:function(e){var t=o(this,e,a),r=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return s?s.call(t,n,r):t.slice(r,r+n.length)===n}})},function(e,t,r){"use strict";var n=r(8),i=r(9),o=r(10),a=r(20),s=r(26),c="prototype",u=function e(t,r,u){var l,f,h,d,p=t&e.F,v=t&e.G,g=t&e.S,m=t&e.P,y=t&e.B,b=v?n:g?n[r]||(n[r]={}):(n[r]||{})[c],_=v?i:i[r]||(i[r]={}),w=_[c]||(_[c]={});for(l in v&&(u=r),u)f=!p&&b&&void 0!==b[l],h=(f?b:u)[l],d=y&&f?s(h,n):m&&"function"==typeof h?s(Function.call,h):h,b&&a(b,l,h,t&e.U),_[l]!=h&&o(_,l,d),m&&w[l]!=h&&(w[l]=h)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){"use strict";var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,r){"use strict";var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,r){"use strict";var n=r(11),i=r(19);e.exports=r(15)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(12),i=r(14),o=r(18),a=Object.defineProperty;t.f=r(15)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}e.exports=function(e){return"object"===n(e)?null!==e:"function"===typeof e}},function(e,t,r){"use strict";e.exports=!r(15)&&!r(16)((function(){return 7!=Object.defineProperty(r(17)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";e.exports=!r(16)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,r){"use strict";var n=r(13),i=r(8).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(8),i=r(10),o=r(21),a=r(22)("src"),s=r(23),c="toString",u=(""+s).split(c);r(9).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,a)||i(r,a,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,r){"use strict";var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,r){"use strict";var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,r){"use strict";e.exports=r(24)("native-function-to-string",Function.toString)},function(e,t,r){"use strict";var n=r(9),i=r(8),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(25)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(27);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(29),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,r){"use strict";var n=r(31),i=r(34);e.exports=function(e,t,r){if(n(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(e))}},function(e,t,r){"use strict";var n=r(13),i=r(32),o=r(33)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,r){"use strict";var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,r){"use strict";var n=r(24)("wks"),i=r(22),o=r(8).Symbol,a="function"==typeof o,s=e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=n},function(e,t,r){"use strict";e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(33)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(i){}}return!0}},function(e,t,r){"use strict";r(37),e.exports=r(9).String.endsWith},function(e,t,r){"use strict";var n=r(7),i=r(28),o=r(30),a="endsWith",s=""[a];n(n.P+n.F*r(35)(a),"String",{endsWith:function(e){var t=o(this,e,a),r=arguments.length>1?arguments[1]:void 0,n=i(t.length),c=void 0===r?n:Math.min(i(r),n),u=String(e);return s?s.call(t,u,c):t.slice(c-u.length,c)===u}})},function(e,t,r){"use strict";r(39),e.exports=r(9).String.includes},function(e,t,r){"use strict";var n=r(7),i=r(30),o="includes";n(n.P+n.F*r(35)(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){"use strict";r(41),e.exports=r(9).Array.includes},function(e,t,r){"use strict";var n=r(7),i=r(42)(!0);n(n.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(46)("includes")},function(e,t,r){"use strict";var n=r(43),i=r(28),o=r(45);e.exports=function(e){return function(t,r,a){var s,c=n(t),u=i(c.length),l=o(a,u);if(e&&r!=r){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){"use strict";var n=r(44),i=r(34);e.exports=function(e){return n(i(e))}},function(e,t,r){"use strict";var n=r(32);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){"use strict";var n=r(29),i=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},function(e,t,r){"use strict";var n=r(33)("unscopables"),i=Array.prototype;void 0==i[n]&&r(10)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){"use strict";r(48),r(63),e.exports=r(9).Array.from},function(e,t,r){"use strict";var n=r(49)(!0);r(50)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){"use strict";var n=r(29),i=r(34);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,r){"use strict";var n=r(25),i=r(7),o=r(20),a=r(10),s=r(51),c=r(52),u=r(60),l=r(61),f=r(33)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};e.exports=function(e,t,r,m,y,b,_){c(r,t,m);var w,A,S,x=function(e){if(!h&&e in E)return E[e];switch(e){case p:return function(){return new r(this,e)};case v:return function(){return new r(this,e)}}return function(){return new r(this,e)}},k=t+" Iterator",C=y==v,P=!1,E=e.prototype,R=E[f]||E[d]||y&&E[y],T=R||x(y),O=y?C?x("entries"):T:void 0,I="Array"==t&&E.entries||R;if(I&&(S=l(I.call(new e)),S!==Object.prototype&&S.next&&(u(S,k,!0),n||"function"==typeof S[f]||a(S,f,g))),C&&R&&R.name!==v&&(P=!0,T=function(){return R.call(this)}),n&&!_||!h&&!P&&E[f]||a(E,f,T),s[t]=T,s[k]=g,y)if(w={values:C?T:x(v),keys:b?T:x(p),entries:O},_)for(A in w)A in E||o(E,A,w[A]);else i(i.P+i.F*(h||P),t,w);return w}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(53),i=r(19),o=r(60),a={};r(10)(a,r(33)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){"use strict";var n=r(12),i=r(54),o=r(58),a=r(57)("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=r(17)("iframe"),n=o.length,i="<",a=">";t.style.display="none",r(59).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(n--)delete u[c][o[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[c]=n(e),r=new s,s[c]=null,r[a]=e):r=u(),void 0===t?r:i(r,t)}},function(e,t,r){"use strict";var n=r(11),i=r(12),o=r(55);e.exports=r(15)?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,c=0;while(s>c)n.f(e,r=a[c++],t[r]);return e}},function(e,t,r){"use strict";var n=r(56),i=r(58);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){"use strict";var n=r(21),i=r(43),o=r(42)(!1),a=r(57)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},function(e,t,r){"use strict";var n=r(24)("keys"),i=r(22);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){"use strict";e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){"use strict";var n=r(8).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(11).f,i=r(21),o=r(33)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){"use strict";var n=r(21),i=r(62),o=r(57)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){"use strict";var n=r(34);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";var n=r(26),i=r(7),o=r(62),a=r(64),s=r(65),c=r(28),u=r(66),l=r(67);i(i.S+i.F*!r(69)((function(e){Array.from(e)})),"Array",{from:function(e){var t,r,i,f,h=o(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(h);if(g&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(t=c(h.length),r=new d(t);t>m;m++)u(r,m,g?v(h[m],m):h[m]);else for(f=y.call(h),r=new d;!(i=f.next()).done;m++)u(r,m,g?a(f,v,[i.value,m],!0):i.value);return r.length=m,r}})},function(e,t,r){"use strict";var n=r(12);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e["return"];throw void 0!==o&&n(o.call(e)),a}}},function(e,t,r){"use strict";var n=r(51),i=r(33)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[i]===e)}},function(e,t,r){"use strict";var n=r(11),i=r(19);e.exports=function(e,t,r){t in e?n.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(68),i=r(33)("iterator"),o=r(51);e.exports=r(9).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){"use strict";var n=r(32),i=r(33)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(r){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),i))?r:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){"use strict";var n=r(33)("iterator"),i=!1;try{var o=[7][n]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},e(o)}catch(a){}return r}},function(e,t,r){"use strict";r(71),e.exports=r(9).Object.assign},function(e,t,r){"use strict";var n=r(7);n(n.S+n.F,"Object",{assign:r(72)})},function(e,t,r){"use strict";var n=r(15),i=r(55),o=r(73),a=r(74),s=r(62),c=r(44),u=Object.assign;e.exports=!u||r(16)((function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n}))?function(e,t){var r=s(e),u=arguments.length,l=1,f=o.f,h=a.f;while(u>l){var d,p=c(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,m=0;while(g>m)d=v[m++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:u},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";r(76),e.exports=r(9).Math.log2},function(e,t,r){"use strict";var n=r(7);n(n.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,r){"use strict";r(78),e.exports=r(9).Number.isNaN},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";r(80),e.exports=r(9).Number.isInteger},function(e,t,r){"use strict";var n=r(7);n(n.S,"Number",{isInteger:r(81)})},function(e,t,r){"use strict";var n=r(13),i=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&i(e)===e}},function(e,t,r){"use strict";r(83),r(48),r(84),r(87),r(100),r(101),e.exports=r(9).Promise},function(e,t,r){"use strict";var n=r(68),i={};i[r(33)("toStringTag")]="z",i+""!="[object z]"&&r(20)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},function(e,t,r){"use strict";for(var n=r(85),i=r(55),o=r(20),a=r(8),s=r(10),c=r(51),u=r(33),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v<p.length;v++){var g,m=p[v],y=d[m],b=a[m],_=b&&b.prototype;if(_&&(_[l]||s(_,l,h),_[f]||s(_,f,m),c[m]=h,y))for(g in n)_[g]||o(_,g,n[g],!0)}},function(e,t,r){"use strict";var n=r(46),i=r(86),o=r(51),a=r(43);e.exports=r(50)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,i,o,a,s=r(25),c=r(8),u=r(26),l=r(68),f=r(7),h=r(13),d=r(27),p=r(88),v=r(89),g=r(90),m=r(91).set,y=r(93)(),b=r(94),_=r(95),w=r(96),A=r(97),S="Promise",x=c.TypeError,k=c.process,C=k&&k.versions,P=C&&C.v8||"",E=c[S],R="process"==l(k),T=function(){},O=i=b.f,I=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[r(33)("species")]=function(e){e(T,T)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(n){}}(),L=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var r=e._c;y((function(){var n=e._v,i=1==e._s,o=0,a=function(t){var r,o,a,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&M(e),e._h=1),!0===s?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===t.promise?u(x("Promise-chain cycle")):(o=L(r))?o.call(r,c,u):c(r)):u(n)}catch(f){l&&!a&&l.exit(),u(f)}};while(r.length>o)a(r[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){m.call(c,(function(){var t,r,n,i=e._v,o=j(e);if(o&&(t=_((function(){R?k.emit("unhandledRejection",i,e):(r=c.onunhandledrejection)?r({promise:e,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)})),e._h=R||j(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){m.call(c,(function(){var t;R?k.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},U=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(r=L(t))?y((function(){var i={_w:n,_d:!1};try{r.call(t,u(e,i,1),u(N,i,1))}catch(o){N.call(i,o)}})):(n._v=t,n._s=1,F(n,!1))}catch(i){N.call({_w:n,_d:!1},i)}}};I||(E=function(e){p(this,E,S,"_h"),d(e),n.call(this);try{e(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(98)(E.prototype,{then:function(e,t){var r=O(g(this,E));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(U,e,1),this.reject=u(N,e,1)},b.f=O=function(e){return e===E||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!I,{Promise:E}),r(60)(E,S),r(99)(S),a=r(9)[S],f(f.S+f.F*!I,S,{reject:function(e){var t=O(this),r=t.reject;return r(e),t.promise}}),f(f.S+f.F*(s||!I),S,{resolve:function(e){return A(s&&this===a?E:this,e)}}),f(f.S+f.F*!(I&&r(69)((function(e){E.all(e)["catch"](T)}))),S,{all:function(e){var t=this,r=O(t),n=r.resolve,i=r.reject,o=_((function(){var r=[],o=0,a=1;v(e,!1,(function(e){var s=o++,c=!1;r.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,r[s]=e,--a||n(r))}),i)})),--a||n(r)}));return o.e&&i(o.v),r.promise},race:function(e){var t=this,r=O(t),n=r.reject,i=_((function(){v(e,!1,(function(e){t.resolve(e).then(r.resolve,n)}))}));return i.e&&n(i.v),r.promise}})},function(e,t,r){"use strict";e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){"use strict";var n=r(26),i=r(64),o=r(65),a=r(12),s=r(28),c=r(67),u={},l={},f=e.exports=function(e,t,r,f,h){var d,p,v,g,m=h?function(){return e}:c(e),y=n(r,f,t?2:1),b=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(d=s(e.length);d>b;b++)if(g=t?y(a(p=e[b])[0],p[1]):y(e[b]),g===u||g===l)return g}else for(v=m.call(e);!(p=v.next()).done;)if(g=i(v,y,p.value,t),g===u||g===l)return g};f.BREAK=u,f.RETURN=l},function(e,t,r){"use strict";var n=r(12),i=r(27),o=r(33)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[o])?t:i(r)}},function(e,t,r){"use strict";var n,i,o,a=r(26),s=r(92),c=r(59),u=r(17),l=r(8),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,m={},y="onreadystatechange",b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){b.call(e.data)};h&&d||(h=function(e){var t=[],r=1;while(arguments.length>r)t.push(arguments[r++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},n(g),g},d=function(e){delete m[e]},"process"==r(32)(f)?n=function(e){f.nextTick(a(b,e,1))}:v&&v.now?n=function(e){v.now(a(b,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,n=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:d}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){"use strict";var n=r(8),i=r(91).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==r(32)(a);e.exports=function(){var e,t,r,u=function(){var n,i;c&&(n=a.domain)&&n.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?r():t=void 0,o}}t=void 0,n&&n.enter()};if(c)r=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(u)}}else r=function(){i.call(n,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};t&&(t.next=i),e||(e=i,r()),t=i}}},function(e,t,r){"use strict";var n=r(27);function i(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)}e.exports.f=function(e){return new i(e)}},function(e,t,r){"use strict";e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},function(e,t,r){"use strict";var n=r(8),i=n.navigator;e.exports=i&&i.userAgent||""},function(e,t,r){"use strict";var n=r(12),i=r(13),o=r(94);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},function(e,t,r){"use strict";var n=r(20);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},function(e,t,r){"use strict";var n=r(8),i=r(11),o=r(15),a=r(33)("species");e.exports=function(e){var t=n[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(7),i=r(9),o=r(8),a=r(90),s=r(97);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then((function(){return r}))}:e,r?function(r){return s(t,e()).then((function(){throw r}))}:e)}})},function(e,t,r){"use strict";var n=r(7),i=r(94),o=r(95);n(n.S,"Promise",{try:function(e){var t=i.f(this),r=o(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";r(83),r(84),r(103),r(115),r(117),e.exports=r(9).WeakMap},function(e,t,r){"use strict";var n,i=r(8),o=r(104)(0),a=r(20),s=r(108),c=r(72),u=r(109),l=r(13),f=r(110),h=r(110),d=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",v=s.getWeak,g=Object.isExtensible,m=u.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(l(e)){var t=v(e);return!0===t?m(f(this,p)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,p),e,t)}},_=e.exports=r(111)(p,y,b,u,!0,!0);h&&d&&(n=u.getConstructor(y,p),c(n.prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=_.prototype,r=t[e];a(t,e,(function(t,i){if(l(t)&&!g(t)){this._f||(this._f=new n);var o=this._f[e](t,i);return"set"==e?this:o}return r.call(this,t,i)}))})))},function(e,t,r){"use strict";var n=r(26),i=r(44),o=r(62),a=r(28),s=r(105);e.exports=function(e,t){var r=1==e,c=2==e,u=3==e,l=4==e,f=6==e,h=5==e||f,d=t||s;return function(t,s,p){for(var v,g,m=o(t),y=i(m),b=n(s,p,3),_=a(y.length),w=0,A=r?d(t,_):c?d(t,0):void 0;_>w;w++)if((h||w in y)&&(v=y[w],g=b(v,w,m),e))if(r)A[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:A.push(v)}else if(l)return!1;return f?-1:u||l?l:A}}},function(e,t,r){"use strict";var n=r(106);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){"use strict";var n=r(13),i=r(107),o=r(33)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,r){"use strict";var n=r(32);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(22)("meta"),o=r(13),a=r(21),s=r(11).f,c=0,l=Object.isExtensible||function(){return!0},f=!r(16)((function(){return l(Object.preventExtensions({}))})),h=function(e){s(e,i,{value:{i:"O"+ ++c,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==n(e)?e:("string"==typeof e?"S":"P")+e;if(!a(e,i)){if(!l(e))return"F";if(!t)return"E";h(e)}return e[i].i},p=function(e,t){if(!a(e,i)){if(!l(e))return!0;if(!t)return!1;h(e)}return e[i].w},v=function(e){return f&&g.NEED&&l(e)&&!a(e,i)&&h(e),e},g=e.exports={KEY:i,NEED:!1,fastKey:d,getWeak:p,onFreeze:v}},function(e,t,r){"use strict";var n=r(98),i=r(108).getWeak,o=r(12),a=r(13),s=r(88),c=r(89),u=r(104),l=r(21),f=r(110),h=u(5),d=u(6),p=0,v=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},m=function(e,t){return h(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var r=m(this,e);r?r[1]=t:this.a.push([e,t])},delete:function(e){var t=d(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,o){var u=e((function(e,n){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,void 0!=n&&c(n,r,e[o],e)}));return n(u.prototype,{delete:function(e){if(!a(e))return!1;var r=i(e);return!0===r?v(f(this,t))["delete"](e):r&&l(r,this._i)&&delete r[this._i]},has:function(e){if(!a(e))return!1;var r=i(e);return!0===r?v(f(this,t)).has(e):r&&l(r,this._i)}}),u},def:function(e,t,r){var n=i(o(t),!0);return!0===n?v(e).set(t,r):n[e._i]=r,e},ufstore:v}},function(e,t,r){"use strict";var n=r(13);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,r){"use strict";var n=r(8),i=r(7),o=r(20),a=r(98),s=r(108),c=r(89),u=r(88),l=r(13),f=r(16),h=r(69),d=r(60),p=r(112);e.exports=function(e,t,r,v,g,m){var y=n[e],b=y,_=g?"set":"add",w=b&&b.prototype,A={},S=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(m&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof b&&(m||w.forEach&&!f((function(){(new b).entries().next()})))){var x=new b,k=x[_](m?{}:-0,1)!=x,C=f((function(){x.has(1)})),P=h((function(e){new b(e)})),E=!m&&f((function(){var e=new b,t=5;while(t--)e[_](t,t);return!e.has(-0)}));P||(b=t((function(t,r){u(t,b,e);var n=p(new y,t,b);return void 0!=r&&c(r,g,n[_],n),n})),b.prototype=w,w.constructor=b),(C||E)&&(S("delete"),S("has"),g&&S("get")),(E||k)&&S(_),m&&w.clear&&delete w.clear}else b=v.getConstructor(t,e,g,_),a(b.prototype,r),s.NEED=!0;return d(b,e),A[e]=b,i(i.G+i.W+i.F*(b!=y),A),m||v.setStrong(b,e,g),b}},function(e,t,r){"use strict";var n=r(13),i=r(113).set;e.exports=function(e,t,r){var o,a=t.constructor;return a!==r&&"function"==typeof a&&(o=a.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},function(e,t,r){"use strict";var n=r(13),i=r(12),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(26)(Function.call,r(114).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){"use strict";var n=r(74),i=r(19),o=r(43),a=r(18),s=r(21),c=r(14),u=Object.getOwnPropertyDescriptor;t.f=r(15)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";r(116)("WeakMap")},function(e,t,r){"use strict";var n=r(7);e.exports=function(e){n(n.S,e,{of:function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";r(118)("WeakMap")},function(e,t,r){"use strict";var n=r(7),i=r(27),o=r(26),a=r(89);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,c=arguments[1];return i(this),t=void 0!==c,t&&i(c),void 0==e?new this:(r=[],t?(n=0,s=o(c,arguments[2],2),a(e,!1,(function(e){r.push(s(e,n++))}))):a(e,!1,r.push,r),new this(r))}})}},function(e,t,r){"use strict";r(83),r(84),r(120),r(121),r(122),e.exports=r(9).WeakSet},function(e,t,r){"use strict";var n=r(109),i=r(110),o="WeakSet";r(111)(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return n.def(i(this,o),e,!0)}},n,!1,!0)},function(e,t,r){"use strict";r(116)("WeakSet")},function(e,t,r){"use strict";r(118)("WeakSet")},function(e,t,r){"use strict";r(124),e.exports=r(9).String.codePointAt},function(e,t,r){"use strict";var n=r(7),i=r(49)(!1);n(n.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,r){"use strict";r(126),e.exports=r(9).String.fromCodePoint},function(e,t,r){"use strict";var n=r(7),i=r(45),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},function(e,t,r){"use strict";r(128),r(83),e.exports=r(9).Symbol},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(8),o=r(21),a=r(15),s=r(7),c=r(20),l=r(108).KEY,f=r(16),h=r(24),d=r(60),p=r(22),v=r(33),g=r(129),m=r(130),y=r(131),b=r(107),_=r(12),w=r(13),A=r(62),S=r(43),x=r(18),k=r(19),C=r(53),P=r(132),E=r(114),R=r(73),T=r(11),O=r(55),I=E.f,L=T.f,F=P.f,D=i.Symbol,j=i.JSON,M=j&&j.stringify,N="prototype",U=v("_hidden"),q=v("toPrimitive"),B={}.propertyIsEnumerable,W=h("symbol-registry"),G=h("symbols"),z=h("op-symbols"),Y=Object[N],H="function"==typeof D&&!!R.f,X=i.QObject,V=!X||!X[N]||!X[N].findChild,Q=a&&f((function(){return 7!=C(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=I(Y,t);n&&delete Y[t],L(e,t,r),n&&e!==Y&&L(Y,t,n)}:L,K=function(e){var t=G[e]=C(D[N]);return t._k=e,t},J=H&&"symbol"==n(D.iterator)?function(e){return"symbol"==n(e)}:function(e){return e instanceof D},Z=function(e,t,r){return e===Y&&Z(z,t,r),_(e),t=x(t,!0),_(r),o(G,t)?(r.enumerable?(o(e,U)&&e[U][t]&&(e[U][t]=!1),r=C(r,{enumerable:k(0,!1)})):(o(e,U)||L(e,U,k(1,{})),e[U][t]=!0),Q(e,t,r)):L(e,t,r)},$=function(e,t){_(e);var r,n=y(t=S(t)),i=0,o=n.length;while(o>i)Z(e,r=n[i++],t[r]);return e},ee=function(e,t){return void 0===t?C(e):$(C(e),t)},te=function(e){var t=B.call(this,e=x(e,!0));return!(this===Y&&o(G,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(G,e)||o(this,U)&&this[U][e])||t)},re=function(e,t){if(e=S(e),t=x(t,!0),e!==Y||!o(G,t)||o(z,t)){var r=I(e,t);return!r||!o(G,t)||o(e,U)&&e[U][t]||(r.enumerable=!0),r}},ne=function(e){var t,r=F(S(e)),n=[],i=0;while(r.length>i)o(G,t=r[i++])||t==U||t==l||n.push(t);return n},ie=function(e){var t,r=e===Y,n=F(r?z:S(e)),i=[],a=0;while(n.length>a)!o(G,t=n[a++])||r&&!o(Y,t)||i.push(G[t]);return i};H||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(r){this===Y&&t.call(z,r),o(this,U)&&o(this[U],e)&&(this[U][e]=!1),Q(this,e,k(1,r))};return a&&V&&Q(Y,e,{configurable:!0,set:t}),K(e)},c(D[N],"toString",(function(){return this._k})),E.f=re,T.f=Z,r(133).f=P.f=ne,r(74).f=te,R.f=ie,a&&!r(25)&&c(Y,"propertyIsEnumerable",te,!0),g.f=function(e){return K(v(e))}),s(s.G+s.W+s.F*!H,{Symbol:D});for(var oe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ae=0;oe.length>ae;)v(oe[ae++]);for(var se=O(v.store),ce=0;se.length>ce;)m(se[ce++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return o(W,e+="")?W[e]:W[e]=D(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in W)if(W[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!H,"Object",{create:ee,defineProperty:Z,defineProperties:$,getOwnPropertyDescriptor:re,getOwnPropertyNames:ne,getOwnPropertySymbols:ie});var ue=f((function(){R.f(1)}));s(s.S+s.F*ue,"Object",{getOwnPropertySymbols:function(e){return R.f(A(e))}}),j&&s(s.S+s.F*(!H||f((function(){var e=D();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(w(t)||void 0!==e)&&!J(e))return b(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!J(t))return t}),n[1]=t,M.apply(j,n)}}),D[N][q]||r(10)(D[N],q,D[N].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,r){"use strict";t.f=r(33)},function(e,t,r){"use strict";var n=r(8),i=r(9),o=r(25),a=r(129),s=r(11).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){"use strict";var n=r(55),i=r(73),o=r(74);e.exports=function(e){var t=n(e),r=i.f;if(r){var a,s=r(e),c=o.f,u=0;while(s.length>u)c.call(e,a=s[u++])&&t.push(a)}return t}},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=r(43),o=r(133).f,a={}.toString,s="object"==("undefined"===typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?c(e):o(i(e))}},function(e,t,r){"use strict";var n=r(56),i=r(58).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){"use strict";r(135),e.exports=r(9).String.padStart},function(e,t,r){"use strict";var n=r(7),i=r(136),o=r(96),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,r){"use strict";var n=r(28),i=r(137),o=r(34);e.exports=function(e,t,r,a){var s=String(o(e)),c=s.length,u=void 0===r?" ":String(r),l=n(t);if(l<=c||""==u)return s;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},function(e,t,r){"use strict";var n=r(29),i=r(34);e.exports=function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},function(e,t,r){"use strict";r(139),e.exports=r(9).String.padEnd},function(e,t,r){"use strict";var n=r(7),i=r(136),o=r(96),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,r){"use strict";r(141),e.exports=r(9).Object.values},function(e,t,r){"use strict";var n=r(7),i=r(142)(!1);n(n.S,"Object",{values:function(e){return i(e)}})},function(e,t,r){"use strict";var n=r(15),i=r(55),o=r(43),a=r(74).f;e.exports=function(e){return function(t){var r,s=o(t),c=i(s),u=c.length,l=0,f=[];while(u>l)r=c[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}}},function(e,t,r){"use strict";var n=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),n=!0}catch(i){}t.ReadableStream=n?ReadableStream:r(144).ReadableStream},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}(function(e,t){for(var r in t)e[r]=t[r]})(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){var i="function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},o=r(1),a=o.assert;function s(e){return"string"===typeof e||"symbol"===("undefined"===typeof e?"undefined":i(e))}function c(e,t,r){if("function"!==typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}t.typeIsObject=function(e){return"object"===("undefined"===typeof e?"undefined":i(e))&&null!==e||"function"===typeof e},t.createDataProperty=function(e,r,n){a(t.typeIsObject(e)),Object.defineProperty(e,r,{value:n,writable:!0,enumerable:!0,configurable:!0})},t.createArrayFromList=function(e){return e.slice()},t.ArrayBufferCopy=function(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)},t.CreateIterResultObject=function(e,t){a("boolean"===typeof t);var r={};return Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),r},t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&(e!==1/0&&!(e<0))},t.InvokeOrNoop=function(e,t,r){a(void 0!==e),a(s(t)),a(Array.isArray(r));var n=e[t];if(void 0!==n)return c(n,e,r)},t.PromiseInvokeOrNoop=function(e,r,n){a(void 0!==e),a(s(r)),a(Array.isArray(n));try{return Promise.resolve(t.InvokeOrNoop(e,r,n))}catch(i){return Promise.reject(i)}},t.PromiseInvokeOrPerformFallback=function(e,t,r,n,i){a(void 0!==e),a(s(t)),a(Array.isArray(r)),a(Array.isArray(i));var o=void 0;try{o=e[t]}catch(u){return Promise.reject(u)}if(void 0===o)return n.apply(null,i);try{return Promise.resolve(c(o,e,r))}catch(l){return Promise.reject(l)}},t.TransferArrayBuffer=function(e){return e.slice()},t.ValidateAndNormalizeHighWaterMark=function(e){if(e=Number(e),Number.isNaN(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e},t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!==typeof e)throw new TypeError("size property of a queuing strategy must be a function");return r=t.ValidateAndNormalizeHighWaterMark(r),{size:e,highWaterMark:r}}},function(e,t,r){function n(e){e&&e.constructor===i&&setTimeout((function(){throw e}),0)}function i(e){this.name="AssertionError",this.message=e||"",this.stack=(new Error).stack}function o(e,t){if(!e)throw new i(t)}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,e.exports={rethrowAssertionErrorRejection:n,AssertionError:i,assert:o}},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(0),a=o.InvokeOrNoop,s=o.PromiseInvokeOrNoop,c=o.ValidateAndNormalizeQueuingStrategy,u=o.typeIsObject,l=r(1),f=l.assert,h=l.rethrowAssertionErrorRejection,d=r(3),p=d.DequeueValue,v=d.EnqueueValueWithSize,g=d.PeekQueueValue,m=d.ResetQueue,y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,o=r.highWaterMark,a=void 0===o?1:o;i(this,e),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1;var s=t.type;if(void 0!==s)throw new RangeError("Invalid type is specified");this._writableStreamController=new X(this,t,n,a),this._writableStreamController.__startSteps()}return n(e,[{key:"abort",value:function(e){return!1===_(this)?Promise.reject(oe("abort")):!0===w(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):A(this,e)}},{key:"getWriter",value:function(){if(!1===_(this))throw oe("getWriter");return b(this)}},{key:"locked",get:function(){if(!1===_(this))throw oe("locked");return w(this)}}]),e}();function b(e){return new M(e)}function _(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function w(e){return f(!0===_(e),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==e._writer}function A(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var n=new TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(n);f("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;"erroring"===r&&(i=!0,t=void 0);var o=new Promise((function(r,n){e._pendingAbortRequest={_resolve:r,_reject:n,_reason:t,_wasAlreadyErroring:i}}));return!1===i&&k(e,n),o}function S(e){f(!0===w(e)),f("writable"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._writeRequests.push(n)}));return t}function x(e,t){var r=e._state;"writable"!==r?(f("erroring"===r),C(e)):k(e,t)}function k(e,t){f(void 0===e._storedError,"stream._storedError === undefined"),f("writable"===e._state,"state must be writable");var r=e._writableStreamController;f(void 0!==r,"controller must not be undefined"),e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&G(n,t),!1===I(e)&&!0===r._started&&C(e)}function C(e){f("erroring"===e._state,"stream._state === erroring"),f(!1===I(e),"WritableStreamHasOperationMarkedInFlight(stream) === false"),e._state="errored",e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++){var n=e._writeRequests[r];n._reject(t)}if(e._writeRequests=[],void 0!==e._pendingAbortRequest){var i=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===i._wasAlreadyErroring)return i._reject(t),void D(e);var o=e._writableStreamController.__abortSteps(i._reason);o.then((function(){i._resolve(),D(e)}),(function(t){i._reject(t),D(e)}))}else D(e)}function P(e){f(void 0!==e._inFlightWriteRequest),e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function E(e,t){f(void 0!==e._inFlightWriteRequest),e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,f("writable"===e._state||"erroring"===e._state),x(e,t)}function R(e){f(void 0!==e._inFlightCloseRequest),e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0;var t=e._state;f("writable"===t||"erroring"===t),"erroring"===t&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var r=e._writer;void 0!==r&&de(r),f(void 0===e._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),f(void 0===e._storedError,"stream._storedError === undefined")}function T(e,t){f(void 0!==e._inFlightCloseRequest),e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,f("writable"===e._state||"erroring"===e._state),void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),x(e,t)}function O(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function I(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function L(e){f(void 0===e._inFlightCloseRequest),f(void 0!==e._closeRequest),e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function F(e){f(void 0===e._inFlightWriteRequest,"there must be no pending write request"),f(0!==e._writeRequests.length,"writeRequests must not be empty"),e._inFlightWriteRequest=e._writeRequests.shift()}function D(e){f("errored"===e._state,'_stream_.[[state]] is `"errored"`'),void 0!==e._closeRequest&&(f(void 0===e._inFlightCloseRequest),e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&(fe(t,e._storedError),t._closedPromise["catch"]((function(){})))}function j(e,t){f("writable"===e._state),f(!1===O(e));var r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?ye(r):(f(!1===t),_e(r))),e._backpressure=t}e.exports={AcquireWritableStreamDefaultWriter:b,IsWritableStream:_,IsWritableStreamLocked:w,WritableStream:y,WritableStreamAbort:A,WritableStreamDefaultControllerError:ie,WritableStreamDefaultWriterCloseWithErrorPropagation:B,WritableStreamDefaultWriterRelease:Y,WritableStreamDefaultWriterWrite:H,WritableStreamCloseQueuedOrInFlight:O};var M=function(){function e(t){if(i(this,e),!1===_(t))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===w(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;var r=t._state;if("writable"===r)!1===O(t)&&!0===t._backpressure?pe(this):ge(this),ce(this);else if("erroring"===r)ve(this,t._storedError),this._readyPromise["catch"]((function(){})),ce(this);else if("closed"===r)ge(this),le(this);else{f("errored"===r,"state must be errored");var n=t._storedError;ve(this,n),this._readyPromise["catch"]((function(){})),ue(this,n),this._closedPromise["catch"]((function(){}))}}return n(e,[{key:"abort",value:function(e){return!1===N(this)?Promise.reject(ae("abort")):void 0===this._ownerWritableStream?Promise.reject(se("abort")):U(this,e)}},{key:"close",value:function(){if(!1===N(this))return Promise.reject(ae("close"));var e=this._ownerWritableStream;return void 0===e?Promise.reject(se("close")):!0===O(e)?Promise.reject(new TypeError("cannot close an already-closing stream")):q(this)}},{key:"releaseLock",value:function(){if(!1===N(this))throw ae("releaseLock");var e=this._ownerWritableStream;void 0!==e&&(f(void 0!==e._writer),Y(this))}},{key:"write",value:function(e){return!1===N(this)?Promise.reject(ae("write")):void 0===this._ownerWritableStream?Promise.reject(se("write to")):H(this,e)}},{key:"closed",get:function(){return!1===N(this)?Promise.reject(ae("closed")):this._closedPromise}},{key:"desiredSize",get:function(){if(!1===N(this))throw ae("desiredSize");if(void 0===this._ownerWritableStream)throw se("desiredSize");return z(this)}},{key:"ready",get:function(){return!1===N(this)?Promise.reject(ae("ready")):this._readyPromise}}]),e}();function N(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function U(e,t){var r=e._ownerWritableStream;return f(void 0!==r),A(r,t)}function q(e){var t=e._ownerWritableStream;f(void 0!==t);var r=t._state;if("closed"===r||"errored"===r)return Promise.reject(new TypeError("The stream (in "+r+" state) is not in the writable state and cannot be closed"));f("writable"===r||"erroring"===r),f(!1===O(t));var n=new Promise((function(e,r){var n={_resolve:e,_reject:r};t._closeRequest=n}));return!0===t._backpressure&&"writable"===r&&_e(e),V(t._writableStreamController),n}function B(e){var t=e._ownerWritableStream;f(void 0!==t);var r=t._state;return!0===O(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):(f("writable"===r||"erroring"===r),q(e))}function W(e,t){"pending"===e._closedPromiseState?fe(e,t):he(e,t),e._closedPromise["catch"]((function(){}))}function G(e,t){"pending"===e._readyPromiseState?me(e,t):be(e,t),e._readyPromise["catch"]((function(){}))}function z(e){var t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:K(t._writableStreamController)}function Y(e){var t=e._ownerWritableStream;f(void 0!==t),f(t._writer===e);var r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");G(e,r),W(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function H(e,t){var r=e._ownerWritableStream;f(void 0!==r);var n=r._writableStreamController,i=Q(n,t);if(r!==e._ownerWritableStream)return Promise.reject(se("write to"));var o=r._state;if("errored"===o)return Promise.reject(r._storedError);if(!0===O(r)||"closed"===o)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return Promise.reject(r._storedError);f("writable"===o);var a=S(r);return J(n,t,i),a}var X=function(){function e(t,r,n,o){if(i(this,e),!1===_(t))throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==t._writableStreamController)throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=t,this._underlyingSink=r,this._queue=void 0,this._queueTotalSize=void 0,m(this),this._started=!1;var a=c(n,o);this._strategySize=a.size,this._strategyHWM=a.highWaterMark;var s=ne(this);j(t,s)}return n(e,[{key:"error",value:function(e){if(!1===Z(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var t=this._controlledWritableStream._state;"writable"===t&&ie(this,e)}},{key:"__abortSteps",value:function(e){return s(this._underlyingSink,"abort",[e])}},{key:"__errorSteps",value:function(){m(this)}},{key:"__startSteps",value:function(){var e=this,t=a(this._underlyingSink,"start",[this]),r=this._controlledWritableStream;Promise.resolve(t).then((function(){f("writable"===r._state||"erroring"===r._state),e._started=!0,$(e)}),(function(t){f("writable"===r._state||"erroring"===r._state),e._started=!0,x(r,t)}))["catch"](h)}}]),e}();function V(e){v(e,"close",0),$(e)}function Q(e,t){var r=e._strategySize;if(void 0===r)return 1;try{return r(t)}catch(n){return ee(e,n),1}}function K(e){return e._strategyHWM-e._queueTotalSize}function J(e,t,r){var n={chunk:t};try{v(e,n,r)}catch(a){return void ee(e,a)}var i=e._controlledWritableStream;if(!1===O(i)&&"writable"===i._state){var o=ne(e);j(i,o)}$(e)}function Z(e){return!!u(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSink")}function $(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var r=t._state;if("closed"!==r&&"errored"!==r)if("erroring"!==r){if(0!==e._queue.length){var n=g(e);"close"===n?te(e):re(e,n.chunk)}}else C(t)}}function ee(e,t){"writable"===e._controlledWritableStream._state&&ie(e,t)}function te(e){var t=e._controlledWritableStream;L(t),p(e),f(0===e._queue.length,"queue must be empty once the final write record is dequeued");var r=s(e._underlyingSink,"close",[]);r.then((function(){R(t)}),(function(e){T(t,e)}))["catch"](h)}function re(e,t){var r=e._controlledWritableStream;F(r);var n=s(e._underlyingSink,"write",[t,e]);n.then((function(){P(r);var t=r._state;if(f("writable"===t||"erroring"===t),p(e),!1===O(r)&&"writable"===t){var n=ne(e);j(r,n)}$(e)}),(function(e){E(r,e)}))["catch"](h)}function ne(e){var t=K(e);return t<=0}function ie(e,t){var r=e._controlledWritableStream;f("writable"===r._state),k(r,t)}function oe(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function ae(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function se(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function ce(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"}))}function ue(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function le(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function fe(e,t){f(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),f(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),f("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function he(e,t){f(void 0===e._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),f(void 0===e._closedPromise_reject,"writer._closedPromise_reject === undefined"),f("pending"!==e._closedPromiseState,"writer._closedPromiseState is not pending"),e._closedPromise=Promise.reject(t),e._closedPromiseState="rejected"}function de(e){f(void 0!==e._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),f(void 0!==e._closedPromise_reject,"writer._closedPromise_reject !== undefined"),f("pending"===e._closedPromiseState,"writer._closedPromiseState is pending"),e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function pe(e){e._readyPromise=new Promise((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function ve(e,t){e._readyPromise=Promise.reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function ge(e){e._readyPromise=Promise.resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function me(e,t){f(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),f(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function ye(e){f(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),f(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=new Promise((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function be(e,t){f(void 0===e._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),f(void 0===e._readyPromise_reject,"writer._readyPromise_reject === undefined"),e._readyPromise=Promise.reject(t),e._readyPromiseState="rejected"}function _e(e){f(void 0!==e._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),f(void 0!==e._readyPromise_reject,"writer._readyPromise_reject !== undefined"),e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}},function(e,t,r){var n=r(0),i=n.IsFiniteNonNegativeNumber,o=r(1),a=o.assert;t.DequeueValue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),a(e._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value},t.EnqueueValueWithSize=function(e,t,r){if(a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),r=Number(r),!i(r))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r},t.PeekQueueValue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),a(e._queue.length>0,"Spec-level failure: should never peek at an empty queue.");var t=e._queue[0];return t.value},t.ResetQueue=function(e){a("_queue"in e&&"_queueTotalSize"in e,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),e._queue=[],e._queueTotalSize=0}},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(0),a=o.ArrayBufferCopy,s=o.CreateIterResultObject,c=o.IsFiniteNonNegativeNumber,u=o.InvokeOrNoop,l=o.PromiseInvokeOrNoop,f=o.TransferArrayBuffer,h=o.ValidateAndNormalizeQueuingStrategy,d=o.ValidateAndNormalizeHighWaterMark,p=r(0),v=p.createArrayFromList,g=p.createDataProperty,m=p.typeIsObject,y=r(1),b=y.assert,_=y.rethrowAssertionErrorRejection,w=r(3),A=w.DequeueValue,S=w.EnqueueValueWithSize,x=w.ResetQueue,k=r(2),C=k.AcquireWritableStreamDefaultWriter,P=k.IsWritableStream,E=k.IsWritableStreamLocked,R=k.WritableStreamAbort,T=k.WritableStreamDefaultWriterCloseWithErrorPropagation,O=k.WritableStreamDefaultWriterRelease,I=k.WritableStreamDefaultWriterWrite,L=k.WritableStreamCloseQueuedOrInFlight,F=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.size,o=r.highWaterMark;i(this,e),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var a=t.type,s=String(a);if("bytes"===s)void 0===o&&(o=0),this._readableStreamController=new _e(this,t,o);else{if(void 0!==a)throw new RangeError("Invalid type is specified");void 0===o&&(o=1),this._readableStreamController=new le(this,t,n,o)}}return n(e,[{key:"cancel",value:function(e){return!1===M(this)?Promise.reject(Ye("cancel")):!0===U(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):H(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===M(this))throw Ye("getReader");if(void 0===t)return j(this);if(t=String(t),"byob"===t)return D(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,n=e.readable,i=this.pipeTo(r,t);return it(i),n}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.preventClose,i=r.preventAbort,o=r.preventCancel;if(!1===M(this))return Promise.reject(Ye("pipeTo"));if(!1===P(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(n=Boolean(n),i=Boolean(i),o=Boolean(o),!0===U(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===E(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var a=j(this),s=C(e),c=!1,u=Promise.resolve();return new Promise((function(r,l){function f(){return u=Promise.resolve(),!0===c?Promise.resolve():s._readyPromise.then((function(){return ue(a).then((function(e){var t=e.value,r=e.done;!0!==r&&(u=I(s,t)["catch"]((function(){})))}))})).then(f)}if(p(t,a._closedPromise,(function(t){!1===i?g((function(){return R(e,t)}),!0,t):m(!0,t)})),p(e,s._closedPromise,(function(e){!1===o?g((function(){return H(t,e)}),!0,e):m(!0,e)})),v(t,a._closedPromise,(function(){!1===n?g((function(){return T(s)})):m()})),!0===L(e)||"closed"===e._state){var h=new TypeError("the destination writable stream closed before all data could be piped to it");!1===o?g((function(){return H(t,h)}),!0,h):m(!0,h)}function d(){var e=u;return u.then((function(){return e!==u?d():void 0}))}function p(e,t,r){"errored"===e._state?r(e._storedError):t["catch"](r)["catch"](_)}function v(e,t,r){"closed"===e._state?r():t.then(r)["catch"](_)}function g(t,r,n){function i(){t().then((function(){return y(r,n)}),(function(e){return y(!0,e)}))["catch"](_)}!0!==c&&(c=!0,"writable"===e._state&&!1===L(e)?d().then(i):i())}function m(t,r){!0!==c&&(c=!0,"writable"===e._state&&!1===L(e)?d().then((function(){return y(t,r)}))["catch"](_):y(t,r))}function y(e,t){O(s),se(a),e?l(t):r(void 0)}f()["catch"]((function(e){u=Promise.resolve(),_(e)}))}))}},{key:"tee",value:function(){if(!1===M(this))throw Ye("tee");var e=q(this,!1);return v(e)}},{key:"locked",get:function(){if(!1===M(this))throw Ye("locked");return U(this)}}]),e}();function D(e){return new re(e)}function j(e){return new te(e)}function M(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function N(e){return b(!0===M(e),"IsReadableStreamDisturbed should only be used on known readable streams"),e._disturbed}function U(e){return b(!0===M(e),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==e._reader}function q(e,t){b(!0===M(e)),b("boolean"===typeof t);var r=j(e),n={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0};n.promise=new Promise((function(e){n._resolve=e}));var i=B();i._reader=r,i._teeState=n,i._cloneForBranch2=t;var o=W();o._stream=e,o._teeState=n;var a=G();a._stream=e,a._teeState=n;var s=Object.create(Object.prototype);g(s,"pull",i),g(s,"cancel",o);var c=new F(s),u=Object.create(Object.prototype);g(u,"pull",i),g(u,"cancel",a);var l=new F(u);return i._branch1=c._readableStreamController,i._branch2=l._readableStreamController,r._closedPromise["catch"]((function(e){!0!==n.closedOrErrored&&(ge(i._branch1,e),ge(i._branch2,e),n.closedOrErrored=!0)})),[c,l]}function B(){function e(){var t=e._reader,r=e._branch1,n=e._branch2,i=e._teeState;return ue(t).then((function(e){b(m(e));var t=e.value,o=e.done;if(b("boolean"===typeof o),!0===o&&!1===i.closedOrErrored&&(!1===i.canceled1&&pe(r),!1===i.canceled2&&pe(n),i.closedOrErrored=!0),!0!==i.closedOrErrored){var a=t,s=t;!1===i.canceled1&&ve(r,a),!1===i.canceled2&&ve(n,s)}}))}return e}function W(){function e(t){var r=e._stream,n=e._teeState;if(n.canceled1=!0,n.reason1=t,!0===n.canceled2){var i=v([n.reason1,n.reason2]),o=H(r,i);n._resolve(o)}return n.promise}return e}function G(){function e(t){var r=e._stream,n=e._teeState;if(n.canceled2=!0,n.reason2=t,!0===n.canceled1){var i=v([n.reason1,n.reason2]),o=H(r,i);n._resolve(o)}return n.promise}return e}function z(e){b(!0===ne(e._reader)),b("readable"===e._state||"closed"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readIntoRequests.push(n)}));return t}function Y(e){b(!0===ie(e._reader)),b("readable"===e._state);var t=new Promise((function(t,r){var n={_resolve:t,_reject:r};e._reader._readRequests.push(n)}));return t}function H(e,t){if(e._disturbed=!0,"closed"===e._state)return Promise.resolve(void 0);if("errored"===e._state)return Promise.reject(e._storedError);X(e);var r=e._readableStreamController.__cancelSteps(t);return r.then((function(){}))}function X(e){b("readable"===e._state),e._state="closed";var t=e._reader;if(void 0!==t){if(!0===ie(t)){for(var r=0;r<t._readRequests.length;r++){var n=t._readRequests[r]._resolve;n(s(void 0,!0))}t._readRequests=[]}$e(t)}}function V(e,t){b(!0===M(e),"stream must be ReadableStream"),b("readable"===e._state,"state must be readable"),e._state="errored",e._storedError=t;var r=e._reader;if(void 0!==r){if(!0===ie(r)){for(var n=0;n<r._readRequests.length;n++){var i=r._readRequests[n];i._reject(t)}r._readRequests=[]}else{b(ne(r),"reader must be ReadableStreamBYOBReader");for(var o=0;o<r._readIntoRequests.length;o++){var a=r._readIntoRequests[o];a._reject(t)}r._readIntoRequests=[]}Je(r,t),r._closedPromise["catch"]((function(){}))}}function Q(e,t,r){var n=e._reader;b(n._readIntoRequests.length>0);var i=n._readIntoRequests.shift();i._resolve(s(t,r))}function K(e,t,r){var n=e._reader;b(n._readRequests.length>0);var i=n._readRequests.shift();i._resolve(s(t,r))}function J(e){return e._reader._readIntoRequests.length}function Z(e){return e._reader._readRequests.length}function $(e){var t=e._reader;return void 0!==t&&!1!==ne(t)}function ee(e){var t=e._reader;return void 0!==t&&!1!==ie(t)}e.exports={ReadableStream:F,IsReadableStreamDisturbed:N,ReadableStreamDefaultControllerClose:pe,ReadableStreamDefaultControllerEnqueue:ve,ReadableStreamDefaultControllerError:ge,ReadableStreamDefaultControllerGetDesiredSize:ye};var te=function(){function e(t){if(i(this,e),!1===M(t))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===U(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");oe(this,t),this._readRequests=[]}return n(e,[{key:"cancel",value:function(e){return!1===ie(this)?Promise.reject(Xe("cancel")):void 0===this._ownerReadableStream?Promise.reject(He("cancel")):ae(this,e)}},{key:"read",value:function(){return!1===ie(this)?Promise.reject(Xe("read")):void 0===this._ownerReadableStream?Promise.reject(He("read from")):ue(this)}},{key:"releaseLock",value:function(){if(!1===ie(this))throw Xe("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");se(this)}}},{key:"closed",get:function(){return!1===ie(this)?Promise.reject(Xe("closed")):this._closedPromise}}]),e}(),re=function(){function e(t){if(i(this,e),!M(t))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===we(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(U(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");oe(this,t),this._readIntoRequests=[]}return n(e,[{key:"cancel",value:function(e){return ne(this)?void 0===this._ownerReadableStream?Promise.reject(He("cancel")):ae(this,e):Promise.reject(et("cancel"))}},{key:"read",value:function(e){return ne(this)?void 0===this._ownerReadableStream?Promise.reject(He("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):ce(this,e):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(et("read"))}},{key:"releaseLock",value:function(){if(!ne(this))throw et("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");se(this)}}},{key:"closed",get:function(){return ne(this)?this._closedPromise:Promise.reject(et("closed"))}}]),e}();function ne(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function ie(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function oe(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?Ve(e):"closed"===t._state?Ke(e):(b("errored"===t._state,"state must be errored"),Qe(e,t._storedError),e._closedPromise["catch"]((function(){})))}function ae(e,t){var r=e._ownerReadableStream;return b(void 0!==r),H(r,t)}function se(e){b(void 0!==e._ownerReadableStream),b(e._ownerReadableStream._reader===e),"readable"===e._ownerReadableStream._state?Je(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):Ze(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._closedPromise["catch"]((function(){})),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function ce(e,t){var r=e._ownerReadableStream;return b(void 0!==r),r._disturbed=!0,"errored"===r._state?Promise.reject(r._storedError):Le(r._readableStreamController,t)}function ue(e){var t=e._ownerReadableStream;return b(void 0!==t),t._disturbed=!0,"closed"===t._state?Promise.resolve(s(void 0,!0)):"errored"===t._state?Promise.reject(t._storedError):(b("readable"===t._state),t._readableStreamController.__pullSteps())}var le=function(){function e(t,r,n,o){if(i(this,e),!1===M(t))throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==t._readableStreamController)throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=t,this._underlyingSource=r,this._queue=void 0,this._queueTotalSize=void 0,x(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var a=h(n,o);this._strategySize=a.size,this._strategyHWM=a.highWaterMark;var s=this,c=u(r,"start",[this]);Promise.resolve(c).then((function(){s._started=!0,b(!1===s._pulling),b(!1===s._pullAgain),he(s)}),(function(e){me(s,e)}))["catch"](_)}return n(e,[{key:"close",value:function(){if(!1===fe(this))throw tt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");pe(this)}},{key:"enqueue",value:function(e){if(!1===fe(this))throw tt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");return ve(this,e)}},{key:"error",value:function(e){if(!1===fe(this))throw tt("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw new TypeError("The stream is "+t._state+" and so cannot be errored");ge(this,e)}},{key:"__cancelSteps",value:function(e){return x(this),l(this._underlyingSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=A(this);return!0===this._closeRequested&&0===this._queue.length?X(e):he(this),Promise.resolve(s(t,!1))}var r=Y(e);return he(this),r}},{key:"desiredSize",get:function(){if(!1===fe(this))throw tt("desiredSize");return ye(this)}}]),e}();function fe(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")}function he(e){var t=de(e);if(!1!==t)if(!0!==e._pulling){b(!1===e._pullAgain),e._pulling=!0;var r=l(e._underlyingSource,"pull",[e]);r.then((function(){if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,he(e)}),(function(t){me(e,t)}))["catch"](_)}else e._pullAgain=!0}function de(e){var t=e._controlledReadableStream;if("closed"===t._state||"errored"===t._state)return!1;if(!0===e._closeRequested)return!1;if(!1===e._started)return!1;if(!0===U(t)&&Z(t)>0)return!0;var r=ye(e);return r>0}function pe(e){var t=e._controlledReadableStream;b(!1===e._closeRequested),b("readable"===t._state),e._closeRequested=!0,0===e._queue.length&&X(t)}function ve(e,t){var r=e._controlledReadableStream;if(b(!1===e._closeRequested),b("readable"===r._state),!0===U(r)&&Z(r)>0)K(r,t,!1);else{var n=1;if(void 0!==e._strategySize){var i=e._strategySize;try{n=i(t)}catch(o){throw me(e,o),o}}try{S(e,t,n)}catch(a){throw me(e,a),a}}he(e)}function ge(e,t){var r=e._controlledReadableStream;b("readable"===r._state),x(e),V(r,t)}function me(e,t){"readable"===e._controlledReadableStream._state&&ge(e,t)}function ye(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}var be=function(){function e(t,r){i(this,e),this._associatedReadableByteStreamController=t,this._view=r}return n(e,[{key:"respond",value:function(e){if(!1===Ae(this))throw rt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");Ge(this._associatedReadableByteStreamController,e)}},{key:"respondWithNewView",value:function(e){if(!1===Ae(this))throw rt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");ze(this._associatedReadableByteStreamController,e)}},{key:"view",get:function(){return this._view}}]),e}(),_e=function(){function e(t,r,n){if(i(this,e),!1===M(t))throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==t._readableStreamController)throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=t,this._underlyingByteSource=r,this._pullAgain=!1,this._pulling=!1,xe(this),this._queue=this._queueTotalSize=void 0,x(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=d(n);var o=r.autoAllocateChunkSize;if(void 0!==o&&(!1===Number.isInteger(o)||o<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=o,this._pendingPullIntos=[];var a=this,s=u(r,"start",[this]);Promise.resolve(s).then((function(){a._started=!0,b(!1===a._pulling),b(!1===a._pullAgain),Se(a)}),(function(e){"readable"===t._state&&Be(a,e)}))["catch"](_)}return n(e,[{key:"close",value:function(){if(!1===we(this))throw nt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Ue(this)}},{key:"enqueue",value:function(e){if(!1===we(this))throw nt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");qe(this,e)}},{key:"error",value:function(e){if(!1===we(this))throw nt("error");var t=this._controlledReadableStream;if("readable"!==t._state)throw new TypeError("The stream is "+t._state+" and so cannot be errored");Be(this,e)}},{key:"__cancelSteps",value:function(e){if(this._pendingPullIntos.length>0){var t=this._pendingPullIntos[0];t.bytesFilled=0}return x(this),l(this._underlyingByteSource,"cancel",[e])}},{key:"__pullSteps",value:function(){var e=this._controlledReadableStream;if(b(!0===ee(e)),this._queueTotalSize>0){b(0===Z(e));var t=this._queue.shift();this._queueTotalSize-=t.byteLength,Te(this);var r=void 0;try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(c){return Promise.reject(c)}return Promise.resolve(s(r,!1))}var n=this._autoAllocateChunkSize;if(void 0!==n){var i=void 0;try{i=new ArrayBuffer(n)}catch(u){return Promise.reject(u)}var o={buffer:i,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var a=Y(e);return Se(this),a}},{key:"byobRequest",get:function(){if(!1===we(this))throw nt("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled);this._byobRequest=new be(this,t)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===we(this))throw nt("desiredSize");return We(this)}}]),e}();function we(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource")}function Ae(e){return!!m(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Se(e){var t=Ne(e);if(!1!==t)if(!0!==e._pulling){b(!1===e._pullAgain),e._pulling=!0;var r=l(e._underlyingByteSource,"pull",[e]);r.then((function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Se(e))}),(function(t){"readable"===e._controlledReadableStream._state&&Be(e,t)}))["catch"](_)}else e._pullAgain=!0}function xe(e){Oe(e),e._pendingPullIntos=[]}function ke(e,t){b("errored"!==e._state,"state must not be errored");var r=!1;"closed"===e._state&&(b(0===t.bytesFilled),r=!0);var n=Ce(t);"default"===t.readerType?K(e,n,r):(b("byob"===t.readerType),Q(e,n,r))}function Ce(e){var t=e.bytesFilled,r=e.elementSize;return b(t<=e.byteLength),b(t%r===0),new e.ctor(e.buffer,e.byteOffset,t/r)}function Pe(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function Ee(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+i,s=o-o%r,c=i,u=!1;s>n&&(c=s-t.bytesFilled,u=!0);var l=e._queue;while(c>0){var f=l[0],h=Math.min(c,f.byteLength),d=t.byteOffset+t.bytesFilled;a(t.buffer,d,f.buffer,f.byteOffset,h),f.byteLength===h?l.shift():(f.byteOffset+=h,f.byteLength-=h),e._queueTotalSize-=h,Re(e,h,t),c-=h}return!1===u&&(b(0===e._queueTotalSize,"queue must be empty"),b(t.bytesFilled>0),b(t.bytesFilled<t.elementSize)),u}function Re(e,t,r){b(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r),Oe(e),r.bytesFilled+=t}function Te(e){b("readable"===e._controlledReadableStream._state),0===e._queueTotalSize&&!0===e._closeRequested?X(e._controlledReadableStream):Se(e)}function Oe(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function Ie(e){b(!1===e._closeRequested);while(e._pendingPullIntos.length>0){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];!0===Ee(e,t)&&(Me(e),ke(e._controlledReadableStream,t))}}function Le(e,t){var r=e._controlledReadableStream,n=1;t.constructor!==DataView&&(n=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,o={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:n,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return o.buffer=f(o.buffer),e._pendingPullIntos.push(o),z(r);if("closed"===r._state){var a=new t.constructor(o.buffer,o.byteOffset,0);return Promise.resolve(s(a,!0))}if(e._queueTotalSize>0){if(!0===Ee(e,o)){var c=Ce(o);return Te(e),Promise.resolve(s(c,!1))}if(!0===e._closeRequested){var u=new TypeError("Insufficient bytes to fill elements in the given buffer");return Be(e,u),Promise.reject(u)}}o.buffer=f(o.buffer),e._pendingPullIntos.push(o);var l=z(r);return Se(e),l}function Fe(e,t){t.buffer=f(t.buffer),b(0===t.bytesFilled,"bytesFilled must be 0");var r=e._controlledReadableStream;if(!0===$(r))while(J(r)>0){var n=Me(e);ke(r,n)}}function De(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(Re(e,t,r),!(r.bytesFilled<r.elementSize)){Me(e);var n=r.bytesFilled%r.elementSize;if(n>0){var i=r.byteOffset+r.bytesFilled,o=r.buffer.slice(i-n,i);Pe(e,o,0,o.byteLength)}r.buffer=f(r.buffer),r.bytesFilled-=n,ke(e._controlledReadableStream,r),Ie(e)}}function je(e,t){var r=e._pendingPullIntos[0],n=e._controlledReadableStream;if("closed"===n._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");Fe(e,r)}else b("readable"===n._state),De(e,t,r)}function Me(e){var t=e._pendingPullIntos.shift();return Oe(e),t}function Ne(e){var t=e._controlledReadableStream;return"readable"===t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===ee(t)&&Z(t)>0||(!0===$(t)&&J(t)>0||We(e)>0))))}function Ue(e){var t=e._controlledReadableStream;if(b(!1===e._closeRequested),b("readable"===t._state),e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){var r=e._pendingPullIntos[0];if(r.bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Be(e,n),n}}X(t)}}function qe(e,t){var r=e._controlledReadableStream;b(!1===e._closeRequested),b("readable"===r._state);var n=t.buffer,i=t.byteOffset,o=t.byteLength,a=f(n);if(!0===ee(r))if(0===Z(r))Pe(e,a,i,o);else{b(0===e._queue.length);var s=new Uint8Array(a,i,o);K(r,s,!1)}else!0===$(r)?(Pe(e,a,i,o),Ie(e)):(b(!1===U(r),"stream must not be locked"),Pe(e,a,i,o))}function Be(e,t){var r=e._controlledReadableStream;b("readable"===r._state),xe(e),x(e),V(r,t)}function We(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}function Ge(e,t){if(t=Number(t),!1===c(t))throw new RangeError("bytesWritten must be a finite");b(e._pendingPullIntos.length>0),je(e,t)}function ze(e,t){b(e._pendingPullIntos.length>0);var r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,je(e,t.byteLength)}function Ye(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function He(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Xe(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}function Ve(e){e._closedPromise=new Promise((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function Qe(e,t){e._closedPromise=Promise.reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Ke(e){e._closedPromise=Promise.resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Je(e,t){b(void 0!==e._closedPromise_resolve),b(void 0!==e._closedPromise_reject),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function Ze(e,t){b(void 0===e._closedPromise_resolve),b(void 0===e._closedPromise_reject),e._closedPromise=Promise.reject(t)}function $e(e){b(void 0!==e._closedPromise_resolve),b(void 0!==e._closedPromise_reject),e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function et(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function tt(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function rt(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function nt(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function it(e){try{Promise.prototype.then.call(e,void 0,(function(){}))}catch(t){}}},function(e,t,r){var n=r(6),i=r(4),o=r(2);t.TransformStream=n.TransformStream,t.ReadableStream=i.ReadableStream,t.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,t.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,t.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,t.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,t.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,t.AcquireWritableStreamDefaultWriter=o.AcquireWritableStreamDefaultWriter,t.IsWritableStream=o.IsWritableStream,t.IsWritableStreamLocked=o.IsWritableStreamLocked,t.WritableStream=o.WritableStream,t.WritableStreamAbort=o.WritableStreamAbort,t.WritableStreamDefaultControllerError=o.WritableStreamDefaultControllerError,t.WritableStreamDefaultWriterCloseWithErrorPropagation=o.WritableStreamDefaultWriterCloseWithErrorPropagation,t.WritableStreamDefaultWriterRelease=o.WritableStreamDefaultWriterRelease,t.WritableStreamDefaultWriterWrite=o.WritableStreamDefaultWriterWrite},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(1),a=o.assert,s=r(0),c=s.InvokeOrNoop,u=s.PromiseInvokeOrPerformFallback,l=s.PromiseInvokeOrNoop,f=s.typeIsObject,h=r(4),d=h.ReadableStream,p=h.ReadableStreamDefaultControllerClose,v=h.ReadableStreamDefaultControllerEnqueue,g=h.ReadableStreamDefaultControllerError,m=h.ReadableStreamDefaultControllerGetDesiredSize,y=r(2),b=y.WritableStream,_=y.WritableStreamDefaultControllerError;function w(e){if(!0===e._errored)throw new TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw new TypeError("Readable side is already closed");x(e)}function A(e,t){if(!0===e._errored)throw new TypeError("TransformStream is already errored");if(!0===e._readableClosed)throw new TypeError("Readable side is already closed");var r=e._readableController;try{v(r,t)}catch(o){throw e._readableClosed=!0,k(e,o),e._storedError}var n=m(r),i=n<=0;!0===i&&!1===e._backpressure&&E(e,!0)}function S(e,t){if(!0===e._errored)throw new TypeError("TransformStream is already errored");C(e,t)}function x(e){a(!1===e._errored),a(!1===e._readableClosed);try{p(e._readableController)}catch(t){a(!1)}e._readableClosed=!0}function k(e,t){!1===e._errored&&C(e,t)}function C(e,t){a(!1===e._errored),e._errored=!0,e._storedError=t,!1===e._writableDone&&_(e._writableController,t),!1===e._readableClosed&&g(e._readableController,t)}function P(e){return a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===e._backpressure?Promise.resolve():(a(!0===e._backpressure,"_backpressure should have been initialized"),e._backpressureChangePromise)}function E(e,t){a(e._backpressure!==t,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(t),e._backpressureChangePromise=new Promise((function(t){e._backpressureChangePromise_resolve=t})),e._backpressureChangePromise.then((function(e){a(e!==t,"_backpressureChangePromise should be fulfilled only when backpressure is changed")})),e._backpressure=t}function R(e,t){var r=t._controlledTransformStream;return A(r,e),Promise.resolve()}function T(e,t){a(!1===e._errored),a(!1===e._transforming),a(!1===e._backpressure),e._transforming=!0;var r=e._transformer,n=e._transformStreamController,i=u(r,"transform",[t,n],R,[t,n]);return i.then((function(){return e._transforming=!1,P(e)}),(function(t){return k(e,t),Promise.reject(t)}))}function O(e){return!!f(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function I(e){return!!f(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}var L=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._writableController=e,this._startPromise.then((function(){return P(t)}))}},{key:"write",value:function(e){var t=this._transformStream;return T(t,e)}},{key:"abort",value:function(){var e=this._transformStream;e._writableDone=!0,C(e,new TypeError("Writable side aborted"))}},{key:"close",value:function(){var e=this._transformStream;a(!1===e._transforming),e._writableDone=!0;var t=l(e._transformer,"flush",[e._transformStreamController]);return t.then((function(){return!0===e._errored?Promise.reject(e._storedError):(!1===e._readableClosed&&x(e),Promise.resolve())}))["catch"]((function(t){return k(e,t),Promise.reject(e._storedError)}))}}]),e}(),F=function(){function e(t,r){i(this,e),this._transformStream=t,this._startPromise=r}return n(e,[{key:"start",value:function(e){var t=this._transformStream;return t._readableController=e,this._startPromise.then((function(){return a(void 0!==t._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===t._backpressure?Promise.resolve():(a(!1===t._backpressure,"_backpressure should have been initialized"),t._backpressureChangePromise)}))}},{key:"pull",value:function(){var e=this._transformStream;return a(!0===e._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==e._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),E(e,!1),e._backpressureChangePromise}},{key:"cancel",value:function(){var e=this._transformStream;e._readableClosed=!0,C(e,new TypeError("Readable side canceled"))}}]),e}(),D=function(){function e(t){if(i(this,e),!1===I(t))throw new TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==t._transformStreamController)throw new TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=t}return n(e,[{key:"enqueue",value:function(e){if(!1===O(this))throw M("enqueue");A(this._controlledTransformStream,e)}},{key:"close",value:function(){if(!1===O(this))throw M("close");w(this._controlledTransformStream)}},{key:"error",value:function(e){if(!1===O(this))throw M("error");S(this._controlledTransformStream,e)}},{key:"desiredSize",get:function(){if(!1===O(this))throw M("desiredSize");var e=this._controlledTransformStream,t=e._readableController;return m(t)}}]),e}(),j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this._transformer=t;var r=t.readableStrategy,n=t.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new D(this);var o=void 0,s=new Promise((function(e){o=e})),u=new F(this,s);this._readable=new d(u,r);var l=new L(this,s);this._writable=new b(l,n),a(void 0!==this._writableController),a(void 0!==this._readableController);var f=m(this._readableController);E(this,f<=0);var h=this,p=c(t,"start",[h._transformStreamController]);o(p),s["catch"]((function(e){!1===h._errored&&(h._errored=!0,h._storedError=e)}))}return n(e,[{key:"readable",get:function(){if(!1===I(this))throw N("readable");return this._readable}},{key:"writable",get:function(){if(!1===I(this))throw N("writable");return this._writable}}]),e}();function M(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function N(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.exports={TransformStream:j}},function(e,t,r){e.exports=r(5)}]))},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}var i=!1;try{if("function"===typeof URL&&"object"===n(URL.prototype)&&"origin"in URL.prototype){var o=new URL("b","http://a");o.pathname="c%20d",i="http://a/c%20d"===o.href}}catch(c){}if(i)t.URL=URL;else{var a=r(146).URL,s=r(3).URL;s&&(a.createObjectURL=function(e){return s.createObjectURL.apply(s,arguments)},a.revokeObjectURL=function(e){s.revokeObjectURL(e)}),t.URL=a}},function(e,t,r){"use strict";(function(){var e=Object.create(null);e["ftp"]=21,e["file"]=0,e["gopher"]=70,e["http"]=80,e["https"]=443,e["ws"]=80,e["wss"]=443;var r=Object.create(null);function n(t){return void 0!==e[t]}function i(){h.call(this),this._isInvalid=!0}function o(e){return""===e&&i.call(this),e.toLowerCase()}function a(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function s(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}r["%2e"]=".",r[".%2e"]="..",r["%2e."]="..",r["%2e%2e"]="..";var c,u=/[a-zA-Z]/,l=/[a-zA-Z0-9\+\-\.]/;function f(t,f,h){function d(e){b.push(e)}var p=f||"scheme start",v=0,g="",m=!1,y=!1,b=[];e:while((t[v-1]!==c||0===v)&&!this._isInvalid){var _=t[v];switch(p){case"scheme start":if(!_||!u.test(_)){if(f){d("Invalid scheme.");break e}g="",p="no scheme";continue}g+=_.toLowerCase(),p="scheme";break;case"scheme":if(_&&l.test(_))g+=_.toLowerCase();else{if(":"!==_){if(f){if(_===c)break e;d("Code point not allowed in scheme: "+_);break e}g="",v=0,p="no scheme";continue}if(this._scheme=g,g="",f)break e;n(this._scheme)&&(this._isRelative=!0),p="file"===this._scheme?"relative":this._isRelative&&h&&h._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===_?(this._query="?",p="query"):"#"===_?(this._fragment="#",p="fragment"):_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._schemeData+=a(_));break;case"no scheme":if(h&&n(h._scheme)){p="relative";continue}d("Missing scheme."),i.call(this);break;case"relative or authority":if("/"!==_||"/"!==t[v+1]){d("Expected /, got: "+_),p="relative";continue}p="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=h._scheme),_===c){this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query=h._query,this._username=h._username,this._password=h._password;break e}if("/"===_||"\\"===_)"\\"===_&&d("\\ is an invalid code point."),p="relative slash";else if("?"===_)this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query="?",this._username=h._username,this._password=h._password,p="query";else{if("#"!==_){var w=t[v+1],A=t[v+2];("file"!==this._scheme||!u.test(_)||":"!==w&&"|"!==w||A!==c&&"/"!==A&&"\\"!==A&&"?"!==A&&"#"!==A)&&(this._host=h._host,this._port=h._port,this._username=h._username,this._password=h._password,this._path=h._path.slice(),this._path.pop()),p="relative path";continue}this._host=h._host,this._port=h._port,this._path=h._path.slice(),this._query=h._query,this._fragment="#",this._username=h._username,this._password=h._password,p="fragment"}break;case"relative slash":if("/"!==_&&"\\"!==_){"file"!==this._scheme&&(this._host=h._host,this._port=h._port,this._username=h._username,this._password=h._password),p="relative path";continue}"\\"===_&&d("\\ is an invalid code point."),p="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==_){d("Expected '/', got: "+_),p="authority ignore slashes";continue}p="authority second slash";break;case"authority second slash":if(p="authority ignore slashes","/"!==_){d("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!==_&&"\\"!==_){p="authority";continue}d("Expected authority, got: "+_);break;case"authority":if("@"===_){m&&(d("@ already seen."),g+="%40"),m=!0;for(var S=0;S<g.length;S++){var x=g[S];if("\t"!==x&&"\n"!==x&&"\r"!==x)if(":"!==x||null!==this._password){var k=a(x);null!==this._password?this._password+=k:this._username+=k}else this._password="";else d("Invalid whitespace in authority.")}g=""}else{if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){v-=g.length,g="",p="host";continue}g+=_}break;case"file host":if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){2!==g.length||!u.test(g[0])||":"!==g[1]&&"|"!==g[1]?(0===g.length||(this._host=o.call(this,g),g=""),p="relative path start"):p="relative path";continue}"\t"===_||"\n"===_||"\r"===_?d("Invalid whitespace in file host."):g+=_;break;case"host":case"hostname":if(":"!==_||y){if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_){if(this._host=o.call(this,g),g="",p="relative path start",f)break e;continue}"\t"!==_&&"\n"!==_&&"\r"!==_?("["===_?y=!0:"]"===_&&(y=!1),g+=_):d("Invalid code point in host/hostname: "+_)}else if(this._host=o.call(this,g),g="",p="port","hostname"===f)break e;break;case"port":if(/[0-9]/.test(_))g+=_;else{if(_===c||"/"===_||"\\"===_||"?"===_||"#"===_||f){if(""!==g){var C=parseInt(g,10);C!==e[this._scheme]&&(this._port=C+""),g=""}if(f)break e;p="relative path start";continue}"\t"===_||"\n"===_||"\r"===_?d("Invalid code point in port: "+_):i.call(this)}break;case"relative path start":if("\\"===_&&d("'\\' not allowed in path."),p="relative path","/"!==_&&"\\"!==_)continue;break;case"relative path":var P;if(_!==c&&"/"!==_&&"\\"!==_&&(f||"?"!==_&&"#"!==_))"\t"!==_&&"\n"!==_&&"\r"!==_&&(g+=a(_));else"\\"===_&&d("\\ not allowed in relative path."),(P=r[g.toLowerCase()])&&(g=P),".."===g?(this._path.pop(),"/"!==_&&"\\"!==_&&this._path.push("")):"."===g&&"/"!==_&&"\\"!==_?this._path.push(""):"."!==g&&("file"===this._scheme&&0===this._path.length&&2===g.length&&u.test(g[0])&&"|"===g[1]&&(g=g[0]+":"),this._path.push(g)),g="","?"===_?(this._query="?",p="query"):"#"===_&&(this._fragment="#",p="fragment");break;case"query":f||"#"!==_?_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._query+=s(_)):(this._fragment="#",p="fragment");break;case"fragment":_!==c&&"\t"!==_&&"\n"!==_&&"\r"!==_&&(this._fragment+=_);break}v++}}function h(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function d(e,t){void 0===t||t instanceof d||(t=new d(String(t))),this._url=e,h.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");f.call(this,r,null,t)}d.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""===this._username&&null===this._password||(e=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){h.call(this),f.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||f.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&f.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],f.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"===e[0]&&(e=e.slice(1)),f.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"===e[0]&&(e=e.slice(1)),f.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new d(this._schemeData).origin||"null"}catch(t){}return"null"}return e=this.host,e?this._scheme+"://"+e:""}},t.URL=d})()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocument=B,t.setPDFNetworkStreamFactory=q,t.build=t.version=t.PDFPageProxy=t.PDFDocumentProxy=t.PDFWorker=t.PDFDataRangeTransport=t.LoopbackPort=void 0;var i=m(n(148)),o=n(1),a=n(151),s=n(152),c=n(153),l=n(154),f=m(n(3)),h=n(156),d=n(157),p=n(158),v=n(160),g=n(161);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function b(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){y(o,n,i,a,s,"next",e)}function s(e){y(o,n,i,a,s,"throw",e)}a(void 0)}))}}function _(e,t){return S(e)||A(e,t)||w()}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function A(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function S(e){if(Array.isArray(e))return e}function x(e){return P(e)||C(e)||k()}function k(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function C(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function P(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t,r){return t&&R(e.prototype,t),r&&R(e,r),e}function O(e){return O="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},O(e)}var I,L=65536,F=!1,D=null,j=!1;"undefined"===typeof window?(F=!0,j=!0):j=!0,"undefined"!==typeof requirejs&&requirejs.toUrl&&(I=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var M,N="undefined"!==typeof requirejs&&requirejs.load;if(D=j?function(){return new Promise((function(e,t){r.e(1).then(function(){try{var n;n=r("55db"),e(n.WorkerMessageHandler)}catch(i){t(i)}}.bind(null,r)).catch(t)}))}:N?function(){return new Promise((function(e,t){requirejs(["pdfjs-dist/build/pdf.worker"],(function(r){try{e(r.WorkerMessageHandler)}catch(n){t(n)}}),t)}))}:null,!I&&"object"===("undefined"===typeof document?"undefined":O(document))&&"currentScript"in document){var U=document.currentScript&&document.currentScript.src;U&&(I=U.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function q(e){M=e}function B(e){var t,r=new G;if("string"===typeof e)t={url:e};else if((0,o.isArrayBuffer)(e))t={data:e};else if(e instanceof z)t={range:e};else{if("object"!==O(e))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var n=Object.create(null),i=null,s=null;for(var u in t)if("url"!==u||"undefined"===typeof window)if("range"!==u)if("worker"!==u)if("data"!==u||t[u]instanceof Uint8Array)n[u]=t[u];else{var l=t[u];if("string"===typeof l)n[u]=(0,o.stringToBytes)(l);else if("object"!==O(l)||null===l||isNaN(l.length)){if(!(0,o.isArrayBuffer)(l))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");n[u]=new Uint8Array(l)}else n[u]=new Uint8Array(l)}else s=t[u];else i=t[u];else n[u]=new o.URL(t[u],window.location).href;n.rangeChunkSize=n.rangeChunkSize||L,n.CMapReaderFactory=n.CMapReaderFactory||a.DOMCMapReaderFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.pdfBug=!0===n.pdfBug;var f=Object.values(o.NativeImageDecoding);if(void 0!==n.nativeImageDecoderSupport&&f.includes(n.nativeImageDecoderSupport)||(n.nativeImageDecoderSupport=c.apiCompatibilityParams.nativeImageDecoderSupport||o.NativeImageDecoding.DECODE),Number.isInteger(n.maxImageSize)||(n.maxImageSize=-1),"boolean"!==typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!==typeof n.disableFontFace&&(n.disableFontFace=c.apiCompatibilityParams.disableFontFace||!1),"boolean"!==typeof n.disableRange&&(n.disableRange=!1),"boolean"!==typeof n.disableStream&&(n.disableStream=!1),"boolean"!==typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),"boolean"!==typeof n.disableCreateObjectURL&&(n.disableCreateObjectURL=c.apiCompatibilityParams.disableCreateObjectURL||!1),(0,o.setVerbosityLevel)(n.verbosity),!s){var p={postMessageTransfers:n.postMessageTransfers,verbosity:n.verbosity,port:h.GlobalWorkerOptions.workerPort};s=p.port?V.fromPort(p):new V(p),r._worker=s}var g=r.docId;return s.promise.then((function(){if(r.destroyed)throw new Error("Loading aborted");return W(s,n,i,g).then((function(e){if(r.destroyed)throw new Error("Loading aborted");var t;i?t=new v.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(t=M({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream}));var o=new d.MessageHandler(g,e,s.port);o.postMessageTransfers=s.postMessageTransfers;var a=new Q(o,r,t,n);r._transport=a,o.send("Ready",null)}))}))["catch"](r._capability.reject),r}function W(e,t,r,n){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(r&&(t.length=r.length,t.initialData=r.initialData,t.progressiveDone=r.progressiveDone),e.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.2.228",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,disableCreateObjectURL:t.disableCreateObjectURL,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,nativeImageDecoderSupport:t.nativeImageDecoderSupport,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}var G=function(){var e=0,t=function(){function t(){E(this,t),this._capability=(0,o.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return T(t,[{key:"destroy",value:function(){var e=this;this.destroyed=!0;var t=this._transport?this._transport.destroy():Promise.resolve();return t.then((function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)}))}},{key:"then",value:function(e,t){return(0,a.deprecated)("PDFDocumentLoadingTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._capability.promise}}]),t}();return t}(),z=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];E(this,e),this.length=t,this.initialData=r,this.progressiveDone=n,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,o.createPromiseCapability)()}return T(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var r=!0,n=!1,i=void 0;try{for(var o,a=this._rangeListeners[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value;s(e,t)}}catch(c){n=!0,i=c}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}}},{key:"onDataProgress",value:function(e,t){var r=this;this._readyCapability.promise.then((function(){var n=!0,i=!1,o=void 0;try{for(var a,s=r._progressListeners[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;c(e,t)}}catch(u){i=!0,o=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var r=!0,n=!1,i=void 0;try{for(var o,a=t._progressiveReadListeners[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value;s(e)}}catch(c){n=!0,i=c}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t=!0,r=!1,n=void 0;try{for(var i,o=e._progressiveDoneListeners[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;a()}}catch(s){r=!0,n=s}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,o.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();t.PDFDataRangeTransport=z;var Y=function(){function e(t,r){E(this,e),this._pdfInfo=t,this._transport=r}return T(e,[{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenActionDestination",value:function(){return this._transport.getOpenActionDestination()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),e}();t.PDFDocumentProxy=Y;var H=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];E(this,e),this.pageIndex=t,this._pageInfo=r,this._transport=n,this._stats=i?new a.StatTimer:a.DummyStatTimer,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new K,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return T(e,[{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,r=e.rotation,n=void 0===r?this.rotate:r,i=e.dontFlip,o=void 0!==i&&i;return(arguments.length>1||"number"===typeof arguments[0])&&((0,a.deprecated)("getViewport is called with obsolete arguments."),t=arguments[0],n="number"===typeof arguments[1]?arguments[1]:this.rotate,o="boolean"===typeof arguments[2]&&arguments[2]),new a.PageViewport({viewBox:this.view,scale:t,rotation:n,dontFlip:o})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,r=void 0===t?null:t;return this.annotationsPromise&&this.annotationsIntent===r||(this.annotationsPromise=this._transport.getAnnotations(this.pageIndex,r),this.annotationsIntent=r),this.annotationsPromise}},{key:"render",value:function(e){var t=this,r=e.canvasContext,n=e.viewport,i=e.intent,s=void 0===i?"display":i,c=e.enableWebGL,u=void 0!==c&&c,l=e.renderInteractiveForms,f=void 0!==l&&l,h=e.transform,d=void 0===h?null:h,p=e.imageLayer,v=void 0===p?null:p,m=e.canvasFactory,y=void 0===m?null:m,b=e.background,_=void 0===b?null:b,w=this._stats;w.time("Overall"),this.pendingCleanup=!1;var A="print"===s?"print":"display",S=y||new a.DOMCanvasFactory,x=new g.WebGLContext({enable:u});this.intentStates[A]||(this.intentStates[A]=Object.create(null));var k=this.intentStates[A];k.displayReadyCapability||(k.receivingOperatorList=!0,k.displayReadyCapability=(0,o.createPromiseCapability)(),k.operatorList={fnArray:[],argsArray:[],lastChunk:!1},w.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:A,renderInteractiveForms:!0===f}));var C=function(e){var r=k.renderTasks.indexOf(P);r>=0&&k.renderTasks.splice(r,1),(t.cleanupAfterRender||"print"===A)&&(t.pendingCleanup=!0),t._tryCleanup(),e?P.capability.reject(e):P.capability.resolve(),w.timeEnd("Rendering"),w.timeEnd("Overall")},P=new Z({callback:C,params:{canvasContext:r,viewport:n,transform:d,imageLayer:v,background:_},objs:this.objs,commonObjs:this.commonObjs,operatorList:k.operatorList,pageNumber:this.pageNumber,canvasFactory:S,webGLContext:x,useRequestAnimationFrame:"print"!==A,pdfBug:this._pdfBug});k.renderTasks||(k.renderTasks=[]),k.renderTasks.push(P);var E=P.task;return k.displayReadyCapability.promise.then((function(e){t.pendingCleanup?C():(w.time("Rendering"),P.initializeGraphics(e),P.operatorListChanged())}))["catch"](C),E}},{key:"getOperatorList",value:function(){function e(){if(n.operatorList.lastChunk){n.opListReadCapability.resolve(n.operatorList);var e=n.renderTasks.indexOf(r);e>=0&&n.renderTasks.splice(e,1)}}var t="oplist";this.intentStates[t]||(this.intentStates[t]=Object.create(null));var r,n=this.intentStates[t];return n.opListReadCapability||(r={},r.operatorListChanged=e,n.receivingOperatorList=!0,n.opListReadCapability=(0,o.createPromiseCapability)(),n.renderTasks=[],n.renderTasks.push(r),n.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:t})),n.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,r=void 0!==t&&t,n=e.disableCombineTextItems,i=void 0!==n&&n,o=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===r,combineTextItems:!0!==i},{highWaterMark:o,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise((function(e,r){function n(){i.read().then((function(t){var r,i=t.value,a=t.done;a?e(o):(Object.assign(o.styles,i.styles),(r=o.items).push.apply(r,x(i.items)),n())}),r)}var i=t.getReader(),o={items:[],styles:Object.create(null)};n()}))}},{key:"_destroy",value:function(){this.destroyed=!0,this._transport.pageCache[this.pageIndex]=null;var e=[];return Object.keys(this.intentStates).forEach((function(t){if("oplist"!==t){var r=this.intentStates[t];r.renderTasks.forEach((function(t){var r=t.capability.promise["catch"]((function(){}));e.push(r),t.cancel()}))}}),this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup&&!Object.keys(this.intentStates).some((function(e){var t=this.intentStates[e];return 0!==t.renderTasks.length||t.receivingOperatorList}),this)&&(Object.keys(this.intentStates).forEach((function(e){delete this.intentStates[e]}),this),this.objs.clear(),this.annotationsPromise=null,e&&this._stats instanceof a.StatTimer&&(this._stats=new a.StatTimer),this.pendingCleanup=!1)}},{key:"_startRenderPage",value:function(e,t){var r=this.intentStates[t];r.displayReadyCapability&&r.displayReadyCapability.resolve(e)}},{key:"_renderPageChunk",value:function(e,t){for(var r=this.intentStates[t],n=0,i=e.length;n<i;n++)r.operatorList.fnArray.push(e.fnArray[n]),r.operatorList.argsArray.push(e.argsArray[n]);r.operatorList.lastChunk=e.lastChunk;for(var o=0;o<r.renderTasks.length;o++)r.renderTasks[o].operatorListChanged();e.lastChunk&&(r.receivingOperatorList=!1,this._tryCleanup())}},{key:"pageNumber",get:function(){return this.pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats instanceof a.StatTimer?this._stats:null}}]),e}();t.PDFPageProxy=H;var X=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];E(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return T(e,[{key:"postMessage",value:function(e,t){var r=this;function n(e){if("object"!==O(e)||null===e)return e;if(i.has(e))return i.get(e);var r,a;if((r=e.buffer)&&(0,o.isArrayBuffer)(r)){var s=t&&t.includes(r);return a=e===r?e:s?new e.constructor(r,e.byteOffset,e.byteLength):new e.constructor(e),i.set(e,a),a}for(var c in a=Array.isArray(e)?[]:{},i.set(e,a),e){var u=void 0,l=e;while(!(u=Object.getOwnPropertyDescriptor(l,c)))l=Object.getPrototypeOf(l);"undefined"!==typeof u.value&&"function"!==typeof u.value&&(a[c]=n(u.value))}return a}if(this._defer){var i=new WeakMap,a={data:n(e)};this._deferred.then((function(){r._listeners.forEach((function(e){e.call(this,a)}),r)}))}else this._listeners.forEach((function(t){t.call(this,{data:e})}),this)}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var r=this._listeners.indexOf(t);this._listeners.splice(r,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();t.LoopbackPort=X;var V=function(){var e,t=new WeakMap,r=0;function n(){if(h.GlobalWorkerOptions.workerSrc)return h.GlobalWorkerOptions.workerSrc;if("undefined"!==typeof I)return I;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function i(){try{if("undefined"!==typeof window)return window.pdfjsWorker&&window.pdfjsWorker.WorkerMessageHandler}catch(e){}return null}function s(){if(e)return e.promise;e=(0,o.createPromiseCapability)();var t=i();if(t)return e.resolve(t),e.promise;var r=D||function(){return(0,a.loadScript)(n()).then((function(){return window.pdfjsWorker.WorkerMessageHandler}))};return r().then(e.resolve,e.reject),e.promise}function c(e){var t="importScripts('"+e+"');";return o.URL.createObjectURL(new Blob([t]))}var u=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.name,i=void 0===n?null:n,a=r.port,s=void 0===a?null:a,c=r.postMessageTransfers,u=void 0===c||c,l=r.verbosity,f=void 0===l?(0,o.getVerbosityLevel)():l;if(E(this,e),s&&t.has(s))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=i,this.destroyed=!1,this.postMessageTransfers=!1!==u,this.verbosity=f,this._readyCapability=(0,o.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,s)return t.set(s,this),void this._initializeFromPort(s);this._initialize()}return T(e,[{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new d.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!==typeof Worker&&!F&&!i()){var t=n();try{(0,o.isSameOrigin)(window.location.href,t)||(t=c(new o.URL(t,window.location).href));var r=new Worker(t),a=new d.MessageHandler("main","worker",r),s=function(){r.removeEventListener("error",u),a.destroy(),r.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},u=function(){e._webWorker||s()};r.addEventListener("error",u),a.on("test",(function(t){r.removeEventListener("error",u),e.destroyed?s():t&&t.supportTypedArray?(e._messageHandler=a,e._port=r,e._webWorker=r,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),a.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),a.destroy(),r.terminate())})),a.on("ready",(function(t){if(r.removeEventListener("error",u),e.destroyed)s();else try{l()}catch(n){e._setupFakeWorker()}}));var l=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{a.send("test",t,[t.buffer])}catch(r){(0,o.info)("Cannot use postMessage transfers"),t[0]=0,a.send("test",t)}};return void l()}catch(f){(0,o.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;F||((0,o.warn)("Setting up fake worker."),F=!0),s().then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new X;e._port=n;var i="fake"+r++,o=new d.MessageHandler(i+"_worker",i,n);t.setup(o,n);var a=new d.MessageHandler(i,i+"_worker",n);e._messageHandler=a,e._readyCapability.resolve()}}))["catch"]((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),t["delete"](this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(r){if(!r||!r.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return t.has(r.port)?t.get(r.port):new e(r)}},{key:"getWorkerSrc",value:function(){return n()}}]),e}();return u}();t.PDFWorker=V;var Q=function(){function e(t,r,n,i){E(this,e),this.messageHandler=t,this.loadingTask=r,this.commonObjs=new K,this.fontLoader=new s.FontLoader({docId:r.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,o.createPromiseCapability)(),this.setupMessageHandler()}return T(e,[{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,o.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach((function(e){e&&t.push(e._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;var r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then((function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this.messageHandler,t=this.loadingTask;e.on("GetReader",(function(e,t){var r=this;(0,o.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(e){r._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=function(){r._fullReader.read().then((function(e){var r=e.value,n=e.done;n?t.close():((0,o.assert)((0,o.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r]))}))["catch"]((function(e){t.error(e)}))},t.onCancel=function(e){r._fullReader.cancel(e)}}),this),e.on("ReaderHeadersReady",(function(e){var r=this,n=(0,o.createPromiseCapability)(),i=this._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(r._lastProgress&&t.onProgress&&t.onProgress(r._lastProgress),i.onProgress=function(e){t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),n.reject),n.promise}),this),e.on("GetRangeReader",(function(e,t){(0,o.assert)(this._networkStream);var r=this._networkStream.getRangeReader(e.begin,e.end);r?(t.onPull=function(){r.read().then((function(e){var r=e.value,n=e.done;n?t.close():((0,o.assert)((0,o.isArrayBuffer)(r)),t.enqueue(new Uint8Array(r),1,[r]))}))["catch"]((function(e){t.error(e)}))},t.onCancel=function(e){r.cancel(e)}):t.close()}),this),e.on("GetDoc",(function(e){var r=e.pdfInfo;this._numPages=r.numPages,t._capability.resolve(new Y(r,this))}),this),e.on("PasswordRequest",(function(e){var r=this;if(this._passwordCapability=(0,o.createPromiseCapability)(),t.onPassword){var n=function(e){r._passwordCapability.resolve({password:e})};try{t.onPassword(n,e.code)}catch(i){this._passwordCapability.reject(i)}}else this._passwordCapability.reject(new o.PasswordException(e.message,e.code));return this._passwordCapability.promise}),this),e.on("PasswordException",(function(e){t._capability.reject(new o.PasswordException(e.message,e.code))}),this),e.on("InvalidPDF",(function(e){t._capability.reject(new o.InvalidPDFException(e.message))}),this),e.on("MissingPDF",(function(e){t._capability.reject(new o.MissingPDFException(e.message))}),this),e.on("UnexpectedResponse",(function(e){t._capability.reject(new o.UnexpectedResponseException(e.message,e.status))}),this),e.on("UnknownError",(function(e){t._capability.reject(new o.UnknownErrorException(e.message,e.details))}),this),e.on("DataLoaded",(function(e){t.onProgress&&t.onProgress({loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)}),this),e.on("StartRenderPage",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t._stats.timeEnd("Page Request"),t._startRenderPage(e.transparency,e.intent)}}),this),e.on("RenderPageChunk",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex];t._renderPageChunk(e.operatorList,e.intent)}}),this),e.on("commonobj",(function(t){var r=this;if(!this.destroyed){var n=_(t,3),i=n[0],a=n[1],c=n[2];if(!this.commonObjs.has(i))switch(a){case"Font":var u=this._params;if("error"in c){var l=c.error;(0,o.warn)("Error during font loading: ".concat(l)),this.commonObjs.resolve(i,l);break}var h=null;u.pdfBug&&f["default"].FontInspector&&f["default"].FontInspector.enabled&&(h={registerFont:function(e,t){f["default"]["FontInspector"].fontAdded(e,t)}});var d=new s.FontFaceObject(c,{isEvalSupported:u.isEvalSupported,disableFontFace:u.disableFontFace,ignoreErrors:u.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:h});this.fontLoader.bind(d).then((function(){r.commonObjs.resolve(i,d)}),(function(t){e.sendWithPromise("FontFallback",{id:i})["finally"]((function(){r.commonObjs.resolve(i,d)}))}));break;case"FontPath":case"FontType3Res":this.commonObjs.resolve(i,c);break;default:throw new Error("Got unknown common object type ".concat(a))}}}),this),e.on("obj",(function(e){if(!this.destroyed){var t=_(e,4),r=t[0],n=t[1],i=t[2],o=t[3],s=this.pageCache[n];if(!s.objs.has(r))switch(i){case"JpegStream":return new Promise((function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=function(){t(new Error("Error during JPEG image loading")),(0,a.releaseImageResources)(r)},r.src=o})).then((function(e){s.objs.resolve(r,e)}));case"Image":s.objs.resolve(r,o);var c=8e6;o&&"data"in o&&o.data.length>c&&(s.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(i))}}}),this),e.on("DocProgress",(function(e){this.destroyed||t.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}),this),e.on("PageError",(function(e){if(!this.destroyed){var t=this.pageCache[e.pageIndex],r=t.intentStates[e.intent];if(!r.displayReadyCapability)throw new Error(e.error);if(r.displayReadyCapability.reject(new Error(e.error)),r.operatorList){r.operatorList.lastChunk=!0;for(var n=0;n<r.renderTasks.length;n++)r.renderTasks[n].operatorListChanged()}}}),this),e.on("UnsupportedFeature",this._onUnsupportedFeature,this),e.on("JpegDecode",(function(e){if(this.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"===typeof document)return Promise.reject(new Error('"document" is not defined.'));var t=_(e,2),r=t[0],n=t[1];return 3!==n&&1!==n?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise((function(e,t){var i=new Image;i.onload=function(){var t=i.width,r=i.height,o=t*r,s=4*o,c=new Uint8ClampedArray(o*n),u=document.createElement("canvas");u.width=t,u.height=r;var l=u.getContext("2d");l.drawImage(i,0,0);var f=l.getImageData(0,0,t,r).data;if(3===n)for(var h=0,d=0;h<s;h+=4,d+=3)c[d]=f[h],c[d+1]=f[h+1],c[d+2]=f[h+2];else if(1===n)for(var p=0,v=0;p<s;p+=4,v++)c[v]=f[p];e({data:c,width:t,height:r}),(0,a.releaseImageResources)(i),u.width=0,u.height=0,u=null,l=null},i.onerror=function(){t(new Error("JpegDecode failed to load image")),(0,a.releaseImageResources)(i)},i.src=r}))}),this),e.on("FetchBuiltInCMap",(function(e){return this.destroyed?Promise.reject(new Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:e.name})}),this)}},{key:"_onUnsupportedFeature",value:function(e){var t=e.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(t)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var r=e-1;if(r in this.pagePromises)return this.pagePromises[r];var n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var n=new H(r,e,t,t._params.pdfBug);return t.pageCache[r]=n,n}));return this.pagePromises[r]=n,n}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})["catch"]((function(e){return Promise.reject(new Error(e))}))}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!==typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenActionDestination",value:function(){return this.messageHandler.sendWithPromise("GetOpenActionDestination",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){return{info:t[0],metadata:t[1]?new p.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var e=this;this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var t=0,r=e.pageCache.length;t<r;t++){var n=e.pageCache[t];n&&n.cleanup()}e.commonObjs.clear(),e.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var e=this._params;return(0,o.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableCreateObjectURL:e.disableCreateObjectURL,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport})}}]),e}(),K=function(){function e(){E(this,e),this._objs=Object.create(null)}return T(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,o.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var r=this._objs[e];if(!r||!r.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return r.data}},{key:"has",value:function(e){var t=this._objs[e];return!!t&&t.resolved}},{key:"resolve",value:function(e,t){var r=this._ensureObj(e);r.resolved=!0,r.data=t,r.capability.resolve(t)}},{key:"clear",value:function(){for(var e in this._objs){var t=this._objs[e].data;"undefined"!==typeof Image&&t instanceof Image&&(0,a.releaseImageResources)(t)}this._objs=Object.create(null)}}]),e}(),J=function(){function e(t){E(this,e),this._internalRenderTask=t,this.onContinue=null}return T(e,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"then",value:function(e,t){return(0,a.deprecated)("RenderTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),e}(),Z=function(){var e=new WeakSet,t=function(){function t(e){var r=e.callback,n=e.params,i=e.objs,a=e.commonObjs,s=e.operatorList,c=e.pageNumber,u=e.canvasFactory,l=e.webGLContext,f=e.useRequestAnimationFrame,h=void 0!==f&&f,d=e.pdfBug,p=void 0!==d&&d;E(this,t),this.callback=r,this.params=n,this.objs=i,this.commonObjs=a,this.operatorListIdx=null,this.operatorList=s,this.pageNumber=c,this.canvasFactory=u,this.webGLContext=l,this._pdfBug=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!==typeof window,this.cancelled=!1,this.capability=(0,o.createPromiseCapability)(),this.task=new J(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}return T(t,[{key:"initializeGraphics",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.add(this._canvas)}this._pdfBug&&f["default"].StepperManager&&f["default"].StepperManager.enabled&&(this.stepper=f["default"].StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var r=this.params,n=r.canvasContext,i=r.viewport,o=r.transform,a=r.imageLayer,s=r.background;this.gfx=new l.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,a),this.gfx.beginDrawing({transform:o,viewport:i,transparency:t,background:s}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback(t||new a.RenderingCancelledException("Rendering cancelled, page ".concat(this.pageNumber),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound()["catch"](e.cancel.bind(e))})):Promise.resolve().then(this._nextBound)["catch"](this.cancel.bind(this))}},{key:"_next",value:function(){var t=b(i["default"].mark((function t(){return i["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e["delete"](this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)})));function r(){return t.apply(this,arguments)}return r}()}]),t}();return t}(),$="2.2.228";t.version=$;var ee="d7afb74a";t.build=ee},function(e,t,r){"use strict";e.exports=r(149)},function(e,t,r){"use strict";(function(e){function t(e){return t="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},t(e)}var r=function(e){var r,n=Object.prototype,i=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new R(n||[]);return o._invoke=k(e,r,a),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[a]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&i.call(w,a)&&(b=w);var A=y.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function r(n,o,a,s){var c=l(e[n],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===t(f)&&i.call(f,"__await")?Promise.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):Promise.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var n;function o(e,t){function i(){return new Promise((function(n,i){r(e,t,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=o}function k(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return O()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?p:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function C(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=r,C(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var t=e[a];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){while(++n<e.length)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:r,done:!0}}return m.prototype=A.constructor=y,y.constructor=m,y[c]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},S(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var o=new x(u(t,r,n,i));return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(A),A[c]="Generator",A[a]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return s.type="throw",s.arg=e,t.next=n,i&&(t.method="next",t.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),v}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=r}catch(n){Function("r","regeneratorRuntime = r")(r)}}).call(this,r(150)(e))},function(e,t,r){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=_,t.getFilenameFromUrl=w,t.isFetchSupported=k,t.isValidFetchUrl=C,t.loadScript=P,t.deprecated=E,t.releaseImageResources=R,t.PDFDateString=t.DummyStatTimer=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.RenderingCancelledException=t.PageViewport=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,c,"next",e)}function c(e){a(o,n,i,s,c,"throw",e)}s(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}var f="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=f;var h="http://www.w3.org/2000/svg",d=function(){function e(){c(this,e)}return l(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,{canvas:r,context:n}}},{key:"reset",value:function(e,t,r){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||r<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=r}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}();t.DOMCanvasFactory=d;var p=function(){function e(t){var r=t.baseUrl,n=void 0===r?null:r,i=t.isCompressed,o=void 0!==i&&i;c(this,e),this.baseUrl=n,this.isCompressed=o}return l(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=s(n["default"].mark((function e(t){var r,o,a,c=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(r){e.next=5;break}throw new Error("CMap name must be specified.");case 5:if(o=this.baseUrl+r+(this.isCompressed?".bcmap":""),a=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,!k()||!C(o,document.baseURI)){e.next=9;break}return e.abrupt("return",fetch(o).then(function(){var e=s(n["default"].mark((function e(t){var r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}throw new Error(t.statusText);case 2:if(!c.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,t.arrayBuffer();case 6:e.t1=e.sent,r=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=i.stringToBytes,e.next=13,t.text();case 13:e.t3=e.sent,r=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:r,compressionType:a});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())["catch"]((function(e){throw new Error("Unable to load ".concat(c.isCompressed?"binary ":"")+"CMap at: ".concat(o))})));case 9:return e.abrupt("return",new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",o,!0),c.isCompressed&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE){var n;if(200===r.status||0===r.status)if(c.isCompressed&&r.response?n=new Uint8Array(r.response):!c.isCompressed&&r.responseText&&(n=(0,i.stringToBytes)(r.responseText)),n)return void e({cMapData:n,compressionType:a});t(new Error(r.statusText))}},r.send(null)}))["catch"]((function(e){throw new Error("Unable to load ".concat(c.isCompressed?"binary ":"")+"CMap at: ".concat(o))})));case 10:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}())}]),e}();t.DOMCMapReaderFactory=p;var v=function(){function e(){c(this,e)}return l(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var r=document.createElementNS(h,"svg:svg");return r.setAttribute("version","1.1"),r.setAttribute("width",e+"px"),r.setAttribute("height",t+"px"),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox","0 0 "+e+" "+t),r}},{key:"createElement",value:function(e){return(0,i.assert)("string"===typeof e,"Invalid SVG element type"),document.createElementNS(h,e)}}]),e}();t.DOMSVGFactory=v;var g=function(){function e(t){var r=t.viewBox,n=t.scale,i=t.rotation,o=t.offsetX,a=void 0===o?0:o,s=t.offsetY,u=void 0===s?0:s,l=t.dontFlip,f=void 0!==l&&l;c(this,e),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=a,this.offsetY=u;var h,d,p,v,g,m,y,b,_=(r[2]+r[0])/2,w=(r[3]+r[1])/2;switch(i%=360,i=i<0?i+360:i,i){case 180:h=-1,d=0,p=0,v=1;break;case 90:h=0,d=1,p=1,v=0;break;case 270:h=0,d=-1,p=-1,v=0;break;default:h=1,d=0,p=0,v=-1;break}f&&(p=-p,v=-v),0===h?(g=Math.abs(w-r[1])*n+a,m=Math.abs(_-r[0])*n+u,y=Math.abs(r[3]-r[1])*n,b=Math.abs(r[2]-r[0])*n):(g=Math.abs(_-r[0])*n+a,m=Math.abs(w-r[1])*n+u,y=Math.abs(r[2]-r[0])*n,b=Math.abs(r[3]-r[1])*n),this.transform=[h*n,d*n,p*n,v*n,g-h*n*_-p*n*w,m-d*n*_-v*n*w],this.width=y,this.height=b}return l(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.scale,n=void 0===r?this.scale:r,i=t.rotation,o=void 0===i?this.rotation:i,a=t.dontFlip,s=void 0!==a&&a;return new e({viewBox:this.viewBox.slice(),scale:n,rotation:o,offsetX:this.offsetX,offsetY:this.offsetY,dontFlip:s})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),r=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=g;var m=function(){function e(e,t){this.message=e,this.type=t}return e.prototype=new Error,e.prototype.name="RenderingCancelledException",e.constructor=e,e}();t.RenderingCancelledException=m;var y={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};t.LinkTarget=y;var b=["","_self","_blank","_parent","_top"];function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.url,n=t.target,o=t.rel;if(e.href=e.title=r?(0,i.removeNullCharacters)(r):"",r){var a=Object.values(y),s=a.includes(n)?n:y.NONE;e.target=b[s],e.rel="string"===typeof o?o:f}}function w(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=Math.min(t>0?t:e.length,r>0?r:e.length);return e.substring(e.lastIndexOf("/",n)+1,n)}var A=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];c(this,e),this.enabled=!!t,this.started=Object.create(null),this.times=[]}return l(e,[{key:"time",value:function(e){this.enabled&&(e in this.started&&(0,i.warn)("Timer is already running for "+e),this.started[e]=Date.now())}},{key:"timeEnd",value:function(e){this.enabled&&(e in this.started||(0,i.warn)("Timer has not been started for "+e),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e])}},{key:"toString",value:function(){var e="",t=0,r=!0,n=!1,i=void 0;try{for(var o,a=this.times[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var s=o.value,c=s.name;c.length>t&&(t=c.length)}}catch(g){n=!0,i=g}finally{try{r||null==a["return"]||a["return"]()}finally{if(n)throw i}}var u=!0,l=!1,f=void 0;try{for(var h,d=this.times[Symbol.iterator]();!(u=(h=d.next()).done);u=!0){var p=h.value,v=p.end-p.start;e+="".concat(p.name.padEnd(t)," ").concat(v,"ms\n")}}catch(g){l=!0,f=g}finally{try{u||null==d["return"]||d["return"]()}finally{if(l)throw f}}return e}}]),e}();t.StatTimer=A;var S,x=function(){function e(){c(this,e),(0,i.unreachable)("Cannot initialize DummyStatTimer.")}return l(e,null,[{key:"time",value:function(e){}},{key:"timeEnd",value:function(e){}},{key:"toString",value:function(){return""}}]),e}();function k(){return"undefined"!==typeof fetch&&"undefined"!==typeof Response&&"body"in Response.prototype&&"undefined"!==typeof ReadableStream}function C(e,t){try{var r=t?new i.URL(e,t):new i.URL(e),n=r.protocol;return"http:"===n||"https:"===n}catch(o){return!1}}function P(e){return new Promise((function(t,r){var n=document.createElement("script");n.src=e,n.onload=t,n.onerror=function(){r(new Error("Cannot load script at: ".concat(n.src)))},(document.head||document.documentElement).appendChild(n)}))}function E(e){console.log("Deprecated API usage: "+e)}function R(e){(0,i.assert)(e instanceof Image,"Invalid `img` parameter.");var t=e.src;"string"===typeof t&&t.startsWith("blob:")&&i.URL.revokeObjectURL&&i.URL.revokeObjectURL(t),e.removeAttribute("src")}t.DummyStatTimer=x;var T=function(){function e(){c(this,e)}return l(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;S||(S=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=S.exec(e);if(!t)return null;var r=parseInt(t[1],10),n=parseInt(t[2],10);n=n>=1&&n<=12?n-1:0;var o=parseInt(t[3],10);o=o>=1&&o<=31?o:1;var a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var c=parseInt(t[6],10);c=c>=0&&c<=59?c:0;var u=t[7]||"Z",l=parseInt(t[8],10);l=l>=0&&l<=23?l:0;var f=parseInt(t[9],10)||0;return f=f>=0&&f<=59?f:0,"-"===u?(a+=l,s+=f):"+"===u&&(a-=l,s-=f),new Date(Date.UTC(r,n,o,a,s,c))}}]),e}();t.PDFDateString=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},a(e)}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){d(o,n,i,a,s,"next",e)}function s(e){d(o,n,i,a,s,"throw",e)}a(void 0)}))}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}var y,b=function(){function e(t){var r=t.docId,n=t.onUnsupportedFeature;v(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=r,this._onUnsupportedFeature=n,this.nativeFontFaces=[],this.styleElement=null}return m(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||(t=this.styleElement=document.createElement("style"),t.id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(t));var r=t.sheet;r.insertRule(e,r.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach((function(e){document.fonts["delete"](e)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:function(){var e=p(n["default"].mark((function e(t){var r,o,a=this;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return",void 0);case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(r=t.createNativeFontFace(),!r){e.next=18;break}return this.addNativeFontFace(r),e.prev=7,e.next=10,r.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e["catch"](7),this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)("Failed to load font '".concat(r.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return",void 0);case 19:if(o=t.createFontFaceRule(),!o){e.next=25;break}if(this.insertRule(o),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return",void 0);case 24:return e.abrupt("return",new Promise((function(e){var r=a._queueLoadingCallback(e);a._prepareFontLoadEvent([o],[t],r)})));case 25:return e.abrupt("return",void 0);case 26:case"end":return e.stop()}}),e,this,[[7,12]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"_queueLoadingCallback",value:function(e){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,r){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){(0,i.unreachable)("Abstract method `isFontLoadingAPISupported`.")}},{key:"isSyncFontLoadingSupported",get:function(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}}]),e}();t.FontLoader=y,t.FontLoader=y=function(e){function t(e){var r;return v(this,t),r=s(this,l(t).call(this,e)),r.loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return f(t,e),m(t,[{key:"_queueLoadingCallback",value:function(e){function t(){(0,i.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;while(r.requests.length>0&&r.requests[0].done){var e=r.requests.shift();setTimeout(e.callback,0)}}var r=this.loadingContext,n={id:"pdfjs-font-loading-".concat(r.nextRequestId++),done:!1,complete:t,callback:e};return r.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(e,t,r){function n(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,r,n){var i=e.substring(0,t),o=e.substring(t+r);return i+n+o}var a,s,c=document.createElement("canvas");c.width=1,c.height=1;var u=c.getContext("2d"),l=0;function f(e,t){if(l++,l>30)return(0,i.warn)("Load test font never loaded."),void t();u.font="30px "+e,u.fillText(".",0,20);var r=u.getImageData(0,0,1,1);r.data[3]>0?t():setTimeout(f.bind(null,e,t))}var h="lt".concat(Date.now()).concat(this.loadTestFontId++),d=this._loadTestFont,p=976;d=o(d,p,h.length,h);var v=16,g=1482184792,m=n(d,v);for(a=0,s=h.length-3;a<s;a+=4)m=m-g+n(h,a)|0;a<h.length&&(m=m-g+n(h+"XXX",a)|0),d=o(d,v,4,(0,i.string32)(m));var y="url(data:font/opentype;base64,".concat(btoa(d),");"),b='@font-face {font-family:"'.concat(h,'";src:').concat(y,"}");this.insertRule(b);var _=[];for(a=0,s=t.length;a<s;a++)_.push(t[a].loadedName);_.push(h);var w=document.createElement("div");for(w.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),a=0,s=_.length;a<s;++a){var A=document.createElement("span");A.textContent="Hi",A.style.fontFamily=_[a],w.appendChild(A)}document.body.appendChild(w),f(h,(function(){document.body.removeChild(w),r.complete()}))}},{key:"isFontLoadingAPISupported",get:function(){var e="undefined"!==typeof document&&!!document.fonts;if(e&&"undefined"!==typeof navigator){var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]<63&&(e=!1)}return(0,i.shadow)(this,"isFontLoadingAPISupported",e)}},{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"===typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]>=14&&(e=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_loadTestFont",get:function(){var e=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,i.shadow)(this,"_loadTestFont",e())}}]),t}(b);var _={get value(){return(0,i.shadow)(this,"value",(0,i.isEvalSupported)())}},w=function(){function e(t,r){var n=r.isEvalSupported,i=void 0===n||n,o=r.disableFontFace,a=void 0!==o&&o,s=r.ignoreErrors,c=void 0!==s&&s,u=r.onUnsupportedFeature,l=void 0===u?null:u,f=r.fontRegistry,h=void 0===f?null:f;for(var d in v(this,e),this.compiledGlyphs=Object.create(null),t)this[d]=t[d];this.isEvalSupported=!1!==i,this.disableFontFace=!0===a,this.ignoreErrors=!0===c,this._onUnsupportedFeature=l,this.fontRegistry=h}return m(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e=(0,i.bytesToString)(new Uint8Array(this.data)),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");"),r='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),r}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var r,n;try{r=e.get(this.loadedName+"_path_"+t)}catch(u){if(!this.ignoreErrors)throw u;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.font}),(0,i.warn)('getPathGenerator - ignoring character: "'.concat(u,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&_.value){for(var o,a="",s=0,c=r.length;s<c;s++)n=r[s],o=void 0!==n.args?n.args.join(","):"",a+="c."+n.cmd+"("+o+");\n";return this.compiledGlyphs[t]=new Function("c","size",a)}return this.compiledGlyphs[t]=function(e,t){for(var i=0,o=r.length;i<o;i++)n=r[i],"scale"===n.cmd&&(n.args=[t,-t]),e[n.cmd].apply(e,n.args)}}}]),e}();t.FontFaceObject=w},function(e,t,r){"use strict";var n=Object.create(null),i=r(4),o="undefined"!==typeof navigator&&navigator.userAgent||"",a=/Trident/.test(o),s=/CriOS/.test(o);(function(){(a||s)&&(n.disableCreateObjectURL=!0)})(),function(){i()&&(n.disableFontFace=!0,n.nativeImageDecoderSupport="none")}(),t.apiCompatibilityParams=Object.freeze(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(1),i=r(155),o=16,a=100,s=4096,c=.65,u=!0,l=1e3,f=16,h={get value(){return(0,n.shadow)(h,"value",(0,n.isLittleEndian)())}};function d(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],a=e[5],s=t*i-r*n,c=r*n-t*i;return[i/s,r/c,n/c,t/s,(i*o-n*a)/c,(r*o-t*a)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var r=this._transformMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5],this._originalTranslate(e,t)},e.scale=function(e,t){var r=this._transformMatrix;r[0]=r[0]*e,r[1]=r[1]*e,r[2]=r[2]*t,r[3]=r[3]*t,this._originalScale(e,t)},e.transform=function(t,r,n,i,o,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*r,s[1]*t+s[3]*r,s[0]*n+s[2]*i,s[1]*n+s[3]*i,s[0]*o+s[2]*a+s[4],s[1]*o+s[3]*a+s[5]],e._originalTransform(t,r,n,i,o,a)},e.setTransform=function(t,r,n,i,o,a){this._transformMatrix=[t,r,n,i,o,a],e._originalSetTransform(t,r,n,i,o,a)},e.rotate=function(e){var t=Math.cos(e),r=Math.sin(e),n=this._transformMatrix;this._transformMatrix=[n[0]*t+n[2]*r,n[1]*t+n[3]*r,n[0]*-r+n[2]*t,n[1]*-r+n[3]*t,n[4],n[5]],this._originalRotate(e)})}var p=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,r,n){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,r),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,r),this.cache[e]=i),n&&d(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}();function v(e){var t,r,n,i,o=1e3,a=e.width,s=e.height,c=a+1,u=new Uint8Array(c*(s+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),f=a+7&-8,h=e.data,d=new Uint8Array(f*s),p=0;for(t=0,i=h.length;t<i;t++){var v=128,g=h[t];while(v>0)d[p++]=g&v?0:255,v>>=1}var m=0;for(p=0,0!==d[p]&&(u[0]=1,++m),r=1;r<a;r++)d[p]!==d[p+1]&&(u[r]=d[p]?2:1,++m),p++;for(0!==d[p]&&(u[r]=2,++m),t=1;t<s;t++){p=t*f,n=t*c,d[p-f]!==d[p]&&(u[n]=d[p]?1:8,++m);var y=(d[p]?4:0)+(d[p-f]?8:0);for(r=1;r<a;r++)y=(y>>2)+(d[p+1]?4:0)+(d[p-f+1]?8:0),l[y]&&(u[n+r]=l[y],++m),p++;if(d[p-f]!==d[p]&&(u[n+r]=d[p]?2:4,++m),m>o)return null}for(p=f*(s-1),n=t*c,0!==d[p]&&(u[n]=8,++m),r=1;r<a;r++)d[p]!==d[p+1]&&(u[n+r]=d[p]?4:8,++m),p++;if(0!==d[p]&&(u[n+r]=4,++m),m>o)return null;var b=new Int32Array([0,c,-1,0,-c,0,0,0,1]),_=[];for(t=0;m&&t<=s;t++){var w=t*c,A=w+a;while(w<A&&!u[w])w++;if(w!==A){var S,x=[w%c,t],k=u[w],C=w;do{var P=b[k];do{w+=P}while(!u[w]);S=u[w],5!==S&&10!==S?(k=S,u[w]=0):(k=S&51*k>>4,u[w]&=k>>2|k<<2),x.push(w%c),x.push(w/c|0),u[w]||--m}while(C!==w);_.push(x),--t}}var E=function(e){e.save(),e.scale(1/a,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,r=_.length;t<r;t++){var n=_[t];e.moveTo(n[0],n[1]);for(var i=2,o=n.length;i<o;i+=2)e.lineTo(n[i],n[i+1])}e.fill(),e.beginPath(),e.restore()};return E}var g=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),m=function(){var e=15,t=10;function r(e,t,r,n,i,o){this.ctx=e,this.current=new g,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.webGLContext=i,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new p(this.canvasFactory),e&&d(e),this._cachedGetSinglePixelWidth=null}function m(e,t){if("undefined"!==typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var r,i,o,a,s,c=t.height,u=t.width,l=c%f,d=(c-l)/f,p=0===l?d:d+1,v=e.createImageData(u,f),g=0,m=t.data,y=v.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){var b=m.byteLength,_=new Uint32Array(y.buffer,0,y.byteLength>>2),w=_.length,A=u+7>>3,S=4294967295,x=h.value?4278190080:255;for(i=0;i<p;i++){for(a=i<d?f:l,r=0,o=0;o<a;o++){for(var k=b-g,C=0,P=k>A?u:8*k-7,E=-8&P,R=0,T=0;C<E;C+=8)T=m[g++],_[r++]=128&T?S:x,_[r++]=64&T?S:x,_[r++]=32&T?S:x,_[r++]=16&T?S:x,_[r++]=8&T?S:x,_[r++]=4&T?S:x,_[r++]=2&T?S:x,_[r++]=1&T?S:x;for(;C<P;C++)0===R&&(T=m[g++],R=128),_[r++]=T&R?S:x,R>>=1}while(r<w)_[r++]=0;e.putImageData(v,0,i*f)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(o=0,s=u*f*4,i=0;i<d;i++)y.set(m.subarray(g,g+s)),g+=s,e.putImageData(v,0,o),o+=f;i<p&&(s=u*l*4,y.set(m.subarray(g,g+s)),e.putImageData(v,0,o))}else{if(t.kind!==n.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));for(a=f,s=u*a,i=0;i<p;i++){for(i>=d&&(a=l,s=u*a),r=0,o=s;o--;)y[r++]=m[g++],y[r++]=m[g++],y[r++]=m[g++],y[r++]=255;e.putImageData(v,0,i*f)}}}}function y(e,t){for(var r=t.height,n=t.width,i=r%f,o=(r-i)/f,a=0===i?o:o+1,s=e.createImageData(n,f),c=0,u=t.data,l=s.data,h=0;h<a;h++){for(var d=h<o?f:i,p=3,v=0;v<d;v++)for(var g=0,m=0;m<n;m++){if(!g){var y=u[c++];g=128}l[p]=y&g?0:255,p+=4,g>>=1}e.putImageData(s,0,h*f)}}function b(e,t){for(var r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],n=0,i=r.length;n<i;n++){var o=r[n];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function _(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function w(e,t,r,n){for(var i=e.length,o=3;o<i;o+=4){var a=e[o];if(0===a)e[o-3]=t,e[o-2]=r,e[o-1]=n;else if(a<255){var s=255-a;e[o-3]=e[o-3]*a+t*s>>8,e[o-2]=e[o-2]*a+r*s>>8,e[o-1]=e[o-1]*a+n*s>>8}}}function A(e,t,r){for(var n=e.length,i=1/255,o=3;o<n;o+=4){var a=r?r[e[o]]:e[o];t[o]=t[o]*a*i|0}}function S(e,t,r){for(var n=e.length,i=3;i<n;i+=4){var o=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[o>>8]>>8:t[i]*o>>16}}function x(e,t,r,n,i,o,a){var s,c=!!o,u=c?o[0]:0,l=c?o[1]:0,f=c?o[2]:0;s="Luminosity"===i?S:A;for(var h=1048576,d=Math.min(n,Math.ceil(h/r)),p=0;p<n;p+=d){var v=Math.min(d,n-p),g=e.getImageData(0,p,r,v),m=t.getImageData(0,p,r,v);c&&w(g.data,u,l,f),s(g.data,m.data,a),e.putImageData(m,0,p)}}function k(e,t,r,n){var i=t.canvas,o=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var a=t.backdrop||null;if(!t.transferMap&&n.isEnabled){var s=n.composeSMask({layer:r.canvas,mask:i,properties:{subtype:t.subtype,backdrop:a}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(s,t.offsetX,t.offsetY)}x(o,r,i.width,i.height,t.subtype,a,t.transferMap),e.drawImage(i,0,0)}var C=["butt","round","square"],P=["miter","round","bevel"],E={},R={};for(var T in r.prototype={beginDrawing:function(e){var t=e.transform,r=e.viewport,n=e.transparency,i=void 0!==n&&n,o=e.background,a=void 0===o?null:o,s=this.ctx.canvas.width,c=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,c),this.ctx.restore(),i){var u=this.cachedCanvases.getCanvas("transparent",s,c,!0);this.compositeCtx=this.ctx,this.transparentCanvas=u.canvas,this.ctx=u.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),_(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,r.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(r,i,o,a){var s=r.argsArray,c=r.fnArray,u=i||0,l=s.length;if(l===u)return u;var f,h=l-u>t&&"function"===typeof o,d=h?Date.now()+e:0,p=0,v=this.commonObjs,g=this.objs;while(1){if(void 0!==a&&u===a.nextBreakPoint)return a.breakIt(u,o),u;if(f=c[u],f!==n.OPS.dependency)this[f].apply(this,s[u]);else{var m=!0,y=!1,b=void 0;try{for(var _,w=s[u][Symbol.iterator]();!(m=(_=w.next()).done);m=!0){var A=_.value,S=A.startsWith("g_")?v:g;if(!S.has(A))return S.get(A,o),u}}catch(x){y=!0,b=x}finally{try{m||null==w["return"]||w["return"]()}finally{if(y)throw b}}}if(u++,u===l)return u;if(h&&++p>t){if(Date.now()>d)return o(),u;p=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=C[e]},setLineJoin:function(e){this.ctx.lineJoin=P[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,r=e.length;t<r;t++){var n=e[t],i=n[0],o=n[1];switch(i){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null;break}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r,!0),o=this.ctx,a=o.mozCurrentTransform;this.ctx.save();var s=i.context;s.scale(1/e.scaleX,1/e.scaleY),s.translate(-e.offsetX,-e.offsetY),s.transform.apply(s,a),e.startTransformInverse=s.mozCurrentTransformInverse,b(o,s),this.ctx=s,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(o),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),b(e,this.ctx),this.current.resumeSMaskCtx=e;var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),k(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),b(e,this.ctx);var t=n.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(e,t,r,n,i,o){this.ctx.transform(e,t,r,n,i,o),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var r=this.ctx,i=this.current,o=i.x,a=i.y,s=0,c=0,u=e.length;s<u;s++)switch(0|e[s]){case n.OPS.rectangle:o=t[c++],a=t[c++];var l=t[c++],f=t[c++];0===l&&(l=this.getSinglePixelWidth()),0===f&&(f=this.getSinglePixelWidth());var h=o+l,d=a+f;this.ctx.moveTo(o,a),this.ctx.lineTo(h,a),this.ctx.lineTo(h,d),this.ctx.lineTo(o,d),this.ctx.lineTo(o,a),this.ctx.closePath();break;case n.OPS.moveTo:o=t[c++],a=t[c++],r.moveTo(o,a);break;case n.OPS.lineTo:o=t[c++],a=t[c++],r.lineTo(o,a);break;case n.OPS.curveTo:o=t[c+4],a=t[c+5],r.bezierCurveTo(t[c],t[c+1],t[c+2],t[c+3],o,a),c+=6;break;case n.OPS.curveTo2:r.bezierCurveTo(o,a,t[c],t[c+1],t[c+2],t[c+3]),o=t[c+2],a=t[c+3],c+=4;break;case n.OPS.curveTo3:o=t[c+2],a=t[c+3],r.bezierCurveTo(t[c],t[c+1],o,a,o,a),c+=4;break;case n.OPS.closePath:r.closePath();break}i.setCurrentPoint(o,a)},closePath:function(){this.ctx.closePath()},stroke:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.strokeColor;t.lineWidth=Math.max(this.getSinglePixelWidth()*c,this.current.lineWidth),t.globalAlpha=this.current.strokeAlpha,r&&r.hasOwnProperty("type")&&"Pattern"===r.type?(t.save(),t.strokeStyle=r.getPattern(t,this),t.stroke(),t.restore()):t.stroke(),e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e="undefined"===typeof e||e;var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=!1;n&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=r.getPattern(t,this),i=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),i&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=E},eoClip:function(){this.pendingClip=R},beginText:function(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var r=0;r<e.length;r++){var n=e[r];t.setTransform.apply(t,n.transform),t.translate(n.x,n.y),n.addToPath(t,n.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var r=this.commonObjs.get(e),i=this.current;if(!r)throw new Error("Can't find font for ".concat(e));if(i.fontMatrix=r.fontMatrix?r.fontMatrix:n.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,!r.isType3Font){var s=r.loadedName||"sans-serif",c=r.black?"900":r.bold?"bold":"normal",u=r.italic?"italic":"normal",l='"'.concat(s,'", ').concat(r.fallbackName),f=t<o?o:t>a?a:t;this.current.fontSizeScale=t/f,this.ctx.font="".concat(u," ").concat(c," ").concat(f,"px ").concat(l)}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,r,n,i,o){this.current.textMatrix=[e,t,r,n,i,o],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,r,i){var o,a=this.ctx,s=this.current,c=s.font,u=s.textRenderingMode,l=s.fontSize/s.fontSizeScale,f=u&n.TextRenderingMode.FILL_STROKE_MASK,h=!!(u&n.TextRenderingMode.ADD_TO_PATH_FLAG),d=s.patternFill&&c.data;if((c.disableFontFace||h||d)&&(o=c.getPathGenerator(this.commonObjs,e)),c.disableFontFace||d?(a.save(),a.translate(t,r),a.beginPath(),o(a,l),i&&a.setTransform.apply(a,i),f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||a.fill(),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(f!==n.TextRenderingMode.FILL&&f!==n.TextRenderingMode.FILL_STROKE||a.fillText(e,t,r),f!==n.TextRenderingMode.STROKE&&f!==n.TextRenderingMode.FILL_STROKE||a.strokeText(e,t,r)),h){var p=this.pendingTextPaths||(this.pendingTextPaths=[]);p.push({transform:a.mozCurrentTransform,x:t,y:r,fontSize:l,addToPath:o})}},get isFontSubpixelAAEnabled(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10),t=e.context;t.scale(1.5,1),t.fillText("I",0,10);for(var r=t.getImageData(0,0,10,10).data,i=!1,o=3;o<r.length;o+=4)if(r[o]>0&&r[o]<255){i=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",i)},showText:function(e){var t=this.current,r=t.font;if(r.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var o,a=this.ctx,s=t.fontSizeScale,u=t.charSpacing,l=t.wordSpacing,f=t.fontDirection,h=t.textHScale*f,d=e.length,p=r.vertical,v=p?1:-1,g=r.defaultVMetrics,m=i*t.fontMatrix[0],y=t.textRenderingMode===n.TextRenderingMode.FILL&&!r.disableFontFace&&!t.patternFill;if(a.save(),t.patternFill){a.save();var b=t.fillColor.getPattern(a,this);o=a.mozCurrentTransform,a.restore(),a.fillStyle=b}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),f>0?a.scale(h,-1):a.scale(h,1);var _=t.lineWidth,w=t.textMatrixScale;if(0===w||0===_){var A=t.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;A!==n.TextRenderingMode.STROKE&&A!==n.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,_=this.getSinglePixelWidth()*c)}else _/=w;1!==s&&(a.scale(s,s),_/=s),a.lineWidth=_;var S,x=0;for(S=0;S<d;++S){var k=e[S];if((0,n.isNum)(k))x+=v*k*i/1e3;else{var C,P,E,R,T,O,I,L=!1,F=(k.isSpace?l:0)+u,D=k.fontChar,j=k.accent,M=k.width;if(p)T=k.vmetric||g,O=k.vmetric?T[1]:.5*M,O=-O*m,I=T[2]*m,M=T?-T[0]:M,C=O/s,P=(x+I)/s;else C=x/s,P=0;if(r.remeasure&&M>0){var N=1e3*a.measureText(D).width/i*s;if(M<N&&this.isFontSubpixelAAEnabled){var U=M/N;L=!0,a.save(),a.scale(U,1),C/=U}else M!==N&&(C+=(M-N)/2e3*i/s)}(k.isInFont||r.missingFile)&&(y&&!j?a.fillText(D,C,P):(this.paintChar(D,C,P,o),j&&(E=C+j.offset.x/s,R=P-j.offset.y/s,this.paintChar(j.fontChar,E,R,o))));var q=M*m+F*f;x+=q,L&&a.restore()}}p?t.y-=x*h:t.x+=x*h,a.restore()}},showType3Text:function(e){var t,r,i,o,a=this.ctx,s=this.current,c=s.font,u=s.fontSize,l=s.fontDirection,f=c.vertical?1:-1,h=s.charSpacing,d=s.wordSpacing,p=s.textHScale*l,v=s.fontMatrix||n.FONT_IDENTITY_MATRIX,g=e.length,m=s.textRenderingMode===n.TextRenderingMode.INVISIBLE;if(!m&&0!==u){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(p,l),t=0;t<g;++t)if(r=e[t],(0,n.isNum)(r))o=f*r*u/1e3,this.ctx.translate(o,0),s.x+=o*p;else{var y=(r.isSpace?d:0)+h,b=c.charProcOperatorList[r.operatorListId];if(b){this.processingType3=r,this.save(),a.scale(u,u),a.transform.apply(a,v),this.executeOperatorList(b),this.restore();var _=n.Util.applyTransform([r.width,0],v);i=_[0]*u+y,a.translate(i,0),s.x+=i*p}else(0,n.warn)('Type3 character "'.concat(r.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,r,n,i,o){this.ctx.rect(r,n,i-r,o-n),this.clip(),this.endPath()},getColorN_Pattern:function(e){var t,n=this;if("TilingPattern"===e[0]){var o=e[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(e){return new r(e,n.commonObjs,n.objs,n.canvasFactory,n.webGLContext)}};t=new i.TilingPattern(e,o,this.ctx,s,a)}else t=(0,i.getShadingPatternFromIR)(e);return t},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,r){var i=n.Util.makeCssRgb(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var r=(0,i.getShadingPatternFromIR)(e);t.fillStyle=r.getPattern(t,this,!0);var o=t.mozCurrentTransformInverse;if(o){var a=t.canvas,s=a.width,c=a.height,u=n.Util.applyTransform([0,0],o),l=n.Util.applyTransform([0,c],o),f=n.Util.applyTransform([s,0],o),h=n.Util.applyTransform([s,c],o),d=Math.min(u[0],l[0],f[0],h[0]),p=Math.min(u[1],l[1],f[1],h[1]),v=Math.max(u[0],l[0],f[0],h[0]),g=Math.max(u[1],l[1],f[1],h[1]);this.ctx.fillRect(d,p,v-d,g-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,n.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,n.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t){var r=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],r,n),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");var r=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=n.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),o=[0,0,t.canvas.width,t.canvas.height];i=n.Util.intersect(i,o)||[0,0,0,0];var a=Math.floor(i[0]),c=Math.floor(i[1]),u=Math.max(Math.ceil(i[2])-a,1),l=Math.max(Math.ceil(i[3])-c,1),f=1,h=1;u>s&&(f=u/s,u=s),l>s&&(h=l/s,l=s);var d="groupAt"+this.groupLevel;e.smask&&(d+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(d,u,l,!0),v=p.context;v.scale(1/f,1/h),v.translate(-a,-c),v.transform.apply(v,r),e.smask?this.smaskStack.push({canvas:p.canvas,context:v,offsetX:a,offsetY:c,scaleX:f,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(a,c),t.scale(f,h)),b(t,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,r){if(this.save(),_(this.ctx),this.current=new g,Array.isArray(e)&&4===e.length){var n=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],n,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,r)},endAnnotation:function(){this.restore()},paintJpegXObject:function(e,t,r){var i=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(i){this.save();var o=this.ctx;if(o.scale(1/t,-1/r),o.drawImage(i,0,0,i.width,i.height,0,-r,t,r),this.imageLayer){var a=o.mozCurrentTransformInverse,s=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:e,left:s[0],top:s[1],width:t/a[0],height:r/a[3]})}this.restore()}else(0,n.warn)("Dependent image isn't ready yet")},paintImageMaskXObject:function(e){var t=this.ctx,r=e.width,n=e.height,i=this.current.fillColor,o=this.current.patternFill,a=this.processingType3;if(u&&a&&void 0===a.compiled&&(a.compiled=r<=l&&n<=l?v({data:e.data,width:r,height:n}):null),a&&a.compiled)a.compiled(t);else{var s=this.cachedCanvases.getCanvas("maskCanvas",r,n),c=s.context;c.save(),y(c,e),c.globalCompositeOperation="source-in",c.fillStyle=o?i.getPattern(c,this):i,c.fillRect(0,0,r,n),c.restore(),this.paintInlineImageXObject(s.canvas)}},paintImageMaskXObjectRepeat:function(e,t,r,n){var i=e.width,o=e.height,a=this.current.fillColor,s=this.current.patternFill,c=this.cachedCanvases.getCanvas("maskCanvas",i,o),u=c.context;u.save(),y(u,e),u.globalCompositeOperation="source-in",u.fillStyle=s?a.getPattern(u,this):a,u.fillRect(0,0,i,o),u.restore();for(var l=this.ctx,f=0,h=n.length;f<h;f+=2)l.save(),l.transform(t,0,0,r,n[f],n[f+1]),l.scale(1,-1),l.drawImage(c.canvas,0,0,i,o,0,-1,1,1),l.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,i=0,o=e.length;i<o;i++){var a=e[i],s=a.width,c=a.height,u=this.cachedCanvases.getCanvas("maskCanvas",s,c),l=u.context;l.save(),y(l,a),l.globalCompositeOperation="source-in",l.fillStyle=n?r.getPattern(l,this):r,l.fillRect(0,0,s,c),l.restore(),t.save(),t.transform.apply(t,a.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,s,c,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=this.processingType3?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,n.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,r,i){var o=this.processingType3?this.commonObjs.get(e):this.objs.get(e);if(o){for(var a=o.width,s=o.height,c=[],u=0,l=i.length;u<l;u+=2)c.push({transform:[t,0,0,r,i[u],i[u+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,c)}else(0,n.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(e){var t=e.width,r=e.height,n=this.ctx;this.save(),n.scale(1/t,-1/r);var i,o,a=n.mozCurrentTransformInverse,s=a[0],c=a[1],u=Math.max(Math.sqrt(s*s+c*c),1),l=a[2],f=a[3],h=Math.max(Math.sqrt(l*l+f*f),1);if("function"===typeof HTMLElement&&e instanceof HTMLElement||!e.data)i=e;else{o=this.cachedCanvases.getCanvas("inlineImage",t,r);var d=o.context;m(d,e),i=o.canvas}var p=t,v=r,g="prescale1";while(u>2&&p>1||h>2&&v>1){var y=p,b=v;u>2&&p>1&&(y=Math.ceil(p/2),u/=p/y),h>2&&v>1&&(b=Math.ceil(v/2),h/=v/b),o=this.cachedCanvases.getCanvas(g,y,b),d=o.context,d.clearRect(0,0,y,b),d.drawImage(i,0,0,p,v,0,0,y,b),i=o.canvas,p=y,v=b,g="prescale1"===g?"prescale2":"prescale1"}if(n.drawImage(i,0,0,p,v,0,-r,t,r),this.imageLayer){var _=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:_[0],top:_[1],width:t/a[0],height:r/a[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,t){var r=this.ctx,n=e.width,i=e.height,o=this.cachedCanvases.getCanvas("inlineImage",n,i),a=o.context;m(a,e);for(var s=0,c=t.length;s<c;s++){var u=t[s];if(r.save(),r.transform.apply(r,u.transform),r.scale(1,-1),r.drawImage(o.canvas,u.x,u.y,u.w,u.h,0,-1,1,1),this.imageLayer){var l=this.getCanvasPosition(u.x,u.y);this.imageLayer.appendImage({imgData:e,left:l[0],top:l[1],width:n,height:i})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,n.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===R?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this._cachedGetSinglePixelWidth){var t=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var r=this.ctx.mozCurrentTransform;return[r[0]*e+r[2]*t+r[4],r[1]*e+r[3]*t+r[5]]}},n.OPS)r.prototype[n.OPS[T]]=r.prototype[T];return r}();t.CanvasGraphics=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=a,t.TilingPattern=void 0;var n=r(1),i={RadialAxial:{fromIR:function(e){var t=e[1],r=e[2],n=e[3],i=e[4],o=e[5],a=e[6];return{type:"Pattern",getPattern:function(e){var s;"axial"===t?s=e.createLinearGradient(n[0],n[1],i[0],i[1]):"radial"===t&&(s=e.createRadialGradient(n[0],n[1],o,i[0],i[1],a));for(var c=0,u=r.length;c<u;++c){var l=r[c];s.addColorStop(l[0],l[1])}return s}}}}},o=function(){function e(e,t,r,n,i,o,a,s){var c,u=t.coords,l=t.colors,f=e.data,h=4*e.width;u[r+1]>u[n+1]&&(c=r,r=n,n=c,c=o,o=a,a=c),u[n+1]>u[i+1]&&(c=n,n=i,i=c,c=a,a=s,s=c),u[r+1]>u[n+1]&&(c=r,r=n,n=c,c=o,o=a,a=c);var d=(u[r]+t.offsetX)*t.scaleX,p=(u[r+1]+t.offsetY)*t.scaleY,v=(u[n]+t.offsetX)*t.scaleX,g=(u[n+1]+t.offsetY)*t.scaleY,m=(u[i]+t.offsetX)*t.scaleX,y=(u[i+1]+t.offsetY)*t.scaleY;if(!(p>=y))for(var b,_,w,A,S,x,k,C,P,E=l[o],R=l[o+1],T=l[o+2],O=l[a],I=l[a+1],L=l[a+2],F=l[s],D=l[s+1],j=l[s+2],M=Math.round(p),N=Math.round(y),U=M;U<=N;U++){U<g?(P=U<p?0:p===g?1:(p-U)/(p-g),b=d-(d-v)*P,_=E-(E-O)*P,w=R-(R-I)*P,A=T-(T-L)*P):(P=U>y?1:g===y?0:(g-U)/(g-y),b=v-(v-m)*P,_=O-(O-F)*P,w=I-(I-D)*P,A=L-(L-j)*P),P=U<p?0:U>y?1:(p-U)/(p-y),S=d-(d-m)*P,x=E-(E-F)*P,k=R-(R-D)*P,C=T-(T-j)*P;for(var q=Math.round(Math.min(b,S)),B=Math.round(Math.max(b,S)),W=h*U+4*q,G=q;G<=B;G++)P=(b-G)/(b-S),P=P<0?0:P>1?1:P,f[W++]=_-(_-x)*P|0,f[W++]=w-(w-k)*P|0,f[W++]=A-(A-C)*P|0,f[W++]=255}}function t(t,r,n){var i,o,a=r.coords,s=r.colors;switch(r.type){case"lattice":var c=r.verticesPerRow,u=Math.floor(a.length/c)-1,l=c-1;for(i=0;i<u;i++)for(var f=i*c,h=0;h<l;h++,f++)e(t,n,a[f],a[f+1],a[f+c],s[f],s[f+1],s[f+c]),e(t,n,a[f+c+1],a[f+1],a[f+c],s[f+c+1],s[f+1],s[f+c]);break;case"triangles":for(i=0,o=a.length;i<o;i+=3)e(t,n,a[i],a[i+1],a[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}function r(e,r,n,i,o,a,s,c){var u,l,f,h,d=1.1,p=3e3,v=2,g=Math.floor(e[0]),m=Math.floor(e[1]),y=Math.ceil(e[2])-g,b=Math.ceil(e[3])-m,_=Math.min(Math.ceil(Math.abs(y*r[0]*d)),p),w=Math.min(Math.ceil(Math.abs(b*r[1]*d)),p),A=y/_,S=b/w,x={coords:n,colors:i,offsetX:-g,offsetY:-m,scaleX:1/A,scaleY:1/S},k=_+2*v,C=w+2*v;if(c.isEnabled)u=c.drawFigures({width:_,height:w,backgroundColor:a,figures:o,context:x}),l=s.getCanvas("mesh",k,C,!1),l.context.drawImage(u,v,v),u=l.canvas;else{l=s.getCanvas("mesh",k,C,!1);var P=l.context,E=P.createImageData(_,w);if(a){var R=E.data;for(f=0,h=R.length;f<h;f+=4)R[f]=a[0],R[f+1]=a[1],R[f+2]=a[2],R[f+3]=255}for(f=0;f<o.length;f++)t(E,o[f],x);P.putImageData(E,v,v),u=l.canvas}return{canvas:u,offsetX:g-v*A,offsetY:m-v*S,scaleX:A,scaleY:S}}return r}();function a(e){var t=i[e[0]];if(!t)throw new Error("Unknown IR type: ".concat(e[0]));return t.fromIR(e)}i.Mesh={fromIR:function(e){var t=e[2],r=e[3],i=e[4],a=e[5],s=e[6],c=e[8];return{type:"Pattern",getPattern:function(e,u,l){var f;if(l)f=n.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(f=n.Util.singularValueDecompose2dScale(u.baseTransform),s){var h=n.Util.singularValueDecompose2dScale(s);f=[f[0]*h[0],f[1]*h[1]]}var d=o(a,f,t,r,i,l?null:c,u.cachedCanvases,u.webGLContext);return l||(e.setTransform.apply(e,u.baseTransform),s&&e.transform.apply(e,s)),e.translate(d.offsetX,d.offsetY),e.scale(d.scaleX,d.scaleY),e.createPattern(d.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e={COLORED:1,UNCOLORED:2},t=3e3;function r(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=n,this.baseTransform=i,this.type="Pattern",this.ctx=r}return r.prototype={createPatternCanvas:function(e){var t=this.operatorList,r=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,s=this.tilingType,c=this.color,u=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+s);var l=r[0],f=r[1],h=r[2],d=r[3],p=n.Util.singularValueDecompose2dScale(this.matrix),v=n.Util.singularValueDecompose2dScale(this.baseTransform),g=[p[0]*v[0],p[1]*v[1]],m=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),y=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),b=e.cachedCanvases.getCanvas("pattern",m.size,y.size,!0),_=b.context,w=u.createCanvasGraphics(_);return w.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(w,a,c),w.transform(m.scale,0,0,y.scale,0,0),w.transform(1,0,0,1,-l,-f),this.clipBbox(w,r,l,f,h,d),w.executeOperatorList(t),this.ctx.transform(1,0,0,1,l,f),this.ctx.scale(1/m.scale,1/y.scale),b.canvas},getSizeAndScale:function(e,r,n){e=Math.abs(e);var i=Math.max(t,r),o=Math.ceil(e*n);return o>=i?o=i:n=o/e,{scale:n,size:o}},clipBbox:function(e,t,r,n,i,o){if(Array.isArray(t)&&4===t.length){var a=i-r,s=o-n;e.ctx.rect(r,n,a,s),e.clip(),e.endPath()}},setFillAndStrokeStyleToContext:function(t,r,i){var o=t.ctx,a=t.current;switch(r){case e.COLORED:var s=this.ctx;o.fillStyle=s.fillStyle,o.strokeStyle=s.strokeStyle,a.fillColor=s.fillStyle,a.strokeColor=s.strokeStyle;break;case e.UNCOLORED:var c=n.Util.makeCssRgb(i[0],i[1],i[2]);o.fillStyle=c,o.strokeStyle=c,a.fillColor=c,a.strokeColor=c;break;default:throw new n.FormatError("Unsupported paint type: ".concat(r))}},getPattern:function(e,t){e=this.ctx,e.setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);var r=this.createPatternCanvas(t);return e.createPattern(r,"repeat")}},r}();t.TilingPattern=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=g;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},a(e)}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function l(e,t){return f.apply(this,arguments)}function f(){return f=c(n["default"].mark((function e(t,r){var i,o=arguments;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=o.length>2&&void 0!==o[2]?o[2]:null,t){e.next=3;break}return e.abrupt("return",void 0);case 3:return e.abrupt("return",t.apply(i,r));case 4:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}function h(e){if("object"!==a(e))return e;switch(e.name){case"AbortException":return new i.AbortException(e.message);case"MissingPDFException":return new i.MissingPDFException(e.message);case"UnexpectedResponseException":return new i.UnexpectedResponseException(e.message,e.status);default:return new i.UnknownErrorException(e.message,e.details)}}function d(e){return!(e instanceof Error)||e instanceof i.AbortException||e instanceof i.MissingPDFException||e instanceof i.UnexpectedResponseException||e instanceof i.UnknownErrorException?e:new i.UnknownErrorException(e.message,e.toString())}function p(e,t,r){t?e.resolve():e.reject(r)}function v(e){return Promise.resolve(e)["catch"]((function(){}))}function g(e,t,r){var n=this;this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),o=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName)if(t.stream)n._processStreamMessage(t);else if(t.isReply){var a=t.callbackId;if(!(t.callbackId in i))throw new Error("Cannot resolve callback ".concat(a));var s=i[a];delete i[a],"error"in t?s.reject(h(t.error)):s.resolve(t.data)}else{if(!(t.action in o))throw new Error("Unknown action from worker: ".concat(t.action));var c=o[t.action];if(t.callbackId){var u=n.sourceName,l=t.sourceName;Promise.resolve().then((function(){return c[0].call(c[1],t.data)})).then((function(e){r.postMessage({sourceName:u,targetName:l,isReply:!0,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:u,targetName:l,isReply:!0,callbackId:t.callbackId,error:d(e)})}))}else t.streamId?n._createStreamSink(t):c[0].call(c[1],t.data)}},r.addEventListener("message",this._onComObjOnMessage)}g.prototype={on:function(e,t,r){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=[t,r]},send:function(e,t,r){var n={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t};this.postMessage(n,r)},sendWithPromise:function(e,t,r){var n=this.callbackId++,o={sourceName:this.sourceName,targetName:this.targetName,action:e,data:t,callbackId:n},a=(0,i.createPromiseCapability)();this.callbacksCapabilities[n]=a;try{this.postMessage(o,r)}catch(s){a.reject(s)}return a.promise},sendWithStream:function(e,t,r,n){var o=this,a=this.streamId++,s=this.sourceName,c=this.targetName;return new i.ReadableStream({start:function(r){var n=(0,i.createPromiseCapability)();return o.streamControllers[a]={controller:r,startCall:n,isClosed:!1},o.postMessage({sourceName:s,targetName:c,action:e,streamId:a,data:t,desiredSize:r.desiredSize}),n.promise},pull:function(e){var t=(0,i.createPromiseCapability)();return o.streamControllers[a].pullCall=t,o.postMessage({sourceName:s,targetName:c,stream:"pull",streamId:a,desiredSize:e.desiredSize}),t.promise},cancel:function(e){var t=(0,i.createPromiseCapability)();return o.streamControllers[a].cancelCall=t,o.streamControllers[a].isClosed=!0,o.postMessage({sourceName:s,targetName:c,stream:"cancel",reason:e,streamId:a}),t.promise}},r)},_createStreamSink:function(e){var t=this,r=this,n=this.actionHandler[e.action],o=e.streamId,a=e.desiredSize,s=this.sourceName,c=e.sourceName,u=(0,i.createPromiseCapability)(),f=function(e){var r=e.stream,n=e.chunk,i=e.transfers,a=e.success,u=e.reason;t.postMessage({sourceName:s,targetName:c,stream:r,streamId:o,chunk:n,success:a,reason:u},i)},h={enqueue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var n=this.desiredSize;this.desiredSize-=t,n>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),f({stream:"enqueue",chunk:e,transfers:r})}},close:function(){this.isCancelled||(this.isCancelled=!0,f({stream:"close"}),delete r.streamSinks[o])},error:function(e){this.isCancelled||(this.isCancelled=!0,f({stream:"error",reason:e}))},sinkCapability:u,onPull:null,onCancel:null,isCancelled:!1,desiredSize:a,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[o]=h,l(n[0],[e.data,h],n[1]).then((function(){f({stream:"start_complete",success:!0})}),(function(e){f({stream:"start_complete",success:!1,reason:e})}))},_processStreamMessage:function(e){var t=this,r=this.sourceName,n=e.sourceName,o=e.streamId,a=function(e){var i=e.stream,a=e.success,s=e.reason;t.comObj.postMessage({sourceName:r,targetName:n,stream:i,success:a,streamId:o,reason:s})},s=function(){Promise.all([t.streamControllers[e.streamId].startCall,t.streamControllers[e.streamId].pullCall,t.streamControllers[e.streamId].cancelCall].map((function(e){return e&&v(e.promise)}))).then((function(){delete t.streamControllers[e.streamId]}))};switch(e.stream){case"start_complete":p(this.streamControllers[e.streamId].startCall,e.success,h(e.reason));break;case"pull_complete":p(this.streamControllers[e.streamId].pullCall,e.success,h(e.reason));break;case"pull":if(!this.streamSinks[e.streamId]){a({stream:"pull_complete",success:!0});break}this.streamSinks[e.streamId].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[e.streamId].sinkCapability.resolve(),this.streamSinks[e.streamId].desiredSize=e.desiredSize,l(this.streamSinks[e.streamId].onPull).then((function(){a({stream:"pull_complete",success:!0})}),(function(e){a({stream:"pull_complete",success:!1,reason:e})}));break;case"enqueue":(0,i.assert)(this.streamControllers[e.streamId],"enqueue should have stream controller"),this.streamControllers[e.streamId].isClosed||this.streamControllers[e.streamId].controller.enqueue(e.chunk);break;case"close":if((0,i.assert)(this.streamControllers[e.streamId],"close should have stream controller"),this.streamControllers[e.streamId].isClosed)break;this.streamControllers[e.streamId].isClosed=!0,this.streamControllers[e.streamId].controller.close(),s();break;case"error":(0,i.assert)(this.streamControllers[e.streamId],"error should have stream controller"),this.streamControllers[e.streamId].controller.error(h(e.reason)),s();break;case"cancel_complete":p(this.streamControllers[e.streamId].cancelCall,e.success,h(e.reason)),s();break;case"cancel":if(!this.streamSinks[e.streamId])break;l(this.streamSinks[e.streamId].onCancel,[h(e.reason)]).then((function(){a({stream:"cancel_complete",success:!0})}),(function(e){a({stream:"cancel_complete",success:!1,reason:e})})),this.streamSinks[e.streamId].sinkCapability.reject(h(e.reason)),this.streamSinks[e.streamId].isCancelled=!0,delete this.streamSinks[e.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=r(1),i=r(159);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}var c=function(){function e(t){o(this,e),(0,n.assert)("string"===typeof t,"Metadata: input is not a string"),t=this._repair(t);var r=new i.SimpleXMLParser,a=r.parseFromString(t);this._metadata=Object.create(null),a&&this._parse(a)}return s(e,[{key:"_repair",value:function(e){return e.replace(/^([^<]+)/,"").replace(/>\\376\\377([^<]+)/g,(function(e,t){for(var r=t.replace(/\\([0-3])([0-7])([0-7])/g,(function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),n="",i=0,o=r.length;i<o;i+=2){var a=256*r.charCodeAt(i)+r.charCodeAt(i+1);n+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+n}))}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase()){t=t.firstChild;while(t&&"rdf:rdf"!==t.nodeName.toLowerCase())t=t.nextSibling}var r=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===r&&t.hasChildNodes())for(var n=t.childNodes,i=0,o=n.length;i<o;i++){var a=n[i];if("rdf:description"===a.nodeName.toLowerCase())for(var s=0,c=a.childNodes.length;s<c;s++)if("#text"!==a.childNodes[s].nodeName.toLowerCase()){var u=a.childNodes[s],l=u.nodeName.toLowerCase();this._metadata[l]=u.textContent.trim()}}}},{key:"get",value:function(e){var t=this._metadata[e];return"undefined"!==typeof t?t:null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(e){return"undefined"!==typeof this._metadata[e]}}]),e}();t.Metadata=c},function(e,t,r){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},n(e)}function i(e,t){return s(e)||a(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function s(e){if(Array.isArray(e))return e}function c(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t,r){return f="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=h(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},f(e,t,r||e)}function h(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=d(e),null===e)break;return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=void 0;var b={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function _(e,t){var r=e[t];return" "===r||"\n"===r||"\r"===r||"\t"===r}function w(e){for(var t=0,r=e.length;t<r;t++)if(!_(e,t))return!1;return!0}var A=function(){function e(){g(this,e)}return y(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCharCode(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCharCode(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r,n=t,i=[];function o(){while(n<e.length&&_(e,n))++n}while(n<e.length&&!_(e,n)&&">"!==e[n]&&"/"!==e[n])++n;r=e.substring(t,n),o();while(n<e.length&&">"!==e[n]&&"/"!==e[n]&&"?"!==e[n]){o();var a="",s="";while(n<e.length&&!_(e,n)&&"="!==e[n])a+=e[n],++n;if(o(),"="!==e[n])return null;++n,o();var c=e[n];if('"'!==c&&"'"!==c)return null;var u=e.indexOf(c,++n);if(u<0)return null;s=e.substring(n,u),i.push({name:a,value:this._resolveEntities(s)}),n=u+1,o()}return{name:r,attributes:i,parsed:n-t}}},{key:"_parseProcessingInstruction",value:function(e,t){var r,n,i=t;function o(){while(i<e.length&&_(e,i))++i}while(i<e.length&&!_(e,i)&&">"!==e[i]&&"/"!==e[i])++i;r=e.substring(t,i),o();var a=i;while(i<e.length&&("?"!==e[i]||">"!==e[i+1]))++i;return n=e.substring(a,i),{name:r,value:n,parsed:i-t}}},{key:"parseXml",value:function(e){var t=0;while(t<e.length){var r=e[t],n=t;if("<"===r){++n;var i=e[n],o=void 0;switch(i){case"/":if(++n,o=e.indexOf(">",n),o<0)return void this.onError(b.UnterminatedElement);this.onEndElement(e.substring(n,o)),n=o+1;break;case"?":++n;var a=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+a.parsed,n+a.parsed+2))return void this.onError(b.UnterminatedXmlDeclaration);this.onPi(a.name,a.value),n+=a.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if(o=e.indexOf("--\x3e",n+3),o<0)return void this.onError(b.UnterminatedComment);this.onComment(e.substring(n+3,o)),n=o+3}else if("[CDATA["===e.substring(n+1,n+8)){if(o=e.indexOf("]]>",n+8),o<0)return void this.onError(b.UnterminatedCdat);this.onCdata(e.substring(n+8,o)),n=o+3}else{if("DOCTYPE"!==e.substring(n+1,n+8))return void this.onError(b.MalformedElement);var s=e.indexOf("[",n+8),c=!1;if(o=e.indexOf(">",n+8),o<0)return void this.onError(b.UnterminatedDoctypeDeclaration);if(s>0&&o>s){if(o=e.indexOf("]>",n+8),o<0)return void this.onError(b.UnterminatedDoctypeDeclaration);c=!0}var u=e.substring(n+8,o+(c?1:0));this.onDoctype(u),n=o+(c?2:1)}break;default:var l=this._parseContent(e,n);if(null===l)return void this.onError(b.MalformedElement);var f=!1;if("/>"===e.substring(n+l.parsed,n+l.parsed+2))f=!0;else if(">"!==e.substring(n+l.parsed,n+l.parsed+1))return void this.onError(b.UnterminatedElement);this.onBeginElement(l.name,l.attributes,f),n+=l.parsed+(f?2:1);break}}else{while(n<e.length&&"<"!==e[n])n++;var h=e.substring(t,n);this.onText(this._resolveEntities(h))}t=n}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),S=function(){function e(t,r){g(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return y(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}}]),e}(),x=function(e){function t(){var e;return g(this,t),e=c(this,d(t).call(this)),e._currentFragment=null,e._stack=null,e._errorCode=b.NoError,e}return p(t,e),y(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=b.NoError,this.parseXml(e),this._errorCode===b.NoError){var t=i(this._currentFragment,1),r=t[0];if(r)return{documentElement:r}}}},{key:"onResolveEntity",value:function(e){switch(e){case"apos":return"'"}return f(d(t.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!w(e)){var t=new S("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new S("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){var n=new S(e);n.childNodes=[],this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),t}(A);t.SimpleXMLParser=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=o(r(148)),i=r(1);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,c,"next",e)}function c(e){a(o,n,i,s,c,"throw",e)}s(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}var f=function(){function e(t,r){var n=this;c(this,e),(0,i.assert)(r),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1;var o=t.initialData;if(o&&o.length>0){var a=new Uint8Array(o).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=r,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){n._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){n._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){n._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){n._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return l(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var r=this._rangeReaders.some((function(r){return r._begin===e.begin&&(r._enqueue(t),!0)}));(0,i.assert)(r)}}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var r=this._fullRequestReader;r&&r.onProgress&&r.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,i.assert)(!this._fullRequestReader);var e=this._queuedChunks;return this._queuedChunks=null,new h(this,e,this._progressiveDone)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new d(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeReaders.slice(0);t.forEach((function(t){t.cancel(e)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFDataTransportStream=f;var h=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this._stream=t,this._done=n||!1,this._filename=null,this._queuedChunks=r||[],this._loaded=0;var i=!0,o=!1,a=void 0;try{for(var s,u=this._queuedChunks[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;this._loaded+=l.byteLength}}catch(f){o=!0,a=f}finally{try{i||null==u["return"]||u["return"]()}finally{if(o)throw a}}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e,done:!1})}else this._queuedChunks.push(e);this._loaded+=e.byteLength}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),e}(),d=function(){function e(t,r,n){c(this,e),this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return l(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{var t=this._requests.shift();t.resolve({value:e,done:!1}),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[]}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"read",value:function(){var e=s(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var n=r(1);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}var s=function(){function e(t){var r=t.enable,n=void 0!==r&&r;i(this,e),this._enabled=!0===n}return a(e,[{key:"composeSMask",value:function(e){var t=e.layer,r=e.mask,n=e.properties;return c.composeSMask(t,r,n)}},{key:"drawFigures",value:function(e){var t=e.width,r=e.height,n=e.backgroundColor,i=e.figures,o=e.context;return c.drawFigures(t,r,n,i,o)}},{key:"clear",value:function(){c.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=c.tryInitGL()),(0,n.shadow)(this,"isEnabled",e)}}]),e}();t.WebGLContext=s;var c=function(){function e(e,t,r){var n=e.createShader(r);e.shaderSource(n,t),e.compileShader(n);var i=e.getShaderParameter(n,e.COMPILE_STATUS);if(!i){var o=e.getShaderInfoLog(n);throw new Error("Error during shader compilation: "+o)}return n}function t(t,r){return e(t,r,t.VERTEX_SHADER)}function r(t,r){return e(t,r,t.FRAGMENT_SHADER)}function n(e,t){for(var r=e.createProgram(),n=0,i=t.length;n<i;++n)e.attachShader(r,t[n]);e.linkProgram(r);var o=e.getProgramParameter(r,e.LINK_STATUS);if(!o){var a=e.getProgramInfoLog(r);throw new Error("Error during program linking: "+a)}return r}function i(e,t,r){e.activeTexture(r);var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),n}var o,a;function s(){o||(a=document.createElement("canvas"),o=a.getContext("webgl",{premultipliedalpha:!1}))}var c=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",u=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",l=null;function f(){var e,i;s(),e=a,a=null,i=o,o=null;var f=t(i,c),h=r(i,u),d=n(i,[f,h]);i.useProgram(d);var p={};p.gl=i,p.canvas=e,p.resolutionLocation=i.getUniformLocation(d,"u_resolution"),p.positionLocation=i.getAttribLocation(d,"a_position"),p.backdropLocation=i.getUniformLocation(d,"u_backdrop"),p.subtypeLocation=i.getUniformLocation(d,"u_subtype");var v=i.getAttribLocation(d,"a_texCoord"),g=i.getUniformLocation(d,"u_image"),m=i.getUniformLocation(d,"u_mask"),y=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,y),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(v),i.vertexAttribPointer(v,2,i.FLOAT,!1,0,0),i.uniform1i(g,0),i.uniform1i(m,1),l=p}function h(e,t,r){var n=e.width,o=e.height;l||f();var a=l,s=a.canvas,c=a.gl;s.width=n,s.height=o,c.viewport(0,0,c.drawingBufferWidth,c.drawingBufferHeight),c.uniform2f(a.resolutionLocation,n,o),r.backdrop?c.uniform4f(a.resolutionLocation,r.backdrop[0],r.backdrop[1],r.backdrop[2],1):c.uniform4f(a.resolutionLocation,0,0,0,0),c.uniform1i(a.subtypeLocation,"Luminosity"===r.subtype?1:0);var u=i(c,e,c.TEXTURE0),h=i(c,t,c.TEXTURE1),d=c.createBuffer();return c.bindBuffer(c.ARRAY_BUFFER,d),c.bufferData(c.ARRAY_BUFFER,new Float32Array([0,0,n,0,0,o,0,o,n,0,n,o]),c.STATIC_DRAW),c.enableVertexAttribArray(a.positionLocation),c.vertexAttribPointer(a.positionLocation,2,c.FLOAT,!1,0,0),c.clearColor(0,0,0,0),c.enable(c.BLEND),c.blendFunc(c.ONE,c.ONE_MINUS_SRC_ALPHA),c.clear(c.COLOR_BUFFER_BIT),c.drawArrays(c.TRIANGLES,0,6),c.flush(),c.deleteTexture(u),c.deleteTexture(h),c.deleteBuffer(d),s}var d=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",p=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",v=null;function g(){var e,i;s(),e=a,a=null,i=o,o=null;var c=t(i,d),u=r(i,p),l=n(i,[c,u]);i.useProgram(l);var f={};f.gl=i,f.canvas=e,f.resolutionLocation=i.getUniformLocation(l,"u_resolution"),f.scaleLocation=i.getUniformLocation(l,"u_scale"),f.offsetLocation=i.getUniformLocation(l,"u_offset"),f.positionLocation=i.getAttribLocation(l,"a_position"),f.colorLocation=i.getAttribLocation(l,"a_color"),v=f}function m(e,t,r,n,i){v||g();var o=v,a=o.canvas,s=o.gl;a.width=e,a.height=t,s.viewport(0,0,s.drawingBufferWidth,s.drawingBufferHeight),s.uniform2f(o.resolutionLocation,e,t);var c,u,l,f=0;for(c=0,u=n.length;c<u;c++)switch(n[c].type){case"lattice":l=n[c].coords.length/n[c].verticesPerRow|0,f+=(l-1)*(n[c].verticesPerRow-1)*6;break;case"triangles":f+=n[c].coords.length;break}var h=new Float32Array(2*f),d=new Uint8Array(3*f),p=i.coords,m=i.colors,y=0,b=0;for(c=0,u=n.length;c<u;c++){var _=n[c],w=_.coords,A=_.colors;switch(_.type){case"lattice":var S=_.verticesPerRow;l=w.length/S|0;for(var x=1;x<l;x++)for(var k=x*S+1,C=1;C<S;C++,k++)h[y]=p[w[k-S-1]],h[y+1]=p[w[k-S-1]+1],h[y+2]=p[w[k-S]],h[y+3]=p[w[k-S]+1],h[y+4]=p[w[k-1]],h[y+5]=p[w[k-1]+1],d[b]=m[A[k-S-1]],d[b+1]=m[A[k-S-1]+1],d[b+2]=m[A[k-S-1]+2],d[b+3]=m[A[k-S]],d[b+4]=m[A[k-S]+1],d[b+5]=m[A[k-S]+2],d[b+6]=m[A[k-1]],d[b+7]=m[A[k-1]+1],d[b+8]=m[A[k-1]+2],h[y+6]=h[y+2],h[y+7]=h[y+3],h[y+8]=h[y+4],h[y+9]=h[y+5],h[y+10]=p[w[k]],h[y+11]=p[w[k]+1],d[b+9]=d[b+3],d[b+10]=d[b+4],d[b+11]=d[b+5],d[b+12]=d[b+6],d[b+13]=d[b+7],d[b+14]=d[b+8],d[b+15]=m[A[k]],d[b+16]=m[A[k]+1],d[b+17]=m[A[k]+2],y+=12,b+=18;break;case"triangles":for(var P=0,E=w.length;P<E;P++)h[y]=p[w[P]],h[y+1]=p[w[P]+1],d[b]=m[A[P]],d[b+1]=m[A[P]+1],d[b+2]=m[A[P]+2],y+=2,b+=3;break}}r?s.clearColor(r[0]/255,r[1]/255,r[2]/255,1):s.clearColor(0,0,0,0),s.clear(s.COLOR_BUFFER_BIT);var R=s.createBuffer();s.bindBuffer(s.ARRAY_BUFFER,R),s.bufferData(s.ARRAY_BUFFER,h,s.STATIC_DRAW),s.enableVertexAttribArray(o.positionLocation),s.vertexAttribPointer(o.positionLocation,2,s.FLOAT,!1,0,0);var T=s.createBuffer();return s.bindBuffer(s.ARRAY_BUFFER,T),s.bufferData(s.ARRAY_BUFFER,d,s.STATIC_DRAW),s.enableVertexAttribArray(o.colorLocation),s.vertexAttribPointer(o.colorLocation,3,s.UNSIGNED_BYTE,!1,0,0),s.uniform2f(o.scaleLocation,i.scaleX,i.scaleY),s.uniform2f(o.offsetLocation,i.offsetX,i.offsetY),s.drawArrays(s.TRIANGLES,0,f),s.flush(),s.deleteBuffer(R),s.deleteBuffer(T),a}return{tryInitGL:function(){try{return s(),!!o}catch(e){}return!1},composeSMask:h,drawFigures:m,cleanup:function(){l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0),v&&v.canvas&&(v.canvas.width=0,v.canvas.height=0),l=null,v=null}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var n=r(1),i=o(r(3));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){var e=1e5,t=/\S/;function r(e){return!t.test(e)}var o=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function a(e,t,i){var a=document.createElement("span"),s={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(e._textDivs.push(a),r(t.str))return s.isWhitespace=!0,void e._textDivProperties.set(a,s);var c=n.Util.transform(e._viewport.transform,t.transform),u=Math.atan2(c[1],c[0]),l=i[t.fontName];l.vertical&&(u+=Math.PI/2);var f,h,d=Math.sqrt(c[2]*c[2]+c[3]*c[3]),p=d;if(l.ascent?p=l.ascent*p:l.descent&&(p=(1+l.descent)*p),0===u?(f=c[4],h=c[5]-p):(f=c[4]+p*Math.sin(u),h=c[5]-p*Math.cos(u)),o[1]=f,o[3]=h,o[5]=d,o[7]=l.fontFamily,s.style=o.join(""),a.setAttribute("style",s.style),a.textContent=t.str,e._fontInspectorEnabled&&(a.dataset.fontName=t.fontName),0!==u&&(s.angle=u*(180/Math.PI)),t.str.length>1&&(l.vertical?s.canvasWidth=t.height*e._viewport.scale:s.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(a,s),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection){var v=1,g=0;0!==u&&(v=Math.cos(u),g=Math.sin(u));var m,y,b=(l.vertical?t.height:t.width)*e._viewport.scale,_=d;0!==u?(m=[v,g,-g,v,f,h],y=n.Util.getAxialAlignedBoundingBox([0,0,b,_],m)):y=[f,h,f+b,h+_],e._bounds.push({left:y[0],top:y[1],right:y[2],bottom:y[3],div:a,size:[b,_],m:m})}}function s(t){if(!t._canceled){var r=t._textDivs,n=t._capability,i=r.length;if(i>e)return t._renderingDone=!0,void n.resolve();if(!t._textContentStream)for(var o=0;o<i;o++)t._layoutText(r[o]);t._renderingDone=!0,n.resolve()}}function c(e){for(var t=e._bounds,r=e._viewport,i=u(r.width,r.height,t),o=0;o<i.length;o++){var a=t[o].div,s=e._textDivProperties.get(a);if(0!==s.angle){var c=i[o],l=t[o],f=l.m,h=f[0],d=f[1],p=[[0,0],[0,l.size[1]],[l.size[0],0],l.size],v=new Float64Array(64);p.forEach((function(e,t){var r=n.Util.applyTransform(e,f);v[t+0]=h&&(c.left-r[0])/h,v[t+4]=d&&(c.top-r[1])/d,v[t+8]=h&&(c.right-r[0])/h,v[t+12]=d&&(c.bottom-r[1])/d,v[t+16]=d&&(c.left-r[0])/-d,v[t+20]=h&&(c.top-r[1])/h,v[t+24]=d&&(c.right-r[0])/-d,v[t+28]=h&&(c.bottom-r[1])/h,v[t+32]=h&&(c.left-r[0])/-h,v[t+36]=d&&(c.top-r[1])/-d,v[t+40]=h&&(c.right-r[0])/-h,v[t+44]=d&&(c.bottom-r[1])/-d,v[t+48]=d&&(c.left-r[0])/d,v[t+52]=h&&(c.top-r[1])/-h,v[t+56]=d&&(c.right-r[0])/d,v[t+60]=h&&(c.bottom-r[1])/-h}));var g=function(e,t,r){for(var n=0,i=0;i<r;i++){var o=e[t++];o>0&&(n=n?Math.min(o,n):o)}return n},m=1+Math.min(Math.abs(h),Math.abs(d));s.paddingLeft=g(v,32,16)/m,s.paddingTop=g(v,48,16)/m,s.paddingRight=g(v,0,16)/m,s.paddingBottom=g(v,16,16)/m,e._textDivProperties.set(a,s)}else s.paddingLeft=t[o].left-i[o].left,s.paddingTop=t[o].top-i[o].top,s.paddingRight=i[o].right-t[o].right,s.paddingBottom=i[o].bottom-t[o].bottom,e._textDivProperties.set(a,s)}}function u(e,t,r){var n=r.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));l(e,n);var i=new Array(r.length);return n.forEach((function(e){var t=e.index;i[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}})),r.map((function(t,r){var o=i[r],a=n[r];a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=r,a.x1New=void 0,a.x2New=void 0})),l(t,n),n.forEach((function(e){var t=e.index;i[t].top=e.x1New,i[t].bottom=e.x2New})),i}function l(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var r={x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0},n=[{start:-1/0,end:1/0,boundary:r}];t.forEach((function(e){var t=0;while(t<n.length&&n[t].end<=e.y1)t++;var r,i,o=n.length-1;while(o>=0&&n[o].start>=e.y2)o--;var a,s,c=-1/0;for(a=t;a<=o;a++){var u;r=n[a],i=r.boundary,u=i.x2>e.x1?i.index>e.index?i.x1New:e.x1:void 0===i.x2New?(i.x2+e.x1)/2:i.x2New,u>c&&(c=u)}for(e.x1New=c,a=t;a<=o;a++)r=n[a],i=r.boundary,void 0===i.x2New?i.x2>e.x1?i.index>e.index&&(i.x2New=i.x2):i.x2New=c:i.x2New>c&&(i.x2New=Math.max(c,i.x2));var l=[],f=null;for(a=t;a<=o;a++){r=n[a],i=r.boundary;var h=i.x2>e.x2?i:e;f===h?l[l.length-1].end=r.end:(l.push({start:r.start,end:r.end,boundary:h}),f=h)}for(n[t].start<e.y1&&(l[0].start=e.y1,l.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[o].end&&(l[l.length-1].end=e.y2,l.push({start:e.y2,end:n[o].end,boundary:n[o].boundary})),a=t;a<=o;a++)if(r=n[a],i=r.boundary,void 0===i.x2New){var d=!1;for(s=t-1;!d&&s>=0&&n[s].start>=i.y1;s--)d=n[s].boundary===i;for(s=o+1;!d&&s<n.length&&n[s].end<=i.y2;s++)d=n[s].boundary===i;for(s=0;!d&&s<l.length;s++)d=l[s].boundary===i;d||(i.x2New=c)}Array.prototype.splice.apply(n,[t,o-t+1].concat(l))})),n.forEach((function(t){var r=t.boundary;void 0===r.x2New&&(r.x2New=Math.max(e,r.x2))}))}function f(e){var t=this,r=e.textContent,o=e.textContentStream,a=e.container,s=e.viewport,c=e.textDivs,u=e.textContentItemsStr,l=e.enhanceTextSelection;this._textContent=r,this._textContentStream=o,this._container=a,this._viewport=s,this._textDivs=c||[],this._textContentItemsStr=u||[],this._enhanceTextSelection=!!l,this._fontInspectorEnabled=!(!i["default"].FontInspector||!i["default"].FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,n.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise["finally"]((function(){t._layoutTextCtx&&(t._layoutTextCtx.canvas.width=0,t._layoutTextCtx.canvas.height=0,t._layoutTextCtx=null)}))}function h(e){var t=new f({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}return f.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(e,t){for(var r=0,n=e.length;r<n;r++)this._textContentItemsStr.push(e[r].str),a(this,e[r],t)},_layoutText:function(e){var t=this._container,r=this._textDivProperties.get(e);if(!r.isWhitespace){var n=e.style.fontSize,i=e.style.fontFamily;n===this._layoutTextLastFontSize&&i===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=n+" "+i,this._layoutTextLastFontSize=n,this._layoutTextLastFontFamily=i);var o=this._layoutTextCtx.measureText(e.textContent).width,a="";0!==r.canvasWidth&&o>0&&(r.scale=r.canvasWidth/o,a="scaleX(".concat(r.scale,")")),0!==r.angle&&(a="rotate(".concat(r.angle,"deg) ").concat(a)),a.length>0&&(r.originalTransform=a,e.style.transform=a),this._textDivProperties.set(e,r),t.appendChild(e)}},_render:function(e){var t=this,r=(0,n.createPromiseCapability)(),i=Object.create(null),o=document.createElement("canvas");if(o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var a=this._textContent.items,c=this._textContent.styles;this._processItems(a,c),r.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');var u=function e(){t._reader.read().then((function(n){var o=n.value,a=n.done;a?r.resolve():(Object.assign(i,o.styles),t._processItems(o.items,i),e())}),r.reject)};this._reader=this._textContentStream.getReader(),u()}r.promise.then((function(){i=null,e?t._renderTimer=setTimeout((function(){s(t),t._renderTimer=null}),e):s(t)}),this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(c(this),this._bounds=null);for(var t=0,r=this._textDivs.length;t<r;t++){var n=this._textDivs[t],i=this._textDivProperties.get(n);if(!i.isWhitespace)if(e){var o="",a="";1!==i.scale&&(o="scaleX("+i.scale+")"),0!==i.angle&&(o="rotate("+i.angle+"deg) "+o),0!==i.paddingLeft&&(a+=" padding-left: "+i.paddingLeft/i.scale+"px;",o+=" translateX("+-i.paddingLeft/i.scale+"px)"),0!==i.paddingTop&&(a+=" padding-top: "+i.paddingTop+"px;",o+=" translateY("+-i.paddingTop+"px)"),0!==i.paddingRight&&(a+=" padding-right: "+i.paddingRight/i.scale+"px;"),0!==i.paddingBottom&&(a+=" padding-bottom: "+i.paddingBottom+"px;"),""!==a&&n.setAttribute("style",i.style+a),""!==o&&(n.style.transform=o)}else n.style.padding=0,n.style.transform=i.originalTransform||""}}}},h}();t.renderTextLayer=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var n=r(151),i=r(1);function o(e,t,r){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=a(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},o(e,t,r||e)}function a(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=f(e),null===e)break;return e}function s(e){return s="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},s(e)}function c(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}var m=function(){function e(){p(this,e)}return g(e,null,[{key:"create",value:function(e){var t=e.data.annotationType;switch(t){case i.AnnotationType.LINK:return new b(e);case i.AnnotationType.TEXT:return new _(e);case i.AnnotationType.WIDGET:var r=e.data.fieldType;switch(r){case"Tx":return new A(e);case"Btn":return e.data.radioButton?new x(e):e.data.checkBox?new S(e):new k(e);case"Ch":return new C(e)}return new w(e);case i.AnnotationType.POPUP:return new P(e);case i.AnnotationType.FREETEXT:return new R(e);case i.AnnotationType.LINE:return new T(e);case i.AnnotationType.SQUARE:return new O(e);case i.AnnotationType.CIRCLE:return new I(e);case i.AnnotationType.POLYLINE:return new L(e);case i.AnnotationType.CARET:return new D(e);case i.AnnotationType.INK:return new j(e);case i.AnnotationType.POLYGON:return new F(e);case i.AnnotationType.HIGHLIGHT:return new M(e);case i.AnnotationType.UNDERLINE:return new N(e);case i.AnnotationType.SQUIGGLY:return new U(e);case i.AnnotationType.STRIKEOUT:return new q(e);case i.AnnotationType.STAMP:return new B(e);case i.AnnotationType.FILEATTACHMENT:return new W(e);default:return new y(e)}}}]),e}(),y=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];p(this,e),this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,r&&(this.container=this._createContainer(n))}return g(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,r=this.page,n=this.viewport,o=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var c=i.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(o.style.transform="matrix("+n.transform.join(",")+")",o.style.transformOrigin=-c[0]+"px "+-c[1]+"px",!e&&t.borderStyle.width>0){o.style.borderWidth=t.borderStyle.width+"px",t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var u=t.borderStyle.horizontalCornerRadius,l=t.borderStyle.verticalCornerRadius;if(u>0||l>0){var f=u+"px / "+l+"px";o.style.borderRadius=f}switch(t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid";break;default:break}t.color?o.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left=c[0]+"px",o.style.top=c[1]+"px",o.style.width=a+"px",o.style.height=s+"px",o}},{key:"_createPopup",value:function(e,t,r){t||(t=document.createElement("div"),t.style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var n=new E({container:e,trigger:t,color:r.color,title:r.title,modificationDate:r.modificationDate,contents:r.contents,hideWrapper:!0}),i=n.render();i.style.left=e.style.width,e.appendChild(i)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),b=function(e){function t(e){p(this,t);var r=!!(e.data.url||e.data.dest||e.data.action);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,r=document.createElement("a");return(0,n.addLinkAttributes)(r,{url:e.url,target:e.newWindow?n.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel}),e.url||(e.action?this._bindNamedAction(r,e.action):this._bindLink(r,e.dest)),this.container.appendChild(r),this.container}},{key:"_bindLink",value:function(e,t){var r=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&r.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var r=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return r.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),t}(y),_=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),t}(y),w=function(e){function t(){return p(this,t),c(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){return this.container}}]),t}(y),A=function(e){function t(e){p(this,t);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["left","center","right"];this.container.className="textWidgetAnnotation";var t=null;if(this.renderInteractiveForms){if(this.data.multiLine?(t=document.createElement("textarea"),t.textContent=this.data.fieldValue):(t=document.createElement("input"),t.type="text",t.setAttribute("value",this.data.fieldValue)),t.disabled=this.data.readOnly,null!==this.data.maxLen&&(t.maxLength=this.data.maxLen),this.data.comb){var r=this.data.rect[2]-this.data.rect[0],n=r/this.data.maxLen;t.classList.add("comb"),t.style.letterSpacing="calc("+n+"px - 1ch)"}}else{t=document.createElement("div"),t.textContent=this.data.fieldValue,t.style.verticalAlign="middle",t.style.display="table-cell";var i=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(i=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(t,i)}return null!==this.data.textAlignment&&(t.style.textAlign=e[this.data.textAlignment]),this.container.appendChild(t),this.container}},{key:"_setTextStyle",value:function(e,t){var r=e.style;if(r.fontSize=this.data.fontSize+"px",r.direction=this.data.fontDirection<0?"rtl":"ltr",t){r.fontWeight=t.black?t.bold?"900":"bold":t.bold?"bold":"normal",r.fontStyle=t.italic?"italic":"normal";var n=t.loadedName?'"'+t.loadedName+'", ':"",i=t.fallbackName||"Helvetica, sans-serif";r.fontFamily=n+i}}}]),t}(w),S=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),x=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),t}(w),k=function(e){function t(){return p(this,t),c(this,f(t).apply(this,arguments))}return h(t,e),g(t,[{key:"render",value:function(){var e=o(f(t.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),t}(b),C=function(e){function t(e){return p(this,t),c(this,f(t).call(this,e,e.renderInteractiveForms))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,this.data.combo||(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));for(var t=0,r=this.data.options.length;t<r;t++){var n=this.data.options[t],i=document.createElement("option");i.textContent=n.displayValue,i.value=n.exportValue,this.data.fieldValue.includes(n.displayValue)&&i.setAttribute("selected",!0),e.appendChild(i)}return this.container.appendChild(e),this.container}}]),t}(w),P=function(e){function t(e){p(this,t);var r=!(!e.data.title&&!e.data.contents);return c(this,f(t).call(this,e,r))}return h(t,e),g(t,[{key:"render",value:function(){var e=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",e.includes(this.data.parentType))return this.container;var t='[data-annotation-id="'+this.data.parentId+'"]',r=this.layer.querySelector(t);if(!r)return this.container;var n=new E({container:this.container,trigger:r,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),i=parseFloat(r.style.left),o=parseFloat(r.style.width);return this.container.style.transformOrigin=-(i+o)+"px -"+r.style.top,this.container.style.left=i+o+"px",this.container.appendChild(n.render()),this.container}}]),t}(y),E=function(){function e(t){p(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return g(e,[{key:"render",value:function(){var e=.7,t=document.createElement("div");t.className="popupWrapper",this.hideElement=this.hideWrapper?t:this.container,this.hideElement.setAttribute("hidden",!0);var r=document.createElement("div");r.className="popup";var o=this.color;if(o){var a=e*(255-o[0])+o[0],s=e*(255-o[1])+o[1],c=e*(255-o[2])+o[2];r.style.backgroundColor=i.Util.makeCssRgb(0|a,0|s,0|c)}var u=document.createElement("h1");u.textContent=this.title,r.appendChild(u);var l=n.PDFDateString.toDateObject(this.modificationDate);if(l){var f=document.createElement("span");f.textContent="{{date}}, {{time}}",f.dataset.l10nId="annotation_date_string",f.dataset.l10nArgs=JSON.stringify({date:l.toLocaleDateString(),time:l.toLocaleTimeString()}),r.appendChild(f)}var h=this._formatContents(this.contents);return r.appendChild(h),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),r.addEventListener("click",this._hide.bind(this,!0)),t.appendChild(r),t}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),r=e.split(/(?:\r\n?|\n)/),n=0,i=r.length;n<i;++n){var o=r[n];t.appendChild(document.createTextNode(o)),n<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),R=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),T=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width),i.setAttribute("stroke","transparent"),n.appendChild(i),this.container.append(n),this._createPopup(this.container,i,e),this.container}}]),t}(y),O=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",t-i),o.setAttribute("height",r-i),o.setAttribute("stroke-width",i),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),n.appendChild(o),this.container.append(n),this._createPopup(this.container,o,e),this.container}}]),t}(y),I=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",r/2),o.setAttribute("rx",t/2-i/2),o.setAttribute("ry",r/2-i/2),o.setAttribute("stroke-width",i),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),n.appendChild(o),this.container.append(n),this._createPopup(this.container,o,e),this.container}}]),t}(y),L=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=c(this,f(t).call(this,e,n,!0)),r.containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.vertices,o=[],a=0,s=i.length;a<s;a++){var c=i[a].x-e.rect[0],u=e.rect[3]-i[a].y;o.push(c+","+u)}o=o.join(" ");var l=e.borderStyle.width,f=this.svgFactory.createElement(this.svgElementName);return f.setAttribute("points",o),f.setAttribute("stroke-width",l),f.setAttribute("stroke","transparent"),f.setAttribute("fill","none"),n.appendChild(f),this.container.append(n),this._createPopup(this.container,f,e),this.container}}]),t}(y),F=function(e){function t(e){var r;return p(this,t),r=c(this,f(t).call(this,e)),r.containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return h(t,e),t}(L),D=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),j=function(e){function t(e){var r;p(this,t);var n=!!(e.data.hasPopup||e.data.title||e.data.contents);return r=c(this,f(t).call(this,e,n,!0)),r.containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var e=this.data,t=e.rect[2]-e.rect[0],r=e.rect[3]-e.rect[1],n=this.svgFactory.create(t,r),i=e.inkLists,o=0,a=i.length;o<a;o++){for(var s=i[o],c=[],u=0,l=s.length;u<l;u++){var f=s[u].x-e.rect[0],h=e.rect[3]-s[u].y;c.push(f+","+h)}c=c.join(" ");var d=e.borderStyle.width,p=this.svgFactory.createElement(this.svgElementName);p.setAttribute("points",c),p.setAttribute("stroke-width",d),p.setAttribute("stroke","transparent"),p.setAttribute("fill","none"),this._createPopup(this.container,p,e),n.appendChild(p)}return this.container.append(n),this.container}}]),t}(y),M=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),N=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),U=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),q=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),B=function(e){function t(e){p(this,t);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return c(this,f(t).call(this,e,r,!0))}return h(t,e),g(t,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),t}(y),W=function(e){function t(e){var r;p(this,t),r=c(this,f(t).call(this,e,!0));var o=r.data.file,a=o.filename,s=o.content;return r.filename=(0,n.getFilenameFromUrl)(a),r.content=s,r.linkService.eventBus&&r.linkService.eventBus.dispatch("fileattachmentannotation",{source:l(r),id:(0,i.stringToPDFString)(a),filename:a,content:s}),r}return h(t,e),g(t,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),t}(y),G=function(){function e(){p(this,e)}return g(e,null,[{key:"render",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var i=e.annotations[t];if(i){var o=m.create({data:i,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new n.DOMSVGFactory});o.isRenderable&&e.div.appendChild(o.render())}}}},{key:"update",value:function(e){for(var t=0,r=e.annotations.length;t<r;t++){var n=e.annotations[t],i=e.div.querySelector('[data-annotation-id="'+n.id+'"]');i&&(i.style.transform="matrix("+e.viewport.transform.join(",")+")")}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=G},function(t,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SVGGraphics=void 0;var a=o(1),s=o(151),c=u(o(4));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return d(e)||h(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function h(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function d(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function p(e,t){return m(e)||g(e,t)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function g(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function m(e){if(Array.isArray(e))return e}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}var w=function(){throw new Error("Not implemented: SVGGraphics")};n.SVGGraphics=w;var A=function(e){var t=[],r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;"save"!==c.fn?"restore"===c.fn?t=r.pop():t.push(c):(t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t[t.length-1].items)}}catch(u){i=!0,o=u}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return t},S=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do{r--}while("0"===t[r]);return t.substring(0,"."===t[r]?r:r+1)},x=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(S(e[0])," ").concat(S(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(S(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(S(e[4])," ").concat(S(e[5]),")");return"matrix(".concat(S(e[0])," ").concat(S(e[1])," ").concat(S(e[2])," ").concat(S(e[3])," ").concat(S(e[4])," ")+"".concat(S(e[5]),")")},k={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},C="http://www.w3.org/XML/1998/namespace",P="http://www.w3.org/1999/xlink",E=["butt","round","square"],R=["miter","round","bevel"],T=function(){for(var t=new Uint8Array([137,80,78,71,13,10,26,10]),n=12,o=new Int32Array(256),s=0;s<256;s++){for(var u=s,l=0;l<8;l++)u=1&u?3988292384^u>>1&2147483647:u>>1&2147483647;o[s]=u}function f(e,t,r){for(var n=-1,i=t;i<r;i++){var a=255&(n^e[i]),s=o[a];n=n>>>8^s}return-1^n}function h(e,t,r,n){var i=n,o=t.length;r[i]=o>>24&255,r[i+1]=o>>16&255,r[i+2]=o>>8&255,r[i+3]=255&o,i+=4,r[i]=255&e.charCodeAt(0),r[i+1]=255&e.charCodeAt(1),r[i+2]=255&e.charCodeAt(2),r[i+3]=255&e.charCodeAt(3),i+=4,r.set(t,i),i+=t.length;var a=f(r,n+4,i);r[i]=a>>24&255,r[i+1]=a>>16&255,r[i+2]=a>>8&255,r[i+3]=255&a}function d(e,t,r){for(var n=1,i=0,o=t;o<r;++o)n=(n+(255&e[o]))%65521,i=(i+n)%65521;return i<<16|n}function p(t){if(!(0,c["default"])())return v(t);try{var n;n=parseInt(i.versions.node)>=8?t:new e(t);var o=r(0).deflateSync(n,{level:9});return o instanceof Uint8Array?o:new Uint8Array(o)}catch(s){(0,a.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+s)}return v(t)}function v(e){var t=e.length,r=65535,n=Math.ceil(t/r),i=new Uint8Array(2+t+5*n+4),o=0;i[o++]=120,i[o++]=156;var a=0;while(t>r)i[o++]=0,i[o++]=255,i[o++]=255,i[o++]=0,i[o++]=0,i.set(e.subarray(a,a+r),o),o+=r,a+=r,t-=r;i[o++]=1,i[o++]=255&t,i[o++]=t>>8&255,i[o++]=255&~t,i[o++]=(65535&~t)>>8&255,i.set(e.subarray(a),o),o+=e.length-a;var s=d(e,0,e.length);return i[o++]=s>>24&255,i[o++]=s>>16&255,i[o++]=s>>8&255,i[o++]=255&s,i}function g(e,r,i,o){var s,c,u,l=e.width,f=e.height,d=e.data;switch(r){case a.ImageKind.GRAYSCALE_1BPP:c=0,s=1,u=l+7>>3;break;case a.ImageKind.RGB_24BPP:c=2,s=8,u=3*l;break;case a.ImageKind.RGBA_32BPP:c=6,s=8,u=4*l;break;default:throw new Error("invalid format")}for(var v=new Uint8Array((1+u)*f),g=0,m=0,y=0;y<f;++y)v[g++]=0,v.set(d.subarray(m,m+u),g),m+=u,g+=u;if(r===a.ImageKind.GRAYSCALE_1BPP&&o){g=0;for(var b=0;b<f;b++){g++;for(var _=0;_<u;_++)v[g++]^=255}}var w=new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,s,c,0,0,0]),A=p(v),S=t.length+3*n+w.length+A.length,x=new Uint8Array(S),k=0;return x.set(t,k),k+=t.length,h("IHDR",w,x,k),k+=n+w.length,h("IDATA",A,x,k),k+=n+A.length,h("IEND",new Uint8Array(0),x,k),(0,a.createObjectURL)(x,"image/png",i)}return function(e,t,r){var n=void 0===e.kind?a.ImageKind.GRAYSCALE_1BPP:e.kind;return g(e,n,t,r)}}(),O=function(){function e(){y(this,e),this.fontSizeScale=1,this.fontWeight=k.fontWeight,this.fontSize=0,this.textMatrix=a.IDENTITY_MATRIX,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=a.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=k.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return _(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),I=0,L=0,F=0;n.SVGGraphics=w=function(){function e(t,r,n){for(var i in y(this,e),this.svgFactory=new s.DOMSVGFactory,this.current=new O,this.transformMatrix=a.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=r,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[],a.OPS)this._operatorIdMapping[a.OPS[i]]=i}return _(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,r=e.fnArray,n=e.argsArray,i=0,o=r.length;i<o;i++)if(r[i]===a.OPS.dependency){var s=!0,c=!1,u=void 0;try{for(var l,f=function(){var e=l.value,r=e.startsWith("g_")?t.commonObjs:t.objs,n=new Promise((function(t){r.get(e,t)}));t.current.dependencies.push(n)},h=n[i][Symbol.iterator]();!(s=(l=h.next()).done);s=!0)f()}catch(d){c=!0,u=d}finally{try{s||null==h["return"]||h["return"]()}finally{if(c)throw u}}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,r,n,i,o){var s=[e,t,r,n,i,o];this.transformMatrix=a.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var r=this;this.viewport=t;var n=this._initialize(t);return this.loadDependencies(e).then((function(){return r.transformMatrix=a.IDENTITY_MATRIX,r.executeOpTree(r.convertOpList(e)),n}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,r=e.argsArray,n=e.fnArray,i=[],o=0,a=n.length;o<a;o++){var s=n[o];i.push({fnId:s,fn:t[s],args:r[o]})}return A(i)}},{key:"executeOpTree",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=i.value,c=s.fn,u=s.fnId,l=s.args;switch(0|u){case a.OPS.beginText:this.beginText();break;case a.OPS.dependency:break;case a.OPS.setLeading:this.setLeading(l);break;case a.OPS.setLeadingMoveText:this.setLeadingMoveText(l[0],l[1]);break;case a.OPS.setFont:this.setFont(l);break;case a.OPS.showText:this.showText(l[0]);break;case a.OPS.showSpacedText:this.showText(l[0]);break;case a.OPS.endText:this.endText();break;case a.OPS.moveText:this.moveText(l[0],l[1]);break;case a.OPS.setCharSpacing:this.setCharSpacing(l[0]);break;case a.OPS.setWordSpacing:this.setWordSpacing(l[0]);break;case a.OPS.setHScale:this.setHScale(l[0]);break;case a.OPS.setTextMatrix:this.setTextMatrix(l[0],l[1],l[2],l[3],l[4],l[5]);break;case a.OPS.setTextRise:this.setTextRise(l[0]);break;case a.OPS.setTextRenderingMode:this.setTextRenderingMode(l[0]);break;case a.OPS.setLineWidth:this.setLineWidth(l[0]);break;case a.OPS.setLineJoin:this.setLineJoin(l[0]);break;case a.OPS.setLineCap:this.setLineCap(l[0]);break;case a.OPS.setMiterLimit:this.setMiterLimit(l[0]);break;case a.OPS.setFillRGBColor:this.setFillRGBColor(l[0],l[1],l[2]);break;case a.OPS.setStrokeRGBColor:this.setStrokeRGBColor(l[0],l[1],l[2]);break;case a.OPS.setStrokeColorN:this.setStrokeColorN(l);break;case a.OPS.setFillColorN:this.setFillColorN(l);break;case a.OPS.shadingFill:this.shadingFill(l[0]);break;case a.OPS.setDash:this.setDash(l[0],l[1]);break;case a.OPS.setRenderingIntent:this.setRenderingIntent(l[0]);break;case a.OPS.setFlatness:this.setFlatness(l[0]);break;case a.OPS.setGState:this.setGState(l[0]);break;case a.OPS.fill:this.fill();break;case a.OPS.eoFill:this.eoFill();break;case a.OPS.stroke:this.stroke();break;case a.OPS.fillStroke:this.fillStroke();break;case a.OPS.eoFillStroke:this.eoFillStroke();break;case a.OPS.clip:this.clip("nonzero");break;case a.OPS.eoClip:this.clip("evenodd");break;case a.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case a.OPS.paintJpegXObject:this.paintJpegXObject(l[0],l[1],l[2]);break;case a.OPS.paintImageXObject:this.paintImageXObject(l[0]);break;case a.OPS.paintInlineImageXObject:this.paintInlineImageXObject(l[0]);break;case a.OPS.paintImageMaskXObject:this.paintImageMaskXObject(l[0]);break;case a.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(l[0],l[1]);break;case a.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case a.OPS.closePath:this.closePath();break;case a.OPS.closeStroke:this.closeStroke();break;case a.OPS.closeFillStroke:this.closeFillStroke();break;case a.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case a.OPS.nextLine:this.nextLine();break;case a.OPS.transform:this.transform(l[0],l[1],l[2],l[3],l[4],l[5]);break;case a.OPS.constructPath:this.constructPath(l[0],l[1]);break;case a.OPS.endPath:this.endPath();break;case 92:this.group(s.items);break;default:(0,a.warn)("Unimplemented operator ".concat(c));break}}}catch(f){r=!0,n=f}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,r,n,i,o){var a=this.current;a.textMatrix=a.lineMatrix=[e,t,r,n,i,o],a.textMatrixScale=Math.sqrt(e*e+t*t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(S(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",S(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=a.IDENTITY_MATRIX,e.lineMatrix=a.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[]}},{key:"moveText",value:function(e,t){var r=this.current;r.x=r.lineX+=e,r.y=r.lineY+=t,r.xcoords=[],r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"font-family",r.fontFamily),r.tspan.setAttributeNS(null,"font-size","".concat(S(r.fontSize),"px")),r.tspan.setAttributeNS(null,"y",S(-r.y))}},{key:"showText",value:function(e){var t=this.current,r=t.font,n=t.fontSize;if(0!==n){var i=t.charSpacing,o=t.wordSpacing,s=t.fontDirection,c=t.textHScale*s,u=r.vertical,l=n*t.fontMatrix[0],f=0,h=!0,d=!1,p=void 0;try{for(var v,g=e[Symbol.iterator]();!(h=(v=g.next()).done);h=!0){var m=v.value;if(null!==m)if((0,a.isNum)(m))f+=-m*n*.001;else{var y=m.width,b=m.fontChar,_=(m.isSpace?o:0)+i,w=y*l+_*s;m.isInFont||r.missingFile?(t.xcoords.push(t.x+f*c),t.tspan.textContent+=b,f+=w):f+=w}else f+=s*o}}catch(R){d=!0,p=R}finally{try{h||null==g["return"]||g["return"]()}finally{if(d)throw p}}u?t.y-=f*c:t.x+=f*c,t.tspan.setAttributeNS(null,"x",t.xcoords.map(S).join(" ")),t.tspan.setAttributeNS(null,"y",S(-t.y)),t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(S(t.fontSize),"px")),t.fontStyle!==k.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==k.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var A=t.textRenderingMode&a.TextRenderingMode.FILL_STROKE_MASK;if(A===a.TextRenderingMode.FILL||A===a.TextRenderingMode.FILL_STROKE?(t.fillColor!==k.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===a.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),A===a.TextRenderingMode.STROKE||A===a.TextRenderingMode.FILL_STROKE){var P=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,P)}var E=t.textMatrix;0!==t.textRise&&(E=E.slice(),E[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(x(E)," scale(1, -1)")),t.txtElement.setAttributeNS(C,"xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,a.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,r=this.commonObjs.get(e[0]),n=e[1];t.font=r,this.embedFonts&&r.data&&!this.embeddedFonts[r.loadedName]&&(this.addFontStyle(r),this.embeddedFonts[r.loadedName]=r),t.fontMatrix=r.fontMatrix?r.fontMatrix:a.FONT_IDENTITY_MATRIX;var i=r.black?r.bold?"bolder":"bold":r.bold?"bold":"normal",o=r.italic?"italic":"normal";n<0?(n=-n,t.fontDirection=-1):t.fontDirection=1,t.fontSize=n,t.fontFamily=r.loadedName,t.fontWeight=i,t.fontStyle=o,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",S(-t.y)),t.xcoords=[]}},{key:"endText",value:function(){var e=this.current;e.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement&&e.txtElement.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=E[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=R[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,r){this.current.strokeColor=a.Util.makeCssRgb(e,t,r)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,r){this.current.fillColor=a.Util.makeCssRgb(e,t,r),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,r=this.viewport.height,n=a.Util.inverseTransform(this.transformMatrix),i=a.Util.applyTransform([0,0],n),o=a.Util.applyTransform([0,r],n),s=a.Util.applyTransform([t,0],n),c=a.Util.applyTransform([t,r],n),u=Math.min(i[0],o[0],s[0],c[0]),l=Math.min(i[1],o[1],s[1],c[1]),f=Math.max(i[0],o[0],s[0],c[0]),h=Math.max(i[1],o[1],s[1],c[1]),d=this.svgFactory.createElement("svg:rect");d.setAttributeNS(null,"x",u),d.setAttributeNS(null,"y",l),d.setAttributeNS(null,"width",f-u),d.setAttributeNS(null,"height",h-l),d.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this._ensureTransformGroup().appendChild(d)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],r=e[2],n=e[3]||a.IDENTITY_MATRIX,i=p(e[4],4),o=i[0],s=i[1],c=i[2],u=i[3],f=e[5],h=e[6],d=e[7],v="shading".concat(F++),g=a.Util.applyTransform([o,s],n),m=p(g,2),y=m[0],b=m[1],_=a.Util.applyTransform([c,u],n),w=p(_,2),A=w[0],S=w[1],x=a.Util.singularValueDecompose2dScale(n),k=p(x,2),C=k[0],P=k[1],E=f*C,R=h*P,T=this.svgFactory.createElement("svg:pattern");T.setAttributeNS(null,"id",v),T.setAttributeNS(null,"patternUnits","userSpaceOnUse"),T.setAttributeNS(null,"width",E),T.setAttributeNS(null,"height",R),T.setAttributeNS(null,"x","".concat(y)),T.setAttributeNS(null,"y","".concat(b));var O=this.svg,I=this.transformMatrix,L=this.current.fillColor,D=this.current.strokeColor,j=this.svgFactory.create(A-y,S-b);if(this.svg=j,this.transformMatrix=n,2===d){var M=a.Util.makeCssRgb.apply(a.Util,l(t));this.current.fillColor=M,this.current.strokeColor=M}return this.executeOpTree(this.convertOpList(r)),this.svg=O,this.transformMatrix=I,this.current.fillColor=L,this.current.strokeColor=D,T.appendChild(j.childNodes[0]),this.defs.appendChild(T),"url(#".concat(v,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,r="shading".concat(F++),n=e[2];switch(e[1]){case"axial":var i=e[3],o=e[4];t=this.svgFactory.createElement("svg:linearGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",i[0]),t.setAttributeNS(null,"y1",i[1]),t.setAttributeNS(null,"x2",o[0]),t.setAttributeNS(null,"y2",o[1]);break;case"radial":var s=e[3],c=e[4],u=e[5],l=e[6];t=this.svgFactory.createElement("svg:radialGradient"),t.setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",c[0]),t.setAttributeNS(null,"cy",c[1]),t.setAttributeNS(null,"r",l),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var f=!0,h=!1,d=void 0;try{for(var p,v=n[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var g=p.value,m=this.svgFactory.createElement("svg:stop");m.setAttributeNS(null,"offset",g[0]),m.setAttributeNS(null,"stop-color",g[1]),t.appendChild(m)}}catch(y){h=!0,d=y}finally{try{f||null==v["return"]||v["return"]()}finally{if(h)throw d}}return this.defs.appendChild(t),"url(#".concat(r,")");case"Mesh":return(0,a.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var r=this.current,n=r.x,i=r.y,o=[],s=0,c=!0,u=!1,l=void 0;try{for(var f,h=e[Symbol.iterator]();!(c=(f=h.next()).done);c=!0){var d=f.value;switch(0|d){case a.OPS.rectangle:n=t[s++],i=t[s++];var p=t[s++],v=t[s++],g=n+p,m=i+v;o.push("M",S(n),S(i),"L",S(g),S(i),"L",S(g),S(m),"L",S(n),S(m),"Z");break;case a.OPS.moveTo:n=t[s++],i=t[s++],o.push("M",S(n),S(i));break;case a.OPS.lineTo:n=t[s++],i=t[s++],o.push("L",S(n),S(i));break;case a.OPS.curveTo:n=t[s+4],i=t[s+5],o.push("C",S(t[s]),S(t[s+1]),S(t[s+2]),S(t[s+3]),S(n),S(i)),s+=6;break;case a.OPS.curveTo2:n=t[s+2],i=t[s+3],o.push("C",S(n),S(i),S(t[s]),S(t[s+1]),S(t[s+2]),S(t[s+3])),s+=4;break;case a.OPS.curveTo3:n=t[s+2],i=t[s+3],o.push("C",S(t[s]),S(t[s+1]),S(n),S(i),S(n),S(i)),s+=4;break;case a.OPS.closePath:o.push("Z");break}}}catch(y){u=!0,l=y}finally{try{c||null==h["return"]||h["return"]()}finally{if(u)throw l}}o=o.join(" "),r.path&&e.length>0&&e[0]!==a.OPS.rectangle&&e[0]!==a.OPS.moveTo?o=r.path.getAttributeNS(null,"d")+o:(r.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(r.path)),r.path.setAttributeNS(null,"d",o),r.path.setAttributeNS(null,"fill","none"),r.element=r.path,r.setCurrentPoint(n,i)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(I++),r=this.svgFactory.createElement("svg:clipPath");r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"transform",x(this.transformMatrix));var n=e.element.cloneNode(!0);"evenodd"===this.pendingClip?n.setAttributeNS(null,"clip-rule","evenodd"):n.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,r.appendChild(n),this.defs.appendChild(r),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach((function(e){e.clipGroup=null})),r.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var s=p(i.value,2),c=s[0],u=s[1];switch(c){case"LW":this.setLineWidth(u);break;case"LC":this.setLineCap(u);break;case"LJ":this.setLineJoin(u);break;case"ML":this.setMiterLimit(u);break;case"D":this.setDash(u[0],u[1]);break;case"RI":this.setRenderingIntent(u);break;case"FL":this.setFlatness(u);break;case"Font":this.setFont(u);break;case"CA":this.setStrokeAlpha(u);break;case"ca":this.setFillAlpha(u);break;default:(0,a.warn)("Unimplemented graphic state operator ".concat(c));break}}}catch(l){r=!0,n=l}finally{try{t||null==o["return"]||o["return"]()}finally{if(r)throw n}}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.current,n=r.dashArray;1!==t&&n.length>0&&(n=n.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",r.strokeColor),e.setAttributeNS(null,"stroke-opacity",r.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",S(r.miterLimit)),e.setAttributeNS(null,"stroke-linecap",r.lineCap),e.setAttributeNS(null,"stroke-linejoin",r.lineJoin),e.setAttributeNS(null,"stroke-width",S(t*r.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",n.map(S).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",S(t*r.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintJpegXObject",value:function(e,t,r){var n=this.objs.get(e),i=this.svgFactory.createElement("svg:image");i.setAttributeNS(P,"xlink:href",n.src),i.setAttributeNS(null,"width",S(t)),i.setAttributeNS(null,"height",S(r)),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",S(-r)),i.setAttributeNS(null,"transform","scale(".concat(S(1/t)," ").concat(S(-1/r),")")),this._ensureTransformGroup().appendChild(i)}},{key:"paintImageXObject",value:function(e){var t=this.objs.get(e);t?this.paintInlineImageXObject(t):(0,a.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var r=e.width,n=e.height,i=T(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",S(r)),o.setAttributeNS(null,"height",S(n)),this.current.element=o,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS(P,"xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",S(-n)),a.setAttributeNS(null,"width",S(r)+"px"),a.setAttributeNS(null,"height",S(n)+"px"),a.setAttributeNS(null,"transform","scale(".concat(S(1/r)," ").concat(S(-1/n),")")),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,r=e.width,n=e.height,i=t.fillColor;t.maskId="mask".concat(L++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",S(r)),a.setAttributeNS(null,"height",S(n)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,o)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var r=t[2]-t[0],n=t[3]-t[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",t[0]),i.setAttributeNS(null,"y",t[1]),i.setAttributeNS(null,"width",S(r)),i.setAttributeNS(null,"height",S(n)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),r=this.svgFactory.createElement("svg:defs");t.appendChild(r),this.defs=r;var n=this.svgFactory.createElement("svg:g");return n.setAttributeNS(null,"transform",x(e.transform)),t.appendChild(n),this.svg=n,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",x(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var i=s(n(148)),o=n(1),a=n(166);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"===typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return u(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":u(e)},c(e)}function l(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function v(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){v(o,n,i,a,s,"next",e)}function s(e){v(o,n,i,a,s,"throw",e)}a(void 0)}))}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}var _=r(1),w=r(2),A=r(3),S=r("0b16"),x=/^file:\/\/\/[a-zA-Z]:\//;function k(e){var t=S.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?S.parse("file:///".concat(e)):(t.host||(t.protocol="file:"),t)}var C=function(){function e(t){m(this,e),this.source=t,this.url=k(t.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return b(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader),this._fullRequestReader=this.isFsUrl?new I(this):new T(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=this.isFsUrl?new L(this,e,t):new O(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFNodeStream=C;var P=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),E=function(){function e(t){m(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)();var r=t.source;this._isStreamingSupported=!r.disableStream}return b(e,[{key:"read",value:function(){var e=g(i["default"].mark((function e(){var t,r;return i["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(t=this._readableStream.read(),null!==t){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),r=new Uint8Array(t).buffer,e.abrupt("return",{value:r,done:!1});case 14:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function R(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var T=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=function(t){if(404===t.statusCode){var n=new o.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var i=function(e){return r._readableStream.headers[e.toLowerCase()]},s=(0,a.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),c=s.allowRangeRequests,u=s.suggestedLength;r._isRangeSupported=c,r._contentLength=u||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(i)};return r._request=null,"http:"===r._url.protocol?r._request=w.request(R(r._url,e.httpHeaders),n):r._request=A.request(R(r._url,e.httpHeaders),n),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return d(t,e),t}(P),O=function(e){function t(e,r,n){var i;for(var a in m(this,t),i=l(this,h(t).call(this,e)),i._httpHeaders={},e.httpHeaders){var s=e.httpHeaders[a];"undefined"!==typeof s&&(i._httpHeaders[a]=s)}i._httpHeaders["Range"]="bytes=".concat(r,"-").concat(n-1);var c=function(e){if(404!==e.statusCode)i._setReadableStream(e);else{var t=new o.MissingPDFException('Missing PDF "'.concat(i._url,'".'));i._storedError=t}};return i._request=null,"http:"===i._url.protocol?i._request=w.request(R(i._url,i._httpHeaders),c):i._request=A.request(R(i._url,i._httpHeaders),c),i._request.on("error",(function(e){i._storedError=e})),i._request.end(),i}return d(t,e),t}(E),I=function(e){function t(e){var r;m(this,t),r=l(this,h(t).call(this,e));var n=decodeURIComponent(r._url.path);return x.test(r._url.href)&&(n=n.replace(/^\//,"")),_.lstat(n,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new o.MissingPDFException('Missing PDF "'.concat(n,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(_.createReadStream(n)),r._headersCapability.resolve()})),r}return d(t,e),t}(P),L=function(e){function t(e,r,n){var i;m(this,t),i=l(this,h(t).call(this,e));var o=decodeURIComponent(i._url.path);return x.test(i._url.href)&&(o=o.replace(/^\//,"")),i._setReadableStream(_.createReadStream(o,{start:r,end:n-1})),i}return d(t,e),t}(E)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=s,t.extractFilenameFromHeader=a,t.validateRangeRequestCapabilities=o,t.validateResponseStatus=c;var n=r(1),i=r(167);function o(e){var t=e.getResponseHeader,r=e.isHttp,i=e.rangeChunkSize,o=e.disableRange;(0,n.assert)(i>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);if(!Number.isInteger(s))return a;if(a.suggestedLength=s,s<=2*i)return a;if(o||!r)return a;if("bytes"!==t("Accept-Ranges"))return a;var c=t("Content-Encoding")||"identity";return"identity"!==c||(a.allowRangeRequests=!0),a}function a(e){var t=e("Content-Disposition");if(t){var r=(0,i.getFilenameFromContentDispositionHeader)(t);if(/\.pdf$/i.test(r))return r}return null}function s(e,t){return 404===e||0===e&&/^file:/.test(t)?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)}function c(e){return 200===e||206===e}},function(e,t,r){"use strict";function n(e,t){return a(e)||o(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function o(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}function a(e){if(Array.isArray(e))return e}function s(e){var t=!0,r=s("filename\\*","i").exec(e);if(r){r=r[1];var i=f(r);return i=unescape(i),i=h(i),i=d(i),u(i)}if(r=l(e),r){var o=d(r);return u(o)}if(r=s("filename","i").exec(e),r){r=r[1];var a=f(r);return a=d(a),u(a)}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function c(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{var n=new TextDecoder(e,{fatal:!0}),i=Array.from(r,(function(e){return 255&e.charCodeAt(0)}));r=n.decode(new Uint8Array(i)),t=!1}catch(o){if(/^utf-?8$/i.test(e))try{r=decodeURIComponent(escape(r)),t=!1}catch(a){}}}return r}function u(e){return t&&/[\x80-\xff]/.test(e)&&(e=c("utf-8",e),t&&(e=c("iso-8859-1",e))),e}function l(e){var t,r=[],i=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");while(null!==(t=i.exec(e))){var o=t,a=n(o,4),c=a[1],u=a[2],l=a[3];if(c=parseInt(c,10),c in r){if(0===c)break}else r[c]=[u,l]}var d=[];for(c=0;c<r.length;++c){if(!(c in r))break;var p=n(r[c],2);u=p[0],l=p[1];l=f(l),u&&(l=unescape(l),0===c&&(l=h(l))),d.push(l)}return d.join("")}function f(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),r=0;r<t.length;++r){var n=t[r].indexOf('"');-1!==n&&(t[r]=t[r].slice(0,n),t.length=r+1),t[r]=t[r].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function h(e){var t=e.indexOf("'");if(-1===t)return e;var r=e.slice(0,t),n=e.slice(t+1),i=n.replace(/^[^']*'/,"");return c(r,i)}function d(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,r,n){if("q"===r||"Q"===r)return n=n.replace(/_/g," "),n=n.replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})),c(t,n);try{n=atob(n)}catch(i){}return c(t,n)}))}return""}Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var n=a(r(148)),i=r(1),o=r(166);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}var h=200,d=206;function p(e){var t=e.response;if("string"!==typeof t)return t;var r=(0,i.stringToBytes)(t);return r.buffer}var v=function(){function e(t,r){u(this,e),this.url=t,r=r||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||{},this.withCredentials=r.withCredentials||!1,this.getXhr=r.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return f(e,[{key:"requestRange",value:function(e,t,r){var n={begin:e,end:t};for(var i in r)n[i]=r[i];return this.request(n)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[i];"undefined"!==typeof o&&t.setRequestHeader(i,o)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),n.expectedStatus=d):n.expectedStatus=h,t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r}},{key:"onProgress",value:function(e,t){var r=this.pendingRequests[e];r&&r.onProgress&&r.onProgress(t)}},{key:"onStateChange",value:function(e,t){var r=this.pendingRequests[e];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===n.status&&this.isHttp)r.onError&&r.onError(n.status);else{var i=n.status||h,o=i===h&&r.expectedStatus===d;if(o||i===r.expectedStatus){var a=p(n);if(i===d){var s=n.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);r.onDone({begin:parseInt(c[1],10),chunk:a})}else a?r.onDone({begin:0,chunk:a}):r.onError&&r.onError(n.status)}else r.onError&&r.onError(n.status)}}}},{key:"hasPendingRequests",value:function(){for(var e in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),g=function(){function e(t){u(this,e),this._source=t,this._manager=new v(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new m(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new y(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}}]),e}();t.PDFNetworkStream=g;var m=function(){function e(t,r){u(this,e),this._manager=t;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}return f(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=function(e){return t.getResponseHeader(e)},n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(r),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(e)if(this._requests.length>0){var t=this._requests.shift();t.resolve({value:e.chunk,done:!1})}else this._cachedChunks.push(e.chunk);this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(e){var t=this._url,r=(0,o.createResponseStatusError)(e,t);this._storedError=r,this._headersReceivedCapability.reject(r),this._requests.forEach((function(e){e.reject(r)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),e}(),y=function(){function e(t,r,n){u(this,e),this._manager=t;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}return f(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;if(this._requests.length>0){var r=this._requests.shift();r.resolve({value:t,done:!1})}else this._queuedChunk=t;this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return r=(0,i.createPromiseCapability)(),this._requests.push(r),e.abrupt("return",r.promise);case 9:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach((function(e){e.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=a(r(148)),i=r(1),o=r(166);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,c,"next",e)}function c(e){s(o,n,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function h(e,t,r){return{method:"GET",headers:e,signal:r&&r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}var d=function(){function e(t){u(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return f(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader),this._fullRequestReader=new p(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var r=new v(this,e,t);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t=this._rangeRequestReaders.slice(0);t.forEach((function(t){t.cancel(e)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFFetchStream=d;var p=function(){function e(t){var r=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var n=t.source;for(var a in this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._headers=new Headers,this._stream.httpHeaders){var s=this._stream.httpHeaders[a];"undefined"!==typeof s&&this._headers.append(a,s)}var c=n.url;fetch(c,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,c);r._reader=e.body.getReader(),r._headersCapability.resolve();var t=function(t){return e.headers.get(t)},n=(0,o.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:r._stream.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),a=n.allowRangeRequests,s=n.suggestedLength;r._isRangeSupported=a,r._contentLength=s||r._contentLength,r._filename=(0,o.extractFilenameFromHeader)(t),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new i.AbortException("Streaming is disabled."))}))["catch"](this._headersCapability.reject),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r,i,o;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(r).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),v=function(){function e(t,r,n){var a=this;u(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;for(var c in this._withCredentials=s.withCredentials||!1,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!==typeof AbortController&&(this._abortController=new AbortController),this._headers=new Headers,this._stream.httpHeaders){var l=this._stream.httpHeaders[c];"undefined"!==typeof l&&this._headers.append(c,l)}this._headers.append("Range","bytes=".concat(r,"-").concat(n-1));var f=s.url;fetch(f,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,f);a._readCapability.resolve(),a._reader=e.body.getReader()})),this.onProgress=null}return f(e,[{key:"read",value:function(){var e=c(n["default"].mark((function e(){var t,r,i,o;return n["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,r=t.value,i=t.done,!i){e.next=9;break}return e.abrupt("return",{value:r,done:i});case 9:return this._loaded+=r.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(r).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}()}])}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"),r("62e4")(e))},"96cf":function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(I){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new R(n||[]);return o._invoke=k(e,r,a),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(I){return{type:"throw",arg:I}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function g(){}function m(){}function y(){}var b={};b[o]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==r&&n.call(w,o)&&(b=w);var A=y.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;function o(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}this._invoke=o}function k(e,t,r){var n=f;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return O()}r.method=i,r.arg=o;while(1){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?p:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator["return"]&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var r=e[o];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){while(++i<e.length)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:O}}function O(){return{value:t,done:!0}}return m.prototype=A.constructor=y,y.constructor=m,m.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},S(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new x(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(A),c(A,s,"Generator"),A[o]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){while(t.length){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),o=r("0d3b"),a=r("6eeb"),s=r("e2cc"),c=r("d44e"),u=r("9ed3"),l=r("69f3"),f=r("19aa"),h=r("5135"),d=r("0366"),p=r("f5df"),v=r("825a"),g=r("861d"),m=r("7c73"),y=r("5c6c"),b=r("9a1f"),_=r("35a1"),w=r("b622"),A=i("fetch"),S=i("Headers"),x=w("iterator"),k="URLSearchParams",C=k+"Iterator",P=l.set,E=l.getterFor(k),R=l.getterFor(C),T=/\+/g,O=Array(4),I=function(e){return O[e-1]||(O[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},L=function(e){try{return decodeURIComponent(e)}catch(t){return e}},F=function(e){var t=e.replace(T," "),r=4;try{return decodeURIComponent(t)}catch(n){while(r)t=t.replace(I(r--),L);return t}},D=/[!'()~]|%20/g,j={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(e){return j[e]},N=function(e){return encodeURIComponent(e).replace(D,M)},U=function(e,t){if(t){var r,n,i=t.split("&"),o=0;while(o<i.length)r=i[o++],r.length&&(n=r.split("="),e.push({key:F(n.shift()),value:F(n.join("="))}))}},q=function(e){this.entries.length=0,U(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},W=u((function(e,t){P(this,{type:C,iterator:b(E(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),G=function(){f(this,G,k);var e,t,r,n,i,o,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(P(l,{type:k,entries:d,updateURL:function(){},updateSearchParams:q}),void 0!==u)if(g(u))if(e=_(u),"function"===typeof e){t=e.call(u),r=t.next;while(!(n=r.call(t)).done){if(i=b(v(n.value)),o=i.next,(a=o.call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}}else for(c in u)h(u,c)&&d.push({key:c,value:u[c]+""});else U(d,"string"===typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},z=G.prototype;s(z,{append:function(e,t){B(arguments.length,2);var r=E(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){B(arguments.length,1);var t=E(this),r=t.entries,n=e+"",i=0;while(i<r.length)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){B(arguments.length,1);for(var t=E(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){B(arguments.length,1);var t=E(this).entries,r=e+"",n=0;while(n<t.length)if(t[n++].key===r)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var r,n=E(this),i=n.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)r=i[c],r.key===a&&(o?i.splice(c--,1):(o=!0,r.value=s));o||i.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=E(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){var t,r=E(this).entries,n=d(e,arguments.length>1?arguments[1]:void 0,3),i=0;while(i<r.length)t=r[i++],n(t.value,t.key,this)},keys:function(){return new W(this,"keys")},values:function(){return new W(this,"values")},entries:function(){return new W(this,"entries")}},{enumerable:!0}),a(z,x,z.entries),a(z,"toString",(function(){var e,t=E(this).entries,r=[],n=0;while(n<t.length)e=t[n++],r.push(N(e.key)+"="+N(e.value));return r.join("&")}),{enumerable:!0}),c(G,k),n({global:!0,forced:!o},{URLSearchParams:G}),o||"function"!=typeof A||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(r=t.body,p(r)===k&&(n=t.headers?new S(t.headers):new S,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:y(0,String(r)),headers:y(0,n)}))),i.push(t)),A.apply(this,i)}}),e.exports={URLSearchParams:G,getState:E}},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),o=r("e8b5"),a=r("861d"),s=r("7b0b"),c=r("50c4"),u=r("8418"),l=r("65f0"),f=r("1dde"),h=r("b622"),d=r("2d00"),p=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=d>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!m||!y;n({target:"Array",proto:!0,forced:_},{concat:function(e){var t,r,n,i,o,a=s(this),f=l(a,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?a:arguments[t],b(o)){if(i=c(o.length),h+i>v)throw TypeError(g);for(r=0;r<i;r++,h++)r in o&&u(f,h,o[r])}else{if(h>=v)throw TypeError(g);u(f,h++,o)}return f.length=h,f}})},"9a0c":function(e,t,r){var n=r("342f");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9a8c":function(e,t,r){"use strict";var n=r("ebb5"),i=r("145e"),o=n.aTypedArray,a=n.exportTypedArrayMethod;a("copyWithin",(function(e,t){return i.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9b37":function(e,t,r){"use strict";r("2a90")},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){throw i(e),a}}},"9bf2":function(e,t,r){var n=r("83ab"),i=r("0cfb"),o=r("825a"),a=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return s(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),o=r("5c6c"),a=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=i(n,{next:o(1,r)}),a(e,u,!1,!0),s[u]=c,e}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a078:function(e,t,r){var n=r("7b0b"),i=r("50c4"),o=r("35a1"),a=r("e95a"),s=r("0366"),c=r("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,r,u,l,f,h,d=n(e),p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=o(d);if(void 0!=m&&!a(m)){f=m.call(d),h=f.next,d=[];while(!(l=h.call(f)).done)d.push(l.value)}for(g&&p>2&&(v=s(v,arguments[2],2)),r=i(d.length),u=new(c(this))(r),t=0;r>t;t++)u[t]=g?v(d[t],t):d[t];return u}},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("44ad"),o=r("fc6a"),a=r("a640"),s=[].join,c=i!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:c||!u},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a2f2:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,'.label-view[data-v-0dfa1a8c]{position:relative;float:left;width:100%;height:100%;overflow:hidden}.label-view .tag[data-v-0dfa1a8c]{position:absolute;z-index:999;top:0;display:none}.labelCon[data-v-0dfa1a8c]{position:absolute;width:100%;height:100%;top:0;left:0;text-align:center;color:#fff;font-size:12px;display:table;white-space:nowrap}.labelCon .span-text[data-v-0dfa1a8c]{display:table-cell;vertical-align:middle}.label-proterty[data-v-0dfa1a8c]{position:absolute;bottom:0;right:10px;color:#206ad4;font-size:14px}.resize-tag[data-v-0dfa1a8c]{width:10px;height:10px;overflow:hidden;position:absolute;cursor:se-resize;right:0;bottom:0}.resize-tag[data-v-0dfa1a8c]:after{content:"";display:inline-block;width:15px;height:3px;border:1px solid #666;transform-origin:center;transform:rotate(135deg) translate(-2px,5px)}.close[data-v-0dfa1a8c]{width:20px;height:20px;border-radius:50%;position:absolute;top:-10px;right:-10px;background:coral;color:#fff;transform:rotate(45deg);text-align:center;line-height:20px;cursor:pointer}i[data-v-0dfa1a8c]{font-style:normal}',""]),e.exports=t},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("23cb"),o=r("a691"),a=r("50c4"),s=r("7b0b"),c=r("65f0"),u=r("8418"),l=r("1dde"),f=r("ae40"),h=l("splice"),d=f("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,v=Math.min,g=9007199254740991,m="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!h||!d},{splice:function(e,t){var r,n,l,f,h,d,y=s(this),b=a(y.length),_=i(e,b),w=arguments.length;if(0===w?r=n=0:1===w?(r=0,n=b-_):(r=w-2,n=v(p(o(t),0),b-_)),b+r-n>g)throw TypeError(m);for(l=c(y,n),f=0;f<n;f++)h=_+f,h in y&&u(l,f,y[h]);if(l.length=n,r<n){for(f=_;f<b-n;f++)h=f+n,d=f+r,h in y?y[d]=y[h]:delete y[d];for(f=b;f>b-n+r;f--)delete y[f-1]}else if(r>n)for(f=b-n;f>_;f--)h=f+n-1,d=f+r-1,h in y?y[d]=y[h]:delete y[d];for(f=0;f<r;f++)y[f+_]=arguments[f+2];return y.length=b-n+r,l}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("d066"),a=r("c430"),s=r("83ab"),c=r("4930"),u=r("fdbf"),l=r("d039"),f=r("5135"),h=r("e8b5"),d=r("861d"),p=r("825a"),v=r("7b0b"),g=r("fc6a"),m=r("c04e"),y=r("5c6c"),b=r("7c73"),_=r("df75"),w=r("241c"),A=r("057f"),S=r("7418"),x=r("06cf"),k=r("9bf2"),C=r("d1e7"),P=r("9112"),E=r("6eeb"),R=r("5692"),T=r("f772"),O=r("d012"),I=r("90e3"),L=r("b622"),F=r("e538"),D=r("746f"),j=r("d44e"),M=r("69f3"),N=r("b727").forEach,U=T("hidden"),q="Symbol",B="prototype",W=L("toPrimitive"),G=M.set,z=M.getterFor(q),Y=Object[B],H=i.Symbol,X=o("JSON","stringify"),V=x.f,Q=k.f,K=A.f,J=C.f,Z=R("symbols"),$=R("op-symbols"),ee=R("string-to-symbol-registry"),te=R("symbol-to-string-registry"),re=R("wks"),ne=i.QObject,ie=!ne||!ne[B]||!ne[B].findChild,oe=s&&l((function(){return 7!=b(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=V(Y,t);n&&delete Y[t],Q(e,t,r),n&&e!==Y&&Q(Y,t,n)}:Q,ae=function(e,t){var r=Z[e]=b(H[B]);return G(r,{type:q,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof H},ce=function(e,t,r){e===Y&&ce($,t,r),p(e);var n=m(t,!0);return p(r),f(Z,n)?(r.enumerable?(f(e,U)&&e[U][n]&&(e[U][n]=!1),r=b(r,{enumerable:y(0,!1)})):(f(e,U)||Q(e,U,y(1,{})),e[U][n]=!0),oe(e,n,r)):Q(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=_(r).concat(pe(r));return N(n,(function(t){s&&!fe.call(r,t)||ce(e,t,r[t])})),e},le=function(e,t){return void 0===t?b(e):ue(b(e),t)},fe=function(e){var t=m(e,!0),r=J.call(this,t);return!(this===Y&&f(Z,t)&&!f($,t))&&(!(r||!f(this,t)||!f(Z,t)||f(this,U)&&this[U][t])||r)},he=function(e,t){var r=g(e),n=m(t,!0);if(r!==Y||!f(Z,n)||f($,n)){var i=V(r,n);return!i||!f(Z,n)||f(r,U)&&r[U][n]||(i.enumerable=!0),i}},de=function(e){var t=K(g(e)),r=[];return N(t,(function(e){f(Z,e)||f(O,e)||r.push(e)})),r},pe=function(e){var t=e===Y,r=K(t?$:g(e)),n=[];return N(r,(function(e){!f(Z,e)||t&&!f(Y,e)||n.push(Z[e])})),n};if(c||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),r=function(e){this===Y&&r.call($,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),oe(this,t,y(1,e))};return s&&ie&&oe(Y,t,{configurable:!0,set:r}),ae(t,e)},E(H[B],"toString",(function(){return z(this).tag})),E(H,"withoutSetter",(function(e){return ae(I(e),e)})),C.f=fe,k.f=ce,x.f=he,w.f=A.f=de,S.f=pe,F.f=function(e){return ae(L(e),e)},s&&(Q(H[B],"description",{configurable:!0,get:function(){return z(this).description}}),a||E(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(_(re),(function(e){D(e)})),n({target:q,stat:!0,forced:!c},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var r=H(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:le,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:l((function(){S.f(1)}))},{getOwnPropertySymbols:function(e){return S.f(v(e))}}),X){var ve=!c||l((function(){var e=H();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}));n({target:"JSON",stat:!0,forced:ve},{stringify:function(e,t,r){var n,i=[e],o=1;while(arguments.length>o)i.push(arguments[o++]);if(n=t,(d(t)||void 0!==e)&&!se(e))return h(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),i[1]=t,X.apply(null,i)}})}H[B][W]||P(H[B],W,H[B].valueOf),j(H,q),O[U]=!0},a623:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").every,o=r("a640"),a=r("ae40"),s=o("every"),c=a("every");n({target:"Array",proto:!0,forced:!s||!c},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},a630:function(e,t,r){var n=r("23e7"),i=r("4df4"),o=r("1c7e"),a=!o((function(e){Array.from(e)}));n({target:"Array",stat:!0,forced:a},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},a79d:function(e,t,r){"use strict";var n=r("23e7"),i=r("c430"),o=r("fea9"),a=r("d039"),s=r("d066"),c=r("4840"),u=r("cdf9"),l=r("6eeb"),f=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));n({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),i||"function"!=typeof o||o.prototype["finally"]||l(o.prototype,"finally",s("Promise").prototype["finally"])},a975:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").every,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},a9e3:function(e,t,r){"use strict";var n=r("83ab"),i=r("da84"),o=r("94ca"),a=r("6eeb"),s=r("5135"),c=r("c6b6"),u=r("7156"),l=r("c04e"),f=r("d039"),h=r("7c73"),d=r("241c").f,p=r("06cf").f,v=r("9bf2").f,g=r("58a8").trim,m="Number",y=i[m],b=y.prototype,_=c(h(b))==m,w=function(e){var t,r,n,i,o,a,s,c,u=l(e,!1);if("string"==typeof u&&u.length>2)if(u=g(u),t=u.charCodeAt(0),43===t||45===t){if(r=u.charCodeAt(2),88===r||120===r)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(o=u.slice(2),a=o.length,s=0;s<a;s++)if(c=o.charCodeAt(s),c<48||c>i)return NaN;return parseInt(o,n)}return+u};if(o(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var A,S=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof S&&(_?f((function(){b.valueOf.call(r)})):c(r)!=m)?u(new y(w(t)),r,S):w(t)},x=n?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;x.length>k;k++)s(y,A=x[k])&&!s(S,A)&&v(S,A,p(y,A));S.prototype=b,b.constructor=S,a(i,m,S)}},ab13:function(e,t,r){var n=r("b622"),i=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[i]=!1,"/./"[e](t)}catch(n){}}return!1}},abcd:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".el-dialog[data-v-7c80f08a]{border-radius:5px;background:#fff;box-shadow:0 5px 10px 0 rgba(0,0,0,.05);border-radius:10px;overflow:hidden}.discard-flow[data-v-7c80f08a]{margin-top:25px;border-top:1px dashed #c9c9c9}.discard-flow__title[data-v-7c80f08a]{margin-top:13px;font-size:16px;color:#c9c9c9;line-height:22px}.discard-flow__title.acitve[data-v-7c80f08a]{color:#474d55}.discard-flow__list[data-v-7c80f08a]{margin-top:4px;font-size:13px;color:#999;line-height:20px}.discard-flow .words[data-v-7c80f08a]{margin-right:30px;color:#101010}.discard-flow .words[data-v-7c80f08a]:last-child{margin:0}.remark-wrapper[data-v-7c80f08a]{margin-top:20px}.remark-wrapper .remark[data-v-7c80f08a]{height:64px}",""]),e.exports=t},ac1f:function(e,t,r){"use strict";var n=r("23e7"),i=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},acac:function(e,t,r){"use strict";var n=r("e2cc"),i=r("f183").getWeakData,o=r("825a"),a=r("861d"),s=r("19aa"),c=r("2266"),u=r("b727"),l=r("5135"),f=r("69f3"),h=f.set,d=f.getterFor,p=u.find,v=u.findIndex,g=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var r=b(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,u){var f=e((function(e,n){s(e,f,t),h(e,{type:t,id:g++,frozen:void 0}),void 0!=n&&c(n,e[u],{that:e,AS_ENTRIES:r})})),p=d(t),v=function(e,t,r){var n=p(e),a=i(o(t),!0);return!0===a?m(n).set(t,r):a[n.id]=r,e};return n(f.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var r=i(e);return!0===r?m(t)["delete"](e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var r=i(e);return!0===r?m(t).has(e):r&&l(r,t.id)}}),n(f.prototype,r?{get:function(e){var t=p(this);if(a(e)){var r=i(e);return!0===r?m(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},acd8:function(e,t,r){var n=r("23e7"),i=r("7e12");n({global:!0,forced:parseFloat!=i},{parseFloat:i})},ace4:function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),o=r("621a"),a=r("825a"),s=r("23cb"),c=r("50c4"),u=r("4840"),l=o.ArrayBuffer,f=o.DataView,h=l.prototype.slice,d=i((function(){return!new l(2).slice(1,void 0).byteLength}));n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:d},{slice:function(e,t){if(void 0!==h&&void 0===t)return h.call(a(this),e);var r=a(this).byteLength,n=s(e,r),i=s(void 0===t?r:t,r),o=new(u(this,l))(c(i-n)),d=new f(this),p=new f(o),v=0;while(n<i)p.setUint8(v++,d.getUint8(n++));return o}})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},adf8:function(e,t,r){e.exports=r.p+"fonts/iconfont.1a79c8ea.eot"},ae40:function(e,t,r){var n=r("83ab"),i=r("d039"),o=r("5135"),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var r=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:c,f=o(t,1)?t[1]:void 0;return s[e]=!!r&&!i((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:c}):e[1]=1,r.call(e,l,f)}))}},ae93:function(e,t,r){"use strict";var n,i,o,a=r("d039"),s=r("e163"),c=r("9112"),u=r("5135"),l=r("b622"),f=r("c430"),h=l("iterator"),d=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=s(s(o)),i!==Object.prototype&&(n=i)):d=!0);var v=void 0==n||a((function(){var e={};return n[h].call(e)!==e}));v&&(n={}),f&&!v||u(n,h)||c(n,h,p),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},af03:function(e,t,r){var n=r("d039");e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},b041:function(e,t,r){"use strict";var n=r("00ee"),i=r("f5df");e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(e,t,r){var n=r("83ab"),i=r("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,c="name";n&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},b352:function(e,t,r){var n=r("30ea");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("634cd40a",n,!0,{sourceMap:!1,shadowMode:!1})},b383:function(e,t,r){"use strict";t.decode=t.parse=r("91dd"),t.encode=t.stringify=r("e099")},b39a:function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),o=r("d039"),a=n.Int8Array,s=i.aTypedArray,c=i.exportTypedArrayMethod,u=[].toLocaleString,l=[].slice,f=!!a&&o((function(){u.call(new a(1))})),h=o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])}));c("toLocaleString",(function(){return u.apply(f?l.call(s(this)):s(this),arguments)}),h)},b420:function(e,t,r){var n=r("23e7"),i=r("621a"),o=r("a981");n({global:!0,forced:!o},{DataView:i.DataView})},b575:function(e,t,r){var n,i,o,a,s,c,u,l,f=r("da84"),h=r("06cf").f,d=r("2cf4").set,p=r("1cdc"),v=r("a4b4"),g=r("605d"),m=f.MutationObserver||f.WebKitMutationObserver,y=f.document,b=f.process,_=f.Promise,w=h(f,"queueMicrotask"),A=w&&w.value;A||(n=function(){var e,t;g&&(e=b.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},p||g||v||!m||!y?_&&_.resolve?(u=_.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=g?function(){b.nextTick(n)}:function(){d.call(f,n)}:(s=!0,c=y.createTextNode(""),new m(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=A||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},b622:function(e,t,r){var n=r("da84"),i=r("5692"),o=r("5135"),a=r("90e3"),s=r("4930"),c=r("fdbf"),u=i("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},b636:function(e,t,r){var n=r("746f");n("asyncIterator")},b639:function(e,t,r){"use strict";(function(e){
25
25
  /*!
26
26
  * The buffer module from node.js, for the browser.
27
27
  *
28
28
  * @author Feross Aboukhadijeh <http://feross.org>
29
29
  * @license MIT
30
30
  */
31
- var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):m(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,r,n){return f(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function d(e,t){if(f(t),e=c(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=c(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function m(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function A(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){var o,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function C(e,t,r,n){return ee(K(t,e.length-r),e,r,n)}function P(e,t,r,n){return ee(J(t),e,r,n)}function E(e,t,r,n){return P(e,t,r,n)}function R(e,t,r,n){return ee($(t),e,r,n)}function T(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,c,u=e[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:o=e[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return F(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return l(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)A(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)A(this,t,t+3),A(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):w.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return S(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return S(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return P(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function F(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function M(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=Q(e[o]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function U(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function B(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function W(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function G(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(e,t,r,n,o){return o||G(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function Y(e,t,r,n,o){return o||G(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):W(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):W(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return Y(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return Y(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function X(e){if(e=V(e).replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Q(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function Z(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function $(e){return n.toByteArray(X(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("a691"),o=r("408a"),a=r("1148"),s=r("d039"),c=1..toFixed,u=Math.floor,l=function(e,t,r){return 0===t?r:t%2===1?l(e,t-1,r*e):l(e*e,t/2,r)},f=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(e){var t,r,n,s,c=o(this),h=i(e),d=[0,0,0,0,0,0],p="",v="0",g=function(e,t){var r=-1,n=t;while(++r<6)n+=e*d[r],d[r]=n%1e7,n=u(n/1e7)},m=function(e){var t=6,r=0;while(--t>=0)r+=d[t],d[t]=u(r/e),r=r%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(t=f(c*l(2,69,1))-69,r=t<0?c*l(2,-t,1):c/l(2,t,1),r*=4503599627370496,t=52-t,t>0){g(0,r),n=h;while(n>=7)g(1e7,0),n-=7;g(l(10,n,1),0),n=t-1;while(n>=23)m(1<<23),n-=23;m(1<<n),g(1,1),m(2),v=y()}else g(0,r),g(1<<-t,0),v=y()+a.call("0",h);return h>0?(s=v.length,v=p+(s<=h?"0."+a.call("0",h-s)+v:v.slice(0,s-h)+"."+v.slice(s-h))):v=p+v,v}})},b727:function(e,t,r){var n=r("0366"),i=r("44ad"),o=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,v,g,m){for(var y,b,_=o(p),w=i(_),A=n(v,g,3),S=a(w.length),x=0,k=m||s,C=t?k(p,S):r||h?k(p,0):void 0;S>x;x++)if((d||x in w)&&(y=w[x],b=A(y,x,_),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.call(C,y)}else switch(e){case 4:return!1;case 7:c.call(C,y)}return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},b8bf:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("7c73");n({target:"Object",stat:!0,sham:!i},{create:o})},b929:function(e,t,r){var n=r("abcd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("78ebf0de",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("23e7"),i=r("e58c");n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bc5b:function(e,t,r){var n=r("24fb"),i=r("cef9");t=n(!1),t.i(i),t.push([e.i,".hevue-wrap[data-v-fb1200dc]{position:fixed;top:0;bottom:0;right:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:999999}.he-img-wrap[data-v-fb1200dc]{width:100%;height:100%;text-align:center;vertical-align:middle;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.he-close-icon[data-v-fb1200dc]{right:50px;top:50px;font-size:46px;color:#666}.arrow[data-v-fb1200dc],.he-close-icon[data-v-fb1200dc]{position:absolute;cursor:pointer;transition:all .2s}.arrow[data-v-fb1200dc]{width:50px;height:50px;text-align:center;line-height:50px;top:50%;border-radius:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);font-size:3vw;opacity:.6}.arrow[data-v-fb1200dc]:hover{opacity:.8;font-size:32px}.arrow-left[data-v-fb1200dc]{left:50px}.arrow-right[data-v-fb1200dc]{right:50px}.he-close-icon[data-v-fb1200dc]:hover{transform:rotate(90deg)}.he-control-bar-wrap[data-v-fb1200dc]{display:flex;position:absolute;width:100%;bottom:10%;left:0}.he-control-bar[data-v-fb1200dc]{height:44px;bottom:10%;padding:0 22px;display:flex;border-radius:22px;margin:0 auto}.he-control-num[data-v-fb1200dc]{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);-ms-transform:translateX(-50%);padding:0 22px;font-size:16px;border-radius:15px}.he-control-btn[data-v-fb1200dc]{line-height:44px;font-size:24px;cursor:pointer;padding:0 9px;transition:all .2s}.he-control-btn[data-v-fb1200dc]:hover{transform:scale(1.2)}.fade-enter-active[data-v-fb1200dc],.fade-leave-active[data-v-fb1200dc]{transition:opacity .3s}.fade-enter[data-v-fb1200dc],.fade-leave-to[data-v-fb1200dc]{opacity:0}.hevue-img-error[data-v-fb1200dc]{font-size:56px;color:#ccc}",""]),e.exports=t},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,r){var n=r("23e7"),i=r("0538");n({target:"Function",proto:!0},{bind:i})},c19f:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("621a"),a=r("2626"),s="ArrayBuffer",c=o[s],u=i[s];n({global:!0,forced:u!==c},{ArrayBuffer:c}),a(s)},c1ac:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").filter,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,c=t.length,u=new(s(r))(c);while(c>n)u[n]=t[n++];return u}))},c20d:function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");e.exports=c?function(e,t){var r=i(String(e));return a(r,t>>>0||(s.test(r)?16:10))}:a},c408:function(e,t,r){"use strict";r("660a")},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("d039"),i=r("5899"),o="​…᠎";e.exports=function(e){return n((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c906:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("861d"),a=Object.isExtensible,s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{isExtensible:function(e){return!!o(e)&&(!a||a(e))}})},c962:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".pdf-view[data-v-40894a73]{height:100%;max-width:100%}.pdf-view-control[data-v-40894a73]{text-align:center;margin:10px 0}.pdf-view-area[data-v-40894a73]{position:relative;margin:0 auto;min-height:700px}.pdf-view-area .canvasstyle[data-v-40894a73]{display:block;margin:0 auto}.pdf-view-area .label-area[data-v-40894a73]{position:absolute;right:0;bottom:0;top:0;left:0}.pdf-view-empty[data-v-40894a73]{text-align:center;line-height:150px;font-size:14px;color:#999}",""]),e.exports=t},c975:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").indexOf,o=r("a640"),a=r("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,r){var n=r("5135"),i=r("fc6a"),o=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},ca91:function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,o=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(e,t,r){var n=r("23e7"),i=r("81d5"),o=r("44d2");n({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc71:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),o=r("af03");n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return i(this,"b","","")}})},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cd26:function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){var e,t=this,r=i(t).length,n=a(r/2),o=0;while(o<n)e=t[o],t[o++]=t[--r],t[r]=e;return t}))},cd97:function(e,t,r){"use strict";r("b352")},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce0a:function(e,t,r){"use strict";r("b929")},ce4e:function(e,t,r){var n=r("da84"),i=r("9112");e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},cee8:function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("f183").onFreeze,a=r("bb2f"),s=r("d039"),c=Object.preventExtensions,u=s((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!a},{preventExtensions:function(e){return c&&i(e)?c(o(e)):e}})},cef9:function(e,t,r){var n=r("24fb"),i=r("1de5"),o=r("adf8"),a=r("2340"),s=r("8ef7"),c=r("55cb");t=n(!1);var u=i(o),l=i(o,{hash:"#iefix"}),f=i(a),h=i(s),d=i(c,{hash:"#iconfont"});t.push([e.i,"@font-face{font-family:iconfont;src:url("+u+");src:url("+l+') format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkQAAsAAAAAERQAAAjCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEaAqSMI8UATYCJAM4Cx4ABCAFhG0HgV4bkA5RlFBSI9nPAru5g41UuVLFiYtgRJc5aOrfayPXP6QQTk1nO2RIyxvXBRylMCIoBFyI8w4MKCPAjCED5M5j/vCQf3u/u7WFoRxFHAWeYeAtzqJA25d8c/OpTbSB8wizhUZRLNGMJZHupQy1/pjSuXxTLFJH1NcWhsVeMLFfk7Vuae7YYLKZDZ9vP1eHiESzw1PhLSRKvJvfl4l/hpknk1BpvL2+Q9xDJENKxIzF2ORAFwl2PazjbCAAVmmUBVkategAPYakCJpskjUT+pwG0+JF6OXamj2TIVOhoR/GUecBTAl/n/xII3qAognIc7VZG+agThfeCrQ34GV6xGh4zXEARiSABpQFwIzYq1a5C6DJwofGtmaMB1AUwfw++i6oopqg9lId6kx1rrr1Rc7LvLdCIADj21OV+5eZRFGVujhKrg5oaFFYHN1ZqM+jCQx7+M8bIWgedhsKBVBdABpQRQBaUBMAUKD2BMCC2gsAB6oMQAeqA4Ae1JkACKhzAfCgbgVAw4scAAK8zANggLeC+D6njf6GJQGYAOoBmLvVrkMpjUEJmtzzJi1d6UgMelq1qEgQOsWaPJBnMxmNuVqpZSt9zmAQcXVgEcoEMVcwGk0mQRSPWdLgEUTGlv8ddjUEnECLVAOFbFtZtYIaV9NVlhZg24W86H54+xP9Inww0ArRtladl49mZWuxe2FRUzzJPlc+KwMitIzvcGuhawGg8wucq+ukHZY02GHbW9Vbk/L68MJJ6wFNdK1Z1ID0lHcOh90yZpDW0tbpcuXnnga4Wr7kH/otfV7TcFB+p2/Sy3JbsJS0QLsnH0HiK8Cu8rEOO6TzLx1KIXGp3iQHcViescA50sU4Yc9Xx0YOR/6uQy28pjORM+5W8hfhEp52eQcfb/F4JS290dL1NS99l5tXPQ/rubqPqqKVhHuRWqr22PYYBKYhZ3iiCbss8mbYasX1Z0Gw4yoOEtERocJACBVXNhupaxX1NJB/2Khw/cLwfLUiJ3Rt0Ph0pTzbf/lqfGswxA8UZXsO1htTh0vxmduFpT5Zydc8rF1qMwBk0hl7ulYKqxUn1oWZLirucn/IJ3YXxI70JqFyIhV7O2kBWGPPKrIKGPSMNMMBIkhKM6D5D8pyn1HEAG3svBY8JXRR8+Kw3GuWddtScown2JPc0LV9PgQN486hi06k6uaqFDP+zz4uOVPx/M7iix1kQan9fBUAn2/6HkN3GrrfIGpdNw+WFTuppHDdJe84XP6qwyy5YM1JG7vwCDbZ0aP7qtJi34TJ8d0mTeoW3yvxMocBTGDWmNjrsui3pqTj19bRW5C4hejxiC2iW2+BAUxgtt+alggMPZmoKOaugj7yeqQ1au1nfv9OyPYLBKn4LveW2GkN21gEwwd/unHUmKfjLAa+DV9G753wwDfhjhCy+PT+s3WK1zqgS2uWOLRh1zpFi68rChOKRp6PLBrUoioC1Q8yf/7mAQwffdNVVfkqt3JKGQOOwhO+58999Aa68DnjI57Sq0gZzlbyV8VVdfRNMpw58PfvfK2ovkPbBm0btu0I0/AqTYx9a6mvStg+zn8qCgt7KDaNbdq66UdjN8TcPzS/1eCpJvFDsD+Mp0eU5k3+LbyfKlHBOJXVdB/E+5lk3GgAn1R3qqFG726VxpxcVi0yMpGJSJtX5d5UtoK/7oATCbl5CxP8tVNo/+JEbdfrKYme1xX1b722Tps5JfCh85TJKBdS7pPVIvCnSIb80h/LI+ioKomK8nvriBJ/ndpD60j10NoxDnhHK+mkqEqVmtTwfAqdceXQHGo5ffs2zWTLbYijSPDlpHckvWtazjr74hDz508y2SFAmH07/aMwZLPGOlVRuVKT6mP+Vw/NDkjrSOX8/ROHFP0Xnt8LQ7epFewd2aeBtpG2QZ+Rjoxw3QzMGGGImdpoaoxBzyzcni+E8jOF4OLwj8SHMjX9IXwtI0pAKC6Euy2EAAu5VnzxIUwRPqY9F8WDhV5/R0Cty2Gdu3TunDc7tse4QZM9vbhRXu8orpdn8qBxPWJn523ZHJPRMSOty972SFs37ej1hsckhYYH3tFJMd4hSdFmCE0Kwfk0wrTOW7bEwK4Ts3nLmeot6erwliaPC83rfRc+P3F++Lt74esS14Xf0zYYgVcnpM0ran7S/LBXrxpqpUwxzaMLz5CsMCQlzQsvLAyfV+WxIaynmLZVG3PCPXoedDtzp5R4i1HQz9bc0aRrmS7X9Im+f9/OaEtAEkPXi/veqeujLFFsO18Uen8AEBjGBujSDj4efrpO8G72E10t7R6W0E1M/njWZjrMXkV0r7Y27Q38hqBG55EJ1v5nroWlC+YG9w6q8U3PfaKL7uf9HRoK+1vXzoce1YQWon9IVdZq4QWkS4nUGnM+CNeqfAV+i8pCI6FGPelKKQCrxgH/jdmheLgtNqK36C+ZjUgxRWRLAdN1dnGYgV3ZcA1OBtZCsv+VrDJojP05YVDQSBoApGCUCCeCsTmcYnQY07C7gBnYPQjXiMQ7mRZuhA5ndWphR+QkEImtr5gzXeYcMau/KGXLdoujd7FR03Zmqzs/U+ESa6NOZsUpyXYxtbxpXdXYbDcrJrZxeqxpLpdFtChygdiIbWHOz5dFhyLnmrNd5W2odFSrUMEy2bZ8tlwAVn0Ks0wuP3oOEVn6p5Rkk9lZFndhSz/fjpmVW75MSkufi5SdmCmcpOWLSEV5mHpYNabtvfrcl9ZOHlZpcHHOQnQ7K2QFRDTinFm+KpeJcNSvlsssm0t52AilDtVQgY9l6UuX3z5bcKvTuPn6lQ81NorQhCEaoiU6oicGwhKO8EQgRhKEktfiTQfYpAFuOUvKlAfY3HZTWnpqRiXGZs53cLlS5oBMaYBNtltDXW6HlGkv1XXapKxMKXgwuXemosh9eyuS1eZiW3LtLtltqNTQz51pt7Mz7WzMpXL9bQGtRMqXtBa0suZk6pxuud9WVfr/qms5JLtVa43ysiQAAA==") format("woff2"),url('+f+') format("woff"),url('+h+') format("truetype"),url('+d+') format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconiconfontzhizuobiaozhun023146:before{content:"\\e694"}.iconhelp:before{content:"\\e626"}.iconjiazaizhong:before{content:"\\e6b1"}.icontupianjiazaishibai:before{content:"\\ec0d"}.iconicon_arrow_right:before{content:"\\e60d"}.iconjiantouzuo:before{content:"\\e620"}.iconxuanzhuan:before{content:"\\e66f"}.iconxuanzhuan1:before{content:"\\e670"}.iconyuanshibili:before{content:"\\e86b"}.iconfangda:before{content:"\\e65d"}.iconsuoxiao:before{content:"\\e65e"}.iconquanping:before{content:"\\e698"}.iconguanbi:before{content:"\\e764"}',""]),e.exports=t},cfc3:function(e,t,r){var n=r("74e8");n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("428f"),i=r("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},d139:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,i=r("5135"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d58f:function(e,t,r){var n=r("1c0b"),i=r("7b0b"),o=r("44ad"),a=r("50c4"),s=function(e){return function(t,r,s,c){n(r);var u=i(t),l=o(u),f=a(u.length),h=e?f-1:0,d=e?-1:1;if(s<2)while(1){if(h in l){c=l[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in l&&(c=r(c,l[h],h,u));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),i=r("d039"),o=r("b622"),a=r("9263"),s=r("9112"),c=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),h=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var p=o(e),v=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=v&&!i((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!v||!g||"replace"===e&&(!u||!l||h)||"split"===e&&!d){var m=/./[p],y=r(p,""[e],(function(e,t,r,n,i){return t.exec===a?v&&!i?{done:!0,value:m.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),b=y[0],_=y[1];n(String.prototype,e,b),n(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,o=r("1dde"),a=r("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,u=o(n),l={},f=0;while(u.length>f)r=i(n,t=u[f++]),void 0!==r&&c(l,t,r);return l}})},dca8:function(e,t,r){var n=r("23e7"),i=r("bb2f"),o=r("d039"),a=r("861d"),s=r("f183").onFreeze,c=Object.freeze,u=o((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!i},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),u=s("toStringTag"),l=o.values;for(var f in i){var h=n[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(v){d[c]=l}if(d[u]||a(d,u,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(v){d[p]=o[p]}}}},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e017:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".switch-page[data-v-fb780886]{margin:0;padding:0;overflow:auto}.switch-page button[data-v-fb780886]{font-size:16px;padding:6px!important}",""]),e.exports=t},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,u=r("e893"),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};u(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var r=v?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(n(a))+r;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[a]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e163:function(e,t,r){var n=r("5135"),i=r("7b0b"),o=r("f772"),a=r("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e25e:function(e,t,r){var n=r("23e7"),i=r("c20d");n({global:!0,forced:parseInt!=i},{parseInt:i})},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=i((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e58c:function(e,t,r){"use strict";var n=r("fc6a"),i=r("a691"),o=r("50c4"),a=r("a640"),s=r("ae40"),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),h=s("indexOf",{ACCESSORS:!0,1:0}),d=l||!f||!h;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),c=r("c430"),u=r("da84"),l=r("d066"),f=r("fea9"),h=r("6eeb"),d=r("e2cc"),p=r("d44e"),v=r("2626"),g=r("861d"),m=r("1c0b"),y=r("19aa"),b=r("8925"),_=r("2266"),w=r("1c7e"),A=r("4840"),S=r("2cf4").set,x=r("b575"),k=r("cdf9"),C=r("44de"),P=r("f069"),E=r("e667"),R=r("69f3"),T=r("94ca"),O=r("b622"),I=r("605d"),L=r("2d00"),F=O("species"),D="Promise",j=R.get,M=R.set,N=R.getterFor(D),U=f,q=u.TypeError,B=u.document,W=u.process,G=l("fetch"),z=P.f,Y=z,H=!!(B&&B.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,V="unhandledrejection",Q="rejectionhandled",K=0,J=1,Z=2,$=1,ee=2,te=T(D,(function(){var e=b(U)!==String(U);if(!e){if(66===L)return!0;if(!I&&!X)return!0}if(c&&!U.prototype["finally"])return!0;if(L>=51&&/native code/.test(U))return!1;var t=U.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[F]=r,!(t.then((function(){}))instanceof r)})),re=te||!w((function(e){U.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;x((function(){var n=e.value,i=e.state==J,o=0;while(r.length>o){var a,s,c,u=r[o++],l=i?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{l?(i||(e.rejection===ee&&ce(e),e.rejection=$),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),c=!0)),a===u.promise?h(q("Promise-chain cycle")):(s=ne(a))?s.call(a,f,h):f(a)):h(n)}catch(p){d&&!c&&d.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,r){var n,i;H?(n=B.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!X&&(i=u["on"+e])?i(n):e===V&&C("Unhandled promise rejection",r)},ae=function(e){S.call(u,(function(){var t,r=e.facade,n=e.value,i=se(e);if(i&&(t=E((function(){I?W.emit("unhandledRejection",n,r):oe(V,r,n)})),e.rejection=I||se(e)?ee:$,t.error))throw t.value}))},se=function(e){return e.rejection!==$&&!e.parent},ce=function(e){S.call(u,(function(){var t=e.facade;I?W.emit("rejectionHandled",t):oe(Q,t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=Z,ie(e,!0))},fe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q("Promise can't be resolved itself");var n=ne(t);n?x((function(){var r={done:!1};try{n.call(t,ue(fe,r,e),ue(le,r,e))}catch(i){le(r,i,e)}})):(e.value=t,e.state=J,ie(e,!1))}catch(i){le({done:!1},i,e)}}};te&&(U=function(e){y(this,U,D),m(e),n.call(this);var t=j(this);try{e(ue(fe,t),ue(le,t))}catch(r){le(t,r)}},n=function(e){M(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},n.prototype=d(U.prototype,{then:function(e,t){var r=N(this),n=z(A(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?W.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=K&&ie(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(le,t)},P.f=z=function(e){return e===U||e===o?new i(e):Y(e)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:U}),p(U,D,!1,!0),v(D),o=l(D),s({target:D,stat:!0,forced:te},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||te},{resolve:function(e){return k(c&&this===o?U:this,e)}}),s({target:D,stat:!0,forced:re},{all:function(e){var t=this,r=z(t),n=r.resolve,i=r.reject,o=E((function(){var r=m(t.resolve),o=[],a=0,s=1;_(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[c]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=z(t),n=r.reject,i=E((function(){var i=m(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e91f:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},eabf:function(e,t,r){var n=r("bc5b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("20d209bc",n,!0,{sourceMap:!1,shadowMode:!1})},eb5b:function(e,t,r){"use strict";r("a676")},ebb5:function(e,t,r){"use strict";var n,i=r("a981"),o=r("83ab"),a=r("da84"),s=r("861d"),c=r("5135"),u=r("f5df"),l=r("9112"),f=r("6eeb"),h=r("9bf2").f,d=r("e163"),p=r("d2bb"),v=r("b622"),g=r("90e3"),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=m&&d(m),A=y&&d(y),S=Object.prototype,x=S.isPrototypeOf,k=v("toStringTag"),C=g("TYPED_ARRAY_TAG"),P=i&&!!p&&"Opera"!==u(a.opera),E=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},O=function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||c(R,t)||c(T,t)},I=function(e){if(!s(e))return!1;var t=u(e);return c(R,t)||c(T,t)},L=function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(p){if(x.call(w,e))return e}else for(var t in R)if(c(R,n)){var r=a[t];if(r&&(e===r||x.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,r){if(o){if(r)for(var n in R){var i=a[n];i&&c(i.prototype,e)&&delete i.prototype[e]}A[e]&&!r||f(A,e,r?t:P&&y[e]||t)}},j=function(e,t,r){var n,i;if(o){if(p){if(r)for(n in R)i=a[n],i&&c(i,e)&&delete i[e];if(w[e]&&!r)return;try{return f(w,e,r?t:P&&m[e]||t)}catch(s){}}for(n in R)i=a[n],!i||i[e]&&!r||f(i,e,t)}};for(n in R)a[n]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(n in R)a[n]&&p(a[n],w);if((!P||!A||A===S)&&(A=w.prototype,P))for(n in R)a[n]&&p(a[n].prototype,A);if(P&&d(_)!==A&&p(_,A),o&&!c(A,k))for(n in E=!0,h(A,k,{get:function(){return s(this)?this[C]:void 0}}),R)a[n]&&l(a[n],C,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:E&&C,aTypedArray:L,aTypedArrayConstructor:F,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:j,isView:O,isTypedArray:I,TypedArray:w,TypedArrayPrototype:A}},f069:function(e,t,r){"use strict";var n=r("1c0b"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f183:function(e,t,r){var n=r("d012"),i=r("861d"),o=r("5135"),a=r("9bf2").f,s=r("90e3"),c=r("bb2f"),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!f(e))return"F";if(!t)return"E";h(e)}return e[u].objectID},p=function(e,t){if(!o(e,u)){if(!f(e))return!0;if(!t)return!1;h(e)}return e[u].weakData},v=function(e){return c&&g.REQUIRED&&f(e)&&!o(e,u)&&h(e),e},g=e.exports={REQUIRED:!1,fastKey:d,getWeakData:p,onFreeze:v};n[u]=!0},f5b2:function(e,t,r){"use strict";var n=r("23e7"),i=r("6547").codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},f5df:function(e,t,r){var n=r("00ee"),i=r("c6b6"),o=r("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},f6d6:function(e,t,r){var n=r("23e7"),i=r("23cb"),o=String.fromCharCode,a=String.fromCodePoint,s=!!a&&1!=a.length;n({target:"String",stat:!0,forced:s},{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f8cd:function(e,t,r){var n=r("a691");e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}r("d81d"),r("b0c0");var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"labelView",staticClass:"label-view",on:{click:e.getCoordinates}},[r(e.currentView,{ref:"currentTag",tag:"component",staticClass:"tag",attrs:{showName:e.activeTagObj.name,tagStyle:e.activeTagObj,labelId:e.activeTagObj.labelId}}),e._l(e.singleTagData,(function(t,n){return[e.page===t.pageIndex&&0==e.filterType||e.filterType==t.labelType?r("labelItem",{directives:[{name:"move",rawName:"v-move",value:e.handlerMove,expression:"handlerMove"}],key:n,style:e.getStyleCom(t),attrs:{tagStyle:t,index:n,showName:t.showName},nativeOn:{contextmenu:function(r){return r.preventDefault(),e.deTag(t,n,r)}}},[r("i",{staticClass:"labelCon",style:e.getStyleCon(t)},[r("span",{staticClass:"span-text"},[e._v(e._s(2===t.labelType?"":t.showName))])]),e.isclose?r("i",{staticClass:"close",on:{click:function(r){return e.deleteTag(t,n)}}},[e._v("+")]):e._e(),1===t.labelType&&e.issize?r("div",{directives:[{name:"size",rawName:"v-size",value:e.handlerResize,expression:"handlerResize"}],staticClass:"resize-tag"}):e._e()]):e._e()]})),r("LabelProterty",{ref:"proterty",on:{change:e.onChange}})],2)},s=[];r("99af"),r("4de4"),r("7db0"),r("4160"),r("c975"),r("a434"),r("a9e3"),r("cca6"),r("e25e"),r("159b"),r("a4d3"),r("1d1c"),r("7a82"),r("e439"),r("dbb4"),r("b64b");function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-item-box",class:e.className,style:e.style},[e._t("default"),r("div",{staticClass:"label-style"})],2)},h=[];function d(e){switch(e){case 1:return{width:"120px",height:"35px"};case 2:return{width:"140px",height:"140px"};case 3:return{width:"30px",height:"30px"};case 4:return{width:"100px",height:"100px"};default:return{width:"200px",height:"35px"}}}var p=d,v={props:{tagStyle:{type:[String,Object],required:!0}},data:function(){return{}},computed:{style:function(){var e=p(this.tagStyle.shape);return e},className:function(){var e=this.tagStyle;return"label-shape".concat(e.shape)}},methods:{}},g=v;r("c408");function m(e,t,r,n,i,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var y=m(g,f,h,!1,null,"3e9e96f1",null),b=y.exports,_=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-dialog",{attrs:{title:"标签属性",modal:!0,visible:e.dialogVisible,"close-on-click-modal":!1,"append-to-body":"",width:"480px","custom-class":"discard-flow-wrapper","before-close":e.beforeClose,"close-on-press-escape":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"prodForm",attrs:{model:e.formData,size:"small"}},[r("el-form-item",{attrs:{label:"字体大小",prop:"fontSize"}},[r("el-select",{model:{value:e.formData.fontSize,callback:function(t){e.$set(e.formData,"fontSize",t)},expression:"formData.fontSize"}},[r("el-option",{attrs:{label:"自动",value:0}}),r("el-option",{attrs:{label:"12px",value:12}}),r("el-option",{attrs:{label:"14px",value:14}}),r("el-option",{attrs:{label:"16px",value:16}}),r("el-option",{attrs:{label:"18px",value:18}}),r("el-option",{attrs:{label:"32px",value:32}})],1)],1),r("el-form-item",{attrs:{label:"对齐方式",prop:"alignment"}},[r("el-select",{model:{value:e.formData.alignment,callback:function(t){e.$set(e.formData,"alignment",t)},expression:"formData.alignment"}},[r("el-option",{attrs:{label:"居左",value:0}}),r("el-option",{attrs:{label:"居中",value:1}}),r("el-option",{attrs:{label:"居右",value:2}})],1)],1),r("el-form-item",{staticClass:"remark-wrapper",attrs:{label:"是否换行",prop:"isMultiline"}},[r("el-select",{model:{value:e.formData.isMultiline,callback:function(t){e.$set(e.formData,"isMultiline",t)},expression:"formData.isMultiline"}},[r("el-option",{attrs:{label:"单行",value:0}}),r("el-option",{attrs:{label:"多行",value:1}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.beforeClose}},[e._v("取消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确认提交")])],1)],1)],1)},w=[],A={props:{role:{type:String,default:""}},data:function(){return{dialogVisible:!1,editItem:"",productId:"",labelNode:null,formData:{fontSize:0,alignment:"",isMultiline:""}}},methods:{openDialog:function(e,t,r){this.dialogVisible=!0,this.labelNode={labelData:e,index:t,element:r},this.formData.fontSize=null==e.fontSize?0:e.fontSize,this.formData.alignment=null==e.alignment?1:e.alignment,this.formData.isMultiline=null==e.isMultiline?0:e.isMultiline},beforeClose:function(){this.dialogVisible=!1},onSubmit:function(){console.log("--",this.formData),this.$emit("change",this.formData,this.labelNode),this.dialogVisible=!1}}},S=A,x=(r("ce0a"),m(S,_,w,!1,null,"7c80f08a",null)),k=x.exports,C={move:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),console.log("执行onmousedown",e.className),r.stopPropagation()}}},size:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),console.log("onmousedown",e.className),r.stopPropagation()}}}},P=C,E=[{type:1,name:"文本标签",shape:1},{type:2,name:"选项",shape:1},{type:3,name:"多选",shape:1},{type:5,name:"自然人投资者签名",shape:1},{type:21,name:"机构经办人签名",shape:1},{type:11,name:"管理人签章",shape:2},{type:19,name:"理财师签名",shape:1},{type:15,name:"托管人签章",shape:2},{type:7,name:"投资机构签章",shape:2},{type:23,name:"管理人法人签章",shape:2},{type:25,name:"托管人法人签章",shape:2},{type:27,name:"管理人合同签章",shape:2},{name:"募集机构公章签章",type:29,shape:2},{name:"募集机构法人章签章",type:31,shape:2},{name:"募集机构业务或合同章",type:33,shape:2},{name:"募集机构理财师签名",type:35,shape:1},{name:"机构投资者法人章",type:37,shape:4},{name:"妥妥递公章",type:97,shape:2},{name:"妥妥递法人章",type:98,shape:2},{name:"自定义标签",type:99,shape:2}],R={name:"TtdLabelMake",props:{isclose:{type:[Boolean],default:!0},ismove:{type:[Boolean],default:!0},issize:{type:[Boolean],default:!0},isset:{type:[Boolean],default:!0},labelCurrent:{type:[Object]},page:{type:[Number,String],default:1},filterType:{type:[Number,String],default:0},labelViewData:{type:[Array],default:function(){return[]}}},components:{labelItem:b,LabelProterty:k},data:function(){return{labelConfig:E,showLabel:{showName:"",labelId:""},currentView:"",labelData:[],activeTagObj:{name:"",labelId:""},mousemoveFn:null,mousedownEl:null,mousedonwType:""}},created:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},mounted:function(){var e=this;document.onclick=function(){e.removeElementsByClass("dele")};var t=this.$refs.labelView,r=this;t.onmousemove=function(e){if(r.mousemoveFn){var n=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY});r.mousemoveFn(e,n)}else if(r.activeTagObj&&r.activeTagObj.name){var i=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY}),o=r.$refs.currentTag.$el;o&&(t.style.cursor="none",o.style.display="block",o.style.left="".concat(i.left,"px"),o.style.top="".concat(i.top,"px"))}},t.onmouseup=function(){if(console.log("box --onmouseup"),r.mousedownEl)if("resize-tag"===r.mousedownEl.className){var e=r.mousedownEl.parentNode,t=e.getAttribute("index");if(console.log("resize".concat(t),"".concat(e.offsetWidth,"--").concat(e.offsetHeight)),t){var n=r.labelData[Number(t)];n&&(n.labelWidth=e.offsetWidth,n.labelHigh=e.offsetHeight,n.styleObj&&(n.styleObj.width="".concat(e.offsetWidth,"px"),n.styleObj.height="".concat(e.offsetHeight,"px")))}}else{var i=r.mousedownEl.getAttribute("index");if(console.log("move".concat(i),r.mousedownEl.offsetTop),i){var o=r.labelData[Number(i)];if(o){o.xAxis=r.mousedownEl.offsetLeft;var a="";a=1===o.labelType?r.mousedownEl.offsetTop+7:r.mousedownEl.offsetTop+o.labelHigh,o.yAxis=a,o.styleObj&&(o.styleObj.top="".concat(r.mousedownEl.offsetTop,"px"),o.styleObj.left="".concat(r.mousedownEl.offsetLeft,"px"))}}}r.mousemoveFn=null,r.mousedownEl=null}},directives:P,watch:{labelViewData:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},labelCurrent:function(e){if(e){null==e.type&&(e.type=1);var t=this.labelConfig.filter((function(t){return t.type===e.type})),r=t&&t.length?t[0]:null;1===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelId:e.labelId?e.labelId:""},e):2===e.type||3===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelCode:e.labelCode,labelId:e.labelId?e.labelId:"",code:e.code}):this.activeTagObj=l(l({},r),e),this.currentView="labelItem"}}},computed:{singleTagData:function(){var e=[];return this.labelData.forEach((function(t){2===t.labelType?e.push(t.labelContent[0]):(1===t.labelType&&(t.yAxis=parseInt(t.styleObj.top,10)+7),e.push(t))})),e}},methods:{handlerResize:function(e,t){if(!this.issize)return!1;var r=t.parentNode;this.mousedownEl=t,console.log("size mousemoveFn"),this.mousemoveFn=function(e,t){t.left-r.offsetLeft>40&&(r.style.width="".concat(t.left-r.offsetLeft,"px")),t.top-r.offsetTop>20&&(r.style.height="".concat(t.top-r.offsetTop,"px"))}},handlerMove:function(e,t){if(!this.ismove)return!1;this.mousedownEl=t,this.mousedonwType="move",console.log("move mousemoveFn",e.target.className),"close"!==e.target.className&&"resize-tag"!==e.target.className&&(this.mousemoveFn=function(r,n){t.style.left="".concat(n.left-e.offsetX,"px"),t.style.top="".concat(n.top-e.offsetY,"px")})},getStyleCom:function(e){var t=e.labelWidth||e.labelwidth,r=e.labelHigh||e.labelheight;return r&&-1===String(r).indexOf("px")&&(r+="px"),t&&-1===String(t).indexOf("px")&&(t+="px"),e.styleObj.height=r,e.styleObj.width=t,e.styleObj},getStyleCon:function(e){var t={};e.fontSize&&(t.fontSize="".concat(e.fontSize,"px"));var r="center";switch(e.alignment){case 0:r="left";break;case 2:r="right";break;default:r="center"}return t.textAlign=r,e.isMultiline&&(t.whiteSpace="normal"),t},setLabelProperty:function(e,t,r){this.$refs.proterty.openDialog(e,t,r)},onChange:function(e,t){Object.assign(t.labelData,e);var r=t.element;if("labelCon"!==r.className&&(r=t.element.parentNode,"labelCon"!==r.className))return alert("系统错误,请联系管理员"),!1;r.style.fontSize="".concat(e.fontSize<12?12:e.fontSize,"px");var n="center";switch(e.alignment){case 0:n="left";break;case 2:n="right";break;default:n="center"}r.style.textAlign=n,e.isMultiline&&(r.style.whiteSpace="normal")},getFollowOffset:function(e,t,r){return e===t?r:this.getFollowOffset(e,t.parentNode,{left:r.left+t.offsetLeft,top:r.top+t.offsetTop})},removeElementsByClass:function(e){var t=document.getElementsByClassName(e);while(t.length>0)t[0].parentNode.removeChild(t[0])},deTag:function(e,t,r){var n=this;if(this.isclose||this.isset){this.removeElementsByClass("dele");var i=r.offsetX,o=r.offsetY,a=document.createElement("ul");if(a.setAttribute("class","mouse-right-el"),this.isclose){var s=document.createElement("li");s.innerHTML='<div class="right-dele">删 除</div>',a.appendChild(s)}if(this.isset&&1===e.labelType){var c=document.createElement("li");c.innerHTML='<div class="right-property">属 性</div>',a.appendChild(c)}a.onclick=function(i){var o=i.target.className;"right-dele"===o?n.deleteTag(e,t):"right-property"===o&&n.setLabelProperty(e,t,r.target),r.target.removeChild(a)},a.style.left="".concat(i,"px"),a.style.top="".concat(o,"px;"),r.target.appendChild(a)}},formatLabelValue:function(e,t){var r=p(t.shape),n="";return n=1===t.type?e.offsetTop+7:e.offsetTop+parseInt(r.height,10),{xAxis:e.offsetLeft,yAxis:n,labelWidth:parseInt(r.width,10),labelHigh:parseInt(r.height,10),labelType:t.type,labelId:t.labelId||"",showName:t.name,shape:t.shape,titleName:t.titleName||"",labelCode:t.labelCode||"",code:t.code||"",sealTag:t.sealTag||t.sealDiyCode,labelAlias:t.labelAlias,stampType:t.stampType,styleObj:{position:"absolute",width:r.width,height:r.height,top:"".concat(e.offsetTop,"px"),left:"".concat(e.offsetLeft,"px")}}},getCoordinates:function(e){var t=this.$refs.labelView,r=t.querySelector(".mouse-right-el");if(r&&r.parentNode.removeChild(r),this.activeTagObj&&this.activeTagObj.name){var n=this.$refs.currentTag.$el,i=this.formatLabelValue(n,this.activeTagObj);if(t.style.cursor="default",n.style.display="none",i.pageIndex=this.page,2===i.labelType){var o=this.labelData.find((function(e){return e.labelCode&&e.labelCode===i.labelCode}));if(o)delete i.labelId,delete i.titleName,o.labelContent.push(i);else{var a={};a.labelCode=i.labelCode,a.pageIndex=i.pageIndex,a.showName=i.titleName,a.labelType=i.labelType,delete i.labelId,delete i.titleName,a.labelContent=[i],this.labelData.push(a)}}else 1===i.labelType?(i.alignment=0,this.labelData.push(i)):this.labelData.push(i);this.$emit("getLabelData",this.labelData),this.activeTagObj={name:"",labelId:""}}},deleteTag:function(e,t){this.labelData[t]&&(this.labelData.splice(t,1),this.$emit("getLabelData",this.labelData))}}},T=R,O=(r("cd97"),r("eb5b"),m(T,a,s,!1,null,"68b54e2b",null)),I=O.exports,L=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-done-area"},[r("div",{staticClass:"label-group"},[r("el-menu",{staticClass:"el-menu-vertical-demo title-con",attrs:{"menu-trigger":"click"}},[e._l(e.opreaConfig,(function(t,n){return[r("el-submenu",{key:n,attrs:{index:""+n}},[r("template",{slot:"title"},[r("span",[e._v(e._s(t.typeName))])]),e._l(t.typeSeal,(function(t,i){return r("el-menu-item-group",{key:i},[r("el-menu-item",{attrs:{index:n+"-"+i},on:{click:function(t){return e.changeColor(n,i)}}},[r("el-button",{class:{colorChnage:e.ind===n+"-"+i,"label-item-btn":!0},attrs:{type:"text"},on:{click:function(r){return e.emitSignItem(t)}}},[e._v(e._s(t.name)+" ")])],1)],1)}))],2)]}))],2)],1),e._t("default"),e._t("select-label")],2)},F=[],D={name:"TtdLabelOperate",props:{opreaConfig:{type:[Array],default:function(){return[]}}},data:function(){return{inputNameList:[],ind:""}},methods:{changeColor:function(e,t){this.ind="".concat(e,"-").concat(t)},emitSignItem:function(e){this.$emit("getSignItem",e)}}},j=D,M=(r("5aae"),r("86b6"),m(j,L,F,!1,null,"306aff2c",null)),N=M.exports;r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function U(e){return U="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}var q=r("8bbf"),B=r.n(q),W=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"fade"}},[e.show?r("div",{ref:"heImg",staticClass:"hevue-wrap",style:"background:"+e.mainBackground,attrs:{id:"hevue-wrap"},on:{mouseup:function(t){return e.removeMove("pc")},touchend:function(t){return e.removeMove("mobile")},click:e.clickMask}},[r("div",{staticClass:"he-img-wrap"},[r("img",{directives:[{name:"show",rawName:"v-show",value:1===e.imgState,expression:"imgState === 1"}],attrs:{src:"https://jzwsp.totodi.com/jz/image-loading.gif"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:2===e.imgState,expression:"imgState === 2"}],ref:"heImView",staticClass:"he-img-view",style:"transform: scale("+e.imgScale+") rotate("+e.imgRotate+"deg);margin-top:"+e.imgTop+"px;margin-left:"+e.imgLeft+"px;"+e.maxWH,attrs:{src:e.imgurl},on:{click:function(e){e.stopPropagation()},mousedown:e.addMove,touchstart:e.addMoveMobile}}),r("div",{directives:[{name:"show",rawName:"v-show",value:3===e.imgState,expression:"imgState === 3"}],staticClass:"iconfont hevue-img-error"},[e._v("")]),r("div",{staticClass:"iconfont he-close-icon",style:"color:"+e.closeColor,on:{click:function(t){return t.stopPropagation(),e.close(t)}}},[e._v("")]),e.multiple?r("div",{staticClass:"arrow arrow-left iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!1)}}},[e._v("")]):e._e(),e.multiple?r("div",{staticClass:"arrow arrow-right iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!0)}}},[e._v("")]):e._e(),r("div",{staticClass:"he-control-bar-wrap"},[r("div",{staticClass:"he-control-bar",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(e){e.stopPropagation()}}},[r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(-.15)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(.15)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isFull,expression:"isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFull,expression:"!isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(-90)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(90)}}},[e._v("")])])]),e.multiple?r("div",{staticClass:"he-control-num",style:"color:"+e.controlColor+";background: "+e.controlBackground},[e._v(e._s(e.imgIndex+1)+" / "+e._s(e.imgList.length))]):e._e()])]):e._e()])},G=[],z=(r("277d"),r("0d03"),r("4795"),{name:"hevue-img-preview",props:{show:{type:Boolean,default:!1},clickMaskCLose:String,url:String,mainBackground:String,controlColor:String,controlBackground:String,closeColor:String,instance:Object,multiple:{type:Boolean,default:!1},keyboard:{type:String,default:"open"},nowImgIndex:{type:Number,default:0},imgList:Array},data:function(){return{imgScale:1,imgTop:0,imgLeft:0,imgRotate:0,isFull:!1,maxWH:"max-width:100%;max-height:100%;",clientX:0,clientY:0,imgIndex:0,canRun:!0,imgurl:"",imgState:1,logText:"",start:[{clientX:217,clientY:279,force:1,identifier:0,pageX:217,pageY:279,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:493,screenY:456},{clientX:247,clientY:273,force:1,identifier:0,pageX:247,pageY:273,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:523,screenY:450}],mobileScale:0}},mounted:function(){this.initImg()},watch:{url:function(){this.initImg()},show:function(e){var t=this;e&&this.$nextTick((function(e){var r=document.getElementById("hevue-wrap");r.onmousewheel=t.scrollFunc,document.body.addEventListener("DOMMouseScroll",t.scrollFunc),document.ondragstart=function(){return!1},t.multiple?Array.isArray(t.imgList)&&t.imgList.length>0?(t.imgIndex=Number(t.nowImgIndex)||0,t.changeUrl(t.imgList[t.imgIndex],t.imgIndex)):console.error("imgList 为空或格式不正确"):t.changeUrl(t.url),"open"===t.keyboard&&document.addEventListener("keydown",t.keyHandleDebounce)}))}},methods:{close:function(){this.instance.show=!1,this.initImg(),this.maxWH="max-width:100%;max-height:100%;",this.isFull=!1,document.body.removeEventListener("DOMMouseScroll",this.scrollFunc),document.ondragstart=null,this.keyboard&&document.removeEventListener("keydown",this.keyHandleDebounce)},initImg:function(){this.mobileScale=1,this.imgScale=1,this.imgRotate=0,this.imgTop=0,this.imgLeft=0},toogleImg:function(e){e?(this.imgIndex++,this.imgIndex>this.imgList.length-1&&(this.imgIndex=0)):(this.imgIndex--,this.imgIndex<0&&(this.imgIndex=this.imgList.length-1)),this.changeUrl(this.imgList[this.imgIndex],this.imgIndex)},changeUrl:function(e,t){var r=this;this.imgState=1;var n=new Image;n.src=e,n.onload=function(){console.log("onload: index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState)),(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=2,r.imgurl=e),console.log("imgState=",r.imgState)},n.onerror=function(){(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=3),console.log("onerror : index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState))}},rotateFunc:function(e){this.imgRotate+=e},scaleFunc:function(e,t){this.imgScale<=.2&&e<0||(t?this.imgScale=e:this.imgScale+=e)},imgToggle:function(){this.initImg(),this.isFull?this.maxWH="max-width:100%;max-height:100%;":this.maxWH="",this.isFull=!this.isFull},scrollFunc:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&this.scaleFunc(.05),e.delta<0&&this.scaleFunc(-.05)},addMove:function(e){e=e||window.event,this.clientX=e.clientX,this.clientY=e.clientY,this.$refs.heImg.onmousemove=this.moveFunc},addMoveMobile:function(e){e.preventDefault(),e=e||window.event,e.touches.length>1?this.start=e.touches:(this.clientX=e.touches[0].pageX,this.clientY=e.touches[0].pageY),this.$refs.heImg.ontouchmove=this.moveFuncMobile},moveFunc:function(e){e=e||window.event,e.preventDefault();var t=e.clientX-this.clientX,r=e.clientY-this.clientY;this.imgLeft+=2*t,this.imgTop+=2*r,this.clientX=e.clientX,this.clientY=e.clientY},moveFuncMobile:function(e){if(e=e||window.event,e.touches.length>1){var t=e.touches,r=this.getDistance(t[0],t[1])/this.getDistance(this.start[0],this.start[1]);this.logText="".concat(r,",").concat(this.mobileScale),this.mobileScale?r>1?this.scaleFunc(r+this.mobileScale-1,!0):this.scaleFunc(r*this.mobileScale,!0):this.scaleFunc(r,!0)}else{var n=e.touches[0];e.preventDefault();var i=n.pageX-this.clientX,o=n.pageY-this.clientY;this.imgLeft+=2*i,this.imgTop+=2*o,this.clientX=n.pageX,this.clientY=n.pageY}},removeMove:function(e){"pc"===e?this.$refs.heImg.onmousemove=null:(this.mobileScale=this.imgScale,this.$refs.heImg.ontouchmove=null)},keyHandleDebounce:function(e){var t=this;this.canRun&&(this.keyHandle(e),this.canRun=!1,setTimeout((function(){t.canRun=!0}),300))},keyHandle:function(e){var t=window.event||e,r=t.keyCode||t.which||t.charCode;switch(r){case 27:this.close();break;case 65:this.multiple&&this.toogleImg(!1);break;case 68:this.multiple&&this.toogleImg(!0);break;case 87:this.scaleFunc(.15);break;case 83:this.scaleFunc(-.15);break;case 81:this.rotateFunc(-90);break;case 69:this.rotateFunc(90);break;case 82:this.initImg();break;default:break}},clickMask:function(){console.log("hello",this.clickMaskCLose),"open"===this.clickMaskCLose&&this.close()},getDistance:function(e,t){var r=t.pageX-e.pageX,n=t.pageY-e.pageY;return Math.sqrt(r*r+n*n)},downloadIamge:function(){var e=new Image;e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var r=t.getContext("2d");r.drawImage(e,0,0,e.width,e.height);var n=t.toDataURL("image/png"),i=document.createElement("a"),o=new MouseEvent("click");i.download="photo".concat(+new Date),i.href=n,i.dispatchEvent(o)},e.onerror=function(e){console.log("图片信息不正确或图片服务器禁止访问"),console.log(e)},this.multiple?e.src=this.imgList[this.imgIndex]:e.src=this.url}}}),Y=z,H=(r("6cb7"),m(Y,W,G,!1,null,"fb1200dc",null)),X=H.exports,V=B.a.extend(X),Q=(new V).$mount(),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"===typeof e)Q.url=e;else{if("object"!==U(e)||e.constructor===Array)return void(e.constructor!==Array?console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 ".concat(U(e),"\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is ").concat(U(e))):console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 array\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is array"));Q.url=e.url}Q.mainBackground=e.mainBackground||"rgba(255,255,255,.6)",Q.controlColor=e.controlColor,Q.controlBackground=e.controlBackground||"rgba(109, 109, 109, .6)",Q.closeColor=e.closeColor||"rgba(109, 109, 109, .6)",Q.multiple=e.multiple,Q.clickMaskCLose=e.clickMaskCLose||"open",Q.nowImgIndex=e.nowImgIndex,Q.imgList=e.imgList,Q.keyboard=e.keyboard||"open",Q.show=!0,Q.instance=Q,document.body.appendChild(Q.$el)},J=function(e){e.prototype.$ImgPreview=K};"undefined"!==typeof window&&window.Vue&&window.Vue.use(J);var Z=J,$=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pdf-view",style:e.style},[e.showPages?r("div",{staticClass:"pdf-view-control"},[r("switch-page",{ref:"switchPage",attrs:{numPages:e.page_count},on:{page:e.onChangePage}})],1):e._e(),e.pdfurl?r("div",{staticClass:"center pdf-view-area",style:{border:e.border?"1px solid #666":""},on:{drop:e.onDrop,dragover:e.onDragOver}},[r("canvas",{ref:"canvas",staticClass:"canvasstyle"}),r("div",{staticClass:"label-area"},[e._t("default")],2)]):r("div",{staticClass:"pdf-view-empty"},[e._v("未找到资源,请联系管理员!")])])},ee=[],te=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"switch-page"},[r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("prev")}}},[r("i",{staticClass:"el-icon-caret-left"})]),r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("next")}}},[r("i",{staticClass:"el-icon-caret-right"})]),r("span",{staticStyle:{"margin-left":"10px"}},[e._v(e._s(e.page)+"/"+e._s(e.numPages))]),r("span",{staticStyle:{"margin-left":"6px"}},[e._v(" 跳转至 "),r("el-input",{staticStyle:{width:"50px",margin:"0 4px"},attrs:{size:"mini"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goPage(t)}},model:{value:e.itemPage,callback:function(t){e.itemPage=e._n(t)},expression:"itemPage"}}),e._v(" 页 ")],1)],1)},re=[],ne={name:"switch-page",props:{numPages:{type:[Number,String]}},data:function(){return{page:1,itemPage:""}},watch:{numPages:function(){this.page=1}},methods:{switchPage:function(e){if("prev"===e){if(1===this.page)return;this.page--}if("next"===e){if(this.page===this.numPages)return void this.$message({message:"当前已是最后一页",type:"warning"});this.page++}this.$emit("page",this.page)},setPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page=e},goPage:function(){this.itemPage>0&&(this.itemPage>=this.numPages?(this.page=this.numPages,this.itemPage=this.page):this.page=this.itemPage,this.$emit("page",this.page))}}},ie=ne,oe=(r("9b37"),m(ie,te,re,!1,null,"fb780886",null)),ae=oe.exports,se=r("9511");se.GlobalWorkerOptions.workerSrc="https://wsp.totodi.com/jz/pdfjs/pdf.worker-2.2.228.js";var ce={name:"pdf-view",components:{SwitchPage:ae},props:{pdfurl:{default:""},scale:{type:Number,default:1.5},showPages:{type:[String,Number,Boolean],default:!0},border:{type:[String,Number,Boolean],default:!0},marginAuto:{type:[String,Number,Boolean],default:!1},page:{type:[String,Number],default:1},showWidth:{type:[String,Number],default:0}},data:function(){return{pdfDoc:null,pageNum:1,pageRendering:!1,pageNumPending:null,compuscale:1.5,page_count:0,maxscale:1.5,minscale:.8,isready:!1,initPage:!0,style:{width:"860px",margin:""===this.marginAuto||this.marginAuto?"0 auto":"0"}}},methods:{renderPage:function(e){var t=this,r=this;this.pageRendering=!0,this.pdfDoc.getPage(e).then((function(n){var i=r.compuscale,o="",a=t.showWidth;if(t.initPage&&a){var s=parseInt(a,10)-2;o=n.getViewport({scale:1}),i=s/o.width,t.initPage=!1,t.compuscale=i,t.maxscale=i}o=n.getViewport({scale:i}),t.$emit("size",o,e),r.isready=!0;var c=r.$refs.canvas;t.style.width="".concat(o.width+2,"px"),c.height=o.height,c.width=o.width;var u={canvasContext:c.getContext("2d"),viewport:o},l=n.render(u);l.promise.then((function(){r.pageRendering=!1,null!==r.pageNumPending&&(r.renderPage(r.pageNumPending),r.pageNumPending=null)}))}))},prev:function(){this.pageNum<=1||(this.pageNum--,this.queueRenderPage(this.pageNum))},next:function(){this.pageNum>=this.page_count||(this.pageNum++,this.queueRenderPage(this.pageNum))},onChangePage:function(e){this.queueRenderPage(e)},closepdf:function(){this.pdfDoc&&this.pdfDoc.destroy(),this.pdfDoc=null,this.isready=!1,this.compuscale=this.scale,this.$emit("closepdf")},queueRenderPage:function(e){this.pageRendering?this.pageNumPending=e:this.renderPage(e)},loadUrl:function(e){var t=this;if(!se)return!1;console.log("----PdfView---",e),se.getDocument(encodeURI(e)).promise.then((function(e){t.pdfDoc&&(console.log("pdfDocument is ready destroy,,"),t.pdfDoc.destroy()),t.pdfDoc=e,t.page_count=e.numPages,console.log("this.page_count 2.912",t.page_count),t.$emit("numPages",e.numPages),t.renderPage(t.pageNum)}))},onDrop:function(e){this.$emit("drop",e)},onDragOver:function(e){e.preventDefault()}},mounted:function(){this.compuscale=this.scale,this.initPage=!0,this.pdfurl&&this.loadUrl(this.pdfurl)},beforeDestroy:function(){this.pdfDoc&&this.pdfDoc.destroy()},watch:{pdfurl:function(e){e&&(this.pageNum=1,this.initPage=!0,this.loadUrl(e),this.pdfDoc&&this.pdfDoc.destroy()),this.showPages&&this.$refs.switchPage.setPage(1)},page:function(e,t){this.queueRenderPage(e)}}},ue=ce,le=(r("6ca0"),m(ue,$,ee,!1,null,"40894a73",null)),fe=le.exports,he=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cfca-pdf"},[e.isIE?[r("div",{staticClass:"cfca-pdf-wrapper",style:{visibility:e.visible}},[r("div",{class:{"cfca-left":!0,active:"left"===e.active,disabled:e.pageNo<=1},on:{click:function(t){return e.GoToPrevPage()}}},[r("span",{staticClass:"el-icon-arrow-left"})]),r("div",{staticClass:"cfca-content"},[r("div",{staticClass:"cfca-page"},[r("div",{staticClass:"fl cfca-title"},[r("h2",[e._v(e._s(e.title))])]),r("div",{staticClass:"fr"},[e._v(" "+e._s(e.pageNo)+"/"+e._s(e.pageCount)+" "),r("span",{staticClass:"di"},[e._v("第")]),r("el-input",{staticClass:"page-num",attrs:{size:"mini"},on:{change:e.GoToPage},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.GoToPage(t)}},model:{value:e.inputPage,callback:function(t){e.inputPage=t},expression:"inputPage"}}),e._v("页 ")],1)]),r("div",{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[r("div",{staticClass:"obj-wrapper",on:{dragenter:e.onDragEnter,dragover:e.onDragOver,drop:e.onDrop}},[this.idstr?[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{id:"PDFCtrl"+this.idstr,tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]:[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]],2)]),r("div",{staticClass:"cfca-control"},[e._t("default")],2)]),r("div",{class:{"cfca-right":!0,active:"right"===e.active,disabled:e.pageNo>=e.pageCount},on:{click:function(t){return e.GoToNextPage()}}},[r("span",{staticClass:"el-icon-arrow-right"})])])]:[r("div",{staticClass:"red",staticStyle:{height:"350px",padding:"20px",position:"relative","margin-bottom":"20px"}},[e._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),r("div",{staticClass:"tc",staticStyle:{position:"absolute",bottom:"0",left:"0",right:"0"}},[e._t("default")],2)])]],2)},de=[];r("e6cf"),r("ac1f"),r("5319"),r("96cf");function pe(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function ve(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){pe(o,n,i,a,s,"next",e)}function s(e){pe(o,n,i,a,s,"throw",e)}a(void 0)}))}}var ge=function(e){var t={};return e&&(t="string"===typeof e&&/^{/.test(e)?JSON.parse(e):e),t.url&&(t.url=decodeURI(t.url)),t},me={name:"cfca-pdf",props:{action:{type:String,default:""},pdfurl:{type:String,default:""},visible:{type:[String,Boolean],default:"visible"},title:{type:String,default:""},idstr:{type:[String,Number]}},data:function(){var e="";return e="x86"===window.navigator.cpuClass?"cfca/TrustSignPDFPlugin.ttd.x86.cab#version=3,2,1,4":"cfca/TrustSignPDFPlugin.ttd.x64.cab#version=3,2,1,4",{publicPath:"https://wsp.totodi.com/jz/",PDFCtrl:"",codebase:e,active:"",inputPage:"",isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,pageNo:1,pageCount:1}},beforeDestroy:function(){console.log("--cfca-pdf-beforeDestroy")},beforeRouteLeave:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("-cfca--beforeRouteLeave---"),e.next=3,n.CloseFile();case 3:r();case 4:case"end":return e.stop()}}),e)})))()},mounted:function(){this.isIE&&(this.OnLoad(),console.log("cfca mounted =".concat(this.pdfurl)),this.pdfurl&&setTimeout(this.OpenFile,100))},methods:{OnLoad:function(){return!this.PDFCtrl&&(!!this.isIE&&(this.PDFCtrl=this.$refs.pdfCtrl,this.PDFCtrl||(console.log("使用id 加载this.PDFCtrl "),this.PDFCtrl=window["PDFCtrl".concat(this.idstr)]),void(window.OnClickPoint=this.OnClickPoint)))},OpenFile:function(e){var t=this;if(e=e||this.pdfurl,!e)return alert("未发现pdf资源路径!"),!1;try{console.log("OpenFile--src--".concat(e)),this.PDFCtrl.OpenWebFile(encodeURI(e)),this.PDFCtrl=this.$refs.pdfCtrl,setTimeout((function(){t.PDFCtrl.ZoomTo(-1),t.GetPageNo()}),100)}catch(n){if(this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},CloseFile:function(){try{this.pdfurl&&this.PDFCtrl&&(console.log("CloseFile---"),this.PDFCtrl.CloseFile())}catch(t){if(console.log("CloseFile error--",t),this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},onDragEnter:function(e){this.$emit("cfcaDragEnter",e)},onDragOver:function(e){e.preventDefault(),this.$emit("cfcaDragOver",e)},onDrop:function(e){this.$emit("cfcaDrop",e)},GoToFirstPage:function(){try{this.PDFCtrl.GoToFirstPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToLastPage:function(){try{this.PDFCtrl.GoToLastPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPrevPage:function(){this.active="left";var e=this;try{this.PDFCtrl.GoToPrevPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GoToNextPage:function(){this.active="right";var e=this;try{this.PDFCtrl.GoToNextPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GetPageNo:function(){try{this.pageNo=this.PDFCtrl.GetCurrentPageNo(),this.pageCount=this.PDFCtrl.GetPageCount()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPage:function(){var e=this;try{var t=this.inputPage.replace(/\D/,"");if(""===t)return void alert("请输入页码!");this.PDFCtrl.GoToPage(t),setTimeout((function(){e.GetPageNo()}),100)}catch(n){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},ZoomTo:function(e){try{this.PDFCtrl.ZoomTo(e)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},ZoomOut:function(){try{this.PDFCtrl.ZoomOut()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},ZoomIn:function(){try{this.PDFCtrl.ZoomIn()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},OnClickPoint:function(e,t,r){console.log("OnClickPoint--","nPageNo=".concat(e,", x=").concat(t,", y=").concat(r));try{this.PDFCtrl.SignFile_KeyImage(e,t,r)}catch(i){var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},openDialog:function(e){var t=this;this.isIE&&(console.log(" openDialog---"),setTimeout((function(){t.OpenFile(e)}),350))},GetCertInfo:function(e){e=e||"SubjectDN";try{var t=this.PDFCtrl.GetSignCertInfo(e);if(!t){var r=this.PDFCtrl.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfo :",i);var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},selectSignCert:function(e){try{var t="",r="CFCA ACS ",n=e||"";return console.log("证书序列号,精确匹配",n),this.PDFCtrl.SelectSignCert(t,r,"".concat(n),""),this.PDFCtrl.SetTimestampServer("http://210.74.41.195/timestamp"),!0}catch(i){return console.log("PDFCtrl.SelectSignCert ",i),!1}},UploadFile:function(){try{var e=this.PDFCtrl.UploadCurrentFile(this.action);return e=JSON.parse(e),0===e.code?e.data.list[0]:""}catch(r){var t=this.PDFCtrl.GetLastErrorDesc();console.log("PDFCtrl 文件上传:",t),alert("PDFCtrl 文件上传:".concat(t))}return!1},signFileKeyImage:function(e,t){var r=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("-signFileKeyImage--certSN-".concat(r));try{var n="",i="";return e.height?(n=Number(e.X)+47,i=Number(e.height)-Number(e.Y)-47):(n=Number(e.X)+47,i=Number(e.Y)-47),console.log(" 参数 pageIndex = ".concat(e.pageIndex," x = ").concat(n," Y = ").concat(i)),console.log("signFileKeyImage: image=".concat(t)),t?this.PDFCtrl.SignFile_Image(e.pageIndex,n,i,t):this.PDFCtrl.SignFile_KeyImage(e.pageIndex,n,i),console.log("SignFile_KeyImage 成功"),!0}catch(a){var o=this.PDFCtrl.GetLastErrorDesc();return console.log("signFileKeyImage",a),alert(o),!1}},multipleSign7:function(e,t,r,n,i){for(var o=0;o<e.length;o++){var a=e[o],s=ge(a.labelContent);try{var c="",u="";return a.height?(c=Number(a.X)+47,u=Number(a.height)-Number(a.Y)-47):(c=Number(a.X)+47,u=Number(a.Y)-47),this.PDFCtrl.AddSignaturePosition(s.pageIndex,c,u),!0}catch(f){var l=this.PDFCtrl.GetLastErrorDesc();console.log(" multipleSign7",f),alert(l)}}n?this.PDFCtrl.SignFile_Image(n):this.PDFCtrl.SignFile_KeyImage()},multipleSign5:function(e,t,r,n,i){console.log("multipleSign 循环签的begin ",r);var o=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("serialNoBegin ",o);for(var a="",s=0;s<e.length;s++){var c=e[s];if(s>0){var u=this.PDFCtrl.GetSignCertInfo("SerialNumber");if(console.log("本次获得的序列号serialNoAgain:",u),o!==u)return alert("签署过程中,请不要更换ukey!"),!1;console.log("serialNo=",r),a=a&&this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果".concat(s,"-------"),a)}else console.log("第一个章,不用验签",s),a=this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果",a);if(!a)return!1}return console.log("multipleSign 签章的结果",a),a},multipleSign:function(e,t,r,n,i){return this.PDFCtrl.AddSignaturePosition?(console.log("新版插件"),this.multipleSign7(e,t,r,n,i)):this.multipleSign5(e,t,r,n,i)},GetSignatureInfo:function(){for(var e=this.PDFCtrl.GetSignatureCount(),t=[],r=0;r<e;r++){var n=this.PDFCtrl.VerifySignature(r),i=n.GetSignCertInfo("SerialNumber");t.push({SerialNumber:i})}return t}},watch:{pdfurl:function(e,t){this.inputPage=1,this.isIE&&e&&(this.PDFCtrl?(console.log("cfca watch pdfurl=="),t?t!==e&&(console.log("cfca watch oldval==",t),this.CloseFile(),setTimeout(this.OpenFile,100)):setTimeout(this.OpenFile,100)):console.log("cfca watch PDFCtrl 未加载 "))}}},ye=me,be=(r("ff64"),m(ye,he,de,!1,null,null,null)),_e=be.exports,we=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Ultimate.x86"}})]],2)},Ae=[],Se={methods:{SignOnClick:function(){var e="";this.sourceData="".concat((new Date).getTime());try{var t=this.sourceData,r="",n="Attach",i="SHA-1";return r="Attach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!0):"Detach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!1):this.CryptoAgent.SignMsgPKCS1(t,i),r?(console.log("SignOnClick 签名结果:",r),r):(e=this.CryptoAgent.GetLastErrorDesc(),alert(e),"")}catch(o){console.log("SignOnClick error=",o),e=this.CryptoAgent.GetLastErrorDesc(),alert(e)}return""}}},xe={name:"ukey",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="ukey/Cryptokit/x86/CryptoKit.ToToDi.x86.cab",t="clsid:5635B01D-C661-4ACE-B997-EECFA63BD388"):(e="ukey/Cryptokit/x64/CryptoKit.ToToDi.x64.cab",t="clsid:63F9892E-D854-476E-A839-C8BA79254EC1"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA",hashAlg:"SHA-1",singType:"Detach",CryptoAgent:"",random:"ttd"}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e;n||console.log(" Ukye, 无序列号筛选证书, serialNo 非必传 ");var i="",o="",a="CFCA FOR UKEY CSP v1.1.0";return i=this.CryptoAgent.SelectCertificate(t,r,n,a),i||(o=this.CryptoAgent.GetLastErrorDesc(),alert(o)),i}catch(c){console.log("SelectCertificateOnClick",c);var s=this.CryptoAgent.GetLastErrorDesc();return alert("".concat(s,"/error")),!1}},GetSignCertInfoUkey:function(e){e=e||"SubjectDN",console.log("-Ukey-GetSignCertInfoUkey:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetSignCertInfoUkey-Ukey: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}}}},ke=xe,Ce=(r("6494"),m(ke,we,Ae,!1,null,"4bfd8131",null)),Pe=Ce.exports,Ee=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Paperless.x86"}})]],2)},Re=[],Te={name:"wzh-sing",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="wzh/CryptoKit.Paperless.x86.cab",t="clsid:B64B695B-348D-400D-8D58-9AAB1DA5851A"):(e="wzh/CryptoKit.Paperless.x64.cab",t="clsid:8BF7E683-630E-4B59-9E61-C996B671EBDF"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA"}},props:{api:{type:Object,required:!0}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},GetCertInfoOnClick:function(e){e=e||"SubjectDN",console.log("GetCertInfoOnClick:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfoOnClick-WzhSign: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e,i="CFCA FOR UKEY CSP v1.1.0",o="";if(console.log("无纸化 选证书 selectSignCert, serialNo(非传)=",e),o=this.CryptoAgent.SelectCertificate(t,r,n,i),!o){var a=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult 不存在",a),void alert(a)}return console.log("wzh SelectCertResult",o),!0}catch(c){var s=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult catch error: ",s),alert(s),!1}},getHashValue:function(e,t,r){var n=this.CryptoAgent.GetSignCertInfo("CertContent");this.$emit("getImg",r);var i=ge(e.labelContent);return console.log("item",e),console.log("fileItem",t),this.api.getSignHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{attachfile:"oss:".concat(t.mergedUrl.bucketName,":").concat(t.mergedUrl.objectKey),reason:"",location:"",signImgfileName:"",signImgfile:r,pageNo:i.pageIndex,pageX:Number(i.X),pageY:Number(i.Y),certBase64:n}}})},getSignHashValue:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,o="",i.next=4,n.getHashValue(e,t,r);case 4:if(a=i.sent,s=a.code,c=a.data,console.log("getSignHashValue",c),0===s&&"200"==="".concat(c.bean.code)&&(o=c.bean.pdfHash),o){i.next=12;break}return alert("CFCA计算HASH值失败!( ".concat(c.bean.msg||"",")")),i.abrupt("return",!1);case 12:if(u=n.CryptoAgent.SignHashMsgPKCS7Detached(o,"SHA-1"),u){i.next=17;break}return l=n.CryptoAgent.GetLastErrorDesc(),alert(l),i.abrupt("return",!1);case 17:return i.abrupt("return",{signature:u,id:c.bean.id});case 20:i.prev=20,i.t0=i["catch"](0),f=n.CryptoAgent.GetLastErrorDesc(),console.log("getSignHashValue",i.t0),alert(f);case 25:case"end":return i.stop()}}),i,null,[[0,20]])})))()},signFileKeyImage:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.getSignHashValue(e,t,r);case 2:if(o=i.sent,!o){i.next=11;break}return i.next=6,n.api.mergeHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{sigString:o.signature,id:o.id}}});case 6:if(a=i.sent,s=a.data,c=a.code,0!==c||!s.bean.url){i.next=11;break}return i.abrupt("return",s.bean);case 11:return n.$message.error("计算Hash 失败!"),i.abrupt("return",!1);case 13:case"end":return i.stop()}}),i)})))()},multipleSign:function(e,t,r,n,i){var o=this;return ve(regeneratorRuntime.mark((function i(){var a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:console.log("multipleSign 循环签的begin ",r),a=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("serialNoBegin",a),s="",n||(c=o.CryptoAgent.GetSealImage("CFCA_UKEY_P11.dll"),n=c),u=0;case 6:if(!(u<e.length)){i.next=32;break}if(l=e[u],ge(l.labelContent),!(u>0)){i.next=24;break}if(console.log("无需重新验签:index=",u),f=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("本次获得的序列号serialNoAgain:",f),a===f){i.next=16;break}return alert("签署过程中,请不要更换ukey!"),i.abrupt("return",!1);case 16:if(console.log("resutl=",s),!s){i.next=21;break}return i.next=20,o.signFileKeyImage(ge(l),{mergedUrl:s},n);case 20:s=i.sent;case 21:console.log("iterateSign 签章结果".concat(u,"---result----"),s),i.next=29;break;case 24:return console.log("第一个章,不用验签",u),i.next=27,o.signFileKeyImage(ge(l),t,n);case 27:s=i.sent,console.log("第一个章 签章结果",s);case 29:u++,i.next=6;break;case 32:return console.log("multipleSign 签章的结果",s),i.abrupt("return",s);case 34:case"end":return i.stop()}}),i)})))()}}},Oe=Te,Ie=(r("0e90"),m(Oe,Ee,Re,!1,null,"9e75e8c0",null)),Le=Ie.exports,Fe=[I,N,_e,fe,ae],De=function e(t){t.use(Z),e.installed||Fe.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&De(window.Vue);var je={version:"0.1.9",install:De,TtdLabelMake:I,TtdLabelOperate:N,ImgPreview:Z,CfcaPdf:_e,PdfView:fe,SwitchPage:ae,Ukey:Pe,WzhSign:Le};t["default"]=je},fb2c:function(e,t,r){var n=r("74e8");n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),o=r("e8b5"),a=r("23cb"),s=r("50c4"),c=r("fc6a"),u=r("8418"),l=r("b622"),f=r("1dde"),h=r("ae40"),d=f("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),g=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(e,t){var r,n,l,f=c(this),h=s(f.length),d=a(e,h),p=a(void 0===t?h:t,h);if(o(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?i(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(f,d,p);for(n=new(void 0===r?Array:r)(m(p-d,0)),l=0;d<p;d++,l++)d in f&&u(n,l,f[d]);return n.length=l,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise},ff64:function(e,t,r){"use strict";r("3a50")}})}));
31
+ var n=r("1fb5"),i=r("9152"),o=r("e3db");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?p(e,t,r):m(e,t)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t,r,n){return f(t),t<=0?c(e,t):void 0!==r?"string"===typeof n?c(e,t).fill(r,n):c(e,t).fill(r):c(e,t)}function d(e,t){if(f(t),e=c(e,t<0?0:0|y(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r);e=c(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function v(e,t){var r=t.length<0?0:0|y(t.length);e=c(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=v(e,t),e}function m(e,t){if(u.isBuffer(t)){var r=0|y(t.length);return e=c(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?c(e,0):v(e,t);if("Buffer"===t.type&&o(t.data))return v(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function A(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function S(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(e,t,r,n,i){var o,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return-1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function C(e,t,r,n){return ee(K(t,e.length-r),e,r,n)}function P(e,t,r,n){return ee(J(t),e,r,n)}function E(e,t,r,n){return P(e,t,r,n)}function R(e,t,r,n){return ee($(t),e,r,n)}function T(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var o,a,s,c,u=e[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:o=e[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return F(n)}t.Buffer=u,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return l(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)A(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)A(this,t,t+3),A(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):w.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),c=this.slice(n,i),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return S(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return S(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return P(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function F(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function M(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=Q(e[o]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function U(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function B(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function W(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function G(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(e,t,r,n,o){return o||G(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function Y(e,t,r,n,o){return o||G(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=this[e],i=1,o=0;while(++o<t&&(i*=256))n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);var n=t,i=1,o=this[e+--n];while(n>0&&(i*=256))o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=1,a=0;this[t]=255&e;while(++a<r&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;q(this,e,t,r,i,0)}var o=r-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):W(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<r&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);q(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):B(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):B(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):W(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):W(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return Y(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return Y(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=u.isBuffer(e)?e:K(new u(e,n).toString()),s=a.length;for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function X(e){if(e=V(e).replace(H,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Q(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function Z(e,t){for(var r,n,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function $(e){return n.toByteArray(X(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b64b:function(e,t,r){var n=r("23e7"),i=r("7b0b"),o=r("df75"),a=r("d039"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(e){return o(i(e))}})},b680:function(e,t,r){"use strict";var n=r("23e7"),i=r("a691"),o=r("408a"),a=r("1148"),s=r("d039"),c=1..toFixed,u=Math.floor,l=function(e,t,r){return 0===t?r:t%2===1?l(e,t-1,r*e):l(e*e,t/2,r)},f=function(e){var t=0,r=e;while(r>=4096)t+=12,r/=4096;while(r>=2)t+=1,r/=2;return t},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(e){var t,r,n,s,c=o(this),h=i(e),d=[0,0,0,0,0,0],p="",v="0",g=function(e,t){var r=-1,n=t;while(++r<6)n+=e*d[r],d[r]=n%1e7,n=u(n/1e7)},m=function(e){var t=6,r=0;while(--t>=0)r+=d[t],d[t]=u(r/e),r=r%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==d[e]){var r=String(d[e]);t=""===t?r:t+a.call("0",7-r.length)+r}return t};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(t=f(c*l(2,69,1))-69,r=t<0?c*l(2,-t,1):c/l(2,t,1),r*=4503599627370496,t=52-t,t>0){g(0,r),n=h;while(n>=7)g(1e7,0),n-=7;g(l(10,n,1),0),n=t-1;while(n>=23)m(1<<23),n-=23;m(1<<n),g(1,1),m(2),v=y()}else g(0,r),g(1<<-t,0),v=y()+a.call("0",h);return h>0?(s=v.length,v=p+(s<=h?"0."+a.call("0",h-s)+v:v.slice(0,s-h)+"."+v.slice(s-h))):v=p+v,v}})},b727:function(e,t,r){var n=r("0366"),i=r("44ad"),o=r("7b0b"),a=r("50c4"),s=r("65f0"),c=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,l=4==e,f=6==e,h=7==e,d=5==e||f;return function(p,v,g,m){for(var y,b,_=o(p),w=i(_),A=n(v,g,3),S=a(w.length),x=0,k=m||s,C=t?k(p,S):r||h?k(p,0):void 0;S>x;x++)if((d||x in w)&&(y=w[x],b=A(y,x,_),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.call(C,y)}else switch(e){case 4:return!1;case 7:c.call(C,y)}return f?-1:u||l?l:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},b8bf:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("7c73");n({target:"Object",stat:!0,sham:!i},{create:o})},b929:function(e,t,r){var n=r("abcd");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("78ebf0de",n,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(e,t,r){var n=r("23e7"),i=r("e58c");n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(e,t,r){var n=r("d039");e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bc5b:function(e,t,r){var n=r("24fb"),i=r("cef9");t=n(!1),t.i(i),t.push([e.i,".hevue-wrap[data-v-fb1200dc]{position:fixed;top:0;bottom:0;right:0;left:0;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;z-index:999999}.he-img-wrap[data-v-fb1200dc]{width:100%;height:100%;text-align:center;vertical-align:middle;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff}.he-close-icon[data-v-fb1200dc]{right:50px;top:50px;font-size:46px;color:#666}.arrow[data-v-fb1200dc],.he-close-icon[data-v-fb1200dc]{position:absolute;cursor:pointer;transition:all .2s}.arrow[data-v-fb1200dc]{width:50px;height:50px;text-align:center;line-height:50px;top:50%;border-radius:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);font-size:3vw;opacity:.6}.arrow[data-v-fb1200dc]:hover{opacity:.8;font-size:32px}.arrow-left[data-v-fb1200dc]{left:50px}.arrow-right[data-v-fb1200dc]{right:50px}.he-close-icon[data-v-fb1200dc]:hover{transform:rotate(90deg)}.he-control-bar-wrap[data-v-fb1200dc]{display:flex;position:absolute;width:100%;bottom:10%;left:0}.he-control-bar[data-v-fb1200dc]{height:44px;bottom:10%;padding:0 22px;display:flex;border-radius:22px;margin:0 auto}.he-control-num[data-v-fb1200dc]{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);-ms-transform:translateX(-50%);padding:0 22px;font-size:16px;border-radius:15px}.he-control-btn[data-v-fb1200dc]{line-height:44px;font-size:24px;cursor:pointer;padding:0 9px;transition:all .2s}.he-control-btn[data-v-fb1200dc]:hover{transform:scale(1.2)}.fade-enter-active[data-v-fb1200dc],.fade-leave-active[data-v-fb1200dc]{transition:opacity .3s}.fade-enter[data-v-fb1200dc],.fade-leave-to[data-v-fb1200dc]{opacity:0}.hevue-img-error[data-v-fb1200dc]{font-size:56px;color:#ccc}",""]),e.exports=t},bf27:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".label-group[data-v-3b6f6e50]{margin-bottom:20px;border:1px solid #ccc}.title-con[data-v-3b6f6e50]{text-indent:20px;color:#333;font-size:20px;line-height:50px;border-bottom:1px solid #ccc;margin-bottom:-1px;margin-right:-1px}.label-done-area[data-v-3b6f6e50]{width:320px}.label-list[data-v-3b6f6e50]{padding:20px 0;text-align:center}.label-list .label-item[data-v-3b6f6e50]{margin-bottom:20px}.label-list .label-item .btn[data-v-3b6f6e50]{width:240px;border-radius:18px;background:#ebeef3;color:#222;border:none}.label-list .label-item .btn[data-v-3b6f6e50]:hover{background:#def5fd}.gongzhang img[data-v-3b6f6e50]{width:100%;height:100%}.label-preview h4[data-v-3b6f6e50]{text-align:center}.label-preview .con-list[data-v-3b6f6e50]{margin:10px;border:1px solid #ccc;padding:20px}.label-name[data-v-3b6f6e50]{margin-top:10px;color:#20a0ff;font-size:14px}.allSign[data-v-3b6f6e50]{margin-bottom:20px}.view-btn[data-v-3b6f6e50]{width:40px;height:20px;background:none;font-size:12px!important;border:1px solid #3d82f7;text-align:center;line-height:20px;font-size:14px;border-radius:2px;padding:0;color:#3d82f7;float:right;cursor:pointer;outline:none}.single-list[data-v-3b6f6e50]{padding:15px 0}.colorChnage[data-v-3b6f6e50]{color:#2e6be6!important}",""]),e.exports=t},c04e:function(e,t,r){var n=r("861d");e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},c0b6:function(e,t,r){var n=r("23e7"),i=r("0538");n({target:"Function",proto:!0},{bind:i})},c19f:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),o=r("621a"),a=r("2626"),s="ArrayBuffer",c=o[s],u=i[s];n({global:!0,forced:u!==c},{ArrayBuffer:c}),a(s)},c1ac:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").filter,o=r("4840"),a=n.aTypedArray,s=n.aTypedArrayConstructor,c=n.exportTypedArrayMethod;c("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),r=o(this,this.constructor),n=0,c=t.length,u=new(s(r))(c);while(c>n)u[n]=t[n++];return u}))},c20d:function(e,t,r){var n=r("da84"),i=r("58a8").trim,o=r("5899"),a=n.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(o+"08")||22!==a(o+"0x16");e.exports=c?function(e,t){var r=i(String(e));return a(r,t>>>0||(s.test(r)?16:10))}:a},c408:function(e,t,r){"use strict";r("660a")},c430:function(e,t){e.exports=!1},c6b6:function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},c6cd:function(e,t,r){var n=r("da84"),i=r("ce4e"),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8d2:function(e,t,r){var n=r("d039"),i=r("5899"),o="​…᠎";e.exports=function(e){return n((function(){return!!i[e]()||o[e]()!=o||i[e].name!==e}))}},c906:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("861d"),a=Object.isExtensible,s=i((function(){a(1)}));n({target:"Object",stat:!0,forced:s},{isExtensible:function(e){return!!o(e)&&(!a||a(e))}})},c975:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").indexOf,o=r("a640"),a=r("ae40"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:c||!u||!l},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},ca84:function(e,t,r){var n=r("5135"),i=r("fc6a"),o=r("4d64").indexOf,a=r("d012");e.exports=function(e,t){var r,s=i(e),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);while(t.length>c)n(s,r=t[c++])&&(~o(u,r)||u.push(r));return u}},ca91:function(e,t,r){"use strict";var n=r("ebb5"),i=r("d58f").left,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,r){"use strict";var n=r("23e7"),i=r("4d64").includes,o=r("44d2"),a=r("ae40"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:!s},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(e,t,r){var n=r("23e7"),i=r("81d5"),o=r("44d2");n({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(e,t,r){var n=r("da84"),i=r("861d"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},cc71:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a"),o=r("af03");n({target:"String",proto:!0,forced:o("bold")},{bold:function(){return i(this,"b","","")}})},cca6:function(e,t,r){var n=r("23e7"),i=r("60da");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cd26:function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){var e,t=this,r=i(t).length,n=a(r/2),o=0;while(o<n)e=t[o],t[o++]=t[--r],t[r]=e;return t}))},cd97:function(e,t,r){"use strict";r("b352")},cdf9:function(e,t,r){var n=r("825a"),i=r("861d"),o=r("f069");e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e),a=r.resolve;return a(t),r.promise}},ce0a:function(e,t,r){"use strict";r("b929")},ce4e:function(e,t,r){var n=r("da84"),i=r("9112");e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},cee8:function(e,t,r){var n=r("23e7"),i=r("861d"),o=r("f183").onFreeze,a=r("bb2f"),s=r("d039"),c=Object.preventExtensions,u=s((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!a},{preventExtensions:function(e){return c&&i(e)?c(o(e)):e}})},cef9:function(e,t,r){var n=r("24fb"),i=r("1de5"),o=r("adf8"),a=r("2340"),s=r("8ef7"),c=r("55cb");t=n(!1);var u=i(o),l=i(o,{hash:"#iefix"}),f=i(a),h=i(s),d=i(c,{hash:"#iconfont"});t.push([e.i,"@font-face{font-family:iconfont;src:url("+u+");src:url("+l+') format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkQAAsAAAAAERQAAAjCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEaAqSMI8UATYCJAM4Cx4ABCAFhG0HgV4bkA5RlFBSI9nPAru5g41UuVLFiYtgRJc5aOrfayPXP6QQTk1nO2RIyxvXBRylMCIoBFyI8w4MKCPAjCED5M5j/vCQf3u/u7WFoRxFHAWeYeAtzqJA25d8c/OpTbSB8wizhUZRLNGMJZHupQy1/pjSuXxTLFJH1NcWhsVeMLFfk7Vuae7YYLKZDZ9vP1eHiESzw1PhLSRKvJvfl4l/hpknk1BpvL2+Q9xDJENKxIzF2ORAFwl2PazjbCAAVmmUBVkategAPYakCJpskjUT+pwG0+JF6OXamj2TIVOhoR/GUecBTAl/n/xII3qAognIc7VZG+agThfeCrQ34GV6xGh4zXEARiSABpQFwIzYq1a5C6DJwofGtmaMB1AUwfw++i6oopqg9lId6kx1rrr1Rc7LvLdCIADj21OV+5eZRFGVujhKrg5oaFFYHN1ZqM+jCQx7+M8bIWgedhsKBVBdABpQRQBaUBMAUKD2BMCC2gsAB6oMQAeqA4Ae1JkACKhzAfCgbgVAw4scAAK8zANggLeC+D6njf6GJQGYAOoBmLvVrkMpjUEJmtzzJi1d6UgMelq1qEgQOsWaPJBnMxmNuVqpZSt9zmAQcXVgEcoEMVcwGk0mQRSPWdLgEUTGlv8ddjUEnECLVAOFbFtZtYIaV9NVlhZg24W86H54+xP9Inww0ArRtladl49mZWuxe2FRUzzJPlc+KwMitIzvcGuhawGg8wucq+ukHZY02GHbW9Vbk/L68MJJ6wFNdK1Z1ID0lHcOh90yZpDW0tbpcuXnnga4Wr7kH/otfV7TcFB+p2/Sy3JbsJS0QLsnH0HiK8Cu8rEOO6TzLx1KIXGp3iQHcViescA50sU4Yc9Xx0YOR/6uQy28pjORM+5W8hfhEp52eQcfb/F4JS290dL1NS99l5tXPQ/rubqPqqKVhHuRWqr22PYYBKYhZ3iiCbss8mbYasX1Z0Gw4yoOEtERocJACBVXNhupaxX1NJB/2Khw/cLwfLUiJ3Rt0Ph0pTzbf/lqfGswxA8UZXsO1htTh0vxmduFpT5Zydc8rF1qMwBk0hl7ulYKqxUn1oWZLirucn/IJ3YXxI70JqFyIhV7O2kBWGPPKrIKGPSMNMMBIkhKM6D5D8pyn1HEAG3svBY8JXRR8+Kw3GuWddtScown2JPc0LV9PgQN486hi06k6uaqFDP+zz4uOVPx/M7iix1kQan9fBUAn2/6HkN3GrrfIGpdNw+WFTuppHDdJe84XP6qwyy5YM1JG7vwCDbZ0aP7qtJi34TJ8d0mTeoW3yvxMocBTGDWmNjrsui3pqTj19bRW5C4hejxiC2iW2+BAUxgtt+alggMPZmoKOaugj7yeqQ1au1nfv9OyPYLBKn4LveW2GkN21gEwwd/unHUmKfjLAa+DV9G753wwDfhjhCy+PT+s3WK1zqgS2uWOLRh1zpFi68rChOKRp6PLBrUoioC1Q8yf/7mAQwffdNVVfkqt3JKGQOOwhO+58999Aa68DnjI57Sq0gZzlbyV8VVdfRNMpw58PfvfK2ovkPbBm0btu0I0/AqTYx9a6mvStg+zn8qCgt7KDaNbdq66UdjN8TcPzS/1eCpJvFDsD+Mp0eU5k3+LbyfKlHBOJXVdB/E+5lk3GgAn1R3qqFG726VxpxcVi0yMpGJSJtX5d5UtoK/7oATCbl5CxP8tVNo/+JEbdfrKYme1xX1b722Tps5JfCh85TJKBdS7pPVIvCnSIb80h/LI+ioKomK8nvriBJ/ndpD60j10NoxDnhHK+mkqEqVmtTwfAqdceXQHGo5ffs2zWTLbYijSPDlpHckvWtazjr74hDz508y2SFAmH07/aMwZLPGOlVRuVKT6mP+Vw/NDkjrSOX8/ROHFP0Xnt8LQ7epFewd2aeBtpG2QZ+Rjoxw3QzMGGGImdpoaoxBzyzcni+E8jOF4OLwj8SHMjX9IXwtI0pAKC6Euy2EAAu5VnzxIUwRPqY9F8WDhV5/R0Cty2Gdu3TunDc7tse4QZM9vbhRXu8orpdn8qBxPWJn523ZHJPRMSOty972SFs37ej1hsckhYYH3tFJMd4hSdFmCE0Kwfk0wrTOW7bEwK4Ts3nLmeot6erwliaPC83rfRc+P3F++Lt74esS14Xf0zYYgVcnpM0ran7S/LBXrxpqpUwxzaMLz5CsMCQlzQsvLAyfV+WxIaynmLZVG3PCPXoedDtzp5R4i1HQz9bc0aRrmS7X9Im+f9/OaEtAEkPXi/veqeujLFFsO18Uen8AEBjGBujSDj4efrpO8G72E10t7R6W0E1M/njWZjrMXkV0r7Y27Q38hqBG55EJ1v5nroWlC+YG9w6q8U3PfaKL7uf9HRoK+1vXzoce1YQWon9IVdZq4QWkS4nUGnM+CNeqfAV+i8pCI6FGPelKKQCrxgH/jdmheLgtNqK36C+ZjUgxRWRLAdN1dnGYgV3ZcA1OBtZCsv+VrDJojP05YVDQSBoApGCUCCeCsTmcYnQY07C7gBnYPQjXiMQ7mRZuhA5ndWphR+QkEImtr5gzXeYcMau/KGXLdoujd7FR03Zmqzs/U+ESa6NOZsUpyXYxtbxpXdXYbDcrJrZxeqxpLpdFtChygdiIbWHOz5dFhyLnmrNd5W2odFSrUMEy2bZ8tlwAVn0Ks0wuP3oOEVn6p5Rkk9lZFndhSz/fjpmVW75MSkufi5SdmCmcpOWLSEV5mHpYNabtvfrcl9ZOHlZpcHHOQnQ7K2QFRDTinFm+KpeJcNSvlsssm0t52AilDtVQgY9l6UuX3z5bcKvTuPn6lQ81NorQhCEaoiU6oicGwhKO8EQgRhKEktfiTQfYpAFuOUvKlAfY3HZTWnpqRiXGZs53cLlS5oBMaYBNtltDXW6HlGkv1XXapKxMKXgwuXemosh9eyuS1eZiW3LtLtltqNTQz51pt7Mz7WzMpXL9bQGtRMqXtBa0suZk6pxuud9WVfr/qms5JLtVa43ysiQAAA==") format("woff2"),url('+f+') format("woff"),url('+h+') format("truetype"),url('+d+') format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconiconfontzhizuobiaozhun023146:before{content:"\\e694"}.iconhelp:before{content:"\\e626"}.iconjiazaizhong:before{content:"\\e6b1"}.icontupianjiazaishibai:before{content:"\\ec0d"}.iconicon_arrow_right:before{content:"\\e60d"}.iconjiantouzuo:before{content:"\\e620"}.iconxuanzhuan:before{content:"\\e66f"}.iconxuanzhuan1:before{content:"\\e670"}.iconyuanshibili:before{content:"\\e86b"}.iconfangda:before{content:"\\e65d"}.iconsuoxiao:before{content:"\\e65e"}.iconquanping:before{content:"\\e698"}.iconguanbi:before{content:"\\e764"}',""]),e.exports=t},cfc3:function(e,t,r){var n=r("74e8");n("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,r){var n=r("428f"),i=r("da84"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},d139:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").find,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},d28b:function(e,t,r){var n=r("746f");n("iterator")},d2bb:function(e,t,r){var n=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(r,[]),t=r instanceof Array}catch(o){}return function(r,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},d396:function(e,t,r){"use strict";r("dea4")},d3b7:function(e,t,r){var n=r("00ee"),i=r("6eeb"),o=r("b041");n||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,r){var n=r("9bf2").f,i=r("5135"),o=r("b622"),a=o("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},d58f:function(e,t,r){var n=r("1c0b"),i=r("7b0b"),o=r("44ad"),a=r("50c4"),s=function(e){return function(t,r,s,c){n(r);var u=i(t),l=o(u),f=a(u.length),h=e?f-1:0,d=e?-1:1;if(s<2)while(1){if(h in l){c=l[h],h+=d;break}if(h+=d,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=d)h in l&&(c=r(c,l[h],h,u));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").forEach,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d6a7:function(e,t,r){var n=r("a2f2");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("b2e42f52",n,!0,{sourceMap:!1,shadowMode:!1})},d784:function(e,t,r){"use strict";r("ac1f");var n=r("6eeb"),i=r("d039"),o=r("b622"),a=r("9263"),s=r("9112"),c=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),h=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var p=o(e),v=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=v&&!i((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!v||!g||"replace"===e&&(!u||!l||h)||"split"===e&&!d){var m=/./[p],y=r(p,""[e],(function(e,t,r,n,i){return t.exec===a?v&&!i?{done:!0,value:m.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),b=y[0],_=y[1];n(String.prototype,e,b),n(RegExp.prototype,p,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[p],"sham",!0)}},d81d:function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").map,o=r("1dde"),a=r("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(e,t,r){var n=r("23e7"),i=r("83ab"),o=r("56ef"),a=r("fc6a"),s=r("06cf"),c=r("8418");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,r,n=a(e),i=s.f,u=o(n),l={},f=0;while(u.length>f)r=i(n,t=u[f++]),void 0!==r&&c(l,t,r);return l}})},dca8:function(e,t,r){var n=r("23e7"),i=r("bb2f"),o=r("d039"),a=r("861d"),s=r("f183").onFreeze,c=Object.freeze,u=o((function(){c(1)}));n({target:"Object",stat:!0,forced:u,sham:!i},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},ddb0:function(e,t,r){var n=r("da84"),i=r("fdbc"),o=r("e260"),a=r("9112"),s=r("b622"),c=s("iterator"),u=s("toStringTag"),l=o.values;for(var f in i){var h=n[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(v){d[c]=l}if(d[u]||a(d,u,f),i[f])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(v){d[p]=o[p]}}}},dea4:function(e,t,r){var n=r("1495");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("b552889a",n,!0,{sourceMap:!1,shadowMode:!1})},df75:function(e,t,r){var n=r("ca84"),i=r("7839");e.exports=Object.keys||function(e){return n(e,i)}},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}function i(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(i(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===o(e,-1);return e=r(i(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e017:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,".switch-page[data-v-fb780886]{margin:0;padding:0;overflow:auto}.switch-page button[data-v-fb780886]{font-size:16px;padding:6px!important}",""]),e.exports=t},e01a:function(e,t,r){"use strict";var n=r("23e7"),i=r("83ab"),o=r("da84"),a=r("5135"),s=r("861d"),c=r("9bf2").f,u=r("e893"),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof h?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};u(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return"";var r=v?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},e099:function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===typeof e?o(a(e),(function(a){var s=encodeURIComponent(n(a))+r;return i(e[a])?o(e[a],(function(e){return s+encodeURIComponent(n(e))})).join(t):s+encodeURIComponent(n(e[a]))})).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},e0e9:function(e,t,r){"use strict";r("924f")},e163:function(e,t,r){var n=r("5135"),i=r("7b0b"),o=r("f772"),a=r("e177"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},e177:function(e,t,r){var n=r("d039");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e25e:function(e,t,r){var n=r("23e7"),i=r("c20d");n({global:!0,forced:parseInt!=i},{parseInt:i})},e260:function(e,t,r){"use strict";var n=r("fc6a"),i=r("44d2"),o=r("3f8c"),a=r("69f3"),s=r("7dd0"),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(e,t,r){var n=r("6eeb");e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e439:function(e,t,r){var n=r("23e7"),i=r("d039"),o=r("fc6a"),a=r("06cf").f,s=r("83ab"),c=i((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},e538:function(e,t,r){var n=r("b622");t.f=n},e58c:function(e,t,r){"use strict";var n=r("fc6a"),i=r("a691"),o=r("50c4"),a=r("a640"),s=r("ae40"),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),h=s("indexOf",{ACCESSORS:!0,1:0}),d=l||!f||!h;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=n(this),r=o(t.length),a=r-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},e62d:function(e,t,r){"use strict";r("d6a7")},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,r){"use strict";var n,i,o,a,s=r("23e7"),c=r("c430"),u=r("da84"),l=r("d066"),f=r("fea9"),h=r("6eeb"),d=r("e2cc"),p=r("d44e"),v=r("2626"),g=r("861d"),m=r("1c0b"),y=r("19aa"),b=r("8925"),_=r("2266"),w=r("1c7e"),A=r("4840"),S=r("2cf4").set,x=r("b575"),k=r("cdf9"),C=r("44de"),P=r("f069"),E=r("e667"),R=r("69f3"),T=r("94ca"),O=r("b622"),I=r("605d"),L=r("2d00"),F=O("species"),D="Promise",j=R.get,M=R.set,N=R.getterFor(D),U=f,q=u.TypeError,B=u.document,W=u.process,G=l("fetch"),z=P.f,Y=z,H=!!(B&&B.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,V="unhandledrejection",Q="rejectionhandled",K=0,J=1,Z=2,$=1,ee=2,te=T(D,(function(){var e=b(U)!==String(U);if(!e){if(66===L)return!0;if(!I&&!X)return!0}if(c&&!U.prototype["finally"])return!0;if(L>=51&&/native code/.test(U))return!1;var t=U.resolve(1),r=function(e){e((function(){}),(function(){}))},n=t.constructor={};return n[F]=r,!(t.then((function(){}))instanceof r)})),re=te||!w((function(e){U.all(e)["catch"]((function(){}))})),ne=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;x((function(){var n=e.value,i=e.state==J,o=0;while(r.length>o){var a,s,c,u=r[o++],l=i?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{l?(i||(e.rejection===ee&&ce(e),e.rejection=$),!0===l?a=n:(d&&d.enter(),a=l(n),d&&(d.exit(),c=!0)),a===u.promise?h(q("Promise-chain cycle")):(s=ne(a))?s.call(a,f,h):f(a)):h(n)}catch(p){d&&!c&&d.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},oe=function(e,t,r){var n,i;H?(n=B.createEvent("Event"),n.promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!X&&(i=u["on"+e])?i(n):e===V&&C("Unhandled promise rejection",r)},ae=function(e){S.call(u,(function(){var t,r=e.facade,n=e.value,i=se(e);if(i&&(t=E((function(){I?W.emit("unhandledRejection",n,r):oe(V,r,n)})),e.rejection=I||se(e)?ee:$,t.error))throw t.value}))},se=function(e){return e.rejection!==$&&!e.parent},ce=function(e){S.call(u,(function(){var t=e.facade;I?W.emit("rejectionHandled",t):oe(Q,t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=Z,ie(e,!0))},fe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw q("Promise can't be resolved itself");var n=ne(t);n?x((function(){var r={done:!1};try{n.call(t,ue(fe,r,e),ue(le,r,e))}catch(i){le(r,i,e)}})):(e.value=t,e.state=J,ie(e,!1))}catch(i){le({done:!1},i,e)}}};te&&(U=function(e){y(this,U,D),m(e),n.call(this);var t=j(this);try{e(ue(fe,t),ue(le,t))}catch(r){le(t,r)}},n=function(e){M(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},n.prototype=d(U.prototype,{then:function(e,t){var r=N(this),n=z(A(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=I?W.domain:void 0,r.parent=!0,r.reactions.push(n),r.state!=K&&ie(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=ue(fe,t),this.reject=ue(le,t)},P.f=z=function(e){return e===U||e===o?new i(e):Y(e)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,G.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:te},{Promise:U}),p(U,D,!1,!0),v(D),o=l(D),s({target:D,stat:!0,forced:te},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||te},{resolve:function(e){return k(c&&this===o?U:this,e)}}),s({target:D,stat:!0,forced:re},{all:function(e){var t=this,r=z(t),n=r.resolve,i=r.reject,o=E((function(){var r=m(t.resolve),o=[],a=0,s=1;_(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,o[c]=e,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=z(t),n=r.reject,i=E((function(){var i=m(t.resolve);_(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},e893:function(e,t,r){var n=r("5135"),i=r("56ef"),o=r("06cf"),a=r("9bf2");e.exports=function(e,t){for(var r=i(t),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},e8b5:function(e,t,r){var n=r("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},e91f:function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").indexOf,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,r){var n=r("b622"),i=r("3f8c"),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},eabf:function(e,t,r){var n=r("bc5b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("499e").default;i("20d209bc",n,!0,{sourceMap:!1,shadowMode:!1})},ebb5:function(e,t,r){"use strict";var n,i=r("a981"),o=r("83ab"),a=r("da84"),s=r("861d"),c=r("5135"),u=r("f5df"),l=r("9112"),f=r("6eeb"),h=r("9bf2").f,d=r("e163"),p=r("d2bb"),v=r("b622"),g=r("90e3"),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=m&&d(m),A=y&&d(y),S=Object.prototype,x=S.isPrototypeOf,k=v("toStringTag"),C=g("TYPED_ARRAY_TAG"),P=i&&!!p&&"Opera"!==u(a.opera),E=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8},O=function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||c(R,t)||c(T,t)},I=function(e){if(!s(e))return!1;var t=u(e);return c(R,t)||c(T,t)},L=function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(p){if(x.call(w,e))return e}else for(var t in R)if(c(R,n)){var r=a[t];if(r&&(e===r||x.call(r,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,r){if(o){if(r)for(var n in R){var i=a[n];i&&c(i.prototype,e)&&delete i.prototype[e]}A[e]&&!r||f(A,e,r?t:P&&y[e]||t)}},j=function(e,t,r){var n,i;if(o){if(p){if(r)for(n in R)i=a[n],i&&c(i,e)&&delete i[e];if(w[e]&&!r)return;try{return f(w,e,r?t:P&&m[e]||t)}catch(s){}}for(n in R)i=a[n],!i||i[e]&&!r||f(i,e,t)}};for(n in R)a[n]||(P=!1);if((!P||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},P))for(n in R)a[n]&&p(a[n],w);if((!P||!A||A===S)&&(A=w.prototype,P))for(n in R)a[n]&&p(a[n].prototype,A);if(P&&d(_)!==A&&p(_,A),o&&!c(A,k))for(n in E=!0,h(A,k,{get:function(){return s(this)?this[C]:void 0}}),R)a[n]&&l(a[n],C,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_TAG:E&&C,aTypedArray:L,aTypedArrayConstructor:F,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:j,isView:O,isTypedArray:I,TypedArray:w,TypedArrayPrototype:A}},f069:function(e,t,r){"use strict";var n=r("1c0b"),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},f183:function(e,t,r){var n=r("d012"),i=r("861d"),o=r("5135"),a=r("9bf2").f,s=r("90e3"),c=r("bb2f"),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!f(e))return"F";if(!t)return"E";h(e)}return e[u].objectID},p=function(e,t){if(!o(e,u)){if(!f(e))return!0;if(!t)return!1;h(e)}return e[u].weakData},v=function(e){return c&&g.REQUIRED&&f(e)&&!o(e,u)&&h(e),e},g=e.exports={REQUIRED:!1,fastKey:d,getWeakData:p,onFreeze:v};n[u]=!0},f5b2:function(e,t,r){"use strict";var n=r("23e7"),i=r("6547").codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},f5df:function(e,t,r){var n=r("00ee"),i=r("c6b6"),o=r("b622"),a=o("toStringTag"),s="Arguments"==i(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},f6d6:function(e,t,r){var n=r("23e7"),i=r("23cb"),o=String.fromCharCode,a=String.fromCodePoint,s=!!a&&1!=a.length;n({target:"String",stat:!0,forced:s},{fromCodePoint:function(e){var t,r=[],n=arguments.length,a=0;while(n>a){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},f772:function(e,t,r){var n=r("5692"),i=r("90e3"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},f8cd:function(e,t,r){var n=r("a691");e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb15:function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,i=r("8875");n=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(r.p=o[1])}r("d81d"),r("b0c0");var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"labelView",staticClass:"label-view",on:{click:e.getCoordinates}},[r(e.currentView,{ref:"currentTag",tag:"component",staticClass:"tag",attrs:{showName:e.activeTagObj.name,tagStyle:e.activeTagObj,labelId:e.activeTagObj.labelId}}),e._l(e.singleTagData,(function(t,n){return[e.page===t.pageIndex&&0==e.filterType||e.filterType==t.labelType?r("labelItem",{directives:[{name:"move",rawName:"v-move",value:e.handlerMove,expression:"handlerMove"}],key:n,style:e.getStyleCom(t),attrs:{tagStyle:t,index:n,showName:t.showName},nativeOn:{contextmenu:function(r){return r.preventDefault(),e.deTag(t,n,r)}}},[r("i",{staticClass:"labelCon",style:e.getStyleCon(t)},[r("span",{staticClass:"span-text"},[e._v(e._s(2===t.labelType?"":t.showName))])]),e.isclose?r("i",{staticClass:"close",on:{click:function(r){return e.deleteTag(t,n)}}},[e._v("+")]):e._e(),1===t.labelType&&e.issize?r("div",{directives:[{name:"size",rawName:"v-size",value:e.handlerResize,expression:"handlerResize"}],staticClass:"resize-tag"}):e._e()]):e._e()]})),r("LabelProterty",{ref:"proterty",on:{change:e.onChange}})],2)},s=[];r("99af"),r("4de4"),r("7db0"),r("4160"),r("c975"),r("a434"),r("a9e3"),r("cca6"),r("e25e"),r("159b"),r("a4d3"),r("1d1c"),r("7a82"),r("e439"),r("dbb4"),r("b64b");function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-item-box",class:e.className,style:e.style},[e._t("default"),r("div",{staticClass:"label-style"})],2)},h=[];function d(e){switch(e){case 1:return{width:"120px",height:"35px"};case 2:return{width:"140px",height:"140px"};case 3:return{width:"30px",height:"30px"};case 4:return{width:"100px",height:"100px"};default:return{width:"200px",height:"35px"}}}var p=d,v={props:{tagStyle:{type:[String,Object],required:!0}},data:function(){return{}},computed:{style:function(){var e=p(this.tagStyle.shape);return e},className:function(){var e=this.tagStyle;return"label-shape".concat(e.shape)}},methods:{}},g=v;r("c408");function m(e,t,r,n,i,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var y=m(g,f,h,!1,null,"3e9e96f1",null),b=y.exports,_=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-dialog",{attrs:{title:"标签属性",modal:!0,visible:e.dialogVisible,"close-on-click-modal":!1,"append-to-body":"",width:"480px","custom-class":"discard-flow-wrapper","before-close":e.beforeClose,"close-on-press-escape":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"prodForm",attrs:{model:e.formData,size:"small"}},[r("el-form-item",{attrs:{label:"字体大小",prop:"fontSize"}},[r("el-select",{model:{value:e.formData.fontSize,callback:function(t){e.$set(e.formData,"fontSize",t)},expression:"formData.fontSize"}},[r("el-option",{attrs:{label:"自动",value:0}}),r("el-option",{attrs:{label:"12px",value:12}}),r("el-option",{attrs:{label:"14px",value:14}}),r("el-option",{attrs:{label:"16px",value:16}}),r("el-option",{attrs:{label:"18px",value:18}}),r("el-option",{attrs:{label:"32px",value:32}})],1)],1),r("el-form-item",{attrs:{label:"对齐方式",prop:"alignment"}},[r("el-select",{model:{value:e.formData.alignment,callback:function(t){e.$set(e.formData,"alignment",t)},expression:"formData.alignment"}},[r("el-option",{attrs:{label:"居左",value:0}}),r("el-option",{attrs:{label:"居中",value:1}}),r("el-option",{attrs:{label:"居右",value:2}})],1)],1),r("el-form-item",{staticClass:"remark-wrapper",attrs:{label:"是否换行",prop:"isMultiline"}},[r("el-select",{model:{value:e.formData.isMultiline,callback:function(t){e.$set(e.formData,"isMultiline",t)},expression:"formData.isMultiline"}},[r("el-option",{attrs:{label:"单行",value:0}}),r("el-option",{attrs:{label:"多行",value:1}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.beforeClose}},[e._v("取消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("确认提交")])],1)],1)],1)},w=[],A={props:{role:{type:String,default:""}},data:function(){return{dialogVisible:!1,editItem:"",productId:"",labelNode:null,formData:{fontSize:0,alignment:"",isMultiline:""}}},methods:{openDialog:function(e,t,r){this.dialogVisible=!0,this.labelNode={labelData:e,index:t,element:r},this.formData.fontSize=null==e.fontSize?0:e.fontSize,this.formData.alignment=null==e.alignment?1:e.alignment,this.formData.isMultiline=null==e.isMultiline?0:e.isMultiline},beforeClose:function(){this.dialogVisible=!1},onSubmit:function(){console.log("--",this.formData),this.$emit("change",this.formData,this.labelNode),this.dialogVisible=!1}}},S=A,x=(r("ce0a"),m(S,_,w,!1,null,"7c80f08a",null)),k=x.exports,C={move:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),console.log("执行onmousedown",e.className),r.stopPropagation()}}},size:{inserted:function(e,t,r){e.onmousedown=function(r){t.value(r,e),console.log("onmousedown",e.className),r.stopPropagation()}}}},P=C,E=[{type:1,name:"文本标签",shape:1},{type:2,name:"选项",shape:1},{type:3,name:"多选",shape:1},{type:5,name:"自然人投资者签名",shape:1},{type:21,name:"机构经办人签名",shape:1},{type:11,name:"管理人签章",shape:2},{type:19,name:"理财师签名",shape:1},{type:15,name:"托管人签章",shape:2},{type:7,name:"投资机构签章",shape:2},{type:23,name:"管理人法人签章",shape:2},{type:25,name:"托管人法人签章",shape:2},{type:27,name:"管理人合同签章",shape:2},{name:"募集机构公章签章",type:29,shape:2},{name:"募集机构法人章签章",type:31,shape:2},{name:"募集机构业务或合同章",type:33,shape:2},{name:"募集机构理财师签名",type:35,shape:1},{name:"机构投资者法人章",type:37,shape:4},{name:"妥妥递公章",type:97,shape:2},{name:"妥妥递法人章",type:98,shape:2},{name:"自定义标签",type:99,shape:2}],R={name:"TtdLabelMake",props:{isclose:{type:[Boolean],default:!0},ismove:{type:[Boolean],default:!0},issize:{type:[Boolean],default:!0},isset:{type:[Boolean],default:!0},labelCurrent:{type:[Object]},page:{type:[Number,String],default:1},filterType:{type:[Number,String],default:0},labelViewData:{type:[Array],default:function(){return[]}}},components:{labelItem:b,LabelProterty:k},data:function(){return{labelConfig:E,showLabel:{showName:"",labelId:""},currentView:"",labelData:[],activeTagObj:{name:"",labelId:""},mousemoveFn:null,mousedownEl:null,mousedonwType:""}},created:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},mounted:function(){var e=this;document.onclick=function(){e.removeElementsByClass("dele")};var t=this.$refs.labelView,r=this;t.onmousemove=function(e){if(r.mousemoveFn){var n=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY});r.mousemoveFn(e,n)}else if(r.activeTagObj&&r.activeTagObj.name){var i=r.getFollowOffset(t,e.target,{left:e.offsetX,top:e.offsetY}),o=r.$refs.currentTag.$el;o&&(t.style.cursor="none",o.style.display="block",o.style.left="".concat(i.left,"px"),o.style.top="".concat(i.top,"px"))}},t.onmouseup=function(){if(console.log("box --onmouseup"),r.mousedownEl)if("resize-tag"===r.mousedownEl.className){var e=r.mousedownEl.parentNode,t=e.getAttribute("index");if(console.log("resize".concat(t),"".concat(e.offsetWidth,"--").concat(e.offsetHeight)),t){var n=r.labelData[Number(t)];n&&(n.labelWidth=e.offsetWidth,n.labelHigh=e.offsetHeight,n.styleObj&&(n.styleObj.width="".concat(e.offsetWidth,"px"),n.styleObj.height="".concat(e.offsetHeight,"px")))}}else{var i=r.mousedownEl.getAttribute("index");if(console.log("move".concat(i),r.mousedownEl.offsetTop),i){var o=r.labelData[Number(i)];if(o){o.xAxis=r.mousedownEl.offsetLeft;var a="";a=1===o.labelType?r.mousedownEl.offsetTop+7:r.mousedownEl.offsetTop+o.labelHigh,o.yAxis=a,o.styleObj&&(o.styleObj.top="".concat(r.mousedownEl.offsetTop,"px"),o.styleObj.left="".concat(r.mousedownEl.offsetLeft,"px"))}}}r.mousemoveFn=null,r.mousedownEl=null}},directives:P,watch:{labelViewData:function(){this.labelData=this.labelViewData,this.$emit("getLabelData",this.labelData)},labelCurrent:function(e){if(e){null==e.type&&(e.type=1);var t=this.labelConfig.filter((function(t){return t.type===e.type})),r=t&&t.length?t[0]:null;1===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelId:e.labelId?e.labelId:""},e):2===e.type||3===e.type?this.activeTagObj=l(l({},r),{},{name:e.optionName,titleName:e.labelName,labelCode:e.labelCode,labelId:e.labelId?e.labelId:"",code:e.code}):this.activeTagObj=l(l({},r),e),this.currentView="labelItem"}}},computed:{singleTagData:function(){var e=[];return this.labelData.forEach((function(t){2===t.labelType?e.push(t.labelContent[0]):(1===t.labelType&&(t.yAxis=parseInt(t.styleObj.top,10)+7),e.push(t))})),e}},methods:{handlerResize:function(e,t){if(!this.issize)return!1;var r=t.parentNode;this.mousedownEl=t,console.log("size mousemoveFn"),this.mousemoveFn=function(e,t){t.left-r.offsetLeft>40&&(r.style.width="".concat(t.left-r.offsetLeft,"px")),t.top-r.offsetTop>20&&(r.style.height="".concat(t.top-r.offsetTop,"px"))}},handlerMove:function(e,t){if(!this.ismove)return!1;this.mousedownEl=t,this.mousedonwType="move",console.log("move mousemoveFn",e.target.className),"close"!==e.target.className&&"resize-tag"!==e.target.className&&(this.mousemoveFn=function(r,n){t.style.left="".concat(n.left-e.offsetX,"px"),t.style.top="".concat(n.top-e.offsetY,"px")})},getStyleCom:function(e){var t=e.labelWidth||e.labelwidth,r=e.labelHigh||e.labelheight;return r&&-1===String(r).indexOf("px")&&(r+="px"),t&&-1===String(t).indexOf("px")&&(t+="px"),e.styleObj.height=r,e.styleObj.width=t,e.styleObj},getStyleCon:function(e){var t={};e.fontSize&&(t.fontSize="".concat(e.fontSize,"px"));var r="center";switch(e.alignment){case 0:r="left";break;case 2:r="right";break;default:r="center"}return t.textAlign=r,e.isMultiline&&(t.whiteSpace="normal"),t},setLabelProperty:function(e,t,r){this.$refs.proterty.openDialog(e,t,r)},onChange:function(e,t){Object.assign(t.labelData,e);var r=t.element;if("labelCon"!==r.className&&(r=t.element.parentNode,"labelCon"!==r.className))return alert("系统错误,请联系管理员"),!1;r.style.fontSize="".concat(e.fontSize<12?12:e.fontSize,"px");var n="center";switch(e.alignment){case 0:n="left";break;case 2:n="right";break;default:n="center"}r.style.textAlign=n,e.isMultiline&&(r.style.whiteSpace="normal")},getFollowOffset:function(e,t,r){return e===t?r:this.getFollowOffset(e,t.parentNode,{left:r.left+t.offsetLeft,top:r.top+t.offsetTop})},removeElementsByClass:function(e){var t=document.getElementsByClassName(e);while(t.length>0)t[0].parentNode.removeChild(t[0])},deTag:function(e,t,r){var n=this;if(this.isclose||this.isset){this.removeElementsByClass("dele");var i=r.offsetX,o=r.offsetY,a=document.createElement("ul");if(a.setAttribute("class","mouse-right-el"),this.isclose){var s=document.createElement("li");s.innerHTML='<div class="right-dele">删 除</div>',a.appendChild(s)}if(this.isset&&1===e.labelType){var c=document.createElement("li");c.innerHTML='<div class="right-property">属 性</div>',a.appendChild(c)}a.onclick=function(i){var o=i.target.className;"right-dele"===o?n.deleteTag(e,t):"right-property"===o&&n.setLabelProperty(e,t,r.target),r.target.removeChild(a)},a.style.left="".concat(i,"px"),a.style.top="".concat(o,"px;"),r.target.appendChild(a)}},formatLabelValue:function(e,t){var r=p(t.shape),n="";return n=1===t.type?e.offsetTop+7:e.offsetTop+parseInt(r.height,10),{xAxis:e.offsetLeft,yAxis:n,labelWidth:parseInt(r.width,10),labelHigh:parseInt(r.height,10),labelType:t.type,labelId:t.labelId||"",showName:t.name,shape:t.shape,titleName:t.titleName||"",labelCode:t.labelCode||"",code:t.code||"",sealTag:t.sealTag||t.sealDiyCode,labelAlias:t.labelAlias,stampType:t.stampType,styleObj:{position:"absolute",width:r.width,height:r.height,top:"".concat(e.offsetTop,"px"),left:"".concat(e.offsetLeft,"px")}}},getCoordinates:function(e){var t=this.$refs.labelView,r=t.querySelector(".mouse-right-el");if(r&&r.parentNode.removeChild(r),this.activeTagObj&&this.activeTagObj.name){var n=this.$refs.currentTag.$el,i=this.formatLabelValue(n,this.activeTagObj);if(t.style.cursor="default",n.style.display="none",i.pageIndex=this.page,2===i.labelType){var o=this.labelData.find((function(e){return e.labelCode&&e.labelCode===i.labelCode}));if(o)delete i.labelId,delete i.titleName,o.labelContent.push(i);else{var a={};a.labelCode=i.labelCode,a.pageIndex=i.pageIndex,a.showName=i.titleName,a.labelType=i.labelType,delete i.labelId,delete i.titleName,a.labelContent=[i],this.labelData.push(a)}}else 1===i.labelType?(i.alignment=0,this.labelData.push(i)):this.labelData.push(i);this.$emit("getLabelData",this.labelData),this.activeTagObj={name:"",labelId:""}}},deleteTag:function(e,t){this.labelData[t]&&(this.labelData.splice(t,1),this.$emit("getLabelData",this.labelData))}}},T=R,O=(r("cd97"),r("e62d"),m(T,a,s,!1,null,"0dfa1a8c",null)),I=O.exports,L=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"label-done-area"},[r("div",{staticClass:"label-group"},[r("el-menu",{staticClass:"el-menu-vertical-demo title-con",attrs:{"menu-trigger":"click"}},[e._l(e.operateConfig,(function(t,n){return[r("el-submenu",{key:n,attrs:{index:""+n}},[r("template",{slot:"title"},[r("span",[e._v(e._s(t.typeName))])]),e._l(t.typeSeal,(function(t,i){return r("el-menu-item-group",{key:i},[r("el-menu-item",{attrs:{index:n+"-"+i},on:{click:function(t){return e.changeColor(n,i)}}},[r("el-button",{class:{colorChnage:e.ind===n+"-"+i,"label-item-btn":!0},attrs:{type:"text"},on:{click:function(r){return e.emitSignItem(t)}}},[e._v(e._s(t.name)+" ")])],1)],1)}))],2)]}))],2)],1),e._t("default"),e._t("select-label")],2)},F=[],D={name:"TtdLabelOperate",props:{operateConfig:{type:[Array],default:function(){return[]}}},data:function(){return{inputNameList:[],ind:""}},methods:{changeColor:function(e,t){this.ind="".concat(e,"-").concat(t)},emitSignItem:function(e){this.$emit("getSignItem",e)}}},j=D,M=(r("0744"),r("03bd"),m(j,L,F,!1,null,"3b6f6e50",null)),N=M.exports;r("e01a"),r("d28b"),r("e260"),r("d3b7"),r("3ca3"),r("ddb0");function U(e){return U="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}var q=r("8bbf"),B=r.n(q),W=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:"fade"}},[e.show?r("div",{ref:"heImg",staticClass:"hevue-wrap",style:"background:"+e.mainBackground,attrs:{id:"hevue-wrap"},on:{mouseup:function(t){return e.removeMove("pc")},touchend:function(t){return e.removeMove("mobile")},click:e.clickMask}},[r("div",{staticClass:"he-img-wrap"},[r("img",{directives:[{name:"show",rawName:"v-show",value:1===e.imgState,expression:"imgState === 1"}],attrs:{src:"https://jzwsp.totodi.com/jz/image-loading.gif"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:2===e.imgState,expression:"imgState === 2"}],ref:"heImView",staticClass:"he-img-view",style:"transform: scale("+e.imgScale+") rotate("+e.imgRotate+"deg);margin-top:"+e.imgTop+"px;margin-left:"+e.imgLeft+"px;"+e.maxWH,attrs:{src:e.imgurl},on:{click:function(e){e.stopPropagation()},mousedown:e.addMove,touchstart:e.addMoveMobile}}),r("div",{directives:[{name:"show",rawName:"v-show",value:3===e.imgState,expression:"imgState === 3"}],staticClass:"iconfont hevue-img-error"},[e._v("")]),r("div",{staticClass:"iconfont he-close-icon",style:"color:"+e.closeColor,on:{click:function(t){return t.stopPropagation(),e.close(t)}}},[e._v("")]),e.multiple?r("div",{staticClass:"arrow arrow-left iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!1)}}},[e._v("")]):e._e(),e.multiple?r("div",{staticClass:"arrow arrow-right iconfont",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(t){return t.stopPropagation(),e.toogleImg(!0)}}},[e._v("")]):e._e(),r("div",{staticClass:"he-control-bar-wrap"},[r("div",{staticClass:"he-control-bar",style:"color:"+e.controlColor+";background: "+e.controlBackground,on:{click:function(e){e.stopPropagation()}}},[r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(-.15)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.scaleFunc(.15)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isFull,expression:"isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFull,expression:"!isFull"}],staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.imgToggle(t)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(-90)}}},[e._v("")]),r("div",{staticClass:"he-control-btn iconfont",on:{click:function(t){return t.stopPropagation(),e.rotateFunc(90)}}},[e._v("")])])]),e.multiple?r("div",{staticClass:"he-control-num",style:"color:"+e.controlColor+";background: "+e.controlBackground},[e._v(e._s(e.imgIndex+1)+" / "+e._s(e.imgList.length))]):e._e()])]):e._e()])},G=[],z=(r("277d"),r("0d03"),r("4795"),{name:"hevue-img-preview",props:{show:{type:Boolean,default:!1},clickMaskCLose:String,url:String,mainBackground:String,controlColor:String,controlBackground:String,closeColor:String,instance:Object,multiple:{type:Boolean,default:!1},keyboard:{type:String,default:"open"},nowImgIndex:{type:Number,default:0},imgList:Array},data:function(){return{imgScale:1,imgTop:0,imgLeft:0,imgRotate:0,isFull:!1,maxWH:"max-width:100%;max-height:100%;",clientX:0,clientY:0,imgIndex:0,canRun:!0,imgurl:"",imgState:1,logText:"",start:[{clientX:217,clientY:279,force:1,identifier:0,pageX:217,pageY:279,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:493,screenY:456},{clientX:247,clientY:273,force:1,identifier:0,pageX:247,pageY:273,radiusX:11.5,radiusY:11.5,rotationAngle:0,screenX:523,screenY:450}],mobileScale:0}},mounted:function(){this.initImg()},watch:{url:function(){this.initImg()},show:function(e){var t=this;e&&this.$nextTick((function(e){var r=document.getElementById("hevue-wrap");r.onmousewheel=t.scrollFunc,document.body.addEventListener("DOMMouseScroll",t.scrollFunc),document.ondragstart=function(){return!1},t.multiple?Array.isArray(t.imgList)&&t.imgList.length>0?(t.imgIndex=Number(t.nowImgIndex)||0,t.changeUrl(t.imgList[t.imgIndex],t.imgIndex)):console.error("imgList 为空或格式不正确"):t.changeUrl(t.url),"open"===t.keyboard&&document.addEventListener("keydown",t.keyHandleDebounce)}))}},methods:{close:function(){this.instance.show=!1,this.initImg(),this.maxWH="max-width:100%;max-height:100%;",this.isFull=!1,document.body.removeEventListener("DOMMouseScroll",this.scrollFunc),document.ondragstart=null,this.keyboard&&document.removeEventListener("keydown",this.keyHandleDebounce)},initImg:function(){this.mobileScale=1,this.imgScale=1,this.imgRotate=0,this.imgTop=0,this.imgLeft=0},toogleImg:function(e){e?(this.imgIndex++,this.imgIndex>this.imgList.length-1&&(this.imgIndex=0)):(this.imgIndex--,this.imgIndex<0&&(this.imgIndex=this.imgList.length-1)),this.changeUrl(this.imgList[this.imgIndex],this.imgIndex)},changeUrl:function(e,t){var r=this;this.imgState=1;var n=new Image;n.src=e,n.onload=function(){console.log("onload: index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState)),(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=2,r.imgurl=e),console.log("imgState=",r.imgState)},n.onerror=function(){(void 0!==t&&t===r.imgIndex||void 0===t)&&(r.imgState=3),console.log("onerror : index=".concat(t,"--imgIndex=").concat(r.imgIndex,"--imgState=").concat(r.imgState))}},rotateFunc:function(e){this.imgRotate+=e},scaleFunc:function(e,t){this.imgScale<=.2&&e<0||(t?this.imgScale=e:this.imgScale+=e)},imgToggle:function(){this.initImg(),this.isFull?this.maxWH="max-width:100%;max-height:100%;":this.maxWH="",this.isFull=!this.isFull},scrollFunc:function(e){e=e||window.event,e.delta=e.wheelDelta||-e.detail,e.preventDefault(),e.delta>0&&this.scaleFunc(.05),e.delta<0&&this.scaleFunc(-.05)},addMove:function(e){e=e||window.event,this.clientX=e.clientX,this.clientY=e.clientY,this.$refs.heImg.onmousemove=this.moveFunc},addMoveMobile:function(e){e.preventDefault(),e=e||window.event,e.touches.length>1?this.start=e.touches:(this.clientX=e.touches[0].pageX,this.clientY=e.touches[0].pageY),this.$refs.heImg.ontouchmove=this.moveFuncMobile},moveFunc:function(e){e=e||window.event,e.preventDefault();var t=e.clientX-this.clientX,r=e.clientY-this.clientY;this.imgLeft+=2*t,this.imgTop+=2*r,this.clientX=e.clientX,this.clientY=e.clientY},moveFuncMobile:function(e){if(e=e||window.event,e.touches.length>1){var t=e.touches,r=this.getDistance(t[0],t[1])/this.getDistance(this.start[0],this.start[1]);this.logText="".concat(r,",").concat(this.mobileScale),this.mobileScale?r>1?this.scaleFunc(r+this.mobileScale-1,!0):this.scaleFunc(r*this.mobileScale,!0):this.scaleFunc(r,!0)}else{var n=e.touches[0];e.preventDefault();var i=n.pageX-this.clientX,o=n.pageY-this.clientY;this.imgLeft+=2*i,this.imgTop+=2*o,this.clientX=n.pageX,this.clientY=n.pageY}},removeMove:function(e){"pc"===e?this.$refs.heImg.onmousemove=null:(this.mobileScale=this.imgScale,this.$refs.heImg.ontouchmove=null)},keyHandleDebounce:function(e){var t=this;this.canRun&&(this.keyHandle(e),this.canRun=!1,setTimeout((function(){t.canRun=!0}),300))},keyHandle:function(e){var t=window.event||e,r=t.keyCode||t.which||t.charCode;switch(r){case 27:this.close();break;case 65:this.multiple&&this.toogleImg(!1);break;case 68:this.multiple&&this.toogleImg(!0);break;case 87:this.scaleFunc(.15);break;case 83:this.scaleFunc(-.15);break;case 81:this.rotateFunc(-90);break;case 69:this.rotateFunc(90);break;case 82:this.initImg();break;default:break}},clickMask:function(){console.log("hello",this.clickMaskCLose),"open"===this.clickMaskCLose&&this.close()},getDistance:function(e,t){var r=t.pageX-e.pageX,n=t.pageY-e.pageY;return Math.sqrt(r*r+n*n)},downloadIamge:function(){var e=new Image;e.setAttribute("crossOrigin","anonymous"),e.onload=function(){var t=document.createElement("canvas");t.width=e.width,t.height=e.height;var r=t.getContext("2d");r.drawImage(e,0,0,e.width,e.height);var n=t.toDataURL("image/png"),i=document.createElement("a"),o=new MouseEvent("click");i.download="photo".concat(+new Date),i.href=n,i.dispatchEvent(o)},e.onerror=function(e){console.log("图片信息不正确或图片服务器禁止访问"),console.log(e)},this.multiple?e.src=this.imgList[this.imgIndex]:e.src=this.url}}}),Y=z,H=(r("6cb7"),m(Y,W,G,!1,null,"fb1200dc",null)),X=H.exports,V=B.a.extend(X),Q=(new V).$mount(),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"===typeof e)Q.url=e;else{if("object"!==U(e)||e.constructor===Array)return void(e.constructor!==Array?console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 ".concat(U(e),"\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is ").concat(U(e))):console.error("hevue-img-preview 组件参数仅能接收字符串和对象,但您传入的是 array\nhevue-img-preview parameter can only receive strings and objects, but what you pass in is array"));Q.url=e.url}Q.mainBackground=e.mainBackground||"rgba(255,255,255,.6)",Q.controlColor=e.controlColor,Q.controlBackground=e.controlBackground||"rgba(109, 109, 109, .6)",Q.closeColor=e.closeColor||"rgba(109, 109, 109, .6)",Q.multiple=e.multiple,Q.clickMaskCLose=e.clickMaskCLose||"open",Q.nowImgIndex=e.nowImgIndex,Q.imgList=e.imgList,Q.keyboard=e.keyboard||"open",Q.show=!0,Q.instance=Q,document.body.appendChild(Q.$el)},J=function(e){e.prototype.$ImgPreview=K};"undefined"!==typeof window&&window.Vue&&window.Vue.use(J);var Z=J,$=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pdf-view",style:e.style},[e.showPages?r("div",{staticClass:"pdf-view-control"},[r("switch-page",{ref:"switchPage",attrs:{numPages:e.page_count},on:{page:e.onChangePage}})],1):e._e(),e.pdfurl?r("div",{staticClass:"center pdf-view-area",style:{border:e.border?"1px solid #666":""},on:{drop:e.onDrop,dragover:e.onDragOver}},[r("canvas",{ref:"canvas",staticClass:"canvasstyle"}),r("div",{staticClass:"label-area"},[e._t("default")],2)]):r("div",{staticClass:"pdf-view-empty"},[e._v("未找到资源,请联系管理员!")])])},ee=[],te=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"switch-page"},[r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("prev")}}},[r("i",{staticClass:"el-icon-caret-left"})]),r("el-button",{attrs:{size:"mini"},on:{click:function(t){return e.switchPage("next")}}},[r("i",{staticClass:"el-icon-caret-right"})]),r("span",{staticStyle:{"margin-left":"10px"}},[e._v(e._s(e.page)+"/"+e._s(e.numPages))]),r("span",{staticStyle:{"margin-left":"6px"}},[e._v(" 跳转至 "),r("el-input",{staticStyle:{width:"50px",margin:"0 4px"},attrs:{size:"mini"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goPage(t)}},model:{value:e.itemPage,callback:function(t){e.itemPage=e._n(t)},expression:"itemPage"}}),e._v(" 页 ")],1)],1)},re=[],ne={name:"switch-page",props:{numPages:{type:[Number,String]}},data:function(){return{page:1,itemPage:""}},watch:{numPages:function(){this.page=1}},methods:{switchPage:function(e){if("prev"===e){if(1===this.page)return;this.page--}if("next"===e){if(this.page===this.numPages)return void this.$message({message:"当前已是最后一页",type:"warning"});this.page++}this.$emit("page",this.page)},setPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page=e},goPage:function(){this.itemPage>0&&(this.itemPage>=this.numPages?(this.page=this.numPages,this.itemPage=this.page):this.page=this.itemPage,this.$emit("page",this.page))}}},ie=ne,oe=(r("9b37"),m(ie,te,re,!1,null,"fb780886",null)),ae=oe.exports,se=r("9511");se.GlobalWorkerOptions.workerSrc="https://wsp.totodi.com/jz/pdfjs/pdf.worker-2.2.228.js";var ce={name:"pdf-view",components:{SwitchPage:ae},props:{pdfurl:{default:""},scale:{type:Number,default:1.5},showPages:{type:[String,Number,Boolean],default:!0},border:{type:[String,Number,Boolean],default:!0},marginAuto:{type:[String,Number,Boolean],default:!1},page:{type:[String,Number],default:1},showWidth:{type:[String,Number],default:0}},data:function(){return{pdfDoc:null,pageNum:1,pageRendering:!1,pageNumPending:null,compuscale:1.5,page_count:0,maxscale:1.5,minscale:.8,isready:!1,initPage:!0,style:{width:"860px",margin:""===this.marginAuto||this.marginAuto?"0 auto":"0"}}},methods:{renderPage:function(e){var t=this,r=this;this.pageRendering=!0,this.pdfDoc.getPage(e).then((function(n){var i=r.compuscale,o="",a=t.showWidth;if(t.initPage&&a){var s=parseInt(a,10)-2;o=n.getViewport({scale:1}),i=s/o.width,t.initPage=!1,t.compuscale=i,t.maxscale=i}o=n.getViewport({scale:i}),t.$emit("size",o,e),r.isready=!0;var c=r.$refs.canvas;t.style.width="".concat(o.width+2,"px"),c.height=o.height,c.width=o.width;var u={canvasContext:c.getContext("2d"),viewport:o},l=n.render(u);l.promise.then((function(){r.pageRendering=!1,null!==r.pageNumPending&&(r.renderPage(r.pageNumPending),r.pageNumPending=null)}))}))},prev:function(){this.pageNum<=1||(this.pageNum--,this.queueRenderPage(this.pageNum))},next:function(){this.pageNum>=this.page_count||(this.pageNum++,this.queueRenderPage(this.pageNum))},onChangePage:function(e){this.queueRenderPage(e)},closepdf:function(){this.pdfDoc&&this.pdfDoc.destroy(),this.pdfDoc=null,this.isready=!1,this.compuscale=this.scale,this.$emit("closepdf")},queueRenderPage:function(e){this.pageRendering?this.pageNumPending=e:this.renderPage(e)},loadUrl:function(e){var t=this;if(!se)return!1;console.log("----PdfView---",e),se.getDocument({url:encodeURI(e),cMapUrl:"https://unpkg.com/pdfjs-dist@2.2.228/cmaps/",cMapPacked:!0}).promise.then((function(e){t.pdfDoc&&(console.log("pdfDocument is ready destroy,,"),t.pdfDoc.destroy()),t.pdfDoc=e,t.page_count=e.numPages,console.log("this.page_count 22.37",t.page_count),t.$emit("numPages",e.numPages),t.renderPage(t.pageNum)}))},onDrop:function(e){this.$emit("drop",e)},onDragOver:function(e){e.preventDefault()}},mounted:function(){this.compuscale=this.scale,this.initPage=!0,this.pdfurl&&this.loadUrl(this.pdfurl)},beforeDestroy:function(){this.pdfDoc&&this.pdfDoc.destroy()},watch:{pdfurl:function(e){e&&(this.pageNum=1,this.initPage=!0,this.loadUrl(e),this.pdfDoc&&this.pdfDoc.destroy()),this.showPages&&this.$refs.switchPage.setPage(1)},page:function(e,t){this.queueRenderPage(e)}}},ue=ce,le=(r("e0e9"),m(ue,$,ee,!1,null,"c340782e",null)),fe=le.exports,he=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cfca-pdf"},[e.isIE?[r("div",{staticClass:"cfca-pdf-wrapper",style:{visibility:e.visible}},[r("div",{class:{"cfca-left":!0,active:"left"===e.active,disabled:e.pageNo<=1},on:{click:function(t){return e.GoToPrevPage()}}},[r("span",{staticClass:"el-icon-arrow-left"})]),r("div",{staticClass:"cfca-content"},[r("div",{staticClass:"cfca-page"},[r("div",{staticClass:"fl cfca-title"},[r("h2",[e._v(e._s(e.title))])]),r("div",{staticClass:"fr"},[e._v(" "+e._s(e.pageNo)+"/"+e._s(e.pageCount)+" "),r("span",{staticClass:"di"},[e._v("第")]),r("el-input",{staticClass:"page-num",attrs:{size:"mini"},on:{change:e.GoToPage},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.GoToPage(t)}},model:{value:e.inputPage,callback:function(t){e.inputPage=t},expression:"inputPage"}}),e._v("页 ")],1)]),r("div",{ref:"PDFCtrlPlaceHolder",staticClass:"cfca-object"},[r("div",{staticClass:"obj-wrapper",on:{dragenter:e.onDragEnter,dragover:e.onDragOver,drop:e.onDrop}},[this.idstr?[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{id:"PDFCtrl"+this.idstr,tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]:[r("object",{ref:"pdfCtrl",staticClass:"PDFCtrlObject",staticStyle:{position:"relative","z-Index":"1"},attrs:{tabindex:0,codebase:e.publicPath+e.codebase,classid:"clsid:6F60FE31-F827-4295-8AC4-775EF7478A6A",width:"100%",height:"100%"}},[r("param",{attrs:{name:"wmode",value:"transparent"}}),r("param",{attrs:{name:"showToolbar",value:"false"}})])]],2)]),r("div",{staticClass:"cfca-control"},[e._t("default")],2)]),r("div",{class:{"cfca-right":!0,active:"right"===e.active,disabled:e.pageNo>=e.pageCount},on:{click:function(t){return e.GoToNextPage()}}},[r("span",{staticClass:"el-icon-arrow-right"})])])]:[r("div",{staticClass:"red",staticStyle:{height:"350px",padding:"20px",position:"relative","margin-bottom":"20px"}},[e._v(" 提示:当前浏览器不支持控件预览,请切换IE浏览器进行查看 "),r("div",{staticClass:"tc",staticStyle:{position:"absolute",bottom:"0",left:"0",right:"0"}},[e._t("default")],2)])]],2)},de=[];r("e6cf"),r("ac1f"),r("5319"),r("96cf");function pe(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function ve(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){pe(o,n,i,a,s,"next",e)}function s(e){pe(o,n,i,a,s,"throw",e)}a(void 0)}))}}var ge=function(e){var t={};return e&&(t="string"===typeof e&&/^{/.test(e)?JSON.parse(e):e),t.url&&(t.url=decodeURI(t.url)),t},me={name:"cfca-pdf",props:{action:{type:String,default:""},pdfurl:{type:String,default:""},visible:{type:[String,Boolean],default:"visible"},title:{type:String,default:""},idstr:{type:[String,Number]}},data:function(){var e="";return e="x86"===window.navigator.cpuClass?"cfca/TrustSignPDFPlugin.ttd.x86.cab#version=3,2,1,4":"cfca/TrustSignPDFPlugin.ttd.x64.cab#version=3,2,1,4",{publicPath:"https://wsp.totodi.com/jz/",PDFCtrl:"",codebase:e,active:"",inputPage:"",isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,pageNo:1,pageCount:1}},beforeDestroy:function(){console.log("--cfca-pdf-beforeDestroy")},beforeRouteLeave:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("-cfca--beforeRouteLeave---"),e.next=3,n.CloseFile();case 3:r();case 4:case"end":return e.stop()}}),e)})))()},mounted:function(){this.isIE&&(this.OnLoad(),console.log("cfca mounted =".concat(this.pdfurl)),this.pdfurl&&setTimeout(this.OpenFile,100))},methods:{OnLoad:function(){return!this.PDFCtrl&&(!!this.isIE&&(this.PDFCtrl=this.$refs.pdfCtrl,this.PDFCtrl||(console.log("使用id 加载this.PDFCtrl "),this.PDFCtrl=window["PDFCtrl".concat(this.idstr)]),void(window.OnClickPoint=this.OnClickPoint)))},OpenFile:function(e){var t=this;if(e=e||this.pdfurl,!e)return alert("未发现pdf资源路径!"),!1;try{console.log("OpenFile--src--".concat(e)),this.PDFCtrl.OpenWebFile(encodeURI(e)),this.PDFCtrl=this.$refs.pdfCtrl,setTimeout((function(){t.PDFCtrl.ZoomTo(-1),t.GetPageNo()}),100)}catch(n){if(this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},CloseFile:function(){try{this.pdfurl&&this.PDFCtrl&&(console.log("CloseFile---"),this.PDFCtrl.CloseFile())}catch(t){if(console.log("CloseFile error--",t),this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},onDragEnter:function(e){this.$emit("cfcaDragEnter",e)},onDragOver:function(e){e.preventDefault(),this.$emit("cfcaDragOver",e)},onDrop:function(e){this.$emit("cfcaDrop",e)},GoToFirstPage:function(){try{this.PDFCtrl.GoToFirstPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToLastPage:function(){try{this.PDFCtrl.GoToLastPage()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPrevPage:function(){this.active="left";var e=this;try{this.PDFCtrl.GoToPrevPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GoToNextPage:function(){this.active="right";var e=this;try{this.PDFCtrl.GoToNextPage(),this.inputPage="",setTimeout((function(){e.GetPageNo()}),100)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},GetPageNo:function(){try{this.pageNo=this.PDFCtrl.GetCurrentPageNo(),this.pageCount=this.PDFCtrl.GetPageCount()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},GoToPage:function(){var e=this;try{var t=this.inputPage.replace(/\D/,"");if(""===t)return void alert("请输入页码!");this.PDFCtrl.GoToPage(t),setTimeout((function(){e.GetPageNo()}),100)}catch(n){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var r=this.PDFCtrl.GetLastErrorDesc();alert(r)}}},ZoomTo:function(e){try{this.PDFCtrl.ZoomTo(e)}catch(r){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var t=this.PDFCtrl.GetLastErrorDesc();alert(t)}}},ZoomOut:function(){try{this.PDFCtrl.ZoomOut()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},ZoomIn:function(){try{this.PDFCtrl.ZoomIn()}catch(t){if(this.PDFCtrl&&this.PDFCtrl.GetLastErrorDesc){var e=this.PDFCtrl.GetLastErrorDesc();alert(e)}}},OnClickPoint:function(e,t,r){console.log("OnClickPoint--","nPageNo=".concat(e,", x=").concat(t,", y=").concat(r));try{this.PDFCtrl.SignFile_KeyImage(e,t,r),this.$emit("cfca-point",e,t,r)}catch(i){var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},openDialog:function(e){var t=this;this.isIE&&(console.log(" openDialog---"),setTimeout((function(){t.OpenFile(e)}),350))},GetCertInfo:function(e){e=e||"SubjectDN";try{var t=this.PDFCtrl.GetSignCertInfo(e);if(!t){var r=this.PDFCtrl.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfo :",i);var n=this.PDFCtrl.GetLastErrorDesc();alert(n)}},selectSignCert:function(e){try{var t="",r="CFCA ACS ",n=e||"";return console.log("证书序列号,精确匹配",n),this.PDFCtrl.SelectSignCert(t,r,"".concat(n),""),this.PDFCtrl.SetTimestampServer("http://210.74.41.195/timestamp"),!0}catch(i){return console.log("PDFCtrl.SelectSignCert ",i),!1}},UploadFile:function(){try{var e=this.PDFCtrl.UploadCurrentFile(this.action);return e=JSON.parse(e),0===e.code?e.data.list[0]:""}catch(r){var t=this.PDFCtrl.GetLastErrorDesc();console.log("PDFCtrl 文件上传:",t),alert("PDFCtrl 文件上传:".concat(t))}return!1},signFileKeyImage:function(e,t){var r=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("-signFileKeyImage--certSN-".concat(r));try{var n="",i="";return e.height?(n=Number(e.X)+47,i=Number(e.height)-Number(e.Y)-47):(n=Number(e.X)+47,i=Number(e.Y)-47),console.log(" 参数 pageIndex = ".concat(e.pageIndex," x = ").concat(n," Y = ").concat(i)),console.log("signFileKeyImage: image=".concat(t)),t?this.PDFCtrl.SignFile_Image(e.pageIndex,n,i,t):this.PDFCtrl.SignFile_KeyImage(e.pageIndex,n,i),console.log("SignFile_KeyImage 成功"),!0}catch(a){var o=this.PDFCtrl.GetLastErrorDesc();return console.log("signFileKeyImage",a),alert(o),!1}},multipleSign7:function(e,t,r,n,i){for(var o=0;o<e.length;o++){var a=e[o],s=ge(a.labelContent);try{var c="",u="";return a.height?(c=Number(a.X)+47,u=Number(a.height)-Number(a.Y)-47):(c=Number(a.X)+47,u=Number(a.Y)-47),this.PDFCtrl.AddSignaturePosition(s.pageIndex,c,u),!0}catch(f){var l=this.PDFCtrl.GetLastErrorDesc();console.log(" multipleSign7",f),alert(l)}}n?this.PDFCtrl.SignFile_Image(n):this.PDFCtrl.SignFile_KeyImage()},multipleSign5:function(e,t,r,n,i){console.log("multipleSign 循环签的begin ",r);var o=this.PDFCtrl.GetSignCertInfo("SerialNumber");console.log("serialNoBegin ",o);for(var a="",s=0;s<e.length;s++){var c=e[s];if(s>0){var u=this.PDFCtrl.GetSignCertInfo("SerialNumber");if(console.log("本次获得的序列号serialNoAgain:",u),o!==u)return alert("签署过程中,请不要更换ukey!"),!1;console.log("serialNo=",r),a=a&&this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果".concat(s,"-------"),a)}else console.log("第一个章,不用验签",s),a=this.signFileKeyImage(ge(c.labelContent),n),console.log("iterateSign 签章结果",a);if(!a)return!1}return console.log("multipleSign 签章的结果",a),a},multipleSign:function(e,t,r,n,i){return this.PDFCtrl.AddSignaturePosition?(console.log("新版插件"),this.multipleSign7(e,t,r,n,i)):this.multipleSign5(e,t,r,n,i)},GetSignatureInfo:function(){for(var e=this.PDFCtrl.GetSignatureCount(),t=[],r=0;r<e;r++){var n=this.PDFCtrl.VerifySignature(r),i=n.GetSignCertInfo("SerialNumber");t.push({SerialNumber:i})}return t}},watch:{pdfurl:function(e,t){this.inputPage=1,this.isIE&&e&&(this.PDFCtrl?(console.log("cfca watch pdfurl=="),t?t!==e&&(console.log("cfca watch oldval==",t),this.CloseFile(),setTimeout(this.OpenFile,100)):setTimeout(this.OpenFile,100)):console.log("cfca watch PDFCtrl 未加载 "))}}},ye=me,be=(r("ff64"),m(ye,he,de,!1,null,null,null)),_e=be.exports,we=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Ultimate.x86"}})]],2)},Ae=[],Se={methods:{SignOnClick:function(){var e="";this.sourceData="".concat((new Date).getTime());try{var t=this.sourceData,r="",n="Attach",i="SHA-1";return r="Attach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!0):"Detach"===n?this.CryptoAgent.SignMsgPKCS7(t,i,!1):this.CryptoAgent.SignMsgPKCS1(t,i),r?(console.log("SignOnClick 签名结果:",r),r):(e=this.CryptoAgent.GetLastErrorDesc(),alert(e),"")}catch(o){console.log("SignOnClick error=",o),e=this.CryptoAgent.GetLastErrorDesc(),alert(e)}return""}}},xe={name:"ukey",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="ukey/Cryptokit/x86/CryptoKit.ToToDi.x86.cab",t="clsid:5635B01D-C661-4ACE-B997-EECFA63BD388"):(e="ukey/Cryptokit/x64/CryptoKit.ToToDi.x64.cab",t="clsid:63F9892E-D854-476E-A839-C8BA79254EC1"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA",hashAlg:"SHA-1",singType:"Detach",CryptoAgent:"",random:"ttd"}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e;n||console.log(" Ukye, 无序列号筛选证书, serialNo 非必传 ");var i="",o="",a="CFCA FOR UKEY CSP v1.1.0";return i=this.CryptoAgent.SelectCertificate(t,r,n,a),i||(o=this.CryptoAgent.GetLastErrorDesc(),alert(o)),i}catch(c){console.log("SelectCertificateOnClick catch",c);var s=this.CryptoAgent.GetLastErrorDesc();return alert("".concat(s,"/error")),!1}},GetSignCertInfoUkey:function(e){e=e||"SubjectDN",console.log("-Ukey-GetSignCertInfoUkey:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetSignCertInfoUkey-Ukey: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}}}},ke=xe,Ce=(r("d396"),m(ke,we,Ae,!1,null,"9702b0e8",null)),Pe=Ce.exports,Ee=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"CryptoAgent-wrapper"},[e.isIE?[r("object",{ref:"CryptoAgent",attrs:{codebase:e.publicPath+e.codebase,classid:e.classid}})]:[r("embed",{ref:"CryptoAgent",staticStyle:{height:"0px",width:"0px"},attrs:{type:"application/npCryptoKit.Paperless.x86"}})]],2)},Re=[],Te={name:"wzh-sing",mixins:[Se],data:function(){var e="",t="";return"x86"===window.navigator.cpuClass?(e="wzh/CryptoKit.Paperless.x86.cab",t="clsid:B64B695B-348D-400D-8D58-9AAB1DA5851A"):(e="wzh/CryptoKit.Paperless.x64.cab",t="clsid:8BF7E683-630E-4B59-9E61-C996B671EBDF"),{isIE:navigator.appName.indexOf("Internet")>=0||navigator.appVersion.indexOf("Trident")>=0,publicPath:"https://wsp.totodi.com/jz/",codebase:e,classid:t,sourceData:"",certType:"RSA"}},props:{api:{type:Object,required:!0}},mounted:function(){this.onLoad()},methods:{onLoad:function(){return!this.CryptoAgent&&(!!this.isIE&&(this.CryptoAgent=this.$refs.CryptoAgent,this.CryptoAgent||alert("验签插件加载失败!"),void console.log("加载this.CryptoAgent ",this.CryptoAgent)))},GetCertInfoOnClick:function(e){e=e||"SubjectDN",console.log("GetCertInfoOnClick:InfoTypeID ",e);try{var t=this.CryptoAgent.GetSignCertInfo(e);if(!t){var r=this.CryptoAgent.GetLastErrorDesc();return void alert(r)}return t}catch(i){console.log("GetCertInfoOnClick-WzhSign: ",i);var n=this.CryptoAgent.GetLastErrorDesc();alert(n)}},SelectCertificateOnClick:function(e){this.isIE||alert("请使用IE浏览器!");try{var t="",r="CFCA ACS ",n=e,i="CFCA FOR UKEY CSP v1.1.0",o="";if(console.log("无纸化 选证书 selectSignCert, serialNo(非传)=",e),o=this.CryptoAgent.SelectCertificate(t,r,n,i),!o){var a=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult 不存在",a),void alert(a)}return console.log("wzh SelectCertResult",o),!0}catch(c){var s=this.CryptoAgent.GetLastErrorDesc();return console.log("wzh SelectCertResult catch error: ",s),alert(s),!1}},getHashValue:function(e,t,r){var n=this.CryptoAgent.GetSignCertInfo("CertContent");this.$emit("getImg",r);var i=ge(e.labelContent);return console.log("item",e),console.log("fileItem",t),this.api.getSignHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{attachfile:"oss:".concat(t.mergedUrl.bucketName,":").concat(t.mergedUrl.objectKey),reason:"",location:"",signImgfileName:"",signImgfile:r,pageNo:i.pageIndex,pageX:Number(i.X),pageY:Number(i.Y),certBase64:n}}})},getSignHashValue:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.prev=0,o="",i.next=4,n.getHashValue(e,t,r);case 4:if(a=i.sent,s=a.code,c=a.data,console.log("getSignHashValue",c),0===s&&"200"==="".concat(c.bean.code)&&(o=c.bean.pdfHash),o){i.next=12;break}return alert("CFCA计算HASH值失败!( ".concat(c.bean.msg||"",")")),i.abrupt("return",!1);case 12:if(u=n.CryptoAgent.SignHashMsgPKCS7Detached(o,"SHA-1"),u){i.next=17;break}return l=n.CryptoAgent.GetLastErrorDesc(),alert(l),i.abrupt("return",!1);case 17:return i.abrupt("return",{signature:u,id:c.bean.id});case 20:i.prev=20,i.t0=i["catch"](0),f=n.CryptoAgent.GetLastErrorDesc(),console.log("getSignHashValue",i.t0),alert(f);case 25:case"end":return i.stop()}}),i,null,[[0,20]])})))()},signFileKeyImage:function(e,t,r){var n=this;return ve(regeneratorRuntime.mark((function i(){var o,a,s,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.getSignHashValue(e,t,r);case 2:if(o=i.sent,!o){i.next=11;break}return i.next=6,n.api.mergeHash({jsonData:{source:"TTDFUND",timestamp:(new Date).getTime(),msgBody:{sigString:o.signature,id:o.id}}});case 6:if(a=i.sent,s=a.data,c=a.code,0!==c||!s.bean.url){i.next=11;break}return i.abrupt("return",s.bean);case 11:return n.$message.error("计算Hash 失败!"),i.abrupt("return",!1);case 13:case"end":return i.stop()}}),i)})))()},multipleSign:function(e,t,r,n,i){var o=this;return ve(regeneratorRuntime.mark((function i(){var a,s,c,u,l,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:console.log("multipleSign 循环签的begin ",r),a=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("serialNoBegin",a),s="",n||(c=o.CryptoAgent.GetSealImage("CFCA_UKEY_P11.dll"),n=c),u=0;case 6:if(!(u<e.length)){i.next=32;break}if(l=e[u],ge(l.labelContent),!(u>0)){i.next=24;break}if(console.log("无需重新验签:index=",u),f=o.CryptoAgent.GetSignCertInfo("SerialNumber"),console.log("本次获得的序列号serialNoAgain:",f),a===f){i.next=16;break}return alert("签署过程中,请不要更换ukey!"),i.abrupt("return",!1);case 16:if(console.log("resutl=",s),!s){i.next=21;break}return i.next=20,o.signFileKeyImage(ge(l),{mergedUrl:s},n);case 20:s=i.sent;case 21:console.log("iterateSign 签章结果".concat(u,"---result----"),s),i.next=29;break;case 24:return console.log("第一个章,不用验签",u),i.next=27,o.signFileKeyImage(ge(l),t,n);case 27:s=i.sent,console.log("第一个章 签章结果",s);case 29:u++,i.next=6;break;case 32:return console.log("multipleSign 签章的结果",s),i.abrupt("return",s);case 34:case"end":return i.stop()}}),i)})))()}}},Oe=Te,Ie=(r("0e90"),m(Oe,Ee,Re,!1,null,"9e75e8c0",null)),Le=Ie.exports,Fe=[I,N,_e,fe,ae],De=function e(t){t.use(Z),e.installed||Fe.map((function(e){return t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&De(window.Vue);var je={version:"0.2.2",install:De,TtdLabelMake:I,TtdLabelOperate:N,ImgPreview:Z,CfcaPdf:_e,PdfView:fe,SwitchPage:ae,Ukey:Pe,WzhSign:Le};t["default"]=je},fb2c:function(e,t,r){var n=r("74e8");n("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},fb6a:function(e,t,r){"use strict";var n=r("23e7"),i=r("861d"),o=r("e8b5"),a=r("23cb"),s=r("50c4"),c=r("fc6a"),u=r("8418"),l=r("b622"),f=r("1dde"),h=r("ae40"),d=f("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),g=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(e,t){var r,n,l,f=c(this),h=s(f.length),d=a(e,h),p=a(void 0===t?h:t,h);if(o(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?i(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(f,d,p);for(n=new(void 0===r?Array:r)(m(p-d,0)),l=0;d<p;d++,l++)d in f&&u(n,l,f[d]);return n.length=l,n}})},fc6a:function(e,t,r){var n=r("44ad"),i=r("1d80");e.exports=function(e){return n(i(e))}},fdbc:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(e,t,r){var n=r("4930");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,r){var n=r("da84");e.exports=n.Promise},ff64:function(e,t,r){"use strict";r("3a50")}})}));
32
32
  //# sourceMappingURL=ttd-common.umd.min.js.map