var O={exports:{}};(function(x){var S=function(){var y=String.fromCharCode,M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",_={};function g(o,r){if(!_[o]){_[o]={};for(var s=0;s>>8,s[e*2+1]=p%256}return s},decompressFromUint8Array:function(o){if(o==null)return d.decompress(o);for(var r=new Array(o.length/2),s=0,e=r.length;s>1}else{for(t=1,e=0;e>1}h--,h==0&&(h=Math.pow(2,c),c++),delete w[u]}else for(t=p[u],e=0;e>1;h--,h==0&&(h=Math.pow(2,c),c++),p[A]=a++,u=String(v)}if(u!==""){if(Object.prototype.hasOwnProperty.call(w,u)){if(u.charCodeAt(0)<256){for(e=0;e>1}else{for(t=1,e=0;e>1}h--,h==0&&(h=Math.pow(2,c),c++),delete w[u]}else for(t=p[u],e=0;e>1;h--,h==0&&(h=Math.pow(2,c),c++)}for(t=2,e=0;e>1;for(;;)if(n=n<<1,f==r-1){l.push(s(n));break}else f++;return l.join("")},decompress:function(o){return o==null?"":o==""?null:d._decompress(o.length,32768,function(r){return o.charCodeAt(r)})},_decompress:function(o,r,s){var e=[],t=4,p=4,w=3,v="",A=[],u,h,a,c,l,n,f,i={val:s(0),position:r,index:1};for(u=0;u<3;u+=1)e[u]=u;for(a=0,l=Math.pow(2,2),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;switch(a){case 0:for(a=0,l=Math.pow(2,8),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;f=y(a);break;case 1:for(a=0,l=Math.pow(2,16),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;f=y(a);break;case 2:return""}for(e[3]=f,h=f,A.push(f);;){if(i.index>o)return"";for(a=0,l=Math.pow(2,w),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;switch(f=a){case 0:for(a=0,l=Math.pow(2,8),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;e[p++]=y(a),f=p-1,t--;break;case 1:for(a=0,l=Math.pow(2,16),n=1;n!=l;)c=i.val&i.position,i.position>>=1,i.position==0&&(i.position=r,i.val=s(i.index++)),a|=(c>0?1:0)*n,n<<=1;e[p++]=y(a),f=p-1,t--;break;case 2:return A.join("")}if(t==0&&(t=Math.pow(2,w),w++),e[f])v=e[f];else if(f===p)v=h+h.charAt(0);else return null;A.push(v),e[p++]=h+v.charAt(0),t--,h=v,t==0&&(t=Math.pow(2,w),w++)}}};return d}();x!=null?x.exports=S:typeof angular!="undefined"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return S})})(O);var U=O.exports;export{U as L};