@alynva/outline-pdf-cjs
Version:
Add outline to outline-less pdf. Works in node and does not have any dependency on other programming languages.
2 lines • 517 kB
JavaScript
"use strict";var us=Object.defineProperty;var em=Object.getOwnPropertyDescriptor;var tm=Object.getOwnPropertyNames;var rm=Object.prototype.hasOwnProperty;var am=(e,t)=>()=>(e&&(t=e(e=0)),t);var y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),im=(e,t)=>{for(var r in t)us(e,r,{get:t[r],enumerable:!0})},nm=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of tm(t))!rm.call(e,i)&&i!==r&&us(e,i,{get:()=>t[i],enumerable:!(a=em(t,i))||a.enumerable});return e};var R=e=>nm(us({},"__esModule",{value:!0}),e);var q={};im(q,{__assign:()=>ls,__asyncDelegator:()=>ym,__asyncGenerator:()=>mm,__asyncValues:()=>bm,__await:()=>Li,__awaiter:()=>dm,__classPrivateFieldGet:()=>Dm,__classPrivateFieldSet:()=>Sm,__createBinding:()=>hm,__decorate:()=>sm,__exportStar:()=>vm,__extends:()=>om,__generator:()=>cm,__importDefault:()=>Pm,__importStar:()=>Fm,__makeTemplateObject:()=>xm,__metadata:()=>fm,__param:()=>lm,__read:()=>Cc,__rest:()=>um,__spread:()=>pm,__spreadArrays:()=>gm,__values:()=>fs});function om(e,t){ss(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function um(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r}function sm(e,t,r,a){var i=arguments.length,n=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,r):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,a);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(n=(i<3?o(n):i>3?o(t,r,n):o(t,r))||n);return i>3&&n&&Object.defineProperty(t,r,n),n}function lm(e,t){return function(r,a){t(r,a,e)}}function fm(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function dm(e,t,r,a){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function u(f){try{s(a.next(f))}catch(d){o(d)}}function l(f){try{s(a.throw(f))}catch(d){o(d)}}function s(f){f.done?n(f.value):i(f.value).then(u,l)}s((a=a.apply(e,t||[])).next())})}function cm(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(s){return function(f){return l([s,f])}}function l(s){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=s[0]&2?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[s[0]&2,n.value]),s[0]){case 0:case 1:n=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,i=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1],n=s;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(s);break}n[2]&&r.ops.pop(),r.trys.pop();continue}s=t.call(e,r)}catch(f){s=[6,f],i=0}finally{a=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function hm(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}function vm(e,t){for(var r in e)r!=="default"&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function fs(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],a=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cc(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),i,n=[],o;try{for(;(t===void 0||t-- >0)&&!(i=a.next()).done;)n.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return n}function pm(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Cc(arguments[t]));return e}function gm(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var a=Array(e),i=0,t=0;t<r;t++)for(var n=arguments[t],o=0,u=n.length;o<u;o++,i++)a[i]=n[o];return a}function Li(e){return this instanceof Li?(this.v=e,this):new Li(e)}function mm(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=r.apply(e,t||[]),i,n=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(c){a[c]&&(i[c]=function(v){return new Promise(function(h,p){n.push([c,v,h,p])>1||u(c,v)})})}function u(c,v){try{l(a[c](v))}catch(h){d(n[0][3],h)}}function l(c){c.value instanceof Li?Promise.resolve(c.value.v).then(s,f):d(n[0][2],c)}function s(c){u("next",c)}function f(c){u("throw",c)}function d(c,v){c(v),n.shift(),n.length&&u(n[0][0],n[0][1])}}function ym(e){var t,r;return t={},a("next"),a("throw",function(i){throw i}),a("return"),t[Symbol.iterator]=function(){return this},t;function a(i,n){t[i]=e[i]?function(o){return(r=!r)?{value:Li(e[i](o)),done:i==="return"}:n?n(o):o}:n}}function bm(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof fs=="function"?fs(e):e[Symbol.iterator](),r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r);function a(n){r[n]=e[n]&&function(o){return new Promise(function(u,l){o=e[n](o),i(u,l,o.done,o.value)})}}function i(n,o,u,l){Promise.resolve(l).then(function(s){n({value:s,done:u})},o)}}function xm(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Fm(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Pm(e){return e&&e.__esModule?e:{default:e}}function Dm(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Sm(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}var ss,ls,k=am(()=>{ss=function(e,t){return ss=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var i in a)a.hasOwnProperty(i)&&(r[i]=a[i])},ss(e,t)};ls=function(){return ls=Object.assign||function(t){for(var r,a=1,i=arguments.length;a<i;a++){r=arguments[a];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ls.apply(this,arguments)}});var ds=y(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.decodeFromBase64DataUri=ar.decodeFromBase64=ar.encodeToBase64=void 0;var Ha="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ki=new Uint8Array(256);for(Gi=0;Gi<Ha.length;Gi++)Ki[Ha.charCodeAt(Gi)]=Gi;var Gi;ar.encodeToBase64=function(e){for(var t="",r=e.length,a=0;a<r;a+=3)t+=Ha[e[a]>>2],t+=Ha[(e[a]&3)<<4|e[a+1]>>4],t+=Ha[(e[a+1]&15)<<2|e[a+2]>>6],t+=Ha[e[a+2]&63];return r%3===2?t=t.substring(0,t.length-1)+"=":r%3===1&&(t=t.substring(0,t.length-2)+"=="),t};ar.decodeFromBase64=function(e){var t=e.length*.75,r=e.length,a,i=0,n,o,u,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var s=new Uint8Array(t);for(a=0;a<r;a+=4)n=Ki[e.charCodeAt(a)],o=Ki[e.charCodeAt(a+1)],u=Ki[e.charCodeAt(a+2)],l=Ki[e.charCodeAt(a+3)],s[i++]=n<<2|o>>4,s[i++]=(o&15)<<4|u>>2,s[i++]=(u&3)<<6|l&63;return s};var wm=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i;ar.decodeFromBase64DataUri=function(e){var t=e.trim(),r=t.substring(0,100),a=r.match(wm);if(!a)return ar.decodeFromBase64(t);var i=a[0],n=t.substring(i.length);return ar.decodeFromBase64(n)}});var Hi=y(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.findLastMatch=Z.parseDate=Z.breakTextIntoLines=Z.charSplit=Z.charAtIndex=Z.mergeLines=Z.lineSplit=Z.isNewlineChar=Z.newlineChars=Z.escapedNewlineChars=Z.cleanText=Z.escapeRegExp=Z.addRandomSuffix=Z.copyStringIntoBuffer=Z.padStart=Z.charFromHexCode=Z.charFromCode=Z.toHexString=Z.toHexStringOfMinLength=Z.toCodePoint=Z.toCharCode=void 0;Z.toCharCode=function(e){return e.charCodeAt(0)};Z.toCodePoint=function(e){return e.codePointAt(0)};Z.toHexStringOfMinLength=function(e,t){return Z.padStart(e.toString(16),t,"0").toUpperCase()};Z.toHexString=function(e){return Z.toHexStringOfMinLength(e,2)};Z.charFromCode=function(e){return String.fromCharCode(e)};Z.charFromHexCode=function(e){return Z.charFromCode(parseInt(e,16))};Z.padStart=function(e,t,r){for(var a="",i=0,n=t-e.length;i<n;i++)a+=r;return a+e};Z.copyStringIntoBuffer=function(e,t,r){for(var a=e.length,i=0;i<a;i++)t[r++]=e.charCodeAt(i);return a};Z.addRandomSuffix=function(e,t){return t===void 0&&(t=4),e+"-"+Math.floor(Math.random()*Math.pow(10,t))};Z.escapeRegExp=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};Z.cleanText=function(e){return e.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")};Z.escapedNewlineChars=["\\n","\\f","\\r","\\u000B"];Z.newlineChars=[`
`,"\f","\r","\v"];Z.isNewlineChar=function(e){return/^[\n\f\r\u000B]$/.test(e)};Z.lineSplit=function(e){return e.split(/[\n\f\r\u000B]/)};Z.mergeLines=function(e){return e.replace(/[\n\f\r\u000B]/g," ")};Z.charAtIndex=function(e,t){var r=e.charCodeAt(t),a,i=t+1,n=1;return r>=55296&&r<=56319&&e.length>i&&(a=e.charCodeAt(i),a>=56320&&a<=57343&&(n=2)),[e.slice(t,t+n),n]};Z.charSplit=function(e){for(var t=[],r=0,a=e.length;r<a;){var i=Z.charAtIndex(e,r),n=i[0],o=i[1];t.push(n),r+=o}return t};var _m=function(e){for(var t=Z.escapedNewlineChars.join("|"),r=["$"],a=0,i=e.length;a<i;a++){var n=e[a];if(Z.isNewlineChar(n))throw new TypeError("`wordBreak` must not include "+t);r.push(n===""?".":Z.escapeRegExp(n))}var o=r.join("|");return new RegExp("("+t+")|((.*?)("+o+"))","gm")};Z.breakTextIntoLines=function(e,t,r,a){for(var i=_m(t),n=Z.cleanText(e).match(i),o="",u=0,l=[],s=function(){o!==""&&l.push(o),o="",u=0},f=0,d=n.length;f<d;f++){var c=n[f];if(Z.isNewlineChar(c))s();else{var v=a(c);u+v>r&&s(),o+=c,u+=v}}return s(),l};var Om=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/;Z.parseDate=function(e){var t=e.match(Om);if(t){var r=t[1],a=t[2],i=a===void 0?"01":a,n=t[3],o=n===void 0?"01":n,u=t[4],l=u===void 0?"00":u,s=t[5],f=s===void 0?"00":s,d=t[6],c=d===void 0?"00":d,v=t[7],h=v===void 0?"Z":v,p=t[8],m=p===void 0?"00":p,g=t[9],D=g===void 0?"00":g,_=h==="Z"?"Z":""+h+m+":"+D,x=new Date(r+"-"+i+"-"+o+"T"+l+":"+f+":"+c+_);return x}};Z.findLastMatch=function(e,t){for(var r,a=0,i;a<e.length;){var n=e.substring(a).match(t);if(!n)return{match:i,pos:a};i=n,a+=((r=n.index)!==null&&r!==void 0?r:0)+n[0].length}return{match:i,pos:a}}});var Ac=y(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.toUint8Array=ve.canBeConvertedToUint8Array=ve.pluckIndices=ve.range=ve.sum=ve.reverseArray=ve.sortedUniq=ve.byAscendingId=ve.arrayAsString=ve.mergeUint8Arrays=ve.mergeIntoTypedArray=ve.typedArrayFor=ve.last=void 0;var Cm=ds(),Am=Hi();ve.last=function(e){return e[e.length-1]};ve.typedArrayFor=function(e){if(e instanceof Uint8Array)return e;for(var t=e.length,r=new Uint8Array(t),a=0;a<t;a++)r[a]=e.charCodeAt(a);return r};ve.mergeIntoTypedArray=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e.length,a=[],i=0;i<r;i++){var n=e[i];a[i]=n instanceof Uint8Array?n:ve.typedArrayFor(n)}for(var o=0,i=0;i<r;i++)o+=e[i].length;for(var u=new Uint8Array(o),l=0,s=0;s<r;s++)for(var f=a[s],d=0,c=f.length;d<c;d++)u[l++]=f[d];return u};ve.mergeUint8Arrays=function(e){for(var t=0,r=0,a=e.length;r<a;r++)t+=e[r].length;for(var i=new Uint8Array(t),n=0,r=0,a=e.length;r<a;r++){var o=e[r];i.set(o,n),n+=o.length}return i};ve.arrayAsString=function(e){for(var t="",r=0,a=e.length;r<a;r++)t+=Am.charFromCode(e[r]);return t};ve.byAscendingId=function(e,t){return e.id-t.id};ve.sortedUniq=function(e,t){for(var r=[],a=0,i=e.length;a<i;a++){var n=e[a],o=e[a-1];(a===0||t(n)!==t(o))&&r.push(n)}return r};ve.reverseArray=function(e){for(var t=e.length,r=0,a=Math.floor(t/2);r<a;r++){var i=r,n=t-r-1,o=e[r];e[i]=e[n],e[n]=o}return e};ve.sum=function(e){for(var t=0,r=0,a=e.length;r<a;r++)t+=e[r];return t};ve.range=function(e,t){for(var r=new Array(t-e),a=0,i=r.length;a<i;a++)r[a]=e+a;return r};ve.pluckIndices=function(e,t){for(var r=new Array(t.length),a=0,i=t.length;a<i;a++)r[a]=e[t[a]];return r};ve.canBeConvertedToUint8Array=function(e){return e instanceof Uint8Array||e instanceof ArrayBuffer||typeof e=="string"};ve.toUint8Array=function(e){if(typeof e=="string")return Cm.decodeFromBase64DataUri(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(e instanceof Uint8Array)return e;throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")}});var Tc=y(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.waitForTick=void 0;io.waitForTick=function(){return new Promise(function(e){setTimeout(function(){return e()},0)})}});var cs=y(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.hasUtf16BOM=Ie.utf16Decode=Ie.lowSurrogate=Ie.highSurrogate=Ie.hasSurrogates=Ie.isWithinBMP=Ie.utf16Encode=Ie.utf8Encode=void 0;var Rc=Hi();Ie.utf8Encode=function(e,t){t===void 0&&(t=!0);var r=[];t&&r.push(239,187,191);for(var a=0,i=e.length;a<i;){var n=e.codePointAt(a);if(n<128){var o=n&127;r.push(o),a+=1}else if(n<2048){var o=n>>6&31|192,u=n&63|128;r.push(o,u),a+=1}else if(n<65536){var o=n>>12&15|224,u=n>>6&63|128,l=n&63|128;r.push(o,u,l),a+=1}else if(n<1114112){var o=n>>18&7|240,u=n>>12&63|128,l=n>>6&63|128,s=n>>0&63|128;r.push(o,u,l,s),a+=2}else throw new Error("Invalid code point: 0x"+Rc.toHexString(n))}return new Uint8Array(r)};Ie.utf16Encode=function(e,t){t===void 0&&(t=!0);var r=[];t&&r.push(65279);for(var a=0,i=e.length;a<i;){var n=e.codePointAt(a);if(n<65536)r.push(n),a+=1;else if(n<1114112)r.push(Ie.highSurrogate(n),Ie.lowSurrogate(n)),a+=2;else throw new Error("Invalid code point: 0x"+Rc.toHexString(n))}return new Uint16Array(r)};Ie.isWithinBMP=function(e){return e>=0&&e<=65535};Ie.hasSurrogates=function(e){return e>=65536&&e<=1114111};Ie.highSurrogate=function(e){return Math.floor((e-65536)/1024)+55296};Ie.lowSurrogate=function(e){return(e-65536)%1024+56320};var Mr;(function(e){e.BigEndian="BigEndian",e.LittleEndian="LittleEndian"})(Mr||(Mr={}));var Xi="\uFFFD".codePointAt(0);Ie.utf16Decode=function(e,t){if(t===void 0&&(t=!0),e.length<=1)return String.fromCodePoint(Xi);for(var r=t?qm(e):Mr.BigEndian,a=t?2:0,i=[];e.length-a>=2;){var n=kc(e[a++],e[a++],r);if(Tm(n))if(e.length-a<2)i.push(Xi);else{var o=kc(e[a++],e[a++],r);qc(o)?i.push(n,o):i.push(Xi)}else qc(n)?(a+=2,i.push(Xi)):i.push(n)}return a<e.length&&i.push(Xi),String.fromCodePoint.apply(String,i)};var Tm=function(e){return e>=55296&&e<=56319},qc=function(e){return e>=56320&&e<=57343},kc=function(e,t,r){if(r===Mr.LittleEndian)return t<<8|e;if(r===Mr.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+r)},qm=function(e){return Ic(e)?Mr.BigEndian:Ec(e)?Mr.LittleEndian:Mr.BigEndian},Ic=function(e){return e[0]===254&&e[1]===255},Ec=function(e){return e[0]===255&&e[1]===254};Ie.hasUtf16BOM=function(e){return Ic(e)||Ec(e)}});var Nc=y(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.bytesFor=br.sizeInBytes=br.numberToString=void 0;br.numberToString=function(e){var t=String(e);if(Math.abs(e)<1){var r=parseInt(e.toString().split("e-")[1]);if(r){var a=e<0;a&&(e*=-1),e*=Math.pow(10,r-1),t="0."+new Array(r).join("0")+e.toString().substring(2),a&&(t="-"+t)}}else{var r=parseInt(e.toString().split("+")[1]);r>20&&(r-=20,e/=Math.pow(10,r),t=e.toString()+new Array(r+1).join("0"))}return t};br.sizeInBytes=function(e){return Math.ceil(e.toString(2).length/8)};br.bytesFor=function(e){for(var t=new Uint8Array(br.sizeInBytes(e)),r=1;r<=t.length;r++)t[r-1]=e>>(t.length-r)*8;return t}});var jc=y(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.error=void 0;no.error=function(e){throw new Error(e)}});var xr=y(it=>{"use strict";var km=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Rm(e,t){return Object.prototype.hasOwnProperty.call(e,t)}it.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(var a in r)Rm(r,a)&&(e[a]=r[a])}}return e};it.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var Im={arraySet:function(e,t,r,a,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+a),i);return}for(var n=0;n<a;n++)e[i+n]=t[r+n]},flattenChunks:function(e){var t,r,a,i,n,o;for(a=0,t=0,r=e.length;t<r;t++)a+=e[t].length;for(o=new Uint8Array(a),i=0,t=0,r=e.length;t<r;t++)n=e[t],o.set(n,i),i+=n.length;return o}},Em={arraySet:function(e,t,r,a,i){for(var n=0;n<a;n++)e[i+n]=t[r+n]},flattenChunks:function(e){return[].concat.apply([],e)}};it.setTyped=function(e){e?(it.Buf8=Uint8Array,it.Buf16=Uint16Array,it.Buf32=Int32Array,it.assign(it,Im)):(it.Buf8=Array,it.Buf16=Array,it.Buf32=Array,it.assign(it,Em))};it.setTyped(km)});var oh=y(Ya=>{"use strict";var Nm=xr(),jm=4,Mc=0,Bc=1,Mm=2;function Za(e){for(var t=e.length;--t>=0;)e[t]=0}var Bm=0,Gc=1,Um=2,zm=3,Vm=258,bs=29,en=256,Yi=en+1+bs,Xa=30,xs=19,Kc=2*Yi+1,ua=15,hs=16,Wm=7,Fs=256,Hc=16,Xc=17,Zc=18,ms=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],oo=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Lm=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Yc=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Gm=512,Fr=new Array((Yi+2)*2);Za(Fr);var Zi=new Array(Xa*2);Za(Zi);var Ji=new Array(Gm);Za(Ji);var Qi=new Array(Vm-zm+1);Za(Qi);var Ps=new Array(bs);Za(Ps);var uo=new Array(Xa);Za(uo);function vs(e,t,r,a,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=a,this.max_length=i,this.has_stree=e&&e.length}var Jc,Qc,$c;function ps(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function eh(e){return e<256?Ji[e]:Ji[256+(e>>>7)]}function $i(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function ft(e,t,r){e.bi_valid>hs-r?(e.bi_buf|=t<<e.bi_valid&65535,$i(e,e.bi_buf),e.bi_buf=t>>hs-e.bi_valid,e.bi_valid+=r-hs):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function ir(e,t,r){ft(e,r[t*2],r[t*2+1])}function th(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function Km(e){e.bi_valid===16?($i(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Hm(e,t){var r=t.dyn_tree,a=t.max_code,i=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,u=t.stat_desc.extra_base,l=t.stat_desc.max_length,s,f,d,c,v,h,p=0;for(c=0;c<=ua;c++)e.bl_count[c]=0;for(r[e.heap[e.heap_max]*2+1]=0,s=e.heap_max+1;s<Kc;s++)f=e.heap[s],c=r[r[f*2+1]*2+1]+1,c>l&&(c=l,p++),r[f*2+1]=c,!(f>a)&&(e.bl_count[c]++,v=0,f>=u&&(v=o[f-u]),h=r[f*2],e.opt_len+=h*(c+v),n&&(e.static_len+=h*(i[f*2+1]+v)));if(p!==0){do{for(c=l-1;e.bl_count[c]===0;)c--;e.bl_count[c]--,e.bl_count[c+1]+=2,e.bl_count[l]--,p-=2}while(p>0);for(c=l;c!==0;c--)for(f=e.bl_count[c];f!==0;)d=e.heap[--s],!(d>a)&&(r[d*2+1]!==c&&(e.opt_len+=(c-r[d*2+1])*r[d*2],r[d*2+1]=c),f--)}}function rh(e,t,r){var a=new Array(ua+1),i=0,n,o;for(n=1;n<=ua;n++)a[n]=i=i+r[n-1]<<1;for(o=0;o<=t;o++){var u=e[o*2+1];u!==0&&(e[o*2]=th(a[u]++,u))}}function Xm(){var e,t,r,a,i,n=new Array(ua+1);for(r=0,a=0;a<bs-1;a++)for(Ps[a]=r,e=0;e<1<<ms[a];e++)Qi[r++]=a;for(Qi[r-1]=a,i=0,a=0;a<16;a++)for(uo[a]=i,e=0;e<1<<oo[a];e++)Ji[i++]=a;for(i>>=7;a<Xa;a++)for(uo[a]=i<<7,e=0;e<1<<oo[a]-7;e++)Ji[256+i++]=a;for(t=0;t<=ua;t++)n[t]=0;for(e=0;e<=143;)Fr[e*2+1]=8,e++,n[8]++;for(;e<=255;)Fr[e*2+1]=9,e++,n[9]++;for(;e<=279;)Fr[e*2+1]=7,e++,n[7]++;for(;e<=287;)Fr[e*2+1]=8,e++,n[8]++;for(rh(Fr,Yi+1,n),e=0;e<Xa;e++)Zi[e*2+1]=5,Zi[e*2]=th(e,5);Jc=new vs(Fr,ms,en+1,Yi,ua),Qc=new vs(Zi,oo,0,Xa,ua),$c=new vs(new Array(0),Lm,0,xs,Wm)}function ah(e){var t;for(t=0;t<Yi;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Xa;t++)e.dyn_dtree[t*2]=0;for(t=0;t<xs;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Fs*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function ih(e){e.bi_valid>8?$i(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Zm(e,t,r,a){ih(e),a&&($i(e,r),$i(e,~r)),Nm.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function Uc(e,t,r,a){var i=t*2,n=r*2;return e[i]<e[n]||e[i]===e[n]&&a[t]<=a[r]}function gs(e,t,r){for(var a=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&Uc(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Uc(t,a,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=a}function zc(e,t,r){var a,i,n=0,o,u;if(e.last_lit!==0)do a=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],i=e.pending_buf[e.l_buf+n],n++,a===0?ir(e,i,t):(o=Qi[i],ir(e,o+en+1,t),u=ms[o],u!==0&&(i-=Ps[o],ft(e,i,u)),a--,o=eh(a),ir(e,o,r),u=oo[o],u!==0&&(a-=uo[o],ft(e,a,u)));while(n<e.last_lit);ir(e,Fs,t)}function ys(e,t){var r=t.dyn_tree,a=t.stat_desc.static_tree,i=t.stat_desc.has_stree,n=t.stat_desc.elems,o,u,l=-1,s;for(e.heap_len=0,e.heap_max=Kc,o=0;o<n;o++)r[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)s=e.heap[++e.heap_len]=l<2?++l:0,r[s*2]=1,e.depth[s]=0,e.opt_len--,i&&(e.static_len-=a[s*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)gs(e,r,o);s=n;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],gs(e,r,1),u=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=u,r[s*2]=r[o*2]+r[u*2],e.depth[s]=(e.depth[o]>=e.depth[u]?e.depth[o]:e.depth[u])+1,r[o*2+1]=r[u*2+1]=s,e.heap[1]=s++,gs(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Hm(e,t),rh(r,l,e.bl_count)}function Vc(e,t,r){var a,i=-1,n,o=t[0*2+1],u=0,l=7,s=4;for(o===0&&(l=138,s=3),t[(r+1)*2+1]=65535,a=0;a<=r;a++)n=o,o=t[(a+1)*2+1],!(++u<l&&n===o)&&(u<s?e.bl_tree[n*2]+=u:n!==0?(n!==i&&e.bl_tree[n*2]++,e.bl_tree[Hc*2]++):u<=10?e.bl_tree[Xc*2]++:e.bl_tree[Zc*2]++,u=0,i=n,o===0?(l=138,s=3):n===o?(l=6,s=3):(l=7,s=4))}function Wc(e,t,r){var a,i=-1,n,o=t[0*2+1],u=0,l=7,s=4;for(o===0&&(l=138,s=3),a=0;a<=r;a++)if(n=o,o=t[(a+1)*2+1],!(++u<l&&n===o)){if(u<s)do ir(e,n,e.bl_tree);while(--u!==0);else n!==0?(n!==i&&(ir(e,n,e.bl_tree),u--),ir(e,Hc,e.bl_tree),ft(e,u-3,2)):u<=10?(ir(e,Xc,e.bl_tree),ft(e,u-3,3)):(ir(e,Zc,e.bl_tree),ft(e,u-11,7));u=0,i=n,o===0?(l=138,s=3):n===o?(l=6,s=3):(l=7,s=4)}}function Ym(e){var t;for(Vc(e,e.dyn_ltree,e.l_desc.max_code),Vc(e,e.dyn_dtree,e.d_desc.max_code),ys(e,e.bl_desc),t=xs-1;t>=3&&e.bl_tree[Yc[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Jm(e,t,r,a){var i;for(ft(e,t-257,5),ft(e,r-1,5),ft(e,a-4,4),i=0;i<a;i++)ft(e,e.bl_tree[Yc[i]*2+1],3);Wc(e,e.dyn_ltree,t-1),Wc(e,e.dyn_dtree,r-1)}function Qm(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return Mc;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Bc;for(r=32;r<en;r++)if(e.dyn_ltree[r*2]!==0)return Bc;return Mc}var Lc=!1;function $m(e){Lc||(Xm(),Lc=!0),e.l_desc=new ps(e.dyn_ltree,Jc),e.d_desc=new ps(e.dyn_dtree,Qc),e.bl_desc=new ps(e.bl_tree,$c),e.bi_buf=0,e.bi_valid=0,ah(e)}function nh(e,t,r,a){ft(e,(Bm<<1)+(a?1:0),3),Zm(e,t,r,!0)}function ey(e){ft(e,Gc<<1,3),ir(e,Fs,Fr),Km(e)}function ty(e,t,r,a){var i,n,o=0;e.level>0?(e.strm.data_type===Mm&&(e.strm.data_type=Qm(e)),ys(e,e.l_desc),ys(e,e.d_desc),o=Ym(e),i=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=i&&(i=n)):i=n=r+5,r+4<=i&&t!==-1?nh(e,t,r,a):e.strategy===jm||n===i?(ft(e,(Gc<<1)+(a?1:0),3),zc(e,Fr,Zi)):(ft(e,(Um<<1)+(a?1:0),3),Jm(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),zc(e,e.dyn_ltree,e.dyn_dtree)),ah(e),a&&ih(e)}function ry(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Qi[r]+en+1)*2]++,e.dyn_dtree[eh(t)*2]++),e.last_lit===e.lit_bufsize-1}Ya._tr_init=$m;Ya._tr_stored_block=nh;Ya._tr_flush_block=ty;Ya._tr_tally=ry;Ya._tr_align=ey});var Ds=y((rC,uh)=>{"use strict";function ay(e,t,r,a){for(var i=e&65535|0,n=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do i=i+t[a++]|0,n=n+i|0;while(--o);i%=65521,n%=65521}return i|n<<16|0}uh.exports=ay});var Ss=y((aC,sh)=>{"use strict";function iy(){for(var e,t=[],r=0;r<256;r++){e=r;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var ny=iy();function oy(e,t,r,a){var i=ny,n=a+r;e^=-1;for(var o=a;o<n;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}sh.exports=oy});var so=y((iC,lh)=>{"use strict";lh.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var yh=y(ur=>{"use strict";var nt=xr(),Rt=oh(),hh=Ds(),Br=Ss(),uy=so(),da=0,sy=1,ly=3,Lr=4,fh=5,or=0,dh=1,It=-2,fy=-3,ws=-5,dy=-1,cy=1,lo=2,hy=3,vy=4,py=0,gy=2,vo=8,my=9,yy=15,by=8,xy=29,Fy=256,Os=Fy+1+xy,Py=30,Dy=19,Sy=2*Os+1,wy=15,se=3,Vr=258,Kt=Vr+se+1,_y=32,po=42,Cs=69,fo=73,co=91,ho=103,sa=113,rn=666,Ue=1,an=2,la=3,$a=4,Oy=3;function Wr(e,t){return e.msg=uy[t],t}function ch(e){return(e<<1)-(e>4?9:0)}function zr(e){for(var t=e.length;--t>=0;)e[t]=0}function Ur(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(nt.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Xe(e,t){Rt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ur(e.strm)}function le(e,t){e.pending_buf[e.pending++]=t}function tn(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Cy(e,t,r,a){var i=e.avail_in;return i>a&&(i=a),i===0?0:(e.avail_in-=i,nt.arraySet(t,e.input,e.next_in,i,r),e.state.wrap===1?e.adler=hh(e.adler,t,i,r):e.state.wrap===2&&(e.adler=Br(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function vh(e,t){var r=e.max_chain_length,a=e.strstart,i,n,o=e.prev_length,u=e.nice_match,l=e.strstart>e.w_size-Kt?e.strstart-(e.w_size-Kt):0,s=e.window,f=e.w_mask,d=e.prev,c=e.strstart+Vr,v=s[a+o-1],h=s[a+o];e.prev_length>=e.good_match&&(r>>=2),u>e.lookahead&&(u=e.lookahead);do if(i=t,!(s[i+o]!==h||s[i+o-1]!==v||s[i]!==s[a]||s[++i]!==s[a+1])){a+=2,i++;do;while(s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&s[++a]===s[++i]&&a<c);if(n=Vr-(c-a),a=c-Vr,n>o){if(e.match_start=t,o=n,n>=u)break;v=s[a+o-1],h=s[a+o]}}while((t=d[t&f])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function fa(e){var t=e.w_size,r,a,i,n,o;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Kt)){nt.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,a=e.hash_size,r=a;do i=e.head[--r],e.head[r]=i>=t?i-t:0;while(--a);a=t,r=a;do i=e.prev[--r],e.prev[r]=i>=t?i-t:0;while(--a);n+=t}if(e.strm.avail_in===0)break;if(a=Cy(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=a,e.lookahead+e.insert>=se)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+se-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<se)););}while(e.lookahead<Kt&&e.strm.avail_in!==0)}function Ay(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fa(e),e.lookahead===0&&t===da)return Ue;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+r;if((e.strstart===0||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,Xe(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Kt&&(Xe(e,!1),e.strm.avail_out===0))return Ue}return e.insert=0,t===Lr?(Xe(e,!0),e.strm.avail_out===0?la:$a):(e.strstart>e.block_start&&(Xe(e,!1),e.strm.avail_out===0),Ue)}function _s(e,t){for(var r,a;;){if(e.lookahead<Kt){if(fa(e),e.lookahead<Kt&&t===da)return Ue;if(e.lookahead===0)break}if(r=0,e.lookahead>=se&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-Kt&&(e.match_length=vh(e,r)),e.match_length>=se)if(a=Rt._tr_tally(e,e.strstart-e.match_start,e.match_length-se),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=se){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=Rt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Xe(e,!1),e.strm.avail_out===0))return Ue}return e.insert=e.strstart<se-1?e.strstart:se-1,t===Lr?(Xe(e,!0),e.strm.avail_out===0?la:$a):e.last_lit&&(Xe(e,!1),e.strm.avail_out===0)?Ue:an}function Ja(e,t){for(var r,a,i;;){if(e.lookahead<Kt){if(fa(e),e.lookahead<Kt&&t===da)return Ue;if(e.lookahead===0)break}if(r=0,e.lookahead>=se&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=se-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Kt&&(e.match_length=vh(e,r),e.match_length<=5&&(e.strategy===cy||e.match_length===se&&e.strstart-e.match_start>4096)&&(e.match_length=se-1)),e.prev_length>=se&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-se,a=Rt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-se),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=se-1,e.strstart++,a&&(Xe(e,!1),e.strm.avail_out===0))return Ue}else if(e.match_available){if(a=Rt._tr_tally(e,0,e.window[e.strstart-1]),a&&Xe(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ue}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=Rt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<se-1?e.strstart:se-1,t===Lr?(Xe(e,!0),e.strm.avail_out===0?la:$a):e.last_lit&&(Xe(e,!1),e.strm.avail_out===0)?Ue:an}function Ty(e,t){for(var r,a,i,n,o=e.window;;){if(e.lookahead<=Vr){if(fa(e),e.lookahead<=Vr&&t===da)return Ue;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=se&&e.strstart>0&&(i=e.strstart-1,a=o[i],a===o[++i]&&a===o[++i]&&a===o[++i])){n=e.strstart+Vr;do;while(a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&i<n);e.match_length=Vr-(n-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=se?(r=Rt._tr_tally(e,1,e.match_length-se),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Rt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Xe(e,!1),e.strm.avail_out===0))return Ue}return e.insert=0,t===Lr?(Xe(e,!0),e.strm.avail_out===0?la:$a):e.last_lit&&(Xe(e,!1),e.strm.avail_out===0)?Ue:an}function qy(e,t){for(var r;;){if(e.lookahead===0&&(fa(e),e.lookahead===0)){if(t===da)return Ue;break}if(e.match_length=0,r=Rt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Xe(e,!1),e.strm.avail_out===0))return Ue}return e.insert=0,t===Lr?(Xe(e,!0),e.strm.avail_out===0?la:$a):e.last_lit&&(Xe(e,!1),e.strm.avail_out===0)?Ue:an}function nr(e,t,r,a,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=a,this.func=i}var Qa;Qa=[new nr(0,0,0,0,Ay),new nr(4,4,8,4,_s),new nr(4,5,16,8,_s),new nr(4,6,32,32,_s),new nr(4,4,16,16,Ja),new nr(8,16,32,32,Ja),new nr(8,16,128,128,Ja),new nr(8,32,128,256,Ja),new nr(32,128,258,1024,Ja),new nr(32,258,258,4096,Ja)];function ky(e){e.window_size=2*e.w_size,zr(e.head),e.max_lazy_match=Qa[e.level].max_lazy,e.good_match=Qa[e.level].good_length,e.nice_match=Qa[e.level].nice_length,e.max_chain_length=Qa[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=se-1,e.match_available=0,e.ins_h=0}function Ry(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=vo,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new nt.Buf16(Sy*2),this.dyn_dtree=new nt.Buf16((2*Py+1)*2),this.bl_tree=new nt.Buf16((2*Dy+1)*2),zr(this.dyn_ltree),zr(this.dyn_dtree),zr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new nt.Buf16(wy+1),this.heap=new nt.Buf16(2*Os+1),zr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new nt.Buf16(2*Os+1),zr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ph(e){var t;return!e||!e.state?Wr(e,It):(e.total_in=e.total_out=0,e.data_type=gy,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?po:sa,e.adler=t.wrap===2?0:1,t.last_flush=da,Rt._tr_init(t),or)}function gh(e){var t=ph(e);return t===or&&ky(e.state),t}function Iy(e,t){return!e||!e.state||e.state.wrap!==2?It:(e.state.gzhead=t,or)}function mh(e,t,r,a,i,n){if(!e)return It;var o=1;if(t===dy&&(t=6),a<0?(o=0,a=-a):a>15&&(o=2,a-=16),i<1||i>my||r!==vo||a<8||a>15||t<0||t>9||n<0||n>vy)return Wr(e,It);a===8&&(a=9);var u=new Ry;return e.state=u,u.strm=e,u.wrap=o,u.gzhead=null,u.w_bits=a,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=i+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+se-1)/se),u.window=new nt.Buf8(u.w_size*2),u.head=new nt.Buf16(u.hash_size),u.prev=new nt.Buf16(u.w_size),u.lit_bufsize=1<<i+6,u.pending_buf_size=u.lit_bufsize*4,u.pending_buf=new nt.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=n,u.method=r,gh(e)}function Ey(e,t){return mh(e,t,vo,yy,by,py)}function Ny(e,t){var r,a,i,n;if(!e||!e.state||t>fh||t<0)return e?Wr(e,It):It;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===rn&&t!==Lr)return Wr(e,e.avail_out===0?ws:It);if(a.strm=e,r=a.last_flush,a.last_flush=t,a.status===po)if(a.wrap===2)e.adler=0,le(a,31),le(a,139),le(a,8),a.gzhead?(le(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),le(a,a.gzhead.time&255),le(a,a.gzhead.time>>8&255),le(a,a.gzhead.time>>16&255),le(a,a.gzhead.time>>24&255),le(a,a.level===9?2:a.strategy>=lo||a.level<2?4:0),le(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(le(a,a.gzhead.extra.length&255),le(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=Br(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Cs):(le(a,0),le(a,0),le(a,0),le(a,0),le(a,0),le(a,a.level===9?2:a.strategy>=lo||a.level<2?4:0),le(a,Oy),a.status=sa);else{var o=vo+(a.w_bits-8<<4)<<8,u=-1;a.strategy>=lo||a.level<2?u=0:a.level<6?u=1:a.level===6?u=2:u=3,o|=u<<6,a.strstart!==0&&(o|=_y),o+=31-o%31,a.status=sa,tn(a,o),a.strstart!==0&&(tn(a,e.adler>>>16),tn(a,e.adler&65535)),e.adler=1}if(a.status===Cs)if(a.gzhead.extra){for(i=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),Ur(e),i=a.pending,a.pending===a.pending_buf_size));)le(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=fo)}else a.status=fo;if(a.status===fo)if(a.gzhead.name){i=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),Ur(e),i=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.name.length?n=a.gzhead.name.charCodeAt(a.gzindex++)&255:n=0,le(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),n===0&&(a.gzindex=0,a.status=co)}else a.status=co;if(a.status===co)if(a.gzhead.comment){i=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),Ur(e),i=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.comment.length?n=a.gzhead.comment.charCodeAt(a.gzindex++)&255:n=0,le(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>i&&(e.adler=Br(e.adler,a.pending_buf,a.pending-i,i)),n===0&&(a.status=ho)}else a.status=ho;if(a.status===ho&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&Ur(e),a.pending+2<=a.pending_buf_size&&(le(a,e.adler&255),le(a,e.adler>>8&255),e.adler=0,a.status=sa)):a.status=sa),a.pending!==0){if(Ur(e),e.avail_out===0)return a.last_flush=-1,or}else if(e.avail_in===0&&ch(t)<=ch(r)&&t!==Lr)return Wr(e,ws);if(a.status===rn&&e.avail_in!==0)return Wr(e,ws);if(e.avail_in!==0||a.lookahead!==0||t!==da&&a.status!==rn){var l=a.strategy===lo?qy(a,t):a.strategy===hy?Ty(a,t):Qa[a.level].func(a,t);if((l===la||l===$a)&&(a.status=rn),l===Ue||l===la)return e.avail_out===0&&(a.last_flush=-1),or;if(l===an&&(t===sy?Rt._tr_align(a):t!==fh&&(Rt._tr_stored_block(a,0,0,!1),t===ly&&(zr(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),Ur(e),e.avail_out===0))return a.last_flush=-1,or}return t!==Lr?or:a.wrap<=0?dh:(a.wrap===2?(le(a,e.adler&255),le(a,e.adler>>8&255),le(a,e.adler>>16&255),le(a,e.adler>>24&255),le(a,e.total_in&255),le(a,e.total_in>>8&255),le(a,e.total_in>>16&255),le(a,e.total_in>>24&255)):(tn(a,e.adler>>>16),tn(a,e.adler&65535)),Ur(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?or:dh)}function jy(e){var t;return!e||!e.state?It:(t=e.state.status,t!==po&&t!==Cs&&t!==fo&&t!==co&&t!==ho&&t!==sa&&t!==rn?Wr(e,It):(e.state=null,t===sa?Wr(e,fy):or))}function My(e,t){var r=t.length,a,i,n,o,u,l,s,f;if(!e||!e.state||(a=e.state,o=a.wrap,o===2||o===1&&a.status!==po||a.lookahead))return It;for(o===1&&(e.adler=hh(e.adler,t,r,0)),a.wrap=0,r>=a.w_size&&(o===0&&(zr(a.head),a.strstart=0,a.block_start=0,a.insert=0),f=new nt.Buf8(a.w_size),nt.arraySet(f,t,r-a.w_size,a.w_size,0),t=f,r=a.w_size),u=e.avail_in,l=e.next_in,s=e.input,e.avail_in=r,e.next_in=0,e.input=t,fa(a);a.lookahead>=se;){i=a.strstart,n=a.lookahead-(se-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[i+se-1])&a.hash_mask,a.prev[i&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=i,i++;while(--n);a.strstart=i,a.lookahead=se-1,fa(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=se-1,a.match_available=0,e.next_in=l,e.input=s,e.avail_in=u,a.wrap=o,or}ur.deflateInit=Ey;ur.deflateInit2=mh;ur.deflateReset=gh;ur.deflateResetKeep=ph;ur.deflateSetHeader=Iy;ur.deflate=Ny;ur.deflateEnd=jy;ur.deflateSetDictionary=My;ur.deflateInfo="pako deflate (from Nodeca project)"});var As=y(ei=>{"use strict";var go=xr(),bh=!0,xh=!0;try{String.fromCharCode.apply(null,[0])}catch{bh=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{xh=!1}var nn=new go.Buf8(256);for(Pr=0;Pr<256;Pr++)nn[Pr]=Pr>=252?6:Pr>=248?5:Pr>=240?4:Pr>=224?3:Pr>=192?2:1;var Pr;nn[254]=nn[254]=1;ei.string2buf=function(e){var t,r,a,i,n,o=e.length,u=0;for(i=0;i<o;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(a=e.charCodeAt(i+1),(a&64512)===56320&&(r=65536+(r-55296<<10)+(a-56320),i++)),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new go.Buf8(u),n=0,i=0;n<u;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(a=e.charCodeAt(i+1),(a&64512)===56320&&(r=65536+(r-55296<<10)+(a-56320),i++)),r<128?t[n++]=r:r<2048?(t[n++]=192|r>>>6,t[n++]=128|r&63):r<65536?(t[n++]=224|r>>>12,t[n++]=128|r>>>6&63,t[n++]=128|r&63):(t[n++]=240|r>>>18,t[n++]=128|r>>>12&63,t[n++]=128|r>>>6&63,t[n++]=128|r&63);return t};function Fh(e,t){if(t<65534&&(e.subarray&&xh||!e.subarray&&bh))return String.fromCharCode.apply(null,go.shrinkBuf(e,t));for(var r="",a=0;a<t;a++)r+=String.fromCharCode(e[a]);return r}ei.buf2binstring=function(e){return Fh(e,e.length)};ei.binstring2buf=function(e){for(var t=new go.Buf8(e.length),r=0,a=t.length;r<a;r++)t[r]=e.charCodeAt(r);return t};ei.buf2string=function(e,t){var r,a,i,n,o=t||e.length,u=new Array(o*2);for(a=0,r=0;r<o;){if(i=e[r++],i<128){u[a++]=i;continue}if(n=nn[i],n>4){u[a++]=65533,r+=n-1;continue}for(i&=n===2?31:n===3?15:7;n>1&&r<o;)i=i<<6|e[r++]&63,n--;if(n>1){u[a++]=65533;continue}i<65536?u[a++]=i:(i-=65536,u[a++]=55296|i>>10&1023,u[a++]=56320|i&1023)}return Fh(u,a)};ei.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+nn[e[r]]>t?r:t}});var Ts=y((uC,Ph)=>{"use strict";function By(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Ph.exports=By});var _h=y(sn=>{"use strict";var on=yh(),un=xr(),ks=As(),Rs=so(),Uy=Ts(),wh=Object.prototype.toString,zy=0,qs=4,ti=0,Dh=1,Sh=2,Vy=-1,Wy=0,Ly=8;function ca(e){if(!(this instanceof ca))return new ca(e);this.options=un.assign({level:Vy,method:Ly,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wy,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Uy,this.strm.avail_out=0;var r=on.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==ti)throw new Error(Rs[r]);if(t.header&&on.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(typeof t.dictionary=="string"?a=ks.string2buf(t.dictionary):wh.call(t.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(t.dictionary):a=t.dictionary,r=on.deflateSetDictionary(this.strm,a),r!==ti)throw new Error(Rs[r]);this._dict_set=!0}}ca.prototype.push=function(e,t){var r=this.strm,a=this.options.chunkSize,i,n;if(this.ended)return!1;n=t===~~t?t:t===!0?qs:zy,typeof e=="string"?r.input=ks.string2buf(e):wh.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new un.Buf8(a),r.next_out=0,r.avail_out=a),i=on.deflate(r,n),i!==Dh&&i!==ti)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(n===qs||n===Sh))&&(this.options.to==="string"?this.onData(ks.buf2binstring(un.shrinkBuf(r.output,r.next_out))):this.onData(un.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==Dh);return n===qs?(i=on.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===ti):(n===Sh&&(this.onEnd(ti),r.avail_out=0),!0)};ca.prototype.onData=function(e){this.chunks.push(e)};ca.prototype.onEnd=function(e){e===ti&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=un.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Is(e,t){var r=new ca(t);if(r.push(e,!0),r.err)throw r.msg||Rs[r.err];return r.result}function Gy(e,t){return t=t||{},t.raw=!0,Is(e,t)}function Ky(e,t){return t=t||{},t.gzip=!0,Is(e,t)}sn.Deflate=ca;sn.deflate=Is;sn.deflateRaw=Gy;sn.gzip=Ky});var Ch=y((lC,Oh)=>{"use strict";var mo=30,Hy=12;Oh.exports=function(t,r){var a,i,n,o,u,l,s,f,d,c,v,h,p,m,g,D,_,x,b,P,C,w,T,B,A;a=t.state,i=t.next_in,B=t.input,n=i+(t.avail_in-5),o=t.next_out,A=t.output,u=o-(r-t.avail_out),l=o+(t.avail_out-257),s=a.dmax,f=a.wsize,d=a.whave,c=a.wnext,v=a.window,h=a.hold,p=a.bits,m=a.lencode,g=a.distcode,D=(1<<a.lenbits)-1,_=(1<<a.distbits)-1;e:do{p<15&&(h+=B[i++]<<p,p+=8,h+=B[i++]<<p,p+=8),x=m[h&D];t:for(;;){if(b=x>>>24,h>>>=b,p-=b,b=x>>>16&255,b===0)A[o++]=x&65535;else if(b&16){P=x&65535,b&=15,b&&(p<b&&(h+=B[i++]<<p,p+=8),P+=h&(1<<b)-1,h>>>=b,p-=b),p<15&&(h+=B[i++]<<p,p+=8,h+=B[i++]<<p,p+=8),x=g[h&_];r:for(;;){if(b=x>>>24,h>>>=b,p-=b,b=x>>>16&255,b&16){if(C=x&65535,b&=15,p<b&&(h+=B[i++]<<p,p+=8,p<b&&(h+=B[i++]<<p,p+=8)),C+=h&(1<<b)-1,C>s){t.msg="invalid distance too far back",a.mode=mo;break e}if(h>>>=b,p-=b,b=o-u,C>b){if(b=C-b,b>d&&a.sane){t.msg="invalid distance too far back",a.mode=mo;break e}if(w=0,T=v,c===0){if(w+=f-b,b<P){P-=b;do A[o++]=v[w++];while(--b);w=o-C,T=A}}else if(c<b){if(w+=f+c-b,b-=c,b<P){P-=b;do A[o++]=v[w++];while(--b);if(w=0,c<P){b=c,P-=b;do A[o++]=v[w++];while(--b);w=o-C,T=A}}}else if(w+=c-b,b<P){P-=b;do A[o++]=v[w++];while(--b);w=o-C,T=A}for(;P>2;)A[o++]=T[w++],A[o++]=T[w++],A[o++]=T[w++],P-=3;P&&(A[o++]=T[w++],P>1&&(A[o++]=T[w++]))}else{w=o-C;do A[o++]=A[w++],A[o++]=A[w++],A[o++]=A[w++],P-=3;while(P>2);P&&(A[o++]=A[w++],P>1&&(A[o++]=A[w++]))}}else if(b&64){t.msg="invalid distance code",a.mode=mo;break e}else{x=g[(x&65535)+(h&(1<<b)-1)];continue r}break}}else if(b&64)if(b&32){a.mode=Hy;break e}else{t.msg="invalid literal/length code",a.mode=mo;break e}else{x=m[(x&65535)+(h&(1<<b)-1)];continue t}break}}while(i<n&&o<l);P=p>>3,i-=P,p-=P<<3,h&=(1<<p)-1,t.next_in=i,t.next_out=o,t.avail_in=i<n?5+(n-i):5-(i-n),t.avail_out=o<l?257+(l-o):257-(o-l),a.hold=h,a.bits=p}});var Eh=y((fC,Ih)=>{"use strict";var Ah=xr(),ri=15,Th=852,qh=592,kh=0,Es=1,Rh=2,Xy=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Zy=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Yy=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Jy=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Ih.exports=function(t,r,a,i,n,o,u,l){var s=l.bits,f=0,d=0,c=0,v=0,h=0,p=0,m=0,g=0,D=0,_=0,x,b,P,C,w,T=null,B=0,A,E=new Ah.Buf16(ri+1),V=new Ah.Buf16(ri+1),M=null,J=0,ne,H,be;for(f=0;f<=ri;f++)E[f]=0;for(d=0;d<i;d++)E[r[a+d]]++;for(h=s,v=ri;v>=1&&E[v]===0;v--);if(h>v&&(h=v),v===0)return n[o++]=1<<24|64<<16|0,n[o++]=1<<24|64<<16|0,l.bits=1,0;for(c=1;c<v&&E[c]===0;c++);for(h<c&&(h=c),g=1,f=1;f<=ri;f++)if(g<<=1,g-=E[f],g<0)return-1;if(g>0&&(t===kh||v!==1))return-1;for(V[1]=0,f=1;f<ri;f++)V[f+1]=V[f]+E[f];for(d=0;d<i;d++)r[a+d]!==0&&(u[V[r[a+d]]++]=d);if(t===kh?(T=M=u,A=19):t===Es?(T=Xy,B-=257,M=Zy,J-=257,A=256):(T=Yy,M=Jy,A=-1),_=0,d=0,f=c,w=o,p=h,m=0,P=-1,D=1<<h,C=D-1,t===Es&&D>Th||t===Rh&&D>qh)return 1;for(;;){ne=f-m,u[d]<A?(H=0,be=u[d]):u[d]>A?(H=M[J+u[d]],be=T[B+u[d]]):(H=96,be=0),x=1<<f-m,b=1<<p,c=b;do b-=x,n[w+(_>>m)+b]=ne<<24|H<<16|be|0;while(b!==0);for(x=1<<f-1;_&x;)x>>=1;if(x!==0?(_&=x-1,_+=x):_=0,d++,--E[f]===0){if(f===v)break;f=r[a+u[d]]}if(f>h&&(_&C)!==P){for(m===0&&(m=h),w+=c,p=f-m,g=1<<p;p+m<v&&(g-=E[p+m],!(g<=0));)p++,g<<=1;if(D+=1<<p,t===Es&&D>Th||t===Rh&&D>qh)return 1;P=_&C,n[P]=h<<24|p<<16|w-o|0}}return _!==0&&(n[w+_]=f-m<<24|64<<16|0),l.bits=h,0}});var g0=y(Ht=>{"use strict";var wt=xr(),zs=Ds(),sr=Ss(),Qy=Ch(),ln=Eh(),$y=0,u0=1,s0=2,Nh=4,eb=5,yo=6,ha=0,tb=1,rb=2,Et=-2,l0=-3,Vs=-4,ab=-5,jh=8,f0=1,Mh=2,Bh=3,Uh=4,zh=5,Vh=6,Wh=7,Lh=8,Gh=9,Kh=10,Fo=11,Dr=12,Ns=13,Hh=14,js=15,Xh=16,Zh=17,Yh=18,Jh=19,bo=20,xo=21,Qh=22,$h=23,e0=24,t0=25,r0=26,Ms=27,a0=28,i0=29,Pe=30,Ws=31,ib=32,nb=852,ob=592,ub=15,sb=ub;function n0(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function lb(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new wt.Buf16(320),this.work=new wt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d0(e){var t;return!e||!e.state?Et:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=f0,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new wt.Buf32(nb),t.distcode=t.distdyn=new wt.Buf32(ob),t.sane=1,t.back=-1,ha)}function c0(e){var t;return!e||!e.state?Et:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,d0(e))}function h0(e,t){var r,a;return!e||!e.state||(a=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Et:(a.window!==null&&a.wbits!==t&&(a.window=null),a.wrap=r,a.wbits=t,c0(e))}function v0(e,t){var r,a;return e?(a=new lb,e.state=a,a.window=null,r=h0(e,t),r!==ha&&(e.state=null),r):Et}function fb(e){return v0(e,sb)}var o0=!0,Bs,Us;function db(e){if(o0){var t;for(Bs=new wt.Buf32(512),Us=new wt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(ln(u0,e.lens,0,288,Bs,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;ln(s0,e.lens,0,32,Us,0,e.work,{bits:5}),o0=!1}e.lencode=Bs,e.lenbits=9,e.distcode=Us,e.distbits=5}function p0(e,t,r,a){var i,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new wt.Buf8(n.wsize)),a>=n.wsize?(wt.arraySet(n.window,t,r-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(i=n.wsize-n.wnext,i>a&&(i=a),wt.arraySet(n.window,t,r-a,i,n.wnext),a-=i,a?(wt.arraySet(n.window,t,r-a,a,0),n.wnext=a,n.whave=n.wsize):(n.wnext+=i,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=i))),0}function cb(e,t){var r,a,i,n,o,u,l,s,f,d,c,v,h,p,m=0,g,D,_,x,b,P,C,w,T=new wt.Buf8(4),B,A,E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Et;r=e.state,r.mode===Dr&&(r.mode=Ns),o=e.next_out,i=e.output,l=e.avail_out,n=e.next_in,a=e.input,u=e.avail_in,s=r.hold,f=r.bits,d=