@alephium/get-extension-wallet 0.5.0-rc0 → 0.6.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/getAlephium.d.ts +6 -15
- package/dist/getAlephium.d.ts.map +1 -1
- package/dist/index.d.ts +3 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -43
- package/dist/knownProviders.d.ts +5 -0
- package/dist/knownProviders.d.ts.map +1 -0
- package/dist/types.d.ts +12 -124
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -10
- package/dist/configs/defaultWallet.d.ts +0 -4
- package/dist/configs/defaultWallet.d.ts.map +0 -1
- package/dist/configs/lastConnected.d.ts +0 -4
- package/dist/configs/lastConnected.d.ts.map +0 -1
- package/dist/configs/storageWrapper.d.ts +0 -10
- package/dist/configs/storageWrapper.d.ts.map +0 -1
- package/dist/discovery/index.d.ts +0 -4
- package/dist/discovery/index.d.ts.map +0 -1
- package/dist/modal/index.d.ts +0 -4
- package/dist/modal/index.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -15
- package/dist/utils.d.ts.map +0 -1
package/dist/getAlephium.d.ts
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
getAlephium: () => AlephiumWindowObject;
|
|
8
|
-
getInstalledWallets(options?: Omit<GetAlephiumWalletOptions, 'showList' | 'modalOptions'>): Promise<AlephiumWindowObject[]>;
|
|
9
|
-
}
|
|
10
|
-
export declare const gaw: GetAlephiumWallet;
|
|
11
|
-
export declare const getAlephium: () => AlephiumWindowObject;
|
|
12
|
-
export declare const connect: (options?: GetAlephiumWalletOptions) => Promise<AlephiumWindowObject | undefined>;
|
|
13
|
-
export declare const disconnect: (options?: DisconnectOptions) => boolean;
|
|
14
|
-
export declare const getInstalledWallets: (options?: Omit<GetAlephiumWalletOptions, 'showList' | 'modalOptions'>) => Promise<AlephiumWindowObject[]>;
|
|
15
|
-
export * from './types';
|
|
1
|
+
import { AlephiumWindowObject, WalletProvider } from "./types";
|
|
2
|
+
export declare function getDefaultAlephiumWallet(): Promise<AlephiumWindowObject | undefined>;
|
|
3
|
+
export declare function scanKnownWallets(): Promise<AlephiumWindowObject[]>;
|
|
4
|
+
export declare function getKnownWallet(provider: WalletProvider): Promise<AlephiumWindowObject | undefined>;
|
|
5
|
+
export declare function getWalletObject(id: string): AlephiumWindowObject | undefined;
|
|
6
|
+
export declare function isWalletObj(wallet: any): boolean;
|
|
16
7
|
//# sourceMappingURL=getAlephium.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlephium.d.ts","sourceRoot":"","sources":["../src/getAlephium.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAlephium.d.ts","sourceRoot":"","sources":["../src/getAlephium.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAA4B,cAAc,EAAE,MAAM,SAAS,CAAA;AAExF,wBAAgB,wBAAwB,IAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAEpF;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CASxE;AAED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAa3C;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAa5E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAuBhD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
/**
|
|
5
|
-
* Get the Alephium window object.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Please use the connect export and the returned wallet object instead.
|
|
8
|
-
* @returns {Promise<AlephiumWindowObject>}
|
|
9
|
-
*/
|
|
10
|
-
export declare const getAlephium: () => AlephiumWindowObject;
|
|
11
|
-
/**
|
|
12
|
-
* Connect to a Alephium wallet.
|
|
13
|
-
*
|
|
14
|
-
* @param {GetAlephiumWalletOptions} [options]
|
|
15
|
-
* @returns {Promise<AlephiumWindowObject>}
|
|
16
|
-
*/
|
|
17
|
-
export declare const connect: (options?: GetAlephiumWalletOptions) => Promise<AlephiumWindowObject | undefined>;
|
|
18
|
-
/**
|
|
19
|
-
* Disconnect to a Alephium wallet.
|
|
20
|
-
*
|
|
21
|
-
* @param {DisconnectOptions} [options]
|
|
22
|
-
* @returns {boolean}
|
|
23
|
-
*/
|
|
24
|
-
export declare const disconnect: (options?: DisconnectOptions) => boolean;
|
|
1
|
+
export * from "./types";
|
|
2
|
+
export * from "./knownProviders";
|
|
3
|
+
export * from "./getAlephium";
|
|
25
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,43 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* [wrapped with `+o+`] */
|
|
3
|
-
`)}(r,function(i,o){return $e(kc,function(a){var s="_."+a[0];o&a[1]&&!Wt(i,s)&&i.push(s)}),i.sort()}(function(i){var o=i.match(Ac);return o?o[1].split(Oc):[]}(r),t)))}function bo(e,n,t,r,i,o,a,s,u,c){var d=8&n;n|=d?32:64,4&(n&=~(d?64:32))||(n&=-4);var f=[e,n,i,d?o:void 0,d?a:void 0,d?void 0:o,d?void 0:a,s,u,c],h=t.apply(void 0,f);return Ir(e)&&go(h,f),h.placeholder=r,yo(h,e,n)}function Gn(e){return e.placeholder}var $c=/^(?:0|[1-9]\d*)$/;function an(e,n){var t=typeof e;return!!(n=n??9007199254740991)&&(t=="number"||t!="symbol"&&$c.test(e))&&e>-1&&e%1==0&&e<n}var Nc=Math.min;function Lc(e,n){for(var t=e.length,r=Nc(n.length,t),i=ve(e);r--;){var o=n[r];e[r]=an(o,t)?i[o]:void 0}return e}var _o="__lodash_placeholder__";function mn(e,n){for(var t=-1,r=e.length,i=0,o=[];++t<r;){var a=e[t];a!==n&&a!==_o||(e[t]=_o,o[i++]=t)}return o}function Ft(e,n,t,r,i,o,a,s,u,c){var d=128&n,f=1&n,h=2&n,p=24&n,g=512&n,m=h?void 0:pt(e);return function v(){for(var _=arguments.length,b=Array(_),y=_;y--;)b[y]=arguments[y];if(p)var x=Gn(v),M=wc(b,x);if(r&&(b=fo(b,r,i,p)),o&&(b=po(b,o,a,p)),_-=M,p&&_<c){var k=mn(b,x);return bo(e,n,Ft,v.placeholder,t,b,k,s,u,c-_)}var I=f?t:this,w=h?I[e]:e;return _=b.length,s?b=Lc(b,s):g&&_>1&&b.reverse(),d&&u<_&&(b.length=u),this&&this!==ie&&this instanceof v&&(w=m||pt(w)),w.apply(I,b)}}var wo="__lodash_placeholder__",$r=128,Ec=Math.min,xo=Math.max;function un(e,n,t,r,i,o,a,s){var u=2&n;if(!u&&typeof e!="function")throw new TypeError("Expected a function");var c=r?r.length:0;if(c||(n&=-97,r=i=void 0),a=a===void 0?a:xo(z(a),0),s=s===void 0?s:z(s),c-=i?i.length:0,64&n){var d=r,f=i;r=i=void 0}var h=u?void 0:Or(e),p=[e,n,t,r,i,d,f,o,a,s];if(h&&function(m,v){var _=m[1],b=v[1],y=_|b,x=y<131,M=b==$r&&_==8||b==$r&&_==256&&m[7].length<=v[8]||b==384&&v[7].length<=v[8]&&_==8;if(!x&&!M)return m;1&b&&(m[2]=v[2],y|=1&_?0:4);var k=v[3];if(k){var I=m[3];m[3]=I?fo(I,k,v[4]):k,m[4]=I?mn(m[3],wo):v[4]}(k=v[5])&&(I=m[5],m[5]=I?po(I,k,v[6]):k,m[6]=I?mn(m[5],wo):v[6]),(k=v[7])&&(m[7]=k),b&$r&&(m[8]=m[8]==null?v[8]:Ec(m[8],v[8])),m[9]==null&&(m[9]=v[9]),m[0]=v[0],m[1]=y}(p,h),e=p[0],n=p[1],t=p[2],r=p[3],i=p[4],!(s=p[9]=p[9]===void 0?u?0:e.length:xo(p[9]-c,0))&&24&n&&(n&=-25),n&&n!=1)g=n==8||n==16?function(m,v,_){var b=pt(m);return function y(){for(var x=arguments.length,M=Array(x),k=x,I=Gn(y);k--;)M[k]=arguments[k];var w=x<3&&M[0]!==I&&M[x-1]!==I?[]:mn(M,I);return(x-=w.length)<_?bo(m,v,Ft,y.placeholder,void 0,M,w,void 0,void 0,_-x):Ae(this&&this!==ie&&this instanceof y?b:m,this,M)}}(e,n,s):n!=32&&n!=33||i.length?Ft.apply(void 0,p):function(m,v,_,b){var y=1&v,x=pt(m);return function M(){for(var k=-1,I=arguments.length,w=-1,$=b.length,H=Array($+I),Y=this&&this!==ie&&this instanceof M?x:m;++w<$;)H[w]=b[w];for(;I--;)H[w++]=arguments[++k];return Ae(Y,y?_:this,H)}}(e,n,t,r);else var g=function(m,v,_){var b=1&v,y=pt(m);return function x(){return(this&&this!==ie&&this instanceof x?y:m).apply(b?_:this,arguments)}}(e,n,t);return yo((h?co:go)(g,p),e,n)}function Mo(e,n,t){return n=t?void 0:n,un(e,128,void 0,void 0,void 0,void 0,n=e&&n==null?e.length:n)}function cn(e,n,t){n=="__proto__"&&Bt?Bt(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function We(e,n){return e===n||e!=e&&n!=n}var Tc=Object.prototype.hasOwnProperty;function ht(e,n,t){var r=e[n];Tc.call(e,n)&&We(r,t)&&(t!==void 0||n in e)||cn(e,n,t)}function Ye(e,n,t,r){var i=!t;t||(t={});for(var o=-1,a=n.length;++o<a;){var s=n[o],u=r?r(t[s],e[s],s,t,e):void 0;u===void 0&&(u=e[s]),i?cn(t,s,u):ht(t,s,u)}return t}var jo=Math.max;function Ao(e,n,t){return n=jo(n===void 0?e.length-1:n,0),function(){for(var r=arguments,i=-1,o=jo(r.length-n,0),a=Array(o);++i<o;)a[i]=r[n+i];i=-1;for(var s=Array(n+1);++i<n;)s[i]=r[i];return s[n]=t(a),Ae(e,this,s)}}function D(e,n){return kr(Ao(e,n,le),e+"")}function Ut(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991}function ge(e){return e!=null&&Ut(e.length)&&!sn(e)}function fe(e,n,t){if(!K(t))return!1;var r=typeof n;return!!(r=="number"?ge(t)&&an(n,t.length):r=="string"&&n in t)&&We(t[n],e)}function Hn(e){return D(function(n,t){var r=-1,i=t.length,o=i>1?t[i-1]:void 0,a=i>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&fe(t[0],t[1],a)&&(o=i<3?void 0:o,i=1),n=Object(n);++r<i;){var s=t[r];s&&e(n,s,r,o)}return n})}var zc=Object.prototype;function vt(e){var n=e&&e.constructor;return e===(typeof n=="function"&&n.prototype||zc)}function Nr(e,n){for(var t=-1,r=Array(e);++t<e;)r[t]=n(t);return r}function Oo(e){return X(e)&&ce(e)=="[object Arguments]"}var Io=Object.prototype,Pc=Io.hasOwnProperty,Cc=Io.propertyIsEnumerable,Nn=Oo(function(){return arguments}())?Oo:function(e){return X(e)&&Pc.call(e,"callee")&&!Cc.call(e,"callee")};function Lr(){return!1}var So=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ko=So&&typeof module=="object"&&module&&!module.nodeType&&module,$o=ko&&ko.exports===So?ie.Buffer:void 0,yn=($o?$o.isBuffer:void 0)||Lr,q={};function Oe(e){return function(n){return e(n)}}q["[object Float32Array]"]=q["[object Float64Array]"]=q["[object Int8Array]"]=q["[object Int16Array]"]=q["[object Int32Array]"]=q["[object Uint8Array]"]=q["[object Uint8ClampedArray]"]=q["[object Uint16Array]"]=q["[object Uint32Array]"]=!0,q["[object Arguments]"]=q["[object Array]"]=q["[object ArrayBuffer]"]=q["[object Boolean]"]=q["[object DataView]"]=q["[object Date]"]=q["[object Error]"]=q["[object Function]"]=q["[object Map]"]=q["[object Number]"]=q["[object Object]"]=q["[object RegExp]"]=q["[object Set]"]=q["[object String]"]=q["[object WeakMap]"]=!1;var No=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gt=No&&typeof module=="object"&&module&&!module.nodeType&&module,Er=gt&>.exports===No&&Ki.process,Ne=function(){try{var e=gt&>.require&>.require("util").types;return e||Er&&Er.binding&&Er.binding("util")}catch{}}(),Lo=Ne&&Ne.isTypedArray,Qn=Lo?Oe(Lo):function(e){return X(e)&&Ut(e.length)&&!!q[ce(e)]},Dc=Object.prototype.hasOwnProperty;function Eo(e,n){var t=T(e),r=!t&&Nn(e),i=!t&&!r&&yn(e),o=!t&&!r&&!i&&Qn(e),a=t||r||i||o,s=a?Nr(e.length,String):[],u=s.length;for(var c in e)!n&&!Dc.call(e,c)||a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||an(c,u))||s.push(c);return s}function To(e,n){return function(t){return e(n(t))}}var Bc=To(Object.keys,Object),Rc=Object.prototype.hasOwnProperty;function Tr(e){if(!vt(e))return Bc(e);var n=[];for(var t in Object(e))Rc.call(e,t)&&t!="constructor"&&n.push(t);return n}function re(e){return ge(e)?Eo(e):Tr(e)}var Wc=Object.prototype.hasOwnProperty,Fc=Hn(function(e,n){if(vt(n)||ge(n))Ye(n,re(n),e);else for(var t in n)Wc.call(n,t)&&ht(e,t,n[t])}),Uc=Object.prototype.hasOwnProperty;function Zc(e){if(!K(e))return function(i){var o=[];if(i!=null)for(var a in Object(i))o.push(a);return o}(e);var n=vt(e),t=[];for(var r in e)(r!="constructor"||!n&&Uc.call(e,r))&&t.push(r);return t}function me(e){return ge(e)?Eo(e,!0):Zc(e)}var zo=Hn(function(e,n){Ye(n,me(n),e)}),Zt=Hn(function(e,n,t,r){Ye(n,me(n),e,r)}),Gc=Hn(function(e,n,t,r){Ye(n,re(n),e,r)}),Hc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qc=/^\w*$/;function zr(e,n){if(T(e))return!1;var t=typeof e;return!(t!="number"&&t!="symbol"&&t!="boolean"&&e!=null&&!Me(e))||Qc.test(e)||!Hc.test(e)||n!=null&&e in Object(n)}var mt=$n(Object,"create"),Yc=Object.prototype.hasOwnProperty,Vc=Object.prototype.hasOwnProperty;function Ln(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}function Gt(e,n){for(var t=e.length;t--;)if(We(e[t][0],n))return t;return-1}Ln.prototype.clear=function(){this.__data__=mt?mt(null):{},this.size=0},Ln.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},Ln.prototype.get=function(e){var n=this.__data__;if(mt){var t=n[e];return t==="__lodash_hash_undefined__"?void 0:t}return Yc.call(n,e)?n[e]:void 0},Ln.prototype.has=function(e){var n=this.__data__;return mt?n[e]!==void 0:Vc.call(n,e)},Ln.prototype.set=function(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=mt&&n===void 0?"__lodash_hash_undefined__":n,this};var qc=Array.prototype.splice;function ln(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}ln.prototype.clear=function(){this.__data__=[],this.size=0},ln.prototype.delete=function(e){var n=this.__data__,t=Gt(n,e);return!(t<0)&&(t==n.length-1?n.pop():qc.call(n,t,1),--this.size,!0)},ln.prototype.get=function(e){var n=this.__data__,t=Gt(n,e);return t<0?void 0:n[t][1]},ln.prototype.has=function(e){return Gt(this.__data__,e)>-1},ln.prototype.set=function(e,n){var t=this.__data__,r=Gt(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this};var yt=$n(ie,"Map");function Ht(e,n){var t,r,i=e.__data__;return((r=typeof(t=n))=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null)?i[typeof n=="string"?"string":"hash"]:i.map}function fn(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(yt||ln),string:new Ln}},fn.prototype.delete=function(e){var n=Ht(this,e).delete(e);return this.size-=n?1:0,n},fn.prototype.get=function(e){return Ht(this,e).get(e)},fn.prototype.has=function(e){return Ht(this,e).has(e)},fn.prototype.set=function(e,n){var t=Ht(this,e),r=t.size;return t.set(e,n),this.size+=t.size==r?0:1,this};function Qt(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new TypeError("Expected a function");var t=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return t.cache=o.set(i,a)||o,a};return t.cache=new(Qt.Cache||fn),t}Qt.Cache=fn;var Jc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kc=/\\(\\)?/g,Po=function(e){var n=Qt(e,function(r){return t.size===500&&t.clear(),r}),t=n.cache;return n}(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Jc,function(t,r,i,o){n.push(i?o.replace(Kc,"$1"):r||t)}),n});function Z(e){return e==null?"":je(e)}function bn(e,n){return T(e)?e:zr(e,n)?[e]:Po(Z(e))}function Ve(e){if(typeof e=="string"||Me(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function En(e,n){for(var t=0,r=(n=bn(n,e)).length;e!=null&&t<r;)e=e[Ve(n[t++])];return t&&t==r?e:void 0}function Pr(e,n,t){var r=e==null?void 0:En(e,n);return r===void 0?t:r}function Cr(e,n){for(var t=-1,r=n.length,i=Array(r),o=e==null;++t<r;)i[t]=o?void 0:Pr(e,n[t]);return i}function _n(e,n){for(var t=-1,r=n.length,i=e.length;++t<r;)e[i+t]=n[t];return e}var Co=ae?ae.isConcatSpreadable:void 0;function Xc(e){return T(e)||Nn(e)||!!(Co&&e&&e[Co])}function oe(e,n,t,r,i){var o=-1,a=e.length;for(t||(t=Xc),i||(i=[]);++o<a;){var s=e[o];n>0&&t(s)?n>1?oe(s,n-1,t,r,i):_n(i,s):r||(i[i.length]=s)}return i}function Do(e){return e!=null&&e.length?oe(e,1):[]}function dn(e){return kr(Ao(e,void 0,Do),e+"")}var el=dn(Cr),Yt=To(Object.getPrototypeOf,Object),nl=Function.prototype,tl=Object.prototype,Bo=nl.toString,rl=tl.hasOwnProperty,il=Bo.call(Object);function Yn(e){if(!X(e)||ce(e)!="[object Object]")return!1;var n=Yt(e);if(n===null)return!0;var t=rl.call(n,"constructor")&&n.constructor;return typeof t=="function"&&t instanceof t&&Bo.call(t)==il}function Dr(e){if(!X(e))return!1;var n=ce(e);return n=="[object Error]"||n=="[object DOMException]"||typeof e.message=="string"&&typeof e.name=="string"&&!Yn(e)}var Ro=D(function(e,n){try{return Ae(e,void 0,n)}catch(t){return Dr(t)?t:new Error(t)}});function Wo(e,n){var t;if(typeof n!="function")throw new TypeError("Expected a function");return e=z(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=void 0),t}}var Vt=D(function(e,n,t){var r=1;if(t.length){var i=mn(t,Gn(Vt));r|=32}return un(e,r,n,t,i)});Vt.placeholder={};var ol=dn(function(e,n){return $e(n,function(t){t=Ve(t),cn(e,t,Vt(e[t],e))}),e}),Br=D(function(e,n,t){var r=3;if(t.length){var i=mn(t,Gn(Br));r|=32}return un(n,r,e,t,i)});function Le(e,n,t){var r=-1,i=e.length;n<0&&(n=-n>i?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+n];return o}function wn(e,n,t){var r=e.length;return t=t===void 0?r:t,!n&&t>=r?e:Le(e,n,t)}Br.placeholder={};var sl=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Vn(e){return sl.test(e)}var Fo="\\ud800-\\udfff",al="["+Fo+"]",Rr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Wr="\\ud83c[\\udffb-\\udfff]",Uo="[^"+Fo+"]",Zo="(?:\\ud83c[\\udde6-\\uddff]){2}",Go="[\\ud800-\\udbff][\\udc00-\\udfff]",Ho="(?:"+Rr+"|"+Wr+")?",Qo="[\\ufe0e\\ufe0f]?",ul=Qo+Ho+("(?:\\u200d(?:"+[Uo,Zo,Go].join("|")+")"+Qo+Ho+")*"),cl="(?:"+[Uo+Rr+"?",Rr,Zo,Go,al].join("|")+")",ll=RegExp(Wr+"(?="+Wr+")|"+cl+ul,"g");function Fe(e){return Vn(e)?function(n){return n.match(ll)||[]}(e):function(n){return n.split("")}(e)}function Yo(e){return function(n){var t=Vn(n=Z(n))?Fe(n):void 0,r=t?t[0]:n.charAt(0),i=t?wn(t,1).join(""):n.slice(1);return r[e]()+i}}var Fr=Yo("toUpperCase");function Vo(e){return Fr(Z(e).toLowerCase())}function Ur(e,n,t,r){var i=-1,o=e==null?0:e.length;for(r&&o&&(t=e[++i]);++i<o;)t=n(t,e[i],i,e);return t}function Zr(e){return function(n){return e?.[n]}}var fl=Zr({\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),dl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pl=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function qo(e){return(e=Z(e))&&e.replace(dl,fl).replace(pl,"")}var hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Jo="\\ud800-\\udfff",Ko="\\u2700-\\u27bf",Xo="a-z\\xdf-\\xf6\\xf8-\\xff",es="A-Z\\xc0-\\xd6\\xd8-\\xde",ns="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ts="["+ns+"]",rs="\\d+",gl="["+Ko+"]",is="["+Xo+"]",os="[^"+Jo+ns+rs+Ko+Xo+es+"]",ss="(?:\\ud83c[\\udde6-\\uddff]){2}",as="[\\ud800-\\udbff][\\udc00-\\udfff]",qn="["+es+"]",us="(?:"+is+"|"+os+")",ml="(?:"+qn+"|"+os+")",cs="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ls="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",fs="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ds="[\\ufe0e\\ufe0f]?",yl=ds+fs+("(?:\\u200d(?:"+["[^"+Jo+"]",ss,as].join("|")+")"+ds+fs+")*"),bl="(?:"+[gl,ss,as].join("|")+")"+yl,_l=RegExp([qn+"?"+is+"+"+cs+"(?="+[ts,qn,"$"].join("|")+")",ml+"+"+ls+"(?="+[ts,qn+us,"$"].join("|")+")",qn+"?"+us+"+"+cs,qn+"+"+ls,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rs,bl].join("|"),"g");function ps(e,n,t){return e=Z(e),(n=t?void 0:n)===void 0?function(r){return vl.test(r)}(e)?function(r){return r.match(_l)||[]}(e):function(r){return r.match(hl)||[]}(e):e.match(n)||[]}var wl=RegExp("['\u2019]","g");function Jn(e){return function(n){return Ur(ps(qo(n).replace(wl,"")),e,"")}}var xl=Jn(function(e,n,t){return n=n.toLowerCase(),e+(t?Vo(n):n)}),Ml=ie.isFinite,jl=Math.min;function Gr(e){var n=Math[e];return function(t,r){if(t=Se(t),(r=r==null?0:jl(z(r),292))&&Ml(t)){var i=(Z(t)+"e").split("e");return+((i=(Z(n(i[0]+"e"+(+i[1]+r)))+"e").split("e"))[0]+"e"+(+i[1]-r))}return n(t)}}var Al=Gr("ceil");function hs(e){var n=l(e);return n.__chain__=!0,n}var Ol=Math.ceil,Il=Math.max;function Tn(e,n,t){return e==e&&(t!==void 0&&(e=e<=t?e:t),n!==void 0&&(e=e>=n?e:n)),e}function Ue(e){var n=this.__data__=new ln(e);this.size=n.size}function vs(e,n){return e&&Ye(n,re(n),e)}Ue.prototype.clear=function(){this.__data__=new ln,this.size=0},Ue.prototype.delete=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},Ue.prototype.get=function(e){return this.__data__.get(e)},Ue.prototype.has=function(e){return this.__data__.has(e)},Ue.prototype.set=function(e,n){var t=this.__data__;if(t instanceof ln){var r=t.__data__;if(!yt||r.length<199)return r.push([e,n]),this.size=++t.size,this;t=this.__data__=new fn(r)}return t.set(e,n),this.size=t.size,this};var gs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ms=gs&&typeof module=="object"&&module&&!module.nodeType&&module,ys=ms&&ms.exports===gs?ie.Buffer:void 0,bs=ys?ys.allocUnsafe:void 0;function _s(e,n){if(n)return e.slice();var t=e.length,r=bs?bs(t):new e.constructor(t);return e.copy(r),r}function xn(e,n){for(var t=-1,r=e==null?0:e.length,i=0,o=[];++t<r;){var a=e[t];n(a,t,e)&&(o[i++]=a)}return o}function Hr(){return[]}var Sl=Object.prototype.propertyIsEnumerable,ws=Object.getOwnPropertySymbols,Qr=ws?function(e){return e==null?[]:(e=Object(e),xn(ws(e),function(n){return Sl.call(e,n)}))}:Hr,xs=Object.getOwnPropertySymbols?function(e){for(var n=[];e;)_n(n,Qr(e)),e=Yt(e);return n}:Hr;function Ms(e,n,t){var r=n(e);return T(e)?r:_n(r,t(e))}function Yr(e){return Ms(e,re,Qr)}function Vr(e){return Ms(e,me,xs)}var qr=$n(ie,"DataView"),Jr=$n(ie,"Promise"),Kn=$n(ie,"Set"),js="[object Map]",As="[object Promise]",Os="[object Set]",Is="[object WeakMap]",Ss="[object DataView]",kl=kn(qr),$l=kn(yt),Nl=kn(Jr),Ll=kn(Kn),El=kn(dt),zn=ce;(qr&&zn(new qr(new ArrayBuffer(1)))!=Ss||yt&&zn(new yt)!=js||Jr&&zn(Jr.resolve())!=As||Kn&&zn(new Kn)!=Os||dt&&zn(new dt)!=Is)&&(zn=function(e){var n=ce(e),t=n=="[object Object]"?e.constructor:void 0,r=t?kn(t):"";if(r)switch(r){case kl:return Ss;case $l:return js;case Nl:return As;case Ll:return Os;case El:return Is}return n});var qe=zn,Tl=Object.prototype.hasOwnProperty,qt=ie.Uint8Array;function Kr(e){var n=new e.constructor(e.byteLength);return new qt(n).set(new qt(e)),n}var zl=/\w*$/,ks=ae?ae.prototype:void 0,$s=ks?ks.valueOf:void 0;function Ns(e,n){var t=n?Kr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function Pl(e,n,t){var r,i=e.constructor;switch(n){case"[object ArrayBuffer]":return Kr(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return function(o,a){var s=a?Kr(o.buffer):o.buffer;return new o.constructor(s,o.byteOffset,o.byteLength)}(e,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Ns(e,t);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return function(o){var a=new o.constructor(o.source,zl.exec(o));return a.lastIndex=o.lastIndex,a}(e);case"[object Symbol]":return r=e,$s?Object($s.call(r)):{}}}function Ls(e){return typeof e.constructor!="function"||vt(e)?{}:Fn(Yt(e))}var Es=Ne&&Ne.isMap,Ts=Es?Oe(Es):function(e){return X(e)&&qe(e)=="[object Map]"},zs=Ne&&Ne.isSet,Ps=zs?Oe(zs):function(e){return X(e)&&qe(e)=="[object Set]"},Cs="[object Arguments]",Ds="[object Function]",Bs="[object Object]",V={};function Ee(e,n,t,r,i,o){var a,s=1&n,u=2&n,c=4&n;if(t&&(a=i?t(e,r,i,o):t(e)),a!==void 0)return a;if(!K(e))return e;var d=T(e);if(d){if(a=function(m){var v=m.length,_=new m.constructor(v);return v&&typeof m[0]=="string"&&Tl.call(m,"index")&&(_.index=m.index,_.input=m.input),_}(e),!s)return ve(e,a)}else{var f=qe(e),h=f==Ds||f=="[object GeneratorFunction]";if(yn(e))return _s(e,s);if(f==Bs||f==Cs||h&&!i){if(a=u||h?{}:Ls(e),!s)return u?function(m,v){return Ye(m,xs(m),v)}(e,function(m,v){return m&&Ye(v,me(v),m)}(a,e)):function(m,v){return Ye(m,Qr(m),v)}(e,vs(a,e))}else{if(!V[f])return i?e:{};a=Pl(e,f,s)}}o||(o=new Ue);var p=o.get(e);if(p)return p;o.set(e,a),Ps(e)?e.forEach(function(m){a.add(Ee(m,n,t,m,e,o))}):Ts(e)&&e.forEach(function(m,v){a.set(v,Ee(m,n,t,v,e,o))});var g=d?void 0:(c?u?Vr:Yr:u?me:re)(e);return $e(g||e,function(m,v){g&&(m=e[v=m]),ht(a,v,Ee(m,n,t,v,e,o))}),a}V[Cs]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object DataView]"]=V["[object Boolean]"]=V["[object Date]"]=V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Map]"]=V["[object Number]"]=V[Bs]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object Symbol]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Error]"]=V[Ds]=V["[object WeakMap]"]=!1;function Pn(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new fn;++n<t;)this.add(e[n])}function Xr(e,n){for(var t=-1,r=e==null?0:e.length;++t<r;)if(n(e[t],t,e))return!0;return!1}function bt(e,n){return e.has(n)}Pn.prototype.add=Pn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Pn.prototype.has=function(e){return this.__data__.has(e)};function Rs(e,n,t,r,i,o){var a=1&t,s=e.length,u=n.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(e),d=o.get(n);if(c&&d)return c==n&&d==e;var f=-1,h=!0,p=2&t?new Pn:void 0;for(o.set(e,n),o.set(n,e);++f<s;){var g=e[f],m=n[f];if(r)var v=a?r(m,g,f,n,e,o):r(g,m,f,e,n,o);if(v!==void 0){if(v)continue;h=!1;break}if(p){if(!Xr(n,function(_,b){if(!bt(p,b)&&(g===_||i(g,_,t,r,o)))return p.push(b)})){h=!1;break}}else if(g!==m&&!i(g,m,t,r,o)){h=!1;break}}return o.delete(e),o.delete(n),h}function ei(e){var n=-1,t=Array(e.size);return e.forEach(function(r,i){t[++n]=[i,r]}),t}function Jt(e){var n=-1,t=Array(e.size);return e.forEach(function(r){t[++n]=r}),t}var Ws=ae?ae.prototype:void 0,ni=Ws?Ws.valueOf:void 0,Cl=Object.prototype.hasOwnProperty,Fs="[object Arguments]",Us="[object Array]",Kt="[object Object]",Zs=Object.prototype.hasOwnProperty;function Dl(e,n,t,r,i,o){var a=T(e),s=T(n),u=a?Us:qe(e),c=s?Us:qe(n),d=(u=u==Fs?Kt:u)==Kt,f=(c=c==Fs?Kt:c)==Kt,h=u==c;if(h&&yn(e)){if(!yn(n))return!1;a=!0,d=!1}if(h&&!d)return o||(o=new Ue),a||Qn(e)?Rs(e,n,t,r,i,o):function(_,b,y,x,M,k,I){switch(y){case"[object DataView]":if(_.byteLength!=b.byteLength||_.byteOffset!=b.byteOffset)return!1;_=_.buffer,b=b.buffer;case"[object ArrayBuffer]":return!(_.byteLength!=b.byteLength||!k(new qt(_),new qt(b)));case"[object Boolean]":case"[object Date]":case"[object Number]":return We(+_,+b);case"[object Error]":return _.name==b.name&&_.message==b.message;case"[object RegExp]":case"[object String]":return _==b+"";case"[object Map]":var w=ei;case"[object Set]":var $=1&x;if(w||(w=Jt),_.size!=b.size&&!$)return!1;var H=I.get(_);if(H)return H==b;x|=2,I.set(_,b);var Y=Rs(w(_),w(b),x,M,k,I);return I.delete(_),Y;case"[object Symbol]":if(ni)return ni.call(_)==ni.call(b)}return!1}(e,n,u,t,r,i,o);if(!(1&t)){var p=d&&Zs.call(e,"__wrapped__"),g=f&&Zs.call(n,"__wrapped__");if(p||g){var m=p?e.value():e,v=g?n.value():n;return o||(o=new Ue),i(m,v,t,r,o)}}return!!h&&(o||(o=new Ue),function(_,b,y,x,M,k){var I=1&y,w=Yr(_),$=w.length;if($!=Yr(b).length&&!I)return!1;for(var H=$;H--;){var Y=w[H];if(!(I?Y in b:Cl.call(b,Y)))return!1}var vn=k.get(_),tn=k.get(b);if(vn&&tn)return vn==b&&tn==_;var De=!0;k.set(_,b),k.set(b,_);for(var rn=I;++H<$;){var Be=_[Y=w[H]],Re=b[Y];if(x)var Et=I?x(Re,Be,Y,b,_,k):x(Be,Re,Y,_,b,k);if(!(Et===void 0?Be===Re||M(Be,Re,y,x,k):Et)){De=!1;break}rn||(rn=Y=="constructor")}if(De&&!rn){var gn=_.constructor,Sn=b.constructor;gn==Sn||!("constructor"in _)||!("constructor"in b)||typeof gn=="function"&&gn instanceof gn&&typeof Sn=="function"&&Sn instanceof Sn||(De=!1)}return k.delete(_),k.delete(b),De}(e,n,t,r,i,o))}function _t(e,n,t,r,i){return e===n||(e==null||n==null||!X(e)&&!X(n)?e!=e&&n!=n:Dl(e,n,t,r,_t,i))}function ti(e,n,t,r){var i=t.length,o=i,a=!r;if(e==null)return!o;for(e=Object(e);i--;){var s=t[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var u=(s=t[i])[0],c=e[u],d=s[1];if(a&&s[2]){if(c===void 0&&!(u in e))return!1}else{var f=new Ue;if(r)var h=r(c,d,u,e,n,f);if(!(h===void 0?_t(d,c,3,r,f):h))return!1}}return!0}function Gs(e){return e==e&&!K(e)}function ri(e){for(var n=re(e),t=n.length;t--;){var r=n[t],i=e[r];n[t]=[r,i,Gs(i)]}return n}function Hs(e,n){return function(t){return t!=null&&t[e]===n&&(n!==void 0||e in Object(t))}}function Qs(e){var n=ri(e);return n.length==1&&n[0][2]?Hs(n[0][0],n[0][1]):function(t){return t===e||ti(t,e,n)}}function Bl(e,n){return e!=null&&n in Object(e)}function Ys(e,n,t){for(var r=-1,i=(n=bn(n,e)).length,o=!1;++r<i;){var a=Ve(n[r]);if(!(o=e!=null&&t(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=e==null?0:e.length)&&Ut(i)&&an(a,i)&&(T(e)||Nn(e))}function ii(e,n){return e!=null&&Ys(e,n,Bl)}function Vs(e,n){return zr(e)&&Gs(n)?Hs(Ve(e),n):function(t){var r=Pr(t,e);return r===void 0&&r===n?ii(t,e):_t(n,r,3)}}function oi(e){return function(n){return n?.[e]}}function qs(e){return zr(e)?oi(Ve(e)):function(n){return function(t){return En(t,n)}}(e)}function E(e){return typeof e=="function"?e:e==null?le:typeof e=="object"?T(e)?Vs(e[0],e[1]):Qs(e):qs(e)}function Js(e,n,t){var r=t.length;if(e==null)return!r;for(e=Object(e);r--;){var i=t[r],o=n[i],a=e[i];if(a===void 0&&!(i in e)||!o(a))return!1}return!0}function Rl(e,n,t,r){for(var i=-1,o=e==null?0:e.length;++i<o;){var a=e[i];n(r,a,t(a),e)}return r}function Ks(e){return function(n,t,r){for(var i=-1,o=Object(n),a=r(n),s=a.length;s--;){var u=a[e?s:++i];if(t(o[u],u,o)===!1)break}return n}}var si=Ks();function Je(e,n){return e&&si(e,n,re)}function Xs(e,n){return function(t,r){if(t==null)return t;if(!ge(t))return e(t,r);for(var i=t.length,o=n?i:-1,a=Object(t);(n?o--:++o<i)&&r(a[o],o,a)!==!1;);return t}}var Mn=Xs(Je);function Wl(e,n,t,r){return Mn(e,function(i,o,a){n(r,i,t(i),a)}),r}function Xt(e,n){return function(t,r){var i=T(t)?Rl:Wl,o=n?n():{};return i(t,e,E(r),o)}}var Fl=Object.prototype.hasOwnProperty,Ul=Xt(function(e,n,t){Fl.call(e,t)?++e[t]:cn(e,t,1)});function ai(e,n,t){var r=un(e,8,void 0,void 0,void 0,void 0,void 0,n=t?void 0:n);return r.placeholder=ai.placeholder,r}ai.placeholder={};function ui(e,n,t){var r=un(e,16,void 0,void 0,void 0,void 0,void 0,n=t?void 0:n);return r.placeholder=ui.placeholder,r}ui.placeholder={};var er=function(){return ie.Date.now()},Zl=Math.max,Gl=Math.min;function ea(e,n,t){var r,i,o,a,s,u,c=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError("Expected a function");function p(y){var x=r,M=i;return r=i=void 0,c=y,a=e.apply(M,x)}function g(y){return c=y,s=setTimeout(v,n),d?p(y):a}function m(y){var x=y-u;return u===void 0||x>=n||x<0||f&&y-c>=o}function v(){var y=er();if(m(y))return _(y);s=setTimeout(v,function(x){var M=n-(x-u);return f?Gl(M,o-(x-c)):M}(y))}function _(y){return s=void 0,h&&r?p(y):(r=i=void 0,a)}function b(){var y=er(),x=m(y);if(r=arguments,i=this,u=y,x){if(s===void 0)return g(u);if(f)return clearTimeout(s),s=setTimeout(v,n),p(u)}return s===void 0&&(s=setTimeout(v,n)),a}return n=Se(n)||0,K(t)&&(d=!!t.leading,o=(f="maxWait"in t)?Zl(Se(t.maxWait)||0,n):o,h="trailing"in t?!!t.trailing:h),b.cancel=function(){s!==void 0&&clearTimeout(s),c=0,r=u=i=s=void 0},b.flush=function(){return s===void 0?a:_(er())},b}var na=Object.prototype,Hl=na.hasOwnProperty,Ql=D(function(e,n){e=Object(e);var t=-1,r=n.length,i=r>2?n[2]:void 0;for(i&&fe(n[0],n[1],i)&&(r=1);++t<r;)for(var o=n[t],a=me(o),s=-1,u=a.length;++s<u;){var c=a[s],d=e[c];(d===void 0||We(d,na[c])&&!Hl.call(e,c))&&(e[c]=o[c])}return e});function ci(e,n,t){(t!==void 0&&!We(e[n],t)||t===void 0&&!(n in e))&&cn(e,n,t)}function ne(e){return X(e)&&ge(e)}function li(e,n){if((n!=="constructor"||typeof e[n]!="function")&&n!="__proto__")return e[n]}function ta(e){return Ye(e,me(e))}function nr(e,n,t,r,i){e!==n&&si(n,function(o,a){if(i||(i=new Ue),K(o))(function(u,c,d,f,h,p,g){var m=li(u,d),v=li(c,d),_=g.get(v);if(_)ci(u,d,_);else{var b=p?p(m,v,d+"",u,c,g):void 0,y=b===void 0;if(y){var x=T(v),M=!x&&yn(v),k=!x&&!M&&Qn(v);b=v,x||M||k?T(m)?b=m:ne(m)?b=ve(m):M?(y=!1,b=_s(v,!0)):k?(y=!1,b=Ns(v,!0)):b=[]:Yn(v)||Nn(v)?(b=m,Nn(m)?b=ta(m):K(m)&&!sn(m)||(b=Ls(v))):y=!1}y&&(g.set(v,b),h(b,v,f,p,g),g.delete(v)),ci(u,d,b)}})(e,n,a,t,nr,r,i);else{var s=r?r(li(e,a),o,a+"",e,n,i):void 0;s===void 0&&(s=o),ci(e,a,s)}},me)}function ra(e,n,t,r,i,o){return K(e)&&K(n)&&(o.set(n,e),nr(e,n,void 0,ra,o),o.delete(n)),e}var ia=Hn(function(e,n,t,r){nr(e,n,t,r)}),Yl=D(function(e){return e.push(void 0,ra),Ae(ia,void 0,e)});function oa(e,n,t){if(typeof e!="function")throw new TypeError("Expected a function");return setTimeout(function(){e.apply(void 0,t)},n)}var Vl=D(function(e,n){return oa(e,1,n)}),ql=D(function(e,n,t){return oa(e,Se(n)||0,t)});function fi(e,n,t){for(var r=-1,i=e==null?0:e.length;++r<i;)if(t(n,e[r]))return!0;return!1}function wt(e,n,t,r){var i=-1,o=Wt,a=!0,s=e.length,u=[],c=n.length;if(!s)return u;t&&(n=J(n,Oe(t))),r?(o=fi,a=!1):n.length>=200&&(o=bt,a=!1,n=new Pn(n));e:for(;++i<s;){var d=e[i],f=t==null?d:t(d);if(d=r||d!==0?d:0,a&&f==f){for(var h=c;h--;)if(n[h]===f)continue e;u.push(d)}else o(n,f,r)||u.push(d)}return u}var Jl=D(function(e,n){return ne(e)?wt(e,oe(n,1,ne,!0)):[]});function Ie(e){var n=e==null?0:e.length;return n?e[n-1]:void 0}var Kl=D(function(e,n){var t=Ie(n);return ne(t)&&(t=void 0),ne(e)?wt(e,oe(n,1,ne,!0),E(t)):[]}),Xl=D(function(e,n){var t=Ie(n);return ne(t)&&(t=void 0),ne(e)?wt(e,oe(n,1,ne,!0),void 0,t):[]}),ef=Tt(function(e,n){return e/n},1);function tr(e,n,t,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&n(e[o],o,e););return t?Le(e,r?0:o,r?o+1:i):Le(e,r?o+1:0,r?i:o)}function Ke(e){return typeof e=="function"?e:le}function sa(e,n){return(T(e)?$e:Mn)(e,Ke(n))}function nf(e,n){for(var t=e==null?0:e.length;t--&&n(e[t],t,e)!==!1;);return e}var aa=Ks(!0);function di(e,n){return e&&aa(e,n,re)}var ua=Xs(di,!0);function ca(e,n){return(T(e)?nf:ua)(e,Ke(n))}function la(e){return function(n){var t=qe(n);return t=="[object Map]"?ei(n):t=="[object Set]"?function(r){var i=-1,o=Array(r.size);return r.forEach(function(a){o[++i]=[a,a]}),o}(n):function(r,i){return J(i,function(o){return[o,r[o]]})}(n,e(n))}}var fa=la(re),da=la(me),tf=Zr({"&":"&","<":"<",">":">",'"':""","'":"'"}),pa=/[&<>"']/g,rf=RegExp(pa.source);function ha(e){return(e=Z(e))&&rf.test(e)?e.replace(pa,tf):e}var va=/[\\^$.*+?()[\]{}|]/g,of=RegExp(va.source);function ga(e,n){for(var t=-1,r=e==null?0:e.length;++t<r;)if(!n(e[t],t,e))return!1;return!0}function sf(e,n){var t=!0;return Mn(e,function(r,i,o){return t=!!n(r,i,o)}),t}function ma(e){return e?Tn(z(e),0,4294967295):0}function ya(e,n){var t=[];return Mn(e,function(r,i,o){n(r,i,o)&&t.push(r)}),t}function ba(e){return function(n,t,r){var i=Object(n);if(!ge(n)){var o=E(t);n=re(n),t=function(s){return o(i[s],s,i)}}var a=e(n,t,r);return a>-1?i[o?n[a]:a]:void 0}}var af=Math.max;function _a(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=t==null?0:z(t);return i<0&&(i=af(r+i,0)),Rt(e,E(n),i)}var uf=ba(_a);function wa(e,n,t){var r;return t(e,function(i,o,a){if(n(i,o,a))return r=o,!1}),r}var cf=Math.max,lf=Math.min;function xa(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return t!==void 0&&(i=z(t),i=t<0?cf(r+i,0):lf(i,r-1)),Rt(e,E(n),i,!0)}var ff=ba(xa);function Ma(e){return e&&e.length?e[0]:void 0}function ja(e,n){var t=-1,r=ge(e)?Array(e.length):[];return Mn(e,function(i,o,a){r[++t]=n(i,o,a)}),r}function rr(e,n){return(T(e)?J:ja)(e,E(n))}var df=Gr("floor");function Aa(e){return dn(function(n){var t=n.length,r=t,i=ke.prototype.thru;for(e&&n.reverse();r--;){var o=n[r];if(typeof o!="function")throw new TypeError("Expected a function");if(i&&!a&&Dt(o)=="wrapper")var a=new ke([],!0)}for(r=a?r:t;++r<t;){var s=Dt(o=n[r]),u=s=="wrapper"?Or(o):void 0;a=u&&Ir(u[0])&&u[1]==424&&!u[4].length&&u[9]==1?a[Dt(u[0])].apply(a,u[3]):o.length==1&&Ir(o)?a[s]():a.thru(o)}return function(){var c=arguments,d=c[0];if(a&&c.length==1&&T(d))return a.plant(d).value();for(var f=0,h=t?n[f].apply(this,c):d;++f<t;)h=n[f].call(this,h);return h}})}var pf=Aa(),hf=Aa(!0);function ir(e,n){return xn(n,function(t){return sn(e[t])})}var vf=Object.prototype.hasOwnProperty,gf=Xt(function(e,n,t){vf.call(e,t)?e[t].push(n):cn(e,t,[n])});function pi(e,n){return e>n}function or(e){return function(n,t){return typeof n=="string"&&typeof t=="string"||(n=Se(n),t=Se(t)),e(n,t)}}var mf=or(pi),yf=or(function(e,n){return e>=n}),bf=Object.prototype.hasOwnProperty;function _f(e,n){return e!=null&&bf.call(e,n)}var wf=Math.max,xf=Math.min;function sr(e){return typeof e=="string"||!T(e)&&X(e)&&ce(e)=="[object String]"}function hi(e,n){return J(n,function(t){return e[t]})}function Xn(e){return e==null?[]:hi(e,re(e))}var Mf=Math.max,jf=Math.max,Af=Math.min;function vi(e,n,t){for(var r=t?fi:Wt,i=e[0].length,o=e.length,a=o,s=Array(o),u=1/0,c=[];a--;){var d=e[a];a&&n&&(d=J(d,Oe(n))),u=Af(d.length,u),s[a]=!t&&(n||i>=120&&d.length>=120)?new Pn(a&&d):void 0}d=e[0];var f=-1,h=s[0];e:for(;++f<i&&c.length<u;){var p=d[f],g=n?n(p):p;if(p=t||p!==0?p:0,!(h?bt(h,g):r(c,g,t))){for(a=o;--a;){var m=s[a];if(!(m?bt(m,g):r(e[a],g,t)))continue e}h&&h.push(g),c.push(p)}}return c}function gi(e){return ne(e)?e:[]}var Of=D(function(e){var n=J(e,gi);return n.length&&n[0]===e[0]?vi(n):[]}),If=D(function(e){var n=Ie(e),t=J(e,gi);return n===Ie(t)?n=void 0:t.pop(),t.length&&t[0]===e[0]?vi(t,E(n)):[]}),Sf=D(function(e){var n=Ie(e),t=J(e,gi);return(n=typeof n=="function"?n:void 0)&&t.pop(),t.length&&t[0]===e[0]?vi(t,void 0,n):[]});function Oa(e,n){return function(t,r){return function(i,o,a,s){return Je(i,function(u,c,d){o(s,a(u),c,d)}),s}(t,e,n(r),{})}}var kf=Object.prototype.toString,$f=Oa(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=kf.call(n)),e[n]=t},Sr(le)),Ia=Object.prototype,Nf=Ia.hasOwnProperty,Lf=Ia.toString,Ef=Oa(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=Lf.call(n)),Nf.call(e,n)?e[n].push(t):e[n]=[t]},E);function Sa(e,n){return n.length<2?e:En(e,Le(n,0,-1))}function xt(e,n,t){var r=(e=Sa(e,n=bn(n,e)))==null?e:e[Ve(Ie(n))];return r==null?void 0:Ae(r,e,t)}var Tf=D(xt),zf=D(function(e,n,t){var r=-1,i=typeof n=="function",o=ge(e)?Array(e.length):[];return Mn(e,function(a){o[++r]=i?Ae(n,a,t):xt(a,n,t)}),o}),ka=Ne&&Ne.isArrayBuffer,Pf=ka?Oe(ka):function(e){return X(e)&&ce(e)=="[object ArrayBuffer]"},$a=Ne&&Ne.isDate,Cf=$a?Oe($a):function(e){return X(e)&&ce(e)=="[object Date]"},Df=Object.prototype.hasOwnProperty,Bf=ie.isFinite;function Na(e){return typeof e=="number"&&e==z(e)}function La(e){return typeof e=="number"||X(e)&&ce(e)=="[object Number]"}var Rf=zt?sn:Lr,Ea=Ne&&Ne.isRegExp,mi=Ea?Oe(Ea):function(e){return X(e)&&ce(e)=="[object RegExp]"},Wf=9007199254740991,Ff=Array.prototype.join,Uf=Jn(function(e,n,t){return e+(t?"-":"")+n.toLowerCase()}),Zf=Xt(function(e,n,t){cn(e,t,n)}),Gf=Math.max,Hf=Math.min,Qf=Jn(function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}),Yf=Yo("toLowerCase");function yi(e,n){return e<n}var Vf=or(yi),qf=or(function(e,n){return e<=n});function ar(e,n,t){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=n(o);if(a!=null&&(s===void 0?a==a&&!Me(a):t(a,s)))var s=a,u=o}return u}function bi(e,n){for(var t,r=-1,i=e.length;++r<i;){var o=n(e[r]);o!==void 0&&(t=t===void 0?o:t+o)}return t}function Ta(e,n){var t=e==null?0:e.length;return t?bi(e,n)/t:NaN}var Jf=Hn(function(e,n,t){nr(e,n,t)}),Kf=D(function(e,n){return function(t){return xt(t,e,n)}}),Xf=D(function(e,n){return function(t){return xt(e,t,n)}});function za(e,n,t){var r=re(n),i=ir(n,r),o=!(K(t)&&"chain"in t&&!t.chain),a=sn(e);return $e(i,function(s){var u=n[s];e[s]=u,a&&(e.prototype[s]=function(){var c=this.__chain__;if(o||c){var d=e(this.__wrapped__),f=d.__actions__=ve(this.__actions__);return f.push({func:u,args:arguments,thisArg:e}),d.__chain__=c,d}return u.apply(e,_n([this.value()],arguments))})}),e}var ed=Tt(function(e,n){return e*n},1);function Mt(e){if(typeof e!="function")throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}var _i=ae?ae.iterator:void 0;function Pa(e){if(!e)return[];if(ge(e))return sr(e)?Fe(e):ve(e);if(_i&&e[_i])return function(t){for(var r,i=[];!(r=t.next()).done;)i.push(r.value);return i}(e[_i]());var n=qe(e);return(n=="[object Map]"?ei:n=="[object Set]"?Jt:Xn)(e)}function Ca(e,n){var t=e.length;if(t)return an(n+=n<0?t:0,t)?e[n]:void 0}function wi(e,n){return(e=Sa(e,n=bn(n,e)))==null||delete e[Ve(Ie(n))]}function nd(e){return Yn(e)?void 0:e}var td=dn(function(e,n){var t={};if(e==null)return t;var r=!1;n=J(n,function(o){return o=bn(o,e),r||(r=o.length>1),o}),Ye(e,Vr(e),t),r&&(t=Ee(t,7,nd));for(var i=n.length;i--;)wi(t,n[i]);return t});function jt(e,n,t,r){if(!K(e))return e;for(var i=-1,o=(n=bn(n,e)).length,a=o-1,s=e;s!=null&&++i<o;){var u=Ve(n[i]),c=t;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=a){var d=s[u];(c=r?r(d,u,s):void 0)===void 0&&(c=K(d)?d:an(n[i+1])?[]:{})}ht(s,u,c),s=s[u]}return e}function Da(e,n,t){for(var r=-1,i=n.length,o={};++r<i;){var a=n[r],s=En(e,a);t(s,a)&&jt(o,bn(a,e),s)}return o}function Ba(e,n){if(e==null)return{};var t=J(Vr(e),function(r){return[r]});return n=E(n),Da(e,t,function(r,i){return n(r,i[0])})}function Ra(e,n){if(e!==n){var t=e!==void 0,r=e===null,i=e==e,o=Me(e),a=n!==void 0,s=n===null,u=n==n,c=Me(n);if(!s&&!c&&!o&&e>n||o&&a&&u&&!s&&!c||r&&a&&u||!t&&u||!i)return 1;if(!r&&!o&&!c&&e<n||c&&t&&i&&!r&&!o||s&&t&&i||!a&&i||!u)return-1}return 0}function Wa(e,n,t){n=n.length?J(n,function(o){return T(o)?function(a){return En(a,o.length===1?o[0]:o)}:o}):[le];var r=-1;n=J(n,Oe(E));var i=ja(e,function(o,a,s){var u=J(n,function(c){return c(o)});return{criteria:u,index:++r,value:o}});return function(o,a){var s=o.length;for(o.sort(a);s--;)o[s]=o[s].value;return o}(i,function(o,a){return function(s,u,c){for(var d=-1,f=s.criteria,h=u.criteria,p=f.length,g=c.length;++d<p;){var m=Ra(f[d],h[d]);if(m)return d>=g?m:m*(c[d]=="desc"?-1:1)}return s.index-u.index}(o,a,t)})}function xi(e){return dn(function(n){return n=J(n,Oe(E)),D(function(t){var r=this;return e(n,function(i){return Ae(i,r,t)})})})}var rd=xi(J),id=D,od=Math.min,sd=id(function(e,n){var t=(n=n.length==1&&T(n[0])?J(n[0],Oe(E)):J(oe(n,1),Oe(E))).length;return D(function(r){for(var i=-1,o=od(r.length,t);++i<o;)r[i]=n[i].call(this,r[i]);return Ae(e,this,r)})}),ad=xi(ga),ud=xi(Xr),cd=Math.floor;function Mi(e,n){var t="";if(!e||n<1||n>9007199254740991)return t;do n%2&&(t+=e),(n=cd(n/2))&&(e+=e);while(n);return t}var ld=oi("length"),Fa="\\ud800-\\udfff",fd="["+Fa+"]",ji="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ai="\\ud83c[\\udffb-\\udfff]",Ua="[^"+Fa+"]",Za="(?:\\ud83c[\\udde6-\\uddff]){2}",Ga="[\\ud800-\\udbff][\\udc00-\\udfff]",Ha="(?:"+ji+"|"+Ai+")?",Qa="[\\ufe0e\\ufe0f]?",dd=Qa+Ha+("(?:\\u200d(?:"+[Ua,Za,Ga].join("|")+")"+Qa+Ha+")*"),pd="(?:"+[Ua+ji+"?",ji,Za,Ga,fd].join("|")+")",Ya=RegExp(Ai+"(?="+Ai+")|"+pd+dd,"g");function et(e){return Vn(e)?function(n){for(var t=Ya.lastIndex=0;Ya.test(n);)++t;return t}(e):ld(e)}var hd=Math.ceil;function ur(e,n){var t=(n=n===void 0?" ":je(n)).length;if(t<2)return t?Mi(n,e):n;var r=Mi(n,hd(e/et(n)));return Vn(n)?wn(Fe(r),0,e).join(""):r.slice(0,e)}var vd=Math.ceil,gd=Math.floor,md=/^\s+/,yd=ie.parseInt,cr=D(function(e,n){return un(e,32,void 0,n,mn(n,Gn(cr)))});cr.placeholder={};var Oi=D(function(e,n){return un(e,64,void 0,n,mn(n,Gn(Oi)))});Oi.placeholder={};var bd=Xt(function(e,n,t){e[t?0:1].push(n)},function(){return[[],[]]}),_d=dn(function(e,n){return e==null?{}:function(t,r){return Da(t,r,function(i,o){return ii(t,o)})}(e,n)});function wd(e,n,t,r){for(var i=t-1,o=e.length;++i<o;)if(r(e[i],n))return i;return-1}var Va=Array.prototype.splice;function Ii(e,n,t,r){var i=r?wd:Zn,o=-1,a=n.length,s=e;for(e===n&&(n=ve(n)),t&&(s=J(e,Oe(t)));++o<a;)for(var u=0,c=n[o],d=t?t(c):c;(u=i(s,d,u,r))>-1;)s!==e&&Va.call(s,u,1),Va.call(e,u,1);return e}function qa(e,n){return e&&e.length&&n&&n.length?Ii(e,n):e}var xd=D(qa),Md=Array.prototype.splice;function Ja(e,n){for(var t=e?n.length:0,r=t-1;t--;){var i=n[t];if(t==r||i!==o){var o=i;an(i)?Md.call(e,i,1):wi(e,i)}}return e}var jd=dn(function(e,n){var t=e==null?0:e.length,r=Cr(e,n);return Ja(e,J(n,function(i){return an(i,t)?+i:i}).sort(Ra)),r}),Ad=Math.floor,Od=Math.random;function Si(e,n){return e+Ad(Od()*(n-e+1))}var Id=parseFloat,Sd=Math.min,kd=Math.random,$d=Math.ceil,Nd=Math.max;function Ka(e){return function(n,t,r){return r&&typeof r!="number"&&fe(n,t,r)&&(t=r=void 0),n=on(n),t===void 0?(t=n,n=0):t=on(t),function(i,o,a,s){for(var u=-1,c=Nd($d((o-i)/(a||1)),0),d=Array(c);c--;)d[s?c:++u]=i,i+=a;return d}(n,t,r=r===void 0?n<t?1:-1:on(r),e)}}var Ld=Ka(),Ed=Ka(!0),Td=dn(function(e,n){return un(e,256,void 0,void 0,void 0,n)});function Xa(e,n,t,r,i){return i(e,function(o,a,s){t=r?(r=!1,o):n(t,o,a,s)}),t}function zd(e,n,t,r){var i=e==null?0:e.length;for(r&&i&&(t=e[--i]);i--;)t=n(t,e[i],i,e);return t}var Pd=Array.prototype.reverse;function ki(e){return e==null?e:Pd.call(e)}var Cd=Gr("round");function eu(e){var n=e.length;return n?e[Si(0,n-1)]:void 0}function Dd(e){return eu(Xn(e))}function lr(e,n){var t=-1,r=e.length,i=r-1;for(n=n===void 0?r:n;++t<n;){var o=Si(t,i),a=e[o];e[o]=e[t],e[t]=a}return e.length=n,e}function Bd(e,n){return lr(ve(e),Tn(n,0,e.length))}function Rd(e,n){var t=Xn(e);return lr(t,Tn(n,0,t.length))}function Wd(e){return lr(ve(e))}function Fd(e){return lr(Xn(e))}var Ud=Jn(function(e,n,t){return e+(t?"_":"")+n.toLowerCase()});function Zd(e,n){var t;return Mn(e,function(r,i,o){return!(t=n(r,i,o))}),!!t}var Gd=D(function(e,n){if(e==null)return[];var t=n.length;return t>1&&fe(e,n[0],n[1])?n=[]:t>2&&fe(n[0],n[1],n[2])&&(n=[n[0]]),Wa(e,oe(n,1),[])}),Hd=Math.floor,Qd=Math.min;function $i(e,n,t,r){var i=0,o=e==null?0:e.length;if(o===0)return 0;for(var a=(n=t(n))!=n,s=n===null,u=Me(n),c=n===void 0;i<o;){var d=Hd((i+o)/2),f=t(e[d]),h=f!==void 0,p=f===null,g=f==f,m=Me(f);if(a)var v=r||g;else v=c?g&&(r||h):s?g&&h&&(r||!p):u?g&&h&&!p&&(r||!m):!p&&!m&&(r?f<=n:f<n);v?i=d+1:o=d}return Qd(o,4294967294)}function fr(e,n,t){var r=0,i=e==null?r:e.length;if(typeof n=="number"&&n==n&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];a!==null&&!Me(a)&&(t?a<=n:a<n)?r=o+1:i=o}return i}return $i(e,n,le,t)}function nu(e,n){for(var t=-1,r=e.length,i=0,o=[];++t<r;){var a=e[t],s=n?n(a):a;if(!t||!We(s,u)){var u=s;o[i++]=a===0?0:a}}return o}var Yd=Math.max,Vd=Jn(function(e,n,t){return e+(t?" ":"")+Fr(n)}),qd=Tt(function(e,n){return e-n},0),tu=Object.prototype,Jd=tu.hasOwnProperty;function ru(e,n,t,r){return e===void 0||We(e,tu[t])&&!Jd.call(r,t)?n:e}var Kd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Xd(e){return"\\"+Kd[e]}var iu=/<%=([\s\S]+?)%>/g,Ni={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:iu,variable:"",imports:{_:{escape:ha}}},ep=/\b__p \+= '';/g,np=/\b(__p \+=) '' \+/g,tp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rp=/[()=,{}\[\]\/\s]/,ip=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dr=/($^)/,op=/['\n\r\u2028\u2029\\]/g,ou=Object.prototype.hasOwnProperty;function At(e,n){return n(e)}var Li=4294967295,sp=Math.min;function su(e,n){var t=e;return t instanceof W&&(t=t.value()),Ur(n,function(r,i){return i.func.apply(i.thisArg,_n([r],i.args))},t)}function Ei(){return su(this.__wrapped__,this.__actions__)}var ap=9007199254740991;function au(e,n){for(var t=e.length;t--&&Zn(n,e[t],0)>-1;);return t}function uu(e,n){for(var t=-1,r=e.length;++t<r&&Zn(n,e[t],0)>-1;);return t}var up=/^\s+/,cp=/\w*$/,lp=Zr({"&":"&","<":"<",">":">",""":'"',"'":"'"}),cu=/&(?:amp|lt|gt|quot|#39);/g,fp=RegExp(cu.source),dp=Kn&&1/Jt(new Kn([,-0]))[1]==1/0?function(e){return new Kn(e)}:Ar;function jn(e,n,t){var r=-1,i=Wt,o=e.length,a=!0,s=[],u=s;if(t)a=!1,i=fi;else if(o>=200){var c=n?null:dp(e);if(c)return Jt(c);a=!1,i=bt,u=new Pn}else u=n?[]:s;e:for(;++r<o;){var d=e[r],f=n?n(d):d;if(d=t||d!==0?d:0,a&&f==f){for(var h=u.length;h--;)if(u[h]===f)continue e;n&&u.push(f),s.push(d)}else i(u,f,t)||(u!==s&&u.push(f),s.push(d))}return s}var pp=D(function(e){return jn(oe(e,1,ne,!0))}),hp=D(function(e){var n=Ie(e);return ne(n)&&(n=void 0),jn(oe(e,1,ne,!0),E(n))}),vp=D(function(e){var n=Ie(e);return n=typeof n=="function"?n:void 0,jn(oe(e,1,ne,!0),void 0,n)}),gp=0,mp=Math.max;function Ti(e){if(!e||!e.length)return[];var n=0;return e=xn(e,function(t){if(ne(t))return n=mp(t.length,n),!0}),Nr(n,function(t){return J(e,oi(t))})}function lu(e,n){if(!e||!e.length)return[];var t=Ti(e);return n==null?t:J(t,function(r){return Ae(n,void 0,r)})}function fu(e,n,t,r){return jt(e,n,t(En(e,n)),r)}var yp=Jn(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),bp=D(function(e,n){return ne(e)?wt(e,n):[]}),_p=dn(function(e){var n=e.length,t=n?e[0]:0,r=this.__wrapped__,i=function(o){return Cr(o,e)};return!(n>1||this.__actions__.length)&&r instanceof W&&an(t)?((r=r.slice(t,+t+(n?1:0))).__actions__.push({func:At,args:[i],thisArg:void 0}),new ke(r,this.__chain__).thru(function(o){return n&&!o.length&&o.push(void 0),o})):this.thru(i)});function zi(e,n,t){var r=e.length;if(r<2)return r?jn(e[0]):[];for(var i=-1,o=Array(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=wt(o[i]||a,e[s],n,t));return jn(oe(o,1),n,t)}var wp=D(function(e){return zi(xn(e,ne))}),xp=D(function(e){var n=Ie(e);return ne(n)&&(n=void 0),zi(xn(e,ne),E(n))}),Mp=D(function(e){var n=Ie(e);return n=typeof n=="function"?n:void 0,zi(xn(e,ne),void 0,n)}),jp=D(Ti);function du(e,n,t){for(var r=-1,i=e.length,o=n.length,a={};++r<i;){var s=r<o?n[r]:void 0;t(a,e[r],s)}return a}var Ap=D(function(e){var n=e.length,t=n>1?e[n-1]:void 0;return t=typeof t=="function"?(e.pop(),t):void 0,lu(e,t)}),O={chunk:function(e,n,t){n=(t?fe(e,n,t):n===void 0)?1:Il(z(n),0);var r=e==null?0:e.length;if(!r||n<1)return[];for(var i=0,o=0,a=Array(Ol(r/n));i<r;)a[o++]=Le(e,i,i+=n);return a},compact:function(e){for(var n=-1,t=e==null?0:e.length,r=0,i=[];++n<t;){var o=e[n];o&&(i[r++]=o)}return i},concat:function(){var e=arguments.length;if(!e)return[];for(var n=Array(e-1),t=arguments[0],r=e;r--;)n[r-1]=arguments[r];return _n(T(t)?ve(t):[t],oe(n,1))},difference:Jl,differenceBy:Kl,differenceWith:Xl,drop:function(e,n,t){var r=e==null?0:e.length;return r?Le(e,(n=t||n===void 0?1:z(n))<0?0:n,r):[]},dropRight:function(e,n,t){var r=e==null?0:e.length;return r?Le(e,0,(n=r-(n=t||n===void 0?1:z(n)))<0?0:n):[]},dropRightWhile:function(e,n){return e&&e.length?tr(e,E(n),!0,!0):[]},dropWhile:function(e,n){return e&&e.length?tr(e,E(n),!0):[]},fill:function(e,n,t,r){var i=e==null?0:e.length;return i?(t&&typeof t!="number"&&fe(e,n,t)&&(t=0,r=i),function(o,a,s,u){var c=o.length;for((s=z(s))<0&&(s=-s>c?0:c+s),(u=u===void 0||u>c?c:z(u))<0&&(u+=c),u=s>u?0:ma(u);s<u;)o[s++]=a;return o}(e,n,t,r)):[]},findIndex:_a,findLastIndex:xa,first:Ma,flatten:Do,flattenDeep:function(e){return e!=null&&e.length?oe(e,1/0):[]},flattenDepth:function(e,n){return e!=null&&e.length?oe(e,n=n===void 0?1:z(n)):[]},fromPairs:function(e){for(var n=-1,t=e==null?0:e.length,r={};++n<t;){var i=e[n];r[i[0]]=i[1]}return r},head:Ma,indexOf:function(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=t==null?0:z(t);return i<0&&(i=jf(r+i,0)),Zn(e,n,i)},initial:function(e){return e!=null&&e.length?Le(e,0,-1):[]},intersection:Of,intersectionBy:If,intersectionWith:Sf,join:function(e,n){return e==null?"":Ff.call(e,n)},last:Ie,lastIndexOf:function(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=r;return t!==void 0&&(i=(i=z(t))<0?Gf(r+i,0):Hf(i,r-1)),n==n?function(o,a,s){for(var u=s+1;u--;)if(o[u]===a)return u;return u}(e,n,i):Rt(e,mo,i,!0)},nth:function(e,n){return e&&e.length?Ca(e,z(n)):void 0},pull:xd,pullAll:qa,pullAllBy:function(e,n,t){return e&&e.length&&n&&n.length?Ii(e,n,E(t)):e},pullAllWith:function(e,n,t){return e&&e.length&&n&&n.length?Ii(e,n,void 0,t):e},pullAt:jd,remove:function(e,n){var t=[];if(!e||!e.length)return t;var r=-1,i=[],o=e.length;for(n=E(n);++r<o;){var a=e[r];n(a,r,e)&&(t.push(a),i.push(r))}return Ja(e,i),t},reverse:ki,slice:function(e,n,t){var r=e==null?0:e.length;return r?(t&&typeof t!="number"&&fe(e,n,t)?(n=0,t=r):(n=n==null?0:z(n),t=t===void 0?r:z(t)),Le(e,n,t)):[]},sortedIndex:function(e,n){return fr(e,n)},sortedIndexBy:function(e,n,t){return $i(e,n,E(t))},sortedIndexOf:function(e,n){var t=e==null?0:e.length;if(t){var r=fr(e,n);if(r<t&&We(e[r],n))return r}return-1},sortedLastIndex:function(e,n){return fr(e,n,!0)},sortedLastIndexBy:function(e,n,t){return $i(e,n,E(t),!0)},sortedLastIndexOf:function(e,n){if(e!=null&&e.length){var t=fr(e,n,!0)-1;if(We(e[t],n))return t}return-1},sortedUniq:function(e){return e&&e.length?nu(e):[]},sortedUniqBy:function(e,n){return e&&e.length?nu(e,E(n)):[]},tail:function(e){var n=e==null?0:e.length;return n?Le(e,1,n):[]},take:function(e,n,t){return e&&e.length?Le(e,0,(n=t||n===void 0?1:z(n))<0?0:n):[]},takeRight:function(e,n,t){var r=e==null?0:e.length;return r?Le(e,(n=r-(n=t||n===void 0?1:z(n)))<0?0:n,r):[]},takeRightWhile:function(e,n){return e&&e.length?tr(e,E(n),!1,!0):[]},takeWhile:function(e,n){return e&&e.length?tr(e,E(n)):[]},union:pp,unionBy:hp,unionWith:vp,uniq:function(e){return e&&e.length?jn(e):[]},uniqBy:function(e,n){return e&&e.length?jn(e,E(n)):[]},uniqWith:function(e,n){return n=typeof n=="function"?n:void 0,e&&e.length?jn(e,void 0,n):[]},unzip:Ti,unzipWith:lu,without:bp,xor:wp,xorBy:xp,xorWith:Mp,zip:jp,zipObject:function(e,n){return du(e||[],n||[],ht)},zipObjectDeep:function(e,n){return du(e||[],n||[],jt)},zipWith:Ap},Q={countBy:Ul,each:sa,eachRight:ca,every:function(e,n,t){var r=T(e)?ga:sf;return t&&fe(e,n,t)&&(n=void 0),r(e,E(n))},filter:function(e,n){return(T(e)?xn:ya)(e,E(n))},find:uf,findLast:ff,flatMap:function(e,n){return oe(rr(e,n),1)},flatMapDeep:function(e,n){return oe(rr(e,n),1/0)},flatMapDepth:function(e,n,t){return t=t===void 0?1:z(t),oe(rr(e,n),t)},forEach:sa,forEachRight:ca,groupBy:gf,includes:function(e,n,t,r){e=ge(e)?e:Xn(e),t=t&&!r?z(t):0;var i=e.length;return t<0&&(t=Mf(i+t,0)),sr(e)?t<=i&&e.indexOf(n,t)>-1:!!i&&Zn(e,n,t)>-1},invokeMap:zf,keyBy:Zf,map:rr,orderBy:function(e,n,t,r){return e==null?[]:(T(n)||(n=n==null?[]:[n]),T(t=r?void 0:t)||(t=t==null?[]:[t]),Wa(e,n,t))},partition:bd,reduce:function(e,n,t){var r=T(e)?Ur:Xa,i=arguments.length<3;return r(e,E(n),t,i,Mn)},reduceRight:function(e,n,t){var r=T(e)?zd:Xa,i=arguments.length<3;return r(e,E(n),t,i,ua)},reject:function(e,n){return(T(e)?xn:ya)(e,Mt(E(n)))},sample:function(e){return(T(e)?eu:Dd)(e)},sampleSize:function(e,n,t){return n=(t?fe(e,n,t):n===void 0)?1:z(n),(T(e)?Bd:Rd)(e,n)},shuffle:function(e){return(T(e)?Wd:Fd)(e)},size:function(e){if(e==null)return 0;if(ge(e))return sr(e)?et(e):e.length;var n=qe(e);return n=="[object Map]"||n=="[object Set]"?e.size:Tr(e).length},some:function(e,n,t){var r=T(e)?Xr:Zd;return t&&fe(e,n,t)&&(n=void 0),r(e,E(n))},sortBy:Gd},Op=er,ee={after:function(e,n){if(typeof n!="function")throw new TypeError("Expected a function");return e=z(e),function(){if(--e<1)return n.apply(this,arguments)}},ary:Mo,before:Wo,bind:Vt,bindKey:Br,curry:ai,curryRight:ui,debounce:ea,defer:Vl,delay:ql,flip:function(e){return un(e,512)},memoize:Qt,negate:Mt,once:function(e){return Wo(2,e)},overArgs:sd,partial:cr,partialRight:Oi,rearg:Td,rest:function(e,n){if(typeof e!="function")throw new TypeError("Expected a function");return D(e,n=n===void 0?n:z(n))},spread:function(e,n){if(typeof e!="function")throw new TypeError("Expected a function");return n=n==null?0:Yd(z(n),0),D(function(t){var r=t[n],i=wn(t,0,n);return r&&_n(i,r),Ae(e,this,i)})},throttle:function(e,n,t){var r=!0,i=!0;if(typeof e!="function")throw new TypeError("Expected a function");return K(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),ea(e,n,{leading:r,maxWait:n,trailing:i})},unary:function(e){return Mo(e,1)},wrap:function(e,n){return cr(Ke(n),e)}},N={castArray:function(){if(!arguments.length)return[];var e=arguments[0];return T(e)?e:[e]},clone:function(e){return Ee(e,4)},cloneDeep:function(e){return Ee(e,5)},cloneDeepWith:function(e,n){return Ee(e,5,n=typeof n=="function"?n:void 0)},cloneWith:function(e,n){return Ee(e,4,n=typeof n=="function"?n:void 0)},conformsTo:function(e,n){return n==null||Js(e,n,re(n))},eq:We,gt:mf,gte:yf,isArguments:Nn,isArray:T,isArrayBuffer:Pf,isArrayLike:ge,isArrayLikeObject:ne,isBoolean:function(e){return e===!0||e===!1||X(e)&&ce(e)=="[object Boolean]"},isBuffer:yn,isDate:Cf,isElement:function(e){return X(e)&&e.nodeType===1&&!Yn(e)},isEmpty:function(e){if(e==null)return!0;if(ge(e)&&(T(e)||typeof e=="string"||typeof e.splice=="function"||yn(e)||Qn(e)||Nn(e)))return!e.length;var n=qe(e);if(n=="[object Map]"||n=="[object Set]")return!e.size;if(vt(e))return!Tr(e).length;for(var t in e)if(Df.call(e,t))return!1;return!0},isEqual:function(e,n){return _t(e,n)},isEqualWith:function(e,n,t){var r=(t=typeof t=="function"?t:void 0)?t(e,n):void 0;return r===void 0?_t(e,n,void 0,t):!!r},isError:Dr,isFinite:function(e){return typeof e=="number"&&Bf(e)},isFunction:sn,isInteger:Na,isLength:Ut,isMap:Ts,isMatch:function(e,n){return e===n||ti(e,n,ri(n))},isMatchWith:function(e,n,t){return t=typeof t=="function"?t:void 0,ti(e,n,ri(n),t)},isNaN:function(e){return La(e)&&e!=+e},isNative:function(e){if(Rf(e))throw new Error("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return uo(e)},isNil:function(e){return e==null},isNull:function(e){return e===null},isNumber:La,isObject:K,isObjectLike:X,isPlainObject:Yn,isRegExp:mi,isSafeInteger:function(e){return Na(e)&&e>=-9007199254740991&&e<=Wf},isSet:Ps,isString:sr,isSymbol:Me,isTypedArray:Qn,isUndefined:function(e){return e===void 0},isWeakMap:function(e){return X(e)&&qe(e)=="[object WeakMap]"},isWeakSet:function(e){return X(e)&&ce(e)=="[object WeakSet]"},lt:Vf,lte:qf,toArray:Pa,toFinite:on,toInteger:z,toLength:ma,toNumber:Se,toPlainObject:ta,toSafeInteger:function(e){return e?Tn(z(e),-9007199254740991,ap):e===0?e:0},toString:Z},de={add:ic,ceil:Al,divide:ef,floor:df,max:function(e){return e&&e.length?ar(e,le,pi):void 0},maxBy:function(e,n){return e&&e.length?ar(e,E(n),pi):void 0},mean:function(e){return Ta(e,le)},meanBy:function(e,n){return Ta(e,E(n))},min:function(e){return e&&e.length?ar(e,le,yi):void 0},minBy:function(e,n){return e&&e.length?ar(e,E(n),yi):void 0},multiply:ed,round:Cd,subtract:qd,sum:function(e){return e&&e.length?bi(e,le):0},sumBy:function(e,n){return e&&e.length?bi(e,E(n)):0}},Ip=function(e,n,t){return t===void 0&&(t=n,n=void 0),t!==void 0&&(t=(t=Se(t))==t?t:0),n!==void 0&&(n=(n=Se(n))==n?n:0),Tn(Se(e),n,t)},Sp=function(e,n,t){return n=on(n),t===void 0?(t=n,n=0):t=on(t),function(r,i,o){return r>=xf(i,o)&&r<wf(i,o)}(e=Se(e),n,t)},kp=function(e,n,t){if(t&&typeof t!="boolean"&&fe(e,n,t)&&(n=t=void 0),t===void 0&&(typeof n=="boolean"?(t=n,n=void 0):typeof e=="boolean"&&(t=e,e=void 0)),e===void 0&&n===void 0?(e=0,n=1):(e=on(e),n===void 0?(n=e,e=0):n=on(n)),e>n){var r=e;e=n,n=r}if(t||e%1||n%1){var i=kd();return Sd(e+i*(n-e+Id("1e-"+((i+"").length-1))),n)}return Si(e,n)},L={assign:Fc,assignIn:zo,assignInWith:Zt,assignWith:Gc,at:el,create:function(e,n){var t=Fn(e);return n==null?t:vs(t,n)},defaults:Ql,defaultsDeep:Yl,entries:fa,entriesIn:da,extend:zo,extendWith:Zt,findKey:function(e,n){return wa(e,E(n),Je)},findLastKey:function(e,n){return wa(e,E(n),di)},forIn:function(e,n){return e==null?e:si(e,Ke(n),me)},forInRight:function(e,n){return e==null?e:aa(e,Ke(n),me)},forOwn:function(e,n){return e&&Je(e,Ke(n))},forOwnRight:function(e,n){return e&&di(e,Ke(n))},functions:function(e){return e==null?[]:ir(e,re(e))},functionsIn:function(e){return e==null?[]:ir(e,me(e))},get:Pr,has:function(e,n){return e!=null&&Ys(e,n,_f)},hasIn:ii,invert:$f,invertBy:Ef,invoke:Tf,keys:re,keysIn:me,mapKeys:function(e,n){var t={};return n=E(n),Je(e,function(r,i,o){cn(t,n(r,i,o),r)}),t},mapValues:function(e,n){var t={};return n=E(n),Je(e,function(r,i,o){cn(t,i,n(r,i,o))}),t},merge:Jf,mergeWith:ia,omit:td,omitBy:function(e,n){return Ba(e,Mt(E(n)))},pick:_d,pickBy:Ba,result:function(e,n,t){var r=-1,i=(n=bn(n,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=e?.[Ve(n[r])];o===void 0&&(r=i,o=t),e=sn(o)?o.call(e):o}return e},set:function(e,n,t){return e==null?e:jt(e,n,t)},setWith:function(e,n,t,r){return r=typeof r=="function"?r:void 0,e==null?e:jt(e,n,t,r)},toPairs:fa,toPairsIn:da,transform:function(e,n,t){var r=T(e),i=r||yn(e)||Qn(e);if(n=E(n),t==null){var o=e&&e.constructor;t=i?r?new o:[]:K(e)&&sn(o)?Fn(Yt(e)):{}}return(i?$e:Je)(e,function(a,s,u){return n(t,a,s,u)}),t},unset:function(e,n){return e==null||wi(e,n)},update:function(e,n,t){return e==null?e:fu(e,n,Ke(t))},updateWith:function(e,n,t,r){return r=typeof r=="function"?r:void 0,e==null?e:fu(e,n,Ke(t),r)},values:Xn,valuesIn:function(e){return e==null?[]:hi(e,me(e))}},Xe={at:_p,chain:hs,commit:function(){return new ke(this.value(),this.__chain__)},lodash:l,next:function(){this.__values__===void 0&&(this.__values__=Pa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},plant:function(e){for(var n,t=this;t instanceof Ct;){var r=ho(t);r.__index__=0,r.__values__=void 0,n?i.__wrapped__=r:n=r;var i=r;t=t.__wrapped__}return i.__wrapped__=e,n},reverse:function(){var e=this.__wrapped__;if(e instanceof W){var n=e;return this.__actions__.length&&(n=new W(this)),(n=n.reverse()).__actions__.push({func:At,args:[ki],thisArg:void 0}),new ke(n,this.__chain__)}return this.thru(ki)},tap:function(e,n){return n(e),e},thru:At,toIterator:function(){return this},toJSON:Ei,value:Ei,valueOf:Ei,wrapperChain:function(){return hs(this)}},U={camelCase:xl,capitalize:Vo,deburr:qo,endsWith:function(e,n,t){e=Z(e),n=je(n);var r=e.length,i=t=t===void 0?r:Tn(z(t),0,r);return(t-=n.length)>=0&&e.slice(t,i)==n},escape:ha,escapeRegExp:function(e){return(e=Z(e))&&of.test(e)?e.replace(va,"\\$&"):e},kebabCase:Uf,lowerCase:Qf,lowerFirst:Yf,pad:function(e,n,t){e=Z(e);var r=(n=z(n))?et(e):0;if(!n||r>=n)return e;var i=(n-r)/2;return ur(gd(i),t)+e+ur(vd(i),t)},padEnd:function(e,n,t){e=Z(e);var r=(n=z(n))?et(e):0;return n&&r<n?e+ur(n-r,t):e},padStart:function(e,n,t){e=Z(e);var r=(n=z(n))?et(e):0;return n&&r<n?ur(n-r,t)+e:e},parseInt:function(e,n,t){return t||n==null?n=0:n&&(n=+n),yd(Z(e).replace(md,""),n||0)},repeat:function(e,n,t){return n=(t?fe(e,n,t):n===void 0)?1:z(n),Mi(Z(e),n)},replace:function(){var e=arguments,n=Z(e[0]);return e.length<3?n:n.replace(e[1],e[2])},snakeCase:Ud,split:function(e,n,t){return t&&typeof t!="number"&&fe(e,n,t)&&(n=t=void 0),(t=t===void 0?4294967295:t>>>0)?(e=Z(e))&&(typeof n=="string"||n!=null&&!mi(n))&&!(n=je(n))&&Vn(e)?wn(Fe(e),0,t):e.split(n,t):[]},startCase:Vd,startsWith:function(e,n,t){return e=Z(e),t=t==null?0:Tn(z(t),0,e.length),n=je(n),e.slice(t,t+n.length)==n},template:function(e,n,t){var r=Ni.imports._.templateSettings||Ni;t&&fe(e,n,t)&&(n=void 0),e=Z(e),n=Zt({},n,r,ru);var i,o,a=Zt({},n.imports,r.imports,ru),s=re(a),u=hi(a,s),c=0,d=n.interpolate||dr,f="__p += '",h=RegExp((n.escape||dr).source+"|"+d.source+"|"+(d===iu?ip:dr).source+"|"+(n.evaluate||dr).source+"|$","g"),p=ou.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+`
|
|
4
|
-
`:"";e.replace(h,function(v,_,b,y,x,M){return b||(b=y),f+=e.slice(c,M).replace(op,Xd),_&&(i=!0,f+=`' +
|
|
5
|
-
__e(`+_+`) +
|
|
6
|
-
'`),x&&(o=!0,f+=`';
|
|
7
|
-
`+x+`;
|
|
8
|
-
__p += '`),b&&(f+=`' +
|
|
9
|
-
((__t = (`+b+`)) == null ? '' : __t) +
|
|
10
|
-
'`),c=M+v.length,v}),f+=`';
|
|
11
|
-
`;var g=ou.call(n,"variable")&&n.variable;if(g){if(rp.test(g))throw new Error("Invalid `variable` option passed into `_.template`")}else f=`with (obj) {
|
|
12
|
-
`+f+`
|
|
13
|
-
}
|
|
14
|
-
`;f=(o?f.replace(ep,""):f).replace(np,"$1").replace(tp,"$1;"),f="function("+(g||"obj")+`) {
|
|
15
|
-
`+(g?"":`obj || (obj = {});
|
|
16
|
-
`)+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?`, __j = Array.prototype.join;
|
|
17
|
-
function print() { __p += __j.call(arguments, '') }
|
|
18
|
-
`:`;
|
|
19
|
-
`)+f+`return __p
|
|
20
|
-
}`;var m=Ro(function(){return Function(s,p+"return "+f).apply(void 0,u)});if(m.source=f,Dr(m))throw m;return m},templateSettings:Ni,toLower:function(e){return Z(e).toLowerCase()},toUpper:function(e){return Z(e).toUpperCase()},trim:function(e,n,t){if((e=Z(e))&&(t||n===void 0))return oo(e);if(!e||!(n=je(n)))return e;var r=Fe(e),i=Fe(n);return wn(r,uu(r,i),au(r,i)+1).join("")},trimEnd:function(e,n,t){if((e=Z(e))&&(t||n===void 0))return e.slice(0,io(e)+1);if(!e||!(n=je(n)))return e;var r=Fe(e);return wn(r,0,au(r,Fe(n))+1).join("")},trimStart:function(e,n,t){if((e=Z(e))&&(t||n===void 0))return e.replace(up,"");if(!e||!(n=je(n)))return e;var r=Fe(e);return wn(r,uu(r,Fe(n))).join("")},truncate:function(e,n){var t=30,r="...";if(K(n)){var i="separator"in n?n.separator:i;t="length"in n?z(n.length):t,r="omission"in n?je(n.omission):r}var o=(e=Z(e)).length;if(Vn(e)){var a=Fe(e);o=a.length}if(t>=o)return e;var s=t-et(r);if(s<1)return r;var u=a?wn(a,0,s).join(""):e.slice(0,s);if(i===void 0)return u+r;if(a&&(s+=u.length-s),mi(i)){if(e.slice(s).search(i)){var c,d=u;for(i.global||(i=RegExp(i.source,Z(cp.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;u=u.slice(0,f===void 0?s:f)}}else if(e.indexOf(je(i),s)!=s){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+r},unescape:function(e){return(e=Z(e))&&fp.test(e)?e.replace(cu,lp):e},upperCase:yp,upperFirst:Fr,words:ps},G={attempt:Ro,bindAll:ol,cond:function(e){var n=e==null?0:e.length,t=E;return e=n?J(e,function(r){if(typeof r[1]!="function")throw new TypeError("Expected a function");return[t(r[0]),r[1]]}):[],D(function(r){for(var i=-1;++i<n;){var o=e[i];if(Ae(o[0],this,r))return Ae(o[1],this,r)}})},conforms:function(e){return function(n){var t=re(n);return function(r){return Js(r,n,t)}}(Ee(e,1))},constant:Sr,defaultTo:function(e,n){return e==null||e!=e?n:e},flow:pf,flowRight:hf,identity:le,iteratee:function(e){return E(typeof e=="function"?e:Ee(e,1))},matches:function(e){return Qs(Ee(e,1))},matchesProperty:function(e,n){return Vs(e,Ee(n,1))},method:Kf,methodOf:Xf,mixin:za,noop:Ar,nthArg:function(e){return e=z(e),D(function(n){return Ca(n,e)})},over:rd,overEvery:ad,overSome:ud,property:qs,propertyOf:function(e){return function(n){return e==null?void 0:En(e,n)}},range:Ld,rangeRight:Ed,stubArray:Hr,stubFalse:Lr,stubObject:function(){return{}},stubString:function(){return""},stubTrue:function(){return!0},times:function(e,n){if((e=z(e))<1||e>9007199254740991)return[];var t=Li,r=sp(e,Li);n=Ke(n),e-=Li;for(var i=Nr(r,n);++t<e;)n(t);return i},toPath:function(e){return T(e)?J(e,Ve):Me(e)?[e]:ve(Po(Z(e)))},uniqueId:function(e){var n=++gp;return Z(e)+n}},$p=Math.max,Np=Math.min,Lp=Math.min;/**
|
|
21
|
-
* @license
|
|
22
|
-
* Lodash (Custom Build) <https://lodash.com/>
|
|
23
|
-
* Build: `lodash modularize exports="es" -o ./`
|
|
24
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
25
|
-
* Released under MIT license <https://lodash.com/license>
|
|
26
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
27
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
28
|
-
*/var Pi,pu=4294967295,Ep=Array.prototype,hu=Object.prototype.hasOwnProperty,vu=ae?ae.iterator:void 0,Tp=Math.max,gu=Math.min,Ci=function(e){return function(n,t,r){if(r==null){var i=K(t),o=i&&re(t),a=o&&o.length&&ir(t,o);(a?a.length:i)||(r=t,t=n,n=this)}return e(n,t,r)}}(za);l.after=ee.after,l.ary=ee.ary,l.assign=L.assign,l.assignIn=L.assignIn,l.assignInWith=L.assignInWith,l.assignWith=L.assignWith,l.at=L.at,l.before=ee.before,l.bind=ee.bind,l.bindAll=G.bindAll,l.bindKey=ee.bindKey,l.castArray=N.castArray,l.chain=Xe.chain,l.chunk=O.chunk,l.compact=O.compact,l.concat=O.concat,l.cond=G.cond,l.conforms=G.conforms,l.constant=G.constant,l.countBy=Q.countBy,l.create=L.create,l.curry=ee.curry,l.curryRight=ee.curryRight,l.debounce=ee.debounce,l.defaults=L.defaults,l.defaultsDeep=L.defaultsDeep,l.defer=ee.defer,l.delay=ee.delay,l.difference=O.difference,l.differenceBy=O.differenceBy,l.differenceWith=O.differenceWith,l.drop=O.drop,l.dropRight=O.dropRight,l.dropRightWhile=O.dropRightWhile,l.dropWhile=O.dropWhile,l.fill=O.fill,l.filter=Q.filter,l.flatMap=Q.flatMap,l.flatMapDeep=Q.flatMapDeep,l.flatMapDepth=Q.flatMapDepth,l.flatten=O.flatten,l.flattenDeep=O.flattenDeep,l.flattenDepth=O.flattenDepth,l.flip=ee.flip,l.flow=G.flow,l.flowRight=G.flowRight,l.fromPairs=O.fromPairs,l.functions=L.functions,l.functionsIn=L.functionsIn,l.groupBy=Q.groupBy,l.initial=O.initial,l.intersection=O.intersection,l.intersectionBy=O.intersectionBy,l.intersectionWith=O.intersectionWith,l.invert=L.invert,l.invertBy=L.invertBy,l.invokeMap=Q.invokeMap,l.iteratee=G.iteratee,l.keyBy=Q.keyBy,l.keys=re,l.keysIn=L.keysIn,l.map=Q.map,l.mapKeys=L.mapKeys,l.mapValues=L.mapValues,l.matches=G.matches,l.matchesProperty=G.matchesProperty,l.memoize=ee.memoize,l.merge=L.merge,l.mergeWith=L.mergeWith,l.method=G.method,l.methodOf=G.methodOf,l.mixin=Ci,l.negate=Mt,l.nthArg=G.nthArg,l.omit=L.omit,l.omitBy=L.omitBy,l.once=ee.once,l.orderBy=Q.orderBy,l.over=G.over,l.overArgs=ee.overArgs,l.overEvery=G.overEvery,l.overSome=G.overSome,l.partial=ee.partial,l.partialRight=ee.partialRight,l.partition=Q.partition,l.pick=L.pick,l.pickBy=L.pickBy,l.property=G.property,l.propertyOf=G.propertyOf,l.pull=O.pull,l.pullAll=O.pullAll,l.pullAllBy=O.pullAllBy,l.pullAllWith=O.pullAllWith,l.pullAt=O.pullAt,l.range=G.range,l.rangeRight=G.rangeRight,l.rearg=ee.rearg,l.reject=Q.reject,l.remove=O.remove,l.rest=ee.rest,l.reverse=O.reverse,l.sampleSize=Q.sampleSize,l.set=L.set,l.setWith=L.setWith,l.shuffle=Q.shuffle,l.slice=O.slice,l.sortBy=Q.sortBy,l.sortedUniq=O.sortedUniq,l.sortedUniqBy=O.sortedUniqBy,l.split=U.split,l.spread=ee.spread,l.tail=O.tail,l.take=O.take,l.takeRight=O.takeRight,l.takeRightWhile=O.takeRightWhile,l.takeWhile=O.takeWhile,l.tap=Xe.tap,l.throttle=ee.throttle,l.thru=At,l.toArray=N.toArray,l.toPairs=L.toPairs,l.toPairsIn=L.toPairsIn,l.toPath=G.toPath,l.toPlainObject=N.toPlainObject,l.transform=L.transform,l.unary=ee.unary,l.union=O.union,l.unionBy=O.unionBy,l.unionWith=O.unionWith,l.uniq=O.uniq,l.uniqBy=O.uniqBy,l.uniqWith=O.uniqWith,l.unset=L.unset,l.unzip=O.unzip,l.unzipWith=O.unzipWith,l.update=L.update,l.updateWith=L.updateWith,l.values=L.values,l.valuesIn=L.valuesIn,l.without=O.without,l.words=U.words,l.wrap=ee.wrap,l.xor=O.xor,l.xorBy=O.xorBy,l.xorWith=O.xorWith,l.zip=O.zip,l.zipObject=O.zipObject,l.zipObjectDeep=O.zipObjectDeep,l.zipWith=O.zipWith,l.entries=L.toPairs,l.entriesIn=L.toPairsIn,l.extend=L.assignIn,l.extendWith=L.assignInWith,Ci(l,l),l.add=de.add,l.attempt=G.attempt,l.camelCase=U.camelCase,l.capitalize=U.capitalize,l.ceil=de.ceil,l.clamp=Ip,l.clone=N.clone,l.cloneDeep=N.cloneDeep,l.cloneDeepWith=N.cloneDeepWith,l.cloneWith=N.cloneWith,l.conformsTo=N.conformsTo,l.deburr=U.deburr,l.defaultTo=G.defaultTo,l.divide=de.divide,l.endsWith=U.endsWith,l.eq=N.eq,l.escape=U.escape,l.escapeRegExp=U.escapeRegExp,l.every=Q.every,l.find=Q.find,l.findIndex=O.findIndex,l.findKey=L.findKey,l.findLast=Q.findLast,l.findLastIndex=O.findLastIndex,l.findLastKey=L.findLastKey,l.floor=de.floor,l.forEach=Q.forEach,l.forEachRight=Q.forEachRight,l.forIn=L.forIn,l.forInRight=L.forInRight,l.forOwn=L.forOwn,l.forOwnRight=L.forOwnRight,l.get=L.get,l.gt=N.gt,l.gte=N.gte,l.has=L.has,l.hasIn=L.hasIn,l.head=O.head,l.identity=le,l.includes=Q.includes,l.indexOf=O.indexOf,l.inRange=Sp,l.invoke=L.invoke,l.isArguments=N.isArguments,l.isArray=T,l.isArrayBuffer=N.isArrayBuffer,l.isArrayLike=N.isArrayLike,l.isArrayLikeObject=N.isArrayLikeObject,l.isBoolean=N.isBoolean,l.isBuffer=N.isBuffer,l.isDate=N.isDate,l.isElement=N.isElement,l.isEmpty=N.isEmpty,l.isEqual=N.isEqual,l.isEqualWith=N.isEqualWith,l.isError=N.isError,l.isFinite=N.isFinite,l.isFunction=N.isFunction,l.isInteger=N.isInteger,l.isLength=N.isLength,l.isMap=N.isMap,l.isMatch=N.isMatch,l.isMatchWith=N.isMatchWith,l.isNaN=N.isNaN,l.isNative=N.isNative,l.isNil=N.isNil,l.isNull=N.isNull,l.isNumber=N.isNumber,l.isObject=K,l.isObjectLike=N.isObjectLike,l.isPlainObject=N.isPlainObject,l.isRegExp=N.isRegExp,l.isSafeInteger=N.isSafeInteger,l.isSet=N.isSet,l.isString=N.isString,l.isSymbol=N.isSymbol,l.isTypedArray=N.isTypedArray,l.isUndefined=N.isUndefined,l.isWeakMap=N.isWeakMap,l.isWeakSet=N.isWeakSet,l.join=O.join,l.kebabCase=U.kebabCase,l.last=Ie,l.lastIndexOf=O.lastIndexOf,l.lowerCase=U.lowerCase,l.lowerFirst=U.lowerFirst,l.lt=N.lt,l.lte=N.lte,l.max=de.max,l.maxBy=de.maxBy,l.mean=de.mean,l.meanBy=de.meanBy,l.min=de.min,l.minBy=de.minBy,l.stubArray=G.stubArray,l.stubFalse=G.stubFalse,l.stubObject=G.stubObject,l.stubString=G.stubString,l.stubTrue=G.stubTrue,l.multiply=de.multiply,l.nth=O.nth,l.noop=G.noop,l.now=Op,l.pad=U.pad,l.padEnd=U.padEnd,l.padStart=U.padStart,l.parseInt=U.parseInt,l.random=kp,l.reduce=Q.reduce,l.reduceRight=Q.reduceRight,l.repeat=U.repeat,l.replace=U.replace,l.result=L.result,l.round=de.round,l.sample=Q.sample,l.size=Q.size,l.snakeCase=U.snakeCase,l.some=Q.some,l.sortedIndex=O.sortedIndex,l.sortedIndexBy=O.sortedIndexBy,l.sortedIndexOf=O.sortedIndexOf,l.sortedLastIndex=O.sortedLastIndex,l.sortedLastIndexBy=O.sortedLastIndexBy,l.sortedLastIndexOf=O.sortedLastIndexOf,l.startCase=U.startCase,l.startsWith=U.startsWith,l.subtract=de.subtract,l.sum=de.sum,l.sumBy=de.sumBy,l.template=U.template,l.times=G.times,l.toFinite=N.toFinite,l.toInteger=z,l.toLength=N.toLength,l.toLower=U.toLower,l.toNumber=N.toNumber,l.toSafeInteger=N.toSafeInteger,l.toString=N.toString,l.toUpper=U.toUpper,l.trim=U.trim,l.trimEnd=U.trimEnd,l.trimStart=U.trimStart,l.truncate=U.truncate,l.unescape=U.unescape,l.uniqueId=G.uniqueId,l.upperCase=U.upperCase,l.upperFirst=U.upperFirst,l.each=Q.forEach,l.eachRight=Q.forEachRight,l.first=O.head,Ci(l,(Pi={},Je(l,function(e,n){hu.call(l.prototype,n)||(Pi[n]=e)}),Pi),{chain:!1}),l.VERSION="4.17.21",(l.templateSettings=U.templateSettings).imports._=l,$e(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),$e(["drop","take"],function(e,n){W.prototype[e]=function(t){t=t===void 0?1:Tp(z(t),0);var r=this.__filtered__&&!n?new W(this):this.clone();return r.__filtered__?r.__takeCount__=gu(t,r.__takeCount__):r.__views__.push({size:gu(t,pu),type:e+(r.__dir__<0?"Right":"")}),r},W.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),$e(["filter","map","takeWhile"],function(e,n){var t=n+1,r=t==1||t==3;W.prototype[e]=function(i){var o=this.clone();return o.__iteratees__.push({iteratee:E(i),type:t}),o.__filtered__=o.__filtered__||r,o}}),$e(["head","last"],function(e,n){var t="take"+(n?"Right":"");W.prototype[e]=function(){return this[t](1).value()[0]}}),$e(["initial","tail"],function(e,n){var t="drop"+(n?"":"Right");W.prototype[e]=function(){return this.__filtered__?new W(this):this[t](1)}}),W.prototype.compact=function(){return this.filter(le)},W.prototype.find=function(e){return this.filter(e).head()},W.prototype.findLast=function(e){return this.reverse().find(e)},W.prototype.invokeMap=D(function(e,n){return typeof e=="function"?new W(this):this.map(function(t){return xt(t,e,n)})}),W.prototype.reject=function(e){return this.filter(Mt(E(e)))},W.prototype.slice=function(e,n){e=z(e);var t=this;return t.__filtered__&&(e>0||n<0)?new W(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),n!==void 0&&(t=(n=z(n))<0?t.dropRight(-n):t.take(n-e)),t)},W.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},W.prototype.toArray=function(){return this.take(pu)},Je(W.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),i=l[r?"take"+(n=="last"?"Right":""):n],o=r||/^find/.test(n);i&&(l.prototype[n]=function(){var a=this.__wrapped__,s=r?[1]:arguments,u=a instanceof W,c=s[0],d=u||T(a),f=function(_){var b=i.apply(l,_n([_],s));return r&&h?b[0]:b};d&&t&&typeof c=="function"&&c.length!=1&&(u=d=!1);var h=this.__chain__,p=!!this.__actions__.length,g=o&&!h,m=u&&!p;if(!o&&d){a=m?a:new W(this);var v=e.apply(a,s);return v.__actions__.push({func:At,args:[f],thisArg:void 0}),new ke(v,h)}return g&&m?e.apply(this,s):(v=this.thru(f),g?r?v.value()[0]:v.value():v)})}),$e(["pop","push","shift","sort","splice","unshift"],function(e){var n=Ep[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var i=arguments;if(r&&!this.__chain__){var o=this.value();return n.apply(T(o)?o:[],i)}return this[t](function(a){return n.apply(T(a)?a:[],i)})}}),Je(W.prototype,function(e,n){var t=l[n];if(t){var r=t.name+"";hu.call(Un,r)||(Un[r]=[]),Un[r].push({name:n,func:t})}}),Un[Ft(void 0,2).name]=[{name:"wrapper",func:void 0}],W.prototype.clone=function(){var e=new W(this.__wrapped__);return e.__actions__=ve(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ve(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ve(this.__views__),e},W.prototype.reverse=function(){if(this.__filtered__){var e=new W(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},W.prototype.value=function(){var e=this.__wrapped__.value(),n=this.__dir__,t=T(e),r=n<0,i=t?e.length:0,o=function(M,k,I){for(var w=-1,$=I.length;++w<$;){var H=I[w],Y=H.size;switch(H.type){case"drop":M+=Y;break;case"dropRight":k-=Y;break;case"take":k=Np(k,M+Y);break;case"takeRight":M=$p(M,k-Y)}}return{start:M,end:k}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=r?s:a-1,d=this.__iteratees__,f=d.length,h=0,p=Lp(u,this.__takeCount__);if(!t||!r&&i==u&&p==u)return su(e,this.__actions__);var g=[];e:for(;u--&&h<p;){for(var m=-1,v=e[c+=n];++m<f;){var _=d[m],b=_.iteratee,y=_.type,x=b(v);if(y==2)v=x;else if(!x){if(y==1)continue e;break e}}g[h++]=v}return g},l.prototype.at=Xe.at,l.prototype.chain=Xe.wrapperChain,l.prototype.commit=Xe.commit,l.prototype.next=Xe.next,l.prototype.plant=Xe.plant,l.prototype.reverse=Xe.reverse,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=Xe.value,l.prototype.first=l.prototype.head,vu&&(l.prototype[vu]=Xe.toIterator);const Di=e=>{for(let n=e.length-1;n>0;n--){const t=Math.floor(Math.random()*(n+1));[e[n],e[t]]=[e[t],e[n]]}return e},mu=(e,n)=>{if(n&&Array.isArray(n)){e.sort((r,i)=>n.indexOf(r.id)-n.indexOf(i.id));const t=e.length-n.length;return[...e.slice(t),...Di(e.slice(0,t))]}return n&&n!=="random"?e:Di(e)};function yu(e,n){if(n?.include?.length){const t=new Set(n.include);return e.filter(r=>t.has(r.id))}if(n?.exclude?.length){const t=new Set(n.exclude);return e.filter(r=>!t.has(r.id))}return e}var nt,Cn,pn,Ot,bu,pr;class _u{constructor(n){nt.add(this),Cn.set(this,!1),pn.set(this,void 0),Ot.set(this,void 0),this.value=void 0,lt(this,Ot,n,"f"),S(this,nt,"m",pr).call(this)}set(n){return!(!S(this,Cn,"f")&&!S(this,nt,"m",pr).call(this))&&(this.delete(),this.value=n,n&&(lt(this,pn,`${S(this,Ot,"f")}-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,"f"),localStorage.setItem(S(this,pn,"f"),n)),!0)}get(){return S(this,nt,"m",bu).call(this),this.value}delete(){return!(!S(this,Cn,"f")&&!S(this,nt,"m",pr).call(this))&&(this.value=null,S(this,pn,"f")&&localStorage.removeItem(S(this,pn,"f")),!0)}}Cn=new WeakMap,pn=new WeakMap,Ot=new WeakMap,nt=new WeakSet,bu=function(){this.value&&this.set(this.value)},pr=function(){try{!S(this,Cn,"f")&&typeof window<"u"&&(lt(this,pn,Object.keys(localStorage).find(e=>e.startsWith(S(this,Ot,"f"))),"f"),lt(this,Cn,!0,"f"),S(this,pn,"f")&&this.set(localStorage.getItem(S(this,pn,"f"))))}catch{}return S(this,Cn,"f")};const Bi=new _u("gsw-default"),hr=new _u("gsw-last");function pe(){}const vr=e=>e;function It(e,n){for(const t in n)e[t]=n[t];return e}function wu(e){return e()}function xu(){return Object.create(null)}function Te(e){e.forEach(wu)}function he(e){return typeof e=="function"}function Ze(e,n){return e!=e?n==n:e!==n||e&&typeof e=="object"||typeof e=="function"}let gr;function Dn(e,n){return gr||(gr=document.createElement("a")),gr.href=n,e===gr.href}function ye(e,n,t,r){if(e){const i=Mu(e,n,t,r);return e[0](i)}}function Mu(e,n,t,r){return e[1]&&r?It(t.ctx.slice(),e[1](r(n))):t.ctx}function be(e,n,t,r){if(e[2]&&r){const i=e[2](r(t));if(n.dirty===void 0)return i;if(typeof i=="object"){const o=[],a=Math.max(n.dirty.length,i.length);for(let s=0;s<a;s+=1)o[s]=n.dirty[s]|i[s];return o}return n.dirty|i}return n.dirty}function _e(e,n,t,r,i,o){if(i){const a=Mu(n,t,r,o);e.p(a,i)}}function we(e){if(e.ctx.length>32){const n=[],t=e.ctx.length/32;for(let r=0;r<t;r++)n[r]=-1;return n}return-1}function ju(e,n){const t={};n=new Set(n);for(const r in e)n.has(r)||r[0]==="$"||(t[r]=e[r]);return t}function hn(e){return e&&he(e.destroy)?e.destroy:pe}const Au=typeof window<"u";let Ri=Au?()=>window.performance.now():()=>Date.now(),Wi=Au?e=>requestAnimationFrame(e):pe;const tt=new Set;function Ou(e){tt.forEach(n=>{n.c(e)||(tt.delete(n),n.f())}),tt.size!==0&&Wi(Ou)}function Fi(e){let n;return tt.size===0&&Wi(Ou),{promise:new Promise(t=>{tt.add(n={c:e,f:t})}),abort(){tt.delete(n)}}}function te(e,n){e.appendChild(n)}function en(e,n,t){const r=Ui(e);if(!r.getElementById(n)){const i=F("style");i.id=n,i.textContent=t,Iu(r,i)}}function Ui(e){if(!e)return document;const n=e.getRootNode?e.getRootNode():e.ownerDocument;return n&&n.host?n:e.ownerDocument}function zp(e){const n=F("style");return Iu(Ui(e),n),n.sheet}function Iu(e,n){return te(e.head||e,n),n.sheet}function B(e,n,t){e.insertBefore(n,t||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function F(e){return document.createElement(e)}function An(e){return document.createTextNode(e)}function se(){return An(" ")}function Zi(){return An("")}function ze(e,n,t,r){return e.addEventListener(n,t,r),()=>e.removeEventListener(n,t,r)}function j(e,n,t){t==null?e.removeAttribute(n):e.getAttribute(n)!==t&&e.setAttribute(n,t)}function Su(e,n){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in n)n[r]==null?e.removeAttribute(r):r==="style"?e.style.cssText=n[r]:r==="__value"?e.value=e[r]=n[r]:t[r]&&t[r].set?e[r]=n[r]:j(e,r,n[r])}function ku(e,n){n=""+n,e.wholeText!==n&&(e.data=n)}function ue(e,n,t,r){t===null?e.style.removeProperty(n):e.style.setProperty(n,t,r?"important":"")}function A(e,n,t){e.classList[t?"add":"remove"](n)}const mr=new Map;let St,yr=0;function br(e,n,t,r,i,o,a,s=0){const u=16.666/r;let c=`{
|
|
29
|
-
`;for(let v=0;v<=1;v+=u){const _=n+(t-n)*o(v);c+=100*v+`%{${a(_,1-_)}}
|
|
30
|
-
`}const d=c+`100% {${a(t,1-t)}}
|
|
31
|
-
}`,f=`__svelte_${function(v){let _=5381,b=v.length;for(;b--;)_=(_<<5)-_^v.charCodeAt(b);return _>>>0}(d)}_${s}`,h=Ui(e),{stylesheet:p,rules:g}=mr.get(h)||function(v,_){const b={stylesheet:zp(_),rules:{}};return mr.set(v,b),b}(h,e);g[f]||(g[f]=!0,p.insertRule(`@keyframes ${f} ${d}`,p.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${f} ${r}ms linear ${i}ms 1 both`,yr+=1,f}function _r(e,n){const t=(e.style.animation||"").split(", "),r=t.filter(n?o=>o.indexOf(n)<0:o=>o.indexOf("__svelte")===-1),i=t.length-r.length;i&&(e.style.animation=r.join(", "),yr-=i,yr||Wi(()=>{yr||(mr.forEach(o=>{const{ownerNode:a}=o.stylesheet;a&&C(a)}),mr.clear())}))}function kt(e){St=e}function $u(){if(!St)throw new Error("Function called outside component initialization");return St}function $t(e){return $u().$$.context.get(e)}function On(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach(r=>r.call(this,n))}const rt=[],wr=[],xr=[],Gi=[],Pp=Promise.resolve();let Hi=!1;function In(e){xr.push(e)}const Qi=new Set;let Nt,it=0;function Nu(){if(it!==0)return;const e=St;do{try{for(;it<rt.length;){const n=rt[it];it++,kt(n),Cp(n.$$)}}catch(n){throw rt.length=0,it=0,n}for(kt(null),rt.length=0,it=0;wr.length;)wr.pop()();for(let n=0;n<xr.length;n+=1){const t=xr[n];Qi.has(t)||(Qi.add(t),t())}xr.length=0}while(rt.length);for(;Gi.length;)Gi.pop()();Hi=!1,Qi.clear(),kt(e)}function Cp(e){if(e.fragment!==null){e.update(),Te(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(In)}}function Yi(){return Nt||(Nt=Promise.resolve(),Nt.then(()=>{Nt=null})),Nt}function Bn(e,n,t){e.dispatchEvent(function(r,i,{bubbles:o=!1,cancelable:a=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(r,o,a,i),s}(`${n?"intro":"outro"}${t}`))}const Mr=new Set;let nn;function ot(){nn={r:0,c:[],p:nn}}function st(){nn.r||Te(nn.c),nn=nn.p}function P(e,n){e&&e.i&&(Mr.delete(e),e.i(n))}function R(e,n,t,r){if(e&&e.o){if(Mr.has(e))return;Mr.add(e),nn.c.push(()=>{Mr.delete(e),r&&(t&&e.d(1),r())}),e.o(n)}else r&&r()}const Vi={duration:0};function Lu(e,n,t,r){const i={direction:"both"};let o=n(e,t,i),a=r?0:1,s=null,u=null,c=null;function d(){c&&_r(e,c)}function f(p,g){const m=p.b-a;return g*=Math.abs(m),{a,b:p.b,d:m,duration:g,start:p.start,end:p.start+g,group:p.group}}function h(p){const{delay:g=0,duration:m=300,easing:v=vr,tick:_=pe,css:b}=o||Vi,y={start:Ri()+g,b:p};p||(y.group=nn,nn.r+=1),s||u?u=y:(b&&(d(),c=br(e,a,p,m,g,v,b)),p&&_(0,1),s=f(y,m),In(()=>Bn(e,p,"start")),Fi(x=>{if(u&&x>u.start&&(s=f(u,m),u=null,Bn(e,s.b,"start"),b&&(d(),c=br(e,a,s.b,s.duration,0,v,o.css))),s){if(x>=s.end)_(a=s.b,1-a),Bn(e,s.b,"end"),u||(s.b?d():--s.group.r||Te(s.group.c)),s=null;else if(x>=s.start){const M=x-s.start;a=s.a+s.d*v(M/s.duration),_(a,1-a)}}return!(!s&&!u)}))}return{run(p){he(o)?Yi().then(()=>{o=o(i),h(p)}):h(p)},end(){d(),s=u=null}}}function Eu(e,n){const t={},r={},i={$$scope:1};let o=e.length;for(;o--;){const a=e[o],s=n[o];if(s){for(const u in a)u in s||(r[u]=1);for(const u in s)i[u]||(t[u]=s[u],i[u]=1);e[o]=s}else for(const u in a)i[u]=1}for(const a in r)a in t||(t[a]=void 0);return t}function Ge(e){e&&e.c()}function Pe(e,n,t,r){const{fragment:i,after_update:o}=e.$$;i&&i.m(n,t),r||In(()=>{const a=e.$$.on_mount.map(wu).filter(he);e.$$.on_destroy?e.$$.on_destroy.push(...a):Te(a),e.$$.on_mount=[]}),o.forEach(In)}function Ce(e,n){const t=e.$$;t.fragment!==null&&(Te(t.on_destroy),t.fragment&&t.fragment.d(n),t.on_destroy=t.fragment=null,t.ctx=[])}function Dp(e,n){e.$$.dirty[0]===-1&&(rt.push(e),Hi||(Hi=!0,Pp.then(Nu)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31}function He(e,n,t,r,i,o,a,s=[-1]){const u=St;kt(e);const c=e.$$={fragment:null,ctx:[],props:o,update:pe,not_equal:i,bound:xu(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(u?u.$$.context:[])),callbacks:xu(),dirty:s,skip_bound:!1,root:n.target||u.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(e,n.props||{},(f,h,...p)=>{const g=p.length?p[0]:h;return c.ctx&&i(c.ctx[f],c.ctx[f]=g)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](g),d&&Dp(e,f)),h}):[],c.update(),d=!0,Te(c.before_update),c.fragment=!!r&&r(c.ctx),n.target){if(n.hydrate){const f=function(h){return Array.from(h.childNodes)}(n.target);c.fragment&&c.fragment.l(f),f.forEach(C)}else c.fragment&&c.fragment.c();n.intro&&P(e.$$.fragment),Pe(e,n.target,n.anchor,n.customElement),Nu()}kt(u)}class Qe{$destroy(){Ce(this,1),this.$destroy=pe}$on(n,t){if(!he(t))return pe;const r=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return r.push(t),()=>{const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}$set(n){var t;this.$$set&&(t=n,Object.keys(t).length!==0)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}var Bp=Array.from([{id:"alephium",name:"Alephium",icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDUxMiA1MTIiCiAgIHZlcnNpb249IjEuMSIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyOyIKICAgaWQ9InN2Zzk4ODQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnMKICAgaWQ9ImRlZnMxMCIgLz4KICAgIDxnCiAgIGlkPSJnMTAwNyI+PHJlY3QKICAgICB4PSIwIgogICAgIHk9IjAiCiAgICAgd2lkdGg9IjUxMi4wMDA2MSIKICAgICBoZWlnaHQ9IjUxMS45OTk5MSIKICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZS13aWR0aDowLjM1NTU1NiIKICAgICBpZD0icmVjdDk4NjUiIC8+PHBhdGgKICAgICBkPSJtIDIyMi44MjMyLDMwOS43OTQxMSBjIDAsLTQuMzYxMjQgLTMuNDQ2NzgsLTcuMjk4MzIgLTcuNzA0NTgsLTYuNTQ3NjYgbCAtNTAuODkwNzksOC45NzIwOSBjIC00LjI1Nzc5LDAuNzUwNjUgLTcuNzA0NTgsNC45MDMwOCAtNy43MDQ1OCw5LjI2NDMxIHYgOTYuMjM1OTggYyAwLDQuMzcxMTkgMy40NDY3OSw3LjMwODI3IDcuNzA0NTgsNi41NTc2MSBsIDUwLjg5MDc5LC04Ljk3MjA5IGMgNC4yNTc4LC0wLjc1MDY1IDcuNzA0NTgsLTQuOTAzMDggNy43MDQ1OCwtOS4yNzQyNyB6IgogICAgIHN0eWxlPSJmaWxsOiMwMDAwMDA7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlLXdpZHRoOjEuMDA0NyIKICAgICBpZD0icGF0aDk4NjciIC8+PHBhdGgKICAgICBkPSJtIDM1NS4zODYyLDk0LjMwNTMwNCBjIDAsLTQuMzYxMjM3IC0zLjQ0Njc4LC03LjI5ODMxNSAtNy43MDQ1OCwtNi41NDc2NjIgbCAtNTAuODkwNzksOC45NzIwOTUgYyAtNC4yNTc3OSwwLjc1MDY1MyAtNy43MDQ1OCw0LjkwMzA3MyAtNy43MDQ1OCw5LjI2NDMxMyB2IDk2LjIzNTk3IGMgMCw0LjM3MTIgMy40NDY3OSw3LjMwODI3IDcuNzA0NTgsNi41NTc2MiBsIDUwLjg5MDc5LC04Ljk3MjA5IGMgNC4yNTc4LC0wLjc1MDY2IDcuNzA0NTgsLTQuOTAzMDggNy43MDQ1OCwtOS4yNzQyNyB6IgogICAgIHN0eWxlPSJmaWxsOiNmZjVkNTE7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlLXdpZHRoOjEuMDA0NyIKICAgICBpZD0icGF0aDk4NzEiIC8+PHBhdGgKICAgICBkPSJtIDIzMS4wODk3OSwxMTYuNzY3NDEgYyAtMS45NjU1NSwtNC4zMjkwNSAtNy4yNDkxNiwtNy4xODEyNiAtMTEuODExMDgsLTYuMzc2OTkgbCAtNTQuNTI1NzgsOS42MTI5NiBjIC00LjU2MTkyLDAuODA0MjcgLTYuNjY0MjgsNC45NTg2MyAtNC42OTg3Miw5LjI4NzY4IGwgMTIwLjczOTcxLDI2NS45MjQxMiBjIDEuOTY1NTYsNC4zMjkwNiA3LjI2MDUzLDcuMjA2MjggMTEuODIyNDQsNi40MDIwMSBsIDU0LjUyNTc5LC05LjYxMjk1IGMgNC41NjE5MiwtMC44MDQyNyA2LjY1MjkxLC00Ljk4MzY1IDQuNjg3MzYsLTkuMzEyNzEgeiIKICAgICBzdHlsZT0iZmlsbDojMDAwMDAwO2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoxLjcxMzM0IgogICAgIGlkPSJwYXRoOTg3NSIgLz48L2c+Cjwvc3ZnPgo=",downloads:{chrome:"https://chrome.google.com/webstore/detail/alephium-future-plugin",firefox:"https://addons.mozilla.org/en-US/firefox/addon/alephium-future-plugin"}}]);const Rp={color:"currentColor",class:"",opacity:.1,centered:!1,spreadingDuration:".4s",spreadingDelay:"0s",spreadingTimingFunction:"linear",clearingDuration:"1s",clearingDelay:"0s",clearingTimingFunction:"ease-in-out"};function Tu(e,n={}){e.stopImmediatePropagation();const t={...Rp,...n},r=!!e.touches&&!!e.touches[0],i=r?e.touches[0].currentTarget:e.currentTarget,o=document.createElement("div"),a=o.style;o.className=`material-ripple ${t.class}`,a.position="absolute",a.color="inherit",a.borderRadius="50%",a.pointerEvents="none",a.width="100px",a.height="100px",a.marginTop="-50px",a.marginLeft="-50px",i.appendChild(o),a.opacity=t.opacity,a.transition=`transform ${t.spreadingDuration} ${t.spreadingTimingFunction} ${t.spreadingDelay},opacity ${t.clearingDuration} ${t.clearingTimingFunction} ${t.clearingDelay}`,a.transform="scale(0) translate(0,0)",a.background=t.color;const s=i.getBoundingClientRect();if(t.centered)a.top=s.height/2+"px",a.left=s.width/2+"px";else{const u=r?e.touches[0].clientY:e.clientY,c=r?e.touches[0].clientX:e.clientX;a.top=u-s.top+"px",a.left=c-s.left+"px"}return a.transform=`scale(${.02*Math.max(s.width,s.height)}) translate(0,0)`,o}var zu=(e,n={})=>{let t,r=n,i=!1,o=!1;const a=h=>{t=Tu(h,r)},s=()=>function(h){h&&(h.addEventListener("transitionend",p=>{p.propertyName==="opacity"&&h.remove()}),h.style.opacity=0)}(t),u=h=>{o||h.keyCode!==13&&h.keyCode!==32||(t=Tu(h,{...r,centered:!0}),o=!0)},c=()=>{o=!1,s()};function d(){e.classList.add("s-ripple-container"),e.addEventListener("pointerdown",a),e.addEventListener("pointerup",s),e.addEventListener("pointerleave",s),e.addEventListener("keydown",u),e.addEventListener("keyup",c),i=!1}function f(){e.classList.remove("s-ripple-container"),e.removeEventListener("pointerdown",a),e.removeEventListener("pointerup",s),e.removeEventListener("pointerleave",s),e.removeEventListener("keydown",u),e.removeEventListener("keyup",c),i=!0}return r&&d(),{update(h){r=h,r&&i?d():r||i||f()},destroy:f}};function Pu(e){return typeof e=="number"?`${e}px`:e}var Wp=(e,n)=>{let t=n;return Object.entries(t).forEach(([r,i])=>{i&&e.style.setProperty(`--s-${r}`,Pu(i))}),{update(r){Object.entries(r).forEach(([i,o])=>{o&&(e.style.setProperty(`--s-${i}`,Pu(o)),delete t[i])}),Object.keys(t).forEach(i=>e.style.removeProperty(`--s-${i}`)),t=r}}};const qi=e=>e.split(" ").filter(n=>!!n);var Cu=(e,n)=>{let t=n;return e.classList.add(...qi((r=>r.filter(i=>!!i))(t).join(" "))),{update(r){const i=r;i.forEach((o,a)=>{o?e.classList.add(...qi(o)):t[a]&&e.classList.remove(...qi(t[a]))}),t=i}}};function Fp(e){en(e,"svelte-1is7e95",'.s-btn{align-items:center;border-radius:4px;display:inline-flex;flex:0 0 auto;overflow:hidden;position:relative;outline:0;justify-content:center;user-select:none;vertical-align:middle;white-space:nowrap;text-decoration:none;transition-duration:0.28s;transition-property:box-shadow, transform, opacity;background-color:var(--theme-app-bar);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}.s-btn .s-icon,.s-btn a{color:inherit}.s-btn .s-btn__content{display:flex;align-items:center;flex:1 0 auto;color:inherit;justify-content:inherit;line-height:normal;position:relative;font-size:inherit;font-weight:500;letter-spacing:0.0892857143em;text-transform:uppercase}.s-btn:before{border-radius:inherit;bottom:0;color:inherit;content:"";left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1);background-color:currentColor}.s-btn.size-x-small{font-size:0.625rem}.s-btn.size-small{font-size:0.75rem}.s-btn.size-default,.s-btn.size-large{font-size:0.875rem}.s-btn.size-x-large{font-size:1rem}.s-btn:not(.disabled):hover:before{opacity:0.08}.s-btn:not(.disabled).active:before{opacity:0.18}.s-btn:not(.disabled).focus-visible:before{opacity:0.24}.s-btn:not(.outlined).error-color,.s-btn:not(.outlined).info-color,.s-btn:not(.outlined).primary-color,.s-btn:not(.outlined).secondary-color,.s-btn:not(.outlined).success-color,.s-btn:not(.outlined).warning-color{color:#fff}.s-btn:not(.icon):not(.s-btn--fab).size-x-small{height:20px;min-width:36px;padding:0 8.8888888889px}.s-btn:not(.icon):not(.s-btn--fab).size-small{height:28px;min-width:50px;padding:0 12.4444444444px}.s-btn:not(.icon):not(.s-btn--fab).size-default{height:36px;min-width:64px;padding:0 16px}.s-btn:not(.icon):not(.s-btn--fab).size-large{height:44px;min-width:78px;padding:0 19.5555555556px}.s-btn:not(.icon):not(.s-btn--fab).size-x-large{height:52px;min-width:92px;padding:0 23.1111111111px}.s-btn:not(.disabled):not(.depressed){will-change:box-shadow}.s-btn.block{display:flex;flex:1 0 auto;min-width:100% !important;max-width:auto}.s-btn.tile{border-radius:0}.s-btn.text{background-color:transparent}.s-btn.depressed{box-shadow:none}.s-btn.outlined{border:1px solid;background-color:transparent !important}.s-btn.rounded{border-radius:9999px}.s-btn.disabled{pointer-events:none;color:var(--theme-buttons-disabled)}.s-btn.disabled:not(.flat):not(.text):not(.outlined){background-color:var(--theme-buttons-disabled)}.s-btn.icon.size-x-small{height:20px;width:20px}.s-btn.icon.size-small{height:28px;width:28px}.s-btn.icon.size-default{height:36px;width:36px}.s-btn.icon.size-large{height:44px;width:44px}.s-btn.icon.size-x-large{height:52px;width:52px}.s-btn.icon,.s-btn.s-btn--fab{border-radius:50%;min-width:0;min-height:0;padding:0}.s-btn.icon.size-x-small .s-icon,.s-btn.s-btn--fab.size-x-small .s-icon{font-size:18px}.s-btn.icon.size-default .s-icon,.s-btn.icon.size-small .s-icon,.s-btn.s-btn--fab.size-default .s-icon,.s-btn.s-btn--fab.size-small .s-icon{font-size:24px}.s-btn.icon.size-large .s-icon,.s-btn.s-btn--fab.size-large .s-icon{font-size:28px}.s-btn.icon.size-x-large .s-icon,.s-btn.s-btn--fab.size-x-large .s-icon{font-size:32px}.s-btn.s-btn--fab.size-x-small{height:32px;width:32px}.s-btn.s-btn--fab.size-small{height:40px;width:40px}.s-btn.s-btn--fab.size-default{height:56px;width:56px}.s-btn.s-btn--fab.size-large{height:64px;width:64px}.s-btn.s-btn--fab.size-x-large{height:72px;width:72px}')}function Up(e){let n,t,r,i,o,a,s,u;const c=e[19].default,d=ye(c,e,e[18],null);let f=[{class:r="s-btn size-"+e[5]+" "+e[1]},{type:e[14]},{style:e[16]},{disabled:e[11]},{"aria-disabled":e[11]},e[17]],h={};for(let p=0;p<f.length;p+=1)h=It(h,f[p]);return{c(){n=F("button"),t=F("span"),d&&d.c(),j(t,"class","s-btn__content"),Su(n,h),A(n,"s-btn--fab",e[2]),A(n,"icon",e[3]),A(n,"block",e[4]),A(n,"tile",e[6]),A(n,"text",e[7]||e[3]),A(n,"depressed",e[8]||e[7]||e[11]||e[9]||e[3]),A(n,"outlined",e[9]),A(n,"rounded",e[10]),A(n,"disabled",e[11])},m(p,g){B(p,n,g),te(n,t),d&&d.m(t,null),n.autofocus&&n.focus(),e[21](n),a=!0,s||(u=[hn(i=Cu.call(null,n,[e[12]&&e[13]])),hn(o=zu.call(null,n,e[15])),ze(n,"click",e[20])],s=!0)},p(p,[g]){d&&d.p&&(!a||262144&g)&&_e(d,c,p,p[18],a?be(c,p[18],g,null):we(p[18]),null),Su(n,h=Eu(f,[(!a||34&g&&r!==(r="s-btn size-"+p[5]+" "+p[1]))&&{class:r},(!a||16384&g)&&{type:p[14]},(!a||65536&g)&&{style:p[16]},(!a||2048&g)&&{disabled:p[11]},(!a||2048&g)&&{"aria-disabled":p[11]},131072&g&&p[17]])),i&&he(i.update)&&12288&g&&i.update.call(null,[p[12]&&p[13]]),o&&he(o.update)&&32768&g&&o.update.call(null,p[15]),A(n,"s-btn--fab",p[2]),A(n,"icon",p[3]),A(n,"block",p[4]),A(n,"tile",p[6]),A(n,"text",p[7]||p[3]),A(n,"depressed",p[8]||p[7]||p[11]||p[9]||p[3]),A(n,"outlined",p[9]),A(n,"rounded",p[10]),A(n,"disabled",p[11])},i(p){a||(P(d,p),a=!0)},o(p){R(d,p),a=!1},d(p){p&&C(n),d&&d.d(p),e[21](null),s=!1,Te(u)}}}function Zp(e,n,t){const r=["class","fab","icon","block","size","tile","text","depressed","outlined","rounded","disabled","active","activeClass","type","ripple","style","button"];let i=ju(n,r),{$$slots:o={},$$scope:a}=n,{class:s=""}=n,{fab:u=!1}=n,{icon:c=!1}=n,{block:d=!1}=n,{size:f="default"}=n,{tile:h=!1}=n,{text:p=!1}=n,{depressed:g=!1}=n,{outlined:m=!1}=n,{rounded:v=!1}=n,{disabled:_=null}=n,{active:b=!1}=n,{activeClass:y="active"}=n,{type:x="button"}=n,{ripple:M={}}=n,{style:k=null}=n,{button:I=null}=n;return e.$$set=w=>{n=It(It({},n),function($){const H={};for(const Y in $)Y[0]!=="$"&&(H[Y]=$[Y]);return H}(w)),t(17,i=ju(n,r)),"class"in w&&t(1,s=w.class),"fab"in w&&t(2,u=w.fab),"icon"in w&&t(3,c=w.icon),"block"in w&&t(4,d=w.block),"size"in w&&t(5,f=w.size),"tile"in w&&t(6,h=w.tile),"text"in w&&t(7,p=w.text),"depressed"in w&&t(8,g=w.depressed),"outlined"in w&&t(9,m=w.outlined),"rounded"in w&&t(10,v=w.rounded),"disabled"in w&&t(11,_=w.disabled),"active"in w&&t(12,b=w.active),"activeClass"in w&&t(13,y=w.activeClass),"type"in w&&t(14,x=w.type),"ripple"in w&&t(15,M=w.ripple),"style"in w&&t(16,k=w.style),"button"in w&&t(0,I=w.button),"$$scope"in w&&t(18,a=w.$$scope)},[I,s,u,c,d,f,h,p,g,m,v,_,b,y,x,M,k,i,a,o,function(w){On.call(this,e,w)},function(w){wr[w?"unshift":"push"](()=>{I=w,t(0,I)})}]}class Gp extends Qe{constructor(n){super(),He(this,n,Zp,Up,Ze,{class:1,fab:2,icon:3,block:4,size:5,tile:6,text:7,depressed:8,outlined:9,rounded:10,disabled:11,active:12,activeClass:13,type:14,ripple:15,style:16,button:0},Fp)}}let Du=36,Hp="";for(;Du--;)Hp+=Du.toString(36);function Qp(e){const n=e-1;return n*n*n+1}function Yp(e,{delay:n=0,duration:t=400,easing:r=vr}={}){const i=+getComputedStyle(e).opacity;return{delay:n,duration:t,easing:r,css:o=>"opacity: "+o*i}}function Vp(e,{delay:n=0,duration:t=400,easing:r=Qp,start:i=0,opacity:o=0}={}){const a=getComputedStyle(e),s=+a.opacity,u=a.transform==="none"?"":a.transform,c=1-i,d=s*(1-o);return{delay:n,duration:t,easing:r,css:(f,h)=>`
|
|
32
|
-
transform: ${u} scale(${1-c*h});
|
|
33
|
-
opacity: ${s-d*h}
|
|
34
|
-
`}}function qp(e){en(e,"svelte-1qc2404",".s-list{color:var(--theme-text-primary);display:block;padding:8px 0;position:static}.s-list .s-subheader{padding-top:0}.s-list .s-list-item.active{color:inherit}.s-list.disabled{pointer-events:none}.s-list.dense .s-subheader{font-size:0.75rem;height:40px;padding:0 8px}.s-list.rounded{padding:8px}.s-list.rounded .s-list-item{border-radius:32px !important}.s-list.nav{padding-left:8px;padding-right:8px}.s-list.nav .s-list-item{padding:0 8px;border-radius:4px}.s-list.nav .s-list-item:before{border-radius:4px}.s-list.nav .s-list-item:not(:last-child):not(:only-child),.s-list.rounded .s-list-item:not(:last-child):not(:only-child){margin-bottom:8px}.s-list.nav .s-list-item.dense:not(:last-child):not(:only-child),.s-list.rounded .s-list-item.dense:not(:last-child):not(:only-child){margin-bottom:4px}.s-list.outlined{border:thin solid var(--theme-dividers)}.s-list.flat .s-list-item:before{display:none}")}function Jp(e){let n,t,r;const i=e[10].default,o=ye(i,e,e[9],null);return{c(){n=F("div"),o&&o.c(),j(n,"role",e[8]),j(n,"class",t="s-list "+e[0]),j(n,"aria-disabled",e[2]),j(n,"style",e[7]),A(n,"dense",e[1]),A(n,"disabled",e[2]),A(n,"flat",e[3]),A(n,"nav",e[5]),A(n,"outlined",e[6]),A(n,"rounded",e[4])},m(a,s){B(a,n,s),o&&o.m(n,null),r=!0},p(a,[s]){o&&o.p&&(!r||512&s)&&_e(o,i,a,a[9],r?be(i,a[9],s,null):we(a[9]),null),(!r||256&s)&&j(n,"role",a[8]),(!r||1&s&&t!==(t="s-list "+a[0]))&&j(n,"class",t),(!r||4&s)&&j(n,"aria-disabled",a[2]),(!r||128&s)&&j(n,"style",a[7]),(!r||3&s)&&A(n,"dense",a[1]),(!r||5&s)&&A(n,"disabled",a[2]),(!r||9&s)&&A(n,"flat",a[3]),(!r||33&s)&&A(n,"nav",a[5]),(!r||65&s)&&A(n,"outlined",a[6]),(!r||17&s)&&A(n,"rounded",a[4])},i(a){r||(P(o,a),r=!0)},o(a){R(o,a),r=!1},d(a){a&&C(n),o&&o.d(a)}}}function Kp(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{dense:a=null}=n,{disabled:s=null}=n,{flat:u=!1}=n,{rounded:c=!1}=n,{nav:d=!1}=n,{outlined:f=!1}=n,{style:h=null}=n,p=null;var g,m;return $t("S_ListItemRole")||(g="S_ListItemRole",m="listitem",$u().$$.context.set(g,m),p="list"),e.$$set=v=>{"class"in v&&t(0,o=v.class),"dense"in v&&t(1,a=v.dense),"disabled"in v&&t(2,s=v.disabled),"flat"in v&&t(3,u=v.flat),"rounded"in v&&t(4,c=v.rounded),"nav"in v&&t(5,d=v.nav),"outlined"in v&&t(6,f=v.outlined),"style"in v&&t(7,h=v.style),"$$scope"in v&&t(9,i=v.$$scope)},[o,a,s,u,c,d,f,h,p,i,r]}class Xp extends Qe{constructor(n){super(),He(this,n,Kp,Jp,Ze,{class:0,dense:1,disabled:2,flat:3,rounded:4,nav:5,outlined:6,style:7},qp)}}function eh(e){en(e,"svelte-1lt8zv0",'.s-list-item__content{align-items:center;align-self:center;display:flex;flex-wrap:wrap;flex:1 1;overflow:hidden;padding:12px 0}.s-list-item__content>*{line-height:1.1;flex:1 0 100%}.s-list-item__content>:not(:last-child){margin-bottom:2px}.s-list-item__subtitle,.s-list-item__title{flex:1 1 100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.s-list-item__title{align-self:center;font-size:1rem}.s-list-item__subtitle{font-size:0.875rem;color:var(--theme-text-secondary)}.s-list-item{align-items:center;display:flex;flex:1 1 100%;letter-spacing:normal;min-height:48px;outline:none;padding:0 16px;position:relative;text-decoration:none}.s-list-item .s-avatar{align-self:center;margin-top:8px;margin-bottom:8px}.s-list-item .s-icon{align-self:flex-start;margin-top:16px;margin-bottom:16px}.s-list-item .s-avatar,.s-list-item .s-icon{display:inline-flex;min-width:24px}.s-list-item [slot=prepend] .s-avatar{margin-right:16px}.s-list-item [slot=prepend] .s-checkbox,.s-list-item [slot=prepend] .s-icon,.s-list-item [slot=prepend] .s-radio{margin-right:32px}.s-list-item.link{cursor:pointer;user-select:none}.s-list-item.link:before{background-color:currentColor;bottom:0;top:0;left:0;right:0;content:"";pointer-events:none;position:absolute;opacity:0;transition:0.3s cubic-bezier(0.25, 0.8, 0.5, 1)}.s-list-item.link:not(.active):hover:before{opacity:0.04}.s-list-item.selectable{user-select:auto}.s-list-item.multiline .s-list-item__subtitle,.s-list-item.multiline .s-list-item__title{white-space:normal}.s-list-item:not(.disabled).focus-visible:before{opacity:0.12}.s-list-item.disabled{pointer-events:none;color:var(--theme-text-disabled)}.s-list-item.flat:before{display:none}.s-list-item.active:before{opacity:0.12}.s-list-item.active .s-icon{color:inherit}.s-list-item:after{content:"";min-height:inherit;font-size:0}.s-list-item:not(.active){color:var(--theme-text-primary)}.s-list-item.dense,.s-list.dense .s-list-item{min-height:32px}.s-list-item.dense .s-icon,.s-list.dense .s-list-item .s-icon{margin-top:8px;margin-bottom:8px}.s-list-item.dense [slot=prepend] .s-checkbox,.s-list-item.dense [slot=prepend] .s-icon,.s-list-item.dense [slot=prepend] .s-radio,.s-list.dense .s-list-item [slot=prepend] .s-checkbox,.s-list.dense .s-list-item [slot=prepend] .s-icon,.s-list.dense .s-list-item [slot=prepend] .s-radio{margin-right:24px}.s-list-item.dense .s-list-item__content,.s-list.dense .s-list-item .s-list-item__content{padding:8px 0}.s-list-item.dense .s-list-item__subtitle,.s-list-item.dense .s-list-item__title,.s-list.dense .s-list-item .s-list-item__subtitle,.s-list.dense .s-list-item .s-list-item__title{font-size:0.8125rem;font-weight:500;line-height:1rem}')}const nh=e=>({}),Bu=e=>({}),th=e=>({}),Ru=e=>({}),rh=e=>({}),Wu=e=>({});function ih(e){let n,t,r,i,o,a,s,u,c,d,f,h,p,g,m;const v=e[14].prepend,_=ye(v,e,e[13],Wu),b=e[14].default,y=ye(b,e,e[13],null),x=e[14].subtitle,M=ye(x,e,e[13],Ru),k=e[14].append,I=ye(k,e,e[13],Bu);return{c(){n=F("div"),_&&_.c(),t=se(),r=F("div"),i=F("div"),y&&y.c(),o=se(),a=F("div"),M&&M.c(),s=se(),I&&I.c(),j(i,"class","s-list-item__title"),j(a,"class","s-list-item__subtitle"),j(r,"class","s-list-item__content"),j(n,"class",u="s-list-item "+e[1]),j(n,"role",e[10]),j(n,"tabindex",c=e[6]?0:-1),j(n,"aria-selected",d=e[10]==="option"?e[0]:null),j(n,"style",e[9]),A(n,"dense",e[3]),A(n,"disabled",e[4]),A(n,"multiline",e[5]),A(n,"link",e[6]),A(n,"selectable",e[7])},m(w,$){B(w,n,$),_&&_.m(n,null),te(n,t),te(n,r),te(r,i),y&&y.m(i,null),te(r,o),te(r,a),M&&M.m(a,null),te(n,s),I&&I.m(n,null),p=!0,g||(m=[hn(f=Cu.call(null,n,[e[0]&&e[2]])),hn(h=zu.call(null,n,e[8])),ze(n,"click",e[11]),ze(n,"click",e[15]),ze(n,"dblclick",e[16])],g=!0)},p(w,[$]){_&&_.p&&(!p||8192&$)&&_e(_,v,w,w[13],p?be(v,w[13],$,rh):we(w[13]),Wu),y&&y.p&&(!p||8192&$)&&_e(y,b,w,w[13],p?be(b,w[13],$,null):we(w[13]),null),M&&M.p&&(!p||8192&$)&&_e(M,x,w,w[13],p?be(x,w[13],$,th):we(w[13]),Ru),I&&I.p&&(!p||8192&$)&&_e(I,k,w,w[13],p?be(k,w[13],$,nh):we(w[13]),Bu),(!p||2&$&&u!==(u="s-list-item "+w[1]))&&j(n,"class",u),(!p||64&$&&c!==(c=w[6]?0:-1))&&j(n,"tabindex",c),(!p||1&$&&d!==(d=w[10]==="option"?w[0]:null))&&j(n,"aria-selected",d),(!p||512&$)&&j(n,"style",w[9]),f&&he(f.update)&&5&$&&f.update.call(null,[w[0]&&w[2]]),h&&he(h.update)&&256&$&&h.update.call(null,w[8]),(!p||10&$)&&A(n,"dense",w[3]),(!p||18&$)&&A(n,"disabled",w[4]),(!p||34&$)&&A(n,"multiline",w[5]),(!p||66&$)&&A(n,"link",w[6]),(!p||130&$)&&A(n,"selectable",w[7])},i(w){p||(P(_,w),P(y,w),P(M,w),P(I,w),p=!0)},o(w){R(_,w),R(y,w),R(M,w),R(I,w),p=!1},d(w){w&&C(n),_&&_.d(w),y&&y.d(w),M&&M.d(w),I&&I.d(w),g=!1,Te(m)}}}function oh(e,n,t){let{$$slots:r={},$$scope:i}=n;const o=$t("S_ListItemRole"),a=$t("S_ListItemGroup"),s=a?$t(a):{select:()=>null,register:()=>null,index:()=>null,activeClass:"active"};let{class:u=""}=n,{activeClass:c=s.activeClass}=n,{value:d=s.index()}=n,{active:f=!1}=n,{dense:h=!1}=n,{disabled:p=null}=n,{multiline:g=!1}=n,{link:m=o}=n,{selectable:v=!m}=n,{ripple:_=$t("S_ListItemRipple")||o||!1}=n,{style:b=null}=n;return s.register(y=>{t(0,f=y.includes(d))}),e.$$set=y=>{"class"in y&&t(1,u=y.class),"activeClass"in y&&t(2,c=y.activeClass),"value"in y&&t(12,d=y.value),"active"in y&&t(0,f=y.active),"dense"in y&&t(3,h=y.dense),"disabled"in y&&t(4,p=y.disabled),"multiline"in y&&t(5,g=y.multiline),"link"in y&&t(6,m=y.link),"selectable"in y&&t(7,v=y.selectable),"ripple"in y&&t(8,_=y.ripple),"style"in y&&t(9,b=y.style),"$$scope"in y&&t(13,i=y.$$scope)},[f,u,c,h,p,g,m,v,_,b,o,function(){p||s.select(d)},d,i,r,function(y){On.call(this,e,y)},function(y){On.call(this,e,y)}]}class sh extends Qe{constructor(n){super(),He(this,n,oh,ih,Ze,{class:1,activeClass:2,value:12,active:0,dense:3,disabled:4,multiline:5,link:6,selectable:7,ripple:8,style:9},eh)}}const ah=["primary","secondary","success","info","warning","error"];function Fu(e,n){if(/^(#|rgb|hsl|currentColor)/.test(n))return e.style.backgroundColor=n,!1;if(n.startsWith("--"))return e.style.backgroundColor=`var(${n})`,!1;const t=function(r){return r.split(" ").map(i=>ah.includes(i)?`${i}-color`:i)}(n);return e.classList.add(...t),t}var jr=(e,n)=>{let t;return typeof n=="string"&&(t=Fu(e,n)),{update(r){t?e.classList.remove(...t):e.style.backgroundColor=null,typeof r=="string"&&(t=Fu(e,r))}}};function uh(e){en(e,"svelte-x5kbih",".s-overlay.svelte-x5kbih{align-items:center;border-radius:inherit;display:flex;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:auto}.s-overlay.absolute.svelte-x5kbih{position:absolute}.s-overlay__scrim.svelte-x5kbih{border-radius:inherit;bottom:0;height:100%;left:0;position:absolute;right:0;top:0;transition:inherit;width:100%;will-change:opacity}.s-overlay__content.svelte-x5kbih{position:relative}")}function Uu(e){let n,t,r,i,o,a,s,u,c,d,f,h;const p=e[11].default,g=ye(p,e,e[10],null);return{c(){n=F("div"),t=F("div"),i=se(),o=F("div"),g&&g.c(),j(t,"class","s-overlay__scrim svelte-x5kbih"),ue(t,"opacity",e[5]),j(o,"class","s-overlay__content svelte-x5kbih"),j(n,"class",a="s-overlay "+e[0]+" svelte-x5kbih"),j(n,"style",s="z-index:"+e[7]+";"+e[9]),A(n,"absolute",e[8])},m(m,v){B(m,n,v),te(n,t),te(n,i),te(n,o),g&&g.m(o,null),d=!0,f||(h=[hn(r=jr.call(null,t,e[6])),ze(n,"click",e[12])],f=!0)},p(m,v){e=m,(!d||32&v)&&ue(t,"opacity",e[5]),r&&he(r.update)&&64&v&&r.update.call(null,e[6]),g&&g.p&&(!d||1024&v)&&_e(g,p,e,e[10],d?be(p,e[10],v,null):we(e[10]),null),(!d||1&v&&a!==(a="s-overlay "+e[0]+" svelte-x5kbih"))&&j(n,"class",a),(!d||640&v&&s!==(s="z-index:"+e[7]+";"+e[9]))&&j(n,"style",s),(!d||257&v)&&A(n,"absolute",e[8])},i(m){d||(P(g,m),In(()=>{c&&c.end(1),u=function(v,_,b){const y={direction:"in"};let x,M,k=_(v,b,y),I=!1,w=0;function $(){x&&_r(v,x)}function H(){const{delay:vn=0,duration:tn=300,easing:De=vr,tick:rn=pe,css:Be}=k||Vi;Be&&(x=br(v,0,1,tn,vn,De,Be,w++)),rn(0,1);const Re=Ri()+vn,Et=Re+tn;M&&M.abort(),I=!0,In(()=>Bn(v,!0,"start")),M=Fi(gn=>{if(I){if(gn>=Et)return rn(1,0),Bn(v,!0,"end"),$(),I=!1;if(gn>=Re){const Sn=De((gn-Re)/tn);rn(Sn,1-Sn)}}return I})}let Y=!1;return{start(){Y||(Y=!0,_r(v),he(k)?(k=k(y),Yi().then(H)):H())},invalidate(){Y=!1},end(){I&&($(),I=!1)}}}(n,e[1],e[2]),u.start()}),d=!0)},o(m){R(g,m),u&&u.invalidate(),c=function(v,_,b){const y={direction:"out"};let x,M=_(v,b,y),k=!0;const I=nn;function w(){const{delay:$=0,duration:H=300,easing:Y=vr,tick:vn=pe,css:tn}=M||Vi;tn&&(x=br(v,1,0,H,$,Y,tn));const De=Ri()+$,rn=De+H;In(()=>Bn(v,!1,"start")),Fi(Be=>{if(k){if(Be>=rn)return vn(0,1),Bn(v,!1,"end"),--I.r||Te(I.c),!1;if(Be>=De){const Re=Y((Be-De)/H);vn(1-Re,Re)}}return k})}return I.r+=1,he(M)?Yi().then(()=>{M=M(y),w()}):w(),{end($){$&&M.tick&&M.tick(1,0),k&&(x&&_r(v,x),k=!1)}}}(n,e[1],e[3]),d=!1},d(m){m&&C(n),g&&g.d(m),m&&c&&c.end(),f=!1,Te(h)}}}function ch(e){let n,t,r=e[4]&&Uu(e);return{c(){r&&r.c(),n=Zi()},m(i,o){r&&r.m(i,o),B(i,n,o),t=!0},p(i,[o]){i[4]?r?(r.p(i,o),16&o&&P(r,1)):(r=Uu(i),r.c(),P(r,1),r.m(n.parentNode,n)):r&&(ot(),R(r,1,1,()=>{r=null}),st())},i(i){t||(P(r),t=!0)},o(i){R(r),t=!1},d(i){r&&r.d(i),i&&C(n)}}}function lh(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{transition:a=Yp}=n,{inOpts:s={duration:250}}=n,{outOpts:u={duration:250}}=n,{active:c=!0}=n,{opacity:d=.46}=n,{color:f="rgb(33, 33, 33)"}=n,{index:h=5}=n,{absolute:p=!1}=n,{style:g=""}=n;return e.$$set=m=>{"class"in m&&t(0,o=m.class),"transition"in m&&t(1,a=m.transition),"inOpts"in m&&t(2,s=m.inOpts),"outOpts"in m&&t(3,u=m.outOpts),"active"in m&&t(4,c=m.active),"opacity"in m&&t(5,d=m.opacity),"color"in m&&t(6,f=m.color),"index"in m&&t(7,h=m.index),"absolute"in m&&t(8,p=m.absolute),"style"in m&&t(9,g=m.style),"$$scope"in m&&t(10,i=m.$$scope)},[o,a,s,u,c,d,f,h,p,g,i,r,function(m){On.call(this,e,m)}]}class fh extends Qe{constructor(n){super(),He(this,n,lh,ch,Ze,{class:0,transition:1,inOpts:2,outOpts:3,active:4,opacity:5,color:6,index:7,absolute:8,style:9},uh)}}function dh(e){en(e,"svelte-47jzcv",".s-dialog{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:fixed;top:0;transition:0.2s cubic-bezier(0.25, 0.8, 0.25, 1), z-index 1ms;width:100%;z-index:6;outline:none}.s-dialog__content{background-color:var(--theme-surface);border-radius:4px;margin:24px;overflow-y:auto;pointer-events:auto;z-index:inherit;box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.s-dialog__content:not(.fullscreen){max-height:90%;width:var(--s-dialog-width)}.s-dialog__content.fullscreen{border-radius:0;margin:0;height:100%;width:100%;position:fixed;overflow-y:auto;top:0;left:0}.s-dialog__content>.s-card>.s-card-title{font-size:1.25rem;font-weight:500;letter-spacing:0.0125em;padding:16px 24px 10px}.s-dialog__content>.s-card>.s-card-subtitle,.s-dialog__content>.s-card>.s-card-text{padding:0 24px 20px}.fullscreen{border-radius:0;margin:0;height:100%;position:fixed;overflow-y:auto;top:0;left:0}.fullscreen>.s-card{min-height:100%;min-width:100%;margin:0 !important;padding:0 !important}")}function Zu(e){let n,t,r,i,o,a,s,u;const c=e[11].default,d=ye(c,e,e[10],null);return{c(){n=F("div"),t=F("div"),d&&d.c(),j(t,"class",r="s-dialog__content "+e[0]),A(t,"fullscreen",e[2]),j(n,"role","document"),j(n,"class","s-dialog")},m(f,h){B(f,n,h),te(n,t),d&&d.m(t,null),a=!0,s||(u=[ze(t,"introstart",e[12]),ze(t,"outrostart",e[13]),ze(t,"introend",e[14]),ze(t,"outroend",e[15]),hn(o=Wp.call(null,n,{"dialog-width":e[1]}))],s=!0)},p(f,h){d&&d.p&&(!a||1024&h)&&_e(d,c,f,f[10],a?be(c,f[10],h,null):we(f[10]),null),(!a||1&h&&r!==(r="s-dialog__content "+f[0]))&&j(t,"class",r),(!a||5&h)&&A(t,"fullscreen",f[2]),o&&he(o.update)&&2&h&&o.update.call(null,{"dialog-width":f[1]})},i(f){a||(P(d,f),In(()=>{i||(i=Lu(t,e[3],{duration:300,start:.1},!0)),i.run(1)}),a=!0)},o(f){R(d,f),i||(i=Lu(t,e[3],{duration:300,start:.1},!1)),i.run(0),a=!1},d(f){f&&C(n),d&&d.d(f),f&&i&&i.end(),s=!1,Te(u)}}}function ph(e){let n,t,r,i=e[5]&&Zu(e);const o=[e[4],{active:e[5]}];let a={};for(let s=0;s<o.length;s+=1)a=It(a,o[s]);return t=new fh({props:a}),t.$on("click",e[6]),{c(){i&&i.c(),n=se(),Ge(t.$$.fragment)},m(s,u){i&&i.m(s,u),B(s,n,u),Pe(t,s,u),r=!0},p(s,[u]){s[5]?i?(i.p(s,u),32&u&&P(i,1)):(i=Zu(s),i.c(),P(i,1),i.m(n.parentNode,n)):i&&(ot(),R(i,1,1,()=>{i=null}),st());const c=48&u?Eu(o,[16&u&&(d=s[4],typeof d=="object"&&d!==null?d:{}),32&u&&{active:s[5]}]):{};var d;t.$set(c)},i(s){r||(P(i),P(t.$$.fragment,s),r=!0)},o(s){R(i),R(t.$$.fragment,s),r=!1},d(s){i&&i.d(s),s&&C(n),Ce(t,s)}}}function hh(e,n,t){let r,{$$slots:i={},$$scope:o}=n,{class:a=""}=n,{active:s=!1}=n,{persistent:u=!1}=n,{disabled:c=!1}=n,{width:d=500}=n,{fullscreen:f=!1}=n,{transition:h=Vp}=n,{overlay:p={}}=n;return e.$$set=g=>{"class"in g&&t(0,a=g.class),"active"in g&&t(7,s=g.active),"persistent"in g&&t(8,u=g.persistent),"disabled"in g&&t(9,c=g.disabled),"width"in g&&t(1,d=g.width),"fullscreen"in g&&t(2,f=g.fullscreen),"transition"in g&&t(3,h=g.transition),"overlay"in g&&t(4,p=g.overlay),"$$scope"in g&&t(10,o=g.$$scope)},e.$$.update=()=>{640&e.$$.dirty&&t(5,r=s&&!c)},[a,d,f,h,p,r,function(){u||t(7,s=!1)},s,u,c,o,i,function(g){On.call(this,e,g)},function(g){On.call(this,e,g)},function(g){On.call(this,e,g)},function(g){On.call(this,e,g)}]}class vh extends Qe{constructor(n){super(),He(this,n,hh,ph,Ze,{class:0,active:7,persistent:8,disabled:9,width:1,fullscreen:2,transition:3,overlay:4},dh)}}function gh(e){en(e,"svelte-18svewl",".s-progress-linear.svelte-18svewl.svelte-18svewl{background:transparent;overflow:hidden;position:relative;transition:0.2s cubic-bezier(0.4, 0, 0.6, 1);width:100%;color:var(--theme-text-primary)}.s-progress-linear.inactive.svelte-18svewl.svelte-18svewl{height:0 !important}.s-progress-linear.rounded.svelte-18svewl.svelte-18svewl{border-radius:4px}.s-progress-linear.svelte-18svewl .background.svelte-18svewl,.s-progress-linear.svelte-18svewl .determinate.svelte-18svewl,.s-progress-linear.svelte-18svewl .indeterminate.svelte-18svewl{top:0;bottom:0;position:absolute;transition:inherit}.s-progress-linear.svelte-18svewl .determinate.striped.svelte-18svewl{background-image:linear-gradient(135deg, hsla(0deg, 0%, 100%, 0.25) 25%, transparent 0, transparent 50%, hsla(0deg, 0%, 100%, 0.25) 0, hsla(0deg, 0%, 100%, 0.25) 75%, transparent 0, transparent);background-size:40px 40px;background-repeat:repeat}.s-progress-linear.svelte-18svewl .indeterminate.svelte-18svewl{right:auto;width:auto;will-change:left, right;background-color:inherit;animation-duration:2.2s;animation-iteration-count:infinite}.s-progress-linear.svelte-18svewl .indeterminate.long.svelte-18svewl{animation-name:svelte-18svewl-indeterminate}.s-progress-linear.svelte-18svewl .indeterminate.short.svelte-18svewl{animation-name:svelte-18svewl-indeterminate-short}.s-progress-linear.svelte-18svewl .stream.svelte-18svewl{background:transparent !important;animation:svelte-18svewl-stream 0.25s linear infinite;bottom:0;opacity:0.3;pointer-events:none;position:absolute;border-top:4px dotted;top:calc(50% - 2px);transition:inherit}.s-progress-linear.reversed.svelte-18svewl .background.svelte-18svewl,.s-progress-linear.reversed.svelte-18svewl .determinate.svelte-18svewl,.s-progress-linear.reversed.svelte-18svewl .indeterminate.svelte-18svewl{right:0}.s-progress-linear.reversed.svelte-18svewl .indeterminate.svelte-18svewl{animation-direction:reverse}.s-progress-linear.reversed.svelte-18svewl .stream.svelte-18svewl{right:auto;animation-direction:reverse}.s-progress-linear.svelte-18svewl:not(.reversed) .background.svelte-18svewl,.s-progress-linear.svelte-18svewl:not(.reversed) .determinate.svelte-18svewl,.s-progress-linear.svelte-18svewl:not(.reversed) .indeterminate.svelte-18svewl{left:0}.s-progress-linear.svelte-18svewl:not(.reversed) .stream.svelte-18svewl{left:auto;right:-8px}.s-progress-linear__content.svelte-18svewl.svelte-18svewl{align-items:center;display:flex;height:100%;left:0;justify-content:center;position:absolute;top:0;width:100%;z-index:2;pointer-events:none}@keyframes svelte-18svewl-indeterminate{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes svelte-18svewl-indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes svelte-18svewl-stream{to{transform:translateX(-8px)}}")}function mh(e){let n,t,r,i;return{c(){n=F("div"),j(n,"class","determinate svelte-18svewl"),ue(n,"width",e[1]+"%"),A(n,"striped",e[12])},m(o,a){B(o,n,a),r||(i=hn(t=jr.call(null,n,e[7])),r=!0)},p(o,a){2&a&&ue(n,"width",o[1]+"%"),t&&he(t.update)&&128&a&&t.update.call(null,o[7]),4096&a&&A(n,"striped",o[12])},d(o){o&&C(n),r=!1,i()}}}function yh(e){let n,t,r,i;return{c(){n=F("div"),n.innerHTML=`<div class="indeterminate long svelte-18svewl"></div>
|
|
35
|
-
<div class="indeterminate short svelte-18svewl"></div>`},m(o,a){B(o,n,a),r||(i=hn(t=jr.call(null,n,e[7])),r=!0)},p(o,a){t&&he(t.update)&&128&a&&t.update.call(null,o[7])},d(o){o&&C(n),r=!1,i()}}}function Gu(e){let n,t;return{c(){n=F("div"),j(n,"class",t="stream "+e[7]+" svelte-18svewl"),ue(n,"width",100-e[8]+"%")},m(r,i){B(r,n,i)},p(r,i){128&i&&t!==(t="stream "+r[7]+" svelte-18svewl")&&j(n,"class",t),256&i&&ue(n,"width",100-r[8]+"%")},d(r){r&&C(n)}}}function bh(e){let n,t,r,i,o,a,s,u,c,d,f,h,p;function g(x,M){return x[3]?yh:mh}let m=g(e),v=m(e);const _=e[15].default,b=ye(_,e,e[14],null);let y=e[10]&&Gu(e);return{c(){n=F("div"),t=F("div"),o=se(),v.c(),a=se(),s=F("div"),b&&b.c(),u=se(),y&&y.c(),j(t,"class","background svelte-18svewl"),j(t,"style",r="opacity:"+e[6]+";"+(e[9]?"right":"left")+":"+e[1]+"%;width:"+(e[8]-e[1])+"%"),j(s,"class","s-progress-linear__content svelte-18svewl"),j(n,"role","progressbar"),j(n,"aria-valuemin","0"),j(n,"aria-valuemax","100"),j(n,"aria-valuenow",e[1]),j(n,"class",c="s-progress-linear "+e[0]+" svelte-18svewl"),j(n,"style",d="height:"+e[4]+";"+e[13]),A(n,"inactive",!e[2]),A(n,"reversed",e[9]),A(n,"rounded",e[11])},m(x,M){B(x,n,M),te(n,t),te(n,o),v.m(n,null),te(n,a),te(n,s),b&&b.m(s,null),te(n,u),y&&y.m(n,null),f=!0,h||(p=hn(i=jr.call(null,t,e[5])),h=!0)},p(x,[M]){(!f||834&M&&r!==(r="opacity:"+x[6]+";"+(x[9]?"right":"left")+":"+x[1]+"%;width:"+(x[8]-x[1])+"%"))&&j(t,"style",r),i&&he(i.update)&&32&M&&i.update.call(null,x[5]),m===(m=g(x))&&v?v.p(x,M):(v.d(1),v=m(x),v&&(v.c(),v.m(n,a))),b&&b.p&&(!f||16384&M)&&_e(b,_,x,x[14],f?be(_,x[14],M,null):we(x[14]),null),x[10]?y?y.p(x,M):(y=Gu(x),y.c(),y.m(n,null)):y&&(y.d(1),y=null),(!f||2&M)&&j(n,"aria-valuenow",x[1]),(!f||1&M&&c!==(c="s-progress-linear "+x[0]+" svelte-18svewl"))&&j(n,"class",c),(!f||8208&M&&d!==(d="height:"+x[4]+";"+x[13]))&&j(n,"style",d),(!f||5&M)&&A(n,"inactive",!x[2]),(!f||513&M)&&A(n,"reversed",x[9]),(!f||2049&M)&&A(n,"rounded",x[11])},i(x){f||(P(b,x),f=!0)},o(x){R(b,x),f=!1},d(x){x&&C(n),v.d(),b&&b.d(x),y&&y.d(),h=!1,p()}}}function _h(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{value:a=0}=n,{active:s=!0}=n,{indeterminate:u=!1}=n,{height:c="4px"}=n,{backgroundColor:d="primary"}=n,{backgroundOpacity:f=.3}=n,{color:h=d}=n,{buffer:p=100}=n,{reversed:g=!1}=n,{stream:m=!1}=n,{rounded:v=!1}=n,{striped:_=!1}=n,{style:b=""}=n;return e.$$set=y=>{"class"in y&&t(0,o=y.class),"value"in y&&t(1,a=y.value),"active"in y&&t(2,s=y.active),"indeterminate"in y&&t(3,u=y.indeterminate),"height"in y&&t(4,c=y.height),"backgroundColor"in y&&t(5,d=y.backgroundColor),"backgroundOpacity"in y&&t(6,f=y.backgroundOpacity),"color"in y&&t(7,h=y.color),"buffer"in y&&t(8,p=y.buffer),"reversed"in y&&t(9,g=y.reversed),"stream"in y&&t(10,m=y.stream),"rounded"in y&&t(11,v=y.rounded),"striped"in y&&t(12,_=y.striped),"style"in y&&t(13,b=y.style),"$$scope"in y&&t(14,i=y.$$scope)},[o,a,s,u,c,d,f,h,p,g,m,v,_,b,i,r]}class wh extends Qe{constructor(n){super(),He(this,n,_h,bh,Ze,{class:0,value:1,active:2,indeterminate:3,height:4,backgroundColor:5,backgroundOpacity:6,color:7,buffer:8,reversed:9,stream:10,rounded:11,striped:12,style:13},gh)}}function xh(e){en(e,"svelte-14lzzdw",'.s-card{background-color:var(--theme-cards);color:var(--theme-text-primary);display:block;max-width:100%;outline:none;text-decoration:none;transition-property:box-shadow, opacity;overflow-wrap:break-word;position:relative;white-space:normal}.s-card:not(.flat){box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}.s-card:not(.tile){border-radius:4px}.s-card.outlined{border:thin solid rgba(0, 0, 0, 0.12);box-shadow:0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12)}.s-card.raised{box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}.s-card.shaped{border-radius:24px 4px}.s-card.hover{cursor:pointer;transition:box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1)}.s-card.hover:focus,.s-card.hover:hover{box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}.s-card.link,.s-card.link .s-chip{cursor:pointer}.s-card.link:before{background:currentColor;bottom:0;content:"";left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity 0.2s}.s-card.link:focus:before{opacity:0.08}.s-card.disabled{pointer-events:none;user-select:none}.s-card.disabled>:not(.s-progress-linear){opacity:0.6;transition:inherit}.s-card>:first-child:not(.s-btn):not(.s-chip),.s-card>[slot=progress]+:not(.s-btn):not(.s-chip){border-top-left-radius:inherit;border-top-right-radius:inherit}.s-card>:last-child:not(.s-btn):not(.s-chip){border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}')}const Mh=e=>({}),Hu=e=>({});function Qu(e){let n;const t=e[12].progress,r=ye(t,e,e[11],Hu),i=r||function(o){let a,s;return a=new wh({props:{indeterminate:!0}}),{c(){Ge(a.$$.fragment)},m(u,c){Pe(a,u,c),s=!0},p:pe,i(u){s||(P(a.$$.fragment,u),s=!0)},o(u){R(a.$$.fragment,u),s=!1},d(u){Ce(a,u)}}}();return{c(){i&&i.c()},m(o,a){i&&i.m(o,a),n=!0},p(o,a){r&&r.p&&(!n||2048&a)&&_e(r,t,o,o[11],n?be(t,o[11],a,Mh):we(o[11]),Hu)},i(o){n||(P(i,o),n=!0)},o(o){R(i,o),n=!1},d(o){i&&i.d(o)}}}function jh(e){let n,t,r,i,o=e[8]&&Qu(e);const a=e[12].default,s=ye(a,e,e[11],null);return{c(){n=F("div"),o&&o.c(),t=se(),s&&s.c(),j(n,"class",r="s-card "+e[0]),j(n,"style",e[10]),A(n,"flat",e[1]),A(n,"tile",e[2]),A(n,"outlined",e[3]),A(n,"raised",e[4]),A(n,"shaped",e[5]),A(n,"hover",e[6]),A(n,"link",e[7]),A(n,"disabled",e[9])},m(u,c){B(u,n,c),o&&o.m(n,null),te(n,t),s&&s.m(n,null),i=!0},p(u,[c]){u[8]?o?(o.p(u,c),256&c&&P(o,1)):(o=Qu(u),o.c(),P(o,1),o.m(n,t)):o&&(ot(),R(o,1,1,()=>{o=null}),st()),s&&s.p&&(!i||2048&c)&&_e(s,a,u,u[11],i?be(a,u[11],c,null):we(u[11]),null),(!i||1&c&&r!==(r="s-card "+u[0]))&&j(n,"class",r),(!i||1024&c)&&j(n,"style",u[10]),(!i||3&c)&&A(n,"flat",u[1]),(!i||5&c)&&A(n,"tile",u[2]),(!i||9&c)&&A(n,"outlined",u[3]),(!i||17&c)&&A(n,"raised",u[4]),(!i||33&c)&&A(n,"shaped",u[5]),(!i||65&c)&&A(n,"hover",u[6]),(!i||129&c)&&A(n,"link",u[7]),(!i||513&c)&&A(n,"disabled",u[9])},i(u){i||(P(o),P(s,u),i=!0)},o(u){R(o),R(s,u),i=!1},d(u){u&&C(n),o&&o.d(),s&&s.d(u)}}}function Ah(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{flat:a=!1}=n,{tile:s=!1}=n,{outlined:u=!1}=n,{raised:c=!1}=n,{shaped:d=!1}=n,{hover:f=!1}=n,{link:h=!1}=n,{loading:p=!1}=n,{disabled:g=!1}=n,{style:m=null}=n;return e.$$set=v=>{"class"in v&&t(0,o=v.class),"flat"in v&&t(1,a=v.flat),"tile"in v&&t(2,s=v.tile),"outlined"in v&&t(3,u=v.outlined),"raised"in v&&t(4,c=v.raised),"shaped"in v&&t(5,d=v.shaped),"hover"in v&&t(6,f=v.hover),"link"in v&&t(7,h=v.link),"loading"in v&&t(8,p=v.loading),"disabled"in v&&t(9,g=v.disabled),"style"in v&&t(10,m=v.style),"$$scope"in v&&t(11,i=v.$$scope)},[o,a,s,u,c,d,f,h,p,g,m,i,r]}class Oh extends Qe{constructor(n){super(),He(this,n,Ah,jh,Ze,{class:0,flat:1,tile:2,outlined:3,raised:4,shaped:5,hover:6,link:7,loading:8,disabled:9,style:10},xh)}}function Ih(e){en(e,"svelte-eawucv",".s-card-actions{align-items:center;display:flex;padding:8px}")}function Sh(e){let n,t,r;const i=e[3].default,o=ye(i,e,e[2],null);return{c(){n=F("div"),o&&o.c(),j(n,"class",t="s-card-actions "+e[0]),j(n,"style",e[1])},m(a,s){B(a,n,s),o&&o.m(n,null),r=!0},p(a,[s]){o&&o.p&&(!r||4&s)&&_e(o,i,a,a[2],r?be(i,a[2],s,null):we(a[2]),null),(!r||1&s&&t!==(t="s-card-actions "+a[0]))&&j(n,"class",t),(!r||2&s)&&j(n,"style",a[1])},i(a){r||(P(o,a),r=!0)},o(a){R(o,a),r=!1},d(a){a&&C(n),o&&o.d(a)}}}function kh(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{style:a=null}=n;return e.$$set=s=>{"class"in s&&t(0,o=s.class),"style"in s&&t(1,a=s.style),"$$scope"in s&&t(2,i=s.$$scope)},[o,a,i,r]}class $h extends Qe{constructor(n){super(),He(this,n,kh,Sh,Ze,{class:0,style:1},Ih)}}function Nh(e){en(e,"svelte-2cbqpn",".s-card-text{width:100%;color:var(--theme-text-secondary);font-size:0.875rem;font-weight:400;line-height:1.375rem;letter-spacing:0.0071428571em;padding:16px}")}function Lh(e){let n,t,r;const i=e[3].default,o=ye(i,e,e[2],null);return{c(){n=F("div"),o&&o.c(),j(n,"class",t="s-card-text "+e[0]),j(n,"style",e[1])},m(a,s){B(a,n,s),o&&o.m(n,null),r=!0},p(a,[s]){o&&o.p&&(!r||4&s)&&_e(o,i,a,a[2],r?be(i,a[2],s,null):we(a[2]),null),(!r||1&s&&t!==(t="s-card-text "+a[0]))&&j(n,"class",t),(!r||2&s)&&j(n,"style",a[1])},i(a){r||(P(o,a),r=!0)},o(a){R(o,a),r=!1},d(a){a&&C(n),o&&o.d(a)}}}function Eh(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{style:a=null}=n;return e.$$set=s=>{"class"in s&&t(0,o=s.class),"style"in s&&t(1,a=s.style),"$$scope"in s&&t(2,i=s.$$scope)},[o,a,i,r]}class Th extends Qe{constructor(n){super(),He(this,n,Eh,Lh,Ze,{class:0,style:1},Nh)}}function zh(e){en(e,"svelte-1jn8jdl",".s-card-title{align-items:center;display:flex;flex-wrap:wrap;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em;line-height:2rem;word-break:break-all;padding:16px}.s-card-title+.s-card-subtitle,.s-card-title+.s-card-title{padding-top:0;margin-top:-16px}.s-card-title+.s-card-subtitle{margin-top:-16px}")}function Ph(e){let n,t,r;const i=e[3].default,o=ye(i,e,e[2],null);return{c(){n=F("div"),o&&o.c(),j(n,"class",t="s-card-title "+e[0]),j(n,"style",e[1])},m(a,s){B(a,n,s),o&&o.m(n,null),r=!0},p(a,[s]){o&&o.p&&(!r||4&s)&&_e(o,i,a,a[2],r?be(i,a[2],s,null):we(a[2]),null),(!r||1&s&&t!==(t="s-card-title "+a[0]))&&j(n,"class",t),(!r||2&s)&&j(n,"style",a[1])},i(a){r||(P(o,a),r=!0)},o(a){R(o,a),r=!1},d(a){a&&C(n),o&&o.d(a)}}}function Ch(e,n,t){let{$$slots:r={},$$scope:i}=n,{class:o=""}=n,{style:a=null}=n;return e.$$set=s=>{"class"in s&&t(0,o=s.class),"style"in s&&t(1,a=s.style),"$$scope"in s&&t(2,i=s.$$scope)},[o,a,i,r]}class Yu extends Qe{constructor(n){super(),He(this,n,Ch,Ph,Ze,{class:0,style:1},zh)}}typeof globalThis<"u"||typeof window<"u"||(typeof global<"u"?global:typeof self<"u");function Dh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vu={exports:{}};Vu.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(r,i,o){t.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:o})},t.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,i){if(1&i&&(r=t(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var a in r)t.d(o,a,function(s){return r[s]}.bind(null,a));return o},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=90)}({17:function(e,n,t){n.__esModule=!0,n.default=void 0;var r=t(18),i=function(){function o(){}return o.getFirstMatch=function(a,s){var u=s.match(a);return u&&u.length>0&&u[1]||""},o.getSecondMatch=function(a,s){var u=s.match(a);return u&&u.length>1&&u[2]||""},o.matchAndReturnConst=function(a,s,u){if(a.test(s))return u},o.getWindowsVersionName=function(a){switch(a){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},o.getMacOSVersionName=function(a){var s=a.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(s.push(0),s[0]===10)switch(s[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},o.getAndroidVersionName=function(a){var s=a.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(s.push(0),!(s[0]===1&&s[1]<5))return s[0]===1&&s[1]<6?"Cupcake":s[0]===1&&s[1]>=6?"Donut":s[0]===2&&s[1]<2?"Eclair":s[0]===2&&s[1]===2?"Froyo":s[0]===2&&s[1]>2?"Gingerbread":s[0]===3?"Honeycomb":s[0]===4&&s[1]<1?"Ice Cream Sandwich":s[0]===4&&s[1]<4?"Jelly Bean":s[0]===4&&s[1]>=4?"KitKat":s[0]===5?"Lollipop":s[0]===6?"Marshmallow":s[0]===7?"Nougat":s[0]===8?"Oreo":s[0]===9?"Pie":void 0},o.getVersionPrecision=function(a){return a.split(".").length},o.compareVersions=function(a,s,u){u===void 0&&(u=!1);var c=o.getVersionPrecision(a),d=o.getVersionPrecision(s),f=Math.max(c,d),h=0,p=o.map([a,s],function(g){var m=f-o.getVersionPrecision(g),v=g+new Array(m+1).join(".0");return o.map(v.split("."),function(_){return new Array(20-_.length).join("0")+_}).reverse()});for(u&&(h=f-Math.min(c,d)),f-=1;f>=h;){if(p[0][f]>p[1][f])return 1;if(p[0][f]===p[1][f]){if(f===h)return 0;f-=1}else if(p[0][f]<p[1][f])return-1}},o.map=function(a,s){var u,c=[];if(Array.prototype.map)return Array.prototype.map.call(a,s);for(u=0;u<a.length;u+=1)c.push(s(a[u]));return c},o.find=function(a,s){var u,c;if(Array.prototype.find)return Array.prototype.find.call(a,s);for(u=0,c=a.length;u<c;u+=1){var d=a[u];if(s(d,u))return d}},o.assign=function(a){for(var s,u,c=a,d=arguments.length,f=new Array(d>1?d-1:0),h=1;h<d;h++)f[h-1]=arguments[h];if(Object.assign)return Object.assign.apply(Object,[a].concat(f));var p=function(){var g=f[s];typeof g=="object"&&g!==null&&Object.keys(g).forEach(function(m){c[m]=g[m]})};for(s=0,u=f.length;s<u;s+=1)p();return a},o.getBrowserAlias=function(a){return r.BROWSER_ALIASES_MAP[a]},o.getBrowserTypeByAlias=function(a){return r.BROWSER_MAP[a]||""},o}();n.default=i,e.exports=n.default},18:function(e,n,t){n.__esModule=!0,n.ENGINE_MAP=n.OS_MAP=n.PLATFORMS_MAP=n.BROWSER_MAP=n.BROWSER_ALIASES_MAP=void 0,n.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},n.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},n.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},n.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},n.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,n,t){n.__esModule=!0,n.default=void 0;var r,i=(r=t(91))&&r.__esModule?r:{default:r},o=t(18);function a(u,c){for(var d=0;d<c.length;d++){var f=c[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}var s=function(){function u(){}var c,d,f;return u.getParser=function(h,p){if(p===void 0&&(p=!1),typeof h!="string")throw new Error("UserAgent should be a string");return new i.default(h,p)},u.parse=function(h){return new i.default(h).getResult()},c=u,f=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],(d=null)&&a(c.prototype,d),f&&a(c,f),u}();n.default=s,e.exports=n.default},91:function(e,n,t){n.__esModule=!0,n.default=void 0;var r=u(t(92)),i=u(t(93)),o=u(t(94)),a=u(t(95)),s=u(t(17));function u(d){return d&&d.__esModule?d:{default:d}}var c=function(){function d(h,p){if(p===void 0&&(p=!1),h==null||h==="")throw new Error("UserAgent parameter can't be empty");this._ua=h,this.parsedResult={},p!==!0&&this.parse()}var f=d.prototype;return f.getUA=function(){return this._ua},f.test=function(h){return h.test(this._ua)},f.parseBrowser=function(){var h=this;this.parsedResult.browser={};var p=s.default.find(r.default,function(g){if(typeof g.test=="function")return g.test(h);if(g.test instanceof Array)return g.test.some(function(m){return h.test(m)});throw new Error("Browser's test function is not valid")});return p&&(this.parsedResult.browser=p.describe(this.getUA())),this.parsedResult.browser},f.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},f.getBrowserName=function(h){return h?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},f.getBrowserVersion=function(){return this.getBrowser().version},f.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},f.parseOS=function(){var h=this;this.parsedResult.os={};var p=s.default.find(i.default,function(g){if(typeof g.test=="function")return g.test(h);if(g.test instanceof Array)return g.test.some(function(m){return h.test(m)});throw new Error("Browser's test function is not valid")});return p&&(this.parsedResult.os=p.describe(this.getUA())),this.parsedResult.os},f.getOSName=function(h){var p=this.getOS().name;return h?String(p).toLowerCase()||"":p||""},f.getOSVersion=function(){return this.getOS().version},f.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},f.getPlatformType=function(h){h===void 0&&(h=!1);var p=this.getPlatform().type;return h?String(p).toLowerCase()||"":p||""},f.parsePlatform=function(){var h=this;this.parsedResult.platform={};var p=s.default.find(o.default,function(g){if(typeof g.test=="function")return g.test(h);if(g.test instanceof Array)return g.test.some(function(m){return h.test(m)});throw new Error("Browser's test function is not valid")});return p&&(this.parsedResult.platform=p.describe(this.getUA())),this.parsedResult.platform},f.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},f.getEngineName=function(h){return h?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},f.parseEngine=function(){var h=this;this.parsedResult.engine={};var p=s.default.find(a.default,function(g){if(typeof g.test=="function")return g.test(h);if(g.test instanceof Array)return g.test.some(function(m){return h.test(m)});throw new Error("Browser's test function is not valid")});return p&&(this.parsedResult.engine=p.describe(this.getUA())),this.parsedResult.engine},f.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},f.getResult=function(){return s.default.assign({},this.parsedResult)},f.satisfies=function(h){var p=this,g={},m=0,v={},_=0;if(Object.keys(h).forEach(function($){var H=h[$];typeof H=="string"?(v[$]=H,_+=1):typeof H=="object"&&(g[$]=H,m+=1)}),m>0){var b=Object.keys(g),y=s.default.find(b,function($){return p.isOS($)});if(y){var x=this.satisfies(g[y]);if(x!==void 0)return x}var M=s.default.find(b,function($){return p.isPlatform($)});if(M){var k=this.satisfies(g[M]);if(k!==void 0)return k}}if(_>0){var I=Object.keys(v),w=s.default.find(I,function($){return p.isBrowser($,!0)});if(w!==void 0)return this.compareVersion(v[w])}},f.isBrowser=function(h,p){p===void 0&&(p=!1);var g=this.getBrowserName().toLowerCase(),m=h.toLowerCase(),v=s.default.getBrowserTypeByAlias(m);return p&&v&&(m=v.toLowerCase()),m===g},f.compareVersion=function(h){var p=[0],g=h,m=!1,v=this.getBrowserVersion();if(typeof v=="string")return h[0]===">"||h[0]==="<"?(g=h.substr(1),h[1]==="="?(m=!0,g=h.substr(2)):p=[],h[0]===">"?p.push(1):p.push(-1)):h[0]==="="?g=h.substr(1):h[0]==="~"&&(m=!0,g=h.substr(1)),p.indexOf(s.default.compareVersions(v,g,m))>-1},f.isOS=function(h){return this.getOSName(!0)===String(h).toLowerCase()},f.isPlatform=function(h){return this.getPlatformType(!0)===String(h).toLowerCase()},f.isEngine=function(h){return this.getEngineName(!0)===String(h).toLowerCase()},f.is=function(h,p){return p===void 0&&(p=!1),this.isBrowser(h,p)||this.isOS(h)||this.isPlatform(h)},f.some=function(h){var p=this;return h===void 0&&(h=[]),h.some(function(g){return p.is(g)})},d}();n.default=c,e.exports=n.default},92:function(e,n,t){n.__esModule=!0,n.default=void 0;var r,i=(r=t(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(s){var u={name:"Googlebot"},c=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/opera/i],describe:function(s){var u={name:"Opera"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/opr\/|opios/i],describe:function(s){var u={name:"Opera"},c=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/SamsungBrowser/i],describe:function(s){var u={name:"Samsung Internet for Android"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/Whale/i],describe:function(s){var u={name:"NAVER Whale Browser"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/MZBrowser/i],describe:function(s){var u={name:"MZ Browser"},c=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/focus/i],describe:function(s){var u={name:"Focus"},c=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/swing/i],describe:function(s){var u={name:"Swing"},c=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/coast/i],describe:function(s){var u={name:"Opera Coast"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(s){var u={name:"Opera Touch"},c=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/yabrowser/i],describe:function(s){var u={name:"Yandex Browser"},c=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/ucbrowser/i],describe:function(s){var u={name:"UC Browser"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/Maxthon|mxios/i],describe:function(s){var u={name:"Maxthon"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/epiphany/i],describe:function(s){var u={name:"Epiphany"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/puffin/i],describe:function(s){var u={name:"Puffin"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/sleipnir/i],describe:function(s){var u={name:"Sleipnir"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/k-meleon/i],describe:function(s){var u={name:"K-Meleon"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/micromessenger/i],describe:function(s){var u={name:"WeChat"},c=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/qqbrowser/i],describe:function(s){var u={name:/qqbrowserlite/i.test(s)?"QQ Browser Lite":"QQ Browser"},c=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/msie|trident/i],describe:function(s){var u={name:"Internet Explorer"},c=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/\sedg\//i],describe:function(s){var u={name:"Microsoft Edge"},c=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/edg([ea]|ios)/i],describe:function(s){var u={name:"Microsoft Edge"},c=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/vivaldi/i],describe:function(s){var u={name:"Vivaldi"},c=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/seamonkey/i],describe:function(s){var u={name:"SeaMonkey"},c=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/sailfish/i],describe:function(s){var u={name:"Sailfish"},c=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,s);return c&&(u.version=c),u}},{test:[/silk/i],describe:function(s){var u={name:"Amazon Silk"},c=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/phantom/i],describe:function(s){var u={name:"PhantomJS"},c=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/slimerjs/i],describe:function(s){var u={name:"SlimerJS"},c=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(s){var u={name:"BlackBerry"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/(web|hpw)[o0]s/i],describe:function(s){var u={name:"WebOS Browser"},c=i.default.getFirstMatch(o,s)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/bada/i],describe:function(s){var u={name:"Bada"},c=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/tizen/i],describe:function(s){var u={name:"Tizen"},c=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/qupzilla/i],describe:function(s){var u={name:"QupZilla"},c=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/firefox|iceweasel|fxios/i],describe:function(s){var u={name:"Firefox"},c=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/electron/i],describe:function(s){var u={name:"Electron"},c=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/MiuiBrowser/i],describe:function(s){var u={name:"Miui"},c=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/chromium/i],describe:function(s){var u={name:"Chromium"},c=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,s)||i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/chrome|crios|crmo/i],describe:function(s){var u={name:"Chrome"},c=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/GSA/i],describe:function(s){var u={name:"Google Search"},c=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:function(s){var u=!s.test(/like android/i),c=s.test(/android/i);return u&&c},describe:function(s){var u={name:"Android Browser"},c=i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/playstation 4/i],describe:function(s){var u={name:"PlayStation 4"},c=i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/safari|applewebkit/i],describe:function(s){var u={name:"Safari"},c=i.default.getFirstMatch(o,s);return c&&(u.version=c),u}},{test:[/.*/i],describe:function(s){var u=s.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(u,s),version:i.default.getSecondMatch(u,s)}}}];n.default=a,e.exports=n.default},93:function(e,n,t){n.__esModule=!0,n.default=void 0;var r,i=(r=t(17))&&r.__esModule?r:{default:r},o=t(18),a=[{test:[/Roku\/DVP/],describe:function(s){var u=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,s);return{name:o.OS_MAP.Roku,version:u}}},{test:[/windows phone/i],describe:function(s){var u=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.WindowsPhone,version:u}}},{test:[/windows /i],describe:function(s){var u=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,s),c=i.default.getWindowsVersionName(u);return{name:o.OS_MAP.Windows,version:u,versionName:c}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(s){var u={name:o.OS_MAP.iOS},c=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,s);return c&&(u.version=c),u}},{test:[/macintosh/i],describe:function(s){var u=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,s).replace(/[_\s]/g,"."),c=i.default.getMacOSVersionName(u),d={name:o.OS_MAP.MacOS,version:u};return c&&(d.versionName=c),d}},{test:[/(ipod|iphone|ipad)/i],describe:function(s){var u=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,s).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:u}}},{test:function(s){var u=!s.test(/like android/i),c=s.test(/android/i);return u&&c},describe:function(s){var u=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,s),c=i.default.getAndroidVersionName(u),d={name:o.OS_MAP.Android,version:u};return c&&(d.versionName=c),d}},{test:[/(web|hpw)[o0]s/i],describe:function(s){var u=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,s),c={name:o.OS_MAP.WebOS};return u&&u.length&&(c.version=u),c}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(s){var u=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,s)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,s)||i.default.getFirstMatch(/\bbb(\d+)/i,s);return{name:o.OS_MAP.BlackBerry,version:u}}},{test:[/bada/i],describe:function(s){var u=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.Bada,version:u}}},{test:[/tizen/i],describe:function(s){var u=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.Tizen,version:u}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(s){var u=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.PlayStation4,version:u}}}];n.default=a,e.exports=n.default},94:function(e,n,t){n.__esModule=!0,n.default=void 0;var r,i=(r=t(17))&&r.__esModule?r:{default:r},o=t(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(s){var u=i.default.getFirstMatch(/(can-l01)/i,s)&&"Nova",c={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return u&&(c.model=u),c}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(s){var u=s.test(/ipod|iphone/i),c=s.test(/like (ipod|iphone)/i);return u&&!c},describe:function(s){var u=i.default.getFirstMatch(/(ipod|iphone)/i,s);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:u}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getBrowserName(!0)==="blackberry"},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(s){return s.getBrowserName(!0)==="bada"},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getBrowserName()==="windows phone"},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(s){var u=Number(String(s.getOSVersion()).split(".")[0]);return s.getOSName(!0)==="android"&&u>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(s){return s.getOSName(!0)==="android"},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getOSName(!0)==="macos"},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(s){return s.getOSName(!0)==="windows"},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(s){return s.getOSName(!0)==="linux"},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(s){return s.getOSName(!0)==="playstation 4"},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(s){return s.getOSName(!0)==="roku"},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];n.default=a,e.exports=n.default},95:function(e,n,t){n.__esModule=!0,n.default=void 0;var r,i=(r=t(17))&&r.__esModule?r:{default:r},o=t(18),a=[{test:function(s){return s.getBrowserName(!0)==="microsoft edge"},describe:function(s){if(/\sedg\//i.test(s))return{name:o.ENGINE_MAP.Blink};var u=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,s);return{name:o.ENGINE_MAP.EdgeHTML,version:u}}},{test:[/trident/i],describe:function(s){var u={name:o.ENGINE_MAP.Trident},c=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:function(s){return s.test(/presto/i)},describe:function(s){var u={name:o.ENGINE_MAP.Presto},c=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:function(s){var u=s.test(/gecko/i),c=s.test(/like gecko/i);return u&&!c},describe:function(s){var u={name:o.ENGINE_MAP.Gecko},c=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(s){var u={name:o.ENGINE_MAP.WebKit},c=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,s);return c&&(u.version=c),u}}];n.default=a,e.exports=n.default}});var Bh=Dh(Vu.exports);function qu(e,n,t){const r=e.slice();return r[21]=n[t],r[23]=t,r}function Rh(e){let n,t;return n=new Yu({props:{style:"display: flex; justify-content: space-between; align-items: center; color: "+e[7],$$slots:{default:[Fh]},$$scope:{ctx:e}}}),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){const o={};16777225&i&&(o.$$scope={dirty:i,ctx:r}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function Wh(e){let n,t;return n=new Yu({props:{style:"display: flex; justify-content: flex-start; align-items: center; color: "+e[7],$$slots:{default:[Uh]},$$scope:{ctx:e}}}),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){const o={};16777241&i&&(o.$$scope={dirty:i,ctx:r}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function Fh(e){let n,t,r,i,o,a;return{c(){n=An(iv),t=se(),r=F("img"),j(r,"alt","Close"),ue(r,"cursor","pointer"),ue(r,"filter",e[9]),Dn(r.src,i=Ku)||j(r,"src",i)},m(s,u){B(s,n,u),B(s,t,u),B(s,r,u),o||(a=ze(r,"click",e[16]),o=!0)},p:pe,d(s){s&&C(n),s&&C(t),s&&C(r),o=!1,a()}}}function Uh(e){let n,t,r,i,o,a,s,u,c,d,f,h,p,g,m=e[4].name+"";return{c(){n=F("img"),r=se(),i=F("img"),s=se(),u=F("div"),c=An(m),d=se(),f=F("img"),j(n,"alt","Back"),ue(n,"cursor","pointer"),ue(n,"filter",e[9]),Dn(n.src,t="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTIwIDExSDcuODNsNS41OS01LjU5TDEyIDRsLTggOCA4IDggMS40MS0xLjQxTDcuODMgMTNIMjB2LTJ6Ii8+PC9zdmc+")||j(n,"src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTIwIDExSDcuODNsNS41OS01LjU5TDEyIDRsLTggOCA4IDggMS40MS0xLjQxTDcuODMgMTNIMjB2LTJ6Ii8+PC9zdmc+"),ue(i,"margin-inline-start","10px"),j(i,"width","24px"),Dn(i.src,o=e[4].icon)||j(i,"src",o),j(i,"alt",a=e[4].name+" logo"),ue(u,"flex-grow","1"),ue(u,"margin-inline-start","4px"),j(f,"alt","Close"),ue(f,"cursor","pointer"),ue(f,"filter",e[9]),Dn(f.src,h=Ku)||j(f,"src",h)},m(v,_){B(v,n,_),B(v,r,_),B(v,i,_),B(v,s,_),B(v,u,_),te(u,c),B(v,d,_),B(v,f,_),p||(g=[ze(n,"click",e[14]),ze(f,"click",e[15])],p=!0)},p(v,_){16&_&&!Dn(i.src,o=v[4].icon)&&j(i,"src",o),16&_&&a!==(a=v[4].name+" logo")&&j(i,"alt",a),16&_&&m!==(m=v[4].name+"")&&ku(c,m)},d(v){v&&C(n),v&&C(r),v&&C(i),v&&C(s),v&&C(u),v&&C(d),v&&C(f),p=!1,Te(g)}}}function Zh(e){let n;return{c(){n=F("div"),n.textContent=`No compatible wallets found for ${e[10]}`},m(t,r){B(t,n,r)},p:pe,i:pe,o:pe,d(t){t&&C(n)}}}function Gh(e){let n,t;return n=new Xp({props:{style:"margin-inline-start: 24px; margin-inline-end: 24px",$$slots:{default:[Jh]},$$scope:{ctx:e}}}),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){const o={};16777247&i&&(o.$$scope={dirty:i,ctx:r}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function Hh(e){let n,t,r,i;return n=new Th({props:{style:"margin-top: 12px; font-size: 0.92rem; color: "+e[7]+"; width: auto",$$slots:{default:[Kh]},$$scope:{ctx:e}}}),r=new $h({props:{style:"justify-content: flex-end; margin-inline-end: 16px",$$slots:{default:[ev]},$$scope:{ctx:e}}}),{c(){Ge(n.$$.fragment),t=se(),Ge(r.$$.fragment)},m(o,a){Pe(n,o,a),B(o,t,a),Pe(r,o,a),i=!0},p(o,a){const s={};16777216&a&&(s.$$scope={dirty:a,ctx:o}),n.$set(s);const u={};16777241&a&&(u.$$scope={dirty:a,ctx:o}),r.$set(u)},i(o){i||(P(n.$$.fragment,o),P(r.$$.fragment,o),i=!0)},o(o){R(n.$$.fragment,o),R(r.$$.fragment,o),i=!1},d(o){Ce(n,o),o&&C(t),Ce(r,o)}}}function Qh(e){let n,t,r,i=e[23]>=e[1].length?"Install ":"",o=(e[21].name||"Injected")+"";return{c(){n=An(i),t=An(o),r=se()},m(a,s){B(a,n,s),B(a,t,s),B(a,r,s)},p(a,s){2&s&&i!==(i=a[23]>=a[1].length?"Install ":"")&&ku(n,i)},d(a){a&&C(n),a&&C(t),a&&C(r)}}}function Yh(e){let n,t;return{c(){n=F("img"),j(n,"alt",(e[21].name||"Injected")+" logo"),ue(n,"filter",e[9]),Dn(n.src,t="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48cGF0aCBkPSJNMTEuMDcsMTIuODVjMC43Ny0xLjM5LDIuMjUtMi4yMSwzLjExLTMuNDRjMC45MS0xLjI5LDAuNC0zLjctMi4xOC0zLjdjLTEuNjksMC0yLjUyLDEuMjgtMi44NywyLjM0TDYuNTQsNi45NiBDNy4yNSw0LjgzLDkuMTgsMywxMS45OSwzYzIuMzUsMCwzLjk2LDEuMDcsNC43OCwyLjQxYzAuNywxLjE1LDEuMTEsMy4zLDAuMDMsNC45Yy0xLjIsMS43Ny0yLjM1LDIuMzEtMi45NywzLjQ1IGMtMC4yNSwwLjQ2LTAuMzUsMC43Ni0wLjM1LDIuMjRoLTIuODlDMTAuNTgsMTUuMjIsMTAuNDYsMTMuOTUsMTEuMDcsMTIuODV6IE0xNCwyMGMwLDEuMS0wLjksMi0yLDJzLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTIgUzE0LDE4LjksMTQsMjB6Ii8+PC9nPjwvc3ZnPg==")||j(n,"src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxnPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjwvZz48Zz48cGF0aCBkPSJNMTEuMDcsMTIuODVjMC43Ny0xLjM5LDIuMjUtMi4yMSwzLjExLTMuNDRjMC45MS0xLjI5LDAuNC0zLjctMi4xOC0zLjdjLTEuNjksMC0yLjUyLDEuMjgtMi44NywyLjM0TDYuNTQsNi45NiBDNy4yNSw0LjgzLDkuMTgsMywxMS45OSwzYzIuMzUsMCwzLjk2LDEuMDcsNC43OCwyLjQxYzAuNywxLjE1LDEuMTEsMy4zLDAuMDMsNC45Yy0xLjIsMS43Ny0yLjM1LDIuMzEtMi45NywzLjQ1IGMtMC4yNSwwLjQ2LTAuMzUsMC43Ni0wLjM1LDIuMjRoLTIuODlDMTAuNTgsMTUuMjIsMTAuNDYsMTMuOTUsMTEuMDcsMTIuODV6IE0xNCwyMGMwLDEuMS0wLjksMi0yLDJzLTItMC45LTItMmMwLTEuMSwwLjktMiwyLTIgUzE0LDE4LjksMTQsMjB6Ii8+PC9nPjwvc3ZnPg==")},m(r,i){B(r,n,i)},p:pe,d(r){r&&C(n)}}}function Vh(e){let n,t;return{c(){n=F("img"),j(n,"width","32px"),Dn(n.src,t=e[21].icon)||j(n,"src",t),j(n,"alt",e[21].name+" logo")},m(r,i){B(r,n,i)},p:pe,d(r){r&&C(n)}}}function qh(e){let n,t,r=function(o,a){return o[21].icon?Vh:Yh}(e),i=r(e);return{c(){n=F("span"),i.c(),t=se(),j(n,"slot","append")},m(o,a){B(o,n,a),i.m(n,null),te(n,t)},p(o,a){i.p(o,a)},d(o){o&&C(n),i.d()}}}function Ju(e){let n,t;return n=new sh({props:{style:`
|
|
36
|
-
border: 1px solid `+e[8]+`;
|
|
37
|
-
/* use same border-radius as dialog's */
|
|
38
|
-
border-radius: 4px;
|
|
39
|
-
height: 58px;
|
|
40
|
-
background: `+e[6]+`;
|
|
41
|
-
margin-bottom: 10px;
|
|
42
|
-
color: `+e[7]+`;
|
|
43
|
-
`,$$slots:{append:[qh],default:[Qh]},$$scope:{ctx:e}}}),n.$on("click",function(){return e[18](e[23],e[21])}),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){e=r;const o={};16777218&i&&(o.$$scope={dirty:i,ctx:e}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function Jh(e){let n,t,r=e[11],i=[];for(let a=0;a<r.length;a+=1)i[a]=Ju(qu(e,r,a));const o=a=>R(i[a],1,1,()=>{i[a]=null});return{c(){for(let a=0;a<i.length;a+=1)i[a].c();n=Zi()},m(a,s){for(let u=0;u<i.length;u+=1)i[u].m(a,s);B(a,n,s),t=!0},p(a,s){if(3039&s){let u;for(r=a[11],u=0;u<r.length;u+=1){const c=qu(a,r,u);i[u]?(i[u].p(c,s),P(i[u],1)):(i[u]=Ju(c),i[u].c(),P(i[u],1),i[u].m(n.parentNode,n))}for(ot(),u=r.length;u<i.length;u+=1)o(u);st()}},i(a){if(!t){for(let s=0;s<r.length;s+=1)P(i[s]);t=!0}},o(a){i=i.filter(Boolean);for(let s=0;s<i.length;s+=1)R(i[s]);t=!1},d(a){(function(s,u){for(let c=0;c<s.length;c+=1)s[c]&&s[c].d(u)})(i,a),a&&C(n)}}}function Kh(e){let n;return{c(){n=An("Click the REFRESH button after installing and setting up the new wallet.")},m(t,r){B(t,n,r)},d(t){t&&C(n)}}}function Xh(e){let n;return{c(){n=An("Refresh")},m(t,r){B(t,n,r)},d(t){t&&C(n)}}}function ev(e){let n,t;return n=new Gp({props:{style:"margin-bottom: 12px; border: 1px solid "+e[7]+"; color: "+e[7]+";",outlined:!0,$$slots:{default:[Xh]},$$scope:{ctx:e}}}),n.$on("click",e[17]),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){const o={};16777216&i&&(o.$$scope={dirty:i,ctx:r}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function nv(e){let n,t,r,i,o,a,s;const u=[Wh,Rh],c=[];function d(g,m){return g[4]?0:1}n=d(e),t=c[n]=u[n](e);const f=[Hh,Gh,Zh],h=[];function p(g,m){return g[4]?0:g[11].length?1:2}return i=p(e),o=h[i]=f[i](e),{c(){t.c(),r=se(),o.c(),a=Zi()},m(g,m){c[n].m(g,m),B(g,r,m),h[i].m(g,m),B(g,a,m),s=!0},p(g,m){let v=n;n=d(g),n===v?c[n].p(g,m):(ot(),R(c[v],1,1,()=>{c[v]=null}),st(),t=c[n],t?t.p(g,m):(t=c[n]=u[n](g),t.c()),P(t,1),t.m(r.parentNode,r));let _=i;i=p(g),i===_?h[i].p(g,m):(ot(),R(h[_],1,1,()=>{h[_]=null}),st(),o=h[i],o?o.p(g,m):(o=h[i]=f[i](g),o.c()),P(o,1),o.m(a.parentNode,a))},i(g){s||(P(t),P(o),s=!0)},o(g){R(t),R(o),s=!1},d(g){c[n].d(g),g&&C(r),h[i].d(g),g&&C(a)}}}function tv(e){let n,t;return n=new Oh({props:{style:"background: "+e[5],$$slots:{default:[nv]},$$scope:{ctx:e}}}),{c(){Ge(n.$$.fragment)},m(r,i){Pe(n,r,i),t=!0},p(r,i){const o={};16777247&i&&(o.$$scope={dirty:i,ctx:r}),n.$set(o)},i(r){t||(P(n.$$.fragment,r),t=!0)},o(r){R(n.$$.fragment,r),t=!1},d(r){Ce(n,r)}}}function rv(e){let n,t,r;function i(a){e[19](a)}let o={persistent:!0,$$slots:{default:[tv]},$$scope:{ctx:e}};return e[3]!==void 0&&(o.active=e[3]),n=new vh({props:o}),wr.push(()=>function(a,s,u){const c=a.$$.props[s];c!==void 0&&(a.$$.bound[c]=u,u(a.$$.ctx[c]))}(n,"active",i)),{c(){Ge(n.$$.fragment)},m(a,s){Pe(n,a,s),r=!0},p(a,[s]){const u={};var c;16777247&s&&(u.$$scope={dirty:s,ctx:a}),!t&&8&s&&(t=!0,u.active=a[3],c=()=>t=!1,Gi.push(c)),n.$set(u)},i(a){r||(P(n.$$.fragment,a),r=!0)},o(a){R(n.$$.fragment,a),r=!1},d(a){Ce(n,a)}}}const iv="Connect a wallet",Ku="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iIzAwMDAwMCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMiAxOSA2LjQxeiIvPjwvc3ZnPg==";function ov(e,n,t){let{callback:r=()=>{}}=n,{installed:i=[]}=n,{discovery:o=[]}=n,{options:a={}}=n;const s=a?.theme||"light",u=s==="light"?"#fff":"#333",c=s==="light"?"#e9e9e9":"#555",d=s==="light"?"#000":"#f7f7f7",f=s==="light"?"#99999950":"#aaaaaa30",h=s==="light"?"unset":"invert(1)",p=Bh.getParser(window.navigator.userAgent).getBrowser().name?.toLowerCase();let g;switch(p){case"chrome":case"chromium":case"electron":case"microsoft edge":g="chrome";break;case"firefox":g="firefox"}const m=g?[...i,...o.filter(b=>!!b.downloads[g])]:i;let v,_=!0;return e.$$set=b=>{"callback"in b&&t(0,r=b.callback),"installed"in b&&t(1,i=b.installed),"discovery"in b&&t(12,o=b.discovery),"options"in b&&t(13,a=b.options)},[r,i,g,_,v,u,c,d,f,h,p,m,o,a,()=>t(4,v=void 0),()=>{r(v),t(3,_=!1)},()=>{r(void 0),t(3,_=!1)},()=>{r(v),t(3,_=!1),window.location.reload()},(b,y)=>{b<i.length?(r(y),t(3,_=!1)):(window.open(y.downloads[g],"_blank"),t(4,v=m[b]))},function(b){_=b,t(3,_)}]}class sv extends Qe{constructor(n){super(),He(this,n,ov,rv,Ze,{callback:0,installed:1,discovery:12,options:13})}}var Rn,xe,at,ut,Lt,Ji,ct;xe=new WeakMap,ut=new WeakMap,Lt=new WeakMap,Ji=new WeakMap,ct=new WeakMap,Rn=new WeakSet,at=function(){return!!S(this,xe,"f").current};const Wn=new class{constructor(){Rn.add(this),xe.set(this,{}),this.connect=async e=>{try{S(this,ct,"f").call(this);const n=S(this,Rn,"m",at).call(this),{installed:t,preAuthorized:r,defaultWallet:i,lastWallet:o}=await S(this,Lt,"f").call(this,e);if(e?.showList===!1){const s=r[0];return s?S(this,ut,"f").call(this,s):void 0}if(!n&&!e?.showList&&o){for(const s of[i,o])if(s)return S(this,ut,"f").call(this,s);if(t.length===1)return S(this,ut,"f").call(this,t[0])}const a=await async function(s,u){const c=new Set(s.map(f=>f.id));let d=Bp.filter(f=>!c.has(f.id));return d=yu(d,u),d=mu(d,u?.order),new Promise(f=>{const h=new sv({target:document.body,props:{callback:p=>{h.$destroy(),f(p)},installed:s,discovery:d,options:u?.modalOptions}})})}(t,e);return S(this,ut,"f").call(this,a)}catch{}},this.disconnect=e=>{S(this,ct,"f").call(this);const n=S(this,Rn,"m",at).call(this);return S(this,xe,"f").current=void 0,e?.clearLastWallet&&hr.delete(),e?.clearDefaultWallet&&Bi.delete(),n},this.getAlephium=()=>{var e,n,t,r,i;S(this,ct,"f").call(this);const o=this;return S(this,xe,"f").current??new(i=class{constructor(){this.discriminator="___AlephiumWindowObject___",this.id="disconnected",this.name="Disconnected",this.icon="",this.connectedAddress=void 0,this.disconnect=()=>Promise.resolve(),e.set(this,{}),this.enable=async a=>{try{const s=await S(this,t,"f").call(this,{showList:a?.showModal});if(s){const u=await s.enable(a);return S(this,r,"f").call(this,s),u}}catch{}},n.set(this,async(a,s)=>{const u=S(o,xe,"f").current;if(!u)throw new Error(`can't ${a} with a disconnected wallet`);return await s(u)}),this.signAndSubmitTransferTx=async a=>await S(this,n,"f").call(this,"signAndSubmitTransferTx",s=>s.signAndSubmitTransferTx(a)),this.signAndSubmitDeployContractTx=async a=>await S(this,n,"f").call(this,"signAndSubmitDeployContractTx",s=>s.signAndSubmitDeployContractTx(a)),this.signAndSubmitExecuteScriptTx=async a=>await S(this,n,"f").call(this,"signAndSubmitExecuteScriptTx",s=>s.signAndSubmitExecuteScriptTx(a)),this.signUnsignedTx=async a=>await S(this,n,"f").call(this,"signUnsignedTx",s=>s.signUnsignedTx(a)),this.signAndSubmitUnsignedTx=async a=>await S(this,n,"f").call(this,"signAndSubmitUnsignedTx",s=>s.signAndSubmitUnsignedTx(a)),this.signMessage=async a=>await S(this,n,"f").call(this,"signMessage",s=>s.signMessage(a)),this.nodeProvider=(()=>{const a=S(o,xe,"f").current.nodeProvider;if(a)return a;throw new Error("Node provider not found")})(),this.explorerProvider=(()=>{const a=S(o,xe,"f").current.explorerProvider;if(a)return a;throw new Error("Explorer provider not found")})(),this.isPreauthorized=()=>S(o,Rn,"m",at).call(o)?S(o,xe,"f").current.isPreauthorized():S(o,Lt,"f").call(o).then(a=>!!a.preAuthorized.length),this.off=(a,s)=>{S(o,Rn,"m",at).call(o)?S(o,xe,"f").current?.off(a,s):S(this,e,"f")[a]&&(S(this,e,"f")[a]=S(this,e,"f")[a].filter(u=>u!==s))},this.on=(a,s)=>{if(S(o,Rn,"m",at).call(o))S(o,xe,"f").current?.on(a,s);else{const u=S(this,e,"f")[a]??(S(this,e,"f")[a]=[]);u.includes(s)||u.push(s)}},this.getSelectedAddress=async()=>Promise.resolve(this.connectedAddress),t.set(this,a=>(S(o,xe,"f").current?Promise.resolve(S(o,xe,"f").current):o.connect(a)).then(s=>(s&&(this.id=s.id,this.name=s.name,this.icon=s.icon,S(this,r,"f").call(this,s),Object.entries(S(this,e,"f")).forEach(([u,c])=>c.forEach(d=>s.on(u,d))),lt(this,e,{},"f")),s))),r.set(this,a=>{!a||(this.connectedAddress=a.connectedAddress)})}},e=new WeakMap,n=new WeakMap,t=new WeakMap,r=new WeakMap,i)},ut.set(this,e=>(S(this,xe,"f").current=e,e&&hr.set(e.id),e)),Lt.set(this,async e=>{await S(this,Ji,"f").call(this);let n=[];const t=window.alephiumProviders;Yn(t)&&(n=Object.values(Object.getOwnPropertyNames(t).reduce((u,c)=>{const d=t[c];return((f,h)=>{try{if(h&&["enable","enable","isPreauthorized","signAndSubmitDeployContractTx"].every(p=>p in h))return["id"].every(p=>p in h)}catch{}return!1})(0,d)&&!u[d.id]&&(u[d.id]=d),u},{})));const r=n.find(u=>u.id===Bi.get());r||Bi.delete();const i=n.find(u=>u.id===hr.get());i||hr.delete();const o=Di(await(u=>Promise.all(u.map(c=>c.isPreauthorized().then(d=>d?c:void 0).catch(()=>{}))).then(c=>c.filter(d=>!!d)))(n)),a=u=>([i,r].forEach(c=>{if(c){const d=u.filter(f=>f.id!==c.id);d.length!==u.length&&(u=[c,...d])}}),u),s={installed:a(n),preAuthorized:a(o),defaultWallet:r,lastWallet:i};if(s.installed=yu(s.installed,e),s.installed=mu(s.installed,e?.order),!e||!Array.isArray(e.order)){const u=new Set(o.map(c=>c.id));s.installed=s.installed.filter(c=>!u.has(c.id)),s.installed=[...o,...s.installed],s.installed=a(s.installed)}return s}),Ji.set(this,()=>{const e=()=>document.readyState==="complete";return new Promise(n=>{if(e())n();else{const t=setInterval(()=>{e()&&(clearInterval(t),n())},50)}})}),ct.set(this,()=>{typeof window<"u"&&(window.gsw=!0)}),S(this,ct,"f").call(this)}getInstalledWallets(e){return S(this,Lt,"f").call(this,e).then(n=>n.installed)}};Wn.getAlephium,Wn.connect,Wn.disconnect,Wn.getInstalledWallets;const Xu=e=>Wn.connect({order:["alephium"],...e});exports.connect=Xu,exports.disconnect=e=>Wn.disconnect(e),exports.getAlephium=()=>{const e=Wn.getAlephium();return e.enable=async n=>(await Xu({showList:n?.showModal}))?.enable(n),e};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var A=require("@alephium/web3");class C extends A.InteractiveSignerProvider{constructor(){super(...arguments),this.enableIfConnected=async I=>{if(await this.isPreauthorized(I))return await super.enable(I)}}}function n(i){return`alephiumProviders/${i}#initialized`}const t={id:"alephium",name:"Alephium",icon:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDUxMiA1MTIiCiAgIHZlcnNpb249IjEuMSIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyOyIKICAgaWQ9InN2Zzk4ODQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnMKICAgaWQ9ImRlZnMxMCIgLz4KICAgIDxnCiAgIGlkPSJnMTAwNyI+PHJlY3QKICAgICB4PSIwIgogICAgIHk9IjAiCiAgICAgd2lkdGg9IjUxMi4wMDA2MSIKICAgICBoZWlnaHQ9IjUxMS45OTk5MSIKICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZS13aWR0aDowLjM1NTU1NiIKICAgICBpZD0icmVjdDk4NjUiIC8+PHBhdGgKICAgICBkPSJtIDIyMi44MjMyLDMwOS43OTQxMSBjIDAsLTQuMzYxMjQgLTMuNDQ2NzgsLTcuMjk4MzIgLTcuNzA0NTgsLTYuNTQ3NjYgbCAtNTAuODkwNzksOC45NzIwOSBjIC00LjI1Nzc5LDAuNzUwNjUgLTcuNzA0NTgsNC45MDMwOCAtNy43MDQ1OCw5LjI2NDMxIHYgOTYuMjM1OTggYyAwLDQuMzcxMTkgMy40NDY3OSw3LjMwODI3IDcuNzA0NTgsNi41NTc2MSBsIDUwLjg5MDc5LC04Ljk3MjA5IGMgNC4yNTc4LC0wLjc1MDY1IDcuNzA0NTgsLTQuOTAzMDggNy43MDQ1OCwtOS4yNzQyNyB6IgogICAgIHN0eWxlPSJmaWxsOiMwMDAwMDA7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlLXdpZHRoOjEuMDA0NyIKICAgICBpZD0icGF0aDk4NjciIC8+PHBhdGgKICAgICBkPSJtIDM1NS4zODYyLDk0LjMwNTMwNCBjIDAsLTQuMzYxMjM3IC0zLjQ0Njc4LC03LjI5ODMxNSAtNy43MDQ1OCwtNi41NDc2NjIgbCAtNTAuODkwNzksOC45NzIwOTUgYyAtNC4yNTc3OSwwLjc1MDY1MyAtNy43MDQ1OCw0LjkwMzA3MyAtNy43MDQ1OCw5LjI2NDMxMyB2IDk2LjIzNTk3IGMgMCw0LjM3MTIgMy40NDY3OSw3LjMwODI3IDcuNzA0NTgsNi41NTc2MiBsIDUwLjg5MDc5LC04Ljk3MjA5IGMgNC4yNTc4LC0wLjc1MDY2IDcuNzA0NTgsLTQuOTAzMDggNy43MDQ1OCwtOS4yNzQyNyB6IgogICAgIHN0eWxlPSJmaWxsOiNmZjVkNTE7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlLXdpZHRoOjEuMDA0NyIKICAgICBpZD0icGF0aDk4NzEiIC8+PHBhdGgKICAgICBkPSJtIDIzMS4wODk3OSwxMTYuNzY3NDEgYyAtMS45NjU1NSwtNC4zMjkwNSAtNy4yNDkxNiwtNy4xODEyNiAtMTEuODExMDgsLTYuMzc2OTkgbCAtNTQuNTI1NzgsOS42MTI5NiBjIC00LjU2MTkyLDAuODA0MjcgLTYuNjY0MjgsNC45NTg2MyAtNC42OTg3Miw5LjI4NzY4IGwgMTIwLjczOTcxLDI2NS45MjQxMiBjIDEuOTY1NTYsNC4zMjkwNiA3LjI2MDUzLDcuMjA2MjggMTEuODIyNDQsNi40MDIwMSBsIDU0LjUyNTc5LC05LjYxMjk1IGMgNC41NjE5MiwtMC44MDQyNyA2LjY1MjkxLC00Ljk4MzY1IDQuNjg3MzYsLTkuMzEyNzEgeiIKICAgICBzdHlsZT0iZmlsbDojMDAwMDAwO2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoxLjcxMzM0IgogICAgIGlkPSJwYXRoOTg3NSIgLz48L2c+Cjwvc3ZnPgo=",downloads:{chrome:"https://chrome.google.com/webstore/detail/alephium-extension-wallet",firefox:"https://addons.mozilla.org/en-US/firefox/addon/alephium-extension-wallet"}},g=[t];function c(i,I){return i.id===I.id&&i.name===I.name}function N(i){return new Promise(I=>{const e=()=>{const M=s(i.id);M&&c(M,i)&&I(M)};window.addEventListener(n(i.id),e),e(),setTimeout(()=>I(void 0),5e3)})}function s(i){try{const I=window.alephiumProviders;if(!I)return;const e=I[i];return D(e)?e:void 0}catch{}}function D(i){try{return i&&["id","name","icon","unsafeEnable","isPreauthorized","nodeProvider","explorerProvider","signAndSubmitTransferTx","signAndSubmitDeployContractTx","signAndSubmitExecuteScriptTx","signAndSubmitUnsignedTx","signUnsignedTx","signMessage"].every(I=>I in i)}catch{}return!1}exports.AlephiumWindowObject=C,exports.alephiumProvider=t,exports.checkProviderMetadata=c,exports.getDefaultAlephiumWallet=function(){return N(t)},exports.getKnownWallet=N,exports.getWalletObject=s,exports.isWalletObj=D,exports.knownProviders=g,exports.providerInitializedEvent=n,exports.scanKnownWallets=async function(){const i=[];for(const I of g){const e=await N(I);e!==void 0&&i.push(e)}return i};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AlephiumWindowObject, WalletProvider } from "./types";
|
|
2
|
+
export declare const alephiumProvider: WalletProvider;
|
|
3
|
+
export declare const knownProviders: WalletProvider[];
|
|
4
|
+
export declare function checkProviderMetadata(wallet: AlephiumWindowObject, provider: WalletProvider): boolean;
|
|
5
|
+
//# sourceMappingURL=knownProviders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knownProviders.d.ts","sourceRoot":"","sources":["../src/knownProviders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE9D,eAAO,MAAM,gBAAgB,EAAE,cAU9B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,cAAc,EAAuB,CAAA;AAElE,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,oBAAoB,EAC5B,QAAQ,EAAE,cAAc,GACvB,OAAO,CAET"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,122 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* if true - will reset last-wallet state
|
|
13
|
-
*/
|
|
14
|
-
clearLastWallet?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* if true = will reset default-wallet state
|
|
17
|
-
*/
|
|
18
|
-
clearDefaultWallet?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export type Order = string[] | 'community' | 'random' | null | undefined;
|
|
21
|
-
export type GetAlephiumWalletOptions = {
|
|
22
|
-
/**
|
|
23
|
-
* control wallets order for both "connect to a wallet" and
|
|
24
|
-
* "install a wallet" lists.
|
|
25
|
-
*
|
|
26
|
-
* `array` - set higher + ordered priority to specific wallets by
|
|
27
|
-
* passing an array of wallet ids (just the wallets you would like to
|
|
28
|
-
* promote, other wallets will still be listed in random order)
|
|
29
|
-
*
|
|
30
|
-
* `"community"` - community set order, listed in the wallet-discovery manifest
|
|
31
|
-
*
|
|
32
|
-
* `"random"` - each time the list shows with a different order
|
|
33
|
-
*
|
|
34
|
-
* default is "random"
|
|
35
|
-
*/
|
|
36
|
-
order?: Order;
|
|
37
|
-
/**
|
|
38
|
-
* list of wallets to include on both "connect to a wallet" and "install a wallet" lists,
|
|
39
|
-
* default is to include all wallets
|
|
40
|
-
*/
|
|
41
|
-
include?: string[];
|
|
42
|
-
/**
|
|
43
|
-
* list of wallets to exclude from both "connect to a wallet" and "install a wallet" lists
|
|
44
|
-
* default is not to exclude any wallet
|
|
45
|
-
*/
|
|
46
|
-
exclude?: string[];
|
|
47
|
-
/**
|
|
48
|
-
* force-showing the list of wallets, regardless of any default settings
|
|
49
|
-
* and/or pre-authorization state of one of the wallets.
|
|
50
|
-
* default is `false` when disconnected from a wallet,
|
|
51
|
-
* and `true` when already connected to a wallet.
|
|
52
|
-
*/
|
|
53
|
-
showList?: boolean;
|
|
54
|
-
modalOptions?: ModalOptions;
|
|
55
|
-
};
|
|
56
|
-
export interface IGetAlephiumWallet {
|
|
57
|
-
/**
|
|
58
|
-
* connect to a wallet
|
|
59
|
-
*
|
|
60
|
-
* when disconnected -
|
|
61
|
-
* - if there is one pre-authorized wallet:
|
|
62
|
-
* connect to it automatically
|
|
63
|
-
* - if there are multiple pre-authorized wallets and a default wallet:
|
|
64
|
-
* connect to it automatically
|
|
65
|
-
* - if there are multiple pre-authorized wallets and no default wallet:
|
|
66
|
-
* show them first in the list, ordered by last connect
|
|
67
|
-
* (where "last connect" stands for the timestamp when the user
|
|
68
|
-
* have chosen to connect to that wallet via the list)
|
|
69
|
-
* - if there are no pre-authorized wallets:
|
|
70
|
-
* show all wallets by dapp chosen order (default to random),
|
|
71
|
-
* installed wallets first, then other available wallets below
|
|
72
|
-
*
|
|
73
|
-
* when connected -
|
|
74
|
-
* - show the "connect to a wallet" list
|
|
75
|
-
* 1. display all available wallets respectively to the previously given options
|
|
76
|
-
* 2. allow users to disconnect the current wallet
|
|
77
|
-
* 3. modify default wallet settings
|
|
78
|
-
*
|
|
79
|
-
* @param options
|
|
80
|
-
* @returns Promise of `AlephiumWindowObject` if the user have chosen a
|
|
81
|
-
* wallet from the list, undefined when the list got closed without choosing
|
|
82
|
-
* a wallet (i.e. the user simply canceled the "connect to a wallet" request,
|
|
83
|
-
* or chose to install a wallet from the wallets-discovery list).
|
|
84
|
-
*
|
|
85
|
-
* Once connected to a wallet, clients can retrieve the wallet's
|
|
86
|
-
* `AlephiumWindowObject` instance by calling `getAlephium()`
|
|
87
|
-
*/
|
|
88
|
-
connect(options?: GetAlephiumWalletOptions): Promise<AlephiumWindowObject | undefined>;
|
|
89
|
-
/**
|
|
90
|
-
* disconnect from a wallet
|
|
91
|
-
* @param options
|
|
92
|
-
*/
|
|
93
|
-
disconnect(options?: DisconnectOptions): boolean;
|
|
94
|
-
/**
|
|
95
|
-
* returns a list of browser-installed wallets (as opposed to browser-available wallets)
|
|
96
|
-
* @param options see `connect` `options` for `order`, `include` & `exclude`
|
|
97
|
-
*/
|
|
98
|
-
getInstalledWallets(options?: Omit<GetAlephiumWalletOptions, 'showList' | 'modalOptions'>): Promise<AlephiumWindowObject[]>;
|
|
99
|
-
/**
|
|
100
|
-
* return last-chosen wallet `AlephiumWindowObject` instance,
|
|
101
|
-
* or default wrapper if disconnected
|
|
102
|
-
*/
|
|
103
|
-
getAlephium(): AlephiumWindowObject;
|
|
104
|
-
}
|
|
105
|
-
export type EventType = 'addressesChanged' | 'networkChanged';
|
|
106
|
-
export type EventHandler = (data: any) => Promise<void> | void;
|
|
107
|
-
export type EnableOptions = EnableOptionsBase & {
|
|
108
|
-
showModal?: boolean;
|
|
109
|
-
};
|
|
110
|
-
export interface AlephiumWindowObject extends InteractiveSignerProvider<EnableOptions> {
|
|
111
|
-
enable: (options?: EnableOptions) => Promise<Address>;
|
|
112
|
-
isPreauthorized: () => Promise<boolean>;
|
|
113
|
-
on: (event: EventType, handleEvent: EventHandler) => void;
|
|
114
|
-
off: (event: EventType, handleEvent: EventHandler) => void;
|
|
115
|
-
id: string;
|
|
116
|
-
name: string;
|
|
117
|
-
icon: string;
|
|
118
|
-
connectedAddress?: string;
|
|
119
|
-
connectedNetworkId?: string;
|
|
1
|
+
import { Account, EnableOptionsBase, InteractiveSignerProvider } from "@alephium/web3";
|
|
2
|
+
export type EnableOptions = EnableOptionsBase;
|
|
3
|
+
export declare abstract class AlephiumWindowObject extends InteractiveSignerProvider<EnableOptions> {
|
|
4
|
+
abstract id: string;
|
|
5
|
+
abstract name: string;
|
|
6
|
+
abstract icon: string;
|
|
7
|
+
abstract version: string;
|
|
8
|
+
abstract isPreauthorized: (options: EnableOptions) => Promise<boolean>;
|
|
9
|
+
enableIfConnected: (options: EnableOptionsBase) => Promise<Account | undefined>;
|
|
10
|
+
abstract get connectedAccount(): Account | undefined;
|
|
11
|
+
abstract get connectedNetworkId(): string | undefined;
|
|
120
12
|
}
|
|
121
13
|
export type WalletProvider = {
|
|
122
14
|
id: string;
|
|
@@ -128,9 +20,5 @@ export type WalletProvider = {
|
|
|
128
20
|
firefox?: `https://addons.mozilla.org/en-US/firefox/addon/${string}`;
|
|
129
21
|
};
|
|
130
22
|
};
|
|
131
|
-
declare
|
|
132
|
-
interface Window {
|
|
133
|
-
gsw: boolean;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
23
|
+
export declare function providerInitializedEvent(id: string): string;
|
|
136
24
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAA;AAE7C,8BAAsB,oBAAqB,SAAQ,yBAAyB,CAAC,aAAa,CAAC;IACzF,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB,QAAQ,CAAC,eAAe,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACtE,iBAAiB,kCAEd,QAAQ,OAAO,GAAG,SAAS,CAAC,CAO9B;IAED,QAAQ,KAAK,gBAAgB,IAAI,OAAO,GAAG,SAAS,CAAA;IACpD,QAAQ,KAAK,kBAAkB,IAAI,MAAM,GAAG,SAAS,CAAA;CACtD;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EACL;QAAE,MAAM,CAAC,EAAE,6CAA6C,MAAM,EAAE,CAAA;KAAE,GAClE;QAAE,OAAO,CAAC,EAAE,kDAAkD,MAAM,EAAE,CAAA;KAAE,CAAA;CAC7E,CAAA;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAE3D"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alephium/get-extension-wallet",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"main": "dist/",
|
|
3
|
+
"version": "0.6.0-rc.2",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/index.js"
|
|
8
|
+
},
|
|
5
9
|
"browser": {
|
|
6
10
|
"crypto": false
|
|
7
11
|
},
|
|
@@ -16,6 +20,7 @@
|
|
|
16
20
|
"build": "rollup -c",
|
|
17
21
|
"dev": "rollup -c -w"
|
|
18
22
|
},
|
|
23
|
+
"type": "commonjs",
|
|
19
24
|
"devDependencies": {
|
|
20
25
|
"@commitlint/cli": "^17.0.2",
|
|
21
26
|
"@commitlint/config-conventional": "^17.0.0",
|
|
@@ -27,33 +32,26 @@
|
|
|
27
32
|
"@semantic-release/git": "^10.0.1",
|
|
28
33
|
"@semantic-release/npm": "^9.0.1",
|
|
29
34
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
30
|
-
"@tsconfig/svelte": "^3.0.0",
|
|
31
35
|
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
32
36
|
"@typescript-eslint/parser": "^5.17.0",
|
|
33
37
|
"esbuild": "^0.14.49",
|
|
34
38
|
"eslint": "^8.12.0",
|
|
35
39
|
"eslint-config-prettier": "^8.5.0",
|
|
36
40
|
"eslint-plugin-prettier": "^4.0.0",
|
|
37
|
-
"eslint-plugin-svelte3": "^4.0.0",
|
|
38
41
|
"husky": "^8.0.1",
|
|
39
42
|
"postcss": "^8.4.12",
|
|
40
43
|
"prettier": "^2.6.1",
|
|
41
|
-
"prettier-plugin-svelte": "^2.6.0",
|
|
42
44
|
"rollup": "^2.70.1",
|
|
43
45
|
"rollup-plugin-delete": "^2.0.0",
|
|
44
46
|
"rollup-plugin-esbuild": "^4.9.1",
|
|
45
47
|
"rollup-plugin-generate-declarations": "^1.1.1",
|
|
46
|
-
"rollup-plugin-svelte": "^7.1.0",
|
|
47
48
|
"rollup-plugin-terser": "^7.0.2",
|
|
48
49
|
"sass": "^1.50.0",
|
|
49
|
-
"svelte": "^3.46.6",
|
|
50
|
-
"svelte-materialify": "^0.3.11",
|
|
51
|
-
"svelte-preprocess": "^4.10.5",
|
|
52
50
|
"tslib": "^2.3.1",
|
|
53
51
|
"typescript": "^4.6.3"
|
|
54
52
|
},
|
|
55
53
|
"dependencies": {
|
|
56
54
|
"bowser": "^2.11.0",
|
|
57
|
-
"@alephium/web3": "v0.
|
|
55
|
+
"@alephium/web3": "v0.6.0"
|
|
58
56
|
}
|
|
59
57
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultWallet.d.ts","sourceRoot":"","sources":["../../src/configs/defaultWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,aAAa,gBAAoC,CAAA;AACvD,eAAe,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lastConnected.d.ts","sourceRoot":"","sources":["../../src/configs/lastConnected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,aAAa,gBAAiC,CAAA;AACpD,eAAe,aAAa,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IStorageWrapper } from '../types';
|
|
2
|
-
export declare class StorageWrapper implements IStorageWrapper {
|
|
3
|
-
#private;
|
|
4
|
-
value: string | null | undefined;
|
|
5
|
-
constructor(key: string);
|
|
6
|
-
set(value: string | null | undefined): boolean;
|
|
7
|
-
get(): string;
|
|
8
|
-
delete(): boolean;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=storageWrapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageWrapper.d.ts","sourceRoot":"","sources":["../../src/configs/storageWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG/C,qBAAa,cAAe,YAAW,eAAe;;IAIpD,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAY;gBAEhC,GAAG,EAAE,MAAM;IAOvB,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;IAmBpC,GAAG;IAMH,MAAM;CAwCP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/discovery/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;;AAa9C,wBAAkC"}
|
package/dist/modal/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import 'svelte';
|
|
2
|
-
import type { AlephiumWindowObject, GetAlephiumWalletOptions } from '../types';
|
|
3
|
-
export default function show(installed: AlephiumWindowObject[], options?: GetAlephiumWalletOptions): Promise<AlephiumWindowObject | undefined>;
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,CAAA;AAGf,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAkB,MAAM,UAAU,CAAA;AAI9F,wBAA8B,IAAI,CAChC,SAAS,EAAE,oBAAoB,EAAE,EACjC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAqB3C"}
|
package/dist/utils.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { AlephiumWindowObject, GetAlephiumWalletOptions, Order, WalletProvider } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @see https://github.com/GoogleChrome/web-vitals/blob/main/src/lib/generateUniqueID.ts
|
|
4
|
-
*/
|
|
5
|
-
export declare const generateUID: () => string;
|
|
6
|
-
export declare const shuffle: <T extends any[]>(arr: T) => T;
|
|
7
|
-
/**
|
|
8
|
-
* filters given wallets array, return only preAuthorized instances
|
|
9
|
-
* @param wallets
|
|
10
|
-
*/
|
|
11
|
-
export declare const filterPreAuthorized: (wallets: AlephiumWindowObject[]) => Promise<AlephiumWindowObject[]>;
|
|
12
|
-
export declare const isWalletObj: (key: string, wallet: any) => boolean;
|
|
13
|
-
export declare const sortBy: <T extends AlephiumWindowObject | WalletProvider>(wallets: T[], order: Order) => T[];
|
|
14
|
-
export declare function filterBy<T extends AlephiumWindowObject | WalletProvider>(installed: T[], options?: Omit<GetAlephiumWalletOptions, 'showList'>): T[];
|
|
15
|
-
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAEpG;;GAEG;AACH,eAAO,MAAM,WAAW,cAAyE,CAAA;AAEjG,eAAO,MAAM,OAAO,gCAMnB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,YAAa,oBAAoB,EAAE,KAAG,QAAQ,oBAAoB,EAAE,CAQvB,CAAA;AAE7E,eAAO,MAAM,WAAW,QAAS,MAAM,UAAU,GAAG,KAAG,OAiBtD,CAAA;AAED,eAAO,MAAM,MAAM,yEAA0E,KAAK,QAqBjG,CAAA;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,oBAAoB,GAAG,cAAc,EACtE,SAAS,EAAE,CAAC,EAAE,EACd,OAAO,CAAC,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,GACnD,CAAC,EAAE,CAYL"}
|