@aic-kits/react 0.0.18 → 0.1.0
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/components/Art/BrandArt.d.ts +3 -0
- package/dist/components/Art/EmojiArt.d.ts +3 -0
- package/dist/components/Art/IconArt.d.ts +3 -0
- package/dist/components/Art/ImageArt.d.ts +3 -0
- package/dist/components/Art/SvgArt.d.ts +3 -0
- package/dist/components/Art/index.d.ts +11 -0
- package/dist/components/Art/types.d.ts +75 -0
- package/dist/components/Art/utils.d.ts +16 -0
- package/dist/components/Base/BaseFooter.d.ts +8 -0
- package/dist/components/Base/index.d.ts +4 -0
- package/dist/components/Base/types.d.ts +44 -0
- package/dist/components/Box/StyledBox.d.ts +37 -0
- package/dist/components/Box/config.d.ts +478 -0
- package/dist/components/Box/index.d.ts +9 -0
- package/dist/components/Box/types.d.ts +49 -0
- package/dist/components/Button/StyledButton.d.ts +25 -0
- package/dist/components/Button/index.d.ts +54 -0
- package/dist/components/Button/utils.d.ts +3 -0
- package/dist/components/Loading/StyledLoading.d.ts +10 -0
- package/dist/components/Loading/index.d.ts +4 -0
- package/dist/components/Loading/types.d.ts +28 -0
- package/dist/components/Text/StyledText.d.ts +12 -0
- package/dist/components/Text/constants.d.ts +2 -0
- package/dist/components/Text/index.d.ts +6 -0
- package/dist/components/Text/types.d.ts +49 -0
- package/dist/components/Text/withRichText.d.ts +5 -0
- package/dist/components/Touchable/index.d.ts +4 -0
- package/dist/components/Touchable/types.d.ts +21 -0
- package/dist/components/index.d.ts +7 -1
- package/dist/index.cjs +155 -31
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6037 -411
- package/dist/theme/ThemeProvider.d.ts +16 -0
- package/dist/theme/common/borders.d.ts +8 -0
- package/dist/theme/common/colors.d.ts +4 -0
- package/dist/theme/common/gradient.d.ts +4 -0
- package/dist/theme/common/index.d.ts +36 -0
- package/dist/theme/common/scale.d.ts +11 -0
- package/dist/theme/common/shadows.d.ts +5 -0
- package/dist/theme/common/sizes.d.ts +4 -0
- package/dist/theme/common/spaces.d.ts +4 -0
- package/dist/theme/common/text.d.ts +15 -0
- package/dist/theme/components/art.d.ts +5 -0
- package/dist/theme/components/base.d.ts +8 -0
- package/dist/theme/components/button.d.ts +12 -0
- package/dist/theme/components/index.d.ts +19 -0
- package/dist/theme/components/loading.d.ts +16 -0
- package/dist/theme/components/touchable.d.ts +14 -0
- package/dist/theme/getTheme.d.ts +19 -0
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/styled.d.ts +135 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/ssr.d.ts +1 -0
- package/package.json +10 -3
- package/dist/components/Example.d.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,31 +1,155 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
|
|
10
|
-
* @license React
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`+
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
`+
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<%s key={someKey} {...props} />`,n,o,c,o),se[o+n]=!0)}if(o=null,t!==void 0&&(x(t),o=""+t),ve(r)&&(x(r.key),o=""+r.key),"key"in r){t={};for(var T in r)T!=="key"&&(t[T]=r[T])}else t=r;return o&&de(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),ge(e,o,a,u,O(),t)}function H(e,r){if(typeof e=="object"&&e&&e.$$typeof!==we){if(q(e))for(var t=0;t<e.length;t++){var n=e[t];A(n)&&X(n,r)}else if(A(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?t=null:(t=I&&e[I]||e["@@iterator"],t=typeof t=="function"?t:null),typeof t=="function"&&t!==e.entries&&(t=t.call(e),t!==e))for(;!(e=t.next()).done;)A(e.value)&&X(e.value,r)}}function A(e){return typeof e=="object"&&e!==null&&e.$$typeof===N}function X(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=me(r),!fe[r])){fe[r]=!0;var t="";e&&e._owner!=null&&e._owner!==O()&&(t=null,typeof e._owner.tag=="number"?t=f(e._owner.type):typeof e._owner.name=="string"&&(t=e._owner.name),t=" It was passed a child from "+t+".");var n=b.getCurrentStack;b.getCurrentStack=function(){var u=k(e.type);return n&&(u+=n()||""),u},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,t),b.getCurrentStack=n}}function me(e){var r="",t=O();return t&&(t=f(t.type))&&(r=`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react/jsx-runtime"),ie=require("react");var Xr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qt={exports:{}};/**
|
|
2
|
+
* @license
|
|
3
|
+
* Lodash <https://lodash.com/>
|
|
4
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
+
* Released under MIT license <https://lodash.com/license>
|
|
6
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
+
*/var em=Qt.exports,Ya;function nm(){return Ya||(Ya=1,function(r,u){(function(){var o,l="4.17.21",p=200,_="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",E="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",D=500,B="__lodash_placeholder__",R=1,G=2,F=4,Z=1,re=2,oe=1,ne=2,ae=4,Y=8,j=16,V=32,z=64,L=128,Pe=256,ln=512,_i=30,vi="...",yi=800,rr=16,ir=1,xi=2,wi=3,Fn=1/0,wn=9007199254740991,nn=17976931348623157e292,hn=NaN,Ae=4294967295,Le=Ae-1,Ot=Ae>>>1,Pt=[["ary",L],["bind",oe],["bindKey",ne],["curry",Y],["curryRight",j],["flip",ln],["partial",V],["partialRight",z],["rearg",Pe]],tn="[object Arguments]",pn="[object Array]",st="[object AsyncFunction]",qe="[object Boolean]",Ne="[object Date]",Lt="[object DOMException]",bn="[object Error]",Me="[object Function]",ms="[object GeneratorFunction]",rn="[object Map]",Bt="[object Number]",_c="[object Null]",Sn="[object Object]",_s="[object Promise]",vc="[object Proxy]",Ft="[object RegExp]",on="[object Set]",Dt="[object String]",or="[object Symbol]",yc="[object Undefined]",Wt="[object WeakMap]",xc="[object WeakSet]",Nt="[object ArrayBuffer]",ut="[object DataView]",bi="[object Float32Array]",Si="[object Float64Array]",Ai="[object Int8Array]",Ci="[object Int16Array]",Ei="[object Int32Array]",Ti="[object Uint8Array]",Ri="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Oi="[object Uint32Array]",wc=/\b__p \+= '';/g,bc=/\b(__p \+=) '' \+/g,Sc=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vs=/&(?:amp|lt|gt|quot|#39);/g,ys=/[&<>"']/g,Ac=RegExp(vs.source),Cc=RegExp(ys.source),Ec=/<%-([\s\S]+?)%>/g,Tc=/<%([\s\S]+?)%>/g,xs=/<%=([\s\S]+?)%>/g,Rc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ic=/^\w*$/,Oc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pi=/[\\^$.*+?()[\]{}|]/g,Pc=RegExp(Pi.source),Li=/^\s+/,Lc=/\s/,Bc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fc=/\{\n\/\* \[wrapped with (.+)\] \*/,Dc=/,? & /,Wc=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nc=/[()=,{}\[\]\/\s]/,Mc=/\\(\\)?/g,kc=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ws=/\w*$/,$c=/^[-+]0x[0-9a-f]+$/i,Uc=/^0b[01]+$/i,zc=/^\[object .+?Constructor\]$/,Hc=/^0o[0-7]+$/i,Gc=/^(?:0|[1-9]\d*)$/,qc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,sr=/($^)/,Kc=/['\n\r\u2028\u2029\\]/g,ur="\\ud800-\\udfff",Yc="\\u0300-\\u036f",Xc="\\ufe20-\\ufe2f",Zc="\\u20d0-\\u20ff",bs=Yc+Xc+Zc,Ss="\\u2700-\\u27bf",As="a-z\\xdf-\\xf6\\xf8-\\xff",Vc="\\xac\\xb1\\xd7\\xf7",Jc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jc="\\u2000-\\u206f",Qc=" \\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",Cs="A-Z\\xc0-\\xd6\\xd8-\\xde",Es="\\ufe0e\\ufe0f",Ts=Vc+Jc+jc+Qc,Bi="['’]",el="["+ur+"]",Rs="["+Ts+"]",ar="["+bs+"]",Is="\\d+",nl="["+Ss+"]",Os="["+As+"]",Ps="[^"+ur+Ts+Is+Ss+As+Cs+"]",Fi="\\ud83c[\\udffb-\\udfff]",tl="(?:"+ar+"|"+Fi+")",Ls="[^"+ur+"]",Di="(?:\\ud83c[\\udde6-\\uddff]){2}",Wi="[\\ud800-\\udbff][\\udc00-\\udfff]",at="["+Cs+"]",Bs="\\u200d",Fs="(?:"+Os+"|"+Ps+")",rl="(?:"+at+"|"+Ps+")",Ds="(?:"+Bi+"(?:d|ll|m|re|s|t|ve))?",Ws="(?:"+Bi+"(?:D|LL|M|RE|S|T|VE))?",Ns=tl+"?",Ms="["+Es+"]?",il="(?:"+Bs+"(?:"+[Ls,Di,Wi].join("|")+")"+Ms+Ns+")*",ol="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",sl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ks=Ms+Ns+il,ul="(?:"+[nl,Di,Wi].join("|")+")"+ks,al="(?:"+[Ls+ar+"?",ar,Di,Wi,el].join("|")+")",fl=RegExp(Bi,"g"),cl=RegExp(ar,"g"),Ni=RegExp(Fi+"(?="+Fi+")|"+al+ks,"g"),ll=RegExp([at+"?"+Os+"+"+Ds+"(?="+[Rs,at,"$"].join("|")+")",rl+"+"+Ws+"(?="+[Rs,at+Fs,"$"].join("|")+")",at+"?"+Fs+"+"+Ds,at+"+"+Ws,sl,ol,Is,ul].join("|"),"g"),hl=RegExp("["+Bs+ur+bs+Es+"]"),pl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,dl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gl=-1,fe={};fe[bi]=fe[Si]=fe[Ai]=fe[Ci]=fe[Ei]=fe[Ti]=fe[Ri]=fe[Ii]=fe[Oi]=!0,fe[tn]=fe[pn]=fe[Nt]=fe[qe]=fe[ut]=fe[Ne]=fe[bn]=fe[Me]=fe[rn]=fe[Bt]=fe[Sn]=fe[Ft]=fe[on]=fe[Dt]=fe[Wt]=!1;var ue={};ue[tn]=ue[pn]=ue[Nt]=ue[ut]=ue[qe]=ue[Ne]=ue[bi]=ue[Si]=ue[Ai]=ue[Ci]=ue[Ei]=ue[rn]=ue[Bt]=ue[Sn]=ue[Ft]=ue[on]=ue[Dt]=ue[or]=ue[Ti]=ue[Ri]=ue[Ii]=ue[Oi]=!0,ue[bn]=ue[Me]=ue[Wt]=!1;var ml={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_l={"&":"&","<":"<",">":">",'"':""","'":"'"},vl={"&":"&","<":"<",">":">",""":'"',"'":"'"},yl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xl=parseFloat,wl=parseInt,$s=typeof Xr=="object"&&Xr&&Xr.Object===Object&&Xr,bl=typeof self=="object"&&self&&self.Object===Object&&self,be=$s||bl||Function("return this")(),Mi=u&&!u.nodeType&&u,qn=Mi&&!0&&r&&!r.nodeType&&r,Us=qn&&qn.exports===Mi,ki=Us&&$s.process,Ke=function(){try{var d=qn&&qn.require&&qn.require("util").types;return d||ki&&ki.binding&&ki.binding("util")}catch{}}(),zs=Ke&&Ke.isArrayBuffer,Hs=Ke&&Ke.isDate,Gs=Ke&&Ke.isMap,qs=Ke&&Ke.isRegExp,Ks=Ke&&Ke.isSet,Ys=Ke&&Ke.isTypedArray;function ke(d,v,m){switch(m.length){case 0:return d.call(v);case 1:return d.call(v,m[0]);case 2:return d.call(v,m[0],m[1]);case 3:return d.call(v,m[0],m[1],m[2])}return d.apply(v,m)}function Sl(d,v,m,C){for(var W=-1,J=d==null?0:d.length;++W<J;){var _e=d[W];v(C,_e,m(_e),d)}return C}function Ye(d,v){for(var m=-1,C=d==null?0:d.length;++m<C&&v(d[m],m,d)!==!1;);return d}function Al(d,v){for(var m=d==null?0:d.length;m--&&v(d[m],m,d)!==!1;);return d}function Xs(d,v){for(var m=-1,C=d==null?0:d.length;++m<C;)if(!v(d[m],m,d))return!1;return!0}function Dn(d,v){for(var m=-1,C=d==null?0:d.length,W=0,J=[];++m<C;){var _e=d[m];v(_e,m,d)&&(J[W++]=_e)}return J}function fr(d,v){var m=d==null?0:d.length;return!!m&&ft(d,v,0)>-1}function $i(d,v,m){for(var C=-1,W=d==null?0:d.length;++C<W;)if(m(v,d[C]))return!0;return!1}function le(d,v){for(var m=-1,C=d==null?0:d.length,W=Array(C);++m<C;)W[m]=v(d[m],m,d);return W}function Wn(d,v){for(var m=-1,C=v.length,W=d.length;++m<C;)d[W+m]=v[m];return d}function Ui(d,v,m,C){var W=-1,J=d==null?0:d.length;for(C&&J&&(m=d[++W]);++W<J;)m=v(m,d[W],W,d);return m}function Cl(d,v,m,C){var W=d==null?0:d.length;for(C&&W&&(m=d[--W]);W--;)m=v(m,d[W],W,d);return m}function zi(d,v){for(var m=-1,C=d==null?0:d.length;++m<C;)if(v(d[m],m,d))return!0;return!1}var El=Hi("length");function Tl(d){return d.split("")}function Rl(d){return d.match(Wc)||[]}function Zs(d,v,m){var C;return m(d,function(W,J,_e){if(v(W,J,_e))return C=J,!1}),C}function cr(d,v,m,C){for(var W=d.length,J=m+(C?1:-1);C?J--:++J<W;)if(v(d[J],J,d))return J;return-1}function ft(d,v,m){return v===v?$l(d,v,m):cr(d,Vs,m)}function Il(d,v,m,C){for(var W=m-1,J=d.length;++W<J;)if(C(d[W],v))return W;return-1}function Vs(d){return d!==d}function Js(d,v){var m=d==null?0:d.length;return m?qi(d,v)/m:hn}function Hi(d){return function(v){return v==null?o:v[d]}}function Gi(d){return function(v){return d==null?o:d[v]}}function js(d,v,m,C,W){return W(d,function(J,_e,se){m=C?(C=!1,J):v(m,J,_e,se)}),m}function Ol(d,v){var m=d.length;for(d.sort(v);m--;)d[m]=d[m].value;return d}function qi(d,v){for(var m,C=-1,W=d.length;++C<W;){var J=v(d[C]);J!==o&&(m=m===o?J:m+J)}return m}function Ki(d,v){for(var m=-1,C=Array(d);++m<d;)C[m]=v(m);return C}function Pl(d,v){return le(v,function(m){return[m,d[m]]})}function Qs(d){return d&&d.slice(0,ru(d)+1).replace(Li,"")}function $e(d){return function(v){return d(v)}}function Yi(d,v){return le(v,function(m){return d[m]})}function Mt(d,v){return d.has(v)}function eu(d,v){for(var m=-1,C=d.length;++m<C&&ft(v,d[m],0)>-1;);return m}function nu(d,v){for(var m=d.length;m--&&ft(v,d[m],0)>-1;);return m}function Ll(d,v){for(var m=d.length,C=0;m--;)d[m]===v&&++C;return C}var Bl=Gi(ml),Fl=Gi(_l);function Dl(d){return"\\"+yl[d]}function Wl(d,v){return d==null?o:d[v]}function ct(d){return hl.test(d)}function Nl(d){return pl.test(d)}function Ml(d){for(var v,m=[];!(v=d.next()).done;)m.push(v.value);return m}function Xi(d){var v=-1,m=Array(d.size);return d.forEach(function(C,W){m[++v]=[W,C]}),m}function tu(d,v){return function(m){return d(v(m))}}function Nn(d,v){for(var m=-1,C=d.length,W=0,J=[];++m<C;){var _e=d[m];(_e===v||_e===B)&&(d[m]=B,J[W++]=m)}return J}function lr(d){var v=-1,m=Array(d.size);return d.forEach(function(C){m[++v]=C}),m}function kl(d){var v=-1,m=Array(d.size);return d.forEach(function(C){m[++v]=[C,C]}),m}function $l(d,v,m){for(var C=m-1,W=d.length;++C<W;)if(d[C]===v)return C;return-1}function Ul(d,v,m){for(var C=m+1;C--;)if(d[C]===v)return C;return C}function lt(d){return ct(d)?Hl(d):El(d)}function sn(d){return ct(d)?Gl(d):Tl(d)}function ru(d){for(var v=d.length;v--&&Lc.test(d.charAt(v)););return v}var zl=Gi(vl);function Hl(d){for(var v=Ni.lastIndex=0;Ni.test(d);)++v;return v}function Gl(d){return d.match(Ni)||[]}function ql(d){return d.match(ll)||[]}var Kl=function d(v){v=v==null?be:ht.defaults(be.Object(),v,ht.pick(be,dl));var m=v.Array,C=v.Date,W=v.Error,J=v.Function,_e=v.Math,se=v.Object,Zi=v.RegExp,Yl=v.String,Xe=v.TypeError,hr=m.prototype,Xl=J.prototype,pt=se.prototype,pr=v["__core-js_shared__"],dr=Xl.toString,te=pt.hasOwnProperty,Zl=0,iu=function(){var e=/[^.]+$/.exec(pr&&pr.keys&&pr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),gr=pt.toString,Vl=dr.call(se),Jl=be._,jl=Zi("^"+dr.call(te).replace(Pi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mr=Us?v.Buffer:o,Mn=v.Symbol,_r=v.Uint8Array,ou=mr?mr.allocUnsafe:o,vr=tu(se.getPrototypeOf,se),su=se.create,uu=pt.propertyIsEnumerable,yr=hr.splice,au=Mn?Mn.isConcatSpreadable:o,kt=Mn?Mn.iterator:o,Kn=Mn?Mn.toStringTag:o,xr=function(){try{var e=Jn(se,"defineProperty");return e({},"",{}),e}catch{}}(),Ql=v.clearTimeout!==be.clearTimeout&&v.clearTimeout,eh=C&&C.now!==be.Date.now&&C.now,nh=v.setTimeout!==be.setTimeout&&v.setTimeout,wr=_e.ceil,br=_e.floor,Vi=se.getOwnPropertySymbols,th=mr?mr.isBuffer:o,fu=v.isFinite,rh=hr.join,ih=tu(se.keys,se),ve=_e.max,Ce=_e.min,oh=C.now,sh=v.parseInt,cu=_e.random,uh=hr.reverse,Ji=Jn(v,"DataView"),$t=Jn(v,"Map"),ji=Jn(v,"Promise"),dt=Jn(v,"Set"),Ut=Jn(v,"WeakMap"),zt=Jn(se,"create"),Sr=Ut&&new Ut,gt={},ah=jn(Ji),fh=jn($t),ch=jn(ji),lh=jn(dt),hh=jn(Ut),Ar=Mn?Mn.prototype:o,Ht=Ar?Ar.valueOf:o,lu=Ar?Ar.toString:o;function a(e){if(pe(e)&&!M(e)&&!(e instanceof K)){if(e instanceof Ze)return e;if(te.call(e,"__wrapped__"))return ha(e)}return new Ze(e)}var mt=function(){function e(){}return function(n){if(!he(n))return{};if(su)return su(n);e.prototype=n;var t=new e;return e.prototype=o,t}}();function Cr(){}function Ze(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=o}a.templateSettings={escape:Ec,evaluate:Tc,interpolate:xs,variable:"",imports:{_:a}},a.prototype=Cr.prototype,a.prototype.constructor=a,Ze.prototype=mt(Cr.prototype),Ze.prototype.constructor=Ze;function K(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function ph(){var e=new K(this.__wrapped__);return e.__actions__=Be(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Be(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Be(this.__views__),e}function dh(){if(this.__filtered__){var e=new K(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function gh(){var e=this.__wrapped__.value(),n=this.__dir__,t=M(e),i=n<0,s=t?e.length:0,f=Tp(0,s,this.__views__),c=f.start,h=f.end,g=h-c,y=i?h:c-1,x=this.__iteratees__,b=x.length,A=0,T=Ce(g,this.__takeCount__);if(!t||!i&&s==g&&T==g)return Du(e,this.__actions__);var O=[];e:for(;g--&&A<T;){y+=n;for(var $=-1,P=e[y];++$<b;){var q=x[$],X=q.iteratee,He=q.type,Oe=X(P);if(He==xi)P=Oe;else if(!Oe){if(He==ir)continue e;break e}}O[A++]=P}return O}K.prototype=mt(Cr.prototype),K.prototype.constructor=K;function Yn(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var i=e[n];this.set(i[0],i[1])}}function mh(){this.__data__=zt?zt(null):{},this.size=0}function _h(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function vh(e){var n=this.__data__;if(zt){var t=n[e];return t===S?o:t}return te.call(n,e)?n[e]:o}function yh(e){var n=this.__data__;return zt?n[e]!==o:te.call(n,e)}function xh(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=zt&&n===o?S:n,this}Yn.prototype.clear=mh,Yn.prototype.delete=_h,Yn.prototype.get=vh,Yn.prototype.has=yh,Yn.prototype.set=xh;function An(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var i=e[n];this.set(i[0],i[1])}}function wh(){this.__data__=[],this.size=0}function bh(e){var n=this.__data__,t=Er(n,e);if(t<0)return!1;var i=n.length-1;return t==i?n.pop():yr.call(n,t,1),--this.size,!0}function Sh(e){var n=this.__data__,t=Er(n,e);return t<0?o:n[t][1]}function Ah(e){return Er(this.__data__,e)>-1}function Ch(e,n){var t=this.__data__,i=Er(t,e);return i<0?(++this.size,t.push([e,n])):t[i][1]=n,this}An.prototype.clear=wh,An.prototype.delete=bh,An.prototype.get=Sh,An.prototype.has=Ah,An.prototype.set=Ch;function Cn(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var i=e[n];this.set(i[0],i[1])}}function Eh(){this.size=0,this.__data__={hash:new Yn,map:new($t||An),string:new Yn}}function Th(e){var n=Mr(this,e).delete(e);return this.size-=n?1:0,n}function Rh(e){return Mr(this,e).get(e)}function Ih(e){return Mr(this,e).has(e)}function Oh(e,n){var t=Mr(this,e),i=t.size;return t.set(e,n),this.size+=t.size==i?0:1,this}Cn.prototype.clear=Eh,Cn.prototype.delete=Th,Cn.prototype.get=Rh,Cn.prototype.has=Ih,Cn.prototype.set=Oh;function Xn(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new Cn;++n<t;)this.add(e[n])}function Ph(e){return this.__data__.set(e,S),this}function Lh(e){return this.__data__.has(e)}Xn.prototype.add=Xn.prototype.push=Ph,Xn.prototype.has=Lh;function un(e){var n=this.__data__=new An(e);this.size=n.size}function Bh(){this.__data__=new An,this.size=0}function Fh(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}function Dh(e){return this.__data__.get(e)}function Wh(e){return this.__data__.has(e)}function Nh(e,n){var t=this.__data__;if(t instanceof An){var i=t.__data__;if(!$t||i.length<p-1)return i.push([e,n]),this.size=++t.size,this;t=this.__data__=new Cn(i)}return t.set(e,n),this.size=t.size,this}un.prototype.clear=Bh,un.prototype.delete=Fh,un.prototype.get=Dh,un.prototype.has=Wh,un.prototype.set=Nh;function hu(e,n){var t=M(e),i=!t&&Qn(e),s=!t&&!i&&Hn(e),f=!t&&!i&&!s&&xt(e),c=t||i||s||f,h=c?Ki(e.length,Yl):[],g=h.length;for(var y in e)(n||te.call(e,y))&&!(c&&(y=="length"||s&&(y=="offset"||y=="parent")||f&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||In(y,g)))&&h.push(y);return h}function pu(e){var n=e.length;return n?e[fo(0,n-1)]:o}function Mh(e,n){return kr(Be(e),Zn(n,0,e.length))}function kh(e){return kr(Be(e))}function Qi(e,n,t){(t!==o&&!an(e[n],t)||t===o&&!(n in e))&&En(e,n,t)}function Gt(e,n,t){var i=e[n];(!(te.call(e,n)&&an(i,t))||t===o&&!(n in e))&&En(e,n,t)}function Er(e,n){for(var t=e.length;t--;)if(an(e[t][0],n))return t;return-1}function $h(e,n,t,i){return kn(e,function(s,f,c){n(i,s,t(s),c)}),i}function du(e,n){return e&&gn(n,xe(n),e)}function Uh(e,n){return e&&gn(n,De(n),e)}function En(e,n,t){n=="__proto__"&&xr?xr(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function eo(e,n){for(var t=-1,i=n.length,s=m(i),f=e==null;++t<i;)s[t]=f?o:Do(e,n[t]);return s}function Zn(e,n,t){return e===e&&(t!==o&&(e=e<=t?e:t),n!==o&&(e=e>=n?e:n)),e}function Ve(e,n,t,i,s,f){var c,h=n&R,g=n&G,y=n&F;if(t&&(c=s?t(e,i,s,f):t(e)),c!==o)return c;if(!he(e))return e;var x=M(e);if(x){if(c=Ip(e),!h)return Be(e,c)}else{var b=Ee(e),A=b==Me||b==ms;if(Hn(e))return Mu(e,h);if(b==Sn||b==tn||A&&!s){if(c=g||A?{}:ra(e),!h)return g?vp(e,Uh(c,e)):_p(e,du(c,e))}else{if(!ue[b])return s?e:{};c=Op(e,b,h)}}f||(f=new un);var T=f.get(e);if(T)return T;f.set(e,c),La(e)?e.forEach(function(P){c.add(Ve(P,n,t,P,e,f))}):Oa(e)&&e.forEach(function(P,q){c.set(q,Ve(P,n,t,q,e,f))});var O=y?g?wo:xo:g?De:xe,$=x?o:O(e);return Ye($||e,function(P,q){$&&(q=P,P=e[q]),Gt(c,q,Ve(P,n,t,q,e,f))}),c}function zh(e){var n=xe(e);return function(t){return gu(t,e,n)}}function gu(e,n,t){var i=t.length;if(e==null)return!i;for(e=se(e);i--;){var s=t[i],f=n[s],c=e[s];if(c===o&&!(s in e)||!f(c))return!1}return!0}function mu(e,n,t){if(typeof e!="function")throw new Xe(w);return Jt(function(){e.apply(o,t)},n)}function qt(e,n,t,i){var s=-1,f=fr,c=!0,h=e.length,g=[],y=n.length;if(!h)return g;t&&(n=le(n,$e(t))),i?(f=$i,c=!1):n.length>=p&&(f=Mt,c=!1,n=new Xn(n));e:for(;++s<h;){var x=e[s],b=t==null?x:t(x);if(x=i||x!==0?x:0,c&&b===b){for(var A=y;A--;)if(n[A]===b)continue e;g.push(x)}else f(n,b,i)||g.push(x)}return g}var kn=Hu(dn),_u=Hu(to,!0);function Hh(e,n){var t=!0;return kn(e,function(i,s,f){return t=!!n(i,s,f),t}),t}function Tr(e,n,t){for(var i=-1,s=e.length;++i<s;){var f=e[i],c=n(f);if(c!=null&&(h===o?c===c&&!ze(c):t(c,h)))var h=c,g=f}return g}function Gh(e,n,t,i){var s=e.length;for(t=k(t),t<0&&(t=-t>s?0:s+t),i=i===o||i>s?s:k(i),i<0&&(i+=s),i=t>i?0:Fa(i);t<i;)e[t++]=n;return e}function vu(e,n){var t=[];return kn(e,function(i,s,f){n(i,s,f)&&t.push(i)}),t}function Se(e,n,t,i,s){var f=-1,c=e.length;for(t||(t=Lp),s||(s=[]);++f<c;){var h=e[f];n>0&&t(h)?n>1?Se(h,n-1,t,i,s):Wn(s,h):i||(s[s.length]=h)}return s}var no=Gu(),yu=Gu(!0);function dn(e,n){return e&&no(e,n,xe)}function to(e,n){return e&&yu(e,n,xe)}function Rr(e,n){return Dn(n,function(t){return On(e[t])})}function Vn(e,n){n=Un(n,e);for(var t=0,i=n.length;e!=null&&t<i;)e=e[mn(n[t++])];return t&&t==i?e:o}function xu(e,n,t){var i=n(e);return M(e)?i:Wn(i,t(e))}function Re(e){return e==null?e===o?yc:_c:Kn&&Kn in se(e)?Ep(e):kp(e)}function ro(e,n){return e>n}function qh(e,n){return e!=null&&te.call(e,n)}function Kh(e,n){return e!=null&&n in se(e)}function Yh(e,n,t){return e>=Ce(n,t)&&e<ve(n,t)}function io(e,n,t){for(var i=t?$i:fr,s=e[0].length,f=e.length,c=f,h=m(f),g=1/0,y=[];c--;){var x=e[c];c&&n&&(x=le(x,$e(n))),g=Ce(x.length,g),h[c]=!t&&(n||s>=120&&x.length>=120)?new Xn(c&&x):o}x=e[0];var b=-1,A=h[0];e:for(;++b<s&&y.length<g;){var T=x[b],O=n?n(T):T;if(T=t||T!==0?T:0,!(A?Mt(A,O):i(y,O,t))){for(c=f;--c;){var $=h[c];if(!($?Mt($,O):i(e[c],O,t)))continue e}A&&A.push(O),y.push(T)}}return y}function Xh(e,n,t,i){return dn(e,function(s,f,c){n(i,t(s),f,c)}),i}function Kt(e,n,t){n=Un(n,e),e=ua(e,n);var i=e==null?e:e[mn(je(n))];return i==null?o:ke(i,e,t)}function wu(e){return pe(e)&&Re(e)==tn}function Zh(e){return pe(e)&&Re(e)==Nt}function Vh(e){return pe(e)&&Re(e)==Ne}function Yt(e,n,t,i,s){return e===n?!0:e==null||n==null||!pe(e)&&!pe(n)?e!==e&&n!==n:Jh(e,n,t,i,Yt,s)}function Jh(e,n,t,i,s,f){var c=M(e),h=M(n),g=c?pn:Ee(e),y=h?pn:Ee(n);g=g==tn?Sn:g,y=y==tn?Sn:y;var x=g==Sn,b=y==Sn,A=g==y;if(A&&Hn(e)){if(!Hn(n))return!1;c=!0,x=!1}if(A&&!x)return f||(f=new un),c||xt(e)?ea(e,n,t,i,s,f):Ap(e,n,g,t,i,s,f);if(!(t&Z)){var T=x&&te.call(e,"__wrapped__"),O=b&&te.call(n,"__wrapped__");if(T||O){var $=T?e.value():e,P=O?n.value():n;return f||(f=new un),s($,P,t,i,f)}}return A?(f||(f=new un),Cp(e,n,t,i,s,f)):!1}function jh(e){return pe(e)&&Ee(e)==rn}function oo(e,n,t,i){var s=t.length,f=s,c=!i;if(e==null)return!f;for(e=se(e);s--;){var h=t[s];if(c&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}for(;++s<f;){h=t[s];var g=h[0],y=e[g],x=h[1];if(c&&h[2]){if(y===o&&!(g in e))return!1}else{var b=new un;if(i)var A=i(y,x,g,e,n,b);if(!(A===o?Yt(x,y,Z|re,i,b):A))return!1}}return!0}function bu(e){if(!he(e)||Fp(e))return!1;var n=On(e)?jl:zc;return n.test(jn(e))}function Qh(e){return pe(e)&&Re(e)==Ft}function ep(e){return pe(e)&&Ee(e)==on}function np(e){return pe(e)&&qr(e.length)&&!!fe[Re(e)]}function Su(e){return typeof e=="function"?e:e==null?We:typeof e=="object"?M(e)?Eu(e[0],e[1]):Cu(e):qa(e)}function so(e){if(!Vt(e))return ih(e);var n=[];for(var t in se(e))te.call(e,t)&&t!="constructor"&&n.push(t);return n}function tp(e){if(!he(e))return Mp(e);var n=Vt(e),t=[];for(var i in e)i=="constructor"&&(n||!te.call(e,i))||t.push(i);return t}function uo(e,n){return e<n}function Au(e,n){var t=-1,i=Fe(e)?m(e.length):[];return kn(e,function(s,f,c){i[++t]=n(s,f,c)}),i}function Cu(e){var n=So(e);return n.length==1&&n[0][2]?oa(n[0][0],n[0][1]):function(t){return t===e||oo(t,e,n)}}function Eu(e,n){return Co(e)&&ia(n)?oa(mn(e),n):function(t){var i=Do(t,e);return i===o&&i===n?Wo(t,e):Yt(n,i,Z|re)}}function Ir(e,n,t,i,s){e!==n&&no(n,function(f,c){if(s||(s=new un),he(f))rp(e,n,c,t,Ir,i,s);else{var h=i?i(To(e,c),f,c+"",e,n,s):o;h===o&&(h=f),Qi(e,c,h)}},De)}function rp(e,n,t,i,s,f,c){var h=To(e,t),g=To(n,t),y=c.get(g);if(y){Qi(e,t,y);return}var x=f?f(h,g,t+"",e,n,c):o,b=x===o;if(b){var A=M(g),T=!A&&Hn(g),O=!A&&!T&&xt(g);x=g,A||T||O?M(h)?x=h:de(h)?x=Be(h):T?(b=!1,x=Mu(g,!0)):O?(b=!1,x=ku(g,!0)):x=[]:jt(g)||Qn(g)?(x=h,Qn(h)?x=Da(h):(!he(h)||On(h))&&(x=ra(g))):b=!1}b&&(c.set(g,x),s(x,g,i,f,c),c.delete(g)),Qi(e,t,x)}function Tu(e,n){var t=e.length;if(t)return n+=n<0?t:0,In(n,t)?e[n]:o}function Ru(e,n,t){n.length?n=le(n,function(f){return M(f)?function(c){return Vn(c,f.length===1?f[0]:f)}:f}):n=[We];var i=-1;n=le(n,$e(I()));var s=Au(e,function(f,c,h){var g=le(n,function(y){return y(f)});return{criteria:g,index:++i,value:f}});return Ol(s,function(f,c){return mp(f,c,t)})}function ip(e,n){return Iu(e,n,function(t,i){return Wo(e,i)})}function Iu(e,n,t){for(var i=-1,s=n.length,f={};++i<s;){var c=n[i],h=Vn(e,c);t(h,c)&&Xt(f,Un(c,e),h)}return f}function op(e){return function(n){return Vn(n,e)}}function ao(e,n,t,i){var s=i?Il:ft,f=-1,c=n.length,h=e;for(e===n&&(n=Be(n)),t&&(h=le(e,$e(t)));++f<c;)for(var g=0,y=n[f],x=t?t(y):y;(g=s(h,x,g,i))>-1;)h!==e&&yr.call(h,g,1),yr.call(e,g,1);return e}function Ou(e,n){for(var t=e?n.length:0,i=t-1;t--;){var s=n[t];if(t==i||s!==f){var f=s;In(s)?yr.call(e,s,1):ho(e,s)}}return e}function fo(e,n){return e+br(cu()*(n-e+1))}function sp(e,n,t,i){for(var s=-1,f=ve(wr((n-e)/(t||1)),0),c=m(f);f--;)c[i?f:++s]=e,e+=t;return c}function co(e,n){var t="";if(!e||n<1||n>wn)return t;do n%2&&(t+=e),n=br(n/2),n&&(e+=e);while(n);return t}function H(e,n){return Ro(sa(e,n,We),e+"")}function up(e){return pu(wt(e))}function ap(e,n){var t=wt(e);return kr(t,Zn(n,0,t.length))}function Xt(e,n,t,i){if(!he(e))return e;n=Un(n,e);for(var s=-1,f=n.length,c=f-1,h=e;h!=null&&++s<f;){var g=mn(n[s]),y=t;if(g==="__proto__"||g==="constructor"||g==="prototype")return e;if(s!=c){var x=h[g];y=i?i(x,g,h):o,y===o&&(y=he(x)?x:In(n[s+1])?[]:{})}Gt(h,g,y),h=h[g]}return e}var Pu=Sr?function(e,n){return Sr.set(e,n),e}:We,fp=xr?function(e,n){return xr(e,"toString",{configurable:!0,enumerable:!1,value:Mo(n),writable:!0})}:We;function cp(e){return kr(wt(e))}function Je(e,n,t){var i=-1,s=e.length;n<0&&(n=-n>s?0:s+n),t=t>s?s:t,t<0&&(t+=s),s=n>t?0:t-n>>>0,n>>>=0;for(var f=m(s);++i<s;)f[i]=e[i+n];return f}function lp(e,n){var t;return kn(e,function(i,s,f){return t=n(i,s,f),!t}),!!t}function Or(e,n,t){var i=0,s=e==null?i:e.length;if(typeof n=="number"&&n===n&&s<=Ot){for(;i<s;){var f=i+s>>>1,c=e[f];c!==null&&!ze(c)&&(t?c<=n:c<n)?i=f+1:s=f}return s}return lo(e,n,We,t)}function lo(e,n,t,i){var s=0,f=e==null?0:e.length;if(f===0)return 0;n=t(n);for(var c=n!==n,h=n===null,g=ze(n),y=n===o;s<f;){var x=br((s+f)/2),b=t(e[x]),A=b!==o,T=b===null,O=b===b,$=ze(b);if(c)var P=i||O;else y?P=O&&(i||A):h?P=O&&A&&(i||!T):g?P=O&&A&&!T&&(i||!$):T||$?P=!1:P=i?b<=n:b<n;P?s=x+1:f=x}return Ce(f,Le)}function Lu(e,n){for(var t=-1,i=e.length,s=0,f=[];++t<i;){var c=e[t],h=n?n(c):c;if(!t||!an(h,g)){var g=h;f[s++]=c===0?0:c}}return f}function Bu(e){return typeof e=="number"?e:ze(e)?hn:+e}function Ue(e){if(typeof e=="string")return e;if(M(e))return le(e,Ue)+"";if(ze(e))return lu?lu.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function $n(e,n,t){var i=-1,s=fr,f=e.length,c=!0,h=[],g=h;if(t)c=!1,s=$i;else if(f>=p){var y=n?null:bp(e);if(y)return lr(y);c=!1,s=Mt,g=new Xn}else g=n?[]:h;e:for(;++i<f;){var x=e[i],b=n?n(x):x;if(x=t||x!==0?x:0,c&&b===b){for(var A=g.length;A--;)if(g[A]===b)continue e;n&&g.push(b),h.push(x)}else s(g,b,t)||(g!==h&&g.push(b),h.push(x))}return h}function ho(e,n){return n=Un(n,e),e=ua(e,n),e==null||delete e[mn(je(n))]}function Fu(e,n,t,i){return Xt(e,n,t(Vn(e,n)),i)}function Pr(e,n,t,i){for(var s=e.length,f=i?s:-1;(i?f--:++f<s)&&n(e[f],f,e););return t?Je(e,i?0:f,i?f+1:s):Je(e,i?f+1:0,i?s:f)}function Du(e,n){var t=e;return t instanceof K&&(t=t.value()),Ui(n,function(i,s){return s.func.apply(s.thisArg,Wn([i],s.args))},t)}function po(e,n,t){var i=e.length;if(i<2)return i?$n(e[0]):[];for(var s=-1,f=m(i);++s<i;)for(var c=e[s],h=-1;++h<i;)h!=s&&(f[s]=qt(f[s]||c,e[h],n,t));return $n(Se(f,1),n,t)}function Wu(e,n,t){for(var i=-1,s=e.length,f=n.length,c={};++i<s;){var h=i<f?n[i]:o;t(c,e[i],h)}return c}function go(e){return de(e)?e:[]}function mo(e){return typeof e=="function"?e:We}function Un(e,n){return M(e)?e:Co(e,n)?[e]:la(Q(e))}var hp=H;function zn(e,n,t){var i=e.length;return t=t===o?i:t,!n&&t>=i?e:Je(e,n,t)}var Nu=Ql||function(e){return be.clearTimeout(e)};function Mu(e,n){if(n)return e.slice();var t=e.length,i=ou?ou(t):new e.constructor(t);return e.copy(i),i}function _o(e){var n=new e.constructor(e.byteLength);return new _r(n).set(new _r(e)),n}function pp(e,n){var t=n?_o(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}function dp(e){var n=new e.constructor(e.source,ws.exec(e));return n.lastIndex=e.lastIndex,n}function gp(e){return Ht?se(Ht.call(e)):{}}function ku(e,n){var t=n?_o(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function $u(e,n){if(e!==n){var t=e!==o,i=e===null,s=e===e,f=ze(e),c=n!==o,h=n===null,g=n===n,y=ze(n);if(!h&&!y&&!f&&e>n||f&&c&&g&&!h&&!y||i&&c&&g||!t&&g||!s)return 1;if(!i&&!f&&!y&&e<n||y&&t&&s&&!i&&!f||h&&t&&s||!c&&s||!g)return-1}return 0}function mp(e,n,t){for(var i=-1,s=e.criteria,f=n.criteria,c=s.length,h=t.length;++i<c;){var g=$u(s[i],f[i]);if(g){if(i>=h)return g;var y=t[i];return g*(y=="desc"?-1:1)}}return e.index-n.index}function Uu(e,n,t,i){for(var s=-1,f=e.length,c=t.length,h=-1,g=n.length,y=ve(f-c,0),x=m(g+y),b=!i;++h<g;)x[h]=n[h];for(;++s<c;)(b||s<f)&&(x[t[s]]=e[s]);for(;y--;)x[h++]=e[s++];return x}function zu(e,n,t,i){for(var s=-1,f=e.length,c=-1,h=t.length,g=-1,y=n.length,x=ve(f-h,0),b=m(x+y),A=!i;++s<x;)b[s]=e[s];for(var T=s;++g<y;)b[T+g]=n[g];for(;++c<h;)(A||s<f)&&(b[T+t[c]]=e[s++]);return b}function Be(e,n){var t=-1,i=e.length;for(n||(n=m(i));++t<i;)n[t]=e[t];return n}function gn(e,n,t,i){var s=!t;t||(t={});for(var f=-1,c=n.length;++f<c;){var h=n[f],g=i?i(t[h],e[h],h,t,e):o;g===o&&(g=e[h]),s?En(t,h,g):Gt(t,h,g)}return t}function _p(e,n){return gn(e,Ao(e),n)}function vp(e,n){return gn(e,na(e),n)}function Lr(e,n){return function(t,i){var s=M(t)?Sl:$h,f=n?n():{};return s(t,e,I(i,2),f)}}function _t(e){return H(function(n,t){var i=-1,s=t.length,f=s>1?t[s-1]:o,c=s>2?t[2]:o;for(f=e.length>3&&typeof f=="function"?(s--,f):o,c&&Ie(t[0],t[1],c)&&(f=s<3?o:f,s=1),n=se(n);++i<s;){var h=t[i];h&&e(n,h,i,f)}return n})}function Hu(e,n){return function(t,i){if(t==null)return t;if(!Fe(t))return e(t,i);for(var s=t.length,f=n?s:-1,c=se(t);(n?f--:++f<s)&&i(c[f],f,c)!==!1;);return t}}function Gu(e){return function(n,t,i){for(var s=-1,f=se(n),c=i(n),h=c.length;h--;){var g=c[e?h:++s];if(t(f[g],g,f)===!1)break}return n}}function yp(e,n,t){var i=n&oe,s=Zt(e);function f(){var c=this&&this!==be&&this instanceof f?s:e;return c.apply(i?t:this,arguments)}return f}function qu(e){return function(n){n=Q(n);var t=ct(n)?sn(n):o,i=t?t[0]:n.charAt(0),s=t?zn(t,1).join(""):n.slice(1);return i[e]()+s}}function vt(e){return function(n){return Ui(Ha(za(n).replace(fl,"")),e,"")}}function Zt(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var t=mt(e.prototype),i=e.apply(t,n);return he(i)?i:t}}function xp(e,n,t){var i=Zt(e);function s(){for(var f=arguments.length,c=m(f),h=f,g=yt(s);h--;)c[h]=arguments[h];var y=f<3&&c[0]!==g&&c[f-1]!==g?[]:Nn(c,g);if(f-=y.length,f<t)return Vu(e,n,Br,s.placeholder,o,c,y,o,o,t-f);var x=this&&this!==be&&this instanceof s?i:e;return ke(x,this,c)}return s}function Ku(e){return function(n,t,i){var s=se(n);if(!Fe(n)){var f=I(t,3);n=xe(n),t=function(h){return f(s[h],h,s)}}var c=e(n,t,i);return c>-1?s[f?n[c]:c]:o}}function Yu(e){return Rn(function(n){var t=n.length,i=t,s=Ze.prototype.thru;for(e&&n.reverse();i--;){var f=n[i];if(typeof f!="function")throw new Xe(w);if(s&&!c&&Nr(f)=="wrapper")var c=new Ze([],!0)}for(i=c?i:t;++i<t;){f=n[i];var h=Nr(f),g=h=="wrapper"?bo(f):o;g&&Eo(g[0])&&g[1]==(L|Y|V|Pe)&&!g[4].length&&g[9]==1?c=c[Nr(g[0])].apply(c,g[3]):c=f.length==1&&Eo(f)?c[h]():c.thru(f)}return function(){var y=arguments,x=y[0];if(c&&y.length==1&&M(x))return c.plant(x).value();for(var b=0,A=t?n[b].apply(this,y):x;++b<t;)A=n[b].call(this,A);return A}})}function Br(e,n,t,i,s,f,c,h,g,y){var x=n&L,b=n&oe,A=n&ne,T=n&(Y|j),O=n&ln,$=A?o:Zt(e);function P(){for(var q=arguments.length,X=m(q),He=q;He--;)X[He]=arguments[He];if(T)var Oe=yt(P),Ge=Ll(X,Oe);if(i&&(X=Uu(X,i,s,T)),f&&(X=zu(X,f,c,T)),q-=Ge,T&&q<y){var ge=Nn(X,Oe);return Vu(e,n,Br,P.placeholder,t,X,ge,h,g,y-q)}var fn=b?t:this,Ln=A?fn[e]:e;return q=X.length,h?X=$p(X,h):O&&q>1&&X.reverse(),x&&g<q&&(X.length=g),this&&this!==be&&this instanceof P&&(Ln=$||Zt(Ln)),Ln.apply(fn,X)}return P}function Xu(e,n){return function(t,i){return Xh(t,e,n(i),{})}}function Fr(e,n){return function(t,i){var s;if(t===o&&i===o)return n;if(t!==o&&(s=t),i!==o){if(s===o)return i;typeof t=="string"||typeof i=="string"?(t=Ue(t),i=Ue(i)):(t=Bu(t),i=Bu(i)),s=e(t,i)}return s}}function vo(e){return Rn(function(n){return n=le(n,$e(I())),H(function(t){var i=this;return e(n,function(s){return ke(s,i,t)})})})}function Dr(e,n){n=n===o?" ":Ue(n);var t=n.length;if(t<2)return t?co(n,e):n;var i=co(n,wr(e/lt(n)));return ct(n)?zn(sn(i),0,e).join(""):i.slice(0,e)}function wp(e,n,t,i){var s=n&oe,f=Zt(e);function c(){for(var h=-1,g=arguments.length,y=-1,x=i.length,b=m(x+g),A=this&&this!==be&&this instanceof c?f:e;++y<x;)b[y]=i[y];for(;g--;)b[y++]=arguments[++h];return ke(A,s?t:this,b)}return c}function Zu(e){return function(n,t,i){return i&&typeof i!="number"&&Ie(n,t,i)&&(t=i=o),n=Pn(n),t===o?(t=n,n=0):t=Pn(t),i=i===o?n<t?1:-1:Pn(i),sp(n,t,i,e)}}function Wr(e){return function(n,t){return typeof n=="string"&&typeof t=="string"||(n=Qe(n),t=Qe(t)),e(n,t)}}function Vu(e,n,t,i,s,f,c,h,g,y){var x=n&Y,b=x?c:o,A=x?o:c,T=x?f:o,O=x?o:f;n|=x?V:z,n&=~(x?z:V),n&ae||(n&=-4);var $=[e,n,s,T,b,O,A,h,g,y],P=t.apply(o,$);return Eo(e)&&aa(P,$),P.placeholder=i,fa(P,e,n)}function yo(e){var n=_e[e];return function(t,i){if(t=Qe(t),i=i==null?0:Ce(k(i),292),i&&fu(t)){var s=(Q(t)+"e").split("e"),f=n(s[0]+"e"+(+s[1]+i));return s=(Q(f)+"e").split("e"),+(s[0]+"e"+(+s[1]-i))}return n(t)}}var bp=dt&&1/lr(new dt([,-0]))[1]==Fn?function(e){return new dt(e)}:Uo;function Ju(e){return function(n){var t=Ee(n);return t==rn?Xi(n):t==on?kl(n):Pl(n,e(n))}}function Tn(e,n,t,i,s,f,c,h){var g=n≠if(!g&&typeof e!="function")throw new Xe(w);var y=i?i.length:0;if(y||(n&=-97,i=s=o),c=c===o?c:ve(k(c),0),h=h===o?h:k(h),y-=s?s.length:0,n&z){var x=i,b=s;i=s=o}var A=g?o:bo(e),T=[e,n,t,i,s,x,b,f,c,h];if(A&&Np(T,A),e=T[0],n=T[1],t=T[2],i=T[3],s=T[4],h=T[9]=T[9]===o?g?0:e.length:ve(T[9]-y,0),!h&&n&(Y|j)&&(n&=-25),!n||n==oe)var O=yp(e,n,t);else n==Y||n==j?O=xp(e,n,h):(n==V||n==(oe|V))&&!s.length?O=wp(e,n,t,i):O=Br.apply(o,T);var $=A?Pu:aa;return fa($(O,T),e,n)}function ju(e,n,t,i){return e===o||an(e,pt[t])&&!te.call(i,t)?n:e}function Qu(e,n,t,i,s,f){return he(e)&&he(n)&&(f.set(n,e),Ir(e,n,o,Qu,f),f.delete(n)),e}function Sp(e){return jt(e)?o:e}function ea(e,n,t,i,s,f){var c=t&Z,h=e.length,g=n.length;if(h!=g&&!(c&&g>h))return!1;var y=f.get(e),x=f.get(n);if(y&&x)return y==n&&x==e;var b=-1,A=!0,T=t&re?new Xn:o;for(f.set(e,n),f.set(n,e);++b<h;){var O=e[b],$=n[b];if(i)var P=c?i($,O,b,n,e,f):i(O,$,b,e,n,f);if(P!==o){if(P)continue;A=!1;break}if(T){if(!zi(n,function(q,X){if(!Mt(T,X)&&(O===q||s(O,q,t,i,f)))return T.push(X)})){A=!1;break}}else if(!(O===$||s(O,$,t,i,f))){A=!1;break}}return f.delete(e),f.delete(n),A}function Ap(e,n,t,i,s,f,c){switch(t){case ut:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Nt:return!(e.byteLength!=n.byteLength||!f(new _r(e),new _r(n)));case qe:case Ne:case Bt:return an(+e,+n);case bn:return e.name==n.name&&e.message==n.message;case Ft:case Dt:return e==n+"";case rn:var h=Xi;case on:var g=i&Z;if(h||(h=lr),e.size!=n.size&&!g)return!1;var y=c.get(e);if(y)return y==n;i|=re,c.set(e,n);var x=ea(h(e),h(n),i,s,f,c);return c.delete(e),x;case or:if(Ht)return Ht.call(e)==Ht.call(n)}return!1}function Cp(e,n,t,i,s,f){var c=t&Z,h=xo(e),g=h.length,y=xo(n),x=y.length;if(g!=x&&!c)return!1;for(var b=g;b--;){var A=h[b];if(!(c?A in n:te.call(n,A)))return!1}var T=f.get(e),O=f.get(n);if(T&&O)return T==n&&O==e;var $=!0;f.set(e,n),f.set(n,e);for(var P=c;++b<g;){A=h[b];var q=e[A],X=n[A];if(i)var He=c?i(X,q,A,n,e,f):i(q,X,A,e,n,f);if(!(He===o?q===X||s(q,X,t,i,f):He)){$=!1;break}P||(P=A=="constructor")}if($&&!P){var Oe=e.constructor,Ge=n.constructor;Oe!=Ge&&"constructor"in e&&"constructor"in n&&!(typeof Oe=="function"&&Oe instanceof Oe&&typeof Ge=="function"&&Ge instanceof Ge)&&($=!1)}return f.delete(e),f.delete(n),$}function Rn(e){return Ro(sa(e,o,ga),e+"")}function xo(e){return xu(e,xe,Ao)}function wo(e){return xu(e,De,na)}var bo=Sr?function(e){return Sr.get(e)}:Uo;function Nr(e){for(var n=e.name+"",t=gt[n],i=te.call(gt,n)?t.length:0;i--;){var s=t[i],f=s.func;if(f==null||f==e)return s.name}return n}function yt(e){var n=te.call(a,"placeholder")?a:e;return n.placeholder}function I(){var e=a.iteratee||ko;return e=e===ko?Su:e,arguments.length?e(arguments[0],arguments[1]):e}function Mr(e,n){var t=e.__data__;return Bp(n)?t[typeof n=="string"?"string":"hash"]:t.map}function So(e){for(var n=xe(e),t=n.length;t--;){var i=n[t],s=e[i];n[t]=[i,s,ia(s)]}return n}function Jn(e,n){var t=Wl(e,n);return bu(t)?t:o}function Ep(e){var n=te.call(e,Kn),t=e[Kn];try{e[Kn]=o;var i=!0}catch{}var s=gr.call(e);return i&&(n?e[Kn]=t:delete e[Kn]),s}var Ao=Vi?function(e){return e==null?[]:(e=se(e),Dn(Vi(e),function(n){return uu.call(e,n)}))}:zo,na=Vi?function(e){for(var n=[];e;)Wn(n,Ao(e)),e=vr(e);return n}:zo,Ee=Re;(Ji&&Ee(new Ji(new ArrayBuffer(1)))!=ut||$t&&Ee(new $t)!=rn||ji&&Ee(ji.resolve())!=_s||dt&&Ee(new dt)!=on||Ut&&Ee(new Ut)!=Wt)&&(Ee=function(e){var n=Re(e),t=n==Sn?e.constructor:o,i=t?jn(t):"";if(i)switch(i){case ah:return ut;case fh:return rn;case ch:return _s;case lh:return on;case hh:return Wt}return n});function Tp(e,n,t){for(var i=-1,s=t.length;++i<s;){var f=t[i],c=f.size;switch(f.type){case"drop":e+=c;break;case"dropRight":n-=c;break;case"take":n=Ce(n,e+c);break;case"takeRight":e=ve(e,n-c);break}}return{start:e,end:n}}function Rp(e){var n=e.match(Fc);return n?n[1].split(Dc):[]}function ta(e,n,t){n=Un(n,e);for(var i=-1,s=n.length,f=!1;++i<s;){var c=mn(n[i]);if(!(f=e!=null&&t(e,c)))break;e=e[c]}return f||++i!=s?f:(s=e==null?0:e.length,!!s&&qr(s)&&In(c,s)&&(M(e)||Qn(e)))}function Ip(e){var n=e.length,t=new e.constructor(n);return n&&typeof e[0]=="string"&&te.call(e,"index")&&(t.index=e.index,t.input=e.input),t}function ra(e){return typeof e.constructor=="function"&&!Vt(e)?mt(vr(e)):{}}function Op(e,n,t){var i=e.constructor;switch(n){case Nt:return _o(e);case qe:case Ne:return new i(+e);case ut:return pp(e,t);case bi:case Si:case Ai:case Ci:case Ei:case Ti:case Ri:case Ii:case Oi:return ku(e,t);case rn:return new i;case Bt:case Dt:return new i(e);case Ft:return dp(e);case on:return new i;case or:return gp(e)}}function Pp(e,n){var t=n.length;if(!t)return e;var i=t-1;return n[i]=(t>1?"& ":"")+n[i],n=n.join(t>2?", ":" "),e.replace(Bc,`{
|
|
9
|
+
/* [wrapped with `+n+`] */
|
|
10
|
+
`)}function Lp(e){return M(e)||Qn(e)||!!(au&&e&&e[au])}function In(e,n){var t=typeof e;return n=n??wn,!!n&&(t=="number"||t!="symbol"&&Gc.test(e))&&e>-1&&e%1==0&&e<n}function Ie(e,n,t){if(!he(t))return!1;var i=typeof n;return(i=="number"?Fe(t)&&In(n,t.length):i=="string"&&n in t)?an(t[n],e):!1}function Co(e,n){if(M(e))return!1;var t=typeof e;return t=="number"||t=="symbol"||t=="boolean"||e==null||ze(e)?!0:Ic.test(e)||!Rc.test(e)||n!=null&&e in se(n)}function Bp(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function Eo(e){var n=Nr(e),t=a[n];if(typeof t!="function"||!(n in K.prototype))return!1;if(e===t)return!0;var i=bo(t);return!!i&&e===i[0]}function Fp(e){return!!iu&&iu in e}var Dp=pr?On:Ho;function Vt(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||pt;return e===t}function ia(e){return e===e&&!he(e)}function oa(e,n){return function(t){return t==null?!1:t[e]===n&&(n!==o||e in se(t))}}function Wp(e){var n=Hr(e,function(i){return t.size===D&&t.clear(),i}),t=n.cache;return n}function Np(e,n){var t=e[1],i=n[1],s=t|i,f=s<(oe|ne|L),c=i==L&&t==Y||i==L&&t==Pe&&e[7].length<=n[8]||i==(L|Pe)&&n[7].length<=n[8]&&t==Y;if(!(f||c))return e;i&oe&&(e[2]=n[2],s|=t&oe?0:ae);var h=n[3];if(h){var g=e[3];e[3]=g?Uu(g,h,n[4]):h,e[4]=g?Nn(e[3],B):n[4]}return h=n[5],h&&(g=e[5],e[5]=g?zu(g,h,n[6]):h,e[6]=g?Nn(e[5],B):n[6]),h=n[7],h&&(e[7]=h),i&L&&(e[8]=e[8]==null?n[8]:Ce(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=s,e}function Mp(e){var n=[];if(e!=null)for(var t in se(e))n.push(t);return n}function kp(e){return gr.call(e)}function sa(e,n,t){return n=ve(n===o?e.length-1:n,0),function(){for(var i=arguments,s=-1,f=ve(i.length-n,0),c=m(f);++s<f;)c[s]=i[n+s];s=-1;for(var h=m(n+1);++s<n;)h[s]=i[s];return h[n]=t(c),ke(e,this,h)}}function ua(e,n){return n.length<2?e:Vn(e,Je(n,0,-1))}function $p(e,n){for(var t=e.length,i=Ce(n.length,t),s=Be(e);i--;){var f=n[i];e[i]=In(f,t)?s[f]:o}return e}function To(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var aa=ca(Pu),Jt=nh||function(e,n){return be.setTimeout(e,n)},Ro=ca(fp);function fa(e,n,t){var i=n+"";return Ro(e,Pp(i,Up(Rp(i),t)))}function ca(e){var n=0,t=0;return function(){var i=oh(),s=rr-(i-t);if(t=i,s>0){if(++n>=yi)return arguments[0]}else n=0;return e.apply(o,arguments)}}function kr(e,n){var t=-1,i=e.length,s=i-1;for(n=n===o?i:n;++t<n;){var f=fo(t,s),c=e[f];e[f]=e[t],e[t]=c}return e.length=n,e}var la=Wp(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Oc,function(t,i,s,f){n.push(s?f.replace(Mc,"$1"):i||t)}),n});function mn(e){if(typeof e=="string"||ze(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function jn(e){if(e!=null){try{return dr.call(e)}catch{}try{return e+""}catch{}}return""}function Up(e,n){return Ye(Pt,function(t){var i="_."+t[0];n&t[1]&&!fr(e,i)&&e.push(i)}),e.sort()}function ha(e){if(e instanceof K)return e.clone();var n=new Ze(e.__wrapped__,e.__chain__);return n.__actions__=Be(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function zp(e,n,t){(t?Ie(e,n,t):n===o)?n=1:n=ve(k(n),0);var i=e==null?0:e.length;if(!i||n<1)return[];for(var s=0,f=0,c=m(wr(i/n));s<i;)c[f++]=Je(e,s,s+=n);return c}function Hp(e){for(var n=-1,t=e==null?0:e.length,i=0,s=[];++n<t;){var f=e[n];f&&(s[i++]=f)}return s}function Gp(){var e=arguments.length;if(!e)return[];for(var n=m(e-1),t=arguments[0],i=e;i--;)n[i-1]=arguments[i];return Wn(M(t)?Be(t):[t],Se(n,1))}var qp=H(function(e,n){return de(e)?qt(e,Se(n,1,de,!0)):[]}),Kp=H(function(e,n){var t=je(n);return de(t)&&(t=o),de(e)?qt(e,Se(n,1,de,!0),I(t,2)):[]}),Yp=H(function(e,n){var t=je(n);return de(t)&&(t=o),de(e)?qt(e,Se(n,1,de,!0),o,t):[]});function Xp(e,n,t){var i=e==null?0:e.length;return i?(n=t||n===o?1:k(n),Je(e,n<0?0:n,i)):[]}function Zp(e,n,t){var i=e==null?0:e.length;return i?(n=t||n===o?1:k(n),n=i-n,Je(e,0,n<0?0:n)):[]}function Vp(e,n){return e&&e.length?Pr(e,I(n,3),!0,!0):[]}function Jp(e,n){return e&&e.length?Pr(e,I(n,3),!0):[]}function jp(e,n,t,i){var s=e==null?0:e.length;return s?(t&&typeof t!="number"&&Ie(e,n,t)&&(t=0,i=s),Gh(e,n,t,i)):[]}function pa(e,n,t){var i=e==null?0:e.length;if(!i)return-1;var s=t==null?0:k(t);return s<0&&(s=ve(i+s,0)),cr(e,I(n,3),s)}function da(e,n,t){var i=e==null?0:e.length;if(!i)return-1;var s=i-1;return t!==o&&(s=k(t),s=t<0?ve(i+s,0):Ce(s,i-1)),cr(e,I(n,3),s,!0)}function ga(e){var n=e==null?0:e.length;return n?Se(e,1):[]}function Qp(e){var n=e==null?0:e.length;return n?Se(e,Fn):[]}function ed(e,n){var t=e==null?0:e.length;return t?(n=n===o?1:k(n),Se(e,n)):[]}function nd(e){for(var n=-1,t=e==null?0:e.length,i={};++n<t;){var s=e[n];i[s[0]]=s[1]}return i}function ma(e){return e&&e.length?e[0]:o}function td(e,n,t){var i=e==null?0:e.length;if(!i)return-1;var s=t==null?0:k(t);return s<0&&(s=ve(i+s,0)),ft(e,n,s)}function rd(e){var n=e==null?0:e.length;return n?Je(e,0,-1):[]}var id=H(function(e){var n=le(e,go);return n.length&&n[0]===e[0]?io(n):[]}),od=H(function(e){var n=je(e),t=le(e,go);return n===je(t)?n=o:t.pop(),t.length&&t[0]===e[0]?io(t,I(n,2)):[]}),sd=H(function(e){var n=je(e),t=le(e,go);return n=typeof n=="function"?n:o,n&&t.pop(),t.length&&t[0]===e[0]?io(t,o,n):[]});function ud(e,n){return e==null?"":rh.call(e,n)}function je(e){var n=e==null?0:e.length;return n?e[n-1]:o}function ad(e,n,t){var i=e==null?0:e.length;if(!i)return-1;var s=i;return t!==o&&(s=k(t),s=s<0?ve(i+s,0):Ce(s,i-1)),n===n?Ul(e,n,s):cr(e,Vs,s,!0)}function fd(e,n){return e&&e.length?Tu(e,k(n)):o}var cd=H(_a);function _a(e,n){return e&&e.length&&n&&n.length?ao(e,n):e}function ld(e,n,t){return e&&e.length&&n&&n.length?ao(e,n,I(t,2)):e}function hd(e,n,t){return e&&e.length&&n&&n.length?ao(e,n,o,t):e}var pd=Rn(function(e,n){var t=e==null?0:e.length,i=eo(e,n);return Ou(e,le(n,function(s){return In(s,t)?+s:s}).sort($u)),i});function dd(e,n){var t=[];if(!(e&&e.length))return t;var i=-1,s=[],f=e.length;for(n=I(n,3);++i<f;){var c=e[i];n(c,i,e)&&(t.push(c),s.push(i))}return Ou(e,s),t}function Io(e){return e==null?e:uh.call(e)}function gd(e,n,t){var i=e==null?0:e.length;return i?(t&&typeof t!="number"&&Ie(e,n,t)?(n=0,t=i):(n=n==null?0:k(n),t=t===o?i:k(t)),Je(e,n,t)):[]}function md(e,n){return Or(e,n)}function _d(e,n,t){return lo(e,n,I(t,2))}function vd(e,n){var t=e==null?0:e.length;if(t){var i=Or(e,n);if(i<t&&an(e[i],n))return i}return-1}function yd(e,n){return Or(e,n,!0)}function xd(e,n,t){return lo(e,n,I(t,2),!0)}function wd(e,n){var t=e==null?0:e.length;if(t){var i=Or(e,n,!0)-1;if(an(e[i],n))return i}return-1}function bd(e){return e&&e.length?Lu(e):[]}function Sd(e,n){return e&&e.length?Lu(e,I(n,2)):[]}function Ad(e){var n=e==null?0:e.length;return n?Je(e,1,n):[]}function Cd(e,n,t){return e&&e.length?(n=t||n===o?1:k(n),Je(e,0,n<0?0:n)):[]}function Ed(e,n,t){var i=e==null?0:e.length;return i?(n=t||n===o?1:k(n),n=i-n,Je(e,n<0?0:n,i)):[]}function Td(e,n){return e&&e.length?Pr(e,I(n,3),!1,!0):[]}function Rd(e,n){return e&&e.length?Pr(e,I(n,3)):[]}var Id=H(function(e){return $n(Se(e,1,de,!0))}),Od=H(function(e){var n=je(e);return de(n)&&(n=o),$n(Se(e,1,de,!0),I(n,2))}),Pd=H(function(e){var n=je(e);return n=typeof n=="function"?n:o,$n(Se(e,1,de,!0),o,n)});function Ld(e){return e&&e.length?$n(e):[]}function Bd(e,n){return e&&e.length?$n(e,I(n,2)):[]}function Fd(e,n){return n=typeof n=="function"?n:o,e&&e.length?$n(e,o,n):[]}function Oo(e){if(!(e&&e.length))return[];var n=0;return e=Dn(e,function(t){if(de(t))return n=ve(t.length,n),!0}),Ki(n,function(t){return le(e,Hi(t))})}function va(e,n){if(!(e&&e.length))return[];var t=Oo(e);return n==null?t:le(t,function(i){return ke(n,o,i)})}var Dd=H(function(e,n){return de(e)?qt(e,n):[]}),Wd=H(function(e){return po(Dn(e,de))}),Nd=H(function(e){var n=je(e);return de(n)&&(n=o),po(Dn(e,de),I(n,2))}),Md=H(function(e){var n=je(e);return n=typeof n=="function"?n:o,po(Dn(e,de),o,n)}),kd=H(Oo);function $d(e,n){return Wu(e||[],n||[],Gt)}function Ud(e,n){return Wu(e||[],n||[],Xt)}var zd=H(function(e){var n=e.length,t=n>1?e[n-1]:o;return t=typeof t=="function"?(e.pop(),t):o,va(e,t)});function ya(e){var n=a(e);return n.__chain__=!0,n}function Hd(e,n){return n(e),e}function $r(e,n){return n(e)}var Gd=Rn(function(e){var n=e.length,t=n?e[0]:0,i=this.__wrapped__,s=function(f){return eo(f,e)};return n>1||this.__actions__.length||!(i instanceof K)||!In(t)?this.thru(s):(i=i.slice(t,+t+(n?1:0)),i.__actions__.push({func:$r,args:[s],thisArg:o}),new Ze(i,this.__chain__).thru(function(f){return n&&!f.length&&f.push(o),f}))});function qd(){return ya(this)}function Kd(){return new Ze(this.value(),this.__chain__)}function Yd(){this.__values__===o&&(this.__values__=Ba(this.value()));var e=this.__index__>=this.__values__.length,n=e?o:this.__values__[this.__index__++];return{done:e,value:n}}function Xd(){return this}function Zd(e){for(var n,t=this;t instanceof Cr;){var i=ha(t);i.__index__=0,i.__values__=o,n?s.__wrapped__=i:n=i;var s=i;t=t.__wrapped__}return s.__wrapped__=e,n}function Vd(){var e=this.__wrapped__;if(e instanceof K){var n=e;return this.__actions__.length&&(n=new K(this)),n=n.reverse(),n.__actions__.push({func:$r,args:[Io],thisArg:o}),new Ze(n,this.__chain__)}return this.thru(Io)}function Jd(){return Du(this.__wrapped__,this.__actions__)}var jd=Lr(function(e,n,t){te.call(e,t)?++e[t]:En(e,t,1)});function Qd(e,n,t){var i=M(e)?Xs:Hh;return t&&Ie(e,n,t)&&(n=o),i(e,I(n,3))}function eg(e,n){var t=M(e)?Dn:vu;return t(e,I(n,3))}var ng=Ku(pa),tg=Ku(da);function rg(e,n){return Se(Ur(e,n),1)}function ig(e,n){return Se(Ur(e,n),Fn)}function og(e,n,t){return t=t===o?1:k(t),Se(Ur(e,n),t)}function xa(e,n){var t=M(e)?Ye:kn;return t(e,I(n,3))}function wa(e,n){var t=M(e)?Al:_u;return t(e,I(n,3))}var sg=Lr(function(e,n,t){te.call(e,t)?e[t].push(n):En(e,t,[n])});function ug(e,n,t,i){e=Fe(e)?e:wt(e),t=t&&!i?k(t):0;var s=e.length;return t<0&&(t=ve(s+t,0)),Kr(e)?t<=s&&e.indexOf(n,t)>-1:!!s&&ft(e,n,t)>-1}var ag=H(function(e,n,t){var i=-1,s=typeof n=="function",f=Fe(e)?m(e.length):[];return kn(e,function(c){f[++i]=s?ke(n,c,t):Kt(c,n,t)}),f}),fg=Lr(function(e,n,t){En(e,t,n)});function Ur(e,n){var t=M(e)?le:Au;return t(e,I(n,3))}function cg(e,n,t,i){return e==null?[]:(M(n)||(n=n==null?[]:[n]),t=i?o:t,M(t)||(t=t==null?[]:[t]),Ru(e,n,t))}var lg=Lr(function(e,n,t){e[t?0:1].push(n)},function(){return[[],[]]});function hg(e,n,t){var i=M(e)?Ui:js,s=arguments.length<3;return i(e,I(n,4),t,s,kn)}function pg(e,n,t){var i=M(e)?Cl:js,s=arguments.length<3;return i(e,I(n,4),t,s,_u)}function dg(e,n){var t=M(e)?Dn:vu;return t(e,Gr(I(n,3)))}function gg(e){var n=M(e)?pu:up;return n(e)}function mg(e,n,t){(t?Ie(e,n,t):n===o)?n=1:n=k(n);var i=M(e)?Mh:ap;return i(e,n)}function _g(e){var n=M(e)?kh:cp;return n(e)}function vg(e){if(e==null)return 0;if(Fe(e))return Kr(e)?lt(e):e.length;var n=Ee(e);return n==rn||n==on?e.size:so(e).length}function yg(e,n,t){var i=M(e)?zi:lp;return t&&Ie(e,n,t)&&(n=o),i(e,I(n,3))}var xg=H(function(e,n){if(e==null)return[];var t=n.length;return t>1&&Ie(e,n[0],n[1])?n=[]:t>2&&Ie(n[0],n[1],n[2])&&(n=[n[0]]),Ru(e,Se(n,1),[])}),zr=eh||function(){return be.Date.now()};function wg(e,n){if(typeof n!="function")throw new Xe(w);return e=k(e),function(){if(--e<1)return n.apply(this,arguments)}}function ba(e,n,t){return n=t?o:n,n=e&&n==null?e.length:n,Tn(e,L,o,o,o,o,n)}function Sa(e,n){var t;if(typeof n!="function")throw new Xe(w);return e=k(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=o),t}}var Po=H(function(e,n,t){var i=oe;if(t.length){var s=Nn(t,yt(Po));i|=V}return Tn(e,i,n,t,s)}),Aa=H(function(e,n,t){var i=oe|ne;if(t.length){var s=Nn(t,yt(Aa));i|=V}return Tn(n,i,e,t,s)});function Ca(e,n,t){n=t?o:n;var i=Tn(e,Y,o,o,o,o,o,n);return i.placeholder=Ca.placeholder,i}function Ea(e,n,t){n=t?o:n;var i=Tn(e,j,o,o,o,o,o,n);return i.placeholder=Ea.placeholder,i}function Ta(e,n,t){var i,s,f,c,h,g,y=0,x=!1,b=!1,A=!0;if(typeof e!="function")throw new Xe(w);n=Qe(n)||0,he(t)&&(x=!!t.leading,b="maxWait"in t,f=b?ve(Qe(t.maxWait)||0,n):f,A="trailing"in t?!!t.trailing:A);function T(ge){var fn=i,Ln=s;return i=s=o,y=ge,c=e.apply(Ln,fn),c}function O(ge){return y=ge,h=Jt(q,n),x?T(ge):c}function $(ge){var fn=ge-g,Ln=ge-y,Ka=n-fn;return b?Ce(Ka,f-Ln):Ka}function P(ge){var fn=ge-g,Ln=ge-y;return g===o||fn>=n||fn<0||b&&Ln>=f}function q(){var ge=zr();if(P(ge))return X(ge);h=Jt(q,$(ge))}function X(ge){return h=o,A&&i?T(ge):(i=s=o,c)}function He(){h!==o&&Nu(h),y=0,i=g=s=h=o}function Oe(){return h===o?c:X(zr())}function Ge(){var ge=zr(),fn=P(ge);if(i=arguments,s=this,g=ge,fn){if(h===o)return O(g);if(b)return Nu(h),h=Jt(q,n),T(g)}return h===o&&(h=Jt(q,n)),c}return Ge.cancel=He,Ge.flush=Oe,Ge}var bg=H(function(e,n){return mu(e,1,n)}),Sg=H(function(e,n,t){return mu(e,Qe(n)||0,t)});function Ag(e){return Tn(e,ln)}function Hr(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new Xe(w);var t=function(){var i=arguments,s=n?n.apply(this,i):i[0],f=t.cache;if(f.has(s))return f.get(s);var c=e.apply(this,i);return t.cache=f.set(s,c)||f,c};return t.cache=new(Hr.Cache||Cn),t}Hr.Cache=Cn;function Gr(e){if(typeof e!="function")throw new Xe(w);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)}}function Cg(e){return Sa(2,e)}var Eg=hp(function(e,n){n=n.length==1&&M(n[0])?le(n[0],$e(I())):le(Se(n,1),$e(I()));var t=n.length;return H(function(i){for(var s=-1,f=Ce(i.length,t);++s<f;)i[s]=n[s].call(this,i[s]);return ke(e,this,i)})}),Lo=H(function(e,n){var t=Nn(n,yt(Lo));return Tn(e,V,o,n,t)}),Ra=H(function(e,n){var t=Nn(n,yt(Ra));return Tn(e,z,o,n,t)}),Tg=Rn(function(e,n){return Tn(e,Pe,o,o,o,n)});function Rg(e,n){if(typeof e!="function")throw new Xe(w);return n=n===o?n:k(n),H(e,n)}function Ig(e,n){if(typeof e!="function")throw new Xe(w);return n=n==null?0:ve(k(n),0),H(function(t){var i=t[n],s=zn(t,0,n);return i&&Wn(s,i),ke(e,this,s)})}function Og(e,n,t){var i=!0,s=!0;if(typeof e!="function")throw new Xe(w);return he(t)&&(i="leading"in t?!!t.leading:i,s="trailing"in t?!!t.trailing:s),Ta(e,n,{leading:i,maxWait:n,trailing:s})}function Pg(e){return ba(e,1)}function Lg(e,n){return Lo(mo(n),e)}function Bg(){if(!arguments.length)return[];var e=arguments[0];return M(e)?e:[e]}function Fg(e){return Ve(e,F)}function Dg(e,n){return n=typeof n=="function"?n:o,Ve(e,F,n)}function Wg(e){return Ve(e,R|F)}function Ng(e,n){return n=typeof n=="function"?n:o,Ve(e,R|F,n)}function Mg(e,n){return n==null||gu(e,n,xe(n))}function an(e,n){return e===n||e!==e&&n!==n}var kg=Wr(ro),$g=Wr(function(e,n){return e>=n}),Qn=wu(function(){return arguments}())?wu:function(e){return pe(e)&&te.call(e,"callee")&&!uu.call(e,"callee")},M=m.isArray,Ug=zs?$e(zs):Zh;function Fe(e){return e!=null&&qr(e.length)&&!On(e)}function de(e){return pe(e)&&Fe(e)}function zg(e){return e===!0||e===!1||pe(e)&&Re(e)==qe}var Hn=th||Ho,Hg=Hs?$e(Hs):Vh;function Gg(e){return pe(e)&&e.nodeType===1&&!jt(e)}function qg(e){if(e==null)return!0;if(Fe(e)&&(M(e)||typeof e=="string"||typeof e.splice=="function"||Hn(e)||xt(e)||Qn(e)))return!e.length;var n=Ee(e);if(n==rn||n==on)return!e.size;if(Vt(e))return!so(e).length;for(var t in e)if(te.call(e,t))return!1;return!0}function Kg(e,n){return Yt(e,n)}function Yg(e,n,t){t=typeof t=="function"?t:o;var i=t?t(e,n):o;return i===o?Yt(e,n,o,t):!!i}function Bo(e){if(!pe(e))return!1;var n=Re(e);return n==bn||n==Lt||typeof e.message=="string"&&typeof e.name=="string"&&!jt(e)}function Xg(e){return typeof e=="number"&&fu(e)}function On(e){if(!he(e))return!1;var n=Re(e);return n==Me||n==ms||n==st||n==vc}function Ia(e){return typeof e=="number"&&e==k(e)}function qr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wn}function he(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function pe(e){return e!=null&&typeof e=="object"}var Oa=Gs?$e(Gs):jh;function Zg(e,n){return e===n||oo(e,n,So(n))}function Vg(e,n,t){return t=typeof t=="function"?t:o,oo(e,n,So(n),t)}function Jg(e){return Pa(e)&&e!=+e}function jg(e){if(Dp(e))throw new W(_);return bu(e)}function Qg(e){return e===null}function e0(e){return e==null}function Pa(e){return typeof e=="number"||pe(e)&&Re(e)==Bt}function jt(e){if(!pe(e)||Re(e)!=Sn)return!1;var n=vr(e);if(n===null)return!0;var t=te.call(n,"constructor")&&n.constructor;return typeof t=="function"&&t instanceof t&&dr.call(t)==Vl}var Fo=qs?$e(qs):Qh;function n0(e){return Ia(e)&&e>=-9007199254740991&&e<=wn}var La=Ks?$e(Ks):ep;function Kr(e){return typeof e=="string"||!M(e)&&pe(e)&&Re(e)==Dt}function ze(e){return typeof e=="symbol"||pe(e)&&Re(e)==or}var xt=Ys?$e(Ys):np;function t0(e){return e===o}function r0(e){return pe(e)&&Ee(e)==Wt}function i0(e){return pe(e)&&Re(e)==xc}var o0=Wr(uo),s0=Wr(function(e,n){return e<=n});function Ba(e){if(!e)return[];if(Fe(e))return Kr(e)?sn(e):Be(e);if(kt&&e[kt])return Ml(e[kt]());var n=Ee(e),t=n==rn?Xi:n==on?lr:wt;return t(e)}function Pn(e){if(!e)return e===0?e:0;if(e=Qe(e),e===Fn||e===-1/0){var n=e<0?-1:1;return n*nn}return e===e?e:0}function k(e){var n=Pn(e),t=n%1;return n===n?t?n-t:n:0}function Fa(e){return e?Zn(k(e),0,Ae):0}function Qe(e){if(typeof e=="number")return e;if(ze(e))return hn;if(he(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=he(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=Qs(e);var t=Uc.test(e);return t||Hc.test(e)?wl(e.slice(2),t?2:8):$c.test(e)?hn:+e}function Da(e){return gn(e,De(e))}function u0(e){return e?Zn(k(e),-9007199254740991,wn):e===0?e:0}function Q(e){return e==null?"":Ue(e)}var a0=_t(function(e,n){if(Vt(n)||Fe(n)){gn(n,xe(n),e);return}for(var t in n)te.call(n,t)&&Gt(e,t,n[t])}),Wa=_t(function(e,n){gn(n,De(n),e)}),Yr=_t(function(e,n,t,i){gn(n,De(n),e,i)}),f0=_t(function(e,n,t,i){gn(n,xe(n),e,i)}),c0=Rn(eo);function l0(e,n){var t=mt(e);return n==null?t:du(t,n)}var h0=H(function(e,n){e=se(e);var t=-1,i=n.length,s=i>2?n[2]:o;for(s&&Ie(n[0],n[1],s)&&(i=1);++t<i;)for(var f=n[t],c=De(f),h=-1,g=c.length;++h<g;){var y=c[h],x=e[y];(x===o||an(x,pt[y])&&!te.call(e,y))&&(e[y]=f[y])}return e}),p0=H(function(e){return e.push(o,Qu),ke(Na,o,e)});function d0(e,n){return Zs(e,I(n,3),dn)}function g0(e,n){return Zs(e,I(n,3),to)}function m0(e,n){return e==null?e:no(e,I(n,3),De)}function _0(e,n){return e==null?e:yu(e,I(n,3),De)}function v0(e,n){return e&&dn(e,I(n,3))}function y0(e,n){return e&&to(e,I(n,3))}function x0(e){return e==null?[]:Rr(e,xe(e))}function w0(e){return e==null?[]:Rr(e,De(e))}function Do(e,n,t){var i=e==null?o:Vn(e,n);return i===o?t:i}function b0(e,n){return e!=null&&ta(e,n,qh)}function Wo(e,n){return e!=null&&ta(e,n,Kh)}var S0=Xu(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=gr.call(n)),e[n]=t},Mo(We)),A0=Xu(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=gr.call(n)),te.call(e,n)?e[n].push(t):e[n]=[t]},I),C0=H(Kt);function xe(e){return Fe(e)?hu(e):so(e)}function De(e){return Fe(e)?hu(e,!0):tp(e)}function E0(e,n){var t={};return n=I(n,3),dn(e,function(i,s,f){En(t,n(i,s,f),i)}),t}function T0(e,n){var t={};return n=I(n,3),dn(e,function(i,s,f){En(t,s,n(i,s,f))}),t}var R0=_t(function(e,n,t){Ir(e,n,t)}),Na=_t(function(e,n,t,i){Ir(e,n,t,i)}),I0=Rn(function(e,n){var t={};if(e==null)return t;var i=!1;n=le(n,function(f){return f=Un(f,e),i||(i=f.length>1),f}),gn(e,wo(e),t),i&&(t=Ve(t,R|G|F,Sp));for(var s=n.length;s--;)ho(t,n[s]);return t});function O0(e,n){return Ma(e,Gr(I(n)))}var P0=Rn(function(e,n){return e==null?{}:ip(e,n)});function Ma(e,n){if(e==null)return{};var t=le(wo(e),function(i){return[i]});return n=I(n),Iu(e,t,function(i,s){return n(i,s[0])})}function L0(e,n,t){n=Un(n,e);var i=-1,s=n.length;for(s||(s=1,e=o);++i<s;){var f=e==null?o:e[mn(n[i])];f===o&&(i=s,f=t),e=On(f)?f.call(e):f}return e}function B0(e,n,t){return e==null?e:Xt(e,n,t)}function F0(e,n,t,i){return i=typeof i=="function"?i:o,e==null?e:Xt(e,n,t,i)}var ka=Ju(xe),$a=Ju(De);function D0(e,n,t){var i=M(e),s=i||Hn(e)||xt(e);if(n=I(n,4),t==null){var f=e&&e.constructor;s?t=i?new f:[]:he(e)?t=On(f)?mt(vr(e)):{}:t={}}return(s?Ye:dn)(e,function(c,h,g){return n(t,c,h,g)}),t}function W0(e,n){return e==null?!0:ho(e,n)}function N0(e,n,t){return e==null?e:Fu(e,n,mo(t))}function M0(e,n,t,i){return i=typeof i=="function"?i:o,e==null?e:Fu(e,n,mo(t),i)}function wt(e){return e==null?[]:Yi(e,xe(e))}function k0(e){return e==null?[]:Yi(e,De(e))}function $0(e,n,t){return t===o&&(t=n,n=o),t!==o&&(t=Qe(t),t=t===t?t:0),n!==o&&(n=Qe(n),n=n===n?n:0),Zn(Qe(e),n,t)}function U0(e,n,t){return n=Pn(n),t===o?(t=n,n=0):t=Pn(t),e=Qe(e),Yh(e,n,t)}function z0(e,n,t){if(t&&typeof t!="boolean"&&Ie(e,n,t)&&(n=t=o),t===o&&(typeof n=="boolean"?(t=n,n=o):typeof e=="boolean"&&(t=e,e=o)),e===o&&n===o?(e=0,n=1):(e=Pn(e),n===o?(n=e,e=0):n=Pn(n)),e>n){var i=e;e=n,n=i}if(t||e%1||n%1){var s=cu();return Ce(e+s*(n-e+xl("1e-"+((s+"").length-1))),n)}return fo(e,n)}var H0=vt(function(e,n,t){return n=n.toLowerCase(),e+(t?Ua(n):n)});function Ua(e){return No(Q(e).toLowerCase())}function za(e){return e=Q(e),e&&e.replace(qc,Bl).replace(cl,"")}function G0(e,n,t){e=Q(e),n=Ue(n);var i=e.length;t=t===o?i:Zn(k(t),0,i);var s=t;return t-=n.length,t>=0&&e.slice(t,s)==n}function q0(e){return e=Q(e),e&&Cc.test(e)?e.replace(ys,Fl):e}function K0(e){return e=Q(e),e&&Pc.test(e)?e.replace(Pi,"\\$&"):e}var Y0=vt(function(e,n,t){return e+(t?"-":"")+n.toLowerCase()}),X0=vt(function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}),Z0=qu("toLowerCase");function V0(e,n,t){e=Q(e),n=k(n);var i=n?lt(e):0;if(!n||i>=n)return e;var s=(n-i)/2;return Dr(br(s),t)+e+Dr(wr(s),t)}function J0(e,n,t){e=Q(e),n=k(n);var i=n?lt(e):0;return n&&i<n?e+Dr(n-i,t):e}function j0(e,n,t){e=Q(e),n=k(n);var i=n?lt(e):0;return n&&i<n?Dr(n-i,t)+e:e}function Q0(e,n,t){return t||n==null?n=0:n&&(n=+n),sh(Q(e).replace(Li,""),n||0)}function e1(e,n,t){return(t?Ie(e,n,t):n===o)?n=1:n=k(n),co(Q(e),n)}function n1(){var e=arguments,n=Q(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var t1=vt(function(e,n,t){return e+(t?"_":"")+n.toLowerCase()});function r1(e,n,t){return t&&typeof t!="number"&&Ie(e,n,t)&&(n=t=o),t=t===o?Ae:t>>>0,t?(e=Q(e),e&&(typeof n=="string"||n!=null&&!Fo(n))&&(n=Ue(n),!n&&ct(e))?zn(sn(e),0,t):e.split(n,t)):[]}var i1=vt(function(e,n,t){return e+(t?" ":"")+No(n)});function o1(e,n,t){return e=Q(e),t=t==null?0:Zn(k(t),0,e.length),n=Ue(n),e.slice(t,t+n.length)==n}function s1(e,n,t){var i=a.templateSettings;t&&Ie(e,n,t)&&(n=o),e=Q(e),n=Yr({},n,i,ju);var s=Yr({},n.imports,i.imports,ju),f=xe(s),c=Yi(s,f),h,g,y=0,x=n.interpolate||sr,b="__p += '",A=Zi((n.escape||sr).source+"|"+x.source+"|"+(x===xs?kc:sr).source+"|"+(n.evaluate||sr).source+"|$","g"),T="//# sourceURL="+(te.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gl+"]")+`
|
|
11
|
+
`;e.replace(A,function(P,q,X,He,Oe,Ge){return X||(X=He),b+=e.slice(y,Ge).replace(Kc,Dl),q&&(h=!0,b+=`' +
|
|
12
|
+
__e(`+q+`) +
|
|
13
|
+
'`),Oe&&(g=!0,b+=`';
|
|
14
|
+
`+Oe+`;
|
|
15
|
+
__p += '`),X&&(b+=`' +
|
|
16
|
+
((__t = (`+X+`)) == null ? '' : __t) +
|
|
17
|
+
'`),y=Ge+P.length,P}),b+=`';
|
|
18
|
+
`;var O=te.call(n,"variable")&&n.variable;if(!O)b=`with (obj) {
|
|
19
|
+
`+b+`
|
|
20
|
+
}
|
|
21
|
+
`;else if(Nc.test(O))throw new W(E);b=(g?b.replace(wc,""):b).replace(bc,"$1").replace(Sc,"$1;"),b="function("+(O||"obj")+`) {
|
|
22
|
+
`+(O?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(h?", __e = _.escape":"")+(g?`, __j = Array.prototype.join;
|
|
24
|
+
function print() { __p += __j.call(arguments, '') }
|
|
25
|
+
`:`;
|
|
26
|
+
`)+b+`return __p
|
|
27
|
+
}`;var $=Ga(function(){return J(f,T+"return "+b).apply(o,c)});if($.source=b,Bo($))throw $;return $}function u1(e){return Q(e).toLowerCase()}function a1(e){return Q(e).toUpperCase()}function f1(e,n,t){if(e=Q(e),e&&(t||n===o))return Qs(e);if(!e||!(n=Ue(n)))return e;var i=sn(e),s=sn(n),f=eu(i,s),c=nu(i,s)+1;return zn(i,f,c).join("")}function c1(e,n,t){if(e=Q(e),e&&(t||n===o))return e.slice(0,ru(e)+1);if(!e||!(n=Ue(n)))return e;var i=sn(e),s=nu(i,sn(n))+1;return zn(i,0,s).join("")}function l1(e,n,t){if(e=Q(e),e&&(t||n===o))return e.replace(Li,"");if(!e||!(n=Ue(n)))return e;var i=sn(e),s=eu(i,sn(n));return zn(i,s).join("")}function h1(e,n){var t=_i,i=vi;if(he(n)){var s="separator"in n?n.separator:s;t="length"in n?k(n.length):t,i="omission"in n?Ue(n.omission):i}e=Q(e);var f=e.length;if(ct(e)){var c=sn(e);f=c.length}if(t>=f)return e;var h=t-lt(i);if(h<1)return i;var g=c?zn(c,0,h).join(""):e.slice(0,h);if(s===o)return g+i;if(c&&(h+=g.length-h),Fo(s)){if(e.slice(h).search(s)){var y,x=g;for(s.global||(s=Zi(s.source,Q(ws.exec(s))+"g")),s.lastIndex=0;y=s.exec(x);)var b=y.index;g=g.slice(0,b===o?h:b)}}else if(e.indexOf(Ue(s),h)!=h){var A=g.lastIndexOf(s);A>-1&&(g=g.slice(0,A))}return g+i}function p1(e){return e=Q(e),e&&Ac.test(e)?e.replace(vs,zl):e}var d1=vt(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),No=qu("toUpperCase");function Ha(e,n,t){return e=Q(e),n=t?o:n,n===o?Nl(e)?ql(e):Rl(e):e.match(n)||[]}var Ga=H(function(e,n){try{return ke(e,o,n)}catch(t){return Bo(t)?t:new W(t)}}),g1=Rn(function(e,n){return Ye(n,function(t){t=mn(t),En(e,t,Po(e[t],e))}),e});function m1(e){var n=e==null?0:e.length,t=I();return e=n?le(e,function(i){if(typeof i[1]!="function")throw new Xe(w);return[t(i[0]),i[1]]}):[],H(function(i){for(var s=-1;++s<n;){var f=e[s];if(ke(f[0],this,i))return ke(f[1],this,i)}})}function _1(e){return zh(Ve(e,R))}function Mo(e){return function(){return e}}function v1(e,n){return e==null||e!==e?n:e}var y1=Yu(),x1=Yu(!0);function We(e){return e}function ko(e){return Su(typeof e=="function"?e:Ve(e,R))}function w1(e){return Cu(Ve(e,R))}function b1(e,n){return Eu(e,Ve(n,R))}var S1=H(function(e,n){return function(t){return Kt(t,e,n)}}),A1=H(function(e,n){return function(t){return Kt(e,t,n)}});function $o(e,n,t){var i=xe(n),s=Rr(n,i);t==null&&!(he(n)&&(s.length||!i.length))&&(t=n,n=e,e=this,s=Rr(n,xe(n)));var f=!(he(t)&&"chain"in t)||!!t.chain,c=On(e);return Ye(s,function(h){var g=n[h];e[h]=g,c&&(e.prototype[h]=function(){var y=this.__chain__;if(f||y){var x=e(this.__wrapped__),b=x.__actions__=Be(this.__actions__);return b.push({func:g,args:arguments,thisArg:e}),x.__chain__=y,x}return g.apply(e,Wn([this.value()],arguments))})}),e}function C1(){return be._===this&&(be._=Jl),this}function Uo(){}function E1(e){return e=k(e),H(function(n){return Tu(n,e)})}var T1=vo(le),R1=vo(Xs),I1=vo(zi);function qa(e){return Co(e)?Hi(mn(e)):op(e)}function O1(e){return function(n){return e==null?o:Vn(e,n)}}var P1=Zu(),L1=Zu(!0);function zo(){return[]}function Ho(){return!1}function B1(){return{}}function F1(){return""}function D1(){return!0}function W1(e,n){if(e=k(e),e<1||e>wn)return[];var t=Ae,i=Ce(e,Ae);n=I(n),e-=Ae;for(var s=Ki(i,n);++t<e;)n(t);return s}function N1(e){return M(e)?le(e,mn):ze(e)?[e]:Be(la(Q(e)))}function M1(e){var n=++Zl;return Q(e)+n}var k1=Fr(function(e,n){return e+n},0),$1=yo("ceil"),U1=Fr(function(e,n){return e/n},1),z1=yo("floor");function H1(e){return e&&e.length?Tr(e,We,ro):o}function G1(e,n){return e&&e.length?Tr(e,I(n,2),ro):o}function q1(e){return Js(e,We)}function K1(e,n){return Js(e,I(n,2))}function Y1(e){return e&&e.length?Tr(e,We,uo):o}function X1(e,n){return e&&e.length?Tr(e,I(n,2),uo):o}var Z1=Fr(function(e,n){return e*n},1),V1=yo("round"),J1=Fr(function(e,n){return e-n},0);function j1(e){return e&&e.length?qi(e,We):0}function Q1(e,n){return e&&e.length?qi(e,I(n,2)):0}return a.after=wg,a.ary=ba,a.assign=a0,a.assignIn=Wa,a.assignInWith=Yr,a.assignWith=f0,a.at=c0,a.before=Sa,a.bind=Po,a.bindAll=g1,a.bindKey=Aa,a.castArray=Bg,a.chain=ya,a.chunk=zp,a.compact=Hp,a.concat=Gp,a.cond=m1,a.conforms=_1,a.constant=Mo,a.countBy=jd,a.create=l0,a.curry=Ca,a.curryRight=Ea,a.debounce=Ta,a.defaults=h0,a.defaultsDeep=p0,a.defer=bg,a.delay=Sg,a.difference=qp,a.differenceBy=Kp,a.differenceWith=Yp,a.drop=Xp,a.dropRight=Zp,a.dropRightWhile=Vp,a.dropWhile=Jp,a.fill=jp,a.filter=eg,a.flatMap=rg,a.flatMapDeep=ig,a.flatMapDepth=og,a.flatten=ga,a.flattenDeep=Qp,a.flattenDepth=ed,a.flip=Ag,a.flow=y1,a.flowRight=x1,a.fromPairs=nd,a.functions=x0,a.functionsIn=w0,a.groupBy=sg,a.initial=rd,a.intersection=id,a.intersectionBy=od,a.intersectionWith=sd,a.invert=S0,a.invertBy=A0,a.invokeMap=ag,a.iteratee=ko,a.keyBy=fg,a.keys=xe,a.keysIn=De,a.map=Ur,a.mapKeys=E0,a.mapValues=T0,a.matches=w1,a.matchesProperty=b1,a.memoize=Hr,a.merge=R0,a.mergeWith=Na,a.method=S1,a.methodOf=A1,a.mixin=$o,a.negate=Gr,a.nthArg=E1,a.omit=I0,a.omitBy=O0,a.once=Cg,a.orderBy=cg,a.over=T1,a.overArgs=Eg,a.overEvery=R1,a.overSome=I1,a.partial=Lo,a.partialRight=Ra,a.partition=lg,a.pick=P0,a.pickBy=Ma,a.property=qa,a.propertyOf=O1,a.pull=cd,a.pullAll=_a,a.pullAllBy=ld,a.pullAllWith=hd,a.pullAt=pd,a.range=P1,a.rangeRight=L1,a.rearg=Tg,a.reject=dg,a.remove=dd,a.rest=Rg,a.reverse=Io,a.sampleSize=mg,a.set=B0,a.setWith=F0,a.shuffle=_g,a.slice=gd,a.sortBy=xg,a.sortedUniq=bd,a.sortedUniqBy=Sd,a.split=r1,a.spread=Ig,a.tail=Ad,a.take=Cd,a.takeRight=Ed,a.takeRightWhile=Td,a.takeWhile=Rd,a.tap=Hd,a.throttle=Og,a.thru=$r,a.toArray=Ba,a.toPairs=ka,a.toPairsIn=$a,a.toPath=N1,a.toPlainObject=Da,a.transform=D0,a.unary=Pg,a.union=Id,a.unionBy=Od,a.unionWith=Pd,a.uniq=Ld,a.uniqBy=Bd,a.uniqWith=Fd,a.unset=W0,a.unzip=Oo,a.unzipWith=va,a.update=N0,a.updateWith=M0,a.values=wt,a.valuesIn=k0,a.without=Dd,a.words=Ha,a.wrap=Lg,a.xor=Wd,a.xorBy=Nd,a.xorWith=Md,a.zip=kd,a.zipObject=$d,a.zipObjectDeep=Ud,a.zipWith=zd,a.entries=ka,a.entriesIn=$a,a.extend=Wa,a.extendWith=Yr,$o(a,a),a.add=k1,a.attempt=Ga,a.camelCase=H0,a.capitalize=Ua,a.ceil=$1,a.clamp=$0,a.clone=Fg,a.cloneDeep=Wg,a.cloneDeepWith=Ng,a.cloneWith=Dg,a.conformsTo=Mg,a.deburr=za,a.defaultTo=v1,a.divide=U1,a.endsWith=G0,a.eq=an,a.escape=q0,a.escapeRegExp=K0,a.every=Qd,a.find=ng,a.findIndex=pa,a.findKey=d0,a.findLast=tg,a.findLastIndex=da,a.findLastKey=g0,a.floor=z1,a.forEach=xa,a.forEachRight=wa,a.forIn=m0,a.forInRight=_0,a.forOwn=v0,a.forOwnRight=y0,a.get=Do,a.gt=kg,a.gte=$g,a.has=b0,a.hasIn=Wo,a.head=ma,a.identity=We,a.includes=ug,a.indexOf=td,a.inRange=U0,a.invoke=C0,a.isArguments=Qn,a.isArray=M,a.isArrayBuffer=Ug,a.isArrayLike=Fe,a.isArrayLikeObject=de,a.isBoolean=zg,a.isBuffer=Hn,a.isDate=Hg,a.isElement=Gg,a.isEmpty=qg,a.isEqual=Kg,a.isEqualWith=Yg,a.isError=Bo,a.isFinite=Xg,a.isFunction=On,a.isInteger=Ia,a.isLength=qr,a.isMap=Oa,a.isMatch=Zg,a.isMatchWith=Vg,a.isNaN=Jg,a.isNative=jg,a.isNil=e0,a.isNull=Qg,a.isNumber=Pa,a.isObject=he,a.isObjectLike=pe,a.isPlainObject=jt,a.isRegExp=Fo,a.isSafeInteger=n0,a.isSet=La,a.isString=Kr,a.isSymbol=ze,a.isTypedArray=xt,a.isUndefined=t0,a.isWeakMap=r0,a.isWeakSet=i0,a.join=ud,a.kebabCase=Y0,a.last=je,a.lastIndexOf=ad,a.lowerCase=X0,a.lowerFirst=Z0,a.lt=o0,a.lte=s0,a.max=H1,a.maxBy=G1,a.mean=q1,a.meanBy=K1,a.min=Y1,a.minBy=X1,a.stubArray=zo,a.stubFalse=Ho,a.stubObject=B1,a.stubString=F1,a.stubTrue=D1,a.multiply=Z1,a.nth=fd,a.noConflict=C1,a.noop=Uo,a.now=zr,a.pad=V0,a.padEnd=J0,a.padStart=j0,a.parseInt=Q0,a.random=z0,a.reduce=hg,a.reduceRight=pg,a.repeat=e1,a.replace=n1,a.result=L0,a.round=V1,a.runInContext=d,a.sample=gg,a.size=vg,a.snakeCase=t1,a.some=yg,a.sortedIndex=md,a.sortedIndexBy=_d,a.sortedIndexOf=vd,a.sortedLastIndex=yd,a.sortedLastIndexBy=xd,a.sortedLastIndexOf=wd,a.startCase=i1,a.startsWith=o1,a.subtract=J1,a.sum=j1,a.sumBy=Q1,a.template=s1,a.times=W1,a.toFinite=Pn,a.toInteger=k,a.toLength=Fa,a.toLower=u1,a.toNumber=Qe,a.toSafeInteger=u0,a.toString=Q,a.toUpper=a1,a.trim=f1,a.trimEnd=c1,a.trimStart=l1,a.truncate=h1,a.unescape=p1,a.uniqueId=M1,a.upperCase=d1,a.upperFirst=No,a.each=xa,a.eachRight=wa,a.first=ma,$o(a,function(){var e={};return dn(a,function(n,t){te.call(a.prototype,t)||(e[t]=n)}),e}(),{chain:!1}),a.VERSION=l,Ye(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){a[e].placeholder=a}),Ye(["drop","take"],function(e,n){K.prototype[e]=function(t){t=t===o?1:ve(k(t),0);var i=this.__filtered__&&!n?new K(this):this.clone();return i.__filtered__?i.__takeCount__=Ce(t,i.__takeCount__):i.__views__.push({size:Ce(t,Ae),type:e+(i.__dir__<0?"Right":"")}),i},K.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Ye(["filter","map","takeWhile"],function(e,n){var t=n+1,i=t==ir||t==wi;K.prototype[e]=function(s){var f=this.clone();return f.__iteratees__.push({iteratee:I(s,3),type:t}),f.__filtered__=f.__filtered__||i,f}}),Ye(["head","last"],function(e,n){var t="take"+(n?"Right":"");K.prototype[e]=function(){return this[t](1).value()[0]}}),Ye(["initial","tail"],function(e,n){var t="drop"+(n?"":"Right");K.prototype[e]=function(){return this.__filtered__?new K(this):this[t](1)}}),K.prototype.compact=function(){return this.filter(We)},K.prototype.find=function(e){return this.filter(e).head()},K.prototype.findLast=function(e){return this.reverse().find(e)},K.prototype.invokeMap=H(function(e,n){return typeof e=="function"?new K(this):this.map(function(t){return Kt(t,e,n)})}),K.prototype.reject=function(e){return this.filter(Gr(I(e)))},K.prototype.slice=function(e,n){e=k(e);var t=this;return t.__filtered__&&(e>0||n<0)?new K(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),n!==o&&(n=k(n),t=n<0?t.dropRight(-n):t.take(n-e)),t)},K.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},K.prototype.toArray=function(){return this.take(Ae)},dn(K.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),s=a[i?"take"+(n=="last"?"Right":""):n],f=i||/^find/.test(n);s&&(a.prototype[n]=function(){var c=this.__wrapped__,h=i?[1]:arguments,g=c instanceof K,y=h[0],x=g||M(c),b=function(q){var X=s.apply(a,Wn([q],h));return i&&A?X[0]:X};x&&t&&typeof y=="function"&&y.length!=1&&(g=x=!1);var A=this.__chain__,T=!!this.__actions__.length,O=f&&!A,$=g&&!T;if(!f&&x){c=$?c:new K(this);var P=e.apply(c,h);return P.__actions__.push({func:$r,args:[b],thisArg:o}),new Ze(P,A)}return O&&$?e.apply(this,h):(P=this.thru(b),O?i?P.value()[0]:P.value():P)})}),Ye(["pop","push","shift","sort","splice","unshift"],function(e){var n=hr[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);a.prototype[e]=function(){var s=arguments;if(i&&!this.__chain__){var f=this.value();return n.apply(M(f)?f:[],s)}return this[t](function(c){return n.apply(M(c)?c:[],s)})}}),dn(K.prototype,function(e,n){var t=a[n];if(t){var i=t.name+"";te.call(gt,i)||(gt[i]=[]),gt[i].push({name:n,func:t})}}),gt[Br(o,ne).name]=[{name:"wrapper",func:o}],K.prototype.clone=ph,K.prototype.reverse=dh,K.prototype.value=gh,a.prototype.at=Gd,a.prototype.chain=qd,a.prototype.commit=Kd,a.prototype.next=Yd,a.prototype.plant=Zd,a.prototype.reverse=Vd,a.prototype.toJSON=a.prototype.valueOf=a.prototype.value=Jd,a.prototype.first=a.prototype.head,kt&&(a.prototype[kt]=Xd),a},ht=Kl();qn?((qn.exports=ht)._=ht,Mi._=ht):be._=ht}).call(em)}(Qt,Qt.exports)),Qt.exports}var vn=nm(),Te=function(){return Te=Object.assign||function(u){for(var o,l=1,p=arguments.length;l<p;l++){o=arguments[l];for(var _ in o)Object.prototype.hasOwnProperty.call(o,_)&&(u[_]=o[_])}return u},Te.apply(this,arguments)};function St(r,u,o){if(o||arguments.length===2)for(var l=0,p=u.length,_;l<p;l++)(_||!(l in u))&&(_||(_=Array.prototype.slice.call(u,0,l)),_[l]=u[l]);return r.concat(_||Array.prototype.slice.call(u))}function tm(r){var u=Object.create(null);return function(o){return u[o]===void 0&&(u[o]=r(o)),u[o]}}var rm=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,im=tm(function(r){return rm.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),ce="-ms-",nr="-moz-",ee="-webkit-",mf="comm",ai="rule",rs="decl",om="@import",_f="@keyframes",sm="@layer",vf=Math.abs,is=String.fromCharCode,Xo=Object.assign;function um(r,u){return we(r,0)^45?(((u<<2^we(r,0))<<2^we(r,1))<<2^we(r,2))<<2^we(r,3):0}function yf(r){return r.trim()}function Bn(r,u){return(r=u.exec(r))?r[0]:r}function U(r,u,o){return r.replace(u,o)}function Qr(r,u,o){return r.indexOf(u,o)}function we(r,u){return r.charCodeAt(u)|0}function At(r,u,o){return r.slice(u,o)}function _n(r){return r.length}function xf(r){return r.length}function er(r,u){return u.push(r),r}function am(r,u){return r.map(u).join("")}function Xa(r,u){return r.filter(function(o){return!Bn(o,u)})}var fi=1,Ct=1,wf=0,en=0,me=0,Rt="";function ci(r,u,o,l,p,_,w,E){return{value:r,root:u,parent:o,type:l,props:p,children:_,line:fi,column:Ct,length:w,return:"",siblings:E}}function Gn(r,u){return Xo(ci("",null,null,"",null,null,0,r.siblings),r,{length:-r.length},u)}function bt(r){for(;r.root;)r=Gn(r.root,{children:[r]});er(r,r.siblings)}function fm(){return me}function cm(){return me=en>0?we(Rt,--en):0,Ct--,me===10&&(Ct=1,fi--),me}function cn(){return me=en<wf?we(Rt,en++):0,Ct++,me===10&&(Ct=1,fi++),me}function tt(){return we(Rt,en)}function ei(){return en}function li(r,u){return At(Rt,r,u)}function Zo(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lm(r){return fi=Ct=1,wf=_n(Rt=r),en=0,[]}function hm(r){return Rt="",r}function Go(r){return yf(li(en-1,Vo(r===91?r+2:r===40?r+1:r)))}function pm(r){for(;(me=tt())&&me<33;)cn();return Zo(r)>2||Zo(me)>3?"":" "}function dm(r,u){for(;--u&&cn()&&!(me<48||me>102||me>57&&me<65||me>70&&me<97););return li(r,ei()+(u<6&&tt()==32&&cn()==32))}function Vo(r){for(;cn();)switch(me){case r:return en;case 34:case 39:r!==34&&r!==39&&Vo(me);break;case 40:r===41&&Vo(r);break;case 92:cn();break}return en}function gm(r,u){for(;cn()&&r+me!==57;)if(r+me===84&&tt()===47)break;return"/*"+li(u,en-1)+"*"+is(r===47?r:cn())}function mm(r){for(;!Zo(tt());)cn();return li(r,en)}function _m(r){return hm(ni("",null,null,null,[""],r=lm(r),0,[0],r))}function ni(r,u,o,l,p,_,w,E,S){for(var D=0,B=0,R=w,G=0,F=0,Z=0,re=1,oe=1,ne=1,ae=0,Y="",j=p,V=_,z=l,L=Y;oe;)switch(Z=ae,ae=cn()){case 40:if(Z!=108&&we(L,R-1)==58){Qr(L+=U(Go(ae),"&","&\f"),"&\f",vf(D?E[D-1]:0))!=-1&&(ne=-1);break}case 34:case 39:case 91:L+=Go(ae);break;case 9:case 10:case 13:case 32:L+=pm(Z);break;case 92:L+=dm(ei()-1,7);continue;case 47:switch(tt()){case 42:case 47:er(vm(gm(cn(),ei()),u,o,S),S);break;default:L+="/"}break;case 123*re:E[D++]=_n(L)*ne;case 125*re:case 59:case 0:switch(ae){case 0:case 125:oe=0;case 59+B:ne==-1&&(L=U(L,/\f/g,"")),F>0&&_n(L)-R&&er(F>32?Va(L+";",l,o,R-1,S):Va(U(L," ","")+";",l,o,R-2,S),S);break;case 59:L+=";";default:if(er(z=Za(L,u,o,D,B,p,E,Y,j=[],V=[],R,_),_),ae===123)if(B===0)ni(L,u,z,z,j,_,R,E,V);else switch(G===99&&we(L,3)===110?100:G){case 100:case 108:case 109:case 115:ni(r,z,z,l&&er(Za(r,z,z,0,0,p,E,Y,p,j=[],R,V),V),p,V,R,E,l?j:V);break;default:ni(L,z,z,z,[""],V,0,E,V)}}D=B=F=0,re=ne=1,Y=L="",R=w;break;case 58:R=1+_n(L),F=Z;default:if(re<1){if(ae==123)--re;else if(ae==125&&re++==0&&cm()==125)continue}switch(L+=is(ae),ae*re){case 38:ne=B>0?1:(L+="\f",-1);break;case 44:E[D++]=(_n(L)-1)*ne,ne=1;break;case 64:tt()===45&&(L+=Go(cn())),G=tt(),B=R=_n(Y=L+=mm(ei())),ae++;break;case 45:Z===45&&_n(L)==2&&(re=0)}}return _}function Za(r,u,o,l,p,_,w,E,S,D,B,R){for(var G=p-1,F=p===0?_:[""],Z=xf(F),re=0,oe=0,ne=0;re<l;++re)for(var ae=0,Y=At(r,G+1,G=vf(oe=w[re])),j=r;ae<Z;++ae)(j=yf(oe>0?F[ae]+" "+Y:U(Y,/&\f/g,F[ae])))&&(S[ne++]=j);return ci(r,u,o,p===0?ai:E,S,D,B,R)}function vm(r,u,o,l){return ci(r,u,o,mf,is(fm()),At(r,2,-2),0,l)}function Va(r,u,o,l,p){return ci(r,u,o,rs,At(r,0,l),At(r,l+1,-1),l,p)}function bf(r,u,o){switch(um(r,u)){case 5103:return ee+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+r+r;case 4789:return nr+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+r+nr+r+ce+r+r;case 5936:switch(we(r,u+11)){case 114:return ee+r+ce+U(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return ee+r+ce+U(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return ee+r+ce+U(r,/[svh]\w+-[tblr]{2}/,"lr")+r}case 6828:case 4268:case 2903:return ee+r+ce+r+r;case 6165:return ee+r+ce+"flex-"+r+r;case 5187:return ee+r+U(r,/(\w+).+(:[^]+)/,ee+"box-$1$2"+ce+"flex-$1$2")+r;case 5443:return ee+r+ce+"flex-item-"+U(r,/flex-|-self/g,"")+(Bn(r,/flex-|baseline/)?"":ce+"grid-row-"+U(r,/flex-|-self/g,""))+r;case 4675:return ee+r+ce+"flex-line-pack"+U(r,/align-content|flex-|-self/g,"")+r;case 5548:return ee+r+ce+U(r,"shrink","negative")+r;case 5292:return ee+r+ce+U(r,"basis","preferred-size")+r;case 6060:return ee+"box-"+U(r,"-grow","")+ee+r+ce+U(r,"grow","positive")+r;case 4554:return ee+U(r,/([^-])(transform)/g,"$1"+ee+"$2")+r;case 6187:return U(U(U(r,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),r,"")+r;case 5495:case 3959:return U(r,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return U(U(r,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+ce+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+r+r;case 4200:if(!Bn(r,/flex-|baseline/))return ce+"grid-column-align"+At(r,u)+r;break;case 2592:case 3360:return ce+U(r,"template-","")+r;case 4384:case 3616:return o&&o.some(function(l,p){return u=p,Bn(l.props,/grid-\w+-end/)})?~Qr(r+(o=o[u].value),"span",0)?r:ce+U(r,"-start","")+r+ce+"grid-row-span:"+(~Qr(o,"span",0)?Bn(o,/\d+/):+Bn(o,/\d+/)-+Bn(r,/\d+/))+";":ce+U(r,"-start","")+r;case 4896:case 4128:return o&&o.some(function(l){return Bn(l.props,/grid-\w+-start/)})?r:ce+U(U(r,"-end","-span"),"span ","")+r;case 4095:case 3583:case 4068:case 2532:return U(r,/(.+)-inline(.+)/,ee+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_n(r)-1-u>6)switch(we(r,u+1)){case 109:if(we(r,u+4)!==45)break;case 102:return U(r,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+nr+(we(r,u+3)==108?"$3":"$2-$3"))+r;case 115:return~Qr(r,"stretch",0)?bf(U(r,"stretch","fill-available"),u,o)+r:r}break;case 5152:case 5920:return U(r,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(l,p,_,w,E,S,D){return ce+p+":"+_+D+(w?ce+p+"-span:"+(E?S:+S-+_)+D:"")+r});case 4949:if(we(r,u+6)===121)return U(r,":",":"+ee)+r;break;case 6444:switch(we(r,we(r,14)===45?18:11)){case 120:return U(r,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ee+(we(r,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+ce+"$2box$3")+r;case 100:return U(r,":",":"+ce)+r}break;case 5719:case 2647:case 2135:case 3927:case 2391:return U(r,"scroll-","scroll-snap-")+r}return r}function oi(r,u){for(var o="",l=0;l<r.length;l++)o+=u(r[l],l,r,u)||"";return o}function ym(r,u,o,l){switch(r.type){case sm:if(r.children.length)break;case om:case rs:return r.return=r.return||r.value;case mf:return"";case _f:return r.return=r.value+"{"+oi(r.children,l)+"}";case ai:if(!_n(r.value=r.props.join(",")))return""}return _n(o=oi(r.children,l))?r.return=r.value+"{"+o+"}":""}function xm(r){var u=xf(r);return function(o,l,p,_){for(var w="",E=0;E<u;E++)w+=r[E](o,l,p,_)||"";return w}}function wm(r){return function(u){u.root||(u=u.return)&&r(u)}}function bm(r,u,o,l){if(r.length>-1&&!r.return)switch(r.type){case rs:r.return=bf(r.value,r.length,o);return;case _f:return oi([Gn(r,{value:U(r.value,"@","@"+ee)})],l);case ai:if(r.length)return am(o=r.props,function(p){switch(Bn(p,l=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":bt(Gn(r,{props:[U(p,/:(read-\w+)/,":"+nr+"$1")]})),bt(Gn(r,{props:[p]})),Xo(r,{props:Xa(o,l)});break;case"::placeholder":bt(Gn(r,{props:[U(p,/:(plac\w+)/,":"+ee+"input-$1")]})),bt(Gn(r,{props:[U(p,/:(plac\w+)/,":"+nr+"$1")]})),bt(Gn(r,{props:[U(p,/:(plac\w+)/,ce+"input-$1")]})),bt(Gn(r,{props:[p]})),Xo(r,{props:Xa(o,l)});break}return""})}}var Sm={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},it=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Sf="active",Af="data-styled-version",hi="6.1.16",os=`/*!sc*/
|
|
28
|
+
`,si=typeof window<"u"&&"HTMLElement"in window,Am=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Ja=/invalid hook call/i,Zr=new Set,Cm=function(r,u){if(process.env.NODE_ENV!=="production"){var o=u?' with the id of "'.concat(u,'"'):"",l="The component ".concat(r).concat(o,` has been created dynamically.
|
|
29
|
+
`)+`You may see this warning because you've called styled inside another component.
|
|
30
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,p=console.error;try{var _=!0;console.error=function(w){for(var E=[],S=1;S<arguments.length;S++)E[S-1]=arguments[S];Ja.test(w)?(_=!1,Zr.delete(l)):p.apply(void 0,St([w],E,!1))},ie.useRef(),_&&!Zr.has(l)&&(console.warn(l),Zr.add(l))}catch(w){Ja.test(w.message)&&Zr.delete(l)}finally{console.error=p}}},pi=Object.freeze([]),Et=Object.freeze({});function Em(r,u,o){return o===void 0&&(o=Et),r.theme!==o.theme&&r.theme||u||o.theme}var Jo=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Tm=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Rm=/(^-|-$)/g;function ja(r){return r.replace(Tm,"-").replace(Rm,"")}var Im=/(a)(d)/gi,Vr=52,Qa=function(r){return String.fromCharCode(r+(r>25?39:97))};function jo(r){var u,o="";for(u=Math.abs(r);u>Vr;u=u/Vr|0)o=Qa(u%Vr)+o;return(Qa(u%Vr)+o).replace(Im,"$1-$2")}var qo,Cf=5381,et=function(r,u){for(var o=u.length;o;)r=33*r^u.charCodeAt(--o);return r},Ef=function(r){return et(Cf,r)};function Om(r){return jo(Ef(r)>>>0)}function Tf(r){return process.env.NODE_ENV!=="production"&&typeof r=="string"&&r||r.displayName||r.name||"Component"}function Ko(r){return typeof r=="string"&&(process.env.NODE_ENV==="production"||r.charAt(0)===r.charAt(0).toLowerCase())}var Rf=typeof Symbol=="function"&&Symbol.for,If=Rf?Symbol.for("react.memo"):60115,Pm=Rf?Symbol.for("react.forward_ref"):60112,Lm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Bm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Of={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fm=((qo={})[Pm]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qo[If]=Of,qo);function ef(r){return("type"in(u=r)&&u.type.$$typeof)===If?Of:"$$typeof"in r?Fm[r.$$typeof]:Lm;var u}var Dm=Object.defineProperty,Wm=Object.getOwnPropertyNames,nf=Object.getOwnPropertySymbols,Nm=Object.getOwnPropertyDescriptor,Mm=Object.getPrototypeOf,tf=Object.prototype;function Pf(r,u,o){if(typeof u!="string"){if(tf){var l=Mm(u);l&&l!==tf&&Pf(r,l,o)}var p=Wm(u);nf&&(p=p.concat(nf(u)));for(var _=ef(r),w=ef(u),E=0;E<p.length;++E){var S=p[E];if(!(S in Bm||o&&o[S]||w&&S in w||_&&S in _)){var D=Nm(u,S);try{Dm(r,S,D)}catch{}}}}return r}function ot(r){return typeof r=="function"}function ss(r){return typeof r=="object"&&"styledComponentId"in r}function nt(r,u){return r&&u?"".concat(r," ").concat(u):r||u||""}function rf(r,u){if(r.length===0)return"";for(var o=r[0],l=1;l<r.length;l++)o+=r[l];return o}function Tt(r){return r!==null&&typeof r=="object"&&r.constructor.name===Object.name&&!("props"in r&&r.$$typeof)}function Qo(r,u,o){if(o===void 0&&(o=!1),!o&&!Tt(r)&&!Array.isArray(r))return u;if(Array.isArray(u))for(var l=0;l<u.length;l++)r[l]=Qo(r[l],u[l]);else if(Tt(u))for(var l in u)r[l]=Qo(r[l],u[l]);return r}function us(r,u){Object.defineProperty(r,"toString",{value:u})}var km=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
31
|
+
|
|
32
|
+
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
33
|
+
|
|
34
|
+
- Are you trying to reuse it across renders?
|
|
35
|
+
- Are you accidentally calling collectStyles twice?
|
|
36
|
+
|
|
37
|
+
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
38
|
+
|
|
39
|
+
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
40
|
+
|
|
41
|
+
- Does this error occur on the client and is your target falsy?
|
|
42
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
43
|
+
|
|
44
|
+
`,5:`The clone method cannot be used on the client!
|
|
45
|
+
|
|
46
|
+
- Are you running in a client-like environment on the server?
|
|
47
|
+
- Are you trying to run SSR on the client?
|
|
48
|
+
|
|
49
|
+
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
50
|
+
|
|
51
|
+
- Are you using a custom target that isn't mounted?
|
|
52
|
+
- Does your document not have a valid head element?
|
|
53
|
+
- Have you accidentally removed a style tag manually?
|
|
54
|
+
|
|
55
|
+
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
56
|
+
|
|
57
|
+
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
58
|
+
|
|
59
|
+
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
60
|
+
|
|
61
|
+
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
62
|
+
|
|
63
|
+
`,14:`ThemeProvider: "theme" prop is required.
|
|
64
|
+
|
|
65
|
+
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
66
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
67
|
+
as for instance in your render method then you may be running into this limitation.
|
|
68
|
+
|
|
69
|
+
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
70
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
71
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function $m(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];for(var o=r[0],l=[],p=1,_=r.length;p<_;p+=1)l.push(r[p]);return l.forEach(function(w){o=o.replace(/%[a-z]/,w)}),o}function yn(r){for(var u=[],o=1;o<arguments.length;o++)u[o-1]=arguments[o];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(r," for more information.").concat(u.length>0?" Args: ".concat(u.join(", ")):"")):new Error($m.apply(void 0,St([km[r]],u,!1)).trim())}var Um=function(){function r(u){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=u}return r.prototype.indexOfGroup=function(u){for(var o=0,l=0;l<u;l++)o+=this.groupSizes[l];return o},r.prototype.insertRules=function(u,o){if(u>=this.groupSizes.length){for(var l=this.groupSizes,p=l.length,_=p;u>=_;)if((_<<=1)<0)throw yn(16,"".concat(u));this.groupSizes=new Uint32Array(_),this.groupSizes.set(l),this.length=_;for(var w=p;w<_;w++)this.groupSizes[w]=0}for(var E=this.indexOfGroup(u+1),S=(w=0,o.length);w<S;w++)this.tag.insertRule(E,o[w])&&(this.groupSizes[u]++,E++)},r.prototype.clearGroup=function(u){if(u<this.length){var o=this.groupSizes[u],l=this.indexOfGroup(u),p=l+o;this.groupSizes[u]=0;for(var _=l;_<p;_++)this.tag.deleteRule(l)}},r.prototype.getGroup=function(u){var o="";if(u>=this.length||this.groupSizes[u]===0)return o;for(var l=this.groupSizes[u],p=this.indexOfGroup(u),_=p+l,w=p;w<_;w++)o+="".concat(this.tag.getRule(w)).concat(os);return o},r}(),zm=1<<30,ti=new Map,ui=new Map,ri=1,Jr=function(r){if(ti.has(r))return ti.get(r);for(;ui.has(ri);)ri++;var u=ri++;if(process.env.NODE_ENV!=="production"&&((0|u)<0||u>zm))throw yn(16,"".concat(u));return ti.set(r,u),ui.set(u,r),u},Hm=function(r,u){ri=u+1,ti.set(r,u),ui.set(u,r)},Gm="style[".concat(it,"][").concat(Af,'="').concat(hi,'"]'),qm=new RegExp("^".concat(it,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Km=function(r,u,o){for(var l,p=o.split(","),_=0,w=p.length;_<w;_++)(l=p[_])&&r.registerName(u,l)},Ym=function(r,u){for(var o,l=((o=u.textContent)!==null&&o!==void 0?o:"").split(os),p=[],_=0,w=l.length;_<w;_++){var E=l[_].trim();if(E){var S=E.match(qm);if(S){var D=0|parseInt(S[1],10),B=S[2];D!==0&&(Hm(B,D),Km(r,B,S[3]),r.getTag().insertRules(D,p)),p.length=0}else p.push(E)}}},of=function(r){for(var u=document.querySelectorAll(Gm),o=0,l=u.length;o<l;o++){var p=u[o];p&&p.getAttribute(it)!==Sf&&(Ym(r,p),p.parentNode&&p.parentNode.removeChild(p))}};function Xm(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Lf=function(r){var u=document.head,o=r||u,l=document.createElement("style"),p=function(E){var S=Array.from(E.querySelectorAll("style[".concat(it,"]")));return S[S.length-1]}(o),_=p!==void 0?p.nextSibling:null;l.setAttribute(it,Sf),l.setAttribute(Af,hi);var w=Xm();return w&&l.setAttribute("nonce",w),o.insertBefore(l,_),l},Zm=function(){function r(u){this.element=Lf(u),this.element.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var l=document.styleSheets,p=0,_=l.length;p<_;p++){var w=l[p];if(w.ownerNode===o)return w}throw yn(17)}(this.element),this.length=0}return r.prototype.insertRule=function(u,o){try{return this.sheet.insertRule(o,u),this.length++,!0}catch{return!1}},r.prototype.deleteRule=function(u){this.sheet.deleteRule(u),this.length--},r.prototype.getRule=function(u){var o=this.sheet.cssRules[u];return o&&o.cssText?o.cssText:""},r}(),Vm=function(){function r(u){this.element=Lf(u),this.nodes=this.element.childNodes,this.length=0}return r.prototype.insertRule=function(u,o){if(u<=this.length&&u>=0){var l=document.createTextNode(o);return this.element.insertBefore(l,this.nodes[u]||null),this.length++,!0}return!1},r.prototype.deleteRule=function(u){this.element.removeChild(this.nodes[u]),this.length--},r.prototype.getRule=function(u){return u<this.length?this.nodes[u].textContent:""},r}(),Jm=function(){function r(u){this.rules=[],this.length=0}return r.prototype.insertRule=function(u,o){return u<=this.length&&(this.rules.splice(u,0,o),this.length++,!0)},r.prototype.deleteRule=function(u){this.rules.splice(u,1),this.length--},r.prototype.getRule=function(u){return u<this.length?this.rules[u]:""},r}(),sf=si,jm={isServer:!si,useCSSOMInjection:!Am},Bf=function(){function r(u,o,l){u===void 0&&(u=Et),o===void 0&&(o={});var p=this;this.options=Te(Te({},jm),u),this.gs=o,this.names=new Map(l),this.server=!!u.isServer,!this.server&&si&&sf&&(sf=!1,of(this)),us(this,function(){return function(_){for(var w=_.getTag(),E=w.length,S="",D=function(R){var G=function(ne){return ui.get(ne)}(R);if(G===void 0)return"continue";var F=_.names.get(G),Z=w.getGroup(R);if(F===void 0||!F.size||Z.length===0)return"continue";var re="".concat(it,".g").concat(R,'[id="').concat(G,'"]'),oe="";F!==void 0&&F.forEach(function(ne){ne.length>0&&(oe+="".concat(ne,","))}),S+="".concat(Z).concat(re,'{content:"').concat(oe,'"}').concat(os)},B=0;B<E;B++)D(B);return S}(p)})}return r.registerId=function(u){return Jr(u)},r.prototype.rehydrate=function(){!this.server&&si&&of(this)},r.prototype.reconstructWithOptions=function(u,o){return o===void 0&&(o=!0),new r(Te(Te({},this.options),u),this.gs,o&&this.names||void 0)},r.prototype.allocateGSInstance=function(u){return this.gs[u]=(this.gs[u]||0)+1},r.prototype.getTag=function(){return this.tag||(this.tag=(u=function(o){var l=o.useCSSOMInjection,p=o.target;return o.isServer?new Jm(p):l?new Zm(p):new Vm(p)}(this.options),new Um(u)));var u},r.prototype.hasNameForId=function(u,o){return this.names.has(u)&&this.names.get(u).has(o)},r.prototype.registerName=function(u,o){if(Jr(u),this.names.has(u))this.names.get(u).add(o);else{var l=new Set;l.add(o),this.names.set(u,l)}},r.prototype.insertRules=function(u,o,l){this.registerName(u,o),this.getTag().insertRules(Jr(u),l)},r.prototype.clearNames=function(u){this.names.has(u)&&this.names.get(u).clear()},r.prototype.clearRules=function(u){this.getTag().clearGroup(Jr(u)),this.clearNames(u)},r.prototype.clearTag=function(){this.tag=void 0},r}(),Qm=/&/g,e_=/^\s*\/\/.*$/gm;function Ff(r,u){return r.map(function(o){return o.type==="rule"&&(o.value="".concat(u," ").concat(o.value),o.value=o.value.replaceAll(",",",".concat(u," ")),o.props=o.props.map(function(l){return"".concat(u," ").concat(l)})),Array.isArray(o.children)&&o.type!=="@keyframes"&&(o.children=Ff(o.children,u)),o})}function n_(r){var u,o,l,p=Et,_=p.options,w=_===void 0?Et:_,E=p.plugins,S=E===void 0?pi:E,D=function(G,F,Z){return Z.startsWith(o)&&Z.endsWith(o)&&Z.replaceAll(o,"").length>0?".".concat(u):G},B=S.slice();B.push(function(G){G.type===ai&&G.value.includes("&")&&(G.props[0]=G.props[0].replace(Qm,o).replace(l,D))}),w.prefix&&B.push(bm),B.push(ym);var R=function(G,F,Z,re){F===void 0&&(F=""),Z===void 0&&(Z=""),re===void 0&&(re="&"),u=re,o=F,l=new RegExp("\\".concat(o,"\\b"),"g");var oe=G.replace(e_,""),ne=_m(Z||F?"".concat(Z," ").concat(F," { ").concat(oe," }"):oe);w.namespace&&(ne=Ff(ne,w.namespace));var ae=[];return oi(ne,xm(B.concat(wm(function(Y){return ae.push(Y)})))),ae};return R.hash=S.length?S.reduce(function(G,F){return F.name||yn(15),et(G,F.name)},Cf).toString():"",R}var t_=new Bf,es=n_(),Df=ie.createContext({shouldForwardProp:void 0,styleSheet:t_,stylis:es});Df.Consumer;ie.createContext(void 0);function uf(){return ie.useContext(Df)}var af=function(){function r(u,o){var l=this;this.inject=function(p,_){_===void 0&&(_=es);var w=l.name+_.hash;p.hasNameForId(l.id,w)||p.insertRules(l.id,w,_(l.rules,w,"@keyframes"))},this.name=u,this.id="sc-keyframes-".concat(u),this.rules=o,us(this,function(){throw yn(12,String(l.name))})}return r.prototype.getName=function(u){return u===void 0&&(u=es),this.name+u.hash},r}(),r_=function(r){return r>="A"&&r<="Z"};function ff(r){for(var u="",o=0;o<r.length;o++){var l=r[o];if(o===1&&l==="-"&&r[0]==="-")return r;r_(l)?u+="-"+l.toLowerCase():u+=l}return u.startsWith("ms-")?"-"+u:u}var Wf=function(r){return r==null||r===!1||r===""},Nf=function(r){var u,o,l=[];for(var p in r){var _=r[p];r.hasOwnProperty(p)&&!Wf(_)&&(Array.isArray(_)&&_.isCss||ot(_)?l.push("".concat(ff(p),":"),_,";"):Tt(_)?l.push.apply(l,St(St(["".concat(p," {")],Nf(_),!1),["}"],!1)):l.push("".concat(ff(p),": ").concat((u=p,(o=_)==null||typeof o=="boolean"||o===""?"":typeof o!="number"||o===0||u in Sm||u.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return l};function rt(r,u,o,l){if(Wf(r))return[];if(ss(r))return[".".concat(r.styledComponentId)];if(ot(r)){if(!ot(_=r)||_.prototype&&_.prototype.isReactComponent||!u)return[r];var p=r(u);return process.env.NODE_ENV==="production"||typeof p!="object"||Array.isArray(p)||p instanceof af||Tt(p)||p===null||console.error("".concat(Tf(r)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),rt(p,u,o,l)}var _;return r instanceof af?o?(r.inject(o,l),[r.getName(l)]):[r]:Tt(r)?Nf(r):Array.isArray(r)?Array.prototype.concat.apply(pi,r.map(function(w){return rt(w,u,o,l)})):[r.toString()]}function i_(r){for(var u=0;u<r.length;u+=1){var o=r[u];if(ot(o)&&!ss(o))return!1}return!0}var o_=Ef(hi),s_=function(){function r(u,o,l){this.rules=u,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(l===void 0||l.isStatic)&&i_(u),this.componentId=o,this.baseHash=et(o_,o),this.baseStyle=l,Bf.registerId(o)}return r.prototype.generateAndInjectStyles=function(u,o,l){var p=this.baseStyle?this.baseStyle.generateAndInjectStyles(u,o,l):"";if(this.isStatic&&!l.hash)if(this.staticRulesId&&o.hasNameForId(this.componentId,this.staticRulesId))p=nt(p,this.staticRulesId);else{var _=rf(rt(this.rules,u,o,l)),w=jo(et(this.baseHash,_)>>>0);if(!o.hasNameForId(this.componentId,w)){var E=l(_,".".concat(w),void 0,this.componentId);o.insertRules(this.componentId,w,E)}p=nt(p,w),this.staticRulesId=w}else{for(var S=et(this.baseHash,l.hash),D="",B=0;B<this.rules.length;B++){var R=this.rules[B];if(typeof R=="string")D+=R,process.env.NODE_ENV!=="production"&&(S=et(S,R));else if(R){var G=rf(rt(R,u,o,l));S=et(S,G+B),D+=G}}if(D){var F=jo(S>>>0);o.hasNameForId(this.componentId,F)||o.insertRules(this.componentId,F,l(D,".".concat(F),void 0,this.componentId)),p=nt(p,F)}}return p},r}(),tr=ie.createContext(void 0);tr.Consumer;function di(){var r=ie.useContext(tr);if(!r)throw yn(18);return r}function u_(r){var u=ie.useContext(tr),o=ie.useMemo(function(){return function(l,p){if(!l)throw yn(14);if(ot(l)){var _=l(p);if(process.env.NODE_ENV!=="production"&&(_===null||Array.isArray(_)||typeof _!="object"))throw yn(7);return _}if(Array.isArray(l)||typeof l!="object")throw yn(8);return p?Te(Te({},p),l):l}(r.theme,u)},[r.theme,u]);return r.children?ie.createElement(tr.Provider,{value:o},r.children):null}var Yo={},cf=new Set;function a_(r,u,o){var l=ss(r),p=r,_=!Ko(r),w=u.attrs,E=w===void 0?pi:w,S=u.componentId,D=S===void 0?function(j,V){var z=typeof j!="string"?"sc":ja(j);Yo[z]=(Yo[z]||0)+1;var L="".concat(z,"-").concat(Om(hi+z+Yo[z]));return V?"".concat(V,"-").concat(L):L}(u.displayName,u.parentComponentId):S,B=u.displayName,R=B===void 0?function(j){return Ko(j)?"styled.".concat(j):"Styled(".concat(Tf(j),")")}(r):B,G=u.displayName&&u.componentId?"".concat(ja(u.displayName),"-").concat(u.componentId):u.componentId||D,F=l&&p.attrs?p.attrs.concat(E).filter(Boolean):E,Z=u.shouldForwardProp;if(l&&p.shouldForwardProp){var re=p.shouldForwardProp;if(u.shouldForwardProp){var oe=u.shouldForwardProp;Z=function(j,V){return re(j,V)&&oe(j,V)}}else Z=re}var ne=new s_(o,G,l?p.componentStyle:void 0);function ae(j,V){return function(z,L,Pe){var ln=z.attrs,_i=z.componentStyle,vi=z.defaultProps,yi=z.foldedComponentIds,rr=z.styledComponentId,ir=z.target,xi=ie.useContext(tr),wi=uf(),Fn=z.shouldForwardProp||wi.shouldForwardProp;process.env.NODE_ENV!=="production"&&ie.useDebugValue(rr);var wn=Em(L,xi,vi)||Et,nn=function(tn,pn,st){for(var qe,Ne=Te(Te({},pn),{className:void 0,theme:st}),Lt=0;Lt<tn.length;Lt+=1){var bn=ot(qe=tn[Lt])?qe(Ne):qe;for(var Me in bn)Ne[Me]=Me==="className"?nt(Ne[Me],bn[Me]):Me==="style"?Te(Te({},Ne[Me]),bn[Me]):bn[Me]}return pn.className&&(Ne.className=nt(Ne.className,pn.className)),Ne}(ln,L,wn),hn=nn.as||ir,Ae={};for(var Le in nn)nn[Le]===void 0||Le[0]==="$"||Le==="as"||Le==="theme"&&nn.theme===wn||(Le==="forwardedAs"?Ae.as=nn.forwardedAs:Fn&&!Fn(Le,hn)||(Ae[Le]=nn[Le],Fn||process.env.NODE_ENV!=="development"||im(Le)||cf.has(Le)||!Jo.has(hn)||(cf.add(Le),console.warn('styled-components: it looks like an unknown prop "'.concat(Le,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Ot=function(tn,pn){var st=uf(),qe=tn.generateAndInjectStyles(pn,st.styleSheet,st.stylis);return process.env.NODE_ENV!=="production"&&ie.useDebugValue(qe),qe}(_i,nn);process.env.NODE_ENV!=="production"&&z.warnTooManyClasses&&z.warnTooManyClasses(Ot);var Pt=nt(yi,rr);return Ot&&(Pt+=" "+Ot),nn.className&&(Pt+=" "+nn.className),Ae[Ko(hn)&&!Jo.has(hn)?"class":"className"]=Pt,Pe&&(Ae.ref=Pe),ie.createElement(hn,Ae)}(Y,j,V)}ae.displayName=R;var Y=ie.forwardRef(ae);return Y.attrs=F,Y.componentStyle=ne,Y.displayName=R,Y.shouldForwardProp=Z,Y.foldedComponentIds=l?nt(p.foldedComponentIds,p.styledComponentId):"",Y.styledComponentId=G,Y.target=l?p.target:r,Object.defineProperty(Y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(j){this._foldedDefaultProps=l?function(V){for(var z=[],L=1;L<arguments.length;L++)z[L-1]=arguments[L];for(var Pe=0,ln=z;Pe<ln.length;Pe++)Qo(V,ln[Pe],!0);return V}({},p.defaultProps,j):j}}),process.env.NODE_ENV!=="production"&&(Cm(R,G),Y.warnTooManyClasses=function(j,V){var z={},L=!1;return function(Pe){if(!L&&(z[Pe]=!0,Object.keys(z).length>=200)){var ln=V?' with the id of "'.concat(V,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(j).concat(ln,`.
|
|
72
|
+
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
73
|
+
Example:
|
|
74
|
+
const Component = styled.div.attrs(props => ({
|
|
75
|
+
style: {
|
|
76
|
+
background: props.background,
|
|
77
|
+
},
|
|
78
|
+
}))\`width: 100%;\`
|
|
79
|
+
|
|
80
|
+
<Component />`),L=!0,z={}}}}(R,G)),us(Y,function(){return".".concat(Y.styledComponentId)}),_&&Pf(Y,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),Y}function lf(r,u){for(var o=[r[0]],l=0,p=u.length;l<p;l+=1)o.push(u[l],r[l+1]);return o}var hf=function(r){return Object.assign(r,{isCss:!0})};function f_(r){for(var u=[],o=1;o<arguments.length;o++)u[o-1]=arguments[o];if(ot(r)||Tt(r))return hf(rt(lf(pi,St([r],u,!0))));var l=r;return u.length===0&&l.length===1&&typeof l[0]=="string"?rt(l):hf(rt(lf(l,u)))}function ns(r,u,o){if(o===void 0&&(o=Et),!u)throw yn(1,u);var l=function(p){for(var _=[],w=1;w<arguments.length;w++)_[w-1]=arguments[w];return r(u,o,f_.apply(void 0,St([p],_,!1)))};return l.attrs=function(p){return ns(r,u,Te(Te({},o),{attrs:Array.prototype.concat(o.attrs,p).filter(Boolean)}))},l.withConfig=function(p){return ns(r,u,Te(Te({},o),p))},l}var Mf=function(r){return ns(a_,r)},kf=Mf;Jo.forEach(function(r){kf[r]=Mf(r)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
81
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
82
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var jr="__sc-".concat(it,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[jr]||(window[jr]=0),window[jr]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
83
|
+
|
|
84
|
+
See https://s-c.sh/2BAXzed for more info.`),window[jr]+=1);const xn=kf,c_={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},l_={m:{property:"margin",scale:"space"},mt:{property:"marginTop",scale:"space"},mb:{property:"marginBottom",scale:"space"},ml:{property:"marginLeft",scale:"space"},mr:{property:"marginRight",scale:"space"},mx:{property:"marginInline",scale:"space"},my:{property:"marginBlock",scale:"space"},p:{property:"padding",scale:"space"},pt:{property:"paddingTop",scale:"space"},pb:{property:"paddingBottom",scale:"space"},pl:{property:"paddingLeft",scale:"space"},pr:{property:"paddingRight",scale:"space"},px:{property:"paddingInline",scale:"space"},py:{property:"paddingBlock",scale:"space"},margin:{property:"margin",scale:"space"},marginBottom:{property:"marginBottom",scale:"space"},marginLeft:{property:"marginLeft",scale:"space"},marginRight:{property:"marginRight",scale:"space"},marginTop:{property:"marginTop",scale:"space"},marginX:{property:"marginInline",scale:"space"},marginY:{property:"marginBlock",scale:"space"},padding:{property:"padding",scale:"space"},paddingBottom:{property:"paddingBottom",scale:"space"},paddingLeft:{property:"paddingLeft",scale:"space"},paddingRight:{property:"paddingRight",scale:"space"},paddingTop:{property:"paddingTop",scale:"space"},paddingX:{property:"paddingInline",scale:"space"},paddingY:{property:"paddingBlock",scale:"space"},gap:{property:"gap",scale:"space"}},h_={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},p_={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},$f={...c_,...l_,...h_,...p_},Uf=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity"],as=["fullWidth","fullHeight","fw","fh"],zf={fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Hf=(r,u,o)=>{const l=$f[u],p=o[u];if(!p)return;const{scale:_,property:w}=l;switch(_){case"colors":return{[w]:r.colors[p]};case"space":return{[w]:r.space[p]};case"radii":return{[w]:r.radii[p]};case"borderWidths":return{[w]:r.borderWidths[p]}}},Gf=(r,u)=>Object.keys(u).reduce((l,p)=>({...l,...Hf(r,p,u)}),{}),d_=r=>as.reduce((u,o)=>r[o]?{...u,...zf[o]}:u,{}),qf=Object.keys($f),Kf=(r,u)=>{const o=vn.pick(u,qf),l=vn.pick(u,[...Uf]),p=vn.pick(u,[...as]);return{...Gf(r,o),...d_(p),...l}},Yf=xn.div(({theme:r,...u})=>Kf(r,u));function g_({children:r,style:u,"data-testid":o,...l},p){return N.jsx(Yf,{...l,style:u,ref:p,"data-testid":o,children:r})}const ye=ie.forwardRef(g_),Xf=({art:r,width:u="24px",height:o="24px",style:l,"data-testid":p,..._})=>N.jsx(ye,{display:"flex",alignItems:"center",justifyContent:"center",width:typeof u=="number"?`${u}px`:u,height:typeof o=="number"?`${o}px`:o,style:l,"data-testid":p,..._,children:r}),Zf=({art:r,width:u="24px",height:o="24px",style:l,"data-testid":p,..._})=>N.jsx(ye,{display:"flex",alignItems:"center",justifyContent:"center",width:typeof u=="number"?`${u}px`:u,height:typeof o=="number"?`${o}px`:o,style:{...l,fontSize:typeof o=="number"?`${o}px`:o,lineHeight:1},"data-testid":p,..._,children:r}),Vf=({art:r,width:u="24px",height:o="24px",color:l="currentColor",style:p,"data-testid":_,...w})=>N.jsx(ye,{display:"flex",alignItems:"center",justifyContent:"center",width:typeof u=="number"?`${u}px`:u,height:typeof o=="number"?`${o}px`:o,style:p,"data-testid":_,...w,children:N.jsx("i",{className:r,style:{color:l,fontSize:typeof o=="number"?`${o}px`:o}})}),m_=xn.img`
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
object-fit: cover;
|
|
88
|
+
`,Jf=({art:r,width:u="24px",height:o="24px",style:l,"data-testid":p,..._})=>N.jsx(ye,{display:"flex",alignItems:"center",justifyContent:"center",width:typeof u=="number"?`${u}px`:u,height:typeof o=="number"?`${o}px`:o,overflow:"hidden",style:l,"data-testid":p,..._,children:N.jsx(m_,{src:r,alt:"Art"})}),jf=({art:r,width:u="24px",height:o="24px",style:l,"data-testid":p,..._})=>N.jsx(ye,{display:"flex",alignItems:"center",justifyContent:"center",width:typeof u=="number"?`${u}px`:u,height:typeof o=="number"?`${o}px`:o,overflow:"hidden",style:l,"data-testid":p,dangerouslySetInnerHTML:{__html:r},..._}),Qf=r=>new RegExp("\\p{Emoji}","u").test(r)&&r.length<=2,ec=r=>vn.isString(r)&&r.includes("icon-"),nc=r=>{const u=[".jpg",".jpeg",".png",".gif",".webp",".svg"],o=r.toLowerCase();return vn.isString(r)&&(u.some(l=>o.endsWith(l))||r.startsWith("data:image/")||r.startsWith("http"))},tc=r=>vn.isString(r)&&r.startsWith("<svg"),__=r=>{const{art:u,type:o}=r;return o==="image"||vn.isString(u)&&nc(u)?N.jsx(Jf,{...r}):o==="svg"||vn.isString(u)&&tc(u)?N.jsx(jf,{...r}):o==="emoji"||vn.isString(u)&&Qf(u)?N.jsx(Zf,{...r}):o==="icon"||vn.isString(u)&&ec(u)?N.jsx(Vf,{...r}):o==="brand"?N.jsx(Xf,{...r}):N.jsx(N.Fragment,{})},fs=r=>({none:0,hairline:r*.5,thin:r,thick:r*2,heavy:r*4}),cs=r=>({none:0,xs:r*.5,sm:r,md:r*2,lg:r*3,xl:r*4,full:9999}),v_=r=>["none","hairline","thin","thick","heavy"].includes(r),y_=r=>["none","xs","sm","md","lg","xl","full"].includes(r),gi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F"},x_=r=>r in gi,rc={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},w_=r=>["primary","secondary","success","danger","warning","info"].includes(r),b_=1,S_=8,A_=8,C_="Inter",E_=10,T_=4,ic={borderWidth:b_,space:S_,size:A_,font:{neutral:C_},fontSize:E_,radius:T_},oc=r=>({none:"none",sm:`0 1px 2px 0 ${r.grey400}40`,md:`0 4px 6px -1px ${r.grey500}40, 0 2px 4px -1px ${r.grey400}40`,lg:`0 10px 15px -3px ${r.grey600}40, 0 4px 6px -2px ${r.grey500}40`}),R_=r=>["none","sm","md","lg"].includes(r),sc=r=>({xxs:r*.5,xs:r,sm:r*2,md:r*4,lg:r*8,xl:r*16,"2xl":r*32,"3xl":r*64,"4xl":r*128}),I_=r=>["xxs","xs","sm","md","lg","xl","2xl","3xl","4xl"].includes(r),ls=r=>({none:0,xxs:r*.25,xs:r*.5,sm:r,md:r*2,lg:r*3,xl:r*4,"2xl":r*5,"3xl":r*6,"4xl":r*8}),O_=r=>["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl"].includes(r),hs=({neutral:r})=>({neutral:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),mi=r=>({xs:r,small:r*1.2,medium:r*1.4,large:r*1.6,xl:r*1.8,"2xl":r*2,"3xl":r*2.4}),ps=r=>{const u=mi(r);return{xs:u.xs*1.4,small:u.small*1.4,medium:u.medium*1.4,large:u.large*1.4,xl:u.xl*1.4,"2xl":u["2xl"]*1.4,"3xl":u["3xl"]*1.4}},ds=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),P_=r=>["xs","small","medium","large","xl","2xl","3xl"].includes(r),L_=r=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(r),B_=(r=ic,u=gi,o=rc)=>{const l=hs(r.font),p=mi(r.fontSize),_=ps(r.fontSize),w=ds(),E=fs(r.borderWidth),S=ls(r.space),D=sc(r.size),B=cs(r.radius),R=oc(u);return{colors:u,gradientColors:o,fonts:l,fontSizes:p,lineHeights:_,fontWeights:w,borderWidths:E,spaces:S,sizes:D,radii:B,shadows:R}},uc=r=>({defaultSize:"24px"}),ac=r=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"}}),fc=r=>({squircleBorderRadii:{circle:"999px",rounded:"16px",square:"0px"},loadingConfig:{size:"24px"}}),cc=r=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),lc=r=>({animation:{minScale:.96,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),hc=r=>({base:ac(),art:uc(),button:fc(),loading:cc(),touchable:lc()}),It={borderWidth:1,space:8,font:{neutral:"Inter"},fontSize:10,radius:4},F_=ls(It.space),D_=fs(It.borderWidth),W_=cs(It.radius),N_=mi(It.fontSize),M_=ps(It.fontSize),k_=ds(),pf=hs(It.font),$_={space:F_,colors:gi,radii:W_,borderWidths:D_,fonts:pf,__hd__:{text:{fontSizes:N_,lineHeights:M_,fontWeights:k_,fonts:pf}}};function pc(){const r=$_,u=hc();return{...r,__hd__:{...r.__hd__,...u}}}const ii=pc(),U_=r=>typeof r=="function"?r(ii):r?{...ii,...r}:ii,z_=({theme:r,children:u})=>{const o=U_(r);return N.jsx(u_,{theme:o,children:u})},H_=xn.p(({themeFontSize:r,themeFontWeight:u,themeColor:o,themeTypeface:l,theme:p,textAlign:_,textTransform:w,textDecoration:E})=>{const S=p,D=S.__hd__.text.fontWeights[u];return{...{fontSize:`${S.__hd__.text.fontSizes[r]}px`,lineHeight:`${S.__hd__.text.lineHeights[r]}px`,letterSpacing:`${S.__hd__.text.fontSizes[r]*.03}px`},fontFamily:S.fonts[l],fontWeight:D,color:S.colors[o],textAlign:_,textTransform:w,textDecoration:E,margin:0}}),dc=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],G_=(r,u,o)=>{if(typeof r!="string")return r;let l=0;const p=[];return dc.forEach(({pattern:_,props:w})=>{Array.from(r.matchAll(_)).forEach(S=>{const[D,B]=S,R=S.index;R>l&&p.push(r.slice(l,R)),p.push(ie.createElement(u,{...o,...w,key:R},B)),l=R+D.length})}),l<r.length&&p.push(r.slice(l)),p},q_=r=>function(o){const{useRichText:l=!1,children:p}=o;if(!l||typeof p!="string")return N.jsx(r,{...o,children:p});const _=G_(p.toString(),r,o);return N.jsx(r,{...o,children:_})};function K_({children:r,fontSize:u="medium",fontWeight:o="regular",color:l="grey900",typeface:p="neutral",textAlign:_,textTransform:w,textDecoration:E,"data-testid":S,...D},B){return N.jsx(H_,{...D,themeFontSize:u,themeFontWeight:o,themeColor:l,themeTypeface:p,textAlign:_,textTransform:w,textDecoration:E,ref:B,"data-testid":S,children:r})}const Y_=ie.forwardRef(K_),gs=q_(Y_),X_=xn(ye)`
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 0;
|
|
91
|
+
left: 0;
|
|
92
|
+
right: 0;
|
|
93
|
+
bottom: 0;
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
`,Z_=xn.div`
|
|
98
|
+
width: ${({size:r})=>r};
|
|
99
|
+
height: ${({size:r})=>r};
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
position: relative;
|
|
102
|
+
|
|
103
|
+
&:before {
|
|
104
|
+
content: '';
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
position: absolute;
|
|
107
|
+
top: 0;
|
|
108
|
+
left: 0;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
border-radius: 50%;
|
|
112
|
+
border: ${({strokeWidth:r})=>r} solid transparent;
|
|
113
|
+
border-top-color: ${({color:r})=>r};
|
|
114
|
+
border-right-color: ${({color:r})=>r};
|
|
115
|
+
animation: spin 1s linear infinite;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@keyframes spin {
|
|
119
|
+
to {
|
|
120
|
+
transform: rotate(360deg);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`,df=({size:r,color:u="primary","data-testid":o})=>{const l=di(),_=Object.keys(l.__hd__.loading.sizes).includes(r)?l.__hd__.loading.sizes[r]:r,E=Object.keys(l.__hd__.loading.strokeWidths).includes(r)?l.__hd__.loading.strokeWidths[r]:"2px",S=l.colors[u]||u;return N.jsx(Z_,{size:_,color:S,strokeWidth:E,"data-testid":o})},gc=({size:r,loading:u=!0,color:o="primary",children:l,"data-testid":p,..._})=>{const w=di(),[E,S]=ie.useState(u),[D,B]=ie.useState(u?1:0),[R,G]=ie.useState(u?0:1);return ie.useEffect(()=>{let F;return u?(S(!0),B(1),G(0)):(B(0),G(1),F=setTimeout(()=>{S(!1)},w.__hd__.loading.animation.showingDuration)),()=>{F&&clearTimeout(F)}},[u,w.__hd__.loading.animation.showingDuration]),l?N.jsxs(ye,{position:"relative",..._,children:[E&&N.jsx(X_,{style:{opacity:D,transition:`opacity ${w.__hd__.loading.animation.showingDuration}ms`},children:N.jsx(df,{size:r,color:o,"data-testid":p})}),N.jsx(ye,{style:{opacity:R,transition:`opacity ${w.__hd__.loading.animation.contentShowingDuration}ms`},children:l})]}):E?N.jsx(df,{size:r,color:o,"data-testid":p}):null},mc=(r,u,o)=>o?r.colors[o]:u==="white"||u==="disabled"?r.colors.grey900:r.colors.white,V_=xn.button`
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: row;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
align-items: center;
|
|
128
|
+
position: relative;
|
|
129
|
+
background-color: ${({theme:r,backgroundColor:u})=>u==="disabled"?r.colors.grey200:r.colors[u]};
|
|
130
|
+
border-radius: ${({borderRadius:r})=>r};
|
|
131
|
+
padding: 12px 16px;
|
|
132
|
+
border: none;
|
|
133
|
+
cursor: ${({backgroundColor:r})=>r==="disabled"?"not-allowed":"pointer"};
|
|
134
|
+
transition: opacity 0.2s ease-in-out;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
opacity: 0.9;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:focus {
|
|
141
|
+
outline: none;
|
|
142
|
+
}
|
|
143
|
+
`,J_=xn(gs)`
|
|
144
|
+
color: ${({theme:r,themeColor:u,themeTextColor:o})=>mc(r,u,o)};
|
|
145
|
+
opacity: ${({disabled:r})=>r?.5:1};
|
|
146
|
+
`,gf=xn(ye)`
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
margin-left: ${({themePosition:r})=>r==="right"?"8px":0};
|
|
150
|
+
margin-right: ${({themePosition:r})=>r==="left"?"8px":0};
|
|
151
|
+
`,ts=({disabled:r=!1,icon:u,color:o="primary",textColor:l,loading:p=!1,onClick:_,rightIcon:w,corner:E="circle",style:S,"data-testid":D,text:B,...R})=>{const G=di(),F=ie.useMemo(()=>!p&&r?"disabled":o,[o,r,p]),Z=ie.useMemo(()=>G.__hd__.button.squircleBorderRadii[E],[E,G.__hd__.button.squircleBorderRadii]),re=ne=>{r||p||_==null||_(ne)},oe=N.jsxs(ye,{display:"flex",alignItems:"center",gap:"xs",children:[u&&N.jsx(gf,{themePosition:"left",children:u}),N.jsx(J_,{fontSize:"medium",fontWeight:"semibold",themeColor:F,themeTextColor:l,disabled:r,children:B}),w&&N.jsx(gf,{themePosition:"right",children:w})]});return N.jsx(V_,{onClick:re,backgroundColor:F,borderRadius:Z,disabled:r||p,"data-testid":D,style:{...S,flex:R.flex},children:N.jsx(gc,{size:"small",color:l||(F==="white"?"grey900":"white"),loading:p,display:"flex",alignItems:"center",justifyContent:"center",children:oe})})},j_=({primaryButton:r,secondaryButton:u,backgroundColor:o="white"})=>N.jsxs(ye,{display:"flex",flexDirection:"row",justifyContent:"space-between",gap:"md",p:"md",width:"100%",bgColor:o,children:[u&&N.jsx(ye,{flex:1,children:N.jsx(ts,{text:u.title,onClick:u.onClick,loading:u.loading,color:"secondary",flex:1})}),r&&N.jsx(ye,{flex:1,children:N.jsx(ts,{text:r.title,onClick:r.onClick,loading:r.loading,color:"primary",flex:1})})]}),Q_=({children:r,backgroundColor:u="white",primaryButton:o,secondaryButton:l,header:p,..._})=>{const w=ie.useMemo(()=>!!o||!!l,[o,l]);return N.jsxs(ye,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:u,..._,children:[p&&N.jsxs(ye,{display:"flex",flexDirection:"row",alignItems:"center",p:"md",width:"100%",bgColor:p.backgroundColor||"white",children:[p.showBackButton&&N.jsx(ye,{mr:"md",children:N.jsx("button",{onClick:p.onBackButtonClick,children:"Back"})}),p.title&&N.jsx(gs,{fontSize:"xl",fontWeight:"semibold",children:p.title})]}),N.jsx(ye,{flex:1,overflow:"auto",position:"relative",children:r}),w&&N.jsx(j_,{primaryButton:o,secondaryButton:l,backgroundColor:u})]})},ev=xn(ye)`
|
|
152
|
+
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
153
|
+
transform: ${({$isPressed:r})=>r?"scale(0.96)":"scale(1)"};
|
|
154
|
+
opacity: ${({$isPressed:r})=>r?"0.7":"1"};
|
|
155
|
+
`,nv=({children:r,onClick:u,style:o,"data-testid":l,hapticFeedback:p,..._})=>{const[w,E]=ie.useState(!1),S=ie.useCallback(()=>{E(!0)},[]),D=ie.useCallback(()=>{E(!1)},[]),B=ie.useCallback(()=>{E(!1)},[]);return N.jsx(ev,{onClick:u,onMouseDown:S,onMouseUp:D,onMouseLeave:B,style:o,"data-testid":l,$isPressed:w,..._,children:r})};exports.Art=__;exports.Base=Q_;exports.Box=ye;exports.Brand=Xf;exports.Button=ts;exports.Emoji=Zf;exports.Icon=Vf;exports.Image=Jf;exports.Loading=gc;exports.SUPPORTED_RICH_TEXT_TAGS=dc;exports.StyledBox=Yf;exports.Svg=jf;exports.Text=gs;exports.ThemeProvider=z_;exports.Touchable=nv;exports.artTheme=uc;exports.baseTheme=ac;exports.buttonTheme=fc;exports.configKeys=qf;exports.customBoxPropsConfig=zf;exports.customBoxPropsKey=as;exports.defaultColorPalette=gi;exports.defaultGradientColorPalette=rc;exports.defaultScale=ic;exports.defaultTheme=ii;exports.flexPropsKey=Uf;exports.genBoxStyle=Kf;exports.getBorderWidths=fs;exports.getComponentsTheme=hc;exports.getFontSizes=mi;exports.getFontWeights=ds;exports.getFonts=hs;exports.getGlobalTheme=B_;exports.getLineHeights=ps;exports.getRadii=cs;exports.getShadows=oc;exports.getSizes=sc;exports.getSpaces=ls;exports.getTextColor=mc;exports.getTheme=pc;exports.getThemeValue=Hf;exports.isBorderWidth=v_;exports.isColor=x_;exports.isEmoji=Qf;exports.isFontSize=P_;exports.isFontWeight=L_;exports.isGradientColor=w_;exports.isIcon=ec;exports.isImage=nc;exports.isRadius=y_;exports.isShadow=R_;exports.isSize=I_;exports.isSpace=O_;exports.isSvg=tc;exports.loadingTheme=cc;exports.mapStylePropToThemeValue=Gf;exports.styled=xn;exports.touchableTheme=lc;exports.useTheme=di;
|
package/dist/index.d.ts
CHANGED