eex-gateway.fr011.ttecfed.com Open in urlscan Pro
208.95.152.110  Public Scan

URL: https://eex-gateway.fr011.ttecfed.com/code/19.18.0-fs/fs.compress.js
Submission Tags: falconsandbox
Submission: On December 06 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

/***************************************
 * @preserve
 * Copyright (c) 2022 Verint Systems, Inc. All rights reserved.
 * ForeSee Web SDK: Compression Library
 * Version: 19.18.0
 * Built: September 30, 2022 at 10:15:46 CDT
 ***************************************/
_fsDefine(["exports"],(function(t){
/**
 * @preserve
 *  Pako https://github.com/nodeca/pako
 *
 *  (C) 1995-2013 Jean-loup Gailly and Mark Adler
 *  (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
 *  (C) 2019      Verint Systems, Inc. (Modified to remove unused features)
 */
var e=function(){function t(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function e(e){for(var i=Array.prototype.slice.call(arguments,1);i.length;){var n=i.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var a in n)t(n,a)&&(e[a]=n[a])}}return e}function i(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)}function n(t,e,i,n,a){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),a);else for(var s=0;s<n;s++)t[a+s]=e[i+s]}function a(t){var e,i,n,a,s,r;for(n=0,e=0,i=t.length;e<i;e++)n+=t[e].length;for(r=new Uint8Array(n),a=0,e=0,i=t.length;e<i;e++)s=t[e],r.set(s,a),a+=s.length;return r}var s=Uint8Array,r=Uint16Array,o=Int32Array;function h(t){for(var e=t.length;--e>=0;)t[e]=0}var l=[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],d=[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],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f=new Array(576);h(f);var c=new Array(60);h(c);var w=new Array(512);h(w);var b=new Array(256);h(b);var v=new Array(29);h(v);var p,m,g,k=new Array(30);function x(t,e,i,n,a){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=a,this.has_stree=t&&t.length}function y(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function z(t){return t<256?w[t]:w[256+(t>>>7)]}function B(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function A(t,e,i){t.bi_valid>16-i?(t.bi_buf|=e<<t.bi_valid&65535,B(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=i-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)}function C(t,e,i){A(t,i[2*e],i[2*e+1])}function E(t,e){var i=0;do{i|=1&t,t>>>=1,i<<=1}while(--e>0);return i>>>1}function S(t,e,i){var n,a,s=new Array(16),r=0;for(n=1;n<=15;n++)s[n]=r=r+i[n-1]<<1;for(a=0;a<=e;a++){var o=t[2*a+1];0!==o&&(t[2*a]=E(s[o]++,o))}}function D(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function j(t){t.bi_valid>8?B(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function U(t,e,i,n){var a=2*e,s=2*i;return t[a]<t[s]||t[a]===t[s]&&n[e]<=n[i]}function T(t,e,i){for(var n=t.heap[i],a=i<<1;a<=t.heap_len&&(a<t.heap_len&&U(e,t.heap[a+1],t.heap[a],t.depth)&&a++,!U(e,n,t.heap[a],t.depth));)t.heap[i]=t.heap[a],i=a,a<<=1;t.heap[i]=n}function I(t,e,i){var n,a,s,r,o=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],a=t.pending_buf[t.l_buf+o],o++,0===n?C(t,a,e):(C(t,(s=b[a])+256+1,e),0!==(r=l[s])&&A(t,a-=v[s],r),C(t,s=z(--n),i),0!==(r=d[s])&&A(t,n-=k[s],r))}while(o<t.last_lit);C(t,256,e)}function O(t,e){var i,n,a,s=e.dyn_tree,r=e.stat_desc.static_tree,o=e.stat_desc.has_stree,h=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=573,i=0;i<h;i++)0!==s[2*i]?(t.heap[++t.heap_len]=l=i,t.depth[i]=0):s[2*i+1]=0;for(;t.heap_len<2;)s[2*(a=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[a]=0,t.opt_len--,o&&(t.static_len-=r[2*a+1]);for(e.max_code=l,i=t.heap_len>>1;i>=1;i--)T(t,s,i);a=h;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],T(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,s[2*a]=s[2*i]+s[2*n],t.depth[a]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,s[2*i+1]=s[2*n+1]=a,t.heap[1]=a++,T(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,a,s,r,o,h=e.dyn_tree,l=e.max_code,d=e.stat_desc.static_tree,_=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,w=0;for(s=0;s<=15;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<573;i++)(s=h[2*h[2*(n=t.heap[i])+1]+1]+1)>c&&(s=c,w++),h[2*n+1]=s,n>l||(t.bl_count[s]++,r=0,n>=f&&(r=u[n-f]),o=h[2*n],t.opt_len+=o*(s+r),_&&(t.static_len+=o*(d[2*n+1]+r)));if(0!==w){do{for(s=c-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[c]--,w-=2}while(w>0);for(s=c;0!==s;s--)for(n=t.bl_count[s];0!==n;)(a=t.heap[--i])>l||(h[2*a+1]!==s&&(t.opt_len+=(s-h[2*a+1])*h[2*a],h[2*a+1]=s),n--)}}(t,e),S(s,l,t.bl_count)}function L(t,e,i){var n,a,s=-1,r=e[1],o=0,h=7,l=4;for(0===r&&(h=138,l=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)a=r,r=e[2*(n+1)+1],++o<h&&a===r||(o<l?t.bl_tree[2*a]+=o:0!==a?(a!==s&&t.bl_tree[2*a]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=a,0===r?(h=138,l=3):a===r?(h=6,l=3):(h=7,l=4))}function P(t,e,i){var n,a,s=-1,r=e[1],o=0,h=7,l=4;for(0===r&&(h=138,l=3),n=0;n<=i;n++)if(a=r,r=e[2*(n+1)+1],!(++o<h&&a===r)){if(o<l)do{C(t,a,t.bl_tree)}while(0!=--o);else 0!==a?(a!==s&&(C(t,a,t.bl_tree),o--),C(t,16,t.bl_tree),A(t,o-3,2)):o<=10?(C(t,17,t.bl_tree),A(t,o-3,3)):(C(t,18,t.bl_tree),A(t,o-11,7));o=0,s=a,0===r?(h=138,l=3):a===r?(h=6,l=3):(h=7,l=4)}}h(k);var q=!1;function F(t){q||(!function(){var t,e,i,n,a,s=new Array(16);for(i=0,n=0;n<28;n++)for(v[n]=i,t=0;t<1<<l[n];t++)b[i++]=n;for(b[i-1]=n,a=0,n=0;n<16;n++)for(k[n]=a,t=0;t<1<<d[n];t++)w[a++]=n;for(a>>=7;n<30;n++)for(k[n]=a<<7,t=0;t<1<<d[n]-7;t++)w[256+a++]=n;for(e=0;e<=15;e++)s[e]=0;for(t=0;t<=143;)f[2*t+1]=8,t++,s[8]++;for(;t<=255;)f[2*t+1]=9,t++,s[9]++;for(;t<=279;)f[2*t+1]=7,t++,s[7]++;for(;t<=287;)f[2*t+1]=8,t++,s[8]++;for(S(f,287,s),t=0;t<30;t++)c[2*t+1]=5,c[2*t]=E(t,5);p=new x(f,l,257,286,15),m=new x(c,d,0,30,15),g=new x(new Array(0),_,0,19,7)}(),q=!0),t.l_desc=new y(t.dyn_ltree,p),t.d_desc=new y(t.dyn_dtree,m),t.bl_desc=new y(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,D(t)}function G(t,e,i,a){A(t,0+(a?1:0),3),function(t,e,i,a){j(t),a&&(B(t,i),B(t,~i)),n(t.pending_buf,t.window,e,i,t.pending),t.pending+=i}(t,e,i,!0)}function H(t){A(t,2,3),C(t,256,f),function(t){16===t.bi_valid?(B(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}function J(t,e,i,n){var a,s,r=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),O(t,t.l_desc),O(t,t.d_desc),r=function(t){var e;for(L(t,t.dyn_ltree,t.l_desc.max_code),L(t,t.dyn_dtree,t.d_desc.max_code),O(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=a&&(a=s)):a=s=i+5,i+4<=a&&-1!==e?G(t,e,i,n):4===t.strategy||s===a?(A(t,2+(n?1:0),3),I(t,f,c)):(A(t,4+(n?1:0),3),function(t,e,i,n){var a;for(A(t,e-257,5),A(t,i-1,5),A(t,n-4,4),a=0;a<n;a++)A(t,t.bl_tree[2*u[a]+1],3);P(t,t.dyn_ltree,e-1),P(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,r+1),I(t,t.dyn_ltree,t.dyn_dtree)),D(t),n&&j(t)}function K(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(b[i]+256+1)]++,t.dyn_dtree[2*z(e)]++),t.last_lit===t.lit_bufsize-1}var M,N={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"};function Q(t,e){return t.msg=N[e],e}function R(t){return(t<<1)-(t>4?9:0)}function V(t){for(var e=t.length;--e>=0;)t[e]=0}function W(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(n(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function X(t,e){J(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,W(t.strm)}function Y(t,e){var i,n,a=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,l=t.window,d=t.w_mask,_=t.prev,u=t.strstart+258,f=l[s+r-1],c=l[s+r];t.prev_length>=t.good_match&&(a>>=2),o>t.lookahead&&(o=t.lookahead);do{if(l[(i=e)+r]===c&&l[i+r-1]===f&&l[i]===l[s]&&l[++i]===l[s+1]){s+=2,i++;do{}while(l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&l[++s]===l[++i]&&s<u);if(n=258-(u-s),s=u-258,n>r){if(t.match_start=e,r=n,n>=o)break;f=l[s+r-1],c=l[s+r]}}}while((e=_[e&d])>h&&0!=--a);return r<=t.lookahead?r:t.lookahead}function Z(t){var e,i,a,s,r,o,h,l,d,_,u=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=u+(u-262)){n(t.window,t.window,u,u,0),t.match_start-=u,t.strstart-=u,t.block_start-=u,e=i=t.hash_size;do{a=t.head[--e],t.head[e]=a>=u?a-u:0}while(--i);e=i=u;do{a=t.prev[--e],t.prev[e]=a>=u?a-u:0}while(--i);s+=u}if(0===t.strm.avail_in)break;if(o=t.strm,h=t.window,l=t.strstart+t.lookahead,d=s,_=void 0,(_=o.avail_in)>d&&(_=d),i=0===_?0:(o.avail_in-=_,n(h,o.input,o.next_in,_,l),1===o.state.wrap||o.state.wrap,o.next_in+=_,o.total_in+=_,_),t.lookahead+=i,t.lookahead+t.insert>=3)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[r+3-1])&t.hash_mask,t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function $(t,e){for(var i,n,a;;){if(t.lookahead<262){if(Z(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(i=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-262&&(t.match_length=Y(t,i),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){a=t.strstart+t.lookahead-3,n=K(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=a&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(X(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=K(t,0,t.window[t.strstart-1]))&&X(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=K(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(X(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(X(t,!1),0===t.strm.avail_out)?1:2}function tt(t,e,i,n,a){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=a}function et(){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=8,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 r(1146),this.dyn_dtree=new r(122),this.bl_tree=new r(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r(16),this.heap=new r(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r(573),V(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 it(t){var e,i=function(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,F(e),0):Q(t,-2)}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=M[e.level].max_lazy,e.good_match=M[e.level].good_length,e.nice_match=M[e.level].nice_length,e.max_chain_length=M[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i}function nt(t,e){var i,n;if(!t||!t.state||e>5||e<0)return t?Q(t,-2):-2;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||666===n.status&&4!==e)return Q(t,0===t.avail_out?-5:-2);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status,n.status,n.status,n.status,n.status,0!==n.pending){if(W(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(666===n.status&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&666!==n.status){var a=M[n.level].func(n,e);if(3!==a&&4!==a||(n.status=666),1===a||3===a)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===a&&(1===e?H(n):5!==e&&(G(n,0,0,!1),3===e&&(V(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),W(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:void 0}M=[null,null,null,null,new tt(4,4,16,16,$),new tt(8,16,32,32,$),new tt(8,16,128,128,$),new tt(8,32,128,256,$),new tt(32,128,258,1024,$),new tt(32,258,258,4096,$)];var at=!0,st=!0;try{String.fromCharCode.apply(null,[0])}catch(It){at=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(It){st=!1}for(var rt=new s(256),ot=0;ot<256;ot++)rt[ot]=ot>=252?6:ot>=248?5:ot>=240?4:ot>=224?3:ot>=192?2:1;function ht(t){return function(t,e){if(e<65537&&(t.subarray&&st||!t.subarray&&at))return String.fromCharCode.apply(null,i(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}(t,t.length)}function lt(){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}rt[254]=rt[254]=1;function dt(t,e){var i,n,a,s,r,o,h,l,d,_,u,f,c,w,b,v,p,m,g,k,x,y,z,B,A;i=t.state,n=t.next_in,B=t.input,a=n+(t.avail_in-5),s=t.next_out,A=t.output,r=s-(e-t.avail_out),o=s+(t.avail_out-257),h=i.dmax,l=i.wsize,d=i.whave,_=i.wnext,u=i.window,f=i.hold,c=i.bits,w=i.lencode,b=i.distcode,v=(1<<i.lenbits)-1,p=(1<<i.distbits)-1;t:do{c<15&&(f+=B[n++]<<c,c+=8,f+=B[n++]<<c,c+=8),m=w[f&v];e:for(;;){if(f>>>=g=m>>>24,c-=g,0===(g=m>>>16&255))A[s++]=65535&m;else{if(!(16&g)){if(0==(64&g)){m=w[(65535&m)+(f&(1<<g)-1)];continue e}if(32&g){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}k=65535&m,(g&=15)&&(c<g&&(f+=B[n++]<<c,c+=8),k+=f&(1<<g)-1,f>>>=g,c-=g),c<15&&(f+=B[n++]<<c,c+=8,f+=B[n++]<<c,c+=8),m=b[f&p];i:for(;;){if(f>>>=g=m>>>24,c-=g,!(16&(g=m>>>16&255))){if(0==(64&g)){m=b[(65535&m)+(f&(1<<g)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(x=65535&m,c<(g&=15)&&(f+=B[n++]<<c,(c+=8)<g&&(f+=B[n++]<<c,c+=8)),(x+=f&(1<<g)-1)>h){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=g,c-=g,x>(g=s-r)){if((g=x-g)>d&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(y=0,z=u,0===_){if(y+=l-g,g<k){k-=g;do{A[s++]=u[y++]}while(--g);y=s-x,z=A}}else if(_<g){if(y+=l+_-g,(g-=_)<k){k-=g;do{A[s++]=u[y++]}while(--g);if(y=0,_<k){k-=g=_;do{A[s++]=u[y++]}while(--g);y=s-x,z=A}}}else if(y+=_-g,g<k){k-=g;do{A[s++]=u[y++]}while(--g);y=s-x,z=A}for(;k>2;)A[s++]=z[y++],A[s++]=z[y++],A[s++]=z[y++],k-=3;k&&(A[s++]=z[y++],k>1&&(A[s++]=z[y++]))}else{y=s-x;do{A[s++]=A[y++],A[s++]=A[y++],A[s++]=A[y++],k-=3}while(k>2);k&&(A[s++]=A[y++],k>1&&(A[s++]=A[y++]))}break}}break}}while(n<a&&s<o);n-=k=c>>3,f&=(1<<(c-=k<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n<a?a-n+5:5-(n-a),t.avail_out=s<o?o-s+257:257-(s-o),i.hold=f,i.bits=c}var _t=[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],ut=[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],ft=[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],ct=[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];function wt(t,e,i,n,a,s,o,h){var l,d,_,u,f,c,w,b,v,p=h.bits,m=0,g=0,k=0,x=0,y=0,z=0,B=0,A=0,C=0,E=0,S=null,D=0,j=new r(16),U=new r(16),T=null,I=0;for(m=0;m<=15;m++)j[m]=0;for(g=0;g<n;g++)j[e[i+g]]++;for(y=p,x=15;x>=1&&0===j[x];x--);if(y>x&&(y=x),0===x)return a[s++]=20971520,a[s++]=20971520,h.bits=1,0;for(k=1;k<x&&0===j[k];k++);for(y<k&&(y=k),A=1,m=1;m<=15;m++)if(A<<=1,(A-=j[m])<0)return-1;if(A>0&&(0===t||1!==x))return-1;for(U[1]=0,m=1;m<15;m++)U[m+1]=U[m]+j[m];for(g=0;g<n;g++)0!==e[i+g]&&(o[U[e[i+g]]++]=g);if(0===t?(S=T=o,c=19):1===t?(S=_t,D-=257,T=ut,I-=257,c=256):(S=ft,T=ct,c=-1),E=0,g=0,m=k,f=s,z=y,B=0,_=-1,u=(C=1<<y)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){w=m-B,o[g]<c?(b=0,v=o[g]):o[g]>c?(b=T[I+o[g]],v=S[D+o[g]]):(b=96,v=0),l=1<<m-B,k=d=1<<z;do{a[f+(E>>B)+(d-=l)]=w<<24|b<<16|v|0}while(0!==d);for(l=1<<m-1;E&l;)l>>=1;if(0!==l?(E&=l-1,E+=l):E=0,g++,0==--j[m]){if(m===x)break;m=e[i+o[g]]}if(m>y&&(E&u)!==_){for(0===B&&(B=y),f+=k,A=1<<(z=m-B);z+B<x&&!((A-=j[z+B])<=0);)z++,A<<=1;if(C+=1<<z,1===t&&C>852||2===t&&C>592)return 1;a[_=E&u]=y<<24|z<<16|f-s|0}}return 0!==E&&(a[f+E]=m-B<<24|64<<16|0),h.bits=y,0}function bt(){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 r(320),this.work=new r(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function vt(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,function(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new o(852),e.distcode=e.distdyn=new o(592),e.sane=1,e.back=-1,0):-2}(t)):-2}function pt(t,e){var i,n;return t?(n=new bt,t.state=n,n.window=null,0!==(i=function(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,vt(t))):-2}(t,e))&&(t.state=null),i):-2}var mt,gt,kt=!0;function xt(t){if(kt){var e;for(mt=new o(512),gt=new o(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(wt(1,t.lens,0,288,mt,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;wt(2,t.lens,0,32,gt,0,t.work,{bits:5}),kt=!1}t.lencode=mt,t.lenbits=9,t.distcode=gt,t.distbits=5}function yt(t,e){var i,a,r,o,h,l,d,_,u,f,c,w,b,v,p,m,g,k,x,y,z,B,A,C,E=0,S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;12===(i=t.state).mode&&(i.mode=13),h=t.next_out,r=t.output,d=t.avail_out,o=t.next_in,a=t.input,l=t.avail_in,_=i.hold,u=i.bits,f=l,c=d,B=0;t:for(;;)switch(i.mode){case 1:if(0===i.wrap){i.mode=13;break}case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:if(5===e||6===e)break t;case 13:if(i.last){_>>>=7&u,u-=7&u,i.mode=27;break}for(;u<3;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}switch(i.last=1&_,u-=1,3&(_>>>=1)){default:break;case 0:i.mode=14;break;case 1:if(xt(i),i.mode=20,6===e){_>>>=2,u-=2;break t}break;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=30}_>>>=2,u-=2;break;case 14:case 15:case 16:case 17:for(;u<14;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}if(i.nlen=257+(31&_),_>>>=5,u-=5,i.ndist=1+(31&_),_>>>=5,u-=5,i.ncode=4+(15&_),_>>>=4,u-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;u<3;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}i.lens[S[i.have++]]=7&_,_>>>=3,u-=3}for(;i.have<19;)i.lens[S[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,A={bits:i.lenbits},B=wt(0,i.lens,0,19,i.lencode,0,i.work,A),i.lenbits=A.bits,B){t.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;m=(E=i.lencode[_&(1<<i.lenbits)-1])>>>16&255,g=65535&E,!((p=E>>>24)<=u);){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}if(g<16)_>>>=p,u-=p,i.lens[i.have++]=g;else{if(16===g){for(C=p+2;u<C;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}if(_>>>=p,u-=p,0===i.have){t.msg="invalid bit length repeat",i.mode=30;break}z=i.lens[i.have-1],w=3+(3&_),_>>>=2,u-=2}else if(17===g){for(C=p+3;u<C;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}u-=p,z=0,w=3+(7&(_>>>=p)),_>>>=3,u-=3}else{for(C=p+7;u<C;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}u-=p,z=0,w=11+(127&(_>>>=p)),_>>>=7,u-=7}if(i.have+w>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=30;break}for(;w--;)i.lens[i.have++]=z}}if(30===i.mode)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,A={bits:i.lenbits},B=wt(1,i.lens,0,i.nlen,i.lencode,0,i.work,A),i.lenbits=A.bits,B){t.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,A={bits:i.distbits},B=wt(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,A),i.distbits=A.bits,B){t.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===e)break t;case 20:i.mode=21;case 21:if(l>=6&&d>=258){t.next_out=h,t.avail_out=d,t.next_in=o,t.avail_in=l,i.hold=_,i.bits=u,dt(t,c),h=t.next_out,r=t.output,d=t.avail_out,o=t.next_in,a=t.input,l=t.avail_in,_=i.hold,u=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;m=(E=i.lencode[_&(1<<i.lenbits)-1])>>>16&255,g=65535&E,!((p=E>>>24)<=u);){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}if(m&&0==(240&m)){for(k=p,x=m,y=g;m=(E=i.lencode[y+((_&(1<<k+x)-1)>>k)])>>>16&255,g=65535&E,!(k+(p=E>>>24)<=u);){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}_>>>=k,u-=k,i.back+=k}if(_>>>=p,u-=p,i.back+=p,i.length=g,0===m){i.mode=26;break}if(32&m){i.back=-1,i.mode=12;break}if(64&m){t.msg="invalid literal/length code",i.mode=30;break}i.extra=15&m,i.mode=22;case 22:if(i.extra){for(C=i.extra;u<C;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}i.length+=_&(1<<i.extra)-1,_>>>=i.extra,u-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;m=(E=i.distcode[_&(1<<i.distbits)-1])>>>16&255,g=65535&E,!((p=E>>>24)<=u);){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}if(0==(240&m)){for(k=p,x=m,y=g;m=(E=i.distcode[y+((_&(1<<k+x)-1)>>k)])>>>16&255,g=65535&E,!(k+(p=E>>>24)<=u);){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}_>>>=k,u-=k,i.back+=k}if(_>>>=p,u-=p,i.back+=p,64&m){t.msg="invalid distance code",i.mode=30;break}i.offset=g,i.extra=15&m,i.mode=24;case 24:if(i.extra){for(C=i.extra;u<C;){if(0===l)break t;l--,_+=a[o++]<<u,u+=8}i.offset+=_&(1<<i.extra)-1,_>>>=i.extra,u-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===d)break t;if(w=c-d,i.offset>w){if((w=i.offset-w)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=30;break}w>i.wnext?(w-=i.wnext,b=i.wsize-w):b=i.wnext-w,w>i.length&&(w=i.length),v=i.window}else v=r,b=h-i.offset,w=i.length;w>d&&(w=d),d-=w,i.length-=w;do{r[h++]=v[b++]}while(--w);0===i.length&&(i.mode=21);break;case 26:if(0===d)break t;r[h++]=i.length,d--,i.mode=21;break;case 27:i.wrap,i.mode=28;case 28:i.wrap&&i.flags,i.mode=29;case 29:B=1;break t;case 30:B=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=h,t.avail_out=d,t.next_in=o,t.avail_in=l,i.hold=_,i.bits=u,(i.wsize||c!==t.avail_out&&i.mode<30&&(i.mode<27||4!==e))&&function(t,e,i,a){var r,o=t.state;null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new s(o.wsize)),a>=o.wsize?(n(o.window,e,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((r=o.wsize-o.wnext)>a&&(r=a),n(o.window,e,i-a,r,o.wnext),(a-=r)?(n(o.window,e,i-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r)))}(t,t.output,t.next_out,c-t.avail_out),f-=t.avail_in,c-=t.avail_out,t.total_in+=f,t.total_out+=c,i.total+=c,i.wrap,t.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0===f&&0===c||4===e)&&0===B&&(B=-5),B}var zt=0,Bt=2,At=4,Ct=0,Et=1,St=-5;function Dt(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var jt=Object.prototype.toString,Ut=function(){function t(i){if(!(this instanceof t))return new t(i);this.options=e({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},i||{});var n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lt,this.strm.avail_out=0;var a=function(t,e,i,n,a,o){if(!t)return-2;var h=1;if(-1===e&&(e=6),n<0?(h=0,n=-n):n>15&&(h=2,n-=16),a<1||a>9||8!==i||n<8||n>15||e<0||e>9||o<0||o>4)return Q(t,-2);8===n&&(n=9);var l=new et;return t.state=l,l.strm=t,l.wrap=h,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new s(2*l.w_size),l.head=new r(l.hash_size),l.prev=new r(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new s(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=o,l.method=i,it(t)}(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(0!==a)throw new Error(N[a])}var n=t.prototype;return n.push=function(t,e){var n,a,r=this.strm,o=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t||("[object ArrayBuffer]"===jt.call(t)?r.input=new Uint8Array(t):r.input=t),r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new s(o),r.next_out=0,r.avail_out=o),1!==(n=nt(r,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(ht(i(r.output,r.next_out))):this.onData(i(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==n);return 4===a?(n=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?Q(t,-2):(t.state=null,113===e?Q(t,-3):0):-2}(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),r.avail_out=0,!0)},n.onData=function(t){this.chunks.push(t)},n.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},t}();var Tt=function(){function t(i){if(!(this instanceof t))return new t(i);this.options=e({chunkSize:16384,windowBits:0,to:""},i||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),!(n.windowBits>=0&&n.windowBits<16)||i&&i.windowBits||(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&0==(15&n.windowBits)&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lt,this.strm.avail_out=0;var a,s,r,o=pt(this.strm,n.windowBits);if(o!==Ct)throw new Error(N[o]);this.header=new Dt,a=this.strm,s=this.header,a&&a.state&&(0==(2&(r=a.state).wrap)||(r.head=s,s.done=!1))}var n=t.prototype;return n.push=function(t,e){var n,a,r=this.strm,o=this.options.chunkSize,h=!1;if(this.ended)return!1;a=e===~~e?e:!0===e?At:zt,"string"==typeof t?r.input=function(t){for(var e=new s(t.length),i=0,n=e.length;i<n;i++)e[i]=t.charCodeAt(i);return e}(t):"[object ArrayBuffer]"===jt.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new s(o),r.next_out=0,r.avail_out=o),(n=yt(r,zt))===St&&!0===h&&(n=Ct,h=!1),n!==Et&&n!==Ct)return this.onEnd(n),this.ended=!0,!1;r.next_out&&(0!==r.avail_out&&n!==Et&&(0!==r.avail_in||a!==At&&a!==Bt)||"string"===this.options.to||this.onData(i(r.output,r.next_out))),0===r.avail_in&&0===r.avail_out&&(h=!0)}while((r.avail_in>0||0===r.avail_out)&&n!==Et);return n===Et&&(a=At),a===At?(n=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0}(this.strm),this.onEnd(n),this.ended=!0,n===Ct):a!==Bt||(this.onEnd(Ct),r.avail_out=0,!0)},n.onData=function(t){this.chunks.push(t)},n.onEnd=function(t){t===Ct&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},t}();return{zlibDeflate:function(t,e){var i=new Ut(e);if(i.push(t,!0),i.err)throw i.msg||N[i.err];return i.result},zlibInflate:function(t,e){var i=new Tt(e);if(i.push(t,!0),i.err)throw i.msg||N[i.err];return i.result}}}();return t.compress=function(t){var i=function(t){if("undefined"!=typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);for(var e=t.length,i=0,n=new Uint8Array(3*e),a=0,s=0,r=0;r!==e;){if(a=t.charCodeAt(r),r+=1,a>=55296&&a<=56319){if(r===e){n[i++]=239,n[i++]=191,n[i++]=189;break}if(!((s=t.charCodeAt(r))>=56320&&s<=57343)){n[i++]=239,n[i++]=191,n[i++]=189;continue}if(r+=1,(a=1024*(a-55296)+s-56320+65536)>65535){n[i++]=240|a>>>18,n[i++]=128|a>>>12&63,n[i++]=128|a>>>6&63,n[i++]=128|63&a;continue}}a<=127?n[i++]=0|a:a<=2047?(n[i++]=192|a>>>6,n[i++]=128|63&a):(n[i++]=224|a>>>12,n[i++]=128|a>>>6&63,n[i++]=128|63&a)}return n.subarray(0,i)}(t),n=e.zlibDeflate(i,{raw:!0,to:"string"});try{return btoa(n)}catch(a){return""}},t.decompress=function(t){if(t){for(var i=atob(t),n=new Uint8Array(i.length),a=0;a<i.length;a++)n[a]=i.charCodeAt(a);return function(t){if("undefined"!=typeof TextDecoder&&TextDecoder.prototype.decode)return new TextDecoder("utf-8").decode(t.buffer);for(var e,i,n,a=0,s=t.length,r="";a<s&&0!==(e=t[a++]);)if(0==(128&e))r+=String.fromCharCode(e);else if(192==(224&e))i=63&t[a++],r+=String.fromCharCode((31&e)<<6|i);else if(224==(240&e))i=63&t[a++],n=63&t[a++],r+=String.fromCharCode((31&e)<<12|i<<6|n);else if(240==(248&e)){var o=(7&e)<<18|(i=63&t[a++])<<12|(n=63&t[a++])<<6|63&t[a++];o>65535&&(o-=65536,r+=String.fromCharCode(o>>>10&1023|55296),o=56320|1023&o),r+=String.fromCharCode(o)}return r}(e.zlibInflate(n,{raw:!0}))}},t}));