Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

guc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guc - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -1,1 +0,1 @@

!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.guc=r():e.guc=r()}(this,function(){return function(e){var r={};function n(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)n.d(t,i,function(r){return e[r]}.bind(null,i));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="/",n(n.s=0)}([function(e,r,n){"use strict";var t=n(1),i=n(2),o=["kg","L","Nm3","Sm3"],u=["O2","N2","Ar","H2","CO2","He","C2H2"];e.exports=function(e,r,n,s){if(void 0===e||void 0===r||void 0===n||void 0===s)throw new Error("Error: invalid arguments");if(!u.includes(e)||!o.includes(r)||!o.includes(n)||isNaN(s))throw new Error("Error: invalid arguments");if(r===n)return s;var f=i[e][r][n];return f?t(s).multipliedBy(t(f)):null}},function(e,r,n){var t;!function(i){"use strict";var o,u=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,f=Math.floor,c="[BigNumber Error] ",l=c+"Number primitive has more than 15 significant digits: ",a=1e14,h=14,g=9007199254740991,m=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],p=1e7,d=1e9;function w(e){var r=0|e;return e>0||e===r?r:r-1}function N(e){for(var r,n,t=1,i=e.length,o=e[0]+"";t<i;){for(r=e[t++]+"",n=h-r.length;n--;r="0"+r);o+=r}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function v(e,r){var n,t,i=e.c,o=r.c,u=e.s,s=r.s,f=e.e,c=r.e;if(!u||!s)return null;if(n=i&&!i[0],t=o&&!o[0],n||t)return n?t?0:-s:u;if(u!=s)return u;if(n=u<0,t=f==c,!i||!o)return t?0:!i^n?1:-1;if(!t)return f>c^n?1:-1;for(s=(f=i.length)<(c=o.length)?f:c,u=0;u<s;u++)if(i[u]!=o[u])return i[u]>o[u]^n?1:-1;return f==c?0:f>c^n?1:-1}function O(e,r,n,t){if(e<r||e>n||e!==(e<0?s(e):f(e)))throw Error(c+(t||"Argument")+("number"==typeof e?e<r||e>n?" out of range: ":" not an integer: ":" not a primitive number: ")+e)}function y(e){return"[object Array]"==Object.prototype.toString.call(e)}function S(e){var r=e.c.length-1;return w(e.e/h)==r&&e.c[r]%2!=0}function b(e,r){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(r<0?"e":"e+")+r}function L(e,r,n){var t,i;if(r<0){for(i=n+".";++r;i+=n);e=i+e}else if(++r>(t=e.length)){for(i=n,r-=t;--r;i+=n);e+=i}else r<t&&(e=e.slice(0,r)+"."+e.slice(r));return e}(o=function e(r){var n,t,i,o=U.prototype={constructor:U,toString:null,valueOf:null},E=new U(1),A=20,k=4,_=-7,x=21,P=-1e7,R=1e7,C=!1,D=1,T=0,B={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0},M="0123456789abcdefghijklmnopqrstuvwxyz";function U(e,r){var n,o,s,c,a,m,p,d,w=this;if(!(w instanceof U))return new U(e,r);if(null==r){if(e instanceof U)return w.s=e.s,w.e=e.e,void(w.c=(e=e.c)?e.slice():e);if((m="number"==typeof e)&&0*e==0){if(w.s=1/e<0?(e=-e,-1):1,e===~~e){for(c=0,a=e;a>=10;a/=10,c++);return w.e=c,void(w.c=[e])}d=e+""}else{if(!u.test(d=e+""))return i(w,d,m);w.s=45==d.charCodeAt(0)?(d=d.slice(1),-1):1}(c=d.indexOf("."))>-1&&(d=d.replace(".","")),(a=d.search(/e/i))>0?(c<0&&(c=a),c+=+d.slice(a+1),d=d.substring(0,a)):c<0&&(c=d.length)}else{if(O(r,2,M.length,"Base"),d=e+"",10==r)return F(w=new U(e instanceof U?e:d),A+w.e+1,k);if(m="number"==typeof e){if(0*e!=0)return i(w,d,m,r);if(w.s=1/e<0?(d=d.slice(1),-1):1,U.DEBUG&&d.replace(/^0\.0*|\./,"").length>15)throw Error(l+e);m=!1}else w.s=45===d.charCodeAt(0)?(d=d.slice(1),-1):1;for(n=M.slice(0,r),c=a=0,p=d.length;a<p;a++)if(n.indexOf(o=d.charAt(a))<0){if("."==o){if(a>c){c=p;continue}}else if(!s&&(d==d.toUpperCase()&&(d=d.toLowerCase())||d==d.toLowerCase()&&(d=d.toUpperCase()))){s=!0,a=-1,c=0;continue}return i(w,e+"",m,r)}(c=(d=t(d,r,10,w.s)).indexOf("."))>-1?d=d.replace(".",""):c=d.length}for(a=0;48===d.charCodeAt(a);a++);for(p=d.length;48===d.charCodeAt(--p););if(d=d.slice(a,++p)){if(p-=a,m&&U.DEBUG&&p>15&&(e>g||e!==f(e)))throw Error(l+w.s*e);if((c=c-a-1)>R)w.c=w.e=null;else if(c<P)w.c=[w.e=0];else{if(w.e=c,w.c=[],a=(c+1)%h,c<0&&(a+=h),a<p){for(a&&w.c.push(+d.slice(0,a)),p-=h;a<p;)w.c.push(+d.slice(a,a+=h));d=d.slice(a),a=h-d.length}else a-=p;for(;a--;d+="0");w.c.push(+d)}}else w.c=[w.e=0]}function I(e,r,n,t){var i,o,u,s,f;if(null==n?n=k:O(n,0,8),!e.c)return e.toString();if(i=e.c[0],u=e.e,null==r)f=N(e.c),f=1==t||2==t&&u<=_?b(f,u):L(f,u,"0");else if(o=(e=F(new U(e),r,n)).e,s=(f=N(e.c)).length,1==t||2==t&&(r<=o||o<=_)){for(;s<r;f+="0",s++);f=b(f,o)}else if(r-=u,f=L(f,o,"0"),o+1>s){if(--r>0)for(f+=".";r--;f+="0");}else if((r+=o-s)>0)for(o+1==s&&(f+=".");r--;f+="0");return e.s<0&&i?"-"+f:f}function j(e,r){var n,t,i=0;for(y(e[0])&&(e=e[0]),n=new U(e[0]);++i<e.length;){if(!(t=new U(e[i])).s){n=t;break}r.call(n,t)&&(n=t)}return n}function G(e,r,n){for(var t=1,i=r.length;!r[--i];r.pop());for(i=r[0];i>=10;i/=10,t++);return(n=t+n*h-1)>R?e.c=e.e=null:n<P?e.c=[e.e=0]:(e.e=n,e.c=r),e}function F(e,r,n,t){var i,o,u,c,l,g,p,d=e.c,w=m;if(d){e:{for(i=1,c=d[0];c>=10;c/=10,i++);if((o=r-i)<0)o+=h,u=r,p=(l=d[g=0])/w[i-u-1]%10|0;else if((g=s((o+1)/h))>=d.length){if(!t)break e;for(;d.length<=g;d.push(0));l=p=0,i=1,u=(o%=h)-h+1}else{for(l=c=d[g],i=1;c>=10;c/=10,i++);p=(u=(o%=h)-h+i)<0?0:l/w[i-u-1]%10|0}if(t=t||r<0||null!=d[g+1]||(u<0?l:l%w[i-u-1]),t=n<4?(p||t)&&(0==n||n==(e.s<0?3:2)):p>5||5==p&&(4==n||t||6==n&&(o>0?u>0?l/w[i-u]:0:d[g-1])%10&1||n==(e.s<0?8:7)),r<1||!d[0])return d.length=0,t?(r-=e.e+1,d[0]=w[(h-r%h)%h],e.e=-r||0):d[0]=e.e=0,e;if(0==o?(d.length=g,c=1,g--):(d.length=g+1,c=w[h-o],d[g]=u>0?f(l/w[i-u]%w[u])*c:0),t)for(;;){if(0==g){for(o=1,u=d[0];u>=10;u/=10,o++);for(u=d[0]+=c,c=1;u>=10;u/=10,c++);o!=c&&(e.e++,d[0]==a&&(d[0]=1));break}if(d[g]+=c,d[g]!=a)break;d[g--]=0,c=1}for(o=d.length;0===d[--o];d.pop());}e.e>R?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}return U.clone=e,U.ROUND_UP=0,U.ROUND_DOWN=1,U.ROUND_CEIL=2,U.ROUND_FLOOR=3,U.ROUND_HALF_UP=4,U.ROUND_HALF_DOWN=5,U.ROUND_HALF_EVEN=6,U.ROUND_HALF_CEIL=7,U.ROUND_HALF_FLOOR=8,U.EUCLID=9,U.config=U.set=function(e){var r,n;if(null!=e){if("object"!=typeof e)throw Error(c+"Object expected: "+e);if(e.hasOwnProperty(r="DECIMAL_PLACES")&&(O(n=e[r],0,d,r),A=n),e.hasOwnProperty(r="ROUNDING_MODE")&&(O(n=e[r],0,8,r),k=n),e.hasOwnProperty(r="EXPONENTIAL_AT")&&(y(n=e[r])?(O(n[0],-d,0,r),O(n[1],0,d,r),_=n[0],x=n[1]):(O(n,-d,d,r),_=-(x=n<0?-n:n))),e.hasOwnProperty(r="RANGE"))if(y(n=e[r]))O(n[0],-d,-1,r),O(n[1],1,d,r),P=n[0],R=n[1];else{if(O(n,-d,d,r),!n)throw Error(c+r+" cannot be zero: "+n);P=-(R=n<0?-n:n)}if(e.hasOwnProperty(r="CRYPTO")){if((n=e[r])!==!!n)throw Error(c+r+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw C=!n,Error(c+"crypto unavailable");C=n}else C=n}if(e.hasOwnProperty(r="MODULO_MODE")&&(O(n=e[r],0,9,r),D=n),e.hasOwnProperty(r="POW_PRECISION")&&(O(n=e[r],0,d,r),T=n),e.hasOwnProperty(r="FORMAT")){if("object"!=typeof(n=e[r]))throw Error(c+r+" not an object: "+n);B=n}if(e.hasOwnProperty(r="ALPHABET")){if("string"!=typeof(n=e[r])||/^.$|\.|(.).*\1/.test(n))throw Error(c+r+" invalid: "+n);M=n}}return{DECIMAL_PLACES:A,ROUNDING_MODE:k,EXPONENTIAL_AT:[_,x],RANGE:[P,R],CRYPTO:C,MODULO_MODE:D,POW_PRECISION:T,FORMAT:B,ALPHABET:M}},U.isBigNumber=function(e){return e instanceof U||e&&!0===e._isBigNumber||!1},U.maximum=U.max=function(){return j(arguments,o.lt)},U.minimum=U.min=function(){return j(arguments,o.gt)},U.random=function(){var e=9007199254740992*Math.random()&2097151?function(){return f(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(r){var n,t,i,o,u,l=0,a=[],g=new U(E);if(null==r?r=A:O(r,0,d),o=s(r/h),C)if(crypto.getRandomValues){for(n=crypto.getRandomValues(new Uint32Array(o*=2));l<o;)(u=131072*n[l]+(n[l+1]>>>11))>=9e15?(t=crypto.getRandomValues(new Uint32Array(2)),n[l]=t[0],n[l+1]=t[1]):(a.push(u%1e14),l+=2);l=o/2}else{if(!crypto.randomBytes)throw C=!1,Error(c+"crypto unavailable");for(n=crypto.randomBytes(o*=7);l<o;)(u=281474976710656*(31&n[l])+1099511627776*n[l+1]+4294967296*n[l+2]+16777216*n[l+3]+(n[l+4]<<16)+(n[l+5]<<8)+n[l+6])>=9e15?crypto.randomBytes(7).copy(n,l):(a.push(u%1e14),l+=7);l=o/7}if(!C)for(;l<o;)(u=e())<9e15&&(a[l++]=u%1e14);for(o=a[--l],r%=h,o&&r&&(u=m[h-r],a[l]=f(o/u)*u);0===a[l];a.pop(),l--);if(l<0)a=[i=0];else{for(i=-1;0===a[0];a.splice(0,1),i-=h);for(l=1,u=a[0];u>=10;u/=10,l++);l<h&&(i-=h-l)}return g.e=i,g.c=a,g}}(),t=function(){function e(e,r,n,t){for(var i,o,u=[0],s=0,f=e.length;s<f;){for(o=u.length;o--;u[o]*=r);for(u[0]+=t.indexOf(e.charAt(s++)),i=0;i<u.length;i++)u[i]>n-1&&(null==u[i+1]&&(u[i+1]=0),u[i+1]+=u[i]/n|0,u[i]%=n)}return u.reverse()}return function(r,t,i,o,u){var s,f,c,l,a,h,g,m,p=r.indexOf("."),d=A,w=k;for(p>=0&&(l=T,T=0,r=r.replace(".",""),h=(m=new U(t)).pow(r.length-p),T=l,m.c=e(L(N(h.c),h.e,"0"),10,i,"0123456789"),m.e=m.c.length),c=l=(g=e(r,t,i,u?(s=M,"0123456789"):(s="0123456789",M))).length;0==g[--l];g.pop());if(!g[0])return s.charAt(0);if(p<0?--c:(h.c=g,h.e=c,h.s=o,g=(h=n(h,m,d,w,i)).c,a=h.r,c=h.e),p=g[f=c+d+1],l=i/2,a=a||f<0||null!=g[f+1],a=w<4?(null!=p||a)&&(0==w||w==(h.s<0?3:2)):p>l||p==l&&(4==w||a||6==w&&1&g[f-1]||w==(h.s<0?8:7)),f<1||!g[0])r=a?L(s.charAt(1),-d,s.charAt(0)):s.charAt(0);else{if(g.length=f,a)for(--i;++g[--f]>i;)g[f]=0,f||(++c,g=[1].concat(g));for(l=g.length;!g[--l];);for(p=0,r="";p<=l;r+=s.charAt(g[p++]));r=L(r,c,s.charAt(0))}return r}}(),n=function(){function e(e,r,n){var t,i,o,u,s=0,f=e.length,c=r%p,l=r/p|0;for(e=e.slice();f--;)s=((i=c*(o=e[f]%p)+(t=l*o+(u=e[f]/p|0)*c)%p*p+s)/n|0)+(t/p|0)+l*u,e[f]=i%n;return s&&(e=[s].concat(e)),e}function r(e,r,n,t){var i,o;if(n!=t)o=n>t?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=r[i]){o=e[i]>r[i]?1:-1;break}return o}function n(e,r,n,t){for(var i=0;n--;)e[n]-=i,i=e[n]<r[n]?1:0,e[n]=i*t+e[n]-r[n];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(t,i,o,u,s){var c,l,g,m,p,d,N,v,O,y,S,b,L,E,A,k,_,x=t.s==i.s?1:-1,P=t.c,R=i.c;if(!(P&&P[0]&&R&&R[0]))return new U(t.s&&i.s&&(P?!R||P[0]!=R[0]:R)?P&&0==P[0]||!R?0*x:x/0:NaN);for(O=(v=new U(x)).c=[],x=o+(l=t.e-i.e)+1,s||(s=a,l=w(t.e/h)-w(i.e/h),x=x/h|0),g=0;R[g]==(P[g]||0);g++);if(R[g]>(P[g]||0)&&l--,x<0)O.push(1),m=!0;else{for(E=P.length,k=R.length,g=0,x+=2,(p=f(s/(R[0]+1)))>1&&(R=e(R,p,s),P=e(P,p,s),k=R.length,E=P.length),L=k,S=(y=P.slice(0,k)).length;S<k;y[S++]=0);_=R.slice(),_=[0].concat(_),A=R[0],R[1]>=s/2&&A++;do{if(p=0,(c=r(R,y,k,S))<0){if(b=y[0],k!=S&&(b=b*s+(y[1]||0)),(p=f(b/A))>1)for(p>=s&&(p=s-1),N=(d=e(R,p,s)).length,S=y.length;1==r(d,y,N,S);)p--,n(d,k<N?_:R,N,s),N=d.length,c=1;else 0==p&&(c=p=1),N=(d=R.slice()).length;if(N<S&&(d=[0].concat(d)),n(y,d,S,s),S=y.length,-1==c)for(;r(R,y,k,S)<1;)p++,n(y,k<S?_:R,S,s),S=y.length}else 0===c&&(p++,y=[0]);O[g++]=p,y[0]?y[S++]=P[L]||0:(y=[P[L]],S=1)}while((L++<E||null!=y[0])&&x--);m=null!=y[0],O[0]||O.splice(0,1)}if(s==a){for(g=1,x=O[0];x>=10;x/=10,g++);F(v,o+(v.e=g+l*h-1)+1,u,m)}else v.e=l,v.r=+m;return v}}(),i=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,r=/^([^.]+)\.$/,n=/^\.([^.]+)$/,t=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,u,s,f){var l,a=s?u:u.replace(i,"");if(t.test(a))o.s=isNaN(a)?null:a<0?-1:1,o.c=o.e=null;else{if(!s&&(a=a.replace(e,function(e,r,n){return l="x"==(n=n.toLowerCase())?16:"b"==n?2:8,f&&f!=l?e:r}),f&&(l=f,a=a.replace(r,"$1").replace(n,"0.$1")),u!=a))return new U(a,l);if(U.DEBUG)throw Error(c+"Not a"+(f?" base "+f:"")+" number: "+u);o.c=o.e=o.s=null}}}(),o.absoluteValue=o.abs=function(){var e=new U(this);return e.s<0&&(e.s=1),e},o.comparedTo=function(e,r){return v(this,new U(e,r))},o.decimalPlaces=o.dp=function(e,r){var n,t,i,o=this;if(null!=e)return O(e,0,d),null==r?r=k:O(r,0,8),F(new U(o),e+o.e+1,r);if(!(n=o.c))return null;if(t=((i=n.length-1)-w(this.e/h))*h,i=n[i])for(;i%10==0;i/=10,t--);return t<0&&(t=0),t},o.dividedBy=o.div=function(e,r){return n(this,new U(e,r),A,k)},o.dividedToIntegerBy=o.idiv=function(e,r){return n(this,new U(e,r),0,1)},o.exponentiatedBy=o.pow=function(e,r){var n,t,i,o,u,l,a,g=this;if((e=new U(e)).c&&!e.isInteger())throw Error(c+"Exponent not an integer: "+e);if(null!=r&&(r=new U(r)),o=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return a=new U(Math.pow(+g.valueOf(),o?2-S(e):+e)),r?a.mod(r):a;if(u=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new U(NaN);(t=!u&&g.isInteger()&&r.isInteger())&&(g=g.mod(r))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||o&&g.c[1]>=24e7:g.c[0]<8e13||o&&g.c[0]<=9999975e7)))return i=g.s<0&&S(e)?-0:0,g.e>-1&&(i=1/i),new U(u?1/i:i);T&&(i=s(T/h+2))}for(o?(n=new U(.5),l=S(e)):l=e%2,u&&(e.s=1),a=new U(E);;){if(l){if(!(a=a.times(g)).c)break;i?a.c.length>i&&(a.c.length=i):t&&(a=a.mod(r))}if(o){if(F(e=e.times(n),e.e+1,1),!e.c[0])break;o=e.e>14,l=S(e)}else{if(!(e=f(e/2)))break;l=e%2}g=g.times(g),i?g.c&&g.c.length>i&&(g.c.length=i):t&&(g=g.mod(r))}return t?a:(u&&(a=E.div(a)),r?a.mod(r):i?F(a,T,k,void 0):a)},o.integerValue=function(e){var r=new U(this);return null==e?e=k:O(e,0,8),F(r,r.e+1,e)},o.isEqualTo=o.eq=function(e,r){return 0===v(this,new U(e,r))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(e,r){return v(this,new U(e,r))>0},o.isGreaterThanOrEqualTo=o.gte=function(e,r){return 1===(r=v(this,new U(e,r)))||0===r},o.isInteger=function(){return!!this.c&&w(this.e/h)>this.c.length-2},o.isLessThan=o.lt=function(e,r){return v(this,new U(e,r))<0},o.isLessThanOrEqualTo=o.lte=function(e,r){return-1===(r=v(this,new U(e,r)))||0===r},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(e,r){var n,t,i,o,u=this,s=u.s;if(r=(e=new U(e,r)).s,!s||!r)return new U(NaN);if(s!=r)return e.s=-r,u.plus(e);var f=u.e/h,c=e.e/h,l=u.c,g=e.c;if(!f||!c){if(!l||!g)return l?(e.s=-r,e):new U(g?u:NaN);if(!l[0]||!g[0])return g[0]?(e.s=-r,e):new U(l[0]?u:3==k?-0:0)}if(f=w(f),c=w(c),l=l.slice(),s=f-c){for((o=s<0)?(s=-s,i=l):(c=f,i=g),i.reverse(),r=s;r--;i.push(0));i.reverse()}else for(t=(o=(s=l.length)<(r=g.length))?s:r,s=r=0;r<t;r++)if(l[r]!=g[r]){o=l[r]<g[r];break}if(o&&(i=l,l=g,g=i,e.s=-e.s),(r=(t=g.length)-(n=l.length))>0)for(;r--;l[n++]=0);for(r=a-1;t>s;){if(l[--t]<g[t]){for(n=t;n&&!l[--n];l[n]=r);--l[n],l[t]+=a}l[t]-=g[t]}for(;0==l[0];l.splice(0,1),--c);return l[0]?G(e,l,c):(e.s=3==k?-1:1,e.c=[e.e=0],e)},o.modulo=o.mod=function(e,r){var t,i,o=this;return e=new U(e,r),!o.c||!e.s||e.c&&!e.c[0]?new U(NaN):!e.c||o.c&&!o.c[0]?new U(o):(9==D?(i=e.s,e.s=1,t=n(o,e,0,3),e.s=i,t.s*=i):t=n(o,e,0,D),(e=o.minus(t.times(e))).c[0]||1!=D||(e.s=o.s),e)},o.multipliedBy=o.times=function(e,r){var n,t,i,o,u,s,f,c,l,g,m,d,N,v,O,y=this,S=y.c,b=(e=new U(e,r)).c;if(!(S&&b&&S[0]&&b[0]))return!y.s||!e.s||S&&!S[0]&&!b||b&&!b[0]&&!S?e.c=e.e=e.s=null:(e.s*=y.s,S&&b?(e.c=[0],e.e=0):e.c=e.e=null),e;for(t=w(y.e/h)+w(e.e/h),e.s*=y.s,(f=S.length)<(g=b.length)&&(N=S,S=b,b=N,i=f,f=g,g=i),i=f+g,N=[];i--;N.push(0));for(v=a,O=p,i=g;--i>=0;){for(n=0,m=b[i]%O,d=b[i]/O|0,o=i+(u=f);o>i;)n=((c=m*(c=S[--u]%O)+(s=d*c+(l=S[u]/O|0)*m)%O*O+N[o]+n)/v|0)+(s/O|0)+d*l,N[o--]=c%v;N[o]=n}return n?++t:N.splice(0,1),G(e,N,t)},o.negated=function(){var e=new U(this);return e.s=-e.s||null,e},o.plus=function(e,r){var n,t=this,i=t.s;if(r=(e=new U(e,r)).s,!i||!r)return new U(NaN);if(i!=r)return e.s=-r,t.minus(e);var o=t.e/h,u=e.e/h,s=t.c,f=e.c;if(!o||!u){if(!s||!f)return new U(i/0);if(!s[0]||!f[0])return f[0]?e:new U(s[0]?t:0*i)}if(o=w(o),u=w(u),s=s.slice(),i=o-u){for(i>0?(u=o,n=f):(i=-i,n=s),n.reverse();i--;n.push(0));n.reverse()}for((i=s.length)-(r=f.length)<0&&(n=f,f=s,s=n,r=i),i=0;r;)i=(s[--r]=s[r]+f[r]+i)/a|0,s[r]=a===s[r]?0:s[r]%a;return i&&(s=[i].concat(s),++u),G(e,s,u)},o.precision=o.sd=function(e,r){var n,t,i,o=this;if(null!=e&&e!==!!e)return O(e,1,d),null==r?r=k:O(r,0,8),F(new U(o),e,r);if(!(n=o.c))return null;if(t=(i=n.length-1)*h+1,i=n[i]){for(;i%10==0;i/=10,t--);for(i=n[0];i>=10;i/=10,t++);}return e&&o.e+1>t&&(t=o.e+1),t},o.shiftedBy=function(e){return O(e,-g,g),this.times("1e"+e)},o.squareRoot=o.sqrt=function(){var e,r,t,i,o,u=this,s=u.c,f=u.s,c=u.e,l=A+4,a=new U("0.5");if(1!==f||!s||!s[0])return new U(!f||f<0&&(!s||s[0])?NaN:s?u:1/0);if(0==(f=Math.sqrt(+u))||f==1/0?(((r=N(s)).length+c)%2==0&&(r+="0"),f=Math.sqrt(r),c=w((c+1)/2)-(c<0||c%2),t=new U(r=f==1/0?"1e"+c:(r=f.toExponential()).slice(0,r.indexOf("e")+1)+c)):t=new U(f+""),t.c[0])for((f=(c=t.e)+l)<3&&(f=0);;)if(o=t,t=a.times(o.plus(n(u,o,l,1))),N(o.c).slice(0,f)===(r=N(t.c)).slice(0,f)){if(t.e<c&&--f,"9999"!=(r=r.slice(f-3,f+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(F(t,t.e+A+2,1),e=!t.times(t).eq(u));break}if(!i&&(F(o,o.e+A+2,0),o.times(o).eq(u))){t=o;break}l+=4,f+=4,i=1}return F(t,t.e+A+1,k,e)},o.toExponential=function(e,r){return null!=e&&(O(e,0,d),e++),I(this,e,r,1)},o.toFixed=function(e,r){return null!=e&&(O(e,0,d),e=e+this.e+1),I(this,e,r)},o.toFormat=function(e,r){var n=this.toFixed(e,r);if(this.c){var t,i=n.split("."),o=+B.groupSize,u=+B.secondaryGroupSize,s=B.groupSeparator,f=i[0],c=i[1],l=this.s<0,a=l?f.slice(1):f,h=a.length;if(u&&(t=o,o=u,u=t,h-=t),o>0&&h>0){for(t=h%o||o,f=a.substr(0,t);t<h;t+=o)f+=s+a.substr(t,o);u>0&&(f+=s+a.slice(t)),l&&(f="-"+f)}n=c?f+B.decimalSeparator+((u=+B.fractionGroupSize)?c.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+B.fractionGroupSeparator):c):f}return n},o.toFraction=function(e){var r,t,i,o,u,s,f,l,a,g,p,d,w=this,v=w.c;if(null!=e&&(!(l=new U(e)).isInteger()&&(l.c||1!==l.s)||l.lt(E)))throw Error(c+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+e);if(!v)return w.toString();for(t=new U(E),g=i=new U(E),o=a=new U(E),d=N(v),s=t.e=d.length-w.e-1,t.c[0]=m[(f=s%h)<0?h+f:f],e=!e||l.comparedTo(t)>0?s>0?t:g:l,f=R,R=1/0,l=new U(d),a.c[0]=0;p=n(l,t,0,1),1!=(u=i.plus(p.times(o))).comparedTo(e);)i=o,o=u,g=a.plus(p.times(u=g)),a=u,t=l.minus(p.times(u=t)),l=u;return u=n(e.minus(i),o,0,1),a=a.plus(u.times(g)),i=i.plus(u.times(o)),a.s=g.s=w.s,r=n(g,o,s*=2,k).minus(w).abs().comparedTo(n(a,i,s,k).minus(w).abs())<1?[g.toString(),o.toString()]:[a.toString(),i.toString()],R=f,r},o.toNumber=function(){return+this},o.toPrecision=function(e,r){return null!=e&&O(e,1,d),I(this,e,r,2)},o.toString=function(e){var r,n=this,i=n.s,o=n.e;return null===o?i?(r="Infinity",i<0&&(r="-"+r)):r="NaN":(r=N(n.c),null==e?r=o<=_||o>=x?b(r,o):L(r,o,"0"):(O(e,2,M.length,"Base"),r=t(L(r,o,"0"),10,e,i,!0)),i<0&&n.c[0]&&(r="-"+r)),r},o.valueOf=o.toJSON=function(){var e,r=this,n=r.e;return null===n?r.toString():(e=N(r.c),e=n<=_||n>=x?b(e,n):L(e,n,"0"),r.s<0?"-"+e:e)},o._isBigNumber=!0,null!=r&&U.set(r),U}()).default=o.BigNumber=o,void 0===(t=function(){return o}.call(r,n,r,e))||(e.exports=t)}()},function(e,r,n){"use strict";e.exports={O2:{kg:{L:.876,Nm3:.7,Sm3:.789},L:{kg:1.141,Nm3:.799,Sm3:.901},Nm3:{kg:1.429,L:1.252,Sm3:1.128},Sm3:{kg:1.267,L:1.11,Nm3:.886}},N2:{kg:{L:1.237,Nm3:.8,Sm3:.902},L:{kg:.809,Nm3:.646,Sm3:.729},Nm3:{kg:1.251,L:1.547,Sm3:1.128},Sm3:{kg:1.109,L:1.371,Nm3:.886}},Ar:{kg:{L:.715,Nm3:.561,Sm3:.633},L:{kg:1.398,Nm3:.784,Sm3:.885},Nm3:{kg:1.783,L:1.275,Sm3:1.128},Sm3:{kg:1.58,L:1.13,Nm3:.886}},H2:{kg:{L:14.1,Nm3:11.14,Sm3:12.56},L:{kg:.071,Nm3:.79,Sm3:.891},Nm3:{kg:.09,L:1.267,Sm3:1.128},Sm3:{kg:.08,L:1.122,Nm3:.886}},CO2:{kg:{L:.971,Nm3:.506,Sm3:.571},L:{kg:1.03,Nm3:.506,Sm3:.588},Nm3:{kg:1.977,L:1.919,Sm3:1.128},Sm3:{kg:1.752,L:1.701,Nm3:.886}},He:{kg:{L:8.013,Nm3:5.602,Sm3:6.32},L:{kg:.125,Nm3:.699,Sm3:.789},Nm3:{kg:.179,L:1.43,Sm3:1.128},Sm3:{kg:.158,L:1.268,Nm3:.886}},C2H2:{kg:{L:null,Nm3:.851,Sm3:.898},L:{kg:null,Nm3:null,Sm3:null},Nm3:{kg:1.175,L:null,Sm3:1.128},Sm3:{kg:1.114,L:null,Nm3:.886}}}}])});
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.guc=r():e.guc=r()}(window,function(){return function(e){var r={};function n(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)n.d(t,i,function(r){return e[r]}.bind(null,i));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="/",n(n.s=0)}([function(e,r,n){"use strict";var t=n(1),i=n(2),o=["kg","L","Nm3","Sm3"],u=["O2","N2","Ar","H2","CO2","He","C2H2"];e.exports=function(e,r,n,s){if(void 0===e||void 0===r||void 0===n||void 0===s)throw new Error("Error: invalid arguments");if(!u.includes(e)||!o.includes(r)||!o.includes(n)||isNaN(s))throw new Error("Error: invalid arguments");if(r===n)return s;var f=i[e][r][n];return f?t(s).multipliedBy(t(f)):null}},function(e,r,n){var t;!function(i){"use strict";var o,u=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,f=Math.floor,c="[BigNumber Error] ",l=c+"Number primitive has more than 15 significant digits: ",a=1e14,h=14,g=9007199254740991,m=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],p=1e7,d=1e9;function w(e){var r=0|e;return e>0||e===r?r:r-1}function N(e){for(var r,n,t=1,i=e.length,o=e[0]+"";t<i;){for(r=e[t++]+"",n=h-r.length;n--;r="0"+r);o+=r}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function v(e,r){var n,t,i=e.c,o=r.c,u=e.s,s=r.s,f=e.e,c=r.e;if(!u||!s)return null;if(n=i&&!i[0],t=o&&!o[0],n||t)return n?t?0:-s:u;if(u!=s)return u;if(n=u<0,t=f==c,!i||!o)return t?0:!i^n?1:-1;if(!t)return f>c^n?1:-1;for(s=(f=i.length)<(c=o.length)?f:c,u=0;u<s;u++)if(i[u]!=o[u])return i[u]>o[u]^n?1:-1;return f==c?0:f>c^n?1:-1}function O(e,r,n,t){if(e<r||e>n||e!==(e<0?s(e):f(e)))throw Error(c+(t||"Argument")+("number"==typeof e?e<r||e>n?" out of range: ":" not an integer: ":" not a primitive number: ")+e)}function y(e){return"[object Array]"==Object.prototype.toString.call(e)}function S(e){var r=e.c.length-1;return w(e.e/h)==r&&e.c[r]%2!=0}function b(e,r){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(r<0?"e":"e+")+r}function L(e,r,n){var t,i;if(r<0){for(i=n+".";++r;i+=n);e=i+e}else if(++r>(t=e.length)){for(i=n,r-=t;--r;i+=n);e+=i}else r<t&&(e=e.slice(0,r)+"."+e.slice(r));return e}(o=function e(r){var n,t,i,o=U.prototype={constructor:U,toString:null,valueOf:null},E=new U(1),A=20,k=4,_=-7,x=21,P=-1e7,R=1e7,C=!1,D=1,T=0,B={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0},M="0123456789abcdefghijklmnopqrstuvwxyz";function U(e,r){var n,o,s,c,a,m,p,d,w=this;if(!(w instanceof U))return new U(e,r);if(null==r){if(e instanceof U)return w.s=e.s,w.e=e.e,void(w.c=(e=e.c)?e.slice():e);if((m="number"==typeof e)&&0*e==0){if(w.s=1/e<0?(e=-e,-1):1,e===~~e){for(c=0,a=e;a>=10;a/=10,c++);return w.e=c,void(w.c=[e])}d=e+""}else{if(!u.test(d=e+""))return i(w,d,m);w.s=45==d.charCodeAt(0)?(d=d.slice(1),-1):1}(c=d.indexOf("."))>-1&&(d=d.replace(".","")),(a=d.search(/e/i))>0?(c<0&&(c=a),c+=+d.slice(a+1),d=d.substring(0,a)):c<0&&(c=d.length)}else{if(O(r,2,M.length,"Base"),d=e+"",10==r)return F(w=new U(e instanceof U?e:d),A+w.e+1,k);if(m="number"==typeof e){if(0*e!=0)return i(w,d,m,r);if(w.s=1/e<0?(d=d.slice(1),-1):1,U.DEBUG&&d.replace(/^0\.0*|\./,"").length>15)throw Error(l+e);m=!1}else w.s=45===d.charCodeAt(0)?(d=d.slice(1),-1):1;for(n=M.slice(0,r),c=a=0,p=d.length;a<p;a++)if(n.indexOf(o=d.charAt(a))<0){if("."==o){if(a>c){c=p;continue}}else if(!s&&(d==d.toUpperCase()&&(d=d.toLowerCase())||d==d.toLowerCase()&&(d=d.toUpperCase()))){s=!0,a=-1,c=0;continue}return i(w,e+"",m,r)}(c=(d=t(d,r,10,w.s)).indexOf("."))>-1?d=d.replace(".",""):c=d.length}for(a=0;48===d.charCodeAt(a);a++);for(p=d.length;48===d.charCodeAt(--p););if(d=d.slice(a,++p)){if(p-=a,m&&U.DEBUG&&p>15&&(e>g||e!==f(e)))throw Error(l+w.s*e);if((c=c-a-1)>R)w.c=w.e=null;else if(c<P)w.c=[w.e=0];else{if(w.e=c,w.c=[],a=(c+1)%h,c<0&&(a+=h),a<p){for(a&&w.c.push(+d.slice(0,a)),p-=h;a<p;)w.c.push(+d.slice(a,a+=h));d=d.slice(a),a=h-d.length}else a-=p;for(;a--;d+="0");w.c.push(+d)}}else w.c=[w.e=0]}function I(e,r,n,t){var i,o,u,s,f;if(null==n?n=k:O(n,0,8),!e.c)return e.toString();if(i=e.c[0],u=e.e,null==r)f=N(e.c),f=1==t||2==t&&u<=_?b(f,u):L(f,u,"0");else if(o=(e=F(new U(e),r,n)).e,s=(f=N(e.c)).length,1==t||2==t&&(r<=o||o<=_)){for(;s<r;f+="0",s++);f=b(f,o)}else if(r-=u,f=L(f,o,"0"),o+1>s){if(--r>0)for(f+=".";r--;f+="0");}else if((r+=o-s)>0)for(o+1==s&&(f+=".");r--;f+="0");return e.s<0&&i?"-"+f:f}function j(e,r){var n,t,i=0;for(y(e[0])&&(e=e[0]),n=new U(e[0]);++i<e.length;){if(!(t=new U(e[i])).s){n=t;break}r.call(n,t)&&(n=t)}return n}function G(e,r,n){for(var t=1,i=r.length;!r[--i];r.pop());for(i=r[0];i>=10;i/=10,t++);return(n=t+n*h-1)>R?e.c=e.e=null:n<P?e.c=[e.e=0]:(e.e=n,e.c=r),e}function F(e,r,n,t){var i,o,u,c,l,g,p,d=e.c,w=m;if(d){e:{for(i=1,c=d[0];c>=10;c/=10,i++);if((o=r-i)<0)o+=h,u=r,p=(l=d[g=0])/w[i-u-1]%10|0;else if((g=s((o+1)/h))>=d.length){if(!t)break e;for(;d.length<=g;d.push(0));l=p=0,i=1,u=(o%=h)-h+1}else{for(l=c=d[g],i=1;c>=10;c/=10,i++);p=(u=(o%=h)-h+i)<0?0:l/w[i-u-1]%10|0}if(t=t||r<0||null!=d[g+1]||(u<0?l:l%w[i-u-1]),t=n<4?(p||t)&&(0==n||n==(e.s<0?3:2)):p>5||5==p&&(4==n||t||6==n&&(o>0?u>0?l/w[i-u]:0:d[g-1])%10&1||n==(e.s<0?8:7)),r<1||!d[0])return d.length=0,t?(r-=e.e+1,d[0]=w[(h-r%h)%h],e.e=-r||0):d[0]=e.e=0,e;if(0==o?(d.length=g,c=1,g--):(d.length=g+1,c=w[h-o],d[g]=u>0?f(l/w[i-u]%w[u])*c:0),t)for(;;){if(0==g){for(o=1,u=d[0];u>=10;u/=10,o++);for(u=d[0]+=c,c=1;u>=10;u/=10,c++);o!=c&&(e.e++,d[0]==a&&(d[0]=1));break}if(d[g]+=c,d[g]!=a)break;d[g--]=0,c=1}for(o=d.length;0===d[--o];d.pop());}e.e>R?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}return U.clone=e,U.ROUND_UP=0,U.ROUND_DOWN=1,U.ROUND_CEIL=2,U.ROUND_FLOOR=3,U.ROUND_HALF_UP=4,U.ROUND_HALF_DOWN=5,U.ROUND_HALF_EVEN=6,U.ROUND_HALF_CEIL=7,U.ROUND_HALF_FLOOR=8,U.EUCLID=9,U.config=U.set=function(e){var r,n;if(null!=e){if("object"!=typeof e)throw Error(c+"Object expected: "+e);if(e.hasOwnProperty(r="DECIMAL_PLACES")&&(O(n=e[r],0,d,r),A=n),e.hasOwnProperty(r="ROUNDING_MODE")&&(O(n=e[r],0,8,r),k=n),e.hasOwnProperty(r="EXPONENTIAL_AT")&&(y(n=e[r])?(O(n[0],-d,0,r),O(n[1],0,d,r),_=n[0],x=n[1]):(O(n,-d,d,r),_=-(x=n<0?-n:n))),e.hasOwnProperty(r="RANGE"))if(y(n=e[r]))O(n[0],-d,-1,r),O(n[1],1,d,r),P=n[0],R=n[1];else{if(O(n,-d,d,r),!n)throw Error(c+r+" cannot be zero: "+n);P=-(R=n<0?-n:n)}if(e.hasOwnProperty(r="CRYPTO")){if((n=e[r])!==!!n)throw Error(c+r+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw C=!n,Error(c+"crypto unavailable");C=n}else C=n}if(e.hasOwnProperty(r="MODULO_MODE")&&(O(n=e[r],0,9,r),D=n),e.hasOwnProperty(r="POW_PRECISION")&&(O(n=e[r],0,d,r),T=n),e.hasOwnProperty(r="FORMAT")){if("object"!=typeof(n=e[r]))throw Error(c+r+" not an object: "+n);B=n}if(e.hasOwnProperty(r="ALPHABET")){if("string"!=typeof(n=e[r])||/^.$|\.|(.).*\1/.test(n))throw Error(c+r+" invalid: "+n);M=n}}return{DECIMAL_PLACES:A,ROUNDING_MODE:k,EXPONENTIAL_AT:[_,x],RANGE:[P,R],CRYPTO:C,MODULO_MODE:D,POW_PRECISION:T,FORMAT:B,ALPHABET:M}},U.isBigNumber=function(e){return e instanceof U||e&&!0===e._isBigNumber||!1},U.maximum=U.max=function(){return j(arguments,o.lt)},U.minimum=U.min=function(){return j(arguments,o.gt)},U.random=function(){var e=9007199254740992*Math.random()&2097151?function(){return f(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(r){var n,t,i,o,u,l=0,a=[],g=new U(E);if(null==r?r=A:O(r,0,d),o=s(r/h),C)if(crypto.getRandomValues){for(n=crypto.getRandomValues(new Uint32Array(o*=2));l<o;)(u=131072*n[l]+(n[l+1]>>>11))>=9e15?(t=crypto.getRandomValues(new Uint32Array(2)),n[l]=t[0],n[l+1]=t[1]):(a.push(u%1e14),l+=2);l=o/2}else{if(!crypto.randomBytes)throw C=!1,Error(c+"crypto unavailable");for(n=crypto.randomBytes(o*=7);l<o;)(u=281474976710656*(31&n[l])+1099511627776*n[l+1]+4294967296*n[l+2]+16777216*n[l+3]+(n[l+4]<<16)+(n[l+5]<<8)+n[l+6])>=9e15?crypto.randomBytes(7).copy(n,l):(a.push(u%1e14),l+=7);l=o/7}if(!C)for(;l<o;)(u=e())<9e15&&(a[l++]=u%1e14);for(o=a[--l],r%=h,o&&r&&(u=m[h-r],a[l]=f(o/u)*u);0===a[l];a.pop(),l--);if(l<0)a=[i=0];else{for(i=-1;0===a[0];a.splice(0,1),i-=h);for(l=1,u=a[0];u>=10;u/=10,l++);l<h&&(i-=h-l)}return g.e=i,g.c=a,g}}(),t=function(){function e(e,r,n,t){for(var i,o,u=[0],s=0,f=e.length;s<f;){for(o=u.length;o--;u[o]*=r);for(u[0]+=t.indexOf(e.charAt(s++)),i=0;i<u.length;i++)u[i]>n-1&&(null==u[i+1]&&(u[i+1]=0),u[i+1]+=u[i]/n|0,u[i]%=n)}return u.reverse()}return function(r,t,i,o,u){var s,f,c,l,a,h,g,m,p=r.indexOf("."),d=A,w=k;for(p>=0&&(l=T,T=0,r=r.replace(".",""),h=(m=new U(t)).pow(r.length-p),T=l,m.c=e(L(N(h.c),h.e,"0"),10,i,"0123456789"),m.e=m.c.length),c=l=(g=e(r,t,i,u?(s=M,"0123456789"):(s="0123456789",M))).length;0==g[--l];g.pop());if(!g[0])return s.charAt(0);if(p<0?--c:(h.c=g,h.e=c,h.s=o,g=(h=n(h,m,d,w,i)).c,a=h.r,c=h.e),p=g[f=c+d+1],l=i/2,a=a||f<0||null!=g[f+1],a=w<4?(null!=p||a)&&(0==w||w==(h.s<0?3:2)):p>l||p==l&&(4==w||a||6==w&&1&g[f-1]||w==(h.s<0?8:7)),f<1||!g[0])r=a?L(s.charAt(1),-d,s.charAt(0)):s.charAt(0);else{if(g.length=f,a)for(--i;++g[--f]>i;)g[f]=0,f||(++c,g=[1].concat(g));for(l=g.length;!g[--l];);for(p=0,r="";p<=l;r+=s.charAt(g[p++]));r=L(r,c,s.charAt(0))}return r}}(),n=function(){function e(e,r,n){var t,i,o,u,s=0,f=e.length,c=r%p,l=r/p|0;for(e=e.slice();f--;)s=((i=c*(o=e[f]%p)+(t=l*o+(u=e[f]/p|0)*c)%p*p+s)/n|0)+(t/p|0)+l*u,e[f]=i%n;return s&&(e=[s].concat(e)),e}function r(e,r,n,t){var i,o;if(n!=t)o=n>t?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=r[i]){o=e[i]>r[i]?1:-1;break}return o}function n(e,r,n,t){for(var i=0;n--;)e[n]-=i,i=e[n]<r[n]?1:0,e[n]=i*t+e[n]-r[n];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(t,i,o,u,s){var c,l,g,m,p,d,N,v,O,y,S,b,L,E,A,k,_,x=t.s==i.s?1:-1,P=t.c,R=i.c;if(!(P&&P[0]&&R&&R[0]))return new U(t.s&&i.s&&(P?!R||P[0]!=R[0]:R)?P&&0==P[0]||!R?0*x:x/0:NaN);for(O=(v=new U(x)).c=[],x=o+(l=t.e-i.e)+1,s||(s=a,l=w(t.e/h)-w(i.e/h),x=x/h|0),g=0;R[g]==(P[g]||0);g++);if(R[g]>(P[g]||0)&&l--,x<0)O.push(1),m=!0;else{for(E=P.length,k=R.length,g=0,x+=2,(p=f(s/(R[0]+1)))>1&&(R=e(R,p,s),P=e(P,p,s),k=R.length,E=P.length),L=k,S=(y=P.slice(0,k)).length;S<k;y[S++]=0);_=R.slice(),_=[0].concat(_),A=R[0],R[1]>=s/2&&A++;do{if(p=0,(c=r(R,y,k,S))<0){if(b=y[0],k!=S&&(b=b*s+(y[1]||0)),(p=f(b/A))>1)for(p>=s&&(p=s-1),N=(d=e(R,p,s)).length,S=y.length;1==r(d,y,N,S);)p--,n(d,k<N?_:R,N,s),N=d.length,c=1;else 0==p&&(c=p=1),N=(d=R.slice()).length;if(N<S&&(d=[0].concat(d)),n(y,d,S,s),S=y.length,-1==c)for(;r(R,y,k,S)<1;)p++,n(y,k<S?_:R,S,s),S=y.length}else 0===c&&(p++,y=[0]);O[g++]=p,y[0]?y[S++]=P[L]||0:(y=[P[L]],S=1)}while((L++<E||null!=y[0])&&x--);m=null!=y[0],O[0]||O.splice(0,1)}if(s==a){for(g=1,x=O[0];x>=10;x/=10,g++);F(v,o+(v.e=g+l*h-1)+1,u,m)}else v.e=l,v.r=+m;return v}}(),i=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,r=/^([^.]+)\.$/,n=/^\.([^.]+)$/,t=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,u,s,f){var l,a=s?u:u.replace(i,"");if(t.test(a))o.s=isNaN(a)?null:a<0?-1:1,o.c=o.e=null;else{if(!s&&(a=a.replace(e,function(e,r,n){return l="x"==(n=n.toLowerCase())?16:"b"==n?2:8,f&&f!=l?e:r}),f&&(l=f,a=a.replace(r,"$1").replace(n,"0.$1")),u!=a))return new U(a,l);if(U.DEBUG)throw Error(c+"Not a"+(f?" base "+f:"")+" number: "+u);o.c=o.e=o.s=null}}}(),o.absoluteValue=o.abs=function(){var e=new U(this);return e.s<0&&(e.s=1),e},o.comparedTo=function(e,r){return v(this,new U(e,r))},o.decimalPlaces=o.dp=function(e,r){var n,t,i,o=this;if(null!=e)return O(e,0,d),null==r?r=k:O(r,0,8),F(new U(o),e+o.e+1,r);if(!(n=o.c))return null;if(t=((i=n.length-1)-w(this.e/h))*h,i=n[i])for(;i%10==0;i/=10,t--);return t<0&&(t=0),t},o.dividedBy=o.div=function(e,r){return n(this,new U(e,r),A,k)},o.dividedToIntegerBy=o.idiv=function(e,r){return n(this,new U(e,r),0,1)},o.exponentiatedBy=o.pow=function(e,r){var n,t,i,o,u,l,a,g=this;if((e=new U(e)).c&&!e.isInteger())throw Error(c+"Exponent not an integer: "+e);if(null!=r&&(r=new U(r)),o=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return a=new U(Math.pow(+g.valueOf(),o?2-S(e):+e)),r?a.mod(r):a;if(u=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new U(NaN);(t=!u&&g.isInteger()&&r.isInteger())&&(g=g.mod(r))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||o&&g.c[1]>=24e7:g.c[0]<8e13||o&&g.c[0]<=9999975e7)))return i=g.s<0&&S(e)?-0:0,g.e>-1&&(i=1/i),new U(u?1/i:i);T&&(i=s(T/h+2))}for(o?(n=new U(.5),l=S(e)):l=e%2,u&&(e.s=1),a=new U(E);;){if(l){if(!(a=a.times(g)).c)break;i?a.c.length>i&&(a.c.length=i):t&&(a=a.mod(r))}if(o){if(F(e=e.times(n),e.e+1,1),!e.c[0])break;o=e.e>14,l=S(e)}else{if(!(e=f(e/2)))break;l=e%2}g=g.times(g),i?g.c&&g.c.length>i&&(g.c.length=i):t&&(g=g.mod(r))}return t?a:(u&&(a=E.div(a)),r?a.mod(r):i?F(a,T,k,void 0):a)},o.integerValue=function(e){var r=new U(this);return null==e?e=k:O(e,0,8),F(r,r.e+1,e)},o.isEqualTo=o.eq=function(e,r){return 0===v(this,new U(e,r))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(e,r){return v(this,new U(e,r))>0},o.isGreaterThanOrEqualTo=o.gte=function(e,r){return 1===(r=v(this,new U(e,r)))||0===r},o.isInteger=function(){return!!this.c&&w(this.e/h)>this.c.length-2},o.isLessThan=o.lt=function(e,r){return v(this,new U(e,r))<0},o.isLessThanOrEqualTo=o.lte=function(e,r){return-1===(r=v(this,new U(e,r)))||0===r},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(e,r){var n,t,i,o,u=this,s=u.s;if(r=(e=new U(e,r)).s,!s||!r)return new U(NaN);if(s!=r)return e.s=-r,u.plus(e);var f=u.e/h,c=e.e/h,l=u.c,g=e.c;if(!f||!c){if(!l||!g)return l?(e.s=-r,e):new U(g?u:NaN);if(!l[0]||!g[0])return g[0]?(e.s=-r,e):new U(l[0]?u:3==k?-0:0)}if(f=w(f),c=w(c),l=l.slice(),s=f-c){for((o=s<0)?(s=-s,i=l):(c=f,i=g),i.reverse(),r=s;r--;i.push(0));i.reverse()}else for(t=(o=(s=l.length)<(r=g.length))?s:r,s=r=0;r<t;r++)if(l[r]!=g[r]){o=l[r]<g[r];break}if(o&&(i=l,l=g,g=i,e.s=-e.s),(r=(t=g.length)-(n=l.length))>0)for(;r--;l[n++]=0);for(r=a-1;t>s;){if(l[--t]<g[t]){for(n=t;n&&!l[--n];l[n]=r);--l[n],l[t]+=a}l[t]-=g[t]}for(;0==l[0];l.splice(0,1),--c);return l[0]?G(e,l,c):(e.s=3==k?-1:1,e.c=[e.e=0],e)},o.modulo=o.mod=function(e,r){var t,i,o=this;return e=new U(e,r),!o.c||!e.s||e.c&&!e.c[0]?new U(NaN):!e.c||o.c&&!o.c[0]?new U(o):(9==D?(i=e.s,e.s=1,t=n(o,e,0,3),e.s=i,t.s*=i):t=n(o,e,0,D),(e=o.minus(t.times(e))).c[0]||1!=D||(e.s=o.s),e)},o.multipliedBy=o.times=function(e,r){var n,t,i,o,u,s,f,c,l,g,m,d,N,v,O,y=this,S=y.c,b=(e=new U(e,r)).c;if(!(S&&b&&S[0]&&b[0]))return!y.s||!e.s||S&&!S[0]&&!b||b&&!b[0]&&!S?e.c=e.e=e.s=null:(e.s*=y.s,S&&b?(e.c=[0],e.e=0):e.c=e.e=null),e;for(t=w(y.e/h)+w(e.e/h),e.s*=y.s,(f=S.length)<(g=b.length)&&(N=S,S=b,b=N,i=f,f=g,g=i),i=f+g,N=[];i--;N.push(0));for(v=a,O=p,i=g;--i>=0;){for(n=0,m=b[i]%O,d=b[i]/O|0,o=i+(u=f);o>i;)n=((c=m*(c=S[--u]%O)+(s=d*c+(l=S[u]/O|0)*m)%O*O+N[o]+n)/v|0)+(s/O|0)+d*l,N[o--]=c%v;N[o]=n}return n?++t:N.splice(0,1),G(e,N,t)},o.negated=function(){var e=new U(this);return e.s=-e.s||null,e},o.plus=function(e,r){var n,t=this,i=t.s;if(r=(e=new U(e,r)).s,!i||!r)return new U(NaN);if(i!=r)return e.s=-r,t.minus(e);var o=t.e/h,u=e.e/h,s=t.c,f=e.c;if(!o||!u){if(!s||!f)return new U(i/0);if(!s[0]||!f[0])return f[0]?e:new U(s[0]?t:0*i)}if(o=w(o),u=w(u),s=s.slice(),i=o-u){for(i>0?(u=o,n=f):(i=-i,n=s),n.reverse();i--;n.push(0));n.reverse()}for((i=s.length)-(r=f.length)<0&&(n=f,f=s,s=n,r=i),i=0;r;)i=(s[--r]=s[r]+f[r]+i)/a|0,s[r]=a===s[r]?0:s[r]%a;return i&&(s=[i].concat(s),++u),G(e,s,u)},o.precision=o.sd=function(e,r){var n,t,i,o=this;if(null!=e&&e!==!!e)return O(e,1,d),null==r?r=k:O(r,0,8),F(new U(o),e,r);if(!(n=o.c))return null;if(t=(i=n.length-1)*h+1,i=n[i]){for(;i%10==0;i/=10,t--);for(i=n[0];i>=10;i/=10,t++);}return e&&o.e+1>t&&(t=o.e+1),t},o.shiftedBy=function(e){return O(e,-g,g),this.times("1e"+e)},o.squareRoot=o.sqrt=function(){var e,r,t,i,o,u=this,s=u.c,f=u.s,c=u.e,l=A+4,a=new U("0.5");if(1!==f||!s||!s[0])return new U(!f||f<0&&(!s||s[0])?NaN:s?u:1/0);if(0==(f=Math.sqrt(+u))||f==1/0?(((r=N(s)).length+c)%2==0&&(r+="0"),f=Math.sqrt(r),c=w((c+1)/2)-(c<0||c%2),t=new U(r=f==1/0?"1e"+c:(r=f.toExponential()).slice(0,r.indexOf("e")+1)+c)):t=new U(f+""),t.c[0])for((f=(c=t.e)+l)<3&&(f=0);;)if(o=t,t=a.times(o.plus(n(u,o,l,1))),N(o.c).slice(0,f)===(r=N(t.c)).slice(0,f)){if(t.e<c&&--f,"9999"!=(r=r.slice(f-3,f+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(F(t,t.e+A+2,1),e=!t.times(t).eq(u));break}if(!i&&(F(o,o.e+A+2,0),o.times(o).eq(u))){t=o;break}l+=4,f+=4,i=1}return F(t,t.e+A+1,k,e)},o.toExponential=function(e,r){return null!=e&&(O(e,0,d),e++),I(this,e,r,1)},o.toFixed=function(e,r){return null!=e&&(O(e,0,d),e=e+this.e+1),I(this,e,r)},o.toFormat=function(e,r){var n=this.toFixed(e,r);if(this.c){var t,i=n.split("."),o=+B.groupSize,u=+B.secondaryGroupSize,s=B.groupSeparator,f=i[0],c=i[1],l=this.s<0,a=l?f.slice(1):f,h=a.length;if(u&&(t=o,o=u,u=t,h-=t),o>0&&h>0){for(t=h%o||o,f=a.substr(0,t);t<h;t+=o)f+=s+a.substr(t,o);u>0&&(f+=s+a.slice(t)),l&&(f="-"+f)}n=c?f+B.decimalSeparator+((u=+B.fractionGroupSize)?c.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+B.fractionGroupSeparator):c):f}return n},o.toFraction=function(e){var r,t,i,o,u,s,f,l,a,g,p,d,w=this,v=w.c;if(null!=e&&(!(l=new U(e)).isInteger()&&(l.c||1!==l.s)||l.lt(E)))throw Error(c+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+e);if(!v)return w.toString();for(t=new U(E),g=i=new U(E),o=a=new U(E),d=N(v),s=t.e=d.length-w.e-1,t.c[0]=m[(f=s%h)<0?h+f:f],e=!e||l.comparedTo(t)>0?s>0?t:g:l,f=R,R=1/0,l=new U(d),a.c[0]=0;p=n(l,t,0,1),1!=(u=i.plus(p.times(o))).comparedTo(e);)i=o,o=u,g=a.plus(p.times(u=g)),a=u,t=l.minus(p.times(u=t)),l=u;return u=n(e.minus(i),o,0,1),a=a.plus(u.times(g)),i=i.plus(u.times(o)),a.s=g.s=w.s,r=n(g,o,s*=2,k).minus(w).abs().comparedTo(n(a,i,s,k).minus(w).abs())<1?[g.toString(),o.toString()]:[a.toString(),i.toString()],R=f,r},o.toNumber=function(){return+this},o.toPrecision=function(e,r){return null!=e&&O(e,1,d),I(this,e,r,2)},o.toString=function(e){var r,n=this,i=n.s,o=n.e;return null===o?i?(r="Infinity",i<0&&(r="-"+r)):r="NaN":(r=N(n.c),null==e?r=o<=_||o>=x?b(r,o):L(r,o,"0"):(O(e,2,M.length,"Base"),r=t(L(r,o,"0"),10,e,i,!0)),i<0&&n.c[0]&&(r="-"+r)),r},o.valueOf=o.toJSON=function(){var e,r=this,n=r.e;return null===n?r.toString():(e=N(r.c),e=n<=_||n>=x?b(e,n):L(e,n,"0"),r.s<0?"-"+e:e)},o._isBigNumber=!0,null!=r&&U.set(r),U}()).default=o.BigNumber=o,void 0===(t=function(){return o}.call(r,n,r,e))||(e.exports=t)}()},function(e,r,n){"use strict";e.exports={O2:{kg:{L:.876,Nm3:.7,Sm3:.789},L:{kg:1.141,Nm3:.799,Sm3:.901},Nm3:{kg:1.429,L:1.252,Sm3:1.128},Sm3:{kg:1.267,L:1.11,Nm3:.886}},N2:{kg:{L:1.237,Nm3:.8,Sm3:.902},L:{kg:.809,Nm3:.646,Sm3:.729},Nm3:{kg:1.251,L:1.547,Sm3:1.128},Sm3:{kg:1.109,L:1.371,Nm3:.886}},Ar:{kg:{L:.715,Nm3:.561,Sm3:.633},L:{kg:1.398,Nm3:.784,Sm3:.885},Nm3:{kg:1.783,L:1.275,Sm3:1.128},Sm3:{kg:1.58,L:1.13,Nm3:.886}},H2:{kg:{L:14.1,Nm3:11.14,Sm3:12.56},L:{kg:.071,Nm3:.79,Sm3:.891},Nm3:{kg:.09,L:1.267,Sm3:1.128},Sm3:{kg:.08,L:1.122,Nm3:.886}},CO2:{kg:{L:.971,Nm3:.506,Sm3:.571},L:{kg:1.03,Nm3:.506,Sm3:.588},Nm3:{kg:1.977,L:1.919,Sm3:1.128},Sm3:{kg:1.752,L:1.701,Nm3:.886}},He:{kg:{L:8.013,Nm3:5.602,Sm3:6.32},L:{kg:.125,Nm3:.699,Sm3:.789},Nm3:{kg:.179,L:1.43,Sm3:1.128},Sm3:{kg:.158,L:1.268,Nm3:.886}},C2H2:{kg:{L:null,Nm3:.851,Sm3:.898},L:{kg:null,Nm3:null,Sm3:null},Nm3:{kg:1.175,L:null,Sm3:1.128},Sm3:{kg:1.114,L:null,Nm3:.886}}}}])});
{
"name": "guc",
"version": "1.0.0",
"version": "1.0.1",
"description": "Gas Unit Converter",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,4 +27,3 @@ const path = require('path');

libraryTarget: 'umd',
globalObject : 'this'
},
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc